@masterpeach/launchpad-sdk 0.0.0-experimental-20260818121657

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,2754 @@
1
+ // src/abi/generated/constant-product-curve.ts
2
+ var constantProductCurveAbi = [
3
+ {
4
+ type: "function",
5
+ name: "quoteBuy",
6
+ inputs: [
7
+ {
8
+ name: "state",
9
+ type: "tuple",
10
+ internalType: "struct ICurve.State",
11
+ components: [
12
+ {
13
+ name: "totalSupply",
14
+ type: "uint256",
15
+ internalType: "uint256"
16
+ },
17
+ {
18
+ name: "circulatingSupply",
19
+ type: "uint256",
20
+ internalType: "uint256"
21
+ },
22
+ {
23
+ name: "quoteReserve",
24
+ type: "uint256",
25
+ internalType: "uint256"
26
+ },
27
+ {
28
+ name: "virtualTokenReserve",
29
+ type: "uint256",
30
+ internalType: "uint256"
31
+ },
32
+ {
33
+ name: "virtualQuoteReserve",
34
+ type: "uint256",
35
+ internalType: "uint256"
36
+ },
37
+ {
38
+ name: "k",
39
+ type: "uint256",
40
+ internalType: "uint256"
41
+ }
42
+ ]
43
+ },
44
+ {
45
+ name: "quoteIn",
46
+ type: "uint256",
47
+ internalType: "uint256"
48
+ }
49
+ ],
50
+ outputs: [
51
+ {
52
+ name: "tokenOut",
53
+ type: "uint256",
54
+ internalType: "uint256"
55
+ }
56
+ ],
57
+ stateMutability: "pure"
58
+ },
59
+ {
60
+ type: "function",
61
+ name: "quoteBuyExactOut",
62
+ inputs: [
63
+ {
64
+ name: "state",
65
+ type: "tuple",
66
+ internalType: "struct ICurve.State",
67
+ components: [
68
+ {
69
+ name: "totalSupply",
70
+ type: "uint256",
71
+ internalType: "uint256"
72
+ },
73
+ {
74
+ name: "circulatingSupply",
75
+ type: "uint256",
76
+ internalType: "uint256"
77
+ },
78
+ {
79
+ name: "quoteReserve",
80
+ type: "uint256",
81
+ internalType: "uint256"
82
+ },
83
+ {
84
+ name: "virtualTokenReserve",
85
+ type: "uint256",
86
+ internalType: "uint256"
87
+ },
88
+ {
89
+ name: "virtualQuoteReserve",
90
+ type: "uint256",
91
+ internalType: "uint256"
92
+ },
93
+ {
94
+ name: "k",
95
+ type: "uint256",
96
+ internalType: "uint256"
97
+ }
98
+ ]
99
+ },
100
+ {
101
+ name: "tokenOut",
102
+ type: "uint256",
103
+ internalType: "uint256"
104
+ }
105
+ ],
106
+ outputs: [
107
+ {
108
+ name: "quoteIn",
109
+ type: "uint256",
110
+ internalType: "uint256"
111
+ }
112
+ ],
113
+ stateMutability: "pure"
114
+ },
115
+ {
116
+ type: "function",
117
+ name: "quoteSell",
118
+ inputs: [
119
+ {
120
+ name: "state",
121
+ type: "tuple",
122
+ internalType: "struct ICurve.State",
123
+ components: [
124
+ {
125
+ name: "totalSupply",
126
+ type: "uint256",
127
+ internalType: "uint256"
128
+ },
129
+ {
130
+ name: "circulatingSupply",
131
+ type: "uint256",
132
+ internalType: "uint256"
133
+ },
134
+ {
135
+ name: "quoteReserve",
136
+ type: "uint256",
137
+ internalType: "uint256"
138
+ },
139
+ {
140
+ name: "virtualTokenReserve",
141
+ type: "uint256",
142
+ internalType: "uint256"
143
+ },
144
+ {
145
+ name: "virtualQuoteReserve",
146
+ type: "uint256",
147
+ internalType: "uint256"
148
+ },
149
+ {
150
+ name: "k",
151
+ type: "uint256",
152
+ internalType: "uint256"
153
+ }
154
+ ]
155
+ },
156
+ {
157
+ name: "tokenIn",
158
+ type: "uint256",
159
+ internalType: "uint256"
160
+ }
161
+ ],
162
+ outputs: [
163
+ {
164
+ name: "quoteOut",
165
+ type: "uint256",
166
+ internalType: "uint256"
167
+ }
168
+ ],
169
+ stateMutability: "pure"
170
+ },
171
+ {
172
+ type: "error",
173
+ name: "InvalidAmount",
174
+ inputs: []
175
+ },
176
+ {
177
+ type: "error",
178
+ name: "InvalidState",
179
+ inputs: []
180
+ }
181
+ ];
182
+
183
+ // src/abi/generated/launch-token.ts
184
+ var launchTokenAbi = [
185
+ {
186
+ type: "constructor",
187
+ inputs: [
188
+ {
189
+ name: "name_",
190
+ type: "string",
191
+ internalType: "string"
192
+ },
193
+ {
194
+ name: "symbol_",
195
+ type: "string",
196
+ internalType: "string"
197
+ },
198
+ {
199
+ name: "supply_",
200
+ type: "uint256",
201
+ internalType: "uint256"
202
+ },
203
+ {
204
+ name: "portal_",
205
+ type: "address",
206
+ internalType: "address"
207
+ }
208
+ ],
209
+ stateMutability: "nonpayable"
210
+ },
211
+ {
212
+ type: "function",
213
+ name: "allowance",
214
+ inputs: [
215
+ {
216
+ name: "",
217
+ type: "address",
218
+ internalType: "address"
219
+ },
220
+ {
221
+ name: "",
222
+ type: "address",
223
+ internalType: "address"
224
+ }
225
+ ],
226
+ outputs: [
227
+ {
228
+ name: "",
229
+ type: "uint256",
230
+ internalType: "uint256"
231
+ }
232
+ ],
233
+ stateMutability: "view"
234
+ },
235
+ {
236
+ type: "function",
237
+ name: "approve",
238
+ inputs: [
239
+ {
240
+ name: "spender",
241
+ type: "address",
242
+ internalType: "address"
243
+ },
244
+ {
245
+ name: "amount",
246
+ type: "uint256",
247
+ internalType: "uint256"
248
+ }
249
+ ],
250
+ outputs: [
251
+ {
252
+ name: "",
253
+ type: "bool",
254
+ internalType: "bool"
255
+ }
256
+ ],
257
+ stateMutability: "nonpayable"
258
+ },
259
+ {
260
+ type: "function",
261
+ name: "balanceOf",
262
+ inputs: [
263
+ {
264
+ name: "",
265
+ type: "address",
266
+ internalType: "address"
267
+ }
268
+ ],
269
+ outputs: [
270
+ {
271
+ name: "",
272
+ type: "uint256",
273
+ internalType: "uint256"
274
+ }
275
+ ],
276
+ stateMutability: "view"
277
+ },
278
+ {
279
+ type: "function",
280
+ name: "decimals",
281
+ inputs: [],
282
+ outputs: [
283
+ {
284
+ name: "",
285
+ type: "uint8",
286
+ internalType: "uint8"
287
+ }
288
+ ],
289
+ stateMutability: "view"
290
+ },
291
+ {
292
+ type: "function",
293
+ name: "name",
294
+ inputs: [],
295
+ outputs: [
296
+ {
297
+ name: "",
298
+ type: "string",
299
+ internalType: "string"
300
+ }
301
+ ],
302
+ stateMutability: "view"
303
+ },
304
+ {
305
+ type: "function",
306
+ name: "officialPool",
307
+ inputs: [],
308
+ outputs: [
309
+ {
310
+ name: "",
311
+ type: "address",
312
+ internalType: "address"
313
+ }
314
+ ],
315
+ stateMutability: "view"
316
+ },
317
+ {
318
+ type: "function",
319
+ name: "officialPoolUnlocked",
320
+ inputs: [],
321
+ outputs: [
322
+ {
323
+ name: "",
324
+ type: "bool",
325
+ internalType: "bool"
326
+ }
327
+ ],
328
+ stateMutability: "view"
329
+ },
330
+ {
331
+ type: "function",
332
+ name: "portal",
333
+ inputs: [],
334
+ outputs: [
335
+ {
336
+ name: "",
337
+ type: "address",
338
+ internalType: "address"
339
+ }
340
+ ],
341
+ stateMutability: "view"
342
+ },
343
+ {
344
+ type: "function",
345
+ name: "setOfficialPool",
346
+ inputs: [
347
+ {
348
+ name: "pool",
349
+ type: "address",
350
+ internalType: "address"
351
+ }
352
+ ],
353
+ outputs: [],
354
+ stateMutability: "nonpayable"
355
+ },
356
+ {
357
+ type: "function",
358
+ name: "symbol",
359
+ inputs: [],
360
+ outputs: [
361
+ {
362
+ name: "",
363
+ type: "string",
364
+ internalType: "string"
365
+ }
366
+ ],
367
+ stateMutability: "view"
368
+ },
369
+ {
370
+ type: "function",
371
+ name: "totalSupply",
372
+ inputs: [],
373
+ outputs: [
374
+ {
375
+ name: "",
376
+ type: "uint256",
377
+ internalType: "uint256"
378
+ }
379
+ ],
380
+ stateMutability: "view"
381
+ },
382
+ {
383
+ type: "function",
384
+ name: "transfer",
385
+ inputs: [
386
+ {
387
+ name: "to",
388
+ type: "address",
389
+ internalType: "address"
390
+ },
391
+ {
392
+ name: "amount",
393
+ type: "uint256",
394
+ internalType: "uint256"
395
+ }
396
+ ],
397
+ outputs: [
398
+ {
399
+ name: "",
400
+ type: "bool",
401
+ internalType: "bool"
402
+ }
403
+ ],
404
+ stateMutability: "nonpayable"
405
+ },
406
+ {
407
+ type: "function",
408
+ name: "transferFrom",
409
+ inputs: [
410
+ {
411
+ name: "from",
412
+ type: "address",
413
+ internalType: "address"
414
+ },
415
+ {
416
+ name: "to",
417
+ type: "address",
418
+ internalType: "address"
419
+ },
420
+ {
421
+ name: "amount",
422
+ type: "uint256",
423
+ internalType: "uint256"
424
+ }
425
+ ],
426
+ outputs: [
427
+ {
428
+ name: "",
429
+ type: "bool",
430
+ internalType: "bool"
431
+ }
432
+ ],
433
+ stateMutability: "nonpayable"
434
+ },
435
+ {
436
+ type: "function",
437
+ name: "unlockOfficialPool",
438
+ inputs: [],
439
+ outputs: [],
440
+ stateMutability: "nonpayable"
441
+ },
442
+ {
443
+ type: "event",
444
+ name: "Approval",
445
+ inputs: [
446
+ {
447
+ name: "owner",
448
+ type: "address",
449
+ indexed: true,
450
+ internalType: "address"
451
+ },
452
+ {
453
+ name: "spender",
454
+ type: "address",
455
+ indexed: true,
456
+ internalType: "address"
457
+ },
458
+ {
459
+ name: "amount",
460
+ type: "uint256",
461
+ indexed: false,
462
+ internalType: "uint256"
463
+ }
464
+ ],
465
+ anonymous: false
466
+ },
467
+ {
468
+ type: "event",
469
+ name: "Transfer",
470
+ inputs: [
471
+ {
472
+ name: "from",
473
+ type: "address",
474
+ indexed: true,
475
+ internalType: "address"
476
+ },
477
+ {
478
+ name: "to",
479
+ type: "address",
480
+ indexed: true,
481
+ internalType: "address"
482
+ },
483
+ {
484
+ name: "amount",
485
+ type: "uint256",
486
+ indexed: false,
487
+ internalType: "uint256"
488
+ }
489
+ ],
490
+ anonymous: false
491
+ },
492
+ {
493
+ type: "error",
494
+ name: "InsufficientAllowance",
495
+ inputs: []
496
+ },
497
+ {
498
+ type: "error",
499
+ name: "InsufficientBalance",
500
+ inputs: []
501
+ },
502
+ {
503
+ type: "error",
504
+ name: "OfficialPoolLocked",
505
+ inputs: []
506
+ },
507
+ {
508
+ type: "error",
509
+ name: "Unauthorized",
510
+ inputs: []
511
+ },
512
+ {
513
+ type: "error",
514
+ name: "ZeroAddress",
515
+ inputs: []
516
+ }
517
+ ];
518
+
519
+ // src/abi/generated/liquidity-locker.ts
520
+ var liquidityLockerAbi = [
521
+ {
522
+ type: "constructor",
523
+ inputs: [
524
+ {
525
+ name: "owner_",
526
+ type: "address",
527
+ internalType: "address"
528
+ },
529
+ {
530
+ name: "positionManager_",
531
+ type: "address",
532
+ internalType: "address"
533
+ },
534
+ {
535
+ name: "platformTreasury_",
536
+ type: "address",
537
+ internalType: "address"
538
+ }
539
+ ],
540
+ stateMutability: "nonpayable"
541
+ },
542
+ {
543
+ type: "function",
544
+ name: "BPS",
545
+ inputs: [],
546
+ outputs: [
547
+ {
548
+ name: "",
549
+ type: "uint16",
550
+ internalType: "uint16"
551
+ }
552
+ ],
553
+ stateMutability: "view"
554
+ },
555
+ {
556
+ type: "function",
557
+ name: "MAX_PLATFORM_FEE_BPS",
558
+ inputs: [],
559
+ outputs: [
560
+ {
561
+ name: "",
562
+ type: "uint16",
563
+ internalType: "uint16"
564
+ }
565
+ ],
566
+ stateMutability: "view"
567
+ },
568
+ {
569
+ type: "function",
570
+ name: "acceptOwnership",
571
+ inputs: [],
572
+ outputs: [],
573
+ stateMutability: "nonpayable"
574
+ },
575
+ {
576
+ type: "function",
577
+ name: "claim",
578
+ inputs: [
579
+ {
580
+ name: "asset",
581
+ type: "address",
582
+ internalType: "address"
583
+ },
584
+ {
585
+ name: "recipient",
586
+ type: "address",
587
+ internalType: "address"
588
+ }
589
+ ],
590
+ outputs: [
591
+ {
592
+ name: "amount",
593
+ type: "uint256",
594
+ internalType: "uint256"
595
+ }
596
+ ],
597
+ stateMutability: "nonpayable"
598
+ },
599
+ {
600
+ type: "function",
601
+ name: "collectFees",
602
+ inputs: [
603
+ {
604
+ name: "tokenId",
605
+ type: "uint256",
606
+ internalType: "uint256"
607
+ }
608
+ ],
609
+ outputs: [
610
+ {
611
+ name: "amount0",
612
+ type: "uint256",
613
+ internalType: "uint256"
614
+ },
615
+ {
616
+ name: "amount1",
617
+ type: "uint256",
618
+ internalType: "uint256"
619
+ }
620
+ ],
621
+ stateMutability: "nonpayable"
622
+ },
623
+ {
624
+ type: "function",
625
+ name: "creditMigrationDust",
626
+ inputs: [
627
+ {
628
+ name: "asset",
629
+ type: "address",
630
+ internalType: "address"
631
+ },
632
+ {
633
+ name: "creator",
634
+ type: "address",
635
+ internalType: "address"
636
+ },
637
+ {
638
+ name: "amount",
639
+ type: "uint256",
640
+ internalType: "uint256"
641
+ },
642
+ {
643
+ name: "platformBps",
644
+ type: "uint16",
645
+ internalType: "uint16"
646
+ }
647
+ ],
648
+ outputs: [],
649
+ stateMutability: "nonpayable"
650
+ },
651
+ {
652
+ type: "function",
653
+ name: "migrators",
654
+ inputs: [
655
+ {
656
+ name: "",
657
+ type: "address",
658
+ internalType: "address"
659
+ }
660
+ ],
661
+ outputs: [
662
+ {
663
+ name: "",
664
+ type: "bool",
665
+ internalType: "bool"
666
+ }
667
+ ],
668
+ stateMutability: "view"
669
+ },
670
+ {
671
+ type: "function",
672
+ name: "onERC721Received",
673
+ inputs: [
674
+ {
675
+ name: "",
676
+ type: "address",
677
+ internalType: "address"
678
+ },
679
+ {
680
+ name: "",
681
+ type: "address",
682
+ internalType: "address"
683
+ },
684
+ {
685
+ name: "",
686
+ type: "uint256",
687
+ internalType: "uint256"
688
+ },
689
+ {
690
+ name: "",
691
+ type: "bytes",
692
+ internalType: "bytes"
693
+ }
694
+ ],
695
+ outputs: [
696
+ {
697
+ name: "",
698
+ type: "bytes4",
699
+ internalType: "bytes4"
700
+ }
701
+ ],
702
+ stateMutability: "view"
703
+ },
704
+ {
705
+ type: "function",
706
+ name: "owner",
707
+ inputs: [],
708
+ outputs: [
709
+ {
710
+ name: "",
711
+ type: "address",
712
+ internalType: "address"
713
+ }
714
+ ],
715
+ stateMutability: "view"
716
+ },
717
+ {
718
+ type: "function",
719
+ name: "pendingOwner",
720
+ inputs: [],
721
+ outputs: [
722
+ {
723
+ name: "",
724
+ type: "address",
725
+ internalType: "address"
726
+ }
727
+ ],
728
+ stateMutability: "view"
729
+ },
730
+ {
731
+ type: "function",
732
+ name: "pendingRewards",
733
+ inputs: [
734
+ {
735
+ name: "",
736
+ type: "address",
737
+ internalType: "address"
738
+ },
739
+ {
740
+ name: "",
741
+ type: "address",
742
+ internalType: "address"
743
+ }
744
+ ],
745
+ outputs: [
746
+ {
747
+ name: "",
748
+ type: "uint256",
749
+ internalType: "uint256"
750
+ }
751
+ ],
752
+ stateMutability: "view"
753
+ },
754
+ {
755
+ type: "function",
756
+ name: "platformTreasury",
757
+ inputs: [],
758
+ outputs: [
759
+ {
760
+ name: "",
761
+ type: "address",
762
+ internalType: "address"
763
+ }
764
+ ],
765
+ stateMutability: "view"
766
+ },
767
+ {
768
+ type: "function",
769
+ name: "positionManager",
770
+ inputs: [],
771
+ outputs: [
772
+ {
773
+ name: "",
774
+ type: "address",
775
+ internalType: "address"
776
+ }
777
+ ],
778
+ stateMutability: "view"
779
+ },
780
+ {
781
+ type: "function",
782
+ name: "positions",
783
+ inputs: [
784
+ {
785
+ name: "",
786
+ type: "uint256",
787
+ internalType: "uint256"
788
+ }
789
+ ],
790
+ outputs: [
791
+ {
792
+ name: "token0",
793
+ type: "address",
794
+ internalType: "address"
795
+ },
796
+ {
797
+ name: "token1",
798
+ type: "address",
799
+ internalType: "address"
800
+ },
801
+ {
802
+ name: "creator",
803
+ type: "address",
804
+ internalType: "address"
805
+ },
806
+ {
807
+ name: "platformFeeBps",
808
+ type: "uint16",
809
+ internalType: "uint16"
810
+ }
811
+ ],
812
+ stateMutability: "view"
813
+ },
814
+ {
815
+ type: "function",
816
+ name: "registerPosition",
817
+ inputs: [
818
+ {
819
+ name: "tokenId",
820
+ type: "uint256",
821
+ internalType: "uint256"
822
+ },
823
+ {
824
+ name: "token0",
825
+ type: "address",
826
+ internalType: "address"
827
+ },
828
+ {
829
+ name: "token1",
830
+ type: "address",
831
+ internalType: "address"
832
+ },
833
+ {
834
+ name: "creator",
835
+ type: "address",
836
+ internalType: "address"
837
+ },
838
+ {
839
+ name: "platformFeeBps",
840
+ type: "uint16",
841
+ internalType: "uint16"
842
+ }
843
+ ],
844
+ outputs: [],
845
+ stateMutability: "nonpayable"
846
+ },
847
+ {
848
+ type: "function",
849
+ name: "setMigrator",
850
+ inputs: [
851
+ {
852
+ name: "migrator",
853
+ type: "address",
854
+ internalType: "address"
855
+ },
856
+ {
857
+ name: "allowed",
858
+ type: "bool",
859
+ internalType: "bool"
860
+ }
861
+ ],
862
+ outputs: [],
863
+ stateMutability: "nonpayable"
864
+ },
865
+ {
866
+ type: "function",
867
+ name: "setPlatformTreasury",
868
+ inputs: [
869
+ {
870
+ name: "treasury",
871
+ type: "address",
872
+ internalType: "address"
873
+ }
874
+ ],
875
+ outputs: [],
876
+ stateMutability: "nonpayable"
877
+ },
878
+ {
879
+ type: "function",
880
+ name: "transferOwnership",
881
+ inputs: [
882
+ {
883
+ name: "newOwner",
884
+ type: "address",
885
+ internalType: "address"
886
+ }
887
+ ],
888
+ outputs: [],
889
+ stateMutability: "nonpayable"
890
+ },
891
+ {
892
+ type: "event",
893
+ name: "FeesCollected",
894
+ inputs: [
895
+ {
896
+ name: "tokenId",
897
+ type: "uint256",
898
+ indexed: true,
899
+ internalType: "uint256"
900
+ },
901
+ {
902
+ name: "amount0",
903
+ type: "uint256",
904
+ indexed: false,
905
+ internalType: "uint256"
906
+ },
907
+ {
908
+ name: "amount1",
909
+ type: "uint256",
910
+ indexed: false,
911
+ internalType: "uint256"
912
+ }
913
+ ],
914
+ anonymous: false
915
+ },
916
+ {
917
+ type: "event",
918
+ name: "MigrationDustCredited",
919
+ inputs: [
920
+ {
921
+ name: "creator",
922
+ type: "address",
923
+ indexed: true,
924
+ internalType: "address"
925
+ },
926
+ {
927
+ name: "asset",
928
+ type: "address",
929
+ indexed: true,
930
+ internalType: "address"
931
+ },
932
+ {
933
+ name: "amount",
934
+ type: "uint256",
935
+ indexed: false,
936
+ internalType: "uint256"
937
+ }
938
+ ],
939
+ anonymous: false
940
+ },
941
+ {
942
+ type: "event",
943
+ name: "MigratorSet",
944
+ inputs: [
945
+ {
946
+ name: "migrator",
947
+ type: "address",
948
+ indexed: true,
949
+ internalType: "address"
950
+ },
951
+ {
952
+ name: "allowed",
953
+ type: "bool",
954
+ indexed: false,
955
+ internalType: "bool"
956
+ }
957
+ ],
958
+ anonymous: false
959
+ },
960
+ {
961
+ type: "event",
962
+ name: "OwnershipTransferStarted",
963
+ inputs: [
964
+ {
965
+ name: "owner",
966
+ type: "address",
967
+ indexed: true,
968
+ internalType: "address"
969
+ },
970
+ {
971
+ name: "pendingOwner",
972
+ type: "address",
973
+ indexed: true,
974
+ internalType: "address"
975
+ }
976
+ ],
977
+ anonymous: false
978
+ },
979
+ {
980
+ type: "event",
981
+ name: "OwnershipTransferred",
982
+ inputs: [
983
+ {
984
+ name: "oldOwner",
985
+ type: "address",
986
+ indexed: true,
987
+ internalType: "address"
988
+ },
989
+ {
990
+ name: "newOwner",
991
+ type: "address",
992
+ indexed: true,
993
+ internalType: "address"
994
+ }
995
+ ],
996
+ anonymous: false
997
+ },
998
+ {
999
+ type: "event",
1000
+ name: "PlatformTreasurySet",
1001
+ inputs: [
1002
+ {
1003
+ name: "treasury",
1004
+ type: "address",
1005
+ indexed: true,
1006
+ internalType: "address"
1007
+ }
1008
+ ],
1009
+ anonymous: false
1010
+ },
1011
+ {
1012
+ type: "event",
1013
+ name: "PositionLocked",
1014
+ inputs: [
1015
+ {
1016
+ name: "tokenId",
1017
+ type: "uint256",
1018
+ indexed: true,
1019
+ internalType: "uint256"
1020
+ },
1021
+ {
1022
+ name: "creator",
1023
+ type: "address",
1024
+ indexed: true,
1025
+ internalType: "address"
1026
+ },
1027
+ {
1028
+ name: "platformFeeBps",
1029
+ type: "uint16",
1030
+ indexed: false,
1031
+ internalType: "uint16"
1032
+ }
1033
+ ],
1034
+ anonymous: false
1035
+ },
1036
+ {
1037
+ type: "event",
1038
+ name: "RewardsClaimed",
1039
+ inputs: [
1040
+ {
1041
+ name: "account",
1042
+ type: "address",
1043
+ indexed: true,
1044
+ internalType: "address"
1045
+ },
1046
+ {
1047
+ name: "asset",
1048
+ type: "address",
1049
+ indexed: true,
1050
+ internalType: "address"
1051
+ },
1052
+ {
1053
+ name: "recipient",
1054
+ type: "address",
1055
+ indexed: false,
1056
+ internalType: "address"
1057
+ },
1058
+ {
1059
+ name: "amount",
1060
+ type: "uint256",
1061
+ indexed: false,
1062
+ internalType: "uint256"
1063
+ }
1064
+ ],
1065
+ anonymous: false
1066
+ },
1067
+ {
1068
+ type: "error",
1069
+ name: "InvalidConfig",
1070
+ inputs: []
1071
+ },
1072
+ {
1073
+ type: "error",
1074
+ name: "NothingToClaim",
1075
+ inputs: []
1076
+ },
1077
+ {
1078
+ type: "error",
1079
+ name: "PositionAlreadyRegistered",
1080
+ inputs: []
1081
+ },
1082
+ {
1083
+ type: "error",
1084
+ name: "TransferFailed",
1085
+ inputs: []
1086
+ },
1087
+ {
1088
+ type: "error",
1089
+ name: "Unauthorized",
1090
+ inputs: []
1091
+ }
1092
+ ];
1093
+
1094
+ // src/abi/generated/metadata.ts
1095
+ var launchpadAbiArtifactCommit = "33dd9f1cd51304ebe84375774dcbee3b1181f3bb";
1096
+
1097
+ // src/abi/generated/portal.ts
1098
+ var portalAbi = [
1099
+ {
1100
+ type: "constructor",
1101
+ inputs: [
1102
+ {
1103
+ name: "owner_",
1104
+ type: "address",
1105
+ internalType: "address"
1106
+ },
1107
+ {
1108
+ name: "factory_",
1109
+ type: "address",
1110
+ internalType: "contract TokenFactory"
1111
+ },
1112
+ {
1113
+ name: "quoteToken_",
1114
+ type: "address",
1115
+ internalType: "address"
1116
+ },
1117
+ {
1118
+ name: "lpRecipient_",
1119
+ type: "address",
1120
+ internalType: "address"
1121
+ }
1122
+ ],
1123
+ stateMutability: "nonpayable"
1124
+ },
1125
+ {
1126
+ type: "function",
1127
+ name: "BPS",
1128
+ inputs: [],
1129
+ outputs: [
1130
+ {
1131
+ name: "",
1132
+ type: "uint256",
1133
+ internalType: "uint256"
1134
+ }
1135
+ ],
1136
+ stateMutability: "view"
1137
+ },
1138
+ {
1139
+ type: "function",
1140
+ name: "CURVE_K",
1141
+ inputs: [],
1142
+ outputs: [
1143
+ {
1144
+ name: "",
1145
+ type: "uint256",
1146
+ internalType: "uint256"
1147
+ }
1148
+ ],
1149
+ stateMutability: "view"
1150
+ },
1151
+ {
1152
+ type: "function",
1153
+ name: "DEFAULT_CURVE_ID",
1154
+ inputs: [],
1155
+ outputs: [
1156
+ {
1157
+ name: "",
1158
+ type: "uint16",
1159
+ internalType: "uint16"
1160
+ }
1161
+ ],
1162
+ stateMutability: "view"
1163
+ },
1164
+ {
1165
+ type: "function",
1166
+ name: "DEFAULT_MIGRATOR_ID",
1167
+ inputs: [],
1168
+ outputs: [
1169
+ {
1170
+ name: "",
1171
+ type: "uint16",
1172
+ internalType: "uint16"
1173
+ }
1174
+ ],
1175
+ stateMutability: "view"
1176
+ },
1177
+ {
1178
+ type: "function",
1179
+ name: "DEFAULT_PROTECTION_BLOCKS",
1180
+ inputs: [],
1181
+ outputs: [
1182
+ {
1183
+ name: "",
1184
+ type: "uint8",
1185
+ internalType: "uint8"
1186
+ }
1187
+ ],
1188
+ stateMutability: "view"
1189
+ },
1190
+ {
1191
+ type: "function",
1192
+ name: "DEX_SUPPLY_THRESHOLD",
1193
+ inputs: [],
1194
+ outputs: [
1195
+ {
1196
+ name: "",
1197
+ type: "uint256",
1198
+ internalType: "uint256"
1199
+ }
1200
+ ],
1201
+ stateMutability: "view"
1202
+ },
1203
+ {
1204
+ type: "function",
1205
+ name: "MAX_PROTECTION_BLOCKS",
1206
+ inputs: [],
1207
+ outputs: [
1208
+ {
1209
+ name: "",
1210
+ type: "uint8",
1211
+ internalType: "uint8"
1212
+ }
1213
+ ],
1214
+ stateMutability: "view"
1215
+ },
1216
+ {
1217
+ type: "function",
1218
+ name: "PLATFORM_LP_FEE_BPS",
1219
+ inputs: [],
1220
+ outputs: [
1221
+ {
1222
+ name: "",
1223
+ type: "uint16",
1224
+ internalType: "uint16"
1225
+ }
1226
+ ],
1227
+ stateMutability: "view"
1228
+ },
1229
+ {
1230
+ type: "function",
1231
+ name: "TOTAL_SUPPLY",
1232
+ inputs: [],
1233
+ outputs: [
1234
+ {
1235
+ name: "",
1236
+ type: "uint256",
1237
+ internalType: "uint256"
1238
+ }
1239
+ ],
1240
+ stateMutability: "view"
1241
+ },
1242
+ {
1243
+ type: "function",
1244
+ name: "TRADE_FEE_BPS",
1245
+ inputs: [],
1246
+ outputs: [
1247
+ {
1248
+ name: "",
1249
+ type: "uint16",
1250
+ internalType: "uint16"
1251
+ }
1252
+ ],
1253
+ stateMutability: "view"
1254
+ },
1255
+ {
1256
+ type: "function",
1257
+ name: "VIRTUAL_QUOTE_RESERVE",
1258
+ inputs: [],
1259
+ outputs: [
1260
+ {
1261
+ name: "",
1262
+ type: "uint256",
1263
+ internalType: "uint256"
1264
+ }
1265
+ ],
1266
+ stateMutability: "view"
1267
+ },
1268
+ {
1269
+ type: "function",
1270
+ name: "VIRTUAL_TOKEN_RESERVE",
1271
+ inputs: [],
1272
+ outputs: [
1273
+ {
1274
+ name: "",
1275
+ type: "uint256",
1276
+ internalType: "uint256"
1277
+ }
1278
+ ],
1279
+ stateMutability: "view"
1280
+ },
1281
+ {
1282
+ type: "function",
1283
+ name: "acceptOwnership",
1284
+ inputs: [],
1285
+ outputs: [],
1286
+ stateMutability: "nonpayable"
1287
+ },
1288
+ {
1289
+ type: "function",
1290
+ name: "buy",
1291
+ inputs: [
1292
+ {
1293
+ name: "token",
1294
+ type: "address",
1295
+ internalType: "address"
1296
+ },
1297
+ {
1298
+ name: "quoteIn",
1299
+ type: "uint256",
1300
+ internalType: "uint256"
1301
+ },
1302
+ {
1303
+ name: "minTokenOut",
1304
+ type: "uint256",
1305
+ internalType: "uint256"
1306
+ },
1307
+ {
1308
+ name: "deadline",
1309
+ type: "uint256",
1310
+ internalType: "uint256"
1311
+ }
1312
+ ],
1313
+ outputs: [
1314
+ {
1315
+ name: "tokenOut",
1316
+ type: "uint256",
1317
+ internalType: "uint256"
1318
+ },
1319
+ {
1320
+ name: "quoteSpent",
1321
+ type: "uint256",
1322
+ internalType: "uint256"
1323
+ }
1324
+ ],
1325
+ stateMutability: "nonpayable"
1326
+ },
1327
+ {
1328
+ type: "function",
1329
+ name: "createToken",
1330
+ inputs: [
1331
+ {
1332
+ name: "params",
1333
+ type: "tuple",
1334
+ internalType: "struct Portal.CreateParams",
1335
+ components: [
1336
+ {
1337
+ name: "name",
1338
+ type: "string",
1339
+ internalType: "string"
1340
+ },
1341
+ {
1342
+ name: "symbol",
1343
+ type: "string",
1344
+ internalType: "string"
1345
+ },
1346
+ {
1347
+ name: "metadata",
1348
+ type: "string",
1349
+ internalType: "string"
1350
+ },
1351
+ {
1352
+ name: "userSalt",
1353
+ type: "bytes32",
1354
+ internalType: "bytes32"
1355
+ }
1356
+ ]
1357
+ },
1358
+ {
1359
+ name: "initialQuoteIn",
1360
+ type: "uint256",
1361
+ internalType: "uint256"
1362
+ },
1363
+ {
1364
+ name: "minInitialTokenOut",
1365
+ type: "uint256",
1366
+ internalType: "uint256"
1367
+ },
1368
+ {
1369
+ name: "deadline",
1370
+ type: "uint256",
1371
+ internalType: "uint256"
1372
+ }
1373
+ ],
1374
+ outputs: [
1375
+ {
1376
+ name: "token",
1377
+ type: "address",
1378
+ internalType: "address"
1379
+ }
1380
+ ],
1381
+ stateMutability: "nonpayable"
1382
+ },
1383
+ {
1384
+ type: "function",
1385
+ name: "createTokenV2",
1386
+ inputs: [
1387
+ {
1388
+ name: "params",
1389
+ type: "tuple",
1390
+ internalType: "struct Portal.CreateParams",
1391
+ components: [
1392
+ {
1393
+ name: "name",
1394
+ type: "string",
1395
+ internalType: "string"
1396
+ },
1397
+ {
1398
+ name: "symbol",
1399
+ type: "string",
1400
+ internalType: "string"
1401
+ },
1402
+ {
1403
+ name: "metadata",
1404
+ type: "string",
1405
+ internalType: "string"
1406
+ },
1407
+ {
1408
+ name: "userSalt",
1409
+ type: "bytes32",
1410
+ internalType: "bytes32"
1411
+ }
1412
+ ]
1413
+ },
1414
+ {
1415
+ name: "initialQuoteIn",
1416
+ type: "uint256",
1417
+ internalType: "uint256"
1418
+ },
1419
+ {
1420
+ name: "minInitialTokenOut",
1421
+ type: "uint256",
1422
+ internalType: "uint256"
1423
+ },
1424
+ {
1425
+ name: "deadline",
1426
+ type: "uint256",
1427
+ internalType: "uint256"
1428
+ },
1429
+ {
1430
+ name: "protectionBlocks",
1431
+ type: "uint8",
1432
+ internalType: "uint8"
1433
+ }
1434
+ ],
1435
+ outputs: [
1436
+ {
1437
+ name: "token",
1438
+ type: "address",
1439
+ internalType: "address"
1440
+ }
1441
+ ],
1442
+ stateMutability: "nonpayable"
1443
+ },
1444
+ {
1445
+ type: "function",
1446
+ name: "creatorNonces",
1447
+ inputs: [
1448
+ {
1449
+ name: "",
1450
+ type: "address",
1451
+ internalType: "address"
1452
+ }
1453
+ ],
1454
+ outputs: [
1455
+ {
1456
+ name: "",
1457
+ type: "uint256",
1458
+ internalType: "uint256"
1459
+ }
1460
+ ],
1461
+ stateMutability: "view"
1462
+ },
1463
+ {
1464
+ type: "function",
1465
+ name: "curves",
1466
+ inputs: [
1467
+ {
1468
+ name: "",
1469
+ type: "uint16",
1470
+ internalType: "uint16"
1471
+ }
1472
+ ],
1473
+ outputs: [
1474
+ {
1475
+ name: "",
1476
+ type: "address",
1477
+ internalType: "address"
1478
+ }
1479
+ ],
1480
+ stateMutability: "view"
1481
+ },
1482
+ {
1483
+ type: "function",
1484
+ name: "getTokenState",
1485
+ inputs: [
1486
+ {
1487
+ name: "token",
1488
+ type: "address",
1489
+ internalType: "address"
1490
+ }
1491
+ ],
1492
+ outputs: [
1493
+ {
1494
+ name: "",
1495
+ type: "tuple",
1496
+ internalType: "struct Portal.TokenState",
1497
+ components: [
1498
+ {
1499
+ name: "status",
1500
+ type: "uint8",
1501
+ internalType: "enum Portal.Status"
1502
+ },
1503
+ {
1504
+ name: "tokenVersion",
1505
+ type: "uint16",
1506
+ internalType: "uint16"
1507
+ },
1508
+ {
1509
+ name: "curveId",
1510
+ type: "uint16",
1511
+ internalType: "uint16"
1512
+ },
1513
+ {
1514
+ name: "migratorId",
1515
+ type: "uint16",
1516
+ internalType: "uint16"
1517
+ },
1518
+ {
1519
+ name: "quoteReserve",
1520
+ type: "uint128",
1521
+ internalType: "uint128"
1522
+ },
1523
+ {
1524
+ name: "circulatingSupply",
1525
+ type: "uint128",
1526
+ internalType: "uint128"
1527
+ },
1528
+ {
1529
+ name: "creator",
1530
+ type: "address",
1531
+ internalType: "address"
1532
+ },
1533
+ {
1534
+ name: "dexPool",
1535
+ type: "address",
1536
+ internalType: "address"
1537
+ },
1538
+ {
1539
+ name: "launchBlock",
1540
+ type: "uint64",
1541
+ internalType: "uint64"
1542
+ },
1543
+ {
1544
+ name: "protectionBlocks",
1545
+ type: "uint8",
1546
+ internalType: "uint8"
1547
+ },
1548
+ {
1549
+ name: "pauseMode",
1550
+ type: "uint8",
1551
+ internalType: "uint8"
1552
+ }
1553
+ ]
1554
+ }
1555
+ ],
1556
+ stateMutability: "view"
1557
+ },
1558
+ {
1559
+ type: "function",
1560
+ name: "lpRecipient",
1561
+ inputs: [],
1562
+ outputs: [
1563
+ {
1564
+ name: "",
1565
+ type: "address",
1566
+ internalType: "address"
1567
+ }
1568
+ ],
1569
+ stateMutability: "view"
1570
+ },
1571
+ {
1572
+ type: "function",
1573
+ name: "metadata",
1574
+ inputs: [
1575
+ {
1576
+ name: "",
1577
+ type: "address",
1578
+ internalType: "address"
1579
+ }
1580
+ ],
1581
+ outputs: [
1582
+ {
1583
+ name: "",
1584
+ type: "string",
1585
+ internalType: "string"
1586
+ }
1587
+ ],
1588
+ stateMutability: "view"
1589
+ },
1590
+ {
1591
+ type: "function",
1592
+ name: "migrate",
1593
+ inputs: [
1594
+ {
1595
+ name: "token",
1596
+ type: "address",
1597
+ internalType: "address"
1598
+ }
1599
+ ],
1600
+ outputs: [
1601
+ {
1602
+ name: "pool",
1603
+ type: "address",
1604
+ internalType: "address"
1605
+ }
1606
+ ],
1607
+ stateMutability: "nonpayable"
1608
+ },
1609
+ {
1610
+ type: "function",
1611
+ name: "migrators",
1612
+ inputs: [
1613
+ {
1614
+ name: "",
1615
+ type: "uint16",
1616
+ internalType: "uint16"
1617
+ }
1618
+ ],
1619
+ outputs: [
1620
+ {
1621
+ name: "",
1622
+ type: "address",
1623
+ internalType: "address"
1624
+ }
1625
+ ],
1626
+ stateMutability: "view"
1627
+ },
1628
+ {
1629
+ type: "function",
1630
+ name: "owner",
1631
+ inputs: [],
1632
+ outputs: [
1633
+ {
1634
+ name: "",
1635
+ type: "address",
1636
+ internalType: "address"
1637
+ }
1638
+ ],
1639
+ stateMutability: "view"
1640
+ },
1641
+ {
1642
+ type: "function",
1643
+ name: "paused",
1644
+ inputs: [],
1645
+ outputs: [
1646
+ {
1647
+ name: "",
1648
+ type: "bool",
1649
+ internalType: "bool"
1650
+ }
1651
+ ],
1652
+ stateMutability: "view"
1653
+ },
1654
+ {
1655
+ type: "function",
1656
+ name: "pendingOwner",
1657
+ inputs: [],
1658
+ outputs: [
1659
+ {
1660
+ name: "",
1661
+ type: "address",
1662
+ internalType: "address"
1663
+ }
1664
+ ],
1665
+ stateMutability: "view"
1666
+ },
1667
+ {
1668
+ type: "function",
1669
+ name: "priceWad",
1670
+ inputs: [
1671
+ {
1672
+ name: "token",
1673
+ type: "address",
1674
+ internalType: "address"
1675
+ }
1676
+ ],
1677
+ outputs: [
1678
+ {
1679
+ name: "",
1680
+ type: "uint256",
1681
+ internalType: "uint256"
1682
+ }
1683
+ ],
1684
+ stateMutability: "view"
1685
+ },
1686
+ {
1687
+ type: "function",
1688
+ name: "protocolFees",
1689
+ inputs: [],
1690
+ outputs: [
1691
+ {
1692
+ name: "",
1693
+ type: "uint256",
1694
+ internalType: "uint256"
1695
+ }
1696
+ ],
1697
+ stateMutability: "view"
1698
+ },
1699
+ {
1700
+ type: "function",
1701
+ name: "quoteBuy",
1702
+ inputs: [
1703
+ {
1704
+ name: "token",
1705
+ type: "address",
1706
+ internalType: "address"
1707
+ },
1708
+ {
1709
+ name: "quoteIn",
1710
+ type: "uint256",
1711
+ internalType: "uint256"
1712
+ }
1713
+ ],
1714
+ outputs: [
1715
+ {
1716
+ name: "tokenOut",
1717
+ type: "uint256",
1718
+ internalType: "uint256"
1719
+ },
1720
+ {
1721
+ name: "quoteSpent",
1722
+ type: "uint256",
1723
+ internalType: "uint256"
1724
+ },
1725
+ {
1726
+ name: "fee",
1727
+ type: "uint256",
1728
+ internalType: "uint256"
1729
+ },
1730
+ {
1731
+ name: "reachesThreshold",
1732
+ type: "bool",
1733
+ internalType: "bool"
1734
+ }
1735
+ ],
1736
+ stateMutability: "view"
1737
+ },
1738
+ {
1739
+ type: "function",
1740
+ name: "quoteSell",
1741
+ inputs: [
1742
+ {
1743
+ name: "token",
1744
+ type: "address",
1745
+ internalType: "address"
1746
+ },
1747
+ {
1748
+ name: "tokenIn",
1749
+ type: "uint256",
1750
+ internalType: "uint256"
1751
+ }
1752
+ ],
1753
+ outputs: [
1754
+ {
1755
+ name: "quoteOut",
1756
+ type: "uint256",
1757
+ internalType: "uint256"
1758
+ },
1759
+ {
1760
+ name: "fee",
1761
+ type: "uint256",
1762
+ internalType: "uint256"
1763
+ }
1764
+ ],
1765
+ stateMutability: "view"
1766
+ },
1767
+ {
1768
+ type: "function",
1769
+ name: "quoteToken",
1770
+ inputs: [],
1771
+ outputs: [
1772
+ {
1773
+ name: "",
1774
+ type: "address",
1775
+ internalType: "address"
1776
+ }
1777
+ ],
1778
+ stateMutability: "view"
1779
+ },
1780
+ {
1781
+ type: "function",
1782
+ name: "registerCurve",
1783
+ inputs: [
1784
+ {
1785
+ name: "id",
1786
+ type: "uint16",
1787
+ internalType: "uint16"
1788
+ },
1789
+ {
1790
+ name: "curve",
1791
+ type: "address",
1792
+ internalType: "address"
1793
+ }
1794
+ ],
1795
+ outputs: [],
1796
+ stateMutability: "nonpayable"
1797
+ },
1798
+ {
1799
+ type: "function",
1800
+ name: "registerMigrator",
1801
+ inputs: [
1802
+ {
1803
+ name: "id",
1804
+ type: "uint16",
1805
+ internalType: "uint16"
1806
+ },
1807
+ {
1808
+ name: "migrator",
1809
+ type: "address",
1810
+ internalType: "address"
1811
+ }
1812
+ ],
1813
+ outputs: [],
1814
+ stateMutability: "nonpayable"
1815
+ },
1816
+ {
1817
+ type: "function",
1818
+ name: "sell",
1819
+ inputs: [
1820
+ {
1821
+ name: "token",
1822
+ type: "address",
1823
+ internalType: "address"
1824
+ },
1825
+ {
1826
+ name: "tokenIn",
1827
+ type: "uint256",
1828
+ internalType: "uint256"
1829
+ },
1830
+ {
1831
+ name: "minQuoteOut",
1832
+ type: "uint256",
1833
+ internalType: "uint256"
1834
+ },
1835
+ {
1836
+ name: "deadline",
1837
+ type: "uint256",
1838
+ internalType: "uint256"
1839
+ }
1840
+ ],
1841
+ outputs: [
1842
+ {
1843
+ name: "quoteOut",
1844
+ type: "uint256",
1845
+ internalType: "uint256"
1846
+ }
1847
+ ],
1848
+ stateMutability: "nonpayable"
1849
+ },
1850
+ {
1851
+ type: "function",
1852
+ name: "setPaused",
1853
+ inputs: [
1854
+ {
1855
+ name: "paused_",
1856
+ type: "bool",
1857
+ internalType: "bool"
1858
+ }
1859
+ ],
1860
+ outputs: [],
1861
+ stateMutability: "nonpayable"
1862
+ },
1863
+ {
1864
+ type: "function",
1865
+ name: "setTokenPause",
1866
+ inputs: [
1867
+ {
1868
+ name: "token",
1869
+ type: "address",
1870
+ internalType: "address"
1871
+ },
1872
+ {
1873
+ name: "mode",
1874
+ type: "uint8",
1875
+ internalType: "uint8"
1876
+ }
1877
+ ],
1878
+ outputs: [],
1879
+ stateMutability: "nonpayable"
1880
+ },
1881
+ {
1882
+ type: "function",
1883
+ name: "tokenFactory",
1884
+ inputs: [],
1885
+ outputs: [
1886
+ {
1887
+ name: "",
1888
+ type: "address",
1889
+ internalType: "contract TokenFactory"
1890
+ }
1891
+ ],
1892
+ stateMutability: "view"
1893
+ },
1894
+ {
1895
+ type: "function",
1896
+ name: "transferOwnership",
1897
+ inputs: [
1898
+ {
1899
+ name: "newOwner",
1900
+ type: "address",
1901
+ internalType: "address"
1902
+ }
1903
+ ],
1904
+ outputs: [],
1905
+ stateMutability: "nonpayable"
1906
+ },
1907
+ {
1908
+ type: "function",
1909
+ name: "withdrawProtocolFees",
1910
+ inputs: [
1911
+ {
1912
+ name: "recipient",
1913
+ type: "address",
1914
+ internalType: "address"
1915
+ },
1916
+ {
1917
+ name: "amount",
1918
+ type: "uint256",
1919
+ internalType: "uint256"
1920
+ }
1921
+ ],
1922
+ outputs: [],
1923
+ stateMutability: "nonpayable"
1924
+ },
1925
+ {
1926
+ type: "event",
1927
+ name: "CurveRegistered",
1928
+ inputs: [
1929
+ {
1930
+ name: "id",
1931
+ type: "uint16",
1932
+ indexed: true,
1933
+ internalType: "uint16"
1934
+ },
1935
+ {
1936
+ name: "curve",
1937
+ type: "address",
1938
+ indexed: true,
1939
+ internalType: "address"
1940
+ }
1941
+ ],
1942
+ anonymous: false
1943
+ },
1944
+ {
1945
+ type: "event",
1946
+ name: "MigrationCompleted",
1947
+ inputs: [
1948
+ {
1949
+ name: "token",
1950
+ type: "address",
1951
+ indexed: true,
1952
+ internalType: "address"
1953
+ },
1954
+ {
1955
+ name: "pool",
1956
+ type: "address",
1957
+ indexed: true,
1958
+ internalType: "address"
1959
+ },
1960
+ {
1961
+ name: "liquidity",
1962
+ type: "uint256",
1963
+ indexed: false,
1964
+ internalType: "uint256"
1965
+ },
1966
+ {
1967
+ name: "lpRecipient",
1968
+ type: "address",
1969
+ indexed: false,
1970
+ internalType: "address"
1971
+ }
1972
+ ],
1973
+ anonymous: false
1974
+ },
1975
+ {
1976
+ type: "event",
1977
+ name: "MigrationStarted",
1978
+ inputs: [
1979
+ {
1980
+ name: "token",
1981
+ type: "address",
1982
+ indexed: true,
1983
+ internalType: "address"
1984
+ },
1985
+ {
1986
+ name: "tokenAmount",
1987
+ type: "uint256",
1988
+ indexed: false,
1989
+ internalType: "uint256"
1990
+ },
1991
+ {
1992
+ name: "quoteAmount",
1993
+ type: "uint256",
1994
+ indexed: false,
1995
+ internalType: "uint256"
1996
+ }
1997
+ ],
1998
+ anonymous: false
1999
+ },
2000
+ {
2001
+ type: "event",
2002
+ name: "MigratorRegistered",
2003
+ inputs: [
2004
+ {
2005
+ name: "id",
2006
+ type: "uint16",
2007
+ indexed: true,
2008
+ internalType: "uint16"
2009
+ },
2010
+ {
2011
+ name: "migrator",
2012
+ type: "address",
2013
+ indexed: true,
2014
+ internalType: "address"
2015
+ }
2016
+ ],
2017
+ anonymous: false
2018
+ },
2019
+ {
2020
+ type: "event",
2021
+ name: "OwnershipTransferStarted",
2022
+ inputs: [
2023
+ {
2024
+ name: "currentOwner",
2025
+ type: "address",
2026
+ indexed: true,
2027
+ internalType: "address"
2028
+ },
2029
+ {
2030
+ name: "pendingOwner",
2031
+ type: "address",
2032
+ indexed: true,
2033
+ internalType: "address"
2034
+ }
2035
+ ],
2036
+ anonymous: false
2037
+ },
2038
+ {
2039
+ type: "event",
2040
+ name: "OwnershipTransferred",
2041
+ inputs: [
2042
+ {
2043
+ name: "previousOwner",
2044
+ type: "address",
2045
+ indexed: true,
2046
+ internalType: "address"
2047
+ },
2048
+ {
2049
+ name: "newOwner",
2050
+ type: "address",
2051
+ indexed: true,
2052
+ internalType: "address"
2053
+ }
2054
+ ],
2055
+ anonymous: false
2056
+ },
2057
+ {
2058
+ type: "event",
2059
+ name: "Paused",
2060
+ inputs: [
2061
+ {
2062
+ name: "paused",
2063
+ type: "bool",
2064
+ indexed: false,
2065
+ internalType: "bool"
2066
+ }
2067
+ ],
2068
+ anonymous: false
2069
+ },
2070
+ {
2071
+ type: "event",
2072
+ name: "ProtocolFeesWithdrawn",
2073
+ inputs: [
2074
+ {
2075
+ name: "recipient",
2076
+ type: "address",
2077
+ indexed: true,
2078
+ internalType: "address"
2079
+ },
2080
+ {
2081
+ name: "amount",
2082
+ type: "uint256",
2083
+ indexed: false,
2084
+ internalType: "uint256"
2085
+ }
2086
+ ],
2087
+ anonymous: false
2088
+ },
2089
+ {
2090
+ type: "event",
2091
+ name: "TokenCreated",
2092
+ inputs: [
2093
+ {
2094
+ name: "token",
2095
+ type: "address",
2096
+ indexed: true,
2097
+ internalType: "address"
2098
+ },
2099
+ {
2100
+ name: "creator",
2101
+ type: "address",
2102
+ indexed: true,
2103
+ internalType: "address"
2104
+ },
2105
+ {
2106
+ name: "name",
2107
+ type: "string",
2108
+ indexed: false,
2109
+ internalType: "string"
2110
+ },
2111
+ {
2112
+ name: "symbol",
2113
+ type: "string",
2114
+ indexed: false,
2115
+ internalType: "string"
2116
+ },
2117
+ {
2118
+ name: "metadata",
2119
+ type: "string",
2120
+ indexed: false,
2121
+ internalType: "string"
2122
+ },
2123
+ {
2124
+ name: "curveId",
2125
+ type: "uint16",
2126
+ indexed: false,
2127
+ internalType: "uint16"
2128
+ },
2129
+ {
2130
+ name: "migratorId",
2131
+ type: "uint16",
2132
+ indexed: false,
2133
+ internalType: "uint16"
2134
+ }
2135
+ ],
2136
+ anonymous: false
2137
+ },
2138
+ {
2139
+ type: "event",
2140
+ name: "TokenPauseSet",
2141
+ inputs: [
2142
+ {
2143
+ name: "token",
2144
+ type: "address",
2145
+ indexed: true,
2146
+ internalType: "address"
2147
+ },
2148
+ {
2149
+ name: "mode",
2150
+ type: "uint8",
2151
+ indexed: false,
2152
+ internalType: "uint8"
2153
+ }
2154
+ ],
2155
+ anonymous: false
2156
+ },
2157
+ {
2158
+ type: "event",
2159
+ name: "Trade",
2160
+ inputs: [
2161
+ {
2162
+ name: "token",
2163
+ type: "address",
2164
+ indexed: true,
2165
+ internalType: "address"
2166
+ },
2167
+ {
2168
+ name: "trader",
2169
+ type: "address",
2170
+ indexed: true,
2171
+ internalType: "address"
2172
+ },
2173
+ {
2174
+ name: "isBuy",
2175
+ type: "bool",
2176
+ indexed: true,
2177
+ internalType: "bool"
2178
+ },
2179
+ {
2180
+ name: "tokenAmount",
2181
+ type: "uint256",
2182
+ indexed: false,
2183
+ internalType: "uint256"
2184
+ },
2185
+ {
2186
+ name: "quoteAmount",
2187
+ type: "uint256",
2188
+ indexed: false,
2189
+ internalType: "uint256"
2190
+ },
2191
+ {
2192
+ name: "fee",
2193
+ type: "uint256",
2194
+ indexed: false,
2195
+ internalType: "uint256"
2196
+ }
2197
+ ],
2198
+ anonymous: false
2199
+ },
2200
+ {
2201
+ type: "error",
2202
+ name: "AccountingOverflow",
2203
+ inputs: []
2204
+ },
2205
+ {
2206
+ type: "error",
2207
+ name: "DeadlineExpired",
2208
+ inputs: []
2209
+ },
2210
+ {
2211
+ type: "error",
2212
+ name: "InvalidAmount",
2213
+ inputs: []
2214
+ },
2215
+ {
2216
+ type: "error",
2217
+ name: "InvalidConfig",
2218
+ inputs: []
2219
+ },
2220
+ {
2221
+ type: "error",
2222
+ name: "InvalidStatus",
2223
+ inputs: []
2224
+ },
2225
+ {
2226
+ type: "error",
2227
+ name: "LaunchBlockTradingDisabled",
2228
+ inputs: []
2229
+ },
2230
+ {
2231
+ type: "error",
2232
+ name: "ProtocolPaused",
2233
+ inputs: []
2234
+ },
2235
+ {
2236
+ type: "error",
2237
+ name: "Reentrancy",
2238
+ inputs: []
2239
+ },
2240
+ {
2241
+ type: "error",
2242
+ name: "SlippageExceeded",
2243
+ inputs: []
2244
+ },
2245
+ {
2246
+ type: "error",
2247
+ name: "TransferFailed",
2248
+ inputs: []
2249
+ },
2250
+ {
2251
+ type: "error",
2252
+ name: "Unauthorized",
2253
+ inputs: []
2254
+ },
2255
+ {
2256
+ type: "error",
2257
+ name: "UnknownModule",
2258
+ inputs: []
2259
+ }
2260
+ ];
2261
+
2262
+ // src/abi/generated/token-factory.ts
2263
+ var tokenFactoryAbi = [
2264
+ {
2265
+ type: "constructor",
2266
+ inputs: [
2267
+ {
2268
+ name: "owner_",
2269
+ type: "address",
2270
+ internalType: "address"
2271
+ }
2272
+ ],
2273
+ stateMutability: "nonpayable"
2274
+ },
2275
+ {
2276
+ type: "function",
2277
+ name: "create",
2278
+ inputs: [
2279
+ {
2280
+ name: "name",
2281
+ type: "string",
2282
+ internalType: "string"
2283
+ },
2284
+ {
2285
+ name: "symbol",
2286
+ type: "string",
2287
+ internalType: "string"
2288
+ },
2289
+ {
2290
+ name: "supply",
2291
+ type: "uint256",
2292
+ internalType: "uint256"
2293
+ },
2294
+ {
2295
+ name: "salt",
2296
+ type: "bytes32",
2297
+ internalType: "bytes32"
2298
+ }
2299
+ ],
2300
+ outputs: [
2301
+ {
2302
+ name: "token",
2303
+ type: "address",
2304
+ internalType: "address"
2305
+ }
2306
+ ],
2307
+ stateMutability: "nonpayable"
2308
+ },
2309
+ {
2310
+ type: "function",
2311
+ name: "owner",
2312
+ inputs: [],
2313
+ outputs: [
2314
+ {
2315
+ name: "",
2316
+ type: "address",
2317
+ internalType: "address"
2318
+ }
2319
+ ],
2320
+ stateMutability: "view"
2321
+ },
2322
+ {
2323
+ type: "function",
2324
+ name: "portal",
2325
+ inputs: [],
2326
+ outputs: [
2327
+ {
2328
+ name: "",
2329
+ type: "address",
2330
+ internalType: "address"
2331
+ }
2332
+ ],
2333
+ stateMutability: "view"
2334
+ },
2335
+ {
2336
+ type: "function",
2337
+ name: "predictAddress",
2338
+ inputs: [
2339
+ {
2340
+ name: "name",
2341
+ type: "string",
2342
+ internalType: "string"
2343
+ },
2344
+ {
2345
+ name: "symbol",
2346
+ type: "string",
2347
+ internalType: "string"
2348
+ },
2349
+ {
2350
+ name: "supply",
2351
+ type: "uint256",
2352
+ internalType: "uint256"
2353
+ },
2354
+ {
2355
+ name: "salt",
2356
+ type: "bytes32",
2357
+ internalType: "bytes32"
2358
+ }
2359
+ ],
2360
+ outputs: [
2361
+ {
2362
+ name: "predicted",
2363
+ type: "address",
2364
+ internalType: "address"
2365
+ }
2366
+ ],
2367
+ stateMutability: "view"
2368
+ },
2369
+ {
2370
+ type: "function",
2371
+ name: "setPortal",
2372
+ inputs: [
2373
+ {
2374
+ name: "portal_",
2375
+ type: "address",
2376
+ internalType: "address"
2377
+ }
2378
+ ],
2379
+ outputs: [],
2380
+ stateMutability: "nonpayable"
2381
+ },
2382
+ {
2383
+ type: "error",
2384
+ name: "PortalAlreadySet",
2385
+ inputs: []
2386
+ },
2387
+ {
2388
+ type: "error",
2389
+ name: "Unauthorized",
2390
+ inputs: []
2391
+ },
2392
+ {
2393
+ type: "error",
2394
+ name: "ZeroAddress",
2395
+ inputs: []
2396
+ }
2397
+ ];
2398
+
2399
+ // src/abi/generated/v3-migrator.ts
2400
+ var v3MigratorAbi = [
2401
+ {
2402
+ type: "constructor",
2403
+ inputs: [
2404
+ {
2405
+ name: "portal_",
2406
+ type: "address",
2407
+ internalType: "address"
2408
+ },
2409
+ {
2410
+ name: "factory_",
2411
+ type: "address",
2412
+ internalType: "address"
2413
+ },
2414
+ {
2415
+ name: "positionManager_",
2416
+ type: "address",
2417
+ internalType: "address"
2418
+ },
2419
+ {
2420
+ name: "fee_",
2421
+ type: "uint24",
2422
+ internalType: "uint24"
2423
+ },
2424
+ {
2425
+ name: "locker_",
2426
+ type: "address",
2427
+ internalType: "address"
2428
+ }
2429
+ ],
2430
+ stateMutability: "nonpayable"
2431
+ },
2432
+ {
2433
+ type: "function",
2434
+ name: "SQRT_RATIO_TOKEN0_LOWER_X96",
2435
+ inputs: [],
2436
+ outputs: [
2437
+ {
2438
+ name: "",
2439
+ type: "uint160",
2440
+ internalType: "uint160"
2441
+ }
2442
+ ],
2443
+ stateMutability: "view"
2444
+ },
2445
+ {
2446
+ type: "function",
2447
+ name: "SQRT_RATIO_TOKEN0_UPPER_X96",
2448
+ inputs: [],
2449
+ outputs: [
2450
+ {
2451
+ name: "",
2452
+ type: "uint160",
2453
+ internalType: "uint160"
2454
+ }
2455
+ ],
2456
+ stateMutability: "view"
2457
+ },
2458
+ {
2459
+ type: "function",
2460
+ name: "TOKEN0_TICK_LOWER",
2461
+ inputs: [],
2462
+ outputs: [
2463
+ {
2464
+ name: "",
2465
+ type: "int24",
2466
+ internalType: "int24"
2467
+ }
2468
+ ],
2469
+ stateMutability: "view"
2470
+ },
2471
+ {
2472
+ type: "function",
2473
+ name: "TOKEN0_TICK_UPPER",
2474
+ inputs: [],
2475
+ outputs: [
2476
+ {
2477
+ name: "",
2478
+ type: "int24",
2479
+ internalType: "int24"
2480
+ }
2481
+ ],
2482
+ stateMutability: "view"
2483
+ },
2484
+ {
2485
+ type: "function",
2486
+ name: "encodeSqrtRatioX96",
2487
+ inputs: [
2488
+ {
2489
+ name: "amount1",
2490
+ type: "uint256",
2491
+ internalType: "uint256"
2492
+ },
2493
+ {
2494
+ name: "amount0",
2495
+ type: "uint256",
2496
+ internalType: "uint256"
2497
+ }
2498
+ ],
2499
+ outputs: [
2500
+ {
2501
+ name: "",
2502
+ type: "uint160",
2503
+ internalType: "uint160"
2504
+ }
2505
+ ],
2506
+ stateMutability: "pure"
2507
+ },
2508
+ {
2509
+ type: "function",
2510
+ name: "factory",
2511
+ inputs: [],
2512
+ outputs: [
2513
+ {
2514
+ name: "",
2515
+ type: "address",
2516
+ internalType: "address"
2517
+ }
2518
+ ],
2519
+ stateMutability: "view"
2520
+ },
2521
+ {
2522
+ type: "function",
2523
+ name: "fee",
2524
+ inputs: [],
2525
+ outputs: [
2526
+ {
2527
+ name: "",
2528
+ type: "uint24",
2529
+ internalType: "uint24"
2530
+ }
2531
+ ],
2532
+ stateMutability: "view"
2533
+ },
2534
+ {
2535
+ type: "function",
2536
+ name: "locker",
2537
+ inputs: [],
2538
+ outputs: [
2539
+ {
2540
+ name: "",
2541
+ type: "address",
2542
+ internalType: "address"
2543
+ }
2544
+ ],
2545
+ stateMutability: "view"
2546
+ },
2547
+ {
2548
+ type: "function",
2549
+ name: "migrate",
2550
+ inputs: [
2551
+ {
2552
+ name: "token",
2553
+ type: "address",
2554
+ internalType: "address"
2555
+ },
2556
+ {
2557
+ name: "quoteToken",
2558
+ type: "address",
2559
+ internalType: "address"
2560
+ },
2561
+ {
2562
+ name: "tokenAmount",
2563
+ type: "uint256",
2564
+ internalType: "uint256"
2565
+ },
2566
+ {
2567
+ name: "quoteAmount",
2568
+ type: "uint256",
2569
+ internalType: "uint256"
2570
+ },
2571
+ {
2572
+ name: "lpRecipient",
2573
+ type: "address",
2574
+ internalType: "address"
2575
+ },
2576
+ {
2577
+ name: "data",
2578
+ type: "bytes",
2579
+ internalType: "bytes"
2580
+ }
2581
+ ],
2582
+ outputs: [
2583
+ {
2584
+ name: "pool",
2585
+ type: "address",
2586
+ internalType: "address"
2587
+ },
2588
+ {
2589
+ name: "liquidityOut",
2590
+ type: "uint256",
2591
+ internalType: "uint256"
2592
+ }
2593
+ ],
2594
+ stateMutability: "nonpayable"
2595
+ },
2596
+ {
2597
+ type: "function",
2598
+ name: "portal",
2599
+ inputs: [],
2600
+ outputs: [
2601
+ {
2602
+ name: "",
2603
+ type: "address",
2604
+ internalType: "address"
2605
+ }
2606
+ ],
2607
+ stateMutability: "view"
2608
+ },
2609
+ {
2610
+ type: "function",
2611
+ name: "positionManager",
2612
+ inputs: [],
2613
+ outputs: [
2614
+ {
2615
+ name: "",
2616
+ type: "address",
2617
+ internalType: "address"
2618
+ }
2619
+ ],
2620
+ stateMutability: "view"
2621
+ },
2622
+ {
2623
+ type: "function",
2624
+ name: "preparePool",
2625
+ inputs: [
2626
+ {
2627
+ name: "token",
2628
+ type: "address",
2629
+ internalType: "address"
2630
+ },
2631
+ {
2632
+ name: "quoteToken",
2633
+ type: "address",
2634
+ internalType: "address"
2635
+ },
2636
+ {
2637
+ name: "graduationPriceWad",
2638
+ type: "uint256",
2639
+ internalType: "uint256"
2640
+ }
2641
+ ],
2642
+ outputs: [
2643
+ {
2644
+ name: "pool",
2645
+ type: "address",
2646
+ internalType: "address"
2647
+ }
2648
+ ],
2649
+ stateMutability: "nonpayable"
2650
+ },
2651
+ {
2652
+ type: "event",
2653
+ name: "MigrationDust",
2654
+ inputs: [
2655
+ {
2656
+ name: "asset",
2657
+ type: "address",
2658
+ indexed: true,
2659
+ internalType: "address"
2660
+ },
2661
+ {
2662
+ name: "recipient",
2663
+ type: "address",
2664
+ indexed: true,
2665
+ internalType: "address"
2666
+ },
2667
+ {
2668
+ name: "amount",
2669
+ type: "uint256",
2670
+ indexed: false,
2671
+ internalType: "uint256"
2672
+ }
2673
+ ],
2674
+ anonymous: false
2675
+ },
2676
+ {
2677
+ type: "event",
2678
+ name: "PositionMinted",
2679
+ inputs: [
2680
+ {
2681
+ name: "pool",
2682
+ type: "address",
2683
+ indexed: true,
2684
+ internalType: "address"
2685
+ },
2686
+ {
2687
+ name: "tokenId",
2688
+ type: "uint256",
2689
+ indexed: true,
2690
+ internalType: "uint256"
2691
+ },
2692
+ {
2693
+ name: "liquidity",
2694
+ type: "uint128",
2695
+ indexed: false,
2696
+ internalType: "uint128"
2697
+ },
2698
+ {
2699
+ name: "amount0",
2700
+ type: "uint256",
2701
+ indexed: false,
2702
+ internalType: "uint256"
2703
+ },
2704
+ {
2705
+ name: "amount1",
2706
+ type: "uint256",
2707
+ indexed: false,
2708
+ internalType: "uint256"
2709
+ }
2710
+ ],
2711
+ anonymous: false
2712
+ },
2713
+ {
2714
+ type: "error",
2715
+ name: "InvalidAmount",
2716
+ inputs: []
2717
+ },
2718
+ {
2719
+ type: "error",
2720
+ name: "InvalidConfig",
2721
+ inputs: []
2722
+ },
2723
+ {
2724
+ type: "error",
2725
+ name: "PoolAlreadyInitialized",
2726
+ inputs: []
2727
+ },
2728
+ {
2729
+ type: "error",
2730
+ name: "PoolNotPrepared",
2731
+ inputs: []
2732
+ },
2733
+ {
2734
+ type: "error",
2735
+ name: "TransferFailed",
2736
+ inputs: []
2737
+ },
2738
+ {
2739
+ type: "error",
2740
+ name: "Unauthorized",
2741
+ inputs: []
2742
+ }
2743
+ ];
2744
+
2745
+ export {
2746
+ constantProductCurveAbi,
2747
+ launchTokenAbi,
2748
+ liquidityLockerAbi,
2749
+ launchpadAbiArtifactCommit,
2750
+ portalAbi,
2751
+ tokenFactoryAbi,
2752
+ v3MigratorAbi
2753
+ };
2754
+ //# sourceMappingURL=chunk-SH2Y5F5L.js.map