mirror of
https://github.com/Instadapp/aave-protocol-v2.git
synced 2024-07-29 21:47:30 +00:00
added underlying symbol
This commit is contained in:
parent
02016dcb0f
commit
59ed739172
|
@ -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.aTokenAddress).symbol();
|
reserveData.symbol = IERC20Detailed(reserveData.underlyingAsset).symbol();
|
||||||
reserveData.name = '';
|
reserveData.name = '';
|
||||||
|
|
||||||
(
|
(
|
||||||
|
@ -142,13 +142,13 @@ contract UiPoolDataProvider is IUiPoolDataProvider {
|
||||||
reserveData.aEmissionPerSecond,
|
reserveData.aEmissionPerSecond,
|
||||||
reserveData.aIncentivesLastUpdateTimestamp
|
reserveData.aIncentivesLastUpdateTimestamp
|
||||||
) = incentivesController.getAssetData(reserveData.aTokenAddress);
|
) = incentivesController.getAssetData(reserveData.aTokenAddress);
|
||||||
|
|
||||||
(
|
(
|
||||||
reserveData.sTokenIncentivesIndex,
|
reserveData.sTokenIncentivesIndex,
|
||||||
reserveData.sEmissionPerSecond,
|
reserveData.sEmissionPerSecond,
|
||||||
reserveData.sIncentivesLastUpdateTimestamp
|
reserveData.sIncentivesLastUpdateTimestamp
|
||||||
) = incentivesController.getAssetData(reserveData.stableDebtTokenAddress);
|
) = incentivesController.getAssetData(reserveData.stableDebtTokenAddress);
|
||||||
|
|
||||||
(
|
(
|
||||||
reserveData.vTokenIncentivesIndex,
|
reserveData.vTokenIncentivesIndex,
|
||||||
reserveData.vEmissionPerSecond,
|
reserveData.vEmissionPerSecond,
|
||||||
|
@ -283,7 +283,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.aTokenAddress).symbol();
|
reserveData.symbol = IERC20Detailed(reserveData.underlyingAsset).symbol();
|
||||||
reserveData.name = '';
|
reserveData.name = '';
|
||||||
|
|
||||||
(
|
(
|
||||||
|
@ -315,14 +315,14 @@ contract UiPoolDataProvider is IUiPoolDataProvider {
|
||||||
reserveData.aTokenIncentivesIndex,
|
reserveData.aTokenIncentivesIndex,
|
||||||
reserveData.aEmissionPerSecond,
|
reserveData.aEmissionPerSecond,
|
||||||
reserveData.aIncentivesLastUpdateTimestamp
|
reserveData.aIncentivesLastUpdateTimestamp
|
||||||
) = incentivesController.getAssetData(reserveData.aTokenAddress);
|
) = incentivesController.getAssetData(reserveData.aTokenAddress);
|
||||||
|
|
||||||
(
|
(
|
||||||
reserveData.sTokenIncentivesIndex,
|
reserveData.sTokenIncentivesIndex,
|
||||||
reserveData.sEmissionPerSecond,
|
reserveData.sEmissionPerSecond,
|
||||||
reserveData.sIncentivesLastUpdateTimestamp
|
reserveData.sIncentivesLastUpdateTimestamp
|
||||||
) = incentivesController.getAssetData(reserveData.stableDebtTokenAddress);
|
) = incentivesController.getAssetData(reserveData.stableDebtTokenAddress);
|
||||||
|
|
||||||
(
|
(
|
||||||
reserveData.vTokenIncentivesIndex,
|
reserveData.vTokenIncentivesIndex,
|
||||||
reserveData.vEmissionPerSecond,
|
reserveData.vEmissionPerSecond,
|
||||||
|
|
Loading…
Reference in New Issue
Block a user