[ { "inputs": [ { "internalType": "address", "name": "_endpoint", "type": "address" } ], "stateMutability": "nonpayable", "type": "constructor" }, { "inputs": [], "name": "InsufficientGas", "type": "error" }, { "inputs": [], "name": "NotTokenOwner", "type": "error" }, { "anonymous": false, "inputs": [ { "indexed": true, "internalType": "address", "name": "owner", "type": "address" }, { "indexed": true, "internalType": "address", "name": "approved", "type": "address" }, { "indexed": true, "internalType": "uint256", "name": "tokenId", "type": "uint256" } ], "name": "Approval", "type": "event" }, { "anonymous": false, "inputs": [ { "indexed": true, "internalType": "address", "name": "owner", "type": "address" }, { "indexed": true, "internalType": "address", "name": "operator", "type": "address" }, { "indexed": false, "internalType": "bool", "name": "approved", "type": "bool" } ], "name": "ApprovalForAll", "type": "event" }, { "anonymous": false, "inputs": [ { "indexed": false, "internalType": "uint16", "name": "_srcChainId", "type": "uint16" }, { "indexed": false, "internalType": "bytes", "name": "_srcAddress", "type": "bytes" }, { "indexed": false, "internalType": "uint64", "name": "_nonce", "type": "uint64" }, { "indexed": false, "internalType": "bytes", "name": "_payload", "type": "bytes" }, { "indexed": false, "internalType": "bytes", "name": "_reason", "type": "bytes" } ], "name": "MessageFailed", "type": "event" }, { "anonymous": false, "inputs": [ { "indexed": true, "internalType": "address", "name": "previousOwner", "type": "address" }, { "indexed": true, "internalType": "address", "name": "newOwner", "type": "address" } ], "name": "OwnershipTransferred", "type": "event" }, { "anonymous": false, "inputs": [ { "indexed": false, "internalType": "uint16", "name": "_srcChainId", "type": "uint16" }, { "indexed": false, "internalType": "address", "name": "_from", "type": "address" }, { "indexed": false, "internalType": "uint256", "name": "_tokenId", "type": "uint256" }, { "indexed": false, "internalType": "uint256", "name": "counter", "type": "uint256" } ], "name": "ReceivedNFT", "type": "event" }, { "anonymous": false, "inputs": [ { "indexed": false, "internalType": "uint16", "name": "_srcChainId", "type": "uint16" }, { "indexed": false, "internalType": "bytes", "name": "_srcAddress", "type": "bytes" }, { "indexed": false, "internalType": "uint64", "name": "_nonce", "type": "uint64" }, { "indexed": false, "internalType": "bytes32", "name": "_payloadHash", "type": "bytes32" } ], "name": "RetryMessageSuccess", "type": "event" }, { "anonymous": false, "inputs": [ { "indexed": false, "internalType": "uint16", "name": "_dstChainId", "type": "uint16" }, { "indexed": false, "internalType": "uint16", "name": "_type", "type": "uint16" }, { "indexed": false, "internalType": "uint256", "name": "_minDstGas", "type": "uint256" } ], "name": "SetMinDstGas", "type": "event" }, { "anonymous": false, "inputs": [ { "indexed": false, "internalType": "address", "name": "precrime", "type": "address" } ], "name": "SetPrecrime", "type": "event" }, { "anonymous": false, "inputs": [ { "indexed": false, "internalType": "uint16", "name": "_remoteChainId", "type": "uint16" }, { "indexed": false, "internalType": "bytes", "name": "_path", "type": "bytes" } ], "name": "SetTrustedRemote", "type": "event" }, { "anonymous": false, "inputs": [ { "indexed": false, "internalType": "uint16", "name": "_remoteChainId", "type": "uint16" }, { "indexed": false, "internalType": "bytes", "name": "_remoteAddress", "type": "bytes" } ], "name": "SetTrustedRemoteAddress", "type": "event" }, { "anonymous": false, "inputs": [ { "indexed": true, "internalType": "address", "name": "from", "type": "address" }, { "indexed": true, "internalType": "address", "name": "to", "type": "address" }, { "indexed": true, "internalType": "uint256", "name": "tokenId", "type": "uint256" } ], "name": "Transfer", "type": "event" }, { "inputs": [], "name": "DEFAULT_PAYLOAD_SIZE_LIMIT", "outputs": [ { "internalType": "uint256", "name": "", "type": "uint256" } ], "stateMutability": "view", "type": "function" }, { "inputs": [ { "internalType": "address", "name": "to", "type": "address" }, { "internalType": "uint256", "name": "tokenId", "type": "uint256" } ], "name": "approve", "outputs": [], "stateMutability": "nonpayable", "type": "function" }, { "inputs": [ { "internalType": "address", "name": "owner", "type": "address" } ], "name": "balanceOf", "outputs": [ { "internalType": "uint256", "name": "", "type": "uint256" } ], "stateMutability": "view", "type": "function" }, { "inputs": [], "name": "cost", "outputs": [ { "internalType": "uint256", "name": "", "type": "uint256" } ], "stateMutability": "view", "type": "function" }, { "inputs": [], "name": "counter", "outputs": [ { "internalType": "uint256", "name": "", "type": "uint256" } ], "stateMutability": "view", "type": "function" }, { "inputs": [ { "internalType": "uint16", "name": "dstChainId", "type": "uint16" }, { "internalType": "uint256", "name": "tokenId", "type": "uint256" } ], "name": "crossChain", "outputs": [], "stateMutability": "payable", "type": "function" }, { "inputs": [ { "internalType": "uint16", "name": "dstChainId", "type": "uint16" }, { "internalType": "uint256", "name": "tokenId", "type": "uint256" } ], "name": "estimateFees", "outputs": [ { "internalType": "uint256", "name": "", "type": "uint256" } ], "stateMutability": "view", "type": "function" }, { "inputs": [ { "internalType": "uint16", "name": "", "type": "uint16" }, { "internalType": "bytes", "name": "", "type": "bytes" }, { "internalType": "uint64", "name": "", "type": "uint64" } ], "name": "failedMessages", "outputs": [ { "internalType": "bytes32", "name": "", "type": "bytes32" } ], "stateMutability": "view", "type": "function" }, { "inputs": [ { "internalType": "uint16", "name": "_srcChainId", "type": "uint16" }, { "internalType": "bytes", "name": "_srcAddress", "type": "bytes" } ], "name": "forceResumeReceive", "outputs": [], "stateMutability": "nonpayable", "type": "function" }, { "inputs": [ { "internalType": "uint256", "name": "tokenId", "type": "uint256" } ], "name": "getApproved", "outputs": [ { "internalType": "address", "name": "", "type": "address" } ], "stateMutability": "view", "type": "function" }, { "inputs": [ { "internalType": "uint16", "name": "_version", "type": "uint16" }, { "internalType": "uint16", "name": "_chainId", "type": "uint16" }, { "internalType": "address", "name": "", "type": "address" }, { "internalType": "uint256", "name": "_configType", "type": "uint256" } ], "name": "getConfig", "outputs": [ { "internalType": "bytes", "name": "", "type": "bytes" } ], "stateMutability": "view", "type": "function" }, { "inputs": [ { "internalType": "uint16", "name": "_remoteChainId", "type": "uint16" } ], "name": "getTrustedRemoteAddress", "outputs": [ { "internalType": "bytes", "name": "", "type": "bytes" } ], "stateMutability": "view", "type": "function" }, { "inputs": [ { "internalType": "address", "name": "owner", "type": "address" }, { "internalType": "address", "name": "operator", "type": "address" } ], "name": "isApprovedForAll", "outputs": [ { "internalType": "bool", "name": "", "type": "bool" } ], "stateMutability": "view", "type": "function" }, { "inputs": [ { "internalType": "uint16", "name": "_srcChainId", "type": "uint16" }, { "internalType": "bytes", "name": "_srcAddress", "type": "bytes" } ], "name": "isTrustedRemote", "outputs": [ { "internalType": "bool", "name": "", "type": "bool" } ], "stateMutability": "view", "type": "function" }, { "inputs": [], "name": "lzEndpoint", "outputs": [ { "internalType": "contract ILayerZeroEndpoint", "name": "", "type": "address" } ], "stateMutability": "view", "type": "function" }, { "inputs": [ { "internalType": "uint16", "name": "_srcChainId", "type": "uint16" }, { "internalType": "bytes", "name": "_srcAddress", "type": "bytes" }, { "internalType": "uint64", "name": "_nonce", "type": "uint64" }, { "internalType": "bytes", "name": "_payload", "type": "bytes" } ], "name": "lzReceive", "outputs": [], "stateMutability": "nonpayable", "type": "function" }, { "inputs": [ { "internalType": "uint16", "name": "", "type": "uint16" }, { "internalType": "uint16", "name": "", "type": "uint16" } ], "name": "minDstGasLookup", "outputs": [ { "internalType": "uint256", "name": "", "type": "uint256" } ], "stateMutability": "view", "type": "function" }, { "inputs": [], "name": "mint", "outputs": [], "stateMutability": "payable", "type": "function" }, { "inputs": [], "name": "name", "outputs": [ { "internalType": "string", "name": "", "type": "string" } ], "stateMutability": "view", "type": "function" }, { "inputs": [ { "internalType": "uint16", "name": "_srcChainId", "type": "uint16" }, { "internalType": "bytes", "name": "_srcAddress", "type": "bytes" }, { "internalType": "uint64", "name": "_nonce", "type": "uint64" }, { "internalType": "bytes", "name": "_payload", "type": "bytes" } ], "name": "nonblockingLzReceive", "outputs": [], "stateMutability": "nonpayable", "type": "function" }, { "inputs": [], "name": "owner", "outputs": [ { "internalType": "address", "name": "", "type": "address" } ], "stateMutability": "view", "type": "function" }, { "inputs": [ { "internalType": "uint256", "name": "tokenId", "type": "uint256" } ], "name": "ownerOf", "outputs": [ { "internalType": "address", "name": "", "type": "address" } ], "stateMutability": "view", "type": "function" }, { "inputs": [ { "internalType": "uint16", "name": "", "type": "uint16" } ], "name": "payloadSizeLimitLookup", "outputs": [ { "internalType": "uint256", "name": "", "type": "uint256" } ], "stateMutability": "view", "type": "function" }, { "inputs": [], "name": "precrime", "outputs": [ { "internalType": "address", "name": "", "type": "address" } ], "stateMutability": "view", "type": "function" }, { "inputs": [], "name": "renounceOwnership", "outputs": [], "stateMutability": "nonpayable", "type": "function" }, { "inputs": [ { "internalType": "uint16", "name": "_srcChainId", "type": "uint16" }, { "internalType": "bytes", "name": "_srcAddress", "type": "bytes" }, { "internalType": "uint64", "name": "_nonce", "type": "uint64" }, { "internalType": "bytes", "name": "_payload", "type": "bytes" } ], "name": "retryMessage", "outputs": [], "stateMutability": "payable", "type": "function" }, { "inputs": [ { "internalType": "address", "name": "from", "type": "address" }, { "internalType": "address", "name": "to", "type": "address" }, { "internalType": "uint256", "name": "tokenId", "type": "uint256" } ], "name": "safeTransferFrom", "outputs": [], "stateMutability": "nonpayable", "type": "function" }, { "inputs": [ { "internalType": "address", "name": "from", "type": "address" }, { "internalType": "address", "name": "to", "type": "address" }, { "internalType": "uint256", "name": "tokenId", "type": "uint256" }, { "internalType": "bytes", "name": "data", "type": "bytes" } ], "name": "safeTransferFrom", "outputs": [], "stateMutability": "nonpayable", "type": "function" }, { "inputs": [ { "internalType": "address", "name": "operator", "type": "address" }, { "internalType": "bool", "name": "approved", "type": "bool" } ], "name": "setApprovalForAll", "outputs": [], "stateMutability": "nonpayable", "type": "function" }, { "inputs": [ { "internalType": "uint16", "name": "_version", "type": "uint16" }, { "internalType": "uint16", "name": "_chainId", "type": "uint16" }, { "internalType": "uint256", "name": "_configType", "type": "uint256" }, { "internalType": "bytes", "name": "_config", "type": "bytes" } ], "name": "setConfig", "outputs": [], "stateMutability": "nonpayable", "type": "function" }, { "inputs": [ { "internalType": "uint256", "name": "_cost", "type": "uint256" } ], "name": "setCost", "outputs": [], "stateMutability": "nonpayable", "type": "function" }, { "inputs": [ { "internalType": "uint16", "name": "_dstChainId", "type": "uint16" }, { "internalType": "uint16", "name": "_packetType", "type": "uint16" }, { "internalType": "uint256", "name": "_minGas", "type": "uint256" } ], "name": "setMinDstGas", "outputs": [], "stateMutability": "nonpayable", "type": "function" }, { "inputs": [ { "internalType": "uint16", "name": "_dstChainId", "type": "uint16" }, { "internalType": "uint256", "name": "_size", "type": "uint256" } ], "name": "setPayloadSizeLimit", "outputs": [], "stateMutability": "nonpayable", "type": "function" }, { "inputs": [ { "internalType": "address", "name": "_precrime", "type": "address" } ], "name": "setPrecrime", "outputs": [], "stateMutability": "nonpayable", "type": "function" }, { "inputs": [ { "internalType": "uint16", "name": "_version", "type": "uint16" } ], "name": "setReceiveVersion", "outputs": [], "stateMutability": "nonpayable", "type": "function" }, { "inputs": [ { "internalType": "uint16", "name": "_version", "type": "uint16" } ], "name": "setSendVersion", "outputs": [], "stateMutability": "nonpayable", "type": "function" }, { "inputs": [ { "internalType": "uint16", "name": "_srcChainId", "type": "uint16" }, { "internalType": "bytes", "name": "_path", "type": "bytes" } ], "name": "setTrustedRemote", "outputs": [], "stateMutability": "nonpayable", "type": "function" }, { "inputs": [ { "internalType": "uint16", "name": "_remoteChainId", "type": "uint16" }, { "internalType": "bytes", "name": "_remoteAddress", "type": "bytes" } ], "name": "setTrustedRemoteAddress", "outputs": [], "stateMutability": "nonpayable", "type": "function" }, { "inputs": [ { "internalType": "bytes4", "name": "interfaceId", "type": "bytes4" } ], "name": "supportsInterface", "outputs": [ { "internalType": "bool", "name": "", "type": "bool" } ], "stateMutability": "view", "type": "function" }, { "inputs": [], "name": "symbol", "outputs": [ { "internalType": "string", "name": "", "type": "string" } ], "stateMutability": "view", "type": "function" }, { "inputs": [ { "internalType": "uint256", "name": "tokenId", "type": "uint256" } ], "name": "tokenURI", "outputs": [ { "internalType": "string", "name": "", "type": "string" } ], "stateMutability": "view", "type": "function" }, { "inputs": [ { "internalType": "address", "name": "from", "type": "address" }, { "internalType": "address", "name": "to", "type": "address" }, { "internalType": "uint256", "name": "tokenId", "type": "uint256" } ], "name": "transferFrom", "outputs": [], "stateMutability": "nonpayable", "type": "function" }, { "inputs": [ { "internalType": "address", "name": "newOwner", "type": "address" } ], "name": "transferOwnership", "outputs": [], "stateMutability": "nonpayable", "type": "function" }, { "inputs": [ { "internalType": "uint16", "name": "", "type": "uint16" } ], "name": "trustedRemoteLookup", "outputs": [ { "internalType": "bytes", "name": "", "type": "bytes" } ], "stateMutability": "view", "type": "function" }, { "inputs": [], "name": "withdraw", "outputs": [], "stateMutability": "payable", "type": "function" } ]
60a06040526601c6bf52634000600d553480156200001c57600080fd5b5060405162003a7c38038062003a7c8339810160408190526200003f91620001d9565b80806040518060400160405280600a8152602001694d65726b6c7920636f6d60b01b8152506040518060400160405280600581526020016426a925a62d60d91b8152506200009c62000096620000df60201b60201c565b620000e3565b8151620000b190600190602085019062000133565b508051620000c790600290602084019062000133565b5050506001600160a01b031660805250620002489050565b3390565b600080546001600160a01b038381166001600160a01b0319831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b82805462000141906200020b565b90600052602060002090601f016020900481019282620001655760008555620001b0565b82601f106200018057805160ff1916838001178555620001b0565b82800160010185558215620001b0579182015b82811115620001b057825182559160200191906001019062000193565b50620001be929150620001c2565b5090565b5b80821115620001be5760008155600101620001c3565b600060208284031215620001ec57600080fd5b81516001600160a01b03811681146200020457600080fd5b9392505050565b600181811c908216806200022057607f821691505b602082108114156200024257634e487b7160e01b600052602260045260246000fd5b50919050565b6080516137d9620002a3600039600081816106d20152818161086901528181610b9c01528181610d8101528181610f0f01528181611070015281816112770152818161184901528181611c88015261220301526137d96000f3fe6080604052600436106102715760003560e01c806366ad5c8a1161014f578063b353aaa7116100c1578063d1deba1f1161007a578063d1deba1f1461078a578063df2a5b3b1461079d578063e985e9c5146107bd578063eb8d72b714610806578063f2fde38b14610826578063f5ecbdbc1461084657600080fd5b8063b353aaa7146106c0578063b88d4fde146106f4578063baf3292d14610714578063c446183414610734578063c87b56dd1461074a578063cbed8b9c1461076a57600080fd5b80638da5cb5b116101135780638da5cb5b1461060d578063950c8a741461062b57806395d89b411461064b5780639f38369a14610660578063a22cb46514610680578063a6c3d165146106a057600080fd5b806366ad5c8a1461056057806370a0823114610580578063715018a6146105a05780637533d788146105b55780638cfd8f5c146105d557600080fd5b806323b872dd116101e857806342842e0e116101ac57806342842e0e1461047b57806342d65a8d1461049b57806344a0d68a146104bb5780635b8c41e6146104db57806361bc221a1461052a5780636352211e1461054057600080fd5b806323b872dd146103e6578063362790f6146104065780633ccfd60b146104265780633d8b38f61461042e5780633f1f4fa41461044e57600080fd5b8063095ea7b31161023a578063095ea7b3146103475780630df374831461036757806310ddb137146103875780631249c58b146103a757806313faede6146103af5780631e128296146103d357600080fd5b80621d35671461027657806301ffc9a71461029857806306fdde03146102cd57806307e0db17146102ef578063081812fc1461030f575b600080fd5b34801561028257600080fd5b50610296610291366004612ce1565b610866565b005b3480156102a457600080fd5b506102b86102b3366004612d8a565b610a97565b60405190151581526020015b60405180910390f35b3480156102d957600080fd5b506102e2610ae9565b6040516102c49190612dff565b3480156102fb57600080fd5b5061029661030a366004612e12565b610b7b565b34801561031b57600080fd5b5061032f61032a366004612e2d565b610c04565b6040516001600160a01b0390911681526020016102c4565b34801561035357600080fd5b50610296610362366004612e5b565b610c2b565b34801561037357600080fd5b50610296610382366004612e87565b610d41565b34801561039357600080fd5b506102966103a2366004612e12565b610d60565b610296610db8565b3480156103bb57600080fd5b506103c5600d5481565b6040519081526020016102c4565b6102966103e1366004612e87565b610e66565b3480156103f257600080fd5b50610296610401366004612ea3565b610fe0565b34801561041257600080fd5b506103c5610421366004612e87565b611011565b610296611111565b34801561043a57600080fd5b506102b8610449366004612ee4565b611171565b34801561045a57600080fd5b506103c5610469366004612e12565b60096020526000908152604090205481565b34801561048757600080fd5b50610296610496366004612ea3565b61123d565b3480156104a757600080fd5b506102966104b6366004612ee4565b611258565b3480156104c757600080fd5b506102966104d6366004612e2d565b6112de565b3480156104e757600080fd5b506103c56104f6366004612ff9565b600b602090815260009384526040808520845180860184018051928152908401958401959095209452929052825290205481565b34801561053657600080fd5b506103c5600c5481565b34801561054c57600080fd5b5061032f61055b366004612e2d565b6112eb565b34801561056c57600080fd5b5061029661057b366004612ce1565b61134b565b34801561058c57600080fd5b506103c561059b366004613056565b611427565b3480156105ac57600080fd5b506102966114ad565b3480156105c157600080fd5b506102e26105d0366004612e12565b6114c1565b3480156105e157600080fd5b506103c56105f0366004613073565b600860209081526000928352604080842090915290825290205481565b34801561061957600080fd5b506000546001600160a01b031661032f565b34801561063757600080fd5b50600a5461032f906001600160a01b031681565b34801561065757600080fd5b506102e261155b565b34801561066c57600080fd5b506102e261067b366004612e12565b61156a565b34801561068c57600080fd5b5061029661069b3660046130a6565b611681565b3480156106ac57600080fd5b506102966106bb366004612ee4565b611690565b3480156106cc57600080fd5b5061032f7f000000000000000000000000000000000000000000000000000000000000000081565b34801561070057600080fd5b5061029661070f3660046130e4565b611723565b34801561072057600080fd5b5061029661072f366004613056565b61175b565b34801561074057600080fd5b506103c561271081565b34801561075657600080fd5b506102e2610765366004612e2d565b6117b7565b34801561077657600080fd5b5061029661078536600461314f565b61182a565b610296610798366004612ce1565b6118bf565b3480156107a957600080fd5b506102966107b83660046131bd565b611ad5565b3480156107c957600080fd5b506102b86107d83660046131f9565b6001600160a01b03918216600090815260066020908152604080832093909416825291909152205460ff1690565b34801561081257600080fd5b50610296610821366004612ee4565b611b87565b34801561083257600080fd5b50610296610841366004613056565b611be1565b34801561085257600080fd5b506102e2610861366004613227565b611c57565b337f00000000000000000000000000000000000000000000000000000000000000006001600160a01b0316146108e35760405162461bcd60e51b815260206004820152601e60248201527f4c7a4170703a20696e76616c696420656e64706f696e742063616c6c6572000060448201526064015b60405180910390fd5b61ffff86166000908152600760205260408120805461090190613274565b80601f016020809104026020016040519081016040528092919081815260200182805461092d90613274565b801561097a5780601f1061094f5761010080835404028352916020019161097a565b820191906000526020600020905b81548152906001019060200180831161095d57829003601f168201915b50505050509050805186869050148015610995575060008151115b80156109bd5750805160208201206040516109b390889088906132af565b6040518091039020145b610a185760405162461bcd60e51b815260206004820152602660248201527f4c7a4170703a20696e76616c696420736f757263652073656e64696e6720636f6044820152651b9d1c9858dd60d21b60648201526084016108da565b610a8e8787878080601f01602080910402602001604051908101604052809392919081815260200183838082843760009201919091525050604080516020601f8a018190048102820181019092528881528a935091508890889081908401838280828437600092019190915250611d1992505050565b50505050505050565b60006001600160e01b031982166380ac58cd60e01b1480610ac857506001600160e01b03198216635b5e139f60e01b145b80610ae357506301ffc9a760e01b6001600160e01b03198316145b92915050565b606060018054610af890613274565b80601f0160208091040260200160405190810160405280929190818152602001828054610b2490613274565b8015610b715780601f10610b4657610100808354040283529160200191610b71565b820191906000526020600020905b815481529060010190602001808311610b5457829003601f168201915b5050505050905090565b610b83611d92565b6040516307e0db1760e01b815261ffff821660048201527f00000000000000000000000000000000000000000000000000000000000000006001600160a01b0316906307e0db17906024015b600060405180830381600087803b158015610be957600080fd5b505af1158015610bfd573d6000803e3d6000fd5b5050505050565b6000610c0f82611dec565b506000908152600560205260409020546001600160a01b031690565b6000610c36826112eb565b9050806001600160a01b0316836001600160a01b03161415610ca45760405162461bcd60e51b815260206004820152602160248201527f4552433732313a20617070726f76616c20746f2063757272656e74206f776e656044820152603960f91b60648201526084016108da565b336001600160a01b0382161480610cc05750610cc081336107d8565b610d325760405162461bcd60e51b815260206004820152603d60248201527f4552433732313a20617070726f76652063616c6c6572206973206e6f7420746f60448201527f6b656e206f776e6572206f7220617070726f76656420666f7220616c6c00000060648201526084016108da565b610d3c8383611e4b565b505050565b610d49611d92565b61ffff909116600090815260096020526040902055565b610d68611d92565b6040516310ddb13760e01b815261ffff821660048201527f00000000000000000000000000000000000000000000000000000000000000006001600160a01b0316906310ddb13790602401610bcf565b600d54341015610e025760405162461bcd60e51b8152602060048201526015602482015274139bdd08195b9bdd59da08195d1a195c881cd95b9d605a1b60448201526064016108da565b610e5b3362989680600c5442604051602001610e28929190918252602082015260400190565b6040516020818303038152906040528051906020012060001c610e4b91906132bf565b610e569060016132f7565b611eb9565b600c80546001019055565b610e6f816112eb565b6001600160a01b0316336001600160a01b031614610ea0576040516359dc379f60e01b815260040160405180910390fd5b600c8054600019019055610eb381612044565b60408051336020820152808201839052815180820383018152606082018352600160f01b60808301526205573060828084018290528451808503909101815260a284019485905263040a7bb160e41b90945290926001926000907f00000000000000000000000000000000000000000000000000000000000000006001600160a01b0316906340a7bb1090610f54908a9030908a908790899060a60161330f565b604080518083038186803b158015610f6b57600080fd5b505afa158015610f7f573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610fa39190613363565b509050803411610fc6576040516307099c5360e21b815260040160405180910390fd5b610a8e878633600086610fdb876101f46132f7565b6120d9565b610fea338261227f565b6110065760405162461bcd60e51b81526004016108da90613387565b610d3c8383836122fd565b60408051336020820152808201839052815180820383018152606082018352600160f01b60808301526205573060828084018290528451808503909101815260a284019485905263040a7bb160e41b90945260009391926001929085907f00000000000000000000000000000000000000000000000000000000000000006001600160a01b0316906340a7bb10906110b5908b9030908a908790899060a60161330f565b604080518083038186803b1580156110cc57600080fd5b505afa1580156110e0573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906111049190613363565b5098975050505050505050565b611119611d92565b604051600090339047908381818185875af1925050503d806000811461115b576040519150601f19603f3d011682016040523d82523d6000602084013e611160565b606091505b505090508061116e57600080fd5b50565b61ffff83166000908152600760205260408120805482919061119290613274565b80601f01602080910402602001604051908101604052809291908181526020018280546111be90613274565b801561120b5780601f106111e05761010080835404028352916020019161120b565b820191906000526020600020905b8154815290600101906020018083116111ee57829003601f168201915b5050505050905083836040516112229291906132af565b60405180910390208180519060200120149150509392505050565b610d3c83838360405180602001604052806000815250611723565b611260611d92565b6040516342d65a8d60e01b81526001600160a01b037f000000000000000000000000000000000000000000000000000000000000000016906342d65a8d906112b0908690869086906004016133fd565b600060405180830381600087803b1580156112ca57600080fd5b505af1158015610a8e573d6000803e3d6000fd5b6112e6611d92565b600d55565b6000818152600360205260408120546001600160a01b031680610ae35760405162461bcd60e51b8152602060048201526018602482015277115490cdcc8c4e881a5b9d985b1a59081d1bdad95b88125160421b60448201526064016108da565b3330146113a95760405162461bcd60e51b815260206004820152602660248201527f4e6f6e626c6f636b696e674c7a4170703a2063616c6c6572206d7573742062656044820152650204c7a4170760d41b60648201526084016108da565b61141f8686868080601f01602080910402602001604051908101604052809392919081815260200183838082843760009201919091525050604080516020601f89018190048102820181019092528781528993509150879087908190840183828082843760009201919091525061246192505050565b505050505050565b60006001600160a01b0382166114915760405162461bcd60e51b815260206004820152602960248201527f4552433732313a2061646472657373207a65726f206973206e6f7420612076616044820152683634b21037bbb732b960b91b60648201526084016108da565b506001600160a01b031660009081526004602052604090205490565b6114b5611d92565b6114bf60006124ec565b565b600760205260009081526040902080546114da90613274565b80601f016020809104026020016040519081016040528092919081815260200182805461150690613274565b80156115535780601f1061152857610100808354040283529160200191611553565b820191906000526020600020905b81548152906001019060200180831161153657829003601f168201915b505050505081565b606060028054610af890613274565b61ffff811660009081526007602052604081208054606092919061158d90613274565b80601f01602080910402602001604051908101604052809291908181526020018280546115b990613274565b80156116065780601f106115db57610100808354040283529160200191611606565b820191906000526020600020905b8154815290600101906020018083116115e957829003601f168201915b5050505050905080516000141561165f5760405162461bcd60e51b815260206004820152601d60248201527f4c7a4170703a206e6f20747275737465642070617468207265636f726400000060448201526064016108da565b61167a600060148351611672919061341b565b83919061253c565b9392505050565b61168c338383612649565b5050565b611698611d92565b8181306040516020016116ad93929190613432565b60408051601f1981840301815291815261ffff851660009081526007602090815291902082516116e293919290910190612b5e565b507f8c0400cfe2d1199b1a725c78960bcc2a344d869b80590d0f2bd005db15a572ce838383604051611716939291906133fd565b60405180910390a1505050565b61172d338361227f565b6117495760405162461bcd60e51b81526004016108da90613387565b61175584848484612718565b50505050565b611763611d92565b600a80546001600160a01b0319166001600160a01b0383169081179091556040519081527f5db758e995a17ec1ad84bdef7e8c3293a0bd6179bcce400dff5d4c3d87db726b9060200160405180910390a150565b60606117c282611dec565b60006117d960408051602081019091526000815290565b905060008151116117f9576040518060200160405280600081525061167a565b806118038461274b565b604051602001611814929190613458565b6040516020818303038152906040529392505050565b611832611d92565b6040516332fb62e760e21b81526001600160a01b037f0000000000000000000000000000000000000000000000000000000000000000169063cbed8b9c906118869088908890889088908890600401613487565b600060405180830381600087803b1580156118a057600080fd5b505af11580156118b4573d6000803e3d6000fd5b505050505050505050565b61ffff86166000908152600b602052604080822090516118e290889088906132af565b90815260408051602092819003830190206001600160401b038716600090815292529020549050806119625760405162461bcd60e51b815260206004820152602360248201527f4e6f6e626c6f636b696e674c7a4170703a206e6f2073746f726564206d65737360448201526261676560e81b60648201526084016108da565b8083836040516119739291906132af565b6040518091039020146119d25760405162461bcd60e51b815260206004820152602160248201527f4e6f6e626c6f636b696e674c7a4170703a20696e76616c6964207061796c6f616044820152601960fa1b60648201526084016108da565b61ffff87166000908152600b602052604080822090516119f590899089906132af565b90815260408051602092819003830181206001600160401b038916600090815290845282902093909355601f88018290048202830182019052868252611a8d918991899089908190840183828082843760009201919091525050604080516020601f8a018190048102820181019092528881528a93509150889088908190840183828082843760009201919091525061246192505050565b7fc264d91f3adc5588250e1551f547752ca0cfa8f6b530d243b9f9f4cab10ea8e58787878785604051611ac49594939291906134c0565b60405180910390a150505050505050565b611add611d92565b60008111611b255760405162461bcd60e51b81526020600482015260156024820152744c7a4170703a20696e76616c6964206d696e47617360581b60448201526064016108da565b61ffff83811660008181526008602090815260408083209487168084529482529182902085905581519283528201929092529081018290527f9d5c7c0b934da8fefa9c7760c98383778a12dfbfc0c3b3106518f43fb9508ac090606001611716565b611b8f611d92565b61ffff83166000908152600760205260409020611bad908383612be2565b507ffa41487ad5d6728f0b19276fa1eddc16558578f5109fc39d2dc33c3230470dab838383604051611716939291906133fd565b611be9611d92565b6001600160a01b038116611c4e5760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b60648201526084016108da565b61116e816124ec565b604051633d7b2f6f60e21b815261ffff808616600483015284166024820152306044820152606481018290526060907f00000000000000000000000000000000000000000000000000000000000000006001600160a01b03169063f5ecbdbc9060840160006040518083038186803b158015611cd257600080fd5b505afa158015611ce6573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f19168201604052611d0e91908101906134fb565b90505b949350505050565b600080611d7c5a60966366ad5c8a60e01b89898989604051602401611d419493929190613571565b60408051601f198184030181529190526020810180516001600160e01b03166001600160e01b031990931692909217909152309291906127e7565b915091508161141f5761141f8686868685612871565b6000546001600160a01b031633146114bf5760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657260448201526064016108da565b6000818152600360205260409020546001600160a01b031661116e5760405162461bcd60e51b8152602060048201526018602482015277115490cdcc8c4e881a5b9d985b1a59081d1bdad95b88125160421b60448201526064016108da565b600081815260056020526040902080546001600160a01b0319166001600160a01b0384169081179091558190611e80826112eb565b6001600160a01b03167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b6001600160a01b038216611f0f5760405162461bcd60e51b815260206004820181905260248201527f4552433732313a206d696e7420746f20746865207a65726f206164647265737360448201526064016108da565b6000818152600360205260409020546001600160a01b031615611f745760405162461bcd60e51b815260206004820152601c60248201527f4552433732313a20746f6b656e20616c7265616479206d696e7465640000000060448201526064016108da565b6000818152600360205260409020546001600160a01b031615611fd95760405162461bcd60e51b815260206004820152601c60248201527f4552433732313a20746f6b656e20616c7265616479206d696e7465640000000060448201526064016108da565b6001600160a01b038216600081815260046020908152604080832080546001019055848352600390915280822080546001600160a01b0319168417905551839291907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a45050565b600061204f826112eb565b905061205a826112eb565b600083815260056020908152604080832080546001600160a01b03199081169091556001600160a01b0385168085526004845282852080546000190190558785526003909352818420805490911690555192935084927fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908390a45050565b61ffff8616600090815260076020526040812080546120f790613274565b80601f016020809104026020016040519081016040528092919081815260200182805461212390613274565b80156121705780601f1061214557610100808354040283529160200191612170565b820191906000526020600020905b81548152906001019060200180831161215357829003601f168201915b505050505090508051600014156121e25760405162461bcd60e51b815260206004820152603060248201527f4c7a4170703a2064657374696e6174696f6e20636861696e206973206e6f742060448201526f61207472757374656420736f7572636560801b60648201526084016108da565b6121ed87875161290e565b60405162c5803160e81b81526001600160a01b037f0000000000000000000000000000000000000000000000000000000000000000169063c5803100908490612244908b9086908c908c908c908c906004016135af565b6000604051808303818588803b15801561225d57600080fd5b505af1158015612271573d6000803e3d6000fd5b505050505050505050505050565b60008061228b836112eb565b9050806001600160a01b0316846001600160a01b031614806122d257506001600160a01b0380821660009081526006602090815260408083209388168352929052205460ff165b80611d115750836001600160a01b03166122eb84610c04565b6001600160a01b031614949350505050565b826001600160a01b0316612310826112eb565b6001600160a01b0316146123365760405162461bcd60e51b81526004016108da90613616565b6001600160a01b0382166123985760405162461bcd60e51b8152602060048201526024808201527f4552433732313a207472616e7366657220746f20746865207a65726f206164646044820152637265737360e01b60648201526084016108da565b826001600160a01b03166123ab826112eb565b6001600160a01b0316146123d15760405162461bcd60e51b81526004016108da90613616565b600081815260056020908152604080832080546001600160a01b03199081169091556001600160a01b0387811680865260048552838620805460001901905590871680865283862080546001019055868652600390945282852080549092168417909155905184937fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef91a4505050565b60006014840151905060008083806020019051810190612481919061365b565b9150915061248f8282611eb9565b600c8054600101908190556040805161ffff8a1681526001600160a01b038616602082015290810183905260608101919091527f31ae2bb20187b24b2039def7711f43f56311ec96de17b7ef01d1b1da40eb2eee90608001611ac4565b600080546001600160a01b038381166001600160a01b0319831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b60608161254a81601f6132f7565b10156125895760405162461bcd60e51b815260206004820152600e60248201526d736c6963655f6f766572666c6f7760901b60448201526064016108da565b61259382846132f7565b845110156125d75760405162461bcd60e51b8152602060048201526011602482015270736c6963655f6f75744f66426f756e647360781b60448201526064016108da565b6060821580156125f65760405191506000825260208201604052612640565b6040519150601f8416801560200281840101858101878315602002848b0101015b8183101561262f578051835260209283019201612617565b5050858452601f01601f1916604052505b50949350505050565b816001600160a01b0316836001600160a01b031614156126ab5760405162461bcd60e51b815260206004820152601960248201527f4552433732313a20617070726f766520746f2063616c6c65720000000000000060448201526064016108da565b6001600160a01b03838116600081815260066020908152604080832094871680845294825291829020805460ff191686151590811790915591519182527f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a3505050565b6127238484846122fd565b61272f8484848461297c565b6117555760405162461bcd60e51b81526004016108da90613689565b6060600061275883612a86565b60010190506000816001600160401b0381111561277757612777612f36565b6040519080825280601f01601f1916602001820160405280156127a1576020820181803683370190505b5090508181016020015b600019016f181899199a1a9b1b9c1cb0b131b232b360811b600a86061a8153600a85049450846127da576127df565b6127ab565b509392505050565b6000606060008060008661ffff166001600160401b0381111561280c5761280c612f36565b6040519080825280601f01601f191660200182016040528015612836576020820181803683370190505b50905060008087516020890160008d8df191503d925086831115612858578692505b828152826000602083013e909890975095505050505050565b8180519060200120600b60008761ffff1661ffff168152602001908152602001600020856040516128a291906136db565b9081526040805191829003602090810183206001600160401b0388166000908152915220919091557fe183f33de2837795525b4792ca4cd60535bd77c53b7e7030060bfcf5734d6b0c906128ff90879087908790879087906136f7565b60405180910390a15050505050565b61ffff82166000908152600960205260409020548061292c57506127105b80821115610d3c5760405162461bcd60e51b815260206004820181905260248201527f4c7a4170703a207061796c6f61642073697a6520697320746f6f206c6172676560448201526064016108da565b60006001600160a01b0384163b15612a7e57604051630a85bd0160e11b81526001600160a01b0385169063150b7a02906129c0903390899088908890600401613749565b602060405180830381600087803b1580156129da57600080fd5b505af1925050508015612a0a575060408051601f3d908101601f19168201909252612a0791810190613786565b60015b612a64573d808015612a38576040519150601f19603f3d011682016040523d82523d6000602084013e612a3d565b606091505b508051612a5c5760405162461bcd60e51b81526004016108da90613689565b805181602001fd5b6001600160e01b031916630a85bd0160e11b149050611d11565b506001611d11565b60008072184f03e93ff9f4daa797ed6e38ed64bf6a1f0160401b8310612ac55772184f03e93ff9f4daa797ed6e38ed64bf6a1f0160401b830492506040015b6d04ee2d6d415b85acef81000000008310612af1576d04ee2d6d415b85acef8100000000830492506020015b662386f26fc100008310612b0f57662386f26fc10000830492506010015b6305f5e1008310612b27576305f5e100830492506008015b6127108310612b3b57612710830492506004015b60648310612b4d576064830492506002015b600a8310610ae35760010192915050565b828054612b6a90613274565b90600052602060002090601f016020900481019282612b8c5760008555612bd2565b82601f10612ba557805160ff1916838001178555612bd2565b82800160010185558215612bd2579182015b82811115612bd2578251825591602001919060010190612bb7565b50612bde929150612c56565b5090565b828054612bee90613274565b90600052602060002090601f016020900481019282612c105760008555612bd2565b82601f10612c295782800160ff19823516178555612bd2565b82800160010185558215612bd2579182015b82811115612bd2578235825591602001919060010190612c3b565b5b80821115612bde5760008155600101612c57565b803561ffff81168114612c7d57600080fd5b919050565b60008083601f840112612c9457600080fd5b5081356001600160401b03811115612cab57600080fd5b602083019150836020828501011115612cc357600080fd5b9250929050565b80356001600160401b0381168114612c7d57600080fd5b60008060008060008060808789031215612cfa57600080fd5b612d0387612c6b565b955060208701356001600160401b0380821115612d1f57600080fd5b612d2b8a838b01612c82565b9097509550859150612d3f60408a01612cca565b94506060890135915080821115612d5557600080fd5b50612d6289828a01612c82565b979a9699509497509295939492505050565b6001600160e01b03198116811461116e57600080fd5b600060208284031215612d9c57600080fd5b813561167a81612d74565b60005b83811015612dc2578181015183820152602001612daa565b838111156117555750506000910152565b60008151808452612deb816020860160208601612da7565b601f01601f19169290920160200192915050565b60208152600061167a6020830184612dd3565b600060208284031215612e2457600080fd5b61167a82612c6b565b600060208284031215612e3f57600080fd5b5035919050565b6001600160a01b038116811461116e57600080fd5b60008060408385031215612e6e57600080fd5b8235612e7981612e46565b946020939093013593505050565b60008060408385031215612e9a57600080fd5b612e7983612c6b565b600080600060608486031215612eb857600080fd5b8335612ec381612e46565b92506020840135612ed381612e46565b929592945050506040919091013590565b600080600060408486031215612ef957600080fd5b612f0284612c6b565b925060208401356001600160401b03811115612f1d57600080fd5b612f2986828701612c82565b9497909650939450505050565b634e487b7160e01b600052604160045260246000fd5b604051601f8201601f191681016001600160401b0381118282101715612f7457612f74612f36565b604052919050565b60006001600160401b03821115612f9557612f95612f36565b50601f01601f191660200190565b600082601f830112612fb457600080fd5b8135612fc7612fc282612f7c565b612f4c565b818152846020838601011115612fdc57600080fd5b816020850160208301376000918101602001919091529392505050565b60008060006060848603121561300e57600080fd5b61301784612c6b565b925060208401356001600160401b0381111561303257600080fd5b61303e86828701612fa3565b92505061304d60408501612cca565b90509250925092565b60006020828403121561306857600080fd5b813561167a81612e46565b6000806040838503121561308657600080fd5b61308f83612c6b565b915061309d60208401612c6b565b90509250929050565b600080604083850312156130b957600080fd5b82356130c481612e46565b9150602083013580151581146130d957600080fd5b809150509250929050565b600080600080608085870312156130fa57600080fd5b843561310581612e46565b9350602085013561311581612e46565b92506040850135915060608501356001600160401b0381111561313757600080fd5b61314387828801612fa3565b91505092959194509250565b60008060008060006080868803121561316757600080fd5b61317086612c6b565b945061317e60208701612c6b565b93506040860135925060608601356001600160401b038111156131a057600080fd5b6131ac88828901612c82565b969995985093965092949392505050565b6000806000606084860312156131d257600080fd5b6131db84612c6b565b92506131e960208501612c6b565b9150604084013590509250925092565b6000806040838503121561320c57600080fd5b823561321781612e46565b915060208301356130d981612e46565b6000806000806080858703121561323d57600080fd5b61324685612c6b565b935061325460208601612c6b565b9250604085013561326481612e46565b9396929550929360600135925050565b600181811c9082168061328857607f821691505b602082108114156132a957634e487b7160e01b600052602260045260246000fd5b50919050565b8183823760009101908152919050565b6000826132dc57634e487b7160e01b600052601260045260246000fd5b500690565b634e487b7160e01b600052601160045260246000fd5b6000821982111561330a5761330a6132e1565b500190565b61ffff861681526001600160a01b038516602082015260a06040820181905260009061333d90830186612dd3565b841515606084015282810360808401526133578185612dd3565b98975050505050505050565b6000806040838503121561337657600080fd5b505080516020909101519092909150565b6020808252602d908201527f4552433732313a2063616c6c6572206973206e6f7420746f6b656e206f776e6560408201526c1c881bdc88185c1c1c9bdd9959609a1b606082015260800190565b81835281816020850137506000828201602090810191909152601f909101601f19169091010190565b61ffff84168152604060208201526000611d0e6040830184866133d4565b60008282101561342d5761342d6132e1565b500390565b8284823760609190911b6bffffffffffffffffffffffff19169101908152601401919050565b6000835161346a818460208801612da7565b83519083019061347e818360208801612da7565b01949350505050565b600061ffff8088168352808716602084015250846040830152608060608301526134b56080830184866133d4565b979650505050505050565b61ffff861681526080602082015260006134de6080830186886133d4565b6001600160401b0394909416604083015250606001529392505050565b60006020828403121561350d57600080fd5b81516001600160401b0381111561352357600080fd5b8201601f8101841361353457600080fd5b8051613542612fc282612f7c565b81815285602083850101111561355757600080fd5b613568826020830160208601612da7565b95945050505050565b61ffff8516815260806020820152600061358e6080830186612dd3565b6001600160401b038516604084015282810360608401526134b58185612dd3565b61ffff8716815260c0602082015260006135cc60c0830188612dd3565b82810360408401526135de8188612dd3565b6001600160a01b0387811660608601528616608085015283810360a085015290506136098185612dd3565b9998505050505050505050565b60208082526025908201527f4552433732313a207472616e736665722066726f6d20696e636f72726563742060408201526437bbb732b960d91b606082015260800190565b6000806040838503121561366e57600080fd5b825161367981612e46565b6020939093015192949293505050565b60208082526032908201527f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560408201527131b2b4bb32b91034b6b83632b6b2b73a32b960711b606082015260800190565b600082516136ed818460208701612da7565b9190910192915050565b61ffff8616815260a06020820152600061371460a0830187612dd3565b6001600160401b038616604084015282810360608401526137358186612dd3565b905082810360808401526133578185612dd3565b6001600160a01b038581168252841660208201526040810183905260806060820181905260009061377c90830184612dd3565b9695505050505050565b60006020828403121561379857600080fd5b815161167a81612d7456fea2646970667358221220dfd7c460b6418d0cc2f30982b02585905d4002c1c0d3c04d546bc90b94dccac764736f6c634300080900330000000000000000000000003c2269811836af69497e5f486a85d7316753cf62