@towns-protocol/generated 0.0.244 → 0.0.246

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,106 @@ 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
+ number
97
+ ] & {
76
98
  name: string;
77
99
  permissions: string[];
78
- clients: string[];
100
+ client: string;
101
+ installPrice: BigNumber;
102
+ accessDuration: number;
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
+ duration: PromiseOrValue<BigNumberish>;
113
+ };
114
+
115
+ export type AppStructOutput = [
116
+ string,
117
+ string,
118
+ string,
119
+ string,
120
+ string[],
121
+ ExecutionManifestStructOutput,
122
+ number
123
+ ] & {
124
+ appId: string;
125
+ module: string;
126
+ owner: string;
127
+ client: string;
128
+ permissions: string[];
129
+ manifest: ExecutionManifestStructOutput;
130
+ duration: number;
79
131
  };
80
132
  }
81
133
 
@@ -83,14 +135,18 @@ export interface IAppRegistryInterface extends utils.Interface {
83
135
  functions: {
84
136
  "adminBanApp(address)": FunctionFragment;
85
137
  "adminRegisterAppSchema(string,address,bool)": FunctionFragment;
86
- "createApp((string,bytes32[],address[]))": FunctionFragment;
138
+ "createApp((string,bytes32[],address,uint256,uint48))": FunctionFragment;
139
+ "getAppByClient(address)": FunctionFragment;
140
+ "getAppById(bytes32)": FunctionFragment;
87
141
  "getAppSchema()": FunctionFragment;
88
142
  "getAppSchemaId()": FunctionFragment;
89
- "getAttestation(bytes32)": FunctionFragment;
90
143
  "getLatestAppId(address)": FunctionFragment;
144
+ "installApp(address,address,bytes)": FunctionFragment;
91
145
  "isAppBanned(address)": FunctionFragment;
92
- "registerApp(address,address[])": FunctionFragment;
146
+ "registerApp(address,address)": FunctionFragment;
93
147
  "removeApp(bytes32)": FunctionFragment;
148
+ "renewApp(address,address,bytes)": FunctionFragment;
149
+ "uninstallApp(address,address,bytes)": FunctionFragment;
94
150
  };
95
151
 
96
152
  getFunction(
@@ -98,13 +154,17 @@ export interface IAppRegistryInterface extends utils.Interface {
98
154
  | "adminBanApp"
99
155
  | "adminRegisterAppSchema"
100
156
  | "createApp"
157
+ | "getAppByClient"
158
+ | "getAppById"
101
159
  | "getAppSchema"
102
160
  | "getAppSchemaId"
103
- | "getAttestation"
104
161
  | "getLatestAppId"
162
+ | "installApp"
105
163
  | "isAppBanned"
106
164
  | "registerApp"
107
165
  | "removeApp"
166
+ | "renewApp"
167
+ | "uninstallApp"
108
168
  ): FunctionFragment;
109
169
 
110
170
  encodeFunctionData(
@@ -123,6 +183,14 @@ export interface IAppRegistryInterface extends utils.Interface {
123
183
  functionFragment: "createApp",
124
184
  values: [IAppRegistryBase.AppParamsStruct]
125
185
  ): string;
186
+ encodeFunctionData(
187
+ functionFragment: "getAppByClient",
188
+ values: [PromiseOrValue<string>]
189
+ ): string;
190
+ encodeFunctionData(
191
+ functionFragment: "getAppById",
192
+ values: [PromiseOrValue<BytesLike>]
193
+ ): string;
126
194
  encodeFunctionData(
127
195
  functionFragment: "getAppSchema",
128
196
  values?: undefined
@@ -131,26 +199,46 @@ export interface IAppRegistryInterface extends utils.Interface {
131
199
  functionFragment: "getAppSchemaId",
132
200
  values?: undefined
133
201
  ): string;
134
- encodeFunctionData(
135
- functionFragment: "getAttestation",
136
- values: [PromiseOrValue<BytesLike>]
137
- ): string;
138
202
  encodeFunctionData(
139
203
  functionFragment: "getLatestAppId",
140
204
  values: [PromiseOrValue<string>]
141
205
  ): string;
206
+ encodeFunctionData(
207
+ functionFragment: "installApp",
208
+ values: [
209
+ PromiseOrValue<string>,
210
+ PromiseOrValue<string>,
211
+ PromiseOrValue<BytesLike>
212
+ ]
213
+ ): string;
142
214
  encodeFunctionData(
143
215
  functionFragment: "isAppBanned",
144
216
  values: [PromiseOrValue<string>]
145
217
  ): string;
146
218
  encodeFunctionData(
147
219
  functionFragment: "registerApp",
148
- values: [PromiseOrValue<string>, PromiseOrValue<string>[]]
220
+ values: [PromiseOrValue<string>, PromiseOrValue<string>]
149
221
  ): string;
150
222
  encodeFunctionData(
151
223
  functionFragment: "removeApp",
152
224
  values: [PromiseOrValue<BytesLike>]
153
225
  ): string;
226
+ encodeFunctionData(
227
+ functionFragment: "renewApp",
228
+ values: [
229
+ PromiseOrValue<string>,
230
+ PromiseOrValue<string>,
231
+ PromiseOrValue<BytesLike>
232
+ ]
233
+ ): string;
234
+ encodeFunctionData(
235
+ functionFragment: "uninstallApp",
236
+ values: [
237
+ PromiseOrValue<string>,
238
+ PromiseOrValue<string>,
239
+ PromiseOrValue<BytesLike>
240
+ ]
241
+ ): string;
154
242
 
155
243
  decodeFunctionResult(
156
244
  functionFragment: "adminBanApp",
@@ -162,21 +250,23 @@ export interface IAppRegistryInterface extends utils.Interface {
162
250
  ): Result;
163
251
  decodeFunctionResult(functionFragment: "createApp", data: BytesLike): Result;
164
252
  decodeFunctionResult(
165
- functionFragment: "getAppSchema",
253
+ functionFragment: "getAppByClient",
166
254
  data: BytesLike
167
255
  ): Result;
256
+ decodeFunctionResult(functionFragment: "getAppById", data: BytesLike): Result;
168
257
  decodeFunctionResult(
169
- functionFragment: "getAppSchemaId",
258
+ functionFragment: "getAppSchema",
170
259
  data: BytesLike
171
260
  ): Result;
172
261
  decodeFunctionResult(
173
- functionFragment: "getAttestation",
262
+ functionFragment: "getAppSchemaId",
174
263
  data: BytesLike
175
264
  ): Result;
176
265
  decodeFunctionResult(
177
266
  functionFragment: "getLatestAppId",
178
267
  data: BytesLike
179
268
  ): Result;
269
+ decodeFunctionResult(functionFragment: "installApp", data: BytesLike): Result;
180
270
  decodeFunctionResult(
181
271
  functionFragment: "isAppBanned",
182
272
  data: BytesLike
@@ -186,20 +276,31 @@ export interface IAppRegistryInterface extends utils.Interface {
186
276
  data: BytesLike
187
277
  ): Result;
188
278
  decodeFunctionResult(functionFragment: "removeApp", data: BytesLike): Result;
279
+ decodeFunctionResult(functionFragment: "renewApp", data: BytesLike): Result;
280
+ decodeFunctionResult(
281
+ functionFragment: "uninstallApp",
282
+ data: BytesLike
283
+ ): Result;
189
284
 
190
285
  events: {
191
286
  "AppBanned(address,bytes32)": EventFragment;
192
287
  "AppCreated(address,bytes32)": EventFragment;
288
+ "AppInstalled(address,address,bytes32)": EventFragment;
193
289
  "AppRegistered(address,bytes32)": EventFragment;
290
+ "AppRenewed(address,address,bytes32)": EventFragment;
194
291
  "AppSchemaSet(bytes32)": EventFragment;
292
+ "AppUninstalled(address,address,bytes32)": EventFragment;
195
293
  "AppUnregistered(address,bytes32)": EventFragment;
196
294
  "AppUpdated(address,bytes32)": EventFragment;
197
295
  };
198
296
 
199
297
  getEvent(nameOrSignatureOrTopic: "AppBanned"): EventFragment;
200
298
  getEvent(nameOrSignatureOrTopic: "AppCreated"): EventFragment;
299
+ getEvent(nameOrSignatureOrTopic: "AppInstalled"): EventFragment;
201
300
  getEvent(nameOrSignatureOrTopic: "AppRegistered"): EventFragment;
301
+ getEvent(nameOrSignatureOrTopic: "AppRenewed"): EventFragment;
202
302
  getEvent(nameOrSignatureOrTopic: "AppSchemaSet"): EventFragment;
303
+ getEvent(nameOrSignatureOrTopic: "AppUninstalled"): EventFragment;
203
304
  getEvent(nameOrSignatureOrTopic: "AppUnregistered"): EventFragment;
204
305
  getEvent(nameOrSignatureOrTopic: "AppUpdated"): EventFragment;
205
306
  }
@@ -223,6 +324,18 @@ export type AppCreatedEvent = TypedEvent<
223
324
 
224
325
  export type AppCreatedEventFilter = TypedEventFilter<AppCreatedEvent>;
225
326
 
327
+ export interface AppInstalledEventObject {
328
+ app: string;
329
+ account: string;
330
+ appId: string;
331
+ }
332
+ export type AppInstalledEvent = TypedEvent<
333
+ [string, string, string],
334
+ AppInstalledEventObject
335
+ >;
336
+
337
+ export type AppInstalledEventFilter = TypedEventFilter<AppInstalledEvent>;
338
+
226
339
  export interface AppRegisteredEventObject {
227
340
  app: string;
228
341
  uid: string;
@@ -234,6 +347,18 @@ export type AppRegisteredEvent = TypedEvent<
234
347
 
235
348
  export type AppRegisteredEventFilter = TypedEventFilter<AppRegisteredEvent>;
236
349
 
350
+ export interface AppRenewedEventObject {
351
+ app: string;
352
+ account: string;
353
+ appId: string;
354
+ }
355
+ export type AppRenewedEvent = TypedEvent<
356
+ [string, string, string],
357
+ AppRenewedEventObject
358
+ >;
359
+
360
+ export type AppRenewedEventFilter = TypedEventFilter<AppRenewedEvent>;
361
+
237
362
  export interface AppSchemaSetEventObject {
238
363
  uid: string;
239
364
  }
@@ -241,6 +366,18 @@ export type AppSchemaSetEvent = TypedEvent<[string], AppSchemaSetEventObject>;
241
366
 
242
367
  export type AppSchemaSetEventFilter = TypedEventFilter<AppSchemaSetEvent>;
243
368
 
369
+ export interface AppUninstalledEventObject {
370
+ app: string;
371
+ account: string;
372
+ appId: string;
373
+ }
374
+ export type AppUninstalledEvent = TypedEvent<
375
+ [string, string, string],
376
+ AppUninstalledEventObject
377
+ >;
378
+
379
+ export type AppUninstalledEventFilter = TypedEventFilter<AppUninstalledEvent>;
380
+
244
381
  export interface AppUnregisteredEventObject {
245
382
  app: string;
246
383
  uid: string;
@@ -307,20 +444,32 @@ export interface IAppRegistry extends BaseContract {
307
444
  overrides?: PayableOverrides & { from?: PromiseOrValue<string> }
308
445
  ): Promise<ContractTransaction>;
309
446
 
310
- getAppSchema(overrides?: CallOverrides): Promise<[string]>;
311
-
312
- getAppSchemaId(overrides?: CallOverrides): Promise<[string]>;
447
+ getAppByClient(
448
+ client: PromiseOrValue<string>,
449
+ overrides?: CallOverrides
450
+ ): Promise<[string]>;
313
451
 
314
- getAttestation(
452
+ getAppById(
315
453
  appId: PromiseOrValue<BytesLike>,
316
454
  overrides?: CallOverrides
317
- ): Promise<[AttestationStructOutput]>;
455
+ ): Promise<[IAppRegistryBase.AppStructOutput]>;
456
+
457
+ getAppSchema(overrides?: CallOverrides): Promise<[string]>;
458
+
459
+ getAppSchemaId(overrides?: CallOverrides): Promise<[string]>;
318
460
 
319
461
  getLatestAppId(
320
462
  app: PromiseOrValue<string>,
321
463
  overrides?: CallOverrides
322
464
  ): Promise<[string]>;
323
465
 
466
+ installApp(
467
+ app: PromiseOrValue<string>,
468
+ account: PromiseOrValue<string>,
469
+ data: PromiseOrValue<BytesLike>,
470
+ overrides?: PayableOverrides & { from?: PromiseOrValue<string> }
471
+ ): Promise<ContractTransaction>;
472
+
324
473
  isAppBanned(
325
474
  app: PromiseOrValue<string>,
326
475
  overrides?: CallOverrides
@@ -328,7 +477,7 @@ export interface IAppRegistry extends BaseContract {
328
477
 
329
478
  registerApp(
330
479
  app: PromiseOrValue<string>,
331
- clients: PromiseOrValue<string>[],
480
+ client: PromiseOrValue<string>,
332
481
  overrides?: PayableOverrides & { from?: PromiseOrValue<string> }
333
482
  ): Promise<ContractTransaction>;
334
483
 
@@ -336,6 +485,20 @@ export interface IAppRegistry extends BaseContract {
336
485
  appId: PromiseOrValue<BytesLike>,
337
486
  overrides?: Overrides & { from?: PromiseOrValue<string> }
338
487
  ): Promise<ContractTransaction>;
488
+
489
+ renewApp(
490
+ app: PromiseOrValue<string>,
491
+ account: PromiseOrValue<string>,
492
+ data: PromiseOrValue<BytesLike>,
493
+ overrides?: PayableOverrides & { from?: PromiseOrValue<string> }
494
+ ): Promise<ContractTransaction>;
495
+
496
+ uninstallApp(
497
+ app: PromiseOrValue<string>,
498
+ account: PromiseOrValue<string>,
499
+ data: PromiseOrValue<BytesLike>,
500
+ overrides?: Overrides & { from?: PromiseOrValue<string> }
501
+ ): Promise<ContractTransaction>;
339
502
  };
340
503
 
341
504
  adminBanApp(
@@ -355,20 +518,32 @@ export interface IAppRegistry extends BaseContract {
355
518
  overrides?: PayableOverrides & { from?: PromiseOrValue<string> }
356
519
  ): Promise<ContractTransaction>;
357
520
 
358
- getAppSchema(overrides?: CallOverrides): Promise<string>;
359
-
360
- getAppSchemaId(overrides?: CallOverrides): Promise<string>;
521
+ getAppByClient(
522
+ client: PromiseOrValue<string>,
523
+ overrides?: CallOverrides
524
+ ): Promise<string>;
361
525
 
362
- getAttestation(
526
+ getAppById(
363
527
  appId: PromiseOrValue<BytesLike>,
364
528
  overrides?: CallOverrides
365
- ): Promise<AttestationStructOutput>;
529
+ ): Promise<IAppRegistryBase.AppStructOutput>;
530
+
531
+ getAppSchema(overrides?: CallOverrides): Promise<string>;
532
+
533
+ getAppSchemaId(overrides?: CallOverrides): Promise<string>;
366
534
 
367
535
  getLatestAppId(
368
536
  app: PromiseOrValue<string>,
369
537
  overrides?: CallOverrides
370
538
  ): Promise<string>;
371
539
 
540
+ installApp(
541
+ app: PromiseOrValue<string>,
542
+ account: PromiseOrValue<string>,
543
+ data: PromiseOrValue<BytesLike>,
544
+ overrides?: PayableOverrides & { from?: PromiseOrValue<string> }
545
+ ): Promise<ContractTransaction>;
546
+
372
547
  isAppBanned(
373
548
  app: PromiseOrValue<string>,
374
549
  overrides?: CallOverrides
@@ -376,7 +551,7 @@ export interface IAppRegistry extends BaseContract {
376
551
 
377
552
  registerApp(
378
553
  app: PromiseOrValue<string>,
379
- clients: PromiseOrValue<string>[],
554
+ client: PromiseOrValue<string>,
380
555
  overrides?: PayableOverrides & { from?: PromiseOrValue<string> }
381
556
  ): Promise<ContractTransaction>;
382
557
 
@@ -385,6 +560,20 @@ export interface IAppRegistry extends BaseContract {
385
560
  overrides?: Overrides & { from?: PromiseOrValue<string> }
386
561
  ): Promise<ContractTransaction>;
387
562
 
563
+ renewApp(
564
+ app: PromiseOrValue<string>,
565
+ account: PromiseOrValue<string>,
566
+ data: PromiseOrValue<BytesLike>,
567
+ overrides?: PayableOverrides & { from?: PromiseOrValue<string> }
568
+ ): Promise<ContractTransaction>;
569
+
570
+ uninstallApp(
571
+ app: PromiseOrValue<string>,
572
+ account: PromiseOrValue<string>,
573
+ data: PromiseOrValue<BytesLike>,
574
+ overrides?: Overrides & { from?: PromiseOrValue<string> }
575
+ ): Promise<ContractTransaction>;
576
+
388
577
  callStatic: {
389
578
  adminBanApp(
390
579
  app: PromiseOrValue<string>,
@@ -403,20 +592,32 @@ export interface IAppRegistry extends BaseContract {
403
592
  overrides?: CallOverrides
404
593
  ): Promise<[string, string] & { app: string; appId: string }>;
405
594
 
406
- getAppSchema(overrides?: CallOverrides): Promise<string>;
407
-
408
- getAppSchemaId(overrides?: CallOverrides): Promise<string>;
595
+ getAppByClient(
596
+ client: PromiseOrValue<string>,
597
+ overrides?: CallOverrides
598
+ ): Promise<string>;
409
599
 
410
- getAttestation(
600
+ getAppById(
411
601
  appId: PromiseOrValue<BytesLike>,
412
602
  overrides?: CallOverrides
413
- ): Promise<AttestationStructOutput>;
603
+ ): Promise<IAppRegistryBase.AppStructOutput>;
604
+
605
+ getAppSchema(overrides?: CallOverrides): Promise<string>;
606
+
607
+ getAppSchemaId(overrides?: CallOverrides): Promise<string>;
414
608
 
415
609
  getLatestAppId(
416
610
  app: PromiseOrValue<string>,
417
611
  overrides?: CallOverrides
418
612
  ): Promise<string>;
419
613
 
614
+ installApp(
615
+ app: PromiseOrValue<string>,
616
+ account: PromiseOrValue<string>,
617
+ data: PromiseOrValue<BytesLike>,
618
+ overrides?: CallOverrides
619
+ ): Promise<void>;
620
+
420
621
  isAppBanned(
421
622
  app: PromiseOrValue<string>,
422
623
  overrides?: CallOverrides
@@ -424,14 +625,28 @@ export interface IAppRegistry extends BaseContract {
424
625
 
425
626
  registerApp(
426
627
  app: PromiseOrValue<string>,
427
- clients: PromiseOrValue<string>[],
628
+ client: PromiseOrValue<string>,
428
629
  overrides?: CallOverrides
429
630
  ): Promise<string>;
430
631
 
431
632
  removeApp(
432
633
  appId: PromiseOrValue<BytesLike>,
433
634
  overrides?: CallOverrides
434
- ): Promise<string>;
635
+ ): Promise<void>;
636
+
637
+ renewApp(
638
+ app: PromiseOrValue<string>,
639
+ account: PromiseOrValue<string>,
640
+ data: PromiseOrValue<BytesLike>,
641
+ overrides?: CallOverrides
642
+ ): Promise<void>;
643
+
644
+ uninstallApp(
645
+ app: PromiseOrValue<string>,
646
+ account: PromiseOrValue<string>,
647
+ data: PromiseOrValue<BytesLike>,
648
+ overrides?: CallOverrides
649
+ ): Promise<void>;
435
650
  };
436
651
 
437
652
  filters: {
@@ -453,6 +668,17 @@ export interface IAppRegistry extends BaseContract {
453
668
  uid?: null
454
669
  ): AppCreatedEventFilter;
455
670
 
671
+ "AppInstalled(address,address,bytes32)"(
672
+ app?: PromiseOrValue<string> | null,
673
+ account?: PromiseOrValue<string> | null,
674
+ appId?: PromiseOrValue<BytesLike> | null
675
+ ): AppInstalledEventFilter;
676
+ AppInstalled(
677
+ app?: PromiseOrValue<string> | null,
678
+ account?: PromiseOrValue<string> | null,
679
+ appId?: PromiseOrValue<BytesLike> | null
680
+ ): AppInstalledEventFilter;
681
+
456
682
  "AppRegistered(address,bytes32)"(
457
683
  app?: PromiseOrValue<string> | null,
458
684
  uid?: null
@@ -462,9 +688,31 @@ export interface IAppRegistry extends BaseContract {
462
688
  uid?: null
463
689
  ): AppRegisteredEventFilter;
464
690
 
691
+ "AppRenewed(address,address,bytes32)"(
692
+ app?: PromiseOrValue<string> | null,
693
+ account?: PromiseOrValue<string> | null,
694
+ appId?: PromiseOrValue<BytesLike> | null
695
+ ): AppRenewedEventFilter;
696
+ AppRenewed(
697
+ app?: PromiseOrValue<string> | null,
698
+ account?: PromiseOrValue<string> | null,
699
+ appId?: PromiseOrValue<BytesLike> | null
700
+ ): AppRenewedEventFilter;
701
+
465
702
  "AppSchemaSet(bytes32)"(uid?: null): AppSchemaSetEventFilter;
466
703
  AppSchemaSet(uid?: null): AppSchemaSetEventFilter;
467
704
 
705
+ "AppUninstalled(address,address,bytes32)"(
706
+ app?: PromiseOrValue<string> | null,
707
+ account?: PromiseOrValue<string> | null,
708
+ appId?: PromiseOrValue<BytesLike> | null
709
+ ): AppUninstalledEventFilter;
710
+ AppUninstalled(
711
+ app?: PromiseOrValue<string> | null,
712
+ account?: PromiseOrValue<string> | null,
713
+ appId?: PromiseOrValue<BytesLike> | null
714
+ ): AppUninstalledEventFilter;
715
+
468
716
  "AppUnregistered(address,bytes32)"(
469
717
  app?: PromiseOrValue<string> | null,
470
718
  uid?: null
@@ -502,20 +750,32 @@ export interface IAppRegistry extends BaseContract {
502
750
  overrides?: PayableOverrides & { from?: PromiseOrValue<string> }
503
751
  ): Promise<BigNumber>;
504
752
 
505
- getAppSchema(overrides?: CallOverrides): Promise<BigNumber>;
506
-
507
- getAppSchemaId(overrides?: CallOverrides): Promise<BigNumber>;
753
+ getAppByClient(
754
+ client: PromiseOrValue<string>,
755
+ overrides?: CallOverrides
756
+ ): Promise<BigNumber>;
508
757
 
509
- getAttestation(
758
+ getAppById(
510
759
  appId: PromiseOrValue<BytesLike>,
511
760
  overrides?: CallOverrides
512
761
  ): Promise<BigNumber>;
513
762
 
763
+ getAppSchema(overrides?: CallOverrides): Promise<BigNumber>;
764
+
765
+ getAppSchemaId(overrides?: CallOverrides): Promise<BigNumber>;
766
+
514
767
  getLatestAppId(
515
768
  app: PromiseOrValue<string>,
516
769
  overrides?: CallOverrides
517
770
  ): Promise<BigNumber>;
518
771
 
772
+ installApp(
773
+ app: PromiseOrValue<string>,
774
+ account: PromiseOrValue<string>,
775
+ data: PromiseOrValue<BytesLike>,
776
+ overrides?: PayableOverrides & { from?: PromiseOrValue<string> }
777
+ ): Promise<BigNumber>;
778
+
519
779
  isAppBanned(
520
780
  app: PromiseOrValue<string>,
521
781
  overrides?: CallOverrides
@@ -523,7 +783,7 @@ export interface IAppRegistry extends BaseContract {
523
783
 
524
784
  registerApp(
525
785
  app: PromiseOrValue<string>,
526
- clients: PromiseOrValue<string>[],
786
+ client: PromiseOrValue<string>,
527
787
  overrides?: PayableOverrides & { from?: PromiseOrValue<string> }
528
788
  ): Promise<BigNumber>;
529
789
 
@@ -531,6 +791,20 @@ export interface IAppRegistry extends BaseContract {
531
791
  appId: PromiseOrValue<BytesLike>,
532
792
  overrides?: Overrides & { from?: PromiseOrValue<string> }
533
793
  ): Promise<BigNumber>;
794
+
795
+ renewApp(
796
+ app: PromiseOrValue<string>,
797
+ account: PromiseOrValue<string>,
798
+ data: PromiseOrValue<BytesLike>,
799
+ overrides?: PayableOverrides & { from?: PromiseOrValue<string> }
800
+ ): Promise<BigNumber>;
801
+
802
+ uninstallApp(
803
+ app: PromiseOrValue<string>,
804
+ account: PromiseOrValue<string>,
805
+ data: PromiseOrValue<BytesLike>,
806
+ overrides?: Overrides & { from?: PromiseOrValue<string> }
807
+ ): Promise<BigNumber>;
534
808
  };
535
809
 
536
810
  populateTransaction: {
@@ -551,20 +825,32 @@ export interface IAppRegistry extends BaseContract {
551
825
  overrides?: PayableOverrides & { from?: PromiseOrValue<string> }
552
826
  ): Promise<PopulatedTransaction>;
553
827
 
554
- getAppSchema(overrides?: CallOverrides): Promise<PopulatedTransaction>;
555
-
556
- getAppSchemaId(overrides?: CallOverrides): Promise<PopulatedTransaction>;
828
+ getAppByClient(
829
+ client: PromiseOrValue<string>,
830
+ overrides?: CallOverrides
831
+ ): Promise<PopulatedTransaction>;
557
832
 
558
- getAttestation(
833
+ getAppById(
559
834
  appId: PromiseOrValue<BytesLike>,
560
835
  overrides?: CallOverrides
561
836
  ): Promise<PopulatedTransaction>;
562
837
 
838
+ getAppSchema(overrides?: CallOverrides): Promise<PopulatedTransaction>;
839
+
840
+ getAppSchemaId(overrides?: CallOverrides): Promise<PopulatedTransaction>;
841
+
563
842
  getLatestAppId(
564
843
  app: PromiseOrValue<string>,
565
844
  overrides?: CallOverrides
566
845
  ): Promise<PopulatedTransaction>;
567
846
 
847
+ installApp(
848
+ app: PromiseOrValue<string>,
849
+ account: PromiseOrValue<string>,
850
+ data: PromiseOrValue<BytesLike>,
851
+ overrides?: PayableOverrides & { from?: PromiseOrValue<string> }
852
+ ): Promise<PopulatedTransaction>;
853
+
568
854
  isAppBanned(
569
855
  app: PromiseOrValue<string>,
570
856
  overrides?: CallOverrides
@@ -572,7 +858,7 @@ export interface IAppRegistry extends BaseContract {
572
858
 
573
859
  registerApp(
574
860
  app: PromiseOrValue<string>,
575
- clients: PromiseOrValue<string>[],
861
+ client: PromiseOrValue<string>,
576
862
  overrides?: PayableOverrides & { from?: PromiseOrValue<string> }
577
863
  ): Promise<PopulatedTransaction>;
578
864
 
@@ -580,5 +866,19 @@ export interface IAppRegistry extends BaseContract {
580
866
  appId: PromiseOrValue<BytesLike>,
581
867
  overrides?: Overrides & { from?: PromiseOrValue<string> }
582
868
  ): Promise<PopulatedTransaction>;
869
+
870
+ renewApp(
871
+ app: PromiseOrValue<string>,
872
+ account: PromiseOrValue<string>,
873
+ data: PromiseOrValue<BytesLike>,
874
+ overrides?: PayableOverrides & { from?: PromiseOrValue<string> }
875
+ ): Promise<PopulatedTransaction>;
876
+
877
+ uninstallApp(
878
+ app: PromiseOrValue<string>,
879
+ account: PromiseOrValue<string>,
880
+ data: PromiseOrValue<BytesLike>,
881
+ overrides?: Overrides & { from?: PromiseOrValue<string> }
882
+ ): Promise<PopulatedTransaction>;
583
883
  };
584
884
  }