ERC20
This contract is an ERC20 token.
Name
EBCoin
Symbol
EBC
Decimals
18
Total Supply
10,295,055,166 EBC
About
link
EBCoin (EBC) is a cryptocurrency token and operates on the Ethereum platform. EBCoin has a current supply of 10,295,055,165.813 with 4,585,368,085.833 in circulation. The last known price of EBCoin is $0.000093 USD and is up 0.63% over the last 24 hours. It is currently trading on 4 active market(s) with $252.81 traded over the last 24 hours. More information can be found at https://ebcoin.io.
Stats
Public Functions
11
Event Types
8
Code Size
6,375 bytes
Library Use
Uses SafeMath for uint256.
Events (8) keyboard_arrow_up
Functions
changeOwner keyboard_arrow_up
changeManager keyboard_arrow_up
Modifiers help
onlyOwner checks for the following:
Requirements help
Source Code
function changeManager(address _newManager) onlyOwner public
{
require(_newManager != address(0));
address oldManager = manager;
if (oldManager != _newManager)
{
manager = _newManager;
ManagerChanged(oldManager, _newManager);
}
}
balanceOf keyboard_arrow_up
transfer keyboard_arrow_up
Modifiers help
canTransfer checks for the following:
Requirements help
Source Code
function transfer(address _to, uint256 _value) canTransfer(msg.sender) public returns (bool)
{
require(_to != address(0));
require(_value <= balances[msg.sender]);
balances[msg.sender] = balances[msg.sender].sub(_value);
balances[_to] = balances[_to].add(_value);
Transfer(msg.sender, _to, _value);
return true;
}
allowance keyboard_arrow_up
transferFrom keyboard_arrow_up
Modifiers help
canTransfer checks for the following:
Requirements help
Source Code
function transferFrom(address _from, address _to, uint256 _value) canTransfer(_from) public returns (bool)
{
require(_to != address(0));
require(_value <= balances[_from]);
require(_value <= allowed[_from][msg.sender]);
balances[_from] = balances[_from].sub(_value);
balances[_to] = balances[_to].add(_value);
allowed[_from][msg.sender] = allowed[_from][msg.sender].sub(_value);
Transfer(_from, _to, _value);
return true;
}
approve keyboard_arrow_up
Source Code
function approve(address _spender, uint256 _value) public returns (bool)
{
allowed[msg.sender][_spender] = _value;
Approval(msg.sender, _spender, _value);
return true;
}
mint keyboard_arrow_up
Modifiers help
onlyOwnerOrManager checks for the following:
One or more of the following:
-
manager
must be equal to
the sender's address
- OR
owner
must be equal to
the sender's address
Requirements help
Source Code
function mint(address _to, uint256 _value, uint256 _releaseTime) onlyOwnerOrManager public returns (bool)
{
require(_to != address(0));
totalSupply = totalSupply.add(_value);
balances[_to] = balances[_to].add(_value);
Mint(_to, _value);
Transfer(0x0, _to, _value);
setReleaseTime(_to, _releaseTime);
return true;
}
burn keyboard_arrow_up
Modifiers help
onlyOwnerOrManager checks for the following:
One or more of the following:
-
manager
must be equal to
the sender's address
- OR
owner
must be equal to
the sender's address
Requirements help
Source Code
function burn(address _from, uint256 _value) onlyOwnerOrManager public returns (bool)
{
require(_from != address(0));
require(_value <= balances[_from]);
balances[_from] = balances[_from].sub(_value);
totalSupply = totalSupply.sub(_value);
Burn(_from, _value);
return true;
}
setReleaseTime keyboard_arrow_up
Modifiers help
onlyOwnerOrManager checks for the following:
One or more of the following:
-
manager
must be equal to
the sender's address
- OR
owner
must be equal to
the sender's address
Requirements help
Source Code
function setReleaseTime(address _owner, uint256 _newReleaseTime) onlyOwnerOrManager public returns (bool)
{
require(_owner != address(0));
uint256 oldReleaseTime = releaseTime[_owner];
if (oldReleaseTime != _newReleaseTime)
{
releaseTime[_owner] = _newReleaseTime;
ReleaseTimeChanged(_owner, oldReleaseTime, _newReleaseTime);
return true;
}
return false;
}
setReleased keyboard_arrow_up
Modifiers help
onlyOwnerOrManager checks for the following:
One or more of the following:
-
manager
must be equal to
the sender's address
- OR
owner
must be equal to
the sender's address
Source Code
function setReleased(bool _newReleased) onlyOwnerOrManager public returns (bool)
{
bool oldReleased = released;
if (oldReleased != _newReleased)
{
released = _newReleased;
ReleasedChanged(oldReleased, _newReleased);
return true;
}
return false;
}