[ { "inputs": [ { "internalType": "uint256", "name": "_totalSupply", "type": "uint256" } ], "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" } ]
6101606040523480156200001257600080fd5b50604051620014d4380380620014d4833981016040819052620000359162000389565b60405180604001604052806006815260200165506f7373756d60d01b81525080604051806040016040528060018152602001603160f81b81525060405180604001604052806006815260200165506f7373756d60d01b8152506040518060400160405280600381526020016250534d60e81b8152508160039081620000bb919062000448565b506004620000ca828262000448565b50620000dc9150839050600562000198565b61012052620000ed81600662000198565b61014052815160208084019190912060e052815190820120610100524660a0526200017b60e05161010051604080517f8b73c3c69bb8fe3d512ecc4cf759cc79239f7b179b0ffacaa9a75d522b39400f60208201529081019290925260608201524660808201523060a082015260009060c00160405160208183030381529060405280519060200120905090565b60805250503060c05250620001913382620001d1565b50620005ab565b6000602083511015620001b857620001b08362000213565b9050620001cb565b81620001c5848262000448565b5060ff90505b92915050565b6001600160a01b038216620002015760405163ec442f0560e01b8152600060048201526024015b60405180910390fd5b6200020f6000838362000256565b5050565b600080829050601f8151111562000241578260405163305a27a960e01b8152600401620001f8919062000514565b80516200024e8262000564565b179392505050565b6001600160a01b0383166200028557806002600082825462000279919062000589565b90915550620002f99050565b6001600160a01b03831660009081526020819052604090205481811015620002da5760405163391434e360e21b81526001600160a01b03851660048201526024810182905260448101839052606401620001f8565b6001600160a01b03841660009081526020819052604090209082900390555b6001600160a01b038216620003175760028054829003905562000336565b6001600160a01b03821660009081526020819052604090208054820190555b816001600160a01b0316836001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef836040516200037c91815260200190565b60405180910390a3505050565b6000602082840312156200039c57600080fd5b5051919050565b634e487b7160e01b600052604160045260246000fd5b600181811c90821680620003ce57607f821691505b602082108103620003ef57634e487b7160e01b600052602260045260246000fd5b50919050565b601f8211156200044357600081815260208120601f850160051c810160208610156200041e5750805b601f850160051c820191505b818110156200043f578281556001016200042a565b5050505b505050565b81516001600160401b03811115620004645762000464620003a3565b6200047c81620004758454620003b9565b84620003f5565b602080601f831160018114620004b457600084156200049b5750858301515b600019600386901b1c1916600185901b1785556200043f565b600085815260208120601f198616915b82811015620004e557888601518255948401946001909101908401620004c4565b5085821015620005045787850151600019600388901b60f8161c191681555b5050505050600190811b01905550565b600060208083528351808285015260005b81811015620005435785810183015185820160400152820162000525565b506000604082860101526040601f19601f8301168501019250505092915050565b80516020808301519190811015620003ef5760001960209190910360031b1b16919050565b80820180821115620001cb57634e487b7160e01b600052601160045260246000fd5b60805160a05160c05160e051610100516101205161014051610ece6200060660003960006106b80152600061068b015260006106330152600061060b0152600061056601526000610590015260006105ba0152610ece6000f3fe608060405234801561001057600080fd5b50600436106100af5760003560e01c806306fdde03146100b4578063095ea7b3146100d257806318160ddd146100f557806323b872dd14610107578063313ce5671461011a5780633644e5151461012957806370a08231146101315780637ecebe001461015a57806384b0196e1461016d57806395d89b4114610188578063a9059cbb14610190578063d505accf146101a3578063dd62ed3e146101b8575b600080fd5b6100bc6101cb565b6040516100c99190610bff565b60405180910390f35b6100e56100e0366004610c35565b61025d565b60405190151581526020016100c9565b6002545b6040519081526020016100c9565b6100e5610115366004610c5f565b610277565b604051601281526020016100c9565b6100f961029b565b6100f961013f366004610c9b565b6001600160a01b031660009081526020819052604090205490565b6100f9610168366004610c9b565b6102aa565b6101756102c8565b6040516100c99796959493929190610cb6565b6100bc61030e565b6100e561019e366004610c35565b61031d565b6101b66101b1366004610d4c565b61032b565b005b6100f96101c6366004610dbf565b61046a565b6060600380546101da90610df2565b80601f016020809104026020016040519081016040528092919081815260200182805461020690610df2565b80156102535780601f1061022857610100808354040283529160200191610253565b820191906000526020600020905b81548152906001019060200180831161023657829003601f168201915b5050505050905090565b60003361026b818585610495565b60019150505b92915050565b6000336102858582856104a7565b6102908585856104fa565b506001949350505050565b60006102a5610559565b905090565b6001600160a01b038116600090815260076020526040812054610271565b6000606080600080600060606102dc610684565b6102e46106b1565b60408051600080825260208201909252600f60f81b9b939a50919850469750309650945092509050565b6060600480546101da90610df2565b60003361026b8185856104fa565b834211156103545760405163313c898160e11b8152600481018590526024015b60405180910390fd5b60007f6e71edae12b1b97f4d1f60370fef10105fa2faae0126114a169c64845d6126c98888886103a18c6001600160a01b0316600090815260076020526040902080546001810190915590565b6040805160208101969096526001600160a01b0394851690860152929091166060840152608083015260a082015260c0810186905260e00160405160208183030381529060405280519060200120905060006103fc826106de565b9050600061040c8287878761070b565b9050896001600160a01b0316816001600160a01b031614610453576040516325c0072360e11b81526001600160a01b0380831660048301528b16602482015260440161034b565b61045e8a8a8a610495565b50505050505050505050565b6001600160a01b03918216600090815260016020908152604080832093909416825291909152205490565b6104a28383836001610739565b505050565b60006104b3848461046a565b905060001981146104f457818110156104e557828183604051637dc7a0d960e11b815260040161034b93929190610e2c565b6104f484848484036000610739565b50505050565b6001600160a01b038316610524576000604051634b637e8f60e11b815260040161034b9190610e4d565b6001600160a01b03821661054e57600060405163ec442f0560e01b815260040161034b9190610e4d565b6104a283838361080e565b6000306001600160a01b037f0000000000000000000000000000000000000000000000000000000000000000161480156105b257507f000000000000000000000000000000000000000000000000000000000000000046145b156105dc57507f000000000000000000000000000000000000000000000000000000000000000090565b6102a5604080517f8b73c3c69bb8fe3d512ecc4cf759cc79239f7b179b0ffacaa9a75d522b39400f60208201527f0000000000000000000000000000000000000000000000000000000000000000918101919091527f000000000000000000000000000000000000000000000000000000000000000060608201524660808201523060a082015260009060c00160405160208183030381529060405280519060200120905090565b60606102a57f00000000000000000000000000000000000000000000000000000000000000006005610925565b60606102a57f00000000000000000000000000000000000000000000000000000000000000006006610925565b60006102716106eb610559565b8360405161190160f01b8152600281019290925260228201526042902090565b60008060008061071d888888886109d0565b92509250925061072d8282610a95565b50909695505050505050565b6001600160a01b03841661076357600060405163e602df0560e01b815260040161034b9190610e4d565b6001600160a01b03831661078d576000604051634a1406b160e11b815260040161034b9190610e4d565b6001600160a01b03808516600090815260016020908152604080832093871683529290522082905580156104f457826001600160a01b0316846001600160a01b03167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b9258460405161080091815260200190565b60405180910390a350505050565b6001600160a01b03831661083957806002600082825461082e9190610e61565b909155506108989050565b6001600160a01b038316600090815260208190526040902054818110156108795783818360405163391434e360e21b815260040161034b93929190610e2c565b6001600160a01b03841660009081526020819052604090209082900390555b6001600160a01b0382166108b4576002805482900390556108d3565b6001600160a01b03821660009081526020819052604090208054820190555b816001600160a01b0316836001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef8360405161091891815260200190565b60405180910390a3505050565b606060ff831461093f5761093883610b52565b9050610271565b81805461094b90610df2565b80601f016020809104026020016040519081016040528092919081815260200182805461097790610df2565b80156109c45780601f10610999576101008083540402835291602001916109c4565b820191906000526020600020905b8154815290600101906020018083116109a757829003601f168201915b50505050509050610271565b600080806fa2a8918ca85bafe22016d0b997e4df60600160ff1b03841115610a015750600091506003905082610a8b565b604080516000808252602082018084528a905260ff891692820192909252606081018790526080810186905260019060a0016020604051602081039080840390855afa158015610a55573d6000803e3d6000fd5b5050604051601f1901519150506001600160a01b038116610a8157506000925060019150829050610a8b565b9250600091508190505b9450945094915050565b6000826003811115610aa957610aa9610e82565b03610ab2575050565b6001826003811115610ac657610ac6610e82565b03610ae45760405163f645eedf60e01b815260040160405180910390fd5b6002826003811115610af857610af8610e82565b03610b195760405163fce698f760e01b81526004810182905260240161034b565b6003826003811115610b2d57610b2d610e82565b03610b4e576040516335e2f38360e21b81526004810182905260240161034b565b5050565b60606000610b5f83610b91565b604080516020808252818301909252919250600091906020820181803683375050509182525060208101929092525090565b600060ff8216601f81111561027157604051632cd44ac360e21b815260040160405180910390fd5b6000815180845260005b81811015610bdf57602081850181015186830182015201610bc3565b506000602082860101526020601f19601f83011685010191505092915050565b602081526000610c126020830184610bb9565b9392505050565b80356001600160a01b0381168114610c3057600080fd5b919050565b60008060408385031215610c4857600080fd5b610c5183610c19565b946020939093013593505050565b600080600060608486031215610c7457600080fd5b610c7d84610c19565b9250610c8b60208501610c19565b9150604084013590509250925092565b600060208284031215610cad57600080fd5b610c1282610c19565b60ff60f81b881681526000602060e081840152610cd660e084018a610bb9565b8381036040850152610ce8818a610bb9565b606085018990526001600160a01b038816608086015260a0850187905284810360c0860152855180825283870192509083019060005b81811015610d3a57835183529284019291840191600101610d1e565b50909c9b505050505050505050505050565b600080600080600080600060e0888a031215610d6757600080fd5b610d7088610c19565b9650610d7e60208901610c19565b95506040880135945060608801359350608088013560ff81168114610da257600080fd5b9699959850939692959460a0840135945060c09093013592915050565b60008060408385031215610dd257600080fd5b610ddb83610c19565b9150610de960208401610c19565b90509250929050565b600181811c90821680610e0657607f821691505b602082108103610e2657634e487b7160e01b600052602260045260246000fd5b50919050565b6001600160a01b039390931683526020830191909152604082015260600190565b6001600160a01b0391909116815260200190565b8082018082111561027157634e487b7160e01b600052601160045260246000fd5b634e487b7160e01b600052602160045260246000fdfea264697066735822122088215b3dc4d3de3d76d199be3d8a542d4e0d0a4965205068e8b2624e594d8e3864736f6c634300081300330000000000000000000000000000000000000000204fce5e3e25026110000000