fix bad merge mistakes

This commit is contained in:
andyk 2020-11-02 15:00:24 +03:00
parent 438ab0fca1
commit f5d7d0192d
2 changed files with 1211 additions and 6120 deletions

View File

@ -92,12 +92,8 @@ contract UiPoolDataProvider is IUiPoolDataProvider {
,
reserveData.averageStableRate,
reserveData.stableDebtLastUpdateTimestamp
) = IStableDebtToken(reserveData.baseData.stableDebtTokenAddress).getSupplyData();
reserveData.totalScaledVariableDebt = IVariableDebtToken(
reserveData
.baseData
.variableDebtTokenAddress
)
) = IStableDebtToken(reserveData.stableDebtTokenAddress).getSupplyData();
reserveData.totalScaledVariableDebt = IVariableDebtToken(reserveData.variableDebtTokenAddress)
.scaledTotalSupply();
// reserve configuration
@ -132,7 +128,7 @@ contract UiPoolDataProvider is IUiPoolDataProvider {
if (user != address(0)) {
// user reserve data
userReservesData[i].underlyingAsset = reserveData.underlyingAsset;
userReservesData[i].principalATokenBalance = IAToken(reserveData.aTokenAddress)
userReservesData[i].scaledATokenBalance = IAToken(reserveData.aTokenAddress)
.scaledBalanceOf(user);
userReservesData[i].usageAsCollateralEnabledOnUser = userConfig.isUsingAsCollateral(i);

7321
package-lock.json generated

File diff suppressed because it is too large Load Diff