Skip to content

Commit

Permalink
Fix lint errors
Browse files Browse the repository at this point in the history
  • Loading branch information
harsh9200 committed Jun 14, 2024
2 parents aaeb74d + 2e85cd1 commit c2ea312
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 7 deletions.
5 changes: 2 additions & 3 deletions subgraphs/stader/src/common/initializers.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,9 @@ import { Versions } from "../versions";
import { SDK } from "../sdk/protocols/generic";
import * as constants from "../common/constants";
import { Pool } from "../sdk/protocols/generic/pool";
import { Pricer, TokenInit, readValue } from "./utils";
import { Pricer, TokenInit } from "./utils";
import { ProtocolConfig } from "../sdk/protocols/config";
import { Address, BigInt, ethereum } from "@graphprotocol/graph-ts";
import { StakingPoolManager } from "../../generated/StakingPoolManager/StakingPoolManager";
import { Address, ethereum } from "@graphprotocol/graph-ts";

export function initializeSDKFromEvent(event: ethereum.Event): SDK {
const protocolConfig = new ProtocolConfig(
Expand Down
5 changes: 1 addition & 4 deletions subgraphs/stader/src/mappings/stakingPoolManagerMappings.ts
Original file line number Diff line number Diff line change
@@ -1,7 +1,4 @@
import {
getOrCreatePool,
initializeSDKFromEvent,
} from "../common/initializers";
import { initializeSDKFromEvent } from "../common/initializers";
import { Deposited } from "../../generated/StakingPoolManager/StakingPoolManager";

export function handleDeposited(event: Deposited): void {
Expand Down

0 comments on commit c2ea312

Please sign in to comment.