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
@@ -1,745 +0,0 @@
|
|
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
|
-
"name": "ScoreError",
|
16
|
-
"type": "error"
|
17
|
-
},
|
18
|
-
{
|
19
|
-
"inputs": [
|
20
|
-
{
|
21
|
-
"internalType": "uint8",
|
22
|
-
"name": "scoreFunctionId",
|
23
|
-
"type": "uint8"
|
24
|
-
}
|
25
|
-
],
|
26
|
-
"name": "ScoreFunctionDoesntExist",
|
27
|
-
"type": "error"
|
28
|
-
},
|
29
|
-
{
|
30
|
-
"inputs": [
|
31
|
-
{
|
32
|
-
"internalType": "uint256",
|
33
|
-
"name": "amount",
|
34
|
-
"type": "uint256"
|
35
|
-
}
|
36
|
-
],
|
37
|
-
"name": "TooLowAllowance",
|
38
|
-
"type": "error"
|
39
|
-
},
|
40
|
-
{
|
41
|
-
"inputs": [
|
42
|
-
{
|
43
|
-
"internalType": "uint256",
|
44
|
-
"name": "amount",
|
45
|
-
"type": "uint256"
|
46
|
-
}
|
47
|
-
],
|
48
|
-
"name": "TooLowBalance",
|
49
|
-
"type": "error"
|
50
|
-
},
|
51
|
-
{
|
52
|
-
"inputs": [],
|
53
|
-
"name": "ZeroEpochsNumber",
|
54
|
-
"type": "error"
|
55
|
-
},
|
56
|
-
{
|
57
|
-
"inputs": [],
|
58
|
-
"name": "ZeroTokenAmount",
|
59
|
-
"type": "error"
|
60
|
-
},
|
61
|
-
{
|
62
|
-
"anonymous": false,
|
63
|
-
"inputs": [
|
64
|
-
{
|
65
|
-
"indexed": true,
|
66
|
-
"internalType": "address",
|
67
|
-
"name": "assetContract",
|
68
|
-
"type": "address"
|
69
|
-
},
|
70
|
-
{
|
71
|
-
"indexed": true,
|
72
|
-
"internalType": "uint256",
|
73
|
-
"name": "tokenId",
|
74
|
-
"type": "uint256"
|
75
|
-
},
|
76
|
-
{
|
77
|
-
"indexed": false,
|
78
|
-
"internalType": "bytes",
|
79
|
-
"name": "keyword",
|
80
|
-
"type": "bytes"
|
81
|
-
},
|
82
|
-
{
|
83
|
-
"indexed": false,
|
84
|
-
"internalType": "uint8",
|
85
|
-
"name": "hashFunctionId",
|
86
|
-
"type": "uint8"
|
87
|
-
},
|
88
|
-
{
|
89
|
-
"indexed": false,
|
90
|
-
"internalType": "uint256",
|
91
|
-
"name": "startTime",
|
92
|
-
"type": "uint256"
|
93
|
-
},
|
94
|
-
{
|
95
|
-
"indexed": false,
|
96
|
-
"internalType": "uint16",
|
97
|
-
"name": "epochsNumber",
|
98
|
-
"type": "uint16"
|
99
|
-
},
|
100
|
-
{
|
101
|
-
"indexed": false,
|
102
|
-
"internalType": "uint128",
|
103
|
-
"name": "epochLength",
|
104
|
-
"type": "uint128"
|
105
|
-
},
|
106
|
-
{
|
107
|
-
"indexed": false,
|
108
|
-
"internalType": "uint96",
|
109
|
-
"name": "tokenAmount",
|
110
|
-
"type": "uint96"
|
111
|
-
}
|
112
|
-
],
|
113
|
-
"name": "ServiceAgreementV1Created",
|
114
|
-
"type": "event"
|
115
|
-
},
|
116
|
-
{
|
117
|
-
"anonymous": false,
|
118
|
-
"inputs": [
|
119
|
-
{
|
120
|
-
"indexed": true,
|
121
|
-
"internalType": "bytes32",
|
122
|
-
"name": "agreementId",
|
123
|
-
"type": "bytes32"
|
124
|
-
},
|
125
|
-
{
|
126
|
-
"indexed": false,
|
127
|
-
"internalType": "uint16",
|
128
|
-
"name": "epochsNumber",
|
129
|
-
"type": "uint16"
|
130
|
-
}
|
131
|
-
],
|
132
|
-
"name": "ServiceAgreementV1Extended",
|
133
|
-
"type": "event"
|
134
|
-
},
|
135
|
-
{
|
136
|
-
"anonymous": false,
|
137
|
-
"inputs": [
|
138
|
-
{
|
139
|
-
"indexed": true,
|
140
|
-
"internalType": "bytes32",
|
141
|
-
"name": "agreementId",
|
142
|
-
"type": "bytes32"
|
143
|
-
},
|
144
|
-
{
|
145
|
-
"indexed": false,
|
146
|
-
"internalType": "uint96",
|
147
|
-
"name": "tokenAmount",
|
148
|
-
"type": "uint96"
|
149
|
-
}
|
150
|
-
],
|
151
|
-
"name": "ServiceAgreementV1RewardRaised",
|
152
|
-
"type": "event"
|
153
|
-
},
|
154
|
-
{
|
155
|
-
"anonymous": false,
|
156
|
-
"inputs": [
|
157
|
-
{
|
158
|
-
"indexed": true,
|
159
|
-
"internalType": "bytes32",
|
160
|
-
"name": "agreementId",
|
161
|
-
"type": "bytes32"
|
162
|
-
}
|
163
|
-
],
|
164
|
-
"name": "ServiceAgreementV1Terminated",
|
165
|
-
"type": "event"
|
166
|
-
},
|
167
|
-
{
|
168
|
-
"anonymous": false,
|
169
|
-
"inputs": [
|
170
|
-
{
|
171
|
-
"indexed": true,
|
172
|
-
"internalType": "bytes32",
|
173
|
-
"name": "agreementId",
|
174
|
-
"type": "bytes32"
|
175
|
-
},
|
176
|
-
{
|
177
|
-
"indexed": false,
|
178
|
-
"internalType": "uint96",
|
179
|
-
"name": "updateTokenAmount",
|
180
|
-
"type": "uint96"
|
181
|
-
}
|
182
|
-
],
|
183
|
-
"name": "ServiceAgreementV1UpdateRewardRaised",
|
184
|
-
"type": "event"
|
185
|
-
},
|
186
|
-
{
|
187
|
-
"inputs": [
|
188
|
-
{
|
189
|
-
"internalType": "address",
|
190
|
-
"name": "assetOwner",
|
191
|
-
"type": "address"
|
192
|
-
},
|
193
|
-
{
|
194
|
-
"internalType": "bytes32",
|
195
|
-
"name": "agreementId",
|
196
|
-
"type": "bytes32"
|
197
|
-
},
|
198
|
-
{
|
199
|
-
"internalType": "uint96",
|
200
|
-
"name": "tokenAmount",
|
201
|
-
"type": "uint96"
|
202
|
-
}
|
203
|
-
],
|
204
|
-
"name": "addTokens",
|
205
|
-
"outputs": [],
|
206
|
-
"stateMutability": "nonpayable",
|
207
|
-
"type": "function"
|
208
|
-
},
|
209
|
-
{
|
210
|
-
"inputs": [
|
211
|
-
{
|
212
|
-
"internalType": "address",
|
213
|
-
"name": "assetOwner",
|
214
|
-
"type": "address"
|
215
|
-
},
|
216
|
-
{
|
217
|
-
"internalType": "bytes32",
|
218
|
-
"name": "agreementId",
|
219
|
-
"type": "bytes32"
|
220
|
-
},
|
221
|
-
{
|
222
|
-
"internalType": "uint96",
|
223
|
-
"name": "tokenAmount",
|
224
|
-
"type": "uint96"
|
225
|
-
}
|
226
|
-
],
|
227
|
-
"name": "addUpdateTokens",
|
228
|
-
"outputs": [],
|
229
|
-
"stateMutability": "nonpayable",
|
230
|
-
"type": "function"
|
231
|
-
},
|
232
|
-
{
|
233
|
-
"inputs": [],
|
234
|
-
"name": "commitManagerV1",
|
235
|
-
"outputs": [
|
236
|
-
{
|
237
|
-
"internalType": "contract CommitManagerV1",
|
238
|
-
"name": "",
|
239
|
-
"type": "address"
|
240
|
-
}
|
241
|
-
],
|
242
|
-
"stateMutability": "view",
|
243
|
-
"type": "function"
|
244
|
-
},
|
245
|
-
{
|
246
|
-
"inputs": [],
|
247
|
-
"name": "commitManagerV1U1",
|
248
|
-
"outputs": [
|
249
|
-
{
|
250
|
-
"internalType": "contract CommitManagerV1U1",
|
251
|
-
"name": "",
|
252
|
-
"type": "address"
|
253
|
-
}
|
254
|
-
],
|
255
|
-
"stateMutability": "view",
|
256
|
-
"type": "function"
|
257
|
-
},
|
258
|
-
{
|
259
|
-
"inputs": [
|
260
|
-
{
|
261
|
-
"components": [
|
262
|
-
{
|
263
|
-
"internalType": "address",
|
264
|
-
"name": "assetCreator",
|
265
|
-
"type": "address"
|
266
|
-
},
|
267
|
-
{
|
268
|
-
"internalType": "address",
|
269
|
-
"name": "assetContract",
|
270
|
-
"type": "address"
|
271
|
-
},
|
272
|
-
{
|
273
|
-
"internalType": "uint256",
|
274
|
-
"name": "tokenId",
|
275
|
-
"type": "uint256"
|
276
|
-
},
|
277
|
-
{
|
278
|
-
"internalType": "bytes",
|
279
|
-
"name": "keyword",
|
280
|
-
"type": "bytes"
|
281
|
-
},
|
282
|
-
{
|
283
|
-
"internalType": "uint8",
|
284
|
-
"name": "hashFunctionId",
|
285
|
-
"type": "uint8"
|
286
|
-
},
|
287
|
-
{
|
288
|
-
"internalType": "uint16",
|
289
|
-
"name": "epochsNumber",
|
290
|
-
"type": "uint16"
|
291
|
-
},
|
292
|
-
{
|
293
|
-
"internalType": "uint96",
|
294
|
-
"name": "tokenAmount",
|
295
|
-
"type": "uint96"
|
296
|
-
},
|
297
|
-
{
|
298
|
-
"internalType": "uint8",
|
299
|
-
"name": "scoreFunctionId",
|
300
|
-
"type": "uint8"
|
301
|
-
}
|
302
|
-
],
|
303
|
-
"internalType": "struct ServiceAgreementStructsV1.ServiceAgreementInputArgs",
|
304
|
-
"name": "args",
|
305
|
-
"type": "tuple"
|
306
|
-
}
|
307
|
-
],
|
308
|
-
"name": "createServiceAgreement",
|
309
|
-
"outputs": [],
|
310
|
-
"stateMutability": "nonpayable",
|
311
|
-
"type": "function"
|
312
|
-
},
|
313
|
-
{
|
314
|
-
"inputs": [
|
315
|
-
{
|
316
|
-
"internalType": "address",
|
317
|
-
"name": "assetOwner",
|
318
|
-
"type": "address"
|
319
|
-
},
|
320
|
-
{
|
321
|
-
"internalType": "bytes32",
|
322
|
-
"name": "agreementId",
|
323
|
-
"type": "bytes32"
|
324
|
-
},
|
325
|
-
{
|
326
|
-
"internalType": "uint16",
|
327
|
-
"name": "epochsNumber",
|
328
|
-
"type": "uint16"
|
329
|
-
},
|
330
|
-
{
|
331
|
-
"internalType": "uint96",
|
332
|
-
"name": "tokenAmount",
|
333
|
-
"type": "uint96"
|
334
|
-
}
|
335
|
-
],
|
336
|
-
"name": "extendStoringPeriod",
|
337
|
-
"outputs": [],
|
338
|
-
"stateMutability": "nonpayable",
|
339
|
-
"type": "function"
|
340
|
-
},
|
341
|
-
{
|
342
|
-
"inputs": [
|
343
|
-
{
|
344
|
-
"internalType": "address",
|
345
|
-
"name": "sender",
|
346
|
-
"type": "address"
|
347
|
-
},
|
348
|
-
{
|
349
|
-
"internalType": "address",
|
350
|
-
"name": "assetContract",
|
351
|
-
"type": "address"
|
352
|
-
},
|
353
|
-
{
|
354
|
-
"internalType": "uint256",
|
355
|
-
"name": "tokenId",
|
356
|
-
"type": "uint256"
|
357
|
-
},
|
358
|
-
{
|
359
|
-
"internalType": "uint16",
|
360
|
-
"name": "epoch",
|
361
|
-
"type": "uint16"
|
362
|
-
}
|
363
|
-
],
|
364
|
-
"name": "getChallenge",
|
365
|
-
"outputs": [
|
366
|
-
{
|
367
|
-
"internalType": "bytes32",
|
368
|
-
"name": "assertionId",
|
369
|
-
"type": "bytes32"
|
370
|
-
},
|
371
|
-
{
|
372
|
-
"internalType": "uint256",
|
373
|
-
"name": "challenge",
|
374
|
-
"type": "uint256"
|
375
|
-
}
|
376
|
-
],
|
377
|
-
"stateMutability": "view",
|
378
|
-
"type": "function"
|
379
|
-
},
|
380
|
-
{
|
381
|
-
"inputs": [
|
382
|
-
{
|
383
|
-
"internalType": "bytes32",
|
384
|
-
"name": "agreementId",
|
385
|
-
"type": "bytes32"
|
386
|
-
},
|
387
|
-
{
|
388
|
-
"internalType": "uint16",
|
389
|
-
"name": "epoch",
|
390
|
-
"type": "uint16"
|
391
|
-
}
|
392
|
-
],
|
393
|
-
"name": "getTopCommitSubmissions",
|
394
|
-
"outputs": [
|
395
|
-
{
|
396
|
-
"components": [
|
397
|
-
{
|
398
|
-
"internalType": "uint72",
|
399
|
-
"name": "identityId",
|
400
|
-
"type": "uint72"
|
401
|
-
},
|
402
|
-
{
|
403
|
-
"internalType": "uint72",
|
404
|
-
"name": "prevIdentityId",
|
405
|
-
"type": "uint72"
|
406
|
-
},
|
407
|
-
{
|
408
|
-
"internalType": "uint72",
|
409
|
-
"name": "nextIdentityId",
|
410
|
-
"type": "uint72"
|
411
|
-
},
|
412
|
-
{
|
413
|
-
"internalType": "uint40",
|
414
|
-
"name": "score",
|
415
|
-
"type": "uint40"
|
416
|
-
}
|
417
|
-
],
|
418
|
-
"internalType": "struct ServiceAgreementStructsV1.CommitSubmission[]",
|
419
|
-
"name": "",
|
420
|
-
"type": "tuple[]"
|
421
|
-
}
|
422
|
-
],
|
423
|
-
"stateMutability": "view",
|
424
|
-
"type": "function"
|
425
|
-
},
|
426
|
-
{
|
427
|
-
"inputs": [],
|
428
|
-
"name": "hashingProxy",
|
429
|
-
"outputs": [
|
430
|
-
{
|
431
|
-
"internalType": "contract HashingProxy",
|
432
|
-
"name": "",
|
433
|
-
"type": "address"
|
434
|
-
}
|
435
|
-
],
|
436
|
-
"stateMutability": "view",
|
437
|
-
"type": "function"
|
438
|
-
},
|
439
|
-
{
|
440
|
-
"inputs": [],
|
441
|
-
"name": "hub",
|
442
|
-
"outputs": [
|
443
|
-
{
|
444
|
-
"internalType": "contract Hub",
|
445
|
-
"name": "",
|
446
|
-
"type": "address"
|
447
|
-
}
|
448
|
-
],
|
449
|
-
"stateMutability": "view",
|
450
|
-
"type": "function"
|
451
|
-
},
|
452
|
-
{
|
453
|
-
"inputs": [],
|
454
|
-
"name": "initialize",
|
455
|
-
"outputs": [],
|
456
|
-
"stateMutability": "nonpayable",
|
457
|
-
"type": "function"
|
458
|
-
},
|
459
|
-
{
|
460
|
-
"inputs": [
|
461
|
-
{
|
462
|
-
"internalType": "bytes32",
|
463
|
-
"name": "agreementId",
|
464
|
-
"type": "bytes32"
|
465
|
-
},
|
466
|
-
{
|
467
|
-
"internalType": "uint16",
|
468
|
-
"name": "epoch",
|
469
|
-
"type": "uint16"
|
470
|
-
}
|
471
|
-
],
|
472
|
-
"name": "isCommitWindowOpen",
|
473
|
-
"outputs": [
|
474
|
-
{
|
475
|
-
"internalType": "bool",
|
476
|
-
"name": "",
|
477
|
-
"type": "bool"
|
478
|
-
}
|
479
|
-
],
|
480
|
-
"stateMutability": "view",
|
481
|
-
"type": "function"
|
482
|
-
},
|
483
|
-
{
|
484
|
-
"inputs": [
|
485
|
-
{
|
486
|
-
"internalType": "bytes32",
|
487
|
-
"name": "agreementId",
|
488
|
-
"type": "bytes32"
|
489
|
-
},
|
490
|
-
{
|
491
|
-
"internalType": "uint16",
|
492
|
-
"name": "epoch",
|
493
|
-
"type": "uint16"
|
494
|
-
}
|
495
|
-
],
|
496
|
-
"name": "isProofWindowOpen",
|
497
|
-
"outputs": [
|
498
|
-
{
|
499
|
-
"internalType": "bool",
|
500
|
-
"name": "",
|
501
|
-
"type": "bool"
|
502
|
-
}
|
503
|
-
],
|
504
|
-
"stateMutability": "view",
|
505
|
-
"type": "function"
|
506
|
-
},
|
507
|
-
{
|
508
|
-
"inputs": [],
|
509
|
-
"name": "name",
|
510
|
-
"outputs": [
|
511
|
-
{
|
512
|
-
"internalType": "string",
|
513
|
-
"name": "",
|
514
|
-
"type": "string"
|
515
|
-
}
|
516
|
-
],
|
517
|
-
"stateMutability": "pure",
|
518
|
-
"type": "function"
|
519
|
-
},
|
520
|
-
{
|
521
|
-
"inputs": [],
|
522
|
-
"name": "parametersStorage",
|
523
|
-
"outputs": [
|
524
|
-
{
|
525
|
-
"internalType": "contract ParametersStorage",
|
526
|
-
"name": "",
|
527
|
-
"type": "address"
|
528
|
-
}
|
529
|
-
],
|
530
|
-
"stateMutability": "view",
|
531
|
-
"type": "function"
|
532
|
-
},
|
533
|
-
{
|
534
|
-
"inputs": [],
|
535
|
-
"name": "proofManagerV1",
|
536
|
-
"outputs": [
|
537
|
-
{
|
538
|
-
"internalType": "contract ProofManagerV1",
|
539
|
-
"name": "",
|
540
|
-
"type": "address"
|
541
|
-
}
|
542
|
-
],
|
543
|
-
"stateMutability": "view",
|
544
|
-
"type": "function"
|
545
|
-
},
|
546
|
-
{
|
547
|
-
"inputs": [],
|
548
|
-
"name": "proofManagerV1U1",
|
549
|
-
"outputs": [
|
550
|
-
{
|
551
|
-
"internalType": "contract ProofManagerV1U1",
|
552
|
-
"name": "",
|
553
|
-
"type": "address"
|
554
|
-
}
|
555
|
-
],
|
556
|
-
"stateMutability": "view",
|
557
|
-
"type": "function"
|
558
|
-
},
|
559
|
-
{
|
560
|
-
"inputs": [],
|
561
|
-
"name": "scoringProxy",
|
562
|
-
"outputs": [
|
563
|
-
{
|
564
|
-
"internalType": "contract ScoringProxy",
|
565
|
-
"name": "",
|
566
|
-
"type": "address"
|
567
|
-
}
|
568
|
-
],
|
569
|
-
"stateMutability": "view",
|
570
|
-
"type": "function"
|
571
|
-
},
|
572
|
-
{
|
573
|
-
"inputs": [
|
574
|
-
{
|
575
|
-
"components": [
|
576
|
-
{
|
577
|
-
"internalType": "address",
|
578
|
-
"name": "assetContract",
|
579
|
-
"type": "address"
|
580
|
-
},
|
581
|
-
{
|
582
|
-
"internalType": "uint256",
|
583
|
-
"name": "tokenId",
|
584
|
-
"type": "uint256"
|
585
|
-
},
|
586
|
-
{
|
587
|
-
"internalType": "bytes",
|
588
|
-
"name": "keyword",
|
589
|
-
"type": "bytes"
|
590
|
-
},
|
591
|
-
{
|
592
|
-
"internalType": "uint8",
|
593
|
-
"name": "hashFunctionId",
|
594
|
-
"type": "uint8"
|
595
|
-
},
|
596
|
-
{
|
597
|
-
"internalType": "uint16",
|
598
|
-
"name": "epoch",
|
599
|
-
"type": "uint16"
|
600
|
-
},
|
601
|
-
{
|
602
|
-
"internalType": "bytes32[]",
|
603
|
-
"name": "proof",
|
604
|
-
"type": "bytes32[]"
|
605
|
-
},
|
606
|
-
{
|
607
|
-
"internalType": "bytes32",
|
608
|
-
"name": "chunkHash",
|
609
|
-
"type": "bytes32"
|
610
|
-
}
|
611
|
-
],
|
612
|
-
"internalType": "struct ServiceAgreementStructsV1.ProofInputArgs",
|
613
|
-
"name": "args",
|
614
|
-
"type": "tuple"
|
615
|
-
}
|
616
|
-
],
|
617
|
-
"name": "sendProof",
|
618
|
-
"outputs": [],
|
619
|
-
"stateMutability": "nonpayable",
|
620
|
-
"type": "function"
|
621
|
-
},
|
622
|
-
{
|
623
|
-
"inputs": [],
|
624
|
-
"name": "serviceAgreementStorageProxy",
|
625
|
-
"outputs": [
|
626
|
-
{
|
627
|
-
"internalType": "contract ServiceAgreementStorageProxy",
|
628
|
-
"name": "",
|
629
|
-
"type": "address"
|
630
|
-
}
|
631
|
-
],
|
632
|
-
"stateMutability": "view",
|
633
|
-
"type": "function"
|
634
|
-
},
|
635
|
-
{
|
636
|
-
"inputs": [
|
637
|
-
{
|
638
|
-
"internalType": "bool",
|
639
|
-
"name": "_status",
|
640
|
-
"type": "bool"
|
641
|
-
}
|
642
|
-
],
|
643
|
-
"name": "setStatus",
|
644
|
-
"outputs": [],
|
645
|
-
"stateMutability": "nonpayable",
|
646
|
-
"type": "function"
|
647
|
-
},
|
648
|
-
{
|
649
|
-
"inputs": [],
|
650
|
-
"name": "status",
|
651
|
-
"outputs": [
|
652
|
-
{
|
653
|
-
"internalType": "bool",
|
654
|
-
"name": "",
|
655
|
-
"type": "bool"
|
656
|
-
}
|
657
|
-
],
|
658
|
-
"stateMutability": "view",
|
659
|
-
"type": "function"
|
660
|
-
},
|
661
|
-
{
|
662
|
-
"inputs": [
|
663
|
-
{
|
664
|
-
"components": [
|
665
|
-
{
|
666
|
-
"internalType": "address",
|
667
|
-
"name": "assetContract",
|
668
|
-
"type": "address"
|
669
|
-
},
|
670
|
-
{
|
671
|
-
"internalType": "uint256",
|
672
|
-
"name": "tokenId",
|
673
|
-
"type": "uint256"
|
674
|
-
},
|
675
|
-
{
|
676
|
-
"internalType": "bytes",
|
677
|
-
"name": "keyword",
|
678
|
-
"type": "bytes"
|
679
|
-
},
|
680
|
-
{
|
681
|
-
"internalType": "uint8",
|
682
|
-
"name": "hashFunctionId",
|
683
|
-
"type": "uint8"
|
684
|
-
},
|
685
|
-
{
|
686
|
-
"internalType": "uint16",
|
687
|
-
"name": "epoch",
|
688
|
-
"type": "uint16"
|
689
|
-
}
|
690
|
-
],
|
691
|
-
"internalType": "struct ServiceAgreementStructsV1.CommitInputArgs",
|
692
|
-
"name": "args",
|
693
|
-
"type": "tuple"
|
694
|
-
}
|
695
|
-
],
|
696
|
-
"name": "submitCommit",
|
697
|
-
"outputs": [],
|
698
|
-
"stateMutability": "nonpayable",
|
699
|
-
"type": "function"
|
700
|
-
},
|
701
|
-
{
|
702
|
-
"inputs": [
|
703
|
-
{
|
704
|
-
"internalType": "address",
|
705
|
-
"name": "assetOwner",
|
706
|
-
"type": "address"
|
707
|
-
},
|
708
|
-
{
|
709
|
-
"internalType": "bytes32",
|
710
|
-
"name": "agreementId",
|
711
|
-
"type": "bytes32"
|
712
|
-
}
|
713
|
-
],
|
714
|
-
"name": "terminateAgreement",
|
715
|
-
"outputs": [],
|
716
|
-
"stateMutability": "nonpayable",
|
717
|
-
"type": "function"
|
718
|
-
},
|
719
|
-
{
|
720
|
-
"inputs": [],
|
721
|
-
"name": "tokenContract",
|
722
|
-
"outputs": [
|
723
|
-
{
|
724
|
-
"internalType": "contract IERC20",
|
725
|
-
"name": "",
|
726
|
-
"type": "address"
|
727
|
-
}
|
728
|
-
],
|
729
|
-
"stateMutability": "view",
|
730
|
-
"type": "function"
|
731
|
-
},
|
732
|
-
{
|
733
|
-
"inputs": [],
|
734
|
-
"name": "version",
|
735
|
-
"outputs": [
|
736
|
-
{
|
737
|
-
"internalType": "string",
|
738
|
-
"name": "",
|
739
|
-
"type": "string"
|
740
|
-
}
|
741
|
-
],
|
742
|
-
"stateMutability": "pure",
|
743
|
-
"type": "function"
|
744
|
-
}
|
745
|
-
]
|