@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
|
@@ -36,6 +36,33 @@ const DataPortabilityServersABI = [
|
|
|
36
36
|
name: "AddressEmptyCode",
|
|
37
37
|
type: "error"
|
|
38
38
|
},
|
|
39
|
+
{
|
|
40
|
+
inputs: [
|
|
41
|
+
{
|
|
42
|
+
internalType: "bytes32",
|
|
43
|
+
name: "serverId",
|
|
44
|
+
type: "bytes32"
|
|
45
|
+
}
|
|
46
|
+
],
|
|
47
|
+
name: "AlreadyRevoked",
|
|
48
|
+
type: "error"
|
|
49
|
+
},
|
|
50
|
+
{
|
|
51
|
+
inputs: [
|
|
52
|
+
{
|
|
53
|
+
internalType: "uint256",
|
|
54
|
+
name: "deadline",
|
|
55
|
+
type: "uint256"
|
|
56
|
+
},
|
|
57
|
+
{
|
|
58
|
+
internalType: "uint256",
|
|
59
|
+
name: "currentTime",
|
|
60
|
+
type: "uint256"
|
|
61
|
+
}
|
|
62
|
+
],
|
|
63
|
+
name: "DeadlineExpired",
|
|
64
|
+
type: "error"
|
|
65
|
+
},
|
|
39
66
|
{
|
|
40
67
|
inputs: [],
|
|
41
68
|
name: "ECDSAInvalidSignature",
|
|
@@ -110,19 +137,8 @@ const DataPortabilityServersABI = [
|
|
|
110
137
|
type: "error"
|
|
111
138
|
},
|
|
112
139
|
{
|
|
113
|
-
inputs: [
|
|
114
|
-
|
|
115
|
-
internalType: "uint256",
|
|
116
|
-
name: "expectedNonce",
|
|
117
|
-
type: "uint256"
|
|
118
|
-
},
|
|
119
|
-
{
|
|
120
|
-
internalType: "uint256",
|
|
121
|
-
name: "providedNonce",
|
|
122
|
-
type: "uint256"
|
|
123
|
-
}
|
|
124
|
-
],
|
|
125
|
-
name: "InvalidNonce",
|
|
140
|
+
inputs: [],
|
|
141
|
+
name: "InvalidSignature",
|
|
126
142
|
type: "error"
|
|
127
143
|
},
|
|
128
144
|
{
|
|
@@ -132,14 +148,19 @@ const DataPortabilityServersABI = [
|
|
|
132
148
|
},
|
|
133
149
|
{
|
|
134
150
|
inputs: [
|
|
151
|
+
{
|
|
152
|
+
internalType: "bytes32",
|
|
153
|
+
name: "serverId",
|
|
154
|
+
type: "bytes32"
|
|
155
|
+
},
|
|
135
156
|
{
|
|
136
157
|
internalType: "address",
|
|
137
|
-
name: "
|
|
158
|
+
name: "claimed",
|
|
138
159
|
type: "address"
|
|
139
160
|
},
|
|
140
161
|
{
|
|
141
162
|
internalType: "address",
|
|
142
|
-
name: "
|
|
163
|
+
name: "actual",
|
|
143
164
|
type: "address"
|
|
144
165
|
}
|
|
145
166
|
],
|
|
@@ -147,44 +168,57 @@ const DataPortabilityServersABI = [
|
|
|
147
168
|
type: "error"
|
|
148
169
|
},
|
|
149
170
|
{
|
|
150
|
-
inputs: [
|
|
151
|
-
|
|
152
|
-
|
|
153
|
-
|
|
154
|
-
|
|
155
|
-
|
|
156
|
-
|
|
171
|
+
inputs: [
|
|
172
|
+
{
|
|
173
|
+
internalType: "address",
|
|
174
|
+
name: "claimed",
|
|
175
|
+
type: "address"
|
|
176
|
+
},
|
|
177
|
+
{
|
|
178
|
+
internalType: "address",
|
|
179
|
+
name: "recovered",
|
|
180
|
+
type: "address"
|
|
181
|
+
}
|
|
182
|
+
],
|
|
183
|
+
name: "OwnerMismatch",
|
|
157
184
|
type: "error"
|
|
158
185
|
},
|
|
159
186
|
{
|
|
160
|
-
inputs: [
|
|
161
|
-
|
|
187
|
+
inputs: [
|
|
188
|
+
{
|
|
189
|
+
internalType: "address",
|
|
190
|
+
name: "serverAddress",
|
|
191
|
+
type: "address"
|
|
192
|
+
}
|
|
193
|
+
],
|
|
194
|
+
name: "ServerAlreadyRegistered",
|
|
162
195
|
type: "error"
|
|
163
196
|
},
|
|
164
197
|
{
|
|
165
|
-
inputs: [
|
|
198
|
+
inputs: [
|
|
199
|
+
{
|
|
200
|
+
internalType: "bytes32",
|
|
201
|
+
name: "serverId",
|
|
202
|
+
type: "bytes32"
|
|
203
|
+
}
|
|
204
|
+
],
|
|
166
205
|
name: "ServerNotFound",
|
|
167
206
|
type: "error"
|
|
168
207
|
},
|
|
169
|
-
{
|
|
170
|
-
inputs: [],
|
|
171
|
-
name: "ServerNotTrusted",
|
|
172
|
-
type: "error"
|
|
173
|
-
},
|
|
174
208
|
{
|
|
175
209
|
inputs: [
|
|
176
210
|
{
|
|
177
|
-
internalType: "
|
|
178
|
-
name: "
|
|
179
|
-
type: "
|
|
211
|
+
internalType: "bytes32",
|
|
212
|
+
name: "expected",
|
|
213
|
+
type: "bytes32"
|
|
180
214
|
},
|
|
181
215
|
{
|
|
182
|
-
internalType: "
|
|
183
|
-
name: "
|
|
184
|
-
type: "
|
|
216
|
+
internalType: "bytes32",
|
|
217
|
+
name: "provided",
|
|
218
|
+
type: "bytes32"
|
|
185
219
|
}
|
|
186
220
|
],
|
|
187
|
-
name: "
|
|
221
|
+
name: "StaleServerId",
|
|
188
222
|
type: "error"
|
|
189
223
|
},
|
|
190
224
|
{
|
|
@@ -320,14 +354,14 @@ const DataPortabilityServersABI = [
|
|
|
320
354
|
inputs: [
|
|
321
355
|
{
|
|
322
356
|
indexed: true,
|
|
323
|
-
internalType: "
|
|
357
|
+
internalType: "bytes32",
|
|
324
358
|
name: "serverId",
|
|
325
|
-
type: "
|
|
359
|
+
type: "bytes32"
|
|
326
360
|
},
|
|
327
361
|
{
|
|
328
362
|
indexed: true,
|
|
329
363
|
internalType: "address",
|
|
330
|
-
name: "
|
|
364
|
+
name: "ownerAddress",
|
|
331
365
|
type: "address"
|
|
332
366
|
},
|
|
333
367
|
{
|
|
@@ -335,21 +369,9 @@ const DataPortabilityServersABI = [
|
|
|
335
369
|
internalType: "address",
|
|
336
370
|
name: "serverAddress",
|
|
337
371
|
type: "address"
|
|
338
|
-
},
|
|
339
|
-
{
|
|
340
|
-
indexed: false,
|
|
341
|
-
internalType: "string",
|
|
342
|
-
name: "publicKey",
|
|
343
|
-
type: "string"
|
|
344
|
-
},
|
|
345
|
-
{
|
|
346
|
-
indexed: false,
|
|
347
|
-
internalType: "string",
|
|
348
|
-
name: "url",
|
|
349
|
-
type: "string"
|
|
350
372
|
}
|
|
351
373
|
],
|
|
352
|
-
name: "
|
|
374
|
+
name: "ServerDeregistered",
|
|
353
375
|
type: "event"
|
|
354
376
|
},
|
|
355
377
|
{
|
|
@@ -357,56 +379,36 @@ const DataPortabilityServersABI = [
|
|
|
357
379
|
inputs: [
|
|
358
380
|
{
|
|
359
381
|
indexed: true,
|
|
360
|
-
internalType: "
|
|
361
|
-
name: "user",
|
|
362
|
-
type: "address"
|
|
363
|
-
},
|
|
364
|
-
{
|
|
365
|
-
indexed: true,
|
|
366
|
-
internalType: "uint256",
|
|
382
|
+
internalType: "bytes32",
|
|
367
383
|
name: "serverId",
|
|
368
|
-
type: "
|
|
369
|
-
}
|
|
370
|
-
],
|
|
371
|
-
name: "ServerTrusted",
|
|
372
|
-
type: "event"
|
|
373
|
-
},
|
|
374
|
-
{
|
|
375
|
-
anonymous: false,
|
|
376
|
-
inputs: [
|
|
384
|
+
type: "bytes32"
|
|
385
|
+
},
|
|
377
386
|
{
|
|
378
387
|
indexed: true,
|
|
379
388
|
internalType: "address",
|
|
380
|
-
name: "
|
|
389
|
+
name: "ownerAddress",
|
|
381
390
|
type: "address"
|
|
382
391
|
},
|
|
383
392
|
{
|
|
384
393
|
indexed: true,
|
|
385
|
-
internalType: "
|
|
386
|
-
name: "
|
|
387
|
-
type: "
|
|
388
|
-
}
|
|
389
|
-
],
|
|
390
|
-
name: "ServerUntrusted",
|
|
391
|
-
type: "event"
|
|
392
|
-
},
|
|
393
|
-
{
|
|
394
|
-
anonymous: false,
|
|
395
|
-
inputs: [
|
|
394
|
+
internalType: "address",
|
|
395
|
+
name: "serverAddress",
|
|
396
|
+
type: "address"
|
|
397
|
+
},
|
|
396
398
|
{
|
|
397
|
-
indexed:
|
|
398
|
-
internalType: "
|
|
399
|
-
name: "
|
|
400
|
-
type: "
|
|
399
|
+
indexed: false,
|
|
400
|
+
internalType: "string",
|
|
401
|
+
name: "publicKey",
|
|
402
|
+
type: "string"
|
|
401
403
|
},
|
|
402
404
|
{
|
|
403
405
|
indexed: false,
|
|
404
406
|
internalType: "string",
|
|
405
|
-
name: "
|
|
407
|
+
name: "serverUrl",
|
|
406
408
|
type: "string"
|
|
407
409
|
}
|
|
408
410
|
],
|
|
409
|
-
name: "
|
|
411
|
+
name: "ServerRegistered",
|
|
410
412
|
type: "event"
|
|
411
413
|
},
|
|
412
414
|
{
|
|
@@ -463,7 +465,20 @@ const DataPortabilityServersABI = [
|
|
|
463
465
|
},
|
|
464
466
|
{
|
|
465
467
|
inputs: [],
|
|
466
|
-
name: "
|
|
468
|
+
name: "SERVER_DEREGISTRATION_TYPEHASH",
|
|
469
|
+
outputs: [
|
|
470
|
+
{
|
|
471
|
+
internalType: "bytes32",
|
|
472
|
+
name: "",
|
|
473
|
+
type: "bytes32"
|
|
474
|
+
}
|
|
475
|
+
],
|
|
476
|
+
stateMutability: "view",
|
|
477
|
+
type: "function"
|
|
478
|
+
},
|
|
479
|
+
{
|
|
480
|
+
inputs: [],
|
|
481
|
+
name: "SERVER_REGISTRATION_TYPEHASH",
|
|
467
482
|
outputs: [
|
|
468
483
|
{
|
|
469
484
|
internalType: "bytes32",
|
|
@@ -491,75 +506,48 @@ const DataPortabilityServersABI = [
|
|
|
491
506
|
inputs: [
|
|
492
507
|
{
|
|
493
508
|
internalType: "address",
|
|
494
|
-
name: "
|
|
509
|
+
name: "serverAddress",
|
|
495
510
|
type: "address"
|
|
496
|
-
}
|
|
511
|
+
}
|
|
512
|
+
],
|
|
513
|
+
name: "activeServerId",
|
|
514
|
+
outputs: [
|
|
497
515
|
{
|
|
498
|
-
|
|
499
|
-
|
|
500
|
-
|
|
501
|
-
name: "serverAddress",
|
|
502
|
-
type: "address"
|
|
503
|
-
},
|
|
504
|
-
{
|
|
505
|
-
internalType: "string",
|
|
506
|
-
name: "publicKey",
|
|
507
|
-
type: "string"
|
|
508
|
-
},
|
|
509
|
-
{
|
|
510
|
-
internalType: "string",
|
|
511
|
-
name: "serverUrl",
|
|
512
|
-
type: "string"
|
|
513
|
-
}
|
|
514
|
-
],
|
|
515
|
-
internalType: "struct IDataPortabilityServers.AddServerInput",
|
|
516
|
-
name: "addServerInput",
|
|
517
|
-
type: "tuple"
|
|
516
|
+
internalType: "bytes32",
|
|
517
|
+
name: "",
|
|
518
|
+
type: "bytes32"
|
|
518
519
|
}
|
|
519
520
|
],
|
|
520
|
-
|
|
521
|
-
outputs: [],
|
|
522
|
-
stateMutability: "nonpayable",
|
|
521
|
+
stateMutability: "view",
|
|
523
522
|
type: "function"
|
|
524
523
|
},
|
|
525
524
|
{
|
|
526
525
|
inputs: [
|
|
527
526
|
{
|
|
528
|
-
|
|
529
|
-
|
|
530
|
-
|
|
531
|
-
name: "nonce",
|
|
532
|
-
type: "uint256"
|
|
533
|
-
},
|
|
534
|
-
{
|
|
535
|
-
internalType: "address",
|
|
536
|
-
name: "serverAddress",
|
|
537
|
-
type: "address"
|
|
538
|
-
},
|
|
539
|
-
{
|
|
540
|
-
internalType: "string",
|
|
541
|
-
name: "publicKey",
|
|
542
|
-
type: "string"
|
|
543
|
-
},
|
|
544
|
-
{
|
|
545
|
-
internalType: "string",
|
|
546
|
-
name: "serverUrl",
|
|
547
|
-
type: "string"
|
|
548
|
-
}
|
|
549
|
-
],
|
|
550
|
-
internalType: "struct IDataPortabilityServers.AddServerWithSignatureInput",
|
|
551
|
-
name: "addServerInput",
|
|
552
|
-
type: "tuple"
|
|
527
|
+
internalType: "address",
|
|
528
|
+
name: "serverAddress",
|
|
529
|
+
type: "address"
|
|
553
530
|
},
|
|
554
531
|
{
|
|
555
|
-
internalType: "
|
|
556
|
-
name: "
|
|
557
|
-
type: "
|
|
532
|
+
internalType: "string",
|
|
533
|
+
name: "publicKey",
|
|
534
|
+
type: "string"
|
|
535
|
+
},
|
|
536
|
+
{
|
|
537
|
+
internalType: "string",
|
|
538
|
+
name: "serverUrl",
|
|
539
|
+
type: "string"
|
|
558
540
|
}
|
|
559
541
|
],
|
|
560
|
-
name: "
|
|
561
|
-
outputs: [
|
|
562
|
-
|
|
542
|
+
name: "computeServerId",
|
|
543
|
+
outputs: [
|
|
544
|
+
{
|
|
545
|
+
internalType: "bytes32",
|
|
546
|
+
name: "",
|
|
547
|
+
type: "bytes32"
|
|
548
|
+
}
|
|
549
|
+
],
|
|
550
|
+
stateMutability: "view",
|
|
563
551
|
type: "function"
|
|
564
552
|
},
|
|
565
553
|
{
|
|
@@ -567,9 +555,9 @@ const DataPortabilityServersABI = [
|
|
|
567
555
|
{
|
|
568
556
|
components: [
|
|
569
557
|
{
|
|
570
|
-
internalType: "
|
|
571
|
-
name: "
|
|
572
|
-
type: "
|
|
558
|
+
internalType: "address",
|
|
559
|
+
name: "ownerAddress",
|
|
560
|
+
type: "address"
|
|
573
561
|
},
|
|
574
562
|
{
|
|
575
563
|
internalType: "address",
|
|
@@ -577,18 +565,18 @@ const DataPortabilityServersABI = [
|
|
|
577
565
|
type: "address"
|
|
578
566
|
},
|
|
579
567
|
{
|
|
580
|
-
internalType: "
|
|
581
|
-
name: "
|
|
582
|
-
type: "
|
|
568
|
+
internalType: "bytes32",
|
|
569
|
+
name: "serverId",
|
|
570
|
+
type: "bytes32"
|
|
583
571
|
},
|
|
584
572
|
{
|
|
585
|
-
internalType: "
|
|
586
|
-
name: "
|
|
587
|
-
type: "
|
|
573
|
+
internalType: "uint256",
|
|
574
|
+
name: "deadline",
|
|
575
|
+
type: "uint256"
|
|
588
576
|
}
|
|
589
577
|
],
|
|
590
|
-
internalType: "struct
|
|
591
|
-
name: "
|
|
578
|
+
internalType: "struct IDataPortabilityServersV2.ServerDeregistration",
|
|
579
|
+
name: "input",
|
|
592
580
|
type: "tuple"
|
|
593
581
|
},
|
|
594
582
|
{
|
|
@@ -597,11 +585,24 @@ const DataPortabilityServersABI = [
|
|
|
597
585
|
type: "bytes"
|
|
598
586
|
}
|
|
599
587
|
],
|
|
600
|
-
name: "
|
|
588
|
+
name: "deregisterServerWithSignature",
|
|
601
589
|
outputs: [],
|
|
602
590
|
stateMutability: "nonpayable",
|
|
603
591
|
type: "function"
|
|
604
592
|
},
|
|
593
|
+
{
|
|
594
|
+
inputs: [],
|
|
595
|
+
name: "domainSeparator",
|
|
596
|
+
outputs: [
|
|
597
|
+
{
|
|
598
|
+
internalType: "bytes32",
|
|
599
|
+
name: "",
|
|
600
|
+
type: "bytes32"
|
|
601
|
+
}
|
|
602
|
+
],
|
|
603
|
+
stateMutability: "view",
|
|
604
|
+
type: "function"
|
|
605
|
+
},
|
|
605
606
|
{
|
|
606
607
|
inputs: [],
|
|
607
608
|
name: "eip712Domain",
|
|
@@ -648,8 +649,64 @@ const DataPortabilityServersABI = [
|
|
|
648
649
|
{
|
|
649
650
|
inputs: [
|
|
650
651
|
{
|
|
651
|
-
internalType: "
|
|
652
|
-
name: "
|
|
652
|
+
internalType: "address",
|
|
653
|
+
name: "serverAddress",
|
|
654
|
+
type: "address"
|
|
655
|
+
}
|
|
656
|
+
],
|
|
657
|
+
name: "getActiveServerByAddress",
|
|
658
|
+
outputs: [
|
|
659
|
+
{
|
|
660
|
+
components: [
|
|
661
|
+
{
|
|
662
|
+
internalType: "bytes32",
|
|
663
|
+
name: "id",
|
|
664
|
+
type: "bytes32"
|
|
665
|
+
},
|
|
666
|
+
{
|
|
667
|
+
internalType: "address",
|
|
668
|
+
name: "ownerAddress",
|
|
669
|
+
type: "address"
|
|
670
|
+
},
|
|
671
|
+
{
|
|
672
|
+
internalType: "address",
|
|
673
|
+
name: "serverAddress",
|
|
674
|
+
type: "address"
|
|
675
|
+
},
|
|
676
|
+
{
|
|
677
|
+
internalType: "string",
|
|
678
|
+
name: "publicKey",
|
|
679
|
+
type: "string"
|
|
680
|
+
},
|
|
681
|
+
{
|
|
682
|
+
internalType: "string",
|
|
683
|
+
name: "serverUrl",
|
|
684
|
+
type: "string"
|
|
685
|
+
},
|
|
686
|
+
{
|
|
687
|
+
internalType: "uint256",
|
|
688
|
+
name: "registeredAtBlock",
|
|
689
|
+
type: "uint256"
|
|
690
|
+
},
|
|
691
|
+
{
|
|
692
|
+
internalType: "uint256",
|
|
693
|
+
name: "revokedAtBlock",
|
|
694
|
+
type: "uint256"
|
|
695
|
+
}
|
|
696
|
+
],
|
|
697
|
+
internalType: "struct IDataPortabilityServersV2.ServerInfo",
|
|
698
|
+
name: "",
|
|
699
|
+
type: "tuple"
|
|
700
|
+
}
|
|
701
|
+
],
|
|
702
|
+
stateMutability: "view",
|
|
703
|
+
type: "function"
|
|
704
|
+
},
|
|
705
|
+
{
|
|
706
|
+
inputs: [
|
|
707
|
+
{
|
|
708
|
+
internalType: "bytes32",
|
|
709
|
+
name: "role",
|
|
653
710
|
type: "bytes32"
|
|
654
711
|
}
|
|
655
712
|
],
|
|
@@ -664,6 +721,62 @@ const DataPortabilityServersABI = [
|
|
|
664
721
|
stateMutability: "view",
|
|
665
722
|
type: "function"
|
|
666
723
|
},
|
|
724
|
+
{
|
|
725
|
+
inputs: [
|
|
726
|
+
{
|
|
727
|
+
internalType: "bytes32",
|
|
728
|
+
name: "serverId",
|
|
729
|
+
type: "bytes32"
|
|
730
|
+
}
|
|
731
|
+
],
|
|
732
|
+
name: "getServer",
|
|
733
|
+
outputs: [
|
|
734
|
+
{
|
|
735
|
+
components: [
|
|
736
|
+
{
|
|
737
|
+
internalType: "bytes32",
|
|
738
|
+
name: "id",
|
|
739
|
+
type: "bytes32"
|
|
740
|
+
},
|
|
741
|
+
{
|
|
742
|
+
internalType: "address",
|
|
743
|
+
name: "ownerAddress",
|
|
744
|
+
type: "address"
|
|
745
|
+
},
|
|
746
|
+
{
|
|
747
|
+
internalType: "address",
|
|
748
|
+
name: "serverAddress",
|
|
749
|
+
type: "address"
|
|
750
|
+
},
|
|
751
|
+
{
|
|
752
|
+
internalType: "string",
|
|
753
|
+
name: "publicKey",
|
|
754
|
+
type: "string"
|
|
755
|
+
},
|
|
756
|
+
{
|
|
757
|
+
internalType: "string",
|
|
758
|
+
name: "serverUrl",
|
|
759
|
+
type: "string"
|
|
760
|
+
},
|
|
761
|
+
{
|
|
762
|
+
internalType: "uint256",
|
|
763
|
+
name: "registeredAtBlock",
|
|
764
|
+
type: "uint256"
|
|
765
|
+
},
|
|
766
|
+
{
|
|
767
|
+
internalType: "uint256",
|
|
768
|
+
name: "revokedAtBlock",
|
|
769
|
+
type: "uint256"
|
|
770
|
+
}
|
|
771
|
+
],
|
|
772
|
+
internalType: "struct IDataPortabilityServersV2.ServerInfo",
|
|
773
|
+
name: "",
|
|
774
|
+
type: "tuple"
|
|
775
|
+
}
|
|
776
|
+
],
|
|
777
|
+
stateMutability: "view",
|
|
778
|
+
type: "function"
|
|
779
|
+
},
|
|
667
780
|
{
|
|
668
781
|
inputs: [
|
|
669
782
|
{
|
|
@@ -743,6 +856,62 @@ const DataPortabilityServersABI = [
|
|
|
743
856
|
stateMutability: "view",
|
|
744
857
|
type: "function"
|
|
745
858
|
},
|
|
859
|
+
{
|
|
860
|
+
inputs: [
|
|
861
|
+
{
|
|
862
|
+
internalType: "address",
|
|
863
|
+
name: "ownerAddress",
|
|
864
|
+
type: "address"
|
|
865
|
+
}
|
|
866
|
+
],
|
|
867
|
+
name: "ownerServers",
|
|
868
|
+
outputs: [
|
|
869
|
+
{
|
|
870
|
+
components: [
|
|
871
|
+
{
|
|
872
|
+
internalType: "bytes32",
|
|
873
|
+
name: "id",
|
|
874
|
+
type: "bytes32"
|
|
875
|
+
},
|
|
876
|
+
{
|
|
877
|
+
internalType: "address",
|
|
878
|
+
name: "ownerAddress",
|
|
879
|
+
type: "address"
|
|
880
|
+
},
|
|
881
|
+
{
|
|
882
|
+
internalType: "address",
|
|
883
|
+
name: "serverAddress",
|
|
884
|
+
type: "address"
|
|
885
|
+
},
|
|
886
|
+
{
|
|
887
|
+
internalType: "string",
|
|
888
|
+
name: "publicKey",
|
|
889
|
+
type: "string"
|
|
890
|
+
},
|
|
891
|
+
{
|
|
892
|
+
internalType: "string",
|
|
893
|
+
name: "serverUrl",
|
|
894
|
+
type: "string"
|
|
895
|
+
},
|
|
896
|
+
{
|
|
897
|
+
internalType: "uint256",
|
|
898
|
+
name: "registeredAtBlock",
|
|
899
|
+
type: "uint256"
|
|
900
|
+
},
|
|
901
|
+
{
|
|
902
|
+
internalType: "uint256",
|
|
903
|
+
name: "revokedAtBlock",
|
|
904
|
+
type: "uint256"
|
|
905
|
+
}
|
|
906
|
+
],
|
|
907
|
+
internalType: "struct IDataPortabilityServersV2.ServerInfo[]",
|
|
908
|
+
name: "",
|
|
909
|
+
type: "tuple[]"
|
|
910
|
+
}
|
|
911
|
+
],
|
|
912
|
+
stateMutability: "view",
|
|
913
|
+
type: "function"
|
|
914
|
+
},
|
|
746
915
|
{
|
|
747
916
|
inputs: [],
|
|
748
917
|
name: "pause",
|
|
@@ -776,6 +945,52 @@ const DataPortabilityServersABI = [
|
|
|
776
945
|
stateMutability: "view",
|
|
777
946
|
type: "function"
|
|
778
947
|
},
|
|
948
|
+
{
|
|
949
|
+
inputs: [
|
|
950
|
+
{
|
|
951
|
+
components: [
|
|
952
|
+
{
|
|
953
|
+
internalType: "address",
|
|
954
|
+
name: "ownerAddress",
|
|
955
|
+
type: "address"
|
|
956
|
+
},
|
|
957
|
+
{
|
|
958
|
+
internalType: "address",
|
|
959
|
+
name: "serverAddress",
|
|
960
|
+
type: "address"
|
|
961
|
+
},
|
|
962
|
+
{
|
|
963
|
+
internalType: "string",
|
|
964
|
+
name: "publicKey",
|
|
965
|
+
type: "string"
|
|
966
|
+
},
|
|
967
|
+
{
|
|
968
|
+
internalType: "string",
|
|
969
|
+
name: "serverUrl",
|
|
970
|
+
type: "string"
|
|
971
|
+
}
|
|
972
|
+
],
|
|
973
|
+
internalType: "struct IDataPortabilityServersV2.ServerRegistration",
|
|
974
|
+
name: "input",
|
|
975
|
+
type: "tuple"
|
|
976
|
+
},
|
|
977
|
+
{
|
|
978
|
+
internalType: "bytes",
|
|
979
|
+
name: "signature",
|
|
980
|
+
type: "bytes"
|
|
981
|
+
}
|
|
982
|
+
],
|
|
983
|
+
name: "registerServerWithSignature",
|
|
984
|
+
outputs: [
|
|
985
|
+
{
|
|
986
|
+
internalType: "bytes32",
|
|
987
|
+
name: "serverId",
|
|
988
|
+
type: "bytes32"
|
|
989
|
+
}
|
|
990
|
+
],
|
|
991
|
+
stateMutability: "nonpayable",
|
|
992
|
+
type: "function"
|
|
993
|
+
},
|
|
779
994
|
{
|
|
780
995
|
inputs: [
|
|
781
996
|
{
|
|
@@ -813,18 +1028,12 @@ const DataPortabilityServersABI = [
|
|
|
813
1028
|
type: "function"
|
|
814
1029
|
},
|
|
815
1030
|
{
|
|
816
|
-
inputs: [
|
|
817
|
-
|
|
818
|
-
internalType: "address",
|
|
819
|
-
name: "serverAddress",
|
|
820
|
-
type: "address"
|
|
821
|
-
}
|
|
822
|
-
],
|
|
823
|
-
name: "serverAddressToId",
|
|
1031
|
+
inputs: [],
|
|
1032
|
+
name: "serversCount",
|
|
824
1033
|
outputs: [
|
|
825
1034
|
{
|
|
826
1035
|
internalType: "uint256",
|
|
827
|
-
name: "
|
|
1036
|
+
name: "",
|
|
828
1037
|
type: "uint256"
|
|
829
1038
|
}
|
|
830
1039
|
],
|
|
@@ -834,232 +1043,30 @@ const DataPortabilityServersABI = [
|
|
|
834
1043
|
{
|
|
835
1044
|
inputs: [
|
|
836
1045
|
{
|
|
837
|
-
internalType: "
|
|
838
|
-
name: "
|
|
839
|
-
type: "
|
|
1046
|
+
internalType: "bytes4",
|
|
1047
|
+
name: "interfaceId",
|
|
1048
|
+
type: "bytes4"
|
|
840
1049
|
}
|
|
841
1050
|
],
|
|
842
|
-
name: "
|
|
1051
|
+
name: "supportsInterface",
|
|
843
1052
|
outputs: [
|
|
844
1053
|
{
|
|
845
|
-
|
|
846
|
-
{
|
|
847
|
-
internalType: "uint256",
|
|
848
|
-
name: "id",
|
|
849
|
-
type: "uint256"
|
|
850
|
-
},
|
|
851
|
-
{
|
|
852
|
-
internalType: "address",
|
|
853
|
-
name: "owner",
|
|
854
|
-
type: "address"
|
|
855
|
-
},
|
|
856
|
-
{
|
|
857
|
-
internalType: "address",
|
|
858
|
-
name: "serverAddress",
|
|
859
|
-
type: "address"
|
|
860
|
-
},
|
|
861
|
-
{
|
|
862
|
-
internalType: "string",
|
|
863
|
-
name: "publicKey",
|
|
864
|
-
type: "string"
|
|
865
|
-
},
|
|
866
|
-
{
|
|
867
|
-
internalType: "string",
|
|
868
|
-
name: "url",
|
|
869
|
-
type: "string"
|
|
870
|
-
}
|
|
871
|
-
],
|
|
872
|
-
internalType: "struct IDataPortabilityServers.ServerInfo",
|
|
1054
|
+
internalType: "bool",
|
|
873
1055
|
name: "",
|
|
874
|
-
type: "
|
|
1056
|
+
type: "bool"
|
|
875
1057
|
}
|
|
876
1058
|
],
|
|
877
1059
|
stateMutability: "view",
|
|
878
1060
|
type: "function"
|
|
879
1061
|
},
|
|
880
1062
|
{
|
|
881
|
-
inputs: [
|
|
1063
|
+
inputs: [],
|
|
1064
|
+
name: "trustedForwarder",
|
|
1065
|
+
outputs: [
|
|
882
1066
|
{
|
|
883
|
-
internalType: "
|
|
884
|
-
name: "
|
|
885
|
-
type: "
|
|
886
|
-
}
|
|
887
|
-
],
|
|
888
|
-
name: "servers",
|
|
889
|
-
outputs: [
|
|
890
|
-
{
|
|
891
|
-
components: [
|
|
892
|
-
{
|
|
893
|
-
internalType: "uint256",
|
|
894
|
-
name: "id",
|
|
895
|
-
type: "uint256"
|
|
896
|
-
},
|
|
897
|
-
{
|
|
898
|
-
internalType: "address",
|
|
899
|
-
name: "owner",
|
|
900
|
-
type: "address"
|
|
901
|
-
},
|
|
902
|
-
{
|
|
903
|
-
internalType: "address",
|
|
904
|
-
name: "serverAddress",
|
|
905
|
-
type: "address"
|
|
906
|
-
},
|
|
907
|
-
{
|
|
908
|
-
internalType: "string",
|
|
909
|
-
name: "publicKey",
|
|
910
|
-
type: "string"
|
|
911
|
-
},
|
|
912
|
-
{
|
|
913
|
-
internalType: "string",
|
|
914
|
-
name: "url",
|
|
915
|
-
type: "string"
|
|
916
|
-
}
|
|
917
|
-
],
|
|
918
|
-
internalType: "struct IDataPortabilityServers.ServerInfo",
|
|
919
|
-
name: "",
|
|
920
|
-
type: "tuple"
|
|
921
|
-
}
|
|
922
|
-
],
|
|
923
|
-
stateMutability: "view",
|
|
924
|
-
type: "function"
|
|
925
|
-
},
|
|
926
|
-
{
|
|
927
|
-
inputs: [],
|
|
928
|
-
name: "serversCount",
|
|
929
|
-
outputs: [
|
|
930
|
-
{
|
|
931
|
-
internalType: "uint256",
|
|
932
|
-
name: "",
|
|
933
|
-
type: "uint256"
|
|
934
|
-
}
|
|
935
|
-
],
|
|
936
|
-
stateMutability: "view",
|
|
937
|
-
type: "function"
|
|
938
|
-
},
|
|
939
|
-
{
|
|
940
|
-
inputs: [
|
|
941
|
-
{
|
|
942
|
-
internalType: "bytes32",
|
|
943
|
-
name: "role",
|
|
944
|
-
type: "bytes32"
|
|
945
|
-
},
|
|
946
|
-
{
|
|
947
|
-
internalType: "bytes32",
|
|
948
|
-
name: "adminRole",
|
|
949
|
-
type: "bytes32"
|
|
950
|
-
}
|
|
951
|
-
],
|
|
952
|
-
name: "setRoleAdmin",
|
|
953
|
-
outputs: [],
|
|
954
|
-
stateMutability: "nonpayable",
|
|
955
|
-
type: "function"
|
|
956
|
-
},
|
|
957
|
-
{
|
|
958
|
-
inputs: [
|
|
959
|
-
{
|
|
960
|
-
internalType: "address",
|
|
961
|
-
name: "userAddress",
|
|
962
|
-
type: "address"
|
|
963
|
-
},
|
|
964
|
-
{
|
|
965
|
-
internalType: "uint256",
|
|
966
|
-
name: "nonce",
|
|
967
|
-
type: "uint256"
|
|
968
|
-
}
|
|
969
|
-
],
|
|
970
|
-
name: "setUserNonce",
|
|
971
|
-
outputs: [],
|
|
972
|
-
stateMutability: "nonpayable",
|
|
973
|
-
type: "function"
|
|
974
|
-
},
|
|
975
|
-
{
|
|
976
|
-
inputs: [
|
|
977
|
-
{
|
|
978
|
-
internalType: "bytes4",
|
|
979
|
-
name: "interfaceId",
|
|
980
|
-
type: "bytes4"
|
|
981
|
-
}
|
|
982
|
-
],
|
|
983
|
-
name: "supportsInterface",
|
|
984
|
-
outputs: [
|
|
985
|
-
{
|
|
986
|
-
internalType: "bool",
|
|
987
|
-
name: "",
|
|
988
|
-
type: "bool"
|
|
989
|
-
}
|
|
990
|
-
],
|
|
991
|
-
stateMutability: "view",
|
|
992
|
-
type: "function"
|
|
993
|
-
},
|
|
994
|
-
{
|
|
995
|
-
inputs: [
|
|
996
|
-
{
|
|
997
|
-
internalType: "uint256",
|
|
998
|
-
name: "serverId",
|
|
999
|
-
type: "uint256"
|
|
1000
|
-
}
|
|
1001
|
-
],
|
|
1002
|
-
name: "trustServer",
|
|
1003
|
-
outputs: [],
|
|
1004
|
-
stateMutability: "nonpayable",
|
|
1005
|
-
type: "function"
|
|
1006
|
-
},
|
|
1007
|
-
{
|
|
1008
|
-
inputs: [
|
|
1009
|
-
{
|
|
1010
|
-
internalType: "address",
|
|
1011
|
-
name: "userAddress",
|
|
1012
|
-
type: "address"
|
|
1013
|
-
},
|
|
1014
|
-
{
|
|
1015
|
-
internalType: "uint256",
|
|
1016
|
-
name: "serverId",
|
|
1017
|
-
type: "uint256"
|
|
1018
|
-
}
|
|
1019
|
-
],
|
|
1020
|
-
name: "trustServerByManager",
|
|
1021
|
-
outputs: [],
|
|
1022
|
-
stateMutability: "nonpayable",
|
|
1023
|
-
type: "function"
|
|
1024
|
-
},
|
|
1025
|
-
{
|
|
1026
|
-
inputs: [
|
|
1027
|
-
{
|
|
1028
|
-
components: [
|
|
1029
|
-
{
|
|
1030
|
-
internalType: "uint256",
|
|
1031
|
-
name: "nonce",
|
|
1032
|
-
type: "uint256"
|
|
1033
|
-
},
|
|
1034
|
-
{
|
|
1035
|
-
internalType: "uint256",
|
|
1036
|
-
name: "serverId",
|
|
1037
|
-
type: "uint256"
|
|
1038
|
-
}
|
|
1039
|
-
],
|
|
1040
|
-
internalType: "struct IDataPortabilityServers.TrustServerInput",
|
|
1041
|
-
name: "trustServerInput",
|
|
1042
|
-
type: "tuple"
|
|
1043
|
-
},
|
|
1044
|
-
{
|
|
1045
|
-
internalType: "bytes",
|
|
1046
|
-
name: "signature",
|
|
1047
|
-
type: "bytes"
|
|
1048
|
-
}
|
|
1049
|
-
],
|
|
1050
|
-
name: "trustServerWithSignature",
|
|
1051
|
-
outputs: [],
|
|
1052
|
-
stateMutability: "nonpayable",
|
|
1053
|
-
type: "function"
|
|
1054
|
-
},
|
|
1055
|
-
{
|
|
1056
|
-
inputs: [],
|
|
1057
|
-
name: "trustedForwarder",
|
|
1058
|
-
outputs: [
|
|
1059
|
-
{
|
|
1060
|
-
internalType: "address",
|
|
1061
|
-
name: "",
|
|
1062
|
-
type: "address"
|
|
1067
|
+
internalType: "address",
|
|
1068
|
+
name: "",
|
|
1069
|
+
type: "address"
|
|
1063
1070
|
}
|
|
1064
1071
|
],
|
|
1065
1072
|
stateMutability: "view",
|
|
@@ -1072,67 +1079,6 @@ const DataPortabilityServersABI = [
|
|
|
1072
1079
|
stateMutability: "nonpayable",
|
|
1073
1080
|
type: "function"
|
|
1074
1081
|
},
|
|
1075
|
-
{
|
|
1076
|
-
inputs: [
|
|
1077
|
-
{
|
|
1078
|
-
internalType: "uint256",
|
|
1079
|
-
name: "serverId",
|
|
1080
|
-
type: "uint256"
|
|
1081
|
-
}
|
|
1082
|
-
],
|
|
1083
|
-
name: "untrustServer",
|
|
1084
|
-
outputs: [],
|
|
1085
|
-
stateMutability: "nonpayable",
|
|
1086
|
-
type: "function"
|
|
1087
|
-
},
|
|
1088
|
-
{
|
|
1089
|
-
inputs: [
|
|
1090
|
-
{
|
|
1091
|
-
components: [
|
|
1092
|
-
{
|
|
1093
|
-
internalType: "uint256",
|
|
1094
|
-
name: "nonce",
|
|
1095
|
-
type: "uint256"
|
|
1096
|
-
},
|
|
1097
|
-
{
|
|
1098
|
-
internalType: "uint256",
|
|
1099
|
-
name: "serverId",
|
|
1100
|
-
type: "uint256"
|
|
1101
|
-
}
|
|
1102
|
-
],
|
|
1103
|
-
internalType: "struct IDataPortabilityServers.UntrustServerInput",
|
|
1104
|
-
name: "untrustServerInput",
|
|
1105
|
-
type: "tuple"
|
|
1106
|
-
},
|
|
1107
|
-
{
|
|
1108
|
-
internalType: "bytes",
|
|
1109
|
-
name: "signature",
|
|
1110
|
-
type: "bytes"
|
|
1111
|
-
}
|
|
1112
|
-
],
|
|
1113
|
-
name: "untrustServerWithSignature",
|
|
1114
|
-
outputs: [],
|
|
1115
|
-
stateMutability: "nonpayable",
|
|
1116
|
-
type: "function"
|
|
1117
|
-
},
|
|
1118
|
-
{
|
|
1119
|
-
inputs: [
|
|
1120
|
-
{
|
|
1121
|
-
internalType: "uint256",
|
|
1122
|
-
name: "serverId",
|
|
1123
|
-
type: "uint256"
|
|
1124
|
-
},
|
|
1125
|
-
{
|
|
1126
|
-
internalType: "string",
|
|
1127
|
-
name: "url",
|
|
1128
|
-
type: "string"
|
|
1129
|
-
}
|
|
1130
|
-
],
|
|
1131
|
-
name: "updateServer",
|
|
1132
|
-
outputs: [],
|
|
1133
|
-
stateMutability: "nonpayable",
|
|
1134
|
-
type: "function"
|
|
1135
|
-
},
|
|
1136
1082
|
{
|
|
1137
1083
|
inputs: [
|
|
1138
1084
|
{
|
|
@@ -1165,57 +1111,8 @@ const DataPortabilityServersABI = [
|
|
|
1165
1111
|
type: "function"
|
|
1166
1112
|
},
|
|
1167
1113
|
{
|
|
1168
|
-
inputs: [
|
|
1169
|
-
|
|
1170
|
-
internalType: "address",
|
|
1171
|
-
name: "userAddress",
|
|
1172
|
-
type: "address"
|
|
1173
|
-
}
|
|
1174
|
-
],
|
|
1175
|
-
name: "userNonce",
|
|
1176
|
-
outputs: [
|
|
1177
|
-
{
|
|
1178
|
-
internalType: "uint256",
|
|
1179
|
-
name: "",
|
|
1180
|
-
type: "uint256"
|
|
1181
|
-
}
|
|
1182
|
-
],
|
|
1183
|
-
stateMutability: "view",
|
|
1184
|
-
type: "function"
|
|
1185
|
-
},
|
|
1186
|
-
{
|
|
1187
|
-
inputs: [
|
|
1188
|
-
{
|
|
1189
|
-
internalType: "address",
|
|
1190
|
-
name: "userAddress",
|
|
1191
|
-
type: "address"
|
|
1192
|
-
},
|
|
1193
|
-
{
|
|
1194
|
-
internalType: "uint256",
|
|
1195
|
-
name: "serverIndex",
|
|
1196
|
-
type: "uint256"
|
|
1197
|
-
}
|
|
1198
|
-
],
|
|
1199
|
-
name: "userServerIdsAt",
|
|
1200
|
-
outputs: [
|
|
1201
|
-
{
|
|
1202
|
-
internalType: "uint256",
|
|
1203
|
-
name: "",
|
|
1204
|
-
type: "uint256"
|
|
1205
|
-
}
|
|
1206
|
-
],
|
|
1207
|
-
stateMutability: "view",
|
|
1208
|
-
type: "function"
|
|
1209
|
-
},
|
|
1210
|
-
{
|
|
1211
|
-
inputs: [
|
|
1212
|
-
{
|
|
1213
|
-
internalType: "address",
|
|
1214
|
-
name: "userAddress",
|
|
1215
|
-
type: "address"
|
|
1216
|
-
}
|
|
1217
|
-
],
|
|
1218
|
-
name: "userServerIdsLength",
|
|
1114
|
+
inputs: [],
|
|
1115
|
+
name: "version",
|
|
1219
1116
|
outputs: [
|
|
1220
1117
|
{
|
|
1221
1118
|
internalType: "uint256",
|
|
@@ -1223,167 +1120,7 @@ const DataPortabilityServersABI = [
|
|
|
1223
1120
|
type: "uint256"
|
|
1224
1121
|
}
|
|
1225
1122
|
],
|
|
1226
|
-
stateMutability: "
|
|
1227
|
-
type: "function"
|
|
1228
|
-
},
|
|
1229
|
-
{
|
|
1230
|
-
inputs: [
|
|
1231
|
-
{
|
|
1232
|
-
internalType: "address",
|
|
1233
|
-
name: "userAddress",
|
|
1234
|
-
type: "address"
|
|
1235
|
-
}
|
|
1236
|
-
],
|
|
1237
|
-
name: "userServerIdsValues",
|
|
1238
|
-
outputs: [
|
|
1239
|
-
{
|
|
1240
|
-
internalType: "uint256[]",
|
|
1241
|
-
name: "",
|
|
1242
|
-
type: "uint256[]"
|
|
1243
|
-
}
|
|
1244
|
-
],
|
|
1245
|
-
stateMutability: "view",
|
|
1246
|
-
type: "function"
|
|
1247
|
-
},
|
|
1248
|
-
{
|
|
1249
|
-
inputs: [
|
|
1250
|
-
{
|
|
1251
|
-
internalType: "address",
|
|
1252
|
-
name: "userAddress",
|
|
1253
|
-
type: "address"
|
|
1254
|
-
}
|
|
1255
|
-
],
|
|
1256
|
-
name: "userServerValues",
|
|
1257
|
-
outputs: [
|
|
1258
|
-
{
|
|
1259
|
-
components: [
|
|
1260
|
-
{
|
|
1261
|
-
internalType: "uint256",
|
|
1262
|
-
name: "id",
|
|
1263
|
-
type: "uint256"
|
|
1264
|
-
},
|
|
1265
|
-
{
|
|
1266
|
-
internalType: "address",
|
|
1267
|
-
name: "owner",
|
|
1268
|
-
type: "address"
|
|
1269
|
-
},
|
|
1270
|
-
{
|
|
1271
|
-
internalType: "address",
|
|
1272
|
-
name: "serverAddress",
|
|
1273
|
-
type: "address"
|
|
1274
|
-
},
|
|
1275
|
-
{
|
|
1276
|
-
internalType: "string",
|
|
1277
|
-
name: "publicKey",
|
|
1278
|
-
type: "string"
|
|
1279
|
-
},
|
|
1280
|
-
{
|
|
1281
|
-
internalType: "string",
|
|
1282
|
-
name: "url",
|
|
1283
|
-
type: "string"
|
|
1284
|
-
},
|
|
1285
|
-
{
|
|
1286
|
-
internalType: "uint256",
|
|
1287
|
-
name: "startBlock",
|
|
1288
|
-
type: "uint256"
|
|
1289
|
-
},
|
|
1290
|
-
{
|
|
1291
|
-
internalType: "uint256",
|
|
1292
|
-
name: "endBlock",
|
|
1293
|
-
type: "uint256"
|
|
1294
|
-
}
|
|
1295
|
-
],
|
|
1296
|
-
internalType: "struct IDataPortabilityServers.TrustedServerInfo[]",
|
|
1297
|
-
name: "serversInfo",
|
|
1298
|
-
type: "tuple[]"
|
|
1299
|
-
}
|
|
1300
|
-
],
|
|
1301
|
-
stateMutability: "view",
|
|
1302
|
-
type: "function"
|
|
1303
|
-
},
|
|
1304
|
-
{
|
|
1305
|
-
inputs: [
|
|
1306
|
-
{
|
|
1307
|
-
internalType: "address",
|
|
1308
|
-
name: "userAddress",
|
|
1309
|
-
type: "address"
|
|
1310
|
-
},
|
|
1311
|
-
{
|
|
1312
|
-
internalType: "uint256",
|
|
1313
|
-
name: "serverId",
|
|
1314
|
-
type: "uint256"
|
|
1315
|
-
}
|
|
1316
|
-
],
|
|
1317
|
-
name: "userServers",
|
|
1318
|
-
outputs: [
|
|
1319
|
-
{
|
|
1320
|
-
components: [
|
|
1321
|
-
{
|
|
1322
|
-
internalType: "uint256",
|
|
1323
|
-
name: "id",
|
|
1324
|
-
type: "uint256"
|
|
1325
|
-
},
|
|
1326
|
-
{
|
|
1327
|
-
internalType: "address",
|
|
1328
|
-
name: "owner",
|
|
1329
|
-
type: "address"
|
|
1330
|
-
},
|
|
1331
|
-
{
|
|
1332
|
-
internalType: "address",
|
|
1333
|
-
name: "serverAddress",
|
|
1334
|
-
type: "address"
|
|
1335
|
-
},
|
|
1336
|
-
{
|
|
1337
|
-
internalType: "string",
|
|
1338
|
-
name: "publicKey",
|
|
1339
|
-
type: "string"
|
|
1340
|
-
},
|
|
1341
|
-
{
|
|
1342
|
-
internalType: "string",
|
|
1343
|
-
name: "url",
|
|
1344
|
-
type: "string"
|
|
1345
|
-
},
|
|
1346
|
-
{
|
|
1347
|
-
internalType: "uint256",
|
|
1348
|
-
name: "startBlock",
|
|
1349
|
-
type: "uint256"
|
|
1350
|
-
},
|
|
1351
|
-
{
|
|
1352
|
-
internalType: "uint256",
|
|
1353
|
-
name: "endBlock",
|
|
1354
|
-
type: "uint256"
|
|
1355
|
-
}
|
|
1356
|
-
],
|
|
1357
|
-
internalType: "struct IDataPortabilityServers.TrustedServerInfo",
|
|
1358
|
-
name: "",
|
|
1359
|
-
type: "tuple"
|
|
1360
|
-
}
|
|
1361
|
-
],
|
|
1362
|
-
stateMutability: "view",
|
|
1363
|
-
type: "function"
|
|
1364
|
-
},
|
|
1365
|
-
{
|
|
1366
|
-
inputs: [
|
|
1367
|
-
{
|
|
1368
|
-
internalType: "address",
|
|
1369
|
-
name: "userAddress",
|
|
1370
|
-
type: "address"
|
|
1371
|
-
}
|
|
1372
|
-
],
|
|
1373
|
-
name: "users",
|
|
1374
|
-
outputs: [
|
|
1375
|
-
{
|
|
1376
|
-
internalType: "uint256",
|
|
1377
|
-
name: "nonce",
|
|
1378
|
-
type: "uint256"
|
|
1379
|
-
},
|
|
1380
|
-
{
|
|
1381
|
-
internalType: "uint256[]",
|
|
1382
|
-
name: "trustedServerIds",
|
|
1383
|
-
type: "uint256[]"
|
|
1384
|
-
}
|
|
1385
|
-
],
|
|
1386
|
-
stateMutability: "view",
|
|
1123
|
+
stateMutability: "pure",
|
|
1387
1124
|
type: "function"
|
|
1388
1125
|
}
|
|
1389
1126
|
];
|