011010
Reference
Decompile
Online Solidity Decompiler
« Decompile another contract
Address
0x000000000035b5e5ad9019092c665357240f594e
[
etherscan.io
|
etherchain.org
]
Public Methods
No public methods detected.
Internal Methods
No internal methods detected.
Decompilation
This might be constructor bytecode - to get at the deployed contract, go back and remove the constructor prefix, usually up to the next
6060
or
6080
.
contract Contract {
function main() { if (msg.data.length > 0x04) { // Unhandled termination } else { // Unhandled termination } } }
Disassembly
label_0000:
// Inputs[1] { @0002 msg.data.length }
0000 60 PUSH1 0x04
0002 36 CALLDATASIZE
0003 11 GT
0004 60 PUSH1 0x46
0006 57 *JUMPI
// Stack delta = +0
// Block ends with conditional jump to
0x0046
, if msg.data.length > 0x04
label_0007:
// Incoming jump from
0x0006
, if not msg.data.length > 0x04
0007 5B JUMPDEST
0008 5F 5F
// Stack delta = +0
// Block terminates
0009 60 PUSH1 0x60
000B 5F 5F
000C 80 DUP1
000D 51 MLOAD
000E 60 PUSH1 0x20
0010 60 PUSH1 0x89
0012 83 DUP4
0013 39 CODECOPY
0014 81 DUP2
0015 51 MLOAD
0016 91 SWAP2
0017 52 MSTORE
0018 54 SLOAD
0019 36 CALLDATASIZE
001A 60 PUSH1 0x3e
001C 57 *JUMPI
001D 5B JUMPDEST
001E 81 DUP2
001F 36 CALLDATASIZE
0020 91 SWAP2
0021 5A GAS
0022 F4 DELEGATECALL
0023 3D RETURNDATASIZE
0024 90 SWAP1
0025 81 DUP2
0026 60 PUSH1 0x35
0028 57 *JUMPI
0029 5B JUMPDEST
002A 15 ISZERO
002B 60 PUSH1 0x31
002D 57 *JUMPI
002E 60 PUSH1 0x60
0030 F3 *RETURN
0031 5B JUMPDEST
0032 60 PUSH1 0x60
0034 FD *REVERT
0035 5B JUMPDEST
0036 81 DUP2
0037 5F 5F
0038 60 PUSH1 0x60
003A 3E RETURNDATACOPY
003B 60 PUSH1 0x29
003D 56 *JUMP
003E 5B JUMPDEST
003F 36 CALLDATASIZE
0040 83 DUP4
0041 83 DUP4
0042 37 CALLDATACOPY
0043 60 PUSH1 0x1d
0045 56 *JUMP
label_0046:
// Incoming jump from
0x0006
, if msg.data.length > 0x04
0046 5B JUMPDEST
0047 5F 5F
// Stack delta = +0
// Block terminates
0048 35 CALLDATALOAD
0049 60 PUSH1 0xe0
004B 1C SHR
004C 63 PUSH4 0xadadadad
0051 03 SUB
0052 60 PUSH1 0x07
0054 57 *JUMPI
0055 33 CALLER
0056 73 PUSH20 0x3376ebc8dce3453a045a145ab7b1e728b2ed581e
006B 14 EQ
006C 60 PUSH1 0x72
006E 57 *JUMPI
006F 5F 5F
0070 80 DUP1
0071 FD *REVERT
0072 5B JUMPDEST
0073 60 PUSH1 0x04
0075 35 CALLDATALOAD
0076 60 PUSH1 0x60
0078 1C SHR
0079 5F 5F
007A 80 DUP1
007B 51 MLOAD
007C 60 PUSH1 0x20
007E 60 PUSH1 0x89
0080 83 DUP4
0081 39 CODECOPY
0082 81 DUP2
0083 51 MLOAD
0084 91 SWAP2
0085 52 MSTORE
0086 55 SSTORE
0087 00 *STOP
0088 FE *ASSERT
0089 AB AB
008A CD CD
008B AB AB
008C CD CD
008D AB AB
008E CD CD
008F AB AB
0090 CD CD
0091 AB AB
0092 CD CD
0093 AB AB
0094 CD CD
0095 AB AB
0096 CD CD
0097 AB AB
0098 CD CD
0099 AB AB
009A CD CD
009B AB AB
009C CD CD
009D AB AB
009E CD CD
009F AB AB
00A0 CD CD
00A1 AB AB
00A2 CD CD
00A3 AB AB
00A4 CD CD
00A5 AB AB
00A6 CD CD
00A7 AB AB
00A8 CD CD
Found this site useful?
Donations are greatly appreciated!
ETH:
0xB3F04f0c276fa1177c1779f6E1E156B2738ea392
Contact/hire:
[email protected]