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