From d33b3c55a1617e86b2c2725b5c670bdda275bfe7 Mon Sep 17 00:00:00 2001 From: sendra Date: Mon, 4 Oct 2021 18:54:01 +0200 Subject: [PATCH] fix: fixed incentive controller order --- contracts/misc/UiPoolDataProvider.sol | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/contracts/misc/UiPoolDataProvider.sol b/contracts/misc/UiPoolDataProvider.sol index e9f40fe5..0963e2aa 100644 --- a/contracts/misc/UiPoolDataProvider.sol +++ b/contracts/misc/UiPoolDataProvider.sol @@ -315,22 +315,22 @@ contract UiPoolDataProvider is IUiPoolDataProvider { // incentives if (address(0) != address(incentivesController)) { ( - reserveData.aTokenIncentivesIndex, reserveData.aEmissionPerSecond, + reserveData.aTokenIncentivesIndex, reserveData.aIncentivesLastUpdateTimestamp // ) = incentivesController.getAssetData(reserveData.aTokenAddress); TODO: temp fix ) = incentivesController.assets(reserveData.aTokenAddress); ( - reserveData.sTokenIncentivesIndex, reserveData.sEmissionPerSecond, + reserveData.sTokenIncentivesIndex, reserveData.sIncentivesLastUpdateTimestamp // ) = incentivesController.getAssetData(reserveData.stableDebtTokenAddress); TODO: temp fix ) = incentivesController.assets(reserveData.stableDebtTokenAddress); ( - reserveData.vTokenIncentivesIndex, reserveData.vEmissionPerSecond, + reserveData.vTokenIncentivesIndex, reserveData.vIncentivesLastUpdateTimestamp // ) = incentivesController.getAssetData(reserveData.variableDebtTokenAddress); TODO: temp fix ) = incentivesController.assets(reserveData.variableDebtTokenAddress);