AINU Token is an all-new BEP20 token that is an automatic liquidity-providing protocol that gives out static rewards (5% of each tx) to HODLers while deflating.
Reentrancy in AINU._transfer(address,address,uint256) (#1017-1061):
External calls:
- swapAndLiquify(contractTokenBalance) (#1048)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,owner(),block.timestamp) (#1109-1116)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#1095-1101)
External calls sending eth:
- swapAndLiquify(contractTokenBalance) (#1048)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,owner(),block.timestamp) (#1109-1116)
State variables written after the call(s):
- _tokenTransfer(from,to,amount,takeFee) (#1060)
- _rOwned[address(this)] = _rOwned[address(this)].add(rLiquidity) (#973)
- _rOwned[sender] = _rOwned[sender].sub(rAmount) (#1151)
- _rOwned[sender] = _rOwned[sender].sub(rAmount) (#1142)
- _rOwned[sender] = _rOwned[sender].sub(rAmount) (#889)
- _rOwned[recipient] = _rOwned[recipient].add(rTransferAmount) (#1143)
- _rOwned[sender] = _rOwned[sender].sub(rAmount) (#1162)
- _rOwned[recipient] = _rOwned[recipient].add(rTransferAmount) (#1163)
- _rOwned[recipient] = _rOwned[recipient].add(rTransferAmount) (#1153)
- _rOwned[recipient] = _rOwned[recipient].add(rTransferAmount) (#891)
- _tokenTransfer(from,to,amount,takeFee) (#1060)
- _rTotal = _rTotal.sub(rFee) (#928)
- _tokenTransfer(from,to,amount,takeFee) (#1060)
- _tOwned[address(this)] = _tOwned[address(this)].add(tLiquidity) (#975)
- _tOwned[sender] = _tOwned[sender].sub(tAmount) (#1161)
- _tOwned[sender] = _tOwned[sender].sub(tAmount) (#888)
- _tOwned[recipient] = _tOwned[recipient].add(tTransferAmount) (#1152)
- _tOwned[recipient] = _tOwned[recipient].add(tTransferAmount) (#890)
Apply the check-effects-interactions pattern.
Additional information: link
AINU.includeInReward(address) (#874-885) has costly operations inside a loop:
- _excluded.pop() (#881)
Use a local variable to hold the loop computation result.
Additional information: link
AINU.addLiquidity(uint256,uint256) (#1104-1117) ignores return value by uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,owner(),block.timestamp) (#1109-1116)
Ensure that all the return values of the function calls are used.
Additional information: link
AINU.allowance(address,address).owner (#805) shadows:
- Ownable.owner() (#441-443) (function)
AINU._approve(address,address,uint256).owner (#1009) shadows:
- Ownable.owner() (#441-443) (function)
Rename the local variables that shadow another component.
Additional information: link
AINU.setTaxFeePercent(uint256) (#905-907) should emit an event for:
- _taxFee = taxFee (#906)
AINU.setLiquidityFeePercent(uint256) (#909-911) should emit an event for:
- _liquidityFee = liquidityFee (#910)
AINU.setMaxTxPercent(uint256) (#913-917) should emit an event for:
- _maxTxAmount = _tTotal.mul(maxTxPercent).div(10 ** 2) (#914-916)
Emit an event for critical parameter changes.
Additional information: link
Reentrancy in AINU._transfer(address,address,uint256) (#1017-1061):
External calls:
- swapAndLiquify(contractTokenBalance) (#1048)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,owner(),block.timestamp) (#1109-1116)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#1095-1101)
External calls sending eth:
- swapAndLiquify(contractTokenBalance) (#1048)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,owner(),block.timestamp) (#1109-1116)
State variables written after the call(s):
- _tokenTransfer(from,to,amount,takeFee) (#1060)
- _liquidityFee = _previousLiquidityFee (#1002)
- _liquidityFee = 0 (#997)
- _tokenTransfer(from,to,amount,takeFee) (#1060)
- _previousLiquidityFee = _liquidityFee (#994)
- _tokenTransfer(from,to,amount,takeFee) (#1060)
- _previousTaxFee = _taxFee (#993)
- _tokenTransfer(from,to,amount,takeFee) (#1060)
- _tFeeTotal = _tFeeTotal.add(tFee) (#929)
- _tokenTransfer(from,to,amount,takeFee) (#1060)
- _taxFee = _previousTaxFee (#1001)
- _taxFee = 0 (#996)
Reentrancy in AINU.constructor() (#761-777):
External calls:
- uniswapV2Pair = IUniswapV2Factory(_uniswapV2Router.factory()).createPair(address(this),_uniswapV2Router.WETH()) (#766-767)
State variables written after the call(s):
- _isExcludedFromFee[owner()] = true (#773)
- _isExcludedFromFee[address(this)] = true (#774)
- uniswapV2Router = _uniswapV2Router (#770)
Reentrancy in AINU.swapAndLiquify(uint256) (#1063-1084):
External calls:
- swapTokensForEth(half) (#1075)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#1095-1101)
- addLiquidity(otherHalf,newBalance) (#1081)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,owner(),block.timestamp) (#1109-1116)
External calls sending eth:
- addLiquidity(otherHalf,newBalance) (#1081)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,owner(),block.timestamp) (#1109-1116)
State variables written after the call(s):
- addLiquidity(otherHalf,newBalance) (#1081)
- _allowances[owner][spender] = amount (#1013)
Reentrancy in AINU.transferFrom(address,address,uint256) (#814-818):
External calls:
- _transfer(sender,recipient,amount) (#815)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,owner(),block.timestamp) (#1109-1116)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#1095-1101)
External calls sending eth:
- _transfer(sender,recipient,amount) (#815)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,owner(),block.timestamp) (#1109-1116)
State variables written after the call(s):
- _approve(sender,_msgSender(),_allowances[sender][_msgSender()].sub(amount,ERC20: transfer amount exceeds allowance)) (#816)
- _allowances[owner][spender] = amount (#1013)
Apply the check-effects-interactions pattern.
Additional information: link
Reentrancy in AINU._transfer(address,address,uint256) (#1017-1061):
External calls:
- swapAndLiquify(contractTokenBalance) (#1048)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,owner(),block.timestamp) (#1109-1116)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#1095-1101)
External calls sending eth:
- swapAndLiquify(contractTokenBalance) (#1048)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,owner(),block.timestamp) (#1109-1116)
Event emitted after the call(s):
- Transfer(sender,recipient,tTransferAmount) (#1146)
- _tokenTransfer(from,to,amount,takeFee) (#1060)
- Transfer(sender,recipient,tTransferAmount) (#1156)
- _tokenTransfer(from,to,amount,takeFee) (#1060)
- Transfer(sender,recipient,tTransferAmount) (#1166)
- _tokenTransfer(from,to,amount,takeFee) (#1060)
- Transfer(sender,recipient,tTransferAmount) (#894)
- _tokenTransfer(from,to,amount,takeFee) (#1060)
Reentrancy in AINU.constructor() (#761-777):
External calls:
- uniswapV2Pair = IUniswapV2Factory(_uniswapV2Router.factory()).createPair(address(this),_uniswapV2Router.WETH()) (#766-767)
Event emitted after the call(s):
- Transfer(address(0),_msgSender(),_tTotal) (#776)
Reentrancy in AINU.swapAndLiquify(uint256) (#1063-1084):
External calls:
- swapTokensForEth(half) (#1075)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#1095-1101)
- addLiquidity(otherHalf,newBalance) (#1081)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,owner(),block.timestamp) (#1109-1116)
External calls sending eth:
- addLiquidity(otherHalf,newBalance) (#1081)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,owner(),block.timestamp) (#1109-1116)
Event emitted after the call(s):
- Approval(owner,spender,amount) (#1014)
- addLiquidity(otherHalf,newBalance) (#1081)
- SwapAndLiquify(half,newBalance,otherHalf) (#1083)
Reentrancy in AINU.transferFrom(address,address,uint256) (#814-818):
External calls:
- _transfer(sender,recipient,amount) (#815)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,owner(),block.timestamp) (#1109-1116)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#1095-1101)
External calls sending eth:
- _transfer(sender,recipient,amount) (#815)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,owner(),block.timestamp) (#1109-1116)
Event emitted after the call(s):
- Approval(owner,spender,amount) (#1014)
- _approve(sender,_msgSender(),_allowances[sender][_msgSender()].sub(amount,ERC20: transfer amount exceeds allowance)) (#816)
Apply the check-effects-interactions pattern.
Additional information: link
Ownable.unlock() (#488-493) uses timestamp for comparisons
Dangerous comparisons:
- require(bool,string)(now > _lockTime,Contract is locked until 7 days) (#490)
Avoid relying on block.timestamp.
Additional information: link
Address.isContract(address) (#293-302) uses assembly
- INLINE ASM (#300)
Address._functionCallWithValue(address,bytes,uint256,string) (#386-407) uses assembly
- INLINE ASM (#399-402)
Do not use evm assembly.
Additional information: link
Address._functionCallWithValue(address,bytes,uint256,string) (#386-407) is never used and should be removed
Address.functionCall(address,bytes) (#346-348) is never used and should be removed
Address.functionCall(address,bytes,string) (#356-358) is never used and should be removed
Address.functionCallWithValue(address,bytes,uint256) (#371-373) is never used and should be removed
Address.functionCallWithValue(address,bytes,uint256,string) (#381-384) is never used and should be removed
Address.isContract(address) (#293-302) is never used and should be removed
Address.sendValue(address,uint256) (#320-326) is never used and should be removed
Context._msgData() (#265-268) is never used and should be removed
SafeMath.mod(uint256,uint256) (#238-240) is never used and should be removed
SafeMath.mod(uint256,uint256,string) (#254-257) is never used and should be removed
Remove unused functions.
Additional information: link
AINU._rTotal (#725) is set pre-construction with a non-constant function or state variable:
- (MAX - (MAX % _tTotal))
AINU._previousTaxFee (#733) is set pre-construction with a non-constant function or state variable:
- _taxFee
AINU._previousLiquidityFee (#736) 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.sendValue(address,uint256) (#320-326):
- (success) = recipient.call{value: amount}() (#324)
Low level call in Address._functionCallWithValue(address,bytes,uint256,string) (#386-407):
- (success,returndata) = target.call{value: weiValue}(data) (#390)
Avoid low-level calls. Check the call success. If the call is meant for a contract, check for code existence
Additional information: link
Function IUniswapV2Pair.DOMAIN_SEPARATOR() (#532) is not in mixedCase
Function IUniswapV2Pair.PERMIT_TYPEHASH() (#533) is not in mixedCase
Function IUniswapV2Pair.MINIMUM_LIQUIDITY() (#550) is not in mixedCase
Function IUniswapV2Router01.WETH() (#572) is not in mixedCase
Parameter AINU.setSwapAndLiquifyEnabled(bool)._enabled (#919) is not in mixedCase
Parameter AINU.calculateTaxFee(uint256)._amount (#978) is not in mixedCase
Parameter AINU.calculateLiquidityFee(uint256)._amount (#984) is not in mixedCase
Variable AINU._taxFee (#732) is not in mixedCase
Variable AINU._liquidityFee (#735) is not in mixedCase
Variable AINU._maxTxAmount (#744) is not in mixedCase
Follow the Solidity naming convention.
Additional information: link
Redundant expression "this (#266)" inContext (#260-269)
Remove redundant statements if they congest code but offer no value.
Additional information: link
Variable IUniswapV2Router01.addLiquidity(address,address,uint256,uint256,uint256,uint256,address,uint256).amountADesired (#577) is too similar to IUniswapV2Router01.addLiquidity(address,address,uint256,uint256,uint256,uint256,address,uint256).amountBDesired (#578)
Variable AINU._transferToExcluded(address,address,uint256).rTransferAmount (#1150) is too similar to AINU._getValues(uint256).tTransferAmount (#933)
Variable AINU.reflectionFromToken(uint256,bool).rTransferAmount (#853) is too similar to AINU._getValues(uint256).tTransferAmount (#933)
Variable AINU._transferToExcluded(address,address,uint256).rTransferAmount (#1150) is too similar to AINU._getTValues(uint256).tTransferAmount (#941)
Variable AINU.reflectionFromToken(uint256,bool).rTransferAmount (#853) is too similar to AINU._getTValues(uint256).tTransferAmount (#941)
Variable AINU._transferBothExcluded(address,address,uint256).rTransferAmount (#887) is too similar to AINU._transferFromExcluded(address,address,uint256).tTransferAmount (#1160)
Variable AINU._transferStandard(address,address,uint256).rTransferAmount (#1141) is too similar to AINU._getTValues(uint256).tTransferAmount (#941)
Variable AINU._transferBothExcluded(address,address,uint256).rTransferAmount (#887) is too similar to AINU._getValues(uint256).tTransferAmount (#933)
Variable AINU._getRValues(uint256,uint256,uint256,uint256).rTransferAmount (#949) is too similar to AINU._transferStandard(address,address,uint256).tTransferAmount (#1141)
Variable AINU._transferBothExcluded(address,address,uint256).rTransferAmount (#887) is too similar to AINU._getTValues(uint256).tTransferAmount (#941)
Variable AINU._getValues(uint256).rTransferAmount (#934) is too similar to AINU._getTValues(uint256).tTransferAmount (#941)
Variable AINU._transferFromExcluded(address,address,uint256).rTransferAmount (#1160) is too similar to AINU._transferStandard(address,address,uint256).tTransferAmount (#1141)
Variable AINU._transferToExcluded(address,address,uint256).rTransferAmount (#1150) is too similar to AINU._transferStandard(address,address,uint256).tTransferAmount (#1141)
Variable AINU.reflectionFromToken(uint256,bool).rTransferAmount (#853) is too similar to AINU._transferStandard(address,address,uint256).tTransferAmount (#1141)
Variable AINU._transferFromExcluded(address,address,uint256).rTransferAmount (#1160) is too similar to AINU._transferBothExcluded(address,address,uint256).tTransferAmount (#887)
Variable AINU._transferFromExcluded(address,address,uint256).rTransferAmount (#1160) is too similar to AINU._transferToExcluded(address,address,uint256).tTransferAmount (#1150)
Variable AINU._transferStandard(address,address,uint256).rTransferAmount (#1141) is too similar to AINU._transferStandard(address,address,uint256).tTransferAmount (#1141)
Variable AINU._transferToExcluded(address,address,uint256).rTransferAmount (#1150) is too similar to AINU._transferToExcluded(address,address,uint256).tTransferAmount (#1150)
Variable AINU._transferBothExcluded(address,address,uint256).rTransferAmount (#887) is too similar to AINU._transferStandard(address,address,uint256).tTransferAmount (#1141)
Variable AINU.reflectionFromToken(uint256,bool).rTransferAmount (#853) is too similar to AINU._transferToExcluded(address,address,uint256).tTransferAmount (#1150)
Variable AINU.reflectionFromToken(uint256,bool).rTransferAmount (#853) is too similar to AINU._transferBothExcluded(address,address,uint256).tTransferAmount (#887)
Variable AINU._getRValues(uint256,uint256,uint256,uint256).rTransferAmount (#949) is too similar to AINU._getTValues(uint256).tTransferAmount (#941)
Variable AINU._transferFromExcluded(address,address,uint256).rTransferAmount (#1160) is too similar to AINU._transferFromExcluded(address,address,uint256).tTransferAmount (#1160)
Variable AINU._transferBothExcluded(address,address,uint256).rTransferAmount (#887) is too similar to AINU._transferBothExcluded(address,address,uint256).tTransferAmount (#887)
Variable AINU._transferBothExcluded(address,address,uint256).rTransferAmount (#887) is too similar to AINU._transferToExcluded(address,address,uint256).tTransferAmount (#1150)
Variable AINU._transferFromExcluded(address,address,uint256).rTransferAmount (#1160) is too similar to AINU._getValues(uint256).tTransferAmount (#933)
Variable AINU._transferToExcluded(address,address,uint256).rTransferAmount (#1150) is too similar to AINU._transferFromExcluded(address,address,uint256).tTransferAmount (#1160)
Variable AINU.reflectionFromToken(uint256,bool).rTransferAmount (#853) is too similar to AINU._transferFromExcluded(address,address,uint256).tTransferAmount (#1160)
Variable AINU._transferFromExcluded(address,address,uint256).rTransferAmount (#1160) is too similar to AINU._getTValues(uint256).tTransferAmount (#941)
Variable AINU._getValues(uint256).rTransferAmount (#934) is too similar to AINU._transferBothExcluded(address,address,uint256).tTransferAmount (#887)
Variable AINU._transferToExcluded(address,address,uint256).rTransferAmount (#1150) is too similar to AINU._transferBothExcluded(address,address,uint256).tTransferAmount (#887)
Variable AINU._getRValues(uint256,uint256,uint256,uint256).rTransferAmount (#949) is too similar to AINU._transferToExcluded(address,address,uint256).tTransferAmount (#1150)
Variable AINU._getRValues(uint256,uint256,uint256,uint256).rTransferAmount (#949) is too similar to AINU._transferFromExcluded(address,address,uint256).tTransferAmount (#1160)
Variable AINU._transferStandard(address,address,uint256).rTransferAmount (#1141) is too similar to AINU._transferToExcluded(address,address,uint256).tTransferAmount (#1150)
Variable AINU._transferStandard(address,address,uint256).rTransferAmount (#1141) is too similar to AINU._transferFromExcluded(address,address,uint256).tTransferAmount (#1160)
Variable AINU._getValues(uint256).rTransferAmount (#934) is too similar to AINU._transferToExcluded(address,address,uint256).tTransferAmount (#1150)
Variable AINU._transferStandard(address,address,uint256).rTransferAmount (#1141) is too similar to AINU._transferBothExcluded(address,address,uint256).tTransferAmount (#887)
Variable AINU._getValues(uint256).rTransferAmount (#934) is too similar to AINU._transferFromExcluded(address,address,uint256).tTransferAmount (#1160)
Variable AINU._getRValues(uint256,uint256,uint256,uint256).rTransferAmount (#949) is too similar to AINU._getValues(uint256).tTransferAmount (#933)
Variable AINU._transferStandard(address,address,uint256).rTransferAmount (#1141) is too similar to AINU._getValues(uint256).tTransferAmount (#933)
Variable AINU._getRValues(uint256,uint256,uint256,uint256).rTransferAmount (#949) is too similar to AINU._transferBothExcluded(address,address,uint256).tTransferAmount (#887)
Variable AINU._getValues(uint256).rTransferAmount (#934) is too similar to AINU._getValues(uint256).tTransferAmount (#933)
Variable AINU._getValues(uint256).rTransferAmount (#934) is too similar to AINU._transferStandard(address,address,uint256).tTransferAmount (#1141)
Prevent variables from having similar names.
Additional information: link
AINU.slitherConstructorVariables() (#710-1173) uses literals with too many digits:
- _tTotal = 1000000000000000000000000000 (#724)
AINU.slitherConstructorVariables() (#710-1173) uses literals with too many digits:
- _maxTxAmount = 1000000000000000000000000000 (#744)
AINU.slitherConstructorVariables() (#710-1173) uses literals with too many digits:
- numTokensSellToAddToLiquidity = 500000000000000000000000000 (#745)
Use: Ether suffix, Time suffix, or The scientific notation
Additional information: link
AINU._decimals (#730) should be constant
AINU._name (#728) should be constant
AINU._symbol (#729) should be constant
AINU._tTotal (#724) should be constant
AINU.numTokensSellToAddToLiquidity (#745) should be constant
Add the constant attributes to state variables that never change.
Additional information: link
renounceOwnership() should be declared external:
- Ownable.renounceOwnership() (#460-463)
transferOwnership(address) should be declared external:
- Ownable.transferOwnership(address) (#469-473)
geUnlockTime() should be declared external:
- Ownable.geUnlockTime() (#475-477)
lock(uint256) should be declared external:
- Ownable.lock(uint256) (#480-485)
unlock() should be declared external:
- Ownable.unlock() (#488-493)
name() should be declared external:
- AINU.name() (#779-781)
symbol() should be declared external:
- AINU.symbol() (#783-785)
decimals() should be declared external:
- AINU.decimals() (#787-789)
totalSupply() should be declared external:
- AINU.totalSupply() (#791-793)
transfer(address,uint256) should be declared external:
- AINU.transfer(address,uint256) (#800-803)
allowance(address,address) should be declared external:
- AINU.allowance(address,address) (#805-807)
approve(address,uint256) should be declared external:
- AINU.approve(address,uint256) (#809-812)
transferFrom(address,address,uint256) should be declared external:
- AINU.transferFrom(address,address,uint256) (#814-818)
increaseAllowance(address,uint256) should be declared external:
- AINU.increaseAllowance(address,uint256) (#820-823)
decreaseAllowance(address,uint256) should be declared external:
- AINU.decreaseAllowance(address,uint256) (#825-828)
isExcludedFromReward(address) should be declared external:
- AINU.isExcludedFromReward(address) (#830-832)
totalFees() should be declared external:
- AINU.totalFees() (#834-836)
deliver(uint256) should be declared external:
- AINU.deliver(uint256) (#838-845)
reflectionFromToken(uint256,bool) should be declared external:
- AINU.reflectionFromToken(uint256,bool) (#847-856)
excludeFromReward(address) should be declared external:
- AINU.excludeFromReward(address) (#864-872)
excludeFromFee(address) should be declared external:
- AINU.excludeFromFee(address) (#897-899)
includeInFee(address) should be declared external:
- AINU.includeInFee(address) (#901-903)
setSwapAndLiquifyEnabled(bool) should be declared external:
- AINU.setSwapAndLiquifyEnabled(bool) (#919-922)
isExcludedFromFee(address) should be declared external:
- AINU.isExcludedFromFee(address) (#1005-1007)
Use the external attribute for functions never called from the contract.
Additional information: link
Token has relatively low CoinGecko rank
Token has relatively low CoinMarketCap rank
Young tokens have high risks of price dump / death
Last post in Twitter was more than 30 days ago
Unable to find Youtube account
Unable to find Discord account