Unable to find manual contract audit (e.g. Certik, PeckShield, Solidity...)
DONGER.sendETHToFee(uint256) (#293-296) sends eth to arbitrary user
Dangerous calls:
- _FeeAddress.transfer(amount.div(2)) (#294)
- _marketingWalletAddress.transfer(amount.div(2)) (#295)
Ensure that an arbitrary user cannot withdraw unauthorized funds.
Additional information: link
Reentrancy in DONGER.openTrading() (#364-374):
External calls:
- uniswapV2Pair = IUniswapV2Factory(_uniswapV2Router.factory()).createPair(address(this),_uniswapV2Router.WETH()) (#369)
- uniswapV2Router.addLiquidityETH{value: address(this).balance}(address(this),balanceOf(address(this)),0,0,owner(),block.timestamp) (#370)
- IERC20(uniswapV2Pair).approve(address(uniswapV2Router),type()(uint256).max) (#371)
External calls sending eth:
- uniswapV2Router.addLiquidityETH{value: address(this).balance}(address(this),balanceOf(address(this)),0,0,owner(),block.timestamp) (#370)
State variables written after the call(s):
- tradingOpen = true (#372)
Apply the check-effects-interactions pattern.
Additional information: link
Combination 1: Reentrancy vulnerabilities + Functions that send Ether to arbitraty destination. Usual for scams. May be justified by some complex mechanics (e.g. rebase, reflections). DYOR & manual audit are advised.
DONGER.openTrading() (#364-374) ignores return value by IERC20(uniswapV2Pair).approve(address(uniswapV2Router),type()(uint256).max) (#371)
Ensure that all the return values of the function calls are used.
Additional information: link
DONGER._approve(address,address,uint256).owner (#230) shadows:
- Ownable.owner() (#77-79) (function)
Rename the local variables that shadow another component.
Additional information: link
DONGER.setMarketingWallet(address).marketingWalletAddress (#376) lacks a zero-check on :
- _marketingWalletAddress = marketingWalletAddress (#379)
Check that the address is not zero.
Additional information: link
Reentrancy in DONGER.transferFrom(address,address,uint256) (#205-209):
External calls:
- _transfer(sender,recipient,amount) (#206)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#283-289)
External calls sending eth:
- _transfer(sender,recipient,amount) (#206)
- _FeeAddress.transfer(amount.div(2)) (#294)
- _marketingWalletAddress.transfer(amount.div(2)) (#295)
State variables written after the call(s):
- _approve(sender,_msgSender(),_allowances[sender][_msgSender()].sub(amount,ERC20: transfer amount exceeds allowance)) (#207)
- _allowances[owner][spender] = amount (#233)
Apply the check-effects-interactions pattern.
Additional information: link
Reentrancy in DONGER.transferFrom(address,address,uint256) (#205-209):
External calls:
- _transfer(sender,recipient,amount) (#206)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#283-289)
External calls sending eth:
- _transfer(sender,recipient,amount) (#206)
- _FeeAddress.transfer(amount.div(2)) (#294)
- _marketingWalletAddress.transfer(amount.div(2)) (#295)
Event emitted after the call(s):
- Approval(owner,spender,amount) (#234)
- _approve(sender,_msgSender(),_allowances[sender][_msgSender()].sub(amount,ERC20: transfer amount exceeds allowance)) (#207)
Apply the check-effects-interactions pattern.
Additional information: link
DONGER._transfer(address,address,uint256) (#237-276) uses timestamp for comparisons
Dangerous comparisons:
- walletLimitDuration > block.timestamp (#249)
Avoid relying on block.timestamp.
Additional information: link
SafeMath.mod(uint256,uint256,string) (#60-63) is never used and should be removed
Remove unused functions.
Additional information: link
DONGER._previousteamFee (#136) is set pre-construction with a non-constant function or state variable:
- _teamFee
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.7 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
Variable DONGER._FeeAddress (#137) is not in mixedCase
Follow the Solidity naming convention.
Additional information: link
Reentrancy in DONGER.transferFrom(address,address,uint256) (#205-209):
External calls:
- _transfer(sender,recipient,amount) (#206)
- _FeeAddress.transfer(amount.div(2)) (#294)
- _marketingWalletAddress.transfer(amount.div(2)) (#295)
State variables written after the call(s):
- _approve(sender,_msgSender(),_allowances[sender][_msgSender()].sub(amount,ERC20: transfer amount exceeds allowance)) (#207)
- _allowances[owner][spender] = amount (#233)
Event emitted after the call(s):
- Approval(owner,spender,amount) (#234)
- _approve(sender,_msgSender(),_allowances[sender][_msgSender()].sub(amount,ERC20: transfer amount exceeds allowance)) (#207)
Apply the check-effects-interactions pattern.
Additional information: link
Variable DONGER._getValues(uint256).rTransferAmount (#319) is too similar to DONGER._getValues(uint256).tTransferAmount (#317)
Prevent variables from having similar names.
Additional information: link
DONGER._tOwned (#120) is never used in DONGER (#117-446)
Remove unused state variables.
Additional information: link
Ownable._previousOwner (#68) should be constant
Add the constant attributes to state variables that never change.
Additional information: link
amountInPool() should be declared external:
- DONGER.amountInPool() (#442-444)
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.
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.
Unable to find website, listings and other project-related information
Young tokens have high risks of price dump / death
Token has no active CoinGecko listing / rank
Token has no active CoinMarketCap listing / rank
Unable to find Telegram and Twitter accounts