From c4c94972304bee2ce27bc3472ce4a77f9aacf032 Mon Sep 17 00:00:00 2001 From: therealemjy Date: Fri, 12 Sep 2025 13:27:51 +0200 Subject: [PATCH] feat: add Core Pool WBNB market NativeTokenGateway contract record --- .changeset/dark-cows-see.md | 5 +++++ apps/evm/src/hooks/useIsFeatureEnabled/index.tsx | 2 +- apps/evm/src/libs/contracts/config/index.ts | 4 ++++ 3 files changed, 10 insertions(+), 1 deletion(-) create mode 100644 .changeset/dark-cows-see.md diff --git a/.changeset/dark-cows-see.md b/.changeset/dark-cows-see.md new file mode 100644 index 0000000000..d4b084fcb2 --- /dev/null +++ b/.changeset/dark-cows-see.md @@ -0,0 +1,5 @@ +--- +"@venusprotocol/evm": minor +--- + +add Core Pool WBNB market NativeTokenGateway contract record diff --git a/apps/evm/src/hooks/useIsFeatureEnabled/index.tsx b/apps/evm/src/hooks/useIsFeatureEnabled/index.tsx index 550c195618..2da8f1f807 100644 --- a/apps/evm/src/hooks/useIsFeatureEnabled/index.tsx +++ b/apps/evm/src/hooks/useIsFeatureEnabled/index.tsx @@ -2,7 +2,7 @@ import { useChainId } from 'libs/wallet'; import { ChainId } from 'types'; export const featureFlags = { - integratedSwap: [ChainId.BSC_TESTNET], + integratedSwap: [ChainId.SEPOLIA], prime: [ ChainId.BSC_MAINNET, ChainId.BSC_TESTNET, diff --git a/apps/evm/src/libs/contracts/config/index.ts b/apps/evm/src/libs/contracts/config/index.ts index 3958b610c9..10d1c1fe63 100644 --- a/apps/evm/src/libs/contracts/config/index.ts +++ b/apps/evm/src/libs/contracts/config/index.ts @@ -782,11 +782,15 @@ export const contracts: ContractConfig[] = [ [isolatedPoolsBscTestnetDeployments.addresses.Comptroller_LiquidStakedBNB.toLowerCase() as Address]: isolatedPoolsBscTestnetDeployments.addresses .NativeTokenGateway_vWBNB_LiquidStakedBNB as Address, + [venusProtocolBscTestnetDeployments.addresses.Unitroller_Proxy.toLowerCase() as Address]: + '0xF34AAfc540Adc827A84736553BD29DE87a117558', // TODO: get from venus-periphery contract, }, [ChainId.BSC_MAINNET]: { [isolatedPoolsBscMainnetDeployments.addresses.Comptroller_LiquidStakedBNB.toLowerCase() as Address]: isolatedPoolsBscMainnetDeployments.addresses .NativeTokenGateway_vWBNB_LiquidStakedBNB as Address, + [venusProtocolBscMainnetDeployments.addresses.Unitroller_Proxy.toLowerCase() as Address]: + '0x5143eb18aA057Cd8BC9734cCfD2651823e71585f', // TODO: get from venus-periphery contract, }, [ChainId.OPBNB_MAINNET]: { [isolatedPoolsOpBnbMainnetDeployments.addresses.Comptroller_Core.toLowerCase() as Address]: