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.
State Variables (6) keyboard_arrow_up
Functions
transfer keyboard_arrow_up
Requirements help
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;
}
balanceOf keyboard_arrow_up
transferFrom keyboard_arrow_up
Requirements help
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;
}
approve keyboard_arrow_up
Source Code
function approve(address spender, uint256 amount) public returns (bool) {
allowed[msg.sender][spender] = amount;
emit Approval(msg.sender, spender, amount);
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.