Reentrancy in Basenji._transfer(address,address,uint256) (#997-1041):
External calls:
- swapAndLiquify(contractTokenBalance) (#1028)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,owner(),block.timestamp) (#1089-1096)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#1075-1081)
External calls sending eth:
- swapAndLiquify(contractTokenBalance) (#1028)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,owner(),block.timestamp) (#1089-1096)
State variables written after the call(s):
- _tokenTransfer(from,to,amount,takeFee) (#1040)
- _rOwned[address(this)] = _rOwned[address(this)].add(rLiquidity) (#953)
- _rOwned[sender] = _rOwned[sender].sub(rAmount) (#1122)
- _rOwned[sender] = _rOwned[sender].sub(rAmount) (#1131)
- _rOwned[sender] = _rOwned[sender].sub(rAmount) (#869)
- _rOwned[recipient] = _rOwned[recipient].add(rTransferAmount) (#1123)
- _rOwned[sender] = _rOwned[sender].sub(rAmount) (#1142)
- _rOwned[recipient] = _rOwned[recipient].add(rTransferAmount) (#1133)
- _rOwned[recipient] = _rOwned[recipient].add(rTransferAmount) (#1143)
- _rOwned[recipient] = _rOwned[recipient].add(rTransferAmount) (#871)
- _tokenTransfer(from,to,amount,takeFee) (#1040)
- _rTotal = _rTotal.sub(rFee) (#908)
- _tokenTransfer(from,to,amount,takeFee) (#1040)
- _tOwned[address(this)] = _tOwned[address(this)].add(tLiquidity) (#955)
- _tOwned[sender] = _tOwned[sender].sub(tAmount) (#1141)
- _tOwned[sender] = _tOwned[sender].sub(tAmount) (#868)
- _tOwned[recipient] = _tOwned[recipient].add(tTransferAmount) (#1132)
- _tOwned[recipient] = _tOwned[recipient].add(tTransferAmount) (#870)
Apply the check-effects-interactions pattern.
Additional information: link
Unable to find manual contract audit (e.g. Certik, PeckShield, Solidity...)
Basenji.addLiquidity(uint256,uint256) (#1084-1097) ignores return value by uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,owner(),block.timestamp) (#1089-1096)
Ensure that all the return values of the function calls are used.
Additional information: link
Basenji._approve(address,address,uint256).owner (#989) shadows:
- Ownable.owner() (#421-423) (function)
Rename the local variables that shadow another component.
Additional information: link
Basenji.setMaxTxPercent(uint256) (#893-897) should emit an event for:
- _maxTxAmount = _tTotal.mul(maxTxPercent).div(10 ** 2) (#894-896)
Emit an event for critical parameter changes.
Additional information: link
Reentrancy in Basenji.transferFrom(address,address,uint256) (#794-798):
External calls:
- _transfer(sender,recipient,amount) (#795)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,owner(),block.timestamp) (#1089-1096)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#1075-1081)
External calls sending eth:
- _transfer(sender,recipient,amount) (#795)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,owner(),block.timestamp) (#1089-1096)
State variables written after the call(s):
- _approve(sender,_msgSender(),_allowances[sender][_msgSender()].sub(amount,ERC20: transfer amount exceeds allowance)) (#796)
- _allowances[owner][spender] = amount (#993)
Apply the check-effects-interactions pattern.
Additional information: link
Reentrancy in Basenji.transferFrom(address,address,uint256) (#794-798):
External calls:
- _transfer(sender,recipient,amount) (#795)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,owner(),block.timestamp) (#1089-1096)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#1075-1081)
External calls sending eth:
- _transfer(sender,recipient,amount) (#795)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,owner(),block.timestamp) (#1089-1096)
Event emitted after the call(s):
- Approval(owner,spender,amount) (#994)
- _approve(sender,_msgSender(),_allowances[sender][_msgSender()].sub(amount,ERC20: transfer amount exceeds allowance)) (#796)
Apply the check-effects-interactions pattern.
Additional information: link
Ownable.unlock() (#468-473) uses timestamp for comparisons
Dangerous comparisons:
- require(bool,string)(now > _lockTime,Contract is locked until 7 days) (#470)
Avoid relying on block.timestamp.
Additional information: link
Address._functionCallWithValue(address,bytes,uint256,string) (#366-387) uses assembly
- INLINE ASM (#379-382)
Do not use evm assembly.
Additional information: link
SafeMath.mod(uint256,uint256,string) (#234-237) is never used and should be removed
Remove unused functions.
Additional information: link
Basenji._previousLiquidityFee (#716) is set pre-construction with a non-constant function or state variable:
- _liquidityFee
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
Low level call in Address._functionCallWithValue(address,bytes,uint256,string) (#366-387):
- (success,returndata) = target.call{value: weiValue}(data) (#370)
Avoid low-level calls. Check the call success. If the call is meant for a contract, check for code existence
Additional information: link
Variable Basenji._maxTxAmount (#724) is not in mixedCase
Follow the Solidity naming convention.
Additional information: link
Redundant expression "this (#246)" inContext (#240-249)
Remove redundant statements if they congest code but offer no value.
Additional information: link
Variable Basenji._getRValues(uint256,uint256,uint256,uint256).rTransferAmount (#929) is too similar to Basenji._transferBothExcluded(address,address,uint256).tTransferAmount (#867)
Prevent variables from having similar names.
Additional information: link
Basenji.slitherConstructorVariables() (#690-1153) uses literals with too many digits:
- numTokensSellToAddToLiquidity = 500000 * 10 ** 6 * 10 ** 9 (#725)
Use: Ether suffix, Time suffix, or The scientific notation
Additional information: link
Basenji.numTokensSellToAddToLiquidity (#725) should be constant
Add the constant attributes to state variables that never change.
Additional information: link
isExcludedFromFee(address) should be declared external:
- Basenji.isExcludedFromFee(address) (#985-987)
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.
BscScan page for the token does not contain additional info: website, socials, description, etc.
Additional information: link
Unable to find token on CoinGecko
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
Unable to find Telegram link on the website
Unable to find Twitter link on the website
Unable to find token on CoinHunt
Additional information: link
Unable to find token/project description on the website or on BscScan, CoinHunt, CoinGecko, CoinMarketCap
Unable to find code repository for the project
Young tokens have high risks of price dump / death
Young tokens have high risks of scam / price dump / death
Token has no active CoinGecko listing / rank
Token has no active CoinMarketCap listing / rank
Twitter account link seems to be invalid
Telegram account has relatively few subscribers
Unable to find Blog account (Reddit or Medium)
Unable to find Youtube account
Unable to find Discord account