@towns-protocol/generated 0.0.383 → 0.0.385

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 (45) hide show
  1. package/dev/.contracts-hash +1 -1
  2. package/dev/abis/Channels.abi.json +10 -10
  3. package/dev/abis/Channels.abi.ts +10 -10
  4. package/dev/abis/EntitlementsManager.abi.json +10 -10
  5. package/dev/abis/EntitlementsManager.abi.ts +10 -10
  6. package/dev/abis/IAppFactory.abi.json +224 -0
  7. package/dev/abis/IAppFactory.abi.ts +224 -0
  8. package/dev/abis/IAppFactoryBase.abi.json +72 -0
  9. package/dev/abis/IAppFactoryBase.abi.ts +72 -0
  10. package/dev/abis/IAppRegistry.abi.json +10 -10
  11. package/dev/abis/IAppRegistry.abi.ts +10 -10
  12. package/dev/abis/IAppRegistryBase.abi.json +10 -10
  13. package/dev/abis/IAppRegistryBase.abi.ts +10 -10
  14. package/dev/abis/ISimpleApp.abi.json +203 -0
  15. package/dev/abis/ISimpleApp.abi.ts +203 -0
  16. package/dev/abis/ISimpleAppBase.abi.json +146 -0
  17. package/dev/abis/ISimpleAppBase.abi.ts +146 -0
  18. package/dev/abis/ITownsApp.abi.json +194 -0
  19. package/dev/abis/ITownsApp.abi.ts +194 -0
  20. package/dev/abis/MembershipFacet.abi.json +10 -10
  21. package/dev/abis/MembershipFacet.abi.ts +10 -10
  22. package/dev/abis/PrepayFacet.abi.json +10 -10
  23. package/dev/abis/PrepayFacet.abi.ts +10 -10
  24. package/dev/abis/Roles.abi.json +10 -10
  25. package/dev/abis/Roles.abi.ts +10 -10
  26. package/dev/typings/IAppFactory.ts +284 -1
  27. package/dev/typings/ISimpleApp.ts +344 -0
  28. package/dev/typings/ITownsApp.ts +371 -0
  29. package/dev/typings/factories/Channels__factory.ts +10 -10
  30. package/dev/typings/factories/EntitlementsManager__factory.ts +10 -10
  31. package/dev/typings/factories/IAppFactory__factory.ts +224 -0
  32. package/dev/typings/factories/IAppRegistry__factory.ts +10 -10
  33. package/dev/typings/factories/ISimpleApp__factory.ts +224 -0
  34. package/dev/typings/factories/ITownsApp__factory.ts +215 -0
  35. package/dev/typings/factories/MembershipFacet__factory.ts +10 -10
  36. package/dev/typings/factories/PrepayFacet__factory.ts +10 -10
  37. package/dev/typings/factories/Roles__factory.ts +10 -10
  38. package/dev/typings/factories/index.ts +2 -1
  39. package/dev/typings/index.ts +4 -2
  40. package/package.json +3 -3
  41. package/scripts/prepare.js +10 -2
  42. package/dev/abis/SimpleApp.abi.json +0 -563
  43. package/dev/abis/SimpleApp.abi.ts +0 -563
  44. package/dev/typings/SimpleApp.ts +0 -923
  45. package/dev/typings/factories/SimpleApp__factory.ts +0 -620
@@ -1,923 +0,0 @@
1
- /* Autogenerated file. Do not edit manually. */
2
- /* tslint:disable */
3
- /* eslint-disable */
4
- import type {
5
- BaseContract,
6
- BigNumber,
7
- BigNumberish,
8
- BytesLike,
9
- CallOverrides,
10
- ContractTransaction,
11
- Overrides,
12
- PayableOverrides,
13
- PopulatedTransaction,
14
- Signer,
15
- utils,
16
- } from "ethers";
17
- import type {
18
- FunctionFragment,
19
- Result,
20
- EventFragment,
21
- } from "@ethersproject/abi";
22
- import type { Listener, Provider } from "@ethersproject/providers";
23
- import type {
24
- TypedEventFilter,
25
- TypedEvent,
26
- TypedListener,
27
- OnEvent,
28
- } from "./common";
29
-
30
- export type ManifestExecutionFunctionStruct = {
31
- executionSelector: BytesLike;
32
- skipRuntimeValidation: boolean;
33
- allowGlobalValidation: boolean;
34
- };
35
-
36
- export type ManifestExecutionFunctionStructOutput = [
37
- string,
38
- boolean,
39
- boolean
40
- ] & {
41
- executionSelector: string;
42
- skipRuntimeValidation: boolean;
43
- allowGlobalValidation: boolean;
44
- };
45
-
46
- export type ManifestExecutionHookStruct = {
47
- executionSelector: BytesLike;
48
- entityId: BigNumberish;
49
- isPreHook: boolean;
50
- isPostHook: boolean;
51
- };
52
-
53
- export type ManifestExecutionHookStructOutput = [
54
- string,
55
- number,
56
- boolean,
57
- boolean
58
- ] & {
59
- executionSelector: string;
60
- entityId: number;
61
- isPreHook: boolean;
62
- isPostHook: boolean;
63
- };
64
-
65
- export type ExecutionManifestStruct = {
66
- executionFunctions: ManifestExecutionFunctionStruct[];
67
- executionHooks: ManifestExecutionHookStruct[];
68
- interfaceIds: BytesLike[];
69
- };
70
-
71
- export type ExecutionManifestStructOutput = [
72
- ManifestExecutionFunctionStructOutput[],
73
- ManifestExecutionHookStructOutput[],
74
- string[]
75
- ] & {
76
- executionFunctions: ManifestExecutionFunctionStructOutput[];
77
- executionHooks: ManifestExecutionHookStructOutput[];
78
- interfaceIds: string[];
79
- };
80
-
81
- export interface SimpleAppInterface extends utils.Interface {
82
- functions: {
83
- "accessDuration()": FunctionFragment;
84
- "cancelOwnershipHandover()": FunctionFragment;
85
- "completeOwnershipHandover(address)": FunctionFragment;
86
- "executionManifest()": FunctionFragment;
87
- "initialize(address,string,bytes32[],uint256,uint48,address)": FunctionFragment;
88
- "installPrice()": FunctionFragment;
89
- "moduleId()": FunctionFragment;
90
- "moduleOwner()": FunctionFragment;
91
- "onInstall(bytes)": FunctionFragment;
92
- "onUninstall(bytes)": FunctionFragment;
93
- "owner()": FunctionFragment;
94
- "ownershipHandoverExpiresAt(address)": FunctionFragment;
95
- "renounceOwnership()": FunctionFragment;
96
- "requestOwnershipHandover()": FunctionFragment;
97
- "requiredPermissions()": FunctionFragment;
98
- "sendCurrency(address,address,uint256)": FunctionFragment;
99
- "supportsInterface(bytes4)": FunctionFragment;
100
- "transferOwnership(address)": FunctionFragment;
101
- "updatePermissions(bytes32[])": FunctionFragment;
102
- "updatePricing(uint256,uint48)": FunctionFragment;
103
- "withdrawETH(address)": FunctionFragment;
104
- };
105
-
106
- getFunction(
107
- nameOrSignatureOrTopic:
108
- | "accessDuration"
109
- | "cancelOwnershipHandover"
110
- | "completeOwnershipHandover"
111
- | "executionManifest"
112
- | "initialize"
113
- | "installPrice"
114
- | "moduleId"
115
- | "moduleOwner"
116
- | "onInstall"
117
- | "onUninstall"
118
- | "owner"
119
- | "ownershipHandoverExpiresAt"
120
- | "renounceOwnership"
121
- | "requestOwnershipHandover"
122
- | "requiredPermissions"
123
- | "sendCurrency"
124
- | "supportsInterface"
125
- | "transferOwnership"
126
- | "updatePermissions"
127
- | "updatePricing"
128
- | "withdrawETH"
129
- ): FunctionFragment;
130
-
131
- encodeFunctionData(
132
- functionFragment: "accessDuration",
133
- values?: undefined
134
- ): string;
135
- encodeFunctionData(
136
- functionFragment: "cancelOwnershipHandover",
137
- values?: undefined
138
- ): string;
139
- encodeFunctionData(
140
- functionFragment: "completeOwnershipHandover",
141
- values: [string]
142
- ): string;
143
- encodeFunctionData(
144
- functionFragment: "executionManifest",
145
- values?: undefined
146
- ): string;
147
- encodeFunctionData(
148
- functionFragment: "initialize",
149
- values: [string, string, BytesLike[], BigNumberish, BigNumberish, string]
150
- ): string;
151
- encodeFunctionData(
152
- functionFragment: "installPrice",
153
- values?: undefined
154
- ): string;
155
- encodeFunctionData(functionFragment: "moduleId", values?: undefined): string;
156
- encodeFunctionData(
157
- functionFragment: "moduleOwner",
158
- values?: undefined
159
- ): string;
160
- encodeFunctionData(
161
- functionFragment: "onInstall",
162
- values: [BytesLike]
163
- ): string;
164
- encodeFunctionData(
165
- functionFragment: "onUninstall",
166
- values: [BytesLike]
167
- ): string;
168
- encodeFunctionData(functionFragment: "owner", values?: undefined): string;
169
- encodeFunctionData(
170
- functionFragment: "ownershipHandoverExpiresAt",
171
- values: [string]
172
- ): string;
173
- encodeFunctionData(
174
- functionFragment: "renounceOwnership",
175
- values?: undefined
176
- ): string;
177
- encodeFunctionData(
178
- functionFragment: "requestOwnershipHandover",
179
- values?: undefined
180
- ): string;
181
- encodeFunctionData(
182
- functionFragment: "requiredPermissions",
183
- values?: undefined
184
- ): string;
185
- encodeFunctionData(
186
- functionFragment: "sendCurrency",
187
- values: [string, string, BigNumberish]
188
- ): string;
189
- encodeFunctionData(
190
- functionFragment: "supportsInterface",
191
- values: [BytesLike]
192
- ): string;
193
- encodeFunctionData(
194
- functionFragment: "transferOwnership",
195
- values: [string]
196
- ): string;
197
- encodeFunctionData(
198
- functionFragment: "updatePermissions",
199
- values: [BytesLike[]]
200
- ): string;
201
- encodeFunctionData(
202
- functionFragment: "updatePricing",
203
- values: [BigNumberish, BigNumberish]
204
- ): string;
205
- encodeFunctionData(functionFragment: "withdrawETH", values: [string]): string;
206
-
207
- decodeFunctionResult(
208
- functionFragment: "accessDuration",
209
- data: BytesLike
210
- ): Result;
211
- decodeFunctionResult(
212
- functionFragment: "cancelOwnershipHandover",
213
- data: BytesLike
214
- ): Result;
215
- decodeFunctionResult(
216
- functionFragment: "completeOwnershipHandover",
217
- data: BytesLike
218
- ): Result;
219
- decodeFunctionResult(
220
- functionFragment: "executionManifest",
221
- data: BytesLike
222
- ): Result;
223
- decodeFunctionResult(functionFragment: "initialize", data: BytesLike): Result;
224
- decodeFunctionResult(
225
- functionFragment: "installPrice",
226
- data: BytesLike
227
- ): Result;
228
- decodeFunctionResult(functionFragment: "moduleId", data: BytesLike): Result;
229
- decodeFunctionResult(
230
- functionFragment: "moduleOwner",
231
- data: BytesLike
232
- ): Result;
233
- decodeFunctionResult(functionFragment: "onInstall", data: BytesLike): Result;
234
- decodeFunctionResult(
235
- functionFragment: "onUninstall",
236
- data: BytesLike
237
- ): Result;
238
- decodeFunctionResult(functionFragment: "owner", data: BytesLike): Result;
239
- decodeFunctionResult(
240
- functionFragment: "ownershipHandoverExpiresAt",
241
- data: BytesLike
242
- ): Result;
243
- decodeFunctionResult(
244
- functionFragment: "renounceOwnership",
245
- data: BytesLike
246
- ): Result;
247
- decodeFunctionResult(
248
- functionFragment: "requestOwnershipHandover",
249
- data: BytesLike
250
- ): Result;
251
- decodeFunctionResult(
252
- functionFragment: "requiredPermissions",
253
- data: BytesLike
254
- ): Result;
255
- decodeFunctionResult(
256
- functionFragment: "sendCurrency",
257
- data: BytesLike
258
- ): Result;
259
- decodeFunctionResult(
260
- functionFragment: "supportsInterface",
261
- data: BytesLike
262
- ): Result;
263
- decodeFunctionResult(
264
- functionFragment: "transferOwnership",
265
- data: BytesLike
266
- ): Result;
267
- decodeFunctionResult(
268
- functionFragment: "updatePermissions",
269
- data: BytesLike
270
- ): Result;
271
- decodeFunctionResult(
272
- functionFragment: "updatePricing",
273
- data: BytesLike
274
- ): Result;
275
- decodeFunctionResult(
276
- functionFragment: "withdrawETH",
277
- data: BytesLike
278
- ): Result;
279
-
280
- events: {
281
- "Initialized(uint64)": EventFragment;
282
- "OwnershipHandoverCanceled(address)": EventFragment;
283
- "OwnershipHandoverRequested(address)": EventFragment;
284
- "OwnershipTransferred(address,address)": EventFragment;
285
- "PermissionsUpdated(bytes32[])": EventFragment;
286
- "PricingUpdated(uint256,uint48)": EventFragment;
287
- "SendCurrency(address,address,uint256)": EventFragment;
288
- "Withdrawal(address,uint256)": EventFragment;
289
- };
290
-
291
- getEvent(nameOrSignatureOrTopic: "Initialized"): EventFragment;
292
- getEvent(nameOrSignatureOrTopic: "OwnershipHandoverCanceled"): EventFragment;
293
- getEvent(nameOrSignatureOrTopic: "OwnershipHandoverRequested"): EventFragment;
294
- getEvent(nameOrSignatureOrTopic: "OwnershipTransferred"): EventFragment;
295
- getEvent(nameOrSignatureOrTopic: "PermissionsUpdated"): EventFragment;
296
- getEvent(nameOrSignatureOrTopic: "PricingUpdated"): EventFragment;
297
- getEvent(nameOrSignatureOrTopic: "SendCurrency"): EventFragment;
298
- getEvent(nameOrSignatureOrTopic: "Withdrawal"): EventFragment;
299
- }
300
-
301
- export interface InitializedEventObject {
302
- version: BigNumber;
303
- }
304
- export type InitializedEvent = TypedEvent<[BigNumber], InitializedEventObject>;
305
-
306
- export type InitializedEventFilter = TypedEventFilter<InitializedEvent>;
307
-
308
- export interface OwnershipHandoverCanceledEventObject {
309
- pendingOwner: string;
310
- }
311
- export type OwnershipHandoverCanceledEvent = TypedEvent<
312
- [string],
313
- OwnershipHandoverCanceledEventObject
314
- >;
315
-
316
- export type OwnershipHandoverCanceledEventFilter =
317
- TypedEventFilter<OwnershipHandoverCanceledEvent>;
318
-
319
- export interface OwnershipHandoverRequestedEventObject {
320
- pendingOwner: string;
321
- }
322
- export type OwnershipHandoverRequestedEvent = TypedEvent<
323
- [string],
324
- OwnershipHandoverRequestedEventObject
325
- >;
326
-
327
- export type OwnershipHandoverRequestedEventFilter =
328
- TypedEventFilter<OwnershipHandoverRequestedEvent>;
329
-
330
- export interface OwnershipTransferredEventObject {
331
- oldOwner: string;
332
- newOwner: string;
333
- }
334
- export type OwnershipTransferredEvent = TypedEvent<
335
- [string, string],
336
- OwnershipTransferredEventObject
337
- >;
338
-
339
- export type OwnershipTransferredEventFilter =
340
- TypedEventFilter<OwnershipTransferredEvent>;
341
-
342
- export interface PermissionsUpdatedEventObject {
343
- permissions: string[];
344
- }
345
- export type PermissionsUpdatedEvent = TypedEvent<
346
- [string[]],
347
- PermissionsUpdatedEventObject
348
- >;
349
-
350
- export type PermissionsUpdatedEventFilter =
351
- TypedEventFilter<PermissionsUpdatedEvent>;
352
-
353
- export interface PricingUpdatedEventObject {
354
- installPrice: BigNumber;
355
- accessDuration: number;
356
- }
357
- export type PricingUpdatedEvent = TypedEvent<
358
- [BigNumber, number],
359
- PricingUpdatedEventObject
360
- >;
361
-
362
- export type PricingUpdatedEventFilter = TypedEventFilter<PricingUpdatedEvent>;
363
-
364
- export interface SendCurrencyEventObject {
365
- recipient: string;
366
- currency: string;
367
- amount: BigNumber;
368
- }
369
- export type SendCurrencyEvent = TypedEvent<
370
- [string, string, BigNumber],
371
- SendCurrencyEventObject
372
- >;
373
-
374
- export type SendCurrencyEventFilter = TypedEventFilter<SendCurrencyEvent>;
375
-
376
- export interface WithdrawalEventObject {
377
- recipient: string;
378
- amount: BigNumber;
379
- }
380
- export type WithdrawalEvent = TypedEvent<
381
- [string, BigNumber],
382
- WithdrawalEventObject
383
- >;
384
-
385
- export type WithdrawalEventFilter = TypedEventFilter<WithdrawalEvent>;
386
-
387
- export interface SimpleApp extends BaseContract {
388
- connect(signerOrProvider: Signer | Provider | string): this;
389
- attach(addressOrName: string): this;
390
- deployed(): Promise<this>;
391
-
392
- interface: SimpleAppInterface;
393
-
394
- queryFilter<TEvent extends TypedEvent>(
395
- event: TypedEventFilter<TEvent>,
396
- fromBlockOrBlockhash?: string | number | undefined,
397
- toBlock?: string | number | undefined
398
- ): Promise<Array<TEvent>>;
399
-
400
- listeners<TEvent extends TypedEvent>(
401
- eventFilter?: TypedEventFilter<TEvent>
402
- ): Array<TypedListener<TEvent>>;
403
- listeners(eventName?: string): Array<Listener>;
404
- removeAllListeners<TEvent extends TypedEvent>(
405
- eventFilter: TypedEventFilter<TEvent>
406
- ): this;
407
- removeAllListeners(eventName?: string): this;
408
- off: OnEvent<this>;
409
- on: OnEvent<this>;
410
- once: OnEvent<this>;
411
- removeListener: OnEvent<this>;
412
-
413
- functions: {
414
- accessDuration(overrides?: CallOverrides): Promise<[number]>;
415
-
416
- cancelOwnershipHandover(
417
- overrides?: PayableOverrides & { from?: string }
418
- ): Promise<ContractTransaction>;
419
-
420
- completeOwnershipHandover(
421
- pendingOwner: string,
422
- overrides?: PayableOverrides & { from?: string }
423
- ): Promise<ContractTransaction>;
424
-
425
- executionManifest(
426
- overrides?: CallOverrides
427
- ): Promise<[ExecutionManifestStructOutput]>;
428
-
429
- initialize(
430
- owner: string,
431
- appId: string,
432
- permissions: BytesLike[],
433
- installPrice: BigNumberish,
434
- accessDuration: BigNumberish,
435
- client: string,
436
- overrides?: Overrides & { from?: string }
437
- ): Promise<ContractTransaction>;
438
-
439
- installPrice(overrides?: CallOverrides): Promise<[BigNumber]>;
440
-
441
- moduleId(overrides?: CallOverrides): Promise<[string]>;
442
-
443
- moduleOwner(overrides?: CallOverrides): Promise<[string]>;
444
-
445
- onInstall(
446
- postInstallData: BytesLike,
447
- overrides?: Overrides & { from?: string }
448
- ): Promise<ContractTransaction>;
449
-
450
- onUninstall(
451
- postUninstallData: BytesLike,
452
- overrides?: Overrides & { from?: string }
453
- ): Promise<ContractTransaction>;
454
-
455
- owner(overrides?: CallOverrides): Promise<[string] & { result: string }>;
456
-
457
- ownershipHandoverExpiresAt(
458
- pendingOwner: string,
459
- overrides?: CallOverrides
460
- ): Promise<[BigNumber] & { result: BigNumber }>;
461
-
462
- renounceOwnership(
463
- overrides?: PayableOverrides & { from?: string }
464
- ): Promise<ContractTransaction>;
465
-
466
- requestOwnershipHandover(
467
- overrides?: PayableOverrides & { from?: string }
468
- ): Promise<ContractTransaction>;
469
-
470
- requiredPermissions(overrides?: CallOverrides): Promise<[string[]]>;
471
-
472
- sendCurrency(
473
- recipient: string,
474
- currency: string,
475
- amount: BigNumberish,
476
- overrides?: Overrides & { from?: string }
477
- ): Promise<ContractTransaction>;
478
-
479
- supportsInterface(
480
- interfaceId: BytesLike,
481
- overrides?: CallOverrides
482
- ): Promise<[boolean]>;
483
-
484
- transferOwnership(
485
- newOwner: string,
486
- overrides?: PayableOverrides & { from?: string }
487
- ): Promise<ContractTransaction>;
488
-
489
- updatePermissions(
490
- permissions: BytesLike[],
491
- overrides?: Overrides & { from?: string }
492
- ): Promise<ContractTransaction>;
493
-
494
- updatePricing(
495
- installPrice: BigNumberish,
496
- accessDuration: BigNumberish,
497
- overrides?: Overrides & { from?: string }
498
- ): Promise<ContractTransaction>;
499
-
500
- withdrawETH(
501
- recipient: string,
502
- overrides?: Overrides & { from?: string }
503
- ): Promise<ContractTransaction>;
504
- };
505
-
506
- accessDuration(overrides?: CallOverrides): Promise<number>;
507
-
508
- cancelOwnershipHandover(
509
- overrides?: PayableOverrides & { from?: string }
510
- ): Promise<ContractTransaction>;
511
-
512
- completeOwnershipHandover(
513
- pendingOwner: string,
514
- overrides?: PayableOverrides & { from?: string }
515
- ): Promise<ContractTransaction>;
516
-
517
- executionManifest(
518
- overrides?: CallOverrides
519
- ): Promise<ExecutionManifestStructOutput>;
520
-
521
- initialize(
522
- owner: string,
523
- appId: string,
524
- permissions: BytesLike[],
525
- installPrice: BigNumberish,
526
- accessDuration: BigNumberish,
527
- client: string,
528
- overrides?: Overrides & { from?: string }
529
- ): Promise<ContractTransaction>;
530
-
531
- installPrice(overrides?: CallOverrides): Promise<BigNumber>;
532
-
533
- moduleId(overrides?: CallOverrides): Promise<string>;
534
-
535
- moduleOwner(overrides?: CallOverrides): Promise<string>;
536
-
537
- onInstall(
538
- postInstallData: BytesLike,
539
- overrides?: Overrides & { from?: string }
540
- ): Promise<ContractTransaction>;
541
-
542
- onUninstall(
543
- postUninstallData: BytesLike,
544
- overrides?: Overrides & { from?: string }
545
- ): Promise<ContractTransaction>;
546
-
547
- owner(overrides?: CallOverrides): Promise<string>;
548
-
549
- ownershipHandoverExpiresAt(
550
- pendingOwner: string,
551
- overrides?: CallOverrides
552
- ): Promise<BigNumber>;
553
-
554
- renounceOwnership(
555
- overrides?: PayableOverrides & { from?: string }
556
- ): Promise<ContractTransaction>;
557
-
558
- requestOwnershipHandover(
559
- overrides?: PayableOverrides & { from?: string }
560
- ): Promise<ContractTransaction>;
561
-
562
- requiredPermissions(overrides?: CallOverrides): Promise<string[]>;
563
-
564
- sendCurrency(
565
- recipient: string,
566
- currency: string,
567
- amount: BigNumberish,
568
- overrides?: Overrides & { from?: string }
569
- ): Promise<ContractTransaction>;
570
-
571
- supportsInterface(
572
- interfaceId: BytesLike,
573
- overrides?: CallOverrides
574
- ): Promise<boolean>;
575
-
576
- transferOwnership(
577
- newOwner: string,
578
- overrides?: PayableOverrides & { from?: string }
579
- ): Promise<ContractTransaction>;
580
-
581
- updatePermissions(
582
- permissions: BytesLike[],
583
- overrides?: Overrides & { from?: string }
584
- ): Promise<ContractTransaction>;
585
-
586
- updatePricing(
587
- installPrice: BigNumberish,
588
- accessDuration: BigNumberish,
589
- overrides?: Overrides & { from?: string }
590
- ): Promise<ContractTransaction>;
591
-
592
- withdrawETH(
593
- recipient: string,
594
- overrides?: Overrides & { from?: string }
595
- ): Promise<ContractTransaction>;
596
-
597
- callStatic: {
598
- accessDuration(overrides?: CallOverrides): Promise<number>;
599
-
600
- cancelOwnershipHandover(overrides?: CallOverrides): Promise<void>;
601
-
602
- completeOwnershipHandover(
603
- pendingOwner: string,
604
- overrides?: CallOverrides
605
- ): Promise<void>;
606
-
607
- executionManifest(
608
- overrides?: CallOverrides
609
- ): Promise<ExecutionManifestStructOutput>;
610
-
611
- initialize(
612
- owner: string,
613
- appId: string,
614
- permissions: BytesLike[],
615
- installPrice: BigNumberish,
616
- accessDuration: BigNumberish,
617
- client: string,
618
- overrides?: CallOverrides
619
- ): Promise<void>;
620
-
621
- installPrice(overrides?: CallOverrides): Promise<BigNumber>;
622
-
623
- moduleId(overrides?: CallOverrides): Promise<string>;
624
-
625
- moduleOwner(overrides?: CallOverrides): Promise<string>;
626
-
627
- onInstall(
628
- postInstallData: BytesLike,
629
- overrides?: CallOverrides
630
- ): Promise<void>;
631
-
632
- onUninstall(
633
- postUninstallData: BytesLike,
634
- overrides?: CallOverrides
635
- ): Promise<void>;
636
-
637
- owner(overrides?: CallOverrides): Promise<string>;
638
-
639
- ownershipHandoverExpiresAt(
640
- pendingOwner: string,
641
- overrides?: CallOverrides
642
- ): Promise<BigNumber>;
643
-
644
- renounceOwnership(overrides?: CallOverrides): Promise<void>;
645
-
646
- requestOwnershipHandover(overrides?: CallOverrides): Promise<void>;
647
-
648
- requiredPermissions(overrides?: CallOverrides): Promise<string[]>;
649
-
650
- sendCurrency(
651
- recipient: string,
652
- currency: string,
653
- amount: BigNumberish,
654
- overrides?: CallOverrides
655
- ): Promise<void>;
656
-
657
- supportsInterface(
658
- interfaceId: BytesLike,
659
- overrides?: CallOverrides
660
- ): Promise<boolean>;
661
-
662
- transferOwnership(
663
- newOwner: string,
664
- overrides?: CallOverrides
665
- ): Promise<void>;
666
-
667
- updatePermissions(
668
- permissions: BytesLike[],
669
- overrides?: CallOverrides
670
- ): Promise<void>;
671
-
672
- updatePricing(
673
- installPrice: BigNumberish,
674
- accessDuration: BigNumberish,
675
- overrides?: CallOverrides
676
- ): Promise<void>;
677
-
678
- withdrawETH(recipient: string, overrides?: CallOverrides): Promise<void>;
679
- };
680
-
681
- filters: {
682
- "Initialized(uint64)"(version?: null): InitializedEventFilter;
683
- Initialized(version?: null): InitializedEventFilter;
684
-
685
- "OwnershipHandoverCanceled(address)"(
686
- pendingOwner?: string | null
687
- ): OwnershipHandoverCanceledEventFilter;
688
- OwnershipHandoverCanceled(
689
- pendingOwner?: string | null
690
- ): OwnershipHandoverCanceledEventFilter;
691
-
692
- "OwnershipHandoverRequested(address)"(
693
- pendingOwner?: string | null
694
- ): OwnershipHandoverRequestedEventFilter;
695
- OwnershipHandoverRequested(
696
- pendingOwner?: string | null
697
- ): OwnershipHandoverRequestedEventFilter;
698
-
699
- "OwnershipTransferred(address,address)"(
700
- oldOwner?: string | null,
701
- newOwner?: string | null
702
- ): OwnershipTransferredEventFilter;
703
- OwnershipTransferred(
704
- oldOwner?: string | null,
705
- newOwner?: string | null
706
- ): OwnershipTransferredEventFilter;
707
-
708
- "PermissionsUpdated(bytes32[])"(
709
- permissions?: null
710
- ): PermissionsUpdatedEventFilter;
711
- PermissionsUpdated(permissions?: null): PermissionsUpdatedEventFilter;
712
-
713
- "PricingUpdated(uint256,uint48)"(
714
- installPrice?: null,
715
- accessDuration?: null
716
- ): PricingUpdatedEventFilter;
717
- PricingUpdated(
718
- installPrice?: null,
719
- accessDuration?: null
720
- ): PricingUpdatedEventFilter;
721
-
722
- "SendCurrency(address,address,uint256)"(
723
- recipient?: string | null,
724
- currency?: string | null,
725
- amount?: null
726
- ): SendCurrencyEventFilter;
727
- SendCurrency(
728
- recipient?: string | null,
729
- currency?: string | null,
730
- amount?: null
731
- ): SendCurrencyEventFilter;
732
-
733
- "Withdrawal(address,uint256)"(
734
- recipient?: string | null,
735
- amount?: null
736
- ): WithdrawalEventFilter;
737
- Withdrawal(recipient?: string | null, amount?: null): WithdrawalEventFilter;
738
- };
739
-
740
- estimateGas: {
741
- accessDuration(overrides?: CallOverrides): Promise<BigNumber>;
742
-
743
- cancelOwnershipHandover(
744
- overrides?: PayableOverrides & { from?: string }
745
- ): Promise<BigNumber>;
746
-
747
- completeOwnershipHandover(
748
- pendingOwner: string,
749
- overrides?: PayableOverrides & { from?: string }
750
- ): Promise<BigNumber>;
751
-
752
- executionManifest(overrides?: CallOverrides): Promise<BigNumber>;
753
-
754
- initialize(
755
- owner: string,
756
- appId: string,
757
- permissions: BytesLike[],
758
- installPrice: BigNumberish,
759
- accessDuration: BigNumberish,
760
- client: string,
761
- overrides?: Overrides & { from?: string }
762
- ): Promise<BigNumber>;
763
-
764
- installPrice(overrides?: CallOverrides): Promise<BigNumber>;
765
-
766
- moduleId(overrides?: CallOverrides): Promise<BigNumber>;
767
-
768
- moduleOwner(overrides?: CallOverrides): Promise<BigNumber>;
769
-
770
- onInstall(
771
- postInstallData: BytesLike,
772
- overrides?: Overrides & { from?: string }
773
- ): Promise<BigNumber>;
774
-
775
- onUninstall(
776
- postUninstallData: BytesLike,
777
- overrides?: Overrides & { from?: string }
778
- ): Promise<BigNumber>;
779
-
780
- owner(overrides?: CallOverrides): Promise<BigNumber>;
781
-
782
- ownershipHandoverExpiresAt(
783
- pendingOwner: string,
784
- overrides?: CallOverrides
785
- ): Promise<BigNumber>;
786
-
787
- renounceOwnership(
788
- overrides?: PayableOverrides & { from?: string }
789
- ): Promise<BigNumber>;
790
-
791
- requestOwnershipHandover(
792
- overrides?: PayableOverrides & { from?: string }
793
- ): Promise<BigNumber>;
794
-
795
- requiredPermissions(overrides?: CallOverrides): Promise<BigNumber>;
796
-
797
- sendCurrency(
798
- recipient: string,
799
- currency: string,
800
- amount: BigNumberish,
801
- overrides?: Overrides & { from?: string }
802
- ): Promise<BigNumber>;
803
-
804
- supportsInterface(
805
- interfaceId: BytesLike,
806
- overrides?: CallOverrides
807
- ): Promise<BigNumber>;
808
-
809
- transferOwnership(
810
- newOwner: string,
811
- overrides?: PayableOverrides & { from?: string }
812
- ): Promise<BigNumber>;
813
-
814
- updatePermissions(
815
- permissions: BytesLike[],
816
- overrides?: Overrides & { from?: string }
817
- ): Promise<BigNumber>;
818
-
819
- updatePricing(
820
- installPrice: BigNumberish,
821
- accessDuration: BigNumberish,
822
- overrides?: Overrides & { from?: string }
823
- ): Promise<BigNumber>;
824
-
825
- withdrawETH(
826
- recipient: string,
827
- overrides?: Overrides & { from?: string }
828
- ): Promise<BigNumber>;
829
- };
830
-
831
- populateTransaction: {
832
- accessDuration(overrides?: CallOverrides): Promise<PopulatedTransaction>;
833
-
834
- cancelOwnershipHandover(
835
- overrides?: PayableOverrides & { from?: string }
836
- ): Promise<PopulatedTransaction>;
837
-
838
- completeOwnershipHandover(
839
- pendingOwner: string,
840
- overrides?: PayableOverrides & { from?: string }
841
- ): Promise<PopulatedTransaction>;
842
-
843
- executionManifest(overrides?: CallOverrides): Promise<PopulatedTransaction>;
844
-
845
- initialize(
846
- owner: string,
847
- appId: string,
848
- permissions: BytesLike[],
849
- installPrice: BigNumberish,
850
- accessDuration: BigNumberish,
851
- client: string,
852
- overrides?: Overrides & { from?: string }
853
- ): Promise<PopulatedTransaction>;
854
-
855
- installPrice(overrides?: CallOverrides): Promise<PopulatedTransaction>;
856
-
857
- moduleId(overrides?: CallOverrides): Promise<PopulatedTransaction>;
858
-
859
- moduleOwner(overrides?: CallOverrides): Promise<PopulatedTransaction>;
860
-
861
- onInstall(
862
- postInstallData: BytesLike,
863
- overrides?: Overrides & { from?: string }
864
- ): Promise<PopulatedTransaction>;
865
-
866
- onUninstall(
867
- postUninstallData: BytesLike,
868
- overrides?: Overrides & { from?: string }
869
- ): Promise<PopulatedTransaction>;
870
-
871
- owner(overrides?: CallOverrides): Promise<PopulatedTransaction>;
872
-
873
- ownershipHandoverExpiresAt(
874
- pendingOwner: string,
875
- overrides?: CallOverrides
876
- ): Promise<PopulatedTransaction>;
877
-
878
- renounceOwnership(
879
- overrides?: PayableOverrides & { from?: string }
880
- ): Promise<PopulatedTransaction>;
881
-
882
- requestOwnershipHandover(
883
- overrides?: PayableOverrides & { from?: string }
884
- ): Promise<PopulatedTransaction>;
885
-
886
- requiredPermissions(
887
- overrides?: CallOverrides
888
- ): Promise<PopulatedTransaction>;
889
-
890
- sendCurrency(
891
- recipient: string,
892
- currency: string,
893
- amount: BigNumberish,
894
- overrides?: Overrides & { from?: string }
895
- ): Promise<PopulatedTransaction>;
896
-
897
- supportsInterface(
898
- interfaceId: BytesLike,
899
- overrides?: CallOverrides
900
- ): Promise<PopulatedTransaction>;
901
-
902
- transferOwnership(
903
- newOwner: string,
904
- overrides?: PayableOverrides & { from?: string }
905
- ): Promise<PopulatedTransaction>;
906
-
907
- updatePermissions(
908
- permissions: BytesLike[],
909
- overrides?: Overrides & { from?: string }
910
- ): Promise<PopulatedTransaction>;
911
-
912
- updatePricing(
913
- installPrice: BigNumberish,
914
- accessDuration: BigNumberish,
915
- overrides?: Overrides & { from?: string }
916
- ): Promise<PopulatedTransaction>;
917
-
918
- withdrawETH(
919
- recipient: string,
920
- overrides?: Overrides & { from?: string }
921
- ): Promise<PopulatedTransaction>;
922
- };
923
- }