Contract: MainchainGatewayProxy
Etherscan label: bridge
Tag: Axie Infinity: Ronin Bridge
Malicious: no
Decompiled opcodes:
PUSH1 0x80 PUSH1 0x40 MSTORE CALLVALUE DUP1 ISZERO PUSH2 0x0010 JUMPI PUSH1 0x00 DUP1 REVERT JUMPDEST POP PUSH1 0x40 MLOAD PUSH2 0x0828 CODESIZE SUB DUP1 PUSH2 0x0828 DUP4 CODECOPY DUP2 DUP2 ADD PUSH1 0x40 MSTORE PUSH1 0x40 DUP2 LT ISZERO PUSH2 0x0033 JUMPI PUSH1 0x00 DUP1 REVERT JUMPDEST POP DUP1 MLOAD PUSH1 0x20 SWAP1 SWAP2 ADD MLOAD PUSH1 0x00 DUP1 SLOAD PUSH1 0x01 PUSH1 0x01 PUSH1 0xa0 SHL SUB NOT AND CALLER OR DUP1 DUP3 SSTORE PUSH1 0x40 MLOAD DUP5 SWAP3 PUSH1 0x01 PUSH1 0x01 PUSH1 0xa0 SHL SUB SWAP3 SWAP1 SWAP3 AND SWAP2 SWAP1 PUSH32 0x7e644d79422f17c01e4894b5f4f588d331ebfa28653d42ae832dc59e38c9798f SWAP1 DUP3 SWAP1 LOG3 PUSH2 0x0099 DUP2 PUSH1 0x01 PUSH1 0x01 PUSH1 0xe0 SHL SUB PUSH2 0x00c0 AND JUMP JUMPDEST POP PUSH1 0x02 DUP1 SLOAD PUSH1 0x01 PUSH1 0x01 PUSH1 0xa0 SHL SUB NOT AND PUSH1 0x01 PUSH1 0x01 PUSH1 0xa0 SHL SUB SWAP3 SWAP1 SWAP3 AND SWAP2 SWAP1 SWAP2 OR SWAP1 SSTORE POP PUSH2 0x0139 JUMP JUMPDEST PUSH1 0x00 SLOAD PUSH1 0x01 PUSH1 0x01 PUSH1 0xa0 SHL SUB AND CALLER EQ PUSH2 0x00d7 JUMPI PUSH1 0x00 DUP1 REVERT JUMPDEST PUSH1 0x01 PUSH1 0x01 PUSH1 0xa0 SHL SUB DUP2 AND PUSH2 0x00ea JUMPI PUSH1 0x00 DUP1 REVERT JUMPDEST PUSH1 0x01 DUP1 SLOAD PUSH1 0x01 PUSH1 0x01 PUSH1 0xa0 SHL SUB NOT AND PUSH1 0x01 PUSH1 0x01 PUSH1 0xa0 SHL SUB DUP4 DUP2 AND SWAP2 DUP3 OR SWAP3 DUP4 SWAP1 SSTORE PUSH1 0x40 MLOAD SWAP3 AND SWAP2 PUSH32 0xd32d24edea94f55e932d9a008afc425a8561462d1b1f57bc6e508e9a6b9509e1 SWAP1 PUSH1 0x00 SWAP1 LOG3 POP JUMP JUMPDEST PUSH2 0x06e0 DUP1 PUSH2 0x0148 PUSH1 0x00 CODECOPY PUSH1 0x00 RETURN UNKNOWN_0xfe PUSH1 0x80 PUSH1 0x40 MSTORE PUSH1 0x04 CALLDATASIZE LT PUSH2 0x00dd JUMPI PUSH1 0x00 CALLDATALOAD PUSH1 0xe0 SHR DUP1 PUSH4 0x7b103999 GT PUSH2 0x007f JUMPI DUP1 PUSH4 0x9a202d47 GT PUSH2 0x0059 JUMPI DUP1 PUSH4 0x9a202d47 EQ PUSH2 0x02b2 JUMPI DUP1 PUSH4 0xb02c43d0 EQ PUSH2 0x02c7 JUMPI DUP1 PUSH4 0xf851a440 EQ PUSH2 0x0331 JUMPI DUP1 PUSH4 0xfd840de2 EQ PUSH2 0x0346 JUMPI PUSH2 0x00dd JUMP JUMPDEST DUP1 PUSH4 0x7b103999 EQ PUSH2 0x0255 JUMPI DUP1 PUSH4 0x8456cb59 EQ PUSH2 0x026a JUMPI DUP1 PUSH4 0x8f283970 EQ PUSH2 0x027f JUMPI PUSH2 0x00dd JUMP JUMPDEST DUP1 PUSH4 0x4555d5c9 GT PUSH2 0x00bb JUMPI DUP1 PUSH4 0x4555d5c9 EQ PUSH2 0x0192 JUMPI DUP1 PUSH4 0x5c60da1b EQ PUSH2 0x01a7 JUMPI DUP1 PUSH4 0x5c975abb EQ PUSH2 0x01d8 JUMPI DUP1 PUSH4 0x5cc07076 EQ PUSH2 0x0201 JUMPI PUSH2 0x00dd JUMP JUMPDEST DUP1 PUSH4 0x1a5da6c8 EQ PUSH2 0x0121 JUMPI DUP1 PUSH4 0x2dfdf0b5 EQ PUSH2 0x0156 JUMPI DUP1 PUSH4 0x3f4ba83a EQ PUSH2 0x017d JUMPI JUMPDEST PUSH1 0x00 PUSH2 0x00e7 PUSH2 0x0379 JUMP JUMPDEST SWAP1 POP PUSH1 0x01 PUSH1 0x01 PUSH1 0xa0 SHL SUB DUP2 AND PUSH2 0x00fc JUMPI PUSH1 0x00 DUP1 REVERT JUMPDEST PUSH1 0x40 MLOAD CALLDATASIZE PUSH1 0x00 DUP3 CALLDATACOPY PUSH1 0x00 DUP1 CALLDATASIZE DUP4 DUP6 GAS DELEGATECALL RETURNDATASIZE DUP1 PUSH1 0x00 DUP5 RETURNDATACOPY DUP2 DUP1 ISZERO PUSH2 0x011d JUMPI DUP2 DUP5 RETURN JUMPDEST DUP2 DUP5 REVERT JUMPDEST CALLVALUE DUP1 ISZERO PUSH2 0x012d JUMPI PUSH1 0x00 DUP1 REVERT JUMPDEST POP PUSH2 0x0154 PUSH1 0x04 DUP1 CALLDATASIZE SUB PUSH1 0x20 DUP2 LT ISZERO PUSH2 0x0144 JUMPI PUSH1 0x00 DUP1 REVERT JUMPDEST POP CALLDATALOAD PUSH1 0x01 PUSH1 0x01 PUSH1 0xa0 SHL SUB AND PUSH2 0x0388 JUMP JUMPDEST STOP JUMPDEST CALLVALUE DUP1 ISZERO PUSH2 0x0162 JUMPI PUSH1 0x00 DUP1 REVERT JUMPDEST POP PUSH2 0x016b PUSH2 0x03c1 JUMP JUMPDEST PUSH1 0x40 DUP1 MLOAD SWAP2 DUP3 MSTORE MLOAD SWAP1 DUP2 SWAP1 SUB PUSH1 0x20 ADD SWAP1 RETURN JUMPDEST CALLVALUE DUP1 ISZERO PUSH2 0x0189 JUMPI PUSH1 0x00 DUP1 REVERT JUMPDEST POP PUSH2 0x0154 PUSH2 0x03c7 JUMP JUMPDEST CALLVALUE DUP1 ISZERO PUSH2 0x019e JUMPI PUSH1 0x00 DUP1 REVERT JUMPDEST POP PUSH2 0x016b PUSH2 0x042c JUMP JUMPDEST CALLVALUE DUP1 ISZERO PUSH2 0x01b3 JUMPI PUSH1 0x00 DUP1 REVERT JUMPDEST POP PUSH2 0x01bc PUSH2 0x0379 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 0x01e4 JUMPI PUSH1 0x00 DUP1 REVERT JUMPDEST POP PUSH2 0x01ed PUSH2 0x0431 JUMP JUMPDEST PUSH1 0x40 DUP1 MLOAD SWAP2 ISZERO ISZERO DUP3 MSTORE MLOAD SWAP1 DUP2 SWAP1 SUB PUSH1 0x20 ADD SWAP1 RETURN JUMPDEST CALLVALUE DUP1 ISZERO PUSH2 0x020d JUMPI PUSH1 0x00 DUP1 REVERT JUMPDEST POP PUSH2 0x022b PUSH1 0x04 DUP1 CALLDATASIZE SUB PUSH1 0x20 DUP2 LT ISZERO PUSH2 0x0224 JUMPI PUSH1 0x00 DUP1 REVERT JUMPDEST POP CALLDATALOAD PUSH2 0x0441 JUMP JUMPDEST PUSH1 0x40 DUP1 MLOAD PUSH1 0x01 PUSH1 0x01 PUSH1 0xa0 SHL SUB SWAP5 DUP6 AND DUP2 MSTORE SWAP3 SWAP1 SWAP4 AND PUSH1 0x20 DUP4 ADD MSTORE DUP2 DUP4 ADD MSTORE SWAP1 MLOAD SWAP1 DUP2 SWAP1 SUB PUSH1 0x60 ADD SWAP1 RETURN JUMPDEST CALLVALUE DUP1 ISZERO PUSH2 0x0261 JUMPI PUSH1 0x00 DUP1 REVERT JUMPDEST POP PUSH2 0x01bc PUSH2 0x046f JUMP JUMPDEST CALLVALUE DUP1 ISZERO PUSH2 0x0276 JUMPI PUSH1 0x00 DUP1 REVERT JUMPDEST POP PUSH2 0x0154 PUSH2 0x047e JUMP JUMPDEST CALLVALUE DUP1 ISZERO PUSH2 0x028b JUMPI PUSH1 0x00 DUP1 REVERT JUMPDEST POP PUSH2 0x0154 PUSH1 0x04 DUP1 CALLDATASIZE SUB PUSH1 0x20 DUP2 LT ISZERO PUSH2 0x02a2 JUMPI PUSH1 0x00 DUP1 REVERT JUMPDEST POP CALLDATALOAD PUSH1 0x01 PUSH1 0x01 PUSH1 0xa0 SHL SUB AND PUSH2 0x04ea JUMP JUMPDEST CALLVALUE DUP1 ISZERO PUSH2 0x02be JUMPI PUSH1 0x00 DUP1 REVERT JUMPDEST POP PUSH2 0x0154 PUSH2 0x056f JUMP JUMPDEST CALLVALUE DUP1 ISZERO PUSH2 0x02d3 JUMPI PUSH1 0x00 DUP1 REVERT JUMPDEST POP PUSH2 0x02f1 PUSH1 0x04 DUP1 CALLDATASIZE SUB PUSH1 0x20 DUP2 LT ISZERO PUSH2 0x02ea JUMPI PUSH1 0x00 DUP1 REVERT JUMPDEST POP CALLDATALOAD PUSH2 0x05ce JUMP JUMPDEST PUSH1 0x40 DUP1 MLOAD PUSH1 0x01 PUSH1 0x01 PUSH1 0xa0 SHL SUB SWAP7 DUP8 AND DUP2 MSTORE SWAP5 DUP7 AND PUSH1 0x20 DUP7 ADD MSTORE SWAP3 SWAP1 SWAP5 AND DUP4 DUP4 ADD MSTORE PUSH4 0xffffffff AND PUSH1 0x60 DUP4 ADD MSTORE PUSH1 0x80 DUP3 ADD SWAP3 SWAP1 SWAP3 MSTORE SWAP1 MLOAD SWAP1 DUP2 SWAP1 SUB PUSH1 0xa0 ADD SWAP1 RETURN JUMPDEST CALLVALUE DUP1 ISZERO PUSH2 0x033d JUMPI PUSH1 0x00 DUP1 REVERT JUMPDEST POP PUSH2 0x01bc PUSH2 0x0623 JUMP JUMPDEST CALLVALUE DUP1 ISZERO PUSH2 0x0352 JUMPI PUSH1 0x00 DUP1 REVERT JUMPDEST POP PUSH2 0x0154 PUSH1 0x04 DUP1 CALLDATASIZE SUB PUSH1 0x20 DUP2 LT ISZERO PUSH2 0x0369 JUMPI PUSH1 0x00 DUP1 REVERT JUMPDEST POP CALLDATALOAD PUSH1 0x01 PUSH1 0x01 PUSH1 0xa0 SHL SUB AND PUSH2 0x0632 JUMP JUMPDEST PUSH1 0x01 SLOAD PUSH1 0x01 PUSH1 0x01 PUSH1 0xa0 SHL SUB AND SWAP1 JUMP JUMPDEST PUSH1 0x00 SLOAD PUSH1 0x01 PUSH1 0x01 PUSH1 0xa0 SHL SUB AND CALLER EQ PUSH2 0x039f JUMPI PUSH1 0x00 DUP1 REVERT JUMPDEST PUSH1 0x02 DUP1 SLOAD PUSH1 0x01 PUSH1 0x01 PUSH1 0xa0 SHL SUB NOT AND PUSH1 0x01 PUSH1 0x01 PUSH1 0xa0 SHL SUB SWAP3 SWAP1 SWAP3 AND SWAP2 SWAP1 SWAP2 OR SWAP1 SSTORE JUMP JUMPDEST PUSH1 0x03 SLOAD DUP2 JUMP JUMPDEST PUSH1 0x00 SLOAD PUSH1 0x01 PUSH1 0x01 PUSH1 0xa0 SHL SUB AND CALLER EQ PUSH2 0x03de JUMPI PUSH1 0x00 DUP1 REVERT JUMPDEST PUSH1 0x01 SLOAD PUSH1 0x01 PUSH1 0xa0 SHL SWAP1 DIV PUSH1 0xff AND PUSH2 0x03f4 JUMPI PUSH1 0x00 DUP1 REVERT JUMPDEST PUSH1 0x01 DUP1 SLOAD PUSH1 0xff PUSH1 0xa0 SHL NOT AND SWAP1 SSTORE PUSH1 0x40 MLOAD PUSH32 0xa45f47fdea8a1efdd9029a5691c7f759c32b7c698632b563573e155625d16933 SWAP1 PUSH1 0x00 SWAP1 LOG1 JUMP JUMPDEST PUSH1 0x02 SWAP1 JUMP JUMPDEST PUSH1 0x01 SLOAD PUSH1 0x01 PUSH1 0xa0 SHL SWAP1 DIV PUSH1 0xff AND DUP2 JUMP JUMPDEST PUSH1 0x05 PUSH1 0x20 MSTORE PUSH1 0x00 SWAP1 DUP2 MSTORE PUSH1 0x40 SWAP1 SHA3 DUP1 SLOAD PUSH1 0x01 DUP3 ADD SLOAD PUSH1 0x02 SWAP1 SWAP3 ADD SLOAD PUSH1 0x01 PUSH1 0x01 PUSH1 0xa0 SHL SUB SWAP2 DUP3 AND SWAP3 SWAP1 SWAP2 AND SWAP1 DUP4 JUMP JUMPDEST PUSH1 0x02 SLOAD PUSH1 0x01 PUSH1 0x01 PUSH1 0xa0 SHL SUB AND DUP2 JUMP JUMPDEST PUSH1 0x00 SLOAD PUSH1 0x01 PUSH1 0x01 PUSH1 0xa0 SHL SUB AND CALLER EQ PUSH2 0x0495 JUMPI PUSH1 0x00 DUP1 REVERT JUMPDEST PUSH1 0x01 SLOAD PUSH1 0x01 PUSH1 0xa0 SHL SWAP1 DIV PUSH1 0xff AND ISZERO PUSH2 0x04ac JUMPI PUSH1 0x00 DUP1 REVERT JUMPDEST PUSH1 0x01 DUP1 SLOAD PUSH1 0xff PUSH1 0xa0 SHL NOT AND PUSH1 0x01 PUSH1 0xa0 SHL OR SWAP1 SSTORE PUSH1 0x40 MLOAD PUSH32 0x9e87fac88ff661f02d44f95383c817fece4bce600a3dab7a54406878b965e752 SWAP1 PUSH1 0x00 SWAP1 LOG1 JUMP JUMPDEST PUSH1 0x00 SLOAD PUSH1 0x01 PUSH1 0x01 PUSH1 0xa0 SHL SUB AND CALLER EQ PUSH2 0x0501 JUMPI PUSH1 0x00 DUP1 REVERT JUMPDEST PUSH1 0x01 PUSH1 0x01 PUSH1 0xa0 SHL SUB DUP2 AND PUSH2 0x0514 JUMPI PUSH1 0x00 DUP1 REVERT JUMPDEST PUSH1 0x00 DUP1 SLOAD PUSH1 0x40 MLOAD PUSH1 0x01 PUSH1 0x01 PUSH1 0xa0 SHL SUB DUP1 DUP6 AND SWAP4 SWAP3 AND SWAP2 PUSH32 0x7e644d79422f17c01e4894b5f4f588d331ebfa28653d42ae832dc59e38c9798f SWAP2 LOG3 PUSH1 0x00 DUP1 SLOAD PUSH1 0x01 PUSH1 0x01 PUSH1 0xa0 SHL SUB NOT AND PUSH1 0x01 PUSH1 0x01 PUSH1 0xa0 SHL SUB SWAP3 SWAP1 SWAP3 AND SWAP2 SWAP1 SWAP2 OR SWAP1 SSTORE JUMP JUMPDEST PUSH1 0x00 SLOAD PUSH1 0x01 PUSH1 0x01 PUSH1 0xa0 SHL SUB AND CALLER EQ PUSH2 0x0586 JUMPI PUSH1 0x00 DUP1 REVERT JUMPDEST PUSH1 0x00 DUP1 SLOAD PUSH1 0x40 MLOAD PUSH1 0x01 PUSH1 0x01 PUSH1 0xa0 SHL SUB SWAP1 SWAP2 AND SWAP2 PUSH32 0xa3b62bc36326052d97ea62d63c3d60308ed4c3ea8ac079dd8499f1e9c4f80c0f SWAP2 LOG2 PUSH1 0x00 DUP1 SLOAD PUSH1 0x01 PUSH1 0x01 PUSH1 0xa0 SHL SUB NOT AND SWAP1 SSTORE JUMP JUMPDEST PUSH1 0x04 DUP2 DUP2 SLOAD DUP2 LT PUSH2 0x05db JUMPI UNKNOWN_0xfe JUMPDEST PUSH1 0x00 SWAP2 DUP3 MSTORE PUSH1 0x20 SWAP1 SWAP2 SHA3 PUSH1 0x04 SWAP1 SWAP2 MUL ADD DUP1 SLOAD PUSH1 0x01 DUP3 ADD SLOAD PUSH1 0x02 DUP4 ADD SLOAD PUSH1 0x03 SWAP1 SWAP4 ADD SLOAD PUSH1 0x01 PUSH1 0x01 PUSH1 0xa0 SHL SUB SWAP3 DUP4 AND SWAP5 POP SWAP1 DUP3 AND SWAP3 SWAP2 DUP3 AND SWAP2 PUSH1 0x01 PUSH1 0xa0 SHL SWAP1 DIV PUSH4 0xffffffff AND SWAP1 DUP6 JUMP JUMPDEST PUSH1 0x00 SLOAD PUSH1 0x01 PUSH1 0x01 PUSH1 0xa0 SHL SUB AND DUP2 JUMP JUMPDEST PUSH1 0x00 SLOAD PUSH1 0x01 PUSH1 0x01 PUSH1 0xa0 SHL SUB AND CALLER EQ PUSH2 0x0649 JUMPI PUSH1 0x00 DUP1 REVERT JUMPDEST PUSH1 0x01 PUSH1 0x01 PUSH1 0xa0 SHL SUB DUP2 AND PUSH2 0x065c JUMPI PUSH1 0x00 DUP1 REVERT JUMPDEST PUSH1 0x01 DUP1 SLOAD PUSH1 0x01 PUSH1 0x01 PUSH1 0xa0 SHL SUB NOT AND PUSH1 0x01 PUSH1 0x01 PUSH1 0xa0 SHL SUB DUP4 DUP2 AND SWAP2 DUP3 OR SWAP3 DUP4 SWAP1 SSTORE PUSH1 0x40 MLOAD SWAP3 AND SWAP2 PUSH32 0xd32d24edea94f55e932d9a008afc425a8561462d1b1f57bc6e508e9a6b9509e1 SWAP1 PUSH1 0x00 SWAP1 LOG3 POP JUMP UNKNOWN_0xfe LOG2 PUSH6 0x627a7a723158 SHA3 UNKNOWN_0x24 DUP10 UNKNOWN_0xcc DUP8 UNKNOWN_0xc9 SELFBALANCE JUMP UNKNOWN_0xbc LOG4 UNKNOWN_0xcb CODESIZE UNKNOWN_0x2b BYTE LOG4 SWAP10 UNKNOWN_0xa9 PUSH10 0xd11bc469ee7a3912746a EQ UNKNOWN_0xc5 UNKNOWN_0xc7 DUP7 UNKNOWN_0x2a PUSH5 0x736f6c6343 STOP SDIV GT STOP ORIGIN STOP STOP STOP STOP STOP STOP STOP STOP STOP STOP STOP STOP DUP5 SMOD UNKNOWN_0xdc JUMPI PUSH20 0x9bcda7aa53ca6f12f82f9d51c2f21e0000000000 STOP STOP STOP STOP STOP STOP STOP CALLER UNKNOWN_0xe7 UNKNOWN_0x1e PUSH5 0x9abdc09f65 EXP UNKNOWN_0xd4 COINBASE CODECOPY INVALID_0x67 0x4828a2075ad2