The goal to our project is to reward all our HODLers with a stable reward. Something other than our own token, as it will cause uncertainties and doubts, both for when the prices are up high (as the rewards being paid out in our own tokens will cause the price to drop) and for when the prices are low (as it will cause fear in the community).
Unable to find manual contract audit (e.g. Certik, PeckShield, Solidity...)
TigerToken.swapBack() (#612-652) sends eth to arbitrary user
Dangerous calls:
- address(externalAddress).call{gas: 30000,value: amountBNBExternal}() (#639)
Ensure that an arbitrary user cannot withdraw unauthorized funds.
Additional information: link
Reentrancy in TigerToken._transferFrom(address,address,uint256) (#526-575):
External calls:
- swapBack() (#561)
- router.swapExactTokensForETHSupportingFeeOnTransferTokens(amountToSwap,0,path,address(this),block.timestamp) (#622-628)
- distributor.deposit{value: amountBNBReflection.add(balanceBefore)}() (#638)
- address(externalAddress).call{gas: 30000,value: amountBNBExternal}() (#639)
- router.addLiquidityETH{value: amountBNBLiquidity}(address(this),amountToLiquify,0,0,autoLiquidityReceiver,block.timestamp) (#642-649)
External calls sending eth:
- swapBack() (#561)
- distributor.deposit{value: amountBNBReflection.add(balanceBefore)}() (#638)
- address(externalAddress).call{gas: 30000,value: amountBNBExternal}() (#639)
- router.addLiquidityETH{value: amountBNBLiquidity}(address(this),amountToLiquify,0,0,autoLiquidityReceiver,block.timestamp) (#642-649)
State variables written after the call(s):
- _balances[sender] = _balances[sender].sub(amount,Insufficient Balance) (#563)
- _balances[recipient] = _balances[recipient].add(amountReceived) (#566)
- amountReceived = takeFee(sender,amount) (#565)
- _balances[address(this)] = _balances[address(this)].add(feeAmount) (#603)
Apply the check-effects-interactions pattern.
Additional information: link
BTC_DISTRIBUTOR.distributeDividend(address) (#346-357) ignores return value by BTC.transfer(shareholder,amount) (#352)
TigerToken.recoverTokens(address,uint256) (#837-844) ignores return value by token.transfer(msg.sender,amountToRecover) (#843)
TigerToken.recoverETH() (#850-857) ignores return value by btcptoken.transfer(msg.sender,btcptoken.balanceOf(address(this))) (#855)
Use SafeERC20, or ensure that the transfer/transferFrom return value is checked.
Additional information: link
Combination 1: Reentrancy vulnerabilities + Functions that send Ether to arbitraty destination. Usual for scams. May be justified by some complex mechanics (e.g. rebase, reflections). DYOR & manual audit are advised.
Combination 2: Unchecked transfer + Functions that send Ether to arbitraty destination. Usual for scams. May be justified by some complex mechanics (e.g. rebase, reflections). DYOR & manual audit are advised.
Combination 3: Reentrancy vulnerabilities + Unchecked transfer vulnerability. Usual for scams. May be justified by some complex mechanics (e.g. rebase, reflections). DYOR & manual audit are advised.
BTC_DISTRIBUTOR.setDistributionCriteria(uint256,uint256) (#274-277) should emit an event for:
- minPeriod = _minPeriod (#275)
- minDistribution = _minDistribution (#276)
TigerToken.setTransactionCooldownTime(uint256) (#658-660) should emit an event for:
- _transactionLockTime = transactiontime (#659)
TigerToken.setMaxTxLimit(uint256) (#665-667) should emit an event for:
- _maxTxAmount = amount.mul(10 ** _decimals) (#666)
TigerToken.setSwapBackSettings(bool,uint256) (#672-675) should emit an event for:
- minTokensBeforeSwapThreshold = _amount.mul(10 ** _decimals) (#674)
TigerToken.setLiquidityFees(uint256) (#707-710) should emit an event for:
- liquidityFee = _liquidityFee (#708)
- totalBNBFee = liquidityFee.add(reflectionFee).add(externalFee) (#709)
TigerToken.setRewardFees(uint256) (#734-737) should emit an event for:
- reflectionFee = _rewardFee (#735)
- totalBNBFee = liquidityFee.add(reflectionFee).add(externalFee) (#736)
TigerToken.setExternalFees(uint256) (#742-745) should emit an event for:
- externalFee = _externalFee (#743)
- totalBNBFee = liquidityFee.add(reflectionFee).add(externalFee) (#744)
TigerToken.setBTCDistributorSettings(uint256) (#774-777) should emit an event for:
- distributorGas = gas (#776)
Emit an event for critical parameter changes.
Additional information: link
TigerToken.setLiquidityAddress(address).wallet (#750) lacks a zero-check on :
- autoLiquidityReceiver = wallet (#751)
TigerToken.setExternalAddress(address).wallet (#757) lacks a zero-check on :
- externalAddress = wallet (#758)
TigerToken.recoverETH().recipient (#851) lacks a zero-check on :
- recipient.transfer(address(this).balance) (#854)
Check that the address is not zero.
Additional information: link
BTC_DISTRIBUTOR.distributeDividend(address) (#346-357) has external calls inside a loop: BTC.transfer(shareholder,amount) (#352)
TigerToken.setIsDividendExempt(address,bool) (#680-688) has external calls inside a loop: distributor.setShare(holder,0) (#684)
TigerToken.setIsDividendExempt(address,bool) (#680-688) has external calls inside a loop: distributor.setShare(holder,_balances[holder]) (#686)
Favor pull over push strategy for external calls.
Additional information: link
Reentrancy in TigerToken.constructor() (#460-493):
External calls:
- pair = IPancakeFactory(router.factory()).createPair(WBNB,address(this)) (#462)
State variables written after the call(s):
- _allowances[address(this)][address(router)] = ~ uint256(0) (#463)
- _balances[msg.sender] = _totalSupply (#491)
- autoLiquidityReceiver = msg.sender (#488)
- distributor = new BTC_DISTRIBUTOR(address(router)) (#465)
- externalAddress = msg.sender (#489)
- isBTCDividendExempt[pair] = true (#469)
- isBTCDividendExempt[address(this)] = true (#470)
- isBTCDividendExempt[burnAddress] = true (#471)
- isBTCDividendExempt[zeroAddress] = true (#472)
- isExcludedFromAntiWhale[pair] = true (#480)
- isExcludedFromAntiWhale[msg.sender] = true (#481)
- isExcludedFromAntiWhale[burnAddress] = true (#482)
- isExcludedFromAntiWhale[zeroAddress] = true (#483)
- isExcludedFromAntiWhale[address(this)] = true (#484)
- isExcludedFromAntiWhale[externalAddress] = true (#485)
- isExcludedFromAntiWhale[address(router)] = true (#486)
- isExcludedFromTransactionlock[pair] = true (#474)
- isExcludedFromTransactionlock[msg.sender] = true (#475)
- isExcludedFromTransactionlock[address(this)] = true (#476)
- isExcludedFromTransactionlock[externalAddress] = true (#477)
- isExcludedFromTransactionlock[address(router)] = true (#478)
- isFeeExempt[msg.sender] = true (#467)
- isTxLimitExempt[msg.sender] = true (#468)
Reentrancy in BTC_DISTRIBUTOR.deposit() (#295-313):
External calls:
- router.swapExactETHForTokensSupportingFeeOnTransferTokens{value: msg.value}(0,path,address(this),block.timestamp) (#302-307)
State variables written after the call(s):
- dividendsPerShare = dividendsPerShare.add(dividendsPerShareAccuracyFactor.mul(amount).div(totalShares)) (#312)
- totalDividends = totalDividends.add(amount) (#311)
Reentrancy in BTC_DISTRIBUTOR.distributeDividend(address) (#346-357):
External calls:
- BTC.transfer(shareholder,amount) (#352)
State variables written after the call(s):
- shareholderClaims[shareholder] = block.timestamp (#353)
Reentrancy in BTC_DISTRIBUTOR.setShare(address,uint256) (#279-293):
External calls:
- distributeDividend(shareholder) (#281)
- BTC.transfer(shareholder,amount) (#352)
State variables written after the call(s):
- addShareholder(shareholder) (#285)
- shareholderIndexes[shareholder] = shareholders.length (#379)
- removeShareholder(shareholder) (#287)
- shareholderIndexes[shareholders[shareholders.length - 1]] = shareholderIndexes[shareholder] (#385)
- addShareholder(shareholder) (#285)
- shareholders.push(shareholder) (#380)
- removeShareholder(shareholder) (#287)
- shareholders[shareholderIndexes[shareholder]] = shareholders[shareholders.length - 1] (#384)
- shareholders.pop() (#386)
- totalShares = totalShares.sub(shares[shareholder].amount).add(amount) (#290)
Apply the check-effects-interactions pattern.
Additional information: link
Reentrancy in TigerToken._transferFrom(address,address,uint256) (#526-575):
External calls:
- swapBack() (#561)
- router.swapExactTokensForETHSupportingFeeOnTransferTokens(amountToSwap,0,path,address(this),block.timestamp) (#622-628)
- distributor.deposit{value: amountBNBReflection.add(balanceBefore)}() (#638)
- address(externalAddress).call{gas: 30000,value: amountBNBExternal}() (#639)
- router.addLiquidityETH{value: amountBNBLiquidity}(address(this),amountToLiquify,0,0,autoLiquidityReceiver,block.timestamp) (#642-649)
- distributor.setShare(sender,_balances[sender]) (#568)
- distributor.setShare(recipient,_balances[recipient]) (#569)
- distributor.process(distributorGas) (#571)
External calls sending eth:
- swapBack() (#561)
- distributor.deposit{value: amountBNBReflection.add(balanceBefore)}() (#638)
- address(externalAddress).call{gas: 30000,value: amountBNBExternal}() (#639)
- router.addLiquidityETH{value: amountBNBLiquidity}(address(this),amountToLiquify,0,0,autoLiquidityReceiver,block.timestamp) (#642-649)
Event emitted after the call(s):
- Transfer(sender,recipient,amountReceived) (#573)
Reentrancy in TigerToken._transferFrom(address,address,uint256) (#526-575):
External calls:
- swapBack() (#561)
- router.swapExactTokensForETHSupportingFeeOnTransferTokens(amountToSwap,0,path,address(this),block.timestamp) (#622-628)
- distributor.deposit{value: amountBNBReflection.add(balanceBefore)}() (#638)
- address(externalAddress).call{gas: 30000,value: amountBNBExternal}() (#639)
- router.addLiquidityETH{value: amountBNBLiquidity}(address(this),amountToLiquify,0,0,autoLiquidityReceiver,block.timestamp) (#642-649)
External calls sending eth:
- swapBack() (#561)
- distributor.deposit{value: amountBNBReflection.add(balanceBefore)}() (#638)
- address(externalAddress).call{gas: 30000,value: amountBNBExternal}() (#639)
- router.addLiquidityETH{value: amountBNBLiquidity}(address(this),amountToLiquify,0,0,autoLiquidityReceiver,block.timestamp) (#642-649)
Event emitted after the call(s):
- Transfer(sender,address(this),feeAmount) (#604)
- amountReceived = takeFee(sender,amount) (#565)
Reentrancy in TigerToken.constructor() (#460-493):
External calls:
- pair = IPancakeFactory(router.factory()).createPair(WBNB,address(this)) (#462)
Event emitted after the call(s):
- Transfer(address(0),msg.sender,_totalSupply) (#492)
Reentrancy in TigerToken.swapBack() (#612-652):
External calls:
- router.swapExactTokensForETHSupportingFeeOnTransferTokens(amountToSwap,0,path,address(this),block.timestamp) (#622-628)
- distributor.deposit{value: amountBNBReflection.add(balanceBefore)}() (#638)
- address(externalAddress).call{gas: 30000,value: amountBNBExternal}() (#639)
- router.addLiquidityETH{value: amountBNBLiquidity}(address(this),amountToLiquify,0,0,autoLiquidityReceiver,block.timestamp) (#642-649)
External calls sending eth:
- distributor.deposit{value: amountBNBReflection.add(balanceBefore)}() (#638)
- address(externalAddress).call{gas: 30000,value: amountBNBExternal}() (#639)
- router.addLiquidityETH{value: amountBNBLiquidity}(address(this),amountToLiquify,0,0,autoLiquidityReceiver,block.timestamp) (#642-649)
Event emitted after the call(s):
- AutoLiquify(amountBNBLiquidity,amountToLiquify) (#650)
Apply the check-effects-interactions pattern.
Additional information: link
BTC_DISTRIBUTOR.shouldDistribute(address) (#341-344) uses timestamp for comparisons
Dangerous comparisons:
- shareholderClaims[shareholder] + minPeriod < block.timestamp && getUnpaidEarnings(shareholder) > minDistribution (#342-343)
TigerToken._transferFrom(address,address,uint256) (#526-575) uses timestamp for comparisons
Dangerous comparisons:
- require(bool,string)(isExcludedFromTransactionlock[sender] || block.timestamp >= _transactionCheckpoint[sender] + _transactionLockTime,Wait for transaction cool down time to end before making a transaction) (#535-536)
- require(bool,string)(isExcludedFromTransactionlock[recipient] || block.timestamp >= _transactionCheckpoint[recipient] + _transactionLockTime,Wait for transaction cool down time to end before making a transaction) (#537-538)
Avoid relying on block.timestamp.
Additional information: link
TigerToken._transferFrom(address,address,uint256) (#526-575) compares to a boolean constant:
-require(bool,string)(isBlacklisted[recipient] == false,The recipient is banned) (#531)
TigerToken._transferFrom(address,address,uint256) (#526-575) compares to a boolean constant:
-require(bool,string)(isBlacklisted[sender] == false,You are banned) (#530)
TigerToken.blacklistSingleWallet(address) (#796-800) compares to a boolean constant:
-isBlacklisted[account] == true (#797)
TigerToken.unBlacklistSingleWallet(address) (#816-820) compares to a boolean constant:
-isBlacklisted[account] == false (#817)
Remove the equality to the boolean constant.
Additional information: link
BTC_DISTRIBUTOR.process(uint256) (#315-339) has costly operations inside a loop:
- currentIndex = 0 (#327)
BTC_DISTRIBUTOR.distributeDividend(address) (#346-357) has costly operations inside a loop:
- totalDistributed = totalDistributed.add(amount) (#351)
BTC_DISTRIBUTOR.process(uint256) (#315-339) has costly operations inside a loop:
- currentIndex ++ (#336)
Use a local variable to hold the loop computation result.
Additional information: link
Context._msgData() (#103-106) is never used and should be removed
Roles.add(Roles.Role,address) (#57-60) is never used and should be removed
Roles.has(Roles.Role,address) (#74-77) is never used and should be removed
Roles.remove(Roles.Role,address) (#65-68) is never used and should be removed
TigerToken.restoreAllFee() (#724-729) is never used and should be removed
Remove unused functions.
Additional information: link
TigerToken._previousreflectionFee (#423) is set pre-construction with a non-constant function or state variable:
- reflectionFee
TigerToken._previousliquidityFee (#426) is set pre-construction with a non-constant function or state variable:
- liquidityFee
TigerToken.totalBNBFee (#428) is set pre-construction with a non-constant function or state variable:
- reflectionFee.add(externalFee).add(liquidityFee)
TigerToken._previoustotalBNBFee (#429) is set pre-construction with a non-constant function or state variable:
- totalBNBFee
TigerToken._buytotalBNBFee (#437) is set pre-construction with a non-constant function or state variable:
- _buyreflectionFee.add(externalFee).add(_buyLiquidityFee)
TigerToken._selltotalBNBFee (#438) is set pre-construction with a non-constant function or state variable:
- _sellreflectionFee.add(externalFee).add(_sellLiquidityFee)
TigerToken.minTokensBeforeSwapThreshold (#452) is set pre-construction with a non-constant function or state variable:
- _totalSupply / 20000
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 TigerToken.swapBack() (#612-652):
- address(externalAddress).call{gas: 30000,value: amountBNBExternal}() (#639)
Avoid low-level calls. Check the call success. If the call is meant for a contract, check for code existence
Additional information: link
Function IPANCAKERouter.WETH() (#171) is not in mixedCase
Contract BTC_DISTRIBUTOR (#224-388) is not in CapWords
Parameter BTC_DISTRIBUTOR.setDistributionCriteria(uint256,uint256)._minPeriod (#274) is not in mixedCase
Parameter BTC_DISTRIBUTOR.setDistributionCriteria(uint256,uint256)._minDistribution (#274) is not in mixedCase
Variable BTC_DISTRIBUTOR._token (#227) is not in mixedCase
Variable BTC_DISTRIBUTOR.BTC (#235) is not in mixedCase
Variable BTC_DISTRIBUTOR.WBNB (#236) is not in mixedCase
Parameter TigerToken.setSwapBackSettings(bool,uint256)._enabled (#672) is not in mixedCase
Parameter TigerToken.setSwapBackSettings(bool,uint256)._amount (#672) is not in mixedCase
Parameter TigerToken.setLiquidityFees(uint256)._liquidityFee (#707) is not in mixedCase
Parameter TigerToken.setRewardFees(uint256)._rewardFee (#734) is not in mixedCase
Parameter TigerToken.setExternalFees(uint256)._externalFee (#742) is not in mixedCase
Parameter TigerToken.setBTCDistributionCriteria(uint256,uint256)._minPeriod (#766) is not in mixedCase
Parameter TigerToken.setBTCDistributionCriteria(uint256,uint256)._minDistribution (#766) is not in mixedCase
Variable TigerToken.BTC (#393) is not in mixedCase
Variable TigerToken.WBNB (#394) is not in mixedCase
Constant TigerToken._name (#400) is not in UPPER_CASE_WITH_UNDERSCORES
Constant TigerToken._symbol (#401) is not in UPPER_CASE_WITH_UNDERSCORES
Constant TigerToken._decimals (#402) is not in UPPER_CASE_WITH_UNDERSCORES
Variable TigerToken._totalSupply (#404) is not in mixedCase
Variable TigerToken._balances (#406) is not in mixedCase
Variable TigerToken._allowances (#407) is not in mixedCase
Variable TigerToken._buyLiquidityFee (#431) is not in mixedCase
Variable TigerToken._buyreflectionFee (#432) is not in mixedCase
Variable TigerToken._sellLiquidityFee (#434) is not in mixedCase
Variable TigerToken._sellreflectionFee (#435) is not in mixedCase
Variable TigerToken._maxTxAmount (#451) is not in mixedCase
Follow the Solidity naming convention.
Additional information: link
Redundant expression "this (#104)" inContext (#98-107)
Remove redundant statements if they congest code but offer no value.
Additional information: link
Variable IPANCAKERouter.addLiquidity(address,address,uint256,uint256,uint256,uint256,address,uint256).amountADesired (#176) is too similar to IPANCAKERouter.addLiquidity(address,address,uint256,uint256,uint256,uint256,address,uint256).amountBDesired (#177)
Prevent variables from having similar names.
Additional information: link
TigerToken.slitherConstructorVariables() (#390-861) uses literals with too many digits:
- zeroAddress = 0x0000000000000000000000000000000000000000 (#395)
TigerToken.slitherConstructorVariables() (#390-861) uses literals with too many digits:
- burnAddress = 0x000000000000000000000000000000000000dEaD (#396)
TigerToken.slitherConstructorVariables() (#390-861) uses literals with too many digits:
- autoLiquidityReceiver = 0x0000000000000000000000000000000000000000 (#398)
TigerToken.slitherConstructorVariables() (#390-861) uses literals with too many digits:
- _totalSupply = 1000000000 * 10 ** 6 * (10 ** _decimals) (#404)
TigerToken.slitherConstructorVariables() (#390-861) uses literals with too many digits:
- distributorGas = 1000000 (#448)
TigerToken.slitherConstructorVariables() (#390-861) uses literals with too many digits:
- _maxTxAmount = 5000000 * 10 ** 6 * 10 ** _decimals (#451)
Use: Ether suffix, Time suffix, or The scientific notation
Additional information: link
BTC_DISTRIBUTOR.WBNB (#236) should be constant
BTC_DISTRIBUTOR.dividendsPerShareAccuracyFactor (#249) should be constant
TigerToken.BTC (#393) should be constant
TigerToken.WBNB (#394) should be constant
TigerToken._buyLiquidityFee (#431) should be constant
TigerToken._buyreflectionFee (#432) should be constant
TigerToken._sellLiquidityFee (#434) should be constant
TigerToken._sellreflectionFee (#435) should be constant
TigerToken._totalSupply (#404) should be constant
TigerToken.burnAddress (#396) should be constant
TigerToken.feeDenominator (#440) should be constant
TigerToken.zeroAddress (#395) should be constant
Add the constant attributes to state variables that never change.
Additional information: link
owner() should be declared external:
- Ownable.owner() (#130-132)
renounceOwnership() should be declared external:
- Ownable.renounceOwnership() (#149-152)
transferOwnership(address) should be declared external:
- Ownable.transferOwnership(address) (#158-162)
balanceOf(address) should be declared external:
- TigerToken.balanceOf(address) (#501)
setTransactionCooldownTime(uint256) should be declared external:
- TigerToken.setTransactionCooldownTime(uint256) (#658-660)
setIsExcludedFromAntiWhale(address,bool) should be declared external:
- TigerToken.setIsExcludedFromAntiWhale(address,bool) (#782-784)
setIsExcludedFromTransactionCooldown(address,bool) should be declared external:
- TigerToken.setIsExcludedFromTransactionCooldown(address,bool) (#789-791)
Use the external attribute for functions never called from the contract.
Additional information: link
TigerToken.swapBack() (#612-652) performs a multiplication on the result of a division:
-amountToLiquify = minTokensBeforeSwapThreshold.mul(liquidityFee / 2).div(totalBNBFee) (#613)
TigerToken.swapBack() (#612-652) performs a multiplication on the result of a division:
-amountBNBLiquidity = receivedBNB.mul(liquidityFee / 2).div(swapPercent) (#634)
Consider ordering multiplication before division.
Additional information: link
Reentrancy in BTC_DISTRIBUTOR.distributeDividend(address) (#346-357):
External calls:
- BTC.transfer(shareholder,amount) (#352)
State variables written after the call(s):
- shares[shareholder].totalRealised = shares[shareholder].totalRealised.add(amount) (#354)
- shares[shareholder].totalExcluded = getCumulativeDividends(shares[shareholder].amount) (#355)
Reentrancy in BTC_DISTRIBUTOR.process(uint256) (#315-339):
External calls:
- distributeDividend(shareholders[currentIndex]) (#331)
- BTC.transfer(shareholder,amount) (#352)
State variables written after the call(s):
- currentIndex ++ (#336)
Reentrancy in BTC_DISTRIBUTOR.setShare(address,uint256) (#279-293):
External calls:
- distributeDividend(shareholder) (#281)
- BTC.transfer(shareholder,amount) (#352)
State variables written after the call(s):
- shares[shareholder].amount = amount (#291)
- shares[shareholder].totalExcluded = getCumulativeDividends(shares[shareholder].amount) (#292)
Apply the check-effects-interactions pattern.
Additional information: link
TigerToken.swapBack() (#612-652) ignores return value by address(externalAddress).call{gas: 30000,value: amountBNBExternal}() (#639)
Ensure that the return value of a low-level call is checked or logged.
Additional information: link
TigerToken.blacklistMultipleWallets(address[]).i (#807) is a local variable never initialized
TigerToken.unBlacklistMultipleWallets(address[]).i (#827) 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
TigerToken.swapBack() (#612-652) ignores return value by router.addLiquidityETH{value: amountBNBLiquidity}(address(this),amountToLiquify,0,0,autoLiquidityReceiver,block.timestamp) (#642-649)
Ensure that all the return values of the function calls are used.
Additional information: link
Unable to find token/project description on the website or on BscScan, CoinMarketCap
Unable to find token contract audit
Unable to find audit link on the website
Unable to find whitepaper link on the website
Unable to find token on CoinHunt
Additional information: link
Young tokens have high risks of price dump / death
Young tokens have high risks of scam / price dump / death
Young tokens have high risks of scam / price dump / death
Token has no active CoinGecko listing / rank
Young tokens have high risks of price dump / death
Young tokens have high risks of price dump / death
Last post in Twitter was more than 30 days ago
Unable to find Blog account (Reddit or Medium)
Unable to find Youtube account
Unable to find Discord account