[ { "inputs": [ { "internalType": "string", "name": "_name", "type": "string" }, { "internalType": "string", "name": "_symbol", "type": "string" }, { "internalType": "uint8", "name": "_decimals", "type": "uint8" }, { "internalType": "address", "name": "_initialOwner", "type": "address" } ], "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" }, { "inputs": [], "name": "Unauthorized", "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": "_minter", "type": "address" } ], "name": "MinterSet", "type": "event" }, { "anonymous": false, "inputs": [ { "indexed": true, "internalType": "address", "name": "previousOwner", "type": "address" }, { "indexed": true, "internalType": "address", "name": "newOwner", "type": "address" } ], "name": "OwnershipTransferStarted", "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": "INITIAL_SUPPLY", "outputs": [ { "internalType": "uint256", "name": "", "type": "uint256" } ], "stateMutability": "view", "type": "function" }, { "inputs": [], "name": "acceptOwnership", "outputs": [], "stateMutability": "nonpayable", "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": [ { "internalType": "uint256", "name": "_amount", "type": "uint256" } ], "name": "mint", "outputs": [], "stateMutability": "nonpayable", "type": "function" }, { "inputs": [ { "internalType": "address", "name": "_to", "type": "address" }, { "internalType": "uint256", "name": "_amount", "type": "uint256" } ], "name": "mintTo", "outputs": [], "stateMutability": "nonpayable", "type": "function" }, { "inputs": [], "name": "minter", "outputs": [ { "internalType": "address", "name": "", "type": "address" } ], "stateMutability": "view", "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": "pendingOwner", "outputs": [ { "internalType": "address", "name": "", "type": "address" } ], "stateMutability": "view", "type": "function" }, { "inputs": [], "name": "renounceOwnership", "outputs": [], "stateMutability": "nonpayable", "type": "function" }, { "inputs": [ { "internalType": "address", "name": "_minter", "type": "address" } ], "name": "setMinter", "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" } ]
60806040523480156200001157600080fd5b506040516200111638038062001116833981016040819052620000349162000374565b8084846003620000458382620004a7565b506004620000548282620004a7565b5050506001600160a01b0381166200008757604051631e4fbdf760e01b8152600060048201526024015b60405180910390fd5b6200009281620000ce565b506006805460ff60a01b1916600160a01b60ff851602179055620000c4816c7e37be2022c0914b2680000000620000ec565b505050506200059b565b600680546001600160a01b0319169055620000e9816200012a565b50565b6001600160a01b038216620001185760405163ec442f0560e01b8152600060048201526024016200007e565b62000126600083836200017c565b5050565b600580546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b6001600160a01b038316620001ab5780600260008282546200019f919062000573565b909155506200021f9050565b6001600160a01b03831660009081526020819052604090205481811015620002005760405163391434e360e21b81526001600160a01b038516600482015260248101829052604481018390526064016200007e565b6001600160a01b03841660009081526020819052604090209082900390555b6001600160a01b0382166200023d576002805482900390556200025c565b6001600160a01b03821660009081526020819052604090208054820190555b816001600160a01b0316836001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef83604051620002a291815260200190565b60405180910390a3505050565b634e487b7160e01b600052604160045260246000fd5b600082601f830112620002d757600080fd5b81516001600160401b0380821115620002f457620002f4620002af565b604051601f8301601f19908116603f011681019082821181831017156200031f576200031f620002af565b816040528381526020925086838588010111156200033c57600080fd5b600091505b8382101562000360578582018301518183018401529082019062000341565b600093810190920192909252949350505050565b600080600080608085870312156200038b57600080fd5b84516001600160401b0380821115620003a357600080fd5b620003b188838901620002c5565b95506020870151915080821115620003c857600080fd5b50620003d787828801620002c5565b935050604085015160ff81168114620003ef57600080fd5b60608601519092506001600160a01b03811681146200040d57600080fd5b939692955090935050565b600181811c908216806200042d57607f821691505b6020821081036200044e57634e487b7160e01b600052602260045260246000fd5b50919050565b601f821115620004a257600081815260208120601f850160051c810160208610156200047d5750805b601f850160051c820191505b818110156200049e5782815560010162000489565b5050505b505050565b81516001600160401b03811115620004c357620004c3620002af565b620004db81620004d4845462000418565b8462000454565b602080601f831160018114620005135760008415620004fa5750858301515b600019600386901b1c1916600185901b1785556200049e565b600085815260208120601f198616915b82811015620005445788860151825594840194600190910190840162000523565b5085821015620005635787850151600019600388901b60f8161c191681555b5050505050600190811b01905550565b808201808211156200059557634e487b7160e01b600052601160045260246000fd5b92915050565b610b6b80620005ab6000396000f3fe608060405234801561001057600080fd5b50600436106101375760003560e01c8063715018a6116100b8578063a0712d681161007c578063a0712d681461028d578063a9059cbb146102a0578063dd62ed3e146102b3578063e30c3978146102ec578063f2fde38b146102fd578063fca3b5aa1461031057600080fd5b8063715018a61461025157806379ba50971461025957806379cc6790146102615780638da5cb5b1461027457806395d89b411461028557600080fd5b80632ff2e9dc116100ff5780632ff2e9dc146101cd578063313ce567146101e157806342966c6814610200578063449a52f81461021557806370a082311461022857600080fd5b806306fdde031461013c578063075461721461015a578063095ea7b31461018557806318160ddd146101a857806323b872dd146101ba575b600080fd5b610144610323565b604051610151919061099c565b60405180910390f35b60075461016d906001600160a01b031681565b6040516001600160a01b039091168152602001610151565b610198610193366004610a06565b6103b5565b6040519015158152602001610151565b6002545b604051908152602001610151565b6101986101c8366004610a30565b6103cf565b6101ac6c7e37be2022c0914b268000000081565b600654600160a01b900460ff1660405160ff9091168152602001610151565b61021361020e366004610a6c565b6103f3565b005b610213610223366004610a06565b610400565b6101ac610236366004610a85565b6001600160a01b031660009081526020819052604090205490565b610213610416565b61021361042a565b61021361026f366004610a06565b610470565b6005546001600160a01b031661016d565b610144610485565b61021361029b366004610a6c565b610494565b6101986102ae366004610a06565b6104a6565b6101ac6102c1366004610aa7565b6001600160a01b03918216600090815260016020908152604080832093909416825291909152205490565b6006546001600160a01b031661016d565b61021361030b366004610a85565b6104b4565b61021361031e366004610a85565b610525565b60606003805461033290610ada565b80601f016020809104026020016040519081016040528092919081815260200182805461035e90610ada565b80156103ab5780601f10610380576101008083540402835291602001916103ab565b820191906000526020600020905b81548152906001019060200180831161038e57829003601f168201915b5050505050905090565b6000336103c3818585610577565b60019150505b92915050565b6000336103dd858285610589565b6103e8858585610607565b506001949350505050565b6103fd3382610666565b50565b61040861069c565b61041282826106cf565b5050565b61041e610705565b6104286000610732565b565b60065433906001600160a01b031681146104675760405163118cdaa760e01b81526001600160a01b03821660048201526024015b60405180910390fd5b6103fd81610732565b61047b823383610589565b6104128282610666565b60606004805461033290610ada565b61049c61069c565b6103fd33826106cf565b6000336103c3818585610607565b6104bc610705565b600680546001600160a01b0383166001600160a01b031990911681179091556104ed6005546001600160a01b031690565b6001600160a01b03167f38d16b8cac22d99fc7c124b9cd0de2d3fa1faef420bfe791d8c362d765e2270060405160405180910390a350565b61052d610705565b600780546001600160a01b0319166001600160a01b0383169081179091556040517f726b590ef91a8c76ad05bbe91a57ef84605276528f49cd47d787f558a4e755b690600090a250565b610584838383600161074b565b505050565b6001600160a01b03838116600090815260016020908152604080832093861683529290522054600019811461060157818110156105f257604051637dc7a0d960e11b81526001600160a01b0384166004820152602481018290526044810183905260640161045e565b6106018484848403600061074b565b50505050565b6001600160a01b03831661063157604051634b637e8f60e11b81526000600482015260240161045e565b6001600160a01b03821661065b5760405163ec442f0560e01b81526000600482015260240161045e565b610584838383610820565b6001600160a01b03821661069057604051634b637e8f60e11b81526000600482015260240161045e565b61041282600083610820565b6007546001600160a01b0316336001600160a01b031614610428576040516282b42960e81b815260040160405180910390fd5b6001600160a01b0382166106f95760405163ec442f0560e01b81526000600482015260240161045e565b61041260008383610820565b6005546001600160a01b031633146104285760405163118cdaa760e01b815233600482015260240161045e565b600680546001600160a01b03191690556103fd8161094a565b6001600160a01b0384166107755760405163e602df0560e01b81526000600482015260240161045e565b6001600160a01b03831661079f57604051634a1406b160e11b81526000600482015260240161045e565b6001600160a01b038085166000908152600160209081526040808320938716835292905220829055801561060157826001600160a01b0316846001600160a01b03167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b9258460405161081291815260200190565b60405180910390a350505050565b6001600160a01b03831661084b5780600260008282546108409190610b14565b909155506108bd9050565b6001600160a01b0383166000908152602081905260409020548181101561089e5760405163391434e360e21b81526001600160a01b0385166004820152602481018290526044810183905260640161045e565b6001600160a01b03841660009081526020819052604090209082900390555b6001600160a01b0382166108d9576002805482900390556108f8565b6001600160a01b03821660009081526020819052604090208054820190555b816001600160a01b0316836001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef8360405161093d91815260200190565b60405180910390a3505050565b600580546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b600060208083528351808285015260005b818110156109c9578581018301518582016040015282016109ad565b506000604082860101526040601f19601f8301168501019250505092915050565b80356001600160a01b0381168114610a0157600080fd5b919050565b60008060408385031215610a1957600080fd5b610a22836109ea565b946020939093013593505050565b600080600060608486031215610a4557600080fd5b610a4e846109ea565b9250610a5c602085016109ea565b9150604084013590509250925092565b600060208284031215610a7e57600080fd5b5035919050565b600060208284031215610a9757600080fd5b610aa0826109ea565b9392505050565b60008060408385031215610aba57600080fd5b610ac3836109ea565b9150610ad1602084016109ea565b90509250929050565b600181811c90821680610aee57607f821691505b602082108103610b0e57634e487b7160e01b600052602260045260246000fd5b50919050565b808201808211156103c957634e487b7160e01b600052601160045260246000fdfea2646970667358221220c7e8fb72a35df01603341c9133ac26e9997e6ad6c07b61aa4ff24f1e400a29a964736f6c63430008140033000000000000000000000000000000000000000000000000000000000000008000000000000000000000000000000000000000000000000000000000000000c00000000000000000000000000000000000000000000000000000000000000006000000000000000000000000962b5b9a4d512c21512bf24197c94e199a6ce8c50000000000000000000000000000000000000000000000000000000000000004555344430000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000045553444300000000000000000000000000000000000000000000000000000000