Blockwell

CWV Chain

ERC20

This contract is an ERC20 token.

Name CWV Chain
Symbol CWV
Decimals 18
Total Supply 10,000,000,000 CWV

About link

CWV Chain (CWV) is a cryptocurrency token and operates on the Ethereum platform. CWV Chain has a current supply of 10,000,000,000 with 3,540,912,310.999 in circulation. The last known price of CWV Chain is $0.002307 USD and is up 0.53% over the last 24 hours. It is currently trading on 2 active market(s) with $9,827.62 traded over the last 24 hours. More information can be found at https://cwv.io.

Stats

Public Functions 8
Event Types 2
Code Size 4,531 bytes

Approval Event

Parameters help
owner
address help
agent
address help
value
uint256 help

Transfer Event

Parameters help
from
address help
to
address help
value
uint256 help

Functions Expand All Collapse All

totalSupply keyboard_arrow_up

Parameters help

This function has no parameters.

Properties

Visibility help public
Mutability help view
Source Code
  function totalSupply() public view returns (uint256) {
    return _totalSupply;
  }

balanceOf keyboard_arrow_up

Parameters help

Name Type
addr
address help

Properties

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

transfer keyboard_arrow_up

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) {
    require(to != address(0));
    require(value <= _balances[msg.sender]);

    _balances[msg.sender] = _balances[msg.sender].sub(value);
    _balances[to] = _balances[to].add(value);
    emit Transfer(msg.sender, to, value);
    return true;
  }

allowance keyboard_arrow_up

Parameters help

Name Type
owner
address help
agent
address help

Properties

Visibility help public
Mutability help view
Source Code
  function allowance(address owner, address agent) public view returns (uint256) {
    return _allowances[owner][agent];
  }

transferFrom keyboard_arrow_up

Parameters help

Name Type
from
address help
to
address help
value
uint256 help

Properties

Visibility help public
Mutability help transaction

Requirements help

Source Code
  function transferFrom(address from, address to, uint256 value) public returns (bool) {
    require(to != address(0));
    require(value <= _balances[from]);
    require(value <= _allowances[from][msg.sender]);

    _balances[from] = _balances[from].sub(value);
    _balances[to] = _balances[to].add(value);
    _allowances[from][msg.sender] = _allowances[from][msg.sender].sub(value);
    emit Transfer(from, to, value);
    return true;
  }

approve keyboard_arrow_up

Parameters help

Name Type
agent
address help
value
uint256 help

Properties

Visibility help public
Mutability help transaction
Source Code
  function approve(address agent, uint256 value) public returns (bool) {
    _allowances[msg.sender][agent] = value;
    emit Approval(msg.sender, agent, value);
    return true;
  }

increaseApproval keyboard_arrow_up

Parameters help

Name Type
agent
address help
value
uint help

Properties

Visibility help public
Mutability help transaction
Source Code
  function increaseApproval(address agent, uint value) public returns (bool) {
    _allowances[msg.sender][agent] = _allowances[msg.sender][agent].add(value);
    emit Approval(msg.sender, agent, _allowances[msg.sender][agent]);
    return true;
  }

decreaseApproval keyboard_arrow_up

Parameters help

Name Type
agent
address help
value
uint help

Properties

Visibility help public
Mutability help transaction
Source Code
  function decreaseApproval(address agent, uint value) public returns (bool) {
    uint allowanceValue = _allowances[msg.sender][agent];
    if (value > allowanceValue) {
      _allowances[msg.sender][agent] = 0;
    } else {
      _allowances[msg.sender][agent] = allowanceValue.sub(value);
    }
    emit Approval(msg.sender, agent, _allowances[msg.sender][agent]);
    return true;
  }