@ripe-finance/sdk 1.14.2 → 1.15.0

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.
Files changed (43) hide show
  1. package/dist/contracts/AuctionHouse.js +1 -1
  2. package/dist/contracts/BondRoom.js +1 -1
  3. package/dist/contracts/CreditEngine.d.ts +32 -0
  4. package/dist/contracts/CreditEngine.d.ts.map +1 -1
  5. package/dist/contracts/CreditEngine.js +41 -1
  6. package/dist/contracts/Deleverage.js +1 -1
  7. package/dist/contracts/Endaoment.d.ts +230 -1138
  8. package/dist/contracts/Endaoment.d.ts.map +1 -1
  9. package/dist/contracts/Endaoment.js +216 -1445
  10. package/dist/contracts/EndaomentFunds.d.ts +241 -0
  11. package/dist/contracts/EndaomentFunds.d.ts.map +1 -0
  12. package/dist/contracts/EndaomentFunds.js +278 -0
  13. package/dist/contracts/EndaomentPSM.d.ts +1229 -0
  14. package/dist/contracts/EndaomentPSM.d.ts.map +1 -0
  15. package/dist/contracts/EndaomentPSM.js +1538 -0
  16. package/dist/contracts/Lootbox.d.ts +184 -0
  17. package/dist/contracts/Lootbox.d.ts.map +1 -1
  18. package/dist/contracts/Lootbox.js +232 -1
  19. package/dist/contracts/PriceDesk.js +1 -1
  20. package/dist/contracts/PythPrices.d.ts +60 -8
  21. package/dist/contracts/PythPrices.d.ts.map +1 -1
  22. package/dist/contracts/PythPrices.js +77 -9
  23. package/dist/contracts/StorkPrices.d.ts +8 -8
  24. package/dist/contracts/StorkPrices.d.ts.map +1 -1
  25. package/dist/contracts/StorkPrices.js +9 -9
  26. package/dist/contracts/SwitchboardAlpha.d.ts +112 -0
  27. package/dist/contracts/SwitchboardAlpha.d.ts.map +1 -1
  28. package/dist/contracts/SwitchboardAlpha.js +145 -1
  29. package/dist/contracts/SwitchboardCharlie.d.ts +133 -1760
  30. package/dist/contracts/SwitchboardCharlie.d.ts.map +1 -1
  31. package/dist/contracts/SwitchboardCharlie.js +129 -2217
  32. package/dist/contracts/SwitchboardEcho.d.ts +3296 -0
  33. package/dist/contracts/SwitchboardEcho.d.ts.map +1 -0
  34. package/dist/contracts/SwitchboardEcho.js +4184 -0
  35. package/dist/contracts/index.d.ts +3 -0
  36. package/dist/contracts/index.d.ts.map +1 -1
  37. package/dist/contracts/index.js +3 -0
  38. package/dist/contracts/sdk.d.ts +6 -0
  39. package/dist/contracts/sdk.d.ts.map +1 -1
  40. package/dist/contracts/sdk.js +6 -0
  41. package/dist/index.d.ts +28 -37
  42. package/dist/index.d.ts.map +1 -1
  43. package/package.json +2 -2
@@ -0,0 +1,4184 @@
1
+ /* Autogenerated file. Do not edit manually. */
2
+ /* tslint:disable */
3
+ /* eslint-disable */
4
+ /* @ts-nocheck */
5
+ import { singleQuery, mutate } from '@dappql/async';
6
+ export const abi = [
7
+ {
8
+ name: 'EndaomentDepositPerformed',
9
+ inputs: [
10
+ {
11
+ name: 'legoId',
12
+ type: 'uint256',
13
+ indexed: false,
14
+ },
15
+ {
16
+ name: 'asset',
17
+ type: 'address',
18
+ indexed: true,
19
+ },
20
+ {
21
+ name: 'vault',
22
+ type: 'address',
23
+ indexed: true,
24
+ },
25
+ {
26
+ name: 'amount',
27
+ type: 'uint256',
28
+ indexed: false,
29
+ },
30
+ {
31
+ name: 'caller',
32
+ type: 'address',
33
+ indexed: true,
34
+ },
35
+ ],
36
+ anonymous: false,
37
+ type: 'event',
38
+ },
39
+ {
40
+ name: 'EndaomentWithdrawalPerformed',
41
+ inputs: [
42
+ {
43
+ name: 'legoId',
44
+ type: 'uint256',
45
+ indexed: false,
46
+ },
47
+ {
48
+ name: 'asset',
49
+ type: 'address',
50
+ indexed: true,
51
+ },
52
+ {
53
+ name: 'vaultAddr',
54
+ type: 'address',
55
+ indexed: true,
56
+ },
57
+ {
58
+ name: 'withdrawAmount',
59
+ type: 'uint256',
60
+ indexed: false,
61
+ },
62
+ {
63
+ name: 'caller',
64
+ type: 'address',
65
+ indexed: true,
66
+ },
67
+ ],
68
+ anonymous: false,
69
+ type: 'event',
70
+ },
71
+ {
72
+ name: 'EndaomentEthToWethPerformed',
73
+ inputs: [
74
+ {
75
+ name: 'amount',
76
+ type: 'uint256',
77
+ indexed: false,
78
+ },
79
+ {
80
+ name: 'caller',
81
+ type: 'address',
82
+ indexed: true,
83
+ },
84
+ ],
85
+ anonymous: false,
86
+ type: 'event',
87
+ },
88
+ {
89
+ name: 'EndaomentWethToEthPerformed',
90
+ inputs: [
91
+ {
92
+ name: 'amount',
93
+ type: 'uint256',
94
+ indexed: false,
95
+ },
96
+ {
97
+ name: 'caller',
98
+ type: 'address',
99
+ indexed: true,
100
+ },
101
+ ],
102
+ anonymous: false,
103
+ type: 'event',
104
+ },
105
+ {
106
+ name: 'EndaomentClaimPerformed',
107
+ inputs: [
108
+ {
109
+ name: 'legoId',
110
+ type: 'uint256',
111
+ indexed: false,
112
+ },
113
+ {
114
+ name: 'rewardToken',
115
+ type: 'address',
116
+ indexed: true,
117
+ },
118
+ {
119
+ name: 'rewardAmount',
120
+ type: 'uint256',
121
+ indexed: false,
122
+ },
123
+ {
124
+ name: 'usdValue',
125
+ type: 'uint256',
126
+ indexed: false,
127
+ },
128
+ {
129
+ name: 'caller',
130
+ type: 'address',
131
+ indexed: true,
132
+ },
133
+ ],
134
+ anonymous: false,
135
+ type: 'event',
136
+ },
137
+ {
138
+ name: 'EndaomentStabilizerPerformed',
139
+ inputs: [
140
+ {
141
+ name: 'success',
142
+ type: 'bool',
143
+ indexed: false,
144
+ },
145
+ {
146
+ name: 'caller',
147
+ type: 'address',
148
+ indexed: true,
149
+ },
150
+ ],
151
+ anonymous: false,
152
+ type: 'event',
153
+ },
154
+ {
155
+ name: 'EndaomentPsmTransferPerformed',
156
+ inputs: [
157
+ {
158
+ name: 'amount',
159
+ type: 'uint256',
160
+ indexed: false,
161
+ },
162
+ {
163
+ name: 'usdValue',
164
+ type: 'uint256',
165
+ indexed: false,
166
+ },
167
+ {
168
+ name: 'caller',
169
+ type: 'address',
170
+ indexed: true,
171
+ },
172
+ ],
173
+ anonymous: false,
174
+ type: 'event',
175
+ },
176
+ {
177
+ name: 'EndaomentVaultTransferPerformed',
178
+ inputs: [
179
+ {
180
+ name: 'numAssets',
181
+ type: 'uint256',
182
+ indexed: false,
183
+ },
184
+ {
185
+ name: 'caller',
186
+ type: 'address',
187
+ indexed: true,
188
+ },
189
+ ],
190
+ anonymous: false,
191
+ type: 'event',
192
+ },
193
+ {
194
+ name: 'EndaomentPsmDepositPerformed',
195
+ inputs: [
196
+ {
197
+ name: 'amountDeposited',
198
+ type: 'uint256',
199
+ indexed: false,
200
+ },
201
+ {
202
+ name: 'caller',
203
+ type: 'address',
204
+ indexed: true,
205
+ },
206
+ ],
207
+ anonymous: false,
208
+ type: 'event',
209
+ },
210
+ {
211
+ name: 'EndaomentPsmWithdrawPerformed',
212
+ inputs: [
213
+ {
214
+ name: 'amountWithdrawn',
215
+ type: 'uint256',
216
+ indexed: false,
217
+ },
218
+ {
219
+ name: 'amountTransferred',
220
+ type: 'uint256',
221
+ indexed: false,
222
+ },
223
+ {
224
+ name: 'caller',
225
+ type: 'address',
226
+ indexed: true,
227
+ },
228
+ ],
229
+ anonymous: false,
230
+ type: 'event',
231
+ },
232
+ {
233
+ name: 'EndaomentPsmTransferToFundsPerformed',
234
+ inputs: [
235
+ {
236
+ name: 'amount',
237
+ type: 'uint256',
238
+ indexed: false,
239
+ },
240
+ {
241
+ name: 'caller',
242
+ type: 'address',
243
+ indexed: true,
244
+ },
245
+ ],
246
+ anonymous: false,
247
+ type: 'event',
248
+ },
249
+ {
250
+ name: 'PendingEndaoTransferAction',
251
+ inputs: [
252
+ {
253
+ name: 'asset',
254
+ type: 'address',
255
+ indexed: true,
256
+ },
257
+ {
258
+ name: 'amount',
259
+ type: 'uint256',
260
+ indexed: false,
261
+ },
262
+ {
263
+ name: 'confirmationBlock',
264
+ type: 'uint256',
265
+ indexed: false,
266
+ },
267
+ {
268
+ name: 'actionId',
269
+ type: 'uint256',
270
+ indexed: false,
271
+ },
272
+ ],
273
+ anonymous: false,
274
+ type: 'event',
275
+ },
276
+ {
277
+ name: 'PendingEndaoSwapAction',
278
+ inputs: [
279
+ {
280
+ name: 'numSwapInstructions',
281
+ type: 'uint256',
282
+ indexed: false,
283
+ },
284
+ {
285
+ name: 'confirmationBlock',
286
+ type: 'uint256',
287
+ indexed: false,
288
+ },
289
+ {
290
+ name: 'actionId',
291
+ type: 'uint256',
292
+ indexed: false,
293
+ },
294
+ ],
295
+ anonymous: false,
296
+ type: 'event',
297
+ },
298
+ {
299
+ name: 'PendingEndaoAddLiquidityAction',
300
+ inputs: [
301
+ {
302
+ name: 'legoId',
303
+ type: 'uint256',
304
+ indexed: false,
305
+ },
306
+ {
307
+ name: 'pool',
308
+ type: 'address',
309
+ indexed: true,
310
+ },
311
+ {
312
+ name: 'tokenA',
313
+ type: 'address',
314
+ indexed: true,
315
+ },
316
+ {
317
+ name: 'tokenB',
318
+ type: 'address',
319
+ indexed: true,
320
+ },
321
+ {
322
+ name: 'confirmationBlock',
323
+ type: 'uint256',
324
+ indexed: false,
325
+ },
326
+ {
327
+ name: 'actionId',
328
+ type: 'uint256',
329
+ indexed: false,
330
+ },
331
+ ],
332
+ anonymous: false,
333
+ type: 'event',
334
+ },
335
+ {
336
+ name: 'PendingEndaoRemoveLiquidityAction',
337
+ inputs: [
338
+ {
339
+ name: 'legoId',
340
+ type: 'uint256',
341
+ indexed: false,
342
+ },
343
+ {
344
+ name: 'pool',
345
+ type: 'address',
346
+ indexed: true,
347
+ },
348
+ {
349
+ name: 'tokenA',
350
+ type: 'address',
351
+ indexed: true,
352
+ },
353
+ {
354
+ name: 'tokenB',
355
+ type: 'address',
356
+ indexed: true,
357
+ },
358
+ {
359
+ name: 'confirmationBlock',
360
+ type: 'uint256',
361
+ indexed: false,
362
+ },
363
+ {
364
+ name: 'actionId',
365
+ type: 'uint256',
366
+ indexed: false,
367
+ },
368
+ ],
369
+ anonymous: false,
370
+ type: 'event',
371
+ },
372
+ {
373
+ name: 'PendingEndaoPartnerMintAction',
374
+ inputs: [
375
+ {
376
+ name: 'partner',
377
+ type: 'address',
378
+ indexed: true,
379
+ },
380
+ {
381
+ name: 'asset',
382
+ type: 'address',
383
+ indexed: true,
384
+ },
385
+ {
386
+ name: 'amount',
387
+ type: 'uint256',
388
+ indexed: false,
389
+ },
390
+ {
391
+ name: 'confirmationBlock',
392
+ type: 'uint256',
393
+ indexed: false,
394
+ },
395
+ {
396
+ name: 'actionId',
397
+ type: 'uint256',
398
+ indexed: false,
399
+ },
400
+ ],
401
+ anonymous: false,
402
+ type: 'event',
403
+ },
404
+ {
405
+ name: 'PendingEndaoPartnerPoolAction',
406
+ inputs: [
407
+ {
408
+ name: 'legoId',
409
+ type: 'uint256',
410
+ indexed: false,
411
+ },
412
+ {
413
+ name: 'pool',
414
+ type: 'address',
415
+ indexed: true,
416
+ },
417
+ {
418
+ name: 'partner',
419
+ type: 'address',
420
+ indexed: true,
421
+ },
422
+ {
423
+ name: 'asset',
424
+ type: 'address',
425
+ indexed: true,
426
+ },
427
+ {
428
+ name: 'confirmationBlock',
429
+ type: 'uint256',
430
+ indexed: false,
431
+ },
432
+ {
433
+ name: 'actionId',
434
+ type: 'uint256',
435
+ indexed: false,
436
+ },
437
+ ],
438
+ anonymous: false,
439
+ type: 'event',
440
+ },
441
+ {
442
+ name: 'PendingEndaoRepayAction',
443
+ inputs: [
444
+ {
445
+ name: 'pool',
446
+ type: 'address',
447
+ indexed: true,
448
+ },
449
+ {
450
+ name: 'amount',
451
+ type: 'uint256',
452
+ indexed: false,
453
+ },
454
+ {
455
+ name: 'confirmationBlock',
456
+ type: 'uint256',
457
+ indexed: false,
458
+ },
459
+ {
460
+ name: 'actionId',
461
+ type: 'uint256',
462
+ indexed: false,
463
+ },
464
+ ],
465
+ anonymous: false,
466
+ type: 'event',
467
+ },
468
+ {
469
+ name: 'PendingPsmSetCanMintAction',
470
+ inputs: [
471
+ {
472
+ name: 'canMint',
473
+ type: 'bool',
474
+ indexed: false,
475
+ },
476
+ {
477
+ name: 'confirmationBlock',
478
+ type: 'uint256',
479
+ indexed: false,
480
+ },
481
+ {
482
+ name: 'actionId',
483
+ type: 'uint256',
484
+ indexed: false,
485
+ },
486
+ ],
487
+ anonymous: false,
488
+ type: 'event',
489
+ },
490
+ {
491
+ name: 'PendingPsmSetMintFeeAction',
492
+ inputs: [
493
+ {
494
+ name: 'fee',
495
+ type: 'uint256',
496
+ indexed: false,
497
+ },
498
+ {
499
+ name: 'confirmationBlock',
500
+ type: 'uint256',
501
+ indexed: false,
502
+ },
503
+ {
504
+ name: 'actionId',
505
+ type: 'uint256',
506
+ indexed: false,
507
+ },
508
+ ],
509
+ anonymous: false,
510
+ type: 'event',
511
+ },
512
+ {
513
+ name: 'PendingPsmSetMaxIntervalMintAction',
514
+ inputs: [
515
+ {
516
+ name: 'maxGreenAmount',
517
+ type: 'uint256',
518
+ indexed: false,
519
+ },
520
+ {
521
+ name: 'confirmationBlock',
522
+ type: 'uint256',
523
+ indexed: false,
524
+ },
525
+ {
526
+ name: 'actionId',
527
+ type: 'uint256',
528
+ indexed: false,
529
+ },
530
+ ],
531
+ anonymous: false,
532
+ type: 'event',
533
+ },
534
+ {
535
+ name: 'PendingPsmSetShouldEnforceMintAllowlistAction',
536
+ inputs: [
537
+ {
538
+ name: 'shouldEnforce',
539
+ type: 'bool',
540
+ indexed: false,
541
+ },
542
+ {
543
+ name: 'confirmationBlock',
544
+ type: 'uint256',
545
+ indexed: false,
546
+ },
547
+ {
548
+ name: 'actionId',
549
+ type: 'uint256',
550
+ indexed: false,
551
+ },
552
+ ],
553
+ anonymous: false,
554
+ type: 'event',
555
+ },
556
+ {
557
+ name: 'PendingPsmUpdateMintAllowlistAction',
558
+ inputs: [
559
+ {
560
+ name: 'user',
561
+ type: 'address',
562
+ indexed: true,
563
+ },
564
+ {
565
+ name: 'isAllowed',
566
+ type: 'bool',
567
+ indexed: false,
568
+ },
569
+ {
570
+ name: 'confirmationBlock',
571
+ type: 'uint256',
572
+ indexed: false,
573
+ },
574
+ {
575
+ name: 'actionId',
576
+ type: 'uint256',
577
+ indexed: false,
578
+ },
579
+ ],
580
+ anonymous: false,
581
+ type: 'event',
582
+ },
583
+ {
584
+ name: 'PendingPsmSetCanRedeemAction',
585
+ inputs: [
586
+ {
587
+ name: 'canRedeem',
588
+ type: 'bool',
589
+ indexed: false,
590
+ },
591
+ {
592
+ name: 'confirmationBlock',
593
+ type: 'uint256',
594
+ indexed: false,
595
+ },
596
+ {
597
+ name: 'actionId',
598
+ type: 'uint256',
599
+ indexed: false,
600
+ },
601
+ ],
602
+ anonymous: false,
603
+ type: 'event',
604
+ },
605
+ {
606
+ name: 'PendingPsmSetRedeemFeeAction',
607
+ inputs: [
608
+ {
609
+ name: 'fee',
610
+ type: 'uint256',
611
+ indexed: false,
612
+ },
613
+ {
614
+ name: 'confirmationBlock',
615
+ type: 'uint256',
616
+ indexed: false,
617
+ },
618
+ {
619
+ name: 'actionId',
620
+ type: 'uint256',
621
+ indexed: false,
622
+ },
623
+ ],
624
+ anonymous: false,
625
+ type: 'event',
626
+ },
627
+ {
628
+ name: 'PendingPsmSetMaxIntervalRedeemAction',
629
+ inputs: [
630
+ {
631
+ name: 'maxGreenAmount',
632
+ type: 'uint256',
633
+ indexed: false,
634
+ },
635
+ {
636
+ name: 'confirmationBlock',
637
+ type: 'uint256',
638
+ indexed: false,
639
+ },
640
+ {
641
+ name: 'actionId',
642
+ type: 'uint256',
643
+ indexed: false,
644
+ },
645
+ ],
646
+ anonymous: false,
647
+ type: 'event',
648
+ },
649
+ {
650
+ name: 'PendingPsmSetShouldEnforceRedeemAllowlistAction',
651
+ inputs: [
652
+ {
653
+ name: 'shouldEnforce',
654
+ type: 'bool',
655
+ indexed: false,
656
+ },
657
+ {
658
+ name: 'confirmationBlock',
659
+ type: 'uint256',
660
+ indexed: false,
661
+ },
662
+ {
663
+ name: 'actionId',
664
+ type: 'uint256',
665
+ indexed: false,
666
+ },
667
+ ],
668
+ anonymous: false,
669
+ type: 'event',
670
+ },
671
+ {
672
+ name: 'PendingPsmUpdateRedeemAllowlistAction',
673
+ inputs: [
674
+ {
675
+ name: 'user',
676
+ type: 'address',
677
+ indexed: true,
678
+ },
679
+ {
680
+ name: 'isAllowed',
681
+ type: 'bool',
682
+ indexed: false,
683
+ },
684
+ {
685
+ name: 'confirmationBlock',
686
+ type: 'uint256',
687
+ indexed: false,
688
+ },
689
+ {
690
+ name: 'actionId',
691
+ type: 'uint256',
692
+ indexed: false,
693
+ },
694
+ ],
695
+ anonymous: false,
696
+ type: 'event',
697
+ },
698
+ {
699
+ name: 'PendingPsmSetUsdcYieldPositionAction',
700
+ inputs: [
701
+ {
702
+ name: 'legoId',
703
+ type: 'uint256',
704
+ indexed: false,
705
+ },
706
+ {
707
+ name: 'vaultToken',
708
+ type: 'address',
709
+ indexed: true,
710
+ },
711
+ {
712
+ name: 'confirmationBlock',
713
+ type: 'uint256',
714
+ indexed: false,
715
+ },
716
+ {
717
+ name: 'actionId',
718
+ type: 'uint256',
719
+ indexed: false,
720
+ },
721
+ ],
722
+ anonymous: false,
723
+ type: 'event',
724
+ },
725
+ {
726
+ name: 'PendingPsmSetNumBlocksPerIntervalAction',
727
+ inputs: [
728
+ {
729
+ name: 'blocks',
730
+ type: 'uint256',
731
+ indexed: false,
732
+ },
733
+ {
734
+ name: 'confirmationBlock',
735
+ type: 'uint256',
736
+ indexed: false,
737
+ },
738
+ {
739
+ name: 'actionId',
740
+ type: 'uint256',
741
+ indexed: false,
742
+ },
743
+ ],
744
+ anonymous: false,
745
+ type: 'event',
746
+ },
747
+ {
748
+ name: 'PendingPsmSetShouldAutoDepositAction',
749
+ inputs: [
750
+ {
751
+ name: 'shouldAutoDeposit',
752
+ type: 'bool',
753
+ indexed: false,
754
+ },
755
+ {
756
+ name: 'confirmationBlock',
757
+ type: 'uint256',
758
+ indexed: false,
759
+ },
760
+ {
761
+ name: 'actionId',
762
+ type: 'uint256',
763
+ indexed: false,
764
+ },
765
+ ],
766
+ anonymous: false,
767
+ type: 'event',
768
+ },
769
+ {
770
+ name: 'EndaoTransferExecuted',
771
+ inputs: [
772
+ {
773
+ name: 'asset',
774
+ type: 'address',
775
+ indexed: true,
776
+ },
777
+ {
778
+ name: 'amount',
779
+ type: 'uint256',
780
+ indexed: false,
781
+ },
782
+ ],
783
+ anonymous: false,
784
+ type: 'event',
785
+ },
786
+ {
787
+ name: 'EndaoSwapExecuted',
788
+ inputs: [
789
+ {
790
+ name: 'numSwapInstructions',
791
+ type: 'uint256',
792
+ indexed: false,
793
+ },
794
+ ],
795
+ anonymous: false,
796
+ type: 'event',
797
+ },
798
+ {
799
+ name: 'EndaoAddLiquidityExecuted',
800
+ inputs: [
801
+ {
802
+ name: 'legoId',
803
+ type: 'uint256',
804
+ indexed: false,
805
+ },
806
+ {
807
+ name: 'pool',
808
+ type: 'address',
809
+ indexed: true,
810
+ },
811
+ {
812
+ name: 'tokenA',
813
+ type: 'address',
814
+ indexed: true,
815
+ },
816
+ {
817
+ name: 'tokenB',
818
+ type: 'address',
819
+ indexed: true,
820
+ },
821
+ ],
822
+ anonymous: false,
823
+ type: 'event',
824
+ },
825
+ {
826
+ name: 'EndaoRemoveLiquidityExecuted',
827
+ inputs: [
828
+ {
829
+ name: 'legoId',
830
+ type: 'uint256',
831
+ indexed: false,
832
+ },
833
+ {
834
+ name: 'pool',
835
+ type: 'address',
836
+ indexed: true,
837
+ },
838
+ {
839
+ name: 'tokenA',
840
+ type: 'address',
841
+ indexed: true,
842
+ },
843
+ {
844
+ name: 'tokenB',
845
+ type: 'address',
846
+ indexed: true,
847
+ },
848
+ ],
849
+ anonymous: false,
850
+ type: 'event',
851
+ },
852
+ {
853
+ name: 'EndaoPartnerMintExecuted',
854
+ inputs: [
855
+ {
856
+ name: 'partner',
857
+ type: 'address',
858
+ indexed: true,
859
+ },
860
+ {
861
+ name: 'asset',
862
+ type: 'address',
863
+ indexed: true,
864
+ },
865
+ {
866
+ name: 'greenMinted',
867
+ type: 'uint256',
868
+ indexed: false,
869
+ },
870
+ ],
871
+ anonymous: false,
872
+ type: 'event',
873
+ },
874
+ {
875
+ name: 'EndaoPartnerPoolExecuted',
876
+ inputs: [
877
+ {
878
+ name: 'legoId',
879
+ type: 'uint256',
880
+ indexed: false,
881
+ },
882
+ {
883
+ name: 'pool',
884
+ type: 'address',
885
+ indexed: true,
886
+ },
887
+ {
888
+ name: 'partner',
889
+ type: 'address',
890
+ indexed: true,
891
+ },
892
+ {
893
+ name: 'asset',
894
+ type: 'address',
895
+ indexed: true,
896
+ },
897
+ ],
898
+ anonymous: false,
899
+ type: 'event',
900
+ },
901
+ {
902
+ name: 'EndaoRepayExecuted',
903
+ inputs: [
904
+ {
905
+ name: 'pool',
906
+ type: 'address',
907
+ indexed: true,
908
+ },
909
+ {
910
+ name: 'success',
911
+ type: 'bool',
912
+ indexed: false,
913
+ },
914
+ ],
915
+ anonymous: false,
916
+ type: 'event',
917
+ },
918
+ {
919
+ name: 'PsmSetCanMintExecuted',
920
+ inputs: [
921
+ {
922
+ name: 'canMint',
923
+ type: 'bool',
924
+ indexed: false,
925
+ },
926
+ ],
927
+ anonymous: false,
928
+ type: 'event',
929
+ },
930
+ {
931
+ name: 'PsmSetMintFeeExecuted',
932
+ inputs: [
933
+ {
934
+ name: 'fee',
935
+ type: 'uint256',
936
+ indexed: false,
937
+ },
938
+ ],
939
+ anonymous: false,
940
+ type: 'event',
941
+ },
942
+ {
943
+ name: 'PsmSetMaxIntervalMintExecuted',
944
+ inputs: [
945
+ {
946
+ name: 'maxGreenAmount',
947
+ type: 'uint256',
948
+ indexed: false,
949
+ },
950
+ ],
951
+ anonymous: false,
952
+ type: 'event',
953
+ },
954
+ {
955
+ name: 'PsmSetShouldEnforceMintAllowlistExecuted',
956
+ inputs: [
957
+ {
958
+ name: 'shouldEnforce',
959
+ type: 'bool',
960
+ indexed: false,
961
+ },
962
+ ],
963
+ anonymous: false,
964
+ type: 'event',
965
+ },
966
+ {
967
+ name: 'PsmUpdateMintAllowlistExecuted',
968
+ inputs: [
969
+ {
970
+ name: 'user',
971
+ type: 'address',
972
+ indexed: true,
973
+ },
974
+ {
975
+ name: 'isAllowed',
976
+ type: 'bool',
977
+ indexed: false,
978
+ },
979
+ ],
980
+ anonymous: false,
981
+ type: 'event',
982
+ },
983
+ {
984
+ name: 'PsmSetCanRedeemExecuted',
985
+ inputs: [
986
+ {
987
+ name: 'canRedeem',
988
+ type: 'bool',
989
+ indexed: false,
990
+ },
991
+ ],
992
+ anonymous: false,
993
+ type: 'event',
994
+ },
995
+ {
996
+ name: 'PsmSetRedeemFeeExecuted',
997
+ inputs: [
998
+ {
999
+ name: 'fee',
1000
+ type: 'uint256',
1001
+ indexed: false,
1002
+ },
1003
+ ],
1004
+ anonymous: false,
1005
+ type: 'event',
1006
+ },
1007
+ {
1008
+ name: 'PsmSetMaxIntervalRedeemExecuted',
1009
+ inputs: [
1010
+ {
1011
+ name: 'maxGreenAmount',
1012
+ type: 'uint256',
1013
+ indexed: false,
1014
+ },
1015
+ ],
1016
+ anonymous: false,
1017
+ type: 'event',
1018
+ },
1019
+ {
1020
+ name: 'PsmSetShouldEnforceRedeemAllowlistExecuted',
1021
+ inputs: [
1022
+ {
1023
+ name: 'shouldEnforce',
1024
+ type: 'bool',
1025
+ indexed: false,
1026
+ },
1027
+ ],
1028
+ anonymous: false,
1029
+ type: 'event',
1030
+ },
1031
+ {
1032
+ name: 'PsmUpdateRedeemAllowlistExecuted',
1033
+ inputs: [
1034
+ {
1035
+ name: 'user',
1036
+ type: 'address',
1037
+ indexed: true,
1038
+ },
1039
+ {
1040
+ name: 'isAllowed',
1041
+ type: 'bool',
1042
+ indexed: false,
1043
+ },
1044
+ ],
1045
+ anonymous: false,
1046
+ type: 'event',
1047
+ },
1048
+ {
1049
+ name: 'PsmSetUsdcYieldPositionExecuted',
1050
+ inputs: [
1051
+ {
1052
+ name: 'legoId',
1053
+ type: 'uint256',
1054
+ indexed: false,
1055
+ },
1056
+ {
1057
+ name: 'vaultToken',
1058
+ type: 'address',
1059
+ indexed: true,
1060
+ },
1061
+ ],
1062
+ anonymous: false,
1063
+ type: 'event',
1064
+ },
1065
+ {
1066
+ name: 'PsmSetNumBlocksPerIntervalExecuted',
1067
+ inputs: [
1068
+ {
1069
+ name: 'blocks',
1070
+ type: 'uint256',
1071
+ indexed: false,
1072
+ },
1073
+ ],
1074
+ anonymous: false,
1075
+ type: 'event',
1076
+ },
1077
+ {
1078
+ name: 'PsmSetShouldAutoDepositExecuted',
1079
+ inputs: [
1080
+ {
1081
+ name: 'shouldAutoDeposit',
1082
+ type: 'bool',
1083
+ indexed: false,
1084
+ },
1085
+ ],
1086
+ anonymous: false,
1087
+ type: 'event',
1088
+ },
1089
+ {
1090
+ name: 'GovChangeTimeLockModified',
1091
+ inputs: [
1092
+ {
1093
+ name: 'prevTimeLock',
1094
+ type: 'uint256',
1095
+ indexed: false,
1096
+ },
1097
+ {
1098
+ name: 'newTimeLock',
1099
+ type: 'uint256',
1100
+ indexed: false,
1101
+ },
1102
+ ],
1103
+ anonymous: false,
1104
+ type: 'event',
1105
+ },
1106
+ {
1107
+ name: 'ExpirationSet',
1108
+ inputs: [
1109
+ {
1110
+ name: 'expiration',
1111
+ type: 'uint256',
1112
+ indexed: false,
1113
+ },
1114
+ ],
1115
+ anonymous: false,
1116
+ type: 'event',
1117
+ },
1118
+ {
1119
+ name: 'ActionTimeLockSet',
1120
+ inputs: [
1121
+ {
1122
+ name: 'newTimeLock',
1123
+ type: 'uint256',
1124
+ indexed: false,
1125
+ },
1126
+ {
1127
+ name: 'prevTimeLock',
1128
+ type: 'uint256',
1129
+ indexed: false,
1130
+ },
1131
+ ],
1132
+ anonymous: false,
1133
+ type: 'event',
1134
+ },
1135
+ {
1136
+ name: 'GovChangeStarted',
1137
+ inputs: [
1138
+ {
1139
+ name: 'prevGov',
1140
+ type: 'address',
1141
+ indexed: true,
1142
+ },
1143
+ {
1144
+ name: 'newGov',
1145
+ type: 'address',
1146
+ indexed: true,
1147
+ },
1148
+ {
1149
+ name: 'confirmBlock',
1150
+ type: 'uint256',
1151
+ indexed: false,
1152
+ },
1153
+ ],
1154
+ anonymous: false,
1155
+ type: 'event',
1156
+ },
1157
+ {
1158
+ name: 'GovChangeConfirmed',
1159
+ inputs: [
1160
+ {
1161
+ name: 'prevGov',
1162
+ type: 'address',
1163
+ indexed: true,
1164
+ },
1165
+ {
1166
+ name: 'newGov',
1167
+ type: 'address',
1168
+ indexed: true,
1169
+ },
1170
+ {
1171
+ name: 'initiatedBlock',
1172
+ type: 'uint256',
1173
+ indexed: false,
1174
+ },
1175
+ {
1176
+ name: 'confirmBlock',
1177
+ type: 'uint256',
1178
+ indexed: false,
1179
+ },
1180
+ ],
1181
+ anonymous: false,
1182
+ type: 'event',
1183
+ },
1184
+ {
1185
+ name: 'GovChangeCancelled',
1186
+ inputs: [
1187
+ {
1188
+ name: 'cancelledGov',
1189
+ type: 'address',
1190
+ indexed: true,
1191
+ },
1192
+ {
1193
+ name: 'initiatedBlock',
1194
+ type: 'uint256',
1195
+ indexed: false,
1196
+ },
1197
+ {
1198
+ name: 'confirmBlock',
1199
+ type: 'uint256',
1200
+ indexed: false,
1201
+ },
1202
+ ],
1203
+ anonymous: false,
1204
+ type: 'event',
1205
+ },
1206
+ {
1207
+ name: 'GovRelinquished',
1208
+ inputs: [
1209
+ {
1210
+ name: 'prevGov',
1211
+ type: 'address',
1212
+ indexed: true,
1213
+ },
1214
+ ],
1215
+ anonymous: false,
1216
+ type: 'event',
1217
+ },
1218
+ {
1219
+ name: 'RipeHqSetupFinished',
1220
+ inputs: [
1221
+ {
1222
+ name: 'prevGov',
1223
+ type: 'address',
1224
+ indexed: true,
1225
+ },
1226
+ {
1227
+ name: 'newGov',
1228
+ type: 'address',
1229
+ indexed: true,
1230
+ },
1231
+ {
1232
+ name: 'timeLock',
1233
+ type: 'uint256',
1234
+ indexed: false,
1235
+ },
1236
+ ],
1237
+ anonymous: false,
1238
+ type: 'event',
1239
+ },
1240
+ {
1241
+ stateMutability: 'view',
1242
+ type: 'function',
1243
+ name: 'getRipeHqFromGov',
1244
+ inputs: [],
1245
+ outputs: [
1246
+ {
1247
+ name: '',
1248
+ type: 'address',
1249
+ },
1250
+ ],
1251
+ },
1252
+ {
1253
+ stateMutability: 'view',
1254
+ type: 'function',
1255
+ name: 'canGovern',
1256
+ inputs: [
1257
+ {
1258
+ name: '_addr',
1259
+ type: 'address',
1260
+ },
1261
+ ],
1262
+ outputs: [
1263
+ {
1264
+ name: '',
1265
+ type: 'bool',
1266
+ },
1267
+ ],
1268
+ },
1269
+ {
1270
+ stateMutability: 'view',
1271
+ type: 'function',
1272
+ name: 'getGovernors',
1273
+ inputs: [],
1274
+ outputs: [
1275
+ {
1276
+ name: '',
1277
+ type: 'address[]',
1278
+ },
1279
+ ],
1280
+ },
1281
+ {
1282
+ stateMutability: 'view',
1283
+ type: 'function',
1284
+ name: 'hasPendingGovChange',
1285
+ inputs: [],
1286
+ outputs: [
1287
+ {
1288
+ name: '',
1289
+ type: 'bool',
1290
+ },
1291
+ ],
1292
+ },
1293
+ {
1294
+ stateMutability: 'nonpayable',
1295
+ type: 'function',
1296
+ name: 'startGovernanceChange',
1297
+ inputs: [
1298
+ {
1299
+ name: '_newGov',
1300
+ type: 'address',
1301
+ },
1302
+ ],
1303
+ outputs: [],
1304
+ },
1305
+ {
1306
+ stateMutability: 'nonpayable',
1307
+ type: 'function',
1308
+ name: 'confirmGovernanceChange',
1309
+ inputs: [],
1310
+ outputs: [],
1311
+ },
1312
+ {
1313
+ stateMutability: 'nonpayable',
1314
+ type: 'function',
1315
+ name: 'cancelGovernanceChange',
1316
+ inputs: [],
1317
+ outputs: [],
1318
+ },
1319
+ {
1320
+ stateMutability: 'nonpayable',
1321
+ type: 'function',
1322
+ name: 'relinquishGov',
1323
+ inputs: [],
1324
+ outputs: [],
1325
+ },
1326
+ {
1327
+ stateMutability: 'nonpayable',
1328
+ type: 'function',
1329
+ name: 'setGovTimeLock',
1330
+ inputs: [
1331
+ {
1332
+ name: '_numBlocks',
1333
+ type: 'uint256',
1334
+ },
1335
+ ],
1336
+ outputs: [
1337
+ {
1338
+ name: '',
1339
+ type: 'bool',
1340
+ },
1341
+ ],
1342
+ },
1343
+ {
1344
+ stateMutability: 'view',
1345
+ type: 'function',
1346
+ name: 'isValidGovTimeLock',
1347
+ inputs: [
1348
+ {
1349
+ name: '_newTimeLock',
1350
+ type: 'uint256',
1351
+ },
1352
+ ],
1353
+ outputs: [
1354
+ {
1355
+ name: '',
1356
+ type: 'bool',
1357
+ },
1358
+ ],
1359
+ },
1360
+ {
1361
+ stateMutability: 'view',
1362
+ type: 'function',
1363
+ name: 'minGovChangeTimeLock',
1364
+ inputs: [],
1365
+ outputs: [
1366
+ {
1367
+ name: '',
1368
+ type: 'uint256',
1369
+ },
1370
+ ],
1371
+ },
1372
+ {
1373
+ stateMutability: 'view',
1374
+ type: 'function',
1375
+ name: 'maxGovChangeTimeLock',
1376
+ inputs: [],
1377
+ outputs: [
1378
+ {
1379
+ name: '',
1380
+ type: 'uint256',
1381
+ },
1382
+ ],
1383
+ },
1384
+ {
1385
+ stateMutability: 'nonpayable',
1386
+ type: 'function',
1387
+ name: 'finishRipeHqSetup',
1388
+ inputs: [
1389
+ {
1390
+ name: '_newGov',
1391
+ type: 'address',
1392
+ },
1393
+ ],
1394
+ outputs: [
1395
+ {
1396
+ name: '',
1397
+ type: 'bool',
1398
+ },
1399
+ ],
1400
+ },
1401
+ {
1402
+ stateMutability: 'nonpayable',
1403
+ type: 'function',
1404
+ name: 'finishRipeHqSetup',
1405
+ inputs: [
1406
+ {
1407
+ name: '_newGov',
1408
+ type: 'address',
1409
+ },
1410
+ {
1411
+ name: '_timeLock',
1412
+ type: 'uint256',
1413
+ },
1414
+ ],
1415
+ outputs: [
1416
+ {
1417
+ name: '',
1418
+ type: 'bool',
1419
+ },
1420
+ ],
1421
+ },
1422
+ {
1423
+ stateMutability: 'view',
1424
+ type: 'function',
1425
+ name: 'governance',
1426
+ inputs: [],
1427
+ outputs: [
1428
+ {
1429
+ name: '',
1430
+ type: 'address',
1431
+ },
1432
+ ],
1433
+ },
1434
+ {
1435
+ stateMutability: 'view',
1436
+ type: 'function',
1437
+ name: 'pendingGov',
1438
+ inputs: [],
1439
+ outputs: [
1440
+ {
1441
+ name: '',
1442
+ type: 'tuple',
1443
+ components: [
1444
+ {
1445
+ name: 'newGov',
1446
+ type: 'address',
1447
+ },
1448
+ {
1449
+ name: 'initiatedBlock',
1450
+ type: 'uint256',
1451
+ },
1452
+ {
1453
+ name: 'confirmBlock',
1454
+ type: 'uint256',
1455
+ },
1456
+ ],
1457
+ },
1458
+ ],
1459
+ },
1460
+ {
1461
+ stateMutability: 'view',
1462
+ type: 'function',
1463
+ name: 'numGovChanges',
1464
+ inputs: [],
1465
+ outputs: [
1466
+ {
1467
+ name: '',
1468
+ type: 'uint256',
1469
+ },
1470
+ ],
1471
+ },
1472
+ {
1473
+ stateMutability: 'view',
1474
+ type: 'function',
1475
+ name: 'govChangeTimeLock',
1476
+ inputs: [],
1477
+ outputs: [
1478
+ {
1479
+ name: '',
1480
+ type: 'uint256',
1481
+ },
1482
+ ],
1483
+ },
1484
+ {
1485
+ stateMutability: 'view',
1486
+ type: 'function',
1487
+ name: 'canConfirmAction',
1488
+ inputs: [
1489
+ {
1490
+ name: '_actionId',
1491
+ type: 'uint256',
1492
+ },
1493
+ ],
1494
+ outputs: [
1495
+ {
1496
+ name: '',
1497
+ type: 'bool',
1498
+ },
1499
+ ],
1500
+ },
1501
+ {
1502
+ stateMutability: 'view',
1503
+ type: 'function',
1504
+ name: 'isExpired',
1505
+ inputs: [
1506
+ {
1507
+ name: '_actionId',
1508
+ type: 'uint256',
1509
+ },
1510
+ ],
1511
+ outputs: [
1512
+ {
1513
+ name: '',
1514
+ type: 'bool',
1515
+ },
1516
+ ],
1517
+ },
1518
+ {
1519
+ stateMutability: 'view',
1520
+ type: 'function',
1521
+ name: 'hasPendingAction',
1522
+ inputs: [
1523
+ {
1524
+ name: '_actionId',
1525
+ type: 'uint256',
1526
+ },
1527
+ ],
1528
+ outputs: [
1529
+ {
1530
+ name: '',
1531
+ type: 'bool',
1532
+ },
1533
+ ],
1534
+ },
1535
+ {
1536
+ stateMutability: 'view',
1537
+ type: 'function',
1538
+ name: 'getActionConfirmationBlock',
1539
+ inputs: [
1540
+ {
1541
+ name: '_actionId',
1542
+ type: 'uint256',
1543
+ },
1544
+ ],
1545
+ outputs: [
1546
+ {
1547
+ name: '',
1548
+ type: 'uint256',
1549
+ },
1550
+ ],
1551
+ },
1552
+ {
1553
+ stateMutability: 'nonpayable',
1554
+ type: 'function',
1555
+ name: 'setActionTimeLock',
1556
+ inputs: [
1557
+ {
1558
+ name: '_newTimeLock',
1559
+ type: 'uint256',
1560
+ },
1561
+ ],
1562
+ outputs: [
1563
+ {
1564
+ name: '',
1565
+ type: 'bool',
1566
+ },
1567
+ ],
1568
+ },
1569
+ {
1570
+ stateMutability: 'view',
1571
+ type: 'function',
1572
+ name: 'isValidActionTimeLock',
1573
+ inputs: [
1574
+ {
1575
+ name: '_newTimeLock',
1576
+ type: 'uint256',
1577
+ },
1578
+ ],
1579
+ outputs: [
1580
+ {
1581
+ name: '',
1582
+ type: 'bool',
1583
+ },
1584
+ ],
1585
+ },
1586
+ {
1587
+ stateMutability: 'view',
1588
+ type: 'function',
1589
+ name: 'minActionTimeLock',
1590
+ inputs: [],
1591
+ outputs: [
1592
+ {
1593
+ name: '',
1594
+ type: 'uint256',
1595
+ },
1596
+ ],
1597
+ },
1598
+ {
1599
+ stateMutability: 'view',
1600
+ type: 'function',
1601
+ name: 'maxActionTimeLock',
1602
+ inputs: [],
1603
+ outputs: [
1604
+ {
1605
+ name: '',
1606
+ type: 'uint256',
1607
+ },
1608
+ ],
1609
+ },
1610
+ {
1611
+ stateMutability: 'nonpayable',
1612
+ type: 'function',
1613
+ name: 'setExpiration',
1614
+ inputs: [
1615
+ {
1616
+ name: '_expiration',
1617
+ type: 'uint256',
1618
+ },
1619
+ ],
1620
+ outputs: [
1621
+ {
1622
+ name: '',
1623
+ type: 'bool',
1624
+ },
1625
+ ],
1626
+ },
1627
+ {
1628
+ stateMutability: 'nonpayable',
1629
+ type: 'function',
1630
+ name: 'setActionTimeLockAfterSetup',
1631
+ inputs: [],
1632
+ outputs: [
1633
+ {
1634
+ name: '',
1635
+ type: 'bool',
1636
+ },
1637
+ ],
1638
+ },
1639
+ {
1640
+ stateMutability: 'nonpayable',
1641
+ type: 'function',
1642
+ name: 'setActionTimeLockAfterSetup',
1643
+ inputs: [
1644
+ {
1645
+ name: '_newTimeLock',
1646
+ type: 'uint256',
1647
+ },
1648
+ ],
1649
+ outputs: [
1650
+ {
1651
+ name: '',
1652
+ type: 'bool',
1653
+ },
1654
+ ],
1655
+ },
1656
+ {
1657
+ stateMutability: 'view',
1658
+ type: 'function',
1659
+ name: 'pendingActions',
1660
+ inputs: [
1661
+ {
1662
+ name: 'arg0',
1663
+ type: 'uint256',
1664
+ },
1665
+ ],
1666
+ outputs: [
1667
+ {
1668
+ name: '',
1669
+ type: 'tuple',
1670
+ components: [
1671
+ {
1672
+ name: 'initiatedBlock',
1673
+ type: 'uint256',
1674
+ },
1675
+ {
1676
+ name: 'confirmBlock',
1677
+ type: 'uint256',
1678
+ },
1679
+ {
1680
+ name: 'expiration',
1681
+ type: 'uint256',
1682
+ },
1683
+ ],
1684
+ },
1685
+ ],
1686
+ },
1687
+ {
1688
+ stateMutability: 'view',
1689
+ type: 'function',
1690
+ name: 'actionId',
1691
+ inputs: [],
1692
+ outputs: [
1693
+ {
1694
+ name: '',
1695
+ type: 'uint256',
1696
+ },
1697
+ ],
1698
+ },
1699
+ {
1700
+ stateMutability: 'view',
1701
+ type: 'function',
1702
+ name: 'actionTimeLock',
1703
+ inputs: [],
1704
+ outputs: [
1705
+ {
1706
+ name: '',
1707
+ type: 'uint256',
1708
+ },
1709
+ ],
1710
+ },
1711
+ {
1712
+ stateMutability: 'view',
1713
+ type: 'function',
1714
+ name: 'expiration',
1715
+ inputs: [],
1716
+ outputs: [
1717
+ {
1718
+ name: '',
1719
+ type: 'uint256',
1720
+ },
1721
+ ],
1722
+ },
1723
+ {
1724
+ stateMutability: 'nonpayable',
1725
+ type: 'function',
1726
+ name: 'depositForYieldInEndaoment',
1727
+ inputs: [
1728
+ {
1729
+ name: '_legoId',
1730
+ type: 'uint256',
1731
+ },
1732
+ {
1733
+ name: '_asset',
1734
+ type: 'address',
1735
+ },
1736
+ ],
1737
+ outputs: [
1738
+ {
1739
+ name: '',
1740
+ type: 'uint256',
1741
+ },
1742
+ {
1743
+ name: '',
1744
+ type: 'address',
1745
+ },
1746
+ {
1747
+ name: '',
1748
+ type: 'uint256',
1749
+ },
1750
+ {
1751
+ name: '',
1752
+ type: 'uint256',
1753
+ },
1754
+ ],
1755
+ },
1756
+ {
1757
+ stateMutability: 'nonpayable',
1758
+ type: 'function',
1759
+ name: 'depositForYieldInEndaoment',
1760
+ inputs: [
1761
+ {
1762
+ name: '_legoId',
1763
+ type: 'uint256',
1764
+ },
1765
+ {
1766
+ name: '_asset',
1767
+ type: 'address',
1768
+ },
1769
+ {
1770
+ name: '_vaultAddr',
1771
+ type: 'address',
1772
+ },
1773
+ ],
1774
+ outputs: [
1775
+ {
1776
+ name: '',
1777
+ type: 'uint256',
1778
+ },
1779
+ {
1780
+ name: '',
1781
+ type: 'address',
1782
+ },
1783
+ {
1784
+ name: '',
1785
+ type: 'uint256',
1786
+ },
1787
+ {
1788
+ name: '',
1789
+ type: 'uint256',
1790
+ },
1791
+ ],
1792
+ },
1793
+ {
1794
+ stateMutability: 'nonpayable',
1795
+ type: 'function',
1796
+ name: 'depositForYieldInEndaoment',
1797
+ inputs: [
1798
+ {
1799
+ name: '_legoId',
1800
+ type: 'uint256',
1801
+ },
1802
+ {
1803
+ name: '_asset',
1804
+ type: 'address',
1805
+ },
1806
+ {
1807
+ name: '_vaultAddr',
1808
+ type: 'address',
1809
+ },
1810
+ {
1811
+ name: '_amount',
1812
+ type: 'uint256',
1813
+ },
1814
+ ],
1815
+ outputs: [
1816
+ {
1817
+ name: '',
1818
+ type: 'uint256',
1819
+ },
1820
+ {
1821
+ name: '',
1822
+ type: 'address',
1823
+ },
1824
+ {
1825
+ name: '',
1826
+ type: 'uint256',
1827
+ },
1828
+ {
1829
+ name: '',
1830
+ type: 'uint256',
1831
+ },
1832
+ ],
1833
+ },
1834
+ {
1835
+ stateMutability: 'nonpayable',
1836
+ type: 'function',
1837
+ name: 'depositForYieldInEndaoment',
1838
+ inputs: [
1839
+ {
1840
+ name: '_legoId',
1841
+ type: 'uint256',
1842
+ },
1843
+ {
1844
+ name: '_asset',
1845
+ type: 'address',
1846
+ },
1847
+ {
1848
+ name: '_vaultAddr',
1849
+ type: 'address',
1850
+ },
1851
+ {
1852
+ name: '_amount',
1853
+ type: 'uint256',
1854
+ },
1855
+ {
1856
+ name: '_extraData',
1857
+ type: 'bytes32',
1858
+ },
1859
+ ],
1860
+ outputs: [
1861
+ {
1862
+ name: '',
1863
+ type: 'uint256',
1864
+ },
1865
+ {
1866
+ name: '',
1867
+ type: 'address',
1868
+ },
1869
+ {
1870
+ name: '',
1871
+ type: 'uint256',
1872
+ },
1873
+ {
1874
+ name: '',
1875
+ type: 'uint256',
1876
+ },
1877
+ ],
1878
+ },
1879
+ {
1880
+ stateMutability: 'nonpayable',
1881
+ type: 'function',
1882
+ name: 'withdrawFromYieldInEndaoment',
1883
+ inputs: [
1884
+ {
1885
+ name: '_legoId',
1886
+ type: 'uint256',
1887
+ },
1888
+ {
1889
+ name: '_vaultToken',
1890
+ type: 'address',
1891
+ },
1892
+ ],
1893
+ outputs: [
1894
+ {
1895
+ name: '',
1896
+ type: 'uint256',
1897
+ },
1898
+ {
1899
+ name: '',
1900
+ type: 'address',
1901
+ },
1902
+ {
1903
+ name: '',
1904
+ type: 'uint256',
1905
+ },
1906
+ {
1907
+ name: '',
1908
+ type: 'uint256',
1909
+ },
1910
+ ],
1911
+ },
1912
+ {
1913
+ stateMutability: 'nonpayable',
1914
+ type: 'function',
1915
+ name: 'withdrawFromYieldInEndaoment',
1916
+ inputs: [
1917
+ {
1918
+ name: '_legoId',
1919
+ type: 'uint256',
1920
+ },
1921
+ {
1922
+ name: '_vaultToken',
1923
+ type: 'address',
1924
+ },
1925
+ {
1926
+ name: '_amount',
1927
+ type: 'uint256',
1928
+ },
1929
+ ],
1930
+ outputs: [
1931
+ {
1932
+ name: '',
1933
+ type: 'uint256',
1934
+ },
1935
+ {
1936
+ name: '',
1937
+ type: 'address',
1938
+ },
1939
+ {
1940
+ name: '',
1941
+ type: 'uint256',
1942
+ },
1943
+ {
1944
+ name: '',
1945
+ type: 'uint256',
1946
+ },
1947
+ ],
1948
+ },
1949
+ {
1950
+ stateMutability: 'nonpayable',
1951
+ type: 'function',
1952
+ name: 'withdrawFromYieldInEndaoment',
1953
+ inputs: [
1954
+ {
1955
+ name: '_legoId',
1956
+ type: 'uint256',
1957
+ },
1958
+ {
1959
+ name: '_vaultToken',
1960
+ type: 'address',
1961
+ },
1962
+ {
1963
+ name: '_amount',
1964
+ type: 'uint256',
1965
+ },
1966
+ {
1967
+ name: '_extraData',
1968
+ type: 'bytes32',
1969
+ },
1970
+ ],
1971
+ outputs: [
1972
+ {
1973
+ name: '',
1974
+ type: 'uint256',
1975
+ },
1976
+ {
1977
+ name: '',
1978
+ type: 'address',
1979
+ },
1980
+ {
1981
+ name: '',
1982
+ type: 'uint256',
1983
+ },
1984
+ {
1985
+ name: '',
1986
+ type: 'uint256',
1987
+ },
1988
+ ],
1989
+ },
1990
+ {
1991
+ stateMutability: 'nonpayable',
1992
+ type: 'function',
1993
+ name: 'convertEthToWethInEndaoment',
1994
+ inputs: [],
1995
+ outputs: [
1996
+ {
1997
+ name: '',
1998
+ type: 'uint256',
1999
+ },
2000
+ {
2001
+ name: '',
2002
+ type: 'uint256',
2003
+ },
2004
+ ],
2005
+ },
2006
+ {
2007
+ stateMutability: 'nonpayable',
2008
+ type: 'function',
2009
+ name: 'convertEthToWethInEndaoment',
2010
+ inputs: [
2011
+ {
2012
+ name: '_amount',
2013
+ type: 'uint256',
2014
+ },
2015
+ ],
2016
+ outputs: [
2017
+ {
2018
+ name: '',
2019
+ type: 'uint256',
2020
+ },
2021
+ {
2022
+ name: '',
2023
+ type: 'uint256',
2024
+ },
2025
+ ],
2026
+ },
2027
+ {
2028
+ stateMutability: 'nonpayable',
2029
+ type: 'function',
2030
+ name: 'convertWethToEthInEndaoment',
2031
+ inputs: [],
2032
+ outputs: [
2033
+ {
2034
+ name: '',
2035
+ type: 'uint256',
2036
+ },
2037
+ {
2038
+ name: '',
2039
+ type: 'uint256',
2040
+ },
2041
+ ],
2042
+ },
2043
+ {
2044
+ stateMutability: 'nonpayable',
2045
+ type: 'function',
2046
+ name: 'convertWethToEthInEndaoment',
2047
+ inputs: [
2048
+ {
2049
+ name: '_amount',
2050
+ type: 'uint256',
2051
+ },
2052
+ ],
2053
+ outputs: [
2054
+ {
2055
+ name: '',
2056
+ type: 'uint256',
2057
+ },
2058
+ {
2059
+ name: '',
2060
+ type: 'uint256',
2061
+ },
2062
+ ],
2063
+ },
2064
+ {
2065
+ stateMutability: 'nonpayable',
2066
+ type: 'function',
2067
+ name: 'claimIncentivesInEndaoment',
2068
+ inputs: [
2069
+ {
2070
+ name: '_user',
2071
+ type: 'address',
2072
+ },
2073
+ {
2074
+ name: '_legoId',
2075
+ type: 'uint256',
2076
+ },
2077
+ ],
2078
+ outputs: [
2079
+ {
2080
+ name: '',
2081
+ type: 'uint256',
2082
+ },
2083
+ {
2084
+ name: '',
2085
+ type: 'uint256',
2086
+ },
2087
+ ],
2088
+ },
2089
+ {
2090
+ stateMutability: 'nonpayable',
2091
+ type: 'function',
2092
+ name: 'claimIncentivesInEndaoment',
2093
+ inputs: [
2094
+ {
2095
+ name: '_user',
2096
+ type: 'address',
2097
+ },
2098
+ {
2099
+ name: '_legoId',
2100
+ type: 'uint256',
2101
+ },
2102
+ {
2103
+ name: '_rewardToken',
2104
+ type: 'address',
2105
+ },
2106
+ ],
2107
+ outputs: [
2108
+ {
2109
+ name: '',
2110
+ type: 'uint256',
2111
+ },
2112
+ {
2113
+ name: '',
2114
+ type: 'uint256',
2115
+ },
2116
+ ],
2117
+ },
2118
+ {
2119
+ stateMutability: 'nonpayable',
2120
+ type: 'function',
2121
+ name: 'claimIncentivesInEndaoment',
2122
+ inputs: [
2123
+ {
2124
+ name: '_user',
2125
+ type: 'address',
2126
+ },
2127
+ {
2128
+ name: '_legoId',
2129
+ type: 'uint256',
2130
+ },
2131
+ {
2132
+ name: '_rewardToken',
2133
+ type: 'address',
2134
+ },
2135
+ {
2136
+ name: '_rewardAmount',
2137
+ type: 'uint256',
2138
+ },
2139
+ ],
2140
+ outputs: [
2141
+ {
2142
+ name: '',
2143
+ type: 'uint256',
2144
+ },
2145
+ {
2146
+ name: '',
2147
+ type: 'uint256',
2148
+ },
2149
+ ],
2150
+ },
2151
+ {
2152
+ stateMutability: 'nonpayable',
2153
+ type: 'function',
2154
+ name: 'claimIncentivesInEndaoment',
2155
+ inputs: [
2156
+ {
2157
+ name: '_user',
2158
+ type: 'address',
2159
+ },
2160
+ {
2161
+ name: '_legoId',
2162
+ type: 'uint256',
2163
+ },
2164
+ {
2165
+ name: '_rewardToken',
2166
+ type: 'address',
2167
+ },
2168
+ {
2169
+ name: '_rewardAmount',
2170
+ type: 'uint256',
2171
+ },
2172
+ {
2173
+ name: '_proofs',
2174
+ type: 'bytes32[]',
2175
+ },
2176
+ ],
2177
+ outputs: [
2178
+ {
2179
+ name: '',
2180
+ type: 'uint256',
2181
+ },
2182
+ {
2183
+ name: '',
2184
+ type: 'uint256',
2185
+ },
2186
+ ],
2187
+ },
2188
+ {
2189
+ stateMutability: 'nonpayable',
2190
+ type: 'function',
2191
+ name: 'stabilizeGreenRefPoolInEndaoment',
2192
+ inputs: [],
2193
+ outputs: [
2194
+ {
2195
+ name: '',
2196
+ type: 'bool',
2197
+ },
2198
+ ],
2199
+ },
2200
+ {
2201
+ stateMutability: 'nonpayable',
2202
+ type: 'function',
2203
+ name: 'transferFundsToEndaomentPsmInEndaoment',
2204
+ inputs: [],
2205
+ outputs: [
2206
+ {
2207
+ name: '',
2208
+ type: 'uint256',
2209
+ },
2210
+ {
2211
+ name: '',
2212
+ type: 'uint256',
2213
+ },
2214
+ ],
2215
+ },
2216
+ {
2217
+ stateMutability: 'nonpayable',
2218
+ type: 'function',
2219
+ name: 'transferFundsToEndaomentPsmInEndaoment',
2220
+ inputs: [
2221
+ {
2222
+ name: '_amount',
2223
+ type: 'uint256',
2224
+ },
2225
+ ],
2226
+ outputs: [
2227
+ {
2228
+ name: '',
2229
+ type: 'uint256',
2230
+ },
2231
+ {
2232
+ name: '',
2233
+ type: 'uint256',
2234
+ },
2235
+ ],
2236
+ },
2237
+ {
2238
+ stateMutability: 'nonpayable',
2239
+ type: 'function',
2240
+ name: 'transferFundsToVaultInEndaoment',
2241
+ inputs: [
2242
+ {
2243
+ name: '_assets',
2244
+ type: 'address[]',
2245
+ },
2246
+ ],
2247
+ outputs: [],
2248
+ },
2249
+ {
2250
+ stateMutability: 'nonpayable',
2251
+ type: 'function',
2252
+ name: 'depositToYieldInPsm',
2253
+ inputs: [],
2254
+ outputs: [
2255
+ {
2256
+ name: '',
2257
+ type: 'uint256',
2258
+ },
2259
+ ],
2260
+ },
2261
+ {
2262
+ stateMutability: 'nonpayable',
2263
+ type: 'function',
2264
+ name: 'withdrawFromYieldInPsm',
2265
+ inputs: [],
2266
+ outputs: [
2267
+ {
2268
+ name: '',
2269
+ type: 'uint256',
2270
+ },
2271
+ {
2272
+ name: '',
2273
+ type: 'uint256',
2274
+ },
2275
+ ],
2276
+ },
2277
+ {
2278
+ stateMutability: 'nonpayable',
2279
+ type: 'function',
2280
+ name: 'withdrawFromYieldInPsm',
2281
+ inputs: [
2282
+ {
2283
+ name: '_amount',
2284
+ type: 'uint256',
2285
+ },
2286
+ ],
2287
+ outputs: [
2288
+ {
2289
+ name: '',
2290
+ type: 'uint256',
2291
+ },
2292
+ {
2293
+ name: '',
2294
+ type: 'uint256',
2295
+ },
2296
+ ],
2297
+ },
2298
+ {
2299
+ stateMutability: 'nonpayable',
2300
+ type: 'function',
2301
+ name: 'withdrawFromYieldInPsm',
2302
+ inputs: [
2303
+ {
2304
+ name: '_amount',
2305
+ type: 'uint256',
2306
+ },
2307
+ {
2308
+ name: '_shouldTransferToEndaoFunds',
2309
+ type: 'bool',
2310
+ },
2311
+ ],
2312
+ outputs: [
2313
+ {
2314
+ name: '',
2315
+ type: 'uint256',
2316
+ },
2317
+ {
2318
+ name: '',
2319
+ type: 'uint256',
2320
+ },
2321
+ ],
2322
+ },
2323
+ {
2324
+ stateMutability: 'nonpayable',
2325
+ type: 'function',
2326
+ name: 'withdrawFromYieldInPsm',
2327
+ inputs: [
2328
+ {
2329
+ name: '_amount',
2330
+ type: 'uint256',
2331
+ },
2332
+ {
2333
+ name: '_shouldTransferToEndaoFunds',
2334
+ type: 'bool',
2335
+ },
2336
+ {
2337
+ name: '_shouldFullSweep',
2338
+ type: 'bool',
2339
+ },
2340
+ ],
2341
+ outputs: [
2342
+ {
2343
+ name: '',
2344
+ type: 'uint256',
2345
+ },
2346
+ {
2347
+ name: '',
2348
+ type: 'uint256',
2349
+ },
2350
+ ],
2351
+ },
2352
+ {
2353
+ stateMutability: 'nonpayable',
2354
+ type: 'function',
2355
+ name: 'transferUsdcToEndaomentFundsInPsm',
2356
+ inputs: [
2357
+ {
2358
+ name: '_amount',
2359
+ type: 'uint256',
2360
+ },
2361
+ ],
2362
+ outputs: [
2363
+ {
2364
+ name: '',
2365
+ type: 'uint256',
2366
+ },
2367
+ ],
2368
+ },
2369
+ {
2370
+ stateMutability: 'nonpayable',
2371
+ type: 'function',
2372
+ name: 'performEndaomentTransfer',
2373
+ inputs: [
2374
+ {
2375
+ name: '_asset',
2376
+ type: 'address',
2377
+ },
2378
+ {
2379
+ name: '_amount',
2380
+ type: 'uint256',
2381
+ },
2382
+ ],
2383
+ outputs: [
2384
+ {
2385
+ name: '',
2386
+ type: 'uint256',
2387
+ },
2388
+ ],
2389
+ },
2390
+ {
2391
+ stateMutability: 'nonpayable',
2392
+ type: 'function',
2393
+ name: 'performEndaomentSwap',
2394
+ inputs: [
2395
+ {
2396
+ name: '_instructions',
2397
+ type: 'tuple[]',
2398
+ components: [
2399
+ {
2400
+ name: 'legoId',
2401
+ type: 'uint256',
2402
+ },
2403
+ {
2404
+ name: 'amountIn',
2405
+ type: 'uint256',
2406
+ },
2407
+ {
2408
+ name: 'minAmountOut',
2409
+ type: 'uint256',
2410
+ },
2411
+ {
2412
+ name: 'tokenPath',
2413
+ type: 'address[]',
2414
+ },
2415
+ {
2416
+ name: 'poolPath',
2417
+ type: 'address[]',
2418
+ },
2419
+ ],
2420
+ },
2421
+ ],
2422
+ outputs: [
2423
+ {
2424
+ name: '',
2425
+ type: 'uint256',
2426
+ },
2427
+ ],
2428
+ },
2429
+ {
2430
+ stateMutability: 'nonpayable',
2431
+ type: 'function',
2432
+ name: 'addLiquidityInEndaoment',
2433
+ inputs: [
2434
+ {
2435
+ name: '_legoId',
2436
+ type: 'uint256',
2437
+ },
2438
+ {
2439
+ name: '_pool',
2440
+ type: 'address',
2441
+ },
2442
+ {
2443
+ name: '_tokenA',
2444
+ type: 'address',
2445
+ },
2446
+ {
2447
+ name: '_tokenB',
2448
+ type: 'address',
2449
+ },
2450
+ ],
2451
+ outputs: [
2452
+ {
2453
+ name: '',
2454
+ type: 'uint256',
2455
+ },
2456
+ ],
2457
+ },
2458
+ {
2459
+ stateMutability: 'nonpayable',
2460
+ type: 'function',
2461
+ name: 'addLiquidityInEndaoment',
2462
+ inputs: [
2463
+ {
2464
+ name: '_legoId',
2465
+ type: 'uint256',
2466
+ },
2467
+ {
2468
+ name: '_pool',
2469
+ type: 'address',
2470
+ },
2471
+ {
2472
+ name: '_tokenA',
2473
+ type: 'address',
2474
+ },
2475
+ {
2476
+ name: '_tokenB',
2477
+ type: 'address',
2478
+ },
2479
+ {
2480
+ name: '_amountA',
2481
+ type: 'uint256',
2482
+ },
2483
+ ],
2484
+ outputs: [
2485
+ {
2486
+ name: '',
2487
+ type: 'uint256',
2488
+ },
2489
+ ],
2490
+ },
2491
+ {
2492
+ stateMutability: 'nonpayable',
2493
+ type: 'function',
2494
+ name: 'addLiquidityInEndaoment',
2495
+ inputs: [
2496
+ {
2497
+ name: '_legoId',
2498
+ type: 'uint256',
2499
+ },
2500
+ {
2501
+ name: '_pool',
2502
+ type: 'address',
2503
+ },
2504
+ {
2505
+ name: '_tokenA',
2506
+ type: 'address',
2507
+ },
2508
+ {
2509
+ name: '_tokenB',
2510
+ type: 'address',
2511
+ },
2512
+ {
2513
+ name: '_amountA',
2514
+ type: 'uint256',
2515
+ },
2516
+ {
2517
+ name: '_amountB',
2518
+ type: 'uint256',
2519
+ },
2520
+ ],
2521
+ outputs: [
2522
+ {
2523
+ name: '',
2524
+ type: 'uint256',
2525
+ },
2526
+ ],
2527
+ },
2528
+ {
2529
+ stateMutability: 'nonpayable',
2530
+ type: 'function',
2531
+ name: 'addLiquidityInEndaoment',
2532
+ inputs: [
2533
+ {
2534
+ name: '_legoId',
2535
+ type: 'uint256',
2536
+ },
2537
+ {
2538
+ name: '_pool',
2539
+ type: 'address',
2540
+ },
2541
+ {
2542
+ name: '_tokenA',
2543
+ type: 'address',
2544
+ },
2545
+ {
2546
+ name: '_tokenB',
2547
+ type: 'address',
2548
+ },
2549
+ {
2550
+ name: '_amountA',
2551
+ type: 'uint256',
2552
+ },
2553
+ {
2554
+ name: '_amountB',
2555
+ type: 'uint256',
2556
+ },
2557
+ {
2558
+ name: '_minAmountA',
2559
+ type: 'uint256',
2560
+ },
2561
+ ],
2562
+ outputs: [
2563
+ {
2564
+ name: '',
2565
+ type: 'uint256',
2566
+ },
2567
+ ],
2568
+ },
2569
+ {
2570
+ stateMutability: 'nonpayable',
2571
+ type: 'function',
2572
+ name: 'addLiquidityInEndaoment',
2573
+ inputs: [
2574
+ {
2575
+ name: '_legoId',
2576
+ type: 'uint256',
2577
+ },
2578
+ {
2579
+ name: '_pool',
2580
+ type: 'address',
2581
+ },
2582
+ {
2583
+ name: '_tokenA',
2584
+ type: 'address',
2585
+ },
2586
+ {
2587
+ name: '_tokenB',
2588
+ type: 'address',
2589
+ },
2590
+ {
2591
+ name: '_amountA',
2592
+ type: 'uint256',
2593
+ },
2594
+ {
2595
+ name: '_amountB',
2596
+ type: 'uint256',
2597
+ },
2598
+ {
2599
+ name: '_minAmountA',
2600
+ type: 'uint256',
2601
+ },
2602
+ {
2603
+ name: '_minAmountB',
2604
+ type: 'uint256',
2605
+ },
2606
+ ],
2607
+ outputs: [
2608
+ {
2609
+ name: '',
2610
+ type: 'uint256',
2611
+ },
2612
+ ],
2613
+ },
2614
+ {
2615
+ stateMutability: 'nonpayable',
2616
+ type: 'function',
2617
+ name: 'addLiquidityInEndaoment',
2618
+ inputs: [
2619
+ {
2620
+ name: '_legoId',
2621
+ type: 'uint256',
2622
+ },
2623
+ {
2624
+ name: '_pool',
2625
+ type: 'address',
2626
+ },
2627
+ {
2628
+ name: '_tokenA',
2629
+ type: 'address',
2630
+ },
2631
+ {
2632
+ name: '_tokenB',
2633
+ type: 'address',
2634
+ },
2635
+ {
2636
+ name: '_amountA',
2637
+ type: 'uint256',
2638
+ },
2639
+ {
2640
+ name: '_amountB',
2641
+ type: 'uint256',
2642
+ },
2643
+ {
2644
+ name: '_minAmountA',
2645
+ type: 'uint256',
2646
+ },
2647
+ {
2648
+ name: '_minAmountB',
2649
+ type: 'uint256',
2650
+ },
2651
+ {
2652
+ name: '_minLpAmount',
2653
+ type: 'uint256',
2654
+ },
2655
+ ],
2656
+ outputs: [
2657
+ {
2658
+ name: '',
2659
+ type: 'uint256',
2660
+ },
2661
+ ],
2662
+ },
2663
+ {
2664
+ stateMutability: 'nonpayable',
2665
+ type: 'function',
2666
+ name: 'addLiquidityInEndaoment',
2667
+ inputs: [
2668
+ {
2669
+ name: '_legoId',
2670
+ type: 'uint256',
2671
+ },
2672
+ {
2673
+ name: '_pool',
2674
+ type: 'address',
2675
+ },
2676
+ {
2677
+ name: '_tokenA',
2678
+ type: 'address',
2679
+ },
2680
+ {
2681
+ name: '_tokenB',
2682
+ type: 'address',
2683
+ },
2684
+ {
2685
+ name: '_amountA',
2686
+ type: 'uint256',
2687
+ },
2688
+ {
2689
+ name: '_amountB',
2690
+ type: 'uint256',
2691
+ },
2692
+ {
2693
+ name: '_minAmountA',
2694
+ type: 'uint256',
2695
+ },
2696
+ {
2697
+ name: '_minAmountB',
2698
+ type: 'uint256',
2699
+ },
2700
+ {
2701
+ name: '_minLpAmount',
2702
+ type: 'uint256',
2703
+ },
2704
+ {
2705
+ name: '_extraData',
2706
+ type: 'bytes32',
2707
+ },
2708
+ ],
2709
+ outputs: [
2710
+ {
2711
+ name: '',
2712
+ type: 'uint256',
2713
+ },
2714
+ ],
2715
+ },
2716
+ {
2717
+ stateMutability: 'nonpayable',
2718
+ type: 'function',
2719
+ name: 'removeLiquidityInEndaoment',
2720
+ inputs: [
2721
+ {
2722
+ name: '_legoId',
2723
+ type: 'uint256',
2724
+ },
2725
+ {
2726
+ name: '_pool',
2727
+ type: 'address',
2728
+ },
2729
+ {
2730
+ name: '_tokenA',
2731
+ type: 'address',
2732
+ },
2733
+ {
2734
+ name: '_tokenB',
2735
+ type: 'address',
2736
+ },
2737
+ {
2738
+ name: '_lpToken',
2739
+ type: 'address',
2740
+ },
2741
+ ],
2742
+ outputs: [
2743
+ {
2744
+ name: '',
2745
+ type: 'uint256',
2746
+ },
2747
+ ],
2748
+ },
2749
+ {
2750
+ stateMutability: 'nonpayable',
2751
+ type: 'function',
2752
+ name: 'removeLiquidityInEndaoment',
2753
+ inputs: [
2754
+ {
2755
+ name: '_legoId',
2756
+ type: 'uint256',
2757
+ },
2758
+ {
2759
+ name: '_pool',
2760
+ type: 'address',
2761
+ },
2762
+ {
2763
+ name: '_tokenA',
2764
+ type: 'address',
2765
+ },
2766
+ {
2767
+ name: '_tokenB',
2768
+ type: 'address',
2769
+ },
2770
+ {
2771
+ name: '_lpToken',
2772
+ type: 'address',
2773
+ },
2774
+ {
2775
+ name: '_lpAmount',
2776
+ type: 'uint256',
2777
+ },
2778
+ ],
2779
+ outputs: [
2780
+ {
2781
+ name: '',
2782
+ type: 'uint256',
2783
+ },
2784
+ ],
2785
+ },
2786
+ {
2787
+ stateMutability: 'nonpayable',
2788
+ type: 'function',
2789
+ name: 'removeLiquidityInEndaoment',
2790
+ inputs: [
2791
+ {
2792
+ name: '_legoId',
2793
+ type: 'uint256',
2794
+ },
2795
+ {
2796
+ name: '_pool',
2797
+ type: 'address',
2798
+ },
2799
+ {
2800
+ name: '_tokenA',
2801
+ type: 'address',
2802
+ },
2803
+ {
2804
+ name: '_tokenB',
2805
+ type: 'address',
2806
+ },
2807
+ {
2808
+ name: '_lpToken',
2809
+ type: 'address',
2810
+ },
2811
+ {
2812
+ name: '_lpAmount',
2813
+ type: 'uint256',
2814
+ },
2815
+ {
2816
+ name: '_minAmountA',
2817
+ type: 'uint256',
2818
+ },
2819
+ ],
2820
+ outputs: [
2821
+ {
2822
+ name: '',
2823
+ type: 'uint256',
2824
+ },
2825
+ ],
2826
+ },
2827
+ {
2828
+ stateMutability: 'nonpayable',
2829
+ type: 'function',
2830
+ name: 'removeLiquidityInEndaoment',
2831
+ inputs: [
2832
+ {
2833
+ name: '_legoId',
2834
+ type: 'uint256',
2835
+ },
2836
+ {
2837
+ name: '_pool',
2838
+ type: 'address',
2839
+ },
2840
+ {
2841
+ name: '_tokenA',
2842
+ type: 'address',
2843
+ },
2844
+ {
2845
+ name: '_tokenB',
2846
+ type: 'address',
2847
+ },
2848
+ {
2849
+ name: '_lpToken',
2850
+ type: 'address',
2851
+ },
2852
+ {
2853
+ name: '_lpAmount',
2854
+ type: 'uint256',
2855
+ },
2856
+ {
2857
+ name: '_minAmountA',
2858
+ type: 'uint256',
2859
+ },
2860
+ {
2861
+ name: '_minAmountB',
2862
+ type: 'uint256',
2863
+ },
2864
+ ],
2865
+ outputs: [
2866
+ {
2867
+ name: '',
2868
+ type: 'uint256',
2869
+ },
2870
+ ],
2871
+ },
2872
+ {
2873
+ stateMutability: 'nonpayable',
2874
+ type: 'function',
2875
+ name: 'removeLiquidityInEndaoment',
2876
+ inputs: [
2877
+ {
2878
+ name: '_legoId',
2879
+ type: 'uint256',
2880
+ },
2881
+ {
2882
+ name: '_pool',
2883
+ type: 'address',
2884
+ },
2885
+ {
2886
+ name: '_tokenA',
2887
+ type: 'address',
2888
+ },
2889
+ {
2890
+ name: '_tokenB',
2891
+ type: 'address',
2892
+ },
2893
+ {
2894
+ name: '_lpToken',
2895
+ type: 'address',
2896
+ },
2897
+ {
2898
+ name: '_lpAmount',
2899
+ type: 'uint256',
2900
+ },
2901
+ {
2902
+ name: '_minAmountA',
2903
+ type: 'uint256',
2904
+ },
2905
+ {
2906
+ name: '_minAmountB',
2907
+ type: 'uint256',
2908
+ },
2909
+ {
2910
+ name: '_extraData',
2911
+ type: 'bytes32',
2912
+ },
2913
+ ],
2914
+ outputs: [
2915
+ {
2916
+ name: '',
2917
+ type: 'uint256',
2918
+ },
2919
+ ],
2920
+ },
2921
+ {
2922
+ stateMutability: 'nonpayable',
2923
+ type: 'function',
2924
+ name: 'mintPartnerLiquidityInEndaoment',
2925
+ inputs: [
2926
+ {
2927
+ name: '_partner',
2928
+ type: 'address',
2929
+ },
2930
+ {
2931
+ name: '_asset',
2932
+ type: 'address',
2933
+ },
2934
+ ],
2935
+ outputs: [
2936
+ {
2937
+ name: '',
2938
+ type: 'uint256',
2939
+ },
2940
+ ],
2941
+ },
2942
+ {
2943
+ stateMutability: 'nonpayable',
2944
+ type: 'function',
2945
+ name: 'mintPartnerLiquidityInEndaoment',
2946
+ inputs: [
2947
+ {
2948
+ name: '_partner',
2949
+ type: 'address',
2950
+ },
2951
+ {
2952
+ name: '_asset',
2953
+ type: 'address',
2954
+ },
2955
+ {
2956
+ name: '_amount',
2957
+ type: 'uint256',
2958
+ },
2959
+ ],
2960
+ outputs: [
2961
+ {
2962
+ name: '',
2963
+ type: 'uint256',
2964
+ },
2965
+ ],
2966
+ },
2967
+ {
2968
+ stateMutability: 'nonpayable',
2969
+ type: 'function',
2970
+ name: 'addPartnerLiquidityInEndaoment',
2971
+ inputs: [
2972
+ {
2973
+ name: '_legoId',
2974
+ type: 'uint256',
2975
+ },
2976
+ {
2977
+ name: '_pool',
2978
+ type: 'address',
2979
+ },
2980
+ {
2981
+ name: '_partner',
2982
+ type: 'address',
2983
+ },
2984
+ {
2985
+ name: '_asset',
2986
+ type: 'address',
2987
+ },
2988
+ {
2989
+ name: '_amount',
2990
+ type: 'uint256',
2991
+ },
2992
+ {
2993
+ name: '_minLpAmount',
2994
+ type: 'uint256',
2995
+ },
2996
+ ],
2997
+ outputs: [
2998
+ {
2999
+ name: '',
3000
+ type: 'uint256',
3001
+ },
3002
+ ],
3003
+ },
3004
+ {
3005
+ stateMutability: 'nonpayable',
3006
+ type: 'function',
3007
+ name: 'repayPoolDebtInEndaoment',
3008
+ inputs: [
3009
+ {
3010
+ name: '_pool',
3011
+ type: 'address',
3012
+ },
3013
+ ],
3014
+ outputs: [
3015
+ {
3016
+ name: '',
3017
+ type: 'uint256',
3018
+ },
3019
+ ],
3020
+ },
3021
+ {
3022
+ stateMutability: 'nonpayable',
3023
+ type: 'function',
3024
+ name: 'repayPoolDebtInEndaoment',
3025
+ inputs: [
3026
+ {
3027
+ name: '_pool',
3028
+ type: 'address',
3029
+ },
3030
+ {
3031
+ name: '_amount',
3032
+ type: 'uint256',
3033
+ },
3034
+ ],
3035
+ outputs: [
3036
+ {
3037
+ name: '',
3038
+ type: 'uint256',
3039
+ },
3040
+ ],
3041
+ },
3042
+ {
3043
+ stateMutability: 'nonpayable',
3044
+ type: 'function',
3045
+ name: 'setPsmCanMint',
3046
+ inputs: [
3047
+ {
3048
+ name: '_canMint',
3049
+ type: 'bool',
3050
+ },
3051
+ ],
3052
+ outputs: [
3053
+ {
3054
+ name: '',
3055
+ type: 'uint256',
3056
+ },
3057
+ ],
3058
+ },
3059
+ {
3060
+ stateMutability: 'nonpayable',
3061
+ type: 'function',
3062
+ name: 'setPsmMintFee',
3063
+ inputs: [
3064
+ {
3065
+ name: '_fee',
3066
+ type: 'uint256',
3067
+ },
3068
+ ],
3069
+ outputs: [
3070
+ {
3071
+ name: '',
3072
+ type: 'uint256',
3073
+ },
3074
+ ],
3075
+ },
3076
+ {
3077
+ stateMutability: 'nonpayable',
3078
+ type: 'function',
3079
+ name: 'setPsmMaxIntervalMint',
3080
+ inputs: [
3081
+ {
3082
+ name: '_maxGreenAmount',
3083
+ type: 'uint256',
3084
+ },
3085
+ ],
3086
+ outputs: [
3087
+ {
3088
+ name: '',
3089
+ type: 'uint256',
3090
+ },
3091
+ ],
3092
+ },
3093
+ {
3094
+ stateMutability: 'nonpayable',
3095
+ type: 'function',
3096
+ name: 'setPsmShouldEnforceMintAllowlist',
3097
+ inputs: [
3098
+ {
3099
+ name: '_shouldEnforce',
3100
+ type: 'bool',
3101
+ },
3102
+ ],
3103
+ outputs: [
3104
+ {
3105
+ name: '',
3106
+ type: 'uint256',
3107
+ },
3108
+ ],
3109
+ },
3110
+ {
3111
+ stateMutability: 'nonpayable',
3112
+ type: 'function',
3113
+ name: 'updatePsmMintAllowlist',
3114
+ inputs: [
3115
+ {
3116
+ name: '_user',
3117
+ type: 'address',
3118
+ },
3119
+ {
3120
+ name: '_isAllowed',
3121
+ type: 'bool',
3122
+ },
3123
+ ],
3124
+ outputs: [
3125
+ {
3126
+ name: '',
3127
+ type: 'uint256',
3128
+ },
3129
+ ],
3130
+ },
3131
+ {
3132
+ stateMutability: 'nonpayable',
3133
+ type: 'function',
3134
+ name: 'setPsmCanRedeem',
3135
+ inputs: [
3136
+ {
3137
+ name: '_canRedeem',
3138
+ type: 'bool',
3139
+ },
3140
+ ],
3141
+ outputs: [
3142
+ {
3143
+ name: '',
3144
+ type: 'uint256',
3145
+ },
3146
+ ],
3147
+ },
3148
+ {
3149
+ stateMutability: 'nonpayable',
3150
+ type: 'function',
3151
+ name: 'setPsmRedeemFee',
3152
+ inputs: [
3153
+ {
3154
+ name: '_fee',
3155
+ type: 'uint256',
3156
+ },
3157
+ ],
3158
+ outputs: [
3159
+ {
3160
+ name: '',
3161
+ type: 'uint256',
3162
+ },
3163
+ ],
3164
+ },
3165
+ {
3166
+ stateMutability: 'nonpayable',
3167
+ type: 'function',
3168
+ name: 'setPsmMaxIntervalRedeem',
3169
+ inputs: [
3170
+ {
3171
+ name: '_maxGreenAmount',
3172
+ type: 'uint256',
3173
+ },
3174
+ ],
3175
+ outputs: [
3176
+ {
3177
+ name: '',
3178
+ type: 'uint256',
3179
+ },
3180
+ ],
3181
+ },
3182
+ {
3183
+ stateMutability: 'nonpayable',
3184
+ type: 'function',
3185
+ name: 'setPsmShouldEnforceRedeemAllowlist',
3186
+ inputs: [
3187
+ {
3188
+ name: '_shouldEnforce',
3189
+ type: 'bool',
3190
+ },
3191
+ ],
3192
+ outputs: [
3193
+ {
3194
+ name: '',
3195
+ type: 'uint256',
3196
+ },
3197
+ ],
3198
+ },
3199
+ {
3200
+ stateMutability: 'nonpayable',
3201
+ type: 'function',
3202
+ name: 'updatePsmRedeemAllowlist',
3203
+ inputs: [
3204
+ {
3205
+ name: '_user',
3206
+ type: 'address',
3207
+ },
3208
+ {
3209
+ name: '_isAllowed',
3210
+ type: 'bool',
3211
+ },
3212
+ ],
3213
+ outputs: [
3214
+ {
3215
+ name: '',
3216
+ type: 'uint256',
3217
+ },
3218
+ ],
3219
+ },
3220
+ {
3221
+ stateMutability: 'nonpayable',
3222
+ type: 'function',
3223
+ name: 'setPsmUsdcYieldPosition',
3224
+ inputs: [
3225
+ {
3226
+ name: '_legoId',
3227
+ type: 'uint256',
3228
+ },
3229
+ {
3230
+ name: '_vaultToken',
3231
+ type: 'address',
3232
+ },
3233
+ ],
3234
+ outputs: [
3235
+ {
3236
+ name: '',
3237
+ type: 'uint256',
3238
+ },
3239
+ ],
3240
+ },
3241
+ {
3242
+ stateMutability: 'nonpayable',
3243
+ type: 'function',
3244
+ name: 'setPsmNumBlocksPerInterval',
3245
+ inputs: [
3246
+ {
3247
+ name: '_blocks',
3248
+ type: 'uint256',
3249
+ },
3250
+ ],
3251
+ outputs: [
3252
+ {
3253
+ name: '',
3254
+ type: 'uint256',
3255
+ },
3256
+ ],
3257
+ },
3258
+ {
3259
+ stateMutability: 'nonpayable',
3260
+ type: 'function',
3261
+ name: 'setPsmShouldAutoDeposit',
3262
+ inputs: [
3263
+ {
3264
+ name: '_shouldAutoDeposit',
3265
+ type: 'bool',
3266
+ },
3267
+ ],
3268
+ outputs: [
3269
+ {
3270
+ name: '',
3271
+ type: 'uint256',
3272
+ },
3273
+ ],
3274
+ },
3275
+ {
3276
+ stateMutability: 'nonpayable',
3277
+ type: 'function',
3278
+ name: 'executePendingAction',
3279
+ inputs: [
3280
+ {
3281
+ name: '_aid',
3282
+ type: 'uint256',
3283
+ },
3284
+ ],
3285
+ outputs: [
3286
+ {
3287
+ name: '',
3288
+ type: 'bool',
3289
+ },
3290
+ ],
3291
+ },
3292
+ {
3293
+ stateMutability: 'nonpayable',
3294
+ type: 'function',
3295
+ name: 'cancelPendingAction',
3296
+ inputs: [
3297
+ {
3298
+ name: '_aid',
3299
+ type: 'uint256',
3300
+ },
3301
+ ],
3302
+ outputs: [
3303
+ {
3304
+ name: '',
3305
+ type: 'bool',
3306
+ },
3307
+ ],
3308
+ },
3309
+ {
3310
+ stateMutability: 'view',
3311
+ type: 'function',
3312
+ name: 'actionType',
3313
+ inputs: [
3314
+ {
3315
+ name: 'arg0',
3316
+ type: 'uint256',
3317
+ },
3318
+ ],
3319
+ outputs: [
3320
+ {
3321
+ name: '',
3322
+ type: 'uint256',
3323
+ },
3324
+ ],
3325
+ },
3326
+ {
3327
+ stateMutability: 'view',
3328
+ type: 'function',
3329
+ name: 'pendingEndaoSwapActions',
3330
+ inputs: [
3331
+ {
3332
+ name: 'arg0',
3333
+ type: 'uint256',
3334
+ },
3335
+ {
3336
+ name: 'arg1',
3337
+ type: 'uint256',
3338
+ },
3339
+ ],
3340
+ outputs: [
3341
+ {
3342
+ name: '',
3343
+ type: 'tuple',
3344
+ components: [
3345
+ {
3346
+ name: 'legoId',
3347
+ type: 'uint256',
3348
+ },
3349
+ {
3350
+ name: 'amountIn',
3351
+ type: 'uint256',
3352
+ },
3353
+ {
3354
+ name: 'minAmountOut',
3355
+ type: 'uint256',
3356
+ },
3357
+ {
3358
+ name: 'tokenPath',
3359
+ type: 'address[]',
3360
+ },
3361
+ {
3362
+ name: 'poolPath',
3363
+ type: 'address[]',
3364
+ },
3365
+ ],
3366
+ },
3367
+ ],
3368
+ },
3369
+ {
3370
+ stateMutability: 'view',
3371
+ type: 'function',
3372
+ name: 'pendingEndaoAddLiquidityActions',
3373
+ inputs: [
3374
+ {
3375
+ name: 'arg0',
3376
+ type: 'uint256',
3377
+ },
3378
+ ],
3379
+ outputs: [
3380
+ {
3381
+ name: '',
3382
+ type: 'tuple',
3383
+ components: [
3384
+ {
3385
+ name: 'legoId',
3386
+ type: 'uint256',
3387
+ },
3388
+ {
3389
+ name: 'pool',
3390
+ type: 'address',
3391
+ },
3392
+ {
3393
+ name: 'tokenA',
3394
+ type: 'address',
3395
+ },
3396
+ {
3397
+ name: 'tokenB',
3398
+ type: 'address',
3399
+ },
3400
+ {
3401
+ name: 'amountA',
3402
+ type: 'uint256',
3403
+ },
3404
+ {
3405
+ name: 'amountB',
3406
+ type: 'uint256',
3407
+ },
3408
+ {
3409
+ name: 'minAmountA',
3410
+ type: 'uint256',
3411
+ },
3412
+ {
3413
+ name: 'minAmountB',
3414
+ type: 'uint256',
3415
+ },
3416
+ {
3417
+ name: 'minLpAmount',
3418
+ type: 'uint256',
3419
+ },
3420
+ {
3421
+ name: 'extraData',
3422
+ type: 'bytes32',
3423
+ },
3424
+ {
3425
+ name: 'lpToken',
3426
+ type: 'address',
3427
+ },
3428
+ {
3429
+ name: 'lpAmount',
3430
+ type: 'uint256',
3431
+ },
3432
+ ],
3433
+ },
3434
+ ],
3435
+ },
3436
+ {
3437
+ stateMutability: 'view',
3438
+ type: 'function',
3439
+ name: 'pendingEndaoRemoveLiquidityActions',
3440
+ inputs: [
3441
+ {
3442
+ name: 'arg0',
3443
+ type: 'uint256',
3444
+ },
3445
+ ],
3446
+ outputs: [
3447
+ {
3448
+ name: '',
3449
+ type: 'tuple',
3450
+ components: [
3451
+ {
3452
+ name: 'legoId',
3453
+ type: 'uint256',
3454
+ },
3455
+ {
3456
+ name: 'pool',
3457
+ type: 'address',
3458
+ },
3459
+ {
3460
+ name: 'tokenA',
3461
+ type: 'address',
3462
+ },
3463
+ {
3464
+ name: 'tokenB',
3465
+ type: 'address',
3466
+ },
3467
+ {
3468
+ name: 'amountA',
3469
+ type: 'uint256',
3470
+ },
3471
+ {
3472
+ name: 'amountB',
3473
+ type: 'uint256',
3474
+ },
3475
+ {
3476
+ name: 'minAmountA',
3477
+ type: 'uint256',
3478
+ },
3479
+ {
3480
+ name: 'minAmountB',
3481
+ type: 'uint256',
3482
+ },
3483
+ {
3484
+ name: 'minLpAmount',
3485
+ type: 'uint256',
3486
+ },
3487
+ {
3488
+ name: 'extraData',
3489
+ type: 'bytes32',
3490
+ },
3491
+ {
3492
+ name: 'lpToken',
3493
+ type: 'address',
3494
+ },
3495
+ {
3496
+ name: 'lpAmount',
3497
+ type: 'uint256',
3498
+ },
3499
+ ],
3500
+ },
3501
+ ],
3502
+ },
3503
+ {
3504
+ stateMutability: 'view',
3505
+ type: 'function',
3506
+ name: 'pendingEndaoPartnerMintActions',
3507
+ inputs: [
3508
+ {
3509
+ name: 'arg0',
3510
+ type: 'uint256',
3511
+ },
3512
+ ],
3513
+ outputs: [
3514
+ {
3515
+ name: '',
3516
+ type: 'tuple',
3517
+ components: [
3518
+ {
3519
+ name: 'partner',
3520
+ type: 'address',
3521
+ },
3522
+ {
3523
+ name: 'asset',
3524
+ type: 'address',
3525
+ },
3526
+ {
3527
+ name: 'amount',
3528
+ type: 'uint256',
3529
+ },
3530
+ ],
3531
+ },
3532
+ ],
3533
+ },
3534
+ {
3535
+ stateMutability: 'view',
3536
+ type: 'function',
3537
+ name: 'pendingEndaoPartnerPoolActions',
3538
+ inputs: [
3539
+ {
3540
+ name: 'arg0',
3541
+ type: 'uint256',
3542
+ },
3543
+ ],
3544
+ outputs: [
3545
+ {
3546
+ name: '',
3547
+ type: 'tuple',
3548
+ components: [
3549
+ {
3550
+ name: 'legoId',
3551
+ type: 'uint256',
3552
+ },
3553
+ {
3554
+ name: 'pool',
3555
+ type: 'address',
3556
+ },
3557
+ {
3558
+ name: 'partner',
3559
+ type: 'address',
3560
+ },
3561
+ {
3562
+ name: 'asset',
3563
+ type: 'address',
3564
+ },
3565
+ {
3566
+ name: 'amount',
3567
+ type: 'uint256',
3568
+ },
3569
+ {
3570
+ name: 'minLpAmount',
3571
+ type: 'uint256',
3572
+ },
3573
+ ],
3574
+ },
3575
+ ],
3576
+ },
3577
+ {
3578
+ stateMutability: 'view',
3579
+ type: 'function',
3580
+ name: 'pendingEndaoRepayActions',
3581
+ inputs: [
3582
+ {
3583
+ name: 'arg0',
3584
+ type: 'uint256',
3585
+ },
3586
+ ],
3587
+ outputs: [
3588
+ {
3589
+ name: '',
3590
+ type: 'tuple',
3591
+ components: [
3592
+ {
3593
+ name: 'pool',
3594
+ type: 'address',
3595
+ },
3596
+ {
3597
+ name: 'amount',
3598
+ type: 'uint256',
3599
+ },
3600
+ ],
3601
+ },
3602
+ ],
3603
+ },
3604
+ {
3605
+ stateMutability: 'view',
3606
+ type: 'function',
3607
+ name: 'pendingEndaoTransfer',
3608
+ inputs: [
3609
+ {
3610
+ name: 'arg0',
3611
+ type: 'uint256',
3612
+ },
3613
+ ],
3614
+ outputs: [
3615
+ {
3616
+ name: '',
3617
+ type: 'tuple',
3618
+ components: [
3619
+ {
3620
+ name: 'asset',
3621
+ type: 'address',
3622
+ },
3623
+ {
3624
+ name: 'amount',
3625
+ type: 'uint256',
3626
+ },
3627
+ ],
3628
+ },
3629
+ ],
3630
+ },
3631
+ {
3632
+ stateMutability: 'view',
3633
+ type: 'function',
3634
+ name: 'pendingPsmSetCanMintActions',
3635
+ inputs: [
3636
+ {
3637
+ name: 'arg0',
3638
+ type: 'uint256',
3639
+ },
3640
+ ],
3641
+ outputs: [
3642
+ {
3643
+ name: '',
3644
+ type: 'tuple',
3645
+ components: [
3646
+ {
3647
+ name: 'canMint',
3648
+ type: 'bool',
3649
+ },
3650
+ ],
3651
+ },
3652
+ ],
3653
+ },
3654
+ {
3655
+ stateMutability: 'view',
3656
+ type: 'function',
3657
+ name: 'pendingPsmSetMintFeeActions',
3658
+ inputs: [
3659
+ {
3660
+ name: 'arg0',
3661
+ type: 'uint256',
3662
+ },
3663
+ ],
3664
+ outputs: [
3665
+ {
3666
+ name: '',
3667
+ type: 'tuple',
3668
+ components: [
3669
+ {
3670
+ name: 'fee',
3671
+ type: 'uint256',
3672
+ },
3673
+ ],
3674
+ },
3675
+ ],
3676
+ },
3677
+ {
3678
+ stateMutability: 'view',
3679
+ type: 'function',
3680
+ name: 'pendingPsmSetMaxIntervalMintActions',
3681
+ inputs: [
3682
+ {
3683
+ name: 'arg0',
3684
+ type: 'uint256',
3685
+ },
3686
+ ],
3687
+ outputs: [
3688
+ {
3689
+ name: '',
3690
+ type: 'tuple',
3691
+ components: [
3692
+ {
3693
+ name: 'maxGreenAmount',
3694
+ type: 'uint256',
3695
+ },
3696
+ ],
3697
+ },
3698
+ ],
3699
+ },
3700
+ {
3701
+ stateMutability: 'view',
3702
+ type: 'function',
3703
+ name: 'pendingPsmSetShouldEnforceMintAllowlistActions',
3704
+ inputs: [
3705
+ {
3706
+ name: 'arg0',
3707
+ type: 'uint256',
3708
+ },
3709
+ ],
3710
+ outputs: [
3711
+ {
3712
+ name: '',
3713
+ type: 'tuple',
3714
+ components: [
3715
+ {
3716
+ name: 'shouldEnforce',
3717
+ type: 'bool',
3718
+ },
3719
+ ],
3720
+ },
3721
+ ],
3722
+ },
3723
+ {
3724
+ stateMutability: 'view',
3725
+ type: 'function',
3726
+ name: 'pendingPsmUpdateMintAllowlistActions',
3727
+ inputs: [
3728
+ {
3729
+ name: 'arg0',
3730
+ type: 'uint256',
3731
+ },
3732
+ ],
3733
+ outputs: [
3734
+ {
3735
+ name: '',
3736
+ type: 'tuple',
3737
+ components: [
3738
+ {
3739
+ name: 'user',
3740
+ type: 'address',
3741
+ },
3742
+ {
3743
+ name: 'isAllowed',
3744
+ type: 'bool',
3745
+ },
3746
+ ],
3747
+ },
3748
+ ],
3749
+ },
3750
+ {
3751
+ stateMutability: 'view',
3752
+ type: 'function',
3753
+ name: 'pendingPsmSetCanRedeemActions',
3754
+ inputs: [
3755
+ {
3756
+ name: 'arg0',
3757
+ type: 'uint256',
3758
+ },
3759
+ ],
3760
+ outputs: [
3761
+ {
3762
+ name: '',
3763
+ type: 'tuple',
3764
+ components: [
3765
+ {
3766
+ name: 'canRedeem',
3767
+ type: 'bool',
3768
+ },
3769
+ ],
3770
+ },
3771
+ ],
3772
+ },
3773
+ {
3774
+ stateMutability: 'view',
3775
+ type: 'function',
3776
+ name: 'pendingPsmSetRedeemFeeActions',
3777
+ inputs: [
3778
+ {
3779
+ name: 'arg0',
3780
+ type: 'uint256',
3781
+ },
3782
+ ],
3783
+ outputs: [
3784
+ {
3785
+ name: '',
3786
+ type: 'tuple',
3787
+ components: [
3788
+ {
3789
+ name: 'fee',
3790
+ type: 'uint256',
3791
+ },
3792
+ ],
3793
+ },
3794
+ ],
3795
+ },
3796
+ {
3797
+ stateMutability: 'view',
3798
+ type: 'function',
3799
+ name: 'pendingPsmSetMaxIntervalRedeemActions',
3800
+ inputs: [
3801
+ {
3802
+ name: 'arg0',
3803
+ type: 'uint256',
3804
+ },
3805
+ ],
3806
+ outputs: [
3807
+ {
3808
+ name: '',
3809
+ type: 'tuple',
3810
+ components: [
3811
+ {
3812
+ name: 'maxGreenAmount',
3813
+ type: 'uint256',
3814
+ },
3815
+ ],
3816
+ },
3817
+ ],
3818
+ },
3819
+ {
3820
+ stateMutability: 'view',
3821
+ type: 'function',
3822
+ name: 'pendingPsmSetShouldEnforceRedeemAllowlistActions',
3823
+ inputs: [
3824
+ {
3825
+ name: 'arg0',
3826
+ type: 'uint256',
3827
+ },
3828
+ ],
3829
+ outputs: [
3830
+ {
3831
+ name: '',
3832
+ type: 'tuple',
3833
+ components: [
3834
+ {
3835
+ name: 'shouldEnforce',
3836
+ type: 'bool',
3837
+ },
3838
+ ],
3839
+ },
3840
+ ],
3841
+ },
3842
+ {
3843
+ stateMutability: 'view',
3844
+ type: 'function',
3845
+ name: 'pendingPsmUpdateRedeemAllowlistActions',
3846
+ inputs: [
3847
+ {
3848
+ name: 'arg0',
3849
+ type: 'uint256',
3850
+ },
3851
+ ],
3852
+ outputs: [
3853
+ {
3854
+ name: '',
3855
+ type: 'tuple',
3856
+ components: [
3857
+ {
3858
+ name: 'user',
3859
+ type: 'address',
3860
+ },
3861
+ {
3862
+ name: 'isAllowed',
3863
+ type: 'bool',
3864
+ },
3865
+ ],
3866
+ },
3867
+ ],
3868
+ },
3869
+ {
3870
+ stateMutability: 'view',
3871
+ type: 'function',
3872
+ name: 'pendingPsmSetUsdcYieldPositionActions',
3873
+ inputs: [
3874
+ {
3875
+ name: 'arg0',
3876
+ type: 'uint256',
3877
+ },
3878
+ ],
3879
+ outputs: [
3880
+ {
3881
+ name: '',
3882
+ type: 'tuple',
3883
+ components: [
3884
+ {
3885
+ name: 'legoId',
3886
+ type: 'uint256',
3887
+ },
3888
+ {
3889
+ name: 'vaultToken',
3890
+ type: 'address',
3891
+ },
3892
+ ],
3893
+ },
3894
+ ],
3895
+ },
3896
+ {
3897
+ stateMutability: 'view',
3898
+ type: 'function',
3899
+ name: 'pendingPsmSetNumBlocksPerIntervalActions',
3900
+ inputs: [
3901
+ {
3902
+ name: 'arg0',
3903
+ type: 'uint256',
3904
+ },
3905
+ ],
3906
+ outputs: [
3907
+ {
3908
+ name: '',
3909
+ type: 'tuple',
3910
+ components: [
3911
+ {
3912
+ name: 'blocks',
3913
+ type: 'uint256',
3914
+ },
3915
+ ],
3916
+ },
3917
+ ],
3918
+ },
3919
+ {
3920
+ stateMutability: 'view',
3921
+ type: 'function',
3922
+ name: 'pendingPsmSetShouldAutoDepositActions',
3923
+ inputs: [
3924
+ {
3925
+ name: 'arg0',
3926
+ type: 'uint256',
3927
+ },
3928
+ ],
3929
+ outputs: [
3930
+ {
3931
+ name: '',
3932
+ type: 'tuple',
3933
+ components: [
3934
+ {
3935
+ name: 'shouldAutoDeposit',
3936
+ type: 'bool',
3937
+ },
3938
+ ],
3939
+ },
3940
+ ],
3941
+ },
3942
+ {
3943
+ stateMutability: 'nonpayable',
3944
+ type: 'constructor',
3945
+ inputs: [
3946
+ {
3947
+ name: '_ripeHq',
3948
+ type: 'address',
3949
+ },
3950
+ {
3951
+ name: '_tempGov',
3952
+ type: 'address',
3953
+ },
3954
+ {
3955
+ name: '_minConfigTimeLock',
3956
+ type: 'uint256',
3957
+ },
3958
+ {
3959
+ name: '_maxConfigTimeLock',
3960
+ type: 'uint256',
3961
+ },
3962
+ ],
3963
+ outputs: [],
3964
+ },
3965
+ ];
3966
+ export const deployAddress = '0xdF99a86e4450163e8DbA47C928131e75D2995dbb';
3967
+ function getRequest(method, args, contractAddressOrOptions) {
3968
+ const address = typeof contractAddressOrOptions === 'string' ? contractAddressOrOptions : contractAddressOrOptions?.contractAddress;
3969
+ const defaultValue = typeof contractAddressOrOptions === 'string' ? undefined : contractAddressOrOptions?.defaultValue;
3970
+ const call = {
3971
+ contractName: 'SwitchboardEcho',
3972
+ method,
3973
+ args,
3974
+ address,
3975
+ deployAddress,
3976
+ defaultValue,
3977
+ getAbi: () => abi,
3978
+ with: (options) => {
3979
+ call.address = options.contractAddress;
3980
+ call.defaultValue = options.defaultValue;
3981
+ return call;
3982
+ },
3983
+ defaultTo: (defaultValue) => {
3984
+ call.defaultValue = defaultValue;
3985
+ return call;
3986
+ },
3987
+ at: (address) => {
3988
+ call.address = address;
3989
+ return call;
3990
+ },
3991
+ };
3992
+ return call;
3993
+ }
3994
+ export const call = {
3995
+ getRipeHqFromGov: (...args) => getRequest('getRipeHqFromGov', args),
3996
+ canGovern: (...args) => getRequest('canGovern', args),
3997
+ getGovernors: (...args) => getRequest('getGovernors', args),
3998
+ hasPendingGovChange: (...args) => getRequest('hasPendingGovChange', args),
3999
+ isValidGovTimeLock: (...args) => getRequest('isValidGovTimeLock', args),
4000
+ minGovChangeTimeLock: (...args) => getRequest('minGovChangeTimeLock', args),
4001
+ maxGovChangeTimeLock: (...args) => getRequest('maxGovChangeTimeLock', args),
4002
+ governance: (...args) => getRequest('governance', args),
4003
+ pendingGov: (...args) => getRequest('pendingGov', args),
4004
+ numGovChanges: (...args) => getRequest('numGovChanges', args),
4005
+ govChangeTimeLock: (...args) => getRequest('govChangeTimeLock', args),
4006
+ canConfirmAction: (...args) => getRequest('canConfirmAction', args),
4007
+ isExpired: (...args) => getRequest('isExpired', args),
4008
+ hasPendingAction: (...args) => getRequest('hasPendingAction', args),
4009
+ getActionConfirmationBlock: (...args) => getRequest('getActionConfirmationBlock', args),
4010
+ isValidActionTimeLock: (...args) => getRequest('isValidActionTimeLock', args),
4011
+ minActionTimeLock: (...args) => getRequest('minActionTimeLock', args),
4012
+ maxActionTimeLock: (...args) => getRequest('maxActionTimeLock', args),
4013
+ pendingActions: (...args) => getRequest('pendingActions', args),
4014
+ actionId: (...args) => getRequest('actionId', args),
4015
+ actionTimeLock: (...args) => getRequest('actionTimeLock', args),
4016
+ expiration: (...args) => getRequest('expiration', args),
4017
+ actionType: (...args) => getRequest('actionType', args),
4018
+ pendingEndaoSwapActions: (...args) => getRequest('pendingEndaoSwapActions', args),
4019
+ pendingEndaoAddLiquidityActions: (...args) => getRequest('pendingEndaoAddLiquidityActions', args),
4020
+ pendingEndaoRemoveLiquidityActions: (...args) => getRequest('pendingEndaoRemoveLiquidityActions', args),
4021
+ pendingEndaoPartnerMintActions: (...args) => getRequest('pendingEndaoPartnerMintActions', args),
4022
+ pendingEndaoPartnerPoolActions: (...args) => getRequest('pendingEndaoPartnerPoolActions', args),
4023
+ pendingEndaoRepayActions: (...args) => getRequest('pendingEndaoRepayActions', args),
4024
+ pendingEndaoTransfer: (...args) => getRequest('pendingEndaoTransfer', args),
4025
+ pendingPsmSetCanMintActions: (...args) => getRequest('pendingPsmSetCanMintActions', args),
4026
+ pendingPsmSetMintFeeActions: (...args) => getRequest('pendingPsmSetMintFeeActions', args),
4027
+ pendingPsmSetMaxIntervalMintActions: (...args) => getRequest('pendingPsmSetMaxIntervalMintActions', args),
4028
+ pendingPsmSetShouldEnforceMintAllowlistActions: (...args) => getRequest('pendingPsmSetShouldEnforceMintAllowlistActions', args),
4029
+ pendingPsmUpdateMintAllowlistActions: (...args) => getRequest('pendingPsmUpdateMintAllowlistActions', args),
4030
+ pendingPsmSetCanRedeemActions: (...args) => getRequest('pendingPsmSetCanRedeemActions', args),
4031
+ pendingPsmSetRedeemFeeActions: (...args) => getRequest('pendingPsmSetRedeemFeeActions', args),
4032
+ pendingPsmSetMaxIntervalRedeemActions: (...args) => getRequest('pendingPsmSetMaxIntervalRedeemActions', args),
4033
+ pendingPsmSetShouldEnforceRedeemAllowlistActions: (...args) => getRequest('pendingPsmSetShouldEnforceRedeemAllowlistActions', args),
4034
+ pendingPsmUpdateRedeemAllowlistActions: (...args) => getRequest('pendingPsmUpdateRedeemAllowlistActions', args),
4035
+ pendingPsmSetUsdcYieldPositionActions: (...args) => getRequest('pendingPsmSetUsdcYieldPositionActions', args),
4036
+ pendingPsmSetNumBlocksPerIntervalActions: (...args) => getRequest('pendingPsmSetNumBlocksPerIntervalActions', args),
4037
+ pendingPsmSetShouldAutoDepositActions: (...args) => getRequest('pendingPsmSetShouldAutoDepositActions', args),
4038
+ };
4039
+ function getMutation(functionName) {
4040
+ return {
4041
+ contractName: 'SwitchboardEcho',
4042
+ functionName,
4043
+ deployAddress,
4044
+ argsType: undefined,
4045
+ getAbi: () => abi,
4046
+ };
4047
+ }
4048
+ export const mutation = {
4049
+ startGovernanceChange: getMutation('startGovernanceChange'),
4050
+ confirmGovernanceChange: getMutation('confirmGovernanceChange'),
4051
+ cancelGovernanceChange: getMutation('cancelGovernanceChange'),
4052
+ relinquishGov: getMutation('relinquishGov'),
4053
+ setGovTimeLock: getMutation('setGovTimeLock'),
4054
+ finishRipeHqSetup: getMutation('finishRipeHqSetup'),
4055
+ setActionTimeLock: getMutation('setActionTimeLock'),
4056
+ setExpiration: getMutation('setExpiration'),
4057
+ setActionTimeLockAfterSetup: getMutation('setActionTimeLockAfterSetup'),
4058
+ depositForYieldInEndaoment: getMutation('depositForYieldInEndaoment'),
4059
+ withdrawFromYieldInEndaoment: getMutation('withdrawFromYieldInEndaoment'),
4060
+ convertEthToWethInEndaoment: getMutation('convertEthToWethInEndaoment'),
4061
+ convertWethToEthInEndaoment: getMutation('convertWethToEthInEndaoment'),
4062
+ claimIncentivesInEndaoment: getMutation('claimIncentivesInEndaoment'),
4063
+ stabilizeGreenRefPoolInEndaoment: getMutation('stabilizeGreenRefPoolInEndaoment'),
4064
+ transferFundsToEndaomentPsmInEndaoment: getMutation('transferFundsToEndaomentPsmInEndaoment'),
4065
+ transferFundsToVaultInEndaoment: getMutation('transferFundsToVaultInEndaoment'),
4066
+ depositToYieldInPsm: getMutation('depositToYieldInPsm'),
4067
+ withdrawFromYieldInPsm: getMutation('withdrawFromYieldInPsm'),
4068
+ transferUsdcToEndaomentFundsInPsm: getMutation('transferUsdcToEndaomentFundsInPsm'),
4069
+ performEndaomentTransfer: getMutation('performEndaomentTransfer'),
4070
+ performEndaomentSwap: getMutation('performEndaomentSwap'),
4071
+ addLiquidityInEndaoment: getMutation('addLiquidityInEndaoment'),
4072
+ removeLiquidityInEndaoment: getMutation('removeLiquidityInEndaoment'),
4073
+ mintPartnerLiquidityInEndaoment: getMutation('mintPartnerLiquidityInEndaoment'),
4074
+ addPartnerLiquidityInEndaoment: getMutation('addPartnerLiquidityInEndaoment'),
4075
+ repayPoolDebtInEndaoment: getMutation('repayPoolDebtInEndaoment'),
4076
+ setPsmCanMint: getMutation('setPsmCanMint'),
4077
+ setPsmMintFee: getMutation('setPsmMintFee'),
4078
+ setPsmMaxIntervalMint: getMutation('setPsmMaxIntervalMint'),
4079
+ setPsmShouldEnforceMintAllowlist: getMutation('setPsmShouldEnforceMintAllowlist'),
4080
+ updatePsmMintAllowlist: getMutation('updatePsmMintAllowlist'),
4081
+ setPsmCanRedeem: getMutation('setPsmCanRedeem'),
4082
+ setPsmRedeemFee: getMutation('setPsmRedeemFee'),
4083
+ setPsmMaxIntervalRedeem: getMutation('setPsmMaxIntervalRedeem'),
4084
+ setPsmShouldEnforceRedeemAllowlist: getMutation('setPsmShouldEnforceRedeemAllowlist'),
4085
+ updatePsmRedeemAllowlist: getMutation('updatePsmRedeemAllowlist'),
4086
+ setPsmUsdcYieldPosition: getMutation('setPsmUsdcYieldPosition'),
4087
+ setPsmNumBlocksPerInterval: getMutation('setPsmNumBlocksPerInterval'),
4088
+ setPsmShouldAutoDeposit: getMutation('setPsmShouldAutoDeposit'),
4089
+ executePendingAction: getMutation('executePendingAction'),
4090
+ cancelPendingAction: getMutation('cancelPendingAction'),
4091
+ };
4092
+ export function toSdk(publicClient, walletClient) {
4093
+ return {
4094
+ deployAddress,
4095
+ abi,
4096
+ // Queries
4097
+ getRipeHqFromGov: (...args) => singleQuery(publicClient, call.getRipeHqFromGov(...args)),
4098
+ canGovern: (...args) => singleQuery(publicClient, call.canGovern(...args)),
4099
+ getGovernors: (...args) => singleQuery(publicClient, call.getGovernors(...args)),
4100
+ hasPendingGovChange: (...args) => singleQuery(publicClient, call.hasPendingGovChange(...args)),
4101
+ isValidGovTimeLock: (...args) => singleQuery(publicClient, call.isValidGovTimeLock(...args)),
4102
+ minGovChangeTimeLock: (...args) => singleQuery(publicClient, call.minGovChangeTimeLock(...args)),
4103
+ maxGovChangeTimeLock: (...args) => singleQuery(publicClient, call.maxGovChangeTimeLock(...args)),
4104
+ governance: (...args) => singleQuery(publicClient, call.governance(...args)),
4105
+ pendingGov: (...args) => singleQuery(publicClient, call.pendingGov(...args)),
4106
+ numGovChanges: (...args) => singleQuery(publicClient, call.numGovChanges(...args)),
4107
+ govChangeTimeLock: (...args) => singleQuery(publicClient, call.govChangeTimeLock(...args)),
4108
+ canConfirmAction: (...args) => singleQuery(publicClient, call.canConfirmAction(...args)),
4109
+ isExpired: (...args) => singleQuery(publicClient, call.isExpired(...args)),
4110
+ hasPendingAction: (...args) => singleQuery(publicClient, call.hasPendingAction(...args)),
4111
+ getActionConfirmationBlock: (...args) => singleQuery(publicClient, call.getActionConfirmationBlock(...args)),
4112
+ isValidActionTimeLock: (...args) => singleQuery(publicClient, call.isValidActionTimeLock(...args)),
4113
+ minActionTimeLock: (...args) => singleQuery(publicClient, call.minActionTimeLock(...args)),
4114
+ maxActionTimeLock: (...args) => singleQuery(publicClient, call.maxActionTimeLock(...args)),
4115
+ pendingActions: (...args) => singleQuery(publicClient, call.pendingActions(...args)),
4116
+ actionId: (...args) => singleQuery(publicClient, call.actionId(...args)),
4117
+ actionTimeLock: (...args) => singleQuery(publicClient, call.actionTimeLock(...args)),
4118
+ expiration: (...args) => singleQuery(publicClient, call.expiration(...args)),
4119
+ actionType: (...args) => singleQuery(publicClient, call.actionType(...args)),
4120
+ pendingEndaoSwapActions: (...args) => singleQuery(publicClient, call.pendingEndaoSwapActions(...args)),
4121
+ pendingEndaoAddLiquidityActions: (...args) => singleQuery(publicClient, call.pendingEndaoAddLiquidityActions(...args)),
4122
+ pendingEndaoRemoveLiquidityActions: (...args) => singleQuery(publicClient, call.pendingEndaoRemoveLiquidityActions(...args)),
4123
+ pendingEndaoPartnerMintActions: (...args) => singleQuery(publicClient, call.pendingEndaoPartnerMintActions(...args)),
4124
+ pendingEndaoPartnerPoolActions: (...args) => singleQuery(publicClient, call.pendingEndaoPartnerPoolActions(...args)),
4125
+ pendingEndaoRepayActions: (...args) => singleQuery(publicClient, call.pendingEndaoRepayActions(...args)),
4126
+ pendingEndaoTransfer: (...args) => singleQuery(publicClient, call.pendingEndaoTransfer(...args)),
4127
+ pendingPsmSetCanMintActions: (...args) => singleQuery(publicClient, call.pendingPsmSetCanMintActions(...args)),
4128
+ pendingPsmSetMintFeeActions: (...args) => singleQuery(publicClient, call.pendingPsmSetMintFeeActions(...args)),
4129
+ pendingPsmSetMaxIntervalMintActions: (...args) => singleQuery(publicClient, call.pendingPsmSetMaxIntervalMintActions(...args)),
4130
+ pendingPsmSetShouldEnforceMintAllowlistActions: (...args) => singleQuery(publicClient, call.pendingPsmSetShouldEnforceMintAllowlistActions(...args)),
4131
+ pendingPsmUpdateMintAllowlistActions: (...args) => singleQuery(publicClient, call.pendingPsmUpdateMintAllowlistActions(...args)),
4132
+ pendingPsmSetCanRedeemActions: (...args) => singleQuery(publicClient, call.pendingPsmSetCanRedeemActions(...args)),
4133
+ pendingPsmSetRedeemFeeActions: (...args) => singleQuery(publicClient, call.pendingPsmSetRedeemFeeActions(...args)),
4134
+ pendingPsmSetMaxIntervalRedeemActions: (...args) => singleQuery(publicClient, call.pendingPsmSetMaxIntervalRedeemActions(...args)),
4135
+ pendingPsmSetShouldEnforceRedeemAllowlistActions: (...args) => singleQuery(publicClient, call.pendingPsmSetShouldEnforceRedeemAllowlistActions(...args)),
4136
+ pendingPsmUpdateRedeemAllowlistActions: (...args) => singleQuery(publicClient, call.pendingPsmUpdateRedeemAllowlistActions(...args)),
4137
+ pendingPsmSetUsdcYieldPositionActions: (...args) => singleQuery(publicClient, call.pendingPsmSetUsdcYieldPositionActions(...args)),
4138
+ pendingPsmSetNumBlocksPerIntervalActions: (...args) => singleQuery(publicClient, call.pendingPsmSetNumBlocksPerIntervalActions(...args)),
4139
+ pendingPsmSetShouldAutoDepositActions: (...args) => singleQuery(publicClient, call.pendingPsmSetShouldAutoDepositActions(...args)),
4140
+ // Mutations
4141
+ startGovernanceChange: (...args) => mutate(walletClient, mutation.startGovernanceChange)(...args),
4142
+ confirmGovernanceChange: (...args) => mutate(walletClient, mutation.confirmGovernanceChange)(...args),
4143
+ cancelGovernanceChange: (...args) => mutate(walletClient, mutation.cancelGovernanceChange)(...args),
4144
+ relinquishGov: (...args) => mutate(walletClient, mutation.relinquishGov)(...args),
4145
+ setGovTimeLock: (...args) => mutate(walletClient, mutation.setGovTimeLock)(...args),
4146
+ finishRipeHqSetup: (...args) => mutate(walletClient, mutation.finishRipeHqSetup)(...args),
4147
+ setActionTimeLock: (...args) => mutate(walletClient, mutation.setActionTimeLock)(...args),
4148
+ setExpiration: (...args) => mutate(walletClient, mutation.setExpiration)(...args),
4149
+ setActionTimeLockAfterSetup: (...args) => mutate(walletClient, mutation.setActionTimeLockAfterSetup)(...args),
4150
+ depositForYieldInEndaoment: (...args) => mutate(walletClient, mutation.depositForYieldInEndaoment)(...args),
4151
+ withdrawFromYieldInEndaoment: (...args) => mutate(walletClient, mutation.withdrawFromYieldInEndaoment)(...args),
4152
+ convertEthToWethInEndaoment: (...args) => mutate(walletClient, mutation.convertEthToWethInEndaoment)(...args),
4153
+ convertWethToEthInEndaoment: (...args) => mutate(walletClient, mutation.convertWethToEthInEndaoment)(...args),
4154
+ claimIncentivesInEndaoment: (...args) => mutate(walletClient, mutation.claimIncentivesInEndaoment)(...args),
4155
+ stabilizeGreenRefPoolInEndaoment: (...args) => mutate(walletClient, mutation.stabilizeGreenRefPoolInEndaoment)(...args),
4156
+ transferFundsToEndaomentPsmInEndaoment: (...args) => mutate(walletClient, mutation.transferFundsToEndaomentPsmInEndaoment)(...args),
4157
+ transferFundsToVaultInEndaoment: (...args) => mutate(walletClient, mutation.transferFundsToVaultInEndaoment)(...args),
4158
+ depositToYieldInPsm: (...args) => mutate(walletClient, mutation.depositToYieldInPsm)(...args),
4159
+ withdrawFromYieldInPsm: (...args) => mutate(walletClient, mutation.withdrawFromYieldInPsm)(...args),
4160
+ transferUsdcToEndaomentFundsInPsm: (...args) => mutate(walletClient, mutation.transferUsdcToEndaomentFundsInPsm)(...args),
4161
+ performEndaomentTransfer: (...args) => mutate(walletClient, mutation.performEndaomentTransfer)(...args),
4162
+ performEndaomentSwap: (...args) => mutate(walletClient, mutation.performEndaomentSwap)(...args),
4163
+ addLiquidityInEndaoment: (...args) => mutate(walletClient, mutation.addLiquidityInEndaoment)(...args),
4164
+ removeLiquidityInEndaoment: (...args) => mutate(walletClient, mutation.removeLiquidityInEndaoment)(...args),
4165
+ mintPartnerLiquidityInEndaoment: (...args) => mutate(walletClient, mutation.mintPartnerLiquidityInEndaoment)(...args),
4166
+ addPartnerLiquidityInEndaoment: (...args) => mutate(walletClient, mutation.addPartnerLiquidityInEndaoment)(...args),
4167
+ repayPoolDebtInEndaoment: (...args) => mutate(walletClient, mutation.repayPoolDebtInEndaoment)(...args),
4168
+ setPsmCanMint: (...args) => mutate(walletClient, mutation.setPsmCanMint)(...args),
4169
+ setPsmMintFee: (...args) => mutate(walletClient, mutation.setPsmMintFee)(...args),
4170
+ setPsmMaxIntervalMint: (...args) => mutate(walletClient, mutation.setPsmMaxIntervalMint)(...args),
4171
+ setPsmShouldEnforceMintAllowlist: (...args) => mutate(walletClient, mutation.setPsmShouldEnforceMintAllowlist)(...args),
4172
+ updatePsmMintAllowlist: (...args) => mutate(walletClient, mutation.updatePsmMintAllowlist)(...args),
4173
+ setPsmCanRedeem: (...args) => mutate(walletClient, mutation.setPsmCanRedeem)(...args),
4174
+ setPsmRedeemFee: (...args) => mutate(walletClient, mutation.setPsmRedeemFee)(...args),
4175
+ setPsmMaxIntervalRedeem: (...args) => mutate(walletClient, mutation.setPsmMaxIntervalRedeem)(...args),
4176
+ setPsmShouldEnforceRedeemAllowlist: (...args) => mutate(walletClient, mutation.setPsmShouldEnforceRedeemAllowlist)(...args),
4177
+ updatePsmRedeemAllowlist: (...args) => mutate(walletClient, mutation.updatePsmRedeemAllowlist)(...args),
4178
+ setPsmUsdcYieldPosition: (...args) => mutate(walletClient, mutation.setPsmUsdcYieldPosition)(...args),
4179
+ setPsmNumBlocksPerInterval: (...args) => mutate(walletClient, mutation.setPsmNumBlocksPerInterval)(...args),
4180
+ setPsmShouldAutoDeposit: (...args) => mutate(walletClient, mutation.setPsmShouldAutoDeposit)(...args),
4181
+ executePendingAction: (...args) => mutate(walletClient, mutation.executePendingAction)(...args),
4182
+ cancelPendingAction: (...args) => mutate(walletClient, mutation.cancelPendingAction)(...args),
4183
+ };
4184
+ }