Feature Tip: Add private address tag to any address under My Name Tag !
ERC-20
Overview
Max Total Supply
600,000,000 CPMS
Holders
379
Market
Onchain Market Cap
$0.00
Circulating Supply Market Cap
-
Other Info
Token Contract (WITH 8 Decimals)
Balance
12,588.85583967 CPMSValue
$0.00Loading...
Loading
Loading...
Loading
Loading...
Loading
# | Exchange | Pair | Price | 24H Volume | % Volume |
---|
Contract Name:
ERC20_CRYPTOMILLION_CPMN
Compiler Version
v0.4.24+commit.e67f0147
Optimization Enabled:
Yes with 200 runs
Other Settings:
default evmVersion
Contract Source Code (Solidity)
/** *Submitted for verification at Etherscan.io on 2019-03-29 */ pragma solidity ^0.4.24; contract ERC20_CRYPTOMILLION_CPMN { string internal _name; string internal _symbol; uint8 internal _decimals; uint256 internal _totalSupply; mapping (address => uint256) internal balances; mapping (address => mapping (address => uint256)) internal allowed; event Transfer(address indexed from, address indexed to, uint256 value); event Approval(address indexed owner, address indexed spender, uint256 value); function CreateTokenERC20(string name, string symbol, uint8 decimals, uint256 totalSupply) public { _symbol = symbol; _name = name; _decimals = decimals; _totalSupply = totalSupply; balances[msg.sender] = totalSupply; } function name() public view returns (string) { return _name; } function symbol() public view returns (string) { return _symbol; } function decimals() public view returns (uint8) { return _decimals; } function totalSupply() public view returns (uint256) { return _totalSupply; } function mul(uint256 a, uint256 b) internal pure returns (uint256) { if (a == 0) return 0; uint256 c = a * b; assert(c / a == b); return c; } function div(uint256 a, uint256 b) internal pure returns (uint256) { uint256 c = a / b; return c; } function sub(uint256 a, uint256 b) internal pure returns (uint256) { assert(b <= a); return a - b; } function add(uint256 a, uint256 b) internal pure returns (uint256) { uint256 c = a + b; assert(c >= a); return c; } function transfer(address _to, uint256 _value) public returns (bool) { require(_to != address(0)); require(_value <= balances[msg.sender]); balances[msg.sender] = sub(balances[msg.sender], _value); balances[_to] = add(balances[_to], _value); emit Transfer(msg.sender, _to, _value); return true; } function balanceOf(address _owner) public view returns (uint256 balance) { return balances[_owner]; } function transferFrom(address _from, address _to, uint256 _value) public returns (bool) { require(_to != address(0)); require(_value <= balances[_from]); require(_value <= allowed[_from][msg.sender]); balances[_from] = sub(balances[_from], _value); balances[_to] = add(balances[_to], _value); allowed[_from][msg.sender] = sub(allowed[_from][msg.sender], _value); emit Transfer(_from, _to, _value); return true; } function approve(address _spender, uint256 _value) public returns (bool) { allowed[msg.sender][_spender] = _value; emit Approval(msg.sender, _spender, _value); return true; } function allowance(address _owner, address _spender) public view returns (uint256) { return allowed[_owner][_spender]; } function increaseApproval(address _spender, uint _addedValue) public returns (bool) { allowed[msg.sender][_spender] = add(allowed[msg.sender][_spender], _addedValue); emit Approval(msg.sender, _spender, allowed[msg.sender][_spender]); return true; } function decreaseApproval(address _spender, uint _subtractedValue) public returns (bool) { uint oldValue = allowed[msg.sender][_spender]; if (_subtractedValue > oldValue) { allowed[msg.sender][_spender] = 0; } else { allowed[msg.sender][_spender] = sub(oldValue, _subtractedValue); } emit Approval(msg.sender, _spender, allowed[msg.sender][_spender]); 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":false,"inputs":[{"name":"_spender","type":"address"},{"name":"_value","type":"uint256"}],"name":"approve","outputs":[{"name":"","type":"bool"}],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[{"name":"name","type":"string"},{"name":"symbol","type":"string"},{"name":"decimals","type":"uint8"},{"name":"totalSupply","type":"uint256"}],"name":"CreateTokenERC20","outputs":[],"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":"","type":"bool"}],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[],"name":"decimals","outputs":[{"name":"","type":"uint8"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[{"name":"_spender","type":"address"},{"name":"_subtractedValue","type":"uint256"}],"name":"decreaseApproval","outputs":[{"name":"","type":"bool"}],"payable":false,"stateMutability":"nonpayable","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":"","type":"bool"}],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[{"name":"_spender","type":"address"},{"name":"_addedValue","type":"uint256"}],"name":"increaseApproval","outputs":[{"name":"","type":"bool"}],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[{"name":"_owner","type":"address"},{"name":"_spender","type":"address"}],"name":"allowance","outputs":[{"name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"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
608060405234801561001057600080fd5b50610a18806100206000396000f3006080604052600436106100b95763ffffffff7c010000000000000000000000000000000000000000000000000000000060003504166306fdde0381146100be578063095ea7b31461014857806309ed7b781461018057806318160ddd1461022457806323b872dd1461024b578063313ce5671461027557806366188463146102a057806370a08231146102c457806395d89b41146102e5578063a9059cbb146102fa578063d73dd6231461031e578063dd62ed3e14610342575b600080fd5b3480156100ca57600080fd5b506100d3610369565b6040805160208082528351818301528351919283929083019185019080838360005b8381101561010d5781810151838201526020016100f5565b50505050905090810190601f16801561013a5780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b34801561015457600080fd5b5061016c600160a060020a0360043516602435610400565b604080519115158252519081900360200190f35b34801561018c57600080fd5b506040805160206004803580820135601f810184900484028501840190955284845261022294369492936024939284019190819084018382808284375050604080516020601f89358b018035918201839004830284018301909452808352979a9998810197919650918201945092508291508401838280828437509497505050833560ff16945050506020909101359050610466565b005b34801561023057600080fd5b506102396104bc565b60408051918252519081900360200190f35b34801561025757600080fd5b5061016c600160a060020a03600435811690602435166044356104c2565b34801561028157600080fd5b5061028a610629565b6040805160ff9092168252519081900360200190f35b3480156102ac57600080fd5b5061016c600160a060020a0360043516602435610632565b3480156102d057600080fd5b50610239600160a060020a036004351661071c565b3480156102f157600080fd5b506100d3610737565b34801561030657600080fd5b5061016c600160a060020a0360043516602435610797565b34801561032a57600080fd5b5061016c600160a060020a036004351660243561086e565b34801561034e57600080fd5b50610239600160a060020a0360043581169060243516610901565b60008054604080516020601f60026000196101006001881615020190951694909404938401819004810282018101909252828152606093909290918301828280156103f55780601f106103ca576101008083540402835291602001916103f5565b820191906000526020600020905b8154815290600101906020018083116103d857829003601f168201915b505050505090505b90565b336000818152600560209081526040808320600160a060020a038716808552908352818420869055815186815291519394909390927f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925928290030190a350600192915050565b8251610479906001906020860190610954565b50835161048d906000906020870190610954565b506002805460ff191660ff93909316929092179091556003819055336000908152600460205260409020555050565b60035490565b6000600160a060020a03831615156104d957600080fd5b600160a060020a0384166000908152600460205260409020548211156104fe57600080fd5b600160a060020a038416600090815260056020908152604080832033845290915290205482111561052e57600080fd5b600160a060020a038416600090815260046020526040902054610551908361092c565b600160a060020a038086166000908152600460205260408082209390935590851681522054610580908361093e565b600160a060020a0380851660009081526004602090815260408083209490945591871681526005825282812033825290915220546105be908361092c565b600160a060020a03808616600081815260056020908152604080832033845282529182902094909455805186815290519287169391927fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef929181900390910190a35060019392505050565b60025460ff1690565b336000908152600560209081526040808320600160a060020a03861684529091528120548083111561068757336000908152600560209081526040808320600160a060020a03881684529091528120556106b6565b610691818461092c565b336000908152600560209081526040808320600160a060020a03891684529091529020555b336000818152600560209081526040808320600160a060020a0389168085529083529281902054815190815290519293927f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925929181900390910190a35060019392505050565b600160a060020a031660009081526004602052604090205490565b60018054604080516020601f600260001961010087891615020190951694909404938401819004810282018101909252828152606093909290918301828280156103f55780601f106103ca576101008083540402835291602001916103f5565b6000600160a060020a03831615156107ae57600080fd5b336000908152600460205260409020548211156107ca57600080fd5b336000908152600460205260409020546107e4908361092c565b3360009081526004602052604080822092909255600160a060020a03851681522054610810908361093e565b600160a060020a0384166000818152600460209081526040918290209390935580518581529051919233927fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9281900390910190a350600192915050565b336000908152600560209081526040808320600160a060020a038616845290915281205461089c908361093e565b336000818152600560209081526040808320600160a060020a0389168085529083529281902085905580519485525191937f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925929081900390910190a350600192915050565b600160a060020a03918216600090815260056020908152604080832093909416825291909152205490565b60008282111561093857fe5b50900390565b60008282018381101561094d57fe5b9392505050565b828054600181600116156101000203166002900490600052602060002090601f016020900481019282601f1061099557805160ff19168380011785556109c2565b828001600101855582156109c2579182015b828111156109c25782518255916020019190600101906109a7565b506109ce9291506109d2565b5090565b6103fd91905b808211156109ce57600081556001016109d85600a165627a7a72305820363bba5727c1e6a2b8ceabf6a13bb5d913676c37da076981fcfa49db3cb7b85c0029
Deployed Bytecode
0x6080604052600436106100b95763ffffffff7c010000000000000000000000000000000000000000000000000000000060003504166306fdde0381146100be578063095ea7b31461014857806309ed7b781461018057806318160ddd1461022457806323b872dd1461024b578063313ce5671461027557806366188463146102a057806370a08231146102c457806395d89b41146102e5578063a9059cbb146102fa578063d73dd6231461031e578063dd62ed3e14610342575b600080fd5b3480156100ca57600080fd5b506100d3610369565b6040805160208082528351818301528351919283929083019185019080838360005b8381101561010d5781810151838201526020016100f5565b50505050905090810190601f16801561013a5780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b34801561015457600080fd5b5061016c600160a060020a0360043516602435610400565b604080519115158252519081900360200190f35b34801561018c57600080fd5b506040805160206004803580820135601f810184900484028501840190955284845261022294369492936024939284019190819084018382808284375050604080516020601f89358b018035918201839004830284018301909452808352979a9998810197919650918201945092508291508401838280828437509497505050833560ff16945050506020909101359050610466565b005b34801561023057600080fd5b506102396104bc565b60408051918252519081900360200190f35b34801561025757600080fd5b5061016c600160a060020a03600435811690602435166044356104c2565b34801561028157600080fd5b5061028a610629565b6040805160ff9092168252519081900360200190f35b3480156102ac57600080fd5b5061016c600160a060020a0360043516602435610632565b3480156102d057600080fd5b50610239600160a060020a036004351661071c565b3480156102f157600080fd5b506100d3610737565b34801561030657600080fd5b5061016c600160a060020a0360043516602435610797565b34801561032a57600080fd5b5061016c600160a060020a036004351660243561086e565b34801561034e57600080fd5b50610239600160a060020a0360043581169060243516610901565b60008054604080516020601f60026000196101006001881615020190951694909404938401819004810282018101909252828152606093909290918301828280156103f55780601f106103ca576101008083540402835291602001916103f5565b820191906000526020600020905b8154815290600101906020018083116103d857829003601f168201915b505050505090505b90565b336000818152600560209081526040808320600160a060020a038716808552908352818420869055815186815291519394909390927f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925928290030190a350600192915050565b8251610479906001906020860190610954565b50835161048d906000906020870190610954565b506002805460ff191660ff93909316929092179091556003819055336000908152600460205260409020555050565b60035490565b6000600160a060020a03831615156104d957600080fd5b600160a060020a0384166000908152600460205260409020548211156104fe57600080fd5b600160a060020a038416600090815260056020908152604080832033845290915290205482111561052e57600080fd5b600160a060020a038416600090815260046020526040902054610551908361092c565b600160a060020a038086166000908152600460205260408082209390935590851681522054610580908361093e565b600160a060020a0380851660009081526004602090815260408083209490945591871681526005825282812033825290915220546105be908361092c565b600160a060020a03808616600081815260056020908152604080832033845282529182902094909455805186815290519287169391927fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef929181900390910190a35060019392505050565b60025460ff1690565b336000908152600560209081526040808320600160a060020a03861684529091528120548083111561068757336000908152600560209081526040808320600160a060020a03881684529091528120556106b6565b610691818461092c565b336000908152600560209081526040808320600160a060020a03891684529091529020555b336000818152600560209081526040808320600160a060020a0389168085529083529281902054815190815290519293927f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925929181900390910190a35060019392505050565b600160a060020a031660009081526004602052604090205490565b60018054604080516020601f600260001961010087891615020190951694909404938401819004810282018101909252828152606093909290918301828280156103f55780601f106103ca576101008083540402835291602001916103f5565b6000600160a060020a03831615156107ae57600080fd5b336000908152600460205260409020548211156107ca57600080fd5b336000908152600460205260409020546107e4908361092c565b3360009081526004602052604080822092909255600160a060020a03851681522054610810908361093e565b600160a060020a0384166000818152600460209081526040918290209390935580518581529051919233927fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9281900390910190a350600192915050565b336000908152600560209081526040808320600160a060020a038616845290915281205461089c908361093e565b336000818152600560209081526040808320600160a060020a0389168085529083529281902085905580519485525191937f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925929081900390910190a350600192915050565b600160a060020a03918216600090815260056020908152604080832093909416825291909152205490565b60008282111561093857fe5b50900390565b60008282018381101561094d57fe5b9392505050565b828054600181600116156101000203166002900490600052602060002090601f016020900481019282601f1061099557805160ff19168380011785556109c2565b828001600101855582156109c2579182015b828111156109c25782518255916020019190600101906109a7565b506109ce9291506109d2565b5090565b6103fd91905b808211156109ce57600081556001016109d85600a165627a7a72305820363bba5727c1e6a2b8ceabf6a13bb5d913676c37da076981fcfa49db3cb7b85c0029
Swarm Source
bzzr://363bba5727c1e6a2b8ceabf6a13bb5d913676c37da076981fcfa49db3cb7b85c
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.