0xValJohn / curve-lending-ext-oracle

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Curve Lending External Oracle Provider

This is an investigation on external oracle providers to establish a Curve Lending market.

In this example, we create a st-yETH/crvUSD price feed based on:

  • st-yETH 4626 rate (totalAssets/totalSupply)
  • yETH/ETH StableSwap Curve pool
  • ETH/USDC TricryptoUSDC Curve pool
  • USDC/crvUSD StableSwap Curve pool

The feed also uses RATE_MAX_SPEED, similar to Curve Lending native oracle.

About


Languages

Language:Jupyter Notebook 99.7%Language:Solidity 0.2%Language:Python 0.1%