Skip to content

Commit 0da211c

Browse files
committed
refactor: use deployments package
1 parent f187042 commit 0da211c

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

67 files changed

+2316
-4917
lines changed

.eslintignore

+3
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,11 @@
11
# directories
22
.docusaurus
3+
build
34
node_modules
45
repos
6+
static
57

68
# files
79
babel.config.js
810
docusaurus.config.ts
11+
sidebars.js

.eslintrc.yml

+11-9
Original file line numberDiff line numberDiff line change
@@ -3,22 +3,29 @@ env:
33
extends:
44
- "eslint:recommended"
55
- "plugin:@docusaurus/recommended"
6-
- "plugin:@typescript-eslint/recommended"
7-
- "plugin:mdx/recommended"
8-
- "plugin:react/recommended"
96
overrides:
107
- files:
118
- "*.md"
129
- "*.mdx"
10+
extends:
11+
- "plugin:mdx/recommended"
12+
- "plugin:react/recommended"
1313
parser: "eslint-mdx"
1414
rules:
1515
no-unused-expressions: "off"
1616
- files:
1717
- "*.ts"
1818
- "*.tsx"
19+
extends:
20+
- "plugin:@typescript-eslint/recommended"
21+
- "plugin:react/recommended"
1922
parser: "@typescript-eslint/parser"
2023
parserOptions:
24+
ecmaFeatures:
25+
jsx: true
26+
ecmaVersion: "latest"
2127
project: "tsconfig.json"
28+
sourceType: "module"
2229
plugins:
2330
- "@typescript-eslint"
2431
rules:
@@ -30,13 +37,8 @@ overrides:
3037
- error
3138
- argsIgnorePattern: ^_
3239
varsIgnorePattern: ^_
33-
parserOptions:
34-
ecmaFeatures:
35-
jsx: true
36-
ecmaVersion: "latest"
40+
"react/react-in-jsx-scope": "off"
3741
root: true
38-
rules:
39-
"react/react-in-jsx-scope": "off"
4042
settings:
4143
react:
4244
version: "detect"

.lintstagedrc.yml

+2-1
Original file line numberDiff line numberDiff line change
@@ -1 +1,2 @@
1-
"*.{json,md,mdx,ts,tsx,yml}": "bun run fix"
1+
"*.{md,mdx,ts,tsx}": "bun run lint:fix"
2+
"*.{json,md,mdx,ts,tsx,yml}": "bun run prettier:write"

bun.lock

+1,635-1,873
Large diffs are not rendered by default.

docs/api/airdrops/02-endpoints.mdx

+3-3
Original file line numberDiff line numberDiff line change
@@ -4,10 +4,10 @@ sidebar_position: 2
44
title: "Endpoints"
55
---
66

7-
import DeprecatedSubgraphs from "@site/docs/snippets/DeprecatedSubgraphs.mdx";
8-
import EnvioEndpoints from "@site/docs/snippets/EnvioEndpoints.mdx";
9-
import TheGraphEndpoints from "@site/docs/snippets/TheGraphEndpoints.mdx";
107
import LinkPreview from "@site/src/components/molecules/LinkPreview";
8+
import DeprecatedSubgraphs from "@site/src/snippets/DeprecatedSubgraphs.mdx";
9+
import EnvioEndpoints from "@site/src/snippets/EnvioEndpoints.mdx";
10+
import TheGraphEndpoints from "@site/src/snippets/TheGraphEndpoints.mdx";
1111

1212
# Airdrops Endpoints
1313

docs/api/airdrops/06-previous-endpoints.mdx

+1-1
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ sidebar_position: 6
44
title: "Previous Endpoints"
55
---
66

7-
import DeprecatedEndpoints from "@site/docs/snippets/DeprecatedEndpoints.mdx";
7+
import DeprecatedEndpoints from "@site/src/snippets/DeprecatedEndpoints.mdx";
88

99
<DeprecatedEndpoints />
1010

docs/api/flow/02-endpoints.mdx

+3-3
Original file line numberDiff line numberDiff line change
@@ -4,10 +4,10 @@ sidebar_position: 2
44
title: "Endpoints"
55
---
66

7-
import DeprecatedSubgraphs from "@site/docs/snippets/DeprecatedSubgraphs.mdx";
8-
import EnvioEndpoints from "@site/docs/snippets/EnvioEndpoints.mdx";
9-
import TheGraphEndpoints from "@site/docs/snippets/TheGraphEndpoints.mdx";
107
import LinkPreview from "@site/src/components/molecules/LinkPreview";
8+
import DeprecatedSubgraphs from "@site/src/snippets/DeprecatedSubgraphs.mdx";
9+
import EnvioEndpoints from "@site/src/snippets/EnvioEndpoints.mdx";
10+
import TheGraphEndpoints from "@site/src/snippets/TheGraphEndpoints.mdx";
1111

1212
# Flow Endpoints
1313

docs/api/flow/05-previous-endpoints.mdx

+1-1
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ sidebar_position: 5
44
title: "Previous Endpoints"
55
---
66

7-
import DeprecatedEndpoints from "@site/docs/snippets/DeprecatedEndpoints.mdx";
7+
import DeprecatedEndpoints from "@site/src/snippets/DeprecatedEndpoints.mdx";
88

99
<DeprecatedEndpoints />
1010

docs/api/lockup/02-endpoints.mdx

+3-3
Original file line numberDiff line numberDiff line change
@@ -4,10 +4,10 @@ sidebar_position: 2
44
title: "Endpoints"
55
---
66

7-
import DeprecatedSubgraphs from "@site/docs/snippets/DeprecatedSubgraphs.mdx";
8-
import EnvioEndpoints from "@site/docs/snippets/EnvioEndpoints.mdx";
9-
import TheGraphEndpoints from "@site/docs/snippets/TheGraphEndpoints.mdx";
107
import LinkPreview from "@site/src/components/molecules/LinkPreview";
8+
import DeprecatedSubgraphs from "@site/src/snippets/DeprecatedSubgraphs.mdx";
9+
import EnvioEndpoints from "@site/src/snippets/EnvioEndpoints.mdx";
10+
import TheGraphEndpoints from "@site/src/snippets/TheGraphEndpoints.mdx";
1111

1212
# Lockup Endpoints
1313

docs/api/lockup/05-previous-endpoints.mdx

+1-1
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ sidebar_position: 5
44
title: "Previous Endpoints"
55
---
66

7-
import DeprecatedEndpoints from "@site/docs/snippets/DeprecatedEndpoints.mdx";
7+
import DeprecatedEndpoints from "@site/src/snippets/DeprecatedEndpoints.mdx";
88

99
<DeprecatedEndpoints />
1010

docs/concepts/01-what-is-sablier.mdx

+4-4
Original file line numberDiff line numberDiff line change
@@ -5,10 +5,10 @@ title: "What Is Sablier?"
55
---
66

77
import Link from "@docusaurus/Link";
8-
import ReleaseHistoryAirdrops from "@site/docs/snippets/ReleaseHistoryAirdrops.mdx";
9-
import ReleaseHistoryFlow from "@site/docs/snippets/ReleaseHistoryFlow.mdx";
10-
import ReleaseHistoryLegacy from "@site/docs/snippets/ReleaseHistoryLegacy.mdx";
11-
import ReleaseHistoryLockup from "@site/docs/snippets/ReleaseHistoryLockup.mdx";
8+
import ReleaseHistoryAirdrops from "@site/src/snippets/ReleaseHistoryAirdrops.mdx";
9+
import ReleaseHistoryFlow from "@site/src/snippets/ReleaseHistoryFlow.mdx";
10+
import ReleaseHistoryLegacy from "@site/src/snippets/ReleaseHistoryLegacy.mdx";
11+
import ReleaseHistoryLockup from "@site/src/snippets/ReleaseHistoryLockup.mdx";
1212

1313
Sablier is a powerful onchain token distribution protocol. Here are some key definitions:
1414

docs/concepts/07-chains.mdx

+4-44
Original file line numberDiff line numberDiff line change
@@ -5,59 +5,19 @@ sidebar_position: 7
55
---
66

77
import Link from "@docusaurus/Link";
8+
import Chains from "@site/src/components/organisms/Chains";
89
import { Links } from "@site/src/constants";
910

10-
Sablier Protocol is live on 25+ mainnets and 11+ testnets. However, not all of these chains may be supported by the
11+
Sablier Protocol is live on 25+ mainnets and 11+ testnets, although not all of these chains are supported by the
1112
[Sablier Interface](https://app.sablier.com/). If you're interested in that, fill out <Link href={Links.Forms.CALL}>this form</Link>.
1213

1314
## Mainnets
1415

15-
| Chain | Chain ID | Gas Token | Block Explorer |
16-
| ---------------- | -------- | --------- | -------------------------------------------- |
17-
| Ethereum Mainnet | 1 | ETH | [Explorer](https://etherscan.io) |
18-
| Abstract | 2741 | ETH | [Explorer](https://abscan.org/) |
19-
| Arbitrum | 42161 | ETH | [Explorer](https://arbiscan.io) |
20-
| Avalanche | 43114 | AVAX | [Explorer](https://snowtrace.io) |
21-
| Base | 8453 | ETH | [Explorer](https://basescan.org) |
22-
| Berachain | 80094 | BERA | [Explorer](https://berascan.com/) |
23-
| Blast | 81457 | ETH | [Explorer](https://blastscan.io) |
24-
| BNB Smart Chain | 56 | BNB | [Explorer](https://bscscan.com) |
25-
| Chiliz | 88888 | CHZ | [Explorer](https://chiliscan.com/) |
26-
| Core DAO | 1116 | CORE | [Explorer](https://scan.coredao.org/) |
27-
| Form | 478 | ETH | [Explorer](https://explorer.form.network/) |
28-
| Gnosis | 100 | xDAI | [Explorer](https://gnosisscan.io) |
29-
| IoTeX | 4689 | IOTX | [Explorer](https://iotexscan.io) |
30-
| Lightlink | 1890 | ETH | [Explorer](https://phoenix.lightlink.io) |
31-
| Linea | 59144 | ETH | [Explorer](https://lineascan.build) |
32-
| Mode | 34443 | ETH | [Explorer](https://explorer.mode.network) |
33-
| Morph | 2818 | ETH | [Explorer](https://explorer.morphl2.io) |
34-
| Optimism | 10 | ETH | [Explorer](https://optimistic.etherscan.io/) |
35-
| Polygon | 137 | POL | [Explorer](https://polygonscan.com) |
36-
| Scroll | 534352 | ETH | [Explorer](https://scrollscan.com) |
37-
| Sei | 1329 | SEI | [Explorer](https://seitrace.com/) |
38-
| Superseed | 5330 | ETH | [Explorer](https://explorer.superseed.xyz/) |
39-
| Taiko | 167000 | ETH | [Explorer](https://taikoscan.io/) |
40-
| Tangle | 5845 | TNT | [Explorer](https://explorer.tangle.tools/) |
41-
| Ultra | 19991 | UOS | [Explorer](https://evmexplorer.ultra.io/) |
42-
| Unichain | 130 | ETH | [Explorer](https://uniscan.xyz) |
43-
| XDC | 50 | XDC | [Explorer](https://xdcscan.com/) |
44-
| zkSync Era | 324 | ETH | [Explorer](https://era.zksync.network/) |
16+
<Chains type="mainnets" />
4517

4618
## Testnets
4719

48-
| Chain | Chain ID | Gas Token | Block Explorer |
49-
| ----------------- | --------- | --------- | --------------------------------------------------- |
50-
| Ethereum Sepolia | 11155111 | ETH | [Explorer](https://sepolia.etherscan.io) |
51-
| Arbitrum Sepolia | 421614 | ETH | [Explorer](https://sepolia.arbiscan.io) |
52-
| Base Sepolia | 84532 | ETH | [Explorer](https://sepolia.basescan.org) |
53-
| Blast Sepolia | 168587773 | ETH | [Explorer](https://sepolia.blastscan.io/) |
54-
| Linea Sepolia | 59141 | ETH | [Explorer](https://sepolia.lineascan.build/) |
55-
| Mode Sepolia | 919 | ETH | [Explorer](https://sepolia.explorer.mode.network/) |
56-
| Monad Testnet | 10143 | MON | [Explorer](https://testnet.monadexplorer.com/) |
57-
| Optimism Sepolia | 11155420 | ETH | [Explorer](https://sepolia-optimism.etherscan.io) |
58-
| Superseed Sepolia | 53302 | ETH | [Explorer](https://sepolia-explorer.superseed.xyz/) |
59-
| Taiko Hekla | 167009 | ETH | [Explorer](https://hekla.taikoexplorer.com/) |
60-
| zkSync Sepolia | 300 | ETH | [Explorer](https://sepolia-era.zksync.network/) |
20+
<Chains type="testnets" />
6121

6222
## Notes
6323

0 commit comments

Comments
 (0)