Contract: HOP
Etherscan label: phish-hack
Tag: HopProtocol (HOP)
Malicious: no
Decompiled opcodes:
PUSH1 0x80 PUSH1 0x40 MSTORE PUSH1 0x40 MLOAD PUSH2 0x06f9 CODESIZE SUB DUP1 PUSH2 0x06f9 DUP4 CODECOPY DUP2 ADD PUSH1 0x40 DUP2 SWAP1 MSTORE PUSH2 0x0022 SWAP2 PUSH2 0x02f7 JUMP JUMPDEST PUSH2 0x004d PUSH1 0x01 PUSH32 0x360894a13ba1a3210667c828492db98dca3e2076cc3735a920a3ca505d382bbd PUSH2 0x035a JUMP JUMPDEST PUSH1 0x00 DUP1 MLOAD PUSH1 0x20 PUSH2 0x06b2 DUP4 CODECOPY DUP2 MLOAD SWAP2 MSTORE EQ PUSH2 0x0069 JUMPI PUSH2 0x0069 PUSH2 0x037f JUMP JUMPDEST PUSH1 0x00 DUP3 DUP1 PUSH1 0x20 ADD SWAP1 MLOAD DUP2 ADD SWAP1 PUSH2 0x007f SWAP2 SWAP1 PUSH2 0x0395 JUMP JUMPDEST SWAP1 POP DUP1 PUSH2 0x00a6 PUSH1 0x00 DUP1 MLOAD PUSH1 0x20 PUSH2 0x06b2 DUP4 CODECOPY DUP2 MLOAD SWAP2 MSTORE PUSH1 0x00 SHL PUSH2 0x00e9 PUSH1 0x20 SHL PUSH2 0x004c OR PUSH1 0x20 SHR JUMP JUMPDEST 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 DUP2 MLOAD ISZERO PUSH2 0x00e1 JUMPI PUSH2 0x00df DUP2 DUP4 PUSH2 0x00ec PUSH1 0x20 SHL PUSH2 0x004f OR PUSH1 0x20 SHR JUMP JUMPDEST POP JUMPDEST POP POP POP PUSH2 0x040d JUMP JUMPDEST SWAP1 JUMP JUMPDEST PUSH1 0x60 PUSH2 0x0111 DUP4 DUP4 PUSH1 0x40 MLOAD DUP1 PUSH1 0x60 ADD PUSH1 0x40 MSTORE DUP1 PUSH1 0x27 DUP2 MSTORE PUSH1 0x20 ADD PUSH2 0x06d2 PUSH1 0x27 SWAP2 CODECOPY PUSH2 0x0118 JUMP JUMPDEST SWAP4 SWAP3 POP POP POP JUMP JUMPDEST PUSH1 0x60 PUSH1 0x01 PUSH1 0x01 PUSH1 0xa0 SHL SUB DUP5 AND EXTCODESIZE PUSH2 0x0185 JUMPI PUSH1 0x40 MLOAD PUSH3 0x461bcd PUSH1 0xe5 SHL DUP2 MSTORE PUSH1 0x20 PUSH1 0x04 DUP3 ADD MSTORE PUSH1 0x26 PUSH1 0x24 DUP3 ADD MSTORE PUSH32 0x416464726573733a2064656c65676174652063616c6c20746f206e6f6e2d636f PUSH1 0x44 DUP3 ADD MSTORE PUSH6 0x1b9d1c9858dd PUSH1 0xd2 SHL PUSH1 0x64 DUP3 ADD MSTORE PUSH1 0x84 ADD JUMPDEST PUSH1 0x40 MLOAD DUP1 SWAP2 SUB SWAP1 REVERT JUMPDEST PUSH1 0x00 DUP1 DUP6 PUSH1 0x01 PUSH1 0x01 PUSH1 0xa0 SHL SUB AND DUP6 PUSH1 0x40 MLOAD PUSH2 0x01a0 SWAP2 SWAP1 PUSH2 0x03be JUMP JUMPDEST PUSH1 0x00 PUSH1 0x40 MLOAD DUP1 DUP4 SUB DUP2 DUP6 GAS DELEGATECALL SWAP2 POP POP RETURNDATASIZE DUP1 PUSH1 0x00 DUP2 EQ PUSH2 0x01db 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 0x01e0 JUMP JUMPDEST PUSH1 0x60 SWAP2 POP JUMPDEST POP SWAP1 SWAP3 POP SWAP1 POP PUSH2 0x01f1 DUP3 DUP3 DUP7 PUSH2 0x01fb JUMP JUMPDEST SWAP7 SWAP6 POP POP POP POP POP POP JUMP JUMPDEST PUSH1 0x60 DUP4 ISZERO PUSH2 0x020a JUMPI POP DUP2 PUSH2 0x0111 JUMP JUMPDEST DUP3 MLOAD ISZERO PUSH2 0x021a JUMPI DUP3 MLOAD DUP1 DUP5 PUSH1 0x20 ADD REVERT JUMPDEST DUP2 PUSH1 0x40 MLOAD PUSH3 0x461bcd PUSH1 0xe5 SHL DUP2 MSTORE PUSH1 0x04 ADD PUSH2 0x017c SWAP2 SWAP1 PUSH2 0x03da JUMP JUMPDEST PUSH4 0x4e487b71 PUSH1 0xe0 SHL PUSH1 0x00 MSTORE PUSH1 0x41 PUSH1 0x04 MSTORE PUSH1 0x24 PUSH1 0x00 REVERT JUMPDEST PUSH1 0x00 JUMPDEST DUP4 DUP2 LT ISZERO PUSH2 0x0265 JUMPI DUP2 DUP2 ADD MLOAD DUP4 DUP3 ADD MSTORE PUSH1 0x20 ADD PUSH2 0x024d JUMP JUMPDEST DUP4 DUP2 GT ISZERO PUSH2 0x0274 JUMPI PUSH1 0x00 DUP5 DUP5 ADD MSTORE JUMPDEST POP POP POP POP JUMP JUMPDEST PUSH1 0x00 DUP3 PUSH1 0x1f DUP4 ADD SLT PUSH2 0x028b JUMPI PUSH1 0x00 DUP1 REVERT JUMPDEST DUP2 MLOAD PUSH1 0x01 PUSH1 0x01 PUSH1 0x40 SHL SUB DUP1 DUP3 GT ISZERO PUSH2 0x02a5 JUMPI PUSH2 0x02a5 PUSH2 0x0234 JUMP JUMPDEST PUSH1 0x40 MLOAD PUSH1 0x1f DUP4 ADD PUSH1 0x1f NOT SWAP1 DUP2 AND PUSH1 0x3f ADD AND DUP2 ADD SWAP1 DUP3 DUP3 GT DUP2 DUP4 LT OR ISZERO PUSH2 0x02cd JUMPI PUSH2 0x02cd PUSH2 0x0234 JUMP JUMPDEST DUP2 PUSH1 0x40 MSTORE DUP4 DUP2 MSTORE DUP7 PUSH1 0x20 DUP6 DUP9 ADD ADD GT ISZERO PUSH2 0x02e6 JUMPI PUSH1 0x00 DUP1 REVERT JUMPDEST PUSH2 0x01f1 DUP5 PUSH1 0x20 DUP4 ADD PUSH1 0x20 DUP10 ADD PUSH2 0x024a JUMP JUMPDEST PUSH1 0x00 DUP1 PUSH1 0x40 DUP4 DUP6 SUB SLT ISZERO PUSH2 0x030a JUMPI PUSH1 0x00 DUP1 REVERT JUMPDEST DUP3 MLOAD PUSH1 0x01 PUSH1 0x01 PUSH1 0x40 SHL SUB DUP1 DUP3 GT ISZERO PUSH2 0x0321 JUMPI PUSH1 0x00 DUP1 REVERT JUMPDEST PUSH2 0x032d DUP7 DUP4 DUP8 ADD PUSH2 0x027a JUMP JUMPDEST SWAP4 POP PUSH1 0x20 DUP6 ADD MLOAD SWAP2 POP DUP1 DUP3 GT ISZERO PUSH2 0x0343 JUMPI PUSH1 0x00 DUP1 REVERT JUMPDEST POP PUSH2 0x0350 DUP6 DUP3 DUP7 ADD PUSH2 0x027a JUMP JUMPDEST SWAP2 POP POP SWAP3 POP SWAP3 SWAP1 POP JUMP JUMPDEST PUSH1 0x00 DUP3 DUP3 LT ISZERO PUSH2 0x037a JUMPI PUSH4 0x4e487b71 PUSH1 0xe0 SHL PUSH1 0x00 MSTORE PUSH1 0x11 PUSH1 0x04 MSTORE PUSH1 0x24 PUSH1 0x00 REVERT JUMPDEST POP SUB SWAP1 JUMP JUMPDEST PUSH4 0x4e487b71 PUSH1 0xe0 SHL PUSH1 0x00 MSTORE PUSH1 0x01 PUSH1 0x04 MSTORE PUSH1 0x24 PUSH1 0x00 REVERT JUMPDEST PUSH1 0x00 PUSH1 0x20 DUP3 DUP5 SUB SLT ISZERO PUSH2 0x03a7 JUMPI PUSH1 0x00 DUP1 REVERT JUMPDEST DUP2 MLOAD PUSH1 0x01 PUSH1 0x01 PUSH1 0xa0 SHL SUB DUP2 AND DUP2 EQ PUSH2 0x0111 JUMPI PUSH1 0x00 DUP1 REVERT JUMPDEST PUSH1 0x00 DUP3 MLOAD PUSH2 0x03d0 DUP2 DUP5 PUSH1 0x20 DUP8 ADD PUSH2 0x024a JUMP JUMPDEST SWAP2 SWAP1 SWAP2 ADD SWAP3 SWAP2 POP POP JUMP JUMPDEST PUSH1 0x20 DUP2 MSTORE PUSH1 0x00 DUP3 MLOAD DUP1 PUSH1 0x20 DUP5 ADD MSTORE PUSH2 0x03f9 DUP2 PUSH1 0x40 DUP6 ADD PUSH1 0x20 DUP8 ADD PUSH2 0x024a JUMP JUMPDEST PUSH1 0x1f ADD PUSH1 0x1f NOT AND SWAP2 SWAP1 SWAP2 ADD PUSH1 0x40 ADD SWAP3 SWAP2 POP POP JUMP JUMPDEST PUSH2 0x0296 DUP1 PUSH2 0x041c PUSH1 0x00 CODECOPY PUSH1 0x00 RETURN UNKNOWN_0xfe PUSH1 0x80 PUSH1 0x40 MSTORE CALLDATASIZE PUSH2 0x0013 JUMPI PUSH2 0x0011 PUSH2 0x0017 JUMP JUMPDEST STOP JUMPDEST PUSH2 0x0011 JUMPDEST PUSH2 0x004a PUSH32 0x360894a13ba1a3210667c828492db98dca3e2076cc3735a920a3ca505d382bbc SLOAD PUSH1 0x01 PUSH1 0x01 PUSH1 0xa0 SHL SUB AND PUSH2 0x007b JUMP JUMPDEST JUMP JUMPDEST SWAP1 JUMP JUMPDEST PUSH1 0x60 PUSH2 0x0074 DUP4 DUP4 PUSH1 0x40 MLOAD DUP1 PUSH1 0x60 ADD PUSH1 0x40 MSTORE DUP1 PUSH1 0x27 DUP2 MSTORE PUSH1 0x20 ADD PUSH2 0x023a PUSH1 0x27 SWAP2 CODECOPY PUSH2 0x009f JUMP JUMPDEST SWAP4 SWAP3 POP POP POP 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 0x009a JUMPI RETURNDATASIZE PUSH1 0x00 RETURN JUMPDEST RETURNDATASIZE PUSH1 0x00 REVERT JUMPDEST PUSH1 0x60 PUSH1 0x01 PUSH1 0x01 PUSH1 0xa0 SHL SUB DUP5 AND EXTCODESIZE PUSH2 0x010c JUMPI PUSH1 0x40 MLOAD PUSH3 0x461bcd PUSH1 0xe5 SHL DUP2 MSTORE PUSH1 0x20 PUSH1 0x04 DUP3 ADD MSTORE PUSH1 0x26 PUSH1 0x24 DUP3 ADD MSTORE PUSH32 0x416464726573733a2064656c65676174652063616c6c20746f206e6f6e2d636f PUSH1 0x44 DUP3 ADD MSTORE PUSH6 0x1b9d1c9858dd PUSH1 0xd2 SHL PUSH1 0x64 DUP3 ADD MSTORE PUSH1 0x84 ADD JUMPDEST PUSH1 0x40 MLOAD DUP1 SWAP2 SUB SWAP1 REVERT JUMPDEST PUSH1 0x00 DUP1 DUP6 PUSH1 0x01 PUSH1 0x01 PUSH1 0xa0 SHL SUB AND DUP6 PUSH1 0x40 MLOAD PUSH2 0x0127 SWAP2 SWAP1 PUSH2 0x01ea JUMP JUMPDEST PUSH1 0x00 PUSH1 0x40 MLOAD DUP1 DUP4 SUB DUP2 DUP6 GAS DELEGATECALL SWAP2 POP POP RETURNDATASIZE DUP1 PUSH1 0x00 DUP2 EQ PUSH2 0x0162 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 0x0167 JUMP JUMPDEST PUSH1 0x60 SWAP2 POP JUMPDEST POP SWAP2 POP SWAP2 POP PUSH2 0x0177 DUP3 DUP3 DUP7 PUSH2 0x0181 JUMP JUMPDEST SWAP7 SWAP6 POP POP POP POP POP POP JUMP JUMPDEST PUSH1 0x60 DUP4 ISZERO PUSH2 0x0190 JUMPI POP DUP2 PUSH2 0x0074 JUMP JUMPDEST DUP3 MLOAD ISZERO PUSH2 0x01a0 JUMPI DUP3 MLOAD DUP1 DUP5 PUSH1 0x20 ADD REVERT JUMPDEST DUP2 PUSH1 0x40 MLOAD PUSH3 0x461bcd PUSH1 0xe5 SHL DUP2 MSTORE PUSH1 0x04 ADD PUSH2 0x0103 SWAP2 SWAP1 PUSH2 0x0206 JUMP JUMPDEST PUSH1 0x00 JUMPDEST DUP4 DUP2 LT ISZERO PUSH2 0x01d5 JUMPI DUP2 DUP2 ADD MLOAD DUP4 DUP3 ADD MSTORE PUSH1 0x20 ADD PUSH2 0x01bd JUMP JUMPDEST DUP4 DUP2 GT ISZERO PUSH2 0x01e4 JUMPI PUSH1 0x00 DUP5 DUP5 ADD MSTORE JUMPDEST POP POP POP POP JUMP JUMPDEST PUSH1 0x00 DUP3 MLOAD PUSH2 0x01fc DUP2 DUP5 PUSH1 0x20 DUP8 ADD PUSH2 0x01ba JUMP JUMPDEST SWAP2 SWAP1 SWAP2 ADD SWAP3 SWAP2 POP POP JUMP JUMPDEST PUSH1 0x20 DUP2 MSTORE PUSH1 0x00 DUP3 MLOAD DUP1 PUSH1 0x20 DUP5 ADD MSTORE PUSH2 0x0225 DUP2 PUSH1 0x40 DUP6 ADD PUSH1 0x20 DUP8 ADD PUSH2 0x01ba JUMP JUMPDEST PUSH1 0x1f ADD PUSH1 0x1f NOT AND SWAP2 SWAP1 SWAP2 ADD PUSH1 0x40 ADD SWAP3 SWAP2 POP POP JUMP UNKNOWN_0xfe COINBASE PUSH5 0x6472657373 GASPRICE SHA3 PUSH13 0x6f772d6c6576656c2064656c65 PUSH8 0x6174652063616c6c SHA3 PUSH7 0x61696c6564a264 PUSH10 0x706673582212205b10f6 PUSH28 0xd619772bac6c9162141a0d41e93290e10cb715b8eddcf638564220b2 PUSH5 0x736f6c6343 STOP ADDMOD UNKNOWN_0xd STOP CALLER CALLDATASIZE ADDMOD SWAP5 LOG1 EXTCODESIZE LOG1 LOG3 UNKNOWN_0x21 MOD PUSH8 0xc828492db98dca3e SHA3 PUSH23 0xcc3735a920a3ca505d382bbc416464726573733a206c6f PUSH24 0x2d6c6576656c2064656c65676174652063616c6c20666169 PUSH13 0x65640000000000000000000000 STOP STOP STOP STOP STOP STOP STOP STOP STOP STOP STOP STOP STOP STOP STOP STOP STOP STOP STOP STOP BLOCKHASH 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 STOP STOP STOP STOP DUP1 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 STOP STOP STOP STOP SHA3 STOP STOP STOP STOP STOP STOP STOP STOP STOP STOP STOP STOP DUP8 UNKNOWN_0xfe SWAP15 UNKNOWN_0xeb CALLCODE UNKNOWN_0xe3 UNKNOWN_0xca SDIV UNKNOWN_0xe3 SLT UNKNOWN_0xc2 SWAP3 SHR UNKNOWN_0xac CALLDATALOAD UNKNOWN_0xdd SWAP15 UNKNOWN_0xc9 PUSH28 0x9e000000000000000000000000000000000000000000000000000000 STOP STOP STOP ADD DIV UNKNOWN_0xbd GASPRICE SGT UNKNOWN_0xf6 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 STOP STOP STOP STOP DUP1 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 STOP STOP STOP STOP UNKNOWN_0xc0 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 STOP EXTCODESIZE SWAP11 UNKNOWN_0xca STOP STOP STOP STOP STOP STOP STOP STOP STOP STOP STOP STOP STOP UNKNOWN_0xec DUP6 STATICCALL MLOAD UNKNOWN_0xc8 UNKNOWN_0x24 POP GASPRICE LOG4 UNKNOWN_0x2b UNKNOWN_0xb6 PUSH2 0x2fa2 LOG4 MLOAD PUSH10 0xe82beb00000000000000 STOP STOP STOP STOP STOP STOP STOP STOP STOP STOP STOP STOP STOP STOP STOP STOP STOP STOP STOP STOP STOP STOP STOP STOP SIGNEXTEND BASEFEE PUSH16 0x7050726f746f636f6c00000000000000 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 STOP STOP STOP STOP STOP STOP STOP STOP STOP STOP STOP STOP STOP STOP STOP STOP STOP STOP SUB BASEFEE UNKNOWN_0x4f POP 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 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 STOP STOP STOP