@zoralabs/protocol-deployments 0.0.4 → 0.0.5
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/.turbo/turbo-build.log +14 -14
- package/CHANGELOG.md +6 -0
- package/dist/index.cjs +0 -71
- package/dist/index.cjs.map +1 -1
- package/dist/index.js +0 -68
- package/dist/index.js.map +1 -1
- package/dist/package/batchPublish.test.d.ts +6 -6
- package/dist/package/wagmiGenerated.d.ts +0 -201
- package/dist/package/wagmiGenerated.d.ts.map +1 -1
- package/package/wagmiGenerated.ts +0 -105
- package/package.json +2 -3
- package/script/CalculateDeterministicParams.s.sol +3 -3
- package/script/DeployMintersAndImplementations.s.sol +3 -3
- package/script/DeployNew1155Impl.s.sol +24 -0
- package/script/DeployNewImplementation.s.sol +3 -3
- package/script/DeployPreminterImpl.s.sol +3 -3
- package/script/DeployProxiesToNewChain.s.sol +4 -4
- package/script/DeployUpgradeGate.s.sol +5 -5
- package/script/Upgrade.s.sol +3 -3
- package/script/UpgradePreminter.s.sol +3 -3
- package/src/DeploymentConfig.sol +124 -0
- package/src/DeploymentTestingUtils.sol +56 -0
- package/src/DeterministicDeployerScript.sol +253 -0
- package/src/DeterministicProxyDeployer.sol +139 -0
- package/src/IImmutableCreate2Factory.sol +59 -0
- package/src/ZoraDeployerBase.sol +144 -0
- package/src/ZoraDeployerUtils.sol +176 -0
- package/test/NewFactoryProxyDeployer.t.sol +4 -4
- package/test/ZoraCreator1155Factory_Fork.t.sol +1 -3
- package/test/ZoraCreator1155PremintExecutorForkTest.t.sol +2 -2
- package/wagmi.config.ts +1 -7
- package/test/ZoraCreator1155SupplyRoyaltyDeprecation.t.sol +0 -74
package/.turbo/turbo-build.log
CHANGED
|
@@ -10,14 +10,14 @@ $ wagmi generate
|
|
|
10
10
|
✔ Writing to [90mpackage/wagmiGenerated.ts[39m
|
|
11
11
|
$ node script/bundle-chainConfigs.mjs && yarn prettier
|
|
12
12
|
$ prettier --write 'package/**/*.ts' 'script/**/*.ts' 'wagmi.config.ts'
|
|
13
|
-
package/batchPublish.test.ts
|
|
14
|
-
package/chainConfigs.ts
|
|
15
|
-
package/deployment.ts
|
|
16
|
-
package/index.ts
|
|
17
|
-
package/wagmiGenerated.ts
|
|
18
|
-
script/copy-deployed-contracts.ts
|
|
19
|
-
script/signDeploymentTransactions.ts
|
|
20
|
-
wagmi.config.ts
|
|
13
|
+
package/batchPublish.test.ts 225ms
|
|
14
|
+
package/chainConfigs.ts 13ms
|
|
15
|
+
package/deployment.ts 11ms
|
|
16
|
+
package/index.ts 3ms
|
|
17
|
+
package/wagmiGenerated.ts 372ms
|
|
18
|
+
script/copy-deployed-contracts.ts 40ms
|
|
19
|
+
script/signDeploymentTransactions.ts 36ms
|
|
20
|
+
wagmi.config.ts 14ms
|
|
21
21
|
[34mCLI[39m Building entry: package/index.ts
|
|
22
22
|
[34mCLI[39m Using tsconfig: tsconfig.json
|
|
23
23
|
[34mCLI[39m tsup v7.2.0
|
|
@@ -26,9 +26,9 @@ wagmi.config.ts 15ms
|
|
|
26
26
|
[34mCLI[39m Cleaning output folder
|
|
27
27
|
[34mCJS[39m Build start
|
|
28
28
|
[34mESM[39m Build start
|
|
29
|
-
[
|
|
30
|
-
[
|
|
31
|
-
[
|
|
32
|
-
[
|
|
33
|
-
[
|
|
34
|
-
[
|
|
29
|
+
[32mCJS[39m [1mdist/index.cjs [22m[32m95.45 KB[39m
|
|
30
|
+
[32mCJS[39m [1mdist/index.cjs.map [22m[32m184.87 KB[39m
|
|
31
|
+
[32mCJS[39m ⚡️ Build success in 24ms
|
|
32
|
+
[32mESM[39m [1mdist/index.js [22m[32m93.14 KB[39m
|
|
33
|
+
[32mESM[39m [1mdist/index.js.map [22m[32m184.47 KB[39m
|
|
34
|
+
[32mESM[39m ⚡️ Build success in 25ms
|
package/CHANGELOG.md
CHANGED
package/dist/index.cjs
CHANGED
|
@@ -21,9 +21,6 @@ var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: tru
|
|
|
21
21
|
var package_exports = {};
|
|
22
22
|
__export(package_exports, {
|
|
23
23
|
chainConfigs: () => chainConfigs,
|
|
24
|
-
iImmutableCreate2FactoryABI: () => iImmutableCreate2FactoryABI,
|
|
25
|
-
iImmutableCreate2FactoryAddress: () => iImmutableCreate2FactoryAddress,
|
|
26
|
-
iImmutableCreate2FactoryConfig: () => iImmutableCreate2FactoryConfig,
|
|
27
24
|
zoraCreator1155FactoryImplABI: () => zoraCreator1155FactoryImplABI,
|
|
28
25
|
zoraCreator1155FactoryImplAddress: () => zoraCreator1155FactoryImplAddress,
|
|
29
26
|
zoraCreator1155FactoryImplConfig: () => zoraCreator1155FactoryImplConfig,
|
|
@@ -44,71 +41,6 @@ __export(package_exports, {
|
|
|
44
41
|
module.exports = __toCommonJS(package_exports);
|
|
45
42
|
|
|
46
43
|
// package/wagmiGenerated.ts
|
|
47
|
-
var iImmutableCreate2FactoryABI = [
|
|
48
|
-
{
|
|
49
|
-
stateMutability: "view",
|
|
50
|
-
type: "function",
|
|
51
|
-
inputs: [
|
|
52
|
-
{ name: "salt", internalType: "bytes32", type: "bytes32" },
|
|
53
|
-
{ name: "initCode", internalType: "bytes", type: "bytes" }
|
|
54
|
-
],
|
|
55
|
-
name: "findCreate2Address",
|
|
56
|
-
outputs: [
|
|
57
|
-
{ name: "deploymentAddress", internalType: "address", type: "address" }
|
|
58
|
-
]
|
|
59
|
-
},
|
|
60
|
-
{
|
|
61
|
-
stateMutability: "view",
|
|
62
|
-
type: "function",
|
|
63
|
-
inputs: [
|
|
64
|
-
{ name: "salt", internalType: "bytes32", type: "bytes32" },
|
|
65
|
-
{ name: "initCodeHash", internalType: "bytes32", type: "bytes32" }
|
|
66
|
-
],
|
|
67
|
-
name: "findCreate2AddressViaHash",
|
|
68
|
-
outputs: [
|
|
69
|
-
{ name: "deploymentAddress", internalType: "address", type: "address" }
|
|
70
|
-
]
|
|
71
|
-
},
|
|
72
|
-
{
|
|
73
|
-
stateMutability: "view",
|
|
74
|
-
type: "function",
|
|
75
|
-
inputs: [
|
|
76
|
-
{ name: "deploymentAddress", internalType: "address", type: "address" }
|
|
77
|
-
],
|
|
78
|
-
name: "hasBeenDeployed",
|
|
79
|
-
outputs: [{ name: "", internalType: "bool", type: "bool" }]
|
|
80
|
-
},
|
|
81
|
-
{
|
|
82
|
-
stateMutability: "payable",
|
|
83
|
-
type: "function",
|
|
84
|
-
inputs: [
|
|
85
|
-
{ name: "salt", internalType: "bytes32", type: "bytes32" },
|
|
86
|
-
{ name: "initializationCode", internalType: "bytes", type: "bytes" }
|
|
87
|
-
],
|
|
88
|
-
name: "safeCreate2",
|
|
89
|
-
outputs: [
|
|
90
|
-
{ name: "deploymentAddress", internalType: "address", type: "address" }
|
|
91
|
-
]
|
|
92
|
-
}
|
|
93
|
-
];
|
|
94
|
-
var iImmutableCreate2FactoryAddress = {
|
|
95
|
-
1: "0x0000000000FFe8B47B3e2130213B802212439497",
|
|
96
|
-
5: "0x0000000000FFe8B47B3e2130213B802212439497",
|
|
97
|
-
10: "0x0000000000FFe8B47B3e2130213B802212439497",
|
|
98
|
-
420: "0x0000000000FFe8B47B3e2130213B802212439497",
|
|
99
|
-
424: "0x0000000000FFe8B47B3e2130213B802212439497",
|
|
100
|
-
999: "0x0000000000FFe8B47B3e2130213B802212439497",
|
|
101
|
-
8453: "0x0000000000FFe8B47B3e2130213B802212439497",
|
|
102
|
-
58008: "0x0000000000FFe8B47B3e2130213B802212439497",
|
|
103
|
-
84531: "0x0000000000FFe8B47B3e2130213B802212439497",
|
|
104
|
-
7777777: "0x0000000000FFe8B47B3e2130213B802212439497",
|
|
105
|
-
11155111: "0x0000000000FFe8B47B3e2130213B802212439497",
|
|
106
|
-
999999999: "0x0000000000FFe8B47B3e2130213B802212439497"
|
|
107
|
-
};
|
|
108
|
-
var iImmutableCreate2FactoryConfig = {
|
|
109
|
-
address: iImmutableCreate2FactoryAddress,
|
|
110
|
-
abi: iImmutableCreate2FactoryABI
|
|
111
|
-
};
|
|
112
44
|
var zoraCreator1155FactoryImplABI = [
|
|
113
45
|
{
|
|
114
46
|
stateMutability: "nonpayable",
|
|
@@ -3413,9 +3345,6 @@ var chainConfigs = {
|
|
|
3413
3345
|
// Annotate the CommonJS export names for ESM import in node:
|
|
3414
3346
|
0 && (module.exports = {
|
|
3415
3347
|
chainConfigs,
|
|
3416
|
-
iImmutableCreate2FactoryABI,
|
|
3417
|
-
iImmutableCreate2FactoryAddress,
|
|
3418
|
-
iImmutableCreate2FactoryConfig,
|
|
3419
3348
|
zoraCreator1155FactoryImplABI,
|
|
3420
3349
|
zoraCreator1155FactoryImplAddress,
|
|
3421
3350
|
zoraCreator1155FactoryImplConfig,
|