DreamDAO is a decentralized project initiated by the community. We hope to create a completely decentralized DeFi ecosystem based on the concept of Satoshi Nakamoto.
DREAM is DreamDAO’s native cryptocurrency. DREAM denotes users’ rights on DreamDAO and is designed for the empowerment of the ecosystem and governance over the community.
Unable to find manual contract audit (e.g. Certik, PeckShield, Solidity...)
DreamDAO.constructor(address,address,address).DREAM_HUB (#946) shadows:
- BEP20.DREAM_HUB (#609) (state variable)
DreamDAO.constructor(address,address,address).charity (#946) shadows:
- BEP20.charity (#610) (state variable)
DreamDAO.constructor(address,address,address).market (#946) shadows:
- BEP20.market (#608) (state variable)
Rename the local variables that shadow another component.
Additional information: link
Address.isContract(address) (#246-255) uses assembly
- INLINE ASM (#253)
Address._functionCallWithValue(address,bytes,uint256,string) (#342-363) uses assembly
- INLINE ASM (#355-358)
Do not use evm assembly.
Additional information: link
Redundant expression "this (#217)" inContext (#211-220)
Remove redundant statements if they congest code but offer no value.
Additional information: link
BEP20.addLiquidity(uint256,uint256) (#785-798) ignores return value by pancakeRouter.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,Owner(),block.timestamp) (#790-797)
Ensure that all the return values of the function calls are used.
Additional information: link
BEP20.transferOwnership(address).newOwner (#673) lacks a zero-check on :
- _owner = newOwner (#679)
BEP20.constructor(string,string,uint8,address,address,address).charity_ (#640) lacks a zero-check on :
- charity = charity_ (#655)
BEP20.constructor(string,string,uint8,address,address,address).market_ (#640) lacks a zero-check on :
- market = market_ (#653)
BEP20.constructor(string,string,uint8,address,address,address).JBCHUB_ (#640) lacks a zero-check on :
- DREAM_HUB = JBCHUB_ (#654)
Check that the address is not zero.
Additional information: link
BEP20._transfer(address,address,uint256) (#755-765) uses timestamp for comparisons
Dangerous comparisons:
- ! _isExcluFromFrr[from] && ! _isExcluFromFrr[to] && deployTime != 0 && block.timestamp.sub(deployTime) <= 600 (#760)
Avoid relying on block.timestamp.
Additional information: link
BEP20.addLiquidity(uint256,uint256) (#785-798) is never used and should be removed
Address.sendValue(address,uint256) (#274-280) is never used and should be removed
Address.functionCallWithValue(address,bytes,uint256) (#326-328) is never used and should be removed
Address.functionCallWithValue(address,bytes,uint256,string) (#337-340) is never used and should be removed
Context._msgData() (#216-219) is never used and should be removed
Address._functionCallWithValue(address,bytes,uint256,string) (#342-363) is never used and should be removed
Address.isContract(address) (#246-255) is never used and should be removed
Address.functionCall(address,bytes,string) (#311-313) is never used and should be removed
Address.functionCall(address,bytes) (#301-303) is never used and should be removed
BEP20.swapTokensForEth(uint256) (#767-783) is never used and should be removed
Remove unused functions.
Additional information: link
BEP20._bonusHubFrr (#617) is set pre-construction with a non-constant function or state variable:
- bonusHubFrr
BEP20._marketFrr (#614) is set pre-construction with a non-constant function or state variable:
- marketFrr
BEP20.burnFrr (#624) is set pre-construction with a non-constant function or state variable:
- _burnFrr
Remove any initialization of state variables via non-constant state variables or function calls. If variables must be set upon contract deployment, locate initialization in the constructor instead.
Additional information: link
Low level call in Address._functionCallWithValue(address,bytes,uint256,string) (#342-363):
- (success,returndata) = target.call{value: weiValue}(data) (#346)
Low level call in Address.sendValue(address,uint256) (#274-280):
- (success) = recipient.call{value: amount}() (#278)
Avoid low-level calls. Check the call success. If the call is meant for a contract, check for code existence
Additional information: link
Variable BEP20.DREAM_HUB (#609) is not in mixedCase
Function IUniswapV2Pair.PERMIT_TYPEHASH() (#403) is not in mixedCase
Function BEP20.Owner() (#664-666) is not in mixedCase
Function IUniswapV2Pair.MINIMUM_LIQUIDITY() (#420) is not in mixedCase
Event BEP20swaAndLiquiEbleUpdated(bool) (#634) is not in CapWords
Function IUniswapV2Pair.DOMAIN_SEPARATOR() (#402) is not in mixedCase
Parameter BEP20.airdropSameAmounts(address[],uint256)._tos (#908) is not in mixedCase
Variable BEP20._burnFrr (#623) is not in mixedCase
Function IUniswapV2Router01.WETH() (#442) is not in mixedCase
Parameter BEP20.airdropSameAmounts(address[],uint256)._value (#908) is not in mixedCase
Event BEP20accountLockUpdated(address,uint256) (#636) is not in CapWords
Follow the Solidity naming convention.
Additional information: link
Variable BEP20._bonusHubFrr (#617) is too similar to BEP20._tokenTransfer(address,address,uint256).bonusHubFrr_ (#807)
Variable IUniswapV2Router01.addLiquidity(address,address,uint256,uint256,uint256,uint256,address,uint256).amountADesired (#447) is too similar to IUniswapV2Router01.addLiquidity(address,address,uint256,uint256,uint256,uint256,address,uint256).amountBDesired (#448)
Variable BEP20._bonusHubFrr (#617) is too similar to BEP20.jbcHubTransfer(address,uint256).bonusHubFrr_ (#854)
Variable BEP20._bonusHubFrr (#617) is too similar to BEP20.transferFrr(address,address,uint256).bonusHubFrr_ (#824)
Prevent variables from having similar names.
Additional information: link
DreamDAO.slitherConstructorVariables() (#944-951) uses literals with too many digits:
- deadAddress = 0x0000000000000000000000000000000000000000 (#626)
Use: Ether suffix, Time suffix, or The scientific notation
Additional information: link
BEP20.deadAddress (#626) should be constant
BEP20.liquidityFrr (#621) should be constant
BEP20._burnFrr (#623) should be constant
BEP20.charityFrr (#619) should be constant
Add the constant attributes to state variables that never change.
Additional information: link
transfer(address,uint256) should be declared external:
- BEP20.transfer(address,uint256) (#708-711)
symbol() should be declared external:
- BEP20.symbol() (#692-694)
excluFromFrr(address[]) should be declared external:
- BEP20.excluFromFrr(address[]) (#728-737)
approve(address,uint256) should be declared external:
- BEP20.approve(address,uint256) (#717-720)
name() should be declared external:
- BEP20.name() (#688-690)
balanceOf(address) should be declared external:
- BEP20.balanceOf(address) (#704-706)
transferFrom(address,address,uint256) should be declared external:
- BEP20.transferFrom(address,address,uint256) (#722-726)
airdrop(address[],uint256[]) should be declared external:
- BEP20.airdrop(address[],uint256[]) (#921-936)
burn(uint256) should be declared external:
- BEP20.burn(uint256) (#890-902)
transferOwnership(address) should be declared external:
- BEP20.transferOwnership(address) (#673-680)
incluFromFrr(address) should be declared external:
- BEP20.incluFromFrr(address) (#739-742)
allowance(address,address) should be declared external:
- BEP20.allowance(address,address) (#713-715)
transferOwnershipToBurnAddress() should be declared external:
- BEP20.transferOwnershipToBurnAddress() (#682-685)
totalSupply() should be declared external:
- BEP20.totalSupply() (#700-702)
decimals() should be declared external:
- BEP20.decimals() (#696-698)
Use the external attribute for functions never called from the contract.
Additional information: link
Average 30d PancakeSwap liquidity is less than $100. Token is either dead or inactive.
Average 30d PancakeSwap volume is less than $100. Token is either dead or inactive.
Average PancakeSwap trading volume, liqudity, number of swaps are extremely low. Token seems to be dead.
Average 30d number of PancakeSwap swaps is less than 1. Token is either dead or inactive.
Token is deployed only at one blockchain
Contract has 10% buy tax and 10% sell tax.
Taxes are low and contract ownership is renounced.
Unable to crawl data from the website
Unable to find token contract audit
Unable to find audit link on the website
Unable to find code repository for the project
Token is not listed at Mobula.Finance
Additional information: link
Unable to find whitepaper link on the website
Unable to find token on CoinHunt
Additional information: link
Token has a considerable age, but we're still unable to find its website
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
Token has relatively low CoinGecko rank
Token has relatively low CoinMarketCap rank
Young tokens have high risks of price dump / death
Last post in Twitter was more than 180 days ago
Twitter account has relatively few followers
Unable to find Youtube account
Unable to find Discord account
Twitter account has few posts