@solana-launchpads/sdk 1.0.11

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