@pendle/core-v2 3.0.0-beta-5 → 3.0.0-beta-7

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.
@@ -0,0 +1,1862 @@
1
+ /* Autogenerated file. Do not edit manually. */
2
+ /* tslint:disable */
3
+ /* eslint-disable */
4
+
5
+ import { Contract, Signer, utils } from "ethers";
6
+ import { Provider } from "@ethersproject/providers";
7
+ import type {
8
+ IExecutorHelperL2,
9
+ IExecutorHelperL2Interface,
10
+ } from "../IExecutorHelperL2";
11
+
12
+ const _abi = [
13
+ {
14
+ inputs: [
15
+ {
16
+ internalType: "uint256",
17
+ name: "index",
18
+ type: "uint256",
19
+ },
20
+ {
21
+ internalType: "bytes",
22
+ name: "data",
23
+ type: "bytes",
24
+ },
25
+ {
26
+ internalType: "uint256",
27
+ name: "previousAmountOut",
28
+ type: "uint256",
29
+ },
30
+ {
31
+ internalType: "address",
32
+ name: "tokenIn",
33
+ type: "address",
34
+ },
35
+ {
36
+ internalType: "bool",
37
+ name: "getPoolOnly",
38
+ type: "bool",
39
+ },
40
+ {
41
+ internalType: "address",
42
+ name: "nextPool",
43
+ type: "address",
44
+ },
45
+ ],
46
+ name: "executeAlgebraV1",
47
+ outputs: [
48
+ {
49
+ internalType: "address",
50
+ name: "tokenOut",
51
+ type: "address",
52
+ },
53
+ {
54
+ internalType: "uint256",
55
+ name: "tokenAmountOut",
56
+ type: "uint256",
57
+ },
58
+ {
59
+ internalType: "address",
60
+ name: "pool",
61
+ type: "address",
62
+ },
63
+ ],
64
+ stateMutability: "payable",
65
+ type: "function",
66
+ },
67
+ {
68
+ inputs: [
69
+ {
70
+ internalType: "uint256",
71
+ name: "index",
72
+ type: "uint256",
73
+ },
74
+ {
75
+ internalType: "bytes",
76
+ name: "data",
77
+ type: "bytes",
78
+ },
79
+ {
80
+ internalType: "uint256",
81
+ name: "previousAmountOut",
82
+ type: "uint256",
83
+ },
84
+ {
85
+ internalType: "address",
86
+ name: "tokenIn",
87
+ type: "address",
88
+ },
89
+ {
90
+ internalType: "bool",
91
+ name: "getPoolOnly",
92
+ type: "bool",
93
+ },
94
+ {
95
+ internalType: "address",
96
+ name: "nextPool",
97
+ type: "address",
98
+ },
99
+ ],
100
+ name: "executeBalV2",
101
+ outputs: [
102
+ {
103
+ internalType: "address",
104
+ name: "tokenOut",
105
+ type: "address",
106
+ },
107
+ {
108
+ internalType: "uint256",
109
+ name: "tokenAmountOut",
110
+ type: "uint256",
111
+ },
112
+ {
113
+ internalType: "address",
114
+ name: "pool",
115
+ type: "address",
116
+ },
117
+ ],
118
+ stateMutability: "payable",
119
+ type: "function",
120
+ },
121
+ {
122
+ inputs: [
123
+ {
124
+ internalType: "uint256",
125
+ name: "index",
126
+ type: "uint256",
127
+ },
128
+ {
129
+ internalType: "bytes",
130
+ name: "data",
131
+ type: "bytes",
132
+ },
133
+ {
134
+ internalType: "uint256",
135
+ name: "previousAmountOut",
136
+ type: "uint256",
137
+ },
138
+ {
139
+ internalType: "address",
140
+ name: "tokenIn",
141
+ type: "address",
142
+ },
143
+ {
144
+ internalType: "bool",
145
+ name: "getPoolOnly",
146
+ type: "bool",
147
+ },
148
+ {
149
+ internalType: "address",
150
+ name: "nextPool",
151
+ type: "address",
152
+ },
153
+ ],
154
+ name: "executeBalancerBatch",
155
+ outputs: [
156
+ {
157
+ internalType: "address",
158
+ name: "tokenOut",
159
+ type: "address",
160
+ },
161
+ {
162
+ internalType: "uint256",
163
+ name: "tokenAmountOut",
164
+ type: "uint256",
165
+ },
166
+ {
167
+ internalType: "address",
168
+ name: "pool",
169
+ type: "address",
170
+ },
171
+ ],
172
+ stateMutability: "payable",
173
+ type: "function",
174
+ },
175
+ {
176
+ inputs: [
177
+ {
178
+ internalType: "uint256",
179
+ name: "index",
180
+ type: "uint256",
181
+ },
182
+ {
183
+ internalType: "bytes",
184
+ name: "data",
185
+ type: "bytes",
186
+ },
187
+ {
188
+ internalType: "uint256",
189
+ name: "previousAmountOut",
190
+ type: "uint256",
191
+ },
192
+ {
193
+ internalType: "address",
194
+ name: "tokenIn",
195
+ type: "address",
196
+ },
197
+ {
198
+ internalType: "bool",
199
+ name: "getPoolOnly",
200
+ type: "bool",
201
+ },
202
+ {
203
+ internalType: "address",
204
+ name: "nextPool",
205
+ type: "address",
206
+ },
207
+ ],
208
+ name: "executeCamelot",
209
+ outputs: [
210
+ {
211
+ internalType: "address",
212
+ name: "tokenOut",
213
+ type: "address",
214
+ },
215
+ {
216
+ internalType: "uint256",
217
+ name: "tokenAmountOut",
218
+ type: "uint256",
219
+ },
220
+ {
221
+ internalType: "address",
222
+ name: "pool",
223
+ type: "address",
224
+ },
225
+ ],
226
+ stateMutability: "payable",
227
+ type: "function",
228
+ },
229
+ {
230
+ inputs: [
231
+ {
232
+ internalType: "uint256",
233
+ name: "index",
234
+ type: "uint256",
235
+ },
236
+ {
237
+ internalType: "bytes",
238
+ name: "data",
239
+ type: "bytes",
240
+ },
241
+ {
242
+ internalType: "uint256",
243
+ name: "previousAmountOut",
244
+ type: "uint256",
245
+ },
246
+ {
247
+ internalType: "address",
248
+ name: "tokenIn",
249
+ type: "address",
250
+ },
251
+ {
252
+ internalType: "bool",
253
+ name: "getPoolOnly",
254
+ type: "bool",
255
+ },
256
+ {
257
+ internalType: "address",
258
+ name: "nextPool",
259
+ type: "address",
260
+ },
261
+ ],
262
+ name: "executeCurve",
263
+ outputs: [
264
+ {
265
+ internalType: "address",
266
+ name: "tokenOut",
267
+ type: "address",
268
+ },
269
+ {
270
+ internalType: "uint256",
271
+ name: "tokenAmountOut",
272
+ type: "uint256",
273
+ },
274
+ {
275
+ internalType: "address",
276
+ name: "pool",
277
+ type: "address",
278
+ },
279
+ ],
280
+ stateMutability: "payable",
281
+ type: "function",
282
+ },
283
+ {
284
+ inputs: [
285
+ {
286
+ internalType: "uint256",
287
+ name: "index",
288
+ type: "uint256",
289
+ },
290
+ {
291
+ internalType: "bytes",
292
+ name: "data",
293
+ type: "bytes",
294
+ },
295
+ {
296
+ internalType: "uint256",
297
+ name: "previousAmountOut",
298
+ type: "uint256",
299
+ },
300
+ {
301
+ internalType: "address",
302
+ name: "tokenIn",
303
+ type: "address",
304
+ },
305
+ {
306
+ internalType: "bool",
307
+ name: "getPoolOnly",
308
+ type: "bool",
309
+ },
310
+ {
311
+ internalType: "address",
312
+ name: "nextPool",
313
+ type: "address",
314
+ },
315
+ ],
316
+ name: "executeDODO",
317
+ outputs: [
318
+ {
319
+ internalType: "address",
320
+ name: "tokenOut",
321
+ type: "address",
322
+ },
323
+ {
324
+ internalType: "uint256",
325
+ name: "tokenAmountOut",
326
+ type: "uint256",
327
+ },
328
+ {
329
+ internalType: "address",
330
+ name: "pool",
331
+ type: "address",
332
+ },
333
+ ],
334
+ stateMutability: "payable",
335
+ type: "function",
336
+ },
337
+ {
338
+ inputs: [
339
+ {
340
+ internalType: "uint256",
341
+ name: "index",
342
+ type: "uint256",
343
+ },
344
+ {
345
+ internalType: "bytes",
346
+ name: "data",
347
+ type: "bytes",
348
+ },
349
+ {
350
+ internalType: "uint256",
351
+ name: "previousAmountOut",
352
+ type: "uint256",
353
+ },
354
+ {
355
+ internalType: "address",
356
+ name: "tokenIn",
357
+ type: "address",
358
+ },
359
+ {
360
+ internalType: "bool",
361
+ name: "getPoolOnly",
362
+ type: "bool",
363
+ },
364
+ {
365
+ internalType: "address",
366
+ name: "nextPool",
367
+ type: "address",
368
+ },
369
+ ],
370
+ name: "executeFrax",
371
+ outputs: [
372
+ {
373
+ internalType: "address",
374
+ name: "tokenOut",
375
+ type: "address",
376
+ },
377
+ {
378
+ internalType: "uint256",
379
+ name: "tokenAmountOut",
380
+ type: "uint256",
381
+ },
382
+ {
383
+ internalType: "address",
384
+ name: "pool",
385
+ type: "address",
386
+ },
387
+ ],
388
+ stateMutability: "payable",
389
+ type: "function",
390
+ },
391
+ {
392
+ inputs: [
393
+ {
394
+ internalType: "uint256",
395
+ name: "index",
396
+ type: "uint256",
397
+ },
398
+ {
399
+ internalType: "bytes",
400
+ name: "data",
401
+ type: "bytes",
402
+ },
403
+ {
404
+ internalType: "uint256",
405
+ name: "previousAmountOut",
406
+ type: "uint256",
407
+ },
408
+ {
409
+ internalType: "address",
410
+ name: "tokenIn",
411
+ type: "address",
412
+ },
413
+ {
414
+ internalType: "bool",
415
+ name: "getPoolOnly",
416
+ type: "bool",
417
+ },
418
+ {
419
+ internalType: "address",
420
+ name: "nextPool",
421
+ type: "address",
422
+ },
423
+ ],
424
+ name: "executeGMX",
425
+ outputs: [
426
+ {
427
+ internalType: "address",
428
+ name: "tokenOut",
429
+ type: "address",
430
+ },
431
+ {
432
+ internalType: "uint256",
433
+ name: "tokenAmountOut",
434
+ type: "uint256",
435
+ },
436
+ {
437
+ internalType: "address",
438
+ name: "pool",
439
+ type: "address",
440
+ },
441
+ ],
442
+ stateMutability: "payable",
443
+ type: "function",
444
+ },
445
+ {
446
+ inputs: [
447
+ {
448
+ internalType: "uint256",
449
+ name: "index",
450
+ type: "uint256",
451
+ },
452
+ {
453
+ internalType: "bytes",
454
+ name: "data",
455
+ type: "bytes",
456
+ },
457
+ {
458
+ internalType: "uint256",
459
+ name: "previousAmountOut",
460
+ type: "uint256",
461
+ },
462
+ {
463
+ internalType: "address",
464
+ name: "tokenIn",
465
+ type: "address",
466
+ },
467
+ {
468
+ internalType: "bool",
469
+ name: "getPoolOnly",
470
+ type: "bool",
471
+ },
472
+ {
473
+ internalType: "address",
474
+ name: "nextPool",
475
+ type: "address",
476
+ },
477
+ ],
478
+ name: "executeGMXGLP",
479
+ outputs: [
480
+ {
481
+ internalType: "address",
482
+ name: "tokenOut",
483
+ type: "address",
484
+ },
485
+ {
486
+ internalType: "uint256",
487
+ name: "tokenAmountOut",
488
+ type: "uint256",
489
+ },
490
+ {
491
+ internalType: "address",
492
+ name: "pool",
493
+ type: "address",
494
+ },
495
+ ],
496
+ stateMutability: "payable",
497
+ type: "function",
498
+ },
499
+ {
500
+ inputs: [
501
+ {
502
+ internalType: "uint256",
503
+ name: "index",
504
+ type: "uint256",
505
+ },
506
+ {
507
+ internalType: "bytes",
508
+ name: "data",
509
+ type: "bytes",
510
+ },
511
+ {
512
+ internalType: "uint256",
513
+ name: "previousAmountOut",
514
+ type: "uint256",
515
+ },
516
+ {
517
+ internalType: "address",
518
+ name: "tokenIn",
519
+ type: "address",
520
+ },
521
+ {
522
+ internalType: "bool",
523
+ name: "getPoolOnly",
524
+ type: "bool",
525
+ },
526
+ {
527
+ internalType: "address",
528
+ name: "nextPool",
529
+ type: "address",
530
+ },
531
+ ],
532
+ name: "executeHashflow",
533
+ outputs: [
534
+ {
535
+ internalType: "address",
536
+ name: "tokenOut",
537
+ type: "address",
538
+ },
539
+ {
540
+ internalType: "uint256",
541
+ name: "tokenAmountOut",
542
+ type: "uint256",
543
+ },
544
+ {
545
+ internalType: "address",
546
+ name: "pool",
547
+ type: "address",
548
+ },
549
+ ],
550
+ stateMutability: "payable",
551
+ type: "function",
552
+ },
553
+ {
554
+ inputs: [
555
+ {
556
+ internalType: "uint256",
557
+ name: "index",
558
+ type: "uint256",
559
+ },
560
+ {
561
+ internalType: "bytes",
562
+ name: "data",
563
+ type: "bytes",
564
+ },
565
+ {
566
+ internalType: "uint256",
567
+ name: "previousAmountOut",
568
+ type: "uint256",
569
+ },
570
+ {
571
+ internalType: "address",
572
+ name: "tokenIn",
573
+ type: "address",
574
+ },
575
+ {
576
+ internalType: "bool",
577
+ name: "getPoolOnly",
578
+ type: "bool",
579
+ },
580
+ {
581
+ internalType: "address",
582
+ name: "nextPool",
583
+ type: "address",
584
+ },
585
+ ],
586
+ name: "executeIziSwap",
587
+ outputs: [
588
+ {
589
+ internalType: "address",
590
+ name: "tokenOut",
591
+ type: "address",
592
+ },
593
+ {
594
+ internalType: "uint256",
595
+ name: "tokenAmountOut",
596
+ type: "uint256",
597
+ },
598
+ {
599
+ internalType: "address",
600
+ name: "pool",
601
+ type: "address",
602
+ },
603
+ ],
604
+ stateMutability: "payable",
605
+ type: "function",
606
+ },
607
+ {
608
+ inputs: [
609
+ {
610
+ internalType: "uint256",
611
+ name: "index",
612
+ type: "uint256",
613
+ },
614
+ {
615
+ internalType: "bytes",
616
+ name: "data",
617
+ type: "bytes",
618
+ },
619
+ {
620
+ internalType: "uint256",
621
+ name: "previousAmountOut",
622
+ type: "uint256",
623
+ },
624
+ {
625
+ internalType: "address",
626
+ name: "tokenIn",
627
+ type: "address",
628
+ },
629
+ {
630
+ internalType: "bool",
631
+ name: "getPoolOnly",
632
+ type: "bool",
633
+ },
634
+ {
635
+ internalType: "address",
636
+ name: "nextPool",
637
+ type: "address",
638
+ },
639
+ ],
640
+ name: "executeKSClassic",
641
+ outputs: [
642
+ {
643
+ internalType: "address",
644
+ name: "tokenOut",
645
+ type: "address",
646
+ },
647
+ {
648
+ internalType: "uint256",
649
+ name: "tokenAmountOut",
650
+ type: "uint256",
651
+ },
652
+ {
653
+ internalType: "address",
654
+ name: "pool",
655
+ type: "address",
656
+ },
657
+ ],
658
+ stateMutability: "payable",
659
+ type: "function",
660
+ },
661
+ {
662
+ inputs: [
663
+ {
664
+ internalType: "uint256",
665
+ name: "index",
666
+ type: "uint256",
667
+ },
668
+ {
669
+ internalType: "bytes",
670
+ name: "data",
671
+ type: "bytes",
672
+ },
673
+ {
674
+ internalType: "uint256",
675
+ name: "previousAmountOut",
676
+ type: "uint256",
677
+ },
678
+ {
679
+ internalType: "address",
680
+ name: "tokenIn",
681
+ type: "address",
682
+ },
683
+ {
684
+ internalType: "bool",
685
+ name: "getPoolOnly",
686
+ type: "bool",
687
+ },
688
+ {
689
+ internalType: "address",
690
+ name: "nextPool",
691
+ type: "address",
692
+ },
693
+ ],
694
+ name: "executeKokonut",
695
+ outputs: [
696
+ {
697
+ internalType: "address",
698
+ name: "tokenOut",
699
+ type: "address",
700
+ },
701
+ {
702
+ internalType: "uint256",
703
+ name: "tokenAmountOut",
704
+ type: "uint256",
705
+ },
706
+ {
707
+ internalType: "address",
708
+ name: "pool",
709
+ type: "address",
710
+ },
711
+ ],
712
+ stateMutability: "payable",
713
+ type: "function",
714
+ },
715
+ {
716
+ inputs: [
717
+ {
718
+ internalType: "uint256",
719
+ name: "index",
720
+ type: "uint256",
721
+ },
722
+ {
723
+ internalType: "bytes",
724
+ name: "data",
725
+ type: "bytes",
726
+ },
727
+ {
728
+ internalType: "uint256",
729
+ name: "previousAmountOut",
730
+ type: "uint256",
731
+ },
732
+ {
733
+ internalType: "address",
734
+ name: "tokenIn",
735
+ type: "address",
736
+ },
737
+ {
738
+ internalType: "bool",
739
+ name: "getPoolOnly",
740
+ type: "bool",
741
+ },
742
+ {
743
+ internalType: "address",
744
+ name: "nextPool",
745
+ type: "address",
746
+ },
747
+ ],
748
+ name: "executeKyberLimitOrder",
749
+ outputs: [
750
+ {
751
+ internalType: "address",
752
+ name: "tokenOut",
753
+ type: "address",
754
+ },
755
+ {
756
+ internalType: "uint256",
757
+ name: "tokenAmountOut",
758
+ type: "uint256",
759
+ },
760
+ {
761
+ internalType: "address",
762
+ name: "pool",
763
+ type: "address",
764
+ },
765
+ ],
766
+ stateMutability: "payable",
767
+ type: "function",
768
+ },
769
+ {
770
+ inputs: [
771
+ {
772
+ internalType: "uint256",
773
+ name: "index",
774
+ type: "uint256",
775
+ },
776
+ {
777
+ internalType: "bytes",
778
+ name: "data",
779
+ type: "bytes",
780
+ },
781
+ {
782
+ internalType: "uint256",
783
+ name: "previousAmountOut",
784
+ type: "uint256",
785
+ },
786
+ {
787
+ internalType: "address",
788
+ name: "tokenIn",
789
+ type: "address",
790
+ },
791
+ {
792
+ internalType: "bool",
793
+ name: "getPoolOnly",
794
+ type: "bool",
795
+ },
796
+ {
797
+ internalType: "address",
798
+ name: "nextPool",
799
+ type: "address",
800
+ },
801
+ ],
802
+ name: "executeLevelFiV2",
803
+ outputs: [
804
+ {
805
+ internalType: "address",
806
+ name: "tokenOut",
807
+ type: "address",
808
+ },
809
+ {
810
+ internalType: "uint256",
811
+ name: "tokenAmountOut",
812
+ type: "uint256",
813
+ },
814
+ {
815
+ internalType: "address",
816
+ name: "pool",
817
+ type: "address",
818
+ },
819
+ ],
820
+ stateMutability: "payable",
821
+ type: "function",
822
+ },
823
+ {
824
+ inputs: [
825
+ {
826
+ internalType: "uint256",
827
+ name: "index",
828
+ type: "uint256",
829
+ },
830
+ {
831
+ internalType: "bytes",
832
+ name: "data",
833
+ type: "bytes",
834
+ },
835
+ {
836
+ internalType: "uint256",
837
+ name: "previousAmountOut",
838
+ type: "uint256",
839
+ },
840
+ {
841
+ internalType: "address",
842
+ name: "tokenIn",
843
+ type: "address",
844
+ },
845
+ {
846
+ internalType: "bool",
847
+ name: "getPoolOnly",
848
+ type: "bool",
849
+ },
850
+ {
851
+ internalType: "address",
852
+ name: "nextPool",
853
+ type: "address",
854
+ },
855
+ ],
856
+ name: "executeMantis",
857
+ outputs: [
858
+ {
859
+ internalType: "address",
860
+ name: "tokenOut",
861
+ type: "address",
862
+ },
863
+ {
864
+ internalType: "uint256",
865
+ name: "tokenAmountOut",
866
+ type: "uint256",
867
+ },
868
+ {
869
+ internalType: "address",
870
+ name: "pool",
871
+ type: "address",
872
+ },
873
+ ],
874
+ stateMutability: "payable",
875
+ type: "function",
876
+ },
877
+ {
878
+ inputs: [
879
+ {
880
+ internalType: "uint256",
881
+ name: "index",
882
+ type: "uint256",
883
+ },
884
+ {
885
+ internalType: "bytes",
886
+ name: "data",
887
+ type: "bytes",
888
+ },
889
+ {
890
+ internalType: "uint256",
891
+ name: "previousAmountOut",
892
+ type: "uint256",
893
+ },
894
+ {
895
+ internalType: "address",
896
+ name: "tokenIn",
897
+ type: "address",
898
+ },
899
+ {
900
+ internalType: "bool",
901
+ name: "getPoolOnly",
902
+ type: "bool",
903
+ },
904
+ {
905
+ internalType: "address",
906
+ name: "nextPool",
907
+ type: "address",
908
+ },
909
+ ],
910
+ name: "executeMaverick",
911
+ outputs: [
912
+ {
913
+ internalType: "address",
914
+ name: "tokenOut",
915
+ type: "address",
916
+ },
917
+ {
918
+ internalType: "uint256",
919
+ name: "tokenAmountOut",
920
+ type: "uint256",
921
+ },
922
+ {
923
+ internalType: "address",
924
+ name: "pool",
925
+ type: "address",
926
+ },
927
+ ],
928
+ stateMutability: "payable",
929
+ type: "function",
930
+ },
931
+ {
932
+ inputs: [
933
+ {
934
+ internalType: "uint256",
935
+ name: "index",
936
+ type: "uint256",
937
+ },
938
+ {
939
+ internalType: "bytes",
940
+ name: "data",
941
+ type: "bytes",
942
+ },
943
+ {
944
+ internalType: "uint256",
945
+ name: "previousAmountOut",
946
+ type: "uint256",
947
+ },
948
+ {
949
+ internalType: "address",
950
+ name: "tokenIn",
951
+ type: "address",
952
+ },
953
+ {
954
+ internalType: "bool",
955
+ name: "getPoolOnly",
956
+ type: "bool",
957
+ },
958
+ {
959
+ internalType: "address",
960
+ name: "nextPool",
961
+ type: "address",
962
+ },
963
+ ],
964
+ name: "executePSM",
965
+ outputs: [
966
+ {
967
+ internalType: "address",
968
+ name: "tokenOut",
969
+ type: "address",
970
+ },
971
+ {
972
+ internalType: "uint256",
973
+ name: "tokenAmountOut",
974
+ type: "uint256",
975
+ },
976
+ {
977
+ internalType: "address",
978
+ name: "pool",
979
+ type: "address",
980
+ },
981
+ ],
982
+ stateMutability: "payable",
983
+ type: "function",
984
+ },
985
+ {
986
+ inputs: [
987
+ {
988
+ internalType: "uint256",
989
+ name: "index",
990
+ type: "uint256",
991
+ },
992
+ {
993
+ internalType: "bytes",
994
+ name: "data",
995
+ type: "bytes",
996
+ },
997
+ {
998
+ internalType: "uint256",
999
+ name: "previousAmountOut",
1000
+ type: "uint256",
1001
+ },
1002
+ {
1003
+ internalType: "address",
1004
+ name: "tokenIn",
1005
+ type: "address",
1006
+ },
1007
+ {
1008
+ internalType: "bool",
1009
+ name: "getPoolOnly",
1010
+ type: "bool",
1011
+ },
1012
+ {
1013
+ internalType: "address",
1014
+ name: "nextPool",
1015
+ type: "address",
1016
+ },
1017
+ ],
1018
+ name: "executePlatypus",
1019
+ outputs: [
1020
+ {
1021
+ internalType: "address",
1022
+ name: "tokenOut",
1023
+ type: "address",
1024
+ },
1025
+ {
1026
+ internalType: "uint256",
1027
+ name: "tokenAmountOut",
1028
+ type: "uint256",
1029
+ },
1030
+ {
1031
+ internalType: "address",
1032
+ name: "pool",
1033
+ type: "address",
1034
+ },
1035
+ ],
1036
+ stateMutability: "payable",
1037
+ type: "function",
1038
+ },
1039
+ {
1040
+ inputs: [
1041
+ {
1042
+ internalType: "uint256",
1043
+ name: "index",
1044
+ type: "uint256",
1045
+ },
1046
+ {
1047
+ internalType: "bytes",
1048
+ name: "data",
1049
+ type: "bytes",
1050
+ },
1051
+ {
1052
+ internalType: "uint256",
1053
+ name: "previousAmountOut",
1054
+ type: "uint256",
1055
+ },
1056
+ {
1057
+ internalType: "address",
1058
+ name: "tokenIn",
1059
+ type: "address",
1060
+ },
1061
+ {
1062
+ internalType: "bool",
1063
+ name: "getPoolOnly",
1064
+ type: "bool",
1065
+ },
1066
+ {
1067
+ internalType: "address",
1068
+ name: "nextPool",
1069
+ type: "address",
1070
+ },
1071
+ ],
1072
+ name: "executeRfq",
1073
+ outputs: [
1074
+ {
1075
+ internalType: "address",
1076
+ name: "tokenOut",
1077
+ type: "address",
1078
+ },
1079
+ {
1080
+ internalType: "uint256",
1081
+ name: "tokenAmountOut",
1082
+ type: "uint256",
1083
+ },
1084
+ {
1085
+ internalType: "address",
1086
+ name: "pool",
1087
+ type: "address",
1088
+ },
1089
+ ],
1090
+ stateMutability: "payable",
1091
+ type: "function",
1092
+ },
1093
+ {
1094
+ inputs: [
1095
+ {
1096
+ internalType: "uint256",
1097
+ name: "index",
1098
+ type: "uint256",
1099
+ },
1100
+ {
1101
+ internalType: "bytes",
1102
+ name: "data",
1103
+ type: "bytes",
1104
+ },
1105
+ {
1106
+ internalType: "uint256",
1107
+ name: "previousAmountOut",
1108
+ type: "uint256",
1109
+ },
1110
+ {
1111
+ internalType: "address",
1112
+ name: "tokenIn",
1113
+ type: "address",
1114
+ },
1115
+ {
1116
+ internalType: "bool",
1117
+ name: "getPoolOnly",
1118
+ type: "bool",
1119
+ },
1120
+ {
1121
+ internalType: "address",
1122
+ name: "nextPool",
1123
+ type: "address",
1124
+ },
1125
+ ],
1126
+ name: "executeSmardex",
1127
+ outputs: [
1128
+ {
1129
+ internalType: "address",
1130
+ name: "tokenOut",
1131
+ type: "address",
1132
+ },
1133
+ {
1134
+ internalType: "uint256",
1135
+ name: "tokenAmountOut",
1136
+ type: "uint256",
1137
+ },
1138
+ {
1139
+ internalType: "address",
1140
+ name: "pool",
1141
+ type: "address",
1142
+ },
1143
+ ],
1144
+ stateMutability: "payable",
1145
+ type: "function",
1146
+ },
1147
+ {
1148
+ inputs: [
1149
+ {
1150
+ internalType: "uint256",
1151
+ name: "index",
1152
+ type: "uint256",
1153
+ },
1154
+ {
1155
+ internalType: "bytes",
1156
+ name: "data",
1157
+ type: "bytes",
1158
+ },
1159
+ {
1160
+ internalType: "uint256",
1161
+ name: "previousAmountOut",
1162
+ type: "uint256",
1163
+ },
1164
+ {
1165
+ internalType: "address",
1166
+ name: "tokenIn",
1167
+ type: "address",
1168
+ },
1169
+ {
1170
+ internalType: "bool",
1171
+ name: "getPoolOnly",
1172
+ type: "bool",
1173
+ },
1174
+ {
1175
+ internalType: "address",
1176
+ name: "nextPool",
1177
+ type: "address",
1178
+ },
1179
+ ],
1180
+ name: "executeSolidlyV2",
1181
+ outputs: [
1182
+ {
1183
+ internalType: "address",
1184
+ name: "tokenOut",
1185
+ type: "address",
1186
+ },
1187
+ {
1188
+ internalType: "uint256",
1189
+ name: "tokenAmountOut",
1190
+ type: "uint256",
1191
+ },
1192
+ {
1193
+ internalType: "address",
1194
+ name: "pool",
1195
+ type: "address",
1196
+ },
1197
+ ],
1198
+ stateMutability: "payable",
1199
+ type: "function",
1200
+ },
1201
+ {
1202
+ inputs: [
1203
+ {
1204
+ internalType: "uint256",
1205
+ name: "index",
1206
+ type: "uint256",
1207
+ },
1208
+ {
1209
+ internalType: "bytes",
1210
+ name: "data",
1211
+ type: "bytes",
1212
+ },
1213
+ {
1214
+ internalType: "uint256",
1215
+ name: "previousAmountOut",
1216
+ type: "uint256",
1217
+ },
1218
+ {
1219
+ internalType: "address",
1220
+ name: "tokenIn",
1221
+ type: "address",
1222
+ },
1223
+ {
1224
+ internalType: "bool",
1225
+ name: "getPoolOnly",
1226
+ type: "bool",
1227
+ },
1228
+ {
1229
+ internalType: "address",
1230
+ name: "nextPool",
1231
+ type: "address",
1232
+ },
1233
+ ],
1234
+ name: "executeStEth",
1235
+ outputs: [
1236
+ {
1237
+ internalType: "address",
1238
+ name: "tokenOut",
1239
+ type: "address",
1240
+ },
1241
+ {
1242
+ internalType: "uint256",
1243
+ name: "tokenAmountOut",
1244
+ type: "uint256",
1245
+ },
1246
+ {
1247
+ internalType: "address",
1248
+ name: "pool",
1249
+ type: "address",
1250
+ },
1251
+ ],
1252
+ stateMutability: "payable",
1253
+ type: "function",
1254
+ },
1255
+ {
1256
+ inputs: [
1257
+ {
1258
+ internalType: "uint256",
1259
+ name: "index",
1260
+ type: "uint256",
1261
+ },
1262
+ {
1263
+ internalType: "bytes",
1264
+ name: "data",
1265
+ type: "bytes",
1266
+ },
1267
+ {
1268
+ internalType: "uint256",
1269
+ name: "previousAmountOut",
1270
+ type: "uint256",
1271
+ },
1272
+ {
1273
+ internalType: "address",
1274
+ name: "tokenIn",
1275
+ type: "address",
1276
+ },
1277
+ {
1278
+ internalType: "bool",
1279
+ name: "getPoolOnly",
1280
+ type: "bool",
1281
+ },
1282
+ {
1283
+ internalType: "address",
1284
+ name: "nextPool",
1285
+ type: "address",
1286
+ },
1287
+ ],
1288
+ name: "executeStableSwap",
1289
+ outputs: [
1290
+ {
1291
+ internalType: "address",
1292
+ name: "tokenOut",
1293
+ type: "address",
1294
+ },
1295
+ {
1296
+ internalType: "uint256",
1297
+ name: "tokenAmountOut",
1298
+ type: "uint256",
1299
+ },
1300
+ {
1301
+ internalType: "address",
1302
+ name: "pool",
1303
+ type: "address",
1304
+ },
1305
+ ],
1306
+ stateMutability: "payable",
1307
+ type: "function",
1308
+ },
1309
+ {
1310
+ inputs: [
1311
+ {
1312
+ internalType: "uint256",
1313
+ name: "index",
1314
+ type: "uint256",
1315
+ },
1316
+ {
1317
+ internalType: "bytes",
1318
+ name: "data",
1319
+ type: "bytes",
1320
+ },
1321
+ {
1322
+ internalType: "uint256",
1323
+ name: "previousAmountOut",
1324
+ type: "uint256",
1325
+ },
1326
+ {
1327
+ internalType: "address",
1328
+ name: "tokenIn",
1329
+ type: "address",
1330
+ },
1331
+ {
1332
+ internalType: "bool",
1333
+ name: "getPoolOnly",
1334
+ type: "bool",
1335
+ },
1336
+ {
1337
+ internalType: "address",
1338
+ name: "nextPool",
1339
+ type: "address",
1340
+ },
1341
+ ],
1342
+ name: "executeSyncSwap",
1343
+ outputs: [
1344
+ {
1345
+ internalType: "address",
1346
+ name: "tokenOut",
1347
+ type: "address",
1348
+ },
1349
+ {
1350
+ internalType: "uint256",
1351
+ name: "tokenAmountOut",
1352
+ type: "uint256",
1353
+ },
1354
+ {
1355
+ internalType: "address",
1356
+ name: "pool",
1357
+ type: "address",
1358
+ },
1359
+ ],
1360
+ stateMutability: "payable",
1361
+ type: "function",
1362
+ },
1363
+ {
1364
+ inputs: [
1365
+ {
1366
+ internalType: "uint256",
1367
+ name: "index",
1368
+ type: "uint256",
1369
+ },
1370
+ {
1371
+ internalType: "bytes",
1372
+ name: "data",
1373
+ type: "bytes",
1374
+ },
1375
+ {
1376
+ internalType: "uint256",
1377
+ name: "previousAmountOut",
1378
+ type: "uint256",
1379
+ },
1380
+ {
1381
+ internalType: "address",
1382
+ name: "tokenIn",
1383
+ type: "address",
1384
+ },
1385
+ {
1386
+ internalType: "bool",
1387
+ name: "getPoolOnly",
1388
+ type: "bool",
1389
+ },
1390
+ {
1391
+ internalType: "address",
1392
+ name: "nextPool",
1393
+ type: "address",
1394
+ },
1395
+ ],
1396
+ name: "executeSynthetix",
1397
+ outputs: [
1398
+ {
1399
+ internalType: "address",
1400
+ name: "tokenOut",
1401
+ type: "address",
1402
+ },
1403
+ {
1404
+ internalType: "uint256",
1405
+ name: "tokenAmountOut",
1406
+ type: "uint256",
1407
+ },
1408
+ {
1409
+ internalType: "address",
1410
+ name: "pool",
1411
+ type: "address",
1412
+ },
1413
+ ],
1414
+ stateMutability: "payable",
1415
+ type: "function",
1416
+ },
1417
+ {
1418
+ inputs: [
1419
+ {
1420
+ internalType: "uint256",
1421
+ name: "index",
1422
+ type: "uint256",
1423
+ },
1424
+ {
1425
+ internalType: "bytes",
1426
+ name: "data",
1427
+ type: "bytes",
1428
+ },
1429
+ {
1430
+ internalType: "uint256",
1431
+ name: "previousAmountOut",
1432
+ type: "uint256",
1433
+ },
1434
+ {
1435
+ internalType: "address",
1436
+ name: "tokenIn",
1437
+ type: "address",
1438
+ },
1439
+ {
1440
+ internalType: "bool",
1441
+ name: "getPoolOnly",
1442
+ type: "bool",
1443
+ },
1444
+ {
1445
+ internalType: "address",
1446
+ name: "nextPool",
1447
+ type: "address",
1448
+ },
1449
+ ],
1450
+ name: "executeTraderJoeV2",
1451
+ outputs: [
1452
+ {
1453
+ internalType: "address",
1454
+ name: "tokenOut",
1455
+ type: "address",
1456
+ },
1457
+ {
1458
+ internalType: "uint256",
1459
+ name: "tokenAmountOut",
1460
+ type: "uint256",
1461
+ },
1462
+ {
1463
+ internalType: "address",
1464
+ name: "pool",
1465
+ type: "address",
1466
+ },
1467
+ ],
1468
+ stateMutability: "payable",
1469
+ type: "function",
1470
+ },
1471
+ {
1472
+ inputs: [
1473
+ {
1474
+ internalType: "uint256",
1475
+ name: "index",
1476
+ type: "uint256",
1477
+ },
1478
+ {
1479
+ internalType: "bytes",
1480
+ name: "data",
1481
+ type: "bytes",
1482
+ },
1483
+ {
1484
+ internalType: "uint256",
1485
+ name: "previousAmountOut",
1486
+ type: "uint256",
1487
+ },
1488
+ {
1489
+ internalType: "address",
1490
+ name: "tokenIn",
1491
+ type: "address",
1492
+ },
1493
+ {
1494
+ internalType: "bool",
1495
+ name: "getPoolOnly",
1496
+ type: "bool",
1497
+ },
1498
+ {
1499
+ internalType: "address",
1500
+ name: "nextPool",
1501
+ type: "address",
1502
+ },
1503
+ ],
1504
+ name: "executeUniV3KSElastic",
1505
+ outputs: [
1506
+ {
1507
+ internalType: "address",
1508
+ name: "tokenOut",
1509
+ type: "address",
1510
+ },
1511
+ {
1512
+ internalType: "uint256",
1513
+ name: "tokenAmountOut",
1514
+ type: "uint256",
1515
+ },
1516
+ {
1517
+ internalType: "address",
1518
+ name: "pool",
1519
+ type: "address",
1520
+ },
1521
+ ],
1522
+ stateMutability: "payable",
1523
+ type: "function",
1524
+ },
1525
+ {
1526
+ inputs: [
1527
+ {
1528
+ internalType: "uint256",
1529
+ name: "index",
1530
+ type: "uint256",
1531
+ },
1532
+ {
1533
+ internalType: "bytes",
1534
+ name: "data",
1535
+ type: "bytes",
1536
+ },
1537
+ {
1538
+ internalType: "uint256",
1539
+ name: "previousAmountOut",
1540
+ type: "uint256",
1541
+ },
1542
+ {
1543
+ internalType: "address",
1544
+ name: "tokenIn",
1545
+ type: "address",
1546
+ },
1547
+ {
1548
+ internalType: "bool",
1549
+ name: "getPoolOnly",
1550
+ type: "bool",
1551
+ },
1552
+ {
1553
+ internalType: "address",
1554
+ name: "nextPool",
1555
+ type: "address",
1556
+ },
1557
+ ],
1558
+ name: "executeUniswap",
1559
+ outputs: [
1560
+ {
1561
+ internalType: "address",
1562
+ name: "tokenOut",
1563
+ type: "address",
1564
+ },
1565
+ {
1566
+ internalType: "uint256",
1567
+ name: "tokenAmountOut",
1568
+ type: "uint256",
1569
+ },
1570
+ {
1571
+ internalType: "address",
1572
+ name: "pool",
1573
+ type: "address",
1574
+ },
1575
+ ],
1576
+ stateMutability: "payable",
1577
+ type: "function",
1578
+ },
1579
+ {
1580
+ inputs: [
1581
+ {
1582
+ internalType: "uint256",
1583
+ name: "index",
1584
+ type: "uint256",
1585
+ },
1586
+ {
1587
+ internalType: "bytes",
1588
+ name: "data",
1589
+ type: "bytes",
1590
+ },
1591
+ {
1592
+ internalType: "uint256",
1593
+ name: "previousAmountOut",
1594
+ type: "uint256",
1595
+ },
1596
+ {
1597
+ internalType: "address",
1598
+ name: "tokenIn",
1599
+ type: "address",
1600
+ },
1601
+ {
1602
+ internalType: "bool",
1603
+ name: "getPoolOnly",
1604
+ type: "bool",
1605
+ },
1606
+ {
1607
+ internalType: "address",
1608
+ name: "nextPool",
1609
+ type: "address",
1610
+ },
1611
+ ],
1612
+ name: "executeVelocoreV2",
1613
+ outputs: [
1614
+ {
1615
+ internalType: "address",
1616
+ name: "tokenOut",
1617
+ type: "address",
1618
+ },
1619
+ {
1620
+ internalType: "uint256",
1621
+ name: "tokenAmountOut",
1622
+ type: "uint256",
1623
+ },
1624
+ {
1625
+ internalType: "address",
1626
+ name: "pool",
1627
+ type: "address",
1628
+ },
1629
+ ],
1630
+ stateMutability: "payable",
1631
+ type: "function",
1632
+ },
1633
+ {
1634
+ inputs: [
1635
+ {
1636
+ internalType: "uint256",
1637
+ name: "index",
1638
+ type: "uint256",
1639
+ },
1640
+ {
1641
+ internalType: "bytes",
1642
+ name: "data",
1643
+ type: "bytes",
1644
+ },
1645
+ {
1646
+ internalType: "uint256",
1647
+ name: "previousAmountOut",
1648
+ type: "uint256",
1649
+ },
1650
+ {
1651
+ internalType: "address",
1652
+ name: "tokenIn",
1653
+ type: "address",
1654
+ },
1655
+ {
1656
+ internalType: "bool",
1657
+ name: "getPoolOnly",
1658
+ type: "bool",
1659
+ },
1660
+ {
1661
+ internalType: "address",
1662
+ name: "nextPool",
1663
+ type: "address",
1664
+ },
1665
+ ],
1666
+ name: "executeVelodrome",
1667
+ outputs: [
1668
+ {
1669
+ internalType: "address",
1670
+ name: "tokenOut",
1671
+ type: "address",
1672
+ },
1673
+ {
1674
+ internalType: "uint256",
1675
+ name: "tokenAmountOut",
1676
+ type: "uint256",
1677
+ },
1678
+ {
1679
+ internalType: "address",
1680
+ name: "pool",
1681
+ type: "address",
1682
+ },
1683
+ ],
1684
+ stateMutability: "payable",
1685
+ type: "function",
1686
+ },
1687
+ {
1688
+ inputs: [
1689
+ {
1690
+ internalType: "uint256",
1691
+ name: "index",
1692
+ type: "uint256",
1693
+ },
1694
+ {
1695
+ internalType: "bytes",
1696
+ name: "data",
1697
+ type: "bytes",
1698
+ },
1699
+ {
1700
+ internalType: "uint256",
1701
+ name: "previousAmountOut",
1702
+ type: "uint256",
1703
+ },
1704
+ {
1705
+ internalType: "address",
1706
+ name: "tokenIn",
1707
+ type: "address",
1708
+ },
1709
+ {
1710
+ internalType: "bool",
1711
+ name: "getPoolOnly",
1712
+ type: "bool",
1713
+ },
1714
+ {
1715
+ internalType: "address",
1716
+ name: "nextPool",
1717
+ type: "address",
1718
+ },
1719
+ ],
1720
+ name: "executeVooi",
1721
+ outputs: [
1722
+ {
1723
+ internalType: "address",
1724
+ name: "tokenOut",
1725
+ type: "address",
1726
+ },
1727
+ {
1728
+ internalType: "uint256",
1729
+ name: "tokenAmountOut",
1730
+ type: "uint256",
1731
+ },
1732
+ {
1733
+ internalType: "address",
1734
+ name: "pool",
1735
+ type: "address",
1736
+ },
1737
+ ],
1738
+ stateMutability: "payable",
1739
+ type: "function",
1740
+ },
1741
+ {
1742
+ inputs: [
1743
+ {
1744
+ internalType: "uint256",
1745
+ name: "index",
1746
+ type: "uint256",
1747
+ },
1748
+ {
1749
+ internalType: "bytes",
1750
+ name: "data",
1751
+ type: "bytes",
1752
+ },
1753
+ {
1754
+ internalType: "uint256",
1755
+ name: "previousAmountOut",
1756
+ type: "uint256",
1757
+ },
1758
+ {
1759
+ internalType: "address",
1760
+ name: "tokenIn",
1761
+ type: "address",
1762
+ },
1763
+ {
1764
+ internalType: "bool",
1765
+ name: "getPoolOnly",
1766
+ type: "bool",
1767
+ },
1768
+ {
1769
+ internalType: "address",
1770
+ name: "nextPool",
1771
+ type: "address",
1772
+ },
1773
+ ],
1774
+ name: "executeWombat",
1775
+ outputs: [
1776
+ {
1777
+ internalType: "address",
1778
+ name: "tokenOut",
1779
+ type: "address",
1780
+ },
1781
+ {
1782
+ internalType: "uint256",
1783
+ name: "tokenAmountOut",
1784
+ type: "uint256",
1785
+ },
1786
+ {
1787
+ internalType: "address",
1788
+ name: "pool",
1789
+ type: "address",
1790
+ },
1791
+ ],
1792
+ stateMutability: "payable",
1793
+ type: "function",
1794
+ },
1795
+ {
1796
+ inputs: [
1797
+ {
1798
+ internalType: "uint256",
1799
+ name: "index",
1800
+ type: "uint256",
1801
+ },
1802
+ {
1803
+ internalType: "bytes",
1804
+ name: "data",
1805
+ type: "bytes",
1806
+ },
1807
+ {
1808
+ internalType: "uint256",
1809
+ name: "previousAmountOut",
1810
+ type: "uint256",
1811
+ },
1812
+ {
1813
+ internalType: "address",
1814
+ name: "tokenIn",
1815
+ type: "address",
1816
+ },
1817
+ {
1818
+ internalType: "bool",
1819
+ name: "getPoolOnly",
1820
+ type: "bool",
1821
+ },
1822
+ {
1823
+ internalType: "address",
1824
+ name: "nextPool",
1825
+ type: "address",
1826
+ },
1827
+ ],
1828
+ name: "executeWrappedstETH",
1829
+ outputs: [
1830
+ {
1831
+ internalType: "address",
1832
+ name: "tokenOut",
1833
+ type: "address",
1834
+ },
1835
+ {
1836
+ internalType: "uint256",
1837
+ name: "tokenAmountOut",
1838
+ type: "uint256",
1839
+ },
1840
+ {
1841
+ internalType: "address",
1842
+ name: "pool",
1843
+ type: "address",
1844
+ },
1845
+ ],
1846
+ stateMutability: "payable",
1847
+ type: "function",
1848
+ },
1849
+ ];
1850
+
1851
+ export class IExecutorHelperL2__factory {
1852
+ static readonly abi = _abi;
1853
+ static createInterface(): IExecutorHelperL2Interface {
1854
+ return new utils.Interface(_abi) as IExecutorHelperL2Interface;
1855
+ }
1856
+ static connect(
1857
+ address: string,
1858
+ signerOrProvider: Signer | Provider
1859
+ ): IExecutorHelperL2 {
1860
+ return new Contract(address, _abi, signerOrProvider) as IExecutorHelperL2;
1861
+ }
1862
+ }