ERC20
This contract is an ERC20 token.
Name
CEN
Symbol
CEN
Decimals
18
Total Supply
912,473,583 CEN
About link
Coinsuper Ecosystem Network (CEN) is a cryptocurrency and operates on the Ethereum platform. Coinsuper Ecosystem Network has a current supply of 898,614,083.223577 with 358,497,292.593577 in circulation. The last known price of Coinsuper Ecosystem Network is 0.00116839 USD and is down -12.30 over the last 24 hours. It is currently trading on 1 active market(s) with $557.17 traded over the last 24 hours. More information can be found at https://www.coinsuper.com/#/home.
Stats
Public Functions
12
Event Types
4
Code Size
7,330 bytes
Events (4) keyboard_arrow_up
State Variables (9) keyboard_arrow_up
Functions
setOwner keyboard_arrow_up
Modifiers help
onlyOwner checks for the following:
Source Code
function setOwner(address newOwner) public onlyOwner returns (bool) {
if (owner == msg.sender) {
owner = newOwner;
emit LogOwnerChanged(msg.sender);
return true;
} else {
return false;
}
}
_status keyboard_arrow_up
stop keyboard_arrow_up
start keyboard_arrow_up
balanceOf keyboard_arrow_up
transfer keyboard_arrow_up
Source Code
function transfer(address _to, uint256 _value)
public
stoppable
returns (bool ind)
{
//Default assumes totalSupply can't be over max (2^256 - 1).
//If your token leaves out totalSupply and can issue more tokens as time goes on, you need to check if it doesn't wrap.
//Replace the if with this one instead.
//if (balances[msg.sender] >= _value && balances[_to] + _value > balances[_to]) {
require(_to != address(0));
require(frozenCheck(msg.sender, _to));
if (balances[msg.sender] >= _value && _value > 0) {
balances[msg.sender] = safeSub(balances[msg.sender], _value);
balances[_to] = safeAdd(balances[_to], _value);
emit Transfer(msg.sender, _to, _value);
return true;
} else {
return false;
}
}
transferFrom keyboard_arrow_up
Source Code
function transferFrom(
address _from,
address _to,
uint256 _value
) public stoppable returns (bool success) {
//same as above. Replace this line with the following if you want to protect against wrapping uints.
require(frozenCheck(_from, _to));
require(_to != address(0));
if (
balances[_from] >= _value &&
allowed[_from][msg.sender] >= _value &&
_value > 0
) {
balances[_to] = safeAdd(balances[_to], _value);
balances[_from] = safeSub(balances[_from], _value);
allowed[_from][msg.sender] = safeSub(allowed[_from][msg.sender], _value);
emit Transfer(_from, _to, _value);
return true;
} else {
return false;
}
}
approve keyboard_arrow_up
Requirements help
null
Source Code
function approve(address _spender, uint256 _value)
public
stoppable
returns (bool success)
{
require(frozenCheck(_spender, msg.sender));
require(_spender != address(0));
require(_value > 0);
require(allowed[msg.sender][_spender] == 0);
allowed[msg.sender][_spender] = _value;
emit Approval(msg.sender, _spender, _value);
return true;
}
allowance keyboard_arrow_up
burn keyboard_arrow_up
Modifiers help
stoppable checks for the following:
onlyOwner checks for the following:
Source Code
function burn(uint256 amount) public stoppable onlyOwner returns (bool) {
if (balances[msg.sender] > amount) {
balances[msg.sender] = safeSub(balances[msg.sender], amount);
totalSupply = safeSub(totalSupply, amount);
emit Burn(msg.sender, amount);
return true;
} else {
return false;
}
}
freezeAccount keyboard_arrow_up
Modifiers help
onlyOwner checks for the following:
Source Code
function freezeAccount(address target, bool freeze) public onlyOwner {
frozenAccount[target] = freeze;
}
Internal Functions
Internal functions are parts of the contract that can't be used directly, but instead are used by the public functions listed above.
internal StandardToken.frozenCheck keyboard_arrow_up
Requirements help
Source Code
function frozenCheck(address _from, address _to) private view returns (bool) {
require(!frozenAccount[_from]);
require(!frozenAccount[_to]);
return true;
}