[ { "inputs": [], "stateMutability": "nonpayable", "type": "constructor" }, { "anonymous": false, "inputs": [ { "indexed": true, "internalType": "address", "name": "account", "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": true, "internalType": "bytes32", "name": "role", "type": "bytes32" }, { "indexed": true, "internalType": "bytes32", "name": "previousAdminRole", "type": "bytes32" }, { "indexed": true, "internalType": "bytes32", "name": "newAdminRole", "type": "bytes32" } ], "name": "RoleAdminChanged", "type": "event" }, { "anonymous": false, "inputs": [ { "indexed": true, "internalType": "bytes32", "name": "role", "type": "bytes32" }, { "indexed": true, "internalType": "address", "name": "account", "type": "address" }, { "indexed": true, "internalType": "address", "name": "sender", "type": "address" } ], "name": "RoleGranted", "type": "event" }, { "anonymous": false, "inputs": [ { "indexed": true, "internalType": "bytes32", "name": "role", "type": "bytes32" }, { "indexed": true, "internalType": "address", "name": "account", "type": "address" }, { "indexed": true, "internalType": "address", "name": "sender", "type": "address" } ], "name": "RoleRevoked", "type": "event" }, { "anonymous": false, "inputs": [ { "indexed": true, "internalType": "address", "name": "from", "type": "address" }, { "indexed": false, "internalType": "address", "name": "nftReceiver", "type": "address" }, { "indexed": false, "internalType": "address", "name": "ethReceiver", "type": "address" }, { "indexed": false, "internalType": "address", "name": "primeReceiver", "type": "address" }, { "indexed": false, "internalType": "uint256", "name": "id", "type": "uint256" }, { "indexed": false, "internalType": "uint256[]", "name": "_tokenIds", "type": "uint256[]" }, { "indexed": false, "internalType": "uint256[]", "name": "_amounts", "type": "uint256[]" }, { "indexed": false, "internalType": "uint256", "name": "ethValue", "type": "uint256" }, { "indexed": false, "internalType": "uint256", "name": "primeValue", "type": "uint256" }, { "indexed": false, "internalType": "bytes", "name": "data", "type": "bytes" } ], "name": "SpendInvoked", "type": "event" }, { "anonymous": false, "inputs": [ { "indexed": true, "internalType": "address", "name": "handler", "type": "address" }, { "indexed": false, "internalType": "address", "name": "nftReceiver", "type": "address" }, { "indexed": false, "internalType": "address", "name": "ethReceiver", "type": "address" }, { "indexed": false, "internalType": "address", "name": "primeReceiver", "type": "address" } ], "name": "SpendReceiverRegistered", "type": "event" }, { "anonymous": false, "inputs": [ { "indexed": true, "internalType": "address", "name": "operator", "type": "address" }, { "indexed": true, "internalType": "address", "name": "from", "type": "address" }, { "indexed": true, "internalType": "address", "name": "to", "type": "address" }, { "indexed": false, "internalType": "uint256[]", "name": "ids", "type": "uint256[]" }, { "indexed": false, "internalType": "uint256[]", "name": "values", "type": "uint256[]" } ], "name": "TransferBatch", "type": "event" }, { "anonymous": false, "inputs": [ { "indexed": true, "internalType": "address", "name": "operator", "type": "address" }, { "indexed": true, "internalType": "address", "name": "from", "type": "address" }, { "indexed": true, "internalType": "address", "name": "to", "type": "address" }, { "indexed": false, "internalType": "uint256", "name": "id", "type": "uint256" }, { "indexed": false, "internalType": "uint256", "name": "value", "type": "uint256" } ], "name": "TransferSingle", "type": "event" }, { "anonymous": false, "inputs": [ { "indexed": false, "internalType": "string", "name": "value", "type": "string" }, { "indexed": true, "internalType": "uint256", "name": "id", "type": "uint256" } ], "name": "URI", "type": "event" }, { "inputs": [], "name": "DEFAULT_ADMIN_ROLE", "outputs": [ { "internalType": "bytes32", "name": "", "type": "bytes32" } ], "stateMutability": "view", "type": "function" }, { "inputs": [], "name": "MINTER_ROLE", "outputs": [ { "internalType": "bytes32", "name": "", "type": "bytes32" } ], "stateMutability": "view", "type": "function" }, { "inputs": [ { "internalType": "address", "name": "account", "type": "address" }, { "internalType": "uint256", "name": "id", "type": "uint256" } ], "name": "balanceOf", "outputs": [ { "internalType": "uint256", "name": "", "type": "uint256" } ], "stateMutability": "view", "type": "function" }, { "inputs": [ { "internalType": "address[]", "name": "accounts", "type": "address[]" }, { "internalType": "uint256[]", "name": "ids", "type": "uint256[]" } ], "name": "balanceOfBatch", "outputs": [ { "internalType": "uint256[]", "name": "", "type": "uint256[]" } ], "stateMutability": "view", "type": "function" }, { "inputs": [ { "internalType": "address", "name": "account", "type": "address" }, { "internalType": "uint256", "name": "id", "type": "uint256" }, { "internalType": "uint256", "name": "value", "type": "uint256" } ], "name": "burn", "outputs": [], "stateMutability": "nonpayable", "type": "function" }, { "inputs": [ { "internalType": "address", "name": "account", "type": "address" }, { "internalType": "uint256[]", "name": "ids", "type": "uint256[]" }, { "internalType": "uint256[]", "name": "values", "type": "uint256[]" } ], "name": "burnBatch", "outputs": [], "stateMutability": "nonpayable", "type": "function" }, { "inputs": [ { "internalType": "bytes32", "name": "role", "type": "bytes32" } ], "name": "getRoleAdmin", "outputs": [ { "internalType": "bytes32", "name": "", "type": "bytes32" } ], "stateMutability": "view", "type": "function" }, { "inputs": [ { "internalType": "bytes32", "name": "role", "type": "bytes32" }, { "internalType": "uint256", "name": "index", "type": "uint256" } ], "name": "getRoleMember", "outputs": [ { "internalType": "address", "name": "", "type": "address" } ], "stateMutability": "view", "type": "function" }, { "inputs": [ { "internalType": "bytes32", "name": "role", "type": "bytes32" } ], "name": "getRoleMemberCount", "outputs": [ { "internalType": "uint256", "name": "", "type": "uint256" } ], "stateMutability": "view", "type": "function" }, { "inputs": [ { "internalType": "bytes32", "name": "role", "type": "bytes32" }, { "internalType": "address", "name": "account", "type": "address" } ], "name": "grantRole", "outputs": [], "stateMutability": "nonpayable", "type": "function" }, { "inputs": [ { "internalType": "bytes32", "name": "role", "type": "bytes32" }, { "internalType": "address", "name": "account", "type": "address" } ], "name": "hasRole", "outputs": [ { "internalType": "bool", "name": "", "type": "bool" } ], "stateMutability": "view", "type": "function" }, { "inputs": [ { "internalType": "uint256", "name": "_id", "type": "uint256" }, { "internalType": "uint256[]", "name": "_tokenIds", "type": "uint256[]" }, { "internalType": "uint256[]", "name": "_tokenQuantities", "type": "uint256[]" }, { "internalType": "uint256", "name": "_primeValue", "type": "uint256" }, { "internalType": "bytes", "name": "_data", "type": "bytes" } ], "name": "invoke", "outputs": [], "stateMutability": "payable", "type": "function" }, { "inputs": [ { "internalType": "address", "name": "account", "type": "address" }, { "internalType": "address", "name": "operator", "type": "address" } ], "name": "isApprovedForAll", "outputs": [ { "internalType": "bool", "name": "", "type": "bool" } ], "stateMutability": "view", "type": "function" }, { "inputs": [], "name": "isBaseUriLocked", "outputs": [ { "internalType": "bool", "name": "", "type": "bool" } ], "stateMutability": "view", "type": "function" }, { "inputs": [], "name": "lockBaseUri", "outputs": [], "stateMutability": "nonpayable", "type": "function" }, { "inputs": [ { "internalType": "address", "name": "_to", "type": "address" }, { "internalType": "uint256", "name": "_id", "type": "uint256" }, { "internalType": "uint256", "name": "_amount", "type": "uint256" }, { "internalType": "bytes", "name": "_data", "type": "bytes" } ], "name": "mint", "outputs": [], "stateMutability": "nonpayable", "type": "function" }, { "inputs": [ { "internalType": "address", "name": "_to", "type": "address" }, { "internalType": "uint256[]", "name": "_ids", "type": "uint256[]" }, { "internalType": "uint256[]", "name": "_amounts", "type": "uint256[]" }, { "internalType": "bytes", "name": "_data", "type": "bytes" } ], "name": "mintBatch", "outputs": [], "stateMutability": "nonpayable", "type": "function" }, { "inputs": [], "name": "name", "outputs": [ { "internalType": "string", "name": "", "type": "string" } ], "stateMutability": "view", "type": "function" }, { "inputs": [], "name": "prime", "outputs": [ { "internalType": "contract IERC20", "name": "", "type": "address" } ], "stateMutability": "view", "type": "function" }, { "inputs": [ { "internalType": "bytes32", "name": "role", "type": "bytes32" }, { "internalType": "address", "name": "account", "type": "address" } ], "name": "renounceRole", "outputs": [], "stateMutability": "nonpayable", "type": "function" }, { "inputs": [ { "internalType": "bytes32", "name": "role", "type": "bytes32" }, { "internalType": "address", "name": "account", "type": "address" } ], "name": "revokeRole", "outputs": [], "stateMutability": "nonpayable", "type": "function" }, { "inputs": [ { "internalType": "uint256", "name": "", "type": "uint256" } ], "name": "routerEndpoints", "outputs": [ { "internalType": "address", "name": "nftReceiver", "type": "address" }, { "internalType": "address", "name": "ethReceiver", "type": "address" }, { "internalType": "address", "name": "primeReceiver", "type": "address" }, { "internalType": "address", "name": "verifier", "type": "address" } ], "stateMutability": "view", "type": "function" }, { "inputs": [ { "internalType": "address", "name": "from", "type": "address" }, { "internalType": "address", "name": "to", "type": "address" }, { "internalType": "uint256[]", "name": "ids", "type": "uint256[]" }, { "internalType": "uint256[]", "name": "amounts", "type": "uint256[]" }, { "internalType": "bytes", "name": "data", "type": "bytes" } ], "name": "safeBatchTransferFrom", "outputs": [], "stateMutability": "nonpayable", "type": "function" }, { "inputs": [ { "internalType": "address", "name": "from", "type": "address" }, { "internalType": "address", "name": "to", "type": "address" }, { "internalType": "uint256", "name": "id", "type": "uint256" }, { "internalType": "uint256", "name": "amount", "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": "address", "name": "_prime", "type": "address" } ], "name": "setPrime", "outputs": [], "stateMutability": "nonpayable", "type": "function" }, { "inputs": [ { "internalType": "uint256", "name": "_id", "type": "uint256" }, { "internalType": "address", "name": "_nftReceiver", "type": "address" }, { "internalType": "address", "name": "_ethReceiver", "type": "address" }, { "internalType": "address", "name": "_primeReceiver", "type": "address" }, { "internalType": "address", "name": "_verifier", "type": "address" } ], "name": "setReceiver", "outputs": [], "stateMutability": "nonpayable", "type": "function" }, { "inputs": [ { "internalType": "string", "name": "_uri", "type": "string" } ], "name": "setUri", "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": "uri", "outputs": [ { "internalType": "string", "name": "", "type": "string" } ], "stateMutability": "view", "type": "function" } ]
6080604052600680546001600160a01b03191673fa980ced6895ac314e7de34ef1bfae90a5add21b1790553480156200003757600080fd5b5060405180608001604052806048815260200162003cda604891396040518060400160405280601381526020017f506172616c6c656c20426174746c6570617373000000000000000000000000008152506040518060400160405280600481526020016304c4c42560e41b81525082620000b7816200011d60201b60201c565b5060016005556009620000cb83826200032e565b50600a620000da82826200032e565b50620000e86000336200012f565b620001147f9f2df0fed2c77648de5860a4cc508cd0818c85b8b8a1ab4ceeef8d981c8956a6336200012f565b505050620003fa565b60046200012b82826200032e565b5050565b6200012b82826200014c82826200017860201b620014e71760201c565b6000828152600160209081526040909120620001739183906200156b62000218821b17901c565b505050565b6000828152602081815260408083206001600160a01b038516845290915290205460ff166200012b576000828152602081815260408083206001600160a01b03851684529091529020805460ff19166001179055620001d43390565b6001600160a01b0316816001600160a01b0316837f2f8788117e7eff1d82e926ec794901d17c78024a50270940304540a733656f0d60405160405180910390a45050565b60006200022f836001600160a01b03841662000238565b90505b92915050565b6000818152600183016020526040812054620002815750815460018181018455600084815260208082209093018490558454848252828601909352604090209190915562000232565b50600062000232565b634e487b7160e01b600052604160045260246000fd5b600181811c90821680620002b557607f821691505b602082108103620002d657634e487b7160e01b600052602260045260246000fd5b50919050565b601f8211156200017357600081815260208120601f850160051c81016020861015620003055750805b601f850160051c820191505b81811015620003265782815560010162000311565b505050505050565b81516001600160401b038111156200034a576200034a6200028a565b62000362816200035b8454620002a0565b84620002dc565b602080601f8311600181146200039a5760008415620003815750858301515b600019600386901b1c1916600185901b17855562000326565b600085815260208120601f198616915b82811015620003cb57888601518255948401946001909101908401620003aa565b5085821015620003ea5787850151600019600388901b60f8161c191681555b5050505050600190811b01905550565b6138d0806200040a6000396000f3fe6080604052600436106101d75760003560e01c80639010d07c11610102578063c7ee005e11610095578063d547741f11610064578063d547741f146105cc578063e985e9c5146105ec578063f242432a14610635578063f5298aca1461065557600080fd5b8063c7ee005e1461054a578063c9e18c6f1461056a578063ca15c8731461058a578063d5391393146105aa57600080fd5b80639b642de1116100d15780639b642de1146104e25780639e5027d514610502578063a217fddf14610515578063a22cb4651461052a57600080fd5b80639010d07c146103ef57806391d1485414610427578063959ee0851461044757806395d89b41146104cd57600080fd5b80632eb2c2d61161017a5780634e1273f4116101495780634e1273f4146103625780636b20c4541461038f578063731133e9146103af5780637547495f146103cf57600080fd5b80632eb2c2d6146102ed5780632f2ff15d1461030d578063312767ca1461032d57806336568abe1461034257600080fd5b80630e89341c116101b65780630e89341c146102615780630ef63773146102815780631f7fdffa1461029b578063248a9ca3146102bd57600080fd5b8062fdd58e146101dc57806301ffc9a71461020f57806306fdde031461023f575b600080fd5b3480156101e857600080fd5b506101fc6101f73660046127b6565b610675565b6040519081526020015b60405180910390f35b34801561021b57600080fd5b5061022f61022a3660046127f6565b610710565b6040519015158152602001610206565b34801561024b57600080fd5b5061025461071b565b6040516102069190612863565b34801561026d57600080fd5b5061025461027c366004612876565b6107a9565b34801561028d57600080fd5b5060085461022f9060ff1681565b3480156102a757600080fd5b506102bb6102b63660046129d8565b61085c565b005b3480156102c957600080fd5b506101fc6102d8366004612876565b60009081526020819052604090206001015490565b3480156102f957600080fd5b506102bb610308366004612a70565b6108a2565b34801561031957600080fd5b506102bb610328366004612b19565b6108ee565b34801561033957600080fd5b506102bb610918565b34801561034e57600080fd5b506102bb61035d366004612b19565b61095b565b34801561036e57600080fd5b5061038261037d366004612b45565b6109d9565b6040516102069190612c4a565b34801561039b57600080fd5b506102bb6103aa366004612c5d565b610b02565b3480156103bb57600080fd5b506102bb6103ca366004612cd0565b610b45565b3480156103db57600080fd5b506102bb6103ea366004612d24565b610b85565b3480156103fb57600080fd5b5061040f61040a366004612d82565b610ea0565b6040516001600160a01b039091168152602001610206565b34801561043357600080fd5b5061022f610442366004612b19565b610ebf565b34801561045357600080fd5b5061049a610462366004612876565b60076020526000908152604090208054600182015460028301546003909301546001600160a01b039283169391831692918216911684565b604080516001600160a01b0395861681529385166020850152918416918301919091529091166060820152608001610206565b3480156104d957600080fd5b50610254610ee8565b3480156104ee57600080fd5b506102bb6104fd366004612dec565b610ef5565b6102bb610510366004612e71565b610fcb565b34801561052157600080fd5b506101fc600081565b34801561053657600080fd5b506102bb610545366004612f2b565b6113c2565b34801561055657600080fd5b5060065461040f906001600160a01b031681565b34801561057657600080fd5b506102bb610585366004612f62565b6113cd565b34801561059657600080fd5b506101fc6105a5366004612876565b611423565b3480156105b657600080fd5b506101fc60008051602061387b83398151915281565b3480156105d857600080fd5b506102bb6105e7366004612b19565b61143a565b3480156105f857600080fd5b5061022f610607366004612f7d565b6001600160a01b03918216600090815260036020908152604080832093909416825291909152205460ff1690565b34801561064157600080fd5b506102bb610650366004612fa7565b61145f565b34801561066157600080fd5b506102bb61067036600461300b565b6114a4565b60006001600160a01b0383166106e55760405162461bcd60e51b815260206004820152602a60248201527f455243313135353a2061646472657373207a65726f206973206e6f742061207660448201526930b634b21037bbb732b960b11b60648201526084015b60405180910390fd5b5060008181526002602090815260408083206001600160a01b03861684529091529020545b92915050565b600061070a82611580565b600980546107289061303e565b80601f01602080910402602001604051908101604052809291908181526020018280546107549061303e565b80156107a15780601f10610776576101008083540402835291602001916107a1565b820191906000526020600020905b81548152906001019060200180831161078457829003601f168201915b505050505081565b606060006107b6836115c0565b905080516000036107d7575050604080516020810190915260008152919050565b604080518082019091526001808252602f60f81b602090920182905282518391610800916130a4565b8151811061081057610810613078565b01602001516001600160f81b0319161461082a5792915050565b8061083484611654565b6040516020016108459291906130b7565b604051602081830303815290604052915050919050565b61087460008051602061387b83398151915233610ebf565b6108905760405162461bcd60e51b81526004016106dc906130e6565b61089c848484846116e6565b50505050565b6001600160a01b0385163314806108be57506108be8533610607565b6108da5760405162461bcd60e51b81526004016106dc90613130565b6108e78585858585611832565b5050505050565b600082815260208190526040902060010154610909816119d1565b61091383836119de565b505050565b61093060008051602061387b83398151915233610ebf565b61094c5760405162461bcd60e51b81526004016106dc906130e6565b6008805460ff19166001179055565b6001600160a01b03811633146109cb5760405162461bcd60e51b815260206004820152602f60248201527f416363657373436f6e74726f6c3a2063616e206f6e6c792072656e6f756e636560448201526e103937b632b9903337b91039b2b63360891b60648201526084016106dc565b6109d58282611a00565b5050565b60608151835114610a3e5760405162461bcd60e51b815260206004820152602960248201527f455243313135353a206163636f756e747320616e6420696473206c656e677468604482015268040dad2e6dac2e8c6d60bb1b60648201526084016106dc565b600083516001600160401b03811115610a5957610a5961288f565b604051908082528060200260200182016040528015610a82578160200160208202803683370190505b50905060005b8451811015610afa57610acd858281518110610aa657610aa6613078565b6020026020010151858381518110610ac057610ac0613078565b6020026020010151610675565b828281518110610adf57610adf613078565b6020908102919091010152610af38161317e565b9050610a88565b509392505050565b6001600160a01b038316331480610b1e5750610b1e8333610607565b610b3a5760405162461bcd60e51b81526004016106dc90613130565b610913838383611a22565b610b5d60008051602061387b83398151915233610ebf565b610b795760405162461bcd60e51b81526004016106dc906130e6565b61089c84848484611baf565b610b9d60008051602061387b83398151915233610ebf565b610bb95760405162461bcd60e51b81526004016106dc906130e6565b6001600160a01b038416610c2d5760405162461bcd60e51b815260206004820152603560248201527f455243313135354d696e746572496e766f6b653a205f6e667452656365697665604482015274722063616e6e6f742062652030206164647265737360581b60648201526084016106dc565b6001600160a01b038316610ca15760405162461bcd60e51b815260206004820152603560248201527f455243313135354d696e746572496e766f6b653a205f65746852656365697665604482015274722063616e6e6f742062652030206164647265737360581b60648201526084016106dc565b6001600160a01b038216610d1d5760405162461bcd60e51b815260206004820152603760248201527f455243313135354d696e746572496e766f6b653a205f7072696d65526563656960448201527f7665722063616e6e6f742062652030206164647265737300000000000000000060648201526084016106dc565b6001600160a01b038116610d8e5760405162461bcd60e51b815260206004820152603260248201527f455243313135354d696e746572496e766f6b653a205f76657269666965722063604482015271616e6e6f742062652030206164647265737360701b60648201526084016106dc565b6040805160808101825260008082526020820181905291810182905260608101919091526001600160a01b038086168252848116602080840191825285831660408086019182528685166060870181815260008d8152600790955293829020875181549088166001600160a01b031991821617825595516001820180549189169188169190911790559251600284018054918816918716919091179055925160039092018054929095169190931617909255517fe95dd5783e535b246026fa5db56592497f67e0ef0b33f99c94fc1eb0141dcdab90610e90908890889088906001600160a01b0393841681529183166020830152909116604082015260600190565b60405180910390a2505050505050565b6000828152600160205260408120610eb89083611c8b565b9392505050565b6000918252602082815260408084206001600160a01b0393909316845291905290205460ff1690565b600a80546107289061303e565b610f0d60008051602061387b83398151915233610ebf565b610f295760405162461bcd60e51b81526004016106dc906130e6565b60085460ff1615610f8c5760405162461bcd60e51b815260206004820152602760248201527f455243313135354d696e746572496e766f6b653a206261736520757269206973604482015266081b1bd8dad95960ca1b60648201526084016106dc565b6109d582828080601f016020809104026020016040519081016040528093929190818152602001838380828437600092019190915250611c9792505050565b610fd3611ca3565b600088815260076020908152604091829020825160808101845281546001600160a01b039081168252600183015481169382019390935260028201548316938101939093526003015416606082018190526110965760405162461bcd60e51b815260206004820152603760248201527f455243313135354d696e746572496e766f6b653a20726f75746572456e64706f60448201527f696e74206d75737420626520696e697469616c697a656400000000000000000060648201526084016106dc565b341561115a57600081602001516001600160a01b03163460405160006040518083038185875af1925050503d80600081146110ed576040519150601f19603f3d011682016040523d82523d6000602084013e6110f2565b606091505b50509050806111585760405162461bcd60e51b815260206004820152602c60248201527f455243313135354d696e746572496e766f6b653a204661696c656420746f207260448201526b32b1b2b4bb329022ba3432b960a11b60648201526084016106dc565b505b83156112495760065460408281015190516323b872dd60e01b81523360048201526001600160a01b0391821660248201526044810187905260009291909116906323b872dd906064016020604051808303816000875af11580156111c2573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906111e69190613197565b9050806112475760405162461bcd60e51b815260206004820152602960248201527f455243313135354d696e746572496e766f6b653a204661696c656420746f2073604482015268656e64207072696d6560b81b60648201526084016106dc565b505b86156112d0576112d03382600001518a8a8080602002602001604051908101604052809392919081815260200183836020028082843760009201919091525050604080516020808e0282810182019093528d82529093508d92508c918291850190849080828437600092018290525060408051602081019091529081529250611832915050565b80606001516001600160a01b0316636d577866338334888d8d8d8d8c8c6040518b63ffffffff1660e01b81526004016113129a9998979695949392919061320f565b600060405180830381600087803b15801561132c57600080fd5b505af1158015611340573d6000803e3d6000fd5b5050505061134b3390565b6001600160a01b03167f22d5a12109c94604d2deb36dacfb8c60c2dab29e45b43db333bc3dc5628b508c8260000151836020015184604001518d8d8d8d8d348e8e8e6040516113a59c9b9a999897969594939291906132aa565b60405180910390a2506113b86001600555565b5050505050505050565b6109d5338383611cfc565b6113e560008051602061387b83398151915233610ebf565b6114015760405162461bcd60e51b81526004016106dc906130e6565b600680546001600160a01b0319166001600160a01b0392909216919091179055565b600081815260016020526040812061070a90611ddc565b600082815260208190526040902060010154611455816119d1565b6109138383611a00565b6001600160a01b03851633148061147b575061147b8533610607565b6114975760405162461bcd60e51b81526004016106dc90613130565b6108e78585858585611de6565b6001600160a01b0383163314806114c057506114c08333610607565b6114dc5760405162461bcd60e51b81526004016106dc90613130565b610913838383611f14565b6114f18282610ebf565b6109d5576000828152602081815260408083206001600160a01b03851684529091529020805460ff191660011790556115273390565b6001600160a01b0316816001600160a01b0316837f2f8788117e7eff1d82e926ec794901d17c78024a50270940304540a733656f0d60405160405180910390a45050565b6000610eb8836001600160a01b03841661201b565b60006001600160e01b03198216636cdb3d1360e11b14806115b157506001600160e01b031982166303a24d0760e21b145b8061070a575061070a8261206a565b6060600480546115cf9061303e565b80601f01602080910402602001604051908101604052809291908181526020018280546115fb9061303e565b80156116485780601f1061161d57610100808354040283529160200191611648565b820191906000526020600020905b81548152906001019060200180831161162b57829003601f168201915b50505050509050919050565b606060006116618361208f565b60010190506000816001600160401b038111156116805761168061288f565b6040519080825280601f01601f1916602001820160405280156116aa576020820181803683370190505b5090508181016020015b600019016f181899199a1a9b1b9c1cb0b131b232b360811b600a86061a8153600a85049450846116b457509392505050565b6001600160a01b03841661170c5760405162461bcd60e51b81526004016106dc9061332f565b815183511461172d5760405162461bcd60e51b81526004016106dc90613370565b3360005b84518110156117ca5783818151811061174c5761174c613078565b60200260200101516002600087848151811061176a5761176a613078565b602002602001015181526020019081526020016000206000886001600160a01b03166001600160a01b0316815260200190815260200160002060008282546117b291906133b8565b909155508190506117c28161317e565b915050611731565b50846001600160a01b031660006001600160a01b0316826001600160a01b03167f4a39dc06d4c0dbc64b70af90fd698a233a518aa5d07e595d983b8c0526c8f7fb878760405161181b9291906133cb565b60405180910390a46108e781600087878787612167565b81518351146118535760405162461bcd60e51b81526004016106dc90613370565b6001600160a01b0384166118795760405162461bcd60e51b81526004016106dc906133f9565b3360005b845181101561196357600085828151811061189a5761189a613078565b6020026020010151905060008583815181106118b8576118b8613078565b60209081029190910181015160008481526002835260408082206001600160a01b038e1683529093529190912054909150818110156119095760405162461bcd60e51b81526004016106dc9061343e565b60008381526002602090815260408083206001600160a01b038e8116855292528083208585039055908b168252812080548492906119489084906133b8565b925050819055505050508061195c9061317e565b905061187d565b50846001600160a01b0316866001600160a01b0316826001600160a01b03167f4a39dc06d4c0dbc64b70af90fd698a233a518aa5d07e595d983b8c0526c8f7fb87876040516119b39291906133cb565b60405180910390a46119c9818787878787612167565b505050505050565b6119db81336122c2565b50565b6119e882826114e7565b6000828152600160205260409020610913908261156b565b611a0a828261231b565b60008281526001602052604090206109139082612380565b6001600160a01b038316611a485760405162461bcd60e51b81526004016106dc90613488565b8051825114611a695760405162461bcd60e51b81526004016106dc90613370565b604080516020810190915260009081905233905b8351811015611b42576000848281518110611a9a57611a9a613078565b602002602001015190506000848381518110611ab857611ab8613078565b60209081029190910181015160008481526002835260408082206001600160a01b038c168352909352919091205490915081811015611b095760405162461bcd60e51b81526004016106dc906134cb565b60009283526002602090815260408085206001600160a01b038b1686529091529092209103905580611b3a8161317e565b915050611a7d565b5060006001600160a01b0316846001600160a01b0316826001600160a01b03167f4a39dc06d4c0dbc64b70af90fd698a233a518aa5d07e595d983b8c0526c8f7fb8686604051611b939291906133cb565b60405180910390a460408051602081019091526000905261089c565b6001600160a01b038416611bd55760405162461bcd60e51b81526004016106dc9061332f565b336000611be185612395565b90506000611bee85612395565b905060008681526002602090815260408083206001600160a01b038b16845290915281208054879290611c229084906133b8565b909155505060408051878152602081018790526001600160a01b03808a1692600092918716917fc3d58168c5ae7397731d063d5bbf3d657854427343f4c083240f7aacaa2d0f62910160405180910390a4611c82836000898989896123e0565b50505050505050565b6000610eb8838361249b565b60046109d58282613555565b600260055403611cf55760405162461bcd60e51b815260206004820152601f60248201527f5265656e7472616e637947756172643a207265656e7472616e742063616c6c0060448201526064016106dc565b6002600555565b816001600160a01b0316836001600160a01b031603611d6f5760405162461bcd60e51b815260206004820152602960248201527f455243313135353a2073657474696e6720617070726f76616c20737461747573604482015268103337b91039b2b63360b91b60648201526084016106dc565b6001600160a01b03838116600081815260036020908152604080832094871680845294825291829020805460ff191686151590811790915591519182527f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a3505050565b600061070a825490565b6001600160a01b038416611e0c5760405162461bcd60e51b81526004016106dc906133f9565b336000611e1885612395565b90506000611e2585612395565b905060008681526002602090815260408083206001600160a01b038c16845290915290205485811015611e6a5760405162461bcd60e51b81526004016106dc9061343e565b60008781526002602090815260408083206001600160a01b038d8116855292528083208985039055908a16825281208054889290611ea99084906133b8565b909155505060408051888152602081018890526001600160a01b03808b16928c821692918816917fc3d58168c5ae7397731d063d5bbf3d657854427343f4c083240f7aacaa2d0f62910160405180910390a4611f09848a8a8a8a8a6123e0565b505050505050505050565b6001600160a01b038316611f3a5760405162461bcd60e51b81526004016106dc90613488565b336000611f4684612395565b90506000611f5384612395565b6040805160208082018352600091829052888252600281528282206001600160a01b038b1683529052205490915084811015611fa15760405162461bcd60e51b81526004016106dc906134cb565b60008681526002602090815260408083206001600160a01b038b81168086529184528285208a8703905582518b81529384018a90529092908816917fc3d58168c5ae7397731d063d5bbf3d657854427343f4c083240f7aacaa2d0f62910160405180910390a4604080516020810190915260009052611c82565b60008181526001830160205260408120546120625750815460018181018455600084815260208082209093018490558454848252828601909352604090209190915561070a565b50600061070a565b60006001600160e01b03198216635a05180f60e01b148061070a575061070a826124c5565b60008072184f03e93ff9f4daa797ed6e38ed64bf6a1f0160401b83106120ce5772184f03e93ff9f4daa797ed6e38ed64bf6a1f0160401b830492506040015b6d04ee2d6d415b85acef810000000083106120fa576d04ee2d6d415b85acef8100000000830492506020015b662386f26fc10000831061211857662386f26fc10000830492506010015b6305f5e1008310612130576305f5e100830492506008015b612710831061214457612710830492506004015b60648310612156576064830492506002015b600a831061070a5760010192915050565b6001600160a01b0384163b156119c95760405163bc197c8160e01b81526001600160a01b0385169063bc197c81906121ab9089908990889088908890600401613614565b6020604051808303816000875af19250505080156121e6575060408051601f3d908101601f191682019092526121e391810190613672565b60015b612292576121f261368f565b806308c379a00361222b57506122066136ab565b80612211575061222d565b8060405162461bcd60e51b81526004016106dc9190612863565b505b60405162461bcd60e51b815260206004820152603460248201527f455243313135353a207472616e7366657220746f206e6f6e2d455243313135356044820152732932b1b2b4bb32b91034b6b83632b6b2b73a32b960611b60648201526084016106dc565b6001600160e01b0319811663bc197c8160e01b14611c825760405162461bcd60e51b81526004016106dc90613734565b6122cc8282610ebf565b6109d5576122d9816124fa565b6122e483602061250c565b6040516020016122f592919061377c565b60408051601f198184030181529082905262461bcd60e51b82526106dc91600401612863565b6123258282610ebf565b156109d5576000828152602081815260408083206001600160a01b0385168085529252808320805460ff1916905551339285917ff6391f5c32d9c69d2a47ea670b442974b53935d1edc7fd64eb21e047a839171b9190a45050565b6000610eb8836001600160a01b0384166126a7565b604080516001808252818301909252606091600091906020808301908036833701905050905082816000815181106123cf576123cf613078565b602090810291909101015292915050565b6001600160a01b0384163b156119c95760405163f23a6e6160e01b81526001600160a01b0385169063f23a6e619061242490899089908890889088906004016137f1565b6020604051808303816000875af192505050801561245f575060408051601f3d908101601f1916820190925261245c91810190613672565b60015b61246b576121f261368f565b6001600160e01b0319811663f23a6e6160e01b14611c825760405162461bcd60e51b81526004016106dc90613734565b60008260000182815481106124b2576124b2613078565b9060005260206000200154905092915050565b60006001600160e01b03198216637965db0b60e01b148061070a57506301ffc9a760e01b6001600160e01b031983161461070a565b606061070a6001600160a01b03831660145b6060600061251b836002613836565b6125269060026133b8565b6001600160401b0381111561253d5761253d61288f565b6040519080825280601f01601f191660200182016040528015612567576020820181803683370190505b509050600360fc1b8160008151811061258257612582613078565b60200101906001600160f81b031916908160001a905350600f60fb1b816001815181106125b1576125b1613078565b60200101906001600160f81b031916908160001a90535060006125d5846002613836565b6125e09060016133b8565b90505b6001811115612658576f181899199a1a9b1b9c1cb0b131b232b360811b85600f166010811061261457612614613078565b1a60f81b82828151811061262a5761262a613078565b60200101906001600160f81b031916908160001a90535060049490941c936126518161384d565b90506125e3565b508315610eb85760405162461bcd60e51b815260206004820181905260248201527f537472696e67733a20686578206c656e67746820696e73756666696369656e7460448201526064016106dc565b600081815260018301602052604081205480156127905760006126cb6001836130a4565b85549091506000906126df906001906130a4565b90508181146127445760008660000182815481106126ff576126ff613078565b906000526020600020015490508087600001848154811061272257612722613078565b6000918252602080832090910192909255918252600188019052604090208390555b855486908061275557612755613864565b60019003818190600052602060002001600090559055856001016000868152602001908152602001600020600090556001935050505061070a565b600091505061070a565b80356001600160a01b03811681146127b157600080fd5b919050565b600080604083850312156127c957600080fd5b6127d28361279a565b946020939093013593505050565b6001600160e01b0319811681146119db57600080fd5b60006020828403121561280857600080fd5b8135610eb8816127e0565b60005b8381101561282e578181015183820152602001612816565b50506000910152565b6000815180845261284f816020860160208601612813565b601f01601f19169290920160200192915050565b602081526000610eb86020830184612837565b60006020828403121561288857600080fd5b5035919050565b634e487b7160e01b600052604160045260246000fd5b601f8201601f191681016001600160401b03811182821017156128ca576128ca61288f565b6040525050565b60006001600160401b038211156128ea576128ea61288f565b5060051b60200190565b600082601f83011261290557600080fd5b81356020612912826128d1565b60405161291f82826128a5565b83815260059390931b850182019282810191508684111561293f57600080fd5b8286015b8481101561295a5780358352918301918301612943565b509695505050505050565b600082601f83011261297657600080fd5b81356001600160401b0381111561298f5761298f61288f565b6040516129a6601f8301601f1916602001826128a5565b8181528460208386010111156129bb57600080fd5b816020850160208301376000918101602001919091529392505050565b600080600080608085870312156129ee57600080fd5b6129f78561279a565b935060208501356001600160401b0380821115612a1357600080fd5b612a1f888389016128f4565b94506040870135915080821115612a3557600080fd5b612a41888389016128f4565b93506060870135915080821115612a5757600080fd5b50612a6487828801612965565b91505092959194509250565b600080600080600060a08688031215612a8857600080fd5b612a918661279a565b9450612a9f6020870161279a565b935060408601356001600160401b0380821115612abb57600080fd5b612ac789838a016128f4565b94506060880135915080821115612add57600080fd5b612ae989838a016128f4565b93506080880135915080821115612aff57600080fd5b50612b0c88828901612965565b9150509295509295909350565b60008060408385031215612b2c57600080fd5b82359150612b3c6020840161279a565b90509250929050565b60008060408385031215612b5857600080fd5b82356001600160401b0380821115612b6f57600080fd5b818501915085601f830112612b8357600080fd5b81356020612b90826128d1565b604051612b9d82826128a5565b83815260059390931b8501820192828101915089841115612bbd57600080fd5b948201945b83861015612be257612bd38661279a565b82529482019490820190612bc2565b96505086013592505080821115612bf857600080fd5b50612c05858286016128f4565b9150509250929050565b600081518084526020808501945080840160005b83811015612c3f57815187529582019590820190600101612c23565b509495945050505050565b602081526000610eb86020830184612c0f565b600080600060608486031215612c7257600080fd5b612c7b8461279a565b925060208401356001600160401b0380821115612c9757600080fd5b612ca3878388016128f4565b93506040860135915080821115612cb957600080fd5b50612cc6868287016128f4565b9150509250925092565b60008060008060808587031215612ce657600080fd5b612cef8561279a565b9350602085013592506040850135915060608501356001600160401b03811115612d1857600080fd5b612a6487828801612965565b600080600080600060a08688031215612d3c57600080fd5b85359450612d4c6020870161279a565b9350612d5a6040870161279a565b9250612d686060870161279a565b9150612d766080870161279a565b90509295509295909350565b60008060408385031215612d9557600080fd5b50508035926020909101359150565b60008083601f840112612db657600080fd5b5081356001600160401b03811115612dcd57600080fd5b602083019150836020828501011115612de557600080fd5b9250929050565b60008060208385031215612dff57600080fd5b82356001600160401b03811115612e1557600080fd5b612e2185828601612da4565b90969095509350505050565b60008083601f840112612e3f57600080fd5b5081356001600160401b03811115612e5657600080fd5b6020830191508360208260051b8501011115612de557600080fd5b60008060008060008060008060a0898b031215612e8d57600080fd5b8835975060208901356001600160401b0380821115612eab57600080fd5b612eb78c838d01612e2d565b909950975060408b0135915080821115612ed057600080fd5b612edc8c838d01612e2d565b909750955060608b0135945060808b0135915080821115612efc57600080fd5b50612f098b828c01612da4565b999c989b5096995094979396929594505050565b80151581146119db57600080fd5b60008060408385031215612f3e57600080fd5b612f478361279a565b91506020830135612f5781612f1d565b809150509250929050565b600060208284031215612f7457600080fd5b610eb88261279a565b60008060408385031215612f9057600080fd5b612f998361279a565b9150612b3c6020840161279a565b600080600080600060a08688031215612fbf57600080fd5b612fc88661279a565b9450612fd66020870161279a565b9350604086013592506060860135915060808601356001600160401b03811115612fff57600080fd5b612b0c88828901612965565b60008060006060848603121561302057600080fd5b6130298461279a565b95602085013595506040909401359392505050565b600181811c9082168061305257607f821691505b60208210810361307257634e487b7160e01b600052602260045260246000fd5b50919050565b634e487b7160e01b600052603260045260246000fd5b634e487b7160e01b600052601160045260246000fd5b8181038181111561070a5761070a61308e565b600083516130c9818460208801612813565b8351908301906130dd818360208801612813565b01949350505050565b6020808252602a908201527f455243313135354d696e746572496e766f6b653a206d7573742068617665206d604082015269696e74657220726f6c6560b01b606082015260800190565b6020808252602e908201527f455243313135353a2063616c6c6572206973206e6f7420746f6b656e206f776e60408201526d195c881bdc88185c1c1c9bdd995960921b606082015260800190565b6000600182016131905761319061308e565b5060010190565b6000602082840312156131a957600080fd5b8151610eb881612f1d565b81835260006001600160fb1b038311156131cd57600080fd5b8260051b80836020870137939093016020019392505050565b81835281816020850137506000828201602090810191909152601f909101601f19169091010190565b600061014060018060a01b03808e168452808d511660208501528060208e01511660408501528060408e01511660608501528060608e0151166080850152508a60a08401528960c08401528060e084015261326d818401898b6131b4565b90508281036101008401526132838187896131b4565b90508281036101208401526132998185876131e6565b9d9c50505050505050505050505050565b6001600160a01b038d811682528c811660208301528b166040820152606081018a9052610120608082018190526000906132e79083018a8c6131b4565b82810360a08401526132fa81898b6131b4565b90508660c08401528560e084015282810361010084015261331c8185876131e6565b9f9e505050505050505050505050505050565b60208082526021908201527f455243313135353a206d696e7420746f20746865207a65726f206164647265736040820152607360f81b606082015260800190565b60208082526028908201527f455243313135353a2069647320616e6420616d6f756e7473206c656e677468206040820152670dad2e6dac2e8c6d60c31b606082015260800190565b8082018082111561070a5761070a61308e565b6040815260006133de6040830185612c0f565b82810360208401526133f08185612c0f565b95945050505050565b60208082526025908201527f455243313135353a207472616e7366657220746f20746865207a65726f206164604082015264647265737360d81b606082015260800190565b6020808252602a908201527f455243313135353a20696e73756666696369656e742062616c616e636520666f60408201526939103a3930b739b332b960b11b606082015260800190565b60208082526023908201527f455243313135353a206275726e2066726f6d20746865207a65726f206164647260408201526265737360e81b606082015260800190565b60208082526024908201527f455243313135353a206275726e20616d6f756e7420657863656564732062616c604082015263616e636560e01b606082015260800190565b601f82111561091357600081815260208120601f850160051c810160208610156135365750805b601f850160051c820191505b818110156119c957828155600101613542565b81516001600160401b0381111561356e5761356e61288f565b6135828161357c845461303e565b8461350f565b602080601f8311600181146135b7576000841561359f5750858301515b600019600386901b1c1916600185901b1785556119c9565b600085815260208120601f198616915b828110156135e6578886015182559484019460019091019084016135c7565b50858210156136045787850151600019600388901b60f8161c191681555b5050505050600190811b01905550565b6001600160a01b0386811682528516602082015260a06040820181905260009061364090830186612c0f565b82810360608401526136528186612c0f565b905082810360808401526136668185612837565b98975050505050505050565b60006020828403121561368457600080fd5b8151610eb8816127e0565b600060033d11156136a85760046000803e5060005160e01c5b90565b600060443d10156136b95790565b6040516003193d81016004833e81513d6001600160401b0381602484011181841117156136e857505050505090565b82850191508151818111156137005750505050505090565b843d870101602082850101111561371a5750505050505090565b613729602082860101876128a5565b509095945050505050565b60208082526028908201527f455243313135353a204552433131353552656365697665722072656a656374656040820152676420746f6b656e7360c01b606082015260800190565b7f416363657373436f6e74726f6c3a206163636f756e74200000000000000000008152600083516137b4816017850160208801612813565b7001034b99036b4b9b9b4b733903937b6329607d1b60179184019182015283516137e5816028840160208801612813565b01602801949350505050565b6001600160a01b03868116825285166020820152604081018490526060810183905260a06080820181905260009061382b90830184612837565b979650505050505050565b808202811582820484141761070a5761070a61308e565b60008161385c5761385c61308e565b506000190190565b634e487b7160e01b600052603160045260246000fdfe9f2df0fed2c77648de5860a4cc508cd0818c85b8b8a1ab4ceeef8d981c8956a6a2646970667358221220c242ffc69384181d38cc187cf2fa039c7736e5788a63176956223ac1b362816764736f6c6343000811003368747470733a2f2f6e6674646174612e706172616c6c656c6e66742e636f6d2f6170692f746f6b656e732f706172616c6c656c2d626174746c65706173732f697066732f7b69647d