Skip to content

Commit de1ab95

Browse files
committed
fix: fixed order
1 parent dab9f72 commit de1ab95

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

contracts/misc/UiPoolDataProvider.sol

Lines changed: 5 additions & 5 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.underlyingAsset).symbol();
112+
reserveData.symbol = IERC20Detailed(reserveData.aTokenAddress).symbol();
113113
reserveData.name = '';
114114

115115
(
@@ -139,22 +139,22 @@ contract UiPoolDataProvider is IUiPoolDataProvider {
139139
if (address(0) != address(incentivesController)) {
140140
(
141141
reserveData.aEmissionPerSecond,
142-
reserveData.aIncentivesLastUpdateTimestamp,
143142
reserveData.aTokenIncentivesIndex
143+
reserveData.aIncentivesLastUpdateTimestamp,
144144
// ) = incentivesController.getAssetData(reserveData.aTokenAddress); TODO: temp fix
145145
) = incentivesController.assets(reserveData.aTokenAddress);
146146

147147
(
148148
reserveData.sEmissionPerSecond,
149-
reserveData.sIncentivesLastUpdateTimestamp,
150149
reserveData.sTokenIncentivesIndex
150+
reserveData.sIncentivesLastUpdateTimestamp,
151151
// ) = incentivesController.getAssetData(reserveData.stableDebtTokenAddress); TODO: temp fix
152152
) = incentivesController.assets(reserveData.stableDebtTokenAddress);
153153

154154
(
155155
reserveData.vEmissionPerSecond,
156-
reserveData.vIncentivesLastUpdateTimestamp,
157156
reserveData.vTokenIncentivesIndex
157+
reserveData.vIncentivesLastUpdateTimestamp,
158158
// ) = incentivesController.getAssetData(reserveData.variableDebtTokenAddress); TODO: temp fix
159159
) = incentivesController.assets(reserveData.variableDebtTokenAddress);
160160
}
@@ -286,7 +286,7 @@ contract UiPoolDataProvider is IUiPoolDataProvider {
286286
// reserve configuration
287287

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

292292
(

0 commit comments

Comments
 (0)