From 8238da70950c2a3adb8fbd4cb6cc2365c98e85b8 Mon Sep 17 00:00:00 2001 From: miguelmtzinf Date: Wed, 29 Sep 2021 17:53:07 +0200 Subject: [PATCH] fix: Fix matic market config details --- markets/aave/reservesConfigs.ts | 6 +++--- markets/matic/commons.ts | 8 ++++---- markets/matic/index.ts | 2 +- 3 files changed, 8 insertions(+), 8 deletions(-) diff --git a/markets/aave/reservesConfigs.ts b/markets/aave/reservesConfigs.ts index a29e16d7..501d9e46 100644 --- a/markets/aave/reservesConfigs.ts +++ b/markets/aave/reservesConfigs.ts @@ -74,9 +74,9 @@ export const strategyUSDC: IReserveParams = { export const strategyUSDT: IReserveParams = { strategy: rateStrategyStableThree, - baseLTVAsCollateral: '8000', - liquidationThreshold: '8500', - liquidationBonus: '10500', + baseLTVAsCollateral: '0', + liquidationThreshold: '0', + liquidationBonus: '0', borrowingEnabled: true, stableBorrowRateEnabled: true, reserveDecimals: '6', diff --git a/markets/matic/commons.ts b/markets/matic/commons.ts index 49d2e0b1..23173af5 100644 --- a/markets/matic/commons.ts +++ b/markets/matic/commons.ts @@ -78,11 +78,11 @@ export const CommonsConfig: ICommonConfiguration = { }, LendingPool: { [ePolygonNetwork.mumbai]: '0x9198F13B08E299d85E096929fA9781A1E3d5d827', - [ePolygonNetwork.matic]: '', + [ePolygonNetwork.matic]: '0x8dFf5E27EA6b7AC08EbFdf9eB090F32ee9a30fcf', }, LendingPoolConfigurator: { [ePolygonNetwork.mumbai]: '0xc3c37E2aA3dc66464fa3C29ce2a6EC85beFC45e1', - [ePolygonNetwork.matic]: '', + [ePolygonNetwork.matic]: '0x26db2B833021583566323E3b8985999981b9F1F3', }, ProviderRegistry: { [ePolygonNetwork.mumbai]: '0xE6ef11C967898F9525D550014FDEdCFAB63536B5', @@ -98,7 +98,7 @@ export const CommonsConfig: ICommonConfiguration = { }, LendingPoolCollateralManager: { [ePolygonNetwork.mumbai]: '0x2A7004B21c49253ca8DF923406Fed9a02AA86Ba0', - [ePolygonNetwork.matic]: '', + [ePolygonNetwork.matic]: '0xA39599424642D9fD35e475EF802EddF798dc555B', }, TokenDistributor: { [ePolygonNetwork.mumbai]: '', @@ -106,7 +106,7 @@ export const CommonsConfig: ICommonConfiguration = { }, WethGateway: { [ePolygonNetwork.mumbai]: '0xee9eE614Ad26963bEc1Bec0D2c92879ae1F209fA', - [ePolygonNetwork.matic]: '', + [ePolygonNetwork.matic]: '0xbEadf48d62aCC944a06EEaE0A9054A90E5A7dc97', }, AaveOracle: { [ePolygonNetwork.mumbai]: '0xC365C653f7229894F93994CD0b30947Ab69Ff1D5', diff --git a/markets/matic/index.ts b/markets/matic/index.ts index ba89c313..d29564d9 100644 --- a/markets/matic/index.ts +++ b/markets/matic/index.ts @@ -18,7 +18,7 @@ import { export const MaticConfig: IMaticConfiguration = { ...CommonsConfig, MarketId: 'Matic Market', - ProviderId: 3, // Unknown? + ProviderId: 3, ReservesConfig: { DAI: strategyDAI, USDC: strategyUSDC,