@zoralabs/protocol-deployments 0.3.5-COMMENTS.3 → 0.3.5-COMMENTS.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 +12 -0
- package/dist/generated/wagmi.d.ts +2768 -166
- package/dist/generated/wagmi.d.ts.map +1 -1
- package/dist/index.cjs +857 -72
- package/dist/index.cjs.map +1 -1
- package/dist/index.js +853 -72
- package/dist/index.js.map +1 -1
- package/dist/typedData.d.ts +53 -1
- package/dist/typedData.d.ts.map +1 -1
- package/dist/types.d.ts +9 -1
- package/dist/types.d.ts.map +1 -1
- package/package.json +1 -1
- package/src/generated/wagmi.ts +841 -76
- package/src/typedData.ts +67 -0
- package/src/types.ts +15 -1
package/dist/index.js
CHANGED
|
@@ -12,6 +12,808 @@ import {
|
|
|
12
12
|
} from "./chunk-3EJPJMEH.js";
|
|
13
13
|
|
|
14
14
|
// src/generated/wagmi.ts
|
|
15
|
+
var callerAndCommenterABI = [
|
|
16
|
+
{
|
|
17
|
+
stateMutability: "nonpayable",
|
|
18
|
+
type: "constructor",
|
|
19
|
+
inputs: [
|
|
20
|
+
{ name: "_comments", internalType: "address", type: "address" },
|
|
21
|
+
{ name: "_zoraTimedSale", internalType: "address", type: "address" }
|
|
22
|
+
]
|
|
23
|
+
},
|
|
24
|
+
{
|
|
25
|
+
stateMutability: "view",
|
|
26
|
+
type: "function",
|
|
27
|
+
inputs: [],
|
|
28
|
+
name: "UPGRADE_INTERFACE_VERSION",
|
|
29
|
+
outputs: [{ name: "", internalType: "string", type: "string" }]
|
|
30
|
+
},
|
|
31
|
+
{
|
|
32
|
+
stateMutability: "nonpayable",
|
|
33
|
+
type: "function",
|
|
34
|
+
inputs: [],
|
|
35
|
+
name: "acceptOwnership",
|
|
36
|
+
outputs: []
|
|
37
|
+
},
|
|
38
|
+
{
|
|
39
|
+
stateMutability: "view",
|
|
40
|
+
type: "function",
|
|
41
|
+
inputs: [],
|
|
42
|
+
name: "comments",
|
|
43
|
+
outputs: [
|
|
44
|
+
{ name: "", internalType: "contract IComments", type: "address" }
|
|
45
|
+
]
|
|
46
|
+
},
|
|
47
|
+
{
|
|
48
|
+
stateMutability: "pure",
|
|
49
|
+
type: "function",
|
|
50
|
+
inputs: [],
|
|
51
|
+
name: "contractName",
|
|
52
|
+
outputs: [{ name: "", internalType: "string", type: "string" }]
|
|
53
|
+
},
|
|
54
|
+
{
|
|
55
|
+
stateMutability: "pure",
|
|
56
|
+
type: "function",
|
|
57
|
+
inputs: [],
|
|
58
|
+
name: "contractVersion",
|
|
59
|
+
outputs: [{ name: "", internalType: "string", type: "string" }]
|
|
60
|
+
},
|
|
61
|
+
{
|
|
62
|
+
stateMutability: "view",
|
|
63
|
+
type: "function",
|
|
64
|
+
inputs: [],
|
|
65
|
+
name: "eip712Domain",
|
|
66
|
+
outputs: [
|
|
67
|
+
{ name: "fields", internalType: "bytes1", type: "bytes1" },
|
|
68
|
+
{ name: "name", internalType: "string", type: "string" },
|
|
69
|
+
{ name: "version", internalType: "string", type: "string" },
|
|
70
|
+
{ name: "chainId", internalType: "uint256", type: "uint256" },
|
|
71
|
+
{ name: "verifyingContract", internalType: "address", type: "address" },
|
|
72
|
+
{ name: "salt", internalType: "bytes32", type: "bytes32" },
|
|
73
|
+
{ name: "extensions", internalType: "uint256[]", type: "uint256[]" }
|
|
74
|
+
]
|
|
75
|
+
},
|
|
76
|
+
{
|
|
77
|
+
stateMutability: "view",
|
|
78
|
+
type: "function",
|
|
79
|
+
inputs: [
|
|
80
|
+
{
|
|
81
|
+
name: "permit",
|
|
82
|
+
internalType: "struct ICallerAndCommenter.PermitTimedSaleMintAndComment",
|
|
83
|
+
type: "tuple",
|
|
84
|
+
components: [
|
|
85
|
+
{ name: "commenter", internalType: "address", type: "address" },
|
|
86
|
+
{ name: "quantity", internalType: "uint256", type: "uint256" },
|
|
87
|
+
{ name: "collection", internalType: "address", type: "address" },
|
|
88
|
+
{ name: "tokenId", internalType: "uint256", type: "uint256" },
|
|
89
|
+
{ name: "mintReferral", internalType: "address", type: "address" },
|
|
90
|
+
{ name: "comment", internalType: "string", type: "string" },
|
|
91
|
+
{ name: "deadline", internalType: "uint256", type: "uint256" },
|
|
92
|
+
{ name: "nonce", internalType: "bytes32", type: "bytes32" },
|
|
93
|
+
{ name: "sourceChainId", internalType: "uint32", type: "uint32" },
|
|
94
|
+
{
|
|
95
|
+
name: "destinationChainId",
|
|
96
|
+
internalType: "uint32",
|
|
97
|
+
type: "uint32"
|
|
98
|
+
}
|
|
99
|
+
]
|
|
100
|
+
}
|
|
101
|
+
],
|
|
102
|
+
name: "hashPermitTimedSaleMintAndComment",
|
|
103
|
+
outputs: [{ name: "", internalType: "bytes32", type: "bytes32" }]
|
|
104
|
+
},
|
|
105
|
+
{
|
|
106
|
+
stateMutability: "nonpayable",
|
|
107
|
+
type: "function",
|
|
108
|
+
inputs: [{ name: "owner", internalType: "address", type: "address" }],
|
|
109
|
+
name: "initialize",
|
|
110
|
+
outputs: []
|
|
111
|
+
},
|
|
112
|
+
{
|
|
113
|
+
stateMutability: "view",
|
|
114
|
+
type: "function",
|
|
115
|
+
inputs: [
|
|
116
|
+
{ name: "owner", internalType: "address", type: "address" },
|
|
117
|
+
{ name: "nonce", internalType: "bytes32", type: "bytes32" }
|
|
118
|
+
],
|
|
119
|
+
name: "nonceUsed",
|
|
120
|
+
outputs: [{ name: "", internalType: "bool", type: "bool" }]
|
|
121
|
+
},
|
|
122
|
+
{
|
|
123
|
+
stateMutability: "view",
|
|
124
|
+
type: "function",
|
|
125
|
+
inputs: [],
|
|
126
|
+
name: "owner",
|
|
127
|
+
outputs: [{ name: "", internalType: "address", type: "address" }]
|
|
128
|
+
},
|
|
129
|
+
{
|
|
130
|
+
stateMutability: "view",
|
|
131
|
+
type: "function",
|
|
132
|
+
inputs: [],
|
|
133
|
+
name: "pendingOwner",
|
|
134
|
+
outputs: [{ name: "", internalType: "address", type: "address" }]
|
|
135
|
+
},
|
|
136
|
+
{
|
|
137
|
+
stateMutability: "payable",
|
|
138
|
+
type: "function",
|
|
139
|
+
inputs: [
|
|
140
|
+
{
|
|
141
|
+
name: "permit",
|
|
142
|
+
internalType: "struct ICallerAndCommenter.PermitTimedSaleMintAndComment",
|
|
143
|
+
type: "tuple",
|
|
144
|
+
components: [
|
|
145
|
+
{ name: "commenter", internalType: "address", type: "address" },
|
|
146
|
+
{ name: "quantity", internalType: "uint256", type: "uint256" },
|
|
147
|
+
{ name: "collection", internalType: "address", type: "address" },
|
|
148
|
+
{ name: "tokenId", internalType: "uint256", type: "uint256" },
|
|
149
|
+
{ name: "mintReferral", internalType: "address", type: "address" },
|
|
150
|
+
{ name: "comment", internalType: "string", type: "string" },
|
|
151
|
+
{ name: "deadline", internalType: "uint256", type: "uint256" },
|
|
152
|
+
{ name: "nonce", internalType: "bytes32", type: "bytes32" },
|
|
153
|
+
{ name: "sourceChainId", internalType: "uint32", type: "uint32" },
|
|
154
|
+
{
|
|
155
|
+
name: "destinationChainId",
|
|
156
|
+
internalType: "uint32",
|
|
157
|
+
type: "uint32"
|
|
158
|
+
}
|
|
159
|
+
]
|
|
160
|
+
},
|
|
161
|
+
{ name: "signature", internalType: "bytes", type: "bytes" }
|
|
162
|
+
],
|
|
163
|
+
name: "permitTimedSaleMintAndComment",
|
|
164
|
+
outputs: [
|
|
165
|
+
{
|
|
166
|
+
name: "",
|
|
167
|
+
internalType: "struct IComments.CommentIdentifier",
|
|
168
|
+
type: "tuple",
|
|
169
|
+
components: [
|
|
170
|
+
{ name: "commenter", internalType: "address", type: "address" },
|
|
171
|
+
{ name: "contractAddress", internalType: "address", type: "address" },
|
|
172
|
+
{ name: "tokenId", internalType: "uint256", type: "uint256" },
|
|
173
|
+
{ name: "nonce", internalType: "bytes32", type: "bytes32" }
|
|
174
|
+
]
|
|
175
|
+
}
|
|
176
|
+
]
|
|
177
|
+
},
|
|
178
|
+
{
|
|
179
|
+
stateMutability: "view",
|
|
180
|
+
type: "function",
|
|
181
|
+
inputs: [],
|
|
182
|
+
name: "proxiableUUID",
|
|
183
|
+
outputs: [{ name: "", internalType: "bytes32", type: "bytes32" }]
|
|
184
|
+
},
|
|
185
|
+
{
|
|
186
|
+
stateMutability: "nonpayable",
|
|
187
|
+
type: "function",
|
|
188
|
+
inputs: [],
|
|
189
|
+
name: "renounceOwnership",
|
|
190
|
+
outputs: []
|
|
191
|
+
},
|
|
192
|
+
{
|
|
193
|
+
stateMutability: "payable",
|
|
194
|
+
type: "function",
|
|
195
|
+
inputs: [
|
|
196
|
+
{ name: "commenter", internalType: "address", type: "address" },
|
|
197
|
+
{ name: "quantity", internalType: "uint256", type: "uint256" },
|
|
198
|
+
{ name: "collection", internalType: "address", type: "address" },
|
|
199
|
+
{ name: "tokenId", internalType: "uint256", type: "uint256" },
|
|
200
|
+
{ name: "mintReferral", internalType: "address", type: "address" },
|
|
201
|
+
{ name: "comment", internalType: "string", type: "string" }
|
|
202
|
+
],
|
|
203
|
+
name: "timedSaleMintAndComment",
|
|
204
|
+
outputs: [
|
|
205
|
+
{
|
|
206
|
+
name: "",
|
|
207
|
+
internalType: "struct IComments.CommentIdentifier",
|
|
208
|
+
type: "tuple",
|
|
209
|
+
components: [
|
|
210
|
+
{ name: "commenter", internalType: "address", type: "address" },
|
|
211
|
+
{ name: "contractAddress", internalType: "address", type: "address" },
|
|
212
|
+
{ name: "tokenId", internalType: "uint256", type: "uint256" },
|
|
213
|
+
{ name: "nonce", internalType: "bytes32", type: "bytes32" }
|
|
214
|
+
]
|
|
215
|
+
}
|
|
216
|
+
]
|
|
217
|
+
},
|
|
218
|
+
{
|
|
219
|
+
stateMutability: "nonpayable",
|
|
220
|
+
type: "function",
|
|
221
|
+
inputs: [{ name: "newOwner", internalType: "address", type: "address" }],
|
|
222
|
+
name: "transferOwnership",
|
|
223
|
+
outputs: []
|
|
224
|
+
},
|
|
225
|
+
{
|
|
226
|
+
stateMutability: "payable",
|
|
227
|
+
type: "function",
|
|
228
|
+
inputs: [
|
|
229
|
+
{ name: "newImplementation", internalType: "address", type: "address" },
|
|
230
|
+
{ name: "data", internalType: "bytes", type: "bytes" }
|
|
231
|
+
],
|
|
232
|
+
name: "upgradeToAndCall",
|
|
233
|
+
outputs: []
|
|
234
|
+
},
|
|
235
|
+
{
|
|
236
|
+
stateMutability: "view",
|
|
237
|
+
type: "function",
|
|
238
|
+
inputs: [],
|
|
239
|
+
name: "zoraTimedSale",
|
|
240
|
+
outputs: [
|
|
241
|
+
{
|
|
242
|
+
name: "",
|
|
243
|
+
internalType: "contract IZoraTimedSaleStrategy",
|
|
244
|
+
type: "address"
|
|
245
|
+
}
|
|
246
|
+
]
|
|
247
|
+
},
|
|
248
|
+
{ type: "event", anonymous: false, inputs: [], name: "EIP712DomainChanged" },
|
|
249
|
+
{
|
|
250
|
+
type: "event",
|
|
251
|
+
anonymous: false,
|
|
252
|
+
inputs: [
|
|
253
|
+
{
|
|
254
|
+
name: "version",
|
|
255
|
+
internalType: "uint64",
|
|
256
|
+
type: "uint64",
|
|
257
|
+
indexed: false
|
|
258
|
+
}
|
|
259
|
+
],
|
|
260
|
+
name: "Initialized"
|
|
261
|
+
},
|
|
262
|
+
{
|
|
263
|
+
type: "event",
|
|
264
|
+
anonymous: false,
|
|
265
|
+
inputs: [
|
|
266
|
+
{
|
|
267
|
+
name: "commentId",
|
|
268
|
+
internalType: "bytes32",
|
|
269
|
+
type: "bytes32",
|
|
270
|
+
indexed: true
|
|
271
|
+
},
|
|
272
|
+
{
|
|
273
|
+
name: "commentIdentifier",
|
|
274
|
+
internalType: "struct IComments.CommentIdentifier",
|
|
275
|
+
type: "tuple",
|
|
276
|
+
components: [
|
|
277
|
+
{ name: "commenter", internalType: "address", type: "address" },
|
|
278
|
+
{ name: "contractAddress", internalType: "address", type: "address" },
|
|
279
|
+
{ name: "tokenId", internalType: "uint256", type: "uint256" },
|
|
280
|
+
{ name: "nonce", internalType: "bytes32", type: "bytes32" }
|
|
281
|
+
],
|
|
282
|
+
indexed: false
|
|
283
|
+
},
|
|
284
|
+
{
|
|
285
|
+
name: "quantity",
|
|
286
|
+
internalType: "uint256",
|
|
287
|
+
type: "uint256",
|
|
288
|
+
indexed: false
|
|
289
|
+
},
|
|
290
|
+
{ name: "text", internalType: "string", type: "string", indexed: false }
|
|
291
|
+
],
|
|
292
|
+
name: "MintedAndCommented"
|
|
293
|
+
},
|
|
294
|
+
{
|
|
295
|
+
type: "event",
|
|
296
|
+
anonymous: false,
|
|
297
|
+
inputs: [
|
|
298
|
+
{
|
|
299
|
+
name: "previousOwner",
|
|
300
|
+
internalType: "address",
|
|
301
|
+
type: "address",
|
|
302
|
+
indexed: true
|
|
303
|
+
},
|
|
304
|
+
{
|
|
305
|
+
name: "newOwner",
|
|
306
|
+
internalType: "address",
|
|
307
|
+
type: "address",
|
|
308
|
+
indexed: true
|
|
309
|
+
}
|
|
310
|
+
],
|
|
311
|
+
name: "OwnershipTransferStarted"
|
|
312
|
+
},
|
|
313
|
+
{
|
|
314
|
+
type: "event",
|
|
315
|
+
anonymous: false,
|
|
316
|
+
inputs: [
|
|
317
|
+
{
|
|
318
|
+
name: "previousOwner",
|
|
319
|
+
internalType: "address",
|
|
320
|
+
type: "address",
|
|
321
|
+
indexed: true
|
|
322
|
+
},
|
|
323
|
+
{
|
|
324
|
+
name: "newOwner",
|
|
325
|
+
internalType: "address",
|
|
326
|
+
type: "address",
|
|
327
|
+
indexed: true
|
|
328
|
+
}
|
|
329
|
+
],
|
|
330
|
+
name: "OwnershipTransferred"
|
|
331
|
+
},
|
|
332
|
+
{
|
|
333
|
+
type: "event",
|
|
334
|
+
anonymous: false,
|
|
335
|
+
inputs: [
|
|
336
|
+
{
|
|
337
|
+
name: "implementation",
|
|
338
|
+
internalType: "address",
|
|
339
|
+
type: "address",
|
|
340
|
+
indexed: true
|
|
341
|
+
}
|
|
342
|
+
],
|
|
343
|
+
name: "Upgraded"
|
|
344
|
+
},
|
|
345
|
+
{
|
|
346
|
+
type: "error",
|
|
347
|
+
inputs: [{ name: "target", internalType: "address", type: "address" }],
|
|
348
|
+
name: "AddressEmptyCode"
|
|
349
|
+
},
|
|
350
|
+
{
|
|
351
|
+
type: "error",
|
|
352
|
+
inputs: [
|
|
353
|
+
{ name: "expected", internalType: "address", type: "address" },
|
|
354
|
+
{ name: "actual", internalType: "address", type: "address" }
|
|
355
|
+
],
|
|
356
|
+
name: "CommenterMismatch"
|
|
357
|
+
},
|
|
358
|
+
{
|
|
359
|
+
type: "error",
|
|
360
|
+
inputs: [
|
|
361
|
+
{ name: "implementation", internalType: "address", type: "address" }
|
|
362
|
+
],
|
|
363
|
+
name: "ERC1967InvalidImplementation"
|
|
364
|
+
},
|
|
365
|
+
{ type: "error", inputs: [], name: "ERC1967NonPayable" },
|
|
366
|
+
{
|
|
367
|
+
type: "error",
|
|
368
|
+
inputs: [{ name: "deadline", internalType: "uint256", type: "uint256" }],
|
|
369
|
+
name: "ERC2612ExpiredSignature"
|
|
370
|
+
},
|
|
371
|
+
{ type: "error", inputs: [], name: "FailedInnerCall" },
|
|
372
|
+
{
|
|
373
|
+
type: "error",
|
|
374
|
+
inputs: [
|
|
375
|
+
{
|
|
376
|
+
name: "wrongDestinationChainId",
|
|
377
|
+
internalType: "uint256",
|
|
378
|
+
type: "uint256"
|
|
379
|
+
}
|
|
380
|
+
],
|
|
381
|
+
name: "IncorrectDestinationChain"
|
|
382
|
+
},
|
|
383
|
+
{
|
|
384
|
+
type: "error",
|
|
385
|
+
inputs: [
|
|
386
|
+
{ name: "account", internalType: "address", type: "address" },
|
|
387
|
+
{ name: "currentNonce", internalType: "bytes32", type: "bytes32" }
|
|
388
|
+
],
|
|
389
|
+
name: "InvalidAccountNonce"
|
|
390
|
+
},
|
|
391
|
+
{ type: "error", inputs: [], name: "InvalidInitialization" },
|
|
392
|
+
{ type: "error", inputs: [], name: "InvalidSignature" },
|
|
393
|
+
{ type: "error", inputs: [], name: "NotInitializing" },
|
|
394
|
+
{
|
|
395
|
+
type: "error",
|
|
396
|
+
inputs: [{ name: "owner", internalType: "address", type: "address" }],
|
|
397
|
+
name: "OwnableInvalidOwner"
|
|
398
|
+
},
|
|
399
|
+
{
|
|
400
|
+
type: "error",
|
|
401
|
+
inputs: [{ name: "account", internalType: "address", type: "address" }],
|
|
402
|
+
name: "OwnableUnauthorizedAccount"
|
|
403
|
+
},
|
|
404
|
+
{ type: "error", inputs: [], name: "UUPSUnauthorizedCallContext" },
|
|
405
|
+
{
|
|
406
|
+
type: "error",
|
|
407
|
+
inputs: [{ name: "slot", internalType: "bytes32", type: "bytes32" }],
|
|
408
|
+
name: "UUPSUnsupportedProxiableUUID"
|
|
409
|
+
},
|
|
410
|
+
{
|
|
411
|
+
type: "error",
|
|
412
|
+
inputs: [
|
|
413
|
+
{ name: "currentName", internalType: "string", type: "string" },
|
|
414
|
+
{ name: "newName", internalType: "string", type: "string" }
|
|
415
|
+
],
|
|
416
|
+
name: "UpgradeToMismatchedContractName"
|
|
417
|
+
},
|
|
418
|
+
{
|
|
419
|
+
type: "error",
|
|
420
|
+
inputs: [{ name: "target", internalType: "address", type: "address" }],
|
|
421
|
+
name: "AddressEmptyCode"
|
|
422
|
+
},
|
|
423
|
+
{
|
|
424
|
+
type: "error",
|
|
425
|
+
inputs: [{ name: "account", internalType: "address", type: "address" }],
|
|
426
|
+
name: "AddressInsufficientBalance"
|
|
427
|
+
},
|
|
428
|
+
{ type: "error", inputs: [], name: "AddressZero" },
|
|
429
|
+
{ type: "error", inputs: [], name: "ERC1167FailedCreateClone" },
|
|
430
|
+
{
|
|
431
|
+
type: "error",
|
|
432
|
+
inputs: [
|
|
433
|
+
{ name: "implementation", internalType: "address", type: "address" }
|
|
434
|
+
],
|
|
435
|
+
name: "ERC1967InvalidImplementation"
|
|
436
|
+
},
|
|
437
|
+
{ type: "error", inputs: [], name: "ERC1967NonPayable" },
|
|
438
|
+
{ type: "error", inputs: [], name: "EndTimeCannotBeInThePast" },
|
|
439
|
+
{ type: "error", inputs: [], name: "FailedInnerCall" },
|
|
440
|
+
{ type: "error", inputs: [], name: "InsufficientFunds" },
|
|
441
|
+
{ type: "error", inputs: [], name: "InvalidInitialization" },
|
|
442
|
+
{ type: "error", inputs: [], name: "MarketAlreadyLaunched" },
|
|
443
|
+
{ type: "error", inputs: [], name: "MarketMinimumNotReached" },
|
|
444
|
+
{ type: "error", inputs: [], name: "MinimumMarketEthNotMet" },
|
|
445
|
+
{ type: "error", inputs: [], name: "NeedsToBeAtLeastOneSaleToStartMarket" },
|
|
446
|
+
{ type: "error", inputs: [], name: "NotInitializing" },
|
|
447
|
+
{ type: "error", inputs: [], name: "OnlyZoraRewardRecipient" },
|
|
448
|
+
{
|
|
449
|
+
type: "error",
|
|
450
|
+
inputs: [{ name: "owner", internalType: "address", type: "address" }],
|
|
451
|
+
name: "OwnableInvalidOwner"
|
|
452
|
+
},
|
|
453
|
+
{
|
|
454
|
+
type: "error",
|
|
455
|
+
inputs: [{ name: "account", internalType: "address", type: "address" }],
|
|
456
|
+
name: "OwnableUnauthorizedAccount"
|
|
457
|
+
},
|
|
458
|
+
{ type: "error", inputs: [], name: "ReentrancyGuardReentrantCall" },
|
|
459
|
+
{ type: "error", inputs: [], name: "RequestMintInvalidUseMint" },
|
|
460
|
+
{ type: "error", inputs: [], name: "ResetSaleNotAvailable" },
|
|
461
|
+
{ type: "error", inputs: [], name: "SaleAlreadySet" },
|
|
462
|
+
{ type: "error", inputs: [], name: "SaleEnded" },
|
|
463
|
+
{ type: "error", inputs: [], name: "SaleHasNotStarted" },
|
|
464
|
+
{ type: "error", inputs: [], name: "SaleInProgress" },
|
|
465
|
+
{ type: "error", inputs: [], name: "SaleNotSet" },
|
|
466
|
+
{ type: "error", inputs: [], name: "SaleV2AlreadyStarted" },
|
|
467
|
+
{ type: "error", inputs: [], name: "SaleV2Ended" },
|
|
468
|
+
{ type: "error", inputs: [], name: "SaleV2NotSet" },
|
|
469
|
+
{ type: "error", inputs: [], name: "StartTimeCannotBeAfterEndTime" },
|
|
470
|
+
{ type: "error", inputs: [], name: "UUPSUnauthorizedCallContext" },
|
|
471
|
+
{
|
|
472
|
+
type: "error",
|
|
473
|
+
inputs: [{ name: "slot", internalType: "bytes32", type: "bytes32" }],
|
|
474
|
+
name: "UUPSUnsupportedProxiableUUID"
|
|
475
|
+
},
|
|
476
|
+
{ type: "error", inputs: [], name: "WrongValueSent" },
|
|
477
|
+
{
|
|
478
|
+
type: "error",
|
|
479
|
+
inputs: [],
|
|
480
|
+
name: "ZoraCreator1155ContractNeedsToSupportReduceSupply"
|
|
481
|
+
},
|
|
482
|
+
{ type: "error", inputs: [], name: "ADDRESS_DELEGATECALL_TO_NON_CONTRACT" },
|
|
483
|
+
{ type: "error", inputs: [], name: "ADDRESS_LOW_LEVEL_CALL_FAILED" },
|
|
484
|
+
{
|
|
485
|
+
type: "error",
|
|
486
|
+
inputs: [
|
|
487
|
+
{ name: "operator", internalType: "address", type: "address" },
|
|
488
|
+
{ name: "user", internalType: "address", type: "address" }
|
|
489
|
+
],
|
|
490
|
+
name: "Burn_NotOwnerOrApproved"
|
|
491
|
+
},
|
|
492
|
+
{ type: "error", inputs: [], name: "CREATOR_FUNDS_RECIPIENT_NOT_SET" },
|
|
493
|
+
{
|
|
494
|
+
type: "error",
|
|
495
|
+
inputs: [{ name: "reason", internalType: "bytes", type: "bytes" }],
|
|
496
|
+
name: "CallFailed"
|
|
497
|
+
},
|
|
498
|
+
{ type: "error", inputs: [], name: "Call_TokenIdMismatch" },
|
|
499
|
+
{ type: "error", inputs: [], name: "CallerNotZoraCreator1155" },
|
|
500
|
+
{ type: "error", inputs: [], name: "CanOnlyReduceMaxSupply" },
|
|
501
|
+
{
|
|
502
|
+
type: "error",
|
|
503
|
+
inputs: [
|
|
504
|
+
{ name: "tokenId", internalType: "uint256", type: "uint256" },
|
|
505
|
+
{ name: "quantity", internalType: "uint256", type: "uint256" },
|
|
506
|
+
{ name: "totalMinted", internalType: "uint256", type: "uint256" },
|
|
507
|
+
{ name: "maxSupply", internalType: "uint256", type: "uint256" }
|
|
508
|
+
],
|
|
509
|
+
name: "CannotMintMoreTokens"
|
|
510
|
+
},
|
|
511
|
+
{ type: "error", inputs: [], name: "CannotReduceMaxSupplyBelowMinted" },
|
|
512
|
+
{
|
|
513
|
+
type: "error",
|
|
514
|
+
inputs: [
|
|
515
|
+
{ name: "proposedAddress", internalType: "address", type: "address" }
|
|
516
|
+
],
|
|
517
|
+
name: "Config_TransferHookNotSupported"
|
|
518
|
+
},
|
|
519
|
+
{
|
|
520
|
+
type: "error",
|
|
521
|
+
inputs: [],
|
|
522
|
+
name: "ERC1155_ACCOUNTS_AND_IDS_LENGTH_MISMATCH"
|
|
523
|
+
},
|
|
524
|
+
{
|
|
525
|
+
type: "error",
|
|
526
|
+
inputs: [],
|
|
527
|
+
name: "ERC1155_ADDRESS_ZERO_IS_NOT_A_VALID_OWNER"
|
|
528
|
+
},
|
|
529
|
+
{ type: "error", inputs: [], name: "ERC1155_BURN_AMOUNT_EXCEEDS_BALANCE" },
|
|
530
|
+
{ type: "error", inputs: [], name: "ERC1155_BURN_FROM_ZERO_ADDRESS" },
|
|
531
|
+
{
|
|
532
|
+
type: "error",
|
|
533
|
+
inputs: [],
|
|
534
|
+
name: "ERC1155_CALLER_IS_NOT_TOKEN_OWNER_OR_APPROVED"
|
|
535
|
+
},
|
|
536
|
+
{
|
|
537
|
+
type: "error",
|
|
538
|
+
inputs: [],
|
|
539
|
+
name: "ERC1155_ERC1155RECEIVER_REJECTED_TOKENS"
|
|
540
|
+
},
|
|
541
|
+
{
|
|
542
|
+
type: "error",
|
|
543
|
+
inputs: [],
|
|
544
|
+
name: "ERC1155_IDS_AND_AMOUNTS_LENGTH_MISMATCH"
|
|
545
|
+
},
|
|
546
|
+
{
|
|
547
|
+
type: "error",
|
|
548
|
+
inputs: [],
|
|
549
|
+
name: "ERC1155_INSUFFICIENT_BALANCE_FOR_TRANSFER"
|
|
550
|
+
},
|
|
551
|
+
{ type: "error", inputs: [], name: "ERC1155_MINT_TO_ZERO_ADDRESS" },
|
|
552
|
+
{ type: "error", inputs: [], name: "ERC1155_MINT_TO_ZERO_ADDRESS" },
|
|
553
|
+
{ type: "error", inputs: [], name: "ERC1155_SETTING_APPROVAL_FOR_SELF" },
|
|
554
|
+
{
|
|
555
|
+
type: "error",
|
|
556
|
+
inputs: [],
|
|
557
|
+
name: "ERC1155_TRANSFER_TO_NON_ERC1155RECEIVER_IMPLEMENTER"
|
|
558
|
+
},
|
|
559
|
+
{ type: "error", inputs: [], name: "ERC1155_TRANSFER_TO_ZERO_ADDRESS" },
|
|
560
|
+
{ type: "error", inputs: [], name: "ERC1967_NEW_IMPL_NOT_CONTRACT" },
|
|
561
|
+
{ type: "error", inputs: [], name: "ERC1967_NEW_IMPL_NOT_UUPS" },
|
|
562
|
+
{ type: "error", inputs: [], name: "ERC1967_UNSUPPORTED_PROXIABLEUUID" },
|
|
563
|
+
{
|
|
564
|
+
type: "error",
|
|
565
|
+
inputs: [
|
|
566
|
+
{ name: "recipient", internalType: "address", type: "address" },
|
|
567
|
+
{ name: "amount", internalType: "uint256", type: "uint256" }
|
|
568
|
+
],
|
|
569
|
+
name: "ETHWithdrawFailed"
|
|
570
|
+
},
|
|
571
|
+
{
|
|
572
|
+
type: "error",
|
|
573
|
+
inputs: [],
|
|
574
|
+
name: "FUNCTION_MUST_BE_CALLED_THROUGH_ACTIVE_PROXY"
|
|
575
|
+
},
|
|
576
|
+
{
|
|
577
|
+
type: "error",
|
|
578
|
+
inputs: [],
|
|
579
|
+
name: "FUNCTION_MUST_BE_CALLED_THROUGH_DELEGATECALL"
|
|
580
|
+
},
|
|
581
|
+
{ type: "error", inputs: [], name: "FirstMinterAddressZero" },
|
|
582
|
+
{
|
|
583
|
+
type: "error",
|
|
584
|
+
inputs: [
|
|
585
|
+
{ name: "amount", internalType: "uint256", type: "uint256" },
|
|
586
|
+
{ name: "contractValue", internalType: "uint256", type: "uint256" }
|
|
587
|
+
],
|
|
588
|
+
name: "FundsWithdrawInsolvent"
|
|
589
|
+
},
|
|
590
|
+
{
|
|
591
|
+
type: "error",
|
|
592
|
+
inputs: [],
|
|
593
|
+
name: "INITIALIZABLE_CONTRACT_ALREADY_INITIALIZED"
|
|
594
|
+
},
|
|
595
|
+
{
|
|
596
|
+
type: "error",
|
|
597
|
+
inputs: [],
|
|
598
|
+
name: "INITIALIZABLE_CONTRACT_IS_NOT_INITIALIZING"
|
|
599
|
+
},
|
|
600
|
+
{ type: "error", inputs: [], name: "INVALID_ADDRESS_ZERO" },
|
|
601
|
+
{ type: "error", inputs: [], name: "INVALID_ETH_AMOUNT" },
|
|
602
|
+
{
|
|
603
|
+
type: "error",
|
|
604
|
+
inputs: [
|
|
605
|
+
{ name: "mintTo", internalType: "address", type: "address" },
|
|
606
|
+
{ name: "merkleProof", internalType: "bytes32[]", type: "bytes32[]" },
|
|
607
|
+
{ name: "merkleRoot", internalType: "bytes32", type: "bytes32" }
|
|
608
|
+
],
|
|
609
|
+
name: "InvalidMerkleProof"
|
|
610
|
+
},
|
|
611
|
+
{ type: "error", inputs: [], name: "InvalidMintSchedule" },
|
|
612
|
+
{ type: "error", inputs: [], name: "InvalidMintSchedule" },
|
|
613
|
+
{ type: "error", inputs: [], name: "InvalidPremintVersion" },
|
|
614
|
+
{ type: "error", inputs: [], name: "InvalidSignature" },
|
|
615
|
+
{ type: "error", inputs: [], name: "InvalidSignatureVersion" },
|
|
616
|
+
{
|
|
617
|
+
type: "error",
|
|
618
|
+
inputs: [{ name: "magicValue", internalType: "bytes4", type: "bytes4" }],
|
|
619
|
+
name: "InvalidSigner"
|
|
620
|
+
},
|
|
621
|
+
{ type: "error", inputs: [], name: "MintNotYetStarted" },
|
|
622
|
+
{ type: "error", inputs: [], name: "Mint_InsolventSaleTransfer" },
|
|
623
|
+
{ type: "error", inputs: [], name: "Mint_InvalidMintArrayLength" },
|
|
624
|
+
{ type: "error", inputs: [], name: "Mint_TokenIDMintNotAllowed" },
|
|
625
|
+
{ type: "error", inputs: [], name: "Mint_UnknownCommand" },
|
|
626
|
+
{ type: "error", inputs: [], name: "Mint_ValueTransferFail" },
|
|
627
|
+
{ type: "error", inputs: [], name: "MinterContractAlreadyExists" },
|
|
628
|
+
{ type: "error", inputs: [], name: "MinterContractDoesNotExist" },
|
|
629
|
+
{ type: "error", inputs: [], name: "NewOwnerNeedsToBeAdmin" },
|
|
630
|
+
{
|
|
631
|
+
type: "error",
|
|
632
|
+
inputs: [{ name: "tokenId", internalType: "uint256", type: "uint256" }],
|
|
633
|
+
name: "NoRendererForToken"
|
|
634
|
+
},
|
|
635
|
+
{ type: "error", inputs: [], name: "NonEthRedemption" },
|
|
636
|
+
{ type: "error", inputs: [], name: "ONLY_CREATE_REFERRAL" },
|
|
637
|
+
{ type: "error", inputs: [], name: "OnlyTransfersFromZoraMints" },
|
|
638
|
+
{ type: "error", inputs: [], name: "PremintDeleted" },
|
|
639
|
+
{
|
|
640
|
+
type: "error",
|
|
641
|
+
inputs: [
|
|
642
|
+
{ name: "caller", internalType: "address", type: "address" },
|
|
643
|
+
{ name: "recipient", internalType: "address", type: "address" },
|
|
644
|
+
{ name: "amount", internalType: "uint256", type: "uint256" }
|
|
645
|
+
],
|
|
646
|
+
name: "ProtocolRewardsWithdrawFailed"
|
|
647
|
+
},
|
|
648
|
+
{
|
|
649
|
+
type: "error",
|
|
650
|
+
inputs: [{ name: "renderer", internalType: "address", type: "address" }],
|
|
651
|
+
name: "RendererNotValid"
|
|
652
|
+
},
|
|
653
|
+
{ type: "error", inputs: [], name: "Renderer_NotValidRendererContract" },
|
|
654
|
+
{ type: "error", inputs: [], name: "SaleEnded" },
|
|
655
|
+
{ type: "error", inputs: [], name: "SaleHasNotStarted" },
|
|
656
|
+
{
|
|
657
|
+
type: "error",
|
|
658
|
+
inputs: [
|
|
659
|
+
{ name: "targetContract", internalType: "address", type: "address" }
|
|
660
|
+
],
|
|
661
|
+
name: "Sale_CannotCallNonSalesContract"
|
|
662
|
+
},
|
|
663
|
+
{
|
|
664
|
+
type: "error",
|
|
665
|
+
inputs: [
|
|
666
|
+
{ name: "expected", internalType: "uint256", type: "uint256" },
|
|
667
|
+
{ name: "actual", internalType: "uint256", type: "uint256" }
|
|
668
|
+
],
|
|
669
|
+
name: "TokenIdMismatch"
|
|
670
|
+
},
|
|
671
|
+
{
|
|
672
|
+
type: "error",
|
|
673
|
+
inputs: [],
|
|
674
|
+
name: "UUPS_UPGRADEABLE_MUST_NOT_BE_CALLED_THROUGH_DELEGATECALL"
|
|
675
|
+
},
|
|
676
|
+
{
|
|
677
|
+
type: "error",
|
|
678
|
+
inputs: [
|
|
679
|
+
{ name: "user", internalType: "address", type: "address" },
|
|
680
|
+
{ name: "limit", internalType: "uint256", type: "uint256" },
|
|
681
|
+
{ name: "requestedAmount", internalType: "uint256", type: "uint256" }
|
|
682
|
+
],
|
|
683
|
+
name: "UserExceedsMintLimit"
|
|
684
|
+
},
|
|
685
|
+
{
|
|
686
|
+
type: "error",
|
|
687
|
+
inputs: [
|
|
688
|
+
{ name: "user", internalType: "address", type: "address" },
|
|
689
|
+
{ name: "tokenId", internalType: "uint256", type: "uint256" },
|
|
690
|
+
{ name: "role", internalType: "uint256", type: "uint256" }
|
|
691
|
+
],
|
|
692
|
+
name: "UserMissingRoleForToken"
|
|
693
|
+
},
|
|
694
|
+
{ type: "error", inputs: [], name: "WrongValueSent" },
|
|
695
|
+
{
|
|
696
|
+
type: "error",
|
|
697
|
+
inputs: [],
|
|
698
|
+
name: "premintSignerContractFailedToRecoverSigner"
|
|
699
|
+
},
|
|
700
|
+
{ type: "error", inputs: [], name: "premintSignerContractNotAContract" },
|
|
701
|
+
{ type: "error", inputs: [], name: "AccessControlBadConfirmation" },
|
|
702
|
+
{
|
|
703
|
+
type: "error",
|
|
704
|
+
inputs: [
|
|
705
|
+
{ name: "account", internalType: "address", type: "address" },
|
|
706
|
+
{ name: "neededRole", internalType: "bytes32", type: "bytes32" }
|
|
707
|
+
],
|
|
708
|
+
name: "AccessControlUnauthorizedAccount"
|
|
709
|
+
},
|
|
710
|
+
{
|
|
711
|
+
type: "error",
|
|
712
|
+
inputs: [{ name: "target", internalType: "address", type: "address" }],
|
|
713
|
+
name: "AddressEmptyCode"
|
|
714
|
+
},
|
|
715
|
+
{ type: "error", inputs: [], name: "AddressZero" },
|
|
716
|
+
{ type: "error", inputs: [], name: "ArrayLengthMismatch" },
|
|
717
|
+
{ type: "error", inputs: [], name: "CannotSparkOwnComment" },
|
|
718
|
+
{
|
|
719
|
+
type: "error",
|
|
720
|
+
inputs: [
|
|
721
|
+
{ name: "commentAddress", internalType: "address", type: "address" },
|
|
722
|
+
{ name: "commentTokenId", internalType: "uint256", type: "uint256" },
|
|
723
|
+
{ name: "replyAddress", internalType: "address", type: "address" },
|
|
724
|
+
{ name: "replyTokenId", internalType: "uint256", type: "uint256" }
|
|
725
|
+
],
|
|
726
|
+
name: "CommentAddressOrTokenIdsDoNotMatch"
|
|
727
|
+
},
|
|
728
|
+
{ type: "error", inputs: [], name: "CommentDoesntExist" },
|
|
729
|
+
{
|
|
730
|
+
type: "error",
|
|
731
|
+
inputs: [
|
|
732
|
+
{ name: "expected", internalType: "address", type: "address" },
|
|
733
|
+
{ name: "actual", internalType: "address", type: "address" }
|
|
734
|
+
],
|
|
735
|
+
name: "CommenterMismatch"
|
|
736
|
+
},
|
|
737
|
+
{
|
|
738
|
+
type: "error",
|
|
739
|
+
inputs: [{ name: "commentId", internalType: "bytes32", type: "bytes32" }],
|
|
740
|
+
name: "DuplicateComment"
|
|
741
|
+
},
|
|
742
|
+
{
|
|
743
|
+
type: "error",
|
|
744
|
+
inputs: [
|
|
745
|
+
{ name: "implementation", internalType: "address", type: "address" }
|
|
746
|
+
],
|
|
747
|
+
name: "ERC1967InvalidImplementation"
|
|
748
|
+
},
|
|
749
|
+
{ type: "error", inputs: [], name: "ERC1967NonPayable" },
|
|
750
|
+
{
|
|
751
|
+
type: "error",
|
|
752
|
+
inputs: [{ name: "deadline", internalType: "uint256", type: "uint256" }],
|
|
753
|
+
name: "ERC2612ExpiredSignature"
|
|
754
|
+
},
|
|
755
|
+
{ type: "error", inputs: [], name: "EmptyComment" },
|
|
756
|
+
{ type: "error", inputs: [], name: "FailedInnerCall" },
|
|
757
|
+
{
|
|
758
|
+
type: "error",
|
|
759
|
+
inputs: [
|
|
760
|
+
{
|
|
761
|
+
name: "wrongDestinationChainId",
|
|
762
|
+
internalType: "uint256",
|
|
763
|
+
type: "uint256"
|
|
764
|
+
}
|
|
765
|
+
],
|
|
766
|
+
name: "IncorrectDestinationChain"
|
|
767
|
+
},
|
|
768
|
+
{
|
|
769
|
+
type: "error",
|
|
770
|
+
inputs: [
|
|
771
|
+
{ name: "actual", internalType: "uint256", type: "uint256" },
|
|
772
|
+
{ name: "expected", internalType: "uint256", type: "uint256" }
|
|
773
|
+
],
|
|
774
|
+
name: "IncorrectETHAmountForSparks"
|
|
775
|
+
},
|
|
776
|
+
{
|
|
777
|
+
type: "error",
|
|
778
|
+
inputs: [
|
|
779
|
+
{ name: "account", internalType: "address", type: "address" },
|
|
780
|
+
{ name: "currentNonce", internalType: "bytes32", type: "bytes32" }
|
|
781
|
+
],
|
|
782
|
+
name: "InvalidAccountNonce"
|
|
783
|
+
},
|
|
784
|
+
{ type: "error", inputs: [], name: "InvalidInitialization" },
|
|
785
|
+
{ type: "error", inputs: [], name: "InvalidSignature" },
|
|
786
|
+
{ type: "error", inputs: [], name: "MustSendAtLeastOneSpark" },
|
|
787
|
+
{ type: "error", inputs: [], name: "NoFundsRecipient" },
|
|
788
|
+
{ type: "error", inputs: [], name: "NotInitializing" },
|
|
789
|
+
{ type: "error", inputs: [], name: "NotSmartWallet" },
|
|
790
|
+
{ type: "error", inputs: [], name: "NotSmartWalletOwner" },
|
|
791
|
+
{ type: "error", inputs: [], name: "NotTokenHolderOrAdmin" },
|
|
792
|
+
{ type: "error", inputs: [], name: "OnlySparksContract" },
|
|
793
|
+
{ type: "error", inputs: [], name: "TransferFailed" },
|
|
794
|
+
{ type: "error", inputs: [], name: "UUPSUnauthorizedCallContext" },
|
|
795
|
+
{
|
|
796
|
+
type: "error",
|
|
797
|
+
inputs: [{ name: "slot", internalType: "bytes32", type: "bytes32" }],
|
|
798
|
+
name: "UUPSUnsupportedProxiableUUID"
|
|
799
|
+
},
|
|
800
|
+
{
|
|
801
|
+
type: "error",
|
|
802
|
+
inputs: [
|
|
803
|
+
{ name: "currentName", internalType: "string", type: "string" },
|
|
804
|
+
{ name: "newName", internalType: "string", type: "string" }
|
|
805
|
+
],
|
|
806
|
+
name: "UpgradeToMismatchedContractName"
|
|
807
|
+
}
|
|
808
|
+
];
|
|
809
|
+
var callerAndCommenterAddress = {
|
|
810
|
+
7777777: "0x77777775C5074b74540d9cC63Dd840A8c692B4B5",
|
|
811
|
+
999999999: "0x77777775C5074b74540d9cC63Dd840A8c692B4B5"
|
|
812
|
+
};
|
|
813
|
+
var callerAndCommenterConfig = {
|
|
814
|
+
address: callerAndCommenterAddress,
|
|
815
|
+
abi: callerAndCommenterABI
|
|
816
|
+
};
|
|
15
817
|
var commentsABI = [
|
|
16
818
|
{
|
|
17
819
|
stateMutability: "nonpayable",
|
|
@@ -193,7 +995,7 @@ var commentsABI = [
|
|
|
193
995
|
outputs: [{ name: "", internalType: "string", type: "string" }]
|
|
194
996
|
},
|
|
195
997
|
{
|
|
196
|
-
stateMutability: "
|
|
998
|
+
stateMutability: "payable",
|
|
197
999
|
type: "function",
|
|
198
1000
|
inputs: [
|
|
199
1001
|
{ name: "commenter", internalType: "address", type: "address" },
|
|
@@ -210,7 +1012,13 @@ var commentsABI = [
|
|
|
210
1012
|
{ name: "tokenId", internalType: "uint256", type: "uint256" },
|
|
211
1013
|
{ name: "nonce", internalType: "bytes32", type: "bytes32" }
|
|
212
1014
|
]
|
|
213
|
-
}
|
|
1015
|
+
},
|
|
1016
|
+
{
|
|
1017
|
+
name: "commenterSmartWalletOwner",
|
|
1018
|
+
internalType: "address",
|
|
1019
|
+
type: "address"
|
|
1020
|
+
},
|
|
1021
|
+
{ name: "referrer", internalType: "address", type: "address" }
|
|
214
1022
|
],
|
|
215
1023
|
name: "delegateComment",
|
|
216
1024
|
outputs: [
|
|
@@ -224,7 +1032,8 @@ var commentsABI = [
|
|
|
224
1032
|
{ name: "tokenId", internalType: "uint256", type: "uint256" },
|
|
225
1033
|
{ name: "nonce", internalType: "bytes32", type: "bytes32" }
|
|
226
1034
|
]
|
|
227
|
-
}
|
|
1035
|
+
},
|
|
1036
|
+
{ name: "commentId", internalType: "bytes32", type: "bytes32" }
|
|
228
1037
|
]
|
|
229
1038
|
},
|
|
230
1039
|
{
|
|
@@ -879,6 +1688,7 @@ var commentsABI = [
|
|
|
879
1688
|
inputs: [{ name: "target", internalType: "address", type: "address" }],
|
|
880
1689
|
name: "AddressEmptyCode"
|
|
881
1690
|
},
|
|
1691
|
+
{ type: "error", inputs: [], name: "AddressZero" },
|
|
882
1692
|
{ type: "error", inputs: [], name: "ArrayLengthMismatch" },
|
|
883
1693
|
{ type: "error", inputs: [], name: "CannotSparkOwnComment" },
|
|
884
1694
|
{
|
|
@@ -973,8 +1783,8 @@ var commentsABI = [
|
|
|
973
1783
|
}
|
|
974
1784
|
];
|
|
975
1785
|
var commentsAddress = {
|
|
976
|
-
7777777: "
|
|
977
|
-
999999999: "
|
|
1786
|
+
7777777: "0x7777777C2B3132e03a65721a41745C07170a5877",
|
|
1787
|
+
999999999: "0x7777777C2B3132e03a65721a41745C07170a5877"
|
|
978
1788
|
};
|
|
979
1789
|
var commentsConfig = {
|
|
980
1790
|
address: commentsAddress,
|
|
@@ -4799,7 +5609,6 @@ var zoraCreator1155FactoryImplABI = [
|
|
|
4799
5609
|
{ type: "error", inputs: [], name: "MarketMinimumNotReached" },
|
|
4800
5610
|
{ type: "error", inputs: [], name: "MinimumMarketEthNotMet" },
|
|
4801
5611
|
{ type: "error", inputs: [], name: "NeedsToBeAtLeastOneSaleToStartMarket" },
|
|
4802
|
-
{ type: "error", inputs: [], name: "NoCodeAtAddress" },
|
|
4803
5612
|
{ type: "error", inputs: [], name: "NotInitializing" },
|
|
4804
5613
|
{ type: "error", inputs: [], name: "OnlyZoraRewardRecipient" },
|
|
4805
5614
|
{
|
|
@@ -6221,7 +7030,6 @@ var zoraCreator1155ImplABI = [
|
|
|
6221
7030
|
{ type: "error", inputs: [], name: "MarketMinimumNotReached" },
|
|
6222
7031
|
{ type: "error", inputs: [], name: "MinimumMarketEthNotMet" },
|
|
6223
7032
|
{ type: "error", inputs: [], name: "NeedsToBeAtLeastOneSaleToStartMarket" },
|
|
6224
|
-
{ type: "error", inputs: [], name: "NoCodeAtAddress" },
|
|
6225
7033
|
{ type: "error", inputs: [], name: "NotInitializing" },
|
|
6226
7034
|
{ type: "error", inputs: [], name: "OnlyZoraRewardRecipient" },
|
|
6227
7035
|
{
|
|
@@ -10729,17 +11537,7 @@ var zoraSparksManagerImplConfig = {
|
|
|
10729
11537
|
abi: zoraSparksManagerImplABI
|
|
10730
11538
|
};
|
|
10731
11539
|
var zoraTimedSaleStrategyABI = [
|
|
10732
|
-
{
|
|
10733
|
-
stateMutability: "nonpayable",
|
|
10734
|
-
type: "constructor",
|
|
10735
|
-
inputs: [
|
|
10736
|
-
{
|
|
10737
|
-
name: "_comments",
|
|
10738
|
-
internalType: "contract IComments",
|
|
10739
|
-
type: "address"
|
|
10740
|
-
}
|
|
10741
|
-
]
|
|
10742
|
-
},
|
|
11540
|
+
{ stateMutability: "nonpayable", type: "constructor", inputs: [] },
|
|
10743
11541
|
{
|
|
10744
11542
|
stateMutability: "view",
|
|
10745
11543
|
type: "function",
|
|
@@ -10788,15 +11586,6 @@ var zoraTimedSaleStrategyABI = [
|
|
|
10788
11586
|
}
|
|
10789
11587
|
]
|
|
10790
11588
|
},
|
|
10791
|
-
{
|
|
10792
|
-
stateMutability: "view",
|
|
10793
|
-
type: "function",
|
|
10794
|
-
inputs: [],
|
|
10795
|
-
name: "comments",
|
|
10796
|
-
outputs: [
|
|
10797
|
-
{ name: "", internalType: "contract IComments", type: "address" }
|
|
10798
|
-
]
|
|
10799
|
-
},
|
|
10800
11589
|
{
|
|
10801
11590
|
stateMutability: "pure",
|
|
10802
11591
|
type: "function",
|
|
@@ -10866,13 +11655,6 @@ var zoraTimedSaleStrategyABI = [
|
|
|
10866
11655
|
{ name: "createReferral", internalType: "address", type: "address" }
|
|
10867
11656
|
]
|
|
10868
11657
|
},
|
|
10869
|
-
{
|
|
10870
|
-
stateMutability: "view",
|
|
10871
|
-
type: "function",
|
|
10872
|
-
inputs: [],
|
|
10873
|
-
name: "implementation",
|
|
10874
|
-
outputs: [{ name: "", internalType: "address", type: "address" }]
|
|
10875
|
-
},
|
|
10876
11658
|
{
|
|
10877
11659
|
stateMutability: "nonpayable",
|
|
10878
11660
|
type: "function",
|
|
@@ -11230,43 +12012,6 @@ var zoraTimedSaleStrategyABI = [
|
|
|
11230
12012
|
],
|
|
11231
12013
|
name: "MintComment"
|
|
11232
12014
|
},
|
|
11233
|
-
{
|
|
11234
|
-
type: "event",
|
|
11235
|
-
anonymous: false,
|
|
11236
|
-
inputs: [
|
|
11237
|
-
{
|
|
11238
|
-
name: "commentId",
|
|
11239
|
-
internalType: "bytes32",
|
|
11240
|
-
type: "bytes32",
|
|
11241
|
-
indexed: true
|
|
11242
|
-
},
|
|
11243
|
-
{
|
|
11244
|
-
name: "commentIdentifier",
|
|
11245
|
-
internalType: "struct IComments.CommentIdentifier",
|
|
11246
|
-
type: "tuple",
|
|
11247
|
-
components: [
|
|
11248
|
-
{ name: "commenter", internalType: "address", type: "address" },
|
|
11249
|
-
{ name: "contractAddress", internalType: "address", type: "address" },
|
|
11250
|
-
{ name: "tokenId", internalType: "uint256", type: "uint256" },
|
|
11251
|
-
{ name: "nonce", internalType: "bytes32", type: "bytes32" }
|
|
11252
|
-
],
|
|
11253
|
-
indexed: false
|
|
11254
|
-
},
|
|
11255
|
-
{
|
|
11256
|
-
name: "mintQuantity",
|
|
11257
|
-
internalType: "uint256",
|
|
11258
|
-
type: "uint256",
|
|
11259
|
-
indexed: false
|
|
11260
|
-
},
|
|
11261
|
-
{
|
|
11262
|
-
name: "comment",
|
|
11263
|
-
internalType: "string",
|
|
11264
|
-
type: "string",
|
|
11265
|
-
indexed: false
|
|
11266
|
-
}
|
|
11267
|
-
],
|
|
11268
|
-
name: "MintedAndCommented"
|
|
11269
|
-
},
|
|
11270
12015
|
{
|
|
11271
12016
|
type: "event",
|
|
11272
12017
|
anonymous: false,
|
|
@@ -11543,7 +12288,6 @@ var zoraTimedSaleStrategyABI = [
|
|
|
11543
12288
|
{ type: "error", inputs: [], name: "MarketMinimumNotReached" },
|
|
11544
12289
|
{ type: "error", inputs: [], name: "MinimumMarketEthNotMet" },
|
|
11545
12290
|
{ type: "error", inputs: [], name: "NeedsToBeAtLeastOneSaleToStartMarket" },
|
|
11546
|
-
{ type: "error", inputs: [], name: "NoCodeAtAddress" },
|
|
11547
12291
|
{ type: "error", inputs: [], name: "NotInitializing" },
|
|
11548
12292
|
{ type: "error", inputs: [], name: "OnlyZoraRewardRecipient" },
|
|
11549
12293
|
{
|
|
@@ -12018,6 +12762,39 @@ var permitSparkCommentTypedDataDefinition = (message, signingAccount) => ({
|
|
|
12018
12762
|
account: signingAccount || message.sparker
|
|
12019
12763
|
});
|
|
12020
12764
|
var sparkValue = () => parseEther("0.000001");
|
|
12765
|
+
var permitTimedSaleMintAndCommentTypedDataType = {
|
|
12766
|
+
PermitTimedSaleMintAndComment: [
|
|
12767
|
+
{ name: "commenter", type: "address" },
|
|
12768
|
+
{ name: "quantity", type: "uint256" },
|
|
12769
|
+
{ name: "collection", type: "address" },
|
|
12770
|
+
{ name: "tokenId", type: "uint256" },
|
|
12771
|
+
{ name: "mintReferral", type: "address" },
|
|
12772
|
+
{ name: "comment", type: "string" },
|
|
12773
|
+
{ name: "deadline", type: "uint256" },
|
|
12774
|
+
{ name: "nonce", type: "bytes32" },
|
|
12775
|
+
{ name: "sourceChainId", type: "uint32" },
|
|
12776
|
+
{ name: "destinationChainId", type: "uint32" }
|
|
12777
|
+
]
|
|
12778
|
+
};
|
|
12779
|
+
var callerAndCommenterDomain = ({
|
|
12780
|
+
signingChainId,
|
|
12781
|
+
destinationChainId
|
|
12782
|
+
}) => ({
|
|
12783
|
+
name: "CallerAndCommenter",
|
|
12784
|
+
version: "1",
|
|
12785
|
+
chainId: signingChainId,
|
|
12786
|
+
verifyingContract: callerAndCommenterAddress[destinationChainId]
|
|
12787
|
+
});
|
|
12788
|
+
var permitMintAndCommentTypedDataDefinition = (message, signingAccount) => ({
|
|
12789
|
+
types: permitTimedSaleMintAndCommentTypedDataType,
|
|
12790
|
+
message,
|
|
12791
|
+
primaryType: "PermitTimedSaleMintAndComment",
|
|
12792
|
+
domain: callerAndCommenterDomain({
|
|
12793
|
+
signingChainId: message.sourceChainId,
|
|
12794
|
+
destinationChainId: message.destinationChainId
|
|
12795
|
+
}),
|
|
12796
|
+
account: signingAccount || message.commenter
|
|
12797
|
+
});
|
|
12021
12798
|
|
|
12022
12799
|
// src/encoding.ts
|
|
12023
12800
|
var safeTransferSwapAbiParameters = [
|
|
@@ -12356,6 +13133,9 @@ var addresses2 = {
|
|
|
12356
13133
|
};
|
|
12357
13134
|
export {
|
|
12358
13135
|
PremintConfigVersion,
|
|
13136
|
+
callerAndCommenterABI,
|
|
13137
|
+
callerAndCommenterAddress,
|
|
13138
|
+
callerAndCommenterConfig,
|
|
12359
13139
|
commentsABI,
|
|
12360
13140
|
commentsAddress,
|
|
12361
13141
|
commentsConfig,
|
|
@@ -12378,6 +13158,7 @@ export {
|
|
|
12378
13158
|
mintsSafeTransferBatchTypedDataDefinition,
|
|
12379
13159
|
mintsSafeTransferTypedDataDefinition,
|
|
12380
13160
|
permitCommentTypedDataDefinition,
|
|
13161
|
+
permitMintAndCommentTypedDataDefinition,
|
|
12381
13162
|
permitSparkCommentTypedDataDefinition,
|
|
12382
13163
|
premintTypedDataDefinition,
|
|
12383
13164
|
premintV1TypedDataDefinition,
|