Skip to content

Commit

Permalink
Remove unused vars
Browse files Browse the repository at this point in the history
  • Loading branch information
prevostc committed Nov 25, 2024
1 parent c63e3c9 commit 109a764
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 6 deletions.
5 changes: 2 additions & 3 deletions src/classic/interaction.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand All @@ -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 {
Expand Down
5 changes: 2 additions & 3 deletions src/clm/interaction.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand Down

0 comments on commit 109a764

Please sign in to comment.