lcx-liberty-sdk 1.3.0 → 1.5.0
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/constants.d.ts +3 -1
- package/dist/constants.js +3 -1
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
TypeScript client for the [LCX Liberty DEX](https://dex.lcx.com/business)
|
|
4
4
|
DEX aggregator. Best-execution routing across Ethereum, Base, Arbitrum,
|
|
5
5
|
OP Mainnet, BNB Chain, Polygon, Avalanche, Robinhood Chain, Unichain, Monad,
|
|
6
|
-
HyperEVM and
|
|
6
|
+
HyperEVM, Arc, World Chain and Cronos, priced from our own pool index.
|
|
7
7
|
|
|
8
8
|
Zero dependencies. Node 18+, Deno, Bun, Workers, browser.
|
|
9
9
|
|
|
@@ -161,7 +161,7 @@ records:
|
|
|
161
161
|
| Contract | Chains | Address |
|
|
162
162
|
|---|---|---|
|
|
163
163
|
| Router proxy (the `spender`: swaps, cross-chain and the multi token swap) | Ethereum, Base, Arbitrum, OP Mainnet | `0x0000000000b1ae06c96aB73FF4360d7AeAaB56F0` |
|
|
164
|
-
| Router 2 (the same role) | BNB Chain, Polygon, Avalanche, Robinhood Chain, Unichain, Monad, HyperEVM, Arc | `0x0000000000654902B6Ed6cC240cc81CB4c4a3dff` |
|
|
164
|
+
| Router 2 (the same role) | BNB Chain, Polygon, Avalanche, Robinhood Chain, Unichain, Monad, HyperEVM, Arc, World Chain, Cronos | `0x0000000000654902B6Ed6cC240cc81CB4c4a3dff` |
|
|
165
165
|
| Fee router (deployed, reserved for integrator-fee traffic) | Ethereum, Base, Arbitrum, OP Mainnet | `0xd67aADF902d15890cb11DfB4DA3d3D90b1953Dee` |
|
|
166
166
|
|
|
167
167
|
An approval is per chain and per router: a wallet that trades on a chain of
|
package/dist/constants.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/** Version, hosts and chain constants. Imported by every resource. */
|
|
2
|
-
export declare const VERSION = "1.
|
|
2
|
+
export declare const VERSION = "1.5.0";
|
|
3
3
|
/**
|
|
4
4
|
* The API, where every call needs a key. Get a free one (150k calls/month, no
|
|
5
5
|
* card) at https://dex.lcx.com/dashboard.
|
|
@@ -32,6 +32,8 @@ export declare const CHAINS: {
|
|
|
32
32
|
readonly monad: 143;
|
|
33
33
|
readonly hyperevm: 999;
|
|
34
34
|
readonly arc: 5042;
|
|
35
|
+
readonly worldchain: 480;
|
|
36
|
+
readonly cronos: 25;
|
|
35
37
|
};
|
|
36
38
|
/** The zero address, which every endpoint treats as the chain's native asset. */
|
|
37
39
|
export declare const NATIVE = "0x0000000000000000000000000000000000000000";
|
package/dist/constants.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/** Version, hosts and chain constants. Imported by every resource. */
|
|
2
|
-
export const VERSION = "1.
|
|
2
|
+
export const VERSION = "1.5.0";
|
|
3
3
|
/**
|
|
4
4
|
* The API, where every call needs a key. Get a free one (150k calls/month, no
|
|
5
5
|
* card) at https://dex.lcx.com/dashboard.
|
|
@@ -32,6 +32,8 @@ export const CHAINS = {
|
|
|
32
32
|
monad: 143,
|
|
33
33
|
hyperevm: 999,
|
|
34
34
|
arc: 5042,
|
|
35
|
+
worldchain: 480,
|
|
36
|
+
cronos: 25,
|
|
35
37
|
};
|
|
36
38
|
/** The zero address, which every endpoint treats as the chain's native asset. */
|
|
37
39
|
export const NATIVE = "0x0000000000000000000000000000000000000000";
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "lcx-liberty-sdk",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.5.0",
|
|
4
4
|
"description": "TypeScript SDK for the LCX Liberty DEX aggregator. Best-execution routing across Ethereum, Base, Arbitrum, OP Mainnet, BNB Chain, Polygon, Avalanche, Robinhood Chain, Unichain, Monad, HyperEVM and Arc.",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"module": "./dist/index.js",
|