From 2694b0f7f815bbc1b247f7e8911f95c87cf65482 Mon Sep 17 00:00:00 2001 From: sendra Date: Wed, 17 Nov 2021 12:23:10 +0100 Subject: [PATCH] feat: added borrowableInIsolation field --- contracts/misc/interfaces/IUiPoolDataProvider.sol | 2 ++ tasks/deployments/deploy-UiPoolDataProvider.ts | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/contracts/misc/interfaces/IUiPoolDataProvider.sol b/contracts/misc/interfaces/IUiPoolDataProvider.sol index 6d0866f5..03a1d096 100644 --- a/contracts/misc/interfaces/IUiPoolDataProvider.sol +++ b/contracts/misc/interfaces/IUiPoolDataProvider.sol @@ -42,6 +42,7 @@ interface IUiPoolDataProvider { uint256 stableRateSlope1; uint256 stableRateSlope2; // v3 + bool isPaused; uint128 accruedToTreasury; uint128 unbacked; uint128 isolationModeTotalDebt; @@ -57,6 +58,7 @@ interface IUiPoolDataProvider { uint16 eModeLiquidationBonus; address eModePriceSource; string eModeLabel; + bool borrowableInIsolation; } struct UserReserveData { diff --git a/tasks/deployments/deploy-UiPoolDataProvider.ts b/tasks/deployments/deploy-UiPoolDataProvider.ts index 879e226e..452acce2 100644 --- a/tasks/deployments/deploy-UiPoolDataProvider.ts +++ b/tasks/deployments/deploy-UiPoolDataProvider.ts @@ -16,7 +16,7 @@ task(`deploy-${eContractid.UiPoolDataProvider}`, `Deploys the UiPoolDataProvider ); console.log( `\n- UiPoolDataProvider eth/usd price aggregator: ${ - chainlinkAggregatorProxy[localBRE.network.name] + chainlinkEthUsdAggregatorProxy[localBRE.network.name] }` ); console.log(`\n- UiPoolDataProvider deployment`);