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
State Variables (9) keyboard_arrow_up
Functions
totalSupply keyboard_arrow_up
balanceOf keyboard_arrow_up
transfer keyboard_arrow_up
Requirements help
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
transferFrom keyboard_arrow_up
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
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
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;
}
decreaseApproval keyboard_arrow_up
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
Internal functions are parts of the contract that can't be used directly, but instead are used by the public functions listed above.