Skip to content

Commit

Permalink
nit: fix lint
Browse files Browse the repository at this point in the history
  • Loading branch information
dhruv-chauhan committed Jan 5, 2025
1 parent 81feed1 commit 97c99a4
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 9 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,7 @@ export function getNetworkConfigurations(deploy: i32): Configurations {
default: {
log.critical(
"No configurations found for deployment protocol/network",
[]
[],
);
return new UniswapV3OptimismConfigurations();
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,9 @@ import { Configurations } from "../../../../../configurations/configurations/int
import { PROTOCOL_NAME, PROTOCOL_SLUG } from "../../../src/common/constants";
import { stringToBytesList } from "../../../../../src/common/utils/utils";

export class IguanaDexV3EtherlinkMainnetConfigurations implements Configurations {
export class IguanaDexV3EtherlinkMainnetConfigurations
implements Configurations
{
getNetwork(): string {
return Network.ETHERLINK_MAINNET;
}
Expand All @@ -27,7 +29,7 @@ export class IguanaDexV3EtherlinkMainnetConfigurations implements Configurations
}
getFactoryContract(): Factory {
return Factory.bind(
Address.fromString("0x093ccbaecb0e0006c8bffca92e9929d117fec583")
Address.fromString("0x093ccbaecb0e0006c8bffca92e9929d117fec583"),
);
}
getProtocolFeeOnOff(): string {
Expand Down
12 changes: 6 additions & 6 deletions subgraphs/uniswap-v3-forks/src/common/constants.ts
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,7 @@ export namespace RewardIntervalType {
}

export const ZERO_ADDRESS = Address.fromHexString(
"0x0000000000000000000000000000000000000000"
"0x0000000000000000000000000000000000000000",
);

export const DEFAULT_DECIMALS = 18;
Expand All @@ -107,7 +107,7 @@ export const BIGINT_192 = BigInt.fromI32(192);
export const BIGINT_TEN_THOUSAND = BigInt.fromI32(10000);
export const BIGINT_MILLION = BigInt.fromI32(1000000);
export const BIGINT_MAX = BigInt.fromString(
"115792089237316195423570985008687907853269984665640564039457584007913129639935"
"115792089237316195423570985008687907853269984665640564039457584007913129639935",
);
export const BIGDECIMAL_NEG_ONE = new BigDecimal(BIGINT_NEG_ONE);
export const BIGDECIMAL_ZERO = new BigDecimal(BIGINT_ZERO);
Expand All @@ -121,14 +121,14 @@ export const BIGDECIMAL_192 = new BigDecimal(BIGINT_192);
export const BIGDECIMAL_TEN_THOUSAND = new BigDecimal(BIGINT_TEN_THOUSAND);
export const BIGDECIMAL_MILLION = new BigDecimal(BIGINT_MILLION);
export const BIGDECIMAL_BILLION = new BigDecimal(
BigInt.fromString("1000000000")
BigInt.fromString("1000000000"),
);
export const BIGDECIMAL_TEN_BILLION = new BigDecimal(
BigInt.fromString("10000000000")
BigInt.fromString("10000000000"),
);

export const Q192 = BigInt.fromString(
"6277101735386680763835789423207666416102355444464034512896"
"6277101735386680763835789423207666416102355444464034512896",
);
export const PRECISION = BigInt.fromString("100000000000000000");
export const PRECISION_DECIMAL = new BigDecimal(PRECISION);
Expand All @@ -148,7 +148,7 @@ export const SECONDS_PER_DAY = 60 * 60 * 24;
export const SECONDS_PER_HOUR = 60 * 60;
export const MS_PER_DAY = new BigDecimal(BigInt.fromI32(24 * 60 * 60 * 1000));
export const MS_PER_YEAR = DAYS_PER_YEAR.times(
new BigDecimal(BigInt.fromI32(24 * 60 * 60 * 1000))
new BigDecimal(BigInt.fromI32(24 * 60 * 60 * 1000)),
);

export const MOST_RECENT_TRANSACTION = "MOST_RECENT_TRANSACTION";
Expand Down

0 comments on commit 97c99a4

Please sign in to comment.