ERC-20
Overview
Max Total Supply
7,000,000,000 CMCLToken
Holders
2
Market
Onchain Market Cap
$0.00
Circulating Supply Market Cap
-
Other Info
Token Contract (WITH 18 Decimals)
Balance
6,999,999,900 CMCLTokenValue
$0.00Loading...
Loading
Loading...
Loading
Loading...
Loading
# | Exchange | Pair | Price | 24H Volume | % Volume |
---|
Contract Source Code Verified (Exact Match)
Contract Name:
CMCLToken
Compiler Version
v0.4.21+commit.dfe3193c
Optimization Enabled:
Yes with 200 runs
Other Settings:
default evmVersion
Contract Source Code (Solidity)
/** *Submitted for verification at Etherscan.io on 2018-06-12 */ pragma solidity ^0.4.16; contract Utils { function Utils() public { } modifier greaterThanZero(uint256 _amount) { require(_amount > 0); _; } modifier validAddress(address _address) { require(_address != 0x0); _; } modifier notThis(address _address) { require(_address != address(this)); _; } function safeAdd(uint256 _x, uint256 _y) internal pure returns (uint256) { uint256 z = _x + _y; assert(z >= _x); return z; } function safeSub(uint256 _x, uint256 _y) internal pure returns (uint256) { assert(_x >= _y); return _x - _y; } function safeMul(uint256 _x, uint256 _y) internal pure returns (uint256) { uint256 z = _x * _y; assert(_x == 0 || z / _x == _y); return z; } } contract owned { address public owner; function owned() public { owner = msg.sender; } modifier onlyOwner { require (msg.sender == owner); _; } function transferOwnership(address newOwner) onlyOwner public{ owner = newOwner; } } contract CMCLToken is owned, Utils { string public name; string public symbol; uint8 public decimals = 18; uint256 public totalSupply; mapping (address => uint256) public balanceOf; event Transfer(address indexed from, address indexed to, uint256 value); event Burn(address indexed from, uint256 value); function CMCLToken(uint256 initialSupply, string tokenName, string tokenSymbol) public { totalSupply = initialSupply * 10 ** uint256(decimals); balanceOf[msg.sender] = totalSupply; name = tokenName; symbol = tokenSymbol; } function _transfer(address _from, address _to, uint256 _value) internal { require(_to != 0x0); require(balanceOf[_from] >= _value); require(balanceOf[_to] + _value > balanceOf[_to]); uint256 previousBalances = safeAdd(balanceOf[_from], balanceOf[_to]); balanceOf[_from] = safeSub(balanceOf[_from], _value); balanceOf[_to] = safeAdd(balanceOf[_to], _value); emit Transfer(_from, _to, _value); assert(balanceOf[_from] + balanceOf[_to] == previousBalances); } function transfer(address _to, uint256 _value) public { _transfer(msg.sender, _to, _value); } function burn(uint256 _value) public onlyOwner returns (bool success) { require(balanceOf[msg.sender] >= _value); balanceOf[msg.sender] -= _value; totalSupply -= _value; emit Burn(msg.sender, _value); return true; } }
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":true,"inputs":[],"name":"totalSupply","outputs":[{"name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"decimals","outputs":[{"name":"","type":"uint8"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[{"name":"_value","type":"uint256"}],"name":"burn","outputs":[{"name":"success","type":"bool"}],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[{"name":"","type":"address"}],"name":"balanceOf","outputs":[{"name":"","type":"uint256"}],"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":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[{"name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"inputs":[{"name":"initialSupply","type":"uint256"},{"name":"tokenName","type":"string"},{"name":"tokenSymbol","type":"string"}],"payable":false,"stateMutability":"nonpayable","type":"constructor"},{"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":"from","type":"address"},{"indexed":false,"name":"value","type":"uint256"}],"name":"Burn","type":"event"}]
Contract Creation Code
60606040526003805460ff19166012179055341561001c57600080fd5b60405161079b38038061079b833981016040528080519190602001805182019190602001805160008054600160a060020a033316600160a060020a03199091168117825560035460ff16600a0a870260048190559082526005602052604090912055909101905060018280516100969291602001906100b3565b5060028180516100aa9291602001906100b3565b5050505061014e565b828054600181600116156101000203166002900490600052602060002090601f016020900481019282601f106100f457805160ff1916838001178555610121565b82800160010185558215610121579182015b82811115610121578251825591602001919060010190610106565b5061012d929150610131565b5090565b61014b91905b8082111561012d5760008155600101610137565b90565b61063e8061015d6000396000f3006060604052600436106100985763ffffffff7c010000000000000000000000000000000000000000000000000000000060003504166306fdde03811461009d57806318160ddd14610127578063313ce5671461014c57806342966c681461017557806370a082311461019f5780638da5cb5b146101be57806395d89b41146101ed578063a9059cbb14610200578063f2fde38b14610224575b600080fd5b34156100a857600080fd5b6100b0610243565b60405160208082528190810183818151815260200191508051906020019080838360005b838110156100ec5780820151838201526020016100d4565b50505050905090810190601f1680156101195780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b341561013257600080fd5b61013a6102e1565b60405190815260200160405180910390f35b341561015757600080fd5b61015f6102e7565b60405160ff909116815260200160405180910390f35b341561018057600080fd5b61018b6004356102f0565b604051901515815260200160405180910390f35b34156101aa57600080fd5b61013a600160a060020a0360043516610397565b34156101c957600080fd5b6101d16103a9565b604051600160a060020a03909116815260200160405180910390f35b34156101f857600080fd5b6100b06103b8565b341561020b57600080fd5b610222600160a060020a0360043516602435610423565b005b341561022f57600080fd5b610222600160a060020a0360043516610432565b60018054600181600116156101000203166002900480601f0160208091040260200160405190810160405280929190818152602001828054600181600116156101000203166002900480156102d95780601f106102ae576101008083540402835291602001916102d9565b820191906000526020600020905b8154815290600101906020018083116102bc57829003601f168201915b505050505081565b60045481565b60035460ff1681565b6000805433600160a060020a0390811691161461030c57600080fd5b600160a060020a0333166000908152600560205260409020548290101561033257600080fd5b600160a060020a03331660008181526005602052604090819020805485900390556004805485900390557fcc16f5dbb4873280815c1ee09dbd06736cffcc184412cf7a71a0fdb75d397ca59084905190815260200160405180910390a2506001919050565b60056020526000908152604090205481565b600054600160a060020a031681565b60028054600181600116156101000203166002900480601f0160208091040260200160405190810160405280929190818152602001828054600181600116156101000203166002900480156102d95780601f106102ae576101008083540402835291602001916102d9565b61042e33838361047c565b5050565b60005433600160a060020a0390811691161461044d57600080fd5b6000805473ffffffffffffffffffffffffffffffffffffffff1916600160a060020a0392909216919091179055565b6000600160a060020a038316151561049357600080fd5b600160a060020a038416600090815260056020526040902054829010156104b957600080fd5b600160a060020a038316600090815260056020526040902054828101116104df57600080fd5b600160a060020a0380851660009081526005602052604080822054928616825290205461050c91906105ea565b600160a060020a0385166000908152600560205260409020549091506105329083610600565b600160a060020a03808616600090815260056020526040808220939093559085168152205461056190836105ea565b600160a060020a03808516600081815260056020526040908190209390935591908616907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9085905190815260200160405180910390a3600160a060020a038084166000908152600560205260408082205492871682529020540181146105e457fe5b50505050565b6000828201838110156105f957fe5b9392505050565b60008183101561060c57fe5b509003905600a165627a7a7230582013def839e9e83b811368b315fef98489650cdce5f08b6d4981825af9363b6e0a002900000000000000000000000000000000000000000000000000000001a13b8600000000000000000000000000000000000000000000000000000000000000006000000000000000000000000000000000000000000000000000000000000000a00000000000000000000000000000000000000000000000000000000000000009434d434c546f6b656e00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000009434d434c546f6b656e0000000000000000000000000000000000000000000000
Deployed Bytecode
0x6060604052600436106100985763ffffffff7c010000000000000000000000000000000000000000000000000000000060003504166306fdde03811461009d57806318160ddd14610127578063313ce5671461014c57806342966c681461017557806370a082311461019f5780638da5cb5b146101be57806395d89b41146101ed578063a9059cbb14610200578063f2fde38b14610224575b600080fd5b34156100a857600080fd5b6100b0610243565b60405160208082528190810183818151815260200191508051906020019080838360005b838110156100ec5780820151838201526020016100d4565b50505050905090810190601f1680156101195780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b341561013257600080fd5b61013a6102e1565b60405190815260200160405180910390f35b341561015757600080fd5b61015f6102e7565b60405160ff909116815260200160405180910390f35b341561018057600080fd5b61018b6004356102f0565b604051901515815260200160405180910390f35b34156101aa57600080fd5b61013a600160a060020a0360043516610397565b34156101c957600080fd5b6101d16103a9565b604051600160a060020a03909116815260200160405180910390f35b34156101f857600080fd5b6100b06103b8565b341561020b57600080fd5b610222600160a060020a0360043516602435610423565b005b341561022f57600080fd5b610222600160a060020a0360043516610432565b60018054600181600116156101000203166002900480601f0160208091040260200160405190810160405280929190818152602001828054600181600116156101000203166002900480156102d95780601f106102ae576101008083540402835291602001916102d9565b820191906000526020600020905b8154815290600101906020018083116102bc57829003601f168201915b505050505081565b60045481565b60035460ff1681565b6000805433600160a060020a0390811691161461030c57600080fd5b600160a060020a0333166000908152600560205260409020548290101561033257600080fd5b600160a060020a03331660008181526005602052604090819020805485900390556004805485900390557fcc16f5dbb4873280815c1ee09dbd06736cffcc184412cf7a71a0fdb75d397ca59084905190815260200160405180910390a2506001919050565b60056020526000908152604090205481565b600054600160a060020a031681565b60028054600181600116156101000203166002900480601f0160208091040260200160405190810160405280929190818152602001828054600181600116156101000203166002900480156102d95780601f106102ae576101008083540402835291602001916102d9565b61042e33838361047c565b5050565b60005433600160a060020a0390811691161461044d57600080fd5b6000805473ffffffffffffffffffffffffffffffffffffffff1916600160a060020a0392909216919091179055565b6000600160a060020a038316151561049357600080fd5b600160a060020a038416600090815260056020526040902054829010156104b957600080fd5b600160a060020a038316600090815260056020526040902054828101116104df57600080fd5b600160a060020a0380851660009081526005602052604080822054928616825290205461050c91906105ea565b600160a060020a0385166000908152600560205260409020549091506105329083610600565b600160a060020a03808616600090815260056020526040808220939093559085168152205461056190836105ea565b600160a060020a03808516600081815260056020526040908190209390935591908616907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9085905190815260200160405180910390a3600160a060020a038084166000908152600560205260408082205492871682529020540181146105e457fe5b50505050565b6000828201838110156105f957fe5b9392505050565b60008183101561060c57fe5b509003905600a165627a7a7230582013def839e9e83b811368b315fef98489650cdce5f08b6d4981825af9363b6e0a0029
Constructor Arguments (ABI-Encoded and is the last bytes of the Contract Creation Code above)
00000000000000000000000000000000000000000000000000000001a13b8600000000000000000000000000000000000000000000000000000000000000006000000000000000000000000000000000000000000000000000000000000000a00000000000000000000000000000000000000000000000000000000000000009434d434c546f6b656e00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000009434d434c546f6b656e0000000000000000000000000000000000000000000000
-----Decoded View---------------
Arg [0] : initialSupply (uint256): 7000000000
Arg [1] : tokenName (string): CMCLToken
Arg [2] : tokenSymbol (string): CMCLToken
-----Encoded View---------------
7 Constructor Arguments found :
Arg [0] : 00000000000000000000000000000000000000000000000000000001a13b8600
Arg [1] : 0000000000000000000000000000000000000000000000000000000000000060
Arg [2] : 00000000000000000000000000000000000000000000000000000000000000a0
Arg [3] : 0000000000000000000000000000000000000000000000000000000000000009
Arg [4] : 434d434c546f6b656e0000000000000000000000000000000000000000000000
Arg [5] : 0000000000000000000000000000000000000000000000000000000000000009
Arg [6] : 434d434c546f6b656e0000000000000000000000000000000000000000000000
Swarm Source
bzzr://13def839e9e83b811368b315fef98489650cdce5f08b6d4981825af9363b6e0a
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.