Contract: MemoryPageFactRegistry
Etherscan label: layer-2
Tag: dYdX: Memory Page Fact Registry
Malicious: no
Decompiled opcodes:
PUSH1 0x80 PUSH1 0x40 MSTORE CALLVALUE DUP1 ISZERO PUSH2 0x0010 JUMPI PUSH1 0x00 DUP1 REVERT JUMPDEST POP PUSH2 0x0a13 DUP1 PUSH2 0x0020 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 0x004c JUMPI PUSH1 0x00 CALLDATALOAD PUSH1 0xe0 SHR DUP1 PUSH4 0x405a6362 EQ PUSH2 0x0051 JUMPI DUP1 PUSH4 0x5578ceae EQ PUSH2 0x00eb JUMPI DUP1 PUSH4 0x6a938567 EQ PUSH2 0x01a0 JUMPI DUP1 PUSH4 0xd6354e15 EQ PUSH2 0x01d1 JUMPI JUMPDEST PUSH1 0x00 DUP1 REVERT JUMPDEST PUSH2 0x00cd PUSH1 0x04 DUP1 CALLDATASIZE SUB PUSH1 0x80 DUP2 LT ISZERO PUSH2 0x0067 JUMPI PUSH1 0x00 DUP1 REVERT JUMPDEST DUP2 ADD SWAP1 PUSH1 0x20 DUP2 ADD DUP2 CALLDATALOAD PUSH5 0x0100000000 DUP2 GT ISZERO PUSH2 0x0082 JUMPI PUSH1 0x00 DUP1 REVERT JUMPDEST DUP3 ADD DUP4 PUSH1 0x20 DUP3 ADD GT ISZERO PUSH2 0x0094 JUMPI PUSH1 0x00 DUP1 REVERT JUMPDEST DUP1 CALLDATALOAD SWAP1 PUSH1 0x20 ADD SWAP2 DUP5 PUSH1 0x20 DUP4 MUL DUP5 ADD GT PUSH5 0x0100000000 DUP4 GT OR ISZERO PUSH2 0x00b6 JUMPI PUSH1 0x00 DUP1 REVERT JUMPDEST SWAP2 SWAP4 POP SWAP2 POP DUP1 CALLDATALOAD SWAP1 PUSH1 0x20 DUP2 ADD CALLDATALOAD SWAP1 PUSH1 0x40 ADD CALLDATALOAD PUSH2 0x01d9 JUMP JUMPDEST PUSH1 0x40 DUP1 MLOAD SWAP4 DUP5 MSTORE PUSH1 0x20 DUP5 ADD SWAP3 SWAP1 SWAP3 MSTORE DUP3 DUP3 ADD MSTORE MLOAD SWAP1 DUP2 SWAP1 SUB PUSH1 0x60 ADD SWAP1 RETURN JUMPDEST PUSH2 0x00cd PUSH1 0x04 DUP1 CALLDATASIZE SUB PUSH1 0xa0 DUP2 LT ISZERO PUSH2 0x0101 JUMPI PUSH1 0x00 DUP1 REVERT JUMPDEST DUP2 CALLDATALOAD SWAP2 SWAP1 DUP2 ADD SWAP1 PUSH1 0x40 DUP2 ADD PUSH1 0x20 DUP3 ADD CALLDATALOAD PUSH5 0x0100000000 DUP2 GT ISZERO PUSH2 0x0123 JUMPI PUSH1 0x00 DUP1 REVERT JUMPDEST DUP3 ADD DUP4 PUSH1 0x20 DUP3 ADD GT ISZERO PUSH2 0x0135 JUMPI PUSH1 0x00 DUP1 REVERT JUMPDEST DUP1 CALLDATALOAD SWAP1 PUSH1 0x20 ADD SWAP2 DUP5 PUSH1 0x20 DUP4 MUL DUP5 ADD GT PUSH5 0x0100000000 DUP4 GT OR ISZERO PUSH2 0x0157 JUMPI PUSH1 0x00 DUP1 REVERT JUMPDEST SWAP2 SWAP1 DUP1 DUP1 PUSH1 0x20 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 PUSH1 0x20 MUL DUP1 DUP3 DUP5 CALLDATACOPY PUSH1 0x00 SWAP3 ADD SWAP2 SWAP1 SWAP2 MSTORE POP SWAP3 SWAP6 POP POP DUP3 CALLDATALOAD SWAP4 POP POP POP PUSH1 0x20 DUP2 ADD CALLDATALOAD SWAP1 PUSH1 0x40 ADD CALLDATALOAD PUSH2 0x0422 JUMP JUMPDEST PUSH2 0x01bd PUSH1 0x04 DUP1 CALLDATASIZE SUB PUSH1 0x20 DUP2 LT ISZERO PUSH2 0x01b6 JUMPI PUSH1 0x00 DUP1 REVERT JUMPDEST POP CALLDATALOAD PUSH2 0x0821 JUMP JUMPDEST PUSH1 0x40 DUP1 MLOAD SWAP2 ISZERO ISZERO DUP3 MSTORE MLOAD SWAP1 DUP2 SWAP1 SUB PUSH1 0x20 ADD SWAP1 RETURN JUMPDEST PUSH2 0x01bd PUSH2 0x0832 JUMP JUMPDEST PUSH1 0x00 DUP1 DUP1 PUSH3 0x100000 DUP8 LT PUSH2 0x024e JUMPI PUSH1 0x40 DUP1 MLOAD PUSH32 0x08c379a000000000000000000000000000000000000000000000000000000000 DUP2 MSTORE PUSH1 0x20 PUSH1 0x04 DUP3 ADD MSTORE PUSH1 0x17 PUSH1 0x24 DUP3 ADD MSTORE PUSH32 0x546f6f206d616e79206d656d6f72792076616c7565732e000000000000000000 PUSH1 0x44 DUP3 ADD MSTORE SWAP1 MLOAD SWAP1 DUP2 SWAP1 SUB PUSH1 0x64 ADD SWAP1 REVERT JUMPDEST PUSH1 0x02 DUP8 MOD ISZERO PUSH2 0x02a8 JUMPI PUSH1 0x40 MLOAD PUSH32 0x08c379a000000000000000000000000000000000000000000000000000000000 DUP2 MSTORE PUSH1 0x04 ADD DUP1 DUP1 PUSH1 0x20 ADD DUP3 DUP2 SUB DUP3 MSTORE PUSH1 0x21 DUP2 MSTORE PUSH1 0x20 ADD DUP1 PUSH2 0x0985 PUSH1 0x21 SWAP2 CODECOPY PUSH1 0x40 ADD SWAP2 POP POP PUSH1 0x40 MLOAD DUP1 SWAP2 SUB SWAP1 REVERT JUMPDEST DUP4 DUP7 LT PUSH2 0x0316 JUMPI PUSH1 0x40 DUP1 MLOAD PUSH32 0x08c379a000000000000000000000000000000000000000000000000000000000 DUP2 MSTORE PUSH1 0x20 PUSH1 0x04 DUP3 ADD MSTORE PUSH1 0x13 PUSH1 0x24 DUP3 ADD MSTORE PUSH32 0x496e76616c69642076616c7565206f66207a2e00000000000000000000000000 PUSH1 0x44 DUP3 ADD MSTORE SWAP1 MLOAD SWAP1 DUP2 SWAP1 SUB PUSH1 0x64 ADD SWAP1 REVERT JUMPDEST DUP4 DUP6 LT PUSH2 0x0384 JUMPI PUSH1 0x40 DUP1 MLOAD PUSH32 0x08c379a000000000000000000000000000000000000000000000000000000000 DUP2 MSTORE PUSH1 0x20 PUSH1 0x04 DUP3 ADD MSTORE PUSH1 0x17 PUSH1 0x24 DUP3 ADD MSTORE PUSH32 0x496e76616c69642076616c7565206f6620616c7068612e000000000000000000 PUSH1 0x44 DUP3 ADD MSTORE SWAP1 MLOAD SWAP1 DUP2 SWAP1 SUB PUSH1 0x64 ADD SWAP1 REVERT JUMPDEST PUSH2 0x03c5 DUP9 DUP9 DUP1 DUP1 PUSH1 0x20 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 PUSH1 0x20 MUL DUP1 DUP3 DUP5 CALLDATACOPY PUSH1 0x00 SWAP3 ADD SWAP2 SWAP1 SWAP2 MSTORE POP DUP11 SWAP3 POP DUP10 SWAP2 POP DUP9 SWAP1 POP PUSH2 0x083b JUMP JUMPDEST PUSH1 0x40 DUP1 MLOAD DUP5 DUP2 MSTORE PUSH1 0x20 DUP2 ADD DUP5 SWAP1 MSTORE DUP1 DUP3 ADD DUP4 SWAP1 MSTORE SWAP1 MLOAD SWAP4 SWAP7 POP SWAP2 SWAP5 POP SWAP3 POP PUSH32 0x98fd0d40bd3e226c28fb29ff2d386bd8f9e19f2f8436441e6b854651d3b687b3 SWAP2 SWAP1 DUP2 SWAP1 SUB PUSH1 0x60 ADD SWAP1 LOG1 PUSH2 0x0417 DUP4 PUSH2 0x08ff JUMP JUMPDEST SWAP6 POP SWAP6 POP SWAP6 SWAP3 POP POP POP JUMP JUMPDEST PUSH1 0x00 DUP1 PUSH1 0x00 PUSH3 0x100000 DUP8 MLOAD LT PUSH2 0x0499 JUMPI PUSH1 0x40 DUP1 MLOAD PUSH32 0x08c379a000000000000000000000000000000000000000000000000000000000 DUP2 MSTORE PUSH1 0x20 PUSH1 0x04 DUP3 ADD MSTORE PUSH1 0x17 PUSH1 0x24 DUP3 ADD MSTORE PUSH32 0x546f6f206d616e79206d656d6f72792076616c7565732e000000000000000000 PUSH1 0x44 DUP3 ADD MSTORE SWAP1 MLOAD SWAP1 DUP2 SWAP1 SUB PUSH1 0x64 ADD SWAP1 REVERT JUMPDEST PUSH32 0x4000000000000000000000000000000000000000000000000000000000000000 DUP5 LT PUSH2 0x0511 JUMPI PUSH1 0x40 MLOAD PUSH32 0x08c379a000000000000000000000000000000000000000000000000000000000 DUP2 MSTORE PUSH1 0x04 ADD DUP1 DUP1 PUSH1 0x20 ADD DUP3 DUP2 SUB DUP3 MSTORE PUSH1 0x38 DUP2 MSTORE PUSH1 0x20 ADD DUP1 PUSH2 0x09a6 PUSH1 0x38 SWAP2 CODECOPY PUSH1 0x40 ADD SWAP2 POP POP PUSH1 0x40 MLOAD DUP1 SWAP2 SUB SWAP1 REVERT JUMPDEST DUP4 DUP7 LT PUSH2 0x057f JUMPI PUSH1 0x40 DUP1 MLOAD PUSH32 0x08c379a000000000000000000000000000000000000000000000000000000000 DUP2 MSTORE PUSH1 0x20 PUSH1 0x04 DUP3 ADD MSTORE PUSH1 0x13 PUSH1 0x24 DUP3 ADD MSTORE PUSH32 0x496e76616c69642076616c7565206f66207a2e00000000000000000000000000 PUSH1 0x44 DUP3 ADD MSTORE SWAP1 MLOAD SWAP1 DUP2 SWAP1 SUB PUSH1 0x64 ADD SWAP1 REVERT JUMPDEST DUP4 DUP6 LT PUSH2 0x05ed JUMPI PUSH1 0x40 DUP1 MLOAD PUSH32 0x08c379a000000000000000000000000000000000000000000000000000000000 DUP2 MSTORE PUSH1 0x20 PUSH1 0x04 DUP3 ADD MSTORE PUSH1 0x17 PUSH1 0x24 DUP3 ADD MSTORE PUSH32 0x496e76616c69642076616c7565206f6620616c7068612e000000000000000000 PUSH1 0x44 DUP3 ADD MSTORE SWAP1 MLOAD SWAP1 DUP2 SWAP1 SUB PUSH1 0x64 ADD SWAP1 REVERT JUMPDEST PUSH9 0x010000000000000000 DUP9 LT DUP1 ISZERO PUSH2 0x0604 JUMPI POP DUP4 DUP9 LT JUMPDEST PUSH2 0x066f JUMPI PUSH1 0x40 DUP1 MLOAD PUSH32 0x08c379a000000000000000000000000000000000000000000000000000000000 DUP2 MSTORE PUSH1 0x20 PUSH1 0x04 DUP3 ADD MSTORE PUSH1 0x1b PUSH1 0x24 DUP3 ADD MSTORE PUSH32 0x496e76616c69642076616c7565206f66207374617274416464722e0000000000 PUSH1 0x44 DUP3 ADD MSTORE SWAP1 MLOAD SWAP1 DUP2 SWAP1 SUB PUSH1 0x64 ADD SWAP1 REVERT JUMPDEST POP DUP6 MLOAD PUSH1 0x01 SWAP1 PUSH1 0x20 DUP9 ADD DUP8 DUP7 SUB DUP7 SWAP1 MOD PUSH1 0x07 DUP12 ADD DUP12 DUP5 ADD JUMPDEST DUP1 DUP3 LT ISZERO PUSH2 0x072f JUMPI DUP9 DUP10 DUP5 DUP12 DUP14 PUSH1 0x20 DUP10 ADD MLOAD MULMOD PUSH1 0x06 DUP7 SUB ADD ADD DUP6 DUP13 DUP15 DUP10 MLOAD MULMOD PUSH1 0x07 DUP8 SUB ADD ADD MULMOD DUP8 MULMOD SWAP6 POP DUP9 DUP10 DUP5 DUP12 DUP14 PUSH1 0x60 DUP10 ADD MLOAD MULMOD PUSH1 0x04 DUP7 SUB ADD ADD DUP6 DUP13 DUP15 PUSH1 0x40 DUP11 ADD MLOAD MULMOD PUSH1 0x05 DUP8 SUB ADD ADD MULMOD DUP8 MULMOD SWAP6 POP DUP9 DUP10 DUP5 DUP12 DUP14 PUSH1 0xa0 DUP10 ADD MLOAD MULMOD PUSH1 0x02 DUP7 SUB ADD ADD DUP6 DUP13 DUP15 PUSH1 0x80 DUP11 ADD MLOAD MULMOD PUSH1 0x03 DUP8 SUB ADD ADD MULMOD DUP8 MULMOD SWAP6 POP DUP9 DUP10 DUP5 DUP12 DUP14 PUSH1 0xe0 DUP10 ADD MLOAD MULMOD DUP6 ADD ADD DUP6 DUP13 DUP15 PUSH1 0xc0 DUP11 ADD MLOAD MULMOD PUSH1 0x01 DUP8 SUB ADD ADD MULMOD DUP8 MULMOD SWAP6 POP PUSH2 0x0100 DUP5 ADD SWAP4 POP PUSH1 0x08 DUP3 ADD SWAP2 POP PUSH2 0x0687 JUMP JUMPDEST PUSH1 0x07 DUP3 SUB SWAP2 POP JUMPDEST DUP1 DUP3 LT ISZERO PUSH2 0x0763 JUMPI DUP9 DUP10 DUP12 DUP7 MLOAD MULMOD DUP4 ADDMOD SWAP3 POP DUP9 DUP4 DUP11 SUB DUP13 ADD DUP8 MULMOD SWAP6 POP PUSH1 0x20 DUP5 ADD SWAP4 POP PUSH1 0x01 DUP3 ADD SWAP2 POP PUSH2 0x0736 JUMP JUMPDEST POP POP POP PUSH1 0x20 DUP1 DUP4 MUL DUP11 DUP3 ADD SHA3 PUSH1 0x40 DUP1 MLOAD PUSH1 0x01 DUP2 DUP6 ADD MSTORE DUP1 DUP3 ADD DUP11 SWAP1 MSTORE PUSH1 0x60 DUP2 ADD DUP7 SWAP1 MSTORE PUSH1 0x80 DUP2 ADD DUP13 SWAP1 MSTORE PUSH1 0xa0 DUP2 ADD DUP12 SWAP1 MSTORE PUSH1 0xc0 DUP2 ADD DUP8 SWAP1 MSTORE PUSH1 0xe0 DUP2 ADD DUP4 SWAP1 MSTORE PUSH2 0x0100 DUP1 DUP3 ADD DUP16 SWAP1 MSTORE DUP3 MLOAD DUP1 DUP4 SUB SWAP1 SWAP2 ADD DUP2 MSTORE PUSH2 0x0120 DUP3 ADD DUP1 DUP5 MSTORE DUP2 MLOAD SWAP2 SWAP1 SWAP6 ADD SHA3 SWAP4 DUP5 SWAP1 MSTORE PUSH2 0x0140 DUP2 ADD DUP4 SWAP1 MSTORE PUSH2 0x0160 DUP2 ADD DUP8 SWAP1 MSTORE SWAP1 MLOAD SWAP3 SWAP8 POP SWAP1 SWAP6 POP PUSH32 0xb8b9c39aeba1cfd98c38dfeebe11c2f7e02b334cbe9f05f22b442a5d9c1ea0c5 SWAP3 POP DUP2 SWAP1 SUB PUSH2 0x0180 ADD SWAP1 LOG1 PUSH2 0x0815 DUP5 PUSH2 0x08ff JUMP JUMPDEST POP SWAP6 POP SWAP6 POP SWAP6 SWAP3 POP POP POP JUMP JUMPDEST PUSH1 0x00 PUSH2 0x082c DUP3 PUSH2 0x096f JUMP JUMPDEST SWAP3 SWAP2 POP POP JUMP JUMPDEST PUSH1 0x01 SLOAD PUSH1 0xff AND SWAP1 JUMP JUMPDEST PUSH1 0x00 DUP1 PUSH1 0x00 DUP1 PUSH1 0x02 DUP9 MLOAD DUP2 PUSH2 0x084c JUMPI UNKNOWN_0xfe JUMPDEST DIV SWAP1 POP PUSH1 0x01 SWAP2 POP PUSH1 0x20 DUP9 ADD PUSH1 0x40 DUP3 MUL DUP2 ADD DUP2 JUMPDEST DUP2 DUP2 LT ISZERO PUSH2 0x0886 JUMPI DUP8 DUP9 DUP11 PUSH1 0x20 DUP5 ADD MLOAD MULMOD DUP3 MLOAD ADDMOD DUP9 DUP2 DUP11 SUB DUP13 ADD DUP8 MULMOD SWAP6 POP POP PUSH1 0x40 ADD PUSH2 0x085f JUMP JUMPDEST POP POP DUP2 PUSH1 0x40 MUL DUP2 SHA3 SWAP4 POP POP PUSH1 0x00 DUP6 DUP3 DUP10 DUP10 DUP7 DUP9 PUSH1 0x00 PUSH1 0x40 MLOAD PUSH1 0x20 ADD DUP1 DUP10 DUP2 MSTORE PUSH1 0x20 ADD DUP9 DUP2 MSTORE PUSH1 0x20 ADD DUP8 DUP2 MSTORE PUSH1 0x20 ADD DUP7 DUP2 MSTORE PUSH1 0x20 ADD DUP6 DUP2 MSTORE PUSH1 0x20 ADD DUP5 DUP2 MSTORE PUSH1 0x20 ADD DUP4 DUP2 MSTORE PUSH1 0x20 ADD DUP3 DUP2 MSTORE PUSH1 0x20 ADD SWAP9 POP POP POP POP POP POP POP POP POP PUSH1 0x40 MLOAD PUSH1 0x20 DUP2 DUP4 SUB SUB DUP2 MSTORE SWAP1 PUSH1 0x40 MSTORE DUP1 MLOAD SWAP1 PUSH1 0x20 ADD SHA3 SWAP4 POP POP SWAP5 POP SWAP5 POP SWAP5 SWAP2 POP POP JUMP JUMPDEST PUSH1 0x00 DUP2 DUP2 MSTORE PUSH1 0x20 DUP2 SWAP1 MSTORE PUSH1 0x40 SWAP1 SHA3 DUP1 SLOAD PUSH32 0xffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff00 AND PUSH1 0x01 SWAP1 DUP2 OR SWAP1 SWAP2 SSTORE SLOAD PUSH1 0xff AND PUSH2 0x096c JUMPI PUSH1 0x01 DUP1 SLOAD PUSH32 0xffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff00 AND DUP2 OR SWAP1 SSTORE JUMPDEST POP JUMP JUMPDEST PUSH1 0x00 SWAP1 DUP2 MSTORE PUSH1 0x20 DUP2 SWAP1 MSTORE PUSH1 0x40 SWAP1 SHA3 SLOAD PUSH1 0xff AND SWAP1 JUMP UNKNOWN_0xfe MSTORE8 PUSH10 0x7a65206f66206d656d6f PUSH19 0x795061697273206d757374206265206576656e UNKNOWN_0x2e PUSH17 0x72696d6520697320746f6f206269672066 PUSH16 0x7220746865206f7074696d697a617469 PUSH16 0x6e7320696e20746869732066756e6374 PUSH10 0x6f6e2ea2646970667358 UNKNOWN_0x22 SLT SHA3 PUSH12 0x4b867bf7b80f3af70565d01d UNKNOWN_0x5c UNKNOWN_0xc UNKNOWN_0x5d INVALID_0x7f 0x338ebb385aa41d6897fa23766bfdf564736f6c634300060b0033