@logswap/sdk 0.5.40 → 0.5.42

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 CHANGED
@@ -64,5 +64,5 @@ export declare const EXPECTED_VERSION = 3n;
64
64
  * passes it; when one lands, raise this constant in the same change, which is the discipline
65
65
  * `EXPECTED_VERSION` enforces mechanically and this one asks for.
66
66
  */
67
- export declare const EXPECTED_F_VERSION = 8n;
67
+ export declare const EXPECTED_F_VERSION = 11n;
68
68
  export declare function assertVersion(c: LogswapClient, expected?: bigint): Promise<void>;
package/dist/client.js CHANGED
@@ -47,7 +47,17 @@ export const EXPECTED_VERSION = 3n;
47
47
  // generation (`fPoolShareId(poolId, gen)`), `dissolve(poolId)`, `redeem`, `claim` / `dividendOf`
48
48
  // / `rollIn` / `previewRollIn` take the generation, `Pool.gen` replaces `dissolved` and
49
49
  // `successor`. A 7 deployment's share ids do not even resolve with this SDK.
50
- export const EXPECTED_F_VERSION = 8n;
50
+ // 9 (2026-09-16): `deepen` is gone, `Pool.leverTheta` is `harvestedTheta` (decisions 034).
51
+ // 10 (2026-09-17): no floor guard — `Pool.minBuffer`, `raiseMinBuffer`, `LEVER_FLOOR` gone;
52
+ // `dissolve` needs an empty bid on every pool (decisions 035); the key bit is the CLASS, `pad`
53
+ // (036): `seed` mints a pad's shares to 0xdead, and the operator, the gates and the list are
54
+ // refused on it — `fPoolLaunch` no longer transfers the seed itself.
55
+ // 11 (2026-09-17): roles and entries (decisions 037) — the operator runs the pool (`harvest`,
56
+ // `dissolve`, `setLegs`) and is the authority until appointed, two-step (`acceptOperator`,
57
+ // `Pool.pendingOperator`); `setLegL`/`admitLeg` are gone, `setLegs` edits the next generation's
58
+ // table while unseeded; `fPoolRelaunch` takes `legs`.
59
+ // `getPool` decodes one field fewer, so a 9 deployment's struct no longer matches this SDK.
60
+ export const EXPECTED_F_VERSION = 11n;
51
61
  export async function assertVersion(c, expected = EXPECTED_VERSION) {
52
62
  const { cPoolManagerAbi } = await import("./generated.js");
53
63
  const got = await c.public.readContract({