[ { "inputs": [ { "internalType": "address", "name": "initialOwner", "type": "address" } ], "stateMutability": "nonpayable", "type": "constructor" }, { "inputs": [], "name": "ECDSAInvalidSignature", "type": "error" }, { "inputs": [ { "internalType": "uint256", "name": "length", "type": "uint256" } ], "name": "ECDSAInvalidSignatureLength", "type": "error" }, { "inputs": [ { "internalType": "bytes32", "name": "s", "type": "bytes32" } ], "name": "ECDSAInvalidSignatureS", "type": "error" }, { "inputs": [ { "internalType": "address", "name": "spender", "type": "address" }, { "internalType": "uint256", "name": "allowance", "type": "uint256" }, { "internalType": "uint256", "name": "needed", "type": "uint256" } ], "name": "ERC20InsufficientAllowance", "type": "error" }, { "inputs": [ { "internalType": "address", "name": "sender", "type": "address" }, { "internalType": "uint256", "name": "balance", "type": "uint256" }, { "internalType": "uint256", "name": "needed", "type": "uint256" } ], "name": "ERC20InsufficientBalance", "type": "error" }, { "inputs": [ { "internalType": "address", "name": "approver", "type": "address" } ], "name": "ERC20InvalidApprover", "type": "error" }, { "inputs": [ { "internalType": "address", "name": "receiver", "type": "address" } ], "name": "ERC20InvalidReceiver", "type": "error" }, { "inputs": [ { "internalType": "address", "name": "sender", "type": "address" } ], "name": "ERC20InvalidSender", "type": "error" }, { "inputs": [ { "internalType": "address", "name": "spender", "type": "address" } ], "name": "ERC20InvalidSpender", "type": "error" }, { "inputs": [ { "internalType": "uint256", "name": "deadline", "type": "uint256" } ], "name": "ERC2612ExpiredSignature", "type": "error" }, { "inputs": [ { "internalType": "address", "name": "signer", "type": "address" }, { "internalType": "address", "name": "owner", "type": "address" } ], "name": "ERC2612InvalidSigner", "type": "error" }, { "inputs": [ { "internalType": "address", "name": "account", "type": "address" }, { "internalType": "uint256", "name": "currentNonce", "type": "uint256" } ], "name": "InvalidAccountNonce", "type": "error" }, { "inputs": [], "name": "InvalidShortString", "type": "error" }, { "inputs": [ { "internalType": "address", "name": "owner", "type": "address" } ], "name": "OwnableInvalidOwner", "type": "error" }, { "inputs": [ { "internalType": "address", "name": "account", "type": "address" } ], "name": "OwnableUnauthorizedAccount", "type": "error" }, { "inputs": [ { "internalType": "string", "name": "str", "type": "string" } ], "name": "StringTooLong", "type": "error" }, { "anonymous": false, "inputs": [ { "indexed": true, "internalType": "address", "name": "owner", "type": "address" }, { "indexed": true, "internalType": "address", "name": "spender", "type": "address" }, { "indexed": false, "internalType": "uint256", "name": "value", "type": "uint256" } ], "name": "Approval", "type": "event" }, { "anonymous": false, "inputs": [], "name": "EIP712DomainChanged", "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": true, "internalType": "address", "name": "from", "type": "address" }, { "indexed": true, "internalType": "address", "name": "to", "type": "address" }, { "indexed": false, "internalType": "uint256", "name": "value", "type": "uint256" } ], "name": "Transfer", "type": "event" }, { "inputs": [], "name": "DOMAIN_SEPARATOR", "outputs": [ { "internalType": "bytes32", "name": "", "type": "bytes32" } ], "stateMutability": "view", "type": "function" }, { "inputs": [ { "internalType": "address", "name": "owner", "type": "address" }, { "internalType": "address", "name": "spender", "type": "address" } ], "name": "allowance", "outputs": [ { "internalType": "uint256", "name": "", "type": "uint256" } ], "stateMutability": "view", "type": "function" }, { "inputs": [ { "internalType": "address", "name": "spender", "type": "address" }, { "internalType": "uint256", "name": "value", "type": "uint256" } ], "name": "approve", "outputs": [ { "internalType": "bool", "name": "", "type": "bool" } ], "stateMutability": "nonpayable", "type": "function" }, { "inputs": [ { "internalType": "address", "name": "account", "type": "address" } ], "name": "balanceOf", "outputs": [ { "internalType": "uint256", "name": "", "type": "uint256" } ], "stateMutability": "view", "type": "function" }, { "inputs": [], "name": "decimals", "outputs": [ { "internalType": "uint8", "name": "", "type": "uint8" } ], "stateMutability": "view", "type": "function" }, { "inputs": [], "name": "eip712Domain", "outputs": [ { "internalType": "bytes1", "name": "fields", "type": "bytes1" }, { "internalType": "string", "name": "name", "type": "string" }, { "internalType": "string", "name": "version", "type": "string" }, { "internalType": "uint256", "name": "chainId", "type": "uint256" }, { "internalType": "address", "name": "verifyingContract", "type": "address" }, { "internalType": "bytes32", "name": "salt", "type": "bytes32" }, { "internalType": "uint256[]", "name": "extensions", "type": "uint256[]" } ], "stateMutability": "view", "type": "function" }, { "inputs": [ { "internalType": "address", "name": "to", "type": "address" }, { "internalType": "uint256", "name": "amount", "type": "uint256" } ], "name": "mint", "outputs": [], "stateMutability": "nonpayable", "type": "function" }, { "inputs": [], "name": "name", "outputs": [ { "internalType": "string", "name": "", "type": "string" } ], "stateMutability": "view", "type": "function" }, { "inputs": [ { "internalType": "address", "name": "owner", "type": "address" } ], "name": "nonces", "outputs": [ { "internalType": "uint256", "name": "", "type": "uint256" } ], "stateMutability": "view", "type": "function" }, { "inputs": [], "name": "owner", "outputs": [ { "internalType": "address", "name": "", "type": "address" } ], "stateMutability": "view", "type": "function" }, { "inputs": [ { "internalType": "address", "name": "owner", "type": "address" }, { "internalType": "address", "name": "spender", "type": "address" }, { "internalType": "uint256", "name": "value", "type": "uint256" }, { "internalType": "uint256", "name": "deadline", "type": "uint256" }, { "internalType": "uint8", "name": "v", "type": "uint8" }, { "internalType": "bytes32", "name": "r", "type": "bytes32" }, { "internalType": "bytes32", "name": "s", "type": "bytes32" } ], "name": "permit", "outputs": [], "stateMutability": "nonpayable", "type": "function" }, { "inputs": [], "name": "renounceOwnership", "outputs": [], "stateMutability": "nonpayable", "type": "function" }, { "inputs": [], "name": "symbol", "outputs": [ { "internalType": "string", "name": "", "type": "string" } ], "stateMutability": "view", "type": "function" }, { "inputs": [], "name": "totalSupply", "outputs": [ { "internalType": "uint256", "name": "", "type": "uint256" } ], "stateMutability": "view", "type": "function" }, { "inputs": [ { "internalType": "address", "name": "to", "type": "address" }, { "internalType": "uint256", "name": "value", "type": "uint256" } ], "name": "transfer", "outputs": [ { "internalType": "bool", "name": "", "type": "bool" } ], "stateMutability": "nonpayable", "type": "function" }, { "inputs": [ { "internalType": "address", "name": "from", "type": "address" }, { "internalType": "address", "name": "to", "type": "address" }, { "internalType": "uint256", "name": "value", "type": "uint256" } ], "name": "transferFrom", "outputs": [ { "internalType": "bool", "name": "", "type": "bool" } ], "stateMutability": "nonpayable", "type": "function" }, { "inputs": [ { "internalType": "address", "name": "newOwner", "type": "address" } ], "name": "transferOwnership", "outputs": [], "stateMutability": "nonpayable", "type": "function" } ]
610160604052348015610010575f80fd5b506040516114cf3803806114cf83398101604081905261002f91610275565b6040518060400160405280600781526020016626bcaa37b5b2b760c91b81525080604051806040016040528060018152602001603160f81b815250836040518060400160405280600781526020016626bcaa37b5b2b760c91b815250604051806040016040528060038152602001624d544b60e81b81525081600390816100b6919061033a565b5060046100c3828261033a565b5050506001600160a01b0381166100f457604051631e4fbdf760e01b81525f60048201526024015b60405180910390fd5b6100fd816101b5565b50610109826006610206565b61012052610118816007610206565b61014052815160208084019190912060e052815190820120610100524660a0526101a460e05161010051604080517f8b73c3c69bb8fe3d512ecc4cf759cc79239f7b179b0ffacaa9a75d522b39400f60208201529081019290925260608201524660808201523060a08201525f9060c00160405160208183030381529060405280519060200120905090565b60805250503060c0525061044c9050565b600580546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0905f90a35050565b5f6020835110156102215761021a83610238565b9050610232565b8161022c848261033a565b5060ff90505b92915050565b5f80829050601f81511115610262578260405163305a27a960e01b81526004016100eb91906103f4565b805161026d82610429565b179392505050565b5f60208284031215610285575f80fd5b81516001600160a01b038116811461029b575f80fd5b9392505050565b634e487b7160e01b5f52604160045260245ffd5b600181811c908216806102ca57607f821691505b6020821081036102e857634e487b7160e01b5f52602260045260245ffd5b50919050565b601f82111561033557805f5260205f20601f840160051c810160208510156103135750805b601f840160051c820191505b81811015610332575f815560010161031f565b50505b505050565b81516001600160401b03811115610353576103536102a2565b6103678161036184546102b6565b846102ee565b6020601f821160018114610399575f83156103825750848201515b5f19600385901b1c1916600184901b178455610332565b5f84815260208120601f198516915b828110156103c857878501518255602094850194600190920191016103a8565b50848210156103e557868401515f19600387901b60f8161c191681555b50505050600190811b01905550565b602081525f82518060208401528060208501604085015e5f604082850101526040601f19601f83011684010191505092915050565b805160208083015191908110156102e8575f1960209190910360031b1b16919050565b60805160a05160c05160e05161010051610120516101405161103261049d5f395f61087d01525f61085001525f61074701525f61071f01525f61067a01525f6106a401525f6106ce01526110325ff3fe608060405234801561000f575f80fd5b5060043610610106575f3560e01c8063715018a61161009e57806395d89b411161006e57806395d89b4114610215578063a9059cbb1461021d578063d505accf14610230578063dd62ed3e14610243578063f2fde38b1461027b575f80fd5b8063715018a6146101c45780637ecebe00146101cc57806384b0196e146101df5780638da5cb5b146101fa575f80fd5b8063313ce567116100d9578063313ce567146101705780633644e5151461017f57806340c10f191461018757806370a082311461019c575f80fd5b806306fdde031461010a578063095ea7b31461012857806318160ddd1461014b57806323b872dd1461015d575b5f80fd5b61011261028e565b60405161011f9190610dae565b60405180910390f35b61013b610136366004610de2565b61031e565b604051901515815260200161011f565b6002545b60405190815260200161011f565b61013b61016b366004610e0a565b610337565b6040516012815260200161011f565b61014f61035a565b61019a610195366004610de2565b610368565b005b61014f6101aa366004610e44565b6001600160a01b03165f9081526020819052604090205490565b61019a61037e565b61014f6101da366004610e44565b610391565b6101e76103ae565b60405161011f9796959493929190610e5d565b6005546040516001600160a01b03909116815260200161011f565b6101126103f0565b61013b61022b366004610de2565b6103ff565b61019a61023e366004610ef3565b61040c565b61014f610251366004610f60565b6001600160a01b039182165f90815260016020908152604080832093909416825291909152205490565b61019a610289366004610e44565b610547565b60606003805461029d90610f91565b80601f01602080910402602001604051908101604052809291908181526020018280546102c990610f91565b80156103145780601f106102eb57610100808354040283529160200191610314565b820191905f5260205f20905b8154815290600101906020018083116102f757829003601f168201915b5050505050905090565b5f3361032b818585610584565b60019150505b92915050565b5f33610344858285610596565b61034f858585610611565b506001949350505050565b5f61036361066e565b905090565b610370610797565b61037a82826107c4565b5050565b610386610797565b61038f5f6107f8565b565b6001600160a01b0381165f90815260086020526040812054610331565b5f6060805f805f60606103bf610849565b6103c7610876565b604080515f80825260208201909252600f60f81b9b939a50919850469750309650945092509050565b60606004805461029d90610f91565b5f3361032b818585610611565b834211156104355760405163313c898160e11b8152600481018590526024015b60405180910390fd5b5f7f6e71edae12b1b97f4d1f60370fef10105fa2faae0126114a169c64845d6126c98888886104808c6001600160a01b03165f90815260086020526040902080546001810190915590565b6040805160208101969096526001600160a01b0394851690860152929091166060840152608083015260a082015260c0810186905260e0016040516020818303038152906040528051906020012090505f6104da826108a3565b90505f6104e9828787876108cf565b9050896001600160a01b0316816001600160a01b031614610530576040516325c0072360e11b81526001600160a01b0380831660048301528b16602482015260440161042c565b61053b8a8a8a610584565b50505050505050505050565b61054f610797565b6001600160a01b03811661057857604051631e4fbdf760e01b81525f600482015260240161042c565b610581816107f8565b50565b61059183838360016108fb565b505050565b6001600160a01b038381165f908152600160209081526040808320938616835292905220545f19811461060b57818110156105fd57604051637dc7a0d960e11b81526001600160a01b0384166004820152602481018290526044810183905260640161042c565b61060b84848484035f6108fb565b50505050565b6001600160a01b03831661063a57604051634b637e8f60e11b81525f600482015260240161042c565b6001600160a01b0382166106635760405163ec442f0560e01b81525f600482015260240161042c565b6105918383836109cd565b5f306001600160a01b037f0000000000000000000000000000000000000000000000000000000000000000161480156106c657507f000000000000000000000000000000000000000000000000000000000000000046145b156106f057507f000000000000000000000000000000000000000000000000000000000000000090565b610363604080517f8b73c3c69bb8fe3d512ecc4cf759cc79239f7b179b0ffacaa9a75d522b39400f60208201527f0000000000000000000000000000000000000000000000000000000000000000918101919091527f000000000000000000000000000000000000000000000000000000000000000060608201524660808201523060a08201525f9060c00160405160208183030381529060405280519060200120905090565b6005546001600160a01b0316331461038f5760405163118cdaa760e01b815233600482015260240161042c565b6001600160a01b0382166107ed5760405163ec442f0560e01b81525f600482015260240161042c565b61037a5f83836109cd565b600580546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0905f90a35050565b60606103637f00000000000000000000000000000000000000000000000000000000000000006006610af3565b60606103637f00000000000000000000000000000000000000000000000000000000000000006007610af3565b5f6103316108af61066e565b8360405161190160f01b8152600281019290925260228201526042902090565b5f805f806108df88888888610b9c565b9250925092506108ef8282610c64565b50909695505050505050565b6001600160a01b0384166109245760405163e602df0560e01b81525f600482015260240161042c565b6001600160a01b03831661094d57604051634a1406b160e11b81525f600482015260240161042c565b6001600160a01b038085165f908152600160209081526040808320938716835292905220829055801561060b57826001600160a01b0316846001600160a01b03167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925846040516109bf91815260200190565b60405180910390a350505050565b6001600160a01b0383166109f7578060025f8282546109ec9190610fc9565b90915550610a679050565b6001600160a01b0383165f9081526020819052604090205481811015610a495760405163391434e360e21b81526001600160a01b0385166004820152602481018290526044810183905260640161042c565b6001600160a01b0384165f9081526020819052604090209082900390555b6001600160a01b038216610a8357600280548290039055610aa1565b6001600160a01b0382165f9081526020819052604090208054820190555b816001600160a01b0316836001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef83604051610ae691815260200190565b60405180910390a3505050565b606060ff8314610b0d57610b0683610d1c565b9050610331565b818054610b1990610f91565b80601f0160208091040260200160405190810160405280929190818152602001828054610b4590610f91565b8015610b905780601f10610b6757610100808354040283529160200191610b90565b820191905f5260205f20905b815481529060010190602001808311610b7357829003601f168201915b50505050509050610331565b5f80807f7fffffffffffffffffffffffffffffff5d576e7357a4501ddfe92f46681b20a0841115610bd557505f91506003905082610c5a565b604080515f808252602082018084528a905260ff891692820192909252606081018790526080810186905260019060a0016020604051602081039080840390855afa158015610c26573d5f803e3d5ffd5b5050604051601f1901519150506001600160a01b038116610c5157505f925060019150829050610c5a565b92505f91508190505b9450945094915050565b5f826003811115610c7757610c77610fe8565b03610c80575050565b6001826003811115610c9457610c94610fe8565b03610cb25760405163f645eedf60e01b815260040160405180910390fd5b6002826003811115610cc657610cc6610fe8565b03610ce75760405163fce698f760e01b81526004810182905260240161042c565b6003826003811115610cfb57610cfb610fe8565b0361037a576040516335e2f38360e21b81526004810182905260240161042c565b60605f610d2883610d59565b6040805160208082528183019092529192505f91906020820181803683375050509182525060208101929092525090565b5f60ff8216601f81111561033157604051632cd44ac360e21b815260040160405180910390fd5b5f81518084528060208401602086015e5f602082860101526020601f19601f83011685010191505092915050565b602081525f610dc06020830184610d80565b9392505050565b80356001600160a01b0381168114610ddd575f80fd5b919050565b5f8060408385031215610df3575f80fd5b610dfc83610dc7565b946020939093013593505050565b5f805f60608486031215610e1c575f80fd5b610e2584610dc7565b9250610e3360208501610dc7565b929592945050506040919091013590565b5f60208284031215610e54575f80fd5b610dc082610dc7565b60ff60f81b8816815260e060208201525f610e7b60e0830189610d80565b8281036040840152610e8d8189610d80565b606084018890526001600160a01b038716608085015260a0840186905283810360c0850152845180825260208087019350909101905f5b81811015610ee2578351835260209384019390920191600101610ec4565b50909b9a5050505050505050505050565b5f805f805f805f60e0888a031215610f09575f80fd5b610f1288610dc7565b9650610f2060208901610dc7565b95506040880135945060608801359350608088013560ff81168114610f43575f80fd5b9699959850939692959460a0840135945060c09093013592915050565b5f8060408385031215610f71575f80fd5b610f7a83610dc7565b9150610f8860208401610dc7565b90509250929050565b600181811c90821680610fa557607f821691505b602082108103610fc357634e487b7160e01b5f52602260045260245ffd5b50919050565b8082018082111561033157634e487b7160e01b5f52601160045260245ffd5b634e487b7160e01b5f52602160045260245ffdfea2646970667358221220b9b0c8e61e8b09da803c3c2bcb808cd974ca52c6fd80ff5cdb8683691b5fbd3364736f6c634300081a0033000000000000000000000000bbc37445850f11907ecb5b9296991c4e8a0b950c