Skip to content

Commit d33b3c5

Browse files
committed
fix: fixed incentive controller order
1 parent 025a988 commit d33b3c5

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

contracts/misc/UiPoolDataProvider.sol

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -315,22 +315,22 @@ contract UiPoolDataProvider is IUiPoolDataProvider {
315315
// incentives
316316
if (address(0) != address(incentivesController)) {
317317
(
318-
reserveData.aTokenIncentivesIndex,
319318
reserveData.aEmissionPerSecond,
319+
reserveData.aTokenIncentivesIndex,
320320
reserveData.aIncentivesLastUpdateTimestamp
321321
// ) = incentivesController.getAssetData(reserveData.aTokenAddress); TODO: temp fix
322322
) = incentivesController.assets(reserveData.aTokenAddress);
323323

324324
(
325-
reserveData.sTokenIncentivesIndex,
326325
reserveData.sEmissionPerSecond,
326+
reserveData.sTokenIncentivesIndex,
327327
reserveData.sIncentivesLastUpdateTimestamp
328328
// ) = incentivesController.getAssetData(reserveData.stableDebtTokenAddress); TODO: temp fix
329329
) = incentivesController.assets(reserveData.stableDebtTokenAddress);
330330

331331
(
332-
reserveData.vTokenIncentivesIndex,
333332
reserveData.vEmissionPerSecond,
333+
reserveData.vTokenIncentivesIndex,
334334
reserveData.vIncentivesLastUpdateTimestamp
335335
// ) = incentivesController.getAssetData(reserveData.variableDebtTokenAddress); TODO: temp fix
336336
) = incentivesController.assets(reserveData.variableDebtTokenAddress);

0 commit comments

Comments
 (0)