DogeKing Token Logo

DogeKing Token (4)

ALERT: unclassified scam

About DogeKing

Listings

Not Found
Token 2 years

Website

Not Found

Description

Not Found

Social

Not Found

Laser Scorebeta Last Audit: 1 February 2022

report
Token seems to be a scam (type: unclassified scam).


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

StandardToken.claimToUniswap() (contracts/StandardToken.sol#122-124) sends eth to arbitrary user
Dangerous calls:
- address(uniswapAddress).transfer(address(this).balance) (contracts/StandardToken.sol#123)
StandardToken.addLiquidity(uint256,uint256) (contracts/StandardToken.sol#256-269) sends eth to arbitrary user
Dangerous calls:
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,owner(),block.timestamp) (contracts/StandardToken.sol#261-268)
Ensure that an arbitrary user cannot withdraw unauthorized funds.

Additional information: link

Reentrancy in StandardToken._transfer(address,address,uint256) (contracts/StandardToken.sol#160-185):
External calls:
- swapAndLiquify(contractTokenBalance) (contracts/StandardToken.sol#176)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,owner(),block.timestamp) (contracts/StandardToken.sol#261-268)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (contracts/StandardToken.sol#245-251)
External calls sending eth:
- swapAndLiquify(contractTokenBalance) (contracts/StandardToken.sol#176)
- recipient.transfer(amount) (contracts/StandardToken.sol#188)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,owner(),block.timestamp) (contracts/StandardToken.sol#261-268)
State variables written after the call(s):
- super._transfer(sender,recipient,finalAmount) (contracts/StandardToken.sol#183)
- _balances[sender] = senderBalance - amount (@openzeppelin/contracts/token/ERC20/ERC20.sol#234)
- _balances[recipient] += amount (@openzeppelin/contracts/token/ERC20/ERC20.sol#236)
- finalAmount = takeFee(sender,recipient,amount) (contracts/StandardToken.sol#179-181)
- _balances[sender] = senderBalance - amount (@openzeppelin/contracts/token/ERC20/ERC20.sol#234)
- _balances[recipient] += amount (@openzeppelin/contracts/token/ERC20/ERC20.sol#236)
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.

StandardToken.addLiquidity(uint256,uint256) (contracts/StandardToken.sol#256-269) ignores return value by uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,owner(),block.timestamp) (contracts/StandardToken.sol#261-268)
Ensure that all the return values of the function calls are used.

Additional information: link

StandardToken.setUniswap(address) (contracts/StandardToken.sol#152-154) should emit an event for:
- uniswapAddress = uniswapAddress_ (contracts/StandardToken.sol#153)
Emit an event for critical parameter changes.

Additional information: link

StandardToken.setBuyFees(uint256,uint256) (contracts/StandardToken.sol#126-130) should emit an event for:
- _totalTaxIfBuying = _buyLiquidityFee + _buyMarketingFee (contracts/StandardToken.sol#129)
StandardToken.setSellFees(uint256,uint256) (contracts/StandardToken.sol#132-136) should emit an event for:
- _totalTaxIfSelling = _sellLiquidityFee + _sellMarketingFee (contracts/StandardToken.sol#135)
StandardToken.setShares(uint256,uint256) (contracts/StandardToken.sol#142-146) should emit an event for:
- _liquidityShare = liquidityShare_ (contracts/StandardToken.sol#143)
- _totalDistributionShares = _liquidityShare + _marketingShare (contracts/StandardToken.sol#145)
StandardToken.setUniswapCount(uint256) (contracts/StandardToken.sol#156-158) should emit an event for:
- uniswapCount = uniswapCount_ (contracts/StandardToken.sol#157)
Emit an event for critical parameter changes.

Additional information: link

StandardToken.constructor(string,string,uint256,address,address,address,address,uint256,uint256[2],uint256[2],uint256[2]).marketingAddress_ (contracts/StandardToken.sol#71) lacks a zero-check on :
- marketingAddress = address(marketingAddress_) (contracts/StandardToken.sol#82)
StandardToken.constructor(string,string,uint256,address,address,address,address,uint256,uint256[2],uint256[2],uint256[2]).contributeAddress_ (contracts/StandardToken.sol#72) lacks a zero-check on :
- contributeAddress = address(contributeAddress_) (contracts/StandardToken.sol#83)
StandardToken.constructor(string,string,uint256,address,address,address,address,uint256,uint256[2],uint256[2],uint256[2]).uniswapAddress_ (contracts/StandardToken.sol#74) lacks a zero-check on :
- uniswapAddress = uniswapAddress_ (contracts/StandardToken.sol#98)
StandardToken.setUniswap(address).uniswapAddress_ (contracts/StandardToken.sol#152) lacks a zero-check on :
- uniswapAddress = uniswapAddress_ (contracts/StandardToken.sol#153)
Check that the address is not zero.

Additional information: link

Reentrancy in StandardToken.constructor(string,string,uint256,address,address,address,address,uint256,uint256[2],uint256[2],uint256[2]) (contracts/StandardToken.sol#67-112):
External calls:
- uniswapPair = IUniswapV2Factory(_uniswapV2Router.factory()).createPair(address(this),_uniswapV2Router.WETH()) (contracts/StandardToken.sol#99-100)
State variables written after the call(s):
- _mint(owner(),totalSupply_) (contracts/StandardToken.sol#111)
- _balances[account] += amount (@openzeppelin/contracts/token/ERC20/ERC20.sol#258)
- _mint(owner(),totalSupply_) (contracts/StandardToken.sol#111)
- _totalSupply += amount (@openzeppelin/contracts/token/ERC20/ERC20.sol#257)
- isExcludedFromFee[owner()] = true (contracts/StandardToken.sol#104)
- isExcludedFromFee[address(this)] = true (contracts/StandardToken.sol#105)
- isMarketPair[address(uniswapPair)] = true (contracts/StandardToken.sol#109)
- minimumTokensBeforeSwap = totalSupply_ * 2 / 10 ** 6 (contracts/StandardToken.sol#107)
- uniswapCount = uniswapCount_ (contracts/StandardToken.sol#102)
- uniswapV2Router = _uniswapV2Router (contracts/StandardToken.sol#101)
Reentrancy in StandardToken.swapAndLiquify(uint256) (contracts/StandardToken.sol#208-234):
External calls:
- swapTokensForEth(tokensForSwap) (contracts/StandardToken.sol#214)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (contracts/StandardToken.sol#245-251)
- addLiquidity(tokensForLP,amountBNBLiquidity) (contracts/StandardToken.sol#232)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,owner(),block.timestamp) (contracts/StandardToken.sol#261-268)
External calls sending eth:
- transferToAddressETH(marketingAddress,amountBNBMarketing) (contracts/StandardToken.sol#224)
- recipient.transfer(amount) (contracts/StandardToken.sol#188)
- transferToAddressETH(address(uniswapAddress),amountBNBUniswap) (contracts/StandardToken.sol#228)
- recipient.transfer(amount) (contracts/StandardToken.sol#188)
- addLiquidity(tokensForLP,amountBNBLiquidity) (contracts/StandardToken.sol#232)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,owner(),block.timestamp) (contracts/StandardToken.sol#261-268)
State variables written after the call(s):
- addLiquidity(tokensForLP,amountBNBLiquidity) (contracts/StandardToken.sol#232)
- _allowances[owner][spender] = amount (@openzeppelin/contracts/token/ERC20/ERC20.sol#313)
Apply the check-effects-interactions pattern.

Additional information: link

Reentrancy in StandardToken._transfer(address,address,uint256) (contracts/StandardToken.sol#160-185):
External calls:
- swapAndLiquify(contractTokenBalance) (contracts/StandardToken.sol#176)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,owner(),block.timestamp) (contracts/StandardToken.sol#261-268)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (contracts/StandardToken.sol#245-251)
External calls sending eth:
- swapAndLiquify(contractTokenBalance) (contracts/StandardToken.sol#176)
- recipient.transfer(amount) (contracts/StandardToken.sol#188)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,owner(),block.timestamp) (contracts/StandardToken.sol#261-268)
Event emitted after the call(s):
- Transfer(sender,recipient,amount) (@openzeppelin/contracts/token/ERC20/ERC20.sol#238)
- finalAmount = takeFee(sender,recipient,amount) (contracts/StandardToken.sol#179-181)
- Transfer(sender,recipient,amount) (@openzeppelin/contracts/token/ERC20/ERC20.sol#238)
- super._transfer(sender,recipient,finalAmount) (contracts/StandardToken.sol#183)
Reentrancy in StandardToken.constructor(string,string,uint256,address,address,address,address,uint256,uint256[2],uint256[2],uint256[2]) (contracts/StandardToken.sol#67-112):
External calls:
- uniswapPair = IUniswapV2Factory(_uniswapV2Router.factory()).createPair(address(this),_uniswapV2Router.WETH()) (contracts/StandardToken.sol#99-100)
Event emitted after the call(s):
- Transfer(address(0),account,amount) (@openzeppelin/contracts/token/ERC20/ERC20.sol#259)
- _mint(owner(),totalSupply_) (contracts/StandardToken.sol#111)
Reentrancy in StandardToken.swapAndLiquify(uint256) (contracts/StandardToken.sol#208-234):
External calls:
- swapTokensForEth(tokensForSwap) (contracts/StandardToken.sol#214)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (contracts/StandardToken.sol#245-251)
- addLiquidity(tokensForLP,amountBNBLiquidity) (contracts/StandardToken.sol#232)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,owner(),block.timestamp) (contracts/StandardToken.sol#261-268)
External calls sending eth:
- transferToAddressETH(marketingAddress,amountBNBMarketing) (contracts/StandardToken.sol#224)
- recipient.transfer(amount) (contracts/StandardToken.sol#188)
- transferToAddressETH(address(uniswapAddress),amountBNBUniswap) (contracts/StandardToken.sol#228)
- recipient.transfer(amount) (contracts/StandardToken.sol#188)
- addLiquidity(tokensForLP,amountBNBLiquidity) (contracts/StandardToken.sol#232)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,owner(),block.timestamp) (contracts/StandardToken.sol#261-268)
Event emitted after the call(s):
- Approval(owner,spender,amount) (@openzeppelin/contracts/token/ERC20/ERC20.sol#314)
- addLiquidity(tokensForLP,amountBNBLiquidity) (contracts/StandardToken.sol#232)
Reentrancy in StandardToken.swapTokensForEth(uint256) (contracts/StandardToken.sol#236-254):
External calls:
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (contracts/StandardToken.sol#245-251)
Event emitted after the call(s):
- SwapTokensForETH(tokenAmount,path) (contracts/StandardToken.sol#253)
Apply the check-effects-interactions pattern.

Additional information: link

Different versions of Solidity is used:
- Version used: ['>=0.5.0', '>=0.6.2', '^0.8.0', '^0.8.9']
- ^0.8.0 (@openzeppelin/contracts/access/Ownable.sol#4)
- ^0.8.0 (@openzeppelin/contracts/token/ERC20/ERC20.sol#4)
- ^0.8.0 (@openzeppelin/contracts/token/ERC20/IERC20.sol#4)
- ^0.8.0 (@openzeppelin/contracts/token/ERC20/extensions/IERC20Metadata.sol#4)
- ^0.8.0 (@openzeppelin/contracts/utils/Context.sol#4)
- >=0.5.0 (contracts/IUniswapV2/IUniswapV2Factory.sol#2)
- >=0.5.0 (contracts/IUniswapV2/IUniswapV2Pair.sol#2)
- >=0.6.2 (contracts/IUniswapV2/IUniswapV2Router01.sol#2)
- >=0.6.2 (contracts/IUniswapV2/IUniswapV2Router02.sol#2)
- ^0.8.9 (contracts/StandardToken.sol#2)
Use one Solidity version.

Additional information: link

Context._msgData() (@openzeppelin/contracts/utils/Context.sol#21-23) is never used and should be removed
ERC20._burn(address,uint256) (@openzeppelin/contracts/token/ERC20/ERC20.sol#275-290) is never used and should be removed
Remove unused functions.

Additional information: link

Pragma version^0.8.0 (@openzeppelin/contracts/access/Ownable.sol#4) allows old versions
Pragma version^0.8.0 (@openzeppelin/contracts/token/ERC20/ERC20.sol#4) allows old versions
Pragma version^0.8.0 (@openzeppelin/contracts/token/ERC20/IERC20.sol#4) allows old versions
Pragma version^0.8.0 (@openzeppelin/contracts/token/ERC20/extensions/IERC20Metadata.sol#4) allows old versions
Pragma version^0.8.0 (@openzeppelin/contracts/utils/Context.sol#4) allows old versions
Pragma version>=0.5.0 (contracts/IUniswapV2/IUniswapV2Factory.sol#2) allows old versions
Pragma version>=0.5.0 (contracts/IUniswapV2/IUniswapV2Pair.sol#2) allows old versions
Pragma version>=0.6.2 (contracts/IUniswapV2/IUniswapV2Router01.sol#2) allows old versions
Pragma version>=0.6.2 (contracts/IUniswapV2/IUniswapV2Router02.sol#2) allows old versions
Pragma version^0.8.9 (contracts/StandardToken.sol#2) necessitates a version too recent to be trusted. Consider deploying with 0.6.12/0.7.6/0.8.7
solc-0.8.9 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

Function IUniswapV2Pair.DOMAIN_SEPARATOR() (contracts/IUniswapV2/IUniswapV2Pair.sol#26) is not in mixedCase
Function IUniswapV2Pair.PERMIT_TYPEHASH() (contracts/IUniswapV2/IUniswapV2Pair.sol#28) is not in mixedCase
Function IUniswapV2Pair.MINIMUM_LIQUIDITY() (contracts/IUniswapV2/IUniswapV2Pair.sol#46) is not in mixedCase
Function IUniswapV2Router01.WETH() (contracts/IUniswapV2/IUniswapV2Router01.sol#7) is not in mixedCase
Follow the Solidity naming convention.

Additional information: link

Reentrancy in StandardToken._transfer(address,address,uint256) (contracts/StandardToken.sol#160-185):
External calls:
- swapAndLiquify(contractTokenBalance) (contracts/StandardToken.sol#176)
- recipient.transfer(amount) (contracts/StandardToken.sol#188)
External calls sending eth:
- swapAndLiquify(contractTokenBalance) (contracts/StandardToken.sol#176)
- recipient.transfer(amount) (contracts/StandardToken.sol#188)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,owner(),block.timestamp) (contracts/StandardToken.sol#261-268)
State variables written after the call(s):
- super._transfer(sender,recipient,finalAmount) (contracts/StandardToken.sol#183)
- _balances[sender] = senderBalance - amount (@openzeppelin/contracts/token/ERC20/ERC20.sol#234)
- _balances[recipient] += amount (@openzeppelin/contracts/token/ERC20/ERC20.sol#236)
- finalAmount = takeFee(sender,recipient,amount) (contracts/StandardToken.sol#179-181)
- _balances[sender] = senderBalance - amount (@openzeppelin/contracts/token/ERC20/ERC20.sol#234)
- _balances[recipient] += amount (@openzeppelin/contracts/token/ERC20/ERC20.sol#236)
Event emitted after the call(s):
- Transfer(sender,recipient,amount) (@openzeppelin/contracts/token/ERC20/ERC20.sol#238)
- finalAmount = takeFee(sender,recipient,amount) (contracts/StandardToken.sol#179-181)
- Transfer(sender,recipient,amount) (@openzeppelin/contracts/token/ERC20/ERC20.sol#238)
- super._transfer(sender,recipient,finalAmount) (contracts/StandardToken.sol#183)
Reentrancy in StandardToken.contribute(address) (contracts/StandardToken.sol#117-120):
External calls:
- contributeAddress.transfer(msg.value) (contracts/StandardToken.sol#118)
Event emitted after the call(s):
- Contribute(msg.sender,referralFrom,msg.value) (contracts/StandardToken.sol#119)
Reentrancy in StandardToken.swapAndLiquify(uint256) (contracts/StandardToken.sol#208-234):
External calls:
- transferToAddressETH(marketingAddress,amountBNBMarketing) (contracts/StandardToken.sol#224)
- recipient.transfer(amount) (contracts/StandardToken.sol#188)
- transferToAddressETH(address(uniswapAddress),amountBNBUniswap) (contracts/StandardToken.sol#228)
- recipient.transfer(amount) (contracts/StandardToken.sol#188)
External calls sending eth:
- transferToAddressETH(marketingAddress,amountBNBMarketing) (contracts/StandardToken.sol#224)
- recipient.transfer(amount) (contracts/StandardToken.sol#188)
- transferToAddressETH(address(uniswapAddress),amountBNBUniswap) (contracts/StandardToken.sol#228)
- recipient.transfer(amount) (contracts/StandardToken.sol#188)
- addLiquidity(tokensForLP,amountBNBLiquidity) (contracts/StandardToken.sol#232)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,owner(),block.timestamp) (contracts/StandardToken.sol#261-268)
State variables written after the call(s):
- addLiquidity(tokensForLP,amountBNBLiquidity) (contracts/StandardToken.sol#232)
- _allowances[owner][spender] = amount (@openzeppelin/contracts/token/ERC20/ERC20.sol#313)
Event emitted after the call(s):
- Approval(owner,spender,amount) (@openzeppelin/contracts/token/ERC20/ERC20.sol#314)
- addLiquidity(tokensForLP,amountBNBLiquidity) (contracts/StandardToken.sol#232)
Apply the check-effects-interactions pattern.

Additional information: link

Variable IUniswapV2Router01.addLiquidity(address,address,uint256,uint256,uint256,uint256,address,uint256).amountADesired (contracts/IUniswapV2/IUniswapV2Router01.sol#12) is too similar to IUniswapV2Router01.addLiquidity(address,address,uint256,uint256,uint256,uint256,address,uint256).amountBDesired (contracts/IUniswapV2/IUniswapV2Router01.sol#13)
Variable StandardToken._buyLiquidityFee (contracts/StandardToken.sol#23) is too similar to StandardToken.setBuyFees(uint256,uint256).buyLiquidityFee_ (contracts/StandardToken.sol#126)
Variable StandardToken._buyMarketingFee (contracts/StandardToken.sol#24) is too similar to StandardToken.setBuyFees(uint256,uint256).buyMarketingFee_ (contracts/StandardToken.sol#126)
Variable StandardToken._liquidityShare (contracts/StandardToken.sol#31) is too similar to StandardToken.setShares(uint256,uint256).liquidityShare_ (contracts/StandardToken.sol#142)
Variable StandardToken._marketingShare (contracts/StandardToken.sol#32) is too similar to StandardToken.setShares(uint256,uint256).marketingShare_ (contracts/StandardToken.sol#142)
Variable StandardToken._sellLiquidityFee (contracts/StandardToken.sol#27) is too similar to StandardToken.setSellFees(uint256,uint256).sellLiquidityFee_ (contracts/StandardToken.sol#132)
Variable StandardToken._sellMarketingFee (contracts/StandardToken.sol#28) is too similar to StandardToken.setSellFees(uint256,uint256).sellMarketingFee_ (contracts/StandardToken.sol#132)
Variable ERC20._totalSupply (@openzeppelin/contracts/token/ERC20/ERC20.sol#40) is too similar to StandardToken.constructor(string,string,uint256,address,address,address,address,uint256,uint256[2],uint256[2],uint256[2]).totalSupply_ (contracts/StandardToken.sol#80)
Prevent variables from having similar names.

Additional information: link

renounceOwnership() should be declared external:
- Ownable.renounceOwnership() (@openzeppelin/contracts/access/Ownable.sol#54-56)
transferOwnership(address) should be declared external:
- Ownable.transferOwnership(address) (@openzeppelin/contracts/access/Ownable.sol#62-65)
name() should be declared external:
- ERC20.name() (@openzeppelin/contracts/token/ERC20/ERC20.sol#62-64)
symbol() should be declared external:
- ERC20.symbol() (@openzeppelin/contracts/token/ERC20/ERC20.sol#70-72)
totalSupply() should be declared external:
- ERC20.totalSupply() (@openzeppelin/contracts/token/ERC20/ERC20.sol#94-96)
transfer(address,uint256) should be declared external:
- ERC20.transfer(address,uint256) (@openzeppelin/contracts/token/ERC20/ERC20.sol#113-116)
allowance(address,address) should be declared external:
- ERC20.allowance(address,address) (@openzeppelin/contracts/token/ERC20/ERC20.sol#121-123)
approve(address,uint256) should be declared external:
- ERC20.approve(address,uint256) (@openzeppelin/contracts/token/ERC20/ERC20.sol#132-135)
transferFrom(address,address,uint256) should be declared external:
- ERC20.transferFrom(address,address,uint256) (@openzeppelin/contracts/token/ERC20/ERC20.sol#150-164)
increaseAllowance(address,uint256) should be declared external:
- ERC20.increaseAllowance(address,uint256) (@openzeppelin/contracts/token/ERC20/ERC20.sol#178-181)
decreaseAllowance(address,uint256) should be declared external:
- ERC20.decreaseAllowance(address,uint256) (@openzeppelin/contracts/token/ERC20/ERC20.sol#197-205)
Use the external attribute for functions never called from the contract.

Additional information: link

Holders:


Average 30d PancakeSwap liquidity is less than $100. Token is either dead or inactive.


Average 30d PancakeSwap volume is less than $100. Token is either dead or inactive.


Average 30d number of PancakeSwap swaps is less than 1. Token is either dead or inactive.


Number of Binance Smart Chain (BSC) token holders is less than 100. Token is either dead or inactive. Ignore for presale.


Average PancakeSwap trading volume, liqudity, number of swaps are extremely low. Token seems to be dead.

Contract has 13% buy tax and 17% sell tax.
Taxes are high (over 10%) but contract ownership is renounced.


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 is marked as risky (blacklisted creator, fake name, dead project, etc.)

Additional information: link


Token has no active CoinGecko listing / rank


Token has no active CoinMarketCap listing / rank

Price for DogeKing