TrustNet Score
The TrustNet Score evaluates crypto projects based on audit results, security, KYC verification, and social media presence. This score offers a quick, transparent view of a project's credibility, helping users make informed decisions in the Web3 space.
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.
Security Assessments
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 cannot set high fees
The fees, if applicable, can be a maximum of 25% or lower. The contract can therefore not be locked. Please take a look in the comment section for more details.
Contract cannot be locked
Owner cannot lock any user funds.
Token cannot be burned
There is no burning within the contract without any allowances
Ownership is not renounced
The owner retains significant control, which could potentially be used to modify key contract parameters.
Contract is not upgradeable
The contract does not use proxy patterns or other mechanisms to allow future upgrades. Its behavior is locked in its current state.
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:
- Specification Review: Analyze the provided specifications, source code, and instructions to fully understand the smart contract's size, scope, and functionality.
- Manual Code Examination: Conduct a thorough line-by-line review of the source code to identify potential vulnerabilities and areas for improvement.
- Specification Alignment: Ensure that the code accurately implements the provided specifications and intended functionalities.
- Test Coverage Assessment: Evaluate the extent and effectiveness of test cases in covering the codebase, identifying any gaps in testing.
- Symbolic Execution: Analyze the smart contract to determine how various inputs affect execution paths, identifying potential edge cases and vulnerabilities.
- Best Practices Evaluation: Assess the smart contracts against established industry and academic best practices to enhance efficiency, maintainability, and security.
- 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.
Smart Contract Analysis Statement
Contract Analysis
The WMNR contract implements an ERC20 token with a wrapped-native design that mirrors the well-established wrapped-ether pattern. It is a one-to-one, no-fee, non-upgradeable wrapper of the chain's native coin, needed because the staking contract accepts standard tokens only. A deposit mints exactly the native value received, a withdrawal burns the caller's balance and returns the same amount of native coin, and a plain native transfer is wrapped automatically by the receive function.
Ownership Privileges
The ownership of the contract has been fully removed: there is no owner, no admin roles and no upgrade path. No account retains any privileges, and the following guarantees are therefore immutable:
- No account can mint tokens except through a deposit backed one-to-one by native coin.
- No account can pause, freeze or block deposits, withdrawals or transfers.
- No account can upgrade or replace the wrapper logic.
- No account can withdraw the native backing except by burning the corresponding wrapped balance.
- The backing invariant that the native balance is always at least the token supply holds at all times.
- Wrapped tokens are always redeemable one-to-one for native coin.
- Tokens cannot be sent to the wrapper itself, so a mis-sent transfer cannot strand a balance.
- There are no fee, blacklist or rebase mechanisms.
Security Features
The contract implements several positive security features:
- Checks-effects-interactions ordering in the withdrawal, burning before the native send, which makes it reentrancy-safe without an explicit guard.
- A transfer-hook override that rejects transfers whose recipient is the wrapper itself, closing the classic fat-finger loss.
- A named error on a failed native send rather than a silent failure.
- Immutable, admin-free design built on the audited OpenZeppelin ERC20 implementation.
Note - This Audit report consists of a security analysis of the WMNR smart contract. This analysis did not include economic analysis of the contract's tokenomics. Moreover, we only audited the main contract for the WMNR team. Other contracts associated with the project were not audited by our team. We recommend investors do their own research before investing.
Files and details
Findings and Audit result
optimization Issues | 1 findings
Pending
#1 optimization Issue
Withdraw can be marked external
The withdraw function is declared public but is never called internally, so it can be external.
informational Issues | 1 findings
Pending
#1 informational Issue
Operational note - never set the wrapper as a bridge or retryable refund address
Any native balance credited to the wrapper without running the deposit path cannot be withdrawn. This is an inherent property of native-wrapper contracts and is already documented in the contract, recorded here so the deployment team enforces it operationally.