[ { "inputs": [], "stateMutability": "payable", "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" } ]
6006610160818152652837b73232b960d11b61018081905260016101a0908152603160f81b6101c0526101e0938452610200919091526102606040526004610220908152632827222960e11b61024052919283926003620000618382620003f0565b506004620000708282620003f0565b5062000082915083905060056200015a565b61012052620000938160066200015a565b61014052815160208084019190912060e052815190820120610100524660a0526200012160e05161010051604080517f8b73c3c69bb8fe3d512ecc4cf759cc79239f7b179b0ffacaa9a75d522b39400f60208201529081019290925260608201524660808201523060a082015260009060c00160405160208183030381529060405280519060200120905090565b60805250503060c0525062000154336200013e6012600a620005cf565b6200014e906305f5e100620005e7565b62000193565b6200068c565b60006020835110156200017a576200017283620001d5565b90506200018d565b81620001878482620003f0565b5060ff90505b92915050565b6001600160a01b038216620001c35760405163ec442f0560e01b8152600060048201526024015b60405180910390fd5b620001d16000838362000218565b5050565b600080829050601f8151111562000203578260405163305a27a960e01b8152600401620001ba919062000601565b8051620002108262000651565b179392505050565b6001600160a01b038316620002475780600260008282546200023b919062000676565b90915550620002bb9050565b6001600160a01b038316600090815260208190526040902054818110156200029c5760405163391434e360e21b81526001600160a01b03851660048201526024810182905260448101839052606401620001ba565b6001600160a01b03841660009081526020819052604090209082900390555b6001600160a01b038216620002d957600280548290039055620002f8565b6001600160a01b03821660009081526020819052604090208054820190555b816001600160a01b0316836001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef836040516200033e91815260200190565b60405180910390a3505050565b634e487b7160e01b600052604160045260246000fd5b600181811c908216806200037657607f821691505b6020821081036200039757634e487b7160e01b600052602260045260246000fd5b50919050565b601f821115620003eb57600081815260208120601f850160051c81016020861015620003c65750805b601f850160051c820191505b81811015620003e757828155600101620003d2565b5050505b505050565b81516001600160401b038111156200040c576200040c6200034b565b62000424816200041d845462000361565b846200039d565b602080601f8311600181146200045c5760008415620004435750858301515b600019600386901b1c1916600185901b178555620003e7565b600085815260208120601f198616915b828110156200048d578886015182559484019460019091019084016200046c565b5085821015620004ac5787850151600019600388901b60f8161c191681555b5050505050600190811b01905550565b634e487b7160e01b600052601160045260246000fd5b600181815b8085111562000513578160001904821115620004f757620004f7620004bc565b808516156200050557918102915b93841c9390800290620004d7565b509250929050565b6000826200052c575060016200018d565b816200053b575060006200018d565b81600181146200055457600281146200055f576200057f565b60019150506200018d565b60ff841115620005735762000573620004bc565b50506001821b6200018d565b5060208310610133831016604e8410600b8410161715620005a4575081810a6200018d565b620005b08383620004d2565b8060001904821115620005c757620005c7620004bc565b029392505050565b6000620005e060ff8416836200051b565b9392505050565b80820281158282048414176200018d576200018d620004bc565b600060208083528351808285015260005b81811015620006305785810183015185820160400152820162000612565b506000604082860101526040601f19601f8301168501019250505092915050565b80516020808301519190811015620003975760001960209190910360031b1b16919050565b808201808211156200018d576200018d620004bc565b60805160a05160c05160e05161010051610120516101405161108b620006e760003960006107a70152600061077a01526000610722015260006106fa015260006106550152600061067f015260006106a9015261108b6000f3fe608060405234801561001057600080fd5b50600436106100df5760003560e01c806370a082311161008c57806395d89b411161006657806395d89b41146101b8578063a9059cbb146101c0578063d505accf146101d3578063dd62ed3e146101e857600080fd5b806370a08231146101615780637ecebe001461018a57806384b0196e1461019d57600080fd5b806323b872dd116100bd57806323b872dd14610137578063313ce5671461014a5780633644e5151461015957600080fd5b806306fdde03146100e4578063095ea7b31461010257806318160ddd14610125575b600080fd5b6100ec610221565b6040516100f99190610dd5565b60405180910390f35b610115610110366004610e0b565b6102b3565b60405190151581526020016100f9565b6002545b6040519081526020016100f9565b610115610145366004610e35565b6102cd565b604051601281526020016100f9565b6101296102f1565b61012961016f366004610e71565b6001600160a01b031660009081526020819052604090205490565b610129610198366004610e71565b610300565b6101a561031e565b6040516100f99796959493929190610e8c565b6100ec610380565b6101156101ce366004610e0b565b61038f565b6101e66101e1366004610f3e565b61039d565b005b6101296101f6366004610fb1565b6001600160a01b03918216600090815260016020908152604080832093909416825291909152205490565b60606003805461023090610fe4565b80601f016020809104026020016040519081016040528092919081815260200182805461025c90610fe4565b80156102a95780601f1061027e576101008083540402835291602001916102a9565b820191906000526020600020905b81548152906001019060200180831161028c57829003601f168201915b5050505050905090565b6000336102c181858561050e565b60019150505b92915050565b6000336102db858285610520565b6102e68585856105b7565b506001949350505050565b60006102fb610648565b905090565b6001600160a01b0381166000908152600760205260408120546102c7565b600060608060008060006060610332610773565b61033a6107a0565b604080516000808252602082019092527f0f000000000000000000000000000000000000000000000000000000000000009b939a50919850469750309650945092509050565b60606004805461023090610fe4565b6000336102c18185856105b7565b834211156103df576040517f62791302000000000000000000000000000000000000000000000000000000008152600481018590526024015b60405180910390fd5b60007f6e71edae12b1b97f4d1f60370fef10105fa2faae0126114a169c64845d6126c988888861042c8c6001600160a01b0316600090815260076020526040902080546001810190915590565b6040805160208101969096526001600160a01b0394851690860152929091166060840152608083015260a082015260c0810186905260e0016040516020818303038152906040528051906020012090506000610487826107cd565b9050600061049782878787610815565b9050896001600160a01b0316816001600160a01b0316146104f7576040517f4b800e460000000000000000000000000000000000000000000000000000000081526001600160a01b0380831660048301528b1660248201526044016103d6565b6105028a8a8a61050e565b50505050505050505050565b61051b8383836001610843565b505050565b6001600160a01b0383811660009081526001602090815260408083209386168352929052205460001981146105b157818110156105a2576040517ffb8f41b20000000000000000000000000000000000000000000000000000000081526001600160a01b038416600482015260248101829052604481018390526064016103d6565b6105b184848484036000610843565b50505050565b6001600160a01b0383166105fa576040517f96c6fd1e000000000000000000000000000000000000000000000000000000008152600060048201526024016103d6565b6001600160a01b03821661063d576040517fec442f05000000000000000000000000000000000000000000000000000000008152600060048201526024016103d6565b61051b83838361094a565b6000306001600160a01b037f0000000000000000000000000000000000000000000000000000000000000000161480156106a157507f000000000000000000000000000000000000000000000000000000000000000046145b156106cb57507f000000000000000000000000000000000000000000000000000000000000000090565b6102fb604080517f8b73c3c69bb8fe3d512ecc4cf759cc79239f7b179b0ffacaa9a75d522b39400f60208201527f0000000000000000000000000000000000000000000000000000000000000000918101919091527f000000000000000000000000000000000000000000000000000000000000000060608201524660808201523060a082015260009060c00160405160208183030381529060405280519060200120905090565b60606102fb7f00000000000000000000000000000000000000000000000000000000000000006005610a8d565b60606102fb7f00000000000000000000000000000000000000000000000000000000000000006006610a8d565b60006102c76107da610648565b836040517f19010000000000000000000000000000000000000000000000000000000000008152600281019290925260228201526042902090565b60008060008061082788888888610b38565b9250925092506108378282610c07565b50909695505050505050565b6001600160a01b038416610886576040517fe602df05000000000000000000000000000000000000000000000000000000008152600060048201526024016103d6565b6001600160a01b0383166108c9576040517f94280d62000000000000000000000000000000000000000000000000000000008152600060048201526024016103d6565b6001600160a01b03808516600090815260016020908152604080832093871683529290522082905580156105b157826001600160a01b0316846001600160a01b03167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b9258460405161093c91815260200190565b60405180910390a350505050565b6001600160a01b03831661097557806002600082825461096a919061101e565b90915550610a009050565b6001600160a01b038316600090815260208190526040902054818110156109e1576040517fe450d38c0000000000000000000000000000000000000000000000000000000081526001600160a01b038516600482015260248101829052604481018390526064016103d6565b6001600160a01b03841660009081526020819052604090209082900390555b6001600160a01b038216610a1c57600280548290039055610a3b565b6001600160a01b03821660009081526020819052604090208054820190555b816001600160a01b0316836001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef83604051610a8091815260200190565b60405180910390a3505050565b606060ff8314610aa757610aa083610d0f565b90506102c7565b818054610ab390610fe4565b80601f0160208091040260200160405190810160405280929190818152602001828054610adf90610fe4565b8015610b2c5780601f10610b0157610100808354040283529160200191610b2c565b820191906000526020600020905b815481529060010190602001808311610b0f57829003601f168201915b505050505090506102c7565b600080807f7fffffffffffffffffffffffffffffff5d576e7357a4501ddfe92f46681b20a0841115610b735750600091506003905082610bfd565b604080516000808252602082018084528a905260ff891692820192909252606081018790526080810186905260019060a0016020604051602081039080840390855afa158015610bc7573d6000803e3d6000fd5b5050604051601f1901519150506001600160a01b038116610bf357506000925060019150829050610bfd565b9250600091508190505b9450945094915050565b6000826003811115610c1b57610c1b61103f565b03610c24575050565b6001826003811115610c3857610c3861103f565b03610c6f576040517ff645eedf00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6002826003811115610c8357610c8361103f565b03610cbd576040517ffce698f7000000000000000000000000000000000000000000000000000000008152600481018290526024016103d6565b6003826003811115610cd157610cd161103f565b03610d0b576040517fd78bce0c000000000000000000000000000000000000000000000000000000008152600481018290526024016103d6565b5050565b60606000610d1c83610d4e565b604080516020808252818301909252919250600091906020820181803683375050509182525060208101929092525090565b600060ff8216601f8111156102c7576040517fb3512b0c00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6000815180845260005b81811015610db557602081850181015186830182015201610d99565b506000602082860101526020601f19601f83011685010191505092915050565b602081526000610de86020830184610d8f565b9392505050565b80356001600160a01b0381168114610e0657600080fd5b919050565b60008060408385031215610e1e57600080fd5b610e2783610def565b946020939093013593505050565b600080600060608486031215610e4a57600080fd5b610e5384610def565b9250610e6160208501610def565b9150604084013590509250925092565b600060208284031215610e8357600080fd5b610de882610def565b7fff00000000000000000000000000000000000000000000000000000000000000881681526000602060e081840152610ec860e084018a610d8f565b8381036040850152610eda818a610d8f565b606085018990526001600160a01b038816608086015260a0850187905284810360c0860152855180825283870192509083019060005b81811015610f2c57835183529284019291840191600101610f10565b50909c9b505050505050505050505050565b600080600080600080600060e0888a031215610f5957600080fd5b610f6288610def565b9650610f7060208901610def565b95506040880135945060608801359350608088013560ff81168114610f9457600080fd5b9699959850939692959460a0840135945060c09093013592915050565b60008060408385031215610fc457600080fd5b610fcd83610def565b9150610fdb60208401610def565b90509250929050565b600181811c90821680610ff857607f821691505b60208210810361101857634e487b7160e01b600052602260045260246000fd5b50919050565b808201808211156102c757634e487b7160e01b600052601160045260246000fd5b634e487b7160e01b600052602160045260246000fdfea26469706673582212201a56fb6980a1b1b0314b5a0c148281fb55034be6d08115169f0cc62be8e11eaf64736f6c63430008140033