My Defi Legends is a complete metaverse of Digital Heroes that live on the Binance Smart Chain (BSC), which allows millions of people to join the NFT & blockchain-based gaming world in an easy, creative and fun way.
Unable to find manual contract audit (e.g. Certik, PeckShield, Solidity...)
Reentrancy in DLegendsSeedAndPreSale.buyTokens() (#283-312):
External calls:
- token.transfer(msg.sender,tokenAmount) (#296)
External calls sending eth:
- address(benificiary).transfer(msg.value) (#297)
State variables written after the call(s):
- totalPresaleTokensSold += tokenAmount (#302)
Apply the check-effects-interactions pattern.
Additional information: link
DLegendsSeedAndPreSale.buyTokens() (#283-312) ignores return value by token.transfer(msg.sender,tokenAmount) (#307)
Use SafeERC20, or ensure that the transfer/transferFrom return value is checked.
Additional information: link
Combination 3: Reentrancy vulnerabilities + Unchecked transfer vulnerability. Usual for scams. May be justified by some complex mechanics (e.g. rebase, reflections). DYOR & manual audit are advised.
DLegendsSeedAndPreSale.closePreSale() (#314-320) ignores return value by token.burn(token.balanceOf(address(this))) (#318)
Ensure that all the return values of the function calls are used.
Additional information: link
DLegends.boosterBuyingAllowance(address,address).owner (#143) shadows:
- Ownable.owner() (#28-30) (function)
Rename the local variables that shadow another component.
Additional information: link
DLegends.setSeedAndPresale(address) (#153-155) should emit an event for:
- seedAndPresale = seedAndPresale_ (#154)
- seedAndPresale = seedAndPresale_ (#154)
Emit an event for critical parameter changes.
Additional information: link
DLegendsSeedAndPreSale.setStartTime(uint256) (#251-253) should emit an event for:
- startTime = time (#252)
Emit an event for critical parameter changes.
Additional information: link
DLegendsSeedAndPreSale.constructor(address,address).beneficiary_ (#246) lacks a zero-check on :
- benificiary = beneficiary_ (#248)
Check that the address is not zero.
Additional information: link
Reentrancy in DLegendsSeedAndPreSale.buyTokens() (#283-312):
External calls:
- token.transfer(msg.sender,tokenAmount) (#296)
External calls sending eth:
- address(benificiary).transfer(msg.value) (#297)
State variables written after the call(s):
- salesAtPresale[msg.sender] += msg.value (#304)
- totalPresaleBnbCollected += msg.value (#303)
Apply the check-effects-interactions pattern.
Additional information: link
DLegendsSeedAndPreSale.getState() (#259-273) uses timestamp for comparisons
Dangerous comparisons:
- block.timestamp < startTime (#260)
- block.timestamp >= startTime && block.timestamp < startTime + SEED_DURATION (#261)
- block.timestamp >= startTime + SEED_DURATION && block.timestamp < startTime + SEED_DURATION + DELAY_BEFORE_PRESALE (#265)
- block.timestamp >= startTime + SEED_DURATION + DELAY_BEFORE_PRESALE && block.timestamp < startTime + SEED_DURATION + DELAY_BEFORE_PRESALE + PRESALE_DURATION (#266-267)
- block.timestamp >= startTime + SEED_DURATION + DELAY_BEFORE_PRESALE + PRESALE_DURATION (#271)
Avoid relying on block.timestamp.
Additional information: link
solc-0.8.4 is not recommended for deployment
Deploy with any of the following Solidity versions: 0.5.16 - 0.5.17, 0.6.11 - 0.6.12, 0.7.5 - 0.7.6 Use a simple pragma version that allows any of these versions. Consider using the latest version of Solidity for testing.
Additional information: link
Constant DLegends._decimals (#53) is not in UPPER_CASE_WITH_UNDERSCORES
Follow the Solidity naming convention.
Additional information: link
Reentrancy in DLegendsSeedAndPreSale.buyTokens() (#283-312):
External calls:
- address(benificiary).transfer(msg.value) (#297)
State variables written after the call(s):
- salesAtPresale[msg.sender] += msg.value (#304)
- totalPresaleBnbCollected += msg.value (#303)
- totalPresaleTokensSold += tokenAmount (#302)
Apply the check-effects-interactions pattern.
Additional information: link
Ownable._lockTime (#19) is never used in DLegendsSeedAndPreSale (#210-321)
Remove unused state variables.
Additional information: link
Ownable._previousOwner (#18) should be constant
Add the constant attributes to state variables that never change.
Additional information: link
closePreSale() should be declared external:
- DLegendsSeedAndPreSale.closePreSale() (#314-320)
Use the external attribute for functions never called from the contract.
Additional information: link
Average 30d PancakeSwap volume is low.
Average PancakeSwap trading volume, liqudity, number of swaps are low. Token seems to be inactive.
Token is deployed only at one blockchain
Unable to find PancakeSwap trading pair to compute liquidity.
Unable to find PancakeSwap trading pair to compute number of swaps.
BscScan page for the token does not contain additional info: website, socials, description, etc.
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
Young tokens have high risks of scam / price dump / death
Young tokens have high risks of scam / price dump / death
Token has a considerable age, but social accounts / website are missing or have few users
Young tokens have high risks of price dump / death
Token has relatively low CoinGecko rank
Token has relatively low CoinMarketCap rank
Twitter account link seems to be invalid
Unable to find Youtube account
Unable to find Discord account