@zoralabs/protocol-deployments 0.3.8-COMMENTS.0 → 0.3.8

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.
@@ -1,7 +1,7 @@
1
1
  import { Address, TypedDataToPrimitiveTypes } from "abitype";
2
2
  import { TypedDataDefinition } from "viem";
3
3
  import { zoraMints1155Address, sponsoredSparksSpenderAddress } from "./generated/wagmi";
4
- import { PremintConfigEncoded, PremintConfigV1, PremintConfigV2, PremintConfigVersion, PremintConfigWithVersion, PermitComment, PermitSparkComment, PermitMintAndComment, PermitBuyOnSecondaryAndComment } from "./types";
4
+ import { PremintConfigEncoded, PremintConfigV1, PremintConfigV2, PremintConfigVersion, PremintConfigWithVersion } from "./types";
5
5
  declare const premintV1TypedDataType: {
6
6
  readonly CreatorAttribution: readonly [{
7
7
  readonly name: "tokenConfig";
@@ -230,238 +230,5 @@ export declare const sponsoredSparksBatchTypedDataDefinition: ({ chainId, messag
230
230
  chainId: keyof typeof sponsoredSparksSpenderAddress;
231
231
  message: TypedDataToPrimitiveTypes<typeof sponsoredSparksBatchTransferTypedDataType>["SponsoredMintBatch"];
232
232
  }) => TypedDataDefinition<typeof sponsoredSparksBatchTransferTypedDataType, "SponsoredMintBatch">;
233
- /**
234
- * Generates the typed data definition for a permit comment, for cross-chain commenting.
235
- *
236
- * The permit allows a user to sign a comment message on one chain, which can then be
237
- * submitted by anyone on the destination chain to execute the comment action.
238
- *
239
- * The permit includes details such as the comment text, the commenter's address,
240
- * the comment being replied to, and chain IDs for the source and destination chains.
241
- *
242
- * The typed data is generated in a way that makes the signature happen on the source chain
243
- * but be valid to be executed on the destination chain.
244
- *
245
- * @param message - The {@link PermitComment} containing the details of the comment permit.
246
- * @param signingAccount - (optional) The account that is signing the message, if different thatn the commentor.
247
- * Only needed if the commentor is a smart wallet; in this case the signing account should be an account
248
- * that is one of the smart wallet owners.
249
- * @returns A {@link TypedDataDefinition} object compatible with EIP-712 for structured data hashing and signing,
250
- * including types, message, primary type, domain, and the signer's account address, which is
251
- * the commenter's address.
252
- */
253
- export declare const permitCommentTypedDataDefinition: (message: PermitComment, signingAccount?: Address) => TypedDataDefinition<{
254
- readonly PermitComment: readonly [{
255
- readonly name: "contractAddress";
256
- readonly type: "address";
257
- }, {
258
- readonly name: "tokenId";
259
- readonly type: "uint256";
260
- }, {
261
- readonly name: "commenter";
262
- readonly type: "address";
263
- }, {
264
- readonly name: "replyTo";
265
- readonly type: "CommentIdentifier";
266
- }, {
267
- readonly name: "text";
268
- readonly type: "string";
269
- }, {
270
- readonly name: "deadline";
271
- readonly type: "uint256";
272
- }, {
273
- readonly name: "nonce";
274
- readonly type: "bytes32";
275
- }, {
276
- readonly name: "commenterSmartWallet";
277
- readonly type: "address";
278
- }, {
279
- readonly name: "referrer";
280
- readonly type: "address";
281
- }, {
282
- readonly name: "sourceChainId";
283
- readonly type: "uint32";
284
- }, {
285
- readonly name: "destinationChainId";
286
- readonly type: "uint32";
287
- }];
288
- readonly CommentIdentifier: readonly [{
289
- readonly name: "contractAddress";
290
- readonly type: "address";
291
- }, {
292
- readonly name: "tokenId";
293
- readonly type: "uint256";
294
- }, {
295
- readonly name: "commenter";
296
- readonly type: "address";
297
- }, {
298
- readonly name: "nonce";
299
- readonly type: "bytes32";
300
- }];
301
- }, "PermitComment"> & {
302
- account: Address;
303
- };
304
- /**
305
- * Generates the typed data definition for a permit spark comment, for cross-chain sparking (liking with value) of comments.
306
- *
307
- * The permit allows a user to sign a spark comment message on one chain, which can then be
308
- * submitted by anyone on the destination chain to execute the spark action.
309
- *
310
- * The permit includes details such as the comment to be sparked, the sparker's address,
311
- * the quantity of sparks, and the source and destination chain ids.
312
- *
313
- * The typed data is generated in a way that makes the signature happen on the source chain
314
- * but be valid to be executed on the destination chain.
315
- *
316
- * @param message - The {@link PermitSparkComment} containing the details of the spark comment permit.
317
- * @param signingAccount - (optional) The account that is signing the message, if different than the commenter.
318
- * Only needed if the commenter is a smart wallet; in this case the signing account should be an account
319
- * that is one of the smart wallet owners.
320
- * @returns A {@link TypedDataDefinition} object compatible with EIP-712 for structured data hashing and signing,
321
- * including types, message, primary type, domain, and the signer's account address, which is
322
- * the sparker's address.
323
- */
324
- export declare const permitSparkCommentTypedDataDefinition: (message: PermitSparkComment, signingAccount?: Address) => TypedDataDefinition<{
325
- readonly PermitSparkComment: readonly [{
326
- readonly name: "comment";
327
- readonly type: "CommentIdentifier";
328
- }, {
329
- readonly name: "sparker";
330
- readonly type: "address";
331
- }, {
332
- readonly name: "sparksQuantity";
333
- readonly type: "uint256";
334
- }, {
335
- readonly name: "deadline";
336
- readonly type: "uint256";
337
- }, {
338
- readonly name: "nonce";
339
- readonly type: "bytes32";
340
- }, {
341
- readonly name: "referrer";
342
- readonly type: "address";
343
- }, {
344
- readonly name: "sourceChainId";
345
- readonly type: "uint32";
346
- }, {
347
- readonly name: "destinationChainId";
348
- readonly type: "uint32";
349
- }];
350
- readonly CommentIdentifier: readonly [{
351
- readonly name: "contractAddress";
352
- readonly type: "address";
353
- }, {
354
- readonly name: "tokenId";
355
- readonly type: "uint256";
356
- }, {
357
- readonly name: "commenter";
358
- readonly type: "address";
359
- }, {
360
- readonly name: "nonce";
361
- readonly type: "bytes32";
362
- }];
363
- }, "PermitSparkComment"> & {
364
- account: Address;
365
- };
366
- export declare const sparkValue: () => bigint;
367
- /**
368
- * Generates the typed data definition for a permit timed sale mint and comment operation.
369
- *
370
- * This function creates a structured data object that can be used for EIP-712 signing,
371
- * allowing users to sign a message on one chain that permits a timed sale mint and comment
372
- * action to be executed on another chain.
373
- *
374
- * @param message - The {@link PermitMintAndComment} containing the details of the permit.
375
- * @param signingAccount - (optional) The account that is signing the message, if different from the commenter.
376
- * This is typically used when the commenter is a smart wallet, and the signing account is one of its owners.
377
- * @returns A {@link TypedDataDefinition} object compatible with EIP-712 for structured data hashing and signing,
378
- * including types, message, primary type, domain, and the signer's account address.
379
- */
380
- export declare const permitMintAndCommentTypedDataDefinition: (message: PermitMintAndComment, signingAccount?: Address) => TypedDataDefinition<{
381
- readonly PermitTimedSaleMintAndComment: readonly [{
382
- readonly name: "commenter";
383
- readonly type: "address";
384
- }, {
385
- readonly name: "quantity";
386
- readonly type: "uint256";
387
- }, {
388
- readonly name: "collection";
389
- readonly type: "address";
390
- }, {
391
- readonly name: "tokenId";
392
- readonly type: "uint256";
393
- }, {
394
- readonly name: "mintReferral";
395
- readonly type: "address";
396
- }, {
397
- readonly name: "comment";
398
- readonly type: "string";
399
- }, {
400
- readonly name: "deadline";
401
- readonly type: "uint256";
402
- }, {
403
- readonly name: "nonce";
404
- readonly type: "bytes32";
405
- }, {
406
- readonly name: "sourceChainId";
407
- readonly type: "uint32";
408
- }, {
409
- readonly name: "destinationChainId";
410
- readonly type: "uint32";
411
- }];
412
- }, "PermitTimedSaleMintAndComment"> & {
413
- account: Address;
414
- };
415
- /**
416
- * Generates the typed data definition for a permit buy on secondary and comment operation.
417
- *
418
- * This function creates a structured data object that can be used for EIP-712 signing,
419
- * allowing users to sign a message on one chain that permits a buy on secondary market and comment
420
- * action to be executed on another chain.
421
- *
422
- * @param message - The {@link PermitBuyOnSecondaryAndComment} containing the details of the permit.
423
- * @param signingAccount - (optional) The account that is signing the message, if different from the commenter.
424
- * This is typically used when the commenter is a smart wallet, and the signing account is one of its owners.
425
- * @returns A {@link TypedDataDefinition} object compatible with EIP-712 for structured data hashing and signing,
426
- * including types, message, primary type, domain, and the signer's account address.
427
- */
428
- export declare const permitBuyOnSecondaryAndCommentTypedDataDefinition: (message: PermitBuyOnSecondaryAndComment, signingAccount?: Address) => TypedDataDefinition<{
429
- readonly PermitBuyOnSecondaryAndComment: readonly [{
430
- readonly name: "commenter";
431
- readonly type: "address";
432
- }, {
433
- readonly name: "quantity";
434
- readonly type: "uint256";
435
- }, {
436
- readonly name: "collection";
437
- readonly type: "address";
438
- }, {
439
- readonly name: "tokenId";
440
- readonly type: "uint256";
441
- }, {
442
- readonly name: "maxEthToSpend";
443
- readonly type: "uint256";
444
- }, {
445
- readonly name: "sqrtPriceLimitX96";
446
- readonly type: "uint160";
447
- }, {
448
- readonly name: "comment";
449
- readonly type: "string";
450
- }, {
451
- readonly name: "deadline";
452
- readonly type: "uint256";
453
- }, {
454
- readonly name: "nonce";
455
- readonly type: "bytes32";
456
- }, {
457
- readonly name: "sourceChainId";
458
- readonly type: "uint32";
459
- }, {
460
- readonly name: "destinationChainId";
461
- readonly type: "uint32";
462
- }];
463
- }, "PermitBuyOnSecondaryAndComment"> & {
464
- account: Address;
465
- };
466
233
  export {};
467
234
  //# sourceMappingURL=typedData.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"typedData.d.ts","sourceRoot":"","sources":["../src/typedData.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,OAAO,EAGP,yBAAyB,EAC1B,MAAM,SAAS,CAAC;AACjB,OAAO,EAEL,mBAAmB,EAMpB,MAAM,MAAM,CAAC;AACd,OAAO,EACL,oBAAoB,EAEpB,6BAA6B,EAG9B,MAAM,mBAAmB,CAAC;AAC3B,OAAO,EACL,oBAAoB,EACpB,eAAe,EACf,eAAe,EACf,oBAAoB,EACpB,wBAAwB,EAKxB,aAAa,EACb,kBAAkB,EAClB,oBAAoB,EACpB,8BAA8B,EAC/B,MAAM,SAAS,CAAC;AAiBjB,QAAA,MAAM,sBAAsB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAuBE,CAAC;AA8C/B,eAAO,MAAM,mBAAmB,GAAI,CAAC,SAAS,oBAAoB,4CAG/D,wBAAwB,CAAC,CAAC,CAAC,KAAG,oBAahC,CAAC;AAEF;;;GAGG;AACH,eAAO,MAAM,4BAA4B,+CAItC;IACD,OAAO,EAAE,MAAM,CAAC;IAChB,mBAAmB,EAAE,OAAO,CAAC;IAC7B,OAAO,EAAE,eAAe,CAAC;CAC1B,KAAG,mBAAmB,CACrB,OAAO,sBAAsB,EAC7B,oBAAoB,CAUpB,CAAC;AAEH,QAAA,MAAM,s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AI,CAAC,SAAS,oBAAoB,iFAKtE,+BAA+B,CAAC,CAAC,CAAC,KAAG,mBAgBvC,CAAC;AAEF,QAAA,MAAM,+BAA+B;;;;;;;;;;;;;;;;;;;;;;;CAU3B,CAAC;AAEX;;GAEG;AACH,eAAO,MAAM,oCAAoC,0BAG9C;IACD,OAAO,EAAE,MAAM,OAAO,oBAAoB,CAAC;IAC3C,OAAO,EAAE,yBAAyB,CAChC,OAAO,+BAA+B,CACvC,CAAC,oBAAoB,CAAC,CAAC;CACzB,KAAG,mBAAmB,CACrB,OAAO,+BAA+B,EACtC,oBAAoB,CAWpB,CAAC;AAEH,QAAA,MAAM,oCAAoC;;;;;;;;;;;;;;;;;;;;;;;CA+BhC,CAAC;AAEX;;;GAGG;AACH,eAAO,MAAM,yCAAyC,0BAGnD;IACD,OAAO,EAAE,MAAM,OAAO,oBAAoB,CAAC;IAC3C,OAAO,EAAE,yBAAyB,CAChC,OAAO,oCAAoC,CAC5C,CAAC,QAAQ,CAAC,CAAC;CACb,KAAG,mBAAmB,CACrB,OAAO,oCAAoC,EAC3C,QAAQ,CAWR,CAAC;AAEH,eAAO,MAAM,yCAAyC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CA2C5C,CAAC;AAEX;;;GAGG;AACH,eAAO,MAAM,uCAAuC,0BAGjD;IACD,OAAO,EAAE,MAAM,OAAO,6BAA6B,CAAC;IACpD,OAAO,EAAE,yBAAyB,CAChC,OAAO,yCAAyC,CACjD,CAAC,oBAAoB,CAAC,CAAC;CACzB,KAAG,mBAAmB,CACrB,OAAO,yCAAyC,EAChD,oBAAoB,CAWpB,CAAC"}
package/dist/types.d.ts CHANGED
@@ -1,7 +1,6 @@
1
1
  import { ExtractAbiFunction, AbiParametersToPrimitiveTypes } from "abitype";
2
2
  import { zoraCreator1155PremintExecutorImplABI, iPremintDefinitionsABI, sponsoredSparksSpenderABI } from "./generated/wagmi";
3
3
  import { Address } from "viem";
4
- import { commentsABI, callerAndCommenterABI } from "./generated/wagmi";
5
4
  export declare enum PremintConfigVersion {
6
5
  V1 = "1",
7
6
  V2 = "2",
@@ -42,39 +41,5 @@ export type TokenConfigWithVersion<T extends PremintConfigVersion> = {
42
41
  premintConfigVersion: T;
43
42
  };
44
43
  export type SponsoredSparksBatch = AbiParametersToPrimitiveTypes<ExtractAbiFunction<typeof sponsoredSparksSpenderABI, "hashSponsoredMint">["inputs"]>[0];
45
- export type CommentIdentifier = AbiParametersToPrimitiveTypes<ExtractAbiFunction<typeof commentsABI, "hashCommentIdentifier">["inputs"]>[0];
46
- export declare const emptyCommentIdentifier: () => CommentIdentifier;
47
- /**
48
- * The PermitComment type represents the data structure for a permit comment,
49
- * for cross-chain commenting, where a user can sign a comment message on one chain,
50
- * which can then be submitted by anyone on the destination chain to execute the comment action.
51
- *
52
- * The permit includes details such as the comment text, the commenter's address,
53
- * the comment being replied to, and chain IDs for the source and destination chains.
54
- */
55
- export type PermitComment = AbiParametersToPrimitiveTypes<ExtractAbiFunction<typeof commentsABI, "hashPermitComment">["inputs"]>[0];
56
- /**
57
- * The PermitSparkComment type represents the data structure for a permit spark comment,
58
- * for cross-chain sparking (liking with value) of comments, where a user can sign a spark comment message on one chain,
59
- * which can then be submitted by anyone on the destination chain to execute the spark action.
60
- *
61
- * The permit includes details such as the comment to be sparked, the sparker's address,
62
- * the quantity of sparks, and chain IDs for the source and destination chains.
63
- */
64
- export type PermitSparkComment = AbiParametersToPrimitiveTypes<ExtractAbiFunction<typeof commentsABI, "hashPermitSparkComment">["inputs"]>[0];
65
- /**
66
- * The PermitTimedSaleMintAndComment type represents the data structure for a permit timed sale mint and comment,
67
- * where a user can sign a message to mint during a timed sale and leave a comment in a single transaction.
68
- * This can be executed on the destination chain by anyone.
69
- *
70
- * The permit includes details such as the minting parameters, comment text, and chain IDs for the source and destination chains.
71
- */
72
- export type PermitMintAndComment = AbiParametersToPrimitiveTypes<ExtractAbiFunction<typeof callerAndCommenterABI, "hashPermitTimedSaleMintAndComment">["inputs"]>[0];
73
- /**
74
- * The PermitBuyOnSecondaryAndComment type represents the data structure for a permit buy on secondary market and comment,
75
- * where a user can sign a message to buy on secondary market and leave a comment in a single transaction.
76
- * This can be executed on the destination chain by anyone.
77
- */
78
- export type PermitBuyOnSecondaryAndComment = AbiParametersToPrimitiveTypes<ExtractAbiFunction<typeof callerAndCommenterABI, "hashPermitBuyOnSecondaryAndComment">["inputs"]>[0];
79
44
  export {};
80
45
  //# sourceMappingURL=types.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../src/types.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,kBAAkB,EAAE,6BAA6B,EAAE,MAAM,SAAS,CAAC;AAE5E,OAAO,EACL,qCAAqC,EACrC,sBAAsB,EACtB,yBAAyB,EAC1B,MAAM,mBAAmB,CAAC;AAC3B,OAAO,EAAE,OAAO,EAAE,MAAM,MAAM,CAAC;AAE/B,OAAO,EAAE,WAAW,EAAE,qBAAqB,EAAE,MAAM,mBAAmB,CAAC;AAEvE,oBAAY,oBAAoB;IAC9B,EAAE,MAAM;IACR,EAAE,MAAM;IACR,EAAE,MAAM;CACT;AAED,MAAM,MAAM,sBAAsB,GAAG,IAAI,CACvC,6BAA6B,CAC3B,kBAAkB,CAChB,OAAO,qCAAqC,EAC5C,SAAS,CACV,CAAC,QAAQ,CAAC,CACZ,CAAC,CAAC,CAAC,EACJ,kBAAkB,CACnB,GAAG;IACF,gBAAgB,EAAE,OAAO,EAAE,CAAC;CAC7B,CAAC;AAEF,MAAM,MAAM,qBAAqB,GAAG,6BAA6B,CAC/D,kBAAkB,CAChB,OAAO,sBAAsB,EAC7B,yBAAyB,CAC1B,CAAC,QAAQ,CAAC,CACZ,CAAC,CAAC,CAAC,CAAC;AAEL,MAAM,MAAM,qBAAqB,GAAG,6BAA6B,CAC/D,kBAAkB,CAChB,OAAO,sBAAsB,EAC7B,yBAAyB,CAC1B,CAAC,QAAQ,CAAC,CACZ,CAAC,CAAC,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AuB,GAC/B,wBAAwB,CAAC,oBAAoB,CAAC,EAAE,CAAC,GACjD,wBAAwB,CAAC,oBAAoB,CAAC,EAAE,CAAC,GACjD,wBAAwB,CAAC,oBAAoB,CAAC,EAAE,CAAC,CAAC;AAEtD,MAAM,MAAM,aAAa,GAAG,eAAe,GAAG,eAAe,CAAC;AAE9D,MAAM,MAAM,mBAAmB,GAC3B,qBAAqB,GACrB,qBAAqB,GACrB,qBAAqB,CAAC;AAE1B,MAAM,MAAM,mCAAmC,CAAC,CAAC,SAAS,mBAAmB,IAC3E,CAAC,SAAS,qBAAqB,GAC3B,eAAe,GACf,CAAC,SAAS,qBAAqB,GAC7B,eAAe,GACf,eAAe,CAAC;AAExB,MAAM,MAAM,qBAAqB,CAAC,CAAC,SAAS,oBAAoB,IAC9D,uBAAuB,CAAC,CAAC,CAAC,CAAC,aAAa,CAAC,CAAC;AAE5C,MAAM,MAAM,sBAAsB,CAAC,CAAC,SAAS,oBAAoB,IAAI;IACnE,WAAW,EAAE,qBAAqB,CAAC,CAAC,CAAC,CAAC;IACtC,oBAAoB,EAAE,CAAC,CAAC;CACzB,CAAC;AAEF,MAAM,MAAM,oBAAoB,GAAG,6BAA6B,CAC9D,kBAAkB,CAChB,OAAO,yBAAyB,EAChC,mBAAmB,CACpB,CAAC,QAAQ,CAAC,CACZ,CAAC,CAAC,CAAC,CAAC"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@zoralabs/protocol-deployments",
3
- "version": "0.3.8-COMMENTS.0",
3
+ "version": "0.3.8",
4
4
  "repository": "https://github.com/ourzora/zora-protocol",
5
5
  "license": "MIT",
6
6
  "type": "module",
@@ -62,10 +62,10 @@ export const chainConfigs = {
62
62
  };
63
63
  export const addresses = {
64
64
  1: {
65
- CONTRACT_1155_IMPL: "0x24dFa406bC27Bc717419c35330D0332E444CF07C",
66
- CONTRACT_1155_IMPL_VERSION: "2.12.3",
65
+ CONTRACT_1155_IMPL: "0x7FB277e8a6584D76bBbc72980719F36936825e29",
66
+ CONTRACT_1155_IMPL_VERSION: "2.13.0",
67
67
  ERC20_MINTER: "0x777777E8850d8D6d98De2B5f64fae401F96eFF31",
68
- FACTORY_IMPL: "0xA0CFBEA2fe941EaE373aEB3359b0171f3F194c35",
68
+ FACTORY_IMPL: "0x0379e37302e9d57fFd657F87e1180273826CE84F",
69
69
  FACTORY_PROXY: "0x777777C338d93e2C7adf08D102d45CA7CC4Ed021",
70
70
  FIXED_PRICE_SALE_STRATEGY: "0x04E2516A2c207E84a1839755675dfd8eF6302F0a",
71
71
  MERKLE_MINT_SALE_STRATEGY: "0xf48172CA3B6068B20eE4917Eb27b5472f1f272C7",
@@ -73,7 +73,7 @@ export const addresses = {
73
73
  PREMINTER_PROXY: "0x7777773606e7e46C8Ba8B98C08f5cD218e31d340",
74
74
  REDEEM_MINTER_FACTORY: "0x78964965cF77850224513a367f899435C5B69174",
75
75
  UPGRADE_GATE: "0xbC50029836A59A4E5e1Bb8988272F46ebA0F9900",
76
- timestamp: 1722801891,
76
+ timestamp: 1730734767,
77
77
  },
78
78
  10: {
79
79
  CONTRACT_1155_IMPL: "0x00802284A7976cE5bd200c7aBA2a8A8Fd52cFf1d",
@@ -117,10 +117,10 @@ export const addresses = {
117
117
  timestamp: 1729791239,
118
118
  },
119
119
  42161: {
120
- CONTRACT_1155_IMPL: "0x3678862f04290E565cCA2EF163BAeb92Bb76790C",
121
- CONTRACT_1155_IMPL_VERSION: "2.12.3",
120
+ CONTRACT_1155_IMPL: "0xCf0B4Acab081169D12b729c3Bd1c6E7bbAB820Da",
121
+ CONTRACT_1155_IMPL_VERSION: "2.13.0",
122
122
  ERC20_MINTER: "0x777777E8850d8D6d98De2B5f64fae401F96eFF31",
123
- FACTORY_IMPL: "0x899ce31dF6C6Af81203AcAaD285bF539234eF4b8",
123
+ FACTORY_IMPL: "0x8a5027ea12f45a13deb6CB96A07913c6e192BE84",
124
124
  FACTORY_PROXY: "0x777777C338d93e2C7adf08D102d45CA7CC4Ed021",
125
125
  FIXED_PRICE_SALE_STRATEGY: "0x1Cd1C1f3b8B779B50Db23155F2Cb244FCcA06B21",
126
126
  MERKLE_MINT_SALE_STRATEGY: "0xe770E6f19aecF8ef3145A50087999b5556aB3610",
@@ -128,13 +128,13 @@ export const addresses = {
128
128
  PREMINTER_PROXY: "0x7777773606e7e46C8Ba8B98C08f5cD218e31d340",
129
129
  REDEEM_MINTER_FACTORY: "0x69bB4A24EBD8b1B87AF4538E0Ca3075b7E398c3D",
130
130
  UPGRADE_GATE: "0xbC50029836A59A4E5e1Bb8988272F46ebA0F9900",
131
- timestamp: 1722524613,
131
+ timestamp: 1730736352,
132
132
  },
133
133
  81457: {
134
- CONTRACT_1155_IMPL: "0x3Ed969bf88166B85608C13b633242611F6220a14",
135
- CONTRACT_1155_IMPL_VERSION: "2.12.3",
134
+ CONTRACT_1155_IMPL: "0x7B59c0378F540c0356A5DAEF7574255A7C74EC76",
135
+ CONTRACT_1155_IMPL_VERSION: "2.13.0",
136
136
  ERC20_MINTER: "0x777777E8850d8D6d98De2B5f64fae401F96eFF31",
137
- FACTORY_IMPL: "0xA75f980Fdf9F02718423FDFDFf1fccc74bdDBa95",
137
+ FACTORY_IMPL: "0x073ef87C54c192c21ddEf881fE18064b6161fAC9",
138
138
  FACTORY_PROXY: "0x777777C338d93e2C7adf08D102d45CA7CC4Ed021",
139
139
  FIXED_PRICE_SALE_STRATEGY: "0x3EB144aee170BF62FdA1536e38aF51f08e34A5D0",
140
140
  MERKLE_MINT_SALE_STRATEGY: "0xB9C997FcC46a27331CC986cc2416ee99C1d506c3",
@@ -142,7 +142,7 @@ export const addresses = {
142
142
  PREMINTER_PROXY: "0x7777773606e7e46C8Ba8B98C08f5cD218e31d340",
143
143
  REDEEM_MINTER_FACTORY: "0x7A0dE1B1f5420Df5D946878fBe2cF109011BE614",
144
144
  UPGRADE_GATE: "0xbC50029836A59A4E5e1Bb8988272F46ebA0F9900",
145
- timestamp: 1722612949,
145
+ timestamp: 1730736883,
146
146
  },
147
147
  84532: {
148
148
  CONTRACT_1155_IMPL: "0xDD3295D6A2e772Bd3208c3d43a783533505a1EED",
@@ -159,10 +159,10 @@ export const addresses = {
159
159
  timestamp: 1729790653,
160
160
  },
161
161
  421614: {
162
- CONTRACT_1155_IMPL: "0xC7598f8eAA1455f5b2B3f206A9af55B2BA248e3E",
163
- CONTRACT_1155_IMPL_VERSION: "2.12.3",
162
+ CONTRACT_1155_IMPL: "0x8a5027ea12f45a13deb6CB96A07913c6e192BE84",
163
+ CONTRACT_1155_IMPL_VERSION: "2.13.0",
164
164
  ERC20_MINTER: "0x777777E8850d8D6d98De2B5f64fae401F96eFF31",
165
- FACTORY_IMPL: "0xCf0B4Acab081169D12b729c3Bd1c6E7bbAB820Da",
165
+ FACTORY_IMPL: "0x1Eb7Bf3a08784D7cB08CC2AE1448012C0c02bDa2",
166
166
  FACTORY_PROXY: "0x777777C338d93e2C7adf08D102d45CA7CC4Ed021",
167
167
  FIXED_PRICE_SALE_STRATEGY: "0x1Cd1C1f3b8B779B50Db23155F2Cb244FCcA06B21",
168
168
  MERKLE_MINT_SALE_STRATEGY: "0xe770E6f19aecF8ef3145A50087999b5556aB3610",
@@ -170,7 +170,7 @@ export const addresses = {
170
170
  PREMINTER_PROXY: "0x7777773606e7e46C8Ba8B98C08f5cD218e31d340",
171
171
  REDEEM_MINTER_FACTORY: "0x69bB4A24EBD8b1B87AF4538E0Ca3075b7E398c3D",
172
172
  UPGRADE_GATE: "0xbC50029836A59A4E5e1Bb8988272F46ebA0F9900",
173
- timestamp: 1722821095,
173
+ timestamp: 1730737132,
174
174
  },
175
175
  7777777: {
176
176
  CONTRACT_1155_IMPL: "0xf81C36213FB217c756504B56133b2c3CD4FbCBf9",
@@ -62,13 +62,6 @@ export const chainConfigs = {
62
62
  ZORA_RECIPIENT: "0xCE9F2e8EaFa11637F8A1CB60AE8AaC601Ae30f2D",
63
63
  WETH: "0x7b79995e5f793A07Bc00c21412e50Ecae098E7f9",
64
64
  },
65
- 11155420: {
66
- NONFUNGIBLE_POSITION_MANAGER: "0xdA75cEf1C93078e8b736FCA5D5a30adb97C8957d",
67
- UNISWAP_SWAP_ROUTER: "0x94cC0AaC535CCDB3C01d6787D6413C739ae12bc4",
68
- PROXY_ADMIN: "0xFA3748b2dcF94a9CBdb5087333E9F093476e8389",
69
- ZORA_RECIPIENT: "0xFA3748b2dcF94a9CBdb5087333E9F093476e8389",
70
- WETH: "0x4200000000000000000000000000000000000006",
71
- },
72
65
  999999999: {
73
66
  NONFUNGIBLE_POSITION_MANAGER: "0xB8458EaAe43292e3c1F7994EFd016bd653d23c20",
74
67
  UNISWAP_SWAP_ROUTER: "0x6B36d761981d82B1e07cF3c4daF4cB4615c4850a",