-
Notifications
You must be signed in to change notification settings - Fork 52
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
ec63bde
commit 71058ad
Showing
6 changed files
with
397 additions
and
50 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,64 @@ | ||
# The bytecode and ABI are generated based on the following source via remix.ethereum.org | ||
source: >- | ||
// SPDX-License-Identifier: MIT | ||
pragma solidity >=0.6.12 <0.9.0; | ||
contract A { | ||
function f(int8 _in) public pure returns (int8 out) { | ||
out = _in; | ||
} | ||
function f(uint256 _in) public pure returns (uint256 out) { | ||
out = _in; | ||
} | ||
} | ||
abi: [ | ||
{ | ||
"inputs": [ | ||
{ | ||
"internalType": "int8", | ||
"name": "_in", | ||
"type": "int8" | ||
} | ||
], | ||
"name": "f", | ||
"outputs": [ | ||
{ | ||
"internalType": "int8", | ||
"name": "out", | ||
"type": "int8" | ||
} | ||
], | ||
"stateMutability": "pure", | ||
"type": "function" | ||
}, | ||
{ | ||
"inputs": [ | ||
{ | ||
"internalType": "uint256", | ||
"name": "_in", | ||
"type": "uint256" | ||
} | ||
], | ||
"name": "f", | ||
"outputs": [ | ||
{ | ||
"internalType": "uint256", | ||
"name": "out", | ||
"type": "uint256" | ||
} | ||
], | ||
"stateMutability": "pure", | ||
"type": "function" | ||
} | ||
] | ||
|
||
bytecode: { | ||
"functionDebugData": { }, | ||
"generatedSources": [ ], | ||
"linkReferences": { }, | ||
"object": "608060405234801561000f575f80fd5b506101f28061001d5f395ff3fe608060405234801561000f575f80fd5b5060043610610034575f3560e01c80630a9a296314610038578063b3de648b14610068575b5f80fd5b610052600480360381019061004d91906100e3565b610098565b60405161005f919061011d565b60405180910390f35b610082600480360381019061007d9190610169565b6100a1565b60405161008f91906101a3565b60405180910390f35b5f819050919050565b5f819050919050565b5f80fd5b5f815f0b9050919050565b6100c2816100ae565b81146100cc575f80fd5b50565b5f813590506100dd816100b9565b92915050565b5f602082840312156100f8576100f76100aa565b5b5f610105848285016100cf565b91505092915050565b610117816100ae565b82525050565b5f6020820190506101305f83018461010e565b92915050565b5f819050919050565b61014881610136565b8114610152575f80fd5b50565b5f813590506101638161013f565b92915050565b5f6020828403121561017e5761017d6100aa565b5b5f61018b84828501610155565b91505092915050565b61019d81610136565b82525050565b5f6020820190506101b65f830184610194565b9291505056fea2646970667358221220a5370672f70d75b055f40e04bc9c5c4234448bbcd91a317b94c760bc1f270db564736f6c63430008160033", | ||
"opcodes": "PUSH1 0x80 PUSH1 0x40 MSTORE CALLVALUE DUP1 ISZERO PUSH2 0xF JUMPI PUSH0 DUP1 REVERT JUMPDEST POP PUSH2 0x1F2 DUP1 PUSH2 0x1D PUSH0 CODECOPY PUSH0 RETURN INVALID PUSH1 0x80 PUSH1 0x40 MSTORE CALLVALUE DUP1 ISZERO PUSH2 0xF JUMPI PUSH0 DUP1 REVERT JUMPDEST POP PUSH1 0x4 CALLDATASIZE LT PUSH2 0x34 JUMPI PUSH0 CALLDATALOAD PUSH1 0xE0 SHR DUP1 PUSH4 0xA9A2963 EQ PUSH2 0x38 JUMPI DUP1 PUSH4 0xB3DE648B EQ PUSH2 0x68 JUMPI JUMPDEST PUSH0 DUP1 REVERT JUMPDEST PUSH2 0x52 PUSH1 0x4 DUP1 CALLDATASIZE SUB DUP2 ADD SWAP1 PUSH2 0x4D SWAP2 SWAP1 PUSH2 0xE3 JUMP JUMPDEST PUSH2 0x98 JUMP JUMPDEST PUSH1 0x40 MLOAD PUSH2 0x5F SWAP2 SWAP1 PUSH2 0x11D JUMP JUMPDEST PUSH1 0x40 MLOAD DUP1 SWAP2 SUB SWAP1 RETURN JUMPDEST PUSH2 0x82 PUSH1 0x4 DUP1 CALLDATASIZE SUB DUP2 ADD SWAP1 PUSH2 0x7D SWAP2 SWAP1 PUSH2 0x169 JUMP JUMPDEST PUSH2 0xA1 JUMP JUMPDEST PUSH1 0x40 MLOAD PUSH2 0x8F SWAP2 SWAP1 PUSH2 0x1A3 JUMP JUMPDEST PUSH1 0x40 MLOAD DUP1 SWAP2 SUB SWAP1 RETURN JUMPDEST PUSH0 DUP2 SWAP1 POP SWAP2 SWAP1 POP JUMP JUMPDEST PUSH0 DUP2 SWAP1 POP SWAP2 SWAP1 POP JUMP JUMPDEST PUSH0 DUP1 REVERT JUMPDEST PUSH0 DUP2 PUSH0 SIGNEXTEND SWAP1 POP SWAP2 SWAP1 POP JUMP JUMPDEST PUSH2 0xC2 DUP2 PUSH2 0xAE JUMP JUMPDEST DUP2 EQ PUSH2 0xCC JUMPI PUSH0 DUP1 REVERT JUMPDEST POP JUMP JUMPDEST PUSH0 DUP2 CALLDATALOAD SWAP1 POP PUSH2 0xDD DUP2 PUSH2 0xB9 JUMP JUMPDEST SWAP3 SWAP2 POP POP JUMP JUMPDEST PUSH0 PUSH1 0x20 DUP3 DUP5 SUB SLT ISZERO PUSH2 0xF8 JUMPI PUSH2 0xF7 PUSH2 0xAA JUMP JUMPDEST JUMPDEST PUSH0 PUSH2 0x105 DUP5 DUP3 DUP6 ADD PUSH2 0xCF JUMP JUMPDEST SWAP2 POP POP SWAP3 SWAP2 POP POP JUMP JUMPDEST PUSH2 0x117 DUP2 PUSH2 0xAE JUMP JUMPDEST DUP3 MSTORE POP POP JUMP JUMPDEST PUSH0 PUSH1 0x20 DUP3 ADD SWAP1 POP PUSH2 0x130 PUSH0 DUP4 ADD DUP5 PUSH2 0x10E JUMP JUMPDEST SWAP3 SWAP2 POP POP JUMP JUMPDEST PUSH0 DUP2 SWAP1 POP SWAP2 SWAP1 POP JUMP JUMPDEST PUSH2 0x148 DUP2 PUSH2 0x136 JUMP JUMPDEST DUP2 EQ PUSH2 0x152 JUMPI PUSH0 DUP1 REVERT JUMPDEST POP JUMP JUMPDEST PUSH0 DUP2 CALLDATALOAD SWAP1 POP PUSH2 0x163 DUP2 PUSH2 0x13F JUMP JUMPDEST SWAP3 SWAP2 POP POP JUMP JUMPDEST PUSH0 PUSH1 0x20 DUP3 DUP5 SUB SLT ISZERO PUSH2 0x17E JUMPI PUSH2 0x17D PUSH2 0xAA JUMP JUMPDEST JUMPDEST PUSH0 PUSH2 0x18B DUP5 DUP3 DUP6 ADD PUSH2 0x155 JUMP JUMPDEST SWAP2 POP POP SWAP3 SWAP2 POP POP JUMP JUMPDEST PUSH2 0x19D DUP2 PUSH2 0x136 JUMP JUMPDEST DUP3 MSTORE POP POP JUMP JUMPDEST PUSH0 PUSH1 0x20 DUP3 ADD SWAP1 POP PUSH2 0x1B6 PUSH0 DUP4 ADD DUP5 PUSH2 0x194 JUMP JUMPDEST SWAP3 SWAP2 POP POP JUMP INVALID LOG2 PUSH5 0x6970667358 0x22 SLT KECCAK256 0xA5 CALLDATACOPY MOD PUSH19 0xF70D75B055F40E04BC9C5C4234448BBCD91A31 PUSH28 0x94C760BC1F270DB564736F6C63430008160033000000000000000000 ", | ||
"sourceMap": "66:163:0:-:0;;;;;;;;;;;;;;;;;;;" | ||
} |
Oops, something went wrong.