YGGDRASIL Network - Interlinked with various utilities ranging from De-FI👑 / NFT Gaming🎮 / NFT Assets🎨 / Staking⏳🎁 / 1% from the transaction fees will be burn🔥 / 2% from the transaction fees will be use $BUSD Rewards💰 for $YGDL holders. LONG TERM VISION✔️ CMC listings✔️, CGK ✔️, CEX Listing ✔️ Don't miss out this HUGE Project 💎 that has the potential of 100X!! 🚀 / 🛡 DOXXED✅ - 🔎 AUDIT✅
YGGDRASIL.addLiquidity(uint256,uint256) (#2337-2350) sends eth to arbitrary user
Dangerous calls:
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,DevWallet,block.timestamp) (#2342-2349)
Ensure that an arbitrary user cannot withdraw unauthorized funds.
Additional information: link
Unable to find manual contract audit (e.g. Certik, PeckShield, Solidity...)
Contract ownership is not renounced (belongs to a wallet)
Contract locking ether found:
Contract YGGDRASILDividendTracker (#2367-2626) has payable functions:
- DividendPayingToken.receive() (#1429)
- DividendPayingToken.distributeDividends() (#1444-1457)
- IDividendPayingToken.distributeDividends() (#676)
But does not have a function to withdraw the ether
Remove the payable attribute or add a withdraw function.
Additional information: link
Reentrancy in YGGDRASIL._transfer(address,address,uint256) (#2142-2275):
External calls:
- swapTokensForBusd(MarketingWalletReserve,MarketingWallet) (#2233)
- uniswapV2Router.swapExactTokensForTokensSupportingFeeOnTransferTokens(tokenAmount,0,path,recipient,block.timestamp) (#2328-2334)
State variables written after the call(s):
- MarketingWalletReserve = 0 (#2234)
Reentrancy in YGGDRASIL._transfer(address,address,uint256) (#2142-2275):
External calls:
- swapTokensForBusd(MarketingWalletReserve,MarketingWallet) (#2233)
- uniswapV2Router.swapExactTokensForTokensSupportingFeeOnTransferTokens(tokenAmount,0,path,recipient,block.timestamp) (#2328-2334)
- swapTokensForBusd(DevWalletReserve,DevWallet) (#2239)
- uniswapV2Router.swapExactTokensForTokensSupportingFeeOnTransferTokens(tokenAmount,0,path,recipient,block.timestamp) (#2328-2334)
State variables written after the call(s):
- DevWalletReserve = 0 (#2240)
Reentrancy in YGGDRASIL._transfer(address,address,uint256) (#2142-2275):
External calls:
- swapTokensForBusd(MarketingWalletReserve,MarketingWallet) (#2233)
- uniswapV2Router.swapExactTokensForTokensSupportingFeeOnTransferTokens(tokenAmount,0,path,recipient,block.timestamp) (#2328-2334)
- swapTokensForBusd(DevWalletReserve,DevWallet) (#2239)
- uniswapV2Router.swapExactTokensForTokensSupportingFeeOnTransferTokens(tokenAmount,0,path,recipient,block.timestamp) (#2328-2334)
- swapAndSendDividends(sellTokens) (#2245)
- success = IERC20(BUSD).transfer(address(dividendTracker),dividends) (#2355-2358)
- dividendTracker.distributeBusdDividends(dividends) (#2361)
- uniswapV2Router.swapExactTokensForTokensSupportingFeeOnTransferTokens(tokenAmount,0,path,recipient,block.timestamp) (#2328-2334)
State variables written after the call(s):
- super._transfer(from,to,amount) (#2250)
- _balances[sender] = _balances[sender].sub(amount,ERC20: transfer amount exceeds balance) (#1022-1025)
- _balances[recipient] = _balances[recipient].add(amount) (#1026)
- swapping = false (#2247)
Reentrancy in DividendPayingToken._withdrawDividendOfUser(address) (#1480-1503):
External calls:
- success = IERC20(BUSD).transfer(user,_withdrawableDividend) (#1490)
State variables written after the call(s):
- withdrawnDividends[user] = withdrawnDividends[user].sub(_withdrawableDividend) (#1493-1495)
Reentrancy in YGGDRASIL.updateDividendTracker(address) (#1916-1939):
External calls:
- newDividendTracker.excludeFromDividends(address(newDividendTracker)) (#1931)
- newDividendTracker.excludeFromDividends(address(this)) (#1932)
- newDividendTracker.excludeFromDividends(owner()) (#1933)
- newDividendTracker.excludeFromDividends(address(uniswapV2Router)) (#1934)
State variables written after the call(s):
- dividendTracker = newDividendTracker (#1938)
Apply the check-effects-interactions pattern.
Additional information: link
YGGDRASIL.setBUSDRewardsFeeBuy(uint256) (#1783-1800) should emit an event for:
- BUSDRewardsFeeBuy = val (#1799)
YGGDRASIL.setDevFeeBuy(uint256) (#1802-1819) should emit an event for:
- DevFeeBuy = val (#1818)
YGGDRASIL.setMarketingFeeBuy(uint256) (#1821-1838) should emit an event for:
- MarketingFeeBuy = val (#1837)
YGGDRASIL.setBUSDRewardsFeesSell(uint256) (#1840-1857) should emit an event for:
- BUSDRewardsFeeSell = val (#1856)
YGGDRASIL.setDevFeeSell(uint256) (#1859-1876) should emit an event for:
- DevFeeSell = val (#1875)
YGGDRASIL.setMarketingFeeSell(uint256) (#1878-1895) should emit an event for:
- MarketingFeeSell = val (#1894)
YGGDRASIL.setBurnFee(uint256) (#1897-1914) should emit an event for:
- BurnFee = val (#1913)
YGGDRASIL.SetmaxSellTransactionAmount(uint256) (#2033-2042) should emit an event for:
- _maxSellTransactionAmount = maxSellTransactionAmount (#2041)
YGGDRASIL.setswapTokensAtAmount(uint256) (#2044-2054) should emit an event for:
- _swapTokensAtAmount = swapTokensAtAmount (#2053)
Emit an event for critical parameter changes.
Additional information: link
Redundant expression "this (#114)" inContext (#108-117)
Remove redundant statements if they congest code but offer no value.
Additional information: link
YGGDRASIL._transfer(address,address,uint256).iterations (#2261) is a local variable never initialized
YGGDRASIL._transfer(address,address,uint256).claims (#2262) is a local variable never initialized
YGGDRASIL._transfer(address,address,uint256).lastProcessedIndex (#2263) 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
YGGDRASIL.claim() (#2126-2128) ignores return value by dividendTracker.processAccount(address(msg.sender),false) (#2127)
YGGDRASIL._transfer(address,address,uint256) (#2142-2275) ignores return value by dividendTracker.process(gas) (#2260-2273)
YGGDRASIL.addLiquidity(uint256,uint256) (#2337-2350) ignores return value by uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,DevWallet,block.timestamp) (#2342-2349)
Ensure that all the return values of the function calls are used.
Additional information: link
DividendPayingToken.constructor(string,string)._name (#1425) shadows:
- ERC20._name (#794) (state variable)
DividendPayingToken.constructor(string,string)._symbol (#1425) shadows:
- ERC20._symbol (#795) (state variable)
Rename the local variables that shadow another component.
Additional information: link
DividendPayingToken._withdrawDividendOfUser(address) (#1480-1503) has external calls inside a loop: success = IERC20(BUSD).transfer(user,_withdrawableDividend) (#1490)
Favor pull over push strategy for external calls.
Additional information: link
Variable 'YGGDRASIL._transfer(address,address,uint256).claims (#2262)' in YGGDRASIL._transfer(address,address,uint256) (#2142-2275) potentially used before declaration: ProcessedDividendTracker(iterations,claims,lastProcessedIndex,true,gas,tx.origin) (#2265-2272)
Variable 'YGGDRASIL._transfer(address,address,uint256).iterations (#2261)' in YGGDRASIL._transfer(address,address,uint256) (#2142-2275) potentially used before declaration: ProcessedDividendTracker(iterations,claims,lastProcessedIndex,true,gas,tx.origin) (#2265-2272)
Variable 'YGGDRASIL._transfer(address,address,uint256).lastProcessedIndex (#2263)' in YGGDRASIL._transfer(address,address,uint256) (#2142-2275) potentially used before declaration: ProcessedDividendTracker(iterations,claims,lastProcessedIndex,true,gas,tx.origin) (#2265-2272)
Move all variable declarations prior to any usage of the variable, and ensure that reaching a variable declaration does not depend on some conditional if it is used unconditionally.
Additional information: link
Reentrancy in YGGDRASIL._transfer(address,address,uint256) (#2142-2275):
External calls:
- swapTokensForBusd(MarketingWalletReserve,MarketingWallet) (#2233)
- uniswapV2Router.swapExactTokensForTokensSupportingFeeOnTransferTokens(tokenAmount,0,path,recipient,block.timestamp) (#2328-2334)
- swapTokensForBusd(DevWalletReserve,DevWallet) (#2239)
- uniswapV2Router.swapExactTokensForTokensSupportingFeeOnTransferTokens(tokenAmount,0,path,recipient,block.timestamp) (#2328-2334)
State variables written after the call(s):
- swapTokensForBusd(DevWalletReserve,DevWallet) (#2239)
- _allowances[owner][spender] = amount (#1094)
Reentrancy in YGGDRASIL._transfer(address,address,uint256) (#2142-2275):
External calls:
- swapTokensForBusd(MarketingWalletReserve,MarketingWallet) (#2233)
- uniswapV2Router.swapExactTokensForTokensSupportingFeeOnTransferTokens(tokenAmount,0,path,recipient,block.timestamp) (#2328-2334)
- swapTokensForBusd(DevWalletReserve,DevWallet) (#2239)
- uniswapV2Router.swapExactTokensForTokensSupportingFeeOnTransferTokens(tokenAmount,0,path,recipient,block.timestamp) (#2328-2334)
- swapAndSendDividends(sellTokens) (#2245)
- success = IERC20(BUSD).transfer(address(dividendTracker),dividends) (#2355-2358)
- dividendTracker.distributeBusdDividends(dividends) (#2361)
- uniswapV2Router.swapExactTokensForTokensSupportingFeeOnTransferTokens(tokenAmount,0,path,recipient,block.timestamp) (#2328-2334)
State variables written after the call(s):
- swapAndSendDividends(sellTokens) (#2245)
- _allowances[owner][spender] = amount (#1094)
Reentrancy in YGGDRASIL.constructor() (#1721-1768):
External calls:
- _uniswapV2Pair = IUniswapV2Factory(_uniswapV2Router.factory()).createPair(address(this),_uniswapV2Router.WETH()) (#1737-1738)
State variables written after the call(s):
- uniswapV2Pair = _uniswapV2Pair (#1741)
- uniswapV2Router = _uniswapV2Router (#1740)
Reentrancy in YGGDRASIL.constructor() (#1721-1768):
External calls:
- _uniswapV2Pair = IUniswapV2Factory(_uniswapV2Router.factory()).createPair(address(this),_uniswapV2Router.WETH()) (#1737-1738)
- _setAutomatedMarketMakerPair(_uniswapV2Pair,true) (#1743)
- dividendTracker.excludeFromDividends(pair) (#1991)
- dividendTracker.excludeFromDividends(address(dividendTracker)) (#1746)
- dividendTracker.excludeFromDividends(address(this)) (#1747)
- dividendTracker.excludeFromDividends(owner()) (#1748)
- dividendTracker.excludeFromDividends(address(_uniswapV2Router)) (#1749)
State variables written after the call(s):
- _approve(msg.sender,address(_uniswapV2Router),type()(uint256).max) (#1751)
- _allowances[owner][spender] = amount (#1094)
- _approve(msg.sender,address(this),type()(uint256).max) (#1752)
- _allowances[owner][spender] = amount (#1094)
- _approve(address(this),address(_uniswapV2Router),type()(uint256).max) (#1754)
- _allowances[owner][spender] = amount (#1094)
- _approve(address(this),address(BUSD),type()(uint256).max) (#1755)
- _allowances[owner][spender] = amount (#1094)
- _mint(owner(),1000000000 * (10 ** 18)) (#1767)
- _balances[account] = _balances[account].add(amount) (#1045)
- excludeFromFees(DevWallet,true) (#1758)
- _isExcludedFromFees[account] = excluded (#1955)
- excludeFromFees(address(this),true) (#1759)
- _isExcludedFromFees[account] = excluded (#1955)
- _mint(owner(),1000000000 * (10 ** 18)) (#1767)
- _totalSupply = _totalSupply.add(amount) (#1044)
- canTransferBeforeTradingIsEnabled[owner()] = true (#1762)
Reentrancy in YGGDRASILDividendTracker.processAccount(address,bool) (#2610-2624):
External calls:
- amount = _withdrawDividendOfUser(account) (#2615)
- success = IERC20(BUSD).transfer(user,_withdrawableDividend) (#1490)
State variables written after the call(s):
- lastClaimTimes[account] = block.timestamp (#2618)
Apply the check-effects-interactions pattern.
Additional information: link
Reentrancy in YGGDRASIL._setAutomatedMarketMakerPair(address,bool) (#1983-1995):
External calls:
- dividendTracker.excludeFromDividends(pair) (#1991)
Event emitted after the call(s):
- SetAutomatedMarketMakerPair(pair,value) (#1994)
Reentrancy in YGGDRASIL._transfer(address,address,uint256) (#2142-2275):
External calls:
- swapTokensForBusd(MarketingWalletReserve,MarketingWallet) (#2233)
- uniswapV2Router.swapExactTokensForTokensSupportingFeeOnTransferTokens(tokenAmount,0,path,recipient,block.timestamp) (#2328-2334)
- swapTokensForBusd(DevWalletReserve,DevWallet) (#2239)
- uniswapV2Router.swapExactTokensForTokensSupportingFeeOnTransferTokens(tokenAmount,0,path,recipient,block.timestamp) (#2328-2334)
Event emitted after the call(s):
- Approval(owner,spender,amount) (#1095)
- swapTokensForBusd(DevWalletReserve,DevWallet) (#2239)
Reentrancy in YGGDRASIL._transfer(address,address,uint256) (#2142-2275):
External calls:
- swapTokensForBusd(MarketingWalletReserve,MarketingWallet) (#2233)
- uniswapV2Router.swapExactTokensForTokensSupportingFeeOnTransferTokens(tokenAmount,0,path,recipient,block.timestamp) (#2328-2334)
- swapTokensForBusd(DevWalletReserve,DevWallet) (#2239)
- uniswapV2Router.swapExactTokensForTokensSupportingFeeOnTransferTokens(tokenAmount,0,path,recipient,block.timestamp) (#2328-2334)
- swapAndSendDividends(sellTokens) (#2245)
- success = IERC20(BUSD).transfer(address(dividendTracker),dividends) (#2355-2358)
- dividendTracker.distributeBusdDividends(dividends) (#2361)
- uniswapV2Router.swapExactTokensForTokensSupportingFeeOnTransferTokens(tokenAmount,0,path,recipient,block.timestamp) (#2328-2334)
Event emitted after the call(s):
- Approval(owner,spender,amount) (#1095)
- swapAndSendDividends(sellTokens) (#2245)
- SendDividends(tokens,dividends) (#2362)
- swapAndSendDividends(sellTokens) (#2245)
- Transfer(sender,recipient,amount) (#1027)
- super._transfer(from,to,amount) (#2250)
Reentrancy in YGGDRASIL._transfer(address,address,uint256) (#2142-2275):
External calls:
- swapTokensForBusd(MarketingWalletReserve,MarketingWallet) (#2233)
- uniswapV2Router.swapExactTokensForTokensSupportingFeeOnTransferTokens(tokenAmount,0,path,recipient,block.timestamp) (#2328-2334)
- swapTokensForBusd(DevWalletReserve,DevWallet) (#2239)
- uniswapV2Router.swapExactTokensForTokensSupportingFeeOnTransferTokens(tokenAmount,0,path,recipient,block.timestamp) (#2328-2334)
- swapAndSendDividends(sellTokens) (#2245)
- success = IERC20(BUSD).transfer(address(dividendTracker),dividends) (#2355-2358)
- dividendTracker.distributeBusdDividends(dividends) (#2361)
- uniswapV2Router.swapExactTokensForTokensSupportingFeeOnTransferTokens(tokenAmount,0,path,recipient,block.timestamp) (#2328-2334)
- dividendTracker.setBalance(address(from),balanceOf(from)) (#2252-2254)
- dividendTracker.setBalance(address(to),balanceOf(to)) (#2255)
- dividendTracker.process(gas) (#2260-2273)
Event emitted after the call(s):
- ProcessedDividendTracker(iterations,claims,lastProcessedIndex,true,gas,tx.origin) (#2265-2272)
Reentrancy in YGGDRASIL.constructor() (#1721-1768):
External calls:
- _uniswapV2Pair = IUniswapV2Factory(_uniswapV2Router.factory()).createPair(address(this),_uniswapV2Router.WETH()) (#1737-1738)
- _setAutomatedMarketMakerPair(_uniswapV2Pair,true) (#1743)
- dividendTracker.excludeFromDividends(pair) (#1991)
Event emitted after the call(s):
- SetAutomatedMarketMakerPair(pair,value) (#1994)
- _setAutomatedMarketMakerPair(_uniswapV2Pair,true) (#1743)
Reentrancy in YGGDRASIL.constructor() (#1721-1768):
External calls:
- _uniswapV2Pair = IUniswapV2Factory(_uniswapV2Router.factory()).createPair(address(this),_uniswapV2Router.WETH()) (#1737-1738)
- _setAutomatedMarketMakerPair(_uniswapV2Pair,true) (#1743)
- dividendTracker.excludeFromDividends(pair) (#1991)
- dividendTracker.excludeFromDividends(address(dividendTracker)) (#1746)
- dividendTracker.excludeFromDividends(address(this)) (#1747)
- dividendTracker.excludeFromDividends(owner()) (#1748)
- dividendTracker.excludeFromDividends(address(_uniswapV2Router)) (#1749)
Event emitted after the call(s):
- Approval(owner,spender,amount) (#1095)
- _approve(msg.sender,address(_uniswapV2Router),type()(uint256).max) (#1751)
- Approval(owner,spender,amount) (#1095)
- _approve(address(this),address(BUSD),type()(uint256).max) (#1755)
- Approval(owner,spender,amount) (#1095)
- _approve(address(this),address(_uniswapV2Router),type()(uint256).max) (#1754)
- Approval(owner,spender,amount) (#1095)
- _approve(msg.sender,address(this),type()(uint256).max) (#1752)
- ExcludeFromFees(account,excluded) (#1957)
- excludeFromFees(address(this),true) (#1759)
- ExcludeFromFees(account,excluded) (#1957)
- excludeFromFees(DevWallet,true) (#1758)
- Transfer(address(0),account,amount) (#1046)
- _mint(owner(),1000000000 * (10 ** 18)) (#1767)
Reentrancy in YGGDRASILDividendTracker.processAccount(address,bool) (#2610-2624):
External calls:
- amount = _withdrawDividendOfUser(account) (#2615)
- success = IERC20(BUSD).transfer(user,_withdrawableDividend) (#1490)
Event emitted after the call(s):
- Claim(account,amount,automatic) (#2619)
Reentrancy in YGGDRASIL.processDividendTracker(uint256) (#2110-2124):
External calls:
- (iterations,claims,lastProcessedIndex) = dividendTracker.process(gas) (#2111-2115)
Event emitted after the call(s):
- ProcessedDividendTracker(iterations,claims,lastProcessedIndex,false,gas,tx.origin) (#2116-2123)
Reentrancy in YGGDRASIL.swapAndLiquify(uint256) (#2277-2298):
External calls:
- swapTokensForEth(half) (#2289)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp + 1000) (#2309-2315)
Event emitted after the call(s):
- SwapAndLiquify(half,newBalance,otherHalf) (#2297)
Reentrancy in YGGDRASIL.swapAndSendDividends(uint256) (#2352-2364):
External calls:
- swapTokensForBusd(tokens,address(this)) (#2353)
- uniswapV2Router.swapExactTokensForTokensSupportingFeeOnTransferTokens(tokenAmount,0,path,recipient,block.timestamp) (#2328-2334)
- success = IERC20(BUSD).transfer(address(dividendTracker),dividends) (#2355-2358)
- dividendTracker.distributeBusdDividends(dividends) (#2361)
Event emitted after the call(s):
- SendDividends(tokens,dividends) (#2362)
Reentrancy in YGGDRASIL.updateDividendTracker(address) (#1916-1939):
External calls:
- newDividendTracker.excludeFromDividends(address(newDividendTracker)) (#1931)
- newDividendTracker.excludeFromDividends(address(this)) (#1932)
- newDividendTracker.excludeFromDividends(owner()) (#1933)
- newDividendTracker.excludeFromDividends(address(uniswapV2Router)) (#1934)
Event emitted after the call(s):
- UpdateDividendTracker(newAddress,address(dividendTracker)) (#1936)
Apply the check-effects-interactions pattern.
Additional information: link
YGGDRASIL.getTradingIsEnabled() (#2138-2140) uses timestamp for comparisons
Dangerous comparisons:
- block.timestamp >= tradingEnabledTimestamp (#2139)
YGGDRASIL._transfer(address,address,uint256) (#2142-2275) uses timestamp for comparisons
Dangerous comparisons:
- ! swapping && tradingIsEnabled && automatedMarketMakerPairs[to] && from != address(uniswapV2Router) && ! _isExcludedFromFees[to] (#2171-2175)
- takeFee = tradingIsEnabled && ! swapping (#2187)
- tradingIsEnabled && canSwap && ! swapping && balanceOf(uniswapV2Pair) > 0 && ! automatedMarketMakerPairs[from] && ! _isExcludedFromFees[to] && ! _isExcludedFromFees[from] (#2221-2227)
YGGDRASILDividendTracker.getAccount(address) (#2448-2495) uses timestamp for comparisons
Dangerous comparisons:
- nextClaimTime > block.timestamp (#2492-2494)
YGGDRASILDividendTracker.canAutoClaim(uint256) (#2529-2535) uses timestamp for comparisons
Dangerous comparisons:
- lastClaimTime > block.timestamp (#2530)
- block.timestamp.sub(lastClaimTime) >= claimWait (#2534)
Avoid relying on block.timestamp.
Additional information: link
Context._msgData() (#113-116) is never used and should be removed
DividendPayingToken._transfer(address,address,uint256) (#1560-1575) is never used and should be removed
ERC20._setupDecimals(uint8) (#1105-1107) is never used and should be removed
SafeMath.div(uint256,uint256) (#1285-1288) is never used and should be removed
SafeMath.div(uint256,uint256,string) (#1344-1351) is never used and should be removed
SafeMath.mod(uint256,uint256) (#1302-1305) is never used and should be removed
SafeMath.mod(uint256,uint256,string) (#1368-1375) is never used and should be removed
SafeMath.tryAdd(uint256,uint256) (#1154-1162) is never used and should be removed
SafeMath.tryDiv(uint256,uint256) (#1202-1209) is never used and should be removed
SafeMath.tryMod(uint256,uint256) (#1216-1223) is never used and should be removed
SafeMath.tryMul(uint256,uint256) (#1183-1195) is never used and should be removed
SafeMath.trySub(uint256,uint256) (#1169-1176) is never used and should be removed
SafeMathInt.div(int256,int256) (#714-720) is never used and should be removed
SafeMathInt.mul(int256,int256) (#704-712) is never used and should be removed
YGGDRASIL.addLiquidity(uint256,uint256) (#2337-2350) is never used and should be removed
YGGDRASIL.swapAndLiquify(uint256) (#2277-2298) is never used and should be removed
YGGDRASIL.swapTokensForEth(uint256) (#2300-2316) is never used and should be removed
Remove unused functions.
Additional information: link
Pragma version>0.8.0<=0.8.15 (#5) is too complex
Pragma version>0.8.0<=0.8.15 (#96) is too complex
Pragma version>0.8.0<=0.8.15 (#121) is too complex
Pragma version>0.8.0<=0.8.15 (#283) is too complex
Pragma version>0.8.0<=0.8.15 (#333) is too complex
Pragma version>0.8.0<=0.8.15 (#366) is too complex
Pragma version>0.8.0<=0.8.15 (#479) is too complex
Pragma version>0.8.0<=0.8.15 (#555) is too complex
Pragma version>0.8.0<=0.8.15 (#628) is too complex
Pragma version>0.8.0<=0.8.15 (#661) is too complex
Pragma version>0.8.0<=0.8.15 (#695) is too complex
Pragma version>0.8.0<=0.8.15 (#741) is too complex
Pragma version>0.8.0<=0.8.15 (#759) is too complex
Pragma version>0.8.0<=0.8.15 (#1133) is too complex
Pragma version>0.8.0<=0.8.15 (#1382) is too complex
Pragma version>0.8.0<=0.8.15 (#1618) is too complex
solc-0.8.15 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
Function IUniswapV2Router01.WETH() (#126) is not in mixedCase
Function IUniswapV2Pair.DOMAIN_SEPARATOR() (#401) is not in mixedCase
Function IUniswapV2Pair.PERMIT_TYPEHASH() (#403) is not in mixedCase
Function IUniswapV2Pair.MINIMUM_LIQUIDITY() (#434) is not in mixedCase
Parameter DividendPayingToken.dividendOf(address)._owner (#1508) is not in mixedCase
Parameter DividendPayingToken.withdrawableDividendOf(address)._owner (#1515) is not in mixedCase
Parameter DividendPayingToken.withdrawnDividendOf(address)._owner (#1527) is not in mixedCase
Parameter DividendPayingToken.accumulativeDividendOf(address)._owner (#1541) is not in mixedCase
Constant DividendPayingToken.magnitude (#1401) is not in UPPER_CASE_WITH_UNDERSCORES
Variable DividendPayingToken.BUSD (#1406-1407) is not in mixedCase
Function YGGDRASIL.SetmaxSellTransactionAmount(uint256) (#2033-2042) is not in mixedCase
Variable YGGDRASIL.BUSD (#1626-1627) is not in mixedCase
Variable YGGDRASIL.MarketingWallet (#1628) is not in mixedCase
Variable YGGDRASIL.BurnAddress (#1629) is not in mixedCase
Variable YGGDRASIL.DevWallet (#1634) is not in mixedCase
Variable YGGDRASIL.MarketingWalletReserve (#1636) is not in mixedCase
Variable YGGDRASIL.DevWalletReserve (#1637) is not in mixedCase
Variable YGGDRASIL._maxTxAmount (#1641) is not in mixedCase
Variable YGGDRASIL._maxWalletAmount (#1642) is not in mixedCase
Variable YGGDRASIL.BUSDRewardsFeeBuy (#1644) is not in mixedCase
Variable YGGDRASIL.BUSDRewardsFeeSell (#1645) is not in mixedCase
Variable YGGDRASIL.DevFeeBuy (#1646) is not in mixedCase
Variable YGGDRASIL.DevFeeSell (#1647) is not in mixedCase
Variable YGGDRASIL.MarketingFeeSell (#1648) is not in mixedCase
Variable YGGDRASIL.MarketingFeeBuy (#1649) is not in mixedCase
Variable YGGDRASIL.BurnFee (#1650) is not in mixedCase
Parameter YGGDRASILDividendTracker.getAccount(address)._account (#2448) is not in mixedCase
Follow the Solidity naming convention.
Additional information: link
Variable IUniswapV2Router01.addLiquidity(address,address,uint256,uint256,uint256,uint256,address,uint256).amountADesired (#131) is too similar to IUniswapV2Router01.addLiquidity(address,address,uint256,uint256,uint256,uint256,address,uint256).amountBDesired (#132)
Variable DividendPayingToken._withdrawDividendOfUser(address)._withdrawableDividend (#1484) is too similar to YGGDRASILDividendTracker.getAccount(address).withdrawableDividends (#2455)
Prevent variables from having similar names.
Additional information: link
YGGDRASIL.constructor() (#1721-1768) uses literals with too many digits:
- _mint(owner(),1000000000 * (10 ** 18)) (#1767)
YGGDRASIL.updateGasForProcessing(uint256) (#2007-2018) uses literals with too many digits:
- require(bool,string)(newValue >= 200000 && newValue <= 500000,YGGDRASIL: gasForProcessing must be between 200,000 and 500,000) (#2008-2011)
YGGDRASIL.SetmaxSellTransactionAmount(uint256) (#2033-2042) uses literals with too many digits:
- require(bool,string)(maxSellTransactionAmount > 100000000000000000,SellFee cant be lower than 0.1) (#2037-2040)
YGGDRASIL.slitherConstructorVariables() (#1620-2365) uses literals with too many digits:
- BurnAddress = 0x000000000000000000000000000000000000dEaD (#1629)
YGGDRASIL.slitherConstructorVariables() (#1620-2365) uses literals with too many digits:
- _maxSellTransactionAmount = 1000000000 * (10 ** 18) (#1639)
YGGDRASIL.slitherConstructorVariables() (#1620-2365) uses literals with too many digits:
- _maxTxAmount = 5000000 * (10 ** 18) (#1641)
YGGDRASIL.slitherConstructorVariables() (#1620-2365) uses literals with too many digits:
- _maxWalletAmount = 30000000 * (10 ** 18) (#1642)
YGGDRASIL.slitherConstructorVariables() (#1620-2365) uses literals with too many digits:
- gasForProcessing = 1000000 (#1657)
YGGDRASILDividendTracker.getAccountAtIndex(uint256) (#2497-2527) uses literals with too many digits:
- (0x0000000000000000000000000000000000000000,- 1,- 1,0,0,0,0,0) (#2512-2521)
Use: Ether suffix, Time suffix, or The scientific notation
Additional information: link
DividendPayingToken.lastAmount (#1404) is never used in YGGDRASILDividendTracker (#2367-2626)
Remove unused state variables.
Additional information: link
DividendPayingToken.lastAmount (#1404) should be constant
YGGDRASIL.BurnAddress (#1629) should be constant
YGGDRASIL.MarketingWallet (#1628) should be constant
YGGDRASIL._maxTxAmount (#1641) should be constant
YGGDRASIL._maxWalletAmount (#1642) should be constant
Add the constant attributes to state variables that never change.
Additional information: link
get(IterableMapping.Map,address) should be declared external:
- IterableMapping.get(IterableMapping.Map,address) (#490-492)
getIndexOfKey(IterableMapping.Map,address) should be declared external:
- IterableMapping.getIndexOfKey(IterableMapping.Map,address) (#494-503)
getKeyAtIndex(IterableMapping.Map,uint256) should be declared external:
- IterableMapping.getKeyAtIndex(IterableMapping.Map,uint256) (#505-511)
size(IterableMapping.Map) should be declared external:
- IterableMapping.size(IterableMapping.Map) (#513-515)
renounceOwnership() should be declared external:
- Ownable.renounceOwnership() (#608-611)
transferOwnership(address) should be declared external:
- Ownable.transferOwnership(address) (#617-624)
name() should be declared external:
- ERC20.name() (#816-818)
symbol() should be declared external:
- ERC20.symbol() (#824-826)
decimals() should be declared external:
- ERC20.decimals() (#841-843)
transfer(address,uint256) should be declared external:
- ERC20.transfer(address,uint256) (#873-881)
allowance(address,address) should be declared external:
- ERC20.allowance(address,address) (#886-894)
approve(address,uint256) should be declared external:
- ERC20.approve(address,uint256) (#903-911)
transferFrom(address,address,uint256) should be declared external:
- ERC20.transferFrom(address,address,uint256) (#926-941)
increaseAllowance(address,uint256) should be declared external:
- ERC20.increaseAllowance(address,uint256) (#955-966)
decreaseAllowance(address,uint256) should be declared external:
- ERC20.decreaseAllowance(address,uint256) (#982-996)
distributeDividends() should be declared external:
- DividendPayingToken.distributeDividends() (#1444-1457)
distributeBusdDividends(uint256) should be declared external:
- DividendPayingToken.distributeBusdDividends(uint256) (#1459-1470)
withdrawDividend() should be declared external:
- DividendPayingToken.withdrawDividend() (#1474-1476)
- YGGDRASILDividendTracker.withdrawDividend() (#2410-2415)
dividendOf(address) should be declared external:
- DividendPayingToken.dividendOf(address) (#1508-1510)
withdrawnDividendOf(address) should be declared external:
- DividendPayingToken.withdrawnDividendOf(address) (#1527-1534)
updateDividendTracker(address) should be declared external:
- YGGDRASIL.updateDividendTracker(address) (#1916-1939)
updateUniswapV2Router(address) should be declared external:
- YGGDRASIL.updateUniswapV2Router(address) (#1941-1948)
excludeMultipleAccountsFromFees(address[],bool) should be declared external:
- YGGDRASIL.excludeMultipleAccountsFromFees(address[],bool) (#1960-1969)
setAutomatedMarketMakerPair(address,bool) should be declared external:
- YGGDRASIL.setAutomatedMarketMakerPair(address,bool) (#1971-1981)
updateDevWallet(address) should be declared external:
- YGGDRASIL.updateDevWallet(address) (#1997-2005)
updateGasForProcessing(uint256) should be declared external:
- YGGDRASIL.updateGasForProcessing(uint256) (#2007-2018)
isExcludedFromFees(address) should be declared external:
- YGGDRASIL.isExcludedFromFees(address) (#2056-2058)
withdrawableDividendOf(address) should be declared external:
- YGGDRASIL.withdrawableDividendOf(address) (#2060-2066)
dividendTokenBalanceOf(address) should be declared external:
- YGGDRASIL.dividendTokenBalanceOf(address) (#2068-2074)
getAccountAtIndex(uint256) should be declared external:
- YGGDRASILDividendTracker.getAccountAtIndex(uint256) (#2497-2527)
process(uint256) should be declared external:
- YGGDRASILDividendTracker.process(uint256) (#2556-2608)
Use the external attribute for functions never called from the contract.
Additional information: link
Unable to verify that token and website are owned by the same team (no listings + unable to find contract on website)
BscScan page for the token does not contain additional info: website, socials, description, etc.
Additional information: link
Unable to find token contract audit
Unable to find KYC or doxxing proof
Unable to verify token contract address on the website
Unable to find audit link on the website
Unable to find code repository for the project
Unable to find whitepaper link on the website
Unable to find token on CoinGecko
Additional information: link
Unable to find token on CoinMarketCap
Additional information: link
Token is not listed at Mobula.Finance
Additional information: link
Unable to find token on CoinHunt
Additional information: link
Young tokens have high risks of scam / price dump / death
Token is marked as scam (rug pull, honeypot, phishing, etc.)
Additional information: link
Token has no active CoinGecko listing / rank
Token has no active CoinMarketCap listing / rank
Young tokens have high risks of price dump / death
Young tokens have high risks of price dump / death
Unable to find Discord account
Twitter account has few posts