diff --git a/src/apps/pickle/arbitrum/pickle.farm.contract-position-fetcher.ts b/src/apps/pickle/arbitrum/pickle.farm.contract-position-fetcher.ts index a8f5e7938..7631c4a70 100644 --- a/src/apps/pickle/arbitrum/pickle.farm.contract-position-fetcher.ts +++ b/src/apps/pickle/arbitrum/pickle.farm.contract-position-fetcher.ts @@ -1,6 +1,5 @@ import { Inject } from '@nestjs/common'; -import { MasterChefRewarderClaimableTokenStrategy } from '~app-toolkit'; import { ZERO_ADDRESS } from '~app-toolkit/constants/address'; import { Register } from '~app-toolkit/decorators'; import { RewardRateUnit } from '~app-toolkit/helpers/master-chef/master-chef.contract-position-helper'; @@ -22,8 +21,6 @@ export class ArbitrumPickleFarmContractPositionFetcher implements PositionFetche constructor( @Inject(APP_TOOLKIT) private readonly appToolkit: IAppToolkit, @Inject(PickleContractFactory) private readonly contractFactory: PickleContractFactory, - @Inject(MasterChefRewarderClaimableTokenStrategy) - private readonly masterChefRewarderClaimableTokenStrategy: MasterChefRewarderClaimableTokenStrategy, ) {} async getPositions(): Promise[]> { @@ -42,7 +39,7 @@ export class ArbitrumPickleFarmContractPositionFetcher implements PositionFetche }), resolvePoolLength: ({ multicall, contract }) => multicall.wrap(contract).poolLength(), resolveDepositTokenAddress: ({ poolIndex, contract, multicall }) => multicall.wrap(contract).lpToken(poolIndex), - resolveRewardTokenAddresses: this.masterChefRewarderClaimableTokenStrategy.build< + resolveRewardTokenAddresses: this.appToolkit.helpers.masterChefRewarderClaimableTokenStrategy.build< PickleMiniChefV2, PickleRewarder >({