@lukso/lsp23-contracts 0.15.0-rc.0 → 0.15.0-rc.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/package.json +3 -3
- package/types/index.ts +602 -8
- package/types/IPostDeploymentModule.ts +0 -107
- package/types/LSP23LinkedContractsFactory.ts +0 -448
package/package.json
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "@lukso/lsp23-contracts",
|
3
|
-
"version": "0.15.0-rc.
|
3
|
+
"version": "0.15.0-rc.1",
|
4
4
|
"description": "Package for the LSP23 Linked Contracts Factory standard",
|
5
5
|
"license": "Apache-2.0",
|
6
6
|
"author": "",
|
@@ -38,7 +38,7 @@
|
|
38
38
|
"scripts": {
|
39
39
|
"package": "hardhat prepare-package",
|
40
40
|
"build": "hardhat compile --show-stack-traces",
|
41
|
-
"build:types": "npx
|
41
|
+
"build:types": "npx wagmi generate",
|
42
42
|
"clean": "hardhat clean && rm -Rf dist/",
|
43
43
|
"format": "prettier --write .",
|
44
44
|
"lint": "eslint . --ext .ts,.js",
|
@@ -47,6 +47,6 @@
|
|
47
47
|
"dependencies": {
|
48
48
|
"@erc725/smart-contracts": "^7.0.0",
|
49
49
|
"@openzeppelin/contracts": "^4.9.3",
|
50
|
-
"@lukso/universalprofile-contracts": "
|
50
|
+
"@lukso/universalprofile-contracts": "~0.15.0-rc.1"
|
51
51
|
}
|
52
52
|
}
|
package/types/index.ts
CHANGED
@@ -1,8 +1,602 @@
|
|
1
|
-
|
2
|
-
|
3
|
-
|
4
|
-
|
5
|
-
|
6
|
-
|
7
|
-
|
8
|
-
|
1
|
+
import {
|
2
|
+
createUseWriteContract,
|
3
|
+
createUseSimulateContract,
|
4
|
+
createUseReadContract,
|
5
|
+
createUseWatchContractEvent,
|
6
|
+
} from 'wagmi/codegen'
|
7
|
+
|
8
|
+
//////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
|
9
|
+
// IPostDeploymentModule
|
10
|
+
//////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
|
11
|
+
|
12
|
+
export const iPostDeploymentModuleAbi = [
|
13
|
+
{
|
14
|
+
type: 'function',
|
15
|
+
inputs: [
|
16
|
+
{ name: 'primaryContract', internalType: 'address', type: 'address' },
|
17
|
+
{ name: 'secondaryContract', internalType: 'address', type: 'address' },
|
18
|
+
{
|
19
|
+
name: 'calldataToPostDeploymentModule',
|
20
|
+
internalType: 'bytes',
|
21
|
+
type: 'bytes',
|
22
|
+
},
|
23
|
+
],
|
24
|
+
name: 'executePostDeployment',
|
25
|
+
outputs: [],
|
26
|
+
stateMutability: 'nonpayable',
|
27
|
+
},
|
28
|
+
] as const
|
29
|
+
|
30
|
+
//////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
|
31
|
+
// LSP23LinkedContractsFactory
|
32
|
+
//////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
|
33
|
+
|
34
|
+
export const lsp23LinkedContractsFactoryAbi = [
|
35
|
+
{ type: 'error', inputs: [], name: 'InvalidValueSum' },
|
36
|
+
{
|
37
|
+
type: 'error',
|
38
|
+
inputs: [{ name: 'errorData', internalType: 'bytes', type: 'bytes' }],
|
39
|
+
name: 'PrimaryContractProxyInitFailureError',
|
40
|
+
},
|
41
|
+
{
|
42
|
+
type: 'error',
|
43
|
+
inputs: [{ name: 'errorData', internalType: 'bytes', type: 'bytes' }],
|
44
|
+
name: 'SecondaryContractProxyInitFailureError',
|
45
|
+
},
|
46
|
+
{
|
47
|
+
type: 'event',
|
48
|
+
anonymous: false,
|
49
|
+
inputs: [
|
50
|
+
{
|
51
|
+
name: 'primaryContract',
|
52
|
+
internalType: 'address',
|
53
|
+
type: 'address',
|
54
|
+
indexed: true,
|
55
|
+
},
|
56
|
+
{
|
57
|
+
name: 'secondaryContract',
|
58
|
+
internalType: 'address',
|
59
|
+
type: 'address',
|
60
|
+
indexed: true,
|
61
|
+
},
|
62
|
+
{
|
63
|
+
name: 'primaryContractDeployment',
|
64
|
+
internalType:
|
65
|
+
'struct ILSP23LinkedContractsFactory.PrimaryContractDeployment',
|
66
|
+
type: 'tuple',
|
67
|
+
components: [
|
68
|
+
{ name: 'salt', internalType: 'bytes32', type: 'bytes32' },
|
69
|
+
{ name: 'fundingAmount', internalType: 'uint256', type: 'uint256' },
|
70
|
+
{ name: 'creationBytecode', internalType: 'bytes', type: 'bytes' },
|
71
|
+
],
|
72
|
+
indexed: false,
|
73
|
+
},
|
74
|
+
{
|
75
|
+
name: 'secondaryContractDeployment',
|
76
|
+
internalType:
|
77
|
+
'struct ILSP23LinkedContractsFactory.SecondaryContractDeployment',
|
78
|
+
type: 'tuple',
|
79
|
+
components: [
|
80
|
+
{ name: 'fundingAmount', internalType: 'uint256', type: 'uint256' },
|
81
|
+
{ name: 'creationBytecode', internalType: 'bytes', type: 'bytes' },
|
82
|
+
{
|
83
|
+
name: 'addPrimaryContractAddress',
|
84
|
+
internalType: 'bool',
|
85
|
+
type: 'bool',
|
86
|
+
},
|
87
|
+
{
|
88
|
+
name: 'extraConstructorParams',
|
89
|
+
internalType: 'bytes',
|
90
|
+
type: 'bytes',
|
91
|
+
},
|
92
|
+
],
|
93
|
+
indexed: false,
|
94
|
+
},
|
95
|
+
{
|
96
|
+
name: 'postDeploymentModule',
|
97
|
+
internalType: 'address',
|
98
|
+
type: 'address',
|
99
|
+
indexed: false,
|
100
|
+
},
|
101
|
+
{
|
102
|
+
name: 'postDeploymentModuleCalldata',
|
103
|
+
internalType: 'bytes',
|
104
|
+
type: 'bytes',
|
105
|
+
indexed: false,
|
106
|
+
},
|
107
|
+
],
|
108
|
+
name: 'DeployedContracts',
|
109
|
+
},
|
110
|
+
{
|
111
|
+
type: 'event',
|
112
|
+
anonymous: false,
|
113
|
+
inputs: [
|
114
|
+
{
|
115
|
+
name: 'primaryContract',
|
116
|
+
internalType: 'address',
|
117
|
+
type: 'address',
|
118
|
+
indexed: true,
|
119
|
+
},
|
120
|
+
{
|
121
|
+
name: 'secondaryContract',
|
122
|
+
internalType: 'address',
|
123
|
+
type: 'address',
|
124
|
+
indexed: true,
|
125
|
+
},
|
126
|
+
{
|
127
|
+
name: 'primaryContractDeploymentInit',
|
128
|
+
internalType:
|
129
|
+
'struct ILSP23LinkedContractsFactory.PrimaryContractDeploymentInit',
|
130
|
+
type: 'tuple',
|
131
|
+
components: [
|
132
|
+
{ name: 'salt', internalType: 'bytes32', type: 'bytes32' },
|
133
|
+
{ name: 'fundingAmount', internalType: 'uint256', type: 'uint256' },
|
134
|
+
{
|
135
|
+
name: 'implementationContract',
|
136
|
+
internalType: 'address',
|
137
|
+
type: 'address',
|
138
|
+
},
|
139
|
+
{
|
140
|
+
name: 'initializationCalldata',
|
141
|
+
internalType: 'bytes',
|
142
|
+
type: 'bytes',
|
143
|
+
},
|
144
|
+
],
|
145
|
+
indexed: false,
|
146
|
+
},
|
147
|
+
{
|
148
|
+
name: 'secondaryContractDeploymentInit',
|
149
|
+
internalType:
|
150
|
+
'struct ILSP23LinkedContractsFactory.SecondaryContractDeploymentInit',
|
151
|
+
type: 'tuple',
|
152
|
+
components: [
|
153
|
+
{ name: 'fundingAmount', internalType: 'uint256', type: 'uint256' },
|
154
|
+
{
|
155
|
+
name: 'implementationContract',
|
156
|
+
internalType: 'address',
|
157
|
+
type: 'address',
|
158
|
+
},
|
159
|
+
{
|
160
|
+
name: 'initializationCalldata',
|
161
|
+
internalType: 'bytes',
|
162
|
+
type: 'bytes',
|
163
|
+
},
|
164
|
+
{
|
165
|
+
name: 'addPrimaryContractAddress',
|
166
|
+
internalType: 'bool',
|
167
|
+
type: 'bool',
|
168
|
+
},
|
169
|
+
{
|
170
|
+
name: 'extraInitializationParams',
|
171
|
+
internalType: 'bytes',
|
172
|
+
type: 'bytes',
|
173
|
+
},
|
174
|
+
],
|
175
|
+
indexed: false,
|
176
|
+
},
|
177
|
+
{
|
178
|
+
name: 'postDeploymentModule',
|
179
|
+
internalType: 'address',
|
180
|
+
type: 'address',
|
181
|
+
indexed: false,
|
182
|
+
},
|
183
|
+
{
|
184
|
+
name: 'postDeploymentModuleCalldata',
|
185
|
+
internalType: 'bytes',
|
186
|
+
type: 'bytes',
|
187
|
+
indexed: false,
|
188
|
+
},
|
189
|
+
],
|
190
|
+
name: 'DeployedERC1167Proxies',
|
191
|
+
},
|
192
|
+
{
|
193
|
+
type: 'function',
|
194
|
+
inputs: [
|
195
|
+
{
|
196
|
+
name: 'primaryContractDeployment',
|
197
|
+
internalType:
|
198
|
+
'struct ILSP23LinkedContractsFactory.PrimaryContractDeployment',
|
199
|
+
type: 'tuple',
|
200
|
+
components: [
|
201
|
+
{ name: 'salt', internalType: 'bytes32', type: 'bytes32' },
|
202
|
+
{ name: 'fundingAmount', internalType: 'uint256', type: 'uint256' },
|
203
|
+
{ name: 'creationBytecode', internalType: 'bytes', type: 'bytes' },
|
204
|
+
],
|
205
|
+
},
|
206
|
+
{
|
207
|
+
name: 'secondaryContractDeployment',
|
208
|
+
internalType:
|
209
|
+
'struct ILSP23LinkedContractsFactory.SecondaryContractDeployment',
|
210
|
+
type: 'tuple',
|
211
|
+
components: [
|
212
|
+
{ name: 'fundingAmount', internalType: 'uint256', type: 'uint256' },
|
213
|
+
{ name: 'creationBytecode', internalType: 'bytes', type: 'bytes' },
|
214
|
+
{
|
215
|
+
name: 'addPrimaryContractAddress',
|
216
|
+
internalType: 'bool',
|
217
|
+
type: 'bool',
|
218
|
+
},
|
219
|
+
{
|
220
|
+
name: 'extraConstructorParams',
|
221
|
+
internalType: 'bytes',
|
222
|
+
type: 'bytes',
|
223
|
+
},
|
224
|
+
],
|
225
|
+
},
|
226
|
+
{
|
227
|
+
name: 'postDeploymentModule',
|
228
|
+
internalType: 'address',
|
229
|
+
type: 'address',
|
230
|
+
},
|
231
|
+
{
|
232
|
+
name: 'postDeploymentModuleCalldata',
|
233
|
+
internalType: 'bytes',
|
234
|
+
type: 'bytes',
|
235
|
+
},
|
236
|
+
],
|
237
|
+
name: 'computeAddresses',
|
238
|
+
outputs: [
|
239
|
+
{
|
240
|
+
name: 'primaryContractAddress',
|
241
|
+
internalType: 'address',
|
242
|
+
type: 'address',
|
243
|
+
},
|
244
|
+
{
|
245
|
+
name: 'secondaryContractAddress',
|
246
|
+
internalType: 'address',
|
247
|
+
type: 'address',
|
248
|
+
},
|
249
|
+
],
|
250
|
+
stateMutability: 'view',
|
251
|
+
},
|
252
|
+
{
|
253
|
+
type: 'function',
|
254
|
+
inputs: [
|
255
|
+
{
|
256
|
+
name: 'primaryContractDeploymentInit',
|
257
|
+
internalType:
|
258
|
+
'struct ILSP23LinkedContractsFactory.PrimaryContractDeploymentInit',
|
259
|
+
type: 'tuple',
|
260
|
+
components: [
|
261
|
+
{ name: 'salt', internalType: 'bytes32', type: 'bytes32' },
|
262
|
+
{ name: 'fundingAmount', internalType: 'uint256', type: 'uint256' },
|
263
|
+
{
|
264
|
+
name: 'implementationContract',
|
265
|
+
internalType: 'address',
|
266
|
+
type: 'address',
|
267
|
+
},
|
268
|
+
{
|
269
|
+
name: 'initializationCalldata',
|
270
|
+
internalType: 'bytes',
|
271
|
+
type: 'bytes',
|
272
|
+
},
|
273
|
+
],
|
274
|
+
},
|
275
|
+
{
|
276
|
+
name: 'secondaryContractDeploymentInit',
|
277
|
+
internalType:
|
278
|
+
'struct ILSP23LinkedContractsFactory.SecondaryContractDeploymentInit',
|
279
|
+
type: 'tuple',
|
280
|
+
components: [
|
281
|
+
{ name: 'fundingAmount', internalType: 'uint256', type: 'uint256' },
|
282
|
+
{
|
283
|
+
name: 'implementationContract',
|
284
|
+
internalType: 'address',
|
285
|
+
type: 'address',
|
286
|
+
},
|
287
|
+
{
|
288
|
+
name: 'initializationCalldata',
|
289
|
+
internalType: 'bytes',
|
290
|
+
type: 'bytes',
|
291
|
+
},
|
292
|
+
{
|
293
|
+
name: 'addPrimaryContractAddress',
|
294
|
+
internalType: 'bool',
|
295
|
+
type: 'bool',
|
296
|
+
},
|
297
|
+
{
|
298
|
+
name: 'extraInitializationParams',
|
299
|
+
internalType: 'bytes',
|
300
|
+
type: 'bytes',
|
301
|
+
},
|
302
|
+
],
|
303
|
+
},
|
304
|
+
{
|
305
|
+
name: 'postDeploymentModule',
|
306
|
+
internalType: 'address',
|
307
|
+
type: 'address',
|
308
|
+
},
|
309
|
+
{
|
310
|
+
name: 'postDeploymentModuleCalldata',
|
311
|
+
internalType: 'bytes',
|
312
|
+
type: 'bytes',
|
313
|
+
},
|
314
|
+
],
|
315
|
+
name: 'computeERC1167Addresses',
|
316
|
+
outputs: [
|
317
|
+
{
|
318
|
+
name: 'primaryContractAddress',
|
319
|
+
internalType: 'address',
|
320
|
+
type: 'address',
|
321
|
+
},
|
322
|
+
{
|
323
|
+
name: 'secondaryContractAddress',
|
324
|
+
internalType: 'address',
|
325
|
+
type: 'address',
|
326
|
+
},
|
327
|
+
],
|
328
|
+
stateMutability: 'view',
|
329
|
+
},
|
330
|
+
{
|
331
|
+
type: 'function',
|
332
|
+
inputs: [
|
333
|
+
{
|
334
|
+
name: 'primaryContractDeployment',
|
335
|
+
internalType:
|
336
|
+
'struct ILSP23LinkedContractsFactory.PrimaryContractDeployment',
|
337
|
+
type: 'tuple',
|
338
|
+
components: [
|
339
|
+
{ name: 'salt', internalType: 'bytes32', type: 'bytes32' },
|
340
|
+
{ name: 'fundingAmount', internalType: 'uint256', type: 'uint256' },
|
341
|
+
{ name: 'creationBytecode', internalType: 'bytes', type: 'bytes' },
|
342
|
+
],
|
343
|
+
},
|
344
|
+
{
|
345
|
+
name: 'secondaryContractDeployment',
|
346
|
+
internalType:
|
347
|
+
'struct ILSP23LinkedContractsFactory.SecondaryContractDeployment',
|
348
|
+
type: 'tuple',
|
349
|
+
components: [
|
350
|
+
{ name: 'fundingAmount', internalType: 'uint256', type: 'uint256' },
|
351
|
+
{ name: 'creationBytecode', internalType: 'bytes', type: 'bytes' },
|
352
|
+
{
|
353
|
+
name: 'addPrimaryContractAddress',
|
354
|
+
internalType: 'bool',
|
355
|
+
type: 'bool',
|
356
|
+
},
|
357
|
+
{
|
358
|
+
name: 'extraConstructorParams',
|
359
|
+
internalType: 'bytes',
|
360
|
+
type: 'bytes',
|
361
|
+
},
|
362
|
+
],
|
363
|
+
},
|
364
|
+
{
|
365
|
+
name: 'postDeploymentModule',
|
366
|
+
internalType: 'address',
|
367
|
+
type: 'address',
|
368
|
+
},
|
369
|
+
{
|
370
|
+
name: 'postDeploymentModuleCalldata',
|
371
|
+
internalType: 'bytes',
|
372
|
+
type: 'bytes',
|
373
|
+
},
|
374
|
+
],
|
375
|
+
name: 'deployContracts',
|
376
|
+
outputs: [
|
377
|
+
{
|
378
|
+
name: 'primaryContractAddress',
|
379
|
+
internalType: 'address',
|
380
|
+
type: 'address',
|
381
|
+
},
|
382
|
+
{
|
383
|
+
name: 'secondaryContractAddress',
|
384
|
+
internalType: 'address',
|
385
|
+
type: 'address',
|
386
|
+
},
|
387
|
+
],
|
388
|
+
stateMutability: 'payable',
|
389
|
+
},
|
390
|
+
{
|
391
|
+
type: 'function',
|
392
|
+
inputs: [
|
393
|
+
{
|
394
|
+
name: 'primaryContractDeploymentInit',
|
395
|
+
internalType:
|
396
|
+
'struct ILSP23LinkedContractsFactory.PrimaryContractDeploymentInit',
|
397
|
+
type: 'tuple',
|
398
|
+
components: [
|
399
|
+
{ name: 'salt', internalType: 'bytes32', type: 'bytes32' },
|
400
|
+
{ name: 'fundingAmount', internalType: 'uint256', type: 'uint256' },
|
401
|
+
{
|
402
|
+
name: 'implementationContract',
|
403
|
+
internalType: 'address',
|
404
|
+
type: 'address',
|
405
|
+
},
|
406
|
+
{
|
407
|
+
name: 'initializationCalldata',
|
408
|
+
internalType: 'bytes',
|
409
|
+
type: 'bytes',
|
410
|
+
},
|
411
|
+
],
|
412
|
+
},
|
413
|
+
{
|
414
|
+
name: 'secondaryContractDeploymentInit',
|
415
|
+
internalType:
|
416
|
+
'struct ILSP23LinkedContractsFactory.SecondaryContractDeploymentInit',
|
417
|
+
type: 'tuple',
|
418
|
+
components: [
|
419
|
+
{ name: 'fundingAmount', internalType: 'uint256', type: 'uint256' },
|
420
|
+
{
|
421
|
+
name: 'implementationContract',
|
422
|
+
internalType: 'address',
|
423
|
+
type: 'address',
|
424
|
+
},
|
425
|
+
{
|
426
|
+
name: 'initializationCalldata',
|
427
|
+
internalType: 'bytes',
|
428
|
+
type: 'bytes',
|
429
|
+
},
|
430
|
+
{
|
431
|
+
name: 'addPrimaryContractAddress',
|
432
|
+
internalType: 'bool',
|
433
|
+
type: 'bool',
|
434
|
+
},
|
435
|
+
{
|
436
|
+
name: 'extraInitializationParams',
|
437
|
+
internalType: 'bytes',
|
438
|
+
type: 'bytes',
|
439
|
+
},
|
440
|
+
],
|
441
|
+
},
|
442
|
+
{
|
443
|
+
name: 'postDeploymentModule',
|
444
|
+
internalType: 'address',
|
445
|
+
type: 'address',
|
446
|
+
},
|
447
|
+
{
|
448
|
+
name: 'postDeploymentModuleCalldata',
|
449
|
+
internalType: 'bytes',
|
450
|
+
type: 'bytes',
|
451
|
+
},
|
452
|
+
],
|
453
|
+
name: 'deployERC1167Proxies',
|
454
|
+
outputs: [
|
455
|
+
{
|
456
|
+
name: 'primaryContractAddress',
|
457
|
+
internalType: 'address',
|
458
|
+
type: 'address',
|
459
|
+
},
|
460
|
+
{
|
461
|
+
name: 'secondaryContractAddress',
|
462
|
+
internalType: 'address',
|
463
|
+
type: 'address',
|
464
|
+
},
|
465
|
+
],
|
466
|
+
stateMutability: 'payable',
|
467
|
+
},
|
468
|
+
] as const
|
469
|
+
|
470
|
+
//////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
|
471
|
+
// React
|
472
|
+
//////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
|
473
|
+
|
474
|
+
/**
|
475
|
+
* Wraps __{@link useWriteContract}__ with `abi` set to __{@link iPostDeploymentModuleAbi}__
|
476
|
+
*/
|
477
|
+
export const useWriteIPostDeploymentModule =
|
478
|
+
/*#__PURE__*/ createUseWriteContract({ abi: iPostDeploymentModuleAbi })
|
479
|
+
|
480
|
+
/**
|
481
|
+
* Wraps __{@link useWriteContract}__ with `abi` set to __{@link iPostDeploymentModuleAbi}__ and `functionName` set to `"executePostDeployment"`
|
482
|
+
*/
|
483
|
+
export const useWriteIPostDeploymentModuleExecutePostDeployment =
|
484
|
+
/*#__PURE__*/ createUseWriteContract({
|
485
|
+
abi: iPostDeploymentModuleAbi,
|
486
|
+
functionName: 'executePostDeployment',
|
487
|
+
})
|
488
|
+
|
489
|
+
/**
|
490
|
+
* Wraps __{@link useSimulateContract}__ with `abi` set to __{@link iPostDeploymentModuleAbi}__
|
491
|
+
*/
|
492
|
+
export const useSimulateIPostDeploymentModule =
|
493
|
+
/*#__PURE__*/ createUseSimulateContract({ abi: iPostDeploymentModuleAbi })
|
494
|
+
|
495
|
+
/**
|
496
|
+
* Wraps __{@link useSimulateContract}__ with `abi` set to __{@link iPostDeploymentModuleAbi}__ and `functionName` set to `"executePostDeployment"`
|
497
|
+
*/
|
498
|
+
export const useSimulateIPostDeploymentModuleExecutePostDeployment =
|
499
|
+
/*#__PURE__*/ createUseSimulateContract({
|
500
|
+
abi: iPostDeploymentModuleAbi,
|
501
|
+
functionName: 'executePostDeployment',
|
502
|
+
})
|
503
|
+
|
504
|
+
/**
|
505
|
+
* Wraps __{@link useReadContract}__ with `abi` set to __{@link lsp23LinkedContractsFactoryAbi}__
|
506
|
+
*/
|
507
|
+
export const useReadLsp23LinkedContractsFactory =
|
508
|
+
/*#__PURE__*/ createUseReadContract({ abi: lsp23LinkedContractsFactoryAbi })
|
509
|
+
|
510
|
+
/**
|
511
|
+
* Wraps __{@link useReadContract}__ with `abi` set to __{@link lsp23LinkedContractsFactoryAbi}__ and `functionName` set to `"computeAddresses"`
|
512
|
+
*/
|
513
|
+
export const useReadLsp23LinkedContractsFactoryComputeAddresses =
|
514
|
+
/*#__PURE__*/ createUseReadContract({
|
515
|
+
abi: lsp23LinkedContractsFactoryAbi,
|
516
|
+
functionName: 'computeAddresses',
|
517
|
+
})
|
518
|
+
|
519
|
+
/**
|
520
|
+
* Wraps __{@link useReadContract}__ with `abi` set to __{@link lsp23LinkedContractsFactoryAbi}__ and `functionName` set to `"computeERC1167Addresses"`
|
521
|
+
*/
|
522
|
+
export const useReadLsp23LinkedContractsFactoryComputeErc1167Addresses =
|
523
|
+
/*#__PURE__*/ createUseReadContract({
|
524
|
+
abi: lsp23LinkedContractsFactoryAbi,
|
525
|
+
functionName: 'computeERC1167Addresses',
|
526
|
+
})
|
527
|
+
|
528
|
+
/**
|
529
|
+
* Wraps __{@link useWriteContract}__ with `abi` set to __{@link lsp23LinkedContractsFactoryAbi}__
|
530
|
+
*/
|
531
|
+
export const useWriteLsp23LinkedContractsFactory =
|
532
|
+
/*#__PURE__*/ createUseWriteContract({ abi: lsp23LinkedContractsFactoryAbi })
|
533
|
+
|
534
|
+
/**
|
535
|
+
* Wraps __{@link useWriteContract}__ with `abi` set to __{@link lsp23LinkedContractsFactoryAbi}__ and `functionName` set to `"deployContracts"`
|
536
|
+
*/
|
537
|
+
export const useWriteLsp23LinkedContractsFactoryDeployContracts =
|
538
|
+
/*#__PURE__*/ createUseWriteContract({
|
539
|
+
abi: lsp23LinkedContractsFactoryAbi,
|
540
|
+
functionName: 'deployContracts',
|
541
|
+
})
|
542
|
+
|
543
|
+
/**
|
544
|
+
* Wraps __{@link useWriteContract}__ with `abi` set to __{@link lsp23LinkedContractsFactoryAbi}__ and `functionName` set to `"deployERC1167Proxies"`
|
545
|
+
*/
|
546
|
+
export const useWriteLsp23LinkedContractsFactoryDeployErc1167Proxies =
|
547
|
+
/*#__PURE__*/ createUseWriteContract({
|
548
|
+
abi: lsp23LinkedContractsFactoryAbi,
|
549
|
+
functionName: 'deployERC1167Proxies',
|
550
|
+
})
|
551
|
+
|
552
|
+
/**
|
553
|
+
* Wraps __{@link useSimulateContract}__ with `abi` set to __{@link lsp23LinkedContractsFactoryAbi}__
|
554
|
+
*/
|
555
|
+
export const useSimulateLsp23LinkedContractsFactory =
|
556
|
+
/*#__PURE__*/ createUseSimulateContract({
|
557
|
+
abi: lsp23LinkedContractsFactoryAbi,
|
558
|
+
})
|
559
|
+
|
560
|
+
/**
|
561
|
+
* Wraps __{@link useSimulateContract}__ with `abi` set to __{@link lsp23LinkedContractsFactoryAbi}__ and `functionName` set to `"deployContracts"`
|
562
|
+
*/
|
563
|
+
export const useSimulateLsp23LinkedContractsFactoryDeployContracts =
|
564
|
+
/*#__PURE__*/ createUseSimulateContract({
|
565
|
+
abi: lsp23LinkedContractsFactoryAbi,
|
566
|
+
functionName: 'deployContracts',
|
567
|
+
})
|
568
|
+
|
569
|
+
/**
|
570
|
+
* Wraps __{@link useSimulateContract}__ with `abi` set to __{@link lsp23LinkedContractsFactoryAbi}__ and `functionName` set to `"deployERC1167Proxies"`
|
571
|
+
*/
|
572
|
+
export const useSimulateLsp23LinkedContractsFactoryDeployErc1167Proxies =
|
573
|
+
/*#__PURE__*/ createUseSimulateContract({
|
574
|
+
abi: lsp23LinkedContractsFactoryAbi,
|
575
|
+
functionName: 'deployERC1167Proxies',
|
576
|
+
})
|
577
|
+
|
578
|
+
/**
|
579
|
+
* Wraps __{@link useWatchContractEvent}__ with `abi` set to __{@link lsp23LinkedContractsFactoryAbi}__
|
580
|
+
*/
|
581
|
+
export const useWatchLsp23LinkedContractsFactoryEvent =
|
582
|
+
/*#__PURE__*/ createUseWatchContractEvent({
|
583
|
+
abi: lsp23LinkedContractsFactoryAbi,
|
584
|
+
})
|
585
|
+
|
586
|
+
/**
|
587
|
+
* Wraps __{@link useWatchContractEvent}__ with `abi` set to __{@link lsp23LinkedContractsFactoryAbi}__ and `eventName` set to `"DeployedContracts"`
|
588
|
+
*/
|
589
|
+
export const useWatchLsp23LinkedContractsFactoryDeployedContractsEvent =
|
590
|
+
/*#__PURE__*/ createUseWatchContractEvent({
|
591
|
+
abi: lsp23LinkedContractsFactoryAbi,
|
592
|
+
eventName: 'DeployedContracts',
|
593
|
+
})
|
594
|
+
|
595
|
+
/**
|
596
|
+
* Wraps __{@link useWatchContractEvent}__ with `abi` set to __{@link lsp23LinkedContractsFactoryAbi}__ and `eventName` set to `"DeployedERC1167Proxies"`
|
597
|
+
*/
|
598
|
+
export const useWatchLsp23LinkedContractsFactoryDeployedErc1167ProxiesEvent =
|
599
|
+
/*#__PURE__*/ createUseWatchContractEvent({
|
600
|
+
abi: lsp23LinkedContractsFactoryAbi,
|
601
|
+
eventName: 'DeployedERC1167Proxies',
|
602
|
+
})
|
@@ -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
|
-
}
|
@@ -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 LSP23LinkedContractsFactoryInterface 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 LSP23LinkedContractsFactory extends BaseContract {
|
231
|
-
connect(runner?: ContractRunner | null): LSP23LinkedContractsFactory;
|
232
|
-
waitForDeployment(): Promise<this>;
|
233
|
-
|
234
|
-
interface: LSP23LinkedContractsFactoryInterface;
|
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
|
-
}
|