From 109a764778734e3e46657d8447b7ffdabf5d8fb3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Cl=C3=A9ment=20Pr=C3=A9vost?= <998369+prevostc@users.noreply.github.com> Date: Mon, 25 Nov 2024 21:03:45 +0100 Subject: [PATCH] Remove unused vars --- src/classic/interaction.ts | 5 ++--- src/clm/interaction.ts | 5 ++--- 2 files changed, 4 insertions(+), 6 deletions(-) diff --git a/src/classic/interaction.ts b/src/classic/interaction.ts index 9eb8810..b9650f3 100644 --- a/src/classic/interaction.ts +++ b/src/classic/interaction.ts @@ -12,7 +12,7 @@ import { import { getAndSaveTransaction } from "../common/entity/transaction" import { getInvestor } from "../common/entity/investor" import { Classic, ClassicPositionInteraction } from "../../generated/schema" -import { BURN_ADDRESS, POSITION_SNAPSHOT_ENABLED, SHARE_TOKEN_MINT_ADDRESS } from "../config" +import { BURN_ADDRESS, SHARE_TOKEN_MINT_ADDRESS } from "../config" import { ZERO_BI } from "../common/utils/decimal" import { getEventIdentifier } from "../common/utils/event" import { @@ -22,9 +22,8 @@ import { hasClassicBeenRemoved, isClassicInitialized, } from "./entity/classic" -import { getClassicPosition, getClassicPositionSnapshot } from "./entity/position" +import { getClassicPosition } from "./entity/position" import { fetchClassicData, updateClassicDataAndSnapshots } from "./utils/classic-data" -import { CLASSIC_SNAPSHOT_PERIODS } from "./utils/snapshot" import { updateClassicPositionSnapshotsIfEnabled } from "./utils/position-snapshot" export function handleClassicVaultTransfer(event: ClassicVaultTransfer): void { diff --git a/src/clm/interaction.ts b/src/clm/interaction.ts index 74b85af..784936c 100644 --- a/src/clm/interaction.ts +++ b/src/clm/interaction.ts @@ -7,13 +7,12 @@ import { import { getClmRewardPool, getCLM, isClmInitialized } from "./entity/clm" import { getAndSaveTransaction } from "../common/entity/transaction" import { getInvestor } from "../common/entity/investor" -import { getClmPosition, getClmPositionSnapshot } from "./entity/position" +import { getClmPosition } from "./entity/position" import { CLM, ClmPositionInteraction, ClmRewardPool } from "../../generated/schema" -import { BURN_ADDRESS, POSITION_SNAPSHOT_ENABLED, SHARE_TOKEN_MINT_ADDRESS } from "../config" +import { BURN_ADDRESS, SHARE_TOKEN_MINT_ADDRESS } from "../config" import { ZERO_BI } from "../common/utils/decimal" import { fetchCLMData, updateCLMDataAndSnapshots } from "./utils/clm-data" import { getEventIdentifier } from "../common/utils/event" -import { CLM_SNAPSHOT_PERIODS } from "./utils/snapshot" import { updateClmPositionSnapshotsIfEnabled } from "./utils/position-snapshot" export function handleClmManagerTransfer(event: ClmManagerTransferEvent): void {