Skip to content

Commit

Permalink
nit
Browse files Browse the repository at this point in the history
  • Loading branch information
dhruv-chauhan committed Dec 10, 2024
1 parent 4625c75 commit 9cf4847
Showing 1 changed file with 4 additions and 11 deletions.
15 changes: 4 additions & 11 deletions subgraphs/mountain-protocol/src/mappings/handlers.ts
Original file line number Diff line number Diff line change
@@ -1,21 +1,13 @@
import { Address, BigDecimal, BigInt } from "@graphprotocol/graph-ts";
import { Address, BigDecimal, BigInt, log } from "@graphprotocol/graph-ts";

import { Versions } from "../versions";
import { NetworkConfigs } from "../../configurations/configure";

import { SDK } from "../sdk/protocols/generic";
import { ProtocolConfig, TokenPricer } from "../sdk/protocols/config";
import { TokenInitializer, TokenParams } from "../sdk/protocols/generic/tokens";
import { bigDecimalToBigInt, bigIntToBigDecimal } from "../sdk/util/numbers";
import {
BIGDECIMAL_ONE,
BIGDECIMAL_ZERO,
BIGINT_MINUS_ONE,
BIGINT_ZERO,
ETH_ADDRESS,
INT_ZERO,
ZERO_ADDRESS,
} from "../sdk/util/constants";
import { bigIntToBigDecimal } from "../sdk/util/numbers";
import { BIGDECIMAL_ONE, ETH_ADDRESS, INT_ZERO } from "../sdk/util/constants";

import { Transfer, USDM } from "../../generated/USDM/USDM";
import { _ERC20 } from "../../generated/USDM/_ERC20";
Expand All @@ -30,6 +22,7 @@ const conf = new ProtocolConfig(

class Pricer implements TokenPricer {
getTokenPrice(token: Token): BigDecimal {
log.debug("[getTokenPrice] token: {}", [token.id.toHexString()]);
return BIGDECIMAL_ONE;
}

Expand Down

0 comments on commit 9cf4847

Please sign in to comment.