Retrium NETWORK Will be Built The Fastest Blockchain With lowest fee, And build Ecosystem With Projects Spanning DeFi, NFTs, Web3 & Much More
Unable to find manual contract audit (e.g. Certik, PeckShield, Solidity...)
RetriumNetwork.swapBack() (#335-376) sends eth to arbitrary user
Dangerous calls:
- (MarketingSuccess) = address(marketingFeeReceiver).call{gas: 30000,value: amountBNBMarketing}() (#360)
- (devSuccess) = address(devFeeReceiver).call{gas: 30000,value: amountBNBdev}() (#362)
RetriumNetwork.manualSend() (#442-445) sends eth to arbitrary user
Dangerous calls:
- address(devFeeReceiver).transfer(contractETHBalance) (#444)
RetriumNetwork.transferForeignToken(address) (#447-451) sends eth to arbitrary user
Dangerous calls:
- address(devFeeReceiver).transfer(_contractBalance) (#450)
Ensure that an arbitrary user cannot withdraw unauthorized funds.
Additional information: link
Reentrancy in RetriumNetwork._transferFrom(address,address,uint256) (#270-296):
External calls:
- swapBack() (#285)
- router.swapExactTokensForETHSupportingFeeOnTransferTokens(amountToSwap,0,path,address(this),block.timestamp) (#346-352)
- (MarketingSuccess) = address(marketingFeeReceiver).call{gas: 30000,value: amountBNBMarketing}() (#360)
- (devSuccess) = address(devFeeReceiver).call{gas: 30000,value: amountBNBdev}() (#362)
- router.addLiquidityETH{value: amountBNBLiquidity}(address(this),amountToLiquify,0,0,devFeeReceiver,block.timestamp) (#366-373)
External calls sending eth:
- swapBack() (#285)
- (MarketingSuccess) = address(marketingFeeReceiver).call{gas: 30000,value: amountBNBMarketing}() (#360)
- (devSuccess) = address(devFeeReceiver).call{gas: 30000,value: amountBNBdev}() (#362)
- router.addLiquidityETH{value: amountBNBLiquidity}(address(this),amountToLiquify,0,0,devFeeReceiver,block.timestamp) (#366-373)
State variables written after the call(s):
- _balances[sender] = _balances[sender].sub(amount,Insufficient Balance) (#289)
- _balances[recipient] = _balances[recipient].add(amountReceived) (#292)
- amountReceived = takeFee(sender,recipient,amount) (#291)
- _balances[address(this)] = _balances[address(this)].add(feeAmount) (#322)
Apply the check-effects-interactions pattern.
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.
Contract ownership is not renounced (belongs to a wallet)
RetriumNetwork.slitherConstructorVariables() (#168-467) performs a multiplication on the result of a division:
-swapThreshold = _totalSupply / 10000 * 50 (#208)
Consider ordering multiplication before division.
Additional information: link
RetriumNetwork.swapBack() (#335-376) ignores return value by router.addLiquidityETH{value: amountBNBLiquidity}(address(this),amountToLiquify,0,0,devFeeReceiver,block.timestamp) (#366-373)
Ensure that all the return values of the function calls are used.
Additional information: link
RetriumNetwork.setFees(uint256,uint256,uint256,uint256) (#404-410) should emit an event for:
- liquidityFee = _liquidityFee (#405)
- marketingFee = _marketingFee (#406)
- devFee = _devFee (#407)
- totalFee = _liquidityFee.add(_marketingFee).add(_devFee) (#408)
- feeDenominator = _feeDenominator (#409)
RetriumNetwork.setSellMultiplier(uint256) (#422-424) should emit an event for:
- _sellMultiplier = multiplier (#423)
RetriumNetwork.setTxLimit(uint256) (#430-433) should emit an event for:
- _maxTxAmount = amountBuy (#431)
RetriumNetwork.setSwapBackSettings(bool,uint256) (#434-437) should emit an event for:
- swapThreshold = _amount (#436)
Emit an event for critical parameter changes.
Additional information: link
Auth.transferOwnership(address).adr (#97) lacks a zero-check on :
- owner = adr (#98)
RetriumNetwork.setFeeReceiver(address,address)._marketingFeeReceiver (#425) lacks a zero-check on :
- marketingFeeReceiver = _marketingFeeReceiver (#426)
RetriumNetwork.setFeeReceiver(address,address)._devFeeReceiver (#425) lacks a zero-check on :
- devFeeReceiver = _devFeeReceiver (#427)
Check that the address is not zero.
Additional information: link
Reentrancy in RetriumNetwork._transferFrom(address,address,uint256) (#270-296):
External calls:
- swapBack() (#285)
- router.swapExactTokensForETHSupportingFeeOnTransferTokens(amountToSwap,0,path,address(this),block.timestamp) (#346-352)
- (MarketingSuccess) = address(marketingFeeReceiver).call{gas: 30000,value: amountBNBMarketing}() (#360)
- (devSuccess) = address(devFeeReceiver).call{gas: 30000,value: amountBNBdev}() (#362)
- router.addLiquidityETH{value: amountBNBLiquidity}(address(this),amountToLiquify,0,0,devFeeReceiver,block.timestamp) (#366-373)
External calls sending eth:
- swapBack() (#285)
- (MarketingSuccess) = address(marketingFeeReceiver).call{gas: 30000,value: amountBNBMarketing}() (#360)
- (devSuccess) = address(devFeeReceiver).call{gas: 30000,value: amountBNBdev}() (#362)
- router.addLiquidityETH{value: amountBNBLiquidity}(address(this),amountToLiquify,0,0,devFeeReceiver,block.timestamp) (#366-373)
State variables written after the call(s):
- launch() (#287)
- launchedAt = block.number (#396)
Reentrancy in RetriumNetwork.constructor() (#217-236):
External calls:
- pair = IDEXFactory(router.factory()).createPair(WBNB,address(this)) (#219)
State variables written after the call(s):
- _allowances[address(this)][address(router)] = type()(uint256).max (#220)
- _balances[_owner] = _totalSupply (#234)
- isFeeExempt[msg.sender] = true (#223)
- isTimelockExempt[msg.sender] = true (#229)
- isTimelockExempt[DEAD] = true (#230)
- isTimelockExempt[address(this)] = true (#231)
- isTxLimitExempt[address(this)] = true (#224)
- isTxLimitExempt[routerAddress] = true (#225)
- isTxLimitExempt[msg.sender] = true (#226)
Apply the check-effects-interactions pattern.
Additional information: link
Reentrancy in RetriumNetwork._transferFrom(address,address,uint256) (#270-296):
External calls:
- swapBack() (#285)
- router.swapExactTokensForETHSupportingFeeOnTransferTokens(amountToSwap,0,path,address(this),block.timestamp) (#346-352)
- (MarketingSuccess) = address(marketingFeeReceiver).call{gas: 30000,value: amountBNBMarketing}() (#360)
- (devSuccess) = address(devFeeReceiver).call{gas: 30000,value: amountBNBdev}() (#362)
- router.addLiquidityETH{value: amountBNBLiquidity}(address(this),amountToLiquify,0,0,devFeeReceiver,block.timestamp) (#366-373)
External calls sending eth:
- swapBack() (#285)
- (MarketingSuccess) = address(marketingFeeReceiver).call{gas: 30000,value: amountBNBMarketing}() (#360)
- (devSuccess) = address(devFeeReceiver).call{gas: 30000,value: amountBNBdev}() (#362)
- router.addLiquidityETH{value: amountBNBLiquidity}(address(this),amountToLiquify,0,0,devFeeReceiver,block.timestamp) (#366-373)
Event emitted after the call(s):
- Transfer(sender,address(this),feeAmount) (#323)
- amountReceived = takeFee(sender,recipient,amount) (#291)
- Transfer(sender,recipient,amountReceived) (#294)
Reentrancy in RetriumNetwork.constructor() (#217-236):
External calls:
- pair = IDEXFactory(router.factory()).createPair(WBNB,address(this)) (#219)
Event emitted after the call(s):
- Transfer(address(0),_owner,_totalSupply) (#235)
Reentrancy in RetriumNetwork.swapBack() (#335-376):
External calls:
- router.swapExactTokensForETHSupportingFeeOnTransferTokens(amountToSwap,0,path,address(this),block.timestamp) (#346-352)
- (MarketingSuccess) = address(marketingFeeReceiver).call{gas: 30000,value: amountBNBMarketing}() (#360)
- (devSuccess) = address(devFeeReceiver).call{gas: 30000,value: amountBNBdev}() (#362)
- router.addLiquidityETH{value: amountBNBLiquidity}(address(this),amountToLiquify,0,0,devFeeReceiver,block.timestamp) (#366-373)
External calls sending eth:
- (MarketingSuccess) = address(marketingFeeReceiver).call{gas: 30000,value: amountBNBMarketing}() (#360)
- (devSuccess) = address(devFeeReceiver).call{gas: 30000,value: amountBNBdev}() (#362)
- router.addLiquidityETH{value: amountBNBLiquidity}(address(this),amountToLiquify,0,0,devFeeReceiver,block.timestamp) (#366-373)
Event emitted after the call(s):
- AutoLiquify(amountBNBLiquidity,amountToLiquify) (#374)
Apply the check-effects-interactions pattern.
Additional information: link
RetriumNetwork._transferFrom(address,address,uint256) (#270-296) uses timestamp for comparisons
Dangerous comparisons:
- require(bool,string)(cooldownTimer[recipient] < block.timestamp,Please wait for 1min between two operations) (#282)
Avoid relying on block.timestamp.
Additional information: link
RetriumNetwork.buyTokens(uint256,address) (#378-389) is never used and should be removed
Remove unused functions.
Additional information: link
RetriumNetwork._maxTxAmount (#181) is set pre-construction with a non-constant function or state variable:
- (_totalSupply * 2) / 100
RetriumNetwork._maxWalletSize (#182) is set pre-construction with a non-constant function or state variable:
- (_totalSupply * 2) / 100
RetriumNetwork.swapThreshold (#208) is set pre-construction with a non-constant function or state variable:
- _totalSupply / 10000 * 50
Remove any initialization of state variables via non-constant state variables or function calls. If variables must be set upon contract deployment, locate initialization in the constructor instead.
Additional information: link
Pragma version^0.8.11 (#7) necessitates a version too recent to be trusted. Consider deploying with 0.6.12/0.7.6/0.8.7
solc-0.8.11 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 RetriumNetwork.swapBack() (#335-376):
- (MarketingSuccess) = address(marketingFeeReceiver).call{gas: 30000,value: amountBNBMarketing}() (#360)
- (devSuccess) = address(devFeeReceiver).call{gas: 30000,value: amountBNBdev}() (#362)
Avoid low-level calls. Check the call success. If the call is meant for a contract, check for code existence
Additional information: link
Variable Auth._intAddr (#72) is not in mixedCase
Function IDEXRouter.WETH() (#122) is not in mixedCase
Parameter RetriumNetwork.setFees(uint256,uint256,uint256,uint256)._liquidityFee (#404) is not in mixedCase
Parameter RetriumNetwork.setFees(uint256,uint256,uint256,uint256)._marketingFee (#404) is not in mixedCase
Parameter RetriumNetwork.setFees(uint256,uint256,uint256,uint256)._devFee (#404) is not in mixedCase
Parameter RetriumNetwork.setFees(uint256,uint256,uint256,uint256)._feeDenominator (#404) is not in mixedCase
Parameter RetriumNetwork.cooldownEnabled(bool,uint8)._status (#412) is not in mixedCase
Parameter RetriumNetwork.cooldownEnabled(bool,uint8)._interval (#412) is not in mixedCase
Parameter RetriumNetwork.setFeeReceiver(address,address)._marketingFeeReceiver (#425) is not in mixedCase
Parameter RetriumNetwork.setFeeReceiver(address,address)._devFeeReceiver (#425) is not in mixedCase
Parameter RetriumNetwork.setSwapBackSettings(bool,uint256)._enabled (#434) is not in mixedCase
Parameter RetriumNetwork.setSwapBackSettings(bool,uint256)._amount (#434) is not in mixedCase
Parameter RetriumNetwork.isBots(address,bool)._address (#439) is not in mixedCase
Parameter RetriumNetwork.isBots(address,bool)._value (#439) is not in mixedCase
Parameter RetriumNetwork.transferForeignToken(address)._token (#447) is not in mixedCase
Variable RetriumNetwork.WBNB (#171) is not in mixedCase
Variable RetriumNetwork.DEAD (#172) is not in mixedCase
Variable RetriumNetwork.ZERO (#173) is not in mixedCase
Constant RetriumNetwork._name (#176) is not in UPPER_CASE_WITH_UNDERSCORES
Constant RetriumNetwork._symbol (#177) is not in UPPER_CASE_WITH_UNDERSCORES
Constant RetriumNetwork._decimals (#178) is not in UPPER_CASE_WITH_UNDERSCORES
Variable RetriumNetwork._totalSupply (#180) is not in mixedCase
Variable RetriumNetwork._maxTxAmount (#181) is not in mixedCase
Variable RetriumNetwork._maxWalletSize (#182) is not in mixedCase
Variable RetriumNetwork._balances (#184) is not in mixedCase
Variable RetriumNetwork._allowances (#185) is not in mixedCase
Variable RetriumNetwork._sellMultiplier (#197) is not in mixedCase
Follow the Solidity naming convention.
Additional information: link
Variable IDEXRouter.addLiquidity(address,address,uint256,uint256,uint256,uint256,address,uint256).amountADesired (#127) is too similar to IDEXRouter.addLiquidity(address,address,uint256,uint256,uint256,uint256,address,uint256).amountBDesired (#128)
Prevent variables from having similar names.
Additional information: link
RetriumNetwork.slitherConstructorVariables() (#168-467) uses literals with too many digits:
- DEAD = 0x000000000000000000000000000000000000dEaD (#172)
RetriumNetwork.slitherConstructorVariables() (#168-467) uses literals with too many digits:
- ZERO = 0x0000000000000000000000000000000000000000 (#173)
RetriumNetwork.slitherConstructorVariables() (#168-467) uses literals with too many digits:
- _totalSupply = 100000000 * (10 ** _decimals) (#180)
Use: Ether suffix, Time suffix, or The scientific notation
Additional information: link
RetriumNetwork.DEAD (#172) should be constant
RetriumNetwork.WBNB (#171) should be constant
RetriumNetwork.ZERO (#173) should be constant
RetriumNetwork._totalSupply (#180) should be constant
RetriumNetwork.routerAddress (#174) should be constant
Add the constant attributes to state variables that never change.
Additional information: link
transferOwnership(address) should be declared external:
- Auth.transferOwnership(address) (#97-101)
renounceOwnership() should be declared external:
- Auth.renounceOwnership() (#109-111)
cooldownEnabled(bool,uint8) should be declared external:
- RetriumNetwork.cooldownEnabled(bool,uint8) (#412-415)
isBots(address,bool) should be declared external:
- RetriumNetwork.isBots(address,bool) (#439-441)
transferForeignToken(address) should be declared external:
- RetriumNetwork.transferForeignToken(address) (#447-451)
isOverLiquified(uint256,uint256) should be declared external:
- RetriumNetwork.isOverLiquified(uint256,uint256) (#461-463)
Use the external attribute for functions never called from the contract.
Additional information: link
BscScan page for the token does not contain additional info: website, socials, description, etc.
Additional information: link
Unable to find token/project description on the website or on BscScan, CoinMarketCap
Unable to find token contract audit
Unable to find KYC or doxxing proof
Unable to verify that token and website are owned by the same team (no listings + unable to find contract on website)
Unable to verify token contract address on the website
Unable to find audit link on the website
Unable to find whitepaper link on the website
Unable to find Twitter link on the website
Unable to find token on CoinGecko
Additional information: link
Unable to find token on CoinMarketCap
Additional information: link
Token is not listed at Mobula.Finance
Additional information: link
Unable to find token on CoinHunt
Additional information: link
Unable to find code repository for the project
Young tokens have high risks of scam / price dump / death
Young tokens have high risks of scam / price dump / death
Token has no active CoinGecko listing / rank
Token has no active CoinMarketCap listing / rank
Unable to find Twitter account
Telegram account has relatively few subscribers
Unable to find Blog account (Reddit or Medium)
Unable to find Youtube account
Unable to find Discord account