[ { "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" } ]
61016060405234620000695762000015620001a7565b60405161146862000a3b823960805181610bf9015260a05181610c26015260c05181610bbe015260e051816110640152610100518161104301526101205181610ca601526101405181610cd3015261146890f35b600080fd5b634e487b7160e01b600052604160045260246000fd5b90601f01601f191681019081106001600160401b03821117620000a657604052565b6200006e565b90620000c3620000bb60405190565b928362000084565b565b6001600160401b038111620000a657602090601f01601f19160190565b0190565b90620000fc620000f683620000c5565b620000ac565b918252565b6200010d6007620000e6565b66594f555220414960c81b602082015290565b6200012a62000101565b90565b620001396006620000e6565b65594f5552414960d01b602082015290565b6200012a6200012d565b634e487b7160e01b600052601160045260246000fd5b60ff16604d81116200017d57600a0a90565b62000155565b6200012a6200012a6200012a9290565b818102929181159184041417156200017d57565b620001d0620001b562000120565b620001bf62000120565b620001c96200014b565b916200022b565b620000c362000201620001ec620001e66200053a565b6200016b565b620001fb633b9aca0062000183565b62000193565b3362000582565b620002146001620000e6565b603160f81b602082015290565b6200012a62000208565b90620000c392916200023c62000221565b620000c393929162000281565b6200012a906200025f906001600160a01b031682565b6001600160a01b031690565b6200012a9062000249565b6200012a906200026b565b62000296620002d694620002bb939462000309565b620002a3600582620005ef565b61012052620002b4600684620005ef565b6101405290565b620002cf620002c8825190565b9160200190565b2060e05290565b620002e3620002c8825190565b20610100524660a052620002f662000681565b608052620003043062000276565b60c052565b620000c39182918291906200050a565b634e487b7160e01b600052602260045260246000fd5b906001600283049216801562000352575b60208310146200034c57565b62000319565b91607f169162000340565b9160001960089290920291821b911b5b9181191691161790565b91906200038c6200012a620003959362000183565b9083546200035d565b9055565b620000c39160009162000377565b818110620003b3575050565b80620003c3600060019362000399565b01620003a7565b9190601f8111620003da57505050565b620003ee620000c393600052602060002090565b906020601f84018190048301931062000412575b6020601f909101040190620003a7565b909150819062000402565b9062000427815190565b906001600160401b038211620000a6576200044f826200044885546200032f565b85620003ca565b602090601f83116001146200048e576200039592916000918362000482575b5050600019600883021c1916906002021790565b0151905038806200046e565b601f19831691620004a485600052602060002090565b9260005b818110620004e557509160029391856001969410620004cb575b50505002019055565b01516000196008601f8516021c19169055388080620004c2565b91936020600181928787015181550195019201620004a8565b90620000c3916200041d565b906200051c620000c3926003620004fe565b6004620004fe565b620005346200012a6200012a9290565b60ff1690565b6200012a601262000524565b6200025f6200012a6200012a9290565b6200012a9062000546565b6200056c906200025f565b9052565b602081019291620000c3919062000561565b919062000590600062000556565b926200059c846200025f565b620005a7826200025f565b14620005b957620000c3929362000788565b620005df84620005c860405190565b63ec442f0560e01b81529182916004830162000570565b0390fd5b6200012a60ff62000183565b80516200060562000601602062000183565b9190565b101562000618576200012a9150620009c5565b6000620006266200062d9390565b01620004fe565b6200012a6200012a620005e3565b90959492620000c3946200067262000679926200066b6080966200066460a088019c6000890152565b6020870152565b6040850152565b6060830152565b019062000561565b7f8b73c3c69bb8fe3d512ecc4cf759cc79239f7b179b0ffacaa9a75d522b39400f620006e5620006b060e05190565b6101005190620006d8620006c43062000276565b60405195869460208601944692866200063b565b9081038252038262000084565b620006f2620002c8825190565b2090565b90620007029062000276565b600052602052604060002090565b6200012a9081565b6200012a905462000710565b6040906200074f620000c39496959396620007486060840198600085019062000561565b6020830152565b0152565b90600019906200036d565b90620007726200012a620003959262000183565b825462000753565b919082018092116200017d57565b816000620007968162000556565b620007a1816200025f565b620007ac856200025f565b036200087c5760008051602062001ea38339815191529362000850936200083893620007ff6200083194620007f9620007f18c620007eb600262000718565b6200077a565b60026200075e565b6200025f565b6200080a836200025f565b03620008555750506200082b620007f18862000827600262000718565b0390565b62000276565b9362000276565b936200084360405190565b9182918290815260200190565b0390a3565b6200082b916200086591620006f6565b6200087589620000e28362000718565b906200075e565b909150620008956200088f8484620006f6565b62000718565b858110620008e15760008051602062001ea383398151915293856200085094620007ff6200083895620007f9620008cf8c62000831980390565b620008db8786620006f6565b6200075e565b83620005df87620008f160405190565b63391434e360e21b81529384936004850162000724565b60005b8381106200091c5750506000910152565b81810151838201526020016200090b565b620009526200095c602093620000e29362000946815190565b80835293849260200190565b9586910162000908565b601f01601f191690565b60208082526200012a929101906200092d565b62000995620009916200098a835190565b9260200190565b5190565b9060208110620009a3575090565b620009b690600019906020036008021b90565b1690565b6200012a9062000183565b80620009cf825190565b620009df62000601601f62000183565b1162000a1457506200012a8162000a0d62000a0862000a026200012a9562000979565b620009ba565b915190565b1762000183565b620005df9062000a2360405190565b63305a27a960e01b8152918291600483016200096656fe6080604052600436101561001257600080fd5b60003560e01c806306fdde0314610102578063095ea7b3146100fd57806318160ddd146100f857806323b872dd146100f3578063313ce567146100ee5780633644e515146100e957806342966c68146100e457806370a08231146100df57806379cc6790146100da5780637ecebe00146100d557806384b0196e146100d057806395d89b41146100cb578063a9059cbb146100c6578063d505accf146100c15763dd62ed3e0361011257610585565b610543565b6104b2565b610497565b610463565b610376565b61035d565b610342565b610311565b6102e2565b6102b3565b610297565b610242565b610214565b610186565b600091031261011257565b600080fd5b60005b83811061012a5750506000910152565b818101518382015260200161011a565b61015b61016460209361016e9361014f815190565b80835293849260200190565b95869101610117565b601f01601f191690565b0190565b60208082526101839291019061013a565b90565b3461011257610196366004610107565b6101ad6101a16106d6565b60405191829182610172565b0390f35b6001600160a01b031690565b6001600160a01b0381165b0361011257565b905035906101dc826101bd565b565b806101c8565b905035906101dc826101de565b91906040838203126101125761018390602061020d82866101cf565b94016101e4565b34610112576101ad61023061022a3660046101f1565b906106e0565b60405191829182901515815260200190565b3461011257610252366004610107565b6101ad61025d610701565b6040515b9182918290815260200190565b90916060828403126101125761018361028784846101cf565b93604061020d82602087016101cf565b34610112576101ad6102306102ad36600461026e565b9161070b565b34610112576102c3366004610107565b6101ad6102ce610735565b6040519182918260ff909116815260200190565b34610112576102f2366004610107565b6101ad61025d61073f565b9060208282031261011257610183916101e4565b34610112576103296103243660046102fd565b610747565b604051005b9060208282031261011257610183916101cf565b34610112576101ad61025d61035836600461032e565b610794565b34610112576103296103703660046101f1565b906107b0565b34610112576101ad61025d61038c36600461032e565b6107bf565b906103b16103aa6103a0845190565b8084529260200190565b9260200190565b9060005b8181106103c25750505090565b9091926103df6103d86001928651815260200190565b9460200190565b9291016103b5565b9395919461043f6104376104569561042961044f956101839c9a61041c60e08c019260008d01906001600160f81b0319169052565b8a820360208c015261013a565b9088820360408a015261013a565b976060870152565b6001600160a01b03166080850152565b60a0830152565b60c0818403910152610391565b3461011257610473366004610107565b6101ad61047e610840565b9361048e97959793919360405190565b978897886103e7565b34610112576104a7366004610107565b6101ad6101a1610886565b34610112576101ad6102306104c83660046101f1565b90610890565b60ff81166101c8565b905035906101dc826104ce565b60e081830312610112576104f882826101cf565b9261050683602084016101cf565b9261051481604085016101e4565b9261052282606083016101e4565b9261018361053384608085016104d7565b9360c061020d8260a087016101e4565b34610112576103296105563660046104e4565b9594909493919361091f565b91906040838203126101125761018390602061057e82866101cf565b94016101cf565b34610112576101ad61025d61059b366004610562565b90610a2c565b634e487b7160e01b600052602260045260246000fd5b90600160028304921680156105d7575b60208310146105d257565b6105a1565b91607f16916105c7565b805460009392916105fe6105f4836105b7565b8085529360200190565b9160018116908115610650575060011461061757505050565b61062a9192939450600052602060002090565b916000925b81841061063c5750500190565b80548484015260209093019260010161062f565b92949550505060ff1916825215156020020190565b90610183916105e1565b634e487b7160e01b600052604160045260246000fd5b90601f01601f1916810190811067ffffffffffffffff8211176106a757604052565b61066f565b906101dc6106c6926106bd60405190565b93848092610665565b0383610685565b610183906106ac565b61018360036106cd565b6106eb919033610a4c565b600190565b6101839081565b61018390546106f0565b61018360026106f7565b6106eb92919061071d83335b83610a80565b610afb565b61072f6101836101839290565b60ff1690565b6101836012610722565b610183610ba8565b6101dc9033610c4c565b610c4c565b610183906101b1906001600160a01b031682565b61018390610756565b6101839061076a565b9061078690610773565b600052602052604060002090565b6107ab610183916107a3600090565b50600061077c565b6106f7565b6101dc91906107518233610717565b61018390610c8a565b6101836101836101839290565b906101dc6107e260405190565b9283610685565b67ffffffffffffffff81116106a75760208091020190565b9061081361080e836107e9565b6107d5565b918252565b369037565b906101dc61083361082d84610801565b936107e9565b601f190160208401610818565b610848610ca1565b90610851610cce565b9061085b30610773565b61086560006107c8565b61087761087260006107c8565b61081d565b600f60f81b9594934693929190565b61018360046106cd565b6106eb919033610afb565b91946108ea6108f1929897956108e360a0966108d36101dc9a6108c360c08a019e60008b0152565b6001600160a01b03166020890152565b6001600160a01b03166040870152565b6060850152565b6080830152565b0152565b6001600160a01b0390911681526040810192916101dc916020905b01906001600160a01b03169052565b96959294919493909361092f8190565b4211610a0557906109b48561099c8a6109b997969561099061096e7f6e71edae12b1b97f4d1f60370fef10105fa2faae0126114a169c64845d6126c990565b9161097884610d0d565b8d61098260405190565b97889660208801968761089b565b90810382520382610685565b6109ae6109a7825190565b9160200190565b20610d30565b610d59565b6001600160a01b0385166001600160a01b038216036109dd57506101dc9293610a4c565b8490610a016109eb60405190565b6325c0072360e11b8152928392600484016108f5565b0390fd5b610a0190610a1260405190565b63313c898160e11b81529182916004830190815260200190565b61018391610a476107ab92610a3f600090565b50600161077c565b61077c565b916001916101dc93610d7a565b6001600160a01b0390911681526060810193926101dc9290916040916108f1906020830152565b91610a8b8284610a2c565b6000198103610a9b575b50505050565b818110610ac15791610ab2610ab894926000940390565b91610d7a565b38808080610a95565b82610a0183610acf60405190565b637dc7a0d960e11b815293849360048501610a59565b6101b16101836101839290565b61018390610ae5565b929190610b086000610af2565b936001600160a01b0385166001600160a01b03821614610b77576001600160a01b0385166001600160a01b03831614610b46576101dc939450610eaa565b610a0185610b5360405190565b63ec442f0560e01b8152918291600483016001600160a01b03909116815260200190565b610a0185610b8460405190565b634b637e8f60e11b8152918291600483016001600160a01b03909116815260200190565b610bb130610773565b610beb6001600160a01b037f000000000000000000000000000000000000000000000000000000000000000016916001600160a01b031690565b1480610c23575b15610c1b577f000000000000000000000000000000000000000000000000000000000000000090565b61018361101d565b507f00000000000000000000000000000000000000000000000000000000000000004614610bf2565b9190610c586000610af2565b926001600160a01b0384166001600160a01b03821614610c7d57926101dc9293610eaa565b610a0184610b8460405190565b6107ab61018391610c99600090565b50600761077c565b6101837f000000000000000000000000000000000000000000000000000000000000000060055b9061114d565b6101837f00000000000000000000000000000000000000000000000000000000000000006006610cc8565b90610183610183610d09926107c8565b9055565b610d18906000610c99565b610183610d24826106f7565b91600183015b90610cf9565b61018390610d3c610ba8565b6042916040519161190160f01b8352600283015260228201522090565b916101839391610d7193610d6b600090565b506111bf565b909291926112ba565b909192610d876000610af2565b6001600160a01b0381166001600160a01b03841614610e51576001600160a01b0381166001600160a01b03851614610e205750610dd284610dcd85610a4786600161077c565b610cf9565b610ddb57505050565b610e1b610e11610e0b7f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92593610773565b93610773565b9361026160405190565b0390a3565b610a0190610e2d60405190565b634a1406b160e11b8152918291600483016001600160a01b03909116815260200190565b610a0190610e5e60405190565b63e602df0560e01b8152918291600483016001600160a01b03909116815260200190565b634e487b7160e01b600052601160045260246000fd5b91908201809211610ea557565b610e82565b816000610eb681610af2565b6001600160a01b0381166001600160a01b03851603610f62577fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef93610e1b93610e1193610f1d610e0b946101b1610f168c610f1160026106f7565b610e98565b6002610cf9565b6001600160a01b03831603610f48575050610f43610f1688610f3f60026106f7565b0390565b610773565b610f4391610f559161077c565b610d2a8961016e836106f7565b909150610f726107ab848461077c565b858110610fc0577fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9385610e1b94610f1d610e11956101b1610fb68c610e0b980390565b610dcd878661077c565b83610a0187610fce60405190565b63391434e360e21b815293849360048501610a59565b909594926101dc946110166109109261100f60809661100860a088019c6000890152565b6020870152565b6040850152565b6060830152565b7f8b73c3c69bb8fe3d512ecc4cf759cc79239f7b179b0ffacaa9a75d522b39400f6110a27f00000000000000000000000000000000000000000000000000000000000000007f000000000000000000000000000000000000000000000000000000000000000061099061108f30610773565b6040519586946020860194469286610fe4565b6110ad6109a7825190565b2090565b61018360ff6107c8565b805460009392916110ce6105f4836105b7565b916001811690811561065057506001146110e757505050565b6110fa9192939450600052602060002090565b916000925b81841061110c5750500190565b8054848401526020909301926001016110ff565b90610183916110bb565b906101dc6106c69261113b60405190565b93848092611120565b6101839061112a565b908161116161115d6101836110b1565b9190565b146111705750610183906113c3565b6101839150611144565b610183906107c8565b6108f16101dc946111ac6060949897956111a2608086019a6000870152565b60ff166020850152565b6040830152565b6040513d6000823e3d90fd5b90916111ca8461117a565b6111f661115d7f7fffffffffffffffffffffffffffffff5d576e7357a4501ddfe92f46681b20a06107c8565b1161127757906112186020946000949361120f60405190565b94859485611183565b838052039060015afa156112725760005160009161123583610af2565b6001600160a01b0381166001600160a01b0384161461125e5750611258836107c8565b91929190565b91509161126a906107c8565b909160019190565b6111b3565b5050506112846000610af2565b9160039190565b634e487b7160e01b600052602160045260246000fd5b600411156112ab57565b61128b565b906101dc826112a1565b6112c460006112b0565b6112cd826112b0565b036112d6575050565b6112e060016112b0565b6112e9826112b0565b036113005760405163f645eedf60e01b8152600490fd5b61130a60026112b0565b611313826112b0565b0361134157610a016113248361117a565b60405163fce698f760e01b81529182916004830190815260200190565b61135461134e60036112b0565b916112b0565b1461135c5750565b610a019061136960405190565b6335e2f38360e21b81529182916004830190815260200190565b67ffffffffffffffff81116106a757602090601f01601f19160190565b9061081361080e83611383565b906101dc6108336113bd846113a0565b93611383565b6113cc816113ea565b906113df6113da60206107c8565b6113ad565b918252602082015290565b6113fd611402916113f9600090565b5090565b61117a565b61140c60ff6107c8565b16611417601f6107c8565b81116114205790565b604051632cd44ac360e21b8152600490fdfea2646970667358221220120e5a6d2c02ad5a832d4da550924d0dbba1fa15688792b7d31799690b5faa7c64736f6c63430008170033ddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef