Unable to find manual contract audit (e.g. Certik, PeckShield, Solidity...)
Reentrancy in TradableErc20.makeLiquidity() (#250-273):
External calls:
- pair = IUniswapV2Factory(_uniswapV2Router.factory()).createPair(address(this),_uniswapV2Router.WETH()) (#252-255)
- _uniswapV2Router.addLiquidityETH{value: address(this).balance}(address(this),_totalSupply,0,0,msg.sender,block.timestamp) (#259-266)
External calls sending eth:
- _uniswapV2Router.addLiquidityETH{value: address(this).balance}(address(this),_totalSupply,0,0,msg.sender,block.timestamp) (#259-266)
State variables written after the call(s):
- uniswapV2Pair = pair (#268)
Apply the check-effects-interactions pattern.
Additional information: link
TradableErc20.getMaxBuy() (#374-380) uses a dangerous strict equality:
- incrementCount == 0 (#377)
Don't use strict equality to determine if an account has enough Ether or tokens.
Additional information: link
TradableErc20.makeLiquidity() (#250-273) ignores return value by _uniswapV2Router.addLiquidityETH{value: address(this).balance}(address(this),_totalSupply,0,0,msg.sender,block.timestamp) (#259-266)
Ensure that all the return values of the function calls are used.
Additional information: link
Shiba10000.setMaxContractLiquidityPercent(uint256) (#460-465) should emit an event for:
- maxContractLiquidityPercent = newMaxLiquidityPercent (#464)
Emit an event for critical parameter changes.
Additional information: link
Shiba10000.transferOwnership(address).newOwner (#475) lacks a zero-check on :
- _owner = newOwner (#476)
Check that the address is not zero.
Additional information: link
TradableErc20._transfer(address,address,uint256) (#275-329) performs a multiplication on the result of a division:
-incrementCount = (block.timestamp - incrementTime) / (maxBuyIncrementMinutesTimer * 60) (#285-286)
-maxBuy += maxBuyIncrementValue * incrementCount (#289)
TradableErc20.getMaxBuy() (#374-380) performs a multiplication on the result of a division:
-incrementCount = (block.timestamp - incrementTime) / (maxBuyIncrementMinutesTimer * 60) (#375-376)
-maxBuy + maxBuyIncrementValue * incrementCount (#379)
Consider ordering multiplication before division.
Additional information: link
Reentrancy in TradableErc20._transfer(address,address,uint256) (#275-329):
External calls:
- swapTokensForEth(swapCount) (#320)
- _uniswapV2Router.swapExactTokensForETH(tokenAmount,0,path,address(this),block.timestamp) (#391-397)
State variables written after the call(s):
- super._transfer(from,to,amount) (#327)
- _balances[from] = senderBalance - amount (#98)
- _balances[to] += amount (#100)
Apply the check-effects-interactions pattern.
Additional information: link
Reentrancy in TradableErc20.makeLiquidity() (#250-273):
External calls:
- pair = IUniswapV2Factory(_uniswapV2Router.factory()).createPair(address(this),_uniswapV2Router.WETH()) (#252-255)
State variables written after the call(s):
- _allowances[address(this)][address(_uniswapV2Router)] = _totalSupply (#257)
- _balances[address(this)] = _totalSupply (#256)
- _isExcludedFromFee[pair] = true (#258)
Reentrancy in TradableErc20.makeLiquidity() (#250-273):
External calls:
- pair = IUniswapV2Factory(_uniswapV2Router.factory()).createPair(address(this),_uniswapV2Router.WETH()) (#252-255)
- _uniswapV2Router.addLiquidityETH{value: address(this).balance}(address(this),_totalSupply,0,0,msg.sender,block.timestamp) (#259-266)
External calls sending eth:
- _uniswapV2Router.addLiquidityETH{value: address(this).balance}(address(this),_totalSupply,0,0,msg.sender,block.timestamp) (#259-266)
State variables written after the call(s):
- incrementTime = block.timestamp (#271)
- maxBuyIncrementValue = (_totalSupply * maxBuyIncrementPercentage) / 1000 (#272)
- tradingEnable = true (#269)
Apply the check-effects-interactions pattern.
Additional information: link
Reentrancy in TradableErc20._transfer(address,address,uint256) (#275-329):
External calls:
- swapTokensForEth(swapCount) (#320)
- _uniswapV2Router.swapExactTokensForETH(tokenAmount,0,path,address(this),block.timestamp) (#391-397)
Event emitted after the call(s):
- Transfer(from,to,amount) (#101)
- super._transfer(from,to,amount) (#327)
Apply the check-effects-interactions pattern.
Additional information: link
TradableErc20._transfer(address,address,uint256) (#275-329) uses timestamp for comparisons
Dangerous comparisons:
- incrementCount > 0 (#287)
- maxBuy < _totalSupply (#288)
- require(bool)(_balances[to] + amount <= maxBuy) (#294)
TradableErc20.getMaxBuy() (#374-380) uses timestamp for comparisons
Dangerous comparisons:
- incrementCount == 0 (#377)
Avoid relying on block.timestamp.
Additional information: link
ERC20._burn(address,uint256) (#148-159) is never used and should be removed
TradableErc20._withdraw(uint256) (#433) is never used and should be removed
TradableErc20.getMaxContractBalancePercent() (#431) is never used and should be removed
TradableErc20.isOwner(address) (#435) is never used and should be removed
Remove unused functions.
Additional information: link
Variable ERC20._totalSupply (#42) is not in mixedCase
Variable ERC20._name (#43) is not in mixedCase
Variable ERC20._symbol (#44) is not in mixedCase
Constant ERC20._decimals (#45) is not in UPPER_CASE_WITH_UNDERSCORES
Variable ERC20._balances (#46) is not in mixedCase
Variable ERC20._allowances (#47) is not in mixedCase
Function IUniswapV2Router02.WETH() (#188) is not in mixedCase
Constant TradableErc20._uniswapV2Router (#216-217) is not in UPPER_CASE_WITH_UNDERSCORES
Variable TradableErc20._isExcludedFromFee (#221) is not in mixedCase
Variable TradableErc20._autoBanBots (#222) is not in mixedCase
Variable TradableErc20._inSwap (#223) is not in mixedCase
Constant TradableErc20.maxBuyIncrementMinutesTimer (#226) is not in UPPER_CASE_WITH_UNDERSCORES
Constant TradableErc20.maxBuyIncrementPercentage (#227) is not in UPPER_CASE_WITH_UNDERSCORES
Variable Shiba10000._owner (#441) is not in mixedCase
Variable Shiba10000._withdrawAddress (#442-443) is not in mixedCase
Follow the Solidity naming convention.
Additional information: link
Shiba10000._withdrawAddress (#442-443) should be constant
Add the constant attributes to state variables that never change.
Additional information: link
makeLiquidity() should be declared external:
- TradableErc20.makeLiquidity() (#250-273)
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 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