@counterfactual/cf-funding-protocol-contracts
Advanced tools
Comparing version 0.0.6 to 0.0.7
@@ -113,8 +113,8 @@ { | ||
"linkReferences": {}, | ||
"object": "608060405234801561001057600080fd5b50610ce6806100206000396000f3fe60806040526004361061003f5760003560e01c8063300c661f1461004157806358cb5e5a14610077578063a0e67e2b14610097578063bd5b853b146100b9575b005b34801561004d57600080fd5b5061006161005c36600461065d565b6100d9565b60405161006e9190610a93565b60405180910390f35b34801561008357600080fd5b5061003f6100923660046106d6565b610126565b3480156100a357600080fd5b506100ac610261565b60405161006e9190610a7b565b3480156100c557600080fd5b5061003f6100d436600461077b565b6102c4565b6000601960f81b60028686868660018111156100f157fe5b60405160200161010696959493929190610a19565b604051602081830303815290604052805190602001209050949350505050565b6000610134868686866100d9565b90506000805b6002548110156102305761016a84828151811061015357fe5b6020026020010151846102fb90919063ffffffff16565b6001600160a01b03166002828154811061018057fe5b6000918252602090912001546001600160a01b0316146101bb5760405162461bcd60e51b81526004016101b290610aef565b60405180910390fd5b816001600160a01b0316600282815481106101d257fe5b6000918252602090912001546001600160a01b0316116102045760405162461bcd60e51b81526004016101b290610aff565b6002818154811061021157fe5b6000918252602090912001546001600160a01b0316915060010161013a565b5061023d878787876103d8565b506000908152600160208190526040909120805460ff191690911790555050505050565b606060028054806020026020016040519081016040528092919081815260200182805480156102b957602002820191906000526020600020905b81546001600160a01b0316815260019091019060200180831161029b575b505050505090505b90565b600254156102e45760405162461bcd60e51b81526004016101b290610b1f565b80516102f7906002906020840190610488565b5050565b6000815160411461030e575060006103d2565b60208201516040830151606084015160001a7f7fffffffffffffffffffffffffffffff5d576e7357a4501ddfe92f46681b20a082111561035457600093505050506103d2565b8060ff16601b1415801561036c57508060ff16601c14155b1561037d57600093505050506103d2565b600186828585604051600081526020016040526040516103a09493929190610aa1565b6020604051602081039080840390855afa1580156103c2573d6000803e3d6000fd5b5050506020604051035193505050505b92915050565b60008160018111156103e657fe5b1415610418576103f7848484610458565b6104135760405162461bcd60e51b81526004016101b290610adf565b610452565b600181600181111561042657fe5b1415610452576104368483610471565b6104525760405162461bcd60e51b81526004016101b290610b0f565b50505050565b60008060008351602085018688600019f1949350505050565b600080600083516020850186600019f49392505050565b8280548282559060005260206000209081019282156104dd579160200282015b828111156104dd57825182546001600160a01b0319166001600160a01b039091161782556020909201916001909101906104a8565b506104e99291506104ed565b5090565b6102c191905b808211156104e95780546001600160a01b03191681556001016104f3565b80356103d281610c76565b600082601f83011261052d57600080fd5b813561054061053b82610b56565b610b2f565b9150818183526020840193506020810190508385602084028201111561056557600080fd5b60005b83811015610591578161057b8882610511565b8452506020928301929190910190600101610568565b5050505092915050565b600082601f8301126105ac57600080fd5b81356105ba61053b82610b56565b81815260209384019390925082018360005b8381101561059157813586016105e288826105f8565b84525060209283019291909101906001016105cc565b600082601f83011261060957600080fd5b813561061761053b82610b77565b9150808252602083016020830185838301111561063357600080fd5b61063e838284610bf7565b50505092915050565b80356103d281610c8d565b80356103d281610c9a565b6000806000806080858703121561067357600080fd5b600061067f8787610511565b945050602061069087828801610652565b935050604085013567ffffffffffffffff8111156106ad57600080fd5b6106b9878288016105f8565b92505060606106ca87828801610647565b91505092959194509250565b600080600080600060a086880312156106ee57600080fd5b60006106fa8888610511565b955050602061070b88828901610652565b945050604086013567ffffffffffffffff81111561072857600080fd5b610734888289016105f8565b935050606061074588828901610647565b925050608086013567ffffffffffffffff81111561076257600080fd5b61076e8882890161059b565b9150509295509295909350565b60006020828403121561078d57600080fd5b813567ffffffffffffffff8111156107a457600080fd5b6107b08482850161051c565b949350505050565b60006107c483836107cc565b505060200190565b6107d581610bd9565b82525050565b6107d56107e782610bd9565b610c42565b60006107f782610bb1565b6108018185610bbf565b935061080c83610b9f565b8060005b8381101561083a57815161082488826107b8565b975061082f83610b9f565b925050600101610810565b509495945050505050565b600061085082610bb5565b61085a8185610bc8565b935061086583610ba5565b8060005b8381101561083a5761087a82610c5e565b61088488826107b8565b975061088f83610bb9565b925050600101610869565b6107d56108a682610be4565b6102c1565b6107d5816102c1565b60006108bf82610bb1565b6108c98185610bc8565b93506108d9818560208601610c03565b9290920192915050565b60006108f0601283610bbf565b71195e1958dd5d1950d85b1b0819985a5b195960721b815260200192915050565b600061091e601183610bbf565b70496e76616c6964207369676e617475726560781b815260200192915050565b600061094b602183610bbf565b7f5369676e657273206e6f7420696e20616c7068616e756d65726963206f7264658152603960f91b602082015260400192915050565b600061098e601a83610bbf565b7f6578656375746544656c656761746543616c6c206661696c6564000000000000815260200192915050565b60006109c7601f83610bbf565b7f436f6e747261637420686173206265656e20736574207570206265666f726500815260200192915050565b6107d56108a6826102c1565b6107d581610bf1565b6107d5610a1482610bf1565b610c53565b6000610a25828961089a565b600182019150610a358288610845565b9150610a4182876107db565b601482019150610a5182866109f3565b602082019150610a6182856108b4565b9150610a6d8284610a08565b506001019695505050505050565b60208082528101610a8c81846107ec565b9392505050565b602081016103d282846108ab565b60808101610aaf82876108ab565b610abc60208301866109ff565b610ac960408301856108ab565b610ad660608301846108ab565b95945050505050565b602080825281016103d2816108e3565b602080825281016103d281610911565b602080825281016103d28161093e565b602080825281016103d281610981565b602080825281016103d2816109ba565b60405181810167ffffffffffffffff81118282101715610b4e57600080fd5b604052919050565b600067ffffffffffffffff821115610b6d57600080fd5b5060209081020190565b600067ffffffffffffffff821115610b8e57600080fd5b506020601f91909101601f19160190565b60200190565b60009081526020902090565b5190565b5490565b60010190565b90815260200190565b919050565b6001600160a01b031690565b60006103d282610bcd565b6001600160f81b03191690565b60ff1690565b82818337506000910152565b60005b83811015610c1e578181015183820152602001610c06565b838111156104525750506000910152565b60006103d2610c3d836102c1565b610bcd565b60006103d28260006103d282610c70565b60006103d282610c6a565b60006103d28254610c2f565b60f81b90565b60601b90565b610c7f81610bd9565b8114610c8a57600080fd5b50565b60028110610c8a57600080fd5b610c7f816102c156fea365627a7a723158202aa0f82b9119b606b1a2fab6df09f8f2d0ce9a15ff28749f952ff90e1f5761dd6c6578706572696d656e74616cf564736f6c634300050b0040", | ||
"opcodes": "PUSH1 0x80 PUSH1 0x40 MSTORE CALLVALUE DUP1 ISZERO PUSH2 0x10 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST POP PUSH2 0xCE6 DUP1 PUSH2 0x20 PUSH1 0x0 CODECOPY PUSH1 0x0 RETURN INVALID PUSH1 0x80 PUSH1 0x40 MSTORE PUSH1 0x4 CALLDATASIZE LT PUSH2 0x3F JUMPI PUSH1 0x0 CALLDATALOAD PUSH1 0xE0 SHR DUP1 PUSH4 0x300C661F EQ PUSH2 0x41 JUMPI DUP1 PUSH4 0x58CB5E5A EQ PUSH2 0x77 JUMPI DUP1 PUSH4 0xA0E67E2B EQ PUSH2 0x97 JUMPI DUP1 PUSH4 0xBD5B853B EQ PUSH2 0xB9 JUMPI JUMPDEST STOP JUMPDEST CALLVALUE DUP1 ISZERO PUSH2 0x4D JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST POP PUSH2 0x61 PUSH2 0x5C CALLDATASIZE PUSH1 0x4 PUSH2 0x65D JUMP JUMPDEST PUSH2 0xD9 JUMP JUMPDEST PUSH1 0x40 MLOAD PUSH2 0x6E SWAP2 SWAP1 PUSH2 0xA93 JUMP JUMPDEST PUSH1 0x40 MLOAD DUP1 SWAP2 SUB SWAP1 RETURN JUMPDEST CALLVALUE DUP1 ISZERO PUSH2 0x83 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST POP PUSH2 0x3F PUSH2 0x92 CALLDATASIZE PUSH1 0x4 PUSH2 0x6D6 JUMP JUMPDEST PUSH2 0x126 JUMP JUMPDEST CALLVALUE DUP1 ISZERO PUSH2 0xA3 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST POP PUSH2 0xAC PUSH2 0x261 JUMP JUMPDEST PUSH1 0x40 MLOAD PUSH2 0x6E SWAP2 SWAP1 PUSH2 0xA7B JUMP JUMPDEST CALLVALUE DUP1 ISZERO PUSH2 0xC5 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST POP PUSH2 0x3F PUSH2 0xD4 CALLDATASIZE PUSH1 0x4 PUSH2 0x77B JUMP JUMPDEST PUSH2 0x2C4 JUMP JUMPDEST PUSH1 0x0 PUSH1 0x19 PUSH1 0xF8 SHL PUSH1 0x2 DUP7 DUP7 DUP7 DUP7 PUSH1 0x1 DUP2 GT ISZERO PUSH2 0xF1 JUMPI INVALID JUMPDEST PUSH1 0x40 MLOAD PUSH1 0x20 ADD PUSH2 0x106 SWAP7 SWAP6 SWAP5 SWAP4 SWAP3 SWAP2 SWAP1 PUSH2 0xA19 JUMP JUMPDEST PUSH1 0x40 MLOAD PUSH1 0x20 DUP2 DUP4 SUB SUB DUP2 MSTORE SWAP1 PUSH1 0x40 MSTORE DUP1 MLOAD SWAP1 PUSH1 0x20 ADD KECCAK256 SWAP1 POP SWAP5 SWAP4 POP POP POP POP JUMP JUMPDEST PUSH1 0x0 PUSH2 0x134 DUP7 DUP7 DUP7 DUP7 PUSH2 0xD9 JUMP JUMPDEST SWAP1 POP PUSH1 0x0 DUP1 JUMPDEST PUSH1 0x2 SLOAD DUP2 LT ISZERO PUSH2 0x230 JUMPI PUSH2 0x16A DUP5 DUP3 DUP2 MLOAD DUP2 LT PUSH2 0x153 JUMPI INVALID JUMPDEST PUSH1 0x20 MUL PUSH1 0x20 ADD ADD MLOAD DUP5 PUSH2 0x2FB SWAP1 SWAP2 SWAP1 PUSH4 0xFFFFFFFF AND JUMP JUMPDEST PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB AND PUSH1 0x2 DUP3 DUP2 SLOAD DUP2 LT PUSH2 0x180 JUMPI INVALID JUMPDEST PUSH1 0x0 SWAP2 DUP3 MSTORE PUSH1 0x20 SWAP1 SWAP2 KECCAK256 ADD SLOAD PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB AND EQ PUSH2 0x1BB JUMPI PUSH1 0x40 MLOAD PUSH3 0x461BCD PUSH1 0xE5 SHL DUP2 MSTORE PUSH1 0x4 ADD PUSH2 0x1B2 SWAP1 PUSH2 0xAEF JUMP JUMPDEST PUSH1 0x40 MLOAD DUP1 SWAP2 SUB SWAP1 REVERT JUMPDEST DUP2 PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB AND PUSH1 0x2 DUP3 DUP2 SLOAD DUP2 LT PUSH2 0x1D2 JUMPI INVALID JUMPDEST PUSH1 0x0 SWAP2 DUP3 MSTORE PUSH1 0x20 SWAP1 SWAP2 KECCAK256 ADD SLOAD PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB AND GT PUSH2 0x204 JUMPI PUSH1 0x40 MLOAD PUSH3 0x461BCD PUSH1 0xE5 SHL DUP2 MSTORE PUSH1 0x4 ADD PUSH2 0x1B2 SWAP1 PUSH2 0xAFF JUMP JUMPDEST PUSH1 0x2 DUP2 DUP2 SLOAD DUP2 LT PUSH2 0x211 JUMPI INVALID JUMPDEST PUSH1 0x0 SWAP2 DUP3 MSTORE PUSH1 0x20 SWAP1 SWAP2 KECCAK256 ADD SLOAD PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB AND SWAP2 POP PUSH1 0x1 ADD PUSH2 0x13A JUMP JUMPDEST POP PUSH2 0x23D DUP8 DUP8 DUP8 DUP8 PUSH2 0x3D8 JUMP JUMPDEST POP PUSH1 0x0 SWAP1 DUP2 MSTORE PUSH1 0x1 PUSH1 0x20 DUP2 SWAP1 MSTORE PUSH1 0x40 SWAP1 SWAP2 KECCAK256 DUP1 SLOAD PUSH1 0xFF NOT AND SWAP1 SWAP2 OR SWAP1 SSTORE POP POP POP POP POP JUMP JUMPDEST PUSH1 0x60 PUSH1 0x2 DUP1 SLOAD DUP1 PUSH1 0x20 MUL PUSH1 0x20 ADD PUSH1 0x40 MLOAD SWAP1 DUP2 ADD PUSH1 0x40 MSTORE DUP1 SWAP3 SWAP2 SWAP1 DUP2 DUP2 MSTORE PUSH1 0x20 ADD DUP3 DUP1 SLOAD DUP1 ISZERO PUSH2 0x2B9 JUMPI PUSH1 0x20 MUL DUP3 ADD SWAP2 SWAP1 PUSH1 0x0 MSTORE PUSH1 0x20 PUSH1 0x0 KECCAK256 SWAP1 JUMPDEST DUP2 SLOAD PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB AND DUP2 MSTORE PUSH1 0x1 SWAP1 SWAP2 ADD SWAP1 PUSH1 0x20 ADD DUP1 DUP4 GT PUSH2 0x29B JUMPI JUMPDEST POP POP POP POP POP SWAP1 POP JUMPDEST SWAP1 JUMP JUMPDEST PUSH1 0x2 SLOAD ISZERO PUSH2 0x2E4 JUMPI PUSH1 0x40 MLOAD PUSH3 0x461BCD PUSH1 0xE5 SHL DUP2 MSTORE PUSH1 0x4 ADD PUSH2 0x1B2 SWAP1 PUSH2 0xB1F JUMP JUMPDEST DUP1 MLOAD PUSH2 0x2F7 SWAP1 PUSH1 0x2 SWAP1 PUSH1 0x20 DUP5 ADD SWAP1 PUSH2 0x488 JUMP JUMPDEST POP POP JUMP JUMPDEST PUSH1 0x0 DUP2 MLOAD PUSH1 0x41 EQ PUSH2 0x30E JUMPI POP PUSH1 0x0 PUSH2 0x3D2 JUMP JUMPDEST PUSH1 0x20 DUP3 ADD MLOAD PUSH1 0x40 DUP4 ADD MLOAD PUSH1 0x60 DUP5 ADD MLOAD PUSH1 0x0 BYTE PUSH32 0x7FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF5D576E7357A4501DDFE92F46681B20A0 DUP3 GT ISZERO PUSH2 0x354 JUMPI PUSH1 0x0 SWAP4 POP POP POP POP PUSH2 0x3D2 JUMP JUMPDEST DUP1 PUSH1 0xFF AND PUSH1 0x1B EQ ISZERO DUP1 ISZERO PUSH2 0x36C JUMPI POP DUP1 PUSH1 0xFF AND PUSH1 0x1C EQ ISZERO JUMPDEST ISZERO PUSH2 0x37D JUMPI PUSH1 0x0 SWAP4 POP POP POP POP PUSH2 0x3D2 JUMP JUMPDEST PUSH1 0x1 DUP7 DUP3 DUP6 DUP6 PUSH1 0x40 MLOAD PUSH1 0x0 DUP2 MSTORE PUSH1 0x20 ADD PUSH1 0x40 MSTORE PUSH1 0x40 MLOAD PUSH2 0x3A0 SWAP5 SWAP4 SWAP3 SWAP2 SWAP1 PUSH2 0xAA1 JUMP JUMPDEST PUSH1 0x20 PUSH1 0x40 MLOAD PUSH1 0x20 DUP2 SUB SWAP1 DUP1 DUP5 SUB SWAP1 DUP6 GAS STATICCALL ISZERO DUP1 ISZERO PUSH2 0x3C2 JUMPI RETURNDATASIZE PUSH1 0x0 DUP1 RETURNDATACOPY RETURNDATASIZE PUSH1 0x0 REVERT JUMPDEST POP POP POP PUSH1 0x20 PUSH1 0x40 MLOAD SUB MLOAD SWAP4 POP POP POP POP JUMPDEST SWAP3 SWAP2 POP POP JUMP JUMPDEST PUSH1 0x0 DUP2 PUSH1 0x1 DUP2 GT ISZERO PUSH2 0x3E6 JUMPI INVALID JUMPDEST EQ ISZERO PUSH2 0x418 JUMPI PUSH2 0x3F7 DUP5 DUP5 DUP5 PUSH2 0x458 JUMP JUMPDEST PUSH2 0x413 JUMPI PUSH1 0x40 MLOAD PUSH3 0x461BCD PUSH1 0xE5 SHL DUP2 MSTORE PUSH1 0x4 ADD PUSH2 0x1B2 SWAP1 PUSH2 0xADF JUMP JUMPDEST PUSH2 0x452 JUMP JUMPDEST PUSH1 0x1 DUP2 PUSH1 0x1 DUP2 GT ISZERO PUSH2 0x426 JUMPI INVALID JUMPDEST EQ ISZERO PUSH2 0x452 JUMPI PUSH2 0x436 DUP5 DUP4 PUSH2 0x471 JUMP JUMPDEST PUSH2 0x452 JUMPI PUSH1 0x40 MLOAD PUSH3 0x461BCD PUSH1 0xE5 SHL DUP2 MSTORE PUSH1 0x4 ADD PUSH2 0x1B2 SWAP1 PUSH2 0xB0F JUMP JUMPDEST POP POP POP POP JUMP JUMPDEST PUSH1 0x0 DUP1 PUSH1 0x0 DUP4 MLOAD PUSH1 0x20 DUP6 ADD DUP7 DUP9 PUSH1 0x0 NOT CALL SWAP5 SWAP4 POP POP POP POP JUMP JUMPDEST PUSH1 0x0 DUP1 PUSH1 0x0 DUP4 MLOAD PUSH1 0x20 DUP6 ADD DUP7 PUSH1 0x0 NOT DELEGATECALL SWAP4 SWAP3 POP POP POP JUMP JUMPDEST DUP3 DUP1 SLOAD DUP3 DUP3 SSTORE SWAP1 PUSH1 0x0 MSTORE PUSH1 0x20 PUSH1 0x0 KECCAK256 SWAP1 DUP2 ADD SWAP3 DUP3 ISZERO PUSH2 0x4DD JUMPI SWAP2 PUSH1 0x20 MUL DUP3 ADD JUMPDEST DUP3 DUP2 GT ISZERO PUSH2 0x4DD JUMPI DUP3 MLOAD DUP3 SLOAD PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB NOT AND PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB SWAP1 SWAP2 AND OR DUP3 SSTORE PUSH1 0x20 SWAP1 SWAP3 ADD SWAP2 PUSH1 0x1 SWAP1 SWAP2 ADD SWAP1 PUSH2 0x4A8 JUMP JUMPDEST POP PUSH2 0x4E9 SWAP3 SWAP2 POP PUSH2 0x4ED JUMP JUMPDEST POP SWAP1 JUMP JUMPDEST PUSH2 0x2C1 SWAP2 SWAP1 JUMPDEST DUP1 DUP3 GT ISZERO PUSH2 0x4E9 JUMPI DUP1 SLOAD PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB NOT AND DUP2 SSTORE PUSH1 0x1 ADD PUSH2 0x4F3 JUMP JUMPDEST DUP1 CALLDATALOAD PUSH2 0x3D2 DUP2 PUSH2 0xC76 JUMP JUMPDEST PUSH1 0x0 DUP3 PUSH1 0x1F DUP4 ADD SLT PUSH2 0x52D JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST DUP2 CALLDATALOAD PUSH2 0x540 PUSH2 0x53B DUP3 PUSH2 0xB56 JUMP JUMPDEST PUSH2 0xB2F JUMP JUMPDEST SWAP2 POP DUP2 DUP2 DUP4 MSTORE PUSH1 0x20 DUP5 ADD SWAP4 POP PUSH1 0x20 DUP2 ADD SWAP1 POP DUP4 DUP6 PUSH1 0x20 DUP5 MUL DUP3 ADD GT ISZERO PUSH2 0x565 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST PUSH1 0x0 JUMPDEST DUP4 DUP2 LT ISZERO PUSH2 0x591 JUMPI DUP2 PUSH2 0x57B DUP9 DUP3 PUSH2 0x511 JUMP JUMPDEST DUP5 MSTORE POP PUSH1 0x20 SWAP3 DUP4 ADD SWAP3 SWAP2 SWAP1 SWAP2 ADD SWAP1 PUSH1 0x1 ADD PUSH2 0x568 JUMP JUMPDEST POP POP POP POP SWAP3 SWAP2 POP POP JUMP JUMPDEST PUSH1 0x0 DUP3 PUSH1 0x1F DUP4 ADD SLT PUSH2 0x5AC JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST DUP2 CALLDATALOAD PUSH2 0x5BA PUSH2 0x53B DUP3 PUSH2 0xB56 JUMP JUMPDEST DUP2 DUP2 MSTORE PUSH1 0x20 SWAP4 DUP5 ADD SWAP4 SWAP1 SWAP3 POP DUP3 ADD DUP4 PUSH1 0x0 JUMPDEST DUP4 DUP2 LT ISZERO PUSH2 0x591 JUMPI DUP2 CALLDATALOAD DUP7 ADD PUSH2 0x5E2 DUP9 DUP3 PUSH2 0x5F8 JUMP JUMPDEST DUP5 MSTORE POP PUSH1 0x20 SWAP3 DUP4 ADD SWAP3 SWAP2 SWAP1 SWAP2 ADD SWAP1 PUSH1 0x1 ADD PUSH2 0x5CC JUMP JUMPDEST PUSH1 0x0 DUP3 PUSH1 0x1F DUP4 ADD SLT PUSH2 0x609 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST DUP2 CALLDATALOAD PUSH2 0x617 PUSH2 0x53B DUP3 PUSH2 0xB77 JUMP JUMPDEST SWAP2 POP DUP1 DUP3 MSTORE PUSH1 0x20 DUP4 ADD PUSH1 0x20 DUP4 ADD DUP6 DUP4 DUP4 ADD GT ISZERO PUSH2 0x633 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST PUSH2 0x63E DUP4 DUP3 DUP5 PUSH2 0xBF7 JUMP JUMPDEST POP POP POP SWAP3 SWAP2 POP POP JUMP JUMPDEST DUP1 CALLDATALOAD PUSH2 0x3D2 DUP2 PUSH2 0xC8D JUMP JUMPDEST DUP1 CALLDATALOAD PUSH2 0x3D2 DUP2 PUSH2 0xC9A JUMP JUMPDEST PUSH1 0x0 DUP1 PUSH1 0x0 DUP1 PUSH1 0x80 DUP6 DUP8 SUB SLT ISZERO PUSH2 0x673 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST PUSH1 0x0 PUSH2 0x67F DUP8 DUP8 PUSH2 0x511 JUMP JUMPDEST SWAP5 POP POP PUSH1 0x20 PUSH2 0x690 DUP8 DUP3 DUP9 ADD PUSH2 0x652 JUMP JUMPDEST SWAP4 POP POP PUSH1 0x40 DUP6 ADD CALLDATALOAD PUSH8 0xFFFFFFFFFFFFFFFF DUP2 GT ISZERO PUSH2 0x6AD JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST PUSH2 0x6B9 DUP8 DUP3 DUP9 ADD PUSH2 0x5F8 JUMP JUMPDEST SWAP3 POP POP PUSH1 0x60 PUSH2 0x6CA DUP8 DUP3 DUP9 ADD PUSH2 0x647 JUMP JUMPDEST SWAP2 POP POP SWAP3 SWAP6 SWAP2 SWAP5 POP SWAP3 POP JUMP JUMPDEST PUSH1 0x0 DUP1 PUSH1 0x0 DUP1 PUSH1 0x0 PUSH1 0xA0 DUP7 DUP9 SUB SLT ISZERO PUSH2 0x6EE JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST PUSH1 0x0 PUSH2 0x6FA DUP9 DUP9 PUSH2 0x511 JUMP JUMPDEST SWAP6 POP POP PUSH1 0x20 PUSH2 0x70B DUP9 DUP3 DUP10 ADD PUSH2 0x652 JUMP JUMPDEST SWAP5 POP POP PUSH1 0x40 DUP7 ADD CALLDATALOAD PUSH8 0xFFFFFFFFFFFFFFFF DUP2 GT ISZERO PUSH2 0x728 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST PUSH2 0x734 DUP9 DUP3 DUP10 ADD PUSH2 0x5F8 JUMP JUMPDEST SWAP4 POP POP PUSH1 0x60 PUSH2 0x745 DUP9 DUP3 DUP10 ADD PUSH2 0x647 JUMP JUMPDEST SWAP3 POP POP PUSH1 0x80 DUP7 ADD CALLDATALOAD PUSH8 0xFFFFFFFFFFFFFFFF DUP2 GT ISZERO PUSH2 0x762 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST PUSH2 0x76E DUP9 DUP3 DUP10 ADD PUSH2 0x59B JUMP JUMPDEST SWAP2 POP POP SWAP3 SWAP6 POP SWAP3 SWAP6 SWAP1 SWAP4 POP JUMP JUMPDEST PUSH1 0x0 PUSH1 0x20 DUP3 DUP5 SUB SLT ISZERO PUSH2 0x78D JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST DUP2 CALLDATALOAD PUSH8 0xFFFFFFFFFFFFFFFF DUP2 GT ISZERO PUSH2 0x7A4 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST PUSH2 0x7B0 DUP5 DUP3 DUP6 ADD PUSH2 0x51C JUMP JUMPDEST SWAP5 SWAP4 POP POP POP POP JUMP JUMPDEST PUSH1 0x0 PUSH2 0x7C4 DUP4 DUP4 PUSH2 0x7CC JUMP JUMPDEST POP POP PUSH1 0x20 ADD SWAP1 JUMP JUMPDEST PUSH2 0x7D5 DUP2 PUSH2 0xBD9 JUMP JUMPDEST DUP3 MSTORE POP POP JUMP JUMPDEST PUSH2 0x7D5 PUSH2 0x7E7 DUP3 PUSH2 0xBD9 JUMP JUMPDEST PUSH2 0xC42 JUMP JUMPDEST PUSH1 0x0 PUSH2 0x7F7 DUP3 PUSH2 0xBB1 JUMP JUMPDEST PUSH2 0x801 DUP2 DUP6 PUSH2 0xBBF JUMP JUMPDEST SWAP4 POP PUSH2 0x80C DUP4 PUSH2 0xB9F JUMP JUMPDEST DUP1 PUSH1 0x0 JUMPDEST DUP4 DUP2 LT ISZERO PUSH2 0x83A JUMPI DUP2 MLOAD PUSH2 0x824 DUP9 DUP3 PUSH2 0x7B8 JUMP JUMPDEST SWAP8 POP PUSH2 0x82F DUP4 PUSH2 0xB9F JUMP JUMPDEST SWAP3 POP POP PUSH1 0x1 ADD PUSH2 0x810 JUMP JUMPDEST POP SWAP5 SWAP6 SWAP5 POP POP POP POP POP JUMP JUMPDEST PUSH1 0x0 PUSH2 0x850 DUP3 PUSH2 0xBB5 JUMP JUMPDEST PUSH2 0x85A DUP2 DUP6 PUSH2 0xBC8 JUMP JUMPDEST SWAP4 POP PUSH2 0x865 DUP4 PUSH2 0xBA5 JUMP JUMPDEST DUP1 PUSH1 0x0 JUMPDEST DUP4 DUP2 LT ISZERO PUSH2 0x83A JUMPI PUSH2 0x87A DUP3 PUSH2 0xC5E JUMP JUMPDEST PUSH2 0x884 DUP9 DUP3 PUSH2 0x7B8 JUMP JUMPDEST SWAP8 POP PUSH2 0x88F DUP4 PUSH2 0xBB9 JUMP JUMPDEST SWAP3 POP POP PUSH1 0x1 ADD PUSH2 0x869 JUMP JUMPDEST PUSH2 0x7D5 PUSH2 0x8A6 DUP3 PUSH2 0xBE4 JUMP JUMPDEST PUSH2 0x2C1 JUMP JUMPDEST PUSH2 0x7D5 DUP2 PUSH2 0x2C1 JUMP JUMPDEST PUSH1 0x0 PUSH2 0x8BF DUP3 PUSH2 0xBB1 JUMP JUMPDEST PUSH2 0x8C9 DUP2 DUP6 PUSH2 0xBC8 JUMP JUMPDEST SWAP4 POP PUSH2 0x8D9 DUP2 DUP6 PUSH1 0x20 DUP7 ADD PUSH2 0xC03 JUMP JUMPDEST SWAP3 SWAP1 SWAP3 ADD SWAP3 SWAP2 POP POP JUMP JUMPDEST PUSH1 0x0 PUSH2 0x8F0 PUSH1 0x12 DUP4 PUSH2 0xBBF JUMP JUMPDEST PUSH18 0x195E1958DD5D1950D85B1B0819985A5B1959 PUSH1 0x72 SHL DUP2 MSTORE PUSH1 0x20 ADD SWAP3 SWAP2 POP POP JUMP JUMPDEST PUSH1 0x0 PUSH2 0x91E PUSH1 0x11 DUP4 PUSH2 0xBBF JUMP JUMPDEST PUSH17 0x496E76616C6964207369676E6174757265 PUSH1 0x78 SHL DUP2 MSTORE PUSH1 0x20 ADD SWAP3 SWAP2 POP POP JUMP JUMPDEST PUSH1 0x0 PUSH2 0x94B PUSH1 0x21 DUP4 PUSH2 0xBBF JUMP JUMPDEST PUSH32 0x5369676E657273206E6F7420696E20616C7068616E756D65726963206F726465 DUP2 MSTORE PUSH1 0x39 PUSH1 0xF9 SHL PUSH1 0x20 DUP3 ADD MSTORE PUSH1 0x40 ADD SWAP3 SWAP2 POP POP JUMP JUMPDEST PUSH1 0x0 PUSH2 0x98E PUSH1 0x1A DUP4 PUSH2 0xBBF JUMP JUMPDEST PUSH32 0x6578656375746544656C656761746543616C6C206661696C6564000000000000 DUP2 MSTORE PUSH1 0x20 ADD SWAP3 SWAP2 POP POP JUMP JUMPDEST PUSH1 0x0 PUSH2 0x9C7 PUSH1 0x1F DUP4 PUSH2 0xBBF JUMP JUMPDEST PUSH32 0x436F6E747261637420686173206265656E20736574207570206265666F726500 DUP2 MSTORE PUSH1 0x20 ADD SWAP3 SWAP2 POP POP JUMP JUMPDEST PUSH2 0x7D5 PUSH2 0x8A6 DUP3 PUSH2 0x2C1 JUMP JUMPDEST PUSH2 0x7D5 DUP2 PUSH2 0xBF1 JUMP JUMPDEST PUSH2 0x7D5 PUSH2 0xA14 DUP3 PUSH2 0xBF1 JUMP JUMPDEST PUSH2 0xC53 JUMP JUMPDEST PUSH1 0x0 PUSH2 0xA25 DUP3 DUP10 PUSH2 0x89A JUMP JUMPDEST PUSH1 0x1 DUP3 ADD SWAP2 POP PUSH2 0xA35 DUP3 DUP9 PUSH2 0x845 JUMP JUMPDEST SWAP2 POP PUSH2 0xA41 DUP3 DUP8 PUSH2 0x7DB JUMP JUMPDEST PUSH1 0x14 DUP3 ADD SWAP2 POP PUSH2 0xA51 DUP3 DUP7 PUSH2 0x9F3 JUMP JUMPDEST PUSH1 0x20 DUP3 ADD SWAP2 POP PUSH2 0xA61 DUP3 DUP6 PUSH2 0x8B4 JUMP JUMPDEST SWAP2 POP PUSH2 0xA6D DUP3 DUP5 PUSH2 0xA08 JUMP JUMPDEST POP PUSH1 0x1 ADD SWAP7 SWAP6 POP POP POP POP POP POP JUMP JUMPDEST PUSH1 0x20 DUP1 DUP3 MSTORE DUP2 ADD PUSH2 0xA8C DUP2 DUP5 PUSH2 0x7EC JUMP JUMPDEST SWAP4 SWAP3 POP POP POP JUMP JUMPDEST PUSH1 0x20 DUP2 ADD PUSH2 0x3D2 DUP3 DUP5 PUSH2 0x8AB JUMP JUMPDEST PUSH1 0x80 DUP2 ADD PUSH2 0xAAF DUP3 DUP8 PUSH2 0x8AB JUMP JUMPDEST PUSH2 0xABC PUSH1 0x20 DUP4 ADD DUP7 PUSH2 0x9FF JUMP JUMPDEST PUSH2 0xAC9 PUSH1 0x40 DUP4 ADD DUP6 PUSH2 0x8AB JUMP JUMPDEST PUSH2 0xAD6 PUSH1 0x60 DUP4 ADD DUP5 PUSH2 0x8AB JUMP JUMPDEST SWAP6 SWAP5 POP POP POP POP POP JUMP JUMPDEST PUSH1 0x20 DUP1 DUP3 MSTORE DUP2 ADD PUSH2 0x3D2 DUP2 PUSH2 0x8E3 JUMP JUMPDEST PUSH1 0x20 DUP1 DUP3 MSTORE DUP2 ADD PUSH2 0x3D2 DUP2 PUSH2 0x911 JUMP JUMPDEST PUSH1 0x20 DUP1 DUP3 MSTORE DUP2 ADD PUSH2 0x3D2 DUP2 PUSH2 0x93E JUMP JUMPDEST PUSH1 0x20 DUP1 DUP3 MSTORE DUP2 ADD PUSH2 0x3D2 DUP2 PUSH2 0x981 JUMP JUMPDEST PUSH1 0x20 DUP1 DUP3 MSTORE DUP2 ADD PUSH2 0x3D2 DUP2 PUSH2 0x9BA JUMP JUMPDEST PUSH1 0x40 MLOAD DUP2 DUP2 ADD PUSH8 0xFFFFFFFFFFFFFFFF DUP2 GT DUP3 DUP3 LT OR ISZERO PUSH2 0xB4E JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST PUSH1 0x40 MSTORE SWAP2 SWAP1 POP JUMP JUMPDEST PUSH1 0x0 PUSH8 0xFFFFFFFFFFFFFFFF DUP3 GT ISZERO PUSH2 0xB6D JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST POP PUSH1 0x20 SWAP1 DUP2 MUL ADD SWAP1 JUMP JUMPDEST PUSH1 0x0 PUSH8 0xFFFFFFFFFFFFFFFF DUP3 GT ISZERO PUSH2 0xB8E JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST POP PUSH1 0x20 PUSH1 0x1F SWAP2 SWAP1 SWAP2 ADD PUSH1 0x1F NOT AND ADD SWAP1 JUMP JUMPDEST PUSH1 0x20 ADD SWAP1 JUMP JUMPDEST PUSH1 0x0 SWAP1 DUP2 MSTORE PUSH1 0x20 SWAP1 KECCAK256 SWAP1 JUMP JUMPDEST MLOAD SWAP1 JUMP JUMPDEST SLOAD SWAP1 JUMP JUMPDEST PUSH1 0x1 ADD SWAP1 JUMP JUMPDEST SWAP1 DUP2 MSTORE PUSH1 0x20 ADD SWAP1 JUMP JUMPDEST SWAP2 SWAP1 POP JUMP JUMPDEST PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB AND SWAP1 JUMP JUMPDEST PUSH1 0x0 PUSH2 0x3D2 DUP3 PUSH2 0xBCD JUMP JUMPDEST PUSH1 0x1 PUSH1 0x1 PUSH1 0xF8 SHL SUB NOT AND SWAP1 JUMP JUMPDEST PUSH1 0xFF AND SWAP1 JUMP JUMPDEST DUP3 DUP2 DUP4 CALLDATACOPY POP PUSH1 0x0 SWAP2 ADD MSTORE JUMP JUMPDEST PUSH1 0x0 JUMPDEST DUP4 DUP2 LT ISZERO PUSH2 0xC1E JUMPI DUP2 DUP2 ADD MLOAD DUP4 DUP3 ADD MSTORE PUSH1 0x20 ADD PUSH2 0xC06 JUMP JUMPDEST DUP4 DUP2 GT ISZERO PUSH2 0x452 JUMPI POP POP PUSH1 0x0 SWAP2 ADD MSTORE JUMP JUMPDEST PUSH1 0x0 PUSH2 0x3D2 PUSH2 0xC3D DUP4 PUSH2 0x2C1 JUMP JUMPDEST PUSH2 0xBCD JUMP JUMPDEST PUSH1 0x0 PUSH2 0x3D2 DUP3 PUSH1 0x0 PUSH2 0x3D2 DUP3 PUSH2 0xC70 JUMP JUMPDEST PUSH1 0x0 PUSH2 0x3D2 DUP3 PUSH2 0xC6A JUMP JUMPDEST PUSH1 0x0 PUSH2 0x3D2 DUP3 SLOAD PUSH2 0xC2F JUMP JUMPDEST PUSH1 0xF8 SHL SWAP1 JUMP JUMPDEST PUSH1 0x60 SHL SWAP1 JUMP JUMPDEST PUSH2 0xC7F DUP2 PUSH2 0xBD9 JUMP JUMPDEST DUP2 EQ PUSH2 0xC8A JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST POP JUMP JUMPDEST PUSH1 0x2 DUP2 LT PUSH2 0xC8A JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST PUSH2 0xC7F DUP2 PUSH2 0x2C1 JUMP INVALID LOG3 PUSH6 0x627A7A723158 KECCAK256 0x2a LOG0 0xf8 0x2b SWAP2 NOT 0xb6 MOD 0xb1 LOG2 STATICCALL 0xb6 0xdf MULMOD 0xf8 CALLCODE 0xd0 0xce SWAP11 ISZERO SELFDESTRUCT 0x28 PUSH21 0x9F952FF90E1F5761DD6C6578706572696D656E7461 PUSH13 0xF564736F6C634300050B004000 ", | ||
"sourceMap": "545:3786:27:-;;;;8:9:-1;5:2;;;30:1;27;20:12;5:2;545:3786:27;;;;;;;" | ||
"object": "608060405234801561001057600080fd5b50610d6e806100206000396000f3fe60806040526004361061003f5760003560e01c8063300c661f1461004157806358cb5e5a14610077578063a0e67e2b14610097578063bd5b853b146100b9575b005b34801561004d57600080fd5b5061006161005c36600461068d565b6100d9565b60405161006e9190610b0b565b60405180910390f35b34801561008357600080fd5b5061003f610092366004610706565b610126565b3480156100a357600080fd5b506100ac610291565b60405161006e9190610af3565b3480156100c557600080fd5b5061003f6100d43660046107ab565b6102f4565b6000601960f81b60028686868660018111156100f157fe5b60405160200161010696959493929190610a91565b604051602081830303815290604052805190602001209050949350505050565b6000610134868686866100d9565b60008181526001602052604090205490915060ff161561016f5760405162461bcd60e51b815260040161016690610b67565b60405180910390fd5b6000805b600254811015610260576101a384828151811061018c57fe5b60200260200101518461032b90919063ffffffff16565b6001600160a01b0316600282815481106101b957fe5b6000918252602090912001546001600160a01b0316146101eb5760405162461bcd60e51b815260040161016690610b77565b816001600160a01b03166002828154811061020257fe5b6000918252602090912001546001600160a01b0316116102345760405162461bcd60e51b815260040161016690610b87565b6002818154811061024157fe5b6000918252602090912001546001600160a01b03169150600101610173565b5061026d87878787610408565b506000908152600160208190526040909120805460ff191690911790555050505050565b606060028054806020026020016040519081016040528092919081815260200182805480156102e957602002820191906000526020600020905b81546001600160a01b031681526001909101906020018083116102cb575b505050505090505b90565b600254156103145760405162461bcd60e51b815260040161016690610ba7565b80516103279060029060208401906104b8565b5050565b6000815160411461033e57506000610402565b60208201516040830151606084015160001a7f7fffffffffffffffffffffffffffffff5d576e7357a4501ddfe92f46681b20a08211156103845760009350505050610402565b8060ff16601b1415801561039c57508060ff16601c14155b156103ad5760009350505050610402565b600186828585604051600081526020016040526040516103d09493929190610b19565b6020604051602081039080840390855afa1580156103f2573d6000803e3d6000fd5b5050506020604051035193505050505b92915050565b600081600181111561041657fe5b141561044857610427848484610488565b6104435760405162461bcd60e51b815260040161016690610b57565b610482565b600181600181111561045657fe5b14156104825761046684836104a1565b6104825760405162461bcd60e51b815260040161016690610b97565b50505050565b60008060008351602085018688600019f1949350505050565b600080600083516020850186600019f49392505050565b82805482825590600052602060002090810192821561050d579160200282015b8281111561050d57825182546001600160a01b0319166001600160a01b039091161782556020909201916001909101906104d8565b5061051992915061051d565b5090565b6102f191905b808211156105195780546001600160a01b0319168155600101610523565b803561040281610cfe565b600082601f83011261055d57600080fd5b813561057061056b82610bde565b610bb7565b9150818183526020840193506020810190508385602084028201111561059557600080fd5b60005b838110156105c157816105ab8882610541565b8452506020928301929190910190600101610598565b5050505092915050565b600082601f8301126105dc57600080fd5b81356105ea61056b82610bde565b81815260209384019390925082018360005b838110156105c157813586016106128882610628565b84525060209283019291909101906001016105fc565b600082601f83011261063957600080fd5b813561064761056b82610bff565b9150808252602083016020830185838301111561066357600080fd5b61066e838284610c7f565b50505092915050565b803561040281610d15565b803561040281610d22565b600080600080608085870312156106a357600080fd5b60006106af8787610541565b94505060206106c087828801610682565b935050604085013567ffffffffffffffff8111156106dd57600080fd5b6106e987828801610628565b92505060606106fa87828801610677565b91505092959194509250565b600080600080600060a0868803121561071e57600080fd5b600061072a8888610541565b955050602061073b88828901610682565b945050604086013567ffffffffffffffff81111561075857600080fd5b61076488828901610628565b935050606061077588828901610677565b925050608086013567ffffffffffffffff81111561079257600080fd5b61079e888289016105cb565b9150509295509295909350565b6000602082840312156107bd57600080fd5b813567ffffffffffffffff8111156107d457600080fd5b6107e08482850161054c565b949350505050565b60006107f483836107fc565b505060200190565b61080581610c61565b82525050565b61080561081782610c61565b610cca565b600061082782610c39565b6108318185610c47565b935061083c83610c27565b8060005b8381101561086a57815161085488826107e8565b975061085f83610c27565b925050600101610840565b509495945050505050565b600061088082610c3d565b61088a8185610c50565b935061089583610c2d565b8060005b8381101561086a576108aa82610ce6565b6108b488826107e8565b97506108bf83610c41565b925050600101610899565b6108056108d682610c6c565b6102f1565b610805816102f1565b60006108ef82610c39565b6108f98185610c50565b9350610909818560208601610c8b565b9290920192915050565b6000610920601283610c47565b71195e1958dd5d1950d85b1b0819985a5b195960721b815260200192915050565b600061094e602683610c47565b7f5472616e7361636174696f6e2068617320616c7265616479206265656e2065788152651958dd5d195960d21b602082015260400192915050565b6000610996601183610c47565b70496e76616c6964207369676e617475726560781b815260200192915050565b60006109c3602183610c47565b7f5369676e657273206e6f7420696e20616c7068616e756d65726963206f7264658152603960f91b602082015260400192915050565b6000610a06601a83610c47565b7f6578656375746544656c656761746543616c6c206661696c6564000000000000815260200192915050565b6000610a3f601f83610c47565b7f436f6e747261637420686173206265656e20736574207570206265666f726500815260200192915050565b6108056108d6826102f1565b61080581610c79565b610805610a8c82610c79565b610cdb565b6000610a9d82896108ca565b600182019150610aad8288610875565b9150610ab9828761080b565b601482019150610ac98286610a6b565b602082019150610ad982856108e4565b9150610ae58284610a80565b506001019695505050505050565b60208082528101610b04818461081c565b9392505050565b6020810161040282846108db565b60808101610b2782876108db565b610b346020830186610a77565b610b4160408301856108db565b610b4e60608301846108db565b95945050505050565b6020808252810161040281610913565b6020808252810161040281610941565b6020808252810161040281610989565b60208082528101610402816109b6565b60208082528101610402816109f9565b6020808252810161040281610a32565b60405181810167ffffffffffffffff81118282101715610bd657600080fd5b604052919050565b600067ffffffffffffffff821115610bf557600080fd5b5060209081020190565b600067ffffffffffffffff821115610c1657600080fd5b506020601f91909101601f19160190565b60200190565b60009081526020902090565b5190565b5490565b60010190565b90815260200190565b919050565b6001600160a01b031690565b600061040282610c55565b6001600160f81b03191690565b60ff1690565b82818337506000910152565b60005b83811015610ca6578181015183820152602001610c8e565b838111156104825750506000910152565b6000610402610cc5836102f1565b610c55565b600061040282600061040282610cf8565b600061040282610cf2565b60006104028254610cb7565b60f81b90565b60601b90565b610d0781610c61565b8114610d1257600080fd5b50565b60028110610d1257600080fd5b610d07816102f156fea365627a7a72315820abfe2a6a50c7b53cba1e29e27cfc502ea73b9e415bc1dfff9b76c7e331bc82c16c6578706572696d656e74616cf564736f6c634300050b0040", | ||
"opcodes": "PUSH1 0x80 PUSH1 0x40 MSTORE CALLVALUE DUP1 ISZERO PUSH2 0x10 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST POP PUSH2 0xD6E DUP1 PUSH2 0x20 PUSH1 0x0 CODECOPY PUSH1 0x0 RETURN INVALID PUSH1 0x80 PUSH1 0x40 MSTORE PUSH1 0x4 CALLDATASIZE LT PUSH2 0x3F JUMPI PUSH1 0x0 CALLDATALOAD PUSH1 0xE0 SHR DUP1 PUSH4 0x300C661F EQ PUSH2 0x41 JUMPI DUP1 PUSH4 0x58CB5E5A EQ PUSH2 0x77 JUMPI DUP1 PUSH4 0xA0E67E2B EQ PUSH2 0x97 JUMPI DUP1 PUSH4 0xBD5B853B EQ PUSH2 0xB9 JUMPI JUMPDEST STOP JUMPDEST CALLVALUE DUP1 ISZERO PUSH2 0x4D JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST POP PUSH2 0x61 PUSH2 0x5C CALLDATASIZE PUSH1 0x4 PUSH2 0x68D JUMP JUMPDEST PUSH2 0xD9 JUMP JUMPDEST PUSH1 0x40 MLOAD PUSH2 0x6E SWAP2 SWAP1 PUSH2 0xB0B JUMP JUMPDEST PUSH1 0x40 MLOAD DUP1 SWAP2 SUB SWAP1 RETURN JUMPDEST CALLVALUE DUP1 ISZERO PUSH2 0x83 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST POP PUSH2 0x3F PUSH2 0x92 CALLDATASIZE PUSH1 0x4 PUSH2 0x706 JUMP JUMPDEST PUSH2 0x126 JUMP JUMPDEST CALLVALUE DUP1 ISZERO PUSH2 0xA3 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST POP PUSH2 0xAC PUSH2 0x291 JUMP JUMPDEST PUSH1 0x40 MLOAD PUSH2 0x6E SWAP2 SWAP1 PUSH2 0xAF3 JUMP JUMPDEST CALLVALUE DUP1 ISZERO PUSH2 0xC5 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST POP PUSH2 0x3F PUSH2 0xD4 CALLDATASIZE PUSH1 0x4 PUSH2 0x7AB JUMP JUMPDEST PUSH2 0x2F4 JUMP JUMPDEST PUSH1 0x0 PUSH1 0x19 PUSH1 0xF8 SHL PUSH1 0x2 DUP7 DUP7 DUP7 DUP7 PUSH1 0x1 DUP2 GT ISZERO PUSH2 0xF1 JUMPI INVALID JUMPDEST PUSH1 0x40 MLOAD PUSH1 0x20 ADD PUSH2 0x106 SWAP7 SWAP6 SWAP5 SWAP4 SWAP3 SWAP2 SWAP1 PUSH2 0xA91 JUMP JUMPDEST PUSH1 0x40 MLOAD PUSH1 0x20 DUP2 DUP4 SUB SUB DUP2 MSTORE SWAP1 PUSH1 0x40 MSTORE DUP1 MLOAD SWAP1 PUSH1 0x20 ADD KECCAK256 SWAP1 POP SWAP5 SWAP4 POP POP POP POP JUMP JUMPDEST PUSH1 0x0 PUSH2 0x134 DUP7 DUP7 DUP7 DUP7 PUSH2 0xD9 JUMP JUMPDEST PUSH1 0x0 DUP2 DUP2 MSTORE PUSH1 0x1 PUSH1 0x20 MSTORE PUSH1 0x40 SWAP1 KECCAK256 SLOAD SWAP1 SWAP2 POP PUSH1 0xFF AND ISZERO PUSH2 0x16F JUMPI PUSH1 0x40 MLOAD PUSH3 0x461BCD PUSH1 0xE5 SHL DUP2 MSTORE PUSH1 0x4 ADD PUSH2 0x166 SWAP1 PUSH2 0xB67 JUMP JUMPDEST PUSH1 0x40 MLOAD DUP1 SWAP2 SUB SWAP1 REVERT JUMPDEST PUSH1 0x0 DUP1 JUMPDEST PUSH1 0x2 SLOAD DUP2 LT ISZERO PUSH2 0x260 JUMPI PUSH2 0x1A3 DUP5 DUP3 DUP2 MLOAD DUP2 LT PUSH2 0x18C JUMPI INVALID JUMPDEST PUSH1 0x20 MUL PUSH1 0x20 ADD ADD MLOAD DUP5 PUSH2 0x32B SWAP1 SWAP2 SWAP1 PUSH4 0xFFFFFFFF AND JUMP JUMPDEST PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB AND PUSH1 0x2 DUP3 DUP2 SLOAD DUP2 LT PUSH2 0x1B9 JUMPI INVALID JUMPDEST PUSH1 0x0 SWAP2 DUP3 MSTORE PUSH1 0x20 SWAP1 SWAP2 KECCAK256 ADD SLOAD PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB AND EQ PUSH2 0x1EB JUMPI PUSH1 0x40 MLOAD PUSH3 0x461BCD PUSH1 0xE5 SHL DUP2 MSTORE PUSH1 0x4 ADD PUSH2 0x166 SWAP1 PUSH2 0xB77 JUMP JUMPDEST DUP2 PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB AND PUSH1 0x2 DUP3 DUP2 SLOAD DUP2 LT PUSH2 0x202 JUMPI INVALID JUMPDEST PUSH1 0x0 SWAP2 DUP3 MSTORE PUSH1 0x20 SWAP1 SWAP2 KECCAK256 ADD SLOAD PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB AND GT PUSH2 0x234 JUMPI PUSH1 0x40 MLOAD PUSH3 0x461BCD PUSH1 0xE5 SHL DUP2 MSTORE PUSH1 0x4 ADD PUSH2 0x166 SWAP1 PUSH2 0xB87 JUMP JUMPDEST PUSH1 0x2 DUP2 DUP2 SLOAD DUP2 LT PUSH2 0x241 JUMPI INVALID JUMPDEST PUSH1 0x0 SWAP2 DUP3 MSTORE PUSH1 0x20 SWAP1 SWAP2 KECCAK256 ADD SLOAD PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB AND SWAP2 POP PUSH1 0x1 ADD PUSH2 0x173 JUMP JUMPDEST POP PUSH2 0x26D DUP8 DUP8 DUP8 DUP8 PUSH2 0x408 JUMP JUMPDEST POP PUSH1 0x0 SWAP1 DUP2 MSTORE PUSH1 0x1 PUSH1 0x20 DUP2 SWAP1 MSTORE PUSH1 0x40 SWAP1 SWAP2 KECCAK256 DUP1 SLOAD PUSH1 0xFF NOT AND SWAP1 SWAP2 OR SWAP1 SSTORE POP POP POP POP POP JUMP JUMPDEST PUSH1 0x60 PUSH1 0x2 DUP1 SLOAD DUP1 PUSH1 0x20 MUL PUSH1 0x20 ADD PUSH1 0x40 MLOAD SWAP1 DUP2 ADD PUSH1 0x40 MSTORE DUP1 SWAP3 SWAP2 SWAP1 DUP2 DUP2 MSTORE PUSH1 0x20 ADD DUP3 DUP1 SLOAD DUP1 ISZERO PUSH2 0x2E9 JUMPI PUSH1 0x20 MUL DUP3 ADD SWAP2 SWAP1 PUSH1 0x0 MSTORE PUSH1 0x20 PUSH1 0x0 KECCAK256 SWAP1 JUMPDEST DUP2 SLOAD PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB AND DUP2 MSTORE PUSH1 0x1 SWAP1 SWAP2 ADD SWAP1 PUSH1 0x20 ADD DUP1 DUP4 GT PUSH2 0x2CB JUMPI JUMPDEST POP POP POP POP POP SWAP1 POP JUMPDEST SWAP1 JUMP JUMPDEST PUSH1 0x2 SLOAD ISZERO PUSH2 0x314 JUMPI PUSH1 0x40 MLOAD PUSH3 0x461BCD PUSH1 0xE5 SHL DUP2 MSTORE PUSH1 0x4 ADD PUSH2 0x166 SWAP1 PUSH2 0xBA7 JUMP JUMPDEST DUP1 MLOAD PUSH2 0x327 SWAP1 PUSH1 0x2 SWAP1 PUSH1 0x20 DUP5 ADD SWAP1 PUSH2 0x4B8 JUMP JUMPDEST POP POP JUMP JUMPDEST PUSH1 0x0 DUP2 MLOAD PUSH1 0x41 EQ PUSH2 0x33E JUMPI POP PUSH1 0x0 PUSH2 0x402 JUMP JUMPDEST PUSH1 0x20 DUP3 ADD MLOAD PUSH1 0x40 DUP4 ADD MLOAD PUSH1 0x60 DUP5 ADD MLOAD PUSH1 0x0 BYTE PUSH32 0x7FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF5D576E7357A4501DDFE92F46681B20A0 DUP3 GT ISZERO PUSH2 0x384 JUMPI PUSH1 0x0 SWAP4 POP POP POP POP PUSH2 0x402 JUMP JUMPDEST DUP1 PUSH1 0xFF AND PUSH1 0x1B EQ ISZERO DUP1 ISZERO PUSH2 0x39C JUMPI POP DUP1 PUSH1 0xFF AND PUSH1 0x1C EQ ISZERO JUMPDEST ISZERO PUSH2 0x3AD JUMPI PUSH1 0x0 SWAP4 POP POP POP POP PUSH2 0x402 JUMP JUMPDEST PUSH1 0x1 DUP7 DUP3 DUP6 DUP6 PUSH1 0x40 MLOAD PUSH1 0x0 DUP2 MSTORE PUSH1 0x20 ADD PUSH1 0x40 MSTORE PUSH1 0x40 MLOAD PUSH2 0x3D0 SWAP5 SWAP4 SWAP3 SWAP2 SWAP1 PUSH2 0xB19 JUMP JUMPDEST PUSH1 0x20 PUSH1 0x40 MLOAD PUSH1 0x20 DUP2 SUB SWAP1 DUP1 DUP5 SUB SWAP1 DUP6 GAS STATICCALL ISZERO DUP1 ISZERO PUSH2 0x3F2 JUMPI RETURNDATASIZE PUSH1 0x0 DUP1 RETURNDATACOPY RETURNDATASIZE PUSH1 0x0 REVERT JUMPDEST POP POP POP PUSH1 0x20 PUSH1 0x40 MLOAD SUB MLOAD SWAP4 POP POP POP POP JUMPDEST SWAP3 SWAP2 POP POP JUMP JUMPDEST PUSH1 0x0 DUP2 PUSH1 0x1 DUP2 GT ISZERO PUSH2 0x416 JUMPI INVALID JUMPDEST EQ ISZERO PUSH2 0x448 JUMPI PUSH2 0x427 DUP5 DUP5 DUP5 PUSH2 0x488 JUMP JUMPDEST PUSH2 0x443 JUMPI PUSH1 0x40 MLOAD PUSH3 0x461BCD PUSH1 0xE5 SHL DUP2 MSTORE PUSH1 0x4 ADD PUSH2 0x166 SWAP1 PUSH2 0xB57 JUMP JUMPDEST PUSH2 0x482 JUMP JUMPDEST PUSH1 0x1 DUP2 PUSH1 0x1 DUP2 GT ISZERO PUSH2 0x456 JUMPI INVALID JUMPDEST EQ ISZERO PUSH2 0x482 JUMPI PUSH2 0x466 DUP5 DUP4 PUSH2 0x4A1 JUMP JUMPDEST PUSH2 0x482 JUMPI PUSH1 0x40 MLOAD PUSH3 0x461BCD PUSH1 0xE5 SHL DUP2 MSTORE PUSH1 0x4 ADD PUSH2 0x166 SWAP1 PUSH2 0xB97 JUMP JUMPDEST POP POP POP POP JUMP JUMPDEST PUSH1 0x0 DUP1 PUSH1 0x0 DUP4 MLOAD PUSH1 0x20 DUP6 ADD DUP7 DUP9 PUSH1 0x0 NOT CALL SWAP5 SWAP4 POP POP POP POP JUMP JUMPDEST PUSH1 0x0 DUP1 PUSH1 0x0 DUP4 MLOAD PUSH1 0x20 DUP6 ADD DUP7 PUSH1 0x0 NOT DELEGATECALL SWAP4 SWAP3 POP POP POP JUMP JUMPDEST DUP3 DUP1 SLOAD DUP3 DUP3 SSTORE SWAP1 PUSH1 0x0 MSTORE PUSH1 0x20 PUSH1 0x0 KECCAK256 SWAP1 DUP2 ADD SWAP3 DUP3 ISZERO PUSH2 0x50D JUMPI SWAP2 PUSH1 0x20 MUL DUP3 ADD JUMPDEST DUP3 DUP2 GT ISZERO PUSH2 0x50D JUMPI DUP3 MLOAD DUP3 SLOAD PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB NOT AND PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB SWAP1 SWAP2 AND OR DUP3 SSTORE PUSH1 0x20 SWAP1 SWAP3 ADD SWAP2 PUSH1 0x1 SWAP1 SWAP2 ADD SWAP1 PUSH2 0x4D8 JUMP JUMPDEST POP PUSH2 0x519 SWAP3 SWAP2 POP PUSH2 0x51D JUMP JUMPDEST POP SWAP1 JUMP JUMPDEST PUSH2 0x2F1 SWAP2 SWAP1 JUMPDEST DUP1 DUP3 GT ISZERO PUSH2 0x519 JUMPI DUP1 SLOAD PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB NOT AND DUP2 SSTORE PUSH1 0x1 ADD PUSH2 0x523 JUMP JUMPDEST DUP1 CALLDATALOAD PUSH2 0x402 DUP2 PUSH2 0xCFE JUMP JUMPDEST PUSH1 0x0 DUP3 PUSH1 0x1F DUP4 ADD SLT PUSH2 0x55D JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST DUP2 CALLDATALOAD PUSH2 0x570 PUSH2 0x56B DUP3 PUSH2 0xBDE JUMP JUMPDEST PUSH2 0xBB7 JUMP JUMPDEST SWAP2 POP DUP2 DUP2 DUP4 MSTORE PUSH1 0x20 DUP5 ADD SWAP4 POP PUSH1 0x20 DUP2 ADD SWAP1 POP DUP4 DUP6 PUSH1 0x20 DUP5 MUL DUP3 ADD GT ISZERO PUSH2 0x595 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST PUSH1 0x0 JUMPDEST DUP4 DUP2 LT ISZERO PUSH2 0x5C1 JUMPI DUP2 PUSH2 0x5AB DUP9 DUP3 PUSH2 0x541 JUMP JUMPDEST DUP5 MSTORE POP PUSH1 0x20 SWAP3 DUP4 ADD SWAP3 SWAP2 SWAP1 SWAP2 ADD SWAP1 PUSH1 0x1 ADD PUSH2 0x598 JUMP JUMPDEST POP POP POP POP SWAP3 SWAP2 POP POP JUMP JUMPDEST PUSH1 0x0 DUP3 PUSH1 0x1F DUP4 ADD SLT PUSH2 0x5DC JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST DUP2 CALLDATALOAD PUSH2 0x5EA PUSH2 0x56B DUP3 PUSH2 0xBDE JUMP JUMPDEST DUP2 DUP2 MSTORE PUSH1 0x20 SWAP4 DUP5 ADD SWAP4 SWAP1 SWAP3 POP DUP3 ADD DUP4 PUSH1 0x0 JUMPDEST DUP4 DUP2 LT ISZERO PUSH2 0x5C1 JUMPI DUP2 CALLDATALOAD DUP7 ADD PUSH2 0x612 DUP9 DUP3 PUSH2 0x628 JUMP JUMPDEST DUP5 MSTORE POP PUSH1 0x20 SWAP3 DUP4 ADD SWAP3 SWAP2 SWAP1 SWAP2 ADD SWAP1 PUSH1 0x1 ADD PUSH2 0x5FC JUMP JUMPDEST PUSH1 0x0 DUP3 PUSH1 0x1F DUP4 ADD SLT PUSH2 0x639 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST DUP2 CALLDATALOAD PUSH2 0x647 PUSH2 0x56B DUP3 PUSH2 0xBFF JUMP JUMPDEST SWAP2 POP DUP1 DUP3 MSTORE PUSH1 0x20 DUP4 ADD PUSH1 0x20 DUP4 ADD DUP6 DUP4 DUP4 ADD GT ISZERO PUSH2 0x663 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST PUSH2 0x66E DUP4 DUP3 DUP5 PUSH2 0xC7F JUMP JUMPDEST POP POP POP SWAP3 SWAP2 POP POP JUMP JUMPDEST DUP1 CALLDATALOAD PUSH2 0x402 DUP2 PUSH2 0xD15 JUMP JUMPDEST DUP1 CALLDATALOAD PUSH2 0x402 DUP2 PUSH2 0xD22 JUMP JUMPDEST PUSH1 0x0 DUP1 PUSH1 0x0 DUP1 PUSH1 0x80 DUP6 DUP8 SUB SLT ISZERO PUSH2 0x6A3 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST PUSH1 0x0 PUSH2 0x6AF DUP8 DUP8 PUSH2 0x541 JUMP JUMPDEST SWAP5 POP POP PUSH1 0x20 PUSH2 0x6C0 DUP8 DUP3 DUP9 ADD PUSH2 0x682 JUMP JUMPDEST SWAP4 POP POP PUSH1 0x40 DUP6 ADD CALLDATALOAD PUSH8 0xFFFFFFFFFFFFFFFF DUP2 GT ISZERO PUSH2 0x6DD JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST PUSH2 0x6E9 DUP8 DUP3 DUP9 ADD PUSH2 0x628 JUMP JUMPDEST SWAP3 POP POP PUSH1 0x60 PUSH2 0x6FA DUP8 DUP3 DUP9 ADD PUSH2 0x677 JUMP JUMPDEST SWAP2 POP POP SWAP3 SWAP6 SWAP2 SWAP5 POP SWAP3 POP JUMP JUMPDEST PUSH1 0x0 DUP1 PUSH1 0x0 DUP1 PUSH1 0x0 PUSH1 0xA0 DUP7 DUP9 SUB SLT ISZERO PUSH2 0x71E JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST PUSH1 0x0 PUSH2 0x72A DUP9 DUP9 PUSH2 0x541 JUMP JUMPDEST SWAP6 POP POP PUSH1 0x20 PUSH2 0x73B DUP9 DUP3 DUP10 ADD PUSH2 0x682 JUMP JUMPDEST SWAP5 POP POP PUSH1 0x40 DUP7 ADD CALLDATALOAD PUSH8 0xFFFFFFFFFFFFFFFF DUP2 GT ISZERO PUSH2 0x758 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST PUSH2 0x764 DUP9 DUP3 DUP10 ADD PUSH2 0x628 JUMP JUMPDEST SWAP4 POP POP PUSH1 0x60 PUSH2 0x775 DUP9 DUP3 DUP10 ADD PUSH2 0x677 JUMP JUMPDEST SWAP3 POP POP PUSH1 0x80 DUP7 ADD CALLDATALOAD PUSH8 0xFFFFFFFFFFFFFFFF DUP2 GT ISZERO PUSH2 0x792 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST PUSH2 0x79E DUP9 DUP3 DUP10 ADD PUSH2 0x5CB JUMP JUMPDEST SWAP2 POP POP SWAP3 SWAP6 POP SWAP3 SWAP6 SWAP1 SWAP4 POP JUMP JUMPDEST PUSH1 0x0 PUSH1 0x20 DUP3 DUP5 SUB SLT ISZERO PUSH2 0x7BD JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST DUP2 CALLDATALOAD PUSH8 0xFFFFFFFFFFFFFFFF DUP2 GT ISZERO PUSH2 0x7D4 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST PUSH2 0x7E0 DUP5 DUP3 DUP6 ADD PUSH2 0x54C JUMP JUMPDEST SWAP5 SWAP4 POP POP POP POP JUMP JUMPDEST PUSH1 0x0 PUSH2 0x7F4 DUP4 DUP4 PUSH2 0x7FC JUMP JUMPDEST POP POP PUSH1 0x20 ADD SWAP1 JUMP JUMPDEST PUSH2 0x805 DUP2 PUSH2 0xC61 JUMP JUMPDEST DUP3 MSTORE POP POP JUMP JUMPDEST PUSH2 0x805 PUSH2 0x817 DUP3 PUSH2 0xC61 JUMP JUMPDEST PUSH2 0xCCA JUMP JUMPDEST PUSH1 0x0 PUSH2 0x827 DUP3 PUSH2 0xC39 JUMP JUMPDEST PUSH2 0x831 DUP2 DUP6 PUSH2 0xC47 JUMP JUMPDEST SWAP4 POP PUSH2 0x83C DUP4 PUSH2 0xC27 JUMP JUMPDEST DUP1 PUSH1 0x0 JUMPDEST DUP4 DUP2 LT ISZERO PUSH2 0x86A JUMPI DUP2 MLOAD PUSH2 0x854 DUP9 DUP3 PUSH2 0x7E8 JUMP JUMPDEST SWAP8 POP PUSH2 0x85F DUP4 PUSH2 0xC27 JUMP JUMPDEST SWAP3 POP POP PUSH1 0x1 ADD PUSH2 0x840 JUMP JUMPDEST POP SWAP5 SWAP6 SWAP5 POP POP POP POP POP JUMP JUMPDEST PUSH1 0x0 PUSH2 0x880 DUP3 PUSH2 0xC3D JUMP JUMPDEST PUSH2 0x88A DUP2 DUP6 PUSH2 0xC50 JUMP JUMPDEST SWAP4 POP PUSH2 0x895 DUP4 PUSH2 0xC2D JUMP JUMPDEST DUP1 PUSH1 0x0 JUMPDEST DUP4 DUP2 LT ISZERO PUSH2 0x86A JUMPI PUSH2 0x8AA DUP3 PUSH2 0xCE6 JUMP JUMPDEST PUSH2 0x8B4 DUP9 DUP3 PUSH2 0x7E8 JUMP JUMPDEST SWAP8 POP PUSH2 0x8BF DUP4 PUSH2 0xC41 JUMP JUMPDEST SWAP3 POP POP PUSH1 0x1 ADD PUSH2 0x899 JUMP JUMPDEST PUSH2 0x805 PUSH2 0x8D6 DUP3 PUSH2 0xC6C JUMP JUMPDEST PUSH2 0x2F1 JUMP JUMPDEST PUSH2 0x805 DUP2 PUSH2 0x2F1 JUMP JUMPDEST PUSH1 0x0 PUSH2 0x8EF DUP3 PUSH2 0xC39 JUMP JUMPDEST PUSH2 0x8F9 DUP2 DUP6 PUSH2 0xC50 JUMP JUMPDEST SWAP4 POP PUSH2 0x909 DUP2 DUP6 PUSH1 0x20 DUP7 ADD PUSH2 0xC8B JUMP JUMPDEST SWAP3 SWAP1 SWAP3 ADD SWAP3 SWAP2 POP POP JUMP JUMPDEST PUSH1 0x0 PUSH2 0x920 PUSH1 0x12 DUP4 PUSH2 0xC47 JUMP JUMPDEST PUSH18 0x195E1958DD5D1950D85B1B0819985A5B1959 PUSH1 0x72 SHL DUP2 MSTORE PUSH1 0x20 ADD SWAP3 SWAP2 POP POP JUMP JUMPDEST PUSH1 0x0 PUSH2 0x94E PUSH1 0x26 DUP4 PUSH2 0xC47 JUMP JUMPDEST PUSH32 0x5472616E7361636174696F6E2068617320616C7265616479206265656E206578 DUP2 MSTORE PUSH6 0x1958DD5D1959 PUSH1 0xD2 SHL PUSH1 0x20 DUP3 ADD MSTORE PUSH1 0x40 ADD SWAP3 SWAP2 POP POP JUMP JUMPDEST PUSH1 0x0 PUSH2 0x996 PUSH1 0x11 DUP4 PUSH2 0xC47 JUMP JUMPDEST PUSH17 0x496E76616C6964207369676E6174757265 PUSH1 0x78 SHL DUP2 MSTORE PUSH1 0x20 ADD SWAP3 SWAP2 POP POP JUMP JUMPDEST PUSH1 0x0 PUSH2 0x9C3 PUSH1 0x21 DUP4 PUSH2 0xC47 JUMP JUMPDEST PUSH32 0x5369676E657273206E6F7420696E20616C7068616E756D65726963206F726465 DUP2 MSTORE PUSH1 0x39 PUSH1 0xF9 SHL PUSH1 0x20 DUP3 ADD MSTORE PUSH1 0x40 ADD SWAP3 SWAP2 POP POP JUMP JUMPDEST PUSH1 0x0 PUSH2 0xA06 PUSH1 0x1A DUP4 PUSH2 0xC47 JUMP JUMPDEST PUSH32 0x6578656375746544656C656761746543616C6C206661696C6564000000000000 DUP2 MSTORE PUSH1 0x20 ADD SWAP3 SWAP2 POP POP JUMP JUMPDEST PUSH1 0x0 PUSH2 0xA3F PUSH1 0x1F DUP4 PUSH2 0xC47 JUMP JUMPDEST PUSH32 0x436F6E747261637420686173206265656E20736574207570206265666F726500 DUP2 MSTORE PUSH1 0x20 ADD SWAP3 SWAP2 POP POP JUMP JUMPDEST PUSH2 0x805 PUSH2 0x8D6 DUP3 PUSH2 0x2F1 JUMP JUMPDEST PUSH2 0x805 DUP2 PUSH2 0xC79 JUMP JUMPDEST PUSH2 0x805 PUSH2 0xA8C DUP3 PUSH2 0xC79 JUMP JUMPDEST PUSH2 0xCDB JUMP JUMPDEST PUSH1 0x0 PUSH2 0xA9D DUP3 DUP10 PUSH2 0x8CA JUMP JUMPDEST PUSH1 0x1 DUP3 ADD SWAP2 POP PUSH2 0xAAD DUP3 DUP9 PUSH2 0x875 JUMP JUMPDEST SWAP2 POP PUSH2 0xAB9 DUP3 DUP8 PUSH2 0x80B JUMP JUMPDEST PUSH1 0x14 DUP3 ADD SWAP2 POP PUSH2 0xAC9 DUP3 DUP7 PUSH2 0xA6B JUMP JUMPDEST PUSH1 0x20 DUP3 ADD SWAP2 POP PUSH2 0xAD9 DUP3 DUP6 PUSH2 0x8E4 JUMP JUMPDEST SWAP2 POP PUSH2 0xAE5 DUP3 DUP5 PUSH2 0xA80 JUMP JUMPDEST POP PUSH1 0x1 ADD SWAP7 SWAP6 POP POP POP POP POP POP JUMP JUMPDEST PUSH1 0x20 DUP1 DUP3 MSTORE DUP2 ADD PUSH2 0xB04 DUP2 DUP5 PUSH2 0x81C JUMP JUMPDEST SWAP4 SWAP3 POP POP POP JUMP JUMPDEST PUSH1 0x20 DUP2 ADD PUSH2 0x402 DUP3 DUP5 PUSH2 0x8DB JUMP JUMPDEST PUSH1 0x80 DUP2 ADD PUSH2 0xB27 DUP3 DUP8 PUSH2 0x8DB JUMP JUMPDEST PUSH2 0xB34 PUSH1 0x20 DUP4 ADD DUP7 PUSH2 0xA77 JUMP JUMPDEST PUSH2 0xB41 PUSH1 0x40 DUP4 ADD DUP6 PUSH2 0x8DB JUMP JUMPDEST PUSH2 0xB4E PUSH1 0x60 DUP4 ADD DUP5 PUSH2 0x8DB JUMP JUMPDEST SWAP6 SWAP5 POP POP POP POP POP JUMP JUMPDEST PUSH1 0x20 DUP1 DUP3 MSTORE DUP2 ADD PUSH2 0x402 DUP2 PUSH2 0x913 JUMP JUMPDEST PUSH1 0x20 DUP1 DUP3 MSTORE DUP2 ADD PUSH2 0x402 DUP2 PUSH2 0x941 JUMP JUMPDEST PUSH1 0x20 DUP1 DUP3 MSTORE DUP2 ADD PUSH2 0x402 DUP2 PUSH2 0x989 JUMP JUMPDEST PUSH1 0x20 DUP1 DUP3 MSTORE DUP2 ADD PUSH2 0x402 DUP2 PUSH2 0x9B6 JUMP JUMPDEST PUSH1 0x20 DUP1 DUP3 MSTORE DUP2 ADD PUSH2 0x402 DUP2 PUSH2 0x9F9 JUMP JUMPDEST PUSH1 0x20 DUP1 DUP3 MSTORE DUP2 ADD PUSH2 0x402 DUP2 PUSH2 0xA32 JUMP JUMPDEST PUSH1 0x40 MLOAD DUP2 DUP2 ADD PUSH8 0xFFFFFFFFFFFFFFFF DUP2 GT DUP3 DUP3 LT OR ISZERO PUSH2 0xBD6 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST PUSH1 0x40 MSTORE SWAP2 SWAP1 POP JUMP JUMPDEST PUSH1 0x0 PUSH8 0xFFFFFFFFFFFFFFFF DUP3 GT ISZERO PUSH2 0xBF5 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST POP PUSH1 0x20 SWAP1 DUP2 MUL ADD SWAP1 JUMP JUMPDEST PUSH1 0x0 PUSH8 0xFFFFFFFFFFFFFFFF DUP3 GT ISZERO PUSH2 0xC16 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST POP PUSH1 0x20 PUSH1 0x1F SWAP2 SWAP1 SWAP2 ADD PUSH1 0x1F NOT AND ADD SWAP1 JUMP JUMPDEST PUSH1 0x20 ADD SWAP1 JUMP JUMPDEST PUSH1 0x0 SWAP1 DUP2 MSTORE PUSH1 0x20 SWAP1 KECCAK256 SWAP1 JUMP JUMPDEST MLOAD SWAP1 JUMP JUMPDEST SLOAD SWAP1 JUMP JUMPDEST PUSH1 0x1 ADD SWAP1 JUMP JUMPDEST SWAP1 DUP2 MSTORE PUSH1 0x20 ADD SWAP1 JUMP JUMPDEST SWAP2 SWAP1 POP JUMP JUMPDEST PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB AND SWAP1 JUMP JUMPDEST PUSH1 0x0 PUSH2 0x402 DUP3 PUSH2 0xC55 JUMP JUMPDEST PUSH1 0x1 PUSH1 0x1 PUSH1 0xF8 SHL SUB NOT AND SWAP1 JUMP JUMPDEST PUSH1 0xFF AND SWAP1 JUMP JUMPDEST DUP3 DUP2 DUP4 CALLDATACOPY POP PUSH1 0x0 SWAP2 ADD MSTORE JUMP JUMPDEST PUSH1 0x0 JUMPDEST DUP4 DUP2 LT ISZERO PUSH2 0xCA6 JUMPI DUP2 DUP2 ADD MLOAD DUP4 DUP3 ADD MSTORE PUSH1 0x20 ADD PUSH2 0xC8E JUMP JUMPDEST DUP4 DUP2 GT ISZERO PUSH2 0x482 JUMPI POP POP PUSH1 0x0 SWAP2 ADD MSTORE JUMP JUMPDEST PUSH1 0x0 PUSH2 0x402 PUSH2 0xCC5 DUP4 PUSH2 0x2F1 JUMP JUMPDEST PUSH2 0xC55 JUMP JUMPDEST PUSH1 0x0 PUSH2 0x402 DUP3 PUSH1 0x0 PUSH2 0x402 DUP3 PUSH2 0xCF8 JUMP JUMPDEST PUSH1 0x0 PUSH2 0x402 DUP3 PUSH2 0xCF2 JUMP JUMPDEST PUSH1 0x0 PUSH2 0x402 DUP3 SLOAD PUSH2 0xCB7 JUMP JUMPDEST PUSH1 0xF8 SHL SWAP1 JUMP JUMPDEST PUSH1 0x60 SHL SWAP1 JUMP JUMPDEST PUSH2 0xD07 DUP2 PUSH2 0xC61 JUMP JUMPDEST DUP2 EQ PUSH2 0xD12 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST POP JUMP JUMPDEST PUSH1 0x2 DUP2 LT PUSH2 0xD12 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST PUSH2 0xD07 DUP2 PUSH2 0x2F1 JUMP INVALID LOG3 PUSH6 0x627A7A723158 KECCAK256 0xab INVALID 0x2a PUSH11 0x50C7B53CBA1E29E27CFC50 0x2e 0xa7 EXTCODESIZE SWAP15 COINBASE JUMPDEST 0xc1 0xdf SELFDESTRUCT SWAP12 PUSH23 0xC7E331BC82C16C6578706572696D656E74616CF564736F PUSH13 0x634300050B0040000000000000 ", | ||
"sourceMap": "545:3889:27:-;;;;8:9:-1;5:2;;;30:1;27;20:12;5:2;545:3889:27;;;;;;;" | ||
} | ||
}, | ||
"metadata": "{\"compiler\":{\"version\":\"0.5.11+commit.c082d0b4\"},\"language\":\"Solidity\",\"output\":{\"abi\":[{\"constant\":true,\"inputs\":[{\"internalType\":\"address\",\"name\":\"to\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"value\",\"type\":\"uint256\"},{\"internalType\":\"bytes\",\"name\":\"data\",\"type\":\"bytes\"},{\"internalType\":\"enum MinimumViableMultisig.Operation\",\"name\":\"operation\",\"type\":\"uint8\"}],\"name\":\"getTransactionHash\",\"outputs\":[{\"internalType\":\"bytes32\",\"name\":\"\",\"type\":\"bytes32\"}],\"payable\":false,\"stateMutability\":\"view\",\"type\":\"function\"},{\"constant\":false,\"inputs\":[{\"internalType\":\"address\",\"name\":\"to\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"value\",\"type\":\"uint256\"},{\"internalType\":\"bytes\",\"name\":\"data\",\"type\":\"bytes\"},{\"internalType\":\"enum MinimumViableMultisig.Operation\",\"name\":\"operation\",\"type\":\"uint8\"},{\"internalType\":\"bytes[]\",\"name\":\"signatures\",\"type\":\"bytes[]\"}],\"name\":\"execTransaction\",\"outputs\":[],\"payable\":false,\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"constant\":true,\"inputs\":[],\"name\":\"getOwners\",\"outputs\":[{\"internalType\":\"address[]\",\"name\":\"\",\"type\":\"address[]\"}],\"payable\":false,\"stateMutability\":\"view\",\"type\":\"function\"},{\"constant\":false,\"inputs\":[{\"internalType\":\"address[]\",\"name\":\"owners\",\"type\":\"address[]\"}],\"name\":\"setup\",\"outputs\":[],\"payable\":false,\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"payable\":true,\"stateMutability\":\"payable\",\"type\":\"fallback\"}],\"devdoc\":{\"author\":\"Liam Horne - <liam@l4v.io>\",\"methods\":{\"execTransaction(address,uint256,bytes,uint8,bytes[])\":{\"params\":{\"data\":\"Any calldata being sent along with the message call\",\"operation\":\"Specifies whether the message call is a `CALL` or a `DELEGATECALL`\",\"signatures\":\"A sorted bytes string of concatenated signatures of each owner\",\"to\":\"The destination address of the message call\",\"value\":\"The amount of ETH being forwarded in the message call\"}},\"getOwners()\":{\"return\":\"An array of addresses representing the owners\"},\"getTransactionHash(address,uint256,bytes,uint8)\":{\"return\":\"A unique hash that owners are expected to sign and submit to\"},\"setup(address[])\":{\"params\":{\"owners\":\"An array of unique addresses representing the multisig owners\"}}},\"title\":\"MinimumViableMultisig - A multisig wallet supporting the minimum features required for state channels support\"},\"userdoc\":{\"methods\":{\"execTransaction(address,uint256,bytes,uint8,bytes[])\":{\"notice\":\"Execute an n-of-n signed transaction specified by a (to, value, data, op) tuple This transaction is a message call, i.e., either a CALL or a DELEGATECALL, depending on the value of `op`. The arguments `to`, `value`, `data` are passed as arguments to the CALL/DELEGATECALL.\"},\"getOwners()\":{\"notice\":\"A getter function for the owners of the multisig\"},\"getTransactionHash(address,uint256,bytes,uint8)\":{\"notice\":\"Compute a unique transaction hash for a particular (to, value, data, op) tupleNote that two transactions with identical values of (to, value, data, op) are not distinguished.\"},\"setup(address[])\":{\"notice\":\"Contract constructor\"}},\"notice\":\"(a) Executes arbitrary transactions using `CALL` or `DELEGATECALL` (b) Requires n-of-n unanimous consent (c) Does not use on-chain address for signature verification (d) Uses hash-based instead of nonce-based replay protection\"}},\"settings\":{\"compilationTarget\":{\"contracts/state-deposit-holders/MinimumViableMultisig.sol\":\"MinimumViableMultisig\"},\"evmVersion\":\"petersburg\",\"libraries\":{},\"metadata\":{\"useLiteralContent\":true},\"optimizer\":{\"enabled\":true,\"runs\":200},\"remappings\":[]},\"sources\":{\"contracts/state-deposit-holders/MinimumViableMultisig.sol\":{\"content\":\"pragma solidity 0.5.11;\\npragma experimental ABIEncoderV2;\\n\\nimport \\\"openzeppelin-solidity/contracts/cryptography/ECDSA.sol\\\";\\n\\n\\n/// @title MinimumViableMultisig - A multisig wallet supporting the minimum\\n/// features required for state channels support\\n/// @author Liam Horne - <liam@l4v.io>\\n/// @notice\\n/// (a) Executes arbitrary transactions using `CALL` or `DELEGATECALL`\\n/// (b) Requires n-of-n unanimous consent\\n/// (c) Does not use on-chain address for signature verification\\n/// (d) Uses hash-based instead of nonce-based replay protection\\ncontract MinimumViableMultisig {\\n\\n using ECDSA for bytes32;\\n\\n address masterCopy;\\n\\n mapping(bytes32 => bool) isExecuted;\\n\\n address[] private _owners;\\n\\n enum Operation {\\n Call,\\n DelegateCall\\n }\\n\\n function ()\\n external\\n payable\\n {}\\n\\n /// @notice Contract constructor\\n /// @param owners An array of unique addresses representing the multisig owners\\n function setup(address[] memory owners) public {\\n require(_owners.length == 0, \\\"Contract has been set up before\\\");\\n _owners = owners;\\n }\\n\\n /// @notice Execute an n-of-n signed transaction specified by a (to, value, data, op) tuple\\n /// This transaction is a message call, i.e., either a CALL or a DELEGATECALL,\\n /// depending on the value of `op`. The arguments `to`, `value`, `data` are passed\\n /// as arguments to the CALL/DELEGATECALL.\\n /// @param to The destination address of the message call\\n /// @param value The amount of ETH being forwarded in the message call\\n /// @param data Any calldata being sent along with the message call\\n /// @param operation Specifies whether the message call is a `CALL` or a `DELEGATECALL`\\n /// @param signatures A sorted bytes string of concatenated signatures of each owner\\n function execTransaction(\\n address to,\\n uint256 value,\\n bytes memory data,\\n Operation operation,\\n bytes[] memory signatures\\n )\\n public\\n {\\n bytes32 transactionHash = getTransactionHash(to, value, data, operation);\\n\\n address lastSigner = address(0);\\n for (uint256 i = 0; i < _owners.length; i++) {\\n require(\\n _owners[i] == transactionHash.recover(signatures[i]),\\n \\\"Invalid signature\\\"\\n );\\n require(_owners[i] > lastSigner, \\\"Signers not in alphanumeric order\\\");\\n lastSigner = _owners[i];\\n }\\n\\n execute(to, value, data, operation);\\n\\n isExecuted[transactionHash] = true;\\n }\\n\\n /// @notice Compute a unique transaction hash for a particular (to, value, data, op) tuple\\n /// @return A unique hash that owners are expected to sign and submit to\\n /// @notice Note that two transactions with identical values of (to, value, data, op)\\n /// are not distinguished.\\n function getTransactionHash(\\n address to,\\n uint256 value,\\n bytes memory data,\\n Operation operation\\n )\\n public\\n view\\n returns (bytes32)\\n {\\n return keccak256(\\n abi.encodePacked(byte(0x19), _owners, to, value, data, uint8(operation))\\n );\\n }\\n\\n /// @notice A getter function for the owners of the multisig\\n /// @return An array of addresses representing the owners\\n function getOwners()\\n public\\n view\\n returns (address[] memory)\\n {\\n return _owners;\\n }\\n\\n /// @notice Execute a transaction on behalf of the multisignature wallet\\n function execute(\\n address to,\\n uint256 value,\\n bytes memory data,\\n Operation operation\\n )\\n internal\\n {\\n if (operation == Operation.Call)\\n require(executeCall(to, value, data), \\\"executeCall failed\\\");\\n else if (operation == Operation.DelegateCall)\\n require(executeDelegateCall(to, data), \\\"executeDelegateCall failed\\\");\\n }\\n\\n /// @notice Execute a CALL on behalf of the multisignature wallet\\n /// @return A boolean indicating if the transaction was successful or not\\n function executeCall(address to, uint256 value, bytes memory data)\\n internal\\n returns (bool success)\\n {\\n assembly {\\n success := call(not(0), to, value, add(data, 0x20), mload(data), 0, 0)\\n }\\n }\\n\\n /// @notice Execute a DELEGATECALL on behalf of the multisignature wallet\\n /// @return A boolean indicating if the transaction was successful or not\\n function executeDelegateCall(address to, bytes memory data)\\n internal\\n returns (bool success)\\n {\\n assembly {\\n success := delegatecall(not(0), to, add(data, 0x20), mload(data), 0, 0)\\n }\\n }\\n\\n}\\n\",\"keccak256\":\"0xed0d75edc043c26711f08a4079f03b42125a0e8394d60d51d2d662c811a904d0\"},\"openzeppelin-solidity/contracts/cryptography/ECDSA.sol\":{\"content\":\"pragma solidity ^0.5.0;\\n\\n/**\\n * @dev Elliptic Curve Digital Signature Algorithm (ECDSA) operations.\\n *\\n * These functions can be used to verify that a message was signed by the holder\\n * of the private keys of a given address.\\n */\\nlibrary ECDSA {\\n /**\\n * @dev Returns the address that signed a hashed message (`hash`) with\\n * `signature`. This address can then be used for verification purposes.\\n *\\n * The `ecrecover` EVM opcode allows for malleable (non-unique) signatures:\\n * this function rejects them by requiring the `s` value to be in the lower\\n * half order, and the `v` value to be either 27 or 28.\\n *\\n * (.note) This call _does not revert_ if the signature is invalid, or\\n * if the signer is otherwise unable to be retrieved. In those scenarios,\\n * the zero address is returned.\\n *\\n * (.warning) `hash` _must_ be the result of a hash operation for the\\n * verification to be secure: it is possible to craft signatures that\\n * recover to arbitrary addresses for non-hashed data. A safe way to ensure\\n * this is by receiving a hash of the original message (which may otherwise)\\n * be too long), and then calling `toEthSignedMessageHash` on it.\\n */\\n function recover(bytes32 hash, bytes memory signature) internal pure returns (address) {\\n // Check the signature length\\n if (signature.length != 65) {\\n return (address(0));\\n }\\n\\n // Divide the signature in r, s and v variables\\n bytes32 r;\\n bytes32 s;\\n uint8 v;\\n\\n // ecrecover takes the signature parameters, and the only way to get them\\n // currently is to use assembly.\\n // solhint-disable-next-line no-inline-assembly\\n assembly {\\n r := mload(add(signature, 0x20))\\n s := mload(add(signature, 0x40))\\n v := byte(0, mload(add(signature, 0x60)))\\n }\\n\\n // EIP-2 still allows signature malleability for ecrecover(). Remove this possibility and make the signature\\n // unique. Appendix F in the Ethereum Yellow paper (https://ethereum.github.io/yellowpaper/paper.pdf), defines\\n // the valid range for s in (281): 0 < s < secp256k1n \\u00f7 2 + 1, and for v in (282): v \\u2208 {27, 28}. Most\\n // signatures from current libraries generate a unique signature with an s-value in the lower half order.\\n //\\n // If your library generates malleable signatures, such as s-values in the upper range, calculate a new s-value\\n // with 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFEBAAEDCE6AF48A03BBFD25E8CD0364141 - s1 and flip v from 27 to 28 or\\n // vice versa. If your library also generates signatures with 0/1 for v instead 27/28, add 27 to v to accept\\n // these malleable signatures as well.\\n if (uint256(s) > 0x7FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF5D576E7357A4501DDFE92F46681B20A0) {\\n return address(0);\\n }\\n\\n if (v != 27 && v != 28) {\\n return address(0);\\n }\\n\\n // If the signature is valid (and not malleable), return the signer address\\n return ecrecover(hash, v, r, s);\\n }\\n\\n /**\\n * @dev Returns an Ethereum Signed Message, created from a `hash`. This\\n * replicates the behavior of the\\n * [`eth_sign`](https://github.com/ethereum/wiki/wiki/JSON-RPC#eth_sign)\\n * JSON-RPC method.\\n *\\n * See `recover`.\\n */\\n function toEthSignedMessageHash(bytes32 hash) internal pure returns (bytes32) {\\n // 32 is the length in bytes of hash,\\n // enforced by the type signature above\\n return keccak256(abi.encodePacked(\\\"\\\\x19Ethereum Signed Message:\\\\n32\\\", hash));\\n }\\n}\\n\",\"keccak256\":\"0xc19027309407a962d4d5f68ad3e5c31eab6ffb6b134dd4811fd0f3d93ffd618a\"}},\"version\":1}", | ||
"metadata": "{\"compiler\":{\"version\":\"0.5.11+commit.c082d0b4\"},\"language\":\"Solidity\",\"output\":{\"abi\":[{\"constant\":true,\"inputs\":[{\"internalType\":\"address\",\"name\":\"to\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"value\",\"type\":\"uint256\"},{\"internalType\":\"bytes\",\"name\":\"data\",\"type\":\"bytes\"},{\"internalType\":\"enum MinimumViableMultisig.Operation\",\"name\":\"operation\",\"type\":\"uint8\"}],\"name\":\"getTransactionHash\",\"outputs\":[{\"internalType\":\"bytes32\",\"name\":\"\",\"type\":\"bytes32\"}],\"payable\":false,\"stateMutability\":\"view\",\"type\":\"function\"},{\"constant\":false,\"inputs\":[{\"internalType\":\"address\",\"name\":\"to\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"value\",\"type\":\"uint256\"},{\"internalType\":\"bytes\",\"name\":\"data\",\"type\":\"bytes\"},{\"internalType\":\"enum MinimumViableMultisig.Operation\",\"name\":\"operation\",\"type\":\"uint8\"},{\"internalType\":\"bytes[]\",\"name\":\"signatures\",\"type\":\"bytes[]\"}],\"name\":\"execTransaction\",\"outputs\":[],\"payable\":false,\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"constant\":true,\"inputs\":[],\"name\":\"getOwners\",\"outputs\":[{\"internalType\":\"address[]\",\"name\":\"\",\"type\":\"address[]\"}],\"payable\":false,\"stateMutability\":\"view\",\"type\":\"function\"},{\"constant\":false,\"inputs\":[{\"internalType\":\"address[]\",\"name\":\"owners\",\"type\":\"address[]\"}],\"name\":\"setup\",\"outputs\":[],\"payable\":false,\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"payable\":true,\"stateMutability\":\"payable\",\"type\":\"fallback\"}],\"devdoc\":{\"author\":\"Liam Horne - <liam@l4v.io>\",\"methods\":{\"execTransaction(address,uint256,bytes,uint8,bytes[])\":{\"params\":{\"data\":\"Any calldata being sent along with the message call\",\"operation\":\"Specifies whether the message call is a `CALL` or a `DELEGATECALL`\",\"signatures\":\"A sorted bytes string of concatenated signatures of each owner\",\"to\":\"The destination address of the message call\",\"value\":\"The amount of ETH being forwarded in the message call\"}},\"getOwners()\":{\"return\":\"An array of addresses representing the owners\"},\"getTransactionHash(address,uint256,bytes,uint8)\":{\"return\":\"A unique hash that owners are expected to sign and submit to\"},\"setup(address[])\":{\"params\":{\"owners\":\"An array of unique addresses representing the multisig owners\"}}},\"title\":\"MinimumViableMultisig - A multisig wallet supporting the minimum features required for state channels support\"},\"userdoc\":{\"methods\":{\"execTransaction(address,uint256,bytes,uint8,bytes[])\":{\"notice\":\"Execute an n-of-n signed transaction specified by a (to, value, data, op) tuple This transaction is a message call, i.e., either a CALL or a DELEGATECALL, depending on the value of `op`. The arguments `to`, `value`, `data` are passed as arguments to the CALL/DELEGATECALL.\"},\"getOwners()\":{\"notice\":\"A getter function for the owners of the multisig\"},\"getTransactionHash(address,uint256,bytes,uint8)\":{\"notice\":\"Compute a unique transaction hash for a particular (to, value, data, op) tupleNote that two transactions with identical values of (to, value, data, op) are not distinguished.\"},\"setup(address[])\":{\"notice\":\"Contract constructor\"}},\"notice\":\"(a) Executes arbitrary transactions using `CALL` or `DELEGATECALL` (b) Requires n-of-n unanimous consent (c) Does not use on-chain address for signature verification (d) Uses hash-based instead of nonce-based replay protection\"}},\"settings\":{\"compilationTarget\":{\"contracts/state-deposit-holders/MinimumViableMultisig.sol\":\"MinimumViableMultisig\"},\"evmVersion\":\"petersburg\",\"libraries\":{},\"metadata\":{\"useLiteralContent\":true},\"optimizer\":{\"enabled\":true,\"runs\":200},\"remappings\":[]},\"sources\":{\"contracts/state-deposit-holders/MinimumViableMultisig.sol\":{\"content\":\"pragma solidity 0.5.11;\\npragma experimental ABIEncoderV2;\\n\\nimport \\\"openzeppelin-solidity/contracts/cryptography/ECDSA.sol\\\";\\n\\n\\n/// @title MinimumViableMultisig - A multisig wallet supporting the minimum\\n/// features required for state channels support\\n/// @author Liam Horne - <liam@l4v.io>\\n/// @notice\\n/// (a) Executes arbitrary transactions using `CALL` or `DELEGATECALL`\\n/// (b) Requires n-of-n unanimous consent\\n/// (c) Does not use on-chain address for signature verification\\n/// (d) Uses hash-based instead of nonce-based replay protection\\ncontract MinimumViableMultisig {\\n\\n using ECDSA for bytes32;\\n\\n address masterCopy;\\n\\n mapping(bytes32 => bool) isExecuted;\\n\\n address[] private _owners;\\n\\n enum Operation {\\n Call,\\n DelegateCall\\n }\\n\\n function ()\\n external\\n payable\\n {}\\n\\n /// @notice Contract constructor\\n /// @param owners An array of unique addresses representing the multisig owners\\n function setup(address[] memory owners) public {\\n require(_owners.length == 0, \\\"Contract has been set up before\\\");\\n _owners = owners;\\n }\\n\\n /// @notice Execute an n-of-n signed transaction specified by a (to, value, data, op) tuple\\n /// This transaction is a message call, i.e., either a CALL or a DELEGATECALL,\\n /// depending on the value of `op`. The arguments `to`, `value`, `data` are passed\\n /// as arguments to the CALL/DELEGATECALL.\\n /// @param to The destination address of the message call\\n /// @param value The amount of ETH being forwarded in the message call\\n /// @param data Any calldata being sent along with the message call\\n /// @param operation Specifies whether the message call is a `CALL` or a `DELEGATECALL`\\n /// @param signatures A sorted bytes string of concatenated signatures of each owner\\n function execTransaction(\\n address to,\\n uint256 value,\\n bytes memory data,\\n Operation operation,\\n bytes[] memory signatures\\n )\\n public\\n {\\n bytes32 transactionHash = getTransactionHash(to, value, data, operation);\\n require(\\n !isExecuted[transactionHash],\\n \\\"Transacation has already been executed\\\"\\n );\\n\\n address lastSigner = address(0);\\n for (uint256 i = 0; i < _owners.length; i++) {\\n require(\\n _owners[i] == transactionHash.recover(signatures[i]),\\n \\\"Invalid signature\\\"\\n );\\n require(_owners[i] > lastSigner, \\\"Signers not in alphanumeric order\\\");\\n lastSigner = _owners[i];\\n }\\n\\n execute(to, value, data, operation);\\n\\n isExecuted[transactionHash] = true;\\n }\\n\\n /// @notice Compute a unique transaction hash for a particular (to, value, data, op) tuple\\n /// @return A unique hash that owners are expected to sign and submit to\\n /// @notice Note that two transactions with identical values of (to, value, data, op)\\n /// are not distinguished.\\n function getTransactionHash(\\n address to,\\n uint256 value,\\n bytes memory data,\\n Operation operation\\n )\\n public\\n view\\n returns (bytes32)\\n {\\n return keccak256(\\n abi.encodePacked(byte(0x19), _owners, to, value, data, uint8(operation))\\n );\\n }\\n\\n /// @notice A getter function for the owners of the multisig\\n /// @return An array of addresses representing the owners\\n function getOwners()\\n public\\n view\\n returns (address[] memory)\\n {\\n return _owners;\\n }\\n\\n /// @notice Execute a transaction on behalf of the multisignature wallet\\n function execute(\\n address to,\\n uint256 value,\\n bytes memory data,\\n Operation operation\\n )\\n internal\\n {\\n if (operation == Operation.Call)\\n require(executeCall(to, value, data), \\\"executeCall failed\\\");\\n else if (operation == Operation.DelegateCall)\\n require(executeDelegateCall(to, data), \\\"executeDelegateCall failed\\\");\\n }\\n\\n /// @notice Execute a CALL on behalf of the multisignature wallet\\n /// @return A boolean indicating if the transaction was successful or not\\n function executeCall(address to, uint256 value, bytes memory data)\\n internal\\n returns (bool success)\\n {\\n assembly {\\n success := call(not(0), to, value, add(data, 0x20), mload(data), 0, 0)\\n }\\n }\\n\\n /// @notice Execute a DELEGATECALL on behalf of the multisignature wallet\\n /// @return A boolean indicating if the transaction was successful or not\\n function executeDelegateCall(address to, bytes memory data)\\n internal\\n returns (bool success)\\n {\\n assembly {\\n success := delegatecall(not(0), to, add(data, 0x20), mload(data), 0, 0)\\n }\\n }\\n\\n}\\n\",\"keccak256\":\"0x3b34327b3fbdaaf50947f88ce8055284333f47f5fb79f5307afbea61142ceae9\"},\"openzeppelin-solidity/contracts/cryptography/ECDSA.sol\":{\"content\":\"pragma solidity ^0.5.0;\\n\\n/**\\n * @dev Elliptic Curve Digital Signature Algorithm (ECDSA) operations.\\n *\\n * These functions can be used to verify that a message was signed by the holder\\n * of the private keys of a given address.\\n */\\nlibrary ECDSA {\\n /**\\n * @dev Returns the address that signed a hashed message (`hash`) with\\n * `signature`. This address can then be used for verification purposes.\\n *\\n * The `ecrecover` EVM opcode allows for malleable (non-unique) signatures:\\n * this function rejects them by requiring the `s` value to be in the lower\\n * half order, and the `v` value to be either 27 or 28.\\n *\\n * (.note) This call _does not revert_ if the signature is invalid, or\\n * if the signer is otherwise unable to be retrieved. In those scenarios,\\n * the zero address is returned.\\n *\\n * (.warning) `hash` _must_ be the result of a hash operation for the\\n * verification to be secure: it is possible to craft signatures that\\n * recover to arbitrary addresses for non-hashed data. A safe way to ensure\\n * this is by receiving a hash of the original message (which may otherwise)\\n * be too long), and then calling `toEthSignedMessageHash` on it.\\n */\\n function recover(bytes32 hash, bytes memory signature) internal pure returns (address) {\\n // Check the signature length\\n if (signature.length != 65) {\\n return (address(0));\\n }\\n\\n // Divide the signature in r, s and v variables\\n bytes32 r;\\n bytes32 s;\\n uint8 v;\\n\\n // ecrecover takes the signature parameters, and the only way to get them\\n // currently is to use assembly.\\n // solhint-disable-next-line no-inline-assembly\\n assembly {\\n r := mload(add(signature, 0x20))\\n s := mload(add(signature, 0x40))\\n v := byte(0, mload(add(signature, 0x60)))\\n }\\n\\n // EIP-2 still allows signature malleability for ecrecover(). Remove this possibility and make the signature\\n // unique. Appendix F in the Ethereum Yellow paper (https://ethereum.github.io/yellowpaper/paper.pdf), defines\\n // the valid range for s in (281): 0 < s < secp256k1n \\u00f7 2 + 1, and for v in (282): v \\u2208 {27, 28}. Most\\n // signatures from current libraries generate a unique signature with an s-value in the lower half order.\\n //\\n // If your library generates malleable signatures, such as s-values in the upper range, calculate a new s-value\\n // with 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFEBAAEDCE6AF48A03BBFD25E8CD0364141 - s1 and flip v from 27 to 28 or\\n // vice versa. If your library also generates signatures with 0/1 for v instead 27/28, add 27 to v to accept\\n // these malleable signatures as well.\\n if (uint256(s) > 0x7FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF5D576E7357A4501DDFE92F46681B20A0) {\\n return address(0);\\n }\\n\\n if (v != 27 && v != 28) {\\n return address(0);\\n }\\n\\n // If the signature is valid (and not malleable), return the signer address\\n return ecrecover(hash, v, r, s);\\n }\\n\\n /**\\n * @dev Returns an Ethereum Signed Message, created from a `hash`. This\\n * replicates the behavior of the\\n * [`eth_sign`](https://github.com/ethereum/wiki/wiki/JSON-RPC#eth_sign)\\n * JSON-RPC method.\\n *\\n * See `recover`.\\n */\\n function toEthSignedMessageHash(bytes32 hash) internal pure returns (bytes32) {\\n // 32 is the length in bytes of hash,\\n // enforced by the type signature above\\n return keccak256(abi.encodePacked(\\\"\\\\x19Ethereum Signed Message:\\\\n32\\\", hash));\\n }\\n}\\n\",\"keccak256\":\"0xc19027309407a962d4d5f68ad3e5c31eab6ffb6b134dd4811fd0f3d93ffd618a\"}},\"version\":1}", | ||
"interface": [ | ||
@@ -228,3 +228,3 @@ { | ||
], | ||
"bytecode": "608060405234801561001057600080fd5b50610ce6806100206000396000f3fe60806040526004361061003f5760003560e01c8063300c661f1461004157806358cb5e5a14610077578063a0e67e2b14610097578063bd5b853b146100b9575b005b34801561004d57600080fd5b5061006161005c36600461065d565b6100d9565b60405161006e9190610a93565b60405180910390f35b34801561008357600080fd5b5061003f6100923660046106d6565b610126565b3480156100a357600080fd5b506100ac610261565b60405161006e9190610a7b565b3480156100c557600080fd5b5061003f6100d436600461077b565b6102c4565b6000601960f81b60028686868660018111156100f157fe5b60405160200161010696959493929190610a19565b604051602081830303815290604052805190602001209050949350505050565b6000610134868686866100d9565b90506000805b6002548110156102305761016a84828151811061015357fe5b6020026020010151846102fb90919063ffffffff16565b6001600160a01b03166002828154811061018057fe5b6000918252602090912001546001600160a01b0316146101bb5760405162461bcd60e51b81526004016101b290610aef565b60405180910390fd5b816001600160a01b0316600282815481106101d257fe5b6000918252602090912001546001600160a01b0316116102045760405162461bcd60e51b81526004016101b290610aff565b6002818154811061021157fe5b6000918252602090912001546001600160a01b0316915060010161013a565b5061023d878787876103d8565b506000908152600160208190526040909120805460ff191690911790555050505050565b606060028054806020026020016040519081016040528092919081815260200182805480156102b957602002820191906000526020600020905b81546001600160a01b0316815260019091019060200180831161029b575b505050505090505b90565b600254156102e45760405162461bcd60e51b81526004016101b290610b1f565b80516102f7906002906020840190610488565b5050565b6000815160411461030e575060006103d2565b60208201516040830151606084015160001a7f7fffffffffffffffffffffffffffffff5d576e7357a4501ddfe92f46681b20a082111561035457600093505050506103d2565b8060ff16601b1415801561036c57508060ff16601c14155b1561037d57600093505050506103d2565b600186828585604051600081526020016040526040516103a09493929190610aa1565b6020604051602081039080840390855afa1580156103c2573d6000803e3d6000fd5b5050506020604051035193505050505b92915050565b60008160018111156103e657fe5b1415610418576103f7848484610458565b6104135760405162461bcd60e51b81526004016101b290610adf565b610452565b600181600181111561042657fe5b1415610452576104368483610471565b6104525760405162461bcd60e51b81526004016101b290610b0f565b50505050565b60008060008351602085018688600019f1949350505050565b600080600083516020850186600019f49392505050565b8280548282559060005260206000209081019282156104dd579160200282015b828111156104dd57825182546001600160a01b0319166001600160a01b039091161782556020909201916001909101906104a8565b506104e99291506104ed565b5090565b6102c191905b808211156104e95780546001600160a01b03191681556001016104f3565b80356103d281610c76565b600082601f83011261052d57600080fd5b813561054061053b82610b56565b610b2f565b9150818183526020840193506020810190508385602084028201111561056557600080fd5b60005b83811015610591578161057b8882610511565b8452506020928301929190910190600101610568565b5050505092915050565b600082601f8301126105ac57600080fd5b81356105ba61053b82610b56565b81815260209384019390925082018360005b8381101561059157813586016105e288826105f8565b84525060209283019291909101906001016105cc565b600082601f83011261060957600080fd5b813561061761053b82610b77565b9150808252602083016020830185838301111561063357600080fd5b61063e838284610bf7565b50505092915050565b80356103d281610c8d565b80356103d281610c9a565b6000806000806080858703121561067357600080fd5b600061067f8787610511565b945050602061069087828801610652565b935050604085013567ffffffffffffffff8111156106ad57600080fd5b6106b9878288016105f8565b92505060606106ca87828801610647565b91505092959194509250565b600080600080600060a086880312156106ee57600080fd5b60006106fa8888610511565b955050602061070b88828901610652565b945050604086013567ffffffffffffffff81111561072857600080fd5b610734888289016105f8565b935050606061074588828901610647565b925050608086013567ffffffffffffffff81111561076257600080fd5b61076e8882890161059b565b9150509295509295909350565b60006020828403121561078d57600080fd5b813567ffffffffffffffff8111156107a457600080fd5b6107b08482850161051c565b949350505050565b60006107c483836107cc565b505060200190565b6107d581610bd9565b82525050565b6107d56107e782610bd9565b610c42565b60006107f782610bb1565b6108018185610bbf565b935061080c83610b9f565b8060005b8381101561083a57815161082488826107b8565b975061082f83610b9f565b925050600101610810565b509495945050505050565b600061085082610bb5565b61085a8185610bc8565b935061086583610ba5565b8060005b8381101561083a5761087a82610c5e565b61088488826107b8565b975061088f83610bb9565b925050600101610869565b6107d56108a682610be4565b6102c1565b6107d5816102c1565b60006108bf82610bb1565b6108c98185610bc8565b93506108d9818560208601610c03565b9290920192915050565b60006108f0601283610bbf565b71195e1958dd5d1950d85b1b0819985a5b195960721b815260200192915050565b600061091e601183610bbf565b70496e76616c6964207369676e617475726560781b815260200192915050565b600061094b602183610bbf565b7f5369676e657273206e6f7420696e20616c7068616e756d65726963206f7264658152603960f91b602082015260400192915050565b600061098e601a83610bbf565b7f6578656375746544656c656761746543616c6c206661696c6564000000000000815260200192915050565b60006109c7601f83610bbf565b7f436f6e747261637420686173206265656e20736574207570206265666f726500815260200192915050565b6107d56108a6826102c1565b6107d581610bf1565b6107d5610a1482610bf1565b610c53565b6000610a25828961089a565b600182019150610a358288610845565b9150610a4182876107db565b601482019150610a5182866109f3565b602082019150610a6182856108b4565b9150610a6d8284610a08565b506001019695505050505050565b60208082528101610a8c81846107ec565b9392505050565b602081016103d282846108ab565b60808101610aaf82876108ab565b610abc60208301866109ff565b610ac960408301856108ab565b610ad660608301846108ab565b95945050505050565b602080825281016103d2816108e3565b602080825281016103d281610911565b602080825281016103d28161093e565b602080825281016103d281610981565b602080825281016103d2816109ba565b60405181810167ffffffffffffffff81118282101715610b4e57600080fd5b604052919050565b600067ffffffffffffffff821115610b6d57600080fd5b5060209081020190565b600067ffffffffffffffff821115610b8e57600080fd5b506020601f91909101601f19160190565b60200190565b60009081526020902090565b5190565b5490565b60010190565b90815260200190565b919050565b6001600160a01b031690565b60006103d282610bcd565b6001600160f81b03191690565b60ff1690565b82818337506000910152565b60005b83811015610c1e578181015183820152602001610c06565b838111156104525750506000910152565b60006103d2610c3d836102c1565b610bcd565b60006103d28260006103d282610c70565b60006103d282610c6a565b60006103d28254610c2f565b60f81b90565b60601b90565b610c7f81610bd9565b8114610c8a57600080fd5b50565b60028110610c8a57600080fd5b610c7f816102c156fea365627a7a723158202aa0f82b9119b606b1a2fab6df09f8f2d0ce9a15ff28749f952ff90e1f5761dd6c6578706572696d656e74616cf564736f6c634300050b0040" | ||
"bytecode": "608060405234801561001057600080fd5b50610d6e806100206000396000f3fe60806040526004361061003f5760003560e01c8063300c661f1461004157806358cb5e5a14610077578063a0e67e2b14610097578063bd5b853b146100b9575b005b34801561004d57600080fd5b5061006161005c36600461068d565b6100d9565b60405161006e9190610b0b565b60405180910390f35b34801561008357600080fd5b5061003f610092366004610706565b610126565b3480156100a357600080fd5b506100ac610291565b60405161006e9190610af3565b3480156100c557600080fd5b5061003f6100d43660046107ab565b6102f4565b6000601960f81b60028686868660018111156100f157fe5b60405160200161010696959493929190610a91565b604051602081830303815290604052805190602001209050949350505050565b6000610134868686866100d9565b60008181526001602052604090205490915060ff161561016f5760405162461bcd60e51b815260040161016690610b67565b60405180910390fd5b6000805b600254811015610260576101a384828151811061018c57fe5b60200260200101518461032b90919063ffffffff16565b6001600160a01b0316600282815481106101b957fe5b6000918252602090912001546001600160a01b0316146101eb5760405162461bcd60e51b815260040161016690610b77565b816001600160a01b03166002828154811061020257fe5b6000918252602090912001546001600160a01b0316116102345760405162461bcd60e51b815260040161016690610b87565b6002818154811061024157fe5b6000918252602090912001546001600160a01b03169150600101610173565b5061026d87878787610408565b506000908152600160208190526040909120805460ff191690911790555050505050565b606060028054806020026020016040519081016040528092919081815260200182805480156102e957602002820191906000526020600020905b81546001600160a01b031681526001909101906020018083116102cb575b505050505090505b90565b600254156103145760405162461bcd60e51b815260040161016690610ba7565b80516103279060029060208401906104b8565b5050565b6000815160411461033e57506000610402565b60208201516040830151606084015160001a7f7fffffffffffffffffffffffffffffff5d576e7357a4501ddfe92f46681b20a08211156103845760009350505050610402565b8060ff16601b1415801561039c57508060ff16601c14155b156103ad5760009350505050610402565b600186828585604051600081526020016040526040516103d09493929190610b19565b6020604051602081039080840390855afa1580156103f2573d6000803e3d6000fd5b5050506020604051035193505050505b92915050565b600081600181111561041657fe5b141561044857610427848484610488565b6104435760405162461bcd60e51b815260040161016690610b57565b610482565b600181600181111561045657fe5b14156104825761046684836104a1565b6104825760405162461bcd60e51b815260040161016690610b97565b50505050565b60008060008351602085018688600019f1949350505050565b600080600083516020850186600019f49392505050565b82805482825590600052602060002090810192821561050d579160200282015b8281111561050d57825182546001600160a01b0319166001600160a01b039091161782556020909201916001909101906104d8565b5061051992915061051d565b5090565b6102f191905b808211156105195780546001600160a01b0319168155600101610523565b803561040281610cfe565b600082601f83011261055d57600080fd5b813561057061056b82610bde565b610bb7565b9150818183526020840193506020810190508385602084028201111561059557600080fd5b60005b838110156105c157816105ab8882610541565b8452506020928301929190910190600101610598565b5050505092915050565b600082601f8301126105dc57600080fd5b81356105ea61056b82610bde565b81815260209384019390925082018360005b838110156105c157813586016106128882610628565b84525060209283019291909101906001016105fc565b600082601f83011261063957600080fd5b813561064761056b82610bff565b9150808252602083016020830185838301111561066357600080fd5b61066e838284610c7f565b50505092915050565b803561040281610d15565b803561040281610d22565b600080600080608085870312156106a357600080fd5b60006106af8787610541565b94505060206106c087828801610682565b935050604085013567ffffffffffffffff8111156106dd57600080fd5b6106e987828801610628565b92505060606106fa87828801610677565b91505092959194509250565b600080600080600060a0868803121561071e57600080fd5b600061072a8888610541565b955050602061073b88828901610682565b945050604086013567ffffffffffffffff81111561075857600080fd5b61076488828901610628565b935050606061077588828901610677565b925050608086013567ffffffffffffffff81111561079257600080fd5b61079e888289016105cb565b9150509295509295909350565b6000602082840312156107bd57600080fd5b813567ffffffffffffffff8111156107d457600080fd5b6107e08482850161054c565b949350505050565b60006107f483836107fc565b505060200190565b61080581610c61565b82525050565b61080561081782610c61565b610cca565b600061082782610c39565b6108318185610c47565b935061083c83610c27565b8060005b8381101561086a57815161085488826107e8565b975061085f83610c27565b925050600101610840565b509495945050505050565b600061088082610c3d565b61088a8185610c50565b935061089583610c2d565b8060005b8381101561086a576108aa82610ce6565b6108b488826107e8565b97506108bf83610c41565b925050600101610899565b6108056108d682610c6c565b6102f1565b610805816102f1565b60006108ef82610c39565b6108f98185610c50565b9350610909818560208601610c8b565b9290920192915050565b6000610920601283610c47565b71195e1958dd5d1950d85b1b0819985a5b195960721b815260200192915050565b600061094e602683610c47565b7f5472616e7361636174696f6e2068617320616c7265616479206265656e2065788152651958dd5d195960d21b602082015260400192915050565b6000610996601183610c47565b70496e76616c6964207369676e617475726560781b815260200192915050565b60006109c3602183610c47565b7f5369676e657273206e6f7420696e20616c7068616e756d65726963206f7264658152603960f91b602082015260400192915050565b6000610a06601a83610c47565b7f6578656375746544656c656761746543616c6c206661696c6564000000000000815260200192915050565b6000610a3f601f83610c47565b7f436f6e747261637420686173206265656e20736574207570206265666f726500815260200192915050565b6108056108d6826102f1565b61080581610c79565b610805610a8c82610c79565b610cdb565b6000610a9d82896108ca565b600182019150610aad8288610875565b9150610ab9828761080b565b601482019150610ac98286610a6b565b602082019150610ad982856108e4565b9150610ae58284610a80565b506001019695505050505050565b60208082528101610b04818461081c565b9392505050565b6020810161040282846108db565b60808101610b2782876108db565b610b346020830186610a77565b610b4160408301856108db565b610b4e60608301846108db565b95945050505050565b6020808252810161040281610913565b6020808252810161040281610941565b6020808252810161040281610989565b60208082528101610402816109b6565b60208082528101610402816109f9565b6020808252810161040281610a32565b60405181810167ffffffffffffffff81118282101715610bd657600080fd5b604052919050565b600067ffffffffffffffff821115610bf557600080fd5b5060209081020190565b600067ffffffffffffffff821115610c1657600080fd5b506020601f91909101601f19160190565b60200190565b60009081526020902090565b5190565b5490565b60010190565b90815260200190565b919050565b6001600160a01b031690565b600061040282610c55565b6001600160f81b03191690565b60ff1690565b82818337506000910152565b60005b83811015610ca6578181015183820152602001610c8e565b838111156104825750506000910152565b6000610402610cc5836102f1565b610c55565b600061040282600061040282610cf8565b600061040282610cf2565b60006104028254610cb7565b60f81b90565b60601b90565b610d0781610c61565b8114610d1257600080fd5b50565b60028110610d1257600080fd5b610d07816102f156fea365627a7a72315820abfe2a6a50c7b53cba1e29e27cfc502ea73b9e415bc1dfff9b76c7e331bc82c16c6578706572696d656e74616cf564736f6c634300050b0040" | ||
} |
@@ -32,8 +32,8 @@ { | ||
"linkReferences": {}, | ||
"object": "608060405234801561001057600080fd5b506105ba806100206000396000f3fe60806040526004361061001e5760003560e01c80638dd8fc9714610020575b005b34801561002c57600080fd5b5061001e61003b366004610411565b610043610225565b61004f82840184610481565b905061005961023c565b610065858701876103cd565b60208301519091506001600160a01b031661010257805180516020909101516040516001600160a01b03909216916108fc82150291906000818181858888f193505050501580156100ba573d6000803e3d6000fd5b5060208082015180519101516040516001600160a01b039092169181156108fc0291906000818181858888f193505050501580156100fc573d6000803e3d6000fd5b5061021d565b6020828101518251805192015160405163a9059cbb60e01b81526001600160a01b039092169263a9059cbb9261013b92906004016104b7565b602060405180830381600087803b15801561015557600080fd5b505af1158015610169573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525061018d91908101906103f3565b5060208281015182820151805192015160405163a9059cbb60e01b81526001600160a01b039092169263a9059cbb926101c992906004016104b7565b602060405180830381600087803b1580156101e357600080fd5b505af11580156101f7573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525061021b91908101906103f3565b505b505050505050565b604080518082019091526000808252602082015290565b60405180604001604052806002905b610253610225565b81526020019060019003908161024b5790505090565b80356102748161054e565b92915050565b600082601f83011261028b57600080fd5b600261029e61029982610500565b6104d9565b915081838560408402820111156102b457600080fd5b60005b838110156102e257816102ca8882610340565b845250602090920191604091909101906001016102b7565b5050505092915050565b805161027481610565565b60008083601f84011261030957600080fd5b50813567ffffffffffffffff81111561032157600080fd5b60208301915083600182028301111561033957600080fd5b9250929050565b60006040828403121561035257600080fd5b61035c60406104d9565b9050600061036a8484610269565b825250602061037b848483016103c2565b60208301525092915050565b60006040828403121561039957600080fd5b6103a360406104d9565b905060006103b184846103c2565b825250602061037b84848301610269565b80356102748161056e565b6000608082840312156103df57600080fd5b60006103eb848461027a565b949350505050565b60006020828403121561040557600080fd5b60006103eb84846102ec565b6000806000806040858703121561042757600080fd5b843567ffffffffffffffff81111561043e57600080fd5b61044a878288016102f7565b9450945050602085013567ffffffffffffffff81111561046957600080fd5b610475878288016102f7565b95989497509550505050565b60006040828403121561049357600080fd5b60006103eb8484610387565b6104a88161053d565b82525050565b6104a88161053a565b604081016104c5828561049f565b6104d260208301846104ae565b9392505050565b60405181810167ffffffffffffffff811182821017156104f857600080fd5b604052919050565b600067ffffffffffffffff82111561051757600080fd5b5060200290565b60006102748261052e565b151590565b6001600160a01b031690565b90565b60006102748260006102748261051e565b6105578161051e565b811461056257600080fd5b50565b61055781610529565b6105578161053a56fea365627a7a723158208ad4e131f679d3530a4f4552bee6bbf01af4af93f90b492ebb7e9ec58685a7686c6578706572696d656e74616cf564736f6c634300050b0040", | ||
"opcodes": "PUSH1 0x80 PUSH1 0x40 MSTORE CALLVALUE DUP1 ISZERO PUSH2 0x10 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST POP PUSH2 0x5BA DUP1 PUSH2 0x20 PUSH1 0x0 CODECOPY PUSH1 0x0 RETURN INVALID PUSH1 0x80 PUSH1 0x40 MSTORE PUSH1 0x4 CALLDATASIZE LT PUSH2 0x1E JUMPI PUSH1 0x0 CALLDATALOAD PUSH1 0xE0 SHR DUP1 PUSH4 0x8DD8FC97 EQ PUSH2 0x20 JUMPI JUMPDEST STOP JUMPDEST CALLVALUE DUP1 ISZERO PUSH2 0x2C JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST POP PUSH2 0x1E PUSH2 0x3B CALLDATASIZE PUSH1 0x4 PUSH2 0x411 JUMP JUMPDEST PUSH2 0x43 PUSH2 0x225 JUMP JUMPDEST PUSH2 0x4F DUP3 DUP5 ADD DUP5 PUSH2 0x481 JUMP JUMPDEST SWAP1 POP PUSH2 0x59 PUSH2 0x23C JUMP JUMPDEST PUSH2 0x65 DUP6 DUP8 ADD DUP8 PUSH2 0x3CD JUMP JUMPDEST PUSH1 0x20 DUP4 ADD MLOAD SWAP1 SWAP2 POP PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB AND PUSH2 0x102 JUMPI DUP1 MLOAD DUP1 MLOAD PUSH1 0x20 SWAP1 SWAP2 ADD MLOAD PUSH1 0x40 MLOAD PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB SWAP1 SWAP3 AND SWAP2 PUSH2 0x8FC DUP3 ISZERO MUL SWAP2 SWAP1 PUSH1 0x0 DUP2 DUP2 DUP2 DUP6 DUP9 DUP9 CALL SWAP4 POP POP POP POP ISZERO DUP1 ISZERO PUSH2 0xBA JUMPI RETURNDATASIZE PUSH1 0x0 DUP1 RETURNDATACOPY RETURNDATASIZE PUSH1 0x0 REVERT JUMPDEST POP PUSH1 0x20 DUP1 DUP3 ADD MLOAD DUP1 MLOAD SWAP2 ADD MLOAD PUSH1 0x40 MLOAD PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB SWAP1 SWAP3 AND SWAP2 DUP2 ISZERO PUSH2 0x8FC MUL SWAP2 SWAP1 PUSH1 0x0 DUP2 DUP2 DUP2 DUP6 DUP9 DUP9 CALL SWAP4 POP POP POP POP ISZERO DUP1 ISZERO PUSH2 0xFC JUMPI RETURNDATASIZE PUSH1 0x0 DUP1 RETURNDATACOPY RETURNDATASIZE PUSH1 0x0 REVERT JUMPDEST POP PUSH2 0x21D JUMP JUMPDEST PUSH1 0x20 DUP3 DUP2 ADD MLOAD DUP3 MLOAD DUP1 MLOAD SWAP3 ADD MLOAD PUSH1 0x40 MLOAD PUSH4 0xA9059CBB PUSH1 0xE0 SHL DUP2 MSTORE PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB SWAP1 SWAP3 AND SWAP3 PUSH4 0xA9059CBB SWAP3 PUSH2 0x13B SWAP3 SWAP1 PUSH1 0x4 ADD PUSH2 0x4B7 JUMP JUMPDEST PUSH1 0x20 PUSH1 0x40 MLOAD DUP1 DUP4 SUB DUP2 PUSH1 0x0 DUP8 DUP1 EXTCODESIZE ISZERO DUP1 ISZERO PUSH2 0x155 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST POP GAS CALL ISZERO DUP1 ISZERO PUSH2 0x169 JUMPI RETURNDATASIZE PUSH1 0x0 DUP1 RETURNDATACOPY RETURNDATASIZE PUSH1 0x0 REVERT JUMPDEST POP POP POP POP PUSH1 0x40 MLOAD RETURNDATASIZE PUSH1 0x1F NOT PUSH1 0x1F DUP3 ADD AND DUP3 ADD DUP1 PUSH1 0x40 MSTORE POP PUSH2 0x18D SWAP2 SWAP1 DUP2 ADD SWAP1 PUSH2 0x3F3 JUMP JUMPDEST POP PUSH1 0x20 DUP3 DUP2 ADD MLOAD DUP3 DUP3 ADD MLOAD DUP1 MLOAD SWAP3 ADD MLOAD PUSH1 0x40 MLOAD PUSH4 0xA9059CBB PUSH1 0xE0 SHL DUP2 MSTORE PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB SWAP1 SWAP3 AND SWAP3 PUSH4 0xA9059CBB SWAP3 PUSH2 0x1C9 SWAP3 SWAP1 PUSH1 0x4 ADD PUSH2 0x4B7 JUMP JUMPDEST PUSH1 0x20 PUSH1 0x40 MLOAD DUP1 DUP4 SUB DUP2 PUSH1 0x0 DUP8 DUP1 EXTCODESIZE ISZERO DUP1 ISZERO PUSH2 0x1E3 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST POP GAS CALL ISZERO DUP1 ISZERO PUSH2 0x1F7 JUMPI RETURNDATASIZE PUSH1 0x0 DUP1 RETURNDATACOPY RETURNDATASIZE PUSH1 0x0 REVERT JUMPDEST POP POP POP POP PUSH1 0x40 MLOAD RETURNDATASIZE PUSH1 0x1F NOT PUSH1 0x1F DUP3 ADD AND DUP3 ADD DUP1 PUSH1 0x40 MSTORE POP PUSH2 0x21B SWAP2 SWAP1 DUP2 ADD SWAP1 PUSH2 0x3F3 JUMP JUMPDEST POP JUMPDEST POP POP POP POP POP POP JUMP JUMPDEST PUSH1 0x40 DUP1 MLOAD DUP1 DUP3 ADD SWAP1 SWAP2 MSTORE PUSH1 0x0 DUP1 DUP3 MSTORE PUSH1 0x20 DUP3 ADD MSTORE SWAP1 JUMP JUMPDEST PUSH1 0x40 MLOAD DUP1 PUSH1 0x40 ADD PUSH1 0x40 MSTORE DUP1 PUSH1 0x2 SWAP1 JUMPDEST PUSH2 0x253 PUSH2 0x225 JUMP JUMPDEST DUP2 MSTORE PUSH1 0x20 ADD SWAP1 PUSH1 0x1 SWAP1 SUB SWAP1 DUP2 PUSH2 0x24B JUMPI SWAP1 POP POP SWAP1 JUMP JUMPDEST DUP1 CALLDATALOAD PUSH2 0x274 DUP2 PUSH2 0x54E JUMP JUMPDEST SWAP3 SWAP2 POP POP JUMP JUMPDEST PUSH1 0x0 DUP3 PUSH1 0x1F DUP4 ADD SLT PUSH2 0x28B JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST PUSH1 0x2 PUSH2 0x29E PUSH2 0x299 DUP3 PUSH2 0x500 JUMP JUMPDEST PUSH2 0x4D9 JUMP JUMPDEST SWAP2 POP DUP2 DUP4 DUP6 PUSH1 0x40 DUP5 MUL DUP3 ADD GT ISZERO PUSH2 0x2B4 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST PUSH1 0x0 JUMPDEST DUP4 DUP2 LT ISZERO PUSH2 0x2E2 JUMPI DUP2 PUSH2 0x2CA DUP9 DUP3 PUSH2 0x340 JUMP JUMPDEST DUP5 MSTORE POP PUSH1 0x20 SWAP1 SWAP3 ADD SWAP2 PUSH1 0x40 SWAP2 SWAP1 SWAP2 ADD SWAP1 PUSH1 0x1 ADD PUSH2 0x2B7 JUMP JUMPDEST POP POP POP POP SWAP3 SWAP2 POP POP JUMP JUMPDEST DUP1 MLOAD PUSH2 0x274 DUP2 PUSH2 0x565 JUMP JUMPDEST PUSH1 0x0 DUP1 DUP4 PUSH1 0x1F DUP5 ADD SLT PUSH2 0x309 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST POP DUP2 CALLDATALOAD PUSH8 0xFFFFFFFFFFFFFFFF DUP2 GT ISZERO PUSH2 0x321 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST PUSH1 0x20 DUP4 ADD SWAP2 POP DUP4 PUSH1 0x1 DUP3 MUL DUP4 ADD GT ISZERO PUSH2 0x339 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST SWAP3 POP SWAP3 SWAP1 POP JUMP JUMPDEST PUSH1 0x0 PUSH1 0x40 DUP3 DUP5 SUB SLT ISZERO PUSH2 0x352 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST PUSH2 0x35C PUSH1 0x40 PUSH2 0x4D9 JUMP JUMPDEST SWAP1 POP PUSH1 0x0 PUSH2 0x36A DUP5 DUP5 PUSH2 0x269 JUMP JUMPDEST DUP3 MSTORE POP PUSH1 0x20 PUSH2 0x37B DUP5 DUP5 DUP4 ADD PUSH2 0x3C2 JUMP JUMPDEST PUSH1 0x20 DUP4 ADD MSTORE POP SWAP3 SWAP2 POP POP JUMP JUMPDEST PUSH1 0x0 PUSH1 0x40 DUP3 DUP5 SUB SLT ISZERO PUSH2 0x399 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST PUSH2 0x3A3 PUSH1 0x40 PUSH2 0x4D9 JUMP JUMPDEST SWAP1 POP PUSH1 0x0 PUSH2 0x3B1 DUP5 DUP5 PUSH2 0x3C2 JUMP JUMPDEST DUP3 MSTORE POP PUSH1 0x20 PUSH2 0x37B DUP5 DUP5 DUP4 ADD PUSH2 0x269 JUMP JUMPDEST DUP1 CALLDATALOAD PUSH2 0x274 DUP2 PUSH2 0x56E JUMP JUMPDEST PUSH1 0x0 PUSH1 0x80 DUP3 DUP5 SUB SLT ISZERO PUSH2 0x3DF JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST PUSH1 0x0 PUSH2 0x3EB DUP5 DUP5 PUSH2 0x27A JUMP JUMPDEST SWAP5 SWAP4 POP POP POP POP JUMP JUMPDEST PUSH1 0x0 PUSH1 0x20 DUP3 DUP5 SUB SLT ISZERO PUSH2 0x405 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST PUSH1 0x0 PUSH2 0x3EB DUP5 DUP5 PUSH2 0x2EC JUMP JUMPDEST PUSH1 0x0 DUP1 PUSH1 0x0 DUP1 PUSH1 0x40 DUP6 DUP8 SUB SLT ISZERO PUSH2 0x427 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST DUP5 CALLDATALOAD PUSH8 0xFFFFFFFFFFFFFFFF DUP2 GT ISZERO PUSH2 0x43E JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST PUSH2 0x44A DUP8 DUP3 DUP9 ADD PUSH2 0x2F7 JUMP JUMPDEST SWAP5 POP SWAP5 POP POP PUSH1 0x20 DUP6 ADD CALLDATALOAD PUSH8 0xFFFFFFFFFFFFFFFF DUP2 GT ISZERO PUSH2 0x469 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST PUSH2 0x475 DUP8 DUP3 DUP9 ADD PUSH2 0x2F7 JUMP JUMPDEST SWAP6 SWAP9 SWAP5 SWAP8 POP SWAP6 POP POP POP POP JUMP JUMPDEST PUSH1 0x0 PUSH1 0x40 DUP3 DUP5 SUB SLT ISZERO PUSH2 0x493 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST PUSH1 0x0 PUSH2 0x3EB DUP5 DUP5 PUSH2 0x387 JUMP JUMPDEST PUSH2 0x4A8 DUP2 PUSH2 0x53D JUMP JUMPDEST DUP3 MSTORE POP POP JUMP JUMPDEST PUSH2 0x4A8 DUP2 PUSH2 0x53A JUMP JUMPDEST PUSH1 0x40 DUP2 ADD PUSH2 0x4C5 DUP3 DUP6 PUSH2 0x49F JUMP JUMPDEST PUSH2 0x4D2 PUSH1 0x20 DUP4 ADD DUP5 PUSH2 0x4AE JUMP JUMPDEST SWAP4 SWAP3 POP POP POP JUMP JUMPDEST PUSH1 0x40 MLOAD DUP2 DUP2 ADD PUSH8 0xFFFFFFFFFFFFFFFF DUP2 GT DUP3 DUP3 LT OR ISZERO PUSH2 0x4F8 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST PUSH1 0x40 MSTORE SWAP2 SWAP1 POP JUMP JUMPDEST PUSH1 0x0 PUSH8 0xFFFFFFFFFFFFFFFF DUP3 GT ISZERO PUSH2 0x517 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST POP PUSH1 0x20 MUL SWAP1 JUMP JUMPDEST PUSH1 0x0 PUSH2 0x274 DUP3 PUSH2 0x52E JUMP JUMPDEST ISZERO ISZERO SWAP1 JUMP JUMPDEST PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB AND SWAP1 JUMP JUMPDEST SWAP1 JUMP JUMPDEST PUSH1 0x0 PUSH2 0x274 DUP3 PUSH1 0x0 PUSH2 0x274 DUP3 PUSH2 0x51E JUMP JUMPDEST PUSH2 0x557 DUP2 PUSH2 0x51E JUMP JUMPDEST DUP2 EQ PUSH2 0x562 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST POP JUMP JUMPDEST PUSH2 0x557 DUP2 PUSH2 0x529 JUMP JUMPDEST PUSH2 0x557 DUP2 PUSH2 0x53A JUMP INVALID LOG3 PUSH6 0x627A7A723158 KECCAK256 DUP11 0xd4 0xe1 BALANCE 0xf6 PUSH26 0xD3530A4F4552BEE6BBF01AF4AF93F90B492EBB7E9EC58685A768 PUSH13 0x6578706572696D656E74616CF5 PUSH5 0x736F6C6343 STOP SDIV SIGNEXTEND STOP BLOCKHASH ", | ||
"sourceMap": "318:1097:21:-;;;;8:9:-1;5:2;;;30:1;27;20:12;5:2;318:1097:21;;;;;;;" | ||
"object": "608060405234801561001057600080fd5b506105aa806100206000396000f3fe60806040526004361061001e5760003560e01c80638dd8fc9714610020575b005b34801561002c57600080fd5b5061001e61003b366004610401565b610043610215565b61004f82840184610471565b905061005961022c565b610065858701876103bd565b60208301519091506001600160a01b03166100f257805180516020909101516040516001600160a01b03909216916108fc82150291906000818181858888f150849350600192506100b4915050565b6020020151516001600160a01b03166108fc8260016020020151602001519081150290604051600060405180830381858888f193505050505061020d565b6020828101518251805192015160405163a9059cbb60e01b81526001600160a01b039092169263a9059cbb9261012b92906004016104a7565b602060405180830381600087803b15801561014557600080fd5b505af1158015610159573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525061017d91908101906103e3565b5060208281015182820151805192015160405163a9059cbb60e01b81526001600160a01b039092169263a9059cbb926101b992906004016104a7565b602060405180830381600087803b1580156101d357600080fd5b505af11580156101e7573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525061020b91908101906103e3565b505b505050505050565b604080518082019091526000808252602082015290565b60405180604001604052806002905b610243610215565b81526020019060019003908161023b5790505090565b80356102648161053e565b92915050565b600082601f83011261027b57600080fd5b600261028e610289826104f0565b6104c9565b915081838560408402820111156102a457600080fd5b60005b838110156102d257816102ba8882610330565b845250602090920191604091909101906001016102a7565b5050505092915050565b805161026481610555565b60008083601f8401126102f957600080fd5b50813567ffffffffffffffff81111561031157600080fd5b60208301915083600182028301111561032957600080fd5b9250929050565b60006040828403121561034257600080fd5b61034c60406104c9565b9050600061035a8484610259565b825250602061036b848483016103b2565b60208301525092915050565b60006040828403121561038957600080fd5b61039360406104c9565b905060006103a184846103b2565b825250602061036b84848301610259565b80356102648161055e565b6000608082840312156103cf57600080fd5b60006103db848461026a565b949350505050565b6000602082840312156103f557600080fd5b60006103db84846102dc565b6000806000806040858703121561041757600080fd5b843567ffffffffffffffff81111561042e57600080fd5b61043a878288016102e7565b9450945050602085013567ffffffffffffffff81111561045957600080fd5b610465878288016102e7565b95989497509550505050565b60006040828403121561048357600080fd5b60006103db8484610377565b6104988161052d565b82525050565b6104988161052a565b604081016104b5828561048f565b6104c2602083018461049e565b9392505050565b60405181810167ffffffffffffffff811182821017156104e857600080fd5b604052919050565b600067ffffffffffffffff82111561050757600080fd5b5060200290565b60006102648261051e565b151590565b6001600160a01b031690565b90565b60006102648260006102648261050e565b6105478161050e565b811461055257600080fd5b50565b61054781610519565b6105478161052a56fea365627a7a723158208a36fc71a7d3d5d460ddaa22663b1b9c7ae56a9226688b63391d0abb071643af6c6578706572696d656e74616cf564736f6c634300050b0040", | ||
"opcodes": "PUSH1 0x80 PUSH1 0x40 MSTORE CALLVALUE DUP1 ISZERO PUSH2 0x10 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST POP PUSH2 0x5AA DUP1 PUSH2 0x20 PUSH1 0x0 CODECOPY PUSH1 0x0 RETURN INVALID PUSH1 0x80 PUSH1 0x40 MSTORE PUSH1 0x4 CALLDATASIZE LT PUSH2 0x1E JUMPI PUSH1 0x0 CALLDATALOAD PUSH1 0xE0 SHR DUP1 PUSH4 0x8DD8FC97 EQ PUSH2 0x20 JUMPI JUMPDEST STOP JUMPDEST CALLVALUE DUP1 ISZERO PUSH2 0x2C JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST POP PUSH2 0x1E PUSH2 0x3B CALLDATASIZE PUSH1 0x4 PUSH2 0x401 JUMP JUMPDEST PUSH2 0x43 PUSH2 0x215 JUMP JUMPDEST PUSH2 0x4F DUP3 DUP5 ADD DUP5 PUSH2 0x471 JUMP JUMPDEST SWAP1 POP PUSH2 0x59 PUSH2 0x22C JUMP JUMPDEST PUSH2 0x65 DUP6 DUP8 ADD DUP8 PUSH2 0x3BD JUMP JUMPDEST PUSH1 0x20 DUP4 ADD MLOAD SWAP1 SWAP2 POP PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB AND PUSH2 0xF2 JUMPI DUP1 MLOAD DUP1 MLOAD PUSH1 0x20 SWAP1 SWAP2 ADD MLOAD PUSH1 0x40 MLOAD PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB SWAP1 SWAP3 AND SWAP2 PUSH2 0x8FC DUP3 ISZERO MUL SWAP2 SWAP1 PUSH1 0x0 DUP2 DUP2 DUP2 DUP6 DUP9 DUP9 CALL POP DUP5 SWAP4 POP PUSH1 0x1 SWAP3 POP PUSH2 0xB4 SWAP2 POP POP JUMP JUMPDEST PUSH1 0x20 MUL ADD MLOAD MLOAD PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB AND PUSH2 0x8FC DUP3 PUSH1 0x1 PUSH1 0x20 MUL ADD MLOAD PUSH1 0x20 ADD MLOAD SWAP1 DUP2 ISZERO MUL SWAP1 PUSH1 0x40 MLOAD PUSH1 0x0 PUSH1 0x40 MLOAD DUP1 DUP4 SUB DUP2 DUP6 DUP9 DUP9 CALL SWAP4 POP POP POP POP POP PUSH2 0x20D JUMP JUMPDEST PUSH1 0x20 DUP3 DUP2 ADD MLOAD DUP3 MLOAD DUP1 MLOAD SWAP3 ADD MLOAD PUSH1 0x40 MLOAD PUSH4 0xA9059CBB PUSH1 0xE0 SHL DUP2 MSTORE PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB SWAP1 SWAP3 AND SWAP3 PUSH4 0xA9059CBB SWAP3 PUSH2 0x12B SWAP3 SWAP1 PUSH1 0x4 ADD PUSH2 0x4A7 JUMP JUMPDEST PUSH1 0x20 PUSH1 0x40 MLOAD DUP1 DUP4 SUB DUP2 PUSH1 0x0 DUP8 DUP1 EXTCODESIZE ISZERO DUP1 ISZERO PUSH2 0x145 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST POP GAS CALL ISZERO DUP1 ISZERO PUSH2 0x159 JUMPI RETURNDATASIZE PUSH1 0x0 DUP1 RETURNDATACOPY RETURNDATASIZE PUSH1 0x0 REVERT JUMPDEST POP POP POP POP PUSH1 0x40 MLOAD RETURNDATASIZE PUSH1 0x1F NOT PUSH1 0x1F DUP3 ADD AND DUP3 ADD DUP1 PUSH1 0x40 MSTORE POP PUSH2 0x17D SWAP2 SWAP1 DUP2 ADD SWAP1 PUSH2 0x3E3 JUMP JUMPDEST POP PUSH1 0x20 DUP3 DUP2 ADD MLOAD DUP3 DUP3 ADD MLOAD DUP1 MLOAD SWAP3 ADD MLOAD PUSH1 0x40 MLOAD PUSH4 0xA9059CBB PUSH1 0xE0 SHL DUP2 MSTORE PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB SWAP1 SWAP3 AND SWAP3 PUSH4 0xA9059CBB SWAP3 PUSH2 0x1B9 SWAP3 SWAP1 PUSH1 0x4 ADD PUSH2 0x4A7 JUMP JUMPDEST PUSH1 0x20 PUSH1 0x40 MLOAD DUP1 DUP4 SUB DUP2 PUSH1 0x0 DUP8 DUP1 EXTCODESIZE ISZERO DUP1 ISZERO PUSH2 0x1D3 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST POP GAS CALL ISZERO DUP1 ISZERO PUSH2 0x1E7 JUMPI RETURNDATASIZE PUSH1 0x0 DUP1 RETURNDATACOPY RETURNDATASIZE PUSH1 0x0 REVERT JUMPDEST POP POP POP POP PUSH1 0x40 MLOAD RETURNDATASIZE PUSH1 0x1F NOT PUSH1 0x1F DUP3 ADD AND DUP3 ADD DUP1 PUSH1 0x40 MSTORE POP PUSH2 0x20B SWAP2 SWAP1 DUP2 ADD SWAP1 PUSH2 0x3E3 JUMP JUMPDEST POP JUMPDEST POP POP POP POP POP POP JUMP JUMPDEST PUSH1 0x40 DUP1 MLOAD DUP1 DUP3 ADD SWAP1 SWAP2 MSTORE PUSH1 0x0 DUP1 DUP3 MSTORE PUSH1 0x20 DUP3 ADD MSTORE SWAP1 JUMP JUMPDEST PUSH1 0x40 MLOAD DUP1 PUSH1 0x40 ADD PUSH1 0x40 MSTORE DUP1 PUSH1 0x2 SWAP1 JUMPDEST PUSH2 0x243 PUSH2 0x215 JUMP JUMPDEST DUP2 MSTORE PUSH1 0x20 ADD SWAP1 PUSH1 0x1 SWAP1 SUB SWAP1 DUP2 PUSH2 0x23B JUMPI SWAP1 POP POP SWAP1 JUMP JUMPDEST DUP1 CALLDATALOAD PUSH2 0x264 DUP2 PUSH2 0x53E JUMP JUMPDEST SWAP3 SWAP2 POP POP JUMP JUMPDEST PUSH1 0x0 DUP3 PUSH1 0x1F DUP4 ADD SLT PUSH2 0x27B JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST PUSH1 0x2 PUSH2 0x28E PUSH2 0x289 DUP3 PUSH2 0x4F0 JUMP JUMPDEST PUSH2 0x4C9 JUMP JUMPDEST SWAP2 POP DUP2 DUP4 DUP6 PUSH1 0x40 DUP5 MUL DUP3 ADD GT ISZERO PUSH2 0x2A4 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST PUSH1 0x0 JUMPDEST DUP4 DUP2 LT ISZERO PUSH2 0x2D2 JUMPI DUP2 PUSH2 0x2BA DUP9 DUP3 PUSH2 0x330 JUMP JUMPDEST DUP5 MSTORE POP PUSH1 0x20 SWAP1 SWAP3 ADD SWAP2 PUSH1 0x40 SWAP2 SWAP1 SWAP2 ADD SWAP1 PUSH1 0x1 ADD PUSH2 0x2A7 JUMP JUMPDEST POP POP POP POP SWAP3 SWAP2 POP POP JUMP JUMPDEST DUP1 MLOAD PUSH2 0x264 DUP2 PUSH2 0x555 JUMP JUMPDEST PUSH1 0x0 DUP1 DUP4 PUSH1 0x1F DUP5 ADD SLT PUSH2 0x2F9 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST POP DUP2 CALLDATALOAD PUSH8 0xFFFFFFFFFFFFFFFF DUP2 GT ISZERO PUSH2 0x311 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST PUSH1 0x20 DUP4 ADD SWAP2 POP DUP4 PUSH1 0x1 DUP3 MUL DUP4 ADD GT ISZERO PUSH2 0x329 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST SWAP3 POP SWAP3 SWAP1 POP JUMP JUMPDEST PUSH1 0x0 PUSH1 0x40 DUP3 DUP5 SUB SLT ISZERO PUSH2 0x342 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST PUSH2 0x34C PUSH1 0x40 PUSH2 0x4C9 JUMP JUMPDEST SWAP1 POP PUSH1 0x0 PUSH2 0x35A DUP5 DUP5 PUSH2 0x259 JUMP JUMPDEST DUP3 MSTORE POP PUSH1 0x20 PUSH2 0x36B DUP5 DUP5 DUP4 ADD PUSH2 0x3B2 JUMP JUMPDEST PUSH1 0x20 DUP4 ADD MSTORE POP SWAP3 SWAP2 POP POP JUMP JUMPDEST PUSH1 0x0 PUSH1 0x40 DUP3 DUP5 SUB SLT ISZERO PUSH2 0x389 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST PUSH2 0x393 PUSH1 0x40 PUSH2 0x4C9 JUMP JUMPDEST SWAP1 POP PUSH1 0x0 PUSH2 0x3A1 DUP5 DUP5 PUSH2 0x3B2 JUMP JUMPDEST DUP3 MSTORE POP PUSH1 0x20 PUSH2 0x36B DUP5 DUP5 DUP4 ADD PUSH2 0x259 JUMP JUMPDEST DUP1 CALLDATALOAD PUSH2 0x264 DUP2 PUSH2 0x55E JUMP JUMPDEST PUSH1 0x0 PUSH1 0x80 DUP3 DUP5 SUB SLT ISZERO PUSH2 0x3CF JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST PUSH1 0x0 PUSH2 0x3DB DUP5 DUP5 PUSH2 0x26A JUMP JUMPDEST SWAP5 SWAP4 POP POP POP POP JUMP JUMPDEST PUSH1 0x0 PUSH1 0x20 DUP3 DUP5 SUB SLT ISZERO PUSH2 0x3F5 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST PUSH1 0x0 PUSH2 0x3DB DUP5 DUP5 PUSH2 0x2DC JUMP JUMPDEST PUSH1 0x0 DUP1 PUSH1 0x0 DUP1 PUSH1 0x40 DUP6 DUP8 SUB SLT ISZERO PUSH2 0x417 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST DUP5 CALLDATALOAD PUSH8 0xFFFFFFFFFFFFFFFF DUP2 GT ISZERO PUSH2 0x42E JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST PUSH2 0x43A DUP8 DUP3 DUP9 ADD PUSH2 0x2E7 JUMP JUMPDEST SWAP5 POP SWAP5 POP POP PUSH1 0x20 DUP6 ADD CALLDATALOAD PUSH8 0xFFFFFFFFFFFFFFFF DUP2 GT ISZERO PUSH2 0x459 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST PUSH2 0x465 DUP8 DUP3 DUP9 ADD PUSH2 0x2E7 JUMP JUMPDEST SWAP6 SWAP9 SWAP5 SWAP8 POP SWAP6 POP POP POP POP JUMP JUMPDEST PUSH1 0x0 PUSH1 0x40 DUP3 DUP5 SUB SLT ISZERO PUSH2 0x483 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST PUSH1 0x0 PUSH2 0x3DB DUP5 DUP5 PUSH2 0x377 JUMP JUMPDEST PUSH2 0x498 DUP2 PUSH2 0x52D JUMP JUMPDEST DUP3 MSTORE POP POP JUMP JUMPDEST PUSH2 0x498 DUP2 PUSH2 0x52A JUMP JUMPDEST PUSH1 0x40 DUP2 ADD PUSH2 0x4B5 DUP3 DUP6 PUSH2 0x48F JUMP JUMPDEST PUSH2 0x4C2 PUSH1 0x20 DUP4 ADD DUP5 PUSH2 0x49E JUMP JUMPDEST SWAP4 SWAP3 POP POP POP JUMP JUMPDEST PUSH1 0x40 MLOAD DUP2 DUP2 ADD PUSH8 0xFFFFFFFFFFFFFFFF DUP2 GT DUP3 DUP3 LT OR ISZERO PUSH2 0x4E8 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST PUSH1 0x40 MSTORE SWAP2 SWAP1 POP JUMP JUMPDEST PUSH1 0x0 PUSH8 0xFFFFFFFFFFFFFFFF DUP3 GT ISZERO PUSH2 0x507 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST POP PUSH1 0x20 MUL SWAP1 JUMP JUMPDEST PUSH1 0x0 PUSH2 0x264 DUP3 PUSH2 0x51E JUMP JUMPDEST ISZERO ISZERO SWAP1 JUMP JUMPDEST PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB AND SWAP1 JUMP JUMPDEST SWAP1 JUMP JUMPDEST PUSH1 0x0 PUSH2 0x264 DUP3 PUSH1 0x0 PUSH2 0x264 DUP3 PUSH2 0x50E JUMP JUMPDEST PUSH2 0x547 DUP2 PUSH2 0x50E JUMP JUMPDEST DUP2 EQ PUSH2 0x552 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST POP JUMP JUMPDEST PUSH2 0x547 DUP2 PUSH2 0x519 JUMP JUMPDEST PUSH2 0x547 DUP2 PUSH2 0x52A JUMP INVALID LOG3 PUSH6 0x627A7A723158 KECCAK256 DUP11 CALLDATASIZE 0xfc PUSH18 0xA7D3D5D460DDAA22663B1B9C7AE56A922668 DUP12 PUSH4 0x391D0ABB SMOD AND NUMBER 0xaf PUSH13 0x6578706572696D656E74616CF5 PUSH5 0x736F6C6343 STOP SDIV SIGNEXTEND STOP BLOCKHASH ", | ||
"sourceMap": "318:1339:21:-;;;;8:9:-1;5:2;;;30:1;27;20:12;5:2;318:1339:21;;;;;;;" | ||
} | ||
}, | ||
"metadata": "{\"compiler\":{\"version\":\"0.5.11+commit.c082d0b4\"},\"language\":\"Solidity\",\"output\":{\"abi\":[{\"constant\":false,\"inputs\":[{\"internalType\":\"bytes\",\"name\":\"encodedOutput\",\"type\":\"bytes\"},{\"internalType\":\"bytes\",\"name\":\"encodedParams\",\"type\":\"bytes\"}],\"name\":\"interpretOutcomeAndExecuteEffect\",\"outputs\":[],\"payable\":false,\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"payable\":true,\"stateMutability\":\"payable\",\"type\":\"fallback\"}],\"devdoc\":{\"methods\":{}},\"userdoc\":{\"methods\":{},\"notice\":\"This file is excluded from ethlint/solium because of this issue: https://github.com/duaraghav8/Ethlint/issues/261\"}},\"settings\":{\"compilationTarget\":{\"contracts/interpreters/SingleAssetTwoPartyCoinTransferInterpreter.sol\":\"SingleAssetTwoPartyCoinTransferInterpreter\"},\"evmVersion\":\"petersburg\",\"libraries\":{},\"metadata\":{\"useLiteralContent\":true},\"optimizer\":{\"enabled\":true,\"runs\":200},\"remappings\":[]},\"sources\":{\"contracts/Interpreter.sol\":{\"content\":\"pragma solidity 0.5.11;\\npragma experimental \\\"ABIEncoderV2\\\";\\n\\n\\ncontract Interpreter {\\n function interpretOutcomeAndExecuteEffect(\\n bytes calldata,\\n bytes calldata\\n )\\n external;\\n}\\n\",\"keccak256\":\"0xeb89d1c284b71be16679eaa5f7383ff38eb6a248802939d4e66fe490b0d2d086\"},\"contracts/interpreters/SingleAssetTwoPartyCoinTransferInterpreter.sol\":{\"content\":\"pragma solidity 0.5.11;\\npragma experimental \\\"ABIEncoderV2\\\";\\n\\nimport \\\"openzeppelin-solidity/contracts/token/ERC20/ERC20.sol\\\";\\n\\nimport \\\"../libs/LibOutcome.sol\\\";\\nimport \\\"../Interpreter.sol\\\";\\n\\n\\n/**\\n * This file is excluded from ethlint/solium because of this issue:\\n * https://github.com/duaraghav8/Ethlint/issues/261\\n */\\ncontract SingleAssetTwoPartyCoinTransferInterpreter is Interpreter {\\n\\n address constant CONVENTION_FOR_ETH_TOKEN_ADDRESS = address(0x0);\\n\\n struct Params {\\n uint256 limit;\\n address tokenAddress;\\n }\\n // NOTE: This is useful for writing tests, but is bad practice\\n // to have in the contract when deploying it. We do not want people\\n // to send funds to this contract in any scenario.\\n function () external payable { }\\n\\n function interpretOutcomeAndExecuteEffect(\\n bytes calldata encodedOutput,\\n bytes calldata encodedParams\\n )\\n external\\n {\\n\\n Params memory params = abi.decode(encodedParams, (Params));\\n\\n LibOutcome.CoinTransfer[2] memory outcome = abi.decode(\\n encodedOutput,\\n (LibOutcome.CoinTransfer[2])\\n );\\n\\n if (params.tokenAddress == CONVENTION_FOR_ETH_TOKEN_ADDRESS) {\\n outcome[0].to.transfer(outcome[0].amount);\\n outcome[1].to.transfer(outcome[1].amount);\\n } else {\\n ERC20(params.tokenAddress).transfer(outcome[0].to, outcome[0].amount);\\n ERC20(params.tokenAddress).transfer(outcome[1].to, outcome[1].amount);\\n }\\n\\n }\\n}\\n\",\"keccak256\":\"0x7bf854e6c11b96eafff7647dfbf9012a744d7c5bcfdef6e960f1b2e935f2947e\"},\"contracts/libs/LibOutcome.sol\":{\"content\":\"pragma solidity 0.5.11;\\npragma experimental \\\"ABIEncoderV2\\\";\\n\\n\\nlibrary LibOutcome {\\n\\n struct CoinTransfer {\\n address payable to;\\n uint256 amount;\\n }\\n\\n enum TwoPartyFixedOutcome {\\n SEND_TO_ADDR_ONE,\\n SEND_TO_ADDR_TWO,\\n SPLIT_AND_SEND_TO_BOTH_ADDRS\\n }\\n\\n}\\n\",\"keccak256\":\"0x2a16de0fdce72f94b89d93d1fb408ef64e24b09be6ae5bda4e207f879abf1619\"},\"openzeppelin-solidity/contracts/math/SafeMath.sol\":{\"content\":\"pragma solidity ^0.5.0;\\n\\n/**\\n * @dev Wrappers over Solidity's arithmetic operations with added overflow\\n * checks.\\n *\\n * Arithmetic operations in Solidity wrap on overflow. This can easily result\\n * in bugs, because programmers usually assume that an overflow raises an\\n * error, which is the standard behavior in high level programming languages.\\n * `SafeMath` restores this intuition by reverting the transaction when an\\n * operation overflows.\\n *\\n * Using this library instead of the unchecked operations eliminates an entire\\n * class of bugs, so it's recommended to use it always.\\n */\\nlibrary SafeMath {\\n /**\\n * @dev Returns the addition of two unsigned integers, reverting on\\n * overflow.\\n *\\n * Counterpart to Solidity's `+` operator.\\n *\\n * Requirements:\\n * - Addition cannot overflow.\\n */\\n function add(uint256 a, uint256 b) internal pure returns (uint256) {\\n uint256 c = a + b;\\n require(c >= a, \\\"SafeMath: addition overflow\\\");\\n\\n return c;\\n }\\n\\n /**\\n * @dev Returns the subtraction of two unsigned integers, reverting on\\n * overflow (when the result is negative).\\n *\\n * Counterpart to Solidity's `-` operator.\\n *\\n * Requirements:\\n * - Subtraction cannot overflow.\\n */\\n function sub(uint256 a, uint256 b) internal pure returns (uint256) {\\n require(b <= a, \\\"SafeMath: subtraction overflow\\\");\\n uint256 c = a - b;\\n\\n return c;\\n }\\n\\n /**\\n * @dev Returns the multiplication of two unsigned integers, reverting on\\n * overflow.\\n *\\n * Counterpart to Solidity's `*` operator.\\n *\\n * Requirements:\\n * - Multiplication cannot overflow.\\n */\\n function mul(uint256 a, uint256 b) internal pure returns (uint256) {\\n // Gas optimization: this is cheaper than requiring 'a' not being zero, but the\\n // benefit is lost if 'b' is also tested.\\n // See: https://github.com/OpenZeppelin/openzeppelin-solidity/pull/522\\n if (a == 0) {\\n return 0;\\n }\\n\\n uint256 c = a * b;\\n require(c / a == b, \\\"SafeMath: multiplication overflow\\\");\\n\\n return c;\\n }\\n\\n /**\\n * @dev Returns the integer division of two unsigned integers. Reverts on\\n * division by zero. The result is rounded towards zero.\\n *\\n * Counterpart to Solidity's `/` operator. Note: this function uses a\\n * `revert` opcode (which leaves remaining gas untouched) while Solidity\\n * uses an invalid opcode to revert (consuming all remaining gas).\\n *\\n * Requirements:\\n * - The divisor cannot be zero.\\n */\\n function div(uint256 a, uint256 b) internal pure returns (uint256) {\\n // Solidity only automatically asserts when dividing by 0\\n require(b > 0, \\\"SafeMath: division by zero\\\");\\n uint256 c = a / b;\\n // assert(a == b * c + a % b); // There is no case in which this doesn't hold\\n\\n return c;\\n }\\n\\n /**\\n * @dev Returns the remainder of dividing two unsigned integers. (unsigned integer modulo),\\n * Reverts when dividing by zero.\\n *\\n * Counterpart to Solidity's `%` operator. This function uses a `revert`\\n * opcode (which leaves remaining gas untouched) while Solidity uses an\\n * invalid opcode to revert (consuming all remaining gas).\\n *\\n * Requirements:\\n * - The divisor cannot be zero.\\n */\\n function mod(uint256 a, uint256 b) internal pure returns (uint256) {\\n require(b != 0, \\\"SafeMath: modulo by zero\\\");\\n return a % b;\\n }\\n}\\n\",\"keccak256\":\"0x4ccf2d7b51873db1ccfd54ca2adae5eac3b184f9699911ed4490438419f1c690\"},\"openzeppelin-solidity/contracts/token/ERC20/ERC20.sol\":{\"content\":\"pragma solidity ^0.5.0;\\n\\nimport \\\"./IERC20.sol\\\";\\nimport \\\"../../math/SafeMath.sol\\\";\\n\\n/**\\n * @dev Implementation of the `IERC20` interface.\\n *\\n * This implementation is agnostic to the way tokens are created. This means\\n * that a supply mechanism has to be added in a derived contract using `_mint`.\\n * For a generic mechanism see `ERC20Mintable`.\\n *\\n * *For a detailed writeup see our guide [How to implement supply\\n * mechanisms](https://forum.zeppelin.solutions/t/how-to-implement-erc20-supply-mechanisms/226).*\\n *\\n * We have followed general OpenZeppelin guidelines: functions revert instead\\n * of returning `false` on failure. This behavior is nonetheless conventional\\n * and does not conflict with the expectations of ERC20 applications.\\n *\\n * Additionally, an `Approval` event is emitted on calls to `transferFrom`.\\n * This allows applications to reconstruct the allowance for all accounts just\\n * by listening to said events. Other implementations of the EIP may not emit\\n * these events, as it isn't required by the specification.\\n *\\n * Finally, the non-standard `decreaseAllowance` and `increaseAllowance`\\n * functions have been added to mitigate the well-known issues around setting\\n * allowances. See `IERC20.approve`.\\n */\\ncontract ERC20 is IERC20 {\\n using SafeMath for uint256;\\n\\n mapping (address => uint256) private _balances;\\n\\n mapping (address => mapping (address => uint256)) private _allowances;\\n\\n uint256 private _totalSupply;\\n\\n /**\\n * @dev See `IERC20.totalSupply`.\\n */\\n function totalSupply() public view returns (uint256) {\\n return _totalSupply;\\n }\\n\\n /**\\n * @dev See `IERC20.balanceOf`.\\n */\\n function balanceOf(address account) public view returns (uint256) {\\n return _balances[account];\\n }\\n\\n /**\\n * @dev See `IERC20.transfer`.\\n *\\n * Requirements:\\n *\\n * - `recipient` cannot be the zero address.\\n * - the caller must have a balance of at least `amount`.\\n */\\n function transfer(address recipient, uint256 amount) public returns (bool) {\\n _transfer(msg.sender, recipient, amount);\\n return true;\\n }\\n\\n /**\\n * @dev See `IERC20.allowance`.\\n */\\n function allowance(address owner, address spender) public view returns (uint256) {\\n return _allowances[owner][spender];\\n }\\n\\n /**\\n * @dev See `IERC20.approve`.\\n *\\n * Requirements:\\n *\\n * - `spender` cannot be the zero address.\\n */\\n function approve(address spender, uint256 value) public returns (bool) {\\n _approve(msg.sender, spender, value);\\n return true;\\n }\\n\\n /**\\n * @dev See `IERC20.transferFrom`.\\n *\\n * Emits an `Approval` event indicating the updated allowance. This is not\\n * required by the EIP. See the note at the beginning of `ERC20`;\\n *\\n * Requirements:\\n * - `sender` and `recipient` cannot be the zero address.\\n * - `sender` must have a balance of at least `value`.\\n * - the caller must have allowance for `sender`'s tokens of at least\\n * `amount`.\\n */\\n function transferFrom(address sender, address recipient, uint256 amount) public returns (bool) {\\n _transfer(sender, recipient, amount);\\n _approve(sender, msg.sender, _allowances[sender][msg.sender].sub(amount));\\n return true;\\n }\\n\\n /**\\n * @dev Atomically increases the allowance granted to `spender` by the caller.\\n *\\n * This is an alternative to `approve` that can be used as a mitigation for\\n * problems described in `IERC20.approve`.\\n *\\n * Emits an `Approval` event indicating the updated allowance.\\n *\\n * Requirements:\\n *\\n * - `spender` cannot be the zero address.\\n */\\n function increaseAllowance(address spender, uint256 addedValue) public returns (bool) {\\n _approve(msg.sender, spender, _allowances[msg.sender][spender].add(addedValue));\\n return true;\\n }\\n\\n /**\\n * @dev Atomically decreases the allowance granted to `spender` by the caller.\\n *\\n * This is an alternative to `approve` that can be used as a mitigation for\\n * problems described in `IERC20.approve`.\\n *\\n * Emits an `Approval` event indicating the updated allowance.\\n *\\n * Requirements:\\n *\\n * - `spender` cannot be the zero address.\\n * - `spender` must have allowance for the caller of at least\\n * `subtractedValue`.\\n */\\n function decreaseAllowance(address spender, uint256 subtractedValue) public returns (bool) {\\n _approve(msg.sender, spender, _allowances[msg.sender][spender].sub(subtractedValue));\\n return true;\\n }\\n\\n /**\\n * @dev Moves tokens `amount` from `sender` to `recipient`.\\n *\\n * This is internal function is equivalent to `transfer`, and can be used to\\n * e.g. implement automatic token fees, slashing mechanisms, etc.\\n *\\n * Emits a `Transfer` event.\\n *\\n * Requirements:\\n *\\n * - `sender` cannot be the zero address.\\n * - `recipient` cannot be the zero address.\\n * - `sender` must have a balance of at least `amount`.\\n */\\n function _transfer(address sender, address recipient, uint256 amount) internal {\\n require(sender != address(0), \\\"ERC20: transfer from the zero address\\\");\\n require(recipient != address(0), \\\"ERC20: transfer to the zero address\\\");\\n\\n _balances[sender] = _balances[sender].sub(amount);\\n _balances[recipient] = _balances[recipient].add(amount);\\n emit Transfer(sender, recipient, amount);\\n }\\n\\n /** @dev Creates `amount` tokens and assigns them to `account`, increasing\\n * the total supply.\\n *\\n * Emits a `Transfer` event with `from` set to the zero address.\\n *\\n * Requirements\\n *\\n * - `to` cannot be the zero address.\\n */\\n function _mint(address account, uint256 amount) internal {\\n require(account != address(0), \\\"ERC20: mint to the zero address\\\");\\n\\n _totalSupply = _totalSupply.add(amount);\\n _balances[account] = _balances[account].add(amount);\\n emit Transfer(address(0), account, amount);\\n }\\n\\n /**\\n * @dev Destoys `amount` tokens from `account`, reducing the\\n * total supply.\\n *\\n * Emits a `Transfer` event with `to` set to the zero address.\\n *\\n * Requirements\\n *\\n * - `account` cannot be the zero address.\\n * - `account` must have at least `amount` tokens.\\n */\\n function _burn(address account, uint256 value) internal {\\n require(account != address(0), \\\"ERC20: burn from the zero address\\\");\\n\\n _totalSupply = _totalSupply.sub(value);\\n _balances[account] = _balances[account].sub(value);\\n emit Transfer(account, address(0), value);\\n }\\n\\n /**\\n * @dev Sets `amount` as the allowance of `spender` over the `owner`s tokens.\\n *\\n * This is internal function is equivalent to `approve`, and can be used to\\n * e.g. set automatic allowances for certain subsystems, etc.\\n *\\n * Emits an `Approval` event.\\n *\\n * Requirements:\\n *\\n * - `owner` cannot be the zero address.\\n * - `spender` cannot be the zero address.\\n */\\n function _approve(address owner, address spender, uint256 value) internal {\\n require(owner != address(0), \\\"ERC20: approve from the zero address\\\");\\n require(spender != address(0), \\\"ERC20: approve to the zero address\\\");\\n\\n _allowances[owner][spender] = value;\\n emit Approval(owner, spender, value);\\n }\\n\\n /**\\n * @dev Destoys `amount` tokens from `account`.`amount` is then deducted\\n * from the caller's allowance.\\n *\\n * See `_burn` and `_approve`.\\n */\\n function _burnFrom(address account, uint256 amount) internal {\\n _burn(account, amount);\\n _approve(account, msg.sender, _allowances[account][msg.sender].sub(amount));\\n }\\n}\\n\",\"keccak256\":\"0x852793a3c2f86d336a683b30d688ec3dcfc57451af5a2bf5975cda3b7191a901\"},\"openzeppelin-solidity/contracts/token/ERC20/IERC20.sol\":{\"content\":\"pragma solidity ^0.5.0;\\n\\n/**\\n * @dev Interface of the ERC20 standard as defined in the EIP. Does not include\\n * the optional functions; to access them see `ERC20Detailed`.\\n */\\ninterface IERC20 {\\n /**\\n * @dev Returns the amount of tokens in existence.\\n */\\n function totalSupply() external view returns (uint256);\\n\\n /**\\n * @dev Returns the amount of tokens owned by `account`.\\n */\\n function balanceOf(address account) external view returns (uint256);\\n\\n /**\\n * @dev Moves `amount` tokens from the caller's account to `recipient`.\\n *\\n * Returns a boolean value indicating whether the operation succeeded.\\n *\\n * Emits a `Transfer` event.\\n */\\n function transfer(address recipient, uint256 amount) external returns (bool);\\n\\n /**\\n * @dev Returns the remaining number of tokens that `spender` will be\\n * allowed to spend on behalf of `owner` through `transferFrom`. This is\\n * zero by default.\\n *\\n * This value changes when `approve` or `transferFrom` are called.\\n */\\n function allowance(address owner, address spender) external view returns (uint256);\\n\\n /**\\n * @dev Sets `amount` as the allowance of `spender` over the caller's tokens.\\n *\\n * Returns a boolean value indicating whether the operation succeeded.\\n *\\n * > Beware that changing an allowance with this method brings the risk\\n * that someone may use both the old and the new allowance by unfortunate\\n * transaction ordering. One possible solution to mitigate this race\\n * condition is to first reduce the spender's allowance to 0 and set the\\n * desired value afterwards:\\n * https://github.com/ethereum/EIPs/issues/20#issuecomment-263524729\\n *\\n * Emits an `Approval` event.\\n */\\n function approve(address spender, uint256 amount) external returns (bool);\\n\\n /**\\n * @dev Moves `amount` tokens from `sender` to `recipient` using the\\n * allowance mechanism. `amount` is then deducted from the caller's\\n * allowance.\\n *\\n * Returns a boolean value indicating whether the operation succeeded.\\n *\\n * Emits a `Transfer` event.\\n */\\n function transferFrom(address sender, address recipient, uint256 amount) external returns (bool);\\n\\n /**\\n * @dev Emitted when `value` tokens are moved from one account (`from`) to\\n * another (`to`).\\n *\\n * Note that `value` may be zero.\\n */\\n event Transfer(address indexed from, address indexed to, uint256 value);\\n\\n /**\\n * @dev Emitted when the allowance of a `spender` for an `owner` is set by\\n * a call to `approve`. `value` is the new allowance.\\n */\\n event Approval(address indexed owner, address indexed spender, uint256 value);\\n}\\n\",\"keccak256\":\"0x90e8c2521653bbb1768b05889c5760031e688d9cd361f167489b89215e201b95\"}},\"version\":1}", | ||
"metadata": "{\"compiler\":{\"version\":\"0.5.11+commit.c082d0b4\"},\"language\":\"Solidity\",\"output\":{\"abi\":[{\"constant\":false,\"inputs\":[{\"internalType\":\"bytes\",\"name\":\"encodedOutput\",\"type\":\"bytes\"},{\"internalType\":\"bytes\",\"name\":\"encodedParams\",\"type\":\"bytes\"}],\"name\":\"interpretOutcomeAndExecuteEffect\",\"outputs\":[],\"payable\":false,\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"payable\":true,\"stateMutability\":\"payable\",\"type\":\"fallback\"}],\"devdoc\":{\"methods\":{}},\"userdoc\":{\"methods\":{},\"notice\":\"This file is excluded from ethlint/solium because of this issue: https://github.com/duaraghav8/Ethlint/issues/261\"}},\"settings\":{\"compilationTarget\":{\"contracts/interpreters/SingleAssetTwoPartyCoinTransferInterpreter.sol\":\"SingleAssetTwoPartyCoinTransferInterpreter\"},\"evmVersion\":\"petersburg\",\"libraries\":{},\"metadata\":{\"useLiteralContent\":true},\"optimizer\":{\"enabled\":true,\"runs\":200},\"remappings\":[]},\"sources\":{\"contracts/Interpreter.sol\":{\"content\":\"pragma solidity 0.5.11;\\npragma experimental \\\"ABIEncoderV2\\\";\\n\\n\\ncontract Interpreter {\\n function interpretOutcomeAndExecuteEffect(\\n bytes calldata,\\n bytes calldata\\n )\\n external;\\n}\\n\",\"keccak256\":\"0xeb89d1c284b71be16679eaa5f7383ff38eb6a248802939d4e66fe490b0d2d086\"},\"contracts/interpreters/SingleAssetTwoPartyCoinTransferInterpreter.sol\":{\"content\":\"pragma solidity 0.5.11;\\npragma experimental \\\"ABIEncoderV2\\\";\\n\\nimport \\\"openzeppelin-solidity/contracts/token/ERC20/ERC20.sol\\\";\\n\\nimport \\\"../libs/LibOutcome.sol\\\";\\nimport \\\"../Interpreter.sol\\\";\\n\\n\\n/**\\n * This file is excluded from ethlint/solium because of this issue:\\n * https://github.com/duaraghav8/Ethlint/issues/261\\n */\\ncontract SingleAssetTwoPartyCoinTransferInterpreter is Interpreter {\\n\\n address constant CONVENTION_FOR_ETH_TOKEN_ADDRESS = address(0x0);\\n\\n struct Params {\\n uint256 limit;\\n address tokenAddress;\\n }\\n // NOTE: This is useful for writing tests, but is bad practice\\n // to have in the contract when deploying it. We do not want people\\n // to send funds to this contract in any scenario.\\n function () external payable { }\\n\\n function interpretOutcomeAndExecuteEffect(\\n bytes calldata encodedOutput,\\n bytes calldata encodedParams\\n )\\n external\\n {\\n\\n Params memory params = abi.decode(encodedParams, (Params));\\n\\n LibOutcome.CoinTransfer[2] memory outcome = abi.decode(\\n encodedOutput,\\n (LibOutcome.CoinTransfer[2])\\n );\\n\\n if (params.tokenAddress == CONVENTION_FOR_ETH_TOKEN_ADDRESS) {\\n // note: send() is deliberately used instead of coinTransfer() here\\n // so that a revert does not stop the rest of the sends\\n // see decenter audit for context\\n /* solium-disable-next-line */\\n outcome[0].to.send(outcome[0].amount);\\n /* solium-disable-next-line */\\n outcome[1].to.send(outcome[1].amount);\\n } else {\\n ERC20(params.tokenAddress).transfer(outcome[0].to, outcome[0].amount);\\n ERC20(params.tokenAddress).transfer(outcome[1].to, outcome[1].amount);\\n }\\n\\n }\\n}\\n\",\"keccak256\":\"0xc18cd8eb7b2aaa1ca3980a6a974111b21d3e16f3012a3cf0c9ae9fbedd997e82\"},\"contracts/libs/LibOutcome.sol\":{\"content\":\"pragma solidity 0.5.11;\\npragma experimental \\\"ABIEncoderV2\\\";\\n\\n\\nlibrary LibOutcome {\\n\\n struct CoinTransfer {\\n address payable to;\\n uint256 amount;\\n }\\n\\n enum TwoPartyFixedOutcome {\\n SEND_TO_ADDR_ONE,\\n SEND_TO_ADDR_TWO,\\n SPLIT_AND_SEND_TO_BOTH_ADDRS\\n }\\n\\n}\\n\",\"keccak256\":\"0x2a16de0fdce72f94b89d93d1fb408ef64e24b09be6ae5bda4e207f879abf1619\"},\"openzeppelin-solidity/contracts/math/SafeMath.sol\":{\"content\":\"pragma solidity ^0.5.0;\\n\\n/**\\n * @dev Wrappers over Solidity's arithmetic operations with added overflow\\n * checks.\\n *\\n * Arithmetic operations in Solidity wrap on overflow. This can easily result\\n * in bugs, because programmers usually assume that an overflow raises an\\n * error, which is the standard behavior in high level programming languages.\\n * `SafeMath` restores this intuition by reverting the transaction when an\\n * operation overflows.\\n *\\n * Using this library instead of the unchecked operations eliminates an entire\\n * class of bugs, so it's recommended to use it always.\\n */\\nlibrary SafeMath {\\n /**\\n * @dev Returns the addition of two unsigned integers, reverting on\\n * overflow.\\n *\\n * Counterpart to Solidity's `+` operator.\\n *\\n * Requirements:\\n * - Addition cannot overflow.\\n */\\n function add(uint256 a, uint256 b) internal pure returns (uint256) {\\n uint256 c = a + b;\\n require(c >= a, \\\"SafeMath: addition overflow\\\");\\n\\n return c;\\n }\\n\\n /**\\n * @dev Returns the subtraction of two unsigned integers, reverting on\\n * overflow (when the result is negative).\\n *\\n * Counterpart to Solidity's `-` operator.\\n *\\n * Requirements:\\n * - Subtraction cannot overflow.\\n */\\n function sub(uint256 a, uint256 b) internal pure returns (uint256) {\\n require(b <= a, \\\"SafeMath: subtraction overflow\\\");\\n uint256 c = a - b;\\n\\n return c;\\n }\\n\\n /**\\n * @dev Returns the multiplication of two unsigned integers, reverting on\\n * overflow.\\n *\\n * Counterpart to Solidity's `*` operator.\\n *\\n * Requirements:\\n * - Multiplication cannot overflow.\\n */\\n function mul(uint256 a, uint256 b) internal pure returns (uint256) {\\n // Gas optimization: this is cheaper than requiring 'a' not being zero, but the\\n // benefit is lost if 'b' is also tested.\\n // See: https://github.com/OpenZeppelin/openzeppelin-solidity/pull/522\\n if (a == 0) {\\n return 0;\\n }\\n\\n uint256 c = a * b;\\n require(c / a == b, \\\"SafeMath: multiplication overflow\\\");\\n\\n return c;\\n }\\n\\n /**\\n * @dev Returns the integer division of two unsigned integers. Reverts on\\n * division by zero. The result is rounded towards zero.\\n *\\n * Counterpart to Solidity's `/` operator. Note: this function uses a\\n * `revert` opcode (which leaves remaining gas untouched) while Solidity\\n * uses an invalid opcode to revert (consuming all remaining gas).\\n *\\n * Requirements:\\n * - The divisor cannot be zero.\\n */\\n function div(uint256 a, uint256 b) internal pure returns (uint256) {\\n // Solidity only automatically asserts when dividing by 0\\n require(b > 0, \\\"SafeMath: division by zero\\\");\\n uint256 c = a / b;\\n // assert(a == b * c + a % b); // There is no case in which this doesn't hold\\n\\n return c;\\n }\\n\\n /**\\n * @dev Returns the remainder of dividing two unsigned integers. (unsigned integer modulo),\\n * Reverts when dividing by zero.\\n *\\n * Counterpart to Solidity's `%` operator. This function uses a `revert`\\n * opcode (which leaves remaining gas untouched) while Solidity uses an\\n * invalid opcode to revert (consuming all remaining gas).\\n *\\n * Requirements:\\n * - The divisor cannot be zero.\\n */\\n function mod(uint256 a, uint256 b) internal pure returns (uint256) {\\n require(b != 0, \\\"SafeMath: modulo by zero\\\");\\n return a % b;\\n }\\n}\\n\",\"keccak256\":\"0x4ccf2d7b51873db1ccfd54ca2adae5eac3b184f9699911ed4490438419f1c690\"},\"openzeppelin-solidity/contracts/token/ERC20/ERC20.sol\":{\"content\":\"pragma solidity ^0.5.0;\\n\\nimport \\\"./IERC20.sol\\\";\\nimport \\\"../../math/SafeMath.sol\\\";\\n\\n/**\\n * @dev Implementation of the `IERC20` interface.\\n *\\n * This implementation is agnostic to the way tokens are created. This means\\n * that a supply mechanism has to be added in a derived contract using `_mint`.\\n * For a generic mechanism see `ERC20Mintable`.\\n *\\n * *For a detailed writeup see our guide [How to implement supply\\n * mechanisms](https://forum.zeppelin.solutions/t/how-to-implement-erc20-supply-mechanisms/226).*\\n *\\n * We have followed general OpenZeppelin guidelines: functions revert instead\\n * of returning `false` on failure. This behavior is nonetheless conventional\\n * and does not conflict with the expectations of ERC20 applications.\\n *\\n * Additionally, an `Approval` event is emitted on calls to `transferFrom`.\\n * This allows applications to reconstruct the allowance for all accounts just\\n * by listening to said events. Other implementations of the EIP may not emit\\n * these events, as it isn't required by the specification.\\n *\\n * Finally, the non-standard `decreaseAllowance` and `increaseAllowance`\\n * functions have been added to mitigate the well-known issues around setting\\n * allowances. See `IERC20.approve`.\\n */\\ncontract ERC20 is IERC20 {\\n using SafeMath for uint256;\\n\\n mapping (address => uint256) private _balances;\\n\\n mapping (address => mapping (address => uint256)) private _allowances;\\n\\n uint256 private _totalSupply;\\n\\n /**\\n * @dev See `IERC20.totalSupply`.\\n */\\n function totalSupply() public view returns (uint256) {\\n return _totalSupply;\\n }\\n\\n /**\\n * @dev See `IERC20.balanceOf`.\\n */\\n function balanceOf(address account) public view returns (uint256) {\\n return _balances[account];\\n }\\n\\n /**\\n * @dev See `IERC20.transfer`.\\n *\\n * Requirements:\\n *\\n * - `recipient` cannot be the zero address.\\n * - the caller must have a balance of at least `amount`.\\n */\\n function transfer(address recipient, uint256 amount) public returns (bool) {\\n _transfer(msg.sender, recipient, amount);\\n return true;\\n }\\n\\n /**\\n * @dev See `IERC20.allowance`.\\n */\\n function allowance(address owner, address spender) public view returns (uint256) {\\n return _allowances[owner][spender];\\n }\\n\\n /**\\n * @dev See `IERC20.approve`.\\n *\\n * Requirements:\\n *\\n * - `spender` cannot be the zero address.\\n */\\n function approve(address spender, uint256 value) public returns (bool) {\\n _approve(msg.sender, spender, value);\\n return true;\\n }\\n\\n /**\\n * @dev See `IERC20.transferFrom`.\\n *\\n * Emits an `Approval` event indicating the updated allowance. This is not\\n * required by the EIP. See the note at the beginning of `ERC20`;\\n *\\n * Requirements:\\n * - `sender` and `recipient` cannot be the zero address.\\n * - `sender` must have a balance of at least `value`.\\n * - the caller must have allowance for `sender`'s tokens of at least\\n * `amount`.\\n */\\n function transferFrom(address sender, address recipient, uint256 amount) public returns (bool) {\\n _transfer(sender, recipient, amount);\\n _approve(sender, msg.sender, _allowances[sender][msg.sender].sub(amount));\\n return true;\\n }\\n\\n /**\\n * @dev Atomically increases the allowance granted to `spender` by the caller.\\n *\\n * This is an alternative to `approve` that can be used as a mitigation for\\n * problems described in `IERC20.approve`.\\n *\\n * Emits an `Approval` event indicating the updated allowance.\\n *\\n * Requirements:\\n *\\n * - `spender` cannot be the zero address.\\n */\\n function increaseAllowance(address spender, uint256 addedValue) public returns (bool) {\\n _approve(msg.sender, spender, _allowances[msg.sender][spender].add(addedValue));\\n return true;\\n }\\n\\n /**\\n * @dev Atomically decreases the allowance granted to `spender` by the caller.\\n *\\n * This is an alternative to `approve` that can be used as a mitigation for\\n * problems described in `IERC20.approve`.\\n *\\n * Emits an `Approval` event indicating the updated allowance.\\n *\\n * Requirements:\\n *\\n * - `spender` cannot be the zero address.\\n * - `spender` must have allowance for the caller of at least\\n * `subtractedValue`.\\n */\\n function decreaseAllowance(address spender, uint256 subtractedValue) public returns (bool) {\\n _approve(msg.sender, spender, _allowances[msg.sender][spender].sub(subtractedValue));\\n return true;\\n }\\n\\n /**\\n * @dev Moves tokens `amount` from `sender` to `recipient`.\\n *\\n * This is internal function is equivalent to `transfer`, and can be used to\\n * e.g. implement automatic token fees, slashing mechanisms, etc.\\n *\\n * Emits a `Transfer` event.\\n *\\n * Requirements:\\n *\\n * - `sender` cannot be the zero address.\\n * - `recipient` cannot be the zero address.\\n * - `sender` must have a balance of at least `amount`.\\n */\\n function _transfer(address sender, address recipient, uint256 amount) internal {\\n require(sender != address(0), \\\"ERC20: transfer from the zero address\\\");\\n require(recipient != address(0), \\\"ERC20: transfer to the zero address\\\");\\n\\n _balances[sender] = _balances[sender].sub(amount);\\n _balances[recipient] = _balances[recipient].add(amount);\\n emit Transfer(sender, recipient, amount);\\n }\\n\\n /** @dev Creates `amount` tokens and assigns them to `account`, increasing\\n * the total supply.\\n *\\n * Emits a `Transfer` event with `from` set to the zero address.\\n *\\n * Requirements\\n *\\n * - `to` cannot be the zero address.\\n */\\n function _mint(address account, uint256 amount) internal {\\n require(account != address(0), \\\"ERC20: mint to the zero address\\\");\\n\\n _totalSupply = _totalSupply.add(amount);\\n _balances[account] = _balances[account].add(amount);\\n emit Transfer(address(0), account, amount);\\n }\\n\\n /**\\n * @dev Destoys `amount` tokens from `account`, reducing the\\n * total supply.\\n *\\n * Emits a `Transfer` event with `to` set to the zero address.\\n *\\n * Requirements\\n *\\n * - `account` cannot be the zero address.\\n * - `account` must have at least `amount` tokens.\\n */\\n function _burn(address account, uint256 value) internal {\\n require(account != address(0), \\\"ERC20: burn from the zero address\\\");\\n\\n _totalSupply = _totalSupply.sub(value);\\n _balances[account] = _balances[account].sub(value);\\n emit Transfer(account, address(0), value);\\n }\\n\\n /**\\n * @dev Sets `amount` as the allowance of `spender` over the `owner`s tokens.\\n *\\n * This is internal function is equivalent to `approve`, and can be used to\\n * e.g. set automatic allowances for certain subsystems, etc.\\n *\\n * Emits an `Approval` event.\\n *\\n * Requirements:\\n *\\n * - `owner` cannot be the zero address.\\n * - `spender` cannot be the zero address.\\n */\\n function _approve(address owner, address spender, uint256 value) internal {\\n require(owner != address(0), \\\"ERC20: approve from the zero address\\\");\\n require(spender != address(0), \\\"ERC20: approve to the zero address\\\");\\n\\n _allowances[owner][spender] = value;\\n emit Approval(owner, spender, value);\\n }\\n\\n /**\\n * @dev Destoys `amount` tokens from `account`.`amount` is then deducted\\n * from the caller's allowance.\\n *\\n * See `_burn` and `_approve`.\\n */\\n function _burnFrom(address account, uint256 amount) internal {\\n _burn(account, amount);\\n _approve(account, msg.sender, _allowances[account][msg.sender].sub(amount));\\n }\\n}\\n\",\"keccak256\":\"0x852793a3c2f86d336a683b30d688ec3dcfc57451af5a2bf5975cda3b7191a901\"},\"openzeppelin-solidity/contracts/token/ERC20/IERC20.sol\":{\"content\":\"pragma solidity ^0.5.0;\\n\\n/**\\n * @dev Interface of the ERC20 standard as defined in the EIP. Does not include\\n * the optional functions; to access them see `ERC20Detailed`.\\n */\\ninterface IERC20 {\\n /**\\n * @dev Returns the amount of tokens in existence.\\n */\\n function totalSupply() external view returns (uint256);\\n\\n /**\\n * @dev Returns the amount of tokens owned by `account`.\\n */\\n function balanceOf(address account) external view returns (uint256);\\n\\n /**\\n * @dev Moves `amount` tokens from the caller's account to `recipient`.\\n *\\n * Returns a boolean value indicating whether the operation succeeded.\\n *\\n * Emits a `Transfer` event.\\n */\\n function transfer(address recipient, uint256 amount) external returns (bool);\\n\\n /**\\n * @dev Returns the remaining number of tokens that `spender` will be\\n * allowed to spend on behalf of `owner` through `transferFrom`. This is\\n * zero by default.\\n *\\n * This value changes when `approve` or `transferFrom` are called.\\n */\\n function allowance(address owner, address spender) external view returns (uint256);\\n\\n /**\\n * @dev Sets `amount` as the allowance of `spender` over the caller's tokens.\\n *\\n * Returns a boolean value indicating whether the operation succeeded.\\n *\\n * > Beware that changing an allowance with this method brings the risk\\n * that someone may use both the old and the new allowance by unfortunate\\n * transaction ordering. One possible solution to mitigate this race\\n * condition is to first reduce the spender's allowance to 0 and set the\\n * desired value afterwards:\\n * https://github.com/ethereum/EIPs/issues/20#issuecomment-263524729\\n *\\n * Emits an `Approval` event.\\n */\\n function approve(address spender, uint256 amount) external returns (bool);\\n\\n /**\\n * @dev Moves `amount` tokens from `sender` to `recipient` using the\\n * allowance mechanism. `amount` is then deducted from the caller's\\n * allowance.\\n *\\n * Returns a boolean value indicating whether the operation succeeded.\\n *\\n * Emits a `Transfer` event.\\n */\\n function transferFrom(address sender, address recipient, uint256 amount) external returns (bool);\\n\\n /**\\n * @dev Emitted when `value` tokens are moved from one account (`from`) to\\n * another (`to`).\\n *\\n * Note that `value` may be zero.\\n */\\n event Transfer(address indexed from, address indexed to, uint256 value);\\n\\n /**\\n * @dev Emitted when the allowance of a `spender` for an `owner` is set by\\n * a call to `approve`. `value` is the new allowance.\\n */\\n event Approval(address indexed owner, address indexed spender, uint256 value);\\n}\\n\",\"keccak256\":\"0x90e8c2521653bbb1768b05889c5760031e688d9cd361f167489b89215e201b95\"}},\"version\":1}", | ||
"interface": [ | ||
@@ -66,3 +66,3 @@ { | ||
], | ||
"bytecode": "608060405234801561001057600080fd5b506105ba806100206000396000f3fe60806040526004361061001e5760003560e01c80638dd8fc9714610020575b005b34801561002c57600080fd5b5061001e61003b366004610411565b610043610225565b61004f82840184610481565b905061005961023c565b610065858701876103cd565b60208301519091506001600160a01b031661010257805180516020909101516040516001600160a01b03909216916108fc82150291906000818181858888f193505050501580156100ba573d6000803e3d6000fd5b5060208082015180519101516040516001600160a01b039092169181156108fc0291906000818181858888f193505050501580156100fc573d6000803e3d6000fd5b5061021d565b6020828101518251805192015160405163a9059cbb60e01b81526001600160a01b039092169263a9059cbb9261013b92906004016104b7565b602060405180830381600087803b15801561015557600080fd5b505af1158015610169573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525061018d91908101906103f3565b5060208281015182820151805192015160405163a9059cbb60e01b81526001600160a01b039092169263a9059cbb926101c992906004016104b7565b602060405180830381600087803b1580156101e357600080fd5b505af11580156101f7573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525061021b91908101906103f3565b505b505050505050565b604080518082019091526000808252602082015290565b60405180604001604052806002905b610253610225565b81526020019060019003908161024b5790505090565b80356102748161054e565b92915050565b600082601f83011261028b57600080fd5b600261029e61029982610500565b6104d9565b915081838560408402820111156102b457600080fd5b60005b838110156102e257816102ca8882610340565b845250602090920191604091909101906001016102b7565b5050505092915050565b805161027481610565565b60008083601f84011261030957600080fd5b50813567ffffffffffffffff81111561032157600080fd5b60208301915083600182028301111561033957600080fd5b9250929050565b60006040828403121561035257600080fd5b61035c60406104d9565b9050600061036a8484610269565b825250602061037b848483016103c2565b60208301525092915050565b60006040828403121561039957600080fd5b6103a360406104d9565b905060006103b184846103c2565b825250602061037b84848301610269565b80356102748161056e565b6000608082840312156103df57600080fd5b60006103eb848461027a565b949350505050565b60006020828403121561040557600080fd5b60006103eb84846102ec565b6000806000806040858703121561042757600080fd5b843567ffffffffffffffff81111561043e57600080fd5b61044a878288016102f7565b9450945050602085013567ffffffffffffffff81111561046957600080fd5b610475878288016102f7565b95989497509550505050565b60006040828403121561049357600080fd5b60006103eb8484610387565b6104a88161053d565b82525050565b6104a88161053a565b604081016104c5828561049f565b6104d260208301846104ae565b9392505050565b60405181810167ffffffffffffffff811182821017156104f857600080fd5b604052919050565b600067ffffffffffffffff82111561051757600080fd5b5060200290565b60006102748261052e565b151590565b6001600160a01b031690565b90565b60006102748260006102748261051e565b6105578161051e565b811461056257600080fd5b50565b61055781610529565b6105578161053a56fea365627a7a723158208ad4e131f679d3530a4f4552bee6bbf01af4af93f90b492ebb7e9ec58685a7686c6578706572696d656e74616cf564736f6c634300050b0040" | ||
"bytecode": "608060405234801561001057600080fd5b506105aa806100206000396000f3fe60806040526004361061001e5760003560e01c80638dd8fc9714610020575b005b34801561002c57600080fd5b5061001e61003b366004610401565b610043610215565b61004f82840184610471565b905061005961022c565b610065858701876103bd565b60208301519091506001600160a01b03166100f257805180516020909101516040516001600160a01b03909216916108fc82150291906000818181858888f150849350600192506100b4915050565b6020020151516001600160a01b03166108fc8260016020020151602001519081150290604051600060405180830381858888f193505050505061020d565b6020828101518251805192015160405163a9059cbb60e01b81526001600160a01b039092169263a9059cbb9261012b92906004016104a7565b602060405180830381600087803b15801561014557600080fd5b505af1158015610159573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525061017d91908101906103e3565b5060208281015182820151805192015160405163a9059cbb60e01b81526001600160a01b039092169263a9059cbb926101b992906004016104a7565b602060405180830381600087803b1580156101d357600080fd5b505af11580156101e7573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525061020b91908101906103e3565b505b505050505050565b604080518082019091526000808252602082015290565b60405180604001604052806002905b610243610215565b81526020019060019003908161023b5790505090565b80356102648161053e565b92915050565b600082601f83011261027b57600080fd5b600261028e610289826104f0565b6104c9565b915081838560408402820111156102a457600080fd5b60005b838110156102d257816102ba8882610330565b845250602090920191604091909101906001016102a7565b5050505092915050565b805161026481610555565b60008083601f8401126102f957600080fd5b50813567ffffffffffffffff81111561031157600080fd5b60208301915083600182028301111561032957600080fd5b9250929050565b60006040828403121561034257600080fd5b61034c60406104c9565b9050600061035a8484610259565b825250602061036b848483016103b2565b60208301525092915050565b60006040828403121561038957600080fd5b61039360406104c9565b905060006103a184846103b2565b825250602061036b84848301610259565b80356102648161055e565b6000608082840312156103cf57600080fd5b60006103db848461026a565b949350505050565b6000602082840312156103f557600080fd5b60006103db84846102dc565b6000806000806040858703121561041757600080fd5b843567ffffffffffffffff81111561042e57600080fd5b61043a878288016102e7565b9450945050602085013567ffffffffffffffff81111561045957600080fd5b610465878288016102e7565b95989497509550505050565b60006040828403121561048357600080fd5b60006103db8484610377565b6104988161052d565b82525050565b6104988161052a565b604081016104b5828561048f565b6104c2602083018461049e565b9392505050565b60405181810167ffffffffffffffff811182821017156104e857600080fd5b604052919050565b600067ffffffffffffffff82111561050757600080fd5b5060200290565b60006102648261051e565b151590565b6001600160a01b031690565b90565b60006102648260006102648261050e565b6105478161050e565b811461055257600080fd5b50565b61054781610519565b6105478161052a56fea365627a7a723158208a36fc71a7d3d5d460ddaa22663b1b9c7ae56a9226688b63391d0abb071643af6c6578706572696d656e74616cf564736f6c634300050b0040" | ||
} |
{ | ||
"name": "@counterfactual/cf-funding-protocol-contracts", | ||
"version": "0.0.6", | ||
"version": "0.0.7", | ||
"description": "Smart contracts for the Counterfactual multisig funding protocol", | ||
"license": "MIT", | ||
"engines": { | ||
"yarn": "1.12.3", | ||
"yarn": "1.17.3", | ||
"node": "10.15.3" | ||
@@ -33,5 +33,5 @@ }, | ||
"devDependencies": { | ||
"@counterfactual/cf-adjudicator-contracts": "0.0.3", | ||
"@counterfactual/types": "0.0.37", | ||
"@counterfactual/typescript-typings": "0.1.1", | ||
"@counterfactual/cf-adjudicator-contracts": "0.0.4", | ||
"@counterfactual/types": "0.0.38", | ||
"@counterfactual/typescript-typings": "0.1.2", | ||
"@types/chai": "4.2.0", | ||
@@ -42,4 +42,4 @@ "@types/node": "12.7.2", | ||
"eth-gas-reporter": "0.2.10", | ||
"ethereum-waffle": "2.0.15", | ||
"ethers": "4.0.33", | ||
"ethereum-waffle": "2.1.0", | ||
"ethers": "4.0.36", | ||
"ethlint": "1.2.4", | ||
@@ -50,8 +50,8 @@ "ganache-cli": "6.6.0", | ||
"solc": "0.5.11", | ||
"truffle": "5.0.31", | ||
"truffle": "5.0.33", | ||
"truffle-deploy-registry": "0.5.1", | ||
"truffle-hdwallet-provider": "1.0.16", | ||
"truffle-hdwallet-provider": "1.0.17", | ||
"ts-mocha": "6.0.0", | ||
"ts-node": "8.3.0", | ||
"tslint": "5.18.0", | ||
"tslint": "5.19.0", | ||
"zos-lib": "2.4.2" | ||
@@ -62,3 +62,3 @@ }, | ||
}, | ||
"gitHead": "9ed270dc3f8513226efe28b0a393171ccf26a9d5" | ||
"gitHead": "be1d395c8ebcc0e6e129d6e59e155dbaed01c135" | ||
} |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
1302955
10945