aboutsummaryrefslogtreecommitdiffstats
path: root/packages/migrations/artifacts/2.0.0/TestAssetProxyDispatcher.json
diff options
context:
space:
mode:
Diffstat (limited to 'packages/migrations/artifacts/2.0.0/TestAssetProxyDispatcher.json')
-rw-r--r--packages/migrations/artifacts/2.0.0/TestAssetProxyDispatcher.json112
1 files changed, 50 insertions, 62 deletions
diff --git a/packages/migrations/artifacts/2.0.0/TestAssetProxyDispatcher.json b/packages/migrations/artifacts/2.0.0/TestAssetProxyDispatcher.json
index 885a53919..dacc61b7f 100644
--- a/packages/migrations/artifacts/2.0.0/TestAssetProxyDispatcher.json
+++ b/packages/migrations/artifacts/2.0.0/TestAssetProxyDispatcher.json
@@ -8,7 +8,7 @@
"inputs": [
{
"name": "",
- "type": "uint8"
+ "type": "bytes4"
}
],
"name": "assetProxies",
@@ -23,31 +23,14 @@
"type": "function"
},
{
- "constant": false,
+ "constant": true,
"inputs": [
{
"name": "assetProxyId",
- "type": "uint8"
- },
- {
- "name": "newAssetProxy",
- "type": "address"
- },
- {
- "name": "oldAssetProxy",
- "type": "address"
+ "type": "bytes4"
}
],
- "name": "registerAssetProxy",
- "outputs": [],
- "payable": false,
- "stateMutability": "nonpayable",
- "type": "function"
- },
- {
- "constant": true,
- "inputs": [],
- "name": "owner",
+ "name": "getAssetProxy",
"outputs": [
{
"name": "",
@@ -59,22 +42,25 @@
"type": "function"
},
{
- "constant": true,
+ "constant": false,
"inputs": [
{
"name": "assetProxyId",
- "type": "uint8"
- }
- ],
- "name": "getAssetProxy",
- "outputs": [
+ "type": "bytes4"
+ },
{
- "name": "",
+ "name": "newAssetProxy",
+ "type": "address"
+ },
+ {
+ "name": "oldAssetProxy",
"type": "address"
}
],
+ "name": "registerAssetProxy",
+ "outputs": [],
"payable": false,
- "stateMutability": "view",
+ "stateMutability": "nonpayable",
"type": "function"
},
{
@@ -85,10 +71,6 @@
"type": "bytes"
},
{
- "name": "assetProxyId",
- "type": "uint8"
- },
- {
"name": "from",
"type": "address"
},
@@ -108,6 +90,20 @@
"type": "function"
},
{
+ "constant": true,
+ "inputs": [],
+ "name": "owner",
+ "outputs": [
+ {
+ "name": "",
+ "type": "address"
+ }
+ ],
+ "payable": false,
+ "stateMutability": "view",
+ "type": "function"
+ },
+ {
"constant": false,
"inputs": [
{
@@ -127,7 +123,7 @@
{
"indexed": false,
"name": "id",
- "type": "uint8"
+ "type": "bytes4"
},
{
"indexed": false,
@@ -147,15 +143,15 @@
"evm": {
"bytecode": {
"linkReferences": {},
- "object": "0x608060405260008054600160a060020a03191633179055610915806100256000396000f3006080604052600436106100775763ffffffff7c010000000000000000000000000000000000000000000000000000000060003504166338077164811461007c5780635c78d0c7146100b25780638da5cb5b146100d457806392c1421e146100f6578063a5fba6a414610116578063f2fde38b14610136575b600080fd5b34801561008857600080fd5b5061009c610097366004610636565b610156565b6040516100a991906107cb565b60405180910390f35b3480156100be57600080fd5b506100d26100cd366004610672565b610171565b005b3480156100e057600080fd5b506100e96103a8565b6040516100a99190610774565b34801561010257600080fd5b506100e9610111366004610636565b6103b7565b34801561012257600080fd5b506100d26101313660046105aa565b6103d5565b34801561014257600080fd5b506100d2610151366004610584565b6103e9565b600160205260009081526040902054600160a060020a031681565b6000805481908190600160a060020a031633146101ac5760405160e560020a62461bcd0281526004016101a3906107ea565b60405180910390fd5b60ff8616600090815260016020908152604091829020548251808401909352601483527f41535345545f50524f58595f4d49534d4154434800000000000000000000000091830191909152600160a060020a039081169450851684146102285760405160e560020a62461bcd0281526004016101a391906107d9565b50849150600160a060020a0382161561032c5781600160a060020a031663ae25532e6040518163ffffffff167c0100000000000000000000000000000000000000000000000000000000028152600401602060405180830381600087803b15801561029257600080fd5b505af11580156102a6573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052506102ca9190810190610654565b60408051808201909152601781527f41535345545f50524f58595f49445f4d49534d41544348000000000000000000602082015290915060ff8083169088161461032a5760405160e560020a62461bcd0281526004016101a391906107d9565b505b60ff861660009081526001602052604090819020805473ffffffffffffffffffffffffffffffffffffffff1916600160a060020a038516179055517f27ef5f484e50f2daf7c2d82c60fe4ce409009541176eb64095beac369db1d26090610398908890889088906107fa565b60405180910390a1505050505050565b600054600160a060020a031681565b60ff16600090815260016020526040902054600160a060020a031690565b6103e28585858585610451565b5050505050565b600054600160a060020a031633146104165760405160e560020a62461bcd0281526004016101a3906107ea565b600160a060020a0381161561044e576000805473ffffffffffffffffffffffffffffffffffffffff1916600160a060020a0383161790555b50565b6000808211156104f1575060ff8416600090815260016020526040908190205490517fa85e59e4000000000000000000000000000000000000000000000000000000008152600160a060020a0390911690819063a85e59e4906104be908990889088908890600401610788565b600060405180830381600087803b1580156104d857600080fd5b505af11580156104ec573d6000803e3d6000fd5b505050505b505050505050565b60006105058235610875565b9392505050565b6000601f8201831361051d57600080fd5b813561053061052b82610849565b610822565b9150808252602083016020830185838301111561054c57600080fd5b610557838284610895565b50505092915050565b60006105058235610881565b60006105058235610884565b60006105058251610884565b60006020828403121561059657600080fd5b60006105a284846104f9565b949350505050565b600080600080600060a086880312156105c257600080fd5b853567ffffffffffffffff8111156105d957600080fd5b6105e58882890161050c565b95505060206105f68882890161056c565b9450506040610607888289016104f9565b9350506060610618888289016104f9565b925050608061062988828901610560565b9150509295509295909350565b60006020828403121561064857600080fd5b60006105a2848461056c565b60006020828403121561066657600080fd5b60006105a28484610578565b60008060006060848603121561068757600080fd5b6000610693868661056c565b93505060206106a4868287016104f9565b92505060406106b5868287016104f9565b9150509250925092565b6106c881610875565b82525050565b60006106d982610871565b8084526106ed8160208601602086016108a1565b6106f6816108d1565b9093016020019392505050565b6106c88161088a565b603381527f4f6e6c7920636f6e7472616374206f776e657220697320616c6c6f776564207460208201527f6f2063616c6c2074686973206d6574686f642e00000000000000000000000000604082015260600190565b6106c881610881565b6106c881610884565b6020810161078282846106bf565b92915050565b6080808252810161079981876106ce565b90506107a860208301866106bf565b6107b560408301856106bf565b6107c26060830184610762565b95945050505050565b602081016107828284610703565b6020808252810161050581846106ce565b602080825281016107828161070c565b60608101610808828661076b565b61081560208301856106bf565b6105a260408301846106bf565b60405181810167ffffffffffffffff8111828210171561084157600080fd5b604052919050565b600067ffffffffffffffff82111561086057600080fd5b506020601f91909101601f19160190565b5190565b600160a060020a031690565b90565b60ff1690565b600061078282610875565b82818337506000910152565b60005b838110156108bc5781810151838201526020016108a4565b838111156108cb576000848401525b50505050565b601f01601f1916905600a265627a7a723058207394667f44ebeb12181c5b174bc76525aeaa1a819f337b31eb6f48e25028c1b76c6578706572696d656e74616cf50037",
- "opcodes": "PUSH1 0x80 PUSH1 0x40 MSTORE PUSH1 0x0 DUP1 SLOAD PUSH1 0x1 PUSH1 0xA0 PUSH1 0x2 EXP SUB NOT AND CALLER OR SWAP1 SSTORE PUSH2 0x915 DUP1 PUSH2 0x25 PUSH1 0x0 CODECOPY PUSH1 0x0 RETURN STOP PUSH1 0x80 PUSH1 0x40 MSTORE PUSH1 0x4 CALLDATASIZE LT PUSH2 0x77 JUMPI PUSH4 0xFFFFFFFF PUSH29 0x100000000000000000000000000000000000000000000000000000000 PUSH1 0x0 CALLDATALOAD DIV AND PUSH4 0x38077164 DUP2 EQ PUSH2 0x7C JUMPI DUP1 PUSH4 0x5C78D0C7 EQ PUSH2 0xB2 JUMPI DUP1 PUSH4 0x8DA5CB5B EQ PUSH2 0xD4 JUMPI DUP1 PUSH4 0x92C1421E EQ PUSH2 0xF6 JUMPI DUP1 PUSH4 0xA5FBA6A4 EQ PUSH2 0x116 JUMPI DUP1 PUSH4 0xF2FDE38B EQ PUSH2 0x136 JUMPI JUMPDEST PUSH1 0x0 DUP1 REVERT JUMPDEST CALLVALUE DUP1 ISZERO PUSH2 0x88 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST POP PUSH2 0x9C PUSH2 0x97 CALLDATASIZE PUSH1 0x4 PUSH2 0x636 JUMP JUMPDEST PUSH2 0x156 JUMP JUMPDEST PUSH1 0x40 MLOAD PUSH2 0xA9 SWAP2 SWAP1 PUSH2 0x7CB JUMP JUMPDEST PUSH1 0x40 MLOAD DUP1 SWAP2 SUB SWAP1 RETURN JUMPDEST CALLVALUE DUP1 ISZERO PUSH2 0xBE JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST POP PUSH2 0xD2 PUSH2 0xCD CALLDATASIZE PUSH1 0x4 PUSH2 0x672 JUMP JUMPDEST PUSH2 0x171 JUMP JUMPDEST STOP JUMPDEST CALLVALUE DUP1 ISZERO PUSH2 0xE0 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST POP PUSH2 0xE9 PUSH2 0x3A8 JUMP JUMPDEST PUSH1 0x40 MLOAD PUSH2 0xA9 SWAP2 SWAP1 PUSH2 0x774 JUMP JUMPDEST CALLVALUE DUP1 ISZERO PUSH2 0x102 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST POP PUSH2 0xE9 PUSH2 0x111 CALLDATASIZE PUSH1 0x4 PUSH2 0x636 JUMP JUMPDEST PUSH2 0x3B7 JUMP JUMPDEST CALLVALUE DUP1 ISZERO PUSH2 0x122 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST POP PUSH2 0xD2 PUSH2 0x131 CALLDATASIZE PUSH1 0x4 PUSH2 0x5AA JUMP JUMPDEST PUSH2 0x3D5 JUMP JUMPDEST CALLVALUE DUP1 ISZERO PUSH2 0x142 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST POP PUSH2 0xD2 PUSH2 0x151 CALLDATASIZE PUSH1 0x4 PUSH2 0x584 JUMP JUMPDEST PUSH2 0x3E9 JUMP JUMPDEST PUSH1 0x1 PUSH1 0x20 MSTORE PUSH1 0x0 SWAP1 DUP2 MSTORE PUSH1 0x40 SWAP1 KECCAK256 SLOAD PUSH1 0x1 PUSH1 0xA0 PUSH1 0x2 EXP SUB AND DUP2 JUMP JUMPDEST PUSH1 0x0 DUP1 SLOAD DUP2 SWAP1 DUP2 SWAP1 PUSH1 0x1 PUSH1 0xA0 PUSH1 0x2 EXP SUB AND CALLER EQ PUSH2 0x1AC JUMPI PUSH1 0x40 MLOAD PUSH1 0xE5 PUSH1 0x2 EXP PUSH3 0x461BCD MUL DUP2 MSTORE PUSH1 0x4 ADD PUSH2 0x1A3 SWAP1 PUSH2 0x7EA JUMP JUMPDEST PUSH1 0x40 MLOAD DUP1 SWAP2 SUB SWAP1 REVERT JUMPDEST PUSH1 0xFF DUP7 AND PUSH1 0x0 SWAP1 DUP2 MSTORE PUSH1 0x1 PUSH1 0x20 SWAP1 DUP2 MSTORE PUSH1 0x40 SWAP2 DUP3 SWAP1 KECCAK256 SLOAD DUP3 MLOAD DUP1 DUP5 ADD SWAP1 SWAP4 MSTORE PUSH1 0x14 DUP4 MSTORE PUSH32 0x41535345545F50524F58595F4D49534D41544348000000000000000000000000 SWAP2 DUP4 ADD SWAP2 SWAP1 SWAP2 MSTORE PUSH1 0x1 PUSH1 0xA0 PUSH1 0x2 EXP SUB SWAP1 DUP2 AND SWAP5 POP DUP6 AND DUP5 EQ PUSH2 0x228 JUMPI PUSH1 0x40 MLOAD PUSH1 0xE5 PUSH1 0x2 EXP PUSH3 0x461BCD MUL DUP2 MSTORE PUSH1 0x4 ADD PUSH2 0x1A3 SWAP2 SWAP1 PUSH2 0x7D9 JUMP JUMPDEST POP DUP5 SWAP2 POP PUSH1 0x1 PUSH1 0xA0 PUSH1 0x2 EXP SUB DUP3 AND ISZERO PUSH2 0x32C JUMPI DUP2 PUSH1 0x1 PUSH1 0xA0 PUSH1 0x2 EXP SUB AND PUSH4 0xAE25532E PUSH1 0x40 MLOAD DUP2 PUSH4 0xFFFFFFFF AND PUSH29 0x100000000000000000000000000000000000000000000000000000000 MUL DUP2 MSTORE PUSH1 0x4 ADD PUSH1 0x20 PUSH1 0x40 MLOAD DUP1 DUP4 SUB DUP2 PUSH1 0x0 DUP8 DUP1 EXTCODESIZE ISZERO DUP1 ISZERO PUSH2 0x292 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST POP GAS CALL ISZERO DUP1 ISZERO PUSH2 0x2A6 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 0x2CA SWAP2 SWAP1 DUP2 ADD SWAP1 PUSH2 0x654 JUMP JUMPDEST PUSH1 0x40 DUP1 MLOAD DUP1 DUP3 ADD SWAP1 SWAP2 MSTORE PUSH1 0x17 DUP2 MSTORE PUSH32 0x41535345545F50524F58595F49445F4D49534D41544348000000000000000000 PUSH1 0x20 DUP3 ADD MSTORE SWAP1 SWAP2 POP PUSH1 0xFF DUP1 DUP4 AND SWAP1 DUP9 AND EQ PUSH2 0x32A JUMPI PUSH1 0x40 MLOAD PUSH1 0xE5 PUSH1 0x2 EXP PUSH3 0x461BCD MUL DUP2 MSTORE PUSH1 0x4 ADD PUSH2 0x1A3 SWAP2 SWAP1 PUSH2 0x7D9 JUMP JUMPDEST POP JUMPDEST PUSH1 0xFF DUP7 AND PUSH1 0x0 SWAP1 DUP2 MSTORE PUSH1 0x1 PUSH1 0x20 MSTORE PUSH1 0x40 SWAP1 DUP2 SWAP1 KECCAK256 DUP1 SLOAD PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF NOT AND PUSH1 0x1 PUSH1 0xA0 PUSH1 0x2 EXP SUB DUP6 AND OR SWAP1 SSTORE MLOAD PUSH32 0x27EF5F484E50F2DAF7C2D82C60FE4CE409009541176EB64095BEAC369DB1D260 SWAP1 PUSH2 0x398 SWAP1 DUP9 SWAP1 DUP9 SWAP1 DUP9 SWAP1 PUSH2 0x7FA JUMP JUMPDEST PUSH1 0x40 MLOAD DUP1 SWAP2 SUB SWAP1 LOG1 POP POP POP POP POP POP JUMP JUMPDEST PUSH1 0x0 SLOAD PUSH1 0x1 PUSH1 0xA0 PUSH1 0x2 EXP SUB AND DUP2 JUMP JUMPDEST PUSH1 0xFF AND PUSH1 0x0 SWAP1 DUP2 MSTORE PUSH1 0x1 PUSH1 0x20 MSTORE PUSH1 0x40 SWAP1 KECCAK256 SLOAD PUSH1 0x1 PUSH1 0xA0 PUSH1 0x2 EXP SUB AND SWAP1 JUMP JUMPDEST PUSH2 0x3E2 DUP6 DUP6 DUP6 DUP6 DUP6 PUSH2 0x451 JUMP JUMPDEST POP POP POP POP POP JUMP JUMPDEST PUSH1 0x0 SLOAD PUSH1 0x1 PUSH1 0xA0 PUSH1 0x2 EXP SUB AND CALLER EQ PUSH2 0x416 JUMPI PUSH1 0x40 MLOAD PUSH1 0xE5 PUSH1 0x2 EXP PUSH3 0x461BCD MUL DUP2 MSTORE PUSH1 0x4 ADD PUSH2 0x1A3 SWAP1 PUSH2 0x7EA JUMP JUMPDEST PUSH1 0x1 PUSH1 0xA0 PUSH1 0x2 EXP SUB DUP2 AND ISZERO PUSH2 0x44E JUMPI PUSH1 0x0 DUP1 SLOAD PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF NOT AND PUSH1 0x1 PUSH1 0xA0 PUSH1 0x2 EXP SUB DUP4 AND OR SWAP1 SSTORE JUMPDEST POP JUMP JUMPDEST PUSH1 0x0 DUP1 DUP3 GT ISZERO PUSH2 0x4F1 JUMPI POP PUSH1 0xFF DUP5 AND PUSH1 0x0 SWAP1 DUP2 MSTORE PUSH1 0x1 PUSH1 0x20 MSTORE PUSH1 0x40 SWAP1 DUP2 SWAP1 KECCAK256 SLOAD SWAP1 MLOAD PUSH32 0xA85E59E400000000000000000000000000000000000000000000000000000000 DUP2 MSTORE PUSH1 0x1 PUSH1 0xA0 PUSH1 0x2 EXP SUB SWAP1 SWAP2 AND SWAP1 DUP2 SWAP1 PUSH4 0xA85E59E4 SWAP1 PUSH2 0x4BE SWAP1 DUP10 SWAP1 DUP9 SWAP1 DUP9 SWAP1 DUP9 SWAP1 PUSH1 0x4 ADD PUSH2 0x788 JUMP JUMPDEST PUSH1 0x0 PUSH1 0x40 MLOAD DUP1 DUP4 SUB DUP2 PUSH1 0x0 DUP8 DUP1 EXTCODESIZE ISZERO DUP1 ISZERO PUSH2 0x4D8 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST POP GAS CALL ISZERO DUP1 ISZERO PUSH2 0x4EC JUMPI RETURNDATASIZE PUSH1 0x0 DUP1 RETURNDATACOPY RETURNDATASIZE PUSH1 0x0 REVERT JUMPDEST POP POP POP POP JUMPDEST POP POP POP POP POP POP JUMP JUMPDEST PUSH1 0x0 PUSH2 0x505 DUP3 CALLDATALOAD PUSH2 0x875 JUMP JUMPDEST SWAP4 SWAP3 POP POP POP JUMP JUMPDEST PUSH1 0x0 PUSH1 0x1F DUP3 ADD DUP4 SGT PUSH2 0x51D JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST DUP2 CALLDATALOAD PUSH2 0x530 PUSH2 0x52B DUP3 PUSH2 0x849 JUMP JUMPDEST PUSH2 0x822 JUMP JUMPDEST SWAP2 POP DUP1 DUP3 MSTORE PUSH1 0x20 DUP4 ADD PUSH1 0x20 DUP4 ADD DUP6 DUP4 DUP4 ADD GT ISZERO PUSH2 0x54C JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST PUSH2 0x557 DUP4 DUP3 DUP5 PUSH2 0x895 JUMP JUMPDEST POP POP POP SWAP3 SWAP2 POP POP JUMP JUMPDEST PUSH1 0x0 PUSH2 0x505 DUP3 CALLDATALOAD PUSH2 0x881 JUMP JUMPDEST PUSH1 0x0 PUSH2 0x505 DUP3 CALLDATALOAD PUSH2 0x884 JUMP JUMPDEST PUSH1 0x0 PUSH2 0x505 DUP3 MLOAD PUSH2 0x884 JUMP JUMPDEST PUSH1 0x0 PUSH1 0x20 DUP3 DUP5 SUB SLT ISZERO PUSH2 0x596 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST PUSH1 0x0 PUSH2 0x5A2 DUP5 DUP5 PUSH2 0x4F9 JUMP JUMPDEST SWAP5 SWAP4 POP POP POP POP JUMP JUMPDEST PUSH1 0x0 DUP1 PUSH1 0x0 DUP1 PUSH1 0x0 PUSH1 0xA0 DUP7 DUP9 SUB SLT ISZERO PUSH2 0x5C2 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST DUP6 CALLDATALOAD PUSH8 0xFFFFFFFFFFFFFFFF DUP2 GT ISZERO PUSH2 0x5D9 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST PUSH2 0x5E5 DUP9 DUP3 DUP10 ADD PUSH2 0x50C JUMP JUMPDEST SWAP6 POP POP PUSH1 0x20 PUSH2 0x5F6 DUP9 DUP3 DUP10 ADD PUSH2 0x56C JUMP JUMPDEST SWAP5 POP POP PUSH1 0x40 PUSH2 0x607 DUP9 DUP3 DUP10 ADD PUSH2 0x4F9 JUMP JUMPDEST SWAP4 POP POP PUSH1 0x60 PUSH2 0x618 DUP9 DUP3 DUP10 ADD PUSH2 0x4F9 JUMP JUMPDEST SWAP3 POP POP PUSH1 0x80 PUSH2 0x629 DUP9 DUP3 DUP10 ADD PUSH2 0x560 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 0x648 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST PUSH1 0x0 PUSH2 0x5A2 DUP5 DUP5 PUSH2 0x56C JUMP JUMPDEST PUSH1 0x0 PUSH1 0x20 DUP3 DUP5 SUB SLT ISZERO PUSH2 0x666 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST PUSH1 0x0 PUSH2 0x5A2 DUP5 DUP5 PUSH2 0x578 JUMP JUMPDEST PUSH1 0x0 DUP1 PUSH1 0x0 PUSH1 0x60 DUP5 DUP7 SUB SLT ISZERO PUSH2 0x687 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST PUSH1 0x0 PUSH2 0x693 DUP7 DUP7 PUSH2 0x56C JUMP JUMPDEST SWAP4 POP POP PUSH1 0x20 PUSH2 0x6A4 DUP7 DUP3 DUP8 ADD PUSH2 0x4F9 JUMP JUMPDEST SWAP3 POP POP PUSH1 0x40 PUSH2 0x6B5 DUP7 DUP3 DUP8 ADD PUSH2 0x4F9 JUMP JUMPDEST SWAP2 POP POP SWAP3 POP SWAP3 POP SWAP3 JUMP JUMPDEST PUSH2 0x6C8 DUP2 PUSH2 0x875 JUMP JUMPDEST DUP3 MSTORE POP POP JUMP JUMPDEST PUSH1 0x0 PUSH2 0x6D9 DUP3 PUSH2 0x871 JUMP JUMPDEST DUP1 DUP5 MSTORE PUSH2 0x6ED DUP2 PUSH1 0x20 DUP7 ADD PUSH1 0x20 DUP7 ADD PUSH2 0x8A1 JUMP JUMPDEST PUSH2 0x6F6 DUP2 PUSH2 0x8D1 JUMP JUMPDEST SWAP1 SWAP4 ADD PUSH1 0x20 ADD SWAP4 SWAP3 POP POP POP JUMP JUMPDEST PUSH2 0x6C8 DUP2 PUSH2 0x88A JUMP JUMPDEST PUSH1 0x33 DUP2 MSTORE PUSH32 0x4F6E6C7920636F6E7472616374206F776E657220697320616C6C6F7765642074 PUSH1 0x20 DUP3 ADD MSTORE PUSH32 0x6F2063616C6C2074686973206D6574686F642E00000000000000000000000000 PUSH1 0x40 DUP3 ADD MSTORE PUSH1 0x60 ADD SWAP1 JUMP JUMPDEST PUSH2 0x6C8 DUP2 PUSH2 0x881 JUMP JUMPDEST PUSH2 0x6C8 DUP2 PUSH2 0x884 JUMP JUMPDEST PUSH1 0x20 DUP2 ADD PUSH2 0x782 DUP3 DUP5 PUSH2 0x6BF JUMP JUMPDEST SWAP3 SWAP2 POP POP JUMP JUMPDEST PUSH1 0x80 DUP1 DUP3 MSTORE DUP2 ADD PUSH2 0x799 DUP2 DUP8 PUSH2 0x6CE JUMP JUMPDEST SWAP1 POP PUSH2 0x7A8 PUSH1 0x20 DUP4 ADD DUP7 PUSH2 0x6BF JUMP JUMPDEST PUSH2 0x7B5 PUSH1 0x40 DUP4 ADD DUP6 PUSH2 0x6BF JUMP JUMPDEST PUSH2 0x7C2 PUSH1 0x60 DUP4 ADD DUP5 PUSH2 0x762 JUMP JUMPDEST SWAP6 SWAP5 POP POP POP POP POP JUMP JUMPDEST PUSH1 0x20 DUP2 ADD PUSH2 0x782 DUP3 DUP5 PUSH2 0x703 JUMP JUMPDEST PUSH1 0x20 DUP1 DUP3 MSTORE DUP2 ADD PUSH2 0x505 DUP2 DUP5 PUSH2 0x6CE JUMP JUMPDEST PUSH1 0x20 DUP1 DUP3 MSTORE DUP2 ADD PUSH2 0x782 DUP2 PUSH2 0x70C JUMP JUMPDEST PUSH1 0x60 DUP2 ADD PUSH2 0x808 DUP3 DUP7 PUSH2 0x76B JUMP JUMPDEST PUSH2 0x815 PUSH1 0x20 DUP4 ADD DUP6 PUSH2 0x6BF JUMP JUMPDEST PUSH2 0x5A2 PUSH1 0x40 DUP4 ADD DUP5 PUSH2 0x6BF JUMP JUMPDEST PUSH1 0x40 MLOAD DUP2 DUP2 ADD PUSH8 0xFFFFFFFFFFFFFFFF DUP2 GT DUP3 DUP3 LT OR ISZERO PUSH2 0x841 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST PUSH1 0x40 MSTORE SWAP2 SWAP1 POP JUMP JUMPDEST PUSH1 0x0 PUSH8 0xFFFFFFFFFFFFFFFF DUP3 GT ISZERO PUSH2 0x860 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST POP PUSH1 0x20 PUSH1 0x1F SWAP2 SWAP1 SWAP2 ADD PUSH1 0x1F NOT AND ADD SWAP1 JUMP JUMPDEST MLOAD SWAP1 JUMP JUMPDEST PUSH1 0x1 PUSH1 0xA0 PUSH1 0x2 EXP SUB AND SWAP1 JUMP JUMPDEST SWAP1 JUMP JUMPDEST PUSH1 0xFF AND SWAP1 JUMP JUMPDEST PUSH1 0x0 PUSH2 0x782 DUP3 PUSH2 0x875 JUMP JUMPDEST DUP3 DUP2 DUP4 CALLDATACOPY POP PUSH1 0x0 SWAP2 ADD MSTORE JUMP JUMPDEST PUSH1 0x0 JUMPDEST DUP4 DUP2 LT ISZERO PUSH2 0x8BC JUMPI DUP2 DUP2 ADD MLOAD DUP4 DUP3 ADD MSTORE PUSH1 0x20 ADD PUSH2 0x8A4 JUMP JUMPDEST DUP4 DUP2 GT ISZERO PUSH2 0x8CB JUMPI PUSH1 0x0 DUP5 DUP5 ADD MSTORE JUMPDEST POP POP POP POP JUMP JUMPDEST PUSH1 0x1F ADD PUSH1 0x1F NOT AND SWAP1 JUMP STOP LOG2 PUSH6 0x627A7A723058 KECCAK256 PUSH20 0x94667F44EBEB12181C5B174BC76525AEAA1A819F CALLER PUSH28 0x31EB6F48E25028C1B76C6578706572696D656E74616CF50037000000 ",
- "sourceMap": "705:333:6:-;;;363:5:10;:18;;-1:-1:-1;;;;;;363:18:10;371:10;363:18;;;705:333:6;;;;;;"
+ "object": "0x608060405260008054600160a060020a03191633179055610b4e806100256000396000f3006080604052600436106100775763ffffffff7c01000000000000000000000000000000000000000000000000000000006000350416633fd3c997811461007c57806360704108146100b2578063833abf3a146100df578063889b6d8d146101015780638da5cb5b14610121578063f2fde38b14610136575b600080fd5b34801561008857600080fd5b5061009c6100973660046107a3565b610156565b6040516100a991906109f1565b60405180910390f35b3480156100be57600080fd5b506100d26100cd3660046107a3565b61017e565b6040516100a991906109b5565b3480156100eb57600080fd5b506100ff6100fa3660046107df565b6101c8565b005b34801561010d57600080fd5b506100ff61011c36600461082c565b61047b565b34801561012d57600080fd5b506100d261048d565b34801561014257600080fd5b506100ff61015136600461077d565b6104a9565b60016020526000908152604090205473ffffffffffffffffffffffffffffffffffffffff1681565b7fffffffff000000000000000000000000000000000000000000000000000000001660009081526001602052604090205473ffffffffffffffffffffffffffffffffffffffff1690565b600080548190819073ffffffffffffffffffffffffffffffffffffffff163314610227576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161021e90610a2f565b60405180910390fd5b7fffffffff00000000000000000000000000000000000000000000000000000000861660009081526001602052604090205473ffffffffffffffffffffffffffffffffffffffff9081169350841683146102ad576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161021e90610a3f565b84915073ffffffffffffffffffffffffffffffffffffffff8216156103c8578173ffffffffffffffffffffffffffffffffffffffff1663ae25532e6040518163ffffffff167c0100000000000000000000000000000000000000000000000000000000028152600401602060405180830381600087803b15801561033057600080fd5b505af1158015610344573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525061036891908101906107c1565b90507fffffffff00000000000000000000000000000000000000000000000000000000808216908716146103c8576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161021e90610a0f565b7fffffffff0000000000000000000000000000000000000000000000000000000086166000908152600160205260409081902080547fffffffffffffffffffffffff00000000000000000000000000000000000000001673ffffffffffffffffffffffffffffffffffffffff8516179055517f8a2dd3a51ca5ffc0567e29c662be273787eba535497a208f9ef15bc4652f12149061046b908890889088906109c9565b60405180910390a1505050505050565b6104878484848461055a565b50505050565b60005473ffffffffffffffffffffffffffffffffffffffff1681565b60005473ffffffffffffffffffffffffffffffffffffffff1633146104fa576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161021e90610a2f565b73ffffffffffffffffffffffffffffffffffffffff81161561055757600080547fffffffffffffffffffffffff00000000000000000000000000000000000000001673ffffffffffffffffffffffffffffffffffffffff83161790555b50565b6000806000808411156106e95786516003106105a2576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161021e90610a1f565b6020878101517fffffffff00000000000000000000000000000000000000000000000000000000166000818152600190925260409091205490935073ffffffffffffffffffffffffffffffffffffffff16915081151561062e576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161021e906109ff565b604051660fffffffffffe0603f895101168060840182017fa85e59e40000000000000000000000000000000000000000000000000000000083526080600484015273ffffffffffffffffffffffffffffffffffffffff8916602484015273ffffffffffffffffffffffffffffffffffffffff88166044840152866064840152608483015b818110156106ca578a51815260209a8b019a016106b2565b610200848584038660008a5af194508415156106e4573d84fd5b505050505b50505050505050565b60006106fe8235610abc565b9392505050565b60006106fe8235610ad5565b60006106fe8251610ad5565b6000601f8201831361072e57600080fd5b813561074161073c82610a76565b610a4f565b9150808252602083016020830185838301111561075d57600080fd5b610768838284610b08565b50505092915050565b60006106fe8235610afa565b60006020828403121561078f57600080fd5b600061079b84846106f2565b949350505050565b6000602082840312156107b557600080fd5b600061079b8484610705565b6000602082840312156107d357600080fd5b600061079b8484610711565b6000806000606084860312156107f457600080fd5b60006108008686610705565b9350506020610811868287016106f2565b9250506040610822868287016106f2565b9150509250925092565b6000806000806080858703121561084257600080fd5b843567ffffffffffffffff81111561085957600080fd5b6108658782880161071d565b9450506020610876878288016106f2565b9350506040610887878288016106f2565b925050606061089887828801610771565b91505092959194509250565b6108ad81610abc565b82525050565b6108ad81610ad5565b6108ad81610afd565b601a81527f41535345545f50524f58595f444f45535f4e4f545f4558495354000000000000602082015260400190565b601781527f41535345545f50524f58595f49445f4d49534d41544348000000000000000000602082015260400190565b601e81527f4c454e4754485f475245415445525f5448414e5f335f52455155495245440000602082015260400190565b601381527f4f4e4c595f434f4e54524143545f4f574e455200000000000000000000000000602082015260400190565b601481527f41535345545f50524f58595f4d49534d41544348000000000000000000000000602082015260400190565b602081016109c382846108a4565b92915050565b606081016109d782866108b3565b6109e460208301856108a4565b61079b60408301846108a4565b602081016109c382846108bc565b602080825281016109c3816108c5565b602080825281016109c3816108f5565b602080825281016109c381610925565b602080825281016109c381610955565b602080825281016109c381610985565b60405181810167ffffffffffffffff81118282101715610a6e57600080fd5b604052919050565b600067ffffffffffffffff821115610a8d57600080fd5b506020601f919091017fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0160190565b73ffffffffffffffffffffffffffffffffffffffff1690565b7fffffffff000000000000000000000000000000000000000000000000000000001690565b90565b60006109c382610abc565b828183375060009101525600a265627a7a723058205306f3d1d10ddc7abcb2d07cd4ced5aef2819c6060050482b7c9e8a6e1c884e96c6578706572696d656e74616cf50037",
+ "opcodes": "PUSH1 0x80 PUSH1 0x40 MSTORE PUSH1 0x0 DUP1 SLOAD PUSH1 0x1 PUSH1 0xA0 PUSH1 0x2 EXP SUB NOT AND CALLER OR SWAP1 SSTORE PUSH2 0xB4E DUP1 PUSH2 0x25 PUSH1 0x0 CODECOPY PUSH1 0x0 RETURN STOP PUSH1 0x80 PUSH1 0x40 MSTORE PUSH1 0x4 CALLDATASIZE LT PUSH2 0x77 JUMPI PUSH4 0xFFFFFFFF PUSH29 0x100000000000000000000000000000000000000000000000000000000 PUSH1 0x0 CALLDATALOAD DIV AND PUSH4 0x3FD3C997 DUP2 EQ PUSH2 0x7C JUMPI DUP1 PUSH4 0x60704108 EQ PUSH2 0xB2 JUMPI DUP1 PUSH4 0x833ABF3A EQ PUSH2 0xDF JUMPI DUP1 PUSH4 0x889B6D8D EQ PUSH2 0x101 JUMPI DUP1 PUSH4 0x8DA5CB5B EQ PUSH2 0x121 JUMPI DUP1 PUSH4 0xF2FDE38B EQ PUSH2 0x136 JUMPI JUMPDEST PUSH1 0x0 DUP1 REVERT JUMPDEST CALLVALUE DUP1 ISZERO PUSH2 0x88 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST POP PUSH2 0x9C PUSH2 0x97 CALLDATASIZE PUSH1 0x4 PUSH2 0x7A3 JUMP JUMPDEST PUSH2 0x156 JUMP JUMPDEST PUSH1 0x40 MLOAD PUSH2 0xA9 SWAP2 SWAP1 PUSH2 0x9F1 JUMP JUMPDEST PUSH1 0x40 MLOAD DUP1 SWAP2 SUB SWAP1 RETURN JUMPDEST CALLVALUE DUP1 ISZERO PUSH2 0xBE JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST POP PUSH2 0xD2 PUSH2 0xCD CALLDATASIZE PUSH1 0x4 PUSH2 0x7A3 JUMP JUMPDEST PUSH2 0x17E JUMP JUMPDEST PUSH1 0x40 MLOAD PUSH2 0xA9 SWAP2 SWAP1 PUSH2 0x9B5 JUMP JUMPDEST CALLVALUE DUP1 ISZERO PUSH2 0xEB JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST POP PUSH2 0xFF PUSH2 0xFA CALLDATASIZE PUSH1 0x4 PUSH2 0x7DF JUMP JUMPDEST PUSH2 0x1C8 JUMP JUMPDEST STOP JUMPDEST CALLVALUE DUP1 ISZERO PUSH2 0x10D JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST POP PUSH2 0xFF PUSH2 0x11C CALLDATASIZE PUSH1 0x4 PUSH2 0x82C JUMP JUMPDEST PUSH2 0x47B JUMP JUMPDEST CALLVALUE DUP1 ISZERO PUSH2 0x12D JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST POP PUSH2 0xD2 PUSH2 0x48D JUMP JUMPDEST CALLVALUE DUP1 ISZERO PUSH2 0x142 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST POP PUSH2 0xFF PUSH2 0x151 CALLDATASIZE PUSH1 0x4 PUSH2 0x77D JUMP JUMPDEST PUSH2 0x4A9 JUMP JUMPDEST PUSH1 0x1 PUSH1 0x20 MSTORE PUSH1 0x0 SWAP1 DUP2 MSTORE PUSH1 0x40 SWAP1 KECCAK256 SLOAD PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF AND DUP2 JUMP JUMPDEST PUSH32 0xFFFFFFFF00000000000000000000000000000000000000000000000000000000 AND PUSH1 0x0 SWAP1 DUP2 MSTORE PUSH1 0x1 PUSH1 0x20 MSTORE PUSH1 0x40 SWAP1 KECCAK256 SLOAD PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF AND SWAP1 JUMP JUMPDEST PUSH1 0x0 DUP1 SLOAD DUP2 SWAP1 DUP2 SWAP1 PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF AND CALLER EQ PUSH2 0x227 JUMPI PUSH1 0x40 MLOAD PUSH32 0x8C379A000000000000000000000000000000000000000000000000000000000 DUP2 MSTORE PUSH1 0x4 ADD PUSH2 0x21E SWAP1 PUSH2 0xA2F JUMP JUMPDEST PUSH1 0x40 MLOAD DUP1 SWAP2 SUB SWAP1 REVERT JUMPDEST PUSH32 0xFFFFFFFF00000000000000000000000000000000000000000000000000000000 DUP7 AND PUSH1 0x0 SWAP1 DUP2 MSTORE PUSH1 0x1 PUSH1 0x20 MSTORE PUSH1 0x40 SWAP1 KECCAK256 SLOAD PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF SWAP1 DUP2 AND SWAP4 POP DUP5 AND DUP4 EQ PUSH2 0x2AD JUMPI PUSH1 0x40 MLOAD PUSH32 0x8C379A000000000000000000000000000000000000000000000000000000000 DUP2 MSTORE PUSH1 0x4 ADD PUSH2 0x21E SWAP1 PUSH2 0xA3F JUMP JUMPDEST DUP5 SWAP2 POP PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF DUP3 AND ISZERO PUSH2 0x3C8 JUMPI DUP2 PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF AND PUSH4 0xAE25532E PUSH1 0x40 MLOAD DUP2 PUSH4 0xFFFFFFFF AND PUSH29 0x100000000000000000000000000000000000000000000000000000000 MUL DUP2 MSTORE PUSH1 0x4 ADD PUSH1 0x20 PUSH1 0x40 MLOAD DUP1 DUP4 SUB DUP2 PUSH1 0x0 DUP8 DUP1 EXTCODESIZE ISZERO DUP1 ISZERO PUSH2 0x330 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST POP GAS CALL ISZERO DUP1 ISZERO PUSH2 0x344 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 0x368 SWAP2 SWAP1 DUP2 ADD SWAP1 PUSH2 0x7C1 JUMP JUMPDEST SWAP1 POP PUSH32 0xFFFFFFFF00000000000000000000000000000000000000000000000000000000 DUP1 DUP3 AND SWAP1 DUP8 AND EQ PUSH2 0x3C8 JUMPI PUSH1 0x40 MLOAD PUSH32 0x8C379A000000000000000000000000000000000000000000000000000000000 DUP2 MSTORE PUSH1 0x4 ADD PUSH2 0x21E SWAP1 PUSH2 0xA0F JUMP JUMPDEST PUSH32 0xFFFFFFFF00000000000000000000000000000000000000000000000000000000 DUP7 AND PUSH1 0x0 SWAP1 DUP2 MSTORE PUSH1 0x1 PUSH1 0x20 MSTORE PUSH1 0x40 SWAP1 DUP2 SWAP1 KECCAK256 DUP1 SLOAD PUSH32 0xFFFFFFFFFFFFFFFFFFFFFFFF0000000000000000000000000000000000000000 AND PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF DUP6 AND OR SWAP1 SSTORE MLOAD PUSH32 0x8A2DD3A51CA5FFC0567E29C662BE273787EBA535497A208F9EF15BC4652F1214 SWAP1 PUSH2 0x46B SWAP1 DUP9 SWAP1 DUP9 SWAP1 DUP9 SWAP1 PUSH2 0x9C9 JUMP JUMPDEST PUSH1 0x40 MLOAD DUP1 SWAP2 SUB SWAP1 LOG1 POP POP POP POP POP POP JUMP JUMPDEST PUSH2 0x487 DUP5 DUP5 DUP5 DUP5 PUSH2 0x55A JUMP JUMPDEST POP POP POP POP JUMP JUMPDEST PUSH1 0x0 SLOAD PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF AND DUP2 JUMP JUMPDEST PUSH1 0x0 SLOAD PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF AND CALLER EQ PUSH2 0x4FA JUMPI PUSH1 0x40 MLOAD PUSH32 0x8C379A000000000000000000000000000000000000000000000000000000000 DUP2 MSTORE PUSH1 0x4 ADD PUSH2 0x21E SWAP1 PUSH2 0xA2F JUMP JUMPDEST PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF DUP2 AND ISZERO PUSH2 0x557 JUMPI PUSH1 0x0 DUP1 SLOAD PUSH32 0xFFFFFFFFFFFFFFFFFFFFFFFF0000000000000000000000000000000000000000 AND PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF DUP4 AND OR SWAP1 SSTORE JUMPDEST POP JUMP JUMPDEST PUSH1 0x0 DUP1 PUSH1 0x0 DUP1 DUP5 GT ISZERO PUSH2 0x6E9 JUMPI DUP7 MLOAD PUSH1 0x3 LT PUSH2 0x5A2 JUMPI PUSH1 0x40 MLOAD PUSH32 0x8C379A000000000000000000000000000000000000000000000000000000000 DUP2 MSTORE PUSH1 0x4 ADD PUSH2 0x21E SWAP1 PUSH2 0xA1F JUMP JUMPDEST PUSH1 0x20 DUP8 DUP2 ADD MLOAD PUSH32 0xFFFFFFFF00000000000000000000000000000000000000000000000000000000 AND PUSH1 0x0 DUP2 DUP2 MSTORE PUSH1 0x1 SWAP1 SWAP3 MSTORE PUSH1 0x40 SWAP1 SWAP2 KECCAK256 SLOAD SWAP1 SWAP4 POP PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF AND SWAP2 POP DUP2 ISZERO ISZERO PUSH2 0x62E JUMPI PUSH1 0x40 MLOAD PUSH32 0x8C379A000000000000000000000000000000000000000000000000000000000 DUP2 MSTORE PUSH1 0x4 ADD PUSH2 0x21E SWAP1 PUSH2 0x9FF JUMP JUMPDEST PUSH1 0x40 MLOAD PUSH7 0xFFFFFFFFFFFE0 PUSH1 0x3F DUP10 MLOAD ADD AND DUP1 PUSH1 0x84 ADD DUP3 ADD PUSH32 0xA85E59E400000000000000000000000000000000000000000000000000000000 DUP4 MSTORE PUSH1 0x80 PUSH1 0x4 DUP5 ADD MSTORE PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF DUP10 AND PUSH1 0x24 DUP5 ADD MSTORE PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF DUP9 AND PUSH1 0x44 DUP5 ADD MSTORE DUP7 PUSH1 0x64 DUP5 ADD MSTORE PUSH1 0x84 DUP4 ADD JUMPDEST DUP2 DUP2 LT ISZERO PUSH2 0x6CA JUMPI DUP11 MLOAD DUP2 MSTORE PUSH1 0x20 SWAP11 DUP12 ADD SWAP11 ADD PUSH2 0x6B2 JUMP JUMPDEST PUSH2 0x200 DUP5 DUP6 DUP5 SUB DUP7 PUSH1 0x0 DUP11 GAS CALL SWAP5 POP DUP5 ISZERO ISZERO PUSH2 0x6E4 JUMPI RETURNDATASIZE DUP5 REVERT JUMPDEST POP POP POP POP JUMPDEST POP POP POP POP POP POP POP JUMP JUMPDEST PUSH1 0x0 PUSH2 0x6FE DUP3 CALLDATALOAD PUSH2 0xABC JUMP JUMPDEST SWAP4 SWAP3 POP POP POP JUMP JUMPDEST PUSH1 0x0 PUSH2 0x6FE DUP3 CALLDATALOAD PUSH2 0xAD5 JUMP JUMPDEST PUSH1 0x0 PUSH2 0x6FE DUP3 MLOAD PUSH2 0xAD5 JUMP JUMPDEST PUSH1 0x0 PUSH1 0x1F DUP3 ADD DUP4 SGT PUSH2 0x72E JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST DUP2 CALLDATALOAD PUSH2 0x741 PUSH2 0x73C DUP3 PUSH2 0xA76 JUMP JUMPDEST PUSH2 0xA4F JUMP JUMPDEST SWAP2 POP DUP1 DUP3 MSTORE PUSH1 0x20 DUP4 ADD PUSH1 0x20 DUP4 ADD DUP6 DUP4 DUP4 ADD GT ISZERO PUSH2 0x75D JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST PUSH2 0x768 DUP4 DUP3 DUP5 PUSH2 0xB08 JUMP JUMPDEST POP POP POP SWAP3 SWAP2 POP POP JUMP JUMPDEST PUSH1 0x0 PUSH2 0x6FE DUP3 CALLDATALOAD PUSH2 0xAFA JUMP JUMPDEST PUSH1 0x0 PUSH1 0x20 DUP3 DUP5 SUB SLT ISZERO PUSH2 0x78F JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST PUSH1 0x0 PUSH2 0x79B DUP5 DUP5 PUSH2 0x6F2 JUMP JUMPDEST SWAP5 SWAP4 POP POP POP POP JUMP JUMPDEST PUSH1 0x0 PUSH1 0x20 DUP3 DUP5 SUB SLT ISZERO PUSH2 0x7B5 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST PUSH1 0x0 PUSH2 0x79B DUP5 DUP5 PUSH2 0x705 JUMP JUMPDEST PUSH1 0x0 PUSH1 0x20 DUP3 DUP5 SUB SLT ISZERO PUSH2 0x7D3 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST PUSH1 0x0 PUSH2 0x79B DUP5 DUP5 PUSH2 0x711 JUMP JUMPDEST PUSH1 0x0 DUP1 PUSH1 0x0 PUSH1 0x60 DUP5 DUP7 SUB SLT ISZERO PUSH2 0x7F4 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST PUSH1 0x0 PUSH2 0x800 DUP7 DUP7 PUSH2 0x705 JUMP JUMPDEST SWAP4 POP POP PUSH1 0x20 PUSH2 0x811 DUP7 DUP3 DUP8 ADD PUSH2 0x6F2 JUMP JUMPDEST SWAP3 POP POP PUSH1 0x40 PUSH2 0x822 DUP7 DUP3 DUP8 ADD PUSH2 0x6F2 JUMP JUMPDEST SWAP2 POP POP SWAP3 POP SWAP3 POP SWAP3 JUMP JUMPDEST PUSH1 0x0 DUP1 PUSH1 0x0 DUP1 PUSH1 0x80 DUP6 DUP8 SUB SLT ISZERO PUSH2 0x842 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST DUP5 CALLDATALOAD PUSH8 0xFFFFFFFFFFFFFFFF DUP2 GT ISZERO PUSH2 0x859 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST PUSH2 0x865 DUP8 DUP3 DUP9 ADD PUSH2 0x71D JUMP JUMPDEST SWAP5 POP POP PUSH1 0x20 PUSH2 0x876 DUP8 DUP3 DUP9 ADD PUSH2 0x6F2 JUMP JUMPDEST SWAP4 POP POP PUSH1 0x40 PUSH2 0x887 DUP8 DUP3 DUP9 ADD PUSH2 0x6F2 JUMP JUMPDEST SWAP3 POP POP PUSH1 0x60 PUSH2 0x898 DUP8 DUP3 DUP9 ADD PUSH2 0x771 JUMP JUMPDEST SWAP2 POP POP SWAP3 SWAP6 SWAP2 SWAP5 POP SWAP3 POP JUMP JUMPDEST PUSH2 0x8AD DUP2 PUSH2 0xABC JUMP JUMPDEST DUP3 MSTORE POP POP JUMP JUMPDEST PUSH2 0x8AD DUP2 PUSH2 0xAD5 JUMP JUMPDEST PUSH2 0x8AD DUP2 PUSH2 0xAFD JUMP JUMPDEST PUSH1 0x1A DUP2 MSTORE PUSH32 0x41535345545F50524F58595F444F45535F4E4F545F4558495354000000000000 PUSH1 0x20 DUP3 ADD MSTORE PUSH1 0x40 ADD SWAP1 JUMP JUMPDEST PUSH1 0x17 DUP2 MSTORE PUSH32 0x41535345545F50524F58595F49445F4D49534D41544348000000000000000000 PUSH1 0x20 DUP3 ADD MSTORE PUSH1 0x40 ADD SWAP1 JUMP JUMPDEST PUSH1 0x1E DUP2 MSTORE PUSH32 0x4C454E4754485F475245415445525F5448414E5F335F52455155495245440000 PUSH1 0x20 DUP3 ADD MSTORE PUSH1 0x40 ADD SWAP1 JUMP JUMPDEST PUSH1 0x13 DUP2 MSTORE PUSH32 0x4F4E4C595F434F4E54524143545F4F574E455200000000000000000000000000 PUSH1 0x20 DUP3 ADD MSTORE PUSH1 0x40 ADD SWAP1 JUMP JUMPDEST PUSH1 0x14 DUP2 MSTORE PUSH32 0x41535345545F50524F58595F4D49534D41544348000000000000000000000000 PUSH1 0x20 DUP3 ADD MSTORE PUSH1 0x40 ADD SWAP1 JUMP JUMPDEST PUSH1 0x20 DUP2 ADD PUSH2 0x9C3 DUP3 DUP5 PUSH2 0x8A4 JUMP JUMPDEST SWAP3 SWAP2 POP POP JUMP JUMPDEST PUSH1 0x60 DUP2 ADD PUSH2 0x9D7 DUP3 DUP7 PUSH2 0x8B3 JUMP JUMPDEST PUSH2 0x9E4 PUSH1 0x20 DUP4 ADD DUP6 PUSH2 0x8A4 JUMP JUMPDEST PUSH2 0x79B PUSH1 0x40 DUP4 ADD DUP5 PUSH2 0x8A4 JUMP JUMPDEST PUSH1 0x20 DUP2 ADD PUSH2 0x9C3 DUP3 DUP5 PUSH2 0x8BC JUMP JUMPDEST PUSH1 0x20 DUP1 DUP3 MSTORE DUP2 ADD PUSH2 0x9C3 DUP2 PUSH2 0x8C5 JUMP JUMPDEST PUSH1 0x20 DUP1 DUP3 MSTORE DUP2 ADD PUSH2 0x9C3 DUP2 PUSH2 0x8F5 JUMP JUMPDEST PUSH1 0x20 DUP1 DUP3 MSTORE DUP2 ADD PUSH2 0x9C3 DUP2 PUSH2 0x925 JUMP JUMPDEST PUSH1 0x20 DUP1 DUP3 MSTORE DUP2 ADD PUSH2 0x9C3 DUP2 PUSH2 0x955 JUMP JUMPDEST PUSH1 0x20 DUP1 DUP3 MSTORE DUP2 ADD PUSH2 0x9C3 DUP2 PUSH2 0x985 JUMP JUMPDEST PUSH1 0x40 MLOAD DUP2 DUP2 ADD PUSH8 0xFFFFFFFFFFFFFFFF DUP2 GT DUP3 DUP3 LT OR ISZERO PUSH2 0xA6E JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST PUSH1 0x40 MSTORE SWAP2 SWAP1 POP JUMP JUMPDEST PUSH1 0x0 PUSH8 0xFFFFFFFFFFFFFFFF DUP3 GT ISZERO PUSH2 0xA8D JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST POP PUSH1 0x20 PUSH1 0x1F SWAP2 SWAP1 SWAP2 ADD PUSH32 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFE0 AND ADD SWAP1 JUMP JUMPDEST PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF AND SWAP1 JUMP JUMPDEST PUSH32 0xFFFFFFFF00000000000000000000000000000000000000000000000000000000 AND SWAP1 JUMP JUMPDEST SWAP1 JUMP JUMPDEST PUSH1 0x0 PUSH2 0x9C3 DUP3 PUSH2 0xABC JUMP JUMPDEST DUP3 DUP2 DUP4 CALLDATACOPY POP PUSH1 0x0 SWAP2 ADD MSTORE JUMP STOP LOG2 PUSH6 0x627A7A723058 KECCAK256 MSTORE8 MOD RETURN 0xd1 0xd1 0xd 0xdc PUSH27 0xBCB2D07CD4CED5AEF2819C6060050482B7C9E8A6E1C884E96C6578 PUSH17 0x6572696D656E74616CF500370000000000 ",
+ "sourceMap": "705:291:5:-;;;363:5:8;:18;;-1:-1:-1;;;;;;363:18:8;371:10;363:18;;;705:291:5;;;;;;"
},
"deployedBytecode": {
"linkReferences": {},
- "object": "0x6080604052600436106100775763ffffffff7c010000000000000000000000000000000000000000000000000000000060003504166338077164811461007c5780635c78d0c7146100b25780638da5cb5b146100d457806392c1421e146100f6578063a5fba6a414610116578063f2fde38b14610136575b600080fd5b34801561008857600080fd5b5061009c610097366004610636565b610156565b6040516100a991906107cb565b60405180910390f35b3480156100be57600080fd5b506100d26100cd366004610672565b610171565b005b3480156100e057600080fd5b506100e96103a8565b6040516100a99190610774565b34801561010257600080fd5b506100e9610111366004610636565b6103b7565b34801561012257600080fd5b506100d26101313660046105aa565b6103d5565b34801561014257600080fd5b506100d2610151366004610584565b6103e9565b600160205260009081526040902054600160a060020a031681565b6000805481908190600160a060020a031633146101ac5760405160e560020a62461bcd0281526004016101a3906107ea565b60405180910390fd5b60ff8616600090815260016020908152604091829020548251808401909352601483527f41535345545f50524f58595f4d49534d4154434800000000000000000000000091830191909152600160a060020a039081169450851684146102285760405160e560020a62461bcd0281526004016101a391906107d9565b50849150600160a060020a0382161561032c5781600160a060020a031663ae25532e6040518163ffffffff167c0100000000000000000000000000000000000000000000000000000000028152600401602060405180830381600087803b15801561029257600080fd5b505af11580156102a6573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052506102ca9190810190610654565b60408051808201909152601781527f41535345545f50524f58595f49445f4d49534d41544348000000000000000000602082015290915060ff8083169088161461032a5760405160e560020a62461bcd0281526004016101a391906107d9565b505b60ff861660009081526001602052604090819020805473ffffffffffffffffffffffffffffffffffffffff1916600160a060020a038516179055517f27ef5f484e50f2daf7c2d82c60fe4ce409009541176eb64095beac369db1d26090610398908890889088906107fa565b60405180910390a1505050505050565b600054600160a060020a031681565b60ff16600090815260016020526040902054600160a060020a031690565b6103e28585858585610451565b5050505050565b600054600160a060020a031633146104165760405160e560020a62461bcd0281526004016101a3906107ea565b600160a060020a0381161561044e576000805473ffffffffffffffffffffffffffffffffffffffff1916600160a060020a0383161790555b50565b6000808211156104f1575060ff8416600090815260016020526040908190205490517fa85e59e4000000000000000000000000000000000000000000000000000000008152600160a060020a0390911690819063a85e59e4906104be908990889088908890600401610788565b600060405180830381600087803b1580156104d857600080fd5b505af11580156104ec573d6000803e3d6000fd5b505050505b505050505050565b60006105058235610875565b9392505050565b6000601f8201831361051d57600080fd5b813561053061052b82610849565b610822565b9150808252602083016020830185838301111561054c57600080fd5b610557838284610895565b50505092915050565b60006105058235610881565b60006105058235610884565b60006105058251610884565b60006020828403121561059657600080fd5b60006105a284846104f9565b949350505050565b600080600080600060a086880312156105c257600080fd5b853567ffffffffffffffff8111156105d957600080fd5b6105e58882890161050c565b95505060206105f68882890161056c565b9450506040610607888289016104f9565b9350506060610618888289016104f9565b925050608061062988828901610560565b9150509295509295909350565b60006020828403121561064857600080fd5b60006105a2848461056c565b60006020828403121561066657600080fd5b60006105a28484610578565b60008060006060848603121561068757600080fd5b6000610693868661056c565b93505060206106a4868287016104f9565b92505060406106b5868287016104f9565b9150509250925092565b6106c881610875565b82525050565b60006106d982610871565b8084526106ed8160208601602086016108a1565b6106f6816108d1565b9093016020019392505050565b6106c88161088a565b603381527f4f6e6c7920636f6e7472616374206f776e657220697320616c6c6f776564207460208201527f6f2063616c6c2074686973206d6574686f642e00000000000000000000000000604082015260600190565b6106c881610881565b6106c881610884565b6020810161078282846106bf565b92915050565b6080808252810161079981876106ce565b90506107a860208301866106bf565b6107b560408301856106bf565b6107c26060830184610762565b95945050505050565b602081016107828284610703565b6020808252810161050581846106ce565b602080825281016107828161070c565b60608101610808828661076b565b61081560208301856106bf565b6105a260408301846106bf565b60405181810167ffffffffffffffff8111828210171561084157600080fd5b604052919050565b600067ffffffffffffffff82111561086057600080fd5b506020601f91909101601f19160190565b5190565b600160a060020a031690565b90565b60ff1690565b600061078282610875565b82818337506000910152565b60005b838110156108bc5781810151838201526020016108a4565b838111156108cb576000848401525b50505050565b601f01601f1916905600a265627a7a723058207394667f44ebeb12181c5b174bc76525aeaa1a819f337b31eb6f48e25028c1b76c6578706572696d656e74616cf50037",
- "opcodes": "PUSH1 0x80 PUSH1 0x40 MSTORE PUSH1 0x4 CALLDATASIZE LT PUSH2 0x77 JUMPI PUSH4 0xFFFFFFFF PUSH29 0x100000000000000000000000000000000000000000000000000000000 PUSH1 0x0 CALLDATALOAD DIV AND PUSH4 0x38077164 DUP2 EQ PUSH2 0x7C JUMPI DUP1 PUSH4 0x5C78D0C7 EQ PUSH2 0xB2 JUMPI DUP1 PUSH4 0x8DA5CB5B EQ PUSH2 0xD4 JUMPI DUP1 PUSH4 0x92C1421E EQ PUSH2 0xF6 JUMPI DUP1 PUSH4 0xA5FBA6A4 EQ PUSH2 0x116 JUMPI DUP1 PUSH4 0xF2FDE38B EQ PUSH2 0x136 JUMPI JUMPDEST PUSH1 0x0 DUP1 REVERT JUMPDEST CALLVALUE DUP1 ISZERO PUSH2 0x88 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST POP PUSH2 0x9C PUSH2 0x97 CALLDATASIZE PUSH1 0x4 PUSH2 0x636 JUMP JUMPDEST PUSH2 0x156 JUMP JUMPDEST PUSH1 0x40 MLOAD PUSH2 0xA9 SWAP2 SWAP1 PUSH2 0x7CB JUMP JUMPDEST PUSH1 0x40 MLOAD DUP1 SWAP2 SUB SWAP1 RETURN JUMPDEST CALLVALUE DUP1 ISZERO PUSH2 0xBE JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST POP PUSH2 0xD2 PUSH2 0xCD CALLDATASIZE PUSH1 0x4 PUSH2 0x672 JUMP JUMPDEST PUSH2 0x171 JUMP JUMPDEST STOP JUMPDEST CALLVALUE DUP1 ISZERO PUSH2 0xE0 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST POP PUSH2 0xE9 PUSH2 0x3A8 JUMP JUMPDEST PUSH1 0x40 MLOAD PUSH2 0xA9 SWAP2 SWAP1 PUSH2 0x774 JUMP JUMPDEST CALLVALUE DUP1 ISZERO PUSH2 0x102 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST POP PUSH2 0xE9 PUSH2 0x111 CALLDATASIZE PUSH1 0x4 PUSH2 0x636 JUMP JUMPDEST PUSH2 0x3B7 JUMP JUMPDEST CALLVALUE DUP1 ISZERO PUSH2 0x122 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST POP PUSH2 0xD2 PUSH2 0x131 CALLDATASIZE PUSH1 0x4 PUSH2 0x5AA JUMP JUMPDEST PUSH2 0x3D5 JUMP JUMPDEST CALLVALUE DUP1 ISZERO PUSH2 0x142 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST POP PUSH2 0xD2 PUSH2 0x151 CALLDATASIZE PUSH1 0x4 PUSH2 0x584 JUMP JUMPDEST PUSH2 0x3E9 JUMP JUMPDEST PUSH1 0x1 PUSH1 0x20 MSTORE PUSH1 0x0 SWAP1 DUP2 MSTORE PUSH1 0x40 SWAP1 KECCAK256 SLOAD PUSH1 0x1 PUSH1 0xA0 PUSH1 0x2 EXP SUB AND DUP2 JUMP JUMPDEST PUSH1 0x0 DUP1 SLOAD DUP2 SWAP1 DUP2 SWAP1 PUSH1 0x1 PUSH1 0xA0 PUSH1 0x2 EXP SUB AND CALLER EQ PUSH2 0x1AC JUMPI PUSH1 0x40 MLOAD PUSH1 0xE5 PUSH1 0x2 EXP PUSH3 0x461BCD MUL DUP2 MSTORE PUSH1 0x4 ADD PUSH2 0x1A3 SWAP1 PUSH2 0x7EA JUMP JUMPDEST PUSH1 0x40 MLOAD DUP1 SWAP2 SUB SWAP1 REVERT JUMPDEST PUSH1 0xFF DUP7 AND PUSH1 0x0 SWAP1 DUP2 MSTORE PUSH1 0x1 PUSH1 0x20 SWAP1 DUP2 MSTORE PUSH1 0x40 SWAP2 DUP3 SWAP1 KECCAK256 SLOAD DUP3 MLOAD DUP1 DUP5 ADD SWAP1 SWAP4 MSTORE PUSH1 0x14 DUP4 MSTORE PUSH32 0x41535345545F50524F58595F4D49534D41544348000000000000000000000000 SWAP2 DUP4 ADD SWAP2 SWAP1 SWAP2 MSTORE PUSH1 0x1 PUSH1 0xA0 PUSH1 0x2 EXP SUB SWAP1 DUP2 AND SWAP5 POP DUP6 AND DUP5 EQ PUSH2 0x228 JUMPI PUSH1 0x40 MLOAD PUSH1 0xE5 PUSH1 0x2 EXP PUSH3 0x461BCD MUL DUP2 MSTORE PUSH1 0x4 ADD PUSH2 0x1A3 SWAP2 SWAP1 PUSH2 0x7D9 JUMP JUMPDEST POP DUP5 SWAP2 POP PUSH1 0x1 PUSH1 0xA0 PUSH1 0x2 EXP SUB DUP3 AND ISZERO PUSH2 0x32C JUMPI DUP2 PUSH1 0x1 PUSH1 0xA0 PUSH1 0x2 EXP SUB AND PUSH4 0xAE25532E PUSH1 0x40 MLOAD DUP2 PUSH4 0xFFFFFFFF AND PUSH29 0x100000000000000000000000000000000000000000000000000000000 MUL DUP2 MSTORE PUSH1 0x4 ADD PUSH1 0x20 PUSH1 0x40 MLOAD DUP1 DUP4 SUB DUP2 PUSH1 0x0 DUP8 DUP1 EXTCODESIZE ISZERO DUP1 ISZERO PUSH2 0x292 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST POP GAS CALL ISZERO DUP1 ISZERO PUSH2 0x2A6 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 0x2CA SWAP2 SWAP1 DUP2 ADD SWAP1 PUSH2 0x654 JUMP JUMPDEST PUSH1 0x40 DUP1 MLOAD DUP1 DUP3 ADD SWAP1 SWAP2 MSTORE PUSH1 0x17 DUP2 MSTORE PUSH32 0x41535345545F50524F58595F49445F4D49534D41544348000000000000000000 PUSH1 0x20 DUP3 ADD MSTORE SWAP1 SWAP2 POP PUSH1 0xFF DUP1 DUP4 AND SWAP1 DUP9 AND EQ PUSH2 0x32A JUMPI PUSH1 0x40 MLOAD PUSH1 0xE5 PUSH1 0x2 EXP PUSH3 0x461BCD MUL DUP2 MSTORE PUSH1 0x4 ADD PUSH2 0x1A3 SWAP2 SWAP1 PUSH2 0x7D9 JUMP JUMPDEST POP JUMPDEST PUSH1 0xFF DUP7 AND PUSH1 0x0 SWAP1 DUP2 MSTORE PUSH1 0x1 PUSH1 0x20 MSTORE PUSH1 0x40 SWAP1 DUP2 SWAP1 KECCAK256 DUP1 SLOAD PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF NOT AND PUSH1 0x1 PUSH1 0xA0 PUSH1 0x2 EXP SUB DUP6 AND OR SWAP1 SSTORE MLOAD PUSH32 0x27EF5F484E50F2DAF7C2D82C60FE4CE409009541176EB64095BEAC369DB1D260 SWAP1 PUSH2 0x398 SWAP1 DUP9 SWAP1 DUP9 SWAP1 DUP9 SWAP1 PUSH2 0x7FA JUMP JUMPDEST PUSH1 0x40 MLOAD DUP1 SWAP2 SUB SWAP1 LOG1 POP POP POP POP POP POP JUMP JUMPDEST PUSH1 0x0 SLOAD PUSH1 0x1 PUSH1 0xA0 PUSH1 0x2 EXP SUB AND DUP2 JUMP JUMPDEST PUSH1 0xFF AND PUSH1 0x0 SWAP1 DUP2 MSTORE PUSH1 0x1 PUSH1 0x20 MSTORE PUSH1 0x40 SWAP1 KECCAK256 SLOAD PUSH1 0x1 PUSH1 0xA0 PUSH1 0x2 EXP SUB AND SWAP1 JUMP JUMPDEST PUSH2 0x3E2 DUP6 DUP6 DUP6 DUP6 DUP6 PUSH2 0x451 JUMP JUMPDEST POP POP POP POP POP JUMP JUMPDEST PUSH1 0x0 SLOAD PUSH1 0x1 PUSH1 0xA0 PUSH1 0x2 EXP SUB AND CALLER EQ PUSH2 0x416 JUMPI PUSH1 0x40 MLOAD PUSH1 0xE5 PUSH1 0x2 EXP PUSH3 0x461BCD MUL DUP2 MSTORE PUSH1 0x4 ADD PUSH2 0x1A3 SWAP1 PUSH2 0x7EA JUMP JUMPDEST PUSH1 0x1 PUSH1 0xA0 PUSH1 0x2 EXP SUB DUP2 AND ISZERO PUSH2 0x44E JUMPI PUSH1 0x0 DUP1 SLOAD PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF NOT AND PUSH1 0x1 PUSH1 0xA0 PUSH1 0x2 EXP SUB DUP4 AND OR SWAP1 SSTORE JUMPDEST POP JUMP JUMPDEST PUSH1 0x0 DUP1 DUP3 GT ISZERO PUSH2 0x4F1 JUMPI POP PUSH1 0xFF DUP5 AND PUSH1 0x0 SWAP1 DUP2 MSTORE PUSH1 0x1 PUSH1 0x20 MSTORE PUSH1 0x40 SWAP1 DUP2 SWAP1 KECCAK256 SLOAD SWAP1 MLOAD PUSH32 0xA85E59E400000000000000000000000000000000000000000000000000000000 DUP2 MSTORE PUSH1 0x1 PUSH1 0xA0 PUSH1 0x2 EXP SUB SWAP1 SWAP2 AND SWAP1 DUP2 SWAP1 PUSH4 0xA85E59E4 SWAP1 PUSH2 0x4BE SWAP1 DUP10 SWAP1 DUP9 SWAP1 DUP9 SWAP1 DUP9 SWAP1 PUSH1 0x4 ADD PUSH2 0x788 JUMP JUMPDEST PUSH1 0x0 PUSH1 0x40 MLOAD DUP1 DUP4 SUB DUP2 PUSH1 0x0 DUP8 DUP1 EXTCODESIZE ISZERO DUP1 ISZERO PUSH2 0x4D8 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST POP GAS CALL ISZERO DUP1 ISZERO PUSH2 0x4EC JUMPI RETURNDATASIZE PUSH1 0x0 DUP1 RETURNDATACOPY RETURNDATASIZE PUSH1 0x0 REVERT JUMPDEST POP POP POP POP JUMPDEST POP POP POP POP POP POP JUMP JUMPDEST PUSH1 0x0 PUSH2 0x505 DUP3 CALLDATALOAD PUSH2 0x875 JUMP JUMPDEST SWAP4 SWAP3 POP POP POP JUMP JUMPDEST PUSH1 0x0 PUSH1 0x1F DUP3 ADD DUP4 SGT PUSH2 0x51D JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST DUP2 CALLDATALOAD PUSH2 0x530 PUSH2 0x52B DUP3 PUSH2 0x849 JUMP JUMPDEST PUSH2 0x822 JUMP JUMPDEST SWAP2 POP DUP1 DUP3 MSTORE PUSH1 0x20 DUP4 ADD PUSH1 0x20 DUP4 ADD DUP6 DUP4 DUP4 ADD GT ISZERO PUSH2 0x54C JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST PUSH2 0x557 DUP4 DUP3 DUP5 PUSH2 0x895 JUMP JUMPDEST POP POP POP SWAP3 SWAP2 POP POP JUMP JUMPDEST PUSH1 0x0 PUSH2 0x505 DUP3 CALLDATALOAD PUSH2 0x881 JUMP JUMPDEST PUSH1 0x0 PUSH2 0x505 DUP3 CALLDATALOAD PUSH2 0x884 JUMP JUMPDEST PUSH1 0x0 PUSH2 0x505 DUP3 MLOAD PUSH2 0x884 JUMP JUMPDEST PUSH1 0x0 PUSH1 0x20 DUP3 DUP5 SUB SLT ISZERO PUSH2 0x596 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST PUSH1 0x0 PUSH2 0x5A2 DUP5 DUP5 PUSH2 0x4F9 JUMP JUMPDEST SWAP5 SWAP4 POP POP POP POP JUMP JUMPDEST PUSH1 0x0 DUP1 PUSH1 0x0 DUP1 PUSH1 0x0 PUSH1 0xA0 DUP7 DUP9 SUB SLT ISZERO PUSH2 0x5C2 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST DUP6 CALLDATALOAD PUSH8 0xFFFFFFFFFFFFFFFF DUP2 GT ISZERO PUSH2 0x5D9 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST PUSH2 0x5E5 DUP9 DUP3 DUP10 ADD PUSH2 0x50C JUMP JUMPDEST SWAP6 POP POP PUSH1 0x20 PUSH2 0x5F6 DUP9 DUP3 DUP10 ADD PUSH2 0x56C JUMP JUMPDEST SWAP5 POP POP PUSH1 0x40 PUSH2 0x607 DUP9 DUP3 DUP10 ADD PUSH2 0x4F9 JUMP JUMPDEST SWAP4 POP POP PUSH1 0x60 PUSH2 0x618 DUP9 DUP3 DUP10 ADD PUSH2 0x4F9 JUMP JUMPDEST SWAP3 POP POP PUSH1 0x80 PUSH2 0x629 DUP9 DUP3 DUP10 ADD PUSH2 0x560 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 0x648 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST PUSH1 0x0 PUSH2 0x5A2 DUP5 DUP5 PUSH2 0x56C JUMP JUMPDEST PUSH1 0x0 PUSH1 0x20 DUP3 DUP5 SUB SLT ISZERO PUSH2 0x666 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST PUSH1 0x0 PUSH2 0x5A2 DUP5 DUP5 PUSH2 0x578 JUMP JUMPDEST PUSH1 0x0 DUP1 PUSH1 0x0 PUSH1 0x60 DUP5 DUP7 SUB SLT ISZERO PUSH2 0x687 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST PUSH1 0x0 PUSH2 0x693 DUP7 DUP7 PUSH2 0x56C JUMP JUMPDEST SWAP4 POP POP PUSH1 0x20 PUSH2 0x6A4 DUP7 DUP3 DUP8 ADD PUSH2 0x4F9 JUMP JUMPDEST SWAP3 POP POP PUSH1 0x40 PUSH2 0x6B5 DUP7 DUP3 DUP8 ADD PUSH2 0x4F9 JUMP JUMPDEST SWAP2 POP POP SWAP3 POP SWAP3 POP SWAP3 JUMP JUMPDEST PUSH2 0x6C8 DUP2 PUSH2 0x875 JUMP JUMPDEST DUP3 MSTORE POP POP JUMP JUMPDEST PUSH1 0x0 PUSH2 0x6D9 DUP3 PUSH2 0x871 JUMP JUMPDEST DUP1 DUP5 MSTORE PUSH2 0x6ED DUP2 PUSH1 0x20 DUP7 ADD PUSH1 0x20 DUP7 ADD PUSH2 0x8A1 JUMP JUMPDEST PUSH2 0x6F6 DUP2 PUSH2 0x8D1 JUMP JUMPDEST SWAP1 SWAP4 ADD PUSH1 0x20 ADD SWAP4 SWAP3 POP POP POP JUMP JUMPDEST PUSH2 0x6C8 DUP2 PUSH2 0x88A JUMP JUMPDEST PUSH1 0x33 DUP2 MSTORE PUSH32 0x4F6E6C7920636F6E7472616374206F776E657220697320616C6C6F7765642074 PUSH1 0x20 DUP3 ADD MSTORE PUSH32 0x6F2063616C6C2074686973206D6574686F642E00000000000000000000000000 PUSH1 0x40 DUP3 ADD MSTORE PUSH1 0x60 ADD SWAP1 JUMP JUMPDEST PUSH2 0x6C8 DUP2 PUSH2 0x881 JUMP JUMPDEST PUSH2 0x6C8 DUP2 PUSH2 0x884 JUMP JUMPDEST PUSH1 0x20 DUP2 ADD PUSH2 0x782 DUP3 DUP5 PUSH2 0x6BF JUMP JUMPDEST SWAP3 SWAP2 POP POP JUMP JUMPDEST PUSH1 0x80 DUP1 DUP3 MSTORE DUP2 ADD PUSH2 0x799 DUP2 DUP8 PUSH2 0x6CE JUMP JUMPDEST SWAP1 POP PUSH2 0x7A8 PUSH1 0x20 DUP4 ADD DUP7 PUSH2 0x6BF JUMP JUMPDEST PUSH2 0x7B5 PUSH1 0x40 DUP4 ADD DUP6 PUSH2 0x6BF JUMP JUMPDEST PUSH2 0x7C2 PUSH1 0x60 DUP4 ADD DUP5 PUSH2 0x762 JUMP JUMPDEST SWAP6 SWAP5 POP POP POP POP POP JUMP JUMPDEST PUSH1 0x20 DUP2 ADD PUSH2 0x782 DUP3 DUP5 PUSH2 0x703 JUMP JUMPDEST PUSH1 0x20 DUP1 DUP3 MSTORE DUP2 ADD PUSH2 0x505 DUP2 DUP5 PUSH2 0x6CE JUMP JUMPDEST PUSH1 0x20 DUP1 DUP3 MSTORE DUP2 ADD PUSH2 0x782 DUP2 PUSH2 0x70C JUMP JUMPDEST PUSH1 0x60 DUP2 ADD PUSH2 0x808 DUP3 DUP7 PUSH2 0x76B JUMP JUMPDEST PUSH2 0x815 PUSH1 0x20 DUP4 ADD DUP6 PUSH2 0x6BF JUMP JUMPDEST PUSH2 0x5A2 PUSH1 0x40 DUP4 ADD DUP5 PUSH2 0x6BF JUMP JUMPDEST PUSH1 0x40 MLOAD DUP2 DUP2 ADD PUSH8 0xFFFFFFFFFFFFFFFF DUP2 GT DUP3 DUP3 LT OR ISZERO PUSH2 0x841 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST PUSH1 0x40 MSTORE SWAP2 SWAP1 POP JUMP JUMPDEST PUSH1 0x0 PUSH8 0xFFFFFFFFFFFFFFFF DUP3 GT ISZERO PUSH2 0x860 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST POP PUSH1 0x20 PUSH1 0x1F SWAP2 SWAP1 SWAP2 ADD PUSH1 0x1F NOT AND ADD SWAP1 JUMP JUMPDEST MLOAD SWAP1 JUMP JUMPDEST PUSH1 0x1 PUSH1 0xA0 PUSH1 0x2 EXP SUB AND SWAP1 JUMP JUMPDEST SWAP1 JUMP JUMPDEST PUSH1 0xFF AND SWAP1 JUMP JUMPDEST PUSH1 0x0 PUSH2 0x782 DUP3 PUSH2 0x875 JUMP JUMPDEST DUP3 DUP2 DUP4 CALLDATACOPY POP PUSH1 0x0 SWAP2 ADD MSTORE JUMP JUMPDEST PUSH1 0x0 JUMPDEST DUP4 DUP2 LT ISZERO PUSH2 0x8BC JUMPI DUP2 DUP2 ADD MLOAD DUP4 DUP3 ADD MSTORE PUSH1 0x20 ADD PUSH2 0x8A4 JUMP JUMPDEST DUP4 DUP2 GT ISZERO PUSH2 0x8CB JUMPI PUSH1 0x0 DUP5 DUP5 ADD MSTORE JUMPDEST POP POP POP POP JUMP JUMPDEST PUSH1 0x1F ADD PUSH1 0x1F NOT AND SWAP1 JUMP STOP LOG2 PUSH6 0x627A7A723058 KECCAK256 PUSH20 0x94667F44EBEB12181C5B174BC76525AEAA1A819F CALLER PUSH28 0x31EB6F48E25028C1B76C6578706572696D656E74616CF50037000000 ",
- "sourceMap": "705:333:6:-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;1017:50:2;;8:9:-1;5:2;;;30:1;27;20:12;5:2;-1:-1;1017:50:2;;;;;;;;;;;;;;;;;;;;;;;;;1481:1017;;8:9:-1;5:2;;;30:1;27;20:12;5:2;-1:-1;1481:1017:2;;;;;;;;;;;292:20:10;;8:9:-1;5:2;;;30:1;27;20:12;5:2;292:20:10;;;;;;;;;;;;2688:203:2;;8:9:-1;5:2;;;30:1;27;20:12;5:2;-1:-1;2688:203:2;;;;;;;;;774:262:6;;8:9:-1;5:2;;;30:1;27;20:12;5:2;-1:-1;774:262:6;;;;;;;;;566:167:10;;8:9:-1;5:2;;;30:1;27;20:12;5:2;-1:-1;566:167:10;;;;;;;;;1017:50:2;;;;;;;;;;;;-1:-1:-1;;;;;1017:50:2;;:::o;1481:1017::-;1732:25;460:5:10;;1732:25:2;;;;-1:-1:-1;;;;;460:5:10;446:10;:19;425:117;;;;-1:-1:-1;;;;;425:117:10;;;;;;;;;;;;;;;;;1768:26:2;;;;;;;:12;:26;;;;;;;;;;1874:20;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;1768:26:2;;;;-1:-1:-1;1826:34:2;;;;1805:99;;;;-1:-1:-1;;;;;1805:99:2;;;;;;;;;;-1:-1:-1;1952:13:2;;-1:-1:-1;;;;;;2095:27:2;;;2091:230;;2162:10;-1:-1:-1;;;;;2162:21:2;;:23;;;;;;;;;;;;;;;;;;;;;;;8:9:-1;5:2;;;30:1;27;20:12;5:2;2162:23:2;;;;8:9:-1;5:2;;;45:16;42:1;39;24:38;77:16;74:1;67:27;5:2;2162:23:2;;;;;;;101:4:-1;97:9;90:4;84;80:15;76:31;69:5;65:43;126:6;120:4;113:20;0:138;2162:23:2;;;;;;;;;2273;;;;;;;;;;;;;;;;;2138:47;;-1:-1:-1;2224:31:2;;;;;;;;2199:111;;;;-1:-1:-1;;;;;2199:111:2;;;;;;;;;;;2091:230;2380:26;;;;;;;:12;:26;;;;;;;:39;;-1:-1:-1;;2380:39:2;-1:-1:-1;;;;;2380:39:2;;;;;2434:57;;;;;2380:26;;2462:13;;2477;;2434:57;;;;;;;;;;1481:1017;;;;;;:::o;292:20:10:-;;;-1:-1:-1;;;;;292:20:10;;:::o;2688:203:2:-;2830:26;;2778:7;2830:26;;;:12;:26;;;;;;-1:-1:-1;;;;;2830:26:2;;2688:203::o;774:262:6:-;966:63;987:9;998:12;1012:4;1018:2;1022:6;966:20;:63::i;:::-;774:262;;;;;:::o;566:167:10:-;460:5;;-1:-1:-1;;;;;460:5:10;446:10;:19;425:117;;;;-1:-1:-1;;;;;425:117:10;;;;;;;;;-1:-1:-1;;;;;662:22:10;;;658:69;;700:5;:16;;-1:-1:-1;;700:16:10;-1:-1:-1;;;;;700:16:10;;;;;658:69;566:167;:::o;3283:506:2:-;3597:22;3547:1;3538:6;:10;3534:249;;;-1:-1:-1;3622:26:2;;;;;;;:12;:26;;;;;;;;3720:52;;;;;-1:-1:-1;;;;;3622:26:2;;;;;;3720:23;;:52;;3744:9;;3755:4;;3761:2;;3765:6;;3720:52;;;;;;;;;;;;;;;;;8:9:-1;5:2;;;30:1;27;20:12;5:2;3720:52:2;;;;8:9:-1;5:2;;;45:16;42:1;39;24:38;77:16;74:1;67:27;5:2;3720:52:2;;;;3534:249;3283:506;;;;;;:::o;5:118:-1:-;;72:46;110:6;97:20;72:46;;;63:55;57:66;-1:-1;;;57:66;131:440;;225:4;213:17;;209:27;-1:-1;199:2;;250:1;247;240:12;199:2;287:6;274:20;309:64;324:48;365:6;324:48;;;309:64;;;300:73;;393:6;386:5;379:21;429:4;421:6;417:17;462:4;455:5;451:16;497:3;488:6;483:3;479:16;476:25;473:2;;;514:1;511;504:12;473:2;524:41;558:6;553:3;548;524:41;;;192:379;;;;;;;;579:118;;646:46;684:6;671:20;646:46;;704:114;;769:44;805:6;792:20;769:44;;825:118;;901:37;930:6;924:13;901:37;;950:241;;1054:2;1042:9;1033:7;1029:23;1025:32;1022:2;;;1070:1;1067;1060:12;1022:2;1105:1;1122:53;1167:7;1147:9;1122:53;;;1112:63;1016:175;-1:-1;;;;1016:175;1198:843;;;;;;1377:3;1365:9;1356:7;1352:23;1348:33;1345:2;;;1394:1;1391;1384:12;1345:2;1429:31;;1480:18;1469:30;;1466:2;;;1512:1;1509;1502:12;1466:2;1532:62;1586:7;1577:6;1566:9;1562:22;1532:62;;;1522:72;;1408:192;1631:2;1649:51;1692:7;1683:6;1672:9;1668:22;1649:51;;;1639:61;;1610:96;1737:2;1755:53;1800:7;1791:6;1780:9;1776:22;1755:53;;;1745:63;;1716:98;1845:2;1863:53;1908:7;1899:6;1888:9;1884:22;1863:53;;;1853:63;;1824:98;1953:3;1972:53;2017:7;2008:6;1997:9;1993:22;1972:53;;;1962:63;;1932:99;1339:702;;;;;;;;;2048:237;;2150:2;2138:9;2129:7;2125:23;2121:32;2118:2;;;2166:1;2163;2156:12;2118:2;2201:1;2218:51;2261:7;2241:9;2218:51;;2292:259;;2405:2;2393:9;2384:7;2380:23;2376:32;2373:2;;;2421:1;2418;2411:12;2373:2;2456:1;2473:62;2527:7;2507:9;2473:62;;2558:487;;;;2694:2;2682:9;2673:7;2669:23;2665:32;2662:2;;;2710:1;2707;2700:12;2662:2;2745:1;2762:51;2805:7;2785:9;2762:51;;;2752:61;;2724:95;2850:2;2868:53;2913:7;2904:6;2893:9;2889:22;2868:53;;;2858:63;;2829:98;2958:2;2976:53;3021:7;3012:6;3001:9;2997:22;2976:53;;;2966:63;;2937:98;2656:389;;;;;;3052:110;3125:31;3150:5;3125:31;;;3120:3;3113:44;3107:55;;;3169:297;;3269:38;3301:5;3269:38;;;3324:6;3319:3;3312:19;3336:63;3392:6;3385:4;3380:3;3376:14;3369:4;3362:5;3358:16;3336:63;;;3431:29;3453:6;3431:29;;;3411:50;;;3424:4;3411:50;;3249:217;-1:-1;;;3249:217;3473:154;3565:56;3615:5;3565:56;;3934:397;4089:2;4077:15;;4126:66;4121:2;4112:12;;4105:88;4227:66;4222:2;4213:12;;4206:88;4322:2;4313:12;;4070:261;4339:110;4412:31;4437:5;4412:31;;4456:104;4525:29;4548:5;4525:29;;4567:193;4675:2;4660:18;;4689:61;4664:9;4723:6;4689:61;;;4646:114;;;;;4767:581;4977:3;4992:47;;;4962:19;;5053:66;4962:19;5105:6;5053:66;;;5045:74;;5130:62;5188:2;5177:9;5173:18;5164:6;5130:62;;;5203;5261:2;5250:9;5246:18;5237:6;5203:62;;;5276;5334:2;5323:9;5319:18;5310:6;5276:62;;;4948:400;;;;;;;;5355:231;5482:2;5467:18;;5496:80;5471:9;5549:6;5496:80;;5593:273;5717:2;5731:47;;;5702:18;;5792:64;5702:18;5842:6;5792:64;;5873:387;6054:2;6068:47;;;6039:18;;6129:121;6039:18;6129:121;;6267:387;6427:2;6412:18;;6441:57;6416:9;6471:6;6441:57;;;6509:62;6567:2;6556:9;6552:18;6543:6;6509:62;;;6582;6640:2;6629:9;6625:18;6616:6;6582:62;;6661:256;6723:2;6717:9;6749:17;;;6824:18;6809:34;;6845:22;;;6806:62;6803:2;;;6881:1;6878;6871:12;6803:2;6897;6890:22;6701:216;;-1:-1;6701:216;6924:258;;7067:18;7059:6;7056:30;7053:2;;;7099:1;7096;7089:12;7053:2;-1:-1;7172:4;7143;7120:17;;;;-1:-1;;7116:33;7162:15;;6990:192;7189:91;7263:12;;7247:33;7382:128;-1:-1;;;;;7451:54;;7434:76;7517:79;7586:5;7569:27;7603:88;7681:4;7670:16;;7653:38;8014:134;;8112:31;8137:5;8112:31;;8156:145;8237:6;8232:3;8227;8214:30;-1:-1;8293:1;8275:16;;8268:27;8207:94;8310:268;8375:1;8382:101;8396:6;8393:1;8390:13;8382:101;;;8463:11;;;8457:18;8444:11;;;8437:39;8418:2;8411:10;8382:101;;;8498:6;8495:1;8492:13;8489:2;;;8563:1;8554:6;8549:3;8545:16;8538:27;8489:2;8359:219;;;;;8586:97;8674:2;8654:14;-1:-1;;8650:28;;8634:49"
+ "object": "0x6080604052600436106100775763ffffffff7c01000000000000000000000000000000000000000000000000000000006000350416633fd3c997811461007c57806360704108146100b2578063833abf3a146100df578063889b6d8d146101015780638da5cb5b14610121578063f2fde38b14610136575b600080fd5b34801561008857600080fd5b5061009c6100973660046107a3565b610156565b6040516100a991906109f1565b60405180910390f35b3480156100be57600080fd5b506100d26100cd3660046107a3565b61017e565b6040516100a991906109b5565b3480156100eb57600080fd5b506100ff6100fa3660046107df565b6101c8565b005b34801561010d57600080fd5b506100ff61011c36600461082c565b61047b565b34801561012d57600080fd5b506100d261048d565b34801561014257600080fd5b506100ff61015136600461077d565b6104a9565b60016020526000908152604090205473ffffffffffffffffffffffffffffffffffffffff1681565b7fffffffff000000000000000000000000000000000000000000000000000000001660009081526001602052604090205473ffffffffffffffffffffffffffffffffffffffff1690565b600080548190819073ffffffffffffffffffffffffffffffffffffffff163314610227576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161021e90610a2f565b60405180910390fd5b7fffffffff00000000000000000000000000000000000000000000000000000000861660009081526001602052604090205473ffffffffffffffffffffffffffffffffffffffff9081169350841683146102ad576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161021e90610a3f565b84915073ffffffffffffffffffffffffffffffffffffffff8216156103c8578173ffffffffffffffffffffffffffffffffffffffff1663ae25532e6040518163ffffffff167c0100000000000000000000000000000000000000000000000000000000028152600401602060405180830381600087803b15801561033057600080fd5b505af1158015610344573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525061036891908101906107c1565b90507fffffffff00000000000000000000000000000000000000000000000000000000808216908716146103c8576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161021e90610a0f565b7fffffffff0000000000000000000000000000000000000000000000000000000086166000908152600160205260409081902080547fffffffffffffffffffffffff00000000000000000000000000000000000000001673ffffffffffffffffffffffffffffffffffffffff8516179055517f8a2dd3a51ca5ffc0567e29c662be273787eba535497a208f9ef15bc4652f12149061046b908890889088906109c9565b60405180910390a1505050505050565b6104878484848461055a565b50505050565b60005473ffffffffffffffffffffffffffffffffffffffff1681565b60005473ffffffffffffffffffffffffffffffffffffffff1633146104fa576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161021e90610a2f565b73ffffffffffffffffffffffffffffffffffffffff81161561055757600080547fffffffffffffffffffffffff00000000000000000000000000000000000000001673ffffffffffffffffffffffffffffffffffffffff83161790555b50565b6000806000808411156106e95786516003106105a2576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161021e90610a1f565b6020878101517fffffffff00000000000000000000000000000000000000000000000000000000166000818152600190925260409091205490935073ffffffffffffffffffffffffffffffffffffffff16915081151561062e576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161021e906109ff565b604051660fffffffffffe0603f895101168060840182017fa85e59e40000000000000000000000000000000000000000000000000000000083526080600484015273ffffffffffffffffffffffffffffffffffffffff8916602484015273ffffffffffffffffffffffffffffffffffffffff88166044840152866064840152608483015b818110156106ca578a51815260209a8b019a016106b2565b610200848584038660008a5af194508415156106e4573d84fd5b505050505b50505050505050565b60006106fe8235610abc565b9392505050565b60006106fe8235610ad5565b60006106fe8251610ad5565b6000601f8201831361072e57600080fd5b813561074161073c82610a76565b610a4f565b9150808252602083016020830185838301111561075d57600080fd5b610768838284610b08565b50505092915050565b60006106fe8235610afa565b60006020828403121561078f57600080fd5b600061079b84846106f2565b949350505050565b6000602082840312156107b557600080fd5b600061079b8484610705565b6000602082840312156107d357600080fd5b600061079b8484610711565b6000806000606084860312156107f457600080fd5b60006108008686610705565b9350506020610811868287016106f2565b9250506040610822868287016106f2565b9150509250925092565b6000806000806080858703121561084257600080fd5b843567ffffffffffffffff81111561085957600080fd5b6108658782880161071d565b9450506020610876878288016106f2565b9350506040610887878288016106f2565b925050606061089887828801610771565b91505092959194509250565b6108ad81610abc565b82525050565b6108ad81610ad5565b6108ad81610afd565b601a81527f41535345545f50524f58595f444f45535f4e4f545f4558495354000000000000602082015260400190565b601781527f41535345545f50524f58595f49445f4d49534d41544348000000000000000000602082015260400190565b601e81527f4c454e4754485f475245415445525f5448414e5f335f52455155495245440000602082015260400190565b601381527f4f4e4c595f434f4e54524143545f4f574e455200000000000000000000000000602082015260400190565b601481527f41535345545f50524f58595f4d49534d41544348000000000000000000000000602082015260400190565b602081016109c382846108a4565b92915050565b606081016109d782866108b3565b6109e460208301856108a4565b61079b60408301846108a4565b602081016109c382846108bc565b602080825281016109c3816108c5565b602080825281016109c3816108f5565b602080825281016109c381610925565b602080825281016109c381610955565b602080825281016109c381610985565b60405181810167ffffffffffffffff81118282101715610a6e57600080fd5b604052919050565b600067ffffffffffffffff821115610a8d57600080fd5b506020601f919091017fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0160190565b73ffffffffffffffffffffffffffffffffffffffff1690565b7fffffffff000000000000000000000000000000000000000000000000000000001690565b90565b60006109c382610abc565b828183375060009101525600a265627a7a723058205306f3d1d10ddc7abcb2d07cd4ced5aef2819c6060050482b7c9e8a6e1c884e96c6578706572696d656e74616cf50037",
+ "opcodes": "PUSH1 0x80 PUSH1 0x40 MSTORE PUSH1 0x4 CALLDATASIZE LT PUSH2 0x77 JUMPI PUSH4 0xFFFFFFFF PUSH29 0x100000000000000000000000000000000000000000000000000000000 PUSH1 0x0 CALLDATALOAD DIV AND PUSH4 0x3FD3C997 DUP2 EQ PUSH2 0x7C JUMPI DUP1 PUSH4 0x60704108 EQ PUSH2 0xB2 JUMPI DUP1 PUSH4 0x833ABF3A EQ PUSH2 0xDF JUMPI DUP1 PUSH4 0x889B6D8D EQ PUSH2 0x101 JUMPI DUP1 PUSH4 0x8DA5CB5B EQ PUSH2 0x121 JUMPI DUP1 PUSH4 0xF2FDE38B EQ PUSH2 0x136 JUMPI JUMPDEST PUSH1 0x0 DUP1 REVERT JUMPDEST CALLVALUE DUP1 ISZERO PUSH2 0x88 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST POP PUSH2 0x9C PUSH2 0x97 CALLDATASIZE PUSH1 0x4 PUSH2 0x7A3 JUMP JUMPDEST PUSH2 0x156 JUMP JUMPDEST PUSH1 0x40 MLOAD PUSH2 0xA9 SWAP2 SWAP1 PUSH2 0x9F1 JUMP JUMPDEST PUSH1 0x40 MLOAD DUP1 SWAP2 SUB SWAP1 RETURN JUMPDEST CALLVALUE DUP1 ISZERO PUSH2 0xBE JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST POP PUSH2 0xD2 PUSH2 0xCD CALLDATASIZE PUSH1 0x4 PUSH2 0x7A3 JUMP JUMPDEST PUSH2 0x17E JUMP JUMPDEST PUSH1 0x40 MLOAD PUSH2 0xA9 SWAP2 SWAP1 PUSH2 0x9B5 JUMP JUMPDEST CALLVALUE DUP1 ISZERO PUSH2 0xEB JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST POP PUSH2 0xFF PUSH2 0xFA CALLDATASIZE PUSH1 0x4 PUSH2 0x7DF JUMP JUMPDEST PUSH2 0x1C8 JUMP JUMPDEST STOP JUMPDEST CALLVALUE DUP1 ISZERO PUSH2 0x10D JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST POP PUSH2 0xFF PUSH2 0x11C CALLDATASIZE PUSH1 0x4 PUSH2 0x82C JUMP JUMPDEST PUSH2 0x47B JUMP JUMPDEST CALLVALUE DUP1 ISZERO PUSH2 0x12D JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST POP PUSH2 0xD2 PUSH2 0x48D JUMP JUMPDEST CALLVALUE DUP1 ISZERO PUSH2 0x142 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST POP PUSH2 0xFF PUSH2 0x151 CALLDATASIZE PUSH1 0x4 PUSH2 0x77D JUMP JUMPDEST PUSH2 0x4A9 JUMP JUMPDEST PUSH1 0x1 PUSH1 0x20 MSTORE PUSH1 0x0 SWAP1 DUP2 MSTORE PUSH1 0x40 SWAP1 KECCAK256 SLOAD PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF AND DUP2 JUMP JUMPDEST PUSH32 0xFFFFFFFF00000000000000000000000000000000000000000000000000000000 AND PUSH1 0x0 SWAP1 DUP2 MSTORE PUSH1 0x1 PUSH1 0x20 MSTORE PUSH1 0x40 SWAP1 KECCAK256 SLOAD PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF AND SWAP1 JUMP JUMPDEST PUSH1 0x0 DUP1 SLOAD DUP2 SWAP1 DUP2 SWAP1 PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF AND CALLER EQ PUSH2 0x227 JUMPI PUSH1 0x40 MLOAD PUSH32 0x8C379A000000000000000000000000000000000000000000000000000000000 DUP2 MSTORE PUSH1 0x4 ADD PUSH2 0x21E SWAP1 PUSH2 0xA2F JUMP JUMPDEST PUSH1 0x40 MLOAD DUP1 SWAP2 SUB SWAP1 REVERT JUMPDEST PUSH32 0xFFFFFFFF00000000000000000000000000000000000000000000000000000000 DUP7 AND PUSH1 0x0 SWAP1 DUP2 MSTORE PUSH1 0x1 PUSH1 0x20 MSTORE PUSH1 0x40 SWAP1 KECCAK256 SLOAD PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF SWAP1 DUP2 AND SWAP4 POP DUP5 AND DUP4 EQ PUSH2 0x2AD JUMPI PUSH1 0x40 MLOAD PUSH32 0x8C379A000000000000000000000000000000000000000000000000000000000 DUP2 MSTORE PUSH1 0x4 ADD PUSH2 0x21E SWAP1 PUSH2 0xA3F JUMP JUMPDEST DUP5 SWAP2 POP PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF DUP3 AND ISZERO PUSH2 0x3C8 JUMPI DUP2 PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF AND PUSH4 0xAE25532E PUSH1 0x40 MLOAD DUP2 PUSH4 0xFFFFFFFF AND PUSH29 0x100000000000000000000000000000000000000000000000000000000 MUL DUP2 MSTORE PUSH1 0x4 ADD PUSH1 0x20 PUSH1 0x40 MLOAD DUP1 DUP4 SUB DUP2 PUSH1 0x0 DUP8 DUP1 EXTCODESIZE ISZERO DUP1 ISZERO PUSH2 0x330 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST POP GAS CALL ISZERO DUP1 ISZERO PUSH2 0x344 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 0x368 SWAP2 SWAP1 DUP2 ADD SWAP1 PUSH2 0x7C1 JUMP JUMPDEST SWAP1 POP PUSH32 0xFFFFFFFF00000000000000000000000000000000000000000000000000000000 DUP1 DUP3 AND SWAP1 DUP8 AND EQ PUSH2 0x3C8 JUMPI PUSH1 0x40 MLOAD PUSH32 0x8C379A000000000000000000000000000000000000000000000000000000000 DUP2 MSTORE PUSH1 0x4 ADD PUSH2 0x21E SWAP1 PUSH2 0xA0F JUMP JUMPDEST PUSH32 0xFFFFFFFF00000000000000000000000000000000000000000000000000000000 DUP7 AND PUSH1 0x0 SWAP1 DUP2 MSTORE PUSH1 0x1 PUSH1 0x20 MSTORE PUSH1 0x40 SWAP1 DUP2 SWAP1 KECCAK256 DUP1 SLOAD PUSH32 0xFFFFFFFFFFFFFFFFFFFFFFFF0000000000000000000000000000000000000000 AND PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF DUP6 AND OR SWAP1 SSTORE MLOAD PUSH32 0x8A2DD3A51CA5FFC0567E29C662BE273787EBA535497A208F9EF15BC4652F1214 SWAP1 PUSH2 0x46B SWAP1 DUP9 SWAP1 DUP9 SWAP1 DUP9 SWAP1 PUSH2 0x9C9 JUMP JUMPDEST PUSH1 0x40 MLOAD DUP1 SWAP2 SUB SWAP1 LOG1 POP POP POP POP POP POP JUMP JUMPDEST PUSH2 0x487 DUP5 DUP5 DUP5 DUP5 PUSH2 0x55A JUMP JUMPDEST POP POP POP POP JUMP JUMPDEST PUSH1 0x0 SLOAD PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF AND DUP2 JUMP JUMPDEST PUSH1 0x0 SLOAD PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF AND CALLER EQ PUSH2 0x4FA JUMPI PUSH1 0x40 MLOAD PUSH32 0x8C379A000000000000000000000000000000000000000000000000000000000 DUP2 MSTORE PUSH1 0x4 ADD PUSH2 0x21E SWAP1 PUSH2 0xA2F JUMP JUMPDEST PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF DUP2 AND ISZERO PUSH2 0x557 JUMPI PUSH1 0x0 DUP1 SLOAD PUSH32 0xFFFFFFFFFFFFFFFFFFFFFFFF0000000000000000000000000000000000000000 AND PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF DUP4 AND OR SWAP1 SSTORE JUMPDEST POP JUMP JUMPDEST PUSH1 0x0 DUP1 PUSH1 0x0 DUP1 DUP5 GT ISZERO PUSH2 0x6E9 JUMPI DUP7 MLOAD PUSH1 0x3 LT PUSH2 0x5A2 JUMPI PUSH1 0x40 MLOAD PUSH32 0x8C379A000000000000000000000000000000000000000000000000000000000 DUP2 MSTORE PUSH1 0x4 ADD PUSH2 0x21E SWAP1 PUSH2 0xA1F JUMP JUMPDEST PUSH1 0x20 DUP8 DUP2 ADD MLOAD PUSH32 0xFFFFFFFF00000000000000000000000000000000000000000000000000000000 AND PUSH1 0x0 DUP2 DUP2 MSTORE PUSH1 0x1 SWAP1 SWAP3 MSTORE PUSH1 0x40 SWAP1 SWAP2 KECCAK256 SLOAD SWAP1 SWAP4 POP PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF AND SWAP2 POP DUP2 ISZERO ISZERO PUSH2 0x62E JUMPI PUSH1 0x40 MLOAD PUSH32 0x8C379A000000000000000000000000000000000000000000000000000000000 DUP2 MSTORE PUSH1 0x4 ADD PUSH2 0x21E SWAP1 PUSH2 0x9FF JUMP JUMPDEST PUSH1 0x40 MLOAD PUSH7 0xFFFFFFFFFFFE0 PUSH1 0x3F DUP10 MLOAD ADD AND DUP1 PUSH1 0x84 ADD DUP3 ADD PUSH32 0xA85E59E400000000000000000000000000000000000000000000000000000000 DUP4 MSTORE PUSH1 0x80 PUSH1 0x4 DUP5 ADD MSTORE PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF DUP10 AND PUSH1 0x24 DUP5 ADD MSTORE PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF DUP9 AND PUSH1 0x44 DUP5 ADD MSTORE DUP7 PUSH1 0x64 DUP5 ADD MSTORE PUSH1 0x84 DUP4 ADD JUMPDEST DUP2 DUP2 LT ISZERO PUSH2 0x6CA JUMPI DUP11 MLOAD DUP2 MSTORE PUSH1 0x20 SWAP11 DUP12 ADD SWAP11 ADD PUSH2 0x6B2 JUMP JUMPDEST PUSH2 0x200 DUP5 DUP6 DUP5 SUB DUP7 PUSH1 0x0 DUP11 GAS CALL SWAP5 POP DUP5 ISZERO ISZERO PUSH2 0x6E4 JUMPI RETURNDATASIZE DUP5 REVERT JUMPDEST POP POP POP POP JUMPDEST POP POP POP POP POP POP POP JUMP JUMPDEST PUSH1 0x0 PUSH2 0x6FE DUP3 CALLDATALOAD PUSH2 0xABC JUMP JUMPDEST SWAP4 SWAP3 POP POP POP JUMP JUMPDEST PUSH1 0x0 PUSH2 0x6FE DUP3 CALLDATALOAD PUSH2 0xAD5 JUMP JUMPDEST PUSH1 0x0 PUSH2 0x6FE DUP3 MLOAD PUSH2 0xAD5 JUMP JUMPDEST PUSH1 0x0 PUSH1 0x1F DUP3 ADD DUP4 SGT PUSH2 0x72E JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST DUP2 CALLDATALOAD PUSH2 0x741 PUSH2 0x73C DUP3 PUSH2 0xA76 JUMP JUMPDEST PUSH2 0xA4F JUMP JUMPDEST SWAP2 POP DUP1 DUP3 MSTORE PUSH1 0x20 DUP4 ADD PUSH1 0x20 DUP4 ADD DUP6 DUP4 DUP4 ADD GT ISZERO PUSH2 0x75D JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST PUSH2 0x768 DUP4 DUP3 DUP5 PUSH2 0xB08 JUMP JUMPDEST POP POP POP SWAP3 SWAP2 POP POP JUMP JUMPDEST PUSH1 0x0 PUSH2 0x6FE DUP3 CALLDATALOAD PUSH2 0xAFA JUMP JUMPDEST PUSH1 0x0 PUSH1 0x20 DUP3 DUP5 SUB SLT ISZERO PUSH2 0x78F JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST PUSH1 0x0 PUSH2 0x79B DUP5 DUP5 PUSH2 0x6F2 JUMP JUMPDEST SWAP5 SWAP4 POP POP POP POP JUMP JUMPDEST PUSH1 0x0 PUSH1 0x20 DUP3 DUP5 SUB SLT ISZERO PUSH2 0x7B5 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST PUSH1 0x0 PUSH2 0x79B DUP5 DUP5 PUSH2 0x705 JUMP JUMPDEST PUSH1 0x0 PUSH1 0x20 DUP3 DUP5 SUB SLT ISZERO PUSH2 0x7D3 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST PUSH1 0x0 PUSH2 0x79B DUP5 DUP5 PUSH2 0x711 JUMP JUMPDEST PUSH1 0x0 DUP1 PUSH1 0x0 PUSH1 0x60 DUP5 DUP7 SUB SLT ISZERO PUSH2 0x7F4 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST PUSH1 0x0 PUSH2 0x800 DUP7 DUP7 PUSH2 0x705 JUMP JUMPDEST SWAP4 POP POP PUSH1 0x20 PUSH2 0x811 DUP7 DUP3 DUP8 ADD PUSH2 0x6F2 JUMP JUMPDEST SWAP3 POP POP PUSH1 0x40 PUSH2 0x822 DUP7 DUP3 DUP8 ADD PUSH2 0x6F2 JUMP JUMPDEST SWAP2 POP POP SWAP3 POP SWAP3 POP SWAP3 JUMP JUMPDEST PUSH1 0x0 DUP1 PUSH1 0x0 DUP1 PUSH1 0x80 DUP6 DUP8 SUB SLT ISZERO PUSH2 0x842 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST DUP5 CALLDATALOAD PUSH8 0xFFFFFFFFFFFFFFFF DUP2 GT ISZERO PUSH2 0x859 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST PUSH2 0x865 DUP8 DUP3 DUP9 ADD PUSH2 0x71D JUMP JUMPDEST SWAP5 POP POP PUSH1 0x20 PUSH2 0x876 DUP8 DUP3 DUP9 ADD PUSH2 0x6F2 JUMP JUMPDEST SWAP4 POP POP PUSH1 0x40 PUSH2 0x887 DUP8 DUP3 DUP9 ADD PUSH2 0x6F2 JUMP JUMPDEST SWAP3 POP POP PUSH1 0x60 PUSH2 0x898 DUP8 DUP3 DUP9 ADD PUSH2 0x771 JUMP JUMPDEST SWAP2 POP POP SWAP3 SWAP6 SWAP2 SWAP5 POP SWAP3 POP JUMP JUMPDEST PUSH2 0x8AD DUP2 PUSH2 0xABC JUMP JUMPDEST DUP3 MSTORE POP POP JUMP JUMPDEST PUSH2 0x8AD DUP2 PUSH2 0xAD5 JUMP JUMPDEST PUSH2 0x8AD DUP2 PUSH2 0xAFD JUMP JUMPDEST PUSH1 0x1A DUP2 MSTORE PUSH32 0x41535345545F50524F58595F444F45535F4E4F545F4558495354000000000000 PUSH1 0x20 DUP3 ADD MSTORE PUSH1 0x40 ADD SWAP1 JUMP JUMPDEST PUSH1 0x17 DUP2 MSTORE PUSH32 0x41535345545F50524F58595F49445F4D49534D41544348000000000000000000 PUSH1 0x20 DUP3 ADD MSTORE PUSH1 0x40 ADD SWAP1 JUMP JUMPDEST PUSH1 0x1E DUP2 MSTORE PUSH32 0x4C454E4754485F475245415445525F5448414E5F335F52455155495245440000 PUSH1 0x20 DUP3 ADD MSTORE PUSH1 0x40 ADD SWAP1 JUMP JUMPDEST PUSH1 0x13 DUP2 MSTORE PUSH32 0x4F4E4C595F434F4E54524143545F4F574E455200000000000000000000000000 PUSH1 0x20 DUP3 ADD MSTORE PUSH1 0x40 ADD SWAP1 JUMP JUMPDEST PUSH1 0x14 DUP2 MSTORE PUSH32 0x41535345545F50524F58595F4D49534D41544348000000000000000000000000 PUSH1 0x20 DUP3 ADD MSTORE PUSH1 0x40 ADD SWAP1 JUMP JUMPDEST PUSH1 0x20 DUP2 ADD PUSH2 0x9C3 DUP3 DUP5 PUSH2 0x8A4 JUMP JUMPDEST SWAP3 SWAP2 POP POP JUMP JUMPDEST PUSH1 0x60 DUP2 ADD PUSH2 0x9D7 DUP3 DUP7 PUSH2 0x8B3 JUMP JUMPDEST PUSH2 0x9E4 PUSH1 0x20 DUP4 ADD DUP6 PUSH2 0x8A4 JUMP JUMPDEST PUSH2 0x79B PUSH1 0x40 DUP4 ADD DUP5 PUSH2 0x8A4 JUMP JUMPDEST PUSH1 0x20 DUP2 ADD PUSH2 0x9C3 DUP3 DUP5 PUSH2 0x8BC JUMP JUMPDEST PUSH1 0x20 DUP1 DUP3 MSTORE DUP2 ADD PUSH2 0x9C3 DUP2 PUSH2 0x8C5 JUMP JUMPDEST PUSH1 0x20 DUP1 DUP3 MSTORE DUP2 ADD PUSH2 0x9C3 DUP2 PUSH2 0x8F5 JUMP JUMPDEST PUSH1 0x20 DUP1 DUP3 MSTORE DUP2 ADD PUSH2 0x9C3 DUP2 PUSH2 0x925 JUMP JUMPDEST PUSH1 0x20 DUP1 DUP3 MSTORE DUP2 ADD PUSH2 0x9C3 DUP2 PUSH2 0x955 JUMP JUMPDEST PUSH1 0x20 DUP1 DUP3 MSTORE DUP2 ADD PUSH2 0x9C3 DUP2 PUSH2 0x985 JUMP JUMPDEST PUSH1 0x40 MLOAD DUP2 DUP2 ADD PUSH8 0xFFFFFFFFFFFFFFFF DUP2 GT DUP3 DUP3 LT OR ISZERO PUSH2 0xA6E JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST PUSH1 0x40 MSTORE SWAP2 SWAP1 POP JUMP JUMPDEST PUSH1 0x0 PUSH8 0xFFFFFFFFFFFFFFFF DUP3 GT ISZERO PUSH2 0xA8D JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST POP PUSH1 0x20 PUSH1 0x1F SWAP2 SWAP1 SWAP2 ADD PUSH32 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFE0 AND ADD SWAP1 JUMP JUMPDEST PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF AND SWAP1 JUMP JUMPDEST PUSH32 0xFFFFFFFF00000000000000000000000000000000000000000000000000000000 AND SWAP1 JUMP JUMPDEST SWAP1 JUMP JUMPDEST PUSH1 0x0 PUSH2 0x9C3 DUP3 PUSH2 0xABC JUMP JUMPDEST DUP3 DUP2 DUP4 CALLDATACOPY POP PUSH1 0x0 SWAP2 ADD MSTORE JUMP STOP LOG2 PUSH6 0x627A7A723058 KECCAK256 MSTORE8 MOD RETURN 0xd1 0xd1 0xd 0xdc PUSH27 0xBCB2D07CD4CED5AEF2819C6060050482B7C9E8A6E1C884E96C6578 PUSH17 0x6572696D656E74616CF500370000000000 ",
+ "sourceMap": "705:291:5:-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;976:51:2;;8:9:-1;5:2;;;30:1;27;20:12;5:2;-1:-1;976:51:2;;;;;;;;;;;;;;;;;;;;;;;;;2691:154;;8:9:-1;5:2;;;30:1;27;20:12;5:2;-1:-1;2691:154:2;;;;;;;;;;;;;;;;;1441:1060;;8:9:-1;5:2;;;30:1;27;20:12;5:2;-1:-1;1441:1060:2;;;;;;;;;;;774:220:5;;8:9:-1;5:2;;;30:1;27;20:12;5:2;-1:-1;774:220:5;;;;;;;;;292:20:8;;8:9:-1;5:2;;;30:1;27;20:12;5:2;292:20:8;;;;534:167;;8:9:-1;5:2;;;30:1;27;20:12;5:2;-1:-1;534:167:8;;;;;;;;;976:51:2;;;;;;;;;;;;;;;:::o;2691:154::-;2812:26;;2782:7;2812:26;;;:12;:26;;;;;;;;;2691:154::o;1441:1060::-;1693:25;460:5:8;;1693:25:2;;;;460:5:8;;446:10;:19;425:85;;;;;;;;;;;;;;;;;;;;;;1721:26:2;;;;;;;:12;:26;;;;;;;;;;;-1:-1:-1;1778:34:2;;;;1757:101;;;;;;;;;;;;;;1906:13;;-1:-1:-1;2049:27:2;;;;2045:233;;2117:10;:21;;;:23;;;;;;;;;;;;;;;;;;;;;;;8:9:-1;5:2;;;30:1;27;20:12;5:2;2117:23:2;;;;8:9:-1;5:2;;;45:16;42:1;39;24:38;77:16;74:1;67:27;5:2;2117:23:2;;;;;;;101:4:-1;97:9;90:4;84;80:15;76:31;69:5;65:43;126:6;120:4;113:20;0:138;2117:23:2;;;;;;;;;2092:48;-1:-1:-1;2179:31:2;;;;;;;;2154:113;;;;;;;;;;;;;;2337:26;;;;;;;:12;:26;;;;;;;:39;;;;;;;;;;2391:103;;;;;2337:26;;2444:13;;2471;;2391:103;;;;;;;;;;1441:1060;;;;;;:::o;774:220:5:-;938:49;959:9;970:4;976:2;980:6;938:20;:49::i;:::-;774:220;;;;:::o;292:20:8:-;;;;;;:::o;534:167::-;460:5;;;;446:10;:19;425:85;;;;;;;;;;;;;;630:22;;;;626:69;;668:5;:16;;;;;;;;;;626:69;534:167;:::o;3160:5032:2:-;3630:19;3889:22;5318:12;3396:1;3387:6;:10;3383:4803;;;3486:16;;3505:1;-1:-1:-1;3461:109:2;;;;;;;;;;;;;;3752:2;3737:18;;;3710:46;3778:66;3706:156;3914:26;;;;:12;:26;;;;;;;;3706:156;;-1:-1:-1;3914:26:2;;;-1:-1:-1;4025:24:2;;;4000:109;;;;;;;;;;;;;;5552:2;5546:9;5868:15;5863:2;5851:9;5845:16;5841:25;5837:47;6021:14;6016:3;6012:24;6003:7;5999:38;6305:66;6296:7;6289:83;6789:3;6785:1;6776:7;6772:15;6765:28;6845:42;6839:4;6835:53;6830:2;6821:7;6817:16;6810:79;6939:42;6935:2;6931:51;6926:2;6917:7;6913:16;6906:77;7026:6;7020:3;7011:7;7007:17;7000:33;7192:3;7183:7;7179:17;7213:206;7233:5;7223:8;7220:19;7213:206;;;7282:16;;7265:34;;7346:2;7383:18;;;;7332:17;7213:206;;;7981:3;7910:7;7856;7849:5;7845:19;7772:7;7706:1;7631:10;7568:3;7542:512;7531:523;-1:-1:-1;8074:14:2;;8071:2;;;8127:16;8118:7;8111:33;8071:2;5353:2823;;;;;3160:5032;;;;;;;:::o;5:118:-1:-;;72:46;110:6;97:20;72:46;;;63:55;57:66;-1:-1;;;57:66;130:116;;196:45;233:6;220:20;196:45;;253:120;;330:38;360:6;354:13;330:38;;381:440;;475:4;463:17;;459:27;-1:-1;449:2;;500:1;497;490:12;449:2;537:6;524:20;559:64;574:48;615:6;574:48;;;559:64;;;550:73;;643:6;636:5;629:21;679:4;671:6;667:17;712:4;705:5;701:16;747:3;738:6;733:3;729:16;726:25;723:2;;;764:1;761;754:12;723:2;774:41;808:6;803:3;798;774:41;;;442:379;;;;;;;;829:118;;896:46;934:6;921:20;896:46;;954:241;;1058:2;1046:9;1037:7;1033:23;1029:32;1026:2;;;1074:1;1071;1064:12;1026:2;1109:1;1126:53;1171:7;1151:9;1126:53;;;1116:63;1020:175;-1:-1;;;;1020:175;1202:239;;1305:2;1293:9;1284:7;1280:23;1276:32;1273:2;;;1321:1;1318;1311:12;1273:2;1356:1;1373:52;1417:7;1397:9;1373:52;;1448:261;;1562:2;1550:9;1541:7;1537:23;1533:32;1530:2;;;1578:1;1575;1568:12;1530:2;1613:1;1630:63;1685:7;1665:9;1630:63;;1716:489;;;;1853:2;1841:9;1832:7;1828:23;1824:32;1821:2;;;1869:1;1866;1859:12;1821:2;1904:1;1921:52;1965:7;1945:9;1921:52;;;1911:62;;1883:96;2010:2;2028:53;2073:7;2064:6;2053:9;2049:22;2028:53;;;2018:63;;1989:98;2118:2;2136:53;2181:7;2172:6;2161:9;2157:22;2136:53;;;2126:63;;2097:98;1815:390;;;;;;2212:721;;;;;2376:3;2364:9;2355:7;2351:23;2347:33;2344:2;;;2393:1;2390;2383:12;2344:2;2428:31;;2479:18;2468:30;;2465:2;;;2511:1;2508;2501:12;2465:2;2531:62;2585:7;2576:6;2565:9;2561:22;2531:62;;;2521:72;;2407:192;2630:2;2648:53;2693:7;2684:6;2673:9;2669:22;2648:53;;;2638:63;;2609:98;2738:2;2756:53;2801:7;2792:6;2781:9;2777:22;2756:53;;;2746:63;;2717:98;2846:2;2864:53;2909:7;2900:6;2889:9;2885:22;2864:53;;;2854:63;;2825:98;2338:595;;;;;;;;2940:110;3013:31;3038:5;3013:31;;;3008:3;3001:44;2995:55;;;3057:107;3128:30;3152:5;3128:30;;3171:154;3263:56;3313:5;3263:56;;3333:296;3488:2;3476:15;;3525:66;3520:2;3511:12;;3504:88;3620:2;3611:12;;3469:160;3638:296;3793:2;3781:15;;3830:66;3825:2;3816:12;;3809:88;3925:2;3916:12;;3774:160;3943:296;4098:2;4086:15;;4135:66;4130:2;4121:12;;4114:88;4230:2;4221:12;;4079:160;4248:296;4403:2;4391:15;;4440:66;4435:2;4426:12;;4419:88;4535:2;4526:12;;4384:160;4553:296;4708:2;4696:15;;4745:66;4740:2;4731:12;;4724:88;4840:2;4831:12;;4689:160;4857:193;4965:2;4950:18;;4979:61;4954:9;5013:6;4979:61;;;4936:114;;;;;5057:391;5219:2;5204:18;;5233:59;5208:9;5265:6;5233:59;;;5303:62;5361:2;5350:9;5346:18;5337:6;5303:62;;;5376;5434:2;5423:9;5419:18;5410:6;5376:62;;5455:231;5582:2;5567:18;;5596:80;5571:9;5649:6;5596:80;;5693:387;5874:2;5888:47;;;5859:18;;5949:121;5859:18;5949:121;;6087:387;6268:2;6282:47;;;6253:18;;6343:121;6253:18;6343:121;;6481:387;6662:2;6676:47;;;6647:18;;6737:121;6647:18;6737:121;;6875:387;7056:2;7070:47;;;7041:18;;7131:121;7041:18;7131:121;;7269:387;7450:2;7464:47;;;7435:18;;7525:121;7435:18;7525:121;;7663:256;7725:2;7719:9;7751:17;;;7826:18;7811:34;;7847:22;;;7808:62;7805:2;;;7883:1;7880;7873:12;7805:2;7899;7892:22;7703:216;;-1:-1;7703:216;7926:258;;8069:18;8061:6;8058:30;8055:2;;;8101:1;8098;8091:12;8055:2;-1:-1;8174:4;8145;8122:17;;;;8141:9;8118:33;8164:15;;7992:192;8191:128;8271:42;8260:54;;8243:76;8326:151;8405:66;8394:78;;8377:100;8777:79;8846:5;8829:27;8863:134;;8961:31;8986:5;8961:31;;9005:145;9086:6;9081:3;9076;9063:30;-1:-1;9142:1;9124:16;;9117:27;9056:94"
}
}
},
@@ -172,49 +168,41 @@
"current/protocol/Exchange/interfaces/IAssetProxyDispatcher.sol": {
"id": 3
},
- "current/protocol/Exchange/libs/LibExchangeErrors.sol": {
- "id": 4
- },
"current/protocol/Exchange/mixins/MAssetProxyDispatcher.sol": {
- "id": 5
+ "id": 4
},
"current/test/TestAssetProxyDispatcher/TestAssetProxyDispatcher.sol": {
- "id": 6
+ "id": 5
},
"current/utils/LibBytes/LibBytes.sol": {
- "id": 7
- },
- "current/utils/LibMem/LibMem.sol": {
- "id": 8
+ "id": 6
},
"current/utils/Ownable/IOwnable.sol": {
- "id": 9
+ "id": 7
},
"current/utils/Ownable/Ownable.sol": {
- "id": 10
+ "id": 8
}
},
"sourceCodes": {
- "current/protocol/AssetProxy/interfaces/IAssetProxy.sol": "/*\n\n Copyright 2018 ZeroEx Intl.\n\n Licensed under the Apache License, Version 2.0 (the \"License\");\n you may not use this file except in compliance with the License.\n You may obtain a copy of the License at\n\n http://www.apache.org/licenses/LICENSE-2.0\n\n Unless required by applicable law or agreed to in writing, software\n distributed under the License is distributed on an \"AS IS\" BASIS,\n WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n See the License for the specific language governing permissions and\n limitations under the License.\n\n*/\n\npragma solidity ^0.4.24;\npragma experimental ABIEncoderV2;\n\nimport \"./IAuthorizable.sol\";\n\ncontract IAssetProxy is\n IAuthorizable\n{\n\n /// @dev Transfers assets. Either succeeds or throws.\n /// @param assetData Byte array encoded for the respective asset proxy.\n /// @param from Address to transfer asset from.\n /// @param to Address to transfer asset to.\n /// @param amount Amount of asset to transfer.\n function transferFrom(\n bytes assetData,\n address from,\n address to,\n uint256 amount\n )\n external;\n \n /// @dev Makes multiple transfers of assets. Either succeeds or throws.\n /// @param assetData Array of byte arrays encoded for the respective asset proxy.\n /// @param from Array of addresses to transfer assets from.\n /// @param to Array of addresses to transfer assets to.\n /// @param amounts Array of amounts of assets to transfer.\n function batchTransferFrom(\n bytes[] memory assetData,\n address[] memory from,\n address[] memory to,\n uint256[] memory amounts\n )\n public;\n\n /// @dev Gets the proxy id associated with the proxy address.\n /// @return Proxy id.\n function getProxyId()\n external\n view\n returns (uint8);\n}\n\n",
+ "current/protocol/AssetProxy/interfaces/IAssetProxy.sol": "/*\n\n Copyright 2018 ZeroEx Intl.\n\n Licensed under the Apache License, Version 2.0 (the \"License\");\n you may not use this file except in compliance with the License.\n You may obtain a copy of the License at\n\n http://www.apache.org/licenses/LICENSE-2.0\n\n Unless required by applicable law or agreed to in writing, software\n distributed under the License is distributed on an \"AS IS\" BASIS,\n WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n See the License for the specific language governing permissions and\n limitations under the License.\n\n*/\n\npragma solidity ^0.4.24;\npragma experimental ABIEncoderV2;\n\nimport \"./IAuthorizable.sol\";\n\ncontract IAssetProxy is\n IAuthorizable\n{\n\n /// @dev Transfers assets. Either succeeds or throws.\n /// @param assetData Byte array encoded for the respective asset proxy.\n /// @param from Address to transfer asset from.\n /// @param to Address to transfer asset to.\n /// @param amount Amount of asset to transfer.\n function transferFrom(\n bytes assetData,\n address from,\n address to,\n uint256 amount\n )\n external;\n \n /// @dev Gets the proxy id associated with the proxy address.\n /// @return Proxy id.\n function getProxyId()\n external\n view\n returns (bytes4);\n}\n",
"current/protocol/AssetProxy/interfaces/IAuthorizable.sol": "/*\n\n Copyright 2018 ZeroEx Intl.\n\n Licensed under the Apache License, Version 2.0 (the \"License\");\n you may not use this file except in compliance with the License.\n You may obtain a copy of the License at\n\n http://www.apache.org/licenses/LICENSE-2.0\n\n Unless required by applicable law or agreed to in writing, software\n distributed under the License is distributed on an \"AS IS\" BASIS,\n WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n See the License for the specific language governing permissions and\n limitations under the License.\n\n*/\n\npragma solidity ^0.4.24;\npragma experimental ABIEncoderV2;\n\nimport \"../../../utils/Ownable/IOwnable.sol\";\n\ncontract IAuthorizable is\n IOwnable\n{\n\n /// @dev Gets all authorized addresses.\n /// @return Array of authorized addresses.\n function getAuthorizedAddresses()\n external\n view\n returns (address[]);\n\n /// @dev Authorizes an address.\n /// @param target Address to authorize.\n function addAuthorizedAddress(address target)\n external;\n\n /// @dev Removes authorizion of an address.\n /// @param target Address to remove authorization from.\n function removeAuthorizedAddress(address target)\n external;\n\n /// @dev Removes authorizion of an address.\n /// @param target Address to remove authorization from.\n /// @param index Index of target in authorities array.\n function removeAuthorizedAddressAtIndex(\n address target,\n uint256 index\n )\n external;\n}\n",
- "current/protocol/Exchange/MixinAssetProxyDispatcher.sol": "/*\n\n Copyright 2018 ZeroEx Intl.\n\n Licensed under the Apache License, Version 2.0 (the \"License\");\n you may not use this file except in compliance with the License.\n You may obtain a copy of the License at\n\n http://www.apache.org/licenses/LICENSE-2.0\n\n Unless required by applicable law or agreed to in writing, software\n distributed under the License is distributed on an \"AS IS\" BASIS,\n WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n See the License for the specific language governing permissions and\n limitations under the License.\n\n*/\n\npragma solidity ^0.4.24;\n\nimport \"../../utils/Ownable/Ownable.sol\";\nimport \"../../utils/LibBytes/LibBytes.sol\";\nimport \"./libs/LibExchangeErrors.sol\";\nimport \"./mixins/MAssetProxyDispatcher.sol\";\nimport \"../AssetProxy/interfaces/IAssetProxy.sol\";\n\ncontract MixinAssetProxyDispatcher is\n Ownable,\n LibBytes,\n LibExchangeErrors,\n MAssetProxyDispatcher\n{\n // Mapping from Asset Proxy Id's to their respective Asset Proxy\n mapping (uint8 => IAssetProxy) public assetProxies;\n\n /// @dev Registers an asset proxy to an asset proxy id.\n /// An id can only be assigned to a single proxy at a given time.\n /// @param assetProxyId Id to register`newAssetProxy` under.\n /// @param newAssetProxy Address of new asset proxy to register, or 0x0 to unset assetProxyId.\n /// @param oldAssetProxy Existing asset proxy to overwrite, or 0x0 if assetProxyId is currently unused.\n function registerAssetProxy(\n uint8 assetProxyId,\n address newAssetProxy,\n address oldAssetProxy\n )\n external\n onlyOwner\n {\n // Ensure the existing asset proxy is not unintentionally overwritten\n address currentAssetProxy = address(assetProxies[assetProxyId]);\n require(\n oldAssetProxy == currentAssetProxy,\n ASSET_PROXY_MISMATCH\n );\n\n IAssetProxy assetProxy = IAssetProxy(newAssetProxy);\n\n // Ensure that the id of newAssetProxy matches the passed in assetProxyId, unless it is being reset to 0.\n if (newAssetProxy != address(0)) {\n uint8 newAssetProxyId = assetProxy.getProxyId();\n require(\n newAssetProxyId == assetProxyId,\n ASSET_PROXY_ID_MISMATCH\n );\n }\n\n // Add asset proxy and log registration.\n assetProxies[assetProxyId] = assetProxy;\n emit AssetProxySet(assetProxyId, newAssetProxy, oldAssetProxy);\n }\n\n /// @dev Gets an asset proxy.\n /// @param assetProxyId Id of the asset proxy.\n /// @return The asset proxy registered to assetProxyId. Returns 0x0 if no proxy is registered.\n function getAssetProxy(uint8 assetProxyId)\n external\n view\n returns (address)\n {\n address assetProxy = address(assetProxies[assetProxyId]);\n return assetProxy;\n }\n\n /// @dev Forwards arguments to assetProxy and calls `transferFrom`. Either succeeds or throws.\n /// @param assetData Byte array encoded for the respective asset proxy.\n /// @param assetProxyId Id of assetProxy to dispach to.\n /// @param from Address to transfer token from.\n /// @param to Address to transfer token to.\n /// @param amount Amount of token to transfer.\n function dispatchTransferFrom(\n bytes memory assetData,\n uint8 assetProxyId,\n address from,\n address to,\n uint256 amount\n )\n internal\n {\n // Do nothing if no amount should be transferred.\n if (amount > 0) {\n // Lookup assetProxy\n IAssetProxy assetProxy = assetProxies[assetProxyId];\n // transferFrom will either succeed or throw.\n assetProxy.transferFrom(assetData, from, to, amount);\n }\n }\n}\n",
- "current/protocol/Exchange/interfaces/IAssetProxyDispatcher.sol": "/*\n\n Copyright 2018 ZeroEx Intl.\n\n Licensed under the Apache License, Version 2.0 (the \"License\");\n you may not use this file except in compliance with the License.\n You may obtain a copy of the License at\n\n http://www.apache.org/licenses/LICENSE-2.0\n\n Unless required by applicable law or agreed to in writing, software\n distributed under the License is distributed on an \"AS IS\" BASIS,\n WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n See the License for the specific language governing permissions and\n limitations under the License.\n\n*/\n\npragma solidity ^0.4.24;\n\ncontract IAssetProxyDispatcher {\n\n /// @dev Registers an asset proxy to an asset proxy id.\n /// An id can only be assigned to a single proxy at a given time.\n /// @param assetProxyId Id to register`newAssetProxy` under.\n /// @param newAssetProxy Address of new asset proxy to register, or 0x0 to unset assetProxyId.\n /// @param oldAssetProxy Existing asset proxy to overwrite, or 0x0 if assetProxyId is currently unused.\n function registerAssetProxy(\n uint8 assetProxyId,\n address newAssetProxy,\n address oldAssetProxy\n )\n external;\n\n /// @dev Gets an asset proxy.\n /// @param assetProxyId Id of the asset proxy.\n /// @return The asset proxy registered to assetProxyId. Returns 0x0 if no proxy is registered.\n function getAssetProxy(uint8 assetProxyId)\n external\n view\n returns (address);\n}\n",
- "current/protocol/Exchange/libs/LibExchangeErrors.sol": "/*\n\n Copyright 2018 ZeroEx Intl.\n\n Licensed under the Apache License, Version 2.0 (the \"License\");\n you may not use this file except in compliance with the License.\n You may obtain a copy of the License at\n\n http://www.apache.org/licenses/LICENSE-2.0\n\n Unless required by applicable law or agreed to in writing, software\n distributed under the License is distributed on an \"AS IS\" BASIS,\n WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n See the License for the specific language governing permissions and\n limitations under the License.\n\n*/\n\npragma solidity ^0.4.24;\n\ncontract LibExchangeErrors {\n /// Order validation errors ///\n string constant ORDER_UNFILLABLE = \"ORDER_UNFILLABLE\"; // Order cannot be filled.\n string constant INVALID_MAKER = \"INVALID_MAKER\"; // Invalid makerAddress.\n string constant INVALID_TAKER = \"INVALID_TAKER\"; // Invalid takerAddress.\n string constant INVALID_SENDER = \"INVALID_SENDER\"; // Invalid `msg.sender`.\n string constant INVALID_ORDER_SIGNATURE = \"INVALID_ORDER_SIGNATURE\"; // Signature validation failed. \n \n /// fillOrder validation errors ///\n string constant INVALID_TAKER_AMOUNT = \"INVALID_TAKER_AMOUNT\"; // takerAssetFillAmount cannot equal 0.\n string constant ROUNDING_ERROR = \"ROUNDING_ERROR\"; // Rounding error greater than 0.1% of takerAssetFillAmount. \n \n /// Signature validation errors ///\n string constant INVALID_SIGNATURE = \"INVALID_SIGNATURE\"; // Signature validation failed. \n string constant SIGNATURE_ILLEGAL = \"SIGNATURE_ILLEGAL\"; // Signature type is illegal.\n string constant SIGNATURE_UNSUPPORTED = \"SIGNATURE_UNSUPPORTED\"; // Signature type unsupported.\n \n /// cancelOrdersUptTo errors ///\n string constant INVALID_NEW_ORDER_EPOCH = \"INVALID_NEW_ORDER_EPOCH\"; // Specified salt must be greater than or equal to existing orderEpoch.\n\n /// fillOrKillOrder errors ///\n string constant COMPLETE_FILL_FAILED = \"COMPLETE_FILL_FAILED\"; // Desired takerAssetFillAmount could not be completely filled. \n\n /// matchOrders errors ///\n string constant NEGATIVE_SPREAD_REQUIRED = \"NEGATIVE_SPREAD_REQUIRED\"; // Matched orders must have a negative spread.\n\n /// Transaction errors ///\n string constant REENTRANCY_ILLEGAL = \"REENTRANCY_ILLEGAL\"; // Recursive reentrancy is not allowed. \n string constant INVALID_TX_HASH = \"INVALID_TX_HASH\"; // Transaction has already been executed. \n string constant INVALID_TX_SIGNATURE = \"INVALID_TX_SIGNATURE\"; // Signature validation failed. \n string constant FAILED_EXECUTION = \"FAILED_EXECUTION\"; // Transaction execution failed. \n \n /// registerAssetProxy errors ///\n string constant ASSET_PROXY_MISMATCH = \"ASSET_PROXY_MISMATCH\"; // oldAssetProxy proxy does not match currentAssetProxy. \n string constant ASSET_PROXY_ID_MISMATCH = \"ASSET_PROXY_ID_MISMATCH\"; // newAssetProxyId does not match given assetProxyId.\n\n /// Length validation errors ///\n string constant LENGTH_GREATER_THAN_0_REQUIRED = \"LENGTH_GREATER_THAN_0_REQUIRED\"; // Byte array must have a length greater than 0.\n string constant LENGTH_0_REQUIRED = \"LENGTH_0_REQUIRED\"; // Byte array must have a length of 0.\n string constant LENGTH_65_REQUIRED = \"LENGTH_65_REQUIRED\"; // Byte array must have a length of 65.\n}\n",
- "current/protocol/Exchange/mixins/MAssetProxyDispatcher.sol": "/*\n\n Copyright 2018 ZeroEx Intl.\n\n Licensed under the Apache License, Version 2.0 (the \"License\");\n you may not use this file except in compliance with the License.\n You may obtain a copy of the License at\n\n http://www.apache.org/licenses/LICENSE-2.0\n\n Unless required by applicable law or agreed to in writing, software\n distributed under the License is distributed on an \"AS IS\" BASIS,\n WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n See the License for the specific language governing permissions and\n limitations under the License.\n\n*/\n\npragma solidity ^0.4.24;\npragma experimental ABIEncoderV2;\n\nimport \"../interfaces/IAssetProxyDispatcher.sol\";\n\ncontract MAssetProxyDispatcher is\n IAssetProxyDispatcher\n{\n\n // Logs registration of new asset proxy\n event AssetProxySet(\n uint8 id,\n address newAssetProxy,\n address oldAssetProxy\n );\n\n /// @dev Forwards arguments to assetProxy and calls `transferFrom`. Either succeeds or throws.\n /// @param assetData Byte array encoded for the respective asset proxy.\n /// @param assetProxyId Id of assetProxy to dispach to.\n /// @param from Address to transfer token from.\n /// @param to Address to transfer token to.\n /// @param amount Amount of token to transfer.\n function dispatchTransferFrom(\n bytes memory assetData,\n uint8 assetProxyId,\n address from,\n address to,\n uint256 amount\n )\n internal;\n}\n",
- "current/test/TestAssetProxyDispatcher/TestAssetProxyDispatcher.sol": "/*\n\n Copyright 2018 ZeroEx Intl.\n\n Licensed under the Apache License, Version 2.0 (the \"License\");\n you may not use this file except in compliance with the License.\n You may obtain a copy of the License at\n\n http://www.apache.org/licenses/LICENSE-2.0\n\n Unless required by applicable law or agreed to in writing, software\n distributed under the License is distributed on an \"AS IS\" BASIS,\n WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n See the License for the specific language governing permissions and\n limitations under the License.\n\n*/\n\npragma solidity ^0.4.24;\npragma experimental ABIEncoderV2;\n\nimport \"../../protocol/Exchange/MixinAssetProxyDispatcher.sol\";\n\ncontract TestAssetProxyDispatcher is MixinAssetProxyDispatcher {\n function publicDispatchTransferFrom(\n bytes memory assetData,\n uint8 assetProxyId,\n address from,\n address to,\n uint256 amount)\n public\n {\n dispatchTransferFrom(assetData, assetProxyId, from, to, amount);\n }\n}\n",
- "current/utils/LibBytes/LibBytes.sol": "/*\n\n Copyright 2018 ZeroEx Intl.\n\n Licensed under the Apache License, Version 2.0 (the \"License\");\n you may not use this file except in compliance with the License.\n You may obtain a copy of the License at\n\n http://www.apache.org/licenses/LICENSE-2.0\n\n Unless required by applicable law or agreed to in writing, software\n distributed under the License is distributed on an \"AS IS\" BASIS,\n WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n See the License for the specific language governing permissions and\n limitations under the License.\n\n*/\n\npragma solidity ^0.4.24;\n\nimport \"../LibMem/LibMem.sol\";\n\ncontract LibBytes is\n LibMem\n{\n\n // Revert reasons\n string constant GREATER_THAN_ZERO_LENGTH_REQUIRED = \"GREATER_THAN_ZERO_LENGTH_REQUIRED\";\n string constant GREATER_OR_EQUAL_TO_4_LENGTH_REQUIRED = \"GREATER_OR_EQUAL_TO_4_LENGTH_REQUIRED\";\n string constant GREATER_OR_EQUAL_TO_20_LENGTH_REQUIRED = \"GREATER_OR_EQUAL_TO_20_LENGTH_REQUIRED\";\n string constant GREATER_OR_EQUAL_TO_32_LENGTH_REQUIRED = \"GREATER_OR_EQUAL_TO_32_LENGTH_REQUIRED\";\n string constant GREATER_OR_EQUAL_TO_NESTED_BYTES_LENGTH_REQUIRED = \"GREATER_OR_EQUAL_TO_NESTED_BYTES_LENGTH_REQUIRED\";\n string constant GREATER_OR_EQUAL_TO_SOURCE_BYTES_LENGTH_REQUIRED = \"GREATER_OR_EQUAL_TO_SOURCE_BYTES_LENGTH_REQUIRED\";\n\n /// @dev Pops the last byte off of a byte array by modifying its length.\n /// @param b Byte array that will be modified.\n /// @return The byte that was popped off.\n function popLastByte(bytes memory b)\n internal\n pure\n returns (bytes1 result)\n {\n require(\n b.length > 0,\n GREATER_THAN_ZERO_LENGTH_REQUIRED\n );\n\n // Store last byte.\n result = b[b.length - 1];\n\n assembly {\n // Decrement length of byte array.\n let newLen := sub(mload(b), 1)\n mstore(b, newLen)\n }\n return result;\n }\n\n /// @dev Pops the last 20 bytes off of a byte array by modifying its length.\n /// @param b Byte array that will be modified.\n /// @return The 20 byte address that was popped off.\n function popLast20Bytes(bytes memory b)\n internal\n pure\n returns (address result)\n {\n require(\n b.length >= 20,\n GREATER_OR_EQUAL_TO_20_LENGTH_REQUIRED\n );\n\n // Store last 20 bytes.\n result = readAddress(b, b.length - 20);\n\n assembly {\n // Subtract 20 from byte array length.\n let newLen := sub(mload(b), 20)\n mstore(b, newLen)\n }\n return result;\n }\n\n /// @dev Reads an address from a position in a byte array.\n /// @param b Byte array containing an address.\n /// @param index Index in byte array of address.\n /// @return address from byte array.\n function readAddress(\n bytes memory b,\n uint256 index\n )\n internal\n pure\n returns (address result)\n {\n require(\n b.length >= index + 20, // 20 is length of address\n GREATER_OR_EQUAL_TO_20_LENGTH_REQUIRED\n );\n\n // Add offset to index:\n // 1. Arrays are prefixed by 32-byte length parameter (add 32 to index)\n // 2. Account for size difference between address length and 32-byte storage word (subtract 12 from index)\n index += 20;\n\n // Read address from array memory\n assembly {\n // 1. Add index to address of bytes array\n // 2. Load 32-byte word from memory\n // 3. Apply 20-byte mask to obtain address\n result := and(mload(add(b, index)), 0xffffffffffffffffffffffffffffffffffffffff)\n }\n return result;\n }\n\n /// @dev Writes an address into a specific position in a byte array.\n /// @param b Byte array to insert address into.\n /// @param index Index in byte array of address.\n /// @param input Address to put into byte array.\n function writeAddress(\n bytes memory b,\n uint256 index,\n address input\n )\n internal\n pure\n {\n require(\n b.length >= index + 20, // 20 is length of address\n GREATER_OR_EQUAL_TO_20_LENGTH_REQUIRED\n );\n\n // Add offset to index:\n // 1. Arrays are prefixed by 32-byte length parameter (add 32 to index)\n // 2. Account for size difference between address length and 32-byte storage word (subtract 12 from index)\n index += 20;\n\n // Store address into array memory\n assembly {\n // The address occupies 20 bytes and mstore stores 32 bytes.\n // First fetch the 32-byte word where we'll be storing the address, then\n // apply a mask so we have only the bytes in the word that the address will not occupy.\n // Then combine these bytes with the address and store the 32 bytes back to memory with mstore.\n\n // 1. Add index to address of bytes array\n // 2. Load 32-byte word from memory\n // 3. Apply 12-byte mask to obtain extra bytes occupying word of memory where we'll store the address\n let neighbors := and(mload(add(b, index)), 0xffffffffffffffffffffffff0000000000000000000000000000000000000000)\n\n // Store the neighbors and address into memory\n mstore(add(b, index), xor(input, neighbors))\n }\n }\n\n /// @dev Reads a bytes32 value from a position in a byte array.\n /// @param b Byte array containing a bytes32 value.\n /// @param index Index in byte array of bytes32 value.\n /// @return bytes32 value from byte array.\n function readBytes32(\n bytes memory b,\n uint256 index\n )\n internal\n pure\n returns (bytes32 result)\n {\n require(\n b.length >= index + 32,\n GREATER_OR_EQUAL_TO_32_LENGTH_REQUIRED\n );\n\n // Arrays are prefixed by a 256 bit length parameter\n index += 32;\n\n // Read the bytes32 from array memory\n assembly {\n result := mload(add(b, index))\n }\n return result;\n }\n\n /// @dev Writes a bytes32 into a specific position in a byte array.\n /// @param b Byte array to insert <input> into.\n /// @param index Index in byte array of <input>.\n /// @param input bytes32 to put into byte array.\n function writeBytes32(\n bytes memory b,\n uint256 index,\n bytes32 input\n )\n internal\n pure\n {\n require(\n b.length >= index + 32,\n GREATER_OR_EQUAL_TO_32_LENGTH_REQUIRED\n );\n\n // Arrays are prefixed by a 256 bit length parameter\n index += 32;\n\n // Read the bytes32 from array memory\n assembly {\n mstore(add(b, index), input)\n }\n }\n\n /// @dev Reads a uint256 value from a position in a byte array.\n /// @param b Byte array containing a uint256 value.\n /// @param index Index in byte array of uint256 value.\n /// @return uint256 value from byte array.\n function readUint256(\n bytes memory b,\n uint256 index\n )\n internal\n pure\n returns (uint256 result)\n {\n return uint256(readBytes32(b, index));\n }\n\n /// @dev Writes a uint256 into a specific position in a byte array.\n /// @param b Byte array to insert <input> into.\n /// @param index Index in byte array of <input>.\n /// @param input uint256 to put into byte array.\n function writeUint256(\n bytes memory b,\n uint256 index,\n uint256 input\n )\n internal\n pure\n {\n writeBytes32(b, index, bytes32(input));\n }\n\n /// @dev Reads the first 4 bytes from a byte array of arbitrary length.\n /// @param b Byte array to read first 4 bytes from.\n /// @return First 4 bytes of data.\n function readFirst4(bytes memory b)\n internal\n pure\n returns (bytes4 result)\n {\n require(\n b.length >= 4,\n GREATER_OR_EQUAL_TO_4_LENGTH_REQUIRED\n );\n assembly {\n result := mload(add(b, 32))\n }\n return result;\n }\n\n /// @dev Reads nested bytes from a specific position.\n /// @param b Byte array containing nested bytes.\n /// @param index Index of nested bytes.\n /// @return result Nested bytes.\n function readBytes(\n bytes memory b,\n uint256 index\n )\n internal\n pure\n returns (bytes memory result)\n {\n // Read length of nested bytes\n uint256 nestedBytesLength = readUint256(b, index);\n index += 32;\n\n // Assert length of <b> is valid, given\n // length of nested bytes\n require(\n b.length >= index + nestedBytesLength,\n GREATER_OR_EQUAL_TO_NESTED_BYTES_LENGTH_REQUIRED\n );\n\n // Allocate memory and copy value to result\n result = new bytes(nestedBytesLength);\n memCopy(\n getMemAddress(result) + 32, // +32 skips array length\n getMemAddress(b) + index + 32,\n nestedBytesLength\n );\n\n return result;\n }\n\n /// @dev Inserts bytes at a specific position in a byte array.\n /// @param b Byte array to insert <input> into.\n /// @param index Index in byte array of <input>.\n /// @param input bytes to insert.\n function writeBytes(\n bytes memory b,\n uint256 index,\n bytes memory input\n )\n internal\n pure\n {\n // Assert length of <b> is valid, given\n // length of input\n require(\n b.length >= index + 32 /* 32 bytes to store length */ + input.length,\n GREATER_OR_EQUAL_TO_NESTED_BYTES_LENGTH_REQUIRED\n );\n\n // Copy <input> into <b>\n memCopy(\n getMemAddress(b) + 32 + index, // +32 to skip length of <b>\n getMemAddress(input), // includes length of <input>\n input.length + 32 // +32 bytes to store <input> length\n );\n }\n\n /// @dev Tests equality of two byte arrays.\n /// @param lhs First byte array to compare.\n /// @param rhs Second byte array to compare.\n /// @return True if arrays are the same. False otherwise.\n function areBytesEqual(\n bytes memory lhs,\n bytes memory rhs\n )\n internal\n pure\n returns (bool equal)\n {\n assembly {\n // Get the number of words occupied by <lhs>\n let lenFullWords := div(add(mload(lhs), 0x1F), 0x20)\n\n // Add 1 to the number of words, to account for the length field\n lenFullWords := add(lenFullWords, 0x1)\n\n // Test equality word-by-word.\n // Terminates early if there is a mismatch.\n for {let i := 0} lt(i, lenFullWords) {i := add(i, 1)} {\n let lhsWord := mload(add(lhs, mul(i, 0x20)))\n let rhsWord := mload(add(rhs, mul(i, 0x20)))\n equal := eq(lhsWord, rhsWord)\n if eq(equal, 0) {\n // Break\n i := lenFullWords\n }\n }\n }\n\n return equal;\n }\n\n /// @dev Performs a deep copy of a byte array onto another byte array of greater than or equal length.\n /// @param dest Byte array that will be overwritten with source bytes.\n /// @param source Byte array to copy onto dest bytes.\n function deepCopyBytes(\n bytes memory dest,\n bytes memory source\n )\n internal\n pure\n {\n uint256 sourceLen = source.length;\n // Dest length must be >= source length, or some bytes would not be copied.\n require(\n dest.length >= sourceLen,\n GREATER_OR_EQUAL_TO_SOURCE_BYTES_LENGTH_REQUIRED\n );\n memCopy(\n getMemAddress(dest) + 32, // +32 to skip length of <dest>\n getMemAddress(source) + 32, // +32 to skip length of <source>\n sourceLen\n );\n }\n}\n",
- "current/utils/LibMem/LibMem.sol": "/*\n\n Copyright 2018 ZeroEx Intl.\n\n Licensed under the Apache License, Version 2.0 (the \"License\");\n you may not use this file except in compliance with the License.\n You may obtain a copy of the License at\n\n http://www.apache.org/licenses/LICENSE-2.0\n\n Unless required by applicable law or agreed to in writing, software\n distributed under the License is distributed on an \"AS IS\" BASIS,\n WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n See the License for the specific language governing permissions and\n limitations under the License.\n\n*/\n\npragma solidity ^0.4.24;\n\ncontract LibMem\n{\n\n /// @dev Gets the memory address for a byte array.\n /// @param input Byte array to lookup.\n /// @return memoryAddress Memory address of byte array.\n function getMemAddress(bytes memory input)\n internal\n pure\n returns (uint256 memoryAddress)\n {\n assembly {\n memoryAddress := input\n }\n return memoryAddress;\n }\n\n /// @dev Copies `length` bytes from memory location `source` to `dest`.\n /// @param dest memory address to copy bytes to.\n /// @param source memory address to copy bytes from.\n /// @param length number of bytes to copy.\n function memCopy(\n uint256 dest,\n uint256 source,\n uint256 length\n )\n internal\n pure\n {\n if (length < 32) {\n // Handle a partial word by reading destination and masking\n // off the bits we are interested in.\n // This correctly handles overlap, zero lengths and source == dest\n assembly {\n let mask := sub(exp(256, sub(32, length)), 1)\n let s := and(mload(source), not(mask))\n let d := and(mload(dest), mask)\n mstore(dest, or(s, d))\n }\n } else {\n // Skip the O(length) loop when source == dest.\n if (source == dest) {\n return;\n }\n\n // For large copies we copy whole words at a time. The final\n // word is aligned to the end of the range (instead of after the\n // previous) to handle partial words. So a copy will look like this:\n //\n // ####\n // ####\n // ####\n // ####\n //\n // We handle overlap in the source and destination range by\n // changing the copying direction. This prevents us from\n // overwriting parts of source that we still need to copy.\n //\n // This correctly handles source == dest\n //\n if (source > dest) {\n assembly {\n // We subtract 32 from `sEnd` and `dEnd` because it\n // is easier to compare with in the loop, and these\n // are also the addresses we need for copying the\n // last bytes.\n length := sub(length, 32)\n let sEnd := add(source, length)\n let dEnd := add(dest, length)\n\n // Remember the last 32 bytes of source\n // This needs to be done here and not after the loop\n // because we may have overwritten the last bytes in\n // source already due to overlap.\n let last := mload(sEnd)\n\n // Copy whole words front to back\n // Note: the first check is always true,\n // this could have been a do-while loop.\n for {} lt(source, sEnd) {} {\n mstore(dest, mload(source))\n source := add(source, 32)\n dest := add(dest, 32)\n }\n \n // Write the last 32 bytes\n mstore(dEnd, last)\n }\n } else {\n assembly {\n // We subtract 32 from `sEnd` and `dEnd` because those\n // are the starting points when copying a word at the end.\n length := sub(length, 32)\n let sEnd := add(source, length)\n let dEnd := add(dest, length)\n\n // Remember the first 32 bytes of source\n // This needs to be done here and not after the loop\n // because we may have overwritten the first bytes in\n // source already due to overlap.\n let first := mload(source)\n\n // Copy whole words back to front\n // We use a signed comparisson here to allow dEnd to become\n // negative (happens when source and dest < 32). Valid\n // addresses in local memory will never be larger than\n // 2**255, so they can be safely re-interpreted as signed.\n // Note: the first check is always true,\n // this could have been a do-while loop.\n for {} slt(dest, dEnd) {} {\n mstore(dEnd, mload(sEnd))\n sEnd := sub(sEnd, 32)\n dEnd := sub(dEnd, 32)\n }\n \n // Write the first 32 bytes\n mstore(dest, first)\n }\n }\n }\n }\n}\n",
+ "current/protocol/Exchange/MixinAssetProxyDispatcher.sol": "/*\n\n Copyright 2018 ZeroEx Intl.\n\n Licensed under the Apache License, Version 2.0 (the \"License\");\n you may not use this file except in compliance with the License.\n You may obtain a copy of the License at\n\n http://www.apache.org/licenses/LICENSE-2.0\n\n Unless required by applicable law or agreed to in writing, software\n distributed under the License is distributed on an \"AS IS\" BASIS,\n WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n See the License for the specific language governing permissions and\n limitations under the License.\n\n*/\n\npragma solidity ^0.4.24;\n\nimport \"../../utils/Ownable/Ownable.sol\";\nimport \"../../utils/LibBytes/LibBytes.sol\";\nimport \"./mixins/MAssetProxyDispatcher.sol\";\nimport \"../AssetProxy/interfaces/IAssetProxy.sol\";\n\ncontract MixinAssetProxyDispatcher is\n Ownable,\n MAssetProxyDispatcher\n{\n using LibBytes for bytes;\n \n // Mapping from Asset Proxy Id's to their respective Asset Proxy\n mapping (bytes4 => IAssetProxy) public assetProxies;\n\n /// @dev Registers an asset proxy to an asset proxy id.\n /// An id can only be assigned to a single proxy at a given time.\n /// @param assetProxyId Id to register`newAssetProxy` under.\n /// @param newAssetProxy Address of new asset proxy to register, or 0x0 to unset assetProxyId.\n /// @param oldAssetProxy Existing asset proxy to overwrite, or 0x0 if assetProxyId is currently unused.\n function registerAssetProxy(\n bytes4 assetProxyId,\n address newAssetProxy,\n address oldAssetProxy\n )\n external\n onlyOwner\n {\n // Ensure the existing asset proxy is not unintentionally overwritten\n address currentAssetProxy = assetProxies[assetProxyId];\n require(\n oldAssetProxy == currentAssetProxy,\n \"ASSET_PROXY_MISMATCH\"\n );\n\n IAssetProxy assetProxy = IAssetProxy(newAssetProxy);\n\n // Ensure that the id of newAssetProxy matches the passed in assetProxyId, unless it is being reset to 0.\n if (newAssetProxy != address(0)) {\n bytes4 newAssetProxyId = assetProxy.getProxyId();\n require(\n newAssetProxyId == assetProxyId,\n \"ASSET_PROXY_ID_MISMATCH\"\n );\n }\n\n // Add asset proxy and log registration.\n assetProxies[assetProxyId] = assetProxy;\n emit AssetProxySet(\n assetProxyId,\n newAssetProxy,\n oldAssetProxy\n );\n }\n\n /// @dev Gets an asset proxy.\n /// @param assetProxyId Id of the asset proxy.\n /// @return The asset proxy registered to assetProxyId. Returns 0x0 if no proxy is registered.\n function getAssetProxy(bytes4 assetProxyId)\n external\n view\n returns (address)\n {\n return assetProxies[assetProxyId];\n }\n\n /// @dev Forwards arguments to assetProxy and calls `transferFrom`. Either succeeds or throws.\n /// @param assetData Byte array encoded for the asset.\n /// @param from Address to transfer token from.\n /// @param to Address to transfer token to.\n /// @param amount Amount of token to transfer.\n function dispatchTransferFrom(\n bytes memory assetData,\n address from,\n address to,\n uint256 amount\n )\n internal\n {\n // Do nothing if no amount should be transferred.\n if (amount > 0) {\n // Ensure assetData length is valid\n require(\n assetData.length > 3,\n \"LENGTH_GREATER_THAN_3_REQUIRED\"\n );\n \n // Lookup assetProxy\n bytes4 assetProxyId;\n assembly {\n assetProxyId := and(mload(\n add(assetData, 32)),\n 0xFFFFFFFF00000000000000000000000000000000000000000000000000000000\n )\n }\n IAssetProxy assetProxy = assetProxies[assetProxyId];\n\n // Ensure that assetProxy exists\n require(\n assetProxy != address(0),\n \"ASSET_PROXY_DOES_NOT_EXIST\"\n );\n \n // We construct calldata for the `assetProxy.transferFrom` ABI.\n // The layout of this calldata is in the table below.\n // \n // | Area | Offset | Length | Contents |\n // | -------- |--------|---------|-------------------------------------------- |\n // | Header | 0 | 4 | function selector |\n // | Params | | 4 * 32 | function parameters: |\n // | | 4 | | 1. offset to assetData (*) |\n // | | 36 | | 2. from |\n // | | 68 | | 3. to |\n // | | 100 | | 4. amount |\n // | Data | | | assetData: |\n // | | 132 | 32 | assetData Length |\n // | | 164 | ** | assetData Contents |\n\n bool success;\n assembly {\n /////// Setup State ///////\n // `cdStart` is the start of the calldata for `assetProxy.transferFrom` (equal to free memory ptr).\n let cdStart := mload(64)\n // `dataAreaLength` is the total number of words needed to store `assetData`\n // As-per the ABI spec, this value is padded up to the nearest multiple of 32,\n // and includes 32-bytes for length.\n let dataAreaLength := and(add(mload(assetData), 63), 0xFFFFFFFFFFFE0)\n // `cdEnd` is the end of the calldata for `assetProxy.transferFrom`.\n let cdEnd := add(cdStart, add(132, dataAreaLength))\n\n \n /////// Setup Header Area ///////\n // This area holds the 4-byte `transferFromSelector`.\n // bytes4(keccak256(\"transferFrom(bytes,address,address,uint256)\")) = 0xa85e59e4\n mstore(cdStart, 0xa85e59e400000000000000000000000000000000000000000000000000000000)\n \n /////// Setup Params Area ///////\n // Each parameter is padded to 32-bytes. The entire Params Area is 128 bytes.\n // Notes:\n // 1. The offset to `assetData` is the length of the Params Area (128 bytes).\n // 2. A 20-byte mask is applied to addresses to zero-out the unused bytes.\n mstore(add(cdStart, 4), 128)\n mstore(add(cdStart, 36), and(from, 0xffffffffffffffffffffffffffffffffffffffff))\n mstore(add(cdStart, 68), and(to, 0xffffffffffffffffffffffffffffffffffffffff))\n mstore(add(cdStart, 100), amount)\n \n /////// Setup Data Area ///////\n // This area holds `assetData`.\n let dataArea := add(cdStart, 132)\n for {} lt(dataArea, cdEnd) {} {\n mstore(dataArea, mload(assetData))\n dataArea := add(dataArea, 32)\n assetData := add(assetData, 32)\n }\n\n /////// Call `assetProxy.transferFrom` using the constructed calldata ///////\n success := call(\n gas, // forward all gas\n assetProxy, // call address of asset proxy\n 0, // don't send any ETH\n cdStart, // pointer to start of input\n sub(cdEnd, cdStart), // length of input \n cdStart, // write output over input\n 512 // reserve 512 bytes for output\n )\n if eq(success, 0) {\n revert(cdStart, returndatasize())\n }\n }\n }\n }\n}\n",
+ "current/protocol/Exchange/interfaces/IAssetProxyDispatcher.sol": "/*\n\n Copyright 2018 ZeroEx Intl.\n\n Licensed under the Apache License, Version 2.0 (the \"License\");\n you may not use this file except in compliance with the License.\n You may obtain a copy of the License at\n\n http://www.apache.org/licenses/LICENSE-2.0\n\n Unless required by applicable law or agreed to in writing, software\n distributed under the License is distributed on an \"AS IS\" BASIS,\n WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n See the License for the specific language governing permissions and\n limitations under the License.\n\n*/\n\npragma solidity ^0.4.24;\n\ncontract IAssetProxyDispatcher {\n\n /// @dev Registers an asset proxy to an asset proxy id.\n /// An id can only be assigned to a single proxy at a given time.\n /// @param assetProxyId Id to register`newAssetProxy` under.\n /// @param newAssetProxy Address of new asset proxy to register, or 0x0 to unset assetProxyId.\n /// @param oldAssetProxy Existing asset proxy to overwrite, or 0x0 if assetProxyId is currently unused.\n function registerAssetProxy(\n bytes4 assetProxyId,\n address newAssetProxy,\n address oldAssetProxy\n )\n external;\n\n /// @dev Gets an asset proxy.\n /// @param assetProxyId Id of the asset proxy.\n /// @return The asset proxy registered to assetProxyId. Returns 0x0 if no proxy is registered.\n function getAssetProxy(bytes4 assetProxyId)\n external\n view\n returns (address);\n}\n",
+ "current/protocol/Exchange/mixins/MAssetProxyDispatcher.sol": "/*\n\n Copyright 2018 ZeroEx Intl.\n\n Licensed under the Apache License, Version 2.0 (the \"License\");\n you may not use this file except in compliance with the License.\n You may obtain a copy of the License at\n\n http://www.apache.org/licenses/LICENSE-2.0\n\n Unless required by applicable law or agreed to in writing, software\n distributed under the License is distributed on an \"AS IS\" BASIS,\n WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n See the License for the specific language governing permissions and\n limitations under the License.\n\n*/\n\npragma solidity ^0.4.24;\npragma experimental ABIEncoderV2;\n\nimport \"../interfaces/IAssetProxyDispatcher.sol\";\n\ncontract MAssetProxyDispatcher is\n IAssetProxyDispatcher\n{\n\n // Logs registration of new asset proxy\n event AssetProxySet(\n bytes4 id, // Id of new registered AssetProxy.\n address newAssetProxy, // Address of new registered AssetProxy.\n address oldAssetProxy // Address of AssetProxy that was overwritten at given id (or null address).\n );\n\n /// @dev Forwards arguments to assetProxy and calls `transferFrom`. Either succeeds or throws.\n /// @param assetData Byte array encoded for the asset.\n /// @param from Address to transfer token from.\n /// @param to Address to transfer token to.\n /// @param amount Amount of token to transfer.\n function dispatchTransferFrom(\n bytes memory assetData,\n address from,\n address to,\n uint256 amount\n )\n internal;\n}\n",
+ "current/test/TestAssetProxyDispatcher/TestAssetProxyDispatcher.sol": "/*\n\n Copyright 2018 ZeroEx Intl.\n\n Licensed under the Apache License, Version 2.0 (the \"License\");\n you may not use this file except in compliance with the License.\n You may obtain a copy of the License at\n\n http://www.apache.org/licenses/LICENSE-2.0\n\n Unless required by applicable law or agreed to in writing, software\n distributed under the License is distributed on an \"AS IS\" BASIS,\n WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n See the License for the specific language governing permissions and\n limitations under the License.\n\n*/\n\npragma solidity ^0.4.24;\npragma experimental ABIEncoderV2;\n\nimport \"../../protocol/Exchange/MixinAssetProxyDispatcher.sol\";\n\ncontract TestAssetProxyDispatcher is MixinAssetProxyDispatcher {\n function publicDispatchTransferFrom(\n bytes memory assetData,\n address from,\n address to,\n uint256 amount)\n public\n {\n dispatchTransferFrom(assetData, from, to, amount);\n }\n}\n",
+ "current/utils/LibBytes/LibBytes.sol": "/*\n\n Copyright 2018 ZeroEx Intl.\n\n Licensed under the Apache License, Version 2.0 (the \"License\");\n you may not use this file except in compliance with the License.\n You may obtain a copy of the License at\n\n http://www.apache.org/licenses/LICENSE-2.0\n\n Unless required by applicable law or agreed to in writing, software\n distributed under the License is distributed on an \"AS IS\" BASIS,\n WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n See the License for the specific language governing permissions and\n limitations under the License.\n\n*/\n\npragma solidity ^0.4.24;\n\nlibrary LibBytes {\n\n using LibBytes for bytes;\n\n /// @dev Gets the memory address for a byte array.\n /// @param input Byte array to lookup.\n /// @return memoryAddress Memory address of byte array. This\n /// points to the header of the byte array which contains\n /// the length.\n function rawAddress(bytes memory input)\n internal\n pure\n returns (uint256 memoryAddress)\n {\n assembly {\n memoryAddress := input\n }\n return memoryAddress;\n }\n \n /// @dev Gets the memory address for the contents of a byte array.\n /// @param input Byte array to lookup.\n /// @return memoryAddress Memory address of the contents of the byte array.\n function contentAddress(bytes memory input)\n internal\n pure\n returns (uint256 memoryAddress)\n {\n assembly {\n memoryAddress := add(input, 32)\n }\n return memoryAddress;\n }\n\n /// @dev Copies `length` bytes from memory location `source` to `dest`.\n /// @param dest memory address to copy bytes to.\n /// @param source memory address to copy bytes from.\n /// @param length number of bytes to copy.\n function memCopy(\n uint256 dest,\n uint256 source,\n uint256 length\n )\n internal\n pure\n {\n if (length < 32) {\n // Handle a partial word by reading destination and masking\n // off the bits we are interested in.\n // This correctly handles overlap, zero lengths and source == dest\n assembly {\n let mask := sub(exp(256, sub(32, length)), 1)\n let s := and(mload(source), not(mask))\n let d := and(mload(dest), mask)\n mstore(dest, or(s, d))\n }\n } else {\n // Skip the O(length) loop when source == dest.\n if (source == dest) {\n return;\n }\n\n // For large copies we copy whole words at a time. The final\n // word is aligned to the end of the range (instead of after the\n // previous) to handle partial words. So a copy will look like this:\n //\n // ####\n // ####\n // ####\n // ####\n //\n // We handle overlap in the source and destination range by\n // changing the copying direction. This prevents us from\n // overwriting parts of source that we still need to copy.\n //\n // This correctly handles source == dest\n //\n if (source > dest) {\n assembly {\n // We subtract 32 from `sEnd` and `dEnd` because it\n // is easier to compare with in the loop, and these\n // are also the addresses we need for copying the\n // last bytes.\n length := sub(length, 32)\n let sEnd := add(source, length)\n let dEnd := add(dest, length)\n\n // Remember the last 32 bytes of source\n // This needs to be done here and not after the loop\n // because we may have overwritten the last bytes in\n // source already due to overlap.\n let last := mload(sEnd)\n\n // Copy whole words front to back\n // Note: the first check is always true,\n // this could have been a do-while loop.\n for {} lt(source, sEnd) {} {\n mstore(dest, mload(source))\n source := add(source, 32)\n dest := add(dest, 32)\n }\n \n // Write the last 32 bytes\n mstore(dEnd, last)\n }\n } else {\n assembly {\n // We subtract 32 from `sEnd` and `dEnd` because those\n // are the starting points when copying a word at the end.\n length := sub(length, 32)\n let sEnd := add(source, length)\n let dEnd := add(dest, length)\n\n // Remember the first 32 bytes of source\n // This needs to be done here and not after the loop\n // because we may have overwritten the first bytes in\n // source already due to overlap.\n let first := mload(source)\n\n // Copy whole words back to front\n // We use a signed comparisson here to allow dEnd to become\n // negative (happens when source and dest < 32). Valid\n // addresses in local memory will never be larger than\n // 2**255, so they can be safely re-interpreted as signed.\n // Note: the first check is always true,\n // this could have been a do-while loop.\n for {} slt(dest, dEnd) {} {\n mstore(dEnd, mload(sEnd))\n sEnd := sub(sEnd, 32)\n dEnd := sub(dEnd, 32)\n }\n \n // Write the first 32 bytes\n mstore(dest, first)\n }\n }\n }\n }\n \n /// @dev Returns a slices from a byte array.\n /// @param b The byte array to take a slice from.\n /// @param from The starting index for the slice (inclusive).\n /// @param to The final index for the slice (exclusive).\n /// @return result The slice containing bytes at indices [from, to)\n function slice(bytes memory b, uint256 from, uint256 to)\n internal\n pure\n returns (bytes memory result)\n {\n require(\n from <= to,\n \"FROM_LESS_THAN_TO_REQUIRED\"\n );\n require(\n to < b.length,\n \"TO_LESS_THAN_LENGTH_REQUIRED\"\n );\n \n // Create a new bytes structure and copy contents\n result = new bytes(to - from);\n memCopy(\n result.contentAddress(),\n b.contentAddress() + from,\n result.length);\n return result;\n }\n \n /// @dev Returns a slice from a byte array without preserving the input.\n /// @param b The byte array to take a slice from. Will be destroyed in the process.\n /// @param from The starting index for the slice (inclusive).\n /// @param to The final index for the slice (exclusive).\n /// @return result The slice containing bytes at indices [from, to)\n /// @dev When `from == 0`, the original array will match the slice. In other cases its state will be corrupted.\n function sliceDestructive(bytes memory b, uint256 from, uint256 to)\n internal\n pure\n returns (bytes memory result)\n {\n require(\n from <= to,\n \"FROM_LESS_THAN_TO_REQUIRED\"\n );\n require(\n to < b.length,\n \"TO_LESS_THAN_LENGTH_REQUIRED\"\n );\n \n // Create a new bytes structure around [from, to) in-place.\n assembly {\n result := add(b, from)\n mstore(result, sub(to, from))\n }\n return result;\n }\n\n /// @dev Pops the last byte off of a byte array by modifying its length.\n /// @param b Byte array that will be modified.\n /// @return The byte that was popped off.\n function popLastByte(bytes memory b)\n internal\n pure\n returns (bytes1 result)\n {\n require(\n b.length > 0,\n \"GREATER_THAN_ZERO_LENGTH_REQUIRED\"\n );\n\n // Store last byte.\n result = b[b.length - 1];\n\n assembly {\n // Decrement length of byte array.\n let newLen := sub(mload(b), 1)\n mstore(b, newLen)\n }\n return result;\n }\n\n /// @dev Pops the last 20 bytes off of a byte array by modifying its length.\n /// @param b Byte array that will be modified.\n /// @return The 20 byte address that was popped off.\n function popLast20Bytes(bytes memory b)\n internal\n pure\n returns (address result)\n {\n require(\n b.length >= 20,\n \"GREATER_OR_EQUAL_TO_20_LENGTH_REQUIRED\"\n );\n\n // Store last 20 bytes.\n result = readAddress(b, b.length - 20);\n\n assembly {\n // Subtract 20 from byte array length.\n let newLen := sub(mload(b), 20)\n mstore(b, newLen)\n }\n return result;\n }\n\n /// @dev Tests equality of two byte arrays.\n /// @param lhs First byte array to compare.\n /// @param rhs Second byte array to compare.\n /// @return True if arrays are the same. False otherwise.\n function equals(\n bytes memory lhs,\n bytes memory rhs\n )\n internal\n pure\n returns (bool equal)\n {\n // Keccak gas cost is 30 + numWords * 6. This is a cheap way to compare.\n // We early exit on unequal lengths, but keccak would also correctly\n // handle this.\n return lhs.length == rhs.length && keccak256(lhs) == keccak256(rhs);\n }\n\n /// @dev Reads an address from a position in a byte array.\n /// @param b Byte array containing an address.\n /// @param index Index in byte array of address.\n /// @return address from byte array.\n function readAddress(\n bytes memory b,\n uint256 index\n )\n internal\n pure\n returns (address result)\n {\n require(\n b.length >= index + 20, // 20 is length of address\n \"GREATER_OR_EQUAL_TO_20_LENGTH_REQUIRED\"\n );\n\n // Add offset to index:\n // 1. Arrays are prefixed by 32-byte length parameter (add 32 to index)\n // 2. Account for size difference between address length and 32-byte storage word (subtract 12 from index)\n index += 20;\n\n // Read address from array memory\n assembly {\n // 1. Add index to address of bytes array\n // 2. Load 32-byte word from memory\n // 3. Apply 20-byte mask to obtain address\n result := and(mload(add(b, index)), 0xffffffffffffffffffffffffffffffffffffffff)\n }\n return result;\n }\n\n /// @dev Writes an address into a specific position in a byte array.\n /// @param b Byte array to insert address into.\n /// @param index Index in byte array of address.\n /// @param input Address to put into byte array.\n function writeAddress(\n bytes memory b,\n uint256 index,\n address input\n )\n internal\n pure\n {\n require(\n b.length >= index + 20, // 20 is length of address\n \"GREATER_OR_EQUAL_TO_20_LENGTH_REQUIRED\"\n );\n\n // Add offset to index:\n // 1. Arrays are prefixed by 32-byte length parameter (add 32 to index)\n // 2. Account for size difference between address length and 32-byte storage word (subtract 12 from index)\n index += 20;\n\n // Store address into array memory\n assembly {\n // The address occupies 20 bytes and mstore stores 32 bytes.\n // First fetch the 32-byte word where we'll be storing the address, then\n // apply a mask so we have only the bytes in the word that the address will not occupy.\n // Then combine these bytes with the address and store the 32 bytes back to memory with mstore.\n\n // 1. Add index to address of bytes array\n // 2. Load 32-byte word from memory\n // 3. Apply 12-byte mask to obtain extra bytes occupying word of memory where we'll store the address\n let neighbors := and(mload(add(b, index)), 0xffffffffffffffffffffffff0000000000000000000000000000000000000000)\n \n // Make sure input address is clean.\n // (Solidity does not guarantee this)\n input := and(input, 0xffffffffffffffffffffffffffffffffffffffff)\n\n // Store the neighbors and address into memory\n mstore(add(b, index), xor(input, neighbors))\n }\n }\n\n /// @dev Reads a bytes32 value from a position in a byte array.\n /// @param b Byte array containing a bytes32 value.\n /// @param index Index in byte array of bytes32 value.\n /// @return bytes32 value from byte array.\n function readBytes32(\n bytes memory b,\n uint256 index\n )\n internal\n pure\n returns (bytes32 result)\n {\n require(\n b.length >= index + 32,\n \"GREATER_OR_EQUAL_TO_32_LENGTH_REQUIRED\"\n );\n\n // Arrays are prefixed by a 256 bit length parameter\n index += 32;\n\n // Read the bytes32 from array memory\n assembly {\n result := mload(add(b, index))\n }\n return result;\n }\n\n /// @dev Writes a bytes32 into a specific position in a byte array.\n /// @param b Byte array to insert <input> into.\n /// @param index Index in byte array of <input>.\n /// @param input bytes32 to put into byte array.\n function writeBytes32(\n bytes memory b,\n uint256 index,\n bytes32 input\n )\n internal\n pure\n {\n require(\n b.length >= index + 32,\n \"GREATER_OR_EQUAL_TO_32_LENGTH_REQUIRED\"\n );\n\n // Arrays are prefixed by a 256 bit length parameter\n index += 32;\n\n // Read the bytes32 from array memory\n assembly {\n mstore(add(b, index), input)\n }\n }\n\n /// @dev Reads a uint256 value from a position in a byte array.\n /// @param b Byte array containing a uint256 value.\n /// @param index Index in byte array of uint256 value.\n /// @return uint256 value from byte array.\n function readUint256(\n bytes memory b,\n uint256 index\n )\n internal\n pure\n returns (uint256 result)\n {\n return uint256(readBytes32(b, index));\n }\n\n /// @dev Writes a uint256 into a specific position in a byte array.\n /// @param b Byte array to insert <input> into.\n /// @param index Index in byte array of <input>.\n /// @param input uint256 to put into byte array.\n function writeUint256(\n bytes memory b,\n uint256 index,\n uint256 input\n )\n internal\n pure\n {\n writeBytes32(b, index, bytes32(input));\n }\n\n /// @dev Reads an unpadded bytes4 value from a position in a byte array.\n /// @param b Byte array containing a bytes4 value.\n /// @param index Index in byte array of bytes4 value.\n /// @return bytes4 value from byte array.\n function readBytes4(\n bytes memory b,\n uint256 index)\n internal\n pure\n returns (bytes4 result)\n {\n require(\n b.length >= index + 4,\n \"GREATER_OR_EQUAL_TO_4_LENGTH_REQUIRED\"\n );\n assembly {\n result := mload(add(b, 32))\n // Solidity does not require us to clean the trailing bytes.\n // We do it anyway\n result := and(result, 0xFFFFFFFF00000000000000000000000000000000000000000000000000000000)\n }\n return result;\n }\n\n /// @dev Reads nested bytes from a specific position.\n /// @dev NOTE: the returned value overlaps with the input value.\n /// Both should be treated as immutable.\n /// @param b Byte array containing nested bytes.\n /// @param index Index of nested bytes.\n /// @return result Nested bytes.\n function readBytesWithLength(\n bytes memory b,\n uint256 index\n )\n internal\n pure\n returns (bytes memory result)\n {\n // Read length of nested bytes\n uint256 nestedBytesLength = readUint256(b, index);\n index += 32;\n\n // Assert length of <b> is valid, given\n // length of nested bytes\n require(\n b.length >= index + nestedBytesLength,\n \"GREATER_OR_EQUAL_TO_NESTED_BYTES_LENGTH_REQUIRED\"\n );\n \n // Return a pointer to the byte array as it exists inside `b`\n assembly {\n result := add(b, index)\n }\n return result;\n }\n\n /// @dev Inserts bytes at a specific position in a byte array.\n /// @param b Byte array to insert <input> into.\n /// @param index Index in byte array of <input>.\n /// @param input bytes to insert.\n function writeBytesWithLength(\n bytes memory b,\n uint256 index,\n bytes memory input\n )\n internal\n pure\n {\n // Assert length of <b> is valid, given\n // length of input\n require(\n b.length >= index + 32 /* 32 bytes to store length */ + input.length,\n \"GREATER_OR_EQUAL_TO_NESTED_BYTES_LENGTH_REQUIRED\"\n );\n\n // Copy <input> into <b>\n memCopy(\n b.contentAddress() + index,\n input.rawAddress(), // includes length of <input>\n input.length + 32 // +32 bytes to store <input> length\n );\n }\n\n /// @dev Performs a deep copy of a byte array onto another byte array of greater than or equal length.\n /// @param dest Byte array that will be overwritten with source bytes.\n /// @param source Byte array to copy onto dest bytes.\n function deepCopyBytes(\n bytes memory dest,\n bytes memory source\n )\n internal\n pure\n {\n uint256 sourceLen = source.length;\n // Dest length must be >= source length, or some bytes would not be copied.\n require(\n dest.length >= sourceLen,\n \"GREATER_OR_EQUAL_TO_SOURCE_BYTES_LENGTH_REQUIRED\"\n );\n memCopy(\n dest.contentAddress(),\n source.contentAddress(),\n sourceLen\n );\n }\n}\n",
"current/utils/Ownable/IOwnable.sol": "pragma solidity ^0.4.24;\npragma experimental ABIEncoderV2;\n\n/*\n * Ownable\n *\n * Base contract with an owner.\n * Provides onlyOwner modifier, which prevents function from running if it is called by anyone other than the owner.\n */\n\ncontract IOwnable {\n function transferOwnership(address newOwner)\n public;\n}\n",
- "current/utils/Ownable/Ownable.sol": "pragma solidity ^0.4.24;\npragma experimental ABIEncoderV2;\n\n/*\n * Ownable\n *\n * Base contract with an owner.\n * Provides onlyOwner modifier, which prevents function from running if it is called by anyone other than the owner.\n */\n\nimport \"./IOwnable.sol\";\n\ncontract Ownable is IOwnable {\n address public owner;\n\n constructor ()\n public\n {\n owner = msg.sender;\n }\n\n modifier onlyOwner() {\n require(\n msg.sender == owner,\n \"Only contract owner is allowed to call this method.\"\n );\n _;\n }\n\n function transferOwnership(address newOwner)\n public\n onlyOwner\n {\n if (newOwner != address(0)) {\n owner = newOwner;\n }\n }\n}\n"
+ "current/utils/Ownable/Ownable.sol": "pragma solidity ^0.4.24;\npragma experimental ABIEncoderV2;\n\n/*\n * Ownable\n *\n * Base contract with an owner.\n * Provides onlyOwner modifier, which prevents function from running if it is called by anyone other than the owner.\n */\n\nimport \"./IOwnable.sol\";\n\ncontract Ownable is IOwnable {\n address public owner;\n\n constructor ()\n public\n {\n owner = msg.sender;\n }\n\n modifier onlyOwner() {\n require(\n msg.sender == owner,\n \"ONLY_CONTRACT_OWNER\"\n );\n _;\n }\n\n function transferOwnership(address newOwner)\n public\n onlyOwner\n {\n if (newOwner != address(0)) {\n owner = newOwner;\n }\n }\n}\n"
},
- "sourceTreeHashHex": "0xa8df82d7e4a83a1014afd5fc7cdfe45dd61ce78723b00aa3981748f6612d0e01",
+ "sourceTreeHashHex": "0x330a1f9a7d36ec85389d72ba80c5854804abb468c98cc3971c8f6ba286101cd5",
"compiler": {
"name": "solc",
"version": "soljson-v0.4.24+commit.e67f0147.js",
"settings": {
"optimizer": {
"enabled": true,
- "runs": 200
+ "runs": 1000000
},
"outputSelection": {
"*": {