Blockwell

Vestchain

ERC20

This contract is an ERC20 token.

Name Vestchain
Symbol VEST
Decimals 8
Total Supply 8,848,000,000 VEST

About link

VestChain (VEST) is a cryptocurrency token and operates on the Ethereum platform. VestChain has a current supply of 8,420,042,616. The last known price of VestChain is $0.005292 USD and is up 1.78% over the last 24 hours. It is currently trading on 3 active market(s) with $62,230.55 traded over the last 24 hours. More information can be found at https://vestchain.io/.

Stats

Public Functions 6
Event Types 2
Code Size 3,024 bytes

Approval Event

Parameters help
_owner
address help
_spender
address help
_val
uint256 help

Transfer Event

Parameters help
_from
address help
_to
address help
_val
uint256 help

Functions Expand All Collapse All

constructor keyboard_arrow_up

Parameters help

This function has no parameters.

Properties

Visibility help public
Mutability help transaction
Source Code
function () public {
revert();
}

balanceOf keyboard_arrow_up

Parameters help

Name Type
_own
address help

Properties

Visibility help public
Mutability help view
Source Code
function balanceOf(address _own)
public view returns (uint256) {
return holders[_own];
}

transfer keyboard_arrow_up

Parameters help

Name Type
_to
address help
_val
uint256 help

Properties

Visibility help public
Mutability help transaction

Requirements help

Source Code
function transfer(address _to, uint256 _val)
public returns (bool) {
require(holders[msg.sender] >= _val);
require(msg.sender != _to);
assert(_val <= holders[msg.sender]);
holders[msg.sender] = holders[msg.sender] - _val;
holders[_to] = holders[_to] + _val;
assert(holders[_to] >= _val);
emit Transfer(msg.sender, _to, _val);
return true;
}

transferFrom keyboard_arrow_up

Parameters help

Name Type
_from
address help
_to
address help
_val
uint256 help

Properties

Visibility help public
Mutability help transaction

Requirements help

Source Code
function transferFrom(address _from, address _to, uint256 _val)
public returns (bool) {
require(holders[_from] >= _val);
require(approach[_from][msg.sender] >= _val);
assert(_val <= holders[_from]);
holders[_from] = holders[_from] - _val;
assert(_val <= approach[_from][msg.sender]);
approach[_from][msg.sender] = approach[_from][msg.sender] - _val;
holders[_to] = holders[_to] + _val;
assert(holders[_to] >= _val);
emit Transfer(_from, _to, _val);
return true;
}

approve keyboard_arrow_up

Parameters help

Name Type
_spender
address help
_val
uint256 help

Properties

Visibility help public
Mutability help transaction
Source Code
function approve(address _spender, uint256 _val)
public returns (bool) {
require(holders[msg.sender] >= _val);
approach[msg.sender][_spender] = _val;
emit Approval(msg.sender, _spender, _val);
return true;
}

allowance keyboard_arrow_up

Parameters help

Name Type
_owner
address help
_spender
address help

Properties

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