Unable to find manual contract audit (e.g. Certik, PeckShield, Solidity...)
Reentrancy in AstralInu._transfer(address,address,uint256) (#998-1038):
External calls:
- swapAndLiquify(contractTokenBalance) (#1025)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,owner(),block.timestamp) (#1086-1093)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#1072-1078)
External calls sending eth:
- swapAndLiquify(contractTokenBalance) (#1025)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,owner(),block.timestamp) (#1086-1093)
State variables written after the call(s):
- _tokenTransfer(from,to,amount,takeFee) (#1037)
- _rOwned[address(this)] = _rOwned[address(this)].add(rLiquidity) (#937)
- _rOwned[_charityWalletAddress] = _rOwned[_charityWalletAddress].add(rCharity) (#945)
- _rOwned[sender] = _rOwned[sender].sub(rAmount) (#1154)
- _rOwned[sender] = _rOwned[sender].sub(rAmount) (#1144)
- _rOwned[sender] = _rOwned[sender].sub(rAmount) (#852)
- _rOwned[sender] = _rOwned[sender].sub(rAmount) (#1166)
- _rOwned[recipient] = _rOwned[recipient].add(rTransferAmount) (#1145)
- _rOwned[recipient] = _rOwned[recipient].add(rTransferAmount) (#1167)
- _rOwned[recipient] = _rOwned[recipient].add(rTransferAmount) (#1156)
- _rOwned[recipient] = _rOwned[recipient].add(rTransferAmount) (#854)
- _tokenTransfer(from,to,amount,takeFee) (#1037)
- _rTotal = _rTotal.sub(rFee) (#890)
- _tokenTransfer(from,to,amount,takeFee) (#1037)
- _tOwned[address(this)] = _tOwned[address(this)].add(tLiquidity) (#939)
- _tOwned[_charityWalletAddress] = _tOwned[_charityWalletAddress].add(tCharity) (#947)
- _tOwned[sender] = _tOwned[sender].sub(tAmount) (#851)
- _tOwned[sender] = _tOwned[sender].sub(tAmount) (#1165)
- _tOwned[recipient] = _tOwned[recipient].add(tTransferAmount) (#1155)
- _tOwned[recipient] = _tOwned[recipient].add(tTransferAmount) (#853)
Apply the check-effects-interactions pattern.
Additional information: link
Contract ticker (Astral INU) contains non-alphanumeric characters.
Not a direct threat, but may indicate unreliable intentions of developer. Non-alphanumeric chars (,.;!#*&") are extremely rare among low risk tokens.
AstralInu.addLiquidity(uint256,uint256) (#1081-1094) ignores return value by uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,owner(),block.timestamp) (#1086-1093)
Ensure that all the return values of the function calls are used.
Additional information: link
AstralInu._approve(address,address,uint256).owner (#990) shadows:
- Ownable.owner() (#411-413) (function)
Rename the local variables that shadow another component.
Additional information: link
AstralInu.setNumTokensSellToAddToLiquidity(uint256) (#1174-1176) should emit an event for:
- numTokensSellToAddToLiquidity = swapNumber * 10 ** 9 (#1175)
Emit an event for critical parameter changes.
Additional information: link
Reentrancy in AstralInu.transferFrom(address,address,uint256) (#777-781):
External calls:
- _transfer(sender,recipient,amount) (#778)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,owner(),block.timestamp) (#1086-1093)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#1072-1078)
External calls sending eth:
- _transfer(sender,recipient,amount) (#778)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,owner(),block.timestamp) (#1086-1093)
State variables written after the call(s):
- _approve(sender,_msgSender(),_allowances[sender][_msgSender()].sub(amount,ERC20: transfer amount exceeds allowance)) (#779)
- _allowances[owner][spender] = amount (#994)
Apply the check-effects-interactions pattern.
Additional information: link
Reentrancy in AstralInu.transferFrom(address,address,uint256) (#777-781):
External calls:
- _transfer(sender,recipient,amount) (#778)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,owner(),block.timestamp) (#1086-1093)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#1072-1078)
External calls sending eth:
- _transfer(sender,recipient,amount) (#778)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,owner(),block.timestamp) (#1086-1093)
Event emitted after the call(s):
- Approval(owner,spender,amount) (#995)
- _approve(sender,_msgSender(),_allowances[sender][_msgSender()].sub(amount,ERC20: transfer amount exceeds allowance)) (#779)
Apply the check-effects-interactions pattern.
Additional information: link
Address._functionCallWithValue(address,bytes,uint256,string) (#361-382) uses assembly
- INLINE ASM (#374-377)
Do not use evm assembly.
Additional information: link
SafeMath.mod(uint256,uint256,string) (#229-232) is never used and should be removed
Remove unused functions.
Additional information: link
AstralInu.numTokensSellToAddToLiquidity (#700) is set pre-construction with a non-constant function or state variable:
- (_tTotal * 5) / 10000
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) (#361-382):
- (success,returndata) = target.call{value: weiValue}(data) (#365)
Avoid low-level calls. Check the call success. If the call is meant for a contract, check for code existence
Additional information: link
Variable AstralInu._liquidityFee (#690) is not in mixedCase
Follow the Solidity naming convention.
Additional information: link
Redundant expression "this (#241)" inContext (#235-244)
Remove redundant statements if they congest code but offer no value.
Additional information: link
Variable AstralInu._getRValues(uint256,uint256,uint256,uint256,uint256).rTransferAmount (#913) is too similar to AstralInu._getTValues(uint256).tTransferAmount (#904)
Prevent variables from having similar names.
Additional information: link
AstralInu.startingSupply (#671) should be constant
Add the constant attributes to state variables that never change.
Additional information: link
claimTokens() should be declared external:
- AstralInu.claimTokens() (#1201-1203)
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
Token has no active CoinGecko listing / rank
Token has no active CoinMarketCap listing / rank
Young tokens have high risks of price dump / death
Unable to find Telegram and Twitter accounts