[ { "inputs": [], "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": [ { "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": [], "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" } ]
610160604052348015610010575f80fd5b50604051806040016040528060068152602001654c757368414960d01b81525080604051806040016040528060018152602001603160f81b815250604051806040016040528060068152602001654c757368414960d01b81525060405180604001604052806004815260200163098aaa6960e31b815250816003908161009691906103eb565b5060046100a382826103eb565b506100b391508390506005610181565b610120526100c2816006610181565b61014052815160208084019190912060e052815190820120610100524660a05261014e60e05161010051604080517f8b73c3c69bb8fe3d512ecc4cf759cc79239f7b179b0ffacaa9a75d522b39400f60208201529081019290925260608201524660808201523060a08201525f9060c00160405160208183030381529060405280519060200120905090565b60805250503060c0525061017c336101686012600a61059c565b610177906404a817c8006105b1565b6101b3565b610633565b5f60208351101561019c57610195836101f0565b90506101ad565b816101a784826103eb565b5060ff90505b92915050565b6001600160a01b0382166101e15760405163ec442f0560e01b81525f60048201526024015b60405180910390fd5b6101ec5f838361022d565b5050565b5f80829050601f8151111561021a578260405163305a27a960e01b81526004016101d891906105c8565b8051610225826105fd565b179392505050565b6001600160a01b038316610257578060025f82825461024c9190610620565b909155506102c79050565b6001600160a01b0383165f90815260208190526040902054818110156102a95760405163391434e360e21b81526001600160a01b038516600482015260248101829052604481018390526064016101d8565b6001600160a01b0384165f9081526020819052604090209082900390555b6001600160a01b0382166102e357600280548290039055610301565b6001600160a01b0382165f9081526020819052604090208054820190555b816001600160a01b0316836001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef8360405161034691815260200190565b60405180910390a3505050565b634e487b7160e01b5f52604160045260245ffd5b600181811c9082168061037b57607f821691505b60208210810361039957634e487b7160e01b5f52602260045260245ffd5b50919050565b601f8211156103e657805f5260205f20601f840160051c810160208510156103c45750805b601f840160051c820191505b818110156103e3575f81556001016103d0565b50505b505050565b81516001600160401b0381111561040457610404610353565b610418816104128454610367565b8461039f565b6020601f82116001811461044a575f83156104335750848201515b5f19600385901b1c1916600184901b1784556103e3565b5f84815260208120601f198516915b828110156104795787850151825560209485019460019092019101610459565b508482101561049657868401515f19600387901b60f8161c191681555b50505050600190811b01905550565b634e487b7160e01b5f52601160045260245ffd5b6001815b60018411156104f4578085048111156104d8576104d86104a5565b60018416156104e657908102905b60019390931c9280026104bd565b935093915050565b5f8261050a575060016101ad565b8161051657505f6101ad565b816001811461052c576002811461053657610552565b60019150506101ad565b60ff841115610547576105476104a5565b50506001821b6101ad565b5060208310610133831016604e8410600b8410161715610575575081810a6101ad565b6105815f1984846104b9565b805f1904821115610594576105946104a5565b029392505050565b5f6105aa60ff8416836104fc565b9392505050565b80820281158282048414176101ad576101ad6104a5565b602081525f82518060208401528060208501604085015e5f604082850101526040601f19601f83011684010191505092915050565b80516020808301519190811015610399575f1960209190910360031b1b16919050565b808201808211156101ad576101ad6104a5565b60805160a05160c05160e051610100516101205161014051610f526106845f395f61078601525f61075901525f6106ce01525f6106a601525f61060101525f61062b01525f6106550152610f525ff3fe608060405234801561000f575f80fd5b50600436106100f0575f3560e01c806370a082311161009357806395d89b411161006357806395d89b41146101ef578063a9059cbb146101f7578063d505accf1461020a578063dd62ed3e1461021d575f80fd5b806370a082311461018657806379cc6790146101ae5780637ecebe00146101c157806384b0196e146101d4575f80fd5b806323b872dd116100ce57806323b872dd14610147578063313ce5671461015a5780633644e5151461016957806342966c6814610171575f80fd5b806306fdde03146100f4578063095ea7b31461011257806318160ddd14610135575b5f80fd5b6100fc610255565b6040516101099190610cb7565b60405180910390f35b610125610120366004610ceb565b6102e5565b6040519015158152602001610109565b6002545b604051908152602001610109565b610125610155366004610d13565b6102fe565b60405160128152602001610109565b610139610321565b61018461017f366004610d4d565b61032f565b005b610139610194366004610d64565b6001600160a01b03165f9081526020819052604090205490565b6101846101bc366004610ceb565b61033c565b6101396101cf366004610d64565b610355565b6101dc610372565b6040516101099796959493929190610d7d565b6100fc6103b4565b610125610205366004610ceb565b6103c3565b610184610218366004610e13565b6103d0565b61013961022b366004610e80565b6001600160a01b039182165f90815260016020908152604080832093909416825291909152205490565b60606003805461026490610eb1565b80601f016020809104026020016040519081016040528092919081815260200182805461029090610eb1565b80156102db5780601f106102b2576101008083540402835291602001916102db565b820191905f5260205f20905b8154815290600101906020018083116102be57829003601f168201915b5050505050905090565b5f336102f281858561050b565b60019150505b92915050565b5f3361030b85828561051d565b610316858585610598565b506001949350505050565b5f61032a6105f5565b905090565b610339338261071e565b50565b61034782338361051d565b610351828261071e565b5050565b6001600160a01b0381165f908152600760205260408120546102f8565b5f6060805f805f6060610383610752565b61038b61077f565b604080515f80825260208201909252600f60f81b9b939a50919850469750309650945092509050565b60606004805461026490610eb1565b5f336102f2818585610598565b834211156103f95760405163313c898160e11b8152600481018590526024015b60405180910390fd5b5f7f6e71edae12b1b97f4d1f60370fef10105fa2faae0126114a169c64845d6126c98888886104448c6001600160a01b03165f90815260076020526040902080546001810190915590565b6040805160208101969096526001600160a01b0394851690860152929091166060840152608083015260a082015260c0810186905260e0016040516020818303038152906040528051906020012090505f61049e826107ac565b90505f6104ad828787876107d8565b9050896001600160a01b0316816001600160a01b0316146104f4576040516325c0072360e11b81526001600160a01b0380831660048301528b1660248201526044016103f0565b6104ff8a8a8a61050b565b50505050505050505050565b6105188383836001610804565b505050565b6001600160a01b038381165f908152600160209081526040808320938616835292905220545f198114610592578181101561058457604051637dc7a0d960e11b81526001600160a01b038416600482015260248101829052604481018390526064016103f0565b61059284848484035f610804565b50505050565b6001600160a01b0383166105c157604051634b637e8f60e11b81525f60048201526024016103f0565b6001600160a01b0382166105ea5760405163ec442f0560e01b81525f60048201526024016103f0565b6105188383836108d6565b5f306001600160a01b037f00000000000000000000000000000000000000000000000000000000000000001614801561064d57507f000000000000000000000000000000000000000000000000000000000000000046145b1561067757507f000000000000000000000000000000000000000000000000000000000000000090565b61032a604080517f8b73c3c69bb8fe3d512ecc4cf759cc79239f7b179b0ffacaa9a75d522b39400f60208201527f0000000000000000000000000000000000000000000000000000000000000000918101919091527f000000000000000000000000000000000000000000000000000000000000000060608201524660808201523060a08201525f9060c00160405160208183030381529060405280519060200120905090565b6001600160a01b03821661074757604051634b637e8f60e11b81525f60048201526024016103f0565b610351825f836108d6565b606061032a7f000000000000000000000000000000000000000000000000000000000000000060056109fc565b606061032a7f000000000000000000000000000000000000000000000000000000000000000060066109fc565b5f6102f86107b86105f5565b8360405161190160f01b8152600281019290925260228201526042902090565b5f805f806107e888888888610aa5565b9250925092506107f88282610b6d565b50909695505050505050565b6001600160a01b03841661082d5760405163e602df0560e01b81525f60048201526024016103f0565b6001600160a01b03831661085657604051634a1406b160e11b81525f60048201526024016103f0565b6001600160a01b038085165f908152600160209081526040808320938716835292905220829055801561059257826001600160a01b0316846001600160a01b03167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925846040516108c891815260200190565b60405180910390a350505050565b6001600160a01b038316610900578060025f8282546108f59190610ee9565b909155506109709050565b6001600160a01b0383165f90815260208190526040902054818110156109525760405163391434e360e21b81526001600160a01b038516600482015260248101829052604481018390526064016103f0565b6001600160a01b0384165f9081526020819052604090209082900390555b6001600160a01b03821661098c576002805482900390556109aa565b6001600160a01b0382165f9081526020819052604090208054820190555b816001600160a01b0316836001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef836040516109ef91815260200190565b60405180910390a3505050565b606060ff8314610a1657610a0f83610c25565b90506102f8565b818054610a2290610eb1565b80601f0160208091040260200160405190810160405280929190818152602001828054610a4e90610eb1565b8015610a995780601f10610a7057610100808354040283529160200191610a99565b820191905f5260205f20905b815481529060010190602001808311610a7c57829003601f168201915b505050505090506102f8565b5f80807f7fffffffffffffffffffffffffffffff5d576e7357a4501ddfe92f46681b20a0841115610ade57505f91506003905082610b63565b604080515f808252602082018084528a905260ff891692820192909252606081018790526080810186905260019060a0016020604051602081039080840390855afa158015610b2f573d5f803e3d5ffd5b5050604051601f1901519150506001600160a01b038116610b5a57505f925060019150829050610b63565b92505f91508190505b9450945094915050565b5f826003811115610b8057610b80610f08565b03610b89575050565b6001826003811115610b9d57610b9d610f08565b03610bbb5760405163f645eedf60e01b815260040160405180910390fd5b6002826003811115610bcf57610bcf610f08565b03610bf05760405163fce698f760e01b8152600481018290526024016103f0565b6003826003811115610c0457610c04610f08565b03610351576040516335e2f38360e21b8152600481018290526024016103f0565b60605f610c3183610c62565b6040805160208082528183019092529192505f91906020820181803683375050509182525060208101929092525090565b5f60ff8216601f8111156102f857604051632cd44ac360e21b815260040160405180910390fd5b5f81518084528060208401602086015e5f602082860101526020601f19601f83011685010191505092915050565b602081525f610cc96020830184610c89565b9392505050565b80356001600160a01b0381168114610ce6575f80fd5b919050565b5f8060408385031215610cfc575f80fd5b610d0583610cd0565b946020939093013593505050565b5f805f60608486031215610d25575f80fd5b610d2e84610cd0565b9250610d3c60208501610cd0565b929592945050506040919091013590565b5f60208284031215610d5d575f80fd5b5035919050565b5f60208284031215610d74575f80fd5b610cc982610cd0565b60ff60f81b8816815260e060208201525f610d9b60e0830189610c89565b8281036040840152610dad8189610c89565b606084018890526001600160a01b038716608085015260a0840186905283810360c0850152845180825260208087019350909101905f5b81811015610e02578351835260209384019390920191600101610de4565b50909b9a5050505050505050505050565b5f805f805f805f60e0888a031215610e29575f80fd5b610e3288610cd0565b9650610e4060208901610cd0565b95506040880135945060608801359350608088013560ff81168114610e63575f80fd5b9699959850939692959460a0840135945060c09093013592915050565b5f8060408385031215610e91575f80fd5b610e9a83610cd0565b9150610ea860208401610cd0565b90509250929050565b600181811c90821680610ec557607f821691505b602082108103610ee357634e487b7160e01b5f52602260045260245ffd5b50919050565b808201808211156102f857634e487b7160e01b5f52601160045260245ffd5b634e487b7160e01b5f52602160045260245ffdfea26469706673582212205c7bf81127fcf5b603aaeb9a6422e18c816465bfd3bfdf5be20a149566a4dbce64736f6c634300081a0033