[ { "inputs": [ { "internalType": "address", "name": "treasury", "type": "address" } ], "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": [], "name": "INITIAL_SUPPLY", "outputs": [ { "internalType": "uint256", "name": "", "type": "uint256" } ], "stateMutability": "view", "type": "function" }, { "inputs": [], "name": "NAME", "outputs": [ { "internalType": "string", "name": "", "type": "string" } ], "stateMutability": "view", "type": "function" }, { "inputs": [], "name": "SYMBOL", "outputs": [ { "internalType": "string", "name": "", "type": "string" } ], "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" } ]
6101606040523480156200001257600080fd5b5060405162001693380380620016938339810160408190526200003591620003b5565b604051806040016040528060098152602001682a292aa6a821a7a4a760b91b81525080604051806040016040528060018152602001603160f81b8152506040518060400160405280601581526020017f4d4147413a20466967687420666f72205472756d700000000000000000000000815250604051806040016040528060098152602001682a292aa6a821a7a4a760b91b8152508160039081620000db91906200048c565b506004620000ea82826200048c565b50620000fc91508390506005620001c4565b610120526200010d816006620001c4565b61014052815160208084019190912060e052815190820120610100524660a0526200019b60e05161010051604080517f8b73c3c69bb8fe3d512ecc4cf759cc79239f7b179b0ffacaa9a75d522b39400f60208201529081019290925260608201524660808201523060a082015260009060c00160405160208183030381529060405280519060200120905090565b60805250503060c05250620001bd816b033b2e3c9fd0803ce8000000620001fd565b50620005ef565b6000602083511015620001e457620001dc836200023f565b9050620001f7565b81620001f184826200048c565b5060ff90505b92915050565b6001600160a01b0382166200022d5760405163ec442f0560e01b8152600060048201526024015b60405180910390fd5b6200023b6000838362000282565b5050565b600080829050601f815111156200026d578260405163305a27a960e01b815260040162000224919062000558565b80516200027a82620005a8565b179392505050565b6001600160a01b038316620002b1578060026000828254620002a59190620005cd565b90915550620003259050565b6001600160a01b03831660009081526020819052604090205481811015620003065760405163391434e360e21b81526001600160a01b0385166004820152602481018290526044810183905260640162000224565b6001600160a01b03841660009081526020819052604090209082900390555b6001600160a01b038216620003435760028054829003905562000362565b6001600160a01b03821660009081526020819052604090208054820190555b816001600160a01b0316836001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef83604051620003a891815260200190565b60405180910390a3505050565b600060208284031215620003c857600080fd5b81516001600160a01b0381168114620003e057600080fd5b9392505050565b634e487b7160e01b600052604160045260246000fd5b600181811c908216806200041257607f821691505b6020821081036200043357634e487b7160e01b600052602260045260246000fd5b50919050565b601f8211156200048757600081815260208120601f850160051c81016020861015620004625750805b601f850160051c820191505b8181101562000483578281556001016200046e565b5050505b505050565b81516001600160401b03811115620004a857620004a8620003e7565b620004c081620004b98454620003fd565b8462000439565b602080601f831160018114620004f85760008415620004df5750858301515b600019600386901b1c1916600185901b17855562000483565b600085815260208120601f198616915b82811015620005295788860151825594840194600190910190840162000508565b5085821015620005485787850151600019600388901b60f8161c191681555b5050505050600190811b01905550565b600060208083528351808285015260005b81811015620005875785810183015185820160400152820162000569565b506000604082860101526040601f19601f8301168501019250505092915050565b80516020808301519190811015620004335760001960209190910360031b1b16919050565b80820180821115620001f757634e487b7160e01b600052601160045260246000fd5b60805160a05160c05160e0516101005161012051610140516110496200064a6000396000610836015260006108090152600061077b01526000610753015260006106ae015260006106d80152600061070201526110496000f3fe608060405234801561001057600080fd5b50600436106101165760003560e01c806379cc6790116100a2578063a3f4df7e11610071578063a3f4df7e14610232578063a9059cbb14610266578063d505accf14610279578063dd62ed3e1461028c578063f76f8d78146102c557600080fd5b806379cc6790146101e95780637ecebe00146101fc57806384b0196e1461020f57806395d89b411461022a57600080fd5b80632ff2e9dc116100e95780632ff2e9dc14610181578063313ce567146101945780633644e515146101a357806342966c68146101ab57806370a08231146101c057600080fd5b806306fdde031461011b578063095ea7b31461013957806318160ddd1461015c57806323b872dd1461016e575b600080fd5b6101236102ed565b6040516101309190610d96565b60405180910390f35b61014c610147366004610dcc565b61037f565b6040519015158152602001610130565b6002545b604051908152602001610130565b61014c61017c366004610df6565b610399565b6101606b033b2e3c9fd0803ce800000081565b60405160128152602001610130565b6101606103bd565b6101be6101b9366004610e32565b6103cc565b005b6101606101ce366004610e4b565b6001600160a01b031660009081526020819052604090205490565b6101be6101f7366004610dcc565b6103d9565b61016061020a366004610e4b565b6103f2565b610217610410565b6040516101309796959493929190610e66565b610123610456565b6101236040518060400160405280601581526020017404d4147413a20466967687420666f72205472756d7605c1b81525081565b61014c610274366004610dcc565b610465565b6101be610287366004610efc565b610473565b61016061029a366004610f6f565b6001600160a01b03918216600090815260016020908152604080832093909416825291909152205490565b610123604051806040016040528060098152602001682a292aa6a821a7a4a760b91b81525081565b6060600380546102fc90610fa2565b80601f016020809104026020016040519081016040528092919081815260200182805461032890610fa2565b80156103755780601f1061034a57610100808354040283529160200191610375565b820191906000526020600020905b81548152906001019060200180831161035857829003601f168201915b5050505050905090565b60003361038d8185856105b2565b60019150505b92915050565b6000336103a78582856105c4565b6103b2858585610642565b506001949350505050565b60006103c76106a1565b905090565b6103d633826107cc565b50565b6103e48233836105c4565b6103ee82826107cc565b5050565b6001600160a01b038116600090815260076020526040812054610393565b600060608060008060006060610424610802565b61042c61082f565b60408051600080825260208201909252600f60f81b9b939a50919850469750309650945092509050565b6060600480546102fc90610fa2565b60003361038d818585610642565b8342111561049c5760405163313c898160e11b8152600481018590526024015b60405180910390fd5b60007f6e71edae12b1b97f4d1f60370fef10105fa2faae0126114a169c64845d6126c98888886104e98c6001600160a01b0316600090815260076020526040902080546001810190915590565b6040805160208101969096526001600160a01b0394851690860152929091166060840152608083015260a082015260c0810186905260e00160405160208183030381529060405280519060200120905060006105448261085c565b9050600061055482878787610889565b9050896001600160a01b0316816001600160a01b03161461059b576040516325c0072360e11b81526001600160a01b0380831660048301528b166024820152604401610493565b6105a68a8a8a6105b2565b50505050505050505050565b6105bf83838360016108b7565b505050565b6001600160a01b03838116600090815260016020908152604080832093861683529290522054600019811461063c578181101561062d57604051637dc7a0d960e11b81526001600160a01b03841660048201526024810182905260448101839052606401610493565b61063c848484840360006108b7565b50505050565b6001600160a01b03831661066c57604051634b637e8f60e11b815260006004820152602401610493565b6001600160a01b0382166106965760405163ec442f0560e01b815260006004820152602401610493565b6105bf83838361098c565b6000306001600160a01b037f0000000000000000000000000000000000000000000000000000000000000000161480156106fa57507f000000000000000000000000000000000000000000000000000000000000000046145b1561072457507f000000000000000000000000000000000000000000000000000000000000000090565b6103c7604080517f8b73c3c69bb8fe3d512ecc4cf759cc79239f7b179b0ffacaa9a75d522b39400f60208201527f0000000000000000000000000000000000000000000000000000000000000000918101919091527f000000000000000000000000000000000000000000000000000000000000000060608201524660808201523060a082015260009060c00160405160208183030381529060405280519060200120905090565b6001600160a01b0382166107f657604051634b637e8f60e11b815260006004820152602401610493565b6103ee8260008361098c565b60606103c77f00000000000000000000000000000000000000000000000000000000000000006005610ab6565b60606103c77f00000000000000000000000000000000000000000000000000000000000000006006610ab6565b60006103936108696106a1565b8360405161190160f01b8152600281019290925260228201526042902090565b60008060008061089b88888888610b61565b9250925092506108ab8282610c30565b50909695505050505050565b6001600160a01b0384166108e15760405163e602df0560e01b815260006004820152602401610493565b6001600160a01b03831661090b57604051634a1406b160e11b815260006004820152602401610493565b6001600160a01b038085166000908152600160209081526040808320938716835292905220829055801561063c57826001600160a01b0316846001600160a01b03167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b9258460405161097e91815260200190565b60405180910390a350505050565b6001600160a01b0383166109b75780600260008282546109ac9190610fdc565b90915550610a299050565b6001600160a01b03831660009081526020819052604090205481811015610a0a5760405163391434e360e21b81526001600160a01b03851660048201526024810182905260448101839052606401610493565b6001600160a01b03841660009081526020819052604090209082900390555b6001600160a01b038216610a4557600280548290039055610a64565b6001600160a01b03821660009081526020819052604090208054820190555b816001600160a01b0316836001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef83604051610aa991815260200190565b60405180910390a3505050565b606060ff8314610ad057610ac983610ce9565b9050610393565b818054610adc90610fa2565b80601f0160208091040260200160405190810160405280929190818152602001828054610b0890610fa2565b8015610b555780601f10610b2a57610100808354040283529160200191610b55565b820191906000526020600020905b815481529060010190602001808311610b3857829003601f168201915b50505050509050610393565b600080807f7fffffffffffffffffffffffffffffff5d576e7357a4501ddfe92f46681b20a0841115610b9c5750600091506003905082610c26565b604080516000808252602082018084528a905260ff891692820192909252606081018790526080810186905260019060a0016020604051602081039080840390855afa158015610bf0573d6000803e3d6000fd5b5050604051601f1901519150506001600160a01b038116610c1c57506000925060019150829050610c26565b9250600091508190505b9450945094915050565b6000826003811115610c4457610c44610ffd565b03610c4d575050565b6001826003811115610c6157610c61610ffd565b03610c7f5760405163f645eedf60e01b815260040160405180910390fd5b6002826003811115610c9357610c93610ffd565b03610cb45760405163fce698f760e01b815260048101829052602401610493565b6003826003811115610cc857610cc8610ffd565b036103ee576040516335e2f38360e21b815260048101829052602401610493565b60606000610cf683610d28565b604080516020808252818301909252919250600091906020820181803683375050509182525060208101929092525090565b600060ff8216601f81111561039357604051632cd44ac360e21b815260040160405180910390fd5b6000815180845260005b81811015610d7657602081850181015186830182015201610d5a565b506000602082860101526020601f19601f83011685010191505092915050565b602081526000610da96020830184610d50565b9392505050565b80356001600160a01b0381168114610dc757600080fd5b919050565b60008060408385031215610ddf57600080fd5b610de883610db0565b946020939093013593505050565b600080600060608486031215610e0b57600080fd5b610e1484610db0565b9250610e2260208501610db0565b9150604084013590509250925092565b600060208284031215610e4457600080fd5b5035919050565b600060208284031215610e5d57600080fd5b610da982610db0565b60ff60f81b881681526000602060e081840152610e8660e084018a610d50565b8381036040850152610e98818a610d50565b606085018990526001600160a01b038816608086015260a0850187905284810360c0860152855180825283870192509083019060005b81811015610eea57835183529284019291840191600101610ece565b50909c9b505050505050505050505050565b600080600080600080600060e0888a031215610f1757600080fd5b610f2088610db0565b9650610f2e60208901610db0565b95506040880135945060608801359350608088013560ff81168114610f5257600080fd5b9699959850939692959460a0840135945060c09093013592915050565b60008060408385031215610f8257600080fd5b610f8b83610db0565b9150610f9960208401610db0565b90509250929050565b600181811c90821680610fb657607f821691505b602082108103610fd657634e487b7160e01b600052602260045260246000fd5b50919050565b8082018082111561039357634e487b7160e01b600052601160045260246000fd5b634e487b7160e01b600052602160045260246000fdfea26469706673582212207c6530ab74883e4292c8a40481a72fedc677e2e4f6c8168b34b4b584529459aa64736f6c6343000814003300000000000000000000000051f04ec64f54f9cbb5c19ad0a1c38da7f52ea6d1