mirror of
https://github.com/Instadapp/aave-protocol-v2.git
synced 2024-07-29 21:47:30 +00:00
fix incentives order
This commit is contained in:
parent
59e5bf418c
commit
5f34943922
|
@ -133,21 +133,21 @@ contract UiPoolDataProvider is IUiPoolDataProvider {
|
||||||
// incentives
|
// incentives
|
||||||
if (address(0) != address(incentivesController)) {
|
if (address(0) != address(incentivesController)) {
|
||||||
(
|
(
|
||||||
|
reserveData.aTokenIncentivesIndex,
|
||||||
reserveData.aEmissionPerSecond,
|
reserveData.aEmissionPerSecond,
|
||||||
reserveData.aIncentivesLastUpdateTimestamp,
|
reserveData.aIncentivesLastUpdateTimestamp
|
||||||
reserveData.aTokenIncentivesIndex
|
|
||||||
) = incentivesController.getAssetData(reserveData.aTokenAddress);
|
) = incentivesController.getAssetData(reserveData.aTokenAddress);
|
||||||
|
|
||||||
(
|
(
|
||||||
|
reserveData.sTokenIncentivesIndex,
|
||||||
reserveData.sEmissionPerSecond,
|
reserveData.sEmissionPerSecond,
|
||||||
reserveData.sIncentivesLastUpdateTimestamp,
|
reserveData.sIncentivesLastUpdateTimestamp
|
||||||
reserveData.sTokenIncentivesIndex
|
|
||||||
) = incentivesController.getAssetData(reserveData.stableDebtTokenAddress);
|
) = incentivesController.getAssetData(reserveData.stableDebtTokenAddress);
|
||||||
|
|
||||||
(
|
(
|
||||||
|
reserveData.vTokenIncentivesIndex,
|
||||||
reserveData.vEmissionPerSecond,
|
reserveData.vEmissionPerSecond,
|
||||||
reserveData.vIncentivesLastUpdateTimestamp,
|
reserveData.vIncentivesLastUpdateTimestamp
|
||||||
reserveData.vTokenIncentivesIndex
|
|
||||||
) = incentivesController.getAssetData(reserveData.variableDebtTokenAddress);
|
) = incentivesController.getAssetData(reserveData.variableDebtTokenAddress);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user