@genobank/biofs 2.5.0 → 2.5.2
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.
- package/CHANGELOG.md +2 -0
- package/LICENSE +37 -0
- package/README.md +2 -1
- package/bin/biofs.js +2 -1
- package/contracts/ClaraJobNFT.sol +2 -0
- package/dist/commands/link-clara.d.ts.map +1 -1
- package/dist/commands/link-clara.js +9 -3
- package/dist/commands/link-clara.js.map +1 -1
- package/dist/commands/tokenize-biosample.d.ts.map +1 -1
- package/dist/commands/tokenize-biosample.js +9 -3
- package/dist/commands/tokenize-biosample.js.map +1 -1
- package/dist/index.js +1 -1
- package/docs/AI_AGENT_MCP_MANUAL.md +2 -0
- package/docs/USER_MANUAL.md +2 -0
- package/docs/technical-details.html +555 -0
- package/lib/bionfs-client.js +2 -0
- package/lib/consent-manager.js +2 -0
- package/lib/consent-prompt.js +2 -0
- package/package.json +3 -3
- package/presentation/biofs-x402-kite-presentation.html +2 -0
- package/scripts/build_annotator_dictionary.py +1 -0
- package/scripts/deploy-clara-nft.js +2 -0
- package/ADMIN_REGISTER_LAB.md +0 -252
- package/ANNOTATOR_RECOMMENDATIONS_API.md +0 -490
- package/BIOFS_QUICK_START.md +0 -200
- package/BIOFS_TOKENIZE_COMPLETE.md +0 -541
- package/BIOFS_V1.2.7_PUBLISHED.md +0 -317
- package/BIOFS_V1.2.9_FIXES.md +0 -306
- package/BIOFS_V1.3.0_DIRECT_GRANT.md +0 -381
- package/BIOFS_V1.3.1_GRANTED_FILES.md +0 -328
- package/BIONFS_DEPLOYMENT_GUIDE.md +0 -408
- package/BIONFS_MOUNT_INTEGRATION_PLAN.md +0 -415
- package/BIONFS_PROTOCOL_SPECIFICATION.md +0 -688
- package/BIONFS_SEQUENTIAS_INTEGRATION.md +0 -457
- package/BIONFT_NFS_PROTOCOL_ARCHITECTURE.md +0 -583
- package/BIOOS_CLI_IMPLEMENTATION_COMPLETE.md +0 -422
- package/BIOOS_JOB_MANAGEMENT.md +0 -681
- package/BUGFIX_V2.1.3.md +0 -72
- package/CHANGELOG_V2.1.0.md +0 -386
- package/CHANGELOG_V2.2.0.md +0 -284
- package/ENHANCEMENT_DOCUMENTATION.md +0 -218
- package/GDPR_BIONFS_CONSENT_ARCHITECTURE.md +0 -798
- package/GDPR_BIONFS_IMPLEMENTATION_STATUS.md +0 -462
- package/INSTALL_V1.2.7_ON_MAC.md +0 -306
- package/LABNFT_BIOFS_INTEGRATION.md +0 -396
- package/OPENCRAVAT_ANNOTATORS_REFERENCE.md +0 -340
- package/OPENCRAVAT_ANNOTATOR_INTELLIGENCE_COMPLETE.md +0 -479
- package/QUICK_START_V2.1.0.md +0 -116
- package/RELEASE_SUMMARY_V1.2.7.md +0 -479
- package/RELEASE_SUMMARY_V1.3.0.md +0 -324
- package/SEQUENTIAS_PROTOCOL_ARCHITECTURE.md +0 -880
- package/SEQUENTIA_MIGRATION_GUIDE.md +0 -337
- package/SESSION_SUMMARY_DIRECT_GRANT.md +0 -321
- package/ULTRATHINK_BIONFS_COMPLETE.md +0 -458
- package/WEB3FUSE_LICENSE_TOKEN_ANALYSIS.md +0 -494
- package/WHERE_PERMISSIONS_LIVE.md +0 -165
- package/artifacts/@openzeppelin/contracts/access/Ownable.sol/Ownable.dbg.json +0 -4
- package/artifacts/@openzeppelin/contracts/access/Ownable.sol/Ownable.json +0 -63
- package/artifacts/@openzeppelin/contracts/interfaces/IERC4906.sol/IERC4906.dbg.json +0 -4
- package/artifacts/@openzeppelin/contracts/interfaces/IERC4906.sol/IERC4906.json +0 -328
- package/artifacts/@openzeppelin/contracts/token/ERC721/ERC721.sol/ERC721.dbg.json +0 -4
- package/artifacts/@openzeppelin/contracts/token/ERC721/ERC721.sol/ERC721.json +0 -357
- package/artifacts/@openzeppelin/contracts/token/ERC721/IERC721.sol/IERC721.dbg.json +0 -4
- package/artifacts/@openzeppelin/contracts/token/ERC721/IERC721.sol/IERC721.json +0 -296
- package/artifacts/@openzeppelin/contracts/token/ERC721/IERC721Receiver.sol/IERC721Receiver.dbg.json +0 -4
- package/artifacts/@openzeppelin/contracts/token/ERC721/IERC721Receiver.sol/IERC721Receiver.json +0 -45
- package/artifacts/@openzeppelin/contracts/token/ERC721/extensions/ERC721URIStorage.sol/ERC721URIStorage.dbg.json +0 -4
- package/artifacts/@openzeppelin/contracts/token/ERC721/extensions/ERC721URIStorage.sol/ERC721URIStorage.json +0 -373
- package/artifacts/@openzeppelin/contracts/token/ERC721/extensions/IERC721Metadata.sol/IERC721Metadata.dbg.json +0 -4
- package/artifacts/@openzeppelin/contracts/token/ERC721/extensions/IERC721Metadata.sol/IERC721Metadata.json +0 -341
- package/artifacts/@openzeppelin/contracts/utils/Address.sol/Address.dbg.json +0 -4
- package/artifacts/@openzeppelin/contracts/utils/Address.sol/Address.json +0 -10
- package/artifacts/@openzeppelin/contracts/utils/Context.sol/Context.dbg.json +0 -4
- package/artifacts/@openzeppelin/contracts/utils/Context.sol/Context.json +0 -10
- package/artifacts/@openzeppelin/contracts/utils/Strings.sol/Strings.dbg.json +0 -4
- package/artifacts/@openzeppelin/contracts/utils/Strings.sol/Strings.json +0 -10
- package/artifacts/@openzeppelin/contracts/utils/introspection/ERC165.sol/ERC165.dbg.json +0 -4
- package/artifacts/@openzeppelin/contracts/utils/introspection/ERC165.sol/ERC165.json +0 -30
- package/artifacts/@openzeppelin/contracts/utils/introspection/IERC165.sol/IERC165.dbg.json +0 -4
- package/artifacts/@openzeppelin/contracts/utils/introspection/IERC165.sol/IERC165.json +0 -30
- package/artifacts/@openzeppelin/contracts/utils/math/Math.sol/Math.dbg.json +0 -4
- package/artifacts/@openzeppelin/contracts/utils/math/Math.sol/Math.json +0 -10
- package/artifacts/@openzeppelin/contracts/utils/math/SignedMath.sol/SignedMath.dbg.json +0 -4
- package/artifacts/@openzeppelin/contracts/utils/math/SignedMath.sol/SignedMath.json +0 -10
- package/artifacts/build-info/1adfbc50ae3e1821260f858a9c689a37.json +0 -1
- package/artifacts/contracts/ClaraJobNFT.sol/ClaraJobNFT.dbg.json +0 -4
- package/artifacts/contracts/ClaraJobNFT.sol/ClaraJobNFT.json +0 -667
- package/cache/solidity-files-cache.json +0 -628
- package/check_clara2.js +0 -70
- package/check_clara3.js +0 -65
- package/config.json +0 -21
- package/hardhat.config.js +0 -25
- package/jest.config.js +0 -27
- package/mint_and_link_all.js +0 -128
- package/opencravat_annotators_dictionary.json +0 -2356
- package/package.json.working.v1.9.2.20251105_023952 +0 -48
- package/test-complete-flow.sh +0 -60
- package/test.vcf +0 -12
- package/test_23andme.txt +0 -12
- package/test_v2_mint.js +0 -101
|
@@ -1,628 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"_format": "hh-sol-cache-2",
|
|
3
|
-
"files": {
|
|
4
|
-
"/home/ubuntu/biofs-cli/contracts/ClaraJobNFT.sol": {
|
|
5
|
-
"lastModificationDate": 1765140059656,
|
|
6
|
-
"contentHash": "44f6ff9bbc9f19d5d44c5318b09095a7",
|
|
7
|
-
"sourceName": "contracts/ClaraJobNFT.sol",
|
|
8
|
-
"solcConfig": {
|
|
9
|
-
"version": "0.8.19",
|
|
10
|
-
"settings": {
|
|
11
|
-
"optimizer": {
|
|
12
|
-
"enabled": true,
|
|
13
|
-
"runs": 200
|
|
14
|
-
},
|
|
15
|
-
"outputSelection": {
|
|
16
|
-
"*": {
|
|
17
|
-
"*": [
|
|
18
|
-
"abi",
|
|
19
|
-
"evm.bytecode",
|
|
20
|
-
"evm.deployedBytecode",
|
|
21
|
-
"evm.methodIdentifiers",
|
|
22
|
-
"metadata"
|
|
23
|
-
],
|
|
24
|
-
"": [
|
|
25
|
-
"ast"
|
|
26
|
-
]
|
|
27
|
-
}
|
|
28
|
-
}
|
|
29
|
-
}
|
|
30
|
-
},
|
|
31
|
-
"imports": [
|
|
32
|
-
"@openzeppelin/contracts/token/ERC721/extensions/ERC721URIStorage.sol",
|
|
33
|
-
"@openzeppelin/contracts/access/Ownable.sol"
|
|
34
|
-
],
|
|
35
|
-
"versionPragmas": [
|
|
36
|
-
"^0.8.19"
|
|
37
|
-
],
|
|
38
|
-
"artifacts": [
|
|
39
|
-
"ClaraJobNFT"
|
|
40
|
-
]
|
|
41
|
-
},
|
|
42
|
-
"/home/ubuntu/biofs-cli/node_modules/@openzeppelin/contracts/token/ERC721/extensions/ERC721URIStorage.sol": {
|
|
43
|
-
"lastModificationDate": 1765140051976,
|
|
44
|
-
"contentHash": "de368c6a87e159c86544ae5041b58cf3",
|
|
45
|
-
"sourceName": "@openzeppelin/contracts/token/ERC721/extensions/ERC721URIStorage.sol",
|
|
46
|
-
"solcConfig": {
|
|
47
|
-
"version": "0.8.19",
|
|
48
|
-
"settings": {
|
|
49
|
-
"optimizer": {
|
|
50
|
-
"enabled": true,
|
|
51
|
-
"runs": 200
|
|
52
|
-
},
|
|
53
|
-
"outputSelection": {
|
|
54
|
-
"*": {
|
|
55
|
-
"*": [
|
|
56
|
-
"abi",
|
|
57
|
-
"evm.bytecode",
|
|
58
|
-
"evm.deployedBytecode",
|
|
59
|
-
"evm.methodIdentifiers",
|
|
60
|
-
"metadata"
|
|
61
|
-
],
|
|
62
|
-
"": [
|
|
63
|
-
"ast"
|
|
64
|
-
]
|
|
65
|
-
}
|
|
66
|
-
}
|
|
67
|
-
}
|
|
68
|
-
},
|
|
69
|
-
"imports": [
|
|
70
|
-
"../ERC721.sol",
|
|
71
|
-
"../../../interfaces/IERC4906.sol"
|
|
72
|
-
],
|
|
73
|
-
"versionPragmas": [
|
|
74
|
-
"^0.8.0"
|
|
75
|
-
],
|
|
76
|
-
"artifacts": [
|
|
77
|
-
"ERC721URIStorage"
|
|
78
|
-
]
|
|
79
|
-
},
|
|
80
|
-
"/home/ubuntu/biofs-cli/node_modules/@openzeppelin/contracts/access/Ownable.sol": {
|
|
81
|
-
"lastModificationDate": 1765140052048,
|
|
82
|
-
"contentHash": "5a20b2cad87ddb61c7a3a6af21289e28",
|
|
83
|
-
"sourceName": "@openzeppelin/contracts/access/Ownable.sol",
|
|
84
|
-
"solcConfig": {
|
|
85
|
-
"version": "0.8.19",
|
|
86
|
-
"settings": {
|
|
87
|
-
"optimizer": {
|
|
88
|
-
"enabled": true,
|
|
89
|
-
"runs": 200
|
|
90
|
-
},
|
|
91
|
-
"outputSelection": {
|
|
92
|
-
"*": {
|
|
93
|
-
"*": [
|
|
94
|
-
"abi",
|
|
95
|
-
"evm.bytecode",
|
|
96
|
-
"evm.deployedBytecode",
|
|
97
|
-
"evm.methodIdentifiers",
|
|
98
|
-
"metadata"
|
|
99
|
-
],
|
|
100
|
-
"": [
|
|
101
|
-
"ast"
|
|
102
|
-
]
|
|
103
|
-
}
|
|
104
|
-
}
|
|
105
|
-
}
|
|
106
|
-
},
|
|
107
|
-
"imports": [
|
|
108
|
-
"../utils/Context.sol"
|
|
109
|
-
],
|
|
110
|
-
"versionPragmas": [
|
|
111
|
-
"^0.8.0"
|
|
112
|
-
],
|
|
113
|
-
"artifacts": [
|
|
114
|
-
"Ownable"
|
|
115
|
-
]
|
|
116
|
-
},
|
|
117
|
-
"/home/ubuntu/biofs-cli/node_modules/@openzeppelin/contracts/interfaces/IERC4906.sol": {
|
|
118
|
-
"lastModificationDate": 1765140052008,
|
|
119
|
-
"contentHash": "d3f355e15269d1476d86c84730cebb5e",
|
|
120
|
-
"sourceName": "@openzeppelin/contracts/interfaces/IERC4906.sol",
|
|
121
|
-
"solcConfig": {
|
|
122
|
-
"version": "0.8.19",
|
|
123
|
-
"settings": {
|
|
124
|
-
"optimizer": {
|
|
125
|
-
"enabled": true,
|
|
126
|
-
"runs": 200
|
|
127
|
-
},
|
|
128
|
-
"outputSelection": {
|
|
129
|
-
"*": {
|
|
130
|
-
"*": [
|
|
131
|
-
"abi",
|
|
132
|
-
"evm.bytecode",
|
|
133
|
-
"evm.deployedBytecode",
|
|
134
|
-
"evm.methodIdentifiers",
|
|
135
|
-
"metadata"
|
|
136
|
-
],
|
|
137
|
-
"": [
|
|
138
|
-
"ast"
|
|
139
|
-
]
|
|
140
|
-
}
|
|
141
|
-
}
|
|
142
|
-
}
|
|
143
|
-
},
|
|
144
|
-
"imports": [
|
|
145
|
-
"./IERC165.sol",
|
|
146
|
-
"./IERC721.sol"
|
|
147
|
-
],
|
|
148
|
-
"versionPragmas": [
|
|
149
|
-
"^0.8.0"
|
|
150
|
-
],
|
|
151
|
-
"artifacts": [
|
|
152
|
-
"IERC4906"
|
|
153
|
-
]
|
|
154
|
-
},
|
|
155
|
-
"/home/ubuntu/biofs-cli/node_modules/@openzeppelin/contracts/token/ERC721/ERC721.sol": {
|
|
156
|
-
"lastModificationDate": 1765140051972,
|
|
157
|
-
"contentHash": "95602b04f0b53f1139f4668d123ddeb7",
|
|
158
|
-
"sourceName": "@openzeppelin/contracts/token/ERC721/ERC721.sol",
|
|
159
|
-
"solcConfig": {
|
|
160
|
-
"version": "0.8.19",
|
|
161
|
-
"settings": {
|
|
162
|
-
"optimizer": {
|
|
163
|
-
"enabled": true,
|
|
164
|
-
"runs": 200
|
|
165
|
-
},
|
|
166
|
-
"outputSelection": {
|
|
167
|
-
"*": {
|
|
168
|
-
"*": [
|
|
169
|
-
"abi",
|
|
170
|
-
"evm.bytecode",
|
|
171
|
-
"evm.deployedBytecode",
|
|
172
|
-
"evm.methodIdentifiers",
|
|
173
|
-
"metadata"
|
|
174
|
-
],
|
|
175
|
-
"": [
|
|
176
|
-
"ast"
|
|
177
|
-
]
|
|
178
|
-
}
|
|
179
|
-
}
|
|
180
|
-
}
|
|
181
|
-
},
|
|
182
|
-
"imports": [
|
|
183
|
-
"./IERC721.sol",
|
|
184
|
-
"./IERC721Receiver.sol",
|
|
185
|
-
"./extensions/IERC721Metadata.sol",
|
|
186
|
-
"../../utils/Address.sol",
|
|
187
|
-
"../../utils/Context.sol",
|
|
188
|
-
"../../utils/Strings.sol",
|
|
189
|
-
"../../utils/introspection/ERC165.sol"
|
|
190
|
-
],
|
|
191
|
-
"versionPragmas": [
|
|
192
|
-
"^0.8.0"
|
|
193
|
-
],
|
|
194
|
-
"artifacts": [
|
|
195
|
-
"ERC721"
|
|
196
|
-
]
|
|
197
|
-
},
|
|
198
|
-
"/home/ubuntu/biofs-cli/node_modules/@openzeppelin/contracts/interfaces/IERC165.sol": {
|
|
199
|
-
"lastModificationDate": 1765140052000,
|
|
200
|
-
"contentHash": "ee9624272968c23d93d4c2e39f06e6e2",
|
|
201
|
-
"sourceName": "@openzeppelin/contracts/interfaces/IERC165.sol",
|
|
202
|
-
"solcConfig": {
|
|
203
|
-
"version": "0.8.19",
|
|
204
|
-
"settings": {
|
|
205
|
-
"optimizer": {
|
|
206
|
-
"enabled": true,
|
|
207
|
-
"runs": 200
|
|
208
|
-
},
|
|
209
|
-
"outputSelection": {
|
|
210
|
-
"*": {
|
|
211
|
-
"*": [
|
|
212
|
-
"abi",
|
|
213
|
-
"evm.bytecode",
|
|
214
|
-
"evm.deployedBytecode",
|
|
215
|
-
"evm.methodIdentifiers",
|
|
216
|
-
"metadata"
|
|
217
|
-
],
|
|
218
|
-
"": [
|
|
219
|
-
"ast"
|
|
220
|
-
]
|
|
221
|
-
}
|
|
222
|
-
}
|
|
223
|
-
}
|
|
224
|
-
},
|
|
225
|
-
"imports": [
|
|
226
|
-
"../utils/introspection/IERC165.sol"
|
|
227
|
-
],
|
|
228
|
-
"versionPragmas": [
|
|
229
|
-
"^0.8.0"
|
|
230
|
-
],
|
|
231
|
-
"artifacts": []
|
|
232
|
-
},
|
|
233
|
-
"/home/ubuntu/biofs-cli/node_modules/@openzeppelin/contracts/interfaces/IERC721.sol": {
|
|
234
|
-
"lastModificationDate": 1765140052008,
|
|
235
|
-
"contentHash": "e6da7798a8c22c5043cc42d64a2a8f80",
|
|
236
|
-
"sourceName": "@openzeppelin/contracts/interfaces/IERC721.sol",
|
|
237
|
-
"solcConfig": {
|
|
238
|
-
"version": "0.8.19",
|
|
239
|
-
"settings": {
|
|
240
|
-
"optimizer": {
|
|
241
|
-
"enabled": true,
|
|
242
|
-
"runs": 200
|
|
243
|
-
},
|
|
244
|
-
"outputSelection": {
|
|
245
|
-
"*": {
|
|
246
|
-
"*": [
|
|
247
|
-
"abi",
|
|
248
|
-
"evm.bytecode",
|
|
249
|
-
"evm.deployedBytecode",
|
|
250
|
-
"evm.methodIdentifiers",
|
|
251
|
-
"metadata"
|
|
252
|
-
],
|
|
253
|
-
"": [
|
|
254
|
-
"ast"
|
|
255
|
-
]
|
|
256
|
-
}
|
|
257
|
-
}
|
|
258
|
-
}
|
|
259
|
-
},
|
|
260
|
-
"imports": [
|
|
261
|
-
"../token/ERC721/IERC721.sol"
|
|
262
|
-
],
|
|
263
|
-
"versionPragmas": [
|
|
264
|
-
"^0.8.0"
|
|
265
|
-
],
|
|
266
|
-
"artifacts": []
|
|
267
|
-
},
|
|
268
|
-
"/home/ubuntu/biofs-cli/node_modules/@openzeppelin/contracts/utils/introspection/IERC165.sol": {
|
|
269
|
-
"lastModificationDate": 1765140052000,
|
|
270
|
-
"contentHash": "03e6768535ac4da0e9756f1d8a4a018a",
|
|
271
|
-
"sourceName": "@openzeppelin/contracts/utils/introspection/IERC165.sol",
|
|
272
|
-
"solcConfig": {
|
|
273
|
-
"version": "0.8.19",
|
|
274
|
-
"settings": {
|
|
275
|
-
"optimizer": {
|
|
276
|
-
"enabled": true,
|
|
277
|
-
"runs": 200
|
|
278
|
-
},
|
|
279
|
-
"outputSelection": {
|
|
280
|
-
"*": {
|
|
281
|
-
"*": [
|
|
282
|
-
"abi",
|
|
283
|
-
"evm.bytecode",
|
|
284
|
-
"evm.deployedBytecode",
|
|
285
|
-
"evm.methodIdentifiers",
|
|
286
|
-
"metadata"
|
|
287
|
-
],
|
|
288
|
-
"": [
|
|
289
|
-
"ast"
|
|
290
|
-
]
|
|
291
|
-
}
|
|
292
|
-
}
|
|
293
|
-
}
|
|
294
|
-
},
|
|
295
|
-
"imports": [],
|
|
296
|
-
"versionPragmas": [
|
|
297
|
-
"^0.8.0"
|
|
298
|
-
],
|
|
299
|
-
"artifacts": [
|
|
300
|
-
"IERC165"
|
|
301
|
-
]
|
|
302
|
-
},
|
|
303
|
-
"/home/ubuntu/biofs-cli/node_modules/@openzeppelin/contracts/token/ERC721/IERC721.sol": {
|
|
304
|
-
"lastModificationDate": 1765140052008,
|
|
305
|
-
"contentHash": "48de4c9a3a4ae5ef66a2aa620843413f",
|
|
306
|
-
"sourceName": "@openzeppelin/contracts/token/ERC721/IERC721.sol",
|
|
307
|
-
"solcConfig": {
|
|
308
|
-
"version": "0.8.19",
|
|
309
|
-
"settings": {
|
|
310
|
-
"optimizer": {
|
|
311
|
-
"enabled": true,
|
|
312
|
-
"runs": 200
|
|
313
|
-
},
|
|
314
|
-
"outputSelection": {
|
|
315
|
-
"*": {
|
|
316
|
-
"*": [
|
|
317
|
-
"abi",
|
|
318
|
-
"evm.bytecode",
|
|
319
|
-
"evm.deployedBytecode",
|
|
320
|
-
"evm.methodIdentifiers",
|
|
321
|
-
"metadata"
|
|
322
|
-
],
|
|
323
|
-
"": [
|
|
324
|
-
"ast"
|
|
325
|
-
]
|
|
326
|
-
}
|
|
327
|
-
}
|
|
328
|
-
}
|
|
329
|
-
},
|
|
330
|
-
"imports": [
|
|
331
|
-
"../../utils/introspection/IERC165.sol"
|
|
332
|
-
],
|
|
333
|
-
"versionPragmas": [
|
|
334
|
-
"^0.8.0"
|
|
335
|
-
],
|
|
336
|
-
"artifacts": [
|
|
337
|
-
"IERC721"
|
|
338
|
-
]
|
|
339
|
-
},
|
|
340
|
-
"/home/ubuntu/biofs-cli/node_modules/@openzeppelin/contracts/utils/Context.sol": {
|
|
341
|
-
"lastModificationDate": 1765140051936,
|
|
342
|
-
"contentHash": "5f2c5c4b6af2dd4551027144797bc8be",
|
|
343
|
-
"sourceName": "@openzeppelin/contracts/utils/Context.sol",
|
|
344
|
-
"solcConfig": {
|
|
345
|
-
"version": "0.8.19",
|
|
346
|
-
"settings": {
|
|
347
|
-
"optimizer": {
|
|
348
|
-
"enabled": true,
|
|
349
|
-
"runs": 200
|
|
350
|
-
},
|
|
351
|
-
"outputSelection": {
|
|
352
|
-
"*": {
|
|
353
|
-
"*": [
|
|
354
|
-
"abi",
|
|
355
|
-
"evm.bytecode",
|
|
356
|
-
"evm.deployedBytecode",
|
|
357
|
-
"evm.methodIdentifiers",
|
|
358
|
-
"metadata"
|
|
359
|
-
],
|
|
360
|
-
"": [
|
|
361
|
-
"ast"
|
|
362
|
-
]
|
|
363
|
-
}
|
|
364
|
-
}
|
|
365
|
-
}
|
|
366
|
-
},
|
|
367
|
-
"imports": [],
|
|
368
|
-
"versionPragmas": [
|
|
369
|
-
"^0.8.0"
|
|
370
|
-
],
|
|
371
|
-
"artifacts": [
|
|
372
|
-
"Context"
|
|
373
|
-
]
|
|
374
|
-
},
|
|
375
|
-
"/home/ubuntu/biofs-cli/node_modules/@openzeppelin/contracts/utils/Address.sol": {
|
|
376
|
-
"lastModificationDate": 1765140051932,
|
|
377
|
-
"contentHash": "211ffd288c1588ba8c10eae668ca3c66",
|
|
378
|
-
"sourceName": "@openzeppelin/contracts/utils/Address.sol",
|
|
379
|
-
"solcConfig": {
|
|
380
|
-
"version": "0.8.19",
|
|
381
|
-
"settings": {
|
|
382
|
-
"optimizer": {
|
|
383
|
-
"enabled": true,
|
|
384
|
-
"runs": 200
|
|
385
|
-
},
|
|
386
|
-
"outputSelection": {
|
|
387
|
-
"*": {
|
|
388
|
-
"*": [
|
|
389
|
-
"abi",
|
|
390
|
-
"evm.bytecode",
|
|
391
|
-
"evm.deployedBytecode",
|
|
392
|
-
"evm.methodIdentifiers",
|
|
393
|
-
"metadata"
|
|
394
|
-
],
|
|
395
|
-
"": [
|
|
396
|
-
"ast"
|
|
397
|
-
]
|
|
398
|
-
}
|
|
399
|
-
}
|
|
400
|
-
}
|
|
401
|
-
},
|
|
402
|
-
"imports": [],
|
|
403
|
-
"versionPragmas": [
|
|
404
|
-
"^0.8.1"
|
|
405
|
-
],
|
|
406
|
-
"artifacts": [
|
|
407
|
-
"Address"
|
|
408
|
-
]
|
|
409
|
-
},
|
|
410
|
-
"/home/ubuntu/biofs-cli/node_modules/@openzeppelin/contracts/utils/Strings.sol": {
|
|
411
|
-
"lastModificationDate": 1765140052060,
|
|
412
|
-
"contentHash": "48686fc32a22a3754b8e63321857dd2a",
|
|
413
|
-
"sourceName": "@openzeppelin/contracts/utils/Strings.sol",
|
|
414
|
-
"solcConfig": {
|
|
415
|
-
"version": "0.8.19",
|
|
416
|
-
"settings": {
|
|
417
|
-
"optimizer": {
|
|
418
|
-
"enabled": true,
|
|
419
|
-
"runs": 200
|
|
420
|
-
},
|
|
421
|
-
"outputSelection": {
|
|
422
|
-
"*": {
|
|
423
|
-
"*": [
|
|
424
|
-
"abi",
|
|
425
|
-
"evm.bytecode",
|
|
426
|
-
"evm.deployedBytecode",
|
|
427
|
-
"evm.methodIdentifiers",
|
|
428
|
-
"metadata"
|
|
429
|
-
],
|
|
430
|
-
"": [
|
|
431
|
-
"ast"
|
|
432
|
-
]
|
|
433
|
-
}
|
|
434
|
-
}
|
|
435
|
-
}
|
|
436
|
-
},
|
|
437
|
-
"imports": [
|
|
438
|
-
"./math/Math.sol",
|
|
439
|
-
"./math/SignedMath.sol"
|
|
440
|
-
],
|
|
441
|
-
"versionPragmas": [
|
|
442
|
-
"^0.8.0"
|
|
443
|
-
],
|
|
444
|
-
"artifacts": [
|
|
445
|
-
"Strings"
|
|
446
|
-
]
|
|
447
|
-
},
|
|
448
|
-
"/home/ubuntu/biofs-cli/node_modules/@openzeppelin/contracts/utils/introspection/ERC165.sol": {
|
|
449
|
-
"lastModificationDate": 1765140051952,
|
|
450
|
-
"contentHash": "0e7db055ce108f9da7bb6686a00287c0",
|
|
451
|
-
"sourceName": "@openzeppelin/contracts/utils/introspection/ERC165.sol",
|
|
452
|
-
"solcConfig": {
|
|
453
|
-
"version": "0.8.19",
|
|
454
|
-
"settings": {
|
|
455
|
-
"optimizer": {
|
|
456
|
-
"enabled": true,
|
|
457
|
-
"runs": 200
|
|
458
|
-
},
|
|
459
|
-
"outputSelection": {
|
|
460
|
-
"*": {
|
|
461
|
-
"*": [
|
|
462
|
-
"abi",
|
|
463
|
-
"evm.bytecode",
|
|
464
|
-
"evm.deployedBytecode",
|
|
465
|
-
"evm.methodIdentifiers",
|
|
466
|
-
"metadata"
|
|
467
|
-
],
|
|
468
|
-
"": [
|
|
469
|
-
"ast"
|
|
470
|
-
]
|
|
471
|
-
}
|
|
472
|
-
}
|
|
473
|
-
}
|
|
474
|
-
},
|
|
475
|
-
"imports": [
|
|
476
|
-
"./IERC165.sol"
|
|
477
|
-
],
|
|
478
|
-
"versionPragmas": [
|
|
479
|
-
"^0.8.0"
|
|
480
|
-
],
|
|
481
|
-
"artifacts": [
|
|
482
|
-
"ERC165"
|
|
483
|
-
]
|
|
484
|
-
},
|
|
485
|
-
"/home/ubuntu/biofs-cli/node_modules/@openzeppelin/contracts/token/ERC721/IERC721Receiver.sol": {
|
|
486
|
-
"lastModificationDate": 1765140052012,
|
|
487
|
-
"contentHash": "c22d4395e33763de693fd440c6fd10e1",
|
|
488
|
-
"sourceName": "@openzeppelin/contracts/token/ERC721/IERC721Receiver.sol",
|
|
489
|
-
"solcConfig": {
|
|
490
|
-
"version": "0.8.19",
|
|
491
|
-
"settings": {
|
|
492
|
-
"optimizer": {
|
|
493
|
-
"enabled": true,
|
|
494
|
-
"runs": 200
|
|
495
|
-
},
|
|
496
|
-
"outputSelection": {
|
|
497
|
-
"*": {
|
|
498
|
-
"*": [
|
|
499
|
-
"abi",
|
|
500
|
-
"evm.bytecode",
|
|
501
|
-
"evm.deployedBytecode",
|
|
502
|
-
"evm.methodIdentifiers",
|
|
503
|
-
"metadata"
|
|
504
|
-
],
|
|
505
|
-
"": [
|
|
506
|
-
"ast"
|
|
507
|
-
]
|
|
508
|
-
}
|
|
509
|
-
}
|
|
510
|
-
}
|
|
511
|
-
},
|
|
512
|
-
"imports": [],
|
|
513
|
-
"versionPragmas": [
|
|
514
|
-
"^0.8.0"
|
|
515
|
-
],
|
|
516
|
-
"artifacts": [
|
|
517
|
-
"IERC721Receiver"
|
|
518
|
-
]
|
|
519
|
-
},
|
|
520
|
-
"/home/ubuntu/biofs-cli/node_modules/@openzeppelin/contracts/token/ERC721/extensions/IERC721Metadata.sol": {
|
|
521
|
-
"lastModificationDate": 1765140052012,
|
|
522
|
-
"contentHash": "efbc0d15b80a74e34dbe8da0f3e879bb",
|
|
523
|
-
"sourceName": "@openzeppelin/contracts/token/ERC721/extensions/IERC721Metadata.sol",
|
|
524
|
-
"solcConfig": {
|
|
525
|
-
"version": "0.8.19",
|
|
526
|
-
"settings": {
|
|
527
|
-
"optimizer": {
|
|
528
|
-
"enabled": true,
|
|
529
|
-
"runs": 200
|
|
530
|
-
},
|
|
531
|
-
"outputSelection": {
|
|
532
|
-
"*": {
|
|
533
|
-
"*": [
|
|
534
|
-
"abi",
|
|
535
|
-
"evm.bytecode",
|
|
536
|
-
"evm.deployedBytecode",
|
|
537
|
-
"evm.methodIdentifiers",
|
|
538
|
-
"metadata"
|
|
539
|
-
],
|
|
540
|
-
"": [
|
|
541
|
-
"ast"
|
|
542
|
-
]
|
|
543
|
-
}
|
|
544
|
-
}
|
|
545
|
-
}
|
|
546
|
-
},
|
|
547
|
-
"imports": [
|
|
548
|
-
"../IERC721.sol"
|
|
549
|
-
],
|
|
550
|
-
"versionPragmas": [
|
|
551
|
-
"^0.8.0"
|
|
552
|
-
],
|
|
553
|
-
"artifacts": [
|
|
554
|
-
"IERC721Metadata"
|
|
555
|
-
]
|
|
556
|
-
},
|
|
557
|
-
"/home/ubuntu/biofs-cli/node_modules/@openzeppelin/contracts/utils/math/Math.sol": {
|
|
558
|
-
"lastModificationDate": 1765140052048,
|
|
559
|
-
"contentHash": "fe63409d8a06818b926cf89e0ea88b1b",
|
|
560
|
-
"sourceName": "@openzeppelin/contracts/utils/math/Math.sol",
|
|
561
|
-
"solcConfig": {
|
|
562
|
-
"version": "0.8.19",
|
|
563
|
-
"settings": {
|
|
564
|
-
"optimizer": {
|
|
565
|
-
"enabled": true,
|
|
566
|
-
"runs": 200
|
|
567
|
-
},
|
|
568
|
-
"outputSelection": {
|
|
569
|
-
"*": {
|
|
570
|
-
"*": [
|
|
571
|
-
"abi",
|
|
572
|
-
"evm.bytecode",
|
|
573
|
-
"evm.deployedBytecode",
|
|
574
|
-
"evm.methodIdentifiers",
|
|
575
|
-
"metadata"
|
|
576
|
-
],
|
|
577
|
-
"": [
|
|
578
|
-
"ast"
|
|
579
|
-
]
|
|
580
|
-
}
|
|
581
|
-
}
|
|
582
|
-
}
|
|
583
|
-
},
|
|
584
|
-
"imports": [],
|
|
585
|
-
"versionPragmas": [
|
|
586
|
-
"^0.8.0"
|
|
587
|
-
],
|
|
588
|
-
"artifacts": [
|
|
589
|
-
"Math"
|
|
590
|
-
]
|
|
591
|
-
},
|
|
592
|
-
"/home/ubuntu/biofs-cli/node_modules/@openzeppelin/contracts/utils/math/SignedMath.sol": {
|
|
593
|
-
"lastModificationDate": 1765140052060,
|
|
594
|
-
"contentHash": "9488ebd4daacfee8ad04811600d7d061",
|
|
595
|
-
"sourceName": "@openzeppelin/contracts/utils/math/SignedMath.sol",
|
|
596
|
-
"solcConfig": {
|
|
597
|
-
"version": "0.8.19",
|
|
598
|
-
"settings": {
|
|
599
|
-
"optimizer": {
|
|
600
|
-
"enabled": true,
|
|
601
|
-
"runs": 200
|
|
602
|
-
},
|
|
603
|
-
"outputSelection": {
|
|
604
|
-
"*": {
|
|
605
|
-
"*": [
|
|
606
|
-
"abi",
|
|
607
|
-
"evm.bytecode",
|
|
608
|
-
"evm.deployedBytecode",
|
|
609
|
-
"evm.methodIdentifiers",
|
|
610
|
-
"metadata"
|
|
611
|
-
],
|
|
612
|
-
"": [
|
|
613
|
-
"ast"
|
|
614
|
-
]
|
|
615
|
-
}
|
|
616
|
-
}
|
|
617
|
-
}
|
|
618
|
-
},
|
|
619
|
-
"imports": [],
|
|
620
|
-
"versionPragmas": [
|
|
621
|
-
"^0.8.0"
|
|
622
|
-
],
|
|
623
|
-
"artifacts": [
|
|
624
|
-
"SignedMath"
|
|
625
|
-
]
|
|
626
|
-
}
|
|
627
|
-
}
|
|
628
|
-
}
|
package/check_clara2.js
DELETED
|
@@ -1,70 +0,0 @@
|
|
|
1
|
-
const { ethers } = require('ethers');
|
|
2
|
-
|
|
3
|
-
const CLARA_JOB_NFT = '0xdCd99012D796A4b250386cD6AcF5386316A8c3f8';
|
|
4
|
-
const RPC = 'http://54.226.180.9:8545';
|
|
5
|
-
const MINTER_KEY = '0xfaa9148191dfcb99dc713f2652315b09df590a59e07c78a8d59c288d7f4a5013';
|
|
6
|
-
|
|
7
|
-
async function main() {
|
|
8
|
-
const provider = new ethers.JsonRpcProvider(RPC);
|
|
9
|
-
const wallet = new ethers.Wallet(MINTER_KEY, provider);
|
|
10
|
-
console.log('Wallet:', wallet.address);
|
|
11
|
-
|
|
12
|
-
// Full ERC721URIStorage mint signature - safeMint(address to, string uri)
|
|
13
|
-
const abi = [
|
|
14
|
-
'function safeMint(address to, string uri)',
|
|
15
|
-
'function totalSupply() view returns (uint256)',
|
|
16
|
-
'function owner() view returns (address)'
|
|
17
|
-
];
|
|
18
|
-
|
|
19
|
-
const contract = new ethers.Contract(CLARA_JOB_NFT, abi, wallet);
|
|
20
|
-
|
|
21
|
-
const owner = await contract.owner();
|
|
22
|
-
console.log('Contract owner:', owner);
|
|
23
|
-
console.log('Wallet matches owner:', owner.toLowerCase() === wallet.address.toLowerCase());
|
|
24
|
-
|
|
25
|
-
// Try to mint
|
|
26
|
-
const testRecipient = '0xD5C04Ea5c93C9E7b789c21b2f0649c6c0C06cD24'; // Memo's BioWallet
|
|
27
|
-
const metadata = {
|
|
28
|
-
name: 'Clara Genomics Job: 56102007614180',
|
|
29
|
-
description: 'Test mint'
|
|
30
|
-
};
|
|
31
|
-
const metadataUri = 'data:application/json;base64,' +
|
|
32
|
-
Buffer.from(JSON.stringify(metadata)).toString('base64');
|
|
33
|
-
|
|
34
|
-
console.log('Minting to:', testRecipient);
|
|
35
|
-
console.log('URI:', metadataUri.slice(0, 80) + '...');
|
|
36
|
-
|
|
37
|
-
try {
|
|
38
|
-
const tx = await contract.safeMint(testRecipient, metadataUri, {
|
|
39
|
-
gasLimit: 500000n
|
|
40
|
-
});
|
|
41
|
-
console.log('TX sent:', tx.hash);
|
|
42
|
-
const receipt = await tx.wait();
|
|
43
|
-
console.log('TX status:', receipt.status);
|
|
44
|
-
console.log('Gas used:', receipt.gasUsed.toString());
|
|
45
|
-
|
|
46
|
-
const supply = await contract.totalSupply();
|
|
47
|
-
console.log('New total supply:', supply.toString());
|
|
48
|
-
} catch (e) {
|
|
49
|
-
console.log('Mint error:', e.message);
|
|
50
|
-
|
|
51
|
-
// Try with different gas
|
|
52
|
-
try {
|
|
53
|
-
console.log('\nRetrying with explicit gas settings...');
|
|
54
|
-
const gasPrice = await provider.getFeeData();
|
|
55
|
-
console.log('Gas price:', gasPrice.gasPrice.toString());
|
|
56
|
-
|
|
57
|
-
const tx = await contract.safeMint(testRecipient, metadataUri, {
|
|
58
|
-
gasLimit: 1000000n,
|
|
59
|
-
gasPrice: gasPrice.gasPrice || 0n
|
|
60
|
-
});
|
|
61
|
-
console.log('TX sent:', tx.hash);
|
|
62
|
-
const receipt = await tx.wait();
|
|
63
|
-
console.log('TX status:', receipt.status);
|
|
64
|
-
} catch (e2) {
|
|
65
|
-
console.log('Retry error:', e2.message);
|
|
66
|
-
}
|
|
67
|
-
}
|
|
68
|
-
}
|
|
69
|
-
|
|
70
|
-
main().catch(console.error);
|