@pump-fun/pump-sdk 1.23.0 → 1.25.0-devnet.1

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