@zoralabs/protocol-deployments 0.0.12 → 0.0.14-MINT.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (91) hide show
  1. package/.turbo/turbo-build.log +17 -18
  2. package/CHANGELOG.md +19 -0
  3. package/README.md +2 -8
  4. package/dist/{package/chainConfigs.d.ts → chainConfigs.d.ts} +4 -3
  5. package/dist/chainConfigs.d.ts.map +1 -0
  6. package/dist/deployment.d.ts.map +1 -0
  7. package/dist/index.cjs +88 -57
  8. package/dist/index.cjs.map +1 -1
  9. package/dist/index.d.ts.map +1 -0
  10. package/dist/index.js +84 -53
  11. package/dist/index.js.map +1 -1
  12. package/dist/{package/wagmiGenerated.d.ts → wagmiGenerated.d.ts} +118 -44
  13. package/dist/{package/wagmiGenerated.d.ts.map → wagmiGenerated.d.ts.map} +1 -1
  14. package/package.json +10 -22
  15. package/{script → scripts}/bundle-chainConfigs.mjs +9 -7
  16. package/src/chainConfigs.ts +62 -0
  17. package/{package → src}/wagmiGenerated.ts +72 -36
  18. package/tsconfig.json +1 -1
  19. package/tsup.config.ts +5 -5
  20. package/wagmi.config.ts +31 -9
  21. package/.env.anvil +0 -2
  22. package/addresses/1.json +0 -13
  23. package/addresses/10.json +0 -13
  24. package/addresses/11155111.json +0 -13
  25. package/addresses/420.json +0 -13
  26. package/addresses/424.json +0 -11
  27. package/addresses/5.json +0 -14
  28. package/addresses/58008.json +0 -11
  29. package/addresses/7777777.json +0 -13
  30. package/addresses/8453.json +0 -13
  31. package/addresses/84531.json +0 -14
  32. package/addresses/999.json +0 -13
  33. package/addresses/999999999.json +0 -14
  34. package/chainConfigs/1.json +0 -5
  35. package/chainConfigs/10.json +0 -5
  36. package/chainConfigs/11155111.json +0 -5
  37. package/chainConfigs/420.json +0 -5
  38. package/chainConfigs/424.json +0 -5
  39. package/chainConfigs/5.json +0 -5
  40. package/chainConfigs/58008.json +0 -4
  41. package/chainConfigs/7777777.json +0 -5
  42. package/chainConfigs/8453.json +0 -5
  43. package/chainConfigs/84531.json +0 -5
  44. package/chainConfigs/999.json +0 -5
  45. package/chainConfigs/999999999.json +0 -5
  46. package/deterministicConfig/factoryProxy/params.json +0 -10
  47. package/deterministicConfig/factoryProxy/signatures.json +0 -14
  48. package/deterministicConfig/premintExecutorProxy/params.json +0 -10
  49. package/deterministicConfig/premintExecutorProxy/signatures.json +0 -12
  50. package/deterministicConfig/upgradeGate/params.json +0 -7
  51. package/deterministicConfig/upgradeGate/signatures.json +0 -14
  52. package/dist/package/batchPublish.test.d.ts +0 -452
  53. package/dist/package/batchPublish.test.d.ts.map +0 -1
  54. package/dist/package/chainConfigs.d.ts.map +0 -1
  55. package/dist/package/deployment.d.ts.map +0 -1
  56. package/dist/package/index.d.ts.map +0 -1
  57. package/dist/script/copy-deployed-contracts.d.ts +0 -2
  58. package/dist/script/copy-deployed-contracts.d.ts.map +0 -1
  59. package/dist/script/signDeploymentTransactions.d.ts +0 -2
  60. package/dist/script/signDeploymentTransactions.d.ts.map +0 -1
  61. package/foundry.toml +0 -41
  62. package/package/batchPublish.test.ts +0 -327
  63. package/remappings.txt +0 -9
  64. package/script/CalculateDeterministicParams.s.sol +0 -84
  65. package/script/DeployMintersAndImplementations.s.sol +0 -29
  66. package/script/DeployNew1155Impl.s.sol +0 -24
  67. package/script/DeployNewImplementation.s.sol +0 -26
  68. package/script/DeployPreminterImpl.s.sol +0 -23
  69. package/script/DeployProxiesToNewChain.s.sol +0 -50
  70. package/script/DeployTestContracts.s.sol +0 -35
  71. package/script/DeployUpgradeGate.s.sol +0 -27
  72. package/script/Upgrade.s.sol +0 -83
  73. package/script/UpgradePreminter.s.sol +0 -34
  74. package/script/copy-deployed-contracts.ts +0 -86
  75. package/script/signDeploymentTransactions.ts +0 -302
  76. package/src/DeploymentConfig.sol +0 -124
  77. package/src/DeploymentTestingUtils.sol +0 -166
  78. package/src/DeterministicDeployerScript.sol +0 -249
  79. package/src/DeterministicProxyDeployer.sol +0 -139
  80. package/src/IImmutableCreate2Factory.sol +0 -59
  81. package/src/Zora1155PremintFixtures.sol +0 -75
  82. package/src/ZoraDeployerBase.sol +0 -144
  83. package/src/ZoraDeployerUtils.sol +0 -212
  84. package/test/NewFactoryProxyDeployer.t.sol +0 -127
  85. package/test/UpgradesTest.t.sol +0 -222
  86. package/test/ZoraCreator1155Factory_Fork.t.sol +0 -149
  87. package/test/ZoraCreator1155PremintExecutorForkTest.t.sol +0 -205
  88. /package/dist/{package/deployment.d.ts → deployment.d.ts} +0 -0
  89. /package/dist/{package/index.d.ts → index.d.ts} +0 -0
  90. /package/{package → src}/deployment.ts +0 -0
  91. /package/{package → src}/index.ts +0 -0
@@ -1,452 +0,0 @@
1
- export declare const walletClientWithAccount: {
2
- account: undefined;
3
- batch?: {
4
- multicall?: boolean | {
5
- batchSize?: number | undefined;
6
- wait?: number | undefined;
7
- } | undefined;
8
- } | undefined;
9
- cacheTime: number;
10
- chain: import("viem/_types/types/utils").Assign<{
11
- readonly id: 31337;
12
- readonly name: "Foundry";
13
- readonly network: "foundry";
14
- readonly nativeCurrency: {
15
- readonly decimals: 18;
16
- readonly name: "Ether";
17
- readonly symbol: "ETH";
18
- };
19
- readonly rpcUrls: {
20
- readonly default: {
21
- readonly http: readonly ["http://127.0.0.1:8545"];
22
- readonly webSocket: readonly ["ws://127.0.0.1:8545"];
23
- };
24
- readonly public: {
25
- readonly http: readonly ["http://127.0.0.1:8545"];
26
- readonly webSocket: readonly ["ws://127.0.0.1:8545"];
27
- };
28
- };
29
- }, import("viem/_types/types/chain").ChainConfig<undefined>>;
30
- key: string;
31
- name: string;
32
- pollingInterval: number;
33
- request: import("viem").EIP1193RequestFn<import("viem").WalletRpcSchema>;
34
- transport: import("viem").TransportConfig<"http", import("viem").EIP1193RequestFn> & {
35
- fetchOptions?: Omit<RequestInit, "body"> | undefined;
36
- url?: string | undefined;
37
- };
38
- type: string;
39
- uid: string;
40
- addChain: (args: import("viem").AddChainParameters) => Promise<void>;
41
- deployContract: <const TAbi extends import("viem").Abi | readonly unknown[], TChainOverride extends import("viem").Chain | undefined = undefined>(args: import("viem").DeployContractParameters<TAbi, import("viem/_types/types/utils").Assign<{
42
- readonly id: 31337;
43
- readonly name: "Foundry";
44
- readonly network: "foundry";
45
- readonly nativeCurrency: {
46
- readonly decimals: 18;
47
- readonly name: "Ether";
48
- readonly symbol: "ETH";
49
- };
50
- readonly rpcUrls: {
51
- readonly default: {
52
- readonly http: readonly ["http://127.0.0.1:8545"];
53
- readonly webSocket: readonly ["ws://127.0.0.1:8545"];
54
- };
55
- readonly public: {
56
- readonly http: readonly ["http://127.0.0.1:8545"];
57
- readonly webSocket: readonly ["ws://127.0.0.1:8545"];
58
- };
59
- };
60
- }, import("viem/_types/types/chain").ChainConfig<undefined>>, undefined, TChainOverride>) => Promise<`0x${string}`>;
61
- getAddresses: () => Promise<import("viem").GetAddressesReturnType>;
62
- getChainId: () => Promise<number>;
63
- getPermissions: () => Promise<import("viem").GetPermissionsReturnType>;
64
- prepareTransactionRequest: <TChainOverride_1 extends import("viem").Chain | undefined = undefined>(args: import("viem").PrepareTransactionRequestParameters<import("viem/_types/types/utils").Assign<{
65
- readonly id: 31337;
66
- readonly name: "Foundry";
67
- readonly network: "foundry";
68
- readonly nativeCurrency: {
69
- readonly decimals: 18;
70
- readonly name: "Ether";
71
- readonly symbol: "ETH";
72
- };
73
- readonly rpcUrls: {
74
- readonly default: {
75
- readonly http: readonly ["http://127.0.0.1:8545"];
76
- readonly webSocket: readonly ["ws://127.0.0.1:8545"];
77
- };
78
- readonly public: {
79
- readonly http: readonly ["http://127.0.0.1:8545"];
80
- readonly webSocket: readonly ["ws://127.0.0.1:8545"];
81
- };
82
- };
83
- }, import("viem/_types/types/chain").ChainConfig<undefined>>, undefined, TChainOverride_1>) => Promise<import("viem").PrepareTransactionRequestReturnType>;
84
- requestAddresses: () => Promise<import("viem").RequestAddressesReturnType>;
85
- requestPermissions: (args: {
86
- [x: string]: Record<string, any>;
87
- eth_accounts: Record<string, any>;
88
- }) => Promise<import("viem").RequestPermissionsReturnType>;
89
- sendRawTransaction: (args: import("viem/_types/actions/wallet/sendRawTransaction").SendRawTransactionParameters) => Promise<`0x${string}`>;
90
- sendTransaction: <TChainOverride_2 extends import("viem").Chain | undefined = undefined>(args: import("viem").SendTransactionParameters<import("viem/_types/types/utils").Assign<{
91
- readonly id: 31337;
92
- readonly name: "Foundry";
93
- readonly network: "foundry";
94
- readonly nativeCurrency: {
95
- readonly decimals: 18;
96
- readonly name: "Ether";
97
- readonly symbol: "ETH";
98
- };
99
- readonly rpcUrls: {
100
- readonly default: {
101
- readonly http: readonly ["http://127.0.0.1:8545"];
102
- readonly webSocket: readonly ["ws://127.0.0.1:8545"];
103
- };
104
- readonly public: {
105
- readonly http: readonly ["http://127.0.0.1:8545"];
106
- readonly webSocket: readonly ["ws://127.0.0.1:8545"];
107
- };
108
- };
109
- }, import("viem/_types/types/chain").ChainConfig<undefined>>, undefined, TChainOverride_2>) => Promise<`0x${string}`>;
110
- signMessage: (args: import("viem").SignMessageParameters<undefined>) => Promise<`0x${string}`>;
111
- signTransaction: <TChainOverride_3 extends import("viem").Chain | undefined = undefined>(args: import("viem/_types/actions/wallet/signTransaction").SignTransactionParameters<import("viem/_types/types/utils").Assign<{
112
- readonly id: 31337;
113
- readonly name: "Foundry";
114
- readonly network: "foundry";
115
- readonly nativeCurrency: {
116
- readonly decimals: 18;
117
- readonly name: "Ether";
118
- readonly symbol: "ETH";
119
- };
120
- readonly rpcUrls: {
121
- readonly default: {
122
- readonly http: readonly ["http://127.0.0.1:8545"];
123
- readonly webSocket: readonly ["ws://127.0.0.1:8545"];
124
- };
125
- readonly public: {
126
- readonly http: readonly ["http://127.0.0.1:8545"];
127
- readonly webSocket: readonly ["ws://127.0.0.1:8545"];
128
- };
129
- };
130
- }, import("viem/_types/types/chain").ChainConfig<undefined>>, undefined, TChainOverride_3>) => Promise<`0x${string}`>;
131
- signTypedData: <const TTypedData extends {
132
- [x: string]: readonly import("viem").TypedDataParameter[];
133
- [x: `string[${string}]`]: undefined;
134
- [x: `function[${string}]`]: undefined;
135
- [x: `address[${string}]`]: undefined;
136
- [x: `uint32[${string}]`]: undefined;
137
- [x: `bytes32[${string}]`]: undefined;
138
- [x: `bytes[${string}]`]: undefined;
139
- [x: `uint8[${string}]`]: undefined;
140
- [x: `uint256[${string}]`]: undefined;
141
- [x: `uint96[${string}]`]: undefined;
142
- [x: `bool[${string}]`]: undefined;
143
- [x: `bytes4[${string}]`]: undefined;
144
- [x: `uint64[${string}]`]: undefined;
145
- [x: `bytes1[${string}]`]: undefined;
146
- [x: `bytes3[${string}]`]: undefined;
147
- [x: `bytes5[${string}]`]: undefined;
148
- [x: `bytes2[${string}]`]: undefined;
149
- [x: `bytes6[${string}]`]: undefined;
150
- [x: `bytes10[${string}]`]: undefined;
151
- [x: `bytes8[${string}]`]: undefined;
152
- [x: `bytes19[${string}]`]: undefined;
153
- [x: `bytes20[${string}]`]: undefined;
154
- [x: `bytes18[${string}]`]: undefined;
155
- [x: `bytes16[${string}]`]: undefined;
156
- [x: `bytes7[${string}]`]: undefined;
157
- [x: `bytes9[${string}]`]: undefined;
158
- [x: `bytes11[${string}]`]: undefined;
159
- [x: `bytes12[${string}]`]: undefined;
160
- [x: `bytes13[${string}]`]: undefined;
161
- [x: `bytes14[${string}]`]: undefined;
162
- [x: `bytes15[${string}]`]: undefined;
163
- [x: `bytes17[${string}]`]: undefined;
164
- [x: `bytes21[${string}]`]: undefined;
165
- [x: `bytes22[${string}]`]: undefined;
166
- [x: `bytes23[${string}]`]: undefined;
167
- [x: `bytes24[${string}]`]: undefined;
168
- [x: `bytes25[${string}]`]: undefined;
169
- [x: `bytes26[${string}]`]: undefined;
170
- [x: `bytes27[${string}]`]: undefined;
171
- [x: `bytes28[${string}]`]: undefined;
172
- [x: `bytes29[${string}]`]: undefined;
173
- [x: `bytes30[${string}]`]: undefined;
174
- [x: `bytes31[${string}]`]: undefined;
175
- [x: `int[${string}]`]: undefined;
176
- [x: `int48[${string}]`]: undefined;
177
- [x: `int8[${string}]`]: undefined;
178
- [x: `int16[${string}]`]: undefined;
179
- [x: `int24[${string}]`]: undefined;
180
- [x: `int32[${string}]`]: undefined;
181
- [x: `int40[${string}]`]: undefined;
182
- [x: `int56[${string}]`]: undefined;
183
- [x: `int64[${string}]`]: undefined;
184
- [x: `int72[${string}]`]: undefined;
185
- [x: `int80[${string}]`]: undefined;
186
- [x: `int88[${string}]`]: undefined;
187
- [x: `int96[${string}]`]: undefined;
188
- [x: `int104[${string}]`]: undefined;
189
- [x: `int112[${string}]`]: undefined;
190
- [x: `int120[${string}]`]: undefined;
191
- [x: `int128[${string}]`]: undefined;
192
- [x: `int136[${string}]`]: undefined;
193
- [x: `int144[${string}]`]: undefined;
194
- [x: `int152[${string}]`]: undefined;
195
- [x: `int160[${string}]`]: undefined;
196
- [x: `int168[${string}]`]: undefined;
197
- [x: `int176[${string}]`]: undefined;
198
- [x: `int184[${string}]`]: undefined;
199
- [x: `int192[${string}]`]: undefined;
200
- [x: `int200[${string}]`]: undefined;
201
- [x: `int208[${string}]`]: undefined;
202
- [x: `int216[${string}]`]: undefined;
203
- [x: `int224[${string}]`]: undefined;
204
- [x: `int232[${string}]`]: undefined;
205
- [x: `int240[${string}]`]: undefined;
206
- [x: `int248[${string}]`]: undefined;
207
- [x: `int256[${string}]`]: undefined;
208
- [x: `uint[${string}]`]: undefined;
209
- [x: `uint48[${string}]`]: undefined;
210
- [x: `uint16[${string}]`]: undefined;
211
- [x: `uint24[${string}]`]: undefined;
212
- [x: `uint40[${string}]`]: undefined;
213
- [x: `uint56[${string}]`]: undefined;
214
- [x: `uint72[${string}]`]: undefined;
215
- [x: `uint80[${string}]`]: undefined;
216
- [x: `uint88[${string}]`]: undefined;
217
- [x: `uint104[${string}]`]: undefined;
218
- [x: `uint112[${string}]`]: undefined;
219
- [x: `uint120[${string}]`]: undefined;
220
- [x: `uint128[${string}]`]: undefined;
221
- [x: `uint136[${string}]`]: undefined;
222
- [x: `uint144[${string}]`]: undefined;
223
- [x: `uint152[${string}]`]: undefined;
224
- [x: `uint160[${string}]`]: undefined;
225
- [x: `uint168[${string}]`]: undefined;
226
- [x: `uint176[${string}]`]: undefined;
227
- [x: `uint184[${string}]`]: undefined;
228
- [x: `uint192[${string}]`]: undefined;
229
- [x: `uint200[${string}]`]: undefined;
230
- [x: `uint208[${string}]`]: undefined;
231
- [x: `uint216[${string}]`]: undefined;
232
- [x: `uint224[${string}]`]: undefined;
233
- [x: `uint232[${string}]`]: undefined;
234
- [x: `uint240[${string}]`]: undefined;
235
- [x: `uint248[${string}]`]: undefined;
236
- string?: undefined;
237
- address?: undefined;
238
- uint32?: undefined;
239
- bytes32?: undefined;
240
- bytes?: undefined;
241
- uint8?: undefined;
242
- uint256?: undefined;
243
- uint96?: undefined;
244
- bool?: undefined;
245
- bytes4?: undefined;
246
- uint64?: undefined;
247
- bytes1?: undefined;
248
- bytes3?: undefined;
249
- bytes5?: undefined;
250
- bytes2?: undefined;
251
- bytes6?: undefined;
252
- bytes10?: undefined;
253
- bytes8?: undefined;
254
- bytes19?: undefined;
255
- bytes20?: undefined;
256
- bytes18?: undefined;
257
- bytes16?: undefined;
258
- bytes7?: undefined;
259
- bytes9?: undefined;
260
- bytes11?: undefined;
261
- bytes12?: undefined;
262
- bytes13?: undefined;
263
- bytes14?: undefined;
264
- bytes15?: undefined;
265
- bytes17?: undefined;
266
- bytes21?: undefined;
267
- bytes22?: undefined;
268
- bytes23?: undefined;
269
- bytes24?: undefined;
270
- bytes25?: undefined;
271
- bytes26?: undefined;
272
- bytes27?: undefined;
273
- bytes28?: undefined;
274
- bytes29?: undefined;
275
- bytes30?: undefined;
276
- bytes31?: undefined;
277
- int48?: undefined;
278
- int8?: undefined;
279
- int16?: undefined;
280
- int24?: undefined;
281
- int32?: undefined;
282
- int40?: undefined;
283
- int56?: undefined;
284
- int64?: undefined;
285
- int72?: undefined;
286
- int80?: undefined;
287
- int88?: undefined;
288
- int96?: undefined;
289
- int104?: undefined;
290
- int112?: undefined;
291
- int120?: undefined;
292
- int128?: undefined;
293
- int136?: undefined;
294
- int144?: undefined;
295
- int152?: undefined;
296
- int160?: undefined;
297
- int168?: undefined;
298
- int176?: undefined;
299
- int184?: undefined;
300
- int192?: undefined;
301
- int200?: undefined;
302
- int208?: undefined;
303
- int216?: undefined;
304
- int224?: undefined;
305
- int232?: undefined;
306
- int240?: undefined;
307
- int248?: undefined;
308
- int256?: undefined;
309
- uint48?: undefined;
310
- uint16?: undefined;
311
- uint24?: undefined;
312
- uint40?: undefined;
313
- uint56?: undefined;
314
- uint72?: undefined;
315
- uint80?: undefined;
316
- uint88?: undefined;
317
- uint104?: undefined;
318
- uint112?: undefined;
319
- uint120?: undefined;
320
- uint128?: undefined;
321
- uint136?: undefined;
322
- uint144?: undefined;
323
- uint152?: undefined;
324
- uint160?: undefined;
325
- uint168?: undefined;
326
- uint176?: undefined;
327
- uint184?: undefined;
328
- uint192?: undefined;
329
- uint200?: undefined;
330
- uint208?: undefined;
331
- uint216?: undefined;
332
- uint224?: undefined;
333
- uint232?: undefined;
334
- uint240?: undefined;
335
- uint248?: undefined;
336
- } | {
337
- [key: string]: unknown;
338
- }, TPrimaryType extends string>(args: import("viem").SignTypedDataParameters<TTypedData, TPrimaryType, undefined>) => Promise<`0x${string}`>;
339
- switchChain: (args: import("viem").SwitchChainParameters) => Promise<void>;
340
- watchAsset: (args: import("viem").WatchAssetParams) => Promise<boolean>;
341
- writeContract: <const TAbi_1 extends import("viem").Abi | readonly unknown[], TFunctionName extends string, TChainOverride_4 extends import("viem").Chain | undefined = undefined>(args: import("viem").WriteContractParameters<TAbi_1, TFunctionName, import("viem/_types/types/utils").Assign<{
342
- readonly id: 31337;
343
- readonly name: "Foundry";
344
- readonly network: "foundry";
345
- readonly nativeCurrency: {
346
- readonly decimals: 18;
347
- readonly name: "Ether";
348
- readonly symbol: "ETH";
349
- };
350
- readonly rpcUrls: {
351
- readonly default: {
352
- readonly http: readonly ["http://127.0.0.1:8545"];
353
- readonly webSocket: readonly ["ws://127.0.0.1:8545"];
354
- };
355
- readonly public: {
356
- readonly http: readonly ["http://127.0.0.1:8545"];
357
- readonly webSocket: readonly ["ws://127.0.0.1:8545"];
358
- };
359
- };
360
- }, import("viem/_types/types/chain").ChainConfig<undefined>>, undefined, TChainOverride_4>) => Promise<`0x${string}`>;
361
- extend: <const client extends {
362
- [x: string]: unknown;
363
- account?: undefined;
364
- batch?: undefined;
365
- cacheTime?: undefined;
366
- chain?: undefined;
367
- key?: undefined;
368
- name?: undefined;
369
- pollingInterval?: undefined;
370
- request?: undefined;
371
- transport?: undefined;
372
- type?: undefined;
373
- uid?: undefined;
374
- } & Partial<Pick<import("viem").PublicActions, "call" | "createContractEventFilter" | "createEventFilter" | "estimateContractGas" | "estimateGas" | "getBlock" | "getBlockNumber" | "getChainId" | "getContractEvents" | "getEnsText" | "getFilterChanges" | "getGasPrice" | "getLogs" | "getTransaction" | "getTransactionCount" | "getTransactionReceipt" | "prepareTransactionRequest" | "readContract" | "sendRawTransaction" | "simulateContract" | "uninstallFilter" | "watchBlockNumber" | "watchContractEvent"> & Pick<import("viem").WalletActions, "sendTransaction" | "writeContract">>>(fn: (client: import("viem").Client<import("viem").HttpTransport, import("viem/_types/types/utils").Assign<{
375
- readonly id: 31337;
376
- readonly name: "Foundry";
377
- readonly network: "foundry";
378
- readonly nativeCurrency: {
379
- readonly decimals: 18;
380
- readonly name: "Ether";
381
- readonly symbol: "ETH";
382
- };
383
- readonly rpcUrls: {
384
- readonly default: {
385
- readonly http: readonly ["http://127.0.0.1:8545"];
386
- readonly webSocket: readonly ["ws://127.0.0.1:8545"];
387
- };
388
- readonly public: {
389
- readonly http: readonly ["http://127.0.0.1:8545"];
390
- readonly webSocket: readonly ["ws://127.0.0.1:8545"];
391
- };
392
- };
393
- }, import("viem/_types/types/chain").ChainConfig<undefined>>, undefined, import("viem").WalletRpcSchema, import("viem").WalletActions<import("viem/_types/types/utils").Assign<{
394
- readonly id: 31337;
395
- readonly name: "Foundry";
396
- readonly network: "foundry";
397
- readonly nativeCurrency: {
398
- readonly decimals: 18;
399
- readonly name: "Ether";
400
- readonly symbol: "ETH";
401
- };
402
- readonly rpcUrls: {
403
- readonly default: {
404
- readonly http: readonly ["http://127.0.0.1:8545"];
405
- readonly webSocket: readonly ["ws://127.0.0.1:8545"];
406
- };
407
- readonly public: {
408
- readonly http: readonly ["http://127.0.0.1:8545"];
409
- readonly webSocket: readonly ["ws://127.0.0.1:8545"];
410
- };
411
- };
412
- }, import("viem/_types/types/chain").ChainConfig<undefined>>, undefined>>) => client) => import("viem").Client<import("viem").HttpTransport, import("viem/_types/types/utils").Assign<{
413
- readonly id: 31337;
414
- readonly name: "Foundry";
415
- readonly network: "foundry";
416
- readonly nativeCurrency: {
417
- readonly decimals: 18;
418
- readonly name: "Ether";
419
- readonly symbol: "ETH";
420
- };
421
- readonly rpcUrls: {
422
- readonly default: {
423
- readonly http: readonly ["http://127.0.0.1:8545"];
424
- readonly webSocket: readonly ["ws://127.0.0.1:8545"];
425
- };
426
- readonly public: {
427
- readonly http: readonly ["http://127.0.0.1:8545"];
428
- readonly webSocket: readonly ["ws://127.0.0.1:8545"];
429
- };
430
- };
431
- }, import("viem/_types/types/chain").ChainConfig<undefined>>, undefined, import("viem").WalletRpcSchema, { [K in keyof client]: client[K]; } & import("viem").WalletActions<import("viem/_types/types/utils").Assign<{
432
- readonly id: 31337;
433
- readonly name: "Foundry";
434
- readonly network: "foundry";
435
- readonly nativeCurrency: {
436
- readonly decimals: 18;
437
- readonly name: "Ether";
438
- readonly symbol: "ETH";
439
- };
440
- readonly rpcUrls: {
441
- readonly default: {
442
- readonly http: readonly ["http://127.0.0.1:8545"];
443
- readonly webSocket: readonly ["ws://127.0.0.1:8545"];
444
- };
445
- readonly public: {
446
- readonly http: readonly ["http://127.0.0.1:8545"];
447
- readonly webSocket: readonly ["ws://127.0.0.1:8545"];
448
- };
449
- };
450
- }, import("viem/_types/types/chain").ChainConfig<undefined>>, undefined>>;
451
- };
452
- //# sourceMappingURL=batchPublish.test.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"batchPublish.test.d.ts","sourceRoot":"","sources":["../../package/batchPublish.test.ts"],"names":[],"mappings":"AAwBA,eAAO,MAAM,uBAAuB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAGlC,CAAC"}
@@ -1 +0,0 @@
1
- {"version":3,"file":"chainConfigs.d.ts","sourceRoot":"","sources":["../../package/chainConfigs.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,YAAY;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAiDtB,CAAC"}
@@ -1 +0,0 @@
1
- {"version":3,"file":"deployment.d.ts","sourceRoot":"","sources":["../../package/deployment.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,EAAE,YAAY,EAAE,GAAG,EAAE,MAAM,MAAM,CAAC;AAElD,MAAM,MAAM,cAAc,GAAG,KAAK,MAAM,EAAE,CAAC;AAE3C,MAAM,MAAM,6BAA6B,GAAG;IAC1C,oBAAoB,EAAE,OAAO,CAAC;IAC9B,aAAa,EAAE,cAAc,CAAC;IAC9B,SAAS,EAAE,cAAc,CAAC;IAC1B,iBAAiB,EAAE,GAAG,CAAC;CACxB,CAAC;AAEF,MAAM,MAAM,8BAA8B,GAAG;IAC3C,YAAY,EAAE,GAAG,CAAC;IAClB,IAAI,EAAE,GAAG,CAAC;IACV,eAAe,EAAE,OAAO,CAAC;IACzB,kBAAkB,EAAE,OAAO,CAAC;IAC5B,oBAAoB,EAAE,OAAO,CAAC;CAC/B,CAAC;AAEF,MAAM,MAAM,iBAAiB,GAAG;IAC9B,kBAAkB,EAAE,OAAO,CAAC;CAC7B,CAAC;AAEF,eAAO,MAAM,iBAAiB;aAOnB,YAAY;mCACU,6BAA6B;2BACrC,OAAO;WACvB,OAAO;aACL,MAAM;4BA0Bb,CAAC;AAEL,eAAO,MAAM,iBAAiB;aAMnB,YAAY;YACb,8BAA8B;cAC5B,GAAG;aACJ,MAAM;4BAsBb,CAAC"}
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../package/index.ts"],"names":[],"mappings":"AAGA,cAAc,kBAAkB,CAAC;AACjC,OAAO,EAAE,YAAY,EAAE,MAAM,gBAAgB,CAAC"}
@@ -1,2 +0,0 @@
1
- export {};
2
- //# sourceMappingURL=copy-deployed-contracts.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"copy-deployed-contracts.d.ts","sourceRoot":"","sources":["../../script/copy-deployed-contracts.ts"],"names":[],"mappings":""}
@@ -1,2 +0,0 @@
1
- export {};
2
- //# sourceMappingURL=signDeploymentTransactions.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"signDeploymentTransactions.d.ts","sourceRoot":"","sources":["../../script/signDeploymentTransactions.ts"],"names":[],"mappings":""}
package/foundry.toml DELETED
@@ -1,41 +0,0 @@
1
- [profile.default]
2
- fs_permissions = [
3
- { access = "read", path = "./addresses" },
4
- { access = "read", path = "./chainConfigs" },
5
- { access = "read", path = "./package.json" },
6
- { access = "readwrite", path = "./deterministicConfig" },
7
- ]
8
- libs = ['_imagine', 'node_modules', 'script']
9
- allow_paths = [
10
- "node_modules/@zoralabs/protocol-rewards",
11
- "node_modules/@zoralabs/zora-1155-contracts",
12
- ]
13
- optimizer = true
14
- optimizer_runs = 50
15
- via_ir = true
16
- solc_version = '0.8.17'
17
- out = 'out'
18
- src = 'src'
19
-
20
- [profile.dev]
21
- optimizer = false
22
- optimizer_runs = 0
23
- via_ir = false
24
-
25
- [rpc_endpoints]
26
- goerli = "https://eth-goerli.g.alchemy.com/v2/${ALCHEMY_KEY}"
27
- sepolia = "https://eth-sepolia.g.alchemy.com/v2/${ALCHEMY_KEY}"
28
- mainnet = "https://eth-mainnet.g.alchemy.com/v2/${ALCHEMY_KEY}"
29
- # for optimism, since we are just using this for deployment/fork testing,
30
- # we can use these since they're lower volume.
31
- base = "https://base-mainnet.g.alchemy.com/v2/${ALCHEMY_KEY}"
32
- base_goerli = "https://base-goerli.g.alchemy.com/v2/${ALCHEMY_KEY}"
33
- optimism = "https://opt-mainnet.g.alchemy.com/v2/${ALCHEMY_KEY}"
34
- optimism_goerli = "https://opt-goerli.g.alchemy.com/v2/${ALCHEMY_KEY}"
35
- pgn = "https://rpc.publicgoods.network"
36
- pgn_sepolia = "https://sepolia.publicgoods.network"
37
- zora = "https://rpc.zora.energy/${CONDUIT_KEY}"
38
- zora_goerli = "https://testnet.rpc.zora.energy/${CONDUIT_KEY}"
39
- zora_sepolia = "https://sepolia.rpc.zora.energy/${CONDUIT_KEY}"
40
-
41
- # See more config options https://github.com/foundry-rs/foundry/tree/master/config