Skip to content

Conversation

web3rover
Copy link
Contributor

Description

Resolves VEN

@web3rover web3rover self-assigned this Sep 9, 2025
@GitGuru7
Copy link
Contributor

Please verify the newly deployed contracts and add simulations to confirm the diamond cut updates for both facet addresses and their selectors. The command and facet selectors look good to me. Just to confirm—we’re intentionally updating the target of venusInitialIndex() from MarketFacet to RewardFacet, right?

Comment on lines 76 to 77
await expectEvents(txResponse, [DIAMOND_ABI], ["DiamondCut"], [1]);
await expectEvents(txResponse, [UNITROLLER_ABI], ["NewImplementation"], [36]);
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I would also check for the NewPendingImplementation event.

export const DIAMOND = "0x649616739bab52E2A98BC74d93c896Ca45944359";
export const COMPTROLLER_LENS = "0x3ec96D6a9a14ee57aB83F81BB7386EBE515936D1";
export const LIQUIDATOR = "0x55AEABa76ecf144031Ef64E222166eb28Cb4865F";
export const LIQUIDATOR_IMPL = "0xe442A62E3B1956EC5B42e06aA0E293A0cB300406";
Copy link
Contributor

@Debugger022 Debugger022 Sep 10, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We should set the treasuryPercent for the new liquidator in the VIP command.

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The liquidation process doesn't change in the updated contracts. I don't see why we should set the treasury percentage in the VIP. The current value should be valid, right?

Copy link
Contributor

@kkirka kkirka left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Testnet commands LGTM

chechu and others added 3 commits September 10, 2025 18:42
UST and LUNA were delisted

venusInitialIndex is set to the MarketFacet, not to the RewardFacet.
It could be set to any facet, but let's keep it as it is
@chechu
Copy link
Member

chechu commented Sep 10, 2025

vWBETH: "0x6CFdEc747f37DAf3b87a35a1D9c8AD3063A1A8A0",
vXRP: "0xB248a295732e0225acd3337607cc01068e3b9c10",
vxSolvBTC: "0xd804dE60aFD05EE6B89aab5D152258fD461B07D5",
vXVS: "0x151B1e2635A717bcDc836ECd6FbB62B674FE3E1D",
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We'll have to add the new WBNB market, after enabling it

@web3rover web3rover marked this pull request as ready for review September 11, 2025 10:09
kkirka
kkirka previously approved these changes Sep 11, 2025
Copy link
Contributor

@kkirka kkirka left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

bscmainnet addresses, commands and cut params LGTM

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.

5 participants