Blockwell

WaBi

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

Approval Event

Parameters help
owner
address help
spender
address help
value
uint256 help

Mint Event

Parameters help
to
address help
amount
uint256 help

MintFinished Event

Parameters help

Pause Event

Parameters help

TokenPurchase Event

Parameters help
purchaser
address help
beneficiary
address help
amount
uint256 help

Transfer Event

Parameters help
from
address help
to
address help
value
uint256 help

Unpause Event

Parameters help

name Constant

string help
WaBi

symbol Constant

string help
WaBi

decimals Constant

uint8 help
18

maxTokensToMint Constant

uint256 help
100000000 ether

transferEnabled Variable

bool help

mintingFinished Variable

bool help

totalSupply Variable

uint256 help

owner Variable

address help

paused Variable

bool help

allowed Variable

mapping(address => mapping(address => uint256)) help
Internal Variable

balances Variable

mapping(address => uint256) help
Internal Variable

Functions Expand All Collapse All

Parameters help

Name Type
newOwner
address help

Properties

Visibility help public
Mutability help transaction

Requirements help

Source Code
function transferOwnership(address newOwner) onlyOwner {
  require(newOwner != address(0));
  owner = newOwner;
}

Parameters help

This function has no parameters.

Properties

Visibility help public
Mutability help transaction
Source Code
function pause() public onlyOwner whenNotPaused {
  paused = true;
  Pause();
}

Parameters help

This function has no parameters.

Properties

Visibility help public
Mutability help transaction
Source Code
function unpause() public onlyOwner whenPaused {
  paused = false;
  Unpause();
}

Parameters help

Name Type
_owner
address help

Properties

Visibility help public
Mutability help constant
Source Code
function balanceOf(address _owner) constant returns (uint256 balance) {
  return balances[_owner];
}

Parameters help

Name Type
_to
address help
_value
uint256 help

Properties

Visibility help public
Mutability help transaction
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;
}

Parameters help

Name Type
_owner
address help
_spender
address help

Properties

Visibility help public
Mutability help constant
Source Code
function allowance(address _owner, address _spender)
  constant
  returns (uint256 remaining)
{
  return allowed[_owner][_spender];
}

Parameters help

Name Type
_from
address help
_to
address help
_value
uint256 help

Properties

Visibility help public
Mutability help transaction
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;
}

Parameters help

Name Type
_spender
address help
_value
uint256 help

Properties

Visibility help public
Mutability help transaction

Modifiers help

Requirements help

One or more of the following:
Source Code
function approve(address _spender, uint256 _value)
  whenNotPaused
  returns (bool)
{
  return super.approve(_spender, _value);
}

Parameters help

Name Type
_to
address help
_amount
uint256 help

Properties

Visibility help public
Mutability help transaction

Requirements help

Source Code
function mint(address _to, uint256 _amount)
  whenNotPaused
  onlyOwner
  returns (bool)
{
  return mintInternal(_to, _amount);
}

Parameters help

This function has no parameters.

Properties

Visibility help public
Mutability help transaction
Source Code
function finishMinting() whenNotPaused onlyOwner returns (bool) {
  mintingFinished = true;
  MintFinished();
  return true;
}

Parameters help

Name Type
_to
address help
_value
uint help

Properties

Visibility help public
Mutability help transaction

Modifiers help

Requirements help

Source Code
function transfer(address _to, uint256 _value)
  whenNotPaused
  canTransfer
  returns (bool)
{
  require(_to != address(this) && _to != address(0));
  return super.transfer(_to, _value);
}

Parameters help

Name Type
_from
address help
_to
address help
_value
uint help

Properties

Visibility help public
Mutability help transaction

Modifiers help

Requirements help

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);
}

Parameters help

This function has no parameters.

Properties

Visibility help public
Mutability help transaction
Source Code
function enableTransfer() onlyOwner returns (bool) {
  transferEnabled = true;
  return true;
}

Internal Functions Expand All Collapse All

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

Parameters help

Name Type
_to
address help
_amount
uint256 help

Properties

Visibility help internal
Mutability help transaction

Modifiers help

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;
}