From de1ab95318fe700b2414a5ed96199fd70e27febe Mon Sep 17 00:00:00 2001 From: sendra Date: Mon, 4 Oct 2021 19:06:56 +0200 Subject: [PATCH] fix: fixed order --- contracts/misc/UiPoolDataProvider.sol | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/contracts/misc/UiPoolDataProvider.sol b/contracts/misc/UiPoolDataProvider.sol index 2a15dc44..f52d8ff5 100644 --- a/contracts/misc/UiPoolDataProvider.sol +++ b/contracts/misc/UiPoolDataProvider.sol @@ -109,7 +109,7 @@ contract UiPoolDataProvider is IUiPoolDataProvider { // reserve configuration // we're getting this info from the aToken, because some of assets can be not compliant with ETC20Detailed - reserveData.symbol = IERC20Detailed(reserveData.underlyingAsset).symbol(); + reserveData.symbol = IERC20Detailed(reserveData.aTokenAddress).symbol(); reserveData.name = ''; ( @@ -139,22 +139,22 @@ contract UiPoolDataProvider is IUiPoolDataProvider { if (address(0) != address(incentivesController)) { ( reserveData.aEmissionPerSecond, - reserveData.aIncentivesLastUpdateTimestamp, reserveData.aTokenIncentivesIndex + reserveData.aIncentivesLastUpdateTimestamp, // ) = incentivesController.getAssetData(reserveData.aTokenAddress); TODO: temp fix ) = incentivesController.assets(reserveData.aTokenAddress); ( reserveData.sEmissionPerSecond, - reserveData.sIncentivesLastUpdateTimestamp, reserveData.sTokenIncentivesIndex + reserveData.sIncentivesLastUpdateTimestamp, // ) = incentivesController.getAssetData(reserveData.stableDebtTokenAddress); TODO: temp fix ) = incentivesController.assets(reserveData.stableDebtTokenAddress); ( reserveData.vEmissionPerSecond, - reserveData.vIncentivesLastUpdateTimestamp, reserveData.vTokenIncentivesIndex + reserveData.vIncentivesLastUpdateTimestamp, // ) = incentivesController.getAssetData(reserveData.variableDebtTokenAddress); TODO: temp fix ) = incentivesController.assets(reserveData.variableDebtTokenAddress); } @@ -286,7 +286,7 @@ contract UiPoolDataProvider is IUiPoolDataProvider { // reserve configuration // we're getting this info from the aToken, because some of assets can be not compliant with ETC20Detailed - reserveData.symbol = IERC20Detailed(reserveData.underlyingAsset).symbol(); + reserveData.symbol = IERC20Detailed(reserveData.aTokenAddress).symbol(); reserveData.name = ''; (