Tao Dao Token Logo

TAO [Tao Dao] Token

About TAO

Listings

Token 3 years

Gen 2 Algorithmic Floating Stablecoin

Social

Laser Scorebeta Last Audit: 30 November 2021

report
Token is either risky or in presale. For presale 30+ is a fine score.

Anti-Scam

Links


Unable to find manual contract audit (e.g. Certik, PeckShield, Solidity...)

KnowingTaoRebaseBlock.KnowingTaoRebaseBlock_validateTransfer(address,address,uint256) (contracts/Trap/sTaoProtectedBase.sol#26-30) uses a dangerous strict equality:
- sTaoCheckBlock == 0 && _to == Staking && _amount > 0 (contracts/Trap/sTaoProtectedBase.sol#27)
Don't use strict equality to determine if an account has enough Ether or tokens.

Additional information: link

vault() should be declared external:
- VaultOwned.vault() (contracts/Utils/Divine.sol#1322-1324)
Use the external attribute for functions never called from the contract.

Additional information: link

EnumerableSet.getValues(EnumerableSet.AddressSet).addressArray (contracts/Utils/Divine.sol#338) is a local variable never initialized
Initialize all the variables. If a variable is meant to be initialized to zero, explicitly set it to zero to improve code readability.

Additional information: link

TWAPOracleUpdater._uodateTWAPOracle(address,uint256) (contracts/Utils/Divine.sol#1379-1383) ignores return value by twapOracle.updateTWAP(dexPoolToUpdateFrom_,twapEpochPeriodToUpdate_) (contracts/Utils/Divine.sol#1381)
Ensure that all the return values of the function calls are used.

Additional information: link

VaultOwned.setVault(address) (contracts/Utils/Divine.sol#1313-1317) should emit an event for:
- _vault = vault_ (contracts/Utils/Divine.sol#1314)
Emit an event for critical parameter changes.

Additional information: link

VaultOwned.setVault(address).vault_ (contracts/Utils/Divine.sol#1313) lacks a zero-check on :
- _vault = vault_ (contracts/Utils/Divine.sol#1314)
Check that the address is not zero.

Additional information: link

Reentrancy in TaoToken._beforeTokenTransfer(address,address,uint256) (contracts/TaoToken.sol#32-38):
External calls:
- super._beforeTokenTransfer(_from,_to,_amount) (contracts/TaoToken.sol#33)
- twapOracle.updateTWAP(dexPoolToUpdateFrom_,twapEpochPeriodToUpdate_) (contracts/Utils/Divine.sol#1381)
State variables written after the call(s):
- sTaoRebaseCheck_validateTransfer(_from,_to,_amount) (contracts/TaoToken.sol#35)
- checkedInBlock[_to][sinceStaking] = true (contracts/Trap/sTaoRebaseCheck.sol#23)
- checkedInBlock[_from][sinceStaking] = true (contracts/Trap/sTaoRebaseCheck.sol#30)
- delete checkedInBlock[_from] (contracts/Trap/sTaoRebaseCheck.sol#43)
- sTaoCheck_validateTransfer(_from,_to,_amount) (contracts/TaoToken.sol#36)
- rebase[_to] = rebase[_to].add(_amount) (contracts/Trap/sTaoCheck.sol#24)
- rebase[_from] = 0 (contracts/Trap/sTaoCheck.sol#31)
- sTaoRebaseCheck_validateTransfer(_from,_to,_amount) (contracts/TaoToken.sol#35)
- rebaseInBlockCount[sinceStaking] ++ (contracts/Trap/sTaoRebaseCheck.sol#25)
- rebaseInBlockCount[sinceStaking] ++ (contracts/Trap/sTaoRebaseCheck.sol#32)
- sTaoRebaseCheck_validateTransfer(_from,_to,_amount) (contracts/TaoToken.sol#35)
- sTaoCheckBlock = block.number.toUInt96() (contracts/Trap/sTaoProtectedBase.sol#28)
- sTaoCheck_validateTransfer(_from,_to,_amount) (contracts/TaoToken.sol#36)
- sTaoCheckBlock = block.number.toUInt96() (contracts/Trap/sTaoProtectedBase.sol#28)
Apply the check-effects-interactions pattern.

Additional information: link

ERC20Permit.permit(address,address,uint256,uint256,uint8,bytes32,bytes32) (contracts/Utils/Divine.sol#1217-1238) uses timestamp for comparisons
Dangerous comparisons:
- require(bool,string)(block.timestamp <= deadline,Permit: expired deadline) (contracts/Utils/Divine.sol#1226)
Avoid relying on block.timestamp.

Additional information: link

ERC20Permit.constructor() (contracts/Utils/Divine.sol#1196-1211) uses assembly
- INLINE ASM (contracts/Utils/Divine.sol#1198-1200)
Do not use evm assembly.

Additional information: link

SafeMath.substractPercentage(uint256,uint8) (contracts/Utils/Divine.sol#734-736) is never used and should be removed
Remove unused functions.

Additional information: link

Variable VaultOwned._vault (contracts/Utils/Divine.sol#1311) is not in mixedCase
Follow the Solidity naming convention.

Additional information: link

Redundant expression "this (contracts/Utils/Divine.sol#1144)" inContext (contracts/Utils/Divine.sol#1138-1147)
Remove redundant statements if they congest code but offer no value.

Additional information: link

ERC20.ERC20TOKEN_ERC1820_INTERFACE_ID (contracts/Utils/Divine.sol#766) is never used in ERC20Burnable (contracts/Utils/Divine.sol#1154-1183)
Remove unused state variables.

Additional information: link

Holders:


Average PancakeSwap trading volume, liqudity, number of swaps are extremely low. Token seems to be dead.


Number of Binance Smart Chain (BSC) token holders is low.


Token is deployed only at one blockchain


Token has only one trading pair


Unable to find PancakeSwap trading pair to compute liquidity.


Unable to find PancakeSwap trading pair to compute volume.


Unable to find PancakeSwap trading pair to compute number of swaps.


Twitter account link seems to be invalid


Unable to find Youtube account


BscScan page for the token does not contain additional info: website, socials, description, etc.

Additional information: link


Unable to find token on CoinMarketCap

Additional information: link


Unable to find token/project description on the website or on BscScan, CoinMarketCap


Unable to find token contract audit


Unable to verify token contract address on the website


Unable to find audit link on the website


Unable to find whitepaper link on the website


Unable to find Telegram link on the website


Unable to find Twitter link on the website


Unable to find token on CoinHunt

Additional information: link


Young tokens have high risks of scam / price dump / death


Young tokens have high risks of scam / price dump / death


Token has no active CoinMarketCap listing / rank


Token has a considerable age, but social accounts / website are missing or have few users


Token has a considerable age, but average PancakeSwap 30d trading volume is low


Young tokens have high risks of price dump / death

Price for TAO