ERC-20
Overview
Max Total Supply
500,000,000 KLC
Holders
492
Market
Onchain Market Cap
$0.00
Circulating Supply Market Cap
-
Other Info
Token Contract (WITH 18 Decimals)
Loading...
Loading
Loading...
Loading
Loading...
Loading
# | Exchange | Pair | Price | 24H Volume | % Volume |
---|
Contract Name:
Token
Compiler Version
v0.4.13+commit.fb4cb1a
Optimization Enabled:
Yes with 200 runs
Other Settings:
default evmVersion
Contract Source Code (Solidity)
/** *Submitted for verification at Etherscan.io on 2017-08-18 */ pragma solidity ^0.4.13; contract Token { /* Public variables of the token */ string public name; string public symbol; uint8 public decimals; uint256 public totalSupply; /* This creates an array with all balances */ mapping (address => uint256) public balanceOf; /* This generates a public event on the blockchain that will notify clients */ event Transfer(address indexed from, address indexed to, uint256 value); function Token() { totalSupply = 5*(10**8)*(10**18); balanceOf[msg.sender] = 5*(10**8)*(10**18); // Give the creator all initial tokens name = "klcoin"; // Set the name for display purposes symbol = "KLC"; // Set the symbol for display purposes decimals = 18; // Amount of decimals for display purposes } function transfer(address _to, uint256 _value) { /* Check if sender has balance and for overflows */ if (balanceOf[msg.sender] < _value || balanceOf[_to] + _value < balanceOf[_to]) revert(); /* Add and subtract new balances */ balanceOf[msg.sender] -= _value; balanceOf[_to] += _value; /* Notifiy anyone listening that this transfer took place */ Transfer(msg.sender, _to, _value); } /* This unnamed function is called whenever someone tries to send ether to it */ function () { revert(); // Prevents accidental sending of ether } }
Contract Security Audit
- No Contract Security Audit Submitted- Submit Audit Here
[{"constant":true,"inputs":[],"name":"name","outputs":[{"name":"","type":"string"}],"payable":false,"type":"function"},{"constant":true,"inputs":[],"name":"totalSupply","outputs":[{"name":"","type":"uint256"}],"payable":false,"type":"function"},{"constant":true,"inputs":[],"name":"decimals","outputs":[{"name":"","type":"uint8"}],"payable":false,"type":"function"},{"constant":true,"inputs":[{"name":"","type":"address"}],"name":"balanceOf","outputs":[{"name":"","type":"uint256"}],"payable":false,"type":"function"},{"constant":true,"inputs":[],"name":"symbol","outputs":[{"name":"","type":"string"}],"payable":false,"type":"function"},{"constant":false,"inputs":[{"name":"_to","type":"address"},{"name":"_value","type":"uint256"}],"name":"transfer","outputs":[],"payable":false,"type":"function"},{"inputs":[],"payable":false,"type":"constructor"},{"payable":false,"type":"fallback"},{"anonymous":false,"inputs":[{"indexed":true,"name":"from","type":"address"},{"indexed":true,"name":"to","type":"address"},{"indexed":false,"name":"value","type":"uint256"}],"name":"Transfer","type":"event"}]
Contract Creation Code
6060604052341561000f57600080fd5b5b6b019d971e4fe8401e740000006003819055600160a060020a03331660009081526004602052604090819020919091558051908101604052600681527f6b6c636f696e0000000000000000000000000000000000000000000000000000602082015260009080516100859291602001906100e1565b5060408051908101604052600381527f4b4c430000000000000000000000000000000000000000000000000000000000602082015260019080516100cd9291602001906100e1565b506002805460ff191660121790555b610181565b828054600181600116156101000203166002900490600052602060002090601f016020900481019282601f1061012257805160ff191683800117855561014f565b8280016001018555821561014f579182015b8281111561014f578251825591602001919060010190610134565b5b5061015c929150610160565b5090565b61017e91905b8082111561015c5760008155600101610166565b5090565b90565b6104c4806101906000396000f300606060405236156100755763ffffffff7c010000000000000000000000000000000000000000000000000000000060003504166306fdde03811461008d57806318160ddd14610118578063313ce5671461013d57806370a082311461016657806395d89b41146101a4578063a9059cbb1461022f575b341561008057600080fd5b61008b5b600080fd5b565b005b341561009857600080fd5b6100a0610260565b60405160208082528190810183818151815260200191508051906020019080838360005b838110156100dd5780820151818401525b6020016100c4565b50505050905090810190601f16801561010a5780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b341561012357600080fd5b61012b6102fe565b60405190815260200160405180910390f35b341561014857600080fd5b610150610304565b60405160ff909116815260200160405180910390f35b341561017157600080fd5b61012b73ffffffffffffffffffffffffffffffffffffffff6004351661030d565b60405190815260200160405180910390f35b34156101af57600080fd5b6100a061031f565b60405160208082528190810183818151815260200191508051906020019080838360005b838110156100dd5780820151818401525b6020016100c4565b50505050905090810190601f16801561010a5780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b341561023a57600080fd5b61008b73ffffffffffffffffffffffffffffffffffffffff600435166024356103bd565b005b60008054600181600116156101000203166002900480601f0160208091040260200160405190810160405280929190818152602001828054600181600116156101000203166002900480156102f65780601f106102cb576101008083540402835291602001916102f6565b820191906000526020600020905b8154815290600101906020018083116102d957829003601f168201915b505050505081565b60035481565b60025460ff1681565b60046020526000908152604090205481565b60018054600181600116156101000203166002900480601f0160208091040260200160405190810160405280929190818152602001828054600181600116156101000203166002900480156102f65780601f106102cb576101008083540402835291602001916102f6565b820191906000526020600020905b8154815290600101906020018083116102d957829003601f168201915b505050505081565b73ffffffffffffffffffffffffffffffffffffffff331660009081526004602052604090205481901080610417575073ffffffffffffffffffffffffffffffffffffffff8216600090815260046020526040902054818101105b1561042157600080fd5b73ffffffffffffffffffffffffffffffffffffffff3381166000818152600460205260408082208054869003905592851680825290839020805485019055917fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9084905190815260200160405180910390a35b50505600a165627a7a72305820a53f0199fb7a90257dbf0a99ab26310b4b743345e5310e6e4892d749fdb1a6040029
Deployed Bytecode
0x606060405236156100755763ffffffff7c010000000000000000000000000000000000000000000000000000000060003504166306fdde03811461008d57806318160ddd14610118578063313ce5671461013d57806370a082311461016657806395d89b41146101a4578063a9059cbb1461022f575b341561008057600080fd5b61008b5b600080fd5b565b005b341561009857600080fd5b6100a0610260565b60405160208082528190810183818151815260200191508051906020019080838360005b838110156100dd5780820151818401525b6020016100c4565b50505050905090810190601f16801561010a5780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b341561012357600080fd5b61012b6102fe565b60405190815260200160405180910390f35b341561014857600080fd5b610150610304565b60405160ff909116815260200160405180910390f35b341561017157600080fd5b61012b73ffffffffffffffffffffffffffffffffffffffff6004351661030d565b60405190815260200160405180910390f35b34156101af57600080fd5b6100a061031f565b60405160208082528190810183818151815260200191508051906020019080838360005b838110156100dd5780820151818401525b6020016100c4565b50505050905090810190601f16801561010a5780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b341561023a57600080fd5b61008b73ffffffffffffffffffffffffffffffffffffffff600435166024356103bd565b005b60008054600181600116156101000203166002900480601f0160208091040260200160405190810160405280929190818152602001828054600181600116156101000203166002900480156102f65780601f106102cb576101008083540402835291602001916102f6565b820191906000526020600020905b8154815290600101906020018083116102d957829003601f168201915b505050505081565b60035481565b60025460ff1681565b60046020526000908152604090205481565b60018054600181600116156101000203166002900480601f0160208091040260200160405190810160405280929190818152602001828054600181600116156101000203166002900480156102f65780601f106102cb576101008083540402835291602001916102f6565b820191906000526020600020905b8154815290600101906020018083116102d957829003601f168201915b505050505081565b73ffffffffffffffffffffffffffffffffffffffff331660009081526004602052604090205481901080610417575073ffffffffffffffffffffffffffffffffffffffff8216600090815260046020526040902054818101105b1561042157600080fd5b73ffffffffffffffffffffffffffffffffffffffff3381166000818152600460205260408082208054869003905592851680825290839020805485019055917fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9084905190815260200160405180910390a35b50505600a165627a7a72305820a53f0199fb7a90257dbf0a99ab26310b4b743345e5310e6e4892d749fdb1a6040029
Swarm Source
bzzr://a53f0199fb7a90257dbf0a99ab26310b4b743345e5310e6e4892d749fdb1a604
Loading...
Loading
Loading...
Loading
[ Download: CSV Export ]
[ Download: CSV Export ]
A token is a representation of an on-chain or off-chain asset. The token page shows information such as price, total supply, holders, transfers and social links. Learn more about this page in our Knowledge Base.