Contract: TokenSwap
Malicious: no
Decompiled opcodes:
PUSH1 0x80 PUSH1 0x40 MSTORE CALLVALUE DUP1 ISZERO PUSH2 0x0010 JUMPI PUSH1 0x00 DUP1 REVERT JUMPDEST POP PUSH1 0x40 MLOAD PUSH1 0x60 DUP1 PUSH2 0x08c0 DUP4 CODECOPY DUP2 ADD DUP1 PUSH1 0x40 MSTORE PUSH1 0x60 DUP2 LT ISZERO PUSH2 0x0030 JUMPI PUSH1 0x00 DUP1 REVERT JUMPDEST POP DUP1 MLOAD PUSH1 0x20 DUP3 ADD MLOAD PUSH1 0x40 SWAP3 DUP4 ADD MLOAD PUSH1 0x00 DUP1 SLOAD PUSH1 0x01 PUSH1 0xa0 PUSH1 0x02 EXP SUB NOT AND CALLER OR DUP1 DUP3 SSTORE SWAP5 MLOAD SWAP4 SWAP5 SWAP3 SWAP4 SWAP2 SWAP3 PUSH1 0x01 PUSH1 0xa0 PUSH1 0x02 EXP SUB AND SWAP2 PUSH32 0x8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0 SWAP1 DUP3 SWAP1 LOG3 PUSH1 0x01 PUSH1 0xa0 PUSH1 0x02 EXP SUB DUP4 AND ISZERO DUP1 ISZERO SWAP1 PUSH2 0x00a8 JUMPI POP PUSH1 0x01 PUSH1 0xa0 PUSH1 0x02 EXP SUB DUP3 AND ISZERO ISZERO JUMPDEST ISZERO ISZERO PUSH2 0x0115 JUMPI PUSH1 0x40 DUP1 MLOAD PUSH32 0x08c379a000000000000000000000000000000000000000000000000000000000 DUP2 MSTORE PUSH1 0x20 PUSH1 0x04 DUP3 ADD MSTORE PUSH1 0x1b PUSH1 0x24 DUP3 ADD MSTORE PUSH32 0x746f6b656e20616464726573732063616e206e6f7420626520302e0000000000 PUSH1 0x44 DUP3 ADD MSTORE SWAP1 MLOAD SWAP1 DUP2 SWAP1 SUB PUSH1 0x64 ADD SWAP1 REVERT JUMPDEST PUSH1 0x00 DUP2 GT PUSH2 0x0184 JUMPI PUSH1 0x40 DUP1 MLOAD PUSH32 0x08c379a000000000000000000000000000000000000000000000000000000000 DUP2 MSTORE PUSH1 0x20 PUSH1 0x04 DUP3 ADD MSTORE PUSH1 0x17 PUSH1 0x24 DUP3 ADD MSTORE PUSH32 0x7377617020726174652063616e206e6f7420626520302e000000000000000000 PUSH1 0x44 DUP3 ADD MSTORE SWAP1 MLOAD SWAP1 DUP2 SWAP1 SUB PUSH1 0x64 ADD SWAP1 REVERT JUMPDEST PUSH1 0x01 DUP1 SLOAD PUSH1 0x01 PUSH1 0xa0 PUSH1 0x02 EXP SUB SWAP5 DUP6 AND PUSH1 0x01 PUSH1 0xa0 PUSH1 0x02 EXP SUB NOT SWAP2 DUP3 AND OR SWAP1 SWAP2 SSTORE PUSH1 0x02 DUP1 SLOAD SWAP4 SWAP1 SWAP5 AND SWAP3 AND SWAP2 SWAP1 SWAP2 OR SWAP1 SWAP2 SSTORE PUSH1 0x03 SSTORE PUSH2 0x06fa DUP1 PUSH2 0x01c6 PUSH1 0x00 CODECOPY 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 0x007e JUMPI PUSH29 0x0100000000000000000000000000000000000000000000000000000000 PUSH1 0x00 CALLDATALOAD DIV PUSH4 0x51b42b00 DUP2 EQ PUSH2 0x0083 JUMPI DUP1 PUSH4 0x715018a6 EQ PUSH2 0x008d JUMPI DUP1 PUSH4 0x8119c065 EQ PUSH2 0x0095 JUMPI DUP1 PUSH4 0x8da5cb5b EQ PUSH2 0x00b1 JUMPI DUP1 PUSH4 0x8f32d59b EQ PUSH2 0x00d5 JUMPI DUP1 PUSH4 0xf2fde38b EQ PUSH2 0x00dd JUMPI JUMPDEST PUSH1 0x00 DUP1 REVERT JUMPDEST PUSH2 0x008b PUSH2 0x0103 JUMP JUMPDEST STOP JUMPDEST PUSH2 0x008b PUSH2 0x027e JUMP JUMPDEST PUSH2 0x009d PUSH2 0x02e8 JUMP JUMPDEST PUSH1 0x40 DUP1 MLOAD SWAP2 ISZERO ISZERO DUP3 MSTORE MLOAD SWAP1 DUP2 SWAP1 SUB PUSH1 0x20 ADD SWAP1 RETURN JUMPDEST PUSH2 0x00b9 PUSH2 0x05a7 JUMP JUMPDEST PUSH1 0x40 DUP1 MLOAD PUSH1 0x01 PUSH1 0xa0 PUSH1 0x02 EXP SUB SWAP1 SWAP3 AND DUP3 MSTORE MLOAD SWAP1 DUP2 SWAP1 SUB PUSH1 0x20 ADD SWAP1 RETURN JUMPDEST PUSH2 0x009d PUSH2 0x05b6 JUMP JUMPDEST PUSH2 0x008b PUSH1 0x04 DUP1 CALLDATASIZE SUB PUSH1 0x20 DUP2 LT ISZERO PUSH2 0x00f3 JUMPI PUSH1 0x00 DUP1 REVERT JUMPDEST POP CALLDATALOAD PUSH1 0x01 PUSH1 0xa0 PUSH1 0x02 EXP SUB AND PUSH2 0x05c7 JUMP JUMPDEST PUSH2 0x010b PUSH2 0x05b6 JUMP JUMPDEST ISZERO ISZERO PUSH2 0x0116 JUMPI PUSH1 0x00 DUP1 REVERT JUMPDEST PUSH1 0x01 SLOAD PUSH1 0x40 DUP1 MLOAD PUSH32 0x70a0823100000000000000000000000000000000000000000000000000000000 DUP2 MSTORE ADDRESS PUSH1 0x04 DUP3 ADD MSTORE SWAP1 MLOAD PUSH1 0x00 SWAP3 PUSH1 0x01 PUSH1 0xa0 PUSH1 0x02 EXP SUB AND SWAP2 PUSH4 0x70a08231 SWAP2 PUSH1 0x24 DUP1 DUP4 ADD SWAP3 PUSH1 0x20 SWAP3 SWAP2 SWAP1 DUP3 SWAP1 SUB ADD DUP2 DUP7 DUP1 EXTCODESIZE ISZERO DUP1 ISZERO PUSH2 0x017a JUMPI PUSH1 0x00 DUP1 REVERT JUMPDEST POP GAS STATICCALL ISZERO DUP1 ISZERO PUSH2 0x018e JUMPI RETURNDATASIZE PUSH1 0x00 DUP1 RETURNDATACOPY RETURNDATASIZE PUSH1 0x00 REVERT JUMPDEST POP POP POP POP PUSH1 0x40 MLOAD RETURNDATASIZE PUSH1 0x20 DUP2 LT ISZERO PUSH2 0x01a4 JUMPI PUSH1 0x00 DUP1 REVERT JUMPDEST POP MLOAD PUSH1 0x01 SLOAD PUSH1 0x40 DUP1 MLOAD PUSH32 0xa9059cbb00000000000000000000000000000000000000000000000000000000 DUP2 MSTORE PUSH1 0x00 PUSH1 0x04 DUP3 ADD DUP2 SWAP1 MSTORE PUSH1 0x24 DUP3 ADD DUP6 SWAP1 MSTORE SWAP2 MLOAD SWAP4 SWAP5 POP PUSH1 0x01 PUSH1 0xa0 PUSH1 0x02 EXP SUB SWAP1 SWAP3 AND SWAP3 PUSH4 0xa9059cbb SWAP3 PUSH1 0x44 DUP1 DUP3 ADD SWAP4 PUSH1 0x20 SWAP4 SWAP3 DUP4 SWAP1 SUB SWAP1 SWAP2 ADD SWAP1 DUP3 SWAP1 DUP8 DUP1 EXTCODESIZE ISZERO DUP1 ISZERO PUSH2 0x0219 JUMPI PUSH1 0x00 DUP1 REVERT JUMPDEST POP GAS CALL ISZERO DUP1 ISZERO PUSH2 0x022d JUMPI RETURNDATASIZE PUSH1 0x00 DUP1 RETURNDATACOPY RETURNDATASIZE PUSH1 0x00 REVERT JUMPDEST POP POP POP POP PUSH1 0x40 MLOAD RETURNDATASIZE PUSH1 0x20 DUP2 LT ISZERO PUSH2 0x0243 JUMPI PUSH1 0x00 DUP1 REVERT JUMPDEST POP MLOAD ISZERO ISZERO PUSH2 0x0250 JUMPI PUSH1 0x00 DUP1 REVERT JUMPDEST PUSH1 0x40 MLOAD DUP2 SWAP1 PUSH32 0x642028127038cd17804be50978266c980dbd2234656c49d7f9c43f15985cf0ad SWAP1 PUSH1 0x00 SWAP1 LOG2 POP JUMP JUMPDEST PUSH2 0x0286 PUSH2 0x05b6 JUMP JUMPDEST ISZERO ISZERO PUSH2 0x0291 JUMPI PUSH1 0x00 DUP1 REVERT JUMPDEST PUSH1 0x00 DUP1 SLOAD PUSH1 0x40 MLOAD PUSH1 0x01 PUSH1 0xa0 PUSH1 0x02 EXP SUB SWAP1 SWAP2 AND SWAP1 PUSH32 0x8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0 SWAP1 DUP4 SWAP1 LOG3 PUSH1 0x00 DUP1 SLOAD PUSH20 0xffffffffffffffffffffffffffffffffffffffff NOT AND SWAP1 SSTORE JUMP JUMPDEST PUSH1 0x01 SLOAD PUSH1 0x40 DUP1 MLOAD PUSH32 0xdd62ed3e00000000000000000000000000000000000000000000000000000000 DUP2 MSTORE CALLER PUSH1 0x04 DUP3 ADD MSTORE ADDRESS PUSH1 0x24 DUP3 ADD MSTORE SWAP1 MLOAD PUSH1 0x00 SWAP3 DUP4 SWAP3 PUSH1 0x01 PUSH1 0xa0 PUSH1 0x02 EXP SUB SWAP1 SWAP2 AND SWAP2 PUSH4 0xdd62ed3e SWAP2 PUSH1 0x44 DUP1 DUP3 ADD SWAP3 PUSH1 0x20 SWAP3 SWAP1 SWAP2 SWAP1 DUP3 SWAP1 SUB ADD DUP2 DUP7 DUP1 EXTCODESIZE ISZERO DUP1 ISZERO PUSH2 0x0357 JUMPI PUSH1 0x00 DUP1 REVERT JUMPDEST POP GAS STATICCALL ISZERO DUP1 ISZERO PUSH2 0x036b JUMPI RETURNDATASIZE PUSH1 0x00 DUP1 RETURNDATACOPY RETURNDATASIZE PUSH1 0x00 REVERT JUMPDEST POP POP POP POP PUSH1 0x40 MLOAD RETURNDATASIZE PUSH1 0x20 DUP2 LT ISZERO PUSH2 0x0381 JUMPI PUSH1 0x00 DUP1 REVERT JUMPDEST POP MLOAD SWAP1 POP PUSH1 0x00 DUP2 GT PUSH2 0x03de JUMPI PUSH1 0x40 MLOAD PUSH32 0x08c379a000000000000000000000000000000000000000000000000000000000 DUP2 MSTORE PUSH1 0x04 ADD DUP1 DUP1 PUSH1 0x20 ADD DUP3 DUP2 SUB DUP3 MSTORE PUSH1 0x2e DUP2 MSTORE PUSH1 0x20 ADD DUP1 PUSH2 0x06a1 PUSH1 0x2e SWAP2 CODECOPY PUSH1 0x40 ADD SWAP2 POP POP PUSH1 0x40 MLOAD DUP1 SWAP2 SUB SWAP1 REVERT JUMPDEST PUSH1 0x01 SLOAD PUSH1 0x40 DUP1 MLOAD PUSH32 0x23b872dd00000000000000000000000000000000000000000000000000000000 DUP2 MSTORE CALLER PUSH1 0x04 DUP3 ADD MSTORE PUSH1 0x00 PUSH1 0x24 DUP3 ADD DUP2 SWAP1 MSTORE PUSH1 0x44 DUP3 ADD DUP6 SWAP1 MSTORE SWAP2 MLOAD PUSH1 0x01 PUSH1 0xa0 PUSH1 0x02 EXP SUB SWAP1 SWAP4 AND SWAP3 PUSH4 0x23b872dd SWAP3 PUSH1 0x64 DUP1 DUP5 ADD SWAP4 PUSH1 0x20 SWAP4 SWAP3 SWAP1 DUP4 SWAP1 SUB SWAP1 SWAP2 ADD SWAP1 DUP3 SWAP1 DUP8 DUP1 EXTCODESIZE ISZERO DUP1 ISZERO PUSH2 0x0455 JUMPI PUSH1 0x00 DUP1 REVERT JUMPDEST POP GAS CALL ISZERO DUP1 ISZERO PUSH2 0x0469 JUMPI RETURNDATASIZE PUSH1 0x00 DUP1 RETURNDATACOPY RETURNDATASIZE PUSH1 0x00 REVERT JUMPDEST POP POP POP POP PUSH1 0x40 MLOAD RETURNDATASIZE PUSH1 0x20 DUP2 LT ISZERO PUSH2 0x047f JUMPI PUSH1 0x00 DUP1 REVERT JUMPDEST POP MLOAD ISZERO PUSH2 0x059f JUMPI PUSH1 0x00 PUSH2 0x0499 DUP3 PUSH1 0x09 PUSH4 0xffffffff PUSH2 0x05e6 AND JUMP JUMPDEST SWAP1 POP PUSH2 0x04b0 PUSH1 0x03 SLOAD DUP3 PUSH2 0x05ff SWAP1 SWAP2 SWAP1 PUSH4 0xffffffff AND JUMP JUMPDEST PUSH1 0x02 SLOAD SWAP1 SWAP2 POP PUSH1 0x01 PUSH1 0xa0 PUSH1 0x02 EXP SUB AND PUSH4 0x23b872dd PUSH2 0x04cc PUSH2 0x05a7 JUMP JUMPDEST PUSH1 0x40 DUP1 MLOAD PUSH29 0x0100000000000000000000000000000000000000000000000000000000 PUSH4 0xffffffff DUP6 AND MUL DUP2 MSTORE PUSH1 0x01 PUSH1 0xa0 PUSH1 0x02 EXP SUB SWAP1 SWAP3 AND PUSH1 0x04 DUP4 ADD MSTORE CALLER PUSH1 0x24 DUP4 ADD MSTORE PUSH1 0x44 DUP3 ADD DUP6 SWAP1 MSTORE MLOAD PUSH1 0x64 DUP1 DUP4 ADD SWAP3 PUSH1 0x20 SWAP3 SWAP2 SWAP1 DUP3 SWAP1 SUB ADD DUP2 PUSH1 0x00 DUP8 DUP1 EXTCODESIZE ISZERO DUP1 ISZERO PUSH2 0x0537 JUMPI PUSH1 0x00 DUP1 REVERT JUMPDEST POP GAS CALL ISZERO DUP1 ISZERO PUSH2 0x054b JUMPI RETURNDATASIZE PUSH1 0x00 DUP1 RETURNDATACOPY RETURNDATASIZE PUSH1 0x00 REVERT JUMPDEST POP POP POP POP PUSH1 0x40 MLOAD RETURNDATASIZE PUSH1 0x20 DUP2 LT ISZERO PUSH2 0x0561 JUMPI PUSH1 0x00 DUP1 REVERT JUMPDEST POP MLOAD ISZERO ISZERO PUSH2 0x056e JUMPI PUSH1 0x00 DUP1 REVERT JUMPDEST PUSH1 0x40 MLOAD DUP2 SWAP1 DUP4 SWAP1 CALLER SWAP1 PUSH32 0x77f92a1b6a1a11de8ca49515ad4c1fad45632dd3442167d74b90b304a3c7a758 SWAP1 PUSH1 0x00 SWAP1 LOG4 POP JUMPDEST PUSH1 0x01 SWAP2 POP POP SWAP1 JUMP JUMPDEST PUSH1 0x00 SLOAD PUSH1 0x01 PUSH1 0xa0 PUSH1 0x02 EXP SUB AND SWAP1 JUMP JUMPDEST PUSH1 0x00 SLOAD PUSH1 0x01 PUSH1 0xa0 PUSH1 0x02 EXP SUB AND CALLER EQ SWAP1 JUMP JUMPDEST PUSH2 0x05cf PUSH2 0x05b6 JUMP JUMPDEST ISZERO ISZERO PUSH2 0x05da JUMPI PUSH1 0x00 DUP1 REVERT JUMPDEST PUSH2 0x05e3 DUP2 PUSH2 0x0623 JUMP JUMPDEST POP JUMP JUMPDEST PUSH1 0x00 DUP3 DUP3 ADD DUP4 DUP2 LT ISZERO PUSH2 0x05f8 JUMPI PUSH1 0x00 DUP1 REVERT JUMPDEST SWAP4 SWAP3 POP POP POP JUMP JUMPDEST PUSH1 0x00 DUP1 DUP3 GT PUSH2 0x060d JUMPI PUSH1 0x00 DUP1 REVERT JUMPDEST PUSH1 0x00 DUP3 DUP5 DUP2 ISZERO ISZERO PUSH2 0x061a JUMPI UNKNOWN_0xfe JUMPDEST DIV SWAP5 SWAP4 POP POP POP POP JUMP JUMPDEST PUSH1 0x01 PUSH1 0xa0 PUSH1 0x02 EXP SUB DUP2 AND ISZERO ISZERO PUSH2 0x0638 JUMPI PUSH1 0x00 DUP1 REVERT JUMPDEST PUSH1 0x00 DUP1 SLOAD PUSH1 0x40 MLOAD PUSH1 0x01 PUSH1 0xa0 PUSH1 0x02 EXP SUB DUP1 DUP6 AND SWAP4 SWAP3 AND SWAP2 PUSH32 0x8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0 SWAP2 LOG3 PUSH1 0x00 DUP1 SLOAD PUSH20 0xffffffffffffffffffffffffffffffffffffffff NOT AND PUSH1 0x01 PUSH1 0xa0 PUSH1 0x02 EXP SUB SWAP3 SWAP1 SWAP3 AND SWAP2 SWAP1 SWAP2 OR SWAP1 SSTORE JUMP UNKNOWN_0xfe PUSH20 0x656e646572206e65656420746f20617070726f76 PUSH6 0x20746f6b656e SHA3 PUSH21 0x6f207377617020636f6e74726163742ea165627a7a PUSH19 0x3058200eea7386805dda82fe3a362c7d8f606e PUSH28 0x165b9c1b88e4f3e248d3f866fb339700290000000000000000000000 STOP UNKNOWN_0xdc UNKNOWN_0xc2 PUSH28 0xbaa14cafd8a6aeb847e1b01c5dffb709350000000000000000000000 STOP REVERT CREATE2 PUSH21 0x766ba1a96a553e175aeffa85ad78063f0b00000000 STOP STOP STOP STOP STOP STOP STOP STOP STOP STOP STOP STOP STOP STOP STOP STOP STOP STOP STOP STOP STOP STOP STOP STOP STOP STOP STOP EXP