DuckDaoDime
ERC20
This contract is an ERC20 token.
Name
DuckDaoDime
Symbol
DDIM
Decimals
18
Total Supply
1,479,382 DDIM
About link description
DuckDaoDime (DDIM) is a cryptocurrency and operates on the Ethereum platform. DuckDaoDime has a current supply of 1,479,337.2535911 with 1,042,493.47318369 in circulation. The last known price of DuckDaoDime is 9.53999456 USD and is up 23.86 over the last 24 hours. It is currently trading on 9 active market(s) with $228,615.44 traded over the last 24 hours. More information can be found at https://duckdao.io/.
Stats
Public Functions
10
Event Types
2
Code Size
3,645 bytes
State Variables (6) keyboard_arrow_up
Functions
safeAdd keyboard_arrow_up
safeSub keyboard_arrow_up
safeMul keyboard_arrow_up
Requirements help
Source Code
function safeMul(uint256 a, uint256 b) public pure returns (uint256 c) {
c = a * b;
require(a == 0 || c / a == b);
}
safeDiv keyboard_arrow_up
totalSupply keyboard_arrow_up
balanceOf keyboard_arrow_up
allowance keyboard_arrow_up
transfer keyboard_arrow_up
Source Code
function transfer(address to, uint256 tokens) public returns (bool success) {
balances[msg.sender] = safeSub(balances[msg.sender], tokens);
balances[to] = safeAdd(balances[to], tokens);
emit Transfer(msg.sender, to, tokens);
return true;
}
approve keyboard_arrow_up
Source Code
function approve(address spender, uint256 tokens)
public
returns (bool success)
{
allowed[msg.sender][spender] = tokens;
emit Approval(msg.sender, spender, tokens);
return true;
}
transferFrom keyboard_arrow_up
Source Code
function transferFrom(
address from,
address to,
uint256 tokens
) public returns (bool success) {
balances[from] = safeSub(balances[from], tokens);
allowed[from][msg.sender] = safeSub(allowed[from][msg.sender], tokens);
balances[to] = safeAdd(balances[to], tokens);
emit Transfer(from, to, tokens);
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.