Skip to content
This repository has been archived by the owner on Jan 24, 2024. It is now read-only.

fix(yearn): Fix governance reward token as a Curve dependency #804

Merged
merged 1 commit into from
Jun 30, 2022
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@ import { Inject } from '@nestjs/common';

import { APP_TOOLKIT, IAppToolkit } from '~app-toolkit/app-toolkit.interface';
import { Register } from '~app-toolkit/decorators';
import { CURVE_DEFINITION } from '~apps/curve/curve.definition';
import {
SynthetixContractFactory,
SynthetixRewards,
Expand Down Expand Up @@ -46,6 +47,7 @@ export class EthereumYearnGovernanceContractPositionFetcher implements PositionF
groupId,
network,
resolveFarmDefinitions: async () => FARMS,
dependencies: [{ appId: CURVE_DEFINITION.id, groupIds: [CURVE_DEFINITION.groups.pool.id], network }],
resolveFarmContract: ({ network, address }) =>
this.synthetixContractFactory.synthetixRewards({ network, address }),
resolveIsActive: this.synthetixSingleStakingIsActiveStrategy.build({
Expand Down