@towns-protocol/generated 0.0.441 → 0.0.442

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 (34) hide show
  1. package/dev/.contracts-hash +1 -1
  2. package/dev/abis/Architect.abi.json +5 -0
  3. package/dev/abis/Architect.abi.ts +5 -0
  4. package/dev/abis/Channels.abi.json +5 -0
  5. package/dev/abis/Channels.abi.ts +5 -0
  6. package/dev/abis/EntitlementsManager.abi.json +5 -0
  7. package/dev/abis/EntitlementsManager.abi.ts +5 -0
  8. package/dev/abis/IAppRegistry.abi.json +5 -0
  9. package/dev/abis/IAppRegistry.abi.ts +5 -0
  10. package/dev/abis/IAppRegistryBase.abi.json +5 -0
  11. package/dev/abis/IAppRegistryBase.abi.ts +5 -0
  12. package/dev/abis/ICreateSpace.abi.json +5 -0
  13. package/dev/abis/ICreateSpace.abi.ts +5 -0
  14. package/dev/abis/MembershipFacet.abi.json +5 -83
  15. package/dev/abis/MembershipFacet.abi.ts +5 -83
  16. package/dev/abis/Roles.abi.json +5 -0
  17. package/dev/abis/Roles.abi.ts +5 -0
  18. package/dev/typings/MembershipFacet.ts +0 -15
  19. package/dev/typings/factories/Architect__factory.ts +5 -0
  20. package/dev/typings/factories/Channels__factory.ts +5 -0
  21. package/dev/typings/factories/EntitlementsManager__factory.ts +5 -0
  22. package/dev/typings/factories/IAppRegistry__factory.ts +5 -0
  23. package/dev/typings/factories/IArchitect__factory.ts +5 -0
  24. package/dev/typings/factories/ICreateSpace__factory.ts +5 -0
  25. package/dev/typings/factories/MembershipFacet__factory.ts +6 -84
  26. package/dev/typings/factories/Roles__factory.ts +5 -0
  27. package/dev/typings/factories/index.ts +0 -1
  28. package/dev/typings/index.ts +0 -2
  29. package/package.json +3 -3
  30. package/scripts/build-contract-types.sh +2 -2
  31. package/dev/abis/PrepayFacet.abi.json +0 -1164
  32. package/dev/abis/PrepayFacet.abi.ts +0 -1164
  33. package/dev/typings/PrepayFacet.ts +0 -926
  34. package/dev/typings/factories/PrepayFacet__factory.ts +0 -1221
@@ -1,926 +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 PrepayFacetInterface extends utils.Interface {
82
- functions: {
83
- "__PrepayFacet_init()": FunctionFragment;
84
- "calculateMembershipPrepayFee(uint256)": FunctionFragment;
85
- "prepaidMembershipSupply()": FunctionFragment;
86
- "prepayMembership(uint256)": FunctionFragment;
87
- };
88
-
89
- getFunction(
90
- nameOrSignatureOrTopic:
91
- | "__PrepayFacet_init"
92
- | "calculateMembershipPrepayFee"
93
- | "prepaidMembershipSupply"
94
- | "prepayMembership"
95
- ): FunctionFragment;
96
-
97
- encodeFunctionData(
98
- functionFragment: "__PrepayFacet_init",
99
- values?: undefined
100
- ): string;
101
- encodeFunctionData(
102
- functionFragment: "calculateMembershipPrepayFee",
103
- values: [BigNumberish]
104
- ): string;
105
- encodeFunctionData(
106
- functionFragment: "prepaidMembershipSupply",
107
- values?: undefined
108
- ): string;
109
- encodeFunctionData(
110
- functionFragment: "prepayMembership",
111
- values: [BigNumberish]
112
- ): string;
113
-
114
- decodeFunctionResult(
115
- functionFragment: "__PrepayFacet_init",
116
- data: BytesLike
117
- ): Result;
118
- decodeFunctionResult(
119
- functionFragment: "calculateMembershipPrepayFee",
120
- data: BytesLike
121
- ): Result;
122
- decodeFunctionResult(
123
- functionFragment: "prepaidMembershipSupply",
124
- data: BytesLike
125
- ): Result;
126
- decodeFunctionResult(
127
- functionFragment: "prepayMembership",
128
- data: BytesLike
129
- ): Result;
130
-
131
- events: {
132
- "AppBanned(address,bytes32)": EventFragment;
133
- "AppInstalled(address,address,bytes32)": EventFragment;
134
- "AppRegistered(address,bytes32)": EventFragment;
135
- "AppRenewed(address,address,bytes32)": EventFragment;
136
- "AppSchemaSet(bytes32)": EventFragment;
137
- "AppUninstalled(address,address,bytes32)": EventFragment;
138
- "AppUnregistered(address,bytes32)": EventFragment;
139
- "AppUpdated(address,address,bytes32)": EventFragment;
140
- "AppUpgraded(address,bytes32,bytes32)": EventFragment;
141
- "ExecutionInstalled(address,((bytes4,bool,bool)[],(bytes4,uint32,bool,bool)[],bytes4[]))": EventFragment;
142
- "ExecutionUninstalled(address,bool,((bytes4,bool,bool)[],(bytes4,uint32,bool,bool)[],bytes4[]))": EventFragment;
143
- "ExecutionUpdated(address,((bytes4,bool,bool)[],(bytes4,uint32,bool,bool)[],bytes4[]))": EventFragment;
144
- "GroupAccessGranted(bytes32,address,uint32,uint48,bool)": EventFragment;
145
- "GroupAccessRevoked(bytes32,address,bool)": EventFragment;
146
- "GroupExpirationSet(bytes32,uint48)": EventFragment;
147
- "GroupGrantDelaySet(bytes32,uint32)": EventFragment;
148
- "GroupGuardianSet(bytes32,bytes32)": EventFragment;
149
- "GroupStatusSet(bytes32,bool)": EventFragment;
150
- "Initialized(uint32)": EventFragment;
151
- "InterfaceAdded(bytes4)": EventFragment;
152
- "InterfaceRemoved(bytes4)": EventFragment;
153
- "OperationCanceled(bytes32,uint32)": EventFragment;
154
- "OperationExecuted(bytes32,uint32)": EventFragment;
155
- "OperationScheduled(bytes32,uint48,uint32)": EventFragment;
156
- "OwnershipTransferred(address,address)": EventFragment;
157
- "Prepay__Prepaid(uint256)": EventFragment;
158
- "TargetDisabledSet(address,bool)": EventFragment;
159
- "TargetFunctionDelaySet(address,uint32,uint32)": EventFragment;
160
- "TargetFunctionDisabledSet(address,bytes4,bool)": EventFragment;
161
- "TargetFunctionGroupSet(address,bytes4,bytes32)": EventFragment;
162
- };
163
-
164
- getEvent(nameOrSignatureOrTopic: "AppBanned"): EventFragment;
165
- getEvent(nameOrSignatureOrTopic: "AppInstalled"): EventFragment;
166
- getEvent(nameOrSignatureOrTopic: "AppRegistered"): EventFragment;
167
- getEvent(nameOrSignatureOrTopic: "AppRenewed"): EventFragment;
168
- getEvent(nameOrSignatureOrTopic: "AppSchemaSet"): EventFragment;
169
- getEvent(nameOrSignatureOrTopic: "AppUninstalled"): EventFragment;
170
- getEvent(nameOrSignatureOrTopic: "AppUnregistered"): EventFragment;
171
- getEvent(nameOrSignatureOrTopic: "AppUpdated"): EventFragment;
172
- getEvent(nameOrSignatureOrTopic: "AppUpgraded"): EventFragment;
173
- getEvent(nameOrSignatureOrTopic: "ExecutionInstalled"): EventFragment;
174
- getEvent(nameOrSignatureOrTopic: "ExecutionUninstalled"): EventFragment;
175
- getEvent(nameOrSignatureOrTopic: "ExecutionUpdated"): EventFragment;
176
- getEvent(nameOrSignatureOrTopic: "GroupAccessGranted"): EventFragment;
177
- getEvent(nameOrSignatureOrTopic: "GroupAccessRevoked"): EventFragment;
178
- getEvent(nameOrSignatureOrTopic: "GroupExpirationSet"): EventFragment;
179
- getEvent(nameOrSignatureOrTopic: "GroupGrantDelaySet"): EventFragment;
180
- getEvent(nameOrSignatureOrTopic: "GroupGuardianSet"): EventFragment;
181
- getEvent(nameOrSignatureOrTopic: "GroupStatusSet"): EventFragment;
182
- getEvent(nameOrSignatureOrTopic: "Initialized"): EventFragment;
183
- getEvent(nameOrSignatureOrTopic: "InterfaceAdded"): EventFragment;
184
- getEvent(nameOrSignatureOrTopic: "InterfaceRemoved"): EventFragment;
185
- getEvent(nameOrSignatureOrTopic: "OperationCanceled"): EventFragment;
186
- getEvent(nameOrSignatureOrTopic: "OperationExecuted"): EventFragment;
187
- getEvent(nameOrSignatureOrTopic: "OperationScheduled"): EventFragment;
188
- getEvent(nameOrSignatureOrTopic: "OwnershipTransferred"): EventFragment;
189
- getEvent(nameOrSignatureOrTopic: "Prepay__Prepaid"): EventFragment;
190
- getEvent(nameOrSignatureOrTopic: "TargetDisabledSet"): EventFragment;
191
- getEvent(nameOrSignatureOrTopic: "TargetFunctionDelaySet"): EventFragment;
192
- getEvent(nameOrSignatureOrTopic: "TargetFunctionDisabledSet"): EventFragment;
193
- getEvent(nameOrSignatureOrTopic: "TargetFunctionGroupSet"): EventFragment;
194
- }
195
-
196
- export interface AppBannedEventObject {
197
- app: string;
198
- uid: string;
199
- }
200
- export type AppBannedEvent = TypedEvent<[string, string], AppBannedEventObject>;
201
-
202
- export type AppBannedEventFilter = TypedEventFilter<AppBannedEvent>;
203
-
204
- export interface AppInstalledEventObject {
205
- app: string;
206
- account: string;
207
- appId: string;
208
- }
209
- export type AppInstalledEvent = TypedEvent<
210
- [string, string, string],
211
- AppInstalledEventObject
212
- >;
213
-
214
- export type AppInstalledEventFilter = TypedEventFilter<AppInstalledEvent>;
215
-
216
- export interface AppRegisteredEventObject {
217
- app: string;
218
- uid: string;
219
- }
220
- export type AppRegisteredEvent = TypedEvent<
221
- [string, string],
222
- AppRegisteredEventObject
223
- >;
224
-
225
- export type AppRegisteredEventFilter = TypedEventFilter<AppRegisteredEvent>;
226
-
227
- export interface AppRenewedEventObject {
228
- app: string;
229
- account: string;
230
- appId: string;
231
- }
232
- export type AppRenewedEvent = TypedEvent<
233
- [string, string, string],
234
- AppRenewedEventObject
235
- >;
236
-
237
- export type AppRenewedEventFilter = TypedEventFilter<AppRenewedEvent>;
238
-
239
- export interface AppSchemaSetEventObject {
240
- uid: string;
241
- }
242
- export type AppSchemaSetEvent = TypedEvent<[string], AppSchemaSetEventObject>;
243
-
244
- export type AppSchemaSetEventFilter = TypedEventFilter<AppSchemaSetEvent>;
245
-
246
- export interface AppUninstalledEventObject {
247
- app: string;
248
- account: string;
249
- appId: string;
250
- }
251
- export type AppUninstalledEvent = TypedEvent<
252
- [string, string, string],
253
- AppUninstalledEventObject
254
- >;
255
-
256
- export type AppUninstalledEventFilter = TypedEventFilter<AppUninstalledEvent>;
257
-
258
- export interface AppUnregisteredEventObject {
259
- app: string;
260
- uid: string;
261
- }
262
- export type AppUnregisteredEvent = TypedEvent<
263
- [string, string],
264
- AppUnregisteredEventObject
265
- >;
266
-
267
- export type AppUnregisteredEventFilter = TypedEventFilter<AppUnregisteredEvent>;
268
-
269
- export interface AppUpdatedEventObject {
270
- app: string;
271
- account: string;
272
- appId: string;
273
- }
274
- export type AppUpdatedEvent = TypedEvent<
275
- [string, string, string],
276
- AppUpdatedEventObject
277
- >;
278
-
279
- export type AppUpdatedEventFilter = TypedEventFilter<AppUpdatedEvent>;
280
-
281
- export interface AppUpgradedEventObject {
282
- app: string;
283
- oldVersionId: string;
284
- newVersionId: string;
285
- }
286
- export type AppUpgradedEvent = TypedEvent<
287
- [string, string, string],
288
- AppUpgradedEventObject
289
- >;
290
-
291
- export type AppUpgradedEventFilter = TypedEventFilter<AppUpgradedEvent>;
292
-
293
- export interface ExecutionInstalledEventObject {
294
- module: string;
295
- manifest: ExecutionManifestStructOutput;
296
- }
297
- export type ExecutionInstalledEvent = TypedEvent<
298
- [string, ExecutionManifestStructOutput],
299
- ExecutionInstalledEventObject
300
- >;
301
-
302
- export type ExecutionInstalledEventFilter =
303
- TypedEventFilter<ExecutionInstalledEvent>;
304
-
305
- export interface ExecutionUninstalledEventObject {
306
- module: string;
307
- success: boolean;
308
- manifest: ExecutionManifestStructOutput;
309
- }
310
- export type ExecutionUninstalledEvent = TypedEvent<
311
- [string, boolean, ExecutionManifestStructOutput],
312
- ExecutionUninstalledEventObject
313
- >;
314
-
315
- export type ExecutionUninstalledEventFilter =
316
- TypedEventFilter<ExecutionUninstalledEvent>;
317
-
318
- export interface ExecutionUpdatedEventObject {
319
- module: string;
320
- manifest: ExecutionManifestStructOutput;
321
- }
322
- export type ExecutionUpdatedEvent = TypedEvent<
323
- [string, ExecutionManifestStructOutput],
324
- ExecutionUpdatedEventObject
325
- >;
326
-
327
- export type ExecutionUpdatedEventFilter =
328
- TypedEventFilter<ExecutionUpdatedEvent>;
329
-
330
- export interface GroupAccessGrantedEventObject {
331
- groupId: string;
332
- account: string;
333
- delay: number;
334
- since: number;
335
- newMember: boolean;
336
- }
337
- export type GroupAccessGrantedEvent = TypedEvent<
338
- [string, string, number, number, boolean],
339
- GroupAccessGrantedEventObject
340
- >;
341
-
342
- export type GroupAccessGrantedEventFilter =
343
- TypedEventFilter<GroupAccessGrantedEvent>;
344
-
345
- export interface GroupAccessRevokedEventObject {
346
- groupId: string;
347
- account: string;
348
- revoked: boolean;
349
- }
350
- export type GroupAccessRevokedEvent = TypedEvent<
351
- [string, string, boolean],
352
- GroupAccessRevokedEventObject
353
- >;
354
-
355
- export type GroupAccessRevokedEventFilter =
356
- TypedEventFilter<GroupAccessRevokedEvent>;
357
-
358
- export interface GroupExpirationSetEventObject {
359
- groupId: string;
360
- expiration: number;
361
- }
362
- export type GroupExpirationSetEvent = TypedEvent<
363
- [string, number],
364
- GroupExpirationSetEventObject
365
- >;
366
-
367
- export type GroupExpirationSetEventFilter =
368
- TypedEventFilter<GroupExpirationSetEvent>;
369
-
370
- export interface GroupGrantDelaySetEventObject {
371
- groupId: string;
372
- delay: number;
373
- }
374
- export type GroupGrantDelaySetEvent = TypedEvent<
375
- [string, number],
376
- GroupGrantDelaySetEventObject
377
- >;
378
-
379
- export type GroupGrantDelaySetEventFilter =
380
- TypedEventFilter<GroupGrantDelaySetEvent>;
381
-
382
- export interface GroupGuardianSetEventObject {
383
- groupId: string;
384
- guardian: string;
385
- }
386
- export type GroupGuardianSetEvent = TypedEvent<
387
- [string, string],
388
- GroupGuardianSetEventObject
389
- >;
390
-
391
- export type GroupGuardianSetEventFilter =
392
- TypedEventFilter<GroupGuardianSetEvent>;
393
-
394
- export interface GroupStatusSetEventObject {
395
- groupId: string;
396
- active: boolean;
397
- }
398
- export type GroupStatusSetEvent = TypedEvent<
399
- [string, boolean],
400
- GroupStatusSetEventObject
401
- >;
402
-
403
- export type GroupStatusSetEventFilter = TypedEventFilter<GroupStatusSetEvent>;
404
-
405
- export interface InitializedEventObject {
406
- version: number;
407
- }
408
- export type InitializedEvent = TypedEvent<[number], InitializedEventObject>;
409
-
410
- export type InitializedEventFilter = TypedEventFilter<InitializedEvent>;
411
-
412
- export interface InterfaceAddedEventObject {
413
- interfaceId: string;
414
- }
415
- export type InterfaceAddedEvent = TypedEvent<
416
- [string],
417
- InterfaceAddedEventObject
418
- >;
419
-
420
- export type InterfaceAddedEventFilter = TypedEventFilter<InterfaceAddedEvent>;
421
-
422
- export interface InterfaceRemovedEventObject {
423
- interfaceId: string;
424
- }
425
- export type InterfaceRemovedEvent = TypedEvent<
426
- [string],
427
- InterfaceRemovedEventObject
428
- >;
429
-
430
- export type InterfaceRemovedEventFilter =
431
- TypedEventFilter<InterfaceRemovedEvent>;
432
-
433
- export interface OperationCanceledEventObject {
434
- operationId: string;
435
- nonce: number;
436
- }
437
- export type OperationCanceledEvent = TypedEvent<
438
- [string, number],
439
- OperationCanceledEventObject
440
- >;
441
-
442
- export type OperationCanceledEventFilter =
443
- TypedEventFilter<OperationCanceledEvent>;
444
-
445
- export interface OperationExecutedEventObject {
446
- operationId: string;
447
- nonce: number;
448
- }
449
- export type OperationExecutedEvent = TypedEvent<
450
- [string, number],
451
- OperationExecutedEventObject
452
- >;
453
-
454
- export type OperationExecutedEventFilter =
455
- TypedEventFilter<OperationExecutedEvent>;
456
-
457
- export interface OperationScheduledEventObject {
458
- operationId: string;
459
- timepoint: number;
460
- nonce: number;
461
- }
462
- export type OperationScheduledEvent = TypedEvent<
463
- [string, number, number],
464
- OperationScheduledEventObject
465
- >;
466
-
467
- export type OperationScheduledEventFilter =
468
- TypedEventFilter<OperationScheduledEvent>;
469
-
470
- export interface OwnershipTransferredEventObject {
471
- previousOwner: string;
472
- newOwner: string;
473
- }
474
- export type OwnershipTransferredEvent = TypedEvent<
475
- [string, string],
476
- OwnershipTransferredEventObject
477
- >;
478
-
479
- export type OwnershipTransferredEventFilter =
480
- TypedEventFilter<OwnershipTransferredEvent>;
481
-
482
- export interface Prepay__PrepaidEventObject {
483
- supply: BigNumber;
484
- }
485
- export type Prepay__PrepaidEvent = TypedEvent<
486
- [BigNumber],
487
- Prepay__PrepaidEventObject
488
- >;
489
-
490
- export type Prepay__PrepaidEventFilter = TypedEventFilter<Prepay__PrepaidEvent>;
491
-
492
- export interface TargetDisabledSetEventObject {
493
- target: string;
494
- disabled: boolean;
495
- }
496
- export type TargetDisabledSetEvent = TypedEvent<
497
- [string, boolean],
498
- TargetDisabledSetEventObject
499
- >;
500
-
501
- export type TargetDisabledSetEventFilter =
502
- TypedEventFilter<TargetDisabledSetEvent>;
503
-
504
- export interface TargetFunctionDelaySetEventObject {
505
- target: string;
506
- newDelay: number;
507
- minSetback: number;
508
- }
509
- export type TargetFunctionDelaySetEvent = TypedEvent<
510
- [string, number, number],
511
- TargetFunctionDelaySetEventObject
512
- >;
513
-
514
- export type TargetFunctionDelaySetEventFilter =
515
- TypedEventFilter<TargetFunctionDelaySetEvent>;
516
-
517
- export interface TargetFunctionDisabledSetEventObject {
518
- target: string;
519
- selector: string;
520
- disabled: boolean;
521
- }
522
- export type TargetFunctionDisabledSetEvent = TypedEvent<
523
- [string, string, boolean],
524
- TargetFunctionDisabledSetEventObject
525
- >;
526
-
527
- export type TargetFunctionDisabledSetEventFilter =
528
- TypedEventFilter<TargetFunctionDisabledSetEvent>;
529
-
530
- export interface TargetFunctionGroupSetEventObject {
531
- target: string;
532
- selector: string;
533
- groupId: string;
534
- }
535
- export type TargetFunctionGroupSetEvent = TypedEvent<
536
- [string, string, string],
537
- TargetFunctionGroupSetEventObject
538
- >;
539
-
540
- export type TargetFunctionGroupSetEventFilter =
541
- TypedEventFilter<TargetFunctionGroupSetEvent>;
542
-
543
- export interface PrepayFacet extends BaseContract {
544
- connect(signerOrProvider: Signer | Provider | string): this;
545
- attach(addressOrName: string): this;
546
- deployed(): Promise<this>;
547
-
548
- interface: PrepayFacetInterface;
549
-
550
- queryFilter<TEvent extends TypedEvent>(
551
- event: TypedEventFilter<TEvent>,
552
- fromBlockOrBlockhash?: string | number | undefined,
553
- toBlock?: string | number | undefined
554
- ): Promise<Array<TEvent>>;
555
-
556
- listeners<TEvent extends TypedEvent>(
557
- eventFilter?: TypedEventFilter<TEvent>
558
- ): Array<TypedListener<TEvent>>;
559
- listeners(eventName?: string): Array<Listener>;
560
- removeAllListeners<TEvent extends TypedEvent>(
561
- eventFilter: TypedEventFilter<TEvent>
562
- ): this;
563
- removeAllListeners(eventName?: string): this;
564
- off: OnEvent<this>;
565
- on: OnEvent<this>;
566
- once: OnEvent<this>;
567
- removeListener: OnEvent<this>;
568
-
569
- functions: {
570
- __PrepayFacet_init(
571
- overrides?: Overrides & { from?: string }
572
- ): Promise<ContractTransaction>;
573
-
574
- calculateMembershipPrepayFee(
575
- supply: BigNumberish,
576
- overrides?: CallOverrides
577
- ): Promise<[BigNumber]>;
578
-
579
- prepaidMembershipSupply(overrides?: CallOverrides): Promise<[BigNumber]>;
580
-
581
- prepayMembership(
582
- supply: BigNumberish,
583
- overrides?: PayableOverrides & { from?: string }
584
- ): Promise<ContractTransaction>;
585
- };
586
-
587
- __PrepayFacet_init(
588
- overrides?: Overrides & { from?: string }
589
- ): Promise<ContractTransaction>;
590
-
591
- calculateMembershipPrepayFee(
592
- supply: BigNumberish,
593
- overrides?: CallOverrides
594
- ): Promise<BigNumber>;
595
-
596
- prepaidMembershipSupply(overrides?: CallOverrides): Promise<BigNumber>;
597
-
598
- prepayMembership(
599
- supply: BigNumberish,
600
- overrides?: PayableOverrides & { from?: string }
601
- ): Promise<ContractTransaction>;
602
-
603
- callStatic: {
604
- __PrepayFacet_init(overrides?: CallOverrides): Promise<void>;
605
-
606
- calculateMembershipPrepayFee(
607
- supply: BigNumberish,
608
- overrides?: CallOverrides
609
- ): Promise<BigNumber>;
610
-
611
- prepaidMembershipSupply(overrides?: CallOverrides): Promise<BigNumber>;
612
-
613
- prepayMembership(
614
- supply: BigNumberish,
615
- overrides?: CallOverrides
616
- ): Promise<void>;
617
- };
618
-
619
- filters: {
620
- "AppBanned(address,bytes32)"(
621
- app?: string | null,
622
- uid?: null
623
- ): AppBannedEventFilter;
624
- AppBanned(app?: string | null, uid?: null): AppBannedEventFilter;
625
-
626
- "AppInstalled(address,address,bytes32)"(
627
- app?: string | null,
628
- account?: string | null,
629
- appId?: BytesLike | null
630
- ): AppInstalledEventFilter;
631
- AppInstalled(
632
- app?: string | null,
633
- account?: string | null,
634
- appId?: BytesLike | null
635
- ): AppInstalledEventFilter;
636
-
637
- "AppRegistered(address,bytes32)"(
638
- app?: string | null,
639
- uid?: null
640
- ): AppRegisteredEventFilter;
641
- AppRegistered(app?: string | null, uid?: null): AppRegisteredEventFilter;
642
-
643
- "AppRenewed(address,address,bytes32)"(
644
- app?: string | null,
645
- account?: string | null,
646
- appId?: BytesLike | null
647
- ): AppRenewedEventFilter;
648
- AppRenewed(
649
- app?: string | null,
650
- account?: string | null,
651
- appId?: BytesLike | null
652
- ): AppRenewedEventFilter;
653
-
654
- "AppSchemaSet(bytes32)"(uid?: null): AppSchemaSetEventFilter;
655
- AppSchemaSet(uid?: null): AppSchemaSetEventFilter;
656
-
657
- "AppUninstalled(address,address,bytes32)"(
658
- app?: string | null,
659
- account?: string | null,
660
- appId?: BytesLike | null
661
- ): AppUninstalledEventFilter;
662
- AppUninstalled(
663
- app?: string | null,
664
- account?: string | null,
665
- appId?: BytesLike | null
666
- ): AppUninstalledEventFilter;
667
-
668
- "AppUnregistered(address,bytes32)"(
669
- app?: string | null,
670
- uid?: null
671
- ): AppUnregisteredEventFilter;
672
- AppUnregistered(
673
- app?: string | null,
674
- uid?: null
675
- ): AppUnregisteredEventFilter;
676
-
677
- "AppUpdated(address,address,bytes32)"(
678
- app?: string | null,
679
- account?: string | null,
680
- appId?: BytesLike | null
681
- ): AppUpdatedEventFilter;
682
- AppUpdated(
683
- app?: string | null,
684
- account?: string | null,
685
- appId?: BytesLike | null
686
- ): AppUpdatedEventFilter;
687
-
688
- "AppUpgraded(address,bytes32,bytes32)"(
689
- app?: string | null,
690
- oldVersionId?: BytesLike | null,
691
- newVersionId?: BytesLike | null
692
- ): AppUpgradedEventFilter;
693
- AppUpgraded(
694
- app?: string | null,
695
- oldVersionId?: BytesLike | null,
696
- newVersionId?: BytesLike | null
697
- ): AppUpgradedEventFilter;
698
-
699
- "ExecutionInstalled(address,((bytes4,bool,bool)[],(bytes4,uint32,bool,bool)[],bytes4[]))"(
700
- module?: string | null,
701
- manifest?: null
702
- ): ExecutionInstalledEventFilter;
703
- ExecutionInstalled(
704
- module?: string | null,
705
- manifest?: null
706
- ): ExecutionInstalledEventFilter;
707
-
708
- "ExecutionUninstalled(address,bool,((bytes4,bool,bool)[],(bytes4,uint32,bool,bool)[],bytes4[]))"(
709
- module?: string | null,
710
- success?: null,
711
- manifest?: null
712
- ): ExecutionUninstalledEventFilter;
713
- ExecutionUninstalled(
714
- module?: string | null,
715
- success?: null,
716
- manifest?: null
717
- ): ExecutionUninstalledEventFilter;
718
-
719
- "ExecutionUpdated(address,((bytes4,bool,bool)[],(bytes4,uint32,bool,bool)[],bytes4[]))"(
720
- module?: string | null,
721
- manifest?: null
722
- ): ExecutionUpdatedEventFilter;
723
- ExecutionUpdated(
724
- module?: string | null,
725
- manifest?: null
726
- ): ExecutionUpdatedEventFilter;
727
-
728
- "GroupAccessGranted(bytes32,address,uint32,uint48,bool)"(
729
- groupId?: BytesLike | null,
730
- account?: string | null,
731
- delay?: null,
732
- since?: null,
733
- newMember?: null
734
- ): GroupAccessGrantedEventFilter;
735
- GroupAccessGranted(
736
- groupId?: BytesLike | null,
737
- account?: string | null,
738
- delay?: null,
739
- since?: null,
740
- newMember?: null
741
- ): GroupAccessGrantedEventFilter;
742
-
743
- "GroupAccessRevoked(bytes32,address,bool)"(
744
- groupId?: BytesLike | null,
745
- account?: string | null,
746
- revoked?: null
747
- ): GroupAccessRevokedEventFilter;
748
- GroupAccessRevoked(
749
- groupId?: BytesLike | null,
750
- account?: string | null,
751
- revoked?: null
752
- ): GroupAccessRevokedEventFilter;
753
-
754
- "GroupExpirationSet(bytes32,uint48)"(
755
- groupId?: BytesLike | null,
756
- expiration?: null
757
- ): GroupExpirationSetEventFilter;
758
- GroupExpirationSet(
759
- groupId?: BytesLike | null,
760
- expiration?: null
761
- ): GroupExpirationSetEventFilter;
762
-
763
- "GroupGrantDelaySet(bytes32,uint32)"(
764
- groupId?: BytesLike | null,
765
- delay?: null
766
- ): GroupGrantDelaySetEventFilter;
767
- GroupGrantDelaySet(
768
- groupId?: BytesLike | null,
769
- delay?: null
770
- ): GroupGrantDelaySetEventFilter;
771
-
772
- "GroupGuardianSet(bytes32,bytes32)"(
773
- groupId?: BytesLike | null,
774
- guardian?: null
775
- ): GroupGuardianSetEventFilter;
776
- GroupGuardianSet(
777
- groupId?: BytesLike | null,
778
- guardian?: null
779
- ): GroupGuardianSetEventFilter;
780
-
781
- "GroupStatusSet(bytes32,bool)"(
782
- groupId?: BytesLike | null,
783
- active?: null
784
- ): GroupStatusSetEventFilter;
785
- GroupStatusSet(
786
- groupId?: BytesLike | null,
787
- active?: null
788
- ): GroupStatusSetEventFilter;
789
-
790
- "Initialized(uint32)"(version?: null): InitializedEventFilter;
791
- Initialized(version?: null): InitializedEventFilter;
792
-
793
- "InterfaceAdded(bytes4)"(
794
- interfaceId?: BytesLike | null
795
- ): InterfaceAddedEventFilter;
796
- InterfaceAdded(interfaceId?: BytesLike | null): InterfaceAddedEventFilter;
797
-
798
- "InterfaceRemoved(bytes4)"(
799
- interfaceId?: BytesLike | null
800
- ): InterfaceRemovedEventFilter;
801
- InterfaceRemoved(
802
- interfaceId?: BytesLike | null
803
- ): InterfaceRemovedEventFilter;
804
-
805
- "OperationCanceled(bytes32,uint32)"(
806
- operationId?: BytesLike | null,
807
- nonce?: null
808
- ): OperationCanceledEventFilter;
809
- OperationCanceled(
810
- operationId?: BytesLike | null,
811
- nonce?: null
812
- ): OperationCanceledEventFilter;
813
-
814
- "OperationExecuted(bytes32,uint32)"(
815
- operationId?: BytesLike | null,
816
- nonce?: null
817
- ): OperationExecutedEventFilter;
818
- OperationExecuted(
819
- operationId?: BytesLike | null,
820
- nonce?: null
821
- ): OperationExecutedEventFilter;
822
-
823
- "OperationScheduled(bytes32,uint48,uint32)"(
824
- operationId?: BytesLike | null,
825
- timepoint?: null,
826
- nonce?: null
827
- ): OperationScheduledEventFilter;
828
- OperationScheduled(
829
- operationId?: BytesLike | null,
830
- timepoint?: null,
831
- nonce?: null
832
- ): OperationScheduledEventFilter;
833
-
834
- "OwnershipTransferred(address,address)"(
835
- previousOwner?: string | null,
836
- newOwner?: string | null
837
- ): OwnershipTransferredEventFilter;
838
- OwnershipTransferred(
839
- previousOwner?: string | null,
840
- newOwner?: string | null
841
- ): OwnershipTransferredEventFilter;
842
-
843
- "Prepay__Prepaid(uint256)"(supply?: null): Prepay__PrepaidEventFilter;
844
- Prepay__Prepaid(supply?: null): Prepay__PrepaidEventFilter;
845
-
846
- "TargetDisabledSet(address,bool)"(
847
- target?: string | null,
848
- disabled?: null
849
- ): TargetDisabledSetEventFilter;
850
- TargetDisabledSet(
851
- target?: string | null,
852
- disabled?: null
853
- ): TargetDisabledSetEventFilter;
854
-
855
- "TargetFunctionDelaySet(address,uint32,uint32)"(
856
- target?: string | null,
857
- newDelay?: null,
858
- minSetback?: null
859
- ): TargetFunctionDelaySetEventFilter;
860
- TargetFunctionDelaySet(
861
- target?: string | null,
862
- newDelay?: null,
863
- minSetback?: null
864
- ): TargetFunctionDelaySetEventFilter;
865
-
866
- "TargetFunctionDisabledSet(address,bytes4,bool)"(
867
- target?: string | null,
868
- selector?: BytesLike | null,
869
- disabled?: null
870
- ): TargetFunctionDisabledSetEventFilter;
871
- TargetFunctionDisabledSet(
872
- target?: string | null,
873
- selector?: BytesLike | null,
874
- disabled?: null
875
- ): TargetFunctionDisabledSetEventFilter;
876
-
877
- "TargetFunctionGroupSet(address,bytes4,bytes32)"(
878
- target?: string | null,
879
- selector?: BytesLike | null,
880
- groupId?: BytesLike | null
881
- ): TargetFunctionGroupSetEventFilter;
882
- TargetFunctionGroupSet(
883
- target?: string | null,
884
- selector?: BytesLike | null,
885
- groupId?: BytesLike | null
886
- ): TargetFunctionGroupSetEventFilter;
887
- };
888
-
889
- estimateGas: {
890
- __PrepayFacet_init(
891
- overrides?: Overrides & { from?: string }
892
- ): Promise<BigNumber>;
893
-
894
- calculateMembershipPrepayFee(
895
- supply: BigNumberish,
896
- overrides?: CallOverrides
897
- ): Promise<BigNumber>;
898
-
899
- prepaidMembershipSupply(overrides?: CallOverrides): Promise<BigNumber>;
900
-
901
- prepayMembership(
902
- supply: BigNumberish,
903
- overrides?: PayableOverrides & { from?: string }
904
- ): Promise<BigNumber>;
905
- };
906
-
907
- populateTransaction: {
908
- __PrepayFacet_init(
909
- overrides?: Overrides & { from?: string }
910
- ): Promise<PopulatedTransaction>;
911
-
912
- calculateMembershipPrepayFee(
913
- supply: BigNumberish,
914
- overrides?: CallOverrides
915
- ): Promise<PopulatedTransaction>;
916
-
917
- prepaidMembershipSupply(
918
- overrides?: CallOverrides
919
- ): Promise<PopulatedTransaction>;
920
-
921
- prepayMembership(
922
- supply: BigNumberish,
923
- overrides?: PayableOverrides & { from?: string }
924
- ): Promise<PopulatedTransaction>;
925
- };
926
- }