Skip to main content

AIP

titlestatusauthorshortDescriptiondiscussioncreated
Add stETH to AAVE v2Proposed@jbeezy @grstepanovAAVE governance proposal to enable stETH as a base tokenarc-add-support-for-steth-lido/57932022-04-02

Simple Summary

Lido allows users to get staking rewards on the Ethereum beacon chain without locking ether or maintaining staking infrastructure. This is done through the stETH token. stETH tokens represent a tokenized staking deposit with staking rewards and slashing penalties applied. stETH can be held, traded, or sold. We propose listing stETH to AAVE v2 market. This would allow users to borrow against stETH.

References

Abstract

The goal of listing stETH on AAVE v2 market is to provide the ability to deposit stETH into AAVE and allow to use it as collateral. There is no intention to enable borrowing of stETH on AAVE v2 market.

Motivation

Listing stETH on AAVE can work to attract a larger audience to both AAVE and Lido. More ETH staked with Lido would subsequently benefit the decentralization and security of the Ethereum network, to the benefit of the community as a whole. stETH would likely bring new borrow demand to AAVE as market participants look to borrow against stETH.

stETH makes a perfect DeFi collateral and is beneficial for a number of reasons covered in the Specifications section of this AIP.

Specification

  1. What is the link between the author of the AIP and the token?
  • Jacob (jbeezy) is a full time member of the DAO working to facilitate integrations for st-tokens across DeFi in protocols such as Aave among others.
  • Gregory (GrStepanov) is a full time protocol contributor working on technical integrations.
  1. Provide a brief high-level overview of the project and the token.

Lido Background

The Lido Protocol, built on Ethereum’s beacon chain to start, allows users to get staking rewards on the beacon chain without rendering their tokens illiquid or maintaining staking infrastructure.

Lido was announced in November 2020. The testnet was released in late November.

Lido today has 2 products (stETH, stSOL) managed by teams in separate organizations. Across these products is a multi billion dollar TVL and has pushed Lido to #6 on DeFi Llama rankings. stETH has also been accepted as part of Nexus Mutual’s treasury as part of their risk management strategy.

Lido has begun the process to move over to a fully non-custodial solution. Details can be found here: Withdrawal Credentials in Lido.

The Lido DAO manages the liquid staking protocol by deciding on key parameters (e.g. setting fees, assigning node operators and oracles) through the voting power of governance token holders.

Lido has been audited by Sigma Prime, Quantstamp and MixBytes.

stETH Background

Lido allows users to deposit ETH and receive stETH. The deposited ETH is then pooled and staked with node operators selected by the Lido DAO. stETH represents the user’s staked ETH balance of the beacon chain along with staking rewards accrued or penalties inflicted on validators in the beacon chain. When withdrawals are enabled on the beacon chain, stETH can be redeemed for unstaked ETH and accumulated rewards.

Unlike beacon chain ETH, stETH can be freely transferred and traded. Onboarding stETH to Aave would allow users to borrow against stETH.

The balance of stETH is based on the total amount of staked ETH plus total staking rewards minus slashing applied on validators. stETH rebases daily. The stETH supply stands at 1,697,460 - worth $5.4BN using current stETH prices.

  1. Explain positioning of token in the AAVE ecosystem. Why would it be a good borrow or collateral token?

stETH as DeFi collateral is beneficial for a number of reasons.

  • stETH is almost as safe as ETH, price-wise: barring catastrophic scenarios, its value tends to hold the ETH peg well;
  • stETH is a productive token. Getting rewards on collateral effectively lowers the cost of borrowing. This could make borrowing more attractive on Aave and help to increase market utilization (and therefore Aave’s protocol revenue from coin reserve factors).
  • stETH is a very liquid token with $5+ billion in liquidity used across multiple DeFi projects. stETH:ETH liquidity pool on Curve is the deepest LP in DeFi with $3.8 billion TVL.
  1. Provide a brief history of the project and the different components: DAO (is it live?), products (are they live?). How did it overcome some of the challenges it faced?

Lido protocol background is listed in Question #2.

There is a DAO and it is live. The Lido DAO consists of, amongst others, Semantic VC, ParaFi Capital, Libertus Capital, Bitscale Capital, StakeFish, StakingFacilities, Chorus, P2P Capital and KR1, Stani Kulechov of Aave, Banteg of Yearn, Will Harborne of Deversifi, Julien Bouteloup of Stake Capital and Kain Warwick of Synthetix.

The Lido treasury has been diversified and DAO members now include Paradigm, Three Arrows Capital, DeFiance Capital, Jump Trading, Alameda Research, iFinex, Dragonfly Capital, Delphi Digital, Robot Ventures, Coinbase Ventures, Digital Currency Group, The LAO and angels.

The Lido suite of products consist of st-tokens which represent the underlying staked collateral on various protocols. These are currently stETH and stSOL and are managed by teams in separate organizations to further mitigate centralization risk.

There are further wrapped versions to address platform limitations around rebasing tokens or bridging to other ecosystem. These wrapped tokens are minted/burned based on locking of the st-token. Currently there is wstETH.

Early challenges were overcome with DAO member support, speed of execution and utility of st-tokens. The last one is particularly critical in the success of any liquid product.

  1. How is the token currently used?

stETH is used in a number of ways.

  • a productive token (e.g. in Nexus Mutual Treasury risk management strategy);
  • compounding rewards strategies in DeFI (AMMs, autofarms) (e.g. Convex, Yearn, Harvest);
  • multichain collateral (e.g. wstETH on Ethereum on Maker).
  1. Emission schedule

There is no emission schedule. Similar to DAI, stETH is minted on demand when users lock ETH into the protocol.

  1. Token (& Protocol) permissions (minting) and upgradability. Is there a multisig? What can it do? Who are the signers?

stETH token is the upgradable contract behind AppProxyUpgradeable proxy at 0xae7ab96520de3a18e5e111b5eaab095312d7fe84. Lido DAO can change the implementation with the successful DAO vote.

The roles and addresses are listed in the following independent report as of end of 2023.

To mitigate withdrawal risks, Lido staking went live on December 18th, 2020, through a withdrawal key ceremony. Chorus One, Staking Facilities, Certus One, Argent, Banteg (yearn.finance), Alex Svanevik (Nansen), Anton Bukov (1inch), Michael Egorov (Curve/Nucypher), Rune Christensen (MakerDAO), Will Harborne (DeversiFi), and Mustafa Al-Bassam (LazyLedger) came together over a four-day event to generate threshold signatures for Lido’s withdrawal keys in a secure environment on air-gapped machines. Lido has already migrated to a non-custodial solution and >60% of all stETH already uses this. Details can be found here: Withdrawal Credentials in Lido.

  1. Market data (Market Cap, 24h Volume, Volatility, Exchanges, Maturity)

Market Cap $5.5B

Volatility - Over the past year, stETH proved to hold peg extremely well through various market conditions. stETH:ETH balance data for the Curve pool can be found here.

Volumes and DEXes

Balancer (wstETH/WETH) Liquidity: $409.3M Volume (24h): $509,3 Dune query

SushiSwap (wstETH/DAI) Liquidity: $32.2M Volume (24h): $756,211 Dune query

Curve (stETH/ETH) Liquidity: $3,75B Volume (24h): $5,7M Dune query

  1. Social channels data

Discord - 7400 members Twitter - 60K followers GitHub - Active and managed

  1. Contracts date of deployments, number of transactions, number of holders for tokens

Date of Deployment: December 18th, 2020 Number of Transactions (stETH): 146,000+ Unique holders: 42,000+

  1. Unique Depositors

Unique depositors: 36,000+

Technical specification

stETH represents the user’s staked ETH balance of the beacon chain along with staking rewards accrued or penalties inflicted on validators in the beacon chain. This is implemented via rebasing mechanism.

Due to the rebasing nature of stETH, the proposed listing implementation involves few changes to AAVE's generic aToken. The proposed aToken uses underlying stETH shares to store balances and implement the rebase ability. Thus, it has 2 private balances and 1 public balance.

  1. The internal (fixed-supply) balance and total supply are used for book-keeping. The deposited balance is stored in stETH shares and converted into the amount of the tokens with functions from stETH. Users’ balances are book-kept with the underlying ERC20 token.
  2. The internal (elastic-supply) balance and total supply correspond to the deposited balance without accrued interest. Rebasing of aSTETH according to stETH happens in this layer.
  3. The external (elastic-supply) balance and total supply correspond to the deposited balance with interest.

Externally, the aSTETH behaves similar to every other aToken. It always maintains a 1:1 peg with the underlying stETH.

The current implementation doesn't support borrowing, neither with variable nor with stable interest rates. The stableDebtSTETH and variableDebtSTETH contracts extend default stableDebtToken and variableDebtToken contracts accordingly to make it impossible to use borrowing with aSTETH because default debt tokens are not compatible with the AStETH contract.

Code

Security Considerations

Standard technical risks of smart contracts apply to the AToken implementation. The implementation has been audited by MixBytes() and considered safe. Read the full report from here.

Proposed Risk Parameters

LTV: 70% Liquidation Threshold: 75% Liquidation Bonus: 7.5% Reserve Factor: 10%

Interest Rate Model: UOptimal: 60% Base: 0% Slope 1: 8% Slope 2: 200%

As stETH is more suited as collateral instead of a borrowing token, we propose listing stETH on AAVE v2 market with borrowing disabled.

Risk Assessment (as of time of ARC)

Smart contract risks

Lido faces smart contract risks. To mitigate these, Lido has been audited multiple times - by Quantstamp, Sigma Prime, and MixBytes (see Audits), with no critical issues found.

Counterparty risks

Lido is a DAO. Decisions in the Lido DAO are made through proposals and votes - community members manage protocol parameters, node operators, oracle members, and more. The Lido staking infrastructure for stETH consists of 22 node operators, with a focus on decentralization. Lido relies on a set of oracles to report staking rewards to the smart contracts. Their maximum possible impact is limited by the recent upgrade (limit oracles report change by 10% APR increase in stake and 5% decrease in stake), and the operators of oracles are all well-known entities: Stakefish, Certus One, Chorus One, Staking Facilities, DSRV, Blockscape, Everstake, SkillZ, RockX, Allnodes, P2P Validator, and others. Read further in Lido documentation.

Market risk

Over the past year, stETH proved to hold the ETH peg 1:1 steadily. Four liquidity pools across different DEXes are incentivized with significant LDO rewards. Curve stETH:ETH LP has grown into the deepest LP across DeFi, which makes it extremely resistant to any attempts of moving the peg.

Staking risks

stETH faces staking risks, specifically validator risks including slashing and hostage risks. To mitigate these, Lido works only with best-in-class validators with a track record of success. Besides, there's an ongoing discussion in the community about in-protocol coverage options to mitigate slashing risks.

Price feed risk

The ChainLink price feed for stETH is based on the pools with extremely deep liquidity. This makes stETH price very stable and resilient. Manipulating stETH price at this point would require staggering amount of resources and potentially render this kind of attack unreasonable.