Liquid Staking Tokens Depeg
Check price deviation of staked pegged tokens - this monitor takes the price of ETH and the price of cbETH, multiplies the price of ETH by 1.08, and checks if this is within three percent of the price of cbETH.
use CoingeckoPrice, Approximately, Call from hexagate;
source cbETHCoingecko: integer = CoingeckoPrice {
coin: "coinbase-wrapped-staked-eth"
} * 1000;
source ethCoingecko: integer = CoingeckoPrice {
coin: "ethereum"
} * 1080;
source approx: boolean = Approximately {
source: ethCoingecko,
target: cbETHCoingecko,
percent: 3
};
rule {
description: "cbETH price deviation",
condition: approx
};Last updated