Contract: TokenSwap
Malicious: no
Decompiled opcodes:
PUSH2 0x0120 PUSH1 0x40 MSTORE CALLVALUE DUP1 ISZERO PUSH2 0x0011 JUMPI PUSH1 0x00 DUP1 REVERT JUMPDEST POP PUSH1 0x40 MLOAD PUSH2 0x0919 CODESIZE SUB DUP1 PUSH2 0x0919 DUP4 CODECOPY DUP2 ADD PUSH1 0x40 DUP2 SWAP1 MSTORE PUSH2 0x0030 SWAP2 PUSH2 0x0084 JUMP JUMPDEST PUSH1 0x01 PUSH1 0x00 SSTORE PUSH1 0x01 PUSH1 0x01 PUSH1 0x60 SHL SUB NOT PUSH1 0x60 SWAP6 DUP7 SHL DUP2 AND PUSH1 0x80 MSTORE SWAP4 DUP6 SHL DUP5 AND PUSH1 0xa0 MSTORE SWAP2 DUP5 SHL DUP4 AND PUSH1 0xc0 MSTORE SWAP1 SWAP3 SHL AND PUSH1 0xe0 MSTORE PUSH2 0x0100 MSTORE PUSH2 0x00e2 JUMP JUMPDEST DUP1 MLOAD PUSH1 0x01 PUSH1 0x01 PUSH1 0xa0 SHL SUB DUP2 AND DUP2 EQ PUSH2 0x007f JUMPI PUSH1 0x00 DUP1 REVERT JUMPDEST SWAP2 SWAP1 POP JUMP JUMPDEST PUSH1 0x00 DUP1 PUSH1 0x00 DUP1 PUSH1 0x00 PUSH1 0xa0 DUP7 DUP9 SUB SLT ISZERO PUSH2 0x009c JUMPI PUSH1 0x00 DUP1 REVERT JUMPDEST PUSH2 0x00a5 DUP7 PUSH2 0x0068 JUMP JUMPDEST SWAP5 POP PUSH2 0x00b3 PUSH1 0x20 DUP8 ADD PUSH2 0x0068 JUMP JUMPDEST SWAP4 POP PUSH2 0x00c1 PUSH1 0x40 DUP8 ADD PUSH2 0x0068 JUMP JUMPDEST SWAP3 POP PUSH2 0x00cf PUSH1 0x60 DUP8 ADD PUSH2 0x0068 JUMP JUMPDEST SWAP2 POP PUSH1 0x80 DUP7 ADD MLOAD SWAP1 POP SWAP3 SWAP6 POP SWAP3 SWAP6 SWAP1 SWAP4 POP JUMP JUMPDEST PUSH1 0x80 MLOAD PUSH1 0x60 SHR PUSH1 0xa0 MLOAD PUSH1 0x60 SHR PUSH1 0xc0 MLOAD PUSH1 0x60 SHR PUSH1 0xe0 MLOAD PUSH1 0x60 SHR PUSH2 0x0100 MLOAD PUSH2 0x07c6 PUSH2 0x0153 PUSH1 0x00 CODECOPY PUSH1 0x00 DUP2 DUP2 PUSH1 0x91 ADD MSTORE PUSH2 0x02af ADD MSTORE PUSH1 0x00 DUP2 DUP2 PUSH2 0x010a ADD MSTORE PUSH2 0x027a ADD MSTORE PUSH1 0x00 DUP2 DUP2 PUSH2 0x0158 ADD MSTORE PUSH2 0x030f ADD MSTORE PUSH1 0x00 DUP2 DUP2 PUSH2 0x0131 ADD MSTORE PUSH2 0x02ed ADD MSTORE PUSH1 0x00 DUP2 DUP2 PUSH1 0xcb ADD MSTORE PUSH2 0x0257 ADD MSTORE PUSH2 0x07c6 PUSH1 0x00 RETURN UNKNOWN_0xfe PUSH1 0x80 PUSH1 0x40 MSTORE CALLVALUE DUP1 ISZERO PUSH2 0x0010 JUMPI PUSH1 0x00 DUP1 REVERT JUMPDEST POP PUSH1 0x04 CALLDATASIZE LT PUSH2 0x0072 JUMPI PUSH1 0x00 CALLDATALOAD PUSH1 0xe0 SHR DUP1 PUSH4 0x70d5ae05 GT PUSH2 0x0050 JUMPI DUP1 PUSH4 0x70d5ae05 EQ PUSH2 0x0105 JUMPI DUP1 PUSH4 0x8363e33e EQ PUSH2 0x012c JUMPI DUP1 PUSH4 0xd6d0cb8a EQ PUSH2 0x0153 JUMPI PUSH1 0x00 DUP1 REVERT JUMPDEST DUP1 PUSH4 0x2280b7a8 EQ PUSH2 0x0077 JUMPI DUP1 PUSH4 0x4006ccc5 EQ PUSH2 0x008c JUMPI DUP1 PUSH4 0x6fad2e73 EQ PUSH2 0x00c6 JUMPI JUMPDEST PUSH1 0x00 DUP1 REVERT JUMPDEST PUSH2 0x008a PUSH2 0x0085 CALLDATASIZE PUSH1 0x04 PUSH2 0x06ad JUMP JUMPDEST PUSH2 0x017a JUMP JUMPDEST STOP JUMPDEST PUSH2 0x00b3 PUSH32 0x0000000000000000000000000000000000000000000000000000000000000000 DUP2 JUMP JUMPDEST PUSH1 0x40 MLOAD SWAP1 DUP2 MSTORE PUSH1 0x20 ADD JUMPDEST PUSH1 0x40 MLOAD DUP1 SWAP2 SUB SWAP1 RETURN JUMPDEST PUSH2 0x00ed PUSH32 0x0000000000000000000000000000000000000000000000000000000000000000 DUP2 JUMP JUMPDEST PUSH1 0x40 MLOAD PUSH1 0x01 PUSH1 0x01 PUSH1 0xa0 SHL SUB SWAP1 SWAP2 AND DUP2 MSTORE PUSH1 0x20 ADD PUSH2 0x00bd JUMP JUMPDEST PUSH2 0x00ed PUSH32 0x0000000000000000000000000000000000000000000000000000000000000000 DUP2 JUMP JUMPDEST PUSH2 0x00ed PUSH32 0x0000000000000000000000000000000000000000000000000000000000000000 DUP2 JUMP JUMPDEST PUSH2 0x00ed PUSH32 0x0000000000000000000000000000000000000000000000000000000000000000 DUP2 JUMP JUMPDEST PUSH1 0x02 PUSH1 0x00 SLOAD EQ ISZERO PUSH2 0x01d2 JUMPI PUSH1 0x40 MLOAD PUSH3 0x461bcd PUSH1 0xe5 SHL DUP2 MSTORE PUSH1 0x20 PUSH1 0x04 DUP3 ADD MSTORE PUSH1 0x1f PUSH1 0x24 DUP3 ADD MSTORE PUSH32 0x5265656e7472616e637947756172643a207265656e7472616e742063616c6c00 PUSH1 0x44 DUP3 ADD MSTORE PUSH1 0x64 ADD JUMPDEST PUSH1 0x40 MLOAD DUP1 SWAP2 SUB SWAP1 REVERT JUMPDEST PUSH1 0x02 PUSH1 0x00 SSTORE DUP1 PUSH2 0x024a JUMPI PUSH1 0x40 MLOAD PUSH3 0x461bcd PUSH1 0xe5 SHL DUP2 MSTORE PUSH1 0x20 PUSH1 0x04 DUP3 ADD MSTORE PUSH1 0x22 PUSH1 0x24 DUP3 ADD MSTORE PUSH32 0x546f6b656e537761703a20696e416d6f756e742063616e6e6f74206265207a65 PUSH1 0x44 DUP3 ADD MSTORE PUSH32 0x726f000000000000000000000000000000000000000000000000000000000000 PUSH1 0x64 DUP3 ADD MSTORE PUSH1 0x84 ADD PUSH2 0x01c9 JUMP JUMPDEST PUSH2 0x029f PUSH1 0x01 PUSH1 0x01 PUSH1 0xa0 SHL SUB PUSH32 0x0000000000000000000000000000000000000000000000000000000000000000 AND CALLER PUSH32 0x0000000000000000000000000000000000000000000000000000000000000000 DUP5 PUSH2 0x0379 JUMP JUMPDEST PUSH1 0x00 PUSH8 0x0de0b6b3a7640000 PUSH2 0x02d4 PUSH32 0x0000000000000000000000000000000000000000000000000000000000000000 DUP5 PUSH2 0x0737 JUMP JUMPDEST PUSH2 0x02de SWAP2 SWAP1 PUSH2 0x0715 JUMP JUMPDEST SWAP1 POP PUSH2 0x0335 PUSH1 0x01 PUSH1 0x01 PUSH1 0xa0 SHL SUB PUSH32 0x0000000000000000000000000000000000000000000000000000000000000000 AND PUSH32 0x0000000000000000000000000000000000000000000000000000000000000000 CALLER DUP5 PUSH2 0x0379 JUMP JUMPDEST PUSH1 0x40 DUP1 MLOAD DUP4 DUP2 MSTORE PUSH1 0x20 DUP2 ADD DUP4 SWAP1 MSTORE CALLER SWAP2 PUSH32 0xd5a1cd88ddd329cc1ddf861a21708efa9ef3136b88e1420c21f91ef6f95ad024 SWAP2 ADD PUSH1 0x40 MLOAD DUP1 SWAP2 SUB SWAP1 LOG2 POP POP PUSH1 0x01 PUSH1 0x00 SSTORE JUMP JUMPDEST PUSH1 0x40 DUP1 MLOAD PUSH1 0x01 PUSH1 0x01 PUSH1 0xa0 SHL SUB DUP6 DUP2 AND PUSH1 0x24 DUP4 ADD MSTORE DUP5 AND PUSH1 0x44 DUP3 ADD MSTORE PUSH1 0x64 DUP1 DUP3 ADD DUP5 SWAP1 MSTORE DUP3 MLOAD DUP1 DUP4 SUB SWAP1 SWAP2 ADD DUP2 MSTORE PUSH1 0x84 SWAP1 SWAP2 ADD SWAP1 SWAP2 MSTORE PUSH1 0x20 DUP2 ADD DUP1 MLOAD PUSH28 0xffffffffffffffffffffffffffffffffffffffffffffffffffffffff AND PUSH32 0x23b872dd00000000000000000000000000000000000000000000000000000000 OR SWAP1 MSTORE PUSH2 0x0401 SWAP1 DUP6 SWAP1 PUSH2 0x0407 JUMP JUMPDEST POP POP POP POP JUMP JUMPDEST PUSH1 0x00 PUSH2 0x045c DUP3 PUSH1 0x40 MLOAD DUP1 PUSH1 0x40 ADD PUSH1 0x40 MSTORE DUP1 PUSH1 0x20 DUP2 MSTORE PUSH1 0x20 ADD PUSH32 0x5361666545524332303a206c6f772d6c6576656c2063616c6c206661696c6564 DUP2 MSTORE POP DUP6 PUSH1 0x01 PUSH1 0x01 PUSH1 0xa0 SHL SUB AND PUSH2 0x04f1 SWAP1 SWAP3 SWAP2 SWAP1 PUSH4 0xffffffff AND JUMP JUMPDEST DUP1 MLOAD SWAP1 SWAP2 POP ISZERO PUSH2 0x04ec JUMPI DUP1 DUP1 PUSH1 0x20 ADD SWAP1 MLOAD DUP2 ADD SWAP1 PUSH2 0x047a SWAP2 SWAP1 PUSH2 0x068b JUMP JUMPDEST PUSH2 0x04ec JUMPI PUSH1 0x40 MLOAD PUSH3 0x461bcd PUSH1 0xe5 SHL DUP2 MSTORE PUSH1 0x20 PUSH1 0x04 DUP3 ADD MSTORE PUSH1 0x2a PUSH1 0x24 DUP3 ADD MSTORE PUSH32 0x5361666545524332303a204552433230206f7065726174696f6e20646964206e PUSH1 0x44 DUP3 ADD MSTORE PUSH32 0x6f74207375636365656400000000000000000000000000000000000000000000 PUSH1 0x64 DUP3 ADD MSTORE PUSH1 0x84 ADD PUSH2 0x01c9 JUMP JUMPDEST POP POP POP JUMP JUMPDEST PUSH1 0x60 PUSH2 0x0500 DUP5 DUP5 PUSH1 0x00 DUP6 PUSH2 0x050a JUMP JUMPDEST SWAP1 POP JUMPDEST SWAP4 SWAP3 POP POP POP JUMP JUMPDEST PUSH1 0x60 DUP3 SELFBALANCE LT ISZERO PUSH2 0x0582 JUMPI PUSH1 0x40 MLOAD PUSH3 0x461bcd PUSH1 0xe5 SHL DUP2 MSTORE PUSH1 0x20 PUSH1 0x04 DUP3 ADD MSTORE PUSH1 0x26 PUSH1 0x24 DUP3 ADD MSTORE PUSH32 0x416464726573733a20696e73756666696369656e742062616c616e636520666f PUSH1 0x44 DUP3 ADD MSTORE PUSH32 0x722063616c6c0000000000000000000000000000000000000000000000000000 PUSH1 0x64 DUP3 ADD MSTORE PUSH1 0x84 ADD PUSH2 0x01c9 JUMP JUMPDEST PUSH1 0x01 PUSH1 0x01 PUSH1 0xa0 SHL SUB DUP6 AND EXTCODESIZE PUSH2 0x05d9 JUMPI PUSH1 0x40 MLOAD PUSH3 0x461bcd PUSH1 0xe5 SHL DUP2 MSTORE PUSH1 0x20 PUSH1 0x04 DUP3 ADD MSTORE PUSH1 0x1d PUSH1 0x24 DUP3 ADD MSTORE PUSH32 0x416464726573733a2063616c6c20746f206e6f6e2d636f6e7472616374000000 PUSH1 0x44 DUP3 ADD MSTORE PUSH1 0x64 ADD PUSH2 0x01c9 JUMP JUMPDEST PUSH1 0x00 DUP1 DUP7 PUSH1 0x01 PUSH1 0x01 PUSH1 0xa0 SHL SUB AND DUP6 DUP8 PUSH1 0x40 MLOAD PUSH2 0x05f5 SWAP2 SWAP1 PUSH2 0x06c6 JUMP JUMPDEST PUSH1 0x00 PUSH1 0x40 MLOAD DUP1 DUP4 SUB DUP2 DUP6 DUP8 GAS CALL SWAP3 POP POP POP RETURNDATASIZE DUP1 PUSH1 0x00 DUP2 EQ PUSH2 0x0632 JUMPI PUSH1 0x40 MLOAD SWAP2 POP PUSH1 0x1f NOT PUSH1 0x3f RETURNDATASIZE ADD AND DUP3 ADD PUSH1 0x40 MSTORE RETURNDATASIZE DUP3 MSTORE RETURNDATASIZE PUSH1 0x00 PUSH1 0x20 DUP5 ADD RETURNDATACOPY PUSH2 0x0637 JUMP JUMPDEST PUSH1 0x60 SWAP2 POP JUMPDEST POP SWAP2 POP SWAP2 POP PUSH2 0x0647 DUP3 DUP3 DUP7 PUSH2 0x0652 JUMP JUMPDEST SWAP8 SWAP7 POP POP POP POP POP POP POP JUMP JUMPDEST PUSH1 0x60 DUP4 ISZERO PUSH2 0x0661 JUMPI POP DUP2 PUSH2 0x0503 JUMP JUMPDEST DUP3 MLOAD ISZERO PUSH2 0x0671 JUMPI DUP3 MLOAD DUP1 DUP5 PUSH1 0x20 ADD REVERT JUMPDEST DUP2 PUSH1 0x40 MLOAD PUSH3 0x461bcd PUSH1 0xe5 SHL DUP2 MSTORE PUSH1 0x04 ADD PUSH2 0x01c9 SWAP2 SWAP1 PUSH2 0x06e2 JUMP JUMPDEST PUSH1 0x00 PUSH1 0x20 DUP3 DUP5 SUB SLT ISZERO PUSH2 0x069d JUMPI PUSH1 0x00 DUP1 REVERT JUMPDEST DUP2 MLOAD DUP1 ISZERO ISZERO DUP2 EQ PUSH2 0x0503 JUMPI PUSH1 0x00 DUP1 REVERT JUMPDEST PUSH1 0x00 PUSH1 0x20 DUP3 DUP5 SUB SLT ISZERO PUSH2 0x06bf JUMPI PUSH1 0x00 DUP1 REVERT JUMPDEST POP CALLDATALOAD SWAP2 SWAP1 POP JUMP JUMPDEST PUSH1 0x00 DUP3 MLOAD PUSH2 0x06d8 DUP2 DUP5 PUSH1 0x20 DUP8 ADD PUSH2 0x0764 JUMP JUMPDEST SWAP2 SWAP1 SWAP2 ADD SWAP3 SWAP2 POP POP JUMP JUMPDEST PUSH1 0x20 DUP2 MSTORE PUSH1 0x00 DUP3 MLOAD DUP1 PUSH1 0x20 DUP5 ADD MSTORE PUSH2 0x0701 DUP2 PUSH1 0x40 DUP6 ADD PUSH1 0x20 DUP8 ADD PUSH2 0x0764 JUMP JUMPDEST PUSH1 0x1f ADD PUSH1 0x1f NOT AND SWAP2 SWAP1 SWAP2 ADD PUSH1 0x40 ADD SWAP3 SWAP2 POP POP JUMP JUMPDEST PUSH1 0x00 DUP3 PUSH2 0x0732 JUMPI PUSH4 0x4e487b71 PUSH1 0xe0 SHL PUSH1 0x00 MSTORE PUSH1 0x12 PUSH1 0x04 MSTORE PUSH1 0x24 PUSH1 0x00 REVERT JUMPDEST POP DIV SWAP1 JUMP JUMPDEST PUSH1 0x00 DUP2 PUSH1 0x00 NOT DIV DUP4 GT DUP3 ISZERO ISZERO AND ISZERO PUSH2 0x075f JUMPI PUSH4 0x4e487b71 PUSH1 0xe0 SHL PUSH1 0x00 MSTORE PUSH1 0x11 PUSH1 0x04 MSTORE PUSH1 0x24 PUSH1 0x00 REVERT JUMPDEST POP MUL SWAP1 JUMP JUMPDEST PUSH1 0x00 JUMPDEST DUP4 DUP2 LT ISZERO PUSH2 0x077f JUMPI DUP2 DUP2 ADD MLOAD DUP4 DUP3 ADD MSTORE PUSH1 0x20 ADD PUSH2 0x0767 JUMP JUMPDEST DUP4 DUP2 GT ISZERO PUSH2 0x0401 JUMPI POP POP PUSH1 0x00 SWAP2 ADD MSTORE JUMP UNKNOWN_0xfe LOG2 PUSH5 0x6970667358 UNKNOWN_0x22 SLT SHA3 GT UNKNOWN_0xe PUSH31 0x2fbe587e220529ac2ecbf5a453e28c230b3241536aa3767a1bdaa1c88a6473 PUSH16 0x6c634300080500330000000000000000 STOP STOP STOP STOP CALLER UNKNOWN_0xd0 JUMP DUP10 COINBASE UNKNOWN_0xc0 UNKNOWN_0xc6 UNKNOWN_0x4f UNKNOWN_0xf7 UNKNOWN_0xe0 UNKNOWN_0xfb UNKNOWN_0x4f UNKNOWN_0xba SIGNEXTEND GT UNKNOWN_0xbd CALLDATACOPY UNKNOWN_0xde UNKNOWN_0xed SWAP16 STOP STOP STOP STOP STOP STOP STOP STOP STOP STOP STOP STOP UNKNOWN_0x4b UNKNOWN_0x5f UNKNOWN_0x49 BASEFEE PUSH31 0xa7b3609b1ad05459be420548789f1f000000000000000000000000e51bbd1a UNKNOWN_0xd2 AND UNKNOWN_0xbb UNKNOWN_0xa7 UNKNOWN_0xdc PUSH31 0x98209fd37238dfcb5a9c000000000000000000000000000000000000000000 STOP STOP STOP STOP STOP STOP STOP STOP STOP STOP ADD STOP STOP STOP STOP STOP STOP STOP STOP STOP STOP STOP STOP STOP STOP STOP STOP STOP STOP STOP STOP STOP STOP STOP ADD UNKNOWN_0xe5 UNKNOWN_0xb8 STATICCALL DUP16 UNKNOWN_0xe2 UNKNOWN_0xac STOP STOP