@merkl/contracts 0.8.11 → 0.9.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -0,0 +1,1381 @@
1
+ /* Autogenerated file. Do not edit manually. */
2
+ /* tslint:disable */
3
+ /* eslint-disable */
4
+ import { Contract, utils } from "ethers";
5
+ const _abi = [
6
+ {
7
+ inputs: [
8
+ {
9
+ components: [
10
+ {
11
+ internalType: "string",
12
+ name: "name",
13
+ type: "string",
14
+ },
15
+ {
16
+ internalType: "string",
17
+ name: "symbol",
18
+ type: "string",
19
+ },
20
+ {
21
+ components: [
22
+ {
23
+ internalType: "int256",
24
+ name: "alpha",
25
+ type: "int256",
26
+ },
27
+ {
28
+ internalType: "int256",
29
+ name: "beta",
30
+ type: "int256",
31
+ },
32
+ {
33
+ internalType: "int256",
34
+ name: "c",
35
+ type: "int256",
36
+ },
37
+ {
38
+ internalType: "int256",
39
+ name: "s",
40
+ type: "int256",
41
+ },
42
+ {
43
+ internalType: "int256",
44
+ name: "lambda",
45
+ type: "int256",
46
+ },
47
+ ],
48
+ internalType: "struct IGyroECLPPool.EclpParams",
49
+ name: "eclpParams",
50
+ type: "tuple",
51
+ },
52
+ {
53
+ components: [
54
+ {
55
+ components: [
56
+ {
57
+ internalType: "int256",
58
+ name: "x",
59
+ type: "int256",
60
+ },
61
+ {
62
+ internalType: "int256",
63
+ name: "y",
64
+ type: "int256",
65
+ },
66
+ ],
67
+ internalType: "struct IGyroECLPPool.Vector2",
68
+ name: "tauAlpha",
69
+ type: "tuple",
70
+ },
71
+ {
72
+ components: [
73
+ {
74
+ internalType: "int256",
75
+ name: "x",
76
+ type: "int256",
77
+ },
78
+ {
79
+ internalType: "int256",
80
+ name: "y",
81
+ type: "int256",
82
+ },
83
+ ],
84
+ internalType: "struct IGyroECLPPool.Vector2",
85
+ name: "tauBeta",
86
+ type: "tuple",
87
+ },
88
+ {
89
+ internalType: "int256",
90
+ name: "u",
91
+ type: "int256",
92
+ },
93
+ {
94
+ internalType: "int256",
95
+ name: "v",
96
+ type: "int256",
97
+ },
98
+ {
99
+ internalType: "int256",
100
+ name: "w",
101
+ type: "int256",
102
+ },
103
+ {
104
+ internalType: "int256",
105
+ name: "z",
106
+ type: "int256",
107
+ },
108
+ {
109
+ internalType: "int256",
110
+ name: "dSq",
111
+ type: "int256",
112
+ },
113
+ ],
114
+ internalType: "struct IGyroECLPPool.DerivedEclpParams",
115
+ name: "derivedEclpParams",
116
+ type: "tuple",
117
+ },
118
+ {
119
+ internalType: "string",
120
+ name: "version",
121
+ type: "string",
122
+ },
123
+ ],
124
+ internalType: "struct IGyroECLPPool.GyroECLPPoolParams",
125
+ name: "params",
126
+ type: "tuple",
127
+ },
128
+ {
129
+ internalType: "contract IVault",
130
+ name: "vault",
131
+ type: "address",
132
+ },
133
+ ],
134
+ stateMutability: "nonpayable",
135
+ type: "constructor",
136
+ },
137
+ {
138
+ inputs: [],
139
+ name: "AssetBoundsExceeded",
140
+ type: "error",
141
+ },
142
+ {
143
+ inputs: [],
144
+ name: "DerivedDsqWrong",
145
+ type: "error",
146
+ },
147
+ {
148
+ inputs: [],
149
+ name: "DerivedTauAlphaNotNormalized",
150
+ type: "error",
151
+ },
152
+ {
153
+ inputs: [],
154
+ name: "DerivedTauAlphaYWrong",
155
+ type: "error",
156
+ },
157
+ {
158
+ inputs: [],
159
+ name: "DerivedTauBetaNotNormalized",
160
+ type: "error",
161
+ },
162
+ {
163
+ inputs: [],
164
+ name: "DerivedTauBetaYWrong",
165
+ type: "error",
166
+ },
167
+ {
168
+ inputs: [],
169
+ name: "DerivedTauXWrong",
170
+ type: "error",
171
+ },
172
+ {
173
+ inputs: [],
174
+ name: "DerivedUWrong",
175
+ type: "error",
176
+ },
177
+ {
178
+ inputs: [],
179
+ name: "DerivedVWrong",
180
+ type: "error",
181
+ },
182
+ {
183
+ inputs: [],
184
+ name: "DerivedWWrong",
185
+ type: "error",
186
+ },
187
+ {
188
+ inputs: [],
189
+ name: "DerivedZWrong",
190
+ type: "error",
191
+ },
192
+ {
193
+ inputs: [],
194
+ name: "ECDSAInvalidSignature",
195
+ type: "error",
196
+ },
197
+ {
198
+ inputs: [
199
+ {
200
+ internalType: "uint256",
201
+ name: "length",
202
+ type: "uint256",
203
+ },
204
+ ],
205
+ name: "ECDSAInvalidSignatureLength",
206
+ type: "error",
207
+ },
208
+ {
209
+ inputs: [
210
+ {
211
+ internalType: "bytes32",
212
+ name: "s",
213
+ type: "bytes32",
214
+ },
215
+ ],
216
+ name: "ECDSAInvalidSignatureS",
217
+ type: "error",
218
+ },
219
+ {
220
+ inputs: [
221
+ {
222
+ internalType: "uint256",
223
+ name: "deadline",
224
+ type: "uint256",
225
+ },
226
+ ],
227
+ name: "ERC2612ExpiredSignature",
228
+ type: "error",
229
+ },
230
+ {
231
+ inputs: [
232
+ {
233
+ internalType: "address",
234
+ name: "signer",
235
+ type: "address",
236
+ },
237
+ {
238
+ internalType: "address",
239
+ name: "owner",
240
+ type: "address",
241
+ },
242
+ ],
243
+ name: "ERC2612InvalidSigner",
244
+ type: "error",
245
+ },
246
+ {
247
+ inputs: [
248
+ {
249
+ internalType: "address",
250
+ name: "account",
251
+ type: "address",
252
+ },
253
+ {
254
+ internalType: "uint256",
255
+ name: "currentNonce",
256
+ type: "uint256",
257
+ },
258
+ ],
259
+ name: "InvalidAccountNonce",
260
+ type: "error",
261
+ },
262
+ {
263
+ inputs: [],
264
+ name: "InvalidShortString",
265
+ type: "error",
266
+ },
267
+ {
268
+ inputs: [],
269
+ name: "InvariantDenominatorWrong",
270
+ type: "error",
271
+ },
272
+ {
273
+ inputs: [],
274
+ name: "MaxAssetsExceeded",
275
+ type: "error",
276
+ },
277
+ {
278
+ inputs: [],
279
+ name: "MaxInvariantExceeded",
280
+ type: "error",
281
+ },
282
+ {
283
+ inputs: [],
284
+ name: "MulOverflow",
285
+ type: "error",
286
+ },
287
+ {
288
+ inputs: [],
289
+ name: "RotationVectorCWrong",
290
+ type: "error",
291
+ },
292
+ {
293
+ inputs: [],
294
+ name: "RotationVectorNotNormalized",
295
+ type: "error",
296
+ },
297
+ {
298
+ inputs: [],
299
+ name: "RotationVectorSWrong",
300
+ type: "error",
301
+ },
302
+ {
303
+ inputs: [
304
+ {
305
+ internalType: "int256",
306
+ name: "value",
307
+ type: "int256",
308
+ },
309
+ ],
310
+ name: "SafeCastOverflowedIntToUint",
311
+ type: "error",
312
+ },
313
+ {
314
+ inputs: [
315
+ {
316
+ internalType: "uint256",
317
+ name: "value",
318
+ type: "uint256",
319
+ },
320
+ ],
321
+ name: "SafeCastOverflowedUintToInt",
322
+ type: "error",
323
+ },
324
+ {
325
+ inputs: [
326
+ {
327
+ internalType: "address",
328
+ name: "sender",
329
+ type: "address",
330
+ },
331
+ ],
332
+ name: "SenderIsNotVault",
333
+ type: "error",
334
+ },
335
+ {
336
+ inputs: [],
337
+ name: "StretchingFactorWrong",
338
+ type: "error",
339
+ },
340
+ {
341
+ inputs: [
342
+ {
343
+ internalType: "string",
344
+ name: "str",
345
+ type: "string",
346
+ },
347
+ ],
348
+ name: "StringTooLong",
349
+ type: "error",
350
+ },
351
+ {
352
+ inputs: [],
353
+ name: "ZeroDivision",
354
+ type: "error",
355
+ },
356
+ {
357
+ anonymous: false,
358
+ inputs: [
359
+ {
360
+ indexed: true,
361
+ internalType: "address",
362
+ name: "owner",
363
+ type: "address",
364
+ },
365
+ {
366
+ indexed: true,
367
+ internalType: "address",
368
+ name: "spender",
369
+ type: "address",
370
+ },
371
+ {
372
+ indexed: false,
373
+ internalType: "uint256",
374
+ name: "value",
375
+ type: "uint256",
376
+ },
377
+ ],
378
+ name: "Approval",
379
+ type: "event",
380
+ },
381
+ {
382
+ anonymous: false,
383
+ inputs: [
384
+ {
385
+ indexed: false,
386
+ internalType: "bool",
387
+ name: "derivedParamsValidated",
388
+ type: "bool",
389
+ },
390
+ ],
391
+ name: "ECLPDerivedParamsValidated",
392
+ type: "event",
393
+ },
394
+ {
395
+ anonymous: false,
396
+ inputs: [
397
+ {
398
+ indexed: false,
399
+ internalType: "bool",
400
+ name: "paramsValidated",
401
+ type: "bool",
402
+ },
403
+ ],
404
+ name: "ECLPParamsValidated",
405
+ type: "event",
406
+ },
407
+ {
408
+ anonymous: false,
409
+ inputs: [],
410
+ name: "EIP712DomainChanged",
411
+ type: "event",
412
+ },
413
+ {
414
+ anonymous: false,
415
+ inputs: [
416
+ {
417
+ indexed: true,
418
+ internalType: "address",
419
+ name: "from",
420
+ type: "address",
421
+ },
422
+ {
423
+ indexed: true,
424
+ internalType: "address",
425
+ name: "to",
426
+ type: "address",
427
+ },
428
+ {
429
+ indexed: false,
430
+ internalType: "uint256",
431
+ name: "value",
432
+ type: "uint256",
433
+ },
434
+ ],
435
+ name: "Transfer",
436
+ type: "event",
437
+ },
438
+ {
439
+ inputs: [],
440
+ name: "DOMAIN_SEPARATOR",
441
+ outputs: [
442
+ {
443
+ internalType: "bytes32",
444
+ name: "",
445
+ type: "bytes32",
446
+ },
447
+ ],
448
+ stateMutability: "view",
449
+ type: "function",
450
+ },
451
+ {
452
+ inputs: [],
453
+ name: "PERMIT_TYPEHASH",
454
+ outputs: [
455
+ {
456
+ internalType: "bytes32",
457
+ name: "",
458
+ type: "bytes32",
459
+ },
460
+ ],
461
+ stateMutability: "view",
462
+ type: "function",
463
+ },
464
+ {
465
+ inputs: [
466
+ {
467
+ internalType: "address",
468
+ name: "owner",
469
+ type: "address",
470
+ },
471
+ {
472
+ internalType: "address",
473
+ name: "spender",
474
+ type: "address",
475
+ },
476
+ ],
477
+ name: "allowance",
478
+ outputs: [
479
+ {
480
+ internalType: "uint256",
481
+ name: "",
482
+ type: "uint256",
483
+ },
484
+ ],
485
+ stateMutability: "view",
486
+ type: "function",
487
+ },
488
+ {
489
+ inputs: [
490
+ {
491
+ internalType: "address",
492
+ name: "spender",
493
+ type: "address",
494
+ },
495
+ {
496
+ internalType: "uint256",
497
+ name: "amount",
498
+ type: "uint256",
499
+ },
500
+ ],
501
+ name: "approve",
502
+ outputs: [
503
+ {
504
+ internalType: "bool",
505
+ name: "",
506
+ type: "bool",
507
+ },
508
+ ],
509
+ stateMutability: "nonpayable",
510
+ type: "function",
511
+ },
512
+ {
513
+ inputs: [
514
+ {
515
+ internalType: "address",
516
+ name: "account",
517
+ type: "address",
518
+ },
519
+ ],
520
+ name: "balanceOf",
521
+ outputs: [
522
+ {
523
+ internalType: "uint256",
524
+ name: "",
525
+ type: "uint256",
526
+ },
527
+ ],
528
+ stateMutability: "view",
529
+ type: "function",
530
+ },
531
+ {
532
+ inputs: [
533
+ {
534
+ internalType: "uint256[]",
535
+ name: "balancesLiveScaled18",
536
+ type: "uint256[]",
537
+ },
538
+ {
539
+ internalType: "uint256",
540
+ name: "tokenInIndex",
541
+ type: "uint256",
542
+ },
543
+ {
544
+ internalType: "uint256",
545
+ name: "invariantRatio",
546
+ type: "uint256",
547
+ },
548
+ ],
549
+ name: "computeBalance",
550
+ outputs: [
551
+ {
552
+ internalType: "uint256",
553
+ name: "newBalance",
554
+ type: "uint256",
555
+ },
556
+ ],
557
+ stateMutability: "view",
558
+ type: "function",
559
+ },
560
+ {
561
+ inputs: [
562
+ {
563
+ internalType: "uint256[]",
564
+ name: "balancesLiveScaled18",
565
+ type: "uint256[]",
566
+ },
567
+ {
568
+ internalType: "enum Rounding",
569
+ name: "rounding",
570
+ type: "uint8",
571
+ },
572
+ ],
573
+ name: "computeInvariant",
574
+ outputs: [
575
+ {
576
+ internalType: "uint256",
577
+ name: "",
578
+ type: "uint256",
579
+ },
580
+ ],
581
+ stateMutability: "view",
582
+ type: "function",
583
+ },
584
+ {
585
+ inputs: [],
586
+ name: "decimals",
587
+ outputs: [
588
+ {
589
+ internalType: "uint8",
590
+ name: "",
591
+ type: "uint8",
592
+ },
593
+ ],
594
+ stateMutability: "pure",
595
+ type: "function",
596
+ },
597
+ {
598
+ inputs: [],
599
+ name: "eip712Domain",
600
+ outputs: [
601
+ {
602
+ internalType: "bytes1",
603
+ name: "fields",
604
+ type: "bytes1",
605
+ },
606
+ {
607
+ internalType: "string",
608
+ name: "name",
609
+ type: "string",
610
+ },
611
+ {
612
+ internalType: "string",
613
+ name: "version",
614
+ type: "string",
615
+ },
616
+ {
617
+ internalType: "uint256",
618
+ name: "chainId",
619
+ type: "uint256",
620
+ },
621
+ {
622
+ internalType: "address",
623
+ name: "verifyingContract",
624
+ type: "address",
625
+ },
626
+ {
627
+ internalType: "bytes32",
628
+ name: "salt",
629
+ type: "bytes32",
630
+ },
631
+ {
632
+ internalType: "uint256[]",
633
+ name: "extensions",
634
+ type: "uint256[]",
635
+ },
636
+ ],
637
+ stateMutability: "view",
638
+ type: "function",
639
+ },
640
+ {
641
+ inputs: [
642
+ {
643
+ internalType: "address",
644
+ name: "owner",
645
+ type: "address",
646
+ },
647
+ {
648
+ internalType: "address",
649
+ name: "spender",
650
+ type: "address",
651
+ },
652
+ {
653
+ internalType: "uint256",
654
+ name: "amount",
655
+ type: "uint256",
656
+ },
657
+ ],
658
+ name: "emitApproval",
659
+ outputs: [],
660
+ stateMutability: "nonpayable",
661
+ type: "function",
662
+ },
663
+ {
664
+ inputs: [
665
+ {
666
+ internalType: "address",
667
+ name: "from",
668
+ type: "address",
669
+ },
670
+ {
671
+ internalType: "address",
672
+ name: "to",
673
+ type: "address",
674
+ },
675
+ {
676
+ internalType: "uint256",
677
+ name: "amount",
678
+ type: "uint256",
679
+ },
680
+ ],
681
+ name: "emitTransfer",
682
+ outputs: [],
683
+ stateMutability: "nonpayable",
684
+ type: "function",
685
+ },
686
+ {
687
+ inputs: [],
688
+ name: "getAggregateFeePercentages",
689
+ outputs: [
690
+ {
691
+ internalType: "uint256",
692
+ name: "aggregateSwapFeePercentage",
693
+ type: "uint256",
694
+ },
695
+ {
696
+ internalType: "uint256",
697
+ name: "aggregateYieldFeePercentage",
698
+ type: "uint256",
699
+ },
700
+ ],
701
+ stateMutability: "view",
702
+ type: "function",
703
+ },
704
+ {
705
+ inputs: [],
706
+ name: "getCurrentLiveBalances",
707
+ outputs: [
708
+ {
709
+ internalType: "uint256[]",
710
+ name: "balancesLiveScaled18",
711
+ type: "uint256[]",
712
+ },
713
+ ],
714
+ stateMutability: "view",
715
+ type: "function",
716
+ },
717
+ {
718
+ inputs: [],
719
+ name: "getECLPParams",
720
+ outputs: [
721
+ {
722
+ components: [
723
+ {
724
+ internalType: "int256",
725
+ name: "alpha",
726
+ type: "int256",
727
+ },
728
+ {
729
+ internalType: "int256",
730
+ name: "beta",
731
+ type: "int256",
732
+ },
733
+ {
734
+ internalType: "int256",
735
+ name: "c",
736
+ type: "int256",
737
+ },
738
+ {
739
+ internalType: "int256",
740
+ name: "s",
741
+ type: "int256",
742
+ },
743
+ {
744
+ internalType: "int256",
745
+ name: "lambda",
746
+ type: "int256",
747
+ },
748
+ ],
749
+ internalType: "struct IGyroECLPPool.EclpParams",
750
+ name: "params",
751
+ type: "tuple",
752
+ },
753
+ {
754
+ components: [
755
+ {
756
+ components: [
757
+ {
758
+ internalType: "int256",
759
+ name: "x",
760
+ type: "int256",
761
+ },
762
+ {
763
+ internalType: "int256",
764
+ name: "y",
765
+ type: "int256",
766
+ },
767
+ ],
768
+ internalType: "struct IGyroECLPPool.Vector2",
769
+ name: "tauAlpha",
770
+ type: "tuple",
771
+ },
772
+ {
773
+ components: [
774
+ {
775
+ internalType: "int256",
776
+ name: "x",
777
+ type: "int256",
778
+ },
779
+ {
780
+ internalType: "int256",
781
+ name: "y",
782
+ type: "int256",
783
+ },
784
+ ],
785
+ internalType: "struct IGyroECLPPool.Vector2",
786
+ name: "tauBeta",
787
+ type: "tuple",
788
+ },
789
+ {
790
+ internalType: "int256",
791
+ name: "u",
792
+ type: "int256",
793
+ },
794
+ {
795
+ internalType: "int256",
796
+ name: "v",
797
+ type: "int256",
798
+ },
799
+ {
800
+ internalType: "int256",
801
+ name: "w",
802
+ type: "int256",
803
+ },
804
+ {
805
+ internalType: "int256",
806
+ name: "z",
807
+ type: "int256",
808
+ },
809
+ {
810
+ internalType: "int256",
811
+ name: "dSq",
812
+ type: "int256",
813
+ },
814
+ ],
815
+ internalType: "struct IGyroECLPPool.DerivedEclpParams",
816
+ name: "d",
817
+ type: "tuple",
818
+ },
819
+ ],
820
+ stateMutability: "view",
821
+ type: "function",
822
+ },
823
+ {
824
+ inputs: [],
825
+ name: "getGyroECLPPoolDynamicData",
826
+ outputs: [
827
+ {
828
+ components: [
829
+ {
830
+ internalType: "uint256[]",
831
+ name: "balancesLiveScaled18",
832
+ type: "uint256[]",
833
+ },
834
+ {
835
+ internalType: "uint256[]",
836
+ name: "tokenRates",
837
+ type: "uint256[]",
838
+ },
839
+ {
840
+ internalType: "uint256",
841
+ name: "staticSwapFeePercentage",
842
+ type: "uint256",
843
+ },
844
+ {
845
+ internalType: "uint256",
846
+ name: "totalSupply",
847
+ type: "uint256",
848
+ },
849
+ {
850
+ internalType: "uint256",
851
+ name: "bptRate",
852
+ type: "uint256",
853
+ },
854
+ {
855
+ internalType: "bool",
856
+ name: "isPoolInitialized",
857
+ type: "bool",
858
+ },
859
+ {
860
+ internalType: "bool",
861
+ name: "isPoolPaused",
862
+ type: "bool",
863
+ },
864
+ {
865
+ internalType: "bool",
866
+ name: "isPoolInRecoveryMode",
867
+ type: "bool",
868
+ },
869
+ ],
870
+ internalType: "struct GyroECLPPoolDynamicData",
871
+ name: "data",
872
+ type: "tuple",
873
+ },
874
+ ],
875
+ stateMutability: "view",
876
+ type: "function",
877
+ },
878
+ {
879
+ inputs: [],
880
+ name: "getGyroECLPPoolImmutableData",
881
+ outputs: [
882
+ {
883
+ components: [
884
+ {
885
+ internalType: "contract IERC20[]",
886
+ name: "tokens",
887
+ type: "address[]",
888
+ },
889
+ {
890
+ internalType: "uint256[]",
891
+ name: "decimalScalingFactors",
892
+ type: "uint256[]",
893
+ },
894
+ {
895
+ internalType: "int256",
896
+ name: "paramsAlpha",
897
+ type: "int256",
898
+ },
899
+ {
900
+ internalType: "int256",
901
+ name: "paramsBeta",
902
+ type: "int256",
903
+ },
904
+ {
905
+ internalType: "int256",
906
+ name: "paramsC",
907
+ type: "int256",
908
+ },
909
+ {
910
+ internalType: "int256",
911
+ name: "paramsS",
912
+ type: "int256",
913
+ },
914
+ {
915
+ internalType: "int256",
916
+ name: "paramsLambda",
917
+ type: "int256",
918
+ },
919
+ {
920
+ internalType: "int256",
921
+ name: "tauAlphaX",
922
+ type: "int256",
923
+ },
924
+ {
925
+ internalType: "int256",
926
+ name: "tauAlphaY",
927
+ type: "int256",
928
+ },
929
+ {
930
+ internalType: "int256",
931
+ name: "tauBetaX",
932
+ type: "int256",
933
+ },
934
+ {
935
+ internalType: "int256",
936
+ name: "tauBetaY",
937
+ type: "int256",
938
+ },
939
+ {
940
+ internalType: "int256",
941
+ name: "u",
942
+ type: "int256",
943
+ },
944
+ {
945
+ internalType: "int256",
946
+ name: "v",
947
+ type: "int256",
948
+ },
949
+ {
950
+ internalType: "int256",
951
+ name: "w",
952
+ type: "int256",
953
+ },
954
+ {
955
+ internalType: "int256",
956
+ name: "z",
957
+ type: "int256",
958
+ },
959
+ {
960
+ internalType: "int256",
961
+ name: "dSq",
962
+ type: "int256",
963
+ },
964
+ ],
965
+ internalType: "struct GyroECLPPoolImmutableData",
966
+ name: "data",
967
+ type: "tuple",
968
+ },
969
+ ],
970
+ stateMutability: "view",
971
+ type: "function",
972
+ },
973
+ {
974
+ inputs: [],
975
+ name: "getMaximumInvariantRatio",
976
+ outputs: [
977
+ {
978
+ internalType: "uint256",
979
+ name: "",
980
+ type: "uint256",
981
+ },
982
+ ],
983
+ stateMutability: "pure",
984
+ type: "function",
985
+ },
986
+ {
987
+ inputs: [],
988
+ name: "getMaximumSwapFeePercentage",
989
+ outputs: [
990
+ {
991
+ internalType: "uint256",
992
+ name: "",
993
+ type: "uint256",
994
+ },
995
+ ],
996
+ stateMutability: "pure",
997
+ type: "function",
998
+ },
999
+ {
1000
+ inputs: [],
1001
+ name: "getMinimumInvariantRatio",
1002
+ outputs: [
1003
+ {
1004
+ internalType: "uint256",
1005
+ name: "",
1006
+ type: "uint256",
1007
+ },
1008
+ ],
1009
+ stateMutability: "pure",
1010
+ type: "function",
1011
+ },
1012
+ {
1013
+ inputs: [],
1014
+ name: "getMinimumSwapFeePercentage",
1015
+ outputs: [
1016
+ {
1017
+ internalType: "uint256",
1018
+ name: "",
1019
+ type: "uint256",
1020
+ },
1021
+ ],
1022
+ stateMutability: "pure",
1023
+ type: "function",
1024
+ },
1025
+ {
1026
+ inputs: [],
1027
+ name: "getRate",
1028
+ outputs: [
1029
+ {
1030
+ internalType: "uint256",
1031
+ name: "",
1032
+ type: "uint256",
1033
+ },
1034
+ ],
1035
+ stateMutability: "view",
1036
+ type: "function",
1037
+ },
1038
+ {
1039
+ inputs: [],
1040
+ name: "getStaticSwapFeePercentage",
1041
+ outputs: [
1042
+ {
1043
+ internalType: "uint256",
1044
+ name: "",
1045
+ type: "uint256",
1046
+ },
1047
+ ],
1048
+ stateMutability: "view",
1049
+ type: "function",
1050
+ },
1051
+ {
1052
+ inputs: [],
1053
+ name: "getTokenInfo",
1054
+ outputs: [
1055
+ {
1056
+ internalType: "contract IERC20[]",
1057
+ name: "tokens",
1058
+ type: "address[]",
1059
+ },
1060
+ {
1061
+ components: [
1062
+ {
1063
+ internalType: "enum TokenType",
1064
+ name: "tokenType",
1065
+ type: "uint8",
1066
+ },
1067
+ {
1068
+ internalType: "contract IRateProvider",
1069
+ name: "rateProvider",
1070
+ type: "address",
1071
+ },
1072
+ {
1073
+ internalType: "bool",
1074
+ name: "paysYieldFees",
1075
+ type: "bool",
1076
+ },
1077
+ ],
1078
+ internalType: "struct TokenInfo[]",
1079
+ name: "tokenInfo",
1080
+ type: "tuple[]",
1081
+ },
1082
+ {
1083
+ internalType: "uint256[]",
1084
+ name: "balancesRaw",
1085
+ type: "uint256[]",
1086
+ },
1087
+ {
1088
+ internalType: "uint256[]",
1089
+ name: "lastBalancesLiveScaled18",
1090
+ type: "uint256[]",
1091
+ },
1092
+ ],
1093
+ stateMutability: "view",
1094
+ type: "function",
1095
+ },
1096
+ {
1097
+ inputs: [],
1098
+ name: "getTokens",
1099
+ outputs: [
1100
+ {
1101
+ internalType: "contract IERC20[]",
1102
+ name: "tokens",
1103
+ type: "address[]",
1104
+ },
1105
+ ],
1106
+ stateMutability: "view",
1107
+ type: "function",
1108
+ },
1109
+ {
1110
+ inputs: [],
1111
+ name: "getVault",
1112
+ outputs: [
1113
+ {
1114
+ internalType: "contract IVault",
1115
+ name: "",
1116
+ type: "address",
1117
+ },
1118
+ ],
1119
+ stateMutability: "view",
1120
+ type: "function",
1121
+ },
1122
+ {
1123
+ inputs: [],
1124
+ name: "incrementNonce",
1125
+ outputs: [],
1126
+ stateMutability: "nonpayable",
1127
+ type: "function",
1128
+ },
1129
+ {
1130
+ inputs: [],
1131
+ name: "name",
1132
+ outputs: [
1133
+ {
1134
+ internalType: "string",
1135
+ name: "",
1136
+ type: "string",
1137
+ },
1138
+ ],
1139
+ stateMutability: "view",
1140
+ type: "function",
1141
+ },
1142
+ {
1143
+ inputs: [
1144
+ {
1145
+ internalType: "address",
1146
+ name: "owner",
1147
+ type: "address",
1148
+ },
1149
+ ],
1150
+ name: "nonces",
1151
+ outputs: [
1152
+ {
1153
+ internalType: "uint256",
1154
+ name: "",
1155
+ type: "uint256",
1156
+ },
1157
+ ],
1158
+ stateMutability: "view",
1159
+ type: "function",
1160
+ },
1161
+ {
1162
+ inputs: [
1163
+ {
1164
+ components: [
1165
+ {
1166
+ internalType: "enum SwapKind",
1167
+ name: "kind",
1168
+ type: "uint8",
1169
+ },
1170
+ {
1171
+ internalType: "uint256",
1172
+ name: "amountGivenScaled18",
1173
+ type: "uint256",
1174
+ },
1175
+ {
1176
+ internalType: "uint256[]",
1177
+ name: "balancesScaled18",
1178
+ type: "uint256[]",
1179
+ },
1180
+ {
1181
+ internalType: "uint256",
1182
+ name: "indexIn",
1183
+ type: "uint256",
1184
+ },
1185
+ {
1186
+ internalType: "uint256",
1187
+ name: "indexOut",
1188
+ type: "uint256",
1189
+ },
1190
+ {
1191
+ internalType: "address",
1192
+ name: "router",
1193
+ type: "address",
1194
+ },
1195
+ {
1196
+ internalType: "bytes",
1197
+ name: "userData",
1198
+ type: "bytes",
1199
+ },
1200
+ ],
1201
+ internalType: "struct PoolSwapParams",
1202
+ name: "request",
1203
+ type: "tuple",
1204
+ },
1205
+ ],
1206
+ name: "onSwap",
1207
+ outputs: [
1208
+ {
1209
+ internalType: "uint256",
1210
+ name: "",
1211
+ type: "uint256",
1212
+ },
1213
+ ],
1214
+ stateMutability: "view",
1215
+ type: "function",
1216
+ },
1217
+ {
1218
+ inputs: [
1219
+ {
1220
+ internalType: "address",
1221
+ name: "owner",
1222
+ type: "address",
1223
+ },
1224
+ {
1225
+ internalType: "address",
1226
+ name: "spender",
1227
+ type: "address",
1228
+ },
1229
+ {
1230
+ internalType: "uint256",
1231
+ name: "amount",
1232
+ type: "uint256",
1233
+ },
1234
+ {
1235
+ internalType: "uint256",
1236
+ name: "deadline",
1237
+ type: "uint256",
1238
+ },
1239
+ {
1240
+ internalType: "uint8",
1241
+ name: "v",
1242
+ type: "uint8",
1243
+ },
1244
+ {
1245
+ internalType: "bytes32",
1246
+ name: "r",
1247
+ type: "bytes32",
1248
+ },
1249
+ {
1250
+ internalType: "bytes32",
1251
+ name: "s",
1252
+ type: "bytes32",
1253
+ },
1254
+ ],
1255
+ name: "permit",
1256
+ outputs: [],
1257
+ stateMutability: "nonpayable",
1258
+ type: "function",
1259
+ },
1260
+ {
1261
+ inputs: [
1262
+ {
1263
+ internalType: "bytes4",
1264
+ name: "interfaceId",
1265
+ type: "bytes4",
1266
+ },
1267
+ ],
1268
+ name: "supportsInterface",
1269
+ outputs: [
1270
+ {
1271
+ internalType: "bool",
1272
+ name: "",
1273
+ type: "bool",
1274
+ },
1275
+ ],
1276
+ stateMutability: "view",
1277
+ type: "function",
1278
+ },
1279
+ {
1280
+ inputs: [],
1281
+ name: "symbol",
1282
+ outputs: [
1283
+ {
1284
+ internalType: "string",
1285
+ name: "",
1286
+ type: "string",
1287
+ },
1288
+ ],
1289
+ stateMutability: "view",
1290
+ type: "function",
1291
+ },
1292
+ {
1293
+ inputs: [],
1294
+ name: "totalSupply",
1295
+ outputs: [
1296
+ {
1297
+ internalType: "uint256",
1298
+ name: "",
1299
+ type: "uint256",
1300
+ },
1301
+ ],
1302
+ stateMutability: "view",
1303
+ type: "function",
1304
+ },
1305
+ {
1306
+ inputs: [
1307
+ {
1308
+ internalType: "address",
1309
+ name: "to",
1310
+ type: "address",
1311
+ },
1312
+ {
1313
+ internalType: "uint256",
1314
+ name: "amount",
1315
+ type: "uint256",
1316
+ },
1317
+ ],
1318
+ name: "transfer",
1319
+ outputs: [
1320
+ {
1321
+ internalType: "bool",
1322
+ name: "",
1323
+ type: "bool",
1324
+ },
1325
+ ],
1326
+ stateMutability: "nonpayable",
1327
+ type: "function",
1328
+ },
1329
+ {
1330
+ inputs: [
1331
+ {
1332
+ internalType: "address",
1333
+ name: "from",
1334
+ type: "address",
1335
+ },
1336
+ {
1337
+ internalType: "address",
1338
+ name: "to",
1339
+ type: "address",
1340
+ },
1341
+ {
1342
+ internalType: "uint256",
1343
+ name: "amount",
1344
+ type: "uint256",
1345
+ },
1346
+ ],
1347
+ name: "transferFrom",
1348
+ outputs: [
1349
+ {
1350
+ internalType: "bool",
1351
+ name: "",
1352
+ type: "bool",
1353
+ },
1354
+ ],
1355
+ stateMutability: "nonpayable",
1356
+ type: "function",
1357
+ },
1358
+ {
1359
+ inputs: [],
1360
+ name: "version",
1361
+ outputs: [
1362
+ {
1363
+ internalType: "string",
1364
+ name: "",
1365
+ type: "string",
1366
+ },
1367
+ ],
1368
+ stateMutability: "view",
1369
+ type: "function",
1370
+ },
1371
+ ];
1372
+ export class GyroECLPPool__factory {
1373
+ static abi = _abi;
1374
+ static createInterface() {
1375
+ return new utils.Interface(_abi);
1376
+ }
1377
+ static connect(address, signerOrProvider) {
1378
+ return new Contract(address, _abi, signerOrProvider);
1379
+ }
1380
+ }
1381
+ //# sourceMappingURL=GyroECLPPool__factory.js.map