ERC20
This contract is an ERC20 token.
Name
WaBi
Symbol
WaBi
Decimals
18
Total Supply
100,000,000 WaBi
About link
Wabi (WABI) is a cryptocurrency and operates on the Ethereum platform. Wabi has a current supply of 100,000,000 with 99,699,999.33824052 in circulation. The last known price of Wabi is 0.14696431 USD and is up 7.75 over the last 24 hours. It is currently trading on 14 active market(s) with $1,655,973.68 traded over the last 24 hours. More information can be found at https://wabi.io.
Stats
Public Functions
13
Event Types
7
Code Size
10,572 bytes
Events (7) keyboard_arrow_up
State Variables (7) keyboard_arrow_up
Functions
transferOwnership keyboard_arrow_up
Modifiers help
onlyOwner checks for the following:
Source Code
function transferOwnership(address newOwner) onlyOwner {
require(newOwner != address(0));
owner = newOwner;
}
pause keyboard_arrow_up
unpause keyboard_arrow_up
balanceOf keyboard_arrow_up
transfer keyboard_arrow_up
Source Code
function transfer(address _to, uint256 _value) returns (bool) {
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
Source Code
function transferFrom(
address _from,
address _to,
uint256 _value
) returns (bool) {
var _allowance = allowed[_from][msg.sender];
// Check is not needed because sub(_allowance, _value) will already throw if this condition is not met
// require (_value <= _allowance);
balances[_to] = balances[_to].add(_value);
balances[_from] = balances[_from].sub(_value);
allowed[_from][msg.sender] = _allowance.sub(_value);
Transfer(_from, _to, _value);
return true;
}
approve keyboard_arrow_up
Requirements help
One or more of the following:
Source Code
function approve(address _spender, uint256 _value)
whenNotPaused
returns (bool)
{
return super.approve(_spender, _value);
}
mint keyboard_arrow_up
finishMinting keyboard_arrow_up
transfer keyboard_arrow_up
Modifiers help
whenNotPaused checks for the following:
canTransfer checks for the following:
transferEnabled must be true
Source Code
function transfer(address _to, uint256 _value)
whenNotPaused
canTransfer
returns (bool)
{
require(_to != address(this) && _to != address(0));
return super.transfer(_to, _value);
}
transferFrom keyboard_arrow_up
Modifiers help
whenNotPaused checks for the following:
canTransfer checks for the following:
transferEnabled must be true
Source Code
function transferFrom(
address _from,
address _to,
uint256 _value
) whenNotPaused canTransfer returns (bool) {
require(_to != address(this) && _to != address(0));
return super.transferFrom(_from, _to, _value);
}
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 MintableToken.mintInternal keyboard_arrow_up
Modifiers help
canMint checks for the following:
Requirements help
Source Code
function mintInternal(address _to, uint256 _amount)
internal
canMint
returns (bool)
{
require(totalSupply.add(_amount) <= maxTokensToMint);
totalSupply = totalSupply.add(_amount);
balances[_to] = balances[_to].add(_amount);
Mint(_to, _amount);
Transfer(this, _to, _amount);
return true;
}