Skip to content

Commit 02016dc

Browse files
committed
fix: remove comments and indentation
2 parents c49bac2 + de2e710 commit 02016dc

File tree

1 file changed

+12
-18
lines changed

1 file changed

+12
-18
lines changed

contracts/misc/UiPoolDataProvider.sol

Lines changed: 12 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -138,25 +138,22 @@ 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);
146145

147146
(
148-
reserveData.sEmissionPerSecond,
149147
reserveData.sTokenIncentivesIndex,
148+
reserveData.sEmissionPerSecond,
150149
reserveData.sIncentivesLastUpdateTimestamp
151-
// ) = incentivesController.getAssetData(reserveData.stableDebtTokenAddress); TODO: temp fix
152-
) = incentivesController.assets(reserveData.stableDebtTokenAddress);
150+
) = incentivesController.getAssetData(reserveData.stableDebtTokenAddress);
153151

154152
(
155-
reserveData.vEmissionPerSecond,
156153
reserveData.vTokenIncentivesIndex,
154+
reserveData.vEmissionPerSecond,
157155
reserveData.vIncentivesLastUpdateTimestamp
158-
// ) = incentivesController.getAssetData(reserveData.variableDebtTokenAddress); TODO: temp fix
159-
) = incentivesController.assets(reserveData.variableDebtTokenAddress);
156+
) = incentivesController.getAssetData(reserveData.variableDebtTokenAddress);
160157
}
161158
}
162159

@@ -315,25 +312,22 @@ contract UiPoolDataProvider is IUiPoolDataProvider {
315312
// incentives
316313
if (address(0) != address(incentivesController)) {
317314
(
318-
reserveData.aEmissionPerSecond,
319315
reserveData.aTokenIncentivesIndex,
316+
reserveData.aEmissionPerSecond,
320317
reserveData.aIncentivesLastUpdateTimestamp
321-
// ) = incentivesController.getAssetData(reserveData.aTokenAddress); TODO: temp fix
322-
) = incentivesController.assets(reserveData.aTokenAddress);
318+
) = incentivesController.getAssetData(reserveData.aTokenAddress);
323319

324320
(
325-
reserveData.sEmissionPerSecond,
326321
reserveData.sTokenIncentivesIndex,
322+
reserveData.sEmissionPerSecond,
327323
reserveData.sIncentivesLastUpdateTimestamp
328-
// ) = incentivesController.getAssetData(reserveData.stableDebtTokenAddress); TODO: temp fix
329-
) = incentivesController.assets(reserveData.stableDebtTokenAddress);
324+
) = incentivesController.getAssetData(reserveData.stableDebtTokenAddress);
330325

331326
(
332-
reserveData.vEmissionPerSecond,
333327
reserveData.vTokenIncentivesIndex,
328+
reserveData.vEmissionPerSecond,
334329
reserveData.vIncentivesLastUpdateTimestamp
335-
// ) = incentivesController.getAssetData(reserveData.variableDebtTokenAddress); TODO: temp fix
336-
) = incentivesController.assets(reserveData.variableDebtTokenAddress);
330+
) = incentivesController.getAssetData(reserveData.variableDebtTokenAddress);
337331
}
338332

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

0 commit comments

Comments
 (0)