@zoralabs/protocol-deployments 0.3.6-COMMENTS.0 → 0.3.7
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 +19 -19
- package/CHANGELOG.md +6 -7
- package/dist/{ccip-MZCNL5YG.js → ccip-E7SRWW2U.js} +2 -2
- package/dist/{chunk-MCOK75CU.js → chunk-BKKE6NTH.js} +2 -4
- package/dist/generated/sparks.d.ts +39 -0
- package/dist/generated/sparks.d.ts.map +1 -1
- package/dist/generated/wagmi.d.ts +229 -5691
- package/dist/generated/wagmi.d.ts.map +1 -1
- package/dist/index.cjs +192 -2058
- package/dist/index.cjs.map +1 -1
- package/dist/index.js +115 -1958
- package/dist/index.js.map +1 -1
- package/dist/typedData.d.ts +1 -189
- package/dist/typedData.d.ts.map +1 -1
- package/dist/types.d.ts +0 -29
- package/dist/types.d.ts.map +1 -1
- package/package.json +1 -1
- package/src/generated/sparks.ts +44 -0
- package/src/generated/wagmi.ts +76 -1846
- package/src/typedData.ts +0 -200
- package/src/types.ts +0 -56
- /package/dist/{ccip-MZCNL5YG.js.map → ccip-E7SRWW2U.js.map} +0 -0
- /package/dist/{chunk-MCOK75CU.js.map → chunk-BKKE6NTH.js.map} +0 -0
package/dist/typedData.d.ts
CHANGED
|
@@ -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
|
|
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,193 +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
|
-
declare const permitCommentTypedDataType: {
|
|
234
|
-
readonly PermitComment: readonly [{
|
|
235
|
-
readonly name: "contractAddress";
|
|
236
|
-
readonly type: "address";
|
|
237
|
-
}, {
|
|
238
|
-
readonly name: "tokenId";
|
|
239
|
-
readonly type: "uint256";
|
|
240
|
-
}, {
|
|
241
|
-
readonly name: "commenter";
|
|
242
|
-
readonly type: "address";
|
|
243
|
-
}, {
|
|
244
|
-
readonly name: "replyTo";
|
|
245
|
-
readonly type: "CommentIdentifier";
|
|
246
|
-
}, {
|
|
247
|
-
readonly name: "text";
|
|
248
|
-
readonly type: "string";
|
|
249
|
-
}, {
|
|
250
|
-
readonly name: "deadline";
|
|
251
|
-
readonly type: "uint256";
|
|
252
|
-
}, {
|
|
253
|
-
readonly name: "nonce";
|
|
254
|
-
readonly type: "bytes32";
|
|
255
|
-
}, {
|
|
256
|
-
readonly name: "commenterSmartWallet";
|
|
257
|
-
readonly type: "address";
|
|
258
|
-
}, {
|
|
259
|
-
readonly name: "referrer";
|
|
260
|
-
readonly type: "address";
|
|
261
|
-
}, {
|
|
262
|
-
readonly name: "sourceChainId";
|
|
263
|
-
readonly type: "uint32";
|
|
264
|
-
}, {
|
|
265
|
-
readonly name: "destinationChainId";
|
|
266
|
-
readonly type: "uint32";
|
|
267
|
-
}];
|
|
268
|
-
readonly CommentIdentifier: readonly [{
|
|
269
|
-
readonly name: "contractAddress";
|
|
270
|
-
readonly type: "address";
|
|
271
|
-
}, {
|
|
272
|
-
readonly name: "tokenId";
|
|
273
|
-
readonly type: "uint256";
|
|
274
|
-
}, {
|
|
275
|
-
readonly name: "commenter";
|
|
276
|
-
readonly type: "address";
|
|
277
|
-
}, {
|
|
278
|
-
readonly name: "nonce";
|
|
279
|
-
readonly type: "bytes32";
|
|
280
|
-
}];
|
|
281
|
-
};
|
|
282
|
-
declare const permitSparkCommentTypedDataType: {
|
|
283
|
-
readonly PermitSparkComment: readonly [{
|
|
284
|
-
readonly name: "comment";
|
|
285
|
-
readonly type: "CommentIdentifier";
|
|
286
|
-
}, {
|
|
287
|
-
readonly name: "sparker";
|
|
288
|
-
readonly type: "address";
|
|
289
|
-
}, {
|
|
290
|
-
readonly name: "sparksQuantity";
|
|
291
|
-
readonly type: "uint256";
|
|
292
|
-
}, {
|
|
293
|
-
readonly name: "deadline";
|
|
294
|
-
readonly type: "uint256";
|
|
295
|
-
}, {
|
|
296
|
-
readonly name: "nonce";
|
|
297
|
-
readonly type: "bytes32";
|
|
298
|
-
}, {
|
|
299
|
-
readonly name: "referrer";
|
|
300
|
-
readonly type: "address";
|
|
301
|
-
}, {
|
|
302
|
-
readonly name: "sourceChainId";
|
|
303
|
-
readonly type: "uint32";
|
|
304
|
-
}, {
|
|
305
|
-
readonly name: "destinationChainId";
|
|
306
|
-
readonly type: "uint32";
|
|
307
|
-
}];
|
|
308
|
-
readonly CommentIdentifier: readonly [{
|
|
309
|
-
readonly name: "contractAddress";
|
|
310
|
-
readonly type: "address";
|
|
311
|
-
}, {
|
|
312
|
-
readonly name: "tokenId";
|
|
313
|
-
readonly type: "uint256";
|
|
314
|
-
}, {
|
|
315
|
-
readonly name: "commenter";
|
|
316
|
-
readonly type: "address";
|
|
317
|
-
}, {
|
|
318
|
-
readonly name: "nonce";
|
|
319
|
-
readonly type: "bytes32";
|
|
320
|
-
}];
|
|
321
|
-
};
|
|
322
|
-
/**
|
|
323
|
-
* Generates the typed data definition for a permit comment, for cross-chain commenting.
|
|
324
|
-
*
|
|
325
|
-
* The permit allows a user to sign a comment message on one chain, which can then be
|
|
326
|
-
* submitted by anyone on the destination chain to execute the comment action.
|
|
327
|
-
*
|
|
328
|
-
* The permit includes details such as the comment text, the commenter's address,
|
|
329
|
-
* the comment being replied to, and chain IDs for the source and destination chains.
|
|
330
|
-
*
|
|
331
|
-
* The typed data is generated in a way that makes the signature happen on the source chain
|
|
332
|
-
* but be valid to be executed on the destination chain.
|
|
333
|
-
*
|
|
334
|
-
* @param message - The {@link PermitComment} containing the details of the comment permit.
|
|
335
|
-
* @param signingAccount - (optional) The account that is signing the message, if different thatn the commentor.
|
|
336
|
-
* Only needed if the commentor is a smart wallet; in this case the signing account should be an account
|
|
337
|
-
* that is one of the smart wallet owners.
|
|
338
|
-
* @returns A {@link TypedDataDefinition} object compatible with EIP-712 for structured data hashing and signing,
|
|
339
|
-
* including types, message, primary type, domain, and the signer's account address, which is
|
|
340
|
-
* the commenter's address.
|
|
341
|
-
*/
|
|
342
|
-
export declare const permitCommentTypedDataDefinition: (message: PermitComment, signingAccount?: Address) => TypedDataDefinition<typeof permitCommentTypedDataType, "PermitComment"> & {
|
|
343
|
-
account: Address;
|
|
344
|
-
};
|
|
345
|
-
/**
|
|
346
|
-
* Generates the typed data definition for a permit spark comment, for cross-chain sparking (liking with value) of comments.
|
|
347
|
-
*
|
|
348
|
-
* The permit allows a user to sign a spark comment message on one chain, which can then be
|
|
349
|
-
* submitted by anyone on the destination chain to execute the spark action.
|
|
350
|
-
*
|
|
351
|
-
* The permit includes details such as the comment to be sparked, the sparker's address,
|
|
352
|
-
* the quantity of sparks, and the source and destination chain ids.
|
|
353
|
-
*
|
|
354
|
-
* The typed data is generated in a way that makes the signature happen on the source chain
|
|
355
|
-
* but be valid to be executed on the destination chain.
|
|
356
|
-
*
|
|
357
|
-
* @param message - The {@link PermitSparkComment} containing the details of the spark comment permit.
|
|
358
|
-
* @param signingAccount - (optional) The account that is signing the message, if different than the commenter.
|
|
359
|
-
* Only needed if the commenter is a smart wallet; in this case the signing account should be an account
|
|
360
|
-
* that is one of the smart wallet owners.
|
|
361
|
-
* @returns A {@link TypedDataDefinition} object compatible with EIP-712 for structured data hashing and signing,
|
|
362
|
-
* including types, message, primary type, domain, and the signer's account address, which is
|
|
363
|
-
* the sparker's address.
|
|
364
|
-
*/
|
|
365
|
-
export declare const permitSparkCommentTypedDataDefinition: (message: PermitSparkComment, signingAccount?: Address) => TypedDataDefinition<typeof permitSparkCommentTypedDataType, "PermitSparkComment"> & {
|
|
366
|
-
account: Address;
|
|
367
|
-
};
|
|
368
|
-
export declare const sparkValue: () => bigint;
|
|
369
|
-
/**
|
|
370
|
-
* Defines the EIP-712 typed data structure for PermitTimedSaleMintAndComment
|
|
371
|
-
*/
|
|
372
|
-
declare const permitTimedSaleMintAndCommentTypedDataType: {
|
|
373
|
-
readonly PermitTimedSaleMintAndComment: readonly [{
|
|
374
|
-
readonly name: "commenter";
|
|
375
|
-
readonly type: "address";
|
|
376
|
-
}, {
|
|
377
|
-
readonly name: "quantity";
|
|
378
|
-
readonly type: "uint256";
|
|
379
|
-
}, {
|
|
380
|
-
readonly name: "collection";
|
|
381
|
-
readonly type: "address";
|
|
382
|
-
}, {
|
|
383
|
-
readonly name: "tokenId";
|
|
384
|
-
readonly type: "uint256";
|
|
385
|
-
}, {
|
|
386
|
-
readonly name: "mintReferral";
|
|
387
|
-
readonly type: "address";
|
|
388
|
-
}, {
|
|
389
|
-
readonly name: "comment";
|
|
390
|
-
readonly type: "string";
|
|
391
|
-
}, {
|
|
392
|
-
readonly name: "deadline";
|
|
393
|
-
readonly type: "uint256";
|
|
394
|
-
}, {
|
|
395
|
-
readonly name: "nonce";
|
|
396
|
-
readonly type: "bytes32";
|
|
397
|
-
}, {
|
|
398
|
-
readonly name: "sourceChainId";
|
|
399
|
-
readonly type: "uint32";
|
|
400
|
-
}, {
|
|
401
|
-
readonly name: "destinationChainId";
|
|
402
|
-
readonly type: "uint32";
|
|
403
|
-
}];
|
|
404
|
-
};
|
|
405
|
-
/**
|
|
406
|
-
* Generates the typed data definition for a permit timed sale mint and comment operation.
|
|
407
|
-
*
|
|
408
|
-
* This function creates a structured data object that can be used for EIP-712 signing,
|
|
409
|
-
* allowing users to sign a message on one chain that permits a timed sale mint and comment
|
|
410
|
-
* action to be executed on another chain.
|
|
411
|
-
*
|
|
412
|
-
* @param message - The {@link PermitMintAndComment} containing the details of the permit.
|
|
413
|
-
* @param signingAccount - (optional) The account that is signing the message, if different from the commenter.
|
|
414
|
-
* This is typically used when the commenter is a smart wallet, and the signing account is one of its owners.
|
|
415
|
-
* @returns A {@link TypedDataDefinition} object compatible with EIP-712 for structured data hashing and signing,
|
|
416
|
-
* including types, message, primary type, domain, and the signer's account address.
|
|
417
|
-
*/
|
|
418
|
-
export declare const permitMintAndCommentTypedDataDefinition: (message: PermitMintAndComment, signingAccount?: Address) => TypedDataDefinition<typeof permitTimedSaleMintAndCommentTypedDataType, "PermitTimedSaleMintAndComment"> & {
|
|
419
|
-
account: Address;
|
|
420
|
-
};
|
|
421
233
|
export {};
|
|
422
234
|
//# sourceMappingURL=typedData.d.ts.map
|
package/dist/typedData.d.ts.map
CHANGED
|
@@ -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,
|
|
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,EAKpB,MAAM,MAAM,CAAC;AACd,OAAO,EACL,oBAAoB,EAEpB,6BAA6B,EAC9B,MAAM,mBAAmB,CAAC;AAC3B,OAAO,EACL,oBAAoB,EACpB,eAAe,EACf,eAAe,EACf,oBAAoB,EACpB,wBAAwB,EAKzB,MAAM,SAAS,CAAC;AAiBjB,QAAA,MA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AAC;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,33 +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
44
|
export {};
|
|
74
45
|
//# sourceMappingURL=types.d.ts.map
|
package/dist/types.d.ts.map
CHANGED
|
@@ -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,
|
|
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,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,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C,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
package/src/generated/sparks.ts
CHANGED
|
@@ -71,16 +71,60 @@ export const chainConfigs = {
|
|
|
71
71
|
},
|
|
72
72
|
};
|
|
73
73
|
export const addresses = {
|
|
74
|
+
10: {
|
|
75
|
+
MINTS_ETH_UNWRAPPER_AND_CALLER:
|
|
76
|
+
"0x0000000000000000000000000000000000000000",
|
|
77
|
+
SPARKS_MANAGER_IMPL: "0x0000000000000000000000000000000000000000",
|
|
78
|
+
SPARKS_MANAGER_IMPL_VERSION: "",
|
|
79
|
+
SPONSORED_SPARKS_SPENDER: "0x35ca784918bf11692708c1D530691704AAcEA95E",
|
|
80
|
+
SPONSORED_SPARKS_SPENDER_VERSION: "2.0.0",
|
|
81
|
+
},
|
|
82
|
+
8453: {
|
|
83
|
+
MINTS_ETH_UNWRAPPER_AND_CALLER:
|
|
84
|
+
"0x0000000000000000000000000000000000000000",
|
|
85
|
+
SPARKS_MANAGER_IMPL: "0x0000000000000000000000000000000000000000",
|
|
86
|
+
SPARKS_MANAGER_IMPL_VERSION: "",
|
|
87
|
+
SPONSORED_SPARKS_SPENDER: "0x6958A8866A40118e2CC21ab4752353835321b5e6",
|
|
88
|
+
SPONSORED_SPARKS_SPENDER_VERSION: "2.0.0",
|
|
89
|
+
},
|
|
90
|
+
42161: {
|
|
91
|
+
MINTS_ETH_UNWRAPPER_AND_CALLER:
|
|
92
|
+
"0x0000000000000000000000000000000000000000",
|
|
93
|
+
SPARKS_MANAGER_IMPL: "0x0000000000000000000000000000000000000000",
|
|
94
|
+
SPARKS_MANAGER_IMPL_VERSION: "",
|
|
95
|
+
SPONSORED_SPARKS_SPENDER: "0x2fBdBc34B6015e7b40638179Aa05a2D2267452c7",
|
|
96
|
+
SPONSORED_SPARKS_SPENDER_VERSION: "2.0.0",
|
|
97
|
+
},
|
|
98
|
+
81457: {
|
|
99
|
+
MINTS_ETH_UNWRAPPER_AND_CALLER:
|
|
100
|
+
"0x0000000000000000000000000000000000000000",
|
|
101
|
+
SPARKS_MANAGER_IMPL: "0x0000000000000000000000000000000000000000",
|
|
102
|
+
SPARKS_MANAGER_IMPL_VERSION: "",
|
|
103
|
+
SPONSORED_SPARKS_SPENDER: "0x786F0f6aE196715Cd6d65693f06DA57426ac8463",
|
|
104
|
+
SPONSORED_SPARKS_SPENDER_VERSION: "2.0.0",
|
|
105
|
+
},
|
|
106
|
+
84532: {
|
|
107
|
+
MINTS_ETH_UNWRAPPER_AND_CALLER:
|
|
108
|
+
"0x0000000000000000000000000000000000000000",
|
|
109
|
+
SPARKS_MANAGER_IMPL: "0x0000000000000000000000000000000000000000",
|
|
110
|
+
SPARKS_MANAGER_IMPL_VERSION: "",
|
|
111
|
+
SPONSORED_SPARKS_SPENDER: "0x23150f60E233F519A01C735C29c1591f9E8353dE",
|
|
112
|
+
SPONSORED_SPARKS_SPENDER_VERSION: "2.0.0",
|
|
113
|
+
},
|
|
74
114
|
7777777: {
|
|
75
115
|
MINTS_ETH_UNWRAPPER_AND_CALLER:
|
|
76
116
|
"0xb0994EB9520C98C97e1F3953a5964535C2bd271A",
|
|
77
117
|
SPARKS_MANAGER_IMPL: "0xFB854463800d09B89682746c37A3AE696C92193D",
|
|
78
118
|
SPARKS_MANAGER_IMPL_VERSION: "0.1.4",
|
|
119
|
+
SPONSORED_SPARKS_SPENDER: "0x362Ef86acAD2FAa66A28Ee8d1F5a835ac0BBD11d",
|
|
120
|
+
SPONSORED_SPARKS_SPENDER_VERSION: "2.0.0",
|
|
79
121
|
},
|
|
80
122
|
999999999: {
|
|
81
123
|
MINTS_ETH_UNWRAPPER_AND_CALLER:
|
|
82
124
|
"0xb0994EB9520C98C97e1F3953a5964535C2bd271A",
|
|
83
125
|
SPARKS_MANAGER_IMPL: "0xf7D8d07267E840aE466E5f2fe8b089F4DE79c7da",
|
|
84
126
|
SPARKS_MANAGER_IMPL_VERSION: "0.1.4",
|
|
127
|
+
SPONSORED_SPARKS_SPENDER: "0x3A98313fB00918a81d98f9986aED089365428293",
|
|
128
|
+
SPONSORED_SPARKS_SPENDER_VERSION: "2.0.0",
|
|
85
129
|
},
|
|
86
130
|
};
|