Skip to content

Conversation

kkirka
Copy link
Collaborator

@kkirka kkirka commented Feb 21, 2025

chechu and others added 16 commits February 14, 2025 20:58
Problem: Sometimes we need an on-chain oracle configuration for
monitoring purposes, especially if the production oracle uses an
indirect way to price an asset. There are usually several ways to
price a derivative asset, e.g. for Pendle we could use ptToSy or
ptToAsset rate depending on whether the price information for the
yield token is available on chain and if there is enough liquidity
to make manipulations non-profitable. Since there are different
ways to compute the price, we need a way to set up alternative price
feeds that would:

* use the logic defined in our contracts
* be flexible enough to support underlying assets with no on-chain
  price info
* be managed by a developer wallet so that we don't need a governance
  cycle to update the monitoring

Solution: Implement a ReferenceOracle contract that allows to set
alternative price feeds with a developer multisig and set temporary
prices for assets during the price request for assets with no on-chain
price information.
[VEN-2935]: add reference oracle contract
## [2.12.0-dev.1](v2.11.0...v2.12.0-dev.1) (2025-02-21)

### Features

* add reference oracle conract ([cfa31eb](cfa31eb))
* add reference oracle deployment for bsc and eth ([0f0cc33](0f0cc33))
* add testnet tags and helpers to dispatch testnets ([8576fe9](8576fe9))
* replace multisig with timelock on Ethereum ([6bbff81](6bbff81))
* support compiling for cancun ([5a22e67](5a22e67))
* updating deployment files ([9f378c5](9f378c5))

### Bug Fixes

* patch smock package to check if provider has init ([2f86269](2f86269))
[VEN-2935]: Add reference oracles for Pendle assets
## [2.12.0-dev.2](v2.12.0-dev.1...v2.12.0-dev.2) (2025-02-21)

### Features

* add deployments for Pendle oracles used as a reference ([39e82df](39e82df))
* updating deployment files ([eb9cee1](eb9cee1))
@kkirka kkirka merged commit 505d8b1 into main Feb 21, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants