@logswap/sdk 0.5.36 → 0.5.37

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.d.ts CHANGED
@@ -23,6 +23,3548 @@
23
23
  * `addresses.router`.
24
24
  */
25
25
  import { type Address, type Hash, type Hex } from "viem";
26
+ /**
27
+ * The F manager's ABI is the UNION of its two compiled halves (decisions 031): `FPoolManager`
28
+ * holds the primitive and forwards every other selector from its fallback to `FPoolSponsor` —
29
+ * the lever, `claim`, `dissolve`, the handover, the gates, the desk, the names — by delegatecall.
30
+ * One address from outside, so one ABI here; both halves carry the base's events and errors,
31
+ * and viem tolerates the duplicates.
32
+ */
33
+ export declare const fPoolManagerAbi: readonly [{
34
+ readonly type: "constructor";
35
+ readonly inputs: readonly [{
36
+ readonly name: "_feeCollector";
37
+ readonly internalType: "address";
38
+ readonly type: "address";
39
+ }];
40
+ readonly stateMutability: "nonpayable";
41
+ }, {
42
+ readonly type: "fallback";
43
+ readonly stateMutability: "nonpayable";
44
+ }, {
45
+ readonly type: "function";
46
+ readonly inputs: readonly [];
47
+ readonly name: "FEE_MIN";
48
+ readonly outputs: readonly [{
49
+ readonly name: "";
50
+ readonly internalType: "uint256";
51
+ readonly type: "uint256";
52
+ }];
53
+ readonly stateMutability: "view";
54
+ }, {
55
+ readonly type: "function";
56
+ readonly inputs: readonly [];
57
+ readonly name: "HARVEST_FEE";
58
+ readonly outputs: readonly [{
59
+ readonly name: "";
60
+ readonly internalType: "uint256";
61
+ readonly type: "uint256";
62
+ }];
63
+ readonly stateMutability: "view";
64
+ }, {
65
+ readonly type: "function";
66
+ readonly inputs: readonly [];
67
+ readonly name: "LEVER_FLOOR";
68
+ readonly outputs: readonly [{
69
+ readonly name: "";
70
+ readonly internalType: "uint256";
71
+ readonly type: "uint256";
72
+ }];
73
+ readonly stateMutability: "view";
74
+ }, {
75
+ readonly type: "function";
76
+ readonly inputs: readonly [];
77
+ readonly name: "MINT_FEE";
78
+ readonly outputs: readonly [{
79
+ readonly name: "";
80
+ readonly internalType: "uint256";
81
+ readonly type: "uint256";
82
+ }];
83
+ readonly stateMutability: "view";
84
+ }, {
85
+ readonly type: "function";
86
+ readonly inputs: readonly [];
87
+ readonly name: "MINT_FEE_PROTOCOL_CUT";
88
+ readonly outputs: readonly [{
89
+ readonly name: "";
90
+ readonly internalType: "uint256";
91
+ readonly type: "uint256";
92
+ }];
93
+ readonly stateMutability: "view";
94
+ }, {
95
+ readonly type: "function";
96
+ readonly inputs: readonly [];
97
+ readonly name: "acceptCollector";
98
+ readonly outputs: readonly [];
99
+ readonly stateMutability: "nonpayable";
100
+ }, {
101
+ readonly type: "function";
102
+ readonly inputs: readonly [{
103
+ readonly name: "owner";
104
+ readonly internalType: "address";
105
+ readonly type: "address";
106
+ }, {
107
+ readonly name: "spender";
108
+ readonly internalType: "address";
109
+ readonly type: "address";
110
+ }, {
111
+ readonly name: "id";
112
+ readonly internalType: "uint256";
113
+ readonly type: "uint256";
114
+ }];
115
+ readonly name: "allowance";
116
+ readonly outputs: readonly [{
117
+ readonly name: "amount";
118
+ readonly internalType: "uint256";
119
+ readonly type: "uint256";
120
+ }];
121
+ readonly stateMutability: "view";
122
+ }, {
123
+ readonly type: "function";
124
+ readonly inputs: readonly [{
125
+ readonly name: "";
126
+ readonly internalType: "bytes32";
127
+ readonly type: "bytes32";
128
+ }, {
129
+ readonly name: "";
130
+ readonly internalType: "address";
131
+ readonly type: "address";
132
+ }];
133
+ readonly name: "allowed";
134
+ readonly outputs: readonly [{
135
+ readonly name: "";
136
+ readonly internalType: "bool";
137
+ readonly type: "bool";
138
+ }];
139
+ readonly stateMutability: "view";
140
+ }, {
141
+ readonly type: "function";
142
+ readonly inputs: readonly [{
143
+ readonly name: "spender";
144
+ readonly internalType: "address";
145
+ readonly type: "address";
146
+ }, {
147
+ readonly name: "id";
148
+ readonly internalType: "uint256";
149
+ readonly type: "uint256";
150
+ }, {
151
+ readonly name: "amount";
152
+ readonly internalType: "uint256";
153
+ readonly type: "uint256";
154
+ }];
155
+ readonly name: "approve";
156
+ readonly outputs: readonly [{
157
+ readonly name: "";
158
+ readonly internalType: "bool";
159
+ readonly type: "bool";
160
+ }];
161
+ readonly stateMutability: "payable";
162
+ }, {
163
+ readonly type: "function";
164
+ readonly inputs: readonly [{
165
+ readonly name: "owner";
166
+ readonly internalType: "address";
167
+ readonly type: "address";
168
+ }, {
169
+ readonly name: "id";
170
+ readonly internalType: "uint256";
171
+ readonly type: "uint256";
172
+ }];
173
+ readonly name: "balanceOf";
174
+ readonly outputs: readonly [{
175
+ readonly name: "amount";
176
+ readonly internalType: "uint256";
177
+ readonly type: "uint256";
178
+ }];
179
+ readonly stateMutability: "view";
180
+ }, {
181
+ readonly type: "function";
182
+ readonly inputs: readonly [{
183
+ readonly name: "poolId";
184
+ readonly internalType: "bytes32";
185
+ readonly type: "bytes32";
186
+ }, {
187
+ readonly name: "owner";
188
+ readonly internalType: "address";
189
+ readonly type: "address";
190
+ }, {
191
+ readonly name: "shares";
192
+ readonly internalType: "uint256";
193
+ readonly type: "uint256";
194
+ }, {
195
+ readonly name: "minQuoteOut";
196
+ readonly internalType: "uint256";
197
+ readonly type: "uint256";
198
+ }];
199
+ readonly name: "burn";
200
+ readonly outputs: readonly [{
201
+ readonly name: "dL";
202
+ readonly internalType: "uint256";
203
+ readonly type: "uint256";
204
+ }];
205
+ readonly stateMutability: "nonpayable";
206
+ }, {
207
+ readonly type: "function";
208
+ readonly inputs: readonly [{
209
+ readonly name: "token";
210
+ readonly internalType: "address";
211
+ readonly type: "address";
212
+ }, {
213
+ readonly name: "amount";
214
+ readonly internalType: "uint256";
215
+ readonly type: "uint256";
216
+ }];
217
+ readonly name: "burnClaims";
218
+ readonly outputs: readonly [];
219
+ readonly stateMutability: "nonpayable";
220
+ }, {
221
+ readonly type: "function";
222
+ readonly inputs: readonly [{
223
+ readonly name: "token";
224
+ readonly internalType: "address";
225
+ readonly type: "address";
226
+ }];
227
+ readonly name: "claimIdOf";
228
+ readonly outputs: readonly [{
229
+ readonly name: "";
230
+ readonly internalType: "uint256";
231
+ readonly type: "uint256";
232
+ }];
233
+ readonly stateMutability: "pure";
234
+ }, {
235
+ readonly type: "function";
236
+ readonly inputs: readonly [{
237
+ readonly name: "";
238
+ readonly internalType: "address";
239
+ readonly type: "address";
240
+ }];
241
+ readonly name: "claimsOutstanding";
242
+ readonly outputs: readonly [{
243
+ readonly name: "";
244
+ readonly internalType: "uint256";
245
+ readonly type: "uint256";
246
+ }];
247
+ readonly stateMutability: "view";
248
+ }, {
249
+ readonly type: "function";
250
+ readonly inputs: readonly [{
251
+ readonly name: "poolId";
252
+ readonly internalType: "bytes32";
253
+ readonly type: "bytes32";
254
+ }];
255
+ readonly name: "compositeX";
256
+ readonly outputs: readonly [{
257
+ readonly name: "X";
258
+ readonly internalType: "int256";
259
+ readonly type: "int256";
260
+ }];
261
+ readonly stateMutability: "view";
262
+ }, {
263
+ readonly type: "function";
264
+ readonly inputs: readonly [{
265
+ readonly name: "id";
266
+ readonly internalType: "uint256";
267
+ readonly type: "uint256";
268
+ }];
269
+ readonly name: "decimals";
270
+ readonly outputs: readonly [{
271
+ readonly name: "";
272
+ readonly internalType: "uint8";
273
+ readonly type: "uint8";
274
+ }];
275
+ readonly stateMutability: "view";
276
+ }, {
277
+ readonly type: "function";
278
+ readonly inputs: readonly [{
279
+ readonly name: "token";
280
+ readonly internalType: "address";
281
+ readonly type: "address";
282
+ }, {
283
+ readonly name: "target";
284
+ readonly internalType: "address";
285
+ readonly type: "address";
286
+ }];
287
+ readonly name: "deltaOf";
288
+ readonly outputs: readonly [{
289
+ readonly name: "";
290
+ readonly internalType: "int256";
291
+ readonly type: "int256";
292
+ }];
293
+ readonly stateMutability: "view";
294
+ }, {
295
+ readonly type: "function";
296
+ readonly inputs: readonly [{
297
+ readonly name: "poolId";
298
+ readonly internalType: "bytes32";
299
+ readonly type: "bytes32";
300
+ }, {
301
+ readonly name: "holder";
302
+ readonly internalType: "address";
303
+ readonly type: "address";
304
+ }];
305
+ readonly name: "dividendOf";
306
+ readonly outputs: readonly [{
307
+ readonly name: "";
308
+ readonly internalType: "uint256";
309
+ readonly type: "uint256";
310
+ }];
311
+ readonly stateMutability: "view";
312
+ }, {
313
+ readonly type: "function";
314
+ readonly inputs: readonly [{
315
+ readonly name: "";
316
+ readonly internalType: "uint256";
317
+ readonly type: "uint256";
318
+ }];
319
+ readonly name: "dps";
320
+ readonly outputs: readonly [{
321
+ readonly name: "";
322
+ readonly internalType: "uint256";
323
+ readonly type: "uint256";
324
+ }];
325
+ readonly stateMutability: "view";
326
+ }, {
327
+ readonly type: "function";
328
+ readonly inputs: readonly [{
329
+ readonly name: "poolId";
330
+ readonly internalType: "bytes32";
331
+ readonly type: "bytes32";
332
+ }];
333
+ readonly name: "edgePerL";
334
+ readonly outputs: readonly [{
335
+ readonly name: "";
336
+ readonly internalType: "int256";
337
+ readonly type: "int256";
338
+ }];
339
+ readonly stateMutability: "view";
340
+ }, {
341
+ readonly type: "function";
342
+ readonly inputs: readonly [];
343
+ readonly name: "feeCollector";
344
+ readonly outputs: readonly [{
345
+ readonly name: "";
346
+ readonly internalType: "address";
347
+ readonly type: "address";
348
+ }];
349
+ readonly stateMutability: "view";
350
+ }, {
351
+ readonly type: "function";
352
+ readonly inputs: readonly [{
353
+ readonly name: "poolId";
354
+ readonly internalType: "bytes32";
355
+ readonly type: "bytes32";
356
+ }];
357
+ readonly name: "feePerL";
358
+ readonly outputs: readonly [{
359
+ readonly name: "";
360
+ readonly internalType: "int256";
361
+ readonly type: "int256";
362
+ }];
363
+ readonly stateMutability: "view";
364
+ }, {
365
+ readonly type: "function";
366
+ readonly inputs: readonly [{
367
+ readonly name: "poolId";
368
+ readonly internalType: "bytes32";
369
+ readonly type: "bytes32";
370
+ }];
371
+ readonly name: "getPool";
372
+ readonly outputs: readonly [{
373
+ readonly name: "";
374
+ readonly internalType: "struct FPoolBase.Pool";
375
+ readonly type: "tuple";
376
+ readonly components: readonly [{
377
+ readonly name: "quote";
378
+ readonly internalType: "address";
379
+ readonly type: "address";
380
+ }, {
381
+ readonly name: "phi";
382
+ readonly internalType: "uint96";
383
+ readonly type: "uint96";
384
+ }, {
385
+ readonly name: "authority";
386
+ readonly internalType: "address";
387
+ readonly type: "address";
388
+ }, {
389
+ readonly name: "lockStrike";
390
+ readonly internalType: "bool";
391
+ readonly type: "bool";
392
+ }, {
393
+ readonly name: "seeded";
394
+ readonly internalType: "bool";
395
+ readonly type: "bool";
396
+ }, {
397
+ readonly name: "dissolved";
398
+ readonly internalType: "bool";
399
+ readonly type: "bool";
400
+ }, {
401
+ readonly name: "n";
402
+ readonly internalType: "uint8";
403
+ readonly type: "uint8";
404
+ }, {
405
+ readonly name: "restructureBlock";
406
+ readonly internalType: "uint32";
407
+ readonly type: "uint32";
408
+ }, {
409
+ readonly name: "gateMint";
410
+ readonly internalType: "bool";
411
+ readonly type: "bool";
412
+ }, {
413
+ readonly name: "gateSwap";
414
+ readonly internalType: "bool";
415
+ readonly type: "bool";
416
+ }, {
417
+ readonly name: "Q";
418
+ readonly internalType: "uint128";
419
+ readonly type: "uint128";
420
+ }, {
421
+ readonly name: "bigSigma";
422
+ readonly internalType: "uint128";
423
+ readonly type: "uint128";
424
+ }, {
425
+ readonly name: "L";
426
+ readonly internalType: "uint256";
427
+ readonly type: "uint256";
428
+ }, {
429
+ readonly name: "shares";
430
+ readonly internalType: "uint256";
431
+ readonly type: "uint256";
432
+ }, {
433
+ readonly name: "theta0";
434
+ readonly internalType: "int256";
435
+ readonly type: "int256";
436
+ }, {
437
+ readonly name: "leverTheta";
438
+ readonly internalType: "int256";
439
+ readonly type: "int256";
440
+ }, {
441
+ readonly name: "pendingAuthority";
442
+ readonly internalType: "address";
443
+ readonly type: "address";
444
+ }, {
445
+ readonly name: "operator";
446
+ readonly internalType: "address";
447
+ readonly type: "address";
448
+ }, {
449
+ readonly name: "minBuffer";
450
+ readonly internalType: "uint96";
451
+ readonly type: "uint96";
452
+ }, {
453
+ readonly name: "incomeTaken";
454
+ readonly internalType: "uint256";
455
+ readonly type: "uint256";
456
+ }, {
457
+ readonly name: "name";
458
+ readonly internalType: "bytes32";
459
+ readonly type: "bytes32";
460
+ }, {
461
+ readonly name: "successor";
462
+ readonly internalType: "bytes32";
463
+ readonly type: "bytes32";
464
+ }];
465
+ }];
466
+ readonly stateMutability: "view";
467
+ }, {
468
+ readonly type: "function";
469
+ readonly inputs: readonly [{
470
+ readonly name: "";
471
+ readonly internalType: "bytes32";
472
+ readonly type: "bytes32";
473
+ }];
474
+ readonly name: "harvestFeeExempt";
475
+ readonly outputs: readonly [{
476
+ readonly name: "";
477
+ readonly internalType: "bool";
478
+ readonly type: "bool";
479
+ }];
480
+ readonly stateMutability: "view";
481
+ }, {
482
+ readonly type: "function";
483
+ readonly inputs: readonly [{
484
+ readonly name: "key";
485
+ readonly internalType: "struct FPoolKey";
486
+ readonly type: "tuple";
487
+ readonly components: readonly [{
488
+ readonly name: "quote";
489
+ readonly internalType: "address";
490
+ readonly type: "address";
491
+ }, {
492
+ readonly name: "bases";
493
+ readonly internalType: "address[]";
494
+ readonly type: "address[]";
495
+ }, {
496
+ readonly name: "weights";
497
+ readonly internalType: "uint256[]";
498
+ readonly type: "uint256[]";
499
+ }, {
500
+ readonly name: "phi";
501
+ readonly internalType: "uint256";
502
+ readonly type: "uint256";
503
+ }, {
504
+ readonly name: "lockStrike";
505
+ readonly internalType: "bool";
506
+ readonly type: "bool";
507
+ }, {
508
+ readonly name: "authority";
509
+ readonly internalType: "address";
510
+ readonly type: "address";
511
+ }, {
512
+ readonly name: "salt";
513
+ readonly internalType: "bytes32";
514
+ readonly type: "bytes32";
515
+ }];
516
+ }];
517
+ readonly name: "idOf";
518
+ readonly outputs: readonly [{
519
+ readonly name: "";
520
+ readonly internalType: "bytes32";
521
+ readonly type: "bytes32";
522
+ }];
523
+ readonly stateMutability: "pure";
524
+ }, {
525
+ readonly type: "function";
526
+ readonly inputs: readonly [{
527
+ readonly name: "key";
528
+ readonly internalType: "struct FPoolKey";
529
+ readonly type: "tuple";
530
+ readonly components: readonly [{
531
+ readonly name: "quote";
532
+ readonly internalType: "address";
533
+ readonly type: "address";
534
+ }, {
535
+ readonly name: "bases";
536
+ readonly internalType: "address[]";
537
+ readonly type: "address[]";
538
+ }, {
539
+ readonly name: "weights";
540
+ readonly internalType: "uint256[]";
541
+ readonly type: "uint256[]";
542
+ }, {
543
+ readonly name: "phi";
544
+ readonly internalType: "uint256";
545
+ readonly type: "uint256";
546
+ }, {
547
+ readonly name: "lockStrike";
548
+ readonly internalType: "bool";
549
+ readonly type: "bool";
550
+ }, {
551
+ readonly name: "authority";
552
+ readonly internalType: "address";
553
+ readonly type: "address";
554
+ }, {
555
+ readonly name: "salt";
556
+ readonly internalType: "bytes32";
557
+ readonly type: "bytes32";
558
+ }];
559
+ }];
560
+ readonly name: "initialize";
561
+ readonly outputs: readonly [{
562
+ readonly name: "poolId";
563
+ readonly internalType: "bytes32";
564
+ readonly type: "bytes32";
565
+ }];
566
+ readonly stateMutability: "nonpayable";
567
+ }, {
568
+ readonly type: "function";
569
+ readonly inputs: readonly [{
570
+ readonly name: "owner";
571
+ readonly internalType: "address";
572
+ readonly type: "address";
573
+ }, {
574
+ readonly name: "spender";
575
+ readonly internalType: "address";
576
+ readonly type: "address";
577
+ }];
578
+ readonly name: "isOperator";
579
+ readonly outputs: readonly [{
580
+ readonly name: "status";
581
+ readonly internalType: "bool";
582
+ readonly type: "bool";
583
+ }];
584
+ readonly stateMutability: "view";
585
+ }, {
586
+ readonly type: "function";
587
+ readonly inputs: readonly [];
588
+ readonly name: "isUnlocked";
589
+ readonly outputs: readonly [{
590
+ readonly name: "";
591
+ readonly internalType: "bool";
592
+ readonly type: "bool";
593
+ }];
594
+ readonly stateMutability: "view";
595
+ }, {
596
+ readonly type: "function";
597
+ readonly inputs: readonly [{
598
+ readonly name: "poolId";
599
+ readonly internalType: "bytes32";
600
+ readonly type: "bytes32";
601
+ }, {
602
+ readonly name: "j";
603
+ readonly internalType: "uint256";
604
+ readonly type: "uint256";
605
+ }];
606
+ readonly name: "legOf";
607
+ readonly outputs: readonly [{
608
+ readonly name: "base";
609
+ readonly internalType: "address";
610
+ readonly type: "address";
611
+ }, {
612
+ readonly name: "weight";
613
+ readonly internalType: "uint256";
614
+ readonly type: "uint256";
615
+ }, {
616
+ readonly name: "x";
617
+ readonly internalType: "int256";
618
+ readonly type: "int256";
619
+ }, {
620
+ readonly name: "reserve";
621
+ readonly internalType: "uint256";
622
+ readonly type: "uint256";
623
+ }];
624
+ readonly stateMutability: "view";
625
+ }, {
626
+ readonly type: "function";
627
+ readonly inputs: readonly [{
628
+ readonly name: "poolId";
629
+ readonly internalType: "bytes32";
630
+ readonly type: "bytes32";
631
+ }, {
632
+ readonly name: "to";
633
+ readonly internalType: "address";
634
+ readonly type: "address";
635
+ }, {
636
+ readonly name: "dL";
637
+ readonly internalType: "uint256";
638
+ readonly type: "uint256";
639
+ }, {
640
+ readonly name: "maxQuoteIn";
641
+ readonly internalType: "uint256";
642
+ readonly type: "uint256";
643
+ }];
644
+ readonly name: "mint";
645
+ readonly outputs: readonly [{
646
+ readonly name: "shares";
647
+ readonly internalType: "uint256";
648
+ readonly type: "uint256";
649
+ }];
650
+ readonly stateMutability: "nonpayable";
651
+ }, {
652
+ readonly type: "function";
653
+ readonly inputs: readonly [{
654
+ readonly name: "token";
655
+ readonly internalType: "address";
656
+ readonly type: "address";
657
+ }, {
658
+ readonly name: "to";
659
+ readonly internalType: "address";
660
+ readonly type: "address";
661
+ }, {
662
+ readonly name: "amount";
663
+ readonly internalType: "uint256";
664
+ readonly type: "uint256";
665
+ }];
666
+ readonly name: "mintClaims";
667
+ readonly outputs: readonly [];
668
+ readonly stateMutability: "nonpayable";
669
+ }, {
670
+ readonly type: "function";
671
+ readonly inputs: readonly [{
672
+ readonly name: "calls";
673
+ readonly internalType: "bytes[]";
674
+ readonly type: "bytes[]";
675
+ }];
676
+ readonly name: "multicall";
677
+ readonly outputs: readonly [{
678
+ readonly name: "results";
679
+ readonly internalType: "bytes[]";
680
+ readonly type: "bytes[]";
681
+ }];
682
+ readonly stateMutability: "nonpayable";
683
+ }, {
684
+ readonly type: "function";
685
+ readonly inputs: readonly [{
686
+ readonly name: "poolId";
687
+ readonly internalType: "bytes32";
688
+ readonly type: "bytes32";
689
+ }];
690
+ readonly name: "n";
691
+ readonly outputs: readonly [{
692
+ readonly name: "";
693
+ readonly internalType: "uint256";
694
+ readonly type: "uint256";
695
+ }];
696
+ readonly stateMutability: "view";
697
+ }, {
698
+ readonly type: "function";
699
+ readonly inputs: readonly [{
700
+ readonly name: "";
701
+ readonly internalType: "uint256";
702
+ readonly type: "uint256";
703
+ }];
704
+ readonly name: "name";
705
+ readonly outputs: readonly [{
706
+ readonly name: "";
707
+ readonly internalType: "string";
708
+ readonly type: "string";
709
+ }];
710
+ readonly stateMutability: "pure";
711
+ }, {
712
+ readonly type: "function";
713
+ readonly inputs: readonly [];
714
+ readonly name: "nonzeroDeltaCount";
715
+ readonly outputs: readonly [{
716
+ readonly name: "";
717
+ readonly internalType: "uint256";
718
+ readonly type: "uint256";
719
+ }];
720
+ readonly stateMutability: "view";
721
+ }, {
722
+ readonly type: "function";
723
+ readonly inputs: readonly [];
724
+ readonly name: "pendingCollector";
725
+ readonly outputs: readonly [{
726
+ readonly name: "";
727
+ readonly internalType: "address";
728
+ readonly type: "address";
729
+ }];
730
+ readonly stateMutability: "view";
731
+ }, {
732
+ readonly type: "function";
733
+ readonly inputs: readonly [{
734
+ readonly name: "poolId";
735
+ readonly internalType: "bytes32";
736
+ readonly type: "bytes32";
737
+ }];
738
+ readonly name: "phiB4B";
739
+ readonly outputs: readonly [{
740
+ readonly name: "";
741
+ readonly internalType: "uint256";
742
+ readonly type: "uint256";
743
+ }];
744
+ readonly stateMutability: "view";
745
+ }, {
746
+ readonly type: "function";
747
+ readonly inputs: readonly [{
748
+ readonly name: "";
749
+ readonly internalType: "uint256";
750
+ readonly type: "uint256";
751
+ }];
752
+ readonly name: "pot";
753
+ readonly outputs: readonly [{
754
+ readonly name: "";
755
+ readonly internalType: "uint256";
756
+ readonly type: "uint256";
757
+ }];
758
+ readonly stateMutability: "view";
759
+ }, {
760
+ readonly type: "function";
761
+ readonly inputs: readonly [{
762
+ readonly name: "next";
763
+ readonly internalType: "address";
764
+ readonly type: "address";
765
+ }];
766
+ readonly name: "proposeCollector";
767
+ readonly outputs: readonly [];
768
+ readonly stateMutability: "nonpayable";
769
+ }, {
770
+ readonly type: "function";
771
+ readonly inputs: readonly [{
772
+ readonly name: "poolId";
773
+ readonly internalType: "bytes32";
774
+ readonly type: "bytes32";
775
+ }, {
776
+ readonly name: "kind";
777
+ readonly internalType: "enum FPoolManager.QuoteKind";
778
+ readonly type: "uint8";
779
+ }, {
780
+ readonly name: "j";
781
+ readonly internalType: "uint256";
782
+ readonly type: "uint256";
783
+ }, {
784
+ readonly name: "k";
785
+ readonly internalType: "uint256";
786
+ readonly type: "uint256";
787
+ }, {
788
+ readonly name: "amountIn";
789
+ readonly internalType: "uint256";
790
+ readonly type: "uint256";
791
+ }, {
792
+ readonly name: "taker";
793
+ readonly internalType: "address";
794
+ readonly type: "address";
795
+ }];
796
+ readonly name: "quoteSwap";
797
+ readonly outputs: readonly [];
798
+ readonly stateMutability: "nonpayable";
799
+ }, {
800
+ readonly type: "function";
801
+ readonly inputs: readonly [{
802
+ readonly name: "poolId";
803
+ readonly internalType: "bytes32";
804
+ readonly type: "bytes32";
805
+ }, {
806
+ readonly name: "j";
807
+ readonly internalType: "uint256";
808
+ readonly type: "uint256";
809
+ }];
810
+ readonly name: "reserveOf";
811
+ readonly outputs: readonly [{
812
+ readonly name: "";
813
+ readonly internalType: "uint256";
814
+ readonly type: "uint256";
815
+ }];
816
+ readonly stateMutability: "view";
817
+ }, {
818
+ readonly type: "function";
819
+ readonly inputs: readonly [{
820
+ readonly name: "poolId";
821
+ readonly internalType: "bytes32";
822
+ readonly type: "bytes32";
823
+ }, {
824
+ readonly name: "L0";
825
+ readonly internalType: "uint256";
826
+ readonly type: "uint256";
827
+ }, {
828
+ readonly name: "r0";
829
+ readonly internalType: "uint256[]";
830
+ readonly type: "uint256[]";
831
+ }, {
832
+ readonly name: "Q0";
833
+ readonly internalType: "uint256";
834
+ readonly type: "uint256";
835
+ }];
836
+ readonly name: "seed";
837
+ readonly outputs: readonly [{
838
+ readonly name: "shares";
839
+ readonly internalType: "uint256";
840
+ readonly type: "uint256";
841
+ }];
842
+ readonly stateMutability: "nonpayable";
843
+ }, {
844
+ readonly type: "function";
845
+ readonly inputs: readonly [{
846
+ readonly name: "operator";
847
+ readonly internalType: "address";
848
+ readonly type: "address";
849
+ }, {
850
+ readonly name: "approved";
851
+ readonly internalType: "bool";
852
+ readonly type: "bool";
853
+ }];
854
+ readonly name: "setOperator";
855
+ readonly outputs: readonly [{
856
+ readonly name: "";
857
+ readonly internalType: "bool";
858
+ readonly type: "bool";
859
+ }];
860
+ readonly stateMutability: "payable";
861
+ }, {
862
+ readonly type: "function";
863
+ readonly inputs: readonly [];
864
+ readonly name: "settle";
865
+ readonly outputs: readonly [{
866
+ readonly name: "paid";
867
+ readonly internalType: "uint256";
868
+ readonly type: "uint256";
869
+ }];
870
+ readonly stateMutability: "nonpayable";
871
+ }, {
872
+ readonly type: "function";
873
+ readonly inputs: readonly [{
874
+ readonly name: "poolId";
875
+ readonly internalType: "bytes32";
876
+ readonly type: "bytes32";
877
+ }];
878
+ readonly name: "shareIdOf";
879
+ readonly outputs: readonly [{
880
+ readonly name: "";
881
+ readonly internalType: "uint256";
882
+ readonly type: "uint256";
883
+ }];
884
+ readonly stateMutability: "pure";
885
+ }, {
886
+ readonly type: "function";
887
+ readonly inputs: readonly [];
888
+ readonly name: "sponsor";
889
+ readonly outputs: readonly [{
890
+ readonly name: "";
891
+ readonly internalType: "contract FPoolSponsor";
892
+ readonly type: "address";
893
+ }];
894
+ readonly stateMutability: "view";
895
+ }, {
896
+ readonly type: "function";
897
+ readonly inputs: readonly [{
898
+ readonly name: "";
899
+ readonly internalType: "address";
900
+ readonly type: "address";
901
+ }];
902
+ readonly name: "sponsorName";
903
+ readonly outputs: readonly [{
904
+ readonly name: "";
905
+ readonly internalType: "bytes32";
906
+ readonly type: "bytes32";
907
+ }];
908
+ readonly stateMutability: "view";
909
+ }, {
910
+ readonly type: "function";
911
+ readonly inputs: readonly [{
912
+ readonly name: "interfaceId";
913
+ readonly internalType: "bytes4";
914
+ readonly type: "bytes4";
915
+ }];
916
+ readonly name: "supportsInterface";
917
+ readonly outputs: readonly [{
918
+ readonly name: "result";
919
+ readonly internalType: "bool";
920
+ readonly type: "bool";
921
+ }];
922
+ readonly stateMutability: "view";
923
+ }, {
924
+ readonly type: "function";
925
+ readonly inputs: readonly [{
926
+ readonly name: "poolId";
927
+ readonly internalType: "bytes32";
928
+ readonly type: "bytes32";
929
+ }, {
930
+ readonly name: "j";
931
+ readonly internalType: "uint256";
932
+ readonly type: "uint256";
933
+ }, {
934
+ readonly name: "k";
935
+ readonly internalType: "uint256";
936
+ readonly type: "uint256";
937
+ }, {
938
+ readonly name: "amountIn";
939
+ readonly internalType: "uint256";
940
+ readonly type: "uint256";
941
+ }, {
942
+ readonly name: "minOut";
943
+ readonly internalType: "uint256";
944
+ readonly type: "uint256";
945
+ }, {
946
+ readonly name: "taker";
947
+ readonly internalType: "address";
948
+ readonly type: "address";
949
+ }];
950
+ readonly name: "swapBaseForBase";
951
+ readonly outputs: readonly [{
952
+ readonly name: "amountOut";
953
+ readonly internalType: "uint256";
954
+ readonly type: "uint256";
955
+ }];
956
+ readonly stateMutability: "nonpayable";
957
+ }, {
958
+ readonly type: "function";
959
+ readonly inputs: readonly [{
960
+ readonly name: "poolId";
961
+ readonly internalType: "bytes32";
962
+ readonly type: "bytes32";
963
+ }, {
964
+ readonly name: "j";
965
+ readonly internalType: "uint256";
966
+ readonly type: "uint256";
967
+ }, {
968
+ readonly name: "amountIn";
969
+ readonly internalType: "uint256";
970
+ readonly type: "uint256";
971
+ }, {
972
+ readonly name: "minOut";
973
+ readonly internalType: "uint256";
974
+ readonly type: "uint256";
975
+ }, {
976
+ readonly name: "taker";
977
+ readonly internalType: "address";
978
+ readonly type: "address";
979
+ }];
980
+ readonly name: "swapBaseIn";
981
+ readonly outputs: readonly [{
982
+ readonly name: "amountOut";
983
+ readonly internalType: "uint256";
984
+ readonly type: "uint256";
985
+ }];
986
+ readonly stateMutability: "nonpayable";
987
+ }, {
988
+ readonly type: "function";
989
+ readonly inputs: readonly [{
990
+ readonly name: "poolId";
991
+ readonly internalType: "bytes32";
992
+ readonly type: "bytes32";
993
+ }, {
994
+ readonly name: "j";
995
+ readonly internalType: "uint256";
996
+ readonly type: "uint256";
997
+ }, {
998
+ readonly name: "amountIn";
999
+ readonly internalType: "uint256";
1000
+ readonly type: "uint256";
1001
+ }, {
1002
+ readonly name: "minOut";
1003
+ readonly internalType: "uint256";
1004
+ readonly type: "uint256";
1005
+ }, {
1006
+ readonly name: "taker";
1007
+ readonly internalType: "address";
1008
+ readonly type: "address";
1009
+ }];
1010
+ readonly name: "swapQuoteIn";
1011
+ readonly outputs: readonly [{
1012
+ readonly name: "amountOut";
1013
+ readonly internalType: "uint256";
1014
+ readonly type: "uint256";
1015
+ }];
1016
+ readonly stateMutability: "nonpayable";
1017
+ }, {
1018
+ readonly type: "function";
1019
+ readonly inputs: readonly [{
1020
+ readonly name: "";
1021
+ readonly internalType: "uint256";
1022
+ readonly type: "uint256";
1023
+ }];
1024
+ readonly name: "symbol";
1025
+ readonly outputs: readonly [{
1026
+ readonly name: "";
1027
+ readonly internalType: "string";
1028
+ readonly type: "string";
1029
+ }];
1030
+ readonly stateMutability: "pure";
1031
+ }, {
1032
+ readonly type: "function";
1033
+ readonly inputs: readonly [{
1034
+ readonly name: "token";
1035
+ readonly internalType: "address";
1036
+ readonly type: "address";
1037
+ }];
1038
+ readonly name: "sync";
1039
+ readonly outputs: readonly [];
1040
+ readonly stateMutability: "nonpayable";
1041
+ }, {
1042
+ readonly type: "function";
1043
+ readonly inputs: readonly [{
1044
+ readonly name: "token";
1045
+ readonly internalType: "address";
1046
+ readonly type: "address";
1047
+ }, {
1048
+ readonly name: "to";
1049
+ readonly internalType: "address";
1050
+ readonly type: "address";
1051
+ }, {
1052
+ readonly name: "amount";
1053
+ readonly internalType: "uint256";
1054
+ readonly type: "uint256";
1055
+ }];
1056
+ readonly name: "take";
1057
+ readonly outputs: readonly [];
1058
+ readonly stateMutability: "nonpayable";
1059
+ }, {
1060
+ readonly type: "function";
1061
+ readonly inputs: readonly [{
1062
+ readonly name: "poolId";
1063
+ readonly internalType: "bytes32";
1064
+ readonly type: "bytes32";
1065
+ }];
1066
+ readonly name: "theta";
1067
+ readonly outputs: readonly [{
1068
+ readonly name: "";
1069
+ readonly internalType: "int256";
1070
+ readonly type: "int256";
1071
+ }];
1072
+ readonly stateMutability: "view";
1073
+ }, {
1074
+ readonly type: "function";
1075
+ readonly inputs: readonly [{
1076
+ readonly name: "";
1077
+ readonly internalType: "uint256";
1078
+ readonly type: "uint256";
1079
+ }];
1080
+ readonly name: "tokenURI";
1081
+ readonly outputs: readonly [{
1082
+ readonly name: "";
1083
+ readonly internalType: "string";
1084
+ readonly type: "string";
1085
+ }];
1086
+ readonly stateMutability: "pure";
1087
+ }, {
1088
+ readonly type: "function";
1089
+ readonly inputs: readonly [{
1090
+ readonly name: "to";
1091
+ readonly internalType: "address";
1092
+ readonly type: "address";
1093
+ }, {
1094
+ readonly name: "id";
1095
+ readonly internalType: "uint256";
1096
+ readonly type: "uint256";
1097
+ }, {
1098
+ readonly name: "amount";
1099
+ readonly internalType: "uint256";
1100
+ readonly type: "uint256";
1101
+ }];
1102
+ readonly name: "transfer";
1103
+ readonly outputs: readonly [{
1104
+ readonly name: "";
1105
+ readonly internalType: "bool";
1106
+ readonly type: "bool";
1107
+ }];
1108
+ readonly stateMutability: "payable";
1109
+ }, {
1110
+ readonly type: "function";
1111
+ readonly inputs: readonly [{
1112
+ readonly name: "from";
1113
+ readonly internalType: "address";
1114
+ readonly type: "address";
1115
+ }, {
1116
+ readonly name: "to";
1117
+ readonly internalType: "address";
1118
+ readonly type: "address";
1119
+ }, {
1120
+ readonly name: "id";
1121
+ readonly internalType: "uint256";
1122
+ readonly type: "uint256";
1123
+ }, {
1124
+ readonly name: "amount";
1125
+ readonly internalType: "uint256";
1126
+ readonly type: "uint256";
1127
+ }];
1128
+ readonly name: "transferFrom";
1129
+ readonly outputs: readonly [{
1130
+ readonly name: "";
1131
+ readonly internalType: "bool";
1132
+ readonly type: "bool";
1133
+ }];
1134
+ readonly stateMutability: "payable";
1135
+ }, {
1136
+ readonly type: "function";
1137
+ readonly inputs: readonly [{
1138
+ readonly name: "data";
1139
+ readonly internalType: "bytes";
1140
+ readonly type: "bytes";
1141
+ }];
1142
+ readonly name: "unlock";
1143
+ readonly outputs: readonly [{
1144
+ readonly name: "result";
1145
+ readonly internalType: "bytes";
1146
+ readonly type: "bytes";
1147
+ }];
1148
+ readonly stateMutability: "nonpayable";
1149
+ }, {
1150
+ readonly type: "function";
1151
+ readonly inputs: readonly [];
1152
+ readonly name: "version";
1153
+ readonly outputs: readonly [{
1154
+ readonly name: "";
1155
+ readonly internalType: "uint256";
1156
+ readonly type: "uint256";
1157
+ }];
1158
+ readonly stateMutability: "pure";
1159
+ }, {
1160
+ readonly type: "event";
1161
+ readonly anonymous: false;
1162
+ readonly inputs: readonly [{
1163
+ readonly name: "poolId";
1164
+ readonly internalType: "bytes32";
1165
+ readonly type: "bytes32";
1166
+ readonly indexed: true;
1167
+ }, {
1168
+ readonly name: "who";
1169
+ readonly internalType: "address";
1170
+ readonly type: "address";
1171
+ readonly indexed: true;
1172
+ }, {
1173
+ readonly name: "allowed";
1174
+ readonly internalType: "bool";
1175
+ readonly type: "bool";
1176
+ readonly indexed: false;
1177
+ }];
1178
+ readonly name: "Allowed";
1179
+ }, {
1180
+ readonly type: "event";
1181
+ readonly anonymous: false;
1182
+ readonly inputs: readonly [{
1183
+ readonly name: "owner";
1184
+ readonly internalType: "address";
1185
+ readonly type: "address";
1186
+ readonly indexed: true;
1187
+ }, {
1188
+ readonly name: "spender";
1189
+ readonly internalType: "address";
1190
+ readonly type: "address";
1191
+ readonly indexed: true;
1192
+ }, {
1193
+ readonly name: "id";
1194
+ readonly internalType: "uint256";
1195
+ readonly type: "uint256";
1196
+ readonly indexed: true;
1197
+ }, {
1198
+ readonly name: "amount";
1199
+ readonly internalType: "uint256";
1200
+ readonly type: "uint256";
1201
+ readonly indexed: false;
1202
+ }];
1203
+ readonly name: "Approval";
1204
+ }, {
1205
+ readonly type: "event";
1206
+ readonly anonymous: false;
1207
+ readonly inputs: readonly [{
1208
+ readonly name: "poolId";
1209
+ readonly internalType: "bytes32";
1210
+ readonly type: "bytes32";
1211
+ readonly indexed: true;
1212
+ }, {
1213
+ readonly name: "current";
1214
+ readonly internalType: "address";
1215
+ readonly type: "address";
1216
+ readonly indexed: true;
1217
+ }, {
1218
+ readonly name: "proposed";
1219
+ readonly internalType: "address";
1220
+ readonly type: "address";
1221
+ readonly indexed: true;
1222
+ }];
1223
+ readonly name: "AuthorityProposed";
1224
+ }, {
1225
+ readonly type: "event";
1226
+ readonly anonymous: false;
1227
+ readonly inputs: readonly [{
1228
+ readonly name: "poolId";
1229
+ readonly internalType: "bytes32";
1230
+ readonly type: "bytes32";
1231
+ readonly indexed: true;
1232
+ }, {
1233
+ readonly name: "prev";
1234
+ readonly internalType: "address";
1235
+ readonly type: "address";
1236
+ readonly indexed: true;
1237
+ }, {
1238
+ readonly name: "next";
1239
+ readonly internalType: "address";
1240
+ readonly type: "address";
1241
+ readonly indexed: true;
1242
+ }];
1243
+ readonly name: "AuthoritySet";
1244
+ }, {
1245
+ readonly type: "event";
1246
+ readonly anonymous: false;
1247
+ readonly inputs: readonly [{
1248
+ readonly name: "poolId";
1249
+ readonly internalType: "bytes32";
1250
+ readonly type: "bytes32";
1251
+ readonly indexed: true;
1252
+ }, {
1253
+ readonly name: "sender";
1254
+ readonly internalType: "address";
1255
+ readonly type: "address";
1256
+ readonly indexed: true;
1257
+ }, {
1258
+ readonly name: "dL";
1259
+ readonly internalType: "uint256";
1260
+ readonly type: "uint256";
1261
+ readonly indexed: false;
1262
+ }, {
1263
+ readonly name: "shares";
1264
+ readonly internalType: "uint256";
1265
+ readonly type: "uint256";
1266
+ readonly indexed: false;
1267
+ }, {
1268
+ readonly name: "dQuote";
1269
+ readonly internalType: "uint256";
1270
+ readonly type: "uint256";
1271
+ readonly indexed: false;
1272
+ }];
1273
+ readonly name: "Burn";
1274
+ }, {
1275
+ readonly type: "event";
1276
+ readonly anonymous: false;
1277
+ readonly inputs: readonly [{
1278
+ readonly name: "previous";
1279
+ readonly internalType: "address";
1280
+ readonly type: "address";
1281
+ readonly indexed: true;
1282
+ }, {
1283
+ readonly name: "current";
1284
+ readonly internalType: "address";
1285
+ readonly type: "address";
1286
+ readonly indexed: true;
1287
+ }];
1288
+ readonly name: "CollectorAccepted";
1289
+ }, {
1290
+ readonly type: "event";
1291
+ readonly anonymous: false;
1292
+ readonly inputs: readonly [{
1293
+ readonly name: "current";
1294
+ readonly internalType: "address";
1295
+ readonly type: "address";
1296
+ readonly indexed: true;
1297
+ }, {
1298
+ readonly name: "proposed";
1299
+ readonly internalType: "address";
1300
+ readonly type: "address";
1301
+ readonly indexed: true;
1302
+ }];
1303
+ readonly name: "CollectorProposed";
1304
+ }, {
1305
+ readonly type: "event";
1306
+ readonly anonymous: false;
1307
+ readonly inputs: readonly [{
1308
+ readonly name: "poolId";
1309
+ readonly internalType: "bytes32";
1310
+ readonly type: "bytes32";
1311
+ readonly indexed: true;
1312
+ }, {
1313
+ readonly name: "from";
1314
+ readonly internalType: "address";
1315
+ readonly type: "address";
1316
+ readonly indexed: true;
1317
+ }, {
1318
+ readonly name: "amount";
1319
+ readonly internalType: "uint256";
1320
+ readonly type: "uint256";
1321
+ readonly indexed: false;
1322
+ }];
1323
+ readonly name: "Deepen";
1324
+ }, {
1325
+ readonly type: "event";
1326
+ readonly anonymous: false;
1327
+ readonly inputs: readonly [{
1328
+ readonly name: "poolId";
1329
+ readonly internalType: "bytes32";
1330
+ readonly type: "bytes32";
1331
+ readonly indexed: true;
1332
+ }, {
1333
+ readonly name: "successor";
1334
+ readonly internalType: "bytes32";
1335
+ readonly type: "bytes32";
1336
+ readonly indexed: true;
1337
+ }];
1338
+ readonly name: "Dissolve";
1339
+ }, {
1340
+ readonly type: "event";
1341
+ readonly anonymous: false;
1342
+ readonly inputs: readonly [{
1343
+ readonly name: "poolId";
1344
+ readonly internalType: "bytes32";
1345
+ readonly type: "bytes32";
1346
+ readonly indexed: true;
1347
+ }, {
1348
+ readonly name: "holder";
1349
+ readonly internalType: "address";
1350
+ readonly type: "address";
1351
+ readonly indexed: true;
1352
+ }, {
1353
+ readonly name: "to";
1354
+ readonly internalType: "address";
1355
+ readonly type: "address";
1356
+ readonly indexed: true;
1357
+ }, {
1358
+ readonly name: "amount";
1359
+ readonly internalType: "uint256";
1360
+ readonly type: "uint256";
1361
+ readonly indexed: false;
1362
+ }];
1363
+ readonly name: "DividendClaimed";
1364
+ }, {
1365
+ readonly type: "event";
1366
+ readonly anonymous: false;
1367
+ readonly inputs: readonly [{
1368
+ readonly name: "mintFeeProtocolCut";
1369
+ readonly internalType: "uint256";
1370
+ readonly type: "uint256";
1371
+ readonly indexed: false;
1372
+ }, {
1373
+ readonly name: "harvestFee";
1374
+ readonly internalType: "uint256";
1375
+ readonly type: "uint256";
1376
+ readonly indexed: false;
1377
+ }];
1378
+ readonly name: "FeeParamsSet";
1379
+ }, {
1380
+ readonly type: "event";
1381
+ readonly anonymous: false;
1382
+ readonly inputs: readonly [{
1383
+ readonly name: "poolId";
1384
+ readonly internalType: "bytes32";
1385
+ readonly type: "bytes32";
1386
+ readonly indexed: true;
1387
+ }, {
1388
+ readonly name: "gateMint";
1389
+ readonly internalType: "bool";
1390
+ readonly type: "bool";
1391
+ readonly indexed: false;
1392
+ }, {
1393
+ readonly name: "gateSwap";
1394
+ readonly internalType: "bool";
1395
+ readonly type: "bool";
1396
+ readonly indexed: false;
1397
+ }];
1398
+ readonly name: "GatesSet";
1399
+ }, {
1400
+ readonly type: "event";
1401
+ readonly anonymous: false;
1402
+ readonly inputs: readonly [{
1403
+ readonly name: "poolId";
1404
+ readonly internalType: "bytes32";
1405
+ readonly type: "bytes32";
1406
+ readonly indexed: true;
1407
+ }, {
1408
+ readonly name: "to";
1409
+ readonly internalType: "address";
1410
+ readonly type: "address";
1411
+ readonly indexed: true;
1412
+ }, {
1413
+ readonly name: "amount";
1414
+ readonly internalType: "uint256";
1415
+ readonly type: "uint256";
1416
+ readonly indexed: false;
1417
+ }, {
1418
+ readonly name: "toSponsor";
1419
+ readonly internalType: "uint256";
1420
+ readonly type: "uint256";
1421
+ readonly indexed: false;
1422
+ }];
1423
+ readonly name: "Harvest";
1424
+ }, {
1425
+ readonly type: "event";
1426
+ readonly anonymous: false;
1427
+ readonly inputs: readonly [{
1428
+ readonly name: "poolId";
1429
+ readonly internalType: "bytes32";
1430
+ readonly type: "bytes32";
1431
+ readonly indexed: true;
1432
+ }, {
1433
+ readonly name: "exempt";
1434
+ readonly internalType: "bool";
1435
+ readonly type: "bool";
1436
+ readonly indexed: false;
1437
+ }];
1438
+ readonly name: "HarvestFeeExemptSet";
1439
+ }, {
1440
+ readonly type: "event";
1441
+ readonly anonymous: false;
1442
+ readonly inputs: readonly [{
1443
+ readonly name: "poolId";
1444
+ readonly internalType: "bytes32";
1445
+ readonly type: "bytes32";
1446
+ readonly indexed: true;
1447
+ }, {
1448
+ readonly name: "quote";
1449
+ readonly internalType: "address";
1450
+ readonly type: "address";
1451
+ readonly indexed: true;
1452
+ }, {
1453
+ readonly name: "authority";
1454
+ readonly internalType: "address";
1455
+ readonly type: "address";
1456
+ readonly indexed: true;
1457
+ }, {
1458
+ readonly name: "bases";
1459
+ readonly internalType: "address[]";
1460
+ readonly type: "address[]";
1461
+ readonly indexed: false;
1462
+ }, {
1463
+ readonly name: "weights";
1464
+ readonly internalType: "uint256[]";
1465
+ readonly type: "uint256[]";
1466
+ readonly indexed: false;
1467
+ }, {
1468
+ readonly name: "phi";
1469
+ readonly internalType: "uint256";
1470
+ readonly type: "uint256";
1471
+ readonly indexed: false;
1472
+ }, {
1473
+ readonly name: "lockStrike";
1474
+ readonly internalType: "bool";
1475
+ readonly type: "bool";
1476
+ readonly indexed: false;
1477
+ }];
1478
+ readonly name: "Initialize";
1479
+ }, {
1480
+ readonly type: "event";
1481
+ readonly anonymous: false;
1482
+ readonly inputs: readonly [{
1483
+ readonly name: "poolId";
1484
+ readonly internalType: "bytes32";
1485
+ readonly type: "bytes32";
1486
+ readonly indexed: true;
1487
+ }, {
1488
+ readonly name: "j";
1489
+ readonly internalType: "uint256";
1490
+ readonly type: "uint256";
1491
+ readonly indexed: true;
1492
+ }, {
1493
+ readonly name: "base";
1494
+ readonly internalType: "address";
1495
+ readonly type: "address";
1496
+ readonly indexed: false;
1497
+ }, {
1498
+ readonly name: "newLj";
1499
+ readonly internalType: "uint256";
1500
+ readonly type: "uint256";
1501
+ readonly indexed: false;
1502
+ }, {
1503
+ readonly name: "reserve";
1504
+ readonly internalType: "uint256";
1505
+ readonly type: "uint256";
1506
+ readonly indexed: false;
1507
+ }, {
1508
+ readonly name: "L";
1509
+ readonly internalType: "uint256";
1510
+ readonly type: "uint256";
1511
+ readonly indexed: false;
1512
+ }, {
1513
+ readonly name: "theta0";
1514
+ readonly internalType: "int256";
1515
+ readonly type: "int256";
1516
+ readonly indexed: false;
1517
+ }, {
1518
+ readonly name: "dReserve";
1519
+ readonly internalType: "int256";
1520
+ readonly type: "int256";
1521
+ readonly indexed: false;
1522
+ }, {
1523
+ readonly name: "dShares";
1524
+ readonly internalType: "int256";
1525
+ readonly type: "int256";
1526
+ readonly indexed: false;
1527
+ }];
1528
+ readonly name: "LegSet";
1529
+ }, {
1530
+ readonly type: "event";
1531
+ readonly anonymous: false;
1532
+ readonly inputs: readonly [{
1533
+ readonly name: "poolId";
1534
+ readonly internalType: "bytes32";
1535
+ readonly type: "bytes32";
1536
+ readonly indexed: true;
1537
+ }, {
1538
+ readonly name: "minBuffer";
1539
+ readonly internalType: "uint256";
1540
+ readonly type: "uint256";
1541
+ readonly indexed: false;
1542
+ }];
1543
+ readonly name: "MinBufferRaised";
1544
+ }, {
1545
+ readonly type: "event";
1546
+ readonly anonymous: false;
1547
+ readonly inputs: readonly [{
1548
+ readonly name: "poolId";
1549
+ readonly internalType: "bytes32";
1550
+ readonly type: "bytes32";
1551
+ readonly indexed: true;
1552
+ }, {
1553
+ readonly name: "sender";
1554
+ readonly internalType: "address";
1555
+ readonly type: "address";
1556
+ readonly indexed: true;
1557
+ }, {
1558
+ readonly name: "dL";
1559
+ readonly internalType: "uint256";
1560
+ readonly type: "uint256";
1561
+ readonly indexed: false;
1562
+ }, {
1563
+ readonly name: "shares";
1564
+ readonly internalType: "uint256";
1565
+ readonly type: "uint256";
1566
+ readonly indexed: false;
1567
+ }, {
1568
+ readonly name: "dQuote";
1569
+ readonly internalType: "uint256";
1570
+ readonly type: "uint256";
1571
+ readonly indexed: false;
1572
+ }];
1573
+ readonly name: "Mint";
1574
+ }, {
1575
+ readonly type: "event";
1576
+ readonly anonymous: false;
1577
+ readonly inputs: readonly [{
1578
+ readonly name: "poolId";
1579
+ readonly internalType: "bytes32";
1580
+ readonly type: "bytes32";
1581
+ readonly indexed: true;
1582
+ }, {
1583
+ readonly name: "name";
1584
+ readonly internalType: "bytes32";
1585
+ readonly type: "bytes32";
1586
+ readonly indexed: false;
1587
+ }];
1588
+ readonly name: "NameSet";
1589
+ }, {
1590
+ readonly type: "event";
1591
+ readonly anonymous: false;
1592
+ readonly inputs: readonly [{
1593
+ readonly name: "owner";
1594
+ readonly internalType: "address";
1595
+ readonly type: "address";
1596
+ readonly indexed: true;
1597
+ }, {
1598
+ readonly name: "operator";
1599
+ readonly internalType: "address";
1600
+ readonly type: "address";
1601
+ readonly indexed: true;
1602
+ }, {
1603
+ readonly name: "approved";
1604
+ readonly internalType: "bool";
1605
+ readonly type: "bool";
1606
+ readonly indexed: false;
1607
+ }];
1608
+ readonly name: "OperatorSet";
1609
+ }, {
1610
+ readonly type: "event";
1611
+ readonly anonymous: false;
1612
+ readonly inputs: readonly [{
1613
+ readonly name: "poolId";
1614
+ readonly internalType: "bytes32";
1615
+ readonly type: "bytes32";
1616
+ readonly indexed: true;
1617
+ }, {
1618
+ readonly name: "prev";
1619
+ readonly internalType: "address";
1620
+ readonly type: "address";
1621
+ readonly indexed: true;
1622
+ }, {
1623
+ readonly name: "next";
1624
+ readonly internalType: "address";
1625
+ readonly type: "address";
1626
+ readonly indexed: true;
1627
+ }];
1628
+ readonly name: "OperatorSet";
1629
+ }, {
1630
+ readonly type: "event";
1631
+ readonly anonymous: false;
1632
+ readonly inputs: readonly [{
1633
+ readonly name: "poolId";
1634
+ readonly internalType: "bytes32";
1635
+ readonly type: "bytes32";
1636
+ readonly indexed: true;
1637
+ }, {
1638
+ readonly name: "inShares";
1639
+ readonly internalType: "bool";
1640
+ readonly type: "bool";
1641
+ readonly indexed: false;
1642
+ }, {
1643
+ readonly name: "amount";
1644
+ readonly internalType: "uint256";
1645
+ readonly type: "uint256";
1646
+ readonly indexed: false;
1647
+ }];
1648
+ readonly name: "ProtocolFee";
1649
+ }, {
1650
+ readonly type: "event";
1651
+ readonly anonymous: false;
1652
+ readonly inputs: readonly [{
1653
+ readonly name: "poolId";
1654
+ readonly internalType: "bytes32";
1655
+ readonly type: "bytes32";
1656
+ readonly indexed: true;
1657
+ }, {
1658
+ readonly name: "L0";
1659
+ readonly internalType: "uint256";
1660
+ readonly type: "uint256";
1661
+ readonly indexed: false;
1662
+ }, {
1663
+ readonly name: "Q0";
1664
+ readonly internalType: "uint256";
1665
+ readonly type: "uint256";
1666
+ readonly indexed: false;
1667
+ }, {
1668
+ readonly name: "theta0";
1669
+ readonly internalType: "int256";
1670
+ readonly type: "int256";
1671
+ readonly indexed: false;
1672
+ }, {
1673
+ readonly name: "r0";
1674
+ readonly internalType: "uint256[]";
1675
+ readonly type: "uint256[]";
1676
+ readonly indexed: false;
1677
+ }];
1678
+ readonly name: "Seeded";
1679
+ }, {
1680
+ readonly type: "event";
1681
+ readonly anonymous: false;
1682
+ readonly inputs: readonly [{
1683
+ readonly name: "who";
1684
+ readonly internalType: "address";
1685
+ readonly type: "address";
1686
+ readonly indexed: true;
1687
+ }, {
1688
+ readonly name: "name";
1689
+ readonly internalType: "bytes32";
1690
+ readonly type: "bytes32";
1691
+ readonly indexed: false;
1692
+ }];
1693
+ readonly name: "SponsorNamed";
1694
+ }, {
1695
+ readonly type: "event";
1696
+ readonly anonymous: false;
1697
+ readonly inputs: readonly [{
1698
+ readonly name: "poolId";
1699
+ readonly internalType: "bytes32";
1700
+ readonly type: "bytes32";
1701
+ readonly indexed: true;
1702
+ }, {
1703
+ readonly name: "sender";
1704
+ readonly internalType: "address";
1705
+ readonly type: "address";
1706
+ readonly indexed: true;
1707
+ }, {
1708
+ readonly name: "tokenIn";
1709
+ readonly internalType: "address";
1710
+ readonly type: "address";
1711
+ readonly indexed: false;
1712
+ }, {
1713
+ readonly name: "tokenOut";
1714
+ readonly internalType: "address";
1715
+ readonly type: "address";
1716
+ readonly indexed: false;
1717
+ }, {
1718
+ readonly name: "amountIn";
1719
+ readonly internalType: "uint256";
1720
+ readonly type: "uint256";
1721
+ readonly indexed: false;
1722
+ }, {
1723
+ readonly name: "amountOut";
1724
+ readonly internalType: "uint256";
1725
+ readonly type: "uint256";
1726
+ readonly indexed: false;
1727
+ }, {
1728
+ readonly name: "reserveIn";
1729
+ readonly internalType: "uint256";
1730
+ readonly type: "uint256";
1731
+ readonly indexed: false;
1732
+ }, {
1733
+ readonly name: "reserveOut";
1734
+ readonly internalType: "uint256";
1735
+ readonly type: "uint256";
1736
+ readonly indexed: false;
1737
+ }];
1738
+ readonly name: "Swap";
1739
+ }, {
1740
+ readonly type: "event";
1741
+ readonly anonymous: false;
1742
+ readonly inputs: readonly [{
1743
+ readonly name: "by";
1744
+ readonly internalType: "address";
1745
+ readonly type: "address";
1746
+ readonly indexed: false;
1747
+ }, {
1748
+ readonly name: "from";
1749
+ readonly internalType: "address";
1750
+ readonly type: "address";
1751
+ readonly indexed: true;
1752
+ }, {
1753
+ readonly name: "to";
1754
+ readonly internalType: "address";
1755
+ readonly type: "address";
1756
+ readonly indexed: true;
1757
+ }, {
1758
+ readonly name: "id";
1759
+ readonly internalType: "uint256";
1760
+ readonly type: "uint256";
1761
+ readonly indexed: true;
1762
+ }, {
1763
+ readonly name: "amount";
1764
+ readonly internalType: "uint256";
1765
+ readonly type: "uint256";
1766
+ readonly indexed: false;
1767
+ }];
1768
+ readonly name: "Transfer";
1769
+ }, {
1770
+ readonly type: "error";
1771
+ readonly inputs: readonly [];
1772
+ readonly name: "AlreadySeeded";
1773
+ }, {
1774
+ readonly type: "error";
1775
+ readonly inputs: readonly [];
1776
+ readonly name: "AlreadyUnlocked";
1777
+ }, {
1778
+ readonly type: "error";
1779
+ readonly inputs: readonly [];
1780
+ readonly name: "BadLeg";
1781
+ }, {
1782
+ readonly type: "error";
1783
+ readonly inputs: readonly [];
1784
+ readonly name: "BadParam";
1785
+ }, {
1786
+ readonly type: "error";
1787
+ readonly inputs: readonly [];
1788
+ readonly name: "BadSuccessor";
1789
+ }, {
1790
+ readonly type: "error";
1791
+ readonly inputs: readonly [];
1792
+ readonly name: "BalanceOverflow";
1793
+ }, {
1794
+ readonly type: "error";
1795
+ readonly inputs: readonly [];
1796
+ readonly name: "Dissolved_";
1797
+ }, {
1798
+ readonly type: "error";
1799
+ readonly inputs: readonly [];
1800
+ readonly name: "InsufficientBalance";
1801
+ }, {
1802
+ readonly type: "error";
1803
+ readonly inputs: readonly [];
1804
+ readonly name: "InsufficientPermission";
1805
+ }, {
1806
+ readonly type: "error";
1807
+ readonly inputs: readonly [];
1808
+ readonly name: "InsufficientQuote";
1809
+ }, {
1810
+ readonly type: "error";
1811
+ readonly inputs: readonly [];
1812
+ readonly name: "InvalidToken";
1813
+ }, {
1814
+ readonly type: "error";
1815
+ readonly inputs: readonly [];
1816
+ readonly name: "LegHeld";
1817
+ }, {
1818
+ readonly type: "error";
1819
+ readonly inputs: readonly [];
1820
+ readonly name: "LegLive";
1821
+ }, {
1822
+ readonly type: "error";
1823
+ readonly inputs: readonly [];
1824
+ readonly name: "MinBuffer";
1825
+ }, {
1826
+ readonly type: "error";
1827
+ readonly inputs: readonly [{
1828
+ readonly name: "index";
1829
+ readonly internalType: "uint256";
1830
+ readonly type: "uint256";
1831
+ }];
1832
+ readonly name: "MulticallFailed";
1833
+ }, {
1834
+ readonly type: "error";
1835
+ readonly inputs: readonly [];
1836
+ readonly name: "NonstandardToken";
1837
+ }, {
1838
+ readonly type: "error";
1839
+ readonly inputs: readonly [];
1840
+ readonly name: "NotAllowed";
1841
+ }, {
1842
+ readonly type: "error";
1843
+ readonly inputs: readonly [];
1844
+ readonly name: "NotAuthority";
1845
+ }, {
1846
+ readonly type: "error";
1847
+ readonly inputs: readonly [];
1848
+ readonly name: "NotAuthorized";
1849
+ }, {
1850
+ readonly type: "error";
1851
+ readonly inputs: readonly [];
1852
+ readonly name: "NotCollector";
1853
+ }, {
1854
+ readonly type: "error";
1855
+ readonly inputs: readonly [];
1856
+ readonly name: "NotDissolvable";
1857
+ }, {
1858
+ readonly type: "error";
1859
+ readonly inputs: readonly [];
1860
+ readonly name: "NotOperator";
1861
+ }, {
1862
+ readonly type: "error";
1863
+ readonly inputs: readonly [];
1864
+ readonly name: "NotSeeded";
1865
+ }, {
1866
+ readonly type: "error";
1867
+ readonly inputs: readonly [];
1868
+ readonly name: "NotSoleLP";
1869
+ }, {
1870
+ readonly type: "error";
1871
+ readonly inputs: readonly [];
1872
+ readonly name: "PoolAlreadyInitialized";
1873
+ }, {
1874
+ readonly type: "error";
1875
+ readonly inputs: readonly [];
1876
+ readonly name: "PoolLocked";
1877
+ }, {
1878
+ readonly type: "error";
1879
+ readonly inputs: readonly [];
1880
+ readonly name: "PoolNotInitialized";
1881
+ }, {
1882
+ readonly type: "error";
1883
+ readonly inputs: readonly [];
1884
+ readonly name: "PriceOutOfRange";
1885
+ }, {
1886
+ readonly type: "error";
1887
+ readonly inputs: readonly [{
1888
+ readonly name: "amount";
1889
+ readonly internalType: "uint256";
1890
+ readonly type: "uint256";
1891
+ }];
1892
+ readonly name: "QuoteResult";
1893
+ }, {
1894
+ readonly type: "error";
1895
+ readonly inputs: readonly [];
1896
+ readonly name: "ReserveNotRepresentable";
1897
+ }, {
1898
+ readonly type: "error";
1899
+ readonly inputs: readonly [];
1900
+ readonly name: "Restructured";
1901
+ }, {
1902
+ readonly type: "error";
1903
+ readonly inputs: readonly [];
1904
+ readonly name: "SameAsset";
1905
+ }, {
1906
+ readonly type: "error";
1907
+ readonly inputs: readonly [];
1908
+ readonly name: "Slippage";
1909
+ }, {
1910
+ readonly type: "error";
1911
+ readonly inputs: readonly [];
1912
+ readonly name: "StrikeLocked";
1913
+ }, {
1914
+ readonly type: "error";
1915
+ readonly inputs: readonly [];
1916
+ readonly name: "SyncAlreadyOpen";
1917
+ }, {
1918
+ readonly type: "error";
1919
+ readonly inputs: readonly [];
1920
+ readonly name: "TokensNotSettled";
1921
+ }, {
1922
+ readonly type: "error";
1923
+ readonly inputs: readonly [];
1924
+ readonly name: "TooManyLegs";
1925
+ }, {
1926
+ readonly type: "error";
1927
+ readonly inputs: readonly [];
1928
+ readonly name: "TransferShortfall";
1929
+ }, {
1930
+ readonly type: "error";
1931
+ readonly inputs: readonly [];
1932
+ readonly name: "ZeroAmount";
1933
+ }, {
1934
+ readonly type: "constructor";
1935
+ readonly inputs: readonly [];
1936
+ readonly stateMutability: "nonpayable";
1937
+ }, {
1938
+ readonly type: "function";
1939
+ readonly inputs: readonly [];
1940
+ readonly name: "FEE_MIN";
1941
+ readonly outputs: readonly [{
1942
+ readonly name: "";
1943
+ readonly internalType: "uint256";
1944
+ readonly type: "uint256";
1945
+ }];
1946
+ readonly stateMutability: "view";
1947
+ }, {
1948
+ readonly type: "function";
1949
+ readonly inputs: readonly [];
1950
+ readonly name: "HARVEST_FEE";
1951
+ readonly outputs: readonly [{
1952
+ readonly name: "";
1953
+ readonly internalType: "uint256";
1954
+ readonly type: "uint256";
1955
+ }];
1956
+ readonly stateMutability: "view";
1957
+ }, {
1958
+ readonly type: "function";
1959
+ readonly inputs: readonly [];
1960
+ readonly name: "LEVER_FLOOR";
1961
+ readonly outputs: readonly [{
1962
+ readonly name: "";
1963
+ readonly internalType: "uint256";
1964
+ readonly type: "uint256";
1965
+ }];
1966
+ readonly stateMutability: "view";
1967
+ }, {
1968
+ readonly type: "function";
1969
+ readonly inputs: readonly [];
1970
+ readonly name: "MINT_FEE";
1971
+ readonly outputs: readonly [{
1972
+ readonly name: "";
1973
+ readonly internalType: "uint256";
1974
+ readonly type: "uint256";
1975
+ }];
1976
+ readonly stateMutability: "view";
1977
+ }, {
1978
+ readonly type: "function";
1979
+ readonly inputs: readonly [];
1980
+ readonly name: "MINT_FEE_PROTOCOL_CUT";
1981
+ readonly outputs: readonly [{
1982
+ readonly name: "";
1983
+ readonly internalType: "uint256";
1984
+ readonly type: "uint256";
1985
+ }];
1986
+ readonly stateMutability: "view";
1987
+ }, {
1988
+ readonly type: "function";
1989
+ readonly inputs: readonly [{
1990
+ readonly name: "poolId";
1991
+ readonly internalType: "bytes32";
1992
+ readonly type: "bytes32";
1993
+ }];
1994
+ readonly name: "acceptAuthority";
1995
+ readonly outputs: readonly [];
1996
+ readonly stateMutability: "nonpayable";
1997
+ }, {
1998
+ readonly type: "function";
1999
+ readonly inputs: readonly [];
2000
+ readonly name: "acceptCollector";
2001
+ readonly outputs: readonly [];
2002
+ readonly stateMutability: "nonpayable";
2003
+ }, {
2004
+ readonly type: "function";
2005
+ readonly inputs: readonly [{
2006
+ readonly name: "poolId";
2007
+ readonly internalType: "bytes32";
2008
+ readonly type: "bytes32";
2009
+ }, {
2010
+ readonly name: "base";
2011
+ readonly internalType: "address";
2012
+ readonly type: "address";
2013
+ }, {
2014
+ readonly name: "Lj";
2015
+ readonly internalType: "uint256";
2016
+ readonly type: "uint256";
2017
+ }, {
2018
+ readonly name: "R";
2019
+ readonly internalType: "uint256";
2020
+ readonly type: "uint256";
2021
+ }];
2022
+ readonly name: "admitLeg";
2023
+ readonly outputs: readonly [{
2024
+ readonly name: "dReserve";
2025
+ readonly internalType: "int256";
2026
+ readonly type: "int256";
2027
+ }, {
2028
+ readonly name: "dShares";
2029
+ readonly internalType: "int256";
2030
+ readonly type: "int256";
2031
+ }];
2032
+ readonly stateMutability: "nonpayable";
2033
+ }, {
2034
+ readonly type: "function";
2035
+ readonly inputs: readonly [{
2036
+ readonly name: "owner";
2037
+ readonly internalType: "address";
2038
+ readonly type: "address";
2039
+ }, {
2040
+ readonly name: "spender";
2041
+ readonly internalType: "address";
2042
+ readonly type: "address";
2043
+ }, {
2044
+ readonly name: "id";
2045
+ readonly internalType: "uint256";
2046
+ readonly type: "uint256";
2047
+ }];
2048
+ readonly name: "allowance";
2049
+ readonly outputs: readonly [{
2050
+ readonly name: "amount";
2051
+ readonly internalType: "uint256";
2052
+ readonly type: "uint256";
2053
+ }];
2054
+ readonly stateMutability: "view";
2055
+ }, {
2056
+ readonly type: "function";
2057
+ readonly inputs: readonly [{
2058
+ readonly name: "";
2059
+ readonly internalType: "bytes32";
2060
+ readonly type: "bytes32";
2061
+ }, {
2062
+ readonly name: "";
2063
+ readonly internalType: "address";
2064
+ readonly type: "address";
2065
+ }];
2066
+ readonly name: "allowed";
2067
+ readonly outputs: readonly [{
2068
+ readonly name: "";
2069
+ readonly internalType: "bool";
2070
+ readonly type: "bool";
2071
+ }];
2072
+ readonly stateMutability: "view";
2073
+ }, {
2074
+ readonly type: "function";
2075
+ readonly inputs: readonly [{
2076
+ readonly name: "poolId";
2077
+ readonly internalType: "bytes32";
2078
+ readonly type: "bytes32";
2079
+ }, {
2080
+ readonly name: "who";
2081
+ readonly internalType: "address";
2082
+ readonly type: "address";
2083
+ }];
2084
+ readonly name: "appointOperator";
2085
+ readonly outputs: readonly [];
2086
+ readonly stateMutability: "nonpayable";
2087
+ }, {
2088
+ readonly type: "function";
2089
+ readonly inputs: readonly [{
2090
+ readonly name: "spender";
2091
+ readonly internalType: "address";
2092
+ readonly type: "address";
2093
+ }, {
2094
+ readonly name: "id";
2095
+ readonly internalType: "uint256";
2096
+ readonly type: "uint256";
2097
+ }, {
2098
+ readonly name: "amount";
2099
+ readonly internalType: "uint256";
2100
+ readonly type: "uint256";
2101
+ }];
2102
+ readonly name: "approve";
2103
+ readonly outputs: readonly [{
2104
+ readonly name: "";
2105
+ readonly internalType: "bool";
2106
+ readonly type: "bool";
2107
+ }];
2108
+ readonly stateMutability: "payable";
2109
+ }, {
2110
+ readonly type: "function";
2111
+ readonly inputs: readonly [{
2112
+ readonly name: "owner";
2113
+ readonly internalType: "address";
2114
+ readonly type: "address";
2115
+ }, {
2116
+ readonly name: "id";
2117
+ readonly internalType: "uint256";
2118
+ readonly type: "uint256";
2119
+ }];
2120
+ readonly name: "balanceOf";
2121
+ readonly outputs: readonly [{
2122
+ readonly name: "amount";
2123
+ readonly internalType: "uint256";
2124
+ readonly type: "uint256";
2125
+ }];
2126
+ readonly stateMutability: "view";
2127
+ }, {
2128
+ readonly type: "function";
2129
+ readonly inputs: readonly [{
2130
+ readonly name: "token";
2131
+ readonly internalType: "address";
2132
+ readonly type: "address";
2133
+ }, {
2134
+ readonly name: "amount";
2135
+ readonly internalType: "uint256";
2136
+ readonly type: "uint256";
2137
+ }];
2138
+ readonly name: "burnClaims";
2139
+ readonly outputs: readonly [];
2140
+ readonly stateMutability: "nonpayable";
2141
+ }, {
2142
+ readonly type: "function";
2143
+ readonly inputs: readonly [{
2144
+ readonly name: "poolId";
2145
+ readonly internalType: "bytes32";
2146
+ readonly type: "bytes32";
2147
+ }, {
2148
+ readonly name: "to";
2149
+ readonly internalType: "address";
2150
+ readonly type: "address";
2151
+ }];
2152
+ readonly name: "claim";
2153
+ readonly outputs: readonly [{
2154
+ readonly name: "amount";
2155
+ readonly internalType: "uint256";
2156
+ readonly type: "uint256";
2157
+ }];
2158
+ readonly stateMutability: "nonpayable";
2159
+ }, {
2160
+ readonly type: "function";
2161
+ readonly inputs: readonly [{
2162
+ readonly name: "token";
2163
+ readonly internalType: "address";
2164
+ readonly type: "address";
2165
+ }];
2166
+ readonly name: "claimIdOf";
2167
+ readonly outputs: readonly [{
2168
+ readonly name: "";
2169
+ readonly internalType: "uint256";
2170
+ readonly type: "uint256";
2171
+ }];
2172
+ readonly stateMutability: "pure";
2173
+ }, {
2174
+ readonly type: "function";
2175
+ readonly inputs: readonly [{
2176
+ readonly name: "";
2177
+ readonly internalType: "address";
2178
+ readonly type: "address";
2179
+ }];
2180
+ readonly name: "claimsOutstanding";
2181
+ readonly outputs: readonly [{
2182
+ readonly name: "";
2183
+ readonly internalType: "uint256";
2184
+ readonly type: "uint256";
2185
+ }];
2186
+ readonly stateMutability: "view";
2187
+ }, {
2188
+ readonly type: "function";
2189
+ readonly inputs: readonly [{
2190
+ readonly name: "poolId";
2191
+ readonly internalType: "bytes32";
2192
+ readonly type: "bytes32";
2193
+ }];
2194
+ readonly name: "compositeX";
2195
+ readonly outputs: readonly [{
2196
+ readonly name: "X";
2197
+ readonly internalType: "int256";
2198
+ readonly type: "int256";
2199
+ }];
2200
+ readonly stateMutability: "view";
2201
+ }, {
2202
+ readonly type: "function";
2203
+ readonly inputs: readonly [{
2204
+ readonly name: "id";
2205
+ readonly internalType: "uint256";
2206
+ readonly type: "uint256";
2207
+ }];
2208
+ readonly name: "decimals";
2209
+ readonly outputs: readonly [{
2210
+ readonly name: "";
2211
+ readonly internalType: "uint8";
2212
+ readonly type: "uint8";
2213
+ }];
2214
+ readonly stateMutability: "view";
2215
+ }, {
2216
+ readonly type: "function";
2217
+ readonly inputs: readonly [{
2218
+ readonly name: "poolId";
2219
+ readonly internalType: "bytes32";
2220
+ readonly type: "bytes32";
2221
+ }, {
2222
+ readonly name: "amount";
2223
+ readonly internalType: "uint256";
2224
+ readonly type: "uint256";
2225
+ }];
2226
+ readonly name: "deepen";
2227
+ readonly outputs: readonly [];
2228
+ readonly stateMutability: "nonpayable";
2229
+ }, {
2230
+ readonly type: "function";
2231
+ readonly inputs: readonly [{
2232
+ readonly name: "token";
2233
+ readonly internalType: "address";
2234
+ readonly type: "address";
2235
+ }, {
2236
+ readonly name: "target";
2237
+ readonly internalType: "address";
2238
+ readonly type: "address";
2239
+ }];
2240
+ readonly name: "deltaOf";
2241
+ readonly outputs: readonly [{
2242
+ readonly name: "";
2243
+ readonly internalType: "int256";
2244
+ readonly type: "int256";
2245
+ }];
2246
+ readonly stateMutability: "view";
2247
+ }, {
2248
+ readonly type: "function";
2249
+ readonly inputs: readonly [{
2250
+ readonly name: "poolId";
2251
+ readonly internalType: "bytes32";
2252
+ readonly type: "bytes32";
2253
+ }, {
2254
+ readonly name: "successor";
2255
+ readonly internalType: "bytes32";
2256
+ readonly type: "bytes32";
2257
+ }];
2258
+ readonly name: "dissolve";
2259
+ readonly outputs: readonly [];
2260
+ readonly stateMutability: "nonpayable";
2261
+ }, {
2262
+ readonly type: "function";
2263
+ readonly inputs: readonly [{
2264
+ readonly name: "";
2265
+ readonly internalType: "uint256";
2266
+ readonly type: "uint256";
2267
+ }];
2268
+ readonly name: "dps";
2269
+ readonly outputs: readonly [{
2270
+ readonly name: "";
2271
+ readonly internalType: "uint256";
2272
+ readonly type: "uint256";
2273
+ }];
2274
+ readonly stateMutability: "view";
2275
+ }, {
2276
+ readonly type: "function";
2277
+ readonly inputs: readonly [];
2278
+ readonly name: "feeCollector";
2279
+ readonly outputs: readonly [{
2280
+ readonly name: "";
2281
+ readonly internalType: "address";
2282
+ readonly type: "address";
2283
+ }];
2284
+ readonly stateMutability: "view";
2285
+ }, {
2286
+ readonly type: "function";
2287
+ readonly inputs: readonly [{
2288
+ readonly name: "poolId";
2289
+ readonly internalType: "bytes32";
2290
+ readonly type: "bytes32";
2291
+ }];
2292
+ readonly name: "feePerL";
2293
+ readonly outputs: readonly [{
2294
+ readonly name: "";
2295
+ readonly internalType: "int256";
2296
+ readonly type: "int256";
2297
+ }];
2298
+ readonly stateMutability: "view";
2299
+ }, {
2300
+ readonly type: "function";
2301
+ readonly inputs: readonly [{
2302
+ readonly name: "poolId";
2303
+ readonly internalType: "bytes32";
2304
+ readonly type: "bytes32";
2305
+ }, {
2306
+ readonly name: "amount";
2307
+ readonly internalType: "uint256";
2308
+ readonly type: "uint256";
2309
+ }, {
2310
+ readonly name: "to";
2311
+ readonly internalType: "address";
2312
+ readonly type: "address";
2313
+ }];
2314
+ readonly name: "harvest";
2315
+ readonly outputs: readonly [];
2316
+ readonly stateMutability: "nonpayable";
2317
+ }, {
2318
+ readonly type: "function";
2319
+ readonly inputs: readonly [{
2320
+ readonly name: "";
2321
+ readonly internalType: "bytes32";
2322
+ readonly type: "bytes32";
2323
+ }];
2324
+ readonly name: "harvestFeeExempt";
2325
+ readonly outputs: readonly [{
2326
+ readonly name: "";
2327
+ readonly internalType: "bool";
2328
+ readonly type: "bool";
2329
+ }];
2330
+ readonly stateMutability: "view";
2331
+ }, {
2332
+ readonly type: "function";
2333
+ readonly inputs: readonly [{
2334
+ readonly name: "owner";
2335
+ readonly internalType: "address";
2336
+ readonly type: "address";
2337
+ }, {
2338
+ readonly name: "spender";
2339
+ readonly internalType: "address";
2340
+ readonly type: "address";
2341
+ }];
2342
+ readonly name: "isOperator";
2343
+ readonly outputs: readonly [{
2344
+ readonly name: "status";
2345
+ readonly internalType: "bool";
2346
+ readonly type: "bool";
2347
+ }];
2348
+ readonly stateMutability: "view";
2349
+ }, {
2350
+ readonly type: "function";
2351
+ readonly inputs: readonly [];
2352
+ readonly name: "isUnlocked";
2353
+ readonly outputs: readonly [{
2354
+ readonly name: "";
2355
+ readonly internalType: "bool";
2356
+ readonly type: "bool";
2357
+ }];
2358
+ readonly stateMutability: "view";
2359
+ }, {
2360
+ readonly type: "function";
2361
+ readonly inputs: readonly [{
2362
+ readonly name: "token";
2363
+ readonly internalType: "address";
2364
+ readonly type: "address";
2365
+ }, {
2366
+ readonly name: "to";
2367
+ readonly internalType: "address";
2368
+ readonly type: "address";
2369
+ }, {
2370
+ readonly name: "amount";
2371
+ readonly internalType: "uint256";
2372
+ readonly type: "uint256";
2373
+ }];
2374
+ readonly name: "mintClaims";
2375
+ readonly outputs: readonly [];
2376
+ readonly stateMutability: "nonpayable";
2377
+ }, {
2378
+ readonly type: "function";
2379
+ readonly inputs: readonly [{
2380
+ readonly name: "";
2381
+ readonly internalType: "uint256";
2382
+ readonly type: "uint256";
2383
+ }];
2384
+ readonly name: "name";
2385
+ readonly outputs: readonly [{
2386
+ readonly name: "";
2387
+ readonly internalType: "string";
2388
+ readonly type: "string";
2389
+ }];
2390
+ readonly stateMutability: "pure";
2391
+ }, {
2392
+ readonly type: "function";
2393
+ readonly inputs: readonly [];
2394
+ readonly name: "nonzeroDeltaCount";
2395
+ readonly outputs: readonly [{
2396
+ readonly name: "";
2397
+ readonly internalType: "uint256";
2398
+ readonly type: "uint256";
2399
+ }];
2400
+ readonly stateMutability: "view";
2401
+ }, {
2402
+ readonly type: "function";
2403
+ readonly inputs: readonly [];
2404
+ readonly name: "pendingCollector";
2405
+ readonly outputs: readonly [{
2406
+ readonly name: "";
2407
+ readonly internalType: "address";
2408
+ readonly type: "address";
2409
+ }];
2410
+ readonly stateMutability: "view";
2411
+ }, {
2412
+ readonly type: "function";
2413
+ readonly inputs: readonly [{
2414
+ readonly name: "";
2415
+ readonly internalType: "uint256";
2416
+ readonly type: "uint256";
2417
+ }];
2418
+ readonly name: "pot";
2419
+ readonly outputs: readonly [{
2420
+ readonly name: "";
2421
+ readonly internalType: "uint256";
2422
+ readonly type: "uint256";
2423
+ }];
2424
+ readonly stateMutability: "view";
2425
+ }, {
2426
+ readonly type: "function";
2427
+ readonly inputs: readonly [{
2428
+ readonly name: "poolId";
2429
+ readonly internalType: "bytes32";
2430
+ readonly type: "bytes32";
2431
+ }, {
2432
+ readonly name: "next";
2433
+ readonly internalType: "address";
2434
+ readonly type: "address";
2435
+ }];
2436
+ readonly name: "proposeAuthority";
2437
+ readonly outputs: readonly [];
2438
+ readonly stateMutability: "nonpayable";
2439
+ }, {
2440
+ readonly type: "function";
2441
+ readonly inputs: readonly [{
2442
+ readonly name: "next";
2443
+ readonly internalType: "address";
2444
+ readonly type: "address";
2445
+ }];
2446
+ readonly name: "proposeCollector";
2447
+ readonly outputs: readonly [];
2448
+ readonly stateMutability: "nonpayable";
2449
+ }, {
2450
+ readonly type: "function";
2451
+ readonly inputs: readonly [{
2452
+ readonly name: "poolId";
2453
+ readonly internalType: "bytes32";
2454
+ readonly type: "bytes32";
2455
+ }, {
2456
+ readonly name: "minBuffer";
2457
+ readonly internalType: "uint256";
2458
+ readonly type: "uint256";
2459
+ }];
2460
+ readonly name: "raiseMinBuffer";
2461
+ readonly outputs: readonly [];
2462
+ readonly stateMutability: "nonpayable";
2463
+ }, {
2464
+ readonly type: "function";
2465
+ readonly inputs: readonly [{
2466
+ readonly name: "poolId";
2467
+ readonly internalType: "bytes32";
2468
+ readonly type: "bytes32";
2469
+ }, {
2470
+ readonly name: "who";
2471
+ readonly internalType: "address[]";
2472
+ readonly type: "address[]";
2473
+ }, {
2474
+ readonly name: "yes";
2475
+ readonly internalType: "bool";
2476
+ readonly type: "bool";
2477
+ }];
2478
+ readonly name: "setAllowed";
2479
+ readonly outputs: readonly [];
2480
+ readonly stateMutability: "nonpayable";
2481
+ }, {
2482
+ readonly type: "function";
2483
+ readonly inputs: readonly [{
2484
+ readonly name: "mintFeeProtocolCut";
2485
+ readonly internalType: "uint256";
2486
+ readonly type: "uint256";
2487
+ }, {
2488
+ readonly name: "harvestFee";
2489
+ readonly internalType: "uint256";
2490
+ readonly type: "uint256";
2491
+ }];
2492
+ readonly name: "setFeeParams";
2493
+ readonly outputs: readonly [];
2494
+ readonly stateMutability: "nonpayable";
2495
+ }, {
2496
+ readonly type: "function";
2497
+ readonly inputs: readonly [{
2498
+ readonly name: "poolId";
2499
+ readonly internalType: "bytes32";
2500
+ readonly type: "bytes32";
2501
+ }, {
2502
+ readonly name: "gateMint";
2503
+ readonly internalType: "bool";
2504
+ readonly type: "bool";
2505
+ }, {
2506
+ readonly name: "gateSwap";
2507
+ readonly internalType: "bool";
2508
+ readonly type: "bool";
2509
+ }];
2510
+ readonly name: "setGates";
2511
+ readonly outputs: readonly [];
2512
+ readonly stateMutability: "nonpayable";
2513
+ }, {
2514
+ readonly type: "function";
2515
+ readonly inputs: readonly [{
2516
+ readonly name: "poolId";
2517
+ readonly internalType: "bytes32";
2518
+ readonly type: "bytes32";
2519
+ }, {
2520
+ readonly name: "exempt";
2521
+ readonly internalType: "bool";
2522
+ readonly type: "bool";
2523
+ }];
2524
+ readonly name: "setHarvestFeeExempt";
2525
+ readonly outputs: readonly [];
2526
+ readonly stateMutability: "nonpayable";
2527
+ }, {
2528
+ readonly type: "function";
2529
+ readonly inputs: readonly [{
2530
+ readonly name: "poolId";
2531
+ readonly internalType: "bytes32";
2532
+ readonly type: "bytes32";
2533
+ }, {
2534
+ readonly name: "j";
2535
+ readonly internalType: "uint256";
2536
+ readonly type: "uint256";
2537
+ }, {
2538
+ readonly name: "newLj";
2539
+ readonly internalType: "uint256";
2540
+ readonly type: "uint256";
2541
+ }, {
2542
+ readonly name: "rIfNew";
2543
+ readonly internalType: "uint256";
2544
+ readonly type: "uint256";
2545
+ }];
2546
+ readonly name: "setLegL";
2547
+ readonly outputs: readonly [{
2548
+ readonly name: "dReserve";
2549
+ readonly internalType: "int256";
2550
+ readonly type: "int256";
2551
+ }, {
2552
+ readonly name: "dShares";
2553
+ readonly internalType: "int256";
2554
+ readonly type: "int256";
2555
+ }];
2556
+ readonly stateMutability: "nonpayable";
2557
+ }, {
2558
+ readonly type: "function";
2559
+ readonly inputs: readonly [{
2560
+ readonly name: "poolId";
2561
+ readonly internalType: "bytes32";
2562
+ readonly type: "bytes32";
2563
+ }, {
2564
+ readonly name: "name_";
2565
+ readonly internalType: "bytes32";
2566
+ readonly type: "bytes32";
2567
+ }];
2568
+ readonly name: "setName";
2569
+ readonly outputs: readonly [];
2570
+ readonly stateMutability: "nonpayable";
2571
+ }, {
2572
+ readonly type: "function";
2573
+ readonly inputs: readonly [{
2574
+ readonly name: "operator";
2575
+ readonly internalType: "address";
2576
+ readonly type: "address";
2577
+ }, {
2578
+ readonly name: "approved";
2579
+ readonly internalType: "bool";
2580
+ readonly type: "bool";
2581
+ }];
2582
+ readonly name: "setOperator";
2583
+ readonly outputs: readonly [{
2584
+ readonly name: "";
2585
+ readonly internalType: "bool";
2586
+ readonly type: "bool";
2587
+ }];
2588
+ readonly stateMutability: "payable";
2589
+ }, {
2590
+ readonly type: "function";
2591
+ readonly inputs: readonly [{
2592
+ readonly name: "who";
2593
+ readonly internalType: "address";
2594
+ readonly type: "address";
2595
+ }, {
2596
+ readonly name: "name_";
2597
+ readonly internalType: "bytes32";
2598
+ readonly type: "bytes32";
2599
+ }];
2600
+ readonly name: "setSponsorName";
2601
+ readonly outputs: readonly [];
2602
+ readonly stateMutability: "nonpayable";
2603
+ }, {
2604
+ readonly type: "function";
2605
+ readonly inputs: readonly [];
2606
+ readonly name: "settle";
2607
+ readonly outputs: readonly [{
2608
+ readonly name: "paid";
2609
+ readonly internalType: "uint256";
2610
+ readonly type: "uint256";
2611
+ }];
2612
+ readonly stateMutability: "nonpayable";
2613
+ }, {
2614
+ readonly type: "function";
2615
+ readonly inputs: readonly [{
2616
+ readonly name: "poolId";
2617
+ readonly internalType: "bytes32";
2618
+ readonly type: "bytes32";
2619
+ }];
2620
+ readonly name: "shareIdOf";
2621
+ readonly outputs: readonly [{
2622
+ readonly name: "";
2623
+ readonly internalType: "uint256";
2624
+ readonly type: "uint256";
2625
+ }];
2626
+ readonly stateMutability: "pure";
2627
+ }, {
2628
+ readonly type: "function";
2629
+ readonly inputs: readonly [{
2630
+ readonly name: "";
2631
+ readonly internalType: "address";
2632
+ readonly type: "address";
2633
+ }];
2634
+ readonly name: "sponsorName";
2635
+ readonly outputs: readonly [{
2636
+ readonly name: "";
2637
+ readonly internalType: "bytes32";
2638
+ readonly type: "bytes32";
2639
+ }];
2640
+ readonly stateMutability: "view";
2641
+ }, {
2642
+ readonly type: "function";
2643
+ readonly inputs: readonly [{
2644
+ readonly name: "interfaceId";
2645
+ readonly internalType: "bytes4";
2646
+ readonly type: "bytes4";
2647
+ }];
2648
+ readonly name: "supportsInterface";
2649
+ readonly outputs: readonly [{
2650
+ readonly name: "result";
2651
+ readonly internalType: "bool";
2652
+ readonly type: "bool";
2653
+ }];
2654
+ readonly stateMutability: "view";
2655
+ }, {
2656
+ readonly type: "function";
2657
+ readonly inputs: readonly [{
2658
+ readonly name: "";
2659
+ readonly internalType: "uint256";
2660
+ readonly type: "uint256";
2661
+ }];
2662
+ readonly name: "symbol";
2663
+ readonly outputs: readonly [{
2664
+ readonly name: "";
2665
+ readonly internalType: "string";
2666
+ readonly type: "string";
2667
+ }];
2668
+ readonly stateMutability: "pure";
2669
+ }, {
2670
+ readonly type: "function";
2671
+ readonly inputs: readonly [{
2672
+ readonly name: "token";
2673
+ readonly internalType: "address";
2674
+ readonly type: "address";
2675
+ }];
2676
+ readonly name: "sync";
2677
+ readonly outputs: readonly [];
2678
+ readonly stateMutability: "nonpayable";
2679
+ }, {
2680
+ readonly type: "function";
2681
+ readonly inputs: readonly [{
2682
+ readonly name: "token";
2683
+ readonly internalType: "address";
2684
+ readonly type: "address";
2685
+ }, {
2686
+ readonly name: "to";
2687
+ readonly internalType: "address";
2688
+ readonly type: "address";
2689
+ }, {
2690
+ readonly name: "amount";
2691
+ readonly internalType: "uint256";
2692
+ readonly type: "uint256";
2693
+ }];
2694
+ readonly name: "take";
2695
+ readonly outputs: readonly [];
2696
+ readonly stateMutability: "nonpayable";
2697
+ }, {
2698
+ readonly type: "function";
2699
+ readonly inputs: readonly [{
2700
+ readonly name: "poolId";
2701
+ readonly internalType: "bytes32";
2702
+ readonly type: "bytes32";
2703
+ }];
2704
+ readonly name: "theta";
2705
+ readonly outputs: readonly [{
2706
+ readonly name: "";
2707
+ readonly internalType: "int256";
2708
+ readonly type: "int256";
2709
+ }];
2710
+ readonly stateMutability: "view";
2711
+ }, {
2712
+ readonly type: "function";
2713
+ readonly inputs: readonly [{
2714
+ readonly name: "";
2715
+ readonly internalType: "uint256";
2716
+ readonly type: "uint256";
2717
+ }];
2718
+ readonly name: "tokenURI";
2719
+ readonly outputs: readonly [{
2720
+ readonly name: "";
2721
+ readonly internalType: "string";
2722
+ readonly type: "string";
2723
+ }];
2724
+ readonly stateMutability: "pure";
2725
+ }, {
2726
+ readonly type: "function";
2727
+ readonly inputs: readonly [{
2728
+ readonly name: "to";
2729
+ readonly internalType: "address";
2730
+ readonly type: "address";
2731
+ }, {
2732
+ readonly name: "id";
2733
+ readonly internalType: "uint256";
2734
+ readonly type: "uint256";
2735
+ }, {
2736
+ readonly name: "amount";
2737
+ readonly internalType: "uint256";
2738
+ readonly type: "uint256";
2739
+ }];
2740
+ readonly name: "transfer";
2741
+ readonly outputs: readonly [{
2742
+ readonly name: "";
2743
+ readonly internalType: "bool";
2744
+ readonly type: "bool";
2745
+ }];
2746
+ readonly stateMutability: "payable";
2747
+ }, {
2748
+ readonly type: "function";
2749
+ readonly inputs: readonly [{
2750
+ readonly name: "from";
2751
+ readonly internalType: "address";
2752
+ readonly type: "address";
2753
+ }, {
2754
+ readonly name: "to";
2755
+ readonly internalType: "address";
2756
+ readonly type: "address";
2757
+ }, {
2758
+ readonly name: "id";
2759
+ readonly internalType: "uint256";
2760
+ readonly type: "uint256";
2761
+ }, {
2762
+ readonly name: "amount";
2763
+ readonly internalType: "uint256";
2764
+ readonly type: "uint256";
2765
+ }];
2766
+ readonly name: "transferFrom";
2767
+ readonly outputs: readonly [{
2768
+ readonly name: "";
2769
+ readonly internalType: "bool";
2770
+ readonly type: "bool";
2771
+ }];
2772
+ readonly stateMutability: "payable";
2773
+ }, {
2774
+ readonly type: "function";
2775
+ readonly inputs: readonly [{
2776
+ readonly name: "data";
2777
+ readonly internalType: "bytes";
2778
+ readonly type: "bytes";
2779
+ }];
2780
+ readonly name: "unlock";
2781
+ readonly outputs: readonly [{
2782
+ readonly name: "result";
2783
+ readonly internalType: "bytes";
2784
+ readonly type: "bytes";
2785
+ }];
2786
+ readonly stateMutability: "nonpayable";
2787
+ }, {
2788
+ readonly type: "function";
2789
+ readonly inputs: readonly [];
2790
+ readonly name: "version";
2791
+ readonly outputs: readonly [{
2792
+ readonly name: "";
2793
+ readonly internalType: "uint256";
2794
+ readonly type: "uint256";
2795
+ }];
2796
+ readonly stateMutability: "pure";
2797
+ }, {
2798
+ readonly type: "event";
2799
+ readonly anonymous: false;
2800
+ readonly inputs: readonly [{
2801
+ readonly name: "poolId";
2802
+ readonly internalType: "bytes32";
2803
+ readonly type: "bytes32";
2804
+ readonly indexed: true;
2805
+ }, {
2806
+ readonly name: "who";
2807
+ readonly internalType: "address";
2808
+ readonly type: "address";
2809
+ readonly indexed: true;
2810
+ }, {
2811
+ readonly name: "allowed";
2812
+ readonly internalType: "bool";
2813
+ readonly type: "bool";
2814
+ readonly indexed: false;
2815
+ }];
2816
+ readonly name: "Allowed";
2817
+ }, {
2818
+ readonly type: "event";
2819
+ readonly anonymous: false;
2820
+ readonly inputs: readonly [{
2821
+ readonly name: "owner";
2822
+ readonly internalType: "address";
2823
+ readonly type: "address";
2824
+ readonly indexed: true;
2825
+ }, {
2826
+ readonly name: "spender";
2827
+ readonly internalType: "address";
2828
+ readonly type: "address";
2829
+ readonly indexed: true;
2830
+ }, {
2831
+ readonly name: "id";
2832
+ readonly internalType: "uint256";
2833
+ readonly type: "uint256";
2834
+ readonly indexed: true;
2835
+ }, {
2836
+ readonly name: "amount";
2837
+ readonly internalType: "uint256";
2838
+ readonly type: "uint256";
2839
+ readonly indexed: false;
2840
+ }];
2841
+ readonly name: "Approval";
2842
+ }, {
2843
+ readonly type: "event";
2844
+ readonly anonymous: false;
2845
+ readonly inputs: readonly [{
2846
+ readonly name: "poolId";
2847
+ readonly internalType: "bytes32";
2848
+ readonly type: "bytes32";
2849
+ readonly indexed: true;
2850
+ }, {
2851
+ readonly name: "current";
2852
+ readonly internalType: "address";
2853
+ readonly type: "address";
2854
+ readonly indexed: true;
2855
+ }, {
2856
+ readonly name: "proposed";
2857
+ readonly internalType: "address";
2858
+ readonly type: "address";
2859
+ readonly indexed: true;
2860
+ }];
2861
+ readonly name: "AuthorityProposed";
2862
+ }, {
2863
+ readonly type: "event";
2864
+ readonly anonymous: false;
2865
+ readonly inputs: readonly [{
2866
+ readonly name: "poolId";
2867
+ readonly internalType: "bytes32";
2868
+ readonly type: "bytes32";
2869
+ readonly indexed: true;
2870
+ }, {
2871
+ readonly name: "prev";
2872
+ readonly internalType: "address";
2873
+ readonly type: "address";
2874
+ readonly indexed: true;
2875
+ }, {
2876
+ readonly name: "next";
2877
+ readonly internalType: "address";
2878
+ readonly type: "address";
2879
+ readonly indexed: true;
2880
+ }];
2881
+ readonly name: "AuthoritySet";
2882
+ }, {
2883
+ readonly type: "event";
2884
+ readonly anonymous: false;
2885
+ readonly inputs: readonly [{
2886
+ readonly name: "poolId";
2887
+ readonly internalType: "bytes32";
2888
+ readonly type: "bytes32";
2889
+ readonly indexed: true;
2890
+ }, {
2891
+ readonly name: "sender";
2892
+ readonly internalType: "address";
2893
+ readonly type: "address";
2894
+ readonly indexed: true;
2895
+ }, {
2896
+ readonly name: "dL";
2897
+ readonly internalType: "uint256";
2898
+ readonly type: "uint256";
2899
+ readonly indexed: false;
2900
+ }, {
2901
+ readonly name: "shares";
2902
+ readonly internalType: "uint256";
2903
+ readonly type: "uint256";
2904
+ readonly indexed: false;
2905
+ }, {
2906
+ readonly name: "dQuote";
2907
+ readonly internalType: "uint256";
2908
+ readonly type: "uint256";
2909
+ readonly indexed: false;
2910
+ }];
2911
+ readonly name: "Burn";
2912
+ }, {
2913
+ readonly type: "event";
2914
+ readonly anonymous: false;
2915
+ readonly inputs: readonly [{
2916
+ readonly name: "previous";
2917
+ readonly internalType: "address";
2918
+ readonly type: "address";
2919
+ readonly indexed: true;
2920
+ }, {
2921
+ readonly name: "current";
2922
+ readonly internalType: "address";
2923
+ readonly type: "address";
2924
+ readonly indexed: true;
2925
+ }];
2926
+ readonly name: "CollectorAccepted";
2927
+ }, {
2928
+ readonly type: "event";
2929
+ readonly anonymous: false;
2930
+ readonly inputs: readonly [{
2931
+ readonly name: "current";
2932
+ readonly internalType: "address";
2933
+ readonly type: "address";
2934
+ readonly indexed: true;
2935
+ }, {
2936
+ readonly name: "proposed";
2937
+ readonly internalType: "address";
2938
+ readonly type: "address";
2939
+ readonly indexed: true;
2940
+ }];
2941
+ readonly name: "CollectorProposed";
2942
+ }, {
2943
+ readonly type: "event";
2944
+ readonly anonymous: false;
2945
+ readonly inputs: readonly [{
2946
+ readonly name: "poolId";
2947
+ readonly internalType: "bytes32";
2948
+ readonly type: "bytes32";
2949
+ readonly indexed: true;
2950
+ }, {
2951
+ readonly name: "from";
2952
+ readonly internalType: "address";
2953
+ readonly type: "address";
2954
+ readonly indexed: true;
2955
+ }, {
2956
+ readonly name: "amount";
2957
+ readonly internalType: "uint256";
2958
+ readonly type: "uint256";
2959
+ readonly indexed: false;
2960
+ }];
2961
+ readonly name: "Deepen";
2962
+ }, {
2963
+ readonly type: "event";
2964
+ readonly anonymous: false;
2965
+ readonly inputs: readonly [{
2966
+ readonly name: "poolId";
2967
+ readonly internalType: "bytes32";
2968
+ readonly type: "bytes32";
2969
+ readonly indexed: true;
2970
+ }, {
2971
+ readonly name: "successor";
2972
+ readonly internalType: "bytes32";
2973
+ readonly type: "bytes32";
2974
+ readonly indexed: true;
2975
+ }];
2976
+ readonly name: "Dissolve";
2977
+ }, {
2978
+ readonly type: "event";
2979
+ readonly anonymous: false;
2980
+ readonly inputs: readonly [{
2981
+ readonly name: "poolId";
2982
+ readonly internalType: "bytes32";
2983
+ readonly type: "bytes32";
2984
+ readonly indexed: true;
2985
+ }, {
2986
+ readonly name: "holder";
2987
+ readonly internalType: "address";
2988
+ readonly type: "address";
2989
+ readonly indexed: true;
2990
+ }, {
2991
+ readonly name: "to";
2992
+ readonly internalType: "address";
2993
+ readonly type: "address";
2994
+ readonly indexed: true;
2995
+ }, {
2996
+ readonly name: "amount";
2997
+ readonly internalType: "uint256";
2998
+ readonly type: "uint256";
2999
+ readonly indexed: false;
3000
+ }];
3001
+ readonly name: "DividendClaimed";
3002
+ }, {
3003
+ readonly type: "event";
3004
+ readonly anonymous: false;
3005
+ readonly inputs: readonly [{
3006
+ readonly name: "mintFeeProtocolCut";
3007
+ readonly internalType: "uint256";
3008
+ readonly type: "uint256";
3009
+ readonly indexed: false;
3010
+ }, {
3011
+ readonly name: "harvestFee";
3012
+ readonly internalType: "uint256";
3013
+ readonly type: "uint256";
3014
+ readonly indexed: false;
3015
+ }];
3016
+ readonly name: "FeeParamsSet";
3017
+ }, {
3018
+ readonly type: "event";
3019
+ readonly anonymous: false;
3020
+ readonly inputs: readonly [{
3021
+ readonly name: "poolId";
3022
+ readonly internalType: "bytes32";
3023
+ readonly type: "bytes32";
3024
+ readonly indexed: true;
3025
+ }, {
3026
+ readonly name: "gateMint";
3027
+ readonly internalType: "bool";
3028
+ readonly type: "bool";
3029
+ readonly indexed: false;
3030
+ }, {
3031
+ readonly name: "gateSwap";
3032
+ readonly internalType: "bool";
3033
+ readonly type: "bool";
3034
+ readonly indexed: false;
3035
+ }];
3036
+ readonly name: "GatesSet";
3037
+ }, {
3038
+ readonly type: "event";
3039
+ readonly anonymous: false;
3040
+ readonly inputs: readonly [{
3041
+ readonly name: "poolId";
3042
+ readonly internalType: "bytes32";
3043
+ readonly type: "bytes32";
3044
+ readonly indexed: true;
3045
+ }, {
3046
+ readonly name: "to";
3047
+ readonly internalType: "address";
3048
+ readonly type: "address";
3049
+ readonly indexed: true;
3050
+ }, {
3051
+ readonly name: "amount";
3052
+ readonly internalType: "uint256";
3053
+ readonly type: "uint256";
3054
+ readonly indexed: false;
3055
+ }, {
3056
+ readonly name: "toSponsor";
3057
+ readonly internalType: "uint256";
3058
+ readonly type: "uint256";
3059
+ readonly indexed: false;
3060
+ }];
3061
+ readonly name: "Harvest";
3062
+ }, {
3063
+ readonly type: "event";
3064
+ readonly anonymous: false;
3065
+ readonly inputs: readonly [{
3066
+ readonly name: "poolId";
3067
+ readonly internalType: "bytes32";
3068
+ readonly type: "bytes32";
3069
+ readonly indexed: true;
3070
+ }, {
3071
+ readonly name: "exempt";
3072
+ readonly internalType: "bool";
3073
+ readonly type: "bool";
3074
+ readonly indexed: false;
3075
+ }];
3076
+ readonly name: "HarvestFeeExemptSet";
3077
+ }, {
3078
+ readonly type: "event";
3079
+ readonly anonymous: false;
3080
+ readonly inputs: readonly [{
3081
+ readonly name: "poolId";
3082
+ readonly internalType: "bytes32";
3083
+ readonly type: "bytes32";
3084
+ readonly indexed: true;
3085
+ }, {
3086
+ readonly name: "quote";
3087
+ readonly internalType: "address";
3088
+ readonly type: "address";
3089
+ readonly indexed: true;
3090
+ }, {
3091
+ readonly name: "authority";
3092
+ readonly internalType: "address";
3093
+ readonly type: "address";
3094
+ readonly indexed: true;
3095
+ }, {
3096
+ readonly name: "bases";
3097
+ readonly internalType: "address[]";
3098
+ readonly type: "address[]";
3099
+ readonly indexed: false;
3100
+ }, {
3101
+ readonly name: "weights";
3102
+ readonly internalType: "uint256[]";
3103
+ readonly type: "uint256[]";
3104
+ readonly indexed: false;
3105
+ }, {
3106
+ readonly name: "phi";
3107
+ readonly internalType: "uint256";
3108
+ readonly type: "uint256";
3109
+ readonly indexed: false;
3110
+ }, {
3111
+ readonly name: "lockStrike";
3112
+ readonly internalType: "bool";
3113
+ readonly type: "bool";
3114
+ readonly indexed: false;
3115
+ }];
3116
+ readonly name: "Initialize";
3117
+ }, {
3118
+ readonly type: "event";
3119
+ readonly anonymous: false;
3120
+ readonly inputs: readonly [{
3121
+ readonly name: "poolId";
3122
+ readonly internalType: "bytes32";
3123
+ readonly type: "bytes32";
3124
+ readonly indexed: true;
3125
+ }, {
3126
+ readonly name: "j";
3127
+ readonly internalType: "uint256";
3128
+ readonly type: "uint256";
3129
+ readonly indexed: true;
3130
+ }, {
3131
+ readonly name: "base";
3132
+ readonly internalType: "address";
3133
+ readonly type: "address";
3134
+ readonly indexed: false;
3135
+ }, {
3136
+ readonly name: "newLj";
3137
+ readonly internalType: "uint256";
3138
+ readonly type: "uint256";
3139
+ readonly indexed: false;
3140
+ }, {
3141
+ readonly name: "reserve";
3142
+ readonly internalType: "uint256";
3143
+ readonly type: "uint256";
3144
+ readonly indexed: false;
3145
+ }, {
3146
+ readonly name: "L";
3147
+ readonly internalType: "uint256";
3148
+ readonly type: "uint256";
3149
+ readonly indexed: false;
3150
+ }, {
3151
+ readonly name: "theta0";
3152
+ readonly internalType: "int256";
3153
+ readonly type: "int256";
3154
+ readonly indexed: false;
3155
+ }, {
3156
+ readonly name: "dReserve";
3157
+ readonly internalType: "int256";
3158
+ readonly type: "int256";
3159
+ readonly indexed: false;
3160
+ }, {
3161
+ readonly name: "dShares";
3162
+ readonly internalType: "int256";
3163
+ readonly type: "int256";
3164
+ readonly indexed: false;
3165
+ }];
3166
+ readonly name: "LegSet";
3167
+ }, {
3168
+ readonly type: "event";
3169
+ readonly anonymous: false;
3170
+ readonly inputs: readonly [{
3171
+ readonly name: "poolId";
3172
+ readonly internalType: "bytes32";
3173
+ readonly type: "bytes32";
3174
+ readonly indexed: true;
3175
+ }, {
3176
+ readonly name: "minBuffer";
3177
+ readonly internalType: "uint256";
3178
+ readonly type: "uint256";
3179
+ readonly indexed: false;
3180
+ }];
3181
+ readonly name: "MinBufferRaised";
3182
+ }, {
3183
+ readonly type: "event";
3184
+ readonly anonymous: false;
3185
+ readonly inputs: readonly [{
3186
+ readonly name: "poolId";
3187
+ readonly internalType: "bytes32";
3188
+ readonly type: "bytes32";
3189
+ readonly indexed: true;
3190
+ }, {
3191
+ readonly name: "sender";
3192
+ readonly internalType: "address";
3193
+ readonly type: "address";
3194
+ readonly indexed: true;
3195
+ }, {
3196
+ readonly name: "dL";
3197
+ readonly internalType: "uint256";
3198
+ readonly type: "uint256";
3199
+ readonly indexed: false;
3200
+ }, {
3201
+ readonly name: "shares";
3202
+ readonly internalType: "uint256";
3203
+ readonly type: "uint256";
3204
+ readonly indexed: false;
3205
+ }, {
3206
+ readonly name: "dQuote";
3207
+ readonly internalType: "uint256";
3208
+ readonly type: "uint256";
3209
+ readonly indexed: false;
3210
+ }];
3211
+ readonly name: "Mint";
3212
+ }, {
3213
+ readonly type: "event";
3214
+ readonly anonymous: false;
3215
+ readonly inputs: readonly [{
3216
+ readonly name: "poolId";
3217
+ readonly internalType: "bytes32";
3218
+ readonly type: "bytes32";
3219
+ readonly indexed: true;
3220
+ }, {
3221
+ readonly name: "name";
3222
+ readonly internalType: "bytes32";
3223
+ readonly type: "bytes32";
3224
+ readonly indexed: false;
3225
+ }];
3226
+ readonly name: "NameSet";
3227
+ }, {
3228
+ readonly type: "event";
3229
+ readonly anonymous: false;
3230
+ readonly inputs: readonly [{
3231
+ readonly name: "owner";
3232
+ readonly internalType: "address";
3233
+ readonly type: "address";
3234
+ readonly indexed: true;
3235
+ }, {
3236
+ readonly name: "operator";
3237
+ readonly internalType: "address";
3238
+ readonly type: "address";
3239
+ readonly indexed: true;
3240
+ }, {
3241
+ readonly name: "approved";
3242
+ readonly internalType: "bool";
3243
+ readonly type: "bool";
3244
+ readonly indexed: false;
3245
+ }];
3246
+ readonly name: "OperatorSet";
3247
+ }, {
3248
+ readonly type: "event";
3249
+ readonly anonymous: false;
3250
+ readonly inputs: readonly [{
3251
+ readonly name: "poolId";
3252
+ readonly internalType: "bytes32";
3253
+ readonly type: "bytes32";
3254
+ readonly indexed: true;
3255
+ }, {
3256
+ readonly name: "prev";
3257
+ readonly internalType: "address";
3258
+ readonly type: "address";
3259
+ readonly indexed: true;
3260
+ }, {
3261
+ readonly name: "next";
3262
+ readonly internalType: "address";
3263
+ readonly type: "address";
3264
+ readonly indexed: true;
3265
+ }];
3266
+ readonly name: "OperatorSet";
3267
+ }, {
3268
+ readonly type: "event";
3269
+ readonly anonymous: false;
3270
+ readonly inputs: readonly [{
3271
+ readonly name: "poolId";
3272
+ readonly internalType: "bytes32";
3273
+ readonly type: "bytes32";
3274
+ readonly indexed: true;
3275
+ }, {
3276
+ readonly name: "inShares";
3277
+ readonly internalType: "bool";
3278
+ readonly type: "bool";
3279
+ readonly indexed: false;
3280
+ }, {
3281
+ readonly name: "amount";
3282
+ readonly internalType: "uint256";
3283
+ readonly type: "uint256";
3284
+ readonly indexed: false;
3285
+ }];
3286
+ readonly name: "ProtocolFee";
3287
+ }, {
3288
+ readonly type: "event";
3289
+ readonly anonymous: false;
3290
+ readonly inputs: readonly [{
3291
+ readonly name: "poolId";
3292
+ readonly internalType: "bytes32";
3293
+ readonly type: "bytes32";
3294
+ readonly indexed: true;
3295
+ }, {
3296
+ readonly name: "L0";
3297
+ readonly internalType: "uint256";
3298
+ readonly type: "uint256";
3299
+ readonly indexed: false;
3300
+ }, {
3301
+ readonly name: "Q0";
3302
+ readonly internalType: "uint256";
3303
+ readonly type: "uint256";
3304
+ readonly indexed: false;
3305
+ }, {
3306
+ readonly name: "theta0";
3307
+ readonly internalType: "int256";
3308
+ readonly type: "int256";
3309
+ readonly indexed: false;
3310
+ }, {
3311
+ readonly name: "r0";
3312
+ readonly internalType: "uint256[]";
3313
+ readonly type: "uint256[]";
3314
+ readonly indexed: false;
3315
+ }];
3316
+ readonly name: "Seeded";
3317
+ }, {
3318
+ readonly type: "event";
3319
+ readonly anonymous: false;
3320
+ readonly inputs: readonly [{
3321
+ readonly name: "who";
3322
+ readonly internalType: "address";
3323
+ readonly type: "address";
3324
+ readonly indexed: true;
3325
+ }, {
3326
+ readonly name: "name";
3327
+ readonly internalType: "bytes32";
3328
+ readonly type: "bytes32";
3329
+ readonly indexed: false;
3330
+ }];
3331
+ readonly name: "SponsorNamed";
3332
+ }, {
3333
+ readonly type: "event";
3334
+ readonly anonymous: false;
3335
+ readonly inputs: readonly [{
3336
+ readonly name: "poolId";
3337
+ readonly internalType: "bytes32";
3338
+ readonly type: "bytes32";
3339
+ readonly indexed: true;
3340
+ }, {
3341
+ readonly name: "sender";
3342
+ readonly internalType: "address";
3343
+ readonly type: "address";
3344
+ readonly indexed: true;
3345
+ }, {
3346
+ readonly name: "tokenIn";
3347
+ readonly internalType: "address";
3348
+ readonly type: "address";
3349
+ readonly indexed: false;
3350
+ }, {
3351
+ readonly name: "tokenOut";
3352
+ readonly internalType: "address";
3353
+ readonly type: "address";
3354
+ readonly indexed: false;
3355
+ }, {
3356
+ readonly name: "amountIn";
3357
+ readonly internalType: "uint256";
3358
+ readonly type: "uint256";
3359
+ readonly indexed: false;
3360
+ }, {
3361
+ readonly name: "amountOut";
3362
+ readonly internalType: "uint256";
3363
+ readonly type: "uint256";
3364
+ readonly indexed: false;
3365
+ }, {
3366
+ readonly name: "reserveIn";
3367
+ readonly internalType: "uint256";
3368
+ readonly type: "uint256";
3369
+ readonly indexed: false;
3370
+ }, {
3371
+ readonly name: "reserveOut";
3372
+ readonly internalType: "uint256";
3373
+ readonly type: "uint256";
3374
+ readonly indexed: false;
3375
+ }];
3376
+ readonly name: "Swap";
3377
+ }, {
3378
+ readonly type: "event";
3379
+ readonly anonymous: false;
3380
+ readonly inputs: readonly [{
3381
+ readonly name: "by";
3382
+ readonly internalType: "address";
3383
+ readonly type: "address";
3384
+ readonly indexed: false;
3385
+ }, {
3386
+ readonly name: "from";
3387
+ readonly internalType: "address";
3388
+ readonly type: "address";
3389
+ readonly indexed: true;
3390
+ }, {
3391
+ readonly name: "to";
3392
+ readonly internalType: "address";
3393
+ readonly type: "address";
3394
+ readonly indexed: true;
3395
+ }, {
3396
+ readonly name: "id";
3397
+ readonly internalType: "uint256";
3398
+ readonly type: "uint256";
3399
+ readonly indexed: true;
3400
+ }, {
3401
+ readonly name: "amount";
3402
+ readonly internalType: "uint256";
3403
+ readonly type: "uint256";
3404
+ readonly indexed: false;
3405
+ }];
3406
+ readonly name: "Transfer";
3407
+ }, {
3408
+ readonly type: "error";
3409
+ readonly inputs: readonly [];
3410
+ readonly name: "AlreadySeeded";
3411
+ }, {
3412
+ readonly type: "error";
3413
+ readonly inputs: readonly [];
3414
+ readonly name: "AlreadyUnlocked";
3415
+ }, {
3416
+ readonly type: "error";
3417
+ readonly inputs: readonly [];
3418
+ readonly name: "BadLeg";
3419
+ }, {
3420
+ readonly type: "error";
3421
+ readonly inputs: readonly [];
3422
+ readonly name: "BadParam";
3423
+ }, {
3424
+ readonly type: "error";
3425
+ readonly inputs: readonly [];
3426
+ readonly name: "BadSuccessor";
3427
+ }, {
3428
+ readonly type: "error";
3429
+ readonly inputs: readonly [];
3430
+ readonly name: "BalanceOverflow";
3431
+ }, {
3432
+ readonly type: "error";
3433
+ readonly inputs: readonly [];
3434
+ readonly name: "Dissolved_";
3435
+ }, {
3436
+ readonly type: "error";
3437
+ readonly inputs: readonly [];
3438
+ readonly name: "InsufficientBalance";
3439
+ }, {
3440
+ readonly type: "error";
3441
+ readonly inputs: readonly [];
3442
+ readonly name: "InsufficientPermission";
3443
+ }, {
3444
+ readonly type: "error";
3445
+ readonly inputs: readonly [];
3446
+ readonly name: "InsufficientQuote";
3447
+ }, {
3448
+ readonly type: "error";
3449
+ readonly inputs: readonly [];
3450
+ readonly name: "InvalidToken";
3451
+ }, {
3452
+ readonly type: "error";
3453
+ readonly inputs: readonly [];
3454
+ readonly name: "LegHeld";
3455
+ }, {
3456
+ readonly type: "error";
3457
+ readonly inputs: readonly [];
3458
+ readonly name: "LegLive";
3459
+ }, {
3460
+ readonly type: "error";
3461
+ readonly inputs: readonly [];
3462
+ readonly name: "MinBuffer";
3463
+ }, {
3464
+ readonly type: "error";
3465
+ readonly inputs: readonly [];
3466
+ readonly name: "NonstandardToken";
3467
+ }, {
3468
+ readonly type: "error";
3469
+ readonly inputs: readonly [];
3470
+ readonly name: "NotAllowed";
3471
+ }, {
3472
+ readonly type: "error";
3473
+ readonly inputs: readonly [];
3474
+ readonly name: "NotAuthority";
3475
+ }, {
3476
+ readonly type: "error";
3477
+ readonly inputs: readonly [];
3478
+ readonly name: "NotAuthorized";
3479
+ }, {
3480
+ readonly type: "error";
3481
+ readonly inputs: readonly [];
3482
+ readonly name: "NotCollector";
3483
+ }, {
3484
+ readonly type: "error";
3485
+ readonly inputs: readonly [];
3486
+ readonly name: "NotDelegated";
3487
+ }, {
3488
+ readonly type: "error";
3489
+ readonly inputs: readonly [];
3490
+ readonly name: "NotDissolvable";
3491
+ }, {
3492
+ readonly type: "error";
3493
+ readonly inputs: readonly [];
3494
+ readonly name: "NotOperator";
3495
+ }, {
3496
+ readonly type: "error";
3497
+ readonly inputs: readonly [];
3498
+ readonly name: "NotSeeded";
3499
+ }, {
3500
+ readonly type: "error";
3501
+ readonly inputs: readonly [];
3502
+ readonly name: "NotSoleLP";
3503
+ }, {
3504
+ readonly type: "error";
3505
+ readonly inputs: readonly [];
3506
+ readonly name: "PoolAlreadyInitialized";
3507
+ }, {
3508
+ readonly type: "error";
3509
+ readonly inputs: readonly [];
3510
+ readonly name: "PoolLocked";
3511
+ }, {
3512
+ readonly type: "error";
3513
+ readonly inputs: readonly [];
3514
+ readonly name: "PoolNotInitialized";
3515
+ }, {
3516
+ readonly type: "error";
3517
+ readonly inputs: readonly [];
3518
+ readonly name: "PriceOutOfRange";
3519
+ }, {
3520
+ readonly type: "error";
3521
+ readonly inputs: readonly [{
3522
+ readonly name: "amount";
3523
+ readonly internalType: "uint256";
3524
+ readonly type: "uint256";
3525
+ }];
3526
+ readonly name: "QuoteResult";
3527
+ }, {
3528
+ readonly type: "error";
3529
+ readonly inputs: readonly [];
3530
+ readonly name: "ReserveNotRepresentable";
3531
+ }, {
3532
+ readonly type: "error";
3533
+ readonly inputs: readonly [];
3534
+ readonly name: "Restructured";
3535
+ }, {
3536
+ readonly type: "error";
3537
+ readonly inputs: readonly [];
3538
+ readonly name: "SameAsset";
3539
+ }, {
3540
+ readonly type: "error";
3541
+ readonly inputs: readonly [];
3542
+ readonly name: "Slippage";
3543
+ }, {
3544
+ readonly type: "error";
3545
+ readonly inputs: readonly [];
3546
+ readonly name: "StrikeLocked";
3547
+ }, {
3548
+ readonly type: "error";
3549
+ readonly inputs: readonly [];
3550
+ readonly name: "SyncAlreadyOpen";
3551
+ }, {
3552
+ readonly type: "error";
3553
+ readonly inputs: readonly [];
3554
+ readonly name: "TokensNotSettled";
3555
+ }, {
3556
+ readonly type: "error";
3557
+ readonly inputs: readonly [];
3558
+ readonly name: "TooManyLegs";
3559
+ }, {
3560
+ readonly type: "error";
3561
+ readonly inputs: readonly [];
3562
+ readonly name: "TransferShortfall";
3563
+ }, {
3564
+ readonly type: "error";
3565
+ readonly inputs: readonly [];
3566
+ readonly name: "ZeroAmount";
3567
+ }];
26
3568
  import type { LogswapClient } from "./client.js";
27
3569
  /** Everything scalar about a basket pool, in one round trip's worth of reads. */
28
3570
  export interface FPoolState {
@@ -64,12 +3606,18 @@ export interface FPoolState {
64
3606
  gateSwap: boolean;
65
3607
  /** The block of the last lever / composition action: no swap runs in it. */
66
3608
  restructureBlock: number;
67
- /** Whether harvest is bounded by θ ≤ θ₀ — income only, never the floor's backing. */
68
- feesOnly: boolean;
3609
+ /**
3610
+ * The strike is locked (decisions 027, formerly `feesOnly`): `harvest` resets the floor to θ₀
3611
+ * and never past it, so only income can leave; and the pool cannot be dissolved while it bids.
3612
+ * The pad's promise. Pairs with a locked seed (shares at 0xdead) — the class is the two bits.
3613
+ */
3614
+ lockStrike: boolean;
69
3615
  seeded: boolean;
70
3616
  dissolved: boolean;
3617
+ /** The pool this one dissolved into (decisions 025) — the relaunch's lineage; zero when none. */
3618
+ successor: Hex;
71
3619
  totalSupply: bigint;
72
- /** Base holdings the state implies, `R_j = w_j·L·e^{−x_j}`. */
3620
+ /** What the pool holds of each base — the STATE since decisions 026; the mark `x` is derived from it. */
73
3621
  reserves: bigint[];
74
3622
  }
75
3623
  /** Read a basket pool whole. Batched — viem multicalls these when the transport allows. */
@@ -174,8 +3722,42 @@ export declare function fPoolZapOut(c: LogswapClient, a: {
174
3722
  deadline?: bigint;
175
3723
  }): Promise<`0x${string}`>;
176
3724
  /**
177
- * Remove quote, lifting θ — price-neutral, pro-rata, no base moves. Under `feesOnly` the lift
178
- * stops at θ₀, so the authority extracts income and never the proceeds backing the floor.
3725
+ * Roll a dissolved pool's bundle into its successor (decisions 025), on the router under one
3726
+ * lock: burn `shares` of `fromPool` in place — the legs, the quote and any unpulled dividend come
3727
+ * back — buy through `toPool`'s own curve only what its ratio lacks, mint `dL` of it to `to`, and
3728
+ * refund the rest in kind. Quote the bundle does not cover is pulled from the payer, at most
3729
+ * `maxQuoteIn`; surplus base is refunded, never sold. Size `dL` with {@link fPoolPreviewRollIn}.
3730
+ * The router must be the caller's ERC-6909 operator ({@link approveRouterForFPool}).
3731
+ */
3732
+ export declare function fPoolRollIn(c: LogswapClient, a: {
3733
+ fromPool: Hex;
3734
+ toPool: Hex;
3735
+ shares: bigint;
3736
+ dL: bigint;
3737
+ maxQuoteIn?: bigint;
3738
+ minShares?: bigint;
3739
+ to?: Address;
3740
+ account: Address;
3741
+ deadline?: bigint;
3742
+ }): Promise<`0x${string}`>;
3743
+ /**
3744
+ * The roll `holder`'s `shares` of `fromPool` fund into `toPool` WITHOUT a trade: the largest `dL`
3745
+ * the bundle's base covers on every successor leg, and the quote the bundle is short of (pass it
3746
+ * as `maxQuoteIn`) or over (refunded — the up direction's distribution) at that `dL`. A
3747
+ * successor leg the bundle does not hold makes `dL` zero: such a roll must buy, so size it below
3748
+ * with `previewZapIn` in mind.
3749
+ */
3750
+ export declare function fPoolPreviewRollIn(c: LogswapClient, fromPool: Hex, toPool: Hex, holder: Address, shares: bigint): Promise<{
3751
+ dL: bigint;
3752
+ quoteShort: bigint;
3753
+ quoteExcess: bigint;
3754
+ }>;
3755
+ /**
3756
+ * Remove quote, lifting θ — price-neutral, no base moves, and since decisions 028 a DIVIDEND to
3757
+ * every share: the amount goes into the pool's pot and each holder's slice is settled lazily on
3758
+ * their next transfer, mint or burn, or pulled with {@link fPoolClaim}. The sponsor's own slice —
3759
+ * its shares' and the locked seed's at 0xdead — is pushed to `to` at once. Under `lockStrike`
3760
+ * the lift stops at θ₀ (income only); on every live pool it stops at `LEVER_FLOOR` (Q/L ≥ ln 1.25).
179
3761
  */
180
3762
  export declare function fPoolHarvest(c: LogswapClient, a: {
181
3763
  poolId: Hex;
@@ -183,6 +3765,16 @@ export declare function fPoolHarvest(c: LogswapClient, a: {
183
3765
  to?: Address;
184
3766
  account: Address;
185
3767
  }): Promise<`0x${string}`>;
3768
+ /** Pull one's settled dividend (decisions 028) without moving shares; anyone with shares. */
3769
+ export declare function fPoolClaim(c: LogswapClient, a: {
3770
+ poolId: Hex;
3771
+ to?: Address;
3772
+ account: Address;
3773
+ }): Promise<`0x${string}`>;
3774
+ /** A holder's dividend as of now — banked plus pending on the current balance (decisions 028). */
3775
+ export declare function fPoolDividendOf(c: LogswapClient, poolId: Hex, holder: Address): Promise<bigint>;
3776
+ /** The lever's floor: `harvest` may not take Q/L under ln 1.25 — the floor stays ≥ 20% below the mark (decisions 025). */
3777
+ export declare const LEVER_FLOOR = 223143551314209755n;
186
3778
  /** Commit quote, deepening θ — the other sign of `harvest`, the same word as the C floor edit (decisions 011). The mark does not move: governance may write θ, never x. */
187
3779
  export declare function fPoolDeepen(c: LogswapClient, a: {
188
3780
  poolId: Hex;
@@ -231,8 +3823,8 @@ export interface FPoolCreateArgs {
231
3823
  weights: bigint[];
232
3824
  /** Fixed fee, WAD. The base-for-base fee is pinned at 2φ on-chain. */
233
3825
  phi: bigint;
234
- /** true: the authority's harvest stops at the seed strike θ₀ (the launch posture). */
235
- feesOnly: boolean;
3826
+ /** true: the strike is locked — harvest stops at θ₀ and the pool cannot be dissolved live (the pad's posture; decisions 027). */
3827
+ lockStrike: boolean;
236
3828
  authority: Address;
237
3829
  /**
238
3830
  * The differentiator, and nothing else. Identity is the key's hash, so one sponsor cannot run
@@ -256,20 +3848,60 @@ export declare function fPoolInitialize(c: LogswapClient, a: FPoolCreateArgs): P
256
3848
  /** The pool id is the key's hash — pure, so it can be read before or after creation. */
257
3849
  export declare function fPoolIdOf(c: LogswapClient, a: Omit<FPoolCreateArgs, "account">): Promise<Hex>;
258
3850
  /**
259
- * Arm the pool: deposit the full basket at marks `x0` plus `Q0` of quote. Authority-only on-chain
260
- * (an open seed lets anyone front-run the creator for the strike). `x0` must align with the
261
- * SORTED bases — use {@link sortFPoolLegs} on (bases, weights, x0) together when building forms.
3851
+ * The reserve a leg holds at a mark: `R = Lj·e^{−x}`, WAD math. The seed names RESERVES since
3852
+ * decisions 029 — the sponsor states holdings and the price follows, `p = Lj / R` — so this is
3853
+ * the one conversion from a price to what the pool will hold, done here, on the way in. Float
3854
+ * precision (~1e-16 relative) is what a seed needs: any reserve is a legal seed, and the mark
3855
+ * the pool derives from it is the one the sponsor meant to within that.
3856
+ */
3857
+ export declare function fPoolReserveAt(Lj: bigint, x: bigint): bigint;
3858
+ /**
3859
+ * Arm the pool: deposit `r0[j]` of each base plus `Q0` of quote against exposure `L0`. Pass either
3860
+ * the reserves outright (`r0`) or the marks the pool should open at (`x0`, converted here with
3861
+ * {@link fPoolReserveAt} against the key's weights). Authority-only on-chain (an open seed lets
3862
+ * anyone front-run the creator for the strike). Arrays align with the SORTED bases — use
3863
+ * {@link sortFPoolLegs} on (bases, weights, x0) together when building forms.
262
3864
  */
263
3865
  export declare function fPoolSeed(c: LogswapClient, a: {
264
3866
  poolId: Hex;
265
3867
  L0: bigint;
266
- x0: bigint[];
267
3868
  Q0: bigint;
268
3869
  account: Address;
269
- }): Promise<`0x${string}`>;
270
- /** End of life. Gated on-chain to the authority and to Q at dust (the raise is not abortable). */
3870
+ } & ({
3871
+ r0: bigint[];
3872
+ } | {
3873
+ x0: bigint[];
3874
+ weights: bigint[];
3875
+ })): Promise<`0x${string}`>;
3876
+ /**
3877
+ * End of life (decisions 025). Allowed at Q ≤ L/1e9 on every pool — the market filled the ask —
3878
+ * and on a pool that is not strike-locked at any Q, provided `successor` names an initialized
3879
+ * pool of the same authority and quote: the relaunch. After it every share is a frozen in-kind
3880
+ * claim redeemed by `burn` (or rolled with {@link fPoolRollIn}), forever; the pool's `successor`
3881
+ * carries the lineage. Never a second dissolve on one pool: the successor is a NEW pool.
3882
+ */
271
3883
  export declare function fPoolDissolve(c: LogswapClient, a: {
272
3884
  poolId: Hex;
3885
+ successor?: Hex;
3886
+ account: Address;
3887
+ }): Promise<`0x${string}`>;
3888
+ /**
3889
+ * The sponsor's relaunch as ONE transaction (decisions 025): `initialize` the successor key,
3890
+ * `dissolve` the old pool into it, `burn` the sponsor's own shares, `seed` the successor with what
3891
+ * came back — the manager's `multicall`, the sponsor as sender throughout. Gates, allowlist,
3892
+ * operator, floor guard and name are re-applied afterwards, or appended to `extra` pre-encoded
3893
+ * against {@link fPoolManagerAbi}. Returns the tx hash; the successor's id is {@link fPoolIdOf}
3894
+ * of `nextKey`.
3895
+ */
3896
+ export declare function fPoolRelaunch(c: LogswapClient, a: {
3897
+ poolId: Hex;
3898
+ nextKey: Omit<FPoolCreateArgs, "account">;
3899
+ /** the sponsor's old shares to burn — its whole balance, usually */
3900
+ shares: bigint;
3901
+ L0: bigint;
3902
+ Q0: bigint;
3903
+ r0: bigint[];
3904
+ extra?: Hex[];
273
3905
  account: Address;
274
3906
  }): Promise<`0x${string}`>;
275
3907
  /**
@@ -287,8 +3919,6 @@ export declare function fPoolAcceptAuthority(c: LogswapClient, a: {
287
3919
  poolId: Hex;
288
3920
  account: Address;
289
3921
  }): Promise<`0x${string}`>;
290
- /** `setLegL`'s "keep the stored mark" sentinel — the only legal `x` for a live leg. */
291
- export declare const NO_X: bigint;
292
3922
  /** Turn the mint / swap gates on or off (authority). `burn` is never gated. */
293
3923
  export declare function fPoolSetGates(c: LogswapClient, a: {
294
3924
  poolId: Hex;
@@ -339,22 +3969,24 @@ export declare function fPoolRaiseMinBuffer(c: LogswapClient, a: {
339
3969
  }): Promise<`0x${string}`>;
340
3970
  /**
341
3971
  * Set leg `j`'s liquidity (operator, sole LP only): grow, shrink, retire (`newLj = 0`), or re-admit
342
- * a retired leg at a named mark `x`. For a live leg leave `x` undefined — its mark is the market's.
343
- * The base moves single-sidedly through the lock; shares adjust to hold the share value.
3972
+ * a retired leg holding `r` of the base (decisions 029 — the price follows, `p = newLj / r`; use
3973
+ * {@link fPoolReserveAt} from a mark). For a live leg leave `r` undefined — its price is the
3974
+ * market's, the reserve scales with the liquidity. Base moves single-sidedly through the lock;
3975
+ * shares adjust to hold the share value.
344
3976
  */
345
3977
  export declare function fPoolSetLegL(c: LogswapClient, a: {
346
3978
  poolId: Hex;
347
3979
  j: number;
348
3980
  newLj: bigint;
349
- x?: bigint;
3981
+ r?: bigint;
350
3982
  account: Address;
351
3983
  }): Promise<`0x${string}`>;
352
- /** Admit a base the pool has never held, at a named mark, with liquidity `Lj` (operator, sole LP only). */
3984
+ /** Admit a base the pool has never held: `R` of it against liquidity `Lj`, so at `p = Lj / R` (operator, sole LP only). */
353
3985
  export declare function fPoolAdmitLeg(c: LogswapClient, a: {
354
3986
  poolId: Hex;
355
3987
  base: Address;
356
3988
  Lj: bigint;
357
- x: bigint;
3989
+ R: bigint;
358
3990
  account: Address;
359
3991
  }): Promise<`0x${string}`>;
360
3992
  /**
@@ -374,7 +4006,7 @@ export interface DiscoveredFPool {
374
4006
  bases: Address[];
375
4007
  weights: bigint[];
376
4008
  phi: bigint;
377
- feesOnly: boolean;
4009
+ lockStrike: boolean;
378
4010
  authority: Address;
379
4011
  /** The block the pool was initialized in — its age, for annualising realized income. */
380
4012
  block: bigint;
@@ -392,7 +4024,7 @@ export interface DiscoveredFPool {
392
4024
  }
393
4025
  /**
394
4026
  * Every F pool ever created, from `Initialize` logs alone. Possible only because the event
395
- * carries the full key preimage (bases, weights, phi, feesOnly) — the poolId is a hash and could
4027
+ * carries the full key preimage (bases, weights, phi, lockStrike) — the poolId is a hash and could
396
4028
  * never be inverted; contracts PR #17 exists for exactly this call.
397
4029
  */
398
4030
  export declare function discoverFPools(c: LogswapClient, opts?: {
@@ -410,7 +4042,7 @@ export declare function fPoolShareHolders(c: LogswapClient, poolIdHex: Hex, opts
410
4042
  holder: Address;
411
4043
  shares: bigint;
412
4044
  }>>;
413
- /** Every F pool's state in one lens call (the raw manager struct: quote, phi, authority, feesOnly, seeded, dissolved, n, Q, L, shares, theta0, bigSigma, leverTheta). */
4045
+ /** Every F pool's state in one lens call (the raw manager struct: quote, phi, authority, lockStrike, seeded, dissolved, successor, n, Q, L, shares, theta0, bigSigma, leverTheta). */
414
4046
  export declare function getFPoolsRaw(c: LogswapClient, poolIds: Hex[]): Promise<readonly unknown[]>;
415
4047
  /** Share value from the lens — (L + Q)/shares, WAD per share — the same figure as `fPoolShareValue`, from one source. */
416
4048
  export declare function shareValueOnChain(c: LogswapClient, poolId: Hex): Promise<bigint>;