@towns-protocol/generated 0.0.244 → 0.0.245

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.
@@ -28,54 +28,103 @@ import type {
28
28
  PromiseOrValue,
29
29
  } from "./common";
30
30
 
31
- export type AttestationStruct = {
32
- uid: PromiseOrValue<BytesLike>;
33
- schema: PromiseOrValue<BytesLike>;
34
- time: PromiseOrValue<BigNumberish>;
35
- expirationTime: PromiseOrValue<BigNumberish>;
36
- revocationTime: PromiseOrValue<BigNumberish>;
37
- refUID: PromiseOrValue<BytesLike>;
38
- recipient: PromiseOrValue<string>;
39
- attester: PromiseOrValue<string>;
40
- revocable: PromiseOrValue<boolean>;
41
- data: PromiseOrValue<BytesLike>;
31
+ export type ManifestExecutionFunctionStruct = {
32
+ executionSelector: PromiseOrValue<BytesLike>;
33
+ skipRuntimeValidation: PromiseOrValue<boolean>;
34
+ allowGlobalValidation: PromiseOrValue<boolean>;
42
35
  };
43
36
 
44
- export type AttestationStructOutput = [
45
- string,
46
- string,
47
- BigNumber,
48
- BigNumber,
49
- BigNumber,
50
- string,
37
+ export type ManifestExecutionFunctionStructOutput = [
51
38
  string,
39
+ boolean,
40
+ boolean
41
+ ] & {
42
+ executionSelector: string;
43
+ skipRuntimeValidation: boolean;
44
+ allowGlobalValidation: boolean;
45
+ };
46
+
47
+ export type ManifestExecutionHookStruct = {
48
+ executionSelector: PromiseOrValue<BytesLike>;
49
+ entityId: PromiseOrValue<BigNumberish>;
50
+ isPreHook: PromiseOrValue<boolean>;
51
+ isPostHook: PromiseOrValue<boolean>;
52
+ };
53
+
54
+ export type ManifestExecutionHookStructOutput = [
52
55
  string,
56
+ number,
53
57
  boolean,
54
- string
58
+ boolean
55
59
  ] & {
56
- uid: string;
57
- schema: string;
58
- time: BigNumber;
59
- expirationTime: BigNumber;
60
- revocationTime: BigNumber;
61
- refUID: string;
62
- recipient: string;
63
- attester: string;
64
- revocable: boolean;
65
- data: string;
60
+ executionSelector: string;
61
+ entityId: number;
62
+ isPreHook: boolean;
63
+ isPostHook: boolean;
64
+ };
65
+
66
+ export type ExecutionManifestStruct = {
67
+ executionFunctions: ManifestExecutionFunctionStruct[];
68
+ executionHooks: ManifestExecutionHookStruct[];
69
+ interfaceIds: PromiseOrValue<BytesLike>[];
70
+ };
71
+
72
+ export type ExecutionManifestStructOutput = [
73
+ ManifestExecutionFunctionStructOutput[],
74
+ ManifestExecutionHookStructOutput[],
75
+ string[]
76
+ ] & {
77
+ executionFunctions: ManifestExecutionFunctionStructOutput[];
78
+ executionHooks: ManifestExecutionHookStructOutput[];
79
+ interfaceIds: string[];
66
80
  };
67
81
 
68
82
  export declare namespace IAppRegistryBase {
69
83
  export type AppParamsStruct = {
70
84
  name: PromiseOrValue<string>;
71
85
  permissions: PromiseOrValue<BytesLike>[];
72
- clients: PromiseOrValue<string>[];
86
+ client: PromiseOrValue<string>;
87
+ installPrice: PromiseOrValue<BigNumberish>;
88
+ accessDuration: PromiseOrValue<BigNumberish>;
73
89
  };
74
90
 
75
- export type AppParamsStructOutput = [string, string[], string[]] & {
91
+ export type AppParamsStructOutput = [
92
+ string,
93
+ string[],
94
+ string,
95
+ BigNumber,
96
+ BigNumber
97
+ ] & {
76
98
  name: string;
77
99
  permissions: string[];
78
- clients: string[];
100
+ client: string;
101
+ installPrice: BigNumber;
102
+ accessDuration: BigNumber;
103
+ };
104
+
105
+ export type AppStruct = {
106
+ appId: PromiseOrValue<BytesLike>;
107
+ module: PromiseOrValue<string>;
108
+ owner: PromiseOrValue<string>;
109
+ client: PromiseOrValue<string>;
110
+ permissions: PromiseOrValue<BytesLike>[];
111
+ manifest: ExecutionManifestStruct;
112
+ };
113
+
114
+ export type AppStructOutput = [
115
+ string,
116
+ string,
117
+ string,
118
+ string,
119
+ string[],
120
+ ExecutionManifestStructOutput
121
+ ] & {
122
+ appId: string;
123
+ module: string;
124
+ owner: string;
125
+ client: string;
126
+ permissions: string[];
127
+ manifest: ExecutionManifestStructOutput;
79
128
  };
80
129
  }
81
130
 
@@ -83,14 +132,17 @@ export interface IAppRegistryInterface extends utils.Interface {
83
132
  functions: {
84
133
  "adminBanApp(address)": FunctionFragment;
85
134
  "adminRegisterAppSchema(string,address,bool)": FunctionFragment;
86
- "createApp((string,bytes32[],address[]))": FunctionFragment;
135
+ "createApp((string,bytes32[],address,uint256,uint64))": FunctionFragment;
136
+ "getAppByClient(address)": FunctionFragment;
137
+ "getAppById(bytes32)": FunctionFragment;
87
138
  "getAppSchema()": FunctionFragment;
88
139
  "getAppSchemaId()": FunctionFragment;
89
- "getAttestation(bytes32)": FunctionFragment;
90
140
  "getLatestAppId(address)": FunctionFragment;
141
+ "installApp(address,address,bytes)": FunctionFragment;
91
142
  "isAppBanned(address)": FunctionFragment;
92
- "registerApp(address,address[])": FunctionFragment;
143
+ "registerApp(address,address)": FunctionFragment;
93
144
  "removeApp(bytes32)": FunctionFragment;
145
+ "uninstallApp(address,address,bytes)": FunctionFragment;
94
146
  };
95
147
 
96
148
  getFunction(
@@ -98,13 +150,16 @@ export interface IAppRegistryInterface extends utils.Interface {
98
150
  | "adminBanApp"
99
151
  | "adminRegisterAppSchema"
100
152
  | "createApp"
153
+ | "getAppByClient"
154
+ | "getAppById"
101
155
  | "getAppSchema"
102
156
  | "getAppSchemaId"
103
- | "getAttestation"
104
157
  | "getLatestAppId"
158
+ | "installApp"
105
159
  | "isAppBanned"
106
160
  | "registerApp"
107
161
  | "removeApp"
162
+ | "uninstallApp"
108
163
  ): FunctionFragment;
109
164
 
110
165
  encodeFunctionData(
@@ -123,6 +178,14 @@ export interface IAppRegistryInterface extends utils.Interface {
123
178
  functionFragment: "createApp",
124
179
  values: [IAppRegistryBase.AppParamsStruct]
125
180
  ): string;
181
+ encodeFunctionData(
182
+ functionFragment: "getAppByClient",
183
+ values: [PromiseOrValue<string>]
184
+ ): string;
185
+ encodeFunctionData(
186
+ functionFragment: "getAppById",
187
+ values: [PromiseOrValue<BytesLike>]
188
+ ): string;
126
189
  encodeFunctionData(
127
190
  functionFragment: "getAppSchema",
128
191
  values?: undefined
@@ -131,26 +194,38 @@ export interface IAppRegistryInterface extends utils.Interface {
131
194
  functionFragment: "getAppSchemaId",
132
195
  values?: undefined
133
196
  ): string;
134
- encodeFunctionData(
135
- functionFragment: "getAttestation",
136
- values: [PromiseOrValue<BytesLike>]
137
- ): string;
138
197
  encodeFunctionData(
139
198
  functionFragment: "getLatestAppId",
140
199
  values: [PromiseOrValue<string>]
141
200
  ): string;
201
+ encodeFunctionData(
202
+ functionFragment: "installApp",
203
+ values: [
204
+ PromiseOrValue<string>,
205
+ PromiseOrValue<string>,
206
+ PromiseOrValue<BytesLike>
207
+ ]
208
+ ): string;
142
209
  encodeFunctionData(
143
210
  functionFragment: "isAppBanned",
144
211
  values: [PromiseOrValue<string>]
145
212
  ): string;
146
213
  encodeFunctionData(
147
214
  functionFragment: "registerApp",
148
- values: [PromiseOrValue<string>, PromiseOrValue<string>[]]
215
+ values: [PromiseOrValue<string>, PromiseOrValue<string>]
149
216
  ): string;
150
217
  encodeFunctionData(
151
218
  functionFragment: "removeApp",
152
219
  values: [PromiseOrValue<BytesLike>]
153
220
  ): string;
221
+ encodeFunctionData(
222
+ functionFragment: "uninstallApp",
223
+ values: [
224
+ PromiseOrValue<string>,
225
+ PromiseOrValue<string>,
226
+ PromiseOrValue<BytesLike>
227
+ ]
228
+ ): string;
154
229
 
155
230
  decodeFunctionResult(
156
231
  functionFragment: "adminBanApp",
@@ -162,21 +237,23 @@ export interface IAppRegistryInterface extends utils.Interface {
162
237
  ): Result;
163
238
  decodeFunctionResult(functionFragment: "createApp", data: BytesLike): Result;
164
239
  decodeFunctionResult(
165
- functionFragment: "getAppSchema",
240
+ functionFragment: "getAppByClient",
166
241
  data: BytesLike
167
242
  ): Result;
243
+ decodeFunctionResult(functionFragment: "getAppById", data: BytesLike): Result;
168
244
  decodeFunctionResult(
169
- functionFragment: "getAppSchemaId",
245
+ functionFragment: "getAppSchema",
170
246
  data: BytesLike
171
247
  ): Result;
172
248
  decodeFunctionResult(
173
- functionFragment: "getAttestation",
249
+ functionFragment: "getAppSchemaId",
174
250
  data: BytesLike
175
251
  ): Result;
176
252
  decodeFunctionResult(
177
253
  functionFragment: "getLatestAppId",
178
254
  data: BytesLike
179
255
  ): Result;
256
+ decodeFunctionResult(functionFragment: "installApp", data: BytesLike): Result;
180
257
  decodeFunctionResult(
181
258
  functionFragment: "isAppBanned",
182
259
  data: BytesLike
@@ -186,20 +263,28 @@ export interface IAppRegistryInterface extends utils.Interface {
186
263
  data: BytesLike
187
264
  ): Result;
188
265
  decodeFunctionResult(functionFragment: "removeApp", data: BytesLike): Result;
266
+ decodeFunctionResult(
267
+ functionFragment: "uninstallApp",
268
+ data: BytesLike
269
+ ): Result;
189
270
 
190
271
  events: {
191
272
  "AppBanned(address,bytes32)": EventFragment;
192
273
  "AppCreated(address,bytes32)": EventFragment;
274
+ "AppInstalled(address,address,bytes32)": EventFragment;
193
275
  "AppRegistered(address,bytes32)": EventFragment;
194
276
  "AppSchemaSet(bytes32)": EventFragment;
277
+ "AppUninstalled(address,address,bytes32)": EventFragment;
195
278
  "AppUnregistered(address,bytes32)": EventFragment;
196
279
  "AppUpdated(address,bytes32)": EventFragment;
197
280
  };
198
281
 
199
282
  getEvent(nameOrSignatureOrTopic: "AppBanned"): EventFragment;
200
283
  getEvent(nameOrSignatureOrTopic: "AppCreated"): EventFragment;
284
+ getEvent(nameOrSignatureOrTopic: "AppInstalled"): EventFragment;
201
285
  getEvent(nameOrSignatureOrTopic: "AppRegistered"): EventFragment;
202
286
  getEvent(nameOrSignatureOrTopic: "AppSchemaSet"): EventFragment;
287
+ getEvent(nameOrSignatureOrTopic: "AppUninstalled"): EventFragment;
203
288
  getEvent(nameOrSignatureOrTopic: "AppUnregistered"): EventFragment;
204
289
  getEvent(nameOrSignatureOrTopic: "AppUpdated"): EventFragment;
205
290
  }
@@ -223,6 +308,18 @@ export type AppCreatedEvent = TypedEvent<
223
308
 
224
309
  export type AppCreatedEventFilter = TypedEventFilter<AppCreatedEvent>;
225
310
 
311
+ export interface AppInstalledEventObject {
312
+ app: string;
313
+ account: string;
314
+ appId: string;
315
+ }
316
+ export type AppInstalledEvent = TypedEvent<
317
+ [string, string, string],
318
+ AppInstalledEventObject
319
+ >;
320
+
321
+ export type AppInstalledEventFilter = TypedEventFilter<AppInstalledEvent>;
322
+
226
323
  export interface AppRegisteredEventObject {
227
324
  app: string;
228
325
  uid: string;
@@ -241,6 +338,18 @@ export type AppSchemaSetEvent = TypedEvent<[string], AppSchemaSetEventObject>;
241
338
 
242
339
  export type AppSchemaSetEventFilter = TypedEventFilter<AppSchemaSetEvent>;
243
340
 
341
+ export interface AppUninstalledEventObject {
342
+ app: string;
343
+ account: string;
344
+ appId: string;
345
+ }
346
+ export type AppUninstalledEvent = TypedEvent<
347
+ [string, string, string],
348
+ AppUninstalledEventObject
349
+ >;
350
+
351
+ export type AppUninstalledEventFilter = TypedEventFilter<AppUninstalledEvent>;
352
+
244
353
  export interface AppUnregisteredEventObject {
245
354
  app: string;
246
355
  uid: string;
@@ -307,20 +416,32 @@ export interface IAppRegistry extends BaseContract {
307
416
  overrides?: PayableOverrides & { from?: PromiseOrValue<string> }
308
417
  ): Promise<ContractTransaction>;
309
418
 
310
- getAppSchema(overrides?: CallOverrides): Promise<[string]>;
311
-
312
- getAppSchemaId(overrides?: CallOverrides): Promise<[string]>;
419
+ getAppByClient(
420
+ client: PromiseOrValue<string>,
421
+ overrides?: CallOverrides
422
+ ): Promise<[string]>;
313
423
 
314
- getAttestation(
424
+ getAppById(
315
425
  appId: PromiseOrValue<BytesLike>,
316
426
  overrides?: CallOverrides
317
- ): Promise<[AttestationStructOutput]>;
427
+ ): Promise<[IAppRegistryBase.AppStructOutput]>;
428
+
429
+ getAppSchema(overrides?: CallOverrides): Promise<[string]>;
430
+
431
+ getAppSchemaId(overrides?: CallOverrides): Promise<[string]>;
318
432
 
319
433
  getLatestAppId(
320
434
  app: PromiseOrValue<string>,
321
435
  overrides?: CallOverrides
322
436
  ): Promise<[string]>;
323
437
 
438
+ installApp(
439
+ app: PromiseOrValue<string>,
440
+ account: PromiseOrValue<string>,
441
+ data: PromiseOrValue<BytesLike>,
442
+ overrides?: PayableOverrides & { from?: PromiseOrValue<string> }
443
+ ): Promise<ContractTransaction>;
444
+
324
445
  isAppBanned(
325
446
  app: PromiseOrValue<string>,
326
447
  overrides?: CallOverrides
@@ -328,7 +449,7 @@ export interface IAppRegistry extends BaseContract {
328
449
 
329
450
  registerApp(
330
451
  app: PromiseOrValue<string>,
331
- clients: PromiseOrValue<string>[],
452
+ client: PromiseOrValue<string>,
332
453
  overrides?: PayableOverrides & { from?: PromiseOrValue<string> }
333
454
  ): Promise<ContractTransaction>;
334
455
 
@@ -336,6 +457,13 @@ export interface IAppRegistry extends BaseContract {
336
457
  appId: PromiseOrValue<BytesLike>,
337
458
  overrides?: Overrides & { from?: PromiseOrValue<string> }
338
459
  ): Promise<ContractTransaction>;
460
+
461
+ uninstallApp(
462
+ app: PromiseOrValue<string>,
463
+ account: PromiseOrValue<string>,
464
+ data: PromiseOrValue<BytesLike>,
465
+ overrides?: Overrides & { from?: PromiseOrValue<string> }
466
+ ): Promise<ContractTransaction>;
339
467
  };
340
468
 
341
469
  adminBanApp(
@@ -355,20 +483,32 @@ export interface IAppRegistry extends BaseContract {
355
483
  overrides?: PayableOverrides & { from?: PromiseOrValue<string> }
356
484
  ): Promise<ContractTransaction>;
357
485
 
358
- getAppSchema(overrides?: CallOverrides): Promise<string>;
359
-
360
- getAppSchemaId(overrides?: CallOverrides): Promise<string>;
486
+ getAppByClient(
487
+ client: PromiseOrValue<string>,
488
+ overrides?: CallOverrides
489
+ ): Promise<string>;
361
490
 
362
- getAttestation(
491
+ getAppById(
363
492
  appId: PromiseOrValue<BytesLike>,
364
493
  overrides?: CallOverrides
365
- ): Promise<AttestationStructOutput>;
494
+ ): Promise<IAppRegistryBase.AppStructOutput>;
495
+
496
+ getAppSchema(overrides?: CallOverrides): Promise<string>;
497
+
498
+ getAppSchemaId(overrides?: CallOverrides): Promise<string>;
366
499
 
367
500
  getLatestAppId(
368
501
  app: PromiseOrValue<string>,
369
502
  overrides?: CallOverrides
370
503
  ): Promise<string>;
371
504
 
505
+ installApp(
506
+ app: PromiseOrValue<string>,
507
+ account: PromiseOrValue<string>,
508
+ data: PromiseOrValue<BytesLike>,
509
+ overrides?: PayableOverrides & { from?: PromiseOrValue<string> }
510
+ ): Promise<ContractTransaction>;
511
+
372
512
  isAppBanned(
373
513
  app: PromiseOrValue<string>,
374
514
  overrides?: CallOverrides
@@ -376,7 +516,7 @@ export interface IAppRegistry extends BaseContract {
376
516
 
377
517
  registerApp(
378
518
  app: PromiseOrValue<string>,
379
- clients: PromiseOrValue<string>[],
519
+ client: PromiseOrValue<string>,
380
520
  overrides?: PayableOverrides & { from?: PromiseOrValue<string> }
381
521
  ): Promise<ContractTransaction>;
382
522
 
@@ -385,6 +525,13 @@ export interface IAppRegistry extends BaseContract {
385
525
  overrides?: Overrides & { from?: PromiseOrValue<string> }
386
526
  ): Promise<ContractTransaction>;
387
527
 
528
+ uninstallApp(
529
+ app: PromiseOrValue<string>,
530
+ account: PromiseOrValue<string>,
531
+ data: PromiseOrValue<BytesLike>,
532
+ overrides?: Overrides & { from?: PromiseOrValue<string> }
533
+ ): Promise<ContractTransaction>;
534
+
388
535
  callStatic: {
389
536
  adminBanApp(
390
537
  app: PromiseOrValue<string>,
@@ -403,20 +550,32 @@ export interface IAppRegistry extends BaseContract {
403
550
  overrides?: CallOverrides
404
551
  ): Promise<[string, string] & { app: string; appId: string }>;
405
552
 
406
- getAppSchema(overrides?: CallOverrides): Promise<string>;
407
-
408
- getAppSchemaId(overrides?: CallOverrides): Promise<string>;
553
+ getAppByClient(
554
+ client: PromiseOrValue<string>,
555
+ overrides?: CallOverrides
556
+ ): Promise<string>;
409
557
 
410
- getAttestation(
558
+ getAppById(
411
559
  appId: PromiseOrValue<BytesLike>,
412
560
  overrides?: CallOverrides
413
- ): Promise<AttestationStructOutput>;
561
+ ): Promise<IAppRegistryBase.AppStructOutput>;
562
+
563
+ getAppSchema(overrides?: CallOverrides): Promise<string>;
564
+
565
+ getAppSchemaId(overrides?: CallOverrides): Promise<string>;
414
566
 
415
567
  getLatestAppId(
416
568
  app: PromiseOrValue<string>,
417
569
  overrides?: CallOverrides
418
570
  ): Promise<string>;
419
571
 
572
+ installApp(
573
+ app: PromiseOrValue<string>,
574
+ account: PromiseOrValue<string>,
575
+ data: PromiseOrValue<BytesLike>,
576
+ overrides?: CallOverrides
577
+ ): Promise<void>;
578
+
420
579
  isAppBanned(
421
580
  app: PromiseOrValue<string>,
422
581
  overrides?: CallOverrides
@@ -424,14 +583,21 @@ export interface IAppRegistry extends BaseContract {
424
583
 
425
584
  registerApp(
426
585
  app: PromiseOrValue<string>,
427
- clients: PromiseOrValue<string>[],
586
+ client: PromiseOrValue<string>,
428
587
  overrides?: CallOverrides
429
588
  ): Promise<string>;
430
589
 
431
590
  removeApp(
432
591
  appId: PromiseOrValue<BytesLike>,
433
592
  overrides?: CallOverrides
434
- ): Promise<string>;
593
+ ): Promise<void>;
594
+
595
+ uninstallApp(
596
+ app: PromiseOrValue<string>,
597
+ account: PromiseOrValue<string>,
598
+ data: PromiseOrValue<BytesLike>,
599
+ overrides?: CallOverrides
600
+ ): Promise<void>;
435
601
  };
436
602
 
437
603
  filters: {
@@ -453,6 +619,17 @@ export interface IAppRegistry extends BaseContract {
453
619
  uid?: null
454
620
  ): AppCreatedEventFilter;
455
621
 
622
+ "AppInstalled(address,address,bytes32)"(
623
+ app?: PromiseOrValue<string> | null,
624
+ account?: PromiseOrValue<string> | null,
625
+ appId?: PromiseOrValue<BytesLike> | null
626
+ ): AppInstalledEventFilter;
627
+ AppInstalled(
628
+ app?: PromiseOrValue<string> | null,
629
+ account?: PromiseOrValue<string> | null,
630
+ appId?: PromiseOrValue<BytesLike> | null
631
+ ): AppInstalledEventFilter;
632
+
456
633
  "AppRegistered(address,bytes32)"(
457
634
  app?: PromiseOrValue<string> | null,
458
635
  uid?: null
@@ -465,6 +642,17 @@ export interface IAppRegistry extends BaseContract {
465
642
  "AppSchemaSet(bytes32)"(uid?: null): AppSchemaSetEventFilter;
466
643
  AppSchemaSet(uid?: null): AppSchemaSetEventFilter;
467
644
 
645
+ "AppUninstalled(address,address,bytes32)"(
646
+ app?: PromiseOrValue<string> | null,
647
+ account?: PromiseOrValue<string> | null,
648
+ appId?: PromiseOrValue<BytesLike> | null
649
+ ): AppUninstalledEventFilter;
650
+ AppUninstalled(
651
+ app?: PromiseOrValue<string> | null,
652
+ account?: PromiseOrValue<string> | null,
653
+ appId?: PromiseOrValue<BytesLike> | null
654
+ ): AppUninstalledEventFilter;
655
+
468
656
  "AppUnregistered(address,bytes32)"(
469
657
  app?: PromiseOrValue<string> | null,
470
658
  uid?: null
@@ -502,20 +690,32 @@ export interface IAppRegistry extends BaseContract {
502
690
  overrides?: PayableOverrides & { from?: PromiseOrValue<string> }
503
691
  ): Promise<BigNumber>;
504
692
 
505
- getAppSchema(overrides?: CallOverrides): Promise<BigNumber>;
506
-
507
- getAppSchemaId(overrides?: CallOverrides): Promise<BigNumber>;
693
+ getAppByClient(
694
+ client: PromiseOrValue<string>,
695
+ overrides?: CallOverrides
696
+ ): Promise<BigNumber>;
508
697
 
509
- getAttestation(
698
+ getAppById(
510
699
  appId: PromiseOrValue<BytesLike>,
511
700
  overrides?: CallOverrides
512
701
  ): Promise<BigNumber>;
513
702
 
703
+ getAppSchema(overrides?: CallOverrides): Promise<BigNumber>;
704
+
705
+ getAppSchemaId(overrides?: CallOverrides): Promise<BigNumber>;
706
+
514
707
  getLatestAppId(
515
708
  app: PromiseOrValue<string>,
516
709
  overrides?: CallOverrides
517
710
  ): Promise<BigNumber>;
518
711
 
712
+ installApp(
713
+ app: PromiseOrValue<string>,
714
+ account: PromiseOrValue<string>,
715
+ data: PromiseOrValue<BytesLike>,
716
+ overrides?: PayableOverrides & { from?: PromiseOrValue<string> }
717
+ ): Promise<BigNumber>;
718
+
519
719
  isAppBanned(
520
720
  app: PromiseOrValue<string>,
521
721
  overrides?: CallOverrides
@@ -523,7 +723,7 @@ export interface IAppRegistry extends BaseContract {
523
723
 
524
724
  registerApp(
525
725
  app: PromiseOrValue<string>,
526
- clients: PromiseOrValue<string>[],
726
+ client: PromiseOrValue<string>,
527
727
  overrides?: PayableOverrides & { from?: PromiseOrValue<string> }
528
728
  ): Promise<BigNumber>;
529
729
 
@@ -531,6 +731,13 @@ export interface IAppRegistry extends BaseContract {
531
731
  appId: PromiseOrValue<BytesLike>,
532
732
  overrides?: Overrides & { from?: PromiseOrValue<string> }
533
733
  ): Promise<BigNumber>;
734
+
735
+ uninstallApp(
736
+ app: PromiseOrValue<string>,
737
+ account: PromiseOrValue<string>,
738
+ data: PromiseOrValue<BytesLike>,
739
+ overrides?: Overrides & { from?: PromiseOrValue<string> }
740
+ ): Promise<BigNumber>;
534
741
  };
535
742
 
536
743
  populateTransaction: {
@@ -551,20 +758,32 @@ export interface IAppRegistry extends BaseContract {
551
758
  overrides?: PayableOverrides & { from?: PromiseOrValue<string> }
552
759
  ): Promise<PopulatedTransaction>;
553
760
 
554
- getAppSchema(overrides?: CallOverrides): Promise<PopulatedTransaction>;
555
-
556
- getAppSchemaId(overrides?: CallOverrides): Promise<PopulatedTransaction>;
761
+ getAppByClient(
762
+ client: PromiseOrValue<string>,
763
+ overrides?: CallOverrides
764
+ ): Promise<PopulatedTransaction>;
557
765
 
558
- getAttestation(
766
+ getAppById(
559
767
  appId: PromiseOrValue<BytesLike>,
560
768
  overrides?: CallOverrides
561
769
  ): Promise<PopulatedTransaction>;
562
770
 
771
+ getAppSchema(overrides?: CallOverrides): Promise<PopulatedTransaction>;
772
+
773
+ getAppSchemaId(overrides?: CallOverrides): Promise<PopulatedTransaction>;
774
+
563
775
  getLatestAppId(
564
776
  app: PromiseOrValue<string>,
565
777
  overrides?: CallOverrides
566
778
  ): Promise<PopulatedTransaction>;
567
779
 
780
+ installApp(
781
+ app: PromiseOrValue<string>,
782
+ account: PromiseOrValue<string>,
783
+ data: PromiseOrValue<BytesLike>,
784
+ overrides?: PayableOverrides & { from?: PromiseOrValue<string> }
785
+ ): Promise<PopulatedTransaction>;
786
+
568
787
  isAppBanned(
569
788
  app: PromiseOrValue<string>,
570
789
  overrides?: CallOverrides
@@ -572,7 +791,7 @@ export interface IAppRegistry extends BaseContract {
572
791
 
573
792
  registerApp(
574
793
  app: PromiseOrValue<string>,
575
- clients: PromiseOrValue<string>[],
794
+ client: PromiseOrValue<string>,
576
795
  overrides?: PayableOverrides & { from?: PromiseOrValue<string> }
577
796
  ): Promise<PopulatedTransaction>;
578
797
 
@@ -580,5 +799,12 @@ export interface IAppRegistry extends BaseContract {
580
799
  appId: PromiseOrValue<BytesLike>,
581
800
  overrides?: Overrides & { from?: PromiseOrValue<string> }
582
801
  ): Promise<PopulatedTransaction>;
802
+
803
+ uninstallApp(
804
+ app: PromiseOrValue<string>,
805
+ account: PromiseOrValue<string>,
806
+ data: PromiseOrValue<BytesLike>,
807
+ overrides?: Overrides & { from?: PromiseOrValue<string> }
808
+ ): Promise<PopulatedTransaction>;
583
809
  };
584
810
  }