Contract: CurrencyManager
Etherscan label: looksrare
Tag: LooksRare: Currency Manager
Malicious: no
Decompiled opcodes:
PUSH1 0x80 PUSH1 0x40 MSTORE CALLVALUE DUP1 ISZERO PUSH2 0x0010 JUMPI PUSH1 0x00 DUP1 REVERT JUMPDEST POP PUSH2 0x001a CALLER PUSH2 0x001f JUMP JUMPDEST PUSH2 0x006f JUMP JUMPDEST PUSH1 0x00 DUP1 SLOAD PUSH1 0x01 PUSH1 0x01 PUSH1 0xa0 SHL SUB DUP4 DUP2 AND PUSH1 0x01 PUSH1 0x01 PUSH1 0xa0 SHL SUB NOT DUP4 AND DUP2 OR DUP5 SSTORE PUSH1 0x40 MLOAD SWAP2 SWAP1 SWAP3 AND SWAP3 DUP4 SWAP2 PUSH32 0x8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0 SWAP2 SWAP1 LOG3 POP POP JUMP JUMPDEST PUSH2 0x0b41 DUP1 PUSH2 0x007e 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 0x0088 JUMPI PUSH1 0x00 CALLDATALOAD PUSH1 0xe0 SHR DUP1 PUSH4 0x8ab234b6 GT PUSH2 0x005b JUMPI DUP1 PUSH4 0x8ab234b6 EQ PUSH2 0x00f6 JUMPI DUP1 PUSH4 0x8da5cb5b EQ PUSH2 0x0109 JUMPI DUP1 PUSH4 0xc5d3a107 EQ PUSH2 0x0131 JUMPI DUP1 PUSH4 0xf2fde38b EQ PUSH2 0x0144 JUMPI PUSH1 0x00 DUP1 REVERT JUMPDEST DUP1 PUSH4 0x1facfd9c EQ PUSH2 0x008d JUMPI DUP1 PUSH4 0x43b938c5 EQ PUSH2 0x00a8 JUMPI DUP1 PUSH4 0x715018a6 EQ PUSH2 0x00cb JUMPI DUP1 PUSH4 0x85f39b0a EQ PUSH2 0x00d5 JUMPI JUMPDEST PUSH1 0x00 DUP1 REVERT JUMPDEST PUSH2 0x0095 PUSH2 0x0157 JUMP JUMPDEST PUSH1 0x40 MLOAD SWAP1 DUP2 MSTORE PUSH1 0x20 ADD JUMPDEST PUSH1 0x40 MLOAD DUP1 SWAP2 SUB SWAP1 RETURN JUMPDEST PUSH2 0x00bb PUSH2 0x00b6 CALLDATASIZE PUSH1 0x04 PUSH2 0x0931 JUMP JUMPDEST PUSH2 0x0168 JUMP JUMPDEST PUSH1 0x40 MLOAD SWAP1 ISZERO ISZERO DUP2 MSTORE PUSH1 0x20 ADD PUSH2 0x009f JUMP JUMPDEST PUSH2 0x00d3 PUSH2 0x017b JUMP JUMPDEST STOP JUMPDEST PUSH2 0x00e8 PUSH2 0x00e3 CALLDATASIZE PUSH1 0x04 PUSH2 0x0967 JUMP JUMPDEST PUSH2 0x020d JUMP JUMPDEST PUSH1 0x40 MLOAD PUSH2 0x009f SWAP3 SWAP2 SWAP1 PUSH2 0x0989 JUMP JUMPDEST PUSH2 0x00d3 PUSH2 0x0104 CALLDATASIZE PUSH1 0x04 PUSH2 0x0931 JUMP JUMPDEST PUSH2 0x030f JUMP JUMPDEST PUSH1 0x00 SLOAD PUSH1 0x40 MLOAD PUSH20 0xffffffffffffffffffffffffffffffffffffffff SWAP1 SWAP2 AND DUP2 MSTORE PUSH1 0x20 ADD PUSH2 0x009f JUMP JUMPDEST PUSH2 0x00d3 PUSH2 0x013f CALLDATASIZE PUSH1 0x04 PUSH2 0x0931 JUMP JUMPDEST PUSH2 0x0452 JUMP JUMPDEST PUSH2 0x00d3 PUSH2 0x0152 CALLDATASIZE PUSH1 0x04 PUSH2 0x0931 JUMP JUMPDEST PUSH2 0x0594 JUMP JUMPDEST PUSH1 0x00 PUSH2 0x0163 PUSH1 0x01 PUSH2 0x06c4 JUMP JUMPDEST SWAP1 POP SWAP1 JUMP JUMPDEST PUSH1 0x00 PUSH2 0x0175 PUSH1 0x01 DUP4 PUSH2 0x06ce JUMP JUMPDEST SWAP3 SWAP2 POP POP JUMP JUMPDEST PUSH1 0x00 SLOAD PUSH20 0xffffffffffffffffffffffffffffffffffffffff AND CALLER EQ PUSH2 0x0201 JUMPI PUSH1 0x40 MLOAD PUSH32 0x08c379a000000000000000000000000000000000000000000000000000000000 DUP2 MSTORE PUSH1 0x20 PUSH1 0x04 DUP3 ADD DUP2 SWAP1 MSTORE PUSH1 0x24 DUP3 ADD MSTORE PUSH32 0x4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572 PUSH1 0x44 DUP3 ADD MSTORE PUSH1 0x64 ADD JUMPDEST PUSH1 0x40 MLOAD DUP1 SWAP2 SUB SWAP1 REVERT JUMPDEST PUSH2 0x020b PUSH1 0x00 PUSH2 0x0700 JUMP JUMPDEST JUMP JUMPDEST PUSH1 0x60 PUSH1 0x00 DUP3 DUP5 PUSH2 0x021d PUSH1 0x01 PUSH2 0x06c4 JUMP JUMPDEST PUSH2 0x0227 SWAP2 SWAP1 PUSH2 0x09ff JUMP JUMPDEST DUP2 GT ISZERO PUSH2 0x0246 JUMPI DUP5 PUSH2 0x0239 PUSH1 0x01 PUSH2 0x06c4 JUMP JUMPDEST PUSH2 0x0243 SWAP2 SWAP1 PUSH2 0x09ff JUMP JUMPDEST SWAP1 POP JUMPDEST PUSH1 0x00 DUP2 PUSH8 0xffffffffffffffff DUP2 GT ISZERO PUSH2 0x0261 JUMPI PUSH2 0x0261 PUSH2 0x0adc JUMP JUMPDEST PUSH1 0x40 MLOAD SWAP1 DUP1 DUP3 MSTORE DUP1 PUSH1 0x20 MUL PUSH1 0x20 ADD DUP3 ADD PUSH1 0x40 MSTORE DUP1 ISZERO PUSH2 0x028a JUMPI DUP2 PUSH1 0x20 ADD PUSH1 0x20 DUP3 MUL DUP1 CALLDATASIZE DUP4 CALLDATACOPY ADD SWAP1 POP JUMPDEST POP SWAP1 POP PUSH1 0x00 JUMPDEST DUP3 DUP2 LT ISZERO PUSH2 0x02f6 JUMPI PUSH2 0x02ad PUSH2 0x02a5 DUP3 DUP10 PUSH2 0x09e7 JUMP JUMPDEST PUSH1 0x01 SWAP1 PUSH2 0x0775 JUMP JUMPDEST DUP3 DUP3 DUP2 MLOAD DUP2 LT PUSH2 0x02bf JUMPI PUSH2 0x02bf PUSH2 0x0aad JUMP JUMPDEST PUSH20 0xffffffffffffffffffffffffffffffffffffffff SWAP1 SWAP3 AND PUSH1 0x20 SWAP3 DUP4 MUL SWAP2 SWAP1 SWAP2 ADD SWAP1 SWAP2 ADD MSTORE DUP1 PUSH2 0x02ee DUP2 PUSH2 0x0a16 JUMP JUMPDEST SWAP2 POP POP PUSH2 0x0290 JUMP JUMPDEST POP DUP1 PUSH2 0x0302 DUP4 DUP9 PUSH2 0x09e7 JUMP JUMPDEST SWAP4 POP SWAP4 POP POP POP SWAP3 POP SWAP3 SWAP1 POP JUMP JUMPDEST PUSH1 0x00 SLOAD PUSH20 0xffffffffffffffffffffffffffffffffffffffff AND CALLER EQ PUSH2 0x0390 JUMPI PUSH1 0x40 MLOAD PUSH32 0x08c379a000000000000000000000000000000000000000000000000000000000 DUP2 MSTORE PUSH1 0x20 PUSH1 0x04 DUP3 ADD DUP2 SWAP1 MSTORE PUSH1 0x24 DUP3 ADD MSTORE PUSH32 0x4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572 PUSH1 0x44 DUP3 ADD MSTORE PUSH1 0x64 ADD PUSH2 0x01f8 JUMP JUMPDEST PUSH2 0x039b PUSH1 0x01 DUP3 PUSH2 0x06ce JUMP JUMPDEST ISZERO PUSH2 0x0402 JUMPI PUSH1 0x40 MLOAD PUSH32 0x08c379a000000000000000000000000000000000000000000000000000000000 DUP2 MSTORE PUSH1 0x20 PUSH1 0x04 DUP3 ADD MSTORE PUSH1 0x1d PUSH1 0x24 DUP3 ADD MSTORE PUSH32 0x43757272656e63793a20416c72656164792077686974656c6973746564000000 PUSH1 0x44 DUP3 ADD MSTORE PUSH1 0x64 ADD PUSH2 0x01f8 JUMP JUMPDEST PUSH2 0x040d PUSH1 0x01 DUP3 PUSH2 0x0781 JUMP JUMPDEST POP PUSH1 0x40 MLOAD PUSH20 0xffffffffffffffffffffffffffffffffffffffff DUP3 AND SWAP1 PUSH32 0x3cbf62b327efb2d06d36e16c10a2f5c00cf0568e2b805bd56969b15d27361078 SWAP1 PUSH1 0x00 SWAP1 LOG2 POP JUMP JUMPDEST PUSH1 0x00 SLOAD PUSH20 0xffffffffffffffffffffffffffffffffffffffff AND CALLER EQ PUSH2 0x04d3 JUMPI PUSH1 0x40 MLOAD PUSH32 0x08c379a000000000000000000000000000000000000000000000000000000000 DUP2 MSTORE PUSH1 0x20 PUSH1 0x04 DUP3 ADD DUP2 SWAP1 MSTORE PUSH1 0x24 DUP3 ADD MSTORE PUSH32 0x4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572 PUSH1 0x44 DUP3 ADD MSTORE PUSH1 0x64 ADD PUSH2 0x01f8 JUMP JUMPDEST PUSH2 0x04de PUSH1 0x01 DUP3 PUSH2 0x06ce JUMP JUMPDEST PUSH2 0x0544 JUMPI PUSH1 0x40 MLOAD PUSH32 0x08c379a000000000000000000000000000000000000000000000000000000000 DUP2 MSTORE PUSH1 0x20 PUSH1 0x04 DUP3 ADD MSTORE PUSH1 0x19 PUSH1 0x24 DUP3 ADD MSTORE PUSH32 0x43757272656e63793a204e6f742077686974656c697374656400000000000000 PUSH1 0x44 DUP3 ADD MSTORE PUSH1 0x64 ADD PUSH2 0x01f8 JUMP JUMPDEST PUSH2 0x054f PUSH1 0x01 DUP3 PUSH2 0x07a3 JUMP JUMPDEST POP PUSH1 0x40 MLOAD PUSH20 0xffffffffffffffffffffffffffffffffffffffff DUP3 AND SWAP1 PUSH32 0xa40d69111be14f29022626d38310e47cc2d7f4cb728961509c2f65a4bee08c5b SWAP1 PUSH1 0x00 SWAP1 LOG2 POP JUMP JUMPDEST PUSH1 0x00 SLOAD PUSH20 0xffffffffffffffffffffffffffffffffffffffff AND CALLER EQ PUSH2 0x0615 JUMPI PUSH1 0x40 MLOAD PUSH32 0x08c379a000000000000000000000000000000000000000000000000000000000 DUP2 MSTORE PUSH1 0x20 PUSH1 0x04 DUP3 ADD DUP2 SWAP1 MSTORE PUSH1 0x24 DUP3 ADD MSTORE PUSH32 0x4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572 PUSH1 0x44 DUP3 ADD MSTORE PUSH1 0x64 ADD PUSH2 0x01f8 JUMP JUMPDEST PUSH20 0xffffffffffffffffffffffffffffffffffffffff DUP2 AND PUSH2 0x06b8 JUMPI PUSH1 0x40 MLOAD PUSH32 0x08c379a000000000000000000000000000000000000000000000000000000000 DUP2 MSTORE PUSH1 0x20 PUSH1 0x04 DUP3 ADD MSTORE PUSH1 0x26 PUSH1 0x24 DUP3 ADD MSTORE PUSH32 0x4f776e61626c653a206e6577206f776e657220697320746865207a65726f2061 PUSH1 0x44 DUP3 ADD MSTORE PUSH32 0x6464726573730000000000000000000000000000000000000000000000000000 PUSH1 0x64 DUP3 ADD MSTORE PUSH1 0x84 ADD PUSH2 0x01f8 JUMP JUMPDEST PUSH2 0x06c1 DUP2 PUSH2 0x0700 JUMP JUMPDEST POP JUMP JUMPDEST PUSH1 0x00 PUSH2 0x0175 DUP3 SLOAD SWAP1 JUMP JUMPDEST PUSH20 0xffffffffffffffffffffffffffffffffffffffff DUP2 AND PUSH1 0x00 SWAP1 DUP2 MSTORE PUSH1 0x01 DUP4 ADD PUSH1 0x20 MSTORE PUSH1 0x40 DUP2 SHA3 SLOAD ISZERO ISZERO JUMPDEST SWAP4 SWAP3 POP POP POP JUMP JUMPDEST PUSH1 0x00 DUP1 SLOAD PUSH20 0xffffffffffffffffffffffffffffffffffffffff DUP4 DUP2 AND PUSH32 0xffffffffffffffffffffffff0000000000000000000000000000000000000000 DUP4 AND DUP2 OR DUP5 SSTORE PUSH1 0x40 MLOAD SWAP2 SWAP1 SWAP3 AND SWAP3 DUP4 SWAP2 PUSH32 0x8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0 SWAP2 SWAP1 LOG3 POP POP JUMP JUMPDEST PUSH1 0x00 PUSH2 0x06f9 DUP4 DUP4 PUSH2 0x07c5 JUMP JUMPDEST PUSH1 0x00 PUSH2 0x06f9 DUP4 PUSH20 0xffffffffffffffffffffffffffffffffffffffff DUP5 AND PUSH2 0x07ef JUMP JUMPDEST PUSH1 0x00 PUSH2 0x06f9 DUP4 PUSH20 0xffffffffffffffffffffffffffffffffffffffff DUP5 AND PUSH2 0x083e JUMP JUMPDEST PUSH1 0x00 DUP3 PUSH1 0x00 ADD DUP3 DUP2 SLOAD DUP2 LT PUSH2 0x07dc JUMPI PUSH2 0x07dc PUSH2 0x0aad JUMP JUMPDEST SWAP1 PUSH1 0x00 MSTORE PUSH1 0x20 PUSH1 0x00 SHA3 ADD SLOAD SWAP1 POP SWAP3 SWAP2 POP POP JUMP JUMPDEST PUSH1 0x00 DUP2 DUP2 MSTORE PUSH1 0x01 DUP4 ADD PUSH1 0x20 MSTORE PUSH1 0x40 DUP2 SHA3 SLOAD PUSH2 0x0836 JUMPI POP DUP2 SLOAD PUSH1 0x01 DUP2 DUP2 ADD DUP5 SSTORE PUSH1 0x00 DUP5 DUP2 MSTORE PUSH1 0x20 DUP1 DUP3 SHA3 SWAP1 SWAP4 ADD DUP5 SWAP1 SSTORE DUP5 SLOAD DUP5 DUP3 MSTORE DUP3 DUP7 ADD SWAP1 SWAP4 MSTORE PUSH1 0x40 SWAP1 SHA3 SWAP2 SWAP1 SWAP2 SSTORE PUSH2 0x0175 JUMP JUMPDEST POP PUSH1 0x00 PUSH2 0x0175 JUMP JUMPDEST PUSH1 0x00 DUP2 DUP2 MSTORE PUSH1 0x01 DUP4 ADD PUSH1 0x20 MSTORE PUSH1 0x40 DUP2 SHA3 SLOAD DUP1 ISZERO PUSH2 0x0927 JUMPI PUSH1 0x00 PUSH2 0x0862 PUSH1 0x01 DUP4 PUSH2 0x09ff JUMP JUMPDEST DUP6 SLOAD SWAP1 SWAP2 POP PUSH1 0x00 SWAP1 PUSH2 0x0876 SWAP1 PUSH1 0x01 SWAP1 PUSH2 0x09ff JUMP JUMPDEST SWAP1 POP DUP2 DUP2 EQ PUSH2 0x08db JUMPI PUSH1 0x00 DUP7 PUSH1 0x00 ADD DUP3 DUP2 SLOAD DUP2 LT PUSH2 0x0896 JUMPI PUSH2 0x0896 PUSH2 0x0aad JUMP JUMPDEST SWAP1 PUSH1 0x00 MSTORE PUSH1 0x20 PUSH1 0x00 SHA3 ADD SLOAD SWAP1 POP DUP1 DUP8 PUSH1 0x00 ADD DUP5 DUP2 SLOAD DUP2 LT PUSH2 0x08b9 JUMPI PUSH2 0x08b9 PUSH2 0x0aad JUMP JUMPDEST PUSH1 0x00 SWAP2 DUP3 MSTORE PUSH1 0x20 DUP1 DUP4 SHA3 SWAP1 SWAP2 ADD SWAP3 SWAP1 SWAP3 SSTORE SWAP2 DUP3 MSTORE PUSH1 0x01 DUP9 ADD SWAP1 MSTORE PUSH1 0x40 SWAP1 SHA3 DUP4 SWAP1 SSTORE JUMPDEST DUP6 SLOAD DUP7 SWAP1 DUP1 PUSH2 0x08ec JUMPI PUSH2 0x08ec PUSH2 0x0a7e JUMP JUMPDEST PUSH1 0x01 SWAP1 SUB DUP2 DUP2 SWAP1 PUSH1 0x00 MSTORE PUSH1 0x20 PUSH1 0x00 SHA3 ADD PUSH1 0x00 SWAP1 SSTORE SWAP1 SSTORE DUP6 PUSH1 0x01 ADD PUSH1 0x00 DUP7 DUP2 MSTORE PUSH1 0x20 ADD SWAP1 DUP2 MSTORE PUSH1 0x20 ADD PUSH1 0x00 SHA3 PUSH1 0x00 SWAP1 SSTORE PUSH1 0x01 SWAP4 POP POP POP POP PUSH2 0x0175 JUMP JUMPDEST PUSH1 0x00 SWAP2 POP POP PUSH2 0x0175 JUMP JUMPDEST PUSH1 0x00 PUSH1 0x20 DUP3 DUP5 SUB SLT ISZERO PUSH2 0x0943 JUMPI PUSH1 0x00 DUP1 REVERT JUMPDEST DUP2 CALLDATALOAD PUSH20 0xffffffffffffffffffffffffffffffffffffffff DUP2 AND DUP2 EQ PUSH2 0x06f9 JUMPI PUSH1 0x00 DUP1 REVERT JUMPDEST PUSH1 0x00 DUP1 PUSH1 0x40 DUP4 DUP6 SUB SLT ISZERO PUSH2 0x097a JUMPI PUSH1 0x00 DUP1 REVERT JUMPDEST POP POP DUP1 CALLDATALOAD SWAP3 PUSH1 0x20 SWAP1 SWAP2 ADD CALLDATALOAD SWAP2 POP JUMP JUMPDEST PUSH1 0x40 DUP1 DUP3 MSTORE DUP4 MLOAD SWAP1 DUP3 ADD DUP2 SWAP1 MSTORE PUSH1 0x00 SWAP1 PUSH1 0x20 SWAP1 PUSH1 0x60 DUP5 ADD SWAP1 DUP3 DUP8 ADD DUP5 JUMPDEST DUP3 DUP2 LT ISZERO PUSH2 0x09d8 JUMPI DUP2 MLOAD PUSH20 0xffffffffffffffffffffffffffffffffffffffff AND DUP5 MSTORE SWAP3 DUP5 ADD SWAP3 SWAP1 DUP5 ADD SWAP1 PUSH1 0x01 ADD PUSH2 0x09a6 JUMP JUMPDEST POP POP POP SWAP3 ADD SWAP3 SWAP1 SWAP3 MSTORE SWAP3 SWAP2 POP POP JUMP JUMPDEST PUSH1 0x00 DUP3 NOT DUP3 GT ISZERO PUSH2 0x09fa JUMPI PUSH2 0x09fa PUSH2 0x0a4f JUMP JUMPDEST POP ADD SWAP1 JUMP JUMPDEST PUSH1 0x00 DUP3 DUP3 LT ISZERO PUSH2 0x0a11 JUMPI PUSH2 0x0a11 PUSH2 0x0a4f JUMP JUMPDEST POP SUB SWAP1 JUMP JUMPDEST PUSH1 0x00 PUSH32 0xffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff DUP3 EQ ISZERO PUSH2 0x0a48 JUMPI PUSH2 0x0a48 PUSH2 0x0a4f JUMP JUMPDEST POP PUSH1 0x01 ADD SWAP1 JUMP JUMPDEST PUSH32 0x4e487b7100000000000000000000000000000000000000000000000000000000 PUSH1 0x00 MSTORE PUSH1 0x11 PUSH1 0x04 MSTORE PUSH1 0x24 PUSH1 0x00 REVERT JUMPDEST PUSH32 0x4e487b7100000000000000000000000000000000000000000000000000000000 PUSH1 0x00 MSTORE PUSH1 0x31 PUSH1 0x04 MSTORE PUSH1 0x24 PUSH1 0x00 REVERT JUMPDEST PUSH32 0x4e487b7100000000000000000000000000000000000000000000000000000000 PUSH1 0x00 MSTORE PUSH1 0x32 PUSH1 0x04 MSTORE PUSH1 0x24 PUSH1 0x00 REVERT JUMPDEST PUSH32 0x4e487b7100000000000000000000000000000000000000000000000000000000 PUSH1 0x00 MSTORE PUSH1 0x41 PUSH1 0x04 MSTORE PUSH1 0x24 PUSH1 0x00 REVERT UNKNOWN_0xfe LOG2 PUSH5 0x6970667358 UNKNOWN_0x22 SLT SHA3 DIFFICULTY UNKNOWN_0xcc CALLDATALOAD EXTCODECOPY UNKNOWN_0xdb PUSH30 0x6d63407aa3cf883ab2f9ef941ac756638212e1cfb2e0e2c9ee3d64736f6c PUSH4 0x43000807 STOP CALLER