Blockwell

ZperToken

ERC20

This contract is an ERC20 token.

Name ZperToken
Symbol ZPR
Decimals 18
Total Supply 1,850,000,000 ZPR

About link

ZPER (ZPR) is a cryptocurrency and operates on the Ethereum platform. ZPER has a current supply of 1,850,000,000 with 1,258,254,656.7491152 in circulation. The last known price of ZPER is 0.00031957 USD and is up 0.44 over the last 24 hours. It is currently trading on 1 active market(s) with $0.00 traded over the last 24 hours. More information can be found at Https://zper.io.

Stats

Public Functions 9
Event Types 5
Code Size 4,644 bytes

Library Use

Uses SafeMath for uint256.

Events (5) keyboard_arrow_up

Approval Event

Parameters help
_owner
address help
_spender
address help
_value
uint256 help

Burn Event

Parameters help
burner
address help
value
uint256 help

Mint Event

Parameters help
to
address help
amount
uint256 help

OwnershipTransferred Event

Parameters help
previousOwner
address help
newOwner
address help

Transfer Event

Parameters help
_from
address help
_to
address help
_value
uint256 help

name Constant

string help
ZperToken

symbol Constant

string help
ZPR

decimals Constant

uint8 help
18

owner Variable

address help

totalSupply Variable

uint256 help

cap Variable

uint256 help

balances Variable

mapping(address => uint256) help

allowed Variable

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

Functions Expand All Collapse All

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));
  owner = newOwner;
  emit OwnershipTransferred(owner, newOwner);
}

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) public returns (bool success) {
  require(_to != address(0));
  require(balances[msg.sender] >= _value);

  balances[msg.sender] = balances[msg.sender].sub(_value);
  balances[_to] = balances[_to].add(_value);

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

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
) public returns (bool success) {
  require(_to != address(0));
  require(balances[_from] >= _value && allowed[_from][msg.sender] >= _value);

  balances[_from] = balances[_from].sub(_value);
  balances[_to] = balances[_to].add(_value);
  allowed[_from][msg.sender] = allowed[_from][msg.sender].sub(_value);

  emit Transfer(_from, _to, _value);
  return true;
}

Parameters help

Name Type
_owner
address help

Properties

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

Parameters help

Name Type
_spender
address help
_value
uint256 help

Properties

Visibility help public
Mutability help transaction
Source Code
function approve(address _spender, uint256 _value)
  public
  returns (bool success)
{
  allowed[msg.sender][_spender] = _value;

  emit Approval(msg.sender, _spender, _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)
  public
  constant
  returns (uint256 remaining)
{
  return allowed[_owner][_spender];
}

mint keyboard_arrow_up

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) public onlyOwner returns (bool) {
  require(_to != address(0));
  require(cap >= totalSupply.add(_amount));

  totalSupply = totalSupply.add(_amount);
  balances[_to] = balances[_to].add(_amount);

  emit Mint(_to, _amount);
  emit Transfer(address(0), _to, _amount);

  return true;
}

burn keyboard_arrow_up

Parameters help

Name Type
_value
uint256 help

Properties

Visibility help public
Mutability help transaction
Source Code
function burn(uint256 _value) public returns (bool) {
  require(_value <= balances[msg.sender]);

  balances[msg.sender] = balances[msg.sender].sub(_value);
  totalSupply = totalSupply.sub(_value);

  emit Burn(msg.sender, _value);
  emit Transfer(msg.sender, address(0), _value);

  return true;
}

batchTransfer keyboard_arrow_up

Parameters help

Name Type
_tos
address[] help
_amount
uint256[] help

Properties

Visibility help public
Mutability help transaction
Source Code
function batchTransfer(address[] _tos, uint256[] _amount)
  public
  onlyOwner
  returns (bool success)
{
  require(_tos.length == _amount.length);
  uint256 i;
  uint256 sum = 0;

  for (i = 0; i < _amount.length; i++) {
    sum = sum.add(_amount[i]);
    require(_tos[i] != address(0));
  }

  require(balances[msg.sender] >= sum);

  for (i = 0; i < _tos.length; i++) transfer(_tos[i], _amount[i]);

  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.