Devious Licks Gold Token Logo

dGOLD [Devious Licks Gold] Token

About dGOLD

Listings

Token 2 years
[CoinGecko] alert: The following token has a variable tax function on the smart contract - which allows contract owners to change tax rates post deployment.
Do your own research and be careful if you are trading this token.

Devious Licks is an ambitious project aiming to combine the exciting nature of thievery, gaming, and the immutability of the blockchain all mixed with an old school RPG vibe.

Our project consists of 3 main launches; 2 NFT collections and a token.

Our current focus is on NFT staking, which will come alive when our dGold token fully launches (tier 2). Holders of our first NFT collection (LICKs) will be able to stake and earn dGold with varying APR based on the rarity value of their NFTs.

Social

Laser Scorebeta Last Audit: 23 February 2022

report
Token is either risky or in presale. For presale 30+ is a fine score.

Anti-Scam

Links


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

Reentrancy in dGoldToken._swapAndLiquify(uint256) (#1172-1187):
External calls:
- _swapTokensForBNB(half) (#1179)
- router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp + 300) (#1201)
- _addLiquidity(otherHalf,newBalance) (#1183)
- router.addLiquidityETH{value: bnbAmount}(address(this),tokenAmount,0,0,owner(),block.timestamp + 300) (#1191)
External calls sending eth:
- _addLiquidity(otherHalf,newBalance) (#1183)
- router.addLiquidityETH{value: bnbAmount}(address(this),tokenAmount,0,0,owner(),block.timestamp + 300) (#1191)
Event emitted after the call(s):
- Approval(owner,spender,amount) (#944)
- _addLiquidity(otherHalf,newBalance) (#1183)
- SwapAndLiquify(half,newBalance,otherHalf) (#1186)
Apply the check-effects-interactions pattern.

Additional information: link

Ownable.getLockTimeRemain() (#493-498) uses timestamp for comparisons
Dangerous comparisons:
- require(bool,string)(_lockTime > 0,No time lock) (#494)
- require(bool,string)(_lockTime >= block.timestamp,No time Lock) (#495)
Ownable.unlock() (#506-512) uses timestamp for comparisons
Dangerous comparisons:
- require(bool,string)(block.timestamp > _lockTime,Contract is locked, Please wait the required time) (#509)
Avoid relying on block.timestamp.

Additional information: link

EnumerableSet.values(EnumerableSet.AddressSet) (#295-304) uses assembly
- INLINE ASM (#299-301)
EnumerableSet.values(EnumerableSet.UintSet) (#368-377) uses assembly
- INLINE ASM (#372-374)
Do not use evm assembly.

Additional information: link

dGoldToken.setRewardAccount(address,uint256,bool) (#1231-1255) compares to a boolean constant:
-rewardForTax[i].isExpired == false (#1235)
dGoldToken.setExpireAccountForTax(address,bool) (#1270-1280) compares to a boolean constant:
-rewardForTax[i].isExpired == true (#1273)
Remove the equality to the boolean constant.

Additional information: link

Different versions of Solidity is used:
- Version used: ['>=0.8.0<0.9.0', '^0.8.0']
- ^0.8.0 (#25)
- ^0.8.0 (#385)
- ^0.8.0 (#412)
- ^0.8.0 (#520)
- ^0.8.0 (#605)
- ^0.8.0 (#635)
- >=0.8.0<0.9.0 (#992)
Use one Solidity version.

Additional information: link

dGoldToken.constructor() (#1062-1103) uses a Boolean constant improperly:
-taxSetting[false].push(TaxDivision(address(this),60,false)) (#1077)
dGoldToken.constructor() (#1062-1103) uses a Boolean constant improperly:
-totalTax[false] = 50 + 60 + 5 + 15 + 20 (#1082)
dGoldToken.constructor() (#1062-1103) uses a Boolean constant improperly:
-taxSetting[true].push(TaxDivision(address(0),20,false)) (#1071)
dGoldToken.constructor() (#1062-1103) uses a Boolean constant improperly:
-swapThreshold[true] = 5000 * 10 ** decimals() (#1093)
dGoldToken.constructor() (#1062-1103) uses a Boolean constant improperly:
-taxSetting[false].push(TaxDivision(MARKETING_WALLET,5,false)) (#1078)
dGoldToken.constructor() (#1062-1103) uses a Boolean constant improperly:
-taxSetting[true].push(TaxDivision(address(this),20,false)) (#1068)
dGoldToken.constructor() (#1062-1103) uses a Boolean constant improperly:
-totalTax[true] = 20 + 5 + 5 + 20 (#1073)
dGoldToken.constructor() (#1062-1103) uses a Boolean constant improperly:
-swapThreshold[false] = 15000 * 10 ** decimals() (#1094)
dGoldToken.constructor() (#1062-1103) uses a Boolean constant improperly:
-taxSetting[false].push(TaxDivision(STAKING_WALLET,15,false)) (#1079)
dGoldToken.constructor() (#1062-1103) uses a Boolean constant improperly:
-taxSetting[true].push(TaxDivision(MARKETING_WALLET,5,false)) (#1069)
dGoldToken.constructor() (#1062-1103) uses a Boolean constant improperly:
-taxSetting[false].push(TaxDivision(pair,50,false)) (#1076)
dGoldToken.constructor() (#1062-1103) uses a Boolean constant improperly:
-taxSetting[false].push(TaxDivision(address(0),20,false)) (#1080)
dGoldToken.constructor() (#1062-1103) uses a Boolean constant improperly:
-taxSetting[true].push(TaxDivision(STAKING_WALLET,5,false)) (#1070)
dGoldToken.clearRewardAccounts() (#1221-1228) uses a Boolean constant improperly:
-delete taxSetting[true] (#1222)
dGoldToken.clearRewardAccounts() (#1221-1228) uses a Boolean constant improperly:
-pendingReward[true] = 0 (#1226)
dGoldToken.clearRewardAccounts() (#1221-1228) uses a Boolean constant improperly:
-delete taxSetting[false] (#1223)
dGoldToken.clearRewardAccounts() (#1221-1228) uses a Boolean constant improperly:
-pendingReward[false] = 0 (#1227)
dGoldToken.clearRewardAccounts() (#1221-1228) uses a Boolean constant improperly:
-totalTax[true] = 0 (#1224)
dGoldToken.clearRewardAccounts() (#1221-1228) uses a Boolean constant improperly:
-totalTax[false] = 0 (#1225)
Verify and simplify the condition.

Additional information: link

dGoldToken._transfer(address,address,uint256) (#1112-1170) ignores return value by dGoldTokenHolders.add(recipient) (#1169)
dGoldToken._addLiquidity(uint256,uint256) (#1189-1192) ignores return value by router.addLiquidityETH{value: bnbAmount}(address(this),tokenAmount,0,0,owner(),block.timestamp + 300) (#1191)
dGoldToken.removeHolder(address) (#1294-1296) ignores return value by dGoldTokenHolders.remove(account) (#1295)
Ensure that all the return values of the function calls are used.

Additional information: link

dGoldToken._transfer(address,address,uint256).transfer (#1114) shadows:
- ERC20.transfer(address,uint256) (#743-746) (function)
- IERC20.transfer(address,uint256) (#543) (function)
Rename the local variables that shadow another component.

Additional information: link

Reentrancy in dGoldToken._swapAndLiquify(uint256) (#1172-1187):
External calls:
- _swapTokensForBNB(half) (#1179)
- router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp + 300) (#1201)
- _addLiquidity(otherHalf,newBalance) (#1183)
- router.addLiquidityETH{value: bnbAmount}(address(this),tokenAmount,0,0,owner(),block.timestamp + 300) (#1191)
External calls sending eth:
- _addLiquidity(otherHalf,newBalance) (#1183)
- router.addLiquidityETH{value: bnbAmount}(address(this),tokenAmount,0,0,owner(),block.timestamp + 300) (#1191)
State variables written after the call(s):
- _addLiquidity(otherHalf,newBalance) (#1183)
- _allowances[owner][spender] = amount (#943)
- isSwapping = false (#1184)
Reentrancy in dGoldToken.constructor() (#1062-1103):
External calls:
- pair = IPancakeFactory(router.factory()).createPair(router.WETH(),address(this)) (#1065)
State variables written after the call(s):
- isExemptAccount[msg.sender] = true (#1090)
- isTxLimitExempt[msg.sender] = true (#1086)
- isTxLimitExempt[address(this)] = true (#1087)
- reflectExempt[address(this)] = true (#1097)
- reflectExempt[pair] = true (#1098)
- reflectExempt[owner()] = true (#1099)
- reflectExempt[MARKETING_WALLET] = true (#1100)
- reflectExempt[STAKING_WALLET] = true (#1101)
- swapThreshold[true] = 5000 * 10 ** decimals() (#1093)
- swapThreshold[false] = 15000 * 10 ** decimals() (#1094)
- taxSetting[true].push(TaxDivision(address(this),20,false)) (#1068)
- taxSetting[true].push(TaxDivision(MARKETING_WALLET,5,false)) (#1069)
- taxSetting[true].push(TaxDivision(STAKING_WALLET,5,false)) (#1070)
- taxSetting[true].push(TaxDivision(address(0),20,false)) (#1071)
- taxSetting[false].push(TaxDivision(pair,50,false)) (#1076)
- taxSetting[false].push(TaxDivision(address(this),60,false)) (#1077)
- taxSetting[false].push(TaxDivision(MARKETING_WALLET,5,false)) (#1078)
- taxSetting[false].push(TaxDivision(STAKING_WALLET,15,false)) (#1079)
- taxSetting[false].push(TaxDivision(address(0),20,false)) (#1080)
- totalTax[true] = 20 + 5 + 5 + 20 (#1073)
- totalTax[false] = 50 + 60 + 5 + 15 + 20 (#1082)
Apply the check-effects-interactions pattern.

Additional information: link

Context._msgData() (#402-404) is never used and should be removed
EnumerableSet.add(EnumerableSet.Bytes32Set,bytes32) (#179-181) is never used and should be removed
EnumerableSet.add(EnumerableSet.UintSet,uint256) (#318-320) is never used and should be removed
EnumerableSet.at(EnumerableSet.Bytes32Set,uint256) (#217-219) is never used and should be removed
EnumerableSet.at(EnumerableSet.UintSet,uint256) (#356-358) is never used and should be removed
EnumerableSet.contains(EnumerableSet.Bytes32Set,bytes32) (#196-198) is never used and should be removed
EnumerableSet.contains(EnumerableSet.UintSet,uint256) (#335-337) is never used and should be removed
EnumerableSet.length(EnumerableSet.Bytes32Set) (#203-205) is never used and should be removed
EnumerableSet.length(EnumerableSet.UintSet) (#342-344) is never used and should be removed
EnumerableSet.remove(EnumerableSet.Bytes32Set,bytes32) (#189-191) is never used and should be removed
EnumerableSet.remove(EnumerableSet.UintSet,uint256) (#328-330) is never used and should be removed
EnumerableSet.values(EnumerableSet.Bytes32Set) (#229-231) is never used and should be removed
EnumerableSet.values(EnumerableSet.UintSet) (#368-377) is never used and should be removed
Remove unused functions.

Additional information: link

dGoldToken._maxTxLimit (#1036) is set pre-construction with a non-constant function or state variable:
- tSupply / 200
dGoldToken._maxBurnAmount (#1037) is set pre-construction with a non-constant function or state variable:
- tSupply / 10
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.0 (#25) allows old versions
Pragma version^0.8.0 (#385) allows old versions
Pragma version^0.8.0 (#412) allows old versions
Pragma version^0.8.0 (#520) allows old versions
Pragma version^0.8.0 (#605) allows old versions
Pragma version^0.8.0 (#635) allows old versions
Pragma version>=0.8.0<0.9.0 (#992) is too complex
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

Function IPancakeRouter.WETH() (#998) is not in mixedCase
Contract dGoldToken (#1021-1328) is not in CapWords
Parameter dGoldToken.switchTax(bool)._v (#1306) is not in mixedCase
Function dGoldToken._enableTxLimit(bool) (#1311-1315) is not in mixedCase
Parameter dGoldToken._enableTxLimit(bool)._v (#1311) is not in mixedCase
Variable dGoldToken._maxTxLimit (#1036) is not in mixedCase
Variable dGoldToken._maxBurnAmount (#1037) is not in mixedCase
Follow the Solidity naming convention.

Additional information: link

Reentrancy in dGoldToken.withdraw() (#1317-1321):
External calls:
- address(owner()).transfer(address(this).balance) (#1318)
State variables written after the call(s):
- _burn(address(this),balanceOf(address(this))) (#1320)
- _balances[account] = accountBalance - amount (#913)
- _burn(address(this),balanceOf(address(this))) (#1320)
- _totalSupply -= amount (#915)
Event emitted after the call(s):
- Transfer(account,address(0),amount) (#917)
- _burn(address(this),balanceOf(address(this))) (#1320)
Apply the check-effects-interactions pattern.

Additional information: link

dGoldToken.feeDenominator (#1034) should be constant
dGoldToken.maxBuyTax (#1039) should be constant
dGoldToken.maxSellTax (#1040) should be constant
Add the constant attributes to state variables that never change.

Additional information: link

renounceOwnership() should be declared external:
- Ownable.renounceOwnership() (#468-471)
transferOwnership(address) should be declared external:
- Ownable.transferOwnership(address) (#477-480)
getLockTimeRemain() should be declared external:
- Ownable.getLockTimeRemain() (#493-498)
lock(uint256) should be declared external:
- Ownable.lock(uint256) (#500-505)
unlock() should be declared external:
- Ownable.unlock() (#506-512)
name() should be declared external:
- ERC20.name() (#692-694)
symbol() should be declared external:
- ERC20.symbol() (#700-702)
transfer(address,uint256) should be declared external:
- ERC20.transfer(address,uint256) (#743-746)
allowance(address,address) should be declared external:
- ERC20.allowance(address,address) (#751-753)
approve(address,uint256) should be declared external:
- ERC20.approve(address,uint256) (#762-765)
transferFrom(address,address,uint256) should be declared external:
- ERC20.transferFrom(address,address,uint256) (#780-794)
increaseAllowance(address,uint256) should be declared external:
- ERC20.increaseAllowance(address,uint256) (#808-811)
decreaseAllowance(address,uint256) should be declared external:
- ERC20.decreaseAllowance(address,uint256) (#827-835)
Use the external attribute for functions never called from the contract.

Additional information: link

Holders:


Token seems to be untradeable: there is no PancakeSwap trading pair and no trading volumes. Ignore for presale.


Number of Binance Smart Chain (BSC) token holders is low.


Unable to find Blog account (Reddit or Medium)


Unable to find Youtube account


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 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 Telegram link on the website


Unable to find token on CoinMarketCap

Additional information: link


Unable to find token on CoinHunt

Additional information: link


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


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


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

Price for dGOLD

News for dGOLD