Skip to content

Commit c76d52f

Browse files
committed
refactor: sort keys and imports
build: use biome v2 refactor: use type instead of interface refactor: use spaces instead of tabs for indents
1 parent 13b505e commit c76d52f

20 files changed

+165
-156
lines changed

.vscode/settings.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
{
22
"biome.enabled": true,
33
"editor.codeActionsOnSave": {
4-
"quickfix.biome": "always",
5-
"source.organizeImports.biome": "always"
4+
"source.fixAll.biome": "always",
5+
"source.organizeImports.biome": "explicit"
66
},
77
"[javascript][json][jsonc][typescript]": {
88
"editor.defaultFormatter": "biomejs.biome"

biome.jsonc

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,12 +2,11 @@
22
"$schema": "./node_modules/@biomejs/biome/configuration_schema.json",
33
"extends": ["@sablier/configs/biome"],
44
"files": {
5-
"ignore": ["/dist/"],
6-
"include": ["*.js", "*.json", "*.jsonc", "*.ts"]
5+
"includes": ["**/*.js", "**/*.json", "**/*.jsonc", "**/*.ts"]
76
},
87
"overrides": [
98
{
10-
"include": ["tests/*"],
9+
"includes": ["**/tests/*"],
1110
"linter": {
1211
"rules": {
1312
"suspicious": {

bun.lock

Lines changed: 12 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -4,11 +4,11 @@
44
"": {
55
"name": "@sablier/deployments",
66
"dependencies": {
7-
"@sablier/configs": "github:sablier-labs/configs",
87
"lodash": "^4.17",
98
},
109
"devDependencies": {
11-
"@biomejs/biome": "1.9.4",
10+
"@biomejs/biome": "2.0.0-beta.4",
11+
"@sablier/configs": "github:sablier-labs/configs",
1212
"@types/fs-extra": "^11.0",
1313
"@types/lodash": "^4.17",
1414
"@types/node": "^22.14",
@@ -31,23 +31,23 @@
3131
"packages": {
3232
"@adraffy/ens-normalize": ["@adraffy/[email protected]", "", {}, "sha512-/3DDPKHqqIqxUULp8yP4zODUY1i+2xvVWsv8A79xGWdCAG+8sb0hRh0Rk2QyOJUnnbyPUAZYcpBuRe3nS2OIUg=="],
3333

34-
"@biomejs/biome": ["@biomejs/biome@1.9.4", "", { "optionalDependencies": { "@biomejs/cli-darwin-arm64": "1.9.4", "@biomejs/cli-darwin-x64": "1.9.4", "@biomejs/cli-linux-arm64": "1.9.4", "@biomejs/cli-linux-arm64-musl": "1.9.4", "@biomejs/cli-linux-x64": "1.9.4", "@biomejs/cli-linux-x64-musl": "1.9.4", "@biomejs/cli-win32-arm64": "1.9.4", "@biomejs/cli-win32-x64": "1.9.4" }, "bin": { "biome": "bin/biome" } }, "sha512-1rkd7G70+o9KkTn5KLmDYXihGoTaIGO9PIIN2ZB7UJxFrWw04CZHPYiMRjYsaDvVV7hP1dYNRLxSANLaBFGpog=="],
34+
"@biomejs/biome": ["@biomejs/biome@2.0.0-beta.4", "", { "optionalDependencies": { "@biomejs/cli-darwin-arm64": "2.0.0-beta.4", "@biomejs/cli-darwin-x64": "2.0.0-beta.4", "@biomejs/cli-linux-arm64": "2.0.0-beta.4", "@biomejs/cli-linux-arm64-musl": "2.0.0-beta.4", "@biomejs/cli-linux-x64": "2.0.0-beta.4", "@biomejs/cli-linux-x64-musl": "2.0.0-beta.4", "@biomejs/cli-win32-arm64": "2.0.0-beta.4", "@biomejs/cli-win32-x64": "2.0.0-beta.4" }, "bin": { "biome": "bin/biome" } }, "sha512-xKdyKTTveVfNthvoyNPEsp+PXU3Iz1n4wgTQKWBEdqxgw4JpQ/W7gBBiLqjVtegEBCc4+sAp+MOA2UH9Tqfxpg=="],
3535

36-
"@biomejs/cli-darwin-arm64": ["@biomejs/cli-darwin-arm64@1.9.4", "", { "os": "darwin", "cpu": "arm64" }, "sha512-bFBsPWrNvkdKrNCYeAp+xo2HecOGPAy9WyNyB/jKnnedgzl4W4Hb9ZMzYNbf8dMCGmUdSavlYHiR01QaYR58cw=="],
36+
"@biomejs/cli-darwin-arm64": ["@biomejs/cli-darwin-arm64@2.0.0-beta.4", "", { "os": "darwin", "cpu": "arm64" }, "sha512-gELCMhP72d2ADWBev3Fc11YO9j7LdfMBGrPetwWtsYSNMiqP/ww5rXxHkodqu/J63PSw0M8oGJ1slZbF4QsuRA=="],
3737

38-
"@biomejs/cli-darwin-x64": ["@biomejs/cli-darwin-x64@1.9.4", "", { "os": "darwin", "cpu": "x64" }, "sha512-ngYBh/+bEedqkSevPVhLP4QfVPCpb+4BBe2p7Xs32dBgs7rh9nY2AIYUL6BgLw1JVXV8GlpKmb/hNiuIxfPfZg=="],
38+
"@biomejs/cli-darwin-x64": ["@biomejs/cli-darwin-x64@2.0.0-beta.4", "", { "os": "darwin", "cpu": "x64" }, "sha512-OnbNtCoG+Vhh3xuQcxnbeg1e54eBlyH6bhNc+7i2HS+diC3ntOtBttkV5menBzabktEGrE0d0L9ftwzuCL0zwQ=="],
3939

40-
"@biomejs/cli-linux-arm64": ["@biomejs/cli-linux-arm64@1.9.4", "", { "os": "linux", "cpu": "arm64" }, "sha512-fJIW0+LYujdjUgJJuwesP4EjIBl/N/TcOX3IvIHJQNsAqvV2CHIogsmA94BPG6jZATS4Hi+xv4SkBBQSt1N4/g=="],
40+
"@biomejs/cli-linux-arm64": ["@biomejs/cli-linux-arm64@2.0.0-beta.4", "", { "os": "linux", "cpu": "arm64" }, "sha512-IzSohzD68di/uoGzXMK9B8gJrhU7v2czPCJOLuZH1WgRmK4ejUzaGyi1JpNpFlP1mRtfAWfbJkYP57BUD+4mSA=="],
4141

42-
"@biomejs/cli-linux-arm64-musl": ["@biomejs/cli-linux-arm64-musl@1.9.4", "", { "os": "linux", "cpu": "arm64" }, "sha512-v665Ct9WCRjGa8+kTr0CzApU0+XXtRgwmzIf1SeKSGAv+2scAlW6JR5PMFo6FzqqZ64Po79cKODKf3/AAmECqA=="],
42+
"@biomejs/cli-linux-arm64-musl": ["@biomejs/cli-linux-arm64-musl@2.0.0-beta.4", "", { "os": "linux", "cpu": "arm64" }, "sha512-wZWLwJu/rwG5Z791lyhJI3Cu5JdkzIddU0wrIygFbYOIu4KyGPYIzAWX33HgtlmNfH0hVxByUke3J1Szzx9CjQ=="],
4343

44-
"@biomejs/cli-linux-x64": ["@biomejs/cli-linux-x64@1.9.4", "", { "os": "linux", "cpu": "x64" }, "sha512-lRCJv/Vi3Vlwmbd6K+oQ0KhLHMAysN8lXoCI7XeHlxaajk06u7G+UsFSO01NAs5iYuWKmVZjmiOzJ0OJmGsMwg=="],
44+
"@biomejs/cli-linux-x64": ["@biomejs/cli-linux-x64@2.0.0-beta.4", "", { "os": "linux", "cpu": "x64" }, "sha512-71NQPwTg9T/p/cE/k6P7tCBJmeg8vR1+bP4w6ADBT55SVL4pSEyaOsZ3LDIUrV5jkISh8UQsuwxy9F29pHpeqg=="],
4545

46-
"@biomejs/cli-linux-x64-musl": ["@biomejs/cli-linux-x64-musl@1.9.4", "", { "os": "linux", "cpu": "x64" }, "sha512-gEhi/jSBhZ2m6wjV530Yy8+fNqG8PAinM3oV7CyO+6c3CEh16Eizm21uHVsyVBEB6RIM8JHIl6AGYCv6Q6Q9Tg=="],
46+
"@biomejs/cli-linux-x64-musl": ["@biomejs/cli-linux-x64-musl@2.0.0-beta.4", "", { "os": "linux", "cpu": "x64" }, "sha512-OX6qS1jUYmk6+VtV1XWyDj2z5RS13JFv6ujEXLq1a3Cn86nzN5v/Dw/MuZYko3zAJ4BDNwlbNztvFVxmL1uWiA=="],
4747

48-
"@biomejs/cli-win32-arm64": ["@biomejs/cli-win32-arm64@1.9.4", "", { "os": "win32", "cpu": "arm64" }, "sha512-tlbhLk+WXZmgwoIKwHIHEBZUwxml7bRJgk0X2sPyNR3S93cdRq6XulAZRQJ17FYGGzWne0fgrXBKpl7l4M87Hg=="],
48+
"@biomejs/cli-win32-arm64": ["@biomejs/cli-win32-arm64@2.0.0-beta.4", "", { "os": "win32", "cpu": "arm64" }, "sha512-SBYQqhJ19EcPbGshEd8k98du9gbfBFUqbmgqnTT/METPn+WyqIEnYcWLudjd+ujYHuMHYpXqSYxh+NYfL331eg=="],
4949

50-
"@biomejs/cli-win32-x64": ["@biomejs/cli-win32-x64@1.9.4", "", { "os": "win32", "cpu": "x64" }, "sha512-8Y5wMhVIPaWe6jw2H+KlEm4wP/f7EW3810ZLmDlrEEy5KvBsb9ECEfu/kMWD484ijfQ8+nIi0giMgu9g1UAuuA=="],
50+
"@biomejs/cli-win32-x64": ["@biomejs/cli-win32-x64@2.0.0-beta.4", "", { "os": "win32", "cpu": "x64" }, "sha512-2eGsMOwtm8mvicKMkegV2DW2EH0vQPF0Skt9n4enoFk8ABFtoxherTG8Us1fwlBrk9tA7gcshrdUilu35BmZdA=="],
5151

5252
"@colors/colors": ["@colors/[email protected]", "", {}, "sha512-Ir+AOibqzrIsL6ajt3Rz3LskB7OiMVHqltZmspbW/TJuTVuyOMirVqAkjfY6JISiLHgyNqicAC8AyHHGzNd/dA=="],
5353

@@ -157,7 +157,7 @@
157157

158158
"@rollup/rollup-win32-x64-msvc": ["@rollup/[email protected]", "", { "os": "win32", "cpu": "x64" }, "sha512-lpPE1cLfP5oPzVjKMx10pgBmKELQnFJXHgvtHCtuJWOv8MxqdEIMNtgHgBFf7Ea2/7EuVwa9fodWUfXAlXZLZQ=="],
159159

160-
"@sablier/configs": ["@sablier/configs@github:sablier-labs/configs#d25b72b", {}, "sablier-labs-configs-d25b72b"],
160+
"@sablier/configs": ["@sablier/configs@github:sablier-labs/configs#e086b68", {}, "sablier-labs-configs-e086b68"],
161161

162162
"@scure/base": ["@scure/[email protected]", "", {}, "sha512-5Yy9czTO47mqz+/J8GM6GIId4umdCk1wc1q8rKERQulIoc8VP9pzDcghv10Tl2E7R96ZUx/PhND3ESYUQX8NuQ=="],
163163

package.json

Lines changed: 10 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,14 @@
11
{
2-
"name": "@sablier/deployments",
3-
"description": "Keeping track of Sablier deployments",
4-
"version": "1.0.0-alpha.40",
52
"author": {
63
"name": "Sablier Labs Ltd",
74
"url": "https://sablier.com"
85
},
96
"dependencies": {
107
"lodash": "^4.17"
118
},
9+
"description": "Keeping track of Sablier deployments",
1210
"devDependencies": {
13-
"@biomejs/biome": "1.9.4",
11+
"@biomejs/biome": "2.0.0-beta.4",
1412
"@sablier/configs": "github:sablier-labs/configs",
1513
"@types/fs-extra": "^11.0",
1614
"@types/lodash": "^4.17",
@@ -29,7 +27,9 @@
2927
"vitest": "^3.1",
3028
"winston": "^3.17"
3129
},
32-
"files": ["dist"],
30+
"files": [
31+
"dist"
32+
],
3333
"keywords": [
3434
"airdrops",
3535
"blockchain",
@@ -45,17 +45,18 @@
4545
],
4646
"license": "GPL-3.0-or-later",
4747
"main": "dist/index.js",
48+
"name": "@sablier/deployments",
4849
"publishConfig": {
4950
"access": "public"
5051
},
5152
"repository": "github.com:sablier-labs/deployments",
5253
"scripts": {
5354
"biome:check": "biome check .",
54-
"biome:write": "biome check --write .",
55+
"biome:write": "biome check --write . && bun run biome:write:imports",
5556
"biome:write:imports": "biome lint --write --only correctness/noUnusedImports .",
5657
"build": "bun run clean && bun run tsc:build",
57-
"clean": "rm -rf dist",
5858
"check": "bun run biome:check && bun run prettier:check && bun run tsc:check",
59+
"clean": "rm -rf dist",
5960
"fix": "bun run biome:write && bun run prettier:write",
6061
"prepack": "bun run build",
6162
"prepare": "husky",
@@ -67,5 +68,6 @@
6768
"tsc:build": "tsc -p tsconfig.build.json && bun tsc-alias -p tsconfig.build.json",
6869
"tsc:check": "tsc -p tsconfig.json --noEmit"
6970
},
70-
"types": "./dist/index.d.ts"
71+
"types": "./dist/index.d.ts",
72+
"version": "1.0.0-alpha.40"
7173
}

scripts/check-broadcast.ts renamed to scripts/check-broadcasts.ts

Lines changed: 37 additions & 32 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,43 @@
11
import path from "node:path";
22
import type { Sablier } from "@src/types";
3-
import { globby } from "globby";
3+
import { foo } from "@src/types";
44
import type { Options as GlobbyOptions } from "globby";
5+
import { globby } from "globby";
56
import { logInfo } from "./logger";
67

8+
const _bar = foo + 5;
79
const ROOT_DIR = path.join(__dirname, "..");
810

11+
/**
12+
* Checks that the broadcast file exists for the specified release and chain.
13+
* @param release - The release to check
14+
* @param chain - The chain to check
15+
* @param contractPath - The inner directory path to the contract to check, e.g. "core" or "periphery"
16+
* @returns The path to the broadcast file if it exists, otherwise null
17+
*/
18+
export async function checkBroadcast(
19+
release: Sablier.Release,
20+
chain: Sablier.Chain,
21+
contractPath?: string,
22+
): Promise<string | null> {
23+
return checkPath(release, chain, { onlyFiles: true }, contractPath, ".json");
24+
}
25+
26+
/**
27+
* Checks that the ZK broadcast directory exists for the specified release and chain.
28+
* @param release - The release to check
29+
* @param chain - The chain to check
30+
* @param contractPath - The inner directory path to the contract to check, e.g. "core" or "periphery"
31+
* @returns The path to the broadcast directory if it exists, otherwise null
32+
*/
33+
export async function checkZKBroadcast(
34+
release: Sablier.Release,
35+
chain: Sablier.Chain,
36+
contractPath?: string,
37+
): Promise<string | null> {
38+
return checkPath(release, chain, { onlyDirectories: true }, contractPath, "");
39+
}
40+
941
/**
1042
* @example
1143
* data/
@@ -37,39 +69,12 @@ async function checkPath(
3769

3870
if (!pathExists) {
3971
const relativePath = path.relative(ROOT_DIR, pathToCheck);
40-
logInfo({ msg: `No broadcasts for ${chain.name} at ${relativePath}`, release });
72+
logInfo({
73+
msg: `No broadcasts for ${chain.name} at ${relativePath}`,
74+
release,
75+
});
4176
return null;
4277
}
4378

4479
return found;
4580
}
46-
47-
/**
48-
* Checks that the broadcast file exists for the specified release and chain.
49-
* @param release - The release to check
50-
* @param chain - The chain to check
51-
* @param contractPath - The inner directory path to the contract to check, e.g. "core" or "periphery"
52-
* @returns The path to the broadcast file if it exists, otherwise null
53-
*/
54-
export async function checkBroadcast(
55-
release: Sablier.Release,
56-
chain: Sablier.Chain,
57-
contractPath?: string,
58-
): Promise<string | null> {
59-
return checkPath(release, chain, { onlyFiles: true }, contractPath, ".json");
60-
}
61-
62-
/**
63-
* Checks that the ZK broadcast directory exists for the specified release and chain.
64-
* @param release - The release to check
65-
* @param chain - The chain to check
66-
* @param contractPath - The inner directory path to the contract to check, e.g. "core" or "periphery"
67-
* @returns The path to the broadcast directory if it exists, otherwise null
68-
*/
69-
export async function checkZKBroadcast(
70-
release: Sablier.Release,
71-
chain: Sablier.Chain,
72-
contractPath?: string,
73-
): Promise<string | null> {
74-
return checkPath(release, chain, { onlyDirectories: true }, contractPath, "");
75-
}

scripts/logger.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -61,8 +61,8 @@ if (LOG_FILE_PATH) {
6161
* LOG_LEVEL=silly bun run scripts/your-script.ts
6262
*/
6363
const logger = winston.createLogger({
64-
level: LOG_LEVEL,
6564
format: format.combine(format.timestamp(), format.errors({ stack: true })),
65+
level: LOG_LEVEL,
6666
transports,
6767
});
6868

scripts/print-aliases.ts

Lines changed: 7 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,14 @@
11
import { releases } from "@src/releases";
22
import _ from "lodash";
3-
import logger from "./logger";
4-
interface AliasRow {
3+
import logger, { logAndThrow } from "./logger";
4+
5+
type AliasRow = {
56
alias: string;
67
contractName: string;
78
releaseName: string;
8-
}
9+
};
910

10-
async function main() {
11+
async function main(): Promise<void> {
1112
const rows: AliasRow[] = [];
1213

1314
for (const release of releases) {
@@ -40,7 +41,7 @@ async function main() {
4041
rows.sort((a, b) => a.alias.localeCompare(b.alias));
4142

4243
const headers = ["Alias", "Contract Name", "Release"];
43-
const colWidths = headers.map((h, i) => Math.max(h.length, ...rows.map((row) => Object.values(row)[i].length)));
44+
const colWidths = headers.map((h, i) => Math.max(h.length, ...rows.map((row) => _.values(row)[i].length)));
4445

4546
const headerRow = headers.map((h, i) => h.padEnd(colWidths[i])).join(" | ");
4647
const sep = colWidths.map((w) => "-".repeat(w)).join("-|-");
@@ -55,9 +56,5 @@ async function main() {
5556
}
5657

5758
main().catch((error) => {
58-
logger.error(`Error checking missing broadcasts: ${error.message}`);
59-
if (error.stack) {
60-
logger.error(error.stack);
61-
}
62-
throw error;
59+
logAndThrow({ msg: `Error printing aliases: ${error.message}` });
6360
});

scripts/print-missing-broadcasts.ts

Lines changed: 30 additions & 26 deletions
Original file line numberDiff line numberDiff line change
@@ -12,8 +12,8 @@ import { getChain } from "@src/chains";
1212
import { releasesByProtocol } from "@src/releases";
1313
import type { Sablier } from "@src/types";
1414
import _ from "lodash";
15-
import { checkBroadcast, checkZKBroadcast } from "./check-broadcast";
16-
import logger from "./logger";
15+
import { checkBroadcast, checkZKBroadcast } from "./check-broadcasts";
16+
import logger, { logAndThrow } from "./logger";
1717

1818
const EMOJIS = {
1919
check: "✅",
@@ -25,24 +25,9 @@ const EMOJIS = {
2525
warning: "⚠️",
2626
} as const;
2727

28-
function parseArgs(): Sablier.Protocol {
29-
const protocol = process.argv[2] as Sablier.Protocol;
30-
const validProtocols: Sablier.Protocol[] = ["airdrops", "flow", "legacy", "lockup"];
31-
if (!protocol || !validProtocols.includes(protocol)) {
32-
const msg = `Error: Please provide one of these protocols: ${validProtocols.join(", ")}`;
33-
logger.error(msg);
34-
throw new Error(msg);
35-
}
36-
37-
return protocol;
38-
}
39-
40-
function printSectionHeader(text: string): void {
41-
const separator = "═".repeat(50);
42-
console.log(`\n${separator}`);
43-
console.log(text);
44-
console.log(`${separator}\n`);
45-
}
28+
/* -------------------------------------------------------------------------- */
29+
/* MAIN */
30+
/* -------------------------------------------------------------------------- */
4631

4732
async function main(): Promise<void> {
4833
const missing: Record<string, Sablier.Chain[]> = {};
@@ -67,7 +52,7 @@ async function main(): Promise<void> {
6752
const paths = chain.isZK
6853
? await checkZKBroadcast(release, chain, "")
6954
: await checkBroadcast(release, chain, "");
70-
hasValidBroadcasts = !!paths;
55+
hasValidBroadcasts = !_.isEmpty(paths);
7156
}
7257

7358
// Add to missing list if broadcasts aren't valid
@@ -139,9 +124,28 @@ async function main(): Promise<void> {
139124
}
140125

141126
main().catch((error) => {
142-
logger.error(`Error checking missing broadcasts: ${error.message}`);
143-
if (error.stack) {
144-
logger.error(error.stack);
145-
}
146-
throw error;
127+
logAndThrow({ msg: `Error checking missing broadcasts: ${error.message}` });
147128
});
129+
130+
/* -------------------------------------------------------------------------- */
131+
/* HELPERS */
132+
/* -------------------------------------------------------------------------- */
133+
134+
function parseArgs(): Sablier.Protocol {
135+
const protocol = process.argv[2] as Sablier.Protocol;
136+
const validProtocols: Sablier.Protocol[] = ["airdrops", "flow", "legacy", "lockup"];
137+
if (!protocol || !validProtocols.includes(protocol)) {
138+
const msg = `Error: Please provide one of these protocols: ${validProtocols.join(", ")}`;
139+
logger.error(msg);
140+
throw new Error(msg);
141+
}
142+
143+
return protocol;
144+
}
145+
146+
function printSectionHeader(text: string): void {
147+
const separator = "═".repeat(50);
148+
console.log(`\n${separator}`);
149+
console.log(text);
150+
console.log(`${separator}\n`);
151+
}

src/chains/ids.ts

Lines changed: 8 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
1-
export const ChainId = {
2-
// Mainnets
1+
const mainnets = {
32
ABSTRACT: 2741,
43
ARBITRUM_ONE: 42161,
54
AVALANCHE: 43114,
@@ -30,8 +29,9 @@ export const ChainId = {
3029
UNICHAIN: 130,
3130
XDC: 50,
3231
ZK_SYNC_ERA: 324,
32+
} as const;
3333

34-
// Testnets
34+
const testnets = {
3535
ARBITRUM_SEPOLIA: 421614,
3636
BASE_SEPOLIA: 84532,
3737
BLAST_SEPOLIA: 168587773,
@@ -45,3 +45,8 @@ export const ChainId = {
4545
TAIKO_HEKLA: 167009,
4646
ZK_SYNC_SEPOLIA: 300,
4747
} as const;
48+
49+
export const ChainId = {
50+
...mainnets,
51+
...testnets,
52+
} as const;

src/chains/mainnets.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
import _ from "lodash";
22
import { sortChains } from "../helpers";
3-
import { AVAX, BERA, BNB, CHZ, CORE, ETH, IOTX, POL, SEI, TNT, UOS, XDC, gMELD, xDAI } from "../native-tokens";
3+
import { AVAX, BERA, BNB, CHZ, CORE, ETH, gMELD, IOTX, POL, SEI, TNT, UOS, XDC, xDAI } from "../native-tokens";
44
import type { Sablier } from "../types";
55
import { ChainId } from "./ids";
66
import { getAlchemyRPC, getInfuraRPC } from "./rpc";

0 commit comments

Comments
 (0)