Blockwell

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.

Events (2) keyboard_arrow_up

Approval Event

Parameters help
_owner
address help
_spender
address help
_value
uint256 help

Transfer Event

Parameters help
_from
address help
_to
address help
_value
uint256 help

name Constant

string help
Idavoll Network

symbol Constant

string help
IDV

decimals Constant

uint256 help
18

totalSupply Constant

uint256 help
2000000000 * UNKNOWN VALUE

balances Variable

mapping(address => uint256) help
Internal Variable

allowed Variable

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

Functions Expand All Collapse All

Parameters help

Name Type
_owner
address help

Properties

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

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), "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;
}

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), "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;
}

Parameters help

Name Type
_spender
address help
_value
uint256 help

Properties

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

Parameters help

Name Type
_owner
address help
_spender
address help

Properties

Visibility help public
Mutability help view
Source Code
function allowance(address _owner, address _spender)
  public
  view
  returns (uint256)
{
  return allowed[_owner][_spender];
}

batchTransfer keyboard_arrow_up

Parameters help

Name Type
_users
address[] help
_amounts
uint256[] help

Properties

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