@genobank/biofs 2.6.2 → 3.0.1

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 (133) hide show
  1. package/CHANGELOG.md +76 -0
  2. package/README.md +556 -201
  3. package/dist/commands/alias.d.ts +9 -0
  4. package/dist/commands/alias.d.ts.map +1 -0
  5. package/dist/commands/alias.js +56 -0
  6. package/dist/commands/alias.js.map +1 -0
  7. package/dist/commands/bionft/revoke.d.ts +6 -0
  8. package/dist/commands/bionft/revoke.d.ts.map +1 -0
  9. package/dist/commands/bionft/revoke.js +74 -0
  10. package/dist/commands/bionft/revoke.js.map +1 -0
  11. package/dist/commands/bionft/status.d.ts +2 -0
  12. package/dist/commands/bionft/status.d.ts.map +1 -0
  13. package/dist/commands/bionft/status.js +45 -0
  14. package/dist/commands/bionft/status.js.map +1 -0
  15. package/dist/commands/bionft/view.d.ts +5 -0
  16. package/dist/commands/bionft/view.d.ts.map +1 -0
  17. package/dist/commands/bionft/view.js +127 -0
  18. package/dist/commands/bionft/view.js.map +1 -0
  19. package/dist/commands/cred/issue.d.ts +12 -0
  20. package/dist/commands/cred/issue.d.ts.map +1 -0
  21. package/dist/commands/cred/issue.js +95 -0
  22. package/dist/commands/cred/issue.js.map +1 -0
  23. package/dist/commands/cred/lib.d.ts +23 -0
  24. package/dist/commands/cred/lib.d.ts.map +1 -0
  25. package/dist/commands/cred/lib.js +95 -0
  26. package/dist/commands/cred/lib.js.map +1 -0
  27. package/dist/commands/cred/list.d.ts +7 -0
  28. package/dist/commands/cred/list.d.ts.map +1 -0
  29. package/dist/commands/cred/list.js +65 -0
  30. package/dist/commands/cred/list.js.map +1 -0
  31. package/dist/commands/cred/revoke.d.ts +6 -0
  32. package/dist/commands/cred/revoke.d.ts.map +1 -0
  33. package/dist/commands/cred/revoke.js +60 -0
  34. package/dist/commands/cred/revoke.js.map +1 -0
  35. package/dist/commands/cred/status.d.ts +5 -0
  36. package/dist/commands/cred/status.d.ts.map +1 -0
  37. package/dist/commands/cred/status.js +41 -0
  38. package/dist/commands/cred/status.js.map +1 -0
  39. package/dist/commands/htsget.d.ts +8 -0
  40. package/dist/commands/htsget.d.ts.map +1 -0
  41. package/dist/commands/htsget.js +43 -0
  42. package/dist/commands/htsget.js.map +1 -0
  43. package/dist/commands/login.d.ts.map +1 -1
  44. package/dist/commands/login.js +15 -0
  45. package/dist/commands/login.js.map +1 -1
  46. package/dist/commands/pipe.d.ts +8 -0
  47. package/dist/commands/pipe.d.ts.map +1 -0
  48. package/dist/commands/pipe.js +76 -0
  49. package/dist/commands/pipe.js.map +1 -0
  50. package/dist/commands/stream.d.ts +9 -0
  51. package/dist/commands/stream.d.ts.map +1 -0
  52. package/dist/commands/stream.js +58 -0
  53. package/dist/commands/stream.js.map +1 -0
  54. package/dist/commands/upload-fastq.d.ts +10 -0
  55. package/dist/commands/upload-fastq.d.ts.map +1 -0
  56. package/dist/commands/upload-fastq.js +60 -0
  57. package/dist/commands/upload-fastq.js.map +1 -0
  58. package/dist/commands/vault/mount.d.ts +8 -0
  59. package/dist/commands/vault/mount.d.ts.map +1 -0
  60. package/dist/commands/vault/mount.js +136 -0
  61. package/dist/commands/vault/mount.js.map +1 -0
  62. package/dist/commands/vault/setup.d.ts +6 -0
  63. package/dist/commands/vault/setup.d.ts.map +1 -0
  64. package/dist/commands/vault/setup.js +160 -0
  65. package/dist/commands/vault/setup.js.map +1 -0
  66. package/dist/commands/vault/status.d.ts +4 -0
  67. package/dist/commands/vault/status.d.ts.map +1 -0
  68. package/dist/commands/vault/status.js +97 -0
  69. package/dist/commands/vault/status.js.map +1 -0
  70. package/dist/commands/vault/unmount.d.ts +6 -0
  71. package/dist/commands/vault/unmount.d.ts.map +1 -0
  72. package/dist/commands/vault/unmount.js +90 -0
  73. package/dist/commands/vault/unmount.js.map +1 -0
  74. package/dist/index.js +354 -23
  75. package/dist/index.js.map +1 -1
  76. package/dist/lib/aliases/store.d.ts +7 -0
  77. package/dist/lib/aliases/store.d.ts.map +1 -0
  78. package/dist/lib/aliases/store.js +83 -0
  79. package/dist/lib/aliases/store.js.map +1 -0
  80. package/dist/lib/auth/server.d.ts.map +1 -1
  81. package/dist/lib/auth/server.js +21 -2
  82. package/dist/lib/auth/server.js.map +1 -1
  83. package/dist/lib/bionft/BioAssetVault.abi.json +1104 -0
  84. package/dist/lib/bionft/BioNFTCredentials.abi.json +1235 -0
  85. package/dist/lib/bionft/client.d.ts +45 -0
  86. package/dist/lib/bionft/client.d.ts.map +1 -0
  87. package/dist/lib/bionft/client.js +219 -0
  88. package/dist/lib/bionft/client.js.map +1 -0
  89. package/dist/lib/htsget/client.d.ts +54 -0
  90. package/dist/lib/htsget/client.d.ts.map +1 -0
  91. package/dist/lib/htsget/client.js +76 -0
  92. package/dist/lib/htsget/client.js.map +1 -0
  93. package/dist/utils/errorReporter.d.ts +6 -0
  94. package/dist/utils/errorReporter.d.ts.map +1 -1
  95. package/dist/utils/errorReporter.js +53 -0
  96. package/dist/utils/errorReporter.js.map +1 -1
  97. package/package.json +4 -4
  98. package/dist/commands/access-sequentia.d.ts +0 -35
  99. package/dist/commands/access-sequentia.d.ts.map +0 -1
  100. package/dist/commands/access-sequentia.js +0 -256
  101. package/dist/commands/access-sequentia.js.map +0 -1
  102. package/dist/commands/biofiles-sequentia.d.ts +0 -21
  103. package/dist/commands/biofiles-sequentia.d.ts.map +0 -1
  104. package/dist/commands/biofiles-sequentia.js +0 -238
  105. package/dist/commands/biofiles-sequentia.js.map +0 -1
  106. package/dist/commands/download-sequentia.d.ts +0 -19
  107. package/dist/commands/download-sequentia.d.ts.map +0 -1
  108. package/dist/commands/download-sequentia.js +0 -159
  109. package/dist/commands/download-sequentia.js.map +0 -1
  110. package/dist/commands/researcher/register.d.ts +0 -24
  111. package/dist/commands/researcher/register.d.ts.map +0 -1
  112. package/dist/commands/researcher/register.js +0 -192
  113. package/dist/commands/researcher/register.js.map +0 -1
  114. package/dist/commands/researcher/status.d.ts +0 -24
  115. package/dist/commands/researcher/status.d.ts.map +0 -1
  116. package/dist/commands/researcher/status.js +0 -235
  117. package/dist/commands/researcher/status.js.map +0 -1
  118. package/dist/commands/researcher/verify.d.ts +0 -24
  119. package/dist/commands/researcher/verify.d.ts.map +0 -1
  120. package/dist/commands/researcher/verify.js +0 -167
  121. package/dist/commands/researcher/verify.js.map +0 -1
  122. package/dist/commands/share-sequentia.d.ts +0 -21
  123. package/dist/commands/share-sequentia.d.ts.map +0 -1
  124. package/dist/commands/share-sequentia.js +0 -161
  125. package/dist/commands/share-sequentia.js.map +0 -1
  126. package/dist/commands/tokenize-sequentia.d.ts +0 -21
  127. package/dist/commands/tokenize-sequentia.d.ts.map +0 -1
  128. package/dist/commands/tokenize-sequentia.js +0 -191
  129. package/dist/commands/tokenize-sequentia.js.map +0 -1
  130. package/dist/commands/verify-sequentia.d.ts +0 -18
  131. package/dist/commands/verify-sequentia.d.ts.map +0 -1
  132. package/dist/commands/verify-sequentia.js +0 -150
  133. package/dist/commands/verify-sequentia.js.map +0 -1
@@ -0,0 +1,1104 @@
1
+ [
2
+ {
3
+ "inputs": [
4
+ {
5
+ "internalType": "address",
6
+ "name": "_oracle",
7
+ "type": "address"
8
+ },
9
+ {
10
+ "internalType": "address",
11
+ "name": "_bioipToken",
12
+ "type": "address"
13
+ }
14
+ ],
15
+ "stateMutability": "nonpayable",
16
+ "type": "constructor"
17
+ },
18
+ {
19
+ "inputs": [
20
+ {
21
+ "internalType": "address",
22
+ "name": "sender",
23
+ "type": "address"
24
+ },
25
+ {
26
+ "internalType": "uint256",
27
+ "name": "balance",
28
+ "type": "uint256"
29
+ },
30
+ {
31
+ "internalType": "uint256",
32
+ "name": "needed",
33
+ "type": "uint256"
34
+ },
35
+ {
36
+ "internalType": "uint256",
37
+ "name": "tokenId",
38
+ "type": "uint256"
39
+ }
40
+ ],
41
+ "name": "ERC1155InsufficientBalance",
42
+ "type": "error"
43
+ },
44
+ {
45
+ "inputs": [
46
+ {
47
+ "internalType": "address",
48
+ "name": "approver",
49
+ "type": "address"
50
+ }
51
+ ],
52
+ "name": "ERC1155InvalidApprover",
53
+ "type": "error"
54
+ },
55
+ {
56
+ "inputs": [
57
+ {
58
+ "internalType": "uint256",
59
+ "name": "idsLength",
60
+ "type": "uint256"
61
+ },
62
+ {
63
+ "internalType": "uint256",
64
+ "name": "valuesLength",
65
+ "type": "uint256"
66
+ }
67
+ ],
68
+ "name": "ERC1155InvalidArrayLength",
69
+ "type": "error"
70
+ },
71
+ {
72
+ "inputs": [
73
+ {
74
+ "internalType": "address",
75
+ "name": "operator",
76
+ "type": "address"
77
+ }
78
+ ],
79
+ "name": "ERC1155InvalidOperator",
80
+ "type": "error"
81
+ },
82
+ {
83
+ "inputs": [
84
+ {
85
+ "internalType": "address",
86
+ "name": "receiver",
87
+ "type": "address"
88
+ }
89
+ ],
90
+ "name": "ERC1155InvalidReceiver",
91
+ "type": "error"
92
+ },
93
+ {
94
+ "inputs": [
95
+ {
96
+ "internalType": "address",
97
+ "name": "sender",
98
+ "type": "address"
99
+ }
100
+ ],
101
+ "name": "ERC1155InvalidSender",
102
+ "type": "error"
103
+ },
104
+ {
105
+ "inputs": [
106
+ {
107
+ "internalType": "address",
108
+ "name": "operator",
109
+ "type": "address"
110
+ },
111
+ {
112
+ "internalType": "address",
113
+ "name": "owner",
114
+ "type": "address"
115
+ }
116
+ ],
117
+ "name": "ERC1155MissingApprovalForAll",
118
+ "type": "error"
119
+ },
120
+ {
121
+ "inputs": [
122
+ {
123
+ "internalType": "address",
124
+ "name": "owner",
125
+ "type": "address"
126
+ }
127
+ ],
128
+ "name": "OwnableInvalidOwner",
129
+ "type": "error"
130
+ },
131
+ {
132
+ "inputs": [
133
+ {
134
+ "internalType": "address",
135
+ "name": "account",
136
+ "type": "address"
137
+ }
138
+ ],
139
+ "name": "OwnableUnauthorizedAccount",
140
+ "type": "error"
141
+ },
142
+ {
143
+ "anonymous": false,
144
+ "inputs": [
145
+ {
146
+ "indexed": true,
147
+ "internalType": "address",
148
+ "name": "account",
149
+ "type": "address"
150
+ },
151
+ {
152
+ "indexed": true,
153
+ "internalType": "address",
154
+ "name": "operator",
155
+ "type": "address"
156
+ },
157
+ {
158
+ "indexed": false,
159
+ "internalType": "bool",
160
+ "name": "approved",
161
+ "type": "bool"
162
+ }
163
+ ],
164
+ "name": "ApprovalForAll",
165
+ "type": "event"
166
+ },
167
+ {
168
+ "anonymous": false,
169
+ "inputs": [
170
+ {
171
+ "indexed": true,
172
+ "internalType": "uint256",
173
+ "name": "childTokenId",
174
+ "type": "uint256"
175
+ },
176
+ {
177
+ "indexed": true,
178
+ "internalType": "address",
179
+ "name": "researcher",
180
+ "type": "address"
181
+ },
182
+ {
183
+ "indexed": false,
184
+ "internalType": "uint256",
185
+ "name": "bioipPaid",
186
+ "type": "uint256"
187
+ }
188
+ ],
189
+ "name": "BioAssetConsumed",
190
+ "type": "event"
191
+ },
192
+ {
193
+ "anonymous": false,
194
+ "inputs": [
195
+ {
196
+ "indexed": true,
197
+ "internalType": "uint256",
198
+ "name": "tokenId",
199
+ "type": "uint256"
200
+ },
201
+ {
202
+ "indexed": false,
203
+ "internalType": "bool",
204
+ "name": "isParent",
205
+ "type": "bool"
206
+ }
207
+ ],
208
+ "name": "BioAssetDeactivated",
209
+ "type": "event"
210
+ },
211
+ {
212
+ "anonymous": false,
213
+ "inputs": [
214
+ {
215
+ "indexed": true,
216
+ "internalType": "uint256",
217
+ "name": "childTokenId",
218
+ "type": "uint256"
219
+ },
220
+ {
221
+ "indexed": false,
222
+ "internalType": "uint256",
223
+ "name": "newValue",
224
+ "type": "uint256"
225
+ }
226
+ ],
227
+ "name": "BioAssetRevaluated",
228
+ "type": "event"
229
+ },
230
+ {
231
+ "anonymous": false,
232
+ "inputs": [
233
+ {
234
+ "indexed": true,
235
+ "internalType": "uint256",
236
+ "name": "childTokenId",
237
+ "type": "uint256"
238
+ },
239
+ {
240
+ "indexed": true,
241
+ "internalType": "uint256",
242
+ "name": "parentTokenId",
243
+ "type": "uint256"
244
+ },
245
+ {
246
+ "indexed": false,
247
+ "internalType": "enum BioAssetVault.FileType",
248
+ "name": "fileType",
249
+ "type": "uint8"
250
+ }
251
+ ],
252
+ "name": "ChildBioAssetMinted",
253
+ "type": "event"
254
+ },
255
+ {
256
+ "anonymous": false,
257
+ "inputs": [
258
+ {
259
+ "indexed": true,
260
+ "internalType": "address",
261
+ "name": "previousOwner",
262
+ "type": "address"
263
+ },
264
+ {
265
+ "indexed": true,
266
+ "internalType": "address",
267
+ "name": "newOwner",
268
+ "type": "address"
269
+ }
270
+ ],
271
+ "name": "OwnershipTransferred",
272
+ "type": "event"
273
+ },
274
+ {
275
+ "anonymous": false,
276
+ "inputs": [
277
+ {
278
+ "indexed": true,
279
+ "internalType": "uint256",
280
+ "name": "parentTokenId",
281
+ "type": "uint256"
282
+ },
283
+ {
284
+ "indexed": true,
285
+ "internalType": "uint256",
286
+ "name": "biosampleSerial",
287
+ "type": "uint256"
288
+ },
289
+ {
290
+ "indexed": true,
291
+ "internalType": "address",
292
+ "name": "owner",
293
+ "type": "address"
294
+ }
295
+ ],
296
+ "name": "ParentBioAssetMinted",
297
+ "type": "event"
298
+ },
299
+ {
300
+ "anonymous": false,
301
+ "inputs": [
302
+ {
303
+ "indexed": true,
304
+ "internalType": "address",
305
+ "name": "operator",
306
+ "type": "address"
307
+ },
308
+ {
309
+ "indexed": true,
310
+ "internalType": "address",
311
+ "name": "from",
312
+ "type": "address"
313
+ },
314
+ {
315
+ "indexed": true,
316
+ "internalType": "address",
317
+ "name": "to",
318
+ "type": "address"
319
+ },
320
+ {
321
+ "indexed": false,
322
+ "internalType": "uint256[]",
323
+ "name": "ids",
324
+ "type": "uint256[]"
325
+ },
326
+ {
327
+ "indexed": false,
328
+ "internalType": "uint256[]",
329
+ "name": "values",
330
+ "type": "uint256[]"
331
+ }
332
+ ],
333
+ "name": "TransferBatch",
334
+ "type": "event"
335
+ },
336
+ {
337
+ "anonymous": false,
338
+ "inputs": [
339
+ {
340
+ "indexed": true,
341
+ "internalType": "address",
342
+ "name": "operator",
343
+ "type": "address"
344
+ },
345
+ {
346
+ "indexed": true,
347
+ "internalType": "address",
348
+ "name": "from",
349
+ "type": "address"
350
+ },
351
+ {
352
+ "indexed": true,
353
+ "internalType": "address",
354
+ "name": "to",
355
+ "type": "address"
356
+ },
357
+ {
358
+ "indexed": false,
359
+ "internalType": "uint256",
360
+ "name": "id",
361
+ "type": "uint256"
362
+ },
363
+ {
364
+ "indexed": false,
365
+ "internalType": "uint256",
366
+ "name": "value",
367
+ "type": "uint256"
368
+ }
369
+ ],
370
+ "name": "TransferSingle",
371
+ "type": "event"
372
+ },
373
+ {
374
+ "anonymous": false,
375
+ "inputs": [
376
+ {
377
+ "indexed": false,
378
+ "internalType": "string",
379
+ "name": "value",
380
+ "type": "string"
381
+ },
382
+ {
383
+ "indexed": true,
384
+ "internalType": "uint256",
385
+ "name": "id",
386
+ "type": "uint256"
387
+ }
388
+ ],
389
+ "name": "URI",
390
+ "type": "event"
391
+ },
392
+ {
393
+ "inputs": [],
394
+ "name": "MIN_STAKE_FOR_ACCESS",
395
+ "outputs": [
396
+ {
397
+ "internalType": "uint256",
398
+ "name": "",
399
+ "type": "uint256"
400
+ }
401
+ ],
402
+ "stateMutability": "view",
403
+ "type": "function"
404
+ },
405
+ {
406
+ "inputs": [
407
+ {
408
+ "internalType": "address",
409
+ "name": "",
410
+ "type": "address"
411
+ }
412
+ ],
413
+ "name": "authorizedMinters",
414
+ "outputs": [
415
+ {
416
+ "internalType": "bool",
417
+ "name": "",
418
+ "type": "bool"
419
+ }
420
+ ],
421
+ "stateMutability": "view",
422
+ "type": "function"
423
+ },
424
+ {
425
+ "inputs": [
426
+ {
427
+ "internalType": "address",
428
+ "name": "account",
429
+ "type": "address"
430
+ },
431
+ {
432
+ "internalType": "uint256",
433
+ "name": "id",
434
+ "type": "uint256"
435
+ }
436
+ ],
437
+ "name": "balanceOf",
438
+ "outputs": [
439
+ {
440
+ "internalType": "uint256",
441
+ "name": "",
442
+ "type": "uint256"
443
+ }
444
+ ],
445
+ "stateMutability": "view",
446
+ "type": "function"
447
+ },
448
+ {
449
+ "inputs": [
450
+ {
451
+ "internalType": "address[]",
452
+ "name": "accounts",
453
+ "type": "address[]"
454
+ },
455
+ {
456
+ "internalType": "uint256[]",
457
+ "name": "ids",
458
+ "type": "uint256[]"
459
+ }
460
+ ],
461
+ "name": "balanceOfBatch",
462
+ "outputs": [
463
+ {
464
+ "internalType": "uint256[]",
465
+ "name": "",
466
+ "type": "uint256[]"
467
+ }
468
+ ],
469
+ "stateMutability": "view",
470
+ "type": "function"
471
+ },
472
+ {
473
+ "inputs": [],
474
+ "name": "bioRouter",
475
+ "outputs": [
476
+ {
477
+ "internalType": "address",
478
+ "name": "",
479
+ "type": "address"
480
+ }
481
+ ],
482
+ "stateMutability": "view",
483
+ "type": "function"
484
+ },
485
+ {
486
+ "inputs": [],
487
+ "name": "bioipToken",
488
+ "outputs": [
489
+ {
490
+ "internalType": "contract IBIOIPToken",
491
+ "name": "",
492
+ "type": "address"
493
+ }
494
+ ],
495
+ "stateMutability": "view",
496
+ "type": "function"
497
+ },
498
+ {
499
+ "inputs": [
500
+ {
501
+ "internalType": "uint256",
502
+ "name": "",
503
+ "type": "uint256"
504
+ }
505
+ ],
506
+ "name": "biosampleToParent",
507
+ "outputs": [
508
+ {
509
+ "internalType": "uint256",
510
+ "name": "",
511
+ "type": "uint256"
512
+ }
513
+ ],
514
+ "stateMutability": "view",
515
+ "type": "function"
516
+ },
517
+ {
518
+ "inputs": [
519
+ {
520
+ "internalType": "uint256",
521
+ "name": "",
522
+ "type": "uint256"
523
+ }
524
+ ],
525
+ "name": "children",
526
+ "outputs": [
527
+ {
528
+ "internalType": "uint256",
529
+ "name": "parentTokenId",
530
+ "type": "uint256"
531
+ },
532
+ {
533
+ "internalType": "enum BioAssetVault.FileType",
534
+ "name": "fileType",
535
+ "type": "uint8"
536
+ },
537
+ {
538
+ "internalType": "uint256",
539
+ "name": "fileSize",
540
+ "type": "uint256"
541
+ },
542
+ {
543
+ "internalType": "string",
544
+ "name": "referenceGenome",
545
+ "type": "string"
546
+ },
547
+ {
548
+ "internalType": "uint256",
549
+ "name": "variantCount",
550
+ "type": "uint256"
551
+ },
552
+ {
553
+ "internalType": "uint256",
554
+ "name": "annotatorCount",
555
+ "type": "uint256"
556
+ },
557
+ {
558
+ "internalType": "bool",
559
+ "name": "isSomatic",
560
+ "type": "bool"
561
+ },
562
+ {
563
+ "internalType": "uint8",
564
+ "name": "rarityScore",
565
+ "type": "uint8"
566
+ },
567
+ {
568
+ "internalType": "uint256",
569
+ "name": "coverageDepth",
570
+ "type": "uint256"
571
+ },
572
+ {
573
+ "internalType": "bytes32",
574
+ "name": "contentHash",
575
+ "type": "bytes32"
576
+ },
577
+ {
578
+ "internalType": "string",
579
+ "name": "pipeline",
580
+ "type": "string"
581
+ },
582
+ {
583
+ "internalType": "uint256",
584
+ "name": "lastRevaluation",
585
+ "type": "uint256"
586
+ },
587
+ {
588
+ "internalType": "bool",
589
+ "name": "active",
590
+ "type": "bool"
591
+ }
592
+ ],
593
+ "stateMutability": "view",
594
+ "type": "function"
595
+ },
596
+ {
597
+ "inputs": [
598
+ {
599
+ "internalType": "uint256",
600
+ "name": "childTokenId",
601
+ "type": "uint256"
602
+ }
603
+ ],
604
+ "name": "consumeBioAsset",
605
+ "outputs": [],
606
+ "stateMutability": "nonpayable",
607
+ "type": "function"
608
+ },
609
+ {
610
+ "inputs": [
611
+ {
612
+ "internalType": "uint256",
613
+ "name": "childTokenId",
614
+ "type": "uint256"
615
+ }
616
+ ],
617
+ "name": "deactivateChild",
618
+ "outputs": [],
619
+ "stateMutability": "nonpayable",
620
+ "type": "function"
621
+ },
622
+ {
623
+ "inputs": [
624
+ {
625
+ "internalType": "uint256",
626
+ "name": "parentTokenId",
627
+ "type": "uint256"
628
+ }
629
+ ],
630
+ "name": "deactivateParent",
631
+ "outputs": [],
632
+ "stateMutability": "nonpayable",
633
+ "type": "function"
634
+ },
635
+ {
636
+ "inputs": [
637
+ {
638
+ "internalType": "uint256",
639
+ "name": "childTokenId",
640
+ "type": "uint256"
641
+ }
642
+ ],
643
+ "name": "getBiodataValue",
644
+ "outputs": [
645
+ {
646
+ "internalType": "uint256",
647
+ "name": "",
648
+ "type": "uint256"
649
+ }
650
+ ],
651
+ "stateMutability": "view",
652
+ "type": "function"
653
+ },
654
+ {
655
+ "inputs": [
656
+ {
657
+ "internalType": "uint256",
658
+ "name": "parentTokenId",
659
+ "type": "uint256"
660
+ }
661
+ ],
662
+ "name": "getChildTokenIds",
663
+ "outputs": [
664
+ {
665
+ "internalType": "uint256[]",
666
+ "name": "",
667
+ "type": "uint256[]"
668
+ }
669
+ ],
670
+ "stateMutability": "view",
671
+ "type": "function"
672
+ },
673
+ {
674
+ "inputs": [
675
+ {
676
+ "internalType": "uint256",
677
+ "name": "parentTokenId",
678
+ "type": "uint256"
679
+ }
680
+ ],
681
+ "name": "getParentValue",
682
+ "outputs": [
683
+ {
684
+ "internalType": "uint256",
685
+ "name": "",
686
+ "type": "uint256"
687
+ }
688
+ ],
689
+ "stateMutability": "view",
690
+ "type": "function"
691
+ },
692
+ {
693
+ "inputs": [
694
+ {
695
+ "internalType": "address",
696
+ "name": "account",
697
+ "type": "address"
698
+ },
699
+ {
700
+ "internalType": "address",
701
+ "name": "operator",
702
+ "type": "address"
703
+ }
704
+ ],
705
+ "name": "isApprovedForAll",
706
+ "outputs": [
707
+ {
708
+ "internalType": "bool",
709
+ "name": "",
710
+ "type": "bool"
711
+ }
712
+ ],
713
+ "stateMutability": "view",
714
+ "type": "function"
715
+ },
716
+ {
717
+ "inputs": [
718
+ {
719
+ "internalType": "uint256",
720
+ "name": "parentTokenId",
721
+ "type": "uint256"
722
+ },
723
+ {
724
+ "internalType": "enum BioAssetVault.FileType",
725
+ "name": "fileType",
726
+ "type": "uint8"
727
+ },
728
+ {
729
+ "internalType": "uint256",
730
+ "name": "fileSize",
731
+ "type": "uint256"
732
+ },
733
+ {
734
+ "internalType": "string",
735
+ "name": "referenceGenome",
736
+ "type": "string"
737
+ },
738
+ {
739
+ "internalType": "uint256",
740
+ "name": "variantCount",
741
+ "type": "uint256"
742
+ },
743
+ {
744
+ "internalType": "uint256",
745
+ "name": "annotatorCount",
746
+ "type": "uint256"
747
+ },
748
+ {
749
+ "internalType": "bool",
750
+ "name": "isSomatic",
751
+ "type": "bool"
752
+ },
753
+ {
754
+ "internalType": "uint8",
755
+ "name": "rarityScore",
756
+ "type": "uint8"
757
+ },
758
+ {
759
+ "internalType": "uint256",
760
+ "name": "coverageDepth",
761
+ "type": "uint256"
762
+ },
763
+ {
764
+ "internalType": "bytes32",
765
+ "name": "contentHash",
766
+ "type": "bytes32"
767
+ },
768
+ {
769
+ "internalType": "string",
770
+ "name": "pipeline",
771
+ "type": "string"
772
+ }
773
+ ],
774
+ "name": "mintChildBioAsset",
775
+ "outputs": [
776
+ {
777
+ "internalType": "uint256",
778
+ "name": "",
779
+ "type": "uint256"
780
+ }
781
+ ],
782
+ "stateMutability": "nonpayable",
783
+ "type": "function"
784
+ },
785
+ {
786
+ "inputs": [
787
+ {
788
+ "internalType": "uint256",
789
+ "name": "biosampleSerial",
790
+ "type": "uint256"
791
+ },
792
+ {
793
+ "internalType": "address",
794
+ "name": "assetOwner",
795
+ "type": "address"
796
+ }
797
+ ],
798
+ "name": "mintParentBioAsset",
799
+ "outputs": [
800
+ {
801
+ "internalType": "uint256",
802
+ "name": "",
803
+ "type": "uint256"
804
+ }
805
+ ],
806
+ "stateMutability": "nonpayable",
807
+ "type": "function"
808
+ },
809
+ {
810
+ "inputs": [],
811
+ "name": "nextChildId",
812
+ "outputs": [
813
+ {
814
+ "internalType": "uint256",
815
+ "name": "",
816
+ "type": "uint256"
817
+ }
818
+ ],
819
+ "stateMutability": "view",
820
+ "type": "function"
821
+ },
822
+ {
823
+ "inputs": [],
824
+ "name": "nextParentId",
825
+ "outputs": [
826
+ {
827
+ "internalType": "uint256",
828
+ "name": "",
829
+ "type": "uint256"
830
+ }
831
+ ],
832
+ "stateMutability": "view",
833
+ "type": "function"
834
+ },
835
+ {
836
+ "inputs": [],
837
+ "name": "oracle",
838
+ "outputs": [
839
+ {
840
+ "internalType": "contract IBioAssetPricingOracle",
841
+ "name": "",
842
+ "type": "address"
843
+ }
844
+ ],
845
+ "stateMutability": "view",
846
+ "type": "function"
847
+ },
848
+ {
849
+ "inputs": [],
850
+ "name": "owner",
851
+ "outputs": [
852
+ {
853
+ "internalType": "address",
854
+ "name": "",
855
+ "type": "address"
856
+ }
857
+ ],
858
+ "stateMutability": "view",
859
+ "type": "function"
860
+ },
861
+ {
862
+ "inputs": [
863
+ {
864
+ "internalType": "uint256",
865
+ "name": "",
866
+ "type": "uint256"
867
+ }
868
+ ],
869
+ "name": "parents",
870
+ "outputs": [
871
+ {
872
+ "internalType": "uint256",
873
+ "name": "biosampleSerial",
874
+ "type": "uint256"
875
+ },
876
+ {
877
+ "internalType": "address",
878
+ "name": "assetOwner",
879
+ "type": "address"
880
+ },
881
+ {
882
+ "internalType": "uint256",
883
+ "name": "totalBiodataValue",
884
+ "type": "uint256"
885
+ },
886
+ {
887
+ "internalType": "uint256",
888
+ "name": "createdAt",
889
+ "type": "uint256"
890
+ },
891
+ {
892
+ "internalType": "bool",
893
+ "name": "active",
894
+ "type": "bool"
895
+ }
896
+ ],
897
+ "stateMutability": "view",
898
+ "type": "function"
899
+ },
900
+ {
901
+ "inputs": [],
902
+ "name": "renounceOwnership",
903
+ "outputs": [],
904
+ "stateMutability": "nonpayable",
905
+ "type": "function"
906
+ },
907
+ {
908
+ "inputs": [
909
+ {
910
+ "internalType": "address",
911
+ "name": "from",
912
+ "type": "address"
913
+ },
914
+ {
915
+ "internalType": "address",
916
+ "name": "to",
917
+ "type": "address"
918
+ },
919
+ {
920
+ "internalType": "uint256[]",
921
+ "name": "ids",
922
+ "type": "uint256[]"
923
+ },
924
+ {
925
+ "internalType": "uint256[]",
926
+ "name": "values",
927
+ "type": "uint256[]"
928
+ },
929
+ {
930
+ "internalType": "bytes",
931
+ "name": "data",
932
+ "type": "bytes"
933
+ }
934
+ ],
935
+ "name": "safeBatchTransferFrom",
936
+ "outputs": [],
937
+ "stateMutability": "nonpayable",
938
+ "type": "function"
939
+ },
940
+ {
941
+ "inputs": [
942
+ {
943
+ "internalType": "address",
944
+ "name": "from",
945
+ "type": "address"
946
+ },
947
+ {
948
+ "internalType": "address",
949
+ "name": "to",
950
+ "type": "address"
951
+ },
952
+ {
953
+ "internalType": "uint256",
954
+ "name": "id",
955
+ "type": "uint256"
956
+ },
957
+ {
958
+ "internalType": "uint256",
959
+ "name": "value",
960
+ "type": "uint256"
961
+ },
962
+ {
963
+ "internalType": "bytes",
964
+ "name": "data",
965
+ "type": "bytes"
966
+ }
967
+ ],
968
+ "name": "safeTransferFrom",
969
+ "outputs": [],
970
+ "stateMutability": "nonpayable",
971
+ "type": "function"
972
+ },
973
+ {
974
+ "inputs": [
975
+ {
976
+ "internalType": "address",
977
+ "name": "operator",
978
+ "type": "address"
979
+ },
980
+ {
981
+ "internalType": "bool",
982
+ "name": "approved",
983
+ "type": "bool"
984
+ }
985
+ ],
986
+ "name": "setApprovalForAll",
987
+ "outputs": [],
988
+ "stateMutability": "nonpayable",
989
+ "type": "function"
990
+ },
991
+ {
992
+ "inputs": [
993
+ {
994
+ "internalType": "address",
995
+ "name": "minter",
996
+ "type": "address"
997
+ },
998
+ {
999
+ "internalType": "bool",
1000
+ "name": "authorized",
1001
+ "type": "bool"
1002
+ }
1003
+ ],
1004
+ "name": "setAuthorizedMinter",
1005
+ "outputs": [],
1006
+ "stateMutability": "nonpayable",
1007
+ "type": "function"
1008
+ },
1009
+ {
1010
+ "inputs": [
1011
+ {
1012
+ "internalType": "address",
1013
+ "name": "_router",
1014
+ "type": "address"
1015
+ }
1016
+ ],
1017
+ "name": "setBioRouter",
1018
+ "outputs": [],
1019
+ "stateMutability": "nonpayable",
1020
+ "type": "function"
1021
+ },
1022
+ {
1023
+ "inputs": [
1024
+ {
1025
+ "internalType": "address",
1026
+ "name": "_oracle",
1027
+ "type": "address"
1028
+ }
1029
+ ],
1030
+ "name": "setOracle",
1031
+ "outputs": [],
1032
+ "stateMutability": "nonpayable",
1033
+ "type": "function"
1034
+ },
1035
+ {
1036
+ "inputs": [
1037
+ {
1038
+ "internalType": "bytes4",
1039
+ "name": "interfaceId",
1040
+ "type": "bytes4"
1041
+ }
1042
+ ],
1043
+ "name": "supportsInterface",
1044
+ "outputs": [
1045
+ {
1046
+ "internalType": "bool",
1047
+ "name": "",
1048
+ "type": "bool"
1049
+ }
1050
+ ],
1051
+ "stateMutability": "view",
1052
+ "type": "function"
1053
+ },
1054
+ {
1055
+ "inputs": [
1056
+ {
1057
+ "internalType": "uint256",
1058
+ "name": "parentTokenId",
1059
+ "type": "uint256"
1060
+ },
1061
+ {
1062
+ "internalType": "address",
1063
+ "name": "newOwner",
1064
+ "type": "address"
1065
+ }
1066
+ ],
1067
+ "name": "transferAllOwnership",
1068
+ "outputs": [],
1069
+ "stateMutability": "nonpayable",
1070
+ "type": "function"
1071
+ },
1072
+ {
1073
+ "inputs": [
1074
+ {
1075
+ "internalType": "address",
1076
+ "name": "newOwner",
1077
+ "type": "address"
1078
+ }
1079
+ ],
1080
+ "name": "transferOwnership",
1081
+ "outputs": [],
1082
+ "stateMutability": "nonpayable",
1083
+ "type": "function"
1084
+ },
1085
+ {
1086
+ "inputs": [
1087
+ {
1088
+ "internalType": "uint256",
1089
+ "name": "",
1090
+ "type": "uint256"
1091
+ }
1092
+ ],
1093
+ "name": "uri",
1094
+ "outputs": [
1095
+ {
1096
+ "internalType": "string",
1097
+ "name": "",
1098
+ "type": "string"
1099
+ }
1100
+ ],
1101
+ "stateMutability": "view",
1102
+ "type": "function"
1103
+ }
1104
+ ]