diff --git a/src/apps/rari-fuse/ethereum/rari-fuse.supply.token-fetcher.ts b/src/apps/rari-fuse/ethereum/rari-fuse.supply.token-fetcher.ts index affedeb5e..f80b9691b 100644 --- a/src/apps/rari-fuse/ethereum/rari-fuse.supply.token-fetcher.ts +++ b/src/apps/rari-fuse/ethereum/rari-fuse.supply.token-fetcher.ts @@ -2,6 +2,8 @@ import { Inject } from '@nestjs/common'; import { APP_TOOLKIT, IAppToolkit } from '~app-toolkit/app-toolkit.interface'; import { Register } from '~app-toolkit/decorators'; +import { getLabelFromToken } from '~app-toolkit/helpers/presentation/image.present'; +import { AAVE_V2_DEFINITION } from '~apps/aave-v2'; import { ARRAKIS_DEFINITION } from '~apps/arrakis/arrakis.definition'; import { CompoundContractFactory } from '~apps/compound'; import { CompoundSupplyTokenHelper } from '~apps/compound/helper/compound.supply.token-helper'; @@ -37,6 +39,7 @@ export class EthereumRariFuseSupplyTokenFetcher implements PositionFetcher multicall.wrap(contract).underlying(), getExchangeRateMantissa: ({ underlyingTokenDecimals, tokenDecimals }) => 18 + underlyingTokenDecimals - tokenDecimals, - getDisplayLabel: async ({ underlyingToken }) => `${underlyingToken.symbol} in ${pool.name}`, + getDisplayLabel: async ({ underlyingToken }) => getLabelFromToken(underlyingToken), }); }), );