Skip to content

Commit

Permalink
fix(curve): Fix Avalanche gauge positions
Browse files Browse the repository at this point in the history
  • Loading branch information
immasandwich committed Jul 30, 2022
1 parent 886cec8 commit 10d8745
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -10,10 +10,10 @@ import { CurveGaugeDefaultContractPositionHelper } from '../helpers/curve.gauge.

const appId = CURVE_DEFINITION.id;
const groupId = CURVE_DEFINITION.groups.gauge.id;
const network = Network.ARBITRUM_MAINNET;
const network = Network.AVALANCHE_MAINNET;

@Register.ContractPositionFetcher({ appId, groupId, network })
export class ArbitrumCurveGaugeContractPositionFetcher implements PositionFetcher<ContractPosition> {
export class AvalancheCurveGaugeContractPositionFetcher implements PositionFetcher<ContractPosition> {
constructor(
@Inject(CurveGaugeDefaultContractPositionHelper)
private readonly curveGaugeDefaultContractPositionHelper: CurveGaugeDefaultContractPositionHelper,
Expand Down
3 changes: 2 additions & 1 deletion src/apps/curve/curve.module.ts
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ import { ArbitrumCurveBalanceFetcher } from './arbitrum/curve.balance-fetcher';
import { ArbitrumCurveGaugeContractPositionFetcher } from './arbitrum/curve.gauge.contract-position-fetcher';
import { ArbitrumCurvePoolTokenFetcher } from './arbitrum/curve.pool.token-fetcher';
import { AvalancheCurveBalanceFetcher } from './avalanche/curve.balance-fetcher';
import { AvalancheCurveGaugeContractPositionFetcher } from './avalanche/curve.gauge.contract-position-fetcher';
import { AvalancheCurvePoolTokenFetcher } from './avalanche/curve.pool.token-fetcher';
import { CurveContractFactory } from './contracts';
import { CurveAppDefinition, CURVE_DEFINITION } from './curve.definition';
Expand Down Expand Up @@ -55,7 +56,7 @@ import { PolygonCurvePoolTokenFetcher } from './polygon/curve.pool.token-fetcher
// Avalanche
AvalancheCurveBalanceFetcher,
AvalancheCurvePoolTokenFetcher,
ArbitrumCurveGaugeContractPositionFetcher,
AvalancheCurveGaugeContractPositionFetcher,
// Ethereum
EthereumCurveBalanceFetcher,
EthereumCurvePoolTokenFetcher,
Expand Down

0 comments on commit 10d8745

Please sign in to comment.