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.
- dkg/asset.py +106 -28
- dkg/constants.py +13 -9
- dkg/data/interfaces/ContentAsset.json +133 -3
- dkg/data/interfaces/Paranet.json +821 -0
- dkg/data/interfaces/{Identity.json → ParanetIncentivesPoolFactory.json} +67 -86
- dkg/data/interfaces/ParanetKnowledgeMinersRegistry.json +919 -0
- dkg/data/interfaces/ParanetNeurowebIncentivesPool.json +1102 -0
- dkg/data/interfaces/{ServiceAgreementStorageV1.json → ParanetsRegistry.json} +331 -360
- dkg/dataclasses.py +28 -8
- dkg/main.py +6 -3
- dkg/method.py +55 -39
- dkg/module.py +1 -0
- dkg/network.py +20 -10
- dkg/paranet.py +477 -0
- dkg/providers/blockchain.py +57 -26
- dkg/types/__init__.py +1 -0
- dkg/types/general.py +44 -0
- dkg/utils/blockchain_request.py +149 -4
- dkg/utils/node_request.py +77 -80
- {dkg-0.1.0b6.dist-info → dkg-1.0.0.dist-info}/METADATA +3 -141
- dkg-1.0.0.dist-info/NOTICE +9 -0
- dkg-1.0.0.dist-info/RECORD +52 -0
- {dkg-0.1.0b6.dist-info → dkg-1.0.0.dist-info}/WHEEL +1 -1
- dkg/data/interfaces/Assertion.json +0 -157
- dkg/data/interfaces/CommitManagerV1.json +0 -549
- dkg/data/interfaces/CommitManagerV1U1.json +0 -735
- dkg/data/interfaces/HashingProxy.json +0 -253
- dkg/data/interfaces/IdentityStorage.json +0 -342
- dkg/data/interfaces/ParametersStorage.json +0 -487
- dkg/data/interfaces/Profile.json +0 -318
- dkg/data/interfaces/ProfileStorage.json +0 -596
- dkg/data/interfaces/ProofManagerV1.json +0 -540
- dkg/data/interfaces/ProofManagerV1U1.json +0 -561
- dkg/data/interfaces/ScoringProxy.json +0 -268
- dkg/data/interfaces/ServiceAgreementStorageV1U1.json +0 -1097
- dkg/data/interfaces/ServiceAgreementV1.json +0 -745
- dkg/data/interfaces/ShardingTable.json +0 -294
- dkg/data/interfaces/ShardingTableStorage.json +0 -317
- dkg/data/interfaces/Staking.json +0 -482
- dkg/data/interfaces/StakingStorage.json +0 -407
- dkg/data/interfaces/WhitelistStorage.json +0 -124
- dkg-0.1.0b6.dist-info/RECORD +0 -64
- {dkg-0.1.0b6.dist-info → dkg-1.0.0.dist-info}/LICENSE +0 -0
@@ -0,0 +1,1102 @@
|
|
1
|
+
[
|
2
|
+
{
|
3
|
+
"inputs": [
|
4
|
+
{
|
5
|
+
"internalType": "address",
|
6
|
+
"name": "hubAddress",
|
7
|
+
"type": "address"
|
8
|
+
},
|
9
|
+
{
|
10
|
+
"internalType": "address",
|
11
|
+
"name": "paranetsRegistryAddress",
|
12
|
+
"type": "address"
|
13
|
+
},
|
14
|
+
{
|
15
|
+
"internalType": "address",
|
16
|
+
"name": "knowledgeMinersRegistryAddress",
|
17
|
+
"type": "address"
|
18
|
+
},
|
19
|
+
{
|
20
|
+
"internalType": "bytes32",
|
21
|
+
"name": "paranetId",
|
22
|
+
"type": "bytes32"
|
23
|
+
},
|
24
|
+
{
|
25
|
+
"internalType": "uint256",
|
26
|
+
"name": "tracToNeuroEmissionMultiplier",
|
27
|
+
"type": "uint256"
|
28
|
+
},
|
29
|
+
{
|
30
|
+
"internalType": "uint16",
|
31
|
+
"name": "paranetOperatorRewardPercentage_",
|
32
|
+
"type": "uint16"
|
33
|
+
},
|
34
|
+
{
|
35
|
+
"internalType": "uint16",
|
36
|
+
"name": "paranetIncentivizationProposalVotersRewardPercentage_",
|
37
|
+
"type": "uint16"
|
38
|
+
}
|
39
|
+
],
|
40
|
+
"stateMutability": "nonpayable",
|
41
|
+
"type": "constructor"
|
42
|
+
},
|
43
|
+
{
|
44
|
+
"inputs": [
|
45
|
+
{
|
46
|
+
"internalType": "bytes32",
|
47
|
+
"name": "paranetId",
|
48
|
+
"type": "bytes32"
|
49
|
+
},
|
50
|
+
{
|
51
|
+
"internalType": "uint96",
|
52
|
+
"name": "currentCumulativeWeight",
|
53
|
+
"type": "uint96"
|
54
|
+
},
|
55
|
+
{
|
56
|
+
"internalType": "uint96",
|
57
|
+
"name": "targetCumulativeWeight",
|
58
|
+
"type": "uint96"
|
59
|
+
}
|
60
|
+
],
|
61
|
+
"name": "InvalidCumulativeVotersWeight",
|
62
|
+
"type": "error"
|
63
|
+
},
|
64
|
+
{
|
65
|
+
"inputs": [
|
66
|
+
{
|
67
|
+
"internalType": "bytes32",
|
68
|
+
"name": "paranetId",
|
69
|
+
"type": "bytes32"
|
70
|
+
},
|
71
|
+
{
|
72
|
+
"internalType": "address",
|
73
|
+
"name": "claimer",
|
74
|
+
"type": "address"
|
75
|
+
}
|
76
|
+
],
|
77
|
+
"name": "NoRewardAvailable",
|
78
|
+
"type": "error"
|
79
|
+
},
|
80
|
+
{
|
81
|
+
"anonymous": false,
|
82
|
+
"inputs": [
|
83
|
+
{
|
84
|
+
"indexed": false,
|
85
|
+
"internalType": "uint256",
|
86
|
+
"name": "oldMultiplier",
|
87
|
+
"type": "uint256"
|
88
|
+
},
|
89
|
+
{
|
90
|
+
"indexed": false,
|
91
|
+
"internalType": "uint256",
|
92
|
+
"name": "newMultiplier",
|
93
|
+
"type": "uint256"
|
94
|
+
}
|
95
|
+
],
|
96
|
+
"name": "NeuroEmissionMultiplierUpdateFinalized",
|
97
|
+
"type": "event"
|
98
|
+
},
|
99
|
+
{
|
100
|
+
"anonymous": false,
|
101
|
+
"inputs": [
|
102
|
+
{
|
103
|
+
"indexed": false,
|
104
|
+
"internalType": "uint256",
|
105
|
+
"name": "oldMultiplier",
|
106
|
+
"type": "uint256"
|
107
|
+
},
|
108
|
+
{
|
109
|
+
"indexed": false,
|
110
|
+
"internalType": "uint256",
|
111
|
+
"name": "newMultiplier",
|
112
|
+
"type": "uint256"
|
113
|
+
},
|
114
|
+
{
|
115
|
+
"indexed": false,
|
116
|
+
"internalType": "uint256",
|
117
|
+
"name": "timestamp",
|
118
|
+
"type": "uint256"
|
119
|
+
}
|
120
|
+
],
|
121
|
+
"name": "NeuroEmissionMultiplierUpdateInitiated",
|
122
|
+
"type": "event"
|
123
|
+
},
|
124
|
+
{
|
125
|
+
"anonymous": false,
|
126
|
+
"inputs": [
|
127
|
+
{
|
128
|
+
"indexed": true,
|
129
|
+
"internalType": "address",
|
130
|
+
"name": "sender",
|
131
|
+
"type": "address"
|
132
|
+
},
|
133
|
+
{
|
134
|
+
"indexed": false,
|
135
|
+
"internalType": "uint256",
|
136
|
+
"name": "amount",
|
137
|
+
"type": "uint256"
|
138
|
+
}
|
139
|
+
],
|
140
|
+
"name": "NeuroRewardDeposit",
|
141
|
+
"type": "event"
|
142
|
+
},
|
143
|
+
{
|
144
|
+
"anonymous": false,
|
145
|
+
"inputs": [
|
146
|
+
{
|
147
|
+
"indexed": true,
|
148
|
+
"internalType": "address",
|
149
|
+
"name": "voter",
|
150
|
+
"type": "address"
|
151
|
+
},
|
152
|
+
{
|
153
|
+
"indexed": false,
|
154
|
+
"internalType": "uint256",
|
155
|
+
"name": "amount",
|
156
|
+
"type": "uint256"
|
157
|
+
}
|
158
|
+
],
|
159
|
+
"name": "ParanetIncentivizationProposalVoterRewardClaimed",
|
160
|
+
"type": "event"
|
161
|
+
},
|
162
|
+
{
|
163
|
+
"anonymous": false,
|
164
|
+
"inputs": [
|
165
|
+
{
|
166
|
+
"indexed": true,
|
167
|
+
"internalType": "address",
|
168
|
+
"name": "miner",
|
169
|
+
"type": "address"
|
170
|
+
},
|
171
|
+
{
|
172
|
+
"indexed": false,
|
173
|
+
"internalType": "uint256",
|
174
|
+
"name": "amount",
|
175
|
+
"type": "uint256"
|
176
|
+
}
|
177
|
+
],
|
178
|
+
"name": "ParanetKnowledgeMinerRewardClaimed",
|
179
|
+
"type": "event"
|
180
|
+
},
|
181
|
+
{
|
182
|
+
"anonymous": false,
|
183
|
+
"inputs": [
|
184
|
+
{
|
185
|
+
"indexed": true,
|
186
|
+
"internalType": "address",
|
187
|
+
"name": "operator",
|
188
|
+
"type": "address"
|
189
|
+
},
|
190
|
+
{
|
191
|
+
"indexed": false,
|
192
|
+
"internalType": "uint256",
|
193
|
+
"name": "amount",
|
194
|
+
"type": "uint256"
|
195
|
+
}
|
196
|
+
],
|
197
|
+
"name": "ParanetOperatorRewardClaimed",
|
198
|
+
"type": "event"
|
199
|
+
},
|
200
|
+
{
|
201
|
+
"inputs": [
|
202
|
+
{
|
203
|
+
"components": [
|
204
|
+
{
|
205
|
+
"internalType": "address",
|
206
|
+
"name": "addr",
|
207
|
+
"type": "address"
|
208
|
+
},
|
209
|
+
{
|
210
|
+
"internalType": "uint96",
|
211
|
+
"name": "weight",
|
212
|
+
"type": "uint96"
|
213
|
+
}
|
214
|
+
],
|
215
|
+
"internalType": "struct ParanetStructs.ParanetIncentivizationProposalVoterInput[]",
|
216
|
+
"name": "voters_",
|
217
|
+
"type": "tuple[]"
|
218
|
+
}
|
219
|
+
],
|
220
|
+
"name": "addVoters",
|
221
|
+
"outputs": [],
|
222
|
+
"stateMutability": "nonpayable",
|
223
|
+
"type": "function"
|
224
|
+
},
|
225
|
+
{
|
226
|
+
"inputs": [],
|
227
|
+
"name": "claimIncentivizationProposalVoterReward",
|
228
|
+
"outputs": [],
|
229
|
+
"stateMutability": "nonpayable",
|
230
|
+
"type": "function"
|
231
|
+
},
|
232
|
+
{
|
233
|
+
"inputs": [],
|
234
|
+
"name": "claimKnowledgeMinerReward",
|
235
|
+
"outputs": [],
|
236
|
+
"stateMutability": "nonpayable",
|
237
|
+
"type": "function"
|
238
|
+
},
|
239
|
+
{
|
240
|
+
"inputs": [],
|
241
|
+
"name": "claimParanetOperatorReward",
|
242
|
+
"outputs": [],
|
243
|
+
"stateMutability": "nonpayable",
|
244
|
+
"type": "function"
|
245
|
+
},
|
246
|
+
{
|
247
|
+
"inputs": [
|
248
|
+
{
|
249
|
+
"internalType": "uint256",
|
250
|
+
"name": "",
|
251
|
+
"type": "uint256"
|
252
|
+
}
|
253
|
+
],
|
254
|
+
"name": "claimedMinerRewards",
|
255
|
+
"outputs": [
|
256
|
+
{
|
257
|
+
"internalType": "address",
|
258
|
+
"name": "addr",
|
259
|
+
"type": "address"
|
260
|
+
},
|
261
|
+
{
|
262
|
+
"internalType": "uint256",
|
263
|
+
"name": "claimedNeuro",
|
264
|
+
"type": "uint256"
|
265
|
+
}
|
266
|
+
],
|
267
|
+
"stateMutability": "view",
|
268
|
+
"type": "function"
|
269
|
+
},
|
270
|
+
{
|
271
|
+
"inputs": [
|
272
|
+
{
|
273
|
+
"internalType": "address",
|
274
|
+
"name": "",
|
275
|
+
"type": "address"
|
276
|
+
}
|
277
|
+
],
|
278
|
+
"name": "claimedMinerRewardsIndexes",
|
279
|
+
"outputs": [
|
280
|
+
{
|
281
|
+
"internalType": "uint256",
|
282
|
+
"name": "",
|
283
|
+
"type": "uint256"
|
284
|
+
}
|
285
|
+
],
|
286
|
+
"stateMutability": "view",
|
287
|
+
"type": "function"
|
288
|
+
},
|
289
|
+
{
|
290
|
+
"inputs": [
|
291
|
+
{
|
292
|
+
"internalType": "uint256",
|
293
|
+
"name": "",
|
294
|
+
"type": "uint256"
|
295
|
+
}
|
296
|
+
],
|
297
|
+
"name": "claimedOperatorRewards",
|
298
|
+
"outputs": [
|
299
|
+
{
|
300
|
+
"internalType": "address",
|
301
|
+
"name": "addr",
|
302
|
+
"type": "address"
|
303
|
+
},
|
304
|
+
{
|
305
|
+
"internalType": "uint256",
|
306
|
+
"name": "claimedNeuro",
|
307
|
+
"type": "uint256"
|
308
|
+
}
|
309
|
+
],
|
310
|
+
"stateMutability": "view",
|
311
|
+
"type": "function"
|
312
|
+
},
|
313
|
+
{
|
314
|
+
"inputs": [
|
315
|
+
{
|
316
|
+
"internalType": "address",
|
317
|
+
"name": "",
|
318
|
+
"type": "address"
|
319
|
+
}
|
320
|
+
],
|
321
|
+
"name": "claimedOperatorRewardsIndexes",
|
322
|
+
"outputs": [
|
323
|
+
{
|
324
|
+
"internalType": "uint256",
|
325
|
+
"name": "",
|
326
|
+
"type": "uint256"
|
327
|
+
}
|
328
|
+
],
|
329
|
+
"stateMutability": "view",
|
330
|
+
"type": "function"
|
331
|
+
},
|
332
|
+
{
|
333
|
+
"inputs": [],
|
334
|
+
"name": "cumulativeVotersWeight",
|
335
|
+
"outputs": [
|
336
|
+
{
|
337
|
+
"internalType": "uint16",
|
338
|
+
"name": "",
|
339
|
+
"type": "uint16"
|
340
|
+
}
|
341
|
+
],
|
342
|
+
"stateMutability": "view",
|
343
|
+
"type": "function"
|
344
|
+
},
|
345
|
+
{
|
346
|
+
"inputs": [],
|
347
|
+
"name": "finalizeNeuroEmissionMultiplierUpdate",
|
348
|
+
"outputs": [],
|
349
|
+
"stateMutability": "nonpayable",
|
350
|
+
"type": "function"
|
351
|
+
},
|
352
|
+
{
|
353
|
+
"inputs": [],
|
354
|
+
"name": "getAllRewardedMiners",
|
355
|
+
"outputs": [
|
356
|
+
{
|
357
|
+
"components": [
|
358
|
+
{
|
359
|
+
"internalType": "address",
|
360
|
+
"name": "addr",
|
361
|
+
"type": "address"
|
362
|
+
},
|
363
|
+
{
|
364
|
+
"internalType": "uint256",
|
365
|
+
"name": "claimedNeuro",
|
366
|
+
"type": "uint256"
|
367
|
+
}
|
368
|
+
],
|
369
|
+
"internalType": "struct ParanetStructs.ParanetIncentivesPoolClaimedRewardsProfile[]",
|
370
|
+
"name": "",
|
371
|
+
"type": "tuple[]"
|
372
|
+
}
|
373
|
+
],
|
374
|
+
"stateMutability": "view",
|
375
|
+
"type": "function"
|
376
|
+
},
|
377
|
+
{
|
378
|
+
"inputs": [],
|
379
|
+
"name": "getAllRewardedOperators",
|
380
|
+
"outputs": [
|
381
|
+
{
|
382
|
+
"components": [
|
383
|
+
{
|
384
|
+
"internalType": "address",
|
385
|
+
"name": "addr",
|
386
|
+
"type": "address"
|
387
|
+
},
|
388
|
+
{
|
389
|
+
"internalType": "uint256",
|
390
|
+
"name": "claimedNeuro",
|
391
|
+
"type": "uint256"
|
392
|
+
}
|
393
|
+
],
|
394
|
+
"internalType": "struct ParanetStructs.ParanetIncentivesPoolClaimedRewardsProfile[]",
|
395
|
+
"name": "",
|
396
|
+
"type": "tuple[]"
|
397
|
+
}
|
398
|
+
],
|
399
|
+
"stateMutability": "view",
|
400
|
+
"type": "function"
|
401
|
+
},
|
402
|
+
{
|
403
|
+
"inputs": [],
|
404
|
+
"name": "getClaimableAllKnowledgeMinersRewardAmount",
|
405
|
+
"outputs": [
|
406
|
+
{
|
407
|
+
"internalType": "uint256",
|
408
|
+
"name": "",
|
409
|
+
"type": "uint256"
|
410
|
+
}
|
411
|
+
],
|
412
|
+
"stateMutability": "view",
|
413
|
+
"type": "function"
|
414
|
+
},
|
415
|
+
{
|
416
|
+
"inputs": [],
|
417
|
+
"name": "getClaimableAllProposalVotersRewardAmount",
|
418
|
+
"outputs": [
|
419
|
+
{
|
420
|
+
"internalType": "uint256",
|
421
|
+
"name": "",
|
422
|
+
"type": "uint256"
|
423
|
+
}
|
424
|
+
],
|
425
|
+
"stateMutability": "view",
|
426
|
+
"type": "function"
|
427
|
+
},
|
428
|
+
{
|
429
|
+
"inputs": [],
|
430
|
+
"name": "getClaimableKnowledgeMinerRewardAmount",
|
431
|
+
"outputs": [
|
432
|
+
{
|
433
|
+
"internalType": "uint256",
|
434
|
+
"name": "",
|
435
|
+
"type": "uint256"
|
436
|
+
}
|
437
|
+
],
|
438
|
+
"stateMutability": "view",
|
439
|
+
"type": "function"
|
440
|
+
},
|
441
|
+
{
|
442
|
+
"inputs": [],
|
443
|
+
"name": "getClaimableParanetOperatorRewardAmount",
|
444
|
+
"outputs": [
|
445
|
+
{
|
446
|
+
"internalType": "uint256",
|
447
|
+
"name": "",
|
448
|
+
"type": "uint256"
|
449
|
+
}
|
450
|
+
],
|
451
|
+
"stateMutability": "view",
|
452
|
+
"type": "function"
|
453
|
+
},
|
454
|
+
{
|
455
|
+
"inputs": [],
|
456
|
+
"name": "getClaimableProposalVoterRewardAmount",
|
457
|
+
"outputs": [
|
458
|
+
{
|
459
|
+
"internalType": "uint256",
|
460
|
+
"name": "",
|
461
|
+
"type": "uint256"
|
462
|
+
}
|
463
|
+
],
|
464
|
+
"stateMutability": "view",
|
465
|
+
"type": "function"
|
466
|
+
},
|
467
|
+
{
|
468
|
+
"inputs": [
|
469
|
+
{
|
470
|
+
"internalType": "uint256",
|
471
|
+
"name": "timestamp",
|
472
|
+
"type": "uint256"
|
473
|
+
}
|
474
|
+
],
|
475
|
+
"name": "getEffectiveNeuroEmissionMultiplier",
|
476
|
+
"outputs": [
|
477
|
+
{
|
478
|
+
"internalType": "uint256",
|
479
|
+
"name": "",
|
480
|
+
"type": "uint256"
|
481
|
+
}
|
482
|
+
],
|
483
|
+
"stateMutability": "view",
|
484
|
+
"type": "function"
|
485
|
+
},
|
486
|
+
{
|
487
|
+
"inputs": [],
|
488
|
+
"name": "getNeuroBalance",
|
489
|
+
"outputs": [
|
490
|
+
{
|
491
|
+
"internalType": "uint256",
|
492
|
+
"name": "",
|
493
|
+
"type": "uint256"
|
494
|
+
}
|
495
|
+
],
|
496
|
+
"stateMutability": "view",
|
497
|
+
"type": "function"
|
498
|
+
},
|
499
|
+
{
|
500
|
+
"inputs": [],
|
501
|
+
"name": "getNeuroEmissionMultipliers",
|
502
|
+
"outputs": [
|
503
|
+
{
|
504
|
+
"components": [
|
505
|
+
{
|
506
|
+
"internalType": "uint256",
|
507
|
+
"name": "multiplier",
|
508
|
+
"type": "uint256"
|
509
|
+
},
|
510
|
+
{
|
511
|
+
"internalType": "uint256",
|
512
|
+
"name": "timestamp",
|
513
|
+
"type": "uint256"
|
514
|
+
},
|
515
|
+
{
|
516
|
+
"internalType": "bool",
|
517
|
+
"name": "finalized",
|
518
|
+
"type": "bool"
|
519
|
+
}
|
520
|
+
],
|
521
|
+
"internalType": "struct ParanetStructs.NeuroEmissionMultiplier[]",
|
522
|
+
"name": "",
|
523
|
+
"type": "tuple[]"
|
524
|
+
}
|
525
|
+
],
|
526
|
+
"stateMutability": "view",
|
527
|
+
"type": "function"
|
528
|
+
},
|
529
|
+
{
|
530
|
+
"inputs": [],
|
531
|
+
"name": "getTotalAllKnowledgeMinersIncentiveEstimation",
|
532
|
+
"outputs": [
|
533
|
+
{
|
534
|
+
"internalType": "uint256",
|
535
|
+
"name": "",
|
536
|
+
"type": "uint256"
|
537
|
+
}
|
538
|
+
],
|
539
|
+
"stateMutability": "view",
|
540
|
+
"type": "function"
|
541
|
+
},
|
542
|
+
{
|
543
|
+
"inputs": [],
|
544
|
+
"name": "getTotalAllProposalVotersIncentiveEstimation",
|
545
|
+
"outputs": [
|
546
|
+
{
|
547
|
+
"internalType": "uint256",
|
548
|
+
"name": "",
|
549
|
+
"type": "uint256"
|
550
|
+
}
|
551
|
+
],
|
552
|
+
"stateMutability": "view",
|
553
|
+
"type": "function"
|
554
|
+
},
|
555
|
+
{
|
556
|
+
"inputs": [],
|
557
|
+
"name": "getTotalKnowledgeMinerIncentiveEstimation",
|
558
|
+
"outputs": [
|
559
|
+
{
|
560
|
+
"internalType": "uint256",
|
561
|
+
"name": "",
|
562
|
+
"type": "uint256"
|
563
|
+
}
|
564
|
+
],
|
565
|
+
"stateMutability": "view",
|
566
|
+
"type": "function"
|
567
|
+
},
|
568
|
+
{
|
569
|
+
"inputs": [],
|
570
|
+
"name": "getTotalParanetOperatorIncentiveEstimation",
|
571
|
+
"outputs": [
|
572
|
+
{
|
573
|
+
"internalType": "uint256",
|
574
|
+
"name": "",
|
575
|
+
"type": "uint256"
|
576
|
+
}
|
577
|
+
],
|
578
|
+
"stateMutability": "view",
|
579
|
+
"type": "function"
|
580
|
+
},
|
581
|
+
{
|
582
|
+
"inputs": [],
|
583
|
+
"name": "getTotalProposalVoterIncentiveEstimation",
|
584
|
+
"outputs": [
|
585
|
+
{
|
586
|
+
"internalType": "uint256",
|
587
|
+
"name": "",
|
588
|
+
"type": "uint256"
|
589
|
+
}
|
590
|
+
],
|
591
|
+
"stateMutability": "view",
|
592
|
+
"type": "function"
|
593
|
+
},
|
594
|
+
{
|
595
|
+
"inputs": [
|
596
|
+
{
|
597
|
+
"internalType": "address",
|
598
|
+
"name": "voterAddress",
|
599
|
+
"type": "address"
|
600
|
+
}
|
601
|
+
],
|
602
|
+
"name": "getVoter",
|
603
|
+
"outputs": [
|
604
|
+
{
|
605
|
+
"components": [
|
606
|
+
{
|
607
|
+
"internalType": "address",
|
608
|
+
"name": "addr",
|
609
|
+
"type": "address"
|
610
|
+
},
|
611
|
+
{
|
612
|
+
"internalType": "uint96",
|
613
|
+
"name": "weight",
|
614
|
+
"type": "uint96"
|
615
|
+
},
|
616
|
+
{
|
617
|
+
"internalType": "uint256",
|
618
|
+
"name": "claimedNeuro",
|
619
|
+
"type": "uint256"
|
620
|
+
}
|
621
|
+
],
|
622
|
+
"internalType": "struct ParanetStructs.ParanetIncentivizationProposalVoter",
|
623
|
+
"name": "",
|
624
|
+
"type": "tuple"
|
625
|
+
}
|
626
|
+
],
|
627
|
+
"stateMutability": "view",
|
628
|
+
"type": "function"
|
629
|
+
},
|
630
|
+
{
|
631
|
+
"inputs": [],
|
632
|
+
"name": "getVoters",
|
633
|
+
"outputs": [
|
634
|
+
{
|
635
|
+
"components": [
|
636
|
+
{
|
637
|
+
"internalType": "address",
|
638
|
+
"name": "addr",
|
639
|
+
"type": "address"
|
640
|
+
},
|
641
|
+
{
|
642
|
+
"internalType": "uint96",
|
643
|
+
"name": "weight",
|
644
|
+
"type": "uint96"
|
645
|
+
},
|
646
|
+
{
|
647
|
+
"internalType": "uint256",
|
648
|
+
"name": "claimedNeuro",
|
649
|
+
"type": "uint256"
|
650
|
+
}
|
651
|
+
],
|
652
|
+
"internalType": "struct ParanetStructs.ParanetIncentivizationProposalVoter[]",
|
653
|
+
"name": "",
|
654
|
+
"type": "tuple[]"
|
655
|
+
}
|
656
|
+
],
|
657
|
+
"stateMutability": "view",
|
658
|
+
"type": "function"
|
659
|
+
},
|
660
|
+
{
|
661
|
+
"inputs": [],
|
662
|
+
"name": "getVotersCount",
|
663
|
+
"outputs": [
|
664
|
+
{
|
665
|
+
"internalType": "uint256",
|
666
|
+
"name": "",
|
667
|
+
"type": "uint256"
|
668
|
+
}
|
669
|
+
],
|
670
|
+
"stateMutability": "view",
|
671
|
+
"type": "function"
|
672
|
+
},
|
673
|
+
{
|
674
|
+
"inputs": [],
|
675
|
+
"name": "hub",
|
676
|
+
"outputs": [
|
677
|
+
{
|
678
|
+
"internalType": "contract HubV2",
|
679
|
+
"name": "",
|
680
|
+
"type": "address"
|
681
|
+
}
|
682
|
+
],
|
683
|
+
"stateMutability": "view",
|
684
|
+
"type": "function"
|
685
|
+
},
|
686
|
+
{
|
687
|
+
"inputs": [
|
688
|
+
{
|
689
|
+
"internalType": "uint256",
|
690
|
+
"name": "newMultiplier",
|
691
|
+
"type": "uint256"
|
692
|
+
}
|
693
|
+
],
|
694
|
+
"name": "initiateNeuroEmissionMultiplierUpdate",
|
695
|
+
"outputs": [],
|
696
|
+
"stateMutability": "nonpayable",
|
697
|
+
"type": "function"
|
698
|
+
},
|
699
|
+
{
|
700
|
+
"inputs": [
|
701
|
+
{
|
702
|
+
"internalType": "address",
|
703
|
+
"name": "addr",
|
704
|
+
"type": "address"
|
705
|
+
}
|
706
|
+
],
|
707
|
+
"name": "isKnowledgeMiner",
|
708
|
+
"outputs": [
|
709
|
+
{
|
710
|
+
"internalType": "bool",
|
711
|
+
"name": "",
|
712
|
+
"type": "bool"
|
713
|
+
}
|
714
|
+
],
|
715
|
+
"stateMutability": "view",
|
716
|
+
"type": "function"
|
717
|
+
},
|
718
|
+
{
|
719
|
+
"inputs": [
|
720
|
+
{
|
721
|
+
"internalType": "address",
|
722
|
+
"name": "addr",
|
723
|
+
"type": "address"
|
724
|
+
}
|
725
|
+
],
|
726
|
+
"name": "isParanetOperator",
|
727
|
+
"outputs": [
|
728
|
+
{
|
729
|
+
"internalType": "bool",
|
730
|
+
"name": "",
|
731
|
+
"type": "bool"
|
732
|
+
}
|
733
|
+
],
|
734
|
+
"stateMutability": "view",
|
735
|
+
"type": "function"
|
736
|
+
},
|
737
|
+
{
|
738
|
+
"inputs": [
|
739
|
+
{
|
740
|
+
"internalType": "address",
|
741
|
+
"name": "addr",
|
742
|
+
"type": "address"
|
743
|
+
}
|
744
|
+
],
|
745
|
+
"name": "isProposalVoter",
|
746
|
+
"outputs": [
|
747
|
+
{
|
748
|
+
"internalType": "bool",
|
749
|
+
"name": "",
|
750
|
+
"type": "bool"
|
751
|
+
}
|
752
|
+
],
|
753
|
+
"stateMutability": "view",
|
754
|
+
"type": "function"
|
755
|
+
},
|
756
|
+
{
|
757
|
+
"inputs": [
|
758
|
+
{
|
759
|
+
"internalType": "address",
|
760
|
+
"name": "minerAddress",
|
761
|
+
"type": "address"
|
762
|
+
}
|
763
|
+
],
|
764
|
+
"name": "minerClaimedNeuro",
|
765
|
+
"outputs": [
|
766
|
+
{
|
767
|
+
"internalType": "uint256",
|
768
|
+
"name": "",
|
769
|
+
"type": "uint256"
|
770
|
+
}
|
771
|
+
],
|
772
|
+
"stateMutability": "view",
|
773
|
+
"type": "function"
|
774
|
+
},
|
775
|
+
{
|
776
|
+
"inputs": [],
|
777
|
+
"name": "name",
|
778
|
+
"outputs": [
|
779
|
+
{
|
780
|
+
"internalType": "string",
|
781
|
+
"name": "",
|
782
|
+
"type": "string"
|
783
|
+
}
|
784
|
+
],
|
785
|
+
"stateMutability": "pure",
|
786
|
+
"type": "function"
|
787
|
+
},
|
788
|
+
{
|
789
|
+
"inputs": [],
|
790
|
+
"name": "neuroEmissionMultiplierUpdateDelay",
|
791
|
+
"outputs": [
|
792
|
+
{
|
793
|
+
"internalType": "uint256",
|
794
|
+
"name": "",
|
795
|
+
"type": "uint256"
|
796
|
+
}
|
797
|
+
],
|
798
|
+
"stateMutability": "view",
|
799
|
+
"type": "function"
|
800
|
+
},
|
801
|
+
{
|
802
|
+
"inputs": [
|
803
|
+
{
|
804
|
+
"internalType": "uint256",
|
805
|
+
"name": "",
|
806
|
+
"type": "uint256"
|
807
|
+
}
|
808
|
+
],
|
809
|
+
"name": "neuroEmissionMultipliers",
|
810
|
+
"outputs": [
|
811
|
+
{
|
812
|
+
"internalType": "uint256",
|
813
|
+
"name": "multiplier",
|
814
|
+
"type": "uint256"
|
815
|
+
},
|
816
|
+
{
|
817
|
+
"internalType": "uint256",
|
818
|
+
"name": "timestamp",
|
819
|
+
"type": "uint256"
|
820
|
+
},
|
821
|
+
{
|
822
|
+
"internalType": "bool",
|
823
|
+
"name": "finalized",
|
824
|
+
"type": "bool"
|
825
|
+
}
|
826
|
+
],
|
827
|
+
"stateMutability": "view",
|
828
|
+
"type": "function"
|
829
|
+
},
|
830
|
+
{
|
831
|
+
"inputs": [
|
832
|
+
{
|
833
|
+
"internalType": "address",
|
834
|
+
"name": "operatorAddress",
|
835
|
+
"type": "address"
|
836
|
+
}
|
837
|
+
],
|
838
|
+
"name": "operatorClaimedNeuro",
|
839
|
+
"outputs": [
|
840
|
+
{
|
841
|
+
"internalType": "uint256",
|
842
|
+
"name": "",
|
843
|
+
"type": "uint256"
|
844
|
+
}
|
845
|
+
],
|
846
|
+
"stateMutability": "view",
|
847
|
+
"type": "function"
|
848
|
+
},
|
849
|
+
{
|
850
|
+
"inputs": [],
|
851
|
+
"name": "paranetIncentivizationProposalVotersRewardPercentage",
|
852
|
+
"outputs": [
|
853
|
+
{
|
854
|
+
"internalType": "uint16",
|
855
|
+
"name": "",
|
856
|
+
"type": "uint16"
|
857
|
+
}
|
858
|
+
],
|
859
|
+
"stateMutability": "view",
|
860
|
+
"type": "function"
|
861
|
+
},
|
862
|
+
{
|
863
|
+
"inputs": [],
|
864
|
+
"name": "paranetKnowledgeMinersRegistry",
|
865
|
+
"outputs": [
|
866
|
+
{
|
867
|
+
"internalType": "contract ParanetKnowledgeMinersRegistry",
|
868
|
+
"name": "",
|
869
|
+
"type": "address"
|
870
|
+
}
|
871
|
+
],
|
872
|
+
"stateMutability": "view",
|
873
|
+
"type": "function"
|
874
|
+
},
|
875
|
+
{
|
876
|
+
"inputs": [],
|
877
|
+
"name": "paranetOperatorRewardPercentage",
|
878
|
+
"outputs": [
|
879
|
+
{
|
880
|
+
"internalType": "uint16",
|
881
|
+
"name": "",
|
882
|
+
"type": "uint16"
|
883
|
+
}
|
884
|
+
],
|
885
|
+
"stateMutability": "view",
|
886
|
+
"type": "function"
|
887
|
+
},
|
888
|
+
{
|
889
|
+
"inputs": [],
|
890
|
+
"name": "paranetsRegistry",
|
891
|
+
"outputs": [
|
892
|
+
{
|
893
|
+
"internalType": "contract ParanetsRegistry",
|
894
|
+
"name": "",
|
895
|
+
"type": "address"
|
896
|
+
}
|
897
|
+
],
|
898
|
+
"stateMutability": "view",
|
899
|
+
"type": "function"
|
900
|
+
},
|
901
|
+
{
|
902
|
+
"inputs": [],
|
903
|
+
"name": "parentParanetId",
|
904
|
+
"outputs": [
|
905
|
+
{
|
906
|
+
"internalType": "bytes32",
|
907
|
+
"name": "",
|
908
|
+
"type": "bytes32"
|
909
|
+
}
|
910
|
+
],
|
911
|
+
"stateMutability": "view",
|
912
|
+
"type": "function"
|
913
|
+
},
|
914
|
+
{
|
915
|
+
"inputs": [
|
916
|
+
{
|
917
|
+
"internalType": "uint256",
|
918
|
+
"name": "limit",
|
919
|
+
"type": "uint256"
|
920
|
+
}
|
921
|
+
],
|
922
|
+
"name": "removeVoters",
|
923
|
+
"outputs": [],
|
924
|
+
"stateMutability": "nonpayable",
|
925
|
+
"type": "function"
|
926
|
+
},
|
927
|
+
{
|
928
|
+
"inputs": [],
|
929
|
+
"name": "totalMinersClaimedNeuro",
|
930
|
+
"outputs": [
|
931
|
+
{
|
932
|
+
"internalType": "uint256",
|
933
|
+
"name": "",
|
934
|
+
"type": "uint256"
|
935
|
+
}
|
936
|
+
],
|
937
|
+
"stateMutability": "view",
|
938
|
+
"type": "function"
|
939
|
+
},
|
940
|
+
{
|
941
|
+
"inputs": [],
|
942
|
+
"name": "totalNeuroReceived",
|
943
|
+
"outputs": [
|
944
|
+
{
|
945
|
+
"internalType": "uint256",
|
946
|
+
"name": "",
|
947
|
+
"type": "uint256"
|
948
|
+
}
|
949
|
+
],
|
950
|
+
"stateMutability": "view",
|
951
|
+
"type": "function"
|
952
|
+
},
|
953
|
+
{
|
954
|
+
"inputs": [],
|
955
|
+
"name": "totalOperatorsClaimedNeuro",
|
956
|
+
"outputs": [
|
957
|
+
{
|
958
|
+
"internalType": "uint256",
|
959
|
+
"name": "",
|
960
|
+
"type": "uint256"
|
961
|
+
}
|
962
|
+
],
|
963
|
+
"stateMutability": "view",
|
964
|
+
"type": "function"
|
965
|
+
},
|
966
|
+
{
|
967
|
+
"inputs": [],
|
968
|
+
"name": "totalVotersClaimedNeuro",
|
969
|
+
"outputs": [
|
970
|
+
{
|
971
|
+
"internalType": "uint256",
|
972
|
+
"name": "",
|
973
|
+
"type": "uint256"
|
974
|
+
}
|
975
|
+
],
|
976
|
+
"stateMutability": "view",
|
977
|
+
"type": "function"
|
978
|
+
},
|
979
|
+
{
|
980
|
+
"inputs": [
|
981
|
+
{
|
982
|
+
"internalType": "address",
|
983
|
+
"name": "newRegistrar",
|
984
|
+
"type": "address"
|
985
|
+
}
|
986
|
+
],
|
987
|
+
"name": "transferVotersRegistrarRole",
|
988
|
+
"outputs": [],
|
989
|
+
"stateMutability": "nonpayable",
|
990
|
+
"type": "function"
|
991
|
+
},
|
992
|
+
{
|
993
|
+
"inputs": [
|
994
|
+
{
|
995
|
+
"internalType": "uint256",
|
996
|
+
"name": "newDelay",
|
997
|
+
"type": "uint256"
|
998
|
+
}
|
999
|
+
],
|
1000
|
+
"name": "updateNeuroEmissionMultiplierUpdateDelay",
|
1001
|
+
"outputs": [],
|
1002
|
+
"stateMutability": "nonpayable",
|
1003
|
+
"type": "function"
|
1004
|
+
},
|
1005
|
+
{
|
1006
|
+
"inputs": [],
|
1007
|
+
"name": "version",
|
1008
|
+
"outputs": [
|
1009
|
+
{
|
1010
|
+
"internalType": "string",
|
1011
|
+
"name": "",
|
1012
|
+
"type": "string"
|
1013
|
+
}
|
1014
|
+
],
|
1015
|
+
"stateMutability": "pure",
|
1016
|
+
"type": "function"
|
1017
|
+
},
|
1018
|
+
{
|
1019
|
+
"inputs": [
|
1020
|
+
{
|
1021
|
+
"internalType": "address",
|
1022
|
+
"name": "voterAddress",
|
1023
|
+
"type": "address"
|
1024
|
+
}
|
1025
|
+
],
|
1026
|
+
"name": "voterClaimedNeuro",
|
1027
|
+
"outputs": [
|
1028
|
+
{
|
1029
|
+
"internalType": "uint256",
|
1030
|
+
"name": "",
|
1031
|
+
"type": "uint256"
|
1032
|
+
}
|
1033
|
+
],
|
1034
|
+
"stateMutability": "view",
|
1035
|
+
"type": "function"
|
1036
|
+
},
|
1037
|
+
{
|
1038
|
+
"inputs": [
|
1039
|
+
{
|
1040
|
+
"internalType": "uint256",
|
1041
|
+
"name": "",
|
1042
|
+
"type": "uint256"
|
1043
|
+
}
|
1044
|
+
],
|
1045
|
+
"name": "voters",
|
1046
|
+
"outputs": [
|
1047
|
+
{
|
1048
|
+
"internalType": "address",
|
1049
|
+
"name": "addr",
|
1050
|
+
"type": "address"
|
1051
|
+
},
|
1052
|
+
{
|
1053
|
+
"internalType": "uint96",
|
1054
|
+
"name": "weight",
|
1055
|
+
"type": "uint96"
|
1056
|
+
},
|
1057
|
+
{
|
1058
|
+
"internalType": "uint256",
|
1059
|
+
"name": "claimedNeuro",
|
1060
|
+
"type": "uint256"
|
1061
|
+
}
|
1062
|
+
],
|
1063
|
+
"stateMutability": "view",
|
1064
|
+
"type": "function"
|
1065
|
+
},
|
1066
|
+
{
|
1067
|
+
"inputs": [
|
1068
|
+
{
|
1069
|
+
"internalType": "address",
|
1070
|
+
"name": "",
|
1071
|
+
"type": "address"
|
1072
|
+
}
|
1073
|
+
],
|
1074
|
+
"name": "votersIndexes",
|
1075
|
+
"outputs": [
|
1076
|
+
{
|
1077
|
+
"internalType": "uint256",
|
1078
|
+
"name": "",
|
1079
|
+
"type": "uint256"
|
1080
|
+
}
|
1081
|
+
],
|
1082
|
+
"stateMutability": "view",
|
1083
|
+
"type": "function"
|
1084
|
+
},
|
1085
|
+
{
|
1086
|
+
"inputs": [],
|
1087
|
+
"name": "votersRegistrar",
|
1088
|
+
"outputs": [
|
1089
|
+
{
|
1090
|
+
"internalType": "address",
|
1091
|
+
"name": "",
|
1092
|
+
"type": "address"
|
1093
|
+
}
|
1094
|
+
],
|
1095
|
+
"stateMutability": "view",
|
1096
|
+
"type": "function"
|
1097
|
+
},
|
1098
|
+
{
|
1099
|
+
"stateMutability": "payable",
|
1100
|
+
"type": "receive"
|
1101
|
+
}
|
1102
|
+
]
|