Blockwell

TOPToken

About link

TOP (TOP) is a cryptocurrency and operates on the Ethereum platform. TOP has a current supply of 20,000,000,000 with 5,512,414,942.82 in circulation. The last known price of TOP is 0.00151343 USD and is down -6.86 over the last 24 hours. It is currently trading on 9 active market(s) with $258,270.35 traded over the last 24 hours. More information can be found at https://www.topnetwork.org/.

Stats

Public Functions 6
Event Types 2
Code Size 2,430 bytes

Events (2) keyboard_arrow_up

OwnershipTransferred Event

Parameters help
orgOwner
address help
newOwner
address help

Transfer Event

Parameters help
from
address help
to
address help
value
uint256 help

name Variable

bytes32 help

symbol Variable

bytes32 help

decimals Variable

uint256 help

totalSupply Variable

uint256 help

owner Variable

address help
Internal Variable

active Variable

bool help
Internal Variable

balances Variable

mapping(address => uint256) help
Internal Variable

Functions Expand All Collapse All

Parameters help

Name Type
_owner
address help

Properties

Visibility help public
Mutability help view

Requirements help

Source Code
function balanceOf(address _owner) public view returns (uint256 bal) {
  require(active);
  return balances[_owner];
}

Parameters help

Name Type
_to
address help
_value
uint256 help

Properties

Visibility help public
Mutability help transaction

Requirements help

Source Code
function transfer(address _to, uint256 _value) public returns (bool) {
  require(active);
  require(_to != address(0));
  require(_to != msg.sender);
  require(_value <= balances[msg.sender]);

  uint256 bal = balances[_to] + _value;
  require(bal >= balances[_to]);

  balances[msg.sender] = balances[msg.sender] - _value;
  balances[_to] = bal;

  emit Transfer(msg.sender, _to, _value);
  return true;
}

deactivate keyboard_arrow_up

Parameters help

This function has no parameters.

Properties

Visibility help public
Mutability help transaction
Source Code
function deactivate() public onlyOwner {
  active = false;
}

activate keyboard_arrow_up

Parameters help

This function has no parameters.

Properties

Visibility help public
Mutability help transaction
Source Code
function activate() public onlyOwner {
  active = true;
}

transferOwnership keyboard_arrow_up

Parameters help

Name Type
newOwner
address help

Properties

Visibility help public
Mutability help transaction

Requirements help

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

kill keyboard_arrow_up

Parameters help

This function has no parameters.

Properties

Visibility help public
Mutability help transaction

Requirements help

Source Code
function kill() public onlyOwner {
  require(!active);
  selfdestruct(msg.sender);
}

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.