Reentrancy in Senshi._transfer(address,address,uint256) (Senshi.sol#155-247):
External calls:
- swapAndLiquify(swapTokens) (Senshi.sol#188)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,liquidityWallet,block.timestamp) (Senshi.sol#299-306)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (Senshi.sol#283-289)
- swapAndSendBNBToMiningAddress(balanceOf(address(this))) (Senshi.sol#190)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (Senshi.sol#283-289)
- swapAndLiquify(Toswap) (Senshi.sol#196)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,liquidityWallet,block.timestamp) (Senshi.sol#299-306)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (Senshi.sol#283-289)
- swapAndSendBNBToMiningAddress(tosell) (Senshi.sol#199)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (Senshi.sol#283-289)
External calls sending eth:
- swapAndLiquify(swapTokens) (Senshi.sol#188)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,liquidityWallet,block.timestamp) (Senshi.sol#299-306)
- swapAndSendBNBToMiningAddress(balanceOf(address(this))) (Senshi.sol#190)
- address(MiningAddress).transfer(address(this).balance) (Senshi.sol#316)
- swapAndLiquify(Toswap) (Senshi.sol#196)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,liquidityWallet,block.timestamp) (Senshi.sol#299-306)
- swapAndSendBNBToMiningAddress(tosell) (Senshi.sol#199)
- address(MiningAddress).transfer(address(this).balance) (Senshi.sol#316)
State variables written after the call(s):
- PreviousTransfer = 1 (Senshi.sol#220)
- PreviousTransfer = 2 (Senshi.sol#225)
- TookFeesOnPreviousTransaction = false (Senshi.sol#232)
- TookFeesOnPreviousTransaction = true (Senshi.sol#236)
- super._transfer(from,address(this),fees) (Senshi.sol#242)
- _balances[sender] = senderBalance - amount (ERC20.sol#233)
- _balances[recipient] += amount (ERC20.sol#235)
- super._transfer(from,to,amount) (Senshi.sol#245)
- _balances[sender] = senderBalance - amount (ERC20.sol#233)
- _balances[recipient] += amount (ERC20.sol#235)
- swapping = false (Senshi.sol#203)
Apply the check-effects-interactions pattern.
Additional information: link
Unable to find manual contract audit (e.g. Certik, PeckShield, Solidity...)
Contract ownership is not renounced (belongs to a wallet)
Senshi._transfer(address,address,uint256).fees (Senshi.sol#216) 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
Senshi.addLiquidity(uint256,uint256) (Senshi.sol#293-308) ignores return value by uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,liquidityWallet,block.timestamp) (Senshi.sol#299-306)
Ensure that all the return values of the function calls are used.
Additional information: link
Senshi.SetBuyTax(uint256,uint256) (Senshi.sol#132-138) should emit an event for:
- BuyLiquidityTax = LiquidityTax (Senshi.sol#134)
- TotalBuyTax = LiquidityTax.add(MiningTaxs) (Senshi.sol#136)
Senshi.SetSellTax(uint256,uint256) (Senshi.sol#140-146) should emit an event for:
- SellLiquidityTax = LiquidityTax (Senshi.sol#142)
- TotalSellTax = LiquidityTax.add(MiningTaxs) (Senshi.sol#144)
Emit an event for critical parameter changes.
Additional information: link
name() should be declared external:
- ERC20.name() (ERC20.sol#61-63)
symbol() should be declared external:
- ERC20.symbol() (ERC20.sol#69-71)
decimals() should be declared external:
- ERC20.decimals() (ERC20.sol#86-88)
totalSupply() should be declared external:
- ERC20.totalSupply() (ERC20.sol#93-95)
transfer(address,uint256) should be declared external:
- ERC20.transfer(address,uint256) (ERC20.sol#112-115)
allowance(address,address) should be declared external:
- ERC20.allowance(address,address) (ERC20.sol#120-122)
approve(address,uint256) should be declared external:
- ERC20.approve(address,uint256) (ERC20.sol#131-134)
transferFrom(address,address,uint256) should be declared external:
- ERC20.transferFrom(address,address,uint256) (ERC20.sol#149-163)
increaseAllowance(address,uint256) should be declared external:
- ERC20.increaseAllowance(address,uint256) (ERC20.sol#177-180)
decreaseAllowance(address,uint256) should be declared external:
- ERC20.decreaseAllowance(address,uint256) (ERC20.sol#196-204)
renounceOwnership() should be declared external:
- Ownable.renounceOwnership() (Ownable.sol#55-57)
transferOwnership(address) should be declared external:
- Ownable.transferOwnership(address) (Ownable.sol#63-66)
geUnlockTime() should be declared external:
- Ownable.geUnlockTime() (Ownable.sol#78-80)
lock(uint256) should be declared external:
- Ownable.lock(uint256) (Ownable.sol#83-88)
unlock() should be declared external:
- Ownable.unlock() (Ownable.sol#91-96)
IsBlackListed(address) should be declared external:
- Senshi.IsBlackListed(address) (Senshi.sol#94-96)
BlackListAddress(address,bool) should be declared external:
- Senshi.BlackListAddress(address,bool) (Senshi.sol#98-102)
setAutomatedMarketMakerPair(address,bool) should be declared external:
- Senshi.setAutomatedMarketMakerPair(address,bool) (Senshi.sol#111-115)
SetMiningAddress(address) should be declared external:
- Senshi.SetMiningAddress(address) (Senshi.sol#125-129)
SetBuyTax(uint256,uint256) should be declared external:
- Senshi.SetBuyTax(uint256,uint256) (Senshi.sol#132-138)
SetSellTax(uint256,uint256) should be declared external:
- Senshi.SetSellTax(uint256,uint256) (Senshi.sol#140-146)
EnableAllFees(bool) should be declared external:
- Senshi.EnableAllFees(bool) (Senshi.sol#148-151)
Use the external attribute for functions never called from the contract.
Additional information: link
Reentrancy in Senshi._transfer(address,address,uint256) (Senshi.sol#155-247):
External calls:
- swapAndLiquify(swapTokens) (Senshi.sol#188)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,liquidityWallet,block.timestamp) (Senshi.sol#299-306)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (Senshi.sol#283-289)
- swapAndSendBNBToMiningAddress(balanceOf(address(this))) (Senshi.sol#190)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (Senshi.sol#283-289)
External calls sending eth:
- swapAndLiquify(swapTokens) (Senshi.sol#188)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,liquidityWallet,block.timestamp) (Senshi.sol#299-306)
- swapAndSendBNBToMiningAddress(balanceOf(address(this))) (Senshi.sol#190)
- address(MiningAddress).transfer(address(this).balance) (Senshi.sol#316)
State variables written after the call(s):
- swapAndSendBNBToMiningAddress(balanceOf(address(this))) (Senshi.sol#190)
- _allowances[owner][spender] = amount (ERC20.sol#312)
Reentrancy in Senshi._transfer(address,address,uint256) (Senshi.sol#155-247):
External calls:
- swapAndLiquify(Toswap) (Senshi.sol#196)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,liquidityWallet,block.timestamp) (Senshi.sol#299-306)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (Senshi.sol#283-289)
- swapAndSendBNBToMiningAddress(tosell) (Senshi.sol#199)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (Senshi.sol#283-289)
External calls sending eth:
- swapAndLiquify(Toswap) (Senshi.sol#196)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,liquidityWallet,block.timestamp) (Senshi.sol#299-306)
- swapAndSendBNBToMiningAddress(tosell) (Senshi.sol#199)
- address(MiningAddress).transfer(address(this).balance) (Senshi.sol#316)
State variables written after the call(s):
- swapAndSendBNBToMiningAddress(tosell) (Senshi.sol#199)
- _allowances[owner][spender] = amount (ERC20.sol#312)
Reentrancy in Senshi.constructor() (Senshi.sol#61-88):
External calls:
- _uniswapV2Pair = IUniswapV2Factory(_uniswapV2Router.factory()).createPair(address(this),_uniswapV2Router.WETH()) (Senshi.sol#69-70)
State variables written after the call(s):
- _mint(owner(),1000000000 * (10 ** 18)) (Senshi.sol#87)
- _balances[account] += amount (ERC20.sol#257)
- excludeFromFees(msg.sender,true) (Senshi.sol#78)
- _isExcludedFromFees[account] = excluded (Senshi.sol#107)
- excludeFromFees(address(this),true) (Senshi.sol#79)
- _isExcludedFromFees[account] = excluded (Senshi.sol#107)
- _mint(owner(),1000000000 * (10 ** 18)) (Senshi.sol#87)
- _totalSupply += amount (ERC20.sol#256)
- _setAutomatedMarketMakerPair(_uniswapV2Pair,true) (Senshi.sol#75)
- automatedMarketMakerPairs[pair] = value (Senshi.sol#119)
- uniswapV2Pair = _uniswapV2Pair (Senshi.sol#73)
- uniswapV2Router = _uniswapV2Router (Senshi.sol#72)
Reentrancy in Senshi.swapAndLiquify(uint256) (Senshi.sol#249-270):
External calls:
- swapTokensForEth(half) (Senshi.sol#261)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (Senshi.sol#283-289)
- addLiquidity(otherHalf,newBalance) (Senshi.sol#267)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,liquidityWallet,block.timestamp) (Senshi.sol#299-306)
External calls sending eth:
- addLiquidity(otherHalf,newBalance) (Senshi.sol#267)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,liquidityWallet,block.timestamp) (Senshi.sol#299-306)
State variables written after the call(s):
- addLiquidity(otherHalf,newBalance) (Senshi.sol#267)
- _allowances[owner][spender] = amount (ERC20.sol#312)
Apply the check-effects-interactions pattern.
Additional information: link
Reentrancy in Senshi._transfer(address,address,uint256) (Senshi.sol#155-247):
External calls:
- swapAndLiquify(swapTokens) (Senshi.sol#188)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,liquidityWallet,block.timestamp) (Senshi.sol#299-306)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (Senshi.sol#283-289)
- swapAndSendBNBToMiningAddress(balanceOf(address(this))) (Senshi.sol#190)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (Senshi.sol#283-289)
External calls sending eth:
- swapAndLiquify(swapTokens) (Senshi.sol#188)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,liquidityWallet,block.timestamp) (Senshi.sol#299-306)
- swapAndSendBNBToMiningAddress(balanceOf(address(this))) (Senshi.sol#190)
- address(MiningAddress).transfer(address(this).balance) (Senshi.sol#316)
Event emitted after the call(s):
- Approval(owner,spender,amount) (ERC20.sol#313)
- swapAndSendBNBToMiningAddress(balanceOf(address(this))) (Senshi.sol#190)
Reentrancy in Senshi._transfer(address,address,uint256) (Senshi.sol#155-247):
External calls:
- swapAndLiquify(Toswap) (Senshi.sol#196)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,liquidityWallet,block.timestamp) (Senshi.sol#299-306)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (Senshi.sol#283-289)
- swapAndSendBNBToMiningAddress(tosell) (Senshi.sol#199)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (Senshi.sol#283-289)
External calls sending eth:
- swapAndLiquify(Toswap) (Senshi.sol#196)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,liquidityWallet,block.timestamp) (Senshi.sol#299-306)
- swapAndSendBNBToMiningAddress(tosell) (Senshi.sol#199)
- address(MiningAddress).transfer(address(this).balance) (Senshi.sol#316)
Event emitted after the call(s):
- Approval(owner,spender,amount) (ERC20.sol#313)
- swapAndSendBNBToMiningAddress(tosell) (Senshi.sol#199)
Reentrancy in Senshi._transfer(address,address,uint256) (Senshi.sol#155-247):
External calls:
- swapAndLiquify(swapTokens) (Senshi.sol#188)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,liquidityWallet,block.timestamp) (Senshi.sol#299-306)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (Senshi.sol#283-289)
- swapAndSendBNBToMiningAddress(balanceOf(address(this))) (Senshi.sol#190)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (Senshi.sol#283-289)
- swapAndLiquify(Toswap) (Senshi.sol#196)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,liquidityWallet,block.timestamp) (Senshi.sol#299-306)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (Senshi.sol#283-289)
- swapAndSendBNBToMiningAddress(tosell) (Senshi.sol#199)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (Senshi.sol#283-289)
External calls sending eth:
- swapAndLiquify(swapTokens) (Senshi.sol#188)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,liquidityWallet,block.timestamp) (Senshi.sol#299-306)
- swapAndSendBNBToMiningAddress(balanceOf(address(this))) (Senshi.sol#190)
- address(MiningAddress).transfer(address(this).balance) (Senshi.sol#316)
- swapAndLiquify(Toswap) (Senshi.sol#196)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,liquidityWallet,block.timestamp) (Senshi.sol#299-306)
- swapAndSendBNBToMiningAddress(tosell) (Senshi.sol#199)
- address(MiningAddress).transfer(address(this).balance) (Senshi.sol#316)
Event emitted after the call(s):
- Transfer(sender,recipient,amount) (ERC20.sol#237)
- super._transfer(from,to,amount) (Senshi.sol#245)
- Transfer(sender,recipient,amount) (ERC20.sol#237)
- super._transfer(from,address(this),fees) (Senshi.sol#242)
Reentrancy in Senshi.constructor() (Senshi.sol#61-88):
External calls:
- _uniswapV2Pair = IUniswapV2Factory(_uniswapV2Router.factory()).createPair(address(this),_uniswapV2Router.WETH()) (Senshi.sol#69-70)
Event emitted after the call(s):
- SetAutomatedMarketMakerPair(pair,value) (Senshi.sol#121)
- _setAutomatedMarketMakerPair(_uniswapV2Pair,true) (Senshi.sol#75)
- Transfer(address(0),account,amount) (ERC20.sol#258)
- _mint(owner(),1000000000 * (10 ** 18)) (Senshi.sol#87)
Reentrancy in Senshi.swapAndLiquify(uint256) (Senshi.sol#249-270):
External calls:
- swapTokensForEth(half) (Senshi.sol#261)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (Senshi.sol#283-289)
- addLiquidity(otherHalf,newBalance) (Senshi.sol#267)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,liquidityWallet,block.timestamp) (Senshi.sol#299-306)
External calls sending eth:
- addLiquidity(otherHalf,newBalance) (Senshi.sol#267)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,liquidityWallet,block.timestamp) (Senshi.sol#299-306)
Event emitted after the call(s):
- Approval(owner,spender,amount) (ERC20.sol#313)
- addLiquidity(otherHalf,newBalance) (Senshi.sol#267)
- addedLiquidity(half,newBalance,otherHalf) (Senshi.sol#269)
Apply the check-effects-interactions pattern.
Additional information: link
Ownable.unlock() (Ownable.sol#91-96) uses timestamp for comparisons
Dangerous comparisons:
- require(bool,string)(block.timestamp > _lockTime,Contract is locked until 7 days) (Ownable.sol#93)
Avoid relying on block.timestamp.
Additional information: link
Different versions of Solidity is used:
- Version used: ['>=0.5.0', '>=0.6.2', '^0.8.0']
- ^0.8.0 (Context.sol#3)
- ^0.8.0 (ERC20.sol#3)
- ^0.8.0 (IERC20.sol#3)
- ^0.8.0 (IERC20Metadata.sol#3)
- >=0.5.0 (IUniswapV2Factory.sol#2)
- >=0.5.0 (IUniswapV2Pair.sol#2)
- >=0.6.2 (IUniswapV2Router.sol#2)
- ^0.8.0 (Ownable.sol#3)
- ^0.8.0 (SafeMath.sol#3)
- ^0.8.0 (Senshi.sol#3)
Use one Solidity version.
Additional information: link
Context._msgData() (Context.sol#21-23) is never used and should be removed
ERC20._burn(address,uint256) (ERC20.sol#274-289) is never used and should be removed
SafeMath.div(uint256,uint256,string) (SafeMath.sol#190-199) is never used and should be removed
SafeMath.mod(uint256,uint256) (SafeMath.sol#150-152) is never used and should be removed
SafeMath.mod(uint256,uint256,string) (SafeMath.sol#216-225) is never used and should be removed
SafeMath.sub(uint256,uint256,string) (SafeMath.sol#167-176) is never used and should be removed
SafeMath.tryAdd(uint256,uint256) (SafeMath.sol#21-27) is never used and should be removed
SafeMath.tryDiv(uint256,uint256) (SafeMath.sol#63-68) is never used and should be removed
SafeMath.tryMod(uint256,uint256) (SafeMath.sol#75-80) is never used and should be removed
SafeMath.tryMul(uint256,uint256) (SafeMath.sol#46-56) is never used and should be removed
SafeMath.trySub(uint256,uint256) (SafeMath.sol#34-39) is never used and should be removed
Remove unused functions.
Additional information: link
Pragma version^0.8.0 (Context.sol#3) allows old versions
Pragma version^0.8.0 (ERC20.sol#3) allows old versions
Pragma version^0.8.0 (IERC20.sol#3) allows old versions
Pragma version^0.8.0 (IERC20Metadata.sol#3) allows old versions
Pragma version>=0.5.0 (IUniswapV2Factory.sol#2) allows old versions
Pragma version>=0.5.0 (IUniswapV2Pair.sol#2) allows old versions
Pragma version>=0.6.2 (IUniswapV2Router.sol#2) allows old versions
Pragma version^0.8.0 (Ownable.sol#3) allows old versions
Pragma version^0.8.0 (SafeMath.sol#3) allows old versions
Pragma version^0.8.0 (Senshi.sol#3) allows old versions
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
Function IUniswapV2Pair.DOMAIN_SEPARATOR() (IUniswapV2Pair.sol#19) is not in mixedCase
Function IUniswapV2Pair.PERMIT_TYPEHASH() (IUniswapV2Pair.sol#20) is not in mixedCase
Function IUniswapV2Pair.MINIMUM_LIQUIDITY() (IUniswapV2Pair.sol#37) is not in mixedCase
Function IUniswapV2Router01.WETH() (IUniswapV2Router.sol#6) is not in mixedCase
Event SenshiaddedLiquidity(uint256,uint256,uint256) (Senshi.sol#55-59) is not in CapWords
Function Senshi.IsBlackListed(address) (Senshi.sol#94-96) is not in mixedCase
Function Senshi.BlackListAddress(address,bool) (Senshi.sol#98-102) is not in mixedCase
Function Senshi.SetMiningAddress(address) (Senshi.sol#125-129) is not in mixedCase
Parameter Senshi.SetMiningAddress(address).NewAddress (Senshi.sol#125) is not in mixedCase
Function Senshi.SetBuyTax(uint256,uint256) (Senshi.sol#132-138) is not in mixedCase
Parameter Senshi.SetBuyTax(uint256,uint256).LiquidityTax (Senshi.sol#132) is not in mixedCase
Parameter Senshi.SetBuyTax(uint256,uint256).MiningTaxs (Senshi.sol#132) is not in mixedCase
Function Senshi.SetSellTax(uint256,uint256) (Senshi.sol#140-146) is not in mixedCase
Parameter Senshi.SetSellTax(uint256,uint256).LiquidityTax (Senshi.sol#140) is not in mixedCase
Parameter Senshi.SetSellTax(uint256,uint256).MiningTaxs (Senshi.sol#140) is not in mixedCase
Function Senshi.EnableAllFees(bool) (Senshi.sol#148-151) is not in mixedCase
Variable Senshi.PreviousTransfer (Senshi.sol#21) is not in mixedCase
Variable Senshi.EnableFees (Senshi.sol#27) is not in mixedCase
Variable Senshi.TookFeesOnPreviousTransaction (Senshi.sol#29) is not in mixedCase
Variable Senshi.BuyMiningTax (Senshi.sol#31) is not in mixedCase
Variable Senshi.BuyLiquidityTax (Senshi.sol#32) is not in mixedCase
Variable Senshi.TotalBuyTax (Senshi.sol#33) is not in mixedCase
Variable Senshi.SellMiningTax (Senshi.sol#35) is not in mixedCase
Variable Senshi.SellLiquidityTax (Senshi.sol#36) is not in mixedCase
Variable Senshi.TotalSellTax (Senshi.sol#37) is not in mixedCase
Variable Senshi.MiningAddress (Senshi.sol#40) is not in mixedCase
Variable Senshi._BlackList (Senshi.sol#47) is not in mixedCase
Follow the Solidity naming convention.
Additional information: link
Reentrancy in Senshi._transfer(address,address,uint256) (Senshi.sol#155-247):
External calls:
- swapAndSendBNBToMiningAddress(balanceOf(address(this))) (Senshi.sol#190)
- address(MiningAddress).transfer(address(this).balance) (Senshi.sol#316)
- swapAndSendBNBToMiningAddress(tosell) (Senshi.sol#199)
- address(MiningAddress).transfer(address(this).balance) (Senshi.sol#316)
External calls sending eth:
- swapAndLiquify(swapTokens) (Senshi.sol#188)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,liquidityWallet,block.timestamp) (Senshi.sol#299-306)
- swapAndSendBNBToMiningAddress(balanceOf(address(this))) (Senshi.sol#190)
- address(MiningAddress).transfer(address(this).balance) (Senshi.sol#316)
- swapAndLiquify(Toswap) (Senshi.sol#196)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,liquidityWallet,block.timestamp) (Senshi.sol#299-306)
- swapAndSendBNBToMiningAddress(tosell) (Senshi.sol#199)
- address(MiningAddress).transfer(address(this).balance) (Senshi.sol#316)
State variables written after the call(s):
- PreviousTransfer = 1 (Senshi.sol#220)
- PreviousTransfer = 2 (Senshi.sol#225)
- TookFeesOnPreviousTransaction = false (Senshi.sol#232)
- TookFeesOnPreviousTransaction = true (Senshi.sol#236)
- super._transfer(from,address(this),fees) (Senshi.sol#242)
- _balances[sender] = senderBalance - amount (ERC20.sol#233)
- _balances[recipient] += amount (ERC20.sol#235)
- super._transfer(from,to,amount) (Senshi.sol#245)
- _balances[sender] = senderBalance - amount (ERC20.sol#233)
- _balances[recipient] += amount (ERC20.sol#235)
- swapping = false (Senshi.sol#203)
Event emitted after the call(s):
- Transfer(sender,recipient,amount) (ERC20.sol#237)
- super._transfer(from,address(this),fees) (Senshi.sol#242)
- Transfer(sender,recipient,amount) (ERC20.sol#237)
- super._transfer(from,to,amount) (Senshi.sol#245)
Apply the check-effects-interactions pattern.
Additional information: link
Variable IUniswapV2Router01.addLiquidity(address,address,uint256,uint256,uint256,uint256,address,uint256).amountADesired (IUniswapV2Router.sol#11) is too similar to IUniswapV2Router01.addLiquidity(address,address,uint256,uint256,uint256,uint256,address,uint256).amountBDesired (IUniswapV2Router.sol#12)
Prevent variables from having similar names.
Additional information: link
Senshi.constructor() (Senshi.sol#61-88) uses literals with too many digits:
- _mint(owner(),1000000000 * (10 ** 18)) (Senshi.sol#87)
Use: Ether suffix, Time suffix, or The scientific notation
Additional information: link
Senshi.swapTokensAtAmount (Senshi.sol#25) should be constant
Add the constant attributes to state variables that never change.
Additional information: link
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