@towns-protocol/generated 0.0.375 → 0.0.376

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.
@@ -1 +1 @@
1
- 9e9889d29ec78f47e75aaad928d5edf83cce9954
1
+ 363307618993369bb3614de81a1864f07e49bb41
@@ -0,0 +1,89 @@
1
+ [
2
+ {
3
+ "type": "function",
4
+ "name": "installApp",
5
+ "inputs": [
6
+ {
7
+ "name": "app",
8
+ "type": "address",
9
+ "internalType": "contract ITownsApp"
10
+ },
11
+ {
12
+ "name": "account",
13
+ "type": "address",
14
+ "internalType": "contract IAppAccount"
15
+ },
16
+ {
17
+ "name": "data",
18
+ "type": "bytes",
19
+ "internalType": "bytes"
20
+ }
21
+ ],
22
+ "outputs": [],
23
+ "stateMutability": "payable"
24
+ },
25
+ {
26
+ "type": "function",
27
+ "name": "renewApp",
28
+ "inputs": [
29
+ {
30
+ "name": "app",
31
+ "type": "address",
32
+ "internalType": "contract ITownsApp"
33
+ },
34
+ {
35
+ "name": "account",
36
+ "type": "address",
37
+ "internalType": "contract IAppAccount"
38
+ },
39
+ {
40
+ "name": "data",
41
+ "type": "bytes",
42
+ "internalType": "bytes"
43
+ }
44
+ ],
45
+ "outputs": [],
46
+ "stateMutability": "payable"
47
+ },
48
+ {
49
+ "type": "function",
50
+ "name": "uninstallApp",
51
+ "inputs": [
52
+ {
53
+ "name": "app",
54
+ "type": "address",
55
+ "internalType": "contract ITownsApp"
56
+ },
57
+ {
58
+ "name": "account",
59
+ "type": "address",
60
+ "internalType": "contract IAppAccount"
61
+ },
62
+ {
63
+ "name": "data",
64
+ "type": "bytes",
65
+ "internalType": "bytes"
66
+ }
67
+ ],
68
+ "outputs": [],
69
+ "stateMutability": "nonpayable"
70
+ },
71
+ {
72
+ "type": "function",
73
+ "name": "updateApp",
74
+ "inputs": [
75
+ {
76
+ "name": "app",
77
+ "type": "address",
78
+ "internalType": "contract ITownsApp"
79
+ },
80
+ {
81
+ "name": "account",
82
+ "type": "address",
83
+ "internalType": "contract IAppAccount"
84
+ }
85
+ ],
86
+ "outputs": [],
87
+ "stateMutability": "nonpayable"
88
+ }
89
+ ]
@@ -0,0 +1,89 @@
1
+ export default [
2
+ {
3
+ "type": "function",
4
+ "name": "installApp",
5
+ "inputs": [
6
+ {
7
+ "name": "app",
8
+ "type": "address",
9
+ "internalType": "contract ITownsApp"
10
+ },
11
+ {
12
+ "name": "account",
13
+ "type": "address",
14
+ "internalType": "contract IAppAccount"
15
+ },
16
+ {
17
+ "name": "data",
18
+ "type": "bytes",
19
+ "internalType": "bytes"
20
+ }
21
+ ],
22
+ "outputs": [],
23
+ "stateMutability": "payable"
24
+ },
25
+ {
26
+ "type": "function",
27
+ "name": "renewApp",
28
+ "inputs": [
29
+ {
30
+ "name": "app",
31
+ "type": "address",
32
+ "internalType": "contract ITownsApp"
33
+ },
34
+ {
35
+ "name": "account",
36
+ "type": "address",
37
+ "internalType": "contract IAppAccount"
38
+ },
39
+ {
40
+ "name": "data",
41
+ "type": "bytes",
42
+ "internalType": "bytes"
43
+ }
44
+ ],
45
+ "outputs": [],
46
+ "stateMutability": "payable"
47
+ },
48
+ {
49
+ "type": "function",
50
+ "name": "uninstallApp",
51
+ "inputs": [
52
+ {
53
+ "name": "app",
54
+ "type": "address",
55
+ "internalType": "contract ITownsApp"
56
+ },
57
+ {
58
+ "name": "account",
59
+ "type": "address",
60
+ "internalType": "contract IAppAccount"
61
+ },
62
+ {
63
+ "name": "data",
64
+ "type": "bytes",
65
+ "internalType": "bytes"
66
+ }
67
+ ],
68
+ "outputs": [],
69
+ "stateMutability": "nonpayable"
70
+ },
71
+ {
72
+ "type": "function",
73
+ "name": "updateApp",
74
+ "inputs": [
75
+ {
76
+ "name": "app",
77
+ "type": "address",
78
+ "internalType": "contract ITownsApp"
79
+ },
80
+ {
81
+ "name": "account",
82
+ "type": "address",
83
+ "internalType": "contract IAppAccount"
84
+ }
85
+ ],
86
+ "outputs": [],
87
+ "stateMutability": "nonpayable"
88
+ }
89
+ ] as const
@@ -312,29 +312,6 @@
312
312
  ],
313
313
  "stateMutability": "view"
314
314
  },
315
- {
316
- "type": "function",
317
- "name": "installApp",
318
- "inputs": [
319
- {
320
- "name": "app",
321
- "type": "address",
322
- "internalType": "contract ITownsApp"
323
- },
324
- {
325
- "name": "account",
326
- "type": "address",
327
- "internalType": "contract IAppAccount"
328
- },
329
- {
330
- "name": "data",
331
- "type": "bytes",
332
- "internalType": "bytes"
333
- }
334
- ],
335
- "outputs": [],
336
- "stateMutability": "payable"
337
- },
338
315
  {
339
316
  "type": "function",
340
317
  "name": "isAppBanned",
@@ -391,70 +368,6 @@
391
368
  "outputs": [],
392
369
  "stateMutability": "nonpayable"
393
370
  },
394
- {
395
- "type": "function",
396
- "name": "renewApp",
397
- "inputs": [
398
- {
399
- "name": "app",
400
- "type": "address",
401
- "internalType": "contract ITownsApp"
402
- },
403
- {
404
- "name": "account",
405
- "type": "address",
406
- "internalType": "contract IAppAccount"
407
- },
408
- {
409
- "name": "data",
410
- "type": "bytes",
411
- "internalType": "bytes"
412
- }
413
- ],
414
- "outputs": [],
415
- "stateMutability": "payable"
416
- },
417
- {
418
- "type": "function",
419
- "name": "uninstallApp",
420
- "inputs": [
421
- {
422
- "name": "app",
423
- "type": "address",
424
- "internalType": "contract ITownsApp"
425
- },
426
- {
427
- "name": "account",
428
- "type": "address",
429
- "internalType": "contract IAppAccount"
430
- },
431
- {
432
- "name": "data",
433
- "type": "bytes",
434
- "internalType": "bytes"
435
- }
436
- ],
437
- "outputs": [],
438
- "stateMutability": "nonpayable"
439
- },
440
- {
441
- "type": "function",
442
- "name": "updateApp",
443
- "inputs": [
444
- {
445
- "name": "app",
446
- "type": "address",
447
- "internalType": "contract ITownsApp"
448
- },
449
- {
450
- "name": "account",
451
- "type": "address",
452
- "internalType": "contract IAppAccount"
453
- }
454
- ],
455
- "outputs": [],
456
- "stateMutability": "nonpayable"
457
- },
458
371
  {
459
372
  "type": "function",
460
373
  "name": "upgradeApp",
@@ -312,29 +312,6 @@ export default [
312
312
  ],
313
313
  "stateMutability": "view"
314
314
  },
315
- {
316
- "type": "function",
317
- "name": "installApp",
318
- "inputs": [
319
- {
320
- "name": "app",
321
- "type": "address",
322
- "internalType": "contract ITownsApp"
323
- },
324
- {
325
- "name": "account",
326
- "type": "address",
327
- "internalType": "contract IAppAccount"
328
- },
329
- {
330
- "name": "data",
331
- "type": "bytes",
332
- "internalType": "bytes"
333
- }
334
- ],
335
- "outputs": [],
336
- "stateMutability": "payable"
337
- },
338
315
  {
339
316
  "type": "function",
340
317
  "name": "isAppBanned",
@@ -391,70 +368,6 @@ export default [
391
368
  "outputs": [],
392
369
  "stateMutability": "nonpayable"
393
370
  },
394
- {
395
- "type": "function",
396
- "name": "renewApp",
397
- "inputs": [
398
- {
399
- "name": "app",
400
- "type": "address",
401
- "internalType": "contract ITownsApp"
402
- },
403
- {
404
- "name": "account",
405
- "type": "address",
406
- "internalType": "contract IAppAccount"
407
- },
408
- {
409
- "name": "data",
410
- "type": "bytes",
411
- "internalType": "bytes"
412
- }
413
- ],
414
- "outputs": [],
415
- "stateMutability": "payable"
416
- },
417
- {
418
- "type": "function",
419
- "name": "uninstallApp",
420
- "inputs": [
421
- {
422
- "name": "app",
423
- "type": "address",
424
- "internalType": "contract ITownsApp"
425
- },
426
- {
427
- "name": "account",
428
- "type": "address",
429
- "internalType": "contract IAppAccount"
430
- },
431
- {
432
- "name": "data",
433
- "type": "bytes",
434
- "internalType": "bytes"
435
- }
436
- ],
437
- "outputs": [],
438
- "stateMutability": "nonpayable"
439
- },
440
- {
441
- "type": "function",
442
- "name": "updateApp",
443
- "inputs": [
444
- {
445
- "name": "app",
446
- "type": "address",
447
- "internalType": "contract ITownsApp"
448
- },
449
- {
450
- "name": "account",
451
- "type": "address",
452
- "internalType": "contract IAppAccount"
453
- }
454
- ],
455
- "outputs": [],
456
- "stateMutability": "nonpayable"
457
- },
458
371
  {
459
372
  "type": "function",
460
373
  "name": "upgradeApp",
@@ -0,0 +1,239 @@
1
+ /* Autogenerated file. Do not edit manually. */
2
+ /* tslint:disable */
3
+ /* eslint-disable */
4
+ import type {
5
+ BaseContract,
6
+ BigNumber,
7
+ BytesLike,
8
+ CallOverrides,
9
+ ContractTransaction,
10
+ Overrides,
11
+ PayableOverrides,
12
+ PopulatedTransaction,
13
+ Signer,
14
+ utils,
15
+ } from "ethers";
16
+ import type { FunctionFragment, Result } from "@ethersproject/abi";
17
+ import type { Listener, Provider } from "@ethersproject/providers";
18
+ import type {
19
+ TypedEventFilter,
20
+ TypedEvent,
21
+ TypedListener,
22
+ OnEvent,
23
+ } from "./common";
24
+
25
+ export interface IAppInstallerInterface extends utils.Interface {
26
+ functions: {
27
+ "installApp(address,address,bytes)": FunctionFragment;
28
+ "renewApp(address,address,bytes)": FunctionFragment;
29
+ "uninstallApp(address,address,bytes)": FunctionFragment;
30
+ "updateApp(address,address)": FunctionFragment;
31
+ };
32
+
33
+ getFunction(
34
+ nameOrSignatureOrTopic:
35
+ | "installApp"
36
+ | "renewApp"
37
+ | "uninstallApp"
38
+ | "updateApp"
39
+ ): FunctionFragment;
40
+
41
+ encodeFunctionData(
42
+ functionFragment: "installApp",
43
+ values: [string, string, BytesLike]
44
+ ): string;
45
+ encodeFunctionData(
46
+ functionFragment: "renewApp",
47
+ values: [string, string, BytesLike]
48
+ ): string;
49
+ encodeFunctionData(
50
+ functionFragment: "uninstallApp",
51
+ values: [string, string, BytesLike]
52
+ ): string;
53
+ encodeFunctionData(
54
+ functionFragment: "updateApp",
55
+ values: [string, string]
56
+ ): string;
57
+
58
+ decodeFunctionResult(functionFragment: "installApp", data: BytesLike): Result;
59
+ decodeFunctionResult(functionFragment: "renewApp", data: BytesLike): Result;
60
+ decodeFunctionResult(
61
+ functionFragment: "uninstallApp",
62
+ data: BytesLike
63
+ ): Result;
64
+ decodeFunctionResult(functionFragment: "updateApp", data: BytesLike): Result;
65
+
66
+ events: {};
67
+ }
68
+
69
+ export interface IAppInstaller extends BaseContract {
70
+ connect(signerOrProvider: Signer | Provider | string): this;
71
+ attach(addressOrName: string): this;
72
+ deployed(): Promise<this>;
73
+
74
+ interface: IAppInstallerInterface;
75
+
76
+ queryFilter<TEvent extends TypedEvent>(
77
+ event: TypedEventFilter<TEvent>,
78
+ fromBlockOrBlockhash?: string | number | undefined,
79
+ toBlock?: string | number | undefined
80
+ ): Promise<Array<TEvent>>;
81
+
82
+ listeners<TEvent extends TypedEvent>(
83
+ eventFilter?: TypedEventFilter<TEvent>
84
+ ): Array<TypedListener<TEvent>>;
85
+ listeners(eventName?: string): Array<Listener>;
86
+ removeAllListeners<TEvent extends TypedEvent>(
87
+ eventFilter: TypedEventFilter<TEvent>
88
+ ): this;
89
+ removeAllListeners(eventName?: string): this;
90
+ off: OnEvent<this>;
91
+ on: OnEvent<this>;
92
+ once: OnEvent<this>;
93
+ removeListener: OnEvent<this>;
94
+
95
+ functions: {
96
+ installApp(
97
+ app: string,
98
+ account: string,
99
+ data: BytesLike,
100
+ overrides?: PayableOverrides & { from?: string }
101
+ ): Promise<ContractTransaction>;
102
+
103
+ renewApp(
104
+ app: string,
105
+ account: string,
106
+ data: BytesLike,
107
+ overrides?: PayableOverrides & { from?: string }
108
+ ): Promise<ContractTransaction>;
109
+
110
+ uninstallApp(
111
+ app: string,
112
+ account: string,
113
+ data: BytesLike,
114
+ overrides?: Overrides & { from?: string }
115
+ ): Promise<ContractTransaction>;
116
+
117
+ updateApp(
118
+ app: string,
119
+ account: string,
120
+ overrides?: Overrides & { from?: string }
121
+ ): Promise<ContractTransaction>;
122
+ };
123
+
124
+ installApp(
125
+ app: string,
126
+ account: string,
127
+ data: BytesLike,
128
+ overrides?: PayableOverrides & { from?: string }
129
+ ): Promise<ContractTransaction>;
130
+
131
+ renewApp(
132
+ app: string,
133
+ account: string,
134
+ data: BytesLike,
135
+ overrides?: PayableOverrides & { from?: string }
136
+ ): Promise<ContractTransaction>;
137
+
138
+ uninstallApp(
139
+ app: string,
140
+ account: string,
141
+ data: BytesLike,
142
+ overrides?: Overrides & { from?: string }
143
+ ): Promise<ContractTransaction>;
144
+
145
+ updateApp(
146
+ app: string,
147
+ account: string,
148
+ overrides?: Overrides & { from?: string }
149
+ ): Promise<ContractTransaction>;
150
+
151
+ callStatic: {
152
+ installApp(
153
+ app: string,
154
+ account: string,
155
+ data: BytesLike,
156
+ overrides?: CallOverrides
157
+ ): Promise<void>;
158
+
159
+ renewApp(
160
+ app: string,
161
+ account: string,
162
+ data: BytesLike,
163
+ overrides?: CallOverrides
164
+ ): Promise<void>;
165
+
166
+ uninstallApp(
167
+ app: string,
168
+ account: string,
169
+ data: BytesLike,
170
+ overrides?: CallOverrides
171
+ ): Promise<void>;
172
+
173
+ updateApp(
174
+ app: string,
175
+ account: string,
176
+ overrides?: CallOverrides
177
+ ): Promise<void>;
178
+ };
179
+
180
+ filters: {};
181
+
182
+ estimateGas: {
183
+ installApp(
184
+ app: string,
185
+ account: string,
186
+ data: BytesLike,
187
+ overrides?: PayableOverrides & { from?: string }
188
+ ): Promise<BigNumber>;
189
+
190
+ renewApp(
191
+ app: string,
192
+ account: string,
193
+ data: BytesLike,
194
+ overrides?: PayableOverrides & { from?: string }
195
+ ): Promise<BigNumber>;
196
+
197
+ uninstallApp(
198
+ app: string,
199
+ account: string,
200
+ data: BytesLike,
201
+ overrides?: Overrides & { from?: string }
202
+ ): Promise<BigNumber>;
203
+
204
+ updateApp(
205
+ app: string,
206
+ account: string,
207
+ overrides?: Overrides & { from?: string }
208
+ ): Promise<BigNumber>;
209
+ };
210
+
211
+ populateTransaction: {
212
+ installApp(
213
+ app: string,
214
+ account: string,
215
+ data: BytesLike,
216
+ overrides?: PayableOverrides & { from?: string }
217
+ ): Promise<PopulatedTransaction>;
218
+
219
+ renewApp(
220
+ app: string,
221
+ account: string,
222
+ data: BytesLike,
223
+ overrides?: PayableOverrides & { from?: string }
224
+ ): Promise<PopulatedTransaction>;
225
+
226
+ uninstallApp(
227
+ app: string,
228
+ account: string,
229
+ data: BytesLike,
230
+ overrides?: Overrides & { from?: string }
231
+ ): Promise<PopulatedTransaction>;
232
+
233
+ updateApp(
234
+ app: string,
235
+ account: string,
236
+ overrides?: Overrides & { from?: string }
237
+ ): Promise<PopulatedTransaction>;
238
+ };
239
+ }
@@ -142,13 +142,9 @@ export interface IAppRegistryInterface extends utils.Interface {
142
142
  "getAppSchema()": FunctionFragment;
143
143
  "getAppSchemaId()": FunctionFragment;
144
144
  "getLatestAppId(address)": FunctionFragment;
145
- "installApp(address,address,bytes)": FunctionFragment;
146
145
  "isAppBanned(address)": FunctionFragment;
147
146
  "registerApp(address,address)": FunctionFragment;
148
147
  "removeApp(bytes32)": FunctionFragment;
149
- "renewApp(address,address,bytes)": FunctionFragment;
150
- "uninstallApp(address,address,bytes)": FunctionFragment;
151
- "updateApp(address,address)": FunctionFragment;
152
148
  "upgradeApp(address,address,bytes32)": FunctionFragment;
153
149
  };
154
150
 
@@ -164,13 +160,9 @@ export interface IAppRegistryInterface extends utils.Interface {
164
160
  | "getAppSchema"
165
161
  | "getAppSchemaId"
166
162
  | "getLatestAppId"
167
- | "installApp"
168
163
  | "isAppBanned"
169
164
  | "registerApp"
170
165
  | "removeApp"
171
- | "renewApp"
172
- | "uninstallApp"
173
- | "updateApp"
174
166
  | "upgradeApp"
175
167
  ): FunctionFragment;
176
168
 
@@ -208,10 +200,6 @@ export interface IAppRegistryInterface extends utils.Interface {
208
200
  functionFragment: "getLatestAppId",
209
201
  values: [string]
210
202
  ): string;
211
- encodeFunctionData(
212
- functionFragment: "installApp",
213
- values: [string, string, BytesLike]
214
- ): string;
215
203
  encodeFunctionData(functionFragment: "isAppBanned", values: [string]): string;
216
204
  encodeFunctionData(
217
205
  functionFragment: "registerApp",
@@ -221,18 +209,6 @@ export interface IAppRegistryInterface extends utils.Interface {
221
209
  functionFragment: "removeApp",
222
210
  values: [BytesLike]
223
211
  ): string;
224
- encodeFunctionData(
225
- functionFragment: "renewApp",
226
- values: [string, string, BytesLike]
227
- ): string;
228
- encodeFunctionData(
229
- functionFragment: "uninstallApp",
230
- values: [string, string, BytesLike]
231
- ): string;
232
- encodeFunctionData(
233
- functionFragment: "updateApp",
234
- values: [string, string]
235
- ): string;
236
212
  encodeFunctionData(
237
213
  functionFragment: "upgradeApp",
238
214
  values: [string, string, BytesLike]
@@ -272,7 +248,6 @@ export interface IAppRegistryInterface extends utils.Interface {
272
248
  functionFragment: "getLatestAppId",
273
249
  data: BytesLike
274
250
  ): Result;
275
- decodeFunctionResult(functionFragment: "installApp", data: BytesLike): Result;
276
251
  decodeFunctionResult(
277
252
  functionFragment: "isAppBanned",
278
253
  data: BytesLike
@@ -282,12 +257,6 @@ export interface IAppRegistryInterface extends utils.Interface {
282
257
  data: BytesLike
283
258
  ): Result;
284
259
  decodeFunctionResult(functionFragment: "removeApp", data: BytesLike): Result;
285
- decodeFunctionResult(functionFragment: "renewApp", data: BytesLike): Result;
286
- decodeFunctionResult(
287
- functionFragment: "uninstallApp",
288
- data: BytesLike
289
- ): Result;
290
- decodeFunctionResult(functionFragment: "updateApp", data: BytesLike): Result;
291
260
  decodeFunctionResult(functionFragment: "upgradeApp", data: BytesLike): Result;
292
261
 
293
262
  events: {
@@ -506,13 +475,6 @@ export interface IAppRegistry extends BaseContract {
506
475
 
507
476
  getLatestAppId(app: string, overrides?: CallOverrides): Promise<[string]>;
508
477
 
509
- installApp(
510
- app: string,
511
- account: string,
512
- data: BytesLike,
513
- overrides?: PayableOverrides & { from?: string }
514
- ): Promise<ContractTransaction>;
515
-
516
478
  isAppBanned(app: string, overrides?: CallOverrides): Promise<[boolean]>;
517
479
 
518
480
  registerApp(
@@ -526,26 +488,6 @@ export interface IAppRegistry extends BaseContract {
526
488
  overrides?: Overrides & { from?: string }
527
489
  ): Promise<ContractTransaction>;
528
490
 
529
- renewApp(
530
- app: string,
531
- account: string,
532
- data: BytesLike,
533
- overrides?: PayableOverrides & { from?: string }
534
- ): Promise<ContractTransaction>;
535
-
536
- uninstallApp(
537
- app: string,
538
- account: string,
539
- data: BytesLike,
540
- overrides?: Overrides & { from?: string }
541
- ): Promise<ContractTransaction>;
542
-
543
- updateApp(
544
- app: string,
545
- account: string,
546
- overrides?: Overrides & { from?: string }
547
- ): Promise<ContractTransaction>;
548
-
549
491
  upgradeApp(
550
492
  app: string,
551
493
  client: string,
@@ -588,13 +530,6 @@ export interface IAppRegistry extends BaseContract {
588
530
 
589
531
  getLatestAppId(app: string, overrides?: CallOverrides): Promise<string>;
590
532
 
591
- installApp(
592
- app: string,
593
- account: string,
594
- data: BytesLike,
595
- overrides?: PayableOverrides & { from?: string }
596
- ): Promise<ContractTransaction>;
597
-
598
533
  isAppBanned(app: string, overrides?: CallOverrides): Promise<boolean>;
599
534
 
600
535
  registerApp(
@@ -608,26 +543,6 @@ export interface IAppRegistry extends BaseContract {
608
543
  overrides?: Overrides & { from?: string }
609
544
  ): Promise<ContractTransaction>;
610
545
 
611
- renewApp(
612
- app: string,
613
- account: string,
614
- data: BytesLike,
615
- overrides?: PayableOverrides & { from?: string }
616
- ): Promise<ContractTransaction>;
617
-
618
- uninstallApp(
619
- app: string,
620
- account: string,
621
- data: BytesLike,
622
- overrides?: Overrides & { from?: string }
623
- ): Promise<ContractTransaction>;
624
-
625
- updateApp(
626
- app: string,
627
- account: string,
628
- overrides?: Overrides & { from?: string }
629
- ): Promise<ContractTransaction>;
630
-
631
546
  upgradeApp(
632
547
  app: string,
633
548
  client: string,
@@ -667,13 +582,6 @@ export interface IAppRegistry extends BaseContract {
667
582
 
668
583
  getLatestAppId(app: string, overrides?: CallOverrides): Promise<string>;
669
584
 
670
- installApp(
671
- app: string,
672
- account: string,
673
- data: BytesLike,
674
- overrides?: CallOverrides
675
- ): Promise<void>;
676
-
677
585
  isAppBanned(app: string, overrides?: CallOverrides): Promise<boolean>;
678
586
 
679
587
  registerApp(
@@ -684,26 +592,6 @@ export interface IAppRegistry extends BaseContract {
684
592
 
685
593
  removeApp(appId: BytesLike, overrides?: CallOverrides): Promise<void>;
686
594
 
687
- renewApp(
688
- app: string,
689
- account: string,
690
- data: BytesLike,
691
- overrides?: CallOverrides
692
- ): Promise<void>;
693
-
694
- uninstallApp(
695
- app: string,
696
- account: string,
697
- data: BytesLike,
698
- overrides?: CallOverrides
699
- ): Promise<void>;
700
-
701
- updateApp(
702
- app: string,
703
- account: string,
704
- overrides?: CallOverrides
705
- ): Promise<void>;
706
-
707
595
  upgradeApp(
708
596
  app: string,
709
597
  client: string,
@@ -833,13 +721,6 @@ export interface IAppRegistry extends BaseContract {
833
721
 
834
722
  getLatestAppId(app: string, overrides?: CallOverrides): Promise<BigNumber>;
835
723
 
836
- installApp(
837
- app: string,
838
- account: string,
839
- data: BytesLike,
840
- overrides?: PayableOverrides & { from?: string }
841
- ): Promise<BigNumber>;
842
-
843
724
  isAppBanned(app: string, overrides?: CallOverrides): Promise<BigNumber>;
844
725
 
845
726
  registerApp(
@@ -853,26 +734,6 @@ export interface IAppRegistry extends BaseContract {
853
734
  overrides?: Overrides & { from?: string }
854
735
  ): Promise<BigNumber>;
855
736
 
856
- renewApp(
857
- app: string,
858
- account: string,
859
- data: BytesLike,
860
- overrides?: PayableOverrides & { from?: string }
861
- ): Promise<BigNumber>;
862
-
863
- uninstallApp(
864
- app: string,
865
- account: string,
866
- data: BytesLike,
867
- overrides?: Overrides & { from?: string }
868
- ): Promise<BigNumber>;
869
-
870
- updateApp(
871
- app: string,
872
- account: string,
873
- overrides?: Overrides & { from?: string }
874
- ): Promise<BigNumber>;
875
-
876
737
  upgradeApp(
877
738
  app: string,
878
739
  client: string,
@@ -928,13 +789,6 @@ export interface IAppRegistry extends BaseContract {
928
789
  overrides?: CallOverrides
929
790
  ): Promise<PopulatedTransaction>;
930
791
 
931
- installApp(
932
- app: string,
933
- account: string,
934
- data: BytesLike,
935
- overrides?: PayableOverrides & { from?: string }
936
- ): Promise<PopulatedTransaction>;
937
-
938
792
  isAppBanned(
939
793
  app: string,
940
794
  overrides?: CallOverrides
@@ -951,26 +805,6 @@ export interface IAppRegistry extends BaseContract {
951
805
  overrides?: Overrides & { from?: string }
952
806
  ): Promise<PopulatedTransaction>;
953
807
 
954
- renewApp(
955
- app: string,
956
- account: string,
957
- data: BytesLike,
958
- overrides?: PayableOverrides & { from?: string }
959
- ): Promise<PopulatedTransaction>;
960
-
961
- uninstallApp(
962
- app: string,
963
- account: string,
964
- data: BytesLike,
965
- overrides?: Overrides & { from?: string }
966
- ): Promise<PopulatedTransaction>;
967
-
968
- updateApp(
969
- app: string,
970
- account: string,
971
- overrides?: Overrides & { from?: string }
972
- ): Promise<PopulatedTransaction>;
973
-
974
808
  upgradeApp(
975
809
  app: string,
976
810
  client: string,
@@ -0,0 +1,110 @@
1
+ /* Autogenerated file. Do not edit manually. */
2
+ /* tslint:disable */
3
+ /* eslint-disable */
4
+
5
+ import { Contract, Signer, utils } from "ethers";
6
+ import type { Provider } from "@ethersproject/providers";
7
+ import type { IAppInstaller, IAppInstallerInterface } from "../IAppInstaller";
8
+
9
+ const _abi = [
10
+ {
11
+ type: "function",
12
+ name: "installApp",
13
+ inputs: [
14
+ {
15
+ name: "app",
16
+ type: "address",
17
+ internalType: "contract ITownsApp",
18
+ },
19
+ {
20
+ name: "account",
21
+ type: "address",
22
+ internalType: "contract IAppAccount",
23
+ },
24
+ {
25
+ name: "data",
26
+ type: "bytes",
27
+ internalType: "bytes",
28
+ },
29
+ ],
30
+ outputs: [],
31
+ stateMutability: "payable",
32
+ },
33
+ {
34
+ type: "function",
35
+ name: "renewApp",
36
+ inputs: [
37
+ {
38
+ name: "app",
39
+ type: "address",
40
+ internalType: "contract ITownsApp",
41
+ },
42
+ {
43
+ name: "account",
44
+ type: "address",
45
+ internalType: "contract IAppAccount",
46
+ },
47
+ {
48
+ name: "data",
49
+ type: "bytes",
50
+ internalType: "bytes",
51
+ },
52
+ ],
53
+ outputs: [],
54
+ stateMutability: "payable",
55
+ },
56
+ {
57
+ type: "function",
58
+ name: "uninstallApp",
59
+ inputs: [
60
+ {
61
+ name: "app",
62
+ type: "address",
63
+ internalType: "contract ITownsApp",
64
+ },
65
+ {
66
+ name: "account",
67
+ type: "address",
68
+ internalType: "contract IAppAccount",
69
+ },
70
+ {
71
+ name: "data",
72
+ type: "bytes",
73
+ internalType: "bytes",
74
+ },
75
+ ],
76
+ outputs: [],
77
+ stateMutability: "nonpayable",
78
+ },
79
+ {
80
+ type: "function",
81
+ name: "updateApp",
82
+ inputs: [
83
+ {
84
+ name: "app",
85
+ type: "address",
86
+ internalType: "contract ITownsApp",
87
+ },
88
+ {
89
+ name: "account",
90
+ type: "address",
91
+ internalType: "contract IAppAccount",
92
+ },
93
+ ],
94
+ outputs: [],
95
+ stateMutability: "nonpayable",
96
+ },
97
+ ] as const;
98
+
99
+ export class IAppInstaller__factory {
100
+ static readonly abi = _abi;
101
+ static createInterface(): IAppInstallerInterface {
102
+ return new utils.Interface(_abi) as IAppInstallerInterface;
103
+ }
104
+ static connect(
105
+ address: string,
106
+ signerOrProvider: Signer | Provider
107
+ ): IAppInstaller {
108
+ return new Contract(address, _abi, signerOrProvider) as IAppInstaller;
109
+ }
110
+ }
@@ -320,29 +320,6 @@ const _abi = [
320
320
  ],
321
321
  stateMutability: "view",
322
322
  },
323
- {
324
- type: "function",
325
- name: "installApp",
326
- inputs: [
327
- {
328
- name: "app",
329
- type: "address",
330
- internalType: "contract ITownsApp",
331
- },
332
- {
333
- name: "account",
334
- type: "address",
335
- internalType: "contract IAppAccount",
336
- },
337
- {
338
- name: "data",
339
- type: "bytes",
340
- internalType: "bytes",
341
- },
342
- ],
343
- outputs: [],
344
- stateMutability: "payable",
345
- },
346
323
  {
347
324
  type: "function",
348
325
  name: "isAppBanned",
@@ -399,70 +376,6 @@ const _abi = [
399
376
  outputs: [],
400
377
  stateMutability: "nonpayable",
401
378
  },
402
- {
403
- type: "function",
404
- name: "renewApp",
405
- inputs: [
406
- {
407
- name: "app",
408
- type: "address",
409
- internalType: "contract ITownsApp",
410
- },
411
- {
412
- name: "account",
413
- type: "address",
414
- internalType: "contract IAppAccount",
415
- },
416
- {
417
- name: "data",
418
- type: "bytes",
419
- internalType: "bytes",
420
- },
421
- ],
422
- outputs: [],
423
- stateMutability: "payable",
424
- },
425
- {
426
- type: "function",
427
- name: "uninstallApp",
428
- inputs: [
429
- {
430
- name: "app",
431
- type: "address",
432
- internalType: "contract ITownsApp",
433
- },
434
- {
435
- name: "account",
436
- type: "address",
437
- internalType: "contract IAppAccount",
438
- },
439
- {
440
- name: "data",
441
- type: "bytes",
442
- internalType: "bytes",
443
- },
444
- ],
445
- outputs: [],
446
- stateMutability: "nonpayable",
447
- },
448
- {
449
- type: "function",
450
- name: "updateApp",
451
- inputs: [
452
- {
453
- name: "app",
454
- type: "address",
455
- internalType: "contract ITownsApp",
456
- },
457
- {
458
- name: "account",
459
- type: "address",
460
- internalType: "contract IAppAccount",
461
- },
462
- ],
463
- outputs: [],
464
- stateMutability: "nonpayable",
465
- },
466
379
  {
467
380
  type: "function",
468
381
  name: "upgradeApp",
@@ -11,6 +11,7 @@ export { DropFacet__factory } from "./DropFacet__factory";
11
11
  export { EntitlementsManager__factory } from "./EntitlementsManager__factory";
12
12
  export { GuardianFacet__factory } from "./GuardianFacet__factory";
13
13
  export { IAppAccount__factory } from "./IAppAccount__factory";
14
+ export { IAppInstaller__factory } from "./IAppInstaller__factory";
14
15
  export { IAppRegistry__factory } from "./IAppRegistry__factory";
15
16
  export { IArchitect__factory } from "./IArchitect__factory";
16
17
  export { IBanning__factory } from "./IBanning__factory";
@@ -15,6 +15,7 @@ export type { DropFacet } from "./DropFacet";
15
15
  export type { EntitlementsManager } from "./EntitlementsManager";
16
16
  export type { GuardianFacet } from "./GuardianFacet";
17
17
  export type { IAppAccount } from "./IAppAccount";
18
+ export type { IAppInstaller } from "./IAppInstaller";
18
19
  export type { IAppRegistry } from "./IAppRegistry";
19
20
  export type { IArchitect } from "./IArchitect";
20
21
  export type { IBanning } from "./IBanning";
@@ -76,6 +77,7 @@ export { DropFacet__factory } from "./factories/DropFacet__factory";
76
77
  export { EntitlementsManager__factory } from "./factories/EntitlementsManager__factory";
77
78
  export { GuardianFacet__factory } from "./factories/GuardianFacet__factory";
78
79
  export { IAppAccount__factory } from "./factories/IAppAccount__factory";
80
+ export { IAppInstaller__factory } from "./factories/IAppInstaller__factory";
79
81
  export { IAppRegistry__factory } from "./factories/IAppRegistry__factory";
80
82
  export { IArchitect__factory } from "./factories/IArchitect__factory";
81
83
  export { IBanning__factory } from "./factories/IBanning__factory";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@towns-protocol/generated",
3
- "version": "0.0.375",
3
+ "version": "0.0.376",
4
4
  "packageManager": "yarn@3.8.0",
5
5
  "type": "module",
6
6
  "scripts": {
@@ -13,7 +13,7 @@
13
13
  "ethers": "^5.8.0"
14
14
  },
15
15
  "devDependencies": {
16
- "@towns-protocol/contracts": "^0.0.375"
16
+ "@towns-protocol/contracts": "^0.0.376"
17
17
  },
18
18
  "files": [
19
19
  "config/**/*",
@@ -32,5 +32,5 @@
32
32
  "publishConfig": {
33
33
  "access": "public"
34
34
  },
35
- "gitHead": "f64537fbf8d7eca815c5c5e52f601a387e713a0a"
35
+ "gitHead": "500000c0d1b16a866df765a75c7972b5d1691693"
36
36
  }