Skip to content

Commit 41ef154

Browse files
author
venus-tools
committed
refactor: rename VIP-650 to VIP-595 with updated title and description
- Rename vip-650 directories to vip-595 - Update VIP title to match Notion: 'RedStone Oracle Integration and Resilient Oracle Configuration Updates' - Reformat description to match Notion structure with numbered actions and summary - Update function names from vip650 to vip595 - Update simulation test references - Run prettier and lint (all checks passed) Note: VIP-595 implementation matches https://www.notion.so/Oracle-Configuration-312b4e5771bb802fab8cf7852bf62b35
1 parent 226a38d commit 41ef154

File tree

5 files changed

+56
-19
lines changed

5 files changed

+56
-19
lines changed
File renamed without changes.
File renamed without changes.
File renamed without changes.
Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ import {
1010
} from "src/utils";
1111
import { forking, testVip } from "src/vip-framework";
1212

13-
import vip650, {
13+
import vip595, {
1414
BOUND_VALIDATOR,
1515
NEW_FALLBACK_ORACLE_CONFIG,
1616
NEW_ORACLE_CONFIG,
@@ -22,7 +22,7 @@ import vip650, {
2222
PRICE_LOWER_BOUND,
2323
PRICE_UPPER_BOUND,
2424
USDT_CHAINLINK_ORACLE,
25-
} from "../../vips/vip-650/bscmainnet";
25+
} from "../../vips/vip-595/bscmainnet";
2626
import BOUND_VALIDATOR_ABI from "./abi/boundValidator.json";
2727
import CHAINLINK_ORACLE_ABI from "./abi/chainlinkOracle.json";
2828
import RESILIENT_ORACLE_ABI from "./abi/resilientOracle.json";
@@ -89,7 +89,7 @@ forking(80964126, async () => {
8989
});
9090
});
9191

92-
testVip("VIP-650 bscmainnet", await vip650(), {
92+
testVip("VIP-595 bscmainnet", await vip595(), {
9393
callbackAfterExecution: async txResponse => {
9494
const totalTokenConfigAdded =
9595
NEW_REDSTONE_ORACLE_FEEDS.length + NEW_ORACLE_CONFIG.length + NEW_FALLBACK_ORACLE_CONFIG.length;
Lines changed: 53 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -397,29 +397,66 @@ export const NEW_TWT_ORACLE_CONFIG = {
397397

398398
export const NEW_ORACLE_CONFIG = [...NEW_STANDARD_ORACLE_CONFIG, NEW_TWT_ORACLE_CONFIG];
399399

400-
export const vip650 = () => {
400+
export const vip595 = () => {
401401
const meta = {
402402
version: "v2",
403-
title: "VIP-650 [BNB Chain] Two-Vendor OEV Integration - RedStone Oracle Feed Expansion",
403+
title: "VIP-595 [BNB Chain] RedStone Oracle Integration and Resilient Oracle Configuration Updates",
404404
description: `**Description:**
405405
406-
This proposal continues the Two-Vendor OEV Integration Framework adopted in [VIP-586](https://app.venus.io/#/governance/proposal/586) by expanding RedStone oracle coverage across the BSC Core Pool and adding fallback oracles for additional assets.
406+
This proposal is informed by the Venus community forum publication **RedStone Oracle Integration and Resilient Oracle Configuration Updates**.
407407
408-
It registers new RedStone price feeds for 13 additional assets, updates their resilient oracle configurations, and adds fallback oracle redundancy for BTCB, TRX, and USD1.
408+
It aims to strengthen price reliability and improve oracle redundancy on the BNB Chain Core Pool by introducing additional oracle sources and updating existing configurations.
409+
410+
As part of ongoing risk management improvements, this proposal continues the **Two-Vendor OEV Integration Framework** adopted in **VIP-586**, expanding multi-vendor coverage and enhancing fallback mechanisms across supported assets.
411+
412+
These changes introduce **RedStone** as an additional oracle provider and update **Resilient Oracle configurations** to ensure redundancy across **Chainlink, Binance, and RedStone**, reducing reliance on any single oracle source and improving protocol resilience against price discrepancies or oracle failures.
409413
410414
**Actions:**
411415
412-
- **Register new RedStone oracle feeds** for: XVS, LTC, BCH, DOT, LINK, DAI, FIL, DOGE, AAVE, UNI, FDUSD, TWT, SOL
413-
- **Update resilient oracle configurations:**
414-
- For XVS, LTC, BCH, DOT, LINK, DAI, FIL, DOGE, AAVE, UNI, FDUSD, SOL: Set MAIN=Chainlink, PIVOT=Binance, FALLBACK=RedStone
415-
- For TWT: Set MAIN=Binance, PIVOT=RedStone
416-
- For USDe: Set MAIN=USDT Chainlink, PIVOT=Chainlink, FALLBACK=RedStone
417-
- **Set BoundValidator config** for TWT (required since TWT previously had no PIVOT oracle)
418-
- **Add fallback oracles:**
419-
- BTCB: Add Binance as FALLBACK (MAIN=Chainlink, PIVOT=RedStone, FALLBACK=Binance)
420-
- TRX: Add Binance as FALLBACK (MAIN=Chainlink, PIVOT=RedStone, FALLBACK=Binance)
421-
- USD1: Update FALLBACK to Binance (MAIN=RedStone, PIVOT=Chainlink, FALLBACK=Binance)
422-
- **Configure Binance Oracle** for BTCB (symbol override BTCB→BTC), TRX, and USD1 feeds`,
416+
1. Register **13 new RedStone price feeds** with a **7-hour stale period** for the following assets: **XVS, LTC, BCH, DOT, LINK, DAI, FIL, DOGE, AAVE, UNI, FDUSD, TWT, SOL**
417+
2. Update **Resilient Oracle configurations** for standard assets:
418+
- **MAIN:** Chainlink
419+
- **PIVOT:** Binance
420+
- **FALLBACK:** RedStone
421+
3. Apply **asset-specific configurations:**
422+
- **TWT**
423+
- MAIN: Binance
424+
- PIVOT: RedStone
425+
- (No Chainlink USD feed available)
426+
- **USDe**
427+
- MAIN: Chainlink (via USDT)
428+
- PIVOT: Chainlink
429+
- FALLBACK: RedStone
430+
4. Add **BoundValidator configuration for TWT** to support the PIVOT oracle
431+
5. Introduce or update **fallback oracle configurations:**
432+
- **BTCB**
433+
- MAIN: Chainlink
434+
- PIVOT: RedStone
435+
- FALLBACK: Binance
436+
- **TRX**
437+
- MAIN: Chainlink
438+
- PIVOT: RedStone
439+
- FALLBACK: Binance
440+
- **USD1**
441+
- MAIN: RedStone
442+
- PIVOT: Chainlink
443+
- FALLBACK: Binance
444+
6. Update **Binance Oracle configuration:**
445+
- Symbol override: **BTCB → BTC**
446+
- Stale periods:
447+
- **BTC:** 25 minutes
448+
- **TRX / USD1:** 25 hours
449+
450+
**Summary:**
451+
452+
If approved, this VIP will:
453+
- Integrate **RedStone** as an additional oracle provider across multiple assets
454+
- Enhance **multi-vendor redundancy** using Chainlink, Binance, and RedStone
455+
- Improve **fallback coverage** for BTCB, TRX, and USD1
456+
- Strengthen **price validation mechanisms** with updated configurations and validators
457+
- Continue the rollout of the **Two-Vendor OEV Integration Framework** to improve protocol resilience
458+
459+
These updates aim to increase oracle reliability, reduce single-source dependency, and enhance the overall safety of the Venus Protocol.`,
423460
forDescription: "I agree that Venus Protocol should proceed with this proposal",
424461
againstDescription: "I do not think that Venus Protocol should proceed with this proposal",
425462
abstainDescription: "I am indifferent to whether Venus Protocol proceeds or not",
@@ -507,4 +544,4 @@ It registers new RedStone price feeds for 13 additional assets, updates their re
507544
);
508545
};
509546

510-
export default vip650;
547+
export default vip595;

0 commit comments

Comments
 (0)