@helium/idls 0.2.21 → 0.2.22-next.33

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 (73) hide show
  1. package/package.json +4 -4
  2. package/lib/cjs/circuit_breaker.js +0 -551
  3. package/lib/cjs/circuit_breaker.js.map +0 -1
  4. package/lib/cjs/data_credits.js +0 -1236
  5. package/lib/cjs/data_credits.js.map +0 -1
  6. package/lib/cjs/fanout.js +0 -742
  7. package/lib/cjs/fanout.js.map +0 -1
  8. package/lib/cjs/helium_entity_manager.js +0 -3952
  9. package/lib/cjs/helium_entity_manager.js.map +0 -1
  10. package/lib/cjs/helium_sub_daos.js +0 -2936
  11. package/lib/cjs/helium_sub_daos.js.map +0 -1
  12. package/lib/cjs/lazy_distributor.js +0 -1091
  13. package/lib/cjs/lazy_distributor.js.map +0 -1
  14. package/lib/cjs/lazy_transactions.js +0 -508
  15. package/lib/cjs/lazy_transactions.js.map +0 -1
  16. package/lib/cjs/mobile_entity_manager.js +0 -939
  17. package/lib/cjs/mobile_entity_manager.js.map +0 -1
  18. package/lib/cjs/price_oracle.js +0 -257
  19. package/lib/cjs/price_oracle.js.map +0 -1
  20. package/lib/cjs/rewards_oracle.js +0 -168
  21. package/lib/cjs/rewards_oracle.js.map +0 -1
  22. package/lib/cjs/treasury_management.js +0 -424
  23. package/lib/cjs/treasury_management.js.map +0 -1
  24. package/lib/cjs/voter_stake_registry.js +0 -2317
  25. package/lib/cjs/voter_stake_registry.js.map +0 -1
  26. package/lib/esm/circuit_breaker.js +0 -548
  27. package/lib/esm/circuit_breaker.js.map +0 -1
  28. package/lib/esm/data_credits.js +0 -1233
  29. package/lib/esm/data_credits.js.map +0 -1
  30. package/lib/esm/fanout.js +0 -739
  31. package/lib/esm/fanout.js.map +0 -1
  32. package/lib/esm/helium_entity_manager.js +0 -3949
  33. package/lib/esm/helium_entity_manager.js.map +0 -1
  34. package/lib/esm/helium_sub_daos.js +0 -2933
  35. package/lib/esm/helium_sub_daos.js.map +0 -1
  36. package/lib/esm/lazy_distributor.js +0 -1088
  37. package/lib/esm/lazy_distributor.js.map +0 -1
  38. package/lib/esm/lazy_transactions.js +0 -505
  39. package/lib/esm/lazy_transactions.js.map +0 -1
  40. package/lib/esm/mobile_entity_manager.js +0 -936
  41. package/lib/esm/mobile_entity_manager.js.map +0 -1
  42. package/lib/esm/price_oracle.js +0 -254
  43. package/lib/esm/price_oracle.js.map +0 -1
  44. package/lib/esm/rewards_oracle.js +0 -165
  45. package/lib/esm/rewards_oracle.js.map +0 -1
  46. package/lib/esm/treasury_management.js +0 -421
  47. package/lib/esm/treasury_management.js.map +0 -1
  48. package/lib/esm/voter_stake_registry.js +0 -2314
  49. package/lib/esm/voter_stake_registry.js.map +0 -1
  50. package/lib/types/circuit_breaker.d.ts +0 -549
  51. package/lib/types/circuit_breaker.d.ts.map +0 -1
  52. package/lib/types/data_credits.d.ts +0 -1234
  53. package/lib/types/data_credits.d.ts.map +0 -1
  54. package/lib/types/fanout.d.ts +0 -740
  55. package/lib/types/fanout.d.ts.map +0 -1
  56. package/lib/types/helium_entity_manager.d.ts +0 -3950
  57. package/lib/types/helium_entity_manager.d.ts.map +0 -1
  58. package/lib/types/helium_sub_daos.d.ts +0 -2934
  59. package/lib/types/helium_sub_daos.d.ts.map +0 -1
  60. package/lib/types/lazy_distributor.d.ts +0 -1089
  61. package/lib/types/lazy_distributor.d.ts.map +0 -1
  62. package/lib/types/lazy_transactions.d.ts +0 -506
  63. package/lib/types/lazy_transactions.d.ts.map +0 -1
  64. package/lib/types/mobile_entity_manager.d.ts +0 -937
  65. package/lib/types/mobile_entity_manager.d.ts.map +0 -1
  66. package/lib/types/price_oracle.d.ts +0 -255
  67. package/lib/types/price_oracle.d.ts.map +0 -1
  68. package/lib/types/rewards_oracle.d.ts +0 -166
  69. package/lib/types/rewards_oracle.d.ts.map +0 -1
  70. package/lib/types/treasury_management.d.ts +0 -422
  71. package/lib/types/treasury_management.d.ts.map +0 -1
  72. package/lib/types/voter_stake_registry.d.ts +0 -2315
  73. package/lib/types/voter_stake_registry.d.ts.map +0 -1
package/lib/esm/fanout.js DELETED
@@ -1,739 +0,0 @@
1
- export const IDL = {
2
- "version": "0.0.1",
3
- "name": "fanout",
4
- "instructions": [
5
- {
6
- "name": "initializeFanoutV0",
7
- "accounts": [
8
- {
9
- "name": "payer",
10
- "isMut": true,
11
- "isSigner": true
12
- },
13
- {
14
- "name": "authority",
15
- "isMut": false,
16
- "isSigner": false
17
- },
18
- {
19
- "name": "fanout",
20
- "isMut": true,
21
- "isSigner": false,
22
- "pda": {
23
- "seeds": [
24
- {
25
- "kind": "const",
26
- "type": "string",
27
- "value": "fanout"
28
- },
29
- {
30
- "kind": "arg",
31
- "type": {
32
- "defined": "InitializeFanoutArgsV0"
33
- },
34
- "path": "args.name"
35
- }
36
- ]
37
- }
38
- },
39
- {
40
- "name": "tokenAccount",
41
- "isMut": true,
42
- "isSigner": false
43
- },
44
- {
45
- "name": "fanoutMint",
46
- "isMut": false,
47
- "isSigner": false
48
- },
49
- {
50
- "name": "collection",
51
- "isMut": true,
52
- "isSigner": false,
53
- "pda": {
54
- "seeds": [
55
- {
56
- "kind": "const",
57
- "type": "string",
58
- "value": "collection"
59
- },
60
- {
61
- "kind": "account",
62
- "type": "publicKey",
63
- "account": "FanoutV0",
64
- "path": "fanout"
65
- }
66
- ]
67
- }
68
- },
69
- {
70
- "name": "collectionAccount",
71
- "isMut": true,
72
- "isSigner": false
73
- },
74
- {
75
- "name": "membershipMint",
76
- "isMut": false,
77
- "isSigner": false
78
- },
79
- {
80
- "name": "metadata",
81
- "isMut": true,
82
- "isSigner": false,
83
- "pda": {
84
- "seeds": [
85
- {
86
- "kind": "const",
87
- "type": "string",
88
- "value": "metadata"
89
- },
90
- {
91
- "kind": "account",
92
- "type": "publicKey",
93
- "path": "token_metadata_program"
94
- },
95
- {
96
- "kind": "account",
97
- "type": "publicKey",
98
- "account": "Mint",
99
- "path": "collection"
100
- }
101
- ],
102
- "programId": {
103
- "kind": "account",
104
- "type": "publicKey",
105
- "path": "token_metadata_program"
106
- }
107
- }
108
- },
109
- {
110
- "name": "masterEdition",
111
- "isMut": true,
112
- "isSigner": false,
113
- "pda": {
114
- "seeds": [
115
- {
116
- "kind": "const",
117
- "type": "string",
118
- "value": "metadata"
119
- },
120
- {
121
- "kind": "account",
122
- "type": "publicKey",
123
- "path": "token_metadata_program"
124
- },
125
- {
126
- "kind": "account",
127
- "type": "publicKey",
128
- "account": "Mint",
129
- "path": "collection"
130
- },
131
- {
132
- "kind": "const",
133
- "type": "string",
134
- "value": "edition"
135
- }
136
- ],
137
- "programId": {
138
- "kind": "account",
139
- "type": "publicKey",
140
- "path": "token_metadata_program"
141
- }
142
- }
143
- },
144
- {
145
- "name": "tokenProgram",
146
- "isMut": false,
147
- "isSigner": false
148
- },
149
- {
150
- "name": "tokenMetadataProgram",
151
- "isMut": false,
152
- "isSigner": false
153
- },
154
- {
155
- "name": "associatedTokenProgram",
156
- "isMut": false,
157
- "isSigner": false
158
- },
159
- {
160
- "name": "systemProgram",
161
- "isMut": false,
162
- "isSigner": false
163
- },
164
- {
165
- "name": "rent",
166
- "isMut": false,
167
- "isSigner": false
168
- }
169
- ],
170
- "args": [
171
- {
172
- "name": "args",
173
- "type": {
174
- "defined": "InitializeFanoutArgsV0"
175
- }
176
- }
177
- ]
178
- },
179
- {
180
- "name": "stakeV0",
181
- "accounts": [
182
- {
183
- "name": "payer",
184
- "isMut": true,
185
- "isSigner": true
186
- },
187
- {
188
- "name": "staker",
189
- "isMut": false,
190
- "isSigner": true
191
- },
192
- {
193
- "name": "recipient",
194
- "isMut": false,
195
- "isSigner": false
196
- },
197
- {
198
- "name": "fanout",
199
- "isMut": true,
200
- "isSigner": false,
201
- "relations": [
202
- "membership_mint",
203
- "token_account",
204
- "membership_collection"
205
- ]
206
- },
207
- {
208
- "name": "membershipMint",
209
- "isMut": false,
210
- "isSigner": false
211
- },
212
- {
213
- "name": "tokenAccount",
214
- "isMut": false,
215
- "isSigner": false
216
- },
217
- {
218
- "name": "membershipCollection",
219
- "isMut": false,
220
- "isSigner": false
221
- },
222
- {
223
- "name": "collectionMetadata",
224
- "isMut": true,
225
- "isSigner": false,
226
- "pda": {
227
- "seeds": [
228
- {
229
- "kind": "const",
230
- "type": "string",
231
- "value": "metadata"
232
- },
233
- {
234
- "kind": "account",
235
- "type": "publicKey",
236
- "path": "token_metadata_program"
237
- },
238
- {
239
- "kind": "account",
240
- "type": "publicKey",
241
- "account": "Mint",
242
- "path": "membership_collection"
243
- }
244
- ],
245
- "programId": {
246
- "kind": "account",
247
- "type": "publicKey",
248
- "path": "token_metadata_program"
249
- }
250
- }
251
- },
252
- {
253
- "name": "collectionMasterEdition",
254
- "isMut": false,
255
- "isSigner": false,
256
- "pda": {
257
- "seeds": [
258
- {
259
- "kind": "const",
260
- "type": "string",
261
- "value": "metadata"
262
- },
263
- {
264
- "kind": "account",
265
- "type": "publicKey",
266
- "path": "token_metadata_program"
267
- },
268
- {
269
- "kind": "account",
270
- "type": "publicKey",
271
- "account": "Mint",
272
- "path": "membership_collection"
273
- },
274
- {
275
- "kind": "const",
276
- "type": "string",
277
- "value": "edition"
278
- }
279
- ],
280
- "programId": {
281
- "kind": "account",
282
- "type": "publicKey",
283
- "path": "token_metadata_program"
284
- }
285
- }
286
- },
287
- {
288
- "name": "fromAccount",
289
- "isMut": true,
290
- "isSigner": false
291
- },
292
- {
293
- "name": "stakeAccount",
294
- "isMut": true,
295
- "isSigner": false
296
- },
297
- {
298
- "name": "receiptAccount",
299
- "isMut": true,
300
- "isSigner": false
301
- },
302
- {
303
- "name": "voucher",
304
- "isMut": true,
305
- "isSigner": false,
306
- "pda": {
307
- "seeds": [
308
- {
309
- "kind": "const",
310
- "type": "string",
311
- "value": "fanout_voucher"
312
- },
313
- {
314
- "kind": "account",
315
- "type": "publicKey",
316
- "account": "Mint",
317
- "path": "mint"
318
- }
319
- ]
320
- }
321
- },
322
- {
323
- "name": "mint",
324
- "isMut": true,
325
- "isSigner": false
326
- },
327
- {
328
- "name": "metadata",
329
- "isMut": true,
330
- "isSigner": false,
331
- "pda": {
332
- "seeds": [
333
- {
334
- "kind": "const",
335
- "type": "string",
336
- "value": "metadata"
337
- },
338
- {
339
- "kind": "account",
340
- "type": "publicKey",
341
- "path": "token_metadata_program"
342
- },
343
- {
344
- "kind": "account",
345
- "type": "publicKey",
346
- "account": "Mint",
347
- "path": "mint"
348
- }
349
- ],
350
- "programId": {
351
- "kind": "account",
352
- "type": "publicKey",
353
- "path": "token_metadata_program"
354
- }
355
- }
356
- },
357
- {
358
- "name": "masterEdition",
359
- "isMut": true,
360
- "isSigner": false,
361
- "pda": {
362
- "seeds": [
363
- {
364
- "kind": "const",
365
- "type": "string",
366
- "value": "metadata"
367
- },
368
- {
369
- "kind": "account",
370
- "type": "publicKey",
371
- "path": "token_metadata_program"
372
- },
373
- {
374
- "kind": "account",
375
- "type": "publicKey",
376
- "account": "Mint",
377
- "path": "mint"
378
- },
379
- {
380
- "kind": "const",
381
- "type": "string",
382
- "value": "edition"
383
- }
384
- ],
385
- "programId": {
386
- "kind": "account",
387
- "type": "publicKey",
388
- "path": "token_metadata_program"
389
- }
390
- }
391
- },
392
- {
393
- "name": "tokenProgram",
394
- "isMut": false,
395
- "isSigner": false
396
- },
397
- {
398
- "name": "associatedTokenProgram",
399
- "isMut": false,
400
- "isSigner": false
401
- },
402
- {
403
- "name": "systemProgram",
404
- "isMut": false,
405
- "isSigner": false
406
- },
407
- {
408
- "name": "tokenMetadataProgram",
409
- "isMut": false,
410
- "isSigner": false
411
- },
412
- {
413
- "name": "rent",
414
- "isMut": false,
415
- "isSigner": false
416
- }
417
- ],
418
- "args": [
419
- {
420
- "name": "args",
421
- "type": {
422
- "defined": "StakeArgsV0"
423
- }
424
- }
425
- ]
426
- },
427
- {
428
- "name": "unstakeV0",
429
- "accounts": [
430
- {
431
- "name": "payer",
432
- "isMut": true,
433
- "isSigner": true
434
- },
435
- {
436
- "name": "solDestination",
437
- "isMut": true,
438
- "isSigner": false
439
- },
440
- {
441
- "name": "voucher",
442
- "isMut": true,
443
- "isSigner": false,
444
- "pda": {
445
- "seeds": [
446
- {
447
- "kind": "const",
448
- "type": "string",
449
- "value": "fanout_voucher"
450
- },
451
- {
452
- "kind": "account",
453
- "type": "publicKey",
454
- "account": "Mint",
455
- "path": "mint"
456
- }
457
- ]
458
- },
459
- "relations": [
460
- "mint",
461
- "fanout",
462
- "stake_account"
463
- ]
464
- },
465
- {
466
- "name": "mint",
467
- "isMut": true,
468
- "isSigner": false
469
- },
470
- {
471
- "name": "fanout",
472
- "isMut": true,
473
- "isSigner": false,
474
- "relations": [
475
- "membership_mint"
476
- ]
477
- },
478
- {
479
- "name": "membershipMint",
480
- "isMut": false,
481
- "isSigner": false
482
- },
483
- {
484
- "name": "receiptAccount",
485
- "isMut": true,
486
- "isSigner": false
487
- },
488
- {
489
- "name": "voucherAuthority",
490
- "isMut": false,
491
- "isSigner": true
492
- },
493
- {
494
- "name": "toAccount",
495
- "isMut": true,
496
- "isSigner": false
497
- },
498
- {
499
- "name": "stakeAccount",
500
- "isMut": true,
501
- "isSigner": false
502
- },
503
- {
504
- "name": "tokenProgram",
505
- "isMut": false,
506
- "isSigner": false
507
- },
508
- {
509
- "name": "associatedTokenProgram",
510
- "isMut": false,
511
- "isSigner": false
512
- },
513
- {
514
- "name": "systemProgram",
515
- "isMut": false,
516
- "isSigner": false
517
- }
518
- ],
519
- "args": []
520
- },
521
- {
522
- "name": "distributeV0",
523
- "accounts": [
524
- {
525
- "name": "payer",
526
- "isMut": true,
527
- "isSigner": true
528
- },
529
- {
530
- "name": "fanout",
531
- "isMut": true,
532
- "isSigner": false,
533
- "relations": [
534
- "token_account",
535
- "fanout_mint"
536
- ]
537
- },
538
- {
539
- "name": "fanoutMint",
540
- "isMut": false,
541
- "isSigner": false
542
- },
543
- {
544
- "name": "tokenAccount",
545
- "isMut": true,
546
- "isSigner": false
547
- },
548
- {
549
- "name": "owner",
550
- "isMut": false,
551
- "isSigner": false
552
- },
553
- {
554
- "name": "toAccount",
555
- "isMut": true,
556
- "isSigner": false
557
- },
558
- {
559
- "name": "voucher",
560
- "isMut": true,
561
- "isSigner": false,
562
- "pda": {
563
- "seeds": [
564
- {
565
- "kind": "const",
566
- "type": "string",
567
- "value": "fanout_voucher"
568
- },
569
- {
570
- "kind": "account",
571
- "type": "publicKey",
572
- "account": "Mint",
573
- "path": "mint"
574
- }
575
- ]
576
- },
577
- "relations": [
578
- "fanout",
579
- "mint"
580
- ]
581
- },
582
- {
583
- "name": "mint",
584
- "isMut": false,
585
- "isSigner": false
586
- },
587
- {
588
- "name": "receiptAccount",
589
- "isMut": false,
590
- "isSigner": false
591
- },
592
- {
593
- "name": "tokenProgram",
594
- "isMut": false,
595
- "isSigner": false
596
- },
597
- {
598
- "name": "associatedTokenProgram",
599
- "isMut": false,
600
- "isSigner": false
601
- },
602
- {
603
- "name": "systemProgram",
604
- "isMut": false,
605
- "isSigner": false
606
- }
607
- ],
608
- "args": []
609
- }
610
- ],
611
- "accounts": [
612
- {
613
- "name": "fanoutV0",
614
- "type": {
615
- "kind": "struct",
616
- "fields": [
617
- {
618
- "name": "authority",
619
- "type": "publicKey"
620
- },
621
- {
622
- "name": "tokenAccount",
623
- "type": "publicKey"
624
- },
625
- {
626
- "name": "fanoutMint",
627
- "type": "publicKey"
628
- },
629
- {
630
- "name": "membershipMint",
631
- "type": "publicKey"
632
- },
633
- {
634
- "name": "totalShares",
635
- "type": "u64"
636
- },
637
- {
638
- "name": "totalStakedShares",
639
- "type": "u64"
640
- },
641
- {
642
- "name": "membershipCollection",
643
- "type": "publicKey"
644
- },
645
- {
646
- "name": "totalInflow",
647
- "type": "u64"
648
- },
649
- {
650
- "name": "lastSnapshotAmount",
651
- "type": "u64"
652
- },
653
- {
654
- "name": "name",
655
- "type": "string"
656
- },
657
- {
658
- "name": "bumpSeed",
659
- "type": "u8"
660
- }
661
- ]
662
- }
663
- },
664
- {
665
- "name": "fanoutVoucherV0",
666
- "type": {
667
- "kind": "struct",
668
- "fields": [
669
- {
670
- "name": "fanout",
671
- "type": "publicKey"
672
- },
673
- {
674
- "name": "mint",
675
- "type": "publicKey"
676
- },
677
- {
678
- "name": "stakeAccount",
679
- "type": "publicKey"
680
- },
681
- {
682
- "name": "shares",
683
- "type": "u64"
684
- },
685
- {
686
- "name": "totalInflow",
687
- "type": "u64"
688
- },
689
- {
690
- "name": "totalDistributed",
691
- "type": "u64"
692
- },
693
- {
694
- "name": "totalDust",
695
- "type": "u64"
696
- },
697
- {
698
- "name": "bumpSeed",
699
- "type": "u8"
700
- }
701
- ]
702
- }
703
- }
704
- ],
705
- "types": [
706
- {
707
- "name": "InitializeFanoutArgsV0",
708
- "type": {
709
- "kind": "struct",
710
- "fields": [
711
- {
712
- "name": "name",
713
- "type": "string"
714
- }
715
- ]
716
- }
717
- },
718
- {
719
- "name": "StakeArgsV0",
720
- "type": {
721
- "kind": "struct",
722
- "fields": [
723
- {
724
- "name": "amount",
725
- "type": "u64"
726
- }
727
- ]
728
- }
729
- }
730
- ],
731
- "errors": [
732
- {
733
- "code": 6000,
734
- "name": "ArithmeticError",
735
- "msg": "Error in arithmetic"
736
- }
737
- ]
738
- };
739
- //# sourceMappingURL=fanout.js.map