@lukso/lsp23-contracts 0.15.0-rc.5 → 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 +33 -25
- 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/contracts/modules/README.md +0 -23
- 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
@@ -8,17 +8,17 @@ pragma solidity ^0.8.4;
|
|
8
8
|
error InvalidValueSum();
|
9
9
|
|
10
10
|
/**
|
11
|
-
* @dev Reverts when the deployment &
|
11
|
+
* @dev Reverts when the deployment & initialization of the contract has failed.
|
12
12
|
* @notice Failed to deploy & initialize the Primary Contract Proxy. Error: `errorData`.
|
13
13
|
*
|
14
|
-
* @param errorData Potentially information about why the deployment &
|
14
|
+
* @param errorData Potentially information about why the deployment & initialization have failed.
|
15
15
|
*/
|
16
16
|
error PrimaryContractProxyInitFailureError(bytes errorData);
|
17
17
|
|
18
18
|
/**
|
19
|
-
* @dev Reverts when the deployment &
|
19
|
+
* @dev Reverts when the deployment & initialization of the secondary contract has failed.
|
20
20
|
* @notice Failed to deploy & initialize the Secondary Contract Proxy. Error: `errorData`.
|
21
21
|
*
|
22
|
-
* @param errorData Potentially information about why the deployment &
|
22
|
+
* @param errorData Potentially information about why the deployment & initialization have failed.
|
23
23
|
*/
|
24
24
|
error SecondaryContractProxyInitFailureError(bytes errorData);
|
@@ -378,7 +378,7 @@ contract LSP23LinkedContractsFactory is ILSP23LinkedContractsFactory {
|
|
378
378
|
* - the secondary contract addPrimaryContractAddress boolean
|
379
379
|
* - the secondary contract extra initialization params (if any)
|
380
380
|
* - the postDeploymentModule address
|
381
|
-
* - the
|
381
|
+
* - the calldata to the post deployment module
|
382
382
|
*
|
383
383
|
*/
|
384
384
|
primaryContractProxyGeneratedSalt = keccak256(
|
package/package.json
CHANGED
@@ -1,30 +1,9 @@
|
|
1
1
|
{
|
2
2
|
"name": "@lukso/lsp23-contracts",
|
3
|
-
"version": "0.15.
|
3
|
+
"version": "0.15.1",
|
4
4
|
"description": "Package for the LSP23 Linked Contracts Factory standard",
|
5
5
|
"license": "Apache-2.0",
|
6
6
|
"author": "",
|
7
|
-
"main": "./dist/index.cjs",
|
8
|
-
"module": "./dist/index.mjs",
|
9
|
-
"typings": "./dist/index.d.ts",
|
10
|
-
"exports": {
|
11
|
-
".": {
|
12
|
-
"require": "./dist/index.cjs",
|
13
|
-
"import": "./dist/index.mjs",
|
14
|
-
"types": "./dist/index.d.ts"
|
15
|
-
},
|
16
|
-
"./artifacts/*": "./artifacts/*",
|
17
|
-
"./package.json": "./package.json"
|
18
|
-
},
|
19
|
-
"files": [
|
20
|
-
"contracts/**/*.sol",
|
21
|
-
"!contracts/Mocks/**/*.sol",
|
22
|
-
"artifacts/*.json",
|
23
|
-
"dist",
|
24
|
-
"types",
|
25
|
-
"!types/factories",
|
26
|
-
"./README.md"
|
27
|
-
],
|
28
7
|
"keywords": [
|
29
8
|
"LUKSO",
|
30
9
|
"LSP",
|
@@ -35,18 +14,47 @@
|
|
35
14
|
"EVM",
|
36
15
|
"Solidity"
|
37
16
|
],
|
17
|
+
"files": [
|
18
|
+
"contracts/**/*.sol",
|
19
|
+
"!contracts/Mocks/**/*.sol",
|
20
|
+
"artifacts/*.json",
|
21
|
+
"dist"
|
22
|
+
],
|
23
|
+
"main": "./dist/constants.cjs",
|
24
|
+
"module": "./dist/constants.mjs",
|
25
|
+
"typings": "./dist/constants.d.ts",
|
26
|
+
"exports": {
|
27
|
+
".": {
|
28
|
+
"require": "./dist/constants.cjs",
|
29
|
+
"import": "./dist/constants.mjs",
|
30
|
+
"types": "./dist/constants.d.ts"
|
31
|
+
},
|
32
|
+
"./constants": {
|
33
|
+
"require": "./dist/constants.cjs",
|
34
|
+
"import": "./dist/constants.mjs",
|
35
|
+
"types": "./dist/constants.d.ts"
|
36
|
+
},
|
37
|
+
"./abi": {
|
38
|
+
"require": "./dist/abi.cjs",
|
39
|
+
"import": "./dist/abi.mjs",
|
40
|
+
"types": "./dist/abi.d.ts"
|
41
|
+
},
|
42
|
+
"./artifacts/*": "./artifacts/*",
|
43
|
+
"./dist/*": "./dist/*",
|
44
|
+
"./package.json": "./package.json"
|
45
|
+
},
|
38
46
|
"scripts": {
|
39
47
|
"build": "hardhat compile --show-stack-traces",
|
40
48
|
"build:types": "npx wagmi generate",
|
41
|
-
"clean": "hardhat clean && rm -Rf dist/",
|
49
|
+
"clean": "hardhat clean && rm -Rf dist/ cache/ node_modules/ .turbo/ types/ typechain/ build/ artifacts/",
|
42
50
|
"format": "prettier --write .",
|
43
51
|
"lint": "eslint . --ext .ts,.js",
|
44
52
|
"lint:solidity": "solhint 'contracts/**/*.sol' && prettier --check 'contracts/**/*.sol'",
|
45
|
-
"package": "hardhat prepare-package"
|
53
|
+
"build:package": "hardhat prepare-package"
|
46
54
|
},
|
47
55
|
"dependencies": {
|
48
56
|
"@erc725/smart-contracts": "^7.0.0",
|
49
57
|
"@openzeppelin/contracts": "^4.9.3",
|
50
|
-
"@lukso/universalprofile-contracts": "~0.15.0
|
58
|
+
"@lukso/universalprofile-contracts": "~0.15.0"
|
51
59
|
}
|
52
60
|
}
|
@@ -1,517 +0,0 @@
|
|
1
|
-
{
|
2
|
-
"_format": "hh-sol-artifact-1",
|
3
|
-
"contractName": "ILSP23LinkedContractsFactory",
|
4
|
-
"sourceName": "contracts/ILSP23LinkedContractsFactory.sol",
|
5
|
-
"abi": [
|
6
|
-
{
|
7
|
-
"anonymous": false,
|
8
|
-
"inputs": [
|
9
|
-
{
|
10
|
-
"indexed": true,
|
11
|
-
"internalType": "address",
|
12
|
-
"name": "primaryContract",
|
13
|
-
"type": "address"
|
14
|
-
},
|
15
|
-
{
|
16
|
-
"indexed": true,
|
17
|
-
"internalType": "address",
|
18
|
-
"name": "secondaryContract",
|
19
|
-
"type": "address"
|
20
|
-
},
|
21
|
-
{
|
22
|
-
"components": [
|
23
|
-
{
|
24
|
-
"internalType": "bytes32",
|
25
|
-
"name": "salt",
|
26
|
-
"type": "bytes32"
|
27
|
-
},
|
28
|
-
{
|
29
|
-
"internalType": "uint256",
|
30
|
-
"name": "fundingAmount",
|
31
|
-
"type": "uint256"
|
32
|
-
},
|
33
|
-
{
|
34
|
-
"internalType": "bytes",
|
35
|
-
"name": "creationBytecode",
|
36
|
-
"type": "bytes"
|
37
|
-
}
|
38
|
-
],
|
39
|
-
"indexed": false,
|
40
|
-
"internalType": "struct ILSP23LinkedContractsFactory.PrimaryContractDeployment",
|
41
|
-
"name": "primaryContractDeployment",
|
42
|
-
"type": "tuple"
|
43
|
-
},
|
44
|
-
{
|
45
|
-
"components": [
|
46
|
-
{
|
47
|
-
"internalType": "uint256",
|
48
|
-
"name": "fundingAmount",
|
49
|
-
"type": "uint256"
|
50
|
-
},
|
51
|
-
{
|
52
|
-
"internalType": "bytes",
|
53
|
-
"name": "creationBytecode",
|
54
|
-
"type": "bytes"
|
55
|
-
},
|
56
|
-
{
|
57
|
-
"internalType": "bool",
|
58
|
-
"name": "addPrimaryContractAddress",
|
59
|
-
"type": "bool"
|
60
|
-
},
|
61
|
-
{
|
62
|
-
"internalType": "bytes",
|
63
|
-
"name": "extraConstructorParams",
|
64
|
-
"type": "bytes"
|
65
|
-
}
|
66
|
-
],
|
67
|
-
"indexed": false,
|
68
|
-
"internalType": "struct ILSP23LinkedContractsFactory.SecondaryContractDeployment",
|
69
|
-
"name": "secondaryContractDeployment",
|
70
|
-
"type": "tuple"
|
71
|
-
},
|
72
|
-
{
|
73
|
-
"indexed": false,
|
74
|
-
"internalType": "address",
|
75
|
-
"name": "postDeploymentModule",
|
76
|
-
"type": "address"
|
77
|
-
},
|
78
|
-
{
|
79
|
-
"indexed": false,
|
80
|
-
"internalType": "bytes",
|
81
|
-
"name": "postDeploymentModuleCalldata",
|
82
|
-
"type": "bytes"
|
83
|
-
}
|
84
|
-
],
|
85
|
-
"name": "DeployedContracts",
|
86
|
-
"type": "event"
|
87
|
-
},
|
88
|
-
{
|
89
|
-
"anonymous": false,
|
90
|
-
"inputs": [
|
91
|
-
{
|
92
|
-
"indexed": true,
|
93
|
-
"internalType": "address",
|
94
|
-
"name": "primaryContract",
|
95
|
-
"type": "address"
|
96
|
-
},
|
97
|
-
{
|
98
|
-
"indexed": true,
|
99
|
-
"internalType": "address",
|
100
|
-
"name": "secondaryContract",
|
101
|
-
"type": "address"
|
102
|
-
},
|
103
|
-
{
|
104
|
-
"components": [
|
105
|
-
{
|
106
|
-
"internalType": "bytes32",
|
107
|
-
"name": "salt",
|
108
|
-
"type": "bytes32"
|
109
|
-
},
|
110
|
-
{
|
111
|
-
"internalType": "uint256",
|
112
|
-
"name": "fundingAmount",
|
113
|
-
"type": "uint256"
|
114
|
-
},
|
115
|
-
{
|
116
|
-
"internalType": "address",
|
117
|
-
"name": "implementationContract",
|
118
|
-
"type": "address"
|
119
|
-
},
|
120
|
-
{
|
121
|
-
"internalType": "bytes",
|
122
|
-
"name": "initializationCalldata",
|
123
|
-
"type": "bytes"
|
124
|
-
}
|
125
|
-
],
|
126
|
-
"indexed": false,
|
127
|
-
"internalType": "struct ILSP23LinkedContractsFactory.PrimaryContractDeploymentInit",
|
128
|
-
"name": "primaryContractDeploymentInit",
|
129
|
-
"type": "tuple"
|
130
|
-
},
|
131
|
-
{
|
132
|
-
"components": [
|
133
|
-
{
|
134
|
-
"internalType": "uint256",
|
135
|
-
"name": "fundingAmount",
|
136
|
-
"type": "uint256"
|
137
|
-
},
|
138
|
-
{
|
139
|
-
"internalType": "address",
|
140
|
-
"name": "implementationContract",
|
141
|
-
"type": "address"
|
142
|
-
},
|
143
|
-
{
|
144
|
-
"internalType": "bytes",
|
145
|
-
"name": "initializationCalldata",
|
146
|
-
"type": "bytes"
|
147
|
-
},
|
148
|
-
{
|
149
|
-
"internalType": "bool",
|
150
|
-
"name": "addPrimaryContractAddress",
|
151
|
-
"type": "bool"
|
152
|
-
},
|
153
|
-
{
|
154
|
-
"internalType": "bytes",
|
155
|
-
"name": "extraInitializationParams",
|
156
|
-
"type": "bytes"
|
157
|
-
}
|
158
|
-
],
|
159
|
-
"indexed": false,
|
160
|
-
"internalType": "struct ILSP23LinkedContractsFactory.SecondaryContractDeploymentInit",
|
161
|
-
"name": "secondaryContractDeploymentInit",
|
162
|
-
"type": "tuple"
|
163
|
-
},
|
164
|
-
{
|
165
|
-
"indexed": false,
|
166
|
-
"internalType": "address",
|
167
|
-
"name": "postDeploymentModule",
|
168
|
-
"type": "address"
|
169
|
-
},
|
170
|
-
{
|
171
|
-
"indexed": false,
|
172
|
-
"internalType": "bytes",
|
173
|
-
"name": "postDeploymentModuleCalldata",
|
174
|
-
"type": "bytes"
|
175
|
-
}
|
176
|
-
],
|
177
|
-
"name": "DeployedERC1167Proxies",
|
178
|
-
"type": "event"
|
179
|
-
},
|
180
|
-
{
|
181
|
-
"inputs": [
|
182
|
-
{
|
183
|
-
"components": [
|
184
|
-
{
|
185
|
-
"internalType": "bytes32",
|
186
|
-
"name": "salt",
|
187
|
-
"type": "bytes32"
|
188
|
-
},
|
189
|
-
{
|
190
|
-
"internalType": "uint256",
|
191
|
-
"name": "fundingAmount",
|
192
|
-
"type": "uint256"
|
193
|
-
},
|
194
|
-
{
|
195
|
-
"internalType": "bytes",
|
196
|
-
"name": "creationBytecode",
|
197
|
-
"type": "bytes"
|
198
|
-
}
|
199
|
-
],
|
200
|
-
"internalType": "struct ILSP23LinkedContractsFactory.PrimaryContractDeployment",
|
201
|
-
"name": "primaryContractDeployment",
|
202
|
-
"type": "tuple"
|
203
|
-
},
|
204
|
-
{
|
205
|
-
"components": [
|
206
|
-
{
|
207
|
-
"internalType": "uint256",
|
208
|
-
"name": "fundingAmount",
|
209
|
-
"type": "uint256"
|
210
|
-
},
|
211
|
-
{
|
212
|
-
"internalType": "bytes",
|
213
|
-
"name": "creationBytecode",
|
214
|
-
"type": "bytes"
|
215
|
-
},
|
216
|
-
{
|
217
|
-
"internalType": "bool",
|
218
|
-
"name": "addPrimaryContractAddress",
|
219
|
-
"type": "bool"
|
220
|
-
},
|
221
|
-
{
|
222
|
-
"internalType": "bytes",
|
223
|
-
"name": "extraConstructorParams",
|
224
|
-
"type": "bytes"
|
225
|
-
}
|
226
|
-
],
|
227
|
-
"internalType": "struct ILSP23LinkedContractsFactory.SecondaryContractDeployment",
|
228
|
-
"name": "secondaryContractDeployment",
|
229
|
-
"type": "tuple"
|
230
|
-
},
|
231
|
-
{
|
232
|
-
"internalType": "address",
|
233
|
-
"name": "postDeploymentModule",
|
234
|
-
"type": "address"
|
235
|
-
},
|
236
|
-
{
|
237
|
-
"internalType": "bytes",
|
238
|
-
"name": "postDeploymentModuleCalldata",
|
239
|
-
"type": "bytes"
|
240
|
-
}
|
241
|
-
],
|
242
|
-
"name": "computeAddresses",
|
243
|
-
"outputs": [
|
244
|
-
{
|
245
|
-
"internalType": "address",
|
246
|
-
"name": "primaryContractAddress",
|
247
|
-
"type": "address"
|
248
|
-
},
|
249
|
-
{
|
250
|
-
"internalType": "address",
|
251
|
-
"name": "secondaryContractAddress",
|
252
|
-
"type": "address"
|
253
|
-
}
|
254
|
-
],
|
255
|
-
"stateMutability": "view",
|
256
|
-
"type": "function"
|
257
|
-
},
|
258
|
-
{
|
259
|
-
"inputs": [
|
260
|
-
{
|
261
|
-
"components": [
|
262
|
-
{
|
263
|
-
"internalType": "bytes32",
|
264
|
-
"name": "salt",
|
265
|
-
"type": "bytes32"
|
266
|
-
},
|
267
|
-
{
|
268
|
-
"internalType": "uint256",
|
269
|
-
"name": "fundingAmount",
|
270
|
-
"type": "uint256"
|
271
|
-
},
|
272
|
-
{
|
273
|
-
"internalType": "address",
|
274
|
-
"name": "implementationContract",
|
275
|
-
"type": "address"
|
276
|
-
},
|
277
|
-
{
|
278
|
-
"internalType": "bytes",
|
279
|
-
"name": "initializationCalldata",
|
280
|
-
"type": "bytes"
|
281
|
-
}
|
282
|
-
],
|
283
|
-
"internalType": "struct ILSP23LinkedContractsFactory.PrimaryContractDeploymentInit",
|
284
|
-
"name": "primaryContractDeploymentInit",
|
285
|
-
"type": "tuple"
|
286
|
-
},
|
287
|
-
{
|
288
|
-
"components": [
|
289
|
-
{
|
290
|
-
"internalType": "uint256",
|
291
|
-
"name": "fundingAmount",
|
292
|
-
"type": "uint256"
|
293
|
-
},
|
294
|
-
{
|
295
|
-
"internalType": "address",
|
296
|
-
"name": "implementationContract",
|
297
|
-
"type": "address"
|
298
|
-
},
|
299
|
-
{
|
300
|
-
"internalType": "bytes",
|
301
|
-
"name": "initializationCalldata",
|
302
|
-
"type": "bytes"
|
303
|
-
},
|
304
|
-
{
|
305
|
-
"internalType": "bool",
|
306
|
-
"name": "addPrimaryContractAddress",
|
307
|
-
"type": "bool"
|
308
|
-
},
|
309
|
-
{
|
310
|
-
"internalType": "bytes",
|
311
|
-
"name": "extraInitializationParams",
|
312
|
-
"type": "bytes"
|
313
|
-
}
|
314
|
-
],
|
315
|
-
"internalType": "struct ILSP23LinkedContractsFactory.SecondaryContractDeploymentInit",
|
316
|
-
"name": "secondaryContractDeploymentInit",
|
317
|
-
"type": "tuple"
|
318
|
-
},
|
319
|
-
{
|
320
|
-
"internalType": "address",
|
321
|
-
"name": "postDeploymentModule",
|
322
|
-
"type": "address"
|
323
|
-
},
|
324
|
-
{
|
325
|
-
"internalType": "bytes",
|
326
|
-
"name": "postDeploymentModuleCalldata",
|
327
|
-
"type": "bytes"
|
328
|
-
}
|
329
|
-
],
|
330
|
-
"name": "computeERC1167Addresses",
|
331
|
-
"outputs": [
|
332
|
-
{
|
333
|
-
"internalType": "address",
|
334
|
-
"name": "primaryContractAddress",
|
335
|
-
"type": "address"
|
336
|
-
},
|
337
|
-
{
|
338
|
-
"internalType": "address",
|
339
|
-
"name": "secondaryContractAddress",
|
340
|
-
"type": "address"
|
341
|
-
}
|
342
|
-
],
|
343
|
-
"stateMutability": "view",
|
344
|
-
"type": "function"
|
345
|
-
},
|
346
|
-
{
|
347
|
-
"inputs": [
|
348
|
-
{
|
349
|
-
"components": [
|
350
|
-
{
|
351
|
-
"internalType": "bytes32",
|
352
|
-
"name": "salt",
|
353
|
-
"type": "bytes32"
|
354
|
-
},
|
355
|
-
{
|
356
|
-
"internalType": "uint256",
|
357
|
-
"name": "fundingAmount",
|
358
|
-
"type": "uint256"
|
359
|
-
},
|
360
|
-
{
|
361
|
-
"internalType": "bytes",
|
362
|
-
"name": "creationBytecode",
|
363
|
-
"type": "bytes"
|
364
|
-
}
|
365
|
-
],
|
366
|
-
"internalType": "struct ILSP23LinkedContractsFactory.PrimaryContractDeployment",
|
367
|
-
"name": "primaryContractDeployment",
|
368
|
-
"type": "tuple"
|
369
|
-
},
|
370
|
-
{
|
371
|
-
"components": [
|
372
|
-
{
|
373
|
-
"internalType": "uint256",
|
374
|
-
"name": "fundingAmount",
|
375
|
-
"type": "uint256"
|
376
|
-
},
|
377
|
-
{
|
378
|
-
"internalType": "bytes",
|
379
|
-
"name": "creationBytecode",
|
380
|
-
"type": "bytes"
|
381
|
-
},
|
382
|
-
{
|
383
|
-
"internalType": "bool",
|
384
|
-
"name": "addPrimaryContractAddress",
|
385
|
-
"type": "bool"
|
386
|
-
},
|
387
|
-
{
|
388
|
-
"internalType": "bytes",
|
389
|
-
"name": "extraConstructorParams",
|
390
|
-
"type": "bytes"
|
391
|
-
}
|
392
|
-
],
|
393
|
-
"internalType": "struct ILSP23LinkedContractsFactory.SecondaryContractDeployment",
|
394
|
-
"name": "secondaryContractDeployment",
|
395
|
-
"type": "tuple"
|
396
|
-
},
|
397
|
-
{
|
398
|
-
"internalType": "address",
|
399
|
-
"name": "postDeploymentModule",
|
400
|
-
"type": "address"
|
401
|
-
},
|
402
|
-
{
|
403
|
-
"internalType": "bytes",
|
404
|
-
"name": "postDeploymentModuleCalldata",
|
405
|
-
"type": "bytes"
|
406
|
-
}
|
407
|
-
],
|
408
|
-
"name": "deployContracts",
|
409
|
-
"outputs": [
|
410
|
-
{
|
411
|
-
"internalType": "address",
|
412
|
-
"name": "primaryContractAddress",
|
413
|
-
"type": "address"
|
414
|
-
},
|
415
|
-
{
|
416
|
-
"internalType": "address",
|
417
|
-
"name": "secondaryContractAddress",
|
418
|
-
"type": "address"
|
419
|
-
}
|
420
|
-
],
|
421
|
-
"stateMutability": "payable",
|
422
|
-
"type": "function"
|
423
|
-
},
|
424
|
-
{
|
425
|
-
"inputs": [
|
426
|
-
{
|
427
|
-
"components": [
|
428
|
-
{
|
429
|
-
"internalType": "bytes32",
|
430
|
-
"name": "salt",
|
431
|
-
"type": "bytes32"
|
432
|
-
},
|
433
|
-
{
|
434
|
-
"internalType": "uint256",
|
435
|
-
"name": "fundingAmount",
|
436
|
-
"type": "uint256"
|
437
|
-
},
|
438
|
-
{
|
439
|
-
"internalType": "address",
|
440
|
-
"name": "implementationContract",
|
441
|
-
"type": "address"
|
442
|
-
},
|
443
|
-
{
|
444
|
-
"internalType": "bytes",
|
445
|
-
"name": "initializationCalldata",
|
446
|
-
"type": "bytes"
|
447
|
-
}
|
448
|
-
],
|
449
|
-
"internalType": "struct ILSP23LinkedContractsFactory.PrimaryContractDeploymentInit",
|
450
|
-
"name": "primaryContractDeploymentInit",
|
451
|
-
"type": "tuple"
|
452
|
-
},
|
453
|
-
{
|
454
|
-
"components": [
|
455
|
-
{
|
456
|
-
"internalType": "uint256",
|
457
|
-
"name": "fundingAmount",
|
458
|
-
"type": "uint256"
|
459
|
-
},
|
460
|
-
{
|
461
|
-
"internalType": "address",
|
462
|
-
"name": "implementationContract",
|
463
|
-
"type": "address"
|
464
|
-
},
|
465
|
-
{
|
466
|
-
"internalType": "bytes",
|
467
|
-
"name": "initializationCalldata",
|
468
|
-
"type": "bytes"
|
469
|
-
},
|
470
|
-
{
|
471
|
-
"internalType": "bool",
|
472
|
-
"name": "addPrimaryContractAddress",
|
473
|
-
"type": "bool"
|
474
|
-
},
|
475
|
-
{
|
476
|
-
"internalType": "bytes",
|
477
|
-
"name": "extraInitializationParams",
|
478
|
-
"type": "bytes"
|
479
|
-
}
|
480
|
-
],
|
481
|
-
"internalType": "struct ILSP23LinkedContractsFactory.SecondaryContractDeploymentInit",
|
482
|
-
"name": "secondaryContractDeploymentInit",
|
483
|
-
"type": "tuple"
|
484
|
-
},
|
485
|
-
{
|
486
|
-
"internalType": "address",
|
487
|
-
"name": "postDeploymentModule",
|
488
|
-
"type": "address"
|
489
|
-
},
|
490
|
-
{
|
491
|
-
"internalType": "bytes",
|
492
|
-
"name": "postDeploymentModuleCalldata",
|
493
|
-
"type": "bytes"
|
494
|
-
}
|
495
|
-
],
|
496
|
-
"name": "deployERC1167Proxies",
|
497
|
-
"outputs": [
|
498
|
-
{
|
499
|
-
"internalType": "address",
|
500
|
-
"name": "primaryContractAddress",
|
501
|
-
"type": "address"
|
502
|
-
},
|
503
|
-
{
|
504
|
-
"internalType": "address",
|
505
|
-
"name": "secondaryContractAddress",
|
506
|
-
"type": "address"
|
507
|
-
}
|
508
|
-
],
|
509
|
-
"stateMutability": "payable",
|
510
|
-
"type": "function"
|
511
|
-
}
|
512
|
-
],
|
513
|
-
"bytecode": "0x",
|
514
|
-
"deployedBytecode": "0x",
|
515
|
-
"linkReferences": {},
|
516
|
-
"deployedLinkReferences": {}
|
517
|
-
}
|
@@ -1,34 +0,0 @@
|
|
1
|
-
{
|
2
|
-
"_format": "hh-sol-artifact-1",
|
3
|
-
"contractName": "IPostDeploymentModule",
|
4
|
-
"sourceName": "contracts/IPostDeploymentModule.sol",
|
5
|
-
"abi": [
|
6
|
-
{
|
7
|
-
"inputs": [
|
8
|
-
{
|
9
|
-
"internalType": "address",
|
10
|
-
"name": "primaryContract",
|
11
|
-
"type": "address"
|
12
|
-
},
|
13
|
-
{
|
14
|
-
"internalType": "address",
|
15
|
-
"name": "secondaryContract",
|
16
|
-
"type": "address"
|
17
|
-
},
|
18
|
-
{
|
19
|
-
"internalType": "bytes",
|
20
|
-
"name": "calldataToPostDeploymentModule",
|
21
|
-
"type": "bytes"
|
22
|
-
}
|
23
|
-
],
|
24
|
-
"name": "executePostDeployment",
|
25
|
-
"outputs": [],
|
26
|
-
"stateMutability": "nonpayable",
|
27
|
-
"type": "function"
|
28
|
-
}
|
29
|
-
],
|
30
|
-
"bytecode": "0x",
|
31
|
-
"deployedBytecode": "0x",
|
32
|
-
"linkReferences": {},
|
33
|
-
"deployedLinkReferences": {}
|
34
|
-
}
|