[ { "inputs": [ { "internalType": "address", "name": "initialOwner", "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": [ { "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": "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": "recipients", "type": "address[]" }, { "internalType": "uint256", "name": "amount", "type": "uint256" } ], "name": "airdrop", "outputs": [], "stateMutability": "nonpayable", "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": [], "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" } ]
6101606040523480156200001257600080fd5b5060405162001a0338038062001a0383398101604081905262000035916200043b565b806040518060400160405280600a815260200169111bdb89dd081299595d60b21b81525080604051806040016040528060018152602001603160f81b8152506040518060400160405280600a815260200169111bdb89dd081299595d60b21b815250604051806040016040528060048152602001631291515560e21b8152508160039081620000c5919062000512565b506004620000d4828262000512565b50620000e691508390506005620001fc565b61012052620000f7816006620001fc565b61014052815160208084019190912060e052815190820120610100524660a0526200018560e05161010051604080517f8b73c3c69bb8fe3d512ecc4cf759cc79239f7b179b0ffacaa9a75d522b39400f60208201529081019290925260608201524660808201523060a082015260009060c00160405160208183030381529060405280519060200120905090565b60805250503060c052506001600160a01b038116620001bf57604051631e4fbdf760e01b8152600060048201526024015b60405180910390fd5b620001ca8162000235565b50620001f533620001de6012600a620006f1565b620001ef9064746a52880062000702565b62000287565b50620007a7565b60006020835110156200021c576200021483620002c5565b90506200022f565b8162000229848262000512565b5060ff90505b92915050565b600880546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b6001600160a01b038216620002b35760405163ec442f0560e01b815260006004820152602401620001b6565b620002c16000838362000308565b5050565b600080829050601f81511115620002f3578260405163305a27a960e01b8152600401620001b691906200071c565b805162000300826200076c565b179392505050565b6001600160a01b038316620003375780600260008282546200032b919062000791565b90915550620003ab9050565b6001600160a01b038316600090815260208190526040902054818110156200038c5760405163391434e360e21b81526001600160a01b03851660048201526024810182905260448101839052606401620001b6565b6001600160a01b03841660009081526020819052604090209082900390555b6001600160a01b038216620003c957600280548290039055620003e8565b6001600160a01b03821660009081526020819052604090208054820190555b816001600160a01b0316836001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef836040516200042e91815260200190565b60405180910390a3505050565b6000602082840312156200044e57600080fd5b81516001600160a01b03811681146200046657600080fd5b9392505050565b634e487b7160e01b600052604160045260246000fd5b600181811c908216806200049857607f821691505b602082108103620004b957634e487b7160e01b600052602260045260246000fd5b50919050565b601f8211156200050d57600081815260208120601f850160051c81016020861015620004e85750805b601f850160051c820191505b818110156200050957828155600101620004f4565b5050505b505050565b81516001600160401b038111156200052e576200052e6200046d565b62000546816200053f845462000483565b84620004bf565b602080601f8311600181146200057e5760008415620005655750858301515b600019600386901b1c1916600185901b17855562000509565b600085815260208120601f198616915b82811015620005af578886015182559484019460019091019084016200058e565b5085821015620005ce5787850151600019600388901b60f8161c191681555b5050505050600190811b01905550565b634e487b7160e01b600052601160045260246000fd5b600181815b8085111562000635578160001904821115620006195762000619620005de565b808516156200062757918102915b93841c9390800290620005f9565b509250929050565b6000826200064e575060016200022f565b816200065d575060006200022f565b81600181146200067657600281146200068157620006a1565b60019150506200022f565b60ff841115620006955762000695620005de565b50506001821b6200022f565b5060208310610133831016604e8410600b8410161715620006c6575081810a6200022f565b620006d28383620005f4565b8060001904821115620006e957620006e9620005de565b029392505050565b60006200046660ff8416836200063d565b80820281158282048414176200022f576200022f620005de565b600060208083528351808285015260005b818110156200074b578581018301518582016040015282016200072d565b506000604082860101526040601f19601f8301168501019250505092915050565b80516020808301519190811015620004b95760001960209190910360031b1b16919050565b808201808211156200022f576200022f620005de565b60805160a05160c05160e051610100516101205161014051611201620008026000396000610951015260006109240152600061084d0152600061082501526000610780015260006107aa015260006107d401526112016000f3fe608060405234801561001057600080fd5b506004361061010b5760003560e01c80637ecebe00116100a2578063a9059cbb11610071578063a9059cbb14610211578063c204642c14610224578063d505accf14610237578063dd62ed3e1461024a578063f2fde38b1461028357600080fd5b80637ecebe00146101c057806384b0196e146101d35780638da5cb5b146101ee57806395d89b411461020957600080fd5b8063313ce567116100de578063313ce567146101765780633644e5151461018557806370a082311461018d578063715018a6146101b657600080fd5b806306fdde0314610110578063095ea7b31461012e57806318160ddd1461015157806323b872dd14610163575b600080fd5b610118610296565b6040516101259190610eb5565b60405180910390f35b61014161013c366004610eeb565b610328565b6040519015158152602001610125565b6002545b604051908152602001610125565b610141610171366004610f15565b610342565b60405160128152602001610125565b610155610366565b61015561019b366004610f51565b6001600160a01b031660009081526020819052604090205490565b6101be610375565b005b6101556101ce366004610f51565b610389565b6101db6103a7565b6040516101259796959493929190610f6c565b6008546040516001600160a01b039091168152602001610125565b6101186103ed565b61014161021f366004610eeb565b6103fc565b6101be610232366004611002565b61040a565b6101be61024536600461107d565b610512565b6101556102583660046110f0565b6001600160a01b03918216600090815260016020908152604080832093909416825291909152205490565b6101be610291366004610f51565b61064c565b6060600380546102a590611123565b80601f01602080910402602001604051908101604052809291908181526020018280546102d190611123565b801561031e5780601f106102f35761010080835404028352916020019161031e565b820191906000526020600020905b81548152906001019060200180831161030157829003601f168201915b5050505050905090565b60003361033681858561068a565b60019150505b92915050565b60003361035085828561069c565b61035b858585610714565b506001949350505050565b6000610370610773565b905090565b61037d61089e565b61038760006108cb565b565b6001600160a01b03811660009081526007602052604081205461033c565b6000606080600080600060606103bb61091d565b6103c361094a565b60408051600080825260208201909252600f60f81b9b939a50919850469750309650945092509050565b6060600480546102a590611123565b600033610336818585610714565b61041261089e565b600081116104675760405162461bcd60e51b815260206004820152601d60248201527f416d6f756e74206d7573742062652067726561746572207468616e203000000060448201526064015b60405180910390fd5b816104ad5760405162461bcd60e51b8152602060048201526016602482015275139bc81c9958da5c1a595b9d1cc81c1c9bdd9a59195960521b604482015260640161045e565b60005b8281101561050c576104fa6104cd6008546001600160a01b031690565b8585848181106104df576104df61115d565b90506020020160208101906104f49190610f51565b84610714565b8061050481611189565b9150506104b0565b50505050565b834211156105365760405163313c898160e11b81526004810185905260240161045e565b60007f6e71edae12b1b97f4d1f60370fef10105fa2faae0126114a169c64845d6126c98888886105838c6001600160a01b0316600090815260076020526040902080546001810190915590565b6040805160208101969096526001600160a01b0394851690860152929091166060840152608083015260a082015260c0810186905260e00160405160208183030381529060405280519060200120905060006105de82610977565b905060006105ee828787876109a4565b9050896001600160a01b0316816001600160a01b031614610635576040516325c0072360e11b81526001600160a01b0380831660048301528b16602482015260440161045e565b6106408a8a8a61068a565b50505050505050505050565b61065461089e565b6001600160a01b03811661067e57604051631e4fbdf760e01b81526000600482015260240161045e565b610687816108cb565b50565b61069783838360016109d2565b505050565b6001600160a01b03838116600090815260016020908152604080832093861683529290522054600019811461050c578181101561070557604051637dc7a0d960e11b81526001600160a01b0384166004820152602481018290526044810183905260640161045e565b61050c848484840360006109d2565b6001600160a01b03831661073e57604051634b637e8f60e11b81526000600482015260240161045e565b6001600160a01b0382166107685760405163ec442f0560e01b81526000600482015260240161045e565b610697838383610aa7565b6000306001600160a01b037f0000000000000000000000000000000000000000000000000000000000000000161480156107cc57507f000000000000000000000000000000000000000000000000000000000000000046145b156107f657507f000000000000000000000000000000000000000000000000000000000000000090565b610370604080517f8b73c3c69bb8fe3d512ecc4cf759cc79239f7b179b0ffacaa9a75d522b39400f60208201527f0000000000000000000000000000000000000000000000000000000000000000918101919091527f000000000000000000000000000000000000000000000000000000000000000060608201524660808201523060a082015260009060c00160405160208183030381529060405280519060200120905090565b6008546001600160a01b031633146103875760405163118cdaa760e01b815233600482015260240161045e565b600880546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b60606103707f00000000000000000000000000000000000000000000000000000000000000006005610bd1565b60606103707f00000000000000000000000000000000000000000000000000000000000000006006610bd1565b600061033c610984610773565b8360405161190160f01b8152600281019290925260228201526042902090565b6000806000806109b688888888610c7c565b9250925092506109c68282610d4b565b50909695505050505050565b6001600160a01b0384166109fc5760405163e602df0560e01b81526000600482015260240161045e565b6001600160a01b038316610a2657604051634a1406b160e11b81526000600482015260240161045e565b6001600160a01b038085166000908152600160209081526040808320938716835292905220829055801561050c57826001600160a01b0316846001600160a01b03167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92584604051610a9991815260200190565b60405180910390a350505050565b6001600160a01b038316610ad2578060026000828254610ac791906111a2565b90915550610b449050565b6001600160a01b03831660009081526020819052604090205481811015610b255760405163391434e360e21b81526001600160a01b0385166004820152602481018290526044810183905260640161045e565b6001600160a01b03841660009081526020819052604090209082900390555b6001600160a01b038216610b6057600280548290039055610b7f565b6001600160a01b03821660009081526020819052604090208054820190555b816001600160a01b0316836001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef83604051610bc491815260200190565b60405180910390a3505050565b606060ff8314610beb57610be483610e08565b905061033c565b818054610bf790611123565b80601f0160208091040260200160405190810160405280929190818152602001828054610c2390611123565b8015610c705780601f10610c4557610100808354040283529160200191610c70565b820191906000526020600020905b815481529060010190602001808311610c5357829003601f168201915b5050505050905061033c565b600080807f7fffffffffffffffffffffffffffffff5d576e7357a4501ddfe92f46681b20a0841115610cb75750600091506003905082610d41565b604080516000808252602082018084528a905260ff891692820192909252606081018790526080810186905260019060a0016020604051602081039080840390855afa158015610d0b573d6000803e3d6000fd5b5050604051601f1901519150506001600160a01b038116610d3757506000925060019150829050610d41565b9250600091508190505b9450945094915050565b6000826003811115610d5f57610d5f6111b5565b03610d68575050565b6001826003811115610d7c57610d7c6111b5565b03610d9a5760405163f645eedf60e01b815260040160405180910390fd5b6002826003811115610dae57610dae6111b5565b03610dcf5760405163fce698f760e01b81526004810182905260240161045e565b6003826003811115610de357610de36111b5565b03610e04576040516335e2f38360e21b81526004810182905260240161045e565b5050565b60606000610e1583610e47565b604080516020808252818301909252919250600091906020820181803683375050509182525060208101929092525090565b600060ff8216601f81111561033c57604051632cd44ac360e21b815260040160405180910390fd5b6000815180845260005b81811015610e9557602081850181015186830182015201610e79565b506000602082860101526020601f19601f83011685010191505092915050565b602081526000610ec86020830184610e6f565b9392505050565b80356001600160a01b0381168114610ee657600080fd5b919050565b60008060408385031215610efe57600080fd5b610f0783610ecf565b946020939093013593505050565b600080600060608486031215610f2a57600080fd5b610f3384610ecf565b9250610f4160208501610ecf565b9150604084013590509250925092565b600060208284031215610f6357600080fd5b610ec882610ecf565b60ff60f81b881681526000602060e081840152610f8c60e084018a610e6f565b8381036040850152610f9e818a610e6f565b606085018990526001600160a01b038816608086015260a0850187905284810360c0860152855180825283870192509083019060005b81811015610ff057835183529284019291840191600101610fd4565b50909c9b505050505050505050505050565b60008060006040848603121561101757600080fd5b833567ffffffffffffffff8082111561102f57600080fd5b818601915086601f83011261104357600080fd5b81358181111561105257600080fd5b8760208260051b850101111561106757600080fd5b6020928301989097509590910135949350505050565b600080600080600080600060e0888a03121561109857600080fd5b6110a188610ecf565b96506110af60208901610ecf565b95506040880135945060608801359350608088013560ff811681146110d357600080fd5b9699959850939692959460a0840135945060c09093013592915050565b6000806040838503121561110357600080fd5b61110c83610ecf565b915061111a60208401610ecf565b90509250929050565b600181811c9082168061113757607f821691505b60208210810361115757634e487b7160e01b600052602260045260246000fd5b50919050565b634e487b7160e01b600052603260045260246000fd5b634e487b7160e01b600052601160045260246000fd5b60006001820161119b5761119b611173565b5060010190565b8082018082111561033c5761033c611173565b634e487b7160e01b600052602160045260246000fdfea264697066735822122071db4ef137be709fd27b1af9f469af184454942bd7d31b2f86d5083b752301c564736f6c6343000814003300000000000000000000000011aac710742bcea61d2f07f842dd0df6c025641f