@logswap/sdk 0.5.42 → 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/client.d.ts +1 -1
- package/dist/client.js +4 -1
- package/dist/fpool.d.ts +7 -3548
- package/dist/fpool.js +7 -7
- package/dist/generated.d.ts +208 -1609
- package/dist/generated.js +136 -1165
- package/package.json +1 -1
- package/src/client.ts +4 -1
- package/src/fpool.ts +7 -7
- package/src/generated.ts +136 -1167
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
|
|
26
|
+
import { fPoolManagerAbi, logswapRouterAbi } from "./generated.js";
|
|
27
27
|
/**
|
|
28
|
-
*
|
|
29
|
-
*
|
|
30
|
-
*
|
|
31
|
-
*
|
|
32
|
-
* and
|
|
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
|
|
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. */
|