{ "contractName": "DoggyWalkie", "abi": [ { "constant": true, "inputs": [ { "name": "interfaceId", "type": "bytes4" } ], "name": "supportsInterface", "outputs": [ { "name": "", "type": "bool" } ], "payable": false, "stateMutability": "view", "type": "function" }, { "constant": true, "inputs": [], "name": "mintingFinished", "outputs": [ { "name": "", "type": "bool" } ], "payable": false, "stateMutability": "view", "type": "function" }, { "constant": true, "inputs": [], "name": "name", "outputs": [ { "name": "", "type": "string" } ], "payable": false, "stateMutability": "view", "type": "function" }, { "constant": true, "inputs": [ { "name": "tokenId", "type": "uint256" } ], "name": "getApproved", "outputs": [ { "name": "", "type": "address" } ], "payable": false, "stateMutability": "view", "type": "function" }, { "constant": false, "inputs": [ { "name": "to", "type": "address" }, { "name": "tokenId", "type": "uint256" } ], "name": "approve", "outputs": [], "payable": false, "stateMutability": "nonpayable", "type": "function" }, { "constant": true, "inputs": [], "name": "totalSupply", "outputs": [ { "name": "", "type": "uint256" } ], "payable": false, "stateMutability": "view", "type": "function" }, { "constant": false, "inputs": [ { "name": "from", "type": "address" }, { "name": "to", "type": "address" }, { "name": "tokenId", "type": "uint256" } ], "name": "transferFrom", "outputs": [], "payable": false, "stateMutability": "nonpayable", "type": "function" }, { "constant": true, "inputs": [ { "name": "owner", "type": "address" }, { "name": "index", "type": "uint256" } ], "name": "tokenOfOwnerByIndex", "outputs": [ { "name": "", "type": "uint256" } ], "payable": false, "stateMutability": "view", "type": "function" }, { "constant": false, "inputs": [ { "name": "to", "type": "address" }, { "name": "tokenId", "type": "uint256" } ], "name": "mint", "outputs": [ { "name": "", "type": "bool" } ], "payable": false, "stateMutability": "nonpayable", "type": "function" }, { "constant": false, "inputs": [ { "name": "from", "type": "address" }, { "name": "to", "type": "address" }, { "name": "tokenId", "type": "uint256" } ], "name": "safeTransferFrom", "outputs": [], "payable": false, "stateMutability": "nonpayable", "type": "function" }, { "constant": true, "inputs": [ { "name": "index", "type": "uint256" } ], "name": "tokenByIndex", "outputs": [ { "name": "", "type": "uint256" } ], "payable": false, "stateMutability": "view", "type": "function" }, { "constant": false, "inputs": [ { "name": "to", "type": "address" }, { "name": "tokenId", "type": "uint256" }, { "name": "tokenURI", "type": "string" } ], "name": "mintWithTokenURI", "outputs": [ { "name": "", "type": "bool" } ], "payable": false, "stateMutability": "nonpayable", "type": "function" }, { "constant": true, "inputs": [ { "name": "tokenId", "type": "uint256" } ], "name": "ownerOf", "outputs": [ { "name": "", "type": "address" } ], "payable": false, "stateMutability": "view", "type": "function" }, { "constant": true, "inputs": [ { "name": "owner", "type": "address" } ], "name": "balanceOf", "outputs": [ { "name": "", "type": "uint256" } ], "payable": false, "stateMutability": "view", "type": "function" }, { "constant": true, "inputs": [], "name": "symbol", "outputs": [ { "name": "", "type": "string" } ], "payable": false, "stateMutability": "view", "type": "function" }, { "constant": false, "inputs": [ { "name": "account", "type": "address" } ], "name": "addMinter", "outputs": [], "payable": false, "stateMutability": "nonpayable", "type": "function" }, { "constant": false, "inputs": [], "name": "renounceMinter", "outputs": [], "payable": false, "stateMutability": "nonpayable", "type": "function" }, { "constant": false, "inputs": [ { "name": "to", "type": "address" }, { "name": "approved", "type": "bool" } ], "name": "setApprovalForAll", "outputs": [], "payable": false, "stateMutability": "nonpayable", "type": "function" }, { "constant": true, "inputs": [ { "name": "account", "type": "address" } ], "name": "isMinter", "outputs": [ { "name": "", "type": "bool" } ], "payable": false, "stateMutability": "view", "type": "function" }, { "constant": false, "inputs": [ { "name": "from", "type": "address" }, { "name": "to", "type": "address" }, { "name": "tokenId", "type": "uint256" }, { "name": "_data", "type": "bytes" } ], "name": "safeTransferFrom", "outputs": [], "payable": false, "stateMutability": "nonpayable", "type": "function" }, { "constant": true, "inputs": [ { "name": "tokenId", "type": "uint256" } ], "name": "tokenURI", "outputs": [ { "name": "", "type": "string" } ], "payable": false, "stateMutability": "view", "type": "function" }, { "constant": true, "inputs": [ { "name": "owner", "type": "address" }, { "name": "operator", "type": "address" } ], "name": "isApprovedForAll", "outputs": [ { "name": "", "type": "bool" } ], "payable": false, "stateMutability": "view", "type": "function" }, { "inputs": [], "payable": false, "stateMutability": "nonpayable", "type": "constructor" }, { "anonymous": false, "inputs": [], "name": "MintingFinished", "type": "event" }, { "anonymous": false, "inputs": [ { "indexed": true, "name": "account", "type": "address" } ], "name": "MinterAdded", "type": "event" }, { "anonymous": false, "inputs": [ { "indexed": true, "name": "account", "type": "address" } ], "name": "MinterRemoved", "type": "event" }, { "anonymous": false, "inputs": [ { "indexed": true, "name": "from", "type": "address" }, { "indexed": true, "name": "to", "type": "address" }, { "indexed": true, "name": "tokenId", "type": "uint256" } ], "name": "Transfer", "type": "event" }, { "anonymous": false, "inputs": [ { "indexed": true, "name": "owner", "type": "address" }, { "indexed": true, "name": "approved", "type": "address" }, { "indexed": true, "name": "tokenId", "type": "uint256" } ], "name": "Approval", "type": "event" }, { "anonymous": false, "inputs": [ { "indexed": true, "name": "owner", "type": "address" }, { "indexed": true, "name": "operator", "type": "address" }, { "indexed": false, "name": "approved", "type": "bool" } ], "name": "ApprovalForAll", "type": "event" }, { "constant": false, "inputs": [], "name": "finishMinting", "outputs": [ { "name": "", "type": "bool" } ], "payable": false, "stateMutability": "nonpayable", "type": "function" }, { "constant": false, "inputs": [ { "name": "tokenId", "type": "uint256" } ], "name": "purchaseToken", "outputs": [ { "name": "", "type": "bool" } ], "payable": true, "stateMutability": "payable", "type": "function" }, { "constant": false, "inputs": [ { "name": "tokenId", "type": "uint256" }, { "name": "from", "type": "address" }, { "name": "price", "type": "uint256" } ], "name": "addToHold", "outputs": [], "payable": false, "stateMutability": "nonpayable", "type": "function" }, { "constant": false, "inputs": [ { "name": "tokenId", "type": "uint256" } ], "name": "confirmJob", "outputs": [], "payable": false, "stateMutability": "nonpayable", "type": "function" }, { "constant": false, "inputs": [ { "name": "tokenId", "type": "uint256" } ], "name": "_onHold", "outputs": [ { "name": "", "type": "bool" } ], "payable": false, "stateMutability": "nonpayable", "type": "function" } ], "bytecode": "0x60806040526000600d60006101000a81548160ff0219169083151502179055503480156200002c57600080fd5b506040805190810160405280600b81526020017f446f67677957616c6b69650000000000000000000000000000000000000000008152506040805190810160405280600581526020017f444f4747590000000000000000000000000000000000000000000000000000008152508181620000d86301ffc9a77c010000000000000000000000000000000000000000000000000000000002620001ef640100000000026401000000009004565b620001156380ac58cd7c010000000000000000000000000000000000000000000000000000000002620001ef640100000000026401000000009004565b6200015263780e9d637c010000000000000000000000000000000000000000000000000000000002620001ef640100000000026401000000009004565b81600990805190602001906200016a92919062000348565b5080600a90805190602001906200018392919062000348565b50620001c1635b5e139f7c010000000000000000000000000000000000000000000000000000000002620001ef640100000000026401000000009004565b50505050620001e933600c620002ad6401000000000262001d86179091906401000000009004565b620003f7565b63ffffffff7c010000000000000000000000000000000000000000000000000000000002817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916141515156200024157600080fd5b6001600080837bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19167bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916815260200190815260200160002060006101000a81548160ff02191690831515021790555050565b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1614151515620002ea57600080fd5b60018260000160008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055505050565b828054600181600116156101000203166002900490600052602060002090601f016020900481019282601f106200038b57805160ff1916838001178555620003bc565b82800160010185558215620003bc579182015b82811115620003bb5782518255916020019190600101906200039e565b5b509050620003cb9190620003cf565b5090565b620003f491905b80821115620003f0576000816000905550600101620003d6565b5090565b90565b6125f180620004076000396000f30060806040526004361061015f576000357c0100000000000000000000000000000000000000000000000000000000900463ffffffff16806301ffc9a71461016457806305d2035b146101c857806306fdde03146101f7578063081812fc14610287578063095ea7b3146102f457806318160ddd1461034157806323b872dd1461036c5780632943a60e146103d95780632f745c591461041e57806330c684fe1461047f57806340c10f19146104d657806342842e0e1461053b5780634f6ccce7146105a857806350bb4e7f146105e95780636352211e1461069457806370a08231146107015780637d64bcb41461075857806395d89b4114610787578063983b2d5614610817578063986502751461085a578063a22cb46514610871578063aa271e1a146108c0578063b88d4fde1461091b578063c2db2c42146109ce578063c87b56dd14610a06578063d548008114610aac578063e985e9c514610ad9575b600080fd5b34801561017057600080fd5b506101ae60048036038101908080357bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19169060200190929190505050610b54565b604051808215151515815260200191505060405180910390f35b3480156101d457600080fd5b506101dd610bbb565b604051808215151515815260200191505060405180910390f35b34801561020357600080fd5b5061020c610bd2565b6040518080602001828103825283818151815260200191508051906020019080838360005b8381101561024c578082015181840152602081019050610231565b50505050905090810190601f1680156102795780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b34801561029357600080fd5b506102b260048036038101908080359060200190929190505050610c74565b604051808273ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200191505060405180910390f35b34801561030057600080fd5b5061033f600480360381019080803573ffffffffffffffffffffffffffffffffffffffff16906020019092919080359060200190929190505050610cc5565b005b34801561034d57600080fd5b50610356610e0a565b6040518082815260200191505060405180910390f35b34801561037857600080fd5b506103d7600480360381019080803573ffffffffffffffffffffffffffffffffffffffff169060200190929190803573ffffffffffffffffffffffffffffffffffffffff16906020019092919080359060200190929190505050610e17565b005b3480156103e557600080fd5b5061040460048036038101908080359060200190929190505050610ee6565b604051808215151515815260200191505060405180910390f35b34801561042a57600080fd5b50610469600480360381019080803573ffffffffffffffffffffffffffffffffffffffff16906020019092919080359060200190929190505050610f58565b6040518082815260200191505060405180910390f35b34801561048b57600080fd5b506104d460048036038101908080359060200190929190803573ffffffffffffffffffffffffffffffffffffffff16906020019092919080359060200190929190505050610fcf565b005b3480156104e257600080fd5b50610521600480360381019080803573ffffffffffffffffffffffffffffffffffffffff1690602001909291908035906020019092919050505061103e565b604051808215151515815260200191505060405180910390f35b34801561054757600080fd5b506105a6600480360381019080803573ffffffffffffffffffffffffffffffffffffffff169060200190929190803573ffffffffffffffffffffffffffffffffffffffff16906020019092919080359060200190929190505050611070565b005b3480156105b457600080fd5b506105d360048036038101908080359060200190929190505050611091565b6040518082815260200191505060405180910390f35b3480156105f557600080fd5b5061067a600480360381019080803573ffffffffffffffffffffffffffffffffffffffff16906020019092919080359060200190929190803590602001908201803590602001908080601f01602080910402602001604051908101604052809392919081815260200183838082843782019150505050505091929192905050506110c9565b604051808215151515815260200191505060405180910390f35b3480156106a057600080fd5b506106bf60048036038101908080359060200190929190505050611107565b604051808273ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200191505060405180910390f35b34801561070d57600080fd5b50610742600480360381019080803573ffffffffffffffffffffffffffffffffffffffff169060200190929190505050611185565b6040518082815260200191505060405180910390f35b34801561076457600080fd5b5061076d611209565b604051808215151515815260200191505060405180910390f35b34801561079357600080fd5b5061079c611211565b6040518080602001828103825283818151815260200191508051906020019080838360005b838110156107dc5780820151818401526020810190506107c1565b50505050905090810190601f1680156108095780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b34801561082357600080fd5b50610858600480360381019080803573ffffffffffffffffffffffffffffffffffffffff1690602001909291905050506112b3565b005b34801561086657600080fd5b5061086f61130d565b005b34801561087d57600080fd5b506108be600480360381019080803573ffffffffffffffffffffffffffffffffffffffff169060200190929190803515159060200190929190505050611323565b005b3480156108cc57600080fd5b50610901600480360381019080803573ffffffffffffffffffffffffffffffffffffffff16906020019092919050505061145f565b604051808215151515815260200191505060405180910390f35b34801561092757600080fd5b506109cc600480360381019080803573ffffffffffffffffffffffffffffffffffffffff169060200190929190803573ffffffffffffffffffffffffffffffffffffffff16906020019092919080359060200190929190803590602001908201803590602001908080601f016020809104026020016040519081016040528093929190818152602001838380828437820191505050505050919291929050505061147c565b005b6109ec600480360381019080803590602001909291905050506114a4565b604051808215151515815260200191505060405180910390f35b348015610a1257600080fd5b50610a31600480360381019080803590602001909291905050506115bc565b6040518080602001828103825283818151815260200191508051906020019080838360005b83811015610a71578082015181840152602081019050610a56565b50505050905090810190601f168015610a9e5780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b348015610ab857600080fd5b50610ad760048036038101908080359060200190929190505050611685565b005b348015610ae557600080fd5b50610b3a600480360381019080803573ffffffffffffffffffffffffffffffffffffffff169060200190929190803573ffffffffffffffffffffffffffffffffffffffff1690602001909291905050506117be565b604051808215151515815260200191505060405180910390f35b6000806000837bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19167bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916815260200190815260200160002060009054906101000a900460ff169050919050565b6000600d60009054906101000a900460ff16905090565b606060098054600181600116156101000203166002900480601f016020809104026020016040519081016040528092919081815260200182805460018160011615610100020316600290048015610c6a5780601f10610c3f57610100808354040283529160200191610c6a565b820191906000526020600020905b815481529060010190602001808311610c4d57829003601f168201915b5050505050905090565b6000610c7f82611852565b1515610c8a57600080fd5b6002600083815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b6000610cd082611107565b90508073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1614151515610d0d57600080fd5b8073ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff161480610d4d5750610d4c81336117be565b5b1515610d5857600080fd5b826002600084815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550818373ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a4505050565b6000600780549050905090565b610e2133826118c4565b1515610e2c57600080fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614151515610e6857600080fd5b610e728382611959565b610e7c8382611a5c565b610e868282611c18565b808273ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4505050565b600080600e600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415915050919050565b6000610f6383611185565b82101515610f7057600080fd5b600560008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002082815481101515610fbc57fe5b9060005260206000200154905092915050565b80600f60008581526020019081526020016000208190555081600e600085815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550505050565b6000600d60009054906101000a900460ff1615151561105c57600080fd5b6110668383611cef565b6001905092915050565b61108c838383602060405190810160405280600081525061147c565b505050565b600061109b610e0a565b821015156110a857600080fd5b6007828154811015156110b757fe5b90600052602060002001549050919050565b6000600d60009054906101000a900460ff161515156110e757600080fd5b6110f1848461103e565b506110fc8383611d46565b600190509392505050565b6000806001600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415151561117c57600080fd5b80915050919050565b60008073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16141515156111c257600080fd5b600360008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050919050565b600080905090565b6060600a8054600181600116156101000203166002900480601f0160208091040260200160405190810160405280929190818152602001828054600181600116156101000203166002900480156112a95780601f1061127e576101008083540402835291602001916112a9565b820191906000526020600020905b81548152906001019060200180831161128c57829003601f168201915b5050505050905090565b6112c781600c611d8690919063ffffffff16565b8073ffffffffffffffffffffffffffffffffffffffff167f6ae172837ea30b801fbfcdd4108aa1d5bf8ff775444fd70256b44e6bf3dfc3f660405160405180910390a250565b61132133600c611e2090919063ffffffff16565b565b3373ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415151561135e57600080fd5b80600460003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c3183604051808215151515815260200191505060405180910390a35050565b600061147582600c611eba90919063ffffffff16565b9050919050565b611487848484610e17565b61149384848484611f4e565b151561149e57600080fd5b50505050565b60006114b96114b283611107565b3384610e17565b6114c282611852565b15156114cd57600080fd5b600015156114da83610ee6565b1515141515156114e957600080fd5b600073ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff161415151561152557600080fd5b61153761153183611107565b83611a5c565b6115413383611c18565b6115548261154e84611107565b34610fcf565b813373ffffffffffffffffffffffffffffffffffffffff1661157584611107565b73ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4919050565b60606115c782611852565b15156115d257600080fd5b600b60008381526020019081526020016000208054600181600116156101000203166002900480601f0160208091040260200160405190810160405280929190818152602001828054600181600116156101000203166002900480156116795780601f1061164e57610100808354040283529160200191611679565b820191906000526020600020905b81548152906001019060200180831161165c57829003601f168201915b50505050509050919050565b61168e81610ee6565b151561169957600080fd5b3373ffffffffffffffffffffffffffffffffffffffff166116b982611107565b73ffffffffffffffffffffffffffffffffffffffff161415156116db57600080fd5b600e600082815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166108fc600f6000848152602001908152602001600020549081150290604051600060405180830381858888f19350505050158015611767573d6000803e3d6000fd5b506000600e600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050565b6000600460008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b6000806001600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415915050919050565b6000806118d083611107565b90508073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff16148061193f57508373ffffffffffffffffffffffffffffffffffffffff1661192784610c74565b73ffffffffffffffffffffffffffffffffffffffff16145b80611950575061194f81856117be565b5b91505092915050565b8173ffffffffffffffffffffffffffffffffffffffff1661197982611107565b73ffffffffffffffffffffffffffffffffffffffff1614151561199b57600080fd5b600073ffffffffffffffffffffffffffffffffffffffff166002600083815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16141515611a585760006002600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055505b5050565b6000806000611a6b8585612170565b60066000858152602001908152602001600020549250611ad76001600560008873ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000208054905061229f90919063ffffffff16565b9150600560008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002082815481101515611b2557fe5b9060005260206000200154905080600560008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002084815481101515611b7f57fe5b9060005260206000200181905550600560008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020805480919060019003611bdf91906124f4565b50600060066000868152602001908152602001600020819055508260066000838152602001908152602001600020819055505050505050565b6000611c2483836122c0565b600560008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020805490509050600560008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020829080600181540180825580915050906001820390600052602060002001600090919290919091505550806006600084815260200190815260200160002081905550505050565b611cf9828261241a565b600780549050600860008381526020019081526020016000208190555060078190806001815401808255809150509060018203906000526020600020016000909192909190915055505050565b611d4f82611852565b1515611d5a57600080fd5b80600b60008481526020019081526020016000209080519060200190611d81929190612520565b505050565b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1614151515611dc257600080fd5b60018260000160008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055505050565b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1614151515611e5c57600080fd5b60008260000160008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055505050565b60008073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614151515611ef757600080fd5b8260000160008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b600080611f708573ffffffffffffffffffffffffffffffffffffffff166124c0565b1515611f7f5760019150612167565b8473ffffffffffffffffffffffffffffffffffffffff1663150b7a02338887876040518563ffffffff167c0100000000000000000000000000000000000000000000000000000000028152600401808573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020018473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200183815260200180602001828103825283818151815260200191508051906020019080838360005b83811015612074578082015181840152602081019050612059565b50505050905090810190601f1680156120a15780820380516001836020036101000a031916815260200191505b5095505050505050602060405180830381600087803b1580156120c357600080fd5b505af11580156120d7573d6000803e3d6000fd5b505050506040513d60208110156120ed57600080fd5b8101908080519060200190929190505050905063150b7a027c0100000000000000000000000000000000000000000000000000000000027bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19161491505b50949350505050565b8173ffffffffffffffffffffffffffffffffffffffff1661219082611107565b73ffffffffffffffffffffffffffffffffffffffff161415156121b257600080fd5b6122056001600360008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000205461229f90919063ffffffff16565b600360008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000208190555060006001600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055505050565b6000808383111515156122b157600080fd5b82840390508091505092915050565b600073ffffffffffffffffffffffffffffffffffffffff166001600083815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614151561232e57600080fd5b816001600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055506123d36001600360008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020546124d390919063ffffffff16565b600360008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020819055505050565b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415151561245657600080fd5b6124608282611c18565b808273ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a45050565b600080823b905060008111915050919050565b60008082840190508381101515156124ea57600080fd5b8091505092915050565b81548183558181111561251b5781836000526020600020918201910161251a91906125a0565b5b505050565b828054600181600116156101000203166002900490600052602060002090601f016020900481019282601f1061256157805160ff191683800117855561258f565b8280016001018555821561258f579182015b8281111561258e578251825591602001919060010190612573565b5b50905061259c91906125a0565b5090565b6125c291905b808211156125be5760008160009055506001016125a6565b5090565b905600a165627a7a7230582061d4d34341b48e774e32eca182136cbd9c8b8b890658eb982fee5d6d8199b3000029", "deployedBytecode": "0x60806040526004361061015f576000357c0100000000000000000000000000000000000000000000000000000000900463ffffffff16806301ffc9a71461016457806305d2035b146101c857806306fdde03146101f7578063081812fc14610287578063095ea7b3146102f457806318160ddd1461034157806323b872dd1461036c5780632943a60e146103d95780632f745c591461041e57806330c684fe1461047f57806340c10f19146104d657806342842e0e1461053b5780634f6ccce7146105a857806350bb4e7f146105e95780636352211e1461069457806370a08231146107015780637d64bcb41461075857806395d89b4114610787578063983b2d5614610817578063986502751461085a578063a22cb46514610871578063aa271e1a146108c0578063b88d4fde1461091b578063c2db2c42146109ce578063c87b56dd14610a06578063d548008114610aac578063e985e9c514610ad9575b600080fd5b34801561017057600080fd5b506101ae60048036038101908080357bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19169060200190929190505050610b54565b604051808215151515815260200191505060405180910390f35b3480156101d457600080fd5b506101dd610bbb565b604051808215151515815260200191505060405180910390f35b34801561020357600080fd5b5061020c610bd2565b6040518080602001828103825283818151815260200191508051906020019080838360005b8381101561024c578082015181840152602081019050610231565b50505050905090810190601f1680156102795780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b34801561029357600080fd5b506102b260048036038101908080359060200190929190505050610c74565b604051808273ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200191505060405180910390f35b34801561030057600080fd5b5061033f600480360381019080803573ffffffffffffffffffffffffffffffffffffffff16906020019092919080359060200190929190505050610cc5565b005b34801561034d57600080fd5b50610356610e0a565b6040518082815260200191505060405180910390f35b34801561037857600080fd5b506103d7600480360381019080803573ffffffffffffffffffffffffffffffffffffffff169060200190929190803573ffffffffffffffffffffffffffffffffffffffff16906020019092919080359060200190929190505050610e17565b005b3480156103e557600080fd5b5061040460048036038101908080359060200190929190505050610ee6565b604051808215151515815260200191505060405180910390f35b34801561042a57600080fd5b50610469600480360381019080803573ffffffffffffffffffffffffffffffffffffffff16906020019092919080359060200190929190505050610f58565b6040518082815260200191505060405180910390f35b34801561048b57600080fd5b506104d460048036038101908080359060200190929190803573ffffffffffffffffffffffffffffffffffffffff16906020019092919080359060200190929190505050610fcf565b005b3480156104e257600080fd5b50610521600480360381019080803573ffffffffffffffffffffffffffffffffffffffff1690602001909291908035906020019092919050505061103e565b604051808215151515815260200191505060405180910390f35b34801561054757600080fd5b506105a6600480360381019080803573ffffffffffffffffffffffffffffffffffffffff169060200190929190803573ffffffffffffffffffffffffffffffffffffffff16906020019092919080359060200190929190505050611070565b005b3480156105b457600080fd5b506105d360048036038101908080359060200190929190505050611091565b6040518082815260200191505060405180910390f35b3480156105f557600080fd5b5061067a600480360381019080803573ffffffffffffffffffffffffffffffffffffffff16906020019092919080359060200190929190803590602001908201803590602001908080601f01602080910402602001604051908101604052809392919081815260200183838082843782019150505050505091929192905050506110c9565b604051808215151515815260200191505060405180910390f35b3480156106a057600080fd5b506106bf60048036038101908080359060200190929190505050611107565b604051808273ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200191505060405180910390f35b34801561070d57600080fd5b50610742600480360381019080803573ffffffffffffffffffffffffffffffffffffffff169060200190929190505050611185565b6040518082815260200191505060405180910390f35b34801561076457600080fd5b5061076d611209565b604051808215151515815260200191505060405180910390f35b34801561079357600080fd5b5061079c611211565b6040518080602001828103825283818151815260200191508051906020019080838360005b838110156107dc5780820151818401526020810190506107c1565b50505050905090810190601f1680156108095780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b34801561082357600080fd5b50610858600480360381019080803573ffffffffffffffffffffffffffffffffffffffff1690602001909291905050506112b3565b005b34801561086657600080fd5b5061086f61130d565b005b34801561087d57600080fd5b506108be600480360381019080803573ffffffffffffffffffffffffffffffffffffffff169060200190929190803515159060200190929190505050611323565b005b3480156108cc57600080fd5b50610901600480360381019080803573ffffffffffffffffffffffffffffffffffffffff16906020019092919050505061145f565b604051808215151515815260200191505060405180910390f35b34801561092757600080fd5b506109cc600480360381019080803573ffffffffffffffffffffffffffffffffffffffff169060200190929190803573ffffffffffffffffffffffffffffffffffffffff16906020019092919080359060200190929190803590602001908201803590602001908080601f016020809104026020016040519081016040528093929190818152602001838380828437820191505050505050919291929050505061147c565b005b6109ec600480360381019080803590602001909291905050506114a4565b604051808215151515815260200191505060405180910390f35b348015610a1257600080fd5b50610a31600480360381019080803590602001909291905050506115bc565b6040518080602001828103825283818151815260200191508051906020019080838360005b83811015610a71578082015181840152602081019050610a56565b50505050905090810190601f168015610a9e5780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b348015610ab857600080fd5b50610ad760048036038101908080359060200190929190505050611685565b005b348015610ae557600080fd5b50610b3a600480360381019080803573ffffffffffffffffffffffffffffffffffffffff169060200190929190803573ffffffffffffffffffffffffffffffffffffffff1690602001909291905050506117be565b604051808215151515815260200191505060405180910390f35b6000806000837bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19167bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916815260200190815260200160002060009054906101000a900460ff169050919050565b6000600d60009054906101000a900460ff16905090565b606060098054600181600116156101000203166002900480601f016020809104026020016040519081016040528092919081815260200182805460018160011615610100020316600290048015610c6a5780601f10610c3f57610100808354040283529160200191610c6a565b820191906000526020600020905b815481529060010190602001808311610c4d57829003601f168201915b5050505050905090565b6000610c7f82611852565b1515610c8a57600080fd5b6002600083815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b6000610cd082611107565b90508073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1614151515610d0d57600080fd5b8073ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff161480610d4d5750610d4c81336117be565b5b1515610d5857600080fd5b826002600084815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550818373ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a4505050565b6000600780549050905090565b610e2133826118c4565b1515610e2c57600080fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614151515610e6857600080fd5b610e728382611959565b610e7c8382611a5c565b610e868282611c18565b808273ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4505050565b600080600e600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415915050919050565b6000610f6383611185565b82101515610f7057600080fd5b600560008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002082815481101515610fbc57fe5b9060005260206000200154905092915050565b80600f60008581526020019081526020016000208190555081600e600085815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550505050565b6000600d60009054906101000a900460ff1615151561105c57600080fd5b6110668383611cef565b6001905092915050565b61108c838383602060405190810160405280600081525061147c565b505050565b600061109b610e0a565b821015156110a857600080fd5b6007828154811015156110b757fe5b90600052602060002001549050919050565b6000600d60009054906101000a900460ff161515156110e757600080fd5b6110f1848461103e565b506110fc8383611d46565b600190509392505050565b6000806001600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415151561117c57600080fd5b80915050919050565b60008073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16141515156111c257600080fd5b600360008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050919050565b600080905090565b6060600a8054600181600116156101000203166002900480601f0160208091040260200160405190810160405280929190818152602001828054600181600116156101000203166002900480156112a95780601f1061127e576101008083540402835291602001916112a9565b820191906000526020600020905b81548152906001019060200180831161128c57829003601f168201915b5050505050905090565b6112c781600c611d8690919063ffffffff16565b8073ffffffffffffffffffffffffffffffffffffffff167f6ae172837ea30b801fbfcdd4108aa1d5bf8ff775444fd70256b44e6bf3dfc3f660405160405180910390a250565b61132133600c611e2090919063ffffffff16565b565b3373ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415151561135e57600080fd5b80600460003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c3183604051808215151515815260200191505060405180910390a35050565b600061147582600c611eba90919063ffffffff16565b9050919050565b611487848484610e17565b61149384848484611f4e565b151561149e57600080fd5b50505050565b60006114b96114b283611107565b3384610e17565b6114c282611852565b15156114cd57600080fd5b600015156114da83610ee6565b1515141515156114e957600080fd5b600073ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff161415151561152557600080fd5b61153761153183611107565b83611a5c565b6115413383611c18565b6115548261154e84611107565b34610fcf565b813373ffffffffffffffffffffffffffffffffffffffff1661157584611107565b73ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4919050565b60606115c782611852565b15156115d257600080fd5b600b60008381526020019081526020016000208054600181600116156101000203166002900480601f0160208091040260200160405190810160405280929190818152602001828054600181600116156101000203166002900480156116795780601f1061164e57610100808354040283529160200191611679565b820191906000526020600020905b81548152906001019060200180831161165c57829003601f168201915b50505050509050919050565b61168e81610ee6565b151561169957600080fd5b3373ffffffffffffffffffffffffffffffffffffffff166116b982611107565b73ffffffffffffffffffffffffffffffffffffffff161415156116db57600080fd5b600e600082815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166108fc600f6000848152602001908152602001600020549081150290604051600060405180830381858888f19350505050158015611767573d6000803e3d6000fd5b506000600e600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050565b6000600460008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b6000806001600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415915050919050565b6000806118d083611107565b90508073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff16148061193f57508373ffffffffffffffffffffffffffffffffffffffff1661192784610c74565b73ffffffffffffffffffffffffffffffffffffffff16145b80611950575061194f81856117be565b5b91505092915050565b8173ffffffffffffffffffffffffffffffffffffffff1661197982611107565b73ffffffffffffffffffffffffffffffffffffffff1614151561199b57600080fd5b600073ffffffffffffffffffffffffffffffffffffffff166002600083815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16141515611a585760006002600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055505b5050565b6000806000611a6b8585612170565b60066000858152602001908152602001600020549250611ad76001600560008873ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000208054905061229f90919063ffffffff16565b9150600560008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002082815481101515611b2557fe5b9060005260206000200154905080600560008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002084815481101515611b7f57fe5b9060005260206000200181905550600560008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020805480919060019003611bdf91906124f4565b50600060066000868152602001908152602001600020819055508260066000838152602001908152602001600020819055505050505050565b6000611c2483836122c0565b600560008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020805490509050600560008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020829080600181540180825580915050906001820390600052602060002001600090919290919091505550806006600084815260200190815260200160002081905550505050565b611cf9828261241a565b600780549050600860008381526020019081526020016000208190555060078190806001815401808255809150509060018203906000526020600020016000909192909190915055505050565b611d4f82611852565b1515611d5a57600080fd5b80600b60008481526020019081526020016000209080519060200190611d81929190612520565b505050565b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1614151515611dc257600080fd5b60018260000160008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055505050565b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1614151515611e5c57600080fd5b60008260000160008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055505050565b60008073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614151515611ef757600080fd5b8260000160008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b600080611f708573ffffffffffffffffffffffffffffffffffffffff166124c0565b1515611f7f5760019150612167565b8473ffffffffffffffffffffffffffffffffffffffff1663150b7a02338887876040518563ffffffff167c0100000000000000000000000000000000000000000000000000000000028152600401808573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020018473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200183815260200180602001828103825283818151815260200191508051906020019080838360005b83811015612074578082015181840152602081019050612059565b50505050905090810190601f1680156120a15780820380516001836020036101000a031916815260200191505b5095505050505050602060405180830381600087803b1580156120c357600080fd5b505af11580156120d7573d6000803e3d6000fd5b505050506040513d60208110156120ed57600080fd5b8101908080519060200190929190505050905063150b7a027c0100000000000000000000000000000000000000000000000000000000027bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19161491505b50949350505050565b8173ffffffffffffffffffffffffffffffffffffffff1661219082611107565b73ffffffffffffffffffffffffffffffffffffffff161415156121b257600080fd5b6122056001600360008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000205461229f90919063ffffffff16565b600360008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000208190555060006001600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055505050565b6000808383111515156122b157600080fd5b82840390508091505092915050565b600073ffffffffffffffffffffffffffffffffffffffff166001600083815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614151561232e57600080fd5b816001600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055506123d36001600360008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020546124d390919063ffffffff16565b600360008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020819055505050565b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415151561245657600080fd5b6124608282611c18565b808273ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a45050565b600080823b905060008111915050919050565b60008082840190508381101515156124ea57600080fd5b8091505092915050565b81548183558181111561251b5781836000526020600020918201910161251a91906125a0565b5b505050565b828054600181600116156101000203166002900490600052602060002090601f016020900481019282601f1061256157805160ff191683800117855561258f565b8280016001018555821561258f579182015b8281111561258e578251825591602001919060010190612573565b5b50905061259c91906125a0565b5090565b6125c291905b808211156125be5760008160009055506001016125a6565b5090565b905600a165627a7a7230582061d4d34341b48e774e32eca182136cbd9c8b8b890658eb982fee5d6d8199b3000029", "sourceMap": "172:1651:0:-;;;275:5:10;243:37;;;;;;;;;;;;;;;;;;;;393:63:0;8:9:-1;5:2;;;30:1;27;20:12;5:2;393:63:0;474:87:8;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;529:4;535:6;612:39:3;236:10;631:19;;612:18;;;:39;;;:::i;:::-;1833::6;1137:10;1852:19;;1833:18;;;:39;;;:::i;:::-;1027:49:7;677:10;1046:29;;1027:18;;;:49;;;:::i;:::-;688:4:9;680:5;:12;;;;;;;;;;;;:::i;:::-;;708:6;698:7;:16;;;;;;;;;;;;:::i;:::-;;794:46;415:10;813:26;;794:18;;;:46;;;:::i;:::-;627:218;;474:87:8;;259:23:2;271:10;259:7;:11;;;;;;:23;;;;;:::i;:::-;172:1651:0;;950:154:3;1042:10;1027:25;;:11;:25;;;;;1019:34;;;;;;;;1095:4;1059:20;:33;1080:11;1059:33;;;;;;;;;;;;;;;;;;:40;;;;;;;;;;;;;;;;;;950:154;:::o;245:132:1:-;336:1;317:21;;:7;:21;;;;309:30;;;;;;;;368:4;345;:11;;:20;357:7;345:20;;;;;;;;;;;;;;;;:27;;;;;;;;;;;;;;;;;;245:132;;:::o;172:1651:0:-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;:::o;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;:::o;:::-;;;;;;;", "deployedSourceMap": "172:1651:0:-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;739:141:3;;8:9:-1;5:2;;;30:1;27;20:12;5:2;739:141:3;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;428:87:10;;8:9:-1;5:2;;;30:1;27;20:12;5:2;428:87:10;;;;;;;;;;;;;;;;;;;;;;;;;;;939:70:9;;8:9:-1;5:2;;;30:1;27;20:12;5:2;939:70:9;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;23:1:-1;8:100;33:3;30:1;27:10;8:100;;;99:1;94:3;90:11;84:18;80:1;75:3;71:11;64:39;52:2;49:1;45:10;40:15;;8:100;;;12:14;939:70:9;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;3527:141:6;;8:9:-1;5:2;;;30:1;27;20:12;5:2;3527:141:6;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;2986:270;;8:9:-1;5:2;;;30:1;27;20:12;5:2;2986:270:6;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;1780:88:7;;8:9:-1;5:2;;;30:1;27;20:12;5:2;1780:88:7;;;;;;;;;;;;;;;;;;;;;;;5032:326:6;;8:9:-1;5:2;;;30:1;27;20:12;5:2;5032:326:6;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;1684:135:0;;8:9:-1;5:2;;;30:1;27;20:12;5:2;1684:135:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;1440:198:7;;8:9:-1;5:2;;;30:1;27;20:12;5:2;1440:198:7;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;1197:146:0;;8:9:-1;5:2;;;30:1;27;20:12;5:2;1197:146:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;742:178:10;;8:9:-1;5:2;;;30:1;27;20:12;5:2;742:178:10;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;5971:193:6;;8:9:-1;5:2;;;30:1;27;20:12;5:2;5971:193:6;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;2191:138:7;;8:9:-1;5:2;;;30:1;27;20:12;5:2;2191:138:7;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;924:247:10;;8:9:-1;5:2;;;30:1;27;20:12;5:2;924:247:10;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;2420:163:6;;8:9:-1;5:2;;;30:1;27;20:12;5:2;2420:163:6;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;2068:140;;8:9:-1;5:2;;;30:1;27;20:12;5:2;2068:140:6;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;557:88:0;;8:9:-1;5:2;;;30:1;27;20:12;5:2;557:88:0;;;;;;;;;;;;;;;;;;;;;;;;;;;1107:74:9;;8:9:-1;5:2;;;30:1;27;20:12;5:2;1107:74:9;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;23:1:-1;8:100;33:3;30:1;27:10;8:100;;;99:1;94:3;90:11;84:18;80:1;75:3;71:11;64:39;52:2;49:1;45:10;40:15;;8:100;;;12:14;1107:74:9;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;468:116:2;;8:9:-1;5:2;;;30:1;27;20:12;5:2;468:116:2;;;;;;;;;;;;;;;;;;;;;;;;;;;;588:70;;8:9:-1;5:2;;;30:1;27;20:12;5:2;588:70:2;;;;;;3946:199:6;;8:9:-1;5:2;;;30:1;27;20:12;5:2;3946:199:6;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;364:100:2;;8:9:-1;5:2;;;30:1;27;20:12;5:2;364:100:2;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;6843:268:6;;8:9:-1;5:2;;;30:1;27;20:12;5:2;6843:268:6;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;651:488:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;1368:132:9;;8:9:-1;5:2;;;30:1;27;20:12;5:2;1368:132:9;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;23:1:-1;8:100;33:3;30:1;27:10;8:100;;;99:1;94:3;90:11;84:18;80:1;75:3;71:11;64:39;52:2;49:1;45:10;40:15;;8:100;;;12:14;1368:132:9;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;1410:244:0;;8:9:-1;5:2;;;30:1;27;20:12;5:2;1410:244:0;;;;;;;;;;;;;;;;;;;;;;;;;;4452:165:6;;8:9:-1;5:2;;;30:1;27;20:12;5:2;4452:165:6;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;739:141:3;821:4;842:20;:33;863:11;842:33;;;;;;;;;;;;;;;;;;;;;;;;;;;835:40;;739:141;;;:::o;428:87:10:-;475:4;494:16;;;;;;;;;;;487:23;;428:87;:::o;939:70:9:-;978:6;999:5;992:12;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;939:70;:::o;3527:141:6:-;3586:7;3609:16;3617:7;3609;:16::i;:::-;3601:25;;;;;;;;3639:15;:24;3655:7;3639:24;;;;;;;;;;;;;;;;;;;;;3632:31;;3527:141;;;:::o;2986:270::-;3045:13;3061:16;3069:7;3061;:16::i;:::-;3045:32;;3097:5;3091:11;;:2;:11;;;;3083:20;;;;;;;;3131:5;3117:19;;:10;:19;;;:58;;;;3140:35;3157:5;3164:10;3140:16;:35::i;:::-;3117:58;3109:67;;;;;;;;3210:2;3183:15;:24;3199:7;3183:24;;;;;;;;;;;;:29;;;;;;;;;;;;;;;;;;3243:7;3239:2;3223:28;;3232:5;3223:28;;;;;;;;;;;;2986:270;;;:::o;1780:88:7:-;1824:7;1846:10;:17;;;;1839:24;;1780:88;:::o;5032:326:6:-;5140:39;5159:10;5171:7;5140:18;:39::i;:::-;5132:48;;;;;;;;5208:1;5194:16;;:2;:16;;;;5186:25;;;;;;;;5218:29;5233:4;5239:7;5218:14;:29::i;:::-;5253:31;5270:4;5276:7;5253:16;:31::i;:::-;5290:24;5302:2;5306:7;5290:11;:24::i;:::-;5345:7;5341:2;5326:27;;5335:4;5326:27;;;;;;;;;;;;5032:326;;;:::o;1684:135:0:-;1726:4;1741:13;1757:10;:19;1768:7;1757:19;;;;;;;;;;;;;;;;;;;;;1741:35;;1810:1;1793:19;;:5;:19;;;;1786:26;;1684:135;;;;:::o;1440:198:7:-;1544:7;1577:16;1587:5;1577:9;:16::i;:::-;1569:5;:24;1561:33;;;;;;;;1607:12;:19;1620:5;1607:19;;;;;;;;;;;;;;;1627:5;1607:26;;;;;;;;;;;;;;;;;;1600:33;;1440:198;;;;:::o;1197:146:0:-;1294:5;1271:11;:20;1283:7;1271:20;;;;;;;;;;;:28;;;;1331:4;1309:10;:19;1320:7;1309:19;;;;;;;;;;;;:26;;;;;;;;;;;;;;;;;;1197:146;;;:::o;742:178:10:-;866:4;337:16;;;;;;;;;;;336:17;328:26;;;;;;;;880:18;886:2;890:7;880:5;:18::i;:::-;911:4;904:11;;742:178;;;;:::o;5971:193:6:-;6120:39;6137:4;6143:2;6147:7;6120:39;;;;;;;;;;;;;:16;:39::i;:::-;5971:193;;;:::o;2191:138:7:-;2249:7;2280:13;:11;:13::i;:::-;2272:5;:21;2264:30;;;;;;;;2307:10;2318:5;2307:17;;;;;;;;;;;;;;;;;;2300:24;;2191:138;;;:::o;924:247:10:-;1081:4;337:16;;;;;;;;;;;336:17;328:26;;;;;;;;1095:17;1100:2;1104:7;1095:4;:17::i;:::-;;1118:31;1131:7;1140:8;1118:12;:31::i;:::-;1162:4;1155:11;;924:247;;;;;:::o;2420:163:6:-;2475:7;2490:13;2506:11;:20;2518:7;2506:20;;;;;;;;;;;;;;;;;;;;;2490:36;;2557:1;2540:19;;:5;:19;;;;2532:28;;;;;;;;2573:5;2566:12;;2420:163;;;;:::o;2068:140::-;2123:7;2163:1;2146:19;;:5;:19;;;;2138:28;;;;;;;;2179:17;:24;2197:5;2179:24;;;;;;;;;;;;;;;;2172:31;;2068:140;;;:::o;557:88:0:-;606:4;633:5;626:12;;557:88;:::o;1107:74:9:-;1148:6;1169:7;1162:14;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;1107:74;:::o;468:116:2:-;528:20;540:7;528;:11;;:20;;;;:::i;:::-;571:7;559:20;;;;;;;;;;;;468:116;:::o;588:70::-;627:26;642:10;627:7;:14;;:26;;;;:::i;:::-;588:70::o;3946:199:6:-;4027:10;4021:16;;:2;:16;;;;4013:25;;;;;;;;4081:8;4044:18;:30;4063:10;4044:30;;;;;;;;;;;;;;;:34;4075:2;4044:34;;;;;;;;;;;;;;;;:45;;;;;;;;;;;;;;;;;;4127:2;4100:40;;4115:10;4100:40;;;4131:8;4100:40;;;;;;;;;;;;;;;;;;;;;;3946:199;;:::o;364:100:2:-;420:4;439:20;451:7;439;:11;;:20;;;;:::i;:::-;432:27;;364:100;;;:::o;6843:268:6:-;6964:31;6977:4;6983:2;6987:7;6964:12;:31::i;:::-;7054:51;7080:4;7086:2;7090:7;7099:5;7054:25;:51::i;:::-;7046:60;;;;;;;;6843:268;;;;:::o;651:488:0:-;727:4;747:49;760:16;768:7;760;:16::i;:::-;777:10;788:7;747:12;:49::i;:::-;814:16;822:7;814;:16::i;:::-;806:25;;;;;;;;869:5;849:25;;:16;857:7;849;:16::i;:::-;:25;;;;841:34;;;;;;;;915:1;893:24;;:10;:24;;;;885:33;;;;;;;;928:43;945:16;953:7;945;:16::i;:::-;963:7;928:16;:43::i;:::-;981:32;993:10;1005:7;981:11;:32::i;:::-;1024:46;1034:7;1042:16;1050:7;1042;:16::i;:::-;1060:9;1024;:46::i;:::-;1124:7;1112:10;1085:47;;1094:16;1102:7;1094;:16::i;:::-;1085:47;;;;;;;;;;;;651:488;;;:::o;1368:132:9:-;1424:6;1446:16;1454:7;1446;:16::i;:::-;1438:25;;;;;;;;1476:10;:19;1487:7;1476:19;;;;;;;;;;;1469:26;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;1368:132;;;:::o;1410:244:0:-;1464:16;1472:7;1464;:16::i;:::-;1456:25;;;;;;;;1519:10;1499:30;;:16;1507:7;1499;:16::i;:::-;:30;;;1491:39;;;;;;;;1540:10;:19;1551:7;1540:19;;;;;;;;;;;;;;;;;;;;;:28;;:50;1569:11;:20;1581:7;1569:20;;;;;;;;;;;;1540:50;;;;;;;;;;;;;;;;;;;;;;;;8:9:-1;5:2;;;45:16;42:1;39;24:38;77:16;74:1;67:27;5:2;1540:50:0;1630:1;1600:10;:19;1611:7;1600:19;;;;;;;;;;;;:32;;;;;;;;;;;;;;;;;;1410:244;:::o;4452:165:6:-;4556:4;4577:18;:25;4596:5;4577:25;;;;;;;;;;;;;;;:35;4603:8;4577:35;;;;;;;;;;;;;;;;;;;;;;;;;4570:42;;4452:165;;;;:::o;7288:142::-;7345:4;7357:13;7373:11;:20;7385:7;7373:20;;;;;;;;;;;;;;;;;;;;;7357:36;;7423:1;7406:19;;:5;:19;;;;7399:26;;7288:142;;;;:::o;7775:432::-;7884:4;7898:13;7914:16;7922:7;7914;:16::i;:::-;7898:32;;8108:5;8097:16;;:7;:16;;;:57;;;;8147:7;8123:31;;:20;8135:7;8123:11;:20::i;:::-;:31;;;8097:57;:99;;;;8164:32;8181:5;8188:7;8164:16;:32::i;:::-;8097:99;8082:120;;7775:432;;;;;:::o;9244:211::-;9343:5;9323:25;;:16;9331:7;9323;:16::i;:::-;:25;;;9315:34;;;;;;;;9395:1;9359:38;;:15;:24;9375:7;9359:24;;;;;;;;;;;;;;;;;;;;;:38;;;;9355:96;;;9442:1;9407:15;:24;9423:7;9407:24;;;;;;;;;;;;:37;;;;;;;;;;;;;;;;;;9355:96;9244:211;;:::o;3090:1020:7:-;3343:18;3396:22;3459:17;3162:37;3185:4;3191:7;3162:22;:37::i;:::-;3364:17;:26;3382:7;3364:26;;;;;;;;;;;;3343:47;;3421:32;3451:1;3421:12;:18;3434:4;3421:18;;;;;;;;;;;;;;;:25;;;;:29;;:32;;;;:::i;:::-;3396:57;;3479:12;:18;3492:4;3479:18;;;;;;;;;;;;;;;3498:14;3479:34;;;;;;;;;;;;;;;;;;3459:54;;3553:9;3520:12;:18;3533:4;3520:18;;;;;;;;;;;;;;;3539:10;3520:30;;;;;;;;;;;;;;;;;:42;;;;3640:12;:18;3653:4;3640:18;;;;;;;;;;;;;;;:27;;;;;;;;;;;;:::i;:::-;;4057:1;4028:17;:26;4046:7;4028:26;;;;;;;;;;;:30;;;;4095:10;4064:17;:28;4082:9;4064:28;;;;;;;;;;;:41;;;;3090:1020;;;;;:::o;2590:223::-;2691:14;2655:30;2673:2;2677:7;2655:17;:30::i;:::-;2708:12;:16;2721:2;2708:16;;;;;;;;;;;;;;;:23;;;;2691:40;;2737:12;:16;2750:2;2737:16;;;;;;;;;;;;;;;2759:7;2737:30;;39:1:-1;33:3;27:10;23:18;57:10;52:3;45:23;79:10;72:17;;0:93;2737:30:7;;;;;;;;;;;;;;;;;;;;;;2802:6;2773:17;:26;2791:7;2773:26;;;;;;;;;;;:35;;;;2590:223;;;:::o;4369:169::-;4428:24;4440:2;4444:7;4428:11;:24::i;:::-;4486:10;:17;;;;4459:15;:24;4475:7;4459:24;;;;;;;;;;;:44;;;;4509:10;4525:7;4509:24;;39:1:-1;33:3;27:10;23:18;57:10;52:3;45:23;79:10;72:17;;0:93;4509:24:7;;;;;;;;;;;;;;;;;;;;;;4369:169;;:::o;1723:127:9:-;1797:16;1805:7;1797;:16::i;:::-;1789:25;;;;;;;;1842:3;1820:10;:19;1831:7;1820:19;;;;;;;;;;;:25;;;;;;;;;;;;:::i;:::-;;1723:127;;:::o;245:132:1:-;336:1;317:21;;:7;:21;;;;309:30;;;;;;;;368:4;345;:11;;:20;357:7;345:20;;;;;;;;;;;;;;;;:27;;;;;;;;;;;;;;;;;;245:132;;:::o;443:136::-;537:1;518:21;;:7;:21;;;;510:30;;;;;;;;569:5;546:4;:11;;:20;558:7;546:20;;;;;;;;;;;;;;;;:28;;;;;;;;;;;;;;;;;;443:136;;:::o;657:166::-;741:4;782:1;763:21;;:7;:21;;;;755:30;;;;;;;;798:4;:11;;:20;810:7;798:20;;;;;;;;;;;;;;;;;;;;;;;;;791:27;;657:166;;;;:::o;10909:343:6:-;11046:4;11113:13;11065:15;:2;:13;;;:15::i;:::-;11064:16;11060:48;;;11097:4;11090:11;;;;11060:48;11145:2;11129:36;;;11173:10;11185:4;11191:7;11200:5;11129:77;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;23:1:-1;8:100;33:3;30:1;27:10;8:100;;;99:1;94:3;90:11;84:18;80:1;75:3;71:11;64:39;52:2;49:1;45:10;40:15;;8:100;;;12:14;11129:77:6;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;8:9:-1;5:2;;;30:1;27;20:12;5:2;11129:77:6;;;;8:9:-1;5:2;;;45:16;42:1;39;24:38;77:16;74:1;67:27;5:2;11129:77:6;;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;11129:77:6;;;;;;;;;;;;;;;;11113:93;;651:10;11230:16;;11220:26;;;:6;:26;;;;11212:35;;10909:343;;;;;;;;:::o;10195:211::-;10295:4;10275:24;;:16;10283:7;10275;:16::i;:::-;:24;;;10267:33;;;;;;;;10332:30;10360:1;10332:17;:23;10350:4;10332:23;;;;;;;;;;;;;;;;:27;;:30;;;;:::i;:::-;10306:17;:23;10324:4;10306:23;;;;;;;;;;;;;;;:56;;;;10399:1;10368:11;:20;10380:7;10368:20;;;;;;;;;;;;:33;;;;;;;;;;;;;;;;;;10195:211;;:::o;1079:131:5:-;1137:7;1173:9;1165:1;1160;:6;;1152:15;;;;;;;;1189:1;1185;:5;1173:17;;1204:1;1197:8;;1079:131;;;;;:::o;9716:202:6:-;9821:1;9789:34;;:11;:20;9801:7;9789:20;;;;;;;;;;;;;;;;;;;;;:34;;;9781:43;;;;;;;;9853:2;9830:11;:20;9842:7;9830:20;;;;;;;;;;;;:25;;;;;;;;;;;;;;;;;;9885:28;9911:1;9885:17;:21;9903:2;9885:21;;;;;;;;;;;;;;;;:25;;:28;;;;:::i;:::-;9861:17;:21;9879:2;9861:21;;;;;;;;;;;;;;;:52;;;;9716:202;;:::o;8454:163::-;8535:1;8521:16;;:2;:16;;;;8513:25;;;;;;;;8544:24;8556:2;8560:7;8544:11;:24::i;:::-;8604:7;8600:2;8579:33;;8596:1;8579:33;;;;;;;;;;;;8454:163;;:::o;450:582:15:-;510:4;522:12;997:7;985:20;977:28;;1026:1;1019:4;:8;1012:15;;450:582;;;;:::o;1273:131:5:-;1331:7;1346:9;1362:1;1358;:5;1346:17;;1382:1;1377;:6;;1369:15;;;;;;;;1398:1;1391:8;;1273:131;;;;;:::o;172:1651:0:-;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;:::o;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;:::o;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;:::o", "source": "pragma solidity ^0.4.24;\n\nimport 'openzeppelin-solidity/contracts/token/ERC721/ERC721Full.sol';\nimport 'openzeppelin-solidity/contracts/token/ERC721/ERC721Mintable.sol';\n\n\ncontract DoggyWalkie is ERC721Full, ERC721Mintable {\n\n\n // Mapping token hold to address (previous owner)\n mapping (uint256 => address) private _tokenHold;\n mapping (uint256 => uint256) private _tokenPrice;\n\n constructor() ERC721Full(\"DoggyWalkie\", \"DOGGY\") public {\n }\n\n //all minters\n modifier onlyMinter() {\n _;\n }\n\n\n //no one can stop minting\n function finishMinting()\n public\n returns (bool)\n {\n return false;\n }\n\n function purchaseToken(uint256 tokenId)\n public\n payable\n returns (bool)\n {\n transferFrom(ownerOf(tokenId),msg.sender,tokenId);\n require(_exists(tokenId));\n require(_onHold(tokenId) != false);\n require(msg.sender != address(0));\n _removeTokenFrom(ownerOf(tokenId), tokenId);\n _addTokenTo(msg.sender, tokenId);\n\n addToHold(tokenId,ownerOf(tokenId), msg.value);\n emit Transfer(ownerOf(tokenId), msg.sender, tokenId);\n }\n\n\n\n // send token to hold and collect token price\n function addToHold(uint256 tokenId, address from ,uint256 price){\n _tokenPrice[tokenId] = price;\n _tokenHold[tokenId] = from;\n\n }\n\n //confirm job - release the money (no fee fro this time)\n function confirmJob(uint256 tokenId){\n require(_onHold(tokenId));\n require(ownerOf(tokenId) == msg.sender);\n _tokenHold[tokenId].transfer(_tokenPrice[tokenId]);\n _tokenHold[tokenId] = address(0);//unhold token\n\n }\n\n\n //is token on hold\n function _onHold(uint256 tokenId) returns(bool){\n address owner = _tokenHold[tokenId];\n return owner != address(0);\n }\n\n\n}", "sourcePath": "/Users/andrey/Work/blockchain/contracts/DoggyWalkie.sol", "ast": { "absolutePath": "/Users/andrey/Work/blockchain/contracts/DoggyWalkie.sol", "exportedSymbols": { "DoggyWalkie": [ 187 ] }, "id": 188, "nodeType": "SourceUnit", "nodes": [ { "id": 1, "literals": [ "solidity", "^", "0.4", ".24" ], "nodeType": "PragmaDirective", "src": "0:24:0" }, { "absolutePath": "openzeppelin-solidity/contracts/token/ERC721/ERC721Full.sol", "file": "openzeppelin-solidity/contracts/token/ERC721/ERC721Full.sol", "id": 2, "nodeType": "ImportDirective", "scope": 188, "sourceUnit": 1405, "src": "26:69:0", "symbolAliases": [], "unitAlias": "" }, { "absolutePath": "openzeppelin-solidity/contracts/token/ERC721/ERC721Mintable.sol", "file": "openzeppelin-solidity/contracts/token/ERC721/ERC721Mintable.sol", "id": 3, "nodeType": "ImportDirective", "scope": 188, "sourceUnit": 1631, "src": "96:73:0", "symbolAliases": [], "unitAlias": "" }, { "baseContracts": [ { "arguments": null, "baseName": { "contractScope": null, "id": 4, "name": "ERC721Full", "nodeType": "UserDefinedTypeName", "referencedDeclaration": 1404, "src": "196:10:0", "typeDescriptions": { "typeIdentifier": "t_contract$_ERC721Full_$1404", "typeString": "contract ERC721Full" } }, "id": 5, "nodeType": "InheritanceSpecifier", "src": "196:10:0" }, { "arguments": null, "baseName": { "contractScope": null, "id": 6, "name": "ERC721Mintable", "nodeType": "UserDefinedTypeName", "referencedDeclaration": 1630, "src": "208:14:0", "typeDescriptions": { "typeIdentifier": "t_contract$_ERC721Mintable_$1630", "typeString": "contract ERC721Mintable" } }, "id": 7, "nodeType": "InheritanceSpecifier", "src": "208:14:0" } ], "contractDependencies": [ 363, 414, 424, 1097, 1380, 1404, 1531, 1630, 1733, 1760, 1783 ], "contractKind": "contract", "documentation": null, "fullyImplemented": true, "id": 187, "linearizedBaseContracts": [ 187, 1630, 363, 1404, 1531, 1783, 1380, 1760, 1097, 1733, 414, 424 ], "name": "DoggyWalkie", "nodeType": "ContractDefinition", "nodes": [ { "constant": false, "id": 11, "name": "_tokenHold", "nodeType": "VariableDeclaration", "scope": 187, "src": "285:47:0", "stateVariable": true, "storageLocation": "default", "typeDescriptions": { "typeIdentifier": "t_mapping$_t_uint256_$_t_address_$", "typeString": "mapping(uint256 => address)" }, "typeName": { "id": 10, "keyType": { "id": 8, "name": "uint256", "nodeType": "ElementaryTypeName", "src": "294:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, "nodeType": "Mapping", "src": "285:28:0", "typeDescriptions": { "typeIdentifier": "t_mapping$_t_uint256_$_t_address_$", "typeString": "mapping(uint256 => address)" }, "valueType": { "id": 9, "name": "address", "nodeType": "ElementaryTypeName", "src": "305:7:0", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" } } }, "value": null, "visibility": "private" }, { "constant": false, "id": 15, "name": "_tokenPrice", "nodeType": "VariableDeclaration", "scope": 187, "src": "338:48:0", "stateVariable": true, "storageLocation": "default", "typeDescriptions": { "typeIdentifier": "t_mapping$_t_uint256_$_t_uint256_$", "typeString": "mapping(uint256 => uint256)" }, "typeName": { "id": 14, "keyType": { "id": 12, "name": "uint256", "nodeType": "ElementaryTypeName", "src": "347:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, "nodeType": "Mapping", "src": "338:28:0", "typeDescriptions": { "typeIdentifier": "t_mapping$_t_uint256_$_t_uint256_$", "typeString": "mapping(uint256 => uint256)" }, "valueType": { "id": 13, "name": "uint256", "nodeType": "ElementaryTypeName", "src": "358:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } } }, "value": null, "visibility": "private" }, { "body": { "id": 22, "nodeType": "Block", "src": "449:7:0", "statements": [] }, "documentation": null, "id": 23, "implemented": true, "isConstructor": true, "isDeclaredConst": false, "modifiers": [ { "arguments": [ { "argumentTypes": null, "hexValue": "446f67677957616c6b6965", "id": 18, "isConstant": false, "isLValue": false, "isPure": true, "kind": "string", "lValueRequested": false, "nodeType": "Literal", "src": "418:13:0", "subdenomination": null, "typeDescriptions": { "typeIdentifier": "t_stringliteral_524978cf44b09de4cdc7b59881dfb11791bbb7e35235b460140013bb324f0cee", "typeString": "literal_string \"DoggyWalkie\"" }, "value": "DoggyWalkie" }, { "argumentTypes": null, "hexValue": "444f474759", "id": 19, "isConstant": false, "isLValue": false, "isPure": true, "kind": "string", "lValueRequested": false, "nodeType": "Literal", "src": "433:7:0", "subdenomination": null, "typeDescriptions": { "typeIdentifier": "t_stringliteral_70e6d8221d8b4d23c40ba6513b8f5904e198d84579cc6ee9c27e7557297846b6", "typeString": "literal_string \"DOGGY\"" }, "value": "DOGGY" } ], "id": 20, "modifierName": { "argumentTypes": null, "id": 17, "name": "ERC721Full", "nodeType": "Identifier", "overloadedDeclarations": [], "referencedDeclaration": 1404, "src": "407:10:0", "typeDescriptions": { "typeIdentifier": "t_type$_t_contract$_ERC721Full_$1404_$", "typeString": "type(contract ERC721Full)" } }, "nodeType": "ModifierInvocation", "src": "407:34:0" } ], "name": "", "nodeType": "FunctionDefinition", "parameters": { "id": 16, "nodeType": "ParameterList", "parameters": [], "src": "404:2:0" }, "payable": false, "returnParameters": { "id": 21, "nodeType": "ParameterList", "parameters": [], "src": "449:0:0" }, "scope": 187, "src": "393:63:0", "stateMutability": "nonpayable", "superFunction": null, "visibility": "public" }, { "body": { "id": 26, "nodeType": "Block", "src": "502:18:0", "statements": [ { "id": 25, "nodeType": "PlaceholderStatement", "src": "512:1:0" } ] }, "documentation": null, "id": 27, "name": "onlyMinter", "nodeType": "ModifierDefinition", "parameters": { "id": 24, "nodeType": "ParameterList", "parameters": [], "src": "499:2:0" }, "src": "480:40:0", "visibility": "internal" }, { "body": { "id": 34, "nodeType": "Block", "src": "616:29:0", "statements": [ { "expression": { "argumentTypes": null, "hexValue": "66616c7365", "id": 32, "isConstant": false, "isLValue": false, "isPure": true, "kind": "bool", "lValueRequested": false, "nodeType": "Literal", "src": "633:5:0", "subdenomination": null, "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" }, "value": "false" }, "functionReturnParameters": 31, "id": 33, "nodeType": "Return", "src": "626:12:0" } ] }, "documentation": null, "id": 35, "implemented": true, "isConstructor": false, "isDeclaredConst": false, "modifiers": [], "name": "finishMinting", "nodeType": "FunctionDefinition", "parameters": { "id": 28, "nodeType": "ParameterList", "parameters": [], "src": "579:2:0" }, "payable": false, "returnParameters": { "id": 31, "nodeType": "ParameterList", "parameters": [ { "constant": false, "id": 30, "name": "", "nodeType": "VariableDeclaration", "scope": 35, "src": "606:4:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" }, "typeName": { "id": 29, "name": "bool", "nodeType": "ElementaryTypeName", "src": "606:4:0", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" } }, "value": null, "visibility": "internal" } ], "src": "605:6:0" }, "scope": 187, "src": "557:88:0", "stateMutability": "nonpayable", "superFunction": 1629, "visibility": "public" }, { "body": { "id": 105, "nodeType": "Block", "src": "737:402:0", "statements": [ { "expression": { "argumentTypes": null, "arguments": [ { "argumentTypes": null, "arguments": [ { "argumentTypes": null, "id": 44, "name": "tokenId", "nodeType": "Identifier", "overloadedDeclarations": [], "referencedDeclaration": 37, "src": "768:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } } ], "expression": { "argumentTypes": [ { "typeIdentifier": "t_uint256", "typeString": "uint256" } ], "id": 43, "name": "ownerOf", "nodeType": "Identifier", "overloadedDeclarations": [ 645 ], "referencedDeclaration": 645, "src": "760:7:0", "typeDescriptions": { "typeIdentifier": "t_function_internal_view$_t_uint256_$returns$_t_address_$", "typeString": "function (uint256) view returns (address)" } }, "id": 45, "isConstant": false, "isLValue": false, "isPure": false, "kind": "functionCall", "lValueRequested": false, "names": [], "nodeType": "FunctionCall", "src": "760:16:0", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" } }, { "argumentTypes": null, "expression": { "argumentTypes": null, "id": 46, "name": "msg", "nodeType": "Identifier", "overloadedDeclarations": [], "referencedDeclaration": 1833, "src": "777:3:0", "typeDescriptions": { "typeIdentifier": "t_magic_message", "typeString": "msg" } }, "id": 47, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "memberName": "sender", "nodeType": "MemberAccess", "referencedDeclaration": null, "src": "777:10:0", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" } }, { "argumentTypes": null, "id": 48, "name": "tokenId", "nodeType": "Identifier", "overloadedDeclarations": [], "referencedDeclaration": 37, "src": "788:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } } ], "expression": { "argumentTypes": [ { "typeIdentifier": "t_address", "typeString": "address" }, { "typeIdentifier": "t_address", "typeString": "address" }, { "typeIdentifier": "t_uint256", "typeString": "uint256" } ], "id": 42, "name": "transferFrom", "nodeType": "Identifier", "overloadedDeclarations": [ 802 ], "referencedDeclaration": 802, "src": "747:12:0", "typeDescriptions": { "typeIdentifier": "t_function_internal_nonpayable$_t_address_$_t_address_$_t_uint256_$returns$__$", "typeString": "function (address,address,uint256)" } }, "id": 49, "isConstant": false, "isLValue": false, "isPure": false, "kind": "functionCall", "lValueRequested": false, "names": [], "nodeType": "FunctionCall", "src": "747:49:0", "typeDescriptions": { "typeIdentifier": "t_tuple$__$", "typeString": "tuple()" } }, "id": 50, "nodeType": "ExpressionStatement", "src": "747:49:0" }, { "expression": { "argumentTypes": null, "arguments": [ { "argumentTypes": null, "arguments": [ { "argumentTypes": null, "id": 53, "name": "tokenId", "nodeType": "Identifier", "overloadedDeclarations": [], "referencedDeclaration": 37, "src": "822:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } } ], "expression": { "argumentTypes": [ { "typeIdentifier": "t_uint256", "typeString": "uint256" } ], "id": 52, "name": "_exists", "nodeType": "Identifier", "overloadedDeclarations": [], "referencedDeclaration": 866, "src": "814:7:0", "typeDescriptions": { "typeIdentifier": "t_function_internal_view$_t_uint256_$returns$_t_bool_$", "typeString": "function (uint256) view returns (bool)" } }, "id": 54, "isConstant": false, "isLValue": false, "isPure": false, "kind": "functionCall", "lValueRequested": false, "names": [], "nodeType": "FunctionCall", "src": "814:16:0", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" } } ], "expression": { "argumentTypes": [ { "typeIdentifier": "t_bool", "typeString": "bool" } ], "id": 51, "name": "require", "nodeType": "Identifier", "overloadedDeclarations": [ 1836, 1837 ], "referencedDeclaration": 1836, "src": "806:7:0", "typeDescriptions": { "typeIdentifier": "t_function_require_pure$_t_bool_$returns$__$", "typeString": "function (bool) pure" } }, "id": 55, "isConstant": false, "isLValue": false, "isPure": false, "kind": "functionCall", "lValueRequested": false, "names": [], "nodeType": "FunctionCall", "src": "806:25:0", "typeDescriptions": { "typeIdentifier": "t_tuple$__$", "typeString": "tuple()" } }, "id": 56, "nodeType": "ExpressionStatement", "src": "806:25:0" }, { "expression": { "argumentTypes": null, "arguments": [ { "argumentTypes": null, "commonType": { "typeIdentifier": "t_bool", "typeString": "bool" }, "id": 62, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "leftExpression": { "argumentTypes": null, "arguments": [ { "argumentTypes": null, "id": 59, "name": "tokenId", "nodeType": "Identifier", "overloadedDeclarations": [], "referencedDeclaration": 37, "src": "857:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } } ], "expression": { "argumentTypes": [ { "typeIdentifier": "t_uint256", "typeString": "uint256" } ], "id": 58, "name": "_onHold", "nodeType": "Identifier", "overloadedDeclarations": [], "referencedDeclaration": 186, "src": "849:7:0", "typeDescriptions": { "typeIdentifier": "t_function_internal_nonpayable$_t_uint256_$returns$_t_bool_$", "typeString": "function (uint256) returns (bool)" } }, "id": 60, "isConstant": false, "isLValue": false, "isPure": false, "kind": "functionCall", "lValueRequested": false, "names": [], "nodeType": "FunctionCall", "src": "849:16:0", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" } }, "nodeType": "BinaryOperation", "operator": "!=", "rightExpression": { "argumentTypes": null, "hexValue": "66616c7365", "id": 61, "isConstant": false, "isLValue": false, "isPure": true, "kind": "bool", "lValueRequested": false, "nodeType": "Literal", "src": "869:5:0", "subdenomination": null, "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" }, "value": "false" }, "src": "849:25:0", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" } } ], "expression": { "argumentTypes": [ { "typeIdentifier": "t_bool", "typeString": "bool" } ], "id": 57, "name": "require", "nodeType": "Identifier", "overloadedDeclarations": [ 1836, 1837 ], "referencedDeclaration": 1836, "src": "841:7:0", "typeDescriptions": { "typeIdentifier": "t_function_require_pure$_t_bool_$returns$__$", "typeString": "function (bool) pure" } }, "id": 63, "isConstant": false, "isLValue": false, "isPure": false, "kind": "functionCall", "lValueRequested": false, "names": [], "nodeType": "FunctionCall", "src": "841:34:0", "typeDescriptions": { "typeIdentifier": "t_tuple$__$", "typeString": "tuple()" } }, "id": 64, "nodeType": "ExpressionStatement", "src": "841:34:0" }, { "expression": { "argumentTypes": null, "arguments": [ { "argumentTypes": null, "commonType": { "typeIdentifier": "t_address", "typeString": "address" }, "id": 71, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "leftExpression": { "argumentTypes": null, "expression": { "argumentTypes": null, "id": 66, "name": "msg", "nodeType": "Identifier", "overloadedDeclarations": [], "referencedDeclaration": 1833, "src": "893:3:0", "typeDescriptions": { "typeIdentifier": "t_magic_message", "typeString": "msg" } }, "id": 67, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "memberName": "sender", "nodeType": "MemberAccess", "referencedDeclaration": null, "src": "893:10:0", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" } }, "nodeType": "BinaryOperation", "operator": "!=", "rightExpression": { "argumentTypes": null, "arguments": [ { "argumentTypes": null, "hexValue": "30", "id": 69, "isConstant": false, "isLValue": false, "isPure": true, "kind": "number", "lValueRequested": false, "nodeType": "Literal", "src": "915:1:0", "subdenomination": null, "typeDescriptions": { "typeIdentifier": "t_rational_0_by_1", "typeString": "int_const 0" }, "value": "0" } ], "expression": { "argumentTypes": [ { "typeIdentifier": "t_rational_0_by_1", "typeString": "int_const 0" } ], "id": 68, "isConstant": false, "isLValue": false, "isPure": true, "lValueRequested": false, "nodeType": "ElementaryTypeNameExpression", "src": "907:7:0", "typeDescriptions": { "typeIdentifier": "t_type$_t_address_$", "typeString": "type(address)" }, "typeName": "address" }, "id": 70, "isConstant": false, "isLValue": false, "isPure": true, "kind": "typeConversion", "lValueRequested": false, "names": [], "nodeType": "FunctionCall", "src": "907:10:0", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" } }, "src": "893:24:0", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" } } ], "expression": { "argumentTypes": [ { "typeIdentifier": "t_bool", "typeString": "bool" } ], "id": 65, "name": "require", "nodeType": "Identifier", "overloadedDeclarations": [ 1836, 1837 ], "referencedDeclaration": 1836, "src": "885:7:0", "typeDescriptions": { "typeIdentifier": "t_function_require_pure$_t_bool_$returns$__$", "typeString": "function (bool) pure" } }, "id": 72, "isConstant": false, "isLValue": false, "isPure": false, "kind": "functionCall", "lValueRequested": false, "names": [], "nodeType": "FunctionCall", "src": "885:33:0", "typeDescriptions": { "typeIdentifier": "t_tuple$__$", "typeString": "tuple()" } }, "id": 73, "nodeType": "ExpressionStatement", "src": "885:33:0" }, { "expression": { "argumentTypes": null, "arguments": [ { "argumentTypes": null, "arguments": [ { "argumentTypes": null, "id": 76, "name": "tokenId", "nodeType": "Identifier", "overloadedDeclarations": [], "referencedDeclaration": 37, "src": "953:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } } ], "expression": { "argumentTypes": [ { "typeIdentifier": "t_uint256", "typeString": "uint256" } ], "id": 75, "name": "ownerOf", "nodeType": "Identifier", "overloadedDeclarations": [ 645 ], "referencedDeclaration": 645, "src": "945:7:0", "typeDescriptions": { "typeIdentifier": "t_function_internal_view$_t_uint256_$returns$_t_address_$", "typeString": "function (uint256) view returns (address)" } }, "id": 77, "isConstant": false, "isLValue": false, "isPure": false, "kind": "functionCall", "lValueRequested": false, "names": [], "nodeType": "FunctionCall", "src": "945:16:0", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" } }, { "argumentTypes": null, "id": 78, "name": "tokenId", "nodeType": "Identifier", "overloadedDeclarations": [], "referencedDeclaration": 37, "src": "963:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } } ], "expression": { "argumentTypes": [ { "typeIdentifier": "t_address", "typeString": "address" }, { "typeIdentifier": "t_uint256", "typeString": "uint256" } ], "id": 74, "name": "_removeTokenFrom", "nodeType": "Identifier", "overloadedDeclarations": [ 1287 ], "referencedDeclaration": 1287, "src": "928:16:0", "typeDescriptions": { "typeIdentifier": "t_function_internal_nonpayable$_t_address_$_t_uint256_$returns$__$", "typeString": "function (address,uint256)" } }, "id": 79, "isConstant": false, "isLValue": false, "isPure": false, "kind": "functionCall", "lValueRequested": false, "names": [], "nodeType": "FunctionCall", "src": "928:43:0", "typeDescriptions": { "typeIdentifier": "t_tuple$__$", "typeString": "tuple()" } }, "id": 80, "nodeType": "ExpressionStatement", "src": "928:43:0" }, { "expression": { "argumentTypes": null, "arguments": [ { "argumentTypes": null, "expression": { "argumentTypes": null, "id": 82, "name": "msg", "nodeType": "Identifier", "overloadedDeclarations": [], "referencedDeclaration": 1833, "src": "993:3:0", "typeDescriptions": { "typeIdentifier": "t_magic_message", "typeString": "msg" } }, "id": 83, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "memberName": "sender", "nodeType": "MemberAccess", "referencedDeclaration": null, "src": "993:10:0", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" } }, { "argumentTypes": null, "id": 84, "name": "tokenId", "nodeType": "Identifier", "overloadedDeclarations": [], "referencedDeclaration": 37, "src": "1005:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } } ], "expression": { "argumentTypes": [ { "typeIdentifier": "t_address", "typeString": "address" }, { "typeIdentifier": "t_uint256", "typeString": "uint256" } ], "id": 81, "name": "_addTokenTo", "nodeType": "Identifier", "overloadedDeclarations": [ 1222 ], "referencedDeclaration": 1222, "src": "981:11:0", "typeDescriptions": { "typeIdentifier": "t_function_internal_nonpayable$_t_address_$_t_uint256_$returns$__$", "typeString": "function (address,uint256)" } }, "id": 85, "isConstant": false, "isLValue": false, "isPure": false, "kind": "functionCall", "lValueRequested": false, "names": [], "nodeType": "FunctionCall", "src": "981:32:0", "typeDescriptions": { "typeIdentifier": "t_tuple$__$", "typeString": "tuple()" } }, "id": 86, "nodeType": "ExpressionStatement", "src": "981:32:0" }, { "expression": { "argumentTypes": null, "arguments": [ { "argumentTypes": null, "id": 88, "name": "tokenId", "nodeType": "Identifier", "overloadedDeclarations": [], "referencedDeclaration": 37, "src": "1034:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, { "argumentTypes": null, "arguments": [ { "argumentTypes": null, "id": 90, "name": "tokenId", "nodeType": "Identifier", "overloadedDeclarations": [], "referencedDeclaration": 37, "src": "1050:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } } ], "expression": { "argumentTypes": [ { "typeIdentifier": "t_uint256", "typeString": "uint256" } ], "id": 89, "name": "ownerOf", "nodeType": "Identifier", "overloadedDeclarations": [ 645 ], "referencedDeclaration": 645, "src": "1042:7:0", "typeDescriptions": { "typeIdentifier": "t_function_internal_view$_t_uint256_$returns$_t_address_$", "typeString": "function (uint256) view returns (address)" } }, "id": 91, "isConstant": false, "isLValue": false, "isPure": false, "kind": "functionCall", "lValueRequested": false, "names": [], "nodeType": "FunctionCall", "src": "1042:16:0", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" } }, { "argumentTypes": null, "expression": { "argumentTypes": null, "id": 92, "name": "msg", "nodeType": "Identifier", "overloadedDeclarations": [], "referencedDeclaration": 1833, "src": "1060:3:0", "typeDescriptions": { "typeIdentifier": "t_magic_message", "typeString": "msg" } }, "id": 93, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "memberName": "value", "nodeType": "MemberAccess", "referencedDeclaration": null, "src": "1060:9:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } } ], "expression": { "argumentTypes": [ { "typeIdentifier": "t_uint256", "typeString": "uint256" }, { "typeIdentifier": "t_address", "typeString": "address" }, { "typeIdentifier": "t_uint256", "typeString": "uint256" } ], "id": 87, "name": "addToHold", "nodeType": "Identifier", "overloadedDeclarations": [], "referencedDeclaration": 128, "src": "1024:9:0", "typeDescriptions": { "typeIdentifier": "t_function_internal_nonpayable$_t_uint256_$_t_address_$_t_uint256_$returns$__$", "typeString": "function (uint256,address,uint256)" } }, "id": 94, "isConstant": false, "isLValue": false, "isPure": false, "kind": "functionCall", "lValueRequested": false, "names": [], "nodeType": "FunctionCall", "src": "1024:46:0", "typeDescriptions": { "typeIdentifier": "t_tuple$__$", "typeString": "tuple()" } }, "id": 95, "nodeType": "ExpressionStatement", "src": "1024:46:0" }, { "eventCall": { "argumentTypes": null, "arguments": [ { "argumentTypes": null, "arguments": [ { "argumentTypes": null, "id": 98, "name": "tokenId", "nodeType": "Identifier", "overloadedDeclarations": [], "referencedDeclaration": 37, "src": "1102:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } } ], "expression": { "argumentTypes": [ { "typeIdentifier": "t_uint256", "typeString": "uint256" } ], "id": 97, "name": "ownerOf", "nodeType": "Identifier", "overloadedDeclarations": [ 645 ], "referencedDeclaration": 645, "src": "1094:7:0", "typeDescriptions": { "typeIdentifier": "t_function_internal_view$_t_uint256_$returns$_t_address_$", "typeString": "function (uint256) view returns (address)" } }, "id": 99, "isConstant": false, "isLValue": false, "isPure": false, "kind": "functionCall", "lValueRequested": false, "names": [], "nodeType": "FunctionCall", "src": "1094:16:0", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" } }, { "argumentTypes": null, "expression": { "argumentTypes": null, "id": 100, "name": "msg", "nodeType": "Identifier", "overloadedDeclarations": [], "referencedDeclaration": 1833, "src": "1112:3:0", "typeDescriptions": { "typeIdentifier": "t_magic_message", "typeString": "msg" } }, "id": 101, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "memberName": "sender", "nodeType": "MemberAccess", "referencedDeclaration": null, "src": "1112:10:0", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" } }, { "argumentTypes": null, "id": 102, "name": "tokenId", "nodeType": "Identifier", "overloadedDeclarations": [], "referencedDeclaration": 37, "src": "1124:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } } ], "expression": { "argumentTypes": [ { "typeIdentifier": "t_address", "typeString": "address" }, { "typeIdentifier": "t_address", "typeString": "address" }, { "typeIdentifier": "t_uint256", "typeString": "uint256" } ], "id": 96, "name": "Transfer", "nodeType": "Identifier", "overloadedDeclarations": [], "referencedDeclaration": 1643, "src": "1085:8:0", "typeDescriptions": { "typeIdentifier": "t_function_event_nonpayable$_t_address_$_t_address_$_t_uint256_$returns$__$", "typeString": "function (address,address,uint256)" } }, "id": 103, "isConstant": false, "isLValue": false, "isPure": false, "kind": "functionCall", "lValueRequested": false, "names": [], "nodeType": "FunctionCall", "src": "1085:47:0", "typeDescriptions": { "typeIdentifier": "t_tuple$__$", "typeString": "tuple()" } }, "id": 104, "nodeType": "EmitStatement", "src": "1080:52:0" } ] }, "documentation": null, "id": 106, "implemented": true, "isConstructor": false, "isDeclaredConst": false, "modifiers": [], "name": "purchaseToken", "nodeType": "FunctionDefinition", "parameters": { "id": 38, "nodeType": "ParameterList", "parameters": [ { "constant": false, "id": 37, "name": "tokenId", "nodeType": "VariableDeclaration", "scope": 106, "src": "674:15:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" }, "typeName": { "id": 36, "name": "uint256", "nodeType": "ElementaryTypeName", "src": "674:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, "value": null, "visibility": "internal" } ], "src": "673:17:0" }, "payable": true, "returnParameters": { "id": 41, "nodeType": "ParameterList", "parameters": [ { "constant": false, "id": 40, "name": "", "nodeType": "VariableDeclaration", "scope": 106, "src": "727:4:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" }, "typeName": { "id": 39, "name": "bool", "nodeType": "ElementaryTypeName", "src": "727:4:0", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" } }, "value": null, "visibility": "internal" } ], "src": "726:6:0" }, "scope": 187, "src": "651:488:0", "stateMutability": "payable", "superFunction": null, "visibility": "public" }, { "body": { "id": 127, "nodeType": "Block", "src": "1261:82:0", "statements": [ { "expression": { "argumentTypes": null, "id": 119, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "leftHandSide": { "argumentTypes": null, "baseExpression": { "argumentTypes": null, "id": 115, "name": "_tokenPrice", "nodeType": "Identifier", "overloadedDeclarations": [], "referencedDeclaration": 15, "src": "1271:11:0", "typeDescriptions": { "typeIdentifier": "t_mapping$_t_uint256_$_t_uint256_$", "typeString": "mapping(uint256 => uint256)" } }, "id": 117, "indexExpression": { "argumentTypes": null, "id": 116, "name": "tokenId", "nodeType": "Identifier", "overloadedDeclarations": [], "referencedDeclaration": 108, "src": "1283:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, "isConstant": false, "isLValue": true, "isPure": false, "lValueRequested": true, "nodeType": "IndexAccess", "src": "1271:20:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, "nodeType": "Assignment", "operator": "=", "rightHandSide": { "argumentTypes": null, "id": 118, "name": "price", "nodeType": "Identifier", "overloadedDeclarations": [], "referencedDeclaration": 112, "src": "1294:5:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, "src": "1271:28:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, "id": 120, "nodeType": "ExpressionStatement", "src": "1271:28:0" }, { "expression": { "argumentTypes": null, "id": 125, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "leftHandSide": { "argumentTypes": null, "baseExpression": { "argumentTypes": null, "id": 121, "name": "_tokenHold", "nodeType": "Identifier", "overloadedDeclarations": [], "referencedDeclaration": 11, "src": "1309:10:0", "typeDescriptions": { "typeIdentifier": "t_mapping$_t_uint256_$_t_address_$", "typeString": "mapping(uint256 => address)" } }, "id": 123, "indexExpression": { "argumentTypes": null, "id": 122, "name": "tokenId", "nodeType": "Identifier", "overloadedDeclarations": [], "referencedDeclaration": 108, "src": "1320:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, "isConstant": false, "isLValue": true, "isPure": false, "lValueRequested": true, "nodeType": "IndexAccess", "src": "1309:19:0", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" } }, "nodeType": "Assignment", "operator": "=", "rightHandSide": { "argumentTypes": null, "id": 124, "name": "from", "nodeType": "Identifier", "overloadedDeclarations": [], "referencedDeclaration": 110, "src": "1331:4:0", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" } }, "src": "1309:26:0", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" } }, "id": 126, "nodeType": "ExpressionStatement", "src": "1309:26:0" } ] }, "documentation": null, "id": 128, "implemented": true, "isConstructor": false, "isDeclaredConst": false, "modifiers": [], "name": "addToHold", "nodeType": "FunctionDefinition", "parameters": { "id": 113, "nodeType": "ParameterList", "parameters": [ { "constant": false, "id": 108, "name": "tokenId", "nodeType": "VariableDeclaration", "scope": 128, "src": "1216:15:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" }, "typeName": { "id": 107, "name": "uint256", "nodeType": "ElementaryTypeName", "src": "1216:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, "value": null, "visibility": "internal" }, { "constant": false, "id": 110, "name": "from", "nodeType": "VariableDeclaration", "scope": 128, "src": "1233:12:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" }, "typeName": { "id": 109, "name": "address", "nodeType": "ElementaryTypeName", "src": "1233:7:0", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" } }, "value": null, "visibility": "internal" }, { "constant": false, "id": 112, "name": "price", "nodeType": "VariableDeclaration", "scope": 128, "src": "1247:13:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" }, "typeName": { "id": 111, "name": "uint256", "nodeType": "ElementaryTypeName", "src": "1247:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, "value": null, "visibility": "internal" } ], "src": "1215:46:0" }, "payable": false, "returnParameters": { "id": 114, "nodeType": "ParameterList", "parameters": [], "src": "1261:0:0" }, "scope": 187, "src": "1197:146:0", "stateMutability": "nonpayable", "superFunction": null, "visibility": "public" }, { "body": { "id": 165, "nodeType": "Block", "src": "1446:208:0", "statements": [ { "expression": { "argumentTypes": null, "arguments": [ { "argumentTypes": null, "arguments": [ { "argumentTypes": null, "id": 135, "name": "tokenId", "nodeType": "Identifier", "overloadedDeclarations": [], "referencedDeclaration": 130, "src": "1472:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } } ], "expression": { "argumentTypes": [ { "typeIdentifier": "t_uint256", "typeString": "uint256" } ], "id": 134, "name": "_onHold", "nodeType": "Identifier", "overloadedDeclarations": [], "referencedDeclaration": 186, "src": "1464:7:0", "typeDescriptions": { "typeIdentifier": "t_function_internal_nonpayable$_t_uint256_$returns$_t_bool_$", "typeString": "function (uint256) returns (bool)" } }, "id": 136, "isConstant": false, "isLValue": false, "isPure": false, "kind": "functionCall", "lValueRequested": false, "names": [], "nodeType": "FunctionCall", "src": "1464:16:0", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" } } ], "expression": { "argumentTypes": [ { "typeIdentifier": "t_bool", "typeString": "bool" } ], "id": 133, "name": "require", "nodeType": "Identifier", "overloadedDeclarations": [ 1836, 1837 ], "referencedDeclaration": 1836, "src": "1456:7:0", "typeDescriptions": { "typeIdentifier": "t_function_require_pure$_t_bool_$returns$__$", "typeString": "function (bool) pure" } }, "id": 137, "isConstant": false, "isLValue": false, "isPure": false, "kind": "functionCall", "lValueRequested": false, "names": [], "nodeType": "FunctionCall", "src": "1456:25:0", "typeDescriptions": { "typeIdentifier": "t_tuple$__$", "typeString": "tuple()" } }, "id": 138, "nodeType": "ExpressionStatement", "src": "1456:25:0" }, { "expression": { "argumentTypes": null, "arguments": [ { "argumentTypes": null, "commonType": { "typeIdentifier": "t_address", "typeString": "address" }, "id": 145, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "leftExpression": { "argumentTypes": null, "arguments": [ { "argumentTypes": null, "id": 141, "name": "tokenId", "nodeType": "Identifier", "overloadedDeclarations": [], "referencedDeclaration": 130, "src": "1507:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } } ], "expression": { "argumentTypes": [ { "typeIdentifier": "t_uint256", "typeString": "uint256" } ], "id": 140, "name": "ownerOf", "nodeType": "Identifier", "overloadedDeclarations": [ 645 ], "referencedDeclaration": 645, "src": "1499:7:0", "typeDescriptions": { "typeIdentifier": "t_function_internal_view$_t_uint256_$returns$_t_address_$", "typeString": "function (uint256) view returns (address)" } }, "id": 142, "isConstant": false, "isLValue": false, "isPure": false, "kind": "functionCall", "lValueRequested": false, "names": [], "nodeType": "FunctionCall", "src": "1499:16:0", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" } }, "nodeType": "BinaryOperation", "operator": "==", "rightExpression": { "argumentTypes": null, "expression": { "argumentTypes": null, "id": 143, "name": "msg", "nodeType": "Identifier", "overloadedDeclarations": [], "referencedDeclaration": 1833, "src": "1519:3:0", "typeDescriptions": { "typeIdentifier": "t_magic_message", "typeString": "msg" } }, "id": 144, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "memberName": "sender", "nodeType": "MemberAccess", "referencedDeclaration": null, "src": "1519:10:0", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" } }, "src": "1499:30:0", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" } } ], "expression": { "argumentTypes": [ { "typeIdentifier": "t_bool", "typeString": "bool" } ], "id": 139, "name": "require", "nodeType": "Identifier", "overloadedDeclarations": [ 1836, 1837 ], "referencedDeclaration": 1836, "src": "1491:7:0", "typeDescriptions": { "typeIdentifier": "t_function_require_pure$_t_bool_$returns$__$", "typeString": "function (bool) pure" } }, "id": 146, "isConstant": false, "isLValue": false, "isPure": false, "kind": "functionCall", "lValueRequested": false, "names": [], "nodeType": "FunctionCall", "src": "1491:39:0", "typeDescriptions": { "typeIdentifier": "t_tuple$__$", "typeString": "tuple()" } }, "id": 147, "nodeType": "ExpressionStatement", "src": "1491:39:0" }, { "expression": { "argumentTypes": null, "arguments": [ { "argumentTypes": null, "baseExpression": { "argumentTypes": null, "id": 152, "name": "_tokenPrice", "nodeType": "Identifier", "overloadedDeclarations": [], "referencedDeclaration": 15, "src": "1569:11:0", "typeDescriptions": { "typeIdentifier": "t_mapping$_t_uint256_$_t_uint256_$", "typeString": "mapping(uint256 => uint256)" } }, "id": 154, "indexExpression": { "argumentTypes": null, "id": 153, "name": "tokenId", "nodeType": "Identifier", "overloadedDeclarations": [], "referencedDeclaration": 130, "src": "1581:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, "isConstant": false, "isLValue": true, "isPure": false, "lValueRequested": false, "nodeType": "IndexAccess", "src": "1569:20:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } } ], "expression": { "argumentTypes": [ { "typeIdentifier": "t_uint256", "typeString": "uint256" } ], "expression": { "argumentTypes": null, "baseExpression": { "argumentTypes": null, "id": 148, "name": "_tokenHold", "nodeType": "Identifier", "overloadedDeclarations": [], "referencedDeclaration": 11, "src": "1540:10:0", "typeDescriptions": { "typeIdentifier": "t_mapping$_t_uint256_$_t_address_$", "typeString": "mapping(uint256 => address)" } }, "id": 150, "indexExpression": { "argumentTypes": null, "id": 149, "name": "tokenId", "nodeType": "Identifier", "overloadedDeclarations": [], "referencedDeclaration": 130, "src": "1551:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, "isConstant": false, "isLValue": true, "isPure": false, "lValueRequested": false, "nodeType": "IndexAccess", "src": "1540:19:0", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" } }, "id": 151, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "memberName": "transfer", "nodeType": "MemberAccess", "referencedDeclaration": null, "src": "1540:28:0", "typeDescriptions": { "typeIdentifier": "t_function_transfer_nonpayable$_t_uint256_$returns$__$", "typeString": "function (uint256)" } }, "id": 155, "isConstant": false, "isLValue": false, "isPure": false, "kind": "functionCall", "lValueRequested": false, "names": [], "nodeType": "FunctionCall", "src": "1540:50:0", "typeDescriptions": { "typeIdentifier": "t_tuple$__$", "typeString": "tuple()" } }, "id": 156, "nodeType": "ExpressionStatement", "src": "1540:50:0" }, { "expression": { "argumentTypes": null, "id": 163, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "leftHandSide": { "argumentTypes": null, "baseExpression": { "argumentTypes": null, "id": 157, "name": "_tokenHold", "nodeType": "Identifier", "overloadedDeclarations": [], "referencedDeclaration": 11, "src": "1600:10:0", "typeDescriptions": { "typeIdentifier": "t_mapping$_t_uint256_$_t_address_$", "typeString": "mapping(uint256 => address)" } }, "id": 159, "indexExpression": { "argumentTypes": null, "id": 158, "name": "tokenId", "nodeType": "Identifier", "overloadedDeclarations": [], "referencedDeclaration": 130, "src": "1611:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, "isConstant": false, "isLValue": true, "isPure": false, "lValueRequested": true, "nodeType": "IndexAccess", "src": "1600:19:0", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" } }, "nodeType": "Assignment", "operator": "=", "rightHandSide": { "argumentTypes": null, "arguments": [ { "argumentTypes": null, "hexValue": "30", "id": 161, "isConstant": false, "isLValue": false, "isPure": true, "kind": "number", "lValueRequested": false, "nodeType": "Literal", "src": "1630:1:0", "subdenomination": null, "typeDescriptions": { "typeIdentifier": "t_rational_0_by_1", "typeString": "int_const 0" }, "value": "0" } ], "expression": { "argumentTypes": [ { "typeIdentifier": "t_rational_0_by_1", "typeString": "int_const 0" } ], "id": 160, "isConstant": false, "isLValue": false, "isPure": true, "lValueRequested": false, "nodeType": "ElementaryTypeNameExpression", "src": "1622:7:0", "typeDescriptions": { "typeIdentifier": "t_type$_t_address_$", "typeString": "type(address)" }, "typeName": "address" }, "id": 162, "isConstant": false, "isLValue": false, "isPure": true, "kind": "typeConversion", "lValueRequested": false, "names": [], "nodeType": "FunctionCall", "src": "1622:10:0", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" } }, "src": "1600:32:0", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" } }, "id": 164, "nodeType": "ExpressionStatement", "src": "1600:32:0" } ] }, "documentation": null, "id": 166, "implemented": true, "isConstructor": false, "isDeclaredConst": false, "modifiers": [], "name": "confirmJob", "nodeType": "FunctionDefinition", "parameters": { "id": 131, "nodeType": "ParameterList", "parameters": [ { "constant": false, "id": 130, "name": "tokenId", "nodeType": "VariableDeclaration", "scope": 166, "src": "1430:15:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" }, "typeName": { "id": 129, "name": "uint256", "nodeType": "ElementaryTypeName", "src": "1430:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, "value": null, "visibility": "internal" } ], "src": "1429:17:0" }, "payable": false, "returnParameters": { "id": 132, "nodeType": "ParameterList", "parameters": [], "src": "1446:0:0" }, "scope": 187, "src": "1410:244:0", "stateMutability": "nonpayable", "superFunction": null, "visibility": "public" }, { "body": { "id": 185, "nodeType": "Block", "src": "1731:88:0", "statements": [ { "assignments": [ 174 ], "declarations": [ { "constant": false, "id": 174, "name": "owner", "nodeType": "VariableDeclaration", "scope": 186, "src": "1741:13:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" }, "typeName": { "id": 173, "name": "address", "nodeType": "ElementaryTypeName", "src": "1741:7:0", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" } }, "value": null, "visibility": "internal" } ], "id": 178, "initialValue": { "argumentTypes": null, "baseExpression": { "argumentTypes": null, "id": 175, "name": "_tokenHold", "nodeType": "Identifier", "overloadedDeclarations": [], "referencedDeclaration": 11, "src": "1757:10:0", "typeDescriptions": { "typeIdentifier": "t_mapping$_t_uint256_$_t_address_$", "typeString": "mapping(uint256 => address)" } }, "id": 177, "indexExpression": { "argumentTypes": null, "id": 176, "name": "tokenId", "nodeType": "Identifier", "overloadedDeclarations": [], "referencedDeclaration": 168, "src": "1768:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, "isConstant": false, "isLValue": true, "isPure": false, "lValueRequested": false, "nodeType": "IndexAccess", "src": "1757:19:0", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" } }, "nodeType": "VariableDeclarationStatement", "src": "1741:35:0" }, { "expression": { "argumentTypes": null, "commonType": { "typeIdentifier": "t_address", "typeString": "address" }, "id": 183, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "leftExpression": { "argumentTypes": null, "id": 179, "name": "owner", "nodeType": "Identifier", "overloadedDeclarations": [], "referencedDeclaration": 174, "src": "1793:5:0", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" } }, "nodeType": "BinaryOperation", "operator": "!=", "rightExpression": { "argumentTypes": null, "arguments": [ { "argumentTypes": null, "hexValue": "30", "id": 181, "isConstant": false, "isLValue": false, "isPure": true, "kind": "number", "lValueRequested": false, "nodeType": "Literal", "src": "1810:1:0", "subdenomination": null, "typeDescriptions": { "typeIdentifier": "t_rational_0_by_1", "typeString": "int_const 0" }, "value": "0" } ], "expression": { "argumentTypes": [ { "typeIdentifier": "t_rational_0_by_1", "typeString": "int_const 0" } ], "id": 180, "isConstant": false, "isLValue": false, "isPure": true, "lValueRequested": false, "nodeType": "ElementaryTypeNameExpression", "src": "1802:7:0", "typeDescriptions": { "typeIdentifier": "t_type$_t_address_$", "typeString": "type(address)" }, "typeName": "address" }, "id": 182, "isConstant": false, "isLValue": false, "isPure": true, "kind": "typeConversion", "lValueRequested": false, "names": [], "nodeType": "FunctionCall", "src": "1802:10:0", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" } }, "src": "1793:19:0", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" } }, "functionReturnParameters": 172, "id": 184, "nodeType": "Return", "src": "1786:26:0" } ] }, "documentation": null, "id": 186, "implemented": true, "isConstructor": false, "isDeclaredConst": false, "modifiers": [], "name": "_onHold", "nodeType": "FunctionDefinition", "parameters": { "id": 169, "nodeType": "ParameterList", "parameters": [ { "constant": false, "id": 168, "name": "tokenId", "nodeType": "VariableDeclaration", "scope": 186, "src": "1701:15:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" }, "typeName": { "id": 167, "name": "uint256", "nodeType": "ElementaryTypeName", "src": "1701:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, "value": null, "visibility": "internal" } ], "src": "1700:17:0" }, "payable": false, "returnParameters": { "id": 172, "nodeType": "ParameterList", "parameters": [ { "constant": false, "id": 171, "name": "", "nodeType": "VariableDeclaration", "scope": 186, "src": "1726:4:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" }, "typeName": { "id": 170, "name": "bool", "nodeType": "ElementaryTypeName", "src": "1726:4:0", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" } }, "value": null, "visibility": "internal" } ], "src": "1725:6:0" }, "scope": 187, "src": "1684:135:0", "stateMutability": "nonpayable", "superFunction": null, "visibility": "public" } ], "scope": 188, "src": "172:1651:0" } ], "src": "0:1823:0" }, "legacyAST": { "absolutePath": "/Users/andrey/Work/blockchain/contracts/DoggyWalkie.sol", "exportedSymbols": { "DoggyWalkie": [ 187 ] }, "id": 188, "nodeType": "SourceUnit", "nodes": [ { "id": 1, "literals": [ "solidity", "^", "0.4", ".24" ], "nodeType": "PragmaDirective", "src": "0:24:0" }, { "absolutePath": "openzeppelin-solidity/contracts/token/ERC721/ERC721Full.sol", "file": "openzeppelin-solidity/contracts/token/ERC721/ERC721Full.sol", "id": 2, "nodeType": "ImportDirective", "scope": 188, "sourceUnit": 1405, "src": "26:69:0", "symbolAliases": [], "unitAlias": "" }, { "absolutePath": "openzeppelin-solidity/contracts/token/ERC721/ERC721Mintable.sol", "file": "openzeppelin-solidity/contracts/token/ERC721/ERC721Mintable.sol", "id": 3, "nodeType": "ImportDirective", "scope": 188, "sourceUnit": 1631, "src": "96:73:0", "symbolAliases": [], "unitAlias": "" }, { "baseContracts": [ { "arguments": null, "baseName": { "contractScope": null, "id": 4, "name": "ERC721Full", "nodeType": "UserDefinedTypeName", "referencedDeclaration": 1404, "src": "196:10:0", "typeDescriptions": { "typeIdentifier": "t_contract$_ERC721Full_$1404", "typeString": "contract ERC721Full" } }, "id": 5, "nodeType": "InheritanceSpecifier", "src": "196:10:0" }, { "arguments": null, "baseName": { "contractScope": null, "id": 6, "name": "ERC721Mintable", "nodeType": "UserDefinedTypeName", "referencedDeclaration": 1630, "src": "208:14:0", "typeDescriptions": { "typeIdentifier": "t_contract$_ERC721Mintable_$1630", "typeString": "contract ERC721Mintable" } }, "id": 7, "nodeType": "InheritanceSpecifier", "src": "208:14:0" } ], "contractDependencies": [ 363, 414, 424, 1097, 1380, 1404, 1531, 1630, 1733, 1760, 1783 ], "contractKind": "contract", "documentation": null, "fullyImplemented": true, "id": 187, "linearizedBaseContracts": [ 187, 1630, 363, 1404, 1531, 1783, 1380, 1760, 1097, 1733, 414, 424 ], "name": "DoggyWalkie", "nodeType": "ContractDefinition", "nodes": [ { "constant": false, "id": 11, "name": "_tokenHold", "nodeType": "VariableDeclaration", "scope": 187, "src": "285:47:0", "stateVariable": true, "storageLocation": "default", "typeDescriptions": { "typeIdentifier": "t_mapping$_t_uint256_$_t_address_$", "typeString": "mapping(uint256 => address)" }, "typeName": { "id": 10, "keyType": { "id": 8, "name": "uint256", "nodeType": "ElementaryTypeName", "src": "294:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, "nodeType": "Mapping", "src": "285:28:0", "typeDescriptions": { "typeIdentifier": "t_mapping$_t_uint256_$_t_address_$", "typeString": "mapping(uint256 => address)" }, "valueType": { "id": 9, "name": "address", "nodeType": "ElementaryTypeName", "src": "305:7:0", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" } } }, "value": null, "visibility": "private" }, { "constant": false, "id": 15, "name": "_tokenPrice", "nodeType": "VariableDeclaration", "scope": 187, "src": "338:48:0", "stateVariable": true, "storageLocation": "default", "typeDescriptions": { "typeIdentifier": "t_mapping$_t_uint256_$_t_uint256_$", "typeString": "mapping(uint256 => uint256)" }, "typeName": { "id": 14, "keyType": { "id": 12, "name": "uint256", "nodeType": "ElementaryTypeName", "src": "347:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, "nodeType": "Mapping", "src": "338:28:0", "typeDescriptions": { "typeIdentifier": "t_mapping$_t_uint256_$_t_uint256_$", "typeString": "mapping(uint256 => uint256)" }, "valueType": { "id": 13, "name": "uint256", "nodeType": "ElementaryTypeName", "src": "358:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } } }, "value": null, "visibility": "private" }, { "body": { "id": 22, "nodeType": "Block", "src": "449:7:0", "statements": [] }, "documentation": null, "id": 23, "implemented": true, "isConstructor": true, "isDeclaredConst": false, "modifiers": [ { "arguments": [ { "argumentTypes": null, "hexValue": "446f67677957616c6b6965", "id": 18, "isConstant": false, "isLValue": false, "isPure": true, "kind": "string", "lValueRequested": false, "nodeType": "Literal", "src": "418:13:0", "subdenomination": null, "typeDescriptions": { "typeIdentifier": "t_stringliteral_524978cf44b09de4cdc7b59881dfb11791bbb7e35235b460140013bb324f0cee", "typeString": "literal_string \"DoggyWalkie\"" }, "value": "DoggyWalkie" }, { "argumentTypes": null, "hexValue": "444f474759", "id": 19, "isConstant": false, "isLValue": false, "isPure": true, "kind": "string", "lValueRequested": false, "nodeType": "Literal", "src": "433:7:0", "subdenomination": null, "typeDescriptions": { "typeIdentifier": "t_stringliteral_70e6d8221d8b4d23c40ba6513b8f5904e198d84579cc6ee9c27e7557297846b6", "typeString": "literal_string \"DOGGY\"" }, "value": "DOGGY" } ], "id": 20, "modifierName": { "argumentTypes": null, "id": 17, "name": "ERC721Full", "nodeType": "Identifier", "overloadedDeclarations": [], "referencedDeclaration": 1404, "src": "407:10:0", "typeDescriptions": { "typeIdentifier": "t_type$_t_contract$_ERC721Full_$1404_$", "typeString": "type(contract ERC721Full)" } }, "nodeType": "ModifierInvocation", "src": "407:34:0" } ], "name": "", "nodeType": "FunctionDefinition", "parameters": { "id": 16, "nodeType": "ParameterList", "parameters": [], "src": "404:2:0" }, "payable": false, "returnParameters": { "id": 21, "nodeType": "ParameterList", "parameters": [], "src": "449:0:0" }, "scope": 187, "src": "393:63:0", "stateMutability": "nonpayable", "superFunction": null, "visibility": "public" }, { "body": { "id": 26, "nodeType": "Block", "src": "502:18:0", "statements": [ { "id": 25, "nodeType": "PlaceholderStatement", "src": "512:1:0" } ] }, "documentation": null, "id": 27, "name": "onlyMinter", "nodeType": "ModifierDefinition", "parameters": { "id": 24, "nodeType": "ParameterList", "parameters": [], "src": "499:2:0" }, "src": "480:40:0", "visibility": "internal" }, { "body": { "id": 34, "nodeType": "Block", "src": "616:29:0", "statements": [ { "expression": { "argumentTypes": null, "hexValue": "66616c7365", "id": 32, "isConstant": false, "isLValue": false, "isPure": true, "kind": "bool", "lValueRequested": false, "nodeType": "Literal", "src": "633:5:0", "subdenomination": null, "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" }, "value": "false" }, "functionReturnParameters": 31, "id": 33, "nodeType": "Return", "src": "626:12:0" } ] }, "documentation": null, "id": 35, "implemented": true, "isConstructor": false, "isDeclaredConst": false, "modifiers": [], "name": "finishMinting", "nodeType": "FunctionDefinition", "parameters": { "id": 28, "nodeType": "ParameterList", "parameters": [], "src": "579:2:0" }, "payable": false, "returnParameters": { "id": 31, "nodeType": "ParameterList", "parameters": [ { "constant": false, "id": 30, "name": "", "nodeType": "VariableDeclaration", "scope": 35, "src": "606:4:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" }, "typeName": { "id": 29, "name": "bool", "nodeType": "ElementaryTypeName", "src": "606:4:0", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" } }, "value": null, "visibility": "internal" } ], "src": "605:6:0" }, "scope": 187, "src": "557:88:0", "stateMutability": "nonpayable", "superFunction": 1629, "visibility": "public" }, { "body": { "id": 105, "nodeType": "Block", "src": "737:402:0", "statements": [ { "expression": { "argumentTypes": null, "arguments": [ { "argumentTypes": null, "arguments": [ { "argumentTypes": null, "id": 44, "name": "tokenId", "nodeType": "Identifier", "overloadedDeclarations": [], "referencedDeclaration": 37, "src": "768:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } } ], "expression": { "argumentTypes": [ { "typeIdentifier": "t_uint256", "typeString": "uint256" } ], "id": 43, "name": "ownerOf", "nodeType": "Identifier", "overloadedDeclarations": [ 645 ], "referencedDeclaration": 645, "src": "760:7:0", "typeDescriptions": { "typeIdentifier": "t_function_internal_view$_t_uint256_$returns$_t_address_$", "typeString": "function (uint256) view returns (address)" } }, "id": 45, "isConstant": false, "isLValue": false, "isPure": false, "kind": "functionCall", "lValueRequested": false, "names": [], "nodeType": "FunctionCall", "src": "760:16:0", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" } }, { "argumentTypes": null, "expression": { "argumentTypes": null, "id": 46, "name": "msg", "nodeType": "Identifier", "overloadedDeclarations": [], "referencedDeclaration": 1833, "src": "777:3:0", "typeDescriptions": { "typeIdentifier": "t_magic_message", "typeString": "msg" } }, "id": 47, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "memberName": "sender", "nodeType": "MemberAccess", "referencedDeclaration": null, "src": "777:10:0", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" } }, { "argumentTypes": null, "id": 48, "name": "tokenId", "nodeType": "Identifier", "overloadedDeclarations": [], "referencedDeclaration": 37, "src": "788:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } } ], "expression": { "argumentTypes": [ { "typeIdentifier": "t_address", "typeString": "address" }, { "typeIdentifier": "t_address", "typeString": "address" }, { "typeIdentifier": "t_uint256", "typeString": "uint256" } ], "id": 42, "name": "transferFrom", "nodeType": "Identifier", "overloadedDeclarations": [ 802 ], "referencedDeclaration": 802, "src": "747:12:0", "typeDescriptions": { "typeIdentifier": "t_function_internal_nonpayable$_t_address_$_t_address_$_t_uint256_$returns$__$", "typeString": "function (address,address,uint256)" } }, "id": 49, "isConstant": false, "isLValue": false, "isPure": false, "kind": "functionCall", "lValueRequested": false, "names": [], "nodeType": "FunctionCall", "src": "747:49:0", "typeDescriptions": { "typeIdentifier": "t_tuple$__$", "typeString": "tuple()" } }, "id": 50, "nodeType": "ExpressionStatement", "src": "747:49:0" }, { "expression": { "argumentTypes": null, "arguments": [ { "argumentTypes": null, "arguments": [ { "argumentTypes": null, "id": 53, "name": "tokenId", "nodeType": "Identifier", "overloadedDeclarations": [], "referencedDeclaration": 37, "src": "822:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } } ], "expression": { "argumentTypes": [ { "typeIdentifier": "t_uint256", "typeString": "uint256" } ], "id": 52, "name": "_exists", "nodeType": "Identifier", "overloadedDeclarations": [], "referencedDeclaration": 866, "src": "814:7:0", "typeDescriptions": { "typeIdentifier": "t_function_internal_view$_t_uint256_$returns$_t_bool_$", "typeString": "function (uint256) view returns (bool)" } }, "id": 54, "isConstant": false, "isLValue": false, "isPure": false, "kind": "functionCall", "lValueRequested": false, "names": [], "nodeType": "FunctionCall", "src": "814:16:0", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" } } ], "expression": { "argumentTypes": [ { "typeIdentifier": "t_bool", "typeString": "bool" } ], "id": 51, "name": "require", "nodeType": "Identifier", "overloadedDeclarations": [ 1836, 1837 ], "referencedDeclaration": 1836, "src": "806:7:0", "typeDescriptions": { "typeIdentifier": "t_function_require_pure$_t_bool_$returns$__$", "typeString": "function (bool) pure" } }, "id": 55, "isConstant": false, "isLValue": false, "isPure": false, "kind": "functionCall", "lValueRequested": false, "names": [], "nodeType": "FunctionCall", "src": "806:25:0", "typeDescriptions": { "typeIdentifier": "t_tuple$__$", "typeString": "tuple()" } }, "id": 56, "nodeType": "ExpressionStatement", "src": "806:25:0" }, { "expression": { "argumentTypes": null, "arguments": [ { "argumentTypes": null, "commonType": { "typeIdentifier": "t_bool", "typeString": "bool" }, "id": 62, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "leftExpression": { "argumentTypes": null, "arguments": [ { "argumentTypes": null, "id": 59, "name": "tokenId", "nodeType": "Identifier", "overloadedDeclarations": [], "referencedDeclaration": 37, "src": "857:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } } ], "expression": { "argumentTypes": [ { "typeIdentifier": "t_uint256", "typeString": "uint256" } ], "id": 58, "name": "_onHold", "nodeType": "Identifier", "overloadedDeclarations": [], "referencedDeclaration": 186, "src": "849:7:0", "typeDescriptions": { "typeIdentifier": "t_function_internal_nonpayable$_t_uint256_$returns$_t_bool_$", "typeString": "function (uint256) returns (bool)" } }, "id": 60, "isConstant": false, "isLValue": false, "isPure": false, "kind": "functionCall", "lValueRequested": false, "names": [], "nodeType": "FunctionCall", "src": "849:16:0", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" } }, "nodeType": "BinaryOperation", "operator": "!=", "rightExpression": { "argumentTypes": null, "hexValue": "66616c7365", "id": 61, "isConstant": false, "isLValue": false, "isPure": true, "kind": "bool", "lValueRequested": false, "nodeType": "Literal", "src": "869:5:0", "subdenomination": null, "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" }, "value": "false" }, "src": "849:25:0", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" } } ], "expression": { "argumentTypes": [ { "typeIdentifier": "t_bool", "typeString": "bool" } ], "id": 57, "name": "require", "nodeType": "Identifier", "overloadedDeclarations": [ 1836, 1837 ], "referencedDeclaration": 1836, "src": "841:7:0", "typeDescriptions": { "typeIdentifier": "t_function_require_pure$_t_bool_$returns$__$", "typeString": "function (bool) pure" } }, "id": 63, "isConstant": false, "isLValue": false, "isPure": false, "kind": "functionCall", "lValueRequested": false, "names": [], "nodeType": "FunctionCall", "src": "841:34:0", "typeDescriptions": { "typeIdentifier": "t_tuple$__$", "typeString": "tuple()" } }, "id": 64, "nodeType": "ExpressionStatement", "src": "841:34:0" }, { "expression": { "argumentTypes": null, "arguments": [ { "argumentTypes": null, "commonType": { "typeIdentifier": "t_address", "typeString": "address" }, "id": 71, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "leftExpression": { "argumentTypes": null, "expression": { "argumentTypes": null, "id": 66, "name": "msg", "nodeType": "Identifier", "overloadedDeclarations": [], "referencedDeclaration": 1833, "src": "893:3:0", "typeDescriptions": { "typeIdentifier": "t_magic_message", "typeString": "msg" } }, "id": 67, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "memberName": "sender", "nodeType": "MemberAccess", "referencedDeclaration": null, "src": "893:10:0", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" } }, "nodeType": "BinaryOperation", "operator": "!=", "rightExpression": { "argumentTypes": null, "arguments": [ { "argumentTypes": null, "hexValue": "30", "id": 69, "isConstant": false, "isLValue": false, "isPure": true, "kind": "number", "lValueRequested": false, "nodeType": "Literal", "src": "915:1:0", "subdenomination": null, "typeDescriptions": { "typeIdentifier": "t_rational_0_by_1", "typeString": "int_const 0" }, "value": "0" } ], "expression": { "argumentTypes": [ { "typeIdentifier": "t_rational_0_by_1", "typeString": "int_const 0" } ], "id": 68, "isConstant": false, "isLValue": false, "isPure": true, "lValueRequested": false, "nodeType": "ElementaryTypeNameExpression", "src": "907:7:0", "typeDescriptions": { "typeIdentifier": "t_type$_t_address_$", "typeString": "type(address)" }, "typeName": "address" }, "id": 70, "isConstant": false, "isLValue": false, "isPure": true, "kind": "typeConversion", "lValueRequested": false, "names": [], "nodeType": "FunctionCall", "src": "907:10:0", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" } }, "src": "893:24:0", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" } } ], "expression": { "argumentTypes": [ { "typeIdentifier": "t_bool", "typeString": "bool" } ], "id": 65, "name": "require", "nodeType": "Identifier", "overloadedDeclarations": [ 1836, 1837 ], "referencedDeclaration": 1836, "src": "885:7:0", "typeDescriptions": { "typeIdentifier": "t_function_require_pure$_t_bool_$returns$__$", "typeString": "function (bool) pure" } }, "id": 72, "isConstant": false, "isLValue": false, "isPure": false, "kind": "functionCall", "lValueRequested": false, "names": [], "nodeType": "FunctionCall", "src": "885:33:0", "typeDescriptions": { "typeIdentifier": "t_tuple$__$", "typeString": "tuple()" } }, "id": 73, "nodeType": "ExpressionStatement", "src": "885:33:0" }, { "expression": { "argumentTypes": null, "arguments": [ { "argumentTypes": null, "arguments": [ { "argumentTypes": null, "id": 76, "name": "tokenId", "nodeType": "Identifier", "overloadedDeclarations": [], "referencedDeclaration": 37, "src": "953:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } } ], "expression": { "argumentTypes": [ { "typeIdentifier": "t_uint256", "typeString": "uint256" } ], "id": 75, "name": "ownerOf", "nodeType": "Identifier", "overloadedDeclarations": [ 645 ], "referencedDeclaration": 645, "src": "945:7:0", "typeDescriptions": { "typeIdentifier": "t_function_internal_view$_t_uint256_$returns$_t_address_$", "typeString": "function (uint256) view returns (address)" } }, "id": 77, "isConstant": false, "isLValue": false, "isPure": false, "kind": "functionCall", "lValueRequested": false, "names": [], "nodeType": "FunctionCall", "src": "945:16:0", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" } }, { "argumentTypes": null, "id": 78, "name": "tokenId", "nodeType": "Identifier", "overloadedDeclarations": [], "referencedDeclaration": 37, "src": "963:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } } ], "expression": { "argumentTypes": [ { "typeIdentifier": "t_address", "typeString": "address" }, { "typeIdentifier": "t_uint256", "typeString": "uint256" } ], "id": 74, "name": "_removeTokenFrom", "nodeType": "Identifier", "overloadedDeclarations": [ 1287 ], "referencedDeclaration": 1287, "src": "928:16:0", "typeDescriptions": { "typeIdentifier": "t_function_internal_nonpayable$_t_address_$_t_uint256_$returns$__$", "typeString": "function (address,uint256)" } }, "id": 79, "isConstant": false, "isLValue": false, "isPure": false, "kind": "functionCall", "lValueRequested": false, "names": [], "nodeType": "FunctionCall", "src": "928:43:0", "typeDescriptions": { "typeIdentifier": "t_tuple$__$", "typeString": "tuple()" } }, "id": 80, "nodeType": "ExpressionStatement", "src": "928:43:0" }, { "expression": { "argumentTypes": null, "arguments": [ { "argumentTypes": null, "expression": { "argumentTypes": null, "id": 82, "name": "msg", "nodeType": "Identifier", "overloadedDeclarations": [], "referencedDeclaration": 1833, "src": "993:3:0", "typeDescriptions": { "typeIdentifier": "t_magic_message", "typeString": "msg" } }, "id": 83, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "memberName": "sender", "nodeType": "MemberAccess", "referencedDeclaration": null, "src": "993:10:0", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" } }, { "argumentTypes": null, "id": 84, "name": "tokenId", "nodeType": "Identifier", "overloadedDeclarations": [], "referencedDeclaration": 37, "src": "1005:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } } ], "expression": { "argumentTypes": [ { "typeIdentifier": "t_address", "typeString": "address" }, { "typeIdentifier": "t_uint256", "typeString": "uint256" } ], "id": 81, "name": "_addTokenTo", "nodeType": "Identifier", "overloadedDeclarations": [ 1222 ], "referencedDeclaration": 1222, "src": "981:11:0", "typeDescriptions": { "typeIdentifier": "t_function_internal_nonpayable$_t_address_$_t_uint256_$returns$__$", "typeString": "function (address,uint256)" } }, "id": 85, "isConstant": false, "isLValue": false, "isPure": false, "kind": "functionCall", "lValueRequested": false, "names": [], "nodeType": "FunctionCall", "src": "981:32:0", "typeDescriptions": { "typeIdentifier": "t_tuple$__$", "typeString": "tuple()" } }, "id": 86, "nodeType": "ExpressionStatement", "src": "981:32:0" }, { "expression": { "argumentTypes": null, "arguments": [ { "argumentTypes": null, "id": 88, "name": "tokenId", "nodeType": "Identifier", "overloadedDeclarations": [], "referencedDeclaration": 37, "src": "1034:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, { "argumentTypes": null, "arguments": [ { "argumentTypes": null, "id": 90, "name": "tokenId", "nodeType": "Identifier", "overloadedDeclarations": [], "referencedDeclaration": 37, "src": "1050:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } } ], "expression": { "argumentTypes": [ { "typeIdentifier": "t_uint256", "typeString": "uint256" } ], "id": 89, "name": "ownerOf", "nodeType": "Identifier", "overloadedDeclarations": [ 645 ], "referencedDeclaration": 645, "src": "1042:7:0", "typeDescriptions": { "typeIdentifier": "t_function_internal_view$_t_uint256_$returns$_t_address_$", "typeString": "function (uint256) view returns (address)" } }, "id": 91, "isConstant": false, "isLValue": false, "isPure": false, "kind": "functionCall", "lValueRequested": false, "names": [], "nodeType": "FunctionCall", "src": "1042:16:0", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" } }, { "argumentTypes": null, "expression": { "argumentTypes": null, "id": 92, "name": "msg", "nodeType": "Identifier", "overloadedDeclarations": [], "referencedDeclaration": 1833, "src": "1060:3:0", "typeDescriptions": { "typeIdentifier": "t_magic_message", "typeString": "msg" } }, "id": 93, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "memberName": "value", "nodeType": "MemberAccess", "referencedDeclaration": null, "src": "1060:9:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } } ], "expression": { "argumentTypes": [ { "typeIdentifier": "t_uint256", "typeString": "uint256" }, { "typeIdentifier": "t_address", "typeString": "address" }, { "typeIdentifier": "t_uint256", "typeString": "uint256" } ], "id": 87, "name": "addToHold", "nodeType": "Identifier", "overloadedDeclarations": [], "referencedDeclaration": 128, "src": "1024:9:0", "typeDescriptions": { "typeIdentifier": "t_function_internal_nonpayable$_t_uint256_$_t_address_$_t_uint256_$returns$__$", "typeString": "function (uint256,address,uint256)" } }, "id": 94, "isConstant": false, "isLValue": false, "isPure": false, "kind": "functionCall", "lValueRequested": false, "names": [], "nodeType": "FunctionCall", "src": "1024:46:0", "typeDescriptions": { "typeIdentifier": "t_tuple$__$", "typeString": "tuple()" } }, "id": 95, "nodeType": "ExpressionStatement", "src": "1024:46:0" }, { "eventCall": { "argumentTypes": null, "arguments": [ { "argumentTypes": null, "arguments": [ { "argumentTypes": null, "id": 98, "name": "tokenId", "nodeType": "Identifier", "overloadedDeclarations": [], "referencedDeclaration": 37, "src": "1102:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } } ], "expression": { "argumentTypes": [ { "typeIdentifier": "t_uint256", "typeString": "uint256" } ], "id": 97, "name": "ownerOf", "nodeType": "Identifier", "overloadedDeclarations": [ 645 ], "referencedDeclaration": 645, "src": "1094:7:0", "typeDescriptions": { "typeIdentifier": "t_function_internal_view$_t_uint256_$returns$_t_address_$", "typeString": "function (uint256) view returns (address)" } }, "id": 99, "isConstant": false, "isLValue": false, "isPure": false, "kind": "functionCall", "lValueRequested": false, "names": [], "nodeType": "FunctionCall", "src": "1094:16:0", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" } }, { "argumentTypes": null, "expression": { "argumentTypes": null, "id": 100, "name": "msg", "nodeType": "Identifier", "overloadedDeclarations": [], "referencedDeclaration": 1833, "src": "1112:3:0", "typeDescriptions": { "typeIdentifier": "t_magic_message", "typeString": "msg" } }, "id": 101, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "memberName": "sender", "nodeType": "MemberAccess", "referencedDeclaration": null, "src": "1112:10:0", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" } }, { "argumentTypes": null, "id": 102, "name": "tokenId", "nodeType": "Identifier", "overloadedDeclarations": [], "referencedDeclaration": 37, "src": "1124:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } } ], "expression": { "argumentTypes": [ { "typeIdentifier": "t_address", "typeString": "address" }, { "typeIdentifier": "t_address", "typeString": "address" }, { "typeIdentifier": "t_uint256", "typeString": "uint256" } ], "id": 96, "name": "Transfer", "nodeType": "Identifier", "overloadedDeclarations": [], "referencedDeclaration": 1643, "src": "1085:8:0", "typeDescriptions": { "typeIdentifier": "t_function_event_nonpayable$_t_address_$_t_address_$_t_uint256_$returns$__$", "typeString": "function (address,address,uint256)" } }, "id": 103, "isConstant": false, "isLValue": false, "isPure": false, "kind": "functionCall", "lValueRequested": false, "names": [], "nodeType": "FunctionCall", "src": "1085:47:0", "typeDescriptions": { "typeIdentifier": "t_tuple$__$", "typeString": "tuple()" } }, "id": 104, "nodeType": "EmitStatement", "src": "1080:52:0" } ] }, "documentation": null, "id": 106, "implemented": true, "isConstructor": false, "isDeclaredConst": false, "modifiers": [], "name": "purchaseToken", "nodeType": "FunctionDefinition", "parameters": { "id": 38, "nodeType": "ParameterList", "parameters": [ { "constant": false, "id": 37, "name": "tokenId", "nodeType": "VariableDeclaration", "scope": 106, "src": "674:15:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" }, "typeName": { "id": 36, "name": "uint256", "nodeType": "ElementaryTypeName", "src": "674:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, "value": null, "visibility": "internal" } ], "src": "673:17:0" }, "payable": true, "returnParameters": { "id": 41, "nodeType": "ParameterList", "parameters": [ { "constant": false, "id": 40, "name": "", "nodeType": "VariableDeclaration", "scope": 106, "src": "727:4:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" }, "typeName": { "id": 39, "name": "bool", "nodeType": "ElementaryTypeName", "src": "727:4:0", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" } }, "value": null, "visibility": "internal" } ], "src": "726:6:0" }, "scope": 187, "src": "651:488:0", "stateMutability": "payable", "superFunction": null, "visibility": "public" }, { "body": { "id": 127, "nodeType": "Block", "src": "1261:82:0", "statements": [ { "expression": { "argumentTypes": null, "id": 119, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "leftHandSide": { "argumentTypes": null, "baseExpression": { "argumentTypes": null, "id": 115, "name": "_tokenPrice", "nodeType": "Identifier", "overloadedDeclarations": [], "referencedDeclaration": 15, "src": "1271:11:0", "typeDescriptions": { "typeIdentifier": "t_mapping$_t_uint256_$_t_uint256_$", "typeString": "mapping(uint256 => uint256)" } }, "id": 117, "indexExpression": { "argumentTypes": null, "id": 116, "name": "tokenId", "nodeType": "Identifier", "overloadedDeclarations": [], "referencedDeclaration": 108, "src": "1283:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, "isConstant": false, "isLValue": true, "isPure": false, "lValueRequested": true, "nodeType": "IndexAccess", "src": "1271:20:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, "nodeType": "Assignment", "operator": "=", "rightHandSide": { "argumentTypes": null, "id": 118, "name": "price", "nodeType": "Identifier", "overloadedDeclarations": [], "referencedDeclaration": 112, "src": "1294:5:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, "src": "1271:28:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, "id": 120, "nodeType": "ExpressionStatement", "src": "1271:28:0" }, { "expression": { "argumentTypes": null, "id": 125, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "leftHandSide": { "argumentTypes": null, "baseExpression": { "argumentTypes": null, "id": 121, "name": "_tokenHold", "nodeType": "Identifier", "overloadedDeclarations": [], "referencedDeclaration": 11, "src": "1309:10:0", "typeDescriptions": { "typeIdentifier": "t_mapping$_t_uint256_$_t_address_$", "typeString": "mapping(uint256 => address)" } }, "id": 123, "indexExpression": { "argumentTypes": null, "id": 122, "name": "tokenId", "nodeType": "Identifier", "overloadedDeclarations": [], "referencedDeclaration": 108, "src": "1320:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, "isConstant": false, "isLValue": true, "isPure": false, "lValueRequested": true, "nodeType": "IndexAccess", "src": "1309:19:0", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" } }, "nodeType": "Assignment", "operator": "=", "rightHandSide": { "argumentTypes": null, "id": 124, "name": "from", "nodeType": "Identifier", "overloadedDeclarations": [], "referencedDeclaration": 110, "src": "1331:4:0", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" } }, "src": "1309:26:0", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" } }, "id": 126, "nodeType": "ExpressionStatement", "src": "1309:26:0" } ] }, "documentation": null, "id": 128, "implemented": true, "isConstructor": false, "isDeclaredConst": false, "modifiers": [], "name": "addToHold", "nodeType": "FunctionDefinition", "parameters": { "id": 113, "nodeType": "ParameterList", "parameters": [ { "constant": false, "id": 108, "name": "tokenId", "nodeType": "VariableDeclaration", "scope": 128, "src": "1216:15:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" }, "typeName": { "id": 107, "name": "uint256", "nodeType": "ElementaryTypeName", "src": "1216:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, "value": null, "visibility": "internal" }, { "constant": false, "id": 110, "name": "from", "nodeType": "VariableDeclaration", "scope": 128, "src": "1233:12:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" }, "typeName": { "id": 109, "name": "address", "nodeType": "ElementaryTypeName", "src": "1233:7:0", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" } }, "value": null, "visibility": "internal" }, { "constant": false, "id": 112, "name": "price", "nodeType": "VariableDeclaration", "scope": 128, "src": "1247:13:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" }, "typeName": { "id": 111, "name": "uint256", "nodeType": "ElementaryTypeName", "src": "1247:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, "value": null, "visibility": "internal" } ], "src": "1215:46:0" }, "payable": false, "returnParameters": { "id": 114, "nodeType": "ParameterList", "parameters": [], "src": "1261:0:0" }, "scope": 187, "src": "1197:146:0", "stateMutability": "nonpayable", "superFunction": null, "visibility": "public" }, { "body": { "id": 165, "nodeType": "Block", "src": "1446:208:0", "statements": [ { "expression": { "argumentTypes": null, "arguments": [ { "argumentTypes": null, "arguments": [ { "argumentTypes": null, "id": 135, "name": "tokenId", "nodeType": "Identifier", "overloadedDeclarations": [], "referencedDeclaration": 130, "src": "1472:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } } ], "expression": { "argumentTypes": [ { "typeIdentifier": "t_uint256", "typeString": "uint256" } ], "id": 134, "name": "_onHold", "nodeType": "Identifier", "overloadedDeclarations": [], "referencedDeclaration": 186, "src": "1464:7:0", "typeDescriptions": { "typeIdentifier": "t_function_internal_nonpayable$_t_uint256_$returns$_t_bool_$", "typeString": "function (uint256) returns (bool)" } }, "id": 136, "isConstant": false, "isLValue": false, "isPure": false, "kind": "functionCall", "lValueRequested": false, "names": [], "nodeType": "FunctionCall", "src": "1464:16:0", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" } } ], "expression": { "argumentTypes": [ { "typeIdentifier": "t_bool", "typeString": "bool" } ], "id": 133, "name": "require", "nodeType": "Identifier", "overloadedDeclarations": [ 1836, 1837 ], "referencedDeclaration": 1836, "src": "1456:7:0", "typeDescriptions": { "typeIdentifier": "t_function_require_pure$_t_bool_$returns$__$", "typeString": "function (bool) pure" } }, "id": 137, "isConstant": false, "isLValue": false, "isPure": false, "kind": "functionCall", "lValueRequested": false, "names": [], "nodeType": "FunctionCall", "src": "1456:25:0", "typeDescriptions": { "typeIdentifier": "t_tuple$__$", "typeString": "tuple()" } }, "id": 138, "nodeType": "ExpressionStatement", "src": "1456:25:0" }, { "expression": { "argumentTypes": null, "arguments": [ { "argumentTypes": null, "commonType": { "typeIdentifier": "t_address", "typeString": "address" }, "id": 145, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "leftExpression": { "argumentTypes": null, "arguments": [ { "argumentTypes": null, "id": 141, "name": "tokenId", "nodeType": "Identifier", "overloadedDeclarations": [], "referencedDeclaration": 130, "src": "1507:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } } ], "expression": { "argumentTypes": [ { "typeIdentifier": "t_uint256", "typeString": "uint256" } ], "id": 140, "name": "ownerOf", "nodeType": "Identifier", "overloadedDeclarations": [ 645 ], "referencedDeclaration": 645, "src": "1499:7:0", "typeDescriptions": { "typeIdentifier": "t_function_internal_view$_t_uint256_$returns$_t_address_$", "typeString": "function (uint256) view returns (address)" } }, "id": 142, "isConstant": false, "isLValue": false, "isPure": false, "kind": "functionCall", "lValueRequested": false, "names": [], "nodeType": "FunctionCall", "src": "1499:16:0", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" } }, "nodeType": "BinaryOperation", "operator": "==", "rightExpression": { "argumentTypes": null, "expression": { "argumentTypes": null, "id": 143, "name": "msg", "nodeType": "Identifier", "overloadedDeclarations": [], "referencedDeclaration": 1833, "src": "1519:3:0", "typeDescriptions": { "typeIdentifier": "t_magic_message", "typeString": "msg" } }, "id": 144, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "memberName": "sender", "nodeType": "MemberAccess", "referencedDeclaration": null, "src": "1519:10:0", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" } }, "src": "1499:30:0", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" } } ], "expression": { "argumentTypes": [ { "typeIdentifier": "t_bool", "typeString": "bool" } ], "id": 139, "name": "require", "nodeType": "Identifier", "overloadedDeclarations": [ 1836, 1837 ], "referencedDeclaration": 1836, "src": "1491:7:0", "typeDescriptions": { "typeIdentifier": "t_function_require_pure$_t_bool_$returns$__$", "typeString": "function (bool) pure" } }, "id": 146, "isConstant": false, "isLValue": false, "isPure": false, "kind": "functionCall", "lValueRequested": false, "names": [], "nodeType": "FunctionCall", "src": "1491:39:0", "typeDescriptions": { "typeIdentifier": "t_tuple$__$", "typeString": "tuple()" } }, "id": 147, "nodeType": "ExpressionStatement", "src": "1491:39:0" }, { "expression": { "argumentTypes": null, "arguments": [ { "argumentTypes": null, "baseExpression": { "argumentTypes": null, "id": 152, "name": "_tokenPrice", "nodeType": "Identifier", "overloadedDeclarations": [], "referencedDeclaration": 15, "src": "1569:11:0", "typeDescriptions": { "typeIdentifier": "t_mapping$_t_uint256_$_t_uint256_$", "typeString": "mapping(uint256 => uint256)" } }, "id": 154, "indexExpression": { "argumentTypes": null, "id": 153, "name": "tokenId", "nodeType": "Identifier", "overloadedDeclarations": [], "referencedDeclaration": 130, "src": "1581:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, "isConstant": false, "isLValue": true, "isPure": false, "lValueRequested": false, "nodeType": "IndexAccess", "src": "1569:20:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } } ], "expression": { "argumentTypes": [ { "typeIdentifier": "t_uint256", "typeString": "uint256" } ], "expression": { "argumentTypes": null, "baseExpression": { "argumentTypes": null, "id": 148, "name": "_tokenHold", "nodeType": "Identifier", "overloadedDeclarations": [], "referencedDeclaration": 11, "src": "1540:10:0", "typeDescriptions": { "typeIdentifier": "t_mapping$_t_uint256_$_t_address_$", "typeString": "mapping(uint256 => address)" } }, "id": 150, "indexExpression": { "argumentTypes": null, "id": 149, "name": "tokenId", "nodeType": "Identifier", "overloadedDeclarations": [], "referencedDeclaration": 130, "src": "1551:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, "isConstant": false, "isLValue": true, "isPure": false, "lValueRequested": false, "nodeType": "IndexAccess", "src": "1540:19:0", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" } }, "id": 151, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "memberName": "transfer", "nodeType": "MemberAccess", "referencedDeclaration": null, "src": "1540:28:0", "typeDescriptions": { "typeIdentifier": "t_function_transfer_nonpayable$_t_uint256_$returns$__$", "typeString": "function (uint256)" } }, "id": 155, "isConstant": false, "isLValue": false, "isPure": false, "kind": "functionCall", "lValueRequested": false, "names": [], "nodeType": "FunctionCall", "src": "1540:50:0", "typeDescriptions": { "typeIdentifier": "t_tuple$__$", "typeString": "tuple()" } }, "id": 156, "nodeType": "ExpressionStatement", "src": "1540:50:0" }, { "expression": { "argumentTypes": null, "id": 163, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "leftHandSide": { "argumentTypes": null, "baseExpression": { "argumentTypes": null, "id": 157, "name": "_tokenHold", "nodeType": "Identifier", "overloadedDeclarations": [], "referencedDeclaration": 11, "src": "1600:10:0", "typeDescriptions": { "typeIdentifier": "t_mapping$_t_uint256_$_t_address_$", "typeString": "mapping(uint256 => address)" } }, "id": 159, "indexExpression": { "argumentTypes": null, "id": 158, "name": "tokenId", "nodeType": "Identifier", "overloadedDeclarations": [], "referencedDeclaration": 130, "src": "1611:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, "isConstant": false, "isLValue": true, "isPure": false, "lValueRequested": true, "nodeType": "IndexAccess", "src": "1600:19:0", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" } }, "nodeType": "Assignment", "operator": "=", "rightHandSide": { "argumentTypes": null, "arguments": [ { "argumentTypes": null, "hexValue": "30", "id": 161, "isConstant": false, "isLValue": false, "isPure": true, "kind": "number", "lValueRequested": false, "nodeType": "Literal", "src": "1630:1:0", "subdenomination": null, "typeDescriptions": { "typeIdentifier": "t_rational_0_by_1", "typeString": "int_const 0" }, "value": "0" } ], "expression": { "argumentTypes": [ { "typeIdentifier": "t_rational_0_by_1", "typeString": "int_const 0" } ], "id": 160, "isConstant": false, "isLValue": false, "isPure": true, "lValueRequested": false, "nodeType": "ElementaryTypeNameExpression", "src": "1622:7:0", "typeDescriptions": { "typeIdentifier": "t_type$_t_address_$", "typeString": "type(address)" }, "typeName": "address" }, "id": 162, "isConstant": false, "isLValue": false, "isPure": true, "kind": "typeConversion", "lValueRequested": false, "names": [], "nodeType": "FunctionCall", "src": "1622:10:0", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" } }, "src": "1600:32:0", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" } }, "id": 164, "nodeType": "ExpressionStatement", "src": "1600:32:0" } ] }, "documentation": null, "id": 166, "implemented": true, "isConstructor": false, "isDeclaredConst": false, "modifiers": [], "name": "confirmJob", "nodeType": "FunctionDefinition", "parameters": { "id": 131, "nodeType": "ParameterList", "parameters": [ { "constant": false, "id": 130, "name": "tokenId", "nodeType": "VariableDeclaration", "scope": 166, "src": "1430:15:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" }, "typeName": { "id": 129, "name": "uint256", "nodeType": "ElementaryTypeName", "src": "1430:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, "value": null, "visibility": "internal" } ], "src": "1429:17:0" }, "payable": false, "returnParameters": { "id": 132, "nodeType": "ParameterList", "parameters": [], "src": "1446:0:0" }, "scope": 187, "src": "1410:244:0", "stateMutability": "nonpayable", "superFunction": null, "visibility": "public" }, { "body": { "id": 185, "nodeType": "Block", "src": "1731:88:0", "statements": [ { "assignments": [ 174 ], "declarations": [ { "constant": false, "id": 174, "name": "owner", "nodeType": "VariableDeclaration", "scope": 186, "src": "1741:13:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" }, "typeName": { "id": 173, "name": "address", "nodeType": "ElementaryTypeName", "src": "1741:7:0", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" } }, "value": null, "visibility": "internal" } ], "id": 178, "initialValue": { "argumentTypes": null, "baseExpression": { "argumentTypes": null, "id": 175, "name": "_tokenHold", "nodeType": "Identifier", "overloadedDeclarations": [], "referencedDeclaration": 11, "src": "1757:10:0", "typeDescriptions": { "typeIdentifier": "t_mapping$_t_uint256_$_t_address_$", "typeString": "mapping(uint256 => address)" } }, "id": 177, "indexExpression": { "argumentTypes": null, "id": 176, "name": "tokenId", "nodeType": "Identifier", "overloadedDeclarations": [], "referencedDeclaration": 168, "src": "1768:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, "isConstant": false, "isLValue": true, "isPure": false, "lValueRequested": false, "nodeType": "IndexAccess", "src": "1757:19:0", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" } }, "nodeType": "VariableDeclarationStatement", "src": "1741:35:0" }, { "expression": { "argumentTypes": null, "commonType": { "typeIdentifier": "t_address", "typeString": "address" }, "id": 183, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "leftExpression": { "argumentTypes": null, "id": 179, "name": "owner", "nodeType": "Identifier", "overloadedDeclarations": [], "referencedDeclaration": 174, "src": "1793:5:0", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" } }, "nodeType": "BinaryOperation", "operator": "!=", "rightExpression": { "argumentTypes": null, "arguments": [ { "argumentTypes": null, "hexValue": "30", "id": 181, "isConstant": false, "isLValue": false, "isPure": true, "kind": "number", "lValueRequested": false, "nodeType": "Literal", "src": "1810:1:0", "subdenomination": null, "typeDescriptions": { "typeIdentifier": "t_rational_0_by_1", "typeString": "int_const 0" }, "value": "0" } ], "expression": { "argumentTypes": [ { "typeIdentifier": "t_rational_0_by_1", "typeString": "int_const 0" } ], "id": 180, "isConstant": false, "isLValue": false, "isPure": true, "lValueRequested": false, "nodeType": "ElementaryTypeNameExpression", "src": "1802:7:0", "typeDescriptions": { "typeIdentifier": "t_type$_t_address_$", "typeString": "type(address)" }, "typeName": "address" }, "id": 182, "isConstant": false, "isLValue": false, "isPure": true, "kind": "typeConversion", "lValueRequested": false, "names": [], "nodeType": "FunctionCall", "src": "1802:10:0", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" } }, "src": "1793:19:0", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" } }, "functionReturnParameters": 172, "id": 184, "nodeType": "Return", "src": "1786:26:0" } ] }, "documentation": null, "id": 186, "implemented": true, "isConstructor": false, "isDeclaredConst": false, "modifiers": [], "name": "_onHold", "nodeType": "FunctionDefinition", "parameters": { "id": 169, "nodeType": "ParameterList", "parameters": [ { "constant": false, "id": 168, "name": "tokenId", "nodeType": "VariableDeclaration", "scope": 186, "src": "1701:15:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" }, "typeName": { "id": 167, "name": "uint256", "nodeType": "ElementaryTypeName", "src": "1701:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, "value": null, "visibility": "internal" } ], "src": "1700:17:0" }, "payable": false, "returnParameters": { "id": 172, "nodeType": "ParameterList", "parameters": [ { "constant": false, "id": 171, "name": "", "nodeType": "VariableDeclaration", "scope": 186, "src": "1726:4:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" }, "typeName": { "id": 170, "name": "bool", "nodeType": "ElementaryTypeName", "src": "1726:4:0", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" } }, "value": null, "visibility": "internal" } ], "src": "1725:6:0" }, "scope": 187, "src": "1684:135:0", "stateMutability": "nonpayable", "superFunction": null, "visibility": "public" } ], "scope": 188, "src": "172:1651:0" } ], "src": "0:1823:0" }, "compiler": { "name": "solc", "version": "0.4.24+commit.e67f0147.Emscripten.clang" }, "networks": {}, "schemaVersion": "2.0.1", "updatedAt": "2018-10-07T16:07:43.286Z" }