@pump-fun/pump-sdk 1.27.0 → 1.28.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.
@@ -7,6 +7,115 @@
7
7
  "description": "Created with Anchor"
8
8
  },
9
9
  "instructions": [
10
+ {
11
+ "name": "claim_social_fee_pda",
12
+ "discriminator": [
13
+ 225,
14
+ 21,
15
+ 251,
16
+ 133,
17
+ 161,
18
+ 30,
19
+ 199,
20
+ 226
21
+ ],
22
+ "accounts": [
23
+ {
24
+ "name": "recipient",
25
+ "writable": true
26
+ },
27
+ {
28
+ "name": "social_fee_pda",
29
+ "writable": true
30
+ },
31
+ {
32
+ "name": "fee_program_global",
33
+ "pda": {
34
+ "seeds": [
35
+ {
36
+ "kind": "const",
37
+ "value": [
38
+ 102,
39
+ 101,
40
+ 101,
41
+ 45,
42
+ 112,
43
+ 114,
44
+ 111,
45
+ 103,
46
+ 114,
47
+ 97,
48
+ 109,
49
+ 45,
50
+ 103,
51
+ 108,
52
+ 111,
53
+ 98,
54
+ 97,
55
+ 108
56
+ ]
57
+ }
58
+ ]
59
+ }
60
+ },
61
+ {
62
+ "name": "social_claim_authority",
63
+ "signer": true,
64
+ "relations": [
65
+ "fee_program_global"
66
+ ]
67
+ },
68
+ {
69
+ "name": "event_authority",
70
+ "pda": {
71
+ "seeds": [
72
+ {
73
+ "kind": "const",
74
+ "value": [
75
+ 95,
76
+ 95,
77
+ 101,
78
+ 118,
79
+ 101,
80
+ 110,
81
+ 116,
82
+ 95,
83
+ 97,
84
+ 117,
85
+ 116,
86
+ 104,
87
+ 111,
88
+ 114,
89
+ 105,
90
+ 116,
91
+ 121
92
+ ]
93
+ }
94
+ ]
95
+ }
96
+ },
97
+ {
98
+ "name": "program"
99
+ }
100
+ ],
101
+ "args": [
102
+ {
103
+ "name": "user_id",
104
+ "type": "string"
105
+ },
106
+ {
107
+ "name": "platform",
108
+ "type": "u8"
109
+ }
110
+ ],
111
+ "returns": {
112
+ "option": {
113
+ "defined": {
114
+ "name": "SocialFeePdaClaimed"
115
+ }
116
+ }
117
+ }
118
+ },
10
119
  {
11
120
  "name": "create_fee_sharing_config",
12
121
  "docs": [
@@ -371,6 +480,106 @@
371
480
  ],
372
481
  "args": []
373
482
  },
483
+ {
484
+ "name": "create_social_fee_pda",
485
+ "discriminator": [
486
+ 144,
487
+ 224,
488
+ 59,
489
+ 211,
490
+ 78,
491
+ 248,
492
+ 202,
493
+ 220
494
+ ],
495
+ "accounts": [
496
+ {
497
+ "name": "payer",
498
+ "writable": true,
499
+ "signer": true
500
+ },
501
+ {
502
+ "name": "social_fee_pda",
503
+ "writable": true
504
+ },
505
+ {
506
+ "name": "system_program",
507
+ "address": "11111111111111111111111111111111"
508
+ },
509
+ {
510
+ "name": "fee_program_global",
511
+ "pda": {
512
+ "seeds": [
513
+ {
514
+ "kind": "const",
515
+ "value": [
516
+ 102,
517
+ 101,
518
+ 101,
519
+ 45,
520
+ 112,
521
+ 114,
522
+ 111,
523
+ 103,
524
+ 114,
525
+ 97,
526
+ 109,
527
+ 45,
528
+ 103,
529
+ 108,
530
+ 111,
531
+ 98,
532
+ 97,
533
+ 108
534
+ ]
535
+ }
536
+ ]
537
+ }
538
+ },
539
+ {
540
+ "name": "event_authority",
541
+ "pda": {
542
+ "seeds": [
543
+ {
544
+ "kind": "const",
545
+ "value": [
546
+ 95,
547
+ 95,
548
+ 101,
549
+ 118,
550
+ 101,
551
+ 110,
552
+ 116,
553
+ 95,
554
+ 97,
555
+ 117,
556
+ 116,
557
+ 104,
558
+ 111,
559
+ 114,
560
+ 105,
561
+ 116,
562
+ 121
563
+ ]
564
+ }
565
+ ]
566
+ }
567
+ },
568
+ {
569
+ "name": "program"
570
+ }
571
+ ],
572
+ "args": [
573
+ {
574
+ "name": "user_id",
575
+ "type": "string"
576
+ },
577
+ {
578
+ "name": "platform",
579
+ "type": "u8"
580
+ }
581
+ ]
582
+ },
374
583
  {
375
584
  "name": "get_fees",
376
585
  "docs": [
@@ -529,27 +738,28 @@
529
738
  "args": []
530
739
  },
531
740
  {
532
- "name": "reset_fee_sharing_config",
533
- "docs": [
534
- "Reset Fee Sharing Config, make sure to distribute all the fees before calling this"
535
- ],
741
+ "name": "initialize_fee_program_global",
536
742
  "discriminator": [
537
- 10,
538
- 2,
539
- 182,
540
- 95,
541
- 16,
542
- 127,
543
- 129,
544
- 186
743
+ 35,
744
+ 215,
745
+ 130,
746
+ 84,
747
+ 233,
748
+ 56,
749
+ 124,
750
+ 167
545
751
  ],
546
752
  "accounts": [
547
753
  {
548
754
  "name": "authority",
549
- "signer": true
755
+ "writable": true,
756
+ "signer": true,
757
+ "relations": [
758
+ "pump_global"
759
+ ]
550
760
  },
551
761
  {
552
- "name": "global",
762
+ "name": "pump_global",
553
763
  "pda": {
554
764
  "seeds": [
555
765
  {
@@ -604,41 +814,525 @@
604
814
  }
605
815
  },
606
816
  {
607
- "name": "new_admin"
817
+ "name": "fee_program_global",
818
+ "writable": true,
819
+ "pda": {
820
+ "seeds": [
821
+ {
822
+ "kind": "const",
823
+ "value": [
824
+ 102,
825
+ 101,
826
+ 101,
827
+ 45,
828
+ 112,
829
+ 114,
830
+ 111,
831
+ 103,
832
+ 114,
833
+ 97,
834
+ 109,
835
+ 45,
836
+ 103,
837
+ 108,
838
+ 111,
839
+ 98,
840
+ 97,
841
+ 108
842
+ ]
843
+ }
844
+ ]
845
+ }
608
846
  },
609
847
  {
610
- "name": "mint",
611
- "relations": [
612
- "sharing_config"
613
- ]
848
+ "name": "system_program",
849
+ "address": "11111111111111111111111111111111"
614
850
  },
615
851
  {
616
- "name": "sharing_config",
617
- "writable": true,
852
+ "name": "event_authority",
618
853
  "pda": {
619
854
  "seeds": [
620
855
  {
621
856
  "kind": "const",
622
857
  "value": [
623
- 115,
624
- 104,
858
+ 95,
859
+ 95,
860
+ 101,
861
+ 118,
862
+ 101,
863
+ 110,
864
+ 116,
865
+ 95,
625
866
  97,
867
+ 117,
868
+ 116,
869
+ 104,
870
+ 111,
871
+ 114,
872
+ 105,
873
+ 116,
874
+ 121
875
+ ]
876
+ }
877
+ ]
878
+ }
879
+ },
880
+ {
881
+ "name": "program"
882
+ }
883
+ ],
884
+ "args": [
885
+ {
886
+ "name": "social_claim_authority",
887
+ "type": "pubkey"
888
+ },
889
+ {
890
+ "name": "disable_flags",
891
+ "type": "u8"
892
+ },
893
+ {
894
+ "name": "claim_rate_limit",
895
+ "type": "u64"
896
+ }
897
+ ]
898
+ },
899
+ {
900
+ "name": "reset_fee_sharing_config",
901
+ "docs": [
902
+ "Reset Fee Sharing Config, make sure to distribute all the fees before calling this"
903
+ ],
904
+ "discriminator": [
905
+ 10,
906
+ 2,
907
+ 182,
908
+ 95,
909
+ 16,
910
+ 127,
911
+ 129,
912
+ 186
913
+ ],
914
+ "accounts": [
915
+ {
916
+ "name": "authority",
917
+ "signer": true
918
+ },
919
+ {
920
+ "name": "global",
921
+ "pda": {
922
+ "seeds": [
923
+ {
924
+ "kind": "const",
925
+ "value": [
926
+ 103,
927
+ 108,
928
+ 111,
929
+ 98,
930
+ 97,
931
+ 108
932
+ ]
933
+ }
934
+ ],
935
+ "program": {
936
+ "kind": "const",
937
+ "value": [
938
+ 1,
939
+ 86,
940
+ 224,
941
+ 246,
942
+ 147,
943
+ 102,
944
+ 90,
945
+ 207,
946
+ 68,
947
+ 219,
948
+ 21,
949
+ 104,
950
+ 191,
951
+ 23,
952
+ 91,
953
+ 170,
954
+ 81,
955
+ 137,
956
+ 203,
957
+ 151,
958
+ 245,
959
+ 210,
960
+ 255,
961
+ 59,
962
+ 101,
963
+ 93,
964
+ 43,
965
+ 182,
966
+ 253,
967
+ 109,
968
+ 24,
969
+ 176
970
+ ]
971
+ }
972
+ }
973
+ },
974
+ {
975
+ "name": "new_admin"
976
+ },
977
+ {
978
+ "name": "mint",
979
+ "relations": [
980
+ "sharing_config"
981
+ ]
982
+ },
983
+ {
984
+ "name": "sharing_config",
985
+ "writable": true,
986
+ "pda": {
987
+ "seeds": [
988
+ {
989
+ "kind": "const",
990
+ "value": [
991
+ 115,
992
+ 104,
993
+ 97,
994
+ 114,
995
+ 105,
996
+ 110,
997
+ 103,
998
+ 45,
999
+ 99,
1000
+ 111,
1001
+ 110,
1002
+ 102,
1003
+ 105,
1004
+ 103
1005
+ ]
1006
+ },
1007
+ {
1008
+ "kind": "account",
1009
+ "path": "mint"
1010
+ }
1011
+ ]
1012
+ }
1013
+ },
1014
+ {
1015
+ "name": "event_authority",
1016
+ "pda": {
1017
+ "seeds": [
1018
+ {
1019
+ "kind": "const",
1020
+ "value": [
1021
+ 95,
1022
+ 95,
1023
+ 101,
1024
+ 118,
1025
+ 101,
1026
+ 110,
1027
+ 116,
1028
+ 95,
1029
+ 97,
1030
+ 117,
1031
+ 116,
1032
+ 104,
1033
+ 111,
1034
+ 114,
1035
+ 105,
1036
+ 116,
1037
+ 121
1038
+ ]
1039
+ }
1040
+ ]
1041
+ }
1042
+ },
1043
+ {
1044
+ "name": "program"
1045
+ }
1046
+ ],
1047
+ "args": []
1048
+ },
1049
+ {
1050
+ "name": "revoke_fee_sharing_authority",
1051
+ "docs": [
1052
+ "Revoke Fee Sharing Authority"
1053
+ ],
1054
+ "discriminator": [
1055
+ 18,
1056
+ 233,
1057
+ 158,
1058
+ 39,
1059
+ 185,
1060
+ 207,
1061
+ 58,
1062
+ 104
1063
+ ],
1064
+ "accounts": [
1065
+ {
1066
+ "name": "authority",
1067
+ "signer": true
1068
+ },
1069
+ {
1070
+ "name": "global",
1071
+ "pda": {
1072
+ "seeds": [
1073
+ {
1074
+ "kind": "const",
1075
+ "value": [
1076
+ 103,
1077
+ 108,
1078
+ 111,
1079
+ 98,
1080
+ 97,
1081
+ 108
1082
+ ]
1083
+ }
1084
+ ],
1085
+ "program": {
1086
+ "kind": "const",
1087
+ "value": [
1088
+ 1,
1089
+ 86,
1090
+ 224,
1091
+ 246,
1092
+ 147,
1093
+ 102,
1094
+ 90,
1095
+ 207,
1096
+ 68,
1097
+ 219,
1098
+ 21,
1099
+ 104,
1100
+ 191,
1101
+ 23,
1102
+ 91,
1103
+ 170,
1104
+ 81,
1105
+ 137,
1106
+ 203,
1107
+ 151,
1108
+ 245,
1109
+ 210,
1110
+ 255,
1111
+ 59,
1112
+ 101,
1113
+ 93,
1114
+ 43,
1115
+ 182,
1116
+ 253,
1117
+ 109,
1118
+ 24,
1119
+ 176
1120
+ ]
1121
+ }
1122
+ }
1123
+ },
1124
+ {
1125
+ "name": "mint",
1126
+ "relations": [
1127
+ "sharing_config"
1128
+ ]
1129
+ },
1130
+ {
1131
+ "name": "sharing_config",
1132
+ "writable": true,
1133
+ "pda": {
1134
+ "seeds": [
1135
+ {
1136
+ "kind": "const",
1137
+ "value": [
1138
+ 115,
1139
+ 104,
1140
+ 97,
1141
+ 114,
1142
+ 105,
1143
+ 110,
1144
+ 103,
1145
+ 45,
1146
+ 99,
1147
+ 111,
1148
+ 110,
1149
+ 102,
1150
+ 105,
1151
+ 103
1152
+ ]
1153
+ },
1154
+ {
1155
+ "kind": "account",
1156
+ "path": "mint"
1157
+ }
1158
+ ]
1159
+ }
1160
+ },
1161
+ {
1162
+ "name": "event_authority",
1163
+ "pda": {
1164
+ "seeds": [
1165
+ {
1166
+ "kind": "const",
1167
+ "value": [
1168
+ 95,
1169
+ 95,
1170
+ 101,
1171
+ 118,
1172
+ 101,
1173
+ 110,
1174
+ 116,
1175
+ 95,
1176
+ 97,
1177
+ 117,
1178
+ 116,
1179
+ 104,
1180
+ 111,
1181
+ 114,
1182
+ 105,
1183
+ 116,
1184
+ 121
1185
+ ]
1186
+ }
1187
+ ]
1188
+ }
1189
+ },
1190
+ {
1191
+ "name": "program"
1192
+ }
1193
+ ],
1194
+ "args": []
1195
+ },
1196
+ {
1197
+ "name": "set_authority",
1198
+ "discriminator": [
1199
+ 133,
1200
+ 250,
1201
+ 37,
1202
+ 21,
1203
+ 110,
1204
+ 163,
1205
+ 26,
1206
+ 121
1207
+ ],
1208
+ "accounts": [
1209
+ {
1210
+ "name": "authority",
1211
+ "writable": true,
1212
+ "signer": true,
1213
+ "relations": [
1214
+ "fee_program_global"
1215
+ ]
1216
+ },
1217
+ {
1218
+ "name": "fee_program_global",
1219
+ "writable": true,
1220
+ "pda": {
1221
+ "seeds": [
1222
+ {
1223
+ "kind": "const",
1224
+ "value": [
1225
+ 102,
1226
+ 101,
1227
+ 101,
1228
+ 45,
1229
+ 112,
1230
+ 114,
1231
+ 111,
1232
+ 103,
1233
+ 114,
1234
+ 97,
1235
+ 109,
1236
+ 45,
1237
+ 103,
1238
+ 108,
1239
+ 111,
1240
+ 98,
1241
+ 97,
1242
+ 108
1243
+ ]
1244
+ }
1245
+ ]
1246
+ }
1247
+ },
1248
+ {
1249
+ "name": "event_authority",
1250
+ "pda": {
1251
+ "seeds": [
1252
+ {
1253
+ "kind": "const",
1254
+ "value": [
1255
+ 95,
1256
+ 95,
1257
+ 101,
1258
+ 118,
1259
+ 101,
1260
+ 110,
1261
+ 116,
1262
+ 95,
1263
+ 97,
1264
+ 117,
1265
+ 116,
1266
+ 104,
1267
+ 111,
1268
+ 114,
1269
+ 105,
1270
+ 116,
1271
+ 121
1272
+ ]
1273
+ }
1274
+ ]
1275
+ }
1276
+ },
1277
+ {
1278
+ "name": "program"
1279
+ }
1280
+ ],
1281
+ "args": [
1282
+ {
1283
+ "name": "new_authority",
1284
+ "type": "pubkey"
1285
+ }
1286
+ ]
1287
+ },
1288
+ {
1289
+ "name": "set_claim_rate_limit",
1290
+ "discriminator": [
1291
+ 185,
1292
+ 211,
1293
+ 159,
1294
+ 174,
1295
+ 212,
1296
+ 49,
1297
+ 88,
1298
+ 4
1299
+ ],
1300
+ "accounts": [
1301
+ {
1302
+ "name": "authority",
1303
+ "writable": true,
1304
+ "signer": true,
1305
+ "relations": [
1306
+ "fee_program_global"
1307
+ ]
1308
+ },
1309
+ {
1310
+ "name": "fee_program_global",
1311
+ "writable": true,
1312
+ "pda": {
1313
+ "seeds": [
1314
+ {
1315
+ "kind": "const",
1316
+ "value": [
1317
+ 102,
1318
+ 101,
1319
+ 101,
1320
+ 45,
1321
+ 112,
626
1322
  114,
627
- 105,
628
- 110,
1323
+ 111,
629
1324
  103,
1325
+ 114,
1326
+ 97,
1327
+ 109,
630
1328
  45,
631
- 99,
1329
+ 103,
1330
+ 108,
632
1331
  111,
633
- 110,
634
- 102,
635
- 105,
636
- 103
1332
+ 98,
1333
+ 97,
1334
+ 108
637
1335
  ]
638
- },
639
- {
640
- "kind": "account",
641
- "path": "mint"
642
1336
  }
643
1337
  ]
644
1338
  }
@@ -676,35 +1370,54 @@
676
1370
  "name": "program"
677
1371
  }
678
1372
  ],
679
- "args": []
1373
+ "args": [
1374
+ {
1375
+ "name": "claim_rate_limit",
1376
+ "type": "u64"
1377
+ }
1378
+ ]
680
1379
  },
681
1380
  {
682
- "name": "revoke_fee_sharing_authority",
683
- "docs": [
684
- "Revoke Fee Sharing Authority"
685
- ],
1381
+ "name": "set_disable_flags",
686
1382
  "discriminator": [
687
- 18,
688
- 233,
689
- 158,
690
- 39,
691
- 185,
692
- 207,
693
- 58,
694
- 104
1383
+ 194,
1384
+ 217,
1385
+ 112,
1386
+ 35,
1387
+ 114,
1388
+ 222,
1389
+ 51,
1390
+ 190
695
1391
  ],
696
1392
  "accounts": [
697
1393
  {
698
1394
  "name": "authority",
699
- "signer": true
1395
+ "writable": true,
1396
+ "signer": true,
1397
+ "relations": [
1398
+ "fee_program_global"
1399
+ ]
700
1400
  },
701
1401
  {
702
- "name": "global",
1402
+ "name": "fee_program_global",
1403
+ "writable": true,
703
1404
  "pda": {
704
1405
  "seeds": [
705
1406
  {
706
1407
  "kind": "const",
707
1408
  "value": [
1409
+ 102,
1410
+ 101,
1411
+ 101,
1412
+ 45,
1413
+ 112,
1414
+ 114,
1415
+ 111,
1416
+ 103,
1417
+ 114,
1418
+ 97,
1419
+ 109,
1420
+ 45,
708
1421
  103,
709
1422
  108,
710
1423
  111,
@@ -713,79 +1426,97 @@
713
1426
  108
714
1427
  ]
715
1428
  }
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
- }
1429
+ ]
754
1430
  }
755
1431
  },
756
1432
  {
757
- "name": "mint",
1433
+ "name": "event_authority",
1434
+ "pda": {
1435
+ "seeds": [
1436
+ {
1437
+ "kind": "const",
1438
+ "value": [
1439
+ 95,
1440
+ 95,
1441
+ 101,
1442
+ 118,
1443
+ 101,
1444
+ 110,
1445
+ 116,
1446
+ 95,
1447
+ 97,
1448
+ 117,
1449
+ 116,
1450
+ 104,
1451
+ 111,
1452
+ 114,
1453
+ 105,
1454
+ 116,
1455
+ 121
1456
+ ]
1457
+ }
1458
+ ]
1459
+ }
1460
+ },
1461
+ {
1462
+ "name": "program"
1463
+ }
1464
+ ],
1465
+ "args": [
1466
+ {
1467
+ "name": "disable_flags",
1468
+ "type": "u8"
1469
+ }
1470
+ ]
1471
+ },
1472
+ {
1473
+ "name": "set_social_claim_authority",
1474
+ "discriminator": [
1475
+ 147,
1476
+ 54,
1477
+ 184,
1478
+ 154,
1479
+ 136,
1480
+ 237,
1481
+ 185,
1482
+ 153
1483
+ ],
1484
+ "accounts": [
1485
+ {
1486
+ "name": "authority",
1487
+ "writable": true,
1488
+ "signer": true,
758
1489
  "relations": [
759
- "sharing_config"
1490
+ "fee_program_global"
760
1491
  ]
761
1492
  },
762
1493
  {
763
- "name": "sharing_config",
1494
+ "name": "fee_program_global",
764
1495
  "writable": true,
765
1496
  "pda": {
766
1497
  "seeds": [
767
1498
  {
768
1499
  "kind": "const",
769
1500
  "value": [
770
- 115,
771
- 104,
772
- 97,
1501
+ 102,
1502
+ 101,
1503
+ 101,
1504
+ 45,
1505
+ 112,
773
1506
  114,
774
- 105,
775
- 110,
1507
+ 111,
776
1508
  103,
1509
+ 114,
1510
+ 97,
1511
+ 109,
777
1512
  45,
778
- 99,
1513
+ 103,
1514
+ 108,
779
1515
  111,
780
- 110,
781
- 102,
782
- 105,
783
- 103
1516
+ 98,
1517
+ 97,
1518
+ 108
784
1519
  ]
785
- },
786
- {
787
- "kind": "account",
788
- "path": "mint"
789
1520
  }
790
1521
  ]
791
1522
  }
@@ -823,7 +1554,12 @@
823
1554
  "name": "program"
824
1555
  }
825
1556
  ],
826
- "args": []
1557
+ "args": [
1558
+ {
1559
+ "name": "social_claim_authority",
1560
+ "type": "pubkey"
1561
+ }
1562
+ ]
827
1563
  },
828
1564
  {
829
1565
  "name": "transfer_fee_sharing_authority",
@@ -1823,6 +2559,19 @@
1823
2559
  155
1824
2560
  ]
1825
2561
  },
2562
+ {
2563
+ "name": "FeeProgramGlobal",
2564
+ "discriminator": [
2565
+ 162,
2566
+ 165,
2567
+ 245,
2568
+ 49,
2569
+ 29,
2570
+ 37,
2571
+ 55,
2572
+ 242
2573
+ ]
2574
+ },
1826
2575
  {
1827
2576
  "name": "Global",
1828
2577
  "discriminator": [
@@ -1861,6 +2610,19 @@
1861
2610
  93,
1862
2611
  75
1863
2612
  ]
2613
+ },
2614
+ {
2615
+ "name": "SocialFeePda",
2616
+ "discriminator": [
2617
+ 139,
2618
+ 96,
2619
+ 53,
2620
+ 17,
2621
+ 42,
2622
+ 169,
2623
+ 206,
2624
+ 150
2625
+ ]
1864
2626
  }
1865
2627
  ],
1866
2628
  "events": [
@@ -1890,6 +2652,19 @@
1890
2652
  126
1891
2653
  ]
1892
2654
  },
2655
+ {
2656
+ "name": "InitializeFeeProgramGlobalEvent",
2657
+ "discriminator": [
2658
+ 40,
2659
+ 233,
2660
+ 156,
2661
+ 78,
2662
+ 95,
2663
+ 0,
2664
+ 8,
2665
+ 199
2666
+ ]
2667
+ },
1893
2668
  {
1894
2669
  "name": "ResetFeeSharingConfigEvent",
1895
2670
  "discriminator": [
@@ -1904,16 +2679,94 @@
1904
2679
  ]
1905
2680
  },
1906
2681
  {
1907
- "name": "RevokeFeeSharingAuthorityEvent",
2682
+ "name": "RevokeFeeSharingAuthorityEvent",
2683
+ "discriminator": [
2684
+ 114,
2685
+ 23,
2686
+ 101,
2687
+ 60,
2688
+ 14,
2689
+ 190,
2690
+ 153,
2691
+ 62
2692
+ ]
2693
+ },
2694
+ {
2695
+ "name": "SetAuthorityEvent",
2696
+ "discriminator": [
2697
+ 18,
2698
+ 175,
2699
+ 132,
2700
+ 66,
2701
+ 208,
2702
+ 201,
2703
+ 87,
2704
+ 242
2705
+ ]
2706
+ },
2707
+ {
2708
+ "name": "SetClaimRateLimitEvent",
2709
+ "discriminator": [
2710
+ 13,
2711
+ 143,
2712
+ 143,
2713
+ 235,
2714
+ 181,
2715
+ 19,
2716
+ 51,
2717
+ 40
2718
+ ]
2719
+ },
2720
+ {
2721
+ "name": "SetDisableFlagsEvent",
2722
+ "discriminator": [
2723
+ 5,
2724
+ 8,
2725
+ 179,
2726
+ 65,
2727
+ 49,
2728
+ 55,
2729
+ 145,
2730
+ 126
2731
+ ]
2732
+ },
2733
+ {
2734
+ "name": "SetSocialClaimAuthorityEvent",
2735
+ "discriminator": [
2736
+ 60,
2737
+ 118,
2738
+ 127,
2739
+ 132,
2740
+ 239,
2741
+ 52,
2742
+ 254,
2743
+ 14
2744
+ ]
2745
+ },
2746
+ {
2747
+ "name": "SocialFeePdaClaimed",
2748
+ "discriminator": [
2749
+ 50,
2750
+ 18,
2751
+ 193,
2752
+ 65,
2753
+ 237,
2754
+ 210,
2755
+ 234,
2756
+ 236
2757
+ ]
2758
+ },
2759
+ {
2760
+ "name": "SocialFeePdaCreated",
1908
2761
  "discriminator": [
1909
- 114,
1910
- 23,
1911
- 101,
1912
- 60,
1913
- 14,
1914
- 190,
1915
- 153,
1916
- 62
2762
+ 183,
2763
+ 183,
2764
+ 218,
2765
+ 147,
2766
+ 24,
2767
+ 124,
2768
+ 137,
2769
+ 169
1917
2770
  ]
1918
2771
  },
1919
2772
  {
@@ -2087,6 +2940,16 @@
2087
2940
  "code": 6020,
2088
2941
  "name": "ShareholderAccountMismatch",
2089
2942
  "msg": "Remaining account key doesn't match shareholder address"
2943
+ },
2944
+ {
2945
+ "code": 6021,
2946
+ "name": "FeatureDeactivated",
2947
+ "msg": "Feature is currently deactivated"
2948
+ },
2949
+ {
2950
+ "code": 6022,
2951
+ "name": "UserIdTooLong",
2952
+ "msg": "User ID exceeds maximum length"
2090
2953
  }
2091
2954
  ],
2092
2955
  "types": [
@@ -2242,6 +3105,43 @@
2242
3105
  ]
2243
3106
  }
2244
3107
  },
3108
+ {
3109
+ "name": "FeeProgramGlobal",
3110
+ "type": {
3111
+ "kind": "struct",
3112
+ "fields": [
3113
+ {
3114
+ "name": "bump",
3115
+ "type": "u8"
3116
+ },
3117
+ {
3118
+ "name": "authority",
3119
+ "type": "pubkey"
3120
+ },
3121
+ {
3122
+ "name": "disable_flags",
3123
+ "type": "u8"
3124
+ },
3125
+ {
3126
+ "name": "social_claim_authority",
3127
+ "type": "pubkey"
3128
+ },
3129
+ {
3130
+ "name": "claim_rate_limit",
3131
+ "type": "u64"
3132
+ },
3133
+ {
3134
+ "name": "_reserved",
3135
+ "type": {
3136
+ "array": [
3137
+ "u8",
3138
+ 256
3139
+ ]
3140
+ }
3141
+ }
3142
+ ]
3143
+ }
3144
+ },
2245
3145
  {
2246
3146
  "name": "FeeTier",
2247
3147
  "type": {
@@ -2400,6 +3300,34 @@
2400
3300
  ]
2401
3301
  }
2402
3302
  },
3303
+ {
3304
+ "name": "InitializeFeeProgramGlobalEvent",
3305
+ "type": {
3306
+ "kind": "struct",
3307
+ "fields": [
3308
+ {
3309
+ "name": "timestamp",
3310
+ "type": "i64"
3311
+ },
3312
+ {
3313
+ "name": "authority",
3314
+ "type": "pubkey"
3315
+ },
3316
+ {
3317
+ "name": "social_claim_authority",
3318
+ "type": "pubkey"
3319
+ },
3320
+ {
3321
+ "name": "disable_flags",
3322
+ "type": "u8"
3323
+ },
3324
+ {
3325
+ "name": "claim_rate_limit",
3326
+ "type": "u64"
3327
+ }
3328
+ ]
3329
+ }
3330
+ },
2403
3331
  {
2404
3332
  "name": "Pool",
2405
3333
  "type": {
@@ -2524,6 +3452,74 @@
2524
3452
  ]
2525
3453
  }
2526
3454
  },
3455
+ {
3456
+ "name": "SetAuthorityEvent",
3457
+ "type": {
3458
+ "kind": "struct",
3459
+ "fields": [
3460
+ {
3461
+ "name": "timestamp",
3462
+ "type": "i64"
3463
+ },
3464
+ {
3465
+ "name": "old_authority",
3466
+ "type": "pubkey"
3467
+ },
3468
+ {
3469
+ "name": "new_authority",
3470
+ "type": "pubkey"
3471
+ }
3472
+ ]
3473
+ }
3474
+ },
3475
+ {
3476
+ "name": "SetClaimRateLimitEvent",
3477
+ "type": {
3478
+ "kind": "struct",
3479
+ "fields": [
3480
+ {
3481
+ "name": "timestamp",
3482
+ "type": "i64"
3483
+ },
3484
+ {
3485
+ "name": "claim_rate_limit",
3486
+ "type": "u64"
3487
+ }
3488
+ ]
3489
+ }
3490
+ },
3491
+ {
3492
+ "name": "SetDisableFlagsEvent",
3493
+ "type": {
3494
+ "kind": "struct",
3495
+ "fields": [
3496
+ {
3497
+ "name": "timestamp",
3498
+ "type": "i64"
3499
+ },
3500
+ {
3501
+ "name": "disable_flags",
3502
+ "type": "u8"
3503
+ }
3504
+ ]
3505
+ }
3506
+ },
3507
+ {
3508
+ "name": "SetSocialClaimAuthorityEvent",
3509
+ "type": {
3510
+ "kind": "struct",
3511
+ "fields": [
3512
+ {
3513
+ "name": "timestamp",
3514
+ "type": "i64"
3515
+ },
3516
+ {
3517
+ "name": "social_claim_authority",
3518
+ "type": "pubkey"
3519
+ }
3520
+ ]
3521
+ }
3522
+ },
2527
3523
  {
2528
3524
  "name": "Shareholder",
2529
3525
  "type": {
@@ -2586,6 +3582,134 @@
2586
3582
  ]
2587
3583
  }
2588
3584
  },
3585
+ {
3586
+ "name": "SocialFeePda",
3587
+ "docs": [
3588
+ "Platform identifier: 0=pump, 1=twitter, etc."
3589
+ ],
3590
+ "type": {
3591
+ "kind": "struct",
3592
+ "fields": [
3593
+ {
3594
+ "name": "bump",
3595
+ "type": "u8"
3596
+ },
3597
+ {
3598
+ "name": "version",
3599
+ "type": "u8"
3600
+ },
3601
+ {
3602
+ "name": "user_id",
3603
+ "docs": [
3604
+ "Max 20 characters to fit u64::MAX (18,446,744,073,709,551,615) as a string.",
3605
+ "Actual storage: 4 bytes (length prefix) + 20 bytes (content) = 24 bytes."
3606
+ ],
3607
+ "type": "string"
3608
+ },
3609
+ {
3610
+ "name": "platform",
3611
+ "type": "u8"
3612
+ },
3613
+ {
3614
+ "name": "total_claimed",
3615
+ "type": "u64"
3616
+ },
3617
+ {
3618
+ "name": "last_claimed",
3619
+ "type": "u64"
3620
+ },
3621
+ {
3622
+ "name": "_reserved",
3623
+ "type": {
3624
+ "array": [
3625
+ "u8",
3626
+ 128
3627
+ ]
3628
+ }
3629
+ }
3630
+ ]
3631
+ }
3632
+ },
3633
+ {
3634
+ "name": "SocialFeePdaClaimed",
3635
+ "type": {
3636
+ "kind": "struct",
3637
+ "fields": [
3638
+ {
3639
+ "name": "timestamp",
3640
+ "type": "i64"
3641
+ },
3642
+ {
3643
+ "name": "user_id",
3644
+ "type": "string"
3645
+ },
3646
+ {
3647
+ "name": "platform",
3648
+ "type": "u8"
3649
+ },
3650
+ {
3651
+ "name": "social_fee_pda",
3652
+ "type": "pubkey"
3653
+ },
3654
+ {
3655
+ "name": "recipient",
3656
+ "type": "pubkey"
3657
+ },
3658
+ {
3659
+ "name": "social_claim_authority",
3660
+ "type": "pubkey"
3661
+ },
3662
+ {
3663
+ "name": "amount_claimed",
3664
+ "type": "u64"
3665
+ },
3666
+ {
3667
+ "name": "claimable_before",
3668
+ "type": "u64"
3669
+ },
3670
+ {
3671
+ "name": "lifetime_claimed",
3672
+ "type": "u64"
3673
+ },
3674
+ {
3675
+ "name": "recipient_balance_before",
3676
+ "type": "u64"
3677
+ },
3678
+ {
3679
+ "name": "recipient_balance_after",
3680
+ "type": "u64"
3681
+ }
3682
+ ]
3683
+ }
3684
+ },
3685
+ {
3686
+ "name": "SocialFeePdaCreated",
3687
+ "type": {
3688
+ "kind": "struct",
3689
+ "fields": [
3690
+ {
3691
+ "name": "timestamp",
3692
+ "type": "i64"
3693
+ },
3694
+ {
3695
+ "name": "user_id",
3696
+ "type": "string"
3697
+ },
3698
+ {
3699
+ "name": "platform",
3700
+ "type": "u8"
3701
+ },
3702
+ {
3703
+ "name": "social_fee_pda",
3704
+ "type": "pubkey"
3705
+ },
3706
+ {
3707
+ "name": "created_by",
3708
+ "type": "pubkey"
3709
+ }
3710
+ ]
3711
+ }
3712
+ },
2589
3713
  {
2590
3714
  "name": "TransferFeeSharingAuthorityEvent",
2591
3715
  "type": {
@@ -2747,6 +3871,29 @@
2747
3871
  "type": "bytes",
2748
3872
  "value": "[102, 101, 101, 95, 99, 111, 110, 102, 105, 103]"
2749
3873
  },
3874
+ {
3875
+ "name": "FEE_PROGRAM_GLOBAL_SEED",
3876
+ "type": {
3877
+ "array": [
3878
+ "u8",
3879
+ 18
3880
+ ]
3881
+ },
3882
+ "value": "[102, 101, 101, 45, 112, 114, 111, 103, 114, 97, 109, 45, 103, 108, 111, 98, 97, 108]"
3883
+ },
3884
+ {
3885
+ "name": "PUMP_GLOBAL_SEED",
3886
+ "docs": [
3887
+ "Bonding Curve Program Global Seed"
3888
+ ],
3889
+ "type": {
3890
+ "array": [
3891
+ "u8",
3892
+ 6
3893
+ ]
3894
+ },
3895
+ "value": "[103, 108, 111, 98, 97, 108]"
3896
+ },
2750
3897
  {
2751
3898
  "name": "SHARING_CONFIG_SEED",
2752
3899
  "type": {
@@ -2756,6 +3903,16 @@
2756
3903
  ]
2757
3904
  },
2758
3905
  "value": "[115, 104, 97, 114, 105, 110, 103, 45, 99, 111, 110, 102, 105, 103]"
3906
+ },
3907
+ {
3908
+ "name": "SOCIAL_FEE_PDA_SEED",
3909
+ "type": {
3910
+ "array": [
3911
+ "u8",
3912
+ 14
3913
+ ]
3914
+ },
3915
+ "value": "[115, 111, 99, 105, 97, 108, 45, 102, 101, 101, 45, 112, 100, 97]"
2759
3916
  }
2760
3917
  ]
2761
3918
  }