Oracle Capital's Auto Staking as a Service (ASaaS) protocol and Auto Compounding are poised to bring in a DeFi 3.0 Financial Revolution. Featured on platform with bitcoin halving system on BEP20 chains, yielding staking on behalf of $OC investors.
OracleCapital.swapBack() (#1017-1059) sends eth to arbitrary user
Dangerous calls:
- (success) = address(treasuryFund).call{gas: 75000,value: amountBNBTreasury}() (#1049-1053)
- (success,None) = address(insuranceFund).call{gas: 75000,value: amountBNBFund}() (#1054-1058)
Ensure that an arbitrary user cannot withdraw unauthorized funds.
Additional information: link
Reentrancy in OracleCapital._transferFrom(address,address,uint256) (#847-904):
External calls:
- rebase() (#866)
- pairContract.sync() (#799)
- addLiquidity() (#870)
- router.swapExactTokensForETHSupportingFeeOnTransferTokens(amountToSwap,0,path,address(this),block.timestamp) (#994-1000)
- router.addLiquidityETH{value: amountETHLiquidity}(address(this),amountToLiquify,0,0,liquidityFund,block.timestamp) (#1005-1012)
- swapBack() (#874)
- router.swapExactTokensForETHSupportingFeeOnTransferTokens(amountToSwap,0,path,address(this),block.timestamp) (#1030-1036)
- distributor.deposit{value: amountBNBReflection}() (#1047)
- (success) = address(treasuryFund).call{gas: 75000,value: amountBNBTreasury}() (#1049-1053)
- (success,None) = address(insuranceFund).call{gas: 75000,value: amountBNBFund}() (#1054-1058)
External calls sending eth:
- addLiquidity() (#870)
- router.addLiquidityETH{value: amountETHLiquidity}(address(this),amountToLiquify,0,0,liquidityFund,block.timestamp) (#1005-1012)
- swapBack() (#874)
- distributor.deposit{value: amountBNBReflection}() (#1047)
- (success) = address(treasuryFund).call{gas: 75000,value: amountBNBTreasury}() (#1049-1053)
- (success,None) = address(insuranceFund).call{gas: 75000,value: amountBNBFund}() (#1054-1058)
State variables written after the call(s):
- _gonBalances[sender] = _gonBalances[sender].sub(gonAmount) (#878)
- _gonBalances[recipient] = _gonBalances[recipient].add(gonAmountReceived) (#880-882)
- gonAmountReceived = takeFee(sender,recipient,gonAmount) (#879)
- _gonBalances[UplineAddressBuyer] = _gonBalances[UplineAddressBuyer].add(_uplineBuyerReward) (#927-929)
- _gonBalances[UplineAddress] = _gonBalances[UplineAddress].add(_uplineReward) (#941-943)
- _gonBalances[firePit] = _gonBalances[firePit].add(gonAmount.div(feeDenominator).mul(firepitFee)) (#948-950)
- _gonBalances[address(this)] = _gonBalances[address(this)].add(gonAmount.div(feeDenominator).mul(_treasuryFee.add(insuranceFee))) (#951-953)
- _gonBalances[liquidityFund] = _gonBalances[liquidityFund].add(gonAmount.div(feeDenominator).mul(liquidityFee)) (#954-956)
- _gonBalances[sellFeeFund] = _gonBalances[sellFeeFund].add(gonAmount.div(feeDenominator).mul(sellFee)) (#959-961)
- swapBack() (#874)
- inSwap = true (#715)
- inSwap = false (#717)
Apply the check-effects-interactions pattern.
Additional information: link
OracleCapital._name (#613) shadows:
- ERC20Detailed._name (#398)
OracleCapital._symbol (#614) shadows:
- ERC20Detailed._symbol (#399)
OracleCapital._decimals (#615) shadows:
- ERC20Detailed._decimals (#400)
Remove the state variable shadowing.
Additional information: link
DividendDistributor.distributeDividend(address) (#554-565) ignores return value by RWRD.transfer(shareholder,amount) (#560)
Use SafeERC20, or ensure that the transfer/transferFrom return value is checked.
Additional information: link
Too many vulnerabilities (Unchecked transfer, Reentrancy vulnerability, etc.). High risk of a scam. DYOR & manual audit are advised.
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.
Unable to verify that contract auditor is trusted: Certik, Quantstamp, Hacken, Solidity, Paladinsec, Openzeppelin, Verichains
OracleCapital.swapBack().success (#1049) is written in both
(success) = address(treasuryFund).call{gas: 75000,value: amountBNBTreasury}() (#1049-1053)
(success,None) = address(insuranceFund).call{gas: 75000,value: amountBNBFund}() (#1054-1058)
Fix or remove the writes.
Additional information: link
OracleCapital.addLiquidity() (#973-1015) ignores return value by router.addLiquidityETH{value: amountETHLiquidity}(address(this),amountToLiquify,0,0,liquidityFund,block.timestamp) (#1005-1012)
Ensure that all the return values of the function calls are used.
Additional information: link
DividendDistributor.distributeDividend(address) (#554-565) has external calls inside a loop: RWRD.transfer(shareholder,amount) (#560)
Favor pull over push strategy for external calls.
Additional information: link
OracleCapital._transferFrom(address,address,uint256) (#847-904) compares to a boolean constant:
-require(bool,string)(tradingEnabled == true,Trading not open yet) (#859)
Remove the equality to the boolean constant.
Additional information: link
Variable IPancakeSwapRouter.addLiquidity(address,address,uint256,uint256,uint256,uint256,address,uint256).amountADesired (#214) is too similar to IPancakeSwapRouter.addLiquidity(address,address,uint256,uint256,uint256,uint256,address,uint256).amountBDesired (#215)
Prevent variables from having similar names.
Additional information: link
authorize(address) should be declared external:
- Auth.authorize(address) (#372-374)
unauthorize(address) should be declared external:
- Auth.unauthorize(address) (#376-378)
transferOwnership(address) should be declared external:
- Auth.transferOwnership(address) (#388-392)
name() should be declared external:
- ERC20Detailed.name() (#412-414)
symbol() should be declared external:
- ERC20Detailed.symbol() (#416-418)
decimals() should be declared external:
- ERC20Detailed.decimals() (#420-422)
getTotalReflectionEarned(address) should be declared external:
- DividendDistributor.getTotalReflectionEarned(address) (#567-569)
getTotalReflectionDistributed() should be declared external:
- DividendDistributor.getTotalReflectionDistributed() (#571-573)
getTotalUpline() should be declared external:
- OracleCapital.getTotalUpline() (#632-634)
getUplineAddressByIndex(uint256) should be declared external:
- OracleCapital.getUplineAddressByIndex(uint256) (#636-638)
getDownlines(address) should be declared external:
- OracleCapital.getDownlines(address) (#663-665)
getReferralTotalFee(address) should be declared external:
- OracleCapital.getReferralTotalFee(address) (#671-673)
index() should be declared external:
- OracleCapital.index() (#1277-1279)
Use the external attribute for functions never called from the contract.
Additional information: link
OracleCapital.rebase() (#780-802) performs a multiplication on the result of a division:
-times = deltaTime.div(3600) (#785)
-epoch = times.mul(60) (#786)
OracleCapital.rebase() (#780-802) performs a multiplication on the result of a division:
-times = deltaTime.div(3600) (#785)
-_lastRebasedTime = _lastRebasedTime.add(times.mul(3600)) (#797)
OracleCapital.takeFee(address,address,uint256) (#906-966) performs a multiplication on the result of a division:
-feeAmount = gonAmount.div(feeDenominator).mul(_totalFee) (#918)
OracleCapital.takeFee(address,address,uint256) (#906-966) performs a multiplication on the result of a division:
-_uplineBuyerReward = gonAmount.div(feeDenominator).mul(15) (#925)
OracleCapital.takeFee(address,address,uint256) (#906-966) performs a multiplication on the result of a division:
-feeAmount = gonAmount.div(feeDenominator).mul(_totalFee - 5) (#926)
OracleCapital.takeFee(address,address,uint256) (#906-966) performs a multiplication on the result of a division:
-_uplineReward = gonAmount.div(feeDenominator).mul(15) (#939)
OracleCapital.takeFee(address,address,uint256) (#906-966) performs a multiplication on the result of a division:
-_gonBalances[firePit] = _gonBalances[firePit].add(gonAmount.div(feeDenominator).mul(firepitFee)) (#948-950)
OracleCapital.takeFee(address,address,uint256) (#906-966) performs a multiplication on the result of a division:
-feeAmount = gonAmount.div(feeDenominator).mul(_totalFee - 5) (#940)
OracleCapital.takeFee(address,address,uint256) (#906-966) performs a multiplication on the result of a division:
-_gonBalances[address(this)] = _gonBalances[address(this)].add(gonAmount.div(feeDenominator).mul(_treasuryFee.add(insuranceFee))) (#951-953)
OracleCapital.takeFee(address,address,uint256) (#906-966) performs a multiplication on the result of a division:
-_gonBalances[liquidityFund] = _gonBalances[liquidityFund].add(gonAmount.div(feeDenominator).mul(liquidityFee)) (#954-956)
OracleCapital.takeFee(address,address,uint256) (#906-966) performs a multiplication on the result of a division:
-_gonBalances[sellFeeFund] = _gonBalances[sellFeeFund].add(gonAmount.div(feeDenominator).mul(sellFee)) (#959-961)
OracleCapital.getLiquidityBacking(uint256) (#1228-1236) performs a multiplication on the result of a division:
-liquidityBalance = _gonBalances[pair].div(_gonsPerFragment) (#1233)
-accuracy.mul(liquidityBalance.mul(2)).div(getCirculatingSupply()) (#1234-1235)
Consider ordering multiplication before division.
Additional information: link
Reentrancy in DividendDistributor.distributeDividend(address) (#554-565):
External calls:
- RWRD.transfer(shareholder,amount) (#560)
State variables written after the call(s):
- shares[shareholder].totalRealised = shares[shareholder].totalRealised.add(amount) (#562)
- shares[shareholder].totalExcluded = getCumulativeDividends(shares[shareholder].amount) (#563)
Reentrancy in DividendDistributor.process(uint256) (#523-547):
External calls:
- distributeDividend(shareholders[currentIndex]) (#539)
- RWRD.transfer(shareholder,amount) (#560)
State variables written after the call(s):
- currentIndex ++ (#544)
Reentrancy in DividendDistributor.setShare(address,uint256) (#487-501):
External calls:
- distributeDividend(shareholder) (#489)
- RWRD.transfer(shareholder,amount) (#560)
State variables written after the call(s):
- shares[shareholder].amount = amount (#499)
- shares[shareholder].totalExcluded = getCumulativeDividends(shares[shareholder].amount) (#500)
Apply the check-effects-interactions pattern.
Additional information: link
DividendDistributor.setDistributionCriteria(uint256,uint256) (#482-485) should emit an event for:
- minPeriod = _minPeriod (#483)
- minDistribution = _minDistribution (#484)
Emit an event for critical parameter changes.
Additional information: link
Auth.transferOwnership(address).adr (#388) lacks a zero-check on :
- owner = adr (#389)
OracleCapital.setFeeReceivers(address,address,address,address,address)._liquidityFund (#1215) lacks a zero-check on :
- liquidityFund = _liquidityFund (#1221)
OracleCapital.setFeeReceivers(address,address,address,address,address)._treasuryFund (#1216) lacks a zero-check on :
- treasuryFund = _treasuryFund (#1222)
OracleCapital.setFeeReceivers(address,address,address,address,address)._insuranceFund (#1217) lacks a zero-check on :
- insuranceFund = _insuranceFund (#1223)
OracleCapital.setFeeReceivers(address,address,address,address,address)._firePit (#1218) lacks a zero-check on :
- firePit = _firePit (#1224)
OracleCapital.setFeeReceivers(address,address,address,address,address)._sellFeeFund (#1219) lacks a zero-check on :
- sellFeeFund = _sellFeeFund (#1225)
OracleCapital.setPairAddress(address)._pairAddress (#1247) lacks a zero-check on :
- pairAddress = _pairAddress (#1248)
Check that the address is not zero.
Additional information: link
Reentrancy in OracleCapital._transferFrom(address,address,uint256) (#847-904):
External calls:
- rebase() (#866)
- pairContract.sync() (#799)
- addLiquidity() (#870)
- router.swapExactTokensForETHSupportingFeeOnTransferTokens(amountToSwap,0,path,address(this),block.timestamp) (#994-1000)
- router.addLiquidityETH{value: amountETHLiquidity}(address(this),amountToLiquify,0,0,liquidityFund,block.timestamp) (#1005-1012)
- swapBack() (#874)
- router.swapExactTokensForETHSupportingFeeOnTransferTokens(amountToSwap,0,path,address(this),block.timestamp) (#1030-1036)
- distributor.deposit{value: amountBNBReflection}() (#1047)
- (success) = address(treasuryFund).call{gas: 75000,value: amountBNBTreasury}() (#1049-1053)
- (success,None) = address(insuranceFund).call{gas: 75000,value: amountBNBFund}() (#1054-1058)
External calls sending eth:
- addLiquidity() (#870)
- router.addLiquidityETH{value: amountETHLiquidity}(address(this),amountToLiquify,0,0,liquidityFund,block.timestamp) (#1005-1012)
- swapBack() (#874)
- distributor.deposit{value: amountBNBReflection}() (#1047)
- (success) = address(treasuryFund).call{gas: 75000,value: amountBNBTreasury}() (#1049-1053)
- (success,None) = address(insuranceFund).call{gas: 75000,value: amountBNBFund}() (#1054-1058)
State variables written after the call(s):
- gonAmountReceived = takeFee(sender,recipient,gonAmount) (#879)
- referralTotalFeeReceived[receiver] += amount (#668)
Reentrancy in OracleCapital.addLiquidity() (#973-1015):
External calls:
- router.swapExactTokensForETHSupportingFeeOnTransferTokens(amountToSwap,0,path,address(this),block.timestamp) (#994-1000)
- router.addLiquidityETH{value: amountETHLiquidity}(address(this),amountToLiquify,0,0,liquidityFund,block.timestamp) (#1005-1012)
External calls sending eth:
- router.addLiquidityETH{value: amountETHLiquidity}(address(this),amountToLiquify,0,0,liquidityFund,block.timestamp) (#1005-1012)
State variables written after the call(s):
- _lastAddLiquidityTime = block.timestamp (#1014)
Reentrancy in OracleCapital.constructor() (#739-778):
External calls:
- pair = IPancakeSwapFactory(router.factory()).createPair(router.WETH(),address(this)) (#741-744)
State variables written after the call(s):
- INDEX = gonsForBalance(100000) (#775)
- _allowedFragments[address(this)][address(router)] = uint256(MAX_SUPPLY) (#754)
- _autoAddLiquidity = true (#770)
- _autoRebase = false (#769)
- _gonBalances[msg.sender] = TOTAL_GONS (#765)
- _gonsPerFragment = TOTAL_GONS.div(_totalSupply) (#766)
- _initRebaseStartTime = block.timestamp (#767)
- _isFeeExempt[treasuryFund] = true (#771)
- _isFeeExempt[address(this)] = true (#772)
- _isFeeExempt[msg.sender] = true (#773)
- _lastRebasedTime = block.timestamp (#768)
- _totalSupply = INITIAL_FRAGMENTS_SUPPLY (#764)
- distributor = new DividendDistributor(address(router)) (#752)
- firePit = 0xE57B595F18744742d0c077215B2cB3bc78B9e6fe (#749)
- insuranceFund = 0x5c9dbd931F6ebBB05135989cce764b559d32DBb4 (#748)
- isDividendExempt[pair] = true (#758)
- isDividendExempt[address(this)] = true (#759)
- isDividendExempt[DEAD] = true (#760)
- isDividendExempt[insuranceFund] = true (#761)
- isDividendExempt[firePit] = true (#762)
- liquidityFund = 0x1bfc3Fb189bBE12D780C96F70d61B5F487F20C08 (#746)
- pairAddress = pair (#755)
- pairContract = IPancakeSwapPair(pair) (#756)
- sellFeeFund = 0x2ab55FD8ddF391db756F01C1fA04AD2104424F99 (#750)
- treasuryFund = 0x7305B179086d8CfE6d5D777317Ff42Ca9fe4a8C3 (#747)
Reentrancy in DividendDistributor.deposit() (#503-521):
External calls:
- router.swapExactETHForTokensSupportingFeeOnTransferTokens{value: msg.value}(0,path,address(this),block.timestamp) (#510-515)
State variables written after the call(s):
- dividendsPerShare = dividendsPerShare.add(dividendsPerShareAccuracyFactor.mul(amount).div(totalShares)) (#520)
- totalDividends = totalDividends.add(amount) (#519)
Reentrancy in DividendDistributor.distributeDividend(address) (#554-565):
External calls:
- RWRD.transfer(shareholder,amount) (#560)
State variables written after the call(s):
- shareholderClaims[shareholder] = block.timestamp (#561)
Reentrancy in DividendDistributor.setShare(address,uint256) (#487-501):
External calls:
- distributeDividend(shareholder) (#489)
- RWRD.transfer(shareholder,amount) (#560)
State variables written after the call(s):
- addShareholder(shareholder) (#493)
- shareholderIndexes[shareholder] = shareholders.length (#595)
- removeShareholder(shareholder) (#495)
- shareholderIndexes[shareholders[shareholders.length - 1]] = shareholderIndexes[shareholder] (#601)
- addShareholder(shareholder) (#493)
- shareholders.push(shareholder) (#596)
- removeShareholder(shareholder) (#495)
- shareholders[shareholderIndexes[shareholder]] = shareholders[shareholders.length - 1] (#600)
- shareholders.pop() (#602)
- totalShares = totalShares.sub(shares[shareholder].amount).add(amount) (#498)
Apply the check-effects-interactions pattern.
Additional information: link
Reentrancy in OracleCapital._transferFrom(address,address,uint256) (#847-904):
External calls:
- rebase() (#866)
- pairContract.sync() (#799)
- addLiquidity() (#870)
- router.swapExactTokensForETHSupportingFeeOnTransferTokens(amountToSwap,0,path,address(this),block.timestamp) (#994-1000)
- router.addLiquidityETH{value: amountETHLiquidity}(address(this),amountToLiquify,0,0,liquidityFund,block.timestamp) (#1005-1012)
- swapBack() (#874)
- router.swapExactTokensForETHSupportingFeeOnTransferTokens(amountToSwap,0,path,address(this),block.timestamp) (#1030-1036)
- distributor.deposit{value: amountBNBReflection}() (#1047)
- (success) = address(treasuryFund).call{gas: 75000,value: amountBNBTreasury}() (#1049-1053)
- (success,None) = address(insuranceFund).call{gas: 75000,value: amountBNBFund}() (#1054-1058)
- distributor.setShare(sender,balanceOf(sender)) (#885)
- distributor.setShare(sender,0) (#888)
- distributor.setShare(recipient,balanceOf(recipient)) (#892)
- distributor.setShare(recipient,0) (#895)
External calls sending eth:
- addLiquidity() (#870)
- router.addLiquidityETH{value: amountETHLiquidity}(address(this),amountToLiquify,0,0,liquidityFund,block.timestamp) (#1005-1012)
- swapBack() (#874)
- distributor.deposit{value: amountBNBReflection}() (#1047)
- (success) = address(treasuryFund).call{gas: 75000,value: amountBNBTreasury}() (#1049-1053)
- (success,None) = address(insuranceFund).call{gas: 75000,value: amountBNBFund}() (#1054-1058)
Event emitted after the call(s):
- Transfer(sender,recipient,gonAmountReceived.div(_gonsPerFragment)) (#898-902)
Reentrancy in OracleCapital._transferFrom(address,address,uint256) (#847-904):
External calls:
- rebase() (#866)
- pairContract.sync() (#799)
- addLiquidity() (#870)
- router.swapExactTokensForETHSupportingFeeOnTransferTokens(amountToSwap,0,path,address(this),block.timestamp) (#994-1000)
- router.addLiquidityETH{value: amountETHLiquidity}(address(this),amountToLiquify,0,0,liquidityFund,block.timestamp) (#1005-1012)
- swapBack() (#874)
- router.swapExactTokensForETHSupportingFeeOnTransferTokens(amountToSwap,0,path,address(this),block.timestamp) (#1030-1036)
- distributor.deposit{value: amountBNBReflection}() (#1047)
- (success) = address(treasuryFund).call{gas: 75000,value: amountBNBTreasury}() (#1049-1053)
- (success,None) = address(insuranceFund).call{gas: 75000,value: amountBNBFund}() (#1054-1058)
External calls sending eth:
- addLiquidity() (#870)
- router.addLiquidityETH{value: amountETHLiquidity}(address(this),amountToLiquify,0,0,liquidityFund,block.timestamp) (#1005-1012)
- swapBack() (#874)
- distributor.deposit{value: amountBNBReflection}() (#1047)
- (success) = address(treasuryFund).call{gas: 75000,value: amountBNBTreasury}() (#1049-1053)
- (success,None) = address(insuranceFund).call{gas: 75000,value: amountBNBFund}() (#1054-1058)
Event emitted after the call(s):
- Transfer(sender,address(this),feeAmount.div(_gonsPerFragment)) (#964)
- gonAmountReceived = takeFee(sender,recipient,gonAmount) (#879)
Reentrancy in OracleCapital.constructor() (#739-778):
External calls:
- pair = IPancakeSwapFactory(router.factory()).createPair(router.WETH(),address(this)) (#741-744)
Event emitted after the call(s):
- Transfer(address(0x0),msg.sender,_totalSupply) (#777)
Reentrancy in OracleCapital.rebase() (#780-802):
External calls:
- pairContract.sync() (#799)
Event emitted after the call(s):
- LogRebase(epoch,_totalSupply) (#801)
Apply the check-effects-interactions pattern.
Additional information: link
DividendDistributor.process(uint256) (#523-547) has costly operations inside a loop:
- currentIndex = 0 (#535)
DividendDistributor.distributeDividend(address) (#554-565) has costly operations inside a loop:
- totalDistributed = totalDistributed.add(amount) (#559)
DividendDistributor.process(uint256) (#523-547) has costly operations inside a loop:
- currentIndex ++ (#544)
Use a local variable to hold the loop computation result.
Additional information: link
SafeMath.mod(uint256,uint256) (#121-124) is never used and should be removed
SafeMathInt.abs(int256) (#66-69) is never used and should be removed
SafeMathInt.add(int256,int256) (#60-64) is never used and should be removed
SafeMathInt.div(int256,int256) (#48-52) is never used and should be removed
SafeMathInt.mul(int256,int256) (#40-46) is never used and should be removed
SafeMathInt.sub(int256,int256) (#54-58) is never used and should be removed
Remove unused functions.
Additional information: link
OracleCapital.totalFee (#688-690) is set pre-construction with a non-constant function or state variable:
- liquidityFee.add(treasuryFee).add(insuranceFee).add(firepitFee).add(reflectionFee)
OracleCapital.totalFeeSell (#691) is set pre-construction with a non-constant function or state variable:
- totalFee.add(sellFee)
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 OracleCapital.swapBack() (#1017-1059):
- (success) = address(treasuryFund).call{gas: 75000,value: amountBNBTreasury}() (#1049-1053)
- (success,None) = address(insuranceFund).call{gas: 75000,value: amountBNBFund}() (#1054-1058)
Avoid low-level calls. Check the call success. If the call is meant for a contract, check for code existence
Additional information: link
Function IPancakeSwapPair.DOMAIN_SEPARATOR() (#171) is not in mixedCase
Function IPancakeSwapPair.PERMIT_TYPEHASH() (#172) is not in mixedCase
Function IPancakeSwapPair.MINIMUM_LIQUIDITY() (#189) is not in mixedCase
Function IPancakeSwapRouter.WETH() (#209) is not in mixedCase
Parameter DividendDistributor.setDistributionCriteria(uint256,uint256)._minPeriod (#482) is not in mixedCase
Parameter DividendDistributor.setDistributionCriteria(uint256,uint256)._minDistribution (#482) is not in mixedCase
Variable DividendDistributor._token (#435) is not in mixedCase
Variable DividendDistributor.RWRD (#443) is not in mixedCase
Variable DividendDistributor.WBNB (#444) is not in mixedCase
Parameter OracleCapital.setAutoRebase(bool)._flag (#1109) is not in mixedCase
Parameter OracleCapital.setAutoAddLiquidity(bool)._flag (#1118) is not in mixedCase
Parameter OracleCapital.checkFeeExempt(address)._addr (#1191) is not in mixedCase
Parameter OracleCapital.setDistributionCriteria(uint256,uint256)._minPeriod (#1206) is not in mixedCase
Parameter OracleCapital.setDistributionCriteria(uint256,uint256)._minDistribution (#1206) is not in mixedCase
Parameter OracleCapital.setFeeReceivers(address,address,address,address,address)._liquidityFund (#1215) is not in mixedCase
Parameter OracleCapital.setFeeReceivers(address,address,address,address,address)._treasuryFund (#1216) is not in mixedCase
Parameter OracleCapital.setFeeReceivers(address,address,address,address,address)._insuranceFund (#1217) is not in mixedCase
Parameter OracleCapital.setFeeReceivers(address,address,address,address,address)._firePit (#1218) is not in mixedCase
Parameter OracleCapital.setFeeReceivers(address,address,address,address,address)._sellFeeFund (#1219) is not in mixedCase
Parameter OracleCapital.setWhitelistAddress(address)._addr (#1238) is not in mixedCase
Parameter OracleCapital.setBotBlacklist(address,bool)._botAddress (#1242) is not in mixedCase
Parameter OracleCapital.setBotBlacklist(address,bool)._flag (#1242) is not in mixedCase
Parameter OracleCapital.setPairAddress(address)._pairAddress (#1247) is not in mixedCase
Parameter OracleCapital.setLP(address)._address (#1251) is not in mixedCase
Variable OracleCapital._name (#613) is not in mixedCase
Variable OracleCapital._symbol (#614) is not in mixedCase
Variable OracleCapital._decimals (#615) is not in mixedCase
Variable OracleCapital._isFeeExempt (#618) is not in mixedCase
Variable OracleCapital.Downlines (#626) is not in mixedCase
Variable OracleCapital.INDEX (#725) is not in mixedCase
Variable OracleCapital._autoRebase (#727) is not in mixedCase
Variable OracleCapital._autoAddLiquidity (#728) is not in mixedCase
Variable OracleCapital._initRebaseStartTime (#729) is not in mixedCase
Variable OracleCapital._lastRebasedTime (#730) is not in mixedCase
Variable OracleCapital._lastAddLiquidityTime (#731) is not in mixedCase
Variable OracleCapital._totalSupply (#732) is not in mixedCase
Follow the Solidity naming convention.
Additional information: link
OracleCapital.constructor() (#739-778) uses literals with too many digits:
- INDEX = gonsForBalance(100000) (#775)
OracleCapital.slitherConstructorVariables() (#606-1295) uses literals with too many digits:
- distributorGas = 500000 (#710)
OracleCapital.slitherConstructorConstantVariables() (#606-1295) uses literals with too many digits:
- DEAD = 0x000000000000000000000000000000000000dEaD (#694)
OracleCapital.slitherConstructorConstantVariables() (#606-1295) uses literals with too many digits:
- ZERO = 0x0000000000000000000000000000000000000000 (#695)
Use: Ether suffix, Time suffix, or The scientific notation
Additional information: link
SafeMathInt.MAX_INT256 (#38) is never used in SafeMathInt (#36-70)
OracleCapital.distributorGas (#710) is never used in OracleCapital (#606-1295)
Remove unused state variables.
Additional information: link
DividendDistributor.WBNB (#444) should be constant
DividendDistributor.dividendsPerShareAccuracyFactor (#457) should be constant
OracleCapital._decimals (#615) should be constant
OracleCapital._name (#613) should be constant
OracleCapital._symbol (#614) should be constant
OracleCapital.distributorGas (#710) should be constant
OracleCapital.feeDenominator (#692) should be constant
OracleCapital.firepitFee (#685) should be constant
OracleCapital.insuranceFee (#684) should be constant
OracleCapital.liquidityFee (#683) should be constant
OracleCapital.reflectionFee (#686) should be constant
OracleCapital.sellFee (#687) should be constant
OracleCapital.swapEnabled (#705) should be constant
OracleCapital.treasuryFee (#682) should be constant
Add the constant attributes to state variables that never change.
Additional information: link
DividendDistributor.shouldDistribute(address) (#549-552) uses timestamp for comparisons
Dangerous comparisons:
- shareholderClaims[shareholder] + minPeriod < block.timestamp && getUnpaidEarnings(shareholder) > minDistribution (#550-551)
OracleCapital.rebase() (#780-802) uses timestamp for comparisons
Dangerous comparisons:
- i < times (#790)
OracleCapital.shouldRebase() (#1086-1093) uses timestamp for comparisons
Dangerous comparisons:
- _autoRebase && (_totalSupply < MAX_SUPPLY) && msg.sender != pair && ! inSwap && block.timestamp >= (_lastRebasedTime + 3600) (#1087-1092)
OracleCapital.shouldAddLiquidity() (#1095-1101) uses timestamp for comparisons
Dangerous comparisons:
- _autoAddLiquidity && ! inSwap && msg.sender != pair && block.timestamp >= (_lastAddLiquidityTime + 86400) (#1096-1100)
Avoid relying on block.timestamp.
Additional information: link
OracleCapital.isContract(address) (#1263-1267) uses assembly
- INLINE ASM (#1265)
Do not use evm assembly.
Additional information: link
Average 30d PancakeSwap volume is less than $100. Token is either dead or inactive.
Average PancakeSwap trading volume, liqudity, number of swaps are low. Token seems to be inactive.
Contract has 15% buy tax and 20% sell tax.
Taxes are high (over 10%) but contract ownership is renounced.
Average 30d number of PancakeSwap swaps is low.
Token is deployed only at one blockchain
Token has only one trading pair
Token is marked as scam (rug pull, honeypot, phishing, etc.)
Additional information: link
Young tokens have high risks of price dump / death
Token has no active CoinGecko 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 CoinMarketCap rank
Last post in Twitter was more than 30 days ago
Unable to find Youtube account
Unable to find Discord account