@bagsfm/bags-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.
Files changed (94) hide show
  1. package/LICENSE +21 -0
  2. package/README.md +78 -0
  3. package/dist/api/bags-client.d.ts +19 -0
  4. package/dist/api/bags-client.d.ts.map +1 -0
  5. package/dist/api/bags-client.js +91 -0
  6. package/dist/api/bags-client.js.map +1 -0
  7. package/dist/client.d.ts +15 -0
  8. package/dist/client.d.ts.map +1 -0
  9. package/dist/client.js +19 -0
  10. package/dist/client.js.map +1 -0
  11. package/dist/constants.d.ts +9 -0
  12. package/dist/constants.d.ts.map +1 -0
  13. package/dist/constants.js +12 -0
  14. package/dist/constants.js.map +1 -0
  15. package/dist/idl/bags-meteora-fee-claimer/idl.d.ts +1740 -0
  16. package/dist/idl/bags-meteora-fee-claimer/idl.d.ts.map +1 -0
  17. package/dist/idl/bags-meteora-fee-claimer/idl.js +3 -0
  18. package/dist/idl/bags-meteora-fee-claimer/idl.js.map +1 -0
  19. package/dist/idl/bags-meteora-fee-claimer/idl.json +1398 -0
  20. package/dist/idl/damm-v2/idl.d.ts +4400 -0
  21. package/dist/idl/damm-v2/idl.d.ts.map +1 -0
  22. package/dist/idl/damm-v2/idl.js +3 -0
  23. package/dist/idl/damm-v2/idl.js.map +1 -0
  24. package/dist/idl/damm-v2/idl.json +4277 -0
  25. package/dist/idl/dynamic-bonding-curve/idl.d.ts +4596 -0
  26. package/dist/idl/dynamic-bonding-curve/idl.d.ts.map +1 -0
  27. package/dist/idl/dynamic-bonding-curve/idl.js +3 -0
  28. package/dist/idl/dynamic-bonding-curve/idl.js.map +1 -0
  29. package/dist/idl/dynamic-bonding-curve/idl.json +4195 -0
  30. package/dist/index.d.ts +5 -0
  31. package/dist/index.d.ts.map +1 -0
  32. package/dist/index.js +21 -0
  33. package/dist/index.js.map +1 -0
  34. package/dist/services/base.d.ts +16 -0
  35. package/dist/services/base.d.ts.map +1 -0
  36. package/dist/services/base.js +17 -0
  37. package/dist/services/base.js.map +1 -0
  38. package/dist/services/config.d.ts +9 -0
  39. package/dist/services/config.d.ts.map +1 -0
  40. package/dist/services/config.js +79 -0
  41. package/dist/services/config.js.map +1 -0
  42. package/dist/services/fees.d.ts +9 -0
  43. package/dist/services/fees.d.ts.map +1 -0
  44. package/dist/services/fees.js +65 -0
  45. package/dist/services/fees.js.map +1 -0
  46. package/dist/services/state.d.ts +16 -0
  47. package/dist/services/state.d.ts.map +1 -0
  48. package/dist/services/state.js +54 -0
  49. package/dist/services/state.js.map +1 -0
  50. package/dist/services/token-launch.d.ts +9 -0
  51. package/dist/services/token-launch.d.ts.map +1 -0
  52. package/dist/services/token-launch.js +50 -0
  53. package/dist/services/token-launch.js.map +1 -0
  54. package/dist/types/api.d.ts +32 -0
  55. package/dist/types/api.d.ts.map +1 -0
  56. package/dist/types/api.js +3 -0
  57. package/dist/types/api.js.map +1 -0
  58. package/dist/types/index.d.ts +3 -0
  59. package/dist/types/index.d.ts.map +1 -0
  60. package/dist/types/index.js +19 -0
  61. package/dist/types/index.js.map +1 -0
  62. package/dist/types/meteora.d.ts +79 -0
  63. package/dist/types/meteora.d.ts.map +1 -0
  64. package/dist/types/meteora.js +3 -0
  65. package/dist/types/meteora.js.map +1 -0
  66. package/dist/types/token-launch.d.ts +71 -0
  67. package/dist/types/token-launch.d.ts.map +1 -0
  68. package/dist/types/token-launch.js +11 -0
  69. package/dist/types/token-launch.js.map +1 -0
  70. package/dist/utils/config.d.ts +4 -0
  71. package/dist/utils/config.d.ts.map +1 -0
  72. package/dist/utils/config.js +27 -0
  73. package/dist/utils/config.js.map +1 -0
  74. package/dist/utils/create-program.d.ts +15 -0
  75. package/dist/utils/create-program.d.ts.map +1 -0
  76. package/dist/utils/create-program.js +34 -0
  77. package/dist/utils/create-program.js.map +1 -0
  78. package/dist/utils/fee-claim.d.ts +29 -0
  79. package/dist/utils/fee-claim.d.ts.map +1 -0
  80. package/dist/utils/fee-claim.js +448 -0
  81. package/dist/utils/fee-claim.js.map +1 -0
  82. package/dist/utils/fee-share.d.ts +7 -0
  83. package/dist/utils/fee-share.d.ts.map +1 -0
  84. package/dist/utils/fee-share.js +31 -0
  85. package/dist/utils/fee-share.js.map +1 -0
  86. package/dist/utils/image.d.ts +18 -0
  87. package/dist/utils/image.d.ts.map +1 -0
  88. package/dist/utils/image.js +111 -0
  89. package/dist/utils/image.js.map +1 -0
  90. package/dist/utils/index.d.ts +4 -0
  91. package/dist/utils/index.d.ts.map +1 -0
  92. package/dist/utils/index.js +20 -0
  93. package/dist/utils/index.js.map +1 -0
  94. package/package.json +71 -0
@@ -0,0 +1,1740 @@
1
+ export type BagsMeteoraFeeClaimer = {
2
+ address: 'FEEhPbKVKnco9EXnaY3i4R5rQVUx91wgVfu8qokixywi';
3
+ metadata: {
4
+ name: 'bagsMeteoraFeeClaimer';
5
+ version: '0.0.1';
6
+ spec: '0.1.0';
7
+ };
8
+ instructions: [
9
+ {
10
+ name: 'claimA';
11
+ docs: ['Claim fees as claimer_a', '', '[dbc] -> [fee_authority]', '[fee_authority] -> [claimer_a] & [vault_b]', '[vault_a] -> [claimer_a]'];
12
+ discriminator: [161, 169, 182, 105, 63, 187, 190, 46];
13
+ accounts: [
14
+ {
15
+ name: 'claimerA';
16
+ writable: true;
17
+ signer: true;
18
+ },
19
+ {
20
+ name: 'claimerB';
21
+ },
22
+ {
23
+ name: 'feeAuthority';
24
+ docs: ['(PDA) Fee authority account to be passed to meteora as fee claimer'];
25
+ writable: true;
26
+ pda: {
27
+ seeds: [
28
+ {
29
+ kind: 'const';
30
+ value: [102, 101, 101, 95, 97, 117, 116, 104, 111, 114, 105, 116, 121];
31
+ },
32
+ {
33
+ kind: 'account';
34
+ path: 'claimerA';
35
+ },
36
+ {
37
+ kind: 'account';
38
+ path: 'claimerB';
39
+ },
40
+ {
41
+ kind: 'account';
42
+ path: 'baseMint';
43
+ }
44
+ ];
45
+ };
46
+ },
47
+ {
48
+ name: 'feeAuthorityQuoteAta';
49
+ writable: true;
50
+ pda: {
51
+ seeds: [
52
+ {
53
+ kind: 'account';
54
+ path: 'feeAuthority';
55
+ },
56
+ {
57
+ kind: 'account';
58
+ path: 'tokenQuoteProgram';
59
+ },
60
+ {
61
+ kind: 'account';
62
+ path: 'quoteMint';
63
+ }
64
+ ];
65
+ program: {
66
+ kind: 'const';
67
+ value: [
68
+ 140,
69
+ 151,
70
+ 37,
71
+ 143,
72
+ 78,
73
+ 36,
74
+ 137,
75
+ 241,
76
+ 187,
77
+ 61,
78
+ 16,
79
+ 41,
80
+ 20,
81
+ 142,
82
+ 13,
83
+ 131,
84
+ 11,
85
+ 90,
86
+ 19,
87
+ 153,
88
+ 218,
89
+ 255,
90
+ 16,
91
+ 132,
92
+ 4,
93
+ 142,
94
+ 123,
95
+ 216,
96
+ 219,
97
+ 233,
98
+ 248,
99
+ 89
100
+ ];
101
+ };
102
+ };
103
+ },
104
+ {
105
+ name: 'feeAuthorityBaseAta';
106
+ writable: true;
107
+ pda: {
108
+ seeds: [
109
+ {
110
+ kind: 'account';
111
+ path: 'feeAuthority';
112
+ },
113
+ {
114
+ kind: 'account';
115
+ path: 'tokenBaseProgram';
116
+ },
117
+ {
118
+ kind: 'account';
119
+ path: 'baseMint';
120
+ }
121
+ ];
122
+ program: {
123
+ kind: 'const';
124
+ value: [
125
+ 140,
126
+ 151,
127
+ 37,
128
+ 143,
129
+ 78,
130
+ 36,
131
+ 137,
132
+ 241,
133
+ 187,
134
+ 61,
135
+ 16,
136
+ 41,
137
+ 20,
138
+ 142,
139
+ 13,
140
+ 131,
141
+ 11,
142
+ 90,
143
+ 19,
144
+ 153,
145
+ 218,
146
+ 255,
147
+ 16,
148
+ 132,
149
+ 4,
150
+ 142,
151
+ 123,
152
+ 216,
153
+ 219,
154
+ 233,
155
+ 248,
156
+ 89
157
+ ];
158
+ };
159
+ };
160
+ },
161
+ {
162
+ name: 'vaultA';
163
+ docs: ['(PDA) Vault A state account'];
164
+ writable: true;
165
+ pda: {
166
+ seeds: [
167
+ {
168
+ kind: 'const';
169
+ value: [118, 97, 117, 108, 116];
170
+ },
171
+ {
172
+ kind: 'account';
173
+ path: 'claimerA';
174
+ },
175
+ {
176
+ kind: 'account';
177
+ path: 'baseMint';
178
+ }
179
+ ];
180
+ };
181
+ },
182
+ {
183
+ name: 'vaultB';
184
+ docs: ['(PDA) Vault B state account'];
185
+ writable: true;
186
+ pda: {
187
+ seeds: [
188
+ {
189
+ kind: 'const';
190
+ value: [118, 97, 117, 108, 116];
191
+ },
192
+ {
193
+ kind: 'account';
194
+ path: 'claimerB';
195
+ },
196
+ {
197
+ kind: 'account';
198
+ path: 'baseMint';
199
+ }
200
+ ];
201
+ };
202
+ },
203
+ {
204
+ name: 'baseMint';
205
+ docs: ['Mint of the bonding curve token'];
206
+ },
207
+ {
208
+ name: 'quoteMint';
209
+ docs: ['Mostly WSOL - this is the mint of the fees'];
210
+ },
211
+ {
212
+ name: 'systemProgram';
213
+ docs: ['Programs'];
214
+ address: '11111111111111111111111111111111';
215
+ },
216
+ {
217
+ name: 'tokenBaseProgram';
218
+ },
219
+ {
220
+ name: 'tokenQuoteProgram';
221
+ },
222
+ {
223
+ name: 'associatedTokenProgram';
224
+ address: 'ATokenGPvbdGVxr1b2hvZbsiqW5xWH25efTNsLJA8knL';
225
+ },
226
+ {
227
+ name: 'dbcProgram';
228
+ docs: ['DBC Program'];
229
+ address: 'dbcij3LWUppWqq96dh6gJWwBifmcGfLSB5D4DuSMaqN';
230
+ },
231
+ {
232
+ name: 'poolAuthority';
233
+ docs: ['---------------- EXTRA ACCOUNTS FOR METEORA CPI ---------------------'];
234
+ address: 'FhVo3mqL8PW5pH5U2CN4XE33DokiyZnUwuGpH2hmHLuM';
235
+ },
236
+ {
237
+ name: 'config';
238
+ },
239
+ {
240
+ name: 'pool';
241
+ writable: true;
242
+ },
243
+ {
244
+ name: 'baseVault';
245
+ writable: true;
246
+ },
247
+ {
248
+ name: 'quoteVault';
249
+ docs: ['CHECK The vault token account for output token (checked in CPI)'];
250
+ writable: true;
251
+ },
252
+ {
253
+ name: 'dbcEventAuthority';
254
+ pda: {
255
+ seeds: [
256
+ {
257
+ kind: 'const';
258
+ value: [95, 95, 101, 118, 101, 110, 116, 95, 97, 117, 116, 104, 111, 114, 105, 116, 121];
259
+ }
260
+ ];
261
+ program: {
262
+ kind: 'const';
263
+ value: [
264
+ 9,
265
+ 96,
266
+ 12,
267
+ 165,
268
+ 36,
269
+ 247,
270
+ 177,
271
+ 183,
272
+ 214,
273
+ 204,
274
+ 177,
275
+ 195,
276
+ 151,
277
+ 58,
278
+ 160,
279
+ 51,
280
+ 13,
281
+ 25,
282
+ 3,
283
+ 218,
284
+ 96,
285
+ 28,
286
+ 201,
287
+ 181,
288
+ 222,
289
+ 227,
290
+ 198,
291
+ 98,
292
+ 180,
293
+ 202,
294
+ 209,
295
+ 73
296
+ ];
297
+ };
298
+ };
299
+ },
300
+ {
301
+ name: 'eventAuthority';
302
+ pda: {
303
+ seeds: [
304
+ {
305
+ kind: 'const';
306
+ value: [95, 95, 101, 118, 101, 110, 116, 95, 97, 117, 116, 104, 111, 114, 105, 116, 121];
307
+ }
308
+ ];
309
+ };
310
+ },
311
+ {
312
+ name: 'program';
313
+ }
314
+ ];
315
+ args: [];
316
+ },
317
+ {
318
+ name: 'claimB';
319
+ docs: ['Claim fees as claimer_b', '', '[dbc] -> [fee_authority]', '[fee_authority] -> [claimer_b] & [vault_a]', '[vault_b] -> [claimer_b]'];
320
+ discriminator: [213, 21, 159, 131, 21, 57, 2, 67];
321
+ accounts: [
322
+ {
323
+ name: 'claimerB';
324
+ writable: true;
325
+ signer: true;
326
+ },
327
+ {
328
+ name: 'claimerA';
329
+ },
330
+ {
331
+ name: 'feeAuthority';
332
+ docs: ['(PDA) Fee authority account to be passed to meteora as fee claimer'];
333
+ writable: true;
334
+ pda: {
335
+ seeds: [
336
+ {
337
+ kind: 'const';
338
+ value: [102, 101, 101, 95, 97, 117, 116, 104, 111, 114, 105, 116, 121];
339
+ },
340
+ {
341
+ kind: 'account';
342
+ path: 'claimerA';
343
+ },
344
+ {
345
+ kind: 'account';
346
+ path: 'claimerB';
347
+ },
348
+ {
349
+ kind: 'account';
350
+ path: 'baseMint';
351
+ }
352
+ ];
353
+ };
354
+ },
355
+ {
356
+ name: 'feeAuthorityQuoteAta';
357
+ writable: true;
358
+ pda: {
359
+ seeds: [
360
+ {
361
+ kind: 'account';
362
+ path: 'feeAuthority';
363
+ },
364
+ {
365
+ kind: 'account';
366
+ path: 'tokenQuoteProgram';
367
+ },
368
+ {
369
+ kind: 'account';
370
+ path: 'quoteMint';
371
+ }
372
+ ];
373
+ program: {
374
+ kind: 'const';
375
+ value: [
376
+ 140,
377
+ 151,
378
+ 37,
379
+ 143,
380
+ 78,
381
+ 36,
382
+ 137,
383
+ 241,
384
+ 187,
385
+ 61,
386
+ 16,
387
+ 41,
388
+ 20,
389
+ 142,
390
+ 13,
391
+ 131,
392
+ 11,
393
+ 90,
394
+ 19,
395
+ 153,
396
+ 218,
397
+ 255,
398
+ 16,
399
+ 132,
400
+ 4,
401
+ 142,
402
+ 123,
403
+ 216,
404
+ 219,
405
+ 233,
406
+ 248,
407
+ 89
408
+ ];
409
+ };
410
+ };
411
+ },
412
+ {
413
+ name: 'feeAuthorityBaseAta';
414
+ writable: true;
415
+ pda: {
416
+ seeds: [
417
+ {
418
+ kind: 'account';
419
+ path: 'feeAuthority';
420
+ },
421
+ {
422
+ kind: 'account';
423
+ path: 'tokenBaseProgram';
424
+ },
425
+ {
426
+ kind: 'account';
427
+ path: 'baseMint';
428
+ }
429
+ ];
430
+ program: {
431
+ kind: 'const';
432
+ value: [
433
+ 140,
434
+ 151,
435
+ 37,
436
+ 143,
437
+ 78,
438
+ 36,
439
+ 137,
440
+ 241,
441
+ 187,
442
+ 61,
443
+ 16,
444
+ 41,
445
+ 20,
446
+ 142,
447
+ 13,
448
+ 131,
449
+ 11,
450
+ 90,
451
+ 19,
452
+ 153,
453
+ 218,
454
+ 255,
455
+ 16,
456
+ 132,
457
+ 4,
458
+ 142,
459
+ 123,
460
+ 216,
461
+ 219,
462
+ 233,
463
+ 248,
464
+ 89
465
+ ];
466
+ };
467
+ };
468
+ },
469
+ {
470
+ name: 'vaultA';
471
+ docs: ['(PDA) Vault A state account'];
472
+ writable: true;
473
+ pda: {
474
+ seeds: [
475
+ {
476
+ kind: 'const';
477
+ value: [118, 97, 117, 108, 116];
478
+ },
479
+ {
480
+ kind: 'account';
481
+ path: 'claimerA';
482
+ },
483
+ {
484
+ kind: 'account';
485
+ path: 'baseMint';
486
+ }
487
+ ];
488
+ };
489
+ },
490
+ {
491
+ name: 'vaultB';
492
+ docs: ['(PDA) Vault B state account'];
493
+ writable: true;
494
+ pda: {
495
+ seeds: [
496
+ {
497
+ kind: 'const';
498
+ value: [118, 97, 117, 108, 116];
499
+ },
500
+ {
501
+ kind: 'account';
502
+ path: 'claimerB';
503
+ },
504
+ {
505
+ kind: 'account';
506
+ path: 'baseMint';
507
+ }
508
+ ];
509
+ };
510
+ },
511
+ {
512
+ name: 'baseMint';
513
+ docs: ['Mint of the bonding curve token'];
514
+ },
515
+ {
516
+ name: 'quoteMint';
517
+ docs: ['Mostly WSOL - this is the mint of the fees'];
518
+ },
519
+ {
520
+ name: 'systemProgram';
521
+ docs: ['Programs'];
522
+ address: '11111111111111111111111111111111';
523
+ },
524
+ {
525
+ name: 'tokenBaseProgram';
526
+ },
527
+ {
528
+ name: 'tokenQuoteProgram';
529
+ },
530
+ {
531
+ name: 'associatedTokenProgram';
532
+ address: 'ATokenGPvbdGVxr1b2hvZbsiqW5xWH25efTNsLJA8knL';
533
+ },
534
+ {
535
+ name: 'dbcProgram';
536
+ docs: ['DBC Program'];
537
+ address: 'dbcij3LWUppWqq96dh6gJWwBifmcGfLSB5D4DuSMaqN';
538
+ },
539
+ {
540
+ name: 'poolAuthority';
541
+ docs: ['---------------- EXTRA ACCOUNTS FOR METEORA CPI ---------------------'];
542
+ address: 'FhVo3mqL8PW5pH5U2CN4XE33DokiyZnUwuGpH2hmHLuM';
543
+ },
544
+ {
545
+ name: 'config';
546
+ },
547
+ {
548
+ name: 'pool';
549
+ writable: true;
550
+ },
551
+ {
552
+ name: 'baseVault';
553
+ writable: true;
554
+ },
555
+ {
556
+ name: 'quoteVault';
557
+ docs: ['CHECK The vault token account for output token (checked in CPI)'];
558
+ writable: true;
559
+ },
560
+ {
561
+ name: 'dbcEventAuthority';
562
+ pda: {
563
+ seeds: [
564
+ {
565
+ kind: 'const';
566
+ value: [95, 95, 101, 118, 101, 110, 116, 95, 97, 117, 116, 104, 111, 114, 105, 116, 121];
567
+ }
568
+ ];
569
+ program: {
570
+ kind: 'const';
571
+ value: [
572
+ 9,
573
+ 96,
574
+ 12,
575
+ 165,
576
+ 36,
577
+ 247,
578
+ 177,
579
+ 183,
580
+ 214,
581
+ 204,
582
+ 177,
583
+ 195,
584
+ 151,
585
+ 58,
586
+ 160,
587
+ 51,
588
+ 13,
589
+ 25,
590
+ 3,
591
+ 218,
592
+ 96,
593
+ 28,
594
+ 201,
595
+ 181,
596
+ 222,
597
+ 227,
598
+ 198,
599
+ 98,
600
+ 180,
601
+ 202,
602
+ 209,
603
+ 73
604
+ ];
605
+ };
606
+ };
607
+ },
608
+ {
609
+ name: 'eventAuthority';
610
+ pda: {
611
+ seeds: [
612
+ {
613
+ kind: 'const';
614
+ value: [95, 95, 101, 118, 101, 110, 116, 95, 97, 117, 116, 104, 111, 114, 105, 116, 121];
615
+ }
616
+ ];
617
+ };
618
+ },
619
+ {
620
+ name: 'program';
621
+ }
622
+ ];
623
+ args: [];
624
+ },
625
+ {
626
+ name: 'claimDammA';
627
+ docs: ['Claim DAMM fees as claimer_a', '', '[damm] -> [fee_authority]', '[fee_authority] -> [claimer_a] & [vault_b]', '[vault_a] -> [claimer_a]'];
628
+ discriminator: [23, 251, 214, 27, 55, 68, 16, 87];
629
+ accounts: [
630
+ {
631
+ name: 'claimerA';
632
+ writable: true;
633
+ signer: true;
634
+ },
635
+ {
636
+ name: 'claimerB';
637
+ },
638
+ {
639
+ name: 'feeAuthority';
640
+ docs: ['(PDA) Fee authority account to be passed to meteora as fee claimer'];
641
+ writable: true;
642
+ pda: {
643
+ seeds: [
644
+ {
645
+ kind: 'const';
646
+ value: [102, 101, 101, 95, 97, 117, 116, 104, 111, 114, 105, 116, 121];
647
+ },
648
+ {
649
+ kind: 'account';
650
+ path: 'claimerA';
651
+ },
652
+ {
653
+ kind: 'account';
654
+ path: 'claimerB';
655
+ },
656
+ {
657
+ kind: 'account';
658
+ path: 'baseMint';
659
+ }
660
+ ];
661
+ };
662
+ },
663
+ {
664
+ name: 'feeAuthorityQuoteAta';
665
+ writable: true;
666
+ pda: {
667
+ seeds: [
668
+ {
669
+ kind: 'account';
670
+ path: 'feeAuthority';
671
+ },
672
+ {
673
+ kind: 'account';
674
+ path: 'tokenQuoteProgram';
675
+ },
676
+ {
677
+ kind: 'account';
678
+ path: 'quoteMint';
679
+ }
680
+ ];
681
+ program: {
682
+ kind: 'const';
683
+ value: [
684
+ 140,
685
+ 151,
686
+ 37,
687
+ 143,
688
+ 78,
689
+ 36,
690
+ 137,
691
+ 241,
692
+ 187,
693
+ 61,
694
+ 16,
695
+ 41,
696
+ 20,
697
+ 142,
698
+ 13,
699
+ 131,
700
+ 11,
701
+ 90,
702
+ 19,
703
+ 153,
704
+ 218,
705
+ 255,
706
+ 16,
707
+ 132,
708
+ 4,
709
+ 142,
710
+ 123,
711
+ 216,
712
+ 219,
713
+ 233,
714
+ 248,
715
+ 89
716
+ ];
717
+ };
718
+ };
719
+ },
720
+ {
721
+ name: 'feeAuthorityBaseAta';
722
+ writable: true;
723
+ pda: {
724
+ seeds: [
725
+ {
726
+ kind: 'account';
727
+ path: 'feeAuthority';
728
+ },
729
+ {
730
+ kind: 'account';
731
+ path: 'tokenBaseProgram';
732
+ },
733
+ {
734
+ kind: 'account';
735
+ path: 'baseMint';
736
+ }
737
+ ];
738
+ program: {
739
+ kind: 'const';
740
+ value: [
741
+ 140,
742
+ 151,
743
+ 37,
744
+ 143,
745
+ 78,
746
+ 36,
747
+ 137,
748
+ 241,
749
+ 187,
750
+ 61,
751
+ 16,
752
+ 41,
753
+ 20,
754
+ 142,
755
+ 13,
756
+ 131,
757
+ 11,
758
+ 90,
759
+ 19,
760
+ 153,
761
+ 218,
762
+ 255,
763
+ 16,
764
+ 132,
765
+ 4,
766
+ 142,
767
+ 123,
768
+ 216,
769
+ 219,
770
+ 233,
771
+ 248,
772
+ 89
773
+ ];
774
+ };
775
+ };
776
+ },
777
+ {
778
+ name: 'vaultA';
779
+ docs: ['(PDA) Vault A state account'];
780
+ writable: true;
781
+ pda: {
782
+ seeds: [
783
+ {
784
+ kind: 'const';
785
+ value: [118, 97, 117, 108, 116];
786
+ },
787
+ {
788
+ kind: 'account';
789
+ path: 'claimerA';
790
+ },
791
+ {
792
+ kind: 'account';
793
+ path: 'baseMint';
794
+ }
795
+ ];
796
+ };
797
+ },
798
+ {
799
+ name: 'vaultB';
800
+ docs: ['(PDA) Vault B state account'];
801
+ writable: true;
802
+ pda: {
803
+ seeds: [
804
+ {
805
+ kind: 'const';
806
+ value: [118, 97, 117, 108, 116];
807
+ },
808
+ {
809
+ kind: 'account';
810
+ path: 'claimerB';
811
+ },
812
+ {
813
+ kind: 'account';
814
+ path: 'baseMint';
815
+ }
816
+ ];
817
+ };
818
+ },
819
+ {
820
+ name: 'baseMint';
821
+ docs: ['Mint of the bonding curve token'];
822
+ },
823
+ {
824
+ name: 'quoteMint';
825
+ docs: ['Mostly WSOL - this is the mint of the fees'];
826
+ },
827
+ {
828
+ name: 'systemProgram';
829
+ docs: ['Programs'];
830
+ address: '11111111111111111111111111111111';
831
+ },
832
+ {
833
+ name: 'tokenBaseProgram';
834
+ },
835
+ {
836
+ name: 'tokenQuoteProgram';
837
+ },
838
+ {
839
+ name: 'associatedTokenProgram';
840
+ address: 'ATokenGPvbdGVxr1b2hvZbsiqW5xWH25efTNsLJA8knL';
841
+ },
842
+ {
843
+ name: 'dammProgram';
844
+ address: 'cpamdpZCGKUy5JxQXB4dcpGPiikHawvSWAd6mEn1sGG';
845
+ },
846
+ {
847
+ name: 'poolAuthority';
848
+ docs: ['---------------- EXTRA ACCOUNTS FOR METEORA CPI ---------------------'];
849
+ address: 'HLnpSz9h2S4hiLQ43rnSD9XkcUThA7B8hQMKmDaiTLcC';
850
+ },
851
+ {
852
+ name: 'pool';
853
+ },
854
+ {
855
+ name: 'position';
856
+ writable: true;
857
+ },
858
+ {
859
+ name: 'baseVault';
860
+ writable: true;
861
+ },
862
+ {
863
+ name: 'quoteVault';
864
+ writable: true;
865
+ },
866
+ {
867
+ name: 'positionNftAccount';
868
+ docs: ['The token account for nft', ''];
869
+ },
870
+ {
871
+ name: 'dammEventAuthority';
872
+ address: '3rmHSu74h1ZcmAisVcWerTCiRDQbUrBKmcwptYGjHfet';
873
+ },
874
+ {
875
+ name: 'eventAuthority';
876
+ pda: {
877
+ seeds: [
878
+ {
879
+ kind: 'const';
880
+ value: [95, 95, 101, 118, 101, 110, 116, 95, 97, 117, 116, 104, 111, 114, 105, 116, 121];
881
+ }
882
+ ];
883
+ };
884
+ },
885
+ {
886
+ name: 'program';
887
+ }
888
+ ];
889
+ args: [];
890
+ },
891
+ {
892
+ name: 'claimDammB';
893
+ docs: ['Claim DAMM fees as claimer_a', '', '[damm] -> [fee_authority]', '[fee_authority] -> [claimer_b] & [vault_a]', '[vault_b] -> [claimer_b]'];
894
+ discriminator: [85, 187, 79, 227, 148, 222, 169, 95];
895
+ accounts: [
896
+ {
897
+ name: 'claimerB';
898
+ writable: true;
899
+ signer: true;
900
+ },
901
+ {
902
+ name: 'claimerA';
903
+ },
904
+ {
905
+ name: 'feeAuthority';
906
+ docs: ['(PDA) Fee authority account to be passed to meteora as fee claimer'];
907
+ writable: true;
908
+ pda: {
909
+ seeds: [
910
+ {
911
+ kind: 'const';
912
+ value: [102, 101, 101, 95, 97, 117, 116, 104, 111, 114, 105, 116, 121];
913
+ },
914
+ {
915
+ kind: 'account';
916
+ path: 'claimerA';
917
+ },
918
+ {
919
+ kind: 'account';
920
+ path: 'claimerB';
921
+ },
922
+ {
923
+ kind: 'account';
924
+ path: 'baseMint';
925
+ }
926
+ ];
927
+ };
928
+ },
929
+ {
930
+ name: 'feeAuthorityQuoteAta';
931
+ writable: true;
932
+ pda: {
933
+ seeds: [
934
+ {
935
+ kind: 'account';
936
+ path: 'feeAuthority';
937
+ },
938
+ {
939
+ kind: 'account';
940
+ path: 'tokenQuoteProgram';
941
+ },
942
+ {
943
+ kind: 'account';
944
+ path: 'quoteMint';
945
+ }
946
+ ];
947
+ program: {
948
+ kind: 'const';
949
+ value: [
950
+ 140,
951
+ 151,
952
+ 37,
953
+ 143,
954
+ 78,
955
+ 36,
956
+ 137,
957
+ 241,
958
+ 187,
959
+ 61,
960
+ 16,
961
+ 41,
962
+ 20,
963
+ 142,
964
+ 13,
965
+ 131,
966
+ 11,
967
+ 90,
968
+ 19,
969
+ 153,
970
+ 218,
971
+ 255,
972
+ 16,
973
+ 132,
974
+ 4,
975
+ 142,
976
+ 123,
977
+ 216,
978
+ 219,
979
+ 233,
980
+ 248,
981
+ 89
982
+ ];
983
+ };
984
+ };
985
+ },
986
+ {
987
+ name: 'feeAuthorityBaseAta';
988
+ writable: true;
989
+ pda: {
990
+ seeds: [
991
+ {
992
+ kind: 'account';
993
+ path: 'feeAuthority';
994
+ },
995
+ {
996
+ kind: 'account';
997
+ path: 'tokenBaseProgram';
998
+ },
999
+ {
1000
+ kind: 'account';
1001
+ path: 'baseMint';
1002
+ }
1003
+ ];
1004
+ program: {
1005
+ kind: 'const';
1006
+ value: [
1007
+ 140,
1008
+ 151,
1009
+ 37,
1010
+ 143,
1011
+ 78,
1012
+ 36,
1013
+ 137,
1014
+ 241,
1015
+ 187,
1016
+ 61,
1017
+ 16,
1018
+ 41,
1019
+ 20,
1020
+ 142,
1021
+ 13,
1022
+ 131,
1023
+ 11,
1024
+ 90,
1025
+ 19,
1026
+ 153,
1027
+ 218,
1028
+ 255,
1029
+ 16,
1030
+ 132,
1031
+ 4,
1032
+ 142,
1033
+ 123,
1034
+ 216,
1035
+ 219,
1036
+ 233,
1037
+ 248,
1038
+ 89
1039
+ ];
1040
+ };
1041
+ };
1042
+ },
1043
+ {
1044
+ name: 'vaultA';
1045
+ docs: ['(PDA) Vault A state account'];
1046
+ writable: true;
1047
+ pda: {
1048
+ seeds: [
1049
+ {
1050
+ kind: 'const';
1051
+ value: [118, 97, 117, 108, 116];
1052
+ },
1053
+ {
1054
+ kind: 'account';
1055
+ path: 'claimerA';
1056
+ },
1057
+ {
1058
+ kind: 'account';
1059
+ path: 'baseMint';
1060
+ }
1061
+ ];
1062
+ };
1063
+ },
1064
+ {
1065
+ name: 'vaultB';
1066
+ docs: ['(PDA) Vault B state account'];
1067
+ writable: true;
1068
+ pda: {
1069
+ seeds: [
1070
+ {
1071
+ kind: 'const';
1072
+ value: [118, 97, 117, 108, 116];
1073
+ },
1074
+ {
1075
+ kind: 'account';
1076
+ path: 'claimerB';
1077
+ },
1078
+ {
1079
+ kind: 'account';
1080
+ path: 'baseMint';
1081
+ }
1082
+ ];
1083
+ };
1084
+ },
1085
+ {
1086
+ name: 'baseMint';
1087
+ docs: ['Mint of the bonding curve token'];
1088
+ },
1089
+ {
1090
+ name: 'quoteMint';
1091
+ docs: ['Mostly WSOL - this is the mint of the fees'];
1092
+ },
1093
+ {
1094
+ name: 'systemProgram';
1095
+ docs: ['Programs'];
1096
+ address: '11111111111111111111111111111111';
1097
+ },
1098
+ {
1099
+ name: 'tokenBaseProgram';
1100
+ },
1101
+ {
1102
+ name: 'tokenQuoteProgram';
1103
+ },
1104
+ {
1105
+ name: 'associatedTokenProgram';
1106
+ address: 'ATokenGPvbdGVxr1b2hvZbsiqW5xWH25efTNsLJA8knL';
1107
+ },
1108
+ {
1109
+ name: 'dammProgram';
1110
+ address: 'cpamdpZCGKUy5JxQXB4dcpGPiikHawvSWAd6mEn1sGG';
1111
+ },
1112
+ {
1113
+ name: 'poolAuthority';
1114
+ docs: ['---------------- EXTRA ACCOUNTS FOR METEORA CPI ---------------------'];
1115
+ address: 'HLnpSz9h2S4hiLQ43rnSD9XkcUThA7B8hQMKmDaiTLcC';
1116
+ },
1117
+ {
1118
+ name: 'pool';
1119
+ },
1120
+ {
1121
+ name: 'position';
1122
+ writable: true;
1123
+ },
1124
+ {
1125
+ name: 'baseVault';
1126
+ writable: true;
1127
+ },
1128
+ {
1129
+ name: 'quoteVault';
1130
+ writable: true;
1131
+ },
1132
+ {
1133
+ name: 'positionNftAccount';
1134
+ docs: ['The token account for nft', ''];
1135
+ },
1136
+ {
1137
+ name: 'dammEventAuthority';
1138
+ address: '3rmHSu74h1ZcmAisVcWerTCiRDQbUrBKmcwptYGjHfet';
1139
+ },
1140
+ {
1141
+ name: 'eventAuthority';
1142
+ pda: {
1143
+ seeds: [
1144
+ {
1145
+ kind: 'const';
1146
+ value: [95, 95, 101, 118, 101, 110, 116, 95, 97, 117, 116, 104, 111, 114, 105, 116, 121];
1147
+ }
1148
+ ];
1149
+ };
1150
+ },
1151
+ {
1152
+ name: 'program';
1153
+ }
1154
+ ];
1155
+ args: [];
1156
+ },
1157
+ {
1158
+ name: 'createFeeVaults';
1159
+ docs: ['Create fee vaults', '', 'Only an admin can create fee vaults'];
1160
+ discriminator: [40, 216, 239, 141, 127, 220, 173, 221];
1161
+ accounts: [
1162
+ {
1163
+ name: 'payer';
1164
+ docs: ['Payer for the creation of the vaults (can be same as authority)'];
1165
+ writable: true;
1166
+ signer: true;
1167
+ },
1168
+ {
1169
+ name: 'authority';
1170
+ },
1171
+ {
1172
+ name: 'claimerA';
1173
+ docs: ['Claimer A account'];
1174
+ },
1175
+ {
1176
+ name: 'claimerB';
1177
+ docs: ['Claimer B account'];
1178
+ },
1179
+ {
1180
+ name: 'vaultA';
1181
+ docs: ['(PDA) Vault A state account'];
1182
+ writable: true;
1183
+ pda: {
1184
+ seeds: [
1185
+ {
1186
+ kind: 'const';
1187
+ value: [118, 97, 117, 108, 116];
1188
+ },
1189
+ {
1190
+ kind: 'account';
1191
+ path: 'claimerA';
1192
+ },
1193
+ {
1194
+ kind: 'account';
1195
+ path: 'baseMint';
1196
+ }
1197
+ ];
1198
+ };
1199
+ },
1200
+ {
1201
+ name: 'vaultB';
1202
+ docs: ['(PDA) Vault B state account'];
1203
+ writable: true;
1204
+ pda: {
1205
+ seeds: [
1206
+ {
1207
+ kind: 'const';
1208
+ value: [118, 97, 117, 108, 116];
1209
+ },
1210
+ {
1211
+ kind: 'account';
1212
+ path: 'claimerB';
1213
+ },
1214
+ {
1215
+ kind: 'account';
1216
+ path: 'baseMint';
1217
+ }
1218
+ ];
1219
+ };
1220
+ },
1221
+ {
1222
+ name: 'feeAuthority';
1223
+ docs: ['(PDA) Fee authority account to be passed to meteora as fee claimer'];
1224
+ writable: true;
1225
+ pda: {
1226
+ seeds: [
1227
+ {
1228
+ kind: 'const';
1229
+ value: [102, 101, 101, 95, 97, 117, 116, 104, 111, 114, 105, 116, 121];
1230
+ },
1231
+ {
1232
+ kind: 'account';
1233
+ path: 'claimerA';
1234
+ },
1235
+ {
1236
+ kind: 'account';
1237
+ path: 'claimerB';
1238
+ },
1239
+ {
1240
+ kind: 'account';
1241
+ path: 'baseMint';
1242
+ }
1243
+ ];
1244
+ };
1245
+ },
1246
+ {
1247
+ name: 'feeAuthorityQuoteAta';
1248
+ writable: true;
1249
+ pda: {
1250
+ seeds: [
1251
+ {
1252
+ kind: 'account';
1253
+ path: 'feeAuthority';
1254
+ },
1255
+ {
1256
+ kind: 'account';
1257
+ path: 'tokenProgram';
1258
+ },
1259
+ {
1260
+ kind: 'account';
1261
+ path: 'quoteMint';
1262
+ }
1263
+ ];
1264
+ program: {
1265
+ kind: 'const';
1266
+ value: [
1267
+ 140,
1268
+ 151,
1269
+ 37,
1270
+ 143,
1271
+ 78,
1272
+ 36,
1273
+ 137,
1274
+ 241,
1275
+ 187,
1276
+ 61,
1277
+ 16,
1278
+ 41,
1279
+ 20,
1280
+ 142,
1281
+ 13,
1282
+ 131,
1283
+ 11,
1284
+ 90,
1285
+ 19,
1286
+ 153,
1287
+ 218,
1288
+ 255,
1289
+ 16,
1290
+ 132,
1291
+ 4,
1292
+ 142,
1293
+ 123,
1294
+ 216,
1295
+ 219,
1296
+ 233,
1297
+ 248,
1298
+ 89
1299
+ ];
1300
+ };
1301
+ };
1302
+ },
1303
+ {
1304
+ name: 'baseMint';
1305
+ docs: ['base mint of the bonding curve token'];
1306
+ },
1307
+ {
1308
+ name: 'quoteMint';
1309
+ docs: ['quote mint of the bonding curve token (WSOL)'];
1310
+ },
1311
+ {
1312
+ name: 'systemProgram';
1313
+ docs: ['Programs'];
1314
+ address: '11111111111111111111111111111111';
1315
+ },
1316
+ {
1317
+ name: 'tokenProgram';
1318
+ },
1319
+ {
1320
+ name: 'associatedTokenProgram';
1321
+ address: 'ATokenGPvbdGVxr1b2hvZbsiqW5xWH25efTNsLJA8knL';
1322
+ },
1323
+ {
1324
+ name: 'eventAuthority';
1325
+ pda: {
1326
+ seeds: [
1327
+ {
1328
+ kind: 'const';
1329
+ value: [95, 95, 101, 118, 101, 110, 116, 95, 97, 117, 116, 104, 111, 114, 105, 116, 121];
1330
+ }
1331
+ ];
1332
+ };
1333
+ },
1334
+ {
1335
+ name: 'program';
1336
+ }
1337
+ ];
1338
+ args: [
1339
+ {
1340
+ name: 'input';
1341
+ type: {
1342
+ defined: {
1343
+ name: 'createFeeVaultsParameters';
1344
+ };
1345
+ };
1346
+ }
1347
+ ];
1348
+ },
1349
+ {
1350
+ name: 'tweakFeeVaults';
1351
+ docs: ['Create fee vaults settings (bps)', '', 'Only an admin can change fee vaults settings'];
1352
+ discriminator: [237, 183, 240, 142, 11, 228, 143, 234];
1353
+ accounts: [
1354
+ {
1355
+ name: 'payer';
1356
+ docs: ['Payer for the creation of the vaults (can be same as authority)'];
1357
+ writable: true;
1358
+ signer: true;
1359
+ },
1360
+ {
1361
+ name: 'authority';
1362
+ docs: ['Authority allowed to tweak fee vaults'];
1363
+ signer: true;
1364
+ },
1365
+ {
1366
+ name: 'feeAuthority';
1367
+ docs: ['(PDA) Fee authority account to be passed to meteora as fee claimer'];
1368
+ writable: true;
1369
+ pda: {
1370
+ seeds: [
1371
+ {
1372
+ kind: 'const';
1373
+ value: [102, 101, 101, 95, 97, 117, 116, 104, 111, 114, 105, 116, 121];
1374
+ },
1375
+ {
1376
+ kind: 'account';
1377
+ path: 'claimerA';
1378
+ },
1379
+ {
1380
+ kind: 'account';
1381
+ path: 'claimerB';
1382
+ },
1383
+ {
1384
+ kind: 'account';
1385
+ path: 'baseMint';
1386
+ }
1387
+ ];
1388
+ };
1389
+ },
1390
+ {
1391
+ name: 'claimerA';
1392
+ docs: ['Claimer A account'];
1393
+ },
1394
+ {
1395
+ name: 'claimerB';
1396
+ docs: ['Claimer B account'];
1397
+ },
1398
+ {
1399
+ name: 'baseMint';
1400
+ docs: ['base mint of the bonding curve token'];
1401
+ },
1402
+ {
1403
+ name: 'quoteMint';
1404
+ docs: ['quote mint of the bonding curve token (WSOL)'];
1405
+ },
1406
+ {
1407
+ name: 'systemProgram';
1408
+ docs: ['Programs'];
1409
+ address: '11111111111111111111111111111111';
1410
+ },
1411
+ {
1412
+ name: 'tokenProgram';
1413
+ },
1414
+ {
1415
+ name: 'eventAuthority';
1416
+ pda: {
1417
+ seeds: [
1418
+ {
1419
+ kind: 'const';
1420
+ value: [95, 95, 101, 118, 101, 110, 116, 95, 97, 117, 116, 104, 111, 114, 105, 116, 121];
1421
+ }
1422
+ ];
1423
+ };
1424
+ },
1425
+ {
1426
+ name: 'program';
1427
+ }
1428
+ ];
1429
+ args: [
1430
+ {
1431
+ name: 'input';
1432
+ type: {
1433
+ defined: {
1434
+ name: 'tweakFeeVaultsParameters';
1435
+ };
1436
+ };
1437
+ }
1438
+ ];
1439
+ }
1440
+ ];
1441
+ accounts: [
1442
+ {
1443
+ name: 'feeAuthority';
1444
+ discriminator: [135, 162, 91, 24, 156, 94, 193, 104];
1445
+ },
1446
+ {
1447
+ name: 'vault';
1448
+ discriminator: [211, 8, 232, 43, 2, 152, 117, 119];
1449
+ }
1450
+ ];
1451
+ events: [
1452
+ {
1453
+ name: 'dammClaimedEvent';
1454
+ discriminator: [218, 142, 187, 210, 111, 192, 166, 237];
1455
+ },
1456
+ {
1457
+ name: 'dbcClaimedEvent';
1458
+ discriminator: [144, 46, 37, 27, 10, 171, 177, 31];
1459
+ },
1460
+ {
1461
+ name: 'feeVaultsCreatedEvent';
1462
+ discriminator: [29, 33, 12, 23, 95, 249, 238, 190];
1463
+ },
1464
+ {
1465
+ name: 'feeVaultsTweakedEvent';
1466
+ discriminator: [118, 193, 160, 81, 236, 170, 187, 139];
1467
+ }
1468
+ ];
1469
+ errors: [
1470
+ {
1471
+ code: 6000;
1472
+ name: 'typeConversionFailed';
1473
+ msg: 'Type conversion failed';
1474
+ },
1475
+ {
1476
+ code: 6001;
1477
+ name: 'checkedCalculationOverflow';
1478
+ msg: 'Checked Calculation overflowed';
1479
+ },
1480
+ {
1481
+ code: 6002;
1482
+ name: 'invalidBps';
1483
+ msg: 'Invalid BPS provided, total of both should equal 100';
1484
+ },
1485
+ {
1486
+ code: 6003;
1487
+ name: 'unauthorized';
1488
+ msg: 'unauthorized';
1489
+ },
1490
+ {
1491
+ code: 6004;
1492
+ name: 'invalidClaimerOrdering';
1493
+ msg: 'Invalid ordering of claimers, claimer_a must be less than claimer_b';
1494
+ }
1495
+ ];
1496
+ types: [
1497
+ {
1498
+ name: 'createFeeVaultsParameters';
1499
+ type: {
1500
+ kind: 'struct';
1501
+ fields: [
1502
+ {
1503
+ name: 'claimerABps';
1504
+ docs: ['% of the fee to claimer A'];
1505
+ type: 'u16';
1506
+ },
1507
+ {
1508
+ name: 'claimerBBps';
1509
+ docs: ['% of the fee to claimer B'];
1510
+ type: 'u16';
1511
+ }
1512
+ ];
1513
+ };
1514
+ },
1515
+ {
1516
+ name: 'dammClaimedEvent';
1517
+ type: {
1518
+ kind: 'struct';
1519
+ fields: [
1520
+ {
1521
+ name: 'claimer';
1522
+ docs: ['Who initiated the claim'];
1523
+ type: 'pubkey';
1524
+ },
1525
+ {
1526
+ name: 'dammTotalFees';
1527
+ docs: ['The total fees claimed from Meteora DAMM by authority'];
1528
+ type: 'u64';
1529
+ },
1530
+ {
1531
+ name: 'claimerShare';
1532
+ docs: ['Claimer share from the just claimed fees'];
1533
+ type: 'u64';
1534
+ },
1535
+ {
1536
+ name: 'totalClaimerFees';
1537
+ docs: ["Total claimed (share + what's already in vault)"];
1538
+ type: 'u64';
1539
+ },
1540
+ {
1541
+ name: 'partnerShare';
1542
+ docs: ['Partner share from the just claimed fees'];
1543
+ type: 'u64';
1544
+ },
1545
+ {
1546
+ name: 'totalPartnerFees';
1547
+ docs: ['Total fees yet to be claimed by partner'];
1548
+ type: 'u64';
1549
+ }
1550
+ ];
1551
+ };
1552
+ },
1553
+ {
1554
+ name: 'dbcClaimedEvent';
1555
+ type: {
1556
+ kind: 'struct';
1557
+ fields: [
1558
+ {
1559
+ name: 'claimer';
1560
+ docs: ['Who initiated the claim'];
1561
+ type: 'pubkey';
1562
+ },
1563
+ {
1564
+ name: 'dbcTotalFees';
1565
+ docs: ['The total fees claimed from Meteora DBC by authority'];
1566
+ type: 'u64';
1567
+ },
1568
+ {
1569
+ name: 'claimerShare';
1570
+ docs: ['Claimer share from the just claimed fees'];
1571
+ type: 'u64';
1572
+ },
1573
+ {
1574
+ name: 'totalClaimerFees';
1575
+ docs: ["Total claimed (share + what's already in vault)"];
1576
+ type: 'u64';
1577
+ },
1578
+ {
1579
+ name: 'partnerShare';
1580
+ docs: ['Partner share from the just claimed fees'];
1581
+ type: 'u64';
1582
+ },
1583
+ {
1584
+ name: 'totalPartnerFees';
1585
+ docs: ['Total fees yet to be claimed by partner'];
1586
+ type: 'u64';
1587
+ }
1588
+ ];
1589
+ };
1590
+ },
1591
+ {
1592
+ name: 'feeAuthority';
1593
+ docs: ['Fee authority to be passed to meteora to claim all fees and distribute them to the claimers', 'according to saved BPS set on initialization.'];
1594
+ type: {
1595
+ kind: 'struct';
1596
+ fields: [
1597
+ {
1598
+ name: 'claimerA';
1599
+ type: 'pubkey';
1600
+ },
1601
+ {
1602
+ name: 'claimerB';
1603
+ type: 'pubkey';
1604
+ },
1605
+ {
1606
+ name: 'claimerABps';
1607
+ type: 'u16';
1608
+ },
1609
+ {
1610
+ name: 'claimerBBps';
1611
+ type: 'u16';
1612
+ },
1613
+ {
1614
+ name: 'mint';
1615
+ type: 'pubkey';
1616
+ },
1617
+ {
1618
+ name: 'bump';
1619
+ type: 'u8';
1620
+ }
1621
+ ];
1622
+ };
1623
+ },
1624
+ {
1625
+ name: 'feeVaultsCreatedEvent';
1626
+ type: {
1627
+ kind: 'struct';
1628
+ fields: [
1629
+ {
1630
+ name: 'feeAuthority';
1631
+ type: 'pubkey';
1632
+ },
1633
+ {
1634
+ name: 'baseMint';
1635
+ type: 'pubkey';
1636
+ },
1637
+ {
1638
+ name: 'claimerA';
1639
+ type: 'pubkey';
1640
+ },
1641
+ {
1642
+ name: 'claimerB';
1643
+ type: 'pubkey';
1644
+ },
1645
+ {
1646
+ name: 'claimerABps';
1647
+ type: 'u16';
1648
+ },
1649
+ {
1650
+ name: 'claimerBBps';
1651
+ type: 'u16';
1652
+ }
1653
+ ];
1654
+ };
1655
+ },
1656
+ {
1657
+ name: 'feeVaultsTweakedEvent';
1658
+ type: {
1659
+ kind: 'struct';
1660
+ fields: [
1661
+ {
1662
+ name: 'feeAuthority';
1663
+ type: 'pubkey';
1664
+ },
1665
+ {
1666
+ name: 'baseMint';
1667
+ type: 'pubkey';
1668
+ },
1669
+ {
1670
+ name: 'claimerA';
1671
+ type: 'pubkey';
1672
+ },
1673
+ {
1674
+ name: 'claimerB';
1675
+ type: 'pubkey';
1676
+ },
1677
+ {
1678
+ name: 'oldClaimerABps';
1679
+ type: 'u16';
1680
+ },
1681
+ {
1682
+ name: 'oldClaimerBBps';
1683
+ type: 'u16';
1684
+ },
1685
+ {
1686
+ name: 'claimerABps';
1687
+ type: 'u16';
1688
+ },
1689
+ {
1690
+ name: 'claimerBBps';
1691
+ type: 'u16';
1692
+ }
1693
+ ];
1694
+ };
1695
+ },
1696
+ {
1697
+ name: 'tweakFeeVaultsParameters';
1698
+ type: {
1699
+ kind: 'struct';
1700
+ fields: [
1701
+ {
1702
+ name: 'claimerABps';
1703
+ docs: ['% of the fee to claimer A'];
1704
+ type: 'u16';
1705
+ },
1706
+ {
1707
+ name: 'claimerBBps';
1708
+ docs: ['% of the fee to claimer B'];
1709
+ type: 'u16';
1710
+ }
1711
+ ];
1712
+ };
1713
+ },
1714
+ {
1715
+ name: 'vault';
1716
+ docs: ['Vault that is storing the fees'];
1717
+ type: {
1718
+ kind: 'struct';
1719
+ fields: [
1720
+ {
1721
+ name: 'authority';
1722
+ docs: ['Fee authority on this vault'];
1723
+ type: 'pubkey';
1724
+ },
1725
+ {
1726
+ name: 'claimer';
1727
+ docs: ['Claimer of the fees'];
1728
+ type: 'pubkey';
1729
+ },
1730
+ {
1731
+ name: 'bump';
1732
+ docs: ['Bump seed for the vault account'];
1733
+ type: 'u8';
1734
+ }
1735
+ ];
1736
+ };
1737
+ }
1738
+ ];
1739
+ };
1740
+ //# sourceMappingURL=idl.d.ts.map