[ { "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": [ { "internalType": "uint256", "name": "value", "type": "uint256" } ], "name": "burn", "outputs": [], "stateMutability": "nonpayable", "type": "function" }, { "inputs": [ { "internalType": "address", "name": "account", "type": "address" }, { "internalType": "uint256", "name": "value", "type": "uint256" } ], "name": "burnFrom", "outputs": [], "stateMutability": "nonpayable", "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" } ]
610160604052348015610010575f80fd5b5060405161157538038061157583398101604081905261002f91610275565b6040518060400160405280600781526020016626bcaa37b5b2b760c91b81525080604051806040016040528060018152602001603160f81b815250836040518060400160405280600781526020016626bcaa37b5b2b760c91b815250604051806040016040528060038152602001624d544b60e81b81525081600390816100b6919061033a565b5060046100c3828261033a565b5050506001600160a01b0381166100f457604051631e4fbdf760e01b81525f60048201526024015b60405180910390fd5b6100fd816101b5565b50610109826006610206565b61012052610118816007610206565b61014052815160208084019190912060e052815190820120610100524660a0526101a460e05161010051604080517f8b73c3c69bb8fe3d512ecc4cf759cc79239f7b179b0ffacaa9a75d522b39400f60208201529081019290925260608201524660808201523060a08201525f9060c00160405160208183030381529060405280519060200120905090565b60805250503060c0525061044c9050565b600580546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0905f90a35050565b5f6020835110156102215761021a83610238565b9050610232565b8161022c848261033a565b5060ff90505b92915050565b5f80829050601f81511115610262578260405163305a27a960e01b81526004016100eb91906103f4565b805161026d82610429565b179392505050565b5f60208284031215610285575f80fd5b81516001600160a01b038116811461029b575f80fd5b9392505050565b634e487b7160e01b5f52604160045260245ffd5b600181811c908216806102ca57607f821691505b6020821081036102e857634e487b7160e01b5f52602260045260245ffd5b50919050565b601f82111561033557805f5260205f20601f840160051c810160208510156103135750805b601f840160051c820191505b81811015610332575f815560010161031f565b50505b505050565b81516001600160401b03811115610353576103536102a2565b6103678161036184546102b6565b846102ee565b6020601f821160018114610399575f83156103825750848201515b5f19600385901b1c1916600184901b178455610332565b5f84815260208120601f198516915b828110156103c857878501518255602094850194600190920191016103a8565b50848210156103e557868401515f19600387901b60f8161c191681555b50505050600190811b01905550565b602081525f82518060208401528060208501604085015e5f604082850101526040601f19601f83011684010191505092915050565b805160208083015191908110156102e8575f1960209190910360031b1b16919050565b60805160a05160c05160e0516101005161012051610140516110d861049d5f395f61090c01525f6108df01525f6107a201525f61077a01525f6106d501525f6106ff01525f61072901526110d85ff3fe608060405234801561000f575f80fd5b506004361061011c575f3560e01c8063715018a6116100a957806395d89b411161006e57806395d89b4114610251578063a9059cbb14610259578063d505accf1461026c578063dd62ed3e1461027f578063f2fde38b146102b7575f80fd5b8063715018a6146101ed57806379cc6790146101f55780637ecebe001461020857806384b0196e1461021b5780638da5cb5b14610236575f80fd5b8063313ce567116100ef578063313ce567146101865780633644e5151461019557806340c10f191461019d57806342966c68146101b257806370a08231146101c5575f80fd5b806306fdde0314610120578063095ea7b31461013e57806318160ddd1461016157806323b872dd14610173575b5f80fd5b6101286102ca565b6040516101359190610e3d565b60405180910390f35b61015161014c366004610e71565b61035a565b6040519015158152602001610135565b6002545b604051908152602001610135565b610151610181366004610e99565b610373565b60405160128152602001610135565b610165610396565b6101b06101ab366004610e71565b6103a4565b005b6101b06101c0366004610ed3565b6103ba565b6101656101d3366004610eea565b6001600160a01b03165f9081526020819052604090205490565b6101b06103c7565b6101b0610203366004610e71565b6103da565b610165610216366004610eea565b6103ef565b61022361040c565b6040516101359796959493929190610f03565b6005546040516001600160a01b039091168152602001610135565b61012861044e565b610151610267366004610e71565b61045d565b6101b061027a366004610f99565b61046a565b61016561028d366004611006565b6001600160a01b039182165f90815260016020908152604080832093909416825291909152205490565b6101b06102c5366004610eea565b6105a5565b6060600380546102d990611037565b80601f016020809104026020016040519081016040528092919081815260200182805461030590611037565b80156103505780601f1061032757610100808354040283529160200191610350565b820191905f5260205f20905b81548152906001019060200180831161033357829003601f168201915b5050505050905090565b5f336103678185856105df565b60019150505b92915050565b5f336103808582856105f1565b61038b85858561066c565b506001949350505050565b5f61039f6106c9565b905090565b6103ac6107f2565b6103b6828261081f565b5050565b6103c43382610853565b50565b6103cf6107f2565b6103d85f610887565b565b6103e58233836105f1565b6103b68282610853565b6001600160a01b0381165f9081526008602052604081205461036d565b5f6060805f805f606061041d6108d8565b610425610905565b604080515f80825260208201909252600f60f81b9b939a50919850469750309650945092509050565b6060600480546102d990611037565b5f3361036781858561066c565b834211156104935760405163313c898160e11b8152600481018590526024015b60405180910390fd5b5f7f6e71edae12b1b97f4d1f60370fef10105fa2faae0126114a169c64845d6126c98888886104de8c6001600160a01b03165f90815260086020526040902080546001810190915590565b6040805160208101969096526001600160a01b0394851690860152929091166060840152608083015260a082015260c0810186905260e0016040516020818303038152906040528051906020012090505f61053882610932565b90505f6105478287878761095e565b9050896001600160a01b0316816001600160a01b03161461058e576040516325c0072360e11b81526001600160a01b0380831660048301528b16602482015260440161048a565b6105998a8a8a6105df565b50505050505050505050565b6105ad6107f2565b6001600160a01b0381166105d657604051631e4fbdf760e01b81525f600482015260240161048a565b6103c481610887565b6105ec838383600161098a565b505050565b6001600160a01b038381165f908152600160209081526040808320938616835292905220545f198114610666578181101561065857604051637dc7a0d960e11b81526001600160a01b0384166004820152602481018290526044810183905260640161048a565b61066684848484035f61098a565b50505050565b6001600160a01b03831661069557604051634b637e8f60e11b81525f600482015260240161048a565b6001600160a01b0382166106be5760405163ec442f0560e01b81525f600482015260240161048a565b6105ec838383610a5c565b5f306001600160a01b037f00000000000000000000000000000000000000000000000000000000000000001614801561072157507f000000000000000000000000000000000000000000000000000000000000000046145b1561074b57507f000000000000000000000000000000000000000000000000000000000000000090565b61039f604080517f8b73c3c69bb8fe3d512ecc4cf759cc79239f7b179b0ffacaa9a75d522b39400f60208201527f0000000000000000000000000000000000000000000000000000000000000000918101919091527f000000000000000000000000000000000000000000000000000000000000000060608201524660808201523060a08201525f9060c00160405160208183030381529060405280519060200120905090565b6005546001600160a01b031633146103d85760405163118cdaa760e01b815233600482015260240161048a565b6001600160a01b0382166108485760405163ec442f0560e01b81525f600482015260240161048a565b6103b65f8383610a5c565b6001600160a01b03821661087c57604051634b637e8f60e11b81525f600482015260240161048a565b6103b6825f83610a5c565b600580546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0905f90a35050565b606061039f7f00000000000000000000000000000000000000000000000000000000000000006006610b82565b606061039f7f00000000000000000000000000000000000000000000000000000000000000006007610b82565b5f61036d61093e6106c9565b8360405161190160f01b8152600281019290925260228201526042902090565b5f805f8061096e88888888610c2b565b92509250925061097e8282610cf3565b50909695505050505050565b6001600160a01b0384166109b35760405163e602df0560e01b81525f600482015260240161048a565b6001600160a01b0383166109dc57604051634a1406b160e11b81525f600482015260240161048a565b6001600160a01b038085165f908152600160209081526040808320938716835292905220829055801561066657826001600160a01b0316846001600160a01b03167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92584604051610a4e91815260200190565b60405180910390a350505050565b6001600160a01b038316610a86578060025f828254610a7b919061106f565b90915550610af69050565b6001600160a01b0383165f9081526020819052604090205481811015610ad85760405163391434e360e21b81526001600160a01b0385166004820152602481018290526044810183905260640161048a565b6001600160a01b0384165f9081526020819052604090209082900390555b6001600160a01b038216610b1257600280548290039055610b30565b6001600160a01b0382165f9081526020819052604090208054820190555b816001600160a01b0316836001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef83604051610b7591815260200190565b60405180910390a3505050565b606060ff8314610b9c57610b9583610dab565b905061036d565b818054610ba890611037565b80601f0160208091040260200160405190810160405280929190818152602001828054610bd490611037565b8015610c1f5780601f10610bf657610100808354040283529160200191610c1f565b820191905f5260205f20905b815481529060010190602001808311610c0257829003601f168201915b5050505050905061036d565b5f80807f7fffffffffffffffffffffffffffffff5d576e7357a4501ddfe92f46681b20a0841115610c6457505f91506003905082610ce9565b604080515f808252602082018084528a905260ff891692820192909252606081018790526080810186905260019060a0016020604051602081039080840390855afa158015610cb5573d5f803e3d5ffd5b5050604051601f1901519150506001600160a01b038116610ce057505f925060019150829050610ce9565b92505f91508190505b9450945094915050565b5f826003811115610d0657610d0661108e565b03610d0f575050565b6001826003811115610d2357610d2361108e565b03610d415760405163f645eedf60e01b815260040160405180910390fd5b6002826003811115610d5557610d5561108e565b03610d765760405163fce698f760e01b81526004810182905260240161048a565b6003826003811115610d8a57610d8a61108e565b036103b6576040516335e2f38360e21b81526004810182905260240161048a565b60605f610db783610de8565b6040805160208082528183019092529192505f91906020820181803683375050509182525060208101929092525090565b5f60ff8216601f81111561036d57604051632cd44ac360e21b815260040160405180910390fd5b5f81518084528060208401602086015e5f602082860101526020601f19601f83011685010191505092915050565b602081525f610e4f6020830184610e0f565b9392505050565b80356001600160a01b0381168114610e6c575f80fd5b919050565b5f8060408385031215610e82575f80fd5b610e8b83610e56565b946020939093013593505050565b5f805f60608486031215610eab575f80fd5b610eb484610e56565b9250610ec260208501610e56565b929592945050506040919091013590565b5f60208284031215610ee3575f80fd5b5035919050565b5f60208284031215610efa575f80fd5b610e4f82610e56565b60ff60f81b8816815260e060208201525f610f2160e0830189610e0f565b8281036040840152610f338189610e0f565b606084018890526001600160a01b038716608085015260a0840186905283810360c0850152845180825260208087019350909101905f5b81811015610f88578351835260209384019390920191600101610f6a565b50909b9a5050505050505050505050565b5f805f805f805f60e0888a031215610faf575f80fd5b610fb888610e56565b9650610fc660208901610e56565b95506040880135945060608801359350608088013560ff81168114610fe9575f80fd5b9699959850939692959460a0840135945060c09093013592915050565b5f8060408385031215611017575f80fd5b61102083610e56565b915061102e60208401610e56565b90509250929050565b600181811c9082168061104b57607f821691505b60208210810361106957634e487b7160e01b5f52602260045260245ffd5b50919050565b8082018082111561036d57634e487b7160e01b5f52601160045260245ffd5b634e487b7160e01b5f52602160045260245ffdfea2646970667358221220743fb30189a43135ca3d33be78d536baf7f8d65d8925d94643eb9bc3e155e77264736f6c634300081a003300000000000000000000000004a4c59a13f4edc0990f4e153841c4251021aed8