@zoralabs/protocol-deployments 0.1.9 → 0.1.10
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 +10 -9
- package/CHANGELOG.md +6 -0
- package/dist/generated/wagmi.d.ts +474 -80
- package/dist/generated/wagmi.d.ts.map +1 -1
- package/dist/index.cjs +395 -40
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.ts +1 -0
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +391 -40
- package/dist/index.js.map +1 -1
- package/dist/typedData.d.ts +177 -0
- package/dist/typedData.d.ts.map +1 -0
- package/package.json +8 -8
- package/src/generated/wagmi.ts +227 -39
- package/src/index.ts +1 -0
- package/src/typedData.ts +226 -0
package/dist/index.d.ts
CHANGED
package/dist/index.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAGA,cAAc,mBAAmB,CAAC;AAClC,OAAO,KAAK,aAAa,MAAM,kBAAkB,CAAC;AAClD,OAAO,KAAK,KAAK,MAAM,mBAAmB,CAAC"}
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAGA,cAAc,mBAAmB,CAAC;AAClC,cAAc,aAAa,CAAC;AAC5B,OAAO,KAAK,aAAa,MAAM,kBAAkB,CAAC;AAClD,OAAO,KAAK,KAAK,MAAM,mBAAmB,CAAC"}
|
package/dist/index.js
CHANGED
|
@@ -6,6 +6,20 @@ var __export = (target, all) => {
|
|
|
6
6
|
|
|
7
7
|
// src/generated/wagmi.ts
|
|
8
8
|
var erc20MinterABI = [
|
|
9
|
+
{
|
|
10
|
+
stateMutability: "nonpayable",
|
|
11
|
+
type: "function",
|
|
12
|
+
inputs: [],
|
|
13
|
+
name: "acceptOwnership",
|
|
14
|
+
outputs: []
|
|
15
|
+
},
|
|
16
|
+
{
|
|
17
|
+
stateMutability: "nonpayable",
|
|
18
|
+
type: "function",
|
|
19
|
+
inputs: [],
|
|
20
|
+
name: "cancelOwnershipTransfer",
|
|
21
|
+
outputs: []
|
|
22
|
+
},
|
|
9
23
|
{
|
|
10
24
|
stateMutability: "pure",
|
|
11
25
|
type: "function",
|
|
@@ -48,7 +62,7 @@ var erc20MinterABI = [
|
|
|
48
62
|
outputs: [{ name: "", internalType: "uint256", type: "uint256" }]
|
|
49
63
|
},
|
|
50
64
|
{
|
|
51
|
-
stateMutability: "
|
|
65
|
+
stateMutability: "view",
|
|
52
66
|
type: "function",
|
|
53
67
|
inputs: [{ name: "totalValue", internalType: "uint256", type: "uint256" }],
|
|
54
68
|
name: "computeTotalReward",
|
|
@@ -75,6 +89,13 @@ var erc20MinterABI = [
|
|
|
75
89
|
name: "contractVersion",
|
|
76
90
|
outputs: [{ name: "", internalType: "string", type: "string" }]
|
|
77
91
|
},
|
|
92
|
+
{
|
|
93
|
+
stateMutability: "view",
|
|
94
|
+
type: "function",
|
|
95
|
+
inputs: [],
|
|
96
|
+
name: "ethRewardAmount",
|
|
97
|
+
outputs: [{ name: "", internalType: "uint256", type: "uint256" }]
|
|
98
|
+
},
|
|
78
99
|
{
|
|
79
100
|
stateMutability: "view",
|
|
80
101
|
type: "function",
|
|
@@ -87,6 +108,32 @@ var erc20MinterABI = [
|
|
|
87
108
|
{ name: "createReferral", internalType: "address", type: "address" }
|
|
88
109
|
]
|
|
89
110
|
},
|
|
111
|
+
{
|
|
112
|
+
stateMutability: "view",
|
|
113
|
+
type: "function",
|
|
114
|
+
inputs: [],
|
|
115
|
+
name: "getERC20MinterConfig",
|
|
116
|
+
outputs: [
|
|
117
|
+
{
|
|
118
|
+
name: "",
|
|
119
|
+
internalType: "struct IERC20Minter.ERC20MinterConfig",
|
|
120
|
+
type: "tuple",
|
|
121
|
+
components: [
|
|
122
|
+
{
|
|
123
|
+
name: "zoraRewardRecipientAddress",
|
|
124
|
+
internalType: "address",
|
|
125
|
+
type: "address"
|
|
126
|
+
},
|
|
127
|
+
{
|
|
128
|
+
name: "rewardRecipientPercentage",
|
|
129
|
+
internalType: "uint256",
|
|
130
|
+
type: "uint256"
|
|
131
|
+
},
|
|
132
|
+
{ name: "ethReward", internalType: "uint256", type: "uint256" }
|
|
133
|
+
]
|
|
134
|
+
}
|
|
135
|
+
]
|
|
136
|
+
},
|
|
90
137
|
{
|
|
91
138
|
stateMutability: "view",
|
|
92
139
|
type: "function",
|
|
@@ -118,13 +165,16 @@ var erc20MinterABI = [
|
|
|
118
165
|
name: "_zoraRewardRecipientAddress",
|
|
119
166
|
internalType: "address",
|
|
120
167
|
type: "address"
|
|
121
|
-
}
|
|
168
|
+
},
|
|
169
|
+
{ name: "owner", internalType: "address", type: "address" },
|
|
170
|
+
{ name: "_rewardPct", internalType: "uint256", type: "uint256" },
|
|
171
|
+
{ name: "_ethReward", internalType: "uint256", type: "uint256" }
|
|
122
172
|
],
|
|
123
173
|
name: "initialize",
|
|
124
174
|
outputs: []
|
|
125
175
|
},
|
|
126
176
|
{
|
|
127
|
-
stateMutability: "
|
|
177
|
+
stateMutability: "payable",
|
|
128
178
|
type: "function",
|
|
129
179
|
inputs: [
|
|
130
180
|
{ name: "mintTo", internalType: "address", type: "address" },
|
|
@@ -139,6 +189,39 @@ var erc20MinterABI = [
|
|
|
139
189
|
name: "mint",
|
|
140
190
|
outputs: []
|
|
141
191
|
},
|
|
192
|
+
{
|
|
193
|
+
stateMutability: "view",
|
|
194
|
+
type: "function",
|
|
195
|
+
inputs: [],
|
|
196
|
+
name: "minterConfig",
|
|
197
|
+
outputs: [
|
|
198
|
+
{
|
|
199
|
+
name: "zoraRewardRecipientAddress",
|
|
200
|
+
internalType: "address",
|
|
201
|
+
type: "address"
|
|
202
|
+
},
|
|
203
|
+
{
|
|
204
|
+
name: "rewardRecipientPercentage",
|
|
205
|
+
internalType: "uint256",
|
|
206
|
+
type: "uint256"
|
|
207
|
+
},
|
|
208
|
+
{ name: "ethReward", internalType: "uint256", type: "uint256" }
|
|
209
|
+
]
|
|
210
|
+
},
|
|
211
|
+
{
|
|
212
|
+
stateMutability: "view",
|
|
213
|
+
type: "function",
|
|
214
|
+
inputs: [],
|
|
215
|
+
name: "owner",
|
|
216
|
+
outputs: [{ name: "", internalType: "address", type: "address" }]
|
|
217
|
+
},
|
|
218
|
+
{
|
|
219
|
+
stateMutability: "view",
|
|
220
|
+
type: "function",
|
|
221
|
+
inputs: [],
|
|
222
|
+
name: "pendingOwner",
|
|
223
|
+
outputs: [{ name: "", internalType: "address", type: "address" }]
|
|
224
|
+
},
|
|
142
225
|
{
|
|
143
226
|
stateMutability: "pure",
|
|
144
227
|
type: "function",
|
|
@@ -181,6 +264,20 @@ var erc20MinterABI = [
|
|
|
181
264
|
name: "resetSale",
|
|
182
265
|
outputs: []
|
|
183
266
|
},
|
|
267
|
+
{
|
|
268
|
+
stateMutability: "nonpayable",
|
|
269
|
+
type: "function",
|
|
270
|
+
inputs: [],
|
|
271
|
+
name: "resignOwnership",
|
|
272
|
+
outputs: []
|
|
273
|
+
},
|
|
274
|
+
{
|
|
275
|
+
stateMutability: "nonpayable",
|
|
276
|
+
type: "function",
|
|
277
|
+
inputs: [{ name: "_newOwner", internalType: "address", type: "address" }],
|
|
278
|
+
name: "safeTransferOwnership",
|
|
279
|
+
outputs: []
|
|
280
|
+
},
|
|
184
281
|
{
|
|
185
282
|
stateMutability: "view",
|
|
186
283
|
type: "function",
|
|
@@ -209,6 +306,32 @@ var erc20MinterABI = [
|
|
|
209
306
|
}
|
|
210
307
|
]
|
|
211
308
|
},
|
|
309
|
+
{
|
|
310
|
+
stateMutability: "nonpayable",
|
|
311
|
+
type: "function",
|
|
312
|
+
inputs: [
|
|
313
|
+
{
|
|
314
|
+
name: "config",
|
|
315
|
+
internalType: "struct IERC20Minter.ERC20MinterConfig",
|
|
316
|
+
type: "tuple",
|
|
317
|
+
components: [
|
|
318
|
+
{
|
|
319
|
+
name: "zoraRewardRecipientAddress",
|
|
320
|
+
internalType: "address",
|
|
321
|
+
type: "address"
|
|
322
|
+
},
|
|
323
|
+
{
|
|
324
|
+
name: "rewardRecipientPercentage",
|
|
325
|
+
internalType: "uint256",
|
|
326
|
+
type: "uint256"
|
|
327
|
+
},
|
|
328
|
+
{ name: "ethReward", internalType: "uint256", type: "uint256" }
|
|
329
|
+
]
|
|
330
|
+
}
|
|
331
|
+
],
|
|
332
|
+
name: "setERC20MinterConfig",
|
|
333
|
+
outputs: []
|
|
334
|
+
},
|
|
212
335
|
{
|
|
213
336
|
stateMutability: "nonpayable",
|
|
214
337
|
type: "function",
|
|
@@ -235,13 +358,6 @@ var erc20MinterABI = [
|
|
|
235
358
|
name: "setSale",
|
|
236
359
|
outputs: []
|
|
237
360
|
},
|
|
238
|
-
{
|
|
239
|
-
stateMutability: "nonpayable",
|
|
240
|
-
type: "function",
|
|
241
|
-
inputs: [{ name: "recipient", internalType: "address", type: "address" }],
|
|
242
|
-
name: "setZoraRewardsRecipient",
|
|
243
|
-
outputs: []
|
|
244
|
-
},
|
|
245
361
|
{
|
|
246
362
|
stateMutability: "pure",
|
|
247
363
|
type: "function",
|
|
@@ -250,31 +366,44 @@ var erc20MinterABI = [
|
|
|
250
366
|
outputs: [{ name: "", internalType: "bool", type: "bool" }]
|
|
251
367
|
},
|
|
252
368
|
{
|
|
253
|
-
stateMutability: "
|
|
369
|
+
stateMutability: "view",
|
|
254
370
|
type: "function",
|
|
255
371
|
inputs: [],
|
|
256
372
|
name: "totalRewardPct",
|
|
257
373
|
outputs: [{ name: "", internalType: "uint256", type: "uint256" }]
|
|
258
374
|
},
|
|
259
375
|
{
|
|
260
|
-
stateMutability: "
|
|
376
|
+
stateMutability: "nonpayable",
|
|
261
377
|
type: "function",
|
|
262
|
-
inputs: [],
|
|
263
|
-
name: "
|
|
264
|
-
outputs: [
|
|
378
|
+
inputs: [{ name: "_newOwner", internalType: "address", type: "address" }],
|
|
379
|
+
name: "transferOwnership",
|
|
380
|
+
outputs: []
|
|
265
381
|
},
|
|
266
382
|
{
|
|
267
383
|
type: "event",
|
|
268
384
|
anonymous: false,
|
|
269
385
|
inputs: [
|
|
270
386
|
{
|
|
271
|
-
name: "
|
|
272
|
-
internalType: "
|
|
273
|
-
type: "
|
|
387
|
+
name: "config",
|
|
388
|
+
internalType: "struct IERC20Minter.ERC20MinterConfig",
|
|
389
|
+
type: "tuple",
|
|
390
|
+
components: [
|
|
391
|
+
{
|
|
392
|
+
name: "zoraRewardRecipientAddress",
|
|
393
|
+
internalType: "address",
|
|
394
|
+
type: "address"
|
|
395
|
+
},
|
|
396
|
+
{
|
|
397
|
+
name: "rewardRecipientPercentage",
|
|
398
|
+
internalType: "uint256",
|
|
399
|
+
type: "uint256"
|
|
400
|
+
},
|
|
401
|
+
{ name: "ethReward", internalType: "uint256", type: "uint256" }
|
|
402
|
+
],
|
|
274
403
|
indexed: false
|
|
275
404
|
}
|
|
276
405
|
],
|
|
277
|
-
name: "
|
|
406
|
+
name: "ERC20MinterConfigSet"
|
|
278
407
|
},
|
|
279
408
|
{
|
|
280
409
|
type: "event",
|
|
@@ -349,6 +478,14 @@ var erc20MinterABI = [
|
|
|
349
478
|
],
|
|
350
479
|
name: "ERC20RewardsDeposit"
|
|
351
480
|
},
|
|
481
|
+
{
|
|
482
|
+
type: "event",
|
|
483
|
+
anonymous: false,
|
|
484
|
+
inputs: [
|
|
485
|
+
{ name: "version", internalType: "uint8", type: "uint8", indexed: false }
|
|
486
|
+
],
|
|
487
|
+
name: "Initialized"
|
|
488
|
+
},
|
|
352
489
|
{
|
|
353
490
|
type: "event",
|
|
354
491
|
anonymous: false,
|
|
@@ -386,6 +523,63 @@ var erc20MinterABI = [
|
|
|
386
523
|
],
|
|
387
524
|
name: "MintComment"
|
|
388
525
|
},
|
|
526
|
+
{
|
|
527
|
+
type: "event",
|
|
528
|
+
anonymous: false,
|
|
529
|
+
inputs: [
|
|
530
|
+
{
|
|
531
|
+
name: "owner",
|
|
532
|
+
internalType: "address",
|
|
533
|
+
type: "address",
|
|
534
|
+
indexed: true
|
|
535
|
+
},
|
|
536
|
+
{
|
|
537
|
+
name: "canceledOwner",
|
|
538
|
+
internalType: "address",
|
|
539
|
+
type: "address",
|
|
540
|
+
indexed: true
|
|
541
|
+
}
|
|
542
|
+
],
|
|
543
|
+
name: "OwnerCanceled"
|
|
544
|
+
},
|
|
545
|
+
{
|
|
546
|
+
type: "event",
|
|
547
|
+
anonymous: false,
|
|
548
|
+
inputs: [
|
|
549
|
+
{
|
|
550
|
+
name: "owner",
|
|
551
|
+
internalType: "address",
|
|
552
|
+
type: "address",
|
|
553
|
+
indexed: true
|
|
554
|
+
},
|
|
555
|
+
{
|
|
556
|
+
name: "pendingOwner",
|
|
557
|
+
internalType: "address",
|
|
558
|
+
type: "address",
|
|
559
|
+
indexed: true
|
|
560
|
+
}
|
|
561
|
+
],
|
|
562
|
+
name: "OwnerPending"
|
|
563
|
+
},
|
|
564
|
+
{
|
|
565
|
+
type: "event",
|
|
566
|
+
anonymous: false,
|
|
567
|
+
inputs: [
|
|
568
|
+
{
|
|
569
|
+
name: "prevOwner",
|
|
570
|
+
internalType: "address",
|
|
571
|
+
type: "address",
|
|
572
|
+
indexed: true
|
|
573
|
+
},
|
|
574
|
+
{
|
|
575
|
+
name: "newOwner",
|
|
576
|
+
internalType: "address",
|
|
577
|
+
type: "address",
|
|
578
|
+
indexed: true
|
|
579
|
+
}
|
|
580
|
+
],
|
|
581
|
+
name: "OwnerUpdated"
|
|
582
|
+
},
|
|
389
583
|
{
|
|
390
584
|
type: "event",
|
|
391
585
|
anonymous: false,
|
|
@@ -423,30 +617,24 @@ var erc20MinterABI = [
|
|
|
423
617
|
],
|
|
424
618
|
name: "SaleSet"
|
|
425
619
|
},
|
|
426
|
-
{
|
|
427
|
-
type: "event",
|
|
428
|
-
anonymous: false,
|
|
429
|
-
inputs: [
|
|
430
|
-
{
|
|
431
|
-
name: "prevRecipient",
|
|
432
|
-
internalType: "address",
|
|
433
|
-
type: "address",
|
|
434
|
-
indexed: true
|
|
435
|
-
},
|
|
436
|
-
{
|
|
437
|
-
name: "newRecipient",
|
|
438
|
-
internalType: "address",
|
|
439
|
-
type: "address",
|
|
440
|
-
indexed: true
|
|
441
|
-
}
|
|
442
|
-
],
|
|
443
|
-
name: "ZoraRewardsRecipientSet"
|
|
444
|
-
},
|
|
445
620
|
{ type: "error", inputs: [], name: "AddressZero" },
|
|
446
|
-
{ type: "error", inputs: [], name: "AlreadyInitialized" },
|
|
447
621
|
{ type: "error", inputs: [], name: "ERC20TransferSlippage" },
|
|
622
|
+
{ type: "error", inputs: [], name: "FailedToSendEthReward" },
|
|
623
|
+
{
|
|
624
|
+
type: "error",
|
|
625
|
+
inputs: [],
|
|
626
|
+
name: "INITIALIZABLE_CONTRACT_ALREADY_INITIALIZED"
|
|
627
|
+
},
|
|
628
|
+
{
|
|
629
|
+
type: "error",
|
|
630
|
+
inputs: [],
|
|
631
|
+
name: "INITIALIZABLE_CONTRACT_IS_NOT_INITIALIZING"
|
|
632
|
+
},
|
|
448
633
|
{ type: "error", inputs: [], name: "InvalidCurrency" },
|
|
449
|
-
{ type: "error", inputs: [], name: "
|
|
634
|
+
{ type: "error", inputs: [], name: "InvalidValue" },
|
|
635
|
+
{ type: "error", inputs: [], name: "ONLY_OWNER" },
|
|
636
|
+
{ type: "error", inputs: [], name: "ONLY_PENDING_OWNER" },
|
|
637
|
+
{ type: "error", inputs: [], name: "OWNER_CANNOT_BE_ZERO_ADDRESS" },
|
|
450
638
|
{ type: "error", inputs: [], name: "PricePerTokenTooLow" },
|
|
451
639
|
{ type: "error", inputs: [], name: "RequestMintInvalidUseMint" },
|
|
452
640
|
{ type: "error", inputs: [], name: "SaleEnded" },
|
|
@@ -5998,6 +6186,165 @@ var zoraMintsManagerImplConfig = {
|
|
|
5998
6186
|
abi: zoraMintsManagerImplABI
|
|
5999
6187
|
};
|
|
6000
6188
|
|
|
6189
|
+
// src/typedData.ts
|
|
6190
|
+
var premintTypedDataDomain = ({
|
|
6191
|
+
chainId,
|
|
6192
|
+
version,
|
|
6193
|
+
creator1155Contract: verifyingContract
|
|
6194
|
+
}) => ({
|
|
6195
|
+
chainId,
|
|
6196
|
+
name: "Preminter",
|
|
6197
|
+
version,
|
|
6198
|
+
verifyingContract
|
|
6199
|
+
});
|
|
6200
|
+
var premintV1TypedDataType = {
|
|
6201
|
+
CreatorAttribution: [
|
|
6202
|
+
{ name: "tokenConfig", type: "TokenCreationConfig" },
|
|
6203
|
+
// unique id scoped to the contract and token to create.
|
|
6204
|
+
// ensure that a signature can be replaced, as long as the replacement
|
|
6205
|
+
// has the same uid, and a newer version.
|
|
6206
|
+
{ name: "uid", type: "uint32" },
|
|
6207
|
+
{ name: "version", type: "uint32" },
|
|
6208
|
+
// if this update should result in the signature being deleted.
|
|
6209
|
+
{ name: "deleted", type: "bool" }
|
|
6210
|
+
],
|
|
6211
|
+
TokenCreationConfig: [
|
|
6212
|
+
{ name: "tokenURI", type: "string" },
|
|
6213
|
+
{ name: "maxSupply", type: "uint256" },
|
|
6214
|
+
{ name: "maxTokensPerAddress", type: "uint64" },
|
|
6215
|
+
{ name: "pricePerToken", type: "uint96" },
|
|
6216
|
+
{ name: "mintStart", type: "uint64" },
|
|
6217
|
+
{ name: "mintDuration", type: "uint64" },
|
|
6218
|
+
{ name: "royaltyMintSchedule", type: "uint32" },
|
|
6219
|
+
{ name: "royaltyBPS", type: "uint32" },
|
|
6220
|
+
{ name: "royaltyRecipient", type: "address" },
|
|
6221
|
+
{ name: "fixedPriceMinter", type: "address" }
|
|
6222
|
+
]
|
|
6223
|
+
};
|
|
6224
|
+
var premintV1TypedDataDefinition = ({
|
|
6225
|
+
chainId,
|
|
6226
|
+
creator1155Contract,
|
|
6227
|
+
message
|
|
6228
|
+
}) => ({
|
|
6229
|
+
types: premintV1TypedDataType,
|
|
6230
|
+
primaryType: "CreatorAttribution",
|
|
6231
|
+
domain: premintTypedDataDomain({
|
|
6232
|
+
chainId,
|
|
6233
|
+
version: "1",
|
|
6234
|
+
creator1155Contract
|
|
6235
|
+
}),
|
|
6236
|
+
message
|
|
6237
|
+
});
|
|
6238
|
+
var premintV2TypedDataType = {
|
|
6239
|
+
CreatorAttribution: [
|
|
6240
|
+
{ name: "tokenConfig", type: "TokenCreationConfig" },
|
|
6241
|
+
// unique id scoped to the contract and token to create.
|
|
6242
|
+
// ensure that a signature can be replaced, as long as the replacement
|
|
6243
|
+
// has the same uid, and a newer version.
|
|
6244
|
+
{ name: "uid", type: "uint32" },
|
|
6245
|
+
{ name: "version", type: "uint32" },
|
|
6246
|
+
// if this update should result in the signature being deleted.
|
|
6247
|
+
{ name: "deleted", type: "bool" }
|
|
6248
|
+
],
|
|
6249
|
+
TokenCreationConfig: [
|
|
6250
|
+
{ name: "tokenURI", type: "string" },
|
|
6251
|
+
{ name: "maxSupply", type: "uint256" },
|
|
6252
|
+
{ name: "maxTokensPerAddress", type: "uint64" },
|
|
6253
|
+
{ name: "pricePerToken", type: "uint96" },
|
|
6254
|
+
{ name: "mintStart", type: "uint64" },
|
|
6255
|
+
{ name: "mintDuration", type: "uint64" },
|
|
6256
|
+
{ name: "royaltyBPS", type: "uint32" },
|
|
6257
|
+
{ name: "payoutRecipient", type: "address" },
|
|
6258
|
+
{ name: "fixedPriceMinter", type: "address" },
|
|
6259
|
+
{ name: "createReferral", type: "address" }
|
|
6260
|
+
]
|
|
6261
|
+
};
|
|
6262
|
+
var premintV2TypedDataDefinition = ({
|
|
6263
|
+
chainId,
|
|
6264
|
+
creator1155Contract,
|
|
6265
|
+
message
|
|
6266
|
+
}) => ({
|
|
6267
|
+
types: premintV2TypedDataType,
|
|
6268
|
+
primaryType: "CreatorAttribution",
|
|
6269
|
+
domain: premintTypedDataDomain({
|
|
6270
|
+
chainId,
|
|
6271
|
+
version: "2",
|
|
6272
|
+
creator1155Contract
|
|
6273
|
+
}),
|
|
6274
|
+
message
|
|
6275
|
+
});
|
|
6276
|
+
var permitSafeTransferTypedDataType = {
|
|
6277
|
+
PermitSafeTransfer: [
|
|
6278
|
+
{ name: "owner", type: "address" },
|
|
6279
|
+
{ name: "to", type: "address" },
|
|
6280
|
+
{ name: "tokenId", type: "uint256" },
|
|
6281
|
+
{ name: "quantity", type: "uint256" },
|
|
6282
|
+
{ name: "safeTransferData", type: "bytes" },
|
|
6283
|
+
{ name: "nonce", type: "uint256" },
|
|
6284
|
+
{ name: "deadline", type: "uint256" }
|
|
6285
|
+
]
|
|
6286
|
+
};
|
|
6287
|
+
var mintsSafeTransferTypedDataDefinition = ({
|
|
6288
|
+
chainId,
|
|
6289
|
+
message
|
|
6290
|
+
}) => ({
|
|
6291
|
+
types: permitSafeTransferTypedDataType,
|
|
6292
|
+
message,
|
|
6293
|
+
primaryType: "PermitSafeTransfer",
|
|
6294
|
+
domain: {
|
|
6295
|
+
chainId,
|
|
6296
|
+
name: "Mints",
|
|
6297
|
+
version: "1",
|
|
6298
|
+
verifyingContract: zoraMints1155Address[chainId]
|
|
6299
|
+
}
|
|
6300
|
+
});
|
|
6301
|
+
var permitSafeBatchTransferTypedDataType = {
|
|
6302
|
+
Permit: [
|
|
6303
|
+
{
|
|
6304
|
+
name: "owner",
|
|
6305
|
+
type: "address"
|
|
6306
|
+
},
|
|
6307
|
+
{
|
|
6308
|
+
name: "to",
|
|
6309
|
+
type: "address"
|
|
6310
|
+
},
|
|
6311
|
+
{
|
|
6312
|
+
name: "tokenIds",
|
|
6313
|
+
type: "uint256[]"
|
|
6314
|
+
},
|
|
6315
|
+
{
|
|
6316
|
+
name: "quantities",
|
|
6317
|
+
type: "uint256[]"
|
|
6318
|
+
},
|
|
6319
|
+
{
|
|
6320
|
+
name: "safeTransferData",
|
|
6321
|
+
type: "bytes"
|
|
6322
|
+
},
|
|
6323
|
+
{
|
|
6324
|
+
name: "nonce",
|
|
6325
|
+
type: "uint256"
|
|
6326
|
+
},
|
|
6327
|
+
{
|
|
6328
|
+
name: "deadline",
|
|
6329
|
+
type: "uint256"
|
|
6330
|
+
}
|
|
6331
|
+
]
|
|
6332
|
+
};
|
|
6333
|
+
var mintsSafeTransferBatchTypedDataDefinition = ({
|
|
6334
|
+
chainId,
|
|
6335
|
+
message
|
|
6336
|
+
}) => ({
|
|
6337
|
+
types: permitSafeBatchTransferTypedDataType,
|
|
6338
|
+
message,
|
|
6339
|
+
primaryType: "Permit",
|
|
6340
|
+
domain: {
|
|
6341
|
+
chainId,
|
|
6342
|
+
name: "Mints",
|
|
6343
|
+
version: "1",
|
|
6344
|
+
verifyingContract: zoraMints1155Address[chainId]
|
|
6345
|
+
}
|
|
6346
|
+
});
|
|
6347
|
+
|
|
6001
6348
|
// src/generated/1155.ts
|
|
6002
6349
|
var __exports = {};
|
|
6003
6350
|
__export(__exports, {
|
|
@@ -6301,6 +6648,10 @@ export {
|
|
|
6301
6648
|
mintsEthUnwrapperAndCallerABI,
|
|
6302
6649
|
mintsEthUnwrapperAndCallerAddress,
|
|
6303
6650
|
mintsEthUnwrapperAndCallerConfig,
|
|
6651
|
+
mintsSafeTransferBatchTypedDataDefinition,
|
|
6652
|
+
mintsSafeTransferTypedDataDefinition,
|
|
6653
|
+
premintV1TypedDataDefinition,
|
|
6654
|
+
premintV2TypedDataDefinition,
|
|
6304
6655
|
protocolRewardsABI,
|
|
6305
6656
|
protocolRewardsAddress,
|
|
6306
6657
|
protocolRewardsConfig,
|