[ { "inputs": [], "stateMutability": "nonpayable", "type": "constructor" }, { "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": "", "type": "address" }, { "internalType": "address", "name": "", "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": "", "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": "account", "type": "address" }, { "internalType": "uint256", "name": "amount", "type": "uint256" } ], "name": "mint", "outputs": [ { "internalType": "bool", "name": "", "type": "bool" } ], "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": [ { "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" } ]
60806040526000805534801561001457600080fd5b50600380546001600160a01b0319163390811790915561003590600061003b565b506100f2565b6001600160a01b0382166000908152600160205260408120805483919083906100659084906100cc565b925050819055508160008082825461007d91906100cc565b90915550506040518281526001600160a01b038416906000907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9060200160405180910390a350600192915050565b600082198211156100ed57634e487b7160e01b600052601160045260246000fd5b500190565b61066c806101016000396000f3fe608060405234801561001057600080fd5b50600436106100b45760003560e01c806340c10f191161007157806340c10f191461018657806370a082311461019957806395d89b41146101b9578063a9059cbb146101de578063dd62ed3e146101f1578063fca3b5aa1461021c57600080fd5b806306fdde03146100b957806307546172146100f4578063095ea7b31461011f57806318160ddd1461014257806323b872dd14610159578063313ce5671461016c575b600080fd5b6100de604051806040016040528060068152602001654865726d657360d01b81525081565b6040516100eb91906104cc565b60405180910390f35b600354610107906001600160a01b031681565b6040516001600160a01b0390911681526020016100eb565b61013261012d36600461053d565b610231565b60405190151581526020016100eb565b61014b60005481565b6040519081526020016100eb565b610132610167366004610567565b61029d565b610174601281565b60405160ff90911681526020016100eb565b61013261019436600461053d565b610317565b61014b6101a73660046105a3565b60016020526000908152604090205481565b6100de604051806040016040528060068152602001654845524d455360d01b81525081565b6101326101ec36600461053d565b610345565b61014b6101ff3660046105be565b600260209081526000928352604080842090915290825290205481565b61022f61022a3660046105a3565b610359565b005b3360008181526002602090815260408083206001600160a01b038716808552925280832085905551919290917f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b9259061028c9086815260200190565b60405180910390a350600192915050565b6001600160a01b03831660009081526002602090815260408083203384529091528120546000198114610303576001600160a01b0385166000908152600260209081526040808320338452909152812080548592906102fd908490610607565b90915550505b61030e858585610392565b95945050505050565b6003546000906001600160a01b0316331461033157600080fd5b61033b8383610447565b5060019392505050565b6000610352338484610392565b9392505050565b6003546001600160a01b0316331461037057600080fd5b600380546001600160a01b0319166001600160a01b0392909216919091179055565b6001600160a01b0383166000908152600160205260408120805483919083906103bc908490610607565b90915550506001600160a01b038316600090815260016020526040812080548492906103e990849061061e565b92505081905550826001600160a01b0316846001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef8460405161043591815260200190565b60405180910390a35060019392505050565b6001600160a01b03821660009081526001602052604081208054839190839061047190849061061e565b9250508190555081600080828254610489919061061e565b90915550506040518281526001600160a01b038416906000907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9060200161028c565b600060208083528351808285015260005b818110156104f9578581018301518582016040015282016104dd565b8181111561050b576000604083870101525b50601f01601f1916929092016040019392505050565b80356001600160a01b038116811461053857600080fd5b919050565b6000806040838503121561055057600080fd5b61055983610521565b946020939093013593505050565b60008060006060848603121561057c57600080fd5b61058584610521565b925061059360208501610521565b9150604084013590509250925092565b6000602082840312156105b557600080fd5b61035282610521565b600080604083850312156105d157600080fd5b6105da83610521565b91506105e860208401610521565b90509250929050565b634e487b7160e01b600052601160045260246000fd5b600082821015610619576106196105f1565b500390565b60008219821115610631576106316105f1565b50019056fea26469706673582212203a6f95c34790a26ee214fb353f39f9488175de9293da96ed96a1d69e92d1204964736f6c634300080b0033