[ { "inputs": [], "stateMutability": "nonpayable", "type": "constructor" }, { "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" }, { "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": [ { "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": [ { "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": "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": [], "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" } ]
608060405234801561000f575f80fd5b506040518060400160405280601581526020017f4167656e74696320436f646520536e6970706574730000000000000000000000815250604051806040016040528060048152602001630534e49560e41b815250816003908161007291906102b6565b50600461007f82826102b6565b5050506100b1336100946100b660201b60201c565b61009f90600a610469565b6100ac90620f424061047e565b6100bb565b6104a8565b601290565b6001600160a01b0382166100e95760405163ec442f0560e01b81525f60048201526024015b60405180910390fd5b6100f45f83836100f8565b5050565b6001600160a01b038316610122578060025f8282546101179190610495565b909155506101929050565b6001600160a01b0383165f90815260208190526040902054818110156101745760405163391434e360e21b81526001600160a01b038516600482015260248101829052604481018390526064016100e0565b6001600160a01b0384165f9081526020819052604090209082900390555b6001600160a01b0382166101ae576002805482900390556101cc565b6001600160a01b0382165f9081526020819052604090208054820190555b816001600160a01b0316836001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef8360405161021191815260200190565b60405180910390a3505050565b634e487b7160e01b5f52604160045260245ffd5b600181811c9082168061024657607f821691505b60208210810361026457634e487b7160e01b5f52602260045260245ffd5b50919050565b601f8211156102b157805f5260205f20601f840160051c8101602085101561028f5750805b601f840160051c820191505b818110156102ae575f815560010161029b565b50505b505050565b81516001600160401b038111156102cf576102cf61021e565b6102e3816102dd8454610232565b8461026a565b6020601f821160018114610315575f83156102fe5750848201515b5f19600385901b1c1916600184901b1784556102ae565b5f84815260208120601f198516915b828110156103445787850151825560209485019460019092019101610324565b508482101561036157868401515f19600387901b60f8161c191681555b50505050600190811b01905550565b634e487b7160e01b5f52601160045260245ffd5b6001815b60018411156103bf578085048111156103a3576103a3610370565b60018416156103b157908102905b60019390931c928002610388565b935093915050565b5f826103d557506001610463565b816103e157505f610463565b81600181146103f757600281146104015761041d565b6001915050610463565b60ff84111561041257610412610370565b50506001821b610463565b5060208310610133831016604e8410600b8410161715610440575081810a610463565b61044c5f198484610384565b805f190482111561045f5761045f610370565b0290505b92915050565b5f61047760ff8416836103c7565b9392505050565b808202811582820484141761046357610463610370565b8082018082111561046357610463610370565b610792806104b55f395ff3fe608060405234801561000f575f80fd5b50600436106100a6575f3560e01c806342966c681161006e57806342966c681461011f57806370a082311461013457806379cc67901461015c57806395d89b411461016f578063a9059cbb14610177578063dd62ed3e1461018a575f80fd5b806306fdde03146100aa578063095ea7b3146100c857806318160ddd146100eb57806323b872dd146100fd578063313ce56714610110575b5f80fd5b6100b26101c2565b6040516100bf91906105eb565b60405180910390f35b6100db6100d636600461063b565b610252565b60405190151581526020016100bf565b6002545b6040519081526020016100bf565b6100db61010b366004610663565b61026b565b604051601281526020016100bf565b61013261012d36600461069d565b61028e565b005b6100ef6101423660046106b4565b6001600160a01b03165f9081526020819052604090205490565b61013261016a36600461063b565b61029b565b6100b26102b4565b6100db61018536600461063b565b6102c3565b6100ef6101983660046106d4565b6001600160a01b039182165f90815260016020908152604080832093909416825291909152205490565b6060600380546101d190610705565b80601f01602080910402602001604051908101604052809291908181526020018280546101fd90610705565b80156102485780601f1061021f57610100808354040283529160200191610248565b820191905f5260205f20905b81548152906001019060200180831161022b57829003601f168201915b5050505050905090565b5f3361025f8185856102d0565b60019150505b92915050565b5f336102788582856102e2565b610283858585610362565b506001949350505050565b61029833826103bf565b50565b6102a68233836102e2565b6102b082826103bf565b5050565b6060600480546101d190610705565b5f3361025f818585610362565b6102dd83838360016103f3565b505050565b6001600160a01b038381165f908152600160209081526040808320938616835292905220545f19811461035c578181101561034e57604051637dc7a0d960e11b81526001600160a01b038416600482015260248101829052604481018390526064015b60405180910390fd5b61035c84848484035f6103f3565b50505050565b6001600160a01b03831661038b57604051634b637e8f60e11b81525f6004820152602401610345565b6001600160a01b0382166103b45760405163ec442f0560e01b81525f6004820152602401610345565b6102dd8383836104c5565b6001600160a01b0382166103e857604051634b637e8f60e11b81525f6004820152602401610345565b6102b0825f836104c5565b6001600160a01b03841661041c5760405163e602df0560e01b81525f6004820152602401610345565b6001600160a01b03831661044557604051634a1406b160e11b81525f6004820152602401610345565b6001600160a01b038085165f908152600160209081526040808320938716835292905220829055801561035c57826001600160a01b0316846001600160a01b03167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925846040516104b791815260200190565b60405180910390a350505050565b6001600160a01b0383166104ef578060025f8282546104e4919061073d565b9091555061055f9050565b6001600160a01b0383165f90815260208190526040902054818110156105415760405163391434e360e21b81526001600160a01b03851660048201526024810182905260448101839052606401610345565b6001600160a01b0384165f9081526020819052604090209082900390555b6001600160a01b03821661057b57600280548290039055610599565b6001600160a01b0382165f9081526020819052604090208054820190555b816001600160a01b0316836001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef836040516105de91815260200190565b60405180910390a3505050565b602081525f82518060208401528060208501604085015e5f604082850101526040601f19601f83011684010191505092915050565b80356001600160a01b0381168114610636575f80fd5b919050565b5f806040838503121561064c575f80fd5b61065583610620565b946020939093013593505050565b5f805f60608486031215610675575f80fd5b61067e84610620565b925061068c60208501610620565b929592945050506040919091013590565b5f602082840312156106ad575f80fd5b5035919050565b5f602082840312156106c4575f80fd5b6106cd82610620565b9392505050565b5f80604083850312156106e5575f80fd5b6106ee83610620565b91506106fc60208401610620565b90509250929050565b600181811c9082168061071957607f821691505b60208210810361073757634e487b7160e01b5f52602260045260245ffd5b50919050565b8082018082111561026557634e487b7160e01b5f52601160045260245ffdfea2646970667358221220a095a204bdbcf5af2634b2f0bf320d457bfe9255d3535a2fb7b1e7409c733fa664736f6c634300081a0033