@pump-fun/pump-sdk 1.4.3-devnet.1 → 1.4.4-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 +549 -50
- package/dist/index.d.mts +1611 -937
- package/dist/index.d.ts +1611 -937
- package/dist/index.js +549 -50
- package/package.json +2 -2
- package/src/idl/pump.json +1321 -125
- package/src/idl/pump.ts +1837 -1336
- package/src/state.ts +2 -0
package/dist/index.d.mts
CHANGED
|
@@ -9,45 +9,177 @@ import { Program } from '@coral-xyz/anchor';
|
|
|
9
9
|
* IDL can be found at `target/idl/pump.json`.
|
|
10
10
|
*/
|
|
11
11
|
type Pump = {
|
|
12
|
-
address: "6EF8rrecthR5Dkzon8Nwu78hRvfCKubJ14M5uBEwF6P";
|
|
13
|
-
metadata: {
|
|
14
|
-
name: "pump";
|
|
15
|
-
version: "0.1.0";
|
|
16
|
-
spec: "0.1.0";
|
|
17
|
-
description: "Created with Anchor";
|
|
12
|
+
"address": "6EF8rrecthR5Dkzon8Nwu78hRvfCKubJ14M5uBEwF6P";
|
|
13
|
+
"metadata": {
|
|
14
|
+
"name": "pump";
|
|
15
|
+
"version": "0.1.0";
|
|
16
|
+
"spec": "0.1.0";
|
|
17
|
+
"description": "Created with Anchor";
|
|
18
18
|
};
|
|
19
|
-
instructions: [
|
|
19
|
+
"instructions": [
|
|
20
20
|
{
|
|
21
|
-
name: "
|
|
22
|
-
docs: [
|
|
23
|
-
|
|
24
|
-
|
|
21
|
+
"name": "adminSetCreator";
|
|
22
|
+
"docs": [
|
|
23
|
+
"Allows Global::admin_set_creator_authority to override the bonding curve creator"
|
|
24
|
+
];
|
|
25
|
+
"discriminator": [
|
|
26
|
+
69,
|
|
27
|
+
25,
|
|
28
|
+
171,
|
|
29
|
+
142,
|
|
30
|
+
57,
|
|
31
|
+
239,
|
|
32
|
+
13,
|
|
33
|
+
4
|
|
34
|
+
];
|
|
35
|
+
"accounts": [
|
|
36
|
+
{
|
|
37
|
+
"name": "adminSetCreatorAuthority";
|
|
38
|
+
"signer": true;
|
|
39
|
+
"relations": [
|
|
40
|
+
"global"
|
|
41
|
+
];
|
|
42
|
+
},
|
|
25
43
|
{
|
|
26
|
-
name: "global";
|
|
27
|
-
pda: {
|
|
28
|
-
seeds: [
|
|
44
|
+
"name": "global";
|
|
45
|
+
"pda": {
|
|
46
|
+
"seeds": [
|
|
29
47
|
{
|
|
30
|
-
kind: "const";
|
|
31
|
-
value: [
|
|
48
|
+
"kind": "const";
|
|
49
|
+
"value": [
|
|
50
|
+
103,
|
|
51
|
+
108,
|
|
52
|
+
111,
|
|
53
|
+
98,
|
|
54
|
+
97,
|
|
55
|
+
108
|
|
56
|
+
];
|
|
32
57
|
}
|
|
33
58
|
];
|
|
34
59
|
};
|
|
35
60
|
},
|
|
36
61
|
{
|
|
37
|
-
name: "
|
|
38
|
-
writable: true;
|
|
62
|
+
"name": "mint";
|
|
39
63
|
},
|
|
40
64
|
{
|
|
41
|
-
name: "
|
|
65
|
+
"name": "bondingCurve";
|
|
66
|
+
"writable": true;
|
|
67
|
+
"pda": {
|
|
68
|
+
"seeds": [
|
|
69
|
+
{
|
|
70
|
+
"kind": "const";
|
|
71
|
+
"value": [
|
|
72
|
+
98,
|
|
73
|
+
111,
|
|
74
|
+
110,
|
|
75
|
+
100,
|
|
76
|
+
105,
|
|
77
|
+
110,
|
|
78
|
+
103,
|
|
79
|
+
45,
|
|
80
|
+
99,
|
|
81
|
+
117,
|
|
82
|
+
114,
|
|
83
|
+
118,
|
|
84
|
+
101
|
|
85
|
+
];
|
|
86
|
+
},
|
|
87
|
+
{
|
|
88
|
+
"kind": "account";
|
|
89
|
+
"path": "mint";
|
|
90
|
+
}
|
|
91
|
+
];
|
|
92
|
+
};
|
|
42
93
|
},
|
|
43
94
|
{
|
|
44
|
-
name: "
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
seeds: [
|
|
95
|
+
"name": "eventAuthority";
|
|
96
|
+
"pda": {
|
|
97
|
+
"seeds": [
|
|
48
98
|
{
|
|
49
|
-
kind: "const";
|
|
50
|
-
value: [
|
|
99
|
+
"kind": "const";
|
|
100
|
+
"value": [
|
|
101
|
+
95,
|
|
102
|
+
95,
|
|
103
|
+
101,
|
|
104
|
+
118,
|
|
105
|
+
101,
|
|
106
|
+
110,
|
|
107
|
+
116,
|
|
108
|
+
95,
|
|
109
|
+
97,
|
|
110
|
+
117,
|
|
111
|
+
116,
|
|
112
|
+
104,
|
|
113
|
+
111,
|
|
114
|
+
114,
|
|
115
|
+
105,
|
|
116
|
+
116,
|
|
117
|
+
121
|
|
118
|
+
];
|
|
119
|
+
}
|
|
120
|
+
];
|
|
121
|
+
};
|
|
122
|
+
},
|
|
123
|
+
{
|
|
124
|
+
"name": "program";
|
|
125
|
+
}
|
|
126
|
+
];
|
|
127
|
+
"args": [
|
|
128
|
+
{
|
|
129
|
+
"name": "creator";
|
|
130
|
+
"type": "pubkey";
|
|
131
|
+
}
|
|
132
|
+
];
|
|
133
|
+
},
|
|
134
|
+
{
|
|
135
|
+
"name": "buy";
|
|
136
|
+
"docs": [
|
|
137
|
+
"Buys tokens from a bonding curve."
|
|
138
|
+
];
|
|
139
|
+
"discriminator": [
|
|
140
|
+
102,
|
|
141
|
+
6,
|
|
142
|
+
61,
|
|
143
|
+
18,
|
|
144
|
+
1,
|
|
145
|
+
218,
|
|
146
|
+
235,
|
|
147
|
+
234
|
|
148
|
+
];
|
|
149
|
+
"accounts": [
|
|
150
|
+
{
|
|
151
|
+
"name": "global";
|
|
152
|
+
"pda": {
|
|
153
|
+
"seeds": [
|
|
154
|
+
{
|
|
155
|
+
"kind": "const";
|
|
156
|
+
"value": [
|
|
157
|
+
103,
|
|
158
|
+
108,
|
|
159
|
+
111,
|
|
160
|
+
98,
|
|
161
|
+
97,
|
|
162
|
+
108
|
|
163
|
+
];
|
|
164
|
+
}
|
|
165
|
+
];
|
|
166
|
+
};
|
|
167
|
+
},
|
|
168
|
+
{
|
|
169
|
+
"name": "feeRecipient";
|
|
170
|
+
"writable": true;
|
|
171
|
+
},
|
|
172
|
+
{
|
|
173
|
+
"name": "mint";
|
|
174
|
+
},
|
|
175
|
+
{
|
|
176
|
+
"name": "bondingCurve";
|
|
177
|
+
"writable": true;
|
|
178
|
+
"pda": {
|
|
179
|
+
"seeds": [
|
|
180
|
+
{
|
|
181
|
+
"kind": "const";
|
|
182
|
+
"value": [
|
|
51
183
|
98,
|
|
52
184
|
111,
|
|
53
185
|
110,
|
|
@@ -64,24 +196,24 @@ type Pump = {
|
|
|
64
196
|
];
|
|
65
197
|
},
|
|
66
198
|
{
|
|
67
|
-
kind: "account";
|
|
68
|
-
path: "mint";
|
|
199
|
+
"kind": "account";
|
|
200
|
+
"path": "mint";
|
|
69
201
|
}
|
|
70
202
|
];
|
|
71
203
|
};
|
|
72
204
|
},
|
|
73
205
|
{
|
|
74
|
-
name: "associatedBondingCurve";
|
|
75
|
-
writable: true;
|
|
76
|
-
pda: {
|
|
77
|
-
seeds: [
|
|
206
|
+
"name": "associatedBondingCurve";
|
|
207
|
+
"writable": true;
|
|
208
|
+
"pda": {
|
|
209
|
+
"seeds": [
|
|
78
210
|
{
|
|
79
|
-
kind: "account";
|
|
80
|
-
path: "bondingCurve";
|
|
211
|
+
"kind": "account";
|
|
212
|
+
"path": "bondingCurve";
|
|
81
213
|
},
|
|
82
214
|
{
|
|
83
|
-
kind: "const";
|
|
84
|
-
value: [
|
|
215
|
+
"kind": "const";
|
|
216
|
+
"value": [
|
|
85
217
|
6,
|
|
86
218
|
221,
|
|
87
219
|
246,
|
|
@@ -117,13 +249,13 @@ type Pump = {
|
|
|
117
249
|
];
|
|
118
250
|
},
|
|
119
251
|
{
|
|
120
|
-
kind: "account";
|
|
121
|
-
path: "mint";
|
|
252
|
+
"kind": "account";
|
|
253
|
+
"path": "mint";
|
|
122
254
|
}
|
|
123
255
|
];
|
|
124
|
-
program: {
|
|
125
|
-
kind: "const";
|
|
126
|
-
value: [
|
|
256
|
+
"program": {
|
|
257
|
+
"kind": "const";
|
|
258
|
+
"value": [
|
|
127
259
|
140,
|
|
128
260
|
151,
|
|
129
261
|
37,
|
|
@@ -161,30 +293,30 @@ type Pump = {
|
|
|
161
293
|
};
|
|
162
294
|
},
|
|
163
295
|
{
|
|
164
|
-
name: "associatedUser";
|
|
165
|
-
writable: true;
|
|
296
|
+
"name": "associatedUser";
|
|
297
|
+
"writable": true;
|
|
166
298
|
},
|
|
167
299
|
{
|
|
168
|
-
name: "user";
|
|
169
|
-
writable: true;
|
|
170
|
-
signer: true;
|
|
300
|
+
"name": "user";
|
|
301
|
+
"writable": true;
|
|
302
|
+
"signer": true;
|
|
171
303
|
},
|
|
172
304
|
{
|
|
173
|
-
name: "systemProgram";
|
|
174
|
-
address: "11111111111111111111111111111111";
|
|
305
|
+
"name": "systemProgram";
|
|
306
|
+
"address": "11111111111111111111111111111111";
|
|
175
307
|
},
|
|
176
308
|
{
|
|
177
|
-
name: "tokenProgram";
|
|
178
|
-
address: "TokenkegQfeZyiNwAJbNbGKPFXCWuBvf9Ss623VQ5DA";
|
|
309
|
+
"name": "tokenProgram";
|
|
310
|
+
"address": "TokenkegQfeZyiNwAJbNbGKPFXCWuBvf9Ss623VQ5DA";
|
|
179
311
|
},
|
|
180
312
|
{
|
|
181
|
-
name: "creatorVault";
|
|
182
|
-
writable: true;
|
|
183
|
-
pda: {
|
|
184
|
-
seeds: [
|
|
313
|
+
"name": "creatorVault";
|
|
314
|
+
"writable": true;
|
|
315
|
+
"pda": {
|
|
316
|
+
"seeds": [
|
|
185
317
|
{
|
|
186
|
-
kind: "const";
|
|
187
|
-
value: [
|
|
318
|
+
"kind": "const";
|
|
319
|
+
"value": [
|
|
188
320
|
99,
|
|
189
321
|
114,
|
|
190
322
|
101,
|
|
@@ -201,20 +333,20 @@ type Pump = {
|
|
|
201
333
|
];
|
|
202
334
|
},
|
|
203
335
|
{
|
|
204
|
-
kind: "account";
|
|
205
|
-
path: "bonding_curve.creator";
|
|
206
|
-
account: "bondingCurve";
|
|
336
|
+
"kind": "account";
|
|
337
|
+
"path": "bonding_curve.creator";
|
|
338
|
+
"account": "bondingCurve";
|
|
207
339
|
}
|
|
208
340
|
];
|
|
209
341
|
};
|
|
210
342
|
},
|
|
211
343
|
{
|
|
212
|
-
name: "eventAuthority";
|
|
213
|
-
pda: {
|
|
214
|
-
seeds: [
|
|
344
|
+
"name": "eventAuthority";
|
|
345
|
+
"pda": {
|
|
346
|
+
"seeds": [
|
|
215
347
|
{
|
|
216
|
-
kind: "const";
|
|
217
|
-
value: [
|
|
348
|
+
"kind": "const";
|
|
349
|
+
"value": [
|
|
218
350
|
95,
|
|
219
351
|
95,
|
|
220
352
|
101,
|
|
@@ -238,40 +370,49 @@ type Pump = {
|
|
|
238
370
|
};
|
|
239
371
|
},
|
|
240
372
|
{
|
|
241
|
-
name: "program";
|
|
373
|
+
"name": "program";
|
|
242
374
|
}
|
|
243
375
|
];
|
|
244
|
-
args: [
|
|
376
|
+
"args": [
|
|
245
377
|
{
|
|
246
|
-
name: "amount";
|
|
247
|
-
type: "u64";
|
|
378
|
+
"name": "amount";
|
|
379
|
+
"type": "u64";
|
|
248
380
|
},
|
|
249
381
|
{
|
|
250
|
-
name: "maxSolCost";
|
|
251
|
-
type: "u64";
|
|
382
|
+
"name": "maxSolCost";
|
|
383
|
+
"type": "u64";
|
|
252
384
|
}
|
|
253
385
|
];
|
|
254
386
|
},
|
|
255
387
|
{
|
|
256
|
-
name: "collectCreatorFee";
|
|
257
|
-
docs: [
|
|
388
|
+
"name": "collectCreatorFee";
|
|
389
|
+
"docs": [
|
|
258
390
|
"Collects creator_fee from creator_vault to the coin creator account"
|
|
259
391
|
];
|
|
260
|
-
discriminator: [
|
|
261
|
-
|
|
392
|
+
"discriminator": [
|
|
393
|
+
20,
|
|
394
|
+
22,
|
|
395
|
+
86,
|
|
396
|
+
123,
|
|
397
|
+
198,
|
|
398
|
+
28,
|
|
399
|
+
219,
|
|
400
|
+
132
|
|
401
|
+
];
|
|
402
|
+
"accounts": [
|
|
262
403
|
{
|
|
263
|
-
name: "creator";
|
|
264
|
-
writable: true;
|
|
265
|
-
signer: true;
|
|
404
|
+
"name": "creator";
|
|
405
|
+
"writable": true;
|
|
406
|
+
"signer": true;
|
|
266
407
|
},
|
|
267
408
|
{
|
|
268
|
-
name: "creatorVault";
|
|
269
|
-
writable: true;
|
|
270
|
-
pda: {
|
|
271
|
-
seeds: [
|
|
409
|
+
"name": "creatorVault";
|
|
410
|
+
"writable": true;
|
|
411
|
+
"pda": {
|
|
412
|
+
"seeds": [
|
|
272
413
|
{
|
|
273
|
-
kind: "const";
|
|
274
|
-
value: [
|
|
414
|
+
"kind": "const";
|
|
415
|
+
"value": [
|
|
275
416
|
99,
|
|
276
417
|
114,
|
|
277
418
|
101,
|
|
@@ -288,23 +429,23 @@ type Pump = {
|
|
|
288
429
|
];
|
|
289
430
|
},
|
|
290
431
|
{
|
|
291
|
-
kind: "account";
|
|
292
|
-
path: "creator";
|
|
432
|
+
"kind": "account";
|
|
433
|
+
"path": "creator";
|
|
293
434
|
}
|
|
294
435
|
];
|
|
295
436
|
};
|
|
296
437
|
},
|
|
297
438
|
{
|
|
298
|
-
name: "systemProgram";
|
|
299
|
-
address: "11111111111111111111111111111111";
|
|
439
|
+
"name": "systemProgram";
|
|
440
|
+
"address": "11111111111111111111111111111111";
|
|
300
441
|
},
|
|
301
442
|
{
|
|
302
|
-
name: "eventAuthority";
|
|
303
|
-
pda: {
|
|
304
|
-
seeds: [
|
|
443
|
+
"name": "eventAuthority";
|
|
444
|
+
"pda": {
|
|
445
|
+
"seeds": [
|
|
305
446
|
{
|
|
306
|
-
kind: "const";
|
|
307
|
-
value: [
|
|
447
|
+
"kind": "const";
|
|
448
|
+
"value": [
|
|
308
449
|
95,
|
|
309
450
|
95,
|
|
310
451
|
101,
|
|
@@ -328,28 +469,39 @@ type Pump = {
|
|
|
328
469
|
};
|
|
329
470
|
},
|
|
330
471
|
{
|
|
331
|
-
name: "program";
|
|
472
|
+
"name": "program";
|
|
332
473
|
}
|
|
333
474
|
];
|
|
334
|
-
args: [];
|
|
475
|
+
"args": [];
|
|
335
476
|
},
|
|
336
477
|
{
|
|
337
|
-
name: "create";
|
|
338
|
-
docs: [
|
|
339
|
-
|
|
340
|
-
|
|
478
|
+
"name": "create";
|
|
479
|
+
"docs": [
|
|
480
|
+
"Creates a new coin and bonding curve."
|
|
481
|
+
];
|
|
482
|
+
"discriminator": [
|
|
483
|
+
24,
|
|
484
|
+
30,
|
|
485
|
+
200,
|
|
486
|
+
40,
|
|
487
|
+
5,
|
|
488
|
+
28,
|
|
489
|
+
7,
|
|
490
|
+
119
|
|
491
|
+
];
|
|
492
|
+
"accounts": [
|
|
341
493
|
{
|
|
342
|
-
name: "mint";
|
|
343
|
-
writable: true;
|
|
344
|
-
signer: true;
|
|
494
|
+
"name": "mint";
|
|
495
|
+
"writable": true;
|
|
496
|
+
"signer": true;
|
|
345
497
|
},
|
|
346
498
|
{
|
|
347
|
-
name: "mintAuthority";
|
|
348
|
-
pda: {
|
|
349
|
-
seeds: [
|
|
499
|
+
"name": "mintAuthority";
|
|
500
|
+
"pda": {
|
|
501
|
+
"seeds": [
|
|
350
502
|
{
|
|
351
|
-
kind: "const";
|
|
352
|
-
value: [
|
|
503
|
+
"kind": "const";
|
|
504
|
+
"value": [
|
|
353
505
|
109,
|
|
354
506
|
105,
|
|
355
507
|
110,
|
|
@@ -370,13 +522,13 @@ type Pump = {
|
|
|
370
522
|
};
|
|
371
523
|
},
|
|
372
524
|
{
|
|
373
|
-
name: "bondingCurve";
|
|
374
|
-
writable: true;
|
|
375
|
-
pda: {
|
|
376
|
-
seeds: [
|
|
525
|
+
"name": "bondingCurve";
|
|
526
|
+
"writable": true;
|
|
527
|
+
"pda": {
|
|
528
|
+
"seeds": [
|
|
377
529
|
{
|
|
378
|
-
kind: "const";
|
|
379
|
-
value: [
|
|
530
|
+
"kind": "const";
|
|
531
|
+
"value": [
|
|
380
532
|
98,
|
|
381
533
|
111,
|
|
382
534
|
110,
|
|
@@ -393,24 +545,24 @@ type Pump = {
|
|
|
393
545
|
];
|
|
394
546
|
},
|
|
395
547
|
{
|
|
396
|
-
kind: "account";
|
|
397
|
-
path: "mint";
|
|
548
|
+
"kind": "account";
|
|
549
|
+
"path": "mint";
|
|
398
550
|
}
|
|
399
551
|
];
|
|
400
552
|
};
|
|
401
553
|
},
|
|
402
554
|
{
|
|
403
|
-
name: "associatedBondingCurve";
|
|
404
|
-
writable: true;
|
|
405
|
-
pda: {
|
|
406
|
-
seeds: [
|
|
555
|
+
"name": "associatedBondingCurve";
|
|
556
|
+
"writable": true;
|
|
557
|
+
"pda": {
|
|
558
|
+
"seeds": [
|
|
407
559
|
{
|
|
408
|
-
kind: "account";
|
|
409
|
-
path: "bondingCurve";
|
|
560
|
+
"kind": "account";
|
|
561
|
+
"path": "bondingCurve";
|
|
410
562
|
},
|
|
411
563
|
{
|
|
412
|
-
kind: "const";
|
|
413
|
-
value: [
|
|
564
|
+
"kind": "const";
|
|
565
|
+
"value": [
|
|
414
566
|
6,
|
|
415
567
|
221,
|
|
416
568
|
246,
|
|
@@ -446,13 +598,13 @@ type Pump = {
|
|
|
446
598
|
];
|
|
447
599
|
},
|
|
448
600
|
{
|
|
449
|
-
kind: "account";
|
|
450
|
-
path: "mint";
|
|
601
|
+
"kind": "account";
|
|
602
|
+
"path": "mint";
|
|
451
603
|
}
|
|
452
604
|
];
|
|
453
|
-
program: {
|
|
454
|
-
kind: "const";
|
|
455
|
-
value: [
|
|
605
|
+
"program": {
|
|
606
|
+
"kind": "const";
|
|
607
|
+
"value": [
|
|
456
608
|
140,
|
|
457
609
|
151,
|
|
458
610
|
37,
|
|
@@ -490,32 +642,48 @@ type Pump = {
|
|
|
490
642
|
};
|
|
491
643
|
},
|
|
492
644
|
{
|
|
493
|
-
name: "global";
|
|
494
|
-
pda: {
|
|
495
|
-
seeds: [
|
|
645
|
+
"name": "global";
|
|
646
|
+
"pda": {
|
|
647
|
+
"seeds": [
|
|
496
648
|
{
|
|
497
|
-
kind: "const";
|
|
498
|
-
value: [
|
|
649
|
+
"kind": "const";
|
|
650
|
+
"value": [
|
|
651
|
+
103,
|
|
652
|
+
108,
|
|
653
|
+
111,
|
|
654
|
+
98,
|
|
655
|
+
97,
|
|
656
|
+
108
|
|
657
|
+
];
|
|
499
658
|
}
|
|
500
659
|
];
|
|
501
660
|
};
|
|
502
661
|
},
|
|
503
662
|
{
|
|
504
|
-
name: "mplTokenMetadata";
|
|
505
|
-
address: "metaqbxxUerdq28cj1RbAWkYQm3ybzjb6a8bt518x1s";
|
|
663
|
+
"name": "mplTokenMetadata";
|
|
664
|
+
"address": "metaqbxxUerdq28cj1RbAWkYQm3ybzjb6a8bt518x1s";
|
|
506
665
|
},
|
|
507
666
|
{
|
|
508
|
-
name: "metadata";
|
|
509
|
-
writable: true;
|
|
510
|
-
pda: {
|
|
511
|
-
seeds: [
|
|
667
|
+
"name": "metadata";
|
|
668
|
+
"writable": true;
|
|
669
|
+
"pda": {
|
|
670
|
+
"seeds": [
|
|
512
671
|
{
|
|
513
|
-
kind: "const";
|
|
514
|
-
value: [
|
|
672
|
+
"kind": "const";
|
|
673
|
+
"value": [
|
|
674
|
+
109,
|
|
675
|
+
101,
|
|
676
|
+
116,
|
|
677
|
+
97,
|
|
678
|
+
100,
|
|
679
|
+
97,
|
|
680
|
+
116,
|
|
681
|
+
97
|
|
682
|
+
];
|
|
515
683
|
},
|
|
516
684
|
{
|
|
517
|
-
kind: "const";
|
|
518
|
-
value: [
|
|
685
|
+
"kind": "const";
|
|
686
|
+
"value": [
|
|
519
687
|
11,
|
|
520
688
|
112,
|
|
521
689
|
101,
|
|
@@ -551,44 +719,44 @@ type Pump = {
|
|
|
551
719
|
];
|
|
552
720
|
},
|
|
553
721
|
{
|
|
554
|
-
kind: "account";
|
|
555
|
-
path: "mint";
|
|
722
|
+
"kind": "account";
|
|
723
|
+
"path": "mint";
|
|
556
724
|
}
|
|
557
725
|
];
|
|
558
|
-
program: {
|
|
559
|
-
kind: "account";
|
|
560
|
-
path: "mplTokenMetadata";
|
|
726
|
+
"program": {
|
|
727
|
+
"kind": "account";
|
|
728
|
+
"path": "mplTokenMetadata";
|
|
561
729
|
};
|
|
562
730
|
};
|
|
563
731
|
},
|
|
564
732
|
{
|
|
565
|
-
name: "user";
|
|
566
|
-
writable: true;
|
|
567
|
-
signer: true;
|
|
733
|
+
"name": "user";
|
|
734
|
+
"writable": true;
|
|
735
|
+
"signer": true;
|
|
568
736
|
},
|
|
569
737
|
{
|
|
570
|
-
name: "systemProgram";
|
|
571
|
-
address: "11111111111111111111111111111111";
|
|
738
|
+
"name": "systemProgram";
|
|
739
|
+
"address": "11111111111111111111111111111111";
|
|
572
740
|
},
|
|
573
741
|
{
|
|
574
|
-
name: "tokenProgram";
|
|
575
|
-
address: "TokenkegQfeZyiNwAJbNbGKPFXCWuBvf9Ss623VQ5DA";
|
|
742
|
+
"name": "tokenProgram";
|
|
743
|
+
"address": "TokenkegQfeZyiNwAJbNbGKPFXCWuBvf9Ss623VQ5DA";
|
|
576
744
|
},
|
|
577
745
|
{
|
|
578
|
-
name: "associatedTokenProgram";
|
|
579
|
-
address: "ATokenGPvbdGVxr1b2hvZbsiqW5xWH25efTNsLJA8knL";
|
|
746
|
+
"name": "associatedTokenProgram";
|
|
747
|
+
"address": "ATokenGPvbdGVxr1b2hvZbsiqW5xWH25efTNsLJA8knL";
|
|
580
748
|
},
|
|
581
749
|
{
|
|
582
|
-
name: "rent";
|
|
583
|
-
address: "SysvarRent111111111111111111111111111111111";
|
|
750
|
+
"name": "rent";
|
|
751
|
+
"address": "SysvarRent111111111111111111111111111111111";
|
|
584
752
|
},
|
|
585
753
|
{
|
|
586
|
-
name: "eventAuthority";
|
|
587
|
-
pda: {
|
|
588
|
-
seeds: [
|
|
754
|
+
"name": "eventAuthority";
|
|
755
|
+
"pda": {
|
|
756
|
+
"seeds": [
|
|
589
757
|
{
|
|
590
|
-
kind: "const";
|
|
591
|
-
value: [
|
|
758
|
+
"kind": "const";
|
|
759
|
+
"value": [
|
|
592
760
|
95,
|
|
593
761
|
95,
|
|
594
762
|
101,
|
|
@@ -612,52 +780,63 @@ type Pump = {
|
|
|
612
780
|
};
|
|
613
781
|
},
|
|
614
782
|
{
|
|
615
|
-
name: "program";
|
|
783
|
+
"name": "program";
|
|
616
784
|
}
|
|
617
785
|
];
|
|
618
|
-
args: [
|
|
786
|
+
"args": [
|
|
619
787
|
{
|
|
620
|
-
name: "name";
|
|
621
|
-
type: "string";
|
|
788
|
+
"name": "name";
|
|
789
|
+
"type": "string";
|
|
622
790
|
},
|
|
623
791
|
{
|
|
624
|
-
name: "symbol";
|
|
625
|
-
type: "string";
|
|
792
|
+
"name": "symbol";
|
|
793
|
+
"type": "string";
|
|
626
794
|
},
|
|
627
795
|
{
|
|
628
|
-
name: "uri";
|
|
629
|
-
type: "string";
|
|
796
|
+
"name": "uri";
|
|
797
|
+
"type": "string";
|
|
630
798
|
},
|
|
631
799
|
{
|
|
632
|
-
name: "creator";
|
|
633
|
-
type: "pubkey";
|
|
800
|
+
"name": "creator";
|
|
801
|
+
"type": "pubkey";
|
|
634
802
|
}
|
|
635
803
|
];
|
|
636
804
|
},
|
|
637
805
|
{
|
|
638
|
-
name: "extendAccount";
|
|
639
|
-
docs: [
|
|
640
|
-
|
|
641
|
-
|
|
806
|
+
"name": "extendAccount";
|
|
807
|
+
"docs": [
|
|
808
|
+
"Extends the size of program-owned accounts"
|
|
809
|
+
];
|
|
810
|
+
"discriminator": [
|
|
811
|
+
234,
|
|
812
|
+
102,
|
|
813
|
+
194,
|
|
814
|
+
203,
|
|
815
|
+
150,
|
|
816
|
+
72,
|
|
817
|
+
62,
|
|
818
|
+
229
|
|
819
|
+
];
|
|
820
|
+
"accounts": [
|
|
642
821
|
{
|
|
643
|
-
name: "account";
|
|
644
|
-
writable: true;
|
|
822
|
+
"name": "account";
|
|
823
|
+
"writable": true;
|
|
645
824
|
},
|
|
646
825
|
{
|
|
647
|
-
name: "user";
|
|
648
|
-
signer: true;
|
|
826
|
+
"name": "user";
|
|
827
|
+
"signer": true;
|
|
649
828
|
},
|
|
650
829
|
{
|
|
651
|
-
name: "systemProgram";
|
|
652
|
-
address: "11111111111111111111111111111111";
|
|
830
|
+
"name": "systemProgram";
|
|
831
|
+
"address": "11111111111111111111111111111111";
|
|
653
832
|
},
|
|
654
833
|
{
|
|
655
|
-
name: "eventAuthority";
|
|
656
|
-
pda: {
|
|
657
|
-
seeds: [
|
|
834
|
+
"name": "eventAuthority";
|
|
835
|
+
"pda": {
|
|
836
|
+
"seeds": [
|
|
658
837
|
{
|
|
659
|
-
kind: "const";
|
|
660
|
-
value: [
|
|
838
|
+
"kind": "const";
|
|
839
|
+
"value": [
|
|
661
840
|
95,
|
|
662
841
|
95,
|
|
663
842
|
101,
|
|
@@ -681,72 +860,110 @@ type Pump = {
|
|
|
681
860
|
};
|
|
682
861
|
},
|
|
683
862
|
{
|
|
684
|
-
name: "program";
|
|
863
|
+
"name": "program";
|
|
685
864
|
}
|
|
686
865
|
];
|
|
687
|
-
args: [];
|
|
866
|
+
"args": [];
|
|
688
867
|
},
|
|
689
868
|
{
|
|
690
|
-
name: "initialize";
|
|
691
|
-
docs: [
|
|
692
|
-
|
|
693
|
-
|
|
869
|
+
"name": "initialize";
|
|
870
|
+
"docs": [
|
|
871
|
+
"Creates the global state."
|
|
872
|
+
];
|
|
873
|
+
"discriminator": [
|
|
874
|
+
175,
|
|
875
|
+
175,
|
|
876
|
+
109,
|
|
877
|
+
31,
|
|
878
|
+
13,
|
|
879
|
+
152,
|
|
880
|
+
155,
|
|
881
|
+
237
|
|
882
|
+
];
|
|
883
|
+
"accounts": [
|
|
694
884
|
{
|
|
695
|
-
name: "global";
|
|
696
|
-
writable: true;
|
|
697
|
-
pda: {
|
|
698
|
-
seeds: [
|
|
885
|
+
"name": "global";
|
|
886
|
+
"writable": true;
|
|
887
|
+
"pda": {
|
|
888
|
+
"seeds": [
|
|
699
889
|
{
|
|
700
|
-
kind: "const";
|
|
701
|
-
value: [
|
|
890
|
+
"kind": "const";
|
|
891
|
+
"value": [
|
|
892
|
+
103,
|
|
893
|
+
108,
|
|
894
|
+
111,
|
|
895
|
+
98,
|
|
896
|
+
97,
|
|
897
|
+
108
|
|
898
|
+
];
|
|
702
899
|
}
|
|
703
900
|
];
|
|
704
901
|
};
|
|
705
902
|
},
|
|
706
903
|
{
|
|
707
|
-
name: "user";
|
|
708
|
-
writable: true;
|
|
709
|
-
signer: true;
|
|
904
|
+
"name": "user";
|
|
905
|
+
"writable": true;
|
|
906
|
+
"signer": true;
|
|
710
907
|
},
|
|
711
908
|
{
|
|
712
|
-
name: "systemProgram";
|
|
713
|
-
address: "11111111111111111111111111111111";
|
|
909
|
+
"name": "systemProgram";
|
|
910
|
+
"address": "11111111111111111111111111111111";
|
|
714
911
|
}
|
|
715
912
|
];
|
|
716
|
-
args: [];
|
|
913
|
+
"args": [];
|
|
717
914
|
},
|
|
718
915
|
{
|
|
719
|
-
name: "migrate";
|
|
720
|
-
docs: [
|
|
721
|
-
|
|
722
|
-
|
|
916
|
+
"name": "migrate";
|
|
917
|
+
"docs": [
|
|
918
|
+
"Migrates liquidity to pump_amm if the bonding curve is complete"
|
|
919
|
+
];
|
|
920
|
+
"discriminator": [
|
|
921
|
+
155,
|
|
922
|
+
234,
|
|
923
|
+
231,
|
|
924
|
+
146,
|
|
925
|
+
236,
|
|
926
|
+
158,
|
|
927
|
+
162,
|
|
928
|
+
30
|
|
929
|
+
];
|
|
930
|
+
"accounts": [
|
|
723
931
|
{
|
|
724
|
-
name: "global";
|
|
725
|
-
pda: {
|
|
726
|
-
seeds: [
|
|
932
|
+
"name": "global";
|
|
933
|
+
"pda": {
|
|
934
|
+
"seeds": [
|
|
727
935
|
{
|
|
728
|
-
kind: "const";
|
|
729
|
-
value: [
|
|
936
|
+
"kind": "const";
|
|
937
|
+
"value": [
|
|
938
|
+
103,
|
|
939
|
+
108,
|
|
940
|
+
111,
|
|
941
|
+
98,
|
|
942
|
+
97,
|
|
943
|
+
108
|
|
944
|
+
];
|
|
730
945
|
}
|
|
731
946
|
];
|
|
732
947
|
};
|
|
733
948
|
},
|
|
734
949
|
{
|
|
735
|
-
name: "withdrawAuthority";
|
|
736
|
-
writable: true;
|
|
737
|
-
relations: [
|
|
950
|
+
"name": "withdrawAuthority";
|
|
951
|
+
"writable": true;
|
|
952
|
+
"relations": [
|
|
953
|
+
"global"
|
|
954
|
+
];
|
|
738
955
|
},
|
|
739
956
|
{
|
|
740
|
-
name: "mint";
|
|
957
|
+
"name": "mint";
|
|
741
958
|
},
|
|
742
959
|
{
|
|
743
|
-
name: "bondingCurve";
|
|
744
|
-
writable: true;
|
|
745
|
-
pda: {
|
|
746
|
-
seeds: [
|
|
960
|
+
"name": "bondingCurve";
|
|
961
|
+
"writable": true;
|
|
962
|
+
"pda": {
|
|
963
|
+
"seeds": [
|
|
747
964
|
{
|
|
748
|
-
kind: "const";
|
|
749
|
-
value: [
|
|
965
|
+
"kind": "const";
|
|
966
|
+
"value": [
|
|
750
967
|
98,
|
|
751
968
|
111,
|
|
752
969
|
110,
|
|
@@ -763,24 +980,24 @@ type Pump = {
|
|
|
763
980
|
];
|
|
764
981
|
},
|
|
765
982
|
{
|
|
766
|
-
kind: "account";
|
|
767
|
-
path: "mint";
|
|
983
|
+
"kind": "account";
|
|
984
|
+
"path": "mint";
|
|
768
985
|
}
|
|
769
986
|
];
|
|
770
987
|
};
|
|
771
988
|
},
|
|
772
989
|
{
|
|
773
|
-
name: "associatedBondingCurve";
|
|
774
|
-
writable: true;
|
|
775
|
-
pda: {
|
|
776
|
-
seeds: [
|
|
990
|
+
"name": "associatedBondingCurve";
|
|
991
|
+
"writable": true;
|
|
992
|
+
"pda": {
|
|
993
|
+
"seeds": [
|
|
777
994
|
{
|
|
778
|
-
kind: "account";
|
|
779
|
-
path: "bondingCurve";
|
|
995
|
+
"kind": "account";
|
|
996
|
+
"path": "bondingCurve";
|
|
780
997
|
},
|
|
781
998
|
{
|
|
782
|
-
kind: "const";
|
|
783
|
-
value: [
|
|
999
|
+
"kind": "const";
|
|
1000
|
+
"value": [
|
|
784
1001
|
6,
|
|
785
1002
|
221,
|
|
786
1003
|
246,
|
|
@@ -816,13 +1033,13 @@ type Pump = {
|
|
|
816
1033
|
];
|
|
817
1034
|
},
|
|
818
1035
|
{
|
|
819
|
-
kind: "account";
|
|
820
|
-
path: "mint";
|
|
1036
|
+
"kind": "account";
|
|
1037
|
+
"path": "mint";
|
|
821
1038
|
}
|
|
822
1039
|
];
|
|
823
|
-
program: {
|
|
824
|
-
kind: "const";
|
|
825
|
-
value: [
|
|
1040
|
+
"program": {
|
|
1041
|
+
"kind": "const";
|
|
1042
|
+
"value": [
|
|
826
1043
|
140,
|
|
827
1044
|
151,
|
|
828
1045
|
37,
|
|
@@ -860,61 +1077,69 @@ type Pump = {
|
|
|
860
1077
|
};
|
|
861
1078
|
},
|
|
862
1079
|
{
|
|
863
|
-
name: "user";
|
|
864
|
-
signer: true;
|
|
1080
|
+
"name": "user";
|
|
1081
|
+
"signer": true;
|
|
865
1082
|
},
|
|
866
1083
|
{
|
|
867
|
-
name: "systemProgram";
|
|
868
|
-
address: "11111111111111111111111111111111";
|
|
1084
|
+
"name": "systemProgram";
|
|
1085
|
+
"address": "11111111111111111111111111111111";
|
|
869
1086
|
},
|
|
870
1087
|
{
|
|
871
|
-
name: "tokenProgram";
|
|
872
|
-
address: "TokenkegQfeZyiNwAJbNbGKPFXCWuBvf9Ss623VQ5DA";
|
|
1088
|
+
"name": "tokenProgram";
|
|
1089
|
+
"address": "TokenkegQfeZyiNwAJbNbGKPFXCWuBvf9Ss623VQ5DA";
|
|
873
1090
|
},
|
|
874
1091
|
{
|
|
875
|
-
name: "pumpAmm";
|
|
876
|
-
address: "pAMMBay6oceH9fJKBRHGP5D4bD4sWpmSwMn52FMfXEA";
|
|
1092
|
+
"name": "pumpAmm";
|
|
1093
|
+
"address": "pAMMBay6oceH9fJKBRHGP5D4bD4sWpmSwMn52FMfXEA";
|
|
877
1094
|
},
|
|
878
1095
|
{
|
|
879
|
-
name: "pool";
|
|
880
|
-
writable: true;
|
|
881
|
-
pda: {
|
|
882
|
-
seeds: [
|
|
1096
|
+
"name": "pool";
|
|
1097
|
+
"writable": true;
|
|
1098
|
+
"pda": {
|
|
1099
|
+
"seeds": [
|
|
883
1100
|
{
|
|
884
|
-
kind: "const";
|
|
885
|
-
value: [
|
|
1101
|
+
"kind": "const";
|
|
1102
|
+
"value": [
|
|
1103
|
+
112,
|
|
1104
|
+
111,
|
|
1105
|
+
111,
|
|
1106
|
+
108
|
|
1107
|
+
];
|
|
886
1108
|
},
|
|
887
1109
|
{
|
|
888
|
-
kind: "const";
|
|
889
|
-
value: [
|
|
1110
|
+
"kind": "const";
|
|
1111
|
+
"value": [
|
|
1112
|
+
0,
|
|
1113
|
+
0
|
|
1114
|
+
];
|
|
890
1115
|
},
|
|
891
1116
|
{
|
|
892
|
-
kind: "account";
|
|
893
|
-
path: "poolAuthority";
|
|
1117
|
+
"kind": "account";
|
|
1118
|
+
"path": "poolAuthority";
|
|
894
1119
|
},
|
|
895
1120
|
{
|
|
896
|
-
kind: "account";
|
|
897
|
-
path: "mint";
|
|
1121
|
+
"kind": "account";
|
|
1122
|
+
"path": "mint";
|
|
898
1123
|
},
|
|
899
1124
|
{
|
|
900
|
-
kind: "account";
|
|
901
|
-
path: "wsolMint";
|
|
1125
|
+
"kind": "account";
|
|
1126
|
+
"path": "wsolMint";
|
|
902
1127
|
}
|
|
903
1128
|
];
|
|
904
|
-
program: {
|
|
905
|
-
kind: "account";
|
|
906
|
-
path: "pumpAmm";
|
|
1129
|
+
"program": {
|
|
1130
|
+
"kind": "account";
|
|
1131
|
+
"path": "pumpAmm";
|
|
907
1132
|
};
|
|
908
1133
|
};
|
|
909
1134
|
},
|
|
910
1135
|
{
|
|
911
|
-
name: "poolAuthority";
|
|
912
|
-
writable: true;
|
|
913
|
-
pda: {
|
|
914
|
-
seeds: [
|
|
1136
|
+
"name": "poolAuthority";
|
|
1137
|
+
"writable": true;
|
|
1138
|
+
"pda": {
|
|
1139
|
+
"seeds": [
|
|
915
1140
|
{
|
|
916
|
-
kind: "const";
|
|
917
|
-
value: [
|
|
1141
|
+
"kind": "const";
|
|
1142
|
+
"value": [
|
|
918
1143
|
112,
|
|
919
1144
|
111,
|
|
920
1145
|
111,
|
|
@@ -932,67 +1157,67 @@ type Pump = {
|
|
|
932
1157
|
];
|
|
933
1158
|
},
|
|
934
1159
|
{
|
|
935
|
-
kind: "account";
|
|
936
|
-
path: "mint";
|
|
1160
|
+
"kind": "account";
|
|
1161
|
+
"path": "mint";
|
|
937
1162
|
}
|
|
938
1163
|
];
|
|
939
1164
|
};
|
|
940
1165
|
},
|
|
941
1166
|
{
|
|
942
|
-
name: "poolAuthorityMintAccount";
|
|
943
|
-
writable: true;
|
|
944
|
-
pda: {
|
|
945
|
-
seeds: [
|
|
1167
|
+
"name": "poolAuthorityMintAccount";
|
|
1168
|
+
"writable": true;
|
|
1169
|
+
"pda": {
|
|
1170
|
+
"seeds": [
|
|
946
1171
|
{
|
|
947
|
-
kind: "account";
|
|
948
|
-
path: "poolAuthority";
|
|
1172
|
+
"kind": "account";
|
|
1173
|
+
"path": "poolAuthority";
|
|
949
1174
|
},
|
|
950
1175
|
{
|
|
951
|
-
kind: "account";
|
|
952
|
-
path: "tokenProgram";
|
|
1176
|
+
"kind": "account";
|
|
1177
|
+
"path": "tokenProgram";
|
|
953
1178
|
},
|
|
954
1179
|
{
|
|
955
|
-
kind: "account";
|
|
956
|
-
path: "mint";
|
|
1180
|
+
"kind": "account";
|
|
1181
|
+
"path": "mint";
|
|
957
1182
|
}
|
|
958
1183
|
];
|
|
959
|
-
program: {
|
|
960
|
-
kind: "account";
|
|
961
|
-
path: "associatedTokenProgram";
|
|
1184
|
+
"program": {
|
|
1185
|
+
"kind": "account";
|
|
1186
|
+
"path": "associatedTokenProgram";
|
|
962
1187
|
};
|
|
963
1188
|
};
|
|
964
1189
|
},
|
|
965
1190
|
{
|
|
966
|
-
name: "poolAuthorityWsolAccount";
|
|
967
|
-
writable: true;
|
|
968
|
-
pda: {
|
|
969
|
-
seeds: [
|
|
1191
|
+
"name": "poolAuthorityWsolAccount";
|
|
1192
|
+
"writable": true;
|
|
1193
|
+
"pda": {
|
|
1194
|
+
"seeds": [
|
|
970
1195
|
{
|
|
971
|
-
kind: "account";
|
|
972
|
-
path: "poolAuthority";
|
|
1196
|
+
"kind": "account";
|
|
1197
|
+
"path": "poolAuthority";
|
|
973
1198
|
},
|
|
974
1199
|
{
|
|
975
|
-
kind: "account";
|
|
976
|
-
path: "tokenProgram";
|
|
1200
|
+
"kind": "account";
|
|
1201
|
+
"path": "tokenProgram";
|
|
977
1202
|
},
|
|
978
1203
|
{
|
|
979
|
-
kind: "account";
|
|
980
|
-
path: "wsolMint";
|
|
1204
|
+
"kind": "account";
|
|
1205
|
+
"path": "wsolMint";
|
|
981
1206
|
}
|
|
982
1207
|
];
|
|
983
|
-
program: {
|
|
984
|
-
kind: "account";
|
|
985
|
-
path: "associatedTokenProgram";
|
|
1208
|
+
"program": {
|
|
1209
|
+
"kind": "account";
|
|
1210
|
+
"path": "associatedTokenProgram";
|
|
986
1211
|
};
|
|
987
1212
|
};
|
|
988
1213
|
},
|
|
989
1214
|
{
|
|
990
|
-
name: "ammGlobalConfig";
|
|
991
|
-
pda: {
|
|
992
|
-
seeds: [
|
|
1215
|
+
"name": "ammGlobalConfig";
|
|
1216
|
+
"pda": {
|
|
1217
|
+
"seeds": [
|
|
993
1218
|
{
|
|
994
|
-
kind: "const";
|
|
995
|
-
value: [
|
|
1219
|
+
"kind": "const";
|
|
1220
|
+
"value": [
|
|
996
1221
|
103,
|
|
997
1222
|
108,
|
|
998
1223
|
111,
|
|
@@ -1009,24 +1234,24 @@ type Pump = {
|
|
|
1009
1234
|
];
|
|
1010
1235
|
}
|
|
1011
1236
|
];
|
|
1012
|
-
program: {
|
|
1013
|
-
kind: "account";
|
|
1014
|
-
path: "pumpAmm";
|
|
1237
|
+
"program": {
|
|
1238
|
+
"kind": "account";
|
|
1239
|
+
"path": "pumpAmm";
|
|
1015
1240
|
};
|
|
1016
1241
|
};
|
|
1017
1242
|
},
|
|
1018
1243
|
{
|
|
1019
|
-
name: "wsolMint";
|
|
1020
|
-
address: "So11111111111111111111111111111111111111112";
|
|
1244
|
+
"name": "wsolMint";
|
|
1245
|
+
"address": "So11111111111111111111111111111111111111112";
|
|
1021
1246
|
},
|
|
1022
1247
|
{
|
|
1023
|
-
name: "lpMint";
|
|
1024
|
-
writable: true;
|
|
1025
|
-
pda: {
|
|
1026
|
-
seeds: [
|
|
1248
|
+
"name": "lpMint";
|
|
1249
|
+
"writable": true;
|
|
1250
|
+
"pda": {
|
|
1251
|
+
"seeds": [
|
|
1027
1252
|
{
|
|
1028
|
-
kind: "const";
|
|
1029
|
-
value: [
|
|
1253
|
+
"kind": "const";
|
|
1254
|
+
"value": [
|
|
1030
1255
|
112,
|
|
1031
1256
|
111,
|
|
1032
1257
|
111,
|
|
@@ -1042,103 +1267,103 @@ type Pump = {
|
|
|
1042
1267
|
];
|
|
1043
1268
|
},
|
|
1044
1269
|
{
|
|
1045
|
-
kind: "account";
|
|
1046
|
-
path: "pool";
|
|
1270
|
+
"kind": "account";
|
|
1271
|
+
"path": "pool";
|
|
1047
1272
|
}
|
|
1048
1273
|
];
|
|
1049
|
-
program: {
|
|
1050
|
-
kind: "account";
|
|
1051
|
-
path: "pumpAmm";
|
|
1274
|
+
"program": {
|
|
1275
|
+
"kind": "account";
|
|
1276
|
+
"path": "pumpAmm";
|
|
1052
1277
|
};
|
|
1053
1278
|
};
|
|
1054
1279
|
},
|
|
1055
1280
|
{
|
|
1056
|
-
name: "userPoolTokenAccount";
|
|
1057
|
-
writable: true;
|
|
1058
|
-
pda: {
|
|
1059
|
-
seeds: [
|
|
1281
|
+
"name": "userPoolTokenAccount";
|
|
1282
|
+
"writable": true;
|
|
1283
|
+
"pda": {
|
|
1284
|
+
"seeds": [
|
|
1060
1285
|
{
|
|
1061
|
-
kind: "account";
|
|
1062
|
-
path: "poolAuthority";
|
|
1286
|
+
"kind": "account";
|
|
1287
|
+
"path": "poolAuthority";
|
|
1063
1288
|
},
|
|
1064
1289
|
{
|
|
1065
|
-
kind: "account";
|
|
1066
|
-
path: "token2022Program";
|
|
1290
|
+
"kind": "account";
|
|
1291
|
+
"path": "token2022Program";
|
|
1067
1292
|
},
|
|
1068
1293
|
{
|
|
1069
|
-
kind: "account";
|
|
1070
|
-
path: "lpMint";
|
|
1294
|
+
"kind": "account";
|
|
1295
|
+
"path": "lpMint";
|
|
1071
1296
|
}
|
|
1072
1297
|
];
|
|
1073
|
-
program: {
|
|
1074
|
-
kind: "account";
|
|
1075
|
-
path: "associatedTokenProgram";
|
|
1298
|
+
"program": {
|
|
1299
|
+
"kind": "account";
|
|
1300
|
+
"path": "associatedTokenProgram";
|
|
1076
1301
|
};
|
|
1077
1302
|
};
|
|
1078
1303
|
},
|
|
1079
1304
|
{
|
|
1080
|
-
name: "poolBaseTokenAccount";
|
|
1081
|
-
writable: true;
|
|
1082
|
-
pda: {
|
|
1083
|
-
seeds: [
|
|
1305
|
+
"name": "poolBaseTokenAccount";
|
|
1306
|
+
"writable": true;
|
|
1307
|
+
"pda": {
|
|
1308
|
+
"seeds": [
|
|
1084
1309
|
{
|
|
1085
|
-
kind: "account";
|
|
1086
|
-
path: "pool";
|
|
1310
|
+
"kind": "account";
|
|
1311
|
+
"path": "pool";
|
|
1087
1312
|
},
|
|
1088
1313
|
{
|
|
1089
|
-
kind: "account";
|
|
1090
|
-
path: "tokenProgram";
|
|
1314
|
+
"kind": "account";
|
|
1315
|
+
"path": "tokenProgram";
|
|
1091
1316
|
},
|
|
1092
1317
|
{
|
|
1093
|
-
kind: "account";
|
|
1094
|
-
path: "mint";
|
|
1318
|
+
"kind": "account";
|
|
1319
|
+
"path": "mint";
|
|
1095
1320
|
}
|
|
1096
1321
|
];
|
|
1097
|
-
program: {
|
|
1098
|
-
kind: "account";
|
|
1099
|
-
path: "associatedTokenProgram";
|
|
1322
|
+
"program": {
|
|
1323
|
+
"kind": "account";
|
|
1324
|
+
"path": "associatedTokenProgram";
|
|
1100
1325
|
};
|
|
1101
1326
|
};
|
|
1102
1327
|
},
|
|
1103
1328
|
{
|
|
1104
|
-
name: "poolQuoteTokenAccount";
|
|
1105
|
-
writable: true;
|
|
1106
|
-
pda: {
|
|
1107
|
-
seeds: [
|
|
1329
|
+
"name": "poolQuoteTokenAccount";
|
|
1330
|
+
"writable": true;
|
|
1331
|
+
"pda": {
|
|
1332
|
+
"seeds": [
|
|
1108
1333
|
{
|
|
1109
|
-
kind: "account";
|
|
1110
|
-
path: "pool";
|
|
1334
|
+
"kind": "account";
|
|
1335
|
+
"path": "pool";
|
|
1111
1336
|
},
|
|
1112
1337
|
{
|
|
1113
|
-
kind: "account";
|
|
1114
|
-
path: "tokenProgram";
|
|
1338
|
+
"kind": "account";
|
|
1339
|
+
"path": "tokenProgram";
|
|
1115
1340
|
},
|
|
1116
1341
|
{
|
|
1117
|
-
kind: "account";
|
|
1118
|
-
path: "wsolMint";
|
|
1342
|
+
"kind": "account";
|
|
1343
|
+
"path": "wsolMint";
|
|
1119
1344
|
}
|
|
1120
1345
|
];
|
|
1121
|
-
program: {
|
|
1122
|
-
kind: "account";
|
|
1123
|
-
path: "associatedTokenProgram";
|
|
1346
|
+
"program": {
|
|
1347
|
+
"kind": "account";
|
|
1348
|
+
"path": "associatedTokenProgram";
|
|
1124
1349
|
};
|
|
1125
1350
|
};
|
|
1126
1351
|
},
|
|
1127
1352
|
{
|
|
1128
|
-
name: "token2022Program";
|
|
1129
|
-
address: "TokenzQdBNbLqP5VEhdkAS6EPFLC1PHnBqCXEpPxuEb";
|
|
1353
|
+
"name": "token2022Program";
|
|
1354
|
+
"address": "TokenzQdBNbLqP5VEhdkAS6EPFLC1PHnBqCXEpPxuEb";
|
|
1130
1355
|
},
|
|
1131
1356
|
{
|
|
1132
|
-
name: "associatedTokenProgram";
|
|
1133
|
-
address: "ATokenGPvbdGVxr1b2hvZbsiqW5xWH25efTNsLJA8knL";
|
|
1357
|
+
"name": "associatedTokenProgram";
|
|
1358
|
+
"address": "ATokenGPvbdGVxr1b2hvZbsiqW5xWH25efTNsLJA8knL";
|
|
1134
1359
|
},
|
|
1135
1360
|
{
|
|
1136
|
-
name: "pumpAmmEventAuthority";
|
|
1137
|
-
pda: {
|
|
1138
|
-
seeds: [
|
|
1361
|
+
"name": "pumpAmmEventAuthority";
|
|
1362
|
+
"pda": {
|
|
1363
|
+
"seeds": [
|
|
1139
1364
|
{
|
|
1140
|
-
kind: "const";
|
|
1141
|
-
value: [
|
|
1365
|
+
"kind": "const";
|
|
1366
|
+
"value": [
|
|
1142
1367
|
95,
|
|
1143
1368
|
95,
|
|
1144
1369
|
101,
|
|
@@ -1159,19 +1384,19 @@ type Pump = {
|
|
|
1159
1384
|
];
|
|
1160
1385
|
}
|
|
1161
1386
|
];
|
|
1162
|
-
program: {
|
|
1163
|
-
kind: "account";
|
|
1164
|
-
path: "pumpAmm";
|
|
1387
|
+
"program": {
|
|
1388
|
+
"kind": "account";
|
|
1389
|
+
"path": "pumpAmm";
|
|
1165
1390
|
};
|
|
1166
1391
|
};
|
|
1167
1392
|
},
|
|
1168
1393
|
{
|
|
1169
|
-
name: "eventAuthority";
|
|
1170
|
-
pda: {
|
|
1171
|
-
seeds: [
|
|
1394
|
+
"name": "eventAuthority";
|
|
1395
|
+
"pda": {
|
|
1396
|
+
"seeds": [
|
|
1172
1397
|
{
|
|
1173
|
-
kind: "const";
|
|
1174
|
-
value: [
|
|
1398
|
+
"kind": "const";
|
|
1399
|
+
"value": [
|
|
1175
1400
|
95,
|
|
1176
1401
|
95,
|
|
1177
1402
|
101,
|
|
@@ -1195,42 +1420,60 @@ type Pump = {
|
|
|
1195
1420
|
};
|
|
1196
1421
|
},
|
|
1197
1422
|
{
|
|
1198
|
-
name: "program";
|
|
1423
|
+
"name": "program";
|
|
1199
1424
|
}
|
|
1200
1425
|
];
|
|
1201
|
-
args: [];
|
|
1426
|
+
"args": [];
|
|
1202
1427
|
},
|
|
1203
1428
|
{
|
|
1204
|
-
name: "sell";
|
|
1205
|
-
docs: [
|
|
1206
|
-
|
|
1207
|
-
|
|
1429
|
+
"name": "sell";
|
|
1430
|
+
"docs": [
|
|
1431
|
+
"Sells tokens into a bonding curve."
|
|
1432
|
+
];
|
|
1433
|
+
"discriminator": [
|
|
1434
|
+
51,
|
|
1435
|
+
230,
|
|
1436
|
+
133,
|
|
1437
|
+
164,
|
|
1438
|
+
1,
|
|
1439
|
+
127,
|
|
1440
|
+
131,
|
|
1441
|
+
173
|
|
1442
|
+
];
|
|
1443
|
+
"accounts": [
|
|
1208
1444
|
{
|
|
1209
|
-
name: "global";
|
|
1210
|
-
pda: {
|
|
1211
|
-
seeds: [
|
|
1445
|
+
"name": "global";
|
|
1446
|
+
"pda": {
|
|
1447
|
+
"seeds": [
|
|
1212
1448
|
{
|
|
1213
|
-
kind: "const";
|
|
1214
|
-
value: [
|
|
1449
|
+
"kind": "const";
|
|
1450
|
+
"value": [
|
|
1451
|
+
103,
|
|
1452
|
+
108,
|
|
1453
|
+
111,
|
|
1454
|
+
98,
|
|
1455
|
+
97,
|
|
1456
|
+
108
|
|
1457
|
+
];
|
|
1215
1458
|
}
|
|
1216
1459
|
];
|
|
1217
1460
|
};
|
|
1218
1461
|
},
|
|
1219
1462
|
{
|
|
1220
|
-
name: "feeRecipient";
|
|
1221
|
-
writable: true;
|
|
1463
|
+
"name": "feeRecipient";
|
|
1464
|
+
"writable": true;
|
|
1222
1465
|
},
|
|
1223
1466
|
{
|
|
1224
|
-
name: "mint";
|
|
1467
|
+
"name": "mint";
|
|
1225
1468
|
},
|
|
1226
1469
|
{
|
|
1227
|
-
name: "bondingCurve";
|
|
1228
|
-
writable: true;
|
|
1229
|
-
pda: {
|
|
1230
|
-
seeds: [
|
|
1470
|
+
"name": "bondingCurve";
|
|
1471
|
+
"writable": true;
|
|
1472
|
+
"pda": {
|
|
1473
|
+
"seeds": [
|
|
1231
1474
|
{
|
|
1232
|
-
kind: "const";
|
|
1233
|
-
value: [
|
|
1475
|
+
"kind": "const";
|
|
1476
|
+
"value": [
|
|
1234
1477
|
98,
|
|
1235
1478
|
111,
|
|
1236
1479
|
110,
|
|
@@ -1247,24 +1490,24 @@ type Pump = {
|
|
|
1247
1490
|
];
|
|
1248
1491
|
},
|
|
1249
1492
|
{
|
|
1250
|
-
kind: "account";
|
|
1251
|
-
path: "mint";
|
|
1493
|
+
"kind": "account";
|
|
1494
|
+
"path": "mint";
|
|
1252
1495
|
}
|
|
1253
1496
|
];
|
|
1254
1497
|
};
|
|
1255
1498
|
},
|
|
1256
1499
|
{
|
|
1257
|
-
name: "associatedBondingCurve";
|
|
1258
|
-
writable: true;
|
|
1259
|
-
pda: {
|
|
1260
|
-
seeds: [
|
|
1500
|
+
"name": "associatedBondingCurve";
|
|
1501
|
+
"writable": true;
|
|
1502
|
+
"pda": {
|
|
1503
|
+
"seeds": [
|
|
1261
1504
|
{
|
|
1262
|
-
kind: "account";
|
|
1263
|
-
path: "bondingCurve";
|
|
1505
|
+
"kind": "account";
|
|
1506
|
+
"path": "bondingCurve";
|
|
1264
1507
|
},
|
|
1265
1508
|
{
|
|
1266
|
-
kind: "const";
|
|
1267
|
-
value: [
|
|
1509
|
+
"kind": "const";
|
|
1510
|
+
"value": [
|
|
1268
1511
|
6,
|
|
1269
1512
|
221,
|
|
1270
1513
|
246,
|
|
@@ -1300,13 +1543,13 @@ type Pump = {
|
|
|
1300
1543
|
];
|
|
1301
1544
|
},
|
|
1302
1545
|
{
|
|
1303
|
-
kind: "account";
|
|
1304
|
-
path: "mint";
|
|
1546
|
+
"kind": "account";
|
|
1547
|
+
"path": "mint";
|
|
1305
1548
|
}
|
|
1306
1549
|
];
|
|
1307
|
-
program: {
|
|
1308
|
-
kind: "const";
|
|
1309
|
-
value: [
|
|
1550
|
+
"program": {
|
|
1551
|
+
"kind": "const";
|
|
1552
|
+
"value": [
|
|
1310
1553
|
140,
|
|
1311
1554
|
151,
|
|
1312
1555
|
37,
|
|
@@ -1344,26 +1587,26 @@ type Pump = {
|
|
|
1344
1587
|
};
|
|
1345
1588
|
},
|
|
1346
1589
|
{
|
|
1347
|
-
name: "associatedUser";
|
|
1348
|
-
writable: true;
|
|
1590
|
+
"name": "associatedUser";
|
|
1591
|
+
"writable": true;
|
|
1349
1592
|
},
|
|
1350
1593
|
{
|
|
1351
|
-
name: "user";
|
|
1352
|
-
writable: true;
|
|
1353
|
-
signer: true;
|
|
1594
|
+
"name": "user";
|
|
1595
|
+
"writable": true;
|
|
1596
|
+
"signer": true;
|
|
1354
1597
|
},
|
|
1355
1598
|
{
|
|
1356
|
-
name: "systemProgram";
|
|
1357
|
-
address: "11111111111111111111111111111111";
|
|
1599
|
+
"name": "systemProgram";
|
|
1600
|
+
"address": "11111111111111111111111111111111";
|
|
1358
1601
|
},
|
|
1359
1602
|
{
|
|
1360
|
-
name: "creatorVault";
|
|
1361
|
-
writable: true;
|
|
1362
|
-
pda: {
|
|
1363
|
-
seeds: [
|
|
1603
|
+
"name": "creatorVault";
|
|
1604
|
+
"writable": true;
|
|
1605
|
+
"pda": {
|
|
1606
|
+
"seeds": [
|
|
1364
1607
|
{
|
|
1365
|
-
kind: "const";
|
|
1366
|
-
value: [
|
|
1608
|
+
"kind": "const";
|
|
1609
|
+
"value": [
|
|
1367
1610
|
99,
|
|
1368
1611
|
114,
|
|
1369
1612
|
101,
|
|
@@ -1380,24 +1623,24 @@ type Pump = {
|
|
|
1380
1623
|
];
|
|
1381
1624
|
},
|
|
1382
1625
|
{
|
|
1383
|
-
kind: "account";
|
|
1384
|
-
path: "bonding_curve.creator";
|
|
1385
|
-
account: "bondingCurve";
|
|
1626
|
+
"kind": "account";
|
|
1627
|
+
"path": "bonding_curve.creator";
|
|
1628
|
+
"account": "bondingCurve";
|
|
1386
1629
|
}
|
|
1387
1630
|
];
|
|
1388
1631
|
};
|
|
1389
1632
|
},
|
|
1390
1633
|
{
|
|
1391
|
-
name: "tokenProgram";
|
|
1392
|
-
address: "TokenkegQfeZyiNwAJbNbGKPFXCWuBvf9Ss623VQ5DA";
|
|
1634
|
+
"name": "tokenProgram";
|
|
1635
|
+
"address": "TokenkegQfeZyiNwAJbNbGKPFXCWuBvf9Ss623VQ5DA";
|
|
1393
1636
|
},
|
|
1394
1637
|
{
|
|
1395
|
-
name: "eventAuthority";
|
|
1396
|
-
pda: {
|
|
1397
|
-
seeds: [
|
|
1638
|
+
"name": "eventAuthority";
|
|
1639
|
+
"pda": {
|
|
1640
|
+
"seeds": [
|
|
1398
1641
|
{
|
|
1399
|
-
kind: "const";
|
|
1400
|
-
value: [
|
|
1642
|
+
"kind": "const";
|
|
1643
|
+
"value": [
|
|
1401
1644
|
95,
|
|
1402
1645
|
95,
|
|
1403
1646
|
101,
|
|
@@ -1421,57 +1664,84 @@ type Pump = {
|
|
|
1421
1664
|
};
|
|
1422
1665
|
},
|
|
1423
1666
|
{
|
|
1424
|
-
name: "program";
|
|
1667
|
+
"name": "program";
|
|
1425
1668
|
}
|
|
1426
1669
|
];
|
|
1427
|
-
args: [
|
|
1670
|
+
"args": [
|
|
1428
1671
|
{
|
|
1429
|
-
name: "amount";
|
|
1430
|
-
type: "u64";
|
|
1672
|
+
"name": "amount";
|
|
1673
|
+
"type": "u64";
|
|
1431
1674
|
},
|
|
1432
1675
|
{
|
|
1433
|
-
name: "minSolOutput";
|
|
1434
|
-
type: "u64";
|
|
1676
|
+
"name": "minSolOutput";
|
|
1677
|
+
"type": "u64";
|
|
1435
1678
|
}
|
|
1436
1679
|
];
|
|
1437
1680
|
},
|
|
1438
1681
|
{
|
|
1439
|
-
name: "setCreator";
|
|
1440
|
-
docs: [
|
|
1682
|
+
"name": "setCreator";
|
|
1683
|
+
"docs": [
|
|
1441
1684
|
"Allows Global::set_creator_authority to set the bonding curve creator from Metaplex metadata or input argument"
|
|
1442
1685
|
];
|
|
1443
|
-
discriminator: [
|
|
1444
|
-
|
|
1686
|
+
"discriminator": [
|
|
1687
|
+
254,
|
|
1688
|
+
148,
|
|
1689
|
+
255,
|
|
1690
|
+
112,
|
|
1691
|
+
207,
|
|
1692
|
+
142,
|
|
1693
|
+
170,
|
|
1694
|
+
165
|
|
1695
|
+
];
|
|
1696
|
+
"accounts": [
|
|
1445
1697
|
{
|
|
1446
|
-
name: "setCreatorAuthority";
|
|
1447
|
-
signer: true;
|
|
1448
|
-
relations: [
|
|
1698
|
+
"name": "setCreatorAuthority";
|
|
1699
|
+
"signer": true;
|
|
1700
|
+
"relations": [
|
|
1701
|
+
"global"
|
|
1702
|
+
];
|
|
1449
1703
|
},
|
|
1450
1704
|
{
|
|
1451
|
-
name: "global";
|
|
1452
|
-
pda: {
|
|
1453
|
-
seeds: [
|
|
1705
|
+
"name": "global";
|
|
1706
|
+
"pda": {
|
|
1707
|
+
"seeds": [
|
|
1454
1708
|
{
|
|
1455
|
-
kind: "const";
|
|
1456
|
-
value: [
|
|
1709
|
+
"kind": "const";
|
|
1710
|
+
"value": [
|
|
1711
|
+
103,
|
|
1712
|
+
108,
|
|
1713
|
+
111,
|
|
1714
|
+
98,
|
|
1715
|
+
97,
|
|
1716
|
+
108
|
|
1717
|
+
];
|
|
1457
1718
|
}
|
|
1458
1719
|
];
|
|
1459
1720
|
};
|
|
1460
1721
|
},
|
|
1461
1722
|
{
|
|
1462
|
-
name: "mint";
|
|
1723
|
+
"name": "mint";
|
|
1463
1724
|
},
|
|
1464
1725
|
{
|
|
1465
|
-
name: "metadata";
|
|
1466
|
-
pda: {
|
|
1467
|
-
seeds: [
|
|
1726
|
+
"name": "metadata";
|
|
1727
|
+
"pda": {
|
|
1728
|
+
"seeds": [
|
|
1468
1729
|
{
|
|
1469
|
-
kind: "const";
|
|
1470
|
-
value: [
|
|
1730
|
+
"kind": "const";
|
|
1731
|
+
"value": [
|
|
1732
|
+
109,
|
|
1733
|
+
101,
|
|
1734
|
+
116,
|
|
1735
|
+
97,
|
|
1736
|
+
100,
|
|
1737
|
+
97,
|
|
1738
|
+
116,
|
|
1739
|
+
97
|
|
1740
|
+
];
|
|
1471
1741
|
},
|
|
1472
1742
|
{
|
|
1473
|
-
kind: "const";
|
|
1474
|
-
value: [
|
|
1743
|
+
"kind": "const";
|
|
1744
|
+
"value": [
|
|
1475
1745
|
11,
|
|
1476
1746
|
112,
|
|
1477
1747
|
101,
|
|
@@ -1507,13 +1777,13 @@ type Pump = {
|
|
|
1507
1777
|
];
|
|
1508
1778
|
},
|
|
1509
1779
|
{
|
|
1510
|
-
kind: "account";
|
|
1511
|
-
path: "mint";
|
|
1780
|
+
"kind": "account";
|
|
1781
|
+
"path": "mint";
|
|
1512
1782
|
}
|
|
1513
1783
|
];
|
|
1514
|
-
program: {
|
|
1515
|
-
kind: "const";
|
|
1516
|
-
value: [
|
|
1784
|
+
"program": {
|
|
1785
|
+
"kind": "const";
|
|
1786
|
+
"value": [
|
|
1517
1787
|
11,
|
|
1518
1788
|
112,
|
|
1519
1789
|
101,
|
|
@@ -1551,13 +1821,13 @@ type Pump = {
|
|
|
1551
1821
|
};
|
|
1552
1822
|
},
|
|
1553
1823
|
{
|
|
1554
|
-
name: "bondingCurve";
|
|
1555
|
-
writable: true;
|
|
1556
|
-
pda: {
|
|
1557
|
-
seeds: [
|
|
1824
|
+
"name": "bondingCurve";
|
|
1825
|
+
"writable": true;
|
|
1826
|
+
"pda": {
|
|
1827
|
+
"seeds": [
|
|
1558
1828
|
{
|
|
1559
|
-
kind: "const";
|
|
1560
|
-
value: [
|
|
1829
|
+
"kind": "const";
|
|
1830
|
+
"value": [
|
|
1561
1831
|
98,
|
|
1562
1832
|
111,
|
|
1563
1833
|
110,
|
|
@@ -1574,19 +1844,19 @@ type Pump = {
|
|
|
1574
1844
|
];
|
|
1575
1845
|
},
|
|
1576
1846
|
{
|
|
1577
|
-
kind: "account";
|
|
1578
|
-
path: "mint";
|
|
1847
|
+
"kind": "account";
|
|
1848
|
+
"path": "mint";
|
|
1579
1849
|
}
|
|
1580
1850
|
];
|
|
1581
1851
|
};
|
|
1582
1852
|
},
|
|
1583
1853
|
{
|
|
1584
|
-
name: "eventAuthority";
|
|
1585
|
-
pda: {
|
|
1586
|
-
seeds: [
|
|
1854
|
+
"name": "eventAuthority";
|
|
1855
|
+
"pda": {
|
|
1856
|
+
"seeds": [
|
|
1587
1857
|
{
|
|
1588
|
-
kind: "const";
|
|
1589
|
-
value: [
|
|
1858
|
+
"kind": "const";
|
|
1859
|
+
"value": [
|
|
1590
1860
|
95,
|
|
1591
1861
|
95,
|
|
1592
1862
|
101,
|
|
@@ -1610,37 +1880,55 @@ type Pump = {
|
|
|
1610
1880
|
};
|
|
1611
1881
|
},
|
|
1612
1882
|
{
|
|
1613
|
-
name: "program";
|
|
1883
|
+
"name": "program";
|
|
1614
1884
|
}
|
|
1615
1885
|
];
|
|
1616
|
-
args: [
|
|
1886
|
+
"args": [
|
|
1617
1887
|
{
|
|
1618
|
-
name: "creator";
|
|
1619
|
-
type: "pubkey";
|
|
1888
|
+
"name": "creator";
|
|
1889
|
+
"type": "pubkey";
|
|
1620
1890
|
}
|
|
1621
1891
|
];
|
|
1622
1892
|
},
|
|
1623
1893
|
{
|
|
1624
|
-
name: "setMetaplexCreator";
|
|
1625
|
-
docs: [
|
|
1894
|
+
"name": "setMetaplexCreator";
|
|
1895
|
+
"docs": [
|
|
1626
1896
|
"Syncs the bonding curve creator with the Metaplex metadata creator if it exists"
|
|
1627
1897
|
];
|
|
1628
|
-
discriminator: [
|
|
1629
|
-
|
|
1898
|
+
"discriminator": [
|
|
1899
|
+
138,
|
|
1900
|
+
96,
|
|
1901
|
+
174,
|
|
1902
|
+
217,
|
|
1903
|
+
48,
|
|
1904
|
+
85,
|
|
1905
|
+
197,
|
|
1906
|
+
246
|
|
1907
|
+
];
|
|
1908
|
+
"accounts": [
|
|
1630
1909
|
{
|
|
1631
|
-
name: "mint";
|
|
1910
|
+
"name": "mint";
|
|
1632
1911
|
},
|
|
1633
1912
|
{
|
|
1634
|
-
name: "metadata";
|
|
1635
|
-
pda: {
|
|
1636
|
-
seeds: [
|
|
1913
|
+
"name": "metadata";
|
|
1914
|
+
"pda": {
|
|
1915
|
+
"seeds": [
|
|
1637
1916
|
{
|
|
1638
|
-
kind: "const";
|
|
1639
|
-
value: [
|
|
1917
|
+
"kind": "const";
|
|
1918
|
+
"value": [
|
|
1919
|
+
109,
|
|
1920
|
+
101,
|
|
1921
|
+
116,
|
|
1922
|
+
97,
|
|
1923
|
+
100,
|
|
1924
|
+
97,
|
|
1925
|
+
116,
|
|
1926
|
+
97
|
|
1927
|
+
];
|
|
1640
1928
|
},
|
|
1641
1929
|
{
|
|
1642
|
-
kind: "const";
|
|
1643
|
-
value: [
|
|
1930
|
+
"kind": "const";
|
|
1931
|
+
"value": [
|
|
1644
1932
|
11,
|
|
1645
1933
|
112,
|
|
1646
1934
|
101,
|
|
@@ -1676,13 +1964,13 @@ type Pump = {
|
|
|
1676
1964
|
];
|
|
1677
1965
|
},
|
|
1678
1966
|
{
|
|
1679
|
-
kind: "account";
|
|
1680
|
-
path: "mint";
|
|
1967
|
+
"kind": "account";
|
|
1968
|
+
"path": "mint";
|
|
1681
1969
|
}
|
|
1682
1970
|
];
|
|
1683
|
-
program: {
|
|
1684
|
-
kind: "const";
|
|
1685
|
-
value: [
|
|
1971
|
+
"program": {
|
|
1972
|
+
"kind": "const";
|
|
1973
|
+
"value": [
|
|
1686
1974
|
11,
|
|
1687
1975
|
112,
|
|
1688
1976
|
101,
|
|
@@ -1720,13 +2008,13 @@ type Pump = {
|
|
|
1720
2008
|
};
|
|
1721
2009
|
},
|
|
1722
2010
|
{
|
|
1723
|
-
name: "bondingCurve";
|
|
1724
|
-
writable: true;
|
|
1725
|
-
pda: {
|
|
1726
|
-
seeds: [
|
|
2011
|
+
"name": "bondingCurve";
|
|
2012
|
+
"writable": true;
|
|
2013
|
+
"pda": {
|
|
2014
|
+
"seeds": [
|
|
1727
2015
|
{
|
|
1728
|
-
kind: "const";
|
|
1729
|
-
value: [
|
|
2016
|
+
"kind": "const";
|
|
2017
|
+
"value": [
|
|
1730
2018
|
98,
|
|
1731
2019
|
111,
|
|
1732
2020
|
110,
|
|
@@ -1743,19 +2031,19 @@ type Pump = {
|
|
|
1743
2031
|
];
|
|
1744
2032
|
},
|
|
1745
2033
|
{
|
|
1746
|
-
kind: "account";
|
|
1747
|
-
path: "mint";
|
|
2034
|
+
"kind": "account";
|
|
2035
|
+
"path": "mint";
|
|
1748
2036
|
}
|
|
1749
2037
|
];
|
|
1750
2038
|
};
|
|
1751
2039
|
},
|
|
1752
2040
|
{
|
|
1753
|
-
name: "eventAuthority";
|
|
1754
|
-
pda: {
|
|
1755
|
-
seeds: [
|
|
2041
|
+
"name": "eventAuthority";
|
|
2042
|
+
"pda": {
|
|
2043
|
+
"seeds": [
|
|
1756
2044
|
{
|
|
1757
|
-
kind: "const";
|
|
1758
|
-
value: [
|
|
2045
|
+
"kind": "const";
|
|
2046
|
+
"value": [
|
|
1759
2047
|
95,
|
|
1760
2048
|
95,
|
|
1761
2049
|
101,
|
|
@@ -1779,41 +2067,61 @@ type Pump = {
|
|
|
1779
2067
|
};
|
|
1780
2068
|
},
|
|
1781
2069
|
{
|
|
1782
|
-
name: "program";
|
|
2070
|
+
"name": "program";
|
|
1783
2071
|
}
|
|
1784
2072
|
];
|
|
1785
|
-
args: [];
|
|
2073
|
+
"args": [];
|
|
1786
2074
|
},
|
|
1787
2075
|
{
|
|
1788
|
-
name: "setParams";
|
|
1789
|
-
docs: [
|
|
1790
|
-
|
|
1791
|
-
|
|
2076
|
+
"name": "setParams";
|
|
2077
|
+
"docs": [
|
|
2078
|
+
"Sets the global state parameters."
|
|
2079
|
+
];
|
|
2080
|
+
"discriminator": [
|
|
2081
|
+
27,
|
|
2082
|
+
234,
|
|
2083
|
+
178,
|
|
2084
|
+
52,
|
|
2085
|
+
147,
|
|
2086
|
+
2,
|
|
2087
|
+
187,
|
|
2088
|
+
141
|
|
2089
|
+
];
|
|
2090
|
+
"accounts": [
|
|
1792
2091
|
{
|
|
1793
|
-
name: "global";
|
|
1794
|
-
writable: true;
|
|
1795
|
-
pda: {
|
|
1796
|
-
seeds: [
|
|
2092
|
+
"name": "global";
|
|
2093
|
+
"writable": true;
|
|
2094
|
+
"pda": {
|
|
2095
|
+
"seeds": [
|
|
1797
2096
|
{
|
|
1798
|
-
kind: "const";
|
|
1799
|
-
value: [
|
|
2097
|
+
"kind": "const";
|
|
2098
|
+
"value": [
|
|
2099
|
+
103,
|
|
2100
|
+
108,
|
|
2101
|
+
111,
|
|
2102
|
+
98,
|
|
2103
|
+
97,
|
|
2104
|
+
108
|
|
2105
|
+
];
|
|
1800
2106
|
}
|
|
1801
2107
|
];
|
|
1802
2108
|
};
|
|
1803
2109
|
},
|
|
1804
2110
|
{
|
|
1805
|
-
name: "authority";
|
|
1806
|
-
writable: true;
|
|
1807
|
-
signer: true;
|
|
1808
|
-
relations: [
|
|
2111
|
+
"name": "authority";
|
|
2112
|
+
"writable": true;
|
|
2113
|
+
"signer": true;
|
|
2114
|
+
"relations": [
|
|
2115
|
+
"global"
|
|
2116
|
+
];
|
|
1809
2117
|
},
|
|
1810
2118
|
{
|
|
1811
|
-
name: "eventAuthority";
|
|
1812
|
-
pda: {
|
|
1813
|
-
seeds: [
|
|
2119
|
+
"name": "eventAuthority";
|
|
2120
|
+
"pda": {
|
|
2121
|
+
"seeds": [
|
|
1814
2122
|
{
|
|
1815
|
-
kind: "const";
|
|
1816
|
-
value: [
|
|
2123
|
+
"kind": "const";
|
|
2124
|
+
"value": [
|
|
1817
2125
|
95,
|
|
1818
2126
|
95,
|
|
1819
2127
|
101,
|
|
@@ -1837,83 +2145,105 @@ type Pump = {
|
|
|
1837
2145
|
};
|
|
1838
2146
|
},
|
|
1839
2147
|
{
|
|
1840
|
-
name: "program";
|
|
2148
|
+
"name": "program";
|
|
1841
2149
|
}
|
|
1842
2150
|
];
|
|
1843
|
-
args: [
|
|
2151
|
+
"args": [
|
|
1844
2152
|
{
|
|
1845
|
-
name: "initialVirtualTokenReserves";
|
|
1846
|
-
type: "u64";
|
|
2153
|
+
"name": "initialVirtualTokenReserves";
|
|
2154
|
+
"type": "u64";
|
|
1847
2155
|
},
|
|
1848
2156
|
{
|
|
1849
|
-
name: "initialVirtualSolReserves";
|
|
1850
|
-
type: "u64";
|
|
2157
|
+
"name": "initialVirtualSolReserves";
|
|
2158
|
+
"type": "u64";
|
|
1851
2159
|
},
|
|
1852
2160
|
{
|
|
1853
|
-
name: "initialRealTokenReserves";
|
|
1854
|
-
type: "u64";
|
|
2161
|
+
"name": "initialRealTokenReserves";
|
|
2162
|
+
"type": "u64";
|
|
1855
2163
|
},
|
|
1856
2164
|
{
|
|
1857
|
-
name: "tokenTotalSupply";
|
|
1858
|
-
type: "u64";
|
|
2165
|
+
"name": "tokenTotalSupply";
|
|
2166
|
+
"type": "u64";
|
|
1859
2167
|
},
|
|
1860
2168
|
{
|
|
1861
|
-
name: "feeBasisPoints";
|
|
1862
|
-
type: "u64";
|
|
2169
|
+
"name": "feeBasisPoints";
|
|
2170
|
+
"type": "u64";
|
|
1863
2171
|
},
|
|
1864
2172
|
{
|
|
1865
|
-
name: "withdrawAuthority";
|
|
1866
|
-
type: "pubkey";
|
|
2173
|
+
"name": "withdrawAuthority";
|
|
2174
|
+
"type": "pubkey";
|
|
1867
2175
|
},
|
|
1868
2176
|
{
|
|
1869
|
-
name: "enableMigrate";
|
|
1870
|
-
type: "bool";
|
|
2177
|
+
"name": "enableMigrate";
|
|
2178
|
+
"type": "bool";
|
|
1871
2179
|
},
|
|
1872
2180
|
{
|
|
1873
|
-
name: "poolMigrationFee";
|
|
1874
|
-
type: "u64";
|
|
2181
|
+
"name": "poolMigrationFee";
|
|
2182
|
+
"type": "u64";
|
|
1875
2183
|
},
|
|
1876
2184
|
{
|
|
1877
|
-
name: "creatorFeeBasisPoints";
|
|
1878
|
-
type: "u64";
|
|
2185
|
+
"name": "creatorFeeBasisPoints";
|
|
2186
|
+
"type": "u64";
|
|
1879
2187
|
},
|
|
1880
2188
|
{
|
|
1881
|
-
name: "setCreatorAuthority";
|
|
1882
|
-
type: "pubkey";
|
|
2189
|
+
"name": "setCreatorAuthority";
|
|
2190
|
+
"type": "pubkey";
|
|
2191
|
+
},
|
|
2192
|
+
{
|
|
2193
|
+
"name": "adminSetCreatorAuthority";
|
|
2194
|
+
"type": "pubkey";
|
|
1883
2195
|
}
|
|
1884
2196
|
];
|
|
1885
2197
|
},
|
|
1886
2198
|
{
|
|
1887
|
-
name: "updateGlobalAuthority";
|
|
1888
|
-
discriminator: [
|
|
1889
|
-
|
|
2199
|
+
"name": "updateGlobalAuthority";
|
|
2200
|
+
"discriminator": [
|
|
2201
|
+
227,
|
|
2202
|
+
181,
|
|
2203
|
+
74,
|
|
2204
|
+
196,
|
|
2205
|
+
208,
|
|
2206
|
+
21,
|
|
2207
|
+
97,
|
|
2208
|
+
213
|
|
2209
|
+
];
|
|
2210
|
+
"accounts": [
|
|
1890
2211
|
{
|
|
1891
|
-
name: "global";
|
|
1892
|
-
writable: true;
|
|
1893
|
-
pda: {
|
|
1894
|
-
seeds: [
|
|
2212
|
+
"name": "global";
|
|
2213
|
+
"writable": true;
|
|
2214
|
+
"pda": {
|
|
2215
|
+
"seeds": [
|
|
1895
2216
|
{
|
|
1896
|
-
kind: "const";
|
|
1897
|
-
value: [
|
|
2217
|
+
"kind": "const";
|
|
2218
|
+
"value": [
|
|
2219
|
+
103,
|
|
2220
|
+
108,
|
|
2221
|
+
111,
|
|
2222
|
+
98,
|
|
2223
|
+
97,
|
|
2224
|
+
108
|
|
2225
|
+
];
|
|
1898
2226
|
}
|
|
1899
2227
|
];
|
|
1900
2228
|
};
|
|
1901
2229
|
},
|
|
1902
2230
|
{
|
|
1903
|
-
name: "authority";
|
|
1904
|
-
signer: true;
|
|
1905
|
-
relations: [
|
|
2231
|
+
"name": "authority";
|
|
2232
|
+
"signer": true;
|
|
2233
|
+
"relations": [
|
|
2234
|
+
"global"
|
|
2235
|
+
];
|
|
1906
2236
|
},
|
|
1907
2237
|
{
|
|
1908
|
-
name: "newAuthority";
|
|
2238
|
+
"name": "newAuthority";
|
|
1909
2239
|
},
|
|
1910
2240
|
{
|
|
1911
|
-
name: "eventAuthority";
|
|
1912
|
-
pda: {
|
|
1913
|
-
seeds: [
|
|
2241
|
+
"name": "eventAuthority";
|
|
2242
|
+
"pda": {
|
|
2243
|
+
"seeds": [
|
|
1914
2244
|
{
|
|
1915
|
-
kind: "const";
|
|
1916
|
-
value: [
|
|
2245
|
+
"kind": "const";
|
|
2246
|
+
"value": [
|
|
1917
2247
|
95,
|
|
1918
2248
|
95,
|
|
1919
2249
|
101,
|
|
@@ -1937,700 +2267,871 @@ type Pump = {
|
|
|
1937
2267
|
};
|
|
1938
2268
|
},
|
|
1939
2269
|
{
|
|
1940
|
-
name: "program";
|
|
2270
|
+
"name": "program";
|
|
1941
2271
|
}
|
|
1942
2272
|
];
|
|
1943
|
-
args: [];
|
|
2273
|
+
"args": [];
|
|
1944
2274
|
}
|
|
1945
2275
|
];
|
|
1946
|
-
accounts: [
|
|
2276
|
+
"accounts": [
|
|
1947
2277
|
{
|
|
1948
|
-
name: "bondingCurve";
|
|
1949
|
-
discriminator: [
|
|
2278
|
+
"name": "bondingCurve";
|
|
2279
|
+
"discriminator": [
|
|
2280
|
+
23,
|
|
2281
|
+
183,
|
|
2282
|
+
248,
|
|
2283
|
+
55,
|
|
2284
|
+
96,
|
|
2285
|
+
216,
|
|
2286
|
+
172,
|
|
2287
|
+
96
|
|
2288
|
+
];
|
|
1950
2289
|
},
|
|
1951
2290
|
{
|
|
1952
|
-
name: "global";
|
|
1953
|
-
discriminator: [
|
|
2291
|
+
"name": "global";
|
|
2292
|
+
"discriminator": [
|
|
2293
|
+
167,
|
|
2294
|
+
232,
|
|
2295
|
+
232,
|
|
2296
|
+
177,
|
|
2297
|
+
200,
|
|
2298
|
+
108,
|
|
2299
|
+
114,
|
|
2300
|
+
127
|
|
2301
|
+
];
|
|
1954
2302
|
}
|
|
1955
2303
|
];
|
|
1956
|
-
events: [
|
|
2304
|
+
"events": [
|
|
1957
2305
|
{
|
|
1958
|
-
name: "
|
|
1959
|
-
discriminator: [
|
|
2306
|
+
"name": "adminSetCreatorEvent";
|
|
2307
|
+
"discriminator": [
|
|
2308
|
+
64,
|
|
2309
|
+
69,
|
|
2310
|
+
192,
|
|
2311
|
+
104,
|
|
2312
|
+
29,
|
|
2313
|
+
30,
|
|
2314
|
+
25,
|
|
2315
|
+
107
|
|
2316
|
+
];
|
|
1960
2317
|
},
|
|
1961
2318
|
{
|
|
1962
|
-
name: "
|
|
1963
|
-
discriminator: [
|
|
2319
|
+
"name": "collectCreatorFeeEvent";
|
|
2320
|
+
"discriminator": [
|
|
2321
|
+
122,
|
|
2322
|
+
2,
|
|
2323
|
+
127,
|
|
2324
|
+
1,
|
|
2325
|
+
14,
|
|
2326
|
+
191,
|
|
2327
|
+
12,
|
|
2328
|
+
175
|
|
2329
|
+
];
|
|
1964
2330
|
},
|
|
1965
2331
|
{
|
|
1966
|
-
name: "
|
|
1967
|
-
discriminator: [
|
|
2332
|
+
"name": "completeEvent";
|
|
2333
|
+
"discriminator": [
|
|
2334
|
+
95,
|
|
2335
|
+
114,
|
|
2336
|
+
97,
|
|
2337
|
+
156,
|
|
2338
|
+
212,
|
|
2339
|
+
46,
|
|
2340
|
+
152,
|
|
2341
|
+
8
|
|
2342
|
+
];
|
|
2343
|
+
},
|
|
2344
|
+
{
|
|
2345
|
+
"name": "completePumpAmmMigrationEvent";
|
|
2346
|
+
"discriminator": [
|
|
2347
|
+
189,
|
|
2348
|
+
233,
|
|
2349
|
+
93,
|
|
2350
|
+
185,
|
|
2351
|
+
92,
|
|
2352
|
+
148,
|
|
2353
|
+
234,
|
|
2354
|
+
148
|
|
2355
|
+
];
|
|
1968
2356
|
},
|
|
1969
2357
|
{
|
|
1970
|
-
name: "createEvent";
|
|
1971
|
-
discriminator: [
|
|
2358
|
+
"name": "createEvent";
|
|
2359
|
+
"discriminator": [
|
|
2360
|
+
27,
|
|
2361
|
+
114,
|
|
2362
|
+
169,
|
|
2363
|
+
77,
|
|
2364
|
+
222,
|
|
2365
|
+
235,
|
|
2366
|
+
99,
|
|
2367
|
+
118
|
|
2368
|
+
];
|
|
1972
2369
|
},
|
|
1973
2370
|
{
|
|
1974
|
-
name: "extendAccountEvent";
|
|
1975
|
-
discriminator: [
|
|
2371
|
+
"name": "extendAccountEvent";
|
|
2372
|
+
"discriminator": [
|
|
2373
|
+
97,
|
|
2374
|
+
97,
|
|
2375
|
+
215,
|
|
2376
|
+
144,
|
|
2377
|
+
93,
|
|
2378
|
+
146,
|
|
2379
|
+
22,
|
|
2380
|
+
124
|
|
2381
|
+
];
|
|
1976
2382
|
},
|
|
1977
2383
|
{
|
|
1978
|
-
name: "setCreatorEvent";
|
|
1979
|
-
discriminator: [
|
|
2384
|
+
"name": "setCreatorEvent";
|
|
2385
|
+
"discriminator": [
|
|
2386
|
+
237,
|
|
2387
|
+
52,
|
|
2388
|
+
123,
|
|
2389
|
+
37,
|
|
2390
|
+
245,
|
|
2391
|
+
251,
|
|
2392
|
+
72,
|
|
2393
|
+
210
|
|
2394
|
+
];
|
|
1980
2395
|
},
|
|
1981
2396
|
{
|
|
1982
|
-
name: "setMetaplexCreatorEvent";
|
|
1983
|
-
discriminator: [
|
|
2397
|
+
"name": "setMetaplexCreatorEvent";
|
|
2398
|
+
"discriminator": [
|
|
2399
|
+
142,
|
|
2400
|
+
203,
|
|
2401
|
+
6,
|
|
2402
|
+
32,
|
|
2403
|
+
127,
|
|
2404
|
+
105,
|
|
2405
|
+
191,
|
|
2406
|
+
162
|
|
2407
|
+
];
|
|
1984
2408
|
},
|
|
1985
2409
|
{
|
|
1986
|
-
name: "setParamsEvent";
|
|
1987
|
-
discriminator: [
|
|
2410
|
+
"name": "setParamsEvent";
|
|
2411
|
+
"discriminator": [
|
|
2412
|
+
223,
|
|
2413
|
+
195,
|
|
2414
|
+
159,
|
|
2415
|
+
246,
|
|
2416
|
+
62,
|
|
2417
|
+
48,
|
|
2418
|
+
143,
|
|
2419
|
+
131
|
|
2420
|
+
];
|
|
1988
2421
|
},
|
|
1989
2422
|
{
|
|
1990
|
-
name: "tradeEvent";
|
|
1991
|
-
discriminator: [
|
|
2423
|
+
"name": "tradeEvent";
|
|
2424
|
+
"discriminator": [
|
|
2425
|
+
189,
|
|
2426
|
+
219,
|
|
2427
|
+
127,
|
|
2428
|
+
211,
|
|
2429
|
+
78,
|
|
2430
|
+
230,
|
|
2431
|
+
97,
|
|
2432
|
+
238
|
|
2433
|
+
];
|
|
1992
2434
|
},
|
|
1993
2435
|
{
|
|
1994
|
-
name: "updateGlobalAuthorityEvent";
|
|
1995
|
-
discriminator: [
|
|
2436
|
+
"name": "updateGlobalAuthorityEvent";
|
|
2437
|
+
"discriminator": [
|
|
2438
|
+
182,
|
|
2439
|
+
195,
|
|
2440
|
+
137,
|
|
2441
|
+
42,
|
|
2442
|
+
35,
|
|
2443
|
+
206,
|
|
2444
|
+
207,
|
|
2445
|
+
247
|
|
2446
|
+
];
|
|
1996
2447
|
}
|
|
1997
2448
|
];
|
|
1998
|
-
errors: [
|
|
2449
|
+
"errors": [
|
|
1999
2450
|
{
|
|
2000
|
-
code: 6000;
|
|
2001
|
-
name: "notAuthorized";
|
|
2002
|
-
msg: "The given account is not authorized to execute this instruction.";
|
|
2451
|
+
"code": 6000;
|
|
2452
|
+
"name": "notAuthorized";
|
|
2453
|
+
"msg": "The given account is not authorized to execute this instruction.";
|
|
2003
2454
|
},
|
|
2004
2455
|
{
|
|
2005
|
-
code: 6001;
|
|
2006
|
-
name: "alreadyInitialized";
|
|
2007
|
-
msg: "The program is already initialized.";
|
|
2456
|
+
"code": 6001;
|
|
2457
|
+
"name": "alreadyInitialized";
|
|
2458
|
+
"msg": "The program is already initialized.";
|
|
2008
2459
|
},
|
|
2009
2460
|
{
|
|
2010
|
-
code: 6002;
|
|
2011
|
-
name: "tooMuchSolRequired";
|
|
2012
|
-
msg: "slippage: Too much SOL required to buy the given amount of tokens.";
|
|
2461
|
+
"code": 6002;
|
|
2462
|
+
"name": "tooMuchSolRequired";
|
|
2463
|
+
"msg": "slippage: Too much SOL required to buy the given amount of tokens.";
|
|
2013
2464
|
},
|
|
2014
2465
|
{
|
|
2015
|
-
code: 6003;
|
|
2016
|
-
name: "tooLittleSolReceived";
|
|
2017
|
-
msg: "slippage: Too little SOL received to sell the given amount of tokens.";
|
|
2466
|
+
"code": 6003;
|
|
2467
|
+
"name": "tooLittleSolReceived";
|
|
2468
|
+
"msg": "slippage: Too little SOL received to sell the given amount of tokens.";
|
|
2018
2469
|
},
|
|
2019
2470
|
{
|
|
2020
|
-
code: 6004;
|
|
2021
|
-
name: "mintDoesNotMatchBondingCurve";
|
|
2022
|
-
msg: "The mint does not match the bonding curve.";
|
|
2471
|
+
"code": 6004;
|
|
2472
|
+
"name": "mintDoesNotMatchBondingCurve";
|
|
2473
|
+
"msg": "The mint does not match the bonding curve.";
|
|
2023
2474
|
},
|
|
2024
2475
|
{
|
|
2025
|
-
code: 6005;
|
|
2026
|
-
name: "bondingCurveComplete";
|
|
2027
|
-
msg: "The bonding curve has completed and liquidity migrated to raydium.";
|
|
2476
|
+
"code": 6005;
|
|
2477
|
+
"name": "bondingCurveComplete";
|
|
2478
|
+
"msg": "The bonding curve has completed and liquidity migrated to raydium.";
|
|
2028
2479
|
},
|
|
2029
2480
|
{
|
|
2030
|
-
code: 6006;
|
|
2031
|
-
name: "bondingCurveNotComplete";
|
|
2032
|
-
msg: "The bonding curve has not completed.";
|
|
2481
|
+
"code": 6006;
|
|
2482
|
+
"name": "bondingCurveNotComplete";
|
|
2483
|
+
"msg": "The bonding curve has not completed.";
|
|
2033
2484
|
},
|
|
2034
2485
|
{
|
|
2035
|
-
code: 6007;
|
|
2036
|
-
name: "notInitialized";
|
|
2037
|
-
msg: "The program is not initialized.";
|
|
2486
|
+
"code": 6007;
|
|
2487
|
+
"name": "notInitialized";
|
|
2488
|
+
"msg": "The program is not initialized.";
|
|
2038
2489
|
},
|
|
2039
2490
|
{
|
|
2040
|
-
code: 6008;
|
|
2041
|
-
name: "withdrawTooFrequent";
|
|
2042
|
-
msg: "Withdraw too frequent";
|
|
2491
|
+
"code": 6008;
|
|
2492
|
+
"name": "withdrawTooFrequent";
|
|
2493
|
+
"msg": "Withdraw too frequent";
|
|
2043
2494
|
},
|
|
2044
2495
|
{
|
|
2045
|
-
code: 6009;
|
|
2046
|
-
name: "newSizeShouldBeGreaterThanCurrentSize";
|
|
2047
|
-
msg: "new_size should be > current_size";
|
|
2496
|
+
"code": 6009;
|
|
2497
|
+
"name": "newSizeShouldBeGreaterThanCurrentSize";
|
|
2498
|
+
"msg": "new_size should be > current_size";
|
|
2048
2499
|
},
|
|
2049
2500
|
{
|
|
2050
|
-
code: 6010;
|
|
2051
|
-
name: "accountTypeNotSupported";
|
|
2052
|
-
msg: "Account type not supported";
|
|
2501
|
+
"code": 6010;
|
|
2502
|
+
"name": "accountTypeNotSupported";
|
|
2503
|
+
"msg": "Account type not supported";
|
|
2053
2504
|
},
|
|
2054
2505
|
{
|
|
2055
|
-
code: 6011;
|
|
2056
|
-
name: "initialRealTokenReservesShouldBeLessThanTokenTotalSupply";
|
|
2057
|
-
msg: "initial_real_token_reserves should be less than token_total_supply";
|
|
2506
|
+
"code": 6011;
|
|
2507
|
+
"name": "initialRealTokenReservesShouldBeLessThanTokenTotalSupply";
|
|
2508
|
+
"msg": "initial_real_token_reserves should be less than token_total_supply";
|
|
2058
2509
|
},
|
|
2059
2510
|
{
|
|
2060
|
-
code: 6012;
|
|
2061
|
-
name: "initialVirtualTokenReservesShouldBeGreaterThanInitialRealTokenReserves";
|
|
2062
|
-
msg: "initial_virtual_token_reserves should be greater than initial_real_token_reserves";
|
|
2511
|
+
"code": 6012;
|
|
2512
|
+
"name": "initialVirtualTokenReservesShouldBeGreaterThanInitialRealTokenReserves";
|
|
2513
|
+
"msg": "initial_virtual_token_reserves should be greater than initial_real_token_reserves";
|
|
2063
2514
|
},
|
|
2064
2515
|
{
|
|
2065
|
-
code: 6013;
|
|
2066
|
-
name: "feeBasisPointsGreaterThanMaximum";
|
|
2067
|
-
msg: "fee_basis_points greater than maximum";
|
|
2516
|
+
"code": 6013;
|
|
2517
|
+
"name": "feeBasisPointsGreaterThanMaximum";
|
|
2518
|
+
"msg": "fee_basis_points greater than maximum";
|
|
2068
2519
|
},
|
|
2069
2520
|
{
|
|
2070
|
-
code: 6014;
|
|
2071
|
-
name: "allZerosWithdrawAuthority";
|
|
2072
|
-
msg: "Withdraw authority cannot be set to System Program ID";
|
|
2521
|
+
"code": 6014;
|
|
2522
|
+
"name": "allZerosWithdrawAuthority";
|
|
2523
|
+
"msg": "Withdraw authority cannot be set to System Program ID";
|
|
2073
2524
|
},
|
|
2074
2525
|
{
|
|
2075
|
-
code: 6015;
|
|
2076
|
-
name: "poolMigrationFeeShouldBeLessThanFinalRealSolReserves";
|
|
2077
|
-
msg: "pool_migration_fee should be less than final_real_sol_reserves";
|
|
2526
|
+
"code": 6015;
|
|
2527
|
+
"name": "poolMigrationFeeShouldBeLessThanFinalRealSolReserves";
|
|
2528
|
+
"msg": "pool_migration_fee should be less than final_real_sol_reserves";
|
|
2078
2529
|
},
|
|
2079
2530
|
{
|
|
2080
|
-
code: 6016;
|
|
2081
|
-
name: "poolMigrationFeeShouldBeGreaterThanCreatorFeePlusMaxMigrateFees";
|
|
2082
|
-
msg: "pool_migration_fee should be greater than creator_fee + MAX_MIGRATE_FEES";
|
|
2531
|
+
"code": 6016;
|
|
2532
|
+
"name": "poolMigrationFeeShouldBeGreaterThanCreatorFeePlusMaxMigrateFees";
|
|
2533
|
+
"msg": "pool_migration_fee should be greater than creator_fee + MAX_MIGRATE_FEES";
|
|
2083
2534
|
},
|
|
2084
2535
|
{
|
|
2085
|
-
code: 6017;
|
|
2086
|
-
name: "disabledWithdraw";
|
|
2087
|
-
msg: "Migrate instruction is disabled";
|
|
2536
|
+
"code": 6017;
|
|
2537
|
+
"name": "disabledWithdraw";
|
|
2538
|
+
"msg": "Migrate instruction is disabled";
|
|
2088
2539
|
},
|
|
2089
2540
|
{
|
|
2090
|
-
code: 6018;
|
|
2091
|
-
name: "disabledMigrate";
|
|
2092
|
-
msg: "Migrate instruction is disabled";
|
|
2541
|
+
"code": 6018;
|
|
2542
|
+
"name": "disabledMigrate";
|
|
2543
|
+
"msg": "Migrate instruction is disabled";
|
|
2093
2544
|
},
|
|
2094
2545
|
{
|
|
2095
|
-
code: 6019;
|
|
2096
|
-
name: "invalidCreator";
|
|
2097
|
-
msg: "Invalid creator pubkey";
|
|
2546
|
+
"code": 6019;
|
|
2547
|
+
"name": "invalidCreator";
|
|
2548
|
+
"msg": "Invalid creator pubkey";
|
|
2098
2549
|
},
|
|
2099
2550
|
{
|
|
2100
|
-
code: 6020;
|
|
2101
|
-
name: "buyZeroAmount";
|
|
2102
|
-
msg: "Buy zero amount";
|
|
2551
|
+
"code": 6020;
|
|
2552
|
+
"name": "buyZeroAmount";
|
|
2553
|
+
"msg": "Buy zero amount";
|
|
2103
2554
|
},
|
|
2104
2555
|
{
|
|
2105
|
-
code: 6021;
|
|
2106
|
-
name: "notEnoughTokensToBuy";
|
|
2107
|
-
msg: "Not enough tokens to buy";
|
|
2556
|
+
"code": 6021;
|
|
2557
|
+
"name": "notEnoughTokensToBuy";
|
|
2558
|
+
"msg": "Not enough tokens to buy";
|
|
2108
2559
|
},
|
|
2109
2560
|
{
|
|
2110
|
-
code: 6022;
|
|
2111
|
-
name: "sellZeroAmount";
|
|
2112
|
-
msg: "Sell zero amount";
|
|
2561
|
+
"code": 6022;
|
|
2562
|
+
"name": "sellZeroAmount";
|
|
2563
|
+
"msg": "Sell zero amount";
|
|
2113
2564
|
},
|
|
2114
2565
|
{
|
|
2115
|
-
code: 6023;
|
|
2116
|
-
name: "notEnoughTokensToSell";
|
|
2117
|
-
msg: "Not enough tokens to sell";
|
|
2566
|
+
"code": 6023;
|
|
2567
|
+
"name": "notEnoughTokensToSell";
|
|
2568
|
+
"msg": "Not enough tokens to sell";
|
|
2118
2569
|
},
|
|
2119
2570
|
{
|
|
2120
|
-
code: 6024;
|
|
2121
|
-
name: "overflow";
|
|
2122
|
-
msg: "overflow";
|
|
2571
|
+
"code": 6024;
|
|
2572
|
+
"name": "overflow";
|
|
2573
|
+
"msg": "overflow";
|
|
2123
2574
|
},
|
|
2124
2575
|
{
|
|
2125
|
-
code: 6025;
|
|
2126
|
-
name: "truncation";
|
|
2127
|
-
msg: "truncation";
|
|
2576
|
+
"code": 6025;
|
|
2577
|
+
"name": "truncation";
|
|
2578
|
+
"msg": "truncation";
|
|
2128
2579
|
},
|
|
2129
2580
|
{
|
|
2130
|
-
code: 6026;
|
|
2131
|
-
name: "divisionByZero";
|
|
2132
|
-
msg: "Division by zero";
|
|
2581
|
+
"code": 6026;
|
|
2582
|
+
"name": "divisionByZero";
|
|
2583
|
+
"msg": "Division by zero";
|
|
2133
2584
|
},
|
|
2134
2585
|
{
|
|
2135
|
-
code: 6027;
|
|
2136
|
-
name: "notEnoughRemainingAccounts";
|
|
2137
|
-
msg: "Not enough remaining accounts";
|
|
2586
|
+
"code": 6027;
|
|
2587
|
+
"name": "notEnoughRemainingAccounts";
|
|
2588
|
+
"msg": "Not enough remaining accounts";
|
|
2138
2589
|
},
|
|
2139
2590
|
{
|
|
2140
|
-
code: 6028;
|
|
2141
|
-
name: "allFeeRecipientsShouldBeNonZero";
|
|
2142
|
-
msg: "All fee recipients should be non-zero";
|
|
2591
|
+
"code": 6028;
|
|
2592
|
+
"name": "allFeeRecipientsShouldBeNonZero";
|
|
2593
|
+
"msg": "All fee recipients should be non-zero";
|
|
2143
2594
|
},
|
|
2144
2595
|
{
|
|
2145
|
-
code: 6029;
|
|
2146
|
-
name: "unsortedNotUniqueFeeRecipients";
|
|
2147
|
-
msg: "Unsorted or not unique fee recipients";
|
|
2596
|
+
"code": 6029;
|
|
2597
|
+
"name": "unsortedNotUniqueFeeRecipients";
|
|
2598
|
+
"msg": "Unsorted or not unique fee recipients";
|
|
2148
2599
|
},
|
|
2149
2600
|
{
|
|
2150
|
-
code: 6030;
|
|
2151
|
-
name: "creatorShouldNotBeZero";
|
|
2152
|
-
msg: "Creator should not be zero";
|
|
2601
|
+
"code": 6030;
|
|
2602
|
+
"name": "creatorShouldNotBeZero";
|
|
2603
|
+
"msg": "Creator should not be zero";
|
|
2153
2604
|
}
|
|
2154
2605
|
];
|
|
2155
|
-
types: [
|
|
2606
|
+
"types": [
|
|
2607
|
+
{
|
|
2608
|
+
"name": "adminSetCreatorEvent";
|
|
2609
|
+
"type": {
|
|
2610
|
+
"kind": "struct";
|
|
2611
|
+
"fields": [
|
|
2612
|
+
{
|
|
2613
|
+
"name": "timestamp";
|
|
2614
|
+
"type": "i64";
|
|
2615
|
+
},
|
|
2616
|
+
{
|
|
2617
|
+
"name": "adminSetCreatorAuthority";
|
|
2618
|
+
"type": "pubkey";
|
|
2619
|
+
},
|
|
2620
|
+
{
|
|
2621
|
+
"name": "mint";
|
|
2622
|
+
"type": "pubkey";
|
|
2623
|
+
},
|
|
2624
|
+
{
|
|
2625
|
+
"name": "bondingCurve";
|
|
2626
|
+
"type": "pubkey";
|
|
2627
|
+
},
|
|
2628
|
+
{
|
|
2629
|
+
"name": "oldCreator";
|
|
2630
|
+
"type": "pubkey";
|
|
2631
|
+
},
|
|
2632
|
+
{
|
|
2633
|
+
"name": "newCreator";
|
|
2634
|
+
"type": "pubkey";
|
|
2635
|
+
}
|
|
2636
|
+
];
|
|
2637
|
+
};
|
|
2638
|
+
},
|
|
2156
2639
|
{
|
|
2157
|
-
name: "bondingCurve";
|
|
2158
|
-
type: {
|
|
2159
|
-
kind: "struct";
|
|
2160
|
-
fields: [
|
|
2640
|
+
"name": "bondingCurve";
|
|
2641
|
+
"type": {
|
|
2642
|
+
"kind": "struct";
|
|
2643
|
+
"fields": [
|
|
2161
2644
|
{
|
|
2162
|
-
name: "virtualTokenReserves";
|
|
2163
|
-
type: "u64";
|
|
2645
|
+
"name": "virtualTokenReserves";
|
|
2646
|
+
"type": "u64";
|
|
2164
2647
|
},
|
|
2165
2648
|
{
|
|
2166
|
-
name: "virtualSolReserves";
|
|
2167
|
-
type: "u64";
|
|
2649
|
+
"name": "virtualSolReserves";
|
|
2650
|
+
"type": "u64";
|
|
2168
2651
|
},
|
|
2169
2652
|
{
|
|
2170
|
-
name: "realTokenReserves";
|
|
2171
|
-
type: "u64";
|
|
2653
|
+
"name": "realTokenReserves";
|
|
2654
|
+
"type": "u64";
|
|
2172
2655
|
},
|
|
2173
2656
|
{
|
|
2174
|
-
name: "realSolReserves";
|
|
2175
|
-
type: "u64";
|
|
2657
|
+
"name": "realSolReserves";
|
|
2658
|
+
"type": "u64";
|
|
2176
2659
|
},
|
|
2177
2660
|
{
|
|
2178
|
-
name: "tokenTotalSupply";
|
|
2179
|
-
type: "u64";
|
|
2661
|
+
"name": "tokenTotalSupply";
|
|
2662
|
+
"type": "u64";
|
|
2180
2663
|
},
|
|
2181
2664
|
{
|
|
2182
|
-
name: "complete";
|
|
2183
|
-
type: "bool";
|
|
2665
|
+
"name": "complete";
|
|
2666
|
+
"type": "bool";
|
|
2184
2667
|
},
|
|
2185
2668
|
{
|
|
2186
|
-
name: "creator";
|
|
2187
|
-
type: "pubkey";
|
|
2669
|
+
"name": "creator";
|
|
2670
|
+
"type": "pubkey";
|
|
2188
2671
|
}
|
|
2189
2672
|
];
|
|
2190
2673
|
};
|
|
2191
2674
|
},
|
|
2192
2675
|
{
|
|
2193
|
-
name: "collectCreatorFeeEvent";
|
|
2194
|
-
type: {
|
|
2195
|
-
kind: "struct";
|
|
2196
|
-
fields: [
|
|
2676
|
+
"name": "collectCreatorFeeEvent";
|
|
2677
|
+
"type": {
|
|
2678
|
+
"kind": "struct";
|
|
2679
|
+
"fields": [
|
|
2197
2680
|
{
|
|
2198
|
-
name: "timestamp";
|
|
2199
|
-
type: "i64";
|
|
2681
|
+
"name": "timestamp";
|
|
2682
|
+
"type": "i64";
|
|
2200
2683
|
},
|
|
2201
2684
|
{
|
|
2202
|
-
name: "creator";
|
|
2203
|
-
type: "pubkey";
|
|
2685
|
+
"name": "creator";
|
|
2686
|
+
"type": "pubkey";
|
|
2204
2687
|
},
|
|
2205
2688
|
{
|
|
2206
|
-
name: "creatorFee";
|
|
2207
|
-
type: "u64";
|
|
2689
|
+
"name": "creatorFee";
|
|
2690
|
+
"type": "u64";
|
|
2208
2691
|
}
|
|
2209
2692
|
];
|
|
2210
2693
|
};
|
|
2211
2694
|
},
|
|
2212
2695
|
{
|
|
2213
|
-
name: "completeEvent";
|
|
2214
|
-
type: {
|
|
2215
|
-
kind: "struct";
|
|
2216
|
-
fields: [
|
|
2696
|
+
"name": "completeEvent";
|
|
2697
|
+
"type": {
|
|
2698
|
+
"kind": "struct";
|
|
2699
|
+
"fields": [
|
|
2217
2700
|
{
|
|
2218
|
-
name: "user";
|
|
2219
|
-
type: "pubkey";
|
|
2701
|
+
"name": "user";
|
|
2702
|
+
"type": "pubkey";
|
|
2220
2703
|
},
|
|
2221
2704
|
{
|
|
2222
|
-
name: "mint";
|
|
2223
|
-
type: "pubkey";
|
|
2705
|
+
"name": "mint";
|
|
2706
|
+
"type": "pubkey";
|
|
2224
2707
|
},
|
|
2225
2708
|
{
|
|
2226
|
-
name: "bondingCurve";
|
|
2227
|
-
type: "pubkey";
|
|
2709
|
+
"name": "bondingCurve";
|
|
2710
|
+
"type": "pubkey";
|
|
2228
2711
|
},
|
|
2229
2712
|
{
|
|
2230
|
-
name: "timestamp";
|
|
2231
|
-
type: "i64";
|
|
2713
|
+
"name": "timestamp";
|
|
2714
|
+
"type": "i64";
|
|
2232
2715
|
}
|
|
2233
2716
|
];
|
|
2234
2717
|
};
|
|
2235
2718
|
},
|
|
2236
2719
|
{
|
|
2237
|
-
name: "completePumpAmmMigrationEvent";
|
|
2238
|
-
type: {
|
|
2239
|
-
kind: "struct";
|
|
2240
|
-
fields: [
|
|
2720
|
+
"name": "completePumpAmmMigrationEvent";
|
|
2721
|
+
"type": {
|
|
2722
|
+
"kind": "struct";
|
|
2723
|
+
"fields": [
|
|
2241
2724
|
{
|
|
2242
|
-
name: "user";
|
|
2243
|
-
type: "pubkey";
|
|
2725
|
+
"name": "user";
|
|
2726
|
+
"type": "pubkey";
|
|
2244
2727
|
},
|
|
2245
2728
|
{
|
|
2246
|
-
name: "mint";
|
|
2247
|
-
type: "pubkey";
|
|
2729
|
+
"name": "mint";
|
|
2730
|
+
"type": "pubkey";
|
|
2248
2731
|
},
|
|
2249
2732
|
{
|
|
2250
|
-
name: "mintAmount";
|
|
2251
|
-
type: "u64";
|
|
2733
|
+
"name": "mintAmount";
|
|
2734
|
+
"type": "u64";
|
|
2252
2735
|
},
|
|
2253
2736
|
{
|
|
2254
|
-
name: "solAmount";
|
|
2255
|
-
type: "u64";
|
|
2737
|
+
"name": "solAmount";
|
|
2738
|
+
"type": "u64";
|
|
2256
2739
|
},
|
|
2257
2740
|
{
|
|
2258
|
-
name: "poolMigrationFee";
|
|
2259
|
-
type: "u64";
|
|
2741
|
+
"name": "poolMigrationFee";
|
|
2742
|
+
"type": "u64";
|
|
2260
2743
|
},
|
|
2261
2744
|
{
|
|
2262
|
-
name: "bondingCurve";
|
|
2263
|
-
type: "pubkey";
|
|
2745
|
+
"name": "bondingCurve";
|
|
2746
|
+
"type": "pubkey";
|
|
2264
2747
|
},
|
|
2265
2748
|
{
|
|
2266
|
-
name: "timestamp";
|
|
2267
|
-
type: "i64";
|
|
2749
|
+
"name": "timestamp";
|
|
2750
|
+
"type": "i64";
|
|
2268
2751
|
},
|
|
2269
2752
|
{
|
|
2270
|
-
name: "pool";
|
|
2271
|
-
type: "pubkey";
|
|
2753
|
+
"name": "pool";
|
|
2754
|
+
"type": "pubkey";
|
|
2272
2755
|
}
|
|
2273
2756
|
];
|
|
2274
2757
|
};
|
|
2275
2758
|
},
|
|
2276
2759
|
{
|
|
2277
|
-
name: "createEvent";
|
|
2278
|
-
type: {
|
|
2279
|
-
kind: "struct";
|
|
2280
|
-
fields: [
|
|
2760
|
+
"name": "createEvent";
|
|
2761
|
+
"type": {
|
|
2762
|
+
"kind": "struct";
|
|
2763
|
+
"fields": [
|
|
2281
2764
|
{
|
|
2282
|
-
name: "name";
|
|
2283
|
-
type: "string";
|
|
2765
|
+
"name": "name";
|
|
2766
|
+
"type": "string";
|
|
2284
2767
|
},
|
|
2285
2768
|
{
|
|
2286
|
-
name: "symbol";
|
|
2287
|
-
type: "string";
|
|
2769
|
+
"name": "symbol";
|
|
2770
|
+
"type": "string";
|
|
2288
2771
|
},
|
|
2289
2772
|
{
|
|
2290
|
-
name: "uri";
|
|
2291
|
-
type: "string";
|
|
2773
|
+
"name": "uri";
|
|
2774
|
+
"type": "string";
|
|
2292
2775
|
},
|
|
2293
2776
|
{
|
|
2294
|
-
name: "mint";
|
|
2295
|
-
type: "pubkey";
|
|
2777
|
+
"name": "mint";
|
|
2778
|
+
"type": "pubkey";
|
|
2296
2779
|
},
|
|
2297
2780
|
{
|
|
2298
|
-
name: "bondingCurve";
|
|
2299
|
-
type: "pubkey";
|
|
2781
|
+
"name": "bondingCurve";
|
|
2782
|
+
"type": "pubkey";
|
|
2300
2783
|
},
|
|
2301
2784
|
{
|
|
2302
|
-
name: "user";
|
|
2303
|
-
type: "pubkey";
|
|
2785
|
+
"name": "user";
|
|
2786
|
+
"type": "pubkey";
|
|
2304
2787
|
},
|
|
2305
2788
|
{
|
|
2306
|
-
name: "creator";
|
|
2307
|
-
type: "pubkey";
|
|
2789
|
+
"name": "creator";
|
|
2790
|
+
"type": "pubkey";
|
|
2308
2791
|
},
|
|
2309
2792
|
{
|
|
2310
|
-
name: "timestamp";
|
|
2311
|
-
type: "i64";
|
|
2793
|
+
"name": "timestamp";
|
|
2794
|
+
"type": "i64";
|
|
2312
2795
|
},
|
|
2313
2796
|
{
|
|
2314
|
-
name: "virtualTokenReserves";
|
|
2315
|
-
type: "u64";
|
|
2797
|
+
"name": "virtualTokenReserves";
|
|
2798
|
+
"type": "u64";
|
|
2316
2799
|
},
|
|
2317
2800
|
{
|
|
2318
|
-
name: "virtualSolReserves";
|
|
2319
|
-
type: "u64";
|
|
2801
|
+
"name": "virtualSolReserves";
|
|
2802
|
+
"type": "u64";
|
|
2320
2803
|
},
|
|
2321
2804
|
{
|
|
2322
|
-
name: "realTokenReserves";
|
|
2323
|
-
type: "u64";
|
|
2805
|
+
"name": "realTokenReserves";
|
|
2806
|
+
"type": "u64";
|
|
2324
2807
|
},
|
|
2325
2808
|
{
|
|
2326
|
-
name: "tokenTotalSupply";
|
|
2327
|
-
type: "u64";
|
|
2809
|
+
"name": "tokenTotalSupply";
|
|
2810
|
+
"type": "u64";
|
|
2328
2811
|
}
|
|
2329
2812
|
];
|
|
2330
2813
|
};
|
|
2331
2814
|
},
|
|
2332
2815
|
{
|
|
2333
|
-
name: "extendAccountEvent";
|
|
2334
|
-
type: {
|
|
2335
|
-
kind: "struct";
|
|
2336
|
-
fields: [
|
|
2816
|
+
"name": "extendAccountEvent";
|
|
2817
|
+
"type": {
|
|
2818
|
+
"kind": "struct";
|
|
2819
|
+
"fields": [
|
|
2337
2820
|
{
|
|
2338
|
-
name: "account";
|
|
2339
|
-
type: "pubkey";
|
|
2821
|
+
"name": "account";
|
|
2822
|
+
"type": "pubkey";
|
|
2340
2823
|
},
|
|
2341
2824
|
{
|
|
2342
|
-
name: "user";
|
|
2343
|
-
type: "pubkey";
|
|
2825
|
+
"name": "user";
|
|
2826
|
+
"type": "pubkey";
|
|
2344
2827
|
},
|
|
2345
2828
|
{
|
|
2346
|
-
name: "currentSize";
|
|
2347
|
-
type: "u64";
|
|
2829
|
+
"name": "currentSize";
|
|
2830
|
+
"type": "u64";
|
|
2348
2831
|
},
|
|
2349
2832
|
{
|
|
2350
|
-
name: "newSize";
|
|
2351
|
-
type: "u64";
|
|
2833
|
+
"name": "newSize";
|
|
2834
|
+
"type": "u64";
|
|
2352
2835
|
},
|
|
2353
2836
|
{
|
|
2354
|
-
name: "timestamp";
|
|
2355
|
-
type: "i64";
|
|
2837
|
+
"name": "timestamp";
|
|
2838
|
+
"type": "i64";
|
|
2356
2839
|
}
|
|
2357
2840
|
];
|
|
2358
2841
|
};
|
|
2359
2842
|
},
|
|
2360
2843
|
{
|
|
2361
|
-
name: "global";
|
|
2362
|
-
type: {
|
|
2363
|
-
kind: "struct";
|
|
2364
|
-
fields: [
|
|
2844
|
+
"name": "global";
|
|
2845
|
+
"type": {
|
|
2846
|
+
"kind": "struct";
|
|
2847
|
+
"fields": [
|
|
2365
2848
|
{
|
|
2366
|
-
name: "initialized";
|
|
2367
|
-
docs: [
|
|
2368
|
-
|
|
2849
|
+
"name": "initialized";
|
|
2850
|
+
"docs": [
|
|
2851
|
+
"Unused"
|
|
2852
|
+
];
|
|
2853
|
+
"type": "bool";
|
|
2369
2854
|
},
|
|
2370
2855
|
{
|
|
2371
|
-
name: "authority";
|
|
2372
|
-
type: "pubkey";
|
|
2856
|
+
"name": "authority";
|
|
2857
|
+
"type": "pubkey";
|
|
2373
2858
|
},
|
|
2374
2859
|
{
|
|
2375
|
-
name: "feeRecipient";
|
|
2376
|
-
type: "pubkey";
|
|
2860
|
+
"name": "feeRecipient";
|
|
2861
|
+
"type": "pubkey";
|
|
2377
2862
|
},
|
|
2378
2863
|
{
|
|
2379
|
-
name: "initialVirtualTokenReserves";
|
|
2380
|
-
type: "u64";
|
|
2864
|
+
"name": "initialVirtualTokenReserves";
|
|
2865
|
+
"type": "u64";
|
|
2381
2866
|
},
|
|
2382
2867
|
{
|
|
2383
|
-
name: "initialVirtualSolReserves";
|
|
2384
|
-
type: "u64";
|
|
2868
|
+
"name": "initialVirtualSolReserves";
|
|
2869
|
+
"type": "u64";
|
|
2385
2870
|
},
|
|
2386
2871
|
{
|
|
2387
|
-
name: "initialRealTokenReserves";
|
|
2388
|
-
type: "u64";
|
|
2872
|
+
"name": "initialRealTokenReserves";
|
|
2873
|
+
"type": "u64";
|
|
2389
2874
|
},
|
|
2390
2875
|
{
|
|
2391
|
-
name: "tokenTotalSupply";
|
|
2392
|
-
type: "u64";
|
|
2876
|
+
"name": "tokenTotalSupply";
|
|
2877
|
+
"type": "u64";
|
|
2393
2878
|
},
|
|
2394
2879
|
{
|
|
2395
|
-
name: "feeBasisPoints";
|
|
2396
|
-
type: "u64";
|
|
2880
|
+
"name": "feeBasisPoints";
|
|
2881
|
+
"type": "u64";
|
|
2397
2882
|
},
|
|
2398
2883
|
{
|
|
2399
|
-
name: "withdrawAuthority";
|
|
2400
|
-
type: "pubkey";
|
|
2884
|
+
"name": "withdrawAuthority";
|
|
2885
|
+
"type": "pubkey";
|
|
2401
2886
|
},
|
|
2402
2887
|
{
|
|
2403
|
-
name: "enableMigrate";
|
|
2404
|
-
docs: [
|
|
2405
|
-
|
|
2888
|
+
"name": "enableMigrate";
|
|
2889
|
+
"docs": [
|
|
2890
|
+
"Unused"
|
|
2891
|
+
];
|
|
2892
|
+
"type": "bool";
|
|
2406
2893
|
},
|
|
2407
2894
|
{
|
|
2408
|
-
name: "poolMigrationFee";
|
|
2409
|
-
type: "u64";
|
|
2895
|
+
"name": "poolMigrationFee";
|
|
2896
|
+
"type": "u64";
|
|
2410
2897
|
},
|
|
2411
2898
|
{
|
|
2412
|
-
name: "creatorFeeBasisPoints";
|
|
2413
|
-
type: "u64";
|
|
2899
|
+
"name": "creatorFeeBasisPoints";
|
|
2900
|
+
"type": "u64";
|
|
2414
2901
|
},
|
|
2415
2902
|
{
|
|
2416
|
-
name: "feeRecipients";
|
|
2417
|
-
type: {
|
|
2418
|
-
array: [
|
|
2903
|
+
"name": "feeRecipients";
|
|
2904
|
+
"type": {
|
|
2905
|
+
"array": [
|
|
2906
|
+
"pubkey",
|
|
2907
|
+
7
|
|
2908
|
+
];
|
|
2419
2909
|
};
|
|
2420
2910
|
},
|
|
2421
2911
|
{
|
|
2422
|
-
name: "setCreatorAuthority";
|
|
2423
|
-
type: "pubkey";
|
|
2912
|
+
"name": "setCreatorAuthority";
|
|
2913
|
+
"type": "pubkey";
|
|
2914
|
+
},
|
|
2915
|
+
{
|
|
2916
|
+
"name": "adminSetCreatorAuthority";
|
|
2917
|
+
"type": "pubkey";
|
|
2424
2918
|
}
|
|
2425
2919
|
];
|
|
2426
2920
|
};
|
|
2427
2921
|
},
|
|
2428
2922
|
{
|
|
2429
|
-
name: "setCreatorEvent";
|
|
2430
|
-
type: {
|
|
2431
|
-
kind: "struct";
|
|
2432
|
-
fields: [
|
|
2923
|
+
"name": "setCreatorEvent";
|
|
2924
|
+
"type": {
|
|
2925
|
+
"kind": "struct";
|
|
2926
|
+
"fields": [
|
|
2433
2927
|
{
|
|
2434
|
-
name: "timestamp";
|
|
2435
|
-
type: "i64";
|
|
2928
|
+
"name": "timestamp";
|
|
2929
|
+
"type": "i64";
|
|
2436
2930
|
},
|
|
2437
2931
|
{
|
|
2438
|
-
name: "mint";
|
|
2439
|
-
type: "pubkey";
|
|
2932
|
+
"name": "mint";
|
|
2933
|
+
"type": "pubkey";
|
|
2440
2934
|
},
|
|
2441
2935
|
{
|
|
2442
|
-
name: "bondingCurve";
|
|
2443
|
-
type: "pubkey";
|
|
2936
|
+
"name": "bondingCurve";
|
|
2937
|
+
"type": "pubkey";
|
|
2444
2938
|
},
|
|
2445
2939
|
{
|
|
2446
|
-
name: "creator";
|
|
2447
|
-
type: "pubkey";
|
|
2940
|
+
"name": "creator";
|
|
2941
|
+
"type": "pubkey";
|
|
2448
2942
|
}
|
|
2449
2943
|
];
|
|
2450
2944
|
};
|
|
2451
2945
|
},
|
|
2452
2946
|
{
|
|
2453
|
-
name: "setMetaplexCreatorEvent";
|
|
2454
|
-
type: {
|
|
2455
|
-
kind: "struct";
|
|
2456
|
-
fields: [
|
|
2947
|
+
"name": "setMetaplexCreatorEvent";
|
|
2948
|
+
"type": {
|
|
2949
|
+
"kind": "struct";
|
|
2950
|
+
"fields": [
|
|
2457
2951
|
{
|
|
2458
|
-
name: "timestamp";
|
|
2459
|
-
type: "i64";
|
|
2952
|
+
"name": "timestamp";
|
|
2953
|
+
"type": "i64";
|
|
2460
2954
|
},
|
|
2461
2955
|
{
|
|
2462
|
-
name: "mint";
|
|
2463
|
-
type: "pubkey";
|
|
2956
|
+
"name": "mint";
|
|
2957
|
+
"type": "pubkey";
|
|
2464
2958
|
},
|
|
2465
2959
|
{
|
|
2466
|
-
name: "bondingCurve";
|
|
2467
|
-
type: "pubkey";
|
|
2960
|
+
"name": "bondingCurve";
|
|
2961
|
+
"type": "pubkey";
|
|
2468
2962
|
},
|
|
2469
2963
|
{
|
|
2470
|
-
name: "metadata";
|
|
2471
|
-
type: "pubkey";
|
|
2964
|
+
"name": "metadata";
|
|
2965
|
+
"type": "pubkey";
|
|
2472
2966
|
},
|
|
2473
2967
|
{
|
|
2474
|
-
name: "creator";
|
|
2475
|
-
type: "pubkey";
|
|
2968
|
+
"name": "creator";
|
|
2969
|
+
"type": "pubkey";
|
|
2476
2970
|
}
|
|
2477
2971
|
];
|
|
2478
2972
|
};
|
|
2479
2973
|
},
|
|
2480
2974
|
{
|
|
2481
|
-
name: "setParamsEvent";
|
|
2482
|
-
type: {
|
|
2483
|
-
kind: "struct";
|
|
2484
|
-
fields: [
|
|
2975
|
+
"name": "setParamsEvent";
|
|
2976
|
+
"type": {
|
|
2977
|
+
"kind": "struct";
|
|
2978
|
+
"fields": [
|
|
2485
2979
|
{
|
|
2486
|
-
name: "initialVirtualTokenReserves";
|
|
2487
|
-
type: "u64";
|
|
2980
|
+
"name": "initialVirtualTokenReserves";
|
|
2981
|
+
"type": "u64";
|
|
2488
2982
|
},
|
|
2489
2983
|
{
|
|
2490
|
-
name: "initialVirtualSolReserves";
|
|
2491
|
-
type: "u64";
|
|
2984
|
+
"name": "initialVirtualSolReserves";
|
|
2985
|
+
"type": "u64";
|
|
2492
2986
|
},
|
|
2493
2987
|
{
|
|
2494
|
-
name: "initialRealTokenReserves";
|
|
2495
|
-
type: "u64";
|
|
2988
|
+
"name": "initialRealTokenReserves";
|
|
2989
|
+
"type": "u64";
|
|
2496
2990
|
},
|
|
2497
2991
|
{
|
|
2498
|
-
name: "finalRealSolReserves";
|
|
2499
|
-
type: "u64";
|
|
2992
|
+
"name": "finalRealSolReserves";
|
|
2993
|
+
"type": "u64";
|
|
2500
2994
|
},
|
|
2501
2995
|
{
|
|
2502
|
-
name: "tokenTotalSupply";
|
|
2503
|
-
type: "u64";
|
|
2996
|
+
"name": "tokenTotalSupply";
|
|
2997
|
+
"type": "u64";
|
|
2504
2998
|
},
|
|
2505
2999
|
{
|
|
2506
|
-
name: "feeBasisPoints";
|
|
2507
|
-
type: "u64";
|
|
3000
|
+
"name": "feeBasisPoints";
|
|
3001
|
+
"type": "u64";
|
|
2508
3002
|
},
|
|
2509
3003
|
{
|
|
2510
|
-
name: "withdrawAuthority";
|
|
2511
|
-
type: "pubkey";
|
|
3004
|
+
"name": "withdrawAuthority";
|
|
3005
|
+
"type": "pubkey";
|
|
2512
3006
|
},
|
|
2513
3007
|
{
|
|
2514
|
-
name: "enableMigrate";
|
|
2515
|
-
type: "bool";
|
|
3008
|
+
"name": "enableMigrate";
|
|
3009
|
+
"type": "bool";
|
|
2516
3010
|
},
|
|
2517
3011
|
{
|
|
2518
|
-
name: "poolMigrationFee";
|
|
2519
|
-
type: "u64";
|
|
3012
|
+
"name": "poolMigrationFee";
|
|
3013
|
+
"type": "u64";
|
|
2520
3014
|
},
|
|
2521
3015
|
{
|
|
2522
|
-
name: "creatorFeeBasisPoints";
|
|
2523
|
-
type: "u64";
|
|
3016
|
+
"name": "creatorFeeBasisPoints";
|
|
3017
|
+
"type": "u64";
|
|
2524
3018
|
},
|
|
2525
3019
|
{
|
|
2526
|
-
name: "feeRecipients";
|
|
2527
|
-
type: {
|
|
2528
|
-
array: [
|
|
3020
|
+
"name": "feeRecipients";
|
|
3021
|
+
"type": {
|
|
3022
|
+
"array": [
|
|
3023
|
+
"pubkey",
|
|
3024
|
+
8
|
|
3025
|
+
];
|
|
2529
3026
|
};
|
|
2530
3027
|
},
|
|
2531
3028
|
{
|
|
2532
|
-
name: "timestamp";
|
|
2533
|
-
type: "i64";
|
|
3029
|
+
"name": "timestamp";
|
|
3030
|
+
"type": "i64";
|
|
2534
3031
|
},
|
|
2535
3032
|
{
|
|
2536
|
-
name: "setCreatorAuthority";
|
|
2537
|
-
type: "pubkey";
|
|
3033
|
+
"name": "setCreatorAuthority";
|
|
3034
|
+
"type": "pubkey";
|
|
3035
|
+
},
|
|
3036
|
+
{
|
|
3037
|
+
"name": "adminSetCreatorAuthority";
|
|
3038
|
+
"type": "pubkey";
|
|
2538
3039
|
}
|
|
2539
3040
|
];
|
|
2540
3041
|
};
|
|
2541
3042
|
},
|
|
2542
3043
|
{
|
|
2543
|
-
name: "tradeEvent";
|
|
2544
|
-
type: {
|
|
2545
|
-
kind: "struct";
|
|
2546
|
-
fields: [
|
|
3044
|
+
"name": "tradeEvent";
|
|
3045
|
+
"type": {
|
|
3046
|
+
"kind": "struct";
|
|
3047
|
+
"fields": [
|
|
2547
3048
|
{
|
|
2548
|
-
name: "mint";
|
|
2549
|
-
type: "pubkey";
|
|
3049
|
+
"name": "mint";
|
|
3050
|
+
"type": "pubkey";
|
|
2550
3051
|
},
|
|
2551
3052
|
{
|
|
2552
|
-
name: "solAmount";
|
|
2553
|
-
type: "u64";
|
|
3053
|
+
"name": "solAmount";
|
|
3054
|
+
"type": "u64";
|
|
2554
3055
|
},
|
|
2555
3056
|
{
|
|
2556
|
-
name: "tokenAmount";
|
|
2557
|
-
type: "u64";
|
|
3057
|
+
"name": "tokenAmount";
|
|
3058
|
+
"type": "u64";
|
|
2558
3059
|
},
|
|
2559
3060
|
{
|
|
2560
|
-
name: "isBuy";
|
|
2561
|
-
type: "bool";
|
|
3061
|
+
"name": "isBuy";
|
|
3062
|
+
"type": "bool";
|
|
2562
3063
|
},
|
|
2563
3064
|
{
|
|
2564
|
-
name: "user";
|
|
2565
|
-
type: "pubkey";
|
|
3065
|
+
"name": "user";
|
|
3066
|
+
"type": "pubkey";
|
|
2566
3067
|
},
|
|
2567
3068
|
{
|
|
2568
|
-
name: "timestamp";
|
|
2569
|
-
type: "i64";
|
|
3069
|
+
"name": "timestamp";
|
|
3070
|
+
"type": "i64";
|
|
2570
3071
|
},
|
|
2571
3072
|
{
|
|
2572
|
-
name: "virtualSolReserves";
|
|
2573
|
-
type: "u64";
|
|
3073
|
+
"name": "virtualSolReserves";
|
|
3074
|
+
"type": "u64";
|
|
2574
3075
|
},
|
|
2575
3076
|
{
|
|
2576
|
-
name: "virtualTokenReserves";
|
|
2577
|
-
type: "u64";
|
|
3077
|
+
"name": "virtualTokenReserves";
|
|
3078
|
+
"type": "u64";
|
|
2578
3079
|
},
|
|
2579
3080
|
{
|
|
2580
|
-
name: "realSolReserves";
|
|
2581
|
-
type: "u64";
|
|
3081
|
+
"name": "realSolReserves";
|
|
3082
|
+
"type": "u64";
|
|
2582
3083
|
},
|
|
2583
3084
|
{
|
|
2584
|
-
name: "realTokenReserves";
|
|
2585
|
-
type: "u64";
|
|
3085
|
+
"name": "realTokenReserves";
|
|
3086
|
+
"type": "u64";
|
|
2586
3087
|
},
|
|
2587
3088
|
{
|
|
2588
|
-
name: "feeRecipient";
|
|
2589
|
-
type: "pubkey";
|
|
3089
|
+
"name": "feeRecipient";
|
|
3090
|
+
"type": "pubkey";
|
|
2590
3091
|
},
|
|
2591
3092
|
{
|
|
2592
|
-
name: "feeBasisPoints";
|
|
2593
|
-
type: "u64";
|
|
3093
|
+
"name": "feeBasisPoints";
|
|
3094
|
+
"type": "u64";
|
|
2594
3095
|
},
|
|
2595
3096
|
{
|
|
2596
|
-
name: "fee";
|
|
2597
|
-
type: "u64";
|
|
3097
|
+
"name": "fee";
|
|
3098
|
+
"type": "u64";
|
|
2598
3099
|
},
|
|
2599
3100
|
{
|
|
2600
|
-
name: "creator";
|
|
2601
|
-
type: "pubkey";
|
|
3101
|
+
"name": "creator";
|
|
3102
|
+
"type": "pubkey";
|
|
2602
3103
|
},
|
|
2603
3104
|
{
|
|
2604
|
-
name: "creatorFeeBasisPoints";
|
|
2605
|
-
type: "u64";
|
|
3105
|
+
"name": "creatorFeeBasisPoints";
|
|
3106
|
+
"type": "u64";
|
|
2606
3107
|
},
|
|
2607
3108
|
{
|
|
2608
|
-
name: "creatorFee";
|
|
2609
|
-
type: "u64";
|
|
3109
|
+
"name": "creatorFee";
|
|
3110
|
+
"type": "u64";
|
|
2610
3111
|
}
|
|
2611
3112
|
];
|
|
2612
3113
|
};
|
|
2613
3114
|
},
|
|
2614
3115
|
{
|
|
2615
|
-
name: "updateGlobalAuthorityEvent";
|
|
2616
|
-
type: {
|
|
2617
|
-
kind: "struct";
|
|
2618
|
-
fields: [
|
|
3116
|
+
"name": "updateGlobalAuthorityEvent";
|
|
3117
|
+
"type": {
|
|
3118
|
+
"kind": "struct";
|
|
3119
|
+
"fields": [
|
|
2619
3120
|
{
|
|
2620
|
-
name: "global";
|
|
2621
|
-
type: "pubkey";
|
|
3121
|
+
"name": "global";
|
|
3122
|
+
"type": "pubkey";
|
|
2622
3123
|
},
|
|
2623
3124
|
{
|
|
2624
|
-
name: "authority";
|
|
2625
|
-
type: "pubkey";
|
|
3125
|
+
"name": "authority";
|
|
3126
|
+
"type": "pubkey";
|
|
2626
3127
|
},
|
|
2627
3128
|
{
|
|
2628
|
-
name: "newAuthority";
|
|
2629
|
-
type: "pubkey";
|
|
3129
|
+
"name": "newAuthority";
|
|
3130
|
+
"type": "pubkey";
|
|
2630
3131
|
},
|
|
2631
3132
|
{
|
|
2632
|
-
name: "timestamp";
|
|
2633
|
-
type: "i64";
|
|
3133
|
+
"name": "timestamp";
|
|
3134
|
+
"type": "i64";
|
|
2634
3135
|
}
|
|
2635
3136
|
];
|
|
2636
3137
|
};
|
|
@@ -2646,6 +3147,120 @@ var metadata = {
|
|
|
2646
3147
|
description: "Created with Anchor"
|
|
2647
3148
|
};
|
|
2648
3149
|
var instructions = [
|
|
3150
|
+
{
|
|
3151
|
+
name: "admin_set_creator",
|
|
3152
|
+
docs: [
|
|
3153
|
+
"Allows Global::admin_set_creator_authority to override the bonding curve creator"
|
|
3154
|
+
],
|
|
3155
|
+
discriminator: [
|
|
3156
|
+
69,
|
|
3157
|
+
25,
|
|
3158
|
+
171,
|
|
3159
|
+
142,
|
|
3160
|
+
57,
|
|
3161
|
+
239,
|
|
3162
|
+
13,
|
|
3163
|
+
4
|
|
3164
|
+
],
|
|
3165
|
+
accounts: [
|
|
3166
|
+
{
|
|
3167
|
+
name: "admin_set_creator_authority",
|
|
3168
|
+
signer: true,
|
|
3169
|
+
relations: [
|
|
3170
|
+
"global"
|
|
3171
|
+
]
|
|
3172
|
+
},
|
|
3173
|
+
{
|
|
3174
|
+
name: "global",
|
|
3175
|
+
pda: {
|
|
3176
|
+
seeds: [
|
|
3177
|
+
{
|
|
3178
|
+
kind: "const",
|
|
3179
|
+
value: [
|
|
3180
|
+
103,
|
|
3181
|
+
108,
|
|
3182
|
+
111,
|
|
3183
|
+
98,
|
|
3184
|
+
97,
|
|
3185
|
+
108
|
|
3186
|
+
]
|
|
3187
|
+
}
|
|
3188
|
+
]
|
|
3189
|
+
}
|
|
3190
|
+
},
|
|
3191
|
+
{
|
|
3192
|
+
name: "mint"
|
|
3193
|
+
},
|
|
3194
|
+
{
|
|
3195
|
+
name: "bonding_curve",
|
|
3196
|
+
writable: true,
|
|
3197
|
+
pda: {
|
|
3198
|
+
seeds: [
|
|
3199
|
+
{
|
|
3200
|
+
kind: "const",
|
|
3201
|
+
value: [
|
|
3202
|
+
98,
|
|
3203
|
+
111,
|
|
3204
|
+
110,
|
|
3205
|
+
100,
|
|
3206
|
+
105,
|
|
3207
|
+
110,
|
|
3208
|
+
103,
|
|
3209
|
+
45,
|
|
3210
|
+
99,
|
|
3211
|
+
117,
|
|
3212
|
+
114,
|
|
3213
|
+
118,
|
|
3214
|
+
101
|
|
3215
|
+
]
|
|
3216
|
+
},
|
|
3217
|
+
{
|
|
3218
|
+
kind: "account",
|
|
3219
|
+
path: "mint"
|
|
3220
|
+
}
|
|
3221
|
+
]
|
|
3222
|
+
}
|
|
3223
|
+
},
|
|
3224
|
+
{
|
|
3225
|
+
name: "event_authority",
|
|
3226
|
+
pda: {
|
|
3227
|
+
seeds: [
|
|
3228
|
+
{
|
|
3229
|
+
kind: "const",
|
|
3230
|
+
value: [
|
|
3231
|
+
95,
|
|
3232
|
+
95,
|
|
3233
|
+
101,
|
|
3234
|
+
118,
|
|
3235
|
+
101,
|
|
3236
|
+
110,
|
|
3237
|
+
116,
|
|
3238
|
+
95,
|
|
3239
|
+
97,
|
|
3240
|
+
117,
|
|
3241
|
+
116,
|
|
3242
|
+
104,
|
|
3243
|
+
111,
|
|
3244
|
+
114,
|
|
3245
|
+
105,
|
|
3246
|
+
116,
|
|
3247
|
+
121
|
|
3248
|
+
]
|
|
3249
|
+
}
|
|
3250
|
+
]
|
|
3251
|
+
}
|
|
3252
|
+
},
|
|
3253
|
+
{
|
|
3254
|
+
name: "program"
|
|
3255
|
+
}
|
|
3256
|
+
],
|
|
3257
|
+
args: [
|
|
3258
|
+
{
|
|
3259
|
+
name: "creator",
|
|
3260
|
+
type: "pubkey"
|
|
3261
|
+
}
|
|
3262
|
+
]
|
|
3263
|
+
},
|
|
2649
3264
|
{
|
|
2650
3265
|
name: "buy",
|
|
2651
3266
|
docs: [
|
|
@@ -4708,6 +5323,10 @@ var instructions = [
|
|
|
4708
5323
|
{
|
|
4709
5324
|
name: "set_creator_authority",
|
|
4710
5325
|
type: "pubkey"
|
|
5326
|
+
},
|
|
5327
|
+
{
|
|
5328
|
+
name: "admin_set_creator_authority",
|
|
5329
|
+
type: "pubkey"
|
|
4711
5330
|
}
|
|
4712
5331
|
]
|
|
4713
5332
|
},
|
|
@@ -4819,6 +5438,19 @@ var accounts = [
|
|
|
4819
5438
|
}
|
|
4820
5439
|
];
|
|
4821
5440
|
var events = [
|
|
5441
|
+
{
|
|
5442
|
+
name: "AdminSetCreatorEvent",
|
|
5443
|
+
discriminator: [
|
|
5444
|
+
64,
|
|
5445
|
+
69,
|
|
5446
|
+
192,
|
|
5447
|
+
104,
|
|
5448
|
+
29,
|
|
5449
|
+
30,
|
|
5450
|
+
25,
|
|
5451
|
+
107
|
|
5452
|
+
]
|
|
5453
|
+
},
|
|
4822
5454
|
{
|
|
4823
5455
|
name: "CollectCreatorFeeEvent",
|
|
4824
5456
|
discriminator: [
|
|
@@ -5108,6 +5740,38 @@ var errors = [
|
|
|
5108
5740
|
}
|
|
5109
5741
|
];
|
|
5110
5742
|
var types = [
|
|
5743
|
+
{
|
|
5744
|
+
name: "AdminSetCreatorEvent",
|
|
5745
|
+
type: {
|
|
5746
|
+
kind: "struct",
|
|
5747
|
+
fields: [
|
|
5748
|
+
{
|
|
5749
|
+
name: "timestamp",
|
|
5750
|
+
type: "i64"
|
|
5751
|
+
},
|
|
5752
|
+
{
|
|
5753
|
+
name: "admin_set_creator_authority",
|
|
5754
|
+
type: "pubkey"
|
|
5755
|
+
},
|
|
5756
|
+
{
|
|
5757
|
+
name: "mint",
|
|
5758
|
+
type: "pubkey"
|
|
5759
|
+
},
|
|
5760
|
+
{
|
|
5761
|
+
name: "bonding_curve",
|
|
5762
|
+
type: "pubkey"
|
|
5763
|
+
},
|
|
5764
|
+
{
|
|
5765
|
+
name: "old_creator",
|
|
5766
|
+
type: "pubkey"
|
|
5767
|
+
},
|
|
5768
|
+
{
|
|
5769
|
+
name: "new_creator",
|
|
5770
|
+
type: "pubkey"
|
|
5771
|
+
}
|
|
5772
|
+
]
|
|
5773
|
+
}
|
|
5774
|
+
},
|
|
5111
5775
|
{
|
|
5112
5776
|
name: "BondingCurve",
|
|
5113
5777
|
type: {
|
|
@@ -5383,6 +6047,10 @@ var types = [
|
|
|
5383
6047
|
{
|
|
5384
6048
|
name: "set_creator_authority",
|
|
5385
6049
|
type: "pubkey"
|
|
6050
|
+
},
|
|
6051
|
+
{
|
|
6052
|
+
name: "admin_set_creator_authority",
|
|
6053
|
+
type: "pubkey"
|
|
5386
6054
|
}
|
|
5387
6055
|
]
|
|
5388
6056
|
}
|
|
@@ -5500,6 +6168,10 @@ var types = [
|
|
|
5500
6168
|
{
|
|
5501
6169
|
name: "set_creator_authority",
|
|
5502
6170
|
type: "pubkey"
|
|
6171
|
+
},
|
|
6172
|
+
{
|
|
6173
|
+
name: "admin_set_creator_authority",
|
|
6174
|
+
type: "pubkey"
|
|
5503
6175
|
}
|
|
5504
6176
|
]
|
|
5505
6177
|
}
|
|
@@ -5625,6 +6297,8 @@ interface Global {
|
|
|
5625
6297
|
poolMigrationFee: BN;
|
|
5626
6298
|
creatorFeeBasisPoints: BN;
|
|
5627
6299
|
feeRecipients: PublicKey[];
|
|
6300
|
+
setCreatorAuthority: PublicKey;
|
|
6301
|
+
adminSetCreatorAuthority: PublicKey;
|
|
5628
6302
|
}
|
|
5629
6303
|
interface BondingCurve {
|
|
5630
6304
|
virtualTokenReserves: BN;
|