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
Functions
transferOwnership keyboard_arrow_up
Modifiers help
onlyOwner checks for the following:
Source Code
function transferOwnership(address newOwner) public onlyOwner {
require(newOwner != address(0));
owner = newOwner;
emit OwnershipTransferred(owner, newOwner);
}
transfer keyboard_arrow_up
Requirements help
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;
}
transferFrom keyboard_arrow_up
Requirements help
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;
}
balanceOf keyboard_arrow_up
approve keyboard_arrow_up
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;
}
allowance keyboard_arrow_up
mint keyboard_arrow_up
Modifiers help
onlyOwner checks for the following:
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
Requirements help
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
Modifiers help
onlyOwner checks for the following:
Requirements help
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
Internal functions are parts of the contract that can't be used directly, but instead are used by the public functions listed above.