@genobank/biofs 3.0.0 → 3.1.0

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