@towns-protocol/generated 0.0.382 → 0.0.384

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
@@ -0,0 +1,344 @@
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
+ PopulatedTransaction,
13
+ Signer,
14
+ utils,
15
+ } from "ethers";
16
+ import type {
17
+ FunctionFragment,
18
+ Result,
19
+ EventFragment,
20
+ } from "@ethersproject/abi";
21
+ import type { Listener, Provider } from "@ethersproject/providers";
22
+ import type {
23
+ TypedEventFilter,
24
+ TypedEvent,
25
+ TypedListener,
26
+ OnEvent,
27
+ } from "./common";
28
+
29
+ export interface ISimpleAppInterface extends utils.Interface {
30
+ functions: {
31
+ "updateClient(address)": FunctionFragment;
32
+ "updatePermissions(bytes32[])": FunctionFragment;
33
+ "updatePricing(uint256,uint48)": FunctionFragment;
34
+ "withdrawETH(address)": FunctionFragment;
35
+ };
36
+
37
+ getFunction(
38
+ nameOrSignatureOrTopic:
39
+ | "updateClient"
40
+ | "updatePermissions"
41
+ | "updatePricing"
42
+ | "withdrawETH"
43
+ ): FunctionFragment;
44
+
45
+ encodeFunctionData(
46
+ functionFragment: "updateClient",
47
+ values: [string]
48
+ ): string;
49
+ encodeFunctionData(
50
+ functionFragment: "updatePermissions",
51
+ values: [BytesLike[]]
52
+ ): string;
53
+ encodeFunctionData(
54
+ functionFragment: "updatePricing",
55
+ values: [BigNumberish, BigNumberish]
56
+ ): string;
57
+ encodeFunctionData(functionFragment: "withdrawETH", values: [string]): string;
58
+
59
+ decodeFunctionResult(
60
+ functionFragment: "updateClient",
61
+ data: BytesLike
62
+ ): Result;
63
+ decodeFunctionResult(
64
+ functionFragment: "updatePermissions",
65
+ data: BytesLike
66
+ ): Result;
67
+ decodeFunctionResult(
68
+ functionFragment: "updatePricing",
69
+ data: BytesLike
70
+ ): Result;
71
+ decodeFunctionResult(
72
+ functionFragment: "withdrawETH",
73
+ data: BytesLike
74
+ ): Result;
75
+
76
+ events: {
77
+ "ClientUpdated(address,address)": EventFragment;
78
+ "PermissionsUpdated(bytes32[])": EventFragment;
79
+ "PricingUpdated(uint256,uint48)": EventFragment;
80
+ "SendCurrency(address,address,uint256)": EventFragment;
81
+ "SimpleAppInitialized(address,address)": EventFragment;
82
+ "Withdrawal(address,uint256)": EventFragment;
83
+ };
84
+
85
+ getEvent(nameOrSignatureOrTopic: "ClientUpdated"): EventFragment;
86
+ getEvent(nameOrSignatureOrTopic: "PermissionsUpdated"): EventFragment;
87
+ getEvent(nameOrSignatureOrTopic: "PricingUpdated"): EventFragment;
88
+ getEvent(nameOrSignatureOrTopic: "SendCurrency"): EventFragment;
89
+ getEvent(nameOrSignatureOrTopic: "SimpleAppInitialized"): EventFragment;
90
+ getEvent(nameOrSignatureOrTopic: "Withdrawal"): EventFragment;
91
+ }
92
+
93
+ export interface ClientUpdatedEventObject {
94
+ oldClient: string;
95
+ newClient: string;
96
+ }
97
+ export type ClientUpdatedEvent = TypedEvent<
98
+ [string, string],
99
+ ClientUpdatedEventObject
100
+ >;
101
+
102
+ export type ClientUpdatedEventFilter = TypedEventFilter<ClientUpdatedEvent>;
103
+
104
+ export interface PermissionsUpdatedEventObject {
105
+ permissions: string[];
106
+ }
107
+ export type PermissionsUpdatedEvent = TypedEvent<
108
+ [string[]],
109
+ PermissionsUpdatedEventObject
110
+ >;
111
+
112
+ export type PermissionsUpdatedEventFilter =
113
+ TypedEventFilter<PermissionsUpdatedEvent>;
114
+
115
+ export interface PricingUpdatedEventObject {
116
+ installPrice: BigNumber;
117
+ accessDuration: number;
118
+ }
119
+ export type PricingUpdatedEvent = TypedEvent<
120
+ [BigNumber, number],
121
+ PricingUpdatedEventObject
122
+ >;
123
+
124
+ export type PricingUpdatedEventFilter = TypedEventFilter<PricingUpdatedEvent>;
125
+
126
+ export interface SendCurrencyEventObject {
127
+ recipient: string;
128
+ currency: string;
129
+ amount: BigNumber;
130
+ }
131
+ export type SendCurrencyEvent = TypedEvent<
132
+ [string, string, BigNumber],
133
+ SendCurrencyEventObject
134
+ >;
135
+
136
+ export type SendCurrencyEventFilter = TypedEventFilter<SendCurrencyEvent>;
137
+
138
+ export interface SimpleAppInitializedEventObject {
139
+ owner: string;
140
+ client: string;
141
+ }
142
+ export type SimpleAppInitializedEvent = TypedEvent<
143
+ [string, string],
144
+ SimpleAppInitializedEventObject
145
+ >;
146
+
147
+ export type SimpleAppInitializedEventFilter =
148
+ TypedEventFilter<SimpleAppInitializedEvent>;
149
+
150
+ export interface WithdrawalEventObject {
151
+ recipient: string;
152
+ amount: BigNumber;
153
+ }
154
+ export type WithdrawalEvent = TypedEvent<
155
+ [string, BigNumber],
156
+ WithdrawalEventObject
157
+ >;
158
+
159
+ export type WithdrawalEventFilter = TypedEventFilter<WithdrawalEvent>;
160
+
161
+ export interface ISimpleApp extends BaseContract {
162
+ connect(signerOrProvider: Signer | Provider | string): this;
163
+ attach(addressOrName: string): this;
164
+ deployed(): Promise<this>;
165
+
166
+ interface: ISimpleAppInterface;
167
+
168
+ queryFilter<TEvent extends TypedEvent>(
169
+ event: TypedEventFilter<TEvent>,
170
+ fromBlockOrBlockhash?: string | number | undefined,
171
+ toBlock?: string | number | undefined
172
+ ): Promise<Array<TEvent>>;
173
+
174
+ listeners<TEvent extends TypedEvent>(
175
+ eventFilter?: TypedEventFilter<TEvent>
176
+ ): Array<TypedListener<TEvent>>;
177
+ listeners(eventName?: string): Array<Listener>;
178
+ removeAllListeners<TEvent extends TypedEvent>(
179
+ eventFilter: TypedEventFilter<TEvent>
180
+ ): this;
181
+ removeAllListeners(eventName?: string): this;
182
+ off: OnEvent<this>;
183
+ on: OnEvent<this>;
184
+ once: OnEvent<this>;
185
+ removeListener: OnEvent<this>;
186
+
187
+ functions: {
188
+ updateClient(
189
+ newClient: string,
190
+ overrides?: Overrides & { from?: string }
191
+ ): Promise<ContractTransaction>;
192
+
193
+ updatePermissions(
194
+ permissions: BytesLike[],
195
+ overrides?: Overrides & { from?: string }
196
+ ): Promise<ContractTransaction>;
197
+
198
+ updatePricing(
199
+ installPrice: BigNumberish,
200
+ accessDuration: BigNumberish,
201
+ overrides?: Overrides & { from?: string }
202
+ ): Promise<ContractTransaction>;
203
+
204
+ withdrawETH(
205
+ recipient: string,
206
+ overrides?: Overrides & { from?: string }
207
+ ): Promise<ContractTransaction>;
208
+ };
209
+
210
+ updateClient(
211
+ newClient: string,
212
+ overrides?: Overrides & { from?: string }
213
+ ): Promise<ContractTransaction>;
214
+
215
+ updatePermissions(
216
+ permissions: BytesLike[],
217
+ overrides?: Overrides & { from?: string }
218
+ ): Promise<ContractTransaction>;
219
+
220
+ updatePricing(
221
+ installPrice: BigNumberish,
222
+ accessDuration: BigNumberish,
223
+ overrides?: Overrides & { from?: string }
224
+ ): Promise<ContractTransaction>;
225
+
226
+ withdrawETH(
227
+ recipient: string,
228
+ overrides?: Overrides & { from?: string }
229
+ ): Promise<ContractTransaction>;
230
+
231
+ callStatic: {
232
+ updateClient(newClient: string, overrides?: CallOverrides): Promise<void>;
233
+
234
+ updatePermissions(
235
+ permissions: BytesLike[],
236
+ overrides?: CallOverrides
237
+ ): Promise<void>;
238
+
239
+ updatePricing(
240
+ installPrice: BigNumberish,
241
+ accessDuration: BigNumberish,
242
+ overrides?: CallOverrides
243
+ ): Promise<void>;
244
+
245
+ withdrawETH(recipient: string, overrides?: CallOverrides): Promise<void>;
246
+ };
247
+
248
+ filters: {
249
+ "ClientUpdated(address,address)"(
250
+ oldClient?: string | null,
251
+ newClient?: string | null
252
+ ): ClientUpdatedEventFilter;
253
+ ClientUpdated(
254
+ oldClient?: string | null,
255
+ newClient?: string | null
256
+ ): ClientUpdatedEventFilter;
257
+
258
+ "PermissionsUpdated(bytes32[])"(
259
+ permissions?: null
260
+ ): PermissionsUpdatedEventFilter;
261
+ PermissionsUpdated(permissions?: null): PermissionsUpdatedEventFilter;
262
+
263
+ "PricingUpdated(uint256,uint48)"(
264
+ installPrice?: null,
265
+ accessDuration?: null
266
+ ): PricingUpdatedEventFilter;
267
+ PricingUpdated(
268
+ installPrice?: null,
269
+ accessDuration?: null
270
+ ): PricingUpdatedEventFilter;
271
+
272
+ "SendCurrency(address,address,uint256)"(
273
+ recipient?: string | null,
274
+ currency?: string | null,
275
+ amount?: null
276
+ ): SendCurrencyEventFilter;
277
+ SendCurrency(
278
+ recipient?: string | null,
279
+ currency?: string | null,
280
+ amount?: null
281
+ ): SendCurrencyEventFilter;
282
+
283
+ "SimpleAppInitialized(address,address)"(
284
+ owner?: string | null,
285
+ client?: string | null
286
+ ): SimpleAppInitializedEventFilter;
287
+ SimpleAppInitialized(
288
+ owner?: string | null,
289
+ client?: string | null
290
+ ): SimpleAppInitializedEventFilter;
291
+
292
+ "Withdrawal(address,uint256)"(
293
+ recipient?: string | null,
294
+ amount?: null
295
+ ): WithdrawalEventFilter;
296
+ Withdrawal(recipient?: string | null, amount?: null): WithdrawalEventFilter;
297
+ };
298
+
299
+ estimateGas: {
300
+ updateClient(
301
+ newClient: string,
302
+ overrides?: Overrides & { from?: string }
303
+ ): Promise<BigNumber>;
304
+
305
+ updatePermissions(
306
+ permissions: BytesLike[],
307
+ overrides?: Overrides & { from?: string }
308
+ ): Promise<BigNumber>;
309
+
310
+ updatePricing(
311
+ installPrice: BigNumberish,
312
+ accessDuration: BigNumberish,
313
+ overrides?: Overrides & { from?: string }
314
+ ): Promise<BigNumber>;
315
+
316
+ withdrawETH(
317
+ recipient: string,
318
+ overrides?: Overrides & { from?: string }
319
+ ): Promise<BigNumber>;
320
+ };
321
+
322
+ populateTransaction: {
323
+ updateClient(
324
+ newClient: string,
325
+ overrides?: Overrides & { from?: string }
326
+ ): Promise<PopulatedTransaction>;
327
+
328
+ updatePermissions(
329
+ permissions: BytesLike[],
330
+ overrides?: Overrides & { from?: string }
331
+ ): Promise<PopulatedTransaction>;
332
+
333
+ updatePricing(
334
+ installPrice: BigNumberish,
335
+ accessDuration: BigNumberish,
336
+ overrides?: Overrides & { from?: string }
337
+ ): Promise<PopulatedTransaction>;
338
+
339
+ withdrawETH(
340
+ recipient: string,
341
+ overrides?: Overrides & { from?: string }
342
+ ): Promise<PopulatedTransaction>;
343
+ };
344
+ }
@@ -0,0 +1,371 @@
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
+ 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 type ManifestExecutionFunctionStruct = {
26
+ executionSelector: BytesLike;
27
+ skipRuntimeValidation: boolean;
28
+ allowGlobalValidation: boolean;
29
+ };
30
+
31
+ export type ManifestExecutionFunctionStructOutput = [
32
+ string,
33
+ boolean,
34
+ boolean
35
+ ] & {
36
+ executionSelector: string;
37
+ skipRuntimeValidation: boolean;
38
+ allowGlobalValidation: boolean;
39
+ };
40
+
41
+ export type ManifestExecutionHookStruct = {
42
+ executionSelector: BytesLike;
43
+ entityId: BigNumberish;
44
+ isPreHook: boolean;
45
+ isPostHook: boolean;
46
+ };
47
+
48
+ export type ManifestExecutionHookStructOutput = [
49
+ string,
50
+ number,
51
+ boolean,
52
+ boolean
53
+ ] & {
54
+ executionSelector: string;
55
+ entityId: number;
56
+ isPreHook: boolean;
57
+ isPostHook: boolean;
58
+ };
59
+
60
+ export type ExecutionManifestStruct = {
61
+ executionFunctions: ManifestExecutionFunctionStruct[];
62
+ executionHooks: ManifestExecutionHookStruct[];
63
+ interfaceIds: BytesLike[];
64
+ };
65
+
66
+ export type ExecutionManifestStructOutput = [
67
+ ManifestExecutionFunctionStructOutput[],
68
+ ManifestExecutionHookStructOutput[],
69
+ string[]
70
+ ] & {
71
+ executionFunctions: ManifestExecutionFunctionStructOutput[];
72
+ executionHooks: ManifestExecutionHookStructOutput[];
73
+ interfaceIds: string[];
74
+ };
75
+
76
+ export interface ITownsAppInterface extends utils.Interface {
77
+ functions: {
78
+ "accessDuration()": FunctionFragment;
79
+ "executionManifest()": FunctionFragment;
80
+ "initialize(bytes)": FunctionFragment;
81
+ "installPrice()": FunctionFragment;
82
+ "moduleId()": FunctionFragment;
83
+ "moduleOwner()": FunctionFragment;
84
+ "onInstall(bytes)": FunctionFragment;
85
+ "onUninstall(bytes)": FunctionFragment;
86
+ "requiredPermissions()": FunctionFragment;
87
+ "supportsInterface(bytes4)": FunctionFragment;
88
+ };
89
+
90
+ getFunction(
91
+ nameOrSignatureOrTopic:
92
+ | "accessDuration"
93
+ | "executionManifest"
94
+ | "initialize"
95
+ | "installPrice"
96
+ | "moduleId"
97
+ | "moduleOwner"
98
+ | "onInstall"
99
+ | "onUninstall"
100
+ | "requiredPermissions"
101
+ | "supportsInterface"
102
+ ): FunctionFragment;
103
+
104
+ encodeFunctionData(
105
+ functionFragment: "accessDuration",
106
+ values?: undefined
107
+ ): string;
108
+ encodeFunctionData(
109
+ functionFragment: "executionManifest",
110
+ values?: undefined
111
+ ): string;
112
+ encodeFunctionData(
113
+ functionFragment: "initialize",
114
+ values: [BytesLike]
115
+ ): string;
116
+ encodeFunctionData(
117
+ functionFragment: "installPrice",
118
+ values?: undefined
119
+ ): string;
120
+ encodeFunctionData(functionFragment: "moduleId", values?: undefined): string;
121
+ encodeFunctionData(
122
+ functionFragment: "moduleOwner",
123
+ values?: undefined
124
+ ): string;
125
+ encodeFunctionData(
126
+ functionFragment: "onInstall",
127
+ values: [BytesLike]
128
+ ): string;
129
+ encodeFunctionData(
130
+ functionFragment: "onUninstall",
131
+ values: [BytesLike]
132
+ ): string;
133
+ encodeFunctionData(
134
+ functionFragment: "requiredPermissions",
135
+ values?: undefined
136
+ ): string;
137
+ encodeFunctionData(
138
+ functionFragment: "supportsInterface",
139
+ values: [BytesLike]
140
+ ): string;
141
+
142
+ decodeFunctionResult(
143
+ functionFragment: "accessDuration",
144
+ data: BytesLike
145
+ ): Result;
146
+ decodeFunctionResult(
147
+ functionFragment: "executionManifest",
148
+ data: BytesLike
149
+ ): Result;
150
+ decodeFunctionResult(functionFragment: "initialize", data: BytesLike): Result;
151
+ decodeFunctionResult(
152
+ functionFragment: "installPrice",
153
+ data: BytesLike
154
+ ): Result;
155
+ decodeFunctionResult(functionFragment: "moduleId", data: BytesLike): Result;
156
+ decodeFunctionResult(
157
+ functionFragment: "moduleOwner",
158
+ data: BytesLike
159
+ ): Result;
160
+ decodeFunctionResult(functionFragment: "onInstall", data: BytesLike): Result;
161
+ decodeFunctionResult(
162
+ functionFragment: "onUninstall",
163
+ data: BytesLike
164
+ ): Result;
165
+ decodeFunctionResult(
166
+ functionFragment: "requiredPermissions",
167
+ data: BytesLike
168
+ ): Result;
169
+ decodeFunctionResult(
170
+ functionFragment: "supportsInterface",
171
+ data: BytesLike
172
+ ): Result;
173
+
174
+ events: {};
175
+ }
176
+
177
+ export interface ITownsApp extends BaseContract {
178
+ connect(signerOrProvider: Signer | Provider | string): this;
179
+ attach(addressOrName: string): this;
180
+ deployed(): Promise<this>;
181
+
182
+ interface: ITownsAppInterface;
183
+
184
+ queryFilter<TEvent extends TypedEvent>(
185
+ event: TypedEventFilter<TEvent>,
186
+ fromBlockOrBlockhash?: string | number | undefined,
187
+ toBlock?: string | number | undefined
188
+ ): Promise<Array<TEvent>>;
189
+
190
+ listeners<TEvent extends TypedEvent>(
191
+ eventFilter?: TypedEventFilter<TEvent>
192
+ ): Array<TypedListener<TEvent>>;
193
+ listeners(eventName?: string): Array<Listener>;
194
+ removeAllListeners<TEvent extends TypedEvent>(
195
+ eventFilter: TypedEventFilter<TEvent>
196
+ ): this;
197
+ removeAllListeners(eventName?: string): this;
198
+ off: OnEvent<this>;
199
+ on: OnEvent<this>;
200
+ once: OnEvent<this>;
201
+ removeListener: OnEvent<this>;
202
+
203
+ functions: {
204
+ accessDuration(overrides?: CallOverrides): Promise<[number]>;
205
+
206
+ executionManifest(
207
+ overrides?: CallOverrides
208
+ ): Promise<[ExecutionManifestStructOutput]>;
209
+
210
+ initialize(
211
+ data: BytesLike,
212
+ overrides?: Overrides & { from?: string }
213
+ ): Promise<ContractTransaction>;
214
+
215
+ installPrice(overrides?: CallOverrides): Promise<[BigNumber]>;
216
+
217
+ moduleId(overrides?: CallOverrides): Promise<[string]>;
218
+
219
+ moduleOwner(overrides?: CallOverrides): Promise<[string]>;
220
+
221
+ onInstall(
222
+ data: BytesLike,
223
+ overrides?: Overrides & { from?: string }
224
+ ): Promise<ContractTransaction>;
225
+
226
+ onUninstall(
227
+ data: BytesLike,
228
+ overrides?: Overrides & { from?: string }
229
+ ): Promise<ContractTransaction>;
230
+
231
+ requiredPermissions(overrides?: CallOverrides): Promise<[string[]]>;
232
+
233
+ supportsInterface(
234
+ interfaceId: BytesLike,
235
+ overrides?: CallOverrides
236
+ ): Promise<[boolean]>;
237
+ };
238
+
239
+ accessDuration(overrides?: CallOverrides): Promise<number>;
240
+
241
+ executionManifest(
242
+ overrides?: CallOverrides
243
+ ): Promise<ExecutionManifestStructOutput>;
244
+
245
+ initialize(
246
+ data: BytesLike,
247
+ overrides?: Overrides & { from?: string }
248
+ ): Promise<ContractTransaction>;
249
+
250
+ installPrice(overrides?: CallOverrides): Promise<BigNumber>;
251
+
252
+ moduleId(overrides?: CallOverrides): Promise<string>;
253
+
254
+ moduleOwner(overrides?: CallOverrides): Promise<string>;
255
+
256
+ onInstall(
257
+ data: BytesLike,
258
+ overrides?: Overrides & { from?: string }
259
+ ): Promise<ContractTransaction>;
260
+
261
+ onUninstall(
262
+ data: BytesLike,
263
+ overrides?: Overrides & { from?: string }
264
+ ): Promise<ContractTransaction>;
265
+
266
+ requiredPermissions(overrides?: CallOverrides): Promise<string[]>;
267
+
268
+ supportsInterface(
269
+ interfaceId: BytesLike,
270
+ overrides?: CallOverrides
271
+ ): Promise<boolean>;
272
+
273
+ callStatic: {
274
+ accessDuration(overrides?: CallOverrides): Promise<number>;
275
+
276
+ executionManifest(
277
+ overrides?: CallOverrides
278
+ ): Promise<ExecutionManifestStructOutput>;
279
+
280
+ initialize(data: BytesLike, overrides?: CallOverrides): Promise<void>;
281
+
282
+ installPrice(overrides?: CallOverrides): Promise<BigNumber>;
283
+
284
+ moduleId(overrides?: CallOverrides): Promise<string>;
285
+
286
+ moduleOwner(overrides?: CallOverrides): Promise<string>;
287
+
288
+ onInstall(data: BytesLike, overrides?: CallOverrides): Promise<void>;
289
+
290
+ onUninstall(data: BytesLike, overrides?: CallOverrides): Promise<void>;
291
+
292
+ requiredPermissions(overrides?: CallOverrides): Promise<string[]>;
293
+
294
+ supportsInterface(
295
+ interfaceId: BytesLike,
296
+ overrides?: CallOverrides
297
+ ): Promise<boolean>;
298
+ };
299
+
300
+ filters: {};
301
+
302
+ estimateGas: {
303
+ accessDuration(overrides?: CallOverrides): Promise<BigNumber>;
304
+
305
+ executionManifest(overrides?: CallOverrides): Promise<BigNumber>;
306
+
307
+ initialize(
308
+ data: BytesLike,
309
+ overrides?: Overrides & { from?: string }
310
+ ): Promise<BigNumber>;
311
+
312
+ installPrice(overrides?: CallOverrides): Promise<BigNumber>;
313
+
314
+ moduleId(overrides?: CallOverrides): Promise<BigNumber>;
315
+
316
+ moduleOwner(overrides?: CallOverrides): Promise<BigNumber>;
317
+
318
+ onInstall(
319
+ data: BytesLike,
320
+ overrides?: Overrides & { from?: string }
321
+ ): Promise<BigNumber>;
322
+
323
+ onUninstall(
324
+ data: BytesLike,
325
+ overrides?: Overrides & { from?: string }
326
+ ): Promise<BigNumber>;
327
+
328
+ requiredPermissions(overrides?: CallOverrides): Promise<BigNumber>;
329
+
330
+ supportsInterface(
331
+ interfaceId: BytesLike,
332
+ overrides?: CallOverrides
333
+ ): Promise<BigNumber>;
334
+ };
335
+
336
+ populateTransaction: {
337
+ accessDuration(overrides?: CallOverrides): Promise<PopulatedTransaction>;
338
+
339
+ executionManifest(overrides?: CallOverrides): Promise<PopulatedTransaction>;
340
+
341
+ initialize(
342
+ data: BytesLike,
343
+ overrides?: Overrides & { from?: string }
344
+ ): Promise<PopulatedTransaction>;
345
+
346
+ installPrice(overrides?: CallOverrides): Promise<PopulatedTransaction>;
347
+
348
+ moduleId(overrides?: CallOverrides): Promise<PopulatedTransaction>;
349
+
350
+ moduleOwner(overrides?: CallOverrides): Promise<PopulatedTransaction>;
351
+
352
+ onInstall(
353
+ data: BytesLike,
354
+ overrides?: Overrides & { from?: string }
355
+ ): Promise<PopulatedTransaction>;
356
+
357
+ onUninstall(
358
+ data: BytesLike,
359
+ overrides?: Overrides & { from?: string }
360
+ ): Promise<PopulatedTransaction>;
361
+
362
+ requiredPermissions(
363
+ overrides?: CallOverrides
364
+ ): Promise<PopulatedTransaction>;
365
+
366
+ supportsInterface(
367
+ interfaceId: BytesLike,
368
+ overrides?: CallOverrides
369
+ ): Promise<PopulatedTransaction>;
370
+ };
371
+ }