Degem Token Logo

DGM [Degem] Token

About DGM

Listings

Token 2 years
CoinGecko 2 years
CoinMarketCap 2 years

Website

[CoinMarketCap] alert: Degem migrated from V1 to V2. For more information, visit here
[CoinGecko] alert: Please take note of old contract 0x7301d90c8b778e37124c9ae0cf1cd1e6f7b58a06. For more info on token migration, visit https://migration.degem.tech/
white paper

Degem is a decentralized products and services platform that empowers the investor, simplifies the trading experience, and gives YOU the edge needed to be successful

Degem empowers the investor by bringing simplicity to the trading experience, the knowledge to make more informed decisions, and increased profit potential. Our trading tools give YOU the edge.

Laser Scorebeta Last Audit: 19 May 2022

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

DegemV2.LiquidityRelease() (#331-343) ignores return value by liquidityToken.transfer(msg.sender,amount) (#341)
DegemV2.withdrawToken(address,uint256) (#413-416) ignores return value by tokenContract.transfer(msg.sender,_amount) (#415)
Use SafeERC20, or ensure that the transfer/transferFrom return value is checked.

Additional information: link

DegemV2._swapContractToken(bool) (#232-256) sends eth to arbitrary user
Dangerous calls:
- (sent) = paymentSplitter.call{value: address(this).balance}() (#254)
Ensure that an arbitrary user cannot withdraw unauthorized funds.

Additional information: link

Reentrancy in DegemV2._taxedTransfer(address,address,uint256) (#154-183):
External calls:
- _swapContractToken(false) (#174)
- _pancakeRouter.addLiquidityETH{value: bnbamount}(address(this),tokenamount,0,0,address(this),block.timestamp) (#274-281)
- _pancakeRouter.swapExactTokensForETHSupportingFeeOnTransferTokens(amount,0,path,address(this),block.timestamp) (#263-270)
- (sent) = paymentSplitter.call{value: address(this).balance}() (#254)
External calls sending eth:
- _swapContractToken(false) (#174)
- _pancakeRouter.addLiquidityETH{value: bnbamount}(address(this),tokenamount,0,0,address(this),block.timestamp) (#274-281)
- (sent) = paymentSplitter.call{value: address(this).balance}() (#254)
State variables written after the call(s):
- _balances[sender] -= amount (#178)
- _balances[address(this)] += contractToken (#179)
- _balances[recipient] += taxedAmount (#180)
Apply the check-effects-interactions pattern.

Additional information: link


Too many vulnerabilities (Unchecked transfer, Reentrancy vulnerability, etc.). High risk of a scam. DYOR & manual audit are advised.


Contract ownership is not renounced (belongs to a wallet)

DegemV2._swapContractToken(bool).sent (#254) is written in both
(sent) = paymentSplitter.call{value: address(this).balance}() (#254)
sent = true (#255)
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.


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.

Low level call in DegemV2._swapContractToken(bool) (#232-256):
- (sent) = paymentSplitter.call{value: address(this).balance}() (#254)
Avoid low-level calls. Check the call success. If the call is meant for a contract, check for code existence

Additional information: link

DegemV2._circulatingSupply (#85) should be constant
Add the constant attributes to state variables that never change.

Additional information: link

DegemV2._swapContractToken(bool) (#232-256) performs a multiplication on the result of a division:
-tokenToSwap = _balances[_pancakePairAddress] * swapTreshold / 1000 (#235)
-tokenForLiquidity = (tokenToSwap * liquidityTax) / totalTax (#241)
DegemV2._swapContractToken(bool) (#232-256) performs a multiplication on the result of a division:
-LiqHalf = tokenForLiquidity / 2 (#245)
-liqBNB = (newBNB * LiqHalf) / swapToken (#251)
Consider ordering multiplication before division.

Additional information: link

DegemV2.protector_function(address[],bool).i (#131) is a local variable never initialized
DegemV2.manage_blacklist(address[],bool).i (#126) 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

DegemV2._addLiquidity(uint256,uint256) (#272-282) ignores return value by _pancakeRouter.addLiquidityETH{value: bnbamount}(address(this),tokenamount,0,0,address(this),block.timestamp) (#274-281)
Ensure that all the return values of the function calls are used.

Additional information: link

DegemV2.setProtector(address) (#135-137) should emit an event for:
- protector = _protector (#136)
Emit an event for critical parameter changes.

Additional information: link

DegemV2.setProtector(address)._protector (#135) lacks a zero-check on :
- protector = _protector (#136)
DegemV2.ChangePaymentSplitter(address).newWallet (#138) lacks a zero-check on :
- paymentSplitter = newWallet (#139)
Check that the address is not zero.

Additional information: link

DegemV2._transfer(address,address,uint256) (#141-153) uses timestamp for comparisons
Dangerous comparisons:
- require(bool,string)(LaunchTimestamp > 0,trading not yet enabled) (#150)
DegemV2._taxedTransfer(address,address,uint256) (#154-183) uses timestamp for comparisons
Dangerous comparisons:
- require(bool,string)(senderBalance >= amount,Transfer exceeds balance) (#156)
- block.timestamp < LaunchTimestamp + SellTaxDuration (#162)
- block.timestamp < LaunchTimestamp + BuyTaxDuration (#168)
DegemV2._feelessTransfer(address,address,uint256) (#191-197) uses timestamp for comparisons
Dangerous comparisons:
- require(bool,string)(senderBalance >= amount,Transfer exceeds balance) (#193)
DegemV2.isOverLiquified() (#229-231) uses timestamp for comparisons
Dangerous comparisons:
- _balances[_pancakePairAddress] > _circulatingSupply * overLiquifyTreshold / 1000 (#230)
DegemV2.getLiquidityReleaseTimeInSeconds() (#283-287) uses timestamp for comparisons
Dangerous comparisons:
- block.timestamp < _liquidityUnlockTime (#284)
DegemV2.SetupEnableTrading() (#311-315) uses timestamp for comparisons
Dangerous comparisons:
- require(bool,string)(LaunchTimestamp == 0,AlreadyLaunched) (#312)
DegemV2._prolongLiquidityLock(uint256) (#325-329) uses timestamp for comparisons
Dangerous comparisons:
- require(bool)(newUnlockTime > _liquidityUnlockTime) (#326)
DegemV2.LiquidityRelease() (#331-343) uses timestamp for comparisons
Dangerous comparisons:
- require(bool,string)(block.timestamp >= _liquidityUnlockTime,Not yet unlocked) (#332)
Avoid relying on block.timestamp.

Additional information: link

Pragma version0.8.10 (#3) necessitates a version too recent to be trusted. Consider deploying with 0.6.12/0.7.6/0.8.7
solc-0.8.10 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

DegemV2.allowance(address,address)._owner (#376) shadows:
- Ownable._owner (#46) (state variable)
DegemV2._approve(address,address,uint256).owner (#384) shadows:
- Ownable.owner() (#53-55) (function)
Rename the local variables that shadow another component.

Additional information: link

DegemV2.setSwapTreshold(uint256) (#206-209) should emit an event for:
- swapTreshold = newSwapTresholdPermille (#208)
DegemV2.SetOverLiquifiedTreshold(uint256) (#211-214) should emit an event for:
- overLiquifyTreshold = newOverLiquifyTresholdPermille (#213)
Emit an event for critical parameter changes.

Additional information: link

Reentrancy in DegemV2._swapContractToken(bool) (#232-256):
External calls:
- _swapTokenForBNB(swapToken) (#248)
- _pancakeRouter.swapExactTokensForETHSupportingFeeOnTransferTokens(amount,0,path,address(this),block.timestamp) (#263-270)
- _addLiquidity(LiqHalf,liqBNB) (#252)
- _pancakeRouter.addLiquidityETH{value: bnbamount}(address(this),tokenamount,0,0,address(this),block.timestamp) (#274-281)
External calls sending eth:
- _addLiquidity(LiqHalf,liqBNB) (#252)
- _pancakeRouter.addLiquidityETH{value: bnbamount}(address(this),tokenamount,0,0,address(this),block.timestamp) (#274-281)
State variables written after the call(s):
- _addLiquidity(LiqHalf,liqBNB) (#252)
- _allowances[owner][spender] = amount (#388)
Reentrancy in DegemV2.constructor() (#108-120):
External calls:
- _pancakePairAddress = IPancakeFactory(_pancakeRouter.factory()).createPair(address(this),_pancakeRouter.WETH()) (#113)
State variables written after the call(s):
- excludedFromFees[msg.sender] = true (#117)
- excludedFromFees[PancakeRouter] = true (#118)
- excludedFromFees[address(this)] = true (#119)
- isPair[_pancakePairAddress] = true (#114)
- paymentSplitter = 0x36c5681F7174078E970F89f1FEd512EE4Fa222df (#116)
Reentrancy in DegemV2.transferFrom(address,address,uint256) (#392-400):
External calls:
- _transfer(sender,recipient,amount) (#393)
- _pancakeRouter.addLiquidityETH{value: bnbamount}(address(this),tokenamount,0,0,address(this),block.timestamp) (#274-281)
- _pancakeRouter.swapExactTokensForETHSupportingFeeOnTransferTokens(amount,0,path,address(this),block.timestamp) (#263-270)
- (sent) = paymentSplitter.call{value: address(this).balance}() (#254)
External calls sending eth:
- _transfer(sender,recipient,amount) (#393)
- _pancakeRouter.addLiquidityETH{value: bnbamount}(address(this),tokenamount,0,0,address(this),block.timestamp) (#274-281)
- (sent) = paymentSplitter.call{value: address(this).balance}() (#254)
State variables written after the call(s):
- _approve(sender,msg.sender,currentAllowance - amount) (#398)
- _allowances[owner][spender] = amount (#388)
Apply the check-effects-interactions pattern.

Additional information: link

Reentrancy in DegemV2.LiquidityRelease() (#331-343):
External calls:
- liquidityToken.transfer(msg.sender,amount) (#341)
Event emitted after the call(s):
- OnReleaseLP() (#342)
Reentrancy in DegemV2._swapContractToken(bool) (#232-256):
External calls:
- _swapTokenForBNB(swapToken) (#248)
- _pancakeRouter.swapExactTokensForETHSupportingFeeOnTransferTokens(amount,0,path,address(this),block.timestamp) (#263-270)
- _addLiquidity(LiqHalf,liqBNB) (#252)
- _pancakeRouter.addLiquidityETH{value: bnbamount}(address(this),tokenamount,0,0,address(this),block.timestamp) (#274-281)
External calls sending eth:
- _addLiquidity(LiqHalf,liqBNB) (#252)
- _pancakeRouter.addLiquidityETH{value: bnbamount}(address(this),tokenamount,0,0,address(this),block.timestamp) (#274-281)
Event emitted after the call(s):
- Approval(owner,spender,amount) (#389)
- _addLiquidity(LiqHalf,liqBNB) (#252)
Reentrancy in DegemV2._taxedTransfer(address,address,uint256) (#154-183):
External calls:
- _swapContractToken(false) (#174)
- _pancakeRouter.addLiquidityETH{value: bnbamount}(address(this),tokenamount,0,0,address(this),block.timestamp) (#274-281)
- _pancakeRouter.swapExactTokensForETHSupportingFeeOnTransferTokens(amount,0,path,address(this),block.timestamp) (#263-270)
- (sent) = paymentSplitter.call{value: address(this).balance}() (#254)
External calls sending eth:
- _swapContractToken(false) (#174)
- _pancakeRouter.addLiquidityETH{value: bnbamount}(address(this),tokenamount,0,0,address(this),block.timestamp) (#274-281)
- (sent) = paymentSplitter.call{value: address(this).balance}() (#254)
Event emitted after the call(s):
- Transfer(sender,recipient,taxedAmount) (#182)
Reentrancy in DegemV2.transferFrom(address,address,uint256) (#392-400):
External calls:
- _transfer(sender,recipient,amount) (#393)
- _pancakeRouter.addLiquidityETH{value: bnbamount}(address(this),tokenamount,0,0,address(this),block.timestamp) (#274-281)
- _pancakeRouter.swapExactTokensForETHSupportingFeeOnTransferTokens(amount,0,path,address(this),block.timestamp) (#263-270)
- (sent) = paymentSplitter.call{value: address(this).balance}() (#254)
External calls sending eth:
- _transfer(sender,recipient,amount) (#393)
- _pancakeRouter.addLiquidityETH{value: bnbamount}(address(this),tokenamount,0,0,address(this),block.timestamp) (#274-281)
- (sent) = paymentSplitter.call{value: address(this).balance}() (#254)
Event emitted after the call(s):
- Approval(owner,spender,amount) (#389)
- _approve(sender,msg.sender,currentAllowance - amount) (#398)
Apply the check-effects-interactions pattern.

Additional information: link

Function IPancakeRouter.WETH() (#41) is not in mixedCase
Function DegemV2.enable_blacklist(bool) (#122-124) is not in mixedCase
Parameter DegemV2.enable_blacklist(bool)._status (#122) is not in mixedCase
Function DegemV2.manage_blacklist(address[],bool) (#125-129) is not in mixedCase
Function DegemV2.protector_function(address[],bool) (#130-134) is not in mixedCase
Parameter DegemV2.setProtector(address)._protector (#135) is not in mixedCase
Function DegemV2.ChangePaymentSplitter(address) (#138-140) is not in mixedCase
Function DegemV2.SetOverLiquifiedTreshold(uint256) (#211-214) is not in mixedCase
Function DegemV2.SetTaxes(uint256,uint256,uint256,uint256,uint256) (#216-227) is not in mixedCase
Function DegemV2.SetPair(address,bool) (#291-294) is not in mixedCase
Parameter DegemV2.SetPair(address,bool).Pair (#291) is not in mixedCase
Parameter DegemV2.SetPair(address,bool).Add (#291) is not in mixedCase
Function DegemV2.SwitchManualSwap(bool) (#297-299) is not in mixedCase
Function DegemV2.SwapContractToken() (#300-302) is not in mixedCase
Function DegemV2.ExcludeAccountFromFees(address,bool) (#304-308) is not in mixedCase
Function DegemV2.SetupEnableTrading() (#311-315) is not in mixedCase
Function DegemV2.LockLiquidityForSeconds(uint256) (#321-323) is not in mixedCase
Function DegemV2.LiquidityRelease() (#331-343) is not in mixedCase
Parameter DegemV2.allowance(address,address)._owner (#376) is not in mixedCase
Parameter DegemV2.withdrawToken(address,uint256)._tokenContract (#413) is not in mixedCase
Parameter DegemV2.withdrawToken(address,uint256)._amount (#413) is not in mixedCase
Constant DegemV2._name (#77) is not in UPPER_CASE_WITH_UNDERSCORES
Constant DegemV2._symbol (#78) is not in UPPER_CASE_WITH_UNDERSCORES
Constant DegemV2._decimals (#79) is not in UPPER_CASE_WITH_UNDERSCORES
Constant DegemV2.InitialSupply (#80) is not in UPPER_CASE_WITH_UNDERSCORES
Constant DegemV2.DefaultLiquidityLockTime (#82) is not in UPPER_CASE_WITH_UNDERSCORES
Constant DegemV2.PancakeRouter (#83) is not in UPPER_CASE_WITH_UNDERSCORES
Variable DegemV2._circulatingSupply (#85) is not in mixedCase
Variable DegemV2.LaunchTimestamp (#310) is not in mixedCase
Variable DegemV2._liquidityUnlockTime (#316) is not in mixedCase
Variable DegemV2.LPReleaseLimitedTo20Percent (#317) is not in mixedCase
Follow the Solidity naming convention.

Additional information: link

renounceOwnership() should be declared external:
- Ownable.renounceOwnership() (#60-63)
transferOwnership(address) should be declared external:
- Ownable.transferOwnership(address) (#64-68)
enable_blacklist(bool) should be declared external:
- DegemV2.enable_blacklist(bool) (#122-124)
manage_blacklist(address[],bool) should be declared external:
- DegemV2.manage_blacklist(address[],bool) (#125-129)
protector_function(address[],bool) should be declared external:
- DegemV2.protector_function(address[],bool) (#130-134)
ChangePaymentSplitter(address) should be declared external:
- DegemV2.ChangePaymentSplitter(address) (#138-140)
setSwapTreshold(uint256) should be declared external:
- DegemV2.setSwapTreshold(uint256) (#206-209)
SetOverLiquifiedTreshold(uint256) should be declared external:
- DegemV2.SetOverLiquifiedTreshold(uint256) (#211-214)
SetTaxes(uint256,uint256,uint256,uint256,uint256) should be declared external:
- DegemV2.SetTaxes(uint256,uint256,uint256,uint256,uint256) (#216-227)
getLiquidityReleaseTimeInSeconds() should be declared external:
- DegemV2.getLiquidityReleaseTimeInSeconds() (#283-287)
getBurnedTokens() should be declared external:
- DegemV2.getBurnedTokens() (#288-290)
SetPair(address,bool) should be declared external:
- DegemV2.SetPair(address,bool) (#291-294)
SwitchManualSwap(bool) should be declared external:
- DegemV2.SwitchManualSwap(bool) (#297-299)
SwapContractToken() should be declared external:
- DegemV2.SwapContractToken() (#300-302)
ExcludeAccountFromFees(address,bool) should be declared external:
- DegemV2.ExcludeAccountFromFees(address,bool) (#304-308)
SetupEnableTrading() should be declared external:
- DegemV2.SetupEnableTrading() (#311-315)
limitLiquidityReleaseTo20Percent() should be declared external:
- DegemV2.limitLiquidityReleaseTo20Percent() (#318-320)
LockLiquidityForSeconds(uint256) should be declared external:
- DegemV2.LockLiquidityForSeconds(uint256) (#321-323)
LiquidityRelease() should be declared external:
- DegemV2.LiquidityRelease() (#331-343)
Use the external attribute for functions never called from the contract.

Additional information: link

Holders:


Token is deployed only at one blockchain

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


Average 30d PancakeSwap volume is low.


Average 30d number of PancakeSwap swaps is low.


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

No disclosed threats


BscScan page for the token does not contain additional info: website, socials, description, etc.

Additional information: link


Unable to find Twitter link on the website


Unable to find token on CoinHunt

Additional information: link


Unable to verify token contract address on the website


Young tokens have high risks of price dump / death


Young tokens have high risks of price dump / death


Young tokens have high risks of price dump / death


Token has relatively low CoinGecko rank


Token has relatively low CoinMarketCap rank

Price for DGM

News for DGM