Fraud and corruption elimination project. BountySeeker program
Launching software release very soon
Unable to find manual contract audit (e.g. Certik, PeckShield, Solidity...)
RugSeekers.transferToDistributorAndScamSeekers(uint256,uint256,uint256,uint256) (#1153-1166) sends eth to arbitrary user
Dangerous calls:
- (successful) = address(ScamSeekersFeeReceiver).call{gas: 30000,value: ScamSeekersBNB}() (#1161)
RugSeekers.transferToDistributorAndMarketing(uint256,uint256,uint256,uint256) (#1183-1196) sends eth to arbitrary user
Dangerous calls:
- (successful) = address(marketingFeeReceiver).call{gas: 30000,value: marketingBNB}() (#1191)
Ensure that an arbitrary user cannot withdraw unauthorized funds.
Additional information: link
Reentrancy in RugSeekers._transferFrom(address,address,uint256) (#1028-1057):
External calls:
- swapBack() (#1044)
- (success) = address(address(distributor)).call{gas: 30000,value: distributorBNB}() (#1184)
- (success) = address(address(distributor)).call{gas: 30000,value: distributorBNB}() (#1169)
- (success) = address(address(distributor)).call{gas: 30000,value: distributorBNB}() (#1154)
- distributor.deposit() (#1186)
- distributor.deposit() (#1171)
- distributor.deposit() (#1156)
- router.swapExactTokensForETHSupportingFeeOnTransferTokens(amountToSwap,0,path,address(this),block.timestamp) (#1117-1123)
- (successful) = address(marketingFeeReceiver).call{gas: 30000,value: marketingBNB}() (#1191)
- (successful) = address(DeveloperFeeReceiver).call{gas: 30000,value: DeveloperBNB}() (#1176)
- (successful) = address(ScamSeekersFeeReceiver).call{gas: 30000,value: ScamSeekersBNB}() (#1161)
- router.addLiquidityETH{value: amountBNBLiquidity}(address(this),amountToLiquify,0,0,autoLiquidityReceiver,block.timestamp) (#1141-1148)
- amountReceived = handleTransferBody(sender,recipient,amount) (#1045)
- distributor.setShare(sender,_balances[sender]) (#1066)
- distributor.setShare(recipient,_balances[recipient]) (#1067)
External calls sending eth:
- swapBack() (#1044)
- (success) = address(address(distributor)).call{gas: 30000,value: distributorBNB}() (#1184)
- (success) = address(address(distributor)).call{gas: 30000,value: distributorBNB}() (#1169)
- (success) = address(address(distributor)).call{gas: 30000,value: distributorBNB}() (#1154)
- (successful) = address(marketingFeeReceiver).call{gas: 30000,value: marketingBNB}() (#1191)
- (successful) = address(DeveloperFeeReceiver).call{gas: 30000,value: DeveloperBNB}() (#1176)
- (successful) = address(ScamSeekersFeeReceiver).call{gas: 30000,value: ScamSeekersBNB}() (#1161)
- router.addLiquidityETH{value: amountBNBLiquidity}(address(this),amountToLiquify,0,0,autoLiquidityReceiver,block.timestamp) (#1141-1148)
State variables written after the call(s):
- amountReceived = handleTransferBody(sender,recipient,amount) (#1045)
- _balances[sender] = _balances[sender].sub(amount,Insufficient Balance) (#1060)
- _balances[address(this)] = _balances[address(this)].add(feeAmount) (#1084)
- _balances[recipient] = _balances[recipient].add(amountReceived) (#1064)
Reentrancy in RugSeekers._transferFrom(address,address,uint256) (#1028-1057):
External calls:
- triggerAutoBuyback() (#1047)
- router.swapExactETHForTokensSupportingFeeOnTransferTokens{value: amount}(0,path,to,block.timestamp.add(30)) (#1221-1226)
- amountReceived = handleTransferBody(sender,recipient,amount) (#1048)
- distributor.setShare(sender,_balances[sender]) (#1066)
- distributor.setShare(recipient,_balances[recipient]) (#1067)
External calls sending eth:
- triggerAutoBuyback() (#1047)
- router.swapExactETHForTokensSupportingFeeOnTransferTokens{value: amount}(0,path,to,block.timestamp.add(30)) (#1221-1226)
State variables written after the call(s):
- amountReceived = handleTransferBody(sender,recipient,amount) (#1048)
- _balances[sender] = _balances[sender].sub(amount,Insufficient Balance) (#1060)
- _balances[address(this)] = _balances[address(this)].add(feeAmount) (#1084)
- _balances[recipient] = _balances[recipient].add(amountReceived) (#1064)
Reentrancy in RugSeekers.swapBack() (#1104-1151):
External calls:
- router.swapExactTokensForETHSupportingFeeOnTransferTokens(amountToSwap,0,path,address(this),block.timestamp) (#1117-1123)
- transferToDistributorAndMarketing(amountBNBReflection,amountBNBMarketing,amountBNBScamSeekers,amountBNBDeveloper) (#1136)
- (success) = address(address(distributor)).call{gas: 30000,value: distributorBNB}() (#1184)
- distributor.deposit() (#1186)
- (successful) = address(marketingFeeReceiver).call{gas: 30000,value: marketingBNB}() (#1191)
- transferToDistributorAndScamSeekers(amountBNBReflection,amountBNBMarketing,amountBNBScamSeekers,amountBNBDeveloper) (#1137)
- (success) = address(address(distributor)).call{gas: 30000,value: distributorBNB}() (#1154)
- distributor.deposit() (#1156)
- (successful) = address(ScamSeekersFeeReceiver).call{gas: 30000,value: ScamSeekersBNB}() (#1161)
External calls sending eth:
- transferToDistributorAndMarketing(amountBNBReflection,amountBNBMarketing,amountBNBScamSeekers,amountBNBDeveloper) (#1136)
- (success) = address(address(distributor)).call{gas: 30000,value: distributorBNB}() (#1184)
- (successful) = address(marketingFeeReceiver).call{gas: 30000,value: marketingBNB}() (#1191)
- transferToDistributorAndScamSeekers(amountBNBReflection,amountBNBMarketing,amountBNBScamSeekers,amountBNBDeveloper) (#1137)
- (success) = address(address(distributor)).call{gas: 30000,value: distributorBNB}() (#1154)
- (successful) = address(ScamSeekersFeeReceiver).call{gas: 30000,value: ScamSeekersBNB}() (#1161)
State variables written after the call(s):
- transferToDistributorAndScamSeekers(amountBNBReflection,amountBNBMarketing,amountBNBScamSeekers,amountBNBDeveloper) (#1137)
- totalBNBDyorReflections = totalBNBDyorReflections.add(marketingBNB).add(DeveloperBNB).add(ScamSeekersBNB) (#1156)
Reentrancy in RugSeekers.swapBack() (#1104-1151):
External calls:
- router.swapExactTokensForETHSupportingFeeOnTransferTokens(amountToSwap,0,path,address(this),block.timestamp) (#1117-1123)
- transferToDistributorAndMarketing(amountBNBReflection,amountBNBMarketing,amountBNBScamSeekers,amountBNBDeveloper) (#1136)
- (success) = address(address(distributor)).call{gas: 30000,value: distributorBNB}() (#1184)
- distributor.deposit() (#1186)
- (successful) = address(marketingFeeReceiver).call{gas: 30000,value: marketingBNB}() (#1191)
- transferToDistributorAndScamSeekers(amountBNBReflection,amountBNBMarketing,amountBNBScamSeekers,amountBNBDeveloper) (#1137)
- (success) = address(address(distributor)).call{gas: 30000,value: distributorBNB}() (#1154)
- distributor.deposit() (#1156)
- (successful) = address(ScamSeekersFeeReceiver).call{gas: 30000,value: ScamSeekersBNB}() (#1161)
- transferToDistributorAndDeveloper(amountBNBReflection,amountBNBMarketing,amountBNBScamSeekers,amountBNBDeveloper) (#1138)
- (success) = address(address(distributor)).call{gas: 30000,value: distributorBNB}() (#1169)
- distributor.deposit() (#1171)
- (successful) = address(DeveloperFeeReceiver).call{gas: 30000,value: DeveloperBNB}() (#1176)
External calls sending eth:
- transferToDistributorAndMarketing(amountBNBReflection,amountBNBMarketing,amountBNBScamSeekers,amountBNBDeveloper) (#1136)
- (success) = address(address(distributor)).call{gas: 30000,value: distributorBNB}() (#1184)
- (successful) = address(marketingFeeReceiver).call{gas: 30000,value: marketingBNB}() (#1191)
- transferToDistributorAndScamSeekers(amountBNBReflection,amountBNBMarketing,amountBNBScamSeekers,amountBNBDeveloper) (#1137)
- (success) = address(address(distributor)).call{gas: 30000,value: distributorBNB}() (#1154)
- (successful) = address(ScamSeekersFeeReceiver).call{gas: 30000,value: ScamSeekersBNB}() (#1161)
- transferToDistributorAndDeveloper(amountBNBReflection,amountBNBMarketing,amountBNBScamSeekers,amountBNBDeveloper) (#1138)
- (success) = address(address(distributor)).call{gas: 30000,value: distributorBNB}() (#1169)
- (successful) = address(DeveloperFeeReceiver).call{gas: 30000,value: DeveloperBNB}() (#1176)
State variables written after the call(s):
- transferToDistributorAndDeveloper(amountBNBReflection,amountBNBMarketing,amountBNBScamSeekers,amountBNBDeveloper) (#1138)
- totalBNBDyorReflections = totalBNBDyorReflections.add(marketingBNB).add(DeveloperBNB).add(ScamSeekersBNB) (#1171)
Apply the check-effects-interactions pattern.
Additional information: link
DividendDistributor.distributeDividend(address) (#817-828) ignores return value by IERC20(DT).transfer(shareholder,amount) (#823)
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.
Reentrancy in RugSeekers.constructor() (#951-983):
External calls:
- pair = IUniswapV2Factory(router.factory()).createPair(WBNB,address(this)) (#956)
State variables written after the call(s):
- WBNB = router.WETH() (#959)
Reentrancy in DividendDistributor.distributeDividend(address) (#817-828):
External calls:
- IERC20(DT).transfer(shareholder,amount) (#823)
State variables written after the call(s):
- shares[shareholder].totalRealised = shares[shareholder].totalRealised.add(amount) (#825)
- shares[shareholder].totalExcluded = getCumulativeDividends(shares[shareholder].amount) (#826)
Reentrancy in DividendDistributor.process(uint256) (#765-789):
External calls:
- distributeDividend(shareholders[currentIndex]) (#781)
- IERC20(DT).transfer(shareholder,amount) (#823)
State variables written after the call(s):
- currentIndex ++ (#786)
Reentrancy in DividendDistributor.processManually() (#791-810):
External calls:
- distributeDividend(shareholders[currentIndex]) (#805)
- IERC20(DT).transfer(shareholder,amount) (#823)
State variables written after the call(s):
- currentIndex ++ (#807)
Reentrancy in DividendDistributor.setShare(address,uint256) (#724-738):
External calls:
- distributeDividend(shareholder) (#726)
- IERC20(DT).transfer(shareholder,amount) (#823)
State variables written after the call(s):
- shares[shareholder].amount = amount (#736)
- shares[shareholder].totalExcluded = getCumulativeDividends(shares[shareholder].amount) (#737)
Apply the check-effects-interactions pattern.
Additional information: link
RugSeekers.swapBack() (#1104-1151) ignores return value by router.addLiquidityETH{value: amountBNBLiquidity}(address(this),amountToLiquify,0,0,autoLiquidityReceiver,block.timestamp) (#1141-1148)
Ensure that all the return values of the function calls are used.
Additional information: link
DividendDistributor.setDistributionCriteria(uint256,uint256,uint256) (#718-722) should emit an event for:
- minPeriod = _minPeriod (#719)
- minDistribution = _minDistribution (#720)
RugSeekers.setFees(uint256,uint256,uint256,uint256,uint256,uint256,uint256) (#1243-1255) should emit an event for:
- liquidityFee = _liquidityFee (#1244)
- ScamSeekersFee = _ScamSeekersFee (#1246)
- reflectionFee = _reflectionFee (#1247)
- marketingFee = _marketingFee (#1248)
- DeveloperFee = _DeveloperFee (#1249)
- totalFeeSells = _liquidityFee.add(_buybackFee).add(_reflectionFee).add(_marketingFee).add(ScamSeekersFee).add(DeveloperFee) (#1250)
- totalFeeBuys = _liquidityFee.add(_buybackFee).add(_reflectionFee).add(_marketingFee).add(ScamSeekersFee).add(DeveloperFee) (#1251)
- feeDenominator = _feeDenominator (#1252)
RugSeekers.setSwapBackSettings(bool,uint256,bool,bool,uint256) (#1291-1297) should emit an event for:
- swapThreshold = _amount (#1293)
- swapThresholdPercentOfCirculatingSupply = percentOfCirculatingSupply (#1295)
RugSeekers.setTargetLiquidity(uint256,uint256) (#1299-1302) should emit an event for:
- targetLiquidity = _target (#1300)
- targetLiquidityDenominator = _denominator (#1301)
RugSeekers.setDistributorGas(uint256) (#1308-1311) should emit an event for:
- distributorGas = gas (#1310)
Emit an event for critical parameter changes.
Additional information: link
DividendDistributor.setDyorAddress(address).nDyor (#861) lacks a zero-check on :
- DT = nDyor (#862)
RugSeekers.setFeeReceivers(address,address,address)._autoLiquidityReceiver (#1277) lacks a zero-check on :
- autoLiquidityReceiver = _autoLiquidityReceiver (#1278)
RugSeekers.setFeeReceivers(address,address,address)._marketingFeeReceiver (#1277) lacks a zero-check on :
- marketingFeeReceiver = _marketingFeeReceiver (#1279)
RugSeekers.setFeeReceivers(address,address,address)._ScamSeekersFeeReceiver (#1277) lacks a zero-check on :
- ScamSeekersFeeReceiver = _ScamSeekersFeeReceiver (#1280)
Check that the address is not zero.
Additional information: link
DividendDistributor.distributeDividend(address) (#817-828) has external calls inside a loop: IERC20(DT).transfer(shareholder,amount) (#823)
Favor pull over push strategy for external calls.
Additional information: link
Reentrancy in RugSeekers.buyTokens(uint256,address) (#1216-1230):
External calls:
- router.swapExactETHForTokensSupportingFeeOnTransferTokens{value: amount}(0,path,to,block.timestamp.add(30)) (#1221-1226)
State variables written after the call(s):
- swapThreshold = getCirculatingSupply().div(swapThresholdPercentOfCirculatingSupply) (#1228)
Reentrancy in RugSeekers.constructor() (#951-983):
External calls:
- pair = IUniswapV2Factory(router.factory()).createPair(WBNB,address(this)) (#956)
State variables written after the call(s):
- _allowances[address(this)][address(router)] = _totalSupply (#957)
- approve(_dexRouter,_totalSupply) (#979)
- _allowances[msg.sender][spender] = amount (#1007)
- approve(address(pair),_totalSupply) (#980)
- _allowances[msg.sender][spender] = amount (#1007)
- _balances[msg.sender] = _totalSupply (#981)
- autoLiquidityReceiver = DEAD (#963)
- distributor = new DividendDistributor(_dexRouter) (#961)
- isDividendExempt[pair] = true (#976)
- isDividendExempt[address(this)] = true (#977)
- isDividendExempt[DEAD] = true (#978)
- isFeeExempt[msg.sender] = true (#965)
- isTxLimitExempt[msg.sender] = true (#967)
- isTxLimitExempt[ScamSeekersFeeReceiver] = true (#968)
- isTxLimitExempt[msg.sender] = true (#970)
- isTxLimitExempt[marketingFeeReceiver] = true (#971)
- isTxLimitExempt[msg.sender] = true (#973)
- isTxLimitExempt[DeveloperFeeReceiver] = true (#974)
Reentrancy in DividendDistributor.deposit() (#740-763):
External calls:
- router.swapExactETHForTokensSupportingFeeOnTransferTokens{value: swapToDyorThreshold}(0,path,address(this),block.timestamp) (#751-756)
State variables written after the call(s):
- dividendsPerShare = dividendsPerShare.add(dividendsPerShareAccuracyFactor.mul(amount).div(totalShares)) (#761)
- totalDividends = totalDividends.add(amount) (#760)
Reentrancy in DividendDistributor.distributeDividend(address) (#817-828):
External calls:
- IERC20(DT).transfer(shareholder,amount) (#823)
State variables written after the call(s):
- shareholderClaims[shareholder] = block.timestamp (#824)
Reentrancy in DividendDistributor.setShare(address,uint256) (#724-738):
External calls:
- distributeDividend(shareholder) (#726)
- IERC20(DT).transfer(shareholder,amount) (#823)
State variables written after the call(s):
- addShareholder(shareholder) (#730)
- shareholderIndexes[shareholder] = shareholders.length (#851)
- removeShareholder(shareholder) (#732)
- shareholderIndexes[shareholders[shareholders.length - 1]] = shareholderIndexes[shareholder] (#857)
- addShareholder(shareholder) (#730)
- shareholders.push(shareholder) (#852)
- removeShareholder(shareholder) (#732)
- shareholders[shareholderIndexes[shareholder]] = shareholders[shareholders.length - 1] (#856)
- shareholders.pop() (#858)
- totalShares = totalShares.sub(shares[shareholder].amount).add(amount) (#735)
Reentrancy in RugSeekers.transferToDistributorAndDeveloper(uint256,uint256,uint256,uint256) (#1168-1181):
External calls:
- (success) = address(address(distributor)).call{gas: 30000,value: distributorBNB}() (#1169)
- distributor.deposit() (#1171)
External calls sending eth:
- (success) = address(address(distributor)).call{gas: 30000,value: distributorBNB}() (#1169)
State variables written after the call(s):
- totalBNBDyorReflections = totalBNBDyorReflections.add(marketingBNB).add(DeveloperBNB).add(ScamSeekersBNB) (#1171)
Reentrancy in RugSeekers.transferToDistributorAndDeveloper(uint256,uint256,uint256,uint256) (#1168-1181):
External calls:
- (success) = address(address(distributor)).call{gas: 30000,value: distributorBNB}() (#1169)
- distributor.deposit() (#1171)
- (successful) = address(DeveloperFeeReceiver).call{gas: 30000,value: DeveloperBNB}() (#1176)
External calls sending eth:
- (success) = address(address(distributor)).call{gas: 30000,value: distributorBNB}() (#1169)
- (successful) = address(DeveloperFeeReceiver).call{gas: 30000,value: DeveloperBNB}() (#1176)
State variables written after the call(s):
- totalBNBDeveloper = totalBNBDeveloper.add(marketingBNB).add(ScamSeekersBNB).add(DeveloperBNB) (#1178)
Reentrancy in RugSeekers.transferToDistributorAndMarketing(uint256,uint256,uint256,uint256) (#1183-1196):
External calls:
- (success) = address(address(distributor)).call{gas: 30000,value: distributorBNB}() (#1184)
- distributor.deposit() (#1186)
External calls sending eth:
- (success) = address(address(distributor)).call{gas: 30000,value: distributorBNB}() (#1184)
State variables written after the call(s):
- totalBNBDyorReflections = totalBNBDyorReflections.add(marketingBNB).add(ScamSeekersBNB).add(DeveloperBNB) (#1186)
Reentrancy in RugSeekers.transferToDistributorAndMarketing(uint256,uint256,uint256,uint256) (#1183-1196):
External calls:
- (success) = address(address(distributor)).call{gas: 30000,value: distributorBNB}() (#1184)
- distributor.deposit() (#1186)
- (successful) = address(marketingFeeReceiver).call{gas: 30000,value: marketingBNB}() (#1191)
External calls sending eth:
- (success) = address(address(distributor)).call{gas: 30000,value: distributorBNB}() (#1184)
- (successful) = address(marketingFeeReceiver).call{gas: 30000,value: marketingBNB}() (#1191)
State variables written after the call(s):
- totalBNBMarketing = totalBNBMarketing.add(marketingBNB).add(ScamSeekersBNB).add(DeveloperBNB) (#1193)
Reentrancy in RugSeekers.transferToDistributorAndScamSeekers(uint256,uint256,uint256,uint256) (#1153-1166):
External calls:
- (success) = address(address(distributor)).call{gas: 30000,value: distributorBNB}() (#1154)
- distributor.deposit() (#1156)
External calls sending eth:
- (success) = address(address(distributor)).call{gas: 30000,value: distributorBNB}() (#1154)
State variables written after the call(s):
- totalBNBDyorReflections = totalBNBDyorReflections.add(marketingBNB).add(DeveloperBNB).add(ScamSeekersBNB) (#1156)
Reentrancy in RugSeekers.transferToDistributorAndScamSeekers(uint256,uint256,uint256,uint256) (#1153-1166):
External calls:
- (success) = address(address(distributor)).call{gas: 30000,value: distributorBNB}() (#1154)
- distributor.deposit() (#1156)
- (successful) = address(ScamSeekersFeeReceiver).call{gas: 30000,value: ScamSeekersBNB}() (#1161)
External calls sending eth:
- (success) = address(address(distributor)).call{gas: 30000,value: distributorBNB}() (#1154)
- (successful) = address(ScamSeekersFeeReceiver).call{gas: 30000,value: ScamSeekersBNB}() (#1161)
State variables written after the call(s):
- totalBNBScamSeekers = totalBNBScamSeekers.add(marketingBNB).add(ScamSeekersBNB).add(distributorBNB) (#1163)
Reentrancy in RugSeekers.triggerAutoBuyback() (#1207-1211):
External calls:
- buyTokens(autoBuybackAmount,DEAD) (#1208)
- router.swapExactETHForTokensSupportingFeeOnTransferTokens{value: amount}(0,path,to,block.timestamp.add(30)) (#1221-1226)
State variables written after the call(s):
- autoBuybackAccumulator = autoBuybackAccumulator.add(autoBuybackAmount) (#1210)
- autoBuybackBlockLast = block.number (#1209)
Apply the check-effects-interactions pattern.
Additional information: link
Reentrancy in RugSeekers._transferFrom(address,address,uint256) (#1028-1057):
External calls:
- swapBack() (#1044)
- (success) = address(address(distributor)).call{gas: 30000,value: distributorBNB}() (#1184)
- (success) = address(address(distributor)).call{gas: 30000,value: distributorBNB}() (#1169)
- (success) = address(address(distributor)).call{gas: 30000,value: distributorBNB}() (#1154)
- distributor.deposit() (#1186)
- distributor.deposit() (#1171)
- distributor.deposit() (#1156)
- router.swapExactTokensForETHSupportingFeeOnTransferTokens(amountToSwap,0,path,address(this),block.timestamp) (#1117-1123)
- (successful) = address(marketingFeeReceiver).call{gas: 30000,value: marketingBNB}() (#1191)
- (successful) = address(DeveloperFeeReceiver).call{gas: 30000,value: DeveloperBNB}() (#1176)
- (successful) = address(ScamSeekersFeeReceiver).call{gas: 30000,value: ScamSeekersBNB}() (#1161)
- router.addLiquidityETH{value: amountBNBLiquidity}(address(this),amountToLiquify,0,0,autoLiquidityReceiver,block.timestamp) (#1141-1148)
- amountReceived = handleTransferBody(sender,recipient,amount) (#1045)
- distributor.setShare(sender,_balances[sender]) (#1066)
- distributor.setShare(recipient,_balances[recipient]) (#1067)
- triggerAutoBuyback() (#1047)
- router.swapExactETHForTokensSupportingFeeOnTransferTokens{value: amount}(0,path,to,block.timestamp.add(30)) (#1221-1226)
- amountReceived = handleTransferBody(sender,recipient,amount) (#1048)
- distributor.setShare(sender,_balances[sender]) (#1066)
- distributor.setShare(recipient,_balances[recipient]) (#1067)
- amountReceived = handleTransferBody(sender,recipient,amount) (#1050)
- distributor.setShare(sender,_balances[sender]) (#1066)
- distributor.setShare(recipient,_balances[recipient]) (#1067)
- distributor.process(gasToUse) (#1052)
External calls sending eth:
- swapBack() (#1044)
- (success) = address(address(distributor)).call{gas: 30000,value: distributorBNB}() (#1184)
- (success) = address(address(distributor)).call{gas: 30000,value: distributorBNB}() (#1169)
- (success) = address(address(distributor)).call{gas: 30000,value: distributorBNB}() (#1154)
- (successful) = address(marketingFeeReceiver).call{gas: 30000,value: marketingBNB}() (#1191)
- (successful) = address(DeveloperFeeReceiver).call{gas: 30000,value: DeveloperBNB}() (#1176)
- (successful) = address(ScamSeekersFeeReceiver).call{gas: 30000,value: ScamSeekersBNB}() (#1161)
- router.addLiquidityETH{value: amountBNBLiquidity}(address(this),amountToLiquify,0,0,autoLiquidityReceiver,block.timestamp) (#1141-1148)
- triggerAutoBuyback() (#1047)
- router.swapExactETHForTokensSupportingFeeOnTransferTokens{value: amount}(0,path,to,block.timestamp.add(30)) (#1221-1226)
Event emitted after the call(s):
- Transfer(sender,recipient,amountReceived) (#1055)
Reentrancy in RugSeekers.constructor() (#951-983):
External calls:
- pair = IUniswapV2Factory(router.factory()).createPair(WBNB,address(this)) (#956)
Event emitted after the call(s):
- Approval(msg.sender,spender,amount) (#1008)
- approve(address(pair),_totalSupply) (#980)
- Approval(msg.sender,spender,amount) (#1008)
- approve(_dexRouter,_totalSupply) (#979)
- Transfer(address(0),msg.sender,_totalSupply) (#982)
Reentrancy in RugSeekers.swapBack() (#1104-1151):
External calls:
- router.swapExactTokensForETHSupportingFeeOnTransferTokens(amountToSwap,0,path,address(this),block.timestamp) (#1117-1123)
- transferToDistributorAndMarketing(amountBNBReflection,amountBNBMarketing,amountBNBScamSeekers,amountBNBDeveloper) (#1136)
- (success) = address(address(distributor)).call{gas: 30000,value: distributorBNB}() (#1184)
- distributor.deposit() (#1186)
- (successful) = address(marketingFeeReceiver).call{gas: 30000,value: marketingBNB}() (#1191)
- transferToDistributorAndScamSeekers(amountBNBReflection,amountBNBMarketing,amountBNBScamSeekers,amountBNBDeveloper) (#1137)
- (success) = address(address(distributor)).call{gas: 30000,value: distributorBNB}() (#1154)
- distributor.deposit() (#1156)
- (successful) = address(ScamSeekersFeeReceiver).call{gas: 30000,value: ScamSeekersBNB}() (#1161)
- transferToDistributorAndDeveloper(amountBNBReflection,amountBNBMarketing,amountBNBScamSeekers,amountBNBDeveloper) (#1138)
- (success) = address(address(distributor)).call{gas: 30000,value: distributorBNB}() (#1169)
- distributor.deposit() (#1171)
- (successful) = address(DeveloperFeeReceiver).call{gas: 30000,value: DeveloperBNB}() (#1176)
- router.addLiquidityETH{value: amountBNBLiquidity}(address(this),amountToLiquify,0,0,autoLiquidityReceiver,block.timestamp) (#1141-1148)
External calls sending eth:
- transferToDistributorAndMarketing(amountBNBReflection,amountBNBMarketing,amountBNBScamSeekers,amountBNBDeveloper) (#1136)
- (success) = address(address(distributor)).call{gas: 30000,value: distributorBNB}() (#1184)
- (successful) = address(marketingFeeReceiver).call{gas: 30000,value: marketingBNB}() (#1191)
- transferToDistributorAndScamSeekers(amountBNBReflection,amountBNBMarketing,amountBNBScamSeekers,amountBNBDeveloper) (#1137)
- (success) = address(address(distributor)).call{gas: 30000,value: distributorBNB}() (#1154)
- (successful) = address(ScamSeekersFeeReceiver).call{gas: 30000,value: ScamSeekersBNB}() (#1161)
- transferToDistributorAndDeveloper(amountBNBReflection,amountBNBMarketing,amountBNBScamSeekers,amountBNBDeveloper) (#1138)
- (success) = address(address(distributor)).call{gas: 30000,value: distributorBNB}() (#1169)
- (successful) = address(DeveloperFeeReceiver).call{gas: 30000,value: DeveloperBNB}() (#1176)
- router.addLiquidityETH{value: amountBNBLiquidity}(address(this),amountToLiquify,0,0,autoLiquidityReceiver,block.timestamp) (#1141-1148)
Event emitted after the call(s):
- AutoLiquify(amountBNBLiquidity,amountToLiquify) (#1149)
Apply the check-effects-interactions pattern.
Additional information: link
Ownable.unlock() (#459-464) uses timestamp for comparisons
Dangerous comparisons:
- require(bool,string)(block.timestamp > _lockTime,Contract is locked) (#461)
DividendDistributor.shouldDistribute(address) (#812-815) uses timestamp for comparisons
Dangerous comparisons:
- shareholderClaims[shareholder] + minPeriod < block.timestamp && getUnpaidEarnings(shareholder) > minDistribution (#813-814)
Avoid relying on block.timestamp.
Additional information: link
Address.isContract(address) (#53-62) uses assembly
- INLINE ASM (#60)
Address._functionCallWithValue(address,bytes,uint256,string) (#146-167) uses assembly
- INLINE ASM (#159-162)
Do not use evm assembly.
Additional information: link
DividendDistributor.process(uint256) (#765-789) has costly operations inside a loop:
- currentIndex = 0 (#777)
DividendDistributor.distributeDividend(address) (#817-828) has costly operations inside a loop:
- totalDistributed = totalDistributed.add(amount) (#822)
DividendDistributor.process(uint256) (#765-789) has costly operations inside a loop:
- currentIndex ++ (#786)
DividendDistributor.processManually() (#791-810) has costly operations inside a loop:
- currentIndex = 0 (#801)
DividendDistributor.processManually() (#791-810) has costly operations inside a loop:
- currentIndex ++ (#807)
Use a local variable to hold the loop computation result.
Additional information: link
Address._functionCallWithValue(address,bytes,uint256,string) (#146-167) is never used and should be removed
Address.functionCall(address,bytes) (#106-108) is never used and should be removed
Address.functionCall(address,bytes,string) (#116-118) is never used and should be removed
Address.functionCallWithValue(address,bytes,uint256) (#131-133) is never used and should be removed
Address.functionCallWithValue(address,bytes,uint256,string) (#141-144) is never used and should be removed
Address.isContract(address) (#53-62) is never used and should be removed
Address.sendValue(address,uint256) (#80-86) is never used and should be removed
Context._msgData() (#387-390) is never used and should be removed
DividendDistributor.claimDividend() (#830-833) is never used and should be removed
RugSeekers.getBNBQuantityInContract() (#1358-1360) is never used and should be removed
RugSeekers.manuallyProcessDividend(uint256) (#1233-1241) is never used and should be removed
RugSeekers.setAllowTransferToDevevloper(bool) (#1336-1338) is never used and should be removed
RugSeekers.setAllowTransferToMarketing(bool) (#1341-1343) is never used and should be removed
RugSeekers.setAllowTransferToScamSeekers(bool) (#1332-1334) is never used and should be removed
RugSeekers.setAutoBuybackSettings(bool,uint256,uint256) (#1283-1289) is never used and should be removed
RugSeekers.setDexRouter(address) (#1345-1348) is never used and should be removed
SafeMath.mod(uint256,uint256) (#360-362) is never used and should be removed
SafeMath.mod(uint256,uint256,string) (#376-379) is never used and should be removed
Remove unused functions.
Additional information: link
RugSeekers._maxTxAmount (#884) is set pre-construction with a non-constant function or state variable:
- _totalSupply.div(400)
RugSeekers.swapThreshold (#933) is set pre-construction with a non-constant function or state variable:
- _totalSupply.div(100000)
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) (#80-86):
- (success) = recipient.call{value: amount}() (#84)
Low level call in Address._functionCallWithValue(address,bytes,uint256,string) (#146-167):
- (success,returndata) = target.call{value: weiValue}(data) (#150)
Low level call in RugSeekers.transferToDistributorAndScamSeekers(uint256,uint256,uint256,uint256) (#1153-1166):
- (success) = address(address(distributor)).call{gas: 30000,value: distributorBNB}() (#1154)
- (successful) = address(ScamSeekersFeeReceiver).call{gas: 30000,value: ScamSeekersBNB}() (#1161)
Low level call in RugSeekers.transferToDistributorAndDeveloper(uint256,uint256,uint256,uint256) (#1168-1181):
- (success) = address(address(distributor)).call{gas: 30000,value: distributorBNB}() (#1169)
- (successful) = address(DeveloperFeeReceiver).call{gas: 30000,value: DeveloperBNB}() (#1176)
Low level call in RugSeekers.transferToDistributorAndMarketing(uint256,uint256,uint256,uint256) (#1183-1196):
- (success) = address(address(distributor)).call{gas: 30000,value: distributorBNB}() (#1184)
- (successful) = address(marketingFeeReceiver).call{gas: 30000,value: marketingBNB}() (#1191)
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() (#498) is not in mixedCase
Function IUniswapV2Pair.PERMIT_TYPEHASH() (#499) is not in mixedCase
Function IUniswapV2Pair.MINIMUM_LIQUIDITY() (#516) is not in mixedCase
Function IUniswapV2Router01.WETH() (#535) is not in mixedCase
Parameter DividendDistributor.setDistributionCriteria(uint256,uint256,uint256)._minPeriod (#718) is not in mixedCase
Parameter DividendDistributor.setDistributionCriteria(uint256,uint256,uint256)._minDistribution (#718) is not in mixedCase
Parameter DividendDistributor.setDistributionCriteria(uint256,uint256,uint256)._bnbToDyorThreshold (#718) is not in mixedCase
Variable DividendDistributor._token (#674) is not in mixedCase
Variable DividendDistributor.DT (#682) is not in mixedCase
Variable DividendDistributor.WBNB (#684) is not in mixedCase
Parameter RugSeekers.transferToDistributorAndScamSeekers(uint256,uint256,uint256,uint256).ScamSeekersBNB (#1153) is not in mixedCase
Parameter RugSeekers.transferToDistributorAndScamSeekers(uint256,uint256,uint256,uint256).DeveloperBNB (#1153) is not in mixedCase
Parameter RugSeekers.transferToDistributorAndDeveloper(uint256,uint256,uint256,uint256).ScamSeekersBNB (#1168) is not in mixedCase
Parameter RugSeekers.transferToDistributorAndDeveloper(uint256,uint256,uint256,uint256).DeveloperBNB (#1168) is not in mixedCase
Parameter RugSeekers.transferToDistributorAndMarketing(uint256,uint256,uint256,uint256).ScamSeekersBNB (#1183) is not in mixedCase
Parameter RugSeekers.transferToDistributorAndMarketing(uint256,uint256,uint256,uint256).DeveloperBNB (#1183) is not in mixedCase
Parameter RugSeekers.setFees(uint256,uint256,uint256,uint256,uint256,uint256,uint256)._ScamSeekersFee (#1243) is not in mixedCase
Parameter RugSeekers.setFees(uint256,uint256,uint256,uint256,uint256,uint256,uint256)._liquidityFee (#1243) is not in mixedCase
Parameter RugSeekers.setFees(uint256,uint256,uint256,uint256,uint256,uint256,uint256)._buybackFee (#1243) is not in mixedCase
Parameter RugSeekers.setFees(uint256,uint256,uint256,uint256,uint256,uint256,uint256)._reflectionFee (#1243) is not in mixedCase
Parameter RugSeekers.setFees(uint256,uint256,uint256,uint256,uint256,uint256,uint256)._marketingFee (#1243) is not in mixedCase
Parameter RugSeekers.setFees(uint256,uint256,uint256,uint256,uint256,uint256,uint256)._DeveloperFee (#1243) is not in mixedCase
Parameter RugSeekers.setFees(uint256,uint256,uint256,uint256,uint256,uint256,uint256)._feeDenominator (#1243) is not in mixedCase
Parameter RugSeekers.setFeeReceivers(address,address,address)._autoLiquidityReceiver (#1277) is not in mixedCase
Parameter RugSeekers.setFeeReceivers(address,address,address)._marketingFeeReceiver (#1277) is not in mixedCase
Parameter RugSeekers.setFeeReceivers(address,address,address)._ScamSeekersFeeReceiver (#1277) is not in mixedCase
Parameter RugSeekers.setAutoBuybackSettings(bool,uint256,uint256)._enabled (#1283) is not in mixedCase
Parameter RugSeekers.setAutoBuybackSettings(bool,uint256,uint256)._amount (#1283) is not in mixedCase
Parameter RugSeekers.setAutoBuybackSettings(bool,uint256,uint256)._period (#1283) is not in mixedCase
Parameter RugSeekers.setSwapBackSettings(bool,uint256,bool,bool,uint256)._enabled (#1291) is not in mixedCase
Parameter RugSeekers.setSwapBackSettings(bool,uint256,bool,bool,uint256)._amount (#1291) is not in mixedCase
Parameter RugSeekers.setTargetLiquidity(uint256,uint256)._target (#1299) is not in mixedCase
Parameter RugSeekers.setTargetLiquidity(uint256,uint256)._denominator (#1299) is not in mixedCase
Parameter RugSeekers.setDistributionCriteria(uint256,uint256,uint256)._minPeriod (#1304) is not in mixedCase
Parameter RugSeekers.setDistributionCriteria(uint256,uint256,uint256)._minDistribution (#1304) is not in mixedCase
Parameter RugSeekers.setDistributionCriteria(uint256,uint256,uint256)._bnbToDyorThreshold (#1304) is not in mixedCase
Parameter RugSeekers.setAllowTransferToScamSeekers(bool)._canSendToScamSeekers (#1332) is not in mixedCase
Parameter RugSeekers.setAllowTransferToDevevloper(bool)._canSendToDeveloper (#1336) is not in mixedCase
Parameter RugSeekers.setAllowTransferToMarketing(bool)._canSendToMarketing (#1341) is not in mixedCase
Parameter RugSeekers.setBotBlocker5000(address,bool)._address (#1381) is not in mixedCase
Parameter RugSeekers.setBotBlocker5000(address,bool)._isBlackListed (#1381) is not in mixedCase
Variable RugSeekers.WBNB (#875) is not in mixedCase
Variable RugSeekers.DEAD (#877) is not in mixedCase
Constant RugSeekers._name (#879) is not in UPPER_CASE_WITH_UNDERSCORES
Constant RugSeekers._symbol (#880) is not in UPPER_CASE_WITH_UNDERSCORES
Constant RugSeekers._decimals (#881) is not in UPPER_CASE_WITH_UNDERSCORES
Variable RugSeekers._totalSupply (#883) is not in mixedCase
Variable RugSeekers._maxTxAmount (#884) is not in mixedCase
Variable RugSeekers._balances (#886) is not in mixedCase
Variable RugSeekers._allowances (#887) is not in mixedCase
Variable RugSeekers.is_BotBlocker5000 (#892) is not in mixedCase
Variable RugSeekers.ScamSeekersFee (#899) is not in mixedCase
Variable RugSeekers.DeveloperFee (#900) is not in mixedCase
Variable RugSeekers.ScamSeekersFeeReceiver (#908) is not in mixedCase
Variable RugSeekers.DeveloperFeeReceiver (#912) is not in mixedCase
Follow the Solidity naming convention.
Additional information: link
Redundant expression "this (#388)" inContext (#382-391)
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 (#540) is too similar to IUniswapV2Router01.addLiquidity(address,address,uint256,uint256,uint256,uint256,address,uint256).amountBDesired (#541)
Prevent variables from having similar names.
Additional information: link
RugSeekers.setDistributorGas(uint256) (#1308-1311) uses literals with too many digits:
- require(bool)(gas < 1000000) (#1309)
RugSeekers.slitherConstructorVariables() (#868-1388) uses literals with too many digits:
- DEAD = 0x000000000000000000000000000000000000dEaD (#877)
RugSeekers.slitherConstructorVariables() (#868-1388) uses literals with too many digits:
- distributorGas = 500000 (#930)
RugSeekers.slitherConstructorVariables() (#868-1388) uses literals with too many digits:
- swapThreshold = _totalSupply.div(100000) (#933)
RugSeekers.slitherConstructorVariables() (#868-1388) uses literals with too many digits:
- swapThresholdPercentOfCirculatingSupply = 100000 (#936)
Use: Ether suffix, Time suffix, or The scientific notation
Additional information: link
RugSeekers.is_BotBlocker5000 (#892) is never used in RugSeekers (#868-1388)
Remove unused state variables.
Additional information: link
DividendDistributor.WBNB (#684) should be constant
DividendDistributor.dividendsPerShareAccuracyFactor (#697) should be constant
RugSeekers.DEAD (#877) should be constant
RugSeekers.DeveloperFeeReceiver (#912) should be constant
RugSeekers._totalSupply (#883) should be constant
Add the constant attributes to state variables that never change.
Additional information: link
owner() should be declared external:
- Ownable.owner() (#412-414)
renounceOwnership() should be declared external:
- Ownable.renounceOwnership() (#431-434)
transferOwnership(address) should be declared external:
- Ownable.transferOwnership(address) (#440-444)
geUnlockTime() should be declared external:
- Ownable.geUnlockTime() (#446-448)
lock(uint256) should be declared external:
- Ownable.lock(uint256) (#451-456)
unlock() should be declared external:
- Ownable.unlock() (#459-464)
name() should be declared external:
- RugSeekers.name() (#990-992)
symbol() should be declared external:
- RugSeekers.symbol() (#994-996)
decimals() should be declared external:
- RugSeekers.decimals() (#998-1000)
isBlackListed(address) should be declared external:
- RugSeekers.isBlackListed(address) (#1002-1004)
setAutoBuyBack(bool) should be declared external:
- RugSeekers.setAutoBuyBack(bool) (#1350-1352)
setDyorContractAddress(address) should be declared external:
- RugSeekers.setDyorContractAddress(address) (#1354-1356)
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.
Token is deployed only at one blockchain
Token has only one trading pair
Unable to find PancakeSwap trading pair to compute liquidity.
Unable to find PancakeSwap trading pair to compute volume.
Unable to find PancakeSwap trading pair to compute number of swaps.
Token was delisted (assigned to inactive / untracked listing) from CoinMarketCap
Additional information: link
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
Unable to find code repository for the project
Young tokens have high risks of scam / price dump / death
Token has no active CoinMarketCap listing / rank
Young tokens have high risks of price dump / death
Young tokens have high risks of price dump / death
Young tokens have high risks of price dump / death
Token has relatively low CoinGecko rank
Last post in Twitter was more than 30 days ago