Oceans Finance has created the $OCEANS token with automatic staking and compounding features including BUSD Rewards AT 7% Buy and 8% Sell, and a Fixed APY in the market at up to 383,125.80% for the first 12 months.
Oceans Finance team has also created the $OCEANS Miner that also gives up to 12% APR Daily. Our dApp and protocol is like no other.
DividendDistributor.distributeDividend(address) (crytic-export/etherscan-contracts/0x7769d930bc6b087f960c5d21e34a4449576cf22a.bscscan.com-Oceans_Finance.sol#491-502) ignores return value by BUSD.transfer(shareholder,amount) (crytic-export/etherscan-contracts/0x7769d930bc6b087f960c5d21e34a4449576cf22a.bscscan.com-Oceans_Finance.sol#497)
Use SafeERC20, or ensure that the transfer/transferFrom return value is checked.
Additional information: link
Oceans_Finance.swapBack() (crytic-export/etherscan-contracts/0x7769d930bc6b087f960c5d21e34a4449576cf22a.bscscan.com-Oceans_Finance.sol#933-969) sends eth to arbitrary user
Dangerous calls:
- (success) = address(treasuryReceiver).call{gas: 30000,value: amountETHToTreasuryAndSIF.mul(treasuryFee).div(treasuryFee.add(oceanDividendFee))}() (crytic-export/etherscan-contracts/0x7769d930bc6b087f960c5d21e34a4449576cf22a.bscscan.com-Oceans_Finance.sol#959-964)
Ensure that an arbitrary user cannot withdraw unauthorized funds.
Additional information: link
Reentrancy in Oceans_Finance._transferFrom(address,address,uint256) (crytic-export/etherscan-contracts/0x7769d930bc6b087f960c5d21e34a4449576cf22a.bscscan.com-Oceans_Finance.sol#805-852):
External calls:
- pinkAntiBot.onPreTransferCheck(sender,recipient,amount) (crytic-export/etherscan-contracts/0x7769d930bc6b087f960c5d21e34a4449576cf22a.bscscan.com-Oceans_Finance.sol#814)
- rebase() (crytic-export/etherscan-contracts/0x7769d930bc6b087f960c5d21e34a4449576cf22a.bscscan.com-Oceans_Finance.sol#821)
- pairContract.sync() (crytic-export/etherscan-contracts/0x7769d930bc6b087f960c5d21e34a4449576cf22a.bscscan.com-Oceans_Finance.sol#764)
- addLiquidity() (crytic-export/etherscan-contracts/0x7769d930bc6b087f960c5d21e34a4449576cf22a.bscscan.com-Oceans_Finance.sol#825)
- router.swapExactTokensForETHSupportingFeeOnTransferTokens(amountToSwap,0,path,address(this),block.timestamp) (crytic-export/etherscan-contracts/0x7769d930bc6b087f960c5d21e34a4449576cf22a.bscscan.com-Oceans_Finance.sol#910-916)
- router.addLiquidityETH{value: amountETHLiquidity}(address(this),amountToLiquify,0,0,autoLiquidityReceiver,block.timestamp) (crytic-export/etherscan-contracts/0x7769d930bc6b087f960c5d21e34a4449576cf22a.bscscan.com-Oceans_Finance.sol#921-928)
- swapBack() (crytic-export/etherscan-contracts/0x7769d930bc6b087f960c5d21e34a4449576cf22a.bscscan.com-Oceans_Finance.sol#829)
- router.swapExactTokensForETHSupportingFeeOnTransferTokens(amountToSwap,0,path,address(this),block.timestamp) (crytic-export/etherscan-contracts/0x7769d930bc6b087f960c5d21e34a4449576cf22a.bscscan.com-Oceans_Finance.sol#947-953)
- (success) = address(treasuryReceiver).call{gas: 30000,value: amountETHToTreasuryAndSIF.mul(treasuryFee).div(treasuryFee.add(oceanDividendFee))}() (crytic-export/etherscan-contracts/0x7769d930bc6b087f960c5d21e34a4449576cf22a.bscscan.com-Oceans_Finance.sol#959-964)
- distributor.deposit{value: amountETHToTreasuryAndSIF.mul(oceanDividendFee).div(treasuryFee.add(oceanDividendFee))}() (crytic-export/etherscan-contracts/0x7769d930bc6b087f960c5d21e34a4449576cf22a.bscscan.com-Oceans_Finance.sol#966-968)
External calls sending eth:
- addLiquidity() (crytic-export/etherscan-contracts/0x7769d930bc6b087f960c5d21e34a4449576cf22a.bscscan.com-Oceans_Finance.sol#825)
- router.addLiquidityETH{value: amountETHLiquidity}(address(this),amountToLiquify,0,0,autoLiquidityReceiver,block.timestamp) (crytic-export/etherscan-contracts/0x7769d930bc6b087f960c5d21e34a4449576cf22a.bscscan.com-Oceans_Finance.sol#921-928)
- swapBack() (crytic-export/etherscan-contracts/0x7769d930bc6b087f960c5d21e34a4449576cf22a.bscscan.com-Oceans_Finance.sol#829)
- (success) = address(treasuryReceiver).call{gas: 30000,value: amountETHToTreasuryAndSIF.mul(treasuryFee).div(treasuryFee.add(oceanDividendFee))}() (crytic-export/etherscan-contracts/0x7769d930bc6b087f960c5d21e34a4449576cf22a.bscscan.com-Oceans_Finance.sol#959-964)
- distributor.deposit{value: amountETHToTreasuryAndSIF.mul(oceanDividendFee).div(treasuryFee.add(oceanDividendFee))}() (crytic-export/etherscan-contracts/0x7769d930bc6b087f960c5d21e34a4449576cf22a.bscscan.com-Oceans_Finance.sol#966-968)
State variables written after the call(s):
- _gonBalances[sender] = _gonBalances[sender].sub(gonAmount) (crytic-export/etherscan-contracts/0x7769d930bc6b087f960c5d21e34a4449576cf22a.bscscan.com-Oceans_Finance.sol#833)
- _gonBalances[recipient] = _gonBalances[recipient].add(gonAmountReceived) (crytic-export/etherscan-contracts/0x7769d930bc6b087f960c5d21e34a4449576cf22a.bscscan.com-Oceans_Finance.sol#837-839)
- gonAmountReceived = takeFee(sender,recipient,gonAmount) (crytic-export/etherscan-contracts/0x7769d930bc6b087f960c5d21e34a4449576cf22a.bscscan.com-Oceans_Finance.sol#834-836)
- _gonBalances[BlueHole] = _gonBalances[BlueHole].add(gonAmount.div(feeDenominator).mul(blueHole)) (crytic-export/etherscan-contracts/0x7769d930bc6b087f960c5d21e34a4449576cf22a.bscscan.com-Oceans_Finance.sol#875-877)
- _gonBalances[address(this)] = _gonBalances[address(this)].add(gonAmount.div(feeDenominator).mul(_treasuryFee.add(_oceanDividendFee))) (crytic-export/etherscan-contracts/0x7769d930bc6b087f960c5d21e34a4449576cf22a.bscscan.com-Oceans_Finance.sol#878-880)
- _gonBalances[autoLiquidityReceiver] = _gonBalances[autoLiquidityReceiver].add(gonAmount.div(feeDenominator).mul(_liquidityFee)) (crytic-export/etherscan-contracts/0x7769d930bc6b087f960c5d21e34a4449576cf22a.bscscan.com-Oceans_Finance.sol#881-883)
- swapBack() (crytic-export/etherscan-contracts/0x7769d930bc6b087f960c5d21e34a4449576cf22a.bscscan.com-Oceans_Finance.sol#829)
- inSwap = true (crytic-export/etherscan-contracts/0x7769d930bc6b087f960c5d21e34a4449576cf22a.bscscan.com-Oceans_Finance.sol#661)
- inSwap = false (crytic-export/etherscan-contracts/0x7769d930bc6b087f960c5d21e34a4449576cf22a.bscscan.com-Oceans_Finance.sol#663)
Apply the check-effects-interactions pattern.
Additional information: link
Unable to verify that contract auditor is trusted: Certik, Quantstamp, Hacken, Solidity, Paladinsec, Openzeppelin, Verichains
Contract ownership is not renounced (belongs to a wallet)
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.
Oceans_Finance.rebase() (crytic-export/etherscan-contracts/0x7769d930bc6b087f960c5d21e34a4449576cf22a.bscscan.com-Oceans_Finance.sol#736-767) performs a multiplication on the result of a division:
-times = deltaTime.div(900) (crytic-export/etherscan-contracts/0x7769d930bc6b087f960c5d21e34a4449576cf22a.bscscan.com-Oceans_Finance.sol#742)
-epoch = times.mul(15) (crytic-export/etherscan-contracts/0x7769d930bc6b087f960c5d21e34a4449576cf22a.bscscan.com-Oceans_Finance.sol#743)
Oceans_Finance.rebase() (crytic-export/etherscan-contracts/0x7769d930bc6b087f960c5d21e34a4449576cf22a.bscscan.com-Oceans_Finance.sol#736-767) performs a multiplication on the result of a division:
-times = deltaTime.div(900) (crytic-export/etherscan-contracts/0x7769d930bc6b087f960c5d21e34a4449576cf22a.bscscan.com-Oceans_Finance.sol#742)
-_lastRebasedTime = _lastRebasedTime.add(times.mul(900)) (crytic-export/etherscan-contracts/0x7769d930bc6b087f960c5d21e34a4449576cf22a.bscscan.com-Oceans_Finance.sol#762)
Oceans_Finance.takeFee(address,address,uint256) (crytic-export/etherscan-contracts/0x7769d930bc6b087f960c5d21e34a4449576cf22a.bscscan.com-Oceans_Finance.sol#854-887) performs a multiplication on the result of a division:
-feeAmount = gonAmount.div(feeDenominator).mul(_totalFee) (crytic-export/etherscan-contracts/0x7769d930bc6b087f960c5d21e34a4449576cf22a.bscscan.com-Oceans_Finance.sol#873)
Oceans_Finance.takeFee(address,address,uint256) (crytic-export/etherscan-contracts/0x7769d930bc6b087f960c5d21e34a4449576cf22a.bscscan.com-Oceans_Finance.sol#854-887) performs a multiplication on the result of a division:
-_gonBalances[BlueHole] = _gonBalances[BlueHole].add(gonAmount.div(feeDenominator).mul(blueHole)) (crytic-export/etherscan-contracts/0x7769d930bc6b087f960c5d21e34a4449576cf22a.bscscan.com-Oceans_Finance.sol#875-877)
Oceans_Finance.takeFee(address,address,uint256) (crytic-export/etherscan-contracts/0x7769d930bc6b087f960c5d21e34a4449576cf22a.bscscan.com-Oceans_Finance.sol#854-887) performs a multiplication on the result of a division:
-_gonBalances[address(this)] = _gonBalances[address(this)].add(gonAmount.div(feeDenominator).mul(_treasuryFee.add(_oceanDividendFee))) (crytic-export/etherscan-contracts/0x7769d930bc6b087f960c5d21e34a4449576cf22a.bscscan.com-Oceans_Finance.sol#878-880)
Oceans_Finance.takeFee(address,address,uint256) (crytic-export/etherscan-contracts/0x7769d930bc6b087f960c5d21e34a4449576cf22a.bscscan.com-Oceans_Finance.sol#854-887) performs a multiplication on the result of a division:
-_gonBalances[autoLiquidityReceiver] = _gonBalances[autoLiquidityReceiver].add(gonAmount.div(feeDenominator).mul(_liquidityFee)) (crytic-export/etherscan-contracts/0x7769d930bc6b087f960c5d21e34a4449576cf22a.bscscan.com-Oceans_Finance.sol#881-883)
Oceans_Finance.getLiquidityBacking(uint256) (crytic-export/etherscan-contracts/0x7769d930bc6b087f960c5d21e34a4449576cf22a.bscscan.com-Oceans_Finance.sol#1141-1149) performs a multiplication on the result of a division:
-liquidityBalance = _gonBalances[pair].div(_gonsPerFragment) (crytic-export/etherscan-contracts/0x7769d930bc6b087f960c5d21e34a4449576cf22a.bscscan.com-Oceans_Finance.sol#1146)
-accuracy.mul(liquidityBalance.mul(2)).div(getCirculatingSupply()) (crytic-export/etherscan-contracts/0x7769d930bc6b087f960c5d21e34a4449576cf22a.bscscan.com-Oceans_Finance.sol#1147-1148)
Consider ordering multiplication before division.
Additional information: link
Oceans_Finance.rebase().rebaseRate (crytic-export/etherscan-contracts/0x7769d930bc6b087f960c5d21e34a4449576cf22a.bscscan.com-Oceans_Finance.sol#739) is a local variable never initialized
Initialize all the variables. If a variable is meant to be initialized to zero, explicitly set it to zero to improve code readability.
Additional information: link
Oceans_Finance.addLiquidity() (crytic-export/etherscan-contracts/0x7769d930bc6b087f960c5d21e34a4449576cf22a.bscscan.com-Oceans_Finance.sol#889-931) ignores return value by router.addLiquidityETH{value: amountETHLiquidity}(address(this),amountToLiquify,0,0,autoLiquidityReceiver,block.timestamp) (crytic-export/etherscan-contracts/0x7769d930bc6b087f960c5d21e34a4449576cf22a.bscscan.com-Oceans_Finance.sol#921-928)
Ensure that all the return values of the function calls are used.
Additional information: link
DividendDistributor.setDistributionCriteria(uint256,uint256) (crytic-export/etherscan-contracts/0x7769d930bc6b087f960c5d21e34a4449576cf22a.bscscan.com-Oceans_Finance.sol#421-424) should emit an event for:
- minPeriod = _minPeriod (crytic-export/etherscan-contracts/0x7769d930bc6b087f960c5d21e34a4449576cf22a.bscscan.com-Oceans_Finance.sol#422)
- minDistribution = _minDistribution (crytic-export/etherscan-contracts/0x7769d930bc6b087f960c5d21e34a4449576cf22a.bscscan.com-Oceans_Finance.sol#423)
Emit an event for critical parameter changes.
Additional information: link
Oceans_Finance.setFeeReceivers(address,address,address)._autoLiquidityReceiver (crytic-export/etherscan-contracts/0x7769d930bc6b087f960c5d21e34a4449576cf22a.bscscan.com-Oceans_Finance.sol#1132) lacks a zero-check on :
- autoLiquidityReceiver = _autoLiquidityReceiver (crytic-export/etherscan-contracts/0x7769d930bc6b087f960c5d21e34a4449576cf22a.bscscan.com-Oceans_Finance.sol#1136)
Oceans_Finance.setFeeReceivers(address,address,address)._treasuryReceiver (crytic-export/etherscan-contracts/0x7769d930bc6b087f960c5d21e34a4449576cf22a.bscscan.com-Oceans_Finance.sol#1133) lacks a zero-check on :
- treasuryReceiver = _treasuryReceiver (crytic-export/etherscan-contracts/0x7769d930bc6b087f960c5d21e34a4449576cf22a.bscscan.com-Oceans_Finance.sol#1137)
Oceans_Finance.setFeeReceivers(address,address,address)._BlueHole (crytic-export/etherscan-contracts/0x7769d930bc6b087f960c5d21e34a4449576cf22a.bscscan.com-Oceans_Finance.sol#1134) lacks a zero-check on :
- BlueHole = _BlueHole (crytic-export/etherscan-contracts/0x7769d930bc6b087f960c5d21e34a4449576cf22a.bscscan.com-Oceans_Finance.sol#1138)
Check that the address is not zero.
Additional information: link
Reentrancy in Oceans_Finance._transferFrom(address,address,uint256) (crytic-export/etherscan-contracts/0x7769d930bc6b087f960c5d21e34a4449576cf22a.bscscan.com-Oceans_Finance.sol#805-852):
External calls:
- pinkAntiBot.onPreTransferCheck(sender,recipient,amount) (crytic-export/etherscan-contracts/0x7769d930bc6b087f960c5d21e34a4449576cf22a.bscscan.com-Oceans_Finance.sol#814)
- rebase() (crytic-export/etherscan-contracts/0x7769d930bc6b087f960c5d21e34a4449576cf22a.bscscan.com-Oceans_Finance.sol#821)
- pairContract.sync() (crytic-export/etherscan-contracts/0x7769d930bc6b087f960c5d21e34a4449576cf22a.bscscan.com-Oceans_Finance.sol#764)
Event emitted after the call(s):
- LogRebase(epoch,_totalSupply) (crytic-export/etherscan-contracts/0x7769d930bc6b087f960c5d21e34a4449576cf22a.bscscan.com-Oceans_Finance.sol#766)
- rebase() (crytic-export/etherscan-contracts/0x7769d930bc6b087f960c5d21e34a4449576cf22a.bscscan.com-Oceans_Finance.sol#821)
Reentrancy in Oceans_Finance._transferFrom(address,address,uint256) (crytic-export/etherscan-contracts/0x7769d930bc6b087f960c5d21e34a4449576cf22a.bscscan.com-Oceans_Finance.sol#805-852):
External calls:
- pinkAntiBot.onPreTransferCheck(sender,recipient,amount) (crytic-export/etherscan-contracts/0x7769d930bc6b087f960c5d21e34a4449576cf22a.bscscan.com-Oceans_Finance.sol#814)
- rebase() (crytic-export/etherscan-contracts/0x7769d930bc6b087f960c5d21e34a4449576cf22a.bscscan.com-Oceans_Finance.sol#821)
- pairContract.sync() (crytic-export/etherscan-contracts/0x7769d930bc6b087f960c5d21e34a4449576cf22a.bscscan.com-Oceans_Finance.sol#764)
- addLiquidity() (crytic-export/etherscan-contracts/0x7769d930bc6b087f960c5d21e34a4449576cf22a.bscscan.com-Oceans_Finance.sol#825)
- router.swapExactTokensForETHSupportingFeeOnTransferTokens(amountToSwap,0,path,address(this),block.timestamp) (crytic-export/etherscan-contracts/0x7769d930bc6b087f960c5d21e34a4449576cf22a.bscscan.com-Oceans_Finance.sol#910-916)
- router.addLiquidityETH{value: amountETHLiquidity}(address(this),amountToLiquify,0,0,autoLiquidityReceiver,block.timestamp) (crytic-export/etherscan-contracts/0x7769d930bc6b087f960c5d21e34a4449576cf22a.bscscan.com-Oceans_Finance.sol#921-928)
- swapBack() (crytic-export/etherscan-contracts/0x7769d930bc6b087f960c5d21e34a4449576cf22a.bscscan.com-Oceans_Finance.sol#829)
- router.swapExactTokensForETHSupportingFeeOnTransferTokens(amountToSwap,0,path,address(this),block.timestamp) (crytic-export/etherscan-contracts/0x7769d930bc6b087f960c5d21e34a4449576cf22a.bscscan.com-Oceans_Finance.sol#947-953)
- (success) = address(treasuryReceiver).call{gas: 30000,value: amountETHToTreasuryAndSIF.mul(treasuryFee).div(treasuryFee.add(oceanDividendFee))}() (crytic-export/etherscan-contracts/0x7769d930bc6b087f960c5d21e34a4449576cf22a.bscscan.com-Oceans_Finance.sol#959-964)
- distributor.deposit{value: amountETHToTreasuryAndSIF.mul(oceanDividendFee).div(treasuryFee.add(oceanDividendFee))}() (crytic-export/etherscan-contracts/0x7769d930bc6b087f960c5d21e34a4449576cf22a.bscscan.com-Oceans_Finance.sol#966-968)
- distributor.setShare(sender,balanceOf(sender)) (crytic-export/etherscan-contracts/0x7769d930bc6b087f960c5d21e34a4449576cf22a.bscscan.com-Oceans_Finance.sol#841)
- distributor.setShare(recipient,balanceOf(recipient)) (crytic-export/etherscan-contracts/0x7769d930bc6b087f960c5d21e34a4449576cf22a.bscscan.com-Oceans_Finance.sol#842)
- distributor.process(distributorGas) (crytic-export/etherscan-contracts/0x7769d930bc6b087f960c5d21e34a4449576cf22a.bscscan.com-Oceans_Finance.sol#844)
External calls sending eth:
- addLiquidity() (crytic-export/etherscan-contracts/0x7769d930bc6b087f960c5d21e34a4449576cf22a.bscscan.com-Oceans_Finance.sol#825)
- router.addLiquidityETH{value: amountETHLiquidity}(address(this),amountToLiquify,0,0,autoLiquidityReceiver,block.timestamp) (crytic-export/etherscan-contracts/0x7769d930bc6b087f960c5d21e34a4449576cf22a.bscscan.com-Oceans_Finance.sol#921-928)
- swapBack() (crytic-export/etherscan-contracts/0x7769d930bc6b087f960c5d21e34a4449576cf22a.bscscan.com-Oceans_Finance.sol#829)
- (success) = address(treasuryReceiver).call{gas: 30000,value: amountETHToTreasuryAndSIF.mul(treasuryFee).div(treasuryFee.add(oceanDividendFee))}() (crytic-export/etherscan-contracts/0x7769d930bc6b087f960c5d21e34a4449576cf22a.bscscan.com-Oceans_Finance.sol#959-964)
- distributor.deposit{value: amountETHToTreasuryAndSIF.mul(oceanDividendFee).div(treasuryFee.add(oceanDividendFee))}() (crytic-export/etherscan-contracts/0x7769d930bc6b087f960c5d21e34a4449576cf22a.bscscan.com-Oceans_Finance.sol#966-968)
Event emitted after the call(s):
- Transfer(sender,recipient,gonAmountReceived.div(_gonsPerFragment)) (crytic-export/etherscan-contracts/0x7769d930bc6b087f960c5d21e34a4449576cf22a.bscscan.com-Oceans_Finance.sol#846-850)
Reentrancy in Oceans_Finance._transferFrom(address,address,uint256) (crytic-export/etherscan-contracts/0x7769d930bc6b087f960c5d21e34a4449576cf22a.bscscan.com-Oceans_Finance.sol#805-852):
External calls:
- pinkAntiBot.onPreTransferCheck(sender,recipient,amount) (crytic-export/etherscan-contracts/0x7769d930bc6b087f960c5d21e34a4449576cf22a.bscscan.com-Oceans_Finance.sol#814)
- rebase() (crytic-export/etherscan-contracts/0x7769d930bc6b087f960c5d21e34a4449576cf22a.bscscan.com-Oceans_Finance.sol#821)
- pairContract.sync() (crytic-export/etherscan-contracts/0x7769d930bc6b087f960c5d21e34a4449576cf22a.bscscan.com-Oceans_Finance.sol#764)
- addLiquidity() (crytic-export/etherscan-contracts/0x7769d930bc6b087f960c5d21e34a4449576cf22a.bscscan.com-Oceans_Finance.sol#825)
- router.swapExactTokensForETHSupportingFeeOnTransferTokens(amountToSwap,0,path,address(this),block.timestamp) (crytic-export/etherscan-contracts/0x7769d930bc6b087f960c5d21e34a4449576cf22a.bscscan.com-Oceans_Finance.sol#910-916)
- router.addLiquidityETH{value: amountETHLiquidity}(address(this),amountToLiquify,0,0,autoLiquidityReceiver,block.timestamp) (crytic-export/etherscan-contracts/0x7769d930bc6b087f960c5d21e34a4449576cf22a.bscscan.com-Oceans_Finance.sol#921-928)
- swapBack() (crytic-export/etherscan-contracts/0x7769d930bc6b087f960c5d21e34a4449576cf22a.bscscan.com-Oceans_Finance.sol#829)
- router.swapExactTokensForETHSupportingFeeOnTransferTokens(amountToSwap,0,path,address(this),block.timestamp) (crytic-export/etherscan-contracts/0x7769d930bc6b087f960c5d21e34a4449576cf22a.bscscan.com-Oceans_Finance.sol#947-953)
- (success) = address(treasuryReceiver).call{gas: 30000,value: amountETHToTreasuryAndSIF.mul(treasuryFee).div(treasuryFee.add(oceanDividendFee))}() (crytic-export/etherscan-contracts/0x7769d930bc6b087f960c5d21e34a4449576cf22a.bscscan.com-Oceans_Finance.sol#959-964)
- distributor.deposit{value: amountETHToTreasuryAndSIF.mul(oceanDividendFee).div(treasuryFee.add(oceanDividendFee))}() (crytic-export/etherscan-contracts/0x7769d930bc6b087f960c5d21e34a4449576cf22a.bscscan.com-Oceans_Finance.sol#966-968)
External calls sending eth:
- addLiquidity() (crytic-export/etherscan-contracts/0x7769d930bc6b087f960c5d21e34a4449576cf22a.bscscan.com-Oceans_Finance.sol#825)
- router.addLiquidityETH{value: amountETHLiquidity}(address(this),amountToLiquify,0,0,autoLiquidityReceiver,block.timestamp) (crytic-export/etherscan-contracts/0x7769d930bc6b087f960c5d21e34a4449576cf22a.bscscan.com-Oceans_Finance.sol#921-928)
- swapBack() (crytic-export/etherscan-contracts/0x7769d930bc6b087f960c5d21e34a4449576cf22a.bscscan.com-Oceans_Finance.sol#829)
- (success) = address(treasuryReceiver).call{gas: 30000,value: amountETHToTreasuryAndSIF.mul(treasuryFee).div(treasuryFee.add(oceanDividendFee))}() (crytic-export/etherscan-contracts/0x7769d930bc6b087f960c5d21e34a4449576cf22a.bscscan.com-Oceans_Finance.sol#959-964)
- distributor.deposit{value: amountETHToTreasuryAndSIF.mul(oceanDividendFee).div(treasuryFee.add(oceanDividendFee))}() (crytic-export/etherscan-contracts/0x7769d930bc6b087f960c5d21e34a4449576cf22a.bscscan.com-Oceans_Finance.sol#966-968)
Event emitted after the call(s):
- Transfer(sender,address(this),feeAmount.div(_gonsPerFragment)) (crytic-export/etherscan-contracts/0x7769d930bc6b087f960c5d21e34a4449576cf22a.bscscan.com-Oceans_Finance.sol#885)
- gonAmountReceived = takeFee(sender,recipient,gonAmount) (crytic-export/etherscan-contracts/0x7769d930bc6b087f960c5d21e34a4449576cf22a.bscscan.com-Oceans_Finance.sol#834-836)
Reentrancy in Oceans_Finance.constructor() (crytic-export/etherscan-contracts/0x7769d930bc6b087f960c5d21e34a4449576cf22a.bscscan.com-Oceans_Finance.sol#684-734):
External calls:
- pair = IPancakeSwapFactory(router.factory()).createPair(router.WETH(),address(this)) (crytic-export/etherscan-contracts/0x7769d930bc6b087f960c5d21e34a4449576cf22a.bscscan.com-Oceans_Finance.sol#692-695)
- pinkAntiBot.setTokenOwner(msg.sender) (crytic-export/etherscan-contracts/0x7769d930bc6b087f960c5d21e34a4449576cf22a.bscscan.com-Oceans_Finance.sol#715)
Event emitted after the call(s):
- OwnershipTransferred(_owner,newOwner) (crytic-export/etherscan-contracts/0x7769d930bc6b087f960c5d21e34a4449576cf22a.bscscan.com-Oceans_Finance.sol#573)
- _transferOwnership(treasuryReceiver) (crytic-export/etherscan-contracts/0x7769d930bc6b087f960c5d21e34a4449576cf22a.bscscan.com-Oceans_Finance.sol#732)
- Transfer(address(0x0),treasuryReceiver,_totalSupply) (crytic-export/etherscan-contracts/0x7769d930bc6b087f960c5d21e34a4449576cf22a.bscscan.com-Oceans_Finance.sol#733)
Reentrancy in Oceans_Finance.rebase() (crytic-export/etherscan-contracts/0x7769d930bc6b087f960c5d21e34a4449576cf22a.bscscan.com-Oceans_Finance.sol#736-767):
External calls:
- pairContract.sync() (crytic-export/etherscan-contracts/0x7769d930bc6b087f960c5d21e34a4449576cf22a.bscscan.com-Oceans_Finance.sol#764)
Event emitted after the call(s):
- LogRebase(epoch,_totalSupply) (crytic-export/etherscan-contracts/0x7769d930bc6b087f960c5d21e34a4449576cf22a.bscscan.com-Oceans_Finance.sol#766)
Apply the check-effects-interactions pattern.
Additional information: link
DividendDistributor.process(uint256) (crytic-export/etherscan-contracts/0x7769d930bc6b087f960c5d21e34a4449576cf22a.bscscan.com-Oceans_Finance.sol#462-485) has costly operations inside a loop:
- currentIndex = 0 (crytic-export/etherscan-contracts/0x7769d930bc6b087f960c5d21e34a4449576cf22a.bscscan.com-Oceans_Finance.sol#473)
DividendDistributor.distributeDividend(address) (crytic-export/etherscan-contracts/0x7769d930bc6b087f960c5d21e34a4449576cf22a.bscscan.com-Oceans_Finance.sol#491-502) has costly operations inside a loop:
- totalDistributed = totalDistributed.add(amount) (crytic-export/etherscan-contracts/0x7769d930bc6b087f960c5d21e34a4449576cf22a.bscscan.com-Oceans_Finance.sol#496)
DividendDistributor.process(uint256) (crytic-export/etherscan-contracts/0x7769d930bc6b087f960c5d21e34a4449576cf22a.bscscan.com-Oceans_Finance.sol#462-485) has costly operations inside a loop:
- currentIndex ++ (crytic-export/etherscan-contracts/0x7769d930bc6b087f960c5d21e34a4449576cf22a.bscscan.com-Oceans_Finance.sol#482)
Use a local variable to hold the loop computation result.
Additional information: link
SafeMath.mod(uint256,uint256) (crytic-export/etherscan-contracts/0x7769d930bc6b087f960c5d21e34a4449576cf22a.bscscan.com-Oceans_Finance.sol#126-129) is never used and should be removed
SafeMathInt.abs(int256) (crytic-export/etherscan-contracts/0x7769d930bc6b087f960c5d21e34a4449576cf22a.bscscan.com-Oceans_Finance.sol#71-74) is never used and should be removed
SafeMathInt.add(int256,int256) (crytic-export/etherscan-contracts/0x7769d930bc6b087f960c5d21e34a4449576cf22a.bscscan.com-Oceans_Finance.sol#65-69) is never used and should be removed
SafeMathInt.div(int256,int256) (crytic-export/etherscan-contracts/0x7769d930bc6b087f960c5d21e34a4449576cf22a.bscscan.com-Oceans_Finance.sol#53-57) is never used and should be removed
SafeMathInt.mul(int256,int256) (crytic-export/etherscan-contracts/0x7769d930bc6b087f960c5d21e34a4449576cf22a.bscscan.com-Oceans_Finance.sol#45-51) is never used and should be removed
SafeMathInt.sub(int256,int256) (crytic-export/etherscan-contracts/0x7769d930bc6b087f960c5d21e34a4449576cf22a.bscscan.com-Oceans_Finance.sol#59-63) is never used and should be removed
Remove unused functions.
Additional information: link
Low level call in Oceans_Finance.swapBack() (crytic-export/etherscan-contracts/0x7769d930bc6b087f960c5d21e34a4449576cf22a.bscscan.com-Oceans_Finance.sol#933-969):
- (success) = address(treasuryReceiver).call{gas: 30000,value: amountETHToTreasuryAndSIF.mul(treasuryFee).div(treasuryFee.add(oceanDividendFee))}() (crytic-export/etherscan-contracts/0x7769d930bc6b087f960c5d21e34a4449576cf22a.bscscan.com-Oceans_Finance.sol#959-964)
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() (crytic-export/etherscan-contracts/0x7769d930bc6b087f960c5d21e34a4449576cf22a.bscscan.com-Oceans_Finance.sol#176) is not in mixedCase
Function IPancakeSwapPair.PERMIT_TYPEHASH() (crytic-export/etherscan-contracts/0x7769d930bc6b087f960c5d21e34a4449576cf22a.bscscan.com-Oceans_Finance.sol#177) is not in mixedCase
Function IPancakeSwapPair.MINIMUM_LIQUIDITY() (crytic-export/etherscan-contracts/0x7769d930bc6b087f960c5d21e34a4449576cf22a.bscscan.com-Oceans_Finance.sol#194) is not in mixedCase
Function IPancakeSwapRouter.WETH() (crytic-export/etherscan-contracts/0x7769d930bc6b087f960c5d21e34a4449576cf22a.bscscan.com-Oceans_Finance.sol#214) is not in mixedCase
Parameter DividendDistributor.setDistributionCriteria(uint256,uint256)._minPeriod (crytic-export/etherscan-contracts/0x7769d930bc6b087f960c5d21e34a4449576cf22a.bscscan.com-Oceans_Finance.sol#421) is not in mixedCase
Parameter DividendDistributor.setDistributionCriteria(uint256,uint256)._minDistribution (crytic-export/etherscan-contracts/0x7769d930bc6b087f960c5d21e34a4449576cf22a.bscscan.com-Oceans_Finance.sol#421) is not in mixedCase
Variable DividendDistributor._token (crytic-export/etherscan-contracts/0x7769d930bc6b087f960c5d21e34a4449576cf22a.bscscan.com-Oceans_Finance.sol#370) is not in mixedCase
Variable DividendDistributor.BUSD (crytic-export/etherscan-contracts/0x7769d930bc6b087f960c5d21e34a4449576cf22a.bscscan.com-Oceans_Finance.sol#378) is not in mixedCase
Contract Oceans_Finance (crytic-export/etherscan-contracts/0x7769d930bc6b087f960c5d21e34a4449576cf22a.bscscan.com-Oceans_Finance.sol#606-1184) is not in CapWords
Parameter Oceans_Finance.setAutoRebase(bool)._flag (crytic-export/etherscan-contracts/0x7769d930bc6b087f960c5d21e34a4449576cf22a.bscscan.com-Oceans_Finance.sol#1020) is not in mixedCase
Parameter Oceans_Finance.setAutoAddLiquidity(bool)._flag (crytic-export/etherscan-contracts/0x7769d930bc6b087f960c5d21e34a4449576cf22a.bscscan.com-Oceans_Finance.sol#1029) is not in mixedCase
Parameter Oceans_Finance.checkFeeExempt(address)._addr (crytic-export/etherscan-contracts/0x7769d930bc6b087f960c5d21e34a4449576cf22a.bscscan.com-Oceans_Finance.sol#1092) is not in mixedCase
Parameter Oceans_Finance.setDistributionCriteria(uint256,uint256)._minPeriod (crytic-export/etherscan-contracts/0x7769d930bc6b087f960c5d21e34a4449576cf22a.bscscan.com-Oceans_Finance.sol#1107) is not in mixedCase
Parameter Oceans_Finance.setDistributionCriteria(uint256,uint256)._minDistribution (crytic-export/etherscan-contracts/0x7769d930bc6b087f960c5d21e34a4449576cf22a.bscscan.com-Oceans_Finance.sol#1107) is not in mixedCase
Parameter Oceans_Finance.setFeeReceivers(address,address,address)._autoLiquidityReceiver (crytic-export/etherscan-contracts/0x7769d930bc6b087f960c5d21e34a4449576cf22a.bscscan.com-Oceans_Finance.sol#1132) is not in mixedCase
Parameter Oceans_Finance.setFeeReceivers(address,address,address)._treasuryReceiver (crytic-export/etherscan-contracts/0x7769d930bc6b087f960c5d21e34a4449576cf22a.bscscan.com-Oceans_Finance.sol#1133) is not in mixedCase
Parameter Oceans_Finance.setFeeReceivers(address,address,address)._BlueHole (crytic-export/etherscan-contracts/0x7769d930bc6b087f960c5d21e34a4449576cf22a.bscscan.com-Oceans_Finance.sol#1134) is not in mixedCase
Parameter Oceans_Finance.setWhitelist(address)._addr (crytic-export/etherscan-contracts/0x7769d930bc6b087f960c5d21e34a4449576cf22a.bscscan.com-Oceans_Finance.sol#1151) is not in mixedCase
Parameter Oceans_Finance.setBotBlacklist(address,bool)._botAddress (crytic-export/etherscan-contracts/0x7769d930bc6b087f960c5d21e34a4449576cf22a.bscscan.com-Oceans_Finance.sol#1155) is not in mixedCase
Parameter Oceans_Finance.setBotBlacklist(address,bool)._flag (crytic-export/etherscan-contracts/0x7769d930bc6b087f960c5d21e34a4449576cf22a.bscscan.com-Oceans_Finance.sol#1155) is not in mixedCase
Parameter Oceans_Finance.setLP(address)._address (crytic-export/etherscan-contracts/0x7769d930bc6b087f960c5d21e34a4449576cf22a.bscscan.com-Oceans_Finance.sol#1160) is not in mixedCase
Parameter Oceans_Finance.enableDisableAntiBot(bool)._value (crytic-export/etherscan-contracts/0x7769d930bc6b087f960c5d21e34a4449576cf22a.bscscan.com-Oceans_Finance.sol#1164) is not in mixedCase
Variable Oceans_Finance._isFeeExempt (crytic-export/etherscan-contracts/0x7769d930bc6b087f960c5d21e34a4449576cf22a.bscscan.com-Oceans_Finance.sol#617) is not in mixedCase
Variable Oceans_Finance.DEAD (crytic-export/etherscan-contracts/0x7769d930bc6b087f960c5d21e34a4449576cf22a.bscscan.com-Oceans_Finance.sol#643) is not in mixedCase
Variable Oceans_Finance.ZERO (crytic-export/etherscan-contracts/0x7769d930bc6b087f960c5d21e34a4449576cf22a.bscscan.com-Oceans_Finance.sol#644) is not in mixedCase
Variable Oceans_Finance.BlueHole (crytic-export/etherscan-contracts/0x7769d930bc6b087f960c5d21e34a4449576cf22a.bscscan.com-Oceans_Finance.sol#653) is not in mixedCase
Variable Oceans_Finance._autoRebase (crytic-export/etherscan-contracts/0x7769d930bc6b087f960c5d21e34a4449576cf22a.bscscan.com-Oceans_Finance.sol#671) is not in mixedCase
Variable Oceans_Finance._autoAddLiquidity (crytic-export/etherscan-contracts/0x7769d930bc6b087f960c5d21e34a4449576cf22a.bscscan.com-Oceans_Finance.sol#672) is not in mixedCase
Variable Oceans_Finance._initRebaseStartTime (crytic-export/etherscan-contracts/0x7769d930bc6b087f960c5d21e34a4449576cf22a.bscscan.com-Oceans_Finance.sol#673) is not in mixedCase
Variable Oceans_Finance._lastRebasedTime (crytic-export/etherscan-contracts/0x7769d930bc6b087f960c5d21e34a4449576cf22a.bscscan.com-Oceans_Finance.sol#674) is not in mixedCase
Variable Oceans_Finance._lastAddLiquidityTime (crytic-export/etherscan-contracts/0x7769d930bc6b087f960c5d21e34a4449576cf22a.bscscan.com-Oceans_Finance.sol#675) is not in mixedCase
Variable Oceans_Finance._totalSupply (crytic-export/etherscan-contracts/0x7769d930bc6b087f960c5d21e34a4449576cf22a.bscscan.com-Oceans_Finance.sol#676) is not in mixedCase
Follow the Solidity naming convention.
Additional information: link
Variable IPancakeSwapRouter.addLiquidity(address,address,uint256,uint256,uint256,uint256,address,uint256).amountADesired (crytic-export/etherscan-contracts/0x7769d930bc6b087f960c5d21e34a4449576cf22a.bscscan.com-Oceans_Finance.sol#219) is too similar to IPancakeSwapRouter.addLiquidity(address,address,uint256,uint256,uint256,uint256,address,uint256).amountBDesired (crytic-export/etherscan-contracts/0x7769d930bc6b087f960c5d21e34a4449576cf22a.bscscan.com-Oceans_Finance.sol#220)
Prevent variables from having similar names.
Additional information: link
Oceans_Finance.constructor() (crytic-export/etherscan-contracts/0x7769d930bc6b087f960c5d21e34a4449576cf22a.bscscan.com-Oceans_Finance.sol#684-734) uses literals with too many digits:
- BlueHole = 0x000000000000000000000000000000000000dEaD (crytic-export/etherscan-contracts/0x7769d930bc6b087f960c5d21e34a4449576cf22a.bscscan.com-Oceans_Finance.sol#699)
Oceans_Finance.slitherConstructorVariables() (crytic-export/etherscan-contracts/0x7769d930bc6b087f960c5d21e34a4449576cf22a.bscscan.com-Oceans_Finance.sol#606-1184) uses literals with too many digits:
- DEAD = 0x000000000000000000000000000000000000dEaD (crytic-export/etherscan-contracts/0x7769d930bc6b087f960c5d21e34a4449576cf22a.bscscan.com-Oceans_Finance.sol#643)
Oceans_Finance.slitherConstructorVariables() (crytic-export/etherscan-contracts/0x7769d930bc6b087f960c5d21e34a4449576cf22a.bscscan.com-Oceans_Finance.sol#606-1184) uses literals with too many digits:
- ZERO = 0x0000000000000000000000000000000000000000 (crytic-export/etherscan-contracts/0x7769d930bc6b087f960c5d21e34a4449576cf22a.bscscan.com-Oceans_Finance.sol#644)
Oceans_Finance.slitherConstructorVariables() (crytic-export/etherscan-contracts/0x7769d930bc6b087f960c5d21e34a4449576cf22a.bscscan.com-Oceans_Finance.sol#606-1184) uses literals with too many digits:
- distributorGas = 500000 (crytic-export/etherscan-contracts/0x7769d930bc6b087f960c5d21e34a4449576cf22a.bscscan.com-Oceans_Finance.sol#651)
Use: Ether suffix, Time suffix, or The scientific notation
Additional information: link
DividendDistributor.dividendsPerShareAccuracyFactor (crytic-export/etherscan-contracts/0x7769d930bc6b087f960c5d21e34a4449576cf22a.bscscan.com-Oceans_Finance.sol#399) should be constant
Oceans_Finance.DEAD (crytic-export/etherscan-contracts/0x7769d930bc6b087f960c5d21e34a4449576cf22a.bscscan.com-Oceans_Finance.sol#643) should be constant
Oceans_Finance.ZERO (crytic-export/etherscan-contracts/0x7769d930bc6b087f960c5d21e34a4449576cf22a.bscscan.com-Oceans_Finance.sol#644) should be constant
Oceans_Finance.blueHole (crytic-export/etherscan-contracts/0x7769d930bc6b087f960c5d21e34a4449576cf22a.bscscan.com-Oceans_Finance.sol#635) should be constant
Oceans_Finance.feeDenominator (crytic-export/etherscan-contracts/0x7769d930bc6b087f960c5d21e34a4449576cf22a.bscscan.com-Oceans_Finance.sol#641) should be constant
Oceans_Finance.liquidityFee (crytic-export/etherscan-contracts/0x7769d930bc6b087f960c5d21e34a4449576cf22a.bscscan.com-Oceans_Finance.sol#631) should be constant
Oceans_Finance.oceanDividendFee (crytic-export/etherscan-contracts/0x7769d930bc6b087f960c5d21e34a4449576cf22a.bscscan.com-Oceans_Finance.sol#633) should be constant
Oceans_Finance.sellFee (crytic-export/etherscan-contracts/0x7769d930bc6b087f960c5d21e34a4449576cf22a.bscscan.com-Oceans_Finance.sol#634) should be constant
Oceans_Finance.swapEnabled (crytic-export/etherscan-contracts/0x7769d930bc6b087f960c5d21e34a4449576cf22a.bscscan.com-Oceans_Finance.sol#654) should be constant
Oceans_Finance.treasuryFee (crytic-export/etherscan-contracts/0x7769d930bc6b087f960c5d21e34a4449576cf22a.bscscan.com-Oceans_Finance.sol#632) should be constant
Add the constant attributes to state variables that never change.
Additional information: link
owner() should be declared external:
- Ownable.owner() (crytic-export/etherscan-contracts/0x7769d930bc6b087f960c5d21e34a4449576cf22a.bscscan.com-Oceans_Finance.sol#549-551)
renounceOwnership() should be declared external:
- Ownable.renounceOwnership() (crytic-export/etherscan-contracts/0x7769d930bc6b087f960c5d21e34a4449576cf22a.bscscan.com-Oceans_Finance.sol#562-565)
transferOwnership(address) should be declared external:
- Ownable.transferOwnership(address) (crytic-export/etherscan-contracts/0x7769d930bc6b087f960c5d21e34a4449576cf22a.bscscan.com-Oceans_Finance.sol#567-569)
name() should be declared external:
- ERC20Detailed.name() (crytic-export/etherscan-contracts/0x7769d930bc6b087f960c5d21e34a4449576cf22a.bscscan.com-Oceans_Finance.sol#593-595)
symbol() should be declared external:
- ERC20Detailed.symbol() (crytic-export/etherscan-contracts/0x7769d930bc6b087f960c5d21e34a4449576cf22a.bscscan.com-Oceans_Finance.sol#597-599)
decimals() should be declared external:
- ERC20Detailed.decimals() (crytic-export/etherscan-contracts/0x7769d930bc6b087f960c5d21e34a4449576cf22a.bscscan.com-Oceans_Finance.sol#601-603)
getLiquidityBacking(uint256) should be declared external:
- Oceans_Finance.getLiquidityBacking(uint256) (crytic-export/etherscan-contracts/0x7769d930bc6b087f960c5d21e34a4449576cf22a.bscscan.com-Oceans_Finance.sol#1141-1149)
Use the external attribute for functions never called from the contract.
Additional information: link
Oceans_Finance.totalFee (crytic-export/etherscan-contracts/0x7769d930bc6b087f960c5d21e34a4449576cf22a.bscscan.com-Oceans_Finance.sol#637-640) is set pre-construction with a non-constant function or state variable:
- liquidityFee.add(treasuryFee).add(oceanDividendFee).add(blueHole)
Remove any initialization of state variables via non-constant state variables or function calls. If variables must be set upon contract deployment, locate initialization in the constructor instead.
Additional information: link
Pragma version^0.7.4 (crytic-export/etherscan-contracts/0x7769d930bc6b087f960c5d21e34a4449576cf22a.bscscan.com-Oceans_Finance.sol#28) allows old versions
Deploy with any of the following Solidity versions: 0.5.16 - 0.5.17, 0.6.11 - 0.6.12, 0.7.5 - 0.7.6 Use a simple pragma version that allows any of these versions. Consider using the latest version of Solidity for testing.
Additional information: link
Reentrancy in DividendDistributor.distributeDividend(address) (crytic-export/etherscan-contracts/0x7769d930bc6b087f960c5d21e34a4449576cf22a.bscscan.com-Oceans_Finance.sol#491-502):
External calls:
- BUSD.transfer(shareholder,amount) (crytic-export/etherscan-contracts/0x7769d930bc6b087f960c5d21e34a4449576cf22a.bscscan.com-Oceans_Finance.sol#497)
State variables written after the call(s):
- shares[shareholder].totalRealised = shares[shareholder].totalRealised.add(amount) (crytic-export/etherscan-contracts/0x7769d930bc6b087f960c5d21e34a4449576cf22a.bscscan.com-Oceans_Finance.sol#499)
- shares[shareholder].totalExcluded = getCumulativeDividends(shares[shareholder].amount) (crytic-export/etherscan-contracts/0x7769d930bc6b087f960c5d21e34a4449576cf22a.bscscan.com-Oceans_Finance.sol#500)
Reentrancy in DividendDistributor.process(uint256) (crytic-export/etherscan-contracts/0x7769d930bc6b087f960c5d21e34a4449576cf22a.bscscan.com-Oceans_Finance.sol#462-485):
External calls:
- distributeDividend(shareholders[currentIndex]) (crytic-export/etherscan-contracts/0x7769d930bc6b087f960c5d21e34a4449576cf22a.bscscan.com-Oceans_Finance.sol#477)
- BUSD.transfer(shareholder,amount) (crytic-export/etherscan-contracts/0x7769d930bc6b087f960c5d21e34a4449576cf22a.bscscan.com-Oceans_Finance.sol#497)
State variables written after the call(s):
- currentIndex ++ (crytic-export/etherscan-contracts/0x7769d930bc6b087f960c5d21e34a4449576cf22a.bscscan.com-Oceans_Finance.sol#482)
Reentrancy in DividendDistributor.setShare(address,uint256) (crytic-export/etherscan-contracts/0x7769d930bc6b087f960c5d21e34a4449576cf22a.bscscan.com-Oceans_Finance.sol#426-440):
External calls:
- distributeDividend(shareholder) (crytic-export/etherscan-contracts/0x7769d930bc6b087f960c5d21e34a4449576cf22a.bscscan.com-Oceans_Finance.sol#428)
- BUSD.transfer(shareholder,amount) (crytic-export/etherscan-contracts/0x7769d930bc6b087f960c5d21e34a4449576cf22a.bscscan.com-Oceans_Finance.sol#497)
State variables written after the call(s):
- shares[shareholder].amount = amount (crytic-export/etherscan-contracts/0x7769d930bc6b087f960c5d21e34a4449576cf22a.bscscan.com-Oceans_Finance.sol#438)
- shares[shareholder].totalExcluded = getCumulativeDividends(shares[shareholder].amount) (crytic-export/etherscan-contracts/0x7769d930bc6b087f960c5d21e34a4449576cf22a.bscscan.com-Oceans_Finance.sol#439)
Apply the check-effects-interactions pattern.
Additional information: link
Reentrancy in Oceans_Finance._transferFrom(address,address,uint256) (crytic-export/etherscan-contracts/0x7769d930bc6b087f960c5d21e34a4449576cf22a.bscscan.com-Oceans_Finance.sol#805-852):
External calls:
- pinkAntiBot.onPreTransferCheck(sender,recipient,amount) (crytic-export/etherscan-contracts/0x7769d930bc6b087f960c5d21e34a4449576cf22a.bscscan.com-Oceans_Finance.sol#814)
State variables written after the call(s):
- _basicTransfer(sender,recipient,amount) (crytic-export/etherscan-contracts/0x7769d930bc6b087f960c5d21e34a4449576cf22a.bscscan.com-Oceans_Finance.sol#818)
- _gonBalances[from] = _gonBalances[from].sub(gonAmount) (crytic-export/etherscan-contracts/0x7769d930bc6b087f960c5d21e34a4449576cf22a.bscscan.com-Oceans_Finance.sol#800)
- _gonBalances[to] = _gonBalances[to].add(gonAmount) (crytic-export/etherscan-contracts/0x7769d930bc6b087f960c5d21e34a4449576cf22a.bscscan.com-Oceans_Finance.sol#801)
Reentrancy in Oceans_Finance._transferFrom(address,address,uint256) (crytic-export/etherscan-contracts/0x7769d930bc6b087f960c5d21e34a4449576cf22a.bscscan.com-Oceans_Finance.sol#805-852):
External calls:
- pinkAntiBot.onPreTransferCheck(sender,recipient,amount) (crytic-export/etherscan-contracts/0x7769d930bc6b087f960c5d21e34a4449576cf22a.bscscan.com-Oceans_Finance.sol#814)
- rebase() (crytic-export/etherscan-contracts/0x7769d930bc6b087f960c5d21e34a4449576cf22a.bscscan.com-Oceans_Finance.sol#821)
- pairContract.sync() (crytic-export/etherscan-contracts/0x7769d930bc6b087f960c5d21e34a4449576cf22a.bscscan.com-Oceans_Finance.sol#764)
State variables written after the call(s):
- rebase() (crytic-export/etherscan-contracts/0x7769d930bc6b087f960c5d21e34a4449576cf22a.bscscan.com-Oceans_Finance.sol#821)
- _gonsPerFragment = TOTAL_GONS.div(_totalSupply) (crytic-export/etherscan-contracts/0x7769d930bc6b087f960c5d21e34a4449576cf22a.bscscan.com-Oceans_Finance.sol#761)
Reentrancy in Oceans_Finance.addLiquidity() (crytic-export/etherscan-contracts/0x7769d930bc6b087f960c5d21e34a4449576cf22a.bscscan.com-Oceans_Finance.sol#889-931):
External calls:
- router.swapExactTokensForETHSupportingFeeOnTransferTokens(amountToSwap,0,path,address(this),block.timestamp) (crytic-export/etherscan-contracts/0x7769d930bc6b087f960c5d21e34a4449576cf22a.bscscan.com-Oceans_Finance.sol#910-916)
- router.addLiquidityETH{value: amountETHLiquidity}(address(this),amountToLiquify,0,0,autoLiquidityReceiver,block.timestamp) (crytic-export/etherscan-contracts/0x7769d930bc6b087f960c5d21e34a4449576cf22a.bscscan.com-Oceans_Finance.sol#921-928)
External calls sending eth:
- router.addLiquidityETH{value: amountETHLiquidity}(address(this),amountToLiquify,0,0,autoLiquidityReceiver,block.timestamp) (crytic-export/etherscan-contracts/0x7769d930bc6b087f960c5d21e34a4449576cf22a.bscscan.com-Oceans_Finance.sol#921-928)
State variables written after the call(s):
- _lastAddLiquidityTime = block.timestamp (crytic-export/etherscan-contracts/0x7769d930bc6b087f960c5d21e34a4449576cf22a.bscscan.com-Oceans_Finance.sol#930)
Reentrancy in Oceans_Finance.constructor() (crytic-export/etherscan-contracts/0x7769d930bc6b087f960c5d21e34a4449576cf22a.bscscan.com-Oceans_Finance.sol#684-734):
External calls:
- pair = IPancakeSwapFactory(router.factory()).createPair(router.WETH(),address(this)) (crytic-export/etherscan-contracts/0x7769d930bc6b087f960c5d21e34a4449576cf22a.bscscan.com-Oceans_Finance.sol#692-695)
State variables written after the call(s):
- BlueHole = 0x000000000000000000000000000000000000dEaD (crytic-export/etherscan-contracts/0x7769d930bc6b087f960c5d21e34a4449576cf22a.bscscan.com-Oceans_Finance.sol#699)
- _allowedFragments[address(this)][address(router)] = uint256(- 1) (crytic-export/etherscan-contracts/0x7769d930bc6b087f960c5d21e34a4449576cf22a.bscscan.com-Oceans_Finance.sol#701)
- autoLiquidityReceiver = 0x97E0Ceb36E37646e58B05d7B5A461e05c0906417 (crytic-export/etherscan-contracts/0x7769d930bc6b087f960c5d21e34a4449576cf22a.bscscan.com-Oceans_Finance.sol#697)
- distributor = new DividendDistributor(0x10ED43C718714eb63d5aA57B78B54704E256024E) (crytic-export/etherscan-contracts/0x7769d930bc6b087f960c5d21e34a4449576cf22a.bscscan.com-Oceans_Finance.sol#704)
- oceanDividendReceiver = address(distributor) (crytic-export/etherscan-contracts/0x7769d930bc6b087f960c5d21e34a4449576cf22a.bscscan.com-Oceans_Finance.sol#708)
- pairContract = IPancakeSwapPair(pair) (crytic-export/etherscan-contracts/0x7769d930bc6b087f960c5d21e34a4449576cf22a.bscscan.com-Oceans_Finance.sol#702)
- pinkAntiBot = IPinkAntiBot(0x8EFDb3b642eb2a20607ffe0A56CFefF6a95Df002) (crytic-export/etherscan-contracts/0x7769d930bc6b087f960c5d21e34a4449576cf22a.bscscan.com-Oceans_Finance.sol#713)
- treasuryReceiver = 0x8ff44A05A31b588245BfC4dC7E3fc265E657baCC (crytic-export/etherscan-contracts/0x7769d930bc6b087f960c5d21e34a4449576cf22a.bscscan.com-Oceans_Finance.sol#698)
Reentrancy in Oceans_Finance.constructor() (crytic-export/etherscan-contracts/0x7769d930bc6b087f960c5d21e34a4449576cf22a.bscscan.com-Oceans_Finance.sol#684-734):
External calls:
- pair = IPancakeSwapFactory(router.factory()).createPair(router.WETH(),address(this)) (crytic-export/etherscan-contracts/0x7769d930bc6b087f960c5d21e34a4449576cf22a.bscscan.com-Oceans_Finance.sol#692-695)
- pinkAntiBot.setTokenOwner(msg.sender) (crytic-export/etherscan-contracts/0x7769d930bc6b087f960c5d21e34a4449576cf22a.bscscan.com-Oceans_Finance.sol#715)
State variables written after the call(s):
- _autoAddLiquidity = true (crytic-export/etherscan-contracts/0x7769d930bc6b087f960c5d21e34a4449576cf22a.bscscan.com-Oceans_Finance.sol#728)
- _autoRebase = false (crytic-export/etherscan-contracts/0x7769d930bc6b087f960c5d21e34a4449576cf22a.bscscan.com-Oceans_Finance.sol#727)
- _gonBalances[treasuryReceiver] = TOTAL_GONS (crytic-export/etherscan-contracts/0x7769d930bc6b087f960c5d21e34a4449576cf22a.bscscan.com-Oceans_Finance.sol#723)
- _gonsPerFragment = TOTAL_GONS.div(_totalSupply) (crytic-export/etherscan-contracts/0x7769d930bc6b087f960c5d21e34a4449576cf22a.bscscan.com-Oceans_Finance.sol#724)
- _initRebaseStartTime = block.timestamp (crytic-export/etherscan-contracts/0x7769d930bc6b087f960c5d21e34a4449576cf22a.bscscan.com-Oceans_Finance.sol#725)
- _isFeeExempt[treasuryReceiver] = true (crytic-export/etherscan-contracts/0x7769d930bc6b087f960c5d21e34a4449576cf22a.bscscan.com-Oceans_Finance.sol#729)
- _isFeeExempt[address(this)] = true (crytic-export/etherscan-contracts/0x7769d930bc6b087f960c5d21e34a4449576cf22a.bscscan.com-Oceans_Finance.sol#730)
- _lastRebasedTime = block.timestamp (crytic-export/etherscan-contracts/0x7769d930bc6b087f960c5d21e34a4449576cf22a.bscscan.com-Oceans_Finance.sol#726)
- _transferOwnership(treasuryReceiver) (crytic-export/etherscan-contracts/0x7769d930bc6b087f960c5d21e34a4449576cf22a.bscscan.com-Oceans_Finance.sol#732)
- _owner = newOwner (crytic-export/etherscan-contracts/0x7769d930bc6b087f960c5d21e34a4449576cf22a.bscscan.com-Oceans_Finance.sol#574)
- _totalSupply = INITIAL_FRAGMENTS_SUPPLY (crytic-export/etherscan-contracts/0x7769d930bc6b087f960c5d21e34a4449576cf22a.bscscan.com-Oceans_Finance.sol#722)
- isDividendExempt[msg.sender] = true (crytic-export/etherscan-contracts/0x7769d930bc6b087f960c5d21e34a4449576cf22a.bscscan.com-Oceans_Finance.sol#717)
- isDividendExempt[pair] = true (crytic-export/etherscan-contracts/0x7769d930bc6b087f960c5d21e34a4449576cf22a.bscscan.com-Oceans_Finance.sol#718)
- isDividendExempt[address(this)] = true (crytic-export/etherscan-contracts/0x7769d930bc6b087f960c5d21e34a4449576cf22a.bscscan.com-Oceans_Finance.sol#719)
- isDividendExempt[DEAD] = true (crytic-export/etherscan-contracts/0x7769d930bc6b087f960c5d21e34a4449576cf22a.bscscan.com-Oceans_Finance.sol#720)
Reentrancy in DividendDistributor.deposit() (crytic-export/etherscan-contracts/0x7769d930bc6b087f960c5d21e34a4449576cf22a.bscscan.com-Oceans_Finance.sol#442-460):
External calls:
- router.swapExactETHForTokensSupportingFeeOnTransferTokens{value: msg.value}(0,path,address(this),block.timestamp) (crytic-export/etherscan-contracts/0x7769d930bc6b087f960c5d21e34a4449576cf22a.bscscan.com-Oceans_Finance.sol#449-454)
State variables written after the call(s):
- dividendsPerShare = dividendsPerShare.add(dividendsPerShareAccuracyFactor.mul(amount).div(totalShares)) (crytic-export/etherscan-contracts/0x7769d930bc6b087f960c5d21e34a4449576cf22a.bscscan.com-Oceans_Finance.sol#459)
- totalDividends = totalDividends.add(amount) (crytic-export/etherscan-contracts/0x7769d930bc6b087f960c5d21e34a4449576cf22a.bscscan.com-Oceans_Finance.sol#458)
Reentrancy in DividendDistributor.distributeDividend(address) (crytic-export/etherscan-contracts/0x7769d930bc6b087f960c5d21e34a4449576cf22a.bscscan.com-Oceans_Finance.sol#491-502):
External calls:
- BUSD.transfer(shareholder,amount) (crytic-export/etherscan-contracts/0x7769d930bc6b087f960c5d21e34a4449576cf22a.bscscan.com-Oceans_Finance.sol#497)
State variables written after the call(s):
- shareholderClaims[shareholder] = block.timestamp (crytic-export/etherscan-contracts/0x7769d930bc6b087f960c5d21e34a4449576cf22a.bscscan.com-Oceans_Finance.sol#498)
Reentrancy in DividendDistributor.setShare(address,uint256) (crytic-export/etherscan-contracts/0x7769d930bc6b087f960c5d21e34a4449576cf22a.bscscan.com-Oceans_Finance.sol#426-440):
External calls:
- distributeDividend(shareholder) (crytic-export/etherscan-contracts/0x7769d930bc6b087f960c5d21e34a4449576cf22a.bscscan.com-Oceans_Finance.sol#428)
- BUSD.transfer(shareholder,amount) (crytic-export/etherscan-contracts/0x7769d930bc6b087f960c5d21e34a4449576cf22a.bscscan.com-Oceans_Finance.sol#497)
State variables written after the call(s):
- addShareholder(shareholder) (crytic-export/etherscan-contracts/0x7769d930bc6b087f960c5d21e34a4449576cf22a.bscscan.com-Oceans_Finance.sol#432)
- shareholderIndexes[shareholder] = shareholders.length (crytic-export/etherscan-contracts/0x7769d930bc6b087f960c5d21e34a4449576cf22a.bscscan.com-Oceans_Finance.sol#524)
- removeShareholder(shareholder) (crytic-export/etherscan-contracts/0x7769d930bc6b087f960c5d21e34a4449576cf22a.bscscan.com-Oceans_Finance.sol#434)
- shareholderIndexes[shareholders[shareholders.length - 1]] = shareholderIndexes[shareholder] (crytic-export/etherscan-contracts/0x7769d930bc6b087f960c5d21e34a4449576cf22a.bscscan.com-Oceans_Finance.sol#530)
- addShareholder(shareholder) (crytic-export/etherscan-contracts/0x7769d930bc6b087f960c5d21e34a4449576cf22a.bscscan.com-Oceans_Finance.sol#432)
- shareholders.push(shareholder) (crytic-export/etherscan-contracts/0x7769d930bc6b087f960c5d21e34a4449576cf22a.bscscan.com-Oceans_Finance.sol#525)
- removeShareholder(shareholder) (crytic-export/etherscan-contracts/0x7769d930bc6b087f960c5d21e34a4449576cf22a.bscscan.com-Oceans_Finance.sol#434)
- shareholders[shareholderIndexes[shareholder]] = shareholders[shareholders.length - 1] (crytic-export/etherscan-contracts/0x7769d930bc6b087f960c5d21e34a4449576cf22a.bscscan.com-Oceans_Finance.sol#529)
- shareholders.pop() (crytic-export/etherscan-contracts/0x7769d930bc6b087f960c5d21e34a4449576cf22a.bscscan.com-Oceans_Finance.sol#531)
- totalShares = totalShares.sub(shares[shareholder].amount).add(amount) (crytic-export/etherscan-contracts/0x7769d930bc6b087f960c5d21e34a4449576cf22a.bscscan.com-Oceans_Finance.sol#437)
Apply the check-effects-interactions pattern.
Additional information: link
SafeMathInt.MAX_INT256 (crytic-export/etherscan-contracts/0x7769d930bc6b087f960c5d21e34a4449576cf22a.bscscan.com-Oceans_Finance.sol#43) is never used in SafeMathInt (crytic-export/etherscan-contracts/0x7769d930bc6b087f960c5d21e34a4449576cf22a.bscscan.com-Oceans_Finance.sol#41-75)
Remove unused state variables.
Additional information: link
DividendDistributor.distributeDividend(address) (crytic-export/etherscan-contracts/0x7769d930bc6b087f960c5d21e34a4449576cf22a.bscscan.com-Oceans_Finance.sol#491-502) has external calls inside a loop: BUSD.transfer(shareholder,amount) (crytic-export/etherscan-contracts/0x7769d930bc6b087f960c5d21e34a4449576cf22a.bscscan.com-Oceans_Finance.sol#497)
Favor pull over push strategy for external calls.
Additional information: link
DividendDistributor.shouldDistribute(address) (crytic-export/etherscan-contracts/0x7769d930bc6b087f960c5d21e34a4449576cf22a.bscscan.com-Oceans_Finance.sol#487-489) uses timestamp for comparisons
Dangerous comparisons:
- shareholderClaims[shareholder] + minPeriod < block.timestamp && getUnpaidEarnings(shareholder) > minDistribution (crytic-export/etherscan-contracts/0x7769d930bc6b087f960c5d21e34a4449576cf22a.bscscan.com-Oceans_Finance.sol#488)
Oceans_Finance.rebase() (crytic-export/etherscan-contracts/0x7769d930bc6b087f960c5d21e34a4449576cf22a.bscscan.com-Oceans_Finance.sol#736-767) uses timestamp for comparisons
Dangerous comparisons:
- deltaTimeFromInit < (31536000) (crytic-export/etherscan-contracts/0x7769d930bc6b087f960c5d21e34a4449576cf22a.bscscan.com-Oceans_Finance.sol#745)
- deltaTimeFromInit >= (31536000) (crytic-export/etherscan-contracts/0x7769d930bc6b087f960c5d21e34a4449576cf22a.bscscan.com-Oceans_Finance.sol#747)
- deltaTimeFromInit >= ((15 * 31536000) / 10) (crytic-export/etherscan-contracts/0x7769d930bc6b087f960c5d21e34a4449576cf22a.bscscan.com-Oceans_Finance.sol#749)
- deltaTimeFromInit >= (7 * 31536000) (crytic-export/etherscan-contracts/0x7769d930bc6b087f960c5d21e34a4449576cf22a.bscscan.com-Oceans_Finance.sol#751)
- i < times (crytic-export/etherscan-contracts/0x7769d930bc6b087f960c5d21e34a4449576cf22a.bscscan.com-Oceans_Finance.sol#755)
Oceans_Finance.shouldRebase() (crytic-export/etherscan-contracts/0x7769d930bc6b087f960c5d21e34a4449576cf22a.bscscan.com-Oceans_Finance.sol#997-1004) uses timestamp for comparisons
Dangerous comparisons:
- _autoRebase && (_totalSupply < MAX_SUPPLY) && msg.sender != pair && ! inSwap && block.timestamp >= (_lastRebasedTime + 900) (crytic-export/etherscan-contracts/0x7769d930bc6b087f960c5d21e34a4449576cf22a.bscscan.com-Oceans_Finance.sol#998-1003)
Oceans_Finance.shouldAddLiquidity() (crytic-export/etherscan-contracts/0x7769d930bc6b087f960c5d21e34a4449576cf22a.bscscan.com-Oceans_Finance.sol#1006-1012) uses timestamp for comparisons
Dangerous comparisons:
- _autoAddLiquidity && ! inSwap && msg.sender != pair && block.timestamp >= (_lastAddLiquidityTime + 172800) (crytic-export/etherscan-contracts/0x7769d930bc6b087f960c5d21e34a4449576cf22a.bscscan.com-Oceans_Finance.sol#1007-1011)
Avoid relying on block.timestamp.
Additional information: link
Oceans_Finance.isContract(address) (crytic-export/etherscan-contracts/0x7769d930bc6b087f960c5d21e34a4449576cf22a.bscscan.com-Oceans_Finance.sol#1176-1180) uses assembly
- INLINE ASM (crytic-export/etherscan-contracts/0x7769d930bc6b087f960c5d21e34a4449576cf22a.bscscan.com-Oceans_Finance.sol#1178)
Do not use evm assembly.
Additional information: link
Attempt to swap token was unsuccessful. For some reason it is untradeable. If token is not in presale stage and is not traded outside PancakeSwap, then it's a scam
Additional information: link
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
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
Token has relatively low CoinGecko rank
Young tokens have high risks of price dump / death
Twitter account link seems to be invalid
Unable to find Youtube account