dkg 8.0.14__py3-none-any.whl → 8.1.1rc1__py3-none-any.whl
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.
- dkg/data/interfaces/KnowledgeCollection.json +39 -117
- dkg/data/interfaces/Paranet.json +590 -150
- dkg/data/interfaces/ParanetIncentivesPoolFactory.json +113 -46
- dkg/data/interfaces/ParanetKnowledgeMinersRegistry.json +105 -128
- dkg/data/interfaces/ParanetsRegistry.json +317 -259
- dkg/modules/asset/asset.py +3 -11
- dkg/modules/asset/async_asset.py +3 -13
- dkg/utils/knowledge_collection_tools.py +4 -1
- {dkg-8.0.14.dist-info → dkg-8.1.1rc1.dist-info}/METADATA +1 -1
- {dkg-8.0.14.dist-info → dkg-8.1.1rc1.dist-info}/RECORD +13 -13
- {dkg-8.0.14.dist-info → dkg-8.1.1rc1.dist-info}/LICENSE +0 -0
- {dkg-8.0.14.dist-info → dkg-8.1.1rc1.dist-info}/NOTICE +0 -0
- {dkg-8.0.14.dist-info → dkg-8.1.1rc1.dist-info}/WHEEL +0 -0
@@ -10,55 +10,6 @@
|
|
10
10
|
"stateMutability": "nonpayable",
|
11
11
|
"type": "constructor"
|
12
12
|
},
|
13
|
-
{
|
14
|
-
"inputs": [
|
15
|
-
{
|
16
|
-
"internalType": "address",
|
17
|
-
"name": "addr",
|
18
|
-
"type": "address"
|
19
|
-
}
|
20
|
-
],
|
21
|
-
"name": "AddressAlreadyInSet",
|
22
|
-
"type": "error"
|
23
|
-
},
|
24
|
-
{
|
25
|
-
"inputs": [
|
26
|
-
{
|
27
|
-
"internalType": "address",
|
28
|
-
"name": "addr",
|
29
|
-
"type": "address"
|
30
|
-
}
|
31
|
-
],
|
32
|
-
"name": "AddressDoesNotExist",
|
33
|
-
"type": "error"
|
34
|
-
},
|
35
|
-
{
|
36
|
-
"inputs": [
|
37
|
-
{
|
38
|
-
"internalType": "string",
|
39
|
-
"name": "name",
|
40
|
-
"type": "string"
|
41
|
-
}
|
42
|
-
],
|
43
|
-
"name": "ContractAlreadyExists",
|
44
|
-
"type": "error"
|
45
|
-
},
|
46
|
-
{
|
47
|
-
"inputs": [
|
48
|
-
{
|
49
|
-
"internalType": "string",
|
50
|
-
"name": "name",
|
51
|
-
"type": "string"
|
52
|
-
}
|
53
|
-
],
|
54
|
-
"name": "ContractDoesNotExist",
|
55
|
-
"type": "error"
|
56
|
-
},
|
57
|
-
{
|
58
|
-
"inputs": [],
|
59
|
-
"name": "EmptyName",
|
60
|
-
"type": "error"
|
61
|
-
},
|
62
13
|
{
|
63
14
|
"inputs": [
|
64
15
|
{
|
@@ -70,11 +21,6 @@
|
|
70
21
|
"name": "UnauthorizedAccess",
|
71
22
|
"type": "error"
|
72
23
|
},
|
73
|
-
{
|
74
|
-
"inputs": [],
|
75
|
-
"name": "ZeroAddress",
|
76
|
-
"type": "error"
|
77
|
-
},
|
78
24
|
{
|
79
25
|
"inputs": [],
|
80
26
|
"name": "ZeroAddressHub",
|
@@ -106,17 +52,22 @@
|
|
106
52
|
"type": "bytes32"
|
107
53
|
},
|
108
54
|
{
|
109
|
-
"internalType": "
|
110
|
-
"name": "
|
111
|
-
"type": "
|
55
|
+
"internalType": "string",
|
56
|
+
"name": "incentivesPoolName",
|
57
|
+
"type": "string"
|
112
58
|
},
|
113
59
|
{
|
114
|
-
"internalType": "
|
115
|
-
"name": "
|
116
|
-
"type": "
|
60
|
+
"internalType": "address",
|
61
|
+
"name": "storageAddress",
|
62
|
+
"type": "address"
|
63
|
+
},
|
64
|
+
{
|
65
|
+
"internalType": "address",
|
66
|
+
"name": "rewardTokenAddress",
|
67
|
+
"type": "address"
|
117
68
|
}
|
118
69
|
],
|
119
|
-
"name": "
|
70
|
+
"name": "addIncentivesPool",
|
120
71
|
"outputs": [],
|
121
72
|
"stateMutability": "nonpayable",
|
122
73
|
"type": "function"
|
@@ -130,11 +81,11 @@
|
|
130
81
|
},
|
131
82
|
{
|
132
83
|
"internalType": "bytes32",
|
133
|
-
"name": "
|
84
|
+
"name": "knowledgeCollectionId",
|
134
85
|
"type": "bytes32"
|
135
86
|
}
|
136
87
|
],
|
137
|
-
"name": "
|
88
|
+
"name": "addKnowledgeCollecton",
|
138
89
|
"outputs": [],
|
139
90
|
"stateMutability": "nonpayable",
|
140
91
|
"type": "function"
|
@@ -203,6 +154,29 @@
|
|
203
154
|
"stateMutability": "nonpayable",
|
204
155
|
"type": "function"
|
205
156
|
},
|
157
|
+
{
|
158
|
+
"inputs": [
|
159
|
+
{
|
160
|
+
"internalType": "bytes32",
|
161
|
+
"name": "paranetId",
|
162
|
+
"type": "bytes32"
|
163
|
+
},
|
164
|
+
{
|
165
|
+
"internalType": "uint72",
|
166
|
+
"name": "identityId",
|
167
|
+
"type": "uint72"
|
168
|
+
},
|
169
|
+
{
|
170
|
+
"internalType": "bytes",
|
171
|
+
"name": "nodeId",
|
172
|
+
"type": "bytes"
|
173
|
+
}
|
174
|
+
],
|
175
|
+
"name": "addPermissionedNode",
|
176
|
+
"outputs": [],
|
177
|
+
"stateMutability": "nonpayable",
|
178
|
+
"type": "function"
|
179
|
+
},
|
206
180
|
{
|
207
181
|
"inputs": [
|
208
182
|
{
|
@@ -253,11 +227,16 @@
|
|
253
227
|
},
|
254
228
|
{
|
255
229
|
"internalType": "address",
|
256
|
-
"name": "
|
230
|
+
"name": "storageAddr",
|
231
|
+
"type": "address"
|
232
|
+
},
|
233
|
+
{
|
234
|
+
"internalType": "address",
|
235
|
+
"name": "rewardTokenAddress",
|
257
236
|
"type": "address"
|
258
237
|
}
|
259
238
|
],
|
260
|
-
"internalType": "struct
|
239
|
+
"internalType": "struct ParanetLib.IncentivesPool[]",
|
261
240
|
"name": "",
|
262
241
|
"type": "tuple[]"
|
263
242
|
}
|
@@ -266,50 +245,13 @@
|
|
266
245
|
"type": "function"
|
267
246
|
},
|
268
247
|
{
|
269
|
-
"inputs": [
|
270
|
-
|
271
|
-
"internalType": "bytes32",
|
272
|
-
"name": "paranetId",
|
273
|
-
"type": "bytes32"
|
274
|
-
}
|
275
|
-
],
|
276
|
-
"name": "getCumulativeKnowledgeValue",
|
277
|
-
"outputs": [
|
278
|
-
{
|
279
|
-
"internalType": "uint96",
|
280
|
-
"name": "",
|
281
|
-
"type": "uint96"
|
282
|
-
}
|
283
|
-
],
|
284
|
-
"stateMutability": "view",
|
285
|
-
"type": "function"
|
286
|
-
},
|
287
|
-
{
|
288
|
-
"inputs": [
|
289
|
-
{
|
290
|
-
"internalType": "bytes32",
|
291
|
-
"name": "paranetId",
|
292
|
-
"type": "bytes32"
|
293
|
-
}
|
294
|
-
],
|
295
|
-
"name": "getCuratedNodes",
|
248
|
+
"inputs": [],
|
249
|
+
"name": "getAllParanetIds",
|
296
250
|
"outputs": [
|
297
251
|
{
|
298
|
-
"
|
299
|
-
{
|
300
|
-
"internalType": "uint72",
|
301
|
-
"name": "identityId",
|
302
|
-
"type": "uint72"
|
303
|
-
},
|
304
|
-
{
|
305
|
-
"internalType": "bytes",
|
306
|
-
"name": "nodeId",
|
307
|
-
"type": "bytes"
|
308
|
-
}
|
309
|
-
],
|
310
|
-
"internalType": "struct ParanetLib.Node[]",
|
252
|
+
"internalType": "bytes32[]",
|
311
253
|
"name": "",
|
312
|
-
"type": "
|
254
|
+
"type": "bytes32[]"
|
313
255
|
}
|
314
256
|
],
|
315
257
|
"stateMutability": "view",
|
@@ -323,12 +265,12 @@
|
|
323
265
|
"type": "bytes32"
|
324
266
|
}
|
325
267
|
],
|
326
|
-
"name": "
|
268
|
+
"name": "getCumulativeKnowledgeValue",
|
327
269
|
"outputs": [
|
328
270
|
{
|
329
|
-
"internalType": "
|
271
|
+
"internalType": "uint96",
|
330
272
|
"name": "",
|
331
|
-
"type": "
|
273
|
+
"type": "uint96"
|
332
274
|
}
|
333
275
|
],
|
334
276
|
"stateMutability": "view",
|
@@ -362,16 +304,33 @@
|
|
362
304
|
},
|
363
305
|
{
|
364
306
|
"internalType": "string",
|
365
|
-
"name": "
|
307
|
+
"name": "poolName",
|
366
308
|
"type": "string"
|
367
309
|
}
|
368
310
|
],
|
369
|
-
"name": "
|
311
|
+
"name": "getIncentivesPoolByPoolName",
|
370
312
|
"outputs": [
|
371
313
|
{
|
372
|
-
"
|
314
|
+
"components": [
|
315
|
+
{
|
316
|
+
"internalType": "string",
|
317
|
+
"name": "name",
|
318
|
+
"type": "string"
|
319
|
+
},
|
320
|
+
{
|
321
|
+
"internalType": "address",
|
322
|
+
"name": "storageAddr",
|
323
|
+
"type": "address"
|
324
|
+
},
|
325
|
+
{
|
326
|
+
"internalType": "address",
|
327
|
+
"name": "rewardTokenAddress",
|
328
|
+
"type": "address"
|
329
|
+
}
|
330
|
+
],
|
331
|
+
"internalType": "struct ParanetLib.IncentivesPool",
|
373
332
|
"name": "",
|
374
|
-
"type": "
|
333
|
+
"type": "tuple"
|
375
334
|
}
|
376
335
|
],
|
377
336
|
"stateMutability": "view",
|
@@ -383,14 +342,36 @@
|
|
383
342
|
"internalType": "bytes32",
|
384
343
|
"name": "paranetId",
|
385
344
|
"type": "bytes32"
|
345
|
+
},
|
346
|
+
{
|
347
|
+
"internalType": "address",
|
348
|
+
"name": "storageAddr",
|
349
|
+
"type": "address"
|
386
350
|
}
|
387
351
|
],
|
388
|
-
"name": "
|
352
|
+
"name": "getIncentivesPoolByStorageAddress",
|
389
353
|
"outputs": [
|
390
354
|
{
|
391
|
-
"
|
355
|
+
"components": [
|
356
|
+
{
|
357
|
+
"internalType": "string",
|
358
|
+
"name": "name",
|
359
|
+
"type": "string"
|
360
|
+
},
|
361
|
+
{
|
362
|
+
"internalType": "address",
|
363
|
+
"name": "storageAddr",
|
364
|
+
"type": "address"
|
365
|
+
},
|
366
|
+
{
|
367
|
+
"internalType": "address",
|
368
|
+
"name": "rewardTokenAddress",
|
369
|
+
"type": "address"
|
370
|
+
}
|
371
|
+
],
|
372
|
+
"internalType": "struct ParanetLib.IncentivesPool",
|
392
373
|
"name": "",
|
393
|
-
"type": "
|
374
|
+
"type": "tuple"
|
394
375
|
}
|
395
376
|
],
|
396
377
|
"stateMutability": "view",
|
@@ -404,12 +385,12 @@
|
|
404
385
|
"type": "bytes32"
|
405
386
|
}
|
406
387
|
],
|
407
|
-
"name": "
|
388
|
+
"name": "getKnowledgeCollections",
|
408
389
|
"outputs": [
|
409
390
|
{
|
410
|
-
"internalType": "
|
391
|
+
"internalType": "bytes32[]",
|
411
392
|
"name": "",
|
412
|
-
"type": "
|
393
|
+
"type": "bytes32[]"
|
413
394
|
}
|
414
395
|
],
|
415
396
|
"stateMutability": "view",
|
@@ -423,7 +404,7 @@
|
|
423
404
|
"type": "bytes32"
|
424
405
|
}
|
425
406
|
],
|
426
|
-
"name": "
|
407
|
+
"name": "getKnowledgeCollectionsCount",
|
427
408
|
"outputs": [
|
428
409
|
{
|
429
410
|
"internalType": "uint256",
|
@@ -443,7 +424,7 @@
|
|
443
424
|
},
|
444
425
|
{
|
445
426
|
"internalType": "bytes32",
|
446
|
-
"name": "
|
427
|
+
"name": "knowledgeCollectionId",
|
447
428
|
"type": "bytes32"
|
448
429
|
},
|
449
430
|
{
|
@@ -452,7 +433,7 @@
|
|
452
433
|
"type": "uint256"
|
453
434
|
}
|
454
435
|
],
|
455
|
-
"name": "
|
436
|
+
"name": "getKnowledgeCollectionsStartingFromKnowlCollectionId",
|
456
437
|
"outputs": [
|
457
438
|
{
|
458
439
|
"internalType": "bytes32[]",
|
@@ -463,6 +444,25 @@
|
|
463
444
|
"stateMutability": "view",
|
464
445
|
"type": "function"
|
465
446
|
},
|
447
|
+
{
|
448
|
+
"inputs": [
|
449
|
+
{
|
450
|
+
"internalType": "bytes32",
|
451
|
+
"name": "paranetId",
|
452
|
+
"type": "bytes32"
|
453
|
+
}
|
454
|
+
],
|
455
|
+
"name": "getKnowledgeCollectionsSubmissionPolicy",
|
456
|
+
"outputs": [
|
457
|
+
{
|
458
|
+
"internalType": "uint8",
|
459
|
+
"name": "",
|
460
|
+
"type": "uint8"
|
461
|
+
}
|
462
|
+
],
|
463
|
+
"stateMutability": "view",
|
464
|
+
"type": "function"
|
465
|
+
},
|
466
466
|
{
|
467
467
|
"inputs": [
|
468
468
|
{
|
@@ -481,7 +481,7 @@
|
|
481
481
|
"type": "uint256"
|
482
482
|
}
|
483
483
|
],
|
484
|
-
"name": "
|
484
|
+
"name": "getKnowledgeCollectionsWithPagination",
|
485
485
|
"outputs": [
|
486
486
|
{
|
487
487
|
"internalType": "bytes32[]",
|
@@ -754,7 +754,7 @@
|
|
754
754
|
"name": "getMinersAccessPolicy",
|
755
755
|
"outputs": [
|
756
756
|
{
|
757
|
-
"internalType": "
|
757
|
+
"internalType": "uint8",
|
758
758
|
"name": "",
|
759
759
|
"type": "uint8"
|
760
760
|
}
|
@@ -913,7 +913,7 @@
|
|
913
913
|
"name": "getNodesAccessPolicy",
|
914
914
|
"outputs": [
|
915
915
|
{
|
916
|
-
"internalType": "
|
916
|
+
"internalType": "uint8",
|
917
917
|
"name": "",
|
918
918
|
"type": "uint8"
|
919
919
|
}
|
@@ -921,6 +921,68 @@
|
|
921
921
|
"stateMutability": "view",
|
922
922
|
"type": "function"
|
923
923
|
},
|
924
|
+
{
|
925
|
+
"inputs": [
|
926
|
+
{
|
927
|
+
"internalType": "uint256",
|
928
|
+
"name": "index",
|
929
|
+
"type": "uint256"
|
930
|
+
}
|
931
|
+
],
|
932
|
+
"name": "getParanetIdAtIndex",
|
933
|
+
"outputs": [
|
934
|
+
{
|
935
|
+
"internalType": "bytes32",
|
936
|
+
"name": "",
|
937
|
+
"type": "bytes32"
|
938
|
+
}
|
939
|
+
],
|
940
|
+
"stateMutability": "view",
|
941
|
+
"type": "function"
|
942
|
+
},
|
943
|
+
{
|
944
|
+
"inputs": [
|
945
|
+
{
|
946
|
+
"internalType": "uint256",
|
947
|
+
"name": "offset",
|
948
|
+
"type": "uint256"
|
949
|
+
},
|
950
|
+
{
|
951
|
+
"internalType": "uint256",
|
952
|
+
"name": "limit",
|
953
|
+
"type": "uint256"
|
954
|
+
}
|
955
|
+
],
|
956
|
+
"name": "getParanetIds",
|
957
|
+
"outputs": [
|
958
|
+
{
|
959
|
+
"internalType": "bytes32[]",
|
960
|
+
"name": "",
|
961
|
+
"type": "bytes32[]"
|
962
|
+
}
|
963
|
+
],
|
964
|
+
"stateMutability": "view",
|
965
|
+
"type": "function"
|
966
|
+
},
|
967
|
+
{
|
968
|
+
"inputs": [
|
969
|
+
{
|
970
|
+
"internalType": "bytes32",
|
971
|
+
"name": "paranetId",
|
972
|
+
"type": "bytes32"
|
973
|
+
}
|
974
|
+
],
|
975
|
+
"name": "getParanetIdsMapping",
|
976
|
+
"outputs": [
|
977
|
+
{
|
978
|
+
"internalType": "uint256",
|
979
|
+
"name": "",
|
980
|
+
"type": "uint256"
|
981
|
+
}
|
982
|
+
],
|
983
|
+
"stateMutability": "view",
|
984
|
+
"type": "function"
|
985
|
+
},
|
924
986
|
{
|
925
987
|
"inputs": [
|
926
988
|
{
|
@@ -936,6 +998,11 @@
|
|
936
998
|
"name": "",
|
937
999
|
"type": "address"
|
938
1000
|
},
|
1001
|
+
{
|
1002
|
+
"internalType": "uint256",
|
1003
|
+
"name": "",
|
1004
|
+
"type": "uint256"
|
1005
|
+
},
|
939
1006
|
{
|
940
1007
|
"internalType": "uint256",
|
941
1008
|
"name": "",
|
@@ -959,9 +1026,14 @@
|
|
959
1026
|
"components": [
|
960
1027
|
{
|
961
1028
|
"internalType": "address",
|
962
|
-
"name": "
|
1029
|
+
"name": "paranetKCStorageContract",
|
963
1030
|
"type": "address"
|
964
1031
|
},
|
1032
|
+
{
|
1033
|
+
"internalType": "uint256",
|
1034
|
+
"name": "paranetKCTokenId",
|
1035
|
+
"type": "uint256"
|
1036
|
+
},
|
965
1037
|
{
|
966
1038
|
"internalType": "uint256",
|
967
1039
|
"name": "paranetKATokenId",
|
@@ -978,18 +1050,18 @@
|
|
978
1050
|
"type": "string"
|
979
1051
|
},
|
980
1052
|
{
|
981
|
-
"internalType": "
|
1053
|
+
"internalType": "uint8",
|
982
1054
|
"name": "nodesAccessPolicy",
|
983
1055
|
"type": "uint8"
|
984
1056
|
},
|
985
1057
|
{
|
986
|
-
"internalType": "
|
1058
|
+
"internalType": "uint8",
|
987
1059
|
"name": "minersAccessPolicy",
|
988
1060
|
"type": "uint8"
|
989
1061
|
},
|
990
1062
|
{
|
991
|
-
"internalType": "
|
992
|
-
"name": "
|
1063
|
+
"internalType": "uint8",
|
1064
|
+
"name": "knowledgeCollectionsSubmissionPolicy",
|
993
1065
|
"type": "uint8"
|
994
1066
|
},
|
995
1067
|
{
|
@@ -1006,6 +1078,69 @@
|
|
1006
1078
|
"stateMutability": "view",
|
1007
1079
|
"type": "function"
|
1008
1080
|
},
|
1081
|
+
{
|
1082
|
+
"inputs": [],
|
1083
|
+
"name": "getParanetsCount",
|
1084
|
+
"outputs": [
|
1085
|
+
{
|
1086
|
+
"internalType": "uint256",
|
1087
|
+
"name": "",
|
1088
|
+
"type": "uint256"
|
1089
|
+
}
|
1090
|
+
],
|
1091
|
+
"stateMutability": "view",
|
1092
|
+
"type": "function"
|
1093
|
+
},
|
1094
|
+
{
|
1095
|
+
"inputs": [
|
1096
|
+
{
|
1097
|
+
"internalType": "bytes32",
|
1098
|
+
"name": "paranetId",
|
1099
|
+
"type": "bytes32"
|
1100
|
+
}
|
1101
|
+
],
|
1102
|
+
"name": "getPermissionedNodes",
|
1103
|
+
"outputs": [
|
1104
|
+
{
|
1105
|
+
"components": [
|
1106
|
+
{
|
1107
|
+
"internalType": "uint72",
|
1108
|
+
"name": "identityId",
|
1109
|
+
"type": "uint72"
|
1110
|
+
},
|
1111
|
+
{
|
1112
|
+
"internalType": "bytes",
|
1113
|
+
"name": "nodeId",
|
1114
|
+
"type": "bytes"
|
1115
|
+
}
|
1116
|
+
],
|
1117
|
+
"internalType": "struct ParanetLib.Node[]",
|
1118
|
+
"name": "",
|
1119
|
+
"type": "tuple[]"
|
1120
|
+
}
|
1121
|
+
],
|
1122
|
+
"stateMutability": "view",
|
1123
|
+
"type": "function"
|
1124
|
+
},
|
1125
|
+
{
|
1126
|
+
"inputs": [
|
1127
|
+
{
|
1128
|
+
"internalType": "bytes32",
|
1129
|
+
"name": "paranetId",
|
1130
|
+
"type": "bytes32"
|
1131
|
+
}
|
1132
|
+
],
|
1133
|
+
"name": "getPermissionedNodesCount",
|
1134
|
+
"outputs": [
|
1135
|
+
{
|
1136
|
+
"internalType": "uint256",
|
1137
|
+
"name": "",
|
1138
|
+
"type": "uint256"
|
1139
|
+
}
|
1140
|
+
],
|
1141
|
+
"stateMutability": "view",
|
1142
|
+
"type": "function"
|
1143
|
+
},
|
1009
1144
|
{
|
1010
1145
|
"inputs": [
|
1011
1146
|
{
|
@@ -1052,12 +1187,12 @@
|
|
1052
1187
|
"type": "bytes32"
|
1053
1188
|
},
|
1054
1189
|
{
|
1055
|
-
"internalType": "
|
1056
|
-
"name": "
|
1057
|
-
"type": "
|
1190
|
+
"internalType": "string",
|
1191
|
+
"name": "poolName",
|
1192
|
+
"type": "string"
|
1058
1193
|
}
|
1059
1194
|
],
|
1060
|
-
"name": "
|
1195
|
+
"name": "hasIncentivesPoolByName",
|
1061
1196
|
"outputs": [
|
1062
1197
|
{
|
1063
1198
|
"internalType": "bool",
|
@@ -1076,12 +1211,12 @@
|
|
1076
1211
|
"type": "bytes32"
|
1077
1212
|
},
|
1078
1213
|
{
|
1079
|
-
"internalType": "
|
1080
|
-
"name": "
|
1081
|
-
"type": "
|
1214
|
+
"internalType": "address",
|
1215
|
+
"name": "storageAddr",
|
1216
|
+
"type": "address"
|
1082
1217
|
}
|
1083
1218
|
],
|
1084
|
-
"name": "
|
1219
|
+
"name": "hasIncentivesPoolByStorageAddress",
|
1085
1220
|
"outputs": [
|
1086
1221
|
{
|
1087
1222
|
"internalType": "bool",
|
@@ -1113,12 +1248,12 @@
|
|
1113
1248
|
"type": "bytes32"
|
1114
1249
|
},
|
1115
1250
|
{
|
1116
|
-
"internalType": "
|
1117
|
-
"name": "
|
1118
|
-
"type": "
|
1251
|
+
"internalType": "bytes32",
|
1252
|
+
"name": "knowledgeCollectionId",
|
1253
|
+
"type": "bytes32"
|
1119
1254
|
}
|
1120
1255
|
],
|
1121
|
-
"name": "
|
1256
|
+
"name": "isKnowledgeCollectionRegistered",
|
1122
1257
|
"outputs": [
|
1123
1258
|
{
|
1124
1259
|
"internalType": "bool",
|
@@ -1137,12 +1272,12 @@
|
|
1137
1272
|
"type": "bytes32"
|
1138
1273
|
},
|
1139
1274
|
{
|
1140
|
-
"internalType": "
|
1141
|
-
"name": "
|
1142
|
-
"type": "
|
1275
|
+
"internalType": "address",
|
1276
|
+
"name": "knowledgeMinerAddress",
|
1277
|
+
"type": "address"
|
1143
1278
|
}
|
1144
1279
|
],
|
1145
|
-
"name": "
|
1280
|
+
"name": "isKnowledgeMinerRegistered",
|
1146
1281
|
"outputs": [
|
1147
1282
|
{
|
1148
1283
|
"internalType": "bool",
|
@@ -1161,12 +1296,12 @@
|
|
1161
1296
|
"type": "bytes32"
|
1162
1297
|
},
|
1163
1298
|
{
|
1164
|
-
"internalType": "
|
1165
|
-
"name": "
|
1166
|
-
"type": "
|
1299
|
+
"internalType": "uint72",
|
1300
|
+
"name": "identityId",
|
1301
|
+
"type": "uint72"
|
1167
1302
|
}
|
1168
1303
|
],
|
1169
|
-
"name": "
|
1304
|
+
"name": "isPermissionedNode",
|
1170
1305
|
"outputs": [
|
1171
1306
|
{
|
1172
1307
|
"internalType": "bool",
|
@@ -1237,12 +1372,17 @@
|
|
1237
1372
|
"inputs": [
|
1238
1373
|
{
|
1239
1374
|
"internalType": "address",
|
1240
|
-
"name": "
|
1375
|
+
"name": "knowledgeCollectionStorageContract",
|
1241
1376
|
"type": "address"
|
1242
1377
|
},
|
1243
1378
|
{
|
1244
1379
|
"internalType": "uint256",
|
1245
|
-
"name": "
|
1380
|
+
"name": "knowledgeCollectionTokenId",
|
1381
|
+
"type": "uint256"
|
1382
|
+
},
|
1383
|
+
{
|
1384
|
+
"internalType": "uint256",
|
1385
|
+
"name": "knowledgeAssetTokenId",
|
1246
1386
|
"type": "uint256"
|
1247
1387
|
},
|
1248
1388
|
{
|
@@ -1256,18 +1396,18 @@
|
|
1256
1396
|
"type": "string"
|
1257
1397
|
},
|
1258
1398
|
{
|
1259
|
-
"internalType": "
|
1399
|
+
"internalType": "uint8",
|
1260
1400
|
"name": "nodesAccessPolicy",
|
1261
1401
|
"type": "uint8"
|
1262
1402
|
},
|
1263
1403
|
{
|
1264
|
-
"internalType": "
|
1404
|
+
"internalType": "uint8",
|
1265
1405
|
"name": "minersAccessPolicy",
|
1266
1406
|
"type": "uint8"
|
1267
1407
|
},
|
1268
1408
|
{
|
1269
|
-
"internalType": "
|
1270
|
-
"name": "
|
1409
|
+
"internalType": "uint8",
|
1410
|
+
"name": "knowledgeCollectionsSubmissionPolicy",
|
1271
1411
|
"type": "uint8"
|
1272
1412
|
}
|
1273
1413
|
],
|
@@ -1282,60 +1422,6 @@
|
|
1282
1422
|
"stateMutability": "nonpayable",
|
1283
1423
|
"type": "function"
|
1284
1424
|
},
|
1285
|
-
{
|
1286
|
-
"inputs": [
|
1287
|
-
{
|
1288
|
-
"internalType": "bytes32",
|
1289
|
-
"name": "paranetId",
|
1290
|
-
"type": "bytes32"
|
1291
|
-
},
|
1292
|
-
{
|
1293
|
-
"internalType": "uint72",
|
1294
|
-
"name": "identityId",
|
1295
|
-
"type": "uint72"
|
1296
|
-
}
|
1297
|
-
],
|
1298
|
-
"name": "removeCuratedNode",
|
1299
|
-
"outputs": [],
|
1300
|
-
"stateMutability": "nonpayable",
|
1301
|
-
"type": "function"
|
1302
|
-
},
|
1303
|
-
{
|
1304
|
-
"inputs": [
|
1305
|
-
{
|
1306
|
-
"internalType": "bytes32",
|
1307
|
-
"name": "paranetId",
|
1308
|
-
"type": "bytes32"
|
1309
|
-
},
|
1310
|
-
{
|
1311
|
-
"internalType": "address",
|
1312
|
-
"name": "incentivesPoolAddress",
|
1313
|
-
"type": "address"
|
1314
|
-
}
|
1315
|
-
],
|
1316
|
-
"name": "removeIncentivesPool",
|
1317
|
-
"outputs": [],
|
1318
|
-
"stateMutability": "nonpayable",
|
1319
|
-
"type": "function"
|
1320
|
-
},
|
1321
|
-
{
|
1322
|
-
"inputs": [
|
1323
|
-
{
|
1324
|
-
"internalType": "bytes32",
|
1325
|
-
"name": "paranetId",
|
1326
|
-
"type": "bytes32"
|
1327
|
-
},
|
1328
|
-
{
|
1329
|
-
"internalType": "string",
|
1330
|
-
"name": "incentivesPoolType",
|
1331
|
-
"type": "string"
|
1332
|
-
}
|
1333
|
-
],
|
1334
|
-
"name": "removeIncentivesPool",
|
1335
|
-
"outputs": [],
|
1336
|
-
"stateMutability": "nonpayable",
|
1337
|
-
"type": "function"
|
1338
|
-
},
|
1339
1425
|
{
|
1340
1426
|
"inputs": [
|
1341
1427
|
{
|
@@ -1345,11 +1431,11 @@
|
|
1345
1431
|
},
|
1346
1432
|
{
|
1347
1433
|
"internalType": "bytes32",
|
1348
|
-
"name": "
|
1434
|
+
"name": "knowledgeCollectionId",
|
1349
1435
|
"type": "bytes32"
|
1350
1436
|
}
|
1351
1437
|
],
|
1352
|
-
"name": "
|
1438
|
+
"name": "removeKnowledgeCollection",
|
1353
1439
|
"outputs": [],
|
1354
1440
|
"stateMutability": "nonpayable",
|
1355
1441
|
"type": "function"
|
@@ -1426,12 +1512,12 @@
|
|
1426
1512
|
"type": "bytes32"
|
1427
1513
|
},
|
1428
1514
|
{
|
1429
|
-
"internalType": "
|
1430
|
-
"name": "
|
1431
|
-
"type": "
|
1515
|
+
"internalType": "uint72",
|
1516
|
+
"name": "identityId",
|
1517
|
+
"type": "uint72"
|
1432
1518
|
}
|
1433
1519
|
],
|
1434
|
-
"name": "
|
1520
|
+
"name": "removePermissionedNode",
|
1435
1521
|
"outputs": [],
|
1436
1522
|
"stateMutability": "nonpayable",
|
1437
1523
|
"type": "function"
|
@@ -1444,12 +1530,12 @@
|
|
1444
1530
|
"type": "bytes32"
|
1445
1531
|
},
|
1446
1532
|
{
|
1447
|
-
"internalType": "
|
1448
|
-
"name": "
|
1449
|
-
"type": "
|
1533
|
+
"internalType": "bytes32",
|
1534
|
+
"name": "serviceId",
|
1535
|
+
"type": "bytes32"
|
1450
1536
|
}
|
1451
1537
|
],
|
1452
|
-
"name": "
|
1538
|
+
"name": "removeService",
|
1453
1539
|
"outputs": [],
|
1454
1540
|
"stateMutability": "nonpayable",
|
1455
1541
|
"type": "function"
|
@@ -1462,12 +1548,12 @@
|
|
1462
1548
|
"type": "bytes32"
|
1463
1549
|
},
|
1464
1550
|
{
|
1465
|
-
"internalType": "
|
1466
|
-
"name": "
|
1467
|
-
"type": "
|
1551
|
+
"internalType": "uint96",
|
1552
|
+
"name": "cumulativeKnowledgeValue",
|
1553
|
+
"type": "uint96"
|
1468
1554
|
}
|
1469
1555
|
],
|
1470
|
-
"name": "
|
1556
|
+
"name": "setCumulativeKnowledgeValue",
|
1471
1557
|
"outputs": [],
|
1472
1558
|
"stateMutability": "nonpayable",
|
1473
1559
|
"type": "function"
|
@@ -1481,16 +1567,11 @@
|
|
1481
1567
|
},
|
1482
1568
|
{
|
1483
1569
|
"internalType": "string",
|
1484
|
-
"name": "
|
1570
|
+
"name": "description",
|
1485
1571
|
"type": "string"
|
1486
|
-
},
|
1487
|
-
{
|
1488
|
-
"internalType": "address",
|
1489
|
-
"name": "incentivesPoolAddress",
|
1490
|
-
"type": "address"
|
1491
1572
|
}
|
1492
1573
|
],
|
1493
|
-
"name": "
|
1574
|
+
"name": "setDescription",
|
1494
1575
|
"outputs": [],
|
1495
1576
|
"stateMutability": "nonpayable",
|
1496
1577
|
"type": "function"
|
@@ -1503,12 +1584,12 @@
|
|
1503
1584
|
"type": "bytes32"
|
1504
1585
|
},
|
1505
1586
|
{
|
1506
|
-
"internalType": "
|
1507
|
-
"name": "
|
1587
|
+
"internalType": "uint8",
|
1588
|
+
"name": "knowledgeCollectionsSubmissionPolicy",
|
1508
1589
|
"type": "uint8"
|
1509
1590
|
}
|
1510
1591
|
],
|
1511
|
-
"name": "
|
1592
|
+
"name": "setKnowledgeCollectionsSubmissionPolicy",
|
1512
1593
|
"outputs": [],
|
1513
1594
|
"stateMutability": "nonpayable",
|
1514
1595
|
"type": "function"
|
@@ -1521,7 +1602,7 @@
|
|
1521
1602
|
"type": "bytes32"
|
1522
1603
|
},
|
1523
1604
|
{
|
1524
|
-
"internalType": "
|
1605
|
+
"internalType": "uint8",
|
1525
1606
|
"name": "minersAccessPolicy",
|
1526
1607
|
"type": "uint8"
|
1527
1608
|
}
|
@@ -1557,7 +1638,7 @@
|
|
1557
1638
|
"type": "bytes32"
|
1558
1639
|
},
|
1559
1640
|
{
|
1560
|
-
"internalType": "
|
1641
|
+
"internalType": "uint8",
|
1561
1642
|
"name": "nodesAccessPolicy",
|
1562
1643
|
"type": "uint8"
|
1563
1644
|
}
|
@@ -1585,29 +1666,6 @@
|
|
1585
1666
|
"stateMutability": "nonpayable",
|
1586
1667
|
"type": "function"
|
1587
1668
|
},
|
1588
|
-
{
|
1589
|
-
"inputs": [
|
1590
|
-
{
|
1591
|
-
"internalType": "bytes32",
|
1592
|
-
"name": "paranetId",
|
1593
|
-
"type": "bytes32"
|
1594
|
-
},
|
1595
|
-
{
|
1596
|
-
"internalType": "string",
|
1597
|
-
"name": "incentivesPoolType",
|
1598
|
-
"type": "string"
|
1599
|
-
},
|
1600
|
-
{
|
1601
|
-
"internalType": "address",
|
1602
|
-
"name": "incentivesPoolAddress",
|
1603
|
-
"type": "address"
|
1604
|
-
}
|
1605
|
-
],
|
1606
|
-
"name": "updateIncentivesPoolAddress",
|
1607
|
-
"outputs": [],
|
1608
|
-
"stateMutability": "nonpayable",
|
1609
|
-
"type": "function"
|
1610
|
-
},
|
1611
1669
|
{
|
1612
1670
|
"inputs": [
|
1613
1671
|
{
|