liquid-sdk 1.5.5 → 1.5.6
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/AGENT_README.md +2 -2
- package/README.md +11 -1
- package/dist/index.d.mts +4 -4
- package/dist/index.d.ts +4 -4
- package/dist/index.js +3 -3
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +3 -3
- package/dist/index.mjs.map +1 -1
- package/llms.txt +1 -1
- package/package.json +1 -1
- package/skills/deploy-token.md +4 -4
package/AGENT_README.md
CHANGED
|
@@ -507,11 +507,11 @@ When calling `deployToken`, all fields except `name` and `symbol` are optional.
|
|
|
507
507
|
| `image` | `""` | Empty string |
|
|
508
508
|
| `metadata` | `""` | Empty string |
|
|
509
509
|
| `context` | `'{"interface":"SDK"}'` | Auto-set via `buildContext()` |
|
|
510
|
-
| `hook` | `ADDRESSES.HOOK_STATIC_FEE_V2` | Static 1% buy
|
|
510
|
+
| `hook` | `ADDRESSES.HOOK_STATIC_FEE_V2` | Static 1% buy + 1% sell |
|
|
511
511
|
| `pairedToken` | `EXTERNAL.WETH` | Base WETH |
|
|
512
512
|
| `tickIfToken0IsLiquid` | `-230400` | ≈10 ETH market cap |
|
|
513
513
|
| `tickSpacing` | `200` | Uniswap V4 tick spacing |
|
|
514
|
-
| `poolData` | `encodeStaticFeePoolData(
|
|
514
|
+
| `poolData` | `encodeStaticFeePoolData(100, 100)` | 1% sell, 1% buy |
|
|
515
515
|
| `locker` | `ADDRESSES.LP_LOCKER_FEE_CONVERSION` | LP locker with fee conversion to ETH |
|
|
516
516
|
| `rewardAdmins` | `[walletAddress]` | Deployer is admin |
|
|
517
517
|
| `rewardRecipients` | `[walletAddress]` | Deployer gets rewards |
|
package/README.md
CHANGED
|
@@ -8,7 +8,17 @@ TypeScript SDK for the Liquid Protocol token launcher on Base. Deploy tokens, ma
|
|
|
8
8
|
npm install liquid-sdk viem
|
|
9
9
|
```
|
|
10
10
|
|
|
11
|
-
> **Defaults**: Static 1%
|
|
11
|
+
> **Defaults**: Static 1% fee (both buy and sell), 5-position Liquid layout, Sniper Auction MEV (80%→40% over 32s, 5 rounds), tick spacing 200, starting tick -230400 (~10 ETH market cap).
|
|
12
|
+
|
|
13
|
+
### Default Liquidity Positions
|
|
14
|
+
|
|
15
|
+
| # | Supply | Tick Range | Market Cap Range (@$2,000/ETH) |
|
|
16
|
+
|---|--------|-----------|-------------------------------|
|
|
17
|
+
| 1 | 10% | -230,400 → -216,000 | ~$20K → ~$83K |
|
|
18
|
+
| 2 | 50% | -216,000 → -155,000 | ~$83K → ~$37M |
|
|
19
|
+
| 3 | 15% | -202,000 → -155,000 | ~$338K → ~$37M |
|
|
20
|
+
| 4 | 20% | -155,000 → -120,000 | ~$37M → ~$1.2B |
|
|
21
|
+
| 5 | 5% | -141,000 → -120,000 | ~$151M → ~$1.2B |
|
|
12
22
|
|
|
13
23
|
## Quick Start
|
|
14
24
|
|
package/dist/index.d.mts
CHANGED
|
@@ -429,7 +429,7 @@ declare const POOL_POSITIONS: {
|
|
|
429
429
|
/**
|
|
430
430
|
* Liquid protocol defaults.
|
|
431
431
|
*
|
|
432
|
-
* - Hook: Static fee V2, 1% on buys
|
|
432
|
+
* - Hook: Static fee V2, 1% on both buys and sells
|
|
433
433
|
* - MEV: Sniper Auction V2 — 80% → 40% decaying over 32 seconds
|
|
434
434
|
* - Tick spacing: 200
|
|
435
435
|
* - Starting tick: -230400 (≈10 ETH market cap)
|
|
@@ -441,10 +441,10 @@ declare const DEFAULTS: {
|
|
|
441
441
|
readonly LOCKER: `0x${string}`;
|
|
442
442
|
readonly TICK_SPACING: 200;
|
|
443
443
|
readonly TICK_IF_TOKEN0_IS_LIQUID: -230400;
|
|
444
|
-
/** Static fee on buys (ETH → token): 1% (100 bps)
|
|
444
|
+
/** Static fee on buys (ETH → token): 1% (100 bps) */
|
|
445
445
|
readonly PAIRED_FEE_BPS: 100;
|
|
446
|
-
/** Static fee on sells (token → ETH):
|
|
447
|
-
readonly LIQUID_FEE_BPS:
|
|
446
|
+
/** Static fee on sells (token → ETH): 1% (100 bps) */
|
|
447
|
+
readonly LIQUID_FEE_BPS: 100;
|
|
448
448
|
/** MEV module: Sniper Auction V2 */
|
|
449
449
|
readonly MEV_MODULE: `0x${string}`;
|
|
450
450
|
/** Sniper auction starting fee: 80% (800,000 uniBps) */
|
package/dist/index.d.ts
CHANGED
|
@@ -429,7 +429,7 @@ declare const POOL_POSITIONS: {
|
|
|
429
429
|
/**
|
|
430
430
|
* Liquid protocol defaults.
|
|
431
431
|
*
|
|
432
|
-
* - Hook: Static fee V2, 1% on buys
|
|
432
|
+
* - Hook: Static fee V2, 1% on both buys and sells
|
|
433
433
|
* - MEV: Sniper Auction V2 — 80% → 40% decaying over 32 seconds
|
|
434
434
|
* - Tick spacing: 200
|
|
435
435
|
* - Starting tick: -230400 (≈10 ETH market cap)
|
|
@@ -441,10 +441,10 @@ declare const DEFAULTS: {
|
|
|
441
441
|
readonly LOCKER: `0x${string}`;
|
|
442
442
|
readonly TICK_SPACING: 200;
|
|
443
443
|
readonly TICK_IF_TOKEN0_IS_LIQUID: -230400;
|
|
444
|
-
/** Static fee on buys (ETH → token): 1% (100 bps)
|
|
444
|
+
/** Static fee on buys (ETH → token): 1% (100 bps) */
|
|
445
445
|
readonly PAIRED_FEE_BPS: 100;
|
|
446
|
-
/** Static fee on sells (token → ETH):
|
|
447
|
-
readonly LIQUID_FEE_BPS:
|
|
446
|
+
/** Static fee on sells (token → ETH): 1% (100 bps) */
|
|
447
|
+
readonly LIQUID_FEE_BPS: 100;
|
|
448
448
|
/** MEV module: Sniper Auction V2 */
|
|
449
449
|
readonly MEV_MODULE: `0x${string}`;
|
|
450
450
|
/** Sniper auction starting fee: 80% (800,000 uniBps) */
|
package/dist/index.js
CHANGED
|
@@ -164,10 +164,10 @@ var DEFAULTS = {
|
|
|
164
164
|
LOCKER: ADDRESSES.LP_LOCKER_FEE_CONVERSION,
|
|
165
165
|
TICK_SPACING: 200,
|
|
166
166
|
TICK_IF_TOKEN0_IS_LIQUID: -230400,
|
|
167
|
-
/** Static fee on buys (ETH → token): 1% (100 bps)
|
|
167
|
+
/** Static fee on buys (ETH → token): 1% (100 bps) */
|
|
168
168
|
PAIRED_FEE_BPS: 100,
|
|
169
|
-
/** Static fee on sells (token → ETH):
|
|
170
|
-
LIQUID_FEE_BPS:
|
|
169
|
+
/** Static fee on sells (token → ETH): 1% (100 bps) */
|
|
170
|
+
LIQUID_FEE_BPS: 100,
|
|
171
171
|
/** MEV module: Sniper Auction V2 */
|
|
172
172
|
MEV_MODULE: ADDRESSES.SNIPER_AUCTION_V2,
|
|
173
173
|
/** Sniper auction starting fee: 80% (800,000 uniBps) */
|