Skip to content

Commit

Permalink
fix: price feed for DVstETH
Browse files Browse the repository at this point in the history
  • Loading branch information
57Ark committed Feb 10, 2025
1 parent 96aaa8a commit 3ba0fec
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 12 deletions.
16 changes: 8 additions & 8 deletions contracts/PriceFeedDataLive.sol
Original file line number Diff line number Diff line change
Expand Up @@ -8579,8 +8579,8 @@ contract PriceFeedDataLive {
);

// ------------------------ DVstETH ------------------------
erc4626PriceFeedsByNetwork[1].push(
GenericLPPriceFeedData({lpToken: TOKEN_DVstETH, underlying: TOKEN_wstETH, trusted: false, reserve: false})
mellowLRTPriceFeedsByNetwork[1].push(
GenericLPPriceFeedData({lpToken: TOKEN_DVstETH, underlying: TOKEN_WETH, trusted: false, reserve: false})
);
redStonePriceFeedsByNetwork[1].push(
RedStonePriceFeedData({
Expand All @@ -8604,8 +8604,8 @@ contract PriceFeedDataLive {
reserve: true
})
);
erc4626PriceFeedsByNetwork[42161].push(
GenericLPPriceFeedData({lpToken: TOKEN_DVstETH, underlying: TOKEN_wstETH, trusted: false, reserve: false})
mellowLRTPriceFeedsByNetwork[42161].push(
GenericLPPriceFeedData({lpToken: TOKEN_DVstETH, underlying: TOKEN_WETH, trusted: false, reserve: false})
);
redStonePriceFeedsByNetwork[42161].push(
RedStonePriceFeedData({
Expand All @@ -8629,8 +8629,8 @@ contract PriceFeedDataLive {
reserve: true
})
);
erc4626PriceFeedsByNetwork[10].push(
GenericLPPriceFeedData({lpToken: TOKEN_DVstETH, underlying: TOKEN_wstETH, trusted: false, reserve: false})
mellowLRTPriceFeedsByNetwork[10].push(
GenericLPPriceFeedData({lpToken: TOKEN_DVstETH, underlying: TOKEN_WETH, trusted: false, reserve: false})
);
redStonePriceFeedsByNetwork[10].push(
RedStonePriceFeedData({
Expand All @@ -8654,8 +8654,8 @@ contract PriceFeedDataLive {
reserve: true
})
);
erc4626PriceFeedsByNetwork[8453].push(
GenericLPPriceFeedData({lpToken: TOKEN_DVstETH, underlying: TOKEN_wstETH, trusted: false, reserve: false})
mellowLRTPriceFeedsByNetwork[8453].push(
GenericLPPriceFeedData({lpToken: TOKEN_DVstETH, underlying: TOKEN_WETH, trusted: false, reserve: false})
);
redStonePriceFeedsByNetwork[8453].push(
RedStonePriceFeedData({
Expand Down
2 changes: 0 additions & 2 deletions src/config/configs/wstethConfigMainnet.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
import {
AdapterConfig,
BalancerV3PoolConfig,
BalancerV3VaultConfig,
BalancerVaultConfig,
} from "../adapters";
Expand Down Expand Up @@ -52,7 +51,6 @@ const collateralTokens: CollateralToken[] = [

const adapters: AdapterConfig[] = [
{ contract: "MELLOW_RESTAKING_VAULT" },
{ contract: "MELLOW_DECENTALIZED_VALIDATOR_VAULT" },
{ contract: "AAVE_WSTETH_VAULT" },
balancerConfig,
balancerV3Config,
Expand Down
4 changes: 2 additions & 2 deletions src/oracles/priceFeeds.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4002,8 +4002,8 @@ export const priceFeedsByToken: Record<
DVstETH: {
AllNetworks: {
Main: {
type: PriceFeedType.ERC4626_VAULT_ORACLE,
underlying: "wstETH",
type: PriceFeedType.MELLOW_LRT_ORACLE,
underlying: "WETH",
trusted: false,
},
Reserve: {
Expand Down

0 comments on commit 3ba0fec

Please sign in to comment.