@lukso/lsp23-contracts 0.15.0 → 0.15.1
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.
- package/contracts/LSP23Errors.sol +4 -4
- package/contracts/LSP23LinkedContractsFactory.sol +1 -1
- package/package.json +32 -24
- package/artifacts/ILSP23LinkedContractsFactory.json +0 -517
- package/artifacts/IPostDeploymentModule.json +0 -34
- package/artifacts/LSP23LinkedContractsFactory.json +0 -544
- package/artifacts/UniversalProfileInitPostDeploymentModule.json +0 -742
- package/artifacts/UniversalProfilePostDeploymentModule.json +0 -716
- package/types/common.ts +0 -131
- package/types/contracts/ILSP23LinkedContractsFactory.ts +0 -448
- package/types/contracts/IPostDeploymentModule.ts +0 -107
- package/types/contracts/LSP23LinkedContractsFactory.ts +0 -448
- package/types/contracts/modules/UniversalProfileInitPostDeploymentModule.ts +0 -795
- package/types/contracts/modules/UniversalProfilePostDeploymentModule.ts +0 -747
- package/types/index.ts +0 -2807
package/types/common.ts
DELETED
@@ -1,131 +0,0 @@
|
|
1
|
-
/* Autogenerated file. Do not edit manually. */
|
2
|
-
/* tslint:disable */
|
3
|
-
/* eslint-disable */
|
4
|
-
import type {
|
5
|
-
FunctionFragment,
|
6
|
-
Typed,
|
7
|
-
EventFragment,
|
8
|
-
ContractTransaction,
|
9
|
-
ContractTransactionResponse,
|
10
|
-
DeferredTopicFilter,
|
11
|
-
EventLog,
|
12
|
-
TransactionRequest,
|
13
|
-
LogDescription,
|
14
|
-
} from "ethers";
|
15
|
-
|
16
|
-
export interface TypedDeferredTopicFilter<_TCEvent extends TypedContractEvent>
|
17
|
-
extends DeferredTopicFilter {}
|
18
|
-
|
19
|
-
export interface TypedContractEvent<
|
20
|
-
InputTuple extends Array<any> = any,
|
21
|
-
OutputTuple extends Array<any> = any,
|
22
|
-
OutputObject = any
|
23
|
-
> {
|
24
|
-
(...args: Partial<InputTuple>): TypedDeferredTopicFilter<
|
25
|
-
TypedContractEvent<InputTuple, OutputTuple, OutputObject>
|
26
|
-
>;
|
27
|
-
name: string;
|
28
|
-
fragment: EventFragment;
|
29
|
-
getFragment(...args: Partial<InputTuple>): EventFragment;
|
30
|
-
}
|
31
|
-
|
32
|
-
type __TypechainAOutputTuple<T> = T extends TypedContractEvent<
|
33
|
-
infer _U,
|
34
|
-
infer W
|
35
|
-
>
|
36
|
-
? W
|
37
|
-
: never;
|
38
|
-
type __TypechainOutputObject<T> = T extends TypedContractEvent<
|
39
|
-
infer _U,
|
40
|
-
infer _W,
|
41
|
-
infer V
|
42
|
-
>
|
43
|
-
? V
|
44
|
-
: never;
|
45
|
-
|
46
|
-
export interface TypedEventLog<TCEvent extends TypedContractEvent>
|
47
|
-
extends Omit<EventLog, "args"> {
|
48
|
-
args: __TypechainAOutputTuple<TCEvent> & __TypechainOutputObject<TCEvent>;
|
49
|
-
}
|
50
|
-
|
51
|
-
export interface TypedLogDescription<TCEvent extends TypedContractEvent>
|
52
|
-
extends Omit<LogDescription, "args"> {
|
53
|
-
args: __TypechainAOutputTuple<TCEvent> & __TypechainOutputObject<TCEvent>;
|
54
|
-
}
|
55
|
-
|
56
|
-
export type TypedListener<TCEvent extends TypedContractEvent> = (
|
57
|
-
...listenerArg: [
|
58
|
-
...__TypechainAOutputTuple<TCEvent>,
|
59
|
-
TypedEventLog<TCEvent>,
|
60
|
-
...undefined[]
|
61
|
-
]
|
62
|
-
) => void;
|
63
|
-
|
64
|
-
export type MinEthersFactory<C, ARGS> = {
|
65
|
-
deploy(...a: ARGS[]): Promise<C>;
|
66
|
-
};
|
67
|
-
|
68
|
-
export type GetContractTypeFromFactory<F> = F extends MinEthersFactory<
|
69
|
-
infer C,
|
70
|
-
any
|
71
|
-
>
|
72
|
-
? C
|
73
|
-
: never;
|
74
|
-
export type GetARGsTypeFromFactory<F> = F extends MinEthersFactory<any, any>
|
75
|
-
? Parameters<F["deploy"]>
|
76
|
-
: never;
|
77
|
-
|
78
|
-
export type StateMutability = "nonpayable" | "payable" | "view";
|
79
|
-
|
80
|
-
export type BaseOverrides = Omit<TransactionRequest, "to" | "data">;
|
81
|
-
export type NonPayableOverrides = Omit<
|
82
|
-
BaseOverrides,
|
83
|
-
"value" | "blockTag" | "enableCcipRead"
|
84
|
-
>;
|
85
|
-
export type PayableOverrides = Omit<
|
86
|
-
BaseOverrides,
|
87
|
-
"blockTag" | "enableCcipRead"
|
88
|
-
>;
|
89
|
-
export type ViewOverrides = Omit<TransactionRequest, "to" | "data">;
|
90
|
-
export type Overrides<S extends StateMutability> = S extends "nonpayable"
|
91
|
-
? NonPayableOverrides
|
92
|
-
: S extends "payable"
|
93
|
-
? PayableOverrides
|
94
|
-
: ViewOverrides;
|
95
|
-
|
96
|
-
export type PostfixOverrides<A extends Array<any>, S extends StateMutability> =
|
97
|
-
| A
|
98
|
-
| [...A, Overrides<S>];
|
99
|
-
export type ContractMethodArgs<
|
100
|
-
A extends Array<any>,
|
101
|
-
S extends StateMutability
|
102
|
-
> = PostfixOverrides<{ [I in keyof A]-?: A[I] | Typed }, S>;
|
103
|
-
|
104
|
-
export type DefaultReturnType<R> = R extends Array<any> ? R[0] : R;
|
105
|
-
|
106
|
-
// export interface ContractMethod<A extends Array<any> = Array<any>, R = any, D extends R | ContractTransactionResponse = R | ContractTransactionResponse> {
|
107
|
-
export interface TypedContractMethod<
|
108
|
-
A extends Array<any> = Array<any>,
|
109
|
-
R = any,
|
110
|
-
S extends StateMutability = "payable"
|
111
|
-
> {
|
112
|
-
(...args: ContractMethodArgs<A, S>): S extends "view"
|
113
|
-
? Promise<DefaultReturnType<R>>
|
114
|
-
: Promise<ContractTransactionResponse>;
|
115
|
-
|
116
|
-
name: string;
|
117
|
-
|
118
|
-
fragment: FunctionFragment;
|
119
|
-
|
120
|
-
getFragment(...args: ContractMethodArgs<A, S>): FunctionFragment;
|
121
|
-
|
122
|
-
populateTransaction(
|
123
|
-
...args: ContractMethodArgs<A, S>
|
124
|
-
): Promise<ContractTransaction>;
|
125
|
-
staticCall(
|
126
|
-
...args: ContractMethodArgs<A, "view">
|
127
|
-
): Promise<DefaultReturnType<R>>;
|
128
|
-
send(...args: ContractMethodArgs<A, S>): Promise<ContractTransactionResponse>;
|
129
|
-
estimateGas(...args: ContractMethodArgs<A, S>): Promise<bigint>;
|
130
|
-
staticCallResult(...args: ContractMethodArgs<A, "view">): Promise<R>;
|
131
|
-
}
|
@@ -1,448 +0,0 @@
|
|
1
|
-
/* Autogenerated file. Do not edit manually. */
|
2
|
-
/* tslint:disable */
|
3
|
-
/* eslint-disable */
|
4
|
-
import type {
|
5
|
-
BaseContract,
|
6
|
-
BigNumberish,
|
7
|
-
BytesLike,
|
8
|
-
FunctionFragment,
|
9
|
-
Result,
|
10
|
-
Interface,
|
11
|
-
EventFragment,
|
12
|
-
AddressLike,
|
13
|
-
ContractRunner,
|
14
|
-
ContractMethod,
|
15
|
-
Listener,
|
16
|
-
} from "ethers";
|
17
|
-
import type {
|
18
|
-
TypedContractEvent,
|
19
|
-
TypedDeferredTopicFilter,
|
20
|
-
TypedEventLog,
|
21
|
-
TypedLogDescription,
|
22
|
-
TypedListener,
|
23
|
-
TypedContractMethod,
|
24
|
-
} from "../common";
|
25
|
-
|
26
|
-
export declare namespace ILSP23LinkedContractsFactory {
|
27
|
-
export type PrimaryContractDeploymentStruct = {
|
28
|
-
salt: BytesLike;
|
29
|
-
fundingAmount: BigNumberish;
|
30
|
-
creationBytecode: BytesLike;
|
31
|
-
};
|
32
|
-
|
33
|
-
export type PrimaryContractDeploymentStructOutput = [
|
34
|
-
salt: string,
|
35
|
-
fundingAmount: bigint,
|
36
|
-
creationBytecode: string
|
37
|
-
] & { salt: string; fundingAmount: bigint; creationBytecode: string };
|
38
|
-
|
39
|
-
export type SecondaryContractDeploymentStruct = {
|
40
|
-
fundingAmount: BigNumberish;
|
41
|
-
creationBytecode: BytesLike;
|
42
|
-
addPrimaryContractAddress: boolean;
|
43
|
-
extraConstructorParams: BytesLike;
|
44
|
-
};
|
45
|
-
|
46
|
-
export type SecondaryContractDeploymentStructOutput = [
|
47
|
-
fundingAmount: bigint,
|
48
|
-
creationBytecode: string,
|
49
|
-
addPrimaryContractAddress: boolean,
|
50
|
-
extraConstructorParams: string
|
51
|
-
] & {
|
52
|
-
fundingAmount: bigint;
|
53
|
-
creationBytecode: string;
|
54
|
-
addPrimaryContractAddress: boolean;
|
55
|
-
extraConstructorParams: string;
|
56
|
-
};
|
57
|
-
|
58
|
-
export type PrimaryContractDeploymentInitStruct = {
|
59
|
-
salt: BytesLike;
|
60
|
-
fundingAmount: BigNumberish;
|
61
|
-
implementationContract: AddressLike;
|
62
|
-
initializationCalldata: BytesLike;
|
63
|
-
};
|
64
|
-
|
65
|
-
export type PrimaryContractDeploymentInitStructOutput = [
|
66
|
-
salt: string,
|
67
|
-
fundingAmount: bigint,
|
68
|
-
implementationContract: string,
|
69
|
-
initializationCalldata: string
|
70
|
-
] & {
|
71
|
-
salt: string;
|
72
|
-
fundingAmount: bigint;
|
73
|
-
implementationContract: string;
|
74
|
-
initializationCalldata: string;
|
75
|
-
};
|
76
|
-
|
77
|
-
export type SecondaryContractDeploymentInitStruct = {
|
78
|
-
fundingAmount: BigNumberish;
|
79
|
-
implementationContract: AddressLike;
|
80
|
-
initializationCalldata: BytesLike;
|
81
|
-
addPrimaryContractAddress: boolean;
|
82
|
-
extraInitializationParams: BytesLike;
|
83
|
-
};
|
84
|
-
|
85
|
-
export type SecondaryContractDeploymentInitStructOutput = [
|
86
|
-
fundingAmount: bigint,
|
87
|
-
implementationContract: string,
|
88
|
-
initializationCalldata: string,
|
89
|
-
addPrimaryContractAddress: boolean,
|
90
|
-
extraInitializationParams: string
|
91
|
-
] & {
|
92
|
-
fundingAmount: bigint;
|
93
|
-
implementationContract: string;
|
94
|
-
initializationCalldata: string;
|
95
|
-
addPrimaryContractAddress: boolean;
|
96
|
-
extraInitializationParams: string;
|
97
|
-
};
|
98
|
-
}
|
99
|
-
|
100
|
-
export interface ILSP23LinkedContractsFactoryInterface extends Interface {
|
101
|
-
getFunction(
|
102
|
-
nameOrSignature:
|
103
|
-
| "computeAddresses"
|
104
|
-
| "computeERC1167Addresses"
|
105
|
-
| "deployContracts"
|
106
|
-
| "deployERC1167Proxies"
|
107
|
-
): FunctionFragment;
|
108
|
-
|
109
|
-
getEvent(
|
110
|
-
nameOrSignatureOrTopic: "DeployedContracts" | "DeployedERC1167Proxies"
|
111
|
-
): EventFragment;
|
112
|
-
|
113
|
-
encodeFunctionData(
|
114
|
-
functionFragment: "computeAddresses",
|
115
|
-
values: [
|
116
|
-
ILSP23LinkedContractsFactory.PrimaryContractDeploymentStruct,
|
117
|
-
ILSP23LinkedContractsFactory.SecondaryContractDeploymentStruct,
|
118
|
-
AddressLike,
|
119
|
-
BytesLike
|
120
|
-
]
|
121
|
-
): string;
|
122
|
-
encodeFunctionData(
|
123
|
-
functionFragment: "computeERC1167Addresses",
|
124
|
-
values: [
|
125
|
-
ILSP23LinkedContractsFactory.PrimaryContractDeploymentInitStruct,
|
126
|
-
ILSP23LinkedContractsFactory.SecondaryContractDeploymentInitStruct,
|
127
|
-
AddressLike,
|
128
|
-
BytesLike
|
129
|
-
]
|
130
|
-
): string;
|
131
|
-
encodeFunctionData(
|
132
|
-
functionFragment: "deployContracts",
|
133
|
-
values: [
|
134
|
-
ILSP23LinkedContractsFactory.PrimaryContractDeploymentStruct,
|
135
|
-
ILSP23LinkedContractsFactory.SecondaryContractDeploymentStruct,
|
136
|
-
AddressLike,
|
137
|
-
BytesLike
|
138
|
-
]
|
139
|
-
): string;
|
140
|
-
encodeFunctionData(
|
141
|
-
functionFragment: "deployERC1167Proxies",
|
142
|
-
values: [
|
143
|
-
ILSP23LinkedContractsFactory.PrimaryContractDeploymentInitStruct,
|
144
|
-
ILSP23LinkedContractsFactory.SecondaryContractDeploymentInitStruct,
|
145
|
-
AddressLike,
|
146
|
-
BytesLike
|
147
|
-
]
|
148
|
-
): string;
|
149
|
-
|
150
|
-
decodeFunctionResult(
|
151
|
-
functionFragment: "computeAddresses",
|
152
|
-
data: BytesLike
|
153
|
-
): Result;
|
154
|
-
decodeFunctionResult(
|
155
|
-
functionFragment: "computeERC1167Addresses",
|
156
|
-
data: BytesLike
|
157
|
-
): Result;
|
158
|
-
decodeFunctionResult(
|
159
|
-
functionFragment: "deployContracts",
|
160
|
-
data: BytesLike
|
161
|
-
): Result;
|
162
|
-
decodeFunctionResult(
|
163
|
-
functionFragment: "deployERC1167Proxies",
|
164
|
-
data: BytesLike
|
165
|
-
): Result;
|
166
|
-
}
|
167
|
-
|
168
|
-
export namespace DeployedContractsEvent {
|
169
|
-
export type InputTuple = [
|
170
|
-
primaryContract: AddressLike,
|
171
|
-
secondaryContract: AddressLike,
|
172
|
-
primaryContractDeployment: ILSP23LinkedContractsFactory.PrimaryContractDeploymentStruct,
|
173
|
-
secondaryContractDeployment: ILSP23LinkedContractsFactory.SecondaryContractDeploymentStruct,
|
174
|
-
postDeploymentModule: AddressLike,
|
175
|
-
postDeploymentModuleCalldata: BytesLike
|
176
|
-
];
|
177
|
-
export type OutputTuple = [
|
178
|
-
primaryContract: string,
|
179
|
-
secondaryContract: string,
|
180
|
-
primaryContractDeployment: ILSP23LinkedContractsFactory.PrimaryContractDeploymentStructOutput,
|
181
|
-
secondaryContractDeployment: ILSP23LinkedContractsFactory.SecondaryContractDeploymentStructOutput,
|
182
|
-
postDeploymentModule: string,
|
183
|
-
postDeploymentModuleCalldata: string
|
184
|
-
];
|
185
|
-
export interface OutputObject {
|
186
|
-
primaryContract: string;
|
187
|
-
secondaryContract: string;
|
188
|
-
primaryContractDeployment: ILSP23LinkedContractsFactory.PrimaryContractDeploymentStructOutput;
|
189
|
-
secondaryContractDeployment: ILSP23LinkedContractsFactory.SecondaryContractDeploymentStructOutput;
|
190
|
-
postDeploymentModule: string;
|
191
|
-
postDeploymentModuleCalldata: string;
|
192
|
-
}
|
193
|
-
export type Event = TypedContractEvent<InputTuple, OutputTuple, OutputObject>;
|
194
|
-
export type Filter = TypedDeferredTopicFilter<Event>;
|
195
|
-
export type Log = TypedEventLog<Event>;
|
196
|
-
export type LogDescription = TypedLogDescription<Event>;
|
197
|
-
}
|
198
|
-
|
199
|
-
export namespace DeployedERC1167ProxiesEvent {
|
200
|
-
export type InputTuple = [
|
201
|
-
primaryContract: AddressLike,
|
202
|
-
secondaryContract: AddressLike,
|
203
|
-
primaryContractDeploymentInit: ILSP23LinkedContractsFactory.PrimaryContractDeploymentInitStruct,
|
204
|
-
secondaryContractDeploymentInit: ILSP23LinkedContractsFactory.SecondaryContractDeploymentInitStruct,
|
205
|
-
postDeploymentModule: AddressLike,
|
206
|
-
postDeploymentModuleCalldata: BytesLike
|
207
|
-
];
|
208
|
-
export type OutputTuple = [
|
209
|
-
primaryContract: string,
|
210
|
-
secondaryContract: string,
|
211
|
-
primaryContractDeploymentInit: ILSP23LinkedContractsFactory.PrimaryContractDeploymentInitStructOutput,
|
212
|
-
secondaryContractDeploymentInit: ILSP23LinkedContractsFactory.SecondaryContractDeploymentInitStructOutput,
|
213
|
-
postDeploymentModule: string,
|
214
|
-
postDeploymentModuleCalldata: string
|
215
|
-
];
|
216
|
-
export interface OutputObject {
|
217
|
-
primaryContract: string;
|
218
|
-
secondaryContract: string;
|
219
|
-
primaryContractDeploymentInit: ILSP23LinkedContractsFactory.PrimaryContractDeploymentInitStructOutput;
|
220
|
-
secondaryContractDeploymentInit: ILSP23LinkedContractsFactory.SecondaryContractDeploymentInitStructOutput;
|
221
|
-
postDeploymentModule: string;
|
222
|
-
postDeploymentModuleCalldata: string;
|
223
|
-
}
|
224
|
-
export type Event = TypedContractEvent<InputTuple, OutputTuple, OutputObject>;
|
225
|
-
export type Filter = TypedDeferredTopicFilter<Event>;
|
226
|
-
export type Log = TypedEventLog<Event>;
|
227
|
-
export type LogDescription = TypedLogDescription<Event>;
|
228
|
-
}
|
229
|
-
|
230
|
-
export interface ILSP23LinkedContractsFactory extends BaseContract {
|
231
|
-
connect(runner?: ContractRunner | null): ILSP23LinkedContractsFactory;
|
232
|
-
waitForDeployment(): Promise<this>;
|
233
|
-
|
234
|
-
interface: ILSP23LinkedContractsFactoryInterface;
|
235
|
-
|
236
|
-
queryFilter<TCEvent extends TypedContractEvent>(
|
237
|
-
event: TCEvent,
|
238
|
-
fromBlockOrBlockhash?: string | number | undefined,
|
239
|
-
toBlock?: string | number | undefined
|
240
|
-
): Promise<Array<TypedEventLog<TCEvent>>>;
|
241
|
-
queryFilter<TCEvent extends TypedContractEvent>(
|
242
|
-
filter: TypedDeferredTopicFilter<TCEvent>,
|
243
|
-
fromBlockOrBlockhash?: string | number | undefined,
|
244
|
-
toBlock?: string | number | undefined
|
245
|
-
): Promise<Array<TypedEventLog<TCEvent>>>;
|
246
|
-
|
247
|
-
on<TCEvent extends TypedContractEvent>(
|
248
|
-
event: TCEvent,
|
249
|
-
listener: TypedListener<TCEvent>
|
250
|
-
): Promise<this>;
|
251
|
-
on<TCEvent extends TypedContractEvent>(
|
252
|
-
filter: TypedDeferredTopicFilter<TCEvent>,
|
253
|
-
listener: TypedListener<TCEvent>
|
254
|
-
): Promise<this>;
|
255
|
-
|
256
|
-
once<TCEvent extends TypedContractEvent>(
|
257
|
-
event: TCEvent,
|
258
|
-
listener: TypedListener<TCEvent>
|
259
|
-
): Promise<this>;
|
260
|
-
once<TCEvent extends TypedContractEvent>(
|
261
|
-
filter: TypedDeferredTopicFilter<TCEvent>,
|
262
|
-
listener: TypedListener<TCEvent>
|
263
|
-
): Promise<this>;
|
264
|
-
|
265
|
-
listeners<TCEvent extends TypedContractEvent>(
|
266
|
-
event: TCEvent
|
267
|
-
): Promise<Array<TypedListener<TCEvent>>>;
|
268
|
-
listeners(eventName?: string): Promise<Array<Listener>>;
|
269
|
-
removeAllListeners<TCEvent extends TypedContractEvent>(
|
270
|
-
event?: TCEvent
|
271
|
-
): Promise<this>;
|
272
|
-
|
273
|
-
computeAddresses: TypedContractMethod<
|
274
|
-
[
|
275
|
-
primaryContractDeployment: ILSP23LinkedContractsFactory.PrimaryContractDeploymentStruct,
|
276
|
-
secondaryContractDeployment: ILSP23LinkedContractsFactory.SecondaryContractDeploymentStruct,
|
277
|
-
postDeploymentModule: AddressLike,
|
278
|
-
postDeploymentModuleCalldata: BytesLike
|
279
|
-
],
|
280
|
-
[
|
281
|
-
[string, string] & {
|
282
|
-
primaryContractAddress: string;
|
283
|
-
secondaryContractAddress: string;
|
284
|
-
}
|
285
|
-
],
|
286
|
-
"view"
|
287
|
-
>;
|
288
|
-
|
289
|
-
computeERC1167Addresses: TypedContractMethod<
|
290
|
-
[
|
291
|
-
primaryContractDeploymentInit: ILSP23LinkedContractsFactory.PrimaryContractDeploymentInitStruct,
|
292
|
-
secondaryContractDeploymentInit: ILSP23LinkedContractsFactory.SecondaryContractDeploymentInitStruct,
|
293
|
-
postDeploymentModule: AddressLike,
|
294
|
-
postDeploymentModuleCalldata: BytesLike
|
295
|
-
],
|
296
|
-
[
|
297
|
-
[string, string] & {
|
298
|
-
primaryContractAddress: string;
|
299
|
-
secondaryContractAddress: string;
|
300
|
-
}
|
301
|
-
],
|
302
|
-
"view"
|
303
|
-
>;
|
304
|
-
|
305
|
-
deployContracts: TypedContractMethod<
|
306
|
-
[
|
307
|
-
primaryContractDeployment: ILSP23LinkedContractsFactory.PrimaryContractDeploymentStruct,
|
308
|
-
secondaryContractDeployment: ILSP23LinkedContractsFactory.SecondaryContractDeploymentStruct,
|
309
|
-
postDeploymentModule: AddressLike,
|
310
|
-
postDeploymentModuleCalldata: BytesLike
|
311
|
-
],
|
312
|
-
[
|
313
|
-
[string, string] & {
|
314
|
-
primaryContractAddress: string;
|
315
|
-
secondaryContractAddress: string;
|
316
|
-
}
|
317
|
-
],
|
318
|
-
"payable"
|
319
|
-
>;
|
320
|
-
|
321
|
-
deployERC1167Proxies: TypedContractMethod<
|
322
|
-
[
|
323
|
-
primaryContractDeploymentInit: ILSP23LinkedContractsFactory.PrimaryContractDeploymentInitStruct,
|
324
|
-
secondaryContractDeploymentInit: ILSP23LinkedContractsFactory.SecondaryContractDeploymentInitStruct,
|
325
|
-
postDeploymentModule: AddressLike,
|
326
|
-
postDeploymentModuleCalldata: BytesLike
|
327
|
-
],
|
328
|
-
[
|
329
|
-
[string, string] & {
|
330
|
-
primaryContractAddress: string;
|
331
|
-
secondaryContractAddress: string;
|
332
|
-
}
|
333
|
-
],
|
334
|
-
"payable"
|
335
|
-
>;
|
336
|
-
|
337
|
-
getFunction<T extends ContractMethod = ContractMethod>(
|
338
|
-
key: string | FunctionFragment
|
339
|
-
): T;
|
340
|
-
|
341
|
-
getFunction(
|
342
|
-
nameOrSignature: "computeAddresses"
|
343
|
-
): TypedContractMethod<
|
344
|
-
[
|
345
|
-
primaryContractDeployment: ILSP23LinkedContractsFactory.PrimaryContractDeploymentStruct,
|
346
|
-
secondaryContractDeployment: ILSP23LinkedContractsFactory.SecondaryContractDeploymentStruct,
|
347
|
-
postDeploymentModule: AddressLike,
|
348
|
-
postDeploymentModuleCalldata: BytesLike
|
349
|
-
],
|
350
|
-
[
|
351
|
-
[string, string] & {
|
352
|
-
primaryContractAddress: string;
|
353
|
-
secondaryContractAddress: string;
|
354
|
-
}
|
355
|
-
],
|
356
|
-
"view"
|
357
|
-
>;
|
358
|
-
getFunction(
|
359
|
-
nameOrSignature: "computeERC1167Addresses"
|
360
|
-
): TypedContractMethod<
|
361
|
-
[
|
362
|
-
primaryContractDeploymentInit: ILSP23LinkedContractsFactory.PrimaryContractDeploymentInitStruct,
|
363
|
-
secondaryContractDeploymentInit: ILSP23LinkedContractsFactory.SecondaryContractDeploymentInitStruct,
|
364
|
-
postDeploymentModule: AddressLike,
|
365
|
-
postDeploymentModuleCalldata: BytesLike
|
366
|
-
],
|
367
|
-
[
|
368
|
-
[string, string] & {
|
369
|
-
primaryContractAddress: string;
|
370
|
-
secondaryContractAddress: string;
|
371
|
-
}
|
372
|
-
],
|
373
|
-
"view"
|
374
|
-
>;
|
375
|
-
getFunction(
|
376
|
-
nameOrSignature: "deployContracts"
|
377
|
-
): TypedContractMethod<
|
378
|
-
[
|
379
|
-
primaryContractDeployment: ILSP23LinkedContractsFactory.PrimaryContractDeploymentStruct,
|
380
|
-
secondaryContractDeployment: ILSP23LinkedContractsFactory.SecondaryContractDeploymentStruct,
|
381
|
-
postDeploymentModule: AddressLike,
|
382
|
-
postDeploymentModuleCalldata: BytesLike
|
383
|
-
],
|
384
|
-
[
|
385
|
-
[string, string] & {
|
386
|
-
primaryContractAddress: string;
|
387
|
-
secondaryContractAddress: string;
|
388
|
-
}
|
389
|
-
],
|
390
|
-
"payable"
|
391
|
-
>;
|
392
|
-
getFunction(
|
393
|
-
nameOrSignature: "deployERC1167Proxies"
|
394
|
-
): TypedContractMethod<
|
395
|
-
[
|
396
|
-
primaryContractDeploymentInit: ILSP23LinkedContractsFactory.PrimaryContractDeploymentInitStruct,
|
397
|
-
secondaryContractDeploymentInit: ILSP23LinkedContractsFactory.SecondaryContractDeploymentInitStruct,
|
398
|
-
postDeploymentModule: AddressLike,
|
399
|
-
postDeploymentModuleCalldata: BytesLike
|
400
|
-
],
|
401
|
-
[
|
402
|
-
[string, string] & {
|
403
|
-
primaryContractAddress: string;
|
404
|
-
secondaryContractAddress: string;
|
405
|
-
}
|
406
|
-
],
|
407
|
-
"payable"
|
408
|
-
>;
|
409
|
-
|
410
|
-
getEvent(
|
411
|
-
key: "DeployedContracts"
|
412
|
-
): TypedContractEvent<
|
413
|
-
DeployedContractsEvent.InputTuple,
|
414
|
-
DeployedContractsEvent.OutputTuple,
|
415
|
-
DeployedContractsEvent.OutputObject
|
416
|
-
>;
|
417
|
-
getEvent(
|
418
|
-
key: "DeployedERC1167Proxies"
|
419
|
-
): TypedContractEvent<
|
420
|
-
DeployedERC1167ProxiesEvent.InputTuple,
|
421
|
-
DeployedERC1167ProxiesEvent.OutputTuple,
|
422
|
-
DeployedERC1167ProxiesEvent.OutputObject
|
423
|
-
>;
|
424
|
-
|
425
|
-
filters: {
|
426
|
-
"DeployedContracts(address,address,tuple,tuple,address,bytes)": TypedContractEvent<
|
427
|
-
DeployedContractsEvent.InputTuple,
|
428
|
-
DeployedContractsEvent.OutputTuple,
|
429
|
-
DeployedContractsEvent.OutputObject
|
430
|
-
>;
|
431
|
-
DeployedContracts: TypedContractEvent<
|
432
|
-
DeployedContractsEvent.InputTuple,
|
433
|
-
DeployedContractsEvent.OutputTuple,
|
434
|
-
DeployedContractsEvent.OutputObject
|
435
|
-
>;
|
436
|
-
|
437
|
-
"DeployedERC1167Proxies(address,address,tuple,tuple,address,bytes)": TypedContractEvent<
|
438
|
-
DeployedERC1167ProxiesEvent.InputTuple,
|
439
|
-
DeployedERC1167ProxiesEvent.OutputTuple,
|
440
|
-
DeployedERC1167ProxiesEvent.OutputObject
|
441
|
-
>;
|
442
|
-
DeployedERC1167Proxies: TypedContractEvent<
|
443
|
-
DeployedERC1167ProxiesEvent.InputTuple,
|
444
|
-
DeployedERC1167ProxiesEvent.OutputTuple,
|
445
|
-
DeployedERC1167ProxiesEvent.OutputObject
|
446
|
-
>;
|
447
|
-
};
|
448
|
-
}
|
@@ -1,107 +0,0 @@
|
|
1
|
-
/* Autogenerated file. Do not edit manually. */
|
2
|
-
/* tslint:disable */
|
3
|
-
/* eslint-disable */
|
4
|
-
import type {
|
5
|
-
BaseContract,
|
6
|
-
BytesLike,
|
7
|
-
FunctionFragment,
|
8
|
-
Result,
|
9
|
-
Interface,
|
10
|
-
AddressLike,
|
11
|
-
ContractRunner,
|
12
|
-
ContractMethod,
|
13
|
-
Listener,
|
14
|
-
} from "ethers";
|
15
|
-
import type {
|
16
|
-
TypedContractEvent,
|
17
|
-
TypedDeferredTopicFilter,
|
18
|
-
TypedEventLog,
|
19
|
-
TypedListener,
|
20
|
-
TypedContractMethod,
|
21
|
-
} from "../common";
|
22
|
-
|
23
|
-
export interface IPostDeploymentModuleInterface extends Interface {
|
24
|
-
getFunction(nameOrSignature: "executePostDeployment"): FunctionFragment;
|
25
|
-
|
26
|
-
encodeFunctionData(
|
27
|
-
functionFragment: "executePostDeployment",
|
28
|
-
values: [AddressLike, AddressLike, BytesLike]
|
29
|
-
): string;
|
30
|
-
|
31
|
-
decodeFunctionResult(
|
32
|
-
functionFragment: "executePostDeployment",
|
33
|
-
data: BytesLike
|
34
|
-
): Result;
|
35
|
-
}
|
36
|
-
|
37
|
-
export interface IPostDeploymentModule extends BaseContract {
|
38
|
-
connect(runner?: ContractRunner | null): IPostDeploymentModule;
|
39
|
-
waitForDeployment(): Promise<this>;
|
40
|
-
|
41
|
-
interface: IPostDeploymentModuleInterface;
|
42
|
-
|
43
|
-
queryFilter<TCEvent extends TypedContractEvent>(
|
44
|
-
event: TCEvent,
|
45
|
-
fromBlockOrBlockhash?: string | number | undefined,
|
46
|
-
toBlock?: string | number | undefined
|
47
|
-
): Promise<Array<TypedEventLog<TCEvent>>>;
|
48
|
-
queryFilter<TCEvent extends TypedContractEvent>(
|
49
|
-
filter: TypedDeferredTopicFilter<TCEvent>,
|
50
|
-
fromBlockOrBlockhash?: string | number | undefined,
|
51
|
-
toBlock?: string | number | undefined
|
52
|
-
): Promise<Array<TypedEventLog<TCEvent>>>;
|
53
|
-
|
54
|
-
on<TCEvent extends TypedContractEvent>(
|
55
|
-
event: TCEvent,
|
56
|
-
listener: TypedListener<TCEvent>
|
57
|
-
): Promise<this>;
|
58
|
-
on<TCEvent extends TypedContractEvent>(
|
59
|
-
filter: TypedDeferredTopicFilter<TCEvent>,
|
60
|
-
listener: TypedListener<TCEvent>
|
61
|
-
): Promise<this>;
|
62
|
-
|
63
|
-
once<TCEvent extends TypedContractEvent>(
|
64
|
-
event: TCEvent,
|
65
|
-
listener: TypedListener<TCEvent>
|
66
|
-
): Promise<this>;
|
67
|
-
once<TCEvent extends TypedContractEvent>(
|
68
|
-
filter: TypedDeferredTopicFilter<TCEvent>,
|
69
|
-
listener: TypedListener<TCEvent>
|
70
|
-
): Promise<this>;
|
71
|
-
|
72
|
-
listeners<TCEvent extends TypedContractEvent>(
|
73
|
-
event: TCEvent
|
74
|
-
): Promise<Array<TypedListener<TCEvent>>>;
|
75
|
-
listeners(eventName?: string): Promise<Array<Listener>>;
|
76
|
-
removeAllListeners<TCEvent extends TypedContractEvent>(
|
77
|
-
event?: TCEvent
|
78
|
-
): Promise<this>;
|
79
|
-
|
80
|
-
executePostDeployment: TypedContractMethod<
|
81
|
-
[
|
82
|
-
primaryContract: AddressLike,
|
83
|
-
secondaryContract: AddressLike,
|
84
|
-
calldataToPostDeploymentModule: BytesLike
|
85
|
-
],
|
86
|
-
[void],
|
87
|
-
"nonpayable"
|
88
|
-
>;
|
89
|
-
|
90
|
-
getFunction<T extends ContractMethod = ContractMethod>(
|
91
|
-
key: string | FunctionFragment
|
92
|
-
): T;
|
93
|
-
|
94
|
-
getFunction(
|
95
|
-
nameOrSignature: "executePostDeployment"
|
96
|
-
): TypedContractMethod<
|
97
|
-
[
|
98
|
-
primaryContract: AddressLike,
|
99
|
-
secondaryContract: AddressLike,
|
100
|
-
calldataToPostDeploymentModule: BytesLike
|
101
|
-
],
|
102
|
-
[void],
|
103
|
-
"nonpayable"
|
104
|
-
>;
|
105
|
-
|
106
|
-
filters: {};
|
107
|
-
}
|