mirror of
https://github.com/Instadapp/aave-protocol-v2.git
synced 2024-07-29 21:47:30 +00:00
fix: Fix matic market config details
This commit is contained in:
parent
69c826ba48
commit
8238da7095
|
@ -74,9 +74,9 @@ export const strategyUSDC: IReserveParams = {
|
||||||
|
|
||||||
export const strategyUSDT: IReserveParams = {
|
export const strategyUSDT: IReserveParams = {
|
||||||
strategy: rateStrategyStableThree,
|
strategy: rateStrategyStableThree,
|
||||||
baseLTVAsCollateral: '8000',
|
baseLTVAsCollateral: '0',
|
||||||
liquidationThreshold: '8500',
|
liquidationThreshold: '0',
|
||||||
liquidationBonus: '10500',
|
liquidationBonus: '0',
|
||||||
borrowingEnabled: true,
|
borrowingEnabled: true,
|
||||||
stableBorrowRateEnabled: true,
|
stableBorrowRateEnabled: true,
|
||||||
reserveDecimals: '6',
|
reserveDecimals: '6',
|
||||||
|
|
|
@ -78,11 +78,11 @@ export const CommonsConfig: ICommonConfiguration = {
|
||||||
},
|
},
|
||||||
LendingPool: {
|
LendingPool: {
|
||||||
[ePolygonNetwork.mumbai]: '0x9198F13B08E299d85E096929fA9781A1E3d5d827',
|
[ePolygonNetwork.mumbai]: '0x9198F13B08E299d85E096929fA9781A1E3d5d827',
|
||||||
[ePolygonNetwork.matic]: '',
|
[ePolygonNetwork.matic]: '0x8dFf5E27EA6b7AC08EbFdf9eB090F32ee9a30fcf',
|
||||||
},
|
},
|
||||||
LendingPoolConfigurator: {
|
LendingPoolConfigurator: {
|
||||||
[ePolygonNetwork.mumbai]: '0xc3c37E2aA3dc66464fa3C29ce2a6EC85beFC45e1',
|
[ePolygonNetwork.mumbai]: '0xc3c37E2aA3dc66464fa3C29ce2a6EC85beFC45e1',
|
||||||
[ePolygonNetwork.matic]: '',
|
[ePolygonNetwork.matic]: '0x26db2B833021583566323E3b8985999981b9F1F3',
|
||||||
},
|
},
|
||||||
ProviderRegistry: {
|
ProviderRegistry: {
|
||||||
[ePolygonNetwork.mumbai]: '0xE6ef11C967898F9525D550014FDEdCFAB63536B5',
|
[ePolygonNetwork.mumbai]: '0xE6ef11C967898F9525D550014FDEdCFAB63536B5',
|
||||||
|
@ -98,7 +98,7 @@ export const CommonsConfig: ICommonConfiguration = {
|
||||||
},
|
},
|
||||||
LendingPoolCollateralManager: {
|
LendingPoolCollateralManager: {
|
||||||
[ePolygonNetwork.mumbai]: '0x2A7004B21c49253ca8DF923406Fed9a02AA86Ba0',
|
[ePolygonNetwork.mumbai]: '0x2A7004B21c49253ca8DF923406Fed9a02AA86Ba0',
|
||||||
[ePolygonNetwork.matic]: '',
|
[ePolygonNetwork.matic]: '0xA39599424642D9fD35e475EF802EddF798dc555B',
|
||||||
},
|
},
|
||||||
TokenDistributor: {
|
TokenDistributor: {
|
||||||
[ePolygonNetwork.mumbai]: '',
|
[ePolygonNetwork.mumbai]: '',
|
||||||
|
@ -106,7 +106,7 @@ export const CommonsConfig: ICommonConfiguration = {
|
||||||
},
|
},
|
||||||
WethGateway: {
|
WethGateway: {
|
||||||
[ePolygonNetwork.mumbai]: '0xee9eE614Ad26963bEc1Bec0D2c92879ae1F209fA',
|
[ePolygonNetwork.mumbai]: '0xee9eE614Ad26963bEc1Bec0D2c92879ae1F209fA',
|
||||||
[ePolygonNetwork.matic]: '',
|
[ePolygonNetwork.matic]: '0xbEadf48d62aCC944a06EEaE0A9054A90E5A7dc97',
|
||||||
},
|
},
|
||||||
AaveOracle: {
|
AaveOracle: {
|
||||||
[ePolygonNetwork.mumbai]: '0xC365C653f7229894F93994CD0b30947Ab69Ff1D5',
|
[ePolygonNetwork.mumbai]: '0xC365C653f7229894F93994CD0b30947Ab69Ff1D5',
|
||||||
|
|
|
@ -18,7 +18,7 @@ import {
|
||||||
export const MaticConfig: IMaticConfiguration = {
|
export const MaticConfig: IMaticConfiguration = {
|
||||||
...CommonsConfig,
|
...CommonsConfig,
|
||||||
MarketId: 'Matic Market',
|
MarketId: 'Matic Market',
|
||||||
ProviderId: 3, // Unknown?
|
ProviderId: 3,
|
||||||
ReservesConfig: {
|
ReservesConfig: {
|
||||||
DAI: strategyDAI,
|
DAI: strategyDAI,
|
||||||
USDC: strategyUSDC,
|
USDC: strategyUSDC,
|
||||||
|
|
Loading…
Reference in New Issue
Block a user