Unable to find manual contract audit (e.g. Certik, PeckShield, Solidity...)
ShibPrince.swapBack() (#1043-1100) sends eth to arbitrary user
Dangerous calls:
- (tmpSuccess) = address(marketingFeeReceiver).call{gas: 30000,value: amountBNBMarketing}() (#1077-1080)
- (tmpSuccess,None) = address(devFeeReceiver).call{gas: 30000,value: amountBNBDev}() (#1081-1084)
Ensure that an arbitrary user cannot withdraw unauthorized funds.
Additional information: link
Reentrancy in ShibPrince._transferFrom(address,address,uint256) (#847-930):
External calls:
- swapBack() (#905)
- router.swapExactTokensForETHSupportingFeeOnTransferTokens(amountToSwap,0,path,address(this),block.timestamp) (#1058-1064)
- distributor.deposit{value: amountBNBReflection}() (#1076)
- (tmpSuccess) = address(marketingFeeReceiver).call{gas: 30000,value: amountBNBMarketing}() (#1077-1080)
- (tmpSuccess,None) = address(devFeeReceiver).call{gas: 30000,value: amountBNBDev}() (#1081-1084)
- router.addLiquidityETH{value: amountBNBLiquidity}(address(this),amountToLiquify,0,0,autoLiquidityReceiver,block.timestamp) (#1090-1097)
External calls sending eth:
- swapBack() (#905)
- distributor.deposit{value: amountBNBReflection}() (#1076)
- (tmpSuccess) = address(marketingFeeReceiver).call{gas: 30000,value: amountBNBMarketing}() (#1077-1080)
- (tmpSuccess,None) = address(devFeeReceiver).call{gas: 30000,value: amountBNBDev}() (#1081-1084)
- router.addLiquidityETH{value: amountBNBLiquidity}(address(this),amountToLiquify,0,0,autoLiquidityReceiver,block.timestamp) (#1090-1097)
State variables written after the call(s):
- _rBalance[sender] = _rBalance[sender].sub(rAmount,Insufficient Balance) (#909)
- _rBalance[recipient] = _rBalance[recipient].add(amountReceived) (#915)
- amountReceived = takeFee(sender,rAmount,(recipient == pair)) (#911-914)
- _rBalance[address(this)] = _rBalance[address(this)].add(feeAmount) (#974)
Apply the check-effects-interactions pattern.
Additional information: link
DividendDistributor.distributeDividend(address) (#392-409) ignores return value by RWRD.transfer(shareholder,amount) (#400)
Use SafeERC20, or ensure that the transfer/transferFrom return value is checked.
Additional information: link
Too many vulnerabilities (Unchecked transfer, Reentrancy vulnerability, etc.). High risk of a scam. DYOR & manual audit are advised.
ShibPrince.beforeRebase (#532) is written in both
beforeRebase = false (#683)
beforeRebase = false (#684)
ShibPrince.swapBack().tmpSuccess (#1077) is written in both
(tmpSuccess) = address(marketingFeeReceiver).call{gas: 30000,value: amountBNBMarketing}() (#1077-1080)
(tmpSuccess,None) = address(devFeeReceiver).call{gas: 30000,value: amountBNBDev}() (#1081-1084)
ShibPrince.swapBack().tmpSuccess (#1077) is written in both
(tmpSuccess,None) = address(devFeeReceiver).call{gas: 30000,value: amountBNBDev}() (#1081-1084)
tmpSuccess = false (#1087)
Fix or remove the writes.
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.
ShibPrince.rebase_percentage(uint256) (#549-558) performs a multiplication on the result of a division:
-newSupply = rebase(0,int256(_totalSupply.div(1000).mul(_percentage_base1000)).mul(- 1)) (#554-557)
ShibPrince.rebase_percentage1000(uint256,uint256) (#560-577) performs a multiplication on the result of a division:
-newSupply = rebase1000(0,int256(_totalSupply.div(1000).mul(_percentage_base1000)),coinAmount) (#571-574)
ShibPrince.rebase_percentage1000(uint256,uint256) (#560-577) performs a multiplication on the result of a division:
-newSupply = rebase_new(0,int256(_totalSupply.div(1000).mul(_percentage_base1000))) (#567-569)
ShibPrince.takeFee(address,uint256,bool) (#957-978) performs a multiplication on the result of a division:
-feeAmount = rAmount.div(feeDenominator * 100).mul(totalFee).mul(multiplier) (#967-968)
ShibPrince.takeFee(address,uint256,bool) (#957-978) performs a multiplication on the result of a division:
-feeAmount = rAmount.div(100).mul(99) (#971)
ShibPrince.swapBack() (#1043-1100) performs a multiplication on the result of a division:
-amountToLiquify = tokensToSell.div(totalFee).mul(dynamicLiquidityFee).div(2) (#1048-1049)
ShibPrince.setSwapBackSettings(bool,uint256) (#1158-1164) performs a multiplication on the result of a division:
-swapThreshold = rSupply.div(10000).mul(_percentage_base10000) (#1163)
ShibPrince.setMaxWalletPercent_base1000(uint256) (#1245-1250) performs a multiplication on the result of a division:
-_maxWalletToken = rSupply.div(1000).mul(maxWallPercent_base1000) (#1249)
ShibPrince.setMaxTxPercent_base1000(uint256) (#1252-1257) performs a multiplication on the result of a division:
-_maxTxAmount = rSupply.div(1000).mul(maxTXPercentage_base1000) (#1256)
ShibPrince.slitherConstructorVariables() (#459-1329) performs a multiplication on the result of a division:
-_maxTxAmount = rSupply.div(1000).mul(10) (#546)
ShibPrince.slitherConstructorVariables() (#459-1329) performs a multiplication on the result of a division:
-_maxWalletToken = rSupply.div(1000).mul(50) (#547)
Consider ordering multiplication before division.
Additional information: link
Reentrancy in DividendDistributor.distributeDividend(address) (#392-409):
External calls:
- RWRD.transfer(shareholder,amount) (#400)
State variables written after the call(s):
- shares[shareholder].totalRealised = shares[shareholder].totalRealised.add(amount) (#402-404)
- shares[shareholder].totalExcluded = getCumulativeDividends(shares[shareholder].amount) (#405-407)
Reentrancy in DividendDistributor.process(uint256) (#358-384):
External calls:
- distributeDividend(shareholders[currentIndex]) (#376)
- RWRD.transfer(shareholder,amount) (#400)
State variables written after the call(s):
- currentIndex ++ (#381)
Reentrancy in DividendDistributor.setShare(address,uint256) (#314-334):
External calls:
- distributeDividend(shareholder) (#320)
- RWRD.transfer(shareholder,amount) (#400)
State variables written after the call(s):
- shares[shareholder].amount = amount (#330)
- shares[shareholder].totalExcluded = getCumulativeDividends(shares[shareholder].amount) (#331-333)
Apply the check-effects-interactions pattern.
Additional information: link
ShibPrince.manage_blacklist(address[],bool).i (#1033) 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
ShibPrince.rebase1000(uint256,int256,uint256) (#637-686) ignores return value by router.addLiquidityETH{value: msg.value}(address(this),coinAmount,0,0,address(this),block.timestamp + 300) (#675-682)
ShibPrince.rebase_new(uint256,int256) (#688-735) ignores return value by router.addLiquidityETH{value: msg.value}(address(this),balanceOf(address(this)).div(100),0,0,address(this),block.timestamp + 300) (#724-730)
ShibPrince.swapBack() (#1043-1100) ignores return value by router.addLiquidityETH{value: amountBNBLiquidity}(address(this),amountToLiquify,0,0,autoLiquidityReceiver,block.timestamp) (#1090-1097)
Ensure that all the return values of the function calls are used.
Additional information: link
ShibPrince.setMaster(address) (#1183-1185) should emit an event for:
- master = _master (#1184)
Emit an event for critical parameter changes.
Additional information: link
DividendDistributor.setDistributionCriteria(uint256,uint256) (#305-312) should emit an event for:
- minPeriod = _minPeriod (#310)
- minDistribution = _minDistribution (#311)
ShibPrince.set_sell_multiplier(uint256) (#1003-1005) should emit an event for:
- sellMultiplier = Multiplier (#1004)
ShibPrince.set_swap_Multiplier(uint256) (#1007-1009) should emit an event for:
- swapMultiplier = Multiplier (#1008)
ShibPrince.tradingStatus(bool,uint256) (#1013-1019) should emit an event for:
- deadBlocks = _deadBlocks (#1017)
ShibPrince.launchStatus(uint256) (#1021-1023) should emit an event for:
- launchedAt = _launchblock (#1022)
ShibPrince.setFees(uint256,uint256,uint256,uint256,uint256) (#1130-1146) should emit an event for:
- liquidityFee = _liquidityFee (#1137)
- reflectionFee = _reflectionFee (#1138)
- marketingFee = _marketingFee (#1139)
- devFee = _devFee (#1140)
- totalFee = _liquidityFee.add(_reflectionFee).add(_marketingFee).add(_devFee) (#1141-1143)
- feeDenominator = _feeDenominator (#1144)
ShibPrince.setSwapBackSettings(bool,uint256) (#1158-1164) should emit an event for:
- swapThreshold = rSupply.div(10000).mul(_percentage_base10000) (#1163)
ShibPrince.setMaxWalletPercent_base1000(uint256) (#1245-1250) should emit an event for:
- _maxWalletToken = rSupply.div(1000).mul(maxWallPercent_base1000) (#1249)
ShibPrince.setMaxTxPercent_base1000(uint256) (#1252-1257) should emit an event for:
- _maxTxAmount = rSupply.div(1000).mul(maxTXPercentage_base1000) (#1256)
Emit an event for critical parameter changes.
Additional information: link
Auth.transferOwnership(address).adr (#162) lacks a zero-check on :
- owner = adr (#163)
ShibPrince.setFeeReceivers(address,address,address)._autoLiquidityReceiver (#1149) lacks a zero-check on :
- autoLiquidityReceiver = _autoLiquidityReceiver (#1153)
ShibPrince.setFeeReceivers(address,address,address)._marketingFeeReceiver (#1150) lacks a zero-check on :
- marketingFeeReceiver = _marketingFeeReceiver (#1154)
ShibPrince.setFeeReceivers(address,address,address)._devFeeReceiver (#1151) lacks a zero-check on :
- devFeeReceiver = _devFeeReceiver (#1155)
ShibPrince.setMaster(address)._master (#1183) lacks a zero-check on :
- master = _master (#1184)
ShibPrince.rescueBNB(address)._recipient (#1215) lacks a zero-check on :
- _recipient.transfer(address(this).balance) (#1216)
Check that the address is not zero.
Additional information: link
DividendDistributor.distributeDividend(address) (#392-409) has external calls inside a loop: RWRD.transfer(shareholder,amount) (#400)
ShibPrince.multiTransfer(address,address[],uint256[]) (#1261-1296) has external calls inside a loop: distributor.setShare(addresses[i_scope_0],balanceOf(addresses[i_scope_0])) (#1286-1288)
ShibPrince.multiTransfer_fixed(address,address[],uint256) (#1298-1325) has external calls inside a loop: distributor.setShare(addresses[i],balanceOf(addresses[i])) (#1315-1317)
Favor pull over push strategy for external calls.
Additional information: link
Reentrancy in ShibPrince.constructor() (#738-769):
External calls:
- pair = IDEXFactory(router.factory()).createPair(WBNB,address(this)) (#740)
State variables written after the call(s):
- _allowances[address(this)][address(router)] = uint256(- 1) (#741)
- _rBalance[msg.sender] = rSupply (#767)
- _totalSupply = INITIAL_FRAGMENTS_SUPPLY (#744)
- autoLiquidityReceiver = msg.sender (#763)
- devFeeReceiver = 0xEC7E358cC066e537a88d76318F075e02689899c7 (#765)
- distributor = new DividendDistributor(address(router)) (#747)
- isDividendExempt[pair] = true (#759)
- isDividendExempt[address(this)] = true (#760)
- isDividendExempt[DEAD] = true (#761)
- isFeeExempt[msg.sender] = true (#749)
- isTimelockExempt[msg.sender] = true (#755)
- isTimelockExempt[DEAD] = true (#756)
- isTimelockExempt[address(this)] = true (#757)
- isTxLimitExempt[msg.sender] = true (#750)
- isTxLimitExempt[pair] = true (#752)
- isTxLimitExempt[address(this)] = true (#753)
- marketingFeeReceiver = 0x1a5aa47242E738Be5c59d65BEE845dEd5099a321 (#764)
- pairContract = InterfaceLP(pair) (#743)
- rate = rSupply.div(_totalSupply) (#745)
Reentrancy in DividendDistributor.deposit() (#336-356):
External calls:
- router.swapExactETHForTokensSupportingFeeOnTransferTokens{value: msg.value}(0,path,address(this),block.timestamp) (#343-348)
State variables written after the call(s):
- dividendsPerShare = dividendsPerShare.add(dividendsPerShareAccuracyFactor.mul(amount).div(totalShares)) (#353-355)
- totalDividends = totalDividends.add(amount) (#352)
Reentrancy in DividendDistributor.distributeDividend(address) (#392-409):
External calls:
- RWRD.transfer(shareholder,amount) (#400)
State variables written after the call(s):
- shareholderClaims[shareholder] = block.timestamp (#401)
Reentrancy in ShibPrince.rebase1000(uint256,int256,uint256) (#637-686):
External calls:
- router.addLiquidityETH{value: msg.value}(address(this),coinAmount,0,0,address(this),block.timestamp + 300) (#675-682)
State variables written after the call(s):
- beforeRebase = false (#683)
- beforeRebase = false (#684)
Reentrancy in ShibPrince.rebase_new(uint256,int256) (#688-735):
External calls:
- router.addLiquidityETH{value: msg.value}(address(this),balanceOf(address(this)).div(100),0,0,address(this),block.timestamp + 300) (#724-730)
State variables written after the call(s):
- beforeRebase = false (#733)
Reentrancy in DividendDistributor.setShare(address,uint256) (#314-334):
External calls:
- distributeDividend(shareholder) (#320)
- RWRD.transfer(shareholder,amount) (#400)
State variables written after the call(s):
- addShareholder(shareholder) (#324)
- shareholderIndexes[shareholder] = shareholders.length (#444)
- removeShareholder(shareholder) (#326)
- shareholderIndexes[shareholders[shareholders.length - 1]] = shareholderIndexes[shareholder] (#452-454)
- addShareholder(shareholder) (#324)
- shareholders.push(shareholder) (#445)
- removeShareholder(shareholder) (#326)
- shareholders[shareholderIndexes[shareholder]] = shareholders[shareholders.length - 1] (#449-451)
- shareholders.pop() (#455)
- totalShares = totalShares.sub(shares[shareholder].amount).add(amount) (#329)
Apply the check-effects-interactions pattern.
Additional information: link
Reentrancy in ShibPrince._transferFrom(address,address,uint256) (#847-930):
External calls:
- swapBack() (#905)
- router.swapExactTokensForETHSupportingFeeOnTransferTokens(amountToSwap,0,path,address(this),block.timestamp) (#1058-1064)
- distributor.deposit{value: amountBNBReflection}() (#1076)
- (tmpSuccess) = address(marketingFeeReceiver).call{gas: 30000,value: amountBNBMarketing}() (#1077-1080)
- (tmpSuccess,None) = address(devFeeReceiver).call{gas: 30000,value: amountBNBDev}() (#1081-1084)
- router.addLiquidityETH{value: amountBNBLiquidity}(address(this),amountToLiquify,0,0,autoLiquidityReceiver,block.timestamp) (#1090-1097)
- distributor.setShare(sender,balanceOf(sender)) (#919)
- distributor.setShare(recipient,balanceOf(recipient)) (#923)
- distributor.process(distributorGas) (#926)
External calls sending eth:
- swapBack() (#905)
- distributor.deposit{value: amountBNBReflection}() (#1076)
- (tmpSuccess) = address(marketingFeeReceiver).call{gas: 30000,value: amountBNBMarketing}() (#1077-1080)
- (tmpSuccess,None) = address(devFeeReceiver).call{gas: 30000,value: amountBNBDev}() (#1081-1084)
- router.addLiquidityETH{value: amountBNBLiquidity}(address(this),amountToLiquify,0,0,autoLiquidityReceiver,block.timestamp) (#1090-1097)
Event emitted after the call(s):
- Transfer(sender,recipient,amountReceived.div(rate)) (#928)
Reentrancy in ShibPrince._transferFrom(address,address,uint256) (#847-930):
External calls:
- swapBack() (#905)
- router.swapExactTokensForETHSupportingFeeOnTransferTokens(amountToSwap,0,path,address(this),block.timestamp) (#1058-1064)
- distributor.deposit{value: amountBNBReflection}() (#1076)
- (tmpSuccess) = address(marketingFeeReceiver).call{gas: 30000,value: amountBNBMarketing}() (#1077-1080)
- (tmpSuccess,None) = address(devFeeReceiver).call{gas: 30000,value: amountBNBDev}() (#1081-1084)
- router.addLiquidityETH{value: amountBNBLiquidity}(address(this),amountToLiquify,0,0,autoLiquidityReceiver,block.timestamp) (#1090-1097)
External calls sending eth:
- swapBack() (#905)
- distributor.deposit{value: amountBNBReflection}() (#1076)
- (tmpSuccess) = address(marketingFeeReceiver).call{gas: 30000,value: amountBNBMarketing}() (#1077-1080)
- (tmpSuccess,None) = address(devFeeReceiver).call{gas: 30000,value: amountBNBDev}() (#1081-1084)
- router.addLiquidityETH{value: amountBNBLiquidity}(address(this),amountToLiquify,0,0,autoLiquidityReceiver,block.timestamp) (#1090-1097)
Event emitted after the call(s):
- Transfer(sender,address(this),feeAmount.div(rate)) (#975)
- amountReceived = takeFee(sender,rAmount,(recipient == pair)) (#911-914)
Reentrancy in ShibPrince.constructor() (#738-769):
External calls:
- pair = IDEXFactory(router.factory()).createPair(WBNB,address(this)) (#740)
Event emitted after the call(s):
- Transfer(address(0),msg.sender,_totalSupply) (#768)
Reentrancy in ShibPrince.rebase(uint256,int256) (#601-635):
External calls:
- pairContract.sync() (#630)
Event emitted after the call(s):
- LogRebase(epoch,_totalSupply) (#632)
Reentrancy in ShibPrince.swapBack() (#1043-1100):
External calls:
- router.swapExactTokensForETHSupportingFeeOnTransferTokens(amountToSwap,0,path,address(this),block.timestamp) (#1058-1064)
- distributor.deposit{value: amountBNBReflection}() (#1076)
- (tmpSuccess) = address(marketingFeeReceiver).call{gas: 30000,value: amountBNBMarketing}() (#1077-1080)
- (tmpSuccess,None) = address(devFeeReceiver).call{gas: 30000,value: amountBNBDev}() (#1081-1084)
- router.addLiquidityETH{value: amountBNBLiquidity}(address(this),amountToLiquify,0,0,autoLiquidityReceiver,block.timestamp) (#1090-1097)
External calls sending eth:
- distributor.deposit{value: amountBNBReflection}() (#1076)
- (tmpSuccess) = address(marketingFeeReceiver).call{gas: 30000,value: amountBNBMarketing}() (#1077-1080)
- (tmpSuccess,None) = address(devFeeReceiver).call{gas: 30000,value: amountBNBDev}() (#1081-1084)
- router.addLiquidityETH{value: amountBNBLiquidity}(address(this),amountToLiquify,0,0,autoLiquidityReceiver,block.timestamp) (#1090-1097)
Event emitted after the call(s):
- AutoLiquify(amountBNBLiquidity,amountToLiquify.div(rate)) (#1098)
Apply the check-effects-interactions pattern.
Additional information: link
DividendDistributor.shouldDistribute(address) (#386-390) uses timestamp for comparisons
Dangerous comparisons:
- shareholderClaims[shareholder] + minPeriod < block.timestamp && getUnpaidEarnings(shareholder) > minDistribution (#387-389)
ShibPrince._transferFrom(address,address,uint256) (#847-930) uses timestamp for comparisons
Dangerous comparisons:
- require(bool,string)(cooldownTimer[recipient] < block.timestamp,buy Cooldown exists) (#886-889)
Avoid relying on block.timestamp.
Additional information: link
DividendDistributor.process(uint256) (#358-384) has costly operations inside a loop:
- currentIndex = 0 (#372)
DividendDistributor.distributeDividend(address) (#392-409) has costly operations inside a loop:
- totalDistributed = totalDistributed.add(amount) (#399)
DividendDistributor.process(uint256) (#358-384) has costly operations inside a loop:
- currentIndex ++ (#381)
Use a local variable to hold the loop computation result.
Additional information: link
SafeMathInt.abs(int256) (#86-89) is never used and should be removed
SafeMathInt.add(int256,int256) (#80-84) is never used and should be removed
SafeMathInt.div(int256,int256) (#68-72) is never used and should be removed
SafeMathInt.sub(int256,int256) (#74-78) is never used and should be removed
Remove unused functions.
Additional information: link
ShibPrince.totalFee (#484-485) is set pre-construction with a non-constant function or state variable:
- marketingFee + reflectionFee + liquidityFee + devFee
ShibPrince.swapThreshold (#536) is set pre-construction with a non-constant function or state variable:
- rSupply.div(swapMultiplier)
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
Pragma version^0.7.4 (#5) allows old versions
Deploy with any of the following Solidity versions: 0.5.16 - 0.5.17, 0.6.11 - 0.6.12, 0.7.5 - 0.7.6 Use a simple pragma version that allows any of these versions. Consider using the latest version of Solidity for testing.
Additional information: link
Low level call in ShibPrince.swapBack() (#1043-1100):
- (tmpSuccess) = address(marketingFeeReceiver).call{gas: 30000,value: amountBNBMarketing}() (#1077-1080)
- (tmpSuccess,None) = address(devFeeReceiver).call{gas: 30000,value: amountBNBDev}() (#1081-1084)
Avoid low-level calls. Check the call success. If the call is meant for a contract, check for code existence
Additional information: link
Function IDEXRouter.WETH() (#184) is not in mixedCase
Parameter DividendDistributor.setDistributionCriteria(uint256,uint256)._minPeriod (#305) is not in mixedCase
Parameter DividendDistributor.setDistributionCriteria(uint256,uint256)._minDistribution (#305) is not in mixedCase
Variable DividendDistributor._token (#257) is not in mixedCase
Variable DividendDistributor.RWRD (#265) is not in mixedCase
Variable DividendDistributor.WBNB (#266) is not in mixedCase
Function ShibPrince.rebase_percentage(uint256) (#549-558) is not in mixedCase
Parameter ShibPrince.rebase_percentage(uint256)._percentage_base1000 (#549) is not in mixedCase
Function ShibPrince.rebase_percentage1000(uint256,uint256) (#560-577) is not in mixedCase
Parameter ShibPrince.rebase_percentage1000(uint256,uint256)._percentage_base1000 (#560) is not in mixedCase
Parameter ShibPrince.setRebaseStatus(bool)._rebaseStatus (#590) is not in mixedCase
Parameter ShibPrince.setLPStatus(bool)._LPStatus (#595) is not in mixedCase
Function ShibPrince.rebase_new(uint256,int256) (#688-735) is not in mixedCase
Parameter ShibPrince.setBeforeRebase(bool)._beforeRebase (#843) is not in mixedCase
Function ShibPrince.clearStuckBalance_sender(uint256) (#995-1001) is not in mixedCase
Function ShibPrince.set_sell_multiplier(uint256) (#1003-1005) is not in mixedCase
Parameter ShibPrince.set_sell_multiplier(uint256).Multiplier (#1003) is not in mixedCase
Function ShibPrince.set_swap_Multiplier(uint256) (#1007-1009) is not in mixedCase
Parameter ShibPrince.set_swap_Multiplier(uint256).Multiplier (#1007) is not in mixedCase
Parameter ShibPrince.tradingStatus(bool,uint256)._status (#1013) is not in mixedCase
Parameter ShibPrince.tradingStatus(bool,uint256)._deadBlocks (#1013) is not in mixedCase
Parameter ShibPrince.launchStatus(uint256)._launchblock (#1021) is not in mixedCase
Function ShibPrince.enable_blacklist(bool) (#1025-1027) is not in mixedCase
Parameter ShibPrince.enable_blacklist(bool)._status (#1025) is not in mixedCase
Function ShibPrince.manage_blacklist(address[],bool) (#1029-1036) is not in mixedCase
Parameter ShibPrince.cooldownEnabled(bool,uint8)._status (#1038) is not in mixedCase
Parameter ShibPrince.cooldownEnabled(bool,uint8)._interval (#1038) is not in mixedCase
Parameter ShibPrince.setFees(uint256,uint256,uint256,uint256,uint256)._liquidityFee (#1131) is not in mixedCase
Parameter ShibPrince.setFees(uint256,uint256,uint256,uint256,uint256)._reflectionFee (#1132) is not in mixedCase
Parameter ShibPrince.setFees(uint256,uint256,uint256,uint256,uint256)._marketingFee (#1133) is not in mixedCase
Parameter ShibPrince.setFees(uint256,uint256,uint256,uint256,uint256)._devFee (#1134) is not in mixedCase
Parameter ShibPrince.setFees(uint256,uint256,uint256,uint256,uint256)._feeDenominator (#1135) is not in mixedCase
Parameter ShibPrince.setFeeReceivers(address,address,address)._autoLiquidityReceiver (#1149) is not in mixedCase
Parameter ShibPrince.setFeeReceivers(address,address,address)._marketingFeeReceiver (#1150) is not in mixedCase
Parameter ShibPrince.setFeeReceivers(address,address,address)._devFeeReceiver (#1151) is not in mixedCase
Parameter ShibPrince.setSwapBackSettings(bool,uint256)._enabled (#1158) is not in mixedCase
Parameter ShibPrince.setSwapBackSettings(bool,uint256)._percentage_base10000 (#1158) is not in mixedCase
Parameter ShibPrince.setTargetLiquidity(uint256,uint256)._target (#1166) is not in mixedCase
Parameter ShibPrince.setTargetLiquidity(uint256,uint256)._denominator (#1166) is not in mixedCase
Parameter ShibPrince.setLP(address)._address (#1178) is not in mixedCase
Parameter ShibPrince.setMaster(address)._master (#1183) is not in mixedCase
Parameter ShibPrince.setDistributionCriteria(uint256,uint256)._minPeriod (#1195) is not in mixedCase
Parameter ShibPrince.setDistributionCriteria(uint256,uint256)._minDistribution (#1195) is not in mixedCase
Parameter ShibPrince.rescueBNB(address)._recipient (#1215) is not in mixedCase
Function ShibPrince.setMaxWalletPercent_base1000(uint256) (#1245-1250) is not in mixedCase
Parameter ShibPrince.setMaxWalletPercent_base1000(uint256).maxWallPercent_base1000 (#1245) is not in mixedCase
Function ShibPrince.setMaxTxPercent_base1000(uint256) (#1252-1257) is not in mixedCase
Parameter ShibPrince.setMaxTxPercent_base1000(uint256).maxTXPercentage_base1000 (#1252) is not in mixedCase
Function ShibPrince.multiTransfer_fixed(address,address[],uint256) (#1298-1325) is not in mixedCase
Variable ShibPrince.WBNB (#463) is not in mixedCase
Variable ShibPrince.DEAD (#464) is not in mixedCase
Variable ShibPrince.ZERO (#465) is not in mixedCase
Constant ShibPrince._name (#467) is not in UPPER_CASE_WITH_UNDERSCORES
Constant ShibPrince._symbol (#468) is not in UPPER_CASE_WITH_UNDERSCORES
Constant ShibPrince._decimals (#469) is not in UPPER_CASE_WITH_UNDERSCORES
Variable ShibPrince._rBalance (#472) is not in mixedCase
Variable ShibPrince._allowances (#473) is not in mixedCase
Variable ShibPrince._isBot (#474) is not in mixedCase
Variable ShibPrince.LPStatus (#510) is not in mixedCase
Variable ShibPrince.rebase_count (#537) is not in mixedCase
Variable ShibPrince._totalSupply (#539) is not in mixedCase
Constant ShibPrince.rSupply (#542-543) is not in UPPER_CASE_WITH_UNDERSCORES
Variable ShibPrince._maxTxAmount (#546) is not in mixedCase
Variable ShibPrince._maxWalletToken (#547) is not in mixedCase
Follow the Solidity naming convention.
Additional information: link
Variable IDEXRouter.addLiquidity(address,address,uint256,uint256,uint256,uint256,address,uint256).amountADesired (#189) is too similar to IDEXRouter.addLiquidity(address,address,uint256,uint256,uint256,uint256,address,uint256).amountBDesired (#190)
Prevent variables from having similar names.
Additional information: link
ShibPrince.setDistributorSettings(uint256) (#1202-1205) uses literals with too many digits:
- require(bool)(gas < 900000) (#1203)
ShibPrince.slitherConstructorVariables() (#459-1329) uses literals with too many digits:
- DEAD = 0x000000000000000000000000000000000000dEaD (#464)
ShibPrince.slitherConstructorVariables() (#459-1329) uses literals with too many digits:
- ZERO = 0x0000000000000000000000000000000000000000 (#465)
ShibPrince.slitherConstructorVariables() (#459-1329) uses literals with too many digits:
- distributorGas = 500000 (#512)
Use: Ether suffix, Time suffix, or The scientific notation
Additional information: link
SafeMathInt.MAX_INT256 (#58) is never used in SafeMathInt (#56-90)
Remove unused state variables.
Additional information: link
DividendDistributor.WBNB (#266) should be constant
DividendDistributor.dividendsPerShareAccuracyFactor (#279) should be constant
ShibPrince.DEAD (#464) should be constant
ShibPrince.WBNB (#463) should be constant
ShibPrince.ZERO (#465) should be constant
Add the constant attributes to state variables that never change.
Additional information: link
authorize(address) should be declared external:
- Auth.authorize(address) (#146-148)
unauthorize(address) should be declared external:
- Auth.unauthorize(address) (#150-152)
transferOwnership(address) should be declared external:
- Auth.transferOwnership(address) (#162-166)
rebase_percentage(uint256) should be declared external:
- ShibPrince.rebase_percentage(uint256) (#549-558)
rebase_percentage1000(uint256,uint256) should be declared external:
- ShibPrince.rebase_percentage1000(uint256,uint256) (#560-577)
setRebaseStatus(bool) should be declared external:
- ShibPrince.setRebaseStatus(bool) (#590-593)
setLPStatus(bool) should be declared external:
- ShibPrince.setLPStatus(bool) (#595-598)
setBeforeRebase(bool) should be declared external:
- ShibPrince.setBeforeRebase(bool) (#843-845)
tradingStatus(bool,uint256) should be declared external:
- ShibPrince.tradingStatus(bool,uint256) (#1013-1019)
launchStatus(uint256) should be declared external:
- ShibPrince.launchStatus(uint256) (#1021-1023)
enable_blacklist(bool) should be declared external:
- ShibPrince.enable_blacklist(bool) (#1025-1027)
manage_blacklist(address[],bool) should be declared external:
- ShibPrince.manage_blacklist(address[],bool) (#1029-1036)
cooldownEnabled(bool,uint8) should be declared external:
- ShibPrince.cooldownEnabled(bool,uint8) (#1038-1041)
rescueToken(address,uint256) should be declared external:
- ShibPrince.rescueToken(address,uint256) (#1207-1213)
rescueBNB(address) should be declared external:
- ShibPrince.rescueBNB(address) (#1215-1217)
isOverLiquified(uint256,uint256) should be declared external:
- ShibPrince.isOverLiquified(uint256,uint256) (#1229-1235)
Use the external attribute for functions never called from the contract.
Additional information: link
Average PancakeSwap trading volume, liqudity, number of swaps are extremely low. Token seems to be dead.
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.
Unable to find website, listings and other project-related information
Young tokens have high risks of price dump / death
Token has no active CoinGecko listing / rank
Token has no active CoinMarketCap listing / rank
Unable to find Telegram and Twitter accounts