@pump-fun/pump-sdk 1.22.1-devnet.1 → 1.23.0-devnet.2

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