OctariumNetwork.swapBack() (#746-789) sends eth to arbitrary user
Dangerous calls:
- (successMarketing) = address(marketingFeeReceiver).call{gas: 30000,value: amountBNBMarketing}() (#773)
Ensure that an arbitrary user cannot withdraw unauthorized funds.
Additional information: link
Reentrancy in OctariumNetwork._transferFrom(address,address,uint256) (#548-599):
External calls:
- swapBack() (#578)
- router.swapExactTokensForETHSupportingFeeOnTransferTokens(amountToSwap,0,path,address(this),block.timestamp) (#757-763)
- distributor.deposit{value: amountBNBReflection}() (#772)
- (successMarketing) = address(marketingFeeReceiver).call{gas: 30000,value: amountBNBMarketing}() (#773)
- (successDev) = address(DEV).call{gas: 30000,value: amountBNBDev}() (#774)
- router.addLiquidityETH{value: amountBNBLiquidity}(address(this),amountToLiquify,0,0,autoLiquidityReceiver,block.timestamp) (#779-786)
External calls sending eth:
- swapBack() (#578)
- distributor.deposit{value: amountBNBReflection}() (#772)
- (successMarketing) = address(marketingFeeReceiver).call{gas: 30000,value: amountBNBMarketing}() (#773)
- (successDev) = address(DEV).call{gas: 30000,value: amountBNBDev}() (#774)
- router.addLiquidityETH{value: amountBNBLiquidity}(address(this),amountToLiquify,0,0,autoLiquidityReceiver,block.timestamp) (#779-786)
State variables written after the call(s):
- _balances[sender] = _balances[sender].sub(amount,Insufficient Balance) (#581)
- _balances[recipient] = _balances[recipient].add(amountReceived) (#584)
- amountReceived = takeFee(sender,amount,isSell,GREEDMode) (#583)
- _balances[address(this)] = _balances[address(this)].add(feeAmount) (#703)
Apply the check-effects-interactions pattern.
Additional information: link
DividendDistributor.distributeDividend(address) (#325-336) ignores return value by BUSD.transfer(shareholder,amount) (#331)
Use SafeERC20, or ensure that the transfer/transferFrom return value is checked.
Additional information: link
Unable to find manual contract audit (e.g. Certik, PeckShield, Solidity...)
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.
Contract ownership is not renounced (belongs to a wallet)
Reentrancy in DividendDistributor.distributeDividend(address) (#325-336):
External calls:
- BUSD.transfer(shareholder,amount) (#331)
State variables written after the call(s):
- shares[shareholder].totalRealised = shares[shareholder].totalRealised.add(amount) (#333)
- shares[shareholder].totalExcluded = getCumulativeDividends(shares[shareholder].amount) (#334)
Reentrancy in DividendDistributor.process(uint256) (#294-318):
External calls:
- distributeDividend(shareholders[currentIndex]) (#310)
- BUSD.transfer(shareholder,amount) (#331)
State variables written after the call(s):
- currentIndex ++ (#315)
Reentrancy in DividendDistributor.setShare(address,uint256) (#258-272):
External calls:
- distributeDividend(shareholder) (#260)
- BUSD.transfer(shareholder,amount) (#331)
State variables written after the call(s):
- shares[shareholder].amount = amount (#270)
- shares[shareholder].totalExcluded = getCumulativeDividends(shares[shareholder].amount) (#271)
Apply the check-effects-interactions pattern.
Additional information: link
OctariumNetwork.swapBack() (#746-789) ignores return value by router.addLiquidityETH{value: amountBNBLiquidity}(address(this),amountToLiquify,0,0,autoLiquidityReceiver,block.timestamp) (#779-786)
Ensure that all the return values of the function calls are used.
Additional information: link
DividendDistributor.setDistributionCriteria(uint256,uint256) (#253-256) should emit an event for:
- minPeriod = _minPeriod (#254)
- minDistribution = _minDistribution (#255)
OctariumNetwork.setMaxWalletPercent(uint256) (#542-545) should emit an event for:
- _maxWalletToken = _totalSupply.mul(maxWallPercent).div(10000) (#543)
OctariumNetwork.enableGREED(uint256) (#724-727) should emit an event for:
- GREEDDuration = _seconds (#726)
OctariumNetwork.cooldownEnabled(bool,uint8) (#735-738) should emit an event for:
- cooldownTimerInterval = _interval (#737)
OctariumNetwork.setAutoBuybackSettings(bool,uint256,uint256,uint256,bool) (#843-851) should emit an event for:
- autoBuybackCap = _cap (#845)
- autoBuybackAmount = _amount (#847)
OctariumNetwork.setBuybackMultiplierSettings(uint256,uint256,uint256) (#854-859) should emit an event for:
- buybackMultiplierNumerator = numerator (#856)
- buybackMultiplierDenominator = denominator (#857)
- buybackMultiplierLength = length (#858)
OctariumNetwork.setBuyTxLimitInPercent(uint256) (#872-874) should emit an event for:
- _maxBuyTxAmount = _totalSupply.mul(maxBuyTxPercent).div(10000) (#873)
OctariumNetwork.setSellTxLimitInPercent(uint256) (#877-879) should emit an event for:
- _maxSellTxAmount = _totalSupply.mul(maxSellTxPercent).div(10000) (#878)
OctariumNetwork.setBuyFees(uint256,uint256,uint256,uint256,uint256,uint256) (#908-916) should emit an event for:
- liquidityFeeBuy = _liquidityFeeBuy (#909)
- buybackFeeBuy = _buybackFeeBuy (#910)
- reflectionFeeBuy = _reflectionFeeBuy (#911)
- marketingFeeBuy = _marketingFeeBuy (#912)
- devFeeBuy = _devFeeBuy (#913)
- totalFeeBuy = _liquidityFeeBuy.add(_buybackFeeBuy).add(_reflectionFeeBuy).add(_marketingFeeBuy).add(_devFeeBuy) (#914)
- feeDenominator = _feeDenominator (#915)
OctariumNetwork.setSellFees(uint256,uint256,uint256,uint256,uint256,uint256) (#919-927) should emit an event for:
- liquidityFeeSell = _liquidityFeeSell (#920)
- buybackFeeSell = _buybackFeeSell (#921)
- reflectionFeeSell = _reflectionFeeSell (#922)
- marketingFeeSell = _marketingFeeSell (#923)
- devFeeSell = _devFeeSell (#924)
- totalFeeSell = _liquidityFeeSell.add(_buybackFeeSell).add(_reflectionFeeSell).add(_marketingFeeSell).add(_devFeeSell) (#925)
- feeDenominator = _feeDenominator (#926)
OctariumNetwork.setSwapBackSettings(bool,uint256) (#936-939) should emit an event for:
- swapThreshold = _totalSupply * _amount / 10000 (#938)
OctariumNetwork.setTargetLiquidity(uint256,uint256) (#942-945) should emit an event for:
- targetLiquidity = _target (#943)
- targetLiquidityDenominator = _denominator (#944)
Emit an event for critical parameter changes.
Additional information: link
Auth.transferOwnership(address).account (#130) lacks a zero-check on :
- owner = account (#131)
OctariumNetwork.setFeeReceivers(address,address)._autoLiquidityReceiver (#930) lacks a zero-check on :
- autoLiquidityReceiver = _autoLiquidityReceiver (#931)
OctariumNetwork.setFeeReceivers(address,address)._marketingFeeReceiver (#930) lacks a zero-check on :
- marketingFeeReceiver = _marketingFeeReceiver (#932)
Check that the address is not zero.
Additional information: link
DividendDistributor.distributeDividend(address) (#325-336) has external calls inside a loop: BUSD.transfer(shareholder,amount) (#331)
Favor pull over push strategy for external calls.
Additional information: link
Reentrancy in OctariumNetwork.constructor() (#477-507):
External calls:
- pair = IDEXFactory(router.factory()).createPair(WBNB,address(this)) (#480)
State variables written after the call(s):
- _allowances[address(this)][address(router)] = type()(uint256).max (#481)
- _balances[_presaler] = _totalSupply (#505)
- autoLiquidityReceiver = msg.sender (#502)
- distributor = new DividendDistributor(address(router)) (#483)
- isDividendExempt[pair] = true (#497)
- isDividendExempt[address(this)] = true (#498)
- isDividendExempt[DEAD] = true (#499)
- isFeeExempt[_presaler] = true (#487)
- isTimelockExempt[msg.sender] = true (#491)
- isTimelockExempt[DEAD] = true (#492)
- isTimelockExempt[address(this)] = true (#493)
- isTimelockExempt[DEV] = true (#494)
- isTxLimitExempt[_presaler] = true (#488)
- marketingFeeReceiver = 0xfaD1620ffcaaA80b1A053DE1e08Fe1De81b38887 (#503)
Reentrancy in DividendDistributor.deposit() (#274-292):
External calls:
- router.swapExactETHForTokensSupportingFeeOnTransferTokens{value: msg.value}(0,path,address(this),block.timestamp) (#281-286)
State variables written after the call(s):
- dividendsPerShare = dividendsPerShare.add(dividendsPerShareAccuracyFactor.mul(amount).div(totalShares)) (#291)
- totalDividends = totalDividends.add(amount) (#290)
Reentrancy in DividendDistributor.distributeDividend(address) (#325-336):
External calls:
- BUSD.transfer(shareholder,amount) (#331)
State variables written after the call(s):
- shareholderClaims[shareholder] = block.timestamp (#332)
Reentrancy in DividendDistributor.setShare(address,uint256) (#258-272):
External calls:
- distributeDividend(shareholder) (#260)
- BUSD.transfer(shareholder,amount) (#331)
State variables written after the call(s):
- addShareholder(shareholder) (#264)
- shareholderIndexes[shareholder] = shareholders.length (#358)
- removeShareholder(shareholder) (#266)
- shareholderIndexes[shareholders[shareholders.length - 1]] = shareholderIndexes[shareholder] (#364)
- addShareholder(shareholder) (#264)
- shareholders.push(shareholder) (#359)
- removeShareholder(shareholder) (#266)
- shareholders[shareholderIndexes[shareholder]] = shareholders[shareholders.length - 1] (#363)
- shareholders.pop() (#365)
- totalShares = totalShares.sub(shares[shareholder].amount).add(amount) (#269)
Reentrancy in OctariumNetwork.triggerAutoBuyback() (#817-826):
External calls:
- buyTokens(autoBuybackAmount,DEAD) (#818)
- router.swapExactETHForTokensSupportingFeeOnTransferTokens{value: amount}(0,path,to,block.timestamp) (#834-839)
State variables written after the call(s):
- autoBuybackAccumulator = autoBuybackAccumulator.add(autoBuybackAmount) (#824)
- autoBuybackBlockLast = block.number (#823)
- autoBuybackEnabled = false (#825)
- buybackMultiplierTriggeredAt = block.timestamp (#820)
Reentrancy in OctariumNetwork.triggerManualBuyback(uint256,bool) (#801-809):
External calls:
- buyTokens(amountToBuy,DEAD) (#804)
- router.swapExactETHForTokensSupportingFeeOnTransferTokens{value: amount}(0,path,to,block.timestamp) (#834-839)
State variables written after the call(s):
- buybackMultiplierTriggeredAt = block.timestamp (#806)
Apply the check-effects-interactions pattern.
Additional information: link
Reentrancy in OctariumNetwork._transferFrom(address,address,uint256) (#548-599):
External calls:
- swapBack() (#578)
- router.swapExactTokensForETHSupportingFeeOnTransferTokens(amountToSwap,0,path,address(this),block.timestamp) (#757-763)
- distributor.deposit{value: amountBNBReflection}() (#772)
- (successMarketing) = address(marketingFeeReceiver).call{gas: 30000,value: amountBNBMarketing}() (#773)
- (successDev) = address(DEV).call{gas: 30000,value: amountBNBDev}() (#774)
- router.addLiquidityETH{value: amountBNBLiquidity}(address(this),amountToLiquify,0,0,autoLiquidityReceiver,block.timestamp) (#779-786)
- distributor.setShare(sender,_balances[sender]) (#588)
- distributor.setShare(recipient,_balances[recipient]) (#592)
- distributor.process(distributorGas) (#595)
External calls sending eth:
- swapBack() (#578)
- distributor.deposit{value: amountBNBReflection}() (#772)
- (successMarketing) = address(marketingFeeReceiver).call{gas: 30000,value: amountBNBMarketing}() (#773)
- (successDev) = address(DEV).call{gas: 30000,value: amountBNBDev}() (#774)
- router.addLiquidityETH{value: amountBNBLiquidity}(address(this),amountToLiquify,0,0,autoLiquidityReceiver,block.timestamp) (#779-786)
Event emitted after the call(s):
- Transfer(sender,recipient,amountReceived) (#597)
Reentrancy in OctariumNetwork._transferFrom(address,address,uint256) (#548-599):
External calls:
- swapBack() (#578)
- router.swapExactTokensForETHSupportingFeeOnTransferTokens(amountToSwap,0,path,address(this),block.timestamp) (#757-763)
- distributor.deposit{value: amountBNBReflection}() (#772)
- (successMarketing) = address(marketingFeeReceiver).call{gas: 30000,value: amountBNBMarketing}() (#773)
- (successDev) = address(DEV).call{gas: 30000,value: amountBNBDev}() (#774)
- router.addLiquidityETH{value: amountBNBLiquidity}(address(this),amountToLiquify,0,0,autoLiquidityReceiver,block.timestamp) (#779-786)
External calls sending eth:
- swapBack() (#578)
- distributor.deposit{value: amountBNBReflection}() (#772)
- (successMarketing) = address(marketingFeeReceiver).call{gas: 30000,value: amountBNBMarketing}() (#773)
- (successDev) = address(DEV).call{gas: 30000,value: amountBNBDev}() (#774)
- router.addLiquidityETH{value: amountBNBLiquidity}(address(this),amountToLiquify,0,0,autoLiquidityReceiver,block.timestamp) (#779-786)
Event emitted after the call(s):
- Transfer(sender,address(this),feeAmount) (#704)
- amountReceived = takeFee(sender,amount,isSell,GREEDMode) (#583)
Reentrancy in OctariumNetwork.constructor() (#477-507):
External calls:
- pair = IDEXFactory(router.factory()).createPair(WBNB,address(this)) (#480)
Event emitted after the call(s):
- Transfer(address(0),_presaler,_totalSupply) (#506)
Reentrancy in OctariumNetwork.swapBack() (#746-789):
External calls:
- router.swapExactTokensForETHSupportingFeeOnTransferTokens(amountToSwap,0,path,address(this),block.timestamp) (#757-763)
- distributor.deposit{value: amountBNBReflection}() (#772)
- (successMarketing) = address(marketingFeeReceiver).call{gas: 30000,value: amountBNBMarketing}() (#773)
- (successDev) = address(DEV).call{gas: 30000,value: amountBNBDev}() (#774)
- router.addLiquidityETH{value: amountBNBLiquidity}(address(this),amountToLiquify,0,0,autoLiquidityReceiver,block.timestamp) (#779-786)
External calls sending eth:
- distributor.deposit{value: amountBNBReflection}() (#772)
- (successMarketing) = address(marketingFeeReceiver).call{gas: 30000,value: amountBNBMarketing}() (#773)
- (successDev) = address(DEV).call{gas: 30000,value: amountBNBDev}() (#774)
- router.addLiquidityETH{value: amountBNBLiquidity}(address(this),amountToLiquify,0,0,autoLiquidityReceiver,block.timestamp) (#779-786)
Event emitted after the call(s):
- AutoLiquify(amountBNBLiquidity,amountToLiquify) (#787)
Reentrancy in OctariumNetwork.triggerAutoBuyback() (#817-826):
External calls:
- buyTokens(autoBuybackAmount,DEAD) (#818)
- router.swapExactETHForTokensSupportingFeeOnTransferTokens{value: amount}(0,path,to,block.timestamp) (#834-839)
Event emitted after the call(s):
- BuybackMultiplierActive(buybackMultiplierLength) (#821)
Reentrancy in OctariumNetwork.triggerManualBuyback(uint256,bool) (#801-809):
External calls:
- buyTokens(amountToBuy,DEAD) (#804)
- router.swapExactETHForTokensSupportingFeeOnTransferTokens{value: amount}(0,path,to,block.timestamp) (#834-839)
Event emitted after the call(s):
- BuybackMultiplierActive(buybackMultiplierLength) (#807)
Apply the check-effects-interactions pattern.
Additional information: link
DividendDistributor.shouldDistribute(address) (#320-323) uses timestamp for comparisons
Dangerous comparisons:
- shareholderClaims[shareholder] + minPeriod < block.timestamp && getUnpaidEarnings(shareholder) > minDistribution (#321-322)
OctariumNetwork.inGREEDTime() (#629-635) uses timestamp for comparisons
Dangerous comparisons:
- GREEDTriggeredAt.add(GREEDDuration) > block.timestamp (#630)
OctariumNetwork.checkBuyCooldown(address,address) (#650-657) uses timestamp for comparisons
Dangerous comparisons:
- require(bool,string)(cooldownTimer[recipient] < block.timestamp,Please wait between two buys) (#654)
OctariumNetwork.getTotalFee(bool) (#673-677) uses timestamp for comparisons
Dangerous comparisons:
- selling && buybackMultiplierTriggeredAt.add(buybackMultiplierLength) > block.timestamp (#675)
Avoid relying on block.timestamp.
Additional information: link
DividendDistributor.process(uint256) (#294-318) has costly operations inside a loop:
- currentIndex = 0 (#306)
DividendDistributor.distributeDividend(address) (#325-336) has costly operations inside a loop:
- totalDistributed = totalDistributed.add(amount) (#330)
DividendDistributor.process(uint256) (#294-318) has costly operations inside a loop:
- currentIndex ++ (#315)
Use a local variable to hold the loop computation result.
Additional information: link
OctariumNetwork.launched() (#862-864) is never used and should be removed
OctariumNetwork.shouldAutoBuyback() (#792-798) is never used and should be removed
OctariumNetwork.triggerAutoBuyback() (#817-826) is never used and should be removed
Remove unused functions.
Additional information: link
OctariumNetwork._maxBuyTxAmount (#393) is set pre-construction with a non-constant function or state variable:
- _totalSupply * 100 / 1000
OctariumNetwork._maxSellTxAmount (#394) is set pre-construction with a non-constant function or state variable:
- _totalSupply * 100 / 1000
OctariumNetwork._maxWalletToken (#395) is set pre-construction with a non-constant function or state variable:
- (_totalSupply * 100) / 1000
OctariumNetwork.swapThreshold (#439) is set pre-construction with a non-constant function or state variable:
- _totalSupply * 50 / 10000
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
solc-0.8.10 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 OctariumNetwork.swapBack() (#746-789):
- (successMarketing) = address(marketingFeeReceiver).call{gas: 30000,value: amountBNBMarketing}() (#773)
- (successDev) = address(DEV).call{gas: 30000,value: amountBNBDev}() (#774)
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() (#147) is not in mixedCase
Parameter DividendDistributor.setDistributionCriteria(uint256,uint256)._minPeriod (#253) is not in mixedCase
Parameter DividendDistributor.setDistributionCriteria(uint256,uint256)._minDistribution (#253) is not in mixedCase
Variable DividendDistributor._token (#205) is not in mixedCase
Variable DividendDistributor.BUSD (#214) is not in mixedCase
Variable DividendDistributor.WBNB (#215) is not in mixedCase
Parameter OctariumNetwork.takeFee(address,uint256,bool,bool).GREEDMode (#687) is not in mixedCase
Parameter OctariumNetwork.tradingStatus(bool)._status (#718) is not in mixedCase
Parameter OctariumNetwork.enableGREED(uint256)._seconds (#724) is not in mixedCase
Parameter OctariumNetwork.cooldownEnabled(bool,uint8)._status (#735) is not in mixedCase
Parameter OctariumNetwork.cooldownEnabled(bool,uint8)._interval (#735) is not in mixedCase
Parameter OctariumNetwork.blacklistAddress(address,bool)._address (#741) is not in mixedCase
Parameter OctariumNetwork.blacklistAddress(address,bool)._value (#741) is not in mixedCase
Parameter OctariumNetwork.setAutoBuybackSettings(bool,uint256,uint256,uint256,bool)._enabled (#843) is not in mixedCase
Parameter OctariumNetwork.setAutoBuybackSettings(bool,uint256,uint256,uint256,bool)._cap (#843) is not in mixedCase
Parameter OctariumNetwork.setAutoBuybackSettings(bool,uint256,uint256,uint256,bool)._amount (#843) is not in mixedCase
Parameter OctariumNetwork.setAutoBuybackSettings(bool,uint256,uint256,uint256,bool)._period (#843) is not in mixedCase
Parameter OctariumNetwork.setAutoBuybackSettings(bool,uint256,uint256,uint256,bool)._autoBuybackMultiplier (#843) is not in mixedCase
Parameter OctariumNetwork.setBuyFees(uint256,uint256,uint256,uint256,uint256,uint256)._liquidityFeeBuy (#908) is not in mixedCase
Parameter OctariumNetwork.setBuyFees(uint256,uint256,uint256,uint256,uint256,uint256)._buybackFeeBuy (#908) is not in mixedCase
Parameter OctariumNetwork.setBuyFees(uint256,uint256,uint256,uint256,uint256,uint256)._reflectionFeeBuy (#908) is not in mixedCase
Parameter OctariumNetwork.setBuyFees(uint256,uint256,uint256,uint256,uint256,uint256)._marketingFeeBuy (#908) is not in mixedCase
Parameter OctariumNetwork.setBuyFees(uint256,uint256,uint256,uint256,uint256,uint256)._devFeeBuy (#908) is not in mixedCase
Parameter OctariumNetwork.setBuyFees(uint256,uint256,uint256,uint256,uint256,uint256)._feeDenominator (#908) is not in mixedCase
Parameter OctariumNetwork.setSellFees(uint256,uint256,uint256,uint256,uint256,uint256)._liquidityFeeSell (#919) is not in mixedCase
Parameter OctariumNetwork.setSellFees(uint256,uint256,uint256,uint256,uint256,uint256)._buybackFeeSell (#919) is not in mixedCase
Parameter OctariumNetwork.setSellFees(uint256,uint256,uint256,uint256,uint256,uint256)._reflectionFeeSell (#919) is not in mixedCase
Parameter OctariumNetwork.setSellFees(uint256,uint256,uint256,uint256,uint256,uint256)._marketingFeeSell (#919) is not in mixedCase
Parameter OctariumNetwork.setSellFees(uint256,uint256,uint256,uint256,uint256,uint256)._devFeeSell (#919) is not in mixedCase
Parameter OctariumNetwork.setSellFees(uint256,uint256,uint256,uint256,uint256,uint256)._feeDenominator (#919) is not in mixedCase
Parameter OctariumNetwork.setFeeReceivers(address,address)._autoLiquidityReceiver (#930) is not in mixedCase
Parameter OctariumNetwork.setFeeReceivers(address,address)._marketingFeeReceiver (#930) is not in mixedCase
Parameter OctariumNetwork.setSwapBackSettings(bool,uint256)._enabled (#936) is not in mixedCase
Parameter OctariumNetwork.setSwapBackSettings(bool,uint256)._amount (#936) is not in mixedCase
Parameter OctariumNetwork.setTargetLiquidity(uint256,uint256)._target (#942) is not in mixedCase
Parameter OctariumNetwork.setTargetLiquidity(uint256,uint256)._denominator (#942) is not in mixedCase
Parameter OctariumNetwork.setDistributionCriteria(uint256,uint256)._minPeriod (#954) is not in mixedCase
Parameter OctariumNetwork.setDistributionCriteria(uint256,uint256)._minDistribution (#954) is not in mixedCase
Variable OctariumNetwork.BUSD (#374) is not in mixedCase
Variable OctariumNetwork.WBNB (#375) is not in mixedCase
Variable OctariumNetwork.DEAD (#376) is not in mixedCase
Variable OctariumNetwork.ZERO (#377) is not in mixedCase
Variable OctariumNetwork.DEV (#378) is not in mixedCase
Constant OctariumNetwork._name (#385) is not in UPPER_CASE_WITH_UNDERSCORES
Constant OctariumNetwork._symbol (#386) is not in UPPER_CASE_WITH_UNDERSCORES
Constant OctariumNetwork._decimals (#387) is not in UPPER_CASE_WITH_UNDERSCORES
Variable OctariumNetwork._totalSupply (#390) is not in mixedCase
Variable OctariumNetwork._maxBuyTxAmount (#393) is not in mixedCase
Variable OctariumNetwork._maxSellTxAmount (#394) is not in mixedCase
Variable OctariumNetwork._maxWalletToken (#395) is not in mixedCase
Variable OctariumNetwork._balances (#398) is not in mixedCase
Variable OctariumNetwork._allowances (#399) is not in mixedCase
Variable OctariumNetwork.GREEDTriggeredAt (#432) is not in mixedCase
Variable OctariumNetwork.GREEDDuration (#433) is not in mixedCase
Follow the Solidity naming convention.
Additional information: link
Variable IDEXRouter.addLiquidity(address,address,uint256,uint256,uint256,uint256,address,uint256).amountADesired (#152) is too similar to IDEXRouter.addLiquidity(address,address,uint256,uint256,uint256,uint256,address,uint256).amountBDesired (#153)
Prevent variables from having similar names.
Additional information: link
OctariumNetwork.slitherConstructorVariables() (#370-992) uses literals with too many digits:
- DEAD = 0x000000000000000000000000000000000000dEaD (#376)
OctariumNetwork.slitherConstructorVariables() (#370-992) uses literals with too many digits:
- ZERO = 0x0000000000000000000000000000000000000000 (#377)
OctariumNetwork.slitherConstructorVariables() (#370-992) uses literals with too many digits:
- _totalSupply = 200000000 * (10 ** _decimals) (#390)
OctariumNetwork.slitherConstructorVariables() (#370-992) uses literals with too many digits:
- distributorGas = 500000 (#460)
Use: Ether suffix, Time suffix, or The scientific notation
Additional information: link
OctariumNetwork.BUSD (#374) is never used in OctariumNetwork (#370-992)
Remove unused state variables.
Additional information: link
DividendDistributor.WBNB (#215) should be constant
DividendDistributor.dividendsPerShareAccuracyFactor (#228) should be constant
OctariumNetwork.BUSD (#374) should be constant
OctariumNetwork.DEAD (#376) should be constant
OctariumNetwork.DEV (#378) should be constant
OctariumNetwork.WBNB (#375) should be constant
OctariumNetwork.ZERO (#377) should be constant
OctariumNetwork._totalSupply (#390) should be constant
OctariumNetwork.deadBlocks (#436) 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) (#102-104)
unauthorize(address) should be declared external:
- Auth.unauthorize(address) (#109-111)
transferOwnership(address) should be declared external:
- Auth.transferOwnership(address) (#130-134)
getTotalFee(bool) should be declared external:
- OctariumNetwork.getTotalFee(bool) (#673-677)
tradingStatus(bool) should be declared external:
- OctariumNetwork.tradingStatus(bool) (#718-721)
enableGREED(uint256) should be declared external:
- OctariumNetwork.enableGREED(uint256) (#724-727)
cooldownEnabled(bool,uint8) should be declared external:
- OctariumNetwork.cooldownEnabled(bool,uint8) (#735-738)
blacklistAddress(address,bool) should be declared external:
- OctariumNetwork.blacklistAddress(address,bool) (#741-743)
getUnpaidEarnings(address) should be declared external:
- OctariumNetwork.getUnpaidEarnings(address) (#964-966)
Use the external attribute for functions never called from the contract.
Additional information: link
Unable to find website, listings and other project-related information
Young tokens have high risks of scam / price dump / death
Token has no active CoinGecko listing / rank
Token has no active CoinMarketCap listing / rank
Unable to find Telegram and Twitter accounts