@underscore-finance/sdk 1.2.20-next.0 → 1.2.20-next.2

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 (93) hide show
  1. package/AGENTS.md +28 -18
  2. package/abis.json +23476 -12295
  3. package/dist/contracts/Addys.d.ts +124 -0
  4. package/dist/contracts/Addys.d.ts.map +1 -0
  5. package/dist/contracts/Addys.js +134 -0
  6. package/dist/contracts/AgentSenderGeneric.d.ts +795 -153
  7. package/dist/contracts/AgentSenderGeneric.d.ts.map +1 -1
  8. package/dist/contracts/AgentSenderGeneric.js +892 -97
  9. package/dist/contracts/AgentSenderSpecial.d.ts +127 -0
  10. package/dist/contracts/AgentSenderSpecial.d.ts.map +1 -1
  11. package/dist/contracts/AgentSenderSpecial.js +139 -0
  12. package/dist/contracts/AgentSenderSpecialAdmin.d.ts +984 -0
  13. package/dist/contracts/AgentSenderSpecialAdmin.d.ts.map +1 -0
  14. package/dist/contracts/AgentSenderSpecialAdmin.js +1185 -0
  15. package/dist/contracts/AgentSenderSpecialSigHelper.d.ts +1010 -75
  16. package/dist/contracts/AgentSenderSpecialSigHelper.d.ts.map +1 -1
  17. package/dist/contracts/AgentSenderSpecialSigHelper.js +1240 -0
  18. package/dist/contracts/AgentWrapper.d.ts +164 -6
  19. package/dist/contracts/AgentWrapper.d.ts.map +1 -1
  20. package/dist/contracts/AgentWrapper.js +219 -6
  21. package/dist/contracts/ChequeBook.d.ts +360 -204
  22. package/dist/contracts/ChequeBook.d.ts.map +1 -1
  23. package/dist/contracts/ChequeBook.js +507 -298
  24. package/dist/contracts/DefaultsLocal.d.ts +320 -0
  25. package/dist/contracts/DefaultsLocal.d.ts.map +1 -0
  26. package/dist/contracts/DefaultsLocal.js +350 -0
  27. package/dist/contracts/ERC20.d.ts +552 -27
  28. package/dist/contracts/ERC20.d.ts.map +1 -1
  29. package/dist/contracts/ERC20.js +713 -66
  30. package/dist/contracts/EarnVault.d.ts +284 -255
  31. package/dist/contracts/EarnVault.d.ts.map +1 -1
  32. package/dist/contracts/EarnVault.js +488 -456
  33. package/dist/contracts/EarnVaultAgent.d.ts +127 -0
  34. package/dist/contracts/EarnVaultAgent.d.ts.map +1 -1
  35. package/dist/contracts/EarnVaultAgent.js +139 -0
  36. package/dist/contracts/EarnVaultWallet.d.ts +777 -0
  37. package/dist/contracts/EarnVaultWallet.d.ts.map +1 -0
  38. package/dist/contracts/EarnVaultWallet.js +987 -0
  39. package/dist/contracts/Erc20Token.d.ts +813 -0
  40. package/dist/contracts/Erc20Token.d.ts.map +1 -0
  41. package/dist/contracts/Erc20Token.js +1006 -0
  42. package/dist/contracts/HighCommand.d.ts +40 -0
  43. package/dist/contracts/HighCommand.d.ts.map +1 -1
  44. package/dist/contracts/HighCommand.js +45 -0
  45. package/dist/contracts/Kernel.d.ts +4 -0
  46. package/dist/contracts/Kernel.d.ts.map +1 -1
  47. package/dist/contracts/Kernel.js +4 -0
  48. package/dist/contracts/Ledger.d.ts +4 -75
  49. package/dist/contracts/Ledger.d.ts.map +1 -1
  50. package/dist/contracts/Ledger.js +4 -99
  51. package/dist/contracts/LevgVault.d.ts +299 -299
  52. package/dist/contracts/LevgVault.d.ts.map +1 -1
  53. package/dist/contracts/LevgVault.js +530 -530
  54. package/dist/contracts/LevgVaultAgent.d.ts +127 -69
  55. package/dist/contracts/LevgVaultAgent.d.ts.map +1 -1
  56. package/dist/contracts/LevgVaultAgent.js +134 -79
  57. package/dist/contracts/LevgVaultWallet.d.ts +1119 -0
  58. package/dist/contracts/LevgVaultWallet.d.ts.map +1 -0
  59. package/dist/contracts/LevgVaultWallet.js +1439 -0
  60. package/dist/contracts/LocalGov.d.ts +427 -0
  61. package/dist/contracts/LocalGov.d.ts.map +1 -0
  62. package/dist/contracts/LocalGov.js +507 -0
  63. package/dist/contracts/Migrator.d.ts +160 -0
  64. package/dist/contracts/Migrator.d.ts.map +1 -1
  65. package/dist/contracts/Migrator.js +187 -0
  66. package/dist/contracts/Ownership.d.ts +414 -0
  67. package/dist/contracts/Ownership.d.ts.map +1 -0
  68. package/dist/contracts/Ownership.js +472 -0
  69. package/dist/contracts/Paymaster.d.ts +119 -322
  70. package/dist/contracts/Paymaster.d.ts.map +1 -1
  71. package/dist/contracts/Paymaster.js +118 -404
  72. package/dist/contracts/Sentinel.d.ts +9 -6
  73. package/dist/contracts/Sentinel.d.ts.map +1 -1
  74. package/dist/contracts/Sentinel.js +8 -4
  75. package/dist/contracts/UndyToken.d.ts +821 -0
  76. package/dist/contracts/UndyToken.d.ts.map +1 -0
  77. package/dist/contracts/UndyToken.js +1017 -0
  78. package/dist/contracts/UserWalletConfig.d.ts +334 -317
  79. package/dist/contracts/UserWalletConfig.d.ts.map +1 -1
  80. package/dist/contracts/UserWalletConfig.js +391 -371
  81. package/dist/contracts/UserWalletSignatureHelper.d.ts +1520 -514
  82. package/dist/contracts/UserWalletSignatureHelper.d.ts.map +1 -1
  83. package/dist/contracts/UserWalletSignatureHelper.js +1906 -549
  84. package/dist/contracts/VaultErc20Token.d.ts +522 -0
  85. package/dist/contracts/VaultErc20Token.d.ts.map +1 -0
  86. package/dist/contracts/VaultErc20Token.js +658 -0
  87. package/dist/contracts/index.d.ts +10 -0
  88. package/dist/contracts/index.d.ts.map +1 -1
  89. package/dist/contracts/index.js +10 -0
  90. package/dist/contracts/sdk.d.ts +20 -0
  91. package/dist/contracts/sdk.d.ts.map +1 -1
  92. package/dist/contracts/sdk.js +20 -0
  93. package/package.json +1 -1
@@ -13,6 +13,10 @@ export const abi = [
13
13
  "name": "_agentSender",
14
14
  "type": "address"
15
15
  },
16
+ {
17
+ "name": "_agentWrapper",
18
+ "type": "address"
19
+ },
16
20
  {
17
21
  "name": "_userWallet",
18
22
  "type": "address"
@@ -46,6 +50,10 @@ export const abi = [
46
50
  "name": "_agentSender",
47
51
  "type": "address"
48
52
  },
53
+ {
54
+ "name": "_agentWrapper",
55
+ "type": "address"
56
+ },
49
57
  {
50
58
  "name": "_userWallet",
51
59
  "type": "address"
@@ -83,6 +91,10 @@ export const abi = [
83
91
  "name": "_agentSender",
84
92
  "type": "address"
85
93
  },
94
+ {
95
+ "name": "_agentWrapper",
96
+ "type": "address"
97
+ },
86
98
  {
87
99
  "name": "_userWallet",
88
100
  "type": "address"
@@ -124,6 +136,10 @@ export const abi = [
124
136
  "name": "_agentSender",
125
137
  "type": "address"
126
138
  },
139
+ {
140
+ "name": "_agentWrapper",
141
+ "type": "address"
142
+ },
127
143
  {
128
144
  "name": "_userWallet",
129
145
  "type": "address"
@@ -169,6 +185,10 @@ export const abi = [
169
185
  "name": "_agentSender",
170
186
  "type": "address"
171
187
  },
188
+ {
189
+ "name": "_agentWrapper",
190
+ "type": "address"
191
+ },
172
192
  {
173
193
  "name": "_userWallet",
174
194
  "type": "address"
@@ -218,6 +238,10 @@ export const abi = [
218
238
  "name": "_agentSender",
219
239
  "type": "address"
220
240
  },
241
+ {
242
+ "name": "_agentWrapper",
243
+ "type": "address"
244
+ },
221
245
  {
222
246
  "name": "_userWallet",
223
247
  "type": "address"
@@ -259,6 +283,10 @@ export const abi = [
259
283
  "name": "_agentSender",
260
284
  "type": "address"
261
285
  },
286
+ {
287
+ "name": "_agentWrapper",
288
+ "type": "address"
289
+ },
262
290
  {
263
291
  "name": "_userWallet",
264
292
  "type": "address"
@@ -304,6 +332,10 @@ export const abi = [
304
332
  "name": "_agentSender",
305
333
  "type": "address"
306
334
  },
335
+ {
336
+ "name": "_agentWrapper",
337
+ "type": "address"
338
+ },
307
339
  {
308
340
  "name": "_userWallet",
309
341
  "type": "address"
@@ -347,23 +379,47 @@ export const abi = [
347
379
  {
348
380
  "stateMutability": "view",
349
381
  "type": "function",
350
- "name": "getDepositForYieldHash",
382
+ "name": "getCreateChequeHash",
351
383
  "inputs": [
352
384
  {
353
385
  "name": "_agentSender",
354
386
  "type": "address"
355
387
  },
388
+ {
389
+ "name": "_agentWrapper",
390
+ "type": "address"
391
+ },
356
392
  {
357
393
  "name": "_userWallet",
358
394
  "type": "address"
359
395
  },
360
396
  {
361
- "name": "_legoId",
362
- "type": "uint256"
397
+ "name": "_recipient",
398
+ "type": "address"
363
399
  },
364
400
  {
365
401
  "name": "_asset",
366
402
  "type": "address"
403
+ },
404
+ {
405
+ "name": "_amount",
406
+ "type": "uint256"
407
+ },
408
+ {
409
+ "name": "_unlockNumBlocks",
410
+ "type": "uint256"
411
+ },
412
+ {
413
+ "name": "_expiryNumBlocks",
414
+ "type": "uint256"
415
+ },
416
+ {
417
+ "name": "_canManagerPay",
418
+ "type": "bool"
419
+ },
420
+ {
421
+ "name": "_canBePulled",
422
+ "type": "bool"
367
423
  }
368
424
  ],
369
425
  "outputs": [
@@ -384,27 +440,51 @@ export const abi = [
384
440
  {
385
441
  "stateMutability": "view",
386
442
  "type": "function",
387
- "name": "getDepositForYieldHash",
443
+ "name": "getCreateChequeHash",
388
444
  "inputs": [
389
445
  {
390
446
  "name": "_agentSender",
391
447
  "type": "address"
392
448
  },
449
+ {
450
+ "name": "_agentWrapper",
451
+ "type": "address"
452
+ },
393
453
  {
394
454
  "name": "_userWallet",
395
455
  "type": "address"
396
456
  },
397
457
  {
398
- "name": "_legoId",
399
- "type": "uint256"
458
+ "name": "_recipient",
459
+ "type": "address"
400
460
  },
401
461
  {
402
462
  "name": "_asset",
403
463
  "type": "address"
404
464
  },
405
465
  {
406
- "name": "_vaultAddr",
407
- "type": "address"
466
+ "name": "_amount",
467
+ "type": "uint256"
468
+ },
469
+ {
470
+ "name": "_unlockNumBlocks",
471
+ "type": "uint256"
472
+ },
473
+ {
474
+ "name": "_expiryNumBlocks",
475
+ "type": "uint256"
476
+ },
477
+ {
478
+ "name": "_canManagerPay",
479
+ "type": "bool"
480
+ },
481
+ {
482
+ "name": "_canBePulled",
483
+ "type": "bool"
484
+ },
485
+ {
486
+ "name": "_nonce",
487
+ "type": "uint256"
408
488
  }
409
489
  ],
410
490
  "outputs": [
@@ -425,31 +505,55 @@ export const abi = [
425
505
  {
426
506
  "stateMutability": "view",
427
507
  "type": "function",
428
- "name": "getDepositForYieldHash",
508
+ "name": "getCreateChequeHash",
429
509
  "inputs": [
430
510
  {
431
511
  "name": "_agentSender",
432
512
  "type": "address"
433
513
  },
434
514
  {
435
- "name": "_userWallet",
515
+ "name": "_agentWrapper",
436
516
  "type": "address"
437
517
  },
438
518
  {
439
- "name": "_legoId",
440
- "type": "uint256"
519
+ "name": "_userWallet",
520
+ "type": "address"
441
521
  },
442
522
  {
443
- "name": "_asset",
523
+ "name": "_recipient",
444
524
  "type": "address"
445
525
  },
446
526
  {
447
- "name": "_vaultAddr",
527
+ "name": "_asset",
448
528
  "type": "address"
449
529
  },
450
530
  {
451
531
  "name": "_amount",
452
532
  "type": "uint256"
533
+ },
534
+ {
535
+ "name": "_unlockNumBlocks",
536
+ "type": "uint256"
537
+ },
538
+ {
539
+ "name": "_expiryNumBlocks",
540
+ "type": "uint256"
541
+ },
542
+ {
543
+ "name": "_canManagerPay",
544
+ "type": "bool"
545
+ },
546
+ {
547
+ "name": "_canBePulled",
548
+ "type": "bool"
549
+ },
550
+ {
551
+ "name": "_nonce",
552
+ "type": "uint256"
553
+ },
554
+ {
555
+ "name": "_expiration",
556
+ "type": "uint256"
453
557
  }
454
558
  ],
455
559
  "outputs": [
@@ -470,26 +574,26 @@ export const abi = [
470
574
  {
471
575
  "stateMutability": "view",
472
576
  "type": "function",
473
- "name": "getDepositForYieldHash",
577
+ "name": "getPayChequeHash",
474
578
  "inputs": [
475
579
  {
476
580
  "name": "_agentSender",
477
581
  "type": "address"
478
582
  },
479
583
  {
480
- "name": "_userWallet",
584
+ "name": "_agentWrapper",
481
585
  "type": "address"
482
586
  },
483
587
  {
484
- "name": "_legoId",
485
- "type": "uint256"
588
+ "name": "_userWallet",
589
+ "type": "address"
486
590
  },
487
591
  {
488
- "name": "_asset",
592
+ "name": "_recipient",
489
593
  "type": "address"
490
594
  },
491
595
  {
492
- "name": "_vaultAddr",
596
+ "name": "_asset",
493
597
  "type": "address"
494
598
  },
495
599
  {
@@ -497,8 +601,8 @@ export const abi = [
497
601
  "type": "uint256"
498
602
  },
499
603
  {
500
- "name": "_extraData",
501
- "type": "bytes32"
604
+ "name": "_expectedCreationBlock",
605
+ "type": "uint256"
502
606
  }
503
607
  ],
504
608
  "outputs": [
@@ -519,26 +623,26 @@ export const abi = [
519
623
  {
520
624
  "stateMutability": "view",
521
625
  "type": "function",
522
- "name": "getDepositForYieldHash",
626
+ "name": "getPayChequeHash",
523
627
  "inputs": [
524
628
  {
525
629
  "name": "_agentSender",
526
630
  "type": "address"
527
631
  },
528
632
  {
529
- "name": "_userWallet",
633
+ "name": "_agentWrapper",
530
634
  "type": "address"
531
635
  },
532
636
  {
533
- "name": "_legoId",
534
- "type": "uint256"
637
+ "name": "_userWallet",
638
+ "type": "address"
535
639
  },
536
640
  {
537
- "name": "_asset",
641
+ "name": "_recipient",
538
642
  "type": "address"
539
643
  },
540
644
  {
541
- "name": "_vaultAddr",
645
+ "name": "_asset",
542
646
  "type": "address"
543
647
  },
544
648
  {
@@ -546,8 +650,8 @@ export const abi = [
546
650
  "type": "uint256"
547
651
  },
548
652
  {
549
- "name": "_extraData",
550
- "type": "bytes32"
653
+ "name": "_expectedCreationBlock",
654
+ "type": "uint256"
551
655
  },
552
656
  {
553
657
  "name": "_nonce",
@@ -572,26 +676,26 @@ export const abi = [
572
676
  {
573
677
  "stateMutability": "view",
574
678
  "type": "function",
575
- "name": "getDepositForYieldHash",
679
+ "name": "getPayChequeHash",
576
680
  "inputs": [
577
681
  {
578
682
  "name": "_agentSender",
579
683
  "type": "address"
580
684
  },
581
685
  {
582
- "name": "_userWallet",
686
+ "name": "_agentWrapper",
583
687
  "type": "address"
584
688
  },
585
689
  {
586
- "name": "_legoId",
587
- "type": "uint256"
690
+ "name": "_userWallet",
691
+ "type": "address"
588
692
  },
589
693
  {
590
- "name": "_asset",
694
+ "name": "_recipient",
591
695
  "type": "address"
592
696
  },
593
697
  {
594
- "name": "_vaultAddr",
698
+ "name": "_asset",
595
699
  "type": "address"
596
700
  },
597
701
  {
@@ -599,8 +703,8 @@ export const abi = [
599
703
  "type": "uint256"
600
704
  },
601
705
  {
602
- "name": "_extraData",
603
- "type": "bytes32"
706
+ "name": "_expectedCreationBlock",
707
+ "type": "uint256"
604
708
  },
605
709
  {
606
710
  "name": "_nonce",
@@ -629,12 +733,16 @@ export const abi = [
629
733
  {
630
734
  "stateMutability": "view",
631
735
  "type": "function",
632
- "name": "getWithdrawFromYieldHash",
736
+ "name": "getDepositForYieldHash",
633
737
  "inputs": [
634
738
  {
635
739
  "name": "_agentSender",
636
740
  "type": "address"
637
741
  },
742
+ {
743
+ "name": "_agentWrapper",
744
+ "type": "address"
745
+ },
638
746
  {
639
747
  "name": "_userWallet",
640
748
  "type": "address"
@@ -644,7 +752,7 @@ export const abi = [
644
752
  "type": "uint256"
645
753
  },
646
754
  {
647
- "name": "_vaultToken",
755
+ "name": "_asset",
648
756
  "type": "address"
649
757
  }
650
758
  ],
@@ -666,12 +774,16 @@ export const abi = [
666
774
  {
667
775
  "stateMutability": "view",
668
776
  "type": "function",
669
- "name": "getWithdrawFromYieldHash",
777
+ "name": "getDepositForYieldHash",
670
778
  "inputs": [
671
779
  {
672
780
  "name": "_agentSender",
673
781
  "type": "address"
674
782
  },
783
+ {
784
+ "name": "_agentWrapper",
785
+ "type": "address"
786
+ },
675
787
  {
676
788
  "name": "_userWallet",
677
789
  "type": "address"
@@ -681,12 +793,12 @@ export const abi = [
681
793
  "type": "uint256"
682
794
  },
683
795
  {
684
- "name": "_vaultToken",
796
+ "name": "_asset",
685
797
  "type": "address"
686
798
  },
687
799
  {
688
- "name": "_amount",
689
- "type": "uint256"
800
+ "name": "_vaultAddr",
801
+ "type": "address"
690
802
  }
691
803
  ],
692
804
  "outputs": [
@@ -707,12 +819,16 @@ export const abi = [
707
819
  {
708
820
  "stateMutability": "view",
709
821
  "type": "function",
710
- "name": "getWithdrawFromYieldHash",
822
+ "name": "getDepositForYieldHash",
711
823
  "inputs": [
712
824
  {
713
825
  "name": "_agentSender",
714
826
  "type": "address"
715
827
  },
828
+ {
829
+ "name": "_agentWrapper",
830
+ "type": "address"
831
+ },
716
832
  {
717
833
  "name": "_userWallet",
718
834
  "type": "address"
@@ -722,16 +838,16 @@ export const abi = [
722
838
  "type": "uint256"
723
839
  },
724
840
  {
725
- "name": "_vaultToken",
841
+ "name": "_asset",
726
842
  "type": "address"
727
843
  },
728
844
  {
729
- "name": "_amount",
730
- "type": "uint256"
845
+ "name": "_vaultAddr",
846
+ "type": "address"
731
847
  },
732
848
  {
733
- "name": "_extraData",
734
- "type": "bytes32"
849
+ "name": "_amount",
850
+ "type": "uint256"
735
851
  }
736
852
  ],
737
853
  "outputs": [
@@ -752,12 +868,16 @@ export const abi = [
752
868
  {
753
869
  "stateMutability": "view",
754
870
  "type": "function",
755
- "name": "getWithdrawFromYieldHash",
871
+ "name": "getDepositForYieldHash",
756
872
  "inputs": [
757
873
  {
758
874
  "name": "_agentSender",
759
875
  "type": "address"
760
876
  },
877
+ {
878
+ "name": "_agentWrapper",
879
+ "type": "address"
880
+ },
761
881
  {
762
882
  "name": "_userWallet",
763
883
  "type": "address"
@@ -767,7 +887,11 @@ export const abi = [
767
887
  "type": "uint256"
768
888
  },
769
889
  {
770
- "name": "_vaultToken",
890
+ "name": "_asset",
891
+ "type": "address"
892
+ },
893
+ {
894
+ "name": "_vaultAddr",
771
895
  "type": "address"
772
896
  },
773
897
  {
@@ -777,10 +901,6 @@ export const abi = [
777
901
  {
778
902
  "name": "_extraData",
779
903
  "type": "bytes32"
780
- },
781
- {
782
- "name": "_nonce",
783
- "type": "uint256"
784
904
  }
785
905
  ],
786
906
  "outputs": [
@@ -801,12 +921,16 @@ export const abi = [
801
921
  {
802
922
  "stateMutability": "view",
803
923
  "type": "function",
804
- "name": "getWithdrawFromYieldHash",
924
+ "name": "getDepositForYieldHash",
805
925
  "inputs": [
806
926
  {
807
927
  "name": "_agentSender",
808
928
  "type": "address"
809
929
  },
930
+ {
931
+ "name": "_agentWrapper",
932
+ "type": "address"
933
+ },
810
934
  {
811
935
  "name": "_userWallet",
812
936
  "type": "address"
@@ -816,7 +940,11 @@ export const abi = [
816
940
  "type": "uint256"
817
941
  },
818
942
  {
819
- "name": "_vaultToken",
943
+ "name": "_asset",
944
+ "type": "address"
945
+ },
946
+ {
947
+ "name": "_vaultAddr",
820
948
  "type": "address"
821
949
  },
822
950
  {
@@ -830,10 +958,6 @@ export const abi = [
830
958
  {
831
959
  "name": "_nonce",
832
960
  "type": "uint256"
833
- },
834
- {
835
- "name": "_expiration",
836
- "type": "uint256"
837
961
  }
838
962
  ],
839
963
  "outputs": [
@@ -854,26 +978,46 @@ export const abi = [
854
978
  {
855
979
  "stateMutability": "view",
856
980
  "type": "function",
857
- "name": "getRebalanceYieldPositionHash",
981
+ "name": "getDepositForYieldHash",
858
982
  "inputs": [
859
983
  {
860
984
  "name": "_agentSender",
861
985
  "type": "address"
862
986
  },
987
+ {
988
+ "name": "_agentWrapper",
989
+ "type": "address"
990
+ },
863
991
  {
864
992
  "name": "_userWallet",
865
993
  "type": "address"
866
994
  },
867
995
  {
868
- "name": "_fromLegoId",
996
+ "name": "_legoId",
869
997
  "type": "uint256"
870
998
  },
871
999
  {
872
- "name": "_fromVaultToken",
1000
+ "name": "_asset",
873
1001
  "type": "address"
874
1002
  },
875
1003
  {
876
- "name": "_toLegoId",
1004
+ "name": "_vaultAddr",
1005
+ "type": "address"
1006
+ },
1007
+ {
1008
+ "name": "_amount",
1009
+ "type": "uint256"
1010
+ },
1011
+ {
1012
+ "name": "_extraData",
1013
+ "type": "bytes32"
1014
+ },
1015
+ {
1016
+ "name": "_nonce",
1017
+ "type": "uint256"
1018
+ },
1019
+ {
1020
+ "name": "_expiration",
877
1021
  "type": "uint256"
878
1022
  }
879
1023
  ],
@@ -895,30 +1039,26 @@ export const abi = [
895
1039
  {
896
1040
  "stateMutability": "view",
897
1041
  "type": "function",
898
- "name": "getRebalanceYieldPositionHash",
1042
+ "name": "getWithdrawFromYieldHash",
899
1043
  "inputs": [
900
1044
  {
901
1045
  "name": "_agentSender",
902
1046
  "type": "address"
903
1047
  },
904
1048
  {
905
- "name": "_userWallet",
1049
+ "name": "_agentWrapper",
906
1050
  "type": "address"
907
1051
  },
908
1052
  {
909
- "name": "_fromLegoId",
910
- "type": "uint256"
911
- },
912
- {
913
- "name": "_fromVaultToken",
1053
+ "name": "_userWallet",
914
1054
  "type": "address"
915
1055
  },
916
1056
  {
917
- "name": "_toLegoId",
1057
+ "name": "_legoId",
918
1058
  "type": "uint256"
919
1059
  },
920
1060
  {
921
- "name": "_toVaultAddr",
1061
+ "name": "_vaultToken",
922
1062
  "type": "address"
923
1063
  }
924
1064
  ],
@@ -940,34 +1080,30 @@ export const abi = [
940
1080
  {
941
1081
  "stateMutability": "view",
942
1082
  "type": "function",
943
- "name": "getRebalanceYieldPositionHash",
1083
+ "name": "getWithdrawFromYieldHash",
944
1084
  "inputs": [
945
1085
  {
946
1086
  "name": "_agentSender",
947
1087
  "type": "address"
948
1088
  },
949
1089
  {
950
- "name": "_userWallet",
1090
+ "name": "_agentWrapper",
951
1091
  "type": "address"
952
1092
  },
953
1093
  {
954
- "name": "_fromLegoId",
955
- "type": "uint256"
956
- },
957
- {
958
- "name": "_fromVaultToken",
1094
+ "name": "_userWallet",
959
1095
  "type": "address"
960
1096
  },
961
1097
  {
962
- "name": "_toLegoId",
1098
+ "name": "_legoId",
963
1099
  "type": "uint256"
964
1100
  },
965
1101
  {
966
- "name": "_toVaultAddr",
1102
+ "name": "_vaultToken",
967
1103
  "type": "address"
968
1104
  },
969
1105
  {
970
- "name": "_fromVaultAmount",
1106
+ "name": "_amount",
971
1107
  "type": "uint256"
972
1108
  }
973
1109
  ],
@@ -989,34 +1125,30 @@ export const abi = [
989
1125
  {
990
1126
  "stateMutability": "view",
991
1127
  "type": "function",
992
- "name": "getRebalanceYieldPositionHash",
1128
+ "name": "getWithdrawFromYieldHash",
993
1129
  "inputs": [
994
1130
  {
995
1131
  "name": "_agentSender",
996
1132
  "type": "address"
997
1133
  },
998
1134
  {
999
- "name": "_userWallet",
1135
+ "name": "_agentWrapper",
1000
1136
  "type": "address"
1001
1137
  },
1002
1138
  {
1003
- "name": "_fromLegoId",
1004
- "type": "uint256"
1005
- },
1006
- {
1007
- "name": "_fromVaultToken",
1139
+ "name": "_userWallet",
1008
1140
  "type": "address"
1009
1141
  },
1010
1142
  {
1011
- "name": "_toLegoId",
1143
+ "name": "_legoId",
1012
1144
  "type": "uint256"
1013
1145
  },
1014
1146
  {
1015
- "name": "_toVaultAddr",
1147
+ "name": "_vaultToken",
1016
1148
  "type": "address"
1017
1149
  },
1018
1150
  {
1019
- "name": "_fromVaultAmount",
1151
+ "name": "_amount",
1020
1152
  "type": "uint256"
1021
1153
  },
1022
1154
  {
@@ -1042,34 +1174,30 @@ export const abi = [
1042
1174
  {
1043
1175
  "stateMutability": "view",
1044
1176
  "type": "function",
1045
- "name": "getRebalanceYieldPositionHash",
1177
+ "name": "getWithdrawFromYieldHash",
1046
1178
  "inputs": [
1047
1179
  {
1048
1180
  "name": "_agentSender",
1049
1181
  "type": "address"
1050
1182
  },
1051
1183
  {
1052
- "name": "_userWallet",
1184
+ "name": "_agentWrapper",
1053
1185
  "type": "address"
1054
1186
  },
1055
1187
  {
1056
- "name": "_fromLegoId",
1057
- "type": "uint256"
1058
- },
1059
- {
1060
- "name": "_fromVaultToken",
1188
+ "name": "_userWallet",
1061
1189
  "type": "address"
1062
1190
  },
1063
1191
  {
1064
- "name": "_toLegoId",
1192
+ "name": "_legoId",
1065
1193
  "type": "uint256"
1066
1194
  },
1067
1195
  {
1068
- "name": "_toVaultAddr",
1196
+ "name": "_vaultToken",
1069
1197
  "type": "address"
1070
1198
  },
1071
1199
  {
1072
- "name": "_fromVaultAmount",
1200
+ "name": "_amount",
1073
1201
  "type": "uint256"
1074
1202
  },
1075
1203
  {
@@ -1099,34 +1227,30 @@ export const abi = [
1099
1227
  {
1100
1228
  "stateMutability": "view",
1101
1229
  "type": "function",
1102
- "name": "getRebalanceYieldPositionHash",
1230
+ "name": "getWithdrawFromYieldHash",
1103
1231
  "inputs": [
1104
1232
  {
1105
1233
  "name": "_agentSender",
1106
1234
  "type": "address"
1107
1235
  },
1108
1236
  {
1109
- "name": "_userWallet",
1237
+ "name": "_agentWrapper",
1110
1238
  "type": "address"
1111
1239
  },
1112
1240
  {
1113
- "name": "_fromLegoId",
1114
- "type": "uint256"
1115
- },
1116
- {
1117
- "name": "_fromVaultToken",
1241
+ "name": "_userWallet",
1118
1242
  "type": "address"
1119
1243
  },
1120
1244
  {
1121
- "name": "_toLegoId",
1245
+ "name": "_legoId",
1122
1246
  "type": "uint256"
1123
1247
  },
1124
1248
  {
1125
- "name": "_toVaultAddr",
1249
+ "name": "_vaultToken",
1126
1250
  "type": "address"
1127
1251
  },
1128
1252
  {
1129
- "name": "_fromVaultAmount",
1253
+ "name": "_amount",
1130
1254
  "type": "uint256"
1131
1255
  },
1132
1256
  {
@@ -1160,41 +1284,31 @@ export const abi = [
1160
1284
  {
1161
1285
  "stateMutability": "view",
1162
1286
  "type": "function",
1163
- "name": "getSwapTokensHash",
1287
+ "name": "getRebalanceYieldPositionHash",
1164
1288
  "inputs": [
1165
1289
  {
1166
1290
  "name": "_agentSender",
1167
1291
  "type": "address"
1168
1292
  },
1293
+ {
1294
+ "name": "_agentWrapper",
1295
+ "type": "address"
1296
+ },
1169
1297
  {
1170
1298
  "name": "_userWallet",
1171
1299
  "type": "address"
1172
1300
  },
1173
1301
  {
1174
- "name": "_swapInstructions",
1175
- "type": "tuple[]",
1176
- "components": [
1177
- {
1178
- "name": "legoId",
1179
- "type": "uint256"
1180
- },
1181
- {
1182
- "name": "amountIn",
1183
- "type": "uint256"
1184
- },
1185
- {
1186
- "name": "minAmountOut",
1187
- "type": "uint256"
1188
- },
1189
- {
1190
- "name": "tokenPath",
1191
- "type": "address[]"
1192
- },
1193
- {
1194
- "name": "poolPath",
1195
- "type": "address[]"
1196
- }
1197
- ]
1302
+ "name": "_fromLegoId",
1303
+ "type": "uint256"
1304
+ },
1305
+ {
1306
+ "name": "_fromVaultToken",
1307
+ "type": "address"
1308
+ },
1309
+ {
1310
+ "name": "_toLegoId",
1311
+ "type": "uint256"
1198
1312
  }
1199
1313
  ],
1200
1314
  "outputs": [
@@ -1215,45 +1329,35 @@ export const abi = [
1215
1329
  {
1216
1330
  "stateMutability": "view",
1217
1331
  "type": "function",
1218
- "name": "getSwapTokensHash",
1332
+ "name": "getRebalanceYieldPositionHash",
1219
1333
  "inputs": [
1220
1334
  {
1221
1335
  "name": "_agentSender",
1222
1336
  "type": "address"
1223
1337
  },
1338
+ {
1339
+ "name": "_agentWrapper",
1340
+ "type": "address"
1341
+ },
1224
1342
  {
1225
1343
  "name": "_userWallet",
1226
1344
  "type": "address"
1227
1345
  },
1228
1346
  {
1229
- "name": "_swapInstructions",
1230
- "type": "tuple[]",
1231
- "components": [
1232
- {
1233
- "name": "legoId",
1234
- "type": "uint256"
1235
- },
1236
- {
1237
- "name": "amountIn",
1238
- "type": "uint256"
1239
- },
1240
- {
1241
- "name": "minAmountOut",
1242
- "type": "uint256"
1243
- },
1244
- {
1245
- "name": "tokenPath",
1246
- "type": "address[]"
1247
- },
1248
- {
1249
- "name": "poolPath",
1250
- "type": "address[]"
1251
- }
1252
- ]
1347
+ "name": "_fromLegoId",
1348
+ "type": "uint256"
1253
1349
  },
1254
1350
  {
1255
- "name": "_nonce",
1351
+ "name": "_fromVaultToken",
1352
+ "type": "address"
1353
+ },
1354
+ {
1355
+ "name": "_toLegoId",
1256
1356
  "type": "uint256"
1357
+ },
1358
+ {
1359
+ "name": "_toVaultAddr",
1360
+ "type": "address"
1257
1361
  }
1258
1362
  ],
1259
1363
  "outputs": [
@@ -1274,48 +1378,38 @@ export const abi = [
1274
1378
  {
1275
1379
  "stateMutability": "view",
1276
1380
  "type": "function",
1277
- "name": "getSwapTokensHash",
1381
+ "name": "getRebalanceYieldPositionHash",
1278
1382
  "inputs": [
1279
1383
  {
1280
1384
  "name": "_agentSender",
1281
1385
  "type": "address"
1282
1386
  },
1387
+ {
1388
+ "name": "_agentWrapper",
1389
+ "type": "address"
1390
+ },
1283
1391
  {
1284
1392
  "name": "_userWallet",
1285
1393
  "type": "address"
1286
1394
  },
1287
1395
  {
1288
- "name": "_swapInstructions",
1289
- "type": "tuple[]",
1290
- "components": [
1291
- {
1292
- "name": "legoId",
1293
- "type": "uint256"
1294
- },
1295
- {
1296
- "name": "amountIn",
1297
- "type": "uint256"
1298
- },
1299
- {
1300
- "name": "minAmountOut",
1301
- "type": "uint256"
1302
- },
1303
- {
1304
- "name": "tokenPath",
1305
- "type": "address[]"
1306
- },
1307
- {
1308
- "name": "poolPath",
1309
- "type": "address[]"
1310
- }
1311
- ]
1396
+ "name": "_fromLegoId",
1397
+ "type": "uint256"
1312
1398
  },
1313
1399
  {
1314
- "name": "_nonce",
1400
+ "name": "_fromVaultToken",
1401
+ "type": "address"
1402
+ },
1403
+ {
1404
+ "name": "_toLegoId",
1315
1405
  "type": "uint256"
1316
1406
  },
1317
1407
  {
1318
- "name": "_expiration",
1408
+ "name": "_toVaultAddr",
1409
+ "type": "address"
1410
+ },
1411
+ {
1412
+ "name": "_fromVaultAmount",
1319
1413
  "type": "uint256"
1320
1414
  }
1321
1415
  ],
@@ -1337,27 +1431,43 @@ export const abi = [
1337
1431
  {
1338
1432
  "stateMutability": "view",
1339
1433
  "type": "function",
1340
- "name": "getMintOrRedeemAssetHash",
1434
+ "name": "getRebalanceYieldPositionHash",
1341
1435
  "inputs": [
1342
1436
  {
1343
1437
  "name": "_agentSender",
1344
1438
  "type": "address"
1345
1439
  },
1440
+ {
1441
+ "name": "_agentWrapper",
1442
+ "type": "address"
1443
+ },
1346
1444
  {
1347
1445
  "name": "_userWallet",
1348
1446
  "type": "address"
1349
1447
  },
1350
1448
  {
1351
- "name": "_legoId",
1449
+ "name": "_fromLegoId",
1352
1450
  "type": "uint256"
1353
1451
  },
1354
1452
  {
1355
- "name": "_tokenIn",
1453
+ "name": "_fromVaultToken",
1356
1454
  "type": "address"
1357
1455
  },
1358
1456
  {
1359
- "name": "_tokenOut",
1457
+ "name": "_toLegoId",
1458
+ "type": "uint256"
1459
+ },
1460
+ {
1461
+ "name": "_toVaultAddr",
1360
1462
  "type": "address"
1463
+ },
1464
+ {
1465
+ "name": "_fromVaultAmount",
1466
+ "type": "uint256"
1467
+ },
1468
+ {
1469
+ "name": "_extraData",
1470
+ "type": "bytes32"
1361
1471
  }
1362
1472
  ],
1363
1473
  "outputs": [
@@ -1378,30 +1488,46 @@ export const abi = [
1378
1488
  {
1379
1489
  "stateMutability": "view",
1380
1490
  "type": "function",
1381
- "name": "getMintOrRedeemAssetHash",
1491
+ "name": "getRebalanceYieldPositionHash",
1382
1492
  "inputs": [
1383
1493
  {
1384
1494
  "name": "_agentSender",
1385
1495
  "type": "address"
1386
1496
  },
1497
+ {
1498
+ "name": "_agentWrapper",
1499
+ "type": "address"
1500
+ },
1387
1501
  {
1388
1502
  "name": "_userWallet",
1389
1503
  "type": "address"
1390
1504
  },
1391
1505
  {
1392
- "name": "_legoId",
1506
+ "name": "_fromLegoId",
1393
1507
  "type": "uint256"
1394
1508
  },
1395
1509
  {
1396
- "name": "_tokenIn",
1510
+ "name": "_fromVaultToken",
1397
1511
  "type": "address"
1398
1512
  },
1399
1513
  {
1400
- "name": "_tokenOut",
1514
+ "name": "_toLegoId",
1515
+ "type": "uint256"
1516
+ },
1517
+ {
1518
+ "name": "_toVaultAddr",
1401
1519
  "type": "address"
1402
1520
  },
1403
1521
  {
1404
- "name": "_amountIn",
1522
+ "name": "_fromVaultAmount",
1523
+ "type": "uint256"
1524
+ },
1525
+ {
1526
+ "name": "_extraData",
1527
+ "type": "bytes32"
1528
+ },
1529
+ {
1530
+ "name": "_nonce",
1405
1531
  "type": "uint256"
1406
1532
  }
1407
1533
  ],
@@ -1423,34 +1549,50 @@ export const abi = [
1423
1549
  {
1424
1550
  "stateMutability": "view",
1425
1551
  "type": "function",
1426
- "name": "getMintOrRedeemAssetHash",
1552
+ "name": "getRebalanceYieldPositionHash",
1427
1553
  "inputs": [
1428
1554
  {
1429
1555
  "name": "_agentSender",
1430
1556
  "type": "address"
1431
1557
  },
1558
+ {
1559
+ "name": "_agentWrapper",
1560
+ "type": "address"
1561
+ },
1432
1562
  {
1433
1563
  "name": "_userWallet",
1434
1564
  "type": "address"
1435
1565
  },
1436
1566
  {
1437
- "name": "_legoId",
1567
+ "name": "_fromLegoId",
1438
1568
  "type": "uint256"
1439
1569
  },
1440
1570
  {
1441
- "name": "_tokenIn",
1571
+ "name": "_fromVaultToken",
1442
1572
  "type": "address"
1443
1573
  },
1444
1574
  {
1445
- "name": "_tokenOut",
1575
+ "name": "_toLegoId",
1576
+ "type": "uint256"
1577
+ },
1578
+ {
1579
+ "name": "_toVaultAddr",
1446
1580
  "type": "address"
1447
1581
  },
1448
1582
  {
1449
- "name": "_amountIn",
1583
+ "name": "_fromVaultAmount",
1450
1584
  "type": "uint256"
1451
1585
  },
1452
1586
  {
1453
- "name": "_minAmountOut",
1587
+ "name": "_extraData",
1588
+ "type": "bytes32"
1589
+ },
1590
+ {
1591
+ "name": "_nonce",
1592
+ "type": "uint256"
1593
+ },
1594
+ {
1595
+ "name": "_expiration",
1454
1596
  "type": "uint256"
1455
1597
  }
1456
1598
  ],
@@ -1472,39 +1614,45 @@ export const abi = [
1472
1614
  {
1473
1615
  "stateMutability": "view",
1474
1616
  "type": "function",
1475
- "name": "getMintOrRedeemAssetHash",
1617
+ "name": "getSwapTokensHash",
1476
1618
  "inputs": [
1477
1619
  {
1478
1620
  "name": "_agentSender",
1479
1621
  "type": "address"
1480
1622
  },
1481
1623
  {
1482
- "name": "_userWallet",
1624
+ "name": "_agentWrapper",
1483
1625
  "type": "address"
1484
1626
  },
1485
1627
  {
1486
- "name": "_legoId",
1487
- "type": "uint256"
1488
- },
1489
- {
1490
- "name": "_tokenIn",
1628
+ "name": "_userWallet",
1491
1629
  "type": "address"
1492
1630
  },
1493
1631
  {
1494
- "name": "_tokenOut",
1495
- "type": "address"
1496
- },
1497
- {
1498
- "name": "_amountIn",
1499
- "type": "uint256"
1500
- },
1501
- {
1502
- "name": "_minAmountOut",
1503
- "type": "uint256"
1504
- },
1505
- {
1506
- "name": "_extraData",
1507
- "type": "bytes32"
1632
+ "name": "_swapInstructions",
1633
+ "type": "tuple[]",
1634
+ "components": [
1635
+ {
1636
+ "name": "legoId",
1637
+ "type": "uint256"
1638
+ },
1639
+ {
1640
+ "name": "amountIn",
1641
+ "type": "uint256"
1642
+ },
1643
+ {
1644
+ "name": "minAmountOut",
1645
+ "type": "uint256"
1646
+ },
1647
+ {
1648
+ "name": "tokenPath",
1649
+ "type": "address[]"
1650
+ },
1651
+ {
1652
+ "name": "poolPath",
1653
+ "type": "address[]"
1654
+ }
1655
+ ]
1508
1656
  }
1509
1657
  ],
1510
1658
  "outputs": [
@@ -1525,39 +1673,45 @@ export const abi = [
1525
1673
  {
1526
1674
  "stateMutability": "view",
1527
1675
  "type": "function",
1528
- "name": "getMintOrRedeemAssetHash",
1676
+ "name": "getSwapTokensHash",
1529
1677
  "inputs": [
1530
1678
  {
1531
1679
  "name": "_agentSender",
1532
1680
  "type": "address"
1533
1681
  },
1534
1682
  {
1535
- "name": "_userWallet",
1536
- "type": "address"
1537
- },
1538
- {
1539
- "name": "_legoId",
1540
- "type": "uint256"
1541
- },
1542
- {
1543
- "name": "_tokenIn",
1683
+ "name": "_agentWrapper",
1544
1684
  "type": "address"
1545
1685
  },
1546
1686
  {
1547
- "name": "_tokenOut",
1687
+ "name": "_userWallet",
1548
1688
  "type": "address"
1549
1689
  },
1550
1690
  {
1551
- "name": "_amountIn",
1552
- "type": "uint256"
1553
- },
1554
- {
1555
- "name": "_minAmountOut",
1556
- "type": "uint256"
1557
- },
1558
- {
1559
- "name": "_extraData",
1560
- "type": "bytes32"
1691
+ "name": "_swapInstructions",
1692
+ "type": "tuple[]",
1693
+ "components": [
1694
+ {
1695
+ "name": "legoId",
1696
+ "type": "uint256"
1697
+ },
1698
+ {
1699
+ "name": "amountIn",
1700
+ "type": "uint256"
1701
+ },
1702
+ {
1703
+ "name": "minAmountOut",
1704
+ "type": "uint256"
1705
+ },
1706
+ {
1707
+ "name": "tokenPath",
1708
+ "type": "address[]"
1709
+ },
1710
+ {
1711
+ "name": "poolPath",
1712
+ "type": "address[]"
1713
+ }
1714
+ ]
1561
1715
  },
1562
1716
  {
1563
1717
  "name": "_nonce",
@@ -1582,39 +1736,45 @@ export const abi = [
1582
1736
  {
1583
1737
  "stateMutability": "view",
1584
1738
  "type": "function",
1585
- "name": "getMintOrRedeemAssetHash",
1739
+ "name": "getSwapTokensHash",
1586
1740
  "inputs": [
1587
1741
  {
1588
1742
  "name": "_agentSender",
1589
1743
  "type": "address"
1590
1744
  },
1591
1745
  {
1592
- "name": "_userWallet",
1593
- "type": "address"
1594
- },
1595
- {
1596
- "name": "_legoId",
1597
- "type": "uint256"
1598
- },
1599
- {
1600
- "name": "_tokenIn",
1746
+ "name": "_agentWrapper",
1601
1747
  "type": "address"
1602
1748
  },
1603
1749
  {
1604
- "name": "_tokenOut",
1750
+ "name": "_userWallet",
1605
1751
  "type": "address"
1606
1752
  },
1607
1753
  {
1608
- "name": "_amountIn",
1609
- "type": "uint256"
1610
- },
1611
- {
1612
- "name": "_minAmountOut",
1613
- "type": "uint256"
1614
- },
1615
- {
1616
- "name": "_extraData",
1617
- "type": "bytes32"
1754
+ "name": "_swapInstructions",
1755
+ "type": "tuple[]",
1756
+ "components": [
1757
+ {
1758
+ "name": "legoId",
1759
+ "type": "uint256"
1760
+ },
1761
+ {
1762
+ "name": "amountIn",
1763
+ "type": "uint256"
1764
+ },
1765
+ {
1766
+ "name": "minAmountOut",
1767
+ "type": "uint256"
1768
+ },
1769
+ {
1770
+ "name": "tokenPath",
1771
+ "type": "address[]"
1772
+ },
1773
+ {
1774
+ "name": "poolPath",
1775
+ "type": "address[]"
1776
+ }
1777
+ ]
1618
1778
  },
1619
1779
  {
1620
1780
  "name": "_nonce",
@@ -1643,12 +1803,16 @@ export const abi = [
1643
1803
  {
1644
1804
  "stateMutability": "view",
1645
1805
  "type": "function",
1646
- "name": "getConfirmMintOrRedeemAssetHash",
1806
+ "name": "getMintOrRedeemAssetHash",
1647
1807
  "inputs": [
1648
1808
  {
1649
1809
  "name": "_agentSender",
1650
1810
  "type": "address"
1651
1811
  },
1812
+ {
1813
+ "name": "_agentWrapper",
1814
+ "type": "address"
1815
+ },
1652
1816
  {
1653
1817
  "name": "_userWallet",
1654
1818
  "type": "address"
@@ -1684,12 +1848,16 @@ export const abi = [
1684
1848
  {
1685
1849
  "stateMutability": "view",
1686
1850
  "type": "function",
1687
- "name": "getConfirmMintOrRedeemAssetHash",
1851
+ "name": "getMintOrRedeemAssetHash",
1688
1852
  "inputs": [
1689
1853
  {
1690
1854
  "name": "_agentSender",
1691
1855
  "type": "address"
1692
1856
  },
1857
+ {
1858
+ "name": "_agentWrapper",
1859
+ "type": "address"
1860
+ },
1693
1861
  {
1694
1862
  "name": "_userWallet",
1695
1863
  "type": "address"
@@ -1707,8 +1875,8 @@ export const abi = [
1707
1875
  "type": "address"
1708
1876
  },
1709
1877
  {
1710
- "name": "_extraData",
1711
- "type": "bytes32"
1878
+ "name": "_amountIn",
1879
+ "type": "uint256"
1712
1880
  }
1713
1881
  ],
1714
1882
  "outputs": [
@@ -1729,12 +1897,16 @@ export const abi = [
1729
1897
  {
1730
1898
  "stateMutability": "view",
1731
1899
  "type": "function",
1732
- "name": "getConfirmMintOrRedeemAssetHash",
1900
+ "name": "getMintOrRedeemAssetHash",
1733
1901
  "inputs": [
1734
1902
  {
1735
1903
  "name": "_agentSender",
1736
1904
  "type": "address"
1737
1905
  },
1906
+ {
1907
+ "name": "_agentWrapper",
1908
+ "type": "address"
1909
+ },
1738
1910
  {
1739
1911
  "name": "_userWallet",
1740
1912
  "type": "address"
@@ -1752,11 +1924,11 @@ export const abi = [
1752
1924
  "type": "address"
1753
1925
  },
1754
1926
  {
1755
- "name": "_extraData",
1756
- "type": "bytes32"
1927
+ "name": "_amountIn",
1928
+ "type": "uint256"
1757
1929
  },
1758
1930
  {
1759
- "name": "_nonce",
1931
+ "name": "_minAmountOut",
1760
1932
  "type": "uint256"
1761
1933
  }
1762
1934
  ],
@@ -1778,12 +1950,16 @@ export const abi = [
1778
1950
  {
1779
1951
  "stateMutability": "view",
1780
1952
  "type": "function",
1781
- "name": "getConfirmMintOrRedeemAssetHash",
1953
+ "name": "getMintOrRedeemAssetHash",
1782
1954
  "inputs": [
1783
1955
  {
1784
1956
  "name": "_agentSender",
1785
1957
  "type": "address"
1786
1958
  },
1959
+ {
1960
+ "name": "_agentWrapper",
1961
+ "type": "address"
1962
+ },
1787
1963
  {
1788
1964
  "name": "_userWallet",
1789
1965
  "type": "address"
@@ -1801,16 +1977,16 @@ export const abi = [
1801
1977
  "type": "address"
1802
1978
  },
1803
1979
  {
1804
- "name": "_extraData",
1805
- "type": "bytes32"
1980
+ "name": "_amountIn",
1981
+ "type": "uint256"
1806
1982
  },
1807
1983
  {
1808
- "name": "_nonce",
1984
+ "name": "_minAmountOut",
1809
1985
  "type": "uint256"
1810
1986
  },
1811
1987
  {
1812
- "name": "_expiration",
1813
- "type": "uint256"
1988
+ "name": "_extraData",
1989
+ "type": "bytes32"
1814
1990
  }
1815
1991
  ],
1816
1992
  "outputs": [
@@ -1831,12 +2007,16 @@ export const abi = [
1831
2007
  {
1832
2008
  "stateMutability": "view",
1833
2009
  "type": "function",
1834
- "name": "getAddCollateralHash",
2010
+ "name": "getMintOrRedeemAssetHash",
1835
2011
  "inputs": [
1836
2012
  {
1837
2013
  "name": "_agentSender",
1838
2014
  "type": "address"
1839
2015
  },
2016
+ {
2017
+ "name": "_agentWrapper",
2018
+ "type": "address"
2019
+ },
1840
2020
  {
1841
2021
  "name": "_userWallet",
1842
2022
  "type": "address"
@@ -1846,8 +2026,28 @@ export const abi = [
1846
2026
  "type": "uint256"
1847
2027
  },
1848
2028
  {
1849
- "name": "_asset",
2029
+ "name": "_tokenIn",
1850
2030
  "type": "address"
2031
+ },
2032
+ {
2033
+ "name": "_tokenOut",
2034
+ "type": "address"
2035
+ },
2036
+ {
2037
+ "name": "_amountIn",
2038
+ "type": "uint256"
2039
+ },
2040
+ {
2041
+ "name": "_minAmountOut",
2042
+ "type": "uint256"
2043
+ },
2044
+ {
2045
+ "name": "_extraData",
2046
+ "type": "bytes32"
2047
+ },
2048
+ {
2049
+ "name": "_nonce",
2050
+ "type": "uint256"
1851
2051
  }
1852
2052
  ],
1853
2053
  "outputs": [
@@ -1868,12 +2068,16 @@ export const abi = [
1868
2068
  {
1869
2069
  "stateMutability": "view",
1870
2070
  "type": "function",
1871
- "name": "getAddCollateralHash",
2071
+ "name": "getMintOrRedeemAssetHash",
1872
2072
  "inputs": [
1873
2073
  {
1874
2074
  "name": "_agentSender",
1875
2075
  "type": "address"
1876
2076
  },
2077
+ {
2078
+ "name": "_agentWrapper",
2079
+ "type": "address"
2080
+ },
1877
2081
  {
1878
2082
  "name": "_userWallet",
1879
2083
  "type": "address"
@@ -1883,11 +2087,31 @@ export const abi = [
1883
2087
  "type": "uint256"
1884
2088
  },
1885
2089
  {
1886
- "name": "_asset",
2090
+ "name": "_tokenIn",
1887
2091
  "type": "address"
1888
2092
  },
1889
2093
  {
1890
- "name": "_amount",
2094
+ "name": "_tokenOut",
2095
+ "type": "address"
2096
+ },
2097
+ {
2098
+ "name": "_amountIn",
2099
+ "type": "uint256"
2100
+ },
2101
+ {
2102
+ "name": "_minAmountOut",
2103
+ "type": "uint256"
2104
+ },
2105
+ {
2106
+ "name": "_extraData",
2107
+ "type": "bytes32"
2108
+ },
2109
+ {
2110
+ "name": "_nonce",
2111
+ "type": "uint256"
2112
+ },
2113
+ {
2114
+ "name": "_expiration",
1891
2115
  "type": "uint256"
1892
2116
  }
1893
2117
  ],
@@ -1909,12 +2133,16 @@ export const abi = [
1909
2133
  {
1910
2134
  "stateMutability": "view",
1911
2135
  "type": "function",
1912
- "name": "getAddCollateralHash",
2136
+ "name": "getConfirmMintOrRedeemAssetHash",
1913
2137
  "inputs": [
1914
2138
  {
1915
2139
  "name": "_agentSender",
1916
2140
  "type": "address"
1917
2141
  },
2142
+ {
2143
+ "name": "_agentWrapper",
2144
+ "type": "address"
2145
+ },
1918
2146
  {
1919
2147
  "name": "_userWallet",
1920
2148
  "type": "address"
@@ -1924,16 +2152,12 @@ export const abi = [
1924
2152
  "type": "uint256"
1925
2153
  },
1926
2154
  {
1927
- "name": "_asset",
2155
+ "name": "_tokenIn",
1928
2156
  "type": "address"
1929
2157
  },
1930
2158
  {
1931
- "name": "_amount",
1932
- "type": "uint256"
1933
- },
1934
- {
1935
- "name": "_extraData",
1936
- "type": "bytes32"
2159
+ "name": "_tokenOut",
2160
+ "type": "address"
1937
2161
  }
1938
2162
  ],
1939
2163
  "outputs": [
@@ -1954,12 +2178,16 @@ export const abi = [
1954
2178
  {
1955
2179
  "stateMutability": "view",
1956
2180
  "type": "function",
1957
- "name": "getAddCollateralHash",
2181
+ "name": "getConfirmMintOrRedeemAssetHash",
1958
2182
  "inputs": [
1959
2183
  {
1960
2184
  "name": "_agentSender",
1961
2185
  "type": "address"
1962
2186
  },
2187
+ {
2188
+ "name": "_agentWrapper",
2189
+ "type": "address"
2190
+ },
1963
2191
  {
1964
2192
  "name": "_userWallet",
1965
2193
  "type": "address"
@@ -1969,20 +2197,16 @@ export const abi = [
1969
2197
  "type": "uint256"
1970
2198
  },
1971
2199
  {
1972
- "name": "_asset",
2200
+ "name": "_tokenIn",
1973
2201
  "type": "address"
1974
2202
  },
1975
2203
  {
1976
- "name": "_amount",
1977
- "type": "uint256"
2204
+ "name": "_tokenOut",
2205
+ "type": "address"
1978
2206
  },
1979
2207
  {
1980
2208
  "name": "_extraData",
1981
2209
  "type": "bytes32"
1982
- },
1983
- {
1984
- "name": "_nonce",
1985
- "type": "uint256"
1986
2210
  }
1987
2211
  ],
1988
2212
  "outputs": [
@@ -2003,12 +2227,16 @@ export const abi = [
2003
2227
  {
2004
2228
  "stateMutability": "view",
2005
2229
  "type": "function",
2006
- "name": "getAddCollateralHash",
2230
+ "name": "getConfirmMintOrRedeemAssetHash",
2007
2231
  "inputs": [
2008
2232
  {
2009
2233
  "name": "_agentSender",
2010
2234
  "type": "address"
2011
2235
  },
2236
+ {
2237
+ "name": "_agentWrapper",
2238
+ "type": "address"
2239
+ },
2012
2240
  {
2013
2241
  "name": "_userWallet",
2014
2242
  "type": "address"
@@ -2018,13 +2246,66 @@ export const abi = [
2018
2246
  "type": "uint256"
2019
2247
  },
2020
2248
  {
2021
- "name": "_asset",
2249
+ "name": "_tokenIn",
2022
2250
  "type": "address"
2023
2251
  },
2024
2252
  {
2025
- "name": "_amount",
2253
+ "name": "_tokenOut",
2254
+ "type": "address"
2255
+ },
2256
+ {
2257
+ "name": "_extraData",
2258
+ "type": "bytes32"
2259
+ },
2260
+ {
2261
+ "name": "_nonce",
2262
+ "type": "uint256"
2263
+ }
2264
+ ],
2265
+ "outputs": [
2266
+ {
2267
+ "name": "",
2268
+ "type": "bytes32"
2269
+ },
2270
+ {
2271
+ "name": "",
2272
+ "type": "uint256"
2273
+ },
2274
+ {
2275
+ "name": "",
2276
+ "type": "uint256"
2277
+ }
2278
+ ]
2279
+ },
2280
+ {
2281
+ "stateMutability": "view",
2282
+ "type": "function",
2283
+ "name": "getConfirmMintOrRedeemAssetHash",
2284
+ "inputs": [
2285
+ {
2286
+ "name": "_agentSender",
2287
+ "type": "address"
2288
+ },
2289
+ {
2290
+ "name": "_agentWrapper",
2291
+ "type": "address"
2292
+ },
2293
+ {
2294
+ "name": "_userWallet",
2295
+ "type": "address"
2296
+ },
2297
+ {
2298
+ "name": "_legoId",
2026
2299
  "type": "uint256"
2027
2300
  },
2301
+ {
2302
+ "name": "_tokenIn",
2303
+ "type": "address"
2304
+ },
2305
+ {
2306
+ "name": "_tokenOut",
2307
+ "type": "address"
2308
+ },
2028
2309
  {
2029
2310
  "name": "_extraData",
2030
2311
  "type": "bytes32"
@@ -2056,12 +2337,16 @@ export const abi = [
2056
2337
  {
2057
2338
  "stateMutability": "view",
2058
2339
  "type": "function",
2059
- "name": "getRemoveCollateralHash",
2340
+ "name": "getAddCollateralHash",
2060
2341
  "inputs": [
2061
2342
  {
2062
2343
  "name": "_agentSender",
2063
2344
  "type": "address"
2064
2345
  },
2346
+ {
2347
+ "name": "_agentWrapper",
2348
+ "type": "address"
2349
+ },
2065
2350
  {
2066
2351
  "name": "_userWallet",
2067
2352
  "type": "address"
@@ -2093,12 +2378,16 @@ export const abi = [
2093
2378
  {
2094
2379
  "stateMutability": "view",
2095
2380
  "type": "function",
2096
- "name": "getRemoveCollateralHash",
2381
+ "name": "getAddCollateralHash",
2097
2382
  "inputs": [
2098
2383
  {
2099
2384
  "name": "_agentSender",
2100
2385
  "type": "address"
2101
2386
  },
2387
+ {
2388
+ "name": "_agentWrapper",
2389
+ "type": "address"
2390
+ },
2102
2391
  {
2103
2392
  "name": "_userWallet",
2104
2393
  "type": "address"
@@ -2134,12 +2423,16 @@ export const abi = [
2134
2423
  {
2135
2424
  "stateMutability": "view",
2136
2425
  "type": "function",
2137
- "name": "getRemoveCollateralHash",
2426
+ "name": "getAddCollateralHash",
2138
2427
  "inputs": [
2139
2428
  {
2140
2429
  "name": "_agentSender",
2141
2430
  "type": "address"
2142
2431
  },
2432
+ {
2433
+ "name": "_agentWrapper",
2434
+ "type": "address"
2435
+ },
2143
2436
  {
2144
2437
  "name": "_userWallet",
2145
2438
  "type": "address"
@@ -2179,12 +2472,16 @@ export const abi = [
2179
2472
  {
2180
2473
  "stateMutability": "view",
2181
2474
  "type": "function",
2182
- "name": "getRemoveCollateralHash",
2475
+ "name": "getAddCollateralHash",
2183
2476
  "inputs": [
2184
2477
  {
2185
2478
  "name": "_agentSender",
2186
2479
  "type": "address"
2187
2480
  },
2481
+ {
2482
+ "name": "_agentWrapper",
2483
+ "type": "address"
2484
+ },
2188
2485
  {
2189
2486
  "name": "_userWallet",
2190
2487
  "type": "address"
@@ -2228,12 +2525,16 @@ export const abi = [
2228
2525
  {
2229
2526
  "stateMutability": "view",
2230
2527
  "type": "function",
2231
- "name": "getRemoveCollateralHash",
2528
+ "name": "getAddCollateralHash",
2232
2529
  "inputs": [
2233
2530
  {
2234
2531
  "name": "_agentSender",
2235
2532
  "type": "address"
2236
2533
  },
2534
+ {
2535
+ "name": "_agentWrapper",
2536
+ "type": "address"
2537
+ },
2237
2538
  {
2238
2539
  "name": "_userWallet",
2239
2540
  "type": "address"
@@ -2281,12 +2582,16 @@ export const abi = [
2281
2582
  {
2282
2583
  "stateMutability": "view",
2283
2584
  "type": "function",
2284
- "name": "getBorrowHash",
2585
+ "name": "getRemoveCollateralHash",
2285
2586
  "inputs": [
2286
2587
  {
2287
2588
  "name": "_agentSender",
2288
2589
  "type": "address"
2289
2590
  },
2591
+ {
2592
+ "name": "_agentWrapper",
2593
+ "type": "address"
2594
+ },
2290
2595
  {
2291
2596
  "name": "_userWallet",
2292
2597
  "type": "address"
@@ -2296,7 +2601,7 @@ export const abi = [
2296
2601
  "type": "uint256"
2297
2602
  },
2298
2603
  {
2299
- "name": "_borrowAsset",
2604
+ "name": "_asset",
2300
2605
  "type": "address"
2301
2606
  }
2302
2607
  ],
@@ -2318,12 +2623,16 @@ export const abi = [
2318
2623
  {
2319
2624
  "stateMutability": "view",
2320
2625
  "type": "function",
2321
- "name": "getBorrowHash",
2626
+ "name": "getRemoveCollateralHash",
2322
2627
  "inputs": [
2323
2628
  {
2324
2629
  "name": "_agentSender",
2325
2630
  "type": "address"
2326
2631
  },
2632
+ {
2633
+ "name": "_agentWrapper",
2634
+ "type": "address"
2635
+ },
2327
2636
  {
2328
2637
  "name": "_userWallet",
2329
2638
  "type": "address"
@@ -2333,7 +2642,7 @@ export const abi = [
2333
2642
  "type": "uint256"
2334
2643
  },
2335
2644
  {
2336
- "name": "_borrowAsset",
2645
+ "name": "_asset",
2337
2646
  "type": "address"
2338
2647
  },
2339
2648
  {
@@ -2359,12 +2668,16 @@ export const abi = [
2359
2668
  {
2360
2669
  "stateMutability": "view",
2361
2670
  "type": "function",
2362
- "name": "getBorrowHash",
2671
+ "name": "getRemoveCollateralHash",
2363
2672
  "inputs": [
2364
2673
  {
2365
2674
  "name": "_agentSender",
2366
2675
  "type": "address"
2367
2676
  },
2677
+ {
2678
+ "name": "_agentWrapper",
2679
+ "type": "address"
2680
+ },
2368
2681
  {
2369
2682
  "name": "_userWallet",
2370
2683
  "type": "address"
@@ -2374,7 +2687,7 @@ export const abi = [
2374
2687
  "type": "uint256"
2375
2688
  },
2376
2689
  {
2377
- "name": "_borrowAsset",
2690
+ "name": "_asset",
2378
2691
  "type": "address"
2379
2692
  },
2380
2693
  {
@@ -2404,12 +2717,16 @@ export const abi = [
2404
2717
  {
2405
2718
  "stateMutability": "view",
2406
2719
  "type": "function",
2407
- "name": "getBorrowHash",
2720
+ "name": "getRemoveCollateralHash",
2408
2721
  "inputs": [
2409
2722
  {
2410
2723
  "name": "_agentSender",
2411
2724
  "type": "address"
2412
2725
  },
2726
+ {
2727
+ "name": "_agentWrapper",
2728
+ "type": "address"
2729
+ },
2413
2730
  {
2414
2731
  "name": "_userWallet",
2415
2732
  "type": "address"
@@ -2419,7 +2736,7 @@ export const abi = [
2419
2736
  "type": "uint256"
2420
2737
  },
2421
2738
  {
2422
- "name": "_borrowAsset",
2739
+ "name": "_asset",
2423
2740
  "type": "address"
2424
2741
  },
2425
2742
  {
@@ -2453,12 +2770,16 @@ export const abi = [
2453
2770
  {
2454
2771
  "stateMutability": "view",
2455
2772
  "type": "function",
2456
- "name": "getBorrowHash",
2773
+ "name": "getRemoveCollateralHash",
2457
2774
  "inputs": [
2458
2775
  {
2459
2776
  "name": "_agentSender",
2460
2777
  "type": "address"
2461
2778
  },
2779
+ {
2780
+ "name": "_agentWrapper",
2781
+ "type": "address"
2782
+ },
2462
2783
  {
2463
2784
  "name": "_userWallet",
2464
2785
  "type": "address"
@@ -2468,7 +2789,7 @@ export const abi = [
2468
2789
  "type": "uint256"
2469
2790
  },
2470
2791
  {
2471
- "name": "_borrowAsset",
2792
+ "name": "_asset",
2472
2793
  "type": "address"
2473
2794
  },
2474
2795
  {
@@ -2506,12 +2827,16 @@ export const abi = [
2506
2827
  {
2507
2828
  "stateMutability": "view",
2508
2829
  "type": "function",
2509
- "name": "getRepayDebtHash",
2830
+ "name": "getBorrowHash",
2510
2831
  "inputs": [
2511
2832
  {
2512
2833
  "name": "_agentSender",
2513
2834
  "type": "address"
2514
2835
  },
2836
+ {
2837
+ "name": "_agentWrapper",
2838
+ "type": "address"
2839
+ },
2515
2840
  {
2516
2841
  "name": "_userWallet",
2517
2842
  "type": "address"
@@ -2521,7 +2846,7 @@ export const abi = [
2521
2846
  "type": "uint256"
2522
2847
  },
2523
2848
  {
2524
- "name": "_paymentAsset",
2849
+ "name": "_borrowAsset",
2525
2850
  "type": "address"
2526
2851
  }
2527
2852
  ],
@@ -2543,12 +2868,16 @@ export const abi = [
2543
2868
  {
2544
2869
  "stateMutability": "view",
2545
2870
  "type": "function",
2546
- "name": "getRepayDebtHash",
2871
+ "name": "getBorrowHash",
2547
2872
  "inputs": [
2548
2873
  {
2549
2874
  "name": "_agentSender",
2550
2875
  "type": "address"
2551
2876
  },
2877
+ {
2878
+ "name": "_agentWrapper",
2879
+ "type": "address"
2880
+ },
2552
2881
  {
2553
2882
  "name": "_userWallet",
2554
2883
  "type": "address"
@@ -2558,11 +2887,11 @@ export const abi = [
2558
2887
  "type": "uint256"
2559
2888
  },
2560
2889
  {
2561
- "name": "_paymentAsset",
2890
+ "name": "_borrowAsset",
2562
2891
  "type": "address"
2563
2892
  },
2564
2893
  {
2565
- "name": "_paymentAmount",
2894
+ "name": "_amount",
2566
2895
  "type": "uint256"
2567
2896
  }
2568
2897
  ],
@@ -2584,12 +2913,16 @@ export const abi = [
2584
2913
  {
2585
2914
  "stateMutability": "view",
2586
2915
  "type": "function",
2587
- "name": "getRepayDebtHash",
2916
+ "name": "getBorrowHash",
2588
2917
  "inputs": [
2589
2918
  {
2590
2919
  "name": "_agentSender",
2591
2920
  "type": "address"
2592
2921
  },
2922
+ {
2923
+ "name": "_agentWrapper",
2924
+ "type": "address"
2925
+ },
2593
2926
  {
2594
2927
  "name": "_userWallet",
2595
2928
  "type": "address"
@@ -2599,11 +2932,11 @@ export const abi = [
2599
2932
  "type": "uint256"
2600
2933
  },
2601
2934
  {
2602
- "name": "_paymentAsset",
2935
+ "name": "_borrowAsset",
2603
2936
  "type": "address"
2604
2937
  },
2605
2938
  {
2606
- "name": "_paymentAmount",
2939
+ "name": "_amount",
2607
2940
  "type": "uint256"
2608
2941
  },
2609
2942
  {
@@ -2629,12 +2962,16 @@ export const abi = [
2629
2962
  {
2630
2963
  "stateMutability": "view",
2631
2964
  "type": "function",
2632
- "name": "getRepayDebtHash",
2965
+ "name": "getBorrowHash",
2633
2966
  "inputs": [
2634
2967
  {
2635
2968
  "name": "_agentSender",
2636
2969
  "type": "address"
2637
2970
  },
2971
+ {
2972
+ "name": "_agentWrapper",
2973
+ "type": "address"
2974
+ },
2638
2975
  {
2639
2976
  "name": "_userWallet",
2640
2977
  "type": "address"
@@ -2644,11 +2981,11 @@ export const abi = [
2644
2981
  "type": "uint256"
2645
2982
  },
2646
2983
  {
2647
- "name": "_paymentAsset",
2984
+ "name": "_borrowAsset",
2648
2985
  "type": "address"
2649
2986
  },
2650
2987
  {
2651
- "name": "_paymentAmount",
2988
+ "name": "_amount",
2652
2989
  "type": "uint256"
2653
2990
  },
2654
2991
  {
@@ -2678,12 +3015,16 @@ export const abi = [
2678
3015
  {
2679
3016
  "stateMutability": "view",
2680
3017
  "type": "function",
2681
- "name": "getRepayDebtHash",
3018
+ "name": "getBorrowHash",
2682
3019
  "inputs": [
2683
3020
  {
2684
3021
  "name": "_agentSender",
2685
3022
  "type": "address"
2686
3023
  },
3024
+ {
3025
+ "name": "_agentWrapper",
3026
+ "type": "address"
3027
+ },
2687
3028
  {
2688
3029
  "name": "_userWallet",
2689
3030
  "type": "address"
@@ -2693,11 +3034,11 @@ export const abi = [
2693
3034
  "type": "uint256"
2694
3035
  },
2695
3036
  {
2696
- "name": "_paymentAsset",
3037
+ "name": "_borrowAsset",
2697
3038
  "type": "address"
2698
3039
  },
2699
3040
  {
2700
- "name": "_paymentAmount",
3041
+ "name": "_amount",
2701
3042
  "type": "uint256"
2702
3043
  },
2703
3044
  {
@@ -2731,43 +3072,14 @@ export const abi = [
2731
3072
  {
2732
3073
  "stateMutability": "view",
2733
3074
  "type": "function",
2734
- "name": "getClaimRewardsHash",
3075
+ "name": "getRepayDebtHash",
2735
3076
  "inputs": [
2736
3077
  {
2737
3078
  "name": "_agentSender",
2738
3079
  "type": "address"
2739
3080
  },
2740
3081
  {
2741
- "name": "_userWallet",
2742
- "type": "address"
2743
- },
2744
- {
2745
- "name": "_legoId",
2746
- "type": "uint256"
2747
- }
2748
- ],
2749
- "outputs": [
2750
- {
2751
- "name": "",
2752
- "type": "bytes32"
2753
- },
2754
- {
2755
- "name": "",
2756
- "type": "uint256"
2757
- },
2758
- {
2759
- "name": "",
2760
- "type": "uint256"
2761
- }
2762
- ]
2763
- },
2764
- {
2765
- "stateMutability": "view",
2766
- "type": "function",
2767
- "name": "getClaimRewardsHash",
2768
- "inputs": [
2769
- {
2770
- "name": "_agentSender",
3082
+ "name": "_agentWrapper",
2771
3083
  "type": "address"
2772
3084
  },
2773
3085
  {
@@ -2779,7 +3091,7 @@ export const abi = [
2779
3091
  "type": "uint256"
2780
3092
  },
2781
3093
  {
2782
- "name": "_rewardToken",
3094
+ "name": "_paymentAsset",
2783
3095
  "type": "address"
2784
3096
  }
2785
3097
  ],
@@ -2801,12 +3113,16 @@ export const abi = [
2801
3113
  {
2802
3114
  "stateMutability": "view",
2803
3115
  "type": "function",
2804
- "name": "getClaimRewardsHash",
3116
+ "name": "getRepayDebtHash",
2805
3117
  "inputs": [
2806
3118
  {
2807
3119
  "name": "_agentSender",
2808
3120
  "type": "address"
2809
3121
  },
3122
+ {
3123
+ "name": "_agentWrapper",
3124
+ "type": "address"
3125
+ },
2810
3126
  {
2811
3127
  "name": "_userWallet",
2812
3128
  "type": "address"
@@ -2816,11 +3132,11 @@ export const abi = [
2816
3132
  "type": "uint256"
2817
3133
  },
2818
3134
  {
2819
- "name": "_rewardToken",
3135
+ "name": "_paymentAsset",
2820
3136
  "type": "address"
2821
3137
  },
2822
3138
  {
2823
- "name": "_rewardAmount",
3139
+ "name": "_paymentAmount",
2824
3140
  "type": "uint256"
2825
3141
  }
2826
3142
  ],
@@ -2842,12 +3158,16 @@ export const abi = [
2842
3158
  {
2843
3159
  "stateMutability": "view",
2844
3160
  "type": "function",
2845
- "name": "getClaimRewardsHash",
3161
+ "name": "getRepayDebtHash",
2846
3162
  "inputs": [
2847
3163
  {
2848
3164
  "name": "_agentSender",
2849
3165
  "type": "address"
2850
3166
  },
3167
+ {
3168
+ "name": "_agentWrapper",
3169
+ "type": "address"
3170
+ },
2851
3171
  {
2852
3172
  "name": "_userWallet",
2853
3173
  "type": "address"
@@ -2857,11 +3177,11 @@ export const abi = [
2857
3177
  "type": "uint256"
2858
3178
  },
2859
3179
  {
2860
- "name": "_rewardToken",
3180
+ "name": "_paymentAsset",
2861
3181
  "type": "address"
2862
3182
  },
2863
3183
  {
2864
- "name": "_rewardAmount",
3184
+ "name": "_paymentAmount",
2865
3185
  "type": "uint256"
2866
3186
  },
2867
3187
  {
@@ -2887,12 +3207,16 @@ export const abi = [
2887
3207
  {
2888
3208
  "stateMutability": "view",
2889
3209
  "type": "function",
2890
- "name": "getClaimRewardsHash",
3210
+ "name": "getRepayDebtHash",
2891
3211
  "inputs": [
2892
3212
  {
2893
3213
  "name": "_agentSender",
2894
3214
  "type": "address"
2895
3215
  },
3216
+ {
3217
+ "name": "_agentWrapper",
3218
+ "type": "address"
3219
+ },
2896
3220
  {
2897
3221
  "name": "_userWallet",
2898
3222
  "type": "address"
@@ -2902,11 +3226,11 @@ export const abi = [
2902
3226
  "type": "uint256"
2903
3227
  },
2904
3228
  {
2905
- "name": "_rewardToken",
3229
+ "name": "_paymentAsset",
2906
3230
  "type": "address"
2907
3231
  },
2908
3232
  {
2909
- "name": "_rewardAmount",
3233
+ "name": "_paymentAmount",
2910
3234
  "type": "uint256"
2911
3235
  },
2912
3236
  {
@@ -2936,12 +3260,16 @@ export const abi = [
2936
3260
  {
2937
3261
  "stateMutability": "view",
2938
3262
  "type": "function",
2939
- "name": "getClaimRewardsHash",
3263
+ "name": "getRepayDebtHash",
2940
3264
  "inputs": [
2941
3265
  {
2942
3266
  "name": "_agentSender",
2943
3267
  "type": "address"
2944
3268
  },
3269
+ {
3270
+ "name": "_agentWrapper",
3271
+ "type": "address"
3272
+ },
2945
3273
  {
2946
3274
  "name": "_userWallet",
2947
3275
  "type": "address"
@@ -2951,11 +3279,11 @@ export const abi = [
2951
3279
  "type": "uint256"
2952
3280
  },
2953
3281
  {
2954
- "name": "_rewardToken",
3282
+ "name": "_paymentAsset",
2955
3283
  "type": "address"
2956
3284
  },
2957
3285
  {
2958
- "name": "_rewardAmount",
3286
+ "name": "_paymentAmount",
2959
3287
  "type": "uint256"
2960
3288
  },
2961
3289
  {
@@ -2995,6 +3323,10 @@ export const abi = [
2995
3323
  "name": "_agentSender",
2996
3324
  "type": "address"
2997
3325
  },
3326
+ {
3327
+ "name": "_agentWrapper",
3328
+ "type": "address"
3329
+ },
2998
3330
  {
2999
3331
  "name": "_userWallet",
3000
3332
  "type": "address"
@@ -3024,6 +3356,10 @@ export const abi = [
3024
3356
  "name": "_agentSender",
3025
3357
  "type": "address"
3026
3358
  },
3359
+ {
3360
+ "name": "_agentWrapper",
3361
+ "type": "address"
3362
+ },
3027
3363
  {
3028
3364
  "name": "_userWallet",
3029
3365
  "type": "address"
@@ -3057,6 +3393,10 @@ export const abi = [
3057
3393
  "name": "_agentSender",
3058
3394
  "type": "address"
3059
3395
  },
3396
+ {
3397
+ "name": "_agentWrapper",
3398
+ "type": "address"
3399
+ },
3060
3400
  {
3061
3401
  "name": "_userWallet",
3062
3402
  "type": "address"
@@ -3094,6 +3434,10 @@ export const abi = [
3094
3434
  "name": "_agentSender",
3095
3435
  "type": "address"
3096
3436
  },
3437
+ {
3438
+ "name": "_agentWrapper",
3439
+ "type": "address"
3440
+ },
3097
3441
  {
3098
3442
  "name": "_userWallet",
3099
3443
  "type": "address"
@@ -3135,6 +3479,10 @@ export const abi = [
3135
3479
  "name": "_agentSender",
3136
3480
  "type": "address"
3137
3481
  },
3482
+ {
3483
+ "name": "_agentWrapper",
3484
+ "type": "address"
3485
+ },
3138
3486
  {
3139
3487
  "name": "_userWallet",
3140
3488
  "type": "address"
@@ -3164,6 +3512,10 @@ export const abi = [
3164
3512
  "name": "_agentSender",
3165
3513
  "type": "address"
3166
3514
  },
3515
+ {
3516
+ "name": "_agentWrapper",
3517
+ "type": "address"
3518
+ },
3167
3519
  {
3168
3520
  "name": "_userWallet",
3169
3521
  "type": "address"
@@ -3197,6 +3549,10 @@ export const abi = [
3197
3549
  "name": "_agentSender",
3198
3550
  "type": "address"
3199
3551
  },
3552
+ {
3553
+ "name": "_agentWrapper",
3554
+ "type": "address"
3555
+ },
3200
3556
  {
3201
3557
  "name": "_userWallet",
3202
3558
  "type": "address"
@@ -3234,6 +3590,10 @@ export const abi = [
3234
3590
  "name": "_agentSender",
3235
3591
  "type": "address"
3236
3592
  },
3593
+ {
3594
+ "name": "_agentWrapper",
3595
+ "type": "address"
3596
+ },
3237
3597
  {
3238
3598
  "name": "_userWallet",
3239
3599
  "type": "address"
@@ -3275,6 +3635,10 @@ export const abi = [
3275
3635
  "name": "_agentSender",
3276
3636
  "type": "address"
3277
3637
  },
3638
+ {
3639
+ "name": "_agentWrapper",
3640
+ "type": "address"
3641
+ },
3278
3642
  {
3279
3643
  "name": "_userWallet",
3280
3644
  "type": "address"
@@ -3321,11 +3685,15 @@ export const abi = [
3321
3685
  "type": "address"
3322
3686
  },
3323
3687
  {
3324
- "name": "_userWallet",
3688
+ "name": "_agentWrapper",
3325
3689
  "type": "address"
3326
3690
  },
3327
3691
  {
3328
- "name": "_legoId",
3692
+ "name": "_userWallet",
3693
+ "type": "address"
3694
+ },
3695
+ {
3696
+ "name": "_legoId",
3329
3697
  "type": "uint256"
3330
3698
  },
3331
3699
  {
@@ -3369,6 +3737,10 @@ export const abi = [
3369
3737
  "name": "_agentSender",
3370
3738
  "type": "address"
3371
3739
  },
3740
+ {
3741
+ "name": "_agentWrapper",
3742
+ "type": "address"
3743
+ },
3372
3744
  {
3373
3745
  "name": "_userWallet",
3374
3746
  "type": "address"
@@ -3422,6 +3794,10 @@ export const abi = [
3422
3794
  "name": "_agentSender",
3423
3795
  "type": "address"
3424
3796
  },
3797
+ {
3798
+ "name": "_agentWrapper",
3799
+ "type": "address"
3800
+ },
3425
3801
  {
3426
3802
  "name": "_userWallet",
3427
3803
  "type": "address"
@@ -3479,6 +3855,10 @@ export const abi = [
3479
3855
  "name": "_agentSender",
3480
3856
  "type": "address"
3481
3857
  },
3858
+ {
3859
+ "name": "_agentWrapper",
3860
+ "type": "address"
3861
+ },
3482
3862
  {
3483
3863
  "name": "_userWallet",
3484
3864
  "type": "address"
@@ -3540,6 +3920,10 @@ export const abi = [
3540
3920
  "name": "_agentSender",
3541
3921
  "type": "address"
3542
3922
  },
3923
+ {
3924
+ "name": "_agentWrapper",
3925
+ "type": "address"
3926
+ },
3543
3927
  {
3544
3928
  "name": "_userWallet",
3545
3929
  "type": "address"
@@ -3605,6 +3989,10 @@ export const abi = [
3605
3989
  "name": "_agentSender",
3606
3990
  "type": "address"
3607
3991
  },
3992
+ {
3993
+ "name": "_agentWrapper",
3994
+ "type": "address"
3995
+ },
3608
3996
  {
3609
3997
  "name": "_userWallet",
3610
3998
  "type": "address"
@@ -3674,6 +4062,10 @@ export const abi = [
3674
4062
  "name": "_agentSender",
3675
4063
  "type": "address"
3676
4064
  },
4065
+ {
4066
+ "name": "_agentWrapper",
4067
+ "type": "address"
4068
+ },
3677
4069
  {
3678
4070
  "name": "_userWallet",
3679
4071
  "type": "address"
@@ -3747,6 +4139,10 @@ export const abi = [
3747
4139
  "name": "_agentSender",
3748
4140
  "type": "address"
3749
4141
  },
4142
+ {
4143
+ "name": "_agentWrapper",
4144
+ "type": "address"
4145
+ },
3750
4146
  {
3751
4147
  "name": "_userWallet",
3752
4148
  "type": "address"
@@ -3824,6 +4220,10 @@ export const abi = [
3824
4220
  "name": "_agentSender",
3825
4221
  "type": "address"
3826
4222
  },
4223
+ {
4224
+ "name": "_agentWrapper",
4225
+ "type": "address"
4226
+ },
3827
4227
  {
3828
4228
  "name": "_userWallet",
3829
4229
  "type": "address"
@@ -3873,6 +4273,10 @@ export const abi = [
3873
4273
  "name": "_agentSender",
3874
4274
  "type": "address"
3875
4275
  },
4276
+ {
4277
+ "name": "_agentWrapper",
4278
+ "type": "address"
4279
+ },
3876
4280
  {
3877
4281
  "name": "_userWallet",
3878
4282
  "type": "address"
@@ -3926,6 +4330,10 @@ export const abi = [
3926
4330
  "name": "_agentSender",
3927
4331
  "type": "address"
3928
4332
  },
4333
+ {
4334
+ "name": "_agentWrapper",
4335
+ "type": "address"
4336
+ },
3929
4337
  {
3930
4338
  "name": "_userWallet",
3931
4339
  "type": "address"
@@ -3983,6 +4391,10 @@ export const abi = [
3983
4391
  "name": "_agentSender",
3984
4392
  "type": "address"
3985
4393
  },
4394
+ {
4395
+ "name": "_agentWrapper",
4396
+ "type": "address"
4397
+ },
3986
4398
  {
3987
4399
  "name": "_userWallet",
3988
4400
  "type": "address"
@@ -4044,6 +4456,10 @@ export const abi = [
4044
4456
  "name": "_agentSender",
4045
4457
  "type": "address"
4046
4458
  },
4459
+ {
4460
+ "name": "_agentWrapper",
4461
+ "type": "address"
4462
+ },
4047
4463
  {
4048
4464
  "name": "_userWallet",
4049
4465
  "type": "address"
@@ -4109,6 +4525,10 @@ export const abi = [
4109
4525
  "name": "_agentSender",
4110
4526
  "type": "address"
4111
4527
  },
4528
+ {
4529
+ "name": "_agentWrapper",
4530
+ "type": "address"
4531
+ },
4112
4532
  {
4113
4533
  "name": "_userWallet",
4114
4534
  "type": "address"
@@ -4178,6 +4598,10 @@ export const abi = [
4178
4598
  "name": "_agentSender",
4179
4599
  "type": "address"
4180
4600
  },
4601
+ {
4602
+ "name": "_agentWrapper",
4603
+ "type": "address"
4604
+ },
4181
4605
  {
4182
4606
  "name": "_userWallet",
4183
4607
  "type": "address"
@@ -4251,6 +4675,10 @@ export const abi = [
4251
4675
  "name": "_agentSender",
4252
4676
  "type": "address"
4253
4677
  },
4678
+ {
4679
+ "name": "_agentWrapper",
4680
+ "type": "address"
4681
+ },
4254
4682
  {
4255
4683
  "name": "_userWallet",
4256
4684
  "type": "address"
@@ -4304,6 +4732,10 @@ export const abi = [
4304
4732
  "name": "_agentSender",
4305
4733
  "type": "address"
4306
4734
  },
4735
+ {
4736
+ "name": "_agentWrapper",
4737
+ "type": "address"
4738
+ },
4307
4739
  {
4308
4740
  "name": "_userWallet",
4309
4741
  "type": "address"
@@ -4361,6 +4793,10 @@ export const abi = [
4361
4793
  "name": "_agentSender",
4362
4794
  "type": "address"
4363
4795
  },
4796
+ {
4797
+ "name": "_agentWrapper",
4798
+ "type": "address"
4799
+ },
4364
4800
  {
4365
4801
  "name": "_userWallet",
4366
4802
  "type": "address"
@@ -4422,6 +4858,10 @@ export const abi = [
4422
4858
  "name": "_agentSender",
4423
4859
  "type": "address"
4424
4860
  },
4861
+ {
4862
+ "name": "_agentWrapper",
4863
+ "type": "address"
4864
+ },
4425
4865
  {
4426
4866
  "name": "_userWallet",
4427
4867
  "type": "address"
@@ -4487,6 +4927,10 @@ export const abi = [
4487
4927
  "name": "_agentSender",
4488
4928
  "type": "address"
4489
4929
  },
4930
+ {
4931
+ "name": "_agentWrapper",
4932
+ "type": "address"
4933
+ },
4490
4934
  {
4491
4935
  "name": "_userWallet",
4492
4936
  "type": "address"
@@ -4556,6 +5000,10 @@ export const abi = [
4556
5000
  "name": "_agentSender",
4557
5001
  "type": "address"
4558
5002
  },
5003
+ {
5004
+ "name": "_agentWrapper",
5005
+ "type": "address"
5006
+ },
4559
5007
  {
4560
5008
  "name": "_userWallet",
4561
5009
  "type": "address"
@@ -4629,6 +5077,10 @@ export const abi = [
4629
5077
  "name": "_agentSender",
4630
5078
  "type": "address"
4631
5079
  },
5080
+ {
5081
+ "name": "_agentWrapper",
5082
+ "type": "address"
5083
+ },
4632
5084
  {
4633
5085
  "name": "_userWallet",
4634
5086
  "type": "address"
@@ -4706,6 +5158,10 @@ export const abi = [
4706
5158
  "name": "_agentSender",
4707
5159
  "type": "address"
4708
5160
  },
5161
+ {
5162
+ "name": "_agentWrapper",
5163
+ "type": "address"
5164
+ },
4709
5165
  {
4710
5166
  "name": "_userWallet",
4711
5167
  "type": "address"
@@ -4787,6 +5243,10 @@ export const abi = [
4787
5243
  "name": "_agentSender",
4788
5244
  "type": "address"
4789
5245
  },
5246
+ {
5247
+ "name": "_agentWrapper",
5248
+ "type": "address"
5249
+ },
4790
5250
  {
4791
5251
  "name": "_userWallet",
4792
5252
  "type": "address"
@@ -4872,6 +5332,10 @@ export const abi = [
4872
5332
  "name": "_agentSender",
4873
5333
  "type": "address"
4874
5334
  },
5335
+ {
5336
+ "name": "_agentWrapper",
5337
+ "type": "address"
5338
+ },
4875
5339
  {
4876
5340
  "name": "_userWallet",
4877
5341
  "type": "address"
@@ -4961,6 +5425,128 @@ export const abi = [
4961
5425
  "name": "_agentSender",
4962
5426
  "type": "address"
4963
5427
  },
5428
+ {
5429
+ "name": "_agentWrapper",
5430
+ "type": "address"
5431
+ },
5432
+ {
5433
+ "name": "_userWallet",
5434
+ "type": "address"
5435
+ },
5436
+ {
5437
+ "name": "_legoId",
5438
+ "type": "uint256"
5439
+ },
5440
+ {
5441
+ "name": "_nftAddr",
5442
+ "type": "address"
5443
+ },
5444
+ {
5445
+ "name": "_nftTokenId",
5446
+ "type": "uint256"
5447
+ },
5448
+ {
5449
+ "name": "_pool",
5450
+ "type": "address"
5451
+ },
5452
+ {
5453
+ "name": "_tokenA",
5454
+ "type": "address"
5455
+ },
5456
+ {
5457
+ "name": "_tokenB",
5458
+ "type": "address"
5459
+ }
5460
+ ],
5461
+ "outputs": [
5462
+ {
5463
+ "name": "",
5464
+ "type": "bytes32"
5465
+ },
5466
+ {
5467
+ "name": "",
5468
+ "type": "uint256"
5469
+ },
5470
+ {
5471
+ "name": "",
5472
+ "type": "uint256"
5473
+ }
5474
+ ]
5475
+ },
5476
+ {
5477
+ "stateMutability": "view",
5478
+ "type": "function",
5479
+ "name": "getRemoveLiquidityConcentratedHash",
5480
+ "inputs": [
5481
+ {
5482
+ "name": "_agentSender",
5483
+ "type": "address"
5484
+ },
5485
+ {
5486
+ "name": "_agentWrapper",
5487
+ "type": "address"
5488
+ },
5489
+ {
5490
+ "name": "_userWallet",
5491
+ "type": "address"
5492
+ },
5493
+ {
5494
+ "name": "_legoId",
5495
+ "type": "uint256"
5496
+ },
5497
+ {
5498
+ "name": "_nftAddr",
5499
+ "type": "address"
5500
+ },
5501
+ {
5502
+ "name": "_nftTokenId",
5503
+ "type": "uint256"
5504
+ },
5505
+ {
5506
+ "name": "_pool",
5507
+ "type": "address"
5508
+ },
5509
+ {
5510
+ "name": "_tokenA",
5511
+ "type": "address"
5512
+ },
5513
+ {
5514
+ "name": "_tokenB",
5515
+ "type": "address"
5516
+ },
5517
+ {
5518
+ "name": "_liqToRemove",
5519
+ "type": "uint256"
5520
+ }
5521
+ ],
5522
+ "outputs": [
5523
+ {
5524
+ "name": "",
5525
+ "type": "bytes32"
5526
+ },
5527
+ {
5528
+ "name": "",
5529
+ "type": "uint256"
5530
+ },
5531
+ {
5532
+ "name": "",
5533
+ "type": "uint256"
5534
+ }
5535
+ ]
5536
+ },
5537
+ {
5538
+ "stateMutability": "view",
5539
+ "type": "function",
5540
+ "name": "getRemoveLiquidityConcentratedHash",
5541
+ "inputs": [
5542
+ {
5543
+ "name": "_agentSender",
5544
+ "type": "address"
5545
+ },
5546
+ {
5547
+ "name": "_agentWrapper",
5548
+ "type": "address"
5549
+ },
4964
5550
  {
4965
5551
  "name": "_userWallet",
4966
5552
  "type": "address"
@@ -4988,6 +5574,14 @@ export const abi = [
4988
5574
  {
4989
5575
  "name": "_tokenB",
4990
5576
  "type": "address"
5577
+ },
5578
+ {
5579
+ "name": "_liqToRemove",
5580
+ "type": "uint256"
5581
+ },
5582
+ {
5583
+ "name": "_minAmountA",
5584
+ "type": "uint256"
4991
5585
  }
4992
5586
  ],
4993
5587
  "outputs": [
@@ -5014,6 +5608,10 @@ export const abi = [
5014
5608
  "name": "_agentSender",
5015
5609
  "type": "address"
5016
5610
  },
5611
+ {
5612
+ "name": "_agentWrapper",
5613
+ "type": "address"
5614
+ },
5017
5615
  {
5018
5616
  "name": "_userWallet",
5019
5617
  "type": "address"
@@ -5045,6 +5643,14 @@ export const abi = [
5045
5643
  {
5046
5644
  "name": "_liqToRemove",
5047
5645
  "type": "uint256"
5646
+ },
5647
+ {
5648
+ "name": "_minAmountA",
5649
+ "type": "uint256"
5650
+ },
5651
+ {
5652
+ "name": "_minAmountB",
5653
+ "type": "uint256"
5048
5654
  }
5049
5655
  ],
5050
5656
  "outputs": [
@@ -5071,6 +5677,10 @@ export const abi = [
5071
5677
  "name": "_agentSender",
5072
5678
  "type": "address"
5073
5679
  },
5680
+ {
5681
+ "name": "_agentWrapper",
5682
+ "type": "address"
5683
+ },
5074
5684
  {
5075
5685
  "name": "_userWallet",
5076
5686
  "type": "address"
@@ -5106,6 +5716,778 @@ export const abi = [
5106
5716
  {
5107
5717
  "name": "_minAmountA",
5108
5718
  "type": "uint256"
5719
+ },
5720
+ {
5721
+ "name": "_minAmountB",
5722
+ "type": "uint256"
5723
+ },
5724
+ {
5725
+ "name": "_extraData",
5726
+ "type": "bytes32"
5727
+ }
5728
+ ],
5729
+ "outputs": [
5730
+ {
5731
+ "name": "",
5732
+ "type": "bytes32"
5733
+ },
5734
+ {
5735
+ "name": "",
5736
+ "type": "uint256"
5737
+ },
5738
+ {
5739
+ "name": "",
5740
+ "type": "uint256"
5741
+ }
5742
+ ]
5743
+ },
5744
+ {
5745
+ "stateMutability": "view",
5746
+ "type": "function",
5747
+ "name": "getRemoveLiquidityConcentratedHash",
5748
+ "inputs": [
5749
+ {
5750
+ "name": "_agentSender",
5751
+ "type": "address"
5752
+ },
5753
+ {
5754
+ "name": "_agentWrapper",
5755
+ "type": "address"
5756
+ },
5757
+ {
5758
+ "name": "_userWallet",
5759
+ "type": "address"
5760
+ },
5761
+ {
5762
+ "name": "_legoId",
5763
+ "type": "uint256"
5764
+ },
5765
+ {
5766
+ "name": "_nftAddr",
5767
+ "type": "address"
5768
+ },
5769
+ {
5770
+ "name": "_nftTokenId",
5771
+ "type": "uint256"
5772
+ },
5773
+ {
5774
+ "name": "_pool",
5775
+ "type": "address"
5776
+ },
5777
+ {
5778
+ "name": "_tokenA",
5779
+ "type": "address"
5780
+ },
5781
+ {
5782
+ "name": "_tokenB",
5783
+ "type": "address"
5784
+ },
5785
+ {
5786
+ "name": "_liqToRemove",
5787
+ "type": "uint256"
5788
+ },
5789
+ {
5790
+ "name": "_minAmountA",
5791
+ "type": "uint256"
5792
+ },
5793
+ {
5794
+ "name": "_minAmountB",
5795
+ "type": "uint256"
5796
+ },
5797
+ {
5798
+ "name": "_extraData",
5799
+ "type": "bytes32"
5800
+ },
5801
+ {
5802
+ "name": "_nonce",
5803
+ "type": "uint256"
5804
+ }
5805
+ ],
5806
+ "outputs": [
5807
+ {
5808
+ "name": "",
5809
+ "type": "bytes32"
5810
+ },
5811
+ {
5812
+ "name": "",
5813
+ "type": "uint256"
5814
+ },
5815
+ {
5816
+ "name": "",
5817
+ "type": "uint256"
5818
+ }
5819
+ ]
5820
+ },
5821
+ {
5822
+ "stateMutability": "view",
5823
+ "type": "function",
5824
+ "name": "getRemoveLiquidityConcentratedHash",
5825
+ "inputs": [
5826
+ {
5827
+ "name": "_agentSender",
5828
+ "type": "address"
5829
+ },
5830
+ {
5831
+ "name": "_agentWrapper",
5832
+ "type": "address"
5833
+ },
5834
+ {
5835
+ "name": "_userWallet",
5836
+ "type": "address"
5837
+ },
5838
+ {
5839
+ "name": "_legoId",
5840
+ "type": "uint256"
5841
+ },
5842
+ {
5843
+ "name": "_nftAddr",
5844
+ "type": "address"
5845
+ },
5846
+ {
5847
+ "name": "_nftTokenId",
5848
+ "type": "uint256"
5849
+ },
5850
+ {
5851
+ "name": "_pool",
5852
+ "type": "address"
5853
+ },
5854
+ {
5855
+ "name": "_tokenA",
5856
+ "type": "address"
5857
+ },
5858
+ {
5859
+ "name": "_tokenB",
5860
+ "type": "address"
5861
+ },
5862
+ {
5863
+ "name": "_liqToRemove",
5864
+ "type": "uint256"
5865
+ },
5866
+ {
5867
+ "name": "_minAmountA",
5868
+ "type": "uint256"
5869
+ },
5870
+ {
5871
+ "name": "_minAmountB",
5872
+ "type": "uint256"
5873
+ },
5874
+ {
5875
+ "name": "_extraData",
5876
+ "type": "bytes32"
5877
+ },
5878
+ {
5879
+ "name": "_nonce",
5880
+ "type": "uint256"
5881
+ },
5882
+ {
5883
+ "name": "_expiration",
5884
+ "type": "uint256"
5885
+ }
5886
+ ],
5887
+ "outputs": [
5888
+ {
5889
+ "name": "",
5890
+ "type": "bytes32"
5891
+ },
5892
+ {
5893
+ "name": "",
5894
+ "type": "uint256"
5895
+ },
5896
+ {
5897
+ "name": "",
5898
+ "type": "uint256"
5899
+ }
5900
+ ]
5901
+ },
5902
+ {
5903
+ "stateMutability": "view",
5904
+ "type": "function",
5905
+ "name": "getClaimIncentivesHash",
5906
+ "inputs": [
5907
+ {
5908
+ "name": "_agentSender",
5909
+ "type": "address"
5910
+ },
5911
+ {
5912
+ "name": "_agentWrapper",
5913
+ "type": "address"
5914
+ },
5915
+ {
5916
+ "name": "_userWallet",
5917
+ "type": "address"
5918
+ },
5919
+ {
5920
+ "name": "_legoId",
5921
+ "type": "uint256"
5922
+ }
5923
+ ],
5924
+ "outputs": [
5925
+ {
5926
+ "name": "",
5927
+ "type": "bytes32"
5928
+ },
5929
+ {
5930
+ "name": "",
5931
+ "type": "uint256"
5932
+ },
5933
+ {
5934
+ "name": "",
5935
+ "type": "uint256"
5936
+ }
5937
+ ]
5938
+ },
5939
+ {
5940
+ "stateMutability": "view",
5941
+ "type": "function",
5942
+ "name": "getClaimIncentivesHash",
5943
+ "inputs": [
5944
+ {
5945
+ "name": "_agentSender",
5946
+ "type": "address"
5947
+ },
5948
+ {
5949
+ "name": "_agentWrapper",
5950
+ "type": "address"
5951
+ },
5952
+ {
5953
+ "name": "_userWallet",
5954
+ "type": "address"
5955
+ },
5956
+ {
5957
+ "name": "_legoId",
5958
+ "type": "uint256"
5959
+ },
5960
+ {
5961
+ "name": "_rewardToken",
5962
+ "type": "address"
5963
+ }
5964
+ ],
5965
+ "outputs": [
5966
+ {
5967
+ "name": "",
5968
+ "type": "bytes32"
5969
+ },
5970
+ {
5971
+ "name": "",
5972
+ "type": "uint256"
5973
+ },
5974
+ {
5975
+ "name": "",
5976
+ "type": "uint256"
5977
+ }
5978
+ ]
5979
+ },
5980
+ {
5981
+ "stateMutability": "view",
5982
+ "type": "function",
5983
+ "name": "getClaimIncentivesHash",
5984
+ "inputs": [
5985
+ {
5986
+ "name": "_agentSender",
5987
+ "type": "address"
5988
+ },
5989
+ {
5990
+ "name": "_agentWrapper",
5991
+ "type": "address"
5992
+ },
5993
+ {
5994
+ "name": "_userWallet",
5995
+ "type": "address"
5996
+ },
5997
+ {
5998
+ "name": "_legoId",
5999
+ "type": "uint256"
6000
+ },
6001
+ {
6002
+ "name": "_rewardToken",
6003
+ "type": "address"
6004
+ },
6005
+ {
6006
+ "name": "_rewardAmount",
6007
+ "type": "uint256"
6008
+ }
6009
+ ],
6010
+ "outputs": [
6011
+ {
6012
+ "name": "",
6013
+ "type": "bytes32"
6014
+ },
6015
+ {
6016
+ "name": "",
6017
+ "type": "uint256"
6018
+ },
6019
+ {
6020
+ "name": "",
6021
+ "type": "uint256"
6022
+ }
6023
+ ]
6024
+ },
6025
+ {
6026
+ "stateMutability": "view",
6027
+ "type": "function",
6028
+ "name": "getClaimIncentivesHash",
6029
+ "inputs": [
6030
+ {
6031
+ "name": "_agentSender",
6032
+ "type": "address"
6033
+ },
6034
+ {
6035
+ "name": "_agentWrapper",
6036
+ "type": "address"
6037
+ },
6038
+ {
6039
+ "name": "_userWallet",
6040
+ "type": "address"
6041
+ },
6042
+ {
6043
+ "name": "_legoId",
6044
+ "type": "uint256"
6045
+ },
6046
+ {
6047
+ "name": "_rewardToken",
6048
+ "type": "address"
6049
+ },
6050
+ {
6051
+ "name": "_rewardAmount",
6052
+ "type": "uint256"
6053
+ },
6054
+ {
6055
+ "name": "_proofs",
6056
+ "type": "bytes32[]"
6057
+ }
6058
+ ],
6059
+ "outputs": [
6060
+ {
6061
+ "name": "",
6062
+ "type": "bytes32"
6063
+ },
6064
+ {
6065
+ "name": "",
6066
+ "type": "uint256"
6067
+ },
6068
+ {
6069
+ "name": "",
6070
+ "type": "uint256"
6071
+ }
6072
+ ]
6073
+ },
6074
+ {
6075
+ "stateMutability": "view",
6076
+ "type": "function",
6077
+ "name": "getClaimIncentivesHash",
6078
+ "inputs": [
6079
+ {
6080
+ "name": "_agentSender",
6081
+ "type": "address"
6082
+ },
6083
+ {
6084
+ "name": "_agentWrapper",
6085
+ "type": "address"
6086
+ },
6087
+ {
6088
+ "name": "_userWallet",
6089
+ "type": "address"
6090
+ },
6091
+ {
6092
+ "name": "_legoId",
6093
+ "type": "uint256"
6094
+ },
6095
+ {
6096
+ "name": "_rewardToken",
6097
+ "type": "address"
6098
+ },
6099
+ {
6100
+ "name": "_rewardAmount",
6101
+ "type": "uint256"
6102
+ },
6103
+ {
6104
+ "name": "_proofs",
6105
+ "type": "bytes32[]"
6106
+ },
6107
+ {
6108
+ "name": "_nonce",
6109
+ "type": "uint256"
6110
+ }
6111
+ ],
6112
+ "outputs": [
6113
+ {
6114
+ "name": "",
6115
+ "type": "bytes32"
6116
+ },
6117
+ {
6118
+ "name": "",
6119
+ "type": "uint256"
6120
+ },
6121
+ {
6122
+ "name": "",
6123
+ "type": "uint256"
6124
+ }
6125
+ ]
6126
+ },
6127
+ {
6128
+ "stateMutability": "view",
6129
+ "type": "function",
6130
+ "name": "getClaimIncentivesHash",
6131
+ "inputs": [
6132
+ {
6133
+ "name": "_agentSender",
6134
+ "type": "address"
6135
+ },
6136
+ {
6137
+ "name": "_agentWrapper",
6138
+ "type": "address"
6139
+ },
6140
+ {
6141
+ "name": "_userWallet",
6142
+ "type": "address"
6143
+ },
6144
+ {
6145
+ "name": "_legoId",
6146
+ "type": "uint256"
6147
+ },
6148
+ {
6149
+ "name": "_rewardToken",
6150
+ "type": "address"
6151
+ },
6152
+ {
6153
+ "name": "_rewardAmount",
6154
+ "type": "uint256"
6155
+ },
6156
+ {
6157
+ "name": "_proofs",
6158
+ "type": "bytes32[]"
6159
+ },
6160
+ {
6161
+ "name": "_nonce",
6162
+ "type": "uint256"
6163
+ },
6164
+ {
6165
+ "name": "_expiration",
6166
+ "type": "uint256"
6167
+ }
6168
+ ],
6169
+ "outputs": [
6170
+ {
6171
+ "name": "",
6172
+ "type": "bytes32"
6173
+ },
6174
+ {
6175
+ "name": "",
6176
+ "type": "uint256"
6177
+ },
6178
+ {
6179
+ "name": "",
6180
+ "type": "uint256"
6181
+ }
6182
+ ]
6183
+ },
6184
+ {
6185
+ "stateMutability": "view",
6186
+ "type": "function",
6187
+ "name": "getConfirmWhitelistAddrHash",
6188
+ "inputs": [
6189
+ {
6190
+ "name": "_agentSender",
6191
+ "type": "address"
6192
+ },
6193
+ {
6194
+ "name": "_agentWrapper",
6195
+ "type": "address"
6196
+ },
6197
+ {
6198
+ "name": "_userWallet",
6199
+ "type": "address"
6200
+ },
6201
+ {
6202
+ "name": "_whitelistAddr",
6203
+ "type": "address"
6204
+ }
6205
+ ],
6206
+ "outputs": [
6207
+ {
6208
+ "name": "",
6209
+ "type": "bytes32"
6210
+ },
6211
+ {
6212
+ "name": "",
6213
+ "type": "uint256"
6214
+ },
6215
+ {
6216
+ "name": "",
6217
+ "type": "uint256"
6218
+ }
6219
+ ]
6220
+ },
6221
+ {
6222
+ "stateMutability": "view",
6223
+ "type": "function",
6224
+ "name": "getConfirmWhitelistAddrHash",
6225
+ "inputs": [
6226
+ {
6227
+ "name": "_agentSender",
6228
+ "type": "address"
6229
+ },
6230
+ {
6231
+ "name": "_agentWrapper",
6232
+ "type": "address"
6233
+ },
6234
+ {
6235
+ "name": "_userWallet",
6236
+ "type": "address"
6237
+ },
6238
+ {
6239
+ "name": "_whitelistAddr",
6240
+ "type": "address"
6241
+ },
6242
+ {
6243
+ "name": "_nonce",
6244
+ "type": "uint256"
6245
+ }
6246
+ ],
6247
+ "outputs": [
6248
+ {
6249
+ "name": "",
6250
+ "type": "bytes32"
6251
+ },
6252
+ {
6253
+ "name": "",
6254
+ "type": "uint256"
6255
+ },
6256
+ {
6257
+ "name": "",
6258
+ "type": "uint256"
6259
+ }
6260
+ ]
6261
+ },
6262
+ {
6263
+ "stateMutability": "view",
6264
+ "type": "function",
6265
+ "name": "getConfirmWhitelistAddrHash",
6266
+ "inputs": [
6267
+ {
6268
+ "name": "_agentSender",
6269
+ "type": "address"
6270
+ },
6271
+ {
6272
+ "name": "_agentWrapper",
6273
+ "type": "address"
6274
+ },
6275
+ {
6276
+ "name": "_userWallet",
6277
+ "type": "address"
6278
+ },
6279
+ {
6280
+ "name": "_whitelistAddr",
6281
+ "type": "address"
6282
+ },
6283
+ {
6284
+ "name": "_nonce",
6285
+ "type": "uint256"
6286
+ },
6287
+ {
6288
+ "name": "_expiration",
6289
+ "type": "uint256"
6290
+ }
6291
+ ],
6292
+ "outputs": [
6293
+ {
6294
+ "name": "",
6295
+ "type": "bytes32"
6296
+ },
6297
+ {
6298
+ "name": "",
6299
+ "type": "uint256"
6300
+ },
6301
+ {
6302
+ "name": "",
6303
+ "type": "uint256"
6304
+ }
6305
+ ]
6306
+ },
6307
+ {
6308
+ "stateMutability": "view",
6309
+ "type": "function",
6310
+ "name": "getCancelPendingWhitelistAddrHash",
6311
+ "inputs": [
6312
+ {
6313
+ "name": "_agentSender",
6314
+ "type": "address"
6315
+ },
6316
+ {
6317
+ "name": "_agentWrapper",
6318
+ "type": "address"
6319
+ },
6320
+ {
6321
+ "name": "_userWallet",
6322
+ "type": "address"
6323
+ },
6324
+ {
6325
+ "name": "_whitelistAddr",
6326
+ "type": "address"
6327
+ }
6328
+ ],
6329
+ "outputs": [
6330
+ {
6331
+ "name": "",
6332
+ "type": "bytes32"
6333
+ },
6334
+ {
6335
+ "name": "",
6336
+ "type": "uint256"
6337
+ },
6338
+ {
6339
+ "name": "",
6340
+ "type": "uint256"
6341
+ }
6342
+ ]
6343
+ },
6344
+ {
6345
+ "stateMutability": "view",
6346
+ "type": "function",
6347
+ "name": "getCancelPendingWhitelistAddrHash",
6348
+ "inputs": [
6349
+ {
6350
+ "name": "_agentSender",
6351
+ "type": "address"
6352
+ },
6353
+ {
6354
+ "name": "_agentWrapper",
6355
+ "type": "address"
6356
+ },
6357
+ {
6358
+ "name": "_userWallet",
6359
+ "type": "address"
6360
+ },
6361
+ {
6362
+ "name": "_whitelistAddr",
6363
+ "type": "address"
6364
+ },
6365
+ {
6366
+ "name": "_nonce",
6367
+ "type": "uint256"
6368
+ }
6369
+ ],
6370
+ "outputs": [
6371
+ {
6372
+ "name": "",
6373
+ "type": "bytes32"
6374
+ },
6375
+ {
6376
+ "name": "",
6377
+ "type": "uint256"
6378
+ },
6379
+ {
6380
+ "name": "",
6381
+ "type": "uint256"
6382
+ }
6383
+ ]
6384
+ },
6385
+ {
6386
+ "stateMutability": "view",
6387
+ "type": "function",
6388
+ "name": "getCancelPendingWhitelistAddrHash",
6389
+ "inputs": [
6390
+ {
6391
+ "name": "_agentSender",
6392
+ "type": "address"
6393
+ },
6394
+ {
6395
+ "name": "_agentWrapper",
6396
+ "type": "address"
6397
+ },
6398
+ {
6399
+ "name": "_userWallet",
6400
+ "type": "address"
6401
+ },
6402
+ {
6403
+ "name": "_whitelistAddr",
6404
+ "type": "address"
6405
+ },
6406
+ {
6407
+ "name": "_nonce",
6408
+ "type": "uint256"
6409
+ },
6410
+ {
6411
+ "name": "_expiration",
6412
+ "type": "uint256"
6413
+ }
6414
+ ],
6415
+ "outputs": [
6416
+ {
6417
+ "name": "",
6418
+ "type": "bytes32"
6419
+ },
6420
+ {
6421
+ "name": "",
6422
+ "type": "uint256"
6423
+ },
6424
+ {
6425
+ "name": "",
6426
+ "type": "uint256"
6427
+ }
6428
+ ]
6429
+ },
6430
+ {
6431
+ "stateMutability": "view",
6432
+ "type": "function",
6433
+ "name": "getRemoveWhitelistAddrHash",
6434
+ "inputs": [
6435
+ {
6436
+ "name": "_agentSender",
6437
+ "type": "address"
6438
+ },
6439
+ {
6440
+ "name": "_agentWrapper",
6441
+ "type": "address"
6442
+ },
6443
+ {
6444
+ "name": "_userWallet",
6445
+ "type": "address"
6446
+ },
6447
+ {
6448
+ "name": "_whitelistAddr",
6449
+ "type": "address"
6450
+ }
6451
+ ],
6452
+ "outputs": [
6453
+ {
6454
+ "name": "",
6455
+ "type": "bytes32"
6456
+ },
6457
+ {
6458
+ "name": "",
6459
+ "type": "uint256"
6460
+ },
6461
+ {
6462
+ "name": "",
6463
+ "type": "uint256"
6464
+ }
6465
+ ]
6466
+ },
6467
+ {
6468
+ "stateMutability": "view",
6469
+ "type": "function",
6470
+ "name": "getRemoveWhitelistAddrHash",
6471
+ "inputs": [
6472
+ {
6473
+ "name": "_agentSender",
6474
+ "type": "address"
6475
+ },
6476
+ {
6477
+ "name": "_agentWrapper",
6478
+ "type": "address"
6479
+ },
6480
+ {
6481
+ "name": "_userWallet",
6482
+ "type": "address"
6483
+ },
6484
+ {
6485
+ "name": "_whitelistAddr",
6486
+ "type": "address"
6487
+ },
6488
+ {
6489
+ "name": "_nonce",
6490
+ "type": "uint256"
5109
6491
  }
5110
6492
  ],
5111
6493
  "outputs": [
@@ -5126,50 +6508,30 @@ export const abi = [
5126
6508
  {
5127
6509
  "stateMutability": "view",
5128
6510
  "type": "function",
5129
- "name": "getRemoveLiquidityConcentratedHash",
6511
+ "name": "getRemoveWhitelistAddrHash",
5130
6512
  "inputs": [
5131
6513
  {
5132
6514
  "name": "_agentSender",
5133
6515
  "type": "address"
5134
6516
  },
5135
6517
  {
5136
- "name": "_userWallet",
5137
- "type": "address"
5138
- },
5139
- {
5140
- "name": "_legoId",
5141
- "type": "uint256"
5142
- },
5143
- {
5144
- "name": "_nftAddr",
5145
- "type": "address"
5146
- },
5147
- {
5148
- "name": "_nftTokenId",
5149
- "type": "uint256"
5150
- },
5151
- {
5152
- "name": "_pool",
6518
+ "name": "_agentWrapper",
5153
6519
  "type": "address"
5154
6520
  },
5155
6521
  {
5156
- "name": "_tokenA",
6522
+ "name": "_userWallet",
5157
6523
  "type": "address"
5158
6524
  },
5159
6525
  {
5160
- "name": "_tokenB",
6526
+ "name": "_whitelistAddr",
5161
6527
  "type": "address"
5162
6528
  },
5163
6529
  {
5164
- "name": "_liqToRemove",
5165
- "type": "uint256"
5166
- },
5167
- {
5168
- "name": "_minAmountA",
6530
+ "name": "_nonce",
5169
6531
  "type": "uint256"
5170
6532
  },
5171
6533
  {
5172
- "name": "_minAmountB",
6534
+ "name": "_expiration",
5173
6535
  "type": "uint256"
5174
6536
  }
5175
6537
  ],
@@ -5191,55 +6553,56 @@ export const abi = [
5191
6553
  {
5192
6554
  "stateMutability": "view",
5193
6555
  "type": "function",
5194
- "name": "getRemoveLiquidityConcentratedHash",
6556
+ "name": "getRemoveSelfAsManagerHash",
5195
6557
  "inputs": [
5196
6558
  {
5197
6559
  "name": "_agentSender",
5198
6560
  "type": "address"
5199
6561
  },
5200
6562
  {
5201
- "name": "_userWallet",
6563
+ "name": "_agentWrapper",
5202
6564
  "type": "address"
5203
6565
  },
5204
6566
  {
5205
- "name": "_legoId",
5206
- "type": "uint256"
5207
- },
5208
- {
5209
- "name": "_nftAddr",
6567
+ "name": "_userWallet",
5210
6568
  "type": "address"
6569
+ }
6570
+ ],
6571
+ "outputs": [
6572
+ {
6573
+ "name": "",
6574
+ "type": "bytes32"
5211
6575
  },
5212
6576
  {
5213
- "name": "_nftTokenId",
6577
+ "name": "",
5214
6578
  "type": "uint256"
5215
6579
  },
5216
6580
  {
5217
- "name": "_pool",
5218
- "type": "address"
5219
- },
6581
+ "name": "",
6582
+ "type": "uint256"
6583
+ }
6584
+ ]
6585
+ },
6586
+ {
6587
+ "stateMutability": "view",
6588
+ "type": "function",
6589
+ "name": "getRemoveSelfAsManagerHash",
6590
+ "inputs": [
5220
6591
  {
5221
- "name": "_tokenA",
6592
+ "name": "_agentSender",
5222
6593
  "type": "address"
5223
6594
  },
5224
6595
  {
5225
- "name": "_tokenB",
6596
+ "name": "_agentWrapper",
5226
6597
  "type": "address"
5227
6598
  },
5228
6599
  {
5229
- "name": "_liqToRemove",
5230
- "type": "uint256"
5231
- },
5232
- {
5233
- "name": "_minAmountA",
5234
- "type": "uint256"
6600
+ "name": "_userWallet",
6601
+ "type": "address"
5235
6602
  },
5236
6603
  {
5237
- "name": "_minAmountB",
6604
+ "name": "_nonce",
5238
6605
  "type": "uint256"
5239
- },
5240
- {
5241
- "name": "_extraData",
5242
- "type": "bytes32"
5243
6606
  }
5244
6607
  ],
5245
6608
  "outputs": [
@@ -5260,59 +6623,60 @@ export const abi = [
5260
6623
  {
5261
6624
  "stateMutability": "view",
5262
6625
  "type": "function",
5263
- "name": "getRemoveLiquidityConcentratedHash",
6626
+ "name": "getRemoveSelfAsManagerHash",
5264
6627
  "inputs": [
5265
6628
  {
5266
6629
  "name": "_agentSender",
5267
6630
  "type": "address"
5268
6631
  },
5269
6632
  {
5270
- "name": "_userWallet",
6633
+ "name": "_agentWrapper",
5271
6634
  "type": "address"
5272
6635
  },
5273
6636
  {
5274
- "name": "_legoId",
5275
- "type": "uint256"
5276
- },
5277
- {
5278
- "name": "_nftAddr",
6637
+ "name": "_userWallet",
5279
6638
  "type": "address"
5280
6639
  },
5281
6640
  {
5282
- "name": "_nftTokenId",
6641
+ "name": "_nonce",
5283
6642
  "type": "uint256"
5284
6643
  },
5285
6644
  {
5286
- "name": "_pool",
5287
- "type": "address"
5288
- },
5289
- {
5290
- "name": "_tokenA",
5291
- "type": "address"
5292
- },
6645
+ "name": "_expiration",
6646
+ "type": "uint256"
6647
+ }
6648
+ ],
6649
+ "outputs": [
5293
6650
  {
5294
- "name": "_tokenB",
5295
- "type": "address"
6651
+ "name": "",
6652
+ "type": "bytes32"
5296
6653
  },
5297
6654
  {
5298
- "name": "_liqToRemove",
6655
+ "name": "",
5299
6656
  "type": "uint256"
5300
6657
  },
5301
6658
  {
5302
- "name": "_minAmountA",
6659
+ "name": "",
5303
6660
  "type": "uint256"
5304
- },
6661
+ }
6662
+ ]
6663
+ },
6664
+ {
6665
+ "stateMutability": "view",
6666
+ "type": "function",
6667
+ "name": "getClaimAllLootHash",
6668
+ "inputs": [
5305
6669
  {
5306
- "name": "_minAmountB",
5307
- "type": "uint256"
6670
+ "name": "_agentSender",
6671
+ "type": "address"
5308
6672
  },
5309
6673
  {
5310
- "name": "_extraData",
5311
- "type": "bytes32"
6674
+ "name": "_agentWrapper",
6675
+ "type": "address"
5312
6676
  },
5313
6677
  {
5314
- "name": "_nonce",
5315
- "type": "uint256"
6678
+ "name": "_userWallet",
6679
+ "type": "address"
5316
6680
  }
5317
6681
  ],
5318
6682
  "outputs": [
@@ -5333,55 +6697,56 @@ export const abi = [
5333
6697
  {
5334
6698
  "stateMutability": "view",
5335
6699
  "type": "function",
5336
- "name": "getRemoveLiquidityConcentratedHash",
6700
+ "name": "getClaimAllLootHash",
5337
6701
  "inputs": [
5338
6702
  {
5339
6703
  "name": "_agentSender",
5340
6704
  "type": "address"
5341
6705
  },
5342
6706
  {
5343
- "name": "_userWallet",
6707
+ "name": "_agentWrapper",
5344
6708
  "type": "address"
5345
6709
  },
5346
6710
  {
5347
- "name": "_legoId",
5348
- "type": "uint256"
5349
- },
5350
- {
5351
- "name": "_nftAddr",
6711
+ "name": "_userWallet",
5352
6712
  "type": "address"
5353
6713
  },
5354
6714
  {
5355
- "name": "_nftTokenId",
6715
+ "name": "_nonce",
5356
6716
  "type": "uint256"
5357
- },
5358
- {
5359
- "name": "_pool",
5360
- "type": "address"
5361
- },
5362
- {
5363
- "name": "_tokenA",
5364
- "type": "address"
5365
- },
6717
+ }
6718
+ ],
6719
+ "outputs": [
5366
6720
  {
5367
- "name": "_tokenB",
5368
- "type": "address"
6721
+ "name": "",
6722
+ "type": "bytes32"
5369
6723
  },
5370
6724
  {
5371
- "name": "_liqToRemove",
6725
+ "name": "",
5372
6726
  "type": "uint256"
5373
6727
  },
5374
6728
  {
5375
- "name": "_minAmountA",
6729
+ "name": "",
5376
6730
  "type": "uint256"
6731
+ }
6732
+ ]
6733
+ },
6734
+ {
6735
+ "stateMutability": "view",
6736
+ "type": "function",
6737
+ "name": "getClaimAllLootHash",
6738
+ "inputs": [
6739
+ {
6740
+ "name": "_agentSender",
6741
+ "type": "address"
5377
6742
  },
5378
6743
  {
5379
- "name": "_minAmountB",
5380
- "type": "uint256"
6744
+ "name": "_agentWrapper",
6745
+ "type": "address"
5381
6746
  },
5382
6747
  {
5383
- "name": "_extraData",
5384
- "type": "bytes32"
6748
+ "name": "_userWallet",
6749
+ "type": "address"
5385
6750
  },
5386
6751
  {
5387
6752
  "name": "_nonce",
@@ -5410,19 +6775,19 @@ export const abi = [
5410
6775
  {
5411
6776
  "stateMutability": "view",
5412
6777
  "type": "function",
5413
- "name": "getClaimIncentivesHash",
6778
+ "name": "getClaimRevShareAndBonusLootHash",
5414
6779
  "inputs": [
5415
6780
  {
5416
6781
  "name": "_agentSender",
5417
6782
  "type": "address"
5418
6783
  },
5419
6784
  {
5420
- "name": "_userWallet",
6785
+ "name": "_agentWrapper",
5421
6786
  "type": "address"
5422
6787
  },
5423
6788
  {
5424
- "name": "_legoId",
5425
- "type": "uint256"
6789
+ "name": "_userWallet",
6790
+ "type": "address"
5426
6791
  }
5427
6792
  ],
5428
6793
  "outputs": [
@@ -5443,23 +6808,23 @@ export const abi = [
5443
6808
  {
5444
6809
  "stateMutability": "view",
5445
6810
  "type": "function",
5446
- "name": "getClaimIncentivesHash",
6811
+ "name": "getClaimRevShareAndBonusLootHash",
5447
6812
  "inputs": [
5448
6813
  {
5449
6814
  "name": "_agentSender",
5450
6815
  "type": "address"
5451
6816
  },
5452
6817
  {
5453
- "name": "_userWallet",
6818
+ "name": "_agentWrapper",
5454
6819
  "type": "address"
5455
6820
  },
5456
6821
  {
5457
- "name": "_legoId",
5458
- "type": "uint256"
6822
+ "name": "_userWallet",
6823
+ "type": "address"
5459
6824
  },
5460
6825
  {
5461
- "name": "_rewardToken",
5462
- "type": "address"
6826
+ "name": "_nonce",
6827
+ "type": "uint256"
5463
6828
  }
5464
6829
  ],
5465
6830
  "outputs": [
@@ -5480,26 +6845,26 @@ export const abi = [
5480
6845
  {
5481
6846
  "stateMutability": "view",
5482
6847
  "type": "function",
5483
- "name": "getClaimIncentivesHash",
6848
+ "name": "getClaimRevShareAndBonusLootHash",
5484
6849
  "inputs": [
5485
6850
  {
5486
6851
  "name": "_agentSender",
5487
6852
  "type": "address"
5488
6853
  },
5489
6854
  {
5490
- "name": "_userWallet",
6855
+ "name": "_agentWrapper",
5491
6856
  "type": "address"
5492
6857
  },
5493
6858
  {
5494
- "name": "_legoId",
5495
- "type": "uint256"
6859
+ "name": "_userWallet",
6860
+ "type": "address"
5496
6861
  },
5497
6862
  {
5498
- "name": "_rewardToken",
5499
- "type": "address"
6863
+ "name": "_nonce",
6864
+ "type": "uint256"
5500
6865
  },
5501
6866
  {
5502
- "name": "_rewardAmount",
6867
+ "name": "_expiration",
5503
6868
  "type": "uint256"
5504
6869
  }
5505
6870
  ],
@@ -5521,31 +6886,19 @@ export const abi = [
5521
6886
  {
5522
6887
  "stateMutability": "view",
5523
6888
  "type": "function",
5524
- "name": "getClaimIncentivesHash",
6889
+ "name": "getClaimDepositRewardsHash",
5525
6890
  "inputs": [
5526
6891
  {
5527
6892
  "name": "_agentSender",
5528
6893
  "type": "address"
5529
6894
  },
5530
6895
  {
5531
- "name": "_userWallet",
6896
+ "name": "_agentWrapper",
5532
6897
  "type": "address"
5533
6898
  },
5534
6899
  {
5535
- "name": "_legoId",
5536
- "type": "uint256"
5537
- },
5538
- {
5539
- "name": "_rewardToken",
6900
+ "name": "_userWallet",
5540
6901
  "type": "address"
5541
- },
5542
- {
5543
- "name": "_rewardAmount",
5544
- "type": "uint256"
5545
- },
5546
- {
5547
- "name": "_proofs",
5548
- "type": "bytes32[]"
5549
6902
  }
5550
6903
  ],
5551
6904
  "outputs": [
@@ -5566,32 +6919,20 @@ export const abi = [
5566
6919
  {
5567
6920
  "stateMutability": "view",
5568
6921
  "type": "function",
5569
- "name": "getClaimIncentivesHash",
6922
+ "name": "getClaimDepositRewardsHash",
5570
6923
  "inputs": [
5571
6924
  {
5572
6925
  "name": "_agentSender",
5573
6926
  "type": "address"
5574
6927
  },
5575
6928
  {
5576
- "name": "_userWallet",
6929
+ "name": "_agentWrapper",
5577
6930
  "type": "address"
5578
6931
  },
5579
6932
  {
5580
- "name": "_legoId",
5581
- "type": "uint256"
5582
- },
5583
- {
5584
- "name": "_rewardToken",
6933
+ "name": "_userWallet",
5585
6934
  "type": "address"
5586
6935
  },
5587
- {
5588
- "name": "_rewardAmount",
5589
- "type": "uint256"
5590
- },
5591
- {
5592
- "name": "_proofs",
5593
- "type": "bytes32[]"
5594
- },
5595
6936
  {
5596
6937
  "name": "_nonce",
5597
6938
  "type": "uint256"
@@ -5615,32 +6956,20 @@ export const abi = [
5615
6956
  {
5616
6957
  "stateMutability": "view",
5617
6958
  "type": "function",
5618
- "name": "getClaimIncentivesHash",
6959
+ "name": "getClaimDepositRewardsHash",
5619
6960
  "inputs": [
5620
6961
  {
5621
6962
  "name": "_agentSender",
5622
6963
  "type": "address"
5623
6964
  },
5624
6965
  {
5625
- "name": "_userWallet",
6966
+ "name": "_agentWrapper",
5626
6967
  "type": "address"
5627
6968
  },
5628
6969
  {
5629
- "name": "_legoId",
5630
- "type": "uint256"
5631
- },
5632
- {
5633
- "name": "_rewardToken",
6970
+ "name": "_userWallet",
5634
6971
  "type": "address"
5635
6972
  },
5636
- {
5637
- "name": "_rewardAmount",
5638
- "type": "uint256"
5639
- },
5640
- {
5641
- "name": "_proofs",
5642
- "type": "bytes32[]"
5643
- },
5644
6973
  {
5645
6974
  "name": "_nonce",
5646
6975
  "type": "uint256"
@@ -5674,6 +7003,10 @@ export const abi = [
5674
7003
  "name": "_agentSender",
5675
7004
  "type": "address"
5676
7005
  },
7006
+ {
7007
+ "name": "_agentWrapper",
7008
+ "type": "address"
7009
+ },
5677
7010
  {
5678
7011
  "name": "_userWallet",
5679
7012
  "type": "address"
@@ -5795,6 +7128,10 @@ export const abi = [
5795
7128
  "name": "_agentSender",
5796
7129
  "type": "address"
5797
7130
  },
7131
+ {
7132
+ "name": "_agentWrapper",
7133
+ "type": "address"
7134
+ },
5798
7135
  {
5799
7136
  "name": "_userWallet",
5800
7137
  "type": "address"
@@ -5920,6 +7257,10 @@ export const abi = [
5920
7257
  "name": "_agentSender",
5921
7258
  "type": "address"
5922
7259
  },
7260
+ {
7261
+ "name": "_agentWrapper",
7262
+ "type": "address"
7263
+ },
5923
7264
  {
5924
7265
  "name": "_userWallet",
5925
7266
  "type": "address"
@@ -6072,6 +7413,8 @@ function getRequest(method, args, contractAddressOrOptions) {
6072
7413
  export const call = {
6073
7414
  getTransferFundsHash: (...args) => getRequest('getTransferFundsHash', args),
6074
7415
  getCreateAndPayChequeHash: (...args) => getRequest('getCreateAndPayChequeHash', args),
7416
+ getCreateChequeHash: (...args) => getRequest('getCreateChequeHash', args),
7417
+ getPayChequeHash: (...args) => getRequest('getPayChequeHash', args),
6075
7418
  getDepositForYieldHash: (...args) => getRequest('getDepositForYieldHash', args),
6076
7419
  getWithdrawFromYieldHash: (...args) => getRequest('getWithdrawFromYieldHash', args),
6077
7420
  getRebalanceYieldPositionHash: (...args) => getRequest('getRebalanceYieldPositionHash', args),
@@ -6082,7 +7425,6 @@ export const call = {
6082
7425
  getRemoveCollateralHash: (...args) => getRequest('getRemoveCollateralHash', args),
6083
7426
  getBorrowHash: (...args) => getRequest('getBorrowHash', args),
6084
7427
  getRepayDebtHash: (...args) => getRequest('getRepayDebtHash', args),
6085
- getClaimRewardsHash: (...args) => getRequest('getClaimRewardsHash', args),
6086
7428
  getConvertWethToEthHash: (...args) => getRequest('getConvertWethToEthHash', args),
6087
7429
  getConvertEthToWethHash: (...args) => getRequest('getConvertEthToWethHash', args),
6088
7430
  getAddLiquidityHash: (...args) => getRequest('getAddLiquidityHash', args),
@@ -6090,6 +7432,13 @@ export const call = {
6090
7432
  getAddLiquidityConcentratedHash: (...args) => getRequest('getAddLiquidityConcentratedHash', args),
6091
7433
  getRemoveLiquidityConcentratedHash: (...args) => getRequest('getRemoveLiquidityConcentratedHash', args),
6092
7434
  getClaimIncentivesHash: (...args) => getRequest('getClaimIncentivesHash', args),
7435
+ getConfirmWhitelistAddrHash: (...args) => getRequest('getConfirmWhitelistAddrHash', args),
7436
+ getCancelPendingWhitelistAddrHash: (...args) => getRequest('getCancelPendingWhitelistAddrHash', args),
7437
+ getRemoveWhitelistAddrHash: (...args) => getRequest('getRemoveWhitelistAddrHash', args),
7438
+ getRemoveSelfAsManagerHash: (...args) => getRequest('getRemoveSelfAsManagerHash', args),
7439
+ getClaimAllLootHash: (...args) => getRequest('getClaimAllLootHash', args),
7440
+ getClaimRevShareAndBonusLootHash: (...args) => getRequest('getClaimRevShareAndBonusLootHash', args),
7441
+ getClaimDepositRewardsHash: (...args) => getRequest('getClaimDepositRewardsHash', args),
6093
7442
  getBatchActionsHash: (...args) => getRequest('getBatchActionsHash', args),
6094
7443
  };
6095
7444
  export function toSdk(deployAddress, publicClient, walletClient, addressResolver) {
@@ -6099,6 +7448,8 @@ export function toSdk(deployAddress, publicClient, walletClient, addressResolver
6099
7448
  // Queries
6100
7449
  getTransferFundsHash: (...args) => singleQuery(publicClient, call.getTransferFundsHash(...args).at(deployAddress), {}, addressResolver),
6101
7450
  getCreateAndPayChequeHash: (...args) => singleQuery(publicClient, call.getCreateAndPayChequeHash(...args).at(deployAddress), {}, addressResolver),
7451
+ getCreateChequeHash: (...args) => singleQuery(publicClient, call.getCreateChequeHash(...args).at(deployAddress), {}, addressResolver),
7452
+ getPayChequeHash: (...args) => singleQuery(publicClient, call.getPayChequeHash(...args).at(deployAddress), {}, addressResolver),
6102
7453
  getDepositForYieldHash: (...args) => singleQuery(publicClient, call.getDepositForYieldHash(...args).at(deployAddress), {}, addressResolver),
6103
7454
  getWithdrawFromYieldHash: (...args) => singleQuery(publicClient, call.getWithdrawFromYieldHash(...args).at(deployAddress), {}, addressResolver),
6104
7455
  getRebalanceYieldPositionHash: (...args) => singleQuery(publicClient, call.getRebalanceYieldPositionHash(...args).at(deployAddress), {}, addressResolver),
@@ -6109,7 +7460,6 @@ export function toSdk(deployAddress, publicClient, walletClient, addressResolver
6109
7460
  getRemoveCollateralHash: (...args) => singleQuery(publicClient, call.getRemoveCollateralHash(...args).at(deployAddress), {}, addressResolver),
6110
7461
  getBorrowHash: (...args) => singleQuery(publicClient, call.getBorrowHash(...args).at(deployAddress), {}, addressResolver),
6111
7462
  getRepayDebtHash: (...args) => singleQuery(publicClient, call.getRepayDebtHash(...args).at(deployAddress), {}, addressResolver),
6112
- getClaimRewardsHash: (...args) => singleQuery(publicClient, call.getClaimRewardsHash(...args).at(deployAddress), {}, addressResolver),
6113
7463
  getConvertWethToEthHash: (...args) => singleQuery(publicClient, call.getConvertWethToEthHash(...args).at(deployAddress), {}, addressResolver),
6114
7464
  getConvertEthToWethHash: (...args) => singleQuery(publicClient, call.getConvertEthToWethHash(...args).at(deployAddress), {}, addressResolver),
6115
7465
  getAddLiquidityHash: (...args) => singleQuery(publicClient, call.getAddLiquidityHash(...args).at(deployAddress), {}, addressResolver),
@@ -6117,6 +7467,13 @@ export function toSdk(deployAddress, publicClient, walletClient, addressResolver
6117
7467
  getAddLiquidityConcentratedHash: (...args) => singleQuery(publicClient, call.getAddLiquidityConcentratedHash(...args).at(deployAddress), {}, addressResolver),
6118
7468
  getRemoveLiquidityConcentratedHash: (...args) => singleQuery(publicClient, call.getRemoveLiquidityConcentratedHash(...args).at(deployAddress), {}, addressResolver),
6119
7469
  getClaimIncentivesHash: (...args) => singleQuery(publicClient, call.getClaimIncentivesHash(...args).at(deployAddress), {}, addressResolver),
7470
+ getConfirmWhitelistAddrHash: (...args) => singleQuery(publicClient, call.getConfirmWhitelistAddrHash(...args).at(deployAddress), {}, addressResolver),
7471
+ getCancelPendingWhitelistAddrHash: (...args) => singleQuery(publicClient, call.getCancelPendingWhitelistAddrHash(...args).at(deployAddress), {}, addressResolver),
7472
+ getRemoveWhitelistAddrHash: (...args) => singleQuery(publicClient, call.getRemoveWhitelistAddrHash(...args).at(deployAddress), {}, addressResolver),
7473
+ getRemoveSelfAsManagerHash: (...args) => singleQuery(publicClient, call.getRemoveSelfAsManagerHash(...args).at(deployAddress), {}, addressResolver),
7474
+ getClaimAllLootHash: (...args) => singleQuery(publicClient, call.getClaimAllLootHash(...args).at(deployAddress), {}, addressResolver),
7475
+ getClaimRevShareAndBonusLootHash: (...args) => singleQuery(publicClient, call.getClaimRevShareAndBonusLootHash(...args).at(deployAddress), {}, addressResolver),
7476
+ getClaimDepositRewardsHash: (...args) => singleQuery(publicClient, call.getClaimDepositRewardsHash(...args).at(deployAddress), {}, addressResolver),
6120
7477
  getBatchActionsHash: (...args) => singleQuery(publicClient, call.getBatchActionsHash(...args).at(deployAddress), {}, addressResolver),
6121
7478
  // Mutations
6122
7479
  };