Idavoll Network
ERC20
This contract is an ERC20 token.
Name
Idavoll Network
Symbol
IDV
Decimals
18
Total Supply
2,000,000,000 IDV
About link description
Idavoll Network (IDV) is a cryptocurrency and operates on the Ethereum platform. Idavoll Network has a current supply of 2,000,000,000 with 796,227,572.4326141 in circulation. The last known price of Idavoll Network is 0.01048157 USD and is down -3.64 over the last 24 hours. It is currently trading on 6 active market(s) with $114,115.77 traded over the last 24 hours. More information can be found at https://www.idavoll.network.
Stats
Public Functions
6
Event Types
2
Code Size
2,926 bytes
Library Use
Uses SafeMath for uint256.
Functions
balanceOf keyboard_arrow_up
transfer keyboard_arrow_up
Source Code
function transfer(address _to, uint256 _value) public returns (bool) {
//require (_to != address(0), "not enough balance !");
require((balances[msg.sender] >= _value), "not enough balance !");
balances[msg.sender] = balances[msg.sender].sub(_value);
balances[_to] = balances[_to].add(_value);
emit Transfer(msg.sender, _to, _value);
return true;
}
transferFrom keyboard_arrow_up
Requirements help
Source Code
function transferFrom(
address _from,
address _to,
uint256 _value
) public returns (bool) {
//require (_to != address(0), "not enough balance !");
require(
balances[_from] >= _value && allowed[_from][msg.sender] >= _value,
"not enough allowed balance"
);
allowed[_from][msg.sender] = allowed[_from][msg.sender].sub(_value);
balances[_from] = balances[_from].sub(_value);
balances[_to] = balances[_to].add(_value);
emit Transfer(_from, _to, _value);
return true;
}
approve keyboard_arrow_up
Source Code
function approve(address _spender, uint256 _value) public returns (bool) {
allowed[msg.sender][_spender] = _value;
emit Approval(msg.sender, _spender, _value);
return true;
}
allowance keyboard_arrow_up
batchTransfer keyboard_arrow_up
Requirements help
Source Code
function batchTransfer(
address payable[] memory _users,
uint256[] memory _amounts
) public returns (bool) {
require(_users.length == _amounts.length, "not same length");
for (uint8 i = 0; i < _users.length; i++) {
transfer(_users[i], _amounts[i]);
}
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.