@logswap/sdk 0.5.87 → 0.5.88
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/dist/client.d.ts +1 -1
- package/dist/client.js +2 -1
- package/dist/fpool.d.ts +1 -1
- package/package.json +1 -1
- package/src/client.ts +2 -1
- package/src/fpool.ts +1 -1
package/dist/client.d.ts
CHANGED
|
@@ -131,7 +131,7 @@ export declare const EXPECTED_VERSION = 12n;
|
|
|
131
131
|
* passes it; when one lands, raise this constant in the same change, which is the discipline
|
|
132
132
|
* `EXPECTED_VERSION` enforces mechanically and this one asks for.
|
|
133
133
|
*/
|
|
134
|
-
export declare const EXPECTED_F_VERSION =
|
|
134
|
+
export declare const EXPECTED_F_VERSION = 39n;
|
|
135
135
|
export declare function assertVersion(c: LogswapClient, expected?: bigint): Promise<void>;
|
|
136
136
|
/**
|
|
137
137
|
* The versions say the managers are the right code; this says the rest of the addresses belong
|
package/dist/client.js
CHANGED
|
@@ -218,8 +218,9 @@ export const EXPECTED_VERSION = 12n;
|
|
|
218
218
|
// `regenerate(poolId, to)`; asset membership is fixed by the key; `LiquidityDeployed` echoes the input,
|
|
219
219
|
// `GenerationSeeded` / `LegsSet` are gone; the lens `fPool` field is `baseLegs`, the cap `lnCapOverSeed`; the pot and the
|
|
220
220
|
// income fee are the income and the income tax (`IncomeReleased`, `incomeHeld`, `incomeTax`); a pad is uncapped.
|
|
221
|
+
// 39 (decision 087): `swapFeeB4B` is gone; base-for-base pays `swapFee` once, not 2·swapFee.
|
|
221
222
|
// A breaking bump: raised in the same change.
|
|
222
|
-
export const EXPECTED_F_VERSION =
|
|
223
|
+
export const EXPECTED_F_VERSION = 39n;
|
|
223
224
|
export async function assertVersion(c, expected = EXPECTED_VERSION) {
|
|
224
225
|
const { cPoolManagerAbi, fPoolManagerAbi } = await import("./generated.js");
|
|
225
226
|
// three independent reads: one round trip, not three in a row
|
package/dist/fpool.d.ts
CHANGED
|
@@ -1285,7 +1285,7 @@ export interface FPoolCreateArgs {
|
|
|
1285
1285
|
quote: Address;
|
|
1286
1286
|
/** The pool's assets, in any order; sorted into the key's canonical order before the call. The set is fixed for the pool's life. */
|
|
1287
1287
|
bases: Address[];
|
|
1288
|
-
/** The swap fee, WAD.
|
|
1288
|
+
/** The swap fee, WAD. Base-for-base pays it once, like any swap (F 39). A curated policy admits only its listed tiers (decisions 059). */
|
|
1289
1289
|
swapFee: bigint;
|
|
1290
1290
|
/**
|
|
1291
1291
|
* The pool's mint fee, WAD of newly-minted L — the creator's pick, a key field fixed for life (F 38, decision
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@logswap/sdk",
|
|
3
|
-
"version": "0.5.
|
|
3
|
+
"version": "0.5.88",
|
|
4
4
|
"description": "TypeScript SDK for Logswap, the liquidity primitive introducing the logarithmic invariant — typed wrappers over the CPoolManager / FPoolManager / Router / Lens surface.",
|
|
5
5
|
"license": "GPL-2.0-or-later",
|
|
6
6
|
"type": "module",
|
package/src/client.ts
CHANGED
|
@@ -285,8 +285,9 @@ export const EXPECTED_VERSION = 12n;
|
|
|
285
285
|
// `regenerate(poolId, to)`; asset membership is fixed by the key; `LiquidityDeployed` echoes the input,
|
|
286
286
|
// `GenerationSeeded` / `LegsSet` are gone; the lens `fPool` field is `baseLegs`, the cap `lnCapOverSeed`; the pot and the
|
|
287
287
|
// income fee are the income and the income tax (`IncomeReleased`, `incomeHeld`, `incomeTax`); a pad is uncapped.
|
|
288
|
+
// 39 (decision 087): `swapFeeB4B` is gone; base-for-base pays `swapFee` once, not 2·swapFee.
|
|
288
289
|
// A breaking bump: raised in the same change.
|
|
289
|
-
export const EXPECTED_F_VERSION =
|
|
290
|
+
export const EXPECTED_F_VERSION = 39n;
|
|
290
291
|
|
|
291
292
|
export async function assertVersion(c: LogswapClient, expected = EXPECTED_VERSION): Promise<void> {
|
|
292
293
|
const { cPoolManagerAbi, fPoolManagerAbi } = await import("./generated.js");
|
package/src/fpool.ts
CHANGED
|
@@ -1004,7 +1004,7 @@ export interface FPoolCreateArgs {
|
|
|
1004
1004
|
quote: Address;
|
|
1005
1005
|
/** The pool's assets, in any order; sorted into the key's canonical order before the call. The set is fixed for the pool's life. */
|
|
1006
1006
|
bases: Address[];
|
|
1007
|
-
/** The swap fee, WAD.
|
|
1007
|
+
/** The swap fee, WAD. Base-for-base pays it once, like any swap (F 39). A curated policy admits only its listed tiers (decisions 059). */
|
|
1008
1008
|
swapFee: bigint;
|
|
1009
1009
|
/**
|
|
1010
1010
|
* The pool's mint fee, WAD of newly-minted L — the creator's pick, a key field fixed for life (F 38, decision
|