From dd157b118670d93925da450c740929d51bdc8fc6 Mon Sep 17 00:00:00 2001 From: 0xLucian <0xluciandev@gmail.com> Date: Wed, 11 Oct 2023 11:23:59 +0300 Subject: [PATCH] refactor: change vTreasury value to be referenced from preconfiguredAddresses object --- helpers/deploymentConfig.ts | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/helpers/deploymentConfig.ts b/helpers/deploymentConfig.ts index 7fa9bf517..dfdffce34 100644 --- a/helpers/deploymentConfig.ts +++ b/helpers/deploymentConfig.ts @@ -134,7 +134,7 @@ const preconfiguredAddresses = { Shortfall: "0xf37530A8a810Fcb501AA0Ecd0B0699388F0F2209", }, sepolia: { - VTreasury: "0xD51008eAe81475b542638433a617f5f4171b39ee", + VTreasury: "0xFc43c055B9be2Ec3BEe6f8C291Af862d764016a0", NormalTimelock: SEPOLIA_MULTISIG, FastTrackTimelock: SEPOLIA_MULTISIG, CriticalTimelock: SEPOLIA_MULTISIG, @@ -2169,7 +2169,7 @@ export const globalConfig: NetworkConfig = { initialSupply: convertToUnit(1, 8), // 1 WBTC supplyCap: convertToUnit(100, 8), borrowCap: convertToUnit(50, 8), - vTokenReceiver: "0xFc43c055B9be2Ec3BEe6f8C291Af862d764016a0", + vTokenReceiver: preconfiguredAddresses.sepolia.VTreasury, }, { name: "Venus WETH (Core)", @@ -2186,7 +2186,7 @@ export const globalConfig: NetworkConfig = { initialSupply: convertToUnit(10, 18), // 10 WETH supplyCap: convertToUnit(1000, 18), borrowCap: convertToUnit(500, 18), - vTokenReceiver: "0xFc43c055B9be2Ec3BEe6f8C291Af862d764016a0", + vTokenReceiver: preconfiguredAddresses.sepolia.VTreasury, }, { name: "Venus USDT (Core)", @@ -2203,7 +2203,7 @@ export const globalConfig: NetworkConfig = { initialSupply: convertToUnit(10_000, 6), // 10,000 USDT supplyCap: convertToUnit(1_000_000, 6), borrowCap: convertToUnit(500_000, 6), - vTokenReceiver: "0xFc43c055B9be2Ec3BEe6f8C291Af862d764016a0" + vTokenReceiver: preconfiguredAddresses.sepolia.VTreasury }, { name: "Venus USDC (Core)", @@ -2220,7 +2220,7 @@ export const globalConfig: NetworkConfig = { initialSupply: convertToUnit(10_000, 6), // 10,000 USDC supplyCap: convertToUnit(1_000_000, 6), borrowCap: convertToUnit(500_000, 6), - vTokenReceiver: "0xFc43c055B9be2Ec3BEe6f8C291Af862d764016a0" + vTokenReceiver: preconfiguredAddresses.sepolia.VTreasury }, ], rewards: [],