@pump-fun/pump-sdk 1.27.0-devnet.2 → 1.28.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.
- package/dist/esm/index.js +3599 -1738
- package/dist/index.d.mts +6741 -6653
- package/dist/index.d.ts +6741 -6653
- package/dist/index.js +3066 -1217
- package/package.json +18 -3
- package/src/bondingCurve.ts +3 -2
- package/src/errors.ts +11 -4
- package/src/fees.ts +16 -9
- package/src/idl/pump.json +263 -1
- package/src/idl/pump.ts +3271 -3815
- package/src/idl/pump_amm.json +391 -1
- package/src/idl/pump_amm.ts +2899 -3154
- package/src/idl/pump_fees.json +1271 -114
- package/src/idl/pump_fees.ts +2208 -1586
- package/src/index.ts +5 -1
- package/src/onlineSdk.ts +52 -27
- package/src/pda.ts +29 -16
- package/src/sdk.ts +127 -78
- package/src/state.ts +1 -1
- package/src/tokenIncentives.ts +3 -2
package/src/idl/pump_fees.ts
CHANGED
|
@@ -4,38 +4,69 @@
|
|
|
4
4
|
* Note that this is only a type helper and is not the actual IDL. The original
|
|
5
5
|
* IDL can be found at `target/idl/pump_fees.json`.
|
|
6
6
|
*/
|
|
7
|
-
export
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
}
|
|
15
|
-
|
|
16
|
-
{
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
7
|
+
export interface 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: "claimSocialFeePda";
|
|
18
|
+
discriminator: [225, 21, 251, 133, 161, 30, 199, 226];
|
|
19
|
+
accounts: [
|
|
20
|
+
{
|
|
21
|
+
name: "recipient";
|
|
22
|
+
writable: true;
|
|
23
|
+
},
|
|
24
|
+
{
|
|
25
|
+
name: "socialFeePda";
|
|
26
|
+
writable: true;
|
|
27
|
+
},
|
|
28
|
+
{
|
|
29
|
+
name: "feeProgramGlobal";
|
|
30
|
+
pda: {
|
|
31
|
+
seeds: [
|
|
32
|
+
{
|
|
33
|
+
kind: "const";
|
|
34
|
+
value: [
|
|
35
|
+
102,
|
|
36
|
+
101,
|
|
37
|
+
101,
|
|
38
|
+
45,
|
|
39
|
+
112,
|
|
40
|
+
114,
|
|
41
|
+
111,
|
|
42
|
+
103,
|
|
43
|
+
114,
|
|
44
|
+
97,
|
|
45
|
+
109,
|
|
46
|
+
45,
|
|
47
|
+
103,
|
|
48
|
+
108,
|
|
49
|
+
111,
|
|
50
|
+
98,
|
|
51
|
+
97,
|
|
52
|
+
108,
|
|
53
|
+
];
|
|
54
|
+
},
|
|
55
|
+
];
|
|
56
|
+
};
|
|
57
|
+
},
|
|
58
|
+
{
|
|
59
|
+
name: "socialClaimAuthority";
|
|
60
|
+
signer: true;
|
|
61
|
+
relations: ["feeProgramGlobal"];
|
|
62
|
+
},
|
|
63
|
+
{
|
|
64
|
+
name: "eventAuthority";
|
|
65
|
+
pda: {
|
|
66
|
+
seeds: [
|
|
36
67
|
{
|
|
37
|
-
|
|
38
|
-
|
|
68
|
+
kind: "const";
|
|
69
|
+
value: [
|
|
39
70
|
95,
|
|
40
71
|
95,
|
|
41
72
|
101,
|
|
@@ -52,40 +83,89 @@ export type PumpFees = {
|
|
|
52
83
|
114,
|
|
53
84
|
105,
|
|
54
85
|
116,
|
|
55
|
-
121
|
|
56
|
-
]
|
|
57
|
-
}
|
|
58
|
-
]
|
|
59
|
-
}
|
|
86
|
+
121,
|
|
87
|
+
];
|
|
88
|
+
},
|
|
89
|
+
];
|
|
90
|
+
};
|
|
60
91
|
},
|
|
61
92
|
{
|
|
62
|
-
|
|
63
|
-
"address": "pfeeUxB6jkeY1Hxd7CsFCAjcbHA9rWtchMGdZ6VojVZ"
|
|
93
|
+
name: "program";
|
|
64
94
|
},
|
|
95
|
+
];
|
|
96
|
+
args: [
|
|
65
97
|
{
|
|
66
|
-
|
|
67
|
-
"
|
|
68
|
-
"signer": true
|
|
98
|
+
name: "userId";
|
|
99
|
+
type: "string";
|
|
69
100
|
},
|
|
70
101
|
{
|
|
71
|
-
|
|
72
|
-
"
|
|
73
|
-
|
|
102
|
+
name: "platform";
|
|
103
|
+
type: "u8";
|
|
104
|
+
},
|
|
105
|
+
];
|
|
106
|
+
returns: {
|
|
107
|
+
option: {
|
|
108
|
+
defined: {
|
|
109
|
+
name: "socialFeePdaClaimed";
|
|
110
|
+
};
|
|
111
|
+
};
|
|
112
|
+
};
|
|
113
|
+
},
|
|
114
|
+
{
|
|
115
|
+
name: "createFeeSharingConfig";
|
|
116
|
+
docs: ["Create Fee Sharing Config"];
|
|
117
|
+
discriminator: [195, 78, 86, 76, 111, 52, 251, 213];
|
|
118
|
+
accounts: [
|
|
119
|
+
{
|
|
120
|
+
name: "eventAuthority";
|
|
121
|
+
pda: {
|
|
122
|
+
seeds: [
|
|
74
123
|
{
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
124
|
+
kind: "const";
|
|
125
|
+
value: [
|
|
126
|
+
95,
|
|
127
|
+
95,
|
|
128
|
+
101,
|
|
129
|
+
118,
|
|
130
|
+
101,
|
|
131
|
+
110,
|
|
132
|
+
116,
|
|
133
|
+
95,
|
|
81
134
|
97,
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
135
|
+
117,
|
|
136
|
+
116,
|
|
137
|
+
104,
|
|
138
|
+
111,
|
|
139
|
+
114,
|
|
140
|
+
105,
|
|
141
|
+
116,
|
|
142
|
+
121,
|
|
143
|
+
];
|
|
144
|
+
},
|
|
145
|
+
];
|
|
146
|
+
};
|
|
147
|
+
},
|
|
148
|
+
{
|
|
149
|
+
name: "program";
|
|
150
|
+
address: "pfeeUxB6jkeY1Hxd7CsFCAjcbHA9rWtchMGdZ6VojVZ";
|
|
151
|
+
},
|
|
152
|
+
{
|
|
153
|
+
name: "payer";
|
|
154
|
+
writable: true;
|
|
155
|
+
signer: true;
|
|
156
|
+
},
|
|
157
|
+
{
|
|
158
|
+
name: "global";
|
|
159
|
+
pda: {
|
|
160
|
+
seeds: [
|
|
161
|
+
{
|
|
162
|
+
kind: "const";
|
|
163
|
+
value: [103, 108, 111, 98, 97, 108];
|
|
164
|
+
},
|
|
165
|
+
];
|
|
166
|
+
program: {
|
|
167
|
+
kind: "const";
|
|
168
|
+
value: [
|
|
89
169
|
1,
|
|
90
170
|
86,
|
|
91
171
|
224,
|
|
@@ -117,22 +197,22 @@ export type PumpFees = {
|
|
|
117
197
|
253,
|
|
118
198
|
109,
|
|
119
199
|
24,
|
|
120
|
-
176
|
|
121
|
-
]
|
|
122
|
-
}
|
|
123
|
-
}
|
|
200
|
+
176,
|
|
201
|
+
];
|
|
202
|
+
};
|
|
203
|
+
};
|
|
124
204
|
},
|
|
125
205
|
{
|
|
126
|
-
|
|
206
|
+
name: "mint";
|
|
127
207
|
},
|
|
128
208
|
{
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
|
|
209
|
+
name: "sharingConfig";
|
|
210
|
+
writable: true;
|
|
211
|
+
pda: {
|
|
212
|
+
seeds: [
|
|
133
213
|
{
|
|
134
|
-
|
|
135
|
-
|
|
214
|
+
kind: "const";
|
|
215
|
+
value: [
|
|
136
216
|
115,
|
|
137
217
|
104,
|
|
138
218
|
97,
|
|
@@ -146,28 +226,28 @@ export type PumpFees = {
|
|
|
146
226
|
110,
|
|
147
227
|
102,
|
|
148
228
|
105,
|
|
149
|
-
103
|
|
150
|
-
]
|
|
229
|
+
103,
|
|
230
|
+
];
|
|
151
231
|
},
|
|
152
232
|
{
|
|
153
|
-
|
|
154
|
-
|
|
155
|
-
}
|
|
156
|
-
]
|
|
157
|
-
}
|
|
233
|
+
kind: "account";
|
|
234
|
+
path: "mint";
|
|
235
|
+
},
|
|
236
|
+
];
|
|
237
|
+
};
|
|
158
238
|
},
|
|
159
239
|
{
|
|
160
|
-
|
|
161
|
-
|
|
240
|
+
name: "systemProgram";
|
|
241
|
+
address: "11111111111111111111111111111111";
|
|
162
242
|
},
|
|
163
243
|
{
|
|
164
|
-
|
|
165
|
-
|
|
166
|
-
|
|
167
|
-
|
|
244
|
+
name: "bondingCurve";
|
|
245
|
+
writable: true;
|
|
246
|
+
pda: {
|
|
247
|
+
seeds: [
|
|
168
248
|
{
|
|
169
|
-
|
|
170
|
-
|
|
249
|
+
kind: "const";
|
|
250
|
+
value: [
|
|
171
251
|
98,
|
|
172
252
|
111,
|
|
173
253
|
110,
|
|
@@ -180,17 +260,17 @@ export type PumpFees = {
|
|
|
180
260
|
117,
|
|
181
261
|
114,
|
|
182
262
|
118,
|
|
183
|
-
101
|
|
184
|
-
]
|
|
263
|
+
101,
|
|
264
|
+
];
|
|
185
265
|
},
|
|
186
266
|
{
|
|
187
|
-
|
|
188
|
-
|
|
189
|
-
}
|
|
190
|
-
]
|
|
191
|
-
|
|
192
|
-
|
|
193
|
-
|
|
267
|
+
kind: "account";
|
|
268
|
+
path: "mint";
|
|
269
|
+
},
|
|
270
|
+
];
|
|
271
|
+
program: {
|
|
272
|
+
kind: "const";
|
|
273
|
+
value: [
|
|
194
274
|
1,
|
|
195
275
|
86,
|
|
196
276
|
224,
|
|
@@ -222,22 +302,22 @@ export type PumpFees = {
|
|
|
222
302
|
253,
|
|
223
303
|
109,
|
|
224
304
|
24,
|
|
225
|
-
176
|
|
226
|
-
]
|
|
227
|
-
}
|
|
228
|
-
}
|
|
305
|
+
176,
|
|
306
|
+
];
|
|
307
|
+
};
|
|
308
|
+
};
|
|
229
309
|
},
|
|
230
310
|
{
|
|
231
|
-
|
|
232
|
-
|
|
311
|
+
name: "pumpProgram";
|
|
312
|
+
address: "6EF8rrecthR5Dkzon8Nwu78hRvfCKubJ14M5uBEwF6P";
|
|
233
313
|
},
|
|
234
314
|
{
|
|
235
|
-
|
|
236
|
-
|
|
237
|
-
|
|
315
|
+
name: "pumpEventAuthority";
|
|
316
|
+
pda: {
|
|
317
|
+
seeds: [
|
|
238
318
|
{
|
|
239
|
-
|
|
240
|
-
|
|
319
|
+
kind: "const";
|
|
320
|
+
value: [
|
|
241
321
|
95,
|
|
242
322
|
95,
|
|
243
323
|
101,
|
|
@@ -254,13 +334,13 @@ export type PumpFees = {
|
|
|
254
334
|
114,
|
|
255
335
|
105,
|
|
256
336
|
116,
|
|
257
|
-
121
|
|
258
|
-
]
|
|
259
|
-
}
|
|
260
|
-
]
|
|
261
|
-
|
|
262
|
-
|
|
263
|
-
|
|
337
|
+
121,
|
|
338
|
+
];
|
|
339
|
+
},
|
|
340
|
+
];
|
|
341
|
+
program: {
|
|
342
|
+
kind: "const";
|
|
343
|
+
value: [
|
|
264
344
|
1,
|
|
265
345
|
86,
|
|
266
346
|
224,
|
|
@@ -292,29 +372,29 @@ export type PumpFees = {
|
|
|
292
372
|
253,
|
|
293
373
|
109,
|
|
294
374
|
24,
|
|
295
|
-
176
|
|
296
|
-
]
|
|
297
|
-
}
|
|
298
|
-
}
|
|
375
|
+
176,
|
|
376
|
+
];
|
|
377
|
+
};
|
|
378
|
+
};
|
|
299
379
|
},
|
|
300
380
|
{
|
|
301
|
-
|
|
302
|
-
|
|
303
|
-
|
|
381
|
+
name: "pool";
|
|
382
|
+
writable: true;
|
|
383
|
+
optional: true;
|
|
304
384
|
},
|
|
305
385
|
{
|
|
306
|
-
|
|
307
|
-
|
|
308
|
-
|
|
386
|
+
name: "pumpAmmProgram";
|
|
387
|
+
optional: true;
|
|
388
|
+
address: "pAMMBay6oceH9fJKBRHGP5D4bD4sWpmSwMn52FMfXEA";
|
|
309
389
|
},
|
|
310
390
|
{
|
|
311
|
-
|
|
312
|
-
|
|
313
|
-
|
|
314
|
-
|
|
391
|
+
name: "pumpAmmEventAuthority";
|
|
392
|
+
optional: true;
|
|
393
|
+
pda: {
|
|
394
|
+
seeds: [
|
|
315
395
|
{
|
|
316
|
-
|
|
317
|
-
|
|
396
|
+
kind: "const";
|
|
397
|
+
value: [
|
|
318
398
|
95,
|
|
319
399
|
95,
|
|
320
400
|
101,
|
|
@@ -331,13 +411,13 @@ export type PumpFees = {
|
|
|
331
411
|
114,
|
|
332
412
|
105,
|
|
333
413
|
116,
|
|
334
|
-
121
|
|
335
|
-
]
|
|
336
|
-
}
|
|
337
|
-
]
|
|
338
|
-
|
|
339
|
-
|
|
340
|
-
|
|
414
|
+
121,
|
|
415
|
+
];
|
|
416
|
+
},
|
|
417
|
+
];
|
|
418
|
+
program: {
|
|
419
|
+
kind: "const";
|
|
420
|
+
value: [
|
|
341
421
|
12,
|
|
342
422
|
20,
|
|
343
423
|
222,
|
|
@@ -369,143 +449,190 @@ export type PumpFees = {
|
|
|
369
449
|
24,
|
|
370
450
|
233,
|
|
371
451
|
168,
|
|
372
|
-
99
|
|
373
|
-
]
|
|
374
|
-
}
|
|
375
|
-
}
|
|
376
|
-
}
|
|
377
|
-
]
|
|
378
|
-
|
|
379
|
-
},
|
|
380
|
-
{
|
|
381
|
-
|
|
382
|
-
|
|
383
|
-
|
|
384
|
-
|
|
385
|
-
|
|
386
|
-
|
|
387
|
-
|
|
388
|
-
|
|
389
|
-
|
|
390
|
-
|
|
391
|
-
|
|
392
|
-
|
|
393
|
-
|
|
394
|
-
|
|
395
|
-
|
|
396
|
-
|
|
397
|
-
|
|
398
|
-
"
|
|
399
|
-
|
|
452
|
+
99,
|
|
453
|
+
];
|
|
454
|
+
};
|
|
455
|
+
};
|
|
456
|
+
},
|
|
457
|
+
];
|
|
458
|
+
args: [];
|
|
459
|
+
},
|
|
460
|
+
{
|
|
461
|
+
name: "createSocialFeePda";
|
|
462
|
+
discriminator: [144, 224, 59, 211, 78, 248, 202, 220];
|
|
463
|
+
accounts: [
|
|
464
|
+
{
|
|
465
|
+
name: "payer";
|
|
466
|
+
writable: true;
|
|
467
|
+
signer: true;
|
|
468
|
+
},
|
|
469
|
+
{
|
|
470
|
+
name: "socialFeePda";
|
|
471
|
+
writable: true;
|
|
472
|
+
},
|
|
473
|
+
{
|
|
474
|
+
name: "systemProgram";
|
|
475
|
+
address: "11111111111111111111111111111111";
|
|
476
|
+
},
|
|
477
|
+
{
|
|
478
|
+
name: "feeProgramGlobal";
|
|
479
|
+
pda: {
|
|
480
|
+
seeds: [
|
|
400
481
|
{
|
|
401
|
-
|
|
402
|
-
|
|
482
|
+
kind: "const";
|
|
483
|
+
value: [
|
|
403
484
|
102,
|
|
404
485
|
101,
|
|
405
486
|
101,
|
|
406
|
-
|
|
407
|
-
|
|
487
|
+
45,
|
|
488
|
+
112,
|
|
489
|
+
114,
|
|
408
490
|
111,
|
|
409
|
-
|
|
410
|
-
|
|
411
|
-
|
|
412
|
-
|
|
413
|
-
|
|
491
|
+
103,
|
|
492
|
+
114,
|
|
493
|
+
97,
|
|
494
|
+
109,
|
|
495
|
+
45,
|
|
496
|
+
103,
|
|
497
|
+
108,
|
|
498
|
+
111,
|
|
499
|
+
98,
|
|
500
|
+
97,
|
|
501
|
+
108,
|
|
502
|
+
];
|
|
414
503
|
},
|
|
504
|
+
];
|
|
505
|
+
};
|
|
506
|
+
},
|
|
507
|
+
{
|
|
508
|
+
name: "eventAuthority";
|
|
509
|
+
pda: {
|
|
510
|
+
seeds: [
|
|
415
511
|
{
|
|
416
|
-
|
|
417
|
-
|
|
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,
|
|
512
|
+
kind: "const";
|
|
513
|
+
value: [
|
|
514
|
+
95,
|
|
515
|
+
95,
|
|
477
516
|
101,
|
|
517
|
+
118,
|
|
478
518
|
101,
|
|
519
|
+
110,
|
|
520
|
+
116,
|
|
479
521
|
95,
|
|
480
|
-
|
|
522
|
+
97,
|
|
523
|
+
117,
|
|
524
|
+
116,
|
|
525
|
+
104,
|
|
481
526
|
111,
|
|
482
|
-
|
|
483
|
-
102,
|
|
527
|
+
114,
|
|
484
528
|
105,
|
|
485
|
-
|
|
486
|
-
|
|
529
|
+
116,
|
|
530
|
+
121,
|
|
531
|
+
];
|
|
532
|
+
},
|
|
533
|
+
];
|
|
534
|
+
};
|
|
535
|
+
},
|
|
536
|
+
{
|
|
537
|
+
name: "program";
|
|
538
|
+
},
|
|
539
|
+
];
|
|
540
|
+
args: [
|
|
541
|
+
{
|
|
542
|
+
name: "userId";
|
|
543
|
+
type: "string";
|
|
544
|
+
},
|
|
545
|
+
{
|
|
546
|
+
name: "platform";
|
|
547
|
+
type: "u8";
|
|
548
|
+
},
|
|
549
|
+
];
|
|
550
|
+
},
|
|
551
|
+
{
|
|
552
|
+
name: "getFees";
|
|
553
|
+
docs: ["Get Fees"];
|
|
554
|
+
discriminator: [231, 37, 126, 85, 207, 91, 63, 52];
|
|
555
|
+
accounts: [
|
|
556
|
+
{
|
|
557
|
+
name: "feeConfig";
|
|
558
|
+
pda: {
|
|
559
|
+
seeds: [
|
|
560
|
+
{
|
|
561
|
+
kind: "const";
|
|
562
|
+
value: [102, 101, 101, 95, 99, 111, 110, 102, 105, 103];
|
|
563
|
+
},
|
|
564
|
+
{
|
|
565
|
+
kind: "account";
|
|
566
|
+
path: "configProgramId";
|
|
567
|
+
},
|
|
568
|
+
];
|
|
569
|
+
};
|
|
570
|
+
},
|
|
571
|
+
{
|
|
572
|
+
name: "configProgramId";
|
|
573
|
+
},
|
|
574
|
+
];
|
|
575
|
+
args: [
|
|
576
|
+
{
|
|
577
|
+
name: "isPumpPool";
|
|
578
|
+
type: "bool";
|
|
579
|
+
},
|
|
580
|
+
{
|
|
581
|
+
name: "marketCapLamports";
|
|
582
|
+
type: "u128";
|
|
583
|
+
},
|
|
584
|
+
{
|
|
585
|
+
name: "tradeSizeLamports";
|
|
586
|
+
type: "u64";
|
|
587
|
+
},
|
|
588
|
+
];
|
|
589
|
+
returns: {
|
|
590
|
+
defined: {
|
|
591
|
+
name: "fees";
|
|
592
|
+
};
|
|
593
|
+
};
|
|
594
|
+
},
|
|
595
|
+
{
|
|
596
|
+
name: "initializeFeeConfig";
|
|
597
|
+
docs: ["Initialize FeeConfig admin"];
|
|
598
|
+
discriminator: [62, 162, 20, 133, 121, 65, 145, 27];
|
|
599
|
+
accounts: [
|
|
600
|
+
{
|
|
601
|
+
name: "admin";
|
|
602
|
+
writable: true;
|
|
603
|
+
signer: true;
|
|
604
|
+
address: "8LWu7QM2dGR1G8nKDHthckea57bkCzXyBTAKPJUBDHo8";
|
|
605
|
+
},
|
|
606
|
+
{
|
|
607
|
+
name: "feeConfig";
|
|
608
|
+
writable: true;
|
|
609
|
+
pda: {
|
|
610
|
+
seeds: [
|
|
611
|
+
{
|
|
612
|
+
kind: "const";
|
|
613
|
+
value: [102, 101, 101, 95, 99, 111, 110, 102, 105, 103];
|
|
487
614
|
},
|
|
488
615
|
{
|
|
489
|
-
|
|
490
|
-
|
|
491
|
-
}
|
|
492
|
-
]
|
|
493
|
-
}
|
|
616
|
+
kind: "account";
|
|
617
|
+
path: "configProgramId";
|
|
618
|
+
},
|
|
619
|
+
];
|
|
620
|
+
};
|
|
494
621
|
},
|
|
495
622
|
{
|
|
496
|
-
|
|
497
|
-
|
|
623
|
+
name: "systemProgram";
|
|
624
|
+
address: "11111111111111111111111111111111";
|
|
498
625
|
},
|
|
499
626
|
{
|
|
500
|
-
|
|
627
|
+
name: "configProgramId";
|
|
501
628
|
},
|
|
502
629
|
{
|
|
503
|
-
|
|
504
|
-
|
|
505
|
-
|
|
630
|
+
name: "eventAuthority";
|
|
631
|
+
pda: {
|
|
632
|
+
seeds: [
|
|
506
633
|
{
|
|
507
|
-
|
|
508
|
-
|
|
634
|
+
kind: "const";
|
|
635
|
+
value: [
|
|
509
636
|
95,
|
|
510
637
|
95,
|
|
511
638
|
101,
|
|
@@ -522,57 +649,182 @@ export type PumpFees = {
|
|
|
522
649
|
114,
|
|
523
650
|
105,
|
|
524
651
|
116,
|
|
525
|
-
121
|
|
526
|
-
]
|
|
527
|
-
}
|
|
528
|
-
]
|
|
529
|
-
}
|
|
530
|
-
},
|
|
531
|
-
{
|
|
532
|
-
|
|
533
|
-
}
|
|
534
|
-
]
|
|
535
|
-
|
|
536
|
-
},
|
|
537
|
-
{
|
|
538
|
-
|
|
539
|
-
|
|
540
|
-
|
|
541
|
-
|
|
542
|
-
|
|
543
|
-
|
|
544
|
-
|
|
545
|
-
|
|
546
|
-
|
|
547
|
-
|
|
548
|
-
|
|
549
|
-
|
|
550
|
-
|
|
551
|
-
|
|
552
|
-
|
|
553
|
-
|
|
554
|
-
|
|
555
|
-
|
|
556
|
-
|
|
557
|
-
|
|
558
|
-
|
|
559
|
-
|
|
560
|
-
|
|
652
|
+
121,
|
|
653
|
+
];
|
|
654
|
+
},
|
|
655
|
+
];
|
|
656
|
+
};
|
|
657
|
+
},
|
|
658
|
+
{
|
|
659
|
+
name: "program";
|
|
660
|
+
},
|
|
661
|
+
];
|
|
662
|
+
args: [];
|
|
663
|
+
},
|
|
664
|
+
{
|
|
665
|
+
name: "initializeFeeProgramGlobal";
|
|
666
|
+
discriminator: [35, 215, 130, 84, 233, 56, 124, 167];
|
|
667
|
+
accounts: [
|
|
668
|
+
{
|
|
669
|
+
name: "authority";
|
|
670
|
+
writable: true;
|
|
671
|
+
signer: true;
|
|
672
|
+
relations: ["pumpGlobal"];
|
|
673
|
+
},
|
|
674
|
+
{
|
|
675
|
+
name: "pumpGlobal";
|
|
676
|
+
pda: {
|
|
677
|
+
seeds: [
|
|
678
|
+
{
|
|
679
|
+
kind: "const";
|
|
680
|
+
value: [103, 108, 111, 98, 97, 108];
|
|
681
|
+
},
|
|
682
|
+
];
|
|
683
|
+
program: {
|
|
684
|
+
kind: "const";
|
|
685
|
+
value: [
|
|
686
|
+
1,
|
|
687
|
+
86,
|
|
688
|
+
224,
|
|
689
|
+
246,
|
|
690
|
+
147,
|
|
691
|
+
102,
|
|
692
|
+
90,
|
|
693
|
+
207,
|
|
694
|
+
68,
|
|
695
|
+
219,
|
|
696
|
+
21,
|
|
697
|
+
104,
|
|
698
|
+
191,
|
|
699
|
+
23,
|
|
700
|
+
91,
|
|
701
|
+
170,
|
|
702
|
+
81,
|
|
703
|
+
137,
|
|
704
|
+
203,
|
|
705
|
+
151,
|
|
706
|
+
245,
|
|
707
|
+
210,
|
|
708
|
+
255,
|
|
709
|
+
59,
|
|
710
|
+
101,
|
|
711
|
+
93,
|
|
712
|
+
43,
|
|
713
|
+
182,
|
|
714
|
+
253,
|
|
715
|
+
109,
|
|
716
|
+
24,
|
|
717
|
+
176,
|
|
718
|
+
];
|
|
719
|
+
};
|
|
720
|
+
};
|
|
721
|
+
},
|
|
722
|
+
{
|
|
723
|
+
name: "feeProgramGlobal";
|
|
724
|
+
writable: true;
|
|
725
|
+
pda: {
|
|
726
|
+
seeds: [
|
|
561
727
|
{
|
|
562
|
-
|
|
563
|
-
|
|
728
|
+
kind: "const";
|
|
729
|
+
value: [
|
|
730
|
+
102,
|
|
731
|
+
101,
|
|
732
|
+
101,
|
|
733
|
+
45,
|
|
734
|
+
112,
|
|
735
|
+
114,
|
|
736
|
+
111,
|
|
737
|
+
103,
|
|
738
|
+
114,
|
|
739
|
+
97,
|
|
740
|
+
109,
|
|
741
|
+
45,
|
|
564
742
|
103,
|
|
565
743
|
108,
|
|
566
744
|
111,
|
|
567
745
|
98,
|
|
568
746
|
97,
|
|
569
|
-
108
|
|
570
|
-
]
|
|
571
|
-
}
|
|
572
|
-
]
|
|
573
|
-
|
|
574
|
-
|
|
575
|
-
|
|
747
|
+
108,
|
|
748
|
+
];
|
|
749
|
+
},
|
|
750
|
+
];
|
|
751
|
+
};
|
|
752
|
+
},
|
|
753
|
+
{
|
|
754
|
+
name: "systemProgram";
|
|
755
|
+
address: "11111111111111111111111111111111";
|
|
756
|
+
},
|
|
757
|
+
{
|
|
758
|
+
name: "eventAuthority";
|
|
759
|
+
pda: {
|
|
760
|
+
seeds: [
|
|
761
|
+
{
|
|
762
|
+
kind: "const";
|
|
763
|
+
value: [
|
|
764
|
+
95,
|
|
765
|
+
95,
|
|
766
|
+
101,
|
|
767
|
+
118,
|
|
768
|
+
101,
|
|
769
|
+
110,
|
|
770
|
+
116,
|
|
771
|
+
95,
|
|
772
|
+
97,
|
|
773
|
+
117,
|
|
774
|
+
116,
|
|
775
|
+
104,
|
|
776
|
+
111,
|
|
777
|
+
114,
|
|
778
|
+
105,
|
|
779
|
+
116,
|
|
780
|
+
121,
|
|
781
|
+
];
|
|
782
|
+
},
|
|
783
|
+
];
|
|
784
|
+
};
|
|
785
|
+
},
|
|
786
|
+
{
|
|
787
|
+
name: "program";
|
|
788
|
+
},
|
|
789
|
+
];
|
|
790
|
+
args: [
|
|
791
|
+
{
|
|
792
|
+
name: "socialClaimAuthority";
|
|
793
|
+
type: "pubkey";
|
|
794
|
+
},
|
|
795
|
+
{
|
|
796
|
+
name: "disableFlags";
|
|
797
|
+
type: "u8";
|
|
798
|
+
},
|
|
799
|
+
{
|
|
800
|
+
name: "claimRateLimit";
|
|
801
|
+
type: "u64";
|
|
802
|
+
},
|
|
803
|
+
];
|
|
804
|
+
},
|
|
805
|
+
{
|
|
806
|
+
name: "resetFeeSharingConfig";
|
|
807
|
+
docs: [
|
|
808
|
+
"Reset Fee Sharing Config, make sure to distribute all the fees before calling this",
|
|
809
|
+
];
|
|
810
|
+
discriminator: [10, 2, 182, 95, 16, 127, 129, 186];
|
|
811
|
+
accounts: [
|
|
812
|
+
{
|
|
813
|
+
name: "authority";
|
|
814
|
+
signer: true;
|
|
815
|
+
},
|
|
816
|
+
{
|
|
817
|
+
name: "global";
|
|
818
|
+
pda: {
|
|
819
|
+
seeds: [
|
|
820
|
+
{
|
|
821
|
+
kind: "const";
|
|
822
|
+
value: [103, 108, 111, 98, 97, 108];
|
|
823
|
+
},
|
|
824
|
+
];
|
|
825
|
+
program: {
|
|
826
|
+
kind: "const";
|
|
827
|
+
value: [
|
|
576
828
|
1,
|
|
577
829
|
86,
|
|
578
830
|
224,
|
|
@@ -604,28 +856,26 @@ export type PumpFees = {
|
|
|
604
856
|
253,
|
|
605
857
|
109,
|
|
606
858
|
24,
|
|
607
|
-
176
|
|
608
|
-
]
|
|
609
|
-
}
|
|
610
|
-
}
|
|
859
|
+
176,
|
|
860
|
+
];
|
|
861
|
+
};
|
|
862
|
+
};
|
|
611
863
|
},
|
|
612
864
|
{
|
|
613
|
-
|
|
865
|
+
name: "newAdmin";
|
|
614
866
|
},
|
|
615
867
|
{
|
|
616
|
-
|
|
617
|
-
|
|
618
|
-
"sharingConfig"
|
|
619
|
-
]
|
|
868
|
+
name: "mint";
|
|
869
|
+
relations: ["sharingConfig"];
|
|
620
870
|
},
|
|
621
871
|
{
|
|
622
|
-
|
|
623
|
-
|
|
624
|
-
|
|
625
|
-
|
|
872
|
+
name: "sharingConfig";
|
|
873
|
+
writable: true;
|
|
874
|
+
pda: {
|
|
875
|
+
seeds: [
|
|
626
876
|
{
|
|
627
|
-
|
|
628
|
-
|
|
877
|
+
kind: "const";
|
|
878
|
+
value: [
|
|
629
879
|
115,
|
|
630
880
|
104,
|
|
631
881
|
97,
|
|
@@ -639,23 +889,23 @@ export type PumpFees = {
|
|
|
639
889
|
110,
|
|
640
890
|
102,
|
|
641
891
|
105,
|
|
642
|
-
103
|
|
643
|
-
]
|
|
892
|
+
103,
|
|
893
|
+
];
|
|
644
894
|
},
|
|
645
895
|
{
|
|
646
|
-
|
|
647
|
-
|
|
648
|
-
}
|
|
649
|
-
]
|
|
650
|
-
}
|
|
896
|
+
kind: "account";
|
|
897
|
+
path: "mint";
|
|
898
|
+
},
|
|
899
|
+
];
|
|
900
|
+
};
|
|
651
901
|
},
|
|
652
902
|
{
|
|
653
|
-
|
|
654
|
-
|
|
655
|
-
|
|
903
|
+
name: "eventAuthority";
|
|
904
|
+
pda: {
|
|
905
|
+
seeds: [
|
|
656
906
|
{
|
|
657
|
-
|
|
658
|
-
|
|
907
|
+
kind: "const";
|
|
908
|
+
value: [
|
|
659
909
|
95,
|
|
660
910
|
95,
|
|
661
911
|
101,
|
|
@@ -672,57 +922,39 @@ export type PumpFees = {
|
|
|
672
922
|
114,
|
|
673
923
|
105,
|
|
674
924
|
116,
|
|
675
|
-
121
|
|
676
|
-
]
|
|
677
|
-
}
|
|
678
|
-
]
|
|
679
|
-
}
|
|
680
|
-
},
|
|
681
|
-
{
|
|
682
|
-
|
|
683
|
-
}
|
|
684
|
-
]
|
|
685
|
-
|
|
686
|
-
},
|
|
687
|
-
{
|
|
688
|
-
|
|
689
|
-
|
|
690
|
-
|
|
691
|
-
|
|
692
|
-
|
|
693
|
-
|
|
694
|
-
|
|
695
|
-
|
|
696
|
-
|
|
697
|
-
|
|
698
|
-
|
|
699
|
-
|
|
700
|
-
104
|
|
701
|
-
],
|
|
702
|
-
"accounts": [
|
|
703
|
-
{
|
|
704
|
-
"name": "authority",
|
|
705
|
-
"signer": true
|
|
706
|
-
},
|
|
707
|
-
{
|
|
708
|
-
"name": "global",
|
|
709
|
-
"pda": {
|
|
710
|
-
"seeds": [
|
|
925
|
+
121,
|
|
926
|
+
];
|
|
927
|
+
},
|
|
928
|
+
];
|
|
929
|
+
};
|
|
930
|
+
},
|
|
931
|
+
{
|
|
932
|
+
name: "program";
|
|
933
|
+
},
|
|
934
|
+
];
|
|
935
|
+
args: [];
|
|
936
|
+
},
|
|
937
|
+
{
|
|
938
|
+
name: "revokeFeeSharingAuthority";
|
|
939
|
+
docs: ["Revoke Fee Sharing Authority"];
|
|
940
|
+
discriminator: [18, 233, 158, 39, 185, 207, 58, 104];
|
|
941
|
+
accounts: [
|
|
942
|
+
{
|
|
943
|
+
name: "authority";
|
|
944
|
+
signer: true;
|
|
945
|
+
},
|
|
946
|
+
{
|
|
947
|
+
name: "global";
|
|
948
|
+
pda: {
|
|
949
|
+
seeds: [
|
|
711
950
|
{
|
|
712
|
-
|
|
713
|
-
|
|
714
|
-
|
|
715
|
-
|
|
716
|
-
|
|
717
|
-
|
|
718
|
-
|
|
719
|
-
108
|
|
720
|
-
]
|
|
721
|
-
}
|
|
722
|
-
],
|
|
723
|
-
"program": {
|
|
724
|
-
"kind": "const",
|
|
725
|
-
"value": [
|
|
951
|
+
kind: "const";
|
|
952
|
+
value: [103, 108, 111, 98, 97, 108];
|
|
953
|
+
},
|
|
954
|
+
];
|
|
955
|
+
program: {
|
|
956
|
+
kind: "const";
|
|
957
|
+
value: [
|
|
726
958
|
1,
|
|
727
959
|
86,
|
|
728
960
|
224,
|
|
@@ -754,25 +986,23 @@ export type PumpFees = {
|
|
|
754
986
|
253,
|
|
755
987
|
109,
|
|
756
988
|
24,
|
|
757
|
-
176
|
|
758
|
-
]
|
|
759
|
-
}
|
|
760
|
-
}
|
|
989
|
+
176,
|
|
990
|
+
];
|
|
991
|
+
};
|
|
992
|
+
};
|
|
761
993
|
},
|
|
762
994
|
{
|
|
763
|
-
|
|
764
|
-
|
|
765
|
-
"sharingConfig"
|
|
766
|
-
]
|
|
995
|
+
name: "mint";
|
|
996
|
+
relations: ["sharingConfig"];
|
|
767
997
|
},
|
|
768
998
|
{
|
|
769
|
-
|
|
770
|
-
|
|
771
|
-
|
|
772
|
-
|
|
999
|
+
name: "sharingConfig";
|
|
1000
|
+
writable: true;
|
|
1001
|
+
pda: {
|
|
1002
|
+
seeds: [
|
|
773
1003
|
{
|
|
774
|
-
|
|
775
|
-
|
|
1004
|
+
kind: "const";
|
|
1005
|
+
value: [
|
|
776
1006
|
115,
|
|
777
1007
|
104,
|
|
778
1008
|
97,
|
|
@@ -786,23 +1016,99 @@ export type PumpFees = {
|
|
|
786
1016
|
110,
|
|
787
1017
|
102,
|
|
788
1018
|
105,
|
|
789
|
-
103
|
|
790
|
-
]
|
|
1019
|
+
103,
|
|
1020
|
+
];
|
|
791
1021
|
},
|
|
792
1022
|
{
|
|
793
|
-
|
|
794
|
-
|
|
795
|
-
}
|
|
796
|
-
]
|
|
797
|
-
}
|
|
1023
|
+
kind: "account";
|
|
1024
|
+
path: "mint";
|
|
1025
|
+
},
|
|
1026
|
+
];
|
|
1027
|
+
};
|
|
1028
|
+
},
|
|
1029
|
+
{
|
|
1030
|
+
name: "eventAuthority";
|
|
1031
|
+
pda: {
|
|
1032
|
+
seeds: [
|
|
1033
|
+
{
|
|
1034
|
+
kind: "const";
|
|
1035
|
+
value: [
|
|
1036
|
+
95,
|
|
1037
|
+
95,
|
|
1038
|
+
101,
|
|
1039
|
+
118,
|
|
1040
|
+
101,
|
|
1041
|
+
110,
|
|
1042
|
+
116,
|
|
1043
|
+
95,
|
|
1044
|
+
97,
|
|
1045
|
+
117,
|
|
1046
|
+
116,
|
|
1047
|
+
104,
|
|
1048
|
+
111,
|
|
1049
|
+
114,
|
|
1050
|
+
105,
|
|
1051
|
+
116,
|
|
1052
|
+
121,
|
|
1053
|
+
];
|
|
1054
|
+
},
|
|
1055
|
+
];
|
|
1056
|
+
};
|
|
1057
|
+
},
|
|
1058
|
+
{
|
|
1059
|
+
name: "program";
|
|
1060
|
+
},
|
|
1061
|
+
];
|
|
1062
|
+
args: [];
|
|
1063
|
+
},
|
|
1064
|
+
{
|
|
1065
|
+
name: "setAuthority";
|
|
1066
|
+
discriminator: [133, 250, 37, 21, 110, 163, 26, 121];
|
|
1067
|
+
accounts: [
|
|
1068
|
+
{
|
|
1069
|
+
name: "authority";
|
|
1070
|
+
writable: true;
|
|
1071
|
+
signer: true;
|
|
1072
|
+
relations: ["feeProgramGlobal"];
|
|
1073
|
+
},
|
|
1074
|
+
{
|
|
1075
|
+
name: "feeProgramGlobal";
|
|
1076
|
+
writable: true;
|
|
1077
|
+
pda: {
|
|
1078
|
+
seeds: [
|
|
1079
|
+
{
|
|
1080
|
+
kind: "const";
|
|
1081
|
+
value: [
|
|
1082
|
+
102,
|
|
1083
|
+
101,
|
|
1084
|
+
101,
|
|
1085
|
+
45,
|
|
1086
|
+
112,
|
|
1087
|
+
114,
|
|
1088
|
+
111,
|
|
1089
|
+
103,
|
|
1090
|
+
114,
|
|
1091
|
+
97,
|
|
1092
|
+
109,
|
|
1093
|
+
45,
|
|
1094
|
+
103,
|
|
1095
|
+
108,
|
|
1096
|
+
111,
|
|
1097
|
+
98,
|
|
1098
|
+
97,
|
|
1099
|
+
108,
|
|
1100
|
+
];
|
|
1101
|
+
},
|
|
1102
|
+
];
|
|
1103
|
+
};
|
|
798
1104
|
},
|
|
799
1105
|
{
|
|
800
|
-
|
|
801
|
-
|
|
802
|
-
|
|
1106
|
+
name: "eventAuthority";
|
|
1107
|
+
pda: {
|
|
1108
|
+
seeds: [
|
|
803
1109
|
{
|
|
804
|
-
|
|
805
|
-
|
|
1110
|
+
kind: "const";
|
|
1111
|
+
value: [
|
|
806
1112
|
95,
|
|
807
1113
|
95,
|
|
808
1114
|
101,
|
|
@@ -819,57 +1125,287 @@ export type PumpFees = {
|
|
|
819
1125
|
114,
|
|
820
1126
|
105,
|
|
821
1127
|
116,
|
|
822
|
-
121
|
|
823
|
-
]
|
|
824
|
-
}
|
|
825
|
-
]
|
|
826
|
-
}
|
|
827
|
-
},
|
|
828
|
-
{
|
|
829
|
-
|
|
830
|
-
}
|
|
831
|
-
]
|
|
832
|
-
|
|
833
|
-
|
|
834
|
-
|
|
835
|
-
|
|
836
|
-
|
|
837
|
-
|
|
838
|
-
|
|
839
|
-
|
|
840
|
-
|
|
841
|
-
|
|
842
|
-
|
|
843
|
-
|
|
844
|
-
|
|
845
|
-
|
|
846
|
-
|
|
847
|
-
|
|
848
|
-
|
|
849
|
-
|
|
850
|
-
|
|
851
|
-
|
|
852
|
-
|
|
853
|
-
|
|
854
|
-
{
|
|
855
|
-
"name": "global",
|
|
856
|
-
"pda": {
|
|
857
|
-
"seeds": [
|
|
1128
|
+
121,
|
|
1129
|
+
];
|
|
1130
|
+
},
|
|
1131
|
+
];
|
|
1132
|
+
};
|
|
1133
|
+
},
|
|
1134
|
+
{
|
|
1135
|
+
name: "program";
|
|
1136
|
+
},
|
|
1137
|
+
];
|
|
1138
|
+
args: [
|
|
1139
|
+
{
|
|
1140
|
+
name: "newAuthority";
|
|
1141
|
+
type: "pubkey";
|
|
1142
|
+
},
|
|
1143
|
+
];
|
|
1144
|
+
},
|
|
1145
|
+
{
|
|
1146
|
+
name: "setClaimRateLimit";
|
|
1147
|
+
discriminator: [185, 211, 159, 174, 212, 49, 88, 4];
|
|
1148
|
+
accounts: [
|
|
1149
|
+
{
|
|
1150
|
+
name: "authority";
|
|
1151
|
+
writable: true;
|
|
1152
|
+
signer: true;
|
|
1153
|
+
relations: ["feeProgramGlobal"];
|
|
1154
|
+
},
|
|
1155
|
+
{
|
|
1156
|
+
name: "feeProgramGlobal";
|
|
1157
|
+
writable: true;
|
|
1158
|
+
pda: {
|
|
1159
|
+
seeds: [
|
|
858
1160
|
{
|
|
859
|
-
|
|
860
|
-
|
|
1161
|
+
kind: "const";
|
|
1162
|
+
value: [
|
|
1163
|
+
102,
|
|
1164
|
+
101,
|
|
1165
|
+
101,
|
|
1166
|
+
45,
|
|
1167
|
+
112,
|
|
1168
|
+
114,
|
|
1169
|
+
111,
|
|
1170
|
+
103,
|
|
1171
|
+
114,
|
|
1172
|
+
97,
|
|
1173
|
+
109,
|
|
1174
|
+
45,
|
|
861
1175
|
103,
|
|
862
1176
|
108,
|
|
863
1177
|
111,
|
|
864
1178
|
98,
|
|
865
1179
|
97,
|
|
866
|
-
108
|
|
867
|
-
]
|
|
868
|
-
}
|
|
869
|
-
]
|
|
870
|
-
|
|
871
|
-
|
|
872
|
-
|
|
1180
|
+
108,
|
|
1181
|
+
];
|
|
1182
|
+
},
|
|
1183
|
+
];
|
|
1184
|
+
};
|
|
1185
|
+
},
|
|
1186
|
+
{
|
|
1187
|
+
name: "eventAuthority";
|
|
1188
|
+
pda: {
|
|
1189
|
+
seeds: [
|
|
1190
|
+
{
|
|
1191
|
+
kind: "const";
|
|
1192
|
+
value: [
|
|
1193
|
+
95,
|
|
1194
|
+
95,
|
|
1195
|
+
101,
|
|
1196
|
+
118,
|
|
1197
|
+
101,
|
|
1198
|
+
110,
|
|
1199
|
+
116,
|
|
1200
|
+
95,
|
|
1201
|
+
97,
|
|
1202
|
+
117,
|
|
1203
|
+
116,
|
|
1204
|
+
104,
|
|
1205
|
+
111,
|
|
1206
|
+
114,
|
|
1207
|
+
105,
|
|
1208
|
+
116,
|
|
1209
|
+
121,
|
|
1210
|
+
];
|
|
1211
|
+
},
|
|
1212
|
+
];
|
|
1213
|
+
};
|
|
1214
|
+
},
|
|
1215
|
+
{
|
|
1216
|
+
name: "program";
|
|
1217
|
+
},
|
|
1218
|
+
];
|
|
1219
|
+
args: [
|
|
1220
|
+
{
|
|
1221
|
+
name: "claimRateLimit";
|
|
1222
|
+
type: "u64";
|
|
1223
|
+
},
|
|
1224
|
+
];
|
|
1225
|
+
},
|
|
1226
|
+
{
|
|
1227
|
+
name: "setDisableFlags";
|
|
1228
|
+
discriminator: [194, 217, 112, 35, 114, 222, 51, 190];
|
|
1229
|
+
accounts: [
|
|
1230
|
+
{
|
|
1231
|
+
name: "authority";
|
|
1232
|
+
writable: true;
|
|
1233
|
+
signer: true;
|
|
1234
|
+
relations: ["feeProgramGlobal"];
|
|
1235
|
+
},
|
|
1236
|
+
{
|
|
1237
|
+
name: "feeProgramGlobal";
|
|
1238
|
+
writable: true;
|
|
1239
|
+
pda: {
|
|
1240
|
+
seeds: [
|
|
1241
|
+
{
|
|
1242
|
+
kind: "const";
|
|
1243
|
+
value: [
|
|
1244
|
+
102,
|
|
1245
|
+
101,
|
|
1246
|
+
101,
|
|
1247
|
+
45,
|
|
1248
|
+
112,
|
|
1249
|
+
114,
|
|
1250
|
+
111,
|
|
1251
|
+
103,
|
|
1252
|
+
114,
|
|
1253
|
+
97,
|
|
1254
|
+
109,
|
|
1255
|
+
45,
|
|
1256
|
+
103,
|
|
1257
|
+
108,
|
|
1258
|
+
111,
|
|
1259
|
+
98,
|
|
1260
|
+
97,
|
|
1261
|
+
108,
|
|
1262
|
+
];
|
|
1263
|
+
},
|
|
1264
|
+
];
|
|
1265
|
+
};
|
|
1266
|
+
},
|
|
1267
|
+
{
|
|
1268
|
+
name: "eventAuthority";
|
|
1269
|
+
pda: {
|
|
1270
|
+
seeds: [
|
|
1271
|
+
{
|
|
1272
|
+
kind: "const";
|
|
1273
|
+
value: [
|
|
1274
|
+
95,
|
|
1275
|
+
95,
|
|
1276
|
+
101,
|
|
1277
|
+
118,
|
|
1278
|
+
101,
|
|
1279
|
+
110,
|
|
1280
|
+
116,
|
|
1281
|
+
95,
|
|
1282
|
+
97,
|
|
1283
|
+
117,
|
|
1284
|
+
116,
|
|
1285
|
+
104,
|
|
1286
|
+
111,
|
|
1287
|
+
114,
|
|
1288
|
+
105,
|
|
1289
|
+
116,
|
|
1290
|
+
121,
|
|
1291
|
+
];
|
|
1292
|
+
},
|
|
1293
|
+
];
|
|
1294
|
+
};
|
|
1295
|
+
},
|
|
1296
|
+
{
|
|
1297
|
+
name: "program";
|
|
1298
|
+
},
|
|
1299
|
+
];
|
|
1300
|
+
args: [
|
|
1301
|
+
{
|
|
1302
|
+
name: "disableFlags";
|
|
1303
|
+
type: "u8";
|
|
1304
|
+
},
|
|
1305
|
+
];
|
|
1306
|
+
},
|
|
1307
|
+
{
|
|
1308
|
+
name: "setSocialClaimAuthority";
|
|
1309
|
+
discriminator: [147, 54, 184, 154, 136, 237, 185, 153];
|
|
1310
|
+
accounts: [
|
|
1311
|
+
{
|
|
1312
|
+
name: "authority";
|
|
1313
|
+
writable: true;
|
|
1314
|
+
signer: true;
|
|
1315
|
+
relations: ["feeProgramGlobal"];
|
|
1316
|
+
},
|
|
1317
|
+
{
|
|
1318
|
+
name: "feeProgramGlobal";
|
|
1319
|
+
writable: true;
|
|
1320
|
+
pda: {
|
|
1321
|
+
seeds: [
|
|
1322
|
+
{
|
|
1323
|
+
kind: "const";
|
|
1324
|
+
value: [
|
|
1325
|
+
102,
|
|
1326
|
+
101,
|
|
1327
|
+
101,
|
|
1328
|
+
45,
|
|
1329
|
+
112,
|
|
1330
|
+
114,
|
|
1331
|
+
111,
|
|
1332
|
+
103,
|
|
1333
|
+
114,
|
|
1334
|
+
97,
|
|
1335
|
+
109,
|
|
1336
|
+
45,
|
|
1337
|
+
103,
|
|
1338
|
+
108,
|
|
1339
|
+
111,
|
|
1340
|
+
98,
|
|
1341
|
+
97,
|
|
1342
|
+
108,
|
|
1343
|
+
];
|
|
1344
|
+
},
|
|
1345
|
+
];
|
|
1346
|
+
};
|
|
1347
|
+
},
|
|
1348
|
+
{
|
|
1349
|
+
name: "eventAuthority";
|
|
1350
|
+
pda: {
|
|
1351
|
+
seeds: [
|
|
1352
|
+
{
|
|
1353
|
+
kind: "const";
|
|
1354
|
+
value: [
|
|
1355
|
+
95,
|
|
1356
|
+
95,
|
|
1357
|
+
101,
|
|
1358
|
+
118,
|
|
1359
|
+
101,
|
|
1360
|
+
110,
|
|
1361
|
+
116,
|
|
1362
|
+
95,
|
|
1363
|
+
97,
|
|
1364
|
+
117,
|
|
1365
|
+
116,
|
|
1366
|
+
104,
|
|
1367
|
+
111,
|
|
1368
|
+
114,
|
|
1369
|
+
105,
|
|
1370
|
+
116,
|
|
1371
|
+
121,
|
|
1372
|
+
];
|
|
1373
|
+
},
|
|
1374
|
+
];
|
|
1375
|
+
};
|
|
1376
|
+
},
|
|
1377
|
+
{
|
|
1378
|
+
name: "program";
|
|
1379
|
+
},
|
|
1380
|
+
];
|
|
1381
|
+
args: [
|
|
1382
|
+
{
|
|
1383
|
+
name: "socialClaimAuthority";
|
|
1384
|
+
type: "pubkey";
|
|
1385
|
+
},
|
|
1386
|
+
];
|
|
1387
|
+
},
|
|
1388
|
+
{
|
|
1389
|
+
name: "transferFeeSharingAuthority";
|
|
1390
|
+
docs: ["Transfer Fee Sharing Authority"];
|
|
1391
|
+
discriminator: [202, 10, 75, 200, 164, 34, 210, 96];
|
|
1392
|
+
accounts: [
|
|
1393
|
+
{
|
|
1394
|
+
name: "authority";
|
|
1395
|
+
signer: true;
|
|
1396
|
+
},
|
|
1397
|
+
{
|
|
1398
|
+
name: "global";
|
|
1399
|
+
pda: {
|
|
1400
|
+
seeds: [
|
|
1401
|
+
{
|
|
1402
|
+
kind: "const";
|
|
1403
|
+
value: [103, 108, 111, 98, 97, 108];
|
|
1404
|
+
},
|
|
1405
|
+
];
|
|
1406
|
+
program: {
|
|
1407
|
+
kind: "const";
|
|
1408
|
+
value: [
|
|
873
1409
|
1,
|
|
874
1410
|
86,
|
|
875
1411
|
224,
|
|
@@ -901,25 +1437,23 @@ export type PumpFees = {
|
|
|
901
1437
|
253,
|
|
902
1438
|
109,
|
|
903
1439
|
24,
|
|
904
|
-
176
|
|
905
|
-
]
|
|
906
|
-
}
|
|
907
|
-
}
|
|
1440
|
+
176,
|
|
1441
|
+
];
|
|
1442
|
+
};
|
|
1443
|
+
};
|
|
908
1444
|
},
|
|
909
1445
|
{
|
|
910
|
-
|
|
911
|
-
|
|
912
|
-
"sharingConfig"
|
|
913
|
-
]
|
|
1446
|
+
name: "mint";
|
|
1447
|
+
relations: ["sharingConfig"];
|
|
914
1448
|
},
|
|
915
1449
|
{
|
|
916
|
-
|
|
917
|
-
|
|
918
|
-
|
|
919
|
-
|
|
1450
|
+
name: "sharingConfig";
|
|
1451
|
+
writable: true;
|
|
1452
|
+
pda: {
|
|
1453
|
+
seeds: [
|
|
920
1454
|
{
|
|
921
|
-
|
|
922
|
-
|
|
1455
|
+
kind: "const";
|
|
1456
|
+
value: [
|
|
923
1457
|
115,
|
|
924
1458
|
104,
|
|
925
1459
|
97,
|
|
@@ -933,26 +1467,26 @@ export type PumpFees = {
|
|
|
933
1467
|
110,
|
|
934
1468
|
102,
|
|
935
1469
|
105,
|
|
936
|
-
103
|
|
937
|
-
]
|
|
1470
|
+
103,
|
|
1471
|
+
];
|
|
938
1472
|
},
|
|
939
1473
|
{
|
|
940
|
-
|
|
941
|
-
|
|
942
|
-
}
|
|
943
|
-
]
|
|
944
|
-
}
|
|
1474
|
+
kind: "account";
|
|
1475
|
+
path: "mint";
|
|
1476
|
+
},
|
|
1477
|
+
];
|
|
1478
|
+
};
|
|
945
1479
|
},
|
|
946
1480
|
{
|
|
947
|
-
|
|
1481
|
+
name: "newAdmin";
|
|
948
1482
|
},
|
|
949
1483
|
{
|
|
950
|
-
|
|
951
|
-
|
|
952
|
-
|
|
1484
|
+
name: "eventAuthority";
|
|
1485
|
+
pda: {
|
|
1486
|
+
seeds: [
|
|
953
1487
|
{
|
|
954
|
-
|
|
955
|
-
|
|
1488
|
+
kind: "const";
|
|
1489
|
+
value: [
|
|
956
1490
|
95,
|
|
957
1491
|
95,
|
|
958
1492
|
101,
|
|
@@ -969,81 +1503,57 @@ export type PumpFees = {
|
|
|
969
1503
|
114,
|
|
970
1504
|
105,
|
|
971
1505
|
116,
|
|
972
|
-
121
|
|
973
|
-
]
|
|
974
|
-
}
|
|
975
|
-
]
|
|
976
|
-
}
|
|
977
|
-
},
|
|
978
|
-
{
|
|
979
|
-
|
|
980
|
-
}
|
|
981
|
-
]
|
|
982
|
-
|
|
983
|
-
},
|
|
984
|
-
{
|
|
985
|
-
|
|
986
|
-
|
|
987
|
-
|
|
988
|
-
|
|
989
|
-
|
|
990
|
-
|
|
991
|
-
|
|
992
|
-
|
|
993
|
-
|
|
994
|
-
|
|
995
|
-
|
|
996
|
-
|
|
997
|
-
|
|
998
|
-
|
|
999
|
-
|
|
1000
|
-
|
|
1001
|
-
|
|
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
|
-
]
|
|
1506
|
+
121,
|
|
1507
|
+
];
|
|
1508
|
+
},
|
|
1509
|
+
];
|
|
1510
|
+
};
|
|
1511
|
+
},
|
|
1512
|
+
{
|
|
1513
|
+
name: "program";
|
|
1514
|
+
},
|
|
1515
|
+
];
|
|
1516
|
+
args: [];
|
|
1517
|
+
},
|
|
1518
|
+
{
|
|
1519
|
+
name: "updateAdmin";
|
|
1520
|
+
docs: ["Update admin (only callable by admin)"];
|
|
1521
|
+
discriminator: [161, 176, 40, 213, 60, 184, 179, 228];
|
|
1522
|
+
accounts: [
|
|
1523
|
+
{
|
|
1524
|
+
name: "admin";
|
|
1525
|
+
signer: true;
|
|
1526
|
+
relations: ["feeConfig"];
|
|
1527
|
+
},
|
|
1528
|
+
{
|
|
1529
|
+
name: "feeConfig";
|
|
1530
|
+
writable: true;
|
|
1531
|
+
pda: {
|
|
1532
|
+
seeds: [
|
|
1533
|
+
{
|
|
1534
|
+
kind: "const";
|
|
1535
|
+
value: [102, 101, 101, 95, 99, 111, 110, 102, 105, 103];
|
|
1026
1536
|
},
|
|
1027
1537
|
{
|
|
1028
|
-
|
|
1029
|
-
|
|
1030
|
-
}
|
|
1031
|
-
]
|
|
1032
|
-
}
|
|
1538
|
+
kind: "account";
|
|
1539
|
+
path: "configProgramId";
|
|
1540
|
+
},
|
|
1541
|
+
];
|
|
1542
|
+
};
|
|
1033
1543
|
},
|
|
1034
1544
|
{
|
|
1035
|
-
|
|
1545
|
+
name: "newAdmin";
|
|
1036
1546
|
},
|
|
1037
1547
|
{
|
|
1038
|
-
|
|
1548
|
+
name: "configProgramId";
|
|
1039
1549
|
},
|
|
1040
1550
|
{
|
|
1041
|
-
|
|
1042
|
-
|
|
1043
|
-
|
|
1551
|
+
name: "eventAuthority";
|
|
1552
|
+
pda: {
|
|
1553
|
+
seeds: [
|
|
1044
1554
|
{
|
|
1045
|
-
|
|
1046
|
-
|
|
1555
|
+
kind: "const";
|
|
1556
|
+
value: [
|
|
1047
1557
|
95,
|
|
1048
1558
|
95,
|
|
1049
1559
|
101,
|
|
@@ -1060,78 +1570,54 @@ export type PumpFees = {
|
|
|
1060
1570
|
114,
|
|
1061
1571
|
105,
|
|
1062
1572
|
116,
|
|
1063
|
-
121
|
|
1064
|
-
]
|
|
1065
|
-
}
|
|
1066
|
-
]
|
|
1067
|
-
}
|
|
1068
|
-
},
|
|
1069
|
-
{
|
|
1070
|
-
|
|
1071
|
-
}
|
|
1072
|
-
]
|
|
1073
|
-
|
|
1074
|
-
},
|
|
1075
|
-
{
|
|
1076
|
-
|
|
1077
|
-
|
|
1078
|
-
|
|
1079
|
-
|
|
1080
|
-
|
|
1081
|
-
|
|
1082
|
-
|
|
1083
|
-
|
|
1084
|
-
|
|
1085
|
-
88,
|
|
1086
|
-
151,
|
|
1087
|
-
107,
|
|
1088
|
-
20
|
|
1089
|
-
],
|
|
1090
|
-
"accounts": [
|
|
1091
|
-
{
|
|
1092
|
-
"name": "feeConfig",
|
|
1093
|
-
"writable": true,
|
|
1094
|
-
"pda": {
|
|
1095
|
-
"seeds": [
|
|
1573
|
+
121,
|
|
1574
|
+
];
|
|
1575
|
+
},
|
|
1576
|
+
];
|
|
1577
|
+
};
|
|
1578
|
+
},
|
|
1579
|
+
{
|
|
1580
|
+
name: "program";
|
|
1581
|
+
},
|
|
1582
|
+
];
|
|
1583
|
+
args: [];
|
|
1584
|
+
},
|
|
1585
|
+
{
|
|
1586
|
+
name: "updateFeeConfig";
|
|
1587
|
+
docs: ["Set/Replace fee parameters entirely (only callable by admin)"];
|
|
1588
|
+
discriminator: [104, 184, 103, 242, 88, 151, 107, 20];
|
|
1589
|
+
accounts: [
|
|
1590
|
+
{
|
|
1591
|
+
name: "feeConfig";
|
|
1592
|
+
writable: true;
|
|
1593
|
+
pda: {
|
|
1594
|
+
seeds: [
|
|
1096
1595
|
{
|
|
1097
|
-
|
|
1098
|
-
|
|
1099
|
-
102,
|
|
1100
|
-
101,
|
|
1101
|
-
101,
|
|
1102
|
-
95,
|
|
1103
|
-
99,
|
|
1104
|
-
111,
|
|
1105
|
-
110,
|
|
1106
|
-
102,
|
|
1107
|
-
105,
|
|
1108
|
-
103
|
|
1109
|
-
]
|
|
1596
|
+
kind: "const";
|
|
1597
|
+
value: [102, 101, 101, 95, 99, 111, 110, 102, 105, 103];
|
|
1110
1598
|
},
|
|
1111
1599
|
{
|
|
1112
|
-
|
|
1113
|
-
|
|
1114
|
-
}
|
|
1115
|
-
]
|
|
1116
|
-
}
|
|
1600
|
+
kind: "account";
|
|
1601
|
+
path: "configProgramId";
|
|
1602
|
+
},
|
|
1603
|
+
];
|
|
1604
|
+
};
|
|
1117
1605
|
},
|
|
1118
1606
|
{
|
|
1119
|
-
|
|
1120
|
-
|
|
1121
|
-
|
|
1122
|
-
"feeConfig"
|
|
1123
|
-
]
|
|
1607
|
+
name: "admin";
|
|
1608
|
+
signer: true;
|
|
1609
|
+
relations: ["feeConfig"];
|
|
1124
1610
|
},
|
|
1125
1611
|
{
|
|
1126
|
-
|
|
1612
|
+
name: "configProgramId";
|
|
1127
1613
|
},
|
|
1128
1614
|
{
|
|
1129
|
-
|
|
1130
|
-
|
|
1131
|
-
|
|
1615
|
+
name: "eventAuthority";
|
|
1616
|
+
pda: {
|
|
1617
|
+
seeds: [
|
|
1132
1618
|
{
|
|
1133
|
-
|
|
1134
|
-
|
|
1619
|
+
kind: "const";
|
|
1620
|
+
value: [
|
|
1135
1621
|
95,
|
|
1136
1622
|
95,
|
|
1137
1623
|
101,
|
|
@@ -1148,60 +1634,51 @@ export type PumpFees = {
|
|
|
1148
1634
|
114,
|
|
1149
1635
|
105,
|
|
1150
1636
|
116,
|
|
1151
|
-
121
|
|
1152
|
-
]
|
|
1153
|
-
}
|
|
1154
|
-
]
|
|
1155
|
-
}
|
|
1156
|
-
},
|
|
1157
|
-
{
|
|
1158
|
-
|
|
1159
|
-
}
|
|
1160
|
-
]
|
|
1161
|
-
|
|
1162
|
-
{
|
|
1163
|
-
|
|
1164
|
-
|
|
1165
|
-
|
|
1166
|
-
|
|
1167
|
-
|
|
1168
|
-
}
|
|
1169
|
-
}
|
|
1170
|
-
}
|
|
1171
|
-
},
|
|
1172
|
-
{
|
|
1173
|
-
|
|
1174
|
-
|
|
1175
|
-
|
|
1176
|
-
|
|
1177
|
-
}
|
|
1178
|
-
}
|
|
1179
|
-
}
|
|
1180
|
-
]
|
|
1181
|
-
},
|
|
1182
|
-
{
|
|
1183
|
-
|
|
1184
|
-
|
|
1185
|
-
"Update Fee Shares, make sure to distribute all the fees before calling this"
|
|
1186
|
-
]
|
|
1187
|
-
|
|
1188
|
-
|
|
1189
|
-
|
|
1190
|
-
|
|
1191
|
-
|
|
1192
|
-
|
|
1193
|
-
164,
|
|
1194
|
-
237,
|
|
1195
|
-
35
|
|
1196
|
-
],
|
|
1197
|
-
"accounts": [
|
|
1198
|
-
{
|
|
1199
|
-
"name": "eventAuthority",
|
|
1200
|
-
"pda": {
|
|
1201
|
-
"seeds": [
|
|
1637
|
+
121,
|
|
1638
|
+
];
|
|
1639
|
+
},
|
|
1640
|
+
];
|
|
1641
|
+
};
|
|
1642
|
+
},
|
|
1643
|
+
{
|
|
1644
|
+
name: "program";
|
|
1645
|
+
},
|
|
1646
|
+
];
|
|
1647
|
+
args: [
|
|
1648
|
+
{
|
|
1649
|
+
name: "feeTiers";
|
|
1650
|
+
type: {
|
|
1651
|
+
vec: {
|
|
1652
|
+
defined: {
|
|
1653
|
+
name: "feeTier";
|
|
1654
|
+
};
|
|
1655
|
+
};
|
|
1656
|
+
};
|
|
1657
|
+
},
|
|
1658
|
+
{
|
|
1659
|
+
name: "flatFees";
|
|
1660
|
+
type: {
|
|
1661
|
+
defined: {
|
|
1662
|
+
name: "fees";
|
|
1663
|
+
};
|
|
1664
|
+
};
|
|
1665
|
+
},
|
|
1666
|
+
];
|
|
1667
|
+
},
|
|
1668
|
+
{
|
|
1669
|
+
name: "updateFeeShares";
|
|
1670
|
+
docs: [
|
|
1671
|
+
"Update Fee Shares, make sure to distribute all the fees before calling this",
|
|
1672
|
+
];
|
|
1673
|
+
discriminator: [189, 13, 136, 99, 187, 164, 237, 35];
|
|
1674
|
+
accounts: [
|
|
1675
|
+
{
|
|
1676
|
+
name: "eventAuthority";
|
|
1677
|
+
pda: {
|
|
1678
|
+
seeds: [
|
|
1202
1679
|
{
|
|
1203
|
-
|
|
1204
|
-
|
|
1680
|
+
kind: "const";
|
|
1681
|
+
value: [
|
|
1205
1682
|
95,
|
|
1206
1683
|
95,
|
|
1207
1684
|
101,
|
|
@@ -1218,39 +1695,32 @@ export type PumpFees = {
|
|
|
1218
1695
|
114,
|
|
1219
1696
|
105,
|
|
1220
1697
|
116,
|
|
1221
|
-
121
|
|
1222
|
-
]
|
|
1223
|
-
}
|
|
1224
|
-
]
|
|
1225
|
-
}
|
|
1698
|
+
121,
|
|
1699
|
+
];
|
|
1700
|
+
},
|
|
1701
|
+
];
|
|
1702
|
+
};
|
|
1226
1703
|
},
|
|
1227
1704
|
{
|
|
1228
|
-
|
|
1229
|
-
|
|
1705
|
+
name: "program";
|
|
1706
|
+
address: "pfeeUxB6jkeY1Hxd7CsFCAjcbHA9rWtchMGdZ6VojVZ";
|
|
1230
1707
|
},
|
|
1231
1708
|
{
|
|
1232
|
-
|
|
1233
|
-
|
|
1709
|
+
name: "authority";
|
|
1710
|
+
signer: true;
|
|
1234
1711
|
},
|
|
1235
1712
|
{
|
|
1236
|
-
|
|
1237
|
-
|
|
1238
|
-
|
|
1713
|
+
name: "global";
|
|
1714
|
+
pda: {
|
|
1715
|
+
seeds: [
|
|
1239
1716
|
{
|
|
1240
|
-
|
|
1241
|
-
|
|
1242
|
-
|
|
1243
|
-
|
|
1244
|
-
|
|
1245
|
-
|
|
1246
|
-
|
|
1247
|
-
108
|
|
1248
|
-
]
|
|
1249
|
-
}
|
|
1250
|
-
],
|
|
1251
|
-
"program": {
|
|
1252
|
-
"kind": "const",
|
|
1253
|
-
"value": [
|
|
1717
|
+
kind: "const";
|
|
1718
|
+
value: [103, 108, 111, 98, 97, 108];
|
|
1719
|
+
},
|
|
1720
|
+
];
|
|
1721
|
+
program: {
|
|
1722
|
+
kind: "const";
|
|
1723
|
+
value: [
|
|
1254
1724
|
1,
|
|
1255
1725
|
86,
|
|
1256
1726
|
224,
|
|
@@ -1282,25 +1752,23 @@ export type PumpFees = {
|
|
|
1282
1752
|
253,
|
|
1283
1753
|
109,
|
|
1284
1754
|
24,
|
|
1285
|
-
176
|
|
1286
|
-
]
|
|
1287
|
-
}
|
|
1288
|
-
}
|
|
1755
|
+
176,
|
|
1756
|
+
];
|
|
1757
|
+
};
|
|
1758
|
+
};
|
|
1289
1759
|
},
|
|
1290
1760
|
{
|
|
1291
|
-
|
|
1292
|
-
|
|
1293
|
-
"sharingConfig"
|
|
1294
|
-
]
|
|
1761
|
+
name: "mint";
|
|
1762
|
+
relations: ["sharingConfig"];
|
|
1295
1763
|
},
|
|
1296
1764
|
{
|
|
1297
|
-
|
|
1298
|
-
|
|
1299
|
-
|
|
1300
|
-
|
|
1765
|
+
name: "sharingConfig";
|
|
1766
|
+
writable: true;
|
|
1767
|
+
pda: {
|
|
1768
|
+
seeds: [
|
|
1301
1769
|
{
|
|
1302
|
-
|
|
1303
|
-
|
|
1770
|
+
kind: "const";
|
|
1771
|
+
value: [
|
|
1304
1772
|
115,
|
|
1305
1773
|
104,
|
|
1306
1774
|
97,
|
|
@@ -1314,23 +1782,23 @@ export type PumpFees = {
|
|
|
1314
1782
|
110,
|
|
1315
1783
|
102,
|
|
1316
1784
|
105,
|
|
1317
|
-
103
|
|
1318
|
-
]
|
|
1785
|
+
103,
|
|
1786
|
+
];
|
|
1319
1787
|
},
|
|
1320
1788
|
{
|
|
1321
|
-
|
|
1322
|
-
|
|
1323
|
-
}
|
|
1324
|
-
]
|
|
1325
|
-
}
|
|
1789
|
+
kind: "account";
|
|
1790
|
+
path: "mint";
|
|
1791
|
+
},
|
|
1792
|
+
];
|
|
1793
|
+
};
|
|
1326
1794
|
},
|
|
1327
1795
|
{
|
|
1328
|
-
|
|
1329
|
-
|
|
1330
|
-
|
|
1796
|
+
name: "bondingCurve";
|
|
1797
|
+
pda: {
|
|
1798
|
+
seeds: [
|
|
1331
1799
|
{
|
|
1332
|
-
|
|
1333
|
-
|
|
1800
|
+
kind: "const";
|
|
1801
|
+
value: [
|
|
1334
1802
|
98,
|
|
1335
1803
|
111,
|
|
1336
1804
|
110,
|
|
@@ -1343,17 +1811,17 @@ export type PumpFees = {
|
|
|
1343
1811
|
117,
|
|
1344
1812
|
114,
|
|
1345
1813
|
118,
|
|
1346
|
-
101
|
|
1347
|
-
]
|
|
1814
|
+
101,
|
|
1815
|
+
];
|
|
1348
1816
|
},
|
|
1349
1817
|
{
|
|
1350
|
-
|
|
1351
|
-
|
|
1352
|
-
}
|
|
1353
|
-
]
|
|
1354
|
-
|
|
1355
|
-
|
|
1356
|
-
|
|
1818
|
+
kind: "account";
|
|
1819
|
+
path: "mint";
|
|
1820
|
+
},
|
|
1821
|
+
];
|
|
1822
|
+
program: {
|
|
1823
|
+
kind: "const";
|
|
1824
|
+
value: [
|
|
1357
1825
|
1,
|
|
1358
1826
|
86,
|
|
1359
1827
|
224,
|
|
@@ -1385,19 +1853,19 @@ export type PumpFees = {
|
|
|
1385
1853
|
253,
|
|
1386
1854
|
109,
|
|
1387
1855
|
24,
|
|
1388
|
-
176
|
|
1389
|
-
]
|
|
1390
|
-
}
|
|
1391
|
-
}
|
|
1856
|
+
176,
|
|
1857
|
+
];
|
|
1858
|
+
};
|
|
1859
|
+
};
|
|
1392
1860
|
},
|
|
1393
1861
|
{
|
|
1394
|
-
|
|
1395
|
-
|
|
1396
|
-
|
|
1397
|
-
|
|
1862
|
+
name: "pumpCreatorVault";
|
|
1863
|
+
writable: true;
|
|
1864
|
+
pda: {
|
|
1865
|
+
seeds: [
|
|
1398
1866
|
{
|
|
1399
|
-
|
|
1400
|
-
|
|
1867
|
+
kind: "const";
|
|
1868
|
+
value: [
|
|
1401
1869
|
99,
|
|
1402
1870
|
114,
|
|
1403
1871
|
101,
|
|
@@ -1410,17 +1878,17 @@ export type PumpFees = {
|
|
|
1410
1878
|
97,
|
|
1411
1879
|
117,
|
|
1412
1880
|
108,
|
|
1413
|
-
116
|
|
1414
|
-
]
|
|
1881
|
+
116,
|
|
1882
|
+
];
|
|
1415
1883
|
},
|
|
1416
1884
|
{
|
|
1417
|
-
|
|
1418
|
-
|
|
1419
|
-
}
|
|
1420
|
-
]
|
|
1421
|
-
|
|
1422
|
-
|
|
1423
|
-
|
|
1885
|
+
kind: "account";
|
|
1886
|
+
path: "sharingConfig";
|
|
1887
|
+
},
|
|
1888
|
+
];
|
|
1889
|
+
program: {
|
|
1890
|
+
kind: "const";
|
|
1891
|
+
value: [
|
|
1424
1892
|
1,
|
|
1425
1893
|
86,
|
|
1426
1894
|
224,
|
|
@@ -1452,26 +1920,26 @@ export type PumpFees = {
|
|
|
1452
1920
|
253,
|
|
1453
1921
|
109,
|
|
1454
1922
|
24,
|
|
1455
|
-
176
|
|
1456
|
-
]
|
|
1457
|
-
}
|
|
1458
|
-
}
|
|
1923
|
+
176,
|
|
1924
|
+
];
|
|
1925
|
+
};
|
|
1926
|
+
};
|
|
1459
1927
|
},
|
|
1460
1928
|
{
|
|
1461
|
-
|
|
1462
|
-
|
|
1929
|
+
name: "systemProgram";
|
|
1930
|
+
address: "11111111111111111111111111111111";
|
|
1463
1931
|
},
|
|
1464
1932
|
{
|
|
1465
|
-
|
|
1466
|
-
|
|
1933
|
+
name: "pumpProgram";
|
|
1934
|
+
address: "6EF8rrecthR5Dkzon8Nwu78hRvfCKubJ14M5uBEwF6P";
|
|
1467
1935
|
},
|
|
1468
1936
|
{
|
|
1469
|
-
|
|
1470
|
-
|
|
1471
|
-
|
|
1937
|
+
name: "pumpEventAuthority";
|
|
1938
|
+
pda: {
|
|
1939
|
+
seeds: [
|
|
1472
1940
|
{
|
|
1473
|
-
|
|
1474
|
-
|
|
1941
|
+
kind: "const";
|
|
1942
|
+
value: [
|
|
1475
1943
|
95,
|
|
1476
1944
|
95,
|
|
1477
1945
|
101,
|
|
@@ -1488,13 +1956,13 @@ export type PumpFees = {
|
|
|
1488
1956
|
114,
|
|
1489
1957
|
105,
|
|
1490
1958
|
116,
|
|
1491
|
-
121
|
|
1492
|
-
]
|
|
1493
|
-
}
|
|
1494
|
-
]
|
|
1495
|
-
|
|
1496
|
-
|
|
1497
|
-
|
|
1959
|
+
121,
|
|
1960
|
+
];
|
|
1961
|
+
},
|
|
1962
|
+
];
|
|
1963
|
+
program: {
|
|
1964
|
+
kind: "const";
|
|
1965
|
+
value: [
|
|
1498
1966
|
1,
|
|
1499
1967
|
86,
|
|
1500
1968
|
224,
|
|
@@ -1526,22 +1994,22 @@ export type PumpFees = {
|
|
|
1526
1994
|
253,
|
|
1527
1995
|
109,
|
|
1528
1996
|
24,
|
|
1529
|
-
176
|
|
1530
|
-
]
|
|
1531
|
-
}
|
|
1532
|
-
}
|
|
1997
|
+
176,
|
|
1998
|
+
];
|
|
1999
|
+
};
|
|
2000
|
+
};
|
|
1533
2001
|
},
|
|
1534
2002
|
{
|
|
1535
|
-
|
|
1536
|
-
|
|
2003
|
+
name: "pumpAmmProgram";
|
|
2004
|
+
address: "pAMMBay6oceH9fJKBRHGP5D4bD4sWpmSwMn52FMfXEA";
|
|
1537
2005
|
},
|
|
1538
2006
|
{
|
|
1539
|
-
|
|
1540
|
-
|
|
1541
|
-
|
|
2007
|
+
name: "ammEventAuthority";
|
|
2008
|
+
pda: {
|
|
2009
|
+
seeds: [
|
|
1542
2010
|
{
|
|
1543
|
-
|
|
1544
|
-
|
|
2011
|
+
kind: "const";
|
|
2012
|
+
value: [
|
|
1545
2013
|
95,
|
|
1546
2014
|
95,
|
|
1547
2015
|
101,
|
|
@@ -1558,13 +2026,13 @@ export type PumpFees = {
|
|
|
1558
2026
|
114,
|
|
1559
2027
|
105,
|
|
1560
2028
|
116,
|
|
1561
|
-
121
|
|
1562
|
-
]
|
|
1563
|
-
}
|
|
1564
|
-
]
|
|
1565
|
-
|
|
1566
|
-
|
|
1567
|
-
|
|
2029
|
+
121,
|
|
2030
|
+
];
|
|
2031
|
+
},
|
|
2032
|
+
];
|
|
2033
|
+
program: {
|
|
2034
|
+
kind: "const";
|
|
2035
|
+
value: [
|
|
1568
2036
|
12,
|
|
1569
2037
|
20,
|
|
1570
2038
|
222,
|
|
@@ -1596,31 +2064,31 @@ export type PumpFees = {
|
|
|
1596
2064
|
24,
|
|
1597
2065
|
233,
|
|
1598
2066
|
168,
|
|
1599
|
-
99
|
|
1600
|
-
]
|
|
1601
|
-
}
|
|
1602
|
-
}
|
|
2067
|
+
99,
|
|
2068
|
+
];
|
|
2069
|
+
};
|
|
2070
|
+
};
|
|
1603
2071
|
},
|
|
1604
2072
|
{
|
|
1605
|
-
|
|
1606
|
-
|
|
2073
|
+
name: "wsolMint";
|
|
2074
|
+
address: "So11111111111111111111111111111111111111112";
|
|
1607
2075
|
},
|
|
1608
2076
|
{
|
|
1609
|
-
|
|
1610
|
-
|
|
2077
|
+
name: "tokenProgram";
|
|
2078
|
+
address: "TokenkegQfeZyiNwAJbNbGKPFXCWuBvf9Ss623VQ5DA";
|
|
1611
2079
|
},
|
|
1612
2080
|
{
|
|
1613
|
-
|
|
1614
|
-
|
|
2081
|
+
name: "associatedTokenProgram";
|
|
2082
|
+
address: "ATokenGPvbdGVxr1b2hvZbsiqW5xWH25efTNsLJA8knL";
|
|
1615
2083
|
},
|
|
1616
2084
|
{
|
|
1617
|
-
|
|
1618
|
-
|
|
1619
|
-
|
|
1620
|
-
|
|
2085
|
+
name: "coinCreatorVaultAuthority";
|
|
2086
|
+
writable: true;
|
|
2087
|
+
pda: {
|
|
2088
|
+
seeds: [
|
|
1621
2089
|
{
|
|
1622
|
-
|
|
1623
|
-
|
|
2090
|
+
kind: "const";
|
|
2091
|
+
value: [
|
|
1624
2092
|
99,
|
|
1625
2093
|
114,
|
|
1626
2094
|
101,
|
|
@@ -1633,17 +2101,17 @@ export type PumpFees = {
|
|
|
1633
2101
|
97,
|
|
1634
2102
|
117,
|
|
1635
2103
|
108,
|
|
1636
|
-
116
|
|
1637
|
-
]
|
|
2104
|
+
116,
|
|
2105
|
+
];
|
|
1638
2106
|
},
|
|
1639
2107
|
{
|
|
1640
|
-
|
|
1641
|
-
|
|
1642
|
-
}
|
|
1643
|
-
]
|
|
1644
|
-
|
|
1645
|
-
|
|
1646
|
-
|
|
2108
|
+
kind: "account";
|
|
2109
|
+
path: "sharingConfig";
|
|
2110
|
+
},
|
|
2111
|
+
];
|
|
2112
|
+
program: {
|
|
2113
|
+
kind: "const";
|
|
2114
|
+
value: [
|
|
1647
2115
|
12,
|
|
1648
2116
|
20,
|
|
1649
2117
|
222,
|
|
@@ -1675,89 +2143,65 @@ export type PumpFees = {
|
|
|
1675
2143
|
24,
|
|
1676
2144
|
233,
|
|
1677
2145
|
168,
|
|
1678
|
-
99
|
|
1679
|
-
]
|
|
1680
|
-
}
|
|
1681
|
-
}
|
|
1682
|
-
},
|
|
1683
|
-
{
|
|
1684
|
-
|
|
1685
|
-
|
|
1686
|
-
}
|
|
1687
|
-
]
|
|
1688
|
-
|
|
1689
|
-
{
|
|
1690
|
-
|
|
1691
|
-
|
|
1692
|
-
|
|
1693
|
-
|
|
1694
|
-
|
|
1695
|
-
}
|
|
1696
|
-
}
|
|
1697
|
-
}
|
|
1698
|
-
}
|
|
1699
|
-
]
|
|
1700
|
-
},
|
|
1701
|
-
{
|
|
1702
|
-
|
|
1703
|
-
|
|
1704
|
-
|
|
1705
|
-
|
|
1706
|
-
|
|
1707
|
-
|
|
1708
|
-
|
|
1709
|
-
|
|
1710
|
-
|
|
1711
|
-
77,
|
|
1712
|
-
86,
|
|
1713
|
-
94,
|
|
1714
|
-
4
|
|
1715
|
-
],
|
|
1716
|
-
"accounts": [
|
|
1717
|
-
{
|
|
1718
|
-
"name": "feeConfig",
|
|
1719
|
-
"writable": true,
|
|
1720
|
-
"pda": {
|
|
1721
|
-
"seeds": [
|
|
2146
|
+
99,
|
|
2147
|
+
];
|
|
2148
|
+
};
|
|
2149
|
+
};
|
|
2150
|
+
},
|
|
2151
|
+
{
|
|
2152
|
+
name: "coinCreatorVaultAta";
|
|
2153
|
+
writable: true;
|
|
2154
|
+
},
|
|
2155
|
+
];
|
|
2156
|
+
args: [
|
|
2157
|
+
{
|
|
2158
|
+
name: "shareholders";
|
|
2159
|
+
type: {
|
|
2160
|
+
vec: {
|
|
2161
|
+
defined: {
|
|
2162
|
+
name: "shareholder";
|
|
2163
|
+
};
|
|
2164
|
+
};
|
|
2165
|
+
};
|
|
2166
|
+
},
|
|
2167
|
+
];
|
|
2168
|
+
},
|
|
2169
|
+
{
|
|
2170
|
+
name: "upsertFeeTiers";
|
|
2171
|
+
docs: ["Update or expand fee tiers (only callable by admin)"];
|
|
2172
|
+
discriminator: [227, 23, 150, 12, 77, 86, 94, 4];
|
|
2173
|
+
accounts: [
|
|
2174
|
+
{
|
|
2175
|
+
name: "feeConfig";
|
|
2176
|
+
writable: true;
|
|
2177
|
+
pda: {
|
|
2178
|
+
seeds: [
|
|
1722
2179
|
{
|
|
1723
|
-
|
|
1724
|
-
|
|
1725
|
-
102,
|
|
1726
|
-
101,
|
|
1727
|
-
101,
|
|
1728
|
-
95,
|
|
1729
|
-
99,
|
|
1730
|
-
111,
|
|
1731
|
-
110,
|
|
1732
|
-
102,
|
|
1733
|
-
105,
|
|
1734
|
-
103
|
|
1735
|
-
]
|
|
2180
|
+
kind: "const";
|
|
2181
|
+
value: [102, 101, 101, 95, 99, 111, 110, 102, 105, 103];
|
|
1736
2182
|
},
|
|
1737
2183
|
{
|
|
1738
|
-
|
|
1739
|
-
|
|
1740
|
-
}
|
|
1741
|
-
]
|
|
1742
|
-
}
|
|
2184
|
+
kind: "account";
|
|
2185
|
+
path: "configProgramId";
|
|
2186
|
+
},
|
|
2187
|
+
];
|
|
2188
|
+
};
|
|
1743
2189
|
},
|
|
1744
2190
|
{
|
|
1745
|
-
|
|
1746
|
-
|
|
1747
|
-
|
|
1748
|
-
"feeConfig"
|
|
1749
|
-
]
|
|
2191
|
+
name: "admin";
|
|
2192
|
+
signer: true;
|
|
2193
|
+
relations: ["feeConfig"];
|
|
1750
2194
|
},
|
|
1751
2195
|
{
|
|
1752
|
-
|
|
2196
|
+
name: "configProgramId";
|
|
1753
2197
|
},
|
|
1754
2198
|
{
|
|
1755
|
-
|
|
1756
|
-
|
|
1757
|
-
|
|
2199
|
+
name: "eventAuthority";
|
|
2200
|
+
pda: {
|
|
2201
|
+
seeds: [
|
|
1758
2202
|
{
|
|
1759
|
-
|
|
1760
|
-
|
|
2203
|
+
kind: "const";
|
|
2204
|
+
value: [
|
|
1761
2205
|
95,
|
|
1762
2206
|
95,
|
|
1763
2207
|
101,
|
|
@@ -1774,994 +2218,1172 @@ export type PumpFees = {
|
|
|
1774
2218
|
114,
|
|
1775
2219
|
105,
|
|
1776
2220
|
116,
|
|
1777
|
-
121
|
|
1778
|
-
]
|
|
1779
|
-
}
|
|
1780
|
-
]
|
|
1781
|
-
}
|
|
1782
|
-
},
|
|
1783
|
-
{
|
|
1784
|
-
|
|
1785
|
-
}
|
|
1786
|
-
]
|
|
1787
|
-
|
|
1788
|
-
{
|
|
1789
|
-
|
|
1790
|
-
|
|
1791
|
-
|
|
1792
|
-
|
|
1793
|
-
|
|
1794
|
-
}
|
|
1795
|
-
}
|
|
1796
|
-
}
|
|
1797
|
-
},
|
|
1798
|
-
{
|
|
1799
|
-
|
|
1800
|
-
|
|
1801
|
-
}
|
|
1802
|
-
]
|
|
1803
|
-
}
|
|
1804
|
-
]
|
|
1805
|
-
|
|
1806
|
-
{
|
|
1807
|
-
|
|
1808
|
-
|
|
1809
|
-
|
|
1810
|
-
|
|
1811
|
-
|
|
1812
|
-
|
|
1813
|
-
|
|
1814
|
-
|
|
1815
|
-
|
|
1816
|
-
|
|
1817
|
-
|
|
1818
|
-
|
|
1819
|
-
|
|
1820
|
-
|
|
1821
|
-
|
|
1822
|
-
|
|
1823
|
-
|
|
1824
|
-
|
|
1825
|
-
|
|
1826
|
-
|
|
1827
|
-
|
|
1828
|
-
|
|
1829
|
-
|
|
1830
|
-
|
|
1831
|
-
|
|
1832
|
-
|
|
1833
|
-
|
|
1834
|
-
|
|
1835
|
-
|
|
1836
|
-
|
|
1837
|
-
|
|
1838
|
-
|
|
1839
|
-
|
|
1840
|
-
|
|
1841
|
-
|
|
1842
|
-
|
|
1843
|
-
|
|
1844
|
-
|
|
1845
|
-
|
|
1846
|
-
|
|
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
|
-
]
|
|
2221
|
+
121,
|
|
2222
|
+
];
|
|
2223
|
+
},
|
|
2224
|
+
];
|
|
2225
|
+
};
|
|
2226
|
+
},
|
|
2227
|
+
{
|
|
2228
|
+
name: "program";
|
|
2229
|
+
},
|
|
2230
|
+
];
|
|
2231
|
+
args: [
|
|
2232
|
+
{
|
|
2233
|
+
name: "feeTiers";
|
|
2234
|
+
type: {
|
|
2235
|
+
vec: {
|
|
2236
|
+
defined: {
|
|
2237
|
+
name: "feeTier";
|
|
2238
|
+
};
|
|
2239
|
+
};
|
|
2240
|
+
};
|
|
2241
|
+
},
|
|
2242
|
+
{
|
|
2243
|
+
name: "offset";
|
|
2244
|
+
type: "u8";
|
|
2245
|
+
},
|
|
2246
|
+
];
|
|
2247
|
+
},
|
|
2248
|
+
];
|
|
2249
|
+
accounts: [
|
|
2250
|
+
{
|
|
2251
|
+
name: "bondingCurve";
|
|
2252
|
+
discriminator: [23, 183, 248, 55, 96, 216, 172, 96];
|
|
2253
|
+
},
|
|
2254
|
+
{
|
|
2255
|
+
name: "feeConfig";
|
|
2256
|
+
discriminator: [143, 52, 146, 187, 219, 123, 76, 155];
|
|
2257
|
+
},
|
|
2258
|
+
{
|
|
2259
|
+
name: "feeProgramGlobal";
|
|
2260
|
+
discriminator: [162, 165, 245, 49, 29, 37, 55, 242];
|
|
2261
|
+
},
|
|
2262
|
+
{
|
|
2263
|
+
name: "global";
|
|
2264
|
+
discriminator: [167, 232, 232, 177, 200, 108, 114, 127];
|
|
2265
|
+
},
|
|
2266
|
+
{
|
|
2267
|
+
name: "pool";
|
|
2268
|
+
discriminator: [241, 154, 109, 4, 17, 177, 109, 188];
|
|
2269
|
+
},
|
|
2270
|
+
{
|
|
2271
|
+
name: "sharingConfig";
|
|
2272
|
+
discriminator: [216, 74, 9, 0, 56, 140, 93, 75];
|
|
2273
|
+
},
|
|
2274
|
+
{
|
|
2275
|
+
name: "socialFeePda";
|
|
2276
|
+
discriminator: [139, 96, 53, 17, 42, 169, 206, 150];
|
|
2277
|
+
},
|
|
2278
|
+
];
|
|
2279
|
+
events: [
|
|
2280
|
+
{
|
|
2281
|
+
name: "createFeeSharingConfigEvent";
|
|
2282
|
+
discriminator: [133, 105, 170, 200, 184, 116, 251, 88];
|
|
2283
|
+
},
|
|
2284
|
+
{
|
|
2285
|
+
name: "initializeFeeConfigEvent";
|
|
2286
|
+
discriminator: [89, 138, 244, 230, 10, 56, 226, 126];
|
|
2287
|
+
},
|
|
2288
|
+
{
|
|
2289
|
+
name: "initializeFeeProgramGlobalEvent";
|
|
2290
|
+
discriminator: [40, 233, 156, 78, 95, 0, 8, 199];
|
|
1976
2291
|
},
|
|
1977
2292
|
{
|
|
1978
|
-
|
|
1979
|
-
|
|
1980
|
-
|
|
1981
|
-
|
|
1982
|
-
|
|
1983
|
-
|
|
1984
|
-
|
|
1985
|
-
|
|
1986
|
-
|
|
1987
|
-
|
|
1988
|
-
|
|
1989
|
-
|
|
1990
|
-
|
|
1991
|
-
|
|
2293
|
+
name: "resetFeeSharingConfigEvent";
|
|
2294
|
+
discriminator: [203, 204, 151, 226, 120, 55, 214, 243];
|
|
2295
|
+
},
|
|
2296
|
+
{
|
|
2297
|
+
name: "revokeFeeSharingAuthorityEvent";
|
|
2298
|
+
discriminator: [114, 23, 101, 60, 14, 190, 153, 62];
|
|
2299
|
+
},
|
|
2300
|
+
{
|
|
2301
|
+
name: "setAuthorityEvent";
|
|
2302
|
+
discriminator: [18, 175, 132, 66, 208, 201, 87, 242];
|
|
2303
|
+
},
|
|
2304
|
+
{
|
|
2305
|
+
name: "setClaimRateLimitEvent";
|
|
2306
|
+
discriminator: [13, 143, 143, 235, 181, 19, 51, 40];
|
|
2307
|
+
},
|
|
2308
|
+
{
|
|
2309
|
+
name: "setDisableFlagsEvent";
|
|
2310
|
+
discriminator: [5, 8, 179, 65, 49, 55, 145, 126];
|
|
2311
|
+
},
|
|
2312
|
+
{
|
|
2313
|
+
name: "setSocialClaimAuthorityEvent";
|
|
2314
|
+
discriminator: [60, 118, 127, 132, 239, 52, 254, 14];
|
|
2315
|
+
},
|
|
2316
|
+
{
|
|
2317
|
+
name: "socialFeePdaClaimed";
|
|
2318
|
+
discriminator: [50, 18, 193, 65, 237, 210, 234, 236];
|
|
2319
|
+
},
|
|
2320
|
+
{
|
|
2321
|
+
name: "socialFeePdaCreated";
|
|
2322
|
+
discriminator: [183, 183, 218, 147, 24, 124, 137, 169];
|
|
2323
|
+
},
|
|
2324
|
+
{
|
|
2325
|
+
name: "transferFeeSharingAuthorityEvent";
|
|
2326
|
+
discriminator: [124, 143, 198, 245, 77, 184, 8, 236];
|
|
2327
|
+
},
|
|
2328
|
+
{
|
|
2329
|
+
name: "updateAdminEvent";
|
|
2330
|
+
discriminator: [225, 152, 171, 87, 246, 63, 66, 234];
|
|
2331
|
+
},
|
|
2332
|
+
{
|
|
2333
|
+
name: "updateFeeConfigEvent";
|
|
2334
|
+
discriminator: [90, 23, 65, 35, 62, 244, 188, 208];
|
|
2335
|
+
},
|
|
2336
|
+
{
|
|
2337
|
+
name: "updateFeeSharesEvent";
|
|
2338
|
+
discriminator: [21, 186, 196, 184, 91, 228, 225, 203];
|
|
2339
|
+
},
|
|
2340
|
+
{
|
|
2341
|
+
name: "upsertFeeTiersEvent";
|
|
2342
|
+
discriminator: [171, 89, 169, 187, 122, 186, 33, 204];
|
|
2343
|
+
},
|
|
2344
|
+
];
|
|
2345
|
+
errors: [
|
|
2346
|
+
{
|
|
2347
|
+
code: 6000;
|
|
2348
|
+
name: "unauthorizedProgram";
|
|
2349
|
+
msg: "Only Pump and PumpSwap programs can call this instruction";
|
|
2350
|
+
},
|
|
2351
|
+
{
|
|
2352
|
+
code: 6001;
|
|
2353
|
+
name: "invalidAdmin";
|
|
2354
|
+
msg: "Invalid admin";
|
|
2355
|
+
},
|
|
1992
2356
|
{
|
|
1993
|
-
|
|
1994
|
-
|
|
1995
|
-
|
|
2357
|
+
code: 6002;
|
|
2358
|
+
name: "noFeeTiers";
|
|
2359
|
+
msg: "No fee tiers provided";
|
|
1996
2360
|
},
|
|
1997
2361
|
{
|
|
1998
|
-
|
|
1999
|
-
|
|
2000
|
-
|
|
2362
|
+
code: 6003;
|
|
2363
|
+
name: "tooManyFeeTiers";
|
|
2364
|
+
msg: "format";
|
|
2001
2365
|
},
|
|
2002
2366
|
{
|
|
2003
|
-
|
|
2004
|
-
|
|
2005
|
-
|
|
2367
|
+
code: 6004;
|
|
2368
|
+
name: "offsetNotContinuous";
|
|
2369
|
+
msg: "The offset should be <= fee_config.fee_tiers.len()";
|
|
2006
2370
|
},
|
|
2007
2371
|
{
|
|
2008
|
-
|
|
2009
|
-
|
|
2010
|
-
|
|
2372
|
+
code: 6005;
|
|
2373
|
+
name: "feeTiersNotSorted";
|
|
2374
|
+
msg: "Fee tiers must be sorted by market cap threshold (ascending)";
|
|
2011
2375
|
},
|
|
2012
2376
|
{
|
|
2013
|
-
|
|
2014
|
-
|
|
2015
|
-
|
|
2377
|
+
code: 6006;
|
|
2378
|
+
name: "invalidFeeTotal";
|
|
2379
|
+
msg: "Fee total must not exceed 10_000bps";
|
|
2016
2380
|
},
|
|
2017
2381
|
{
|
|
2018
|
-
|
|
2019
|
-
|
|
2020
|
-
|
|
2382
|
+
code: 6007;
|
|
2383
|
+
name: "invalidSharingConfig";
|
|
2384
|
+
msg: "Invalid Sharing Config";
|
|
2021
2385
|
},
|
|
2022
2386
|
{
|
|
2023
|
-
|
|
2024
|
-
|
|
2025
|
-
|
|
2387
|
+
code: 6008;
|
|
2388
|
+
name: "invalidPool";
|
|
2389
|
+
msg: "Invalid Pool";
|
|
2026
2390
|
},
|
|
2027
2391
|
{
|
|
2028
|
-
|
|
2029
|
-
|
|
2030
|
-
|
|
2392
|
+
code: 6009;
|
|
2393
|
+
name: "sharingConfigAdminRevoked";
|
|
2394
|
+
msg: "Sharing config admin has been revoked";
|
|
2031
2395
|
},
|
|
2032
2396
|
{
|
|
2033
|
-
|
|
2034
|
-
|
|
2035
|
-
|
|
2397
|
+
code: 6010;
|
|
2398
|
+
name: "noShareholders";
|
|
2399
|
+
msg: "No shareholders provided";
|
|
2036
2400
|
},
|
|
2037
2401
|
{
|
|
2038
|
-
|
|
2039
|
-
|
|
2040
|
-
|
|
2402
|
+
code: 6011;
|
|
2403
|
+
name: "tooManyShareholders";
|
|
2404
|
+
msg: "format";
|
|
2041
2405
|
},
|
|
2042
2406
|
{
|
|
2043
|
-
|
|
2044
|
-
|
|
2045
|
-
|
|
2407
|
+
code: 6012;
|
|
2408
|
+
name: "duplicateShareholder";
|
|
2409
|
+
msg: "Duplicate shareholder address";
|
|
2046
2410
|
},
|
|
2047
2411
|
{
|
|
2048
|
-
|
|
2049
|
-
|
|
2050
|
-
|
|
2412
|
+
code: 6013;
|
|
2413
|
+
name: "notEnoughRemainingAccounts";
|
|
2414
|
+
msg: "Not enough remaining accounts";
|
|
2051
2415
|
},
|
|
2052
2416
|
{
|
|
2053
|
-
|
|
2054
|
-
|
|
2055
|
-
|
|
2417
|
+
code: 6014;
|
|
2418
|
+
name: "invalidShareTotal";
|
|
2419
|
+
msg: "Invalid share total - must equal 10_000 basis points";
|
|
2056
2420
|
},
|
|
2057
2421
|
{
|
|
2058
|
-
|
|
2059
|
-
|
|
2060
|
-
|
|
2422
|
+
code: 6015;
|
|
2423
|
+
name: "shareCalculationOverflow";
|
|
2424
|
+
msg: "Share calculation overflow";
|
|
2061
2425
|
},
|
|
2062
2426
|
{
|
|
2063
|
-
|
|
2064
|
-
|
|
2065
|
-
|
|
2427
|
+
code: 6016;
|
|
2428
|
+
name: "notAuthorized";
|
|
2429
|
+
msg: "The given account is not authorized to execute this instruction.";
|
|
2066
2430
|
},
|
|
2067
2431
|
{
|
|
2068
|
-
|
|
2069
|
-
|
|
2070
|
-
|
|
2432
|
+
code: 6017;
|
|
2433
|
+
name: "zeroShareNotAllowed";
|
|
2434
|
+
msg: "Shareholder cannot have zero share";
|
|
2071
2435
|
},
|
|
2072
2436
|
{
|
|
2073
|
-
|
|
2074
|
-
|
|
2075
|
-
|
|
2437
|
+
code: 6018;
|
|
2438
|
+
name: "sharingConfigNotActive";
|
|
2439
|
+
msg: "Fee sharing config is not active";
|
|
2076
2440
|
},
|
|
2077
2441
|
{
|
|
2078
|
-
|
|
2079
|
-
|
|
2080
|
-
|
|
2442
|
+
code: 6019;
|
|
2443
|
+
name: "ammAccountsRequiredForGraduatedCoin";
|
|
2444
|
+
msg: "AMM accounts are required for graduated coins";
|
|
2081
2445
|
},
|
|
2082
2446
|
{
|
|
2083
|
-
|
|
2084
|
-
|
|
2085
|
-
|
|
2447
|
+
code: 6020;
|
|
2448
|
+
name: "shareholderAccountMismatch";
|
|
2449
|
+
msg: "Remaining account key doesn't match shareholder address";
|
|
2086
2450
|
},
|
|
2087
2451
|
{
|
|
2088
|
-
|
|
2089
|
-
|
|
2090
|
-
|
|
2452
|
+
code: 6021;
|
|
2453
|
+
name: "featureDeactivated";
|
|
2454
|
+
msg: "Feature is currently deactivated";
|
|
2091
2455
|
},
|
|
2092
2456
|
{
|
|
2093
|
-
|
|
2094
|
-
|
|
2095
|
-
|
|
2096
|
-
}
|
|
2097
|
-
]
|
|
2098
|
-
|
|
2457
|
+
code: 6022;
|
|
2458
|
+
name: "userIdTooLong";
|
|
2459
|
+
msg: "User ID exceeds maximum length";
|
|
2460
|
+
},
|
|
2461
|
+
];
|
|
2462
|
+
types: [
|
|
2099
2463
|
{
|
|
2100
|
-
|
|
2101
|
-
|
|
2102
|
-
|
|
2103
|
-
|
|
2464
|
+
name: "bondingCurve";
|
|
2465
|
+
type: {
|
|
2466
|
+
kind: "struct";
|
|
2467
|
+
fields: [
|
|
2104
2468
|
{
|
|
2105
|
-
|
|
2106
|
-
|
|
2469
|
+
name: "virtualTokenReserves";
|
|
2470
|
+
type: "u64";
|
|
2107
2471
|
},
|
|
2108
2472
|
{
|
|
2109
|
-
|
|
2110
|
-
|
|
2473
|
+
name: "virtualSolReserves";
|
|
2474
|
+
type: "u64";
|
|
2111
2475
|
},
|
|
2112
2476
|
{
|
|
2113
|
-
|
|
2114
|
-
|
|
2477
|
+
name: "realTokenReserves";
|
|
2478
|
+
type: "u64";
|
|
2115
2479
|
},
|
|
2116
2480
|
{
|
|
2117
|
-
|
|
2118
|
-
|
|
2481
|
+
name: "realSolReserves";
|
|
2482
|
+
type: "u64";
|
|
2119
2483
|
},
|
|
2120
2484
|
{
|
|
2121
|
-
|
|
2122
|
-
|
|
2485
|
+
name: "tokenTotalSupply";
|
|
2486
|
+
type: "u64";
|
|
2123
2487
|
},
|
|
2124
2488
|
{
|
|
2125
|
-
|
|
2126
|
-
|
|
2489
|
+
name: "complete";
|
|
2490
|
+
type: "bool";
|
|
2127
2491
|
},
|
|
2128
2492
|
{
|
|
2129
|
-
|
|
2130
|
-
|
|
2493
|
+
name: "creator";
|
|
2494
|
+
type: "pubkey";
|
|
2131
2495
|
},
|
|
2132
2496
|
{
|
|
2133
|
-
|
|
2134
|
-
|
|
2135
|
-
}
|
|
2136
|
-
]
|
|
2137
|
-
}
|
|
2497
|
+
name: "isMayhemMode";
|
|
2498
|
+
type: "bool";
|
|
2499
|
+
},
|
|
2500
|
+
];
|
|
2501
|
+
};
|
|
2138
2502
|
},
|
|
2139
2503
|
{
|
|
2140
|
-
|
|
2141
|
-
|
|
2142
|
-
|
|
2143
|
-
|
|
2504
|
+
name: "configStatus";
|
|
2505
|
+
type: {
|
|
2506
|
+
kind: "enum";
|
|
2507
|
+
variants: [
|
|
2144
2508
|
{
|
|
2145
|
-
|
|
2509
|
+
name: "paused";
|
|
2146
2510
|
},
|
|
2147
2511
|
{
|
|
2148
|
-
|
|
2149
|
-
}
|
|
2150
|
-
]
|
|
2151
|
-
}
|
|
2512
|
+
name: "active";
|
|
2513
|
+
},
|
|
2514
|
+
];
|
|
2515
|
+
};
|
|
2152
2516
|
},
|
|
2153
2517
|
{
|
|
2154
|
-
|
|
2155
|
-
|
|
2156
|
-
|
|
2157
|
-
|
|
2518
|
+
name: "createFeeSharingConfigEvent";
|
|
2519
|
+
type: {
|
|
2520
|
+
kind: "struct";
|
|
2521
|
+
fields: [
|
|
2158
2522
|
{
|
|
2159
|
-
|
|
2160
|
-
|
|
2523
|
+
name: "timestamp";
|
|
2524
|
+
type: "i64";
|
|
2161
2525
|
},
|
|
2162
2526
|
{
|
|
2163
|
-
|
|
2164
|
-
|
|
2527
|
+
name: "mint";
|
|
2528
|
+
type: "pubkey";
|
|
2165
2529
|
},
|
|
2166
2530
|
{
|
|
2167
|
-
|
|
2168
|
-
|
|
2531
|
+
name: "bondingCurve";
|
|
2532
|
+
type: "pubkey";
|
|
2169
2533
|
},
|
|
2170
2534
|
{
|
|
2171
|
-
|
|
2172
|
-
|
|
2173
|
-
|
|
2174
|
-
}
|
|
2535
|
+
name: "pool";
|
|
2536
|
+
type: {
|
|
2537
|
+
option: "pubkey";
|
|
2538
|
+
};
|
|
2175
2539
|
},
|
|
2176
2540
|
{
|
|
2177
|
-
|
|
2178
|
-
|
|
2541
|
+
name: "sharingConfig";
|
|
2542
|
+
type: "pubkey";
|
|
2179
2543
|
},
|
|
2180
2544
|
{
|
|
2181
|
-
|
|
2182
|
-
|
|
2545
|
+
name: "admin";
|
|
2546
|
+
type: "pubkey";
|
|
2183
2547
|
},
|
|
2184
2548
|
{
|
|
2185
|
-
|
|
2186
|
-
|
|
2187
|
-
|
|
2188
|
-
|
|
2189
|
-
|
|
2190
|
-
}
|
|
2191
|
-
}
|
|
2192
|
-
}
|
|
2549
|
+
name: "initialShareholders";
|
|
2550
|
+
type: {
|
|
2551
|
+
vec: {
|
|
2552
|
+
defined: {
|
|
2553
|
+
name: "shareholder";
|
|
2554
|
+
};
|
|
2555
|
+
};
|
|
2556
|
+
};
|
|
2193
2557
|
},
|
|
2194
2558
|
{
|
|
2195
|
-
|
|
2196
|
-
|
|
2197
|
-
|
|
2198
|
-
|
|
2199
|
-
}
|
|
2200
|
-
}
|
|
2201
|
-
}
|
|
2202
|
-
]
|
|
2203
|
-
}
|
|
2559
|
+
name: "status";
|
|
2560
|
+
type: {
|
|
2561
|
+
defined: {
|
|
2562
|
+
name: "configStatus";
|
|
2563
|
+
};
|
|
2564
|
+
};
|
|
2565
|
+
},
|
|
2566
|
+
];
|
|
2567
|
+
};
|
|
2568
|
+
},
|
|
2569
|
+
{
|
|
2570
|
+
name: "feeConfig";
|
|
2571
|
+
type: {
|
|
2572
|
+
kind: "struct";
|
|
2573
|
+
fields: [
|
|
2574
|
+
{
|
|
2575
|
+
name: "bump";
|
|
2576
|
+
docs: ["The bump for the PDA"];
|
|
2577
|
+
type: "u8";
|
|
2578
|
+
},
|
|
2579
|
+
{
|
|
2580
|
+
name: "admin";
|
|
2581
|
+
docs: ["The admin account that can update the fee config"];
|
|
2582
|
+
type: "pubkey";
|
|
2583
|
+
},
|
|
2584
|
+
{
|
|
2585
|
+
name: "flatFees";
|
|
2586
|
+
docs: ["The flat fees for non-pump pools"];
|
|
2587
|
+
type: {
|
|
2588
|
+
defined: {
|
|
2589
|
+
name: "fees";
|
|
2590
|
+
};
|
|
2591
|
+
};
|
|
2592
|
+
},
|
|
2593
|
+
{
|
|
2594
|
+
name: "feeTiers";
|
|
2595
|
+
docs: ["The fee tiers"];
|
|
2596
|
+
type: {
|
|
2597
|
+
vec: {
|
|
2598
|
+
defined: {
|
|
2599
|
+
name: "feeTier";
|
|
2600
|
+
};
|
|
2601
|
+
};
|
|
2602
|
+
};
|
|
2603
|
+
},
|
|
2604
|
+
];
|
|
2605
|
+
};
|
|
2204
2606
|
},
|
|
2205
2607
|
{
|
|
2206
|
-
|
|
2207
|
-
|
|
2208
|
-
|
|
2209
|
-
|
|
2608
|
+
name: "feeProgramGlobal";
|
|
2609
|
+
type: {
|
|
2610
|
+
kind: "struct";
|
|
2611
|
+
fields: [
|
|
2612
|
+
{
|
|
2613
|
+
name: "bump";
|
|
2614
|
+
type: "u8";
|
|
2615
|
+
},
|
|
2616
|
+
{
|
|
2617
|
+
name: "authority";
|
|
2618
|
+
type: "pubkey";
|
|
2619
|
+
},
|
|
2210
2620
|
{
|
|
2211
|
-
|
|
2212
|
-
"
|
|
2213
|
-
"The bump for the PDA"
|
|
2214
|
-
],
|
|
2215
|
-
"type": "u8"
|
|
2621
|
+
name: "disableFlags";
|
|
2622
|
+
type: "u8";
|
|
2216
2623
|
},
|
|
2217
2624
|
{
|
|
2218
|
-
|
|
2219
|
-
"
|
|
2220
|
-
"The admin account that can update the fee config"
|
|
2221
|
-
],
|
|
2222
|
-
"type": "pubkey"
|
|
2625
|
+
name: "socialClaimAuthority";
|
|
2626
|
+
type: "pubkey";
|
|
2223
2627
|
},
|
|
2224
2628
|
{
|
|
2225
|
-
|
|
2226
|
-
"
|
|
2227
|
-
"The flat fees for non-pump pools"
|
|
2228
|
-
],
|
|
2229
|
-
"type": {
|
|
2230
|
-
"defined": {
|
|
2231
|
-
"name": "fees"
|
|
2232
|
-
}
|
|
2233
|
-
}
|
|
2629
|
+
name: "claimRateLimit";
|
|
2630
|
+
type: "u64";
|
|
2234
2631
|
},
|
|
2235
2632
|
{
|
|
2236
|
-
|
|
2237
|
-
|
|
2238
|
-
"
|
|
2239
|
-
|
|
2240
|
-
|
|
2241
|
-
|
|
2242
|
-
|
|
2243
|
-
"name": "feeTier"
|
|
2244
|
-
}
|
|
2245
|
-
}
|
|
2246
|
-
}
|
|
2247
|
-
}
|
|
2248
|
-
]
|
|
2249
|
-
}
|
|
2633
|
+
name: "reserved";
|
|
2634
|
+
type: {
|
|
2635
|
+
array: ["u8", 256];
|
|
2636
|
+
};
|
|
2637
|
+
},
|
|
2638
|
+
];
|
|
2639
|
+
};
|
|
2250
2640
|
},
|
|
2251
2641
|
{
|
|
2252
|
-
|
|
2253
|
-
|
|
2254
|
-
|
|
2255
|
-
|
|
2642
|
+
name: "feeTier";
|
|
2643
|
+
type: {
|
|
2644
|
+
kind: "struct";
|
|
2645
|
+
fields: [
|
|
2256
2646
|
{
|
|
2257
|
-
|
|
2258
|
-
|
|
2647
|
+
name: "marketCapLamportsThreshold";
|
|
2648
|
+
type: "u128";
|
|
2259
2649
|
},
|
|
2260
2650
|
{
|
|
2261
|
-
|
|
2262
|
-
|
|
2263
|
-
|
|
2264
|
-
|
|
2265
|
-
}
|
|
2266
|
-
}
|
|
2267
|
-
}
|
|
2268
|
-
]
|
|
2269
|
-
}
|
|
2651
|
+
name: "fees";
|
|
2652
|
+
type: {
|
|
2653
|
+
defined: {
|
|
2654
|
+
name: "fees";
|
|
2655
|
+
};
|
|
2656
|
+
};
|
|
2657
|
+
},
|
|
2658
|
+
];
|
|
2659
|
+
};
|
|
2270
2660
|
},
|
|
2271
2661
|
{
|
|
2272
|
-
|
|
2273
|
-
|
|
2274
|
-
|
|
2275
|
-
|
|
2662
|
+
name: "fees";
|
|
2663
|
+
type: {
|
|
2664
|
+
kind: "struct";
|
|
2665
|
+
fields: [
|
|
2276
2666
|
{
|
|
2277
|
-
|
|
2278
|
-
|
|
2667
|
+
name: "lpFeeBps";
|
|
2668
|
+
type: "u64";
|
|
2279
2669
|
},
|
|
2280
2670
|
{
|
|
2281
|
-
|
|
2282
|
-
|
|
2671
|
+
name: "protocolFeeBps";
|
|
2672
|
+
type: "u64";
|
|
2283
2673
|
},
|
|
2284
2674
|
{
|
|
2285
|
-
|
|
2286
|
-
|
|
2287
|
-
}
|
|
2288
|
-
]
|
|
2289
|
-
}
|
|
2675
|
+
name: "creatorFeeBps";
|
|
2676
|
+
type: "u64";
|
|
2677
|
+
},
|
|
2678
|
+
];
|
|
2679
|
+
};
|
|
2290
2680
|
},
|
|
2291
2681
|
{
|
|
2292
|
-
|
|
2293
|
-
|
|
2294
|
-
|
|
2295
|
-
|
|
2682
|
+
name: "global";
|
|
2683
|
+
type: {
|
|
2684
|
+
kind: "struct";
|
|
2685
|
+
fields: [
|
|
2686
|
+
{
|
|
2687
|
+
name: "initialized";
|
|
2688
|
+
type: "bool";
|
|
2689
|
+
},
|
|
2690
|
+
{
|
|
2691
|
+
name: "authority";
|
|
2692
|
+
type: "pubkey";
|
|
2693
|
+
},
|
|
2694
|
+
{
|
|
2695
|
+
name: "feeRecipient";
|
|
2696
|
+
type: "pubkey";
|
|
2697
|
+
},
|
|
2698
|
+
{
|
|
2699
|
+
name: "initialVirtualTokenReserves";
|
|
2700
|
+
type: "u64";
|
|
2701
|
+
},
|
|
2702
|
+
{
|
|
2703
|
+
name: "initialVirtualSolReserves";
|
|
2704
|
+
type: "u64";
|
|
2705
|
+
},
|
|
2706
|
+
{
|
|
2707
|
+
name: "initialRealTokenReserves";
|
|
2708
|
+
type: "u64";
|
|
2709
|
+
},
|
|
2710
|
+
{
|
|
2711
|
+
name: "tokenTotalSupply";
|
|
2712
|
+
type: "u64";
|
|
2713
|
+
},
|
|
2296
2714
|
{
|
|
2297
|
-
|
|
2298
|
-
|
|
2715
|
+
name: "feeBasisPoints";
|
|
2716
|
+
type: "u64";
|
|
2299
2717
|
},
|
|
2300
2718
|
{
|
|
2301
|
-
|
|
2302
|
-
|
|
2719
|
+
name: "withdrawAuthority";
|
|
2720
|
+
type: "pubkey";
|
|
2303
2721
|
},
|
|
2304
2722
|
{
|
|
2305
|
-
|
|
2306
|
-
|
|
2723
|
+
name: "enableMigrate";
|
|
2724
|
+
type: "bool";
|
|
2307
2725
|
},
|
|
2308
2726
|
{
|
|
2309
|
-
|
|
2310
|
-
|
|
2727
|
+
name: "poolMigrationFee";
|
|
2728
|
+
type: "u64";
|
|
2311
2729
|
},
|
|
2312
2730
|
{
|
|
2313
|
-
|
|
2314
|
-
|
|
2731
|
+
name: "creatorFeeBasisPoints";
|
|
2732
|
+
type: "u64";
|
|
2315
2733
|
},
|
|
2316
2734
|
{
|
|
2317
|
-
|
|
2318
|
-
|
|
2735
|
+
name: "feeRecipients";
|
|
2736
|
+
type: {
|
|
2737
|
+
array: ["pubkey", 7];
|
|
2738
|
+
};
|
|
2319
2739
|
},
|
|
2320
2740
|
{
|
|
2321
|
-
|
|
2322
|
-
|
|
2741
|
+
name: "setCreatorAuthority";
|
|
2742
|
+
type: "pubkey";
|
|
2323
2743
|
},
|
|
2324
2744
|
{
|
|
2325
|
-
|
|
2326
|
-
|
|
2745
|
+
name: "adminSetCreatorAuthority";
|
|
2746
|
+
type: "pubkey";
|
|
2327
2747
|
},
|
|
2328
2748
|
{
|
|
2329
|
-
|
|
2330
|
-
|
|
2749
|
+
name: "createV2Enabled";
|
|
2750
|
+
type: "bool";
|
|
2331
2751
|
},
|
|
2332
2752
|
{
|
|
2333
|
-
|
|
2334
|
-
|
|
2753
|
+
name: "whitelistPda";
|
|
2754
|
+
type: "pubkey";
|
|
2335
2755
|
},
|
|
2336
2756
|
{
|
|
2337
|
-
|
|
2338
|
-
|
|
2757
|
+
name: "reservedFeeRecipient";
|
|
2758
|
+
type: "pubkey";
|
|
2339
2759
|
},
|
|
2340
2760
|
{
|
|
2341
|
-
|
|
2342
|
-
|
|
2761
|
+
name: "mayhemModeEnabled";
|
|
2762
|
+
type: "bool";
|
|
2343
2763
|
},
|
|
2344
2764
|
{
|
|
2345
|
-
|
|
2346
|
-
|
|
2347
|
-
|
|
2348
|
-
|
|
2349
|
-
|
|
2350
|
-
|
|
2351
|
-
|
|
2765
|
+
name: "reservedFeeRecipients";
|
|
2766
|
+
type: {
|
|
2767
|
+
array: ["pubkey", 7];
|
|
2768
|
+
};
|
|
2769
|
+
},
|
|
2770
|
+
];
|
|
2771
|
+
};
|
|
2772
|
+
},
|
|
2773
|
+
{
|
|
2774
|
+
name: "initializeFeeConfigEvent";
|
|
2775
|
+
type: {
|
|
2776
|
+
kind: "struct";
|
|
2777
|
+
fields: [
|
|
2778
|
+
{
|
|
2779
|
+
name: "timestamp";
|
|
2780
|
+
type: "i64";
|
|
2352
2781
|
},
|
|
2353
2782
|
{
|
|
2354
|
-
|
|
2355
|
-
|
|
2783
|
+
name: "admin";
|
|
2784
|
+
type: "pubkey";
|
|
2356
2785
|
},
|
|
2357
2786
|
{
|
|
2358
|
-
|
|
2359
|
-
|
|
2787
|
+
name: "feeConfig";
|
|
2788
|
+
type: "pubkey";
|
|
2360
2789
|
},
|
|
2790
|
+
];
|
|
2791
|
+
};
|
|
2792
|
+
},
|
|
2793
|
+
{
|
|
2794
|
+
name: "initializeFeeProgramGlobalEvent";
|
|
2795
|
+
type: {
|
|
2796
|
+
kind: "struct";
|
|
2797
|
+
fields: [
|
|
2361
2798
|
{
|
|
2362
|
-
|
|
2363
|
-
|
|
2799
|
+
name: "timestamp";
|
|
2800
|
+
type: "i64";
|
|
2364
2801
|
},
|
|
2365
2802
|
{
|
|
2366
|
-
|
|
2367
|
-
|
|
2803
|
+
name: "authority";
|
|
2804
|
+
type: "pubkey";
|
|
2368
2805
|
},
|
|
2369
2806
|
{
|
|
2370
|
-
|
|
2371
|
-
|
|
2807
|
+
name: "socialClaimAuthority";
|
|
2808
|
+
type: "pubkey";
|
|
2372
2809
|
},
|
|
2373
2810
|
{
|
|
2374
|
-
|
|
2375
|
-
|
|
2811
|
+
name: "disableFlags";
|
|
2812
|
+
type: "u8";
|
|
2376
2813
|
},
|
|
2377
2814
|
{
|
|
2378
|
-
|
|
2379
|
-
|
|
2380
|
-
|
|
2381
|
-
|
|
2382
|
-
|
|
2383
|
-
]
|
|
2384
|
-
}
|
|
2385
|
-
}
|
|
2386
|
-
]
|
|
2387
|
-
}
|
|
2815
|
+
name: "claimRateLimit";
|
|
2816
|
+
type: "u64";
|
|
2817
|
+
},
|
|
2818
|
+
];
|
|
2819
|
+
};
|
|
2388
2820
|
},
|
|
2389
2821
|
{
|
|
2390
|
-
|
|
2391
|
-
|
|
2392
|
-
|
|
2393
|
-
|
|
2822
|
+
name: "pool";
|
|
2823
|
+
type: {
|
|
2824
|
+
kind: "struct";
|
|
2825
|
+
fields: [
|
|
2826
|
+
{
|
|
2827
|
+
name: "poolBump";
|
|
2828
|
+
type: "u8";
|
|
2829
|
+
},
|
|
2830
|
+
{
|
|
2831
|
+
name: "index";
|
|
2832
|
+
type: "u16";
|
|
2833
|
+
},
|
|
2834
|
+
{
|
|
2835
|
+
name: "creator";
|
|
2836
|
+
type: "pubkey";
|
|
2837
|
+
},
|
|
2838
|
+
{
|
|
2839
|
+
name: "baseMint";
|
|
2840
|
+
type: "pubkey";
|
|
2841
|
+
},
|
|
2842
|
+
{
|
|
2843
|
+
name: "quoteMint";
|
|
2844
|
+
type: "pubkey";
|
|
2845
|
+
},
|
|
2846
|
+
{
|
|
2847
|
+
name: "lpMint";
|
|
2848
|
+
type: "pubkey";
|
|
2849
|
+
},
|
|
2850
|
+
{
|
|
2851
|
+
name: "poolBaseTokenAccount";
|
|
2852
|
+
type: "pubkey";
|
|
2853
|
+
},
|
|
2854
|
+
{
|
|
2855
|
+
name: "poolQuoteTokenAccount";
|
|
2856
|
+
type: "pubkey";
|
|
2857
|
+
},
|
|
2394
2858
|
{
|
|
2395
|
-
|
|
2396
|
-
|
|
2859
|
+
name: "lpSupply";
|
|
2860
|
+
type: "u64";
|
|
2397
2861
|
},
|
|
2398
2862
|
{
|
|
2399
|
-
|
|
2400
|
-
|
|
2863
|
+
name: "coinCreator";
|
|
2864
|
+
type: "pubkey";
|
|
2401
2865
|
},
|
|
2402
2866
|
{
|
|
2403
|
-
|
|
2404
|
-
|
|
2405
|
-
}
|
|
2406
|
-
]
|
|
2407
|
-
}
|
|
2867
|
+
name: "isMayhemMode";
|
|
2868
|
+
type: "bool";
|
|
2869
|
+
},
|
|
2870
|
+
];
|
|
2871
|
+
};
|
|
2408
2872
|
},
|
|
2409
2873
|
{
|
|
2410
|
-
|
|
2411
|
-
|
|
2412
|
-
|
|
2413
|
-
|
|
2874
|
+
name: "resetFeeSharingConfigEvent";
|
|
2875
|
+
type: {
|
|
2876
|
+
kind: "struct";
|
|
2877
|
+
fields: [
|
|
2414
2878
|
{
|
|
2415
|
-
|
|
2416
|
-
|
|
2879
|
+
name: "timestamp";
|
|
2880
|
+
type: "i64";
|
|
2417
2881
|
},
|
|
2418
2882
|
{
|
|
2419
|
-
|
|
2420
|
-
|
|
2883
|
+
name: "mint";
|
|
2884
|
+
type: "pubkey";
|
|
2421
2885
|
},
|
|
2422
2886
|
{
|
|
2423
|
-
|
|
2424
|
-
|
|
2887
|
+
name: "sharingConfig";
|
|
2888
|
+
type: "pubkey";
|
|
2425
2889
|
},
|
|
2426
2890
|
{
|
|
2427
|
-
|
|
2428
|
-
|
|
2891
|
+
name: "oldAdmin";
|
|
2892
|
+
type: "pubkey";
|
|
2429
2893
|
},
|
|
2430
2894
|
{
|
|
2431
|
-
|
|
2432
|
-
|
|
2895
|
+
name: "oldShareholders";
|
|
2896
|
+
type: {
|
|
2897
|
+
vec: {
|
|
2898
|
+
defined: {
|
|
2899
|
+
name: "shareholder";
|
|
2900
|
+
};
|
|
2901
|
+
};
|
|
2902
|
+
};
|
|
2903
|
+
},
|
|
2904
|
+
{
|
|
2905
|
+
name: "newAdmin";
|
|
2906
|
+
type: "pubkey";
|
|
2907
|
+
},
|
|
2908
|
+
{
|
|
2909
|
+
name: "newShareholders";
|
|
2910
|
+
type: {
|
|
2911
|
+
vec: {
|
|
2912
|
+
defined: {
|
|
2913
|
+
name: "shareholder";
|
|
2914
|
+
};
|
|
2915
|
+
};
|
|
2916
|
+
};
|
|
2917
|
+
},
|
|
2918
|
+
];
|
|
2919
|
+
};
|
|
2920
|
+
},
|
|
2921
|
+
{
|
|
2922
|
+
name: "revokeFeeSharingAuthorityEvent";
|
|
2923
|
+
type: {
|
|
2924
|
+
kind: "struct";
|
|
2925
|
+
fields: [
|
|
2926
|
+
{
|
|
2927
|
+
name: "timestamp";
|
|
2928
|
+
type: "i64";
|
|
2433
2929
|
},
|
|
2434
2930
|
{
|
|
2435
|
-
|
|
2436
|
-
|
|
2931
|
+
name: "mint";
|
|
2932
|
+
type: "pubkey";
|
|
2437
2933
|
},
|
|
2438
2934
|
{
|
|
2439
|
-
|
|
2440
|
-
|
|
2935
|
+
name: "sharingConfig";
|
|
2936
|
+
type: "pubkey";
|
|
2441
2937
|
},
|
|
2442
2938
|
{
|
|
2443
|
-
|
|
2444
|
-
|
|
2939
|
+
name: "admin";
|
|
2940
|
+
type: "pubkey";
|
|
2445
2941
|
},
|
|
2942
|
+
];
|
|
2943
|
+
};
|
|
2944
|
+
},
|
|
2945
|
+
{
|
|
2946
|
+
name: "setAuthorityEvent";
|
|
2947
|
+
type: {
|
|
2948
|
+
kind: "struct";
|
|
2949
|
+
fields: [
|
|
2446
2950
|
{
|
|
2447
|
-
|
|
2448
|
-
|
|
2951
|
+
name: "timestamp";
|
|
2952
|
+
type: "i64";
|
|
2449
2953
|
},
|
|
2450
2954
|
{
|
|
2451
|
-
|
|
2452
|
-
|
|
2955
|
+
name: "oldAuthority";
|
|
2956
|
+
type: "pubkey";
|
|
2453
2957
|
},
|
|
2454
2958
|
{
|
|
2455
|
-
|
|
2456
|
-
|
|
2457
|
-
}
|
|
2458
|
-
]
|
|
2459
|
-
}
|
|
2959
|
+
name: "newAuthority";
|
|
2960
|
+
type: "pubkey";
|
|
2961
|
+
},
|
|
2962
|
+
];
|
|
2963
|
+
};
|
|
2460
2964
|
},
|
|
2461
2965
|
{
|
|
2462
|
-
|
|
2463
|
-
|
|
2464
|
-
|
|
2465
|
-
|
|
2966
|
+
name: "setClaimRateLimitEvent";
|
|
2967
|
+
type: {
|
|
2968
|
+
kind: "struct";
|
|
2969
|
+
fields: [
|
|
2970
|
+
{
|
|
2971
|
+
name: "timestamp";
|
|
2972
|
+
type: "i64";
|
|
2973
|
+
},
|
|
2466
2974
|
{
|
|
2467
|
-
|
|
2468
|
-
|
|
2975
|
+
name: "claimRateLimit";
|
|
2976
|
+
type: "u64";
|
|
2469
2977
|
},
|
|
2978
|
+
];
|
|
2979
|
+
};
|
|
2980
|
+
},
|
|
2981
|
+
{
|
|
2982
|
+
name: "setDisableFlagsEvent";
|
|
2983
|
+
type: {
|
|
2984
|
+
kind: "struct";
|
|
2985
|
+
fields: [
|
|
2470
2986
|
{
|
|
2471
|
-
|
|
2472
|
-
|
|
2987
|
+
name: "timestamp";
|
|
2988
|
+
type: "i64";
|
|
2473
2989
|
},
|
|
2474
2990
|
{
|
|
2475
|
-
|
|
2476
|
-
|
|
2991
|
+
name: "disableFlags";
|
|
2992
|
+
type: "u8";
|
|
2477
2993
|
},
|
|
2994
|
+
];
|
|
2995
|
+
};
|
|
2996
|
+
},
|
|
2997
|
+
{
|
|
2998
|
+
name: "setSocialClaimAuthorityEvent";
|
|
2999
|
+
type: {
|
|
3000
|
+
kind: "struct";
|
|
3001
|
+
fields: [
|
|
2478
3002
|
{
|
|
2479
|
-
|
|
2480
|
-
|
|
3003
|
+
name: "timestamp";
|
|
3004
|
+
type: "i64";
|
|
2481
3005
|
},
|
|
2482
3006
|
{
|
|
2483
|
-
|
|
2484
|
-
|
|
2485
|
-
"vec": {
|
|
2486
|
-
"defined": {
|
|
2487
|
-
"name": "shareholder"
|
|
2488
|
-
}
|
|
2489
|
-
}
|
|
2490
|
-
}
|
|
3007
|
+
name: "socialClaimAuthority";
|
|
3008
|
+
type: "pubkey";
|
|
2491
3009
|
},
|
|
3010
|
+
];
|
|
3011
|
+
};
|
|
3012
|
+
},
|
|
3013
|
+
{
|
|
3014
|
+
name: "shareholder";
|
|
3015
|
+
type: {
|
|
3016
|
+
kind: "struct";
|
|
3017
|
+
fields: [
|
|
2492
3018
|
{
|
|
2493
|
-
|
|
2494
|
-
|
|
3019
|
+
name: "address";
|
|
3020
|
+
type: "pubkey";
|
|
2495
3021
|
},
|
|
2496
3022
|
{
|
|
2497
|
-
|
|
2498
|
-
|
|
2499
|
-
|
|
2500
|
-
|
|
2501
|
-
|
|
2502
|
-
}
|
|
2503
|
-
}
|
|
2504
|
-
}
|
|
2505
|
-
}
|
|
2506
|
-
]
|
|
2507
|
-
}
|
|
3023
|
+
name: "shareBps";
|
|
3024
|
+
type: "u16";
|
|
3025
|
+
},
|
|
3026
|
+
];
|
|
3027
|
+
};
|
|
2508
3028
|
},
|
|
2509
3029
|
{
|
|
2510
|
-
|
|
2511
|
-
|
|
2512
|
-
|
|
2513
|
-
|
|
3030
|
+
name: "sharingConfig";
|
|
3031
|
+
type: {
|
|
3032
|
+
kind: "struct";
|
|
3033
|
+
fields: [
|
|
3034
|
+
{
|
|
3035
|
+
name: "bump";
|
|
3036
|
+
type: "u8";
|
|
3037
|
+
},
|
|
3038
|
+
{
|
|
3039
|
+
name: "version";
|
|
3040
|
+
type: "u8";
|
|
3041
|
+
},
|
|
2514
3042
|
{
|
|
2515
|
-
|
|
2516
|
-
|
|
3043
|
+
name: "status";
|
|
3044
|
+
type: {
|
|
3045
|
+
defined: {
|
|
3046
|
+
name: "configStatus";
|
|
3047
|
+
};
|
|
3048
|
+
};
|
|
2517
3049
|
},
|
|
2518
3050
|
{
|
|
2519
|
-
|
|
2520
|
-
|
|
3051
|
+
name: "mint";
|
|
3052
|
+
type: "pubkey";
|
|
2521
3053
|
},
|
|
2522
3054
|
{
|
|
2523
|
-
|
|
2524
|
-
|
|
3055
|
+
name: "admin";
|
|
3056
|
+
type: "pubkey";
|
|
2525
3057
|
},
|
|
2526
3058
|
{
|
|
2527
|
-
|
|
2528
|
-
|
|
2529
|
-
}
|
|
2530
|
-
|
|
2531
|
-
|
|
3059
|
+
name: "adminRevoked";
|
|
3060
|
+
type: "bool";
|
|
3061
|
+
},
|
|
3062
|
+
{
|
|
3063
|
+
name: "shareholders";
|
|
3064
|
+
type: {
|
|
3065
|
+
vec: {
|
|
3066
|
+
defined: {
|
|
3067
|
+
name: "shareholder";
|
|
3068
|
+
};
|
|
3069
|
+
};
|
|
3070
|
+
};
|
|
3071
|
+
},
|
|
3072
|
+
];
|
|
3073
|
+
};
|
|
2532
3074
|
},
|
|
2533
3075
|
{
|
|
2534
|
-
|
|
2535
|
-
"
|
|
2536
|
-
|
|
2537
|
-
"
|
|
3076
|
+
name: "socialFeePda";
|
|
3077
|
+
docs: ["Platform identifier: 0=pump, 1=twitter, etc."];
|
|
3078
|
+
type: {
|
|
3079
|
+
kind: "struct";
|
|
3080
|
+
fields: [
|
|
3081
|
+
{
|
|
3082
|
+
name: "bump";
|
|
3083
|
+
type: "u8";
|
|
3084
|
+
},
|
|
3085
|
+
{
|
|
3086
|
+
name: "version";
|
|
3087
|
+
type: "u8";
|
|
3088
|
+
},
|
|
3089
|
+
{
|
|
3090
|
+
name: "userId";
|
|
3091
|
+
docs: [
|
|
3092
|
+
"Max 20 characters to fit u64::MAX (18,446,744,073,709,551,615) as a string.",
|
|
3093
|
+
"Actual storage: 4 bytes (length prefix) + 20 bytes (content) = 24 bytes.",
|
|
3094
|
+
];
|
|
3095
|
+
type: "string";
|
|
3096
|
+
},
|
|
3097
|
+
{
|
|
3098
|
+
name: "platform";
|
|
3099
|
+
type: "u8";
|
|
3100
|
+
},
|
|
3101
|
+
{
|
|
3102
|
+
name: "totalClaimed";
|
|
3103
|
+
type: "u64";
|
|
3104
|
+
},
|
|
2538
3105
|
{
|
|
2539
|
-
|
|
2540
|
-
|
|
3106
|
+
name: "lastClaimed";
|
|
3107
|
+
type: "u64";
|
|
2541
3108
|
},
|
|
2542
3109
|
{
|
|
2543
|
-
|
|
2544
|
-
|
|
2545
|
-
|
|
2546
|
-
|
|
2547
|
-
|
|
3110
|
+
name: "reserved";
|
|
3111
|
+
type: {
|
|
3112
|
+
array: ["u8", 128];
|
|
3113
|
+
};
|
|
3114
|
+
},
|
|
3115
|
+
];
|
|
3116
|
+
};
|
|
2548
3117
|
},
|
|
2549
3118
|
{
|
|
2550
|
-
|
|
2551
|
-
|
|
2552
|
-
|
|
2553
|
-
|
|
3119
|
+
name: "socialFeePdaClaimed";
|
|
3120
|
+
type: {
|
|
3121
|
+
kind: "struct";
|
|
3122
|
+
fields: [
|
|
3123
|
+
{
|
|
3124
|
+
name: "timestamp";
|
|
3125
|
+
type: "i64";
|
|
3126
|
+
},
|
|
2554
3127
|
{
|
|
2555
|
-
|
|
2556
|
-
|
|
3128
|
+
name: "userId";
|
|
3129
|
+
type: "string";
|
|
2557
3130
|
},
|
|
2558
3131
|
{
|
|
2559
|
-
|
|
2560
|
-
|
|
3132
|
+
name: "platform";
|
|
3133
|
+
type: "u8";
|
|
2561
3134
|
},
|
|
2562
3135
|
{
|
|
2563
|
-
|
|
2564
|
-
|
|
2565
|
-
"defined": {
|
|
2566
|
-
"name": "configStatus"
|
|
2567
|
-
}
|
|
2568
|
-
}
|
|
3136
|
+
name: "socialFeePda";
|
|
3137
|
+
type: "pubkey";
|
|
2569
3138
|
},
|
|
2570
3139
|
{
|
|
2571
|
-
|
|
2572
|
-
|
|
3140
|
+
name: "recipient";
|
|
3141
|
+
type: "pubkey";
|
|
2573
3142
|
},
|
|
2574
3143
|
{
|
|
2575
|
-
|
|
2576
|
-
|
|
3144
|
+
name: "socialClaimAuthority";
|
|
3145
|
+
type: "pubkey";
|
|
2577
3146
|
},
|
|
2578
3147
|
{
|
|
2579
|
-
|
|
2580
|
-
|
|
3148
|
+
name: "amountClaimed";
|
|
3149
|
+
type: "u64";
|
|
2581
3150
|
},
|
|
2582
3151
|
{
|
|
2583
|
-
|
|
2584
|
-
|
|
2585
|
-
|
|
2586
|
-
|
|
2587
|
-
|
|
2588
|
-
|
|
2589
|
-
|
|
2590
|
-
|
|
2591
|
-
|
|
2592
|
-
|
|
2593
|
-
|
|
3152
|
+
name: "claimableBefore";
|
|
3153
|
+
type: "u64";
|
|
3154
|
+
},
|
|
3155
|
+
{
|
|
3156
|
+
name: "lifetimeClaimed";
|
|
3157
|
+
type: "u64";
|
|
3158
|
+
},
|
|
3159
|
+
{
|
|
3160
|
+
name: "recipientBalanceBefore";
|
|
3161
|
+
type: "u64";
|
|
3162
|
+
},
|
|
3163
|
+
{
|
|
3164
|
+
name: "recipientBalanceAfter";
|
|
3165
|
+
type: "u64";
|
|
3166
|
+
},
|
|
3167
|
+
];
|
|
3168
|
+
};
|
|
3169
|
+
},
|
|
3170
|
+
{
|
|
3171
|
+
name: "socialFeePdaCreated";
|
|
3172
|
+
type: {
|
|
3173
|
+
kind: "struct";
|
|
3174
|
+
fields: [
|
|
3175
|
+
{
|
|
3176
|
+
name: "timestamp";
|
|
3177
|
+
type: "i64";
|
|
3178
|
+
},
|
|
3179
|
+
{
|
|
3180
|
+
name: "userId";
|
|
3181
|
+
type: "string";
|
|
3182
|
+
},
|
|
3183
|
+
{
|
|
3184
|
+
name: "platform";
|
|
3185
|
+
type: "u8";
|
|
3186
|
+
},
|
|
3187
|
+
{
|
|
3188
|
+
name: "socialFeePda";
|
|
3189
|
+
type: "pubkey";
|
|
3190
|
+
},
|
|
3191
|
+
{
|
|
3192
|
+
name: "createdBy";
|
|
3193
|
+
type: "pubkey";
|
|
3194
|
+
},
|
|
3195
|
+
];
|
|
3196
|
+
};
|
|
2594
3197
|
},
|
|
2595
3198
|
{
|
|
2596
|
-
|
|
2597
|
-
|
|
2598
|
-
|
|
2599
|
-
|
|
3199
|
+
name: "transferFeeSharingAuthorityEvent";
|
|
3200
|
+
type: {
|
|
3201
|
+
kind: "struct";
|
|
3202
|
+
fields: [
|
|
2600
3203
|
{
|
|
2601
|
-
|
|
2602
|
-
|
|
3204
|
+
name: "timestamp";
|
|
3205
|
+
type: "i64";
|
|
2603
3206
|
},
|
|
2604
3207
|
{
|
|
2605
|
-
|
|
2606
|
-
|
|
3208
|
+
name: "mint";
|
|
3209
|
+
type: "pubkey";
|
|
2607
3210
|
},
|
|
2608
3211
|
{
|
|
2609
|
-
|
|
2610
|
-
|
|
3212
|
+
name: "sharingConfig";
|
|
3213
|
+
type: "pubkey";
|
|
2611
3214
|
},
|
|
2612
3215
|
{
|
|
2613
|
-
|
|
2614
|
-
|
|
3216
|
+
name: "oldAdmin";
|
|
3217
|
+
type: "pubkey";
|
|
2615
3218
|
},
|
|
2616
3219
|
{
|
|
2617
|
-
|
|
2618
|
-
|
|
2619
|
-
}
|
|
2620
|
-
]
|
|
2621
|
-
}
|
|
3220
|
+
name: "newAdmin";
|
|
3221
|
+
type: "pubkey";
|
|
3222
|
+
},
|
|
3223
|
+
];
|
|
3224
|
+
};
|
|
2622
3225
|
},
|
|
2623
3226
|
{
|
|
2624
|
-
|
|
2625
|
-
|
|
2626
|
-
|
|
2627
|
-
|
|
3227
|
+
name: "updateAdminEvent";
|
|
3228
|
+
type: {
|
|
3229
|
+
kind: "struct";
|
|
3230
|
+
fields: [
|
|
2628
3231
|
{
|
|
2629
|
-
|
|
2630
|
-
|
|
3232
|
+
name: "timestamp";
|
|
3233
|
+
type: "i64";
|
|
2631
3234
|
},
|
|
2632
3235
|
{
|
|
2633
|
-
|
|
2634
|
-
|
|
3236
|
+
name: "oldAdmin";
|
|
3237
|
+
type: "pubkey";
|
|
2635
3238
|
},
|
|
2636
3239
|
{
|
|
2637
|
-
|
|
2638
|
-
|
|
2639
|
-
}
|
|
2640
|
-
]
|
|
2641
|
-
}
|
|
3240
|
+
name: "newAdmin";
|
|
3241
|
+
type: "pubkey";
|
|
3242
|
+
},
|
|
3243
|
+
];
|
|
3244
|
+
};
|
|
2642
3245
|
},
|
|
2643
3246
|
{
|
|
2644
|
-
|
|
2645
|
-
|
|
2646
|
-
|
|
2647
|
-
|
|
3247
|
+
name: "updateFeeConfigEvent";
|
|
3248
|
+
type: {
|
|
3249
|
+
kind: "struct";
|
|
3250
|
+
fields: [
|
|
2648
3251
|
{
|
|
2649
|
-
|
|
2650
|
-
|
|
3252
|
+
name: "timestamp";
|
|
3253
|
+
type: "i64";
|
|
2651
3254
|
},
|
|
2652
3255
|
{
|
|
2653
|
-
|
|
2654
|
-
|
|
3256
|
+
name: "admin";
|
|
3257
|
+
type: "pubkey";
|
|
2655
3258
|
},
|
|
2656
3259
|
{
|
|
2657
|
-
|
|
2658
|
-
|
|
3260
|
+
name: "feeConfig";
|
|
3261
|
+
type: "pubkey";
|
|
2659
3262
|
},
|
|
2660
3263
|
{
|
|
2661
|
-
|
|
2662
|
-
|
|
2663
|
-
|
|
2664
|
-
|
|
2665
|
-
|
|
2666
|
-
}
|
|
2667
|
-
}
|
|
2668
|
-
}
|
|
3264
|
+
name: "feeTiers";
|
|
3265
|
+
type: {
|
|
3266
|
+
vec: {
|
|
3267
|
+
defined: {
|
|
3268
|
+
name: "feeTier";
|
|
3269
|
+
};
|
|
3270
|
+
};
|
|
3271
|
+
};
|
|
2669
3272
|
},
|
|
2670
3273
|
{
|
|
2671
|
-
|
|
2672
|
-
|
|
2673
|
-
|
|
2674
|
-
|
|
2675
|
-
}
|
|
2676
|
-
}
|
|
2677
|
-
}
|
|
2678
|
-
]
|
|
2679
|
-
}
|
|
3274
|
+
name: "flatFees";
|
|
3275
|
+
type: {
|
|
3276
|
+
defined: {
|
|
3277
|
+
name: "fees";
|
|
3278
|
+
};
|
|
3279
|
+
};
|
|
3280
|
+
},
|
|
3281
|
+
];
|
|
3282
|
+
};
|
|
2680
3283
|
},
|
|
2681
3284
|
{
|
|
2682
|
-
|
|
2683
|
-
|
|
2684
|
-
|
|
2685
|
-
|
|
3285
|
+
name: "updateFeeSharesEvent";
|
|
3286
|
+
type: {
|
|
3287
|
+
kind: "struct";
|
|
3288
|
+
fields: [
|
|
2686
3289
|
{
|
|
2687
|
-
|
|
2688
|
-
|
|
3290
|
+
name: "timestamp";
|
|
3291
|
+
type: "i64";
|
|
2689
3292
|
},
|
|
2690
3293
|
{
|
|
2691
|
-
|
|
2692
|
-
|
|
3294
|
+
name: "mint";
|
|
3295
|
+
type: "pubkey";
|
|
2693
3296
|
},
|
|
2694
3297
|
{
|
|
2695
|
-
|
|
2696
|
-
|
|
3298
|
+
name: "sharingConfig";
|
|
3299
|
+
type: "pubkey";
|
|
2697
3300
|
},
|
|
2698
3301
|
{
|
|
2699
|
-
|
|
2700
|
-
|
|
3302
|
+
name: "admin";
|
|
3303
|
+
type: "pubkey";
|
|
2701
3304
|
},
|
|
2702
3305
|
{
|
|
2703
|
-
|
|
2704
|
-
|
|
2705
|
-
|
|
2706
|
-
|
|
2707
|
-
|
|
2708
|
-
}
|
|
2709
|
-
}
|
|
2710
|
-
}
|
|
2711
|
-
}
|
|
2712
|
-
]
|
|
2713
|
-
}
|
|
3306
|
+
name: "newShareholders";
|
|
3307
|
+
type: {
|
|
3308
|
+
vec: {
|
|
3309
|
+
defined: {
|
|
3310
|
+
name: "shareholder";
|
|
3311
|
+
};
|
|
3312
|
+
};
|
|
3313
|
+
};
|
|
3314
|
+
},
|
|
3315
|
+
];
|
|
3316
|
+
};
|
|
2714
3317
|
},
|
|
2715
3318
|
{
|
|
2716
|
-
|
|
2717
|
-
|
|
2718
|
-
|
|
2719
|
-
|
|
3319
|
+
name: "upsertFeeTiersEvent";
|
|
3320
|
+
type: {
|
|
3321
|
+
kind: "struct";
|
|
3322
|
+
fields: [
|
|
2720
3323
|
{
|
|
2721
|
-
|
|
2722
|
-
|
|
3324
|
+
name: "timestamp";
|
|
3325
|
+
type: "i64";
|
|
2723
3326
|
},
|
|
2724
3327
|
{
|
|
2725
|
-
|
|
2726
|
-
|
|
3328
|
+
name: "admin";
|
|
3329
|
+
type: "pubkey";
|
|
2727
3330
|
},
|
|
2728
3331
|
{
|
|
2729
|
-
|
|
2730
|
-
|
|
3332
|
+
name: "feeConfig";
|
|
3333
|
+
type: "pubkey";
|
|
2731
3334
|
},
|
|
2732
3335
|
{
|
|
2733
|
-
|
|
2734
|
-
|
|
2735
|
-
|
|
2736
|
-
|
|
2737
|
-
|
|
2738
|
-
}
|
|
2739
|
-
}
|
|
2740
|
-
}
|
|
3336
|
+
name: "feeTiers";
|
|
3337
|
+
type: {
|
|
3338
|
+
vec: {
|
|
3339
|
+
defined: {
|
|
3340
|
+
name: "feeTier";
|
|
3341
|
+
};
|
|
3342
|
+
};
|
|
3343
|
+
};
|
|
2741
3344
|
},
|
|
2742
3345
|
{
|
|
2743
|
-
|
|
2744
|
-
|
|
2745
|
-
}
|
|
2746
|
-
]
|
|
2747
|
-
}
|
|
2748
|
-
}
|
|
2749
|
-
]
|
|
2750
|
-
|
|
3346
|
+
name: "offset";
|
|
3347
|
+
type: "u8";
|
|
3348
|
+
},
|
|
3349
|
+
];
|
|
3350
|
+
};
|
|
3351
|
+
},
|
|
3352
|
+
];
|
|
3353
|
+
constants: [
|
|
3354
|
+
{
|
|
3355
|
+
name: "feeConfigSeed";
|
|
3356
|
+
type: "bytes";
|
|
3357
|
+
value: "[102, 101, 101, 95, 99, 111, 110, 102, 105, 103]";
|
|
3358
|
+
},
|
|
3359
|
+
{
|
|
3360
|
+
name: "feeProgramGlobalSeed";
|
|
3361
|
+
type: {
|
|
3362
|
+
array: ["u8", 18];
|
|
3363
|
+
};
|
|
3364
|
+
value: "[102, 101, 101, 45, 112, 114, 111, 103, 114, 97, 109, 45, 103, 108, 111, 98, 97, 108]";
|
|
3365
|
+
},
|
|
3366
|
+
{
|
|
3367
|
+
name: "pumpGlobalSeed";
|
|
3368
|
+
docs: ["Bonding Curve Program Global Seed"];
|
|
3369
|
+
type: {
|
|
3370
|
+
array: ["u8", 6];
|
|
3371
|
+
};
|
|
3372
|
+
value: "[103, 108, 111, 98, 97, 108]";
|
|
3373
|
+
},
|
|
2751
3374
|
{
|
|
2752
|
-
|
|
2753
|
-
|
|
2754
|
-
|
|
3375
|
+
name: "sharingConfigSeed";
|
|
3376
|
+
type: {
|
|
3377
|
+
array: ["u8", 14];
|
|
3378
|
+
};
|
|
3379
|
+
value: "[115, 104, 97, 114, 105, 110, 103, 45, 99, 111, 110, 102, 105, 103]";
|
|
2755
3380
|
},
|
|
2756
3381
|
{
|
|
2757
|
-
|
|
2758
|
-
|
|
2759
|
-
|
|
2760
|
-
|
|
2761
|
-
|
|
2762
|
-
|
|
2763
|
-
|
|
2764
|
-
|
|
2765
|
-
}
|
|
2766
|
-
]
|
|
2767
|
-
};
|
|
3382
|
+
name: "socialFeePdaSeed";
|
|
3383
|
+
type: {
|
|
3384
|
+
array: ["u8", 14];
|
|
3385
|
+
};
|
|
3386
|
+
value: "[115, 111, 99, 105, 97, 108, 45, 102, 101, 101, 45, 112, 100, 97]";
|
|
3387
|
+
},
|
|
3388
|
+
];
|
|
3389
|
+
}
|