Set Price Cap Adapters (CAPO)

Set Price Cap Adapters (CAPO)

Author

BGD Labs (@bgdlabs)

Creator

0xf71fc92e2949ccF6A5Fd369a0b402ba80Bc61E02

Simple Summary

This proposal activates the correlated-assets price oracle (CAPO) system for LSTs and fiat-pegged stable coins.

Motivation

LSTs (Liquid Staking Tokens) are highly correlated to an underlying, with an additional growth component on top of it, and sometimes, slashing dynamics. CAPO for this use case adds an upper side protection. Every time the price adapter is queried, it will get the current ratio of the asset/underlying and compared it with a dynamically calculated upper value of that ratio, using the previously defined parameters. If the current ratio is above the ratio cap, the ratio cap is returned. If not, the current ratio is.

In some cases, the relation between an underlying asset and its correlated is direct, without any type of continuous growth expected. For example, this is the case of USD-pegged stable coins, where USD is the underlying and let's say USDC is the correlated asset. For this type of assets we'll apply the price adapter with the fixed price cap.

Specification

AssetGrowth percentSnapshot delay
wstETH9.68%7 days
rETH9.3%7 days
cbETH8.12%7 days
MaticX10.2%14 days
stMATIC10.45%14 days
sAVAX10.1%14 days

All stablecoins are capped at 4%, except LUSD, which is capped at 10%.

sDAI is not included at the moment, given the recent un-stability on its growth rate.

Oracles will be updated using priceFeedsUpdates() method of the Config Engine on every network. Below is the list of assets per network to be updated:

NetworkLSTsStables
MainnetwstETH, rETH, cbETHUSDC, USDT, DAI, FRAX, LUSD, crvUSD, pyUSD
ArbitrumwstETH, rETHUSDC, USDC.e, USDT, FRAX, LUSD, MAI
AvalanchesAvaxUSDC, USDT, DAI.e, FRAX, MAI
OptimismwstETH, rETHUSDC, USDC.e, USDT, DAI, LUSD, sUSD, MAI
PolygonwstETH, stMatic, MaticXUSDC, USDC.e, USDT, DAI, MAI
GnosiswstETHUSDC, xDAI
BasewstETH, cbETHUSDC
MetisUSDC, USDT, m.DAI
BNBUSDC, USDT, fdUSD
ScrollwstETHUSDC

Security

  • Audit by Certora
  • A retrospective test was conducted for the last half year with the parameters provided, which showed that the price was not capped, which is expected

References

Copyright

Copyright and related rights waived via CC0.

by BGD Labs