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 and operates on the Ethereum platform. VestChain has a current supply of 3,945,951,380.8970037. The last known price of VestChain is 0.00213152 USD and is up 35.72 over the last 24 hours. It is currently trading on 3 active market(s) with $0.00 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

Events (2) keyboard_arrow_up

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

totalSupply Variable

uint256 help

decimals Variable

uint help

symbol Variable

string help

name Variable

string help

approach Variable

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

holders Variable

mapping(address => uint256) help
Internal Variable

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

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

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

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

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

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

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.