Ether.fi 백서

Ether.fi

원문

bitpro가 원문에서 글자만 모은 내용이에요. 표·그림·수식은 빠지거나 깨질 수 있어요. 전체 61쪽 중 5쪽

**Fulfillment** * Withdrawals are fulfilled by **Veda’s solver** * The solver must meet the user’s minimum output requirement * Shares are consumed and the output token is delivered atomically *** ## Fees * Vaults may charge a **platform fee** set in the **Accountant** * Fee range: **0% to 2%** * **No performance fees** are charged by any vault *** ## Smart Contracts & Architecture ### Core components The BoringVault was built from the ground up to be the most secure and flexible framework for building enterprise-grade DeFi products by Veda Labs. Here are the official [docs](https://docs.veda.tech/architecture-and-flow-of-funds) by veda ### Architecture <figure><img src="https://1029745181-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FG3Lk76lfvw9ecPIg0mK8%2Fuploads%2FbNl6TEyuqHraDbJkeRZV%2Fimage.png?alt=media&amp;token=a2d6f1f8-23e9-4bf2-8ce6-8f99fc6b63e8" alt=""><figcaption></figcaption></figure> #### **BoringVault** The central vault contract. The BoringVault contract is itself the vault's ERC20 **share token** — its address is the token address. * Holds user assets * Mints and burns vault shares * Keeps internal logic intentionally minimal * Delegates functionality to external modules This design improves both security and composability. #### **Teller** Handles all user-facing deposit actions. Responsibilities: * Accepts deposits * Enforces share lock rules * Refunds deposits when protections are triggered * Manages cross-chain token bridging #### **Hook (Optional)** Executes custom logic before share transfers. Common use cases: * Transfer restrictions * Share lockups * Compliance and whitelisting logic #### **Manager** Executes vault strategies and rebalances. * Uses **Merkle proofs** to verify allowed actions * Can only execute strategies pre-approved by Admin * Prevents unauthorized or arbitrary vault behavior #### **Accountant** Manages the vault exchange rate. Responsibilities: * Calculates share-to-asset conversion * Enforces bounds on rate changes * Can pause updates during abnormal conditions #### **BoringOnChainQueue** Handles withdrawals. * Receives vault shares from users * Works with the atomic solver to execute withdrawals * Ensures timing and minimum output constraints are respected #### **DecoderAndSanitizer** Security layer for external protocol interactions. * Decodes calldata * Sanitizes parameters * Ensures only intended operations are executed #### **Oracle** Tracks vault value and yield. Built-in safeguards include: * Maximum update frequency * Maximum deviation thresholds This ensures accurate and reliable reporting. *** ## Benefits to this Architecture * The vault itself is simple and does not execute strategies or complex logic directly, reducing the attack surface. * External modules handle deposits, accounting, strategy execution, and withdrawals, allowing upgrades or customizations without redeploying the vault. * Managers use **Merkle proofs** to ensure only authorized, predefined strategies are executed, preventing unauthorized actions. * Decoder and Sanitizer modules ensure interactions with external protocols are secure and only execute intended operations. *** ## Roles #### Admin The Admin is a multi-sig consisting of members from both the veda team and the [ether.fi](http://ether.fi) team. This role is meant to act as a neutral party that is responsible for defining the whitelisted protocols and assets and the actions and parameter the strategist can perform. The admin is also able to make changes to the modules connected to the boring vault, ie the withdrawal queue, teller accountatn etc. #### Strategist The Strategist is responsible for submitting rebalance signals to the vault. There are significant limitations to the actions that the Strategist. The strategist rebalances the vault by making manage call with a merkle proof, and the merkle root is set by admin therefore they can only rebalanced based what was whitelisted by the admin. All strategists are multisigs unless there is very limited whitelisted actions with low risk actions. #### Pauser Hypernative, and other trusted entities have the ability to pause the vaults as a safety and control mechanism. *** ## Security There are several layers of security built into the smart contracts. 1. **Constrained actions** - The vault only has the capability to interact with pre-approved protocols and assets using merkle proofs. Rebalances can only be executed using the set of protocols and add assets that are encoded in the merkle root. This places a hard constraint on what actions the vault can take and what parameters can be passed to a protocol 2. **Rebalance deviation** - On every rebalance, the vault computes the total assets before and after the rebalance and reverts the transaction if the change in value exceeds a threshold. This acts as a catch-all safety check on any vault operation. 3. **Multiple roles** - There are various roles each with the ability to only call a subset of functions on the vault. For example, the Strategist can only rebalance the vault but does not have access to other sensitive functions. 4. **Non-upgradeable core** - The token contract is very simple there should never be upgraded even if it was possible in our case it is not possible. All modules attached the boring vault is swappable if new feature need to be added or during a security concern. *** ## Audits The BoringVault is one of the most audited DeFi contracts in production. Audit firms commissioned to evaluate the BoringVault include Spearbit, Macro, Secure3 & Hexens. More details on: <https://github.com/Se7en-Seas/boring-vault/tree/main/audit> # Midas Vault Architecture How Midas-based ether.fi Liquid vaults work. A subset of ether.fi Liquid vaults are built on **Midas** infrastructure rather than Veda's BoringVault. Each vault issues a **yield-bearing token** that is backed by one or more underlying strategies. The token's value is tracked by an on-chain price feed, and minting/redemption is handled by dedicated deposit and redemption contracts. Deposited funds are deployed by an MPC wallet secured by Fordefi on behalf of the vault, with Fordefi's policy engine defining the approved protocols and interactions. For comprehensive protocol details, refer to the official [Midas documentation](https://docs.midas.app/). *** ## User Flow ### Depositing Users deposit a supported asset (e.g. USDC, USDT, or another approved token) through the **Deposit Vault**. **How it works** * The user deposits an approved asset into the Deposit Vault * The vault mints the vault's **yield-bearing token** to the user at the current on-chain price * The token represents the user's proportional claim on the underlying strategies **Slippage protection** * Users can specify a **minimum number of vault tokens** to receive * If fewer tokens would be minted, the transaction reverts Deposited assets are then deployed into the vault's underlying strategies. ### Withdrawing Withdrawals are processed through the **Redemption Vault**. **How it works** 1. The user approves the Redemption Vault to spend their vault token 2. The user submits a redemption request; the Redemption Vault takes the approved vault token from the user 3. The request is processed and settled in the output token, which may be fulfilled asynchronously at a later time depending on the vault. **Slippage protection** * Users can specify a **minimum output amount** to receive * If the request would settle for less than this amount, the redemption reverts **Timing constraints** Settlement time depends on the underlying strategies' liquidity and redemption profiles. *** ## Fees * Vaults may charge a **platform fee** * Fee range: **0% to 2%** * **No performance fees** are charged by any vault *** ## Smart Contracts & Architecture These are the contracts that make up a Midas vault. #### **Token** The vault's yield-bearing ERC20 token. Its balance/value grows as the underlying strategies accrue yield. It is minted on deposit and burned on redemption. #### **Deposit Vault** Handles user deposits. Accepts approved assets, prices them against the on-chain feed, and mints the vault token to the depositor. The underlying assets are then transferred to the Deposit MPC wallet. #### **Redemption Vault** Handles user redemptions. Accepts the vault token back from users and settles the output asset once the request is processed. #### **Oracle / DataFeed** Provides the on-chain price used to value the vault token. The DataFeed exposes the current price to the deposit and redemption flows so mints and redemptions occur at a fair, auditable rate. #### **SMA (Separately Managed Account)** Fordefi MPC wallet that deploys deposited assets into DeFi strategies on behalf of the vault. It is used by the Strategist. The SMA wallet is constrained by Fordefi's policy engine, which is where the approved protocols and interactions for the SMA wallets are defined. #### **Access Control** All contracts for a vault reference an Access Control contract to determine who is allowed to call which methods. It acts as the central roles contract for the vault. Roles are defined in the contracts, users are assigned those roles in the access control contract, and vault contracts reference it to determine if a user is eligible to call a given method. <figure><img src="https://1029745181-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FG3Lk76lfvw9ecPIg0mK8%2Fuploads%2Fgit-blob-66bafeee9a7964f06c1d46c80bb0c3a73613973f%2Fmidas_vault_structure_dark.png?alt=media" alt=""><figcaption></figcaption></figure> *** ## Benefits to this Architecture * The vault contracts stay minimal — deposits, redemptions, and pricing are handled by dedicated contracts, while strategy execution happens off the core vault in the SMA wallet. * Funds are custodied in a Fordefi MPC wallet, and the Fordefi policy engine hard-constrains which protocols and interactions the SMA wallet can perform. All actions require more than two approvers, except for trivial function calls. Furthermore, interacting with a new protocol requires three approvers drawn from both the Midas and ether.fi teams. * An on-chain price feed values the vault token, so mints and redemptions occur at a fair, auditable rate. * A central Access Control contract enforces strict role separation across all vault contracts. *** ## Roles #### Admin The Admin is an MPC wallet with a 3/5 threshold. It controls the vault's configuration and permissions, but does not control the SMA wallets. The Admin role will eventually be moved to a timelock, giving time to react to any admin transaction. #### Strategist The Strategist is responsible for submitting rebalance signals to the vault. There are significant limitations on the actions the Strategist can take. The actions allowed by the Strategist are whitelisted by 2 midas admins and 2 ether.fi admins, locking down the parameters of each function call, the address, the chain, and the threshold of approvers required to execute the call. #### Pauser Hypernative and other trusted entities have the ability to pause the vaults as a safety and control mechanism. *** ## Security There are several layers of security built into the Midas vaults. 1. **Fordefi policy engine** — the SMA wallet can only interact with pre-approved protocols and perform pre-approved actions. This places a hard constraint on what the vault can do with deposited funds. 2. **MPC custody** — deposited funds are held in a Fordefi MPC wallet rather than a single externally-owned account, removing single-key custody risk. 3. **On-chain price feed** — the Oracle / DataFeed governs mint and redemption pricing so deposits and redemptions settle at a fair, auditable rate. It is updated daily by an MPC wallet, with deviation checks enforced at the smart-contract level to prevent faulty price updates. 4. **Access control** — roles are defined in the contracts and assigned via the Access Control contract, so each role can only call the subset of methods it is authorized for. *** ## Audits Midas smart contract audits are available at: <https://docs.midas.app/resources/audits> # Live Vaults The ether.fi Liquid vaults that are open for deposits. These are the ether.fi Liquid vaults that are currently live and accepting deposits. Individual vault tokens retain their existing onchain names. * [Liquid ETH Vault](/etherfi/products/liquid/live-vaults/liquid-eth-vault) * [Liquid USD Vault](/etherfi/products/liquid/live-vaults/liquid-usd-vault) * [Liquid BTC Vault](/etherfi/products/liquid/live-vaults/liquid-btc-vault) * [Liquid Reserve Vault](/etherfi/products/liquid/live-vaults/liquid-reserve-vault) * [Liquid USD RWAs Vault](/etherfi/products/liquid/live-vaults/liquid-rwa-vault) * [Liquid EUR Vault](/etherfi/products/liquid/live-vaults/liquid-euro-vault) # Liquid ETH Vault Deposit eETH, weETH, or WETH and the vault allocates across a diversified set of ETH DeFi strategies. See the [Veda architecture overview](/etherfi/products/liquid/veda-vault) for how these contracts work together. [Open Liquid ETH on ether.fi →](https://www.ether.fi/app/cash/earn/liquid/eth-yield) > Deposit assets, TVL, APY, and active protocol allocations change over time — see the [live vault page](https://www.ether.fi/app/cash/earn/liquid/eth-yield) for current details. **Vault Type:** Veda **Base Asset:** ETH **Chains:** Ethereum mainnet, Optimism ### Contracts Addresses are the same across all deployed chains unless otherwise noted in the table. | Contract | Address | Notes | | ------------------ | -------------------------------------------- | -------------------------------------------------------------- | | BoringVault | `0xf0bb20865277aBd641a307eCe5Ee04E79073416C` | | | Accountant | `0x0d05D94a5F1E76C18fbeB7A13d17C8a314088198` | | | Manager | `0xf9f7969c357ce6dfd7973098ea0d57173592bcca` | Optimism Manager: `0x227975088C28DBBb4b421c6d96781a53578f19a8` | | Teller | `0x9AA79C84b79816ab920bBcE20f8f74557B514734` | | | Roles Authority | `0x485Bde66Bb668a51f2372E34e45B1c6226798122` | | | BoringOnChainQueue | `0x0D2dF071207E18Ca8638b4f04E98c53155eC2cE0` | | # Upgrade of Liquid ETH Vault ## Overview <a href="#overview" id="overview"></a> The ether.fi Liquid ETH vault is upgrading to Veda’s latest smart contract design, the same used for Liquid USD.\ \ **No action required for existing Liquid ETH vault depositors.** The upgrade gives the following improvements: * Ability to operate on L2s * Easier and quicker integrations with DeFi Protocols to maximize rewards * Enhanced security features To ensure a smooth experience, the upgrade will be done in two phases.\ \ **Phase 1: Starting Wednesday, June 12** The existing Liquid ETH vault will gradually transfer its DeFi positions into the new Liquid ETH vault. This will take 7-14 days. * No user action is required * Users will continue to earn yields as normal * The new vault contract address is 0xf0bb20865277aBd641a307eCe5Ee04E79073416C * Vault contract audit: <https://github.com/Se7en-Seas/boring-vault/tree/main/audit> **Phase 2: Following Phase 1** * Existing depositors in the ETH vault will not need to take any action if they wish to simply maintain their position in the vault * Old ETH vault depositors that wish to deposit more or partially withdraw from the vault will need to migrate to the new vault and will be prompted to do so at the time they take one of those actions. Full withdrawals do not require migration * All new deposits will go into the new vault **Understanding the new risk monitoring** * As part of the Liquid ETH vault migration, the infrastructure will include a new, enhanced set of risk monitoring capabilities * Previously, the existing vaults were protected using a series of risk monitoring alerts across the different protocols used in the yield strategies * Moving forward, the Liquid ETH vault will not only monitor risk signals but also include actionable triggers to exit positions programmatically based on specific risk conditions * The risk management is based on economic risk conditions evaluated block-by-block for protocols and specific positions <br> # Liquid USD Vault Earns yield from a diversified basket of market-neutral stablecoin strategies across blue-chip DeFi protocols. See the [Veda architecture overview](/etherfi/products/liquid/veda-vault) for how these contracts work together. [Open Liquid USD on ether.fi →](https://www.ether.fi/app/cash/earn/liquid/usd-yield) > Deposit assets, TVL, APY, and active protocol allocations change over time — see the [live vault page](https://www.ether.fi/app/cash/earn/liquid/usd-yield) for current details. **Vault Type:** Veda **Base Asset:** USD **Chains:** Ethereum mainnet, Optimism ### Contracts Addresses are the same across all deployed chains unless otherwise noted in the table. | Contract | Address | Notes | | ------------------ | -------------------------------------------- | ----- | | BoringVault | `0x08c6F91e2B681FaF5e17227F2a44C307b3C1364C` | | | Accountant | `0xc315D6e14DDCDC7407784e2Caf815d131Bc1D3E7` | | | Manager | `0xcFF411d5C54FE0583A984beE1eF43a4776854B9A` | | | Teller | `0x4de413a26fc24c3fc27cc983be70aa9c5c299387` | | | Roles Authority | `0xaBA6bA1E95E0926a6A6b917FE4E2f19ceaE4FF2e` | | | BoringOnChainQueue | `0x38fc1ba73b7ed289955a07d9f11a85b6e388064a` | | # Liquid BTC Vault Earns yield from a diversified set of BTC opportunities, including lending, rate arbitrage across BTC assets, and token incentives. See the [Veda architecture overview](/etherfi/products/liquid/veda-vault) for how these contracts work together. [Open Liquid BTC on ether.fi →](https://www.ether.fi/app/cash/earn/liquid/btc-yield) > Deposit assets, TVL, APY, and active protocol allocations change over time — see the [live vault page](https://www.ether.fi/app/cash/earn/liquid/btc-yield) for current details. **Vault Type:** Veda **Base Asset:** BTC **Chains:** Ethereum mainnet, Optimism ### Contracts Addresses are the same across all deployed chains unless otherwise noted in the table. | Contract | Address | Notes | | ------------------ | -------------------------------------------- | ----- | | BoringVault | `0x5f46d540b6eD704C3c8789105F30E075AA900726` | | | Accountant | `0xEa23aC6D7D11f6b181d6B98174D334478ADAe6b0` | | | Manager | `0xaFa8c08bedB2eC1bbEb64A7fFa44c604e7cca68d` | | | Teller | `0x8Ea0B382D054dbEBeB1d0aE47ee4AC433C730353` | | | Roles Authority | `0x49F954c67ff235034b69b8a59fbe309A40256c8d` | | | BoringOnChainQueue | `0x77A2fd42F8769d8063F2E75061FC200014E41Edf` | | # Liquid Reserve Vault Earns rewards on USD holdings by lending deposited stablecoins through DeFi lending markets. See the [Midas architecture overview](/etherfi/products/liquid/midas-vault) for how these contracts work together. [Open Liquid Reserve on ether.fi →](https://www.ether.fi/app/cash/earn/liquid/reserve) > Deposit assets, TVL, APY, and active protocol allocations change over time — see the [live vault page](https://www.ether.fi/app/cash/earn/liquid/reserve) for current details. **Vault Type:** Midas **Base Asset:** USD **Chains:** Optimism ### Contracts Addresses are the same across all deployed chains unless otherwise noted in the table. | Contract | Address | Notes | | -------------------- | -------------------------------------------- | ----- | | Token | `0xca5921DF65E2e1b0B98Ae91c0187BA80D4124898` | | | Oracle (CustomFeed) | `0x58dDf77A329CcbE2F4C2114C64ed9E12Ec8a1356` | | | DataFeed | `0x843EAa59836599611FA02BC065dCb128F320Af9f` | | | Deposit Vault | `0x1561eC30da97108Df46535CBd9bAD8C8d8611B3a` | | | Redemption Vault | `0xC87b51735ea5Eeee59D3e12601dC931F77F2837a` | | | SMA | `0xfC55F922013Cf5bbDA1cF6e0aB2a9B3FF3088c63` | | | Redemption Liquidity | `0x47A6D842F32EC8005a9cdfCb0CFEc8Fe12276A42` | | ### Notes * A previous deployment on Scroll has been deprecated.
프로젝트로 돌아가기