mirror of
https://github.com/Instadapp/aave-protocol-v2.git
synced 2024-07-29 21:47:30 +00:00
feat: new getter
This commit is contained in:
parent
de1ab95318
commit
de2e710ecb
|
@ -138,25 +138,25 @@ contract UiPoolDataProvider is IUiPoolDataProvider {
|
|||
// incentives
|
||||
if (address(0) != address(incentivesController)) {
|
||||
(
|
||||
reserveData.aEmissionPerSecond,
|
||||
reserveData.aTokenIncentivesIndex
|
||||
reserveData.aEmissionPerSecond,
|
||||
reserveData.aIncentivesLastUpdateTimestamp,
|
||||
// ) = incentivesController.getAssetData(reserveData.aTokenAddress); TODO: temp fix
|
||||
) = incentivesController.assets(reserveData.aTokenAddress);
|
||||
) = 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);
|
||||
) = 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);
|
||||
) = incentivesController.getAssetData(reserveData.variableDebtTokenAddress); TODO: temp fix
|
||||
// ) = incentivesController.assets(reserveData.variableDebtTokenAddress);
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -315,25 +315,25 @@ contract UiPoolDataProvider is IUiPoolDataProvider {
|
|||
// incentives
|
||||
if (address(0) != address(incentivesController)) {
|
||||
(
|
||||
reserveData.aEmissionPerSecond,
|
||||
reserveData.aTokenIncentivesIndex,
|
||||
reserveData.aEmissionPerSecond,
|
||||
reserveData.aIncentivesLastUpdateTimestamp
|
||||
// ) = incentivesController.getAssetData(reserveData.aTokenAddress); TODO: temp fix
|
||||
) = incentivesController.assets(reserveData.aTokenAddress);
|
||||
) = incentivesController.getAssetData(reserveData.aTokenAddress); TODO: temp fix
|
||||
// ) = incentivesController.assets(reserveData.aTokenAddress);
|
||||
|
||||
(
|
||||
reserveData.sEmissionPerSecond,
|
||||
reserveData.sTokenIncentivesIndex,
|
||||
reserveData.sEmissionPerSecond,
|
||||
reserveData.sIncentivesLastUpdateTimestamp
|
||||
// ) = incentivesController.getAssetData(reserveData.stableDebtTokenAddress); TODO: temp fix
|
||||
) = incentivesController.assets(reserveData.stableDebtTokenAddress);
|
||||
) = incentivesController.getAssetData(reserveData.stableDebtTokenAddress); TODO: temp fix
|
||||
// ) = incentivesController.assets(reserveData.stableDebtTokenAddress);
|
||||
|
||||
(
|
||||
reserveData.vEmissionPerSecond,
|
||||
reserveData.vTokenIncentivesIndex,
|
||||
reserveData.vEmissionPerSecond,
|
||||
reserveData.vIncentivesLastUpdateTimestamp
|
||||
// ) = incentivesController.getAssetData(reserveData.variableDebtTokenAddress); TODO: temp fix
|
||||
) = incentivesController.assets(reserveData.variableDebtTokenAddress);
|
||||
) = incentivesController.getAssetData(reserveData.variableDebtTokenAddress); TODO: temp fix
|
||||
// ) = incentivesController.assets(reserveData.variableDebtTokenAddress);
|
||||
}
|
||||
|
||||
if (user != address(0)) {
|
||||
|
|
Loading…
Reference in New Issue
Block a user