[ { "inputs": [ { "internalType": "uint256", "name": "totalSupply_", "type": "uint256" }, { "internalType": "address", "name": "receiverGenesisAddress", "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": [ { "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": "pure", "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" } ]
61016060405234801561001157600080fd5b5060405161154c38038061154c8339810160408190526100309161041d565b6040518060400160405280600781526020016629b2b9b9b4b7b760c91b81525080604051806040016040528060018152602001603160f81b8152506040518060400160405280600781526020016629b2b9b9b4b7b760c91b8152506040518060400160405280600481526020016314d1539560e21b81525081600390816100b791906104f9565b5060046100c482826104f9565b506100d491508390506005610248565b610120526100e3816006610248565b61014052815160208084019190912060e052815190820120610100524660a05261017060e05161010051604080517f8b73c3c69bb8fe3d512ecc4cf759cc79239f7b179b0ffacaa9a75d522b39400f60208201529081019290925260608201524660808201523060a082015260009060c00160405160208183030381529060405280519060200120905090565b60805250503060c05250806001600160a01b0381166101e45760405162461bcd60e51b815260206004820152602560248201527f5368617265643a205a65726f2d61646472657373206973206e6f74207065726d6044820152641a5d1d195960da1b60648201526084015b60405180910390fd5b82806000036102355760405162461bcd60e51b815260206004820152601b60248201527f5368617265643a2075696e7420696e70757420697320656d707479000000000060448201526064016101db565b61023f838561027b565b5050505061064a565b60006020835110156102645761025d836102b5565b9050610275565b8161026f84826104f9565b5060ff90505b92915050565b6001600160a01b0382166102a55760405163ec442f0560e01b8152600060048201526024016101db565b6102b1600083836102f3565b5050565b600080829050601f815111156102e0578260405163305a27a960e01b81526004016101db91906105b7565b80516102eb82610605565b179392505050565b6001600160a01b03831661031e5780600260008282546103139190610629565b909155506103909050565b6001600160a01b038316600090815260208190526040902054818110156103715760405163391434e360e21b81526001600160a01b038516600482015260248101829052604481018390526064016101db565b6001600160a01b03841660009081526020819052604090209082900390555b6001600160a01b0382166103ac576002805482900390556103cb565b6001600160a01b03821660009081526020819052604090208054820190555b816001600160a01b0316836001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef8360405161041091815260200190565b60405180910390a3505050565b6000806040838503121561043057600080fd5b825160208401519092506001600160a01b038116811461044f57600080fd5b809150509250929050565b634e487b7160e01b600052604160045260246000fd5b600181811c9082168061048457607f821691505b6020821081036104a457634e487b7160e01b600052602260045260246000fd5b50919050565b601f8211156104f457806000526020600020601f840160051c810160208510156104d15750805b601f840160051c820191505b818110156104f157600081556001016104dd565b50505b505050565b81516001600160401b038111156105125761051261045a565b610526816105208454610470565b846104aa565b6020601f82116001811461055a57600083156105425750848201515b600019600385901b1c1916600184901b1784556104f1565b600084815260208120601f198516915b8281101561058a578785015182556020948501946001909201910161056a565b50848210156105a85786840151600019600387901b60f8161c191681555b50505050600190811b01905550565b602081526000825180602084015260005b818110156105e557602081860181015160408684010152016105c8565b506000604082850101526040601f19601f83011684010191505092915050565b805160208083015191908110156104a45760001960209190910360031b1b16919050565b8082018082111561027557634e487b7160e01b600052601160045260246000fd5b60805160a05160c05160e051610100516101205161014051610ea86106a460003960006106b80152600061068b015260006106330152600061060b0152600061056601526000610590015260006105ba0152610ea86000f3fe608060405234801561001057600080fd5b50600436106100af5760003560e01c806306fdde03146100b4578063095ea7b3146100d257806318160ddd146100f557806323b872dd14610107578063313ce5671461011a5780633644e5151461012957806370a08231146101315780637ecebe001461015a57806384b0196e1461016d57806395d89b4114610188578063a9059cbb14610190578063d505accf146101a3578063dd62ed3e146101b8575b600080fd5b6100bc6101cb565b6040516100c99190610bff565b60405180910390f35b6100e56100e0366004610c35565b61025d565b60405190151581526020016100c9565b6002545b6040519081526020016100c9565b6100e5610115366004610c5f565b610277565b604051600981526020016100c9565b6100f961029b565b6100f961013f366004610c9c565b6001600160a01b031660009081526020819052604090205490565b6100f9610168366004610c9c565b6102aa565b6101756102c8565b6040516100c99796959493929190610cb7565b6100bc61030e565b6100e561019e366004610c35565b61031d565b6101b66101b1366004610d4f565b61032b565b005b6100f96101c6366004610dc2565b61046a565b6060600380546101da90610df5565b80601f016020809104026020016040519081016040528092919081815260200182805461020690610df5565b80156102535780601f1061022857610100808354040283529160200191610253565b820191906000526020600020905b81548152906001019060200180831161023657829003601f168201915b5050505050905090565b60003361026b818585610495565b60019150505b92915050565b6000336102858582856104a7565b6102908585856104fa565b506001949350505050565b60006102a5610559565b905090565b6001600160a01b038116600090815260076020526040812054610271565b6000606080600080600060606102dc610684565b6102e46106b1565b60408051600080825260208201909252600f60f81b9b939a50919850469750309650945092509050565b6060600480546101da90610df5565b60003361026b8185856104fa565b834211156103545760405163313c898160e11b8152600481018590526024015b60405180910390fd5b60007f6e71edae12b1b97f4d1f60370fef10105fa2faae0126114a169c64845d6126c98888886103a18c6001600160a01b0316600090815260076020526040902080546001810190915590565b6040805160208101969096526001600160a01b0394851690860152929091166060840152608083015260a082015260c0810186905260e00160405160208183030381529060405280519060200120905060006103fc826106de565b9050600061040c8287878761070b565b9050896001600160a01b0316816001600160a01b031614610453576040516325c0072360e11b81526001600160a01b0380831660048301528b16602482015260440161034b565b61045e8a8a8a610495565b50505050505050505050565b6001600160a01b03918216600090815260016020908152604080832093909416825291909152205490565b6104a28383836001610739565b505050565b60006104b3848461046a565b905060001981146104f457818110156104e557828183604051637dc7a0d960e11b815260040161034b93929190610e2f565b6104f484848484036000610739565b50505050565b6001600160a01b038316610524576000604051634b637e8f60e11b815260040161034b9190610e50565b6001600160a01b03821661054e57600060405163ec442f0560e01b815260040161034b9190610e50565b6104a283838361080e565b6000306001600160a01b037f0000000000000000000000000000000000000000000000000000000000000000161480156105b257507f000000000000000000000000000000000000000000000000000000000000000046145b156105dc57507f000000000000000000000000000000000000000000000000000000000000000090565b6102a5604080517f8b73c3c69bb8fe3d512ecc4cf759cc79239f7b179b0ffacaa9a75d522b39400f60208201527f0000000000000000000000000000000000000000000000000000000000000000918101919091527f000000000000000000000000000000000000000000000000000000000000000060608201524660808201523060a082015260009060c00160405160208183030381529060405280519060200120905090565b60606102a57f00000000000000000000000000000000000000000000000000000000000000006005610925565b60606102a57f00000000000000000000000000000000000000000000000000000000000000006006610925565b60006102716106eb610559565b8360405161190160f01b8152600281019290925260228201526042902090565b60008060008061071d888888886109d0565b92509250925061072d8282610a95565b50909695505050505050565b6001600160a01b03841661076357600060405163e602df0560e01b815260040161034b9190610e50565b6001600160a01b03831661078d576000604051634a1406b160e11b815260040161034b9190610e50565b6001600160a01b03808516600090815260016020908152604080832093871683529290522082905580156104f457826001600160a01b0316846001600160a01b03167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b9258460405161080091815260200190565b60405180910390a350505050565b6001600160a01b03831661083957806002600082825461082e9190610e64565b909155506108989050565b6001600160a01b038316600090815260208190526040902054818110156108795783818360405163391434e360e21b815260040161034b93929190610e2f565b6001600160a01b03841660009081526020819052604090209082900390555b6001600160a01b0382166108b4576002805482900390556108d3565b6001600160a01b03821660009081526020819052604090208054820190555b816001600160a01b0316836001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef8360405161091891815260200190565b60405180910390a3505050565b606060ff831461093f5761093883610b52565b9050610271565b81805461094b90610df5565b80601f016020809104026020016040519081016040528092919081815260200182805461097790610df5565b80156109c45780601f10610999576101008083540402835291602001916109c4565b820191906000526020600020905b8154815290600101906020018083116109a757829003601f168201915b50505050509050610271565b600080806fa2a8918ca85bafe22016d0b997e4df60600160ff1b03841115610a015750600091506003905082610a8b565b604080516000808252602082018084528a905260ff891692820192909252606081018790526080810186905260019060a0016020604051602081039080840390855afa158015610a55573d6000803e3d6000fd5b5050604051601f1901519150506001600160a01b038116610a8157506000925060019150829050610a8b565b9250600091508190505b9450945094915050565b6000826003811115610aa957610aa9610e85565b03610ab2575050565b6001826003811115610ac657610ac6610e85565b03610ae45760405163f645eedf60e01b815260040160405180910390fd5b6002826003811115610af857610af8610e85565b03610b195760405163fce698f760e01b81526004810182905260240161034b565b6003826003811115610b2d57610b2d610e85565b03610b4e576040516335e2f38360e21b81526004810182905260240161034b565b5050565b60606000610b5f83610b91565b604080516020808252818301909252919250600091906020820181803683375050509182525060208101929092525090565b600060ff8216601f81111561027157604051632cd44ac360e21b815260040160405180910390fd5b6000815180845260005b81811015610bdf57602081850181015186830182015201610bc3565b506000602082860101526020601f19601f83011685010191505092915050565b602081526000610c126020830184610bb9565b9392505050565b80356001600160a01b0381168114610c3057600080fd5b919050565b60008060408385031215610c4857600080fd5b610c5183610c19565b946020939093013593505050565b600080600060608486031215610c7457600080fd5b610c7d84610c19565b9250610c8b60208501610c19565b929592945050506040919091013590565b600060208284031215610cae57600080fd5b610c1282610c19565b60ff60f81b8816815260e060208201526000610cd660e0830189610bb9565b8281036040840152610ce88189610bb9565b606084018890526001600160a01b038716608085015260a0840186905283810360c08501528451808252602080870193509091019060005b81811015610d3e578351835260209384019390920191600101610d20565b50909b9a5050505050505050505050565b600080600080600080600060e0888a031215610d6a57600080fd5b610d7388610c19565b9650610d8160208901610c19565b95506040880135945060608801359350608088013560ff81168114610da557600080fd5b9699959850939692959460a0840135945060c09093013592915050565b60008060408385031215610dd557600080fd5b610dde83610c19565b9150610dec60208401610c19565b90509250929050565b600181811c90821680610e0957607f821691505b602082108103610e2957634e487b7160e01b600052602260045260246000fd5b50919050565b6001600160a01b039390931683526020830191909152604082015260600190565b6001600160a01b0391909116815260200190565b8082018082111561027157634e487b7160e01b600052601160045260246000fd5b634e487b7160e01b600052602160045260246000fdfea164736f6c634300081a000a0000000000000000000000000000000000000000000000000354a6ba7a18000000000000000000000000000036d8fcaf5216f54c883280d70fd86010a4dd0aeb