DogeStar is a community of crypto enthusiasts who want to make NFT much cooler. Be the owner of the first NFT collection of famous doge star in the metaverse. Carefully designed by our talented artist which encompasses between our memes token and metaverse world. The Xxxsmall size of the NFT collection will allow the value of our collection to climb faster. Be among the earlier supporters of the DogeStar and gain access to our Xsmall NFT collection 🐶💫
DogeStar.swapBack() (contracts/DogeStar.sol#552-602) sends eth to arbitrary user
Dangerous calls:
- (success) = address(marketingFeeReceiver).call{gas: 30000,value: amountBNBMarketing}() (contracts/DogeStar.sol#579)
- (successs) = address(buybackFeeReceiver).call{gas: 30000,value: amountBNBDividend}() (contracts/DogeStar.sol#581)
- (successss) = address(devFeeReceiver).call{gas: 30000,value: amountBNBDev}() (contracts/DogeStar.sol#600)
Ensure that an arbitrary user cannot withdraw unauthorized funds.
Additional information: link
Reentrancy in DogeStar._transferFrom(address,address,uint256) (contracts/DogeStar.sol#483-507):
External calls:
- swapBack() (contracts/DogeStar.sol#492)
- router.swapExactTokensForETHSupportingFeeOnTransferTokens(amountToSwap,0,path,address(this),block.timestamp) (contracts/DogeStar.sol#563-569)
- distributor.deposit{value: amountBNBReflection}() (contracts/DogeStar.sol#578)
- (success) = address(marketingFeeReceiver).call{gas: 30000,value: amountBNBMarketing}() (contracts/DogeStar.sol#579)
- (successs) = address(buybackFeeReceiver).call{gas: 30000,value: amountBNBDividend}() (contracts/DogeStar.sol#581)
- router.addLiquidityETH{value: amountBNBLiquidity}(address(this),amountToLiquify,0,0,autoLiquidityReceiver,block.timestamp) (contracts/DogeStar.sol#587-594)
- (successss) = address(devFeeReceiver).call{gas: 30000,value: amountBNBDev}() (contracts/DogeStar.sol#600)
- triggerAutoBuyback() (contracts/DogeStar.sol#493)
- router.swapExactETHForTokensSupportingFeeOnTransferTokens{value: amount}(0,path,to,block.timestamp) (contracts/DogeStar.sol#645-650)
External calls sending eth:
- swapBack() (contracts/DogeStar.sol#492)
- distributor.deposit{value: amountBNBReflection}() (contracts/DogeStar.sol#578)
- (success) = address(marketingFeeReceiver).call{gas: 30000,value: amountBNBMarketing}() (contracts/DogeStar.sol#579)
- (successs) = address(buybackFeeReceiver).call{gas: 30000,value: amountBNBDividend}() (contracts/DogeStar.sol#581)
- router.addLiquidityETH{value: amountBNBLiquidity}(address(this),amountToLiquify,0,0,autoLiquidityReceiver,block.timestamp) (contracts/DogeStar.sol#587-594)
- (successss) = address(devFeeReceiver).call{gas: 30000,value: amountBNBDev}() (contracts/DogeStar.sol#600)
- triggerAutoBuyback() (contracts/DogeStar.sol#493)
- router.swapExactETHForTokensSupportingFeeOnTransferTokens{value: amount}(0,path,to,block.timestamp) (contracts/DogeStar.sol#645-650)
State variables written after the call(s):
- _balances[sender] = _balances[sender].sub(amount,Insufficient Balance) (contracts/DogeStar.sol#495)
- _balances[recipient] = _balances[recipient].add(amountReceived) (contracts/DogeStar.sol#498)
- amountReceived = takeFee(sender,recipient,amount) (contracts/DogeStar.sol#497)
- _balances[address(this)] = _balances[address(this)].add(feeAmount) (contracts/DogeStar.sol#538)
- triggerAutoBuyback() (contracts/DogeStar.sol#493)
- inSwap = true (contracts/DogeStar.sol#422)
- inSwap = false (contracts/DogeStar.sol#422)
Apply the check-effects-interactions pattern.
Additional information: link
DividendDistributor.distributeDividend(address) (contracts/DogeStar.sol#312-323) ignores return value by rewardsToken.transfer(shareholder,amount) (contracts/DogeStar.sol#318)
Use SafeERC20, or ensure that the transfer/transferFrom return value is checked.
Additional information: link
Unable to verify that contract auditor is trusted: Certik, Quantstamp, Hacken, Solidity, Paladinsec, Openzeppelin, Verichains
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.
DividendDistributor.setDistributionCriteria(uint256,uint256) (contracts/DogeStar.sol#240-243) should emit an event for:
- minPeriod = _minPeriod (contracts/DogeStar.sol#241)
- minDistribution = _minDistribution (contracts/DogeStar.sol#242)
DogeStar.setAutoBuybackSettings(bool,uint256,uint256,uint256,bool) (contracts/DogeStar.sol#653-661) should emit an event for:
- autoBuybackCap = _cap (contracts/DogeStar.sol#655)
- autoBuybackAmount = _amount (contracts/DogeStar.sol#657)
DogeStar.setBuybackMultiplierSettings(uint256,uint256,uint256) (contracts/DogeStar.sol#663-667) should emit an event for:
- buybackMultiplierNumerator = numerator (contracts/DogeStar.sol#664)
- buybackMultiplierDenominator = denominator (contracts/DogeStar.sol#665)
- buybackMultiplierLength = length (contracts/DogeStar.sol#666)
DogeStar.setTxLimit(uint256) (contracts/DogeStar.sol#669-672) should emit an event for:
- _maxTxAmount = amount (contracts/DogeStar.sol#671)
DogeStar.setFees(uint256,uint256,uint256,uint256,uint256,uint256) (contracts/DogeStar.sol#692-700) should emit an event for:
- liquidityFee = _liquidityFee (contracts/DogeStar.sol#693)
- reflectionFee = _reflectionFee (contracts/DogeStar.sol#694)
- marketingFee = _marketingFee (contracts/DogeStar.sol#695)
- buybackFee = _buybackFee (contracts/DogeStar.sol#696)
- devFee = _devFee (contracts/DogeStar.sol#697)
- totalFee = _liquidityFee.add(_reflectionFee).add(_marketingFee).add(_buybackFee).add(_devFee) (contracts/DogeStar.sol#698)
- feeDenominator = _feeDenominator (contracts/DogeStar.sol#699)
DogeStar.setSwapBackSettings(bool,uint256) (contracts/DogeStar.sol#709-712) should emit an event for:
- swapThreshold = _amount (contracts/DogeStar.sol#711)
DogeStar.setTargetLiquidity(uint256,uint256) (contracts/DogeStar.sol#714-717) should emit an event for:
- targetLiquidity = _target (contracts/DogeStar.sol#715)
- targetLiquidityDenominator = _denominator (contracts/DogeStar.sol#716)
Emit an event for critical parameter changes.
Additional information: link
DogeStar.slitherConstructorVariables() (contracts/DogeStar.sol#361-762) uses literals with too many digits:
- DEAD = 0x000000000000000000000000000000000000dEaD (contracts/DogeStar.sol#365)
DogeStar.slitherConstructorVariables() (contracts/DogeStar.sol#361-762) uses literals with too many digits:
- ZERO = 0x0000000000000000000000000000000000000000 (contracts/DogeStar.sol#366)
DogeStar.slitherConstructorVariables() (contracts/DogeStar.sol#361-762) uses literals with too many digits:
- _totalSupply = 1000000000 * (10 ** _decimals) (contracts/DogeStar.sol#372)
DogeStar.slitherConstructorVariables() (contracts/DogeStar.sol#361-762) uses literals with too many digits:
- distributorGas = 500000 (contracts/DogeStar.sol#417)
Use: Ether suffix, Time suffix, or The scientific notation
Additional information: link
DividendDistributor.WBNB (contracts/DogeStar.sol#202) should be constant
DividendDistributor.dividendsPerShareAccuracyFactor (contracts/DogeStar.sol#215) should be constant
DogeStar.DEAD (contracts/DogeStar.sol#365) should be constant
DogeStar.WBNB (contracts/DogeStar.sol#364) should be constant
DogeStar.ZERO (contracts/DogeStar.sol#366) should be constant
DogeStar._totalSupply (contracts/DogeStar.sol#372) 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) (contracts/DogeStar.sol#94-96)
unauthorize(address) should be declared external:
- Auth.unauthorize(address) (contracts/DogeStar.sol#101-103)
transferOwnership(address) should be declared external:
- Auth.transferOwnership(address) (contracts/DogeStar.sol#122-126)
tradingStatus(bool) should be declared external:
- DogeStar.tradingStatus(bool) (contracts/DogeStar.sol#479-481)
getUnpaidEarnings(address) should be declared external:
- DogeStar.getUnpaidEarnings(address) (contracts/DogeStar.sol#738-740)
Use the external attribute for functions never called from the contract.
Additional information: link
Variable IDEXRouter.addLiquidity(address,address,uint256,uint256,uint256,uint256,address,uint256).amountADesired (contracts/DogeStar.sol#142) is too similar to IDEXRouter.addLiquidity(address,address,uint256,uint256,uint256,uint256,address,uint256).amountBDesired (contracts/DogeStar.sol#143)
Prevent variables from having similar names.
Additional information: link
Reentrancy in DividendDistributor.distributeDividend(address) (contracts/DogeStar.sol#312-323):
External calls:
- rewardsToken.transfer(shareholder,amount) (contracts/DogeStar.sol#318)
State variables written after the call(s):
- shares[shareholder].totalRealised = shares[shareholder].totalRealised.add(amount) (contracts/DogeStar.sol#320)
- shares[shareholder].totalExcluded = getCumulativeDividends(shares[shareholder].amount) (contracts/DogeStar.sol#321)
Reentrancy in DividendDistributor.process(uint256) (contracts/DogeStar.sol#281-305):
External calls:
- distributeDividend(shareholders[currentIndex]) (contracts/DogeStar.sol#297)
- rewardsToken.transfer(shareholder,amount) (contracts/DogeStar.sol#318)
State variables written after the call(s):
- currentIndex ++ (contracts/DogeStar.sol#302)
Reentrancy in DividendDistributor.setShare(address,uint256) (contracts/DogeStar.sol#245-259):
External calls:
- distributeDividend(shareholder) (contracts/DogeStar.sol#247)
- rewardsToken.transfer(shareholder,amount) (contracts/DogeStar.sol#318)
State variables written after the call(s):
- shares[shareholder].amount = amount (contracts/DogeStar.sol#257)
- shares[shareholder].totalExcluded = getCumulativeDividends(shares[shareholder].amount) (contracts/DogeStar.sol#258)
Apply the check-effects-interactions pattern.
Additional information: link
DogeStar.swapBack() (contracts/DogeStar.sol#552-602) ignores return value by router.addLiquidityETH{value: amountBNBLiquidity}(address(this),amountToLiquify,0,0,autoLiquidityReceiver,block.timestamp) (contracts/DogeStar.sol#587-594)
Ensure that all the return values of the function calls are used.
Additional information: link
Auth.transferOwnership(address).adr (contracts/DogeStar.sol#122) lacks a zero-check on :
- owner = adr (contracts/DogeStar.sol#123)
DogeStar.setFeeReceivers(address,address,address,address)._autoLiquidityReceiver (contracts/DogeStar.sol#702) lacks a zero-check on :
- autoLiquidityReceiver = _autoLiquidityReceiver (contracts/DogeStar.sol#703)
DogeStar.setFeeReceivers(address,address,address,address)._marketingFeeReceiver (contracts/DogeStar.sol#702) lacks a zero-check on :
- marketingFeeReceiver = _marketingFeeReceiver (contracts/DogeStar.sol#704)
DogeStar.setFeeReceivers(address,address,address,address)._buybackFeeReceiver (contracts/DogeStar.sol#702) lacks a zero-check on :
- buybackFeeReceiver = _buybackFeeReceiver (contracts/DogeStar.sol#705)
DogeStar.setFeeReceivers(address,address,address,address)._devFeeReceiver (contracts/DogeStar.sol#702) lacks a zero-check on :
- devFeeReceiver = _devFeeReceiver (contracts/DogeStar.sol#706)
Check that the address is not zero.
Additional information: link
DividendDistributor.distributeDividend(address) (contracts/DogeStar.sol#312-323) has external calls inside a loop: rewardsToken.transfer(shareholder,amount) (contracts/DogeStar.sol#318)
Favor pull over push strategy for external calls.
Additional information: link
Reentrancy in DogeStar._transferFrom(address,address,uint256) (contracts/DogeStar.sol#483-507):
External calls:
- swapBack() (contracts/DogeStar.sol#492)
- router.swapExactTokensForETHSupportingFeeOnTransferTokens(amountToSwap,0,path,address(this),block.timestamp) (contracts/DogeStar.sol#563-569)
- distributor.deposit{value: amountBNBReflection}() (contracts/DogeStar.sol#578)
- (success) = address(marketingFeeReceiver).call{gas: 30000,value: amountBNBMarketing}() (contracts/DogeStar.sol#579)
- (successs) = address(buybackFeeReceiver).call{gas: 30000,value: amountBNBDividend}() (contracts/DogeStar.sol#581)
- router.addLiquidityETH{value: amountBNBLiquidity}(address(this),amountToLiquify,0,0,autoLiquidityReceiver,block.timestamp) (contracts/DogeStar.sol#587-594)
- (successss) = address(devFeeReceiver).call{gas: 30000,value: amountBNBDev}() (contracts/DogeStar.sol#600)
- triggerAutoBuyback() (contracts/DogeStar.sol#493)
- router.swapExactETHForTokensSupportingFeeOnTransferTokens{value: amount}(0,path,to,block.timestamp) (contracts/DogeStar.sol#645-650)
External calls sending eth:
- swapBack() (contracts/DogeStar.sol#492)
- distributor.deposit{value: amountBNBReflection}() (contracts/DogeStar.sol#578)
- (success) = address(marketingFeeReceiver).call{gas: 30000,value: amountBNBMarketing}() (contracts/DogeStar.sol#579)
- (successs) = address(buybackFeeReceiver).call{gas: 30000,value: amountBNBDividend}() (contracts/DogeStar.sol#581)
- router.addLiquidityETH{value: amountBNBLiquidity}(address(this),amountToLiquify,0,0,autoLiquidityReceiver,block.timestamp) (contracts/DogeStar.sol#587-594)
- (successss) = address(devFeeReceiver).call{gas: 30000,value: amountBNBDev}() (contracts/DogeStar.sol#600)
- triggerAutoBuyback() (contracts/DogeStar.sol#493)
- router.swapExactETHForTokensSupportingFeeOnTransferTokens{value: amount}(0,path,to,block.timestamp) (contracts/DogeStar.sol#645-650)
State variables written after the call(s):
- triggerAutoBuyback() (contracts/DogeStar.sol#493)
- buybackMultiplierTriggeredAt = block.timestamp (contracts/DogeStar.sol#632)
Reentrancy in DogeStar.constructor() (contracts/DogeStar.sol#424-445):
External calls:
- pair = IDEXFactory(router.factory()).createPair(WBNB,address(this)) (contracts/DogeStar.sol#426)
State variables written after the call(s):
- _allowances[address(this)][address(router)] = type()(uint256).max (contracts/DogeStar.sol#427)
- _balances[_presaler] = _totalSupply (contracts/DogeStar.sol#443)
- autoLiquidityReceiver = msg.sender (contracts/DogeStar.sol#438)
- buybackFeeReceiver = 0x4b9f590F182d59E30cF551380504355d3656752e (contracts/DogeStar.sol#440)
- devFeeReceiver = 0xcF2B58e817423769472891ac06fbCe99591C0A90 (contracts/DogeStar.sol#441)
- distributor = new DividendDistributor(address(router)) (contracts/DogeStar.sol#429)
- isDividendExempt[pair] = true (contracts/DogeStar.sol#434)
- isDividendExempt[address(this)] = true (contracts/DogeStar.sol#435)
- isDividendExempt[DEAD] = true (contracts/DogeStar.sol#436)
- isFeeExempt[_presaler] = true (contracts/DogeStar.sol#432)
- isTxLimitExempt[_presaler] = true (contracts/DogeStar.sol#433)
- marketingFeeReceiver = 0x5D50C125D2A2BdE47417D7BAA0036a23fF120A05 (contracts/DogeStar.sol#439)
Reentrancy in DividendDistributor.deposit() (contracts/DogeStar.sol#261-279):
External calls:
- router.swapExactETHForTokensSupportingFeeOnTransferTokens{value: msg.value}(0,path,address(this),block.timestamp) (contracts/DogeStar.sol#268-273)
State variables written after the call(s):
- dividendsPerShare = dividendsPerShare.add(dividendsPerShareAccuracyFactor.mul(amount).div(totalShares)) (contracts/DogeStar.sol#278)
- totalDividends = totalDividends.add(amount) (contracts/DogeStar.sol#277)
Reentrancy in DividendDistributor.distributeDividend(address) (contracts/DogeStar.sol#312-323):
External calls:
- rewardsToken.transfer(shareholder,amount) (contracts/DogeStar.sol#318)
State variables written after the call(s):
- shareholderClaims[shareholder] = block.timestamp (contracts/DogeStar.sol#319)
Reentrancy in DividendDistributor.setShare(address,uint256) (contracts/DogeStar.sol#245-259):
External calls:
- distributeDividend(shareholder) (contracts/DogeStar.sol#247)
- rewardsToken.transfer(shareholder,amount) (contracts/DogeStar.sol#318)
State variables written after the call(s):
- addShareholder(shareholder) (contracts/DogeStar.sol#251)
- shareholderIndexes[shareholder] = shareholders.length (contracts/DogeStar.sol#350)
- removeShareholder(shareholder) (contracts/DogeStar.sol#253)
- shareholderIndexes[shareholders[shareholders.length - 1]] = shareholderIndexes[shareholder] (contracts/DogeStar.sol#356)
- addShareholder(shareholder) (contracts/DogeStar.sol#251)
- shareholders.push(shareholder) (contracts/DogeStar.sol#351)
- removeShareholder(shareholder) (contracts/DogeStar.sol#253)
- shareholders[shareholderIndexes[shareholder]] = shareholders[shareholders.length - 1] (contracts/DogeStar.sol#355)
- shareholders.pop() (contracts/DogeStar.sol#357)
- totalShares = totalShares.sub(shares[shareholder].amount).add(amount) (contracts/DogeStar.sol#256)
Reentrancy in DogeStar.triggerAutoBuyback() (contracts/DogeStar.sol#629-638):
External calls:
- buyTokens(autoBuybackAmount,DEAD) (contracts/DogeStar.sol#630)
- router.swapExactETHForTokensSupportingFeeOnTransferTokens{value: amount}(0,path,to,block.timestamp) (contracts/DogeStar.sol#645-650)
State variables written after the call(s):
- autoBuybackAccumulator = autoBuybackAccumulator.add(autoBuybackAmount) (contracts/DogeStar.sol#636)
- autoBuybackBlockLast = block.number (contracts/DogeStar.sol#635)
- autoBuybackEnabled = false (contracts/DogeStar.sol#637)
- buybackMultiplierTriggeredAt = block.timestamp (contracts/DogeStar.sol#632)
Reentrancy in DogeStar.triggerManualBuyback(uint256,bool) (contracts/DogeStar.sol#612-618):
External calls:
- buyTokens(amount,DEAD) (contracts/DogeStar.sol#613)
- router.swapExactETHForTokensSupportingFeeOnTransferTokens{value: amount}(0,path,to,block.timestamp) (contracts/DogeStar.sol#645-650)
State variables written after the call(s):
- buybackMultiplierTriggeredAt = block.timestamp (contracts/DogeStar.sol#615)
Apply the check-effects-interactions pattern.
Additional information: link
Reentrancy in DogeStar._transferFrom(address,address,uint256) (contracts/DogeStar.sol#483-507):
External calls:
- swapBack() (contracts/DogeStar.sol#492)
- router.swapExactTokensForETHSupportingFeeOnTransferTokens(amountToSwap,0,path,address(this),block.timestamp) (contracts/DogeStar.sol#563-569)
- distributor.deposit{value: amountBNBReflection}() (contracts/DogeStar.sol#578)
- (success) = address(marketingFeeReceiver).call{gas: 30000,value: amountBNBMarketing}() (contracts/DogeStar.sol#579)
- (successs) = address(buybackFeeReceiver).call{gas: 30000,value: amountBNBDividend}() (contracts/DogeStar.sol#581)
- router.addLiquidityETH{value: amountBNBLiquidity}(address(this),amountToLiquify,0,0,autoLiquidityReceiver,block.timestamp) (contracts/DogeStar.sol#587-594)
- (successss) = address(devFeeReceiver).call{gas: 30000,value: amountBNBDev}() (contracts/DogeStar.sol#600)
- triggerAutoBuyback() (contracts/DogeStar.sol#493)
- router.swapExactETHForTokensSupportingFeeOnTransferTokens{value: amount}(0,path,to,block.timestamp) (contracts/DogeStar.sol#645-650)
External calls sending eth:
- swapBack() (contracts/DogeStar.sol#492)
- distributor.deposit{value: amountBNBReflection}() (contracts/DogeStar.sol#578)
- (success) = address(marketingFeeReceiver).call{gas: 30000,value: amountBNBMarketing}() (contracts/DogeStar.sol#579)
- (successs) = address(buybackFeeReceiver).call{gas: 30000,value: amountBNBDividend}() (contracts/DogeStar.sol#581)
- router.addLiquidityETH{value: amountBNBLiquidity}(address(this),amountToLiquify,0,0,autoLiquidityReceiver,block.timestamp) (contracts/DogeStar.sol#587-594)
- (successss) = address(devFeeReceiver).call{gas: 30000,value: amountBNBDev}() (contracts/DogeStar.sol#600)
- triggerAutoBuyback() (contracts/DogeStar.sol#493)
- router.swapExactETHForTokensSupportingFeeOnTransferTokens{value: amount}(0,path,to,block.timestamp) (contracts/DogeStar.sol#645-650)
Event emitted after the call(s):
- BuybackMultiplierActive(buybackMultiplierLength) (contracts/DogeStar.sol#633)
- triggerAutoBuyback() (contracts/DogeStar.sol#493)
- Transfer(sender,address(this),feeAmount) (contracts/DogeStar.sol#539)
- amountReceived = takeFee(sender,recipient,amount) (contracts/DogeStar.sol#497)
Reentrancy in DogeStar._transferFrom(address,address,uint256) (contracts/DogeStar.sol#483-507):
External calls:
- swapBack() (contracts/DogeStar.sol#492)
- router.swapExactTokensForETHSupportingFeeOnTransferTokens(amountToSwap,0,path,address(this),block.timestamp) (contracts/DogeStar.sol#563-569)
- distributor.deposit{value: amountBNBReflection}() (contracts/DogeStar.sol#578)
- (success) = address(marketingFeeReceiver).call{gas: 30000,value: amountBNBMarketing}() (contracts/DogeStar.sol#579)
- (successs) = address(buybackFeeReceiver).call{gas: 30000,value: amountBNBDividend}() (contracts/DogeStar.sol#581)
- router.addLiquidityETH{value: amountBNBLiquidity}(address(this),amountToLiquify,0,0,autoLiquidityReceiver,block.timestamp) (contracts/DogeStar.sol#587-594)
- (successss) = address(devFeeReceiver).call{gas: 30000,value: amountBNBDev}() (contracts/DogeStar.sol#600)
- triggerAutoBuyback() (contracts/DogeStar.sol#493)
- router.swapExactETHForTokensSupportingFeeOnTransferTokens{value: amount}(0,path,to,block.timestamp) (contracts/DogeStar.sol#645-650)
- distributor.setShare(sender,_balances[sender]) (contracts/DogeStar.sol#500)
- distributor.setShare(recipient,_balances[recipient]) (contracts/DogeStar.sol#501)
- distributor.process(distributorGas) (contracts/DogeStar.sol#503)
External calls sending eth:
- swapBack() (contracts/DogeStar.sol#492)
- distributor.deposit{value: amountBNBReflection}() (contracts/DogeStar.sol#578)
- (success) = address(marketingFeeReceiver).call{gas: 30000,value: amountBNBMarketing}() (contracts/DogeStar.sol#579)
- (successs) = address(buybackFeeReceiver).call{gas: 30000,value: amountBNBDividend}() (contracts/DogeStar.sol#581)
- router.addLiquidityETH{value: amountBNBLiquidity}(address(this),amountToLiquify,0,0,autoLiquidityReceiver,block.timestamp) (contracts/DogeStar.sol#587-594)
- (successss) = address(devFeeReceiver).call{gas: 30000,value: amountBNBDev}() (contracts/DogeStar.sol#600)
- triggerAutoBuyback() (contracts/DogeStar.sol#493)
- router.swapExactETHForTokensSupportingFeeOnTransferTokens{value: amount}(0,path,to,block.timestamp) (contracts/DogeStar.sol#645-650)
Event emitted after the call(s):
- Transfer(sender,recipient,amountReceived) (contracts/DogeStar.sol#505)
Reentrancy in DogeStar.constructor() (contracts/DogeStar.sol#424-445):
External calls:
- pair = IDEXFactory(router.factory()).createPair(WBNB,address(this)) (contracts/DogeStar.sol#426)
Event emitted after the call(s):
- Transfer(address(0),_presaler,_totalSupply) (contracts/DogeStar.sol#444)
Reentrancy in DogeStar.swapBack() (contracts/DogeStar.sol#552-602):
External calls:
- router.swapExactTokensForETHSupportingFeeOnTransferTokens(amountToSwap,0,path,address(this),block.timestamp) (contracts/DogeStar.sol#563-569)
- distributor.deposit{value: amountBNBReflection}() (contracts/DogeStar.sol#578)
- (success) = address(marketingFeeReceiver).call{gas: 30000,value: amountBNBMarketing}() (contracts/DogeStar.sol#579)
- (successs) = address(buybackFeeReceiver).call{gas: 30000,value: amountBNBDividend}() (contracts/DogeStar.sol#581)
- router.addLiquidityETH{value: amountBNBLiquidity}(address(this),amountToLiquify,0,0,autoLiquidityReceiver,block.timestamp) (contracts/DogeStar.sol#587-594)
External calls sending eth:
- distributor.deposit{value: amountBNBReflection}() (contracts/DogeStar.sol#578)
- (success) = address(marketingFeeReceiver).call{gas: 30000,value: amountBNBMarketing}() (contracts/DogeStar.sol#579)
- (successs) = address(buybackFeeReceiver).call{gas: 30000,value: amountBNBDividend}() (contracts/DogeStar.sol#581)
- router.addLiquidityETH{value: amountBNBLiquidity}(address(this),amountToLiquify,0,0,autoLiquidityReceiver,block.timestamp) (contracts/DogeStar.sol#587-594)
Event emitted after the call(s):
- AutoLiquify(amountBNBLiquidity,amountToLiquify) (contracts/DogeStar.sol#595)
Reentrancy in DogeStar.triggerAutoBuyback() (contracts/DogeStar.sol#629-638):
External calls:
- buyTokens(autoBuybackAmount,DEAD) (contracts/DogeStar.sol#630)
- router.swapExactETHForTokensSupportingFeeOnTransferTokens{value: amount}(0,path,to,block.timestamp) (contracts/DogeStar.sol#645-650)
Event emitted after the call(s):
- BuybackMultiplierActive(buybackMultiplierLength) (contracts/DogeStar.sol#633)
Reentrancy in DogeStar.triggerManualBuyback(uint256,bool) (contracts/DogeStar.sol#612-618):
External calls:
- buyTokens(amount,DEAD) (contracts/DogeStar.sol#613)
- router.swapExactETHForTokensSupportingFeeOnTransferTokens{value: amount}(0,path,to,block.timestamp) (contracts/DogeStar.sol#645-650)
Event emitted after the call(s):
- BuybackMultiplierActive(buybackMultiplierLength) (contracts/DogeStar.sol#616)
Apply the check-effects-interactions pattern.
Additional information: link
DividendDistributor.shouldDistribute(address) (contracts/DogeStar.sol#307-310) uses timestamp for comparisons
Dangerous comparisons:
- shareholderClaims[shareholder] + minPeriod < block.timestamp && getUnpaidEarnings(shareholder) > minDistribution (contracts/DogeStar.sol#308-309)
DogeStar.getTotalFee(bool) (contracts/DogeStar.sol#524-527) uses timestamp for comparisons
Dangerous comparisons:
- selling && buybackMultiplierTriggeredAt.add(buybackMultiplierLength) > block.timestamp (contracts/DogeStar.sol#525)
DogeStar.shouldSwapBack() (contracts/DogeStar.sol#544-549) uses timestamp for comparisons
Dangerous comparisons:
- msg.sender != pair && ! inSwap && swapEnabled && _balances[address(this)] >= swapThreshold (contracts/DogeStar.sol#545-548)
DogeStar.isOverLiquified(uint256,uint256) (contracts/DogeStar.sol#755-757) uses timestamp for comparisons
Dangerous comparisons:
- getLiquidityBacking(accuracy) > target (contracts/DogeStar.sol#756)
Avoid relying on block.timestamp.
Additional information: link
DividendDistributor.process(uint256) (contracts/DogeStar.sol#281-305) has costly operations inside a loop:
- currentIndex = 0 (contracts/DogeStar.sol#293)
DividendDistributor.distributeDividend(address) (contracts/DogeStar.sol#312-323) has costly operations inside a loop:
- totalDistributed = totalDistributed.add(amount) (contracts/DogeStar.sol#317)
DividendDistributor.process(uint256) (contracts/DogeStar.sol#281-305) has costly operations inside a loop:
- currentIndex ++ (contracts/DogeStar.sol#302)
Use a local variable to hold the loop computation result.
Additional information: link
DogeStar._maxTxAmount (contracts/DogeStar.sol#373) is set pre-construction with a non-constant function or state variable:
- _totalSupply / 50
DogeStar.swapThreshold (contracts/DogeStar.sol#420) is set pre-construction with a non-constant function or state variable:
- _totalSupply / 200
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.8.9 (contracts/DogeStar.sol#3) necessitates a version too recent to be trusted. Consider deploying with 0.6.12/0.7.6/0.8.7
solc-0.8.9 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 DogeStar.swapBack() (contracts/DogeStar.sol#552-602):
- (success) = address(marketingFeeReceiver).call{gas: 30000,value: amountBNBMarketing}() (contracts/DogeStar.sol#579)
- (successs) = address(buybackFeeReceiver).call{gas: 30000,value: amountBNBDividend}() (contracts/DogeStar.sol#581)
- (successss) = address(devFeeReceiver).call{gas: 30000,value: amountBNBDev}() (contracts/DogeStar.sol#600)
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() (contracts/DogeStar.sol#137) is not in mixedCase
Parameter DividendDistributor.setDistributionCriteria(uint256,uint256)._minPeriod (contracts/DogeStar.sol#240) is not in mixedCase
Parameter DividendDistributor.setDistributionCriteria(uint256,uint256)._minDistribution (contracts/DogeStar.sol#240) is not in mixedCase
Parameter DividendDistributor.setRewardsToken(address)._rewardsToken (contracts/DogeStar.sol#329) is not in mixedCase
Variable DividendDistributor._token (contracts/DogeStar.sol#193) is not in mixedCase
Variable DividendDistributor.WBNB (contracts/DogeStar.sol#202) is not in mixedCase
Parameter DogeStar.tradingStatus(bool)._status (contracts/DogeStar.sol#479) is not in mixedCase
Parameter DogeStar.setAutoBuybackSettings(bool,uint256,uint256,uint256,bool)._enabled (contracts/DogeStar.sol#653) is not in mixedCase
Parameter DogeStar.setAutoBuybackSettings(bool,uint256,uint256,uint256,bool)._cap (contracts/DogeStar.sol#653) is not in mixedCase
Parameter DogeStar.setAutoBuybackSettings(bool,uint256,uint256,uint256,bool)._amount (contracts/DogeStar.sol#653) is not in mixedCase
Parameter DogeStar.setAutoBuybackSettings(bool,uint256,uint256,uint256,bool)._period (contracts/DogeStar.sol#653) is not in mixedCase
Parameter DogeStar.setAutoBuybackSettings(bool,uint256,uint256,uint256,bool)._autoBuybackMultiplier (contracts/DogeStar.sol#653) is not in mixedCase
Parameter DogeStar.setFees(uint256,uint256,uint256,uint256,uint256,uint256)._liquidityFee (contracts/DogeStar.sol#692) is not in mixedCase
Parameter DogeStar.setFees(uint256,uint256,uint256,uint256,uint256,uint256)._reflectionFee (contracts/DogeStar.sol#692) is not in mixedCase
Parameter DogeStar.setFees(uint256,uint256,uint256,uint256,uint256,uint256)._marketingFee (contracts/DogeStar.sol#692) is not in mixedCase
Parameter DogeStar.setFees(uint256,uint256,uint256,uint256,uint256,uint256)._buybackFee (contracts/DogeStar.sol#692) is not in mixedCase
Parameter DogeStar.setFees(uint256,uint256,uint256,uint256,uint256,uint256)._devFee (contracts/DogeStar.sol#692) is not in mixedCase
Parameter DogeStar.setFees(uint256,uint256,uint256,uint256,uint256,uint256)._feeDenominator (contracts/DogeStar.sol#692) is not in mixedCase
Parameter DogeStar.setFeeReceivers(address,address,address,address)._autoLiquidityReceiver (contracts/DogeStar.sol#702) is not in mixedCase
Parameter DogeStar.setFeeReceivers(address,address,address,address)._marketingFeeReceiver (contracts/DogeStar.sol#702) is not in mixedCase
Parameter DogeStar.setFeeReceivers(address,address,address,address)._buybackFeeReceiver (contracts/DogeStar.sol#702) is not in mixedCase
Parameter DogeStar.setFeeReceivers(address,address,address,address)._devFeeReceiver (contracts/DogeStar.sol#702) is not in mixedCase
Parameter DogeStar.setSwapBackSettings(bool,uint256)._enabled (contracts/DogeStar.sol#709) is not in mixedCase
Parameter DogeStar.setSwapBackSettings(bool,uint256)._amount (contracts/DogeStar.sol#709) is not in mixedCase
Parameter DogeStar.setTargetLiquidity(uint256,uint256)._target (contracts/DogeStar.sol#714) is not in mixedCase
Parameter DogeStar.setTargetLiquidity(uint256,uint256)._denominator (contracts/DogeStar.sol#714) is not in mixedCase
Parameter DogeStar.setDistributionCriteria(uint256,uint256)._minPeriod (contracts/DogeStar.sol#726) is not in mixedCase
Parameter DogeStar.setDistributionCriteria(uint256,uint256)._minDistribution (contracts/DogeStar.sol#726) is not in mixedCase
Parameter DogeStar.setRewardsToken(address)._rewardsToken (contracts/DogeStar.sol#734) is not in mixedCase
Variable DogeStar.WBNB (contracts/DogeStar.sol#364) is not in mixedCase
Variable DogeStar.DEAD (contracts/DogeStar.sol#365) is not in mixedCase
Variable DogeStar.ZERO (contracts/DogeStar.sol#366) is not in mixedCase
Constant DogeStar._name (contracts/DogeStar.sol#368) is not in UPPER_CASE_WITH_UNDERSCORES
Constant DogeStar._symbol (contracts/DogeStar.sol#369) is not in UPPER_CASE_WITH_UNDERSCORES
Constant DogeStar._decimals (contracts/DogeStar.sol#370) is not in UPPER_CASE_WITH_UNDERSCORES
Variable DogeStar._totalSupply (contracts/DogeStar.sol#372) is not in mixedCase
Variable DogeStar._maxTxAmount (contracts/DogeStar.sol#373) is not in mixedCase
Variable DogeStar._balances (contracts/DogeStar.sol#375) is not in mixedCase
Variable DogeStar._allowances (contracts/DogeStar.sol#376) is not in mixedCase
Follow the Solidity naming convention.
Additional information: link
BscScan page for the token does not contain additional info: website, socials, description, etc.
Additional information: link
Unable to find token/project description on the website or on BscScan, CoinMarketCap
Unable to verify that token and website are owned by the same team (no listings + unable to find contract on website)
Unable to verify token contract address on the website
Unable to find audit link on the website
Unable to find whitepaper link on the website
Unable to find token on CoinGecko
Additional information: link
Unable to find token on CoinMarketCap
Additional information: link
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
Young tokens have high risks of scam / price dump / death
Young tokens have high risks of scam / price dump / death
Token has no active CoinGecko listing / rank
Token has no active CoinMarketCap listing / rank
Twitter account has relatively few followers
Unable to find Blog account (Reddit or Medium)
Unable to find Youtube account
Unable to find Discord account
Twitter account has few posts