ToyDOGE is a charity driven token which strives to help children whom are less fortunate.
Unable to find manual contract audit (e.g. Certik, PeckShield, Solidity...)
Reentrancy in ToyDOGE._transfer(address,address,uint256) (#1084-1172):
External calls:
- swapAndLiquify(contractTokenBalance) (#1131)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,0x1fA5D26B4BDf55bC99253b916f4FAdb864A2459E,block.timestamp) (#1055-1062)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#1029-1035)
- _fees_to_bnb(_fee_buyback_convert_limit,_wallet_buyback,_fee_buyback_min_bal) (#1136)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,receiverWallet,block.timestamp) (#1043-1049)
- _fees_to_bnb(_fee_marketing_convert_limit,_wallet_marketing,_fee_marketing_min_bal) (#1137)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,receiverWallet,block.timestamp) (#1043-1049)
External calls sending eth:
- swapAndLiquify(contractTokenBalance) (#1131)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,0x1fA5D26B4BDf55bC99253b916f4FAdb864A2459E,block.timestamp) (#1055-1062)
State variables written after the call(s):
- _fees_to_bnb(_fee_marketing_convert_limit,_wallet_marketing,_fee_marketing_min_bal) (#1137)
- _balance_reflected[wallet] = _balance_reflected[wallet] - rTokensToConvert (#833)
- _balance_reflected[address(this)] = _balance_reflected[address(this)] + rTokensToConvert (#837)
- _transferStandard(from,to,amount,rAmount,tTransferAmount,rTransferAmount) (#1156)
- _balance_reflected[from] = _balance_reflected[from] - rAmount (#1176)
- _balance_reflected[to] = _balance_reflected[to] + rTransferAmount (#1190)
- _takefees_burn(tBurn) (#1166)
- _balance_reflected[receiverWallet] = _balance_reflected[receiverWallet] + reflectedReeAmount (#873)
- _takefees_marketing(tMarketing) (#1167)
- _balance_reflected[receiverWallet] = _balance_reflected[receiverWallet] + reflectedReeAmount (#873)
- _takefees_Liquidity(tLiquidity) (#1168)
- _balance_reflected[receiverWallet] = _balance_reflected[receiverWallet] + reflectedReeAmount (#873)
- _takefees_buyback(tBuyback) (#1169)
- _balance_reflected[receiverWallet] = _balance_reflected[receiverWallet] + reflectedReeAmount (#873)
- _fees_to_bnb(_fee_marketing_convert_limit,_wallet_marketing,_fee_marketing_min_bal) (#1137)
- _balance_total[wallet] = _balance_total[wallet] - tokensToConvert (#835)
- _transferStandard(from,to,amount,rAmount,tTransferAmount,rTransferAmount) (#1156)
- _balance_total[from] = _balance_total[from] - tAmount (#1181)
- _balance_total[to] = _balance_total[to] + tTransferAmount (#1186)
- _takefees_burn(tBurn) (#1166)
- _balance_total[receiverWallet] = _balance_total[receiverWallet] + feeAmount (#877)
- _takefees_marketing(tMarketing) (#1167)
- _balance_total[receiverWallet] = _balance_total[receiverWallet] + feeAmount (#877)
- _takefees_Liquidity(tLiquidity) (#1168)
- _balance_total[receiverWallet] = _balance_total[receiverWallet] + feeAmount (#877)
- _takefees_buyback(tBuyback) (#1169)
- _balance_total[receiverWallet] = _balance_total[receiverWallet] + feeAmount (#877)
- _take_reflectionFee(rReflection,tReflection) (#1159)
- _supply_reflected = _supply_reflected - rFee (#904)
- _fees_to_bnb(_fee_marketing_convert_limit,_wallet_marketing,_fee_marketing_min_bal) (#1137)
- inSwapAndLiquify = true (#417)
- inSwapAndLiquify = false (#419)
Apply the check-effects-interactions pattern.
Additional information: link
ToyDOGE._getValues(uint256,bool) (#805-825) performs a multiplication on the result of a division:
-tReflection = (tAmount * _fee_reflection) * multiplier / (_fee_denominator * 100) (#815)
-rReflection = tReflection * _getRate() (#819)
Consider ordering multiplication before division.
Additional information: link
ToyDOGE.s_manageBlacklist(address[],bool).i (#688) 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
ToyDOGE.addLiquidity(uint256,uint256) (#1053-1063) ignores return value by uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,0x1fA5D26B4BDf55bC99253b916f4FAdb864A2459E,block.timestamp) (#1055-1062)
Ensure that all the return values of the function calls are used.
Additional information: link
ToyDOGE._approve(address,address,uint256).owner (#1071) shadows:
- Ownable.owner() (#113-115) (function)
Rename the local variables that shadow another component.
Additional information: link
ToyDOGE.set_All_Fees_Minimum_Balance(uint256,uint256) (#930-933) should emit an event for:
- _fee_buyback_min_bal = buyback_fee_minimum_balance (#931)
- _fee_marketing_min_bal = marketing_fee_minimum_balance (#932)
Emit an event for critical parameter changes.
Additional information: link
ToyDOGE.Change_Wallet_Burn(address).newWallet (#564) lacks a zero-check on :
- _wallet_burn = address(newWallet) (#565)
Check that the address is not zero.
Additional information: link
Reentrancy in ToyDOGE.transferFrom(address,address,uint256) (#478-485):
External calls:
- _transfer(sender,recipient,amount) (#479)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,0x1fA5D26B4BDf55bC99253b916f4FAdb864A2459E,block.timestamp) (#1055-1062)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#1029-1035)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,receiverWallet,block.timestamp) (#1043-1049)
External calls sending eth:
- _transfer(sender,recipient,amount) (#479)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,0x1fA5D26B4BDf55bC99253b916f4FAdb864A2459E,block.timestamp) (#1055-1062)
State variables written after the call(s):
- _approve(sender,_msgSender(),(_allowances[sender][_msgSender()] - amount)) (#483)
- _allowances[owner][spender] = amount (#1075)
Apply the check-effects-interactions pattern.
Additional information: link
Reentrancy in ToyDOGE.transferFrom(address,address,uint256) (#478-485):
External calls:
- _transfer(sender,recipient,amount) (#479)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,0x1fA5D26B4BDf55bC99253b916f4FAdb864A2459E,block.timestamp) (#1055-1062)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#1029-1035)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,receiverWallet,block.timestamp) (#1043-1049)
External calls sending eth:
- _transfer(sender,recipient,amount) (#479)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,0x1fA5D26B4BDf55bC99253b916f4FAdb864A2459E,block.timestamp) (#1055-1062)
Event emitted after the call(s):
- Approval(owner,spender,amount) (#1076)
- _approve(sender,_msgSender(),(_allowances[sender][_msgSender()] - amount)) (#483)
Apply the check-effects-interactions pattern.
Additional information: link
ToyDOGE._transfer(address,address,uint256) (#1084-1172) uses timestamp for comparisons
Dangerous comparisons:
- require(bool,string)(cooldownTimer[to] < block.timestamp,Please wait for cooldown between buys) (#1108)
Avoid relying on block.timestamp.
Additional information: link
Address._verifyCallResult(bool,bytes,string) (#86-99) uses assembly
- INLINE ASM (#91-94)
Do not use evm assembly.
Additional information: link
Context._msgData() (#25-28) is never used and should be removed
Remove unused functions.
Additional information: link
ToyDOGE._numTokensSellToAddToLiquidity (#399) is set pre-construction with a non-constant function or state variable:
- (_supply_total * 2) / 1000
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
solc-0.8.5 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
Low level call in Address.functionDelegateCall(address,bytes,string) (#80-84):
- (success,returndata) = target.delegatecall(data) (#82)
Avoid low-level calls. Check the call success. If the call is meant for a contract, check for code existence
Additional information: link
Variable ToyDOGE.PCSRouter (#413) is not in mixedCase
Follow the Solidity naming convention.
Additional information: link
Redundant expression "this (#26)" inContext (#20-29)
Remove redundant statements if they congest code but offer no value.
Additional information: link
Variable ToyDOGE._transferStandard(address,address,uint256,uint256,uint256,uint256).rTransferAmount (#1174) is too similar to ToyDOGE._transferStandard(address,address,uint256,uint256,uint256,uint256).tTransferAmount (#1174)
Prevent variables from having similar names.
Additional information: link
ToyDOGE.slitherConstructorVariables() (#322-1199) uses literals with too many digits:
- deadAddress = 0x000000000000000000000000000000000000dEaD (#414)
Use: Ether suffix, Time suffix, or The scientific notation
Additional information: link
ToyDOGE.deadAddress (#414) should be constant
Add the constant attributes to state variables that never change.
Additional information: link
purgeContractBalance() should be declared external:
- ToyDOGE.purgeContractBalance() (#774-777)
Use the external attribute for functions never called from the contract.
Additional information: link
Average PancakeSwap trading volume, liqudity, number of swaps are extremely low. Token seems to be dead.
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.
BscScan page for the token does not contain additional info: website, socials, description, etc.
Additional information: link
Token was delisted (assigned to inactive / untracked listing) from 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 find audit link on the website
Unable to find whitepaper 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 no active CoinMarketCap listing / rank
Young tokens have high risks of price dump / death
Token has relatively low CoinGecko rank
Telegram account link seems to be invalid
Twitter account link seems to be invalid
Unable to find Blog account (Reddit or Medium)
Unable to find Youtube account
Unable to find Discord account