[ { "inputs": [ { "internalType": "uint256", "name": "totalSupply", "type": "uint256" }, { "internalType": "string", "name": "name", "type": "string" }, { "internalType": "string", "name": "symbol", "type": "string" } ], "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": "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": "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": [ { "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": "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" } ]
6101606040523480156200001257600080fd5b5060405162001952380380620019528339810160408190526200003591620003fe565b6040805180820190915260018152603160f81b6020820152829081908184600362000061838262000503565b50600462000070828262000503565b50620000829150839050600562000140565b610120526200009381600662000140565b61014052815160208084019190912060e052815190820120610100524660a0526200012160e05161010051604080517f8b73c3c69bb8fe3d512ecc4cf759cc79239f7b179b0ffacaa9a75d522b39400f60208201529081019290925260608201524660808201523060a082015260009060c00160405160208183030381529060405280519060200120905090565b60805250503060c0525062000137338462000179565b5050506200064b565b600060208351101562000160576200015883620001bb565b905062000173565b816200016d848262000503565b5060ff90505b92915050565b6001600160a01b038216620001a95760405163ec442f0560e01b8152600060048201526024015b60405180910390fd5b620001b760008383620001fe565b5050565b600080829050601f81511115620001e9578260405163305a27a960e01b8152600401620001a09190620005cf565b8051620001f68262000604565b179392505050565b6001600160a01b0383166200022d57806002600082825462000221919062000629565b90915550620002a19050565b6001600160a01b03831660009081526020819052604090205481811015620002825760405163391434e360e21b81526001600160a01b03851660048201526024810182905260448101839052606401620001a0565b6001600160a01b03841660009081526020819052604090209082900390555b6001600160a01b038216620002bf57600280548290039055620002de565b6001600160a01b03821660009081526020819052604090208054820190555b816001600160a01b0316836001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef836040516200032491815260200190565b60405180910390a3505050565b634e487b7160e01b600052604160045260246000fd5b60005b83811015620003645781810151838201526020016200034a565b50506000910152565b600082601f8301126200037f57600080fd5b81516001600160401b03808211156200039c576200039c62000331565b604051601f8301601f19908116603f01168101908282118183101715620003c757620003c762000331565b81604052838152866020858801011115620003e157600080fd5b620003f484602083016020890162000347565b9695505050505050565b6000806000606084860312156200041457600080fd5b835160208501519093506001600160401b03808211156200043457600080fd5b62000442878388016200036d565b935060408601519150808211156200045957600080fd5b5062000468868287016200036d565b9150509250925092565b600181811c908216806200048757607f821691505b602082108103620004a857634e487b7160e01b600052602260045260246000fd5b50919050565b601f821115620004fe576000816000526020600020601f850160051c81016020861015620004d95750805b601f850160051c820191505b81811015620004fa57828155600101620004e5565b5050505b505050565b81516001600160401b038111156200051f576200051f62000331565b620005378162000530845462000472565b84620004ae565b602080601f8311600181146200056f5760008415620005565750858301515b600019600386901b1c1916600185901b178555620004fa565b600085815260208120601f198616915b82811015620005a0578886015182559484019460019091019084016200057f565b5085821015620005bf5787850151600019600388901b60f8161c191681555b5050505050600190811b01905550565b6020815260008251806020840152620005f081604085016020870162000347565b601f01601f19169190910160400192915050565b80516020808301519190811015620004a85760001960209190910360031b1b16919050565b808201808211156200017357634e487b7160e01b600052601160045260246000fd5b60805160a05160c05160e0516101005161012051610140516112ac620006a6600039600061086e01526000610841015260006107e9015260006107c10152600061071c015260006107460152600061077001526112ac6000f3fe608060405234801561001057600080fd5b50600436106100df5760003560e01c806370a082311161008c57806395d89b411161006657806395d89b41146101c5578063a9059cbb146101cd578063d505accf146101e0578063dd62ed3e146101f557600080fd5b806370a08231146101615780637ecebe001461019757806384b0196e146101aa57600080fd5b806323b872dd116100bd57806323b872dd14610137578063313ce5671461014a5780633644e5151461015957600080fd5b806306fdde03146100e4578063095ea7b31461010257806318160ddd14610125575b600080fd5b6100ec61023b565b6040516100f99190610f8e565b60405180910390f35b610115610110366004610fd1565b6102cd565b60405190151581526020016100f9565b6002545b6040519081526020016100f9565b610115610145366004610ffb565b6102e7565b604051601281526020016100f9565b61012961030b565b61012961016f366004611037565b73ffffffffffffffffffffffffffffffffffffffff1660009081526020819052604090205490565b6101296101a5366004611037565b61031a565b6101b2610345565b6040516100f99796959493929190611052565b6100ec6103a7565b6101156101db366004610fd1565b6103b6565b6101f36101ee366004611114565b6103c4565b005b610129610203366004611187565b73ffffffffffffffffffffffffffffffffffffffff918216600090815260016020908152604080832093909416825291909152205490565b60606003805461024a906111ba565b80601f0160208091040260200160405190810160405280929190818152602001828054610276906111ba565b80156102c35780601f10610298576101008083540402835291602001916102c3565b820191906000526020600020905b8154815290600101906020018083116102a657829003601f168201915b5050505050905090565b6000336102db818585610576565b60019150505b92915050565b6000336102f5858285610588565b610300858585610657565b506001949350505050565b6000610315610702565b905090565b73ffffffffffffffffffffffffffffffffffffffff81166000908152600760205260408120546102e1565b60006060806000806000606061035961083a565b610361610867565b604080516000808252602082019092527f0f000000000000000000000000000000000000000000000000000000000000009b939a50919850469750309650945092509050565b60606004805461024a906111ba565b6000336102db818585610657565b83421115610406576040517f62791302000000000000000000000000000000000000000000000000000000008152600481018590526024015b60405180910390fd5b60007f6e71edae12b1b97f4d1f60370fef10105fa2faae0126114a169c64845d6126c98888886104608c73ffffffffffffffffffffffffffffffffffffffff16600090815260076020526040902080546001810190915590565b60408051602081019690965273ffffffffffffffffffffffffffffffffffffffff94851690860152929091166060840152608083015260a082015260c0810186905260e00160405160208183030381529060405280519060200120905060006104c882610894565b905060006104d8828787876108dc565b90508973ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161461055f576040517f4b800e4600000000000000000000000000000000000000000000000000000000815273ffffffffffffffffffffffffffffffffffffffff80831660048301528b1660248201526044016103fd565b61056a8a8a8a610576565b50505050505050505050565b610583838383600161090a565b505050565b73ffffffffffffffffffffffffffffffffffffffff8381166000908152600160209081526040808320938616835292905220547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff81146106515781811015610642576040517ffb8f41b200000000000000000000000000000000000000000000000000000000815273ffffffffffffffffffffffffffffffffffffffff8416600482015260248101829052604481018390526064016103fd565b6106518484848403600061090a565b50505050565b73ffffffffffffffffffffffffffffffffffffffff83166106a7576040517f96c6fd1e000000000000000000000000000000000000000000000000000000008152600060048201526024016103fd565b73ffffffffffffffffffffffffffffffffffffffff82166106f7576040517fec442f05000000000000000000000000000000000000000000000000000000008152600060048201526024016103fd565b610583838383610a52565b60003073ffffffffffffffffffffffffffffffffffffffff7f00000000000000000000000000000000000000000000000000000000000000001614801561076857507f000000000000000000000000000000000000000000000000000000000000000046145b1561079257507f000000000000000000000000000000000000000000000000000000000000000090565b610315604080517f8b73c3c69bb8fe3d512ecc4cf759cc79239f7b179b0ffacaa9a75d522b39400f60208201527f0000000000000000000000000000000000000000000000000000000000000000918101919091527f000000000000000000000000000000000000000000000000000000000000000060608201524660808201523060a082015260009060c00160405160208183030381529060405280519060200120905090565b60606103157f00000000000000000000000000000000000000000000000000000000000000006005610bfd565b60606103157f00000000000000000000000000000000000000000000000000000000000000006006610bfd565b60006102e16108a1610702565b836040517f19010000000000000000000000000000000000000000000000000000000000008152600281019290925260228201526042902090565b6000806000806108ee88888888610ca8565b9250925092506108fe8282610da2565b50909695505050505050565b73ffffffffffffffffffffffffffffffffffffffff841661095a576040517fe602df05000000000000000000000000000000000000000000000000000000008152600060048201526024016103fd565b73ffffffffffffffffffffffffffffffffffffffff83166109aa576040517f94280d62000000000000000000000000000000000000000000000000000000008152600060048201526024016103fd565b73ffffffffffffffffffffffffffffffffffffffff80851660009081526001602090815260408083209387168352929052208290558015610651578273ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92584604051610a4491815260200190565b60405180910390a350505050565b73ffffffffffffffffffffffffffffffffffffffff8316610a8a578060026000828254610a7f919061120d565b90915550610b3c9050565b73ffffffffffffffffffffffffffffffffffffffff831660009081526020819052604090205481811015610b10576040517fe450d38c00000000000000000000000000000000000000000000000000000000815273ffffffffffffffffffffffffffffffffffffffff8516600482015260248101829052604481018390526064016103fd565b73ffffffffffffffffffffffffffffffffffffffff841660009081526020819052604090209082900390555b73ffffffffffffffffffffffffffffffffffffffff8216610b6557600280548290039055610b91565b73ffffffffffffffffffffffffffffffffffffffff821660009081526020819052604090208054820190555b8173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef83604051610bf091815260200190565b60405180910390a3505050565b606060ff8314610c1757610c1083610eaa565b90506102e1565b818054610c23906111ba565b80601f0160208091040260200160405190810160405280929190818152602001828054610c4f906111ba565b8015610c9c5780601f10610c7157610100808354040283529160200191610c9c565b820191906000526020600020905b815481529060010190602001808311610c7f57829003601f168201915b505050505090506102e1565b600080807f7fffffffffffffffffffffffffffffff5d576e7357a4501ddfe92f46681b20a0841115610ce35750600091506003905082610d98565b604080516000808252602082018084528a905260ff891692820192909252606081018790526080810186905260019060a0016020604051602081039080840390855afa158015610d37573d6000803e3d6000fd5b50506040517fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0015191505073ffffffffffffffffffffffffffffffffffffffff8116610d8e57506000925060019150829050610d98565b9250600091508190505b9450945094915050565b6000826003811115610db657610db6611247565b03610dbf575050565b6001826003811115610dd357610dd3611247565b03610e0a576040517ff645eedf00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6002826003811115610e1e57610e1e611247565b03610e58576040517ffce698f7000000000000000000000000000000000000000000000000000000008152600481018290526024016103fd565b6003826003811115610e6c57610e6c611247565b03610ea6576040517fd78bce0c000000000000000000000000000000000000000000000000000000008152600481018290526024016103fd565b5050565b60606000610eb783610ee9565b604080516020808252818301909252919250600091906020820181803683375050509182525060208101929092525090565b600060ff8216601f8111156102e1576040517fb3512b0c00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6000815180845260005b81811015610f5057602081850181015186830182015201610f34565b5060006020828601015260207fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0601f83011685010191505092915050565b602081526000610fa16020830184610f2a565b9392505050565b803573ffffffffffffffffffffffffffffffffffffffff81168114610fcc57600080fd5b919050565b60008060408385031215610fe457600080fd5b610fed83610fa8565b946020939093013593505050565b60008060006060848603121561101057600080fd5b61101984610fa8565b925061102760208501610fa8565b9150604084013590509250925092565b60006020828403121561104957600080fd5b610fa182610fa8565b7fff00000000000000000000000000000000000000000000000000000000000000881681526000602060e0602084015261108f60e084018a610f2a565b83810360408501526110a1818a610f2a565b6060850189905273ffffffffffffffffffffffffffffffffffffffff8816608086015260a0850187905284810360c08601528551808252602080880193509091019060005b81811015611102578351835292840192918401916001016110e6565b50909c9b505050505050505050505050565b600080600080600080600060e0888a03121561112f57600080fd5b61113888610fa8565b965061114660208901610fa8565b95506040880135945060608801359350608088013560ff8116811461116a57600080fd5b9699959850939692959460a0840135945060c09093013592915050565b6000806040838503121561119a57600080fd5b6111a383610fa8565b91506111b160208401610fa8565b90509250929050565b600181811c908216806111ce57607f821691505b602082108103611207577f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b50919050565b808201808211156102e1577f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602160045260246000fdfea2646970667358221220fc830ca38c6e33b21fc71e82e2ce05a8f47e81e3fc4f4c7bdf5510c8f5bf5e2564736f6c634300081800330000000000000000000000000000000000000000033b2e3c9fd0803ce8000000000000000000000000000000000000000000000000000000000000000000006000000000000000000000000000000000000000000000000000000000000000a00000000000000000000000000000000000000000000000000000000000000002444d00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000033130300000000000000000000000000000000000000000000000000000000000