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 and operates on the Ethereum platform. CWV Chain has a current supply of 10,000,000,000 with 3,540,912,310.9992 in circulation. The last known price of CWV Chain is 0.00152812 USD and is up 2.43 over the last 24 hours. It is currently trading on 2 active market(s) with $11,359.29 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

Events (2) keyboard_arrow_up

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

name Variable

string help

symbol Variable

string help

decimals Variable

uint8 help

name Variable

string help

symbol Variable

string help

decimals Variable

uint8 help

_allowances Variable

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

_totalSupply Variable

uint256 help
Internal Variable

_balances Variable

mapping(address => uint256) help
Internal Variable

Functions Expand All Collapse All

Parameters help

This function has no parameters.

Properties

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

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

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

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

Parameters help

Name Type
from
address help
to
address help
value
uint256 help

Properties

Visibility help public
Mutability help transaction
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;
}

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

Parameters help

Name Type
agent
address help
value
uint help

Properties

Visibility help public
Mutability help transaction
Source Code
function increaseApproval(address agent, uint256 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;
}

Parameters help

Name Type
agent
address help
value
uint help

Properties

Visibility help public
Mutability help transaction
Source Code
function decreaseApproval(address agent, uint256 value) public returns (bool) {
  uint256 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;
}

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.