[ { "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": [], "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" } ]
61016060405234801562000011575f80fd5b506040518060400160405280601081526020016f2a3937b6361022b637b7102a37b5b2b760811b81525080604051806040016040528060018152602001603160f81b8152506040518060400160405280601081526020016f2a3937b6361022b637b7102a37b5b2b760811b815250604051806040016040528060068152602001652a16a2a627a760d11b8152508160039081620000af91906200042e565b506004620000be82826200042e565b50620000d091508390506005620001a7565b61012052620000e1816006620001a7565b61014052815160208084019190912060e052815190820120610100524660a0526200016e60e05161010051604080517f8b73c3c69bb8fe3d512ecc4cf759cc79239f7b179b0ffacaa9a75d522b39400f60208201529081019290925260608201524660808201523060a08201525f9060c00160405160208183030381529060405280519060200120905090565b60805250503060c05250620001a1336200018b6012600a62000607565b6200019b906302aea5406200061e565b620001df565b620006c0565b5f602083511015620001c657620001be836200021f565b9050620001d9565b81620001d384826200042e565b5060ff90505b92915050565b6001600160a01b0382166200020e5760405163ec442f0560e01b81525f60048201526024015b60405180910390fd5b6200021b5f838362000261565b5050565b5f80829050601f815111156200024c578260405163305a27a960e01b815260040162000205919062000638565b8051620002598262000686565b179392505050565b6001600160a01b0383166200028f578060025f828254620002839190620006aa565b90915550620003019050565b6001600160a01b0383165f9081526020819052604090205481811015620002e35760405163391434e360e21b81526001600160a01b0385166004820152602481018290526044810183905260640162000205565b6001600160a01b0384165f9081526020819052604090209082900390555b6001600160a01b0382166200031f576002805482900390556200033d565b6001600160a01b0382165f9081526020819052604090208054820190555b816001600160a01b0316836001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef836040516200038391815260200190565b60405180910390a3505050565b634e487b7160e01b5f52604160045260245ffd5b600181811c90821680620003b957607f821691505b602082108103620003d857634e487b7160e01b5f52602260045260245ffd5b50919050565b601f8211156200042957805f5260205f20601f840160051c81016020851015620004055750805b601f840160051c820191505b8181101562000426575f815560010162000411565b50505b505050565b81516001600160401b038111156200044a576200044a62000390565b62000462816200045b8454620003a4565b84620003de565b602080601f83116001811462000498575f8415620004805750858301515b5f19600386901b1c1916600185901b178555620004f2565b5f85815260208120601f198616915b82811015620004c857888601518255948401946001909101908401620004a7565b5085821015620004e657878501515f19600388901b60f8161c191681555b505060018460011b0185555b505050505050565b634e487b7160e01b5f52601160045260245ffd5b600181815b808511156200054e57815f1904821115620005325762000532620004fa565b808516156200054057918102915b93841c939080029062000513565b509250929050565b5f826200056657506001620001d9565b816200057457505f620001d9565b81600181146200058d57600281146200059857620005b8565b6001915050620001d9565b60ff841115620005ac57620005ac620004fa565b50506001821b620001d9565b5060208310610133831016604e8410600b8410161715620005dd575081810a620001d9565b620005e983836200050e565b805f1904821115620005ff57620005ff620004fa565b029392505050565b5f6200061760ff84168362000556565b9392505050565b8082028115828204841417620001d957620001d9620004fa565b5f602080835283518060208501525f5b81811015620006665785810183015185820160400152820162000648565b505f604082860101526040601f19601f8301168501019250505092915050565b80516020808301519190811015620003d8575f1960209190910360031b1b16919050565b80820180821115620001d957620001d9620004fa565b60805160a05160c05160e051610100516101205161014051610eaf620007125f395f6106e101525f6106b401525f61065d01525f61063501525f61059001525f6105ba01525f6105e40152610eaf5ff3fe608060405234801561000f575f80fd5b50600436106100cb575f3560e01c806370a082311161008857806395d89b411161006357806395d89b41146101a2578063a9059cbb146101aa578063d505accf146101bd578063dd62ed3e146101d2575f80fd5b806370a082311461014c5780637ecebe001461017457806384b0196e14610187575f80fd5b806306fdde03146100cf578063095ea7b3146100ed57806318160ddd1461011057806323b872dd14610122578063313ce567146101355780633644e51514610144575b5f80fd5b6100d761020a565b6040516100e49190610c2b565b60405180910390f35b6101006100fb366004610c5f565b61029a565b60405190151581526020016100e4565b6002545b6040519081526020016100e4565b610100610130366004610c87565b6102b3565b604051601281526020016100e4565b6101146102d6565b61011461015a366004610cc0565b6001600160a01b03165f9081526020819052604090205490565b610114610182366004610cc0565b6102e4565b61018f610301565b6040516100e49796959493929190610cd9565b6100d7610343565b6101006101b8366004610c5f565b610352565b6101d06101cb366004610d70565b61035f565b005b6101146101e0366004610ddd565b6001600160a01b039182165f90815260016020908152604080832093909416825291909152205490565b60606003805461021990610e0e565b80601f016020809104026020016040519081016040528092919081815260200182805461024590610e0e565b80156102905780601f1061026757610100808354040283529160200191610290565b820191905f5260205f20905b81548152906001019060200180831161027357829003601f168201915b5050505050905090565b5f336102a781858561049a565b60019150505b92915050565b5f336102c08582856104ac565b6102cb858585610527565b506001949350505050565b5f6102df610584565b905090565b6001600160a01b0381165f908152600760205260408120546102ad565b5f6060805f805f60606103126106ad565b61031a6106da565b604080515f80825260208201909252600f60f81b9b939a50919850469750309650945092509050565b60606004805461021990610e0e565b5f336102a7818585610527565b834211156103885760405163313c898160e11b8152600481018590526024015b60405180910390fd5b5f7f6e71edae12b1b97f4d1f60370fef10105fa2faae0126114a169c64845d6126c98888886103d38c6001600160a01b03165f90815260076020526040902080546001810190915590565b6040805160208101969096526001600160a01b0394851690860152929091166060840152608083015260a082015260c0810186905260e0016040516020818303038152906040528051906020012090505f61042d82610707565b90505f61043c82878787610733565b9050896001600160a01b0316816001600160a01b031614610483576040516325c0072360e11b81526001600160a01b0380831660048301528b16602482015260440161037f565b61048e8a8a8a61049a565b50505050505050505050565b6104a7838383600161075f565b505050565b6001600160a01b038381165f908152600160209081526040808320938616835292905220545f198114610521578181101561051357604051637dc7a0d960e11b81526001600160a01b0384166004820152602481018290526044810183905260640161037f565b61052184848484035f61075f565b50505050565b6001600160a01b03831661055057604051634b637e8f60e11b81525f600482015260240161037f565b6001600160a01b0382166105795760405163ec442f0560e01b81525f600482015260240161037f565b6104a7838383610831565b5f306001600160a01b037f0000000000000000000000000000000000000000000000000000000000000000161480156105dc57507f000000000000000000000000000000000000000000000000000000000000000046145b1561060657507f000000000000000000000000000000000000000000000000000000000000000090565b6102df604080517f8b73c3c69bb8fe3d512ecc4cf759cc79239f7b179b0ffacaa9a75d522b39400f60208201527f0000000000000000000000000000000000000000000000000000000000000000918101919091527f000000000000000000000000000000000000000000000000000000000000000060608201524660808201523060a08201525f9060c00160405160208183030381529060405280519060200120905090565b60606102df7f00000000000000000000000000000000000000000000000000000000000000006005610957565b60606102df7f00000000000000000000000000000000000000000000000000000000000000006006610957565b5f6102ad610713610584565b8360405161190160f01b8152600281019290925260228201526042902090565b5f805f8061074388888888610a00565b9250925092506107538282610ac8565b50909695505050505050565b6001600160a01b0384166107885760405163e602df0560e01b81525f600482015260240161037f565b6001600160a01b0383166107b157604051634a1406b160e11b81525f600482015260240161037f565b6001600160a01b038085165f908152600160209081526040808320938716835292905220829055801561052157826001600160a01b0316846001600160a01b03167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b9258460405161082391815260200190565b60405180910390a350505050565b6001600160a01b03831661085b578060025f8282546108509190610e46565b909155506108cb9050565b6001600160a01b0383165f90815260208190526040902054818110156108ad5760405163391434e360e21b81526001600160a01b0385166004820152602481018290526044810183905260640161037f565b6001600160a01b0384165f9081526020819052604090209082900390555b6001600160a01b0382166108e757600280548290039055610905565b6001600160a01b0382165f9081526020819052604090208054820190555b816001600160a01b0316836001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef8360405161094a91815260200190565b60405180910390a3505050565b606060ff83146109715761096a83610b84565b90506102ad565b81805461097d90610e0e565b80601f01602080910402602001604051908101604052809291908181526020018280546109a990610e0e565b80156109f45780601f106109cb576101008083540402835291602001916109f4565b820191905f5260205f20905b8154815290600101906020018083116109d757829003601f168201915b505050505090506102ad565b5f80807f7fffffffffffffffffffffffffffffff5d576e7357a4501ddfe92f46681b20a0841115610a3957505f91506003905082610abe565b604080515f808252602082018084528a905260ff891692820192909252606081018790526080810186905260019060a0016020604051602081039080840390855afa158015610a8a573d5f803e3d5ffd5b5050604051601f1901519150506001600160a01b038116610ab557505f925060019150829050610abe565b92505f91508190505b9450945094915050565b5f826003811115610adb57610adb610e65565b03610ae4575050565b6001826003811115610af857610af8610e65565b03610b165760405163f645eedf60e01b815260040160405180910390fd5b6002826003811115610b2a57610b2a610e65565b03610b4b5760405163fce698f760e01b81526004810182905260240161037f565b6003826003811115610b5f57610b5f610e65565b03610b80576040516335e2f38360e21b81526004810182905260240161037f565b5050565b60605f610b9083610bc1565b6040805160208082528183019092529192505f91906020820181803683375050509182525060208101929092525090565b5f60ff8216601f8111156102ad57604051632cd44ac360e21b815260040160405180910390fd5b5f81518084525f5b81811015610c0c57602081850181015186830182015201610bf0565b505f602082860101526020601f19601f83011685010191505092915050565b602081525f610c3d6020830184610be8565b9392505050565b80356001600160a01b0381168114610c5a575f80fd5b919050565b5f8060408385031215610c70575f80fd5b610c7983610c44565b946020939093013593505050565b5f805f60608486031215610c99575f80fd5b610ca284610c44565b9250610cb060208501610c44565b9150604084013590509250925092565b5f60208284031215610cd0575f80fd5b610c3d82610c44565b60ff60f81b881681525f602060e06020840152610cf960e084018a610be8565b8381036040850152610d0b818a610be8565b606085018990526001600160a01b038816608086015260a0850187905284810360c0860152855180825260208088019350909101905f5b81811015610d5e57835183529284019291840191600101610d42565b50909c9b505050505050505050505050565b5f805f805f805f60e0888a031215610d86575f80fd5b610d8f88610c44565b9650610d9d60208901610c44565b95506040880135945060608801359350608088013560ff81168114610dc0575f80fd5b9699959850939692959460a0840135945060c09093013592915050565b5f8060408385031215610dee575f80fd5b610df783610c44565b9150610e0560208401610c44565b90509250929050565b600181811c90821680610e2257607f821691505b602082108103610e4057634e487b7160e01b5f52602260045260245ffd5b50919050565b808201808211156102ad57634e487b7160e01b5f52601160045260245ffd5b634e487b7160e01b5f52602160045260245ffdfea26469706673582212205c3ba084cee2dd1376bdeb72fbb113c62851685529e4ff41e6a5f48db2be346264736f6c63430008170033