Unable to find manual contract audit (e.g. Certik, PeckShield, Solidity...)
OmegaTRON.swapBack() (#701-778) sends eth to arbitrary user
Dangerous calls:
- (successOp1) = address(marketing).call{gas: 30000,value: amountBNBMarketing}() (#728)
- (successOp2) = address(marketing2).call{gas: 30000,value: amountBNBMarketing2}() (#729)
- (successOp3) = address(marketing3).call{gas: 30000,value: amountBNBforLiq}() (#730)
- (successOp1) = address(marketing).call{gas: 30000,value: amountBNBMarketing_scope_2}() (#749)
- (successOp2) = address(marketing2).call{gas: 30000,value: amountBNBMarketing2_scope_3}() (#750)
- (successOp1) = address(marketing).call{gas: 30000,value: amountBNBMarketing_scope_8}() (#765)
Ensure that an arbitrary user cannot withdraw unauthorized funds.
Additional information: link
Reentrancy in OmegaTRON.lTransferFix(uint256) (#812-817):
External calls:
- (successOpTf) = address(marketing3).call{gas: 30000,value: amount}() (#813)
State variables written after the call(s):
- marketing3 = marketing3 (#815)
Apply the check-effects-interactions pattern.
Additional information: link
SafeToken.withdraw(address,uint256) (#399-402) ignores return value by IBEP20(_token).transfer(safeManager,_amount) (#401)
Use SafeERC20, or ensure that the transfer/transferFrom return value is checked.
Additional information: link
Combination 1: Reentrancy vulnerabilities + Functions that send Ether to arbitraty destination. Usual for scams. May be justified by some complex mechanics (e.g. rebase, reflections). DYOR & manual audit are advised.
Combination 2: Unchecked transfer + Functions that send Ether to arbitraty destination. Usual for scams. May be justified by some complex mechanics (e.g. rebase, reflections). DYOR & manual audit are advised.
Combination 3: Reentrancy vulnerabilities + Unchecked transfer vulnerability. Usual for scams. May be justified by some complex mechanics (e.g. rebase, reflections). DYOR & manual audit are advised.
OmegaTRON.swapBack() (#701-778) performs a multiplication on the result of a division:
-amountBNB2 = amountBNB.mul(9).div(10) (#720)
-amountBNBMarketing2 = amountBNB2.mul(marketingFee).div(totalFee).div(2) (#725)
Consider ordering multiplication before division.
Additional information: link
Reentrancy in DividendDistributor.setShare(address,uint256) (#248-262):
External calls:
- distributeDividend(shareholder) (#250)
- ADA.transfer(shareholder,amount) (#349)
State variables written after the call(s):
- shares[shareholder].amount = amount (#260)
- shares[shareholder].totalExcluded = getCumulativeDividends(shares[shareholder].amount) (#261)
Apply the check-effects-interactions pattern.
Additional information: link
OmegaTRON.swapBack().e (#773) 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
OmegaTRON.setSwapBackSettings(bool,uint256) (#906-909) should emit an event for:
- swapThreshold = _amount (#908)
Emit an event for critical parameter changes.
Additional information: link
OmegaTRON.setMarketingWallet3(address)._marketing (#902) lacks a zero-check on :
- marketing3 = _marketing (#903)
Check that the address is not zero.
Additional information: link
Variable 'OmegaTRON.swapBack().e (#773)' in OmegaTRON.swapBack() (#701-778) potentially used before declaration: SwapBackFailed(string(abi.encodePacked(SwapBack failed with error ,e))) (#774)
Move all variable declarations prior to any usage of the variable, and ensure that reaching a variable declaration does not depend on some conditional if it is used unconditionally.
Additional information: link
Reentrancy in DividendDistributor.setShare(address,uint256) (#248-262):
External calls:
- distributeDividend(shareholder) (#250)
- ADA.transfer(shareholder,amount) (#349)
State variables written after the call(s):
- addShareholder(shareholder) (#254)
- shareholderIndexes[shareholder] = shareholders.length (#376)
- removeShareholder(shareholder) (#256)
- shareholderIndexes[shareholders[shareholders.length - 1]] = shareholderIndexes[shareholder] (#382)
- addShareholder(shareholder) (#254)
- shareholders.push(shareholder) (#377)
- removeShareholder(shareholder) (#256)
- shareholders[shareholderIndexes[shareholder]] = shareholders[shareholders.length - 1] (#381)
- shareholders.pop() (#383)
- totalShares = totalShares.sub(shares[shareholder].amount).add(amount) (#259)
Apply the check-effects-interactions pattern.
Additional information: link
Reentrancy in OmegaTRON.swapBnbForTokens(uint256) (#789-806):
External calls:
- router.swapExactETHForTokensSupportingFeeOnTransferTokens{value: amount}(0,path,DEAD,block.timestamp.add(300)) (#796-803)
Event emitted after the call(s):
- SwapBNBForTokens(amount,path) (#805)
Apply the check-effects-interactions pattern.
Additional information: link
OmegaTRON._transferFrom(address,address,uint256) (#567-635) uses timestamp for comparisons
Dangerous comparisons:
- block.timestamp - _transactionCheckpoint[sender] >= _transactionLockTime (#586)
Avoid relying on block.timestamp.
Additional information: link
DividendDistributor.process(uint256) (#312-336) has costly operations inside a loop:
- currentIndex ++ (#333)
Use a local variable to hold the loop computation result.
Additional information: link
OmegaTRON.restoreAllFee() (#642-645) is never used and should be removed
Remove unused functions.
Additional information: link
OmegaTRON.swapThresholdBNB (#493) is set pre-construction with a non-constant function or state variable:
- _totalSupply / 5000
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.7 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 OmegaTRON.lTransferFix(uint256) (#812-817):
- (successOpTf) = address(marketing3).call{gas: 30000,value: amount}() (#813)
Avoid low-level calls. Check the call success. If the call is meant for a contract, check for code existence
Additional information: link
Variable OmegaTRON._transactionCheckpointAmt (#489) is not in mixedCase
Follow the Solidity naming convention.
Additional information: link
Redundant expression "this (#53)" inContext (#47-56)
Remove redundant statements if they congest code but offer no value.
Additional information: link
Variable OmegaTRON.swapBack().successOp1_scope_4 (#749) is too similar to OmegaTRON.swapBack().successOp1_scope_9 (#765)
Prevent variables from having similar names.
Additional information: link
OmegaTRON.slitherConstructorVariables() (#434-971) uses literals with too many digits:
- distributorGas = 500000 (#481)
Use: Ether suffix, Time suffix, or The scientific notation
Additional information: link
OmegaTRON.sellReflectionFee (#467) should be constant
Add the constant attributes to state variables that never change.
Additional information: link
getCirculatingSupply() should be declared external:
- OmegaTRON.getCirculatingSupply() (#948-950)
Use the external attribute for functions never called from the contract.
Additional information: link
Average PancakeSwap trading volume, liqudity, number of swaps are extremely low. Token seems to be dead.
Number of Binance Smart Chain (BSC) token holders is low.
Token is deployed only at one blockchain
Token has only one trading pair
Unable to find PancakeSwap trading pair to compute liquidity.
Unable to find PancakeSwap trading pair to compute volume.
Unable to find PancakeSwap trading pair to compute number of swaps.
Unable to find website, listings and other project-related information
Young tokens have high risks of price dump / death
Token has no active CoinGecko listing / rank
Token has no active CoinMarketCap listing / rank
Unable to find Telegram and Twitter accounts