diff --git a/src/app-toolkit/app-toolkit.interface.ts b/src/app-toolkit/app-toolkit.interface.ts index 95c815401..cbe65fb15 100644 --- a/src/app-toolkit/app-toolkit.interface.ts +++ b/src/app-toolkit/app-toolkit.interface.ts @@ -43,10 +43,6 @@ export interface IAppToolkit { ...appTokenDefinition: AppGroupsDefinition[] ): Promise[]>; - getAppTokenPositionsFromDatabase( - ...appTokenDefinition: AppGroupsDefinition[] - ): Promise[]>; - getAppContractPositions( ...appTokenDefinition: AppGroupsDefinition[] ): Promise[]>; diff --git a/src/app-toolkit/app-toolkit.service.ts b/src/app-toolkit/app-toolkit.service.ts index ba623921a..8d8b53a64 100644 --- a/src/app-toolkit/app-toolkit.service.ts +++ b/src/app-toolkit/app-toolkit.service.ts @@ -6,6 +6,7 @@ import { ethers } from 'ethers'; import { PublicClient } from 'viem'; import { ContractFactory } from '~contract'; +import { ContractViemContractFactory } from '~contract/contracts'; import { MulticallService } from '~multicall/multicall.service'; import { NetworkProviderService } from '~network-provider/network-provider.service'; import { DefaultDataProps } from '~position/display.interface'; @@ -19,7 +20,6 @@ import { PriceSelectorService } from '~token/selectors/token-price-selector.serv import { Network } from '~types/network.interface'; import { IAppToolkit } from './app-toolkit.interface'; -import { ContractViemContractFactory } from '~contract/contracts'; @Injectable() export class AppToolkit implements IAppToolkit { @@ -84,10 +84,6 @@ export class AppToolkit implements IAppToolkit { return this.positionService.getAppTokenPositions(...appTokenDefinitions); } - getAppTokenPositionsFromDatabase(...appTokenDefinitions: AppGroupsDefinition[]) { - return this.positionService.getAppTokenPositions(...appTokenDefinitions); - } - getAppContractPositions(...appTokenDefinitions: AppGroupsDefinition[]) { return this.positionService.getAppContractPositions(...appTokenDefinitions); }