@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
@@ -135,177 +135,6 @@ export declare const abi: readonly [{
135
135
  }];
136
136
  readonly anonymous: false;
137
137
  readonly type: "event";
138
- }, {
139
- readonly name: "PendingEndaoTransferAction";
140
- readonly inputs: readonly [{
141
- readonly name: "asset";
142
- readonly type: "address";
143
- readonly indexed: true;
144
- }, {
145
- readonly name: "amount";
146
- readonly type: "uint256";
147
- readonly indexed: false;
148
- }, {
149
- readonly name: "confirmationBlock";
150
- readonly type: "uint256";
151
- readonly indexed: false;
152
- }, {
153
- readonly name: "actionId";
154
- readonly type: "uint256";
155
- readonly indexed: false;
156
- }];
157
- readonly anonymous: false;
158
- readonly type: "event";
159
- }, {
160
- readonly name: "PendingEndaoSwapAction";
161
- readonly inputs: readonly [{
162
- readonly name: "numSwapInstructions";
163
- readonly type: "uint256";
164
- readonly indexed: false;
165
- }, {
166
- readonly name: "confirmationBlock";
167
- readonly type: "uint256";
168
- readonly indexed: false;
169
- }, {
170
- readonly name: "actionId";
171
- readonly type: "uint256";
172
- readonly indexed: false;
173
- }];
174
- readonly anonymous: false;
175
- readonly type: "event";
176
- }, {
177
- readonly name: "PendingEndaoAddLiquidityAction";
178
- readonly inputs: readonly [{
179
- readonly name: "legoId";
180
- readonly type: "uint256";
181
- readonly indexed: false;
182
- }, {
183
- readonly name: "pool";
184
- readonly type: "address";
185
- readonly indexed: true;
186
- }, {
187
- readonly name: "tokenA";
188
- readonly type: "address";
189
- readonly indexed: true;
190
- }, {
191
- readonly name: "tokenB";
192
- readonly type: "address";
193
- readonly indexed: true;
194
- }, {
195
- readonly name: "confirmationBlock";
196
- readonly type: "uint256";
197
- readonly indexed: false;
198
- }, {
199
- readonly name: "actionId";
200
- readonly type: "uint256";
201
- readonly indexed: false;
202
- }];
203
- readonly anonymous: false;
204
- readonly type: "event";
205
- }, {
206
- readonly name: "PendingEndaoRemoveLiquidityAction";
207
- readonly inputs: readonly [{
208
- readonly name: "legoId";
209
- readonly type: "uint256";
210
- readonly indexed: false;
211
- }, {
212
- readonly name: "pool";
213
- readonly type: "address";
214
- readonly indexed: true;
215
- }, {
216
- readonly name: "tokenA";
217
- readonly type: "address";
218
- readonly indexed: true;
219
- }, {
220
- readonly name: "tokenB";
221
- readonly type: "address";
222
- readonly indexed: true;
223
- }, {
224
- readonly name: "confirmationBlock";
225
- readonly type: "uint256";
226
- readonly indexed: false;
227
- }, {
228
- readonly name: "actionId";
229
- readonly type: "uint256";
230
- readonly indexed: false;
231
- }];
232
- readonly anonymous: false;
233
- readonly type: "event";
234
- }, {
235
- readonly name: "PendingEndaoPartnerMintAction";
236
- readonly inputs: readonly [{
237
- readonly name: "partner";
238
- readonly type: "address";
239
- readonly indexed: true;
240
- }, {
241
- readonly name: "asset";
242
- readonly type: "address";
243
- readonly indexed: true;
244
- }, {
245
- readonly name: "amount";
246
- readonly type: "uint256";
247
- readonly indexed: false;
248
- }, {
249
- readonly name: "confirmationBlock";
250
- readonly type: "uint256";
251
- readonly indexed: false;
252
- }, {
253
- readonly name: "actionId";
254
- readonly type: "uint256";
255
- readonly indexed: false;
256
- }];
257
- readonly anonymous: false;
258
- readonly type: "event";
259
- }, {
260
- readonly name: "PendingEndaoPartnerPoolAction";
261
- readonly inputs: readonly [{
262
- readonly name: "legoId";
263
- readonly type: "uint256";
264
- readonly indexed: false;
265
- }, {
266
- readonly name: "pool";
267
- readonly type: "address";
268
- readonly indexed: true;
269
- }, {
270
- readonly name: "partner";
271
- readonly type: "address";
272
- readonly indexed: true;
273
- }, {
274
- readonly name: "asset";
275
- readonly type: "address";
276
- readonly indexed: true;
277
- }, {
278
- readonly name: "confirmationBlock";
279
- readonly type: "uint256";
280
- readonly indexed: false;
281
- }, {
282
- readonly name: "actionId";
283
- readonly type: "uint256";
284
- readonly indexed: false;
285
- }];
286
- readonly anonymous: false;
287
- readonly type: "event";
288
- }, {
289
- readonly name: "PendingEndaoRepayAction";
290
- readonly inputs: readonly [{
291
- readonly name: "pool";
292
- readonly type: "address";
293
- readonly indexed: true;
294
- }, {
295
- readonly name: "amount";
296
- readonly type: "uint256";
297
- readonly indexed: false;
298
- }, {
299
- readonly name: "confirmationBlock";
300
- readonly type: "uint256";
301
- readonly indexed: false;
302
- }, {
303
- readonly name: "actionId";
304
- readonly type: "uint256";
305
- readonly indexed: false;
306
- }];
307
- readonly anonymous: false;
308
- readonly type: "event";
309
138
  }, {
310
139
  readonly name: "PendingTrainingWheelsChange";
311
140
  readonly inputs: readonly [{
@@ -323,31 +152,6 @@ export declare const abi: readonly [{
323
152
  }];
324
153
  readonly anonymous: false;
325
154
  readonly type: "event";
326
- }, {
327
- readonly name: "PendingEndaoRecoverNftAction";
328
- readonly inputs: readonly [{
329
- readonly name: "collection";
330
- readonly type: "address";
331
- readonly indexed: true;
332
- }, {
333
- readonly name: "nftTokenId";
334
- readonly type: "uint256";
335
- readonly indexed: false;
336
- }, {
337
- readonly name: "recipient";
338
- readonly type: "address";
339
- readonly indexed: true;
340
- }, {
341
- readonly name: "confirmationBlock";
342
- readonly type: "uint256";
343
- readonly indexed: false;
344
- }, {
345
- readonly name: "actionId";
346
- readonly type: "uint256";
347
- readonly indexed: false;
348
- }];
349
- readonly anonymous: false;
350
- readonly type: "event";
351
155
  }, {
352
156
  readonly name: "PauseExecuted";
353
157
  readonly inputs: readonly [{
@@ -646,88 +450,48 @@ export declare const abi: readonly [{
646
450
  readonly anonymous: false;
647
451
  readonly type: "event";
648
452
  }, {
649
- readonly name: "EndaomentDepositPerformed";
453
+ readonly name: "TrainingWheelsSet";
650
454
  readonly inputs: readonly [{
651
- readonly name: "legoId";
652
- readonly type: "uint256";
653
- readonly indexed: false;
654
- }, {
655
- readonly name: "asset";
656
- readonly type: "address";
657
- readonly indexed: true;
658
- }, {
659
- readonly name: "vault";
660
- readonly type: "address";
661
- readonly indexed: true;
662
- }, {
663
- readonly name: "amount";
664
- readonly type: "uint256";
665
- readonly indexed: false;
666
- }, {
667
- readonly name: "caller";
455
+ readonly name: "trainingWheels";
668
456
  readonly type: "address";
669
457
  readonly indexed: true;
670
458
  }];
671
459
  readonly anonymous: false;
672
460
  readonly type: "event";
673
461
  }, {
674
- readonly name: "EndaomentWithdrawalPerformed";
462
+ readonly name: "TrainingWheelsAccessSet";
675
463
  readonly inputs: readonly [{
676
- readonly name: "legoId";
677
- readonly type: "uint256";
678
- readonly indexed: false;
679
- }, {
680
- readonly name: "asset";
464
+ readonly name: "trainingWheels";
681
465
  readonly type: "address";
682
466
  readonly indexed: true;
683
467
  }, {
684
- readonly name: "vaultAddr";
468
+ readonly name: "user";
685
469
  readonly type: "address";
686
470
  readonly indexed: true;
687
471
  }, {
688
- readonly name: "withdrawAmount";
689
- readonly type: "uint256";
472
+ readonly name: "isAllowed";
473
+ readonly type: "bool";
690
474
  readonly indexed: false;
691
- }, {
692
- readonly name: "caller";
693
- readonly type: "address";
694
- readonly indexed: true;
695
475
  }];
696
476
  readonly anonymous: false;
697
477
  readonly type: "event";
698
478
  }, {
699
- readonly name: "EndaomentReblanacePerformed";
479
+ readonly name: "UnderscoreRewardsDistributed";
700
480
  readonly inputs: readonly [{
701
- readonly name: "fromLegoId";
702
- readonly type: "uint256";
703
- readonly indexed: false;
704
- }, {
705
- readonly name: "fromAsset";
481
+ readonly name: "caller";
706
482
  readonly type: "address";
707
483
  readonly indexed: true;
708
484
  }, {
709
- readonly name: "fromVaultAddr";
710
- readonly type: "address";
711
- readonly indexed: false;
712
- }, {
713
- readonly name: "toLegoId";
714
- readonly type: "uint256";
485
+ readonly name: "success";
486
+ readonly type: "bool";
715
487
  readonly indexed: false;
716
- }, {
717
- readonly name: "toVaultAddr";
718
- readonly type: "address";
719
- readonly indexed: true;
720
- }, {
721
- readonly name: "caller";
722
- readonly type: "address";
723
- readonly indexed: true;
724
488
  }];
725
489
  readonly anonymous: false;
726
490
  readonly type: "event";
727
491
  }, {
728
- readonly name: "EndaomentEthToWethPerformed";
492
+ readonly name: "UnderscoreSendIntervalSet";
729
493
  readonly inputs: readonly [{
730
- readonly name: "amount";
494
+ readonly name: "interval";
731
495
  readonly type: "uint256";
732
496
  readonly indexed: false;
733
497
  }, {
@@ -738,7 +502,7 @@ export declare const abi: readonly [{
738
502
  readonly anonymous: false;
739
503
  readonly type: "event";
740
504
  }, {
741
- readonly name: "EndaomentWethToEthPerformed";
505
+ readonly name: "UndyDepositRewardsAmountSet";
742
506
  readonly inputs: readonly [{
743
507
  readonly name: "amount";
744
508
  readonly type: "uint256";
@@ -751,21 +515,9 @@ export declare const abi: readonly [{
751
515
  readonly anonymous: false;
752
516
  readonly type: "event";
753
517
  }, {
754
- readonly name: "EndaomentClaimPerformed";
518
+ readonly name: "UndyYieldBonusAmountSet";
755
519
  readonly inputs: readonly [{
756
- readonly name: "legoId";
757
- readonly type: "uint256";
758
- readonly indexed: false;
759
- }, {
760
- readonly name: "rewardToken";
761
- readonly type: "address";
762
- readonly indexed: true;
763
- }, {
764
- readonly name: "rewardAmount";
765
- readonly type: "uint256";
766
- readonly indexed: false;
767
- }, {
768
- readonly name: "usdValue";
520
+ readonly name: "amount";
769
521
  readonly type: "uint256";
770
522
  readonly indexed: false;
771
523
  }, {
@@ -776,9 +528,9 @@ export declare const abi: readonly [{
776
528
  readonly anonymous: false;
777
529
  readonly type: "event";
778
530
  }, {
779
- readonly name: "EndaomentStabilizerPerformed";
531
+ readonly name: "HasUnderscoreRewardsSet";
780
532
  readonly inputs: readonly [{
781
- readonly name: "success";
533
+ readonly name: "hasRewards";
782
534
  readonly type: "bool";
783
535
  readonly indexed: false;
784
536
  }, {
@@ -789,164 +541,53 @@ export declare const abi: readonly [{
789
541
  readonly anonymous: false;
790
542
  readonly type: "event";
791
543
  }, {
792
- readonly name: "EndaoTransferExecuted";
544
+ readonly name: "PendingUnderscoreSendIntervalAction";
793
545
  readonly inputs: readonly [{
794
- readonly name: "asset";
795
- readonly type: "address";
796
- readonly indexed: true;
546
+ readonly name: "interval";
547
+ readonly type: "uint256";
548
+ readonly indexed: false;
797
549
  }, {
798
- readonly name: "amount";
550
+ readonly name: "confirmationBlock";
551
+ readonly type: "uint256";
552
+ readonly indexed: false;
553
+ }, {
554
+ readonly name: "actionId";
799
555
  readonly type: "uint256";
800
556
  readonly indexed: false;
801
557
  }];
802
558
  readonly anonymous: false;
803
559
  readonly type: "event";
804
560
  }, {
805
- readonly name: "EndaoSwapExecuted";
561
+ readonly name: "PendingUndyDepositRewardsAmountAction";
806
562
  readonly inputs: readonly [{
807
- readonly name: "numSwapInstructions";
563
+ readonly name: "amount";
564
+ readonly type: "uint256";
565
+ readonly indexed: false;
566
+ }, {
567
+ readonly name: "confirmationBlock";
568
+ readonly type: "uint256";
569
+ readonly indexed: false;
570
+ }, {
571
+ readonly name: "actionId";
808
572
  readonly type: "uint256";
809
573
  readonly indexed: false;
810
574
  }];
811
575
  readonly anonymous: false;
812
576
  readonly type: "event";
813
577
  }, {
814
- readonly name: "EndaoAddLiquidityExecuted";
578
+ readonly name: "PendingUndyYieldBonusAmountAction";
815
579
  readonly inputs: readonly [{
816
- readonly name: "legoId";
580
+ readonly name: "amount";
817
581
  readonly type: "uint256";
818
582
  readonly indexed: false;
819
583
  }, {
820
- readonly name: "pool";
821
- readonly type: "address";
822
- readonly indexed: true;
823
- }, {
824
- readonly name: "tokenA";
825
- readonly type: "address";
826
- readonly indexed: true;
827
- }, {
828
- readonly name: "tokenB";
829
- readonly type: "address";
830
- readonly indexed: true;
831
- }];
832
- readonly anonymous: false;
833
- readonly type: "event";
834
- }, {
835
- readonly name: "EndaoRemoveLiquidityExecuted";
836
- readonly inputs: readonly [{
837
- readonly name: "legoId";
838
- readonly type: "uint256";
839
- readonly indexed: false;
840
- }, {
841
- readonly name: "pool";
842
- readonly type: "address";
843
- readonly indexed: true;
844
- }, {
845
- readonly name: "tokenA";
846
- readonly type: "address";
847
- readonly indexed: true;
848
- }, {
849
- readonly name: "tokenB";
850
- readonly type: "address";
851
- readonly indexed: true;
852
- }];
853
- readonly anonymous: false;
854
- readonly type: "event";
855
- }, {
856
- readonly name: "EndaoPartnerMintExecuted";
857
- readonly inputs: readonly [{
858
- readonly name: "partner";
859
- readonly type: "address";
860
- readonly indexed: true;
861
- }, {
862
- readonly name: "asset";
863
- readonly type: "address";
864
- readonly indexed: true;
865
- }, {
866
- readonly name: "greenMinted";
867
- readonly type: "uint256";
868
- readonly indexed: false;
869
- }];
870
- readonly anonymous: false;
871
- readonly type: "event";
872
- }, {
873
- readonly name: "EndaoPartnerPoolExecuted";
874
- readonly inputs: readonly [{
875
- readonly name: "legoId";
584
+ readonly name: "confirmationBlock";
876
585
  readonly type: "uint256";
877
586
  readonly indexed: false;
878
587
  }, {
879
- readonly name: "pool";
880
- readonly type: "address";
881
- readonly indexed: true;
882
- }, {
883
- readonly name: "partner";
884
- readonly type: "address";
885
- readonly indexed: true;
886
- }, {
887
- readonly name: "asset";
888
- readonly type: "address";
889
- readonly indexed: true;
890
- }];
891
- readonly anonymous: false;
892
- readonly type: "event";
893
- }, {
894
- readonly name: "EndaoRepayExecuted";
895
- readonly inputs: readonly [{
896
- readonly name: "pool";
897
- readonly type: "address";
898
- readonly indexed: true;
899
- }, {
900
- readonly name: "success";
901
- readonly type: "bool";
902
- readonly indexed: false;
903
- }];
904
- readonly anonymous: false;
905
- readonly type: "event";
906
- }, {
907
- readonly name: "EndaoRecoverNftExecuted";
908
- readonly inputs: readonly [{
909
- readonly name: "collection";
910
- readonly type: "address";
911
- readonly indexed: true;
912
- }, {
913
- readonly name: "nftTokenId";
588
+ readonly name: "actionId";
914
589
  readonly type: "uint256";
915
590
  readonly indexed: false;
916
- }, {
917
- readonly name: "recipient";
918
- readonly type: "address";
919
- readonly indexed: true;
920
- }, {
921
- readonly name: "success";
922
- readonly type: "bool";
923
- readonly indexed: false;
924
- }];
925
- readonly anonymous: false;
926
- readonly type: "event";
927
- }, {
928
- readonly name: "TrainingWheelsSet";
929
- readonly inputs: readonly [{
930
- readonly name: "trainingWheels";
931
- readonly type: "address";
932
- readonly indexed: true;
933
- }];
934
- readonly anonymous: false;
935
- readonly type: "event";
936
- }, {
937
- readonly name: "TrainingWheelsAccessSet";
938
- readonly inputs: readonly [{
939
- readonly name: "trainingWheels";
940
- readonly type: "address";
941
- readonly indexed: true;
942
- }, {
943
- readonly name: "user";
944
- readonly type: "address";
945
- readonly indexed: true;
946
- }, {
947
- readonly name: "isAllowed";
948
- readonly type: "bool";
949
- readonly indexed: false;
950
591
  }];
951
592
  readonly anonymous: false;
952
593
  readonly type: "event";
@@ -1569,35 +1210,8 @@ export declare const abi: readonly [{
1569
1210
  }, {
1570
1211
  readonly stateMutability: "nonpayable";
1571
1212
  readonly type: "function";
1572
- readonly name: "claimDepositLootForAsset";
1573
- readonly inputs: readonly [{
1574
- readonly name: "_user";
1575
- readonly type: "address";
1576
- }, {
1577
- readonly name: "_vaultId";
1578
- readonly type: "uint256";
1579
- }, {
1580
- readonly name: "_asset";
1581
- readonly type: "address";
1582
- }];
1583
- readonly outputs: readonly [{
1584
- readonly name: "";
1585
- readonly type: "uint256";
1586
- }];
1587
- }, {
1588
- readonly stateMutability: "nonpayable";
1589
- readonly type: "function";
1590
- readonly name: "updateDepositPoints";
1591
- readonly inputs: readonly [{
1592
- readonly name: "_user";
1593
- readonly type: "address";
1594
- }, {
1595
- readonly name: "_vaultId";
1596
- readonly type: "uint256";
1597
- }, {
1598
- readonly name: "_asset";
1599
- readonly type: "address";
1600
- }];
1213
+ readonly name: "distributeUnderscoreRewards";
1214
+ readonly inputs: readonly [];
1601
1215
  readonly outputs: readonly [{
1602
1216
  readonly name: "";
1603
1217
  readonly type: "bool";
@@ -1605,97 +1219,23 @@ export declare const abi: readonly [{
1605
1219
  }, {
1606
1220
  readonly stateMutability: "nonpayable";
1607
1221
  readonly type: "function";
1608
- readonly name: "updateManyDepositPoints";
1222
+ readonly name: "setHasUnderscoreRewards";
1609
1223
  readonly inputs: readonly [{
1610
- readonly name: "_users";
1611
- readonly type: "address[]";
1612
- }, {
1613
- readonly name: "_vaultId";
1614
- readonly type: "uint256";
1615
- }, {
1616
- readonly name: "_asset";
1617
- readonly type: "address";
1618
- }];
1619
- readonly outputs: readonly [{
1620
- readonly name: "";
1224
+ readonly name: "_hasRewards";
1621
1225
  readonly type: "bool";
1622
1226
  }];
1623
- }, {
1624
- readonly stateMutability: "nonpayable";
1625
- readonly type: "function";
1626
- readonly name: "startAuction";
1627
- readonly inputs: readonly [{
1628
- readonly name: "_liqUser";
1629
- readonly type: "address";
1630
- }, {
1631
- readonly name: "_vaultId";
1632
- readonly type: "uint256";
1633
- }, {
1634
- readonly name: "_asset";
1635
- readonly type: "address";
1636
- }];
1637
1227
  readonly outputs: readonly [{
1638
1228
  readonly name: "";
1639
- readonly type: "uint256";
1640
- }];
1641
- }, {
1642
- readonly stateMutability: "nonpayable";
1643
- readonly type: "function";
1644
- readonly name: "startManyAuctions";
1645
- readonly inputs: readonly [{
1646
- readonly name: "_auctions";
1647
- readonly type: "tuple[]";
1648
- readonly components: readonly [{
1649
- readonly name: "liqUser";
1650
- readonly type: "address";
1651
- }, {
1652
- readonly name: "vaultId";
1653
- readonly type: "uint256";
1654
- }, {
1655
- readonly name: "asset";
1656
- readonly type: "address";
1657
- }];
1658
- }];
1659
- readonly outputs: readonly [{
1660
- readonly name: "";
1661
- readonly type: "uint256";
1229
+ readonly type: "bool";
1662
1230
  }];
1663
1231
  }, {
1664
1232
  readonly stateMutability: "nonpayable";
1665
1233
  readonly type: "function";
1666
- readonly name: "pauseAuction";
1234
+ readonly name: "setUnderscoreSendInterval";
1667
1235
  readonly inputs: readonly [{
1668
- readonly name: "_liqUser";
1669
- readonly type: "address";
1670
- }, {
1671
- readonly name: "_vaultId";
1672
- readonly type: "uint256";
1673
- }, {
1674
- readonly name: "_asset";
1675
- readonly type: "address";
1676
- }];
1677
- readonly outputs: readonly [{
1678
- readonly name: "";
1236
+ readonly name: "_interval";
1679
1237
  readonly type: "uint256";
1680
1238
  }];
1681
- }, {
1682
- readonly stateMutability: "nonpayable";
1683
- readonly type: "function";
1684
- readonly name: "pauseManyAuctions";
1685
- readonly inputs: readonly [{
1686
- readonly name: "_auctions";
1687
- readonly type: "tuple[]";
1688
- readonly components: readonly [{
1689
- readonly name: "liqUser";
1690
- readonly type: "address";
1691
- }, {
1692
- readonly name: "vaultId";
1693
- readonly type: "uint256";
1694
- }, {
1695
- readonly name: "asset";
1696
- readonly type: "address";
1697
- }];
1698
- }];
1699
1239
  readonly outputs: readonly [{
1700
1240
  readonly name: "";
1701
1241
  readonly type: "uint256";
@@ -1703,896 +1243,40 @@ export declare const abi: readonly [{
1703
1243
  }, {
1704
1244
  readonly stateMutability: "nonpayable";
1705
1245
  readonly type: "function";
1706
- readonly name: "performEndaomentDeposit";
1246
+ readonly name: "setUndyDepositRewardsAmount";
1707
1247
  readonly inputs: readonly [{
1708
- readonly name: "_legoId";
1248
+ readonly name: "_amount";
1709
1249
  readonly type: "uint256";
1710
- }, {
1711
- readonly name: "_asset";
1712
- readonly type: "address";
1713
1250
  }];
1714
1251
  readonly outputs: readonly [{
1715
1252
  readonly name: "";
1716
1253
  readonly type: "uint256";
1717
- }, {
1718
- readonly name: "";
1719
- readonly type: "address";
1720
- }, {
1721
- readonly name: "";
1722
- readonly type: "uint256";
1723
- }, {
1724
- readonly name: "";
1725
- readonly type: "uint256";
1726
1254
  }];
1727
1255
  }, {
1728
1256
  readonly stateMutability: "nonpayable";
1729
1257
  readonly type: "function";
1730
- readonly name: "performEndaomentDeposit";
1258
+ readonly name: "setUndyYieldBonusAmount";
1731
1259
  readonly inputs: readonly [{
1732
- readonly name: "_legoId";
1260
+ readonly name: "_amount";
1733
1261
  readonly type: "uint256";
1734
- }, {
1735
- readonly name: "_asset";
1736
- readonly type: "address";
1737
- }, {
1738
- readonly name: "_vaultAddr";
1739
- readonly type: "address";
1740
1262
  }];
1741
1263
  readonly outputs: readonly [{
1742
1264
  readonly name: "";
1743
1265
  readonly type: "uint256";
1744
- }, {
1745
- readonly name: "";
1746
- readonly type: "address";
1747
- }, {
1748
- readonly name: "";
1749
- readonly type: "uint256";
1750
- }, {
1751
- readonly name: "";
1752
- readonly type: "uint256";
1753
1266
  }];
1754
1267
  }, {
1755
1268
  readonly stateMutability: "nonpayable";
1756
1269
  readonly type: "function";
1757
- readonly name: "performEndaomentDeposit";
1270
+ readonly name: "claimDepositLootForAsset";
1758
1271
  readonly inputs: readonly [{
1759
- readonly name: "_legoId";
1760
- readonly type: "uint256";
1761
- }, {
1762
- readonly name: "_asset";
1763
- readonly type: "address";
1764
- }, {
1765
- readonly name: "_vaultAddr";
1766
- readonly type: "address";
1767
- }, {
1768
- readonly name: "_amount";
1769
- readonly type: "uint256";
1770
- }];
1771
- readonly outputs: readonly [{
1772
- readonly name: "";
1773
- readonly type: "uint256";
1774
- }, {
1775
- readonly name: "";
1776
- readonly type: "address";
1777
- }, {
1778
- readonly name: "";
1779
- readonly type: "uint256";
1780
- }, {
1781
- readonly name: "";
1782
- readonly type: "uint256";
1783
- }];
1784
- }, {
1785
- readonly stateMutability: "nonpayable";
1786
- readonly type: "function";
1787
- readonly name: "performEndaomentDeposit";
1788
- readonly inputs: readonly [{
1789
- readonly name: "_legoId";
1790
- readonly type: "uint256";
1791
- }, {
1792
- readonly name: "_asset";
1793
- readonly type: "address";
1794
- }, {
1795
- readonly name: "_vaultAddr";
1796
- readonly type: "address";
1797
- }, {
1798
- readonly name: "_amount";
1799
- readonly type: "uint256";
1800
- }, {
1801
- readonly name: "_extraData";
1802
- readonly type: "bytes32";
1803
- }];
1804
- readonly outputs: readonly [{
1805
- readonly name: "";
1806
- readonly type: "uint256";
1807
- }, {
1808
- readonly name: "";
1809
- readonly type: "address";
1810
- }, {
1811
- readonly name: "";
1812
- readonly type: "uint256";
1813
- }, {
1814
- readonly name: "";
1815
- readonly type: "uint256";
1816
- }];
1817
- }, {
1818
- readonly stateMutability: "nonpayable";
1819
- readonly type: "function";
1820
- readonly name: "performEndaomentWithdraw";
1821
- readonly inputs: readonly [{
1822
- readonly name: "_legoId";
1823
- readonly type: "uint256";
1824
- }, {
1825
- readonly name: "_vaultToken";
1826
- readonly type: "address";
1827
- }];
1828
- readonly outputs: readonly [{
1829
- readonly name: "";
1830
- readonly type: "uint256";
1831
- }, {
1832
- readonly name: "";
1833
- readonly type: "address";
1834
- }, {
1835
- readonly name: "";
1836
- readonly type: "uint256";
1837
- }, {
1838
- readonly name: "";
1839
- readonly type: "uint256";
1840
- }];
1841
- }, {
1842
- readonly stateMutability: "nonpayable";
1843
- readonly type: "function";
1844
- readonly name: "performEndaomentWithdraw";
1845
- readonly inputs: readonly [{
1846
- readonly name: "_legoId";
1847
- readonly type: "uint256";
1848
- }, {
1849
- readonly name: "_vaultToken";
1850
- readonly type: "address";
1851
- }, {
1852
- readonly name: "_amount";
1853
- readonly type: "uint256";
1854
- }];
1855
- readonly outputs: readonly [{
1856
- readonly name: "";
1857
- readonly type: "uint256";
1858
- }, {
1859
- readonly name: "";
1860
- readonly type: "address";
1861
- }, {
1862
- readonly name: "";
1863
- readonly type: "uint256";
1864
- }, {
1865
- readonly name: "";
1866
- readonly type: "uint256";
1867
- }];
1868
- }, {
1869
- readonly stateMutability: "nonpayable";
1870
- readonly type: "function";
1871
- readonly name: "performEndaomentWithdraw";
1872
- readonly inputs: readonly [{
1873
- readonly name: "_legoId";
1874
- readonly type: "uint256";
1875
- }, {
1876
- readonly name: "_vaultToken";
1877
- readonly type: "address";
1878
- }, {
1879
- readonly name: "_amount";
1880
- readonly type: "uint256";
1881
- }, {
1882
- readonly name: "_extraData";
1883
- readonly type: "bytes32";
1884
- }];
1885
- readonly outputs: readonly [{
1886
- readonly name: "";
1887
- readonly type: "uint256";
1888
- }, {
1889
- readonly name: "";
1890
- readonly type: "address";
1891
- }, {
1892
- readonly name: "";
1893
- readonly type: "uint256";
1894
- }, {
1895
- readonly name: "";
1896
- readonly type: "uint256";
1897
- }];
1898
- }, {
1899
- readonly stateMutability: "nonpayable";
1900
- readonly type: "function";
1901
- readonly name: "performEndaomentRebalance";
1902
- readonly inputs: readonly [{
1903
- readonly name: "_fromLegoId";
1904
- readonly type: "uint256";
1905
- }, {
1906
- readonly name: "_fromVaultToken";
1907
- readonly type: "address";
1908
- }, {
1909
- readonly name: "_toLegoId";
1910
- readonly type: "uint256";
1911
- }];
1912
- readonly outputs: readonly [{
1913
- readonly name: "";
1914
- readonly type: "uint256";
1915
- }, {
1916
- readonly name: "";
1917
- readonly type: "address";
1918
- }, {
1919
- readonly name: "";
1920
- readonly type: "uint256";
1921
- }, {
1922
- readonly name: "";
1923
- readonly type: "uint256";
1924
- }];
1925
- }, {
1926
- readonly stateMutability: "nonpayable";
1927
- readonly type: "function";
1928
- readonly name: "performEndaomentRebalance";
1929
- readonly inputs: readonly [{
1930
- readonly name: "_fromLegoId";
1931
- readonly type: "uint256";
1932
- }, {
1933
- readonly name: "_fromVaultToken";
1934
- readonly type: "address";
1935
- }, {
1936
- readonly name: "_toLegoId";
1937
- readonly type: "uint256";
1938
- }, {
1939
- readonly name: "_toVaultAddr";
1940
- readonly type: "address";
1941
- }];
1942
- readonly outputs: readonly [{
1943
- readonly name: "";
1944
- readonly type: "uint256";
1945
- }, {
1946
- readonly name: "";
1947
- readonly type: "address";
1948
- }, {
1949
- readonly name: "";
1950
- readonly type: "uint256";
1951
- }, {
1952
- readonly name: "";
1953
- readonly type: "uint256";
1954
- }];
1955
- }, {
1956
- readonly stateMutability: "nonpayable";
1957
- readonly type: "function";
1958
- readonly name: "performEndaomentRebalance";
1959
- readonly inputs: readonly [{
1960
- readonly name: "_fromLegoId";
1961
- readonly type: "uint256";
1962
- }, {
1963
- readonly name: "_fromVaultToken";
1964
- readonly type: "address";
1965
- }, {
1966
- readonly name: "_toLegoId";
1967
- readonly type: "uint256";
1968
- }, {
1969
- readonly name: "_toVaultAddr";
1970
- readonly type: "address";
1971
- }, {
1972
- readonly name: "_fromVaultAmount";
1973
- readonly type: "uint256";
1974
- }];
1975
- readonly outputs: readonly [{
1976
- readonly name: "";
1977
- readonly type: "uint256";
1978
- }, {
1979
- readonly name: "";
1980
- readonly type: "address";
1981
- }, {
1982
- readonly name: "";
1983
- readonly type: "uint256";
1984
- }, {
1985
- readonly name: "";
1986
- readonly type: "uint256";
1987
- }];
1988
- }, {
1989
- readonly stateMutability: "nonpayable";
1990
- readonly type: "function";
1991
- readonly name: "performEndaomentRebalance";
1992
- readonly inputs: readonly [{
1993
- readonly name: "_fromLegoId";
1994
- readonly type: "uint256";
1995
- }, {
1996
- readonly name: "_fromVaultToken";
1997
- readonly type: "address";
1998
- }, {
1999
- readonly name: "_toLegoId";
2000
- readonly type: "uint256";
2001
- }, {
2002
- readonly name: "_toVaultAddr";
2003
- readonly type: "address";
2004
- }, {
2005
- readonly name: "_fromVaultAmount";
2006
- readonly type: "uint256";
2007
- }, {
2008
- readonly name: "_extraData";
2009
- readonly type: "bytes32";
2010
- }];
2011
- readonly outputs: readonly [{
2012
- readonly name: "";
2013
- readonly type: "uint256";
2014
- }, {
2015
- readonly name: "";
2016
- readonly type: "address";
2017
- }, {
2018
- readonly name: "";
2019
- readonly type: "uint256";
2020
- }, {
2021
- readonly name: "";
2022
- readonly type: "uint256";
2023
- }];
2024
- }, {
2025
- readonly stateMutability: "payable";
2026
- readonly type: "function";
2027
- readonly name: "performEndaomentEthToWeth";
2028
- readonly inputs: readonly [];
2029
- readonly outputs: readonly [{
2030
- readonly name: "";
2031
- readonly type: "uint256";
2032
- }, {
2033
- readonly name: "";
2034
- readonly type: "uint256";
2035
- }];
2036
- }, {
2037
- readonly stateMutability: "payable";
2038
- readonly type: "function";
2039
- readonly name: "performEndaomentEthToWeth";
2040
- readonly inputs: readonly [{
2041
- readonly name: "_amount";
2042
- readonly type: "uint256";
2043
- }];
2044
- readonly outputs: readonly [{
2045
- readonly name: "";
2046
- readonly type: "uint256";
2047
- }, {
2048
- readonly name: "";
2049
- readonly type: "uint256";
2050
- }];
2051
- }, {
2052
- readonly stateMutability: "nonpayable";
2053
- readonly type: "function";
2054
- readonly name: "performEndaomentWethToEth";
2055
- readonly inputs: readonly [];
2056
- readonly outputs: readonly [{
2057
- readonly name: "";
2058
- readonly type: "uint256";
2059
- }, {
2060
- readonly name: "";
2061
- readonly type: "uint256";
2062
- }];
2063
- }, {
2064
- readonly stateMutability: "nonpayable";
2065
- readonly type: "function";
2066
- readonly name: "performEndaomentWethToEth";
2067
- readonly inputs: readonly [{
2068
- readonly name: "_amount";
2069
- readonly type: "uint256";
2070
- }];
2071
- readonly outputs: readonly [{
2072
- readonly name: "";
2073
- readonly type: "uint256";
2074
- }, {
2075
- readonly name: "";
2076
- readonly type: "uint256";
2077
- }];
2078
- }, {
2079
- readonly stateMutability: "nonpayable";
2080
- readonly type: "function";
2081
- readonly name: "performEndaomentClaim";
2082
- readonly inputs: readonly [{
2083
- readonly name: "_legoId";
2084
- readonly type: "uint256";
2085
- }];
2086
- readonly outputs: readonly [{
2087
- readonly name: "";
2088
- readonly type: "uint256";
2089
- }, {
2090
- readonly name: "";
2091
- readonly type: "uint256";
2092
- }];
2093
- }, {
2094
- readonly stateMutability: "nonpayable";
2095
- readonly type: "function";
2096
- readonly name: "performEndaomentClaim";
2097
- readonly inputs: readonly [{
2098
- readonly name: "_legoId";
2099
- readonly type: "uint256";
2100
- }, {
2101
- readonly name: "_rewardToken";
2102
- readonly type: "address";
2103
- }];
2104
- readonly outputs: readonly [{
2105
- readonly name: "";
2106
- readonly type: "uint256";
2107
- }, {
2108
- readonly name: "";
2109
- readonly type: "uint256";
2110
- }];
2111
- }, {
2112
- readonly stateMutability: "nonpayable";
2113
- readonly type: "function";
2114
- readonly name: "performEndaomentClaim";
2115
- readonly inputs: readonly [{
2116
- readonly name: "_legoId";
2117
- readonly type: "uint256";
2118
- }, {
2119
- readonly name: "_rewardToken";
2120
- readonly type: "address";
2121
- }, {
2122
- readonly name: "_rewardAmount";
2123
- readonly type: "uint256";
2124
- }];
2125
- readonly outputs: readonly [{
2126
- readonly name: "";
2127
- readonly type: "uint256";
2128
- }, {
2129
- readonly name: "";
2130
- readonly type: "uint256";
2131
- }];
2132
- }, {
2133
- readonly stateMutability: "nonpayable";
2134
- readonly type: "function";
2135
- readonly name: "performEndaomentClaim";
2136
- readonly inputs: readonly [{
2137
- readonly name: "_legoId";
2138
- readonly type: "uint256";
2139
- }, {
2140
- readonly name: "_rewardToken";
2141
- readonly type: "address";
2142
- }, {
2143
- readonly name: "_rewardAmount";
2144
- readonly type: "uint256";
2145
- }, {
2146
- readonly name: "_extraData";
2147
- readonly type: "bytes32";
2148
- }];
2149
- readonly outputs: readonly [{
2150
- readonly name: "";
2151
- readonly type: "uint256";
2152
- }, {
2153
- readonly name: "";
2154
- readonly type: "uint256";
2155
- }];
2156
- }, {
2157
- readonly stateMutability: "nonpayable";
2158
- readonly type: "function";
2159
- readonly name: "performEndaomentStabilizer";
2160
- readonly inputs: readonly [];
2161
- readonly outputs: readonly [{
2162
- readonly name: "";
2163
- readonly type: "bool";
2164
- }];
2165
- }, {
2166
- readonly stateMutability: "nonpayable";
2167
- readonly type: "function";
2168
- readonly name: "performEndaomentTransfer";
2169
- readonly inputs: readonly [{
2170
- readonly name: "_asset";
2171
- readonly type: "address";
2172
- }, {
2173
- readonly name: "_amount";
2174
- readonly type: "uint256";
2175
- }];
2176
- readonly outputs: readonly [{
2177
- readonly name: "";
2178
- readonly type: "uint256";
2179
- }];
2180
- }, {
2181
- readonly stateMutability: "nonpayable";
2182
- readonly type: "function";
2183
- readonly name: "performEndaomentSwap";
2184
- readonly inputs: readonly [{
2185
- readonly name: "_instructions";
2186
- readonly type: "tuple[]";
2187
- readonly components: readonly [{
2188
- readonly name: "legoId";
2189
- readonly type: "uint256";
2190
- }, {
2191
- readonly name: "amountIn";
2192
- readonly type: "uint256";
2193
- }, {
2194
- readonly name: "minAmountOut";
2195
- readonly type: "uint256";
2196
- }, {
2197
- readonly name: "tokenPath";
2198
- readonly type: "address[]";
2199
- }, {
2200
- readonly name: "poolPath";
2201
- readonly type: "address[]";
2202
- }];
2203
- }];
2204
- readonly outputs: readonly [{
2205
- readonly name: "";
2206
- readonly type: "uint256";
2207
- }];
2208
- }, {
2209
- readonly stateMutability: "nonpayable";
2210
- readonly type: "function";
2211
- readonly name: "addLiquidityInEndaoment";
2212
- readonly inputs: readonly [{
2213
- readonly name: "_legoId";
2214
- readonly type: "uint256";
2215
- }, {
2216
- readonly name: "_pool";
2217
- readonly type: "address";
2218
- }, {
2219
- readonly name: "_tokenA";
2220
- readonly type: "address";
2221
- }, {
2222
- readonly name: "_tokenB";
2223
- readonly type: "address";
2224
- }];
2225
- readonly outputs: readonly [{
2226
- readonly name: "";
2227
- readonly type: "uint256";
2228
- }];
2229
- }, {
2230
- readonly stateMutability: "nonpayable";
2231
- readonly type: "function";
2232
- readonly name: "addLiquidityInEndaoment";
2233
- readonly inputs: readonly [{
2234
- readonly name: "_legoId";
2235
- readonly type: "uint256";
2236
- }, {
2237
- readonly name: "_pool";
2238
- readonly type: "address";
2239
- }, {
2240
- readonly name: "_tokenA";
2241
- readonly type: "address";
2242
- }, {
2243
- readonly name: "_tokenB";
2244
- readonly type: "address";
2245
- }, {
2246
- readonly name: "_amountA";
2247
- readonly type: "uint256";
2248
- }];
2249
- readonly outputs: readonly [{
2250
- readonly name: "";
2251
- readonly type: "uint256";
2252
- }];
2253
- }, {
2254
- readonly stateMutability: "nonpayable";
2255
- readonly type: "function";
2256
- readonly name: "addLiquidityInEndaoment";
2257
- readonly inputs: readonly [{
2258
- readonly name: "_legoId";
2259
- readonly type: "uint256";
2260
- }, {
2261
- readonly name: "_pool";
2262
- readonly type: "address";
2263
- }, {
2264
- readonly name: "_tokenA";
2265
- readonly type: "address";
2266
- }, {
2267
- readonly name: "_tokenB";
2268
- readonly type: "address";
2269
- }, {
2270
- readonly name: "_amountA";
2271
- readonly type: "uint256";
2272
- }, {
2273
- readonly name: "_amountB";
2274
- readonly type: "uint256";
2275
- }];
2276
- readonly outputs: readonly [{
2277
- readonly name: "";
2278
- readonly type: "uint256";
2279
- }];
2280
- }, {
2281
- readonly stateMutability: "nonpayable";
2282
- readonly type: "function";
2283
- readonly name: "addLiquidityInEndaoment";
2284
- readonly inputs: readonly [{
2285
- readonly name: "_legoId";
2286
- readonly type: "uint256";
2287
- }, {
2288
- readonly name: "_pool";
2289
- readonly type: "address";
2290
- }, {
2291
- readonly name: "_tokenA";
2292
- readonly type: "address";
2293
- }, {
2294
- readonly name: "_tokenB";
2295
- readonly type: "address";
2296
- }, {
2297
- readonly name: "_amountA";
2298
- readonly type: "uint256";
2299
- }, {
2300
- readonly name: "_amountB";
2301
- readonly type: "uint256";
2302
- }, {
2303
- readonly name: "_minAmountA";
2304
- readonly type: "uint256";
2305
- }];
2306
- readonly outputs: readonly [{
2307
- readonly name: "";
2308
- readonly type: "uint256";
2309
- }];
2310
- }, {
2311
- readonly stateMutability: "nonpayable";
2312
- readonly type: "function";
2313
- readonly name: "addLiquidityInEndaoment";
2314
- readonly inputs: readonly [{
2315
- readonly name: "_legoId";
2316
- readonly type: "uint256";
2317
- }, {
2318
- readonly name: "_pool";
2319
- readonly type: "address";
2320
- }, {
2321
- readonly name: "_tokenA";
2322
- readonly type: "address";
2323
- }, {
2324
- readonly name: "_tokenB";
2325
- readonly type: "address";
2326
- }, {
2327
- readonly name: "_amountA";
2328
- readonly type: "uint256";
2329
- }, {
2330
- readonly name: "_amountB";
2331
- readonly type: "uint256";
2332
- }, {
2333
- readonly name: "_minAmountA";
2334
- readonly type: "uint256";
2335
- }, {
2336
- readonly name: "_minAmountB";
2337
- readonly type: "uint256";
2338
- }];
2339
- readonly outputs: readonly [{
2340
- readonly name: "";
2341
- readonly type: "uint256";
2342
- }];
2343
- }, {
2344
- readonly stateMutability: "nonpayable";
2345
- readonly type: "function";
2346
- readonly name: "addLiquidityInEndaoment";
2347
- readonly inputs: readonly [{
2348
- readonly name: "_legoId";
2349
- readonly type: "uint256";
2350
- }, {
2351
- readonly name: "_pool";
2352
- readonly type: "address";
2353
- }, {
2354
- readonly name: "_tokenA";
2355
- readonly type: "address";
2356
- }, {
2357
- readonly name: "_tokenB";
2358
- readonly type: "address";
2359
- }, {
2360
- readonly name: "_amountA";
2361
- readonly type: "uint256";
2362
- }, {
2363
- readonly name: "_amountB";
2364
- readonly type: "uint256";
2365
- }, {
2366
- readonly name: "_minAmountA";
2367
- readonly type: "uint256";
2368
- }, {
2369
- readonly name: "_minAmountB";
2370
- readonly type: "uint256";
2371
- }, {
2372
- readonly name: "_minLpAmount";
2373
- readonly type: "uint256";
2374
- }];
2375
- readonly outputs: readonly [{
2376
- readonly name: "";
2377
- readonly type: "uint256";
2378
- }];
2379
- }, {
2380
- readonly stateMutability: "nonpayable";
2381
- readonly type: "function";
2382
- readonly name: "addLiquidityInEndaoment";
2383
- readonly inputs: readonly [{
2384
- readonly name: "_legoId";
2385
- readonly type: "uint256";
2386
- }, {
2387
- readonly name: "_pool";
2388
- readonly type: "address";
2389
- }, {
2390
- readonly name: "_tokenA";
2391
- readonly type: "address";
2392
- }, {
2393
- readonly name: "_tokenB";
2394
- readonly type: "address";
2395
- }, {
2396
- readonly name: "_amountA";
2397
- readonly type: "uint256";
2398
- }, {
2399
- readonly name: "_amountB";
2400
- readonly type: "uint256";
2401
- }, {
2402
- readonly name: "_minAmountA";
2403
- readonly type: "uint256";
2404
- }, {
2405
- readonly name: "_minAmountB";
2406
- readonly type: "uint256";
2407
- }, {
2408
- readonly name: "_minLpAmount";
2409
- readonly type: "uint256";
2410
- }, {
2411
- readonly name: "_extraData";
2412
- readonly type: "bytes32";
2413
- }];
2414
- readonly outputs: readonly [{
2415
- readonly name: "";
2416
- readonly type: "uint256";
2417
- }];
2418
- }, {
2419
- readonly stateMutability: "nonpayable";
2420
- readonly type: "function";
2421
- readonly name: "removeLiquidityInEndaoment";
2422
- readonly inputs: readonly [{
2423
- readonly name: "_legoId";
2424
- readonly type: "uint256";
2425
- }, {
2426
- readonly name: "_pool";
2427
- readonly type: "address";
2428
- }, {
2429
- readonly name: "_tokenA";
2430
- readonly type: "address";
2431
- }, {
2432
- readonly name: "_tokenB";
2433
- readonly type: "address";
2434
- }, {
2435
- readonly name: "_lpToken";
2436
- readonly type: "address";
2437
- }];
2438
- readonly outputs: readonly [{
2439
- readonly name: "";
2440
- readonly type: "uint256";
2441
- }];
2442
- }, {
2443
- readonly stateMutability: "nonpayable";
2444
- readonly type: "function";
2445
- readonly name: "removeLiquidityInEndaoment";
2446
- readonly inputs: readonly [{
2447
- readonly name: "_legoId";
2448
- readonly type: "uint256";
2449
- }, {
2450
- readonly name: "_pool";
2451
- readonly type: "address";
2452
- }, {
2453
- readonly name: "_tokenA";
2454
- readonly type: "address";
2455
- }, {
2456
- readonly name: "_tokenB";
2457
- readonly type: "address";
2458
- }, {
2459
- readonly name: "_lpToken";
2460
- readonly type: "address";
2461
- }, {
2462
- readonly name: "_lpAmount";
2463
- readonly type: "uint256";
2464
- }];
2465
- readonly outputs: readonly [{
2466
- readonly name: "";
2467
- readonly type: "uint256";
2468
- }];
2469
- }, {
2470
- readonly stateMutability: "nonpayable";
2471
- readonly type: "function";
2472
- readonly name: "removeLiquidityInEndaoment";
2473
- readonly inputs: readonly [{
2474
- readonly name: "_legoId";
2475
- readonly type: "uint256";
2476
- }, {
2477
- readonly name: "_pool";
2478
- readonly type: "address";
2479
- }, {
2480
- readonly name: "_tokenA";
2481
- readonly type: "address";
2482
- }, {
2483
- readonly name: "_tokenB";
2484
- readonly type: "address";
2485
- }, {
2486
- readonly name: "_lpToken";
2487
- readonly type: "address";
2488
- }, {
2489
- readonly name: "_lpAmount";
2490
- readonly type: "uint256";
2491
- }, {
2492
- readonly name: "_minAmountA";
2493
- readonly type: "uint256";
2494
- }];
2495
- readonly outputs: readonly [{
2496
- readonly name: "";
2497
- readonly type: "uint256";
2498
- }];
2499
- }, {
2500
- readonly stateMutability: "nonpayable";
2501
- readonly type: "function";
2502
- readonly name: "removeLiquidityInEndaoment";
2503
- readonly inputs: readonly [{
2504
- readonly name: "_legoId";
2505
- readonly type: "uint256";
2506
- }, {
2507
- readonly name: "_pool";
2508
- readonly type: "address";
2509
- }, {
2510
- readonly name: "_tokenA";
2511
- readonly type: "address";
2512
- }, {
2513
- readonly name: "_tokenB";
2514
- readonly type: "address";
2515
- }, {
2516
- readonly name: "_lpToken";
2517
- readonly type: "address";
2518
- }, {
2519
- readonly name: "_lpAmount";
2520
- readonly type: "uint256";
2521
- }, {
2522
- readonly name: "_minAmountA";
2523
- readonly type: "uint256";
2524
- }, {
2525
- readonly name: "_minAmountB";
2526
- readonly type: "uint256";
2527
- }];
2528
- readonly outputs: readonly [{
2529
- readonly name: "";
2530
- readonly type: "uint256";
2531
- }];
2532
- }, {
2533
- readonly stateMutability: "nonpayable";
2534
- readonly type: "function";
2535
- readonly name: "removeLiquidityInEndaoment";
2536
- readonly inputs: readonly [{
2537
- readonly name: "_legoId";
2538
- readonly type: "uint256";
2539
- }, {
2540
- readonly name: "_pool";
2541
- readonly type: "address";
2542
- }, {
2543
- readonly name: "_tokenA";
2544
- readonly type: "address";
2545
- }, {
2546
- readonly name: "_tokenB";
2547
- readonly type: "address";
2548
- }, {
2549
- readonly name: "_lpToken";
2550
- readonly type: "address";
2551
- }, {
2552
- readonly name: "_lpAmount";
2553
- readonly type: "uint256";
2554
- }, {
2555
- readonly name: "_minAmountA";
2556
- readonly type: "uint256";
2557
- }, {
2558
- readonly name: "_minAmountB";
2559
- readonly type: "uint256";
2560
- }, {
2561
- readonly name: "_extraData";
2562
- readonly type: "bytes32";
2563
- }];
2564
- readonly outputs: readonly [{
2565
- readonly name: "";
2566
- readonly type: "uint256";
2567
- }];
2568
- }, {
2569
- readonly stateMutability: "nonpayable";
2570
- readonly type: "function";
2571
- readonly name: "mintPartnerLiquidityInEndaoment";
2572
- readonly inputs: readonly [{
2573
- readonly name: "_partner";
2574
- readonly type: "address";
2575
- }, {
2576
- readonly name: "_asset";
2577
- readonly type: "address";
2578
- }];
2579
- readonly outputs: readonly [{
2580
- readonly name: "";
2581
- readonly type: "uint256";
2582
- }];
2583
- }, {
2584
- readonly stateMutability: "nonpayable";
2585
- readonly type: "function";
2586
- readonly name: "mintPartnerLiquidityInEndaoment";
2587
- readonly inputs: readonly [{
2588
- readonly name: "_partner";
1272
+ readonly name: "_user";
2589
1273
  readonly type: "address";
1274
+ }, {
1275
+ readonly name: "_vaultId";
1276
+ readonly type: "uint256";
2590
1277
  }, {
2591
1278
  readonly name: "_asset";
2592
1279
  readonly type: "address";
2593
- }, {
2594
- readonly name: "_amount";
2595
- readonly type: "uint256";
2596
1280
  }];
2597
1281
  readonly outputs: readonly [{
2598
1282
  readonly name: "";
@@ -2601,70 +1285,52 @@ export declare const abi: readonly [{
2601
1285
  }, {
2602
1286
  readonly stateMutability: "nonpayable";
2603
1287
  readonly type: "function";
2604
- readonly name: "addPartnerLiquidityInEndaoment";
1288
+ readonly name: "updateDepositPoints";
2605
1289
  readonly inputs: readonly [{
2606
- readonly name: "_legoId";
2607
- readonly type: "uint256";
2608
- }, {
2609
- readonly name: "_pool";
1290
+ readonly name: "_user";
2610
1291
  readonly type: "address";
2611
1292
  }, {
2612
- readonly name: "_partner";
2613
- readonly type: "address";
1293
+ readonly name: "_vaultId";
1294
+ readonly type: "uint256";
2614
1295
  }, {
2615
1296
  readonly name: "_asset";
2616
1297
  readonly type: "address";
2617
1298
  }];
2618
1299
  readonly outputs: readonly [{
2619
1300
  readonly name: "";
2620
- readonly type: "uint256";
1301
+ readonly type: "bool";
2621
1302
  }];
2622
1303
  }, {
2623
1304
  readonly stateMutability: "nonpayable";
2624
1305
  readonly type: "function";
2625
- readonly name: "addPartnerLiquidityInEndaoment";
1306
+ readonly name: "updateManyDepositPoints";
2626
1307
  readonly inputs: readonly [{
2627
- readonly name: "_legoId";
2628
- readonly type: "uint256";
2629
- }, {
2630
- readonly name: "_pool";
2631
- readonly type: "address";
1308
+ readonly name: "_users";
1309
+ readonly type: "address[]";
2632
1310
  }, {
2633
- readonly name: "_partner";
2634
- readonly type: "address";
1311
+ readonly name: "_vaultId";
1312
+ readonly type: "uint256";
2635
1313
  }, {
2636
1314
  readonly name: "_asset";
2637
1315
  readonly type: "address";
2638
- }, {
2639
- readonly name: "_amount";
2640
- readonly type: "uint256";
2641
1316
  }];
2642
1317
  readonly outputs: readonly [{
2643
1318
  readonly name: "";
2644
- readonly type: "uint256";
1319
+ readonly type: "bool";
2645
1320
  }];
2646
1321
  }, {
2647
1322
  readonly stateMutability: "nonpayable";
2648
1323
  readonly type: "function";
2649
- readonly name: "addPartnerLiquidityInEndaoment";
1324
+ readonly name: "startAuction";
2650
1325
  readonly inputs: readonly [{
2651
- readonly name: "_legoId";
2652
- readonly type: "uint256";
2653
- }, {
2654
- readonly name: "_pool";
1326
+ readonly name: "_liqUser";
2655
1327
  readonly type: "address";
2656
1328
  }, {
2657
- readonly name: "_partner";
2658
- readonly type: "address";
1329
+ readonly name: "_vaultId";
1330
+ readonly type: "uint256";
2659
1331
  }, {
2660
1332
  readonly name: "_asset";
2661
1333
  readonly type: "address";
2662
- }, {
2663
- readonly name: "_amount";
2664
- readonly type: "uint256";
2665
- }, {
2666
- readonly name: "_minLpAmount";
2667
- readonly type: "uint256";
2668
1334
  }];
2669
1335
  readonly outputs: readonly [{
2670
1336
  readonly name: "";
@@ -2673,10 +1339,20 @@ export declare const abi: readonly [{
2673
1339
  }, {
2674
1340
  readonly stateMutability: "nonpayable";
2675
1341
  readonly type: "function";
2676
- readonly name: "repayPoolDebtInEndaoment";
1342
+ readonly name: "startManyAuctions";
2677
1343
  readonly inputs: readonly [{
2678
- readonly name: "_pool";
2679
- readonly type: "address";
1344
+ readonly name: "_auctions";
1345
+ readonly type: "tuple[]";
1346
+ readonly components: readonly [{
1347
+ readonly name: "liqUser";
1348
+ readonly type: "address";
1349
+ }, {
1350
+ readonly name: "vaultId";
1351
+ readonly type: "uint256";
1352
+ }, {
1353
+ readonly name: "asset";
1354
+ readonly type: "address";
1355
+ }];
2680
1356
  }];
2681
1357
  readonly outputs: readonly [{
2682
1358
  readonly name: "";
@@ -2685,13 +1361,16 @@ export declare const abi: readonly [{
2685
1361
  }, {
2686
1362
  readonly stateMutability: "nonpayable";
2687
1363
  readonly type: "function";
2688
- readonly name: "repayPoolDebtInEndaoment";
1364
+ readonly name: "pauseAuction";
2689
1365
  readonly inputs: readonly [{
2690
- readonly name: "_pool";
1366
+ readonly name: "_liqUser";
2691
1367
  readonly type: "address";
2692
1368
  }, {
2693
- readonly name: "_amount";
1369
+ readonly name: "_vaultId";
2694
1370
  readonly type: "uint256";
1371
+ }, {
1372
+ readonly name: "_asset";
1373
+ readonly type: "address";
2695
1374
  }];
2696
1375
  readonly outputs: readonly [{
2697
1376
  readonly name: "";
@@ -2700,16 +1379,20 @@ export declare const abi: readonly [{
2700
1379
  }, {
2701
1380
  readonly stateMutability: "nonpayable";
2702
1381
  readonly type: "function";
2703
- readonly name: "recoverNftInEndaoment";
1382
+ readonly name: "pauseManyAuctions";
2704
1383
  readonly inputs: readonly [{
2705
- readonly name: "_collection";
2706
- readonly type: "address";
2707
- }, {
2708
- readonly name: "_nftTokenId";
2709
- readonly type: "uint256";
2710
- }, {
2711
- readonly name: "_recipient";
2712
- readonly type: "address";
1384
+ readonly name: "_auctions";
1385
+ readonly type: "tuple[]";
1386
+ readonly components: readonly [{
1387
+ readonly name: "liqUser";
1388
+ readonly type: "address";
1389
+ }, {
1390
+ readonly name: "vaultId";
1391
+ readonly type: "uint256";
1392
+ }, {
1393
+ readonly name: "asset";
1394
+ readonly type: "address";
1395
+ }];
2713
1396
  }];
2714
1397
  readonly outputs: readonly [{
2715
1398
  readonly name: "";
@@ -2942,257 +1625,51 @@ export declare const abi: readonly [{
2942
1625
  }, {
2943
1626
  readonly stateMutability: "view";
2944
1627
  readonly type: "function";
2945
- readonly name: "pendingEndaoSwapActions";
2946
- readonly inputs: readonly [{
2947
- readonly name: "arg0";
2948
- readonly type: "uint256";
2949
- }, {
2950
- readonly name: "arg1";
2951
- readonly type: "uint256";
2952
- }];
2953
- readonly outputs: readonly [{
2954
- readonly name: "";
2955
- readonly type: "tuple";
2956
- readonly components: readonly [{
2957
- readonly name: "legoId";
2958
- readonly type: "uint256";
2959
- }, {
2960
- readonly name: "amountIn";
2961
- readonly type: "uint256";
2962
- }, {
2963
- readonly name: "minAmountOut";
2964
- readonly type: "uint256";
2965
- }, {
2966
- readonly name: "tokenPath";
2967
- readonly type: "address[]";
2968
- }, {
2969
- readonly name: "poolPath";
2970
- readonly type: "address[]";
2971
- }];
2972
- }];
2973
- }, {
2974
- readonly stateMutability: "view";
2975
- readonly type: "function";
2976
- readonly name: "pendingEndaoAddLiquidityActions";
2977
- readonly inputs: readonly [{
2978
- readonly name: "arg0";
2979
- readonly type: "uint256";
2980
- }];
2981
- readonly outputs: readonly [{
2982
- readonly name: "";
2983
- readonly type: "tuple";
2984
- readonly components: readonly [{
2985
- readonly name: "legoId";
2986
- readonly type: "uint256";
2987
- }, {
2988
- readonly name: "pool";
2989
- readonly type: "address";
2990
- }, {
2991
- readonly name: "tokenA";
2992
- readonly type: "address";
2993
- }, {
2994
- readonly name: "tokenB";
2995
- readonly type: "address";
2996
- }, {
2997
- readonly name: "amountA";
2998
- readonly type: "uint256";
2999
- }, {
3000
- readonly name: "amountB";
3001
- readonly type: "uint256";
3002
- }, {
3003
- readonly name: "minAmountA";
3004
- readonly type: "uint256";
3005
- }, {
3006
- readonly name: "minAmountB";
3007
- readonly type: "uint256";
3008
- }, {
3009
- readonly name: "minLpAmount";
3010
- readonly type: "uint256";
3011
- }, {
3012
- readonly name: "extraData";
3013
- readonly type: "bytes32";
3014
- }, {
3015
- readonly name: "lpToken";
3016
- readonly type: "address";
3017
- }, {
3018
- readonly name: "lpAmount";
3019
- readonly type: "uint256";
3020
- }];
3021
- }];
3022
- }, {
3023
- readonly stateMutability: "view";
3024
- readonly type: "function";
3025
- readonly name: "pendingEndaoRemoveLiquidityActions";
1628
+ readonly name: "pendingTrainingWheels";
3026
1629
  readonly inputs: readonly [{
3027
1630
  readonly name: "arg0";
3028
1631
  readonly type: "uint256";
3029
1632
  }];
3030
1633
  readonly outputs: readonly [{
3031
1634
  readonly name: "";
3032
- readonly type: "tuple";
3033
- readonly components: readonly [{
3034
- readonly name: "legoId";
3035
- readonly type: "uint256";
3036
- }, {
3037
- readonly name: "pool";
3038
- readonly type: "address";
3039
- }, {
3040
- readonly name: "tokenA";
3041
- readonly type: "address";
3042
- }, {
3043
- readonly name: "tokenB";
3044
- readonly type: "address";
3045
- }, {
3046
- readonly name: "amountA";
3047
- readonly type: "uint256";
3048
- }, {
3049
- readonly name: "amountB";
3050
- readonly type: "uint256";
3051
- }, {
3052
- readonly name: "minAmountA";
3053
- readonly type: "uint256";
3054
- }, {
3055
- readonly name: "minAmountB";
3056
- readonly type: "uint256";
3057
- }, {
3058
- readonly name: "minLpAmount";
3059
- readonly type: "uint256";
3060
- }, {
3061
- readonly name: "extraData";
3062
- readonly type: "bytes32";
3063
- }, {
3064
- readonly name: "lpToken";
3065
- readonly type: "address";
3066
- }, {
3067
- readonly name: "lpAmount";
3068
- readonly type: "uint256";
3069
- }];
1635
+ readonly type: "address";
3070
1636
  }];
3071
1637
  }, {
3072
1638
  readonly stateMutability: "view";
3073
1639
  readonly type: "function";
3074
- readonly name: "pendingEndaoPartnerMintActions";
1640
+ readonly name: "pendingUnderscoreSendInterval";
3075
1641
  readonly inputs: readonly [{
3076
1642
  readonly name: "arg0";
3077
1643
  readonly type: "uint256";
3078
1644
  }];
3079
1645
  readonly outputs: readonly [{
3080
1646
  readonly name: "";
3081
- readonly type: "tuple";
3082
- readonly components: readonly [{
3083
- readonly name: "partner";
3084
- readonly type: "address";
3085
- }, {
3086
- readonly name: "asset";
3087
- readonly type: "address";
3088
- }, {
3089
- readonly name: "amount";
3090
- readonly type: "uint256";
3091
- }];
3092
- }];
3093
- }, {
3094
- readonly stateMutability: "view";
3095
- readonly type: "function";
3096
- readonly name: "pendingEndaoPartnerPoolActions";
3097
- readonly inputs: readonly [{
3098
- readonly name: "arg0";
3099
1647
  readonly type: "uint256";
3100
1648
  }];
3101
- readonly outputs: readonly [{
3102
- readonly name: "";
3103
- readonly type: "tuple";
3104
- readonly components: readonly [{
3105
- readonly name: "legoId";
3106
- readonly type: "uint256";
3107
- }, {
3108
- readonly name: "pool";
3109
- readonly type: "address";
3110
- }, {
3111
- readonly name: "partner";
3112
- readonly type: "address";
3113
- }, {
3114
- readonly name: "asset";
3115
- readonly type: "address";
3116
- }, {
3117
- readonly name: "amount";
3118
- readonly type: "uint256";
3119
- }, {
3120
- readonly name: "minLpAmount";
3121
- readonly type: "uint256";
3122
- }];
3123
- }];
3124
1649
  }, {
3125
1650
  readonly stateMutability: "view";
3126
1651
  readonly type: "function";
3127
- readonly name: "pendingEndaoRepayActions";
1652
+ readonly name: "pendingUndyDepositRewardsAmount";
3128
1653
  readonly inputs: readonly [{
3129
1654
  readonly name: "arg0";
3130
1655
  readonly type: "uint256";
3131
1656
  }];
3132
1657
  readonly outputs: readonly [{
3133
1658
  readonly name: "";
3134
- readonly type: "tuple";
3135
- readonly components: readonly [{
3136
- readonly name: "pool";
3137
- readonly type: "address";
3138
- }, {
3139
- readonly name: "amount";
3140
- readonly type: "uint256";
3141
- }];
3142
- }];
3143
- }, {
3144
- readonly stateMutability: "view";
3145
- readonly type: "function";
3146
- readonly name: "pendingEndaoRecoverNftActions";
3147
- readonly inputs: readonly [{
3148
- readonly name: "arg0";
3149
1659
  readonly type: "uint256";
3150
1660
  }];
3151
- readonly outputs: readonly [{
3152
- readonly name: "";
3153
- readonly type: "tuple";
3154
- readonly components: readonly [{
3155
- readonly name: "collection";
3156
- readonly type: "address";
3157
- }, {
3158
- readonly name: "nftTokenId";
3159
- readonly type: "uint256";
3160
- }, {
3161
- readonly name: "recipient";
3162
- readonly type: "address";
3163
- }];
3164
- }];
3165
1661
  }, {
3166
1662
  readonly stateMutability: "view";
3167
1663
  readonly type: "function";
3168
- readonly name: "pendingEndaoTransfer";
1664
+ readonly name: "pendingUndyYieldBonusAmount";
3169
1665
  readonly inputs: readonly [{
3170
1666
  readonly name: "arg0";
3171
1667
  readonly type: "uint256";
3172
1668
  }];
3173
1669
  readonly outputs: readonly [{
3174
1670
  readonly name: "";
3175
- readonly type: "tuple";
3176
- readonly components: readonly [{
3177
- readonly name: "asset";
3178
- readonly type: "address";
3179
- }, {
3180
- readonly name: "amount";
3181
- readonly type: "uint256";
3182
- }];
3183
- }];
3184
- }, {
3185
- readonly stateMutability: "view";
3186
- readonly type: "function";
3187
- readonly name: "pendingTrainingWheels";
3188
- readonly inputs: readonly [{
3189
- readonly name: "arg0";
3190
1671
  readonly type: "uint256";
3191
1672
  }];
3192
- readonly outputs: readonly [{
3193
- readonly name: "";
3194
- readonly type: "address";
3195
- }];
3196
1673
  }, {
3197
1674
  readonly stateMutability: "nonpayable";
3198
1675
  readonly type: "constructor";
@@ -3279,68 +1756,10 @@ export type Contract = {
3279
1756
  vaultId: bigint;
3280
1757
  asset: `0x${string}`;
3281
1758
  }>;
3282
- pendingEndaoSwapActions: (arg0: bigint, arg1: bigint) => Promise<{
3283
- legoId: bigint;
3284
- amountIn: bigint;
3285
- minAmountOut: bigint;
3286
- tokenPath: `0x${string}`[];
3287
- poolPath: `0x${string}`[];
3288
- }>;
3289
- pendingEndaoAddLiquidityActions: (arg0: bigint) => Promise<{
3290
- legoId: bigint;
3291
- pool: `0x${string}`;
3292
- tokenA: `0x${string}`;
3293
- tokenB: `0x${string}`;
3294
- amountA: bigint;
3295
- amountB: bigint;
3296
- minAmountA: bigint;
3297
- minAmountB: bigint;
3298
- minLpAmount: bigint;
3299
- extraData: `0x${string}`;
3300
- lpToken: `0x${string}`;
3301
- lpAmount: bigint;
3302
- }>;
3303
- pendingEndaoRemoveLiquidityActions: (arg0: bigint) => Promise<{
3304
- legoId: bigint;
3305
- pool: `0x${string}`;
3306
- tokenA: `0x${string}`;
3307
- tokenB: `0x${string}`;
3308
- amountA: bigint;
3309
- amountB: bigint;
3310
- minAmountA: bigint;
3311
- minAmountB: bigint;
3312
- minLpAmount: bigint;
3313
- extraData: `0x${string}`;
3314
- lpToken: `0x${string}`;
3315
- lpAmount: bigint;
3316
- }>;
3317
- pendingEndaoPartnerMintActions: (arg0: bigint) => Promise<{
3318
- partner: `0x${string}`;
3319
- asset: `0x${string}`;
3320
- amount: bigint;
3321
- }>;
3322
- pendingEndaoPartnerPoolActions: (arg0: bigint) => Promise<{
3323
- legoId: bigint;
3324
- pool: `0x${string}`;
3325
- partner: `0x${string}`;
3326
- asset: `0x${string}`;
3327
- amount: bigint;
3328
- minLpAmount: bigint;
3329
- }>;
3330
- pendingEndaoRepayActions: (arg0: bigint) => Promise<{
3331
- pool: `0x${string}`;
3332
- amount: bigint;
3333
- }>;
3334
- pendingEndaoRecoverNftActions: (arg0: bigint) => Promise<{
3335
- collection: `0x${string}`;
3336
- nftTokenId: bigint;
3337
- recipient: `0x${string}`;
3338
- }>;
3339
- pendingEndaoTransfer: (arg0: bigint) => Promise<{
3340
- asset: `0x${string}`;
3341
- amount: bigint;
3342
- }>;
3343
1759
  pendingTrainingWheels: (arg0: bigint) => Promise<`0x${string}`>;
1760
+ pendingUnderscoreSendInterval: (arg0: bigint) => Promise<bigint>;
1761
+ pendingUndyDepositRewardsAmount: (arg0: bigint) => Promise<bigint>;
1762
+ pendingUndyYieldBonusAmount: (arg0: bigint) => Promise<bigint>;
3344
1763
  };
3345
1764
  mutations: {
3346
1765
  startGovernanceChange: (newGov: `0x${string}`) => Promise<void>;
@@ -3362,6 +1781,11 @@ export type Contract = {
3362
1781
  claimLootForUser: (user: `0x${string}`, shouldStake: boolean) => Promise<bigint>;
3363
1782
  claimLootForManyUsers: (users: `0x${string}`[], shouldStake: boolean) => Promise<bigint>;
3364
1783
  updateRipeRewards: () => Promise<boolean>;
1784
+ distributeUnderscoreRewards: () => Promise<boolean>;
1785
+ setHasUnderscoreRewards: (hasRewards: boolean) => Promise<boolean>;
1786
+ setUnderscoreSendInterval: (interval: bigint) => Promise<bigint>;
1787
+ setUndyDepositRewardsAmount: (amount: bigint) => Promise<bigint>;
1788
+ setUndyYieldBonusAmount: (amount: bigint) => Promise<bigint>;
3365
1789
  claimDepositLootForAsset: (user: `0x${string}`, vaultId: bigint, asset: `0x${string}`) => Promise<bigint>;
3366
1790
  updateDepositPoints: (user: `0x${string}`, vaultId: bigint, asset: `0x${string}`) => Promise<boolean>;
3367
1791
  updateManyDepositPoints: (users: `0x${string}`[], vaultId: bigint, asset: `0x${string}`) => Promise<boolean>;
@@ -3377,27 +1801,6 @@ export type Contract = {
3377
1801
  vaultId: bigint;
3378
1802
  asset: `0x${string}`;
3379
1803
  }[]) => Promise<bigint>;
3380
- performEndaomentDeposit: (legoId: bigint, asset: `0x${string}`, vaultAddr?: `0x${string}`, amount?: bigint, extraData?: `0x${string}`) => Promise<[bigint, `0x${string}`, bigint, bigint]>;
3381
- performEndaomentWithdraw: (legoId: bigint, vaultToken: `0x${string}`, amount?: bigint, extraData?: `0x${string}`) => Promise<[bigint, `0x${string}`, bigint, bigint]>;
3382
- performEndaomentRebalance: (fromLegoId: bigint, fromVaultToken: `0x${string}`, toLegoId: bigint, toVaultAddr?: `0x${string}`, fromVaultAmount?: bigint, extraData?: `0x${string}`) => Promise<[bigint, `0x${string}`, bigint, bigint]>;
3383
- performEndaomentEthToWeth: (amount?: bigint) => Promise<[bigint, bigint]>;
3384
- performEndaomentWethToEth: (amount?: bigint) => Promise<[bigint, bigint]>;
3385
- performEndaomentClaim: (legoId: bigint, rewardToken?: `0x${string}`, rewardAmount?: bigint, extraData?: `0x${string}`) => Promise<[bigint, bigint]>;
3386
- performEndaomentStabilizer: () => Promise<boolean>;
3387
- performEndaomentTransfer: (asset: `0x${string}`, amount: bigint) => Promise<bigint>;
3388
- performEndaomentSwap: (instructions: {
3389
- legoId: bigint;
3390
- amountIn: bigint;
3391
- minAmountOut: bigint;
3392
- tokenPath: `0x${string}`[];
3393
- poolPath: `0x${string}`[];
3394
- }[]) => Promise<bigint>;
3395
- addLiquidityInEndaoment: (legoId: bigint, pool: `0x${string}`, tokenA: `0x${string}`, tokenB: `0x${string}`, amountA?: bigint, amountB?: bigint, minAmountA?: bigint, minAmountB?: bigint, minLpAmount?: bigint, extraData?: `0x${string}`) => Promise<bigint>;
3396
- removeLiquidityInEndaoment: (legoId: bigint, pool: `0x${string}`, tokenA: `0x${string}`, tokenB: `0x${string}`, lpToken: `0x${string}`, lpAmount?: bigint, minAmountA?: bigint, minAmountB?: bigint, extraData?: `0x${string}`) => Promise<bigint>;
3397
- mintPartnerLiquidityInEndaoment: (partner: `0x${string}`, asset: `0x${string}`, amount?: bigint) => Promise<bigint>;
3398
- addPartnerLiquidityInEndaoment: (legoId: bigint, pool: `0x${string}`, partner: `0x${string}`, asset: `0x${string}`, amount?: bigint, minLpAmount?: bigint) => Promise<bigint>;
3399
- repayPoolDebtInEndaoment: (pool: `0x${string}`, amount?: bigint) => Promise<bigint>;
3400
- recoverNftInEndaoment: (collection: `0x${string}`, nftTokenId: bigint, recipient: `0x${string}`) => Promise<bigint>;
3401
1804
  setTrainingWheels: (trainingWheels: `0x${string}`) => Promise<bigint>;
3402
1805
  setManyTrainingWheelsAccess: (addr: `0x${string}`, trainingWheels: {
3403
1806
  user: `0x${string}`;
@@ -3413,15 +1816,7 @@ export type Contract = {
3413
1816
  PendingStartManyAuctionsAction: (numAuctions: bigint, confirmationBlock: bigint, actionId: bigint) => Promise<void>;
3414
1817
  PendingPauseAuctionAction: (liqUser: `0x${string}`, vaultId: bigint, asset: `0x${string}`, confirmationBlock: bigint, actionId: bigint) => Promise<void>;
3415
1818
  PendingPauseManyAuctionsAction: (numAuctions: bigint, confirmationBlock: bigint, actionId: bigint) => Promise<void>;
3416
- PendingEndaoTransferAction: (asset: `0x${string}`, amount: bigint, confirmationBlock: bigint, actionId: bigint) => Promise<void>;
3417
- PendingEndaoSwapAction: (numSwapInstructions: bigint, confirmationBlock: bigint, actionId: bigint) => Promise<void>;
3418
- PendingEndaoAddLiquidityAction: (legoId: bigint, pool: `0x${string}`, tokenA: `0x${string}`, tokenB: `0x${string}`, confirmationBlock: bigint, actionId: bigint) => Promise<void>;
3419
- PendingEndaoRemoveLiquidityAction: (legoId: bigint, pool: `0x${string}`, tokenA: `0x${string}`, tokenB: `0x${string}`, confirmationBlock: bigint, actionId: bigint) => Promise<void>;
3420
- PendingEndaoPartnerMintAction: (partner: `0x${string}`, asset: `0x${string}`, amount: bigint, confirmationBlock: bigint, actionId: bigint) => Promise<void>;
3421
- PendingEndaoPartnerPoolAction: (legoId: bigint, pool: `0x${string}`, partner: `0x${string}`, asset: `0x${string}`, confirmationBlock: bigint, actionId: bigint) => Promise<void>;
3422
- PendingEndaoRepayAction: (pool: `0x${string}`, amount: bigint, confirmationBlock: bigint, actionId: bigint) => Promise<void>;
3423
1819
  PendingTrainingWheelsChange: (trainingWheels: `0x${string}`, confirmationBlock: bigint, actionId: bigint) => Promise<void>;
3424
- PendingEndaoRecoverNftAction: (collection: `0x${string}`, nftTokenId: bigint, recipient: `0x${string}`, confirmationBlock: bigint, actionId: bigint) => Promise<void>;
3425
1820
  PauseExecuted: (contractAddr: `0x${string}`, shouldPause: boolean) => Promise<void>;
3426
1821
  RecoverFundsExecuted: (contractAddr: `0x${string}`, recipient: `0x${string}`, asset: `0x${string}`) => Promise<void>;
3427
1822
  RecoverFundsManyExecuted: (contractAddr: `0x${string}`, recipient: `0x${string}`, numAssets: bigint) => Promise<void>;
@@ -3439,23 +1834,16 @@ export type Contract = {
3439
1834
  DepositLootClaimedForAsset: (user: `0x${string}`, vaultId: bigint, asset: `0x${string}`, ripeAmount: bigint, caller: `0x${string}`) => Promise<void>;
3440
1835
  DepositPointsUpdated: (user: `0x${string}`, vaultId: bigint, asset: `0x${string}`, caller: `0x${string}`) => Promise<void>;
3441
1836
  DepositPointsUpdatedMany: (numUsers: bigint, vaultId: bigint, asset: `0x${string}`, caller: `0x${string}`) => Promise<void>;
3442
- EndaomentDepositPerformed: (legoId: bigint, asset: `0x${string}`, vault: `0x${string}`, amount: bigint, caller: `0x${string}`) => Promise<void>;
3443
- EndaomentWithdrawalPerformed: (legoId: bigint, asset: `0x${string}`, vaultAddr: `0x${string}`, withdrawAmount: bigint, caller: `0x${string}`) => Promise<void>;
3444
- EndaomentReblanacePerformed: (fromLegoId: bigint, fromAsset: `0x${string}`, fromVaultAddr: `0x${string}`, toLegoId: bigint, toVaultAddr: `0x${string}`, caller: `0x${string}`) => Promise<void>;
3445
- EndaomentEthToWethPerformed: (amount: bigint, caller: `0x${string}`) => Promise<void>;
3446
- EndaomentWethToEthPerformed: (amount: bigint, caller: `0x${string}`) => Promise<void>;
3447
- EndaomentClaimPerformed: (legoId: bigint, rewardToken: `0x${string}`, rewardAmount: bigint, usdValue: bigint, caller: `0x${string}`) => Promise<void>;
3448
- EndaomentStabilizerPerformed: (success: boolean, caller: `0x${string}`) => Promise<void>;
3449
- EndaoTransferExecuted: (asset: `0x${string}`, amount: bigint) => Promise<void>;
3450
- EndaoSwapExecuted: (numSwapInstructions: bigint) => Promise<void>;
3451
- EndaoAddLiquidityExecuted: (legoId: bigint, pool: `0x${string}`, tokenA: `0x${string}`, tokenB: `0x${string}`) => Promise<void>;
3452
- EndaoRemoveLiquidityExecuted: (legoId: bigint, pool: `0x${string}`, tokenA: `0x${string}`, tokenB: `0x${string}`) => Promise<void>;
3453
- EndaoPartnerMintExecuted: (partner: `0x${string}`, asset: `0x${string}`, greenMinted: bigint) => Promise<void>;
3454
- EndaoPartnerPoolExecuted: (legoId: bigint, pool: `0x${string}`, partner: `0x${string}`, asset: `0x${string}`) => Promise<void>;
3455
- EndaoRepayExecuted: (pool: `0x${string}`, success: boolean) => Promise<void>;
3456
- EndaoRecoverNftExecuted: (collection: `0x${string}`, nftTokenId: bigint, recipient: `0x${string}`, success: boolean) => Promise<void>;
3457
1837
  TrainingWheelsSet: (trainingWheels: `0x${string}`) => Promise<void>;
3458
1838
  TrainingWheelsAccessSet: (trainingWheels: `0x${string}`, user: `0x${string}`, isAllowed: boolean) => Promise<void>;
1839
+ UnderscoreRewardsDistributed: (caller: `0x${string}`, success: boolean) => Promise<void>;
1840
+ UnderscoreSendIntervalSet: (interval: bigint, caller: `0x${string}`) => Promise<void>;
1841
+ UndyDepositRewardsAmountSet: (amount: bigint, caller: `0x${string}`) => Promise<void>;
1842
+ UndyYieldBonusAmountSet: (amount: bigint, caller: `0x${string}`) => Promise<void>;
1843
+ HasUnderscoreRewardsSet: (hasRewards: boolean, caller: `0x${string}`) => Promise<void>;
1844
+ PendingUnderscoreSendIntervalAction: (interval: bigint, confirmationBlock: bigint, actionId: bigint) => Promise<void>;
1845
+ PendingUndyDepositRewardsAmountAction: (amount: bigint, confirmationBlock: bigint, actionId: bigint) => Promise<void>;
1846
+ PendingUndyYieldBonusAmountAction: (amount: bigint, confirmationBlock: bigint, actionId: bigint) => Promise<void>;
3459
1847
  GovChangeTimeLockModified: (prevTimeLock: bigint, newTimeLock: bigint) => Promise<void>;
3460
1848
  ExpirationSet: (expiration: bigint) => Promise<void>;
3461
1849
  ActionTimeLockSet: (newTimeLock: bigint, prevTimeLock: bigint) => Promise<void>;
@@ -3534,15 +1922,10 @@ export type SDK = {
3534
1922
  pendingStartManyAuctionsActions: (...args: ExtractArgs<Contract['calls']['pendingStartManyAuctionsActions']>) => Promise<CallReturn<'pendingStartManyAuctionsActions'>>;
3535
1923
  pendingPauseAuctionActions: (...args: ExtractArgs<Contract['calls']['pendingPauseAuctionActions']>) => Promise<CallReturn<'pendingPauseAuctionActions'>>;
3536
1924
  pendingPauseManyAuctionsActions: (...args: ExtractArgs<Contract['calls']['pendingPauseManyAuctionsActions']>) => Promise<CallReturn<'pendingPauseManyAuctionsActions'>>;
3537
- pendingEndaoSwapActions: (...args: ExtractArgs<Contract['calls']['pendingEndaoSwapActions']>) => Promise<CallReturn<'pendingEndaoSwapActions'>>;
3538
- pendingEndaoAddLiquidityActions: (...args: ExtractArgs<Contract['calls']['pendingEndaoAddLiquidityActions']>) => Promise<CallReturn<'pendingEndaoAddLiquidityActions'>>;
3539
- pendingEndaoRemoveLiquidityActions: (...args: ExtractArgs<Contract['calls']['pendingEndaoRemoveLiquidityActions']>) => Promise<CallReturn<'pendingEndaoRemoveLiquidityActions'>>;
3540
- pendingEndaoPartnerMintActions: (...args: ExtractArgs<Contract['calls']['pendingEndaoPartnerMintActions']>) => Promise<CallReturn<'pendingEndaoPartnerMintActions'>>;
3541
- pendingEndaoPartnerPoolActions: (...args: ExtractArgs<Contract['calls']['pendingEndaoPartnerPoolActions']>) => Promise<CallReturn<'pendingEndaoPartnerPoolActions'>>;
3542
- pendingEndaoRepayActions: (...args: ExtractArgs<Contract['calls']['pendingEndaoRepayActions']>) => Promise<CallReturn<'pendingEndaoRepayActions'>>;
3543
- pendingEndaoRecoverNftActions: (...args: ExtractArgs<Contract['calls']['pendingEndaoRecoverNftActions']>) => Promise<CallReturn<'pendingEndaoRecoverNftActions'>>;
3544
- pendingEndaoTransfer: (...args: ExtractArgs<Contract['calls']['pendingEndaoTransfer']>) => Promise<CallReturn<'pendingEndaoTransfer'>>;
3545
1925
  pendingTrainingWheels: (...args: ExtractArgs<Contract['calls']['pendingTrainingWheels']>) => Promise<CallReturn<'pendingTrainingWheels'>>;
1926
+ pendingUnderscoreSendInterval: (...args: ExtractArgs<Contract['calls']['pendingUnderscoreSendInterval']>) => Promise<CallReturn<'pendingUnderscoreSendInterval'>>;
1927
+ pendingUndyDepositRewardsAmount: (...args: ExtractArgs<Contract['calls']['pendingUndyDepositRewardsAmount']>) => Promise<CallReturn<'pendingUndyDepositRewardsAmount'>>;
1928
+ pendingUndyYieldBonusAmount: (...args: ExtractArgs<Contract['calls']['pendingUndyYieldBonusAmount']>) => Promise<CallReturn<'pendingUndyYieldBonusAmount'>>;
3546
1929
  startGovernanceChange: (...args: ExtractArgs<Contract['mutations']['startGovernanceChange']>) => Promise<Address>;
3547
1930
  confirmGovernanceChange: (...args: ExtractArgs<Contract['mutations']['confirmGovernanceChange']>) => Promise<Address>;
3548
1931
  cancelGovernanceChange: (...args: ExtractArgs<Contract['mutations']['cancelGovernanceChange']>) => Promise<Address>;
@@ -3562,6 +1945,11 @@ export type SDK = {
3562
1945
  claimLootForUser: (...args: ExtractArgs<Contract['mutations']['claimLootForUser']>) => Promise<Address>;
3563
1946
  claimLootForManyUsers: (...args: ExtractArgs<Contract['mutations']['claimLootForManyUsers']>) => Promise<Address>;
3564
1947
  updateRipeRewards: (...args: ExtractArgs<Contract['mutations']['updateRipeRewards']>) => Promise<Address>;
1948
+ distributeUnderscoreRewards: (...args: ExtractArgs<Contract['mutations']['distributeUnderscoreRewards']>) => Promise<Address>;
1949
+ setHasUnderscoreRewards: (...args: ExtractArgs<Contract['mutations']['setHasUnderscoreRewards']>) => Promise<Address>;
1950
+ setUnderscoreSendInterval: (...args: ExtractArgs<Contract['mutations']['setUnderscoreSendInterval']>) => Promise<Address>;
1951
+ setUndyDepositRewardsAmount: (...args: ExtractArgs<Contract['mutations']['setUndyDepositRewardsAmount']>) => Promise<Address>;
1952
+ setUndyYieldBonusAmount: (...args: ExtractArgs<Contract['mutations']['setUndyYieldBonusAmount']>) => Promise<Address>;
3565
1953
  claimDepositLootForAsset: (...args: ExtractArgs<Contract['mutations']['claimDepositLootForAsset']>) => Promise<Address>;
3566
1954
  updateDepositPoints: (...args: ExtractArgs<Contract['mutations']['updateDepositPoints']>) => Promise<Address>;
3567
1955
  updateManyDepositPoints: (...args: ExtractArgs<Contract['mutations']['updateManyDepositPoints']>) => Promise<Address>;
@@ -3569,21 +1957,6 @@ export type SDK = {
3569
1957
  startManyAuctions: (...args: ExtractArgs<Contract['mutations']['startManyAuctions']>) => Promise<Address>;
3570
1958
  pauseAuction: (...args: ExtractArgs<Contract['mutations']['pauseAuction']>) => Promise<Address>;
3571
1959
  pauseManyAuctions: (...args: ExtractArgs<Contract['mutations']['pauseManyAuctions']>) => Promise<Address>;
3572
- performEndaomentDeposit: (...args: ExtractArgs<Contract['mutations']['performEndaomentDeposit']>) => Promise<Address>;
3573
- performEndaomentWithdraw: (...args: ExtractArgs<Contract['mutations']['performEndaomentWithdraw']>) => Promise<Address>;
3574
- performEndaomentRebalance: (...args: ExtractArgs<Contract['mutations']['performEndaomentRebalance']>) => Promise<Address>;
3575
- performEndaomentEthToWeth: (...args: ExtractArgs<Contract['mutations']['performEndaomentEthToWeth']>) => Promise<Address>;
3576
- performEndaomentWethToEth: (...args: ExtractArgs<Contract['mutations']['performEndaomentWethToEth']>) => Promise<Address>;
3577
- performEndaomentClaim: (...args: ExtractArgs<Contract['mutations']['performEndaomentClaim']>) => Promise<Address>;
3578
- performEndaomentStabilizer: (...args: ExtractArgs<Contract['mutations']['performEndaomentStabilizer']>) => Promise<Address>;
3579
- performEndaomentTransfer: (...args: ExtractArgs<Contract['mutations']['performEndaomentTransfer']>) => Promise<Address>;
3580
- performEndaomentSwap: (...args: ExtractArgs<Contract['mutations']['performEndaomentSwap']>) => Promise<Address>;
3581
- addLiquidityInEndaoment: (...args: ExtractArgs<Contract['mutations']['addLiquidityInEndaoment']>) => Promise<Address>;
3582
- removeLiquidityInEndaoment: (...args: ExtractArgs<Contract['mutations']['removeLiquidityInEndaoment']>) => Promise<Address>;
3583
- mintPartnerLiquidityInEndaoment: (...args: ExtractArgs<Contract['mutations']['mintPartnerLiquidityInEndaoment']>) => Promise<Address>;
3584
- addPartnerLiquidityInEndaoment: (...args: ExtractArgs<Contract['mutations']['addPartnerLiquidityInEndaoment']>) => Promise<Address>;
3585
- repayPoolDebtInEndaoment: (...args: ExtractArgs<Contract['mutations']['repayPoolDebtInEndaoment']>) => Promise<Address>;
3586
- recoverNftInEndaoment: (...args: ExtractArgs<Contract['mutations']['recoverNftInEndaoment']>) => Promise<Address>;
3587
1960
  setTrainingWheels: (...args: ExtractArgs<Contract['mutations']['setTrainingWheels']>) => Promise<Address>;
3588
1961
  setManyTrainingWheelsAccess: (...args: ExtractArgs<Contract['mutations']['setManyTrainingWheelsAccess']>) => Promise<Address>;
3589
1962
  executePendingAction: (...args: ExtractArgs<Contract['mutations']['executePendingAction']>) => Promise<Address>;