mirror of
https://github.com/Instadapp/aave-protocol-v2.git
synced 2024-07-29 21:47:30 +00:00
fix: Change the order of return variables of incentives getAssetData
This commit is contained in:
parent
9df1502f22
commit
7ffb0e573f
|
@ -132,21 +132,21 @@ contract UiPoolDataProvider is IUiPoolDataProvider {
|
||||||
|
|
||||||
// incentives
|
// incentives
|
||||||
(
|
(
|
||||||
|
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);
|
||||||
|
|
||||||
if (user != address(0)) {
|
if (user != address(0)) {
|
||||||
|
|
Loading…
Reference in New Issue
Block a user