LIDO x CIAN: Automated Strategies for staked assets

CIAN
8 min readAug 9, 2022

--

Partnership

Lido, the leading liquid staking protocol (Figure 1) on multi-chain, and CIAN, an emerging blockchain automation tooling platform, are glad to announce the rise of their strategic partnership. The two parties are collaborating on designing a series of innovative decentralized blockchain automation tools that facilitate users to implement various yield strategies around Lido’s liquid staking assets, starting with stETH. The objective of the partnership is to:

  1. facilitate ETH/stETH holders to manage and optimize their positions/risks in various yield strategies for better return;
  2. further strengthen the application scenarios and ecosystem around Lido’s liquid staking tokens, which in turn, would reinforce their price stability.
Figure 1. Stats of ETH beacon chain POS staking pools (source http://postat.xyz/)

The alliance starts with the “LAAS event” which is featuring the first ever stETH automated yield strategy co-launched by the two protocols — Leveraged Arbitrage for stETH. The strategy encourages and facilitates long term ETH/stETH holders to capture and amplify the arbitrage opportunities from ETH-stETH pricing deviation.

Backtest results

The table above demonstrates the back testing results of this active strategy with the real data of past 3 months, which is quite encouraging. We used 3 different pairs of arbitraging prices for 3 back tests. During each of these tests, the purchasing prices and selling prices remained unchanged for a set period of 3 months. In reality, the APY could be much higher considering the fact that users can fine tune and timely adjust the arbitraging prices at all time.

With that being said, this is the first one of a series of decentralized automation tools that CIAN devices for a variety of innovative ETH/stETH related yield strategies, which will be co-launched with Lido in the coming months. Meanwhile, CIAN expects to expand its token coverage from stETH to other LIDO liquid staking assets, e.g. stMATIC, stSOL, ultimately bringing these valuable tools on most prominent POS chains.

Leveraged stETH-ETH Arbitrage Strategy

Every stETH is strictly backed by one ETH on the Beacon chain, which eliminates the possibility of stETH’s crash. However, since users can’t directly unstake their ETH until the Merge is mature, the exchange ratio between stETH and ETH demonstrates large, but temporary fluctuations, especially under recent market conditions.

Fig. 2 Source: https://www.livecoinwatch.com/price/LidoStakedEther-_STETH

The temporary stETH price deviations not only bring adversely impact to stETH holders, but also provide great arbitraging opportunities that could be capitalized by ambitious long term stETH/ETH holders, provided that there are good onchain positions and risk management tooling. As an example: If you buy stETH at 0.95 ETH and sell it at 0.98 ETH, you pocket 0.03 ETH as profit in this iteration of arbitrage. The risk of stETH arbitraging is largely limited by the strict 1:1 ETH backing, which in turn limits the scale and duration of stETH price deviation from ETH. The attractive RR ratio of this active strategy provides strong argument for smart ETH/stETH holders to add leverage to this strategy for amplified return, if the traders have good tools to set and adjust proper arbitraging prices. To stETH ecosystem, the scaled adoption of this strategy could potentially result in improved stETH’s price stability, which would be beneficial to all stETH holders.

To that end, CIAN launches decentralized onchain automation tools for “Leveraged stETH-ETH Arbitrage” strategy, which iteratively automates user’s stETH purchasing and selling in Curve protocol at prices preset by the user with desired leverage ratio (max 2.5 x). All the parameters including purchasing & selling price limits, leverage ratios etc. can be adjusted at any time. Meanwhile, since the staking rewards of stETH(current APR on Lido:3.9%) is usually higher than the borrowing interest of ETH (APR:1.84%) on AAVE V2, users can passively earn extra yields while waiting for the system to profit from an arbitrage opportunity.

Product Details Explained

Let’s refer to Figure 3 for the product details.

Parameters:

  1. Deposit Amount: Principle used for this strategy (stETH or ETH)
  2. Leverage (up to 2.5X)
  3. Lower Price (onchain slippage not included): When the market price reaches this target, CIAN will automatically swap ETH for stETH using the preset leverage ratio.
  4. Upper Price (onchain slippage not included): When the market price reaches this target, CIAN will automatically swap all stETH for ETH, waiting for the next arbitrage opportunity.
  5. Stop-Loss Price (onchain slippage not included): When the market price reaches this target, CIAN will automatically unwind the leverage, repay the debts and swap all stETH for ETH. Once executed, the strategy will automatically end, sending back all funds to users’ smart wallet.
  6. Deposit Gas Fees (min. 0.5 ETH): gas fees used to cover all the automated transactions.
  7. Gas Fees Limit (Optional): You can set a limit per transaction to avoid paying excessive gas fees in case of network congestion.
Fig. 3 Source:dapp.cian.app

Let’s walk through a simple example.

Parameter Setting:

  1. Market Price(stETH/ETH): 0.95
  2. Deposit Amount: 10 ETH
  3. Leverage: 2.5 X
  4. Lower Price: 0.95
  5. Upper Price: 0.96
  6. Stop-loss Price: 0.9

Execution Process:

  1. The strategy is activated when the market price matches the lower price limit of 0.95, after which CIAN’s tool will swap 25ETH for 26.31stETH (2X leveraged).
  2. After the market price goes above the upper price of 0.96, CIAN will swap 26.31 stETH for 25.26 ETH and repay the 15 borrowed ETH (borrowing interest not included).
  3. Now 10.26 ETH are kept in the strategy waiting for the next arbitraging opportunity. Users could adjust the parameters setting any time they want.

Backtest:

Based on similar parameters as set above, we ran a backtest tracking the data of the past 3 months(slippages and swap fees are not included).

Result:

Note: These results should not be considered as standard since the APY generated by the “Leveraged Arbitrage” strategy is higly dependant on users’ preset parameters, which should be set/modified according to the market conditions.

How does CIAN add leverage at the lower price?

How does CIAN add leverage at the lower price?

We will answer this question using the example above:

  1. Borrow ETH (10 ) through flashloan from Balancer.
  2. Swap all the ETH (10+10) for stETH (21.05).
  3. Deposit stETH (21.05) in AAVE and borrow ETH (10) to repay the flashloan.

All steps are executed within one transaction.

How about the leveraging process at the upper price?

  1. Borrow ETH (10) to repay the debt on AAVE through flashloan from Balancer.
  2. Withdraw stETH (21.05) from AAVE and swap for ETH (20.21).
  3. Repay the flashloaned ETH(10) from Balancer.

All steps are finished within one transaction.

What are the profits and costs in this process?

Profits:

  1. Arbitrage profits
  2. stETH staking rewards (APR:3.9%) x leverage ratio

Costs:

  1. CIAN will charge no fee during the promotional period (3 months).
  2. Borrowing interest rate — when purchasing stETH with leverage, CIAN will need to borrow ETH from AAVE.
  3. Swap fees and slippage. When trading stETH-ETH pair through Curve, users will be charged by curve for swap fees and possibly also incurs price slippage.
  4. Gas fees. Gas fees consumed by every transaction will be deducted from the gas balance in the users’ gas contract.

Note: All related fees except gas fees are also getting leveraged.

What are the risks related to this strategy?

  1. Trading loss. The “Leveraged Arbitrage” strategy is neutral. Users will generate profits or losses according to their preset parameters, which should be set/modified according to current market conditions.
  2. Liquidation. In theory, users’ positions might get liquidated under extreme market conditions. To alliviate this risk, users will be able to set a stop-loss, automatically unwind their leverage and close the position. But in practice, liquidation is almost impossible to happen since we limit user’s leverage ratio in this strategy to 2.5 x, which requires an extra 14.3% drop in stETH-ETH relative prices from the “lower price”.
  3. Execution costs. If a user’s position is too small, the high gas fees on Ethereum may out-weight the gains, resulting in an overall loss.

Additional Information

About Lido

Lido is the leading liquid staking solution — providing a simple and secure way to earn interest on your digital assets. By staking with Lido your assets remain liquid and can be used across a range of DeFi applications, earning extra yield.

  1. Staking pool. Protocol to manage deposits, staking rewards, and withdrawals. A separate one for every supported network.
  2. st[token]. Unlike staked assets, the Lido st[token] are freely transferable instead of locked as in the case of native staking. Lido lets users operate with staked assets to gain yield on top of yield by leveraging collateral, lending, yield farming, and other kinds of Defi protocols.
  3. DAO. Lido liquid protocols management entity, responsible for picking node operators, configuring the protocol parameters and much more.
  4. Node Operators. entities that manage a secure and stable infrastructure for running validator clients for the benefit of the protocols. They’re professional staking providers who can ensure the safety of funds belonging to the protocol users and correctness of validator operations.

Website | Twitter | Telegram | Discord | Documentation | Github | reddit

About CIAN

CIAN is a decentralized automation tooling/utility platform. Through large-scale integration of blockchains/protocols and advanced automation, CIAN is defining a set of automated primitives that turn complex manual executions of typical onchain tasks/strategies into a simple 3-step task definition process for no-code users. CIAN’s objective — 80% reduction in operational complexity, up to 60% increase in capital efficiency.

When a user is running CIAN’s automation tools, his funds always remain under his full control in his smart wallet and selected protocol(s).

Special efforts are devoted to CIAN’s strategic focus — Staked Assets (e.g. stETH, sAVAX). CIAN will keep designing profitable yield strategies and automation tools to ensure the intrinsic growth of liquid staking.

Website | Twitter | Discord | Documentation | Medium| Email

--

--