Public / External Functions Function Description
- name() Returns the token name
- symbol() Returns the token symbol
- decimals() Returns token decimals
- totalSupply() Returns total token supply
- balanceOf(address) Returns wallet balance
- transfer(address,uint256) Transfers tokens
- allowance(address,address) Checks allowance
- approve(address,uint256) Approves token allowance
- transferFrom(address,address,uint256) Transfers tokens using allowance
- owner() Returns contract owner
- transferOwnership(address) Transfers ownership
- renounceOwnership() Renounces ownership
- rescueBalance(address) Withdraws native coins from contract
- rescueToken(address,address) Withdraws ERC20 tokens sent to contract
Function Description
_transfer() Internal transfer logic
_update() Updates balances and supply
_mint() Mints tokens
_approve() Sets allowance
_spendAllowance() Spends allowance
❌ No additional mint function after deployment
❌ No burn function
❌ No pause function
❌ No blacklist system
❌ No tax mechanism
❌ No hidden backdoor
❌ No wallet freeze function
✅ Fixed Supply
✅ Ownership System
✅ ERC20 Standard
✅ Rescue Native Coin
✅ Rescue ERC20 Tokens
✅ Compatible with DEXs, Wallets, and Explorers
Initial Supply 100,000,000 Tokens Minted once during deployment only.
The DAN20 contract includes the following main functions.
Function Description
- name() Returns the token name
- symbol() Returns the token symbol
- decimals() Returns the token decimals
- totalSupply() Returns total token supply
- balanceOf(address) Returns wallet token balance
- transfer(address,uint256) Transfers tokens
- approve(address,uint256) Approves allowance
- allowance(address,address) Returns allowance amount
- transferFrom(address,address,uint256) Transfers using allowance
- owner() Returns contract owner
- transferOwnership(address) Transfers ownership
- renounceOwnership() Renounces ownership
- burn(uint256) Burns own tokens
- burnFrom(address,uint256) Burns tokens using allowance
- rescueBalance(address) Withdraws native coin
- rescueToken(address,address) Withdraws tokens stuck in contract
Function Purpose
- _transfer() Handles transfers
- _update() Updates balances
- _mint() Creates tokens
- _burn() Burns tokens
- _approve() Sets allowance
- _spendAllowance() Reduces allowance
Functions NOT Included
❌ Mint after deployment
❌ Pause
❌ Blacklist
❌ Tax system
❌ Anti-bot
❌ Max wallet
❌ Max transaction
❌ Upgradeability
Initial supply minted during deployment: 100000000×10 18 = 100 million tokens with 18 decimals.
Main Functions
- ERC20 Standard Functions
- Function Description
- transfer() Send tokens
- approve() Approve spender
- transferFrom() Transfer using allowance
- balanceOf() Check balance
- allowance() Check allowance
- totalSupply() Total token supply
✅ Mintable
✅ Burnable
✅ Blacklist system
✅ Ownable
✅ Receive native coin
✅ Custom decimals (8)
✅ Infinite allowance support