Shambala, a legend that has long existed-the earth is hollow, there is a reverse world centered on the underground sun.
In Shambala society, the identity of people, social relationships, land and property, commodity consumption, recreational activities, games, etc., are all realized by various NFTs.
This society has its own economic system-using BALA tokens, with the help of infrastructure such as BalaSwap and Market, all NFT social elements are connected and operated to form a diversified organic society.
BALAToken.withdrawOtherToken(address,address) (#844-851) ignores return value by IERC20(_token).transfer(to,IERC20(_token).balanceOf(address(this))) (#849)
Use SafeERC20, or ensure that the transfer/transferFrom return value is checked.
Additional information: link
Contract ownership is not renounced (belongs to a wallet)
Reentrancy in BALAToken._transfer(address,address,uint256) (#1139-1180):
External calls:
- swapAndLiquify(contractTokenBalance) (#1167)
- USDT.approve(address(uniswapV2Router),usdtAmount) (#859)
- uniswapV2Router.addLiquidity(address(this),address(USDT),tokenAmount,usdtAmount,0,0,blackhole,block.timestamp) (#861-870)
- uniswapV2Router.swapExactTokensForTokensSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#1214-1220)
State variables written after the call(s):
- _tokenTransfer(from,to,amount,takeFee) (#1179)
- _rOwned[address(this)] = _rOwned[address(this)].add(rLiquidity) (#1095)
- _rOwned[sender] = _rOwned[sender].sub(rAmount) (#896)
- _rOwned[sender] = _rOwned[sender].sub(rAmount) (#905)
- _rOwned[sender] = _rOwned[sender].sub(rAmount) (#916)
- _rOwned[sender] = _rOwned[sender].sub(rAmount) (#1005)
- _rOwned[recipient] = _rOwned[recipient].add(rTransferAmount) (#897)
- _rOwned[recipient] = _rOwned[recipient].add(rTransferAmount) (#907)
- _rOwned[recipient] = _rOwned[recipient].add(rTransferAmount) (#917)
- _rOwned[recipient] = _rOwned[recipient].add(rTransferAmount) (#1007)
- _tokenTransfer(from,to,amount,takeFee) (#1179)
- _rTotal = _rTotal.sub(rFee) (#1050)
- _tokenTransfer(from,to,amount,takeFee) (#1179)
- _tOwned[address(this)] = _tOwned[address(this)].add(tLiquidity) (#1097)
- _tOwned[sender] = _tOwned[sender].sub(tAmount) (#915)
- _tOwned[sender] = _tOwned[sender].sub(tAmount) (#1004)
- _tOwned[recipient] = _tOwned[recipient].add(tTransferAmount) (#906)
- _tOwned[recipient] = _tOwned[recipient].add(tTransferAmount) (#1006)
Apply the check-effects-interactions pattern.
Additional information: link
BALAToken.addLiquidity(uint256,uint256) (#856-871) ignores return value by USDT.approve(address(uniswapV2Router),usdtAmount) (#859)
BALAToken.addLiquidity(uint256,uint256) (#856-871) ignores return value by uniswapV2Router.addLiquidity(address(this),address(USDT),tokenAmount,usdtAmount,0,0,blackhole,block.timestamp) (#861-870)
Ensure that all the return values of the function calls are used.
Additional information: link
BALAToken.allowance(address,address).owner (#852) shadows:
- Ownable.owner() (#416-418) (function)
BALAToken._approve(address,address,uint256).owner (#1131) shadows:
- Ownable.owner() (#416-418) (function)
Rename the local variables that shadow another component.
Additional information: link
BALAToken.setTaxFeePercent(uint256) (#1021-1023) should emit an event for:
- _taxFee = taxFee (#1022)
BALAToken.setLiquidityFeePercent(uint256) (#1025-1027) should emit an event for:
- _liquidityFee = liquidityFee (#1026)
BALAToken.setnumTokensSellToAddToLiquidity(uint256) (#1031-1033) should emit an event for:
- numTokensSellToAddToLiquidity = _numTokensSellToAddToLiquidity (#1032)
BALAToken.setMaxTxPercent(uint256) (#1035-1039) should emit an event for:
- _maxTxAmount = _tTotal.mul(maxTxPercent).div(10 ** 2) (#1036-1038)
Emit an event for critical parameter changes.
Additional information: link
BALAToken.withdrawOtherToken(address,address).to (#844) lacks a zero-check on :
- to.transfer(address(this).balance) (#847)
Check that the address is not zero.
Additional information: link
Reentrancy in BALAToken._transfer(address,address,uint256) (#1139-1180):
External calls:
- swapAndLiquify(contractTokenBalance) (#1167)
- USDT.approve(address(uniswapV2Router),usdtAmount) (#859)
- uniswapV2Router.addLiquidity(address(this),address(USDT),tokenAmount,usdtAmount,0,0,blackhole,block.timestamp) (#861-870)
- uniswapV2Router.swapExactTokensForTokensSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#1214-1220)
State variables written after the call(s):
- _tokenTransfer(from,to,amount,takeFee) (#1179)
- _liquidityFee = _previousLiquidityFee (#1124)
- _liquidityFee = 0 (#1119)
- _tokenTransfer(from,to,amount,takeFee) (#1179)
- _previousLiquidityFee = _liquidityFee (#1116)
- _tokenTransfer(from,to,amount,takeFee) (#1179)
- _previousTaxFee = _taxFee (#1115)
- _tokenTransfer(from,to,amount,takeFee) (#1179)
- _tFeeTotal = _tFeeTotal.add(tFee) (#1051)
- _tokenTransfer(from,to,amount,takeFee) (#1179)
- _taxFee = _previousTaxFee (#1123)
- _taxFee = 0 (#1118)
Reentrancy in BALAToken.constructor() (#783-806):
External calls:
- uniswapV2Pair = IUniswapV2Factory(_uniswapV2Router.factory()).createPair(address(this),address(USDT)) (#788-789)
State variables written after the call(s):
- _isExcludedFromFee[owner()] = true (#795)
- _isExcludedFromFee[address(this)] = true (#796)
- _isExcludedFromFee[0xDF75111c2D626322e0523238212abe00a9682ED7] = true (#797)
- _isExcludedFromFee[0xfA01Bc8bc50311c3ef32D5eaF298f2e739c78Af5] = true (#798)
- _isExcludedFromFee[0x7333fE8895a211A7c8F39eD18B0c40821178a8C8] = true (#799)
- _isExcludedFromFee[0x499FA8788B5552B75A16d0A95B19BE60231d816F] = true (#800)
- _isExcludedFromFee[0x959543F78207110d386964364b871524906eB91A] = true (#801)
- _isExcludedFromFee[0x3A84377916199362e74d0075f59868DD54418e08] = true (#802)
- uniswapV2Router = _uniswapV2Router (#792)
Reentrancy in BALAToken.swapAndLiquify(uint256) (#1182-1203):
External calls:
- swapTokensForUsdt(half) (#1194)
- uniswapV2Router.swapExactTokensForTokensSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#1214-1220)
- addLiquidity(otherHalf,USDTBalance) (#1200)
- USDT.approve(address(uniswapV2Router),usdtAmount) (#859)
- uniswapV2Router.addLiquidity(address(this),address(USDT),tokenAmount,usdtAmount,0,0,blackhole,block.timestamp) (#861-870)
State variables written after the call(s):
- addLiquidity(otherHalf,USDTBalance) (#1200)
- _allowances[owner][spender] = amount (#1135)
Reentrancy in BALAToken.transferFrom(address,address,uint256) (#929-933):
External calls:
- _transfer(sender,recipient,amount) (#930)
- USDT.approve(address(uniswapV2Router),usdtAmount) (#859)
- uniswapV2Router.addLiquidity(address(this),address(USDT),tokenAmount,usdtAmount,0,0,blackhole,block.timestamp) (#861-870)
- uniswapV2Router.swapExactTokensForTokensSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#1214-1220)
State variables written after the call(s):
- _approve(sender,_msgSender(),_allowances[sender][_msgSender()].sub(amount,ERC20: transfer amount exceeds allowance)) (#931)
- _allowances[owner][spender] = amount (#1135)
Apply the check-effects-interactions pattern.
Additional information: link
Reentrancy in BALAToken._transfer(address,address,uint256) (#1139-1180):
External calls:
- swapAndLiquify(contractTokenBalance) (#1167)
- USDT.approve(address(uniswapV2Router),usdtAmount) (#859)
- uniswapV2Router.addLiquidity(address(this),address(USDT),tokenAmount,usdtAmount,0,0,blackhole,block.timestamp) (#861-870)
- uniswapV2Router.swapExactTokensForTokensSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#1214-1220)
Event emitted after the call(s):
- Transfer(sender,recipient,tTransferAmount) (#900)
- _tokenTransfer(from,to,amount,takeFee) (#1179)
- Transfer(sender,recipient,tTransferAmount) (#910)
- _tokenTransfer(from,to,amount,takeFee) (#1179)
- Transfer(sender,recipient,tTransferAmount) (#920)
- _tokenTransfer(from,to,amount,takeFee) (#1179)
- Transfer(sender,recipient,tTransferAmount) (#1010)
- _tokenTransfer(from,to,amount,takeFee) (#1179)
Reentrancy in BALAToken.batchTransfer(address[],uint256[]) (#835-843):
External calls:
- _transfer(_msgSender(),addressList[i],amountList[i]) (#839)
- USDT.approve(address(uniswapV2Router),usdtAmount) (#859)
- uniswapV2Router.addLiquidity(address(this),address(USDT),tokenAmount,usdtAmount,0,0,blackhole,block.timestamp) (#861-870)
- uniswapV2Router.swapExactTokensForTokensSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#1214-1220)
Event emitted after the call(s):
- Transfer(_msgSender(),addressList[i],amountList[i]) (#840)
Reentrancy in BALAToken.constructor() (#783-806):
External calls:
- uniswapV2Pair = IUniswapV2Factory(_uniswapV2Router.factory()).createPair(address(this),address(USDT)) (#788-789)
Event emitted after the call(s):
- Transfer(address(0),_msgSender(),_tTotal) (#805)
Reentrancy in BALAToken.swapAndLiquify(uint256) (#1182-1203):
External calls:
- swapTokensForUsdt(half) (#1194)
- uniswapV2Router.swapExactTokensForTokensSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#1214-1220)
- addLiquidity(otherHalf,USDTBalance) (#1200)
- USDT.approve(address(uniswapV2Router),usdtAmount) (#859)
- uniswapV2Router.addLiquidity(address(this),address(USDT),tokenAmount,usdtAmount,0,0,blackhole,block.timestamp) (#861-870)
Event emitted after the call(s):
- Approval(owner,spender,amount) (#1136)
- addLiquidity(otherHalf,USDTBalance) (#1200)
- SwapAndLiquify(half,USDTBalance,otherHalf) (#1202)
Reentrancy in BALAToken.transferFrom(address,address,uint256) (#929-933):
External calls:
- _transfer(sender,recipient,amount) (#930)
- USDT.approve(address(uniswapV2Router),usdtAmount) (#859)
- uniswapV2Router.addLiquidity(address(this),address(USDT),tokenAmount,usdtAmount,0,0,blackhole,block.timestamp) (#861-870)
- uniswapV2Router.swapExactTokensForTokensSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#1214-1220)
Event emitted after the call(s):
- Approval(owner,spender,amount) (#1136)
- _approve(sender,_msgSender(),_allowances[sender][_msgSender()].sub(amount,ERC20: transfer amount exceeds allowance)) (#931)
Apply the check-effects-interactions pattern.
Additional information: link
Ownable.unlock() (#463-468) uses timestamp for comparisons
Dangerous comparisons:
- require(bool,string)(now > _lockTime,Contract is locked until 7 days) (#465)
Avoid relying on block.timestamp.
Additional information: link
Address._functionCallWithValue(address,bytes,uint256,string) (#361-382) is never used and should be removed
Address.functionCall(address,bytes) (#321-323) is never used and should be removed
Address.functionCall(address,bytes,string) (#331-333) is never used and should be removed
Address.functionCallWithValue(address,bytes,uint256) (#346-348) is never used and should be removed
Address.functionCallWithValue(address,bytes,uint256,string) (#356-359) is never used and should be removed
Address.isContract(address) (#268-277) is never used and should be removed
Address.sendValue(address,uint256) (#295-301) is never used and should be removed
Context._msgData() (#240-243) is never used and should be removed
SafeMath.mod(uint256,uint256) (#213-215) is never used and should be removed
SafeMath.mod(uint256,uint256,string) (#229-232) is never used and should be removed
Remove unused functions.
Additional information: link
BALAToken._rTotal (#747) is set pre-construction with a non-constant function or state variable:
- (MAX - (MAX % _tTotal))
BALAToken._previousTaxFee (#755) is set pre-construction with a non-constant function or state variable:
- _taxFee
BALAToken._previousLiquidityFee (#758) 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) (#295-301):
- (success) = recipient.call{value: amount}() (#299)
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
Function IUniswapV2Pair.DOMAIN_SEPARATOR() (#507) is not in mixedCase
Function IUniswapV2Pair.PERMIT_TYPEHASH() (#508) is not in mixedCase
Function IUniswapV2Pair.MINIMUM_LIQUIDITY() (#525) is not in mixedCase
Function IUniswapV2Router01.WETH() (#547) is not in mixedCase
Parameter BALAToken.withdrawOtherToken(address,address)._token (#844) is not in mixedCase
Parameter BALAToken.setnumTokensSellToAddToLiquidity(uint256)._numTokensSellToAddToLiquidity (#1031) is not in mixedCase
Parameter BALAToken.setSwapAndLiquifyEnabled(bool)._enabled (#1041) is not in mixedCase
Parameter BALAToken.calculateTaxFee(uint256)._amount (#1100) is not in mixedCase
Parameter BALAToken.calculateLiquidityFee(uint256)._amount (#1106) is not in mixedCase
Variable BALAToken.USDT (#736) is not in mixedCase
Variable BALAToken._taxFee (#754) is not in mixedCase
Variable BALAToken._liquidityFee (#757) is not in mixedCase
Variable BALAToken._maxTxAmount (#766) 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 IUniswapV2Router01.addLiquidity(address,address,uint256,uint256,uint256,uint256,address,uint256).amountADesired (#552) is too similar to IUniswapV2Router01.addLiquidity(address,address,uint256,uint256,uint256,uint256,address,uint256).amountBDesired (#553)
Variable BALAToken._transferToExcluded(address,address,uint256).rTransferAmount (#904) is too similar to BALAToken._transferBothExcluded(address,address,uint256).tTransferAmount (#1003)
Variable BALAToken._transferStandard(address,address,uint256).rTransferAmount (#895) is too similar to BALAToken._transferFromExcluded(address,address,uint256).tTransferAmount (#914)
Variable BALAToken.reflectionFromToken(uint256,bool).rTransferAmount (#970) is too similar to BALAToken._transferBothExcluded(address,address,uint256).tTransferAmount (#1003)
Variable BALAToken._getValues(uint256).rTransferAmount (#1056) is too similar to BALAToken._transferFromExcluded(address,address,uint256).tTransferAmount (#914)
Variable BALAToken._getRValues(uint256,uint256,uint256,uint256).rTransferAmount (#1071) is too similar to BALAToken._transferStandard(address,address,uint256).tTransferAmount (#895)
Variable BALAToken._transferToExcluded(address,address,uint256).rTransferAmount (#904) is too similar to BALAToken._transferFromExcluded(address,address,uint256).tTransferAmount (#914)
Variable BALAToken.reflectionFromToken(uint256,bool).rTransferAmount (#970) is too similar to BALAToken._transferFromExcluded(address,address,uint256).tTransferAmount (#914)
Variable BALAToken._getRValues(uint256,uint256,uint256,uint256).rTransferAmount (#1071) is too similar to BALAToken._getTValues(uint256).tTransferAmount (#1063)
Variable BALAToken._transferStandard(address,address,uint256).rTransferAmount (#895) is too similar to BALAToken._transferStandard(address,address,uint256).tTransferAmount (#895)
Variable BALAToken._getRValues(uint256,uint256,uint256,uint256).rTransferAmount (#1071) is too similar to BALAToken._transferBothExcluded(address,address,uint256).tTransferAmount (#1003)
Variable BALAToken._transferBothExcluded(address,address,uint256).rTransferAmount (#1003) is too similar to BALAToken._getTValues(uint256).tTransferAmount (#1063)
Variable BALAToken._transferToExcluded(address,address,uint256).rTransferAmount (#904) is too similar to BALAToken._transferStandard(address,address,uint256).tTransferAmount (#895)
Variable BALAToken._getRValues(uint256,uint256,uint256,uint256).rTransferAmount (#1071) is too similar to BALAToken._transferFromExcluded(address,address,uint256).tTransferAmount (#914)
Variable BALAToken.reflectionFromToken(uint256,bool).rTransferAmount (#970) is too similar to BALAToken._transferStandard(address,address,uint256).tTransferAmount (#895)
Variable BALAToken._transferStandard(address,address,uint256).rTransferAmount (#895) is too similar to BALAToken._getTValues(uint256).tTransferAmount (#1063)
Variable BALAToken._transferBothExcluded(address,address,uint256).rTransferAmount (#1003) is too similar to BALAToken._transferBothExcluded(address,address,uint256).tTransferAmount (#1003)
Variable BALAToken._getValues(uint256).rTransferAmount (#1056) is too similar to BALAToken._getTValues(uint256).tTransferAmount (#1063)
Variable BALAToken.reflectionFromToken(uint256,bool).rTransferAmount (#970) is too similar to BALAToken._getTValues(uint256).tTransferAmount (#1063)
Variable BALAToken._transferBothExcluded(address,address,uint256).rTransferAmount (#1003) is too similar to BALAToken._transferFromExcluded(address,address,uint256).tTransferAmount (#914)
Variable BALAToken._transferStandard(address,address,uint256).rTransferAmount (#895) is too similar to BALAToken._transferBothExcluded(address,address,uint256).tTransferAmount (#1003)
Variable BALAToken._transferToExcluded(address,address,uint256).rTransferAmount (#904) is too similar to BALAToken._getTValues(uint256).tTransferAmount (#1063)
Variable BALAToken._getValues(uint256).rTransferAmount (#1056) is too similar to BALAToken._transferBothExcluded(address,address,uint256).tTransferAmount (#1003)
Variable BALAToken._transferToExcluded(address,address,uint256).rTransferAmount (#904) is too similar to BALAToken._getValues(uint256).tTransferAmount (#1055)
Variable BALAToken._transferToExcluded(address,address,uint256).rTransferAmount (#904) is too similar to BALAToken._transferToExcluded(address,address,uint256).tTransferAmount (#904)
Variable BALAToken._transferFromExcluded(address,address,uint256).rTransferAmount (#914) is too similar to BALAToken._getTValues(uint256).tTransferAmount (#1063)
Variable BALAToken._transferFromExcluded(address,address,uint256).rTransferAmount (#914) is too similar to BALAToken._transferBothExcluded(address,address,uint256).tTransferAmount (#1003)
Variable BALAToken._transferBothExcluded(address,address,uint256).rTransferAmount (#1003) is too similar to BALAToken._transferStandard(address,address,uint256).tTransferAmount (#895)
Variable BALAToken.reflectionFromToken(uint256,bool).rTransferAmount (#970) is too similar to BALAToken._getValues(uint256).tTransferAmount (#1055)
Variable BALAToken._transferBothExcluded(address,address,uint256).rTransferAmount (#1003) is too similar to BALAToken._getValues(uint256).tTransferAmount (#1055)
Variable BALAToken._transferFromExcluded(address,address,uint256).rTransferAmount (#914) is too similar to BALAToken._transferStandard(address,address,uint256).tTransferAmount (#895)
Variable BALAToken.reflectionFromToken(uint256,bool).rTransferAmount (#970) is too similar to BALAToken._transferToExcluded(address,address,uint256).tTransferAmount (#904)
Variable BALAToken._transferBothExcluded(address,address,uint256).rTransferAmount (#1003) is too similar to BALAToken._transferToExcluded(address,address,uint256).tTransferAmount (#904)
Variable BALAToken._transferFromExcluded(address,address,uint256).rTransferAmount (#914) is too similar to BALAToken._getValues(uint256).tTransferAmount (#1055)
Variable BALAToken._transferFromExcluded(address,address,uint256).rTransferAmount (#914) is too similar to BALAToken._transferToExcluded(address,address,uint256).tTransferAmount (#904)
Variable BALAToken._getRValues(uint256,uint256,uint256,uint256).rTransferAmount (#1071) is too similar to BALAToken._getValues(uint256).tTransferAmount (#1055)
Variable BALAToken._transferFromExcluded(address,address,uint256).rTransferAmount (#914) is too similar to BALAToken._transferFromExcluded(address,address,uint256).tTransferAmount (#914)
Variable BALAToken._getValues(uint256).rTransferAmount (#1056) is too similar to BALAToken._transferStandard(address,address,uint256).tTransferAmount (#895)
Variable BALAToken._getValues(uint256).rTransferAmount (#1056) is too similar to BALAToken._getValues(uint256).tTransferAmount (#1055)
Variable BALAToken._getRValues(uint256,uint256,uint256,uint256).rTransferAmount (#1071) is too similar to BALAToken._transferToExcluded(address,address,uint256).tTransferAmount (#904)
Variable BALAToken._getValues(uint256).rTransferAmount (#1056) is too similar to BALAToken._transferToExcluded(address,address,uint256).tTransferAmount (#904)
Variable BALAToken._transferStandard(address,address,uint256).rTransferAmount (#895) is too similar to BALAToken._getValues(uint256).tTransferAmount (#1055)
Variable BALAToken._transferStandard(address,address,uint256).rTransferAmount (#895) is too similar to BALAToken._transferToExcluded(address,address,uint256).tTransferAmount (#904)
Prevent variables from having similar names.
Additional information: link
BALAToken.slitherConstructorVariables() (#728-1224) uses literals with too many digits:
- blackhole = 0x0000000000000000000000000000000000000000 (#759)
Use: Ether suffix, Time suffix, or The scientific notation
Additional information: link
BALAToken._decimals (#752) should be constant
BALAToken._name (#750) should be constant
BALAToken._symbol (#751) should be constant
BALAToken._tTotal (#746) should be constant
BALAToken.blackhole (#759) should be constant
Add the constant attributes to state variables that never change.
Additional information: link
renounceOwnership() should be declared external:
- Ownable.renounceOwnership() (#435-438)
transferOwnership(address) should be declared external:
- Ownable.transferOwnership(address) (#444-448)
geUnlockTime() should be declared external:
- Ownable.geUnlockTime() (#450-452)
lock(uint256) should be declared external:
- Ownable.lock(uint256) (#455-460)
unlock() should be declared external:
- Ownable.unlock() (#463-468)
operator() should be declared external:
- Operator.operator() (#697-699)
isOperator() should be declared external:
- Operator.isOperator() (#709-711)
transferOperator(address) should be declared external:
- Operator.transferOperator(address) (#713-715)
name() should be declared external:
- BALAToken.name() (#808-810)
symbol() should be declared external:
- BALAToken.symbol() (#812-814)
decimals() should be declared external:
- BALAToken.decimals() (#816-818)
totalSupply() should be declared external:
- BALAToken.totalSupply() (#820-822)
transfer(address,uint256) should be declared external:
- BALAToken.transfer(address,uint256) (#829-832)
batchTransfer(address[],uint256[]) should be declared external:
- BALAToken.batchTransfer(address[],uint256[]) (#835-843)
withdrawOtherToken(address,address) should be declared external:
- BALAToken.withdrawOtherToken(address,address) (#844-851)
allowance(address,address) should be declared external:
- BALAToken.allowance(address,address) (#852-854)
approve(address,uint256) should be declared external:
- BALAToken.approve(address,uint256) (#924-927)
transferFrom(address,address,uint256) should be declared external:
- BALAToken.transferFrom(address,address,uint256) (#929-933)
increaseAllowance(address,uint256) should be declared external:
- BALAToken.increaseAllowance(address,uint256) (#935-938)
decreaseAllowance(address,uint256) should be declared external:
- BALAToken.decreaseAllowance(address,uint256) (#940-943)
isExcludedFromReward(address) should be declared external:
- BALAToken.isExcludedFromReward(address) (#945-947)
totalFees() should be declared external:
- BALAToken.totalFees() (#949-951)
deliver(uint256) should be declared external:
- BALAToken.deliver(uint256) (#953-960)
reflectionFromToken(uint256,bool) should be declared external:
- BALAToken.reflectionFromToken(uint256,bool) (#964-973)
excludeFromReward(address) should be declared external:
- BALAToken.excludeFromReward(address) (#981-988)
excludeFromFee(address) should be declared external:
- BALAToken.excludeFromFee(address) (#1013-1015)
includeInFee(address) should be declared external:
- BALAToken.includeInFee(address) (#1017-1019)
setSwapAndLiquifyEnabled(bool) should be declared external:
- BALAToken.setSwapAndLiquifyEnabled(bool) (#1041-1044)
isExcludedFromFee(address) should be declared external:
- BALAToken.isExcludedFromFee(address) (#1127-1129)
Use the external attribute for functions never called from the contract.
Additional information: link
BALAToken.swapAndLiquify(uint256) (#1182-1203) has external calls inside a loop: initialBalance = USDT.balanceOf(address(this)) (#1191)
BALAToken.swapTokensForUsdt(uint256) (#1205-1221) has external calls inside a loop: uniswapV2Router.swapExactTokensForTokensSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#1214-1220)
BALAToken.swapAndLiquify(uint256) (#1182-1203) has external calls inside a loop: USDTBalance = USDT.balanceOf(address(this)).sub(initialBalance) (#1197)
BALAToken.addLiquidity(uint256,uint256) (#856-871) has external calls inside a loop: USDT.approve(address(uniswapV2Router),usdtAmount) (#859)
BALAToken.addLiquidity(uint256,uint256) (#856-871) has external calls inside a loop: uniswapV2Router.addLiquidity(address(this),address(USDT),tokenAmount,usdtAmount,0,0,blackhole,block.timestamp) (#861-870)
Favor pull over push strategy for external calls.
Additional information: link
BALAToken.lockTheSwap() (#777-781) has costly operations inside a loop:
- inSwapAndLiquify = true (#778)
BALAToken.lockTheSwap() (#777-781) has costly operations inside a loop:
- inSwapAndLiquify = false (#780)
BALAToken.removeAllFee() (#1112-1120) has costly operations inside a loop:
- _previousTaxFee = _taxFee (#1115)
BALAToken.removeAllFee() (#1112-1120) has costly operations inside a loop:
- _previousLiquidityFee = _liquidityFee (#1116)
BALAToken.removeAllFee() (#1112-1120) has costly operations inside a loop:
- _taxFee = 0 (#1118)
BALAToken.removeAllFee() (#1112-1120) has costly operations inside a loop:
- _liquidityFee = 0 (#1119)
BALAToken._reflectFee(uint256,uint256) (#1049-1052) has costly operations inside a loop:
- _rTotal = _rTotal.sub(rFee) (#1050)
BALAToken._reflectFee(uint256,uint256) (#1049-1052) has costly operations inside a loop:
- _tFeeTotal = _tFeeTotal.add(tFee) (#1051)
BALAToken.restoreAllFee() (#1122-1125) has costly operations inside a loop:
- _taxFee = _previousTaxFee (#1123)
BALAToken.restoreAllFee() (#1122-1125) has costly operations inside a loop:
- _liquidityFee = _previousLiquidityFee (#1124)
BALAToken.includeInReward(address) (#990-1001) has costly operations inside a loop:
- _excluded.pop() (#997)
Use a local variable to hold the loop computation result.
Additional information: link
Address.isContract(address) (#268-277) uses assembly
- INLINE ASM (#275)
Address._functionCallWithValue(address,bytes,uint256,string) (#361-382) uses assembly
- INLINE ASM (#374-377)
Do not use evm assembly.
Additional information: link
Unable to crawl data from the website
Unable to find Telegram link on the website
Unable to find Twitter link on the website
Token is not listed at Mobula.Finance
Additional information: link
Unable to find token on CoinHunt
Additional information: link
Unable to find code repository for the project
Token has a considerable age, but we're still unable to find its website
Token has relatively low CoinGecko rank
Unable to find Discord account