@logswap/sdk 0.5.41 → 0.5.43

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/fpool.js CHANGED
@@ -23,15 +23,15 @@
23
23
  * `addresses.router`.
24
24
  */
25
25
  import { encodeFunctionData, toFunctionSelector } from "viem";
26
- import { fPoolManagerAbi as fPoolPrimitiveAbi, fPoolSponsorAbi, logswapRouterAbi } from "./generated.js";
26
+ import { fPoolManagerAbi, logswapRouterAbi } from "./generated.js";
27
27
  /**
28
- * The F manager's ABI is the UNION of its two compiled halves (decisions 031): `FPoolManager`
29
- * holds the primitive and forwards every other selector from its fallback to `FPoolSponsor` —
30
- * the lever, `claim`, `dissolve`, the handover, the gates, the desk, the names — by delegatecall.
31
- * One address from outside, so one ABI here; both halves carry the base's events and errors,
32
- * and viem tolerates the duplicates.
28
+ * One contract, one ABI (decisions 039, F version 12): the sponsor surface — `harvest`, `claim`,
29
+ * `dissolve`, the handover, the gates, the operator, `setLegs`, the names, the fee parameters —
30
+ * is `FPoolManager`'s own code again. From 031 to 038 it was a delegatecall facet
31
+ * (`FPoolSponsor`) and this ABI was the union of the two compiled halves; the union is gone with
32
+ * the facet, and the generated ABI is the whole surface.
33
33
  */
34
- export const fPoolManagerAbi = [...fPoolPrimitiveAbi, ...fPoolSponsorAbi];
34
+ export { fPoolManagerAbi };
35
35
  const WAD = 10n ** 18n;
36
36
  const ZERO_ADDRESS = "0x0000000000000000000000000000000000000000";
37
37
  /** Read a basket pool whole. Batched — viem multicalls these when the transport allows. */