Blockwell

DODO bird

ERC20

This contract is an ERC20 token.

Name DODO bird
Symbol DODO
Decimals 18
Total Supply 1,000,000,000 DODO

About link description

DODO (DODO) is a cryptocurrency and operates on the Ethereum platform. DODO has a current supply of 1,000,000,000 with 110,551,965 in circulation. The last known price of DODO is 1.02020103 USD and is down -10.97 over the last 24 hours. It is currently trading on 53 active market(s) with $69,828,607.69 traded over the last 24 hours. More information can be found at https://dodoex.io/.

Stats

Public Functions 5
Event Types 2
Code Size 4,946 bytes

Library Use

Uses SafeMath for uint256.

Events (2) keyboard_arrow_up

Approval Event

Parameters help
owner
address help
spender
address help
amount
uint256 help

Transfer Event

Parameters help
from
address help
to
address help
amount
uint256 help

symbol Variable

string help

name Variable

string help

decimals Variable

uint256 help

totalSupply Variable

uint256 help

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
to
address help
amount
uint256 help

Properties

Visibility help public
Mutability help transaction
Source Code
function transfer(address to, uint256 amount) public returns (bool) {
  require(amount <= balances[msg.sender], "BALANCE_NOT_ENOUGH");

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

Parameters help

Name Type
owner
address help

Properties

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

Parameters help

Name Type
from
address help
to
address help
amount
uint256 help

Properties

Visibility help public
Mutability help transaction
Source Code
function transferFrom(
  address from,
  address to,
  uint256 amount
) public returns (bool) {
  require(amount <= balances[from], "BALANCE_NOT_ENOUGH");
  require(amount <= allowed[from][msg.sender], "ALLOWANCE_NOT_ENOUGH");

  balances[from] = balances[from].sub(amount);
  balances[to] = balances[to].add(amount);
  allowed[from][msg.sender] = allowed[from][msg.sender].sub(amount);
  emit Transfer(from, to, amount);
  return true;
}

Parameters help

Name Type
spender
address help
amount
uint256 help

Properties

Visibility help public
Mutability help transaction
Source Code
function approve(address spender, uint256 amount) public returns (bool) {
  allowed[msg.sender][spender] = amount;
  emit Approval(msg.sender, spender, amount);
  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];
}

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.