Project Dreams Info

projectdreams.net

Project Dreams aims to educate and bring awareness to decentralized finance by using different platoforms. Project Dreams podcast will host several DeFi project developers, experienced DeFi traders and knowledgeable DeFi individuals to share their experinces within the Defi industry. We connect the community to emerging and existing Defi projects by giving project developers a platform to share the details about their projects. Project Dreams will be launching a token and documenting the whole experience to share with listeners on their podcast. Listeners will get to have a in-depth analysis of what it is like to start their own DeFi project.

Overall Score
100.00
Poor Excellent
Project Dreams Logo

Real-Time Threat Detection

Real-time threat detection, powered by Cyvers.io, is currently not activated for this project.

This advanced feature provides continuous monitoring and instant alerts to safeguard your assets from potential security threats. Real-time detection enhances your project's security by proactively identifying and mitigating risks. For more information, click here.

TrustNet DataPulse

Smart Contract Audit

Select the audit
Static Analysis Dynamic Analysis Symbolic Execution SWC Check Manual Review
Contract address
0x7433...d91e
Network
BNB Smart Chain - Mainnet
License N/A
Compiler N/A
Type N/A
Language Solidity
Onboard date 2023/01/05
Revision date In progress

Summary and Final Words

No crucial issues found

The contract does not contain issues of high or medium criticality. This means that no known vulnerabilities were found in the source code.

Contract owner cannot mint

It is not possible to mint new tokens.

Contract owner cannot blacklist addresses.

It is not possible to lock user funds by blacklisting addresses.

Contract owner can set high fees

Contract owner is able to set fees above 25%. Very high fees can also prevent token transfer.

Token transfer can be locked

Owner can lock user funds with owner functions.

Token cannot be burned

There is no burn function within the contract.

Ownership is not renounced

Contract can be manipulated by owner functions.

Scope of Work

This audit encompasses the evaluation of the files listed below, each verified with a SHA-1 Hash. The team referenced above has provided the necessary files for assessment.

The auditing process consists of the following systematic steps:

  1. Specification Review: Analyze the provided specifications, source code, and instructions to fully understand the smart contract's size, scope, and functionality.
  2. Manual Code Examination: Conduct a thorough line-by-line review of the source code to identify potential vulnerabilities and areas for improvement.
  3. Specification Alignment: Ensure that the code accurately implements the provided specifications and intended functionalities.
  4. Test Coverage Assessment: Evaluate the extent and effectiveness of test cases in covering the codebase, identifying any gaps in testing.
  5. Symbolic Execution: Analyze the smart contract to determine how various inputs affect execution paths, identifying potential edge cases and vulnerabilities.
  6. Best Practices Evaluation: Assess the smart contracts against established industry and academic best practices to enhance efficiency, maintainability, and security.
  7. Actionable Recommendations: Provide detailed, specific, and actionable steps to secure and optimize the smart contracts.

A file with a different Hash has been intentionally or otherwise modified after the security review. A different Hash may indicate a changed condition or potential vulnerability that was not within the scope of this review.

Final Words

The following provides a concise summary of the audit report, accompanied by insightful comments from the auditor. This overview captures the key findings and observations, offering valuable context and clarity.


The owner can authorize/unauthorize multiple accounts/wallets/contract addresses to perform certain actions in the contract and these addresses can perform these actions even after the ownership is renounced.

Authorized Privileges:
  • Trigger buyback, clear buyback multiplier
  • Set auto buyback settings with any arbitrary values
  • Set buyback multiplier settings within the range
  • Set transaction limit but not to zero or less than zero
  • Exempt accounts from dividends and fees
  • Set fee receivers, distribution criteria, swap back settings, and target liquidity with arbitrary values
OnlyToken Privileges:

The token address will be set as the deployer address of the dividend contract and it can perform certain actions:

  • Distribution Criteria
  • Set Share
  • Deposit
  • Process accounts

 

Files and details

Functions
public

/

State variables
public

/

Total lines
of code

/

Capabilities
Hover on items

/

Findings and Audit result

medium Issues | 1 findings

Pending

#1 medium Issue
Fees can be 100% or more
ProjectDreams.sol
-
Description

The fees can be set up to 100% or more which may cause the transfers to revert

low Issues | 4 findings

Pending

#1 low Issue
Missing Events Arithmetic (events-maths)
ProjectDreams.sol
L287-290
L687-694
L696-701
L713-716
L736-744
L751-754
L756-759
Description

Emit an event for critical parameter changes.

Pending

#2 low Issue
Missing Zero Address Validation (missing-zero-check)
ProjectDreams.sol
L169
L746
L746
Description

Check that the address is not zero.

Pending

#3 low Issue
Floating Pragma
ProjectDreams.sol
-
Description

The current pragma Solidity directive is “^0.8.0". Contracts should be deployed with the same compiler version and flags that they have been tested thoroughly. Locking the pragma helps to ensure that contracts do not accidentally get deployed using other versions.

Pending

#4 low Issue
Contract doesn’t import npm packages from source (like OpenZeppelin etc.)
ProjectDreams.sol
-
Description

We recommend importing all packages from npm directly without flattening the contract. Functions could be modified or can be susceptible to vulnerabilities

optimization Issues | 2 findings

Pending

#1 optimization Issue
State variables that could be declared constant (constable-states)
ProjectDreams.sol
L249
L262
L407
L409
L411
L410
L417
Description

Add the `constant` attributes to state variables that never change.

Pending

#2 optimization Issue
Public function that could be declared external (external-function)
ProjectDreams.sol
L141-143
L148-150
L169-173
L707-711
Description

Use the `external` attribute for functions never called from the contract.

informational Issues | 4 findings

Pending

#1 informational Issue
Functions that are not used (dead-code)
ProjectDreams.sol
L703-705
L85-90
L74-76
L92-97
L17-23
L44-49
L51-56
L32-42
L25-30
Description

Remove unused functions.

Pending

#2 informational Issue
Function initializing state variables (function-init-state)
ProjectDreams.sol
L418
L465
Description

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.

Pending

#3 informational Issue
Unused state variables (unused-state)
ProjectDreams.sol
L407
L411
Description

Remove unused state variables.

Pending

#4 informational Issue
Unused return values (unused-return)
ProjectDreams.sol
L603-645
Description

Ensure that all the return values of the function calls are used.