dkg 0.1.0b6__py3-none-any.whl → 1.0.0__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.
Files changed (43) hide show
  1. dkg/asset.py +106 -28
  2. dkg/constants.py +13 -9
  3. dkg/data/interfaces/ContentAsset.json +133 -3
  4. dkg/data/interfaces/Paranet.json +821 -0
  5. dkg/data/interfaces/{Identity.json → ParanetIncentivesPoolFactory.json} +67 -86
  6. dkg/data/interfaces/ParanetKnowledgeMinersRegistry.json +919 -0
  7. dkg/data/interfaces/ParanetNeurowebIncentivesPool.json +1102 -0
  8. dkg/data/interfaces/{ServiceAgreementStorageV1.json → ParanetsRegistry.json} +331 -360
  9. dkg/dataclasses.py +28 -8
  10. dkg/main.py +6 -3
  11. dkg/method.py +55 -39
  12. dkg/module.py +1 -0
  13. dkg/network.py +20 -10
  14. dkg/paranet.py +477 -0
  15. dkg/providers/blockchain.py +57 -26
  16. dkg/types/__init__.py +1 -0
  17. dkg/types/general.py +44 -0
  18. dkg/utils/blockchain_request.py +149 -4
  19. dkg/utils/node_request.py +77 -80
  20. {dkg-0.1.0b6.dist-info → dkg-1.0.0.dist-info}/METADATA +3 -141
  21. dkg-1.0.0.dist-info/NOTICE +9 -0
  22. dkg-1.0.0.dist-info/RECORD +52 -0
  23. {dkg-0.1.0b6.dist-info → dkg-1.0.0.dist-info}/WHEEL +1 -1
  24. dkg/data/interfaces/Assertion.json +0 -157
  25. dkg/data/interfaces/CommitManagerV1.json +0 -549
  26. dkg/data/interfaces/CommitManagerV1U1.json +0 -735
  27. dkg/data/interfaces/HashingProxy.json +0 -253
  28. dkg/data/interfaces/IdentityStorage.json +0 -342
  29. dkg/data/interfaces/ParametersStorage.json +0 -487
  30. dkg/data/interfaces/Profile.json +0 -318
  31. dkg/data/interfaces/ProfileStorage.json +0 -596
  32. dkg/data/interfaces/ProofManagerV1.json +0 -540
  33. dkg/data/interfaces/ProofManagerV1U1.json +0 -561
  34. dkg/data/interfaces/ScoringProxy.json +0 -268
  35. dkg/data/interfaces/ServiceAgreementStorageV1U1.json +0 -1097
  36. dkg/data/interfaces/ServiceAgreementV1.json +0 -745
  37. dkg/data/interfaces/ShardingTable.json +0 -294
  38. dkg/data/interfaces/ShardingTableStorage.json +0 -317
  39. dkg/data/interfaces/Staking.json +0 -482
  40. dkg/data/interfaces/StakingStorage.json +0 -407
  41. dkg/data/interfaces/WhitelistStorage.json +0 -124
  42. dkg-0.1.0b6.dist-info/RECORD +0 -64
  43. {dkg-0.1.0b6.dist-info → dkg-1.0.0.dist-info}/LICENSE +0 -0
@@ -0,0 +1,919 @@
1
+ [
2
+ {
3
+ "inputs": [
4
+ {
5
+ "internalType": "address",
6
+ "name": "hubAddress",
7
+ "type": "address"
8
+ }
9
+ ],
10
+ "stateMutability": "nonpayable",
11
+ "type": "constructor"
12
+ },
13
+ {
14
+ "inputs": [
15
+ {
16
+ "internalType": "address",
17
+ "name": "miner",
18
+ "type": "address"
19
+ },
20
+ {
21
+ "internalType": "bytes32",
22
+ "name": "paranetId",
23
+ "type": "bytes32"
24
+ },
25
+ {
26
+ "internalType": "uint256",
27
+ "name": "addedCumulativeAwardedNeuro",
28
+ "type": "uint256"
29
+ }
30
+ ],
31
+ "name": "addCumulativeAwardedNeuro",
32
+ "outputs": [],
33
+ "stateMutability": "nonpayable",
34
+ "type": "function"
35
+ },
36
+ {
37
+ "inputs": [
38
+ {
39
+ "internalType": "address",
40
+ "name": "miner",
41
+ "type": "address"
42
+ },
43
+ {
44
+ "internalType": "bytes32",
45
+ "name": "paranetId",
46
+ "type": "bytes32"
47
+ },
48
+ {
49
+ "internalType": "uint96",
50
+ "name": "addedTracSpent",
51
+ "type": "uint96"
52
+ }
53
+ ],
54
+ "name": "addCumulativeTracSpent",
55
+ "outputs": [],
56
+ "stateMutability": "nonpayable",
57
+ "type": "function"
58
+ },
59
+ {
60
+ "inputs": [
61
+ {
62
+ "internalType": "address",
63
+ "name": "miner",
64
+ "type": "address"
65
+ },
66
+ {
67
+ "internalType": "bytes32",
68
+ "name": "paranetId",
69
+ "type": "bytes32"
70
+ },
71
+ {
72
+ "internalType": "bytes32",
73
+ "name": "knowledgeAssetId",
74
+ "type": "bytes32"
75
+ }
76
+ ],
77
+ "name": "addSubmittedKnowledgeAsset",
78
+ "outputs": [],
79
+ "stateMutability": "nonpayable",
80
+ "type": "function"
81
+ },
82
+ {
83
+ "inputs": [
84
+ {
85
+ "internalType": "address",
86
+ "name": "miner",
87
+ "type": "address"
88
+ },
89
+ {
90
+ "internalType": "uint96",
91
+ "name": "addedTracSpent",
92
+ "type": "uint96"
93
+ }
94
+ ],
95
+ "name": "addTotalTracSpent",
96
+ "outputs": [],
97
+ "stateMutability": "nonpayable",
98
+ "type": "function"
99
+ },
100
+ {
101
+ "inputs": [
102
+ {
103
+ "internalType": "address",
104
+ "name": "miner",
105
+ "type": "address"
106
+ },
107
+ {
108
+ "internalType": "bytes32",
109
+ "name": "paranetId",
110
+ "type": "bytes32"
111
+ },
112
+ {
113
+ "internalType": "uint96",
114
+ "name": "addedUnrewardedTracSpent",
115
+ "type": "uint96"
116
+ }
117
+ ],
118
+ "name": "addUnrewardedTracSpent",
119
+ "outputs": [],
120
+ "stateMutability": "nonpayable",
121
+ "type": "function"
122
+ },
123
+ {
124
+ "inputs": [
125
+ {
126
+ "internalType": "address",
127
+ "name": "miner",
128
+ "type": "address"
129
+ },
130
+ {
131
+ "internalType": "bytes32",
132
+ "name": "paranetId",
133
+ "type": "bytes32"
134
+ },
135
+ {
136
+ "internalType": "address",
137
+ "name": "knowledgeAssetStorageContract",
138
+ "type": "address"
139
+ },
140
+ {
141
+ "internalType": "uint256",
142
+ "name": "tokenId",
143
+ "type": "uint256"
144
+ },
145
+ {
146
+ "internalType": "bytes32",
147
+ "name": "assertionId",
148
+ "type": "bytes32"
149
+ },
150
+ {
151
+ "internalType": "uint96",
152
+ "name": "updateTokenAmount",
153
+ "type": "uint96"
154
+ }
155
+ ],
156
+ "name": "addUpdatingKnowledgeAssetState",
157
+ "outputs": [],
158
+ "stateMutability": "nonpayable",
159
+ "type": "function"
160
+ },
161
+ {
162
+ "inputs": [
163
+ {
164
+ "internalType": "address",
165
+ "name": "miner",
166
+ "type": "address"
167
+ },
168
+ {
169
+ "internalType": "bytes32",
170
+ "name": "paranetId",
171
+ "type": "bytes32"
172
+ },
173
+ {
174
+ "internalType": "bytes32",
175
+ "name": "knowledgeAssetStateId",
176
+ "type": "bytes32"
177
+ },
178
+ {
179
+ "internalType": "uint96",
180
+ "name": "addedUpdateTokenAmount",
181
+ "type": "uint96"
182
+ }
183
+ ],
184
+ "name": "addUpdatingKnowledgeAssetUpdateTokenAmount",
185
+ "outputs": [],
186
+ "stateMutability": "nonpayable",
187
+ "type": "function"
188
+ },
189
+ {
190
+ "inputs": [
191
+ {
192
+ "internalType": "address",
193
+ "name": "miner",
194
+ "type": "address"
195
+ }
196
+ ],
197
+ "name": "decrementTotalSubmittedKnowledgeAssetsCount",
198
+ "outputs": [],
199
+ "stateMutability": "nonpayable",
200
+ "type": "function"
201
+ },
202
+ {
203
+ "inputs": [
204
+ {
205
+ "internalType": "address",
206
+ "name": "miner",
207
+ "type": "address"
208
+ }
209
+ ],
210
+ "name": "deleteKnowledgeMiner",
211
+ "outputs": [],
212
+ "stateMutability": "nonpayable",
213
+ "type": "function"
214
+ },
215
+ {
216
+ "inputs": [
217
+ {
218
+ "internalType": "address",
219
+ "name": "miner",
220
+ "type": "address"
221
+ },
222
+ {
223
+ "internalType": "bytes32",
224
+ "name": "paranetId",
225
+ "type": "bytes32"
226
+ }
227
+ ],
228
+ "name": "getCumulativeAwardedNeuro",
229
+ "outputs": [
230
+ {
231
+ "internalType": "uint256",
232
+ "name": "",
233
+ "type": "uint256"
234
+ }
235
+ ],
236
+ "stateMutability": "view",
237
+ "type": "function"
238
+ },
239
+ {
240
+ "inputs": [
241
+ {
242
+ "internalType": "address",
243
+ "name": "miner",
244
+ "type": "address"
245
+ },
246
+ {
247
+ "internalType": "bytes32",
248
+ "name": "paranetId",
249
+ "type": "bytes32"
250
+ }
251
+ ],
252
+ "name": "getCumulativeTracSpent",
253
+ "outputs": [
254
+ {
255
+ "internalType": "uint96",
256
+ "name": "",
257
+ "type": "uint96"
258
+ }
259
+ ],
260
+ "stateMutability": "view",
261
+ "type": "function"
262
+ },
263
+ {
264
+ "inputs": [
265
+ {
266
+ "internalType": "address",
267
+ "name": "addr",
268
+ "type": "address"
269
+ }
270
+ ],
271
+ "name": "getKnowledgeMinerMetadata",
272
+ "outputs": [
273
+ {
274
+ "components": [
275
+ {
276
+ "internalType": "address",
277
+ "name": "addr",
278
+ "type": "address"
279
+ },
280
+ {
281
+ "internalType": "uint96",
282
+ "name": "totalTracSpent",
283
+ "type": "uint96"
284
+ },
285
+ {
286
+ "internalType": "uint256",
287
+ "name": "totalSubmittedKnowledgeAssetsCount",
288
+ "type": "uint256"
289
+ }
290
+ ],
291
+ "internalType": "struct ParanetStructs.KnowledgeMinerMetadata",
292
+ "name": "",
293
+ "type": "tuple"
294
+ }
295
+ ],
296
+ "stateMutability": "view",
297
+ "type": "function"
298
+ },
299
+ {
300
+ "inputs": [
301
+ {
302
+ "internalType": "address",
303
+ "name": "miner",
304
+ "type": "address"
305
+ },
306
+ {
307
+ "internalType": "bytes32",
308
+ "name": "paranetId",
309
+ "type": "bytes32"
310
+ }
311
+ ],
312
+ "name": "getSubmittedKnowledgeAssets",
313
+ "outputs": [
314
+ {
315
+ "internalType": "bytes32[]",
316
+ "name": "",
317
+ "type": "bytes32[]"
318
+ }
319
+ ],
320
+ "stateMutability": "view",
321
+ "type": "function"
322
+ },
323
+ {
324
+ "inputs": [
325
+ {
326
+ "internalType": "address",
327
+ "name": "miner",
328
+ "type": "address"
329
+ },
330
+ {
331
+ "internalType": "bytes32",
332
+ "name": "paranetId",
333
+ "type": "bytes32"
334
+ },
335
+ {
336
+ "internalType": "uint256",
337
+ "name": "start",
338
+ "type": "uint256"
339
+ },
340
+ {
341
+ "internalType": "uint256",
342
+ "name": "end",
343
+ "type": "uint256"
344
+ }
345
+ ],
346
+ "name": "getSubmittedKnowledgeAssets",
347
+ "outputs": [
348
+ {
349
+ "internalType": "bytes32[]",
350
+ "name": "",
351
+ "type": "bytes32[]"
352
+ }
353
+ ],
354
+ "stateMutability": "view",
355
+ "type": "function"
356
+ },
357
+ {
358
+ "inputs": [
359
+ {
360
+ "internalType": "address",
361
+ "name": "miner",
362
+ "type": "address"
363
+ }
364
+ ],
365
+ "name": "getTotalSubmittedKnowledgeAssetsCount",
366
+ "outputs": [
367
+ {
368
+ "internalType": "uint256",
369
+ "name": "",
370
+ "type": "uint256"
371
+ }
372
+ ],
373
+ "stateMutability": "view",
374
+ "type": "function"
375
+ },
376
+ {
377
+ "inputs": [
378
+ {
379
+ "internalType": "address",
380
+ "name": "miner",
381
+ "type": "address"
382
+ }
383
+ ],
384
+ "name": "getTotalTracSpent",
385
+ "outputs": [
386
+ {
387
+ "internalType": "uint96",
388
+ "name": "",
389
+ "type": "uint96"
390
+ }
391
+ ],
392
+ "stateMutability": "view",
393
+ "type": "function"
394
+ },
395
+ {
396
+ "inputs": [
397
+ {
398
+ "internalType": "address",
399
+ "name": "miner",
400
+ "type": "address"
401
+ },
402
+ {
403
+ "internalType": "bytes32",
404
+ "name": "paranetId",
405
+ "type": "bytes32"
406
+ }
407
+ ],
408
+ "name": "getUnrewardedTracSpent",
409
+ "outputs": [
410
+ {
411
+ "internalType": "uint96",
412
+ "name": "",
413
+ "type": "uint96"
414
+ }
415
+ ],
416
+ "stateMutability": "view",
417
+ "type": "function"
418
+ },
419
+ {
420
+ "inputs": [
421
+ {
422
+ "internalType": "address",
423
+ "name": "miner",
424
+ "type": "address"
425
+ },
426
+ {
427
+ "internalType": "bytes32",
428
+ "name": "paranetId",
429
+ "type": "bytes32"
430
+ },
431
+ {
432
+ "internalType": "uint256",
433
+ "name": "start",
434
+ "type": "uint256"
435
+ },
436
+ {
437
+ "internalType": "uint256",
438
+ "name": "end",
439
+ "type": "uint256"
440
+ }
441
+ ],
442
+ "name": "getUpdatingKnowledgeAssetStates",
443
+ "outputs": [
444
+ {
445
+ "components": [
446
+ {
447
+ "internalType": "address",
448
+ "name": "knowledgeAssetStorageContract",
449
+ "type": "address"
450
+ },
451
+ {
452
+ "internalType": "uint256",
453
+ "name": "tokenId",
454
+ "type": "uint256"
455
+ },
456
+ {
457
+ "internalType": "bytes32",
458
+ "name": "assertionId",
459
+ "type": "bytes32"
460
+ },
461
+ {
462
+ "internalType": "uint96",
463
+ "name": "updateTokenAmount",
464
+ "type": "uint96"
465
+ }
466
+ ],
467
+ "internalType": "struct ParanetStructs.UpdatingKnowledgeAssetState[]",
468
+ "name": "",
469
+ "type": "tuple[]"
470
+ }
471
+ ],
472
+ "stateMutability": "view",
473
+ "type": "function"
474
+ },
475
+ {
476
+ "inputs": [
477
+ {
478
+ "internalType": "address",
479
+ "name": "miner",
480
+ "type": "address"
481
+ },
482
+ {
483
+ "internalType": "bytes32",
484
+ "name": "paranetId",
485
+ "type": "bytes32"
486
+ }
487
+ ],
488
+ "name": "getUpdatingKnowledgeAssetStates",
489
+ "outputs": [
490
+ {
491
+ "components": [
492
+ {
493
+ "internalType": "address",
494
+ "name": "knowledgeAssetStorageContract",
495
+ "type": "address"
496
+ },
497
+ {
498
+ "internalType": "uint256",
499
+ "name": "tokenId",
500
+ "type": "uint256"
501
+ },
502
+ {
503
+ "internalType": "bytes32",
504
+ "name": "assertionId",
505
+ "type": "bytes32"
506
+ },
507
+ {
508
+ "internalType": "uint96",
509
+ "name": "updateTokenAmount",
510
+ "type": "uint96"
511
+ }
512
+ ],
513
+ "internalType": "struct ParanetStructs.UpdatingKnowledgeAssetState[]",
514
+ "name": "",
515
+ "type": "tuple[]"
516
+ }
517
+ ],
518
+ "stateMutability": "view",
519
+ "type": "function"
520
+ },
521
+ {
522
+ "inputs": [],
523
+ "name": "hub",
524
+ "outputs": [
525
+ {
526
+ "internalType": "contract HubV2",
527
+ "name": "",
528
+ "type": "address"
529
+ }
530
+ ],
531
+ "stateMutability": "view",
532
+ "type": "function"
533
+ },
534
+ {
535
+ "inputs": [
536
+ {
537
+ "internalType": "address",
538
+ "name": "miner",
539
+ "type": "address"
540
+ }
541
+ ],
542
+ "name": "incrementTotalSubmittedKnowledgeAssetsCount",
543
+ "outputs": [],
544
+ "stateMutability": "nonpayable",
545
+ "type": "function"
546
+ },
547
+ {
548
+ "inputs": [],
549
+ "name": "initialize",
550
+ "outputs": [],
551
+ "stateMutability": "nonpayable",
552
+ "type": "function"
553
+ },
554
+ {
555
+ "inputs": [
556
+ {
557
+ "internalType": "address",
558
+ "name": "miner",
559
+ "type": "address"
560
+ }
561
+ ],
562
+ "name": "knowledgeMinerExists",
563
+ "outputs": [
564
+ {
565
+ "internalType": "bool",
566
+ "name": "",
567
+ "type": "bool"
568
+ }
569
+ ],
570
+ "stateMutability": "view",
571
+ "type": "function"
572
+ },
573
+ {
574
+ "inputs": [],
575
+ "name": "name",
576
+ "outputs": [
577
+ {
578
+ "internalType": "string",
579
+ "name": "",
580
+ "type": "string"
581
+ }
582
+ ],
583
+ "stateMutability": "pure",
584
+ "type": "function"
585
+ },
586
+ {
587
+ "inputs": [],
588
+ "name": "paranetsRegistry",
589
+ "outputs": [
590
+ {
591
+ "internalType": "contract ParanetsRegistry",
592
+ "name": "",
593
+ "type": "address"
594
+ }
595
+ ],
596
+ "stateMutability": "view",
597
+ "type": "function"
598
+ },
599
+ {
600
+ "inputs": [
601
+ {
602
+ "internalType": "address",
603
+ "name": "miner",
604
+ "type": "address"
605
+ }
606
+ ],
607
+ "name": "registerKnowledgeMiner",
608
+ "outputs": [],
609
+ "stateMutability": "nonpayable",
610
+ "type": "function"
611
+ },
612
+ {
613
+ "inputs": [
614
+ {
615
+ "internalType": "address",
616
+ "name": "miner",
617
+ "type": "address"
618
+ },
619
+ {
620
+ "internalType": "bytes32",
621
+ "name": "paranetId",
622
+ "type": "bytes32"
623
+ },
624
+ {
625
+ "internalType": "bytes32",
626
+ "name": "knowledgeAssetId",
627
+ "type": "bytes32"
628
+ }
629
+ ],
630
+ "name": "removeSubmittedKnowledgeAsset",
631
+ "outputs": [],
632
+ "stateMutability": "nonpayable",
633
+ "type": "function"
634
+ },
635
+ {
636
+ "inputs": [
637
+ {
638
+ "internalType": "address",
639
+ "name": "miner",
640
+ "type": "address"
641
+ },
642
+ {
643
+ "internalType": "bytes32",
644
+ "name": "paranetId",
645
+ "type": "bytes32"
646
+ },
647
+ {
648
+ "internalType": "bytes32",
649
+ "name": "knowledgeAssetStateId",
650
+ "type": "bytes32"
651
+ }
652
+ ],
653
+ "name": "removeUpdatingKnowledgeAssetState",
654
+ "outputs": [],
655
+ "stateMutability": "nonpayable",
656
+ "type": "function"
657
+ },
658
+ {
659
+ "inputs": [
660
+ {
661
+ "internalType": "address",
662
+ "name": "miner",
663
+ "type": "address"
664
+ },
665
+ {
666
+ "internalType": "bytes32",
667
+ "name": "paranetId",
668
+ "type": "bytes32"
669
+ },
670
+ {
671
+ "internalType": "uint256",
672
+ "name": "cumulativeAwardedNeuro",
673
+ "type": "uint256"
674
+ }
675
+ ],
676
+ "name": "setCumulativeAwardedNeuro",
677
+ "outputs": [],
678
+ "stateMutability": "nonpayable",
679
+ "type": "function"
680
+ },
681
+ {
682
+ "inputs": [
683
+ {
684
+ "internalType": "address",
685
+ "name": "miner",
686
+ "type": "address"
687
+ },
688
+ {
689
+ "internalType": "bytes32",
690
+ "name": "paranetId",
691
+ "type": "bytes32"
692
+ },
693
+ {
694
+ "internalType": "uint96",
695
+ "name": "cumulativeTracSpent",
696
+ "type": "uint96"
697
+ }
698
+ ],
699
+ "name": "setCumulativeTracSpent",
700
+ "outputs": [],
701
+ "stateMutability": "nonpayable",
702
+ "type": "function"
703
+ },
704
+ {
705
+ "inputs": [
706
+ {
707
+ "internalType": "address",
708
+ "name": "miner",
709
+ "type": "address"
710
+ },
711
+ {
712
+ "internalType": "uint256",
713
+ "name": "totalSubmittedKnowledgeAssetsCount",
714
+ "type": "uint256"
715
+ }
716
+ ],
717
+ "name": "setTotalSubmittedKnowledgeAssetsCount",
718
+ "outputs": [],
719
+ "stateMutability": "nonpayable",
720
+ "type": "function"
721
+ },
722
+ {
723
+ "inputs": [
724
+ {
725
+ "internalType": "address",
726
+ "name": "miner",
727
+ "type": "address"
728
+ },
729
+ {
730
+ "internalType": "uint96",
731
+ "name": "totalTracSpent",
732
+ "type": "uint96"
733
+ }
734
+ ],
735
+ "name": "setTotalTracSpent",
736
+ "outputs": [],
737
+ "stateMutability": "nonpayable",
738
+ "type": "function"
739
+ },
740
+ {
741
+ "inputs": [
742
+ {
743
+ "internalType": "address",
744
+ "name": "miner",
745
+ "type": "address"
746
+ },
747
+ {
748
+ "internalType": "bytes32",
749
+ "name": "paranetId",
750
+ "type": "bytes32"
751
+ },
752
+ {
753
+ "internalType": "uint96",
754
+ "name": "unrewardedTracSpent",
755
+ "type": "uint96"
756
+ }
757
+ ],
758
+ "name": "setUnrewardedTracSpent",
759
+ "outputs": [],
760
+ "stateMutability": "nonpayable",
761
+ "type": "function"
762
+ },
763
+ {
764
+ "inputs": [
765
+ {
766
+ "internalType": "address",
767
+ "name": "miner",
768
+ "type": "address"
769
+ },
770
+ {
771
+ "internalType": "bytes32",
772
+ "name": "paranetId",
773
+ "type": "bytes32"
774
+ },
775
+ {
776
+ "internalType": "bytes32",
777
+ "name": "knowledgeAssetStateId",
778
+ "type": "bytes32"
779
+ },
780
+ {
781
+ "internalType": "uint96",
782
+ "name": "updateTokenAmount",
783
+ "type": "uint96"
784
+ }
785
+ ],
786
+ "name": "setUpdatingKnowledgeAssetUpdateTokenAmount",
787
+ "outputs": [],
788
+ "stateMutability": "nonpayable",
789
+ "type": "function"
790
+ },
791
+ {
792
+ "inputs": [
793
+ {
794
+ "internalType": "address",
795
+ "name": "miner",
796
+ "type": "address"
797
+ },
798
+ {
799
+ "internalType": "bytes32",
800
+ "name": "paranetId",
801
+ "type": "bytes32"
802
+ },
803
+ {
804
+ "internalType": "uint256",
805
+ "name": "subtractedCumulativeAwardedNeuro",
806
+ "type": "uint256"
807
+ }
808
+ ],
809
+ "name": "subCumulativeAwardedNeuro",
810
+ "outputs": [],
811
+ "stateMutability": "nonpayable",
812
+ "type": "function"
813
+ },
814
+ {
815
+ "inputs": [
816
+ {
817
+ "internalType": "address",
818
+ "name": "miner",
819
+ "type": "address"
820
+ },
821
+ {
822
+ "internalType": "bytes32",
823
+ "name": "paranetId",
824
+ "type": "bytes32"
825
+ },
826
+ {
827
+ "internalType": "uint96",
828
+ "name": "subtractedTracSpent",
829
+ "type": "uint96"
830
+ }
831
+ ],
832
+ "name": "subCumulativeTracSpent",
833
+ "outputs": [],
834
+ "stateMutability": "nonpayable",
835
+ "type": "function"
836
+ },
837
+ {
838
+ "inputs": [
839
+ {
840
+ "internalType": "address",
841
+ "name": "miner",
842
+ "type": "address"
843
+ },
844
+ {
845
+ "internalType": "uint96",
846
+ "name": "subtractedTracSpent",
847
+ "type": "uint96"
848
+ }
849
+ ],
850
+ "name": "subTotalTracSpent",
851
+ "outputs": [],
852
+ "stateMutability": "nonpayable",
853
+ "type": "function"
854
+ },
855
+ {
856
+ "inputs": [
857
+ {
858
+ "internalType": "address",
859
+ "name": "miner",
860
+ "type": "address"
861
+ },
862
+ {
863
+ "internalType": "bytes32",
864
+ "name": "paranetId",
865
+ "type": "bytes32"
866
+ },
867
+ {
868
+ "internalType": "uint96",
869
+ "name": "subtractedUnrewardedTracSpent",
870
+ "type": "uint96"
871
+ }
872
+ ],
873
+ "name": "subUnrewardedTracSpent",
874
+ "outputs": [],
875
+ "stateMutability": "nonpayable",
876
+ "type": "function"
877
+ },
878
+ {
879
+ "inputs": [
880
+ {
881
+ "internalType": "address",
882
+ "name": "miner",
883
+ "type": "address"
884
+ },
885
+ {
886
+ "internalType": "bytes32",
887
+ "name": "paranetId",
888
+ "type": "bytes32"
889
+ },
890
+ {
891
+ "internalType": "bytes32",
892
+ "name": "knowledgeAssetStateId",
893
+ "type": "bytes32"
894
+ },
895
+ {
896
+ "internalType": "uint96",
897
+ "name": "subtractedUpdateTokenAmount",
898
+ "type": "uint96"
899
+ }
900
+ ],
901
+ "name": "subUpdatingKnowledgeAssetUpdateTokenAmount",
902
+ "outputs": [],
903
+ "stateMutability": "nonpayable",
904
+ "type": "function"
905
+ },
906
+ {
907
+ "inputs": [],
908
+ "name": "version",
909
+ "outputs": [
910
+ {
911
+ "internalType": "string",
912
+ "name": "",
913
+ "type": "string"
914
+ }
915
+ ],
916
+ "stateMutability": "pure",
917
+ "type": "function"
918
+ }
919
+ ]