mirror of
https://github.com/Instadapp/aave-protocol-v2.git
synced 2024-07-29 21:47:30 +00:00
fix: fixed order
This commit is contained in:
parent
dab9f72a42
commit
de1ab95318
|
@ -109,7 +109,7 @@ contract UiPoolDataProvider is IUiPoolDataProvider {
|
||||||
// reserve configuration
|
// reserve configuration
|
||||||
|
|
||||||
// we're getting this info from the aToken, because some of assets can be not compliant with ETC20Detailed
|
// we're getting this info from the aToken, because some of assets can be not compliant with ETC20Detailed
|
||||||
reserveData.symbol = IERC20Detailed(reserveData.underlyingAsset).symbol();
|
reserveData.symbol = IERC20Detailed(reserveData.aTokenAddress).symbol();
|
||||||
reserveData.name = '';
|
reserveData.name = '';
|
||||||
|
|
||||||
(
|
(
|
||||||
|
@ -139,22 +139,22 @@ contract UiPoolDataProvider is IUiPoolDataProvider {
|
||||||
if (address(0) != address(incentivesController)) {
|
if (address(0) != address(incentivesController)) {
|
||||||
(
|
(
|
||||||
reserveData.aEmissionPerSecond,
|
reserveData.aEmissionPerSecond,
|
||||||
reserveData.aIncentivesLastUpdateTimestamp,
|
|
||||||
reserveData.aTokenIncentivesIndex
|
reserveData.aTokenIncentivesIndex
|
||||||
|
reserveData.aIncentivesLastUpdateTimestamp,
|
||||||
// ) = incentivesController.getAssetData(reserveData.aTokenAddress); TODO: temp fix
|
// ) = incentivesController.getAssetData(reserveData.aTokenAddress); TODO: temp fix
|
||||||
) = incentivesController.assets(reserveData.aTokenAddress);
|
) = incentivesController.assets(reserveData.aTokenAddress);
|
||||||
|
|
||||||
(
|
(
|
||||||
reserveData.sEmissionPerSecond,
|
reserveData.sEmissionPerSecond,
|
||||||
reserveData.sIncentivesLastUpdateTimestamp,
|
|
||||||
reserveData.sTokenIncentivesIndex
|
reserveData.sTokenIncentivesIndex
|
||||||
|
reserveData.sIncentivesLastUpdateTimestamp,
|
||||||
// ) = incentivesController.getAssetData(reserveData.stableDebtTokenAddress); TODO: temp fix
|
// ) = incentivesController.getAssetData(reserveData.stableDebtTokenAddress); TODO: temp fix
|
||||||
) = incentivesController.assets(reserveData.stableDebtTokenAddress);
|
) = incentivesController.assets(reserveData.stableDebtTokenAddress);
|
||||||
|
|
||||||
(
|
(
|
||||||
reserveData.vEmissionPerSecond,
|
reserveData.vEmissionPerSecond,
|
||||||
reserveData.vIncentivesLastUpdateTimestamp,
|
|
||||||
reserveData.vTokenIncentivesIndex
|
reserveData.vTokenIncentivesIndex
|
||||||
|
reserveData.vIncentivesLastUpdateTimestamp,
|
||||||
// ) = incentivesController.getAssetData(reserveData.variableDebtTokenAddress); TODO: temp fix
|
// ) = incentivesController.getAssetData(reserveData.variableDebtTokenAddress); TODO: temp fix
|
||||||
) = incentivesController.assets(reserveData.variableDebtTokenAddress);
|
) = incentivesController.assets(reserveData.variableDebtTokenAddress);
|
||||||
}
|
}
|
||||||
|
@ -286,7 +286,7 @@ contract UiPoolDataProvider is IUiPoolDataProvider {
|
||||||
// reserve configuration
|
// reserve configuration
|
||||||
|
|
||||||
// we're getting this info from the aToken, because some of assets can be not compliant with ETC20Detailed
|
// we're getting this info from the aToken, because some of assets can be not compliant with ETC20Detailed
|
||||||
reserveData.symbol = IERC20Detailed(reserveData.underlyingAsset).symbol();
|
reserveData.symbol = IERC20Detailed(reserveData.aTokenAddress).symbol();
|
||||||
reserveData.name = '';
|
reserveData.name = '';
|
||||||
|
|
||||||
(
|
(
|
||||||
|
|
Loading…
Reference in New Issue
Block a user