Ethena 백서

Ethena

원문

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

e member accepts the nomination, the members of the Committee upon which a seat is being filled will conduct a confirmation vote after satisfying themselves regarding the suitability of the nominated candidate. A nominee advancing past the foregoing stages will then be subject to KYC/KYB screening by the Ethena Foundation, and if it passes those checks, will be included in the broader governance vote for the open Committee seats. The nominees that garner the most votes will be named to the relevant Committee and execute a Governance Committee Service Agreement with the Ethena Foundation, which outlines the rights, obligations, compensation, and other terms associated with serving on the relevant Committee. A template of the Governance Committee Service Agreement will be published for public reference. Committees will hold regular meetings as determined by the members, with support from the Ethena Foundation.<br> ### Committee Decisionmaking Procedure A member of a Committee wishing to make a specific change is required to propose the particular changes or decisions in the governance forums located at gov.ethenafoundation.com Following posting, a seven-day deliberation period begins, during which the members of the relevant Committee discuss the merits of the proposal. At the end of the deliberation period, a vote will be held amongst members of the Committee or their designated sub-committees. If the proposal successfully passes, the Committee will instruct the relevant parties to implement the decision, subject to oversight by the Foundation. If the proposal is defeated, unless no Committee member other than the member who made the initial proposal votes in favor, Committee members who vote against the proposal are encouraged to provide a detailed response as to its rationale, and, if relevant, proposed amendments to the proposal it would suggest, to support the possibility of reaching consensus.&#x20; Committee members are required to recuse themselves from the decision-making process with respect to proposals in which they have a direct financial interest - namely, where a product or service offered by the member is implicated by a proposal whereby the member stands to gain financially.&#x20; ### Ethena Labs Research Ethena Labs Research sits on the committee as a nonvoting member (though it may make proposals) and will receive no compensation.<br> # Reserve Fund Additional margin of safety The Reserve Fund is a pool of assets held by the protocol as an additional margin of safety for USDe. The Reserve Fund was funded with a portion of the revenue generated by the protocol during periods of high revenue, and retains a balance that continues to support the backing of USDe. The amount of protocol revenue directed to the Reserve Fund on an ongoing basis is subject to governance. The percentage of revenue allocated to the Reserve Fund is currently 0%, with 100% being directed to incentive rewards, promotional distributions, and distribution incentives. The Reserve Fund serves as a buffer in conditions where protocol revenue would otherwise be negative. If, across the diversified backing assets, the cost of maintaining positions exceeds the revenue earned from funding, lending, real-world assets, and liquid stablecoin rewards, the Reserve Fund is designed to bear that cost. This is designed so that periods of negative revenue are absorbed by the Reserve Fund rather than impairing the core reserves. The Reserve Fund can also be deployed to address shortfalls in backing arising from the risks described in the [Risks](/protocol-overview/risks) section, helping the protocol maintain full backing through stressed conditions. The current size of the Reserve Fund can be viewed on the [Transparency dashboard](https://app.ethena.fi/dashboards/transparency).<br> # Overview A focus on security & control {% hint style="info" %} "Backing Custody" refers to where protocol backing assets are held. {% endhint %} To access centralized exchange liquidity, Ethena must provide backing assets to support the delta hedging derivative positions that act as the peg stability mechanism. Ethena holds all backing assets with "Off-Exchange Settlement" solutions. These providers both custody deposited assets as well as enable Ethena to delegate/undelegate assets to/from centralized exchanges without ever transferring the assets to the exchanges. "Off-Exchange Settlement" providers enable Ethena to settle the outstanding PnL of Ethena's derivatives positions frequently. This enables Ethena to mitigate potential impact in the event of an exchange failure between settlement cycles. Most importantly, Ethena depositing backing assets assets with an "Off-Exchange Settlement" provider does not transfer beneficial title over the assets to the provider or exchange partners. In the event of an agreed exchange failure, Ethena should be able to delegate funds to another exchange to support hedging requirements. "Off-Exchange Settlement" providers such as [Copper](https://copper.co/products/clearloop), [Ceffu](https://www.ceffu.com/), and [Fireblocks ](https://www.fireblocks.com/)have long been used by institutional participants in the space to ameliorate this exact risk. ### Transparency Ethena strongly believes in users' ability to independently verify the existence and control of the protocol backing as well as the hedging derivatives positions. * All "Off-Exchange Settlement" providers may enable the provision of onchain wallet addresses so users can validate the existence of the protocol backing assets; however, as some backing assets are held in omnibus accounts with other assets, this might not be feasible. * Periodic attestations (at least monthly) by custodial partners of backing asset value held within institutional custodial solutions will be published to provide transparency where addresses are not able to be provided. * Ethena is actively exploring tools to help publicly prove & enable users to independently verify the existence of hedging derivatives positions. ### Approach to Decentralization There are a variety of trade-offs to consider when evaluating the degree to which the protocol relies on maximally decentralized solutions. The core mission of creating a stablecoin equivalent that is not reliant on banking infrastructure has to date required either: 1. Capital inefficient overcollateralized "loans" onchain. 2. Unstable algorithmic designs. 3. Unscalable delta-neutral designs that are fully reliant on decentralized exchanges. In order to address the shortcomings of prior delta-neutral peg mechanism designs it is necessary to interact with centralized liquidity venues where open interest and trading volume on derivatives are >25x larger than onchain liquidity venues. However, doing so introduces new custodial risks with exchanges. **How does Ethena address this?** The focus is generally on leveraging solutions for the most important qualities of decentralized exchanges, namely: 1. Holding of assets outside opaque centralized servers. 2. Fully auditable and transparent. 3. Permissionless and programmatic withdrawal. The use of "Off-Exchange Settlement" providers largely addresses these qualities & enables Ethena to create a synthetic dollar that can meaningfully scale without being overly reliant upon a single source of liquidity, a single custodian of funds, etc. # Off-Exchange Settlement in detail Secured asset custody Ethena uses multiple "Off-Exchange Settlement" providers such as [Copper](https://copper.co/products/clearloop), [Ceffu](https://www.ceffu.com/), and [Fireblocks](https://www.fireblocks.com/).&#x20; These are three separate, non-US based & owned, well-regarded & institutionally focused organizations with the sole focus of holding digital assets in custody. {% hint style="info" %} Protocol assets are never held in control or beneficially owned by the "Off-Exchange Settlement" provider at any point. {% endhint %} ### Management of Risks There are two principal risks that are front of mind when using "Off-Exchange Settlement" providers: 1. *Accessibility and Availability* - Ethena’s ability to deposit, withdraw, and delegate to and from exchanges. Any of these abilities being unavailable or degraded would impede the trading workflows & availability of the **mint**/**redeem** *USDe* functionality. * It is important to note that if there was a degradation of the availability of this functionality it should NOT affect the value of *USDe's* backing. * Ethena actively monitors and engages with partners. The system also uses multiple "Off-Exchange Settlement" providers to mitigate the potential impact of service degradation of one. 2. *Performance of Operational Duties* - In the event of an exchange failure, the protocol is reliant upon the cooperation and legal behavior of our "Off-Exchange Settlement" provider partners to facilitate the expedient transfer of any PnL at risk with an exchange. * It is important to note that exchanges typically post collateral with "Off-Exchange Settlement" providers to ensure the "Off-Exchange Settlement" provider is able to settle without delay given the typical rolling 4-hour settlement cycle frequency. Ethena uses multiple "Off-Exchange Settlement" providers with the same exchange as a further step to help mitigate the aforementioned risks. ### Additional Benefits "Off-Exchange Settlement" providers also enable Ethena to connect to more than just centralized exchanges as pools of liquidity. With our "Off-Exchange Settlement" partners, Ethena is able to connect to decentralized exchanges as well as OTC markets without hassle. This enables Ethena to diversify counterparty risk, among other risks, by holding hedging positions with a greater number of counterparties (CeFi Exchanges, DeFi Exchanges, OTC Counterparties). "Off-Exchange Settlement" providers also enable Ethena to offer on-demand **mint/redeem** *USDe* workflows in a timely and cost-effective manner. There is no delay or additional cost when delegating/undelegated backing assets to/from exchanges. # Copper Clearloop Case Study Ethena initially launched using [Copper’s Clearloop](https://copper.co/products/clearloop) solution before onboarding additional OES providers. Copper is a UK-based custodian that has been the bedrock of institutional digital asset trading since 2018. ### Key Points 1. Copper has never been hacked or lost users’ funds in contrast to the $7bn lost in DeFi. 2. Copper users’ funds were wholly available within days of Coinflex’s (exchange) failure. 3. Copper users’ funds are held within a bankruptcy-remote trust, meaning in the event of Copper’s failure, users’ funds are not expected to be part of Copper's estate. 4. Exchanges are also required to post collateral with Copper as to ensure frictionless settlement with each two or four hour cycle. 5. Ethena retains the ability to dispute erroneous exchange settlement requests. Here is a deck that provides even more detail about Copper's specific solution for Ethena: {% file src="/files/aq9cWOmjVgQy0ddE5npZ" %} # Backing Asset Custody Following on from [Collateral Custody & Security](/backing-custody-and-security/overview), both Ethena's onchain and offchain composite services interact & engage with "Off-Exchange Settlement" providers in a number of ways. {% hint style="info" %} Ethena uses "Off-Exchange Settlement" providers such as, but not limited to, [Copper](https://copper.co/) and [Ceffu](https://www.ceffu.com/). {% endhint %} ### Overview Given the peg stability mechanism of *USDe*, Ethena's "Treasury Management" system increases and decreases the sizes of delta hedging derivatives positions as users **mint** and **redeem** *USDe*. As the supply of *USDe* increases, the delta will change and more short derivative positions are entered into to eliminate backing asset price exposure, and vice versa when USDe supply shrinks. In the process of **minting** & **redeeming** *USDe*, users transfer & request backing assets in exchange for/from *USDe*. In addition, given *USDe's* peg stability mechanism, Ethena needs to be able to: * Safely & securely custody protocol backing assets. * Transfer backing assets between smart contracts & users. * Delegate/Undelegate backing assets between "Off-Exchange Settlement" providers and centralized exchanges. Ethena also needs to be able to transfer rewards to the Staking Smart Contract & the "Off-Exchange Settlement" provider plays a role. ### Example Internal Workflows Some workflow examples to highlight how different components of the system interact with "Off-Exchange Settlement" providers: * Upon a user successfully **minting** *USDe*, the transferred asset is transferred by the Minting smart contract directly to the "Off-Exchange Settlement" provider. * Upon a user successfully **minting** *USDe*, the internal hedging system needs to open an additional short derivatives position to hedge the increased delta exposure of the newly transferred asset from the user. As such, the "Off-Exchange Settlement" provider is instructed to delegate funds to the exchange. * Upon a user successfully **redeeming** *USDe*, the user receives protocol backing assets from the Minting smart contract in exchange for the redeemed USDe. The minting smart contract needs to be actively monitored and refilled with protocol backing assets from an "Off-Exchange Settlement" provider. * Upon a user successfully **redeeming** *USDe*, the internal hedging system needs to close the corresponding short derivatives position as the protocol no longer needs to hedge the delta exposure of the assets transferred to the redeeming user. * Upon the protocol earning revenue, the funds are undelegated from the "Off-Exchange Settlement" provider and used to **mint** *USDe*. ### "Off-Exchange Settlement" Provider Benefits "Off-Exchange Settlement" providers provide unique benefits critical to many aspects of the user experience: 1. **Ethena is able to prove the existence and control of protocol funds onchain.** * Protocol backing assets remain onchain with solutions provided by regulated and trusted parties. These entities are non-US based. * This enables users to enjoy the benefits of the ability to verify the existence and control of assets onchain, while also enjoying the benefits of high governance & security protections used by institutional participants. 2. **Ethena mitigates the risks of CeFi Exchange failure.** * "Off-Exchange Settlement" providers require exchanges to post collateral with the provider to ensure each settlement cycle can occur without friction. This combined with frequent PnL settlement cycles, Copper is daily, enables Ethena to enjoy the benefits of CeFi liquidity without risking protocol backing assets with an obscure entity. 3. **Ethena controls the "deposits" and "withdrawals" of funds.** * Each CeFi Exchange has varying deposit & withdrawal processes and speeds of operation. This can leave users waiting hours or days to be able to withdraw their assets. * "Off-Exchange Settlement" providers enable Ethena to, in all market conditions, delegate & undelegate assets to margin derivatives positions without having to wait for the exchange or an onchain transaction. Delegation/undelegation operations typically take seconds and are at no cost to the protocol. * This enables Ethena to offer on-demand **mint**/**redeem** *USDe* requests to eliminate the friction of users being able to on & off-ramp from *USDe*. 4. **Ethena remains agnostic to providers through each step of the workflow.** * Optimally, the system would use as many high-quality providers as possible for each step of the workflow. This enables Ethena to mitigate many risks as well as encourages an ecosystem that benefits users & the protocol. * It is the intention to onboard with as many "Off-Exchange Settlement" providers as reasonable and to champion transparency & independent verification of assets features across the space. *** ### Custody FAQ [Notion FAQ Link](https://ethena.notion.site/Ethena-FAQs-3ccc1437e13343f8b74c0d005e4f5128) # Real-Time Dashboards Below is the main Ethena dashboard highlighting Ethena's positions across different exchanges and assets. [Positions Dashboard](https://app.ethena.fi/dashboards/positions) {% hint style="info" %} Copper & Ceffu operate omnibus solutions with hot/warm/cold wallets wherein all of their users' funds are co-mingled. This does not break or compromise the protocol's ownership or claim on the backing in either solution. As a result, the Copper omnibus & Ceffu deposit addresses don't represent the value of assets held by the protocol, but show the initial deposit upon direct mints of USDe with the protocol. {% endhint %} # Overview Ethena's solution has both **Onchain** and **Offchain** composite components & services. The **Onchain** components include the smart contracts that enable the minting, redeeming, staking, and unstaking of *USDe*. The **Offchain** components include services that manage the delta hedging positions with respect to deposited backing assets. <figure><img src="https://596495599-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FsBsPyff5ft3inFy9jyjt%2Fuploads%2FuVAV5EN5BufxVzHdQ7o1%2FMechanics%20of%20Creating%20USDe.png?alt=media&amp;token=27ca116e-61cd-4471-8e3d-a7edf35b7110" alt=""><figcaption></figcaption></figure> In order to access the centralized liquidity, explicit trade-offs need to be made for onchain trust assumptions which are detailed in this section. ## Ethena Labs Github {% embed url="<https://github.com/ethena-labs>" %} You can read more in the following sections: * [Minting USDe](/technical-design/minting-usde) * [Staking USDe](/technical-design/staking-usde) * [Backing Asset Custody](/backing-custody-and-security/backing-asset-custody) * [Hedging System](/technical-design/hedging-system) # Github Overview Summary of Ethena Core Contracts &#x20;[**USDe.sol**](https://etherscan.io/address/0x4c9edd5852cd905f086c759e8383e09bff1e68b3) `USDe.sol` is the contract of USDe. It extends `ERC20Burnable`, `ERC20Permit` and `Ownable2Step` from OpenZeppelin. There's a single variable, the `minter` address that can be modified by the `OWNER`. Outside of `Ownable2Step` contract owner only has one custom function, the ability to set the `minter` variable to any address. The `minter` address is the only address that has the ability to mint USDe. This minter address has one of the most powerful non-owner permissions, the ability to create an unlimited amount of USDe. It will always be pointed to the `EthenaMinting.sol` contract. #### [EthenaMinting.sol](https://etherscan.io/address/0xe3490297a08d6fC8Da46Edb7B6142E4F461b62D3#tokentxns) <a href="#user-content-ethenamintingsol" id="user-content-ethenamintingsol"></a> `EthenaMinting.sol` is the contract and address that the `minter` variable in `USDe.sol` points to. When users mint USDe with stETH (or other backing) or redeems backing for USDe, this contract is invoked. The primary functions used in this contract are `mint()` and `redeem()`. Users who call this contract are all within Ethena. When outside users wishes to mint or redeem, they perform an EIP712 signature based on an offchain price provided to them. They sign the order and sends it back to Ethena's backend, where a series of checks are run and are the ones who take their signed order and put them on chain. By design, Ethena will be the only ones calling `mint()`, `redeem()` and other functions in this contract. #### Minting <a href="#user-content-minting" id="user-content-minting"></a> In the `mint()` function, `order` and `signature` parameters come from users who wish to mint and performed the EIP 712 signature. `route` is generated by Ethena, where it defines where the incoming assets from users go to. The address in `route` defined must be inside `_custodianAddresses` as a safety check, to ensur
프로젝트로 돌아가기