Skip to content

Commit de2e710

Browse files
committed
feat: new getter
1 parent de1ab95 commit de2e710

File tree

1 file changed

+18
-18
lines changed

1 file changed

+18
-18
lines changed

contracts/misc/UiPoolDataProvider.sol

Lines changed: 18 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -138,25 +138,25 @@ contract UiPoolDataProvider is IUiPoolDataProvider {
138138
// incentives
139139
if (address(0) != address(incentivesController)) {
140140
(
141-
reserveData.aEmissionPerSecond,
142141
reserveData.aTokenIncentivesIndex
142+
reserveData.aEmissionPerSecond,
143143
reserveData.aIncentivesLastUpdateTimestamp,
144-
// ) = incentivesController.getAssetData(reserveData.aTokenAddress); TODO: temp fix
145-
) = incentivesController.assets(reserveData.aTokenAddress);
144+
) = incentivesController.getAssetData(reserveData.aTokenAddress); TODO: temp fix
145+
// ) = incentivesController.assets(reserveData.aTokenAddress);
146146

147147
(
148+
reserveData.sTokenIncentivesIndex,
148149
reserveData.sEmissionPerSecond,
149-
reserveData.sTokenIncentivesIndex
150150
reserveData.sIncentivesLastUpdateTimestamp,
151-
// ) = incentivesController.getAssetData(reserveData.stableDebtTokenAddress); TODO: temp fix
152-
) = incentivesController.assets(reserveData.stableDebtTokenAddress);
151+
) = incentivesController.getAssetData(reserveData.stableDebtTokenAddress); TODO: temp fix
152+
// ) = incentivesController.assets(reserveData.stableDebtTokenAddress);
153153

154154
(
155+
reserveData.vTokenIncentivesIndex,
155156
reserveData.vEmissionPerSecond,
156-
reserveData.vTokenIncentivesIndex
157157
reserveData.vIncentivesLastUpdateTimestamp,
158-
// ) = incentivesController.getAssetData(reserveData.variableDebtTokenAddress); TODO: temp fix
159-
) = incentivesController.assets(reserveData.variableDebtTokenAddress);
158+
) = incentivesController.getAssetData(reserveData.variableDebtTokenAddress); TODO: temp fix
159+
// ) = incentivesController.assets(reserveData.variableDebtTokenAddress);
160160
}
161161
}
162162

@@ -315,25 +315,25 @@ contract UiPoolDataProvider is IUiPoolDataProvider {
315315
// incentives
316316
if (address(0) != address(incentivesController)) {
317317
(
318-
reserveData.aEmissionPerSecond,
319318
reserveData.aTokenIncentivesIndex,
319+
reserveData.aEmissionPerSecond,
320320
reserveData.aIncentivesLastUpdateTimestamp
321-
// ) = incentivesController.getAssetData(reserveData.aTokenAddress); TODO: temp fix
322-
) = incentivesController.assets(reserveData.aTokenAddress);
321+
) = incentivesController.getAssetData(reserveData.aTokenAddress); TODO: temp fix
322+
// ) = incentivesController.assets(reserveData.aTokenAddress);
323323

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

331331
(
332-
reserveData.vEmissionPerSecond,
333332
reserveData.vTokenIncentivesIndex,
333+
reserveData.vEmissionPerSecond,
334334
reserveData.vIncentivesLastUpdateTimestamp
335-
// ) = incentivesController.getAssetData(reserveData.variableDebtTokenAddress); TODO: temp fix
336-
) = incentivesController.assets(reserveData.variableDebtTokenAddress);
335+
) = incentivesController.getAssetData(reserveData.variableDebtTokenAddress); TODO: temp fix
336+
// ) = incentivesController.assets(reserveData.variableDebtTokenAddress);
337337
}
338338

339339
if (user != address(0)) {

0 commit comments

Comments
 (0)