[ { "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": [], "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" } ]
6101606040523480156200001257600080fd5b506040516200183838038062001838833981016040819052620000359162000437565b806040518060400160405280600681526020016541574f4a414b60d01b81525080604051806040016040528060018152602001603160f81b8152506040518060400160405280600981526020016841766178576f6a616b60b81b8152506040518060400160405280600681526020016541574f4a414b60d01b8152508160039081620000c2919062000510565b506004620000d1828262000510565b50620000e391508390506005620001f8565b61012052620000f4816006620001f8565b61014052815160208084019190912060e052815190820120610100524660a0526200018260e05161010051604080517f8b73c3c69bb8fe3d512ecc4cf759cc79239f7b179b0ffacaa9a75d522b39400f60208201529081019290925260608201524660808201523060a082015260009060c00160405160208183030381529060405280519060200120905090565b60805250503060c052506001600160a01b038116620001bc57604051631e4fbdf760e01b8152600060048201526024015b60405180910390fd5b620001c78162000231565b50620001f133620001db6012600a620006ef565b620001eb906301406f4062000700565b62000283565b50620007a6565b600060208351101562000218576200021083620002c1565b90506200022b565b8162000225848262000510565b5060ff90505b92915050565b600880546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b6001600160a01b038216620002af5760405163ec442f0560e01b815260006004820152602401620001b3565b620002bd6000838362000304565b5050565b600080829050601f81511115620002ef578260405163305a27a960e01b8152600401620001b391906200071a565b8051620002fc826200076b565b179392505050565b6001600160a01b0383166200033357806002600082825462000327919062000790565b90915550620003a79050565b6001600160a01b03831660009081526020819052604090205481811015620003885760405163391434e360e21b81526001600160a01b03851660048201526024810182905260448101839052606401620001b3565b6001600160a01b03841660009081526020819052604090209082900390555b6001600160a01b038216620003c557600280548290039055620003e4565b6001600160a01b03821660009081526020819052604090208054820190555b816001600160a01b0316836001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef836040516200042a91815260200190565b60405180910390a3505050565b6000602082840312156200044a57600080fd5b81516001600160a01b03811681146200046257600080fd5b9392505050565b634e487b7160e01b600052604160045260246000fd5b600181811c908216806200049457607f821691505b602082108103620004b557634e487b7160e01b600052602260045260246000fd5b50919050565b601f8211156200050b576000816000526020600020601f850160051c81016020861015620004e65750805b601f850160051c820191505b818110156200050757828155600101620004f2565b5050505b505050565b81516001600160401b038111156200052c576200052c62000469565b62000544816200053d84546200047f565b84620004bb565b602080601f8311600181146200057c5760008415620005635750858301515b600019600386901b1c1916600185901b17855562000507565b600085815260208120601f198616915b82811015620005ad578886015182559484019460019091019084016200058c565b5085821015620005cc5787850151600019600388901b60f8161c191681555b5050505050600190811b01905550565b634e487b7160e01b600052601160045260246000fd5b600181815b8085111562000633578160001904821115620006175762000617620005dc565b808516156200062557918102915b93841c9390800290620005f7565b509250929050565b6000826200064c575060016200022b565b816200065b575060006200022b565b81600181146200067457600281146200067f576200069f565b60019150506200022b565b60ff841115620006935762000693620005dc565b50506001821b6200022b565b5060208310610133831016604e8410600b8410161715620006c4575081810a6200022b565b620006d08383620005f2565b8060001904821115620006e757620006e7620005dc565b029392505050565b60006200046260ff8416836200063b565b80820281158282048414176200022b576200022b620005dc565b60006020808352835180602085015260005b818110156200074a578581018301518582016040015282016200072c565b506000604082860101526040601f19601f8301168501019250505092915050565b80516020808301519190811015620004b55760001960209190910360031b1b16919050565b808201808211156200022b576200022b620005dc565b60805160a05160c05160e05161010051610120516101405161103762000801600039600061083601526000610809015260006107320152600061070a015260006106650152600061068f015260006106b901526110376000f3fe608060405234801561001057600080fd5b50600436106101005760003560e01c80637ecebe0011610097578063a9059cbb11610066578063a9059cbb14610206578063d505accf14610219578063dd62ed3e1461022c578063f2fde38b1461026557600080fd5b80637ecebe00146101b557806384b0196e146101c85780638da5cb5b146101e357806395d89b41146101fe57600080fd5b8063313ce567116100d3578063313ce5671461016b5780633644e5151461017a57806370a0823114610182578063715018a6146101ab57600080fd5b806306fdde0314610105578063095ea7b31461012357806318160ddd1461014657806323b872dd14610158575b600080fd5b61010d610278565b60405161011a9190610d9a565b60405180910390f35b610136610131366004610dd0565b61030a565b604051901515815260200161011a565b6002545b60405190815260200161011a565b610136610166366004610dfa565b610324565b6040516012815260200161011a565b61014a610348565b61014a610190366004610e36565b6001600160a01b031660009081526020819052604090205490565b6101b3610357565b005b61014a6101c3366004610e36565b61036b565b6101d0610389565b60405161011a9796959493929190610e51565b6008546040516001600160a01b03909116815260200161011a565b61010d6103cf565b610136610214366004610dd0565b6103de565b6101b3610227366004610eea565b6103ec565b61014a61023a366004610f5d565b6001600160a01b03918216600090815260016020908152604080832093909416825291909152205490565b6101b3610273366004610e36565b61052b565b60606003805461028790610f90565b80601f01602080910402602001604051908101604052809291908181526020018280546102b390610f90565b80156103005780601f106102d557610100808354040283529160200191610300565b820191906000526020600020905b8154815290600101906020018083116102e357829003601f168201915b5050505050905090565b600033610318818585610569565b60019150505b92915050565b60003361033285828561057b565b61033d8585856105f9565b506001949350505050565b6000610352610658565b905090565b61035f610783565b61036960006107b0565b565b6001600160a01b03811660009081526007602052604081205461031e565b60006060806000806000606061039d610802565b6103a561082f565b60408051600080825260208201909252600f60f81b9b939a50919850469750309650945092509050565b60606004805461028790610f90565b6000336103188185856105f9565b834211156104155760405163313c898160e11b8152600481018590526024015b60405180910390fd5b60007f6e71edae12b1b97f4d1f60370fef10105fa2faae0126114a169c64845d6126c98888886104628c6001600160a01b0316600090815260076020526040902080546001810190915590565b6040805160208101969096526001600160a01b0394851690860152929091166060840152608083015260a082015260c0810186905260e00160405160208183030381529060405280519060200120905060006104bd8261085c565b905060006104cd82878787610889565b9050896001600160a01b0316816001600160a01b031614610514576040516325c0072360e11b81526001600160a01b0380831660048301528b16602482015260440161040c565b61051f8a8a8a610569565b50505050505050505050565b610533610783565b6001600160a01b03811661055d57604051631e4fbdf760e01b81526000600482015260240161040c565b610566816107b0565b50565b61057683838360016108b7565b505050565b6001600160a01b0383811660009081526001602090815260408083209386168352929052205460001981146105f357818110156105e457604051637dc7a0d960e11b81526001600160a01b0384166004820152602481018290526044810183905260640161040c565b6105f3848484840360006108b7565b50505050565b6001600160a01b03831661062357604051634b637e8f60e11b81526000600482015260240161040c565b6001600160a01b03821661064d5760405163ec442f0560e01b81526000600482015260240161040c565b61057683838361098c565b6000306001600160a01b037f0000000000000000000000000000000000000000000000000000000000000000161480156106b157507f000000000000000000000000000000000000000000000000000000000000000046145b156106db57507f000000000000000000000000000000000000000000000000000000000000000090565b610352604080517f8b73c3c69bb8fe3d512ecc4cf759cc79239f7b179b0ffacaa9a75d522b39400f60208201527f0000000000000000000000000000000000000000000000000000000000000000918101919091527f000000000000000000000000000000000000000000000000000000000000000060608201524660808201523060a082015260009060c00160405160208183030381529060405280519060200120905090565b6008546001600160a01b031633146103695760405163118cdaa760e01b815233600482015260240161040c565b600880546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b60606103527f00000000000000000000000000000000000000000000000000000000000000006005610ab6565b60606103527f00000000000000000000000000000000000000000000000000000000000000006006610ab6565b600061031e610869610658565b8360405161190160f01b8152600281019290925260228201526042902090565b60008060008061089b88888888610b61565b9250925092506108ab8282610c30565b50909695505050505050565b6001600160a01b0384166108e15760405163e602df0560e01b81526000600482015260240161040c565b6001600160a01b03831661090b57604051634a1406b160e11b81526000600482015260240161040c565b6001600160a01b03808516600090815260016020908152604080832093871683529290522082905580156105f357826001600160a01b0316846001600160a01b03167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b9258460405161097e91815260200190565b60405180910390a350505050565b6001600160a01b0383166109b75780600260008282546109ac9190610fca565b90915550610a299050565b6001600160a01b03831660009081526020819052604090205481811015610a0a5760405163391434e360e21b81526001600160a01b0385166004820152602481018290526044810183905260640161040c565b6001600160a01b03841660009081526020819052604090209082900390555b6001600160a01b038216610a4557600280548290039055610a64565b6001600160a01b03821660009081526020819052604090208054820190555b816001600160a01b0316836001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef83604051610aa991815260200190565b60405180910390a3505050565b606060ff8314610ad057610ac983610ced565b905061031e565b818054610adc90610f90565b80601f0160208091040260200160405190810160405280929190818152602001828054610b0890610f90565b8015610b555780601f10610b2a57610100808354040283529160200191610b55565b820191906000526020600020905b815481529060010190602001808311610b3857829003601f168201915b5050505050905061031e565b600080807f7fffffffffffffffffffffffffffffff5d576e7357a4501ddfe92f46681b20a0841115610b9c5750600091506003905082610c26565b604080516000808252602082018084528a905260ff891692820192909252606081018790526080810186905260019060a0016020604051602081039080840390855afa158015610bf0573d6000803e3d6000fd5b5050604051601f1901519150506001600160a01b038116610c1c57506000925060019150829050610c26565b9250600091508190505b9450945094915050565b6000826003811115610c4457610c44610feb565b03610c4d575050565b6001826003811115610c6157610c61610feb565b03610c7f5760405163f645eedf60e01b815260040160405180910390fd5b6002826003811115610c9357610c93610feb565b03610cb45760405163fce698f760e01b81526004810182905260240161040c565b6003826003811115610cc857610cc8610feb565b03610ce9576040516335e2f38360e21b81526004810182905260240161040c565b5050565b60606000610cfa83610d2c565b604080516020808252818301909252919250600091906020820181803683375050509182525060208101929092525090565b600060ff8216601f81111561031e57604051632cd44ac360e21b815260040160405180910390fd5b6000815180845260005b81811015610d7a57602081850181015186830182015201610d5e565b506000602082860101526020601f19601f83011685010191505092915050565b602081526000610dad6020830184610d54565b9392505050565b80356001600160a01b0381168114610dcb57600080fd5b919050565b60008060408385031215610de357600080fd5b610dec83610db4565b946020939093013593505050565b600080600060608486031215610e0f57600080fd5b610e1884610db4565b9250610e2660208501610db4565b9150604084013590509250925092565b600060208284031215610e4857600080fd5b610dad82610db4565b60ff60f81b881681526000602060e06020840152610e7260e084018a610d54565b8381036040850152610e84818a610d54565b606085018990526001600160a01b038816608086015260a0850187905284810360c08601528551808252602080880193509091019060005b81811015610ed857835183529284019291840191600101610ebc565b50909c9b505050505050505050505050565b600080600080600080600060e0888a031215610f0557600080fd5b610f0e88610db4565b9650610f1c60208901610db4565b95506040880135945060608801359350608088013560ff81168114610f4057600080fd5b9699959850939692959460a0840135945060c09093013592915050565b60008060408385031215610f7057600080fd5b610f7983610db4565b9150610f8760208401610db4565b90509250929050565b600181811c90821680610fa457607f821691505b602082108103610fc457634e487b7160e01b600052602260045260246000fd5b50919050565b8082018082111561031e57634e487b7160e01b600052601160045260246000fd5b634e487b7160e01b600052602160045260246000fdfea2646970667358221220480b69b8f552dfb64bcb21a94187463f60cc8356eef494eabf0f04291366766364736f6c63430008170033000000000000000000000000dc27977aa72942305d158cdd8ea77fbf9091ea50