@@ -25,7 +25,7 @@ contract UiPoolDataProvider is IUiPoolDataProvider {
2525 using UserConfiguration for DataTypes.UserConfigurationMap;
2626
2727 address public constant MOCK_USD_ADDRESS = 0x10F7Fc1F91Ba351f9C629c5947AD69bD03C05b96 ;
28- IAaveIncentivesController public immutable incentivesController;
28+ IAaveIncentivesController public immutable override incentivesController;
2929 IPriceOracleGetter public immutable oracle;
3030
3131 constructor (IAaveIncentivesController _incentivesController , IPriceOracleGetter _oracle ) public {
@@ -138,23 +138,23 @@ contract UiPoolDataProvider is IUiPoolDataProvider {
138138 // incentives
139139 if (address (0 ) != address (incentivesController)) {
140140 (
141- reserveData.aTokenIncentivesIndex,
142141 reserveData.aEmissionPerSecond,
143- reserveData.aIncentivesLastUpdateTimestamp
142+ reserveData.aIncentivesLastUpdateTimestamp,
143+ reserveData.aTokenIncentivesIndex
144144 // ) = incentivesController.getAssetData(reserveData.aTokenAddress); TODO: temp fix
145145 ) = incentivesController.assets (reserveData.aTokenAddress);
146146
147147 (
148- reserveData.sTokenIncentivesIndex,
149148 reserveData.sEmissionPerSecond,
150- reserveData.sIncentivesLastUpdateTimestamp
149+ reserveData.sIncentivesLastUpdateTimestamp,
150+ reserveData.sTokenIncentivesIndex
151151 // ) = incentivesController.getAssetData(reserveData.stableDebtTokenAddress); TODO: temp fix
152152 ) = incentivesController.assets (reserveData.stableDebtTokenAddress);
153153
154154 (
155- reserveData.vTokenIncentivesIndex,
156155 reserveData.vEmissionPerSecond,
157- reserveData.vIncentivesLastUpdateTimestamp
156+ reserveData.vIncentivesLastUpdateTimestamp,
157+ reserveData.vTokenIncentivesIndex
158158 // ) = incentivesController.getAssetData(reserveData.variableDebtTokenAddress); TODO: temp fix
159159 ) = incentivesController.assets (reserveData.variableDebtTokenAddress);
160160 }
0 commit comments