[ { "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" }, { "inputs": [ { "internalType": "address", "name": "owner", "type": "address" } ], "name": "OwnableInvalidOwner", "type": "error" }, { "inputs": [ { "internalType": "address", "name": "account", "type": "address" } ], "name": "OwnableUnauthorizedAccount", "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": "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": "MAX_SUPPLY", "outputs": [ { "internalType": "uint256", "name": "", "type": "uint256" } ], "stateMutability": "view", "type": "function" }, { "inputs": [], "name": "MINT_AMOUNT", "outputs": [ { "internalType": "uint256", "name": "", "type": "uint256" } ], "stateMutability": "view", "type": "function" }, { "inputs": [], "name": "VITALIK", "outputs": [ { "internalType": "address", "name": "", "type": "address" } ], "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": "view", "type": "function" }, { "inputs": [ { "internalType": "address", "name": "tokenAddress", "type": "address" }, { "internalType": "address", "name": "charityAddress", "type": "address" } ], "name": "donate", "outputs": [], "stateMutability": "nonpayable", "type": "function" }, { "inputs": [], "name": "mint", "outputs": [], "stateMutability": "nonpayable", "type": "function" }, { "inputs": [], "name": "name", "outputs": [ { "internalType": "string", "name": "", "type": "string" } ], "stateMutability": "view", "type": "function" }, { "inputs": [], "name": "owner", "outputs": [ { "internalType": "address", "name": "", "type": "address" } ], "stateMutability": "view", "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" } ]
608060405234801561000f575f80fd5b50336040518060400160405280600c81526020017f53696c6c7920447261676f6e00000000000000000000000000000000000000008152506040518060400160405280600581526020017f53696c6c79000000000000000000000000000000000000000000000000000000815250816003908161008c9190610421565b50806004908161009c9190610421565b5050505f73ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff160361010f575f6040517f1e4fbdf7000000000000000000000000000000000000000000000000000000008152600401610106919061052f565b60405180910390fd5b61011e8161012460201b60201c565b50610548565b5f60055f9054906101000a900473ffffffffffffffffffffffffffffffffffffffff1690508160055f6101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b5f81519050919050565b7f4e487b71000000000000000000000000000000000000000000000000000000005f52604160045260245ffd5b7f4e487b71000000000000000000000000000000000000000000000000000000005f52602260045260245ffd5b5f600282049050600182168061026257607f821691505b6020821081036102755761027461021e565b5b50919050565b5f819050815f5260205f209050919050565b5f6020601f8301049050919050565b5f82821b905092915050565b5f600883026102d77fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff8261029c565b6102e1868361029c565b95508019841693508086168417925050509392505050565b5f819050919050565b5f819050919050565b5f61032561032061031b846102f9565b610302565b6102f9565b9050919050565b5f819050919050565b61033e8361030b565b61035261034a8261032c565b8484546102a8565b825550505050565b5f90565b61036661035a565b610371818484610335565b505050565b5b81811015610394576103895f8261035e565b600181019050610377565b5050565b601f8211156103d9576103aa8161027b565b6103b38461028d565b810160208510156103c2578190505b6103d66103ce8561028d565b830182610376565b50505b505050565b5f82821c905092915050565b5f6103f95f19846008026103de565b1980831691505092915050565b5f61041183836103ea565b9150826002028217905092915050565b61042a826101e7565b67ffffffffffffffff811115610443576104426101f1565b5b61044d825461024b565b610458828285610398565b5f60209050601f831160018114610489575f8415610477578287015190505b6104818582610406565b8655506104e8565b601f1984166104978661027b565b5f5b828110156104be57848901518255600182019150602085019450602081019050610499565b868310156104db57848901516104d7601f8916826103ea565b8355505b6001600288020188555050505b505050505050565b5f73ffffffffffffffffffffffffffffffffffffffff82169050919050565b5f610519826104f0565b9050919050565b6105298161050f565b82525050565b5f6020820190506105425f830184610520565b92915050565b61185e806105555f395ff3fe608060405234801561000f575f80fd5b5060043610610109575f3560e01c806339aeb6e3116100a05780638da5cb5b1161006f5780638da5cb5b1461028157806395d89b411461029f578063a9059cbb146102bd578063dd62ed3e146102ed578063f2fde38b1461031d57610109565b806339aeb6e31461020b5780635427789c1461022957806370a0823114610247578063715018a61461027757610109565b806321bea7cc116100dc57806321bea7cc1461018357806323b872dd1461019f578063313ce567146101cf57806332cb6b0c146101ed57610109565b806306fdde031461010d578063095ea7b31461012b5780631249c58b1461015b57806318160ddd14610165575b5f80fd5b610115610339565b60405161012291906111ed565b60405180910390f35b6101456004803603810190610140919061129e565b6103c9565b60405161015291906112f6565b60405180910390f35b6101636103eb565b005b61016d610623565b60405161017a919061131e565b60405180910390f35b61019d60048036038101906101989190611337565b61062c565b005b6101b960048036038101906101b49190611375565b61078b565b6040516101c691906112f6565b60405180910390f35b6101d76107b9565b6040516101e491906113e0565b60405180910390f35b6101f56107c1565b604051610202919061131e565b60405180910390f35b6102136107d2565b6040516102209190611408565b60405180910390f35b6102316107ea565b60405161023e919061131e565b60405180910390f35b610261600480360381019061025c9190611421565b6107f9565b60405161026e919061131e565b60405180910390f35b61027f61083e565b005b610289610851565b6040516102969190611408565b60405180910390f35b6102a7610879565b6040516102b491906111ed565b60405180910390f35b6102d760048036038101906102d2919061129e565b610909565b6040516102e491906112f6565b60405180910390f35b61030760048036038101906103029190611337565b61092b565b604051610314919061131e565b60405180910390f35b61033760048036038101906103329190611421565b6109ad565b005b60606003805461034890611479565b80601f016020809104026020016040519081016040528092919081815260200182805461037490611479565b80156103bf5780601f10610396576101008083540402835291602001916103bf565b820191905f5260205f20905b8154815290600101906020018083116103a257829003601f168201915b5050505050905090565b5f806103d3610a31565b90506103e0818585610a38565b600191505092915050565b6c02a68bedbb190931f6500000006a0422ca8b0a00a42500000061040d610623565b61041791906114d6565b1115610458576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161044f90611553565b60405180910390fd5b60065f3373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f205f9054906101000a900460ff16156104e2576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016104d9906115bb565b60405180910390fd5b3273ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff1614610550576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161054790611649565b60405180910390fd5b600160065f3373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f205f6101000a81548160ff0219169083151502179055505f606460056a0422ca8b0a00a4250000006105c09190611667565b6105ca91906116d5565b90506105ea73d8da6bf26964af9d7eed9e03e53415d37aa9604582610a4a565b6105f43082610a4a565b610620336002836106059190611667565b6a0422ca8b0a00a42500000061061b9190611705565b610a4a565b50565b5f600254905090565b610634610ac9565b5f8290505f8173ffffffffffffffffffffffffffffffffffffffff166370a08231306040518263ffffffff1660e01b81526004016106729190611408565b602060405180830381865afa15801561068d573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906106b1919061174c565b90505f811115610738578173ffffffffffffffffffffffffffffffffffffffff1663a9059cbb84836040518363ffffffff1660e01b81526004016106f6929190611777565b6020604051808303815f875af1158015610712573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061073691906117c8565b505b5f471115610785578273ffffffffffffffffffffffffffffffffffffffff166108fc4790811502906040515f60405180830381858888f19350505050158015610783573d5f803e3d5ffd5b505b50505050565b5f80610795610a31565b90506107a2858285610b50565b6107ad858585610be2565b60019150509392505050565b5f6012905090565b6c02a68bedbb190931f65000000081565b73d8da6bf26964af9d7eed9e03e53415d37aa9604581565b6a0422ca8b0a00a42500000081565b5f805f8373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f20549050919050565b610846610ac9565b61084f5f610cd2565b565b5f60055f9054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b60606004805461088890611479565b80601f01602080910402602001604051908101604052809291908181526020018280546108b490611479565b80156108ff5780601f106108d6576101008083540402835291602001916108ff565b820191905f5260205f20905b8154815290600101906020018083116108e257829003601f168201915b5050505050905090565b5f80610913610a31565b9050610920818585610be2565b600191505092915050565b5f60015f8473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f205f8373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f2054905092915050565b6109b5610ac9565b5f73ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1603610a25575f6040517f1e4fbdf7000000000000000000000000000000000000000000000000000000008152600401610a1c9190611408565b60405180910390fd5b610a2e81610cd2565b50565b5f33905090565b610a458383836001610d95565b505050565b5f73ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1603610aba575f6040517fec442f05000000000000000000000000000000000000000000000000000000008152600401610ab19190611408565b60405180910390fd5b610ac55f8383610f64565b5050565b610ad1610a31565b73ffffffffffffffffffffffffffffffffffffffff16610aef610851565b73ffffffffffffffffffffffffffffffffffffffff1614610b4e57610b12610a31565b6040517f118cdaa7000000000000000000000000000000000000000000000000000000008152600401610b459190611408565b60405180910390fd5b565b5f610b5b848461092b565b90507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff8114610bdc5781811015610bcd578281836040517ffb8f41b2000000000000000000000000000000000000000000000000000000008152600401610bc4939291906117f3565b60405180910390fd5b610bdb84848484035f610d95565b5b50505050565b5f73ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1603610c52575f6040517f96c6fd1e000000000000000000000000000000000000000000000000000000008152600401610c499190611408565b60405180910390fd5b5f73ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1603610cc2575f6040517fec442f05000000000000000000000000000000000000000000000000000000008152600401610cb99190611408565b60405180910390fd5b610ccd838383610f64565b505050565b5f60055f9054906101000a900473ffffffffffffffffffffffffffffffffffffffff1690508160055f6101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b5f73ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff1603610e05575f6040517fe602df05000000000000000000000000000000000000000000000000000000008152600401610dfc9190611408565b60405180910390fd5b5f73ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1603610e75575f6040517f94280d62000000000000000000000000000000000000000000000000000000008152600401610e6c9190611408565b60405180910390fd5b8160015f8673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f205f8573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f20819055508015610f5e578273ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92584604051610f55919061131e565b60405180910390a35b50505050565b5f73ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1603610fb4578060025f828254610fa891906114d6565b92505081905550611082565b5f805f8573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f205490508181101561103d578381836040517fe450d38c000000000000000000000000000000000000000000000000000000008152600401611034939291906117f3565b60405180910390fd5b8181035f808673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f2081905550505b5f73ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16036110c9578060025f8282540392505081905550611113565b805f808473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f205f82825401925050819055505b8173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef83604051611170919061131e565b60405180910390a3505050565b5f81519050919050565b5f82825260208201905092915050565b8281835e5f83830152505050565b5f601f19601f8301169050919050565b5f6111bf8261117d565b6111c98185611187565b93506111d9818560208601611197565b6111e2816111a5565b840191505092915050565b5f6020820190508181035f83015261120581846111b5565b905092915050565b5f80fd5b5f73ffffffffffffffffffffffffffffffffffffffff82169050919050565b5f61123a82611211565b9050919050565b61124a81611230565b8114611254575f80fd5b50565b5f8135905061126581611241565b92915050565b5f819050919050565b61127d8161126b565b8114611287575f80fd5b50565b5f8135905061129881611274565b92915050565b5f80604083850312156112b4576112b361120d565b5b5f6112c185828601611257565b92505060206112d28582860161128a565b9150509250929050565b5f8115159050919050565b6112f0816112dc565b82525050565b5f6020820190506113095f8301846112e7565b92915050565b6113188161126b565b82525050565b5f6020820190506113315f83018461130f565b92915050565b5f806040838503121561134d5761134c61120d565b5b5f61135a85828601611257565b925050602061136b85828601611257565b9150509250929050565b5f805f6060848603121561138c5761138b61120d565b5b5f61139986828701611257565b93505060206113aa86828701611257565b92505060406113bb8682870161128a565b9150509250925092565b5f60ff82169050919050565b6113da816113c5565b82525050565b5f6020820190506113f35f8301846113d1565b92915050565b61140281611230565b82525050565b5f60208201905061141b5f8301846113f9565b92915050565b5f602082840312156114365761143561120d565b5b5f61144384828501611257565b91505092915050565b7f4e487b71000000000000000000000000000000000000000000000000000000005f52602260045260245ffd5b5f600282049050600182168061149057607f821691505b6020821081036114a3576114a261144c565b5b50919050565b7f4e487b71000000000000000000000000000000000000000000000000000000005f52601160045260245ffd5b5f6114e08261126b565b91506114eb8361126b565b9250828201905080821115611503576115026114a9565b5b92915050565b7f546f74616c20737570706c7920657863656564656400000000000000000000005f82015250565b5f61153d601583611187565b915061154882611509565b602082019050919050565b5f6020820190508181035f83015261156a81611531565b9050919050565b7f416464726573732068617320616c7265616479206d696e7465640000000000005f82015250565b5f6115a5601a83611187565b91506115b082611571565b602082019050919050565b5f6020820190508181035f8301526115d281611599565b9050919050565b7f436f6e74726163747320617265206e6f7420616c6c6f77656420746f206d696e5f8201527f7400000000000000000000000000000000000000000000000000000000000000602082015250565b5f611633602183611187565b915061163e826115d9565b604082019050919050565b5f6020820190508181035f83015261166081611627565b9050919050565b5f6116718261126b565b915061167c8361126b565b925082820261168a8161126b565b915082820484148315176116a1576116a06114a9565b5b5092915050565b7f4e487b71000000000000000000000000000000000000000000000000000000005f52601260045260245ffd5b5f6116df8261126b565b91506116ea8361126b565b9250826116fa576116f96116a8565b5b828204905092915050565b5f61170f8261126b565b915061171a8361126b565b9250828203905081811115611732576117316114a9565b5b92915050565b5f8151905061174681611274565b92915050565b5f602082840312156117615761176061120d565b5b5f61176e84828501611738565b91505092915050565b5f60408201905061178a5f8301856113f9565b611797602083018461130f565b9392505050565b6117a7816112dc565b81146117b1575f80fd5b50565b5f815190506117c28161179e565b92915050565b5f602082840312156117dd576117dc61120d565b5b5f6117ea848285016117b4565b91505092915050565b5f6060820190506118065f8301866113f9565b611813602083018561130f565b611820604083018461130f565b94935050505056fea2646970667358221220519344cb2b00452f5caf98e9553f93a730b74c30c4869a56b1cf258926dcf5f864736f6c634300081a0033