[ { "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": [], "name": "EnforcedPause", "type": "error" }, { "inputs": [], "name": "ExpectedPause", "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": false, "internalType": "address", "name": "account", "type": "address" } ], "name": "Paused", "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" }, { "anonymous": false, "inputs": [ { "indexed": false, "internalType": "address", "name": "account", "type": "address" } ], "name": "Unpaused", "type": "event" }, { "inputs": [], "name": "DOMAIN_SEPARATOR", "outputs": [ { "internalType": "bytes32", "name": "", "type": "bytes32" } ], "stateMutability": "view", "type": "function" }, { "inputs": [], "name": "MAX_SUPPLY", "outputs": [ { "internalType": "uint256", "name": "", "type": "uint256" } ], "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": [], "name": "owner", "outputs": [ { "internalType": "address", "name": "", "type": "address" } ], "stateMutability": "view", "type": "function" }, { "inputs": [], "name": "pause", "outputs": [], "stateMutability": "nonpayable", "type": "function" }, { "inputs": [], "name": "paused", "outputs": [ { "internalType": "bool", "name": "", "type": "bool" } ], "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": [], "name": "unpause", "outputs": [], "stateMutability": "nonpayable", "type": "function" } ]
6101606040523480156200001257600080fd5b5060405162001a3038038062001a30833981016040819052620000359162000535565b6040518060400160405280600d81526020016c151bdad95b90dbdb9d1c9858dd609a1b81525080604051806040016040528060018152602001603160f81b815250836040518060400160405280601081526020016f09ea488929c8298a6409e9c4082ac82b60831b815250604051806040016040528060048152602001634f52444960e01b8152508160039081620000ce91906200060b565b506004620000dd82826200060b565b50506005805460ff19169055506001600160a01b0381166200011a57604051631e4fbdf760e01b8152600060048201526024015b60405180910390fd5b62000125816200020f565b506200013382600662000269565b610120526200014481600762000269565b61014052815160208084019190912060e052815190820120610100524660a052620001d260e05161010051604080517f8b73c3c69bb8fe3d512ecc4cf759cc79239f7b179b0ffacaa9a75d522b39400f60208201529081019290925260608201524660808201523060a082015260009060c00160405160208183030381529060405280519060200120905090565b60805250503060c05250620001f3816aadb53acfa41aee12000000620002a2565b620001fe81620002e0565b6200020862000324565b506200076e565b600580546001600160a01b03838116610100818102610100600160a81b031985161790945560405193909204169182907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b6000602083511015620002895762000281836200033c565b90506200029c565b816200029684826200060b565b5060ff90505b92915050565b6001600160a01b038216620002ce5760405163ec442f0560e01b81526000600482015260240162000111565b620002dc600083836200037f565b5050565b620002ea62000391565b6001600160a01b0381166200031657604051631e4fbdf760e01b81526000600482015260240162000111565b62000321816200020f565b50565b6200032e62000391565b6200033a60006200020f565b565b600080829050601f815111156200036a578260405163305a27a960e01b8152600401620001119190620006d7565b8051620003778262000727565b179392505050565b6200038c838383620003c6565b505050565b6005546001600160a01b036101009091041633146200033a5760405163118cdaa760e01b815233600482015260240162000111565b620003d0620003dd565b6200038c83838362000402565b60055460ff16156200033a5760405163d93c066560e01b815260040160405180910390fd5b6001600160a01b038316620004315780600260008282546200042591906200074c565b90915550620004a59050565b6001600160a01b03831660009081526020819052604090205481811015620004865760405163391434e360e21b81526001600160a01b0385166004820152602481018290526044810183905260640162000111565b6001600160a01b03841660009081526020819052604090209082900390555b6001600160a01b038216620004c357600280548290039055620004e2565b6001600160a01b03821660009081526020819052604090208054820190555b816001600160a01b0316836001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef836040516200052891815260200190565b60405180910390a3505050565b6000602082840312156200054857600080fd5b81516001600160a01b03811681146200056057600080fd5b9392505050565b634e487b7160e01b600052604160045260246000fd5b600181811c908216806200059257607f821691505b602082108103620005b357634e487b7160e01b600052602260045260246000fd5b50919050565b601f8211156200038c57600081815260208120601f850160051c81016020861015620005e25750805b601f850160051c820191505b818110156200060357828155600101620005ee565b505050505050565b81516001600160401b0381111562000627576200062762000567565b6200063f816200063884546200057d565b84620005b9565b602080601f8311600181146200067757600084156200065e5750858301515b600019600386901b1c1916600185901b17855562000603565b600085815260208120601f198616915b82811015620006a85788860151825594840194600190910190840162000687565b5085821015620006c75787850151600019600388901b60f8161c191681555b5050505050600190811b01905550565b600060208083528351808285015260005b818110156200070657858101830151858201604001528201620006e8565b506000604082860101526040601f19601f8301168501019250505092915050565b80516020808301519190811015620005b35760001960209190910360031b1b16919050565b808201808211156200029c57634e487b7160e01b600052601160045260246000fd5b60805160a05160c05160e051610100516101205161014051611267620007c960003960006109ef015260006109c201526000610818015260006107f00152600061074b015260006107750152600061079f01526112676000f3fe608060405234801561001057600080fd5b50600436106101425760003560e01c8063715018a6116100b85780638da5cb5b1161007c5780638da5cb5b1461027857806395d89b41146102a1578063a9059cbb146102a9578063d505accf146102bc578063dd62ed3e146102cf578063f2fde38b1461030857600080fd5b8063715018a61461022757806379cc67901461022f5780637ecebe00146102425780638456cb591461025557806384b0196e1461025d57600080fd5b806332cb6b0c1161010a57806332cb6b0c146101bc5780633644e515146101ce5780633f4ba83a146101d657806342966c68146101e05780635c975abb146101f357806370a08231146101fe57600080fd5b806306fdde0314610147578063095ea7b31461016557806318160ddd1461018857806323b872dd1461019a578063313ce567146101ad575b600080fd5b61014f61031b565b60405161015c9190610fb4565b60405180910390f35b610178610173366004610fea565b6103ad565b604051901515815260200161015c565b6002545b60405190815260200161015c565b6101786101a8366004611014565b6103c7565b6040516012815260200161015c565b61018c6aadb53acfa41aee1200000081565b61018c6103eb565b6101de6103fa565b005b6101de6101ee366004611050565b61040c565b60055460ff16610178565b61018c61020c366004611069565b6001600160a01b031660009081526020819052604090205490565b6101de610419565b6101de61023d366004610fea565b61042b565b61018c610250366004611069565b610444565b6101de610462565b610265610472565b60405161015c9796959493929190611084565b60055461010090046001600160a01b03166040516001600160a01b03909116815260200161015c565b61014f6104b8565b6101786102b7366004610fea565b6104c7565b6101de6102ca36600461111a565b6104d5565b61018c6102dd36600461118d565b6001600160a01b03918216600090815260016020908152604080832093909416825291909152205490565b6101de610316366004611069565b610614565b60606003805461032a906111c0565b80601f0160208091040260200160405190810160405280929190818152602001828054610356906111c0565b80156103a35780601f10610378576101008083540402835291602001916103a3565b820191906000526020600020905b81548152906001019060200180831161038657829003601f168201915b5050505050905090565b6000336103bb81858561064f565b60019150505b92915050565b6000336103d5858285610661565b6103e08585856106df565b506001949350505050565b60006103f561073e565b905090565b610402610869565b61040a61089c565b565b61041633826108ee565b50565b610421610869565b61040a6000610924565b610436823383610661565b61044082826108ee565b5050565b6001600160a01b0381166000908152600860205260408120546103c1565b61046a610869565b61040a61097e565b6000606080600080600060606104866109bb565b61048e6109e8565b60408051600080825260208201909252600f60f81b9b939a50919850469750309650945092509050565b60606004805461032a906111c0565b6000336103bb8185856106df565b834211156104fe5760405163313c898160e11b8152600481018590526024015b60405180910390fd5b60007f6e71edae12b1b97f4d1f60370fef10105fa2faae0126114a169c64845d6126c988888861054b8c6001600160a01b0316600090815260086020526040902080546001810190915590565b6040805160208101969096526001600160a01b0394851690860152929091166060840152608083015260a082015260c0810186905260e00160405160208183030381529060405280519060200120905060006105a682610a15565b905060006105b682878787610a42565b9050896001600160a01b0316816001600160a01b0316146105fd576040516325c0072360e11b81526001600160a01b0380831660048301528b1660248201526044016104f5565b6106088a8a8a61064f565b50505050505050505050565b61061c610869565b6001600160a01b03811661064657604051631e4fbdf760e01b8152600060048201526024016104f5565b61041681610924565b61065c8383836001610a70565b505050565b6001600160a01b0383811660009081526001602090815260408083209386168352929052205460001981146106d957818110156106ca57604051637dc7a0d960e11b81526001600160a01b038416600482015260248101829052604481018390526064016104f5565b6106d984848484036000610a70565b50505050565b6001600160a01b03831661070957604051634b637e8f60e11b8152600060048201526024016104f5565b6001600160a01b0382166107335760405163ec442f0560e01b8152600060048201526024016104f5565b61065c838383610b45565b6000306001600160a01b037f00000000000000000000000000000000000000000000000000000000000000001614801561079757507f000000000000000000000000000000000000000000000000000000000000000046145b156107c157507f000000000000000000000000000000000000000000000000000000000000000090565b6103f5604080517f8b73c3c69bb8fe3d512ecc4cf759cc79239f7b179b0ffacaa9a75d522b39400f60208201527f0000000000000000000000000000000000000000000000000000000000000000918101919091527f000000000000000000000000000000000000000000000000000000000000000060608201524660808201523060a082015260009060c00160405160208183030381529060405280519060200120905090565b6005546001600160a01b0361010090910416331461040a5760405163118cdaa760e01b81523360048201526024016104f5565b6108a4610b50565b6005805460ff191690557f5db9ee0a495bf2e6ff9c91a7834c1ba4fdd244a5e8aa4e537bd38aeae4b073aa335b6040516001600160a01b03909116815260200160405180910390a1565b6001600160a01b03821661091857604051634b637e8f60e11b8152600060048201526024016104f5565b61044082600083610b45565b600580546001600160a01b03838116610100818102610100600160a81b031985161790945560405193909204169182907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b610986610b73565b6005805460ff191660011790557f62e78cea01bee320cd4e420270b5ea74000d11b0c9f74754ebdbfc544b05a2586108d13390565b60606103f57f00000000000000000000000000000000000000000000000000000000000000006006610b97565b60606103f57f00000000000000000000000000000000000000000000000000000000000000006007610b97565b60006103c1610a2261073e565b8360405161190160f01b8152600281019290925260228201526042902090565b600080600080610a5488888888610c42565b925092509250610a648282610d11565b50909695505050505050565b6001600160a01b038416610a9a5760405163e602df0560e01b8152600060048201526024016104f5565b6001600160a01b038316610ac457604051634a1406b160e11b8152600060048201526024016104f5565b6001600160a01b03808516600090815260016020908152604080832093871683529290522082905580156106d957826001600160a01b0316846001600160a01b03167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92584604051610b3791815260200190565b60405180910390a350505050565b61065c838383610dca565b60055460ff1661040a57604051638dfc202b60e01b815260040160405180910390fd5b60055460ff161561040a5760405163d93c066560e01b815260040160405180910390fd5b606060ff8314610bb157610baa83610ddd565b90506103c1565b818054610bbd906111c0565b80601f0160208091040260200160405190810160405280929190818152602001828054610be9906111c0565b8015610c365780601f10610c0b57610100808354040283529160200191610c36565b820191906000526020600020905b815481529060010190602001808311610c1957829003601f168201915b505050505090506103c1565b600080807f7fffffffffffffffffffffffffffffff5d576e7357a4501ddfe92f46681b20a0841115610c7d5750600091506003905082610d07565b604080516000808252602082018084528a905260ff891692820192909252606081018790526080810186905260019060a0016020604051602081039080840390855afa158015610cd1573d6000803e3d6000fd5b5050604051601f1901519150506001600160a01b038116610cfd57506000925060019150829050610d07565b9250600091508190505b9450945094915050565b6000826003811115610d2557610d256111fa565b03610d2e575050565b6001826003811115610d4257610d426111fa565b03610d605760405163f645eedf60e01b815260040160405180910390fd5b6002826003811115610d7457610d746111fa565b03610d955760405163fce698f760e01b8152600481018290526024016104f5565b6003826003811115610da957610da96111fa565b03610440576040516335e2f38360e21b8152600481018290526024016104f5565b610dd2610b73565b61065c838383610e1c565b60606000610dea83610f46565b604080516020808252818301909252919250600091906020820181803683375050509182525060208101929092525090565b6001600160a01b038316610e47578060026000828254610e3c9190611210565b90915550610eb99050565b6001600160a01b03831660009081526020819052604090205481811015610e9a5760405163391434e360e21b81526001600160a01b038516600482015260248101829052604481018390526064016104f5565b6001600160a01b03841660009081526020819052604090209082900390555b6001600160a01b038216610ed557600280548290039055610ef4565b6001600160a01b03821660009081526020819052604090208054820190555b816001600160a01b0316836001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef83604051610f3991815260200190565b60405180910390a3505050565b600060ff8216601f8111156103c157604051632cd44ac360e21b815260040160405180910390fd5b6000815180845260005b81811015610f9457602081850181015186830182015201610f78565b506000602082860101526020601f19601f83011685010191505092915050565b602081526000610fc76020830184610f6e565b9392505050565b80356001600160a01b0381168114610fe557600080fd5b919050565b60008060408385031215610ffd57600080fd5b61100683610fce565b946020939093013593505050565b60008060006060848603121561102957600080fd5b61103284610fce565b925061104060208501610fce565b9150604084013590509250925092565b60006020828403121561106257600080fd5b5035919050565b60006020828403121561107b57600080fd5b610fc782610fce565b60ff60f81b881681526000602060e0818401526110a460e084018a610f6e565b83810360408501526110b6818a610f6e565b606085018990526001600160a01b038816608086015260a0850187905284810360c0860152855180825283870192509083019060005b81811015611108578351835292840192918401916001016110ec565b50909c9b505050505050505050505050565b600080600080600080600060e0888a03121561113557600080fd5b61113e88610fce565b965061114c60208901610fce565b95506040880135945060608801359350608088013560ff8116811461117057600080fd5b9699959850939692959460a0840135945060c09093013592915050565b600080604083850312156111a057600080fd5b6111a983610fce565b91506111b760208401610fce565b90509250929050565b600181811c908216806111d457607f821691505b6020821081036111f457634e487b7160e01b600052602260045260246000fd5b50919050565b634e487b7160e01b600052602160045260246000fd5b808201808211156103c157634e487b7160e01b600052601160045260246000fdfea2646970667358221220afbd153bb9d1474dcee11223a3bb6e722d176c5c05636575962a138b4fc1bfc364736f6c634300081400330000000000000000000000003a77de5943d71ed46831827d2ec8a49ebc7d3278