@parallel-protocol/cli 0.2.9 → 0.2.10
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +2 -2
- package/dist/index.js +3 -21
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -251,7 +251,7 @@ parallel bridge status <txHash> --from <chain>
|
|
|
251
251
|
parallel bridge history <address> [--limit <n>] [--offset <n>] # past transfers (default: 20)
|
|
252
252
|
```
|
|
253
253
|
|
|
254
|
-
> **Note:** only `usdp` can be bridged for now (`--token` defaults to it; other values are rejected).
|
|
254
|
+
> **Note:** only `usdp` can be bridged for now (`--token` defaults to it; other values are rejected). Every supported chain can bridge.
|
|
255
255
|
|
|
256
256
|
---
|
|
257
257
|
|
|
@@ -410,7 +410,7 @@ parallel protocol tvl --chain nope --json 2>err.json || jq -r '.error.code' err.
|
|
|
410
410
|
|
|
411
411
|
## Supported chains
|
|
412
412
|
|
|
413
|
-
`ethereum` · `base` · `arbitrum` · `optimism` · `polygon` · `avalanche` · `bsc` · `scroll` · `gnosis` · `sei` · `berachain` · `hyperevm` · `unichain` · `ink` · `tac` · `
|
|
413
|
+
`ethereum` · `base` · `arbitrum` · `optimism` · `polygon` · `avalanche` · `bsc` · `scroll` · `gnosis` · `sei` · `berachain` · `hyperevm` · `unichain` · `ink` · `tac` · `linea` · `xlayer` · `fraxtal` · `worldchain` · `hemi` · `plume` · `plasma` · `katana`
|
|
414
414
|
|
|
415
415
|
> `sonic` is sunset (PIP-64) — Parallelizer/Savings operations return `CHAIN_SUNSET`; USDp bridging and balance reads stay active.
|
|
416
416
|
|
package/dist/index.js
CHANGED
|
@@ -5,7 +5,7 @@ import { existsSync, mkdirSync, writeFileSync, readFileSync } from 'fs';
|
|
|
5
5
|
import { join, dirname } from 'path';
|
|
6
6
|
import { fileURLToPath } from 'url';
|
|
7
7
|
import { config } from 'dotenv';
|
|
8
|
-
import { hyperEvm, hemi, katana, plasma, plume, worldchain, fraxtal, xLayer, linea,
|
|
8
|
+
import { hyperEvm, hemi, katana, plasma, plume, worldchain, fraxtal, xLayer, linea, sonic, tac, ink, unichain, berachain, sei, gnosis, scroll, bsc, avalanche, polygon, optimism, arbitrum, base, mainnet } from 'viem/chains';
|
|
9
9
|
import { z } from 'zod';
|
|
10
10
|
import { keccak256, toHex, isAddress, zeroAddress, parseUnits, isHex, formatUnits, encodeFunctionData, formatEther, createPublicClient, http, createWalletClient, getContract, encodeAbiParameters, concat, hashTypedData, BaseError, ContractFunctionRevertedError, ContractFunctionZeroDataError, custom } from 'viem';
|
|
11
11
|
import { createEnv } from '@t3-oss/env-core';
|
|
@@ -1635,7 +1635,7 @@ function suppressLogs() {
|
|
|
1635
1635
|
|
|
1636
1636
|
// package.json
|
|
1637
1637
|
var package_default = {
|
|
1638
|
-
version: "0.2.
|
|
1638
|
+
version: "0.2.10"};
|
|
1639
1639
|
function findEnvFile(dir) {
|
|
1640
1640
|
const candidate = join(dir, ".env");
|
|
1641
1641
|
if (existsSync(candidate)) return candidate;
|
|
@@ -1683,7 +1683,6 @@ var ChainEnum = z.enum([
|
|
|
1683
1683
|
"ink",
|
|
1684
1684
|
"tac",
|
|
1685
1685
|
"sonic",
|
|
1686
|
-
"mantle",
|
|
1687
1686
|
"linea",
|
|
1688
1687
|
"xlayer",
|
|
1689
1688
|
"fraxtal",
|
|
@@ -1897,16 +1896,6 @@ var CHAINS_STATIC = {
|
|
|
1897
1896
|
harvester: "0x120805265fA944834DC6e930De2995768806a9d2"
|
|
1898
1897
|
}
|
|
1899
1898
|
},
|
|
1900
|
-
mantle: {
|
|
1901
|
-
viem: mantle,
|
|
1902
|
-
status: "active",
|
|
1903
|
-
lzEid: 30181,
|
|
1904
|
-
contracts: {
|
|
1905
|
-
accessManager: "0xfD28f108e95f4D41daAE9dbfFf707D677985998E",
|
|
1906
|
-
usdp: "0x9eE1963f05553eF838604Dd39403be21ceF26AA4",
|
|
1907
|
-
flashParallel: "0x9e0DCF7a33bBde6689560C5c807dd2a3dF991277"
|
|
1908
|
-
}
|
|
1909
|
-
},
|
|
1910
1899
|
linea: {
|
|
1911
1900
|
viem: linea,
|
|
1912
1901
|
status: "active",
|
|
@@ -2074,7 +2063,6 @@ var VIEM_CHAINS = {
|
|
|
2074
2063
|
ink: ink2,
|
|
2075
2064
|
tac: tac,
|
|
2076
2065
|
sonic: sonic,
|
|
2077
|
-
mantle: mantle,
|
|
2078
2066
|
linea: linea,
|
|
2079
2067
|
xlayer: xLayer,
|
|
2080
2068
|
fraxtal: fraxtal,
|
|
@@ -2179,12 +2167,6 @@ var RPC_CONFIG = {
|
|
|
2179
2167
|
publicNode: "https://sonic-rpc.publicnode.com",
|
|
2180
2168
|
drpc: "https://sonic.drpc.org"
|
|
2181
2169
|
},
|
|
2182
|
-
mantle: {
|
|
2183
|
-
public: mantle.rpcUrls.default.http[0],
|
|
2184
|
-
ankr: "https://rpc.ankr.com/mantle",
|
|
2185
|
-
publicNode: "https://mantle-rpc.publicnode.com",
|
|
2186
|
-
drpc: "https://mantle.drpc.org"
|
|
2187
|
-
},
|
|
2188
2170
|
linea: {
|
|
2189
2171
|
public: linea.rpcUrls.default.http[0],
|
|
2190
2172
|
alchemy: "linea-mainnet",
|
|
@@ -15360,7 +15342,7 @@ function swapCommand() {
|
|
|
15360
15342
|
|
|
15361
15343
|
// ../mcp-server/package.json
|
|
15362
15344
|
var package_default2 = {
|
|
15363
|
-
version: "1.
|
|
15345
|
+
version: "1.2.0"};
|
|
15364
15346
|
|
|
15365
15347
|
// src/commands/version.ts
|
|
15366
15348
|
function versionCommand() {
|