{
"schemaVersion": "2.0.0",
"contractName": "TestAssetProxyDispatcher",
"compilerOutput": {
"abi": [
{
"constant": true,
"inputs": [
{
"name": "",
"type": "uint8"
}
],
"name": "assetProxies",
"outputs": [
{
"name": "",
"type": "address"
}
],
"payable": false,
"stateMutability": "view",
"type": "function"
},
{
"constant": false,
"inputs": [
{
"name": "assetProxyId",
"type": "uint8"
},
{
"name": "newAssetProxy",
"type": "address"
},
{
"name": "oldAssetProxy",
"type": "address"
}
],
"name": "registerAssetProxy",
"outputs": [],
"payable": false,
"stateMutability": "nonpayable",
"type": "function"
},
{
"constant": false,
"inputs": [
{
"name": "assetMetadata",
"type": "bytes"
},
{
"name": "from",
"type": "address"
},
{
"name": "to",
"type": "address"
},
{
"name": "amount",
"type": "uint256"
}
],
"name": "publicDispatchTransferFrom",
"outputs": [],
"payable": false,
"stateMutability": "nonpayable",
"type": "function"
},
{
"constant": true,
"inputs": [],
"name": "owner",
"outputs": [
{
"name": "",
"type": "address"
}
],
"payable": false,
"stateMutability": "view",
"type": "function"
},
{
"constant": true,
"inputs": [
{
"name": "assetProxyId",
"type": "uint8"
}
],
"name": "getAssetProxy",
"outputs": [
{
"name": "",
"type": "address"
}
],
"payable": false,
"stateMutability": "view",
"type": "function"
},
{
"constant": false,
"inputs": [
{
"name": "newOwner",
"type": "address"
}
],
"name": "transferOwnership",
"outputs": [],
"payable": false,
"stateMutability": "nonpayable",
"type": "function"
},
{
"anonymous": false,
"inputs": [
{
"indexed": false,
"name": "id",
"type": "uint8"
},
{
"indexed": false,
"name": "newAssetProxy",
"type": "address"
},
{
"indexed": false,
"name": "oldAssetProxy",
"type": "address"
}
],
"name": "AssetProxySet",
"type": "event"
}
],
"evm": {
"bytecode": {
"linkReferences": {},
"object": "0x608060405260008054600160a060020a03191633179055610954806100256000396000f30060806040526004361061005e5763ffffffff60e060020a6000350416633807716481146100635780635c78d0c714610099578063889b6d8d146100bb5780638da5cb5b146100db57806392c1421e146100fd578063f2fde38b1461011d575b600080fd5b34801561006f57600080fd5b5061008361007e366004610682565b61013d565b6040516100909190610810565b60405180910390f35b3480156100a557600080fd5b506100b96100b43660046106be565b610158565b005b3480156100c757600080fd5b506100b96100d636600461060b565b6103a5565b3480156100e757600080fd5b506100f06103b7565b60405161009091906107b9565b34801561010957600080fd5b506100f0610118366004610682565b6103c6565b34801561012957600080fd5b506100b96101383660046105e5565b6103e4565b600160205260009081526040902054600160a060020a031681565b600080548190600160a060020a031633146101915760405160e560020a62461bcd0281526004016101889061082f565b60405180910390fd5b60ff8516600090815260016020908152604091829020548251606081018452603781527f4f6c642061737365742070726f787920646f6573206e6f74206d61746368206192810192909252604960020a7639b9b2ba10383937bc3c9030ba1033b4bb32b71034b217029282019290925290600160a060020a038581169116146102305760405160e560020a62461bcd028152600401610188919061081e565b50839150600160a060020a038216156103375781600160a060020a031663ae25532e6040518163ffffffff1660e060020a028152600401602060405180830381600087803b15801561028157600080fd5b505af1158015610295573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052506102b991908101906106a0565b90508460ff168160ff1614606060405190810160405280602b81526020017f4e65772061737365742070726f787920696420646f6573206e6f74206d617463815260200160a960020a6a341033b4bb32b71034b217028152509015156103355760405160e560020a62461bcd028152600401610188919061081e565b505b60ff8516600090815260016020526040908190208054600160a060020a031916600160a060020a038516179055517f27ef5f484e50f2daf7c2d82c60fe4ce409009541176eb64095beac369db1d260906103969087908790879061083f565b60405180910390a15050505050565b6103b18484848461043f565b50505050565b600054600160a060020a031681565b60ff16600090815260016020526040902054600160a060020a031690565b600054600160a060020a031633146104115760405160e560020a62461bcd0281526004016101889061082f565b600160a060020a0381161561043c5760008054600160a060020a031916600160a060020a0383161790555b50565b60008060008084111561055157865160408051808201909152601e81527f4c656e677468206d7573742062652067726561746572207468616e20302e00006020820152909350600084116104a95760405160e560020a62461bcd028152600401610188919061081e565b5086600184038151811015156104bb57fe5b6020910181015160f860020a9081900481020460ff81166000908152600190925260409182902054915160e260020a632a179679028152909350600160a060020a039091169150819063a85e59e49061051e908a908a908a908a906004016107cd565b600060405180830381600087803b15801561053857600080fd5b505af115801561054c573d6000803e3d6000fd5b505050505b50505050505050565b600061056682356108b8565b9392505050565b6000601f8201831361057e57600080fd5b813561059161058c8261088d565b610867565b915080825260208301602083018583830111156105ad57600080fd5b6105b88382846108d8565b50505092915050565b600061056682356108c4565b600061056682356108c7565b600061056682516108c7565b6000602082840312156105f757600080fd5b6000610603848461055a565b949350505050565b6000806000806080858703121561062157600080fd5b84356001604060020a0381111561063757600080fd5b6106438782880161056d565b94505060206106548782880161055a565b93505060406106658782880161055a565b9250506060610676878288016105c1565b91505092959194509250565b60006020828403121561069457600080fd5b600061060384846105cd565b6000602082840312156106b257600080fd5b600061060384846105d9565b6000806000606084860312156106d357600080fd5b60006106df86866105cd565b93505060206106f08682870161055a565b92505060406107018682870161055a565b9150509250925092565b610714816108b8565b82525050565b6000610725826108b4565b8084526107398160208601602086016108e4565b61074281610910565b9093016020019392505050565b610714816108cd565b603381527f4f6e6c7920636f6e7472616374206f776e657220697320616c6c6f77656420746020820152606960020a72379031b0b636103a3434b99036b2ba3437b21702604082015260600190565b610714816108c4565b610714816108c7565b602081016107c7828461070b565b92915050565b608080825281016107de818761071a565b90506107ed602083018661070b565b6107fa604083018561070b565b61080760608301846107a7565b95945050505050565b602081016107c7828461074f565b60208082528101610566818461071a565b602080825281016107c781610758565b6060810161084d82866107b0565b61085a602083018561070b565b610603604083018461070b565b6040518181016001604060020a038111828210171561088557600080fd5b604052919050565b60006001604060020a038211156108a357600080fd5b506020601f91909101601f19160190565b5190565b600160a060020a031690565b90565b60ff1690565b60006107c7826108b8565b82818337506000910152565b60005b838110156108ff5781810151838201526020016108e7565b838111156103b15750506000910152565b601f01601f1916905600a265627a7a72305820002e7a16aecf4bbd459cac22f8240c256d43cbbcdb00f256bcae77981a49f6a86c6578706572696d656e74616cf50037",
"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 0x954 DUP1 PUSH2 0x25 PUSH1 0x0 CODECOPY PUSH1 0x0 RETURN STOP PUSH1 0x80 PUSH1 0x40 MSTORE PUSH1 0x4 CALLDATASIZE LT PUSH2 0x5E JUMPI PUSH4 0xFFFFFFFF PUSH1 0xE0 PUSH1 0x2 EXP PUSH1 0x0 CALLDATALOAD DIV AND PUSH4 0x38077164 DUP2 EQ PUSH2 0x63 JUMPI DUP1 PUSH4 0x5C78D0C7 EQ PUSH2 0x99 JUMPI DUP1 PUSH4 0x889B6D8D EQ PUSH2 0xBB JUMPI DUP1 PUSH4 0x8DA5CB5B EQ PUSH2 0xDB JUMPI DUP1 PUSH4 0x92C1421E EQ PUSH2 0xFD JUMPI DUP1 PUSH4 0xF2FDE38B EQ PUSH2 0x11D JUMPI JUMPDEST PUSH1 0x0 DUP1 REVERT JUMPDEST CALLVALUE DUP1 ISZERO PUSH2 0x6F JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST POP PUSH2 0x83 PUSH2 0x7E CALLDATASIZE PUSH1 0x4 PUSH2 0x682 JUMP JUMPDEST PUSH2 0x13D JUMP JUMPDEST PUSH1 0x40 MLOAD PUSH2 0x90 SWAP2 SWAP1 PUSH2 0x810 JUMP JUMPDEST PUSH1 0x40 MLOAD DUP1 SWAP2 SUB SWAP1 RETURN JUMPDEST CALLVALUE DUP1 ISZERO PUSH2 0xA5 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST POP PUSH2 0xB9 PUSH2 0xB4 CALLDATASIZE PUSH1 0x4 PUSH2 0x6BE JUMP JUMPDEST PUSH2 0x158 JUMP JUMPDEST STOP JUMPDEST CALLVALUE DUP1 ISZERO PUSH2 0xC7 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST POP PUSH2 0xB9 PUSH2 0xD6 CALLDATASIZE PUSH1 0x4 PUSH2 0x60B JUMP JUMPDEST PUSH2 0x3A5 JUMP JUMPDEST CALLVALUE DUP1 ISZERO PUSH2 0xE7 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST POP PUSH2 0xF0 PUSH2 0x3B7 JUMP JUMPDEST PUSH1 0x40 MLOAD PUSH2 0x90 SWAP2 SWAP1 PUSH2 0x7B9 JUMP JUMPDEST CALLVALUE DUP1 ISZERO PUSH2 0x109 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST POP PUSH2 0xF0 PUSH2 0x118 CALLDATASIZE PUSH1 0x4 PUSH2 0x682 JUMP JUMPDEST PUSH2 0x3C6 JUMP JUMPDEST CALLVALUE DUP1 ISZERO PUSH2 0x129 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST POP PUSH2 0xB9 PUSH2 0x138 CALLDATASIZE PUSH1 0x4 PUSH2 0x5E5 JUMP JUMPDEST PUSH2 0x3E4 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 PUSH1 0x1 PUSH1 0xA0 PUSH1 0x2 EXP SUB AND CALLER EQ PUSH2 0x191 JUMPI PUSH1 0x40 MLOAD PUSH1 0xE5 PUSH1 0x2 EXP PUSH3 0x461BCD MUL DUP2 MSTORE PUSH1 0x4 ADD PUSH2 0x188 SWAP1 PUSH2 0x82F JUMP JUMPDEST PUSH1 0x40 MLOAD DUP1 SWAP2 SUB SWAP1 REVERT JUMPDEST PUSH1 0xFF DUP6 AND PUSH1 0x0 SWAP1 DUP2 MSTORE PUSH1 0x1 PUSH1 0x20 SWAP1 DUP2 MSTORE PUSH1 0x40 SWAP2 DUP3 SWAP1 KECCAK256 SLOAD DUP3 MLOAD PUSH1 0x60 DUP2 ADD DUP5 MSTORE PUSH1 0x37 DUP2 MSTORE PUSH32 0x4F6C642061737365742070726F787920646F6573206E6F74206D617463682061 SWAP3 DUP2 ADD SWAP3 SWAP1 SWAP3 MSTORE PUSH1 0x49 PUSH1 0x2 EXP PUSH23 0x39B9B2BA10383937BC3C9030BA1033B4BB32B71034B217 MUL SWAP3 DUP3 ADD SWAP3 SWAP1 SWAP3 MSTORE SWAP1 PUSH1 0x1 PUSH1 0xA0 PUSH1 0x2 EXP SUB DUP6 DUP2 AND SWAP2 AND EQ PUSH2 0x230 JUMPI PUSH1 0x40 MLOAD PUSH1 0xE5 PUSH1 0x2 EXP PUSH3 0x461BCD MUL DUP2 MSTORE PUSH1 0x4 ADD PUSH2 0x188 SWAP2 SWAP1 PUSH2 0x81E JUMP JUMPDEST POP DUP4 SWAP2 POP PUSH1 0x1 PUSH1 0xA0 PUSH1 0x2 EXP SUB DUP3 AND ISZERO PUSH2 0x337 JUMPI DUP2 PUSH1 0x1 PUSH1 0xA0 PUSH1 0x2 EXP SUB AND PUSH4 0xAE25532E PUSH1 0x40 MLOAD DUP2 PUSH4 0xFFFFFFFF AND PUSH1 0xE0 PUSH1 0x2 EXP MUL DUP2 MSTORE PUSH1 0x4 ADD PUSH1 0x20 PUSH1 0x40 MLOAD DUP1 DUP4 SUB DUP2 PUSH1 0x0 DUP8 DUP1 EXTCODESIZE ISZERO DUP1 ISZERO PUSH2 0x281 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST POP GAS CALL ISZERO DUP1 ISZERO PUSH2 0x295 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 0x2B9 SWAP2 SWAP1 DUP2 ADD SWAP1 PUSH2 0x6A0 JUMP JUMPDEST SWAP1 POP DUP5 PUSH1 0xFF AND DUP2 PUSH1 0xFF AND EQ PUSH1 0x60 PUSH1 0x40 MLOAD SWAP1 DUP2 ADD PUSH1 0x40 MSTORE DUP1 PUSH1 0x2B DUP2 MSTORE PUSH1 0x20 ADD PUSH32 0x4E65772061737365742070726F787920696420646F6573206E6F74206D617463 DUP2 MSTORE PUSH1 0x20 ADD PUSH1 0xA9 PUSH1 0x2 EXP PUSH11 0x341033B4BB32B71034B217 MUL DUP2 MSTORE POP SWAP1 ISZERO ISZERO PUSH2 0x335 JUMPI PUSH1 0x40 MLOAD PUSH1 0xE5 PUSH1 0x2 EXP PUSH3 0x461BCD MUL DUP2 MSTORE PUSH1 0x4 ADD PUSH2 0x188 SWAP2 SWAP1 PUSH2 0x81E JUMP JUMPDEST POP JUMPDEST PUSH1 0xFF DUP6 AND PUSH1 0x0 SWAP1 DUP2 MSTORE PUSH1 0x1 PUSH1 0x20 MSTORE PUSH1 0x40 SWAP1 DUP2 SWAP1 KECCAK256 DUP1 SLOAD PUSH1 0x1 PUSH1 0xA0 PUSH1 0x2 EXP SUB NOT AND PUSH1 0x1 PUSH1 0xA0 PUSH1 0x2 EXP SUB DUP6 AND OR SWAP1 SSTORE MLOAD PUSH32 0x27EF5F484E50F2DAF7C2D82C60FE4CE409009541176EB64095BEAC369DB1D260 SWAP1 PUSH2 0x396 SWAP1 DUP8 SWAP1 DUP8 SWAP1 DUP8 SWAP1 PUSH2 0x83F JUMP JUMPDEST PUSH1 0x40 MLOAD DUP1 SWAP2 SUB SWAP1 LOG1 POP POP POP POP POP JUMP JUMPDEST PUSH2 0x3B1 DUP5 DUP5 DUP5 DUP5 PUSH2 0x43F JUMP JUMPDEST 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 PUSH1 0x0 SLOAD PUSH1 0x1 PUSH1 0xA0 PUSH1 0x2 EXP SUB AND CALLER EQ PUSH2 0x411 JUMPI PUSH1 0x40 MLOAD PUSH1 0xE5 PUSH1 0x2 EXP PUSH3 0x461BCD MUL DUP2 MSTORE PUSH1 0x4 ADD PUSH2 0x188 SWAP1 PUSH2 0x82F JUMP JUMPDEST PUSH1 0x1 PUSH1 0xA0 PUSH1 0x2 EXP SUB DUP2 AND ISZERO PUSH2 0x43C JUMPI PUSH1 0x0 DUP1 SLOAD PUSH1 0x1 PUSH1 0xA0 PUSH1 0x2 EXP SUB NOT AND PUSH1 0x1 PUSH1 0xA0 PUSH1 0x2 EXP SUB DUP4 AND OR SWAP1 SSTORE JUMPDEST POP JUMP JUMPDEST PUSH1 0x0 DUP1 PUSH1 0x0 DUP1 DUP5 GT ISZERO PUSH2 0x551 JUMPI DUP7 MLOAD PUSH1 0x40 DUP1 MLOAD DUP1 DUP3 ADD SWAP1 SWAP2 MSTORE PUSH1 0x1E DUP2 MSTORE PUSH32 0x4C656E677468206D7573742062652067726561746572207468616E20302E0000 PUSH1 0x20 DUP3 ADD MSTORE SWAP1 SWAP4 POP PUSH1 0x0 DUP5 GT PUSH2 0x4A9 JUMPI PUSH1 0x40 MLOAD PUSH1 0xE5 PUSH1 0x2 EXP PUSH3 0x461BCD MUL DUP2 MSTORE PUSH1 0x4 ADD PUSH2 0x188 SWAP2 SWAP1 PUSH2 0x81E JUMP JUMPDEST POP DUP7 PUSH1 0x1 DUP5 SUB DUP2 MLOAD DUP2 LT ISZERO ISZERO PUSH2 0x4BB JUMPI INVALID JUMPDEST PUSH1 0x20 SWAP2 ADD DUP2 ADD MLOAD PUSH1 0xF8 PUSH1 0x2 EXP SWAP1 DUP2 SWAP1 DIV DUP2 MUL DIV PUSH1 0xFF DUP2 AND PUSH1 0x0 SWAP1 DUP2 MSTORE PUSH1 0x1 SWAP1 SWAP3 MSTORE PUSH1 0x40 SWAP2 DUP3 SWAP1 KECCAK256 SLOAD SWAP2 MLOAD PUSH1 0xE2 PUSH1 0x2 EXP PUSH4 0x2A179679 MUL DUP2 MSTORE SWAP1 SWAP4 POP PUSH1 0x1 PUSH1 0xA0 PUSH1 0x2 EXP SUB SWAP1 SWAP2 AND SWAP2 POP DUP2 SWAP1 PUSH4 0xA85E59E4 SWAP1 PUSH2 0x51E SWAP1 DUP11 SWAP1 DUP11 SWAP1 DUP11 SWAP1 DUP11 SWAP1 PUSH1 0x4 ADD PUSH2 0x7CD JUMP JUMPDEST PUSH1 0x0 PUSH1 0x40 MLOAD DUP1 DUP4 SUB DUP2 PUSH1 0x0 DUP8 DUP1 EXTCODESIZE ISZERO DUP1 ISZERO PUSH2 0x538 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST POP GAS CALL ISZERO DUP1 ISZERO PUSH2 0x54C JUMPI RETURNDATASIZE PUSH1 0x0 DUP1 RETURNDATACOPY RETURNDATASIZE PUSH1 0x0 REVERT JUMPDEST POP POP POP POP JUMPDEST POP POP POP POP POP POP POP JUMP JUMPDEST PUSH1 0x0 PUSH2 0x566 DUP3 CALLDATALOAD PUSH2 0x8B8 JUMP JUMPDEST SWAP4 SWAP3 POP POP POP JUMP JUMPDEST PUSH1 0x0 PUSH1 0x1F DUP3 ADD DUP4 SGT PUSH2 0x57E JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST DUP2 CALLDATALOAD PUSH2 0x591 PUSH2 0x58C DUP3 PUSH2 0x88D JUMP JUMPDEST PUSH2 0x867 JUMP JUMPDEST SWAP2 POP DUP1 DUP3 MSTORE PUSH1 0x20 DUP4 ADD PUSH1 0x20 DUP4 ADD DUP6 DUP4 DUP4 ADD GT ISZERO PUSH2 0x5AD JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST PUSH2 0x5B8 DUP4 DUP3 DUP5 PUSH2 0x8D8 JUMP JUMPDEST POP POP POP SWAP3 SWAP2 POP POP JUMP JUMPDEST PUSH1 0x0 PUSH2 0x566 DUP3 CALLDATALOAD PUSH2 0x8C4 JUMP JUMPDEST PUSH1 0x0 PUSH2 0x566 DUP3 CALLDATALOAD PUSH2 0x8C7 JUMP JUMPDEST PUSH1 0x0 PUSH2 0x566 DUP3 MLOAD PUSH2 0x8C7 JUMP JUMPDEST PUSH1 0x0 PUSH1 0x20 DUP3 DUP5 SUB SLT ISZERO PUSH2 0x5F7 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST PUSH1 0x0 PUSH2 0x603 DUP5 DUP5 PUSH2 0x55A JUMP JUMPDEST SWAP5 SWAP4 POP POP POP POP JUMP JUMPDEST PUSH1 0x0 DUP1 PUSH1 0x0 DUP1 PUSH1 0x80 DUP6 DUP8 SUB SLT ISZERO PUSH2 0x621 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST DUP5 CALLDATALOAD PUSH1 0x1 PUSH1 0x40 PUSH1 0x2 EXP SUB DUP2 GT ISZERO PUSH2 0x637 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST PUSH2 0x643 DUP8 DUP3 DUP9 ADD PUSH2 0x56D JUMP JUMPDEST SWAP5 POP POP PUSH1 0x20 PUSH2 0x654 DUP8 DUP3 DUP9 ADD PUSH2 0x55A JUMP JUMPDEST SWAP4 POP POP PUSH1 0x40 PUSH2 0x665 DUP8 DUP3 DUP9 ADD PUSH2 0x55A JUMP JUMPDEST SWAP3 POP POP PUSH1 0x60 PUSH2 0x676 DUP8 DUP3 DUP9 ADD PUSH2 0x5C1 JUMP JUMPDEST SWAP2 POP POP SWAP3 SWAP6 SWAP2 SWAP5 POP SWAP3 POP JUMP JUMPDEST PUSH1 0x0 PUSH1 0x20 DUP3 DUP5 SUB SLT ISZERO PUSH2 0x694 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST PUSH1 0x0 PUSH2 0x603 DUP5 DUP5 PUSH2 0x5CD JUMP JUMPDEST PUSH1 0x0 PUSH1 0x20 DUP3 DUP5 SUB SLT ISZERO PUSH2 0x6B2 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST PUSH1 0x0 PUSH2 0x603 DUP5 DUP5 PUSH2 0x5D9 JUMP JUMPDEST PUSH1 0x0 DUP1 PUSH1 0x0 PUSH1 0x60 DUP5 DUP7 SUB SLT ISZERO PUSH2 0x6D3 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST PUSH1 0x0 PUSH2 0x6DF DUP7 DUP7 PUSH2 0x5CD JUMP JUMPDEST SWAP4 POP POP PUSH1 0x20 PUSH2 0x6F0 DUP7 DUP3 DUP8 ADD PUSH2 0x55A JUMP JUMPDEST SWAP3 POP POP PUSH1 0x40 PUSH2 0x701 DUP7 DUP3 DUP8 ADD PUSH2 0x55A JUMP JUMPDEST SWAP2 POP POP SWAP3 POP SWAP3 POP SWAP3 JUMP JUMPDEST PUSH2 0x714 DUP2 PUSH2 0x8B8 JUMP JUMPDEST DUP3 MSTORE POP POP JUMP JUMPDEST PUSH1 0x0 PUSH2 0x725 DUP3 PUSH2 0x8B4 JUMP JUMPDEST DUP1 DUP5 MSTORE PUSH2 0x739 DUP2 PUSH1 0x20 DUP7 ADD PUSH1 0x20 DUP7 ADD PUSH2 0x8E4 JUMP JUMPDEST PUSH2 0x742 DUP2 PUSH2 0x910 JUMP JUMPDEST SWAP1 SWAP4 ADD PUSH1 0x20 ADD SWAP4 SWAP3 POP POP POP JUMP JUMPDEST PUSH2 0x714 DUP2 PUSH2 0x8CD JUMP JUMPDEST PUSH1 0x33 DUP2 MSTORE PUSH32 0x4F6E6C7920636F6E7472616374206F776E657220697320616C6C6F7765642074 PUSH1 0x20 DUP3 ADD MSTORE PUSH1 0x69 PUSH1 0x2 EXP PUSH19 0x379031B0B636103A3434B99036B2BA3437B217 MUL PUSH1 0x40 DUP3 ADD MSTORE PUSH1 0x60 ADD SWAP1 JUMP JUMPDEST PUSH2 0x714 DUP2 PUSH2 0x8C4 JUMP JUMPDEST PUSH2 0x714 DUP2 PUSH2 0x8C7 JUMP JUMPDEST PUSH1 0x20 DUP2 ADD PUSH2 0x7C7 DUP3 DUP5 PUSH2 0x70B JUMP JUMPDEST SWAP3 SWAP2 POP POP JUMP JUMPDEST PUSH1 0x80 DUP1 DUP3 MSTORE DUP2 ADD PUSH2 0x7DE DUP2 DUP8 PUSH2 0x71A JUMP JUMPDEST SWAP1 POP PUSH2 0x7ED PUSH1 0x20 DUP4 ADD DUP7 PUSH2 0x70B JUMP JUMPDEST PUSH2 0x7FA PUSH1 0x40 DUP4 ADD DUP6 PUSH2 0x70B JUMP JUMPDEST PUSH2 0x807 PUSH1 0x60 DUP4 ADD DUP5 PUSH2 0x7A7 JUMP JUMPDEST SWAP6 SWAP5 POP POP POP POP POP JUMP JUMPDEST PUSH1 0x20 DUP2 ADD PUSH2 0x7C7 DUP3 DUP5 PUSH2 0x74F JUMP JUMPDEST PUSH1 0x20 DUP1 DUP3 MSTORE DUP2 ADD PUSH2 0x566 DUP2 DUP5 PUSH2 0x71A JUMP JUMPDEST PUSH1 0x20 DUP1 DUP3 MSTORE DUP2 ADD PUSH2 0x7C7 DUP2 PUSH2 0x758 JUMP JUMPDEST PUSH1 0x60 DUP2 ADD PUSH2 0x84D DUP3 DUP7 PUSH2 0x7B0 JUMP JUMPDEST PUSH2 0x85A PUSH1 0x20 DUP4 ADD DUP6 PUSH2 0x70B JUMP JUMPDEST PUSH2 0x603 PUSH1 0x40 DUP4 ADD DUP5 PUSH2 0x70B JUMP JUMPDEST PUSH1 0x40 MLOAD DUP2 DUP2 ADD PUSH1 0x1 PUSH1 0x40 PUSH1 0x2 EXP SUB DUP2 GT DUP3 DUP3 LT OR ISZERO PUSH2 0x885 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST PUSH1 0x40 MSTORE SWAP2 SWAP1 POP JUMP JUMPDEST PUSH1 0x0 PUSH1 0x1 PUSH1 0x40 PUSH1 0x2 EXP SUB DUP3 GT ISZERO PUSH2 0x8A3 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 0x7C7 DUP3 PUSH2 0x8B8 JUMP JUMPDEST DUP3 DUP2 DUP4 CALLDATACOPY POP PUSH1 0x0 SWAP2 ADD MSTORE JUMP JUMPDEST PUSH1 0x0 JUMPDEST DUP4 DUP2 LT ISZERO PUSH2 0x8FF JUMPI DUP2 DUP2 ADD MLOAD DUP4 DUP3 ADD MSTORE PUSH1 0x20 ADD PUSH2 0x8E7 JUMP JUMPDEST DUP4 DUP2 GT ISZERO PUSH2 0x3B1 JUMPI POP POP PUSH1 0x0 SWAP2 ADD MSTORE JUMP JUMPDEST PUSH1 0x1F ADD PUSH1 0x1F NOT AND SWAP1 JUMP STOP LOG2 PUSH6 0x627A7A723058 KECCAK256 STOP 0x2e PUSH27 0x16AECF4BBD459CAC22F8240C256D43CBBCDB00F256BCAE77981A49 0xf6 0xa8 PUSH13 0x6578706572696D656E74616CF5 STOP CALLDATACOPY ",
"sourceMap": "705:299:6:-;;;363:5:8;:18;;-1:-1:-1;;;;;;363:18:8;371:10;363:18;;;705:299:6;;;;;;"
},
"deployedBytecode": {
"linkReferences": {},
"object": "0x60806040526004361061005e5763ffffffff60e060020a6000350416633807716481146100635780635c78d0c714610099578063889b6d8d146100bb5780638da5cb5b146100db57806392c1421e146100fd578063f2fde38b1461011d575b600080fd5b34801561006f57600080fd5b5061008361007e366004610682565b61013d565b6040516100909190610810565b60405180910390f35b3480156100a557600080fd5b506100b96100b43660046106be565b610158565b005b3480156100c757600080fd5b506100b96100d636600461060b565b6103a5565b3480156100e757600080fd5b506100f06103b7565b60405161009091906107b9565b34801561010957600080fd5b506100f0610118366004610682565b6103c6565b34801561012957600080fd5b506100b96101383660046105e5565b6103e4565b600160205260009081526040902054600160a060020a031681565b600080548190600160a060020a031633146101915760405160e560020a62461bcd0281526004016101889061082f565b60405180910390fd5b60ff8516600090815260016020908152604091829020548251606081018452603781527f4f6c642061737365742070726f787920646f6573206e6f74206d61746368206192810192909252604960020a7639b9b2ba10383937bc3c9030ba1033b4bb32b71034b217029282019290925290600160a060020a038581169116146102305760405160e560020a62461bcd028152600401610188919061081e565b50839150600160a060020a038216156103375781600160a060020a031663ae25532e6040518163ffffffff1660e060020a028152600401602060405180830381600087803b15801561028157600080fd5b505af1158015610295573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052506102b991908101906106a0565b90508460ff168160ff1614606060405190810160405280602b81526020017f4e65772061737365742070726f787920696420646f6573206e6f74206d617463815260200160a960020a6a341033b4bb32b71034b217028152509015156103355760405160e560020a62461bcd028152600401610188919061081e565b505b60ff8516600090815260016020526040908190208054600160a060020a031916600160a060020a038516179055517f27ef5f484e50f2daf7c2d82c60fe4ce409009541176eb64095beac369db1d260906103969087908790879061083f565b60405180910390a15050505050565b6103b18484848461043f565b50505050565b600054600160a060020a031681565b60ff16600090815260016020526040902054600160a060020a031690565b600054600160a060020a031633146104115760405160e560020a62461bcd0281526004016101889061082f565b600160a060020a0381161561043c5760008054600160a060020a031916600160a060020a0383161790555b50565b60008060008084111561055157865160408051808201909152601e81527f4c656e677468206d7573742062652067726561746572207468616e20302e00006020820152909350600084116104a95760405160e560020a62461bcd028152600401610188919061081e565b5086600184038151811015156104bb57fe5b6020910181015160f860020a9081900481020460ff81166000908152600190925260409182902054915160e260020a632a179679028152909350600160a060020a039091169150819063a85e59e49061051e908a908a908a908a906004016107cd565b600060405180830381600087803b15801561053857600080fd5b505af115801561054c573d6000803e3d6000fd5b505050505b50505050505050565b600061056682356108b8565b9392505050565b6000601f8201831361057e57600080fd5b813561059161058c8261088d565b610867565b915080825260208301602083018583830111156105ad57600080fd5b6105b88382846108d8565b50505092915050565b600061056682356108c4565b600061056682356108c7565b600061056682516108c7565b6000602082840312156105f757600080fd5b6000610603848461055a565b949350505050565b6000806000806080858703121561062157600080fd5b84356001604060020a0381111561063757600080fd5b6106438782880161056d565b94505060206106548782880161055a565b93505060406106658782880161055a565b9250506060610676878288016105c1565b91505092959194509250565b60006020828403121561069457600080fd5b600061060384846105cd565b6000602082840312156106b257600080fd5b600061060384846105d9565b6000806000606084860312156106d357600080fd5b60006106df86866105cd565b93505060206106f08682870161055a565b92505060406107018682870161055a565b9150509250925092565b610714816108b8565b82525050565b6000610725826108b4565b8084526107398160208601602086016108e4565b61074281610910565b9093016020019392505050565b610714816108cd565b603381527f4f6e6c7920636f6e7472616374206f776e657220697320616c6c6f77656420746020820152606960020a72379031b0b636103a3434b99036b2ba3437b21702604082015260600190565b610714816108c4565b610714816108c7565b602081016107c7828461070b565b92915050565b608080825281016107de818761071a565b90506107ed602083018661070b565b6107fa604083018561070b565b61080760608301846107a7565b95945050505050565b602081016107c7828461074f565b60208082528101610566818461071a565b602080825281016107c781610758565b6060810161084d82866107b0565b61085a602083018561070b565b610603604083018461070b565b6040518181016001604060020a038111828210171561088557600080fd5b604052919050565b60006001604060020a038211156108a357600080fd5b506020601f91909101601f19160190565b5190565b600160a060020a031690565b90565b60ff1690565b60006107c7826108b8565b82818337506000910152565b60005b838110156108ff5781810151838201526020016108e7565b838111156103b15750506000910152565b601f01601f1916905600a265627a7a72305820002e7a16aecf4bbd459cac22f8240c256d43cbbcdb00f256bcae77981a49f6a86c6578706572696d656e74616cf50037",
"opcodes": "PUSH1 0x80 PUSH1 0x40 MSTORE PUSH1 0x4 CALLDATASIZE LT PUSH2 0x5E JUMPI PUSH4 0xFFFFFFFF PUSH1 0xE0 PUSH1 0x2 EXP PUSH1 0x0 CALLDATALOAD DIV AND PUSH4 0x38077164 DUP2 EQ PUSH2 0x63 JUMPI DUP1 PUSH4 0x5C78D0C7 EQ PUSH2 0x99 JUMPI DUP1 PUSH4 0x889B6D8D EQ PUSH2 0xBB JUMPI DUP1 PUSH4 0x8DA5CB5B EQ PUSH2 0xDB JUMPI DUP1 PUSH4 0x92C1421E EQ PUSH2 0xFD JUMPI DUP1 PUSH4 0xF2FDE38B EQ PUSH2 0x11D JUMPI JUMPDEST PUSH1 0x0 DUP1 REVERT JUMPDEST CALLVALUE DUP1 ISZERO PUSH2 0x6F JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST POP PUSH2 0x83 PUSH2 0x7E CALLDATASIZE PUSH1 0x4 PUSH2 0x682 JUMP JUMPDEST PUSH2 0x13D JUMP JUMPDEST PUSH1 0x40 MLOAD PUSH2 0x90 SWAP2 SWAP1 PUSH2 0x810 JUMP JUMPDEST PUSH1 0x40 MLOAD DUP1 SWAP2 SUB SWAP1 RETURN JUMPDEST CALLVALUE DUP1 ISZERO PUSH2 0xA5 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST POP PUSH2 0xB9 PUSH2 0xB4 CALLDATASIZE PUSH1 0x4 PUSH2 0x6BE JUMP JUMPDEST PUSH2 0x158 JUMP JUMPDEST STOP JUMPDEST CALLVALUE DUP1 ISZERO PUSH2 0xC7 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST POP PUSH2 0xB9 PUSH2 0xD6 CALLDATASIZE PUSH1 0x4 PUSH2 0x60B JUMP JUMPDEST PUSH2 0x3A5 JUMP JUMPDEST CALLVALUE DUP1 ISZERO PUSH2 0xE7 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST POP PUSH2 0xF0 PUSH2 0x3B7 JUMP JUMPDEST PUSH1 0x40 MLOAD PUSH2 0x90 SWAP2 SWAP1 PUSH2 0x7B9 JUMP JUMPDEST CALLVALUE DUP1 ISZERO PUSH2 0x109 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST POP PUSH2 0xF0 PUSH2 0x118 CALLDATASIZE PUSH1 0x4 PUSH2 0x682 JUMP JUMPDEST PUSH2 0x3C6 JUMP JUMPDEST CALLVALUE DUP1 ISZERO PUSH2 0x129 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST POP PUSH2 0xB9 PUSH2 0x138 CALLDATASIZE PUSH1 0x4 PUSH2 0x5E5 JUMP JUMPDEST PUSH2 0x3E4 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 PUSH1 0x1 PUSH1 0xA0 PUSH1 0x2 EXP SUB AND CALLER EQ PUSH2 0x191 JUMPI PUSH1 0x40 MLOAD PUSH1 0xE5 PUSH1 0x2 EXP PUSH3 0x461BCD MUL DUP2 MSTORE PUSH1 0x4 ADD PUSH2 0x188 SWAP1 PUSH2 0x82F JUMP JUMPDEST PUSH1 0x40 MLOAD DUP1 SWAP2 SUB SWAP1 REVERT JUMPDEST PUSH1 0xFF DUP6 AND PUSH1 0x0 SWAP1 DUP2 MSTORE PUSH1 0x1 PUSH1 0x20 SWAP1 DUP2 MSTORE PUSH1 0x40 SWAP2 DUP3 SWAP1 KECCAK256 SLOAD DUP3 MLOAD PUSH1 0x60 DUP2 ADD DUP5 MSTORE PUSH1 0x37 DUP2 MSTORE PUSH32 0x4F6C642061737365742070726F787920646F6573206E6F74206D617463682061 SWAP3 DUP2 ADD SWAP3 SWAP1 SWAP3 MSTORE PUSH1 0x49 PUSH1 0x2 EXP PUSH23 0x39B9B2BA10383937BC3C9030BA1033B4BB32B71034B217 MUL SWAP3 DUP3 ADD SWAP3 SWAP1 SWAP3 MSTORE SWAP1 PUSH1 0x1 PUSH1 0xA0 PUSH1 0x2 EXP SUB DUP6 DUP2 AND SWAP2 AND EQ PUSH2 0x230 JUMPI PUSH1 0x40 MLOAD PUSH1 0xE5 PUSH1 0x2 EXP PUSH3 0x461BCD MUL DUP2 MSTORE PUSH1 0x4 ADD PUSH2 0x188 SWAP2 SWAP1 PUSH2 0x81E JUMP JUMPDEST POP DUP4 SWAP2 POP PUSH1 0x1 PUSH1 0xA0 PUSH1 0x2 EXP SUB DUP3 AND ISZERO PUSH2 0x337 JUMPI DUP2 PUSH1 0x1 PUSH1 0xA0 PUSH1 0x2 EXP SUB AND PUSH4 0xAE25532E PUSH1 0x40 MLOAD DUP2 PUSH4 0xFFFFFFFF AND PUSH1 0xE0 PUSH1 0x2 EXP MUL DUP2 MSTORE PUSH1 0x4 ADD PUSH1 0x20 PUSH1 0x40 MLOAD DUP1 DUP4 SUB DUP2 PUSH1 0x0 DUP8 DUP1 EXTCODESIZE ISZERO DUP1 ISZERO PUSH2 0x281 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST POP GAS CALL ISZERO DUP1 ISZERO PUSH2 0x295 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 0x2B9 SWAP2 SWAP1 DUP2 ADD SWAP1 PUSH2 0x6A0 JUMP JUMPDEST SWAP1 POP DUP5 PUSH1 0xFF AND DUP2 PUSH1 0xFF AND EQ PUSH1 0x60 PUSH1 0x40 MLOAD SWAP1 DUP2 ADD PUSH1 0x40 MSTORE DUP1 PUSH1 0x2B DUP2 MSTORE PUSH1 0x20 ADD PUSH32 0x4E65772061737365742070726F787920696420646F6573206E6F74206D617463 DUP2 MSTORE PUSH1 0x20 ADD PUSH1 0xA9 PUSH1 0x2 EXP PUSH11 0x341033B4BB32B71034B217 MUL DUP2 MSTORE POP SWAP1 ISZERO ISZERO PUSH2 0x335 JUMPI PUSH1 0x40 MLOAD PUSH1 0xE5 PUSH1 0x2 EXP PUSH3 0x461BCD MUL DUP2 MSTORE PUSH1 0x4 ADD PUSH2 0x188 SWAP2 SWAP1 PUSH2 0x81E JUMP JUMPDEST POP JUMPDEST PUSH1 0xFF DUP6 AND PUSH1 0x0 SWAP1 DUP2 MSTORE PUSH1 0x1 PUSH1 0x20 MSTORE PUSH1 0x40 SWAP1 DUP2 SWAP1 KECCAK256 DUP1 SLOAD PUSH1 0x1 PUSH1 0xA0 PUSH1 0x2 EXP SUB NOT AND PUSH1 0x1 PUSH1 0xA0 PUSH1 0x2 EXP SUB DUP6 AND OR SWAP1 SSTORE MLOAD PUSH32 0x27EF5F484E50F2DAF7C2D82C60FE4CE409009541176EB64095BEAC369DB1D260 SWAP1 PUSH2 0x396 SWAP1 DUP8 SWAP1 DUP8 SWAP1 DUP8 SWAP1 PUSH2 0x83F JUMP JUMPDEST PUSH1 0x40 MLOAD DUP1 SWAP2 SUB SWAP1 LOG1 POP POP POP POP POP JUMP JUMPDEST PUSH2 0x3B1 DUP5 DUP5 DUP5 DUP5 PUSH2 0x43F JUMP JUMPDEST 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 PUSH1 0x0 SLOAD PUSH1 0x1 PUSH1 0xA0 PUSH1 0x2 EXP SUB AND CALLER EQ PUSH2 0x411 JUMPI PUSH1 0x40 MLOAD PUSH1 0xE5 PUSH1 0x2 EXP PUSH3 0x461BCD MUL DUP2 MSTORE PUSH1 0x4 ADD PUSH2 0x188 SWAP1 PUSH2 0x82F JUMP JUMPDEST PUSH1 0x1 PUSH1 0xA0 PUSH1 0x2 EXP SUB DUP2 AND ISZERO PUSH2 0x43C JUMPI PUSH1 0x0 DUP1 SLOAD PUSH1 0x1 PUSH1 0xA0 PUSH1 0x2 EXP SUB NOT AND PUSH1 0x1 PUSH1 0xA0 PUSH1 0x2 EXP SUB DUP4 AND OR SWAP1 SSTORE JUMPDEST POP JUMP JUMPDEST PUSH1 0x0 DUP1 PUSH1 0x0 DUP1 DUP5 GT ISZERO PUSH2 0x551 JUMPI DUP7 MLOAD PUSH1 0x40 DUP1 MLOAD DUP1 DUP3 ADD SWAP1 SWAP2 MSTORE PUSH1 0x1E DUP2 MSTORE PUSH32 0x4C656E677468206D7573742062652067726561746572207468616E20302E0000 PUSH1 0x20 DUP3 ADD MSTORE SWAP1 SWAP4 POP PUSH1 0x0 DUP5 GT PUSH2 0x4A9 JUMPI PUSH1 0x40 MLOAD PUSH1 0xE5 PUSH1 0x2 EXP PUSH3 0x461BCD MUL DUP2 MSTORE PUSH1 0x4 ADD PUSH2 0x188 SWAP2 SWAP1 PUSH2 0x81E JUMP JUMPDEST POP DUP7 PUSH1 0x1 DUP5 SUB DUP2 MLOAD DUP2 LT ISZERO ISZERO PUSH2 0x4BB JUMPI INVALID JUMPDEST PUSH1 0x20 SWAP2 ADD DUP2 ADD MLOAD PUSH1 0xF8 PUSH1 0x2 EXP SWAP1 DUP2 SWAP1 DIV DUP2 MUL DIV PUSH1 0xFF DUP2 AND PUSH1 0x0 SWAP1 DUP2 MSTORE PUSH1 0x1 SWAP1 SWAP3 MSTORE PUSH1 0x40 SWAP2 DUP3 SWAP1 KECCAK256 SLOAD SWAP2 MLOAD PUSH1 0xE2 PUSH1 0x2 EXP PUSH4 0x2A179679 MUL DUP2 MSTORE SWAP1 SWAP4 POP PUSH1 0x1 PUSH1 0xA0 PUSH1 0x2 EXP SUB SWAP1 SWAP2 AND SWAP2 POP DUP2 SWAP1 PUSH4 0xA85E59E4 SWAP1 PUSH2 0x51E SWAP1 DUP11 SWAP1 DUP11 SWAP1 DUP11 SWAP1 DUP11 SWAP1 PUSH1 0x4 ADD PUSH2 0x7CD JUMP JUMPDEST PUSH1 0x0 PUSH1 0x40 MLOAD DUP1 DUP4 SUB DUP2 PUSH1 0x0 DUP8 DUP1 EXTCODESIZE ISZERO DUP1 ISZERO PUSH2 0x538 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST POP GAS CALL ISZERO DUP1 ISZERO PUSH2 0x54C JUMPI RETURNDATASIZE PUSH1 0x0 DUP1 RETURNDATACOPY RETURNDATASIZE PUSH1 0x0 REVERT JUMPDEST POP POP POP POP JUMPDEST POP POP POP POP POP POP POP JUMP JUMPDEST PUSH1 0x0 PUSH2 0x566 DUP3 CALLDATALOAD PUSH2 0x8B8 JUMP JUMPDEST SWAP4 SWAP3 POP POP POP JUMP JUMPDEST PUSH1 0x0 PUSH1 0x1F DUP3 ADD DUP4 SGT PUSH2 0x57E JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST DUP2 CALLDATALOAD PUSH2 0x591 PUSH2 0x58C DUP3 PUSH2 0x88D JUMP JUMPDEST PUSH2 0x867 JUMP JUMPDEST SWAP2 POP DUP1 DUP3 MSTORE PUSH1 0x20 DUP4 ADD PUSH1 0x20 DUP4 ADD DUP6 DUP4 DUP4 ADD GT ISZERO PUSH2 0x5AD JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST PUSH2 0x5B8 DUP4 DUP3 DUP5 PUSH2 0x8D8 JUMP JUMPDEST POP POP POP SWAP3 SWAP2 POP POP JUMP JUMPDEST PUSH1 0x0 PUSH2 0x566 DUP3 CALLDATALOAD PUSH2 0x8C4 JUMP JUMPDEST PUSH1 0x0 PUSH2 0x566 DUP3 CALLDATALOAD PUSH2 0x8C7 JUMP JUMPDEST PUSH1 0x0 PUSH2 0x566 DUP3 MLOAD PUSH2 0x8C7 JUMP JUMPDEST PUSH1 0x0 PUSH1 0x20 DUP3 DUP5 SUB SLT ISZERO PUSH2 0x5F7 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST PUSH1 0x0 PUSH2 0x603 DUP5 DUP5 PUSH2 0x55A JUMP JUMPDEST SWAP5 SWAP4 POP POP POP POP JUMP JUMPDEST PUSH1 0x0 DUP1 PUSH1 0x0 DUP1 PUSH1 0x80 DUP6 DUP8 SUB SLT ISZERO PUSH2 0x621 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST DUP5 CALLDATALOAD PUSH1 0x1 PUSH1 0x40 PUSH1 0x2 EXP SUB DUP2 GT ISZERO PUSH2 0x637 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST PUSH2 0x643 DUP8 DUP3 DUP9 ADD PUSH2 0x56D JUMP JUMPDEST SWAP5 POP POP PUSH1 0x20 PUSH2 0x654 DUP8 DUP3 DUP9 ADD PUSH2 0x55A JUMP JUMPDEST SWAP4 POP POP PUSH1 0x40 PUSH2 0x665 DUP8 DUP3 DUP9 ADD PUSH2 0x55A JUMP JUMPDEST SWAP3 POP POP PUSH1 0x60 PUSH2 0x676 DUP8 DUP3 DUP9 ADD PUSH2 0x5C1 JUMP JUMPDEST SWAP2 POP POP SWAP3 SWAP6 SWAP2 SWAP5 POP SWAP3 POP JUMP JUMPDEST PUSH1 0x0 PUSH1 0x20 DUP3 DUP5 SUB SLT ISZERO PUSH2 0x694 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST PUSH1 0x0 PUSH2 0x603 DUP5 DUP5 PUSH2 0x5CD JUMP JUMPDEST PUSH1 0x0 PUSH1 0x20 DUP3 DUP5 SUB SLT ISZERO PUSH2 0x6B2 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST PUSH1 0x0 PUSH2 0x603 DUP5 DUP5 PUSH2 0x5D9 JUMP JUMPDEST PUSH1 0x0 DUP1 PUSH1 0x0 PUSH1 0x60 DUP5 DUP7 SUB SLT ISZERO PUSH2 0x6D3 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST PUSH1 0x0 PUSH2 0x6DF DUP7 DUP7 PUSH2 0x5CD JUMP JUMPDEST SWAP4 POP POP PUSH1 0x20 PUSH2 0x6F0 DUP7 DUP3 DUP8 ADD PUSH2 0x55A JUMP JUMPDEST SWAP3 POP POP PUSH1 0x40 PUSH2 0x701 DUP7 DUP3 DUP8 ADD PUSH2 0x55A JUMP JUMPDEST SWAP2 POP POP SWAP3 POP SWAP3 POP SWAP3 JUMP JUMPDEST PUSH2 0x714 DUP2 PUSH2 0x8B8 JUMP JUMPDEST DUP3 MSTORE POP POP JUMP JUMPDEST PUSH1 0x0 PUSH2 0x725 DUP3 PUSH2 0x8B4 JUMP JUMPDEST DUP1 DUP5 MSTORE PUSH2 0x739 DUP2 PUSH1 0x20 DUP7 ADD PUSH1 0x20 DUP7 ADD PUSH2 0x8E4 JUMP JUMPDEST PUSH2 0x742 DUP2 PUSH2 0x910 JUMP JUMPDEST SWAP1 SWAP4 ADD PUSH1 0x20 ADD SWAP4 SWAP3 POP POP POP JUMP JUMPDEST PUSH2 0x714 DUP2 PUSH2 0x8CD JUMP JUMPDEST PUSH1 0x33 DUP2 MSTORE PUSH32 0x4F6E6C7920636F6E7472616374206F776E657220697320616C6C6F7765642074 PUSH1 0x20 DUP3 ADD MSTORE PUSH1 0x69 PUSH1 0x2 EXP PUSH19 0x379031B0B636103A3434B99036B2BA3437B217 MUL PUSH1 0x40 DUP3 ADD MSTORE PUSH1 0x60 ADD SWAP1 JUMP JUMPDEST PUSH2 0x714 DUP2 PUSH2 0x8C4 JUMP JUMPDEST PUSH2 0x714 DUP2 PUSH2 0x8C7 JUMP JUMPDEST PUSH1 0x20 DUP2 ADD PUSH2 0x7C7 DUP3 DUP5 PUSH2 0x70B JUMP JUMPDEST SWAP3 SWAP2 POP POP JUMP JUMPDEST PUSH1 0x80 DUP1 DUP3 MSTORE DUP2 ADD PUSH2 0x7DE DUP2 DUP8 PUSH2 0x71A JUMP JUMPDEST SWAP1 POP PUSH2 0x7ED PUSH1 0x20 DUP4 ADD DUP7 PUSH2 0x70B JUMP JUMPDEST PUSH2 0x7FA PUSH1 0x40 DUP4 ADD DUP6 PUSH2 0x70B JUMP JUMPDEST PUSH2 0x807 PUSH1 0x60 DUP4 ADD DUP5 PUSH2 0x7A7 JUMP JUMPDEST SWAP6 SWAP5 POP POP POP POP POP JUMP JUMPDEST PUSH1 0x20 DUP2 ADD PUSH2 0x7C7 DUP3 DUP5 PUSH2 0x74F JUMP JUMPDEST PUSH1 0x20 DUP1 DUP3 MSTORE DUP2 ADD PUSH2 0x566 DUP2 DUP5 PUSH2 0x71A JUMP JUMPDEST PUSH1 0x20 DUP1 DUP3 MSTORE DUP2 ADD PUSH2 0x7C7 DUP2 PUSH2 0x758 JUMP JUMPDEST PUSH1 0x60 DUP2 ADD PUSH2 0x84D DUP3 DUP7 PUSH2 0x7B0 JUMP JUMPDEST PUSH2 0x85A PUSH1 0x20 DUP4 ADD DUP6 PUSH2 0x70B JUMP JUMPDEST PUSH2 0x603 PUSH1 0x40 DUP4 ADD DUP5 PUSH2 0x70B JUMP JUMPDEST PUSH1 0x40 MLOAD DUP2 DUP2 ADD PUSH1 0x1 PUSH1 0x40 PUSH1 0x2 EXP SUB DUP2 GT DUP3 DUP3 LT OR ISZERO PUSH2 0x885 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST PUSH1 0x40 MSTORE SWAP2 SWAP1 POP JUMP JUMPDEST PUSH1 0x0 PUSH1 0x1 PUSH1 0x40 PUSH1 0x2 EXP SUB DUP3 GT ISZERO PUSH2 0x8A3 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 0x7C7 DUP3 PUSH2 0x8B8 JUMP JUMPDEST DUP3 DUP2 DUP4 CALLDATACOPY POP PUSH1 0x0 SWAP2 ADD MSTORE JUMP JUMPDEST PUSH1 0x0 JUMPDEST DUP4 DUP2 LT ISZERO PUSH2 0x8FF JUMPI DUP2 DUP2 ADD MLOAD DUP4 DUP3 ADD MSTORE PUSH1 0x20 ADD PUSH2 0x8E7 JUMP JUMPDEST DUP4 DUP2 GT ISZERO PUSH2 0x3B1 JUMPI POP POP PUSH1 0x0 SWAP2 ADD MSTORE JUMP JUMPDEST PUSH1 0x1F ADD PUSH1 0x1F NOT AND SWAP1 JUMP STOP LOG2 PUSH6 0x627A7A723058 KECCAK256 STOP 0x2e PUSH27 0x16AECF4BBD459CAC22F8240C256D43CBBCDB00F256BCAE77981A49 0xf6 0xa8 PUSH13 0x6578706572696D656E74616CF5 STOP CALLDATACOPY ",
"sourceMap": "705:299:6:-;;;;;;;;;-1:-1:-1;;;705:299:6;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;959:50:2;;8:9:-1;5:2;;;30:1;27;20:12;5:2;-1:-1;959:50:2;;;;;;;;;;;;;;;;;;;;;;;;;1423:967;;8:9:-1;5:2;;;30:1;27;20:12;5:2;-1:-1;1423:967:2;;;;;;;;;;;774:228:6;;8:9:-1;5:2;;;30:1;27;20:12;5:2;-1:-1;774:228:6;;;;;;;;;292:20:8;;8:9:-1;5:2;;;30:1;27;20:12;5:2;292:20:8;;;;;;;;;;;;2580:203:2;;8:9:-1;5:2;;;30:1;27;20:12;5:2;-1:-1;2580:203:2;;;;;;;;;566:167:8;;8:9:-1;5:2;;;30:1;27;20:12;5:2;-1:-1;566:167:8;;;;;;;;;959:50:2;;;;;;;;;;;;-1:-1:-1;;;;;959:50:2;;:::o;1423:967::-;1806:22;460:5:8;;1806:22:2;;-1:-1:-1;;;;;460:5:8;446:10;:19;425:117;;;;-1:-1:-1;;;;;425:117:8;;;;;;;;;;;;;;;;;1720:26:2;;;;;;;:12;:26;;;;;;;;;;1761:24;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;1761:24:2;;;;;;;;-1:-1:-1;;;;;1695:52:2;;;1720:26;;1695:52;1674:121;;;;-1:-1:-1;;;;;1674:121:2;;;;;;;;;;-1:-1:-1;1843:13:2;;-1:-1:-1;;;;;;1986:27:2;;;1982:231;;2053:10;-1:-1:-1;;;;;2053:21:2;;:23;;;;;-1:-1:-1;;;2053:23:2;;;;;;;;;;;;;;;;;8:9:-1;5:2;;;30:1;27;20:12;5:2;2053:23:2;;;;8:9:-1;5:2;;;45:16;42:1;39;24:38;77:16;74:1;67:27;5:2;2053: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;2053:23:2;;;;;;;;;2029:47;;2134:12;2115:31;;:15;:31;;;2164:24;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;2164:24:2;;;2090:112;;;;;;;-1:-1:-1;;;;;2090:112:2;;;;;;;;;;;1982:231;2272:26;;;;;;;:12;:26;;;;;;;:39;;-1:-1:-1;;;;;;2272:39:2;-1:-1:-1;;;;;2272:39:2;;;;;2326:57;;;;;2272:26;;2354:13;;2369;;2326:57;;;;;;;;;;1423:967;;;;;:::o;774:228:6:-;942:53;963:13;978:4;984:2;988:6;942:20;:53::i;:::-;774:228;;;;:::o;292:20:8:-;;;-1:-1:-1;;;;;292:20:8;;:::o;2580:203:2:-;2722:26;;2670:7;2722:26;;;:12;:26;;;;;;-1:-1:-1;;;;;2722:26:2;;2580:203::o;566:167:8:-;460:5;;-1:-1:-1;;;;;460:5:8;446:10;:19;425:117;;;;-1:-1:-1;;;;;425:117:8;;;;;;;;;-1:-1:-1;;;;;662:22:8;;;658:69;;700:5;:16;;-1:-1:-1;;;;;;700:16:8;-1:-1:-1;;;;;700:16:8;;;;;658:69;566:167;:::o;3119:711:2:-;3411:14;3566:18;3633:22;3359:1;3350:6;:10;3346:478;;;3428:20;;3515:23;;;;;;;;;;;;;;;;;3428:20;;-1:-1:-1;3496:1:2;3487:10;;3462:90;;;;-1:-1:-1;;;;;3462:90:2;;;;;;;;;;;3593:13;3616:1;3607:6;:10;3593:25;;;;;;;;;;;;;;;;-1:-1:-1;;;3593:25:2;;;;;;3587:32;3658:26;;;;;;;:12;:26;;;;;;;;;3757:56;;-1:-1:-1;;;;;3757:56:2;;3587:32;;-1:-1:-1;;;;;;3658:26:2;;;;-1:-1:-1;3658:26:2;;3757:23;;:56;;3781:13;;3796:4;;3802:2;;3806:6;;3757:56;;;;;;;;;;;;;;;;;8:9:-1;5:2;;;30:1;27;20:12;5:2;3757:56:2;;;;8:9:-1;5:2;;;45:16;42:1;39;24:38;77:16;74:1;67:27;5:2;3757:56:2;;;;3346:478;3119:711;;;;;;;:::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:721;;;;;1362:3;1350:9;1341:7;1337:23;1333:33;1330:2;;;1379:1;1376;1369:12;1330:2;1414:31;;-1:-1;;;;;1454:30;;1451:2;;;1497:1;1494;1487:12;1451:2;1517:62;1571:7;1562:6;1551:9;1547:22;1517:62;;;1507:72;;1393:192;1616:2;1634:53;1679:7;1670:6;1659:9;1655:22;1634:53;;;1624:63;;1595:98;1724:2;1742:53;1787:7;1778:6;1767:9;1763:22;1742:53;;;1732:63;;1703:98;1832:2;1850:53;1895:7;1886:6;1875:9;1871:22;1850:53;;;1840:63;;1811:98;1324:595;;;;;;;;1926:237;;2028:2;2016:9;2007:7;2003:23;1999:32;1996:2;;;2044:1;2041;2034:12;1996:2;2079:1;2096:51;2139:7;2119:9;2096:51;;2170:259;;2283:2;2271:9;2262:7;2258:23;2254:32;2251:2;;;2299:1;2296;2289:12;2251:2;2334:1;2351:62;2405:7;2385:9;2351:62;;2436:487;;;;2572:2;2560:9;2551:7;2547:23;2543:32;2540:2;;;2588:1;2585;2578:12;2540:2;2623:1;2640:51;2683:7;2663:9;2640:51;;;2630:61;;2602:95;2728:2;2746:53;2791:7;2782:6;2771:9;2767:22;2746:53;;;2736:63;;2707:98;2836:2;2854:53;2899:7;2890:6;2879:9;2875:22;2854:53;;;2844:63;;2815:98;2534:389;;;;;;2930:110;3003:31;3028:5;3003:31;;;2998:3;2991:44;2985:55;;;3047:297;;3147:38;3179:5;3147:38;;;3202:6;3197:3;3190:19;3214:63;3270:6;3263:4;3258:3;3254:14;3247:4;3240:5;3236:16;3214:63;;;3309:29;3331:6;3309:29;;;3289:50;;;3302:4;3289:50;;3127:217;-1:-1;;;3127:217;3351:154;3443:56;3493:5;3443:56;;3812:397;3967:2;3955:15;;4004:66;3999:2;3990:12;;3983:88;-1:-1;;;;;4100:2;4091:12;;4084:88;4200:2;4191:12;;3948:261;4217:110;4290:31;4315:5;4290:31;;4334:104;4403:29;4426:5;4403:29;;4445:193;4553:2;4538:18;;4567:61;4542:9;4601:6;4567:61;;;4524:114;;;;;4645:581;4855:3;4870:47;;;4840:19;;4931:66;4840:19;4983:6;4931:66;;;4923:74;;5008:62;5066:2;5055:9;5051:18;5042:6;5008:62;;;5081;5139:2;5128:9;5124:18;5115:6;5081:62;;;5154;5212:2;5201:9;5197:18;5188:6;5154:62;;;4826:400;;;;;;;;5233:231;5360:2;5345:18;;5374:80;5349:9;5427:6;5374:80;;5471:273;5595:2;5609:47;;;5580:18;;5670:64;5580:18;5720:6;5670:64;;5751:387;5932:2;5946:47;;;5917:18;;6007:121;5917:18;6007:121;;6145:387;6305:2;6290:18;;6319:57;6294:9;6349:6;6319:57;;;6387:62;6445:2;6434:9;6430:18;6421:6;6387:62;;;6460;6518:2;6507:9;6503:18;6494:6;6460:62;;6539:256;6601:2;6595:9;6627:17;;;-1:-1;;;;;6687:34;;6723:22;;;6684:62;6681:2;;;6759:1;6756;6749:12;6681:2;6775;6768:22;6579:216;;-1:-1;6579:216;6802:258;;-1:-1;;;;;6937:6;6934:30;6931:2;;;6977:1;6974;6967:12;6931:2;-1:-1;7050:4;7021;6998:17;;;;-1:-1;;6994:33;7040:15;;6868:192;7067:91;7141:12;;7125:33;7260:128;-1:-1;;;;;7329:54;;7312:76;7395:79;7464:5;7447:27;7481:88;7559:4;7548:16;;7531:38;7892:134;;7990:31;8015:5;7990:31;;8034:145;8115:6;8110:3;8105;8092:30;-1:-1;8171:1;8153:16;;8146:27;8085:94;8188:268;8253:1;8260:101;8274:6;8271:1;8268:13;8260:101;;;8341:11;;;8335:18;8322:11;;;8315:39;8296:2;8289:10;8260:101;;;8376:6;8373:1;8370:13;8367:2;;;-1:-1;;8441:1;8423:16;;8416:27;8237:219;8464:97;8552:2;8532:14;-1:-1;;8528:28;;8512:49"
}
}
},
"sources": {
"current/protocol/AssetProxy/interfaces/IAssetProxy.sol": {
"id": 0
},
"current/protocol/AssetProxy/interfaces/IAuthorizable.sol": {
"id": 1
},
"current/protocol/Exchange/MixinAssetProxyDispatcher.sol": {
"id": 2
},
"current/protocol/Exchange/interfaces/IAssetProxyDispatcher.sol": {
"id": 3
},
"current/protocol/Exchange/libs/LibExchangeErrors.sol": {
"id": 4
},
"current/protocol/Exchange/mixins/MAssetProxyDispatcher.sol": {
"id": 5
},
"current/test/TestAssetProxyDispatcher/TestAssetProxyDispatcher.sol": {
"id": 6
},
"current/utils/Ownable/IOwnable.sol": {
"id": 7
},
"current/utils/Ownable/Ownable.sol": {
"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 assetMetadata 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 assetMetadata,\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 assetMetadata 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 assetMetadata,\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/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 \"../AssetProxy/interfaces/IAssetProxy.sol\";\nimport \"./libs/LibExchangeErrors.sol\";\nimport \"./mixins/MAssetProxyDispatcher.sol\";\n\ncontract MixinAssetProxyDispatcher is\n LibExchangeErrors,\n Ownable,\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 require(\n oldAssetProxy == address(assetProxies[assetProxyId]),\n OLD_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 NEW_ASSET_PROXY_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 assetMetadata Byte array encoded for the respective asset proxy.\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 assetMetadata,\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\n // Lookup asset proxy\n uint256 length = assetMetadata.length;\n require(\n length > 0,\n GT_ZERO_LENGTH_REQUIRED\n );\n uint8 assetProxyId = uint8(assetMetadata[length - 1]);\n IAssetProxy assetProxy = assetProxies[assetProxyId];\n\n // transferFrom will either succeed or throw.\n assetProxy.transferFrom(assetMetadata, 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 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\n // Core revert reasons\n string constant GT_ZERO_AMOUNT_REQUIRED = \"Amount must be greater than 0.\";\n string constant SIGNATURE_VALIDATION_FAILED = \"Signature validation failed.\";\n string constant INVALID_SENDER = \"Invalid `msg.sender`.\";\n string constant INVALID_CONTEXT = \"Function called in an invalid context.\";\n string constant INVALID_NEW_MAKER_EPOCH = \"Specified salt must be greater than or equal to existing makerEpoch.\";\n\n // Order revert reasons\n string constant INVALID_ORDER_TAKER_ASSET_AMOUNT = \"Invalid order taker asset amount: expected a non-zero value.\";\n string constant INVALID_ORDER_MAKER_ASSET_AMOUNT = \"Invalid order maker asset amount: expected a non-zero value.\";\n\n // Transaction revert reasons\n string constant REENTRANCY_NOT_ALLOWED = \"`executeTransaction` is not allowed to call itself recursively.\";\n string constant DUPLICATE_TRANSACTION_HASH = \"Transaction has already been executed.\";\n string constant TRANSACTION_EXECUTION_FAILED = \"Transaction execution failed.\";\n\n // Wrapper revert reasons\n string constant COMPLETE_FILL_FAILED = \"Desired fill amount could not be completely filled.\";\n string constant ASSET_DATA_MISMATCH = \"Asset data must be the same for each order.\";\n\n // Asset proxy dispatcher revert reasons\n string constant GT_ZERO_LENGTH_REQUIRED = \"Length must be greater than 0.\";\n string constant OLD_ASSET_PROXY_MISMATCH = \"Old asset proxy does not match asset proxy at given id.\";\n string constant NEW_ASSET_PROXY_MISMATCH = \"New asset proxy id does not match given id.\";\n\n // Signature validator revert reasons\n string constant INVALID_SIGNATURE_LENGTH = \"Invalid signature length.\";\n string constant ILLEGAL_SIGNATURE_TYPE = \"Illegal signature type.\";\n string constant UNSUPPORTED_SIGNATURE_TYPE = \"Unsupported signature type.\";\n\n // Order matching revert reasons\n string constant ASSET_MISMATCH_MAKER_TAKER = \"Left order maker asset is different from right order taker asset.\";\n string constant ASSET_MISMATCH_TAKER_MAKER = \"Left order taker asset is different from right order maker asset.\";\n string constant NEGATIVE_SPREAD = \"Matched orders must have a positive spread.\";\n string constant MISCALCULATED_TRANSFER_AMOUNTS = \"A miscalculation occurred: the left maker would receive more than the right maker would spend.\";\n string constant ROUNDING_ERROR_TRANSFER_AMOUNTS = \"A rounding error occurred when calculating transfer amounts for matched orders.\";\n string constant FAILED_TO_CALCULATE_FILL_RESULTS_FOR_LEFT_ORDER = \"Failed to calculate fill results for left order.\";\n string constant FAILED_TO_CALCULATE_FILL_RESULTS_FOR_RIGHT_ORDER = \"Failed to calculate fill results for right order.\";\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 assetMetadata Byte array encoded for the respective asset proxy.\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 assetMetadata,\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 assetMetadata,\n address from,\n address to,\n uint256 amount)\n public\n {\n dispatchTransferFrom(assetMetadata, from, to, amount);\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"
},
"sourceTreeHashHex": "0xa2e645046697a241b3f8b054aa04d11222a04109a1fddd4645650c91c0e6a95f",
"compiler": {
"name": "solc",
"version": "soljson-v0.4.24+commit.e67f0147.js",
"settings": {
"optimizer": {
"enabled": true,
"runs": 0
},
"outputSelection": {
"*": {
"*": [
"abi",
"evm.bytecode.object",
"evm.bytecode.sourceMap",
"evm.deployedBytecode.object",
"evm.deployedBytecode.sourceMap"
]
}
}
}
},
"networks": {}
}