SaudiDoge Token Logo

SAUDIDOGE Token

About SAUDIDOGE

Listings

Not Found
Token 20 months

Website

Not Found

Description

Not Found

Social

Not Found

Laser Scorebeta Last Audit: 10 August 2022

report
Token seems to be anonymous. As long as we are unable to find website score is limited.

SaudiDoge.swapBack() (#457-503) sends eth to arbitrary user
Dangerous calls:
- (tmpSuccess) = address(marketingFeeReceiver).call{value: amountBNBMarketing}() (#485)
- (tmpSuccess,None) = address(utilityFeeReceiver).call{value: amountBNButility}() (#486)
- (tmpSuccess,None) = address(devFeeReceiver).call{value: amountBNBdev}() (#487)
Ensure that an arbitrary user cannot withdraw unauthorized funds.

Additional information: link

Reentrancy in SaudiDoge._transferFrom(address,address,uint256) (#324-367):
External calls:
- swapBack() (#358)
- router.swapExactTokensForETHSupportingFeeOnTransferTokens(amountToSwap,0,path,address(this),block.timestamp) (#468-474)
- (tmpSuccess) = address(marketingFeeReceiver).call{value: amountBNBMarketing}() (#485)
- (tmpSuccess,None) = address(utilityFeeReceiver).call{value: amountBNButility}() (#486)
- (tmpSuccess,None) = address(devFeeReceiver).call{value: amountBNBdev}() (#487)
- router.addLiquidityETH{value: amountBNBLiquidity}(address(this),amountToLiquify,0,0,autoLiquidityReceiver,block.timestamp) (#493-500)
External calls sending eth:
- swapBack() (#358)
- (tmpSuccess) = address(marketingFeeReceiver).call{value: amountBNBMarketing}() (#485)
- (tmpSuccess,None) = address(utilityFeeReceiver).call{value: amountBNButility}() (#486)
- (tmpSuccess,None) = address(devFeeReceiver).call{value: amountBNBdev}() (#487)
- router.addLiquidityETH{value: amountBNBLiquidity}(address(this),amountToLiquify,0,0,autoLiquidityReceiver,block.timestamp) (#493-500)
State variables written after the call(s):
- _balances[sender] = _balances[sender].sub(amount,Insufficient Balance) (#360)
- _balances[recipient] = _balances[recipient].add(amountReceived) (#363)
- amountReceived = takeFee(sender,amount,recipient) (#362)
- _balances[address(this)] = _balances[address(this)].add(contractTokens) (#399)
- _balances[stakingFeeReceiver] = _balances[stakingFeeReceiver].add(stakingTokens) (#400)
Apply the check-effects-interactions pattern.

Additional information: link


Unable to find manual contract audit (e.g. Certik, PeckShield, Solidity...)

SaudiDoge.swapBack().tmpSuccess (#485) is written in both
(tmpSuccess) = address(marketingFeeReceiver).call{value: amountBNBMarketing}() (#485)
(tmpSuccess,None) = address(utilityFeeReceiver).call{value: amountBNButility}() (#486)
SaudiDoge.swapBack().tmpSuccess (#485) is written in both
(tmpSuccess,None) = address(utilityFeeReceiver).call{value: amountBNButility}() (#486)
(tmpSuccess,None) = address(devFeeReceiver).call{value: amountBNBdev}() (#487)
SaudiDoge.swapBack().tmpSuccess (#485) is written in both
(tmpSuccess,None) = address(devFeeReceiver).call{value: amountBNBdev}() (#487)
tmpSuccess = false (#490)
Fix or remove the writes.

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)

SaudiDoge.takeFee(address,uint256,address) (#384-408) performs a multiplication on the result of a division:
-feeAmount = amount.mul(totalFee).mul(multiplier).div(feeDenominator * 100) (#394)
-stakingTokens = feeAmount.mul(stakingFee).div(totalFee) (#396)
Consider ordering multiplication before division.

Additional information: link

SaudiDoge.SetIsFeeExempt(address[],bool).i (#535) is a local variable never initialized
SaudiDoge.manage_IsSniper(address[],bool).i (#516) is a local variable never initialized
SaudiDoge.manage_live(address[],bool).i (#522) is a local variable never initialized
SaudiDoge.SetIsTxLimitExempt(address[],bool).i (#542) 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

SaudiDoge.swapBack() (#457-503) ignores return value by router.addLiquidityETH{value: amountBNBLiquidity}(address(this),amountToLiquify,0,0,autoLiquidityReceiver,block.timestamp) (#493-500)
Ensure that all the return values of the function calls are used.

Additional information: link

SaudiDoge.setMaxTxPercent_base1000(uint256) (#310-313) should emit an event for:
- _maxTxAmount = (_totalSupply * maxTXPercentage_base1000) / 1000 (#312)
SaudiDoge.setMaxTxLimit(uint256) (#319-322) should emit an event for:
- _maxTxAmount = amount (#321)
SaudiDoge.setFees(uint256,uint256,uint256,uint256,uint256,uint256) (#547-556) should emit an event for:
- liquidityFee = _liquidityFee (#548)
- devFee = _devFee (#549)
- marketingFee = _marketingFee (#550)
- utilityFee = _utilityFee (#551)
- stakingFee = _stakingFee (#552)
- totalFee = _liquidityFee.add(_devFee).add(_marketingFee).add(_utilityFee).add(_stakingFee) (#553)
- feeDenominator = _feeDenominator (#554)
SaudiDoge.setSwapBackSettings(bool,uint256) (#566-569) should emit an event for:
- swapThreshold = _amount (#568)
SaudiDoge.setTargetLiquidity(uint256,uint256) (#571-574) should emit an event for:
- targetLiquidity = _target (#572)
- targetLiquidityDenominator = _denominator (#573)
Emit an event for critical parameter changes.

Additional information: link

Auth.transferOwnership(address).adr (#108) lacks a zero-check on :
- owner = adr (#109)
SaudiDoge.setFeeReceivers(address,address,address,address,address)._autoLiquidityReceiver (#558) lacks a zero-check on :
- autoLiquidityReceiver = _autoLiquidityReceiver (#559)
SaudiDoge.setFeeReceivers(address,address,address,address,address)._marketingFeeReceiver (#558) lacks a zero-check on :
- marketingFeeReceiver = _marketingFeeReceiver (#560)
SaudiDoge.setFeeReceivers(address,address,address,address,address)._utilityFeeReceiver (#558) lacks a zero-check on :
- utilityFeeReceiver = _utilityFeeReceiver (#561)
SaudiDoge.setFeeReceivers(address,address,address,address,address)._stakingFeeReceiver (#558) lacks a zero-check on :
- stakingFeeReceiver = _stakingFeeReceiver (#562)
SaudiDoge.setFeeReceivers(address,address,address,address,address)._devFeeReceiver (#558) lacks a zero-check on :
- devFeeReceiver = _devFeeReceiver (#563)
Check that the address is not zero.

Additional information: link

Reentrancy in SaudiDoge.constructor() (#240-272):
External calls:
- pair = IDEXFactory(router.factory()).createPair(WBNB,address(this)) (#243)
State variables written after the call(s):
- _allowances[address(this)][address(router)] = type()(uint256).max (#246)
- _balances[msg.sender] = _totalSupply (#270)
- autoLiquidityReceiver = msg.sender (#264)
- devFeeReceiver = msg.sender (#267)
- isFeeExempt[msg.sender] = true (#248)
- isFeeExempt[marketingFeeReceiver] = true (#249)
- isFeeExempt[utilityFeeReceiver] = true (#250)
- isTimelockExempt[msg.sender] = true (#254)
- isTimelockExempt[pair] = true (#255)
- isTimelockExempt[marketingFeeReceiver] = true (#256)
- isTimelockExempt[utilityFeeReceiver] = true (#257)
- isTxLimitExempt[msg.sender] = true (#259)
- isTxLimitExempt[pair] = true (#260)
- isTxLimitExempt[marketingFeeReceiver] = true (#261)
- isTxLimitExempt[utilityFeeReceiver] = true (#262)
- isliveed[routerV2] = true (#251)
- isliveed[msg.sender] = true (#252)
- marketingFeeReceiver = 0x0f64d6f53817A6a595b8EdB547205b628f38a174 (#265)
- stakingFeeReceiver = DEAD (#268)
- utilityFeeReceiver = msg.sender (#266)
Apply the check-effects-interactions pattern.

Additional information: link

Reentrancy in SaudiDoge._transferFrom(address,address,uint256) (#324-367):
External calls:
- swapBack() (#358)
- router.swapExactTokensForETHSupportingFeeOnTransferTokens(amountToSwap,0,path,address(this),block.timestamp) (#468-474)
- (tmpSuccess) = address(marketingFeeReceiver).call{value: amountBNBMarketing}() (#485)
- (tmpSuccess,None) = address(utilityFeeReceiver).call{value: amountBNButility}() (#486)
- (tmpSuccess,None) = address(devFeeReceiver).call{value: amountBNBdev}() (#487)
- router.addLiquidityETH{value: amountBNBLiquidity}(address(this),amountToLiquify,0,0,autoLiquidityReceiver,block.timestamp) (#493-500)
External calls sending eth:
- swapBack() (#358)
- (tmpSuccess) = address(marketingFeeReceiver).call{value: amountBNBMarketing}() (#485)
- (tmpSuccess,None) = address(utilityFeeReceiver).call{value: amountBNButility}() (#486)
- (tmpSuccess,None) = address(devFeeReceiver).call{value: amountBNBdev}() (#487)
- router.addLiquidityETH{value: amountBNBLiquidity}(address(this),amountToLiquify,0,0,autoLiquidityReceiver,block.timestamp) (#493-500)
Event emitted after the call(s):
- Transfer(sender,address(this),contractTokens) (#401)
- amountReceived = takeFee(sender,amount,recipient) (#362)
- Transfer(sender,stakingFeeReceiver,stakingTokens) (#404)
- amountReceived = takeFee(sender,amount,recipient) (#362)
- Transfer(sender,recipient,amountReceived) (#365)
Reentrancy in SaudiDoge.constructor() (#240-272):
External calls:
- pair = IDEXFactory(router.factory()).createPair(WBNB,address(this)) (#243)
Event emitted after the call(s):
- Transfer(address(0),msg.sender,_totalSupply) (#271)
Reentrancy in SaudiDoge.swapBack() (#457-503):
External calls:
- router.swapExactTokensForETHSupportingFeeOnTransferTokens(amountToSwap,0,path,address(this),block.timestamp) (#468-474)
- (tmpSuccess) = address(marketingFeeReceiver).call{value: amountBNBMarketing}() (#485)
- (tmpSuccess,None) = address(utilityFeeReceiver).call{value: amountBNButility}() (#486)
- (tmpSuccess,None) = address(devFeeReceiver).call{value: amountBNBdev}() (#487)
- router.addLiquidityETH{value: amountBNBLiquidity}(address(this),amountToLiquify,0,0,autoLiquidityReceiver,block.timestamp) (#493-500)
External calls sending eth:
- (tmpSuccess) = address(marketingFeeReceiver).call{value: amountBNBMarketing}() (#485)
- (tmpSuccess,None) = address(utilityFeeReceiver).call{value: amountBNButility}() (#486)
- (tmpSuccess,None) = address(devFeeReceiver).call{value: amountBNBdev}() (#487)
- router.addLiquidityETH{value: amountBNBLiquidity}(address(this),amountToLiquify,0,0,autoLiquidityReceiver,block.timestamp) (#493-500)
Event emitted after the call(s):
- AutoLiquify(amountBNBLiquidity,amountToLiquify) (#501)
Apply the check-effects-interactions pattern.

Additional information: link

SaudiDoge._transferFrom(address,address,uint256) (#324-367) uses timestamp for comparisons
Dangerous comparisons:
- require(bool,string)(cooldownTimer[recipient] < block.timestamp,Please wait for between buys) (#351)
Avoid relying on block.timestamp.

Additional information: link

SaudiDoge.shouldTakeFee(address) (#380-382) is never used and should be removed
Remove unused functions.

Additional information: link

SaudiDoge._maxTxAmount (#186) is set pre-construction with a non-constant function or state variable:
- _totalSupply.mul(1).div(100)
SaudiDoge._maxWalletToken (#187) is set pre-construction with a non-constant function or state variable:
- _totalSupply.mul(1).div(100)
SaudiDoge.totalFee (#207) is set pre-construction with a non-constant function or state variable:
- devFee + marketingFee + liquidityFee + utilityFee + stakingFee
SaudiDoge.swapThreshold (#236) is set pre-construction with a non-constant function or state variable:
- _totalSupply * 30 / 10000
Remove any initialization of state variables via non-constant state variables or function calls. If variables must be set upon contract deployment, locate initialization in the constructor instead.

Additional information: link

Pragma version^0.8.13 (#22) necessitates a version too recent to be trusted. Consider deploying with 0.6.12/0.7.6/0.8.7
solc-0.8.13 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 SaudiDoge.swapBack() (#457-503):
- (tmpSuccess) = address(marketingFeeReceiver).call{value: amountBNBMarketing}() (#485)
- (tmpSuccess,None) = address(utilityFeeReceiver).call{value: amountBNButility}() (#486)
- (tmpSuccess,None) = address(devFeeReceiver).call{value: amountBNBdev}() (#487)
Avoid low-level calls. Check the call success. If the call is meant for a contract, check for code existence

Additional information: link

Function IDEXRouter.WETH() (#123) is not in mixedCase
Function SaudiDoge.setMaxWalletPercent_base1000(uint256) (#306-309) is not in mixedCase
Parameter SaudiDoge.setMaxWalletPercent_base1000(uint256).maxWallPercent_base1000 (#306) is not in mixedCase
Function SaudiDoge.setMaxTxPercent_base1000(uint256) (#310-313) is not in mixedCase
Parameter SaudiDoge.setMaxTxPercent_base1000(uint256).maxTXPercentage_base1000 (#310) is not in mixedCase
Function SaudiDoge.ClearStuckBalance(uint256) (#425-429) is not in mixedCase
Parameter SaudiDoge.setMultipliers(uint256,uint256,uint256)._buy (#432) is not in mixedCase
Parameter SaudiDoge.setMultipliers(uint256,uint256,uint256)._sell (#432) is not in mixedCase
Parameter SaudiDoge.setMultipliers(uint256,uint256,uint256)._trans (#432) is not in mixedCase
Function SaudiDoge.OpenTrading() (#441-444) is not in mixedCase
Parameter SaudiDoge.cooldownEnabled(bool,uint8)._status (#446) is not in mixedCase
Parameter SaudiDoge.cooldownEnabled(bool,uint8)._interval (#446) is not in mixedCase
Function SaudiDoge.Send() (#451-455) is not in mixedCase
Function SaudiDoge.enable_IsSniper(bool) (#505-507) is not in mixedCase
Parameter SaudiDoge.enable_IsSniper(bool)._status (#505) is not in mixedCase
Function SaudiDoge.enable_live(bool) (#510-513) is not in mixedCase
Parameter SaudiDoge.enable_live(bool)._status (#510) is not in mixedCase
Function SaudiDoge.manage_IsSniper(address[],bool) (#515-519) is not in mixedCase
Function SaudiDoge.manage_live(address[],bool) (#521-525) is not in mixedCase
Function SaudiDoge.UpdateMin(uint256) (#528-531) is not in mixedCase
Parameter SaudiDoge.UpdateMin(uint256)._MinGas (#528) is not in mixedCase
Function SaudiDoge.SetIsFeeExempt(address[],bool) (#533-538) is not in mixedCase
Function SaudiDoge.SetIsTxLimitExempt(address[],bool) (#540-545) is not in mixedCase
Parameter SaudiDoge.setFees(uint256,uint256,uint256,uint256,uint256,uint256)._liquidityFee (#547) is not in mixedCase
Parameter SaudiDoge.setFees(uint256,uint256,uint256,uint256,uint256,uint256)._devFee (#547) is not in mixedCase
Parameter SaudiDoge.setFees(uint256,uint256,uint256,uint256,uint256,uint256)._marketingFee (#547) is not in mixedCase
Parameter SaudiDoge.setFees(uint256,uint256,uint256,uint256,uint256,uint256)._utilityFee (#547) is not in mixedCase
Parameter SaudiDoge.setFees(uint256,uint256,uint256,uint256,uint256,uint256)._stakingFee (#547) is not in mixedCase
Parameter SaudiDoge.setFees(uint256,uint256,uint256,uint256,uint256,uint256)._feeDenominator (#547) is not in mixedCase
Parameter SaudiDoge.setFeeReceivers(address,address,address,address,address)._autoLiquidityReceiver (#558) is not in mixedCase
Parameter SaudiDoge.setFeeReceivers(address,address,address,address,address)._marketingFeeReceiver (#558) is not in mixedCase
Parameter SaudiDoge.setFeeReceivers(address,address,address,address,address)._utilityFeeReceiver (#558) is not in mixedCase
Parameter SaudiDoge.setFeeReceivers(address,address,address,address,address)._stakingFeeReceiver (#558) is not in mixedCase
Parameter SaudiDoge.setFeeReceivers(address,address,address,address,address)._devFeeReceiver (#558) is not in mixedCase
Parameter SaudiDoge.setSwapBackSettings(bool,uint256)._enabled (#566) is not in mixedCase
Parameter SaudiDoge.setSwapBackSettings(bool,uint256)._amount (#566) is not in mixedCase
Parameter SaudiDoge.setTargetLiquidity(uint256,uint256)._target (#571) is not in mixedCase
Parameter SaudiDoge.setTargetLiquidity(uint256,uint256)._denominator (#571) is not in mixedCase
Variable SaudiDoge.WBNB (#176) is not in mixedCase
Variable SaudiDoge.DEAD (#177) is not in mixedCase
Variable SaudiDoge.ZERO (#178) is not in mixedCase
Constant SaudiDoge._name (#180) is not in UPPER_CASE_WITH_UNDERSCORES
Constant SaudiDoge._symbol (#181) is not in UPPER_CASE_WITH_UNDERSCORES
Constant SaudiDoge._decimals (#182) is not in UPPER_CASE_WITH_UNDERSCORES
Variable SaudiDoge._totalSupply (#184) is not in mixedCase
Variable SaudiDoge._maxTxAmount (#186) is not in mixedCase
Variable SaudiDoge._maxWalletToken (#187) is not in mixedCase
Variable SaudiDoge._balances (#189) is not in mixedCase
Variable SaudiDoge._allowances (#190) is not in mixedCase
Variable SaudiDoge.IsSniperMode (#192) is not in mixedCase
Variable SaudiDoge.MinGas (#233) is not in mixedCase
Follow the Solidity naming convention.

Additional information: link

Variable IDEXRouter.addLiquidity(address,address,uint256,uint256,uint256,uint256,address,uint256).amountADesired (#128) is too similar to IDEXRouter.addLiquidity(address,address,uint256,uint256,uint256,uint256,address,uint256).amountBDesired (#129)
Prevent variables from having similar names.

Additional information: link

SaudiDoge.slitherConstructorVariables() (#173-594) uses literals with too many digits:
- DEAD = 0x000000000000000000000000000000000000dEaD (#177)
SaudiDoge.slitherConstructorVariables() (#173-594) uses literals with too many digits:
- ZERO = 0x0000000000000000000000000000000000000000 (#178)
Use: Ether suffix, Time suffix, or The scientific notation

Additional information: link

SaudiDoge.DEAD (#177) should be constant
SaudiDoge.ZERO (#178) should be constant
SaudiDoge._totalSupply (#184) should be constant
Add the constant attributes to state variables that never change.

Additional information: link

authorize(address) should be declared external:
- Auth.authorize(address) (#92-94)
unauthorize(address) should be declared external:
- Auth.unauthorize(address) (#96-98)
transferOwnership(address) should be declared external:
- Auth.transferOwnership(address) (#108-112)
OpenTrading() should be declared external:
- SaudiDoge.OpenTrading() (#441-444)
cooldownEnabled(bool,uint8) should be declared external:
- SaudiDoge.cooldownEnabled(bool,uint8) (#446-449)
enable_IsSniper(bool) should be declared external:
- SaudiDoge.enable_IsSniper(bool) (#505-507)
manage_IsSniper(address[],bool) should be declared external:
- SaudiDoge.manage_IsSniper(address[],bool) (#515-519)
manage_live(address[],bool) should be declared external:
- SaudiDoge.manage_live(address[],bool) (#521-525)
UpdateMin(uint256) should be declared external:
- SaudiDoge.UpdateMin(uint256) (#528-531)
Use the external attribute for functions never called from the contract.

Additional information: link

Holders:

Contract has 9% buy tax and 10% sell tax.
Taxes are low but contract ownership is not renounced. Token has a high risk of becoming a honeypot.


Average 30d PancakeSwap liquidity is low.


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 Telegram and Twitter accounts


Unable to find website, listings and other project-related information


Young tokens have high risks of scam / price dump / death


Token has no active CoinGecko listing / rank


Token has no active CoinMarketCap listing / rank

Price for SAUDIDOGE