Voken 2.0 Main Contract

This is the MAIN CONTRACT of Voken – Unique token in the Vision Network ecosystem, updated and deployed at 2019-08-22 17:59:43 UTC.

logo_etherscan_verified logo_github logo_verified

View on Etherscan.io:

The token symbol named Voken2.0

Displayed in various wallet software such as MetaMask, MyEtherWallet, imToken, etherscan.io and Ethereum blockchain browsers.

Features and functions

Based on [EIP 20] ERC-20 Token Standard of Ethereum

Includes:

  • function name() public view returns (string)
  • function symbol() public view returns (string)
  • function decimals() public view returns (uint8)
  • function totalSupply() public view returns (uint256)
  • function balanceOf(address account) public view returns (uint256)
  • function transfer(address recipient, uint256 amount) public returns (bool)
  • function transferFrom(address sender, address recipient, uint256 amount) public returns (bool)
  • function approve(address spender, uint256 value) public returns (bool)
  • function allowance(address owner, address spender) public view returns (uint256)
  • event Transfer(address indexed from, address indexed to, uint256 value)
  • event Approval(address indexed owner, address indexed spender, uint256 value)

With advanced functions for allowance:

  • function increaseAllowance(address spender, uint256 addedValue) public returns (bool)
  • function decreaseAllowance(address spender, uint256 subtractedValue) public returns (bool)

With a TOTAL SUPPLY CAP LIMIT:

  • function cap() public view returns (uint256)
Supports flexible rules for FREEZING

Flexible rules by external contracts with interface of:

/**
 * @dev Interface of an allocation contract.
 */
interface IAllocation {
    function reservedOf(address account) external view returns (uint256);
}

Function for query:

  • function reservedOf(address account) public view returns (uint256)
Supports BURNING

Supports burning with a Burn event and also reduces the TOTAL SUPPLY CAP LIMIT, by:

  • Transfer Voken2.0 to this contract address

  • Transfer Voken2.0 to address(0)

  • Call functions:

    • function burn(uint256 amount) public returns (bool)
    • function burnFrom(address account, uint256 amount) public returns (bool)
Supports SAFE-MODE

Transfers from non-whitelisted addresses are restricted when the amount number of Voken2.0 holders is insufficient to form a healthy ecological foundation. That is a SAFE-MODE for Voken2.0.

Function for query:

  • function safeMode() public view returns (bool)
Supports BURNING-MODE:

When Burning-mode is on, 1% will be burned for every transaction of Voken2.0.

Function for query:

  • function burningMode() public view returns (bool, uint16)
Optimized WHITELIST RULES

By transferring 1,001 Voken2.0 to a whitelisted address, will sign-up for whitelist and get 1 Voken2.0 refund as a success signal automatically.

Functions for query:

  • function whitelisted(address account) public view returns (bool)
  • function whitelistCounter() public view returns (uint256)
  • function whitelistingMode() public view returns (bool)
  • function whitelistReferee(address account) public view returns (address)
  • function whitelistReferrals(address account) public view returns (address[])
  • function whitelistReferralsCount(address account) public view returns (uint256)