Unable to find manual contract audit (e.g. Certik, PeckShield, Solidity...)
TradingPresets.swapAndLiquify(uint256) (#2126-2161) sends eth to arbitrary user
Dangerous calls:
- marketingWallet.transfer(marketingAmount) (#2151)
TradingPresets.addLiquidity(uint256,uint256) (#2191-2203) sends eth to arbitrary user
Dangerous calls:
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,owner(),block.timestamp) (#2194-2201)
Ensure that an arbitrary user cannot withdraw unauthorized funds.
Additional information: link
Reentrancy in TradingPresets._transfer(address,address,uint256) (#2050-2124):
External calls:
- swapAndLiquify(contractTokenBalance) (#2093)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,owner(),block.timestamp) (#2194-2201)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,_to,block.timestamp) (#2176-2182)
- (success) = address(dividendTracker).call{value: dividends}() (#2154)
External calls sending eth:
- swapAndLiquify(contractTokenBalance) (#2093)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,owner(),block.timestamp) (#2194-2201)
- marketingWallet.transfer(marketingAmount) (#2151)
- (success) = address(dividendTracker).call{value: dividends}() (#2154)
State variables written after the call(s):
- super._transfer(from,address(this),fees) (#2106)
- _balances[sender] = senderBalance - amount (#1023)
- _balances[recipient] += amount (#1025)
- super._transfer(from,to,amount) (#2109)
- _balances[sender] = senderBalance - amount (#1023)
- _balances[recipient] += amount (#1025)
Reentrancy in DividendPayingToken._withdrawDividendOfUser(address) (#1412-1428):
External calls:
- (success) = user.call{gas: 3000,value: _withdrawableDividend}() (#1417)
State variables written after the call(s):
- withdrawnDividends[user] = withdrawnDividends[user].sub(_withdrawableDividend) (#1420)
Apply the check-effects-interactions pattern.
Additional information: link
SafeToken.withdraw(address,uint256) (#1730-1733) ignores return value by IERC20(_token).transfer(safeManager,_amount) (#1732)
Use SafeERC20, or ensure that the transfer/transferFrom return value is checked.
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.
Combination 2: Unchecked transfer + 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.
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.
TradingPresets.swapAndLiquify(uint256) (#2126-2161) performs a multiplication on the result of a division:
-tokensToAddLiquidityWith = contractTokenBalance.div(totalFees.mul(2)).mul(liquidityFee) (#2129)
TradingPresets.swapAndLiquify(uint256) (#2126-2161) performs a multiplication on the result of a division:
-marketingAmount = deltaBalance.sub(bnbToAddLiquidityWith).div(totalFees.sub(liquidityFee)).mul(marketingFee) (#2150)
Consider ordering multiplication before division.
Additional information: link
TradingPresets._transfer(address,address,uint256).iterations (#2117) is a local variable never initialized
TradingPresets._transfer(address,address,uint256).claims (#2117) is a local variable never initialized
TradingPresets._transfer(address,address,uint256).lastProcessedIndex (#2117) 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
TradingPresets.claim() (#2028-2030) ignores return value by dividendTracker.processAccount(address(msg.sender),false) (#2029)
TradingPresets._transfer(address,address,uint256) (#2050-2124) ignores return value by dividendTracker.process(gas) (#2117-2122)
TradingPresets.addLiquidity(uint256,uint256) (#2191-2203) ignores return value by uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,owner(),block.timestamp) (#2194-2201)
Ensure that all the return values of the function calls are used.
Additional information: link
DividendPayingToken.constructor(string,string)._name (#1369) shadows:
- ERC20._name (#831) (state variable)
DividendPayingToken.constructor(string,string)._symbol (#1369) shadows:
- ERC20._symbol (#832) (state variable)
Rename the local variables that shadow another component.
Additional information: link
TradingPresets.setFee(uint256,uint256,uint256) (#1836-1842) should emit an event for:
- liquidityFee = _liquidityFee (#1838)
- marketingFee = _marketingFee (#1839)
- totalFees = BNBRewardsFee.add(liquidityFee).add(marketingFee) (#1841)
TradingPresets.setExtraFeeOnSell(uint256) (#1844-1846) should emit an event for:
- extraFeeOnSell = _extraFeeOnSell (#1845)
TradingPresets.setMaxSelltx(uint256) (#1848-1850) should emit an event for:
- maxSellTransactionAmount = _maxSellTxAmount * (10 ** 18) (#1849)
TradingPresets.setMaxWalletToken(uint256) (#1856-1858) should emit an event for:
- maxWalletToken = _maxToken * (10 ** 18) (#1857)
TradingPresets.setSWapToensAtAmount(uint256) (#1947-1949) should emit an event for:
- swapTokensAtAmount = _newAmount * (10 ** 18) (#1948)
Emit an event for critical parameter changes.
Additional information: link
SafeToken.setSafeManager(address)._safeManager (#1726) lacks a zero-check on :
- safeManager = _safeManager (#1727)
TradingPresets.setMarketingWallet(address)._newMarketingWallet (#1852) lacks a zero-check on :
- marketingWallet = _newMarketingWallet (#1853)
Check that the address is not zero.
Additional information: link
DividendPayingToken._withdrawDividendOfUser(address) (#1412-1428) has external calls inside a loop: (success) = user.call{gas: 3000,value: _withdrawableDividend}() (#1417)
Favor pull over push strategy for external calls.
Additional information: link
Variable 'TradingPresets._transfer(address,address,uint256).lastProcessedIndex (#2117)' in TradingPresets._transfer(address,address,uint256) (#2050-2124) potentially used before declaration: ProcessedDividendTracker(iterations,claims,lastProcessedIndex,true,gas,tx.origin) (#2118)
Variable 'TradingPresets._transfer(address,address,uint256).claims (#2117)' in TradingPresets._transfer(address,address,uint256) (#2050-2124) potentially used before declaration: ProcessedDividendTracker(iterations,claims,lastProcessedIndex,true,gas,tx.origin) (#2118)
Variable 'TradingPresets._transfer(address,address,uint256).iterations (#2117)' in TradingPresets._transfer(address,address,uint256) (#2050-2124) potentially used before declaration: ProcessedDividendTracker(iterations,claims,lastProcessedIndex,true,gas,tx.origin) (#2118)
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 TradingPresets.constructor() (#1860-1904):
External calls:
- _uniswapV2Pair = IUniswapV2Factory(_uniswapV2Router.factory()).createPair(address(this),_uniswapV2Router.WETH()) (#1873-1874)
State variables written after the call(s):
- uniswapV2Pair = _uniswapV2Pair (#1877)
- uniswapV2Router = _uniswapV2Router (#1876)
Reentrancy in TradingPresets.constructor() (#1860-1904):
External calls:
- _uniswapV2Pair = IUniswapV2Factory(_uniswapV2Router.factory()).createPair(address(this),_uniswapV2Router.WETH()) (#1873-1874)
- _setAutomatedMarketMakerPair(_uniswapV2Pair,true) (#1879)
- dividendTracker.excludeFromDividends(pair) (#1956)
- dividendTracker.excludeFromDividends(address(dividendTracker)) (#1882)
- dividendTracker.excludeFromDividends(address(this)) (#1883)
- dividendTracker.excludeFromDividends(owner()) (#1884)
- dividendTracker.excludeFromDividends(address(_uniswapV2Router)) (#1885)
- dividendTracker.excludeFromDividends(0x000000000000000000000000000000000000dEaD) (#1886)
State variables written after the call(s):
- _mint(owner(),100000000000 * (10 ** 18)) (#1903)
- _balances[account] += amount (#1047)
- excludeFromFees(owner(),true) (#1889)
- _isExcludedFromFees[account] = excluded (#1918)
- excludeFromFees(marketingWallet,true) (#1890)
- _isExcludedFromFees[account] = excluded (#1918)
- excludeFromFees(address(this),true) (#1891)
- _isExcludedFromFees[account] = excluded (#1918)
- _isExcludedFromMaxTx[owner()] = true (#1894)
- _isExcludedFromMaxTx[address(this)] = true (#1895)
- _isExcludedFromMaxTx[marketingWallet] = true (#1896)
- _mint(owner(),100000000000 * (10 ** 18)) (#1903)
- _totalSupply += amount (#1046)
Reentrancy in TradingPresetsDividendTracker.processAccount(address,bool) (#1706-1716):
External calls:
- amount = _withdrawDividendOfUser(account) (#1707)
- (success) = user.call{gas: 3000,value: _withdrawableDividend}() (#1417)
State variables written after the call(s):
- lastClaimTimes[account] = block.timestamp (#1710)
Apply the check-effects-interactions pattern.
Additional information: link
Reentrancy in TradingPresets._setAutomatedMarketMakerPair(address,bool) (#1951-1960):
External calls:
- dividendTracker.excludeFromDividends(pair) (#1956)
Event emitted after the call(s):
- SetAutomatedMarketMakerPair(pair,value) (#1959)
Reentrancy in TradingPresets._transfer(address,address,uint256) (#2050-2124):
External calls:
- swapAndLiquify(contractTokenBalance) (#2093)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,owner(),block.timestamp) (#2194-2201)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,_to,block.timestamp) (#2176-2182)
- (success) = address(dividendTracker).call{value: dividends}() (#2154)
External calls sending eth:
- swapAndLiquify(contractTokenBalance) (#2093)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,owner(),block.timestamp) (#2194-2201)
- marketingWallet.transfer(marketingAmount) (#2151)
- (success) = address(dividendTracker).call{value: dividends}() (#2154)
Event emitted after the call(s):
- Transfer(sender,recipient,amount) (#1027)
- super._transfer(from,to,amount) (#2109)
- Transfer(sender,recipient,amount) (#1027)
- super._transfer(from,address(this),fees) (#2106)
Reentrancy in TradingPresets._transfer(address,address,uint256) (#2050-2124):
External calls:
- swapAndLiquify(contractTokenBalance) (#2093)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,owner(),block.timestamp) (#2194-2201)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,_to,block.timestamp) (#2176-2182)
- (success) = address(dividendTracker).call{value: dividends}() (#2154)
- dividendTracker.setBalance(address(from),balanceOf(from)) (#2111)
- dividendTracker.setBalance(address(to),balanceOf(to)) (#2112)
- dividendTracker.process(gas) (#2117-2122)
External calls sending eth:
- swapAndLiquify(contractTokenBalance) (#2093)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,owner(),block.timestamp) (#2194-2201)
- marketingWallet.transfer(marketingAmount) (#2151)
- (success) = address(dividendTracker).call{value: dividends}() (#2154)
Event emitted after the call(s):
- ProcessedDividendTracker(iterations,claims,lastProcessedIndex,true,gas,tx.origin) (#2118)
Reentrancy in TradingPresets.constructor() (#1860-1904):
External calls:
- _uniswapV2Pair = IUniswapV2Factory(_uniswapV2Router.factory()).createPair(address(this),_uniswapV2Router.WETH()) (#1873-1874)
- _setAutomatedMarketMakerPair(_uniswapV2Pair,true) (#1879)
- dividendTracker.excludeFromDividends(pair) (#1956)
Event emitted after the call(s):
- SetAutomatedMarketMakerPair(pair,value) (#1959)
- _setAutomatedMarketMakerPair(_uniswapV2Pair,true) (#1879)
Reentrancy in TradingPresets.constructor() (#1860-1904):
External calls:
- _uniswapV2Pair = IUniswapV2Factory(_uniswapV2Router.factory()).createPair(address(this),_uniswapV2Router.WETH()) (#1873-1874)
- _setAutomatedMarketMakerPair(_uniswapV2Pair,true) (#1879)
- dividendTracker.excludeFromDividends(pair) (#1956)
- dividendTracker.excludeFromDividends(address(dividendTracker)) (#1882)
- dividendTracker.excludeFromDividends(address(this)) (#1883)
- dividendTracker.excludeFromDividends(owner()) (#1884)
- dividendTracker.excludeFromDividends(address(_uniswapV2Router)) (#1885)
- dividendTracker.excludeFromDividends(0x000000000000000000000000000000000000dEaD) (#1886)
Event emitted after the call(s):
- ExcludeFromFees(account,excluded) (#1920)
- excludeFromFees(address(this),true) (#1891)
- ExcludeFromFees(account,excluded) (#1920)
- excludeFromFees(marketingWallet,true) (#1890)
- ExcludeFromFees(account,excluded) (#1920)
- excludeFromFees(owner(),true) (#1889)
- Transfer(address(0),account,amount) (#1048)
- _mint(owner(),100000000000 * (10 ** 18)) (#1903)
Reentrancy in TradingPresetsDividendTracker.processAccount(address,bool) (#1706-1716):
External calls:
- amount = _withdrawDividendOfUser(account) (#1707)
- (success) = user.call{gas: 3000,value: _withdrawableDividend}() (#1417)
Event emitted after the call(s):
- Claim(account,amount,automatic) (#1711)
Reentrancy in TradingPresets.processDividendTracker(uint256) (#2023-2026):
External calls:
- (iterations,claims,lastProcessedIndex) = dividendTracker.process(gas) (#2024)
Event emitted after the call(s):
- ProcessedDividendTracker(iterations,claims,lastProcessedIndex,false,gas,tx.origin) (#2025)
Reentrancy in TradingPresets.swapAndLiquify(uint256) (#2126-2161):
External calls:
- swapTokensForBnb(toSwap,address(this)) (#2139)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,_to,block.timestamp) (#2176-2182)
- addLiquidity(tokensToAddLiquidityWith,bnbToAddLiquidityWith) (#2148)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,owner(),block.timestamp) (#2194-2201)
- (success) = address(dividendTracker).call{value: dividends}() (#2154)
External calls sending eth:
- addLiquidity(tokensToAddLiquidityWith,bnbToAddLiquidityWith) (#2148)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,owner(),block.timestamp) (#2194-2201)
- marketingWallet.transfer(marketingAmount) (#2151)
- (success) = address(dividendTracker).call{value: dividends}() (#2154)
Event emitted after the call(s):
- SendDividends(toSwap - tokensToAddLiquidityWith,dividends) (#2157)
- SwapAndLiquify(tokensToAddLiquidityWith,deltaBalance) (#2160)
Apply the check-effects-interactions pattern.
Additional information: link
TradingPresetsDividendTracker.getAccount(address) (#1570-1613) uses timestamp for comparisons
Dangerous comparisons:
- nextClaimTime > block.timestamp (#1610-1612)
TradingPresetsDividendTracker.canAutoClaim(uint256) (#1634-1640) uses timestamp for comparisons
Dangerous comparisons:
- lastClaimTime > block.timestamp (#1635)
- block.timestamp.sub(lastClaimTime) >= claimWait (#1639)
Avoid relying on block.timestamp.
Additional information: link
Context._msgData() (#695-697) is never used and should be removed
DividendPayingToken._transfer(address,address,uint256) (#1468-1474) is never used and should be removed
SafeCast.toInt128(int256) (#589-592) is never used and should be removed
SafeCast.toInt16(int256) (#643-646) is never used and should be removed
SafeCast.toInt32(int256) (#625-628) is never used and should be removed
SafeCast.toInt64(int256) (#607-610) is never used and should be removed
SafeCast.toInt8(int256) (#661-664) is never used and should be removed
SafeCast.toUint128(uint256) (#484-487) is never used and should be removed
SafeCast.toUint16(uint256) (#544-547) is never used and should be removed
SafeCast.toUint224(uint256) (#469-472) is never used and should be removed
SafeCast.toUint32(uint256) (#529-532) is never used and should be removed
SafeCast.toUint64(uint256) (#514-517) is never used and should be removed
SafeCast.toUint8(uint256) (#559-562) is never used and should be removed
SafeCast.toUint96(uint256) (#499-502) is never used and should be removed
SafeMath.div(uint256,uint256,string) (#405-414) is never used and should be removed
SafeMath.mod(uint256,uint256) (#365-367) is never used and should be removed
SafeMath.mod(uint256,uint256,string) (#431-440) is never used and should be removed
SafeMath.sub(uint256,uint256,string) (#382-391) is never used and should be removed
SafeMath.tryAdd(uint256,uint256) (#236-242) is never used and should be removed
SafeMath.tryDiv(uint256,uint256) (#278-283) is never used and should be removed
SafeMath.tryMod(uint256,uint256) (#290-295) is never used and should be removed
SafeMath.tryMul(uint256,uint256) (#261-271) is never used and should be removed
SafeMath.trySub(uint256,uint256) (#249-254) is never used and should be removed
SignedSafeMath.div(int256,int256) (#187-189) is never used and should be removed
SignedSafeMath.mul(int256,int256) (#173-175) is never used and should be removed
TradingPresets.swapAndSendBNBToMarketing(uint256) (#2186-2188) is never used and should be removed
Remove unused functions.
Additional information: link
Pragma version^0.8.0 (#3) allows old versions
solc-0.8.0 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 DividendPayingToken._withdrawDividendOfUser(address) (#1412-1428):
- (success) = user.call{gas: 3000,value: _withdrawableDividend}() (#1417)
Low level call in TradingPresets.swapAndLiquify(uint256) (#2126-2161):
- (success) = address(dividendTracker).call{value: dividends}() (#2154)
Avoid low-level calls. Check the call success. If the call is meant for a contract, check for code existence
Additional information: link
Function IUniswapV2Router01.WETH() (#7) is not in mixedCase
Parameter DividendPayingToken.dividendOf(address)._owner (#1434) is not in mixedCase
Parameter DividendPayingToken.withdrawableDividendOf(address)._owner (#1441) is not in mixedCase
Parameter DividendPayingToken.withdrawnDividendOf(address)._owner (#1448) is not in mixedCase
Parameter DividendPayingToken.accumulativeDividendOf(address)._owner (#1458) is not in mixedCase
Constant DividendPayingToken.magnitude (#1349) is not in UPPER_CASE_WITH_UNDERSCORES
Parameter TradingPresetsDividendTracker.getAccount(address)._account (#1570) is not in mixedCase
Parameter SafeToken.setSafeManager(address)._safeManager (#1726) is not in mixedCase
Parameter SafeToken.withdraw(address,uint256)._token (#1730) is not in mixedCase
Parameter SafeToken.withdraw(address,uint256)._amount (#1730) is not in mixedCase
Parameter SafeToken.withdrawBNB(uint256)._amount (#1735) is not in mixedCase
Parameter LockToken.includeToWhiteList(address[])._users (#1758) is not in mixedCase
Parameter TradingPresets.setFee(uint256,uint256,uint256)._bnbRewardFee (#1836) is not in mixedCase
Parameter TradingPresets.setFee(uint256,uint256,uint256)._liquidityFee (#1836) is not in mixedCase
Parameter TradingPresets.setFee(uint256,uint256,uint256)._marketingFee (#1836) is not in mixedCase
Parameter TradingPresets.setExtraFeeOnSell(uint256)._extraFeeOnSell (#1844) is not in mixedCase
Parameter TradingPresets.setMaxSelltx(uint256)._maxSellTxAmount (#1848) is not in mixedCase
Parameter TradingPresets.setMarketingWallet(address)._newMarketingWallet (#1852) is not in mixedCase
Parameter TradingPresets.setMaxWalletToken(uint256)._maxToken (#1856) is not in mixedCase
Parameter TradingPresets.setExcludeFromMaxTx(address,bool)._address (#1923) is not in mixedCase
Parameter TradingPresets.setExcludeFromAll(address)._address (#1927) is not in mixedCase
Parameter TradingPresets.setSWapToensAtAmount(uint256)._newAmount (#1947) is not in mixedCase
Parameter TradingPresets.setSwapAndLiquifyEnabled(bool)._enabled (#2045) is not in mixedCase
Parameter TradingPresets.swapTokensForBnb(uint256,address)._to (#2163) is not in mixedCase
Variable TradingPresets.BNBRewardsFee (#1781) is not in mixedCase
Follow the Solidity naming convention.
Additional information: link
Reentrancy in TradingPresets._transfer(address,address,uint256) (#2050-2124):
External calls:
- swapAndLiquify(contractTokenBalance) (#2093)
- marketingWallet.transfer(marketingAmount) (#2151)
External calls sending eth:
- swapAndLiquify(contractTokenBalance) (#2093)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,owner(),block.timestamp) (#2194-2201)
- marketingWallet.transfer(marketingAmount) (#2151)
- (success) = address(dividendTracker).call{value: dividends}() (#2154)
State variables written after the call(s):
- super._transfer(from,address(this),fees) (#2106)
- _balances[sender] = senderBalance - amount (#1023)
- _balances[recipient] += amount (#1025)
- super._transfer(from,to,amount) (#2109)
- _balances[sender] = senderBalance - amount (#1023)
- _balances[recipient] += amount (#1025)
Event emitted after the call(s):
- ProcessedDividendTracker(iterations,claims,lastProcessedIndex,true,gas,tx.origin) (#2118)
- Transfer(sender,recipient,amount) (#1027)
- super._transfer(from,to,amount) (#2109)
- Transfer(sender,recipient,amount) (#1027)
- super._transfer(from,address(this),fees) (#2106)
Reentrancy in TradingPresets.swapAndLiquify(uint256) (#2126-2161):
External calls:
- marketingWallet.transfer(marketingAmount) (#2151)
External calls sending eth:
- addLiquidity(tokensToAddLiquidityWith,bnbToAddLiquidityWith) (#2148)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,owner(),block.timestamp) (#2194-2201)
- marketingWallet.transfer(marketingAmount) (#2151)
- (success) = address(dividendTracker).call{value: dividends}() (#2154)
Event emitted after the call(s):
- SendDividends(toSwap - tokensToAddLiquidityWith,dividends) (#2157)
- SwapAndLiquify(tokensToAddLiquidityWith,deltaBalance) (#2160)
Apply the check-effects-interactions pattern.
Additional information: link
Variable IUniswapV2Router01.addLiquidity(address,address,uint256,uint256,uint256,uint256,address,uint256).amountADesired (#12) is too similar to IUniswapV2Router01.addLiquidity(address,address,uint256,uint256,uint256,uint256,address,uint256).amountBDesired (#13)
Variable DividendPayingToken._withdrawDividendOfUser(address)._withdrawableDividend (#1413) is too similar to TradingPresetsDividendTracker.getAccount(address).withdrawableDividends (#1575)
Variable TradingPresets.BNBRewardsFee (#1781) is too similar to TradingPresets.setFee(uint256,uint256,uint256)._bnbRewardFee (#1836)
Prevent variables from having similar names.
Additional information: link
TradingPresetsDividendTracker.getAccountAtIndex(uint256) (#1615-1632) uses literals with too many digits:
- (0x0000000000000000000000000000000000000000,- 1,- 1,0,0,0,0,0) (#1626)
TradingPresets.constructor() (#1860-1904) uses literals with too many digits:
- dividendTracker.excludeFromDividends(0x000000000000000000000000000000000000dEaD) (#1886)
TradingPresets.constructor() (#1860-1904) uses literals with too many digits:
- _mint(owner(),100000000000 * (10 ** 18)) (#1903)
TradingPresets.updateGasForProcessing(uint256) (#1962-1967) uses literals with too many digits:
- require(bool,string)(newValue >= 200000 && newValue <= 500000,TradingPresets: gasForProcessing must be between 200,000 and 500,000) (#1963)
TradingPresets.slitherConstructorVariables() (#1765-2206) uses literals with too many digits:
- maxSellTransactionAmount = 1500000000 * (10 ** 18) (#1777)
TradingPresets.slitherConstructorVariables() (#1765-2206) uses literals with too many digits:
- maxWalletToken = 1500000000 * (10 ** 18) (#1778)
TradingPresets.slitherConstructorVariables() (#1765-2206) uses literals with too many digits:
- gasForProcessing = 300000 (#1789)
Use: Ether suffix, Time suffix, or The scientific notation
Additional information: link
name() should be declared external:
- ERC20.name() (#851-853)
symbol() should be declared external:
- ERC20.symbol() (#859-861)
decimals() should be declared external:
- ERC20.decimals() (#876-878)
transfer(address,uint256) should be declared external:
- ERC20.transfer(address,uint256) (#902-905)
approve(address,uint256) should be declared external:
- ERC20.approve(address,uint256) (#921-924)
transferFrom(address,address,uint256) should be declared external:
- ERC20.transferFrom(address,address,uint256) (#939-953)
increaseAllowance(address,uint256) should be declared external:
- ERC20.increaseAllowance(address,uint256) (#967-970)
decreaseAllowance(address,uint256) should be declared external:
- ERC20.decreaseAllowance(address,uint256) (#986-994)
renounceOwnership() should be declared external:
- Ownable.renounceOwnership() (#1193-1195)
transferOwnership(address) should be declared external:
- Ownable.transferOwnership(address) (#1201-1204)
get(IterableMapping.Map,address) should be declared external:
- IterableMapping.get(IterableMapping.Map,address) (#1222-1224)
getIndexOfKey(IterableMapping.Map,address) should be declared external:
- IterableMapping.getIndexOfKey(IterableMapping.Map,address) (#1226-1231)
getKeyAtIndex(IterableMapping.Map,uint256) should be declared external:
- IterableMapping.getKeyAtIndex(IterableMapping.Map,uint256) (#1233-1235)
size(IterableMapping.Map) should be declared external:
- IterableMapping.size(IterableMapping.Map) (#1239-1241)
withdrawDividend() should be declared external:
- DividendPayingToken.withdrawDividend() (#1406-1408)
- TradingPresetsDividendTracker.withdrawDividend() (#1539-1541)
dividendOf(address) should be declared external:
- DividendPayingToken.dividendOf(address) (#1434-1436)
withdrawnDividendOf(address) should be declared external:
- DividendPayingToken.withdrawnDividendOf(address) (#1448-1450)
getAccountAtIndex(uint256) should be declared external:
- TradingPresetsDividendTracker.getAccountAtIndex(uint256) (#1615-1632)
process(uint256) should be declared external:
- TradingPresetsDividendTracker.process(uint256) (#1659-1704)
setSafeManager(address) should be declared external:
- SafeToken.setSafeManager(address) (#1726-1728)
setFee(uint256,uint256,uint256) should be declared external:
- TradingPresets.setFee(uint256,uint256,uint256) (#1836-1842)
setExtraFeeOnSell(uint256) should be declared external:
- TradingPresets.setExtraFeeOnSell(uint256) (#1844-1846)
setMaxSelltx(uint256) should be declared external:
- TradingPresets.setMaxSelltx(uint256) (#1848-1850)
setMarketingWallet(address) should be declared external:
- TradingPresets.setMarketingWallet(address) (#1852-1854)
updateUniswapV2Router(address) should be declared external:
- TradingPresets.updateUniswapV2Router(address) (#1910-1914)
setExcludeFromMaxTx(address,bool) should be declared external:
- TradingPresets.setExcludeFromMaxTx(address,bool) (#1923-1925)
setExcludeFromAll(address) should be declared external:
- TradingPresets.setExcludeFromAll(address) (#1927-1931)
excludeMultipleAccountsFromFees(address[],bool) should be declared external:
- TradingPresets.excludeMultipleAccountsFromFees(address[],bool) (#1933-1939)
setAutomatedMarketMakerPair(address,bool) should be declared external:
- TradingPresets.setAutomatedMarketMakerPair(address,bool) (#1941-1945)
setSWapToensAtAmount(uint256) should be declared external:
- TradingPresets.setSWapToensAtAmount(uint256) (#1947-1949)
updateGasForProcessing(uint256) should be declared external:
- TradingPresets.updateGasForProcessing(uint256) (#1962-1967)
isExcludedFromFees(address) should be declared external:
- TradingPresets.isExcludedFromFees(address) (#1981-1983)
isExcludedFromMaxTx(address) should be declared external:
- TradingPresets.isExcludedFromMaxTx(address) (#1985-1987)
withdrawableDividendOf(address) should be declared external:
- TradingPresets.withdrawableDividendOf(address) (#1989-1991)
dividendTokenBalanceOf(address) should be declared external:
- TradingPresets.dividendTokenBalanceOf(address) (#1993-1995)
setSwapAndLiquifyEnabled(bool) should be declared external:
- TradingPresets.setSwapAndLiquifyEnabled(bool) (#2045-2048)
Use the external attribute for functions never called from the contract.
Additional information: link
Number of Binance Smart Chain (BSC) token holders is less than 100. Token is either dead or inactive. Ignore for presale.
Contract has 11% buy tax and 13% sell tax.
Taxes are high (over 10%) but contract ownership is renounced.
Average 30d PancakeSwap liquidity is low.
Average 30d PancakeSwap volume is low.
Average 30d number of PancakeSwap swaps is low.
Token is deployed only at one blockchain
Token has only one trading pair
Unable to find website, listings and other project-related information
Young tokens have high risks of scam / price dump / death
Token has no active CoinGecko listing / rank
Token has no active CoinMarketCap listing / rank
Unable to find Telegram and Twitter accounts