Feature Tip: Add private address tag to any address under My Name Tag !
ERC-20
Overview
Max Total Supply
21,000,000,000 CCC
Holders
2,571
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:
CCCToken
Compiler Version
v0.5.3+commit.10d17f24
Optimization Enabled:
Yes with 200 runs
Other Settings:
default evmVersion
Contract Source Code (Solidity)
/** *Submitted for verification at Etherscan.io on 2019-01-31 */ pragma solidity ^0.5.3; contract Token { /// @return total amount of tokens function totalSupply() public view returns (uint256 supply) {} /// @param _owner The address from which the balance will be retrieved /// @return The balance function balanceOf(address _owner) public view returns (uint256 balance) {} /// @notice send `_value` token to `_to` from `msg.sender` /// @param _to The address of the recipient /// @param _value The amount of token to be transferred /// @return Whether the transfer was successful or not function transfer(address _to, uint256 _value) public returns (bool success) {} /// @notice send `_value` token to `_to` from `_from` on the condition it is approved by `_from` /// @param _from The address of the sender /// @param _to The address of the recipient /// @param _value The amount of token to be transferred /// @return Whether the transfer was successful or not function transferFrom(address _from, address _to, uint256 _value) public returns (bool success) {} /// @notice `msg.sender` approves `_addr` to spend `_value` tokens /// @param _spender The address of the account able to transfer the tokens /// @param _value The amount of wei to be approved for transfer /// @return Whether the approval was successful or not function approve(address _spender, uint256 _value) public returns (bool success) {} /// @param _owner The address of the account owning tokens /// @param _spender The address of the account able to transfer the tokens /// @return Amount of remaining tokens allowed to spent function allowance(address _owner, address _spender) public view returns (uint256 remaining) {} event Transfer(address indexed _from, address indexed _to, uint256 _value); event Approval(address indexed _owner, address indexed _spender, uint256 _value); } contract Ownable { address public owner; modifier onlyOwner() { if (msg.sender != owner) { revert(); } _; } constructor() public { owner = msg.sender; } function transferOwnership(address newOwner) public onlyOwner { if (newOwner != address(0)) { owner = newOwner; } } } contract Stoppable is Ownable { bool public stopped; constructor() public { stopped = false; } modifier stoppable() { if (stopped) { revert(); } _; } function stop() public onlyOwner { stopped = true; } function start() public onlyOwner { stopped = false; } } contract StandardToken is Token, Stoppable { function transfer(address _to, uint256 _value) public stoppable returns (bool success) { if (_value > 0 && balances[msg.sender] >= _value && balances[_to] + _value > balances[_to]) { balances[msg.sender] -= _value; balances[_to] += _value; emit Transfer(msg.sender, _to, _value); return true; } else { return false; } } function transferFrom(address _from, address _to, uint256 _value) public stoppable returns (bool success) { if (balances[_from] >= _value && allowed[_from][msg.sender] >= _value && balances[_to] + _value > balances[_to] && _value > 0) { allowed[_from][msg.sender] -= _value; balances[_from] -= _value; balances[_to] += _value; emit Transfer(_from, _to, _value); return true; } else { return false; } } function balanceOf(address _owner) public view returns (uint256 balance) { return balances[_owner]; } function approve(address _spender, uint256 _value) public stoppable returns (bool success) { allowed[msg.sender][_spender] = _value; emit Approval(msg.sender, _spender, _value); return true; } function allowance(address _owner, address _spender) public stoppable view returns (uint256 remaining) { return allowed[_owner][_spender]; } function totalSupply() public view returns (uint256 supply) { return _totalSupply; } mapping (address => uint256) balances; mapping (address => mapping (address => uint256)) allowed; uint256 public _totalSupply; } contract CCCToken is StandardToken { function () external { /// If ether is sent to this address, send it back. revert(); } string public name = 'Coinchat Coin'; uint8 public decimals = 18; string public symbol = 'CCC'; string public version = 'v201901311334'; constructor() public { balances[msg.sender] = 21000000000000000000000000000; _totalSupply = 21000000000000000000000000000; name = "Coinchat Coin"; decimals = 18; symbol = "CCC"; } }
Contract Security Audit
- No Contract Security Audit Submitted- Submit Audit Here
[{"constant":true,"inputs":[],"name":"name","outputs":[{"name":"","type":"string"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[],"name":"stop","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[{"name":"_spender","type":"address"},{"name":"_value","type":"uint256"}],"name":"approve","outputs":[{"name":"success","type":"bool"}],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[],"name":"totalSupply","outputs":[{"name":"supply","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[{"name":"_from","type":"address"},{"name":"_to","type":"address"},{"name":"_value","type":"uint256"}],"name":"transferFrom","outputs":[{"name":"success","type":"bool"}],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[],"name":"decimals","outputs":[{"name":"","type":"uint8"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"_totalSupply","outputs":[{"name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"version","outputs":[{"name":"","type":"string"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[{"name":"_owner","type":"address"}],"name":"balanceOf","outputs":[{"name":"balance","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"stopped","outputs":[{"name":"","type":"bool"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"owner","outputs":[{"name":"","type":"address"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"symbol","outputs":[{"name":"","type":"string"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[{"name":"_to","type":"address"},{"name":"_value","type":"uint256"}],"name":"transfer","outputs":[{"name":"success","type":"bool"}],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[],"name":"start","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[{"name":"_owner","type":"address"},{"name":"_spender","type":"address"}],"name":"allowance","outputs":[{"name":"remaining","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[{"name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"inputs":[],"payable":false,"stateMutability":"nonpayable","type":"constructor"},{"payable":false,"stateMutability":"nonpayable","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"},{"anonymous":false,"inputs":[{"indexed":true,"name":"_owner","type":"address"},{"indexed":true,"name":"_spender","type":"address"},{"indexed":false,"name":"_value","type":"uint256"}],"name":"Approval","type":"event"}]
Contract Creation Code
60c0604052600d60808190527f436f696e6368617420436f696e0000000000000000000000000000000000000060a090815261003e91600491906101be565b506005805460ff191660121790556040805180820190915260038082527f43434300000000000000000000000000000000000000000000000000000000006020909201918252610090916006916101be565b5060408051808201909152600d8082527f763230313930313331313333340000000000000000000000000000000000000060209092019182526100d5916007916101be565b503480156100e257600080fd5b506000805433600160a060020a0319909116811760a060020a60ff02191682558152600160209081526040918290206b43dacaf91c1a84ff08000000908190556003558151808301909252600d8083527f436f696e6368617420436f696e0000000000000000000000000000000000000092909101918252610166916004916101be565b506005805460ff191660121790556040805180820190915260038082527f434343000000000000000000000000000000000000000000000000000000000060209092019182526101b8916006916101be565b50610259565b828054600181600116156101000203166002900490600052602060002090601f016020900481019282601f106101ff57805160ff191683800117855561022c565b8280016001018555821561022c579182015b8281111561022c578251825591602001919060010190610211565b5061023892915061023c565b5090565b61025691905b808211156102385760008155600101610242565b90565b610894806102686000396000f3fe608060405234801561001057600080fd5b506004361061011d576000357c01000000000000000000000000000000000000000000000000000000009004806370a08231116100b4578063a9059cbb11610083578063a9059cbb146102c1578063be9a6555146102ed578063dd62ed3e146102f5578063f2fde38b146103235761011d565b806370a082311461026757806375f12b211461028d5780638da5cb5b1461029557806395d89b41146102b95761011d565b806323b872dd116100f057806323b872dd14610203578063313ce567146102395780633eaaf86b1461025757806354fd4d501461025f5761011d565b806306fdde031461012257806307da68f51461019f578063095ea7b3146101a957806318160ddd146101e9575b600080fd5b61012a610349565b6040805160208082528351818301528351919283929083019185019080838360005b8381101561016457818101518382015260200161014c565b50505050905090810190601f1680156101915780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b6101a76103d7565b005b6101d5600480360360408110156101bf57600080fd5b50600160a060020a038135169060200135610414565b604080519115158252519081900360200190f35b6101f1610494565b60408051918252519081900360200190f35b6101d56004803603606081101561021957600080fd5b50600160a060020a0381358116916020810135909116906040013561049a565b6102416105c6565b6040805160ff9092168252519081900360200190f35b6101f16105cf565b61012a6105d5565b6101f16004803603602081101561027d57600080fd5b5035600160a060020a0316610630565b6101d561064b565b61029d61065b565b60408051600160a060020a039092168252519081900360200190f35b61012a61066a565b6101d5600480360360408110156102d757600080fd5b50600160a060020a0381351690602001356106c5565b6101a761079b565b6101f16004803603604081101561030b57600080fd5b50600160a060020a03813581169160200135166107d2565b6101a76004803603602081101561033957600080fd5b5035600160a060020a0316610816565b6004805460408051602060026001851615610100026000190190941693909304601f810184900484028201840190925281815292918301828280156103cf5780601f106103a4576101008083540402835291602001916103cf565b820191906000526020600020905b8154815290600101906020018083116103b257829003601f168201915b505050505081565b600054600160a060020a031633146103ee57600080fd5b6000805474ff0000000000000000000000000000000000000000191660a060020a179055565b6000805460a060020a900460ff161561042c57600080fd5b336000818152600260209081526040808320600160a060020a03881680855290835292819020869055805186815290519293927f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925929181900390910190a35060015b92915050565b60035490565b6000805460a060020a900460ff16156104b257600080fd5b600160a060020a03841660009081526001602052604090205482118015906104fd5750600160a060020a03841660009081526002602090815260408083203384529091529020548211155b80156105225750600160a060020a038316600090815260016020526040902054828101115b801561052e5750600082115b156105bb57600160a060020a0380851660008181526002602090815260408083203384528252808320805488900390558383526001825280832080548890039055938716808352918490208054870190558351868152935191937fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef929081900390910190a35060016105bf565b5060005b9392505050565b60055460ff1681565b60035481565b6007805460408051602060026001851615610100026000190190941693909304601f810184900484028201840190925281815292918301828280156103cf5780601f106103a4576101008083540402835291602001916103cf565b600160a060020a031660009081526001602052604090205490565b60005460a060020a900460ff1681565b600054600160a060020a031681565b6006805460408051602060026001851615610100026000190190941693909304601f810184900484028201840190925281815292918301828280156103cf5780601f106103a4576101008083540402835291602001916103cf565b6000805460a060020a900460ff16156106dd57600080fd5b6000821180156106fc5750336000908152600160205260409020548211155b80156107215750600160a060020a038316600090815260016020526040902054828101115b156107935733600081815260016020908152604080832080548790039055600160a060020a03871680845292819020805487019055805186815290519293927fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef929181900390910190a350600161048e565b50600061048e565b600054600160a060020a031633146107b257600080fd5b6000805474ff000000000000000000000000000000000000000019169055565b6000805460a060020a900460ff16156107ea57600080fd5b50600160a060020a03918216600090815260026020908152604080832093909416825291909152205490565b600054600160a060020a0316331461082d57600080fd5b600160a060020a03811615610865576000805473ffffffffffffffffffffffffffffffffffffffff1916600160a060020a0383161790555b5056fea165627a7a723058200dac34107b9e5841da375fec8aba6933ce7f1d7863caa3e402b1a3ca571543e90029
Deployed Bytecode
0x608060405234801561001057600080fd5b506004361061011d576000357c01000000000000000000000000000000000000000000000000000000009004806370a08231116100b4578063a9059cbb11610083578063a9059cbb146102c1578063be9a6555146102ed578063dd62ed3e146102f5578063f2fde38b146103235761011d565b806370a082311461026757806375f12b211461028d5780638da5cb5b1461029557806395d89b41146102b95761011d565b806323b872dd116100f057806323b872dd14610203578063313ce567146102395780633eaaf86b1461025757806354fd4d501461025f5761011d565b806306fdde031461012257806307da68f51461019f578063095ea7b3146101a957806318160ddd146101e9575b600080fd5b61012a610349565b6040805160208082528351818301528351919283929083019185019080838360005b8381101561016457818101518382015260200161014c565b50505050905090810190601f1680156101915780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b6101a76103d7565b005b6101d5600480360360408110156101bf57600080fd5b50600160a060020a038135169060200135610414565b604080519115158252519081900360200190f35b6101f1610494565b60408051918252519081900360200190f35b6101d56004803603606081101561021957600080fd5b50600160a060020a0381358116916020810135909116906040013561049a565b6102416105c6565b6040805160ff9092168252519081900360200190f35b6101f16105cf565b61012a6105d5565b6101f16004803603602081101561027d57600080fd5b5035600160a060020a0316610630565b6101d561064b565b61029d61065b565b60408051600160a060020a039092168252519081900360200190f35b61012a61066a565b6101d5600480360360408110156102d757600080fd5b50600160a060020a0381351690602001356106c5565b6101a761079b565b6101f16004803603604081101561030b57600080fd5b50600160a060020a03813581169160200135166107d2565b6101a76004803603602081101561033957600080fd5b5035600160a060020a0316610816565b6004805460408051602060026001851615610100026000190190941693909304601f810184900484028201840190925281815292918301828280156103cf5780601f106103a4576101008083540402835291602001916103cf565b820191906000526020600020905b8154815290600101906020018083116103b257829003601f168201915b505050505081565b600054600160a060020a031633146103ee57600080fd5b6000805474ff0000000000000000000000000000000000000000191660a060020a179055565b6000805460a060020a900460ff161561042c57600080fd5b336000818152600260209081526040808320600160a060020a03881680855290835292819020869055805186815290519293927f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925929181900390910190a35060015b92915050565b60035490565b6000805460a060020a900460ff16156104b257600080fd5b600160a060020a03841660009081526001602052604090205482118015906104fd5750600160a060020a03841660009081526002602090815260408083203384529091529020548211155b80156105225750600160a060020a038316600090815260016020526040902054828101115b801561052e5750600082115b156105bb57600160a060020a0380851660008181526002602090815260408083203384528252808320805488900390558383526001825280832080548890039055938716808352918490208054870190558351868152935191937fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef929081900390910190a35060016105bf565b5060005b9392505050565b60055460ff1681565b60035481565b6007805460408051602060026001851615610100026000190190941693909304601f810184900484028201840190925281815292918301828280156103cf5780601f106103a4576101008083540402835291602001916103cf565b600160a060020a031660009081526001602052604090205490565b60005460a060020a900460ff1681565b600054600160a060020a031681565b6006805460408051602060026001851615610100026000190190941693909304601f810184900484028201840190925281815292918301828280156103cf5780601f106103a4576101008083540402835291602001916103cf565b6000805460a060020a900460ff16156106dd57600080fd5b6000821180156106fc5750336000908152600160205260409020548211155b80156107215750600160a060020a038316600090815260016020526040902054828101115b156107935733600081815260016020908152604080832080548790039055600160a060020a03871680845292819020805487019055805186815290519293927fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef929181900390910190a350600161048e565b50600061048e565b600054600160a060020a031633146107b257600080fd5b6000805474ff000000000000000000000000000000000000000019169055565b6000805460a060020a900460ff16156107ea57600080fd5b50600160a060020a03918216600090815260026020908152604080832093909416825291909152205490565b600054600160a060020a0316331461082d57600080fd5b600160a060020a03811615610865576000805473ffffffffffffffffffffffffffffffffffffffff1916600160a060020a0383161790555b5056fea165627a7a723058200dac34107b9e5841da375fec8aba6933ce7f1d7863caa3e402b1a3ca571543e90029
Swarm Source
bzzr://0dac34107b9e5841da375fec8aba6933ce7f1d7863caa3e402b1a3ca571543e9
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.