@opendatalabs/vana-sdk 3.20.0 → 3.21.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/config/contracts.config.cjs +8 -3
- package/dist/config/contracts.config.cjs.map +1 -1
- package/dist/config/contracts.config.js +8 -3
- package/dist/config/contracts.config.js.map +1 -1
- package/dist/direct/access-request-client.cjs +100 -2
- package/dist/direct/access-request-client.cjs.map +1 -1
- package/dist/direct/access-request-client.d.ts +23 -1
- package/dist/direct/access-request-client.js +98 -1
- package/dist/direct/access-request-client.js.map +1 -1
- package/dist/direct/controller.cjs +4 -0
- package/dist/direct/controller.cjs.map +1 -1
- package/dist/direct/controller.d.ts +10 -1
- package/dist/direct/controller.js +6 -1
- package/dist/direct/controller.js.map +1 -1
- package/dist/direct/types.cjs.map +1 -1
- package/dist/direct/types.d.ts +45 -0
- package/dist/direct/types.js.map +1 -1
- package/dist/generated/abi/DataPortabilityPermissionsImplementation.cjs +146 -512
- package/dist/generated/abi/DataPortabilityPermissionsImplementation.cjs.map +1 -1
- package/dist/generated/abi/DataPortabilityPermissionsImplementation.d.ts +136 -412
- package/dist/generated/abi/DataPortabilityPermissionsImplementation.js +146 -512
- package/dist/generated/abi/DataPortabilityPermissionsImplementation.js.map +1 -1
- package/dist/generated/abi/DataPortabilityServersImplementation.cjs +391 -654
- package/dist/generated/abi/DataPortabilityServersImplementation.cjs.map +1 -1
- package/dist/generated/abi/DataPortabilityServersImplementation.d.ts +302 -505
- package/dist/generated/abi/DataPortabilityServersImplementation.js +391 -654
- package/dist/generated/abi/DataPortabilityServersImplementation.js.map +1 -1
- package/dist/generated/abi/index.d.ts +433 -912
- package/dist/generated/addresses.cjs +8 -8
- package/dist/generated/addresses.cjs.map +1 -1
- package/dist/generated/addresses.d.ts +8 -8
- package/dist/generated/addresses.js +8 -8
- package/dist/generated/addresses.js.map +1 -1
- package/dist/index.browser.js +556 -1185
- package/dist/index.browser.js.map +2 -2
- package/dist/index.node.cjs +556 -1185
- package/dist/index.node.cjs.map +2 -2
- package/dist/index.node.js +556 -1185
- package/dist/index.node.js.map +2 -2
- package/dist/server.cjs +4 -2
- package/dist/server.cjs.map +1 -1
- package/dist/server.d.ts +2 -2
- package/dist/server.js +4 -2
- package/dist/server.js.map +1 -1
- package/package.json +1 -1
|
@@ -60,7 +60,7 @@ export declare const DataPortabilityPermissionsABI: readonly [{
|
|
|
60
60
|
readonly type: "error";
|
|
61
61
|
}, {
|
|
62
62
|
readonly inputs: readonly [];
|
|
63
|
-
readonly name: "
|
|
63
|
+
readonly name: "EmptyScopes";
|
|
64
64
|
readonly type: "error";
|
|
65
65
|
}, {
|
|
66
66
|
readonly inputs: readonly [];
|
|
@@ -74,90 +74,42 @@ export declare const DataPortabilityPermissionsABI: readonly [{
|
|
|
74
74
|
readonly inputs: readonly [];
|
|
75
75
|
readonly name: "FailedInnerCall";
|
|
76
76
|
readonly type: "error";
|
|
77
|
-
}, {
|
|
78
|
-
readonly inputs: readonly [];
|
|
79
|
-
readonly name: "GranteeNotFound";
|
|
80
|
-
readonly type: "error";
|
|
81
77
|
}, {
|
|
82
78
|
readonly inputs: readonly [{
|
|
83
|
-
readonly internalType: "
|
|
84
|
-
readonly name: "
|
|
85
|
-
readonly type: "
|
|
86
|
-
}];
|
|
87
|
-
readonly name: "InactivePermission";
|
|
88
|
-
readonly type: "error";
|
|
89
|
-
}, {
|
|
90
|
-
readonly inputs: readonly [];
|
|
91
|
-
readonly name: "InvalidInitialization";
|
|
92
|
-
readonly type: "error";
|
|
93
|
-
}, {
|
|
94
|
-
readonly inputs: readonly [{
|
|
95
|
-
readonly internalType: "uint256";
|
|
96
|
-
readonly name: "expectedNonce";
|
|
97
|
-
readonly type: "uint256";
|
|
79
|
+
readonly internalType: "address";
|
|
80
|
+
readonly name: "claimed";
|
|
81
|
+
readonly type: "address";
|
|
98
82
|
}, {
|
|
99
|
-
readonly internalType: "
|
|
100
|
-
readonly name: "
|
|
101
|
-
readonly type: "
|
|
83
|
+
readonly internalType: "address";
|
|
84
|
+
readonly name: "actual";
|
|
85
|
+
readonly type: "address";
|
|
102
86
|
}];
|
|
103
|
-
readonly name: "
|
|
87
|
+
readonly name: "GrantorMismatch";
|
|
104
88
|
readonly type: "error";
|
|
105
89
|
}, {
|
|
106
90
|
readonly inputs: readonly [{
|
|
107
91
|
readonly internalType: "uint256";
|
|
108
|
-
readonly name: "
|
|
92
|
+
readonly name: "currentVersion";
|
|
109
93
|
readonly type: "uint256";
|
|
110
94
|
}, {
|
|
111
95
|
readonly internalType: "uint256";
|
|
112
|
-
readonly name: "
|
|
96
|
+
readonly name: "providedVersion";
|
|
113
97
|
readonly type: "uint256";
|
|
114
98
|
}];
|
|
115
|
-
readonly name: "
|
|
99
|
+
readonly name: "InvalidGrantVersion";
|
|
116
100
|
readonly type: "error";
|
|
117
101
|
}, {
|
|
118
|
-
readonly inputs: readonly [
|
|
119
|
-
|
|
120
|
-
readonly name: "filesLength";
|
|
121
|
-
readonly type: "uint256";
|
|
122
|
-
}, {
|
|
123
|
-
readonly internalType: "uint256";
|
|
124
|
-
readonly name: "schemaIdsLength";
|
|
125
|
-
readonly type: "uint256";
|
|
126
|
-
}];
|
|
127
|
-
readonly name: "InvalidSchemaIdsLength";
|
|
102
|
+
readonly inputs: readonly [];
|
|
103
|
+
readonly name: "InvalidInitialization";
|
|
128
104
|
readonly type: "error";
|
|
129
105
|
}, {
|
|
130
106
|
readonly inputs: readonly [];
|
|
131
107
|
readonly name: "InvalidSignature";
|
|
132
108
|
readonly type: "error";
|
|
133
|
-
}, {
|
|
134
|
-
readonly inputs: readonly [{
|
|
135
|
-
readonly internalType: "address";
|
|
136
|
-
readonly name: "fileOwner";
|
|
137
|
-
readonly type: "address";
|
|
138
|
-
}, {
|
|
139
|
-
readonly internalType: "address";
|
|
140
|
-
readonly name: "requestor";
|
|
141
|
-
readonly type: "address";
|
|
142
|
-
}];
|
|
143
|
-
readonly name: "NotFileOwner";
|
|
144
|
-
readonly type: "error";
|
|
145
109
|
}, {
|
|
146
110
|
readonly inputs: readonly [];
|
|
147
111
|
readonly name: "NotInitializing";
|
|
148
112
|
readonly type: "error";
|
|
149
|
-
}, {
|
|
150
|
-
readonly inputs: readonly [{
|
|
151
|
-
readonly internalType: "address";
|
|
152
|
-
readonly name: "permissionOwner";
|
|
153
|
-
readonly type: "address";
|
|
154
|
-
}, {
|
|
155
|
-
readonly internalType: "address";
|
|
156
|
-
readonly name: "requestor";
|
|
157
|
-
readonly type: "address";
|
|
158
|
-
}];
|
|
159
|
-
readonly name: "NotPermissionGrantor";
|
|
160
|
-
readonly type: "error";
|
|
161
113
|
}, {
|
|
162
114
|
readonly inputs: readonly [];
|
|
163
115
|
readonly name: "UUPSUnauthorizedCallContext";
|
|
@@ -174,6 +126,25 @@ export declare const DataPortabilityPermissionsABI: readonly [{
|
|
|
174
126
|
readonly inputs: readonly [];
|
|
175
127
|
readonly name: "ZeroAddress";
|
|
176
128
|
readonly type: "error";
|
|
129
|
+
}, {
|
|
130
|
+
readonly inputs: readonly [];
|
|
131
|
+
readonly name: "ZeroGranteeId";
|
|
132
|
+
readonly type: "error";
|
|
133
|
+
}, {
|
|
134
|
+
readonly anonymous: false;
|
|
135
|
+
readonly inputs: readonly [{
|
|
136
|
+
readonly indexed: true;
|
|
137
|
+
readonly internalType: "address";
|
|
138
|
+
readonly name: "previous";
|
|
139
|
+
readonly type: "address";
|
|
140
|
+
}, {
|
|
141
|
+
readonly indexed: true;
|
|
142
|
+
readonly internalType: "address";
|
|
143
|
+
readonly name: "current";
|
|
144
|
+
readonly type: "address";
|
|
145
|
+
}];
|
|
146
|
+
readonly name: "DataPortabilityServersUpdated";
|
|
147
|
+
readonly type: "event";
|
|
177
148
|
}, {
|
|
178
149
|
readonly anonymous: false;
|
|
179
150
|
readonly inputs: readonly [];
|
|
@@ -203,41 +174,56 @@ export declare const DataPortabilityPermissionsABI: readonly [{
|
|
|
203
174
|
readonly anonymous: false;
|
|
204
175
|
readonly inputs: readonly [{
|
|
205
176
|
readonly indexed: true;
|
|
206
|
-
readonly internalType: "
|
|
207
|
-
readonly name: "
|
|
208
|
-
readonly type: "
|
|
177
|
+
readonly internalType: "bytes32";
|
|
178
|
+
readonly name: "id";
|
|
179
|
+
readonly type: "bytes32";
|
|
209
180
|
}, {
|
|
210
181
|
readonly indexed: true;
|
|
211
182
|
readonly internalType: "address";
|
|
212
|
-
readonly name: "
|
|
183
|
+
readonly name: "grantorAddress";
|
|
213
184
|
readonly type: "address";
|
|
214
185
|
}, {
|
|
215
186
|
readonly indexed: true;
|
|
216
|
-
readonly internalType: "
|
|
187
|
+
readonly internalType: "bytes32";
|
|
217
188
|
readonly name: "granteeId";
|
|
218
|
-
readonly type: "
|
|
189
|
+
readonly type: "bytes32";
|
|
219
190
|
}, {
|
|
220
191
|
readonly indexed: false;
|
|
221
|
-
readonly internalType: "string";
|
|
222
|
-
readonly name: "
|
|
223
|
-
readonly type: "string";
|
|
192
|
+
readonly internalType: "string[]";
|
|
193
|
+
readonly name: "scopes";
|
|
194
|
+
readonly type: "string[]";
|
|
224
195
|
}, {
|
|
225
196
|
readonly indexed: false;
|
|
226
|
-
readonly internalType: "uint256
|
|
227
|
-
readonly name: "
|
|
228
|
-
readonly type: "uint256
|
|
197
|
+
readonly internalType: "uint256";
|
|
198
|
+
readonly name: "grantVersion";
|
|
199
|
+
readonly type: "uint256";
|
|
200
|
+
}, {
|
|
201
|
+
readonly indexed: false;
|
|
202
|
+
readonly internalType: "uint256";
|
|
203
|
+
readonly name: "expiresAt";
|
|
204
|
+
readonly type: "uint256";
|
|
229
205
|
}];
|
|
230
|
-
readonly name: "
|
|
206
|
+
readonly name: "PermissionSet";
|
|
231
207
|
readonly type: "event";
|
|
232
208
|
}, {
|
|
233
209
|
readonly anonymous: false;
|
|
234
210
|
readonly inputs: readonly [{
|
|
235
211
|
readonly indexed: true;
|
|
236
|
-
readonly internalType: "
|
|
237
|
-
readonly name: "
|
|
238
|
-
readonly type: "
|
|
212
|
+
readonly internalType: "bytes32";
|
|
213
|
+
readonly name: "id";
|
|
214
|
+
readonly type: "bytes32";
|
|
215
|
+
}, {
|
|
216
|
+
readonly indexed: true;
|
|
217
|
+
readonly internalType: "address";
|
|
218
|
+
readonly name: "grantorAddress";
|
|
219
|
+
readonly type: "address";
|
|
220
|
+
}, {
|
|
221
|
+
readonly indexed: true;
|
|
222
|
+
readonly internalType: "address";
|
|
223
|
+
readonly name: "delegate";
|
|
224
|
+
readonly type: "address";
|
|
239
225
|
}];
|
|
240
|
-
readonly name: "
|
|
226
|
+
readonly name: "PermissionSignedByDelegate";
|
|
241
227
|
readonly type: "event";
|
|
242
228
|
}, {
|
|
243
229
|
readonly anonymous: false;
|
|
@@ -331,7 +317,7 @@ export declare const DataPortabilityPermissionsABI: readonly [{
|
|
|
331
317
|
readonly type: "function";
|
|
332
318
|
}, {
|
|
333
319
|
readonly inputs: readonly [];
|
|
334
|
-
readonly name: "
|
|
320
|
+
readonly name: "GRANT_REGISTRATION_TYPEHASH";
|
|
335
321
|
readonly outputs: readonly [{
|
|
336
322
|
readonly internalType: "bytes32";
|
|
337
323
|
readonly name: "";
|
|
@@ -352,117 +338,82 @@ export declare const DataPortabilityPermissionsABI: readonly [{
|
|
|
352
338
|
}, {
|
|
353
339
|
readonly inputs: readonly [{
|
|
354
340
|
readonly components: readonly [{
|
|
341
|
+
readonly internalType: "address";
|
|
342
|
+
readonly name: "grantorAddress";
|
|
343
|
+
readonly type: "address";
|
|
344
|
+
}, {
|
|
345
|
+
readonly internalType: "bytes32";
|
|
346
|
+
readonly name: "granteeId";
|
|
347
|
+
readonly type: "bytes32";
|
|
348
|
+
}, {
|
|
349
|
+
readonly internalType: "string[]";
|
|
350
|
+
readonly name: "scopes";
|
|
351
|
+
readonly type: "string[]";
|
|
352
|
+
}, {
|
|
355
353
|
readonly internalType: "uint256";
|
|
356
|
-
readonly name: "
|
|
354
|
+
readonly name: "grantVersion";
|
|
357
355
|
readonly type: "uint256";
|
|
358
356
|
}, {
|
|
359
357
|
readonly internalType: "uint256";
|
|
360
|
-
readonly name: "
|
|
358
|
+
readonly name: "expiresAt";
|
|
361
359
|
readonly type: "uint256";
|
|
362
|
-
}, {
|
|
363
|
-
readonly internalType: "string";
|
|
364
|
-
readonly name: "grant";
|
|
365
|
-
readonly type: "string";
|
|
366
|
-
}, {
|
|
367
|
-
readonly internalType: "uint256[]";
|
|
368
|
-
readonly name: "fileIds";
|
|
369
|
-
readonly type: "uint256[]";
|
|
370
360
|
}];
|
|
371
|
-
readonly internalType: "struct
|
|
372
|
-
readonly name: "
|
|
361
|
+
readonly internalType: "struct IDataPortabilityPermissionsV2.AddPermissionInput";
|
|
362
|
+
readonly name: "input";
|
|
373
363
|
readonly type: "tuple";
|
|
374
|
-
}, {
|
|
375
|
-
readonly internalType: "bytes";
|
|
376
|
-
readonly name: "signature";
|
|
377
|
-
readonly type: "bytes";
|
|
378
364
|
}];
|
|
379
365
|
readonly name: "addPermission";
|
|
380
366
|
readonly outputs: readonly [{
|
|
381
|
-
readonly internalType: "
|
|
367
|
+
readonly internalType: "bytes32";
|
|
382
368
|
readonly name: "";
|
|
383
|
-
readonly type: "
|
|
369
|
+
readonly type: "bytes32";
|
|
384
370
|
}];
|
|
385
371
|
readonly stateMutability: "nonpayable";
|
|
386
372
|
readonly type: "function";
|
|
387
373
|
}, {
|
|
388
374
|
readonly inputs: readonly [{
|
|
389
375
|
readonly components: readonly [{
|
|
390
|
-
readonly internalType: "
|
|
391
|
-
readonly name: "
|
|
392
|
-
readonly type: "
|
|
376
|
+
readonly internalType: "address";
|
|
377
|
+
readonly name: "grantorAddress";
|
|
378
|
+
readonly type: "address";
|
|
393
379
|
}, {
|
|
394
|
-
readonly internalType: "
|
|
380
|
+
readonly internalType: "bytes32";
|
|
395
381
|
readonly name: "granteeId";
|
|
396
|
-
readonly type: "
|
|
397
|
-
}, {
|
|
398
|
-
readonly internalType: "string";
|
|
399
|
-
readonly name: "grant";
|
|
400
|
-
readonly type: "string";
|
|
382
|
+
readonly type: "bytes32";
|
|
401
383
|
}, {
|
|
402
384
|
readonly internalType: "string[]";
|
|
403
|
-
readonly name: "
|
|
385
|
+
readonly name: "scopes";
|
|
404
386
|
readonly type: "string[]";
|
|
405
387
|
}, {
|
|
406
|
-
readonly internalType: "uint256
|
|
407
|
-
readonly name: "
|
|
408
|
-
readonly type: "uint256
|
|
409
|
-
}, {
|
|
410
|
-
readonly internalType: "address";
|
|
411
|
-
readonly name: "serverAddress";
|
|
412
|
-
readonly type: "address";
|
|
413
|
-
}, {
|
|
414
|
-
readonly internalType: "string";
|
|
415
|
-
readonly name: "serverUrl";
|
|
416
|
-
readonly type: "string";
|
|
417
|
-
}, {
|
|
418
|
-
readonly internalType: "string";
|
|
419
|
-
readonly name: "serverPublicKey";
|
|
420
|
-
readonly type: "string";
|
|
388
|
+
readonly internalType: "uint256";
|
|
389
|
+
readonly name: "grantVersion";
|
|
390
|
+
readonly type: "uint256";
|
|
421
391
|
}, {
|
|
422
|
-
readonly
|
|
423
|
-
|
|
424
|
-
|
|
425
|
-
readonly type: "address";
|
|
426
|
-
}, {
|
|
427
|
-
readonly internalType: "string";
|
|
428
|
-
readonly name: "key";
|
|
429
|
-
readonly type: "string";
|
|
430
|
-
}];
|
|
431
|
-
readonly internalType: "struct IDataRegistry.Permission[][]";
|
|
432
|
-
readonly name: "filePermissions";
|
|
433
|
-
readonly type: "tuple[][]";
|
|
392
|
+
readonly internalType: "uint256";
|
|
393
|
+
readonly name: "expiresAt";
|
|
394
|
+
readonly type: "uint256";
|
|
434
395
|
}];
|
|
435
|
-
readonly internalType: "struct
|
|
436
|
-
readonly name: "
|
|
396
|
+
readonly internalType: "struct IDataPortabilityPermissionsV2.AddPermissionInput";
|
|
397
|
+
readonly name: "input";
|
|
437
398
|
readonly type: "tuple";
|
|
438
399
|
}, {
|
|
439
400
|
readonly internalType: "bytes";
|
|
440
401
|
readonly name: "signature";
|
|
441
402
|
readonly type: "bytes";
|
|
442
403
|
}];
|
|
443
|
-
readonly name: "
|
|
404
|
+
readonly name: "addPermissionWithSignature";
|
|
444
405
|
readonly outputs: readonly [{
|
|
445
|
-
readonly internalType: "
|
|
406
|
+
readonly internalType: "bytes32";
|
|
446
407
|
readonly name: "";
|
|
447
|
-
readonly type: "
|
|
408
|
+
readonly type: "bytes32";
|
|
448
409
|
}];
|
|
449
410
|
readonly stateMutability: "nonpayable";
|
|
450
411
|
readonly type: "function";
|
|
451
|
-
}, {
|
|
452
|
-
readonly inputs: readonly [];
|
|
453
|
-
readonly name: "dataPortabilityGrantees";
|
|
454
|
-
readonly outputs: readonly [{
|
|
455
|
-
readonly internalType: "contract IDataPortabilityGrantees";
|
|
456
|
-
readonly name: "";
|
|
457
|
-
readonly type: "address";
|
|
458
|
-
}];
|
|
459
|
-
readonly stateMutability: "view";
|
|
460
|
-
readonly type: "function";
|
|
461
412
|
}, {
|
|
462
413
|
readonly inputs: readonly [];
|
|
463
414
|
readonly name: "dataPortabilityServers";
|
|
464
415
|
readonly outputs: readonly [{
|
|
465
|
-
readonly internalType: "contract
|
|
416
|
+
readonly internalType: "contract IDataPortabilityServersV2";
|
|
466
417
|
readonly name: "";
|
|
467
418
|
readonly type: "address";
|
|
468
419
|
}];
|
|
@@ -470,11 +421,11 @@ export declare const DataPortabilityPermissionsABI: readonly [{
|
|
|
470
421
|
readonly type: "function";
|
|
471
422
|
}, {
|
|
472
423
|
readonly inputs: readonly [];
|
|
473
|
-
readonly name: "
|
|
424
|
+
readonly name: "domainSeparator";
|
|
474
425
|
readonly outputs: readonly [{
|
|
475
|
-
readonly internalType: "
|
|
426
|
+
readonly internalType: "bytes32";
|
|
476
427
|
readonly name: "";
|
|
477
|
-
readonly type: "
|
|
428
|
+
readonly type: "bytes32";
|
|
478
429
|
}];
|
|
479
430
|
readonly stateMutability: "view";
|
|
480
431
|
readonly type: "function";
|
|
@@ -514,39 +465,29 @@ export declare const DataPortabilityPermissionsABI: readonly [{
|
|
|
514
465
|
readonly type: "function";
|
|
515
466
|
}, {
|
|
516
467
|
readonly inputs: readonly [{
|
|
517
|
-
readonly internalType: "
|
|
518
|
-
readonly name: "
|
|
519
|
-
readonly type: "
|
|
520
|
-
}];
|
|
521
|
-
readonly name: "filePermissionIds";
|
|
522
|
-
readonly outputs: readonly [{
|
|
523
|
-
readonly internalType: "uint256[]";
|
|
524
|
-
readonly name: "";
|
|
525
|
-
readonly type: "uint256[]";
|
|
526
|
-
}];
|
|
527
|
-
readonly stateMutability: "view";
|
|
528
|
-
readonly type: "function";
|
|
529
|
-
}, {
|
|
530
|
-
readonly inputs: readonly [{
|
|
531
|
-
readonly internalType: "uint256";
|
|
532
|
-
readonly name: "fileId";
|
|
533
|
-
readonly type: "uint256";
|
|
468
|
+
readonly internalType: "bytes32";
|
|
469
|
+
readonly name: "role";
|
|
470
|
+
readonly type: "bytes32";
|
|
534
471
|
}];
|
|
535
|
-
readonly name: "
|
|
472
|
+
readonly name: "getRoleAdmin";
|
|
536
473
|
readonly outputs: readonly [{
|
|
537
|
-
readonly internalType: "
|
|
474
|
+
readonly internalType: "bytes32";
|
|
538
475
|
readonly name: "";
|
|
539
|
-
readonly type: "
|
|
476
|
+
readonly type: "bytes32";
|
|
540
477
|
}];
|
|
541
478
|
readonly stateMutability: "view";
|
|
542
479
|
readonly type: "function";
|
|
543
480
|
}, {
|
|
544
481
|
readonly inputs: readonly [{
|
|
482
|
+
readonly internalType: "address";
|
|
483
|
+
readonly name: "grantorAddress";
|
|
484
|
+
readonly type: "address";
|
|
485
|
+
}, {
|
|
545
486
|
readonly internalType: "bytes32";
|
|
546
|
-
readonly name: "
|
|
487
|
+
readonly name: "granteeId";
|
|
547
488
|
readonly type: "bytes32";
|
|
548
489
|
}];
|
|
549
|
-
readonly name: "
|
|
490
|
+
readonly name: "grantId";
|
|
550
491
|
readonly outputs: readonly [{
|
|
551
492
|
readonly internalType: "bytes32";
|
|
552
493
|
readonly name: "";
|
|
@@ -588,25 +529,9 @@ export declare const DataPortabilityPermissionsABI: readonly [{
|
|
|
588
529
|
readonly type: "function";
|
|
589
530
|
}, {
|
|
590
531
|
readonly inputs: readonly [{
|
|
591
|
-
readonly internalType: "address";
|
|
592
|
-
readonly name: "trustedForwarderAddress";
|
|
593
|
-
readonly type: "address";
|
|
594
|
-
}, {
|
|
595
532
|
readonly internalType: "address";
|
|
596
533
|
readonly name: "ownerAddress";
|
|
597
534
|
readonly type: "address";
|
|
598
|
-
}, {
|
|
599
|
-
readonly internalType: "contract IDataRegistry";
|
|
600
|
-
readonly name: "dataRegistryAddress";
|
|
601
|
-
readonly type: "address";
|
|
602
|
-
}, {
|
|
603
|
-
readonly internalType: "contract IDataPortabilityServers";
|
|
604
|
-
readonly name: "serversContractAddr";
|
|
605
|
-
readonly type: "address";
|
|
606
|
-
}, {
|
|
607
|
-
readonly internalType: "contract IDataPortabilityGrantees";
|
|
608
|
-
readonly name: "granteesContractAddr";
|
|
609
|
-
readonly type: "address";
|
|
610
535
|
}];
|
|
611
536
|
readonly name: "initialize";
|
|
612
537
|
readonly outputs: readonly [];
|
|
@@ -614,11 +539,11 @@ export declare const DataPortabilityPermissionsABI: readonly [{
|
|
|
614
539
|
readonly type: "function";
|
|
615
540
|
}, {
|
|
616
541
|
readonly inputs: readonly [{
|
|
617
|
-
readonly internalType: "
|
|
618
|
-
readonly name: "
|
|
619
|
-
readonly type: "
|
|
542
|
+
readonly internalType: "bytes32";
|
|
543
|
+
readonly name: "id";
|
|
544
|
+
readonly type: "bytes32";
|
|
620
545
|
}];
|
|
621
|
-
readonly name: "
|
|
546
|
+
readonly name: "isActive";
|
|
622
547
|
readonly outputs: readonly [{
|
|
623
548
|
readonly internalType: "bool";
|
|
624
549
|
readonly name: "";
|
|
@@ -644,75 +569,39 @@ export declare const DataPortabilityPermissionsABI: readonly [{
|
|
|
644
569
|
readonly type: "function";
|
|
645
570
|
}, {
|
|
646
571
|
readonly inputs: readonly [{
|
|
647
|
-
readonly internalType: "
|
|
648
|
-
readonly name: "
|
|
649
|
-
readonly type: "
|
|
650
|
-
}];
|
|
651
|
-
readonly name: "permissionFileIds";
|
|
652
|
-
readonly outputs: readonly [{
|
|
653
|
-
readonly internalType: "uint256[]";
|
|
654
|
-
readonly name: "";
|
|
655
|
-
readonly type: "uint256[]";
|
|
656
|
-
}];
|
|
657
|
-
readonly stateMutability: "view";
|
|
658
|
-
readonly type: "function";
|
|
659
|
-
}, {
|
|
660
|
-
readonly inputs: readonly [{
|
|
661
|
-
readonly internalType: "uint256";
|
|
662
|
-
readonly name: "permissionId";
|
|
663
|
-
readonly type: "uint256";
|
|
572
|
+
readonly internalType: "bytes32";
|
|
573
|
+
readonly name: "id";
|
|
574
|
+
readonly type: "bytes32";
|
|
664
575
|
}];
|
|
665
576
|
readonly name: "permissions";
|
|
666
577
|
readonly outputs: readonly [{
|
|
667
578
|
readonly components: readonly [{
|
|
668
|
-
readonly internalType: "uint256";
|
|
669
|
-
readonly name: "id";
|
|
670
|
-
readonly type: "uint256";
|
|
671
|
-
}, {
|
|
672
579
|
readonly internalType: "address";
|
|
673
|
-
readonly name: "
|
|
580
|
+
readonly name: "grantorAddress";
|
|
674
581
|
readonly type: "address";
|
|
675
582
|
}, {
|
|
676
|
-
readonly internalType: "
|
|
677
|
-
readonly name: "nonce";
|
|
678
|
-
readonly type: "uint256";
|
|
679
|
-
}, {
|
|
680
|
-
readonly internalType: "uint256";
|
|
583
|
+
readonly internalType: "bytes32";
|
|
681
584
|
readonly name: "granteeId";
|
|
682
|
-
readonly type: "
|
|
585
|
+
readonly type: "bytes32";
|
|
683
586
|
}, {
|
|
684
|
-
readonly internalType: "string";
|
|
685
|
-
readonly name: "
|
|
686
|
-
readonly type: "string";
|
|
587
|
+
readonly internalType: "string[]";
|
|
588
|
+
readonly name: "scopes";
|
|
589
|
+
readonly type: "string[]";
|
|
687
590
|
}, {
|
|
688
591
|
readonly internalType: "uint256";
|
|
689
|
-
readonly name: "
|
|
592
|
+
readonly name: "grantVersion";
|
|
690
593
|
readonly type: "uint256";
|
|
691
594
|
}, {
|
|
692
595
|
readonly internalType: "uint256";
|
|
693
|
-
readonly name: "
|
|
596
|
+
readonly name: "expiresAt";
|
|
694
597
|
readonly type: "uint256";
|
|
695
|
-
}, {
|
|
696
|
-
readonly internalType: "uint256[]";
|
|
697
|
-
readonly name: "fileIds";
|
|
698
|
-
readonly type: "uint256[]";
|
|
699
598
|
}];
|
|
700
|
-
readonly internalType: "struct
|
|
599
|
+
readonly internalType: "struct IDataPortabilityPermissionsV2.Permission";
|
|
701
600
|
readonly name: "";
|
|
702
601
|
readonly type: "tuple";
|
|
703
602
|
}];
|
|
704
603
|
readonly stateMutability: "view";
|
|
705
604
|
readonly type: "function";
|
|
706
|
-
}, {
|
|
707
|
-
readonly inputs: readonly [];
|
|
708
|
-
readonly name: "permissionsCount";
|
|
709
|
-
readonly outputs: readonly [{
|
|
710
|
-
readonly internalType: "uint256";
|
|
711
|
-
readonly name: "";
|
|
712
|
-
readonly type: "uint256";
|
|
713
|
-
}];
|
|
714
|
-
readonly stateMutability: "view";
|
|
715
|
-
readonly type: "function";
|
|
716
605
|
}, {
|
|
717
606
|
readonly inputs: readonly [];
|
|
718
607
|
readonly name: "proxiableUUID";
|
|
@@ -737,39 +626,6 @@ export declare const DataPortabilityPermissionsABI: readonly [{
|
|
|
737
626
|
readonly outputs: readonly [];
|
|
738
627
|
readonly stateMutability: "nonpayable";
|
|
739
628
|
readonly type: "function";
|
|
740
|
-
}, {
|
|
741
|
-
readonly inputs: readonly [{
|
|
742
|
-
readonly internalType: "uint256";
|
|
743
|
-
readonly name: "permissionId";
|
|
744
|
-
readonly type: "uint256";
|
|
745
|
-
}];
|
|
746
|
-
readonly name: "revokePermission";
|
|
747
|
-
readonly outputs: readonly [];
|
|
748
|
-
readonly stateMutability: "nonpayable";
|
|
749
|
-
readonly type: "function";
|
|
750
|
-
}, {
|
|
751
|
-
readonly inputs: readonly [{
|
|
752
|
-
readonly components: readonly [{
|
|
753
|
-
readonly internalType: "uint256";
|
|
754
|
-
readonly name: "nonce";
|
|
755
|
-
readonly type: "uint256";
|
|
756
|
-
}, {
|
|
757
|
-
readonly internalType: "uint256";
|
|
758
|
-
readonly name: "permissionId";
|
|
759
|
-
readonly type: "uint256";
|
|
760
|
-
}];
|
|
761
|
-
readonly internalType: "struct IDataPortabilityPermissions.RevokePermissionInput";
|
|
762
|
-
readonly name: "revokePermissionInput";
|
|
763
|
-
readonly type: "tuple";
|
|
764
|
-
}, {
|
|
765
|
-
readonly internalType: "bytes";
|
|
766
|
-
readonly name: "signature";
|
|
767
|
-
readonly type: "bytes";
|
|
768
|
-
}];
|
|
769
|
-
readonly name: "revokePermissionWithSignature";
|
|
770
|
-
readonly outputs: readonly [];
|
|
771
|
-
readonly stateMutability: "nonpayable";
|
|
772
|
-
readonly type: "function";
|
|
773
629
|
}, {
|
|
774
630
|
readonly inputs: readonly [{
|
|
775
631
|
readonly internalType: "bytes32";
|
|
@@ -786,15 +642,11 @@ export declare const DataPortabilityPermissionsABI: readonly [{
|
|
|
786
642
|
readonly type: "function";
|
|
787
643
|
}, {
|
|
788
644
|
readonly inputs: readonly [{
|
|
789
|
-
readonly internalType: "
|
|
790
|
-
readonly name: "
|
|
791
|
-
readonly type: "
|
|
792
|
-
}, {
|
|
793
|
-
readonly internalType: "bytes32";
|
|
794
|
-
readonly name: "adminRole";
|
|
795
|
-
readonly type: "bytes32";
|
|
645
|
+
readonly internalType: "address";
|
|
646
|
+
readonly name: "newDataPortabilityServers";
|
|
647
|
+
readonly type: "address";
|
|
796
648
|
}];
|
|
797
|
-
readonly name: "
|
|
649
|
+
readonly name: "setDataPortabilityServers";
|
|
798
650
|
readonly outputs: readonly [];
|
|
799
651
|
readonly stateMutability: "nonpayable";
|
|
800
652
|
readonly type: "function";
|
|
@@ -812,62 +664,12 @@ export declare const DataPortabilityPermissionsABI: readonly [{
|
|
|
812
664
|
}];
|
|
813
665
|
readonly stateMutability: "view";
|
|
814
666
|
readonly type: "function";
|
|
815
|
-
}, {
|
|
816
|
-
readonly inputs: readonly [];
|
|
817
|
-
readonly name: "trustedForwarder";
|
|
818
|
-
readonly outputs: readonly [{
|
|
819
|
-
readonly internalType: "address";
|
|
820
|
-
readonly name: "";
|
|
821
|
-
readonly type: "address";
|
|
822
|
-
}];
|
|
823
|
-
readonly stateMutability: "view";
|
|
824
|
-
readonly type: "function";
|
|
825
667
|
}, {
|
|
826
668
|
readonly inputs: readonly [];
|
|
827
669
|
readonly name: "unpause";
|
|
828
670
|
readonly outputs: readonly [];
|
|
829
671
|
readonly stateMutability: "nonpayable";
|
|
830
672
|
readonly type: "function";
|
|
831
|
-
}, {
|
|
832
|
-
readonly inputs: readonly [{
|
|
833
|
-
readonly internalType: "contract IDataRegistry";
|
|
834
|
-
readonly name: "newDataRegistry";
|
|
835
|
-
readonly type: "address";
|
|
836
|
-
}];
|
|
837
|
-
readonly name: "updateDataRegistry";
|
|
838
|
-
readonly outputs: readonly [];
|
|
839
|
-
readonly stateMutability: "nonpayable";
|
|
840
|
-
readonly type: "function";
|
|
841
|
-
}, {
|
|
842
|
-
readonly inputs: readonly [{
|
|
843
|
-
readonly internalType: "contract IDataPortabilityGrantees";
|
|
844
|
-
readonly name: "newGranteesContract";
|
|
845
|
-
readonly type: "address";
|
|
846
|
-
}];
|
|
847
|
-
readonly name: "updateGranteesContract";
|
|
848
|
-
readonly outputs: readonly [];
|
|
849
|
-
readonly stateMutability: "nonpayable";
|
|
850
|
-
readonly type: "function";
|
|
851
|
-
}, {
|
|
852
|
-
readonly inputs: readonly [{
|
|
853
|
-
readonly internalType: "contract IDataPortabilityServers";
|
|
854
|
-
readonly name: "newServersContract";
|
|
855
|
-
readonly type: "address";
|
|
856
|
-
}];
|
|
857
|
-
readonly name: "updateServersContract";
|
|
858
|
-
readonly outputs: readonly [];
|
|
859
|
-
readonly stateMutability: "nonpayable";
|
|
860
|
-
readonly type: "function";
|
|
861
|
-
}, {
|
|
862
|
-
readonly inputs: readonly [{
|
|
863
|
-
readonly internalType: "address";
|
|
864
|
-
readonly name: "trustedForwarderAddress";
|
|
865
|
-
readonly type: "address";
|
|
866
|
-
}];
|
|
867
|
-
readonly name: "updateTrustedForwarder";
|
|
868
|
-
readonly outputs: readonly [];
|
|
869
|
-
readonly stateMutability: "nonpayable";
|
|
870
|
-
readonly type: "function";
|
|
871
673
|
}, {
|
|
872
674
|
readonly inputs: readonly [{
|
|
873
675
|
readonly internalType: "address";
|
|
@@ -882,84 +684,6 @@ export declare const DataPortabilityPermissionsABI: readonly [{
|
|
|
882
684
|
readonly outputs: readonly [];
|
|
883
685
|
readonly stateMutability: "payable";
|
|
884
686
|
readonly type: "function";
|
|
885
|
-
}, {
|
|
886
|
-
readonly inputs: readonly [{
|
|
887
|
-
readonly internalType: "address";
|
|
888
|
-
readonly name: "userAddress";
|
|
889
|
-
readonly type: "address";
|
|
890
|
-
}];
|
|
891
|
-
readonly name: "userNonce";
|
|
892
|
-
readonly outputs: readonly [{
|
|
893
|
-
readonly internalType: "uint256";
|
|
894
|
-
readonly name: "";
|
|
895
|
-
readonly type: "uint256";
|
|
896
|
-
}];
|
|
897
|
-
readonly stateMutability: "view";
|
|
898
|
-
readonly type: "function";
|
|
899
|
-
}, {
|
|
900
|
-
readonly inputs: readonly [{
|
|
901
|
-
readonly internalType: "address";
|
|
902
|
-
readonly name: "userAddress";
|
|
903
|
-
readonly type: "address";
|
|
904
|
-
}, {
|
|
905
|
-
readonly internalType: "uint256";
|
|
906
|
-
readonly name: "permissionIndex";
|
|
907
|
-
readonly type: "uint256";
|
|
908
|
-
}];
|
|
909
|
-
readonly name: "userPermissionIdsAt";
|
|
910
|
-
readonly outputs: readonly [{
|
|
911
|
-
readonly internalType: "uint256";
|
|
912
|
-
readonly name: "";
|
|
913
|
-
readonly type: "uint256";
|
|
914
|
-
}];
|
|
915
|
-
readonly stateMutability: "view";
|
|
916
|
-
readonly type: "function";
|
|
917
|
-
}, {
|
|
918
|
-
readonly inputs: readonly [{
|
|
919
|
-
readonly internalType: "address";
|
|
920
|
-
readonly name: "userAddress";
|
|
921
|
-
readonly type: "address";
|
|
922
|
-
}];
|
|
923
|
-
readonly name: "userPermissionIdsLength";
|
|
924
|
-
readonly outputs: readonly [{
|
|
925
|
-
readonly internalType: "uint256";
|
|
926
|
-
readonly name: "";
|
|
927
|
-
readonly type: "uint256";
|
|
928
|
-
}];
|
|
929
|
-
readonly stateMutability: "view";
|
|
930
|
-
readonly type: "function";
|
|
931
|
-
}, {
|
|
932
|
-
readonly inputs: readonly [{
|
|
933
|
-
readonly internalType: "address";
|
|
934
|
-
readonly name: "userAddress";
|
|
935
|
-
readonly type: "address";
|
|
936
|
-
}];
|
|
937
|
-
readonly name: "userPermissionIdsValues";
|
|
938
|
-
readonly outputs: readonly [{
|
|
939
|
-
readonly internalType: "uint256[]";
|
|
940
|
-
readonly name: "";
|
|
941
|
-
readonly type: "uint256[]";
|
|
942
|
-
}];
|
|
943
|
-
readonly stateMutability: "view";
|
|
944
|
-
readonly type: "function";
|
|
945
|
-
}, {
|
|
946
|
-
readonly inputs: readonly [{
|
|
947
|
-
readonly internalType: "address";
|
|
948
|
-
readonly name: "userAddress";
|
|
949
|
-
readonly type: "address";
|
|
950
|
-
}];
|
|
951
|
-
readonly name: "users";
|
|
952
|
-
readonly outputs: readonly [{
|
|
953
|
-
readonly internalType: "uint256";
|
|
954
|
-
readonly name: "nonce";
|
|
955
|
-
readonly type: "uint256";
|
|
956
|
-
}, {
|
|
957
|
-
readonly internalType: "uint256[]";
|
|
958
|
-
readonly name: "permissionIds";
|
|
959
|
-
readonly type: "uint256[]";
|
|
960
|
-
}];
|
|
961
|
-
readonly stateMutability: "view";
|
|
962
|
-
readonly type: "function";
|
|
963
687
|
}, {
|
|
964
688
|
readonly inputs: readonly [];
|
|
965
689
|
readonly name: "version";
|