Feature Tip: Add private address tag to any address under My Name Tag !
ERC-20
Overview
Max Total Supply
100,000,000 CAB
Holders
14
Total Transfers
-
Market
Onchain Market Cap
$0.00
Circulating Supply Market Cap
-
Other Info
Token Contract (WITH 3 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-20 */ 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 = 1*(10**8)*(10**3); balanceOf[msg.sender] = 1*(10**8)*(10**3); // Give the creator all initial tokens name = "catcoin"; // Set the name for display purposes symbol = "CAB"; // Set the symbol for display purposes decimals = 3; // 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
6060604052341561000f57600080fd5b5b64174876e8006003819055600160a060020a03331660009081526004602052604090819020919091558051908101604052600781527f636174636f696e000000000000000000000000000000000000000000000000006020820152600090805161007e9291602001906100da565b5060408051908101604052600381527f4341420000000000000000000000000000000000000000000000000000000000602082015260019080516100c69291602001906100da565b506002805460ff191660031790555b61017a565b828054600181600116156101000203166002900490600052602060002090601f016020900481019282601f1061011b57805160ff1916838001178555610148565b82800160010185558215610148579182015b8281111561014857825182559160200191906001019061012d565b5b50610155929150610159565b5090565b61017791905b80821115610155576000815560010161015f565b5090565b90565b6104c4806101896000396000f300606060405236156100755763ffffffff7c010000000000000000000000000000000000000000000000000000000060003504166306fdde03811461008d57806318160ddd14610118578063313ce5671461013d57806370a082311461016657806395d89b41146101a4578063a9059cbb1461022f575b341561008057600080fd5b61008b5b600080fd5b565b005b341561009857600080fd5b6100a0610260565b60405160208082528190810183818151815260200191508051906020019080838360005b838110156100dd5780820151818401525b6020016100c4565b50505050905090810190601f16801561010a5780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b341561012357600080fd5b61012b6102fe565b60405190815260200160405180910390f35b341561014857600080fd5b610150610304565b60405160ff909116815260200160405180910390f35b341561017157600080fd5b61012b73ffffffffffffffffffffffffffffffffffffffff6004351661030d565b60405190815260200160405180910390f35b34156101af57600080fd5b6100a061031f565b60405160208082528190810183818151815260200191508051906020019080838360005b838110156100dd5780820151818401525b6020016100c4565b50505050905090810190601f16801561010a5780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b341561023a57600080fd5b61008b73ffffffffffffffffffffffffffffffffffffffff600435166024356103bd565b005b60008054600181600116156101000203166002900480601f0160208091040260200160405190810160405280929190818152602001828054600181600116156101000203166002900480156102f65780601f106102cb576101008083540402835291602001916102f6565b820191906000526020600020905b8154815290600101906020018083116102d957829003601f168201915b505050505081565b60035481565b60025460ff1681565b60046020526000908152604090205481565b60018054600181600116156101000203166002900480601f0160208091040260200160405190810160405280929190818152602001828054600181600116156101000203166002900480156102f65780601f106102cb576101008083540402835291602001916102f6565b820191906000526020600020905b8154815290600101906020018083116102d957829003601f168201915b505050505081565b73ffffffffffffffffffffffffffffffffffffffff331660009081526004602052604090205481901080610417575073ffffffffffffffffffffffffffffffffffffffff8216600090815260046020526040902054818101105b1561042157600080fd5b73ffffffffffffffffffffffffffffffffffffffff3381166000818152600460205260408082208054869003905592851680825290839020805485019055917fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9084905190815260200160405180910390a35b50505600a165627a7a72305820e59a5c0abb3696f699407f672571120209b7d2ff2612d98fda68372b64de45e90029
Deployed Bytecode
0x606060405236156100755763ffffffff7c010000000000000000000000000000000000000000000000000000000060003504166306fdde03811461008d57806318160ddd14610118578063313ce5671461013d57806370a082311461016657806395d89b41146101a4578063a9059cbb1461022f575b341561008057600080fd5b61008b5b600080fd5b565b005b341561009857600080fd5b6100a0610260565b60405160208082528190810183818151815260200191508051906020019080838360005b838110156100dd5780820151818401525b6020016100c4565b50505050905090810190601f16801561010a5780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b341561012357600080fd5b61012b6102fe565b60405190815260200160405180910390f35b341561014857600080fd5b610150610304565b60405160ff909116815260200160405180910390f35b341561017157600080fd5b61012b73ffffffffffffffffffffffffffffffffffffffff6004351661030d565b60405190815260200160405180910390f35b34156101af57600080fd5b6100a061031f565b60405160208082528190810183818151815260200191508051906020019080838360005b838110156100dd5780820151818401525b6020016100c4565b50505050905090810190601f16801561010a5780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b341561023a57600080fd5b61008b73ffffffffffffffffffffffffffffffffffffffff600435166024356103bd565b005b60008054600181600116156101000203166002900480601f0160208091040260200160405190810160405280929190818152602001828054600181600116156101000203166002900480156102f65780601f106102cb576101008083540402835291602001916102f6565b820191906000526020600020905b8154815290600101906020018083116102d957829003601f168201915b505050505081565b60035481565b60025460ff1681565b60046020526000908152604090205481565b60018054600181600116156101000203166002900480601f0160208091040260200160405190810160405280929190818152602001828054600181600116156101000203166002900480156102f65780601f106102cb576101008083540402835291602001916102f6565b820191906000526020600020905b8154815290600101906020018083116102d957829003601f168201915b505050505081565b73ffffffffffffffffffffffffffffffffffffffff331660009081526004602052604090205481901080610417575073ffffffffffffffffffffffffffffffffffffffff8216600090815260046020526040902054818101105b1561042157600080fd5b73ffffffffffffffffffffffffffffffffffffffff3381166000818152600460205260408082208054869003905592851680825290839020805485019055917fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9084905190815260200160405180910390a35b50505600a165627a7a72305820e59a5c0abb3696f699407f672571120209b7d2ff2612d98fda68372b64de45e90029
Swarm Source
bzzr://e59a5c0abb3696f699407f672571120209b7d2ff2612d98fda68372b64de45e9
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.