@helium/idls 0.0.4 → 0.0.6

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 (37) hide show
  1. package/lib/cjs/circuit_breaker.js +126 -0
  2. package/lib/cjs/circuit_breaker.js.map +1 -1
  3. package/lib/cjs/data_credits.js +146 -0
  4. package/lib/cjs/data_credits.js.map +1 -1
  5. package/lib/cjs/helium_entity_manager.js +1378 -0
  6. package/lib/cjs/helium_entity_manager.js.map +1 -0
  7. package/lib/cjs/helium_sub_daos.js +22 -93
  8. package/lib/cjs/helium_sub_daos.js.map +1 -1
  9. package/lib/cjs/lazy_distributor.js +675 -56
  10. package/lib/cjs/lazy_distributor.js.map +1 -1
  11. package/lib/cjs/lazy_transactions.js +268 -0
  12. package/lib/cjs/lazy_transactions.js.map +1 -0
  13. package/lib/esm/circuit_breaker.js +126 -0
  14. package/lib/esm/circuit_breaker.js.map +1 -1
  15. package/lib/esm/data_credits.js +146 -0
  16. package/lib/esm/data_credits.js.map +1 -1
  17. package/lib/esm/helium_entity_manager.js +1375 -0
  18. package/lib/esm/helium_entity_manager.js.map +1 -0
  19. package/lib/esm/helium_sub_daos.js +22 -93
  20. package/lib/esm/helium_sub_daos.js.map +1 -1
  21. package/lib/esm/lazy_distributor.js +675 -56
  22. package/lib/esm/lazy_distributor.js.map +1 -1
  23. package/lib/esm/lazy_transactions.js +265 -0
  24. package/lib/esm/lazy_transactions.js.map +1 -0
  25. package/lib/types/circuit_breaker.d.ts +126 -0
  26. package/lib/types/circuit_breaker.d.ts.map +1 -1
  27. package/lib/types/data_credits.d.ts +146 -0
  28. package/lib/types/data_credits.d.ts.map +1 -1
  29. package/lib/types/helium_entity_manager.d.ts +1376 -0
  30. package/lib/types/helium_entity_manager.d.ts.map +1 -0
  31. package/lib/types/helium_sub_daos.d.ts +22 -93
  32. package/lib/types/helium_sub_daos.d.ts.map +1 -1
  33. package/lib/types/lazy_distributor.d.ts +671 -52
  34. package/lib/types/lazy_distributor.d.ts.map +1 -1
  35. package/lib/types/lazy_transactions.d.ts +266 -0
  36. package/lib/types/lazy_transactions.d.ts.map +1 -0
  37. package/package.json +4 -4
@@ -0,0 +1,1376 @@
1
+ export declare type HeliumEntityManager = {
2
+ "version": "0.0.1";
3
+ "name": "helium_entity_manager";
4
+ "instructions": [
5
+ {
6
+ "name": "initializeHotspotConfigV0";
7
+ "accounts": [
8
+ {
9
+ "name": "payer";
10
+ "isMut": true;
11
+ "isSigner": true;
12
+ },
13
+ {
14
+ "name": "collection";
15
+ "isMut": true;
16
+ "isSigner": false;
17
+ "pda": {
18
+ "seeds": [
19
+ {
20
+ "kind": "const";
21
+ "type": "string";
22
+ "value": "collection";
23
+ },
24
+ {
25
+ "kind": "account";
26
+ "type": "publicKey";
27
+ "account": "SubDaoV0";
28
+ "path": "sub_dao";
29
+ },
30
+ {
31
+ "kind": "arg";
32
+ "type": {
33
+ "defined": "InitializeHotspotConfigArgsV0";
34
+ };
35
+ "path": "args.symbol";
36
+ }
37
+ ];
38
+ };
39
+ },
40
+ {
41
+ "name": "subDao";
42
+ "isMut": false;
43
+ "isSigner": false;
44
+ "relations": [
45
+ "authority"
46
+ ];
47
+ },
48
+ {
49
+ "name": "authority";
50
+ "isMut": false;
51
+ "isSigner": true;
52
+ },
53
+ {
54
+ "name": "metadata";
55
+ "isMut": true;
56
+ "isSigner": false;
57
+ "pda": {
58
+ "seeds": [
59
+ {
60
+ "kind": "const";
61
+ "type": "string";
62
+ "value": "metadata";
63
+ },
64
+ {
65
+ "kind": "account";
66
+ "type": "publicKey";
67
+ "path": "token_metadata_program";
68
+ },
69
+ {
70
+ "kind": "account";
71
+ "type": "publicKey";
72
+ "account": "Mint";
73
+ "path": "collection";
74
+ }
75
+ ];
76
+ "programId": {
77
+ "kind": "account";
78
+ "type": "publicKey";
79
+ "path": "token_metadata_program";
80
+ };
81
+ };
82
+ },
83
+ {
84
+ "name": "masterEdition";
85
+ "isMut": true;
86
+ "isSigner": false;
87
+ "pda": {
88
+ "seeds": [
89
+ {
90
+ "kind": "const";
91
+ "type": "string";
92
+ "value": "metadata";
93
+ },
94
+ {
95
+ "kind": "account";
96
+ "type": "publicKey";
97
+ "path": "token_metadata_program";
98
+ },
99
+ {
100
+ "kind": "account";
101
+ "type": "publicKey";
102
+ "account": "Mint";
103
+ "path": "collection";
104
+ },
105
+ {
106
+ "kind": "const";
107
+ "type": "string";
108
+ "value": "edition";
109
+ }
110
+ ];
111
+ "programId": {
112
+ "kind": "account";
113
+ "type": "publicKey";
114
+ "path": "token_metadata_program";
115
+ };
116
+ };
117
+ },
118
+ {
119
+ "name": "tokenAccount";
120
+ "isMut": true;
121
+ "isSigner": false;
122
+ },
123
+ {
124
+ "name": "hotspotConfig";
125
+ "isMut": true;
126
+ "isSigner": false;
127
+ "pda": {
128
+ "seeds": [
129
+ {
130
+ "kind": "const";
131
+ "type": "string";
132
+ "value": "hotspot_config";
133
+ },
134
+ {
135
+ "kind": "account";
136
+ "type": "publicKey";
137
+ "account": "SubDaoV0";
138
+ "path": "sub_dao";
139
+ },
140
+ {
141
+ "kind": "arg";
142
+ "type": {
143
+ "defined": "InitializeHotspotConfigArgsV0";
144
+ };
145
+ "path": "args.symbol";
146
+ }
147
+ ];
148
+ };
149
+ },
150
+ {
151
+ "name": "dcMint";
152
+ "isMut": false;
153
+ "isSigner": false;
154
+ },
155
+ {
156
+ "name": "treeAuthority";
157
+ "isMut": true;
158
+ "isSigner": false;
159
+ "pda": {
160
+ "seeds": [
161
+ {
162
+ "kind": "account";
163
+ "type": "publicKey";
164
+ "path": "merkle_tree";
165
+ }
166
+ ];
167
+ "programId": {
168
+ "kind": "account";
169
+ "type": "publicKey";
170
+ "path": "bubblegum_program";
171
+ };
172
+ };
173
+ },
174
+ {
175
+ "name": "merkleTree";
176
+ "isMut": true;
177
+ "isSigner": true;
178
+ },
179
+ {
180
+ "name": "tokenMetadataProgram";
181
+ "isMut": false;
182
+ "isSigner": false;
183
+ },
184
+ {
185
+ "name": "logWrapper";
186
+ "isMut": false;
187
+ "isSigner": false;
188
+ },
189
+ {
190
+ "name": "associatedTokenProgram";
191
+ "isMut": false;
192
+ "isSigner": false;
193
+ },
194
+ {
195
+ "name": "systemProgram";
196
+ "isMut": false;
197
+ "isSigner": false;
198
+ },
199
+ {
200
+ "name": "bubblegumProgram";
201
+ "isMut": false;
202
+ "isSigner": false;
203
+ },
204
+ {
205
+ "name": "compressionProgram";
206
+ "isMut": false;
207
+ "isSigner": false;
208
+ },
209
+ {
210
+ "name": "tokenProgram";
211
+ "isMut": false;
212
+ "isSigner": false;
213
+ },
214
+ {
215
+ "name": "rent";
216
+ "isMut": false;
217
+ "isSigner": false;
218
+ }
219
+ ];
220
+ "args": [
221
+ {
222
+ "name": "args";
223
+ "type": {
224
+ "defined": "InitializeHotspotConfigArgsV0";
225
+ };
226
+ }
227
+ ];
228
+ },
229
+ {
230
+ "name": "initializeHotspotIssuerV0";
231
+ "accounts": [
232
+ {
233
+ "name": "payer";
234
+ "isMut": true;
235
+ "isSigner": true;
236
+ },
237
+ {
238
+ "name": "hotspotConfig";
239
+ "isMut": false;
240
+ "isSigner": false;
241
+ "pda": {
242
+ "seeds": [
243
+ {
244
+ "kind": "const";
245
+ "type": "string";
246
+ "value": "hotspot_config";
247
+ },
248
+ {
249
+ "kind": "account";
250
+ "type": "publicKey";
251
+ "account": "HotspotConfigV0";
252
+ "path": "hotspot_config.sub_dao";
253
+ },
254
+ {
255
+ "kind": "account";
256
+ "type": "string";
257
+ "account": "HotspotConfigV0";
258
+ "path": "hotspot_config.symbol";
259
+ }
260
+ ];
261
+ };
262
+ },
263
+ {
264
+ "name": "hotspotIssuer";
265
+ "isMut": true;
266
+ "isSigner": false;
267
+ "pda": {
268
+ "seeds": [
269
+ {
270
+ "kind": "const";
271
+ "type": "string";
272
+ "value": "hotspot_issuer";
273
+ },
274
+ {
275
+ "kind": "account";
276
+ "type": "publicKey";
277
+ "account": "HotspotConfigV0";
278
+ "path": "hotspot_config";
279
+ },
280
+ {
281
+ "kind": "arg";
282
+ "type": {
283
+ "defined": "InitializeHotspotIssuerArgsV0";
284
+ };
285
+ "path": "args.maker";
286
+ }
287
+ ];
288
+ };
289
+ },
290
+ {
291
+ "name": "systemProgram";
292
+ "isMut": false;
293
+ "isSigner": false;
294
+ },
295
+ {
296
+ "name": "rent";
297
+ "isMut": false;
298
+ "isSigner": false;
299
+ }
300
+ ];
301
+ "args": [
302
+ {
303
+ "name": "args";
304
+ "type": {
305
+ "defined": "InitializeHotspotIssuerArgsV0";
306
+ };
307
+ }
308
+ ];
309
+ },
310
+ {
311
+ "name": "issueHotspotV0";
312
+ "accounts": [
313
+ {
314
+ "name": "payer";
315
+ "isMut": true;
316
+ "isSigner": true;
317
+ },
318
+ {
319
+ "name": "dcFeePayer";
320
+ "isMut": false;
321
+ "isSigner": true;
322
+ },
323
+ {
324
+ "name": "maker";
325
+ "isMut": false;
326
+ "isSigner": true;
327
+ },
328
+ {
329
+ "name": "collection";
330
+ "isMut": false;
331
+ "isSigner": false;
332
+ },
333
+ {
334
+ "name": "collectionMetadata";
335
+ "isMut": true;
336
+ "isSigner": false;
337
+ "pda": {
338
+ "seeds": [
339
+ {
340
+ "kind": "const";
341
+ "type": "string";
342
+ "value": "metadata";
343
+ },
344
+ {
345
+ "kind": "account";
346
+ "type": "publicKey";
347
+ "path": "token_metadata_program";
348
+ },
349
+ {
350
+ "kind": "account";
351
+ "type": "publicKey";
352
+ "account": "Mint";
353
+ "path": "collection";
354
+ }
355
+ ];
356
+ "programId": {
357
+ "kind": "account";
358
+ "type": "publicKey";
359
+ "path": "token_metadata_program";
360
+ };
361
+ };
362
+ },
363
+ {
364
+ "name": "collectionMasterEdition";
365
+ "isMut": false;
366
+ "isSigner": false;
367
+ "pda": {
368
+ "seeds": [
369
+ {
370
+ "kind": "const";
371
+ "type": "string";
372
+ "value": "metadata";
373
+ },
374
+ {
375
+ "kind": "account";
376
+ "type": "publicKey";
377
+ "path": "token_metadata_program";
378
+ },
379
+ {
380
+ "kind": "account";
381
+ "type": "publicKey";
382
+ "account": "Mint";
383
+ "path": "collection";
384
+ },
385
+ {
386
+ "kind": "const";
387
+ "type": "string";
388
+ "value": "edition";
389
+ }
390
+ ];
391
+ "programId": {
392
+ "kind": "account";
393
+ "type": "publicKey";
394
+ "path": "token_metadata_program";
395
+ };
396
+ };
397
+ },
398
+ {
399
+ "name": "hotspotConfig";
400
+ "isMut": false;
401
+ "isSigner": false;
402
+ "relations": [
403
+ "collection",
404
+ "dc_mint",
405
+ "merkle_tree"
406
+ ];
407
+ },
408
+ {
409
+ "name": "hotspotIssuer";
410
+ "isMut": true;
411
+ "isSigner": false;
412
+ "pda": {
413
+ "seeds": [
414
+ {
415
+ "kind": "const";
416
+ "type": "string";
417
+ "value": "hotspot_issuer";
418
+ },
419
+ {
420
+ "kind": "account";
421
+ "type": "publicKey";
422
+ "account": "HotspotConfigV0";
423
+ "path": "hotspot_config";
424
+ },
425
+ {
426
+ "kind": "account";
427
+ "type": "publicKey";
428
+ "path": "maker";
429
+ }
430
+ ];
431
+ };
432
+ "relations": [
433
+ "hotspot_config",
434
+ "maker"
435
+ ];
436
+ },
437
+ {
438
+ "name": "storage";
439
+ "isMut": true;
440
+ "isSigner": false;
441
+ },
442
+ {
443
+ "name": "treeAuthority";
444
+ "isMut": true;
445
+ "isSigner": false;
446
+ "pda": {
447
+ "seeds": [
448
+ {
449
+ "kind": "account";
450
+ "type": "publicKey";
451
+ "path": "merkle_tree";
452
+ }
453
+ ];
454
+ "programId": {
455
+ "kind": "account";
456
+ "type": "publicKey";
457
+ "path": "bubblegum_program";
458
+ };
459
+ };
460
+ },
461
+ {
462
+ "name": "recipient";
463
+ "isMut": false;
464
+ "isSigner": false;
465
+ },
466
+ {
467
+ "name": "merkleTree";
468
+ "isMut": true;
469
+ "isSigner": false;
470
+ },
471
+ {
472
+ "name": "bubblegumSigner";
473
+ "isMut": false;
474
+ "isSigner": false;
475
+ "pda": {
476
+ "seeds": [
477
+ {
478
+ "kind": "const";
479
+ "type": "string";
480
+ "value": "collection_cpi";
481
+ }
482
+ ];
483
+ "programId": {
484
+ "kind": "account";
485
+ "type": "publicKey";
486
+ "path": "bubblegum_program";
487
+ };
488
+ };
489
+ },
490
+ {
491
+ "name": "dc";
492
+ "isMut": false;
493
+ "isSigner": false;
494
+ "pda": {
495
+ "seeds": [
496
+ {
497
+ "kind": "const";
498
+ "type": "string";
499
+ "value": "dc";
500
+ },
501
+ {
502
+ "kind": "account";
503
+ "type": "publicKey";
504
+ "path": "dc_mint";
505
+ }
506
+ ];
507
+ "programId": {
508
+ "kind": "account";
509
+ "type": "publicKey";
510
+ "path": "data_credits_program";
511
+ };
512
+ };
513
+ "relations": [
514
+ "dc_mint"
515
+ ];
516
+ },
517
+ {
518
+ "name": "dcMint";
519
+ "isMut": true;
520
+ "isSigner": false;
521
+ },
522
+ {
523
+ "name": "dcBurner";
524
+ "isMut": true;
525
+ "isSigner": false;
526
+ },
527
+ {
528
+ "name": "tokenMetadataProgram";
529
+ "isMut": false;
530
+ "isSigner": false;
531
+ },
532
+ {
533
+ "name": "dataCreditsProgram";
534
+ "isMut": false;
535
+ "isSigner": false;
536
+ },
537
+ {
538
+ "name": "logWrapper";
539
+ "isMut": false;
540
+ "isSigner": false;
541
+ },
542
+ {
543
+ "name": "bubblegumProgram";
544
+ "isMut": false;
545
+ "isSigner": false;
546
+ },
547
+ {
548
+ "name": "compressionProgram";
549
+ "isMut": false;
550
+ "isSigner": false;
551
+ },
552
+ {
553
+ "name": "associatedTokenProgram";
554
+ "isMut": false;
555
+ "isSigner": false;
556
+ },
557
+ {
558
+ "name": "systemProgram";
559
+ "isMut": false;
560
+ "isSigner": false;
561
+ },
562
+ {
563
+ "name": "tokenProgram";
564
+ "isMut": false;
565
+ "isSigner": false;
566
+ },
567
+ {
568
+ "name": "clock";
569
+ "isMut": false;
570
+ "isSigner": false;
571
+ },
572
+ {
573
+ "name": "rent";
574
+ "isMut": false;
575
+ "isSigner": false;
576
+ }
577
+ ];
578
+ "args": [
579
+ {
580
+ "name": "args";
581
+ "type": {
582
+ "defined": "IssueHotspotArgsV0";
583
+ };
584
+ }
585
+ ];
586
+ },
587
+ {
588
+ "name": "genesisIssueHotspotV0";
589
+ "accounts": [
590
+ {
591
+ "name": "lazySigner";
592
+ "isMut": true;
593
+ "isSigner": true;
594
+ "pda": {
595
+ "seeds": [
596
+ {
597
+ "kind": "const";
598
+ "type": "string";
599
+ "value": "lazy_signer";
600
+ },
601
+ {
602
+ "kind": "const";
603
+ "type": "string";
604
+ "value": "helium";
605
+ }
606
+ ];
607
+ };
608
+ },
609
+ {
610
+ "name": "collection";
611
+ "isMut": false;
612
+ "isSigner": false;
613
+ },
614
+ {
615
+ "name": "collectionMetadata";
616
+ "isMut": true;
617
+ "isSigner": false;
618
+ },
619
+ {
620
+ "name": "collectionMasterEdition";
621
+ "isMut": false;
622
+ "isSigner": false;
623
+ },
624
+ {
625
+ "name": "hotspotConfig";
626
+ "isMut": false;
627
+ "isSigner": false;
628
+ "relations": [
629
+ "collection",
630
+ "merkle_tree"
631
+ ];
632
+ },
633
+ {
634
+ "name": "storage";
635
+ "isMut": true;
636
+ "isSigner": false;
637
+ },
638
+ {
639
+ "name": "treeAuthority";
640
+ "isMut": true;
641
+ "isSigner": false;
642
+ },
643
+ {
644
+ "name": "recipient";
645
+ "isMut": false;
646
+ "isSigner": false;
647
+ },
648
+ {
649
+ "name": "merkleTree";
650
+ "isMut": true;
651
+ "isSigner": false;
652
+ },
653
+ {
654
+ "name": "bubblegumSigner";
655
+ "isMut": false;
656
+ "isSigner": false;
657
+ "pda": {
658
+ "seeds": [
659
+ {
660
+ "kind": "const";
661
+ "type": "string";
662
+ "value": "collection_cpi";
663
+ }
664
+ ];
665
+ "programId": {
666
+ "kind": "account";
667
+ "type": "publicKey";
668
+ "path": "bubblegum_program";
669
+ };
670
+ };
671
+ },
672
+ {
673
+ "name": "tokenMetadataProgram";
674
+ "isMut": false;
675
+ "isSigner": false;
676
+ },
677
+ {
678
+ "name": "logWrapper";
679
+ "isMut": false;
680
+ "isSigner": false;
681
+ },
682
+ {
683
+ "name": "bubblegumProgram";
684
+ "isMut": false;
685
+ "isSigner": false;
686
+ },
687
+ {
688
+ "name": "compressionProgram";
689
+ "isMut": false;
690
+ "isSigner": false;
691
+ },
692
+ {
693
+ "name": "systemProgram";
694
+ "isMut": false;
695
+ "isSigner": false;
696
+ },
697
+ {
698
+ "name": "rent";
699
+ "isMut": false;
700
+ "isSigner": false;
701
+ }
702
+ ];
703
+ "args": [
704
+ {
705
+ "name": "args";
706
+ "type": {
707
+ "defined": "GenesisIssueHotspotArgsV0";
708
+ };
709
+ }
710
+ ];
711
+ },
712
+ {
713
+ "name": "updateHotspotConfigV0";
714
+ "accounts": [
715
+ {
716
+ "name": "authority";
717
+ "isMut": false;
718
+ "isSigner": true;
719
+ },
720
+ {
721
+ "name": "hotspotConfig";
722
+ "isMut": true;
723
+ "isSigner": false;
724
+ "relations": [
725
+ "authority"
726
+ ];
727
+ }
728
+ ];
729
+ "args": [
730
+ {
731
+ "name": "args";
732
+ "type": {
733
+ "defined": "UpdateHotspotConfigArgsV0";
734
+ };
735
+ }
736
+ ];
737
+ },
738
+ {
739
+ "name": "updateHotspotIssuerV0";
740
+ "accounts": [
741
+ {
742
+ "name": "hotspotIssuer";
743
+ "isMut": true;
744
+ "isSigner": false;
745
+ "relations": [
746
+ "authority"
747
+ ];
748
+ },
749
+ {
750
+ "name": "authority";
751
+ "isMut": false;
752
+ "isSigner": true;
753
+ }
754
+ ];
755
+ "args": [
756
+ {
757
+ "name": "args";
758
+ "type": {
759
+ "defined": "UpdateHotspotIssuerArgsV0";
760
+ };
761
+ }
762
+ ];
763
+ },
764
+ {
765
+ "name": "changeMetadataV0";
766
+ "accounts": [
767
+ {
768
+ "name": "storage";
769
+ "isMut": true;
770
+ "isSigner": false;
771
+ },
772
+ {
773
+ "name": "hotspotOwner";
774
+ "isMut": true;
775
+ "isSigner": true;
776
+ },
777
+ {
778
+ "name": "merkleTree";
779
+ "isMut": false;
780
+ "isSigner": false;
781
+ },
782
+ {
783
+ "name": "treeAuthority";
784
+ "isMut": false;
785
+ "isSigner": false;
786
+ "pda": {
787
+ "seeds": [
788
+ {
789
+ "kind": "account";
790
+ "type": "publicKey";
791
+ "path": "merkle_tree";
792
+ }
793
+ ];
794
+ "programId": {
795
+ "kind": "account";
796
+ "type": "publicKey";
797
+ "path": "bubblegum_program";
798
+ };
799
+ };
800
+ },
801
+ {
802
+ "name": "ownerDcAta";
803
+ "isMut": true;
804
+ "isSigner": false;
805
+ },
806
+ {
807
+ "name": "hotspotConfig";
808
+ "isMut": false;
809
+ "isSigner": false;
810
+ "relations": [
811
+ "dc_mint",
812
+ "merkle_tree"
813
+ ];
814
+ },
815
+ {
816
+ "name": "dcMint";
817
+ "isMut": true;
818
+ "isSigner": false;
819
+ },
820
+ {
821
+ "name": "dc";
822
+ "isMut": false;
823
+ "isSigner": false;
824
+ "pda": {
825
+ "seeds": [
826
+ {
827
+ "kind": "const";
828
+ "type": "string";
829
+ "value": "dc";
830
+ },
831
+ {
832
+ "kind": "account";
833
+ "type": "publicKey";
834
+ "account": "Mint";
835
+ "path": "dc_mint";
836
+ }
837
+ ];
838
+ "programId": {
839
+ "kind": "account";
840
+ "type": "publicKey";
841
+ "path": "data_credits_program";
842
+ };
843
+ };
844
+ "relations": [
845
+ "dc_mint"
846
+ ];
847
+ },
848
+ {
849
+ "name": "bubblegumProgram";
850
+ "isMut": false;
851
+ "isSigner": false;
852
+ },
853
+ {
854
+ "name": "compressionProgram";
855
+ "isMut": false;
856
+ "isSigner": false;
857
+ },
858
+ {
859
+ "name": "dataCreditsProgram";
860
+ "isMut": false;
861
+ "isSigner": false;
862
+ },
863
+ {
864
+ "name": "tokenProgram";
865
+ "isMut": false;
866
+ "isSigner": false;
867
+ },
868
+ {
869
+ "name": "associatedTokenProgram";
870
+ "isMut": false;
871
+ "isSigner": false;
872
+ },
873
+ {
874
+ "name": "rent";
875
+ "isMut": false;
876
+ "isSigner": false;
877
+ },
878
+ {
879
+ "name": "systemProgram";
880
+ "isMut": false;
881
+ "isSigner": false;
882
+ }
883
+ ];
884
+ "args": [
885
+ {
886
+ "name": "args";
887
+ "type": {
888
+ "defined": "ChangeMetadataArgsV0";
889
+ };
890
+ }
891
+ ];
892
+ }
893
+ ];
894
+ "accounts": [
895
+ {
896
+ "name": "hotspotConfigV0";
897
+ "type": {
898
+ "kind": "struct";
899
+ "fields": [
900
+ {
901
+ "name": "dcFee";
902
+ "type": "u64";
903
+ },
904
+ {
905
+ "name": "collection";
906
+ "type": "publicKey";
907
+ },
908
+ {
909
+ "name": "dcMint";
910
+ "type": "publicKey";
911
+ },
912
+ {
913
+ "name": "onboardingServer";
914
+ "type": "publicKey";
915
+ },
916
+ {
917
+ "name": "authority";
918
+ "type": "publicKey";
919
+ },
920
+ {
921
+ "name": "symbol";
922
+ "type": "string";
923
+ },
924
+ {
925
+ "name": "subDao";
926
+ "type": "publicKey";
927
+ },
928
+ {
929
+ "name": "merkleTree";
930
+ "type": "publicKey";
931
+ },
932
+ {
933
+ "name": "minGain";
934
+ "type": "i32";
935
+ },
936
+ {
937
+ "name": "maxGain";
938
+ "type": "i32";
939
+ },
940
+ {
941
+ "name": "fullLocationStakingFee";
942
+ "type": "u64";
943
+ },
944
+ {
945
+ "name": "dataonlyLocationStakingFee";
946
+ "type": "u64";
947
+ },
948
+ {
949
+ "name": "bumpSeed";
950
+ "type": "u8";
951
+ },
952
+ {
953
+ "name": "collectionBumpSeed";
954
+ "type": "u8";
955
+ }
956
+ ];
957
+ };
958
+ },
959
+ {
960
+ "name": "hotspotIssuerV0";
961
+ "type": {
962
+ "kind": "struct";
963
+ "fields": [
964
+ {
965
+ "name": "count";
966
+ "type": "u64";
967
+ },
968
+ {
969
+ "name": "maker";
970
+ "type": "publicKey";
971
+ },
972
+ {
973
+ "name": "hotspotConfig";
974
+ "type": "publicKey";
975
+ },
976
+ {
977
+ "name": "authority";
978
+ "type": "publicKey";
979
+ },
980
+ {
981
+ "name": "bumpSeed";
982
+ "type": "u8";
983
+ }
984
+ ];
985
+ };
986
+ },
987
+ {
988
+ "name": "hotspotStorageV0";
989
+ "type": {
990
+ "kind": "struct";
991
+ "fields": [
992
+ {
993
+ "name": "asset";
994
+ "type": "publicKey";
995
+ },
996
+ {
997
+ "name": "hotspotKey";
998
+ "type": "string";
999
+ },
1000
+ {
1001
+ "name": "bumpSeed";
1002
+ "type": "u8";
1003
+ },
1004
+ {
1005
+ "name": "location";
1006
+ "type": {
1007
+ "option": "u64";
1008
+ };
1009
+ },
1010
+ {
1011
+ "name": "elevation";
1012
+ "type": {
1013
+ "option": "i32";
1014
+ };
1015
+ },
1016
+ {
1017
+ "name": "gain";
1018
+ "type": {
1019
+ "option": "i32";
1020
+ };
1021
+ },
1022
+ {
1023
+ "name": "isFullHotspot";
1024
+ "type": "bool";
1025
+ }
1026
+ ];
1027
+ };
1028
+ }
1029
+ ];
1030
+ "types": [
1031
+ {
1032
+ "name": "ChangeMetadataArgsV0";
1033
+ "type": {
1034
+ "kind": "struct";
1035
+ "fields": [
1036
+ {
1037
+ "name": "location";
1038
+ "type": {
1039
+ "option": "u64";
1040
+ };
1041
+ },
1042
+ {
1043
+ "name": "elevation";
1044
+ "type": {
1045
+ "option": "i32";
1046
+ };
1047
+ },
1048
+ {
1049
+ "name": "gain";
1050
+ "type": {
1051
+ "option": "i32";
1052
+ };
1053
+ },
1054
+ {
1055
+ "name": "hash";
1056
+ "type": {
1057
+ "array": [
1058
+ "u8",
1059
+ 32
1060
+ ];
1061
+ };
1062
+ },
1063
+ {
1064
+ "name": "root";
1065
+ "type": {
1066
+ "array": [
1067
+ "u8",
1068
+ 32
1069
+ ];
1070
+ };
1071
+ },
1072
+ {
1073
+ "name": "index";
1074
+ "type": "u32";
1075
+ }
1076
+ ];
1077
+ };
1078
+ },
1079
+ {
1080
+ "name": "GenesisIssueHotspotArgsV0";
1081
+ "type": {
1082
+ "kind": "struct";
1083
+ "fields": [
1084
+ {
1085
+ "name": "hotspotKey";
1086
+ "type": "string";
1087
+ },
1088
+ {
1089
+ "name": "location";
1090
+ "type": {
1091
+ "option": "u64";
1092
+ };
1093
+ },
1094
+ {
1095
+ "name": "elevation";
1096
+ "type": {
1097
+ "option": "i32";
1098
+ };
1099
+ },
1100
+ {
1101
+ "name": "gain";
1102
+ "type": {
1103
+ "option": "i32";
1104
+ };
1105
+ },
1106
+ {
1107
+ "name": "isFullHotspot";
1108
+ "type": "bool";
1109
+ }
1110
+ ];
1111
+ };
1112
+ },
1113
+ {
1114
+ "name": "InitializeHotspotConfigArgsV0";
1115
+ "type": {
1116
+ "kind": "struct";
1117
+ "fields": [
1118
+ {
1119
+ "name": "name";
1120
+ "type": "string";
1121
+ },
1122
+ {
1123
+ "name": "symbol";
1124
+ "type": "string";
1125
+ },
1126
+ {
1127
+ "name": "metadataUrl";
1128
+ "type": "string";
1129
+ },
1130
+ {
1131
+ "name": "dcFee";
1132
+ "type": "u64";
1133
+ },
1134
+ {
1135
+ "name": "onboardingServer";
1136
+ "type": "publicKey";
1137
+ },
1138
+ {
1139
+ "name": "minGain";
1140
+ "type": "i32";
1141
+ },
1142
+ {
1143
+ "name": "maxGain";
1144
+ "type": "i32";
1145
+ },
1146
+ {
1147
+ "name": "fullLocationStakingFee";
1148
+ "type": "u64";
1149
+ },
1150
+ {
1151
+ "name": "dataonlyLocationStakingFee";
1152
+ "type": "u64";
1153
+ }
1154
+ ];
1155
+ };
1156
+ },
1157
+ {
1158
+ "name": "InitializeHotspotIssuerArgsV0";
1159
+ "type": {
1160
+ "kind": "struct";
1161
+ "fields": [
1162
+ {
1163
+ "name": "maker";
1164
+ "type": "publicKey";
1165
+ },
1166
+ {
1167
+ "name": "authority";
1168
+ "type": "publicKey";
1169
+ }
1170
+ ];
1171
+ };
1172
+ },
1173
+ {
1174
+ "name": "IssueHotspotArgsV0";
1175
+ "type": {
1176
+ "kind": "struct";
1177
+ "fields": [
1178
+ {
1179
+ "name": "hotspotKey";
1180
+ "type": "string";
1181
+ },
1182
+ {
1183
+ "name": "isFullHotspot";
1184
+ "type": "bool";
1185
+ }
1186
+ ];
1187
+ };
1188
+ },
1189
+ {
1190
+ "name": "UpdateHotspotConfigArgsV0";
1191
+ "type": {
1192
+ "kind": "struct";
1193
+ "fields": [
1194
+ {
1195
+ "name": "newAuthority";
1196
+ "type": {
1197
+ "option": "publicKey";
1198
+ };
1199
+ },
1200
+ {
1201
+ "name": "dcFee";
1202
+ "type": {
1203
+ "option": "u64";
1204
+ };
1205
+ },
1206
+ {
1207
+ "name": "onboardingServer";
1208
+ "type": {
1209
+ "option": "publicKey";
1210
+ };
1211
+ }
1212
+ ];
1213
+ };
1214
+ },
1215
+ {
1216
+ "name": "UpdateHotspotIssuerArgsV0";
1217
+ "type": {
1218
+ "kind": "struct";
1219
+ "fields": [
1220
+ {
1221
+ "name": "maker";
1222
+ "type": {
1223
+ "option": "publicKey";
1224
+ };
1225
+ },
1226
+ {
1227
+ "name": "authority";
1228
+ "type": {
1229
+ "option": "publicKey";
1230
+ };
1231
+ }
1232
+ ];
1233
+ };
1234
+ },
1235
+ {
1236
+ "name": "Collection";
1237
+ "type": {
1238
+ "kind": "struct";
1239
+ "fields": [
1240
+ {
1241
+ "name": "verified";
1242
+ "type": "bool";
1243
+ },
1244
+ {
1245
+ "name": "key";
1246
+ "type": "publicKey";
1247
+ }
1248
+ ];
1249
+ };
1250
+ },
1251
+ {
1252
+ "name": "CreateMetadataAccountArgs";
1253
+ "type": {
1254
+ "kind": "struct";
1255
+ "fields": [
1256
+ {
1257
+ "name": "name";
1258
+ "docs": [
1259
+ "The name of the asset"
1260
+ ];
1261
+ "type": "string";
1262
+ },
1263
+ {
1264
+ "name": "symbol";
1265
+ "docs": [
1266
+ "The symbol for the asset"
1267
+ ];
1268
+ "type": "string";
1269
+ },
1270
+ {
1271
+ "name": "uri";
1272
+ "docs": [
1273
+ "URI pointing to JSON representing the asset"
1274
+ ];
1275
+ "type": "string";
1276
+ },
1277
+ {
1278
+ "name": "collection";
1279
+ "type": {
1280
+ "option": {
1281
+ "defined": "Collection";
1282
+ };
1283
+ };
1284
+ },
1285
+ {
1286
+ "name": "collectionDetails";
1287
+ "type": {
1288
+ "option": {
1289
+ "defined": "CollectionDetails";
1290
+ };
1291
+ };
1292
+ }
1293
+ ];
1294
+ };
1295
+ },
1296
+ {
1297
+ "name": "CreateMasterEditionArgs";
1298
+ "type": {
1299
+ "kind": "struct";
1300
+ "fields": [
1301
+ {
1302
+ "name": "maxSupply";
1303
+ "type": {
1304
+ "option": "u64";
1305
+ };
1306
+ }
1307
+ ];
1308
+ };
1309
+ },
1310
+ {
1311
+ "name": "VerifySizedCollectionItemArgs";
1312
+ "type": {
1313
+ "kind": "struct";
1314
+ "fields": [
1315
+ {
1316
+ "name": "collectionAuthorityRecord";
1317
+ "type": {
1318
+ "option": "publicKey";
1319
+ };
1320
+ }
1321
+ ];
1322
+ };
1323
+ },
1324
+ {
1325
+ "name": "CollectionDetails";
1326
+ "type": {
1327
+ "kind": "enum";
1328
+ "variants": [
1329
+ {
1330
+ "name": "V1";
1331
+ "fields": [
1332
+ {
1333
+ "name": "size";
1334
+ "type": "u64";
1335
+ }
1336
+ ];
1337
+ }
1338
+ ];
1339
+ };
1340
+ }
1341
+ ];
1342
+ "errors": [
1343
+ {
1344
+ "code": 6000;
1345
+ "name": "InvalidEccCompact";
1346
+ "msg": "Invalid ecc compcat";
1347
+ },
1348
+ {
1349
+ "code": 6001;
1350
+ "name": "InvalidStringLength";
1351
+ "msg": "Invalid string length, your string was likely too long";
1352
+ },
1353
+ {
1354
+ "code": 6002;
1355
+ "name": "StringNotAlphanumeric";
1356
+ "msg": "The string was not alphanumeric";
1357
+ },
1358
+ {
1359
+ "code": 6003;
1360
+ "name": "InvalidMetadataProgram";
1361
+ "msg": "Metadata Program Mismatch";
1362
+ },
1363
+ {
1364
+ "code": 6004;
1365
+ "name": "InvalidDataIncrease";
1366
+ "msg": "The realloc increase was too large";
1367
+ },
1368
+ {
1369
+ "code": 6005;
1370
+ "name": "InvalidGain";
1371
+ "msg": "Gain outside valid range";
1372
+ }
1373
+ ];
1374
+ };
1375
+ export declare const IDL: HeliumEntityManager;
1376
+ //# sourceMappingURL=helium_entity_manager.d.ts.map