@solana-launchpad/sdk 1.0.0

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