Skip to content

[VPD-1390]: [Critical VIP] set direct price of SXP market#720

Open
Debugger022 wants to merge 5 commits into
mainfrom
feat/VPD-1390
Open

[VPD-1390]: [Critical VIP] set direct price of SXP market#720
Debugger022 wants to merge 5 commits into
mainfrom
feat/VPD-1390

Conversation

@Debugger022

@Debugger022 Debugger022 commented Jun 12, 2026

Copy link
Copy Markdown
Contributor

VIP-632: [BNB Chain] Set SXP Direct Price to 0.00046 USD

Summary

This Critical VIP sets a fixed direct price of 0.00046 USD for the SXP market on the Venus Chainlink oracle, after Chainlink retired the SXP/USD price feed this week.

Description

SXP (Swipe) migrated and rebranded to Solar on a separate chain, and the SXP market on Venus BNB Chain has been paused for an extended period, holding only residual positions. Following the April 2026 delisting of Solar (SXP) from major venues, SXP liquidity has collapsed and its price has fallen to near zero. Chainlink has decided to retire the SXP/USD price feed, and switched it off this week. With the feed no longer reporting, the Venus oracle can no longer obtain a valid price for SXP, which can cause price reads to revert and block repayments and liquidations. This proposal sets a fixed direct price of 0.00046 USD on the Chainlink oracle, making it return a deterministic value for SXP independent of the retired feed. No other change is made and no risk parameters are modified.

Actions

This VIP performs the following action on BNB Chain:

  1. Set SXP direct price — Calls setDirectPrice(0x47BEAd2563dCBf3bF2c9407fEa4dC236fAbA485A, 460000000000000) on the Chainlink oracle (0x1B2103441A0A108daD8848D8F5d790e4D402921F), fixing the SXP price at 0.00046 USD (scaled to 1e18 for an 18-decimal asset).

Voting options

  • For — Execute the proposal
  • Against — Do not execute the proposal
  • Abstain — Indifferent to execution

Simulation

The mainnet simulation reproduces the user-facing lockout pre-VIP (borrow / exitMarket revert with invalid resilient oracle price for an affected account) and verifies post-VIP that the account can price all entered markets, regains positive liquidity, actually receives borrowed funds, and can exit the SXP market.

SXP price needs fixing on the Chainlink oracle; set as a CRITICAL VIP for
fast execution. Calls setDirectPrice(SXP, 0.00046e18) and asserts the
PricePosted event + post-VIP price in simulation.
@Debugger022 Debugger022 self-assigned this Jun 12, 2026
@Debugger022 Debugger022 changed the title [VPD-1390]: [Critical VIP] set SXP direct price of SXP market [VPD-1390]: [Critical VIP] set direct price of SXP market Jun 12, 2026
Extend the simulation beyond the oracle storage check: reproduce the
user-facing lockout pre-VIP (borrow / exitMarket revert with 'invalid
resilient oracle price' for an affected account) and prove post-VIP that
the account can price all entered markets, regains positive liquidity,
actually receives borrowed funds, and can exit the SXP market.

Feeds of the other entered assets are pinned with extended stale periods
(every enabled main/pivot/fallback leg) so the hours mined by testVip on
the frozen fork don't produce false staleness reverts.
@fred-venus

Copy link
Copy Markdown
Contributor

the command lgtm, asked ai to add some more simulation tests

Debugger022 and others added 3 commits June 12, 2026 11:53
Renamed dirs, identifiers, title, import path, and describe strings from
631 to 632 to claim the correct proposal number.
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.

2 participants