Skip to content

Commit 59ed739

Browse files
committed
added underlying symbol
1 parent 02016dc commit 59ed739

File tree

1 file changed

+7
-7
lines changed

1 file changed

+7
-7
lines changed

contracts/misc/UiPoolDataProvider.sol

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -109,7 +109,7 @@ contract UiPoolDataProvider is IUiPoolDataProvider {
109109
// reserve configuration
110110

111111
// we're getting this info from the aToken, because some of assets can be not compliant with ETC20Detailed
112-
reserveData.symbol = IERC20Detailed(reserveData.aTokenAddress).symbol();
112+
reserveData.symbol = IERC20Detailed(reserveData.underlyingAsset).symbol();
113113
reserveData.name = '';
114114

115115
(
@@ -142,13 +142,13 @@ contract UiPoolDataProvider is IUiPoolDataProvider {
142142
reserveData.aEmissionPerSecond,
143143
reserveData.aIncentivesLastUpdateTimestamp
144144
) = incentivesController.getAssetData(reserveData.aTokenAddress);
145-
145+
146146
(
147147
reserveData.sTokenIncentivesIndex,
148148
reserveData.sEmissionPerSecond,
149149
reserveData.sIncentivesLastUpdateTimestamp
150150
) = incentivesController.getAssetData(reserveData.stableDebtTokenAddress);
151-
151+
152152
(
153153
reserveData.vTokenIncentivesIndex,
154154
reserveData.vEmissionPerSecond,
@@ -283,7 +283,7 @@ contract UiPoolDataProvider is IUiPoolDataProvider {
283283
// reserve configuration
284284

285285
// we're getting this info from the aToken, because some of assets can be not compliant with ETC20Detailed
286-
reserveData.symbol = IERC20Detailed(reserveData.aTokenAddress).symbol();
286+
reserveData.symbol = IERC20Detailed(reserveData.underlyingAsset).symbol();
287287
reserveData.name = '';
288288

289289
(
@@ -315,14 +315,14 @@ contract UiPoolDataProvider is IUiPoolDataProvider {
315315
reserveData.aTokenIncentivesIndex,
316316
reserveData.aEmissionPerSecond,
317317
reserveData.aIncentivesLastUpdateTimestamp
318-
) = incentivesController.getAssetData(reserveData.aTokenAddress);
319-
318+
) = incentivesController.getAssetData(reserveData.aTokenAddress);
319+
320320
(
321321
reserveData.sTokenIncentivesIndex,
322322
reserveData.sEmissionPerSecond,
323323
reserveData.sIncentivesLastUpdateTimestamp
324324
) = incentivesController.getAssetData(reserveData.stableDebtTokenAddress);
325-
325+
326326
(
327327
reserveData.vTokenIncentivesIndex,
328328
reserveData.vEmissionPerSecond,

0 commit comments

Comments
 (0)