diff --git a/src/apps/carbon-defi/ethereum/carbon-defi.strategy.contract-position-fetcher.ts b/src/apps/carbon-defi/ethereum/carbon-defi.strategy.contract-position-fetcher.ts index fd5195ae8..2a51ca48c 100644 --- a/src/apps/carbon-defi/ethereum/carbon-defi.strategy.contract-position-fetcher.ts +++ b/src/apps/carbon-defi/ethereum/carbon-defi.strategy.contract-position-fetcher.ts @@ -1,5 +1,4 @@ -import { Inject } from '@nestjs/common'; -import { BigNumberish } from 'ethers'; +import { Inject, NotImplementedException } from '@nestjs/common'; import { sumBy } from 'lodash'; import { APP_TOOLKIT, IAppToolkit } from '~app-toolkit/app-toolkit.interface'; @@ -155,7 +154,7 @@ export class EthereumCarbonDefiStrategyContractPositionFetcher extends CustomCon } // Unused since CustomContractPositionTemplatePositionFetcher forces Promise output while it can be sync - async getTokenBalancesPerPosition(): Promise { - return []; + getTokenBalancesPerPosition(): never { + throw new NotImplementedException(); } }