@reptilianhq/launch-on-block-sdk 0.4.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (44) hide show
  1. package/CHANGELOG.md +15 -0
  2. package/LICENSE +674 -0
  3. package/README.md +116 -0
  4. package/dist/abis.d.ts +2 -0
  5. package/dist/abis.d.ts.map +1 -0
  6. package/dist/abis.js +2 -0
  7. package/dist/abis.js.map +1 -0
  8. package/dist/compatibility.d.ts +50 -0
  9. package/dist/compatibility.d.ts.map +1 -0
  10. package/dist/compatibility.js +244 -0
  11. package/dist/compatibility.js.map +1 -0
  12. package/dist/deployments.d.ts +294 -0
  13. package/dist/deployments.d.ts.map +1 -0
  14. package/dist/deployments.js +122 -0
  15. package/dist/deployments.js.map +1 -0
  16. package/dist/economics.d.ts +23 -0
  17. package/dist/economics.d.ts.map +1 -0
  18. package/dist/economics.js +111 -0
  19. package/dist/economics.js.map +1 -0
  20. package/dist/errors.d.ts +18 -0
  21. package/dist/errors.d.ts.map +1 -0
  22. package/dist/errors.js +30 -0
  23. package/dist/errors.js.map +1 -0
  24. package/dist/generated/abis.d.ts +1652 -0
  25. package/dist/generated/abis.d.ts.map +1 -0
  26. package/dist/generated/abis.js +2243 -0
  27. package/dist/generated/abis.js.map +1 -0
  28. package/dist/generated/deployments.d.ts +212 -0
  29. package/dist/generated/deployments.d.ts.map +1 -0
  30. package/dist/generated/deployments.js +237 -0
  31. package/dist/generated/deployments.js.map +1 -0
  32. package/dist/index.d.ts +8 -0
  33. package/dist/index.d.ts.map +1 -0
  34. package/dist/index.js +8 -0
  35. package/dist/index.js.map +1 -0
  36. package/dist/receipts.d.ts +84 -0
  37. package/dist/receipts.d.ts.map +1 -0
  38. package/dist/receipts.js +104 -0
  39. package/dist/receipts.js.map +1 -0
  40. package/dist/transactions.d.ts +115 -0
  41. package/dist/transactions.d.ts.map +1 -0
  42. package/dist/transactions.js +395 -0
  43. package/dist/transactions.js.map +1 -0
  44. package/package.json +88 -0
@@ -0,0 +1,2243 @@
1
+ // Generated by scripts/generate-launchpad-sdk.mjs; do not edit.
2
+ export const launchpadAbi = [
3
+ {
4
+ "type": "function",
5
+ "name": "DEFAULT_CURVE_ID",
6
+ "inputs": [],
7
+ "outputs": [
8
+ {
9
+ "name": "",
10
+ "type": "uint32",
11
+ "internalType": "uint32"
12
+ }
13
+ ],
14
+ "stateMutability": "view"
15
+ },
16
+ {
17
+ "type": "function",
18
+ "name": "allLaunches",
19
+ "inputs": [
20
+ {
21
+ "name": "",
22
+ "type": "uint256",
23
+ "internalType": "uint256"
24
+ }
25
+ ],
26
+ "outputs": [
27
+ {
28
+ "name": "",
29
+ "type": "address",
30
+ "internalType": "address"
31
+ }
32
+ ],
33
+ "stateMutability": "view"
34
+ },
35
+ {
36
+ "type": "function",
37
+ "name": "allLaunchesLength",
38
+ "inputs": [],
39
+ "outputs": [
40
+ {
41
+ "name": "",
42
+ "type": "uint256",
43
+ "internalType": "uint256"
44
+ }
45
+ ],
46
+ "stateMutability": "view"
47
+ },
48
+ {
49
+ "type": "function",
50
+ "name": "amountRaised",
51
+ "inputs": [
52
+ {
53
+ "name": "token",
54
+ "type": "address",
55
+ "internalType": "address"
56
+ }
57
+ ],
58
+ "outputs": [
59
+ {
60
+ "name": "",
61
+ "type": "uint256",
62
+ "internalType": "uint256"
63
+ }
64
+ ],
65
+ "stateMutability": "view"
66
+ },
67
+ {
68
+ "type": "function",
69
+ "name": "curveComplete",
70
+ "inputs": [
71
+ {
72
+ "name": "token",
73
+ "type": "address",
74
+ "internalType": "address"
75
+ }
76
+ ],
77
+ "outputs": [
78
+ {
79
+ "name": "",
80
+ "type": "bool",
81
+ "internalType": "bool"
82
+ }
83
+ ],
84
+ "stateMutability": "view"
85
+ },
86
+ {
87
+ "type": "function",
88
+ "name": "curveCount",
89
+ "inputs": [],
90
+ "outputs": [
91
+ {
92
+ "name": "",
93
+ "type": "uint32",
94
+ "internalType": "uint32"
95
+ }
96
+ ],
97
+ "stateMutability": "view"
98
+ },
99
+ {
100
+ "type": "function",
101
+ "name": "curveIdOf",
102
+ "inputs": [
103
+ {
104
+ "name": "",
105
+ "type": "address",
106
+ "internalType": "address"
107
+ }
108
+ ],
109
+ "outputs": [
110
+ {
111
+ "name": "",
112
+ "type": "uint32",
113
+ "internalType": "uint32"
114
+ }
115
+ ],
116
+ "stateMutability": "view"
117
+ },
118
+ {
119
+ "type": "function",
120
+ "name": "curveImplementation",
121
+ "inputs": [
122
+ {
123
+ "name": "curveId",
124
+ "type": "uint32",
125
+ "internalType": "uint32"
126
+ }
127
+ ],
128
+ "outputs": [
129
+ {
130
+ "name": "",
131
+ "type": "address",
132
+ "internalType": "address"
133
+ }
134
+ ],
135
+ "stateMutability": "view"
136
+ },
137
+ {
138
+ "type": "function",
139
+ "name": "curveOf",
140
+ "inputs": [
141
+ {
142
+ "name": "token",
143
+ "type": "address",
144
+ "internalType": "address"
145
+ }
146
+ ],
147
+ "outputs": [
148
+ {
149
+ "name": "curveId",
150
+ "type": "uint32",
151
+ "internalType": "uint32"
152
+ },
153
+ {
154
+ "name": "implementation",
155
+ "type": "address",
156
+ "internalType": "address"
157
+ }
158
+ ],
159
+ "stateMutability": "view"
160
+ },
161
+ {
162
+ "type": "function",
163
+ "name": "curves",
164
+ "inputs": [
165
+ {
166
+ "name": "",
167
+ "type": "uint32",
168
+ "internalType": "uint32"
169
+ }
170
+ ],
171
+ "outputs": [
172
+ {
173
+ "name": "implementation",
174
+ "type": "address",
175
+ "internalType": "contract ILaunchCurve"
176
+ },
177
+ {
178
+ "name": "codeHash",
179
+ "type": "bytes32",
180
+ "internalType": "bytes32"
181
+ },
182
+ {
183
+ "name": "enabledForNewLaunches",
184
+ "type": "bool",
185
+ "internalType": "bool"
186
+ }
187
+ ],
188
+ "stateMutability": "view"
189
+ },
190
+ {
191
+ "type": "function",
192
+ "name": "escrowOf",
193
+ "inputs": [
194
+ {
195
+ "name": "token",
196
+ "type": "address",
197
+ "internalType": "address"
198
+ }
199
+ ],
200
+ "outputs": [
201
+ {
202
+ "name": "",
203
+ "type": "address",
204
+ "internalType": "address"
205
+ }
206
+ ],
207
+ "stateMutability": "view"
208
+ },
209
+ {
210
+ "type": "function",
211
+ "name": "getLaunch",
212
+ "inputs": [
213
+ {
214
+ "name": "token",
215
+ "type": "address",
216
+ "internalType": "address"
217
+ }
218
+ ],
219
+ "outputs": [
220
+ {
221
+ "name": "",
222
+ "type": "tuple",
223
+ "internalType": "struct Launchpad.Launch",
224
+ "components": [
225
+ {
226
+ "name": "token",
227
+ "type": "address",
228
+ "internalType": "contract LaunchToken"
229
+ },
230
+ {
231
+ "name": "creator",
232
+ "type": "address",
233
+ "internalType": "address"
234
+ },
235
+ {
236
+ "name": "creatorBps",
237
+ "type": "uint16",
238
+ "internalType": "uint16"
239
+ },
240
+ {
241
+ "name": "curveFeeBps",
242
+ "type": "uint16",
243
+ "internalType": "uint16"
244
+ },
245
+ {
246
+ "name": "curveId",
247
+ "type": "uint32",
248
+ "internalType": "uint32"
249
+ },
250
+ {
251
+ "name": "payoutWallet",
252
+ "type": "address",
253
+ "internalType": "address"
254
+ },
255
+ {
256
+ "name": "tv",
257
+ "type": "uint256",
258
+ "internalType": "uint256"
259
+ },
260
+ {
261
+ "name": "qv",
262
+ "type": "uint256",
263
+ "internalType": "uint256"
264
+ },
265
+ {
266
+ "name": "k",
267
+ "type": "uint256",
268
+ "internalType": "uint256"
269
+ },
270
+ {
271
+ "name": "graduated",
272
+ "type": "bool",
273
+ "internalType": "bool"
274
+ },
275
+ {
276
+ "name": "pool",
277
+ "type": "address",
278
+ "internalType": "address"
279
+ }
280
+ ]
281
+ }
282
+ ],
283
+ "stateMutability": "view"
284
+ },
285
+ {
286
+ "type": "function",
287
+ "name": "launches",
288
+ "inputs": [
289
+ {
290
+ "name": "",
291
+ "type": "address",
292
+ "internalType": "address"
293
+ }
294
+ ],
295
+ "outputs": [
296
+ {
297
+ "name": "token",
298
+ "type": "address",
299
+ "internalType": "contract LaunchToken"
300
+ },
301
+ {
302
+ "name": "creator",
303
+ "type": "address",
304
+ "internalType": "address"
305
+ },
306
+ {
307
+ "name": "creatorBps",
308
+ "type": "uint16",
309
+ "internalType": "uint16"
310
+ },
311
+ {
312
+ "name": "curveFeeBps",
313
+ "type": "uint16",
314
+ "internalType": "uint16"
315
+ },
316
+ {
317
+ "name": "curveId",
318
+ "type": "uint32",
319
+ "internalType": "uint32"
320
+ },
321
+ {
322
+ "name": "payoutWallet",
323
+ "type": "address",
324
+ "internalType": "address"
325
+ },
326
+ {
327
+ "name": "tv",
328
+ "type": "uint256",
329
+ "internalType": "uint256"
330
+ },
331
+ {
332
+ "name": "qv",
333
+ "type": "uint256",
334
+ "internalType": "uint256"
335
+ },
336
+ {
337
+ "name": "k",
338
+ "type": "uint256",
339
+ "internalType": "uint256"
340
+ },
341
+ {
342
+ "name": "graduated",
343
+ "type": "bool",
344
+ "internalType": "bool"
345
+ },
346
+ {
347
+ "name": "pool",
348
+ "type": "address",
349
+ "internalType": "address"
350
+ }
351
+ ],
352
+ "stateMutability": "view"
353
+ },
354
+ {
355
+ "type": "function",
356
+ "name": "isLaunchToken",
357
+ "inputs": [
358
+ {
359
+ "name": "",
360
+ "type": "address",
361
+ "internalType": "address"
362
+ }
363
+ ],
364
+ "outputs": [
365
+ {
366
+ "name": "",
367
+ "type": "bool",
368
+ "internalType": "bool"
369
+ }
370
+ ],
371
+ "stateMutability": "view"
372
+ },
373
+ {
374
+ "type": "function",
375
+ "name": "poolOf",
376
+ "inputs": [
377
+ {
378
+ "name": "token",
379
+ "type": "address",
380
+ "internalType": "address"
381
+ }
382
+ ],
383
+ "outputs": [
384
+ {
385
+ "name": "",
386
+ "type": "address",
387
+ "internalType": "address"
388
+ }
389
+ ],
390
+ "stateMutability": "view"
391
+ },
392
+ {
393
+ "type": "function",
394
+ "name": "quoteBuy",
395
+ "inputs": [
396
+ {
397
+ "name": "token",
398
+ "type": "address",
399
+ "internalType": "address"
400
+ },
401
+ {
402
+ "name": "amountIn",
403
+ "type": "uint256",
404
+ "internalType": "uint256"
405
+ }
406
+ ],
407
+ "outputs": [
408
+ {
409
+ "name": "",
410
+ "type": "uint256",
411
+ "internalType": "uint256"
412
+ }
413
+ ],
414
+ "stateMutability": "view"
415
+ },
416
+ {
417
+ "type": "function",
418
+ "name": "quoteSell",
419
+ "inputs": [
420
+ {
421
+ "name": "token",
422
+ "type": "address",
423
+ "internalType": "address"
424
+ },
425
+ {
426
+ "name": "tokensIn",
427
+ "type": "uint256",
428
+ "internalType": "uint256"
429
+ }
430
+ ],
431
+ "outputs": [
432
+ {
433
+ "name": "",
434
+ "type": "uint256",
435
+ "internalType": "uint256"
436
+ }
437
+ ],
438
+ "stateMutability": "view"
439
+ },
440
+ {
441
+ "type": "function",
442
+ "name": "raiseThreshold",
443
+ "inputs": [],
444
+ "outputs": [
445
+ {
446
+ "name": "",
447
+ "type": "uint256",
448
+ "internalType": "uint256"
449
+ }
450
+ ],
451
+ "stateMutability": "view"
452
+ },
453
+ {
454
+ "type": "function",
455
+ "name": "raiseThreshold",
456
+ "inputs": [
457
+ {
458
+ "name": "token",
459
+ "type": "address",
460
+ "internalType": "address"
461
+ }
462
+ ],
463
+ "outputs": [
464
+ {
465
+ "name": "",
466
+ "type": "uint256",
467
+ "internalType": "uint256"
468
+ }
469
+ ],
470
+ "stateMutability": "view"
471
+ },
472
+ {
473
+ "type": "function",
474
+ "name": "MIN_CURVE_FEE_BPS",
475
+ "inputs": [],
476
+ "outputs": [
477
+ {
478
+ "name": "",
479
+ "type": "uint16",
480
+ "internalType": "uint16"
481
+ }
482
+ ],
483
+ "stateMutability": "view"
484
+ },
485
+ {
486
+ "type": "function",
487
+ "name": "MAX_CURVE_FEE_BPS",
488
+ "inputs": [],
489
+ "outputs": [
490
+ {
491
+ "name": "",
492
+ "type": "uint16",
493
+ "internalType": "uint16"
494
+ }
495
+ ],
496
+ "stateMutability": "view"
497
+ },
498
+ {
499
+ "type": "function",
500
+ "name": "maxGraduationCutBps",
501
+ "inputs": [],
502
+ "outputs": [
503
+ {
504
+ "name": "",
505
+ "type": "uint16",
506
+ "internalType": "uint16"
507
+ }
508
+ ],
509
+ "stateMutability": "view"
510
+ },
511
+ {
512
+ "type": "function",
513
+ "name": "protocolCutBps",
514
+ "inputs": [],
515
+ "outputs": [
516
+ {
517
+ "name": "",
518
+ "type": "uint16",
519
+ "internalType": "uint16"
520
+ }
521
+ ],
522
+ "stateMutability": "view"
523
+ },
524
+ {
525
+ "type": "function",
526
+ "name": "feeController",
527
+ "inputs": [],
528
+ "outputs": [
529
+ {
530
+ "name": "",
531
+ "type": "address",
532
+ "internalType": "contract IFeeController"
533
+ }
534
+ ],
535
+ "stateMutability": "view"
536
+ },
537
+ {
538
+ "type": "function",
539
+ "name": "governance",
540
+ "inputs": [],
541
+ "outputs": [
542
+ {
543
+ "name": "",
544
+ "type": "address",
545
+ "internalType": "address"
546
+ }
547
+ ],
548
+ "stateMutability": "view"
549
+ },
550
+ {
551
+ "type": "function",
552
+ "name": "graduationPoolDeployer",
553
+ "inputs": [],
554
+ "outputs": [
555
+ {
556
+ "name": "",
557
+ "type": "address",
558
+ "internalType": "address"
559
+ }
560
+ ],
561
+ "stateMutability": "view"
562
+ },
563
+ {
564
+ "type": "function",
565
+ "name": "launchEscrowDeployer",
566
+ "inputs": [],
567
+ "outputs": [
568
+ {
569
+ "name": "",
570
+ "type": "address",
571
+ "internalType": "address"
572
+ }
573
+ ],
574
+ "stateMutability": "view"
575
+ },
576
+ {
577
+ "type": "function",
578
+ "name": "wNative",
579
+ "inputs": [],
580
+ "outputs": [
581
+ {
582
+ "name": "",
583
+ "type": "address",
584
+ "internalType": "contract IWNative"
585
+ }
586
+ ],
587
+ "stateMutability": "view"
588
+ },
589
+ {
590
+ "type": "function",
591
+ "name": "createLaunch",
592
+ "inputs": [
593
+ {
594
+ "name": "name",
595
+ "type": "string",
596
+ "internalType": "string"
597
+ },
598
+ {
599
+ "name": "symbol",
600
+ "type": "string",
601
+ "internalType": "string"
602
+ },
603
+ {
604
+ "name": "creatorBps",
605
+ "type": "uint16",
606
+ "internalType": "uint16"
607
+ },
608
+ {
609
+ "name": "curveFeeBps",
610
+ "type": "uint16",
611
+ "internalType": "uint16"
612
+ },
613
+ {
614
+ "name": "payoutWallet",
615
+ "type": "address",
616
+ "internalType": "address"
617
+ },
618
+ {
619
+ "name": "metadataURI",
620
+ "type": "string",
621
+ "internalType": "string"
622
+ }
623
+ ],
624
+ "outputs": [
625
+ {
626
+ "name": "token",
627
+ "type": "address",
628
+ "internalType": "contract LaunchToken"
629
+ }
630
+ ],
631
+ "stateMutability": "nonpayable"
632
+ },
633
+ {
634
+ "type": "function",
635
+ "name": "createLaunch",
636
+ "inputs": [
637
+ {
638
+ "name": "name",
639
+ "type": "string",
640
+ "internalType": "string"
641
+ },
642
+ {
643
+ "name": "symbol",
644
+ "type": "string",
645
+ "internalType": "string"
646
+ },
647
+ {
648
+ "name": "creatorBps",
649
+ "type": "uint16",
650
+ "internalType": "uint16"
651
+ },
652
+ {
653
+ "name": "curveFeeBps",
654
+ "type": "uint16",
655
+ "internalType": "uint16"
656
+ },
657
+ {
658
+ "name": "payoutWallet",
659
+ "type": "address",
660
+ "internalType": "address"
661
+ },
662
+ {
663
+ "name": "metadataURI",
664
+ "type": "string",
665
+ "internalType": "string"
666
+ },
667
+ {
668
+ "name": "curveId",
669
+ "type": "uint32",
670
+ "internalType": "uint32"
671
+ }
672
+ ],
673
+ "outputs": [
674
+ {
675
+ "name": "token",
676
+ "type": "address",
677
+ "internalType": "contract LaunchToken"
678
+ }
679
+ ],
680
+ "stateMutability": "nonpayable"
681
+ },
682
+ {
683
+ "type": "function",
684
+ "name": "createLaunchVanity",
685
+ "inputs": [
686
+ {
687
+ "name": "name",
688
+ "type": "string",
689
+ "internalType": "string"
690
+ },
691
+ {
692
+ "name": "symbol",
693
+ "type": "string",
694
+ "internalType": "string"
695
+ },
696
+ {
697
+ "name": "creatorBps",
698
+ "type": "uint16",
699
+ "internalType": "uint16"
700
+ },
701
+ {
702
+ "name": "curveFeeBps",
703
+ "type": "uint16",
704
+ "internalType": "uint16"
705
+ },
706
+ {
707
+ "name": "payoutWallet",
708
+ "type": "address",
709
+ "internalType": "address"
710
+ },
711
+ {
712
+ "name": "metadataURI",
713
+ "type": "string",
714
+ "internalType": "string"
715
+ },
716
+ {
717
+ "name": "salt",
718
+ "type": "bytes32",
719
+ "internalType": "bytes32"
720
+ }
721
+ ],
722
+ "outputs": [
723
+ {
724
+ "name": "token",
725
+ "type": "address",
726
+ "internalType": "contract LaunchToken"
727
+ }
728
+ ],
729
+ "stateMutability": "nonpayable"
730
+ },
731
+ {
732
+ "type": "function",
733
+ "name": "createLaunchVanity",
734
+ "inputs": [
735
+ {
736
+ "name": "name",
737
+ "type": "string",
738
+ "internalType": "string"
739
+ },
740
+ {
741
+ "name": "symbol",
742
+ "type": "string",
743
+ "internalType": "string"
744
+ },
745
+ {
746
+ "name": "creatorBps",
747
+ "type": "uint16",
748
+ "internalType": "uint16"
749
+ },
750
+ {
751
+ "name": "curveFeeBps",
752
+ "type": "uint16",
753
+ "internalType": "uint16"
754
+ },
755
+ {
756
+ "name": "payoutWallet",
757
+ "type": "address",
758
+ "internalType": "address"
759
+ },
760
+ {
761
+ "name": "metadataURI",
762
+ "type": "string",
763
+ "internalType": "string"
764
+ },
765
+ {
766
+ "name": "salt",
767
+ "type": "bytes32",
768
+ "internalType": "bytes32"
769
+ },
770
+ {
771
+ "name": "curveId",
772
+ "type": "uint32",
773
+ "internalType": "uint32"
774
+ }
775
+ ],
776
+ "outputs": [
777
+ {
778
+ "name": "token",
779
+ "type": "address",
780
+ "internalType": "contract LaunchToken"
781
+ }
782
+ ],
783
+ "stateMutability": "nonpayable"
784
+ },
785
+ {
786
+ "type": "function",
787
+ "name": "buy",
788
+ "inputs": [
789
+ {
790
+ "name": "token",
791
+ "type": "address",
792
+ "internalType": "address"
793
+ },
794
+ {
795
+ "name": "minTokensOut",
796
+ "type": "uint256",
797
+ "internalType": "uint256"
798
+ }
799
+ ],
800
+ "outputs": [
801
+ {
802
+ "name": "tokensOut",
803
+ "type": "uint256",
804
+ "internalType": "uint256"
805
+ }
806
+ ],
807
+ "stateMutability": "payable"
808
+ },
809
+ {
810
+ "type": "function",
811
+ "name": "sell",
812
+ "inputs": [
813
+ {
814
+ "name": "token",
815
+ "type": "address",
816
+ "internalType": "address"
817
+ },
818
+ {
819
+ "name": "tokensIn",
820
+ "type": "uint256",
821
+ "internalType": "uint256"
822
+ },
823
+ {
824
+ "name": "minAmountOut",
825
+ "type": "uint256",
826
+ "internalType": "uint256"
827
+ }
828
+ ],
829
+ "outputs": [
830
+ {
831
+ "name": "amountOut",
832
+ "type": "uint256",
833
+ "internalType": "uint256"
834
+ }
835
+ ],
836
+ "stateMutability": "nonpayable"
837
+ },
838
+ {
839
+ "type": "function",
840
+ "name": "graduate",
841
+ "inputs": [
842
+ {
843
+ "name": "token",
844
+ "type": "address",
845
+ "internalType": "address"
846
+ }
847
+ ],
848
+ "outputs": [
849
+ {
850
+ "name": "pool",
851
+ "type": "address",
852
+ "internalType": "address"
853
+ }
854
+ ],
855
+ "stateMutability": "nonpayable"
856
+ },
857
+ {
858
+ "type": "function",
859
+ "name": "claim",
860
+ "inputs": [],
861
+ "outputs": [
862
+ {
863
+ "name": "amount",
864
+ "type": "uint256",
865
+ "internalType": "uint256"
866
+ }
867
+ ],
868
+ "stateMutability": "nonpayable"
869
+ },
870
+ {
871
+ "type": "function",
872
+ "name": "claimAll",
873
+ "inputs": [
874
+ {
875
+ "name": "token",
876
+ "type": "address",
877
+ "internalType": "address"
878
+ }
879
+ ],
880
+ "outputs": [
881
+ {
882
+ "name": "nativeClaimed",
883
+ "type": "uint256",
884
+ "internalType": "uint256"
885
+ },
886
+ {
887
+ "name": "poolAmount0",
888
+ "type": "uint256",
889
+ "internalType": "uint256"
890
+ },
891
+ {
892
+ "name": "poolAmount1",
893
+ "type": "uint256",
894
+ "internalType": "uint256"
895
+ }
896
+ ],
897
+ "stateMutability": "nonpayable"
898
+ },
899
+ {
900
+ "type": "event",
901
+ "name": "LaunchCreated",
902
+ "inputs": [
903
+ {
904
+ "name": "token",
905
+ "type": "address",
906
+ "indexed": true,
907
+ "internalType": "address"
908
+ },
909
+ {
910
+ "name": "creator",
911
+ "type": "address",
912
+ "indexed": true,
913
+ "internalType": "address"
914
+ },
915
+ {
916
+ "name": "creatorBps",
917
+ "type": "uint16",
918
+ "indexed": false,
919
+ "internalType": "uint16"
920
+ },
921
+ {
922
+ "name": "curveFeeBps",
923
+ "type": "uint16",
924
+ "indexed": false,
925
+ "internalType": "uint16"
926
+ },
927
+ {
928
+ "name": "payoutWallet",
929
+ "type": "address",
930
+ "indexed": false,
931
+ "internalType": "address"
932
+ },
933
+ {
934
+ "name": "metadataURI",
935
+ "type": "string",
936
+ "indexed": false,
937
+ "internalType": "string"
938
+ }
939
+ ],
940
+ "anonymous": false
941
+ },
942
+ {
943
+ "type": "event",
944
+ "name": "CurveAvailabilitySet",
945
+ "inputs": [
946
+ {
947
+ "name": "curveId",
948
+ "type": "uint32",
949
+ "indexed": true,
950
+ "internalType": "uint32"
951
+ },
952
+ {
953
+ "name": "enabledForNewLaunches",
954
+ "type": "bool",
955
+ "indexed": false,
956
+ "internalType": "bool"
957
+ }
958
+ ],
959
+ "anonymous": false
960
+ },
961
+ {
962
+ "type": "event",
963
+ "name": "CurveRegistered",
964
+ "inputs": [
965
+ {
966
+ "name": "curveId",
967
+ "type": "uint32",
968
+ "indexed": true,
969
+ "internalType": "uint32"
970
+ },
971
+ {
972
+ "name": "implementation",
973
+ "type": "address",
974
+ "indexed": true,
975
+ "internalType": "address"
976
+ },
977
+ {
978
+ "name": "codeHash",
979
+ "type": "bytes32",
980
+ "indexed": false,
981
+ "internalType": "bytes32"
982
+ }
983
+ ],
984
+ "anonymous": false
985
+ },
986
+ {
987
+ "type": "event",
988
+ "name": "CurveSelected",
989
+ "inputs": [
990
+ {
991
+ "name": "token",
992
+ "type": "address",
993
+ "indexed": true,
994
+ "internalType": "address"
995
+ },
996
+ {
997
+ "name": "curveId",
998
+ "type": "uint32",
999
+ "indexed": true,
1000
+ "internalType": "uint32"
1001
+ },
1002
+ {
1003
+ "name": "implementation",
1004
+ "type": "address",
1005
+ "indexed": true,
1006
+ "internalType": "address"
1007
+ },
1008
+ {
1009
+ "name": "quoteTarget",
1010
+ "type": "uint256",
1011
+ "indexed": false,
1012
+ "internalType": "uint256"
1013
+ }
1014
+ ],
1015
+ "anonymous": false
1016
+ },
1017
+ {
1018
+ "type": "event",
1019
+ "name": "Buy",
1020
+ "inputs": [
1021
+ {
1022
+ "name": "token",
1023
+ "type": "address",
1024
+ "indexed": true,
1025
+ "internalType": "address"
1026
+ },
1027
+ {
1028
+ "name": "buyer",
1029
+ "type": "address",
1030
+ "indexed": true,
1031
+ "internalType": "address"
1032
+ },
1033
+ {
1034
+ "name": "amountIn",
1035
+ "type": "uint256",
1036
+ "indexed": false,
1037
+ "internalType": "uint256"
1038
+ },
1039
+ {
1040
+ "name": "tokensOut",
1041
+ "type": "uint256",
1042
+ "indexed": false,
1043
+ "internalType": "uint256"
1044
+ }
1045
+ ],
1046
+ "anonymous": false
1047
+ },
1048
+ {
1049
+ "type": "event",
1050
+ "name": "Sell",
1051
+ "inputs": [
1052
+ {
1053
+ "name": "token",
1054
+ "type": "address",
1055
+ "indexed": true,
1056
+ "internalType": "address"
1057
+ },
1058
+ {
1059
+ "name": "seller",
1060
+ "type": "address",
1061
+ "indexed": true,
1062
+ "internalType": "address"
1063
+ },
1064
+ {
1065
+ "name": "tokensIn",
1066
+ "type": "uint256",
1067
+ "indexed": false,
1068
+ "internalType": "uint256"
1069
+ },
1070
+ {
1071
+ "name": "amountOut",
1072
+ "type": "uint256",
1073
+ "indexed": false,
1074
+ "internalType": "uint256"
1075
+ }
1076
+ ],
1077
+ "anonymous": false
1078
+ },
1079
+ {
1080
+ "type": "event",
1081
+ "name": "Graduated",
1082
+ "inputs": [
1083
+ {
1084
+ "name": "token",
1085
+ "type": "address",
1086
+ "indexed": true,
1087
+ "internalType": "address"
1088
+ },
1089
+ {
1090
+ "name": "pool",
1091
+ "type": "address",
1092
+ "indexed": true,
1093
+ "internalType": "address"
1094
+ },
1095
+ {
1096
+ "name": "totalRaised",
1097
+ "type": "uint256",
1098
+ "indexed": false,
1099
+ "internalType": "uint256"
1100
+ },
1101
+ {
1102
+ "name": "creatorCut",
1103
+ "type": "uint256",
1104
+ "indexed": false,
1105
+ "internalType": "uint256"
1106
+ },
1107
+ {
1108
+ "name": "protocolCut",
1109
+ "type": "uint256",
1110
+ "indexed": false,
1111
+ "internalType": "uint256"
1112
+ },
1113
+ {
1114
+ "name": "poolQuote",
1115
+ "type": "uint256",
1116
+ "indexed": false,
1117
+ "internalType": "uint256"
1118
+ },
1119
+ {
1120
+ "name": "poolTokens",
1121
+ "type": "uint256",
1122
+ "indexed": false,
1123
+ "internalType": "uint256"
1124
+ },
1125
+ {
1126
+ "name": "burnedTokens",
1127
+ "type": "uint256",
1128
+ "indexed": false,
1129
+ "internalType": "uint256"
1130
+ }
1131
+ ],
1132
+ "anonymous": false
1133
+ },
1134
+ {
1135
+ "type": "event",
1136
+ "name": "Claimed",
1137
+ "inputs": [
1138
+ {
1139
+ "name": "to",
1140
+ "type": "address",
1141
+ "indexed": true,
1142
+ "internalType": "address"
1143
+ },
1144
+ {
1145
+ "name": "amount",
1146
+ "type": "uint256",
1147
+ "indexed": false,
1148
+ "internalType": "uint256"
1149
+ }
1150
+ ],
1151
+ "anonymous": false
1152
+ }
1153
+ ];
1154
+ export const routerAbi = [
1155
+ {
1156
+ "type": "function",
1157
+ "name": "NATIVE",
1158
+ "inputs": [],
1159
+ "outputs": [
1160
+ {
1161
+ "name": "",
1162
+ "type": "address",
1163
+ "internalType": "address"
1164
+ }
1165
+ ],
1166
+ "stateMutability": "view"
1167
+ },
1168
+ {
1169
+ "type": "function",
1170
+ "name": "quote",
1171
+ "inputs": [
1172
+ {
1173
+ "name": "tokenIn",
1174
+ "type": "address",
1175
+ "internalType": "address"
1176
+ },
1177
+ {
1178
+ "name": "tokenOut",
1179
+ "type": "address",
1180
+ "internalType": "address"
1181
+ },
1182
+ {
1183
+ "name": "amountIn",
1184
+ "type": "uint256",
1185
+ "internalType": "uint256"
1186
+ }
1187
+ ],
1188
+ "outputs": [
1189
+ {
1190
+ "name": "venue",
1191
+ "type": "uint8",
1192
+ "internalType": "enum Router.Venue"
1193
+ },
1194
+ {
1195
+ "name": "pool",
1196
+ "type": "address",
1197
+ "internalType": "address"
1198
+ },
1199
+ {
1200
+ "name": "amountOut",
1201
+ "type": "uint256",
1202
+ "internalType": "uint256"
1203
+ }
1204
+ ],
1205
+ "stateMutability": "view"
1206
+ },
1207
+ {
1208
+ "type": "function",
1209
+ "name": "buy",
1210
+ "inputs": [
1211
+ {
1212
+ "name": "token",
1213
+ "type": "address",
1214
+ "internalType": "address"
1215
+ },
1216
+ {
1217
+ "name": "minTokensOut",
1218
+ "type": "uint256",
1219
+ "internalType": "uint256"
1220
+ },
1221
+ {
1222
+ "name": "deadline",
1223
+ "type": "uint256",
1224
+ "internalType": "uint256"
1225
+ }
1226
+ ],
1227
+ "outputs": [
1228
+ {
1229
+ "name": "tokensOut",
1230
+ "type": "uint256",
1231
+ "internalType": "uint256"
1232
+ }
1233
+ ],
1234
+ "stateMutability": "payable"
1235
+ },
1236
+ {
1237
+ "type": "function",
1238
+ "name": "sell",
1239
+ "inputs": [
1240
+ {
1241
+ "name": "token",
1242
+ "type": "address",
1243
+ "internalType": "address"
1244
+ },
1245
+ {
1246
+ "name": "tokensIn",
1247
+ "type": "uint256",
1248
+ "internalType": "uint256"
1249
+ },
1250
+ {
1251
+ "name": "minAmountOut",
1252
+ "type": "uint256",
1253
+ "internalType": "uint256"
1254
+ },
1255
+ {
1256
+ "name": "deadline",
1257
+ "type": "uint256",
1258
+ "internalType": "uint256"
1259
+ }
1260
+ ],
1261
+ "outputs": [
1262
+ {
1263
+ "name": "amountOut",
1264
+ "type": "uint256",
1265
+ "internalType": "uint256"
1266
+ }
1267
+ ],
1268
+ "stateMutability": "nonpayable"
1269
+ },
1270
+ {
1271
+ "type": "function",
1272
+ "name": "swapExactIn",
1273
+ "inputs": [
1274
+ {
1275
+ "name": "tokenIn",
1276
+ "type": "address",
1277
+ "internalType": "address"
1278
+ },
1279
+ {
1280
+ "name": "tokenOut",
1281
+ "type": "address",
1282
+ "internalType": "address"
1283
+ },
1284
+ {
1285
+ "name": "amountIn",
1286
+ "type": "uint256",
1287
+ "internalType": "uint256"
1288
+ },
1289
+ {
1290
+ "name": "amountOutMin",
1291
+ "type": "uint256",
1292
+ "internalType": "uint256"
1293
+ },
1294
+ {
1295
+ "name": "to",
1296
+ "type": "address",
1297
+ "internalType": "address"
1298
+ },
1299
+ {
1300
+ "name": "deadline",
1301
+ "type": "uint256",
1302
+ "internalType": "uint256"
1303
+ }
1304
+ ],
1305
+ "outputs": [
1306
+ {
1307
+ "name": "amountOut",
1308
+ "type": "uint256",
1309
+ "internalType": "uint256"
1310
+ }
1311
+ ],
1312
+ "stateMutability": "payable"
1313
+ },
1314
+ {
1315
+ "type": "function",
1316
+ "name": "launchpad",
1317
+ "inputs": [],
1318
+ "outputs": [
1319
+ {
1320
+ "name": "",
1321
+ "type": "address",
1322
+ "internalType": "contract ILaunchpadRouter"
1323
+ }
1324
+ ],
1325
+ "stateMutability": "view"
1326
+ },
1327
+ {
1328
+ "type": "function",
1329
+ "name": "lbFactory",
1330
+ "inputs": [],
1331
+ "outputs": [
1332
+ {
1333
+ "name": "",
1334
+ "type": "address",
1335
+ "internalType": "contract ILBFactory"
1336
+ }
1337
+ ],
1338
+ "stateMutability": "view"
1339
+ },
1340
+ {
1341
+ "type": "function",
1342
+ "name": "wNative",
1343
+ "inputs": [],
1344
+ "outputs": [
1345
+ {
1346
+ "name": "",
1347
+ "type": "address",
1348
+ "internalType": "contract IWNative"
1349
+ }
1350
+ ],
1351
+ "stateMutability": "view"
1352
+ },
1353
+ {
1354
+ "type": "event",
1355
+ "name": "Swap",
1356
+ "inputs": [
1357
+ {
1358
+ "name": "sender",
1359
+ "type": "address",
1360
+ "indexed": true,
1361
+ "internalType": "address"
1362
+ },
1363
+ {
1364
+ "name": "pool",
1365
+ "type": "address",
1366
+ "indexed": true,
1367
+ "internalType": "address"
1368
+ },
1369
+ {
1370
+ "name": "amountIn",
1371
+ "type": "uint256",
1372
+ "indexed": false,
1373
+ "internalType": "uint256"
1374
+ },
1375
+ {
1376
+ "name": "amountOut",
1377
+ "type": "uint256",
1378
+ "indexed": false,
1379
+ "internalType": "uint256"
1380
+ },
1381
+ {
1382
+ "name": "to",
1383
+ "type": "address",
1384
+ "indexed": true,
1385
+ "internalType": "address"
1386
+ }
1387
+ ],
1388
+ "anonymous": false
1389
+ }
1390
+ ];
1391
+ export const feeControllerAbi = [
1392
+ {
1393
+ "type": "function",
1394
+ "name": "collectFees",
1395
+ "inputs": [
1396
+ {
1397
+ "name": "pair",
1398
+ "type": "address",
1399
+ "internalType": "address"
1400
+ }
1401
+ ],
1402
+ "outputs": [
1403
+ {
1404
+ "name": "amount0",
1405
+ "type": "uint256",
1406
+ "internalType": "uint256"
1407
+ },
1408
+ {
1409
+ "name": "amount1",
1410
+ "type": "uint256",
1411
+ "internalType": "uint256"
1412
+ },
1413
+ {
1414
+ "name": "protocol0",
1415
+ "type": "uint256",
1416
+ "internalType": "uint256"
1417
+ },
1418
+ {
1419
+ "name": "protocol1",
1420
+ "type": "uint256",
1421
+ "internalType": "uint256"
1422
+ },
1423
+ {
1424
+ "name": "creator0",
1425
+ "type": "uint256",
1426
+ "internalType": "uint256"
1427
+ },
1428
+ {
1429
+ "name": "creator1",
1430
+ "type": "uint256",
1431
+ "internalType": "uint256"
1432
+ }
1433
+ ],
1434
+ "stateMutability": "nonpayable"
1435
+ },
1436
+ {
1437
+ "type": "function",
1438
+ "name": "collectLBFees",
1439
+ "inputs": [
1440
+ {
1441
+ "name": "pair",
1442
+ "type": "address",
1443
+ "internalType": "address"
1444
+ }
1445
+ ],
1446
+ "outputs": [
1447
+ {
1448
+ "name": "amount0",
1449
+ "type": "uint256",
1450
+ "internalType": "uint256"
1451
+ },
1452
+ {
1453
+ "name": "amount1",
1454
+ "type": "uint256",
1455
+ "internalType": "uint256"
1456
+ }
1457
+ ],
1458
+ "stateMutability": "nonpayable"
1459
+ },
1460
+ {
1461
+ "type": "function",
1462
+ "name": "launchpad",
1463
+ "inputs": [],
1464
+ "outputs": [
1465
+ {
1466
+ "name": "",
1467
+ "type": "address",
1468
+ "internalType": "address"
1469
+ }
1470
+ ],
1471
+ "stateMutability": "view"
1472
+ },
1473
+ {
1474
+ "type": "function",
1475
+ "name": "lbFactory",
1476
+ "inputs": [],
1477
+ "outputs": [
1478
+ {
1479
+ "name": "",
1480
+ "type": "address",
1481
+ "internalType": "address"
1482
+ }
1483
+ ],
1484
+ "stateMutability": "view"
1485
+ },
1486
+ {
1487
+ "type": "event",
1488
+ "name": "FeesCollected",
1489
+ "inputs": [
1490
+ {
1491
+ "name": "pair",
1492
+ "type": "address",
1493
+ "indexed": true,
1494
+ "internalType": "address"
1495
+ },
1496
+ {
1497
+ "name": "caller",
1498
+ "type": "address",
1499
+ "indexed": true,
1500
+ "internalType": "address"
1501
+ },
1502
+ {
1503
+ "name": "amount0",
1504
+ "type": "uint256",
1505
+ "indexed": false,
1506
+ "internalType": "uint256"
1507
+ },
1508
+ {
1509
+ "name": "amount1",
1510
+ "type": "uint256",
1511
+ "indexed": false,
1512
+ "internalType": "uint256"
1513
+ },
1514
+ {
1515
+ "name": "protocolAmount0",
1516
+ "type": "uint256",
1517
+ "indexed": false,
1518
+ "internalType": "uint256"
1519
+ },
1520
+ {
1521
+ "name": "protocolAmount1",
1522
+ "type": "uint256",
1523
+ "indexed": false,
1524
+ "internalType": "uint256"
1525
+ },
1526
+ {
1527
+ "name": "creatorAmount0",
1528
+ "type": "uint256",
1529
+ "indexed": false,
1530
+ "internalType": "uint256"
1531
+ },
1532
+ {
1533
+ "name": "creatorAmount1",
1534
+ "type": "uint256",
1535
+ "indexed": false,
1536
+ "internalType": "uint256"
1537
+ }
1538
+ ],
1539
+ "anonymous": false
1540
+ }
1541
+ ];
1542
+ export const graduationPoolAbi = [
1543
+ {
1544
+ "type": "function",
1545
+ "name": "token0",
1546
+ "inputs": [],
1547
+ "outputs": [
1548
+ {
1549
+ "name": "",
1550
+ "type": "address",
1551
+ "internalType": "address"
1552
+ }
1553
+ ],
1554
+ "stateMutability": "view"
1555
+ },
1556
+ {
1557
+ "type": "function",
1558
+ "name": "token1",
1559
+ "inputs": [],
1560
+ "outputs": [
1561
+ {
1562
+ "name": "",
1563
+ "type": "address",
1564
+ "internalType": "address"
1565
+ }
1566
+ ],
1567
+ "stateMutability": "view"
1568
+ },
1569
+ {
1570
+ "type": "function",
1571
+ "name": "feeBps",
1572
+ "inputs": [],
1573
+ "outputs": [
1574
+ {
1575
+ "name": "",
1576
+ "type": "uint16",
1577
+ "internalType": "uint16"
1578
+ }
1579
+ ],
1580
+ "stateMutability": "view"
1581
+ },
1582
+ {
1583
+ "type": "function",
1584
+ "name": "getReserves",
1585
+ "inputs": [],
1586
+ "outputs": [
1587
+ {
1588
+ "name": "",
1589
+ "type": "uint256",
1590
+ "internalType": "uint256"
1591
+ },
1592
+ {
1593
+ "name": "",
1594
+ "type": "uint256",
1595
+ "internalType": "uint256"
1596
+ },
1597
+ {
1598
+ "name": "",
1599
+ "type": "uint256",
1600
+ "internalType": "uint256"
1601
+ }
1602
+ ],
1603
+ "stateMutability": "view"
1604
+ },
1605
+ {
1606
+ "type": "function",
1607
+ "name": "protocolFees0",
1608
+ "inputs": [],
1609
+ "outputs": [
1610
+ {
1611
+ "name": "",
1612
+ "type": "uint256",
1613
+ "internalType": "uint256"
1614
+ }
1615
+ ],
1616
+ "stateMutability": "view"
1617
+ },
1618
+ {
1619
+ "type": "function",
1620
+ "name": "protocolFees1",
1621
+ "inputs": [],
1622
+ "outputs": [
1623
+ {
1624
+ "name": "",
1625
+ "type": "uint256",
1626
+ "internalType": "uint256"
1627
+ }
1628
+ ],
1629
+ "stateMutability": "view"
1630
+ },
1631
+ {
1632
+ "type": "function",
1633
+ "name": "collectProtocolFees",
1634
+ "inputs": [
1635
+ {
1636
+ "name": "to",
1637
+ "type": "address",
1638
+ "internalType": "address"
1639
+ }
1640
+ ],
1641
+ "outputs": [
1642
+ {
1643
+ "name": "amount0",
1644
+ "type": "uint256",
1645
+ "internalType": "uint256"
1646
+ },
1647
+ {
1648
+ "name": "amount1",
1649
+ "type": "uint256",
1650
+ "internalType": "uint256"
1651
+ }
1652
+ ],
1653
+ "stateMutability": "nonpayable"
1654
+ },
1655
+ {
1656
+ "type": "event",
1657
+ "name": "Swap",
1658
+ "inputs": [
1659
+ {
1660
+ "name": "sender",
1661
+ "type": "address",
1662
+ "indexed": true,
1663
+ "internalType": "address"
1664
+ },
1665
+ {
1666
+ "name": "amount0In",
1667
+ "type": "uint256",
1668
+ "indexed": false,
1669
+ "internalType": "uint256"
1670
+ },
1671
+ {
1672
+ "name": "amount1In",
1673
+ "type": "uint256",
1674
+ "indexed": false,
1675
+ "internalType": "uint256"
1676
+ },
1677
+ {
1678
+ "name": "amount0Out",
1679
+ "type": "uint256",
1680
+ "indexed": false,
1681
+ "internalType": "uint256"
1682
+ },
1683
+ {
1684
+ "name": "amount1Out",
1685
+ "type": "uint256",
1686
+ "indexed": false,
1687
+ "internalType": "uint256"
1688
+ },
1689
+ {
1690
+ "name": "to",
1691
+ "type": "address",
1692
+ "indexed": true,
1693
+ "internalType": "address"
1694
+ }
1695
+ ],
1696
+ "anonymous": false
1697
+ },
1698
+ {
1699
+ "type": "event",
1700
+ "name": "ProtocolFeesCollected",
1701
+ "inputs": [
1702
+ {
1703
+ "name": "to",
1704
+ "type": "address",
1705
+ "indexed": true,
1706
+ "internalType": "address"
1707
+ },
1708
+ {
1709
+ "name": "amount0",
1710
+ "type": "uint256",
1711
+ "indexed": false,
1712
+ "internalType": "uint256"
1713
+ },
1714
+ {
1715
+ "name": "amount1",
1716
+ "type": "uint256",
1717
+ "indexed": false,
1718
+ "internalType": "uint256"
1719
+ }
1720
+ ],
1721
+ "anonymous": false
1722
+ }
1723
+ ];
1724
+ export const launchTokenAbi = [
1725
+ {
1726
+ "type": "function",
1727
+ "name": "name",
1728
+ "inputs": [],
1729
+ "outputs": [
1730
+ {
1731
+ "name": "",
1732
+ "type": "string",
1733
+ "internalType": "string"
1734
+ }
1735
+ ],
1736
+ "stateMutability": "view"
1737
+ },
1738
+ {
1739
+ "type": "function",
1740
+ "name": "symbol",
1741
+ "inputs": [],
1742
+ "outputs": [
1743
+ {
1744
+ "name": "",
1745
+ "type": "string",
1746
+ "internalType": "string"
1747
+ }
1748
+ ],
1749
+ "stateMutability": "view"
1750
+ },
1751
+ {
1752
+ "type": "function",
1753
+ "name": "decimals",
1754
+ "inputs": [],
1755
+ "outputs": [
1756
+ {
1757
+ "name": "",
1758
+ "type": "uint8",
1759
+ "internalType": "uint8"
1760
+ }
1761
+ ],
1762
+ "stateMutability": "view"
1763
+ },
1764
+ {
1765
+ "type": "function",
1766
+ "name": "totalSupply",
1767
+ "inputs": [],
1768
+ "outputs": [
1769
+ {
1770
+ "name": "",
1771
+ "type": "uint256",
1772
+ "internalType": "uint256"
1773
+ }
1774
+ ],
1775
+ "stateMutability": "view"
1776
+ },
1777
+ {
1778
+ "type": "function",
1779
+ "name": "metadataURI",
1780
+ "inputs": [],
1781
+ "outputs": [
1782
+ {
1783
+ "name": "",
1784
+ "type": "string",
1785
+ "internalType": "string"
1786
+ }
1787
+ ],
1788
+ "stateMutability": "view"
1789
+ },
1790
+ {
1791
+ "type": "function",
1792
+ "name": "balanceOf",
1793
+ "inputs": [
1794
+ {
1795
+ "name": "",
1796
+ "type": "address",
1797
+ "internalType": "address"
1798
+ }
1799
+ ],
1800
+ "outputs": [
1801
+ {
1802
+ "name": "",
1803
+ "type": "uint256",
1804
+ "internalType": "uint256"
1805
+ }
1806
+ ],
1807
+ "stateMutability": "view"
1808
+ },
1809
+ {
1810
+ "type": "function",
1811
+ "name": "allowance",
1812
+ "inputs": [
1813
+ {
1814
+ "name": "",
1815
+ "type": "address",
1816
+ "internalType": "address"
1817
+ },
1818
+ {
1819
+ "name": "",
1820
+ "type": "address",
1821
+ "internalType": "address"
1822
+ }
1823
+ ],
1824
+ "outputs": [
1825
+ {
1826
+ "name": "",
1827
+ "type": "uint256",
1828
+ "internalType": "uint256"
1829
+ }
1830
+ ],
1831
+ "stateMutability": "view"
1832
+ },
1833
+ {
1834
+ "type": "function",
1835
+ "name": "approve",
1836
+ "inputs": [
1837
+ {
1838
+ "name": "spender",
1839
+ "type": "address",
1840
+ "internalType": "address"
1841
+ },
1842
+ {
1843
+ "name": "value",
1844
+ "type": "uint256",
1845
+ "internalType": "uint256"
1846
+ }
1847
+ ],
1848
+ "outputs": [
1849
+ {
1850
+ "name": "",
1851
+ "type": "bool",
1852
+ "internalType": "bool"
1853
+ }
1854
+ ],
1855
+ "stateMutability": "nonpayable"
1856
+ },
1857
+ {
1858
+ "type": "function",
1859
+ "name": "transfer",
1860
+ "inputs": [
1861
+ {
1862
+ "name": "to",
1863
+ "type": "address",
1864
+ "internalType": "address"
1865
+ },
1866
+ {
1867
+ "name": "value",
1868
+ "type": "uint256",
1869
+ "internalType": "uint256"
1870
+ }
1871
+ ],
1872
+ "outputs": [
1873
+ {
1874
+ "name": "",
1875
+ "type": "bool",
1876
+ "internalType": "bool"
1877
+ }
1878
+ ],
1879
+ "stateMutability": "nonpayable"
1880
+ },
1881
+ {
1882
+ "type": "function",
1883
+ "name": "transferFrom",
1884
+ "inputs": [
1885
+ {
1886
+ "name": "from",
1887
+ "type": "address",
1888
+ "internalType": "address"
1889
+ },
1890
+ {
1891
+ "name": "to",
1892
+ "type": "address",
1893
+ "internalType": "address"
1894
+ },
1895
+ {
1896
+ "name": "value",
1897
+ "type": "uint256",
1898
+ "internalType": "uint256"
1899
+ }
1900
+ ],
1901
+ "outputs": [
1902
+ {
1903
+ "name": "",
1904
+ "type": "bool",
1905
+ "internalType": "bool"
1906
+ }
1907
+ ],
1908
+ "stateMutability": "nonpayable"
1909
+ },
1910
+ {
1911
+ "type": "event",
1912
+ "name": "Approval",
1913
+ "inputs": [
1914
+ {
1915
+ "name": "owner",
1916
+ "type": "address",
1917
+ "indexed": true,
1918
+ "internalType": "address"
1919
+ },
1920
+ {
1921
+ "name": "spender",
1922
+ "type": "address",
1923
+ "indexed": true,
1924
+ "internalType": "address"
1925
+ },
1926
+ {
1927
+ "name": "value",
1928
+ "type": "uint256",
1929
+ "indexed": false,
1930
+ "internalType": "uint256"
1931
+ }
1932
+ ],
1933
+ "anonymous": false
1934
+ },
1935
+ {
1936
+ "type": "event",
1937
+ "name": "Transfer",
1938
+ "inputs": [
1939
+ {
1940
+ "name": "from",
1941
+ "type": "address",
1942
+ "indexed": true,
1943
+ "internalType": "address"
1944
+ },
1945
+ {
1946
+ "name": "to",
1947
+ "type": "address",
1948
+ "indexed": true,
1949
+ "internalType": "address"
1950
+ },
1951
+ {
1952
+ "name": "value",
1953
+ "type": "uint256",
1954
+ "indexed": false,
1955
+ "internalType": "uint256"
1956
+ }
1957
+ ],
1958
+ "anonymous": false
1959
+ }
1960
+ ];
1961
+ export const launchEscrowAbi = [
1962
+ {
1963
+ "type": "function",
1964
+ "name": "launchpad",
1965
+ "inputs": [],
1966
+ "outputs": [
1967
+ {
1968
+ "name": "",
1969
+ "type": "address",
1970
+ "internalType": "address"
1971
+ }
1972
+ ],
1973
+ "stateMutability": "view"
1974
+ },
1975
+ {
1976
+ "type": "function",
1977
+ "name": "token",
1978
+ "inputs": [],
1979
+ "outputs": [
1980
+ {
1981
+ "name": "",
1982
+ "type": "address",
1983
+ "internalType": "address"
1984
+ }
1985
+ ],
1986
+ "stateMutability": "view"
1987
+ },
1988
+ {
1989
+ "type": "function",
1990
+ "name": "backing",
1991
+ "inputs": [],
1992
+ "outputs": [
1993
+ {
1994
+ "name": "",
1995
+ "type": "uint256",
1996
+ "internalType": "uint256"
1997
+ }
1998
+ ],
1999
+ "stateMutability": "view"
2000
+ }
2001
+ ];
2002
+ export const launchEscrowDeployerAbi = [
2003
+ {
2004
+ "type": "function",
2005
+ "name": "implementation",
2006
+ "inputs": [],
2007
+ "outputs": [
2008
+ {
2009
+ "name": "",
2010
+ "type": "address",
2011
+ "internalType": "address"
2012
+ }
2013
+ ],
2014
+ "stateMutability": "view"
2015
+ },
2016
+ {
2017
+ "type": "function",
2018
+ "name": "predict",
2019
+ "inputs": [
2020
+ {
2021
+ "name": "launchpad",
2022
+ "type": "address",
2023
+ "internalType": "address"
2024
+ },
2025
+ {
2026
+ "name": "token",
2027
+ "type": "address",
2028
+ "internalType": "address"
2029
+ }
2030
+ ],
2031
+ "outputs": [
2032
+ {
2033
+ "name": "escrow",
2034
+ "type": "address",
2035
+ "internalType": "address"
2036
+ }
2037
+ ],
2038
+ "stateMutability": "view"
2039
+ }
2040
+ ];
2041
+ export const proxyAdminIdentityAbi = [
2042
+ {
2043
+ "type": "function",
2044
+ "name": "owner",
2045
+ "inputs": [],
2046
+ "outputs": [
2047
+ {
2048
+ "name": "",
2049
+ "type": "address",
2050
+ "internalType": "address"
2051
+ }
2052
+ ],
2053
+ "stateMutability": "view"
2054
+ }
2055
+ ];
2056
+ export const proxyUpgradeGateIdentityAbi = [
2057
+ {
2058
+ "type": "function",
2059
+ "name": "timelock",
2060
+ "inputs": [],
2061
+ "outputs": [
2062
+ {
2063
+ "name": "",
2064
+ "type": "address",
2065
+ "internalType": "address"
2066
+ }
2067
+ ],
2068
+ "stateMutability": "view"
2069
+ }
2070
+ ];
2071
+ export const lbFactoryIdentityAbi = [
2072
+ {
2073
+ "type": "function",
2074
+ "name": "getFeeRecipient",
2075
+ "inputs": [],
2076
+ "outputs": [
2077
+ {
2078
+ "name": "",
2079
+ "type": "address",
2080
+ "internalType": "address"
2081
+ }
2082
+ ],
2083
+ "stateMutability": "view"
2084
+ },
2085
+ {
2086
+ "type": "function",
2087
+ "name": "getLBPairImplementation",
2088
+ "inputs": [],
2089
+ "outputs": [
2090
+ {
2091
+ "name": "",
2092
+ "type": "address",
2093
+ "internalType": "address"
2094
+ }
2095
+ ],
2096
+ "stateMutability": "view"
2097
+ }
2098
+ ];
2099
+ export const lbRouterIdentityAbi = [
2100
+ {
2101
+ "type": "function",
2102
+ "name": "getFactory",
2103
+ "inputs": [],
2104
+ "outputs": [
2105
+ {
2106
+ "name": "",
2107
+ "type": "address",
2108
+ "internalType": "address"
2109
+ }
2110
+ ],
2111
+ "stateMutability": "view"
2112
+ },
2113
+ {
2114
+ "type": "function",
2115
+ "name": "getWNATIVE",
2116
+ "inputs": [],
2117
+ "outputs": [
2118
+ {
2119
+ "name": "",
2120
+ "type": "address",
2121
+ "internalType": "address"
2122
+ }
2123
+ ],
2124
+ "stateMutability": "view"
2125
+ }
2126
+ ];
2127
+ export const abiSignatures = {
2128
+ "launchpadAbi": [
2129
+ "function DEFAULT_CURVE_ID()",
2130
+ "function allLaunches(uint256)",
2131
+ "function allLaunchesLength()",
2132
+ "function amountRaised(address)",
2133
+ "function curveComplete(address)",
2134
+ "function curveCount()",
2135
+ "function curveIdOf(address)",
2136
+ "function curveImplementation(uint32)",
2137
+ "function curveOf(address)",
2138
+ "function curves(uint32)",
2139
+ "function escrowOf(address)",
2140
+ "function getLaunch(address)",
2141
+ "function launches(address)",
2142
+ "function isLaunchToken(address)",
2143
+ "function poolOf(address)",
2144
+ "function quoteBuy(address,uint256)",
2145
+ "function quoteSell(address,uint256)",
2146
+ "function raiseThreshold()",
2147
+ "function raiseThreshold(address)",
2148
+ "function MIN_CURVE_FEE_BPS()",
2149
+ "function MAX_CURVE_FEE_BPS()",
2150
+ "function maxGraduationCutBps()",
2151
+ "function protocolCutBps()",
2152
+ "function feeController()",
2153
+ "function governance()",
2154
+ "function graduationPoolDeployer()",
2155
+ "function launchEscrowDeployer()",
2156
+ "function wNative()",
2157
+ "function createLaunch(string,string,uint16,uint16,address,string)",
2158
+ "function createLaunch(string,string,uint16,uint16,address,string,uint32)",
2159
+ "function createLaunchVanity(string,string,uint16,uint16,address,string,bytes32)",
2160
+ "function createLaunchVanity(string,string,uint16,uint16,address,string,bytes32,uint32)",
2161
+ "function buy(address,uint256)",
2162
+ "function sell(address,uint256,uint256)",
2163
+ "function graduate(address)",
2164
+ "function claim()",
2165
+ "function claimAll(address)",
2166
+ "event LaunchCreated(address,address,uint16,uint16,address,string)",
2167
+ "event CurveAvailabilitySet(uint32,bool)",
2168
+ "event CurveRegistered(uint32,address,bytes32)",
2169
+ "event CurveSelected(address,uint32,address,uint256)",
2170
+ "event Buy(address,address,uint256,uint256)",
2171
+ "event Sell(address,address,uint256,uint256)",
2172
+ "event Graduated(address,address,uint256,uint256,uint256,uint256,uint256,uint256)",
2173
+ "event Claimed(address,uint256)"
2174
+ ],
2175
+ "routerAbi": [
2176
+ "function NATIVE()",
2177
+ "function quote(address,address,uint256)",
2178
+ "function buy(address,uint256,uint256)",
2179
+ "function sell(address,uint256,uint256,uint256)",
2180
+ "function swapExactIn(address,address,uint256,uint256,address,uint256)",
2181
+ "function launchpad()",
2182
+ "function lbFactory()",
2183
+ "function wNative()",
2184
+ "event Swap(address,address,uint256,uint256,address)"
2185
+ ],
2186
+ "feeControllerAbi": [
2187
+ "function collectFees(address)",
2188
+ "function collectLBFees(address)",
2189
+ "function launchpad()",
2190
+ "function lbFactory()",
2191
+ "event FeesCollected(address,address,uint256,uint256,uint256,uint256,uint256,uint256)"
2192
+ ],
2193
+ "graduationPoolAbi": [
2194
+ "function token0()",
2195
+ "function token1()",
2196
+ "function feeBps()",
2197
+ "function getReserves()",
2198
+ "function protocolFees0()",
2199
+ "function protocolFees1()",
2200
+ "function collectProtocolFees(address)",
2201
+ "event Swap(address,uint256,uint256,uint256,uint256,address)",
2202
+ "event ProtocolFeesCollected(address,uint256,uint256)"
2203
+ ],
2204
+ "launchTokenAbi": [
2205
+ "function name()",
2206
+ "function symbol()",
2207
+ "function decimals()",
2208
+ "function totalSupply()",
2209
+ "function metadataURI()",
2210
+ "function balanceOf(address)",
2211
+ "function allowance(address,address)",
2212
+ "function approve(address,uint256)",
2213
+ "function transfer(address,uint256)",
2214
+ "function transferFrom(address,address,uint256)",
2215
+ "event Approval(address,address,uint256)",
2216
+ "event Transfer(address,address,uint256)"
2217
+ ],
2218
+ "launchEscrowAbi": [
2219
+ "function launchpad()",
2220
+ "function token()",
2221
+ "function backing()"
2222
+ ],
2223
+ "launchEscrowDeployerAbi": [
2224
+ "function implementation()",
2225
+ "function predict(address,address)"
2226
+ ],
2227
+ "proxyAdminIdentityAbi": [
2228
+ "function owner()"
2229
+ ],
2230
+ "proxyUpgradeGateIdentityAbi": [
2231
+ "function timelock()"
2232
+ ],
2233
+ "lbFactoryIdentityAbi": [
2234
+ "function getFeeRecipient()",
2235
+ "function getLBPairImplementation()"
2236
+ ],
2237
+ "lbRouterIdentityAbi": [
2238
+ "function getFactory()",
2239
+ "function getWNATIVE()"
2240
+ ]
2241
+ };
2242
+ export const ABI_REVISION = "sha256:635cf660979631c57c4fa5cdf28460f8a4293272ebe153f0064e3758c6a5b9be";
2243
+ //# sourceMappingURL=abis.js.map