DreamN Token Logo

$DreamN [DreamN] Token

About $DreamN

Listings

Token 27 days
CoinGecko 8 days
CoinMarketCap 9 days

Website

white paper

DreamN application is the tool you need during these trying times to help get the best out of your rest and encouraging a healthy nights sleep. Our application is aiming to reward users who get a decent amount of rest and promote a healthy sleep schedule by giving them rewards, which is done by combining Social-Fi and Game-Fi elements. We are a team that sees an opportunity to create an application that will allow users to earn passive income while they are sleeping.

Social

Laser Scorebeta Last Audit: 23 May 2022

report
Code:

Third Party Audit: Certik audit

DreamN._swapBack() (DreamN.sol#127-154) sends eth to arbitrary user
Dangerous calls:
- (developmentSuccess) = address(developmentWallet).call{gas: transferGas,value: amountBNBDevelopment}() (DreamN.sol#146)
- (marketingSuccess) = address(marketingWallet).call{gas: transferGas,value: amountBNBMarketing}() (DreamN.sol#149)
- (rewardSuccess) = address(rewardWallet).call{gas: transferGas,value: amountBNBRewards}() (DreamN.sol#152)
Ensure that an arbitrary user cannot withdraw unauthorized funds.

Additional information: link

Reentrancy in DreamN._transfer(address,address,uint256) (DreamN.sol#83-94):
External calls:
- _swapBack() (DreamN.sol#90)
- ROUTER.swapExactTokensForETH(swapThreshold,0,path,address(this),block.timestamp) (DreamN.sol#133-139)
- (developmentSuccess) = address(developmentWallet).call{gas: transferGas,value: amountBNBDevelopment}() (DreamN.sol#146)
- (marketingSuccess) = address(marketingWallet).call{gas: transferGas,value: amountBNBMarketing}() (DreamN.sol#149)
- (rewardSuccess) = address(rewardWallet).call{gas: transferGas,value: amountBNBRewards}() (DreamN.sol#152)
External calls sending eth:
- _swapBack() (DreamN.sol#90)
- (developmentSuccess) = address(developmentWallet).call{gas: transferGas,value: amountBNBDevelopment}() (DreamN.sol#146)
- (marketingSuccess) = address(marketingWallet).call{gas: transferGas,value: amountBNBMarketing}() (DreamN.sol#149)
- (rewardSuccess) = address(rewardWallet).call{gas: transferGas,value: amountBNBRewards}() (DreamN.sol#152)
State variables written after the call(s):
- amountAfterTaxes = _takeTax(sender,recipient,amount) (DreamN.sol#91)
- _balances[sender] = senderBalance - amount (BEP20.sol#90)
- _balances[recipient] += amount (BEP20.sol#91)
- super._transfer(sender,recipient,amountAfterTaxes) (DreamN.sol#93)
- _balances[sender] = senderBalance - amount (BEP20.sol#90)
- _balances[recipient] += amount (BEP20.sol#91)
Apply the check-effects-interactions pattern.

Additional information: link

DreamN.recoverBEP20(IBEP20,address) (DreamN.sol#185-190) ignores return value by token.transfer(recipient,amount) (DreamN.sol#188)
Use SafeERC20, or ensure that the transfer/transferFrom return value is checked.

Additional information: link


Contract ownership is not renounced (belongs to a wallet)


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.

Contract ticker ($DreamN) contains non-alphanumeric characters.
Not a direct threat, but may indicate unreliable intentions of developer. Non-alphanumeric chars (,.;!#*&") are extremely rare among low risk tokens.

Function IDexRouter.WETH() (IDEX.sol#11) is not in mixedCase
Follow the Solidity naming convention.

Additional information: link

Reentrancy in DreamN._swapBack() (DreamN.sol#127-154):
External calls:
- ROUTER.swapExactTokensForETH(swapThreshold,0,path,address(this),block.timestamp) (DreamN.sol#133-139)
- (developmentSuccess) = address(developmentWallet).call{gas: transferGas,value: amountBNBDevelopment}() (DreamN.sol#146)
External calls sending eth:
- (developmentSuccess) = address(developmentWallet).call{gas: transferGas,value: amountBNBDevelopment}() (DreamN.sol#146)
Event emitted after the call(s):
- DepositDevelopment(developmentWallet,amountBNBDevelopment) (DreamN.sol#147)
Reentrancy in DreamN._swapBack() (DreamN.sol#127-154):
External calls:
- ROUTER.swapExactTokensForETH(swapThreshold,0,path,address(this),block.timestamp) (DreamN.sol#133-139)
- (developmentSuccess) = address(developmentWallet).call{gas: transferGas,value: amountBNBDevelopment}() (DreamN.sol#146)
- (marketingSuccess) = address(marketingWallet).call{gas: transferGas,value: amountBNBMarketing}() (DreamN.sol#149)
External calls sending eth:
- (developmentSuccess) = address(developmentWallet).call{gas: transferGas,value: amountBNBDevelopment}() (DreamN.sol#146)
- (marketingSuccess) = address(marketingWallet).call{gas: transferGas,value: amountBNBMarketing}() (DreamN.sol#149)
Event emitted after the call(s):
- DepositMarketing(marketingWallet,amountBNBMarketing) (DreamN.sol#150)
Reentrancy in DreamN._swapBack() (DreamN.sol#127-154):
External calls:
- ROUTER.swapExactTokensForETH(swapThreshold,0,path,address(this),block.timestamp) (DreamN.sol#133-139)
- (developmentSuccess) = address(developmentWallet).call{gas: transferGas,value: amountBNBDevelopment}() (DreamN.sol#146)
- (marketingSuccess) = address(marketingWallet).call{gas: transferGas,value: amountBNBMarketing}() (DreamN.sol#149)
- (rewardSuccess) = address(rewardWallet).call{gas: transferGas,value: amountBNBRewards}() (DreamN.sol#152)
External calls sending eth:
- (developmentSuccess) = address(developmentWallet).call{gas: transferGas,value: amountBNBDevelopment}() (DreamN.sol#146)
- (marketingSuccess) = address(marketingWallet).call{gas: transferGas,value: amountBNBMarketing}() (DreamN.sol#149)
- (rewardSuccess) = address(rewardWallet).call{gas: transferGas,value: amountBNBRewards}() (DreamN.sol#152)
Event emitted after the call(s):
- DepositRewards(rewardWallet,amountBNBRewards) (DreamN.sol#153)
Reentrancy in DreamN._transfer(address,address,uint256) (DreamN.sol#83-94):
External calls:
- _swapBack() (DreamN.sol#90)
- ROUTER.swapExactTokensForETH(swapThreshold,0,path,address(this),block.timestamp) (DreamN.sol#133-139)
- (developmentSuccess) = address(developmentWallet).call{gas: transferGas,value: amountBNBDevelopment}() (DreamN.sol#146)
- (marketingSuccess) = address(marketingWallet).call{gas: transferGas,value: amountBNBMarketing}() (DreamN.sol#149)
- (rewardSuccess) = address(rewardWallet).call{gas: transferGas,value: amountBNBRewards}() (DreamN.sol#152)
External calls sending eth:
- _swapBack() (DreamN.sol#90)
- (developmentSuccess) = address(developmentWallet).call{gas: transferGas,value: amountBNBDevelopment}() (DreamN.sol#146)
- (marketingSuccess) = address(marketingWallet).call{gas: transferGas,value: amountBNBMarketing}() (DreamN.sol#149)
- (rewardSuccess) = address(rewardWallet).call{gas: transferGas,value: amountBNBRewards}() (DreamN.sol#152)
Event emitted after the call(s):
- Transfer(sender,recipient,amount) (BEP20.sol#93)
- super._transfer(sender,recipient,amountAfterTaxes) (DreamN.sol#93)
- Transfer(sender,recipient,amount) (BEP20.sol#93)
- amountAfterTaxes = _takeTax(sender,recipient,amount) (DreamN.sol#91)
Reentrancy in DreamN.constructor(address,address,address,address) (DreamN.sol#63-79):
External calls:
- pair = IDexFactory(ROUTER.factory()).createPair(ROUTER.WETH(),address(this)) (DreamN.sol#71)
Event emitted after the call(s):
- Approval(owner,spender,amount) (BEP20.sol#101)
- _approve(address(this),address(ROUTER),type()(uint256).max) (DreamN.sol#72)
Reentrancy in DreamN.recoverBEP20(IBEP20,address) (DreamN.sol#185-190):
External calls:
- token.transfer(recipient,amount) (DreamN.sol#188)
Event emitted after the call(s):
- RecoverBEP20(address(token),amount) (DreamN.sol#189)
Reentrancy in DreamN.recoverBNB() (DreamN.sol#178-183):
External calls:
- (sent) = address(marketingWallet).call{gas: transferGas,value: amount}() (DreamN.sol#180)
Event emitted after the call(s):
- RecoverBNB(amount) (DreamN.sol#182)
Reentrancy in DreamN.triggerSwapBack() (DreamN.sol#167-170):
External calls:
- _swapBack() (DreamN.sol#168)
- ROUTER.swapExactTokensForETH(swapThreshold,0,path,address(this),block.timestamp) (DreamN.sol#133-139)
- (developmentSuccess) = address(developmentWallet).call{gas: transferGas,value: amountBNBDevelopment}() (DreamN.sol#146)
- (marketingSuccess) = address(marketingWallet).call{gas: transferGas,value: amountBNBMarketing}() (DreamN.sol#149)
- (rewardSuccess) = address(rewardWallet).call{gas: transferGas,value: amountBNBRewards}() (DreamN.sol#152)
External calls sending eth:
- _swapBack() (DreamN.sol#168)
- (developmentSuccess) = address(developmentWallet).call{gas: transferGas,value: amountBNBDevelopment}() (DreamN.sol#146)
- (marketingSuccess) = address(marketingWallet).call{gas: transferGas,value: amountBNBMarketing}() (DreamN.sol#149)
- (rewardSuccess) = address(rewardWallet).call{gas: transferGas,value: amountBNBRewards}() (DreamN.sol#152)
Event emitted after the call(s):
- TriggerSwapBack() (DreamN.sol#169)
Apply the check-effects-interactions pattern.

Additional information: link

DreamN._swapBack() (DreamN.sol#127-154) ignores return value by ROUTER.swapExactTokensForETH(swapThreshold,0,path,address(this),block.timestamp) (DreamN.sol#133-139)
Ensure that all the return values of the function calls are used.

Additional information: link

BEP20.constructor(address,address).owner (BEP20.sol#17) shadows:
- Ownable.owner() (Ownable.sol#26-28) (function)
BEP20.allowance(address,address).owner (BEP20.sol#52) shadows:
- Ownable.owner() (Ownable.sol#26-28) (function)
BEP20._approve(address,address,uint256).owner (BEP20.sol#96) shadows:
- Ownable.owner() (Ownable.sol#26-28) (function)
DreamN.constructor(address,address,address,address).owner (DreamN.sol#64) shadows:
- Ownable.owner() (Ownable.sol#26-28) (function)
Rename the local variables that shadow another component.

Additional information: link

DreamN.constructor(address,address,address,address).marketing (DreamN.sol#65) lacks a zero-check on :
- marketingWallet = marketing (DreamN.sol#76)
Check that the address is not zero.

Additional information: link

Reentrancy in DreamN.constructor(address,address,address,address) (DreamN.sol#63-79):
External calls:
- pair = IDexFactory(ROUTER.factory()).createPair(ROUTER.WETH(),address(this)) (DreamN.sol#71)
State variables written after the call(s):
- _approve(address(this),address(ROUTER),type()(uint256).max) (DreamN.sol#72)
- _allowances[owner][spender] = amount (BEP20.sol#100)
- developmentWallet = development (DreamN.sol#77)
- isMarketMaker[pair] = true (DreamN.sol#73)
- isWhitelisted[marketingWallet] = true (DreamN.sol#78)
- marketingWallet = marketing (DreamN.sol#76)
- rewardWallet = rewards (DreamN.sol#75)
Apply the check-effects-interactions pattern.

Additional information: link

Pragma version0.8.13 (BEP20.sol#3) necessitates a version too recent to be trusted. Consider deploying with 0.6.12/0.7.6/0.8.7
Pragma version0.8.13 (DreamN.sol#3) necessitates a version too recent to be trusted. Consider deploying with 0.6.12/0.7.6/0.8.7
Pragma version0.8.13 (IBEP20.sol#3) necessitates a version too recent to be trusted. Consider deploying with 0.6.12/0.7.6/0.8.7
Pragma version0.8.13 (IDEX.sol#3) necessitates a version too recent to be trusted. Consider deploying with 0.6.12/0.7.6/0.8.7
Pragma version0.8.13 (Ownable.sol#3) 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 DreamN._swapBack() (DreamN.sol#127-154):
- (developmentSuccess) = address(developmentWallet).call{gas: transferGas,value: amountBNBDevelopment}() (DreamN.sol#146)
- (marketingSuccess) = address(marketingWallet).call{gas: transferGas,value: amountBNBMarketing}() (DreamN.sol#149)
- (rewardSuccess) = address(rewardWallet).call{gas: transferGas,value: amountBNBRewards}() (DreamN.sol#152)
Low level call in DreamN.recoverBNB() (DreamN.sol#178-183):
- (sent) = address(marketingWallet).call{gas: transferGas,value: amount}() (DreamN.sol#180)
Avoid low-level calls. Check the call success. If the call is meant for a contract, check for code existence

Additional information: link

getOwner() should be declared external:
- BEP20.getOwner() (BEP20.sol#23-25)
increaseAllowance(address,uint256) should be declared external:
- BEP20.increaseAllowance(address,uint256) (BEP20.sol#71-74)
decreaseAllowance(address,uint256) should be declared external:
- BEP20.decreaseAllowance(address,uint256) (BEP20.sol#76-82)
transferOwnership(address) should be declared external:
- Ownable.transferOwnership(address) (Ownable.sol#20-24)
Use the external attribute for functions never called from the contract.

Additional information: link

Holders:

Contract has 5% buy tax and 15% sell tax.
Taxes are suspiciously high (over 10%) and contract ownership is not renounced. Token has a high risk of becoming a honeypot.


Token is deployed only at one blockchain


Token has only one trading pair


Unable to find Youtube account

Search:


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

Additional information: link


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


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


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


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


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


Token has relatively low CoinGecko rank

Anti-Scam Checks

Price for $DreamN

News for $DreamN