Contract: AdminUpgradeabilityProxy
Etherscan label: ribbon-finance
Tag: Ribbon Finance: ETH Put-Selling yvUSDC Vault V2
Malicious: no
Decompiled opcodes:
PUSH1 0x80 PUSH1 0x40 MSTORE PUSH1 0x40 MLOAD PUSH2 0x08cc CODESIZE SUB DUP1 PUSH2 0x08cc DUP4 CODECOPY DUP2 DUP2 ADD PUSH1 0x40 MSTORE PUSH1 0x60 DUP2 LT ISZERO PUSH2 0x0026 JUMPI PUSH1 0x00 DUP1 REVERT JUMPDEST DUP2 MLOAD PUSH1 0x20 DUP4 ADD MLOAD PUSH1 0x40 DUP1 DUP6 ADD DUP1 MLOAD SWAP2 MLOAD SWAP4 SWAP6 SWAP3 SWAP5 DUP4 ADD SWAP3 SWAP2 DUP5 PUSH5 0x0100000000 DUP3 GT ISZERO PUSH2 0x0051 JUMPI PUSH1 0x00 DUP1 REVERT JUMPDEST SWAP1 DUP4 ADD SWAP1 PUSH1 0x20 DUP3 ADD DUP6 DUP2 GT ISZERO PUSH2 0x0066 JUMPI PUSH1 0x00 DUP1 REVERT JUMPDEST DUP3 MLOAD PUSH5 0x0100000000 DUP2 GT DUP3 DUP3 ADD DUP9 LT OR ISZERO PUSH2 0x0080 JUMPI PUSH1 0x00 DUP1 REVERT JUMPDEST DUP3 MSTORE POP DUP2 MLOAD PUSH1 0x20 SWAP2 DUP3 ADD SWAP3 SWAP1 SWAP2 ADD SWAP1 DUP1 DUP4 DUP4 PUSH1 0x00 JUMPDEST DUP4 DUP2 LT ISZERO PUSH2 0x00ad JUMPI DUP2 DUP2 ADD MLOAD DUP4 DUP3 ADD MSTORE PUSH1 0x20 ADD PUSH2 0x0095 JUMP JUMPDEST POP POP POP POP SWAP1 POP SWAP1 DUP2 ADD SWAP1 PUSH1 0x1f AND DUP1 ISZERO PUSH2 0x00da JUMPI DUP1 DUP3 SUB DUP1 MLOAD PUSH1 0x01 DUP4 PUSH1 0x20 SUB PUSH2 0x0100 EXP SUB NOT AND DUP2 MSTORE PUSH1 0x20 ADD SWAP2 POP JUMPDEST POP PUSH1 0x40 MSTORE POP DUP5 SWAP2 POP DUP3 SWAP1 POP PUSH2 0x00ee DUP3 PUSH2 0x01bf JUMP JUMPDEST DUP1 MLOAD ISZERO PUSH2 0x01a6 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 0x0131 JUMPI DUP1 MLOAD DUP3 MSTORE PUSH1 0x1f NOT SWAP1 SWAP3 ADD SWAP2 PUSH1 0x20 SWAP2 DUP3 ADD SWAP2 ADD PUSH2 0x0112 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 0x0191 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 0x0196 JUMP JUMPDEST PUSH1 0x60 SWAP2 POP JUMPDEST POP POP SWAP1 POP DUP1 PUSH2 0x01a4 JUMPI PUSH1 0x00 DUP1 REVERT JUMPDEST POP JUMPDEST POP PUSH2 0x01ae SWAP1 POP JUMP JUMPDEST PUSH2 0x01b7 DUP3 PUSH2 0x0231 JUMP JUMPDEST POP POP POP PUSH2 0x025b JUMP JUMPDEST PUSH2 0x01d2 DUP2 PUSH2 0x0255 PUSH1 0x20 SHL PUSH2 0x03ae OR PUSH1 0x20 SHR JUMP JUMPDEST PUSH2 0x020d 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 0x0891 PUSH1 0x3b SWAP2 CODECOPY PUSH1 0x40 ADD SWAP2 POP POP PUSH1 0x40 MLOAD DUP1 SWAP2 SUB SWAP1 REVERT JUMPDEST PUSH32 0x360894a13ba1a3210667c828492db98dca3e2076cc3735a920a3ca505d382bbc SSTORE JUMP JUMPDEST PUSH32 0xb53127684a568b3173ae13b9f8a6016e243e63b6e8ee1178d6a717850b5d6103 SSTORE JUMP JUMPDEST EXTCODESIZE ISZERO ISZERO SWAP1 JUMP JUMPDEST PUSH2 0x0627 DUP1 PUSH2 0x026a PUSH1 0x00 CODECOPY PUSH1 0x00 RETURN UNKNOWN_0xfe PUSH1 0x80 PUSH1 0x40 MSTORE PUSH1 0x04 CALLDATASIZE LT PUSH2 0x004e JUMPI PUSH1 0x00 CALLDATALOAD PUSH1 0xe0 SHR DUP1 PUSH4 0x3659cfe6 EQ PUSH2 0x005f JUMPI DUP1 PUSH4 0x4f1ef286 EQ PUSH2 0x0092 JUMPI DUP1 PUSH4 0x5c60da1b EQ PUSH2 0x0112 JUMPI DUP1 PUSH4 0x8f283970 EQ PUSH2 0x0143 JUMPI DUP1 PUSH4 0xf851a440 EQ PUSH2 0x0176 JUMPI PUSH2 0x0055 JUMP JUMPDEST CALLDATASIZE PUSH2 0x0055 JUMPI STOP JUMPDEST PUSH2 0x005d PUSH2 0x018b JUMP JUMPDEST STOP JUMPDEST CALLVALUE DUP1 ISZERO PUSH2 0x006b JUMPI PUSH1 0x00 DUP1 REVERT JUMPDEST POP PUSH2 0x005d PUSH1 0x04 DUP1 CALLDATASIZE SUB PUSH1 0x20 DUP2 LT ISZERO PUSH2 0x0082 JUMPI PUSH1 0x00 DUP1 REVERT JUMPDEST POP CALLDATALOAD PUSH1 0x01 PUSH1 0x01 PUSH1 0xa0 SHL SUB AND PUSH2 0x01a5 JUMP JUMPDEST PUSH2 0x005d PUSH1 0x04 DUP1 CALLDATASIZE SUB PUSH1 0x40 DUP2 LT ISZERO PUSH2 0x00a8 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 0x00d3 JUMPI PUSH1 0x00 DUP1 REVERT JUMPDEST DUP3 ADD DUP4 PUSH1 0x20 DUP3 ADD GT ISZERO PUSH2 0x00e5 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 0x0107 JUMPI PUSH1 0x00 DUP1 REVERT JUMPDEST POP SWAP1 SWAP3 POP SWAP1 POP PUSH2 0x01df JUMP JUMPDEST CALLVALUE DUP1 ISZERO PUSH2 0x011e JUMPI PUSH1 0x00 DUP1 REVERT JUMPDEST POP PUSH2 0x0127 PUSH2 0x028c 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 0x014f JUMPI PUSH1 0x00 DUP1 REVERT JUMPDEST POP PUSH2 0x005d PUSH1 0x04 DUP1 CALLDATASIZE SUB PUSH1 0x20 DUP2 LT ISZERO PUSH2 0x0166 JUMPI PUSH1 0x00 DUP1 REVERT JUMPDEST POP CALLDATALOAD PUSH1 0x01 PUSH1 0x01 PUSH1 0xa0 SHL SUB AND PUSH2 0x02c9 JUMP JUMPDEST CALLVALUE DUP1 ISZERO PUSH2 0x0182 JUMPI PUSH1 0x00 DUP1 REVERT JUMPDEST POP PUSH2 0x0127 PUSH2 0x0383 JUMP JUMPDEST PUSH2 0x0193 PUSH2 0x03b4 JUMP JUMPDEST PUSH2 0x01a3 PUSH2 0x019e PUSH2 0x0414 JUMP JUMPDEST PUSH2 0x0439 JUMP JUMPDEST JUMP JUMPDEST PUSH2 0x01ad PUSH2 0x045d JUMP JUMPDEST PUSH1 0x01 PUSH1 0x01 PUSH1 0xa0 SHL SUB AND CALLER PUSH1 0x01 PUSH1 0x01 PUSH1 0xa0 SHL SUB AND EQ ISZERO PUSH2 0x01d4 JUMPI PUSH2 0x01cf DUP2 PUSH2 0x0482 JUMP JUMPDEST PUSH2 0x01dc JUMP JUMPDEST PUSH2 0x01dc PUSH2 0x018b JUMP JUMPDEST POP JUMP JUMPDEST PUSH2 0x01e7 PUSH2 0x045d JUMP JUMPDEST PUSH1 0x01 PUSH1 0x01 PUSH1 0xa0 SHL SUB AND CALLER PUSH1 0x01 PUSH1 0x01 PUSH1 0xa0 SHL SUB AND EQ ISZERO PUSH2 0x027f JUMPI PUSH2 0x0209 DUP4 PUSH2 0x0482 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 0x0266 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 0x026b JUMP JUMPDEST PUSH1 0x60 SWAP2 POP JUMPDEST POP POP SWAP1 POP DUP1 PUSH2 0x0279 JUMPI PUSH1 0x00 DUP1 REVERT JUMPDEST POP PUSH2 0x0287 JUMP JUMPDEST PUSH2 0x0287 PUSH2 0x018b JUMP JUMPDEST POP POP POP JUMP JUMPDEST PUSH1 0x00 PUSH2 0x0296 PUSH2 0x045d JUMP JUMPDEST PUSH1 0x01 PUSH1 0x01 PUSH1 0xa0 SHL SUB AND CALLER PUSH1 0x01 PUSH1 0x01 PUSH1 0xa0 SHL SUB AND EQ ISZERO PUSH2 0x02be JUMPI PUSH2 0x02b7 PUSH2 0x0414 JUMP JUMPDEST SWAP1 POP PUSH2 0x02c6 JUMP JUMPDEST PUSH2 0x02c6 PUSH2 0x018b JUMP JUMPDEST SWAP1 JUMP JUMPDEST PUSH2 0x02d1 PUSH2 0x045d JUMP JUMPDEST PUSH1 0x01 PUSH1 0x01 PUSH1 0xa0 SHL SUB AND CALLER PUSH1 0x01 PUSH1 0x01 PUSH1 0xa0 SHL SUB AND EQ ISZERO PUSH2 0x01d4 JUMPI PUSH1 0x01 PUSH1 0x01 PUSH1 0xa0 SHL SUB DUP2 AND PUSH2 0x032f 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 0x0581 PUSH1 0x36 SWAP2 CODECOPY PUSH1 0x40 ADD SWAP2 POP POP PUSH1 0x40 MLOAD DUP1 SWAP2 SUB SWAP1 REVERT JUMPDEST PUSH32 0x7e644d79422f17c01e4894b5f4f588d331ebfa28653d42ae832dc59e38c9798f PUSH2 0x0358 PUSH2 0x045d 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 0x01cf DUP2 PUSH2 0x04c2 JUMP JUMPDEST PUSH1 0x00 PUSH2 0x038d PUSH2 0x045d JUMP JUMPDEST PUSH1 0x01 PUSH1 0x01 PUSH1 0xa0 SHL SUB AND CALLER PUSH1 0x01 PUSH1 0x01 PUSH1 0xa0 SHL SUB AND EQ ISZERO PUSH2 0x02be JUMPI PUSH2 0x02b7 PUSH2 0x045d JUMP JUMPDEST EXTCODESIZE ISZERO ISZERO SWAP1 JUMP JUMPDEST PUSH2 0x03bc PUSH2 0x045d JUMP JUMPDEST PUSH1 0x01 PUSH1 0x01 PUSH1 0xa0 SHL SUB AND CALLER PUSH1 0x01 PUSH1 0x01 PUSH1 0xa0 SHL SUB AND EQ ISZERO PUSH2 0x040c 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 0x054f PUSH1 0x32 SWAP2 CODECOPY PUSH1 0x40 ADD SWAP2 POP POP PUSH1 0x40 MLOAD DUP1 SWAP2 SUB SWAP1 REVERT JUMPDEST PUSH2 0x01a3 PUSH2 0x01a3 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 0x0458 JUMPI RETURNDATASIZE PUSH1 0x00 RETURN JUMPDEST RETURNDATASIZE PUSH1 0x00 REVERT JUMPDEST PUSH32 0xb53127684a568b3173ae13b9f8a6016e243e63b6e8ee1178d6a717850b5d6103 SLOAD SWAP1 JUMP JUMPDEST PUSH2 0x048b DUP2 PUSH2 0x04e6 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 0x04ef DUP2 PUSH2 0x03ae JUMP JUMPDEST PUSH2 0x052a 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 0x05b7 PUSH1 0x3b SWAP2 CODECOPY PUSH1 0x40 ADD SWAP2 POP POP PUSH1 0x40 MLOAD DUP1 SWAP2 SUB SWAP1 REVERT JUMPDEST PUSH32 0x360894a13ba1a3210667c828492db98dca3e2076cc3735a920a3ca505d382bbc SSTORE 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 0x657373a2646970667358221220a8d3ca4f14ff UNKNOWN_0xb6 STOP MUL DUP8 UNKNOWN_0xe2 PUSH4 0x14745d29 CODESIZE UNKNOWN_0xb4 UNKNOWN_0x2a LOG2 SWAP12 PUSH15 0x7a019351180a32b693d064736f6c63 NUMBER STOP SMOD MUL STOP CALLER NUMBER PUSH2 0x6e6e PUSH16 0x742073657420612070726f787920696d PUSH17 0x6c656d656e746174696f6e20746f206120 PUSH15 0x6f6e2d636f6e747261637420616464 PUSH19 0x6573730000000000000000000000005f0e84f5 UNKNOWN_0x25 SELFDESTRUCT EQ UNKNOWN_0xe1 CALLCODE SWAP2 PUSH23 0xad7b0d951e87fa00d2000000000000000000000000dac2 MOD MSTORE GT UNKNOWN_0xd2 UNKNOWN_0xcc PUSH29 0xfba865a355c42b2b7ae310170000000000000000000000000000000000 STOP STOP STOP STOP STOP STOP STOP STOP STOP STOP STOP STOP STOP STOP PUSH1 0x00 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 ADD DIFFICULTY SWAP11 UNKNOWN_0xb8 CALLDATASIZE PUSH31 0x00000000000000000000000012fcee56674f0d17edb05a0da149851a9664a5 SDIV STOP STOP STOP STOP STOP STOP STOP STOP STOP STOP STOP STOP SLT UNKNOWN_0xfc UNKNOWN_0xee JUMP PUSH8 0x4f0d17edb05a0da1 UNKNOWN_0x49 DUP6 BYTE SWAP7 PUSH5 0xa505000000 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_0xe8 UNKNOWN_0xd4 UNKNOWN_0xa5 LT 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 LOG0 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 ADD 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 UNKNOWN_0x21 MSTORE PUSH10 0x62626f6e207976555344 NUMBER SHA3 SLOAD PUSH9 0x657461205661756c74 SHA3 GASLIMIT SLOAD BASEFEE SHA3 POP PUSH22 0x74000000000000000000000000000000000000000000 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 SGT PUSH19 0x7976555344432d4554482d502d544845544100 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