@paul.lumberwork/bonding-curve-sdk 1.0.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -0,0 +1,3051 @@
1
+ {
2
+ "address": "6o7oTqg2CfvcMCJTLNEJsef7c875zGpTvcnFctNAjudL",
3
+ "metadata": {
4
+ "name": "pump_fun_program",
5
+ "version": "0.1.0",
6
+ "spec": "0.1.0",
7
+ "description": "Pump.fun Clone - IDO Launchpad with Bonding Curve"
8
+ },
9
+ "instructions": [
10
+ {
11
+ "name": "admin_withdraw",
12
+ "docs": [
13
+ "Admin withdraw after curve is complete (80% filled)",
14
+ "Withdraws all SOL and 20% LP tokens to admin wallet for DEX migration",
15
+ "Only callable by hardcoded admin wallet"
16
+ ],
17
+ "discriminator": [
18
+ 160,
19
+ 166,
20
+ 147,
21
+ 222,
22
+ 46,
23
+ 220,
24
+ 75,
25
+ 224
26
+ ],
27
+ "accounts": [
28
+ {
29
+ "name": "admin",
30
+ "docs": [
31
+ "Admin signer - must match ADMIN_WALLET"
32
+ ],
33
+ "writable": true,
34
+ "signer": true
35
+ },
36
+ {
37
+ "name": "token_launch",
38
+ "writable": true,
39
+ "pda": {
40
+ "seeds": [
41
+ {
42
+ "kind": "const",
43
+ "value": [
44
+ 116,
45
+ 111,
46
+ 107,
47
+ 101,
48
+ 110,
49
+ 95,
50
+ 108,
51
+ 97,
52
+ 117,
53
+ 110,
54
+ 99,
55
+ 104
56
+ ]
57
+ },
58
+ {
59
+ "kind": "account",
60
+ "path": "mint"
61
+ }
62
+ ]
63
+ }
64
+ },
65
+ {
66
+ "name": "bonding_curve",
67
+ "writable": true,
68
+ "pda": {
69
+ "seeds": [
70
+ {
71
+ "kind": "const",
72
+ "value": [
73
+ 98,
74
+ 111,
75
+ 110,
76
+ 100,
77
+ 105,
78
+ 110,
79
+ 103,
80
+ 95,
81
+ 99,
82
+ 117,
83
+ 114,
84
+ 118,
85
+ 101
86
+ ]
87
+ },
88
+ {
89
+ "kind": "account",
90
+ "path": "token_launch"
91
+ }
92
+ ]
93
+ }
94
+ },
95
+ {
96
+ "name": "mint",
97
+ "docs": [
98
+ "Token mint"
99
+ ]
100
+ },
101
+ {
102
+ "name": "vault",
103
+ "docs": [
104
+ "Vault holding SOL from bonding curve sales"
105
+ ],
106
+ "writable": true,
107
+ "pda": {
108
+ "seeds": [
109
+ {
110
+ "kind": "const",
111
+ "value": [
112
+ 118,
113
+ 97,
114
+ 117,
115
+ 108,
116
+ 116
117
+ ]
118
+ },
119
+ {
120
+ "kind": "account",
121
+ "path": "token_launch"
122
+ }
123
+ ]
124
+ }
125
+ },
126
+ {
127
+ "name": "curve_token_account",
128
+ "docs": [
129
+ "Curve token account holding LP reserve tokens (20%)"
130
+ ],
131
+ "writable": true,
132
+ "pda": {
133
+ "seeds": [
134
+ {
135
+ "kind": "account",
136
+ "path": "bonding_curve"
137
+ },
138
+ {
139
+ "kind": "const",
140
+ "value": [
141
+ 6,
142
+ 221,
143
+ 246,
144
+ 225,
145
+ 215,
146
+ 101,
147
+ 161,
148
+ 147,
149
+ 217,
150
+ 203,
151
+ 225,
152
+ 70,
153
+ 206,
154
+ 235,
155
+ 121,
156
+ 172,
157
+ 28,
158
+ 180,
159
+ 133,
160
+ 237,
161
+ 95,
162
+ 91,
163
+ 55,
164
+ 145,
165
+ 58,
166
+ 140,
167
+ 245,
168
+ 133,
169
+ 126,
170
+ 255,
171
+ 0,
172
+ 169
173
+ ]
174
+ },
175
+ {
176
+ "kind": "account",
177
+ "path": "mint"
178
+ }
179
+ ],
180
+ "program": {
181
+ "kind": "const",
182
+ "value": [
183
+ 140,
184
+ 151,
185
+ 37,
186
+ 143,
187
+ 78,
188
+ 36,
189
+ 137,
190
+ 241,
191
+ 187,
192
+ 61,
193
+ 16,
194
+ 41,
195
+ 20,
196
+ 142,
197
+ 13,
198
+ 131,
199
+ 11,
200
+ 90,
201
+ 19,
202
+ 153,
203
+ 218,
204
+ 255,
205
+ 16,
206
+ 132,
207
+ 4,
208
+ 142,
209
+ 123,
210
+ 216,
211
+ 219,
212
+ 233,
213
+ 248,
214
+ 89
215
+ ]
216
+ }
217
+ }
218
+ },
219
+ {
220
+ "name": "admin_token_account",
221
+ "docs": [
222
+ "Admin's token account to receive LP tokens"
223
+ ],
224
+ "writable": true,
225
+ "pda": {
226
+ "seeds": [
227
+ {
228
+ "kind": "account",
229
+ "path": "admin"
230
+ },
231
+ {
232
+ "kind": "const",
233
+ "value": [
234
+ 6,
235
+ 221,
236
+ 246,
237
+ 225,
238
+ 215,
239
+ 101,
240
+ 161,
241
+ 147,
242
+ 217,
243
+ 203,
244
+ 225,
245
+ 70,
246
+ 206,
247
+ 235,
248
+ 121,
249
+ 172,
250
+ 28,
251
+ 180,
252
+ 133,
253
+ 237,
254
+ 95,
255
+ 91,
256
+ 55,
257
+ 145,
258
+ 58,
259
+ 140,
260
+ 245,
261
+ 133,
262
+ 126,
263
+ 255,
264
+ 0,
265
+ 169
266
+ ]
267
+ },
268
+ {
269
+ "kind": "account",
270
+ "path": "mint"
271
+ }
272
+ ],
273
+ "program": {
274
+ "kind": "const",
275
+ "value": [
276
+ 140,
277
+ 151,
278
+ 37,
279
+ 143,
280
+ 78,
281
+ 36,
282
+ 137,
283
+ 241,
284
+ 187,
285
+ 61,
286
+ 16,
287
+ 41,
288
+ 20,
289
+ 142,
290
+ 13,
291
+ 131,
292
+ 11,
293
+ 90,
294
+ 19,
295
+ 153,
296
+ 218,
297
+ 255,
298
+ 16,
299
+ 132,
300
+ 4,
301
+ 142,
302
+ 123,
303
+ 216,
304
+ 219,
305
+ 233,
306
+ 248,
307
+ 89
308
+ ]
309
+ }
310
+ }
311
+ },
312
+ {
313
+ "name": "system_program",
314
+ "address": "11111111111111111111111111111111"
315
+ },
316
+ {
317
+ "name": "token_program",
318
+ "address": "TokenkegQfeZyiNwAJbNbGKPFXCWuBvf9Ss623VQ5DA"
319
+ },
320
+ {
321
+ "name": "associated_token_program",
322
+ "address": "ATokenGPvbdGVxr1b2hvZbsiqW5xWH25efTNsLJA8knL"
323
+ }
324
+ ],
325
+ "args": []
326
+ },
327
+ {
328
+ "name": "buy_tokens",
329
+ "docs": [
330
+ "Buy tokens on the bonding curve",
331
+ "Trading fee: 1% (0.5% platform + 0.5% creator)"
332
+ ],
333
+ "discriminator": [
334
+ 189,
335
+ 21,
336
+ 230,
337
+ 133,
338
+ 247,
339
+ 2,
340
+ 110,
341
+ 42
342
+ ],
343
+ "accounts": [
344
+ {
345
+ "name": "contributor",
346
+ "writable": true,
347
+ "signer": true
348
+ },
349
+ {
350
+ "name": "launchpad",
351
+ "writable": true,
352
+ "pda": {
353
+ "seeds": [
354
+ {
355
+ "kind": "const",
356
+ "value": [
357
+ 108,
358
+ 97,
359
+ 117,
360
+ 110,
361
+ 99,
362
+ 104,
363
+ 112,
364
+ 97,
365
+ 100
366
+ ]
367
+ }
368
+ ]
369
+ }
370
+ },
371
+ {
372
+ "name": "creator_wallet",
373
+ "docs": [
374
+ "Creator wallet to receive creator fees (0.5%)"
375
+ ],
376
+ "writable": true
377
+ },
378
+ {
379
+ "name": "admin_wallet",
380
+ "docs": [
381
+ "Admin wallet to receive admin fees (0.5%)"
382
+ ],
383
+ "writable": true
384
+ },
385
+ {
386
+ "name": "token_launch",
387
+ "writable": true,
388
+ "pda": {
389
+ "seeds": [
390
+ {
391
+ "kind": "const",
392
+ "value": [
393
+ 116,
394
+ 111,
395
+ 107,
396
+ 101,
397
+ 110,
398
+ 95,
399
+ 108,
400
+ 97,
401
+ 117,
402
+ 110,
403
+ 99,
404
+ 104
405
+ ]
406
+ },
407
+ {
408
+ "kind": "account",
409
+ "path": "mint"
410
+ }
411
+ ]
412
+ }
413
+ },
414
+ {
415
+ "name": "bonding_curve",
416
+ "writable": true,
417
+ "pda": {
418
+ "seeds": [
419
+ {
420
+ "kind": "const",
421
+ "value": [
422
+ 98,
423
+ 111,
424
+ 110,
425
+ 100,
426
+ 105,
427
+ 110,
428
+ 103,
429
+ 95,
430
+ 99,
431
+ 117,
432
+ 114,
433
+ 118,
434
+ 101
435
+ ]
436
+ },
437
+ {
438
+ "kind": "account",
439
+ "path": "token_launch"
440
+ }
441
+ ]
442
+ }
443
+ },
444
+ {
445
+ "name": "mint",
446
+ "docs": [
447
+ "Token mint"
448
+ ],
449
+ "writable": true
450
+ },
451
+ {
452
+ "name": "vault",
453
+ "docs": [
454
+ "Vault to receive SOL (after fees)"
455
+ ],
456
+ "writable": true,
457
+ "pda": {
458
+ "seeds": [
459
+ {
460
+ "kind": "const",
461
+ "value": [
462
+ 118,
463
+ 97,
464
+ 117,
465
+ 108,
466
+ 116
467
+ ]
468
+ },
469
+ {
470
+ "kind": "account",
471
+ "path": "token_launch"
472
+ }
473
+ ]
474
+ }
475
+ },
476
+ {
477
+ "name": "curve_token_account",
478
+ "docs": [
479
+ "Curve token account holding tokens for sale"
480
+ ],
481
+ "writable": true,
482
+ "pda": {
483
+ "seeds": [
484
+ {
485
+ "kind": "account",
486
+ "path": "bonding_curve"
487
+ },
488
+ {
489
+ "kind": "const",
490
+ "value": [
491
+ 6,
492
+ 221,
493
+ 246,
494
+ 225,
495
+ 215,
496
+ 101,
497
+ 161,
498
+ 147,
499
+ 217,
500
+ 203,
501
+ 225,
502
+ 70,
503
+ 206,
504
+ 235,
505
+ 121,
506
+ 172,
507
+ 28,
508
+ 180,
509
+ 133,
510
+ 237,
511
+ 95,
512
+ 91,
513
+ 55,
514
+ 145,
515
+ 58,
516
+ 140,
517
+ 245,
518
+ 133,
519
+ 126,
520
+ 255,
521
+ 0,
522
+ 169
523
+ ]
524
+ },
525
+ {
526
+ "kind": "account",
527
+ "path": "mint"
528
+ }
529
+ ],
530
+ "program": {
531
+ "kind": "const",
532
+ "value": [
533
+ 140,
534
+ 151,
535
+ 37,
536
+ 143,
537
+ 78,
538
+ 36,
539
+ 137,
540
+ 241,
541
+ 187,
542
+ 61,
543
+ 16,
544
+ 41,
545
+ 20,
546
+ 142,
547
+ 13,
548
+ 131,
549
+ 11,
550
+ 90,
551
+ 19,
552
+ 153,
553
+ 218,
554
+ 255,
555
+ 16,
556
+ 132,
557
+ 4,
558
+ 142,
559
+ 123,
560
+ 216,
561
+ 219,
562
+ 233,
563
+ 248,
564
+ 89
565
+ ]
566
+ }
567
+ }
568
+ },
569
+ {
570
+ "name": "user_token_account",
571
+ "docs": [
572
+ "User's token account to receive purchased tokens"
573
+ ],
574
+ "writable": true,
575
+ "pda": {
576
+ "seeds": [
577
+ {
578
+ "kind": "account",
579
+ "path": "contributor"
580
+ },
581
+ {
582
+ "kind": "const",
583
+ "value": [
584
+ 6,
585
+ 221,
586
+ 246,
587
+ 225,
588
+ 215,
589
+ 101,
590
+ 161,
591
+ 147,
592
+ 217,
593
+ 203,
594
+ 225,
595
+ 70,
596
+ 206,
597
+ 235,
598
+ 121,
599
+ 172,
600
+ 28,
601
+ 180,
602
+ 133,
603
+ 237,
604
+ 95,
605
+ 91,
606
+ 55,
607
+ 145,
608
+ 58,
609
+ 140,
610
+ 245,
611
+ 133,
612
+ 126,
613
+ 255,
614
+ 0,
615
+ 169
616
+ ]
617
+ },
618
+ {
619
+ "kind": "account",
620
+ "path": "mint"
621
+ }
622
+ ],
623
+ "program": {
624
+ "kind": "const",
625
+ "value": [
626
+ 140,
627
+ 151,
628
+ 37,
629
+ 143,
630
+ 78,
631
+ 36,
632
+ 137,
633
+ 241,
634
+ 187,
635
+ 61,
636
+ 16,
637
+ 41,
638
+ 20,
639
+ 142,
640
+ 13,
641
+ 131,
642
+ 11,
643
+ 90,
644
+ 19,
645
+ 153,
646
+ 218,
647
+ 255,
648
+ 16,
649
+ 132,
650
+ 4,
651
+ 142,
652
+ 123,
653
+ 216,
654
+ 219,
655
+ 233,
656
+ 248,
657
+ 89
658
+ ]
659
+ }
660
+ }
661
+ },
662
+ {
663
+ "name": "user_position",
664
+ "docs": [
665
+ "User position account to track contributions"
666
+ ],
667
+ "writable": true,
668
+ "pda": {
669
+ "seeds": [
670
+ {
671
+ "kind": "const",
672
+ "value": [
673
+ 117,
674
+ 115,
675
+ 101,
676
+ 114,
677
+ 95,
678
+ 112,
679
+ 111,
680
+ 115,
681
+ 105,
682
+ 116,
683
+ 105,
684
+ 111,
685
+ 110
686
+ ]
687
+ },
688
+ {
689
+ "kind": "account",
690
+ "path": "token_launch"
691
+ },
692
+ {
693
+ "kind": "account",
694
+ "path": "contributor"
695
+ }
696
+ ]
697
+ }
698
+ },
699
+ {
700
+ "name": "system_program",
701
+ "address": "11111111111111111111111111111111"
702
+ },
703
+ {
704
+ "name": "token_program",
705
+ "address": "TokenkegQfeZyiNwAJbNbGKPFXCWuBvf9Ss623VQ5DA"
706
+ },
707
+ {
708
+ "name": "associated_token_program",
709
+ "address": "ATokenGPvbdGVxr1b2hvZbsiqW5xWH25efTNsLJA8knL"
710
+ }
711
+ ],
712
+ "args": [
713
+ {
714
+ "name": "sol_amount",
715
+ "type": "u64"
716
+ }
717
+ ]
718
+ },
719
+ {
720
+ "name": "claim_tokens",
721
+ "docs": [
722
+ "Claim tokens after launch migration",
723
+ "Users receive their purchased tokens"
724
+ ],
725
+ "discriminator": [
726
+ 108,
727
+ 216,
728
+ 210,
729
+ 231,
730
+ 0,
731
+ 212,
732
+ 42,
733
+ 64
734
+ ],
735
+ "accounts": [
736
+ {
737
+ "name": "user",
738
+ "writable": true,
739
+ "signer": true
740
+ },
741
+ {
742
+ "name": "token_launch",
743
+ "pda": {
744
+ "seeds": [
745
+ {
746
+ "kind": "const",
747
+ "value": [
748
+ 116,
749
+ 111,
750
+ 107,
751
+ 101,
752
+ 110,
753
+ 95,
754
+ 108,
755
+ 97,
756
+ 117,
757
+ 110,
758
+ 99,
759
+ 104
760
+ ]
761
+ },
762
+ {
763
+ "kind": "account",
764
+ "path": "mint"
765
+ }
766
+ ]
767
+ }
768
+ },
769
+ {
770
+ "name": "bonding_curve",
771
+ "pda": {
772
+ "seeds": [
773
+ {
774
+ "kind": "const",
775
+ "value": [
776
+ 98,
777
+ 111,
778
+ 110,
779
+ 100,
780
+ 105,
781
+ 110,
782
+ 103,
783
+ 95,
784
+ 99,
785
+ 117,
786
+ 114,
787
+ 118,
788
+ 101
789
+ ]
790
+ },
791
+ {
792
+ "kind": "account",
793
+ "path": "token_launch"
794
+ }
795
+ ]
796
+ }
797
+ },
798
+ {
799
+ "name": "mint",
800
+ "docs": [
801
+ "Token mint"
802
+ ]
803
+ },
804
+ {
805
+ "name": "curve_token_account",
806
+ "docs": [
807
+ "Token account holding tokens for distribution"
808
+ ],
809
+ "writable": true,
810
+ "pda": {
811
+ "seeds": [
812
+ {
813
+ "kind": "account",
814
+ "path": "bonding_curve"
815
+ },
816
+ {
817
+ "kind": "const",
818
+ "value": [
819
+ 6,
820
+ 221,
821
+ 246,
822
+ 225,
823
+ 215,
824
+ 101,
825
+ 161,
826
+ 147,
827
+ 217,
828
+ 203,
829
+ 225,
830
+ 70,
831
+ 206,
832
+ 235,
833
+ 121,
834
+ 172,
835
+ 28,
836
+ 180,
837
+ 133,
838
+ 237,
839
+ 95,
840
+ 91,
841
+ 55,
842
+ 145,
843
+ 58,
844
+ 140,
845
+ 245,
846
+ 133,
847
+ 126,
848
+ 255,
849
+ 0,
850
+ 169
851
+ ]
852
+ },
853
+ {
854
+ "kind": "account",
855
+ "path": "mint"
856
+ }
857
+ ],
858
+ "program": {
859
+ "kind": "const",
860
+ "value": [
861
+ 140,
862
+ 151,
863
+ 37,
864
+ 143,
865
+ 78,
866
+ 36,
867
+ 137,
868
+ 241,
869
+ 187,
870
+ 61,
871
+ 16,
872
+ 41,
873
+ 20,
874
+ 142,
875
+ 13,
876
+ 131,
877
+ 11,
878
+ 90,
879
+ 19,
880
+ 153,
881
+ 218,
882
+ 255,
883
+ 16,
884
+ 132,
885
+ 4,
886
+ 142,
887
+ 123,
888
+ 216,
889
+ 219,
890
+ 233,
891
+ 248,
892
+ 89
893
+ ]
894
+ }
895
+ }
896
+ },
897
+ {
898
+ "name": "user_token_account",
899
+ "docs": [
900
+ "User's token account"
901
+ ],
902
+ "writable": true,
903
+ "pda": {
904
+ "seeds": [
905
+ {
906
+ "kind": "account",
907
+ "path": "user"
908
+ },
909
+ {
910
+ "kind": "const",
911
+ "value": [
912
+ 6,
913
+ 221,
914
+ 246,
915
+ 225,
916
+ 215,
917
+ 101,
918
+ 161,
919
+ 147,
920
+ 217,
921
+ 203,
922
+ 225,
923
+ 70,
924
+ 206,
925
+ 235,
926
+ 121,
927
+ 172,
928
+ 28,
929
+ 180,
930
+ 133,
931
+ 237,
932
+ 95,
933
+ 91,
934
+ 55,
935
+ 145,
936
+ 58,
937
+ 140,
938
+ 245,
939
+ 133,
940
+ 126,
941
+ 255,
942
+ 0,
943
+ 169
944
+ ]
945
+ },
946
+ {
947
+ "kind": "account",
948
+ "path": "mint"
949
+ }
950
+ ],
951
+ "program": {
952
+ "kind": "const",
953
+ "value": [
954
+ 140,
955
+ 151,
956
+ 37,
957
+ 143,
958
+ 78,
959
+ 36,
960
+ 137,
961
+ 241,
962
+ 187,
963
+ 61,
964
+ 16,
965
+ 41,
966
+ 20,
967
+ 142,
968
+ 13,
969
+ 131,
970
+ 11,
971
+ 90,
972
+ 19,
973
+ 153,
974
+ 218,
975
+ 255,
976
+ 16,
977
+ 132,
978
+ 4,
979
+ 142,
980
+ 123,
981
+ 216,
982
+ 219,
983
+ 233,
984
+ 248,
985
+ 89
986
+ ]
987
+ }
988
+ }
989
+ },
990
+ {
991
+ "name": "user_position",
992
+ "docs": [
993
+ "User position account"
994
+ ],
995
+ "writable": true,
996
+ "pda": {
997
+ "seeds": [
998
+ {
999
+ "kind": "const",
1000
+ "value": [
1001
+ 117,
1002
+ 115,
1003
+ 101,
1004
+ 114,
1005
+ 95,
1006
+ 112,
1007
+ 111,
1008
+ 115,
1009
+ 105,
1010
+ 116,
1011
+ 105,
1012
+ 111,
1013
+ 110
1014
+ ]
1015
+ },
1016
+ {
1017
+ "kind": "account",
1018
+ "path": "token_launch"
1019
+ },
1020
+ {
1021
+ "kind": "account",
1022
+ "path": "user"
1023
+ }
1024
+ ]
1025
+ }
1026
+ },
1027
+ {
1028
+ "name": "token_program",
1029
+ "address": "TokenkegQfeZyiNwAJbNbGKPFXCWuBvf9Ss623VQ5DA"
1030
+ },
1031
+ {
1032
+ "name": "associated_token_program",
1033
+ "address": "ATokenGPvbdGVxr1b2hvZbsiqW5xWH25efTNsLJA8knL"
1034
+ },
1035
+ {
1036
+ "name": "system_program",
1037
+ "address": "11111111111111111111111111111111"
1038
+ }
1039
+ ],
1040
+ "args": []
1041
+ },
1042
+ {
1043
+ "name": "complete_launch",
1044
+ "docs": [
1045
+ "Complete the launch and migrate to DEX",
1046
+ "Requires: all 80% of curve tokens sold"
1047
+ ],
1048
+ "discriminator": [
1049
+ 118,
1050
+ 207,
1051
+ 250,
1052
+ 130,
1053
+ 44,
1054
+ 148,
1055
+ 251,
1056
+ 237
1057
+ ],
1058
+ "accounts": [
1059
+ {
1060
+ "name": "creator",
1061
+ "writable": true,
1062
+ "signer": true
1063
+ },
1064
+ {
1065
+ "name": "launchpad",
1066
+ "writable": true,
1067
+ "pda": {
1068
+ "seeds": [
1069
+ {
1070
+ "kind": "const",
1071
+ "value": [
1072
+ 108,
1073
+ 97,
1074
+ 117,
1075
+ 110,
1076
+ 99,
1077
+ 104,
1078
+ 112,
1079
+ 97,
1080
+ 100
1081
+ ]
1082
+ }
1083
+ ]
1084
+ }
1085
+ },
1086
+ {
1087
+ "name": "token_launch",
1088
+ "writable": true,
1089
+ "pda": {
1090
+ "seeds": [
1091
+ {
1092
+ "kind": "const",
1093
+ "value": [
1094
+ 116,
1095
+ 111,
1096
+ 107,
1097
+ 101,
1098
+ 110,
1099
+ 95,
1100
+ 108,
1101
+ 97,
1102
+ 117,
1103
+ 110,
1104
+ 99,
1105
+ 104
1106
+ ]
1107
+ },
1108
+ {
1109
+ "kind": "account",
1110
+ "path": "mint"
1111
+ }
1112
+ ]
1113
+ }
1114
+ },
1115
+ {
1116
+ "name": "bonding_curve",
1117
+ "writable": true,
1118
+ "pda": {
1119
+ "seeds": [
1120
+ {
1121
+ "kind": "const",
1122
+ "value": [
1123
+ 98,
1124
+ 111,
1125
+ 110,
1126
+ 100,
1127
+ 105,
1128
+ 110,
1129
+ 103,
1130
+ 95,
1131
+ 99,
1132
+ 117,
1133
+ 114,
1134
+ 118,
1135
+ 101
1136
+ ]
1137
+ },
1138
+ {
1139
+ "kind": "account",
1140
+ "path": "token_launch"
1141
+ }
1142
+ ]
1143
+ }
1144
+ },
1145
+ {
1146
+ "name": "mint",
1147
+ "writable": true
1148
+ },
1149
+ {
1150
+ "name": "vault",
1151
+ "docs": [
1152
+ "Vault holding collected SOL"
1153
+ ],
1154
+ "writable": true,
1155
+ "pda": {
1156
+ "seeds": [
1157
+ {
1158
+ "kind": "const",
1159
+ "value": [
1160
+ 118,
1161
+ 97,
1162
+ 117,
1163
+ 108,
1164
+ 116
1165
+ ]
1166
+ },
1167
+ {
1168
+ "kind": "account",
1169
+ "path": "token_launch"
1170
+ }
1171
+ ]
1172
+ }
1173
+ },
1174
+ {
1175
+ "name": "curve_token_account",
1176
+ "docs": [
1177
+ "Token account holding curve tokens (20% LP reserve)"
1178
+ ],
1179
+ "writable": true,
1180
+ "pda": {
1181
+ "seeds": [
1182
+ {
1183
+ "kind": "account",
1184
+ "path": "bonding_curve"
1185
+ },
1186
+ {
1187
+ "kind": "const",
1188
+ "value": [
1189
+ 6,
1190
+ 221,
1191
+ 246,
1192
+ 225,
1193
+ 215,
1194
+ 101,
1195
+ 161,
1196
+ 147,
1197
+ 217,
1198
+ 203,
1199
+ 225,
1200
+ 70,
1201
+ 206,
1202
+ 235,
1203
+ 121,
1204
+ 172,
1205
+ 28,
1206
+ 180,
1207
+ 133,
1208
+ 237,
1209
+ 95,
1210
+ 91,
1211
+ 55,
1212
+ 145,
1213
+ 58,
1214
+ 140,
1215
+ 245,
1216
+ 133,
1217
+ 126,
1218
+ 255,
1219
+ 0,
1220
+ 169
1221
+ ]
1222
+ },
1223
+ {
1224
+ "kind": "account",
1225
+ "path": "mint"
1226
+ }
1227
+ ],
1228
+ "program": {
1229
+ "kind": "const",
1230
+ "value": [
1231
+ 140,
1232
+ 151,
1233
+ 37,
1234
+ 143,
1235
+ 78,
1236
+ 36,
1237
+ 137,
1238
+ 241,
1239
+ 187,
1240
+ 61,
1241
+ 16,
1242
+ 41,
1243
+ 20,
1244
+ 142,
1245
+ 13,
1246
+ 131,
1247
+ 11,
1248
+ 90,
1249
+ 19,
1250
+ 153,
1251
+ 218,
1252
+ 255,
1253
+ 16,
1254
+ 132,
1255
+ 4,
1256
+ 142,
1257
+ 123,
1258
+ 216,
1259
+ 219,
1260
+ 233,
1261
+ 248,
1262
+ 89
1263
+ ]
1264
+ }
1265
+ }
1266
+ },
1267
+ {
1268
+ "name": "token_program",
1269
+ "address": "TokenkegQfeZyiNwAJbNbGKPFXCWuBvf9Ss623VQ5DA"
1270
+ },
1271
+ {
1272
+ "name": "system_program",
1273
+ "address": "11111111111111111111111111111111"
1274
+ }
1275
+ ],
1276
+ "args": []
1277
+ },
1278
+ {
1279
+ "name": "create_token_launch",
1280
+ "docs": [
1281
+ "Create a new token launch with Linear Bonding Curve (like pump.fun)",
1282
+ "Formula: price = k × sold_supply",
1283
+ "Simple model: 80% for bonding curve, 20% for LP, 1% trading fee",
1284
+ "If initial_k = 0, auto-calculates k for 69 SOL target"
1285
+ ],
1286
+ "discriminator": [
1287
+ 93,
1288
+ 87,
1289
+ 58,
1290
+ 126,
1291
+ 88,
1292
+ 75,
1293
+ 172,
1294
+ 233
1295
+ ],
1296
+ "accounts": [
1297
+ {
1298
+ "name": "creator",
1299
+ "writable": true,
1300
+ "signer": true
1301
+ },
1302
+ {
1303
+ "name": "launchpad",
1304
+ "writable": true,
1305
+ "pda": {
1306
+ "seeds": [
1307
+ {
1308
+ "kind": "const",
1309
+ "value": [
1310
+ 108,
1311
+ 97,
1312
+ 117,
1313
+ 110,
1314
+ 99,
1315
+ 104,
1316
+ 112,
1317
+ 97,
1318
+ 100
1319
+ ]
1320
+ }
1321
+ ]
1322
+ }
1323
+ },
1324
+ {
1325
+ "name": "mint",
1326
+ "writable": true,
1327
+ "signer": true
1328
+ },
1329
+ {
1330
+ "name": "token_launch",
1331
+ "writable": true,
1332
+ "pda": {
1333
+ "seeds": [
1334
+ {
1335
+ "kind": "const",
1336
+ "value": [
1337
+ 116,
1338
+ 111,
1339
+ 107,
1340
+ 101,
1341
+ 110,
1342
+ 95,
1343
+ 108,
1344
+ 97,
1345
+ 117,
1346
+ 110,
1347
+ 99,
1348
+ 104
1349
+ ]
1350
+ },
1351
+ {
1352
+ "kind": "account",
1353
+ "path": "mint"
1354
+ }
1355
+ ]
1356
+ }
1357
+ },
1358
+ {
1359
+ "name": "bonding_curve",
1360
+ "writable": true,
1361
+ "pda": {
1362
+ "seeds": [
1363
+ {
1364
+ "kind": "const",
1365
+ "value": [
1366
+ 98,
1367
+ 111,
1368
+ 110,
1369
+ 100,
1370
+ 105,
1371
+ 110,
1372
+ 103,
1373
+ 95,
1374
+ 99,
1375
+ 117,
1376
+ 114,
1377
+ 118,
1378
+ 101
1379
+ ]
1380
+ },
1381
+ {
1382
+ "kind": "account",
1383
+ "path": "token_launch"
1384
+ }
1385
+ ]
1386
+ }
1387
+ },
1388
+ {
1389
+ "name": "vault",
1390
+ "docs": [
1391
+ "Vault to hold SOL collected during trading"
1392
+ ],
1393
+ "writable": true,
1394
+ "pda": {
1395
+ "seeds": [
1396
+ {
1397
+ "kind": "const",
1398
+ "value": [
1399
+ 118,
1400
+ 97,
1401
+ 117,
1402
+ 108,
1403
+ 116
1404
+ ]
1405
+ },
1406
+ {
1407
+ "kind": "account",
1408
+ "path": "token_launch"
1409
+ }
1410
+ ]
1411
+ }
1412
+ },
1413
+ {
1414
+ "name": "curve_token_account",
1415
+ "docs": [
1416
+ "Token account to hold curve tokens"
1417
+ ],
1418
+ "writable": true,
1419
+ "pda": {
1420
+ "seeds": [
1421
+ {
1422
+ "kind": "account",
1423
+ "path": "bonding_curve"
1424
+ },
1425
+ {
1426
+ "kind": "const",
1427
+ "value": [
1428
+ 6,
1429
+ 221,
1430
+ 246,
1431
+ 225,
1432
+ 215,
1433
+ 101,
1434
+ 161,
1435
+ 147,
1436
+ 217,
1437
+ 203,
1438
+ 225,
1439
+ 70,
1440
+ 206,
1441
+ 235,
1442
+ 121,
1443
+ 172,
1444
+ 28,
1445
+ 180,
1446
+ 133,
1447
+ 237,
1448
+ 95,
1449
+ 91,
1450
+ 55,
1451
+ 145,
1452
+ 58,
1453
+ 140,
1454
+ 245,
1455
+ 133,
1456
+ 126,
1457
+ 255,
1458
+ 0,
1459
+ 169
1460
+ ]
1461
+ },
1462
+ {
1463
+ "kind": "account",
1464
+ "path": "mint"
1465
+ }
1466
+ ],
1467
+ "program": {
1468
+ "kind": "const",
1469
+ "value": [
1470
+ 140,
1471
+ 151,
1472
+ 37,
1473
+ 143,
1474
+ 78,
1475
+ 36,
1476
+ 137,
1477
+ 241,
1478
+ 187,
1479
+ 61,
1480
+ 16,
1481
+ 41,
1482
+ 20,
1483
+ 142,
1484
+ 13,
1485
+ 131,
1486
+ 11,
1487
+ 90,
1488
+ 19,
1489
+ 153,
1490
+ 218,
1491
+ 255,
1492
+ 16,
1493
+ 132,
1494
+ 4,
1495
+ 142,
1496
+ 123,
1497
+ 216,
1498
+ 219,
1499
+ 233,
1500
+ 248,
1501
+ 89
1502
+ ]
1503
+ }
1504
+ }
1505
+ },
1506
+ {
1507
+ "name": "token_program",
1508
+ "address": "TokenkegQfeZyiNwAJbNbGKPFXCWuBvf9Ss623VQ5DA"
1509
+ },
1510
+ {
1511
+ "name": "associated_token_program",
1512
+ "address": "ATokenGPvbdGVxr1b2hvZbsiqW5xWH25efTNsLJA8knL"
1513
+ },
1514
+ {
1515
+ "name": "system_program",
1516
+ "address": "11111111111111111111111111111111"
1517
+ }
1518
+ ],
1519
+ "args": [
1520
+ {
1521
+ "name": "name",
1522
+ "type": "string"
1523
+ },
1524
+ {
1525
+ "name": "symbol",
1526
+ "type": "string"
1527
+ },
1528
+ {
1529
+ "name": "uri",
1530
+ "type": "string"
1531
+ },
1532
+ {
1533
+ "name": "total_supply",
1534
+ "type": "u64"
1535
+ },
1536
+ {
1537
+ "name": "initial_k",
1538
+ "type": "u128"
1539
+ }
1540
+ ]
1541
+ },
1542
+ {
1543
+ "name": "initialize_launchpad",
1544
+ "docs": [
1545
+ "Initialize the launchpad platform (one-time setup)"
1546
+ ],
1547
+ "discriminator": [
1548
+ 220,
1549
+ 172,
1550
+ 45,
1551
+ 121,
1552
+ 79,
1553
+ 84,
1554
+ 246,
1555
+ 3
1556
+ ],
1557
+ "accounts": [
1558
+ {
1559
+ "name": "authority",
1560
+ "writable": true,
1561
+ "signer": true
1562
+ },
1563
+ {
1564
+ "name": "launchpad",
1565
+ "writable": true,
1566
+ "pda": {
1567
+ "seeds": [
1568
+ {
1569
+ "kind": "const",
1570
+ "value": [
1571
+ 108,
1572
+ 97,
1573
+ 117,
1574
+ 110,
1575
+ 99,
1576
+ 104,
1577
+ 112,
1578
+ 97,
1579
+ 100
1580
+ ]
1581
+ }
1582
+ ]
1583
+ }
1584
+ },
1585
+ {
1586
+ "name": "treasury",
1587
+ "docs": [
1588
+ "Treasury account to receive platform fees"
1589
+ ]
1590
+ },
1591
+ {
1592
+ "name": "system_program",
1593
+ "address": "11111111111111111111111111111111"
1594
+ }
1595
+ ],
1596
+ "args": [
1597
+ {
1598
+ "name": "fee_bps",
1599
+ "type": "u16"
1600
+ }
1601
+ ]
1602
+ },
1603
+ {
1604
+ "name": "sell_tokens",
1605
+ "docs": [
1606
+ "Sell tokens on the bonding curve",
1607
+ "Trading fee: 1% (0.5% platform + 0.5% creator)"
1608
+ ],
1609
+ "discriminator": [
1610
+ 114,
1611
+ 242,
1612
+ 25,
1613
+ 12,
1614
+ 62,
1615
+ 126,
1616
+ 92,
1617
+ 2
1618
+ ],
1619
+ "accounts": [
1620
+ {
1621
+ "name": "contributor",
1622
+ "writable": true,
1623
+ "signer": true
1624
+ },
1625
+ {
1626
+ "name": "launchpad",
1627
+ "writable": true,
1628
+ "pda": {
1629
+ "seeds": [
1630
+ {
1631
+ "kind": "const",
1632
+ "value": [
1633
+ 108,
1634
+ 97,
1635
+ 117,
1636
+ 110,
1637
+ 99,
1638
+ 104,
1639
+ 112,
1640
+ 97,
1641
+ 100
1642
+ ]
1643
+ }
1644
+ ]
1645
+ }
1646
+ },
1647
+ {
1648
+ "name": "creator_wallet",
1649
+ "docs": [
1650
+ "Creator wallet to receive creator fees (0.5%)"
1651
+ ],
1652
+ "writable": true
1653
+ },
1654
+ {
1655
+ "name": "admin_wallet",
1656
+ "docs": [
1657
+ "Admin wallet to receive admin fees (0.5%)"
1658
+ ],
1659
+ "writable": true
1660
+ },
1661
+ {
1662
+ "name": "token_launch",
1663
+ "writable": true,
1664
+ "pda": {
1665
+ "seeds": [
1666
+ {
1667
+ "kind": "const",
1668
+ "value": [
1669
+ 116,
1670
+ 111,
1671
+ 107,
1672
+ 101,
1673
+ 110,
1674
+ 95,
1675
+ 108,
1676
+ 97,
1677
+ 117,
1678
+ 110,
1679
+ 99,
1680
+ 104
1681
+ ]
1682
+ },
1683
+ {
1684
+ "kind": "account",
1685
+ "path": "mint"
1686
+ }
1687
+ ]
1688
+ }
1689
+ },
1690
+ {
1691
+ "name": "bonding_curve",
1692
+ "writable": true,
1693
+ "pda": {
1694
+ "seeds": [
1695
+ {
1696
+ "kind": "const",
1697
+ "value": [
1698
+ 98,
1699
+ 111,
1700
+ 110,
1701
+ 100,
1702
+ 105,
1703
+ 110,
1704
+ 103,
1705
+ 95,
1706
+ 99,
1707
+ 117,
1708
+ 114,
1709
+ 118,
1710
+ 101
1711
+ ]
1712
+ },
1713
+ {
1714
+ "kind": "account",
1715
+ "path": "token_launch"
1716
+ }
1717
+ ]
1718
+ }
1719
+ },
1720
+ {
1721
+ "name": "mint",
1722
+ "docs": [
1723
+ "Token mint"
1724
+ ]
1725
+ },
1726
+ {
1727
+ "name": "vault",
1728
+ "docs": [
1729
+ "Vault holding SOL"
1730
+ ],
1731
+ "writable": true,
1732
+ "pda": {
1733
+ "seeds": [
1734
+ {
1735
+ "kind": "const",
1736
+ "value": [
1737
+ 118,
1738
+ 97,
1739
+ 117,
1740
+ 108,
1741
+ 116
1742
+ ]
1743
+ },
1744
+ {
1745
+ "kind": "account",
1746
+ "path": "token_launch"
1747
+ }
1748
+ ]
1749
+ }
1750
+ },
1751
+ {
1752
+ "name": "curve_token_account",
1753
+ "docs": [
1754
+ "Curve token account to receive tokens back"
1755
+ ],
1756
+ "writable": true,
1757
+ "pda": {
1758
+ "seeds": [
1759
+ {
1760
+ "kind": "account",
1761
+ "path": "bonding_curve"
1762
+ },
1763
+ {
1764
+ "kind": "const",
1765
+ "value": [
1766
+ 6,
1767
+ 221,
1768
+ 246,
1769
+ 225,
1770
+ 215,
1771
+ 101,
1772
+ 161,
1773
+ 147,
1774
+ 217,
1775
+ 203,
1776
+ 225,
1777
+ 70,
1778
+ 206,
1779
+ 235,
1780
+ 121,
1781
+ 172,
1782
+ 28,
1783
+ 180,
1784
+ 133,
1785
+ 237,
1786
+ 95,
1787
+ 91,
1788
+ 55,
1789
+ 145,
1790
+ 58,
1791
+ 140,
1792
+ 245,
1793
+ 133,
1794
+ 126,
1795
+ 255,
1796
+ 0,
1797
+ 169
1798
+ ]
1799
+ },
1800
+ {
1801
+ "kind": "account",
1802
+ "path": "mint"
1803
+ }
1804
+ ],
1805
+ "program": {
1806
+ "kind": "const",
1807
+ "value": [
1808
+ 140,
1809
+ 151,
1810
+ 37,
1811
+ 143,
1812
+ 78,
1813
+ 36,
1814
+ 137,
1815
+ 241,
1816
+ 187,
1817
+ 61,
1818
+ 16,
1819
+ 41,
1820
+ 20,
1821
+ 142,
1822
+ 13,
1823
+ 131,
1824
+ 11,
1825
+ 90,
1826
+ 19,
1827
+ 153,
1828
+ 218,
1829
+ 255,
1830
+ 16,
1831
+ 132,
1832
+ 4,
1833
+ 142,
1834
+ 123,
1835
+ 216,
1836
+ 219,
1837
+ 233,
1838
+ 248,
1839
+ 89
1840
+ ]
1841
+ }
1842
+ }
1843
+ },
1844
+ {
1845
+ "name": "user_token_account",
1846
+ "docs": [
1847
+ "User's token account to send tokens from"
1848
+ ],
1849
+ "writable": true,
1850
+ "pda": {
1851
+ "seeds": [
1852
+ {
1853
+ "kind": "account",
1854
+ "path": "contributor"
1855
+ },
1856
+ {
1857
+ "kind": "const",
1858
+ "value": [
1859
+ 6,
1860
+ 221,
1861
+ 246,
1862
+ 225,
1863
+ 215,
1864
+ 101,
1865
+ 161,
1866
+ 147,
1867
+ 217,
1868
+ 203,
1869
+ 225,
1870
+ 70,
1871
+ 206,
1872
+ 235,
1873
+ 121,
1874
+ 172,
1875
+ 28,
1876
+ 180,
1877
+ 133,
1878
+ 237,
1879
+ 95,
1880
+ 91,
1881
+ 55,
1882
+ 145,
1883
+ 58,
1884
+ 140,
1885
+ 245,
1886
+ 133,
1887
+ 126,
1888
+ 255,
1889
+ 0,
1890
+ 169
1891
+ ]
1892
+ },
1893
+ {
1894
+ "kind": "account",
1895
+ "path": "mint"
1896
+ }
1897
+ ],
1898
+ "program": {
1899
+ "kind": "const",
1900
+ "value": [
1901
+ 140,
1902
+ 151,
1903
+ 37,
1904
+ 143,
1905
+ 78,
1906
+ 36,
1907
+ 137,
1908
+ 241,
1909
+ 187,
1910
+ 61,
1911
+ 16,
1912
+ 41,
1913
+ 20,
1914
+ 142,
1915
+ 13,
1916
+ 131,
1917
+ 11,
1918
+ 90,
1919
+ 19,
1920
+ 153,
1921
+ 218,
1922
+ 255,
1923
+ 16,
1924
+ 132,
1925
+ 4,
1926
+ 142,
1927
+ 123,
1928
+ 216,
1929
+ 219,
1930
+ 233,
1931
+ 248,
1932
+ 89
1933
+ ]
1934
+ }
1935
+ }
1936
+ },
1937
+ {
1938
+ "name": "user_position",
1939
+ "docs": [
1940
+ "User position account"
1941
+ ],
1942
+ "writable": true,
1943
+ "pda": {
1944
+ "seeds": [
1945
+ {
1946
+ "kind": "const",
1947
+ "value": [
1948
+ 117,
1949
+ 115,
1950
+ 101,
1951
+ 114,
1952
+ 95,
1953
+ 112,
1954
+ 111,
1955
+ 115,
1956
+ 105,
1957
+ 116,
1958
+ 105,
1959
+ 111,
1960
+ 110
1961
+ ]
1962
+ },
1963
+ {
1964
+ "kind": "account",
1965
+ "path": "token_launch"
1966
+ },
1967
+ {
1968
+ "kind": "account",
1969
+ "path": "contributor"
1970
+ }
1971
+ ]
1972
+ }
1973
+ },
1974
+ {
1975
+ "name": "system_program",
1976
+ "address": "11111111111111111111111111111111"
1977
+ },
1978
+ {
1979
+ "name": "token_program",
1980
+ "address": "TokenkegQfeZyiNwAJbNbGKPFXCWuBvf9Ss623VQ5DA"
1981
+ }
1982
+ ],
1983
+ "args": [
1984
+ {
1985
+ "name": "tokens_to_sell",
1986
+ "type": "u64"
1987
+ },
1988
+ {
1989
+ "name": "min_sol_out",
1990
+ "type": "u64"
1991
+ }
1992
+ ]
1993
+ },
1994
+ {
1995
+ "name": "update_launchpad",
1996
+ "docs": [
1997
+ "Update launchpad settings (authority only)"
1998
+ ],
1999
+ "discriminator": [
2000
+ 73,
2001
+ 253,
2002
+ 42,
2003
+ 252,
2004
+ 2,
2005
+ 113,
2006
+ 239,
2007
+ 192
2008
+ ],
2009
+ "accounts": [
2010
+ {
2011
+ "name": "authority",
2012
+ "writable": true,
2013
+ "signer": true
2014
+ },
2015
+ {
2016
+ "name": "launchpad",
2017
+ "writable": true,
2018
+ "pda": {
2019
+ "seeds": [
2020
+ {
2021
+ "kind": "const",
2022
+ "value": [
2023
+ 108,
2024
+ 97,
2025
+ 117,
2026
+ 110,
2027
+ 99,
2028
+ 104,
2029
+ 112,
2030
+ 97,
2031
+ 100
2032
+ ]
2033
+ }
2034
+ ]
2035
+ }
2036
+ }
2037
+ ],
2038
+ "args": [
2039
+ {
2040
+ "name": "new_fee_bps",
2041
+ "type": {
2042
+ "option": "u16"
2043
+ }
2044
+ },
2045
+ {
2046
+ "name": "new_treasury",
2047
+ "type": {
2048
+ "option": "pubkey"
2049
+ }
2050
+ },
2051
+ {
2052
+ "name": "paused",
2053
+ "type": {
2054
+ "option": "bool"
2055
+ }
2056
+ }
2057
+ ]
2058
+ },
2059
+ {
2060
+ "name": "withdraw_creator_fees",
2061
+ "docs": [
2062
+ "Withdraw accumulated creator trading fees",
2063
+ "Creator gets 0.5% of each trade - can withdraw accumulated fees at any time"
2064
+ ],
2065
+ "discriminator": [
2066
+ 8,
2067
+ 30,
2068
+ 213,
2069
+ 18,
2070
+ 121,
2071
+ 105,
2072
+ 129,
2073
+ 222
2074
+ ],
2075
+ "accounts": [
2076
+ {
2077
+ "name": "creator",
2078
+ "writable": true,
2079
+ "signer": true
2080
+ },
2081
+ {
2082
+ "name": "token_launch",
2083
+ "writable": true,
2084
+ "pda": {
2085
+ "seeds": [
2086
+ {
2087
+ "kind": "const",
2088
+ "value": [
2089
+ 116,
2090
+ 111,
2091
+ 107,
2092
+ 101,
2093
+ 110,
2094
+ 95,
2095
+ 108,
2096
+ 97,
2097
+ 117,
2098
+ 110,
2099
+ 99,
2100
+ 104
2101
+ ]
2102
+ },
2103
+ {
2104
+ "kind": "account",
2105
+ "path": "mint"
2106
+ }
2107
+ ]
2108
+ }
2109
+ },
2110
+ {
2111
+ "name": "bonding_curve",
2112
+ "pda": {
2113
+ "seeds": [
2114
+ {
2115
+ "kind": "const",
2116
+ "value": [
2117
+ 98,
2118
+ 111,
2119
+ 110,
2120
+ 100,
2121
+ 105,
2122
+ 110,
2123
+ 103,
2124
+ 95,
2125
+ 99,
2126
+ 117,
2127
+ 114,
2128
+ 118,
2129
+ 101
2130
+ ]
2131
+ },
2132
+ {
2133
+ "kind": "account",
2134
+ "path": "token_launch"
2135
+ }
2136
+ ]
2137
+ }
2138
+ },
2139
+ {
2140
+ "name": "mint",
2141
+ "docs": [
2142
+ "Token mint"
2143
+ ]
2144
+ },
2145
+ {
2146
+ "name": "vault",
2147
+ "docs": [
2148
+ "Vault holding SOL (including creator fees)"
2149
+ ],
2150
+ "writable": true,
2151
+ "pda": {
2152
+ "seeds": [
2153
+ {
2154
+ "kind": "const",
2155
+ "value": [
2156
+ 118,
2157
+ 97,
2158
+ 117,
2159
+ 108,
2160
+ 116
2161
+ ]
2162
+ },
2163
+ {
2164
+ "kind": "account",
2165
+ "path": "token_launch"
2166
+ }
2167
+ ]
2168
+ }
2169
+ },
2170
+ {
2171
+ "name": "system_program",
2172
+ "address": "11111111111111111111111111111111"
2173
+ }
2174
+ ],
2175
+ "args": []
2176
+ }
2177
+ ],
2178
+ "accounts": [
2179
+ {
2180
+ "name": "BondingCurve",
2181
+ "discriminator": [
2182
+ 23,
2183
+ 183,
2184
+ 248,
2185
+ 55,
2186
+ 96,
2187
+ 216,
2188
+ 172,
2189
+ 96
2190
+ ]
2191
+ },
2192
+ {
2193
+ "name": "Launchpad",
2194
+ "discriminator": [
2195
+ 247,
2196
+ 20,
2197
+ 16,
2198
+ 242,
2199
+ 203,
2200
+ 38,
2201
+ 169,
2202
+ 160
2203
+ ]
2204
+ },
2205
+ {
2206
+ "name": "TokenLaunch",
2207
+ "discriminator": [
2208
+ 92,
2209
+ 242,
2210
+ 228,
2211
+ 230,
2212
+ 214,
2213
+ 216,
2214
+ 8,
2215
+ 148
2216
+ ]
2217
+ },
2218
+ {
2219
+ "name": "UserPosition",
2220
+ "discriminator": [
2221
+ 251,
2222
+ 248,
2223
+ 209,
2224
+ 245,
2225
+ 83,
2226
+ 234,
2227
+ 17,
2228
+ 27
2229
+ ]
2230
+ }
2231
+ ],
2232
+ "events": [
2233
+ {
2234
+ "name": "AdminWithdraw",
2235
+ "discriminator": [
2236
+ 218,
2237
+ 178,
2238
+ 1,
2239
+ 64,
2240
+ 41,
2241
+ 179,
2242
+ 24,
2243
+ 171
2244
+ ]
2245
+ },
2246
+ {
2247
+ "name": "CurveComplete",
2248
+ "discriminator": [
2249
+ 121,
2250
+ 172,
2251
+ 68,
2252
+ 248,
2253
+ 143,
2254
+ 231,
2255
+ 180,
2256
+ 42
2257
+ ]
2258
+ },
2259
+ {
2260
+ "name": "LaunchCreated",
2261
+ "discriminator": [
2262
+ 59,
2263
+ 38,
2264
+ 190,
2265
+ 230,
2266
+ 33,
2267
+ 34,
2268
+ 89,
2269
+ 20
2270
+ ]
2271
+ },
2272
+ {
2273
+ "name": "TokensPurchased",
2274
+ "discriminator": [
2275
+ 214,
2276
+ 119,
2277
+ 105,
2278
+ 186,
2279
+ 114,
2280
+ 205,
2281
+ 228,
2282
+ 181
2283
+ ]
2284
+ },
2285
+ {
2286
+ "name": "TokensSold",
2287
+ "discriminator": [
2288
+ 217,
2289
+ 83,
2290
+ 68,
2291
+ 137,
2292
+ 134,
2293
+ 225,
2294
+ 94,
2295
+ 45
2296
+ ]
2297
+ }
2298
+ ],
2299
+ "errors": [
2300
+ {
2301
+ "code": 6000,
2302
+ "name": "Overflow",
2303
+ "msg": "Math overflow in linear curve calculation"
2304
+ },
2305
+ {
2306
+ "code": 6001,
2307
+ "name": "DivisionByZero",
2308
+ "msg": "Division by zero"
2309
+ }
2310
+ ],
2311
+ "types": [
2312
+ {
2313
+ "name": "AdminWithdraw",
2314
+ "docs": [
2315
+ "Event emitted when admin withdraws SOL and LP tokens after curve is complete"
2316
+ ],
2317
+ "type": {
2318
+ "kind": "struct",
2319
+ "fields": [
2320
+ {
2321
+ "name": "token_launch",
2322
+ "docs": [
2323
+ "The token launch public key"
2324
+ ],
2325
+ "type": "pubkey"
2326
+ },
2327
+ {
2328
+ "name": "mint",
2329
+ "docs": [
2330
+ "The mint address"
2331
+ ],
2332
+ "type": "pubkey"
2333
+ },
2334
+ {
2335
+ "name": "admin",
2336
+ "docs": [
2337
+ "The admin wallet address"
2338
+ ],
2339
+ "type": "pubkey"
2340
+ },
2341
+ {
2342
+ "name": "sol_withdrawn",
2343
+ "docs": [
2344
+ "SOL amount withdrawn (in lamports)"
2345
+ ],
2346
+ "type": "u64"
2347
+ },
2348
+ {
2349
+ "name": "tokens_withdrawn",
2350
+ "docs": [
2351
+ "LP tokens withdrawn"
2352
+ ],
2353
+ "type": "u64"
2354
+ },
2355
+ {
2356
+ "name": "timestamp",
2357
+ "docs": [
2358
+ "Timestamp"
2359
+ ],
2360
+ "type": "i64"
2361
+ }
2362
+ ]
2363
+ }
2364
+ },
2365
+ {
2366
+ "name": "BondingCurve",
2367
+ "docs": [
2368
+ "Linear Bonding Curve (like pump.fun)",
2369
+ "",
2370
+ "Formula: price = k × sold_supply",
2371
+ "",
2372
+ "Where:",
2373
+ "- k = 2 × target_sol / curve_supply² (slope coefficient)",
2374
+ "- target_sol ≈ 69 SOL (total SOL to fill the curve)",
2375
+ "",
2376
+ "When buying tokens:",
2377
+ "cost = (k/2) × (s2² - s1²)",
2378
+ "where s1 = current sold_supply, s2 = s1 + tokens_to_buy",
2379
+ "",
2380
+ "When selling tokens:",
2381
+ "refund = (k/2) × (s1² - s2²)",
2382
+ "where s1 = current sold_supply, s2 = s1 - tokens_to_sell",
2383
+ "",
2384
+ "Price rises linearly as more tokens are sold",
2385
+ "",
2386
+ "Simple model:",
2387
+ "- 80% of tokens available for trading on bonding curve",
2388
+ "- 20% reserved for DEX liquidity migration",
2389
+ "- Trading continues until all 80% sold, then migrate to DEX"
2390
+ ],
2391
+ "type": {
2392
+ "kind": "struct",
2393
+ "fields": [
2394
+ {
2395
+ "name": "token_launch",
2396
+ "docs": [
2397
+ "Associated token launch"
2398
+ ],
2399
+ "type": "pubkey"
2400
+ },
2401
+ {
2402
+ "name": "k",
2403
+ "docs": [
2404
+ "Price constant k (scaled by K_SCALE for precision)",
2405
+ "k_actual = k / K_SCALE",
2406
+ "Determines the steepness of the price curve"
2407
+ ],
2408
+ "type": "u128"
2409
+ },
2410
+ {
2411
+ "name": "total_supply",
2412
+ "docs": [
2413
+ "Total token supply (with decimals)"
2414
+ ],
2415
+ "type": "u64"
2416
+ },
2417
+ {
2418
+ "name": "sold_supply",
2419
+ "docs": [
2420
+ "Tokens sold through the bonding curve so far",
2421
+ "This is the \"supply\" in the price formula"
2422
+ ],
2423
+ "type": "u64"
2424
+ },
2425
+ {
2426
+ "name": "real_sol_reserves",
2427
+ "docs": [
2428
+ "Real SOL collected from buyers (lamports)"
2429
+ ],
2430
+ "type": "u64"
2431
+ },
2432
+ {
2433
+ "name": "token_reserves_for_lp",
2434
+ "docs": [
2435
+ "Amount of tokens reserved for LP migration (20% of total)"
2436
+ ],
2437
+ "type": "u64"
2438
+ },
2439
+ {
2440
+ "name": "tokens_for_curve",
2441
+ "docs": [
2442
+ "Maximum tokens available for sale on bonding curve (80% of total)"
2443
+ ],
2444
+ "type": "u64"
2445
+ },
2446
+ {
2447
+ "name": "complete",
2448
+ "docs": [
2449
+ "Whether the curve is complete (all 80% sold, ready for migration)"
2450
+ ],
2451
+ "type": "bool"
2452
+ },
2453
+ {
2454
+ "name": "bump",
2455
+ "docs": [
2456
+ "Bump seed for PDA"
2457
+ ],
2458
+ "type": "u8"
2459
+ }
2460
+ ]
2461
+ }
2462
+ },
2463
+ {
2464
+ "name": "CurveComplete",
2465
+ "docs": [
2466
+ "Event emitted when bonding curve is complete and ready for migration"
2467
+ ],
2468
+ "type": {
2469
+ "kind": "struct",
2470
+ "fields": [
2471
+ {
2472
+ "name": "token_launch",
2473
+ "docs": [
2474
+ "The token launch public key"
2475
+ ],
2476
+ "type": "pubkey"
2477
+ },
2478
+ {
2479
+ "name": "mint",
2480
+ "docs": [
2481
+ "The mint address"
2482
+ ],
2483
+ "type": "pubkey"
2484
+ },
2485
+ {
2486
+ "name": "total_sol_raised",
2487
+ "docs": [
2488
+ "Total SOL raised"
2489
+ ],
2490
+ "type": "u64"
2491
+ },
2492
+ {
2493
+ "name": "final_price",
2494
+ "docs": [
2495
+ "Final price (lamports per token)"
2496
+ ],
2497
+ "type": "u64"
2498
+ },
2499
+ {
2500
+ "name": "timestamp",
2501
+ "docs": [
2502
+ "Timestamp"
2503
+ ],
2504
+ "type": "i64"
2505
+ }
2506
+ ]
2507
+ }
2508
+ },
2509
+ {
2510
+ "name": "LaunchCreated",
2511
+ "docs": [
2512
+ "Event emitted when a new token launch is created"
2513
+ ],
2514
+ "type": {
2515
+ "kind": "struct",
2516
+ "fields": [
2517
+ {
2518
+ "name": "token_launch",
2519
+ "docs": [
2520
+ "The token launch public key"
2521
+ ],
2522
+ "type": "pubkey"
2523
+ },
2524
+ {
2525
+ "name": "mint",
2526
+ "docs": [
2527
+ "The mint address"
2528
+ ],
2529
+ "type": "pubkey"
2530
+ },
2531
+ {
2532
+ "name": "creator",
2533
+ "docs": [
2534
+ "The creator's wallet address"
2535
+ ],
2536
+ "type": "pubkey"
2537
+ },
2538
+ {
2539
+ "name": "name",
2540
+ "docs": [
2541
+ "Token name"
2542
+ ],
2543
+ "type": "string"
2544
+ },
2545
+ {
2546
+ "name": "symbol",
2547
+ "docs": [
2548
+ "Token symbol"
2549
+ ],
2550
+ "type": "string"
2551
+ },
2552
+ {
2553
+ "name": "total_supply",
2554
+ "docs": [
2555
+ "Total supply (with decimals)"
2556
+ ],
2557
+ "type": "u64"
2558
+ },
2559
+ {
2560
+ "name": "curve_allocation",
2561
+ "docs": [
2562
+ "Tokens allocated to bonding curve (80%)"
2563
+ ],
2564
+ "type": "u64"
2565
+ },
2566
+ {
2567
+ "name": "lp_allocation",
2568
+ "docs": [
2569
+ "Tokens reserved for LP (20%)"
2570
+ ],
2571
+ "type": "u64"
2572
+ },
2573
+ {
2574
+ "name": "initial_k",
2575
+ "docs": [
2576
+ "Initial price constant k"
2577
+ ],
2578
+ "type": "u128"
2579
+ },
2580
+ {
2581
+ "name": "initial_price",
2582
+ "docs": [
2583
+ "Initial price (lamports per token)"
2584
+ ],
2585
+ "type": "u64"
2586
+ },
2587
+ {
2588
+ "name": "timestamp",
2589
+ "docs": [
2590
+ "Timestamp of creation"
2591
+ ],
2592
+ "type": "i64"
2593
+ }
2594
+ ]
2595
+ }
2596
+ },
2597
+ {
2598
+ "name": "Launchpad",
2599
+ "docs": [
2600
+ "Global launchpad configuration account",
2601
+ "Stores platform-wide settings and authority"
2602
+ ],
2603
+ "type": {
2604
+ "kind": "struct",
2605
+ "fields": [
2606
+ {
2607
+ "name": "authority",
2608
+ "docs": [
2609
+ "Platform authority (can update settings)"
2610
+ ],
2611
+ "type": "pubkey"
2612
+ },
2613
+ {
2614
+ "name": "treasury",
2615
+ "docs": [
2616
+ "Treasury wallet for collecting platform fees"
2617
+ ],
2618
+ "type": "pubkey"
2619
+ },
2620
+ {
2621
+ "name": "fee_bps",
2622
+ "docs": [
2623
+ "Platform fee in basis points (100 = 1%)"
2624
+ ],
2625
+ "type": "u16"
2626
+ },
2627
+ {
2628
+ "name": "bump",
2629
+ "docs": [
2630
+ "Bump seed for PDA"
2631
+ ],
2632
+ "type": "u8"
2633
+ },
2634
+ {
2635
+ "name": "total_launches",
2636
+ "docs": [
2637
+ "Total launches created"
2638
+ ],
2639
+ "type": "u64"
2640
+ },
2641
+ {
2642
+ "name": "paused",
2643
+ "docs": [
2644
+ "Whether the platform is paused"
2645
+ ],
2646
+ "type": "bool"
2647
+ }
2648
+ ]
2649
+ }
2650
+ },
2651
+ {
2652
+ "name": "TokenLaunch",
2653
+ "docs": [
2654
+ "Token launch state - represents a single token launch",
2655
+ "Simple model:",
2656
+ "- 80% supply available for bonding curve trading",
2657
+ "- 20% supply reserved for DEX liquidity",
2658
+ "- 1% trading fee (0.5% platform + 0.5% creator)"
2659
+ ],
2660
+ "type": {
2661
+ "kind": "struct",
2662
+ "fields": [
2663
+ {
2664
+ "name": "creator",
2665
+ "docs": [
2666
+ "Creator's wallet address"
2667
+ ],
2668
+ "type": "pubkey"
2669
+ },
2670
+ {
2671
+ "name": "mint",
2672
+ "docs": [
2673
+ "Token mint address"
2674
+ ],
2675
+ "type": "pubkey"
2676
+ },
2677
+ {
2678
+ "name": "vault",
2679
+ "docs": [
2680
+ "SOL vault PDA"
2681
+ ],
2682
+ "type": "pubkey"
2683
+ },
2684
+ {
2685
+ "name": "bonding_curve",
2686
+ "docs": [
2687
+ "Associated bonding curve account"
2688
+ ],
2689
+ "type": "pubkey"
2690
+ },
2691
+ {
2692
+ "name": "total_supply",
2693
+ "docs": [
2694
+ "Total token supply"
2695
+ ],
2696
+ "type": "u64"
2697
+ },
2698
+ {
2699
+ "name": "curve_allocation",
2700
+ "docs": [
2701
+ "Tokens allocated for bonding curve (80%)"
2702
+ ],
2703
+ "type": "u64"
2704
+ },
2705
+ {
2706
+ "name": "lp_allocation",
2707
+ "docs": [
2708
+ "Tokens reserved for LP (20%)"
2709
+ ],
2710
+ "type": "u64"
2711
+ },
2712
+ {
2713
+ "name": "total_sol_raised",
2714
+ "docs": [
2715
+ "Total SOL raised during presale (after fees)"
2716
+ ],
2717
+ "type": "u64"
2718
+ },
2719
+ {
2720
+ "name": "accumulated_creator_fees",
2721
+ "docs": [
2722
+ "Accumulated creator fees from trading (0.5% per trade)"
2723
+ ],
2724
+ "type": "u64"
2725
+ },
2726
+ {
2727
+ "name": "trading_active",
2728
+ "docs": [
2729
+ "Whether trading is currently active"
2730
+ ],
2731
+ "type": "bool"
2732
+ },
2733
+ {
2734
+ "name": "migrated",
2735
+ "docs": [
2736
+ "Whether curve is complete (migrated to DEX)"
2737
+ ],
2738
+ "type": "bool"
2739
+ },
2740
+ {
2741
+ "name": "initial_k",
2742
+ "docs": [
2743
+ "Bonding curve k constant"
2744
+ ],
2745
+ "type": "u128"
2746
+ },
2747
+ {
2748
+ "name": "created_at",
2749
+ "docs": [
2750
+ "Unix timestamp of creation"
2751
+ ],
2752
+ "type": "i64"
2753
+ },
2754
+ {
2755
+ "name": "migrated_at",
2756
+ "docs": [
2757
+ "Unix timestamp of migration (0 if not migrated)"
2758
+ ],
2759
+ "type": "i64"
2760
+ },
2761
+ {
2762
+ "name": "bump",
2763
+ "docs": [
2764
+ "Bump seed for PDA"
2765
+ ],
2766
+ "type": "u8"
2767
+ },
2768
+ {
2769
+ "name": "name",
2770
+ "docs": [
2771
+ "Token name (max 32 chars)"
2772
+ ],
2773
+ "type": "string"
2774
+ },
2775
+ {
2776
+ "name": "symbol",
2777
+ "docs": [
2778
+ "Token symbol (max 10 chars)"
2779
+ ],
2780
+ "type": "string"
2781
+ },
2782
+ {
2783
+ "name": "uri",
2784
+ "docs": [
2785
+ "Token description/URI (max 200 chars)"
2786
+ ],
2787
+ "type": "string"
2788
+ }
2789
+ ]
2790
+ }
2791
+ },
2792
+ {
2793
+ "name": "TokensPurchased",
2794
+ "docs": [
2795
+ "Event emitted when tokens are purchased on the bonding curve"
2796
+ ],
2797
+ "type": {
2798
+ "kind": "struct",
2799
+ "fields": [
2800
+ {
2801
+ "name": "token_launch",
2802
+ "docs": [
2803
+ "The token launch public key"
2804
+ ],
2805
+ "type": "pubkey"
2806
+ },
2807
+ {
2808
+ "name": "mint",
2809
+ "docs": [
2810
+ "The mint address"
2811
+ ],
2812
+ "type": "pubkey"
2813
+ },
2814
+ {
2815
+ "name": "buyer",
2816
+ "docs": [
2817
+ "The buyer's wallet address"
2818
+ ],
2819
+ "type": "pubkey"
2820
+ },
2821
+ {
2822
+ "name": "sol_amount",
2823
+ "docs": [
2824
+ "Total SOL amount paid by buyer (including fees)"
2825
+ ],
2826
+ "type": "u64"
2827
+ },
2828
+ {
2829
+ "name": "sol_after_fees",
2830
+ "docs": [
2831
+ "SOL amount after fees (added to curve reserves)"
2832
+ ],
2833
+ "type": "u64"
2834
+ },
2835
+ {
2836
+ "name": "tokens_received",
2837
+ "docs": [
2838
+ "Number of tokens received"
2839
+ ],
2840
+ "type": "u64"
2841
+ },
2842
+ {
2843
+ "name": "creator_fee",
2844
+ "docs": [
2845
+ "Creator fee paid (in lamports)"
2846
+ ],
2847
+ "type": "u64"
2848
+ },
2849
+ {
2850
+ "name": "admin_fee",
2851
+ "docs": [
2852
+ "Admin fee paid (in lamports)"
2853
+ ],
2854
+ "type": "u64"
2855
+ },
2856
+ {
2857
+ "name": "price_after",
2858
+ "docs": [
2859
+ "Current price after the trade (lamports per token)"
2860
+ ],
2861
+ "type": "u64"
2862
+ },
2863
+ {
2864
+ "name": "total_sold",
2865
+ "docs": [
2866
+ "Total tokens sold on curve after this trade"
2867
+ ],
2868
+ "type": "u64"
2869
+ },
2870
+ {
2871
+ "name": "progress",
2872
+ "docs": [
2873
+ "Progress percentage (0-100)"
2874
+ ],
2875
+ "type": "u8"
2876
+ },
2877
+ {
2878
+ "name": "timestamp",
2879
+ "docs": [
2880
+ "Timestamp of the trade"
2881
+ ],
2882
+ "type": "i64"
2883
+ },
2884
+ {
2885
+ "name": "is_curve_complete",
2886
+ "docs": [
2887
+ "True if this buy completed the curve (reached 80% sold)"
2888
+ ],
2889
+ "type": "bool"
2890
+ }
2891
+ ]
2892
+ }
2893
+ },
2894
+ {
2895
+ "name": "TokensSold",
2896
+ "docs": [
2897
+ "Event emitted when tokens are sold on the bonding curve"
2898
+ ],
2899
+ "type": {
2900
+ "kind": "struct",
2901
+ "fields": [
2902
+ {
2903
+ "name": "token_launch",
2904
+ "docs": [
2905
+ "The token launch public key"
2906
+ ],
2907
+ "type": "pubkey"
2908
+ },
2909
+ {
2910
+ "name": "mint",
2911
+ "docs": [
2912
+ "The mint address"
2913
+ ],
2914
+ "type": "pubkey"
2915
+ },
2916
+ {
2917
+ "name": "seller",
2918
+ "docs": [
2919
+ "The seller's wallet address"
2920
+ ],
2921
+ "type": "pubkey"
2922
+ },
2923
+ {
2924
+ "name": "tokens_sold",
2925
+ "docs": [
2926
+ "Number of tokens sold"
2927
+ ],
2928
+ "type": "u64"
2929
+ },
2930
+ {
2931
+ "name": "gross_sol_refund",
2932
+ "docs": [
2933
+ "Gross SOL refund (before fees)"
2934
+ ],
2935
+ "type": "u64"
2936
+ },
2937
+ {
2938
+ "name": "net_sol_refund",
2939
+ "docs": [
2940
+ "Net SOL received by seller (after fees)"
2941
+ ],
2942
+ "type": "u64"
2943
+ },
2944
+ {
2945
+ "name": "creator_fee",
2946
+ "docs": [
2947
+ "Creator fee deducted (in lamports)"
2948
+ ],
2949
+ "type": "u64"
2950
+ },
2951
+ {
2952
+ "name": "admin_fee",
2953
+ "docs": [
2954
+ "Admin fee deducted (in lamports)"
2955
+ ],
2956
+ "type": "u64"
2957
+ },
2958
+ {
2959
+ "name": "price_after",
2960
+ "docs": [
2961
+ "Current price after the trade (lamports per token)"
2962
+ ],
2963
+ "type": "u64"
2964
+ },
2965
+ {
2966
+ "name": "total_sold",
2967
+ "docs": [
2968
+ "Total tokens sold on curve after this trade"
2969
+ ],
2970
+ "type": "u64"
2971
+ },
2972
+ {
2973
+ "name": "progress",
2974
+ "docs": [
2975
+ "Progress percentage (0-100)"
2976
+ ],
2977
+ "type": "u8"
2978
+ },
2979
+ {
2980
+ "name": "timestamp",
2981
+ "docs": [
2982
+ "Timestamp of the trade"
2983
+ ],
2984
+ "type": "i64"
2985
+ }
2986
+ ]
2987
+ }
2988
+ },
2989
+ {
2990
+ "name": "UserPosition",
2991
+ "docs": [
2992
+ "User's position in a specific token launch",
2993
+ "Tracks contributions during presale and claim status"
2994
+ ],
2995
+ "type": {
2996
+ "kind": "struct",
2997
+ "fields": [
2998
+ {
2999
+ "name": "user",
3000
+ "docs": [
3001
+ "User's wallet address"
3002
+ ],
3003
+ "type": "pubkey"
3004
+ },
3005
+ {
3006
+ "name": "token_launch",
3007
+ "docs": [
3008
+ "Associated token launch"
3009
+ ],
3010
+ "type": "pubkey"
3011
+ },
3012
+ {
3013
+ "name": "tokens_allocated",
3014
+ "docs": [
3015
+ "Total tokens allocated based on bonding curve price at contribution time"
3016
+ ],
3017
+ "type": "u64"
3018
+ },
3019
+ {
3020
+ "name": "sol_contributed",
3021
+ "docs": [
3022
+ "Total SOL contributed to presale"
3023
+ ],
3024
+ "type": "u64"
3025
+ },
3026
+ {
3027
+ "name": "claimed",
3028
+ "docs": [
3029
+ "Whether tokens have been claimed (post-launch)"
3030
+ ],
3031
+ "type": "bool"
3032
+ },
3033
+ {
3034
+ "name": "refunded",
3035
+ "docs": [
3036
+ "Whether contribution has been refunded"
3037
+ ],
3038
+ "type": "bool"
3039
+ },
3040
+ {
3041
+ "name": "bump",
3042
+ "docs": [
3043
+ "Bump seed for PDA"
3044
+ ],
3045
+ "type": "u8"
3046
+ }
3047
+ ]
3048
+ }
3049
+ }
3050
+ ]
3051
+ }