[ { "inputs": [ { "internalType": "string", "name": "_name", "type": "string" }, { "internalType": "string", "name": "_symbol", "type": "string" }, { "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": "address", "name": "owner", "type": "address" } ], "name": "OwnableInvalidOwner", "type": "error" }, { "inputs": [ { "internalType": "address", "name": "account", "type": "address" } ], "name": "OwnableUnauthorizedAccount", "type": "error" }, { "inputs": [], "name": "SpenderStatusUnchanged", "type": "error" }, { "inputs": [], "name": "SpenderUnauthorized", "type": "error" }, { "inputs": [ { "internalType": "string", "name": "str", "type": "string" } ], "name": "StringTooLong", "type": "error" }, { "anonymous": false, "inputs": [ { "indexed": false, "internalType": "address", "name": "spender", "type": "address" }, { "indexed": false, "internalType": "bool", "name": "isPermitted", "type": "bool" } ], "name": "AllowedPermitSpendersUpdated", "type": "event" }, { "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": "previousOwner", "type": "address" }, { "indexed": true, "internalType": "address", "name": "newOwner", "type": "address" } ], "name": "OwnershipTransferred", "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": "", "type": "address" } ], "name": "allowedPermitSpenders", "outputs": [ { "internalType": "bool", "name": "", "type": "bool" } ], "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": [], "name": "owner", "outputs": [ { "internalType": "address", "name": "", "type": "address" } ], "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": "renounceOwnership", "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" }, { "inputs": [ { "internalType": "address", "name": "newOwner", "type": "address" } ], "name": "transferOwnership", "outputs": [], "stateMutability": "nonpayable", "type": "function" }, { "inputs": [ { "internalType": "address", "name": "_spender", "type": "address" }, { "internalType": "bool", "name": "_isPermitted", "type": "bool" } ], "name": "updateAllowedPermitSpender", "outputs": [], "stateMutability": "nonpayable", "type": "function" } ]
6101606040523480156200001257600080fd5b506040516200191338038062001913833981016040819052620000359162000498565b338380604051806040016040528060018152602001603160f81b81525086868160039081620000659190620005b6565b506004620000748282620005b6565b5062000086915083905060056200018c565b61012052620000978160066200018c565b61014052815160208084019190912060e052815190820120610100524660a0526200012560e05161010051604080517f8b73c3c69bb8fe3d512ecc4cf759cc79239f7b179b0ffacaa9a75d522b39400f60208201529081019290925260608201524660808201523060a082015260009060c00160405160208183030381529060405280519060200120905090565b60805250503060c052506001600160a01b0381166200015f57604051631e4fbdf760e01b8152600060048201526024015b60405180910390fd5b6200016a81620001c5565b5062000183816b204fce5e3e2502611000000062000217565b505050620006fe565b6000602083511015620001ac57620001a48362000255565b9050620001bf565b81620001b98482620005b6565b5060ff90505b92915050565b600880546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b6001600160a01b038216620002435760405163ec442f0560e01b81526000600482015260240162000156565b620002516000838362000298565b5050565b600080829050601f8151111562000283578260405163305a27a960e01b815260040162000156919062000682565b80516200029082620006b7565b179392505050565b6001600160a01b038316620002c7578060026000828254620002bb9190620006dc565b909155506200033b9050565b6001600160a01b038316600090815260208190526040902054818110156200031c5760405163391434e360e21b81526001600160a01b0385166004820152602481018290526044810183905260640162000156565b6001600160a01b03841660009081526020819052604090209082900390555b6001600160a01b038216620003595760028054829003905562000378565b6001600160a01b03821660009081526020819052604090208054820190555b816001600160a01b0316836001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef83604051620003be91815260200190565b60405180910390a3505050565b634e487b7160e01b600052604160045260246000fd5b60005b83811015620003fe578181015183820152602001620003e4565b50506000910152565b600082601f8301126200041957600080fd5b81516001600160401b0380821115620004365762000436620003cb565b604051601f8301601f19908116603f01168101908282118183101715620004615762000461620003cb565b816040528381528660208588010111156200047b57600080fd5b6200048e846020830160208901620003e1565b9695505050505050565b600080600060608486031215620004ae57600080fd5b83516001600160401b0380821115620004c657600080fd5b620004d48783880162000407565b94506020860151915080821115620004eb57600080fd5b50620004fa8682870162000407565b604086015190935090506001600160a01b03811681146200051a57600080fd5b809150509250925092565b600181811c908216806200053a57607f821691505b6020821081036200055b57634e487b7160e01b600052602260045260246000fd5b50919050565b601f821115620005b1576000816000526020600020601f850160051c810160208610156200058c5750805b601f850160051c820191505b81811015620005ad5782815560010162000598565b5050505b505050565b81516001600160401b03811115620005d257620005d2620003cb565b620005ea81620005e3845462000525565b8462000561565b602080601f831160018114620006225760008415620006095750858301515b600019600386901b1c1916600185901b178555620005ad565b600085815260208120601f198616915b82811015620006535788860151825594840194600190910190840162000632565b5085821015620006725787850151600019600388901b60f8161c191681555b5050505050600190811b01905550565b6020815260008251806020840152620006a3816040850160208701620003e1565b601f01601f19169190910160400192915050565b805160208083015191908110156200055b5760001960209190910360031b1b16919050565b80820180821115620001bf57634e487b7160e01b600052601160045260246000fd5b60805160a05160c05160e0516101005161012051610140516111ba620007596000396000610843015260006108160152600061073f01526000610717015260006106720152600061069c015260006106c601526111ba6000f3fe608060405234801561001057600080fd5b50600436106101165760003560e01c80637ecebe00116100a2578063a9059cbb11610071578063a9059cbb1461022f578063d505accf14610242578063dd62ed3e14610255578063ec7b521e1461028e578063f2fde38b146102b157600080fd5b80637ecebe00146101de57806384b0196e146101f15780638da5cb5b1461020c57806395d89b411461022757600080fd5b8063313ce567116100e9578063313ce567146101815780633644e515146101905780634cede2c81461019857806370a08231146101ad578063715018a6146101d657600080fd5b806306fdde031461011b578063095ea7b31461013957806318160ddd1461015c57806323b872dd1461016e575b600080fd5b6101236102c4565b6040516101309190610ee1565b60405180910390f35b61014c610147366004610f17565b610356565b6040519015158152602001610130565b6002545b604051908152602001610130565b61014c61017c366004610f41565b610370565b60405160128152602001610130565b610160610394565b6101ab6101a6366004610f7d565b6103a3565b005b6101606101bb366004610fb9565b6001600160a01b031660009081526020819052604090205490565b6101ab61044d565b6101606101ec366004610fb9565b610461565b6101f961047f565b6040516101309796959493929190610fd4565b6008546040516001600160a01b039091168152602001610130565b6101236104c5565b61014c61023d366004610f17565b6104d4565b6101ab61025036600461106d565b6104e2565b6101606102633660046110e0565b6001600160a01b03918216600090815260016020908152604080832093909416825291909152205490565b61014c61029c366004610fb9565b60096020526000908152604090205460ff1681565b6101ab6102bf366004610fb9565b610533565b6060600380546102d390611113565b80601f01602080910402602001604051908101604052809291908181526020018280546102ff90611113565b801561034c5780601f106103215761010080835404028352916020019161034c565b820191906000526020600020905b81548152906001019060200180831161032f57829003601f168201915b5050505050905090565b600033610364818585610576565b60019150505b92915050565b60003361037e858285610588565b610389858585610606565b506001949350505050565b600061039e610665565b905090565b6103ab610790565b6001600160a01b03821660009081526009602052604090205460ff161515811515036103ea57604051631186166560e11b815260040160405180910390fd5b6001600160a01b038216600081815260096020908152604091829020805460ff19168515159081179091558251938452908301527f11d834b5c048bdb15025e32c16bc02a9b42e38052a14a05ed80354b5b02b8960910160405180910390a15050565b610455610790565b61045f60006107bd565b565b6001600160a01b03811660009081526007602052604081205461036a565b60006060806000806000606061049361080f565b61049b61083c565b60408051600080825260208201909252600f60f81b9b939a50919850469750309650945092509050565b6060600480546102d390611113565b600033610364818585610606565b6001600160a01b03861660009081526009602052604090205460ff1661051b5760405163fd0bb2ed60e01b815260040160405180910390fd5b61052a87878787878787610869565b50505050505050565b61053b610790565b6001600160a01b03811661056a57604051631e4fbdf760e01b8152600060048201526024015b60405180910390fd5b610573816107bd565b50565b61058383838360016109a3565b505050565b6001600160a01b03838116600090815260016020908152604080832093861683529290522054600019811461060057818110156105f157604051637dc7a0d960e11b81526001600160a01b03841660048201526024810182905260448101839052606401610561565b610600848484840360006109a3565b50505050565b6001600160a01b03831661063057604051634b637e8f60e11b815260006004820152602401610561565b6001600160a01b03821661065a5760405163ec442f0560e01b815260006004820152602401610561565b610583838383610a78565b6000306001600160a01b037f0000000000000000000000000000000000000000000000000000000000000000161480156106be57507f000000000000000000000000000000000000000000000000000000000000000046145b156106e857507f000000000000000000000000000000000000000000000000000000000000000090565b61039e604080517f8b73c3c69bb8fe3d512ecc4cf759cc79239f7b179b0ffacaa9a75d522b39400f60208201527f0000000000000000000000000000000000000000000000000000000000000000918101919091527f000000000000000000000000000000000000000000000000000000000000000060608201524660808201523060a082015260009060c00160405160208183030381529060405280519060200120905090565b6008546001600160a01b0316331461045f5760405163118cdaa760e01b8152336004820152602401610561565b600880546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b606061039e7f00000000000000000000000000000000000000000000000000000000000000006005610ba2565b606061039e7f00000000000000000000000000000000000000000000000000000000000000006006610ba2565b8342111561088d5760405163313c898160e11b815260048101859052602401610561565b60007f6e71edae12b1b97f4d1f60370fef10105fa2faae0126114a169c64845d6126c98888886108da8c6001600160a01b0316600090815260076020526040902080546001810190915590565b6040805160208101969096526001600160a01b0394851690860152929091166060840152608083015260a082015260c0810186905260e001604051602081830303815290604052805190602001209050600061093582610c4d565b9050600061094582878787610c7a565b9050896001600160a01b0316816001600160a01b03161461098c576040516325c0072360e11b81526001600160a01b0380831660048301528b166024820152604401610561565b6109978a8a8a610576565b50505050505050505050565b6001600160a01b0384166109cd5760405163e602df0560e01b815260006004820152602401610561565b6001600160a01b0383166109f757604051634a1406b160e11b815260006004820152602401610561565b6001600160a01b038085166000908152600160209081526040808320938716835292905220829055801561060057826001600160a01b0316846001600160a01b03167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92584604051610a6a91815260200190565b60405180910390a350505050565b6001600160a01b038316610aa3578060026000828254610a98919061114d565b90915550610b159050565b6001600160a01b03831660009081526020819052604090205481811015610af65760405163391434e360e21b81526001600160a01b03851660048201526024810182905260448101839052606401610561565b6001600160a01b03841660009081526020819052604090209082900390555b6001600160a01b038216610b3157600280548290039055610b50565b6001600160a01b03821660009081526020819052604090208054820190555b816001600160a01b0316836001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef83604051610b9591815260200190565b60405180910390a3505050565b606060ff8314610bbc57610bb583610ca8565b905061036a565b818054610bc890611113565b80601f0160208091040260200160405190810160405280929190818152602001828054610bf490611113565b8015610c415780601f10610c1657610100808354040283529160200191610c41565b820191906000526020600020905b815481529060010190602001808311610c2457829003601f168201915b5050505050905061036a565b600061036a610c5a610665565b8360405161190160f01b8152600281019290925260228201526042902090565b600080600080610c8c88888888610ce7565b925092509250610c9c8282610db6565b50909695505050505050565b60606000610cb583610e73565b604080516020808252818301909252919250600091906020820181803683375050509182525060208101929092525090565b600080807f7fffffffffffffffffffffffffffffff5d576e7357a4501ddfe92f46681b20a0841115610d225750600091506003905082610dac565b604080516000808252602082018084528a905260ff891692820192909252606081018790526080810186905260019060a0016020604051602081039080840390855afa158015610d76573d6000803e3d6000fd5b5050604051601f1901519150506001600160a01b038116610da257506000925060019150829050610dac565b9250600091508190505b9450945094915050565b6000826003811115610dca57610dca61116e565b03610dd3575050565b6001826003811115610de757610de761116e565b03610e055760405163f645eedf60e01b815260040160405180910390fd5b6002826003811115610e1957610e1961116e565b03610e3a5760405163fce698f760e01b815260048101829052602401610561565b6003826003811115610e4e57610e4e61116e565b03610e6f576040516335e2f38360e21b815260048101829052602401610561565b5050565b600060ff8216601f81111561036a57604051632cd44ac360e21b815260040160405180910390fd5b6000815180845260005b81811015610ec157602081850181015186830182015201610ea5565b506000602082860101526020601f19601f83011685010191505092915050565b602081526000610ef46020830184610e9b565b9392505050565b80356001600160a01b0381168114610f1257600080fd5b919050565b60008060408385031215610f2a57600080fd5b610f3383610efb565b946020939093013593505050565b600080600060608486031215610f5657600080fd5b610f5f84610efb565b9250610f6d60208501610efb565b9150604084013590509250925092565b60008060408385031215610f9057600080fd5b610f9983610efb565b915060208301358015158114610fae57600080fd5b809150509250929050565b600060208284031215610fcb57600080fd5b610ef482610efb565b60ff60f81b881681526000602060e06020840152610ff560e084018a610e9b565b8381036040850152611007818a610e9b565b606085018990526001600160a01b038816608086015260a0850187905284810360c08601528551808252602080880193509091019060005b8181101561105b5783518352928401929184019160010161103f565b50909c9b505050505050505050505050565b600080600080600080600060e0888a03121561108857600080fd5b61109188610efb565b965061109f60208901610efb565b95506040880135945060608801359350608088013560ff811681146110c357600080fd5b9699959850939692959460a0840135945060c09093013592915050565b600080604083850312156110f357600080fd5b6110fc83610efb565b915061110a60208401610efb565b90509250929050565b600181811c9082168061112757607f821691505b60208210810361114757634e487b7160e01b600052602260045260246000fd5b50919050565b8082018082111561036a57634e487b7160e01b600052601160045260246000fd5b634e487b7160e01b600052602160045260246000fdfea26469706673582212209005ccb11ad5b6e60ff8bdafeee4dad43e5d87bb24c52ceac57307ae18dc660064736f6c63430008170033000000000000000000000000000000000000000000000000000000000000006000000000000000000000000000000000000000000000000000000000000000a0000000000000000000000000ee05306df543bd59e686b91c0b4927fef229e5ce0000000000000000000000000000000000000000000000000000000000000006427562626c6500000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000006425542424c450000000000000000000000000000000000000000000000000000