@towns-protocol/generated 0.0.336 → 0.0.338

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.
@@ -9,6 +9,7 @@ import type {
9
9
  CallOverrides,
10
10
  ContractTransaction,
11
11
  Overrides,
12
+ PayableOverrides,
12
13
  PopulatedTransaction,
13
14
  Signer,
14
15
  utils,
@@ -82,10 +83,12 @@ export interface IAppAccountInterface extends utils.Interface {
82
83
  functions: {
83
84
  "disableApp(address)": FunctionFragment;
84
85
  "enableApp(address)": FunctionFragment;
86
+ "execute(address,uint256,bytes)": FunctionFragment;
85
87
  "getAppExpiration(address)": FunctionFragment;
86
88
  "getAppId(address)": FunctionFragment;
87
89
  "getInstalledApps()": FunctionFragment;
88
90
  "isAppEntitled(address,address,bytes32)": FunctionFragment;
91
+ "isAppExecuting(address)": FunctionFragment;
89
92
  "isAppInstalled(address)": FunctionFragment;
90
93
  "onInstallApp(bytes32,bytes)": FunctionFragment;
91
94
  "onRenewApp(bytes32,bytes)": FunctionFragment;
@@ -96,10 +99,12 @@ export interface IAppAccountInterface extends utils.Interface {
96
99
  nameOrSignatureOrTopic:
97
100
  | "disableApp"
98
101
  | "enableApp"
102
+ | "execute"
99
103
  | "getAppExpiration"
100
104
  | "getAppId"
101
105
  | "getInstalledApps"
102
106
  | "isAppEntitled"
107
+ | "isAppExecuting"
103
108
  | "isAppInstalled"
104
109
  | "onInstallApp"
105
110
  | "onRenewApp"
@@ -114,6 +119,14 @@ export interface IAppAccountInterface extends utils.Interface {
114
119
  functionFragment: "enableApp",
115
120
  values: [PromiseOrValue<string>]
116
121
  ): string;
122
+ encodeFunctionData(
123
+ functionFragment: "execute",
124
+ values: [
125
+ PromiseOrValue<string>,
126
+ PromiseOrValue<BigNumberish>,
127
+ PromiseOrValue<BytesLike>
128
+ ]
129
+ ): string;
117
130
  encodeFunctionData(
118
131
  functionFragment: "getAppExpiration",
119
132
  values: [PromiseOrValue<string>]
@@ -134,6 +147,10 @@ export interface IAppAccountInterface extends utils.Interface {
134
147
  PromiseOrValue<BytesLike>
135
148
  ]
136
149
  ): string;
150
+ encodeFunctionData(
151
+ functionFragment: "isAppExecuting",
152
+ values: [PromiseOrValue<string>]
153
+ ): string;
137
154
  encodeFunctionData(
138
155
  functionFragment: "isAppInstalled",
139
156
  values: [PromiseOrValue<string>]
@@ -153,6 +170,7 @@ export interface IAppAccountInterface extends utils.Interface {
153
170
 
154
171
  decodeFunctionResult(functionFragment: "disableApp", data: BytesLike): Result;
155
172
  decodeFunctionResult(functionFragment: "enableApp", data: BytesLike): Result;
173
+ decodeFunctionResult(functionFragment: "execute", data: BytesLike): Result;
156
174
  decodeFunctionResult(
157
175
  functionFragment: "getAppExpiration",
158
176
  data: BytesLike
@@ -166,6 +184,10 @@ export interface IAppAccountInterface extends utils.Interface {
166
184
  functionFragment: "isAppEntitled",
167
185
  data: BytesLike
168
186
  ): Result;
187
+ decodeFunctionResult(
188
+ functionFragment: "isAppExecuting",
189
+ data: BytesLike
190
+ ): Result;
169
191
  decodeFunctionResult(
170
192
  functionFragment: "isAppInstalled",
171
193
  data: BytesLike
@@ -251,6 +273,13 @@ export interface IAppAccount extends BaseContract {
251
273
  overrides?: Overrides & { from?: PromiseOrValue<string> }
252
274
  ): Promise<ContractTransaction>;
253
275
 
276
+ execute(
277
+ target: PromiseOrValue<string>,
278
+ value: PromiseOrValue<BigNumberish>,
279
+ data: PromiseOrValue<BytesLike>,
280
+ overrides?: PayableOverrides & { from?: PromiseOrValue<string> }
281
+ ): Promise<ContractTransaction>;
282
+
254
283
  getAppExpiration(
255
284
  app: PromiseOrValue<string>,
256
285
  overrides?: CallOverrides
@@ -270,6 +299,11 @@ export interface IAppAccount extends BaseContract {
270
299
  overrides?: CallOverrides
271
300
  ): Promise<[boolean]>;
272
301
 
302
+ isAppExecuting(
303
+ app: PromiseOrValue<string>,
304
+ overrides?: CallOverrides
305
+ ): Promise<[boolean]>;
306
+
273
307
  isAppInstalled(
274
308
  app: PromiseOrValue<string>,
275
309
  overrides?: CallOverrides
@@ -304,6 +338,13 @@ export interface IAppAccount extends BaseContract {
304
338
  overrides?: Overrides & { from?: PromiseOrValue<string> }
305
339
  ): Promise<ContractTransaction>;
306
340
 
341
+ execute(
342
+ target: PromiseOrValue<string>,
343
+ value: PromiseOrValue<BigNumberish>,
344
+ data: PromiseOrValue<BytesLike>,
345
+ overrides?: PayableOverrides & { from?: PromiseOrValue<string> }
346
+ ): Promise<ContractTransaction>;
347
+
307
348
  getAppExpiration(
308
349
  app: PromiseOrValue<string>,
309
350
  overrides?: CallOverrides
@@ -323,6 +364,11 @@ export interface IAppAccount extends BaseContract {
323
364
  overrides?: CallOverrides
324
365
  ): Promise<boolean>;
325
366
 
367
+ isAppExecuting(
368
+ app: PromiseOrValue<string>,
369
+ overrides?: CallOverrides
370
+ ): Promise<boolean>;
371
+
326
372
  isAppInstalled(
327
373
  app: PromiseOrValue<string>,
328
374
  overrides?: CallOverrides
@@ -357,6 +403,13 @@ export interface IAppAccount extends BaseContract {
357
403
  overrides?: CallOverrides
358
404
  ): Promise<void>;
359
405
 
406
+ execute(
407
+ target: PromiseOrValue<string>,
408
+ value: PromiseOrValue<BigNumberish>,
409
+ data: PromiseOrValue<BytesLike>,
410
+ overrides?: CallOverrides
411
+ ): Promise<string>;
412
+
360
413
  getAppExpiration(
361
414
  app: PromiseOrValue<string>,
362
415
  overrides?: CallOverrides
@@ -376,6 +429,11 @@ export interface IAppAccount extends BaseContract {
376
429
  overrides?: CallOverrides
377
430
  ): Promise<boolean>;
378
431
 
432
+ isAppExecuting(
433
+ app: PromiseOrValue<string>,
434
+ overrides?: CallOverrides
435
+ ): Promise<boolean>;
436
+
379
437
  isAppInstalled(
380
438
  app: PromiseOrValue<string>,
381
439
  overrides?: CallOverrides
@@ -433,6 +491,13 @@ export interface IAppAccount extends BaseContract {
433
491
  overrides?: Overrides & { from?: PromiseOrValue<string> }
434
492
  ): Promise<BigNumber>;
435
493
 
494
+ execute(
495
+ target: PromiseOrValue<string>,
496
+ value: PromiseOrValue<BigNumberish>,
497
+ data: PromiseOrValue<BytesLike>,
498
+ overrides?: PayableOverrides & { from?: PromiseOrValue<string> }
499
+ ): Promise<BigNumber>;
500
+
436
501
  getAppExpiration(
437
502
  app: PromiseOrValue<string>,
438
503
  overrides?: CallOverrides
@@ -452,6 +517,11 @@ export interface IAppAccount extends BaseContract {
452
517
  overrides?: CallOverrides
453
518
  ): Promise<BigNumber>;
454
519
 
520
+ isAppExecuting(
521
+ app: PromiseOrValue<string>,
522
+ overrides?: CallOverrides
523
+ ): Promise<BigNumber>;
524
+
455
525
  isAppInstalled(
456
526
  app: PromiseOrValue<string>,
457
527
  overrides?: CallOverrides
@@ -487,6 +557,13 @@ export interface IAppAccount extends BaseContract {
487
557
  overrides?: Overrides & { from?: PromiseOrValue<string> }
488
558
  ): Promise<PopulatedTransaction>;
489
559
 
560
+ execute(
561
+ target: PromiseOrValue<string>,
562
+ value: PromiseOrValue<BigNumberish>,
563
+ data: PromiseOrValue<BytesLike>,
564
+ overrides?: PayableOverrides & { from?: PromiseOrValue<string> }
565
+ ): Promise<PopulatedTransaction>;
566
+
490
567
  getAppExpiration(
491
568
  app: PromiseOrValue<string>,
492
569
  overrides?: CallOverrides
@@ -506,6 +583,11 @@ export interface IAppAccount extends BaseContract {
506
583
  overrides?: CallOverrides
507
584
  ): Promise<PopulatedTransaction>;
508
585
 
586
+ isAppExecuting(
587
+ app: PromiseOrValue<string>,
588
+ overrides?: CallOverrides
589
+ ): Promise<PopulatedTransaction>;
590
+
509
591
  isAppInstalled(
510
592
  app: PromiseOrValue<string>,
511
593
  overrides?: CallOverrides