Mellow Finance
Deployment Verification

A deployment verification of Mellow's Flexible Vaults on Ethereum mainnet. We checked that all 37 deployed contracts match the audited code, and that factory implementations, proxy ownership and deployment parameters were set correctly.
report id
0587
category
DeFi & Yield
language
Solidity
final report
September 3, 2025
lines of code
0
Content

Download audit report

1

Executive Summary

This document outlines the deployment verification and audit reports’ assessment by Nethermind Security for Mellow Flexible Vaults to Ethereum.

The verification reported in this document assesses compliance with the following key areas:

  • Bytecode Verification: Section 4.1 provides comprehensive verification of deployed contract bytecode against the audited commit 72f689f965e4ac1a4c2bcfb645a8b5416cf740c7, ensuring all 37 contracts match their expected implementations.
  • Factory Implementation Verification: Section 4.2 outlines the verification of factory contract implementations, confirming that correct implementation addresses were proposed and accepted for all 14 factory contracts.
  • Ownership Verification: Section 4.3 details the verification of proxy admin ownership across all factory contracts, ensuring proper administrative control is established.
  • Deployment Script Compliance: Section 4.4 provides verification that the deployed contracts were created using the correct deployment script parameters, including constructor arguments and external protocol addresses.

Verification Summary

Verification TypeTotal ContractsVerification Status
Bytecode Verification37All Passed
Implementation Verification14All Passed
Ownership Verification14All Passed
Constructor Parameter Verification37All Passed
Total findings
0
Fixed
0
Acknowledged
0
Mitigated
0
Unresolved
0

Findings by severity

  • Critical0
  • High0
  • Medium0
  • Low0
  • Informational0
  • Best Practices0

2

Audited Files

This report encompasses the verification of the following deployed contracts on Ethereum mainnet:

ContractAddress
Factory Implementation0x0000000397b71C8f3182Fd40D247330D218fdC72
Factory Factory0x0000000f9686896836C39cf721141922Ce42639f
Consensus Implementation0x0000000167598d2C78E2313fD5328E16bD9A0b13
Consensus Factory0xaEEB06CBd91A18b51a2D30b61477eAeE3a9633C3
DepositQueue Implementation0x00000006dA9f179BFE250Dd1c51cD2d3581930c8
DepositQueue Factory0xBB92A7B9695750e1234BaB18F83b73686dd09854
SignatureDepositQueue Implementation0x00000003887dfBCEbD1e4097Ad89B690de7eFbf9
FeeManager Implementation0x0000000dE74e5D51651326E0A3e1ACA94bEAF6E1
FeeManager Factory0xF7223356819Ea48f25880b6c2ab3e907CC336D45
Oracle Implementation0x0000000F0d3D1c31b72368366A4049C05E291D58
Oracle Factory0x0CdFf250C7a071fdc72340D820C5C8e29507Aaad
RedeemQueue Implementation0x0000000285805eac535DADdb9648F1E10DfdC411
RedeemQueue Factory0xfe76b5fd238553D65Ce6dd0A572C0fda629F8421
SignatureRedeemQueue Implementation0x0000000b2082667589A16c4cF18e9f923781c471
RiskManager Implementation0x0000000714cf2851baC1AE2f41871862e9D216fD
RiskManager Factory0xa51E4FA916b939Fa451520D2B7600c740d86E5A0
TokenizedShareManager Implementation0x0000000E8eb7173fA1a3ba60eCA325bcB6aaf378
ShareManager Factory0x952f39AA62E94db3Ad0d1C7D1E43C1a8519E45D8
BasicShareManager Implementation0x00000005564AAE40D88e2F08dA71CBe156767977
Subvault Implementation0x0000000E535B4E063f8372933A55470e67910a66
Subvault Factory0x75FE0d73d3C64cdC1C6449D9F977Be6857c4d011
Verifier Implementation0x000000047Fc878662006E78D5174FB4285637966
Verifier Factory0x04B30b1e98950e6A13550d84e991bE0d734C2c61
Vault Implementation0x0000000615B2771511dAa693aC07BE5622869E01
Vault Factory0x4E38F679e46B3216f0bd4B314E9C429AFfB1dEE3
BitmaskVerifier0x0000000263Fb29C3D6B0C5837883519eF05ea20A
EigenLayerVerifier Implementation0x00000003F82051A8B2F020B79e94C3DC94E89B81
EigenLayerVerifier Factory0x77A83AcBf7A6df20f1D681b4810437d74AE790F8
ERC20Verifier Implementation0x00000009207D366cBB8549837F8Ae4bf800Af2D6
ERC20Verifier Factory0x2e234F4E1b7934d5F4bEAE3fF2FDC109f5C42F1d
SymbioticVerifier Implementation0x00000000cBC6f5d4348496FfA22Cf014b9DA394B
SymbioticVerifier Factory0x41C443F10a92D597e6c9E271140BC94c10f5159F
VaultConfigurator0x000000028be48f9E62E13403480B60C4822C5aa5
BasicRedeemHook0x0000000637f1b1ccDA4Af2dB6CDDf5e5Ec45fd93
RedirectingDepositHook0x00000004d3B17e5391eb571dDb8fDF95646ca827
LidoDepositHook0x000000065d1A7bD71f52886910aaBE6555b7317c
OracleHelper0x000000005F543c38d5ea6D0bF10A50974Eb55E35

Verification Objectives

The verification process aims to confirm that:

  • All deployed contracts correspond to the actual contracts from the GitHub repository at the audited commit hash 72f689f.
  • The deployed contracts were deployed using the provided deployment script: Deploy.s.sol
  • All factory contracts have the correct implementation addresses proposed and accepted
  • All factory contracts have proper ownership assigned to the proxy admin
  • All constructor parameters match the expected values from the deployment script

Deployment Script Reference

3

Summary of Issues

This report is a deployment verification: it does not classify issues. The result of each check is in System Overview.

4

System Overview

4.1 Bytecode Verification

Description: The verification process involved comprehensive bytecode comparison between deployed contracts and the audited codebase at commit 72f689f965e4ac1a4c2bcfb645a8b5416cf740c7. This verification ensures that all 37 deployed contracts correspond exactly to the audited versions and were deployed using the correct deployment script parameters.

  • Implementation Contracts: All 23 implementation contracts were verified to match their audited bytecode, confirming that the deployed code corresponds exactly to the audited commit.
  • Factory Contracts: All 14 factory contracts were verified to have the correct implementation addresses proposed and accepted, ensuring proper proxy delegation to the audited implementations.
  • Constructor Parameters: All constructor parameters were verified to match the deployment script specifications, including external protocol addresses and deployment configuration values.
  • Deployment Script Compliance: The verification confirmed that all contracts were deployed using the provided deployment script with the correct parameters:
    • DEPLOYMENT_NAME: "Mellow"
    • DEPLOYMENT_VERSION: 1
    • External protocol addresses (Lido, EigenLayer, Symbiotic) match expected values

Verification Results

Contract TypeTotal ContractsVerification Status
Implementation Contracts23All Passed
Factory Contracts14All Passed
Total Contracts Verified37All Passed

Bytecode Verification Summary

4.2 Factory Implementation Verification

4.2.1 Implementation Proposal and Acceptance

All factory contracts were verified to have the correct implementation addresses proposed and accepted. This ensures that each factory contract delegates to the proper audited implementation when deploying new contract instances.

Factory ContractExpected ImplementationVerification Status
Factory Factory0x0000000397b71C8f3182Fd40D247330D218fdC72Passed
Consensus Factory0x0000000167598d2C78E2313fD5328E16bD9A0b13Passed
DepositQueue Factory0x00000006dA9f179BFE250Dd1c51cD2d3581930c8Passed
FeeManager Factory0x0000000dE74e5D51651326E0A3e1ACA94bEAF6E1Passed
Oracle Factory0x0000000F0d3D1c31b72368366A4049C05E291D58Passed
RedeemQueue Factory0x0000000285805eac535DADdb9648F1E10DfdC411Passed
RiskManager Factory0x0000000714cf2851baC1AE2f41871862e9D216fDPassed
ShareManager Factory0x0000000E8eb7173fA1a3ba60eCA325bcB6aaf378Passed
Subvault Factory0x0000000E535B4E063f8372933A55470e67910a66Passed
Verifier Factory0x000000047Fc878662006E78D5174FB4285637966Passed
Vault Factory0x0000000615B2771511dAa693aC07BE5622869E01Passed
EigenLayerVerifier Factory0x00000003F82051A8B2F020B79e94C3DC94E89B81Passed
ERC20Verifier Factory0x00000009207D366cBB8549837F8Ae4bf800Af2D6Passed
SymbioticVerifier Factory0x00000000cBC6f5d4348496FfA22Cf014b9DA394BPassed

Factory Implementation Verification Results

4.2.2 Implementation Storage Verification

The verification process confirmed that all factory contracts correctly store their implementation addresses in the ERC-1967 implementation slot (0x360894a13ba1a3210667c828492db98dca3e2076cc3735a920a3ca505d382bbc), ensuring proper proxy delegation to the audited implementations.

4.3 Ownership Verification

4.3.1 Proxy Admin Ownership

All factory contracts were verified to have proper ownership assigned to the proxy admin address 0x81698f87C6482bF1ce9bFcfC0F103C4A0Adf0Af0. This ensures that administrative control is properly established and the deployment script executed correctly.

Factory ContractOwner AddressVerification Status
Factory Factory0x81698f87C6482bF1ce9bFcfC0F103C4A0Adf0Af0Passed
Consensus Factory0x81698f87C6482bF1ce9bFcfC0F103C4A0Adf0Af0Passed
DepositQueue Factory0x81698f87C6482bF1ce9bFcfC0F103C4A0Adf0Af0Passed
FeeManager Factory0x81698f87C6482bF1ce9bFcfC0F103C4A0Adf0Af0Passed
Oracle Factory0x81698f87C6482bF1ce9bFcfC0F103C4A0Adf0Af0Passed
RedeemQueue Factory0x81698f87C6482bF1ce9bFcfC0F103C4A0Adf0Af0Passed
RiskManager Factory0x81698f87C6482bF1ce9bFcfC0F103C4A0Adf0Af0Passed
ShareManager Factory0x81698f87C6482bF1ce9bFcfC0F103C4A0Adf0Af0Passed
Subvault Factory0x81698f87C6482bF1ce9bFcfC0F103C4A0Adf0Af0Passed
Verifier Factory0x81698f87C6482bF1ce9bFcfC0F103C4A0Adf0Af0Passed
Vault Factory0x81698f87C6482bF1ce9bFcfC0F103C4A0Adf0Af0Passed
EigenLayerVerifier Factory0x81698f87C6482bF1ce9bFcfC0F103C4A0Adf0Af0Passed
ERC20Verifier Factory0x81698f87C6482bF1ce9bFcfC0F103C4A0Adf0Af0Passed
SymbioticVerifier Factory0x81698f87C6482bF1ce9bFcfC0F103C4A0Adf0Af0Passed

Ownership Verification Results

4.3.2 Ownership Transfer Verification

The verification confirmed that the deployment script correctly executed the ownership transfer process, ensuring that all factory contracts have their ownership properly assigned to the proxy admin address. This validates that the complete deployment script was executed successfully.

4.4 Deployment Script Compliance

4.4.1 Constructor Parameter Verification

All contracts were verified to have been deployed with the correct constructor parameters as specified in the deployment script. This includes verification of:

  • Deployment Configuration: All contracts use the correct DEPLOYMENT_NAME ("Mellow") and DEPLOYMENT_VERSION (1) parameters.
  • External Protocol Addresses: All contracts that interact with external protocols use the correct addresses:
    • WSTETH: 0x7f39C581F595B53c5cb19bD0b3f8dA6c935E2Ca0
    • WETH: 0xC02aaA39b223FE8D0A0e5C4F27eAD9083C756Cc2
    • EIGEN_LAYER_DELEGATION_MANAGER: 0x39053D51B77DC0d36036Fc1fCc8Cb819df8Ef37A
    • EIGEN_LAYER_STRATEGY_MANAGER: 0x858646372CC42E1A627fcE94aa7A7033e7CF075A
    • EIGEN_LAYER_REWARDS_COORDINATOR: 0x7750d328b314EfFa365A0402CcfD489B80B0adda
    • SYMBIOTIC_VAULT_FACTORY: 0xAEb6bdd95c502390db8f52c8909F703E9Af6a346
    • STAKER_REWARDS_FACTORY: 0xFEB871581C2ab2e1EEe6f7dDC7e6246cFa087A23
  • Factory Dependencies: All contracts that depend on factory addresses use the correct factory addresses as specified in the deployment script.
  • Hook Dependencies: All hook contracts use the correct dependency addresses as specified in the deployment script.

4.4.2 Deployment Script Execution Verification

The verification process confirmed that the deployment script was executed correctly by verifying:

  • All factory contracts have their implementation addresses properly proposed and accepted
  • All factory contracts have their ownership transferred to the proxy admin
  • All constructor parameters match the expected values from the deployment script
  • All external protocol addresses match the expected values from the deployment script

4.4.3 Deployment Script Reference

4.4.4 Verification Summary

The comprehensive verification process confirmed that all 37 deployed contracts correspond exactly to the audited codebase and were deployed using the correct deployment script with proper parameters. This ensures that the deployed contracts maintain the security guarantees established during the audit process.

Verification TypeTotal ContractsVerification Status
Bytecode Verification37All Passed
Implementation Verification14All Passed
Ownership Verification14All Passed
Constructor Parameter Verification37All Passed

Comprehensive Verification Summary

5

Risk Rating Methodology

The risk rating methodology used by Nethermind Security follows the principles established by the OWASP Foundation. The severity of each finding is determined by two factors: Likelihood and Impact.

Likelihood measures how likely the finding is to be uncovered and exploited by an attacker. This factor will be one of the following values:

  1. High: the issue is trivial to exploit and has no specific conditions that need to be met;
  2. Medium: the issue is moderately complex and may have some conditions that need to be met;
  3. Low: the issue is very complex and requires very specific conditions to be met.

When defining the likelihood of a finding, other factors are also considered. These can include but are not limited to motive, opportunity, exploit accessibility, ease of discovery, and ease of exploit.

Impact is a measure of the damage that may be caused if an attacker exploits the finding. This factor will be one of the following values:

  1. High: the issue can cause significant damage, such as loss of funds or the protocol entering an unrecoverable state;
  2. Medium: the issue can cause moderate damage, such as impacts that only affect a small group of users or only a particular part of the protocol;
  3. Low: the issue can cause little to no damage, such as bugs that are easily recoverable or cause unexpected interactions that cause minor inconveniences.

When defining the impact of a finding, other factors are also considered. These can include but are not limited to data and state integrity, loss of availability, financial loss, and reputation damage. After defining the likelihood and impact of an issue, the severity is determined according to the table below.

Impact / LikelihoodLowMediumHigh
HighMediumHighCritical
MediumLowMediumHigh
LowInfo / Best PracticesLowMedium
UndeterminedUndeterminedUndeterminedUndetermined

To address issues that do not fit a High, Medium or Low severity, Nethermind Security also uses three more finding severities: Informational, Best Practices, and Undetermined.

  1. Informational findings do not pose any risk to the application, but they carry some information that the audit team intends to pass to the client formally;
  2. Best Practice findings are used when some piece of code does not conform with smart contract development best practices;
  3. Undetermined findings are used when we cannot predict the impact or likelihood of the issue.

6

Issues

This report is a deployment verification: it does not classify issues. The result of each check is in System Overview.

7

Documentation Evaluation

Software documentation refers to the written or visual information that describes the functionality, architecture, design, and implementation of software. It provides a comprehensive overview of the software system and helps users, developers, and stakeholders understand how the software works, how to use it, and how to maintain it. Software documentation can take different forms, such as user manuals, system manuals, technical specifications, requirements documents, design documents, and code comments. Software documentation is critical in software development, enabling effective communication between developers, testers, users, and other stakeholders. It helps to ensure that everyone involved in the development process has a shared understanding of the software system and its functionality. Moreover, software documentation can improve software maintenance by providing a clear and complete understanding of the software system, making it easier for developers to maintain, modify, and update the software over time. Smart contracts can use various types of software documentation. Some of the most common types include:

  • Technical whitepaper: A technical whitepaper is a comprehensive document describing the smart contract’s design and technical details. It includes information about the purpose of the contract, its architecture, its components, and how they interact with each other;
  • User manual: A user manual is a document that provides information about how to use the smart contract. It includes step-by-step instructions on how to perform various tasks and explains the different features and functionalities of the contract;
  • Code documentation: Code documentation is a document that provides details about the code of the smart contract. It includes information about the functions, variables, and classes used in the code, as well as explanations of how they work;
  • API documentation: API documentation is a document that provides information about the API (Application Programming Interface) of the smart contract. It includes details about the methods, parameters, and responses that can be used to interact with the contract;
  • Testing documentation: Testing documentation is a document that provides information about how the smart contract was tested. It includes details about the test cases that were used, the results of the tests, and any issues that were identified during testing;
  • Audit documentation: Audit documentation includes reports, notes, and other materials related to the security audit of the smart contract. This type of documentation is critical in ensuring that the smart contract is secure and free from vulnerabilities.

These types of documentation are essential for smart contract development and maintenance. They help ensure that the contract is properly designed, implemented, and tested, and they provide a reference for developers who need to modify or maintain the contract in the future.

8

Remarks & Test Suite

No documentation or test suite remarks are included in this report.

As auditors, we recommend that any changes or updates made to the audited codebase undergo a re-audit or security review to address potential vulnerabilities or risks introduced by the modifications. By conducting a re-audit or security review of the modified codebase, you can significantly enhance the overall security of your system and reduce the likelihood of exploitation. However, we do not possess the authority or right to impose obligations or restrictions on our clients regarding codebase updates, modifications, or subsequent audits. Accordingly, the decision to seek a re-audit or security review lies solely with you.

This report is based on the scope of materials and documentation provided by you to Nethermind in order that Nethermind could conduct the security review outlined in 1. Executive Summary and 2. Audited Files. The results set out in this report may not be complete nor inclusive of all vulnerabilities. Nethermind has provided the review and this report on an as-is, where-is, and as-available basis. You agree that your access and/or use, including but not limited to any associated services, products, protocols, platforms, content, and materials, will be at your sole risk. Blockchain technology remains under development and is subject to unknown risks and flaws. The review does not extend to the compiler layer, or any other areas beyond the programming language, or other programming aspects that could present security risks. This report does not indicate the endorsement of any particular project or team, nor guarantee its security. No third party should rely on this report in any way, including for the purpose of making any decisions to buy or sell a product, service or any other asset. To the fullest extent permitted by law, Nethermind disclaims any liability in connection with this report, its content, and any related services and products and your use thereof, including, without limitation, the implied warranties of merchantability, fitness for a particular purpose, and non-infringement. Nethermind does not warrant, endorse, guarantee, or assume responsibility for any product or service advertised or offered by a third party through the product, any open source or third-party software, code, libraries, materials, or information linked to, called by, referenced by or accessible through the report, its content, and the related services and products, any hyperlinked websites, any websites or mobile applications appearing on any advertising, and Nethermind will not be a party to or in any way be responsible for monitoring any transaction between you and any third-party providers of products or services. As with the purchase or use of a product or service through any medium or in any environment, you should use your best judgment and exercise caution where appropriate. FOR AVOIDANCE OF DOUBT, THE REPORT, ITS CONTENT, ACCESS, AND/OR USAGE THEREOF, INCLUDING ANY ASSOCIATED SERVICES OR MATERIALS, SHALL NOT BE CONSIDERED OR RELIED UPON AS ANY FORM OF FINANCIAL, INVESTMENT, TAX, LEGAL, REGULATORY, OR OTHER ADVICE.