Feature Tip: Add private address tag to any address under My Name Tag !
Overview
Max Total Supply
2,000,000,000 CCC
Holders
44,431 (0.00%)
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:
Ccc
Compiler Version
v0.4.20-nightly.2018.1.6+commit.2548228b
Optimization Enabled:
Yes with 200 runs
Other Settings:
default evmVersion
Contract Source Code (Solidity)
/** *Submitted for verification at Etherscan.io on 2018-01-17 */ pragma solidity ^0.4.8; /////////////// // SAFE MATH // /////////////// contract SafeMath { function assert(bool assertion) internal { if (!assertion) { throw; } } // assert no longer needed once solidity is on 0.4.10 function safeAdd(uint256 x, uint256 y) internal returns(uint256) { uint256 z = x + y; assert((z >= x) && (z >= y)); return z; } function safeSubtract(uint256 x, uint256 y) internal returns(uint256) { assert(x >= y); uint256 z = x - y; return z; } function safeMult(uint256 x, uint256 y) internal returns(uint256) { uint256 z = x * y; assert((x == 0)||(z/x == y)); return z; } } //////////////////// // STANDARD TOKEN // //////////////////// contract Token { uint256 public totalSupply; function balanceOf(address _owner) constant returns (uint256 balance); function transfer(address _to, uint256 _value) returns (bool success); function transferFrom(address _from, address _to, uint256 _value) returns (bool success); function approve(address _spender, uint256 _value) returns (bool success); function allowance(address _owner, address _spender) constant returns (uint256 remaining); event Transfer(address indexed _from, address indexed _to, uint256 _value); event Approval(address indexed _owner, address indexed _spender, uint256 _value); } /* ERC 20 token */ contract StandardToken is Token { function transfer(address _to, uint256 _value) returns (bool success) { if (balances[msg.sender] >= _value && _value > 0) { balances[msg.sender] -= _value; balances[_to] += _value; Transfer(msg.sender, _to, _value); return true; } else { return false; } } function transferFrom(address _from, address _to, uint256 _value) returns (bool success) { if (balances[_from] >= _value && allowed[_from][msg.sender] >= _value && _value > 0) { balances[_to] += _value; balances[_from] -= _value; allowed[_from][msg.sender] -= _value; Transfer(_from, _to, _value); return true; } else { return false; } } function balanceOf(address _owner) constant returns (uint256 balance) { return balances[_owner]; } function approve(address _spender, uint256 _value) returns (bool success) { allowed[msg.sender][_spender] = _value; Approval(msg.sender, _spender, _value); return true; } function allowance(address _owner, address _spender) constant returns (uint256 remaining) { return allowed[_owner][_spender]; } mapping (address => uint256) balances; mapping (address => mapping (address => uint256)) allowed; } ///////////////////// // HOT CHAIN TOKEN // ///////////////////// contract Ccc is StandardToken, SafeMath { // Descriptive properties string public constant name = "Coin Controller Cash"; string public constant symbol = "CCC"; uint256 public constant decimals = 18; uint256 public totalSupply = 2000000000 * 10**decimals; string public version = "1.0"; // Account for ether proceed. address public etherProceedsAccount; uint256 public constant CAP = 2000000000 * 10**decimals; // constructor function Ccc(address _etherProceedsAccount) { etherProceedsAccount = _etherProceedsAccount; balances[etherProceedsAccount] += CAP; Transfer(this, etherProceedsAccount, CAP); } function () payable public { require(msg.value == 0); } }
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":"_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":"","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":"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":"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":true,"inputs":[{"name":"_owner","type":"address"},{"name":"_spender","type":"address"}],"name":"allowance","outputs":[{"name":"remaining","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"CAP","outputs":[{"name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"etherProceedsAccount","outputs":[{"name":"","type":"address"}],"payable":false,"stateMutability":"view","type":"function"},{"inputs":[{"name":"_etherProceedsAccount","type":"address"}],"payable":false,"stateMutability":"nonpayable","type":"constructor"},{"payable":true,"stateMutability":"payable","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
606060409081526b06765c793fa10079d00000006003558051908101604052600381527f312e3000000000000000000000000000000000000000000000000000000000006020820152600490805161005b929160200190610106565b50341561006757600080fd5b6040516020806108148339810160405280805160058054600160a060020a031916600160a060020a038381169190911780835581166000908152600160205260409081902080546b06765c793fa10079d0000000908101909155925493955092811693503016917fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef91905190815260200160405180910390a3506101a1565b828054600181600116156101000203166002900490600052602060002090601f016020900481019282601f1061014757805160ff1916838001178555610174565b82800160010185558215610174579182015b82811115610174578251825591602001919060010190610159565b50610180929150610184565b5090565b61019e91905b80821115610180576000815560010161018a565b90565b610664806101b06000396000f3006060604052600436106100b95763ffffffff7c010000000000000000000000000000000000000000000000000000000060003504166306fdde0381146100c6578063095ea7b31461015057806318160ddd1461018657806323b872dd146101ab578063313ce567146101d357806354fd4d50146101e657806370a08231146101f957806395d89b4114610218578063a9059cbb1461022b578063dd62ed3e1461024d578063ec81b48314610272578063f3333e7f14610285575b34156100c457600080fd5b005b34156100d157600080fd5b6100d96102b4565b60405160208082528190810183818151815260200191508051906020019080838360005b838110156101155780820151838201526020016100fd565b50505050905090810190601f1680156101425780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b341561015b57600080fd5b610172600160a060020a03600435166024356102eb565b604051901515815260200160405180910390f35b341561019157600080fd5b610199610358565b60405190815260200160405180910390f35b34156101b657600080fd5b610172600160a060020a036004358116906024351660443561035e565b34156101de57600080fd5b610199610456565b34156101f157600080fd5b6100d961045b565b341561020457600080fd5b610199600160a060020a03600435166104f9565b341561022357600080fd5b6100d9610514565b341561023657600080fd5b610172600160a060020a036004351660243561054b565b341561025857600080fd5b610199600160a060020a03600435811690602435166105ee565b341561027d57600080fd5b610199610619565b341561029057600080fd5b610298610629565b604051600160a060020a03909116815260200160405180910390f35b60408051908101604052601481527f436f696e20436f6e74726f6c6c65722043617368000000000000000000000000602082015281565b600160a060020a03338116600081815260026020908152604080832094871680845294909152808220859055909291907f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b9259085905190815260200160405180910390a35060015b92915050565b60035481565b600160a060020a0383166000908152600160205260408120548290108015906103ae5750600160a060020a0380851660009081526002602090815260408083203390941683529290522054829010155b80156103ba5750600082115b1561044b57600160a060020a03808416600081815260016020908152604080832080548801905588851680845281842080548990039055600283528184203390961684529490915290819020805486900390559091907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9085905190815260200160405180910390a350600161044f565b5060005b9392505050565b601281565b60048054600181600116156101000203166002900480601f0160208091040260200160405190810160405280929190818152602001828054600181600116156101000203166002900480156104f15780601f106104c6576101008083540402835291602001916104f1565b820191906000526020600020905b8154815290600101906020018083116104d457829003601f168201915b505050505081565b600160a060020a031660009081526001602052604090205490565b60408051908101604052600381527f4343430000000000000000000000000000000000000000000000000000000000602082015281565b600160a060020a0333166000908152600160205260408120548290108015906105745750600082115b156105e657600160a060020a033381166000818152600160205260408082208054879003905592861680825290839020805486019055917fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9085905190815260200160405180910390a3506001610352565b506000610352565b600160a060020a03918216600090815260026020908152604080832093909416825291909152205490565b6b06765c793fa10079d000000081565b600554600160a060020a0316815600a165627a7a723058207ae2d1d44629744e7c9b34a5fb94bbe5e5c536aaab50ef782944c07f3754aecd00290000000000000000000000007160e66a83ee8cad4e6cc67da53d36b1a585aab1
Deployed Bytecode
0x6060604052600436106100b95763ffffffff7c010000000000000000000000000000000000000000000000000000000060003504166306fdde0381146100c6578063095ea7b31461015057806318160ddd1461018657806323b872dd146101ab578063313ce567146101d357806354fd4d50146101e657806370a08231146101f957806395d89b4114610218578063a9059cbb1461022b578063dd62ed3e1461024d578063ec81b48314610272578063f3333e7f14610285575b34156100c457600080fd5b005b34156100d157600080fd5b6100d96102b4565b60405160208082528190810183818151815260200191508051906020019080838360005b838110156101155780820151838201526020016100fd565b50505050905090810190601f1680156101425780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b341561015b57600080fd5b610172600160a060020a03600435166024356102eb565b604051901515815260200160405180910390f35b341561019157600080fd5b610199610358565b60405190815260200160405180910390f35b34156101b657600080fd5b610172600160a060020a036004358116906024351660443561035e565b34156101de57600080fd5b610199610456565b34156101f157600080fd5b6100d961045b565b341561020457600080fd5b610199600160a060020a03600435166104f9565b341561022357600080fd5b6100d9610514565b341561023657600080fd5b610172600160a060020a036004351660243561054b565b341561025857600080fd5b610199600160a060020a03600435811690602435166105ee565b341561027d57600080fd5b610199610619565b341561029057600080fd5b610298610629565b604051600160a060020a03909116815260200160405180910390f35b60408051908101604052601481527f436f696e20436f6e74726f6c6c65722043617368000000000000000000000000602082015281565b600160a060020a03338116600081815260026020908152604080832094871680845294909152808220859055909291907f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b9259085905190815260200160405180910390a35060015b92915050565b60035481565b600160a060020a0383166000908152600160205260408120548290108015906103ae5750600160a060020a0380851660009081526002602090815260408083203390941683529290522054829010155b80156103ba5750600082115b1561044b57600160a060020a03808416600081815260016020908152604080832080548801905588851680845281842080548990039055600283528184203390961684529490915290819020805486900390559091907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9085905190815260200160405180910390a350600161044f565b5060005b9392505050565b601281565b60048054600181600116156101000203166002900480601f0160208091040260200160405190810160405280929190818152602001828054600181600116156101000203166002900480156104f15780601f106104c6576101008083540402835291602001916104f1565b820191906000526020600020905b8154815290600101906020018083116104d457829003601f168201915b505050505081565b600160a060020a031660009081526001602052604090205490565b60408051908101604052600381527f4343430000000000000000000000000000000000000000000000000000000000602082015281565b600160a060020a0333166000908152600160205260408120548290108015906105745750600082115b156105e657600160a060020a033381166000818152600160205260408082208054879003905592861680825290839020805486019055917fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9085905190815260200160405180910390a3506001610352565b506000610352565b600160a060020a03918216600090815260026020908152604080832093909416825291909152205490565b6b06765c793fa10079d000000081565b600554600160a060020a0316815600a165627a7a723058207ae2d1d44629744e7c9b34a5fb94bbe5e5c536aaab50ef782944c07f3754aecd0029
Constructor Arguments (ABI-Encoded and is the last bytes of the Contract Creation Code above)
0000000000000000000000007160e66a83ee8cad4e6cc67da53d36b1a585aab1
-----Decoded View---------------
Arg [0] : _etherProceedsAccount (address): 0x7160e66a83eE8cAD4e6cC67da53d36B1A585aaB1
-----Encoded View---------------
1 Constructor Arguments found :
Arg [0] : 0000000000000000000000007160e66a83ee8cad4e6cc67da53d36b1a585aab1
Swarm Source
bzzr://7ae2d1d44629744e7c9b34a5fb94bbe5e5c536aaab50ef782944c07f3754aecd
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.