SafeWhale aims to create a full metaverse - called the SWHAL-Verse - where participants can play, farm, stake (even NFTs) or simply hold to earn more SWHAL tokens.
The protocol is carefully designed to
⁃ automatically grow and lock sustainable liquidity for the AMM
⁃ reward passive holders
⁃ reward active users with farming and play-to-earn (P2E) GameFi
⁃ exponentially reduce available supply (burn address deep hole)
⁃ create an ever rising price floor
⁃ generate sufficient token reserve for farming and gaming while remaining inflation neutral
⁃ support both BEP-20 and BEP-721 farming
⁃ offer real use cases for NFT holders (e.g. enter games at a discount or earn more rewards)
Reentrancy in SafeWhale._transfer(address,address,uint256) (#627-654):
External calls:
- _swapAndLiquify(contractTokenBalance) (#646)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,owner(),block.timestamp) (#680-687)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#670-676)
External calls sending eth:
- _swapAndLiquify(contractTokenBalance) (#646)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,owner(),block.timestamp) (#680-687)
State variables written after the call(s):
- _tokenTransfer(from,to,amount,takeFee) (#653)
- _rOwned[_prizePoolAddress] = _rOwned[_prizePoolAddress] + rPrizePool (#595)
- _rOwned[address(this)] = _rOwned[address(this)] + rLiquidity (#580)
- _rOwned[_marketingWalletAddress] = _rOwned[_marketingWalletAddress] + rMarketing (#587)
- _rOwned[sender] = _rOwned[sender] - rAmount (#728)
- _rOwned[sender] = _rOwned[sender] - rAmount (#715)
- _rOwned[sender] = _rOwned[sender] - rAmount (#757)
- _rOwned[sender] = _rOwned[sender] - rAmount (#743)
- _rOwned[recipient] = _rOwned[recipient] + rTransferAmount (#716)
- _rOwned[recipient] = _rOwned[recipient] + rTransferAmount (#730)
- _rOwned[recipient] = _rOwned[recipient] + rTransferAmount (#744)
- _rOwned[recipient] = _rOwned[recipient] + rTransferAmount (#759)
- _tokenTransfer(from,to,amount,takeFee) (#653)
- _rTotal = _rTotal - rFee (#769)
- _tokenTransfer(from,to,amount,takeFee) (#653)
- _tOwned[address(this)] = _tOwned[address(this)] + tLiquidity (#582)
- _tOwned[_marketingWalletAddress] = _tOwned[_marketingWalletAddress] + tMarketing (#589)
- _tOwned[_prizePoolAddress] = _tOwned[_prizePoolAddress] + tPrizePool (#597)
- _tOwned[sender] = _tOwned[sender] - tAmount (#756)
- _tOwned[sender] = _tOwned[sender] - tAmount (#742)
- _tOwned[recipient] = _tOwned[recipient] + tTransferAmount (#729)
- _tOwned[recipient] = _tOwned[recipient] + tTransferAmount (#758)
Apply the check-effects-interactions pattern.
Additional information: link
SafeWhale.getLiquidityUSDT() (#452-466) uses a dangerous strict equality:
- total == 0 (#456)
SafeWhale._calculateLiquidityBNB() (#820-834) uses a dangerous strict equality:
- pool == 0 (#824)
SafeWhale.getBurnedUSDT() (#467-481) uses a dangerous strict equality:
- total == 0 (#471)
SafeWhale._calculateTokenBNB(address) (#835-849) uses a dangerous strict equality:
- pool == 0 (#839)
Don't use strict equality to determine if an account has enough Ether or tokens.
Additional information: link
Contract ownership is not renounced (belongs to a wallet)
SafeWhale._addLiquidity(uint256,uint256) (#678-688) ignores return value by uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,owner(),block.timestamp) (#680-687)
Ensure that all the return values of the function calls are used.
Additional information: link
SafeWhale._approve(address,address,uint256).owner (#621) shadows:
- Ownable.owner() (#89-91) (function)
SafeWhale.allowance(address,address).owner (#573) shadows:
- Ownable.owner() (#89-91) (function)
Rename the local variables that shadow another component.
Additional information: link
Address._verifyCallResult(bool,bytes,string) (#57-70) uses assembly
- INLINE ASM (#62-65)
Address.isContract(address) (#16-20) uses assembly
- INLINE ASM (#18)
Do not use evm assembly.
Additional information: link
SafeWhale.includeInReward(address) (#423-434) has costly operations inside a loop:
- _excluded.pop() (#430)
Use a local variable to hold the loop computation result.
Additional information: link
SafeWhale.reflectionFromToken(uint256,bool).tFee_scope_0 (#494) is a local variable never initialized
SafeWhale.reflectionFromToken(uint256,bool).tLiquidity_scope_1 (#494) is a local variable never initialized
SafeWhale.reflectionFromToken(uint256,bool).tMarketing_scope_2 (#494) is a local variable never initialized
SafeWhale.reflectionFromToken(uint256,bool).tPrizePool_scope_3 (#494) 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
SafeWhale.setMaxTxPercent(uint256) (#394-396) should emit an event for:
- _maxTxAmount = (_tTotal * maxTxPercent) / 10 ** 3 (#395)
SafeWhale.setPrizePoolFeePercent(uint256) (#388-390) should emit an event for:
- prizeFee = newFee (#389)
SafeWhale.setTaxFeePercent(uint256) (#382-384) should emit an event for:
- taxFee = newFee (#383)
SafeWhale.setmaxTxAmount(uint256) (#405-407) should emit an event for:
- _maxTxAmount = maxTxAmount (#406)
SafeWhale.setLiquidityFeePercent(uint256) (#391-393) should emit an event for:
- liquidityFee = newFee (#392)
SafeWhale.setMarketingFeePercent(uint256) (#385-387) should emit an event for:
- marketingFee = newFee (#386)
SafeWhale.setLiquiditySwapTrigger(uint256) (#401-403) should emit an event for:
- _numTokensSellToAddToLiquidity = amount (#402)
Emit an event for critical parameter changes.
Additional information: link
SafeWhale.setMarketingWalletAddress(address).marketingWalletAddress (#408) lacks a zero-check on :
- _marketingWalletAddress = marketingWalletAddress (#409)
SafeWhale.setPrizePoolWalletAddress(address).prizeWalletAddress (#411) lacks a zero-check on :
- _prizePoolAddress = prizeWalletAddress (#412)
SafeWhale.constructor(address,address).marketingWalletAddress (#355) lacks a zero-check on :
- _marketingWalletAddress = marketingWalletAddress (#359)
SafeWhale.constructor(address,address).prizePoolAddress (#356) lacks a zero-check on :
- _prizePoolAddress = prizePoolAddress (#358)
Check that the address is not zero.
Additional information: link
Variable 'SafeWhale.reflectionFromToken(uint256,bool).tMarketing (#489)' in SafeWhale.reflectionFromToken(uint256,bool) (#486-499) potentially used before declaration: (tFee,tLiquidity,tMarketing,tPrizePool) = _getTValues(tAmount) (#494)
Variable 'SafeWhale.reflectionFromToken(uint256,bool).tPrizePool (#489)' in SafeWhale.reflectionFromToken(uint256,bool) (#486-499) potentially used before declaration: (tFee,tLiquidity,tMarketing,tPrizePool) = _getTValues(tAmount) (#494)
Variable 'SafeWhale.reflectionFromToken(uint256,bool).tLiquidity (#489)' in SafeWhale.reflectionFromToken(uint256,bool) (#486-499) potentially used before declaration: (tFee,tLiquidity,tMarketing,tPrizePool) = _getTValues(tAmount) (#494)
Variable 'SafeWhale.reflectionFromToken(uint256,bool).tFee (#489)' in SafeWhale.reflectionFromToken(uint256,bool) (#486-499) potentially used before declaration: (tFee,tLiquidity,tMarketing,tPrizePool) = _getTValues(tAmount) (#494)
Move all variable declarations prior to any usage of the variable, and ensure that reaching a variable declaration does not depend on some conditional if it is used unconditionally.
Additional information: link
Reentrancy in SafeWhale.transferFrom(address,address,uint256) (#527-537):
External calls:
- _transfer(sender,recipient,amount) (#528)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,owner(),block.timestamp) (#680-687)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#670-676)
External calls sending eth:
- _transfer(sender,recipient,amount) (#528)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,owner(),block.timestamp) (#680-687)
State variables written after the call(s):
- _approve(sender,_msgSender(),currentAllowance - amount) (#533)
- _allowances[owner][spender] = amount (#624)
Reentrancy in SafeWhale._transfer(address,address,uint256) (#627-654):
External calls:
- _swapAndLiquify(contractTokenBalance) (#646)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,owner(),block.timestamp) (#680-687)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#670-676)
External calls sending eth:
- _swapAndLiquify(contractTokenBalance) (#646)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,owner(),block.timestamp) (#680-687)
State variables written after the call(s):
- _trackHolders(from,to) (#652)
- _holdersTotal -- (#691)
- _holdersTotal ++ (#692)
- _tokenTransfer(from,to,amount,takeFee) (#653)
- _previousLiquidityFee = liquidityFee (#607)
- _tokenTransfer(from,to,amount,takeFee) (#653)
- _previousMarketingFee = marketingFee (#606)
- _tokenTransfer(from,to,amount,takeFee) (#653)
- _previousPrizeFee = prizeFee (#605)
- _tokenTransfer(from,to,amount,takeFee) (#653)
- _previousTaxFee = taxFee (#604)
- _tokenTransfer(from,to,amount,takeFee) (#653)
- _reflectedTotal += tFee (#721)
- _reflectedTotal += tFee (#735)
- _reflectedTotal += tFee (#749)
- _reflectedTotal += tFee (#764)
- _tokenTransfer(from,to,amount,takeFee) (#653)
- _tFeeTotal = _tFeeTotal + tFee (#770)
- _tokenTransfer(from,to,amount,takeFee) (#653)
- liquidityFee = _previousLiquidityFee (#618)
- liquidityFee = 0 (#612)
- _tokenTransfer(from,to,amount,takeFee) (#653)
- marketingFee = _previousMarketingFee (#617)
- marketingFee = 0 (#611)
- _tokenTransfer(from,to,amount,takeFee) (#653)
- prizeFee = _previousPrizeFee (#616)
- prizeFee = 0 (#610)
- _tokenTransfer(from,to,amount,takeFee) (#653)
- taxFee = _previousTaxFee (#615)
- taxFee = 0 (#609)
Reentrancy in SafeWhale._swapAndLiquify(uint256) (#656-664):
External calls:
- _swapTokensForEth(half) (#660)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#670-676)
- _addLiquidity(otherHalf,newBalance) (#662)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,owner(),block.timestamp) (#680-687)
External calls sending eth:
- _addLiquidity(otherHalf,newBalance) (#662)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,owner(),block.timestamp) (#680-687)
State variables written after the call(s):
- _addLiquidity(otherHalf,newBalance) (#662)
- _allowances[owner][spender] = amount (#624)
Apply the check-effects-interactions pattern.
Additional information: link
Reentrancy in SafeWhale._swapAndLiquify(uint256) (#656-664):
External calls:
- _swapTokensForEth(half) (#660)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#670-676)
- _addLiquidity(otherHalf,newBalance) (#662)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,owner(),block.timestamp) (#680-687)
External calls sending eth:
- _addLiquidity(otherHalf,newBalance) (#662)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,owner(),block.timestamp) (#680-687)
Event emitted after the call(s):
- Approval(owner,spender,amount) (#625)
- _addLiquidity(otherHalf,newBalance) (#662)
- SwapAndLiquify(half,newBalance,otherHalf) (#663)
Reentrancy in SafeWhale.transferFrom(address,address,uint256) (#527-537):
External calls:
- _transfer(sender,recipient,amount) (#528)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,owner(),block.timestamp) (#680-687)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#670-676)
External calls sending eth:
- _transfer(sender,recipient,amount) (#528)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,owner(),block.timestamp) (#680-687)
Event emitted after the call(s):
- Approval(owner,spender,amount) (#625)
- _approve(sender,_msgSender(),currentAllowance - amount) (#533)
Reentrancy in SafeWhale._transfer(address,address,uint256) (#627-654):
External calls:
- _swapAndLiquify(contractTokenBalance) (#646)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,owner(),block.timestamp) (#680-687)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#670-676)
External calls sending eth:
- _swapAndLiquify(contractTokenBalance) (#646)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,owner(),block.timestamp) (#680-687)
Event emitted after the call(s):
- Transfer(sender,_prizePoolAddress,tPrizePool) (#598)
- _tokenTransfer(from,to,amount,takeFee) (#653)
- Transfer(sender,_marketingWalletAddress,tMarketing) (#590)
- _tokenTransfer(from,to,amount,takeFee) (#653)
- Transfer(sender,recipient,tTransferAmount) (#722)
- _tokenTransfer(from,to,amount,takeFee) (#653)
- Transfer(sender,recipient,tTransferAmount) (#750)
- _tokenTransfer(from,to,amount,takeFee) (#653)
- Transfer(sender,recipient,tTransferAmount) (#736)
- _tokenTransfer(from,to,amount,takeFee) (#653)
- Transfer(sender,recipient,tTransferAmount) (#765)
- _tokenTransfer(from,to,amount,takeFee) (#653)
Apply the check-effects-interactions pattern.
Additional information: link
Address.sendValue(address,uint256) (#21-25) is never used and should be removed
Address.functionCallWithValue(address,bytes,uint256) (#32-34) is never used and should be removed
Address.functionDelegateCall(address,bytes,string) (#52-56) is never used and should be removed
Address.functionDelegateCall(address,bytes) (#49-51) is never used and should be removed
Address.functionCallWithValue(address,bytes,uint256,string) (#35-40) is never used and should be removed
Context._msgData() (#77-80) is never used and should be removed
Address.functionStaticCall(address,bytes) (#41-43) is never used and should be removed
Address._verifyCallResult(bool,bytes,string) (#57-70) is never used and should be removed
Address.isContract(address) (#16-20) is never used and should be removed
Address.functionCall(address,bytes,string) (#29-31) is never used and should be removed
Address.functionStaticCall(address,bytes,string) (#44-48) is never used and should be removed
Address.functionCall(address,bytes) (#26-28) is never used and should be removed
Remove unused functions.
Additional information: link
SafeWhale._previousTaxFee (#328) is set pre-construction with a non-constant function or state variable:
- taxFee
SafeWhale._rTotal (#321) is set pre-construction with a non-constant function or state variable:
- (_MAX - (_MAX % _tTotal))
SafeWhale._previousLiquidityFee (#331) is set pre-construction with a non-constant function or state variable:
- liquidityFee
SafeWhale._previousPrizeFee (#329) is set pre-construction with a non-constant function or state variable:
- prizeFee
SafeWhale._previousMarketingFee (#330) is set pre-construction with a non-constant function or state variable:
- marketingFee
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) (#21-25):
- (success) = recipient.call{value: amount}() (#23)
Low level call in Address.functionCallWithValue(address,bytes,uint256,string) (#35-40):
- (success,returndata) = target.call{value: value}(data) (#38)
Low level call in Address.functionDelegateCall(address,bytes,string) (#52-56):
- (success,returndata) = target.delegatecall(data) (#54)
Low level call in Address.functionStaticCall(address,bytes,string) (#44-48):
- (success,returndata) = target.staticcall(data) (#46)
Avoid low-level calls. Check the call success. If the call is meant for a contract, check for code existence
Additional information: link
Variable SafeWhale._prizePoolAddress (#303) is not in mixedCase
Function IUniswapV2Pair.PERMIT_TYPEHASH() (#131) is not in mixedCase
Function IUniswapV2Pair.MINIMUM_LIQUIDITY() (#145) is not in mixedCase
Function IUniswapV2Pair.DOMAIN_SEPARATOR() (#130) is not in mixedCase
Parameter SafeWhale.setSwapAndLiquifyEnabled(bool)._enabled (#397) is not in mixedCase
Variable SafeWhale._marketingWalletAddress (#304) is not in mixedCase
Function IUniswapV2Router01.WETH() (#162) is not in mixedCase
Follow the Solidity naming convention.
Additional information: link
Redundant expression "this (#78)" inContext (#73-81)
Remove redundant statements if they congest code but offer no value.
Additional information: link
Variable SafeWhale._transferFromExcluded(address,address,uint256).rTransferAmount (#741) is too similar to SafeWhale._getTValues(uint256).tTransferAmount (#778)
Variable SafeWhale.reflectionFromToken(uint256,bool).rTransferAmount (#495) is too similar to SafeWhale._transferFromExcluded(address,address,uint256).tTransferAmount (#740)
Variable SafeWhale._transferFromExcluded(address,address,uint256).rTransferAmount (#741) is too similar to SafeWhale._transferFromExcluded(address,address,uint256).tTransferAmount (#740)
Variable SafeWhale._transferFromExcluded(address,address,uint256).rTransferAmount (#741) is too similar to SafeWhale._transferBothExcluded(address,address,uint256).tTransferAmount (#754)
Variable SafeWhale._transferToExcluded(address,address,uint256).rTransferAmount (#727) is too similar to SafeWhale._getTValues(uint256).tTransferAmount (#778)
Variable SafeWhale._transferStandard(address,address,uint256).rTransferAmount (#714) is too similar to SafeWhale._getTValues(uint256).tTransferAmount (#778)
Variable SafeWhale._transferFromExcluded(address,address,uint256).rTransferAmount (#741) is too similar to SafeWhale._transferStandard(address,address,uint256).tTransferAmount (#713)
Variable SafeWhale.reflectionFromToken(uint256,bool).rTransferAmount (#495) is too similar to SafeWhale._transferToExcluded(address,address,uint256).tTransferAmount (#726)
Variable SafeWhale._transferFromExcluded(address,address,uint256).rTransferAmount (#741) is too similar to SafeWhale._transferToExcluded(address,address,uint256).tTransferAmount (#726)
Variable SafeWhale._transferStandard(address,address,uint256).rTransferAmount (#714) is too similar to SafeWhale._transferToExcluded(address,address,uint256).tTransferAmount (#726)
Variable SafeWhale._getRValues(uint256,uint256,uint256,uint256,uint256,uint256).rTransferAmount (#788) is too similar to SafeWhale._getTValues(uint256).tTransferAmount (#778)
Variable SafeWhale._transferBothExcluded(address,address,uint256).rTransferAmount (#755) is too similar to SafeWhale._transferStandard(address,address,uint256).tTransferAmount (#713)
Variable SafeWhale._getRValues(uint256,uint256,uint256,uint256,uint256,uint256).rTransferAmount (#788) is too similar to SafeWhale._transferBothExcluded(address,address,uint256).tTransferAmount (#754)
Variable SafeWhale._transferBothExcluded(address,address,uint256).rTransferAmount (#755) is too similar to SafeWhale._transferBothExcluded(address,address,uint256).tTransferAmount (#754)
Variable SafeWhale._getRValues(uint256,uint256,uint256,uint256,uint256,uint256).rTransferAmount (#788) is too similar to SafeWhale._transferStandard(address,address,uint256).tTransferAmount (#713)
Variable IUniswapV2Router01.addLiquidity(address,address,uint256,uint256,uint256,uint256,address,uint256).amountADesired (#166) is too similar to IUniswapV2Router01.addLiquidity(address,address,uint256,uint256,uint256,uint256,address,uint256).amountBDesired (#167)
Variable SafeWhale._transferToExcluded(address,address,uint256).rTransferAmount (#727) is too similar to SafeWhale._transferFromExcluded(address,address,uint256).tTransferAmount (#740)
Variable SafeWhale.reflectionFromToken(uint256,bool).rTransferAmount (#495) is too similar to SafeWhale._transferStandard(address,address,uint256).tTransferAmount (#713)
Variable SafeWhale._transferBothExcluded(address,address,uint256).rTransferAmount (#755) is too similar to SafeWhale._getTValues(uint256).tTransferAmount (#778)
Variable SafeWhale._transferBothExcluded(address,address,uint256).rTransferAmount (#755) is too similar to SafeWhale._transferFromExcluded(address,address,uint256).tTransferAmount (#740)
Variable SafeWhale._getRValues(uint256,uint256,uint256,uint256,uint256,uint256).rTransferAmount (#788) is too similar to SafeWhale._transferFromExcluded(address,address,uint256).tTransferAmount (#740)
Variable SafeWhale.reflectionFromToken(uint256,bool).rTransferAmount (#495) is too similar to SafeWhale._getTValues(uint256).tTransferAmount (#778)
Variable SafeWhale._transferStandard(address,address,uint256).rTransferAmount (#714) is too similar to SafeWhale._transferStandard(address,address,uint256).tTransferAmount (#713)
Variable SafeWhale._transferStandard(address,address,uint256).rTransferAmount (#714) is too similar to SafeWhale._transferBothExcluded(address,address,uint256).tTransferAmount (#754)
Variable SafeWhale._getRValues(uint256,uint256,uint256,uint256,uint256,uint256).rTransferAmount (#788) is too similar to SafeWhale._transferToExcluded(address,address,uint256).tTransferAmount (#726)
Variable SafeWhale._transferToExcluded(address,address,uint256).rTransferAmount (#727) is too similar to SafeWhale._transferBothExcluded(address,address,uint256).tTransferAmount (#754)
Variable SafeWhale._transferStandard(address,address,uint256).rTransferAmount (#714) is too similar to SafeWhale._transferFromExcluded(address,address,uint256).tTransferAmount (#740)
Variable SafeWhale._transferBothExcluded(address,address,uint256).rTransferAmount (#755) is too similar to SafeWhale._transferToExcluded(address,address,uint256).tTransferAmount (#726)
Variable SafeWhale.reflectionFromToken(uint256,bool).rTransferAmount (#495) is too similar to SafeWhale._transferBothExcluded(address,address,uint256).tTransferAmount (#754)
Variable SafeWhale._transferToExcluded(address,address,uint256).rTransferAmount (#727) is too similar to SafeWhale._transferStandard(address,address,uint256).tTransferAmount (#713)
Variable SafeWhale._transferToExcluded(address,address,uint256).rTransferAmount (#727) is too similar to SafeWhale._transferToExcluded(address,address,uint256).tTransferAmount (#726)
Prevent variables from having similar names.
Additional information: link
SafeWhale.slitherConstructorVariables() (#291-853) uses literals with too many digits:
- _tTotal = 100000000000 * 10 ** 18 (#320)
SafeWhale.slitherConstructorConstantVariables() (#291-853) uses literals with too many digits:
- BURN_ADDRESS = 0x000000000000000000000000000000000000dEaD (#294-295)
SafeWhale.slitherConstructorVariables() (#291-853) uses literals with too many digits:
- _numTokensSellToAddToLiquidity = 100000 * 10 ** 18 (#338)
SafeWhale.slitherConstructorVariables() (#291-853) uses literals with too many digits:
- _maxTxAmount = 5000000 * 10 ** 18 (#337)
Use: Ether suffix, Time suffix, or The scientific notation
Additional information: link
SafeWhale._burnedTotal (#335) is never used in SafeWhale (#291-853)
Remove unused state variables.
Additional information: link
SafeWhale._name (#324) should be constant
SafeWhale._decimals (#326) should be constant
SafeWhale._symbol (#325) should be constant
SafeWhale._tTotal (#320) should be constant
SafeWhale._burnedTotal (#335) should be constant
Add the constant attributes to state variables that never change.
Additional information: link
renounceOwnership() should be declared external:
- Ownable.renounceOwnership() (#96-99)
decimals() should be declared external:
- SafeWhale.decimals() (#563-565)
transfer(address,uint256) should be declared external:
- SafeWhale.transfer(address,uint256) (#518-521)
symbol() should be declared external:
- SafeWhale.symbol() (#560-562)
increaseAllowance(address,uint256) should be declared external:
- SafeWhale.increaseAllowance(address,uint256) (#538-541)
transferFrom(address,address,uint256) should be declared external:
- SafeWhale.transferFrom(address,address,uint256) (#527-537)
totalSupply() should be declared external:
- SafeWhale.totalSupply() (#566-568)
transferOwnership(address) should be declared external:
- Ownable.transferOwnership(address) (#100-104)
name() should be declared external:
- SafeWhale.name() (#557-559)
allowance(address,address) should be declared external:
- SafeWhale.allowance(address,address) (#573-575)
decreaseAllowance(address,uint256) should be declared external:
- SafeWhale.decreaseAllowance(address,uint256) (#542-550)
approve(address,uint256) should be declared external:
- SafeWhale.approve(address,uint256) (#522-525)
setSwapAndLiquifyEnabled(bool) should be declared external:
- SafeWhale.setSwapAndLiquifyEnabled(bool) (#397-400)
Use the external attribute for functions never called from the contract.
Additional information: link
Contract has 15% buy tax and 14% sell tax.
Taxes are suspiciously high (over 10%) and contract ownership is not renounced. Token has a high risk of becoming a honeypot.
Average PancakeSwap trading volume, liqudity, number of swaps are extremely low. Token seems to be dead.
Swap operations require suspiciously high gas. Contract logic is complex and may disguise some form of scam.
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.
Token has no active CoinMarketCap listing / rank
Token has a considerable age, but social accounts / website are missing or have few users
Token has a considerable age, but average PancakeSwap 30d trading volume is low
Token has relatively low CoinGecko rank
Last post in Twitter was more than 180 days ago
Twitter account has relatively few followers
Unable to find Youtube account