[ { "inputs": [], "stateMutability": "nonpayable", "type": "constructor" }, { "inputs": [ { "internalType": "uint256", "name": "increasedSupply", "type": "uint256" }, { "internalType": "uint256", "name": "cap", "type": "uint256" } ], "name": "ERC20ExceededCap", "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": "uint256", "name": "cap", "type": "uint256" } ], "name": "ERC20InvalidCap", "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": "uint256", "name": "amount", "type": "uint256" } ], "name": "Burn", "type": "event" }, { "anonymous": false, "inputs": [ { "indexed": true, "internalType": "uint256", "name": "amount", "type": "uint256" } ], "name": "Mint", "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": [ { "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": "amount", "type": "uint256" } ], "name": "burn", "outputs": [], "stateMutability": "nonpayable", "type": "function" }, { "inputs": [], "name": "cap", "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": "uint256", "name": "amount", "type": "uint256" }, { "internalType": "address", "name": "to", "type": "address" } ], "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" }, { "inputs": [], "name": "withdrawEthers", "outputs": [], "stateMutability": "nonpayable", "type": "function" }, { "inputs": [ { "internalType": "address", "name": "token", "type": "address" }, { "internalType": "uint256", "name": "amount", "type": "uint256" } ], "name": "withdrawTokens", "outputs": [], "stateMutability": "nonpayable", "type": "function" }, { "stateMutability": "payable", "type": "receive" } ]
60a06040523480156200001157600080fd5b50336c016704f4fab0f4062282bc00006040518060400160405280600d81526020016c506f706f205468652046726f6760981b81525060405180604001604052806004815260200163046524f560e41b8152508160039081620000759190620001e9565b506004620000848282620001e9565b50505080600003620000b15760405163392e1e2760e01b8152600060048201526024015b60405180910390fd5b6080526001600160a01b038116620000e057604051631e4fbdf760e01b815260006004820152602401620000a8565b620000eb81620000f2565b50620002b5565b600580546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b634e487b7160e01b600052604160045260246000fd5b600181811c908216806200016f57607f821691505b6020821081036200019057634e487b7160e01b600052602260045260246000fd5b50919050565b601f821115620001e457600081815260208120601f850160051c81016020861015620001bf5750805b601f850160051c820191505b81811015620001e057828155600101620001cb565b5050505b505050565b81516001600160401b0381111562000205576200020562000144565b6200021d816200021684546200015a565b8462000196565b602080601f8311600181146200025557600084156200023c5750858301515b600019600386901b1c1916600185901b178555620001e0565b600085815260208120601f198616915b82811015620002865788860151825594840194600190910190840162000265565b5085821015620002a55787850151600019600388901b60f8161c191681555b5050505050600190811b01905550565b608051610ced620002d8600039600081816101f5015261095d0152610ced6000f3fe6080604052600436106101025760003560e01c8063687e6f441161009557806394bf804d1161006457806394bf804d146102c157806395d89b41146102e1578063a9059cbb146102f6578063dd62ed3e14610316578063f2fde38b1461035c57600080fd5b8063687e6f441461023957806370a082311461024e578063715018a6146102845780638da5cb5b1461029957600080fd5b806323b872dd116100d157806323b872dd146101aa578063313ce567146101ca578063355274ea146101e657806342966c681461021957600080fd5b806306b091f91461010e57806306fdde0314610130578063095ea7b31461015b57806318160ddd1461018b57600080fd5b3661010957005b600080fd5b34801561011a57600080fd5b5061012e610129366004610af5565b61037c565b005b34801561013c57600080fd5b5061014561041b565b6040516101529190610b1f565b60405180910390f35b34801561016757600080fd5b5061017b610176366004610af5565b6104ad565b6040519015158152602001610152565b34801561019757600080fd5b506002545b604051908152602001610152565b3480156101b657600080fd5b5061017b6101c5366004610b6d565b6104c7565b3480156101d657600080fd5b5060405160128152602001610152565b3480156101f257600080fd5b507f000000000000000000000000000000000000000000000000000000000000000061019c565b34801561022557600080fd5b5061012e610234366004610ba9565b6104eb565b34801561024557600080fd5b5061012e61052b565b34801561025a57600080fd5b5061019c610269366004610bc2565b6001600160a01b031660009081526020819052604090205490565b34801561029057600080fd5b5061012e6105e4565b3480156102a557600080fd5b506005546040516001600160a01b039091168152602001610152565b3480156102cd57600080fd5b5061012e6102dc366004610be4565b6105f8565b3480156102ed57600080fd5b50610145610639565b34801561030257600080fd5b5061017b610311366004610af5565b610648565b34801561032257600080fd5b5061019c610331366004610c10565b6001600160a01b03918216600090815260016020908152604080832093909416825291909152205490565b34801561036857600080fd5b5061012e610377366004610bc2565b610656565b610384610691565b816001600160a01b031663a9059cbb6103a56005546001600160a01b031690565b6040516001600160e01b031960e084901b1681526001600160a01b039091166004820152602481018490526044016020604051808303816000875af11580156103f2573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906104169190610c3a565b505050565b60606003805461042a90610c5c565b80601f016020809104026020016040519081016040528092919081815260200182805461045690610c5c565b80156104a35780601f10610478576101008083540402835291602001916104a3565b820191906000526020600020905b81548152906001019060200180831161048657829003601f168201915b5050505050905090565b6000336104bb8185856106be565b60019150505b92915050565b6000336104d58582856106cb565b6104e0858585610749565b506001949350505050565b6104f3610691565b6104fd33826107a8565b60405181907fb90306ad06b2a6ff86ddc9327db583062895ef6540e62dc50add009db5b356eb90600090a250565b610533610691565b60006105476005546001600160a01b031690565b6001600160a01b03164760405160006040518083038185875af1925050503d8060008114610591576040519150601f19603f3d011682016040523d82523d6000602084013e610596565b606091505b50509050806105e15760405162461bcd60e51b81526020600482015260126024820152714661696c656420746f20776974686472617760701b60448201526064015b60405180910390fd5b50565b6105ec610691565b6105f660006107e2565b565b610600610691565b61060a8183610834565b60405182907f07883703ed0e86588a40d76551c92f8a4b329e3bf19765e0e6749473c1a8466590600090a25050565b60606004805461042a90610c5c565b6000336104bb818585610749565b61065e610691565b6001600160a01b03811661068857604051631e4fbdf760e01b8152600060048201526024016105d8565b6105e1816107e2565b6005546001600160a01b031633146105f65760405163118cdaa760e01b81523360048201526024016105d8565b610416838383600161086a565b6001600160a01b038381166000908152600160209081526040808320938616835292905220546000198114610743578181101561073457604051637dc7a0d960e11b81526001600160a01b038416600482015260248101829052604481018390526064016105d8565b6107438484848403600061086a565b50505050565b6001600160a01b03831661077357604051634b637e8f60e11b8152600060048201526024016105d8565b6001600160a01b03821661079d5760405163ec442f0560e01b8152600060048201526024016105d8565b61041683838361093f565b6001600160a01b0382166107d257604051634b637e8f60e11b8152600060048201526024016105d8565b6107de8260008361093f565b5050565b600580546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b6001600160a01b03821661085e5760405163ec442f0560e01b8152600060048201526024016105d8565b6107de6000838361093f565b6001600160a01b0384166108945760405163e602df0560e01b8152600060048201526024016105d8565b6001600160a01b0383166108be57604051634a1406b160e11b8152600060048201526024016105d8565b6001600160a01b038085166000908152600160209081526040808320938716835292905220829055801561074357826001600160a01b0316846001600160a01b03167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b9258460405161093191815260200190565b60405180910390a350505050565b61094a8383836109af565b6001600160a01b038316610416576002547f000000000000000000000000000000000000000000000000000000000000000090818111156109a85760405163279e7e1560e21b815260048101829052602481018390526044016105d8565b5050505050565b6001600160a01b0383166109da5780600260008282546109cf9190610c96565b90915550610a4c9050565b6001600160a01b03831660009081526020819052604090205481811015610a2d5760405163391434e360e21b81526001600160a01b038516600482015260248101829052604481018390526064016105d8565b6001600160a01b03841660009081526020819052604090209082900390555b6001600160a01b038216610a6857600280548290039055610a87565b6001600160a01b03821660009081526020819052604090208054820190555b816001600160a01b0316836001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef83604051610acc91815260200190565b60405180910390a3505050565b80356001600160a01b0381168114610af057600080fd5b919050565b60008060408385031215610b0857600080fd5b610b1183610ad9565b946020939093013593505050565b600060208083528351808285015260005b81811015610b4c57858101830151858201604001528201610b30565b506000604082860101526040601f19601f8301168501019250505092915050565b600080600060608486031215610b8257600080fd5b610b8b84610ad9565b9250610b9960208501610ad9565b9150604084013590509250925092565b600060208284031215610bbb57600080fd5b5035919050565b600060208284031215610bd457600080fd5b610bdd82610ad9565b9392505050565b60008060408385031215610bf757600080fd5b82359150610c0760208401610ad9565b90509250929050565b60008060408385031215610c2357600080fd5b610c2c83610ad9565b9150610c0760208401610ad9565b600060208284031215610c4c57600080fd5b81518015158114610bdd57600080fd5b600181811c90821680610c7057607f821691505b602082108103610c9057634e487b7160e01b600052602260045260246000fd5b50919050565b808201808211156104c157634e487b7160e01b600052601160045260246000fdfea264697066735822122058a2b479ca0bcc9029b419a2f210be1b81a907db7b8c9fd8cdac24afc6d1be7864736f6c63430008140033
Loading