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