Unable to find manual contract audit (e.g. Certik, PeckShield, Solidity...)
TinyTax._claimBNBTo(address,address,uint256) (#560-571) sends eth to arbitrary user
Dangerous calls:
- (sent) = to.call{value: (amountWei)}() (#567)
Ensure that an arbitrary user cannot withdraw unauthorized funds.
Additional information: link
Reentrancy in TinyTax._claimBNBTo(address,address,uint256) (#560-571):
External calls:
- (sent) = to.call{value: (amountWei)}() (#567)
State variables written after the call(s):
- _isWithdrawing = false (#569)
Reentrancy in TinyTax._taxedTransfer(address,address,uint256,bool,bool) (#887-935):
External calls:
- claimToken(recipient,MainReward,0) (#908)
- _pancakeRouter.swapExactETHForTokensSupportingFeeOnTransferTokens{value: amount}(0,path,addr,block.timestamp) (#536-540)
- _swapContractToken(AutoLPThreshold,false) (#925)
- _pancakeRouter.addLiquidityETH{value: bnbamount}(address(this),tokenamount,0,0,address(this),block.timestamp) (#846-853)
- _pancakeRouter.swapExactTokensForETHSupportingFeeOnTransferTokens(amount,0,path,address(this),block.timestamp) (#834-840)
- (sent) = to.call{value: (amountWei)}() (#567)
External calls sending eth:
- claimToken(recipient,MainReward,0) (#908)
- _pancakeRouter.swapExactETHForTokensSupportingFeeOnTransferTokens{value: amount}(0,path,addr,block.timestamp) (#536-540)
- _swapContractToken(AutoLPThreshold,false) (#925)
- _pancakeRouter.addLiquidityETH{value: bnbamount}(address(this),tokenamount,0,0,address(this),block.timestamp) (#846-853)
- (sent) = to.call{value: (amountWei)}() (#567)
State variables written after the call(s):
- _removeToken(sender,amount) (#929)
- _balances[addr] = newAmount (#739)
- _balances[addr] = newAmount (#745)
- _addToken(address(this),contractToken) (#930)
- _balances[addr] = newAmount (#721)
- _balances[addr] = newAmount (#727)
- _balances[addr] = newAmount (#732)
- _addToken(recipient,taxedAmount) (#933)
- _balances[addr] = newAmount (#721)
- _balances[addr] = newAmount (#727)
- _balances[addr] = newAmount (#732)
- _swapContractToken(AutoLPThreshold,false) (#925)
- _isWithdrawing = true (#563)
- _isWithdrawing = false (#569)
- _removeToken(sender,amount) (#929)
- _totalShares -= amount (#742)
- _addToken(address(this),contractToken) (#930)
- _totalShares += amount (#724)
- _addToken(recipient,taxedAmount) (#933)
- _totalShares += amount (#724)
- _removeToken(sender,amount) (#929)
- alreadyPaidMain[addr] = mainRewardShare * newAmount (#746)
- _addToken(address(this),contractToken) (#930)
- alreadyPaidMain[addr] = mainRewardShare * newAmount (#728)
- _addToken(recipient,taxedAmount) (#933)
- alreadyPaidMain[addr] = mainRewardShare * newAmount (#728)
- _swapContractToken(AutoLPThreshold,false) (#925)
- alreadyPaidMisc[addr] = miscRewardShare * _balances[addr] (#582)
- _removeToken(sender,amount) (#929)
- alreadyPaidMisc[addr] = miscRewardShare * newAmount (#748)
- _addToken(address(this),contractToken) (#930)
- alreadyPaidMisc[addr] = miscRewardShare * newAmount (#730)
- _addToken(recipient,taxedAmount) (#933)
- alreadyPaidMisc[addr] = miscRewardShare * newAmount (#730)
- _swapContractToken(AutoLPThreshold,false) (#925)
- mainRewardShare += ((MainAmount * DistributionMultiplier) / totalShares) (#783)
- _swapContractToken(AutoLPThreshold,false) (#925)
- miscRewardShare += ((MiscAmount * DistributionMultiplier) / totalShares) (#784)
- _removeToken(sender,amount) (#929)
- toBePaidMain[addr] += mainPayment (#747)
- _addToken(address(this),contractToken) (#930)
- toBePaidMain[addr] += mainPayment (#729)
- _addToken(recipient,taxedAmount) (#933)
- toBePaidMain[addr] += mainPayment (#729)
- _swapContractToken(AutoLPThreshold,false) (#925)
- toBePaidMisc[addr] -= amount (#578)
- toBePaidMisc[addr] += newAmount (#583)
- toBePaidMisc[addr] -= amount (#584)
- _removeToken(sender,amount) (#929)
- toBePaidMisc[addr] += miscPayment (#749)
- _addToken(address(this),contractToken) (#930)
- toBePaidMisc[addr] += miscPayment (#731)
- _addToken(recipient,taxedAmount) (#933)
- toBePaidMisc[addr] += miscPayment (#731)
- _swapContractToken(AutoLPThreshold,false) (#925)
- totalPayouts += amountWei (#566)
Reentrancy in TinyTax.claimToken(address,address,uint256) (#499-544):
External calls:
- _pancakeRouter.swapExactETHForTokensSupportingFeeOnTransferTokens{value: amount}(0,path,addr,block.timestamp) (#536-540)
State variables written after the call(s):
- _isWithdrawing = false (#543)
Apply the check-effects-interactions pattern.
Additional information: link
TinyTax.ReleaseLP() (#643-648) ignores return value by liquidityToken.transfer(msg.sender,amount) (#647)
Use SafeERC20, or ensure that the transfer/transferFrom return value is checked.
Additional information: link
TinyTax._subtractDividents(address,uint256) (#573-586) uses a dangerous strict equality:
- amount == 0 (#574)
TinyTax.claimToken(address,address,uint256) (#499-544) uses a dangerous strict equality:
- amount == 0 && payableAmount == 0 (#525)
Don't use strict equality to determine if an account has enough Ether or tokens.
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.
TinyTax._distributeStake(uint256,bool) (#764-788) performs a multiplication on the result of a division:
-StakingSplit = (BNBamount * _stakingTax) / totalRatio (#769)
-MainAmount = (StakingSplit * _MainRewardSplit) / 100 (#770)
TinyTax._distributeStake(uint256,bool) (#764-788) performs a multiplication on the result of a division:
-StakingSplit = (BNBamount * _stakingTax) / totalRatio (#769)
-MiscAmount = (StakingSplit * _MiscRewardSplit) / 100 (#771)
TinyTax._distributeStake(uint256,bool) (#764-788) performs a multiplication on the result of a division:
-MainAmount = (StakingSplit * _MainRewardSplit) / 100 (#770)
-mainRewardShare += ((MainAmount * DistributionMultiplier) / totalShares) (#783)
TinyTax._distributeStake(uint256,bool) (#764-788) performs a multiplication on the result of a division:
-MiscAmount = (StakingSplit * _MiscRewardSplit) / 100 (#771)
-miscRewardShare += ((MiscAmount * DistributionMultiplier) / totalShares) (#784)
TinyTax._swapContractToken(uint16,bool) (#799-827) performs a multiplication on the result of a division:
-tokenToSwap = _balances[_pancakePairAddress] * permilleOfPancake / 1000 (#805)
-tokenForLiquidity = (tokenToSwap * _liquidityTax) / totalTax (#814)
Consider ordering multiplication before division.
Additional information: link
TinyTax.constructor() (#421-452) ignores return value by _excluded.add(msg.sender) (#442)
TinyTax.constructor() (#421-452) ignores return value by _excluded.add(MarketingWallet) (#443)
TinyTax.constructor() (#421-452) ignores return value by _excluded.add(Developer) (#444)
TinyTax.constructor() (#421-452) ignores return value by _excluded.add(address(this)) (#445)
TinyTax.constructor() (#421-452) ignores return value by _excluded.add(BurnAddress) (#446)
TinyTax.constructor() (#421-452) ignores return value by _excludedFromStaking.add(address(this)) (#447)
TinyTax.constructor() (#421-452) ignores return value by _excludedFromStaking.add(BurnAddress) (#448)
TinyTax.constructor() (#421-452) ignores return value by _excludedFromStaking.add(address(_pancakeRouter)) (#449)
TinyTax.constructor() (#421-452) ignores return value by _excludedFromStaking.add(_pancakePairAddress) (#450)
TinyTax.RemoveLP() (#651-667) ignores return value by liquidityToken.approve(address(_pancakeRouter),amount) (#656)
TinyTax.RemoveLP() (#651-667) ignores return value by _pancakeRouter.removeLiquidityETHSupportingFeeOnTransferTokens(address(this),amount,0,0,address(this),block.timestamp) (#657-664)
TinyTax._addLiquidity(uint256,uint256) (#843-854) ignores return value by _pancakeRouter.addLiquidityETH{value: bnbamount}(address(this),tokenamount,0,0,address(this),block.timestamp) (#846-853)
TinyTax.ExcludeFromStaking(address) (#1034-1045) ignores return value by _excludedFromStaking.add(addr) (#1043)
TinyTax.IncludeMeToStaking() (#1048-1054) ignores return value by _excludedFromStaking.remove(msg.sender) (#1051)
TinyTax.IncludeToStaking(address) (#1057-1064) ignores return value by _excludedFromStaking.remove(addr) (#1060)
TinyTax.SetMarketingWallet(address) (#1080-1086) ignores return value by _excluded.remove(prevMarketing) (#1082)
TinyTax.SetMarketingWallet(address) (#1080-1086) ignores return value by _excluded.add(MarketingWallet) (#1084)
TinyTax.SetDevWallet(address) (#1090-1096) ignores return value by _excluded.remove(prevDev) (#1092)
TinyTax.SetDevWallet(address) (#1090-1096) ignores return value by _excluded.add(Developer) (#1094)
TinyTax.ExcludeAccountFromFees(address) (#1100-1103) ignores return value by _excluded.add(account) (#1101)
TinyTax.IncludeAccountToFees(address) (#1106-1109) ignores return value by _excluded.remove(account) (#1107)
TinyTax.setPresale(address) (#1111-1114) ignores return value by _excluded.add(presaleAddress) (#1112)
TinyTax.setPresale(address) (#1111-1114) ignores return value by _excludedFromStaking.add(presaleAddress) (#1113)
Ensure that all the return values of the function calls are used.
Additional information: link
TinyTax.allowance(address,address)._owner (#453) shadows:
- Ownable._owner (#178) (state variable)
TinyTax._approve(address,address,uint256).owner (#460) shadows:
- Ownable.owner() (#185-187) (function)
Rename the local variables that shadow another component.
Additional information: link
TinyTax.WithdrawDev(uint256) (#1008-1013) should emit an event for:
- DevBalance -= amount (#1010)
TinyTax.WithdrawMarketing(uint256) (#1024-1029) should emit an event for:
- MarketingBalance -= amount (#1026)
Emit an event for critical parameter changes.
Additional information: link
TinyTax.ChangeMiscReward(address).newReward (#620) lacks a zero-check on :
- MiscReward = newReward (#621)
TinyTax.SetMarketingWallet(address).addr (#1080) lacks a zero-check on :
- MarketingWallet = addr (#1083)
TinyTax.SetDevWallet(address).addr (#1090) lacks a zero-check on :
- Developer = addr (#1093)
Check that the address is not zero.
Additional information: link
Reentrancy in TinyTax.TriggerBuyBack(uint256) (#965-983):
External calls:
- _pancakeRouter.swapExactETHForTokensSupportingFeeOnTransferTokens{value: weiAmount}(0,path,BurnAddress,block.timestamp) (#973-977)
State variables written after the call(s):
- _circulatingSupply -= boughtTokens (#980)
- tokensBurnt += boughtTokens (#981)
Reentrancy in TinyTax._swapContractToken(uint16,bool) (#799-827):
External calls:
- _swapTokenForBNB(swapToken) (#820)
- _pancakeRouter.swapExactTokensForETHSupportingFeeOnTransferTokens(amount,0,path,address(this),block.timestamp) (#834-840)
- _addLiquidity(liqToken,liqBNB) (#823)
- _pancakeRouter.addLiquidityETH{value: bnbamount}(address(this),tokenamount,0,0,address(this),block.timestamp) (#846-853)
External calls sending eth:
- _addLiquidity(liqToken,liqBNB) (#823)
- _pancakeRouter.addLiquidityETH{value: bnbamount}(address(this),tokenamount,0,0,address(this),block.timestamp) (#846-853)
State variables written after the call(s):
- _distributeStake(distributeBNB,true) (#826)
- BuyBackBalance += BuyBackSplit (#774)
- _distributeStake(distributeBNB,true) (#826)
- DevBalance += DevSplit (#773)
- _distributeStake(distributeBNB,true) (#826)
- MarketingBalance += MarketingSplit (#772)
- MarketingBalance += StakingSplit (#781)
- _addLiquidity(liqToken,liqBNB) (#823)
- _allowances[owner][spender] = amount (#464)
- _distributeStake(distributeBNB,true) (#826)
- mainRewardShare += ((MainAmount * DistributionMultiplier) / totalShares) (#783)
- _distributeStake(distributeBNB,true) (#826)
- miscRewardShare += ((MiscAmount * DistributionMultiplier) / totalShares) (#784)
- _distributeStake(distributeBNB,true) (#826)
- totalRewards += StakingSplit (#777)
Reentrancy in TinyTax._taxedTransfer(address,address,uint256,bool,bool) (#887-935):
External calls:
- claimToken(recipient,MainReward,0) (#908)
- _pancakeRouter.swapExactETHForTokensSupportingFeeOnTransferTokens{value: amount}(0,path,addr,block.timestamp) (#536-540)
- _swapContractToken(AutoLPThreshold,false) (#925)
- _pancakeRouter.addLiquidityETH{value: bnbamount}(address(this),tokenamount,0,0,address(this),block.timestamp) (#846-853)
- _pancakeRouter.swapExactTokensForETHSupportingFeeOnTransferTokens(amount,0,path,address(this),block.timestamp) (#834-840)
- (sent) = to.call{value: (amountWei)}() (#567)
External calls sending eth:
- claimToken(recipient,MainReward,0) (#908)
- _pancakeRouter.swapExactETHForTokensSupportingFeeOnTransferTokens{value: amount}(0,path,addr,block.timestamp) (#536-540)
- _swapContractToken(AutoLPThreshold,false) (#925)
- _pancakeRouter.addLiquidityETH{value: bnbamount}(address(this),tokenamount,0,0,address(this),block.timestamp) (#846-853)
- (sent) = to.call{value: (amountWei)}() (#567)
State variables written after the call(s):
- _swapContractToken(AutoLPThreshold,false) (#925)
- _allowances[owner][spender] = amount (#464)
- _circulatingSupply -= tokensToBeBurnt (#931)
- tokensBurnt += tokensToBeBurnt (#932)
Reentrancy in TinyTax.constructor() (#421-452):
External calls:
- _pancakePairAddress = IPancakeFactory(_pancakeRouter.factory()).createPair(address(this),_pancakeRouter.WETH()) (#430)
State variables written after the call(s):
- Developer = msg.sender (#437)
- MarketingWallet = msg.sender (#436)
- MaxWallet = _totalSupply / MaxWalletDivider (#440)
- _allowances[address(this)][address(_pancakeRouter)] = type()(uint256).max (#433)
- _approve(address(this),address(_pancakeRouter),type()(uint256).max) (#451)
- _allowances[owner][spender] = amount (#464)
- _addToken(msg.sender,_totalSupply) (#431)
- _balances[addr] = newAmount (#721)
- _balances[addr] = newAmount (#727)
- _balances[addr] = newAmount (#732)
- _addToken(msg.sender,_totalSupply) (#431)
- _totalShares += amount (#724)
- _addToken(msg.sender,_totalSupply) (#431)
- alreadyPaidMain[addr] = mainRewardShare * newAmount (#728)
- _addToken(msg.sender,_totalSupply) (#431)
- alreadyPaidMisc[addr] = miscRewardShare * newAmount (#730)
- sellLimit = _totalSupply / SellLimitDivider (#439)
- _addToken(msg.sender,_totalSupply) (#431)
- toBePaidMain[addr] += mainPayment (#729)
- _addToken(msg.sender,_totalSupply) (#431)
- toBePaidMisc[addr] += miscPayment (#731)
Reentrancy in TinyTax.transferFrom(address,address,uint256) (#485-493):
External calls:
- _transfer(sender,recipient,amount) (#486)
- _pancakeRouter.addLiquidityETH{value: bnbamount}(address(this),tokenamount,0,0,address(this),block.timestamp) (#846-853)
- _pancakeRouter.swapExactTokensForETHSupportingFeeOnTransferTokens(amount,0,path,address(this),block.timestamp) (#834-840)
- (sent) = to.call{value: (amountWei)}() (#567)
- _pancakeRouter.swapExactETHForTokensSupportingFeeOnTransferTokens{value: amount}(0,path,addr,block.timestamp) (#536-540)
External calls sending eth:
- _transfer(sender,recipient,amount) (#486)
- _pancakeRouter.addLiquidityETH{value: bnbamount}(address(this),tokenamount,0,0,address(this),block.timestamp) (#846-853)
- (sent) = to.call{value: (amountWei)}() (#567)
- _pancakeRouter.swapExactETHForTokensSupportingFeeOnTransferTokens{value: amount}(0,path,addr,block.timestamp) (#536-540)
State variables written after the call(s):
- _approve(sender,msg.sender,currentAllowance - amount) (#491)
- _allowances[owner][spender] = amount (#464)
Apply the check-effects-interactions pattern.
Additional information: link
Reentrancy in TinyTax.TriggerBuyBack(uint256) (#965-983):
External calls:
- _pancakeRouter.swapExactETHForTokensSupportingFeeOnTransferTokens{value: weiAmount}(0,path,BurnAddress,block.timestamp) (#973-977)
Event emitted after the call(s):
- Buyback(weiAmount,boughtTokens) (#982)
Reentrancy in TinyTax._claimBNBTo(address,address,uint256) (#560-571):
External calls:
- (sent) = to.call{value: (amountWei)}() (#567)
Event emitted after the call(s):
- OnClaimBNB(from,to,amountWei) (#570)
Reentrancy in TinyTax._swapContractToken(uint16,bool) (#799-827):
External calls:
- _swapTokenForBNB(swapToken) (#820)
- _pancakeRouter.swapExactTokensForETHSupportingFeeOnTransferTokens(amount,0,path,address(this),block.timestamp) (#834-840)
- _addLiquidity(liqToken,liqBNB) (#823)
- _pancakeRouter.addLiquidityETH{value: bnbamount}(address(this),tokenamount,0,0,address(this),block.timestamp) (#846-853)
External calls sending eth:
- _addLiquidity(liqToken,liqBNB) (#823)
- _pancakeRouter.addLiquidityETH{value: bnbamount}(address(this),tokenamount,0,0,address(this),block.timestamp) (#846-853)
Event emitted after the call(s):
- Approval(owner,spender,amount) (#465)
- _addLiquidity(liqToken,liqBNB) (#823)
Reentrancy in TinyTax._swapContractToken(uint16,bool) (#799-827):
External calls:
- _swapTokenForBNB(swapToken) (#820)
- _pancakeRouter.swapExactTokensForETHSupportingFeeOnTransferTokens(amount,0,path,address(this),block.timestamp) (#834-840)
- _addLiquidity(liqToken,liqBNB) (#823)
- _pancakeRouter.addLiquidityETH{value: bnbamount}(address(this),tokenamount,0,0,address(this),block.timestamp) (#846-853)
- _claimBNBTo(distribute,distribute,newLiq) (#826)
- (sent) = to.call{value: (amountWei)}() (#567)
External calls sending eth:
- _addLiquidity(liqToken,liqBNB) (#823)
- _pancakeRouter.addLiquidityETH{value: bnbamount}(address(this),tokenamount,0,0,address(this),block.timestamp) (#846-853)
- _claimBNBTo(distribute,distribute,newLiq) (#826)
- (sent) = to.call{value: (amountWei)}() (#567)
Event emitted after the call(s):
- OnClaimBNB(from,to,amountWei) (#570)
- _claimBNBTo(distribute,distribute,newLiq) (#826)
Reentrancy in TinyTax._taxedTransfer(address,address,uint256,bool,bool) (#887-935):
External calls:
- claimToken(recipient,MainReward,0) (#908)
- _pancakeRouter.swapExactETHForTokensSupportingFeeOnTransferTokens{value: amount}(0,path,addr,block.timestamp) (#536-540)
- _swapContractToken(AutoLPThreshold,false) (#925)
- _pancakeRouter.addLiquidityETH{value: bnbamount}(address(this),tokenamount,0,0,address(this),block.timestamp) (#846-853)
- _pancakeRouter.swapExactTokensForETHSupportingFeeOnTransferTokens(amount,0,path,address(this),block.timestamp) (#834-840)
- (sent) = to.call{value: (amountWei)}() (#567)
External calls sending eth:
- claimToken(recipient,MainReward,0) (#908)
- _pancakeRouter.swapExactETHForTokensSupportingFeeOnTransferTokens{value: amount}(0,path,addr,block.timestamp) (#536-540)
- _swapContractToken(AutoLPThreshold,false) (#925)
- _pancakeRouter.addLiquidityETH{value: bnbamount}(address(this),tokenamount,0,0,address(this),block.timestamp) (#846-853)
- (sent) = to.call{value: (amountWei)}() (#567)
Event emitted after the call(s):
- Approval(owner,spender,amount) (#465)
- _swapContractToken(AutoLPThreshold,false) (#925)
- OnClaimBNB(from,to,amountWei) (#570)
- _swapContractToken(AutoLPThreshold,false) (#925)
- Transfer(sender,recipient,taxedAmount) (#934)
Reentrancy in TinyTax.claimToken(address,address,uint256) (#499-544):
External calls:
- _pancakeRouter.swapExactETHForTokensSupportingFeeOnTransferTokens{value: amount}(0,path,addr,block.timestamp) (#536-540)
Event emitted after the call(s):
- OnWithdrawToken(amount,token,addr) (#542)
Reentrancy in TinyTax.constructor() (#421-452):
External calls:
- _pancakePairAddress = IPancakeFactory(_pancakeRouter.factory()).createPair(address(this),_pancakeRouter.WETH()) (#430)
Event emitted after the call(s):
- Approval(owner,spender,amount) (#465)
- _approve(address(this),address(_pancakeRouter),type()(uint256).max) (#451)
- Transfer(address(0),msg.sender,_totalSupply) (#432)
Reentrancy in TinyTax.transferFrom(address,address,uint256) (#485-493):
External calls:
- _transfer(sender,recipient,amount) (#486)
- _pancakeRouter.addLiquidityETH{value: bnbamount}(address(this),tokenamount,0,0,address(this),block.timestamp) (#846-853)
- _pancakeRouter.swapExactTokensForETHSupportingFeeOnTransferTokens(amount,0,path,address(this),block.timestamp) (#834-840)
- (sent) = to.call{value: (amountWei)}() (#567)
- _pancakeRouter.swapExactETHForTokensSupportingFeeOnTransferTokens{value: amount}(0,path,addr,block.timestamp) (#536-540)
External calls sending eth:
- _transfer(sender,recipient,amount) (#486)
- _pancakeRouter.addLiquidityETH{value: bnbamount}(address(this),tokenamount,0,0,address(this),block.timestamp) (#846-853)
- (sent) = to.call{value: (amountWei)}() (#567)
- _pancakeRouter.swapExactETHForTokensSupportingFeeOnTransferTokens{value: amount}(0,path,addr,block.timestamp) (#536-540)
Event emitted after the call(s):
- Approval(owner,spender,amount) (#465)
- _approve(sender,msg.sender,currentAllowance - amount) (#491)
Apply the check-effects-interactions pattern.
Additional information: link
TinyTax._lockLiquidityTokens(uint256) (#636-640) uses timestamp for comparisons
Dangerous comparisons:
- require(bool)(newUnlockTime > _liquidityUnlockTime) (#638)
TinyTax.ReleaseLP() (#643-648) uses timestamp for comparisons
Dangerous comparisons:
- require(bool,string)(block.timestamp >= _liquidityUnlockTime,Not yet unlocked) (#644)
TinyTax.RemoveLP() (#651-667) uses timestamp for comparisons
Dangerous comparisons:
- require(bool,string)(block.timestamp >= _liquidityUnlockTime,Not yet unlocked) (#652)
TinyTax.RecoverBNB() (#670-675) uses timestamp for comparisons
Dangerous comparisons:
- require(bool,string)(block.timestamp >= _liquidityUnlockTime,Not yet unlocked) (#671)
TinyTax.getLiquidityUnlockInSeconds() (#1194-1199) uses timestamp for comparisons
Dangerous comparisons:
- block.timestamp < _liquidityUnlockTime (#1195)
Avoid relying on block.timestamp.
Additional information: link
Address.isContract(address) (#203-207) uses assembly
- INLINE ASM (#205)
Address._verifyCallResult(bool,bytes,string) (#244-257) uses assembly
- INLINE ASM (#249-252)
Do not use evm assembly.
Additional information: link
Address._verifyCallResult(bool,bytes,string) (#244-257) is never used and should be removed
Address.functionCall(address,bytes) (#213-215) is never used and should be removed
Address.functionCall(address,bytes,string) (#216-218) is never used and should be removed
Address.functionCallWithValue(address,bytes,uint256) (#219-221) is never used and should be removed
Address.functionCallWithValue(address,bytes,uint256,string) (#222-227) is never used and should be removed
Address.functionDelegateCall(address,bytes) (#236-238) is never used and should be removed
Address.functionDelegateCall(address,bytes,string) (#239-243) is never used and should be removed
Address.functionStaticCall(address,bytes) (#228-230) is never used and should be removed
Address.functionStaticCall(address,bytes,string) (#231-235) is never used and should be removed
Address.isContract(address) (#203-207) is never used and should be removed
Address.sendValue(address,uint256) (#208-212) is never used and should be removed
EnumerableSet._at(EnumerableSet.Set,uint256) (#294-297) is never used and should be removed
EnumerableSet._length(EnumerableSet.Set) (#291-293) is never used and should be removed
EnumerableSet.add(EnumerableSet.Bytes32Set,bytes32) (#301-303) is never used and should be removed
EnumerableSet.add(EnumerableSet.UintSet,uint256) (#337-339) is never used and should be removed
EnumerableSet.at(EnumerableSet.AddressSet,uint256) (#331-333) is never used and should be removed
EnumerableSet.at(EnumerableSet.Bytes32Set,uint256) (#313-315) is never used and should be removed
EnumerableSet.at(EnumerableSet.UintSet,uint256) (#349-351) is never used and should be removed
EnumerableSet.contains(EnumerableSet.Bytes32Set,bytes32) (#307-309) is never used and should be removed
EnumerableSet.contains(EnumerableSet.UintSet,uint256) (#343-345) is never used and should be removed
EnumerableSet.length(EnumerableSet.AddressSet) (#328-330) is never used and should be removed
EnumerableSet.length(EnumerableSet.Bytes32Set) (#310-312) is never used and should be removed
EnumerableSet.length(EnumerableSet.UintSet) (#346-348) is never used and should be removed
EnumerableSet.remove(EnumerableSet.Bytes32Set,bytes32) (#304-306) is never used and should be removed
EnumerableSet.remove(EnumerableSet.UintSet,uint256) (#340-342) is never used and should be removed
Remove unused functions.
Additional information: link
Pragma version^0.8.11 (#3) necessitates a version too recent to be trusted. Consider deploying with 0.6.12/0.7.6/0.8.7
solc-0.8.11 is not recommended for deployment
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
Low level call in Address.sendValue(address,uint256) (#208-212):
- (success) = recipient.call{value: amount}() (#210)
Low level call in Address.functionCallWithValue(address,bytes,uint256,string) (#222-227):
- (success,returndata) = target.call{value: value}(data) (#225)
Low level call in Address.functionStaticCall(address,bytes,string) (#231-235):
- (success,returndata) = target.staticcall(data) (#233)
Low level call in Address.functionDelegateCall(address,bytes,string) (#239-243):
- (success,returndata) = target.delegatecall(data) (#241)
Low level call in TinyTax._claimBNBTo(address,address,uint256) (#560-571):
- (sent) = to.call{value: (amountWei)}() (#567)
Low level call in TinyTax.RemoveLP() (#651-667):
- (sent) = msg.sender.call{value: (address(this).balance)}() (#665)
Low level call in TinyTax.RecoverBNB() (#670-675):
- (sent) = msg.sender.call{value: (address(this).balance)}() (#673)
Low level call in TinyTax.WithdrawAllDev() (#1000-1005):
- (sent) = Developer.call{value: (amount)}() (#1003)
Low level call in TinyTax.WithdrawDev(uint256) (#1008-1013):
- (sent) = Developer.call{value: (amount)}() (#1011)
Low level call in TinyTax.WithdrawAllMarketing() (#1016-1021):
- (sent) = MarketingWallet.call{value: (amount)}() (#1019)
Low level call in TinyTax.WithdrawMarketing(uint256) (#1024-1029):
- (sent) = MarketingWallet.call{value: (amount)}() (#1027)
Avoid low-level calls. Check the call success. If the call is meant for a contract, check for code existence
Additional information: link
Function IPancakeERC20.DOMAIN_SEPARATOR() (#31) is not in mixedCase
Function IPancakeERC20.PERMIT_TYPEHASH() (#32) is not in mixedCase
Function IPancakeRouter01.WETH() (#131) is not in mixedCase
Event TinyTaxonUpdateLPThreshold(uint16) (#696) is not in CapWords
Event TinyTaxonBurnTokens(uint256) (#986) is not in CapWords
Parameter TinyTax.allowance(address,address)._owner (#453) is not in mixedCase
Function TinyTax.ClaimMainReward() (#547-549) is not in mixedCase
Function TinyTax.ClaimMiscReward() (#552-556) is not in mixedCase
Function TinyTax.ChangeMainReward(address) (#612-616) is not in mixedCase
Function TinyTax.ChangeMiscReward(address) (#620-623) is not in mixedCase
Function TinyTax.LockLiquidityTokens(uint256) (#632-635) is not in mixedCase
Function TinyTax.ReleaseLP() (#643-648) is not in mixedCase
Function TinyTax.RemoveLP() (#651-667) is not in mixedCase
Function TinyTax.RecoverBNB() (#670-675) is not in mixedCase
Function TinyTax.UpdateAutoLPThreshold(uint16) (#697-702) is not in mixedCase
Parameter TinyTax.UpdateAutoLPThreshold(uint16).Threshold (#697) is not in mixedCase
Function TinyTax.CreateLPandBNB(uint16,bool) (#705-707) is not in mixedCase
Parameter TinyTax.CreateLPandBNB(uint16,bool).PermilleOfPancake (#705) is not in mixedCase
Function TinyTax.ManualBNBSwap(bool) (#858-860) is not in mixedCase
Function TinyTax.TriggerBuyBack(uint256) (#965-983) is not in mixedCase
Function TinyTax.BurnTokens(uint256) (#987-997) is not in mixedCase
Function TinyTax.WithdrawAllDev() (#1000-1005) is not in mixedCase
Function TinyTax.WithdrawDev(uint256) (#1008-1013) is not in mixedCase
Function TinyTax.WithdrawAllMarketing() (#1016-1021) is not in mixedCase
Function TinyTax.WithdrawMarketing(uint256) (#1024-1029) is not in mixedCase
Function TinyTax.ExcludeFromStaking(address) (#1034-1045) is not in mixedCase
Function TinyTax.IncludeMeToStaking() (#1048-1054) is not in mixedCase
Function TinyTax.IncludeToStaking(address) (#1057-1064) is not in mixedCase
Function TinyTax.SetMarketingWallet(address) (#1080-1086) is not in mixedCase
Function TinyTax.SetDevWallet(address) (#1090-1096) is not in mixedCase
Function TinyTax.ExcludeAccountFromFees(address) (#1100-1103) is not in mixedCase
Function TinyTax.IncludeAccountToFees(address) (#1106-1109) is not in mixedCase
Function TinyTax.UpdateTaxes(uint8,uint8,uint8,uint8,uint8,uint8,uint8,uint8,uint8) (#1122-1140) is not in mixedCase
Function TinyTax.UpdateRewardSplit(uint8,uint8) (#1144-1150) is not in mixedCase
Parameter TinyTax.UpdateRewardSplit(uint8,uint8).MainSplit (#1144) is not in mixedCase
Parameter TinyTax.UpdateRewardSplit(uint8,uint8).MiscSplit (#1144) is not in mixedCase
Function TinyTax.UpdateLimits(uint256,uint256) (#1153-1167) is not in mixedCase
Constant TinyTax._name (#364) is not in UPPER_CASE_WITH_UNDERSCORES
Constant TinyTax._symbol (#365) is not in UPPER_CASE_WITH_UNDERSCORES
Constant TinyTax._decimals (#366) is not in UPPER_CASE_WITH_UNDERSCORES
Constant TinyTax._totalSupply (#367) is not in UPPER_CASE_WITH_UNDERSCORES
Variable TinyTax._circulatingSupply (#368) is not in mixedCase
Constant TinyTax.MaxWalletDivider (#369) is not in UPPER_CASE_WITH_UNDERSCORES
Constant TinyTax.SellLimitDivider (#370) is not in UPPER_CASE_WITH_UNDERSCORES
Constant TinyTax.MaxTax (#371) is not in UPPER_CASE_WITH_UNDERSCORES
Variable TinyTax._MainRewardSplit (#384) is not in mixedCase
Variable TinyTax._MiscRewardSplit (#385) is not in mixedCase
Variable TinyTax.MaxWallet (#386) is not in mixedCase
Variable TinyTax.MarketingWallet (#388) is not in mixedCase
Variable TinyTax.Developer (#389) is not in mixedCase
Variable TinyTax.BurnAddress (#390) is not in mixedCase
Constant TinyTax.blacklistBlocks (#396) is not in UPPER_CASE_WITH_UNDERSCORES
Variable TinyTax.MainReward (#404) is not in mixedCase
Variable TinyTax.MiscReward (#405) is not in mixedCase
Variable TinyTax.PancakeRouter (#409) is not in mixedCase
Constant TinyTax.StakeMulti (#679) is not in UPPER_CASE_WITH_UNDERSCORES
Constant TinyTax.DistributionMultiplier (#680) is not in UPPER_CASE_WITH_UNDERSCORES
Variable TinyTax.MarketingBalance (#686) is not in mixedCase
Variable TinyTax.DevBalance (#687) is not in mixedCase
Variable TinyTax.BuyBackBalance (#688) is not in mixedCase
Variable TinyTax.AutoLPThreshold (#689) is not in mixedCase
Variable TinyTax.Staker (#792) is not in mixedCase
Follow the Solidity naming convention.
Additional information: link
Variable IPancakeRouter01.addLiquidity(address,address,uint256,uint256,uint256,uint256,address,uint256).amountADesired (#51) is too similar to IPancakeRouter01.addLiquidity(address,address,uint256,uint256,uint256,uint256,address,uint256).amountBDesired (#52)
Prevent variables from having similar names.
Additional information: link
TinyTax.slitherConstructorVariables() (#355-1207) uses literals with too many digits:
- BurnAddress = 0x000000000000000000000000000000000000dEaD (#390)
TinyTax.slitherConstructorConstantVariables() (#355-1207) uses literals with too many digits:
- _totalSupply = 1000000000 * 10 ** _decimals (#367)
Use: Ether suffix, Time suffix, or The scientific notation
Additional information: link
TinyTax.BurnAddress (#390) should be constant
TinyTax.Staker (#792) should be constant
Add the constant attributes to state variables that never change.
Additional information: link
renounceOwnership() should be declared external:
- Ownable.renounceOwnership() (#192-195)
transferOwnership(address) should be declared external:
- Ownable.transferOwnership(address) (#196-200)
ClaimMainReward() should be declared external:
- TinyTax.ClaimMainReward() (#547-549)
ClaimMiscReward() should be declared external:
- TinyTax.ClaimMiscReward() (#552-556)
getMainBalance(address) should be declared external:
- TinyTax.getMainBalance(address) (#599-602)
getMiscBalance(address) should be declared external:
- TinyTax.getMiscBalance(address) (#605-608)
ChangeMainReward(address) should be declared external:
- TinyTax.ChangeMainReward(address) (#612-616)
ChangeMiscReward(address) should be declared external:
- TinyTax.ChangeMiscReward(address) (#620-623)
LockLiquidityTokens(uint256) should be declared external:
- TinyTax.LockLiquidityTokens(uint256) (#632-635)
ReleaseLP() should be declared external:
- TinyTax.ReleaseLP() (#643-648)
RemoveLP() should be declared external:
- TinyTax.RemoveLP() (#651-667)
RecoverBNB() should be declared external:
- TinyTax.RecoverBNB() (#670-675)
UpdateAutoLPThreshold(uint16) should be declared external:
- TinyTax.UpdateAutoLPThreshold(uint16) (#697-702)
CreateLPandBNB(uint16,bool) should be declared external:
- TinyTax.CreateLPandBNB(uint16,bool) (#705-707)
ManualBNBSwap(bool) should be declared external:
- TinyTax.ManualBNBSwap(bool) (#858-860)
TriggerBuyBack(uint256) should be declared external:
- TinyTax.TriggerBuyBack(uint256) (#965-983)
BurnTokens(uint256) should be declared external:
- TinyTax.BurnTokens(uint256) (#987-997)
WithdrawAllDev() should be declared external:
- TinyTax.WithdrawAllDev() (#1000-1005)
WithdrawDev(uint256) should be declared external:
- TinyTax.WithdrawDev(uint256) (#1008-1013)
WithdrawAllMarketing() should be declared external:
- TinyTax.WithdrawAllMarketing() (#1016-1021)
WithdrawMarketing(uint256) should be declared external:
- TinyTax.WithdrawMarketing(uint256) (#1024-1029)
ExcludeFromStaking(address) should be declared external:
- TinyTax.ExcludeFromStaking(address) (#1034-1045)
IncludeMeToStaking() should be declared external:
- TinyTax.IncludeMeToStaking() (#1048-1054)
IncludeToStaking(address) should be declared external:
- TinyTax.IncludeToStaking(address) (#1057-1064)
setBlacklistStatus(address[],bool) should be declared external:
- TinyTax.setBlacklistStatus(address[],bool) (#1066-1070)
enableBlacklist(bool) should be declared external:
- TinyTax.enableBlacklist(bool) (#1073-1076)
SetMarketingWallet(address) should be declared external:
- TinyTax.SetMarketingWallet(address) (#1080-1086)
SetDevWallet(address) should be declared external:
- TinyTax.SetDevWallet(address) (#1090-1096)
ExcludeAccountFromFees(address) should be declared external:
- TinyTax.ExcludeAccountFromFees(address) (#1100-1103)
IncludeAccountToFees(address) should be declared external:
- TinyTax.IncludeAccountToFees(address) (#1106-1109)
setPresale(address) should be declared external:
- TinyTax.setPresale(address) (#1111-1114)
UpdateTaxes(uint8,uint8,uint8,uint8,uint8,uint8,uint8,uint8,uint8) should be declared external:
- TinyTax.UpdateTaxes(uint8,uint8,uint8,uint8,uint8,uint8,uint8,uint8,uint8) (#1122-1140)
UpdateRewardSplit(uint8,uint8) should be declared external:
- TinyTax.UpdateRewardSplit(uint8,uint8) (#1144-1150)
UpdateLimits(uint256,uint256) should be declared external:
- TinyTax.UpdateLimits(uint256,uint256) (#1153-1167)
getLimits() should be declared external:
- TinyTax.getLimits() (#1190-1192)
getLiquidityUnlockInSeconds() should be declared external:
- TinyTax.getLiquidityUnlockInSeconds() (#1194-1199)
getTaxes() should be declared external:
- TinyTax.getTaxes() (#1201-1203)
Use the external attribute for functions never called from the contract.
Additional information: link
Average 30d PancakeSwap liquidity is less than $100. Token is either dead or inactive.
Average 30d PancakeSwap volume is less than $100. Token is either dead or inactive.
Number of Binance Smart Chain (BSC) token holders is less than 100. Token is either dead or inactive. Ignore for presale.
Average 30d number of PancakeSwap swaps is low.
Token is deployed only at one blockchain
Token has only one trading pair
Contract has 5% buy tax and 10% sell tax.
Taxes are low and contract ownership is renounced.
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