@opendatalabs/vana-sdk 3.19.1 → 3.20.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (38) hide show
  1. package/README.md +49 -0
  2. package/dist/config/contracts.config.cjs +8 -3
  3. package/dist/config/contracts.config.cjs.map +1 -1
  4. package/dist/config/contracts.config.js +8 -3
  5. package/dist/config/contracts.config.js.map +1 -1
  6. package/dist/direct/controller.cjs +3 -2
  7. package/dist/direct/controller.cjs.map +1 -1
  8. package/dist/direct/controller.d.ts +19 -2
  9. package/dist/direct/controller.js +3 -2
  10. package/dist/direct/controller.js.map +1 -1
  11. package/dist/generated/abi/DataPortabilityPermissionsImplementation.cjs +146 -512
  12. package/dist/generated/abi/DataPortabilityPermissionsImplementation.cjs.map +1 -1
  13. package/dist/generated/abi/DataPortabilityPermissionsImplementation.d.ts +136 -412
  14. package/dist/generated/abi/DataPortabilityPermissionsImplementation.js +146 -512
  15. package/dist/generated/abi/DataPortabilityPermissionsImplementation.js.map +1 -1
  16. package/dist/generated/abi/DataPortabilityServersImplementation.cjs +391 -654
  17. package/dist/generated/abi/DataPortabilityServersImplementation.cjs.map +1 -1
  18. package/dist/generated/abi/DataPortabilityServersImplementation.d.ts +302 -505
  19. package/dist/generated/abi/DataPortabilityServersImplementation.js +391 -654
  20. package/dist/generated/abi/DataPortabilityServersImplementation.js.map +1 -1
  21. package/dist/generated/abi/index.d.ts +433 -912
  22. package/dist/generated/addresses.cjs +8 -8
  23. package/dist/generated/addresses.cjs.map +1 -1
  24. package/dist/generated/addresses.d.ts +8 -8
  25. package/dist/generated/addresses.js +8 -8
  26. package/dist/generated/addresses.js.map +1 -1
  27. package/dist/index.browser.js +556 -1185
  28. package/dist/index.browser.js.map +2 -2
  29. package/dist/index.node.cjs +556 -1185
  30. package/dist/index.node.cjs.map +2 -2
  31. package/dist/index.node.js +556 -1185
  32. package/dist/index.node.js.map +2 -2
  33. package/dist/server.cjs +28 -2
  34. package/dist/server.cjs.map +1 -1
  35. package/dist/server.d.ts +2 -0
  36. package/dist/server.js +29 -1
  37. package/dist/server.js.map +1 -1
  38. package/package.json +1 -1
@@ -81,7 +81,7 @@ const DataPortabilityPermissionsABI = [
81
81
  },
82
82
  {
83
83
  inputs: [],
84
- name: "EmptyGrant",
84
+ name: "EmptyScopes",
85
85
  type: "error"
86
86
  },
87
87
  {
@@ -99,73 +99,41 @@ const DataPortabilityPermissionsABI = [
99
99
  name: "FailedInnerCall",
100
100
  type: "error"
101
101
  },
102
- {
103
- inputs: [],
104
- name: "GranteeNotFound",
105
- type: "error"
106
- },
107
102
  {
108
103
  inputs: [
109
104
  {
110
- internalType: "uint256",
111
- name: "permissionId",
112
- type: "uint256"
113
- }
114
- ],
115
- name: "InactivePermission",
116
- type: "error"
117
- },
118
- {
119
- inputs: [],
120
- name: "InvalidInitialization",
121
- type: "error"
122
- },
123
- {
124
- inputs: [
125
- {
126
- internalType: "uint256",
127
- name: "expectedNonce",
128
- type: "uint256"
105
+ internalType: "address",
106
+ name: "claimed",
107
+ type: "address"
129
108
  },
130
109
  {
131
- internalType: "uint256",
132
- name: "providedNonce",
133
- type: "uint256"
110
+ internalType: "address",
111
+ name: "actual",
112
+ type: "address"
134
113
  }
135
114
  ],
136
- name: "InvalidNonce",
115
+ name: "GrantorMismatch",
137
116
  type: "error"
138
117
  },
139
118
  {
140
119
  inputs: [
141
120
  {
142
121
  internalType: "uint256",
143
- name: "filesLength",
122
+ name: "currentVersion",
144
123
  type: "uint256"
145
124
  },
146
125
  {
147
126
  internalType: "uint256",
148
- name: "permissionsLength",
127
+ name: "providedVersion",
149
128
  type: "uint256"
150
129
  }
151
130
  ],
152
- name: "InvalidPermissionsLength",
131
+ name: "InvalidGrantVersion",
153
132
  type: "error"
154
133
  },
155
134
  {
156
- inputs: [
157
- {
158
- internalType: "uint256",
159
- name: "filesLength",
160
- type: "uint256"
161
- },
162
- {
163
- internalType: "uint256",
164
- name: "schemaIdsLength",
165
- type: "uint256"
166
- }
167
- ],
168
- name: "InvalidSchemaIdsLength",
135
+ inputs: [],
136
+ name: "InvalidInitialization",
169
137
  type: "error"
170
138
  },
171
139
  {
@@ -173,43 +141,11 @@ const DataPortabilityPermissionsABI = [
173
141
  name: "InvalidSignature",
174
142
  type: "error"
175
143
  },
176
- {
177
- inputs: [
178
- {
179
- internalType: "address",
180
- name: "fileOwner",
181
- type: "address"
182
- },
183
- {
184
- internalType: "address",
185
- name: "requestor",
186
- type: "address"
187
- }
188
- ],
189
- name: "NotFileOwner",
190
- type: "error"
191
- },
192
144
  {
193
145
  inputs: [],
194
146
  name: "NotInitializing",
195
147
  type: "error"
196
148
  },
197
- {
198
- inputs: [
199
- {
200
- internalType: "address",
201
- name: "permissionOwner",
202
- type: "address"
203
- },
204
- {
205
- internalType: "address",
206
- name: "requestor",
207
- type: "address"
208
- }
209
- ],
210
- name: "NotPermissionGrantor",
211
- type: "error"
212
- },
213
149
  {
214
150
  inputs: [],
215
151
  name: "UUPSUnauthorizedCallContext",
@@ -231,6 +167,30 @@ const DataPortabilityPermissionsABI = [
231
167
  name: "ZeroAddress",
232
168
  type: "error"
233
169
  },
170
+ {
171
+ inputs: [],
172
+ name: "ZeroGranteeId",
173
+ type: "error"
174
+ },
175
+ {
176
+ anonymous: false,
177
+ inputs: [
178
+ {
179
+ indexed: true,
180
+ internalType: "address",
181
+ name: "previous",
182
+ type: "address"
183
+ },
184
+ {
185
+ indexed: true,
186
+ internalType: "address",
187
+ name: "current",
188
+ type: "address"
189
+ }
190
+ ],
191
+ name: "DataPortabilityServersUpdated",
192
+ type: "event"
193
+ },
234
194
  {
235
195
  anonymous: false,
236
196
  inputs: [],
@@ -268,36 +228,42 @@ const DataPortabilityPermissionsABI = [
268
228
  inputs: [
269
229
  {
270
230
  indexed: true,
271
- internalType: "uint256",
272
- name: "permissionId",
273
- type: "uint256"
231
+ internalType: "bytes32",
232
+ name: "id",
233
+ type: "bytes32"
274
234
  },
275
235
  {
276
236
  indexed: true,
277
237
  internalType: "address",
278
- name: "user",
238
+ name: "grantorAddress",
279
239
  type: "address"
280
240
  },
281
241
  {
282
242
  indexed: true,
283
- internalType: "uint256",
243
+ internalType: "bytes32",
284
244
  name: "granteeId",
285
- type: "uint256"
245
+ type: "bytes32"
286
246
  },
287
247
  {
288
248
  indexed: false,
289
- internalType: "string",
290
- name: "grant",
291
- type: "string"
249
+ internalType: "string[]",
250
+ name: "scopes",
251
+ type: "string[]"
292
252
  },
293
253
  {
294
254
  indexed: false,
295
- internalType: "uint256[]",
296
- name: "fileIds",
297
- type: "uint256[]"
255
+ internalType: "uint256",
256
+ name: "grantVersion",
257
+ type: "uint256"
258
+ },
259
+ {
260
+ indexed: false,
261
+ internalType: "uint256",
262
+ name: "expiresAt",
263
+ type: "uint256"
298
264
  }
299
265
  ],
300
- name: "PermissionAdded",
266
+ name: "PermissionSet",
301
267
  type: "event"
302
268
  },
303
269
  {
@@ -305,12 +271,24 @@ const DataPortabilityPermissionsABI = [
305
271
  inputs: [
306
272
  {
307
273
  indexed: true,
308
- internalType: "uint256",
309
- name: "permissionId",
310
- type: "uint256"
274
+ internalType: "bytes32",
275
+ name: "id",
276
+ type: "bytes32"
277
+ },
278
+ {
279
+ indexed: true,
280
+ internalType: "address",
281
+ name: "grantorAddress",
282
+ type: "address"
283
+ },
284
+ {
285
+ indexed: true,
286
+ internalType: "address",
287
+ name: "delegate",
288
+ type: "address"
311
289
  }
312
290
  ],
313
- name: "PermissionRevoked",
291
+ name: "PermissionSignedByDelegate",
314
292
  type: "event"
315
293
  },
316
294
  {
@@ -429,7 +407,7 @@ const DataPortabilityPermissionsABI = [
429
407
  },
430
408
  {
431
409
  inputs: [],
432
- name: "MAINTAINER_ROLE",
410
+ name: "GRANT_REGISTRATION_TYPEHASH",
433
411
  outputs: [
434
412
  {
435
413
  internalType: "bytes32",
@@ -458,42 +436,42 @@ const DataPortabilityPermissionsABI = [
458
436
  {
459
437
  components: [
460
438
  {
461
- internalType: "uint256",
462
- name: "nonce",
463
- type: "uint256"
439
+ internalType: "address",
440
+ name: "grantorAddress",
441
+ type: "address"
464
442
  },
465
443
  {
466
- internalType: "uint256",
444
+ internalType: "bytes32",
467
445
  name: "granteeId",
468
- type: "uint256"
446
+ type: "bytes32"
469
447
  },
470
448
  {
471
- internalType: "string",
472
- name: "grant",
473
- type: "string"
449
+ internalType: "string[]",
450
+ name: "scopes",
451
+ type: "string[]"
474
452
  },
475
453
  {
476
- internalType: "uint256[]",
477
- name: "fileIds",
478
- type: "uint256[]"
454
+ internalType: "uint256",
455
+ name: "grantVersion",
456
+ type: "uint256"
457
+ },
458
+ {
459
+ internalType: "uint256",
460
+ name: "expiresAt",
461
+ type: "uint256"
479
462
  }
480
463
  ],
481
- internalType: "struct IDataPortabilityPermissions.PermissionInput",
482
- name: "permissionInput",
464
+ internalType: "struct IDataPortabilityPermissionsV2.AddPermissionInput",
465
+ name: "input",
483
466
  type: "tuple"
484
- },
485
- {
486
- internalType: "bytes",
487
- name: "signature",
488
- type: "bytes"
489
467
  }
490
468
  ],
491
469
  name: "addPermission",
492
470
  outputs: [
493
471
  {
494
- internalType: "uint256",
472
+ internalType: "bytes32",
495
473
  name: "",
496
- type: "uint256"
474
+ type: "bytes32"
497
475
  }
498
476
  ],
499
477
  stateMutability: "nonpayable",
@@ -504,65 +482,33 @@ const DataPortabilityPermissionsABI = [
504
482
  {
505
483
  components: [
506
484
  {
507
- internalType: "uint256",
508
- name: "nonce",
509
- type: "uint256"
485
+ internalType: "address",
486
+ name: "grantorAddress",
487
+ type: "address"
510
488
  },
511
489
  {
512
- internalType: "uint256",
490
+ internalType: "bytes32",
513
491
  name: "granteeId",
514
- type: "uint256"
515
- },
516
- {
517
- internalType: "string",
518
- name: "grant",
519
- type: "string"
492
+ type: "bytes32"
520
493
  },
521
494
  {
522
495
  internalType: "string[]",
523
- name: "fileUrls",
496
+ name: "scopes",
524
497
  type: "string[]"
525
498
  },
526
499
  {
527
- internalType: "uint256[]",
528
- name: "schemaIds",
529
- type: "uint256[]"
530
- },
531
- {
532
- internalType: "address",
533
- name: "serverAddress",
534
- type: "address"
535
- },
536
- {
537
- internalType: "string",
538
- name: "serverUrl",
539
- type: "string"
540
- },
541
- {
542
- internalType: "string",
543
- name: "serverPublicKey",
544
- type: "string"
500
+ internalType: "uint256",
501
+ name: "grantVersion",
502
+ type: "uint256"
545
503
  },
546
504
  {
547
- components: [
548
- {
549
- internalType: "address",
550
- name: "account",
551
- type: "address"
552
- },
553
- {
554
- internalType: "string",
555
- name: "key",
556
- type: "string"
557
- }
558
- ],
559
- internalType: "struct IDataRegistry.Permission[][]",
560
- name: "filePermissions",
561
- type: "tuple[][]"
505
+ internalType: "uint256",
506
+ name: "expiresAt",
507
+ type: "uint256"
562
508
  }
563
509
  ],
564
- internalType: "struct IDataPortabilityPermissions.ServerFilesAndPermissionInput",
565
- name: "serverFilesAndPermissionInput",
510
+ internalType: "struct IDataPortabilityPermissionsV2.AddPermissionInput",
511
+ name: "input",
566
512
  type: "tuple"
567
513
  },
568
514
  {
@@ -571,36 +517,23 @@ const DataPortabilityPermissionsABI = [
571
517
  type: "bytes"
572
518
  }
573
519
  ],
574
- name: "addServerFilesAndPermissions",
520
+ name: "addPermissionWithSignature",
575
521
  outputs: [
576
522
  {
577
- internalType: "uint256",
523
+ internalType: "bytes32",
578
524
  name: "",
579
- type: "uint256"
525
+ type: "bytes32"
580
526
  }
581
527
  ],
582
528
  stateMutability: "nonpayable",
583
529
  type: "function"
584
530
  },
585
- {
586
- inputs: [],
587
- name: "dataPortabilityGrantees",
588
- outputs: [
589
- {
590
- internalType: "contract IDataPortabilityGrantees",
591
- name: "",
592
- type: "address"
593
- }
594
- ],
595
- stateMutability: "view",
596
- type: "function"
597
- },
598
531
  {
599
532
  inputs: [],
600
533
  name: "dataPortabilityServers",
601
534
  outputs: [
602
535
  {
603
- internalType: "contract IDataPortabilityServers",
536
+ internalType: "contract IDataPortabilityServersV2",
604
537
  name: "",
605
538
  type: "address"
606
539
  }
@@ -610,12 +543,12 @@ const DataPortabilityPermissionsABI = [
610
543
  },
611
544
  {
612
545
  inputs: [],
613
- name: "dataRegistry",
546
+ name: "domainSeparator",
614
547
  outputs: [
615
548
  {
616
- internalType: "contract IDataRegistry",
549
+ internalType: "bytes32",
617
550
  name: "",
618
- type: "address"
551
+ type: "bytes32"
619
552
  }
620
553
  ],
621
554
  stateMutability: "view",
@@ -667,17 +600,17 @@ const DataPortabilityPermissionsABI = [
667
600
  {
668
601
  inputs: [
669
602
  {
670
- internalType: "uint256",
671
- name: "fileId",
672
- type: "uint256"
603
+ internalType: "bytes32",
604
+ name: "role",
605
+ type: "bytes32"
673
606
  }
674
607
  ],
675
- name: "filePermissionIds",
608
+ name: "getRoleAdmin",
676
609
  outputs: [
677
610
  {
678
- internalType: "uint256[]",
611
+ internalType: "bytes32",
679
612
  name: "",
680
- type: "uint256[]"
613
+ type: "bytes32"
681
614
  }
682
615
  ],
683
616
  stateMutability: "view",
@@ -686,31 +619,17 @@ const DataPortabilityPermissionsABI = [
686
619
  {
687
620
  inputs: [
688
621
  {
689
- internalType: "uint256",
690
- name: "fileId",
691
- type: "uint256"
692
- }
693
- ],
694
- name: "filePermissions",
695
- outputs: [
696
- {
697
- internalType: "uint256[]",
698
- name: "",
699
- type: "uint256[]"
700
- }
701
- ],
702
- stateMutability: "view",
703
- type: "function"
704
- },
705
- {
706
- inputs: [
622
+ internalType: "address",
623
+ name: "grantorAddress",
624
+ type: "address"
625
+ },
707
626
  {
708
627
  internalType: "bytes32",
709
- name: "role",
628
+ name: "granteeId",
710
629
  type: "bytes32"
711
630
  }
712
631
  ],
713
- name: "getRoleAdmin",
632
+ name: "grantId",
714
633
  outputs: [
715
634
  {
716
635
  internalType: "bytes32",
@@ -765,30 +684,10 @@ const DataPortabilityPermissionsABI = [
765
684
  },
766
685
  {
767
686
  inputs: [
768
- {
769
- internalType: "address",
770
- name: "trustedForwarderAddress",
771
- type: "address"
772
- },
773
687
  {
774
688
  internalType: "address",
775
689
  name: "ownerAddress",
776
690
  type: "address"
777
- },
778
- {
779
- internalType: "contract IDataRegistry",
780
- name: "dataRegistryAddress",
781
- type: "address"
782
- },
783
- {
784
- internalType: "contract IDataPortabilityServers",
785
- name: "serversContractAddr",
786
- type: "address"
787
- },
788
- {
789
- internalType: "contract IDataPortabilityGrantees",
790
- name: "granteesContractAddr",
791
- type: "address"
792
691
  }
793
692
  ],
794
693
  name: "initialize",
@@ -799,12 +698,12 @@ const DataPortabilityPermissionsABI = [
799
698
  {
800
699
  inputs: [
801
700
  {
802
- internalType: "address",
803
- name: "forwarder",
804
- type: "address"
701
+ internalType: "bytes32",
702
+ name: "id",
703
+ type: "bytes32"
805
704
  }
806
705
  ],
807
- name: "isTrustedForwarder",
706
+ name: "isActive",
808
707
  outputs: [
809
708
  {
810
709
  internalType: "bool",
@@ -838,76 +737,42 @@ const DataPortabilityPermissionsABI = [
838
737
  {
839
738
  inputs: [
840
739
  {
841
- internalType: "uint256",
842
- name: "permissionId",
843
- type: "uint256"
844
- }
845
- ],
846
- name: "permissionFileIds",
847
- outputs: [
848
- {
849
- internalType: "uint256[]",
850
- name: "",
851
- type: "uint256[]"
852
- }
853
- ],
854
- stateMutability: "view",
855
- type: "function"
856
- },
857
- {
858
- inputs: [
859
- {
860
- internalType: "uint256",
861
- name: "permissionId",
862
- type: "uint256"
740
+ internalType: "bytes32",
741
+ name: "id",
742
+ type: "bytes32"
863
743
  }
864
744
  ],
865
745
  name: "permissions",
866
746
  outputs: [
867
747
  {
868
748
  components: [
869
- {
870
- internalType: "uint256",
871
- name: "id",
872
- type: "uint256"
873
- },
874
749
  {
875
750
  internalType: "address",
876
- name: "grantor",
751
+ name: "grantorAddress",
877
752
  type: "address"
878
753
  },
879
754
  {
880
- internalType: "uint256",
881
- name: "nonce",
882
- type: "uint256"
883
- },
884
- {
885
- internalType: "uint256",
755
+ internalType: "bytes32",
886
756
  name: "granteeId",
887
- type: "uint256"
757
+ type: "bytes32"
888
758
  },
889
759
  {
890
- internalType: "string",
891
- name: "grant",
892
- type: "string"
760
+ internalType: "string[]",
761
+ name: "scopes",
762
+ type: "string[]"
893
763
  },
894
764
  {
895
765
  internalType: "uint256",
896
- name: "startBlock",
766
+ name: "grantVersion",
897
767
  type: "uint256"
898
768
  },
899
769
  {
900
770
  internalType: "uint256",
901
- name: "endBlock",
771
+ name: "expiresAt",
902
772
  type: "uint256"
903
- },
904
- {
905
- internalType: "uint256[]",
906
- name: "fileIds",
907
- type: "uint256[]"
908
773
  }
909
774
  ],
910
- internalType: "struct IDataPortabilityPermissions.PermissionInfo",
775
+ internalType: "struct IDataPortabilityPermissionsV2.Permission",
911
776
  name: "",
912
777
  type: "tuple"
913
778
  }
@@ -915,19 +780,6 @@ const DataPortabilityPermissionsABI = [
915
780
  stateMutability: "view",
916
781
  type: "function"
917
782
  },
918
- {
919
- inputs: [],
920
- name: "permissionsCount",
921
- outputs: [
922
- {
923
- internalType: "uint256",
924
- name: "",
925
- type: "uint256"
926
- }
927
- ],
928
- stateMutability: "view",
929
- type: "function"
930
- },
931
783
  {
932
784
  inputs: [],
933
785
  name: "proxiableUUID",
@@ -959,49 +811,6 @@ const DataPortabilityPermissionsABI = [
959
811
  stateMutability: "nonpayable",
960
812
  type: "function"
961
813
  },
962
- {
963
- inputs: [
964
- {
965
- internalType: "uint256",
966
- name: "permissionId",
967
- type: "uint256"
968
- }
969
- ],
970
- name: "revokePermission",
971
- outputs: [],
972
- stateMutability: "nonpayable",
973
- type: "function"
974
- },
975
- {
976
- inputs: [
977
- {
978
- components: [
979
- {
980
- internalType: "uint256",
981
- name: "nonce",
982
- type: "uint256"
983
- },
984
- {
985
- internalType: "uint256",
986
- name: "permissionId",
987
- type: "uint256"
988
- }
989
- ],
990
- internalType: "struct IDataPortabilityPermissions.RevokePermissionInput",
991
- name: "revokePermissionInput",
992
- type: "tuple"
993
- },
994
- {
995
- internalType: "bytes",
996
- name: "signature",
997
- type: "bytes"
998
- }
999
- ],
1000
- name: "revokePermissionWithSignature",
1001
- outputs: [],
1002
- stateMutability: "nonpayable",
1003
- type: "function"
1004
- },
1005
814
  {
1006
815
  inputs: [
1007
816
  {
@@ -1023,17 +832,12 @@ const DataPortabilityPermissionsABI = [
1023
832
  {
1024
833
  inputs: [
1025
834
  {
1026
- internalType: "bytes32",
1027
- name: "role",
1028
- type: "bytes32"
1029
- },
1030
- {
1031
- internalType: "bytes32",
1032
- name: "adminRole",
1033
- type: "bytes32"
835
+ internalType: "address",
836
+ name: "newDataPortabilityServers",
837
+ type: "address"
1034
838
  }
1035
839
  ],
1036
- name: "setRoleAdmin",
840
+ name: "setDataPortabilityServers",
1037
841
  outputs: [],
1038
842
  stateMutability: "nonpayable",
1039
843
  type: "function"
@@ -1057,19 +861,6 @@ const DataPortabilityPermissionsABI = [
1057
861
  stateMutability: "view",
1058
862
  type: "function"
1059
863
  },
1060
- {
1061
- inputs: [],
1062
- name: "trustedForwarder",
1063
- outputs: [
1064
- {
1065
- internalType: "address",
1066
- name: "",
1067
- type: "address"
1068
- }
1069
- ],
1070
- stateMutability: "view",
1071
- type: "function"
1072
- },
1073
864
  {
1074
865
  inputs: [],
1075
866
  name: "unpause",
@@ -1077,58 +868,6 @@ const DataPortabilityPermissionsABI = [
1077
868
  stateMutability: "nonpayable",
1078
869
  type: "function"
1079
870
  },
1080
- {
1081
- inputs: [
1082
- {
1083
- internalType: "contract IDataRegistry",
1084
- name: "newDataRegistry",
1085
- type: "address"
1086
- }
1087
- ],
1088
- name: "updateDataRegistry",
1089
- outputs: [],
1090
- stateMutability: "nonpayable",
1091
- type: "function"
1092
- },
1093
- {
1094
- inputs: [
1095
- {
1096
- internalType: "contract IDataPortabilityGrantees",
1097
- name: "newGranteesContract",
1098
- type: "address"
1099
- }
1100
- ],
1101
- name: "updateGranteesContract",
1102
- outputs: [],
1103
- stateMutability: "nonpayable",
1104
- type: "function"
1105
- },
1106
- {
1107
- inputs: [
1108
- {
1109
- internalType: "contract IDataPortabilityServers",
1110
- name: "newServersContract",
1111
- type: "address"
1112
- }
1113
- ],
1114
- name: "updateServersContract",
1115
- outputs: [],
1116
- stateMutability: "nonpayable",
1117
- type: "function"
1118
- },
1119
- {
1120
- inputs: [
1121
- {
1122
- internalType: "address",
1123
- name: "trustedForwarderAddress",
1124
- type: "address"
1125
- }
1126
- ],
1127
- name: "updateTrustedForwarder",
1128
- outputs: [],
1129
- stateMutability: "nonpayable",
1130
- type: "function"
1131
- },
1132
871
  {
1133
872
  inputs: [
1134
873
  {
@@ -1147,111 +886,6 @@ const DataPortabilityPermissionsABI = [
1147
886
  stateMutability: "payable",
1148
887
  type: "function"
1149
888
  },
1150
- {
1151
- inputs: [
1152
- {
1153
- internalType: "address",
1154
- name: "userAddress",
1155
- type: "address"
1156
- }
1157
- ],
1158
- name: "userNonce",
1159
- outputs: [
1160
- {
1161
- internalType: "uint256",
1162
- name: "",
1163
- type: "uint256"
1164
- }
1165
- ],
1166
- stateMutability: "view",
1167
- type: "function"
1168
- },
1169
- {
1170
- inputs: [
1171
- {
1172
- internalType: "address",
1173
- name: "userAddress",
1174
- type: "address"
1175
- },
1176
- {
1177
- internalType: "uint256",
1178
- name: "permissionIndex",
1179
- type: "uint256"
1180
- }
1181
- ],
1182
- name: "userPermissionIdsAt",
1183
- outputs: [
1184
- {
1185
- internalType: "uint256",
1186
- name: "",
1187
- type: "uint256"
1188
- }
1189
- ],
1190
- stateMutability: "view",
1191
- type: "function"
1192
- },
1193
- {
1194
- inputs: [
1195
- {
1196
- internalType: "address",
1197
- name: "userAddress",
1198
- type: "address"
1199
- }
1200
- ],
1201
- name: "userPermissionIdsLength",
1202
- outputs: [
1203
- {
1204
- internalType: "uint256",
1205
- name: "",
1206
- type: "uint256"
1207
- }
1208
- ],
1209
- stateMutability: "view",
1210
- type: "function"
1211
- },
1212
- {
1213
- inputs: [
1214
- {
1215
- internalType: "address",
1216
- name: "userAddress",
1217
- type: "address"
1218
- }
1219
- ],
1220
- name: "userPermissionIdsValues",
1221
- outputs: [
1222
- {
1223
- internalType: "uint256[]",
1224
- name: "",
1225
- type: "uint256[]"
1226
- }
1227
- ],
1228
- stateMutability: "view",
1229
- type: "function"
1230
- },
1231
- {
1232
- inputs: [
1233
- {
1234
- internalType: "address",
1235
- name: "userAddress",
1236
- type: "address"
1237
- }
1238
- ],
1239
- name: "users",
1240
- outputs: [
1241
- {
1242
- internalType: "uint256",
1243
- name: "nonce",
1244
- type: "uint256"
1245
- },
1246
- {
1247
- internalType: "uint256[]",
1248
- name: "permissionIds",
1249
- type: "uint256[]"
1250
- }
1251
- ],
1252
- stateMutability: "view",
1253
- type: "function"
1254
- },
1255
889
  {
1256
890
  inputs: [],
1257
891
  name: "version",