Contract: InitializableAdminUpgradeabilityProxy
Etherscan label: dydx
Tag: dYdX: Community Treasury
Malicious: no
Decompiled opcodes:
PUSH1 0x80 PUSH1 0x40 MSTORE CALLVALUE DUP1 ISZERO PUSH2 0x0010 JUMPI PUSH1 0x00 DUP1 REVERT JUMPDEST POP PUSH2 0x0905 DUP1 PUSH2 0x0020 PUSH1 0x00 CODECOPY PUSH1 0x00 RETURN UNKNOWN_0xfe PUSH1 0x80 PUSH1 0x40 MSTORE PUSH1 0x04 CALLDATASIZE LT PUSH2 0x0070 JUMPI PUSH1 0x00 CALLDATALOAD PUSH1 0xe0 SHR DUP1 PUSH4 0x8f283970 GT PUSH2 0x004e JUMPI DUP1 PUSH4 0x8f283970 EQ PUSH2 0x015e JUMPI DUP1 PUSH4 0xcf7a1d77 EQ PUSH2 0x0191 JUMPI DUP1 PUSH4 0xd1f57894 EQ PUSH2 0x0250 JUMPI DUP1 PUSH4 0xf851a440 EQ PUSH2 0x0306 JUMPI PUSH2 0x0070 JUMP JUMPDEST DUP1 PUSH4 0x3659cfe6 EQ PUSH2 0x007a JUMPI DUP1 PUSH4 0x4f1ef286 EQ PUSH2 0x00ad JUMPI DUP1 PUSH4 0x5c60da1b EQ PUSH2 0x012d JUMPI JUMPDEST PUSH2 0x0078 PUSH2 0x031b JUMP JUMPDEST STOP JUMPDEST CALLVALUE DUP1 ISZERO PUSH2 0x0086 JUMPI PUSH1 0x00 DUP1 REVERT JUMPDEST POP PUSH2 0x0078 PUSH1 0x04 DUP1 CALLDATASIZE SUB PUSH1 0x20 DUP2 LT ISZERO PUSH2 0x009d JUMPI PUSH1 0x00 DUP1 REVERT JUMPDEST POP CALLDATALOAD PUSH1 0x01 PUSH1 0x01 PUSH1 0xa0 SHL SUB AND PUSH2 0x0335 JUMP JUMPDEST PUSH2 0x0078 PUSH1 0x04 DUP1 CALLDATASIZE SUB PUSH1 0x40 DUP2 LT ISZERO PUSH2 0x00c3 JUMPI PUSH1 0x00 DUP1 REVERT JUMPDEST PUSH1 0x01 PUSH1 0x01 PUSH1 0xa0 SHL SUB DUP3 CALLDATALOAD AND SWAP2 SWAP1 DUP2 ADD SWAP1 PUSH1 0x40 DUP2 ADD PUSH1 0x20 DUP3 ADD CALLDATALOAD PUSH5 0x0100000000 DUP2 GT ISZERO PUSH2 0x00ee JUMPI PUSH1 0x00 DUP1 REVERT JUMPDEST DUP3 ADD DUP4 PUSH1 0x20 DUP3 ADD GT ISZERO PUSH2 0x0100 JUMPI PUSH1 0x00 DUP1 REVERT JUMPDEST DUP1 CALLDATALOAD SWAP1 PUSH1 0x20 ADD SWAP2 DUP5 PUSH1 0x01 DUP4 MUL DUP5 ADD GT PUSH5 0x0100000000 DUP4 GT OR ISZERO PUSH2 0x0122 JUMPI PUSH1 0x00 DUP1 REVERT JUMPDEST POP SWAP1 SWAP3 POP SWAP1 POP PUSH2 0x036f JUMP JUMPDEST CALLVALUE DUP1 ISZERO PUSH2 0x0139 JUMPI PUSH1 0x00 DUP1 REVERT JUMPDEST POP PUSH2 0x0142 PUSH2 0x041c JUMP JUMPDEST PUSH1 0x40 DUP1 MLOAD PUSH1 0x01 PUSH1 0x01 PUSH1 0xa0 SHL SUB SWAP1 SWAP3 AND DUP3 MSTORE MLOAD SWAP1 DUP2 SWAP1 SUB PUSH1 0x20 ADD SWAP1 RETURN JUMPDEST CALLVALUE DUP1 ISZERO PUSH2 0x016a JUMPI PUSH1 0x00 DUP1 REVERT JUMPDEST POP PUSH2 0x0078 PUSH1 0x04 DUP1 CALLDATASIZE SUB PUSH1 0x20 DUP2 LT ISZERO PUSH2 0x0181 JUMPI PUSH1 0x00 DUP1 REVERT JUMPDEST POP CALLDATALOAD PUSH1 0x01 PUSH1 0x01 PUSH1 0xa0 SHL SUB AND PUSH2 0x0459 JUMP JUMPDEST PUSH2 0x0078 PUSH1 0x04 DUP1 CALLDATASIZE SUB PUSH1 0x60 DUP2 LT ISZERO PUSH2 0x01a7 JUMPI PUSH1 0x00 DUP1 REVERT JUMPDEST PUSH1 0x01 PUSH1 0x01 PUSH1 0xa0 SHL SUB DUP3 CALLDATALOAD DUP2 AND SWAP3 PUSH1 0x20 DUP2 ADD CALLDATALOAD SWAP1 SWAP2 AND SWAP2 DUP2 ADD SWAP1 PUSH1 0x60 DUP2 ADD PUSH1 0x40 DUP3 ADD CALLDATALOAD PUSH5 0x0100000000 DUP2 GT ISZERO PUSH2 0x01db JUMPI PUSH1 0x00 DUP1 REVERT JUMPDEST DUP3 ADD DUP4 PUSH1 0x20 DUP3 ADD GT ISZERO PUSH2 0x01ed JUMPI PUSH1 0x00 DUP1 REVERT JUMPDEST DUP1 CALLDATALOAD SWAP1 PUSH1 0x20 ADD SWAP2 DUP5 PUSH1 0x01 DUP4 MUL DUP5 ADD GT PUSH5 0x0100000000 DUP4 GT OR ISZERO PUSH2 0x020f JUMPI PUSH1 0x00 DUP1 REVERT JUMPDEST SWAP2 SWAP1 DUP1 DUP1 PUSH1 0x1f ADD PUSH1 0x20 DUP1 SWAP2 DIV MUL PUSH1 0x20 ADD PUSH1 0x40 MLOAD SWAP1 DUP2 ADD PUSH1 0x40 MSTORE DUP1 SWAP4 SWAP3 SWAP2 SWAP1 DUP2 DUP2 MSTORE PUSH1 0x20 ADD DUP4 DUP4 DUP1 DUP3 DUP5 CALLDATACOPY PUSH1 0x00 SWAP3 ADD SWAP2 SWAP1 SWAP2 MSTORE POP SWAP3 SWAP6 POP PUSH2 0x0513 SWAP5 POP POP POP POP POP JUMP JUMPDEST PUSH2 0x0078 PUSH1 0x04 DUP1 CALLDATASIZE SUB PUSH1 0x40 DUP2 LT ISZERO PUSH2 0x0266 JUMPI PUSH1 0x00 DUP1 REVERT JUMPDEST PUSH1 0x01 PUSH1 0x01 PUSH1 0xa0 SHL SUB DUP3 CALLDATALOAD AND SWAP2 SWAP1 DUP2 ADD SWAP1 PUSH1 0x40 DUP2 ADD PUSH1 0x20 DUP3 ADD CALLDATALOAD PUSH5 0x0100000000 DUP2 GT ISZERO PUSH2 0x0291 JUMPI PUSH1 0x00 DUP1 REVERT JUMPDEST DUP3 ADD DUP4 PUSH1 0x20 DUP3 ADD GT ISZERO PUSH2 0x02a3 JUMPI PUSH1 0x00 DUP1 REVERT JUMPDEST DUP1 CALLDATALOAD SWAP1 PUSH1 0x20 ADD SWAP2 DUP5 PUSH1 0x01 DUP4 MUL DUP5 ADD GT PUSH5 0x0100000000 DUP4 GT OR ISZERO PUSH2 0x02c5 JUMPI PUSH1 0x00 DUP1 REVERT JUMPDEST SWAP2 SWAP1 DUP1 DUP1 PUSH1 0x1f ADD PUSH1 0x20 DUP1 SWAP2 DIV MUL PUSH1 0x20 ADD PUSH1 0x40 MLOAD SWAP1 DUP2 ADD PUSH1 0x40 MSTORE DUP1 SWAP4 SWAP3 SWAP2 SWAP1 DUP2 DUP2 MSTORE PUSH1 0x20 ADD DUP4 DUP4 DUP1 DUP3 DUP5 CALLDATACOPY PUSH1 0x00 SWAP3 ADD SWAP2 SWAP1 SWAP2 MSTORE POP SWAP3 SWAP6 POP PUSH2 0x0543 SWAP5 POP POP POP POP POP JUMP JUMPDEST CALLVALUE DUP1 ISZERO PUSH2 0x0312 JUMPI PUSH1 0x00 DUP1 REVERT JUMPDEST POP PUSH2 0x0142 PUSH2 0x0623 JUMP JUMPDEST PUSH2 0x0323 PUSH2 0x064e JUMP JUMPDEST PUSH2 0x0333 PUSH2 0x032e PUSH2 0x0656 JUMP JUMPDEST PUSH2 0x067b JUMP JUMPDEST JUMP JUMPDEST PUSH2 0x033d PUSH2 0x069f JUMP JUMPDEST PUSH1 0x01 PUSH1 0x01 PUSH1 0xa0 SHL SUB AND CALLER PUSH1 0x01 PUSH1 0x01 PUSH1 0xa0 SHL SUB AND EQ ISZERO PUSH2 0x0364 JUMPI PUSH2 0x035f DUP2 PUSH2 0x06c4 JUMP JUMPDEST PUSH2 0x036c JUMP JUMPDEST PUSH2 0x036c PUSH2 0x031b JUMP JUMPDEST POP JUMP JUMPDEST PUSH2 0x0377 PUSH2 0x069f JUMP JUMPDEST PUSH1 0x01 PUSH1 0x01 PUSH1 0xa0 SHL SUB AND CALLER PUSH1 0x01 PUSH1 0x01 PUSH1 0xa0 SHL SUB AND EQ ISZERO PUSH2 0x040f JUMPI PUSH2 0x0399 DUP4 PUSH2 0x06c4 JUMP JUMPDEST PUSH1 0x00 DUP4 PUSH1 0x01 PUSH1 0x01 PUSH1 0xa0 SHL SUB AND DUP4 DUP4 PUSH1 0x40 MLOAD DUP1 DUP4 DUP4 DUP1 DUP3 DUP5 CALLDATACOPY PUSH1 0x40 MLOAD SWAP3 ADD SWAP5 POP PUSH1 0x00 SWAP4 POP SWAP1 SWAP2 POP POP DUP1 DUP4 SUB DUP2 DUP6 GAS DELEGATECALL SWAP2 POP POP RETURNDATASIZE DUP1 PUSH1 0x00 DUP2 EQ PUSH2 0x03f6 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 0x03fb JUMP JUMPDEST PUSH1 0x60 SWAP2 POP JUMPDEST POP POP SWAP1 POP DUP1 PUSH2 0x0409 JUMPI PUSH1 0x00 DUP1 REVERT JUMPDEST POP PUSH2 0x0417 JUMP JUMPDEST PUSH2 0x0417 PUSH2 0x031b JUMP JUMPDEST POP POP POP JUMP JUMPDEST PUSH1 0x00 PUSH2 0x0426 PUSH2 0x069f JUMP JUMPDEST PUSH1 0x01 PUSH1 0x01 PUSH1 0xa0 SHL SUB AND CALLER PUSH1 0x01 PUSH1 0x01 PUSH1 0xa0 SHL SUB AND EQ ISZERO PUSH2 0x044e JUMPI PUSH2 0x0447 PUSH2 0x0656 JUMP JUMPDEST SWAP1 POP PUSH2 0x0456 JUMP JUMPDEST PUSH2 0x0456 PUSH2 0x031b JUMP JUMPDEST SWAP1 JUMP JUMPDEST PUSH2 0x0461 PUSH2 0x069f JUMP JUMPDEST PUSH1 0x01 PUSH1 0x01 PUSH1 0xa0 SHL SUB AND CALLER PUSH1 0x01 PUSH1 0x01 PUSH1 0xa0 SHL SUB AND EQ ISZERO PUSH2 0x0364 JUMPI PUSH1 0x01 PUSH1 0x01 PUSH1 0xa0 SHL SUB DUP2 AND PUSH2 0x04bf JUMPI PUSH1 0x40 MLOAD PUSH3 0x461bcd PUSH1 0xe5 SHL DUP2 MSTORE PUSH1 0x04 ADD DUP1 DUP1 PUSH1 0x20 ADD DUP3 DUP2 SUB DUP3 MSTORE PUSH1 0x36 DUP2 MSTORE PUSH1 0x20 ADD DUP1 PUSH2 0x085f PUSH1 0x36 SWAP2 CODECOPY PUSH1 0x40 ADD SWAP2 POP POP PUSH1 0x40 MLOAD DUP1 SWAP2 SUB SWAP1 REVERT JUMPDEST PUSH32 0x7e644d79422f17c01e4894b5f4f588d331ebfa28653d42ae832dc59e38c9798f PUSH2 0x04e8 PUSH2 0x069f JUMP JUMPDEST PUSH1 0x40 DUP1 MLOAD PUSH1 0x01 PUSH1 0x01 PUSH1 0xa0 SHL SUB SWAP3 DUP4 AND DUP2 MSTORE SWAP2 DUP5 AND PUSH1 0x20 DUP4 ADD MSTORE DUP1 MLOAD SWAP2 DUP3 SWAP1 SUB ADD SWAP1 LOG1 PUSH2 0x035f DUP2 PUSH2 0x0704 JUMP JUMPDEST PUSH1 0x00 PUSH2 0x051d PUSH2 0x0656 JUMP JUMPDEST PUSH1 0x01 PUSH1 0x01 PUSH1 0xa0 SHL SUB AND EQ PUSH2 0x0530 JUMPI PUSH1 0x00 DUP1 REVERT JUMPDEST PUSH2 0x053a DUP4 DUP3 PUSH2 0x0543 JUMP JUMPDEST PUSH2 0x0417 DUP3 PUSH2 0x0704 JUMP JUMPDEST PUSH1 0x00 PUSH2 0x054d PUSH2 0x0656 JUMP JUMPDEST PUSH1 0x01 PUSH1 0x01 PUSH1 0xa0 SHL SUB AND EQ PUSH2 0x0560 JUMPI PUSH1 0x00 DUP1 REVERT JUMPDEST PUSH2 0x0569 DUP3 PUSH2 0x0728 JUMP JUMPDEST DUP1 MLOAD ISZERO PUSH2 0x061f JUMPI PUSH1 0x00 DUP3 PUSH1 0x01 PUSH1 0x01 PUSH1 0xa0 SHL SUB AND DUP3 PUSH1 0x40 MLOAD DUP1 DUP3 DUP1 MLOAD SWAP1 PUSH1 0x20 ADD SWAP1 DUP1 DUP4 DUP4 JUMPDEST PUSH1 0x20 DUP4 LT PUSH2 0x05ac JUMPI DUP1 MLOAD DUP3 MSTORE PUSH1 0x1f NOT SWAP1 SWAP3 ADD SWAP2 PUSH1 0x20 SWAP2 DUP3 ADD SWAP2 ADD PUSH2 0x058d JUMP JUMPDEST PUSH1 0x01 DUP4 PUSH1 0x20 SUB PUSH2 0x0100 EXP SUB DUP1 NOT DUP3 MLOAD AND DUP2 DUP5 MLOAD AND DUP1 DUP3 OR DUP6 MSTORE POP POP POP POP POP POP SWAP1 POP ADD SWAP2 POP POP PUSH1 0x00 PUSH1 0x40 MLOAD DUP1 DUP4 SUB DUP2 DUP6 GAS DELEGATECALL SWAP2 POP POP RETURNDATASIZE DUP1 PUSH1 0x00 DUP2 EQ PUSH2 0x060c 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 0x0611 JUMP JUMPDEST PUSH1 0x60 SWAP2 POP JUMPDEST POP POP SWAP1 POP DUP1 PUSH2 0x0417 JUMPI PUSH1 0x00 DUP1 REVERT JUMPDEST POP POP JUMP JUMPDEST PUSH1 0x00 PUSH2 0x062d PUSH2 0x069f JUMP JUMPDEST PUSH1 0x01 PUSH1 0x01 PUSH1 0xa0 SHL SUB AND CALLER PUSH1 0x01 PUSH1 0x01 PUSH1 0xa0 SHL SUB AND EQ ISZERO PUSH2 0x044e JUMPI PUSH2 0x0447 PUSH2 0x069f JUMP JUMPDEST PUSH2 0x0333 PUSH2 0x0790 JUMP JUMPDEST PUSH32 0x360894a13ba1a3210667c828492db98dca3e2076cc3735a920a3ca505d382bbc SLOAD SWAP1 JUMP JUMPDEST CALLDATASIZE PUSH1 0x00 DUP1 CALLDATACOPY PUSH1 0x00 DUP1 CALLDATASIZE PUSH1 0x00 DUP5 GAS DELEGATECALL RETURNDATASIZE PUSH1 0x00 DUP1 RETURNDATACOPY DUP1 DUP1 ISZERO PUSH2 0x069a JUMPI RETURNDATASIZE PUSH1 0x00 RETURN JUMPDEST RETURNDATASIZE PUSH1 0x00 REVERT JUMPDEST PUSH32 0xb53127684a568b3173ae13b9f8a6016e243e63b6e8ee1178d6a717850b5d6103 SLOAD SWAP1 JUMP JUMPDEST PUSH2 0x06cd DUP2 PUSH2 0x0728 JUMP JUMPDEST PUSH1 0x40 MLOAD PUSH1 0x01 PUSH1 0x01 PUSH1 0xa0 SHL SUB DUP3 AND SWAP1 PUSH32 0xbc7cd75a20ee27fd9adebab32041f755214dbc6bffa90cc0225b39da2e5c2d3b SWAP1 PUSH1 0x00 SWAP1 LOG2 POP JUMP JUMPDEST PUSH32 0xb53127684a568b3173ae13b9f8a6016e243e63b6e8ee1178d6a717850b5d6103 SSTORE JUMP JUMPDEST PUSH2 0x0731 DUP2 PUSH2 0x07f0 JUMP JUMPDEST PUSH2 0x076c JUMPI PUSH1 0x40 MLOAD PUSH3 0x461bcd PUSH1 0xe5 SHL DUP2 MSTORE PUSH1 0x04 ADD DUP1 DUP1 PUSH1 0x20 ADD DUP3 DUP2 SUB DUP3 MSTORE PUSH1 0x3b DUP2 MSTORE PUSH1 0x20 ADD DUP1 PUSH2 0x0895 PUSH1 0x3b SWAP2 CODECOPY PUSH1 0x40 ADD SWAP2 POP POP PUSH1 0x40 MLOAD DUP1 SWAP2 SUB SWAP1 REVERT JUMPDEST PUSH32 0x360894a13ba1a3210667c828492db98dca3e2076cc3735a920a3ca505d382bbc SSTORE JUMP JUMPDEST PUSH2 0x0798 PUSH2 0x069f JUMP JUMPDEST PUSH1 0x01 PUSH1 0x01 PUSH1 0xa0 SHL SUB AND CALLER PUSH1 0x01 PUSH1 0x01 PUSH1 0xa0 SHL SUB AND EQ ISZERO PUSH2 0x07e8 JUMPI PUSH1 0x40 MLOAD PUSH3 0x461bcd PUSH1 0xe5 SHL DUP2 MSTORE PUSH1 0x04 ADD DUP1 DUP1 PUSH1 0x20 ADD DUP3 DUP2 SUB DUP3 MSTORE PUSH1 0x32 DUP2 MSTORE PUSH1 0x20 ADD DUP1 PUSH2 0x082d PUSH1 0x32 SWAP2 CODECOPY PUSH1 0x40 ADD SWAP2 POP POP PUSH1 0x40 MLOAD DUP1 SWAP2 SUB SWAP1 REVERT JUMPDEST PUSH2 0x0333 PUSH2 0x0333 JUMP JUMPDEST PUSH1 0x00 DUP2 EXTCODEHASH PUSH32 0xc5d2460186f7233c927e7db2dcc703c0e500b653ca82273b7bfad8045d85a470 DUP2 DUP2 EQ DUP1 ISZERO SWAP1 PUSH2 0x0824 JUMPI POP DUP2 ISZERO ISZERO JUMPDEST SWAP5 SWAP4 POP POP POP POP JUMP UNKNOWN_0xfe NUMBER PUSH2 0x6e6e PUSH16 0x742063616c6c2066616c6c6261636b20 PUSH7 0x756e6374696f6e SHA3 PUSH7 0x726f6d20746865 SHA3 PUSH17 0x726f78792061646d696e43616e6e6f7420 PUSH4 0x68616e67 PUSH6 0x207468652061 PUSH5 0x6d696e206f PUSH7 0x20612070726f78 PUSH26 0x20746f20746865207a65726f206164647265737343616e6e6f74 SHA3 PUSH20 0x657420612070726f787920696d706c656d656e74 PUSH2 0x7469 PUSH16 0x6e20746f2061206e6f6e2d636f6e7472 PUSH2 0x6374 SHA3 PUSH2 0x6464 PUSH19 0x657373a2646970667358221220b2d3ea7f9cfa XOR UNKNOWN_0xd6 UNKNOWN_0xcb DUP8 NOT UNKNOWN_0xdf MSTORE8 UNKNOWN_0xdf PUSH1 0xc8 PUSH12 0xe83693133df5894cc1933810 SWAP13 DIFFICULTY UNKNOWN_0x4b PUSH5 0x736f6c6343 STOP SMOD SDIV STOP CALLER