@zoralabs/protocol-sdk 0.5.13 → 0.5.15
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 +6 -6
- package/CHANGELOG.md +15 -0
- package/README.md +42 -2
- package/dist/apis/chain-constants.d.ts.map +1 -1
- package/dist/apis/generated/premint-api-types.d.ts +1 -1
- package/dist/apis/generated/premint-api-types.d.ts.map +1 -1
- package/dist/constants.d.ts +1 -0
- package/dist/constants.d.ts.map +1 -1
- package/dist/index.cjs +1534 -11490
- package/dist/index.cjs.map +1 -1
- package/dist/index.js +1493 -11466
- package/dist/index.js.map +1 -1
- package/dist/mint/mint-api-client.d.ts +14 -6
- package/dist/mint/mint-api-client.d.ts.map +1 -1
- package/dist/mint/mint-client.d.ts +3 -2
- package/dist/mint/mint-client.d.ts.map +1 -1
- package/dist/mints/mints-contracts.d.ts +124 -26
- package/dist/mints/mints-contracts.d.ts.map +1 -1
- package/dist/mints/mints-queries.d.ts.map +1 -1
- package/dist/premint/contract-types.d.ts +2 -28
- package/dist/premint/contract-types.d.ts.map +1 -1
- package/dist/premint/conversions.d.ts +15 -35
- package/dist/premint/conversions.d.ts.map +1 -1
- package/dist/premint/premint-api-client.d.ts +1 -1
- package/dist/premint/premint-api-client.d.ts.map +1 -1
- package/dist/premint/premint-client.d.ts +2717 -4
- package/dist/premint/premint-client.d.ts.map +1 -1
- package/dist/premint/preminter.d.ts +3 -17
- package/dist/premint/preminter.d.ts.map +1 -1
- package/package.json +2 -3
- package/src/apis/chain-constants.ts +8 -0
- package/src/apis/generated/premint-api-types.ts +1 -0
- package/src/constants.ts +36 -0
- package/src/mint/mint-api-client.ts +107 -45
- package/src/mint/mint-client.test.ts +113 -2
- package/src/mint/mint-client.ts +64 -23
- package/src/mints/mints-contracts.test.ts +3 -5
- package/src/mints/mints-contracts.ts +2 -2
- package/src/mints/mints-queries.ts +1 -2
- package/src/premint/contract-types.ts +4 -54
- package/src/premint/conversions.ts +2 -1
- package/src/premint/premint-api-client.ts +1 -1
- package/src/premint/premint-client.test.ts +17 -6
- package/src/premint/premint-client.ts +28 -23
- package/src/premint/preminter.test.ts +239 -143
- package/src/premint/preminter.ts +12 -55
- package/test-integration/premint-client.test.ts +2 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import type { Account, Address, Chain, Hex, PublicClient,
|
|
1
|
+
import type { Account, Address, Chain, Hex, PublicClient, TransactionReceipt, WalletClient } from "viem";
|
|
2
2
|
import { zoraCreator1155PremintExecutorImplABI } from "@zoralabs/protocol-deployments";
|
|
3
|
-
import { PremintConfigVersion, ContractCreationConfig, TokenConfigForVersion, TokenCreationConfigV1, TokenCreationConfigV2, TokenCreationConfig, PremintConfigForVersion } from "
|
|
3
|
+
import { PremintConfigVersion, ContractCreationConfig, TokenConfigForVersion, TokenCreationConfigV1, TokenCreationConfigV2, TokenCreationConfig, PremintConfigForVersion } from "@zoralabs/protocol-deployments";
|
|
4
4
|
import { PremintAPIClient } from "./premint-api-client";
|
|
5
5
|
import type { DecodeEventLogReturnType } from "viem";
|
|
6
6
|
import { IHttpClient } from "src/apis/http-api-base";
|
|
@@ -136,8 +136,9 @@ declare class PremintClient {
|
|
|
136
136
|
contractAdmin: `0x${string}`;
|
|
137
137
|
contractURI: string;
|
|
138
138
|
contractName: string;
|
|
139
|
+
additionalAdmins: readonly `0x${string}`[];
|
|
139
140
|
};
|
|
140
|
-
} & import("
|
|
141
|
+
} & import("@zoralabs/protocol-deployments").PremintConfigAndVersion>;
|
|
141
142
|
/**
|
|
142
143
|
* Gets the deterministic contract address for a premint collection
|
|
143
144
|
* @param collection Collection to get the address for
|
|
@@ -192,7 +193,2719 @@ declare class PremintClient {
|
|
|
192
193
|
platformReferral?: Address;
|
|
193
194
|
mintRecipient?: Address;
|
|
194
195
|
};
|
|
195
|
-
}): Promise<SimulateContractParameters<
|
|
196
|
+
}): Promise<import("viem").SimulateContractParameters<readonly [{
|
|
197
|
+
readonly stateMutability: "nonpayable";
|
|
198
|
+
readonly type: "constructor";
|
|
199
|
+
readonly inputs: readonly [{
|
|
200
|
+
readonly name: "_factory";
|
|
201
|
+
readonly internalType: "contract IZoraCreator1155Factory";
|
|
202
|
+
readonly type: "address";
|
|
203
|
+
}];
|
|
204
|
+
}, {
|
|
205
|
+
readonly stateMutability: "nonpayable";
|
|
206
|
+
readonly type: "function";
|
|
207
|
+
readonly inputs: readonly [];
|
|
208
|
+
readonly name: "acceptOwnership";
|
|
209
|
+
readonly outputs: readonly [];
|
|
210
|
+
}, {
|
|
211
|
+
readonly stateMutability: "nonpayable";
|
|
212
|
+
readonly type: "function";
|
|
213
|
+
readonly inputs: readonly [];
|
|
214
|
+
readonly name: "cancelOwnershipTransfer";
|
|
215
|
+
readonly outputs: readonly [];
|
|
216
|
+
}, {
|
|
217
|
+
readonly stateMutability: "pure";
|
|
218
|
+
readonly type: "function";
|
|
219
|
+
readonly inputs: readonly [];
|
|
220
|
+
readonly name: "contractName";
|
|
221
|
+
readonly outputs: readonly [{
|
|
222
|
+
readonly name: "";
|
|
223
|
+
readonly internalType: "string";
|
|
224
|
+
readonly type: "string";
|
|
225
|
+
}];
|
|
226
|
+
}, {
|
|
227
|
+
readonly stateMutability: "pure";
|
|
228
|
+
readonly type: "function";
|
|
229
|
+
readonly inputs: readonly [];
|
|
230
|
+
readonly name: "contractVersion";
|
|
231
|
+
readonly outputs: readonly [{
|
|
232
|
+
readonly name: "";
|
|
233
|
+
readonly internalType: "string";
|
|
234
|
+
readonly type: "string";
|
|
235
|
+
}];
|
|
236
|
+
}, {
|
|
237
|
+
readonly stateMutability: "view";
|
|
238
|
+
readonly type: "function";
|
|
239
|
+
readonly inputs: readonly [{
|
|
240
|
+
readonly name: "contractConfig";
|
|
241
|
+
readonly internalType: "struct ContractCreationConfig";
|
|
242
|
+
readonly type: "tuple";
|
|
243
|
+
readonly components: readonly [{
|
|
244
|
+
readonly name: "contractAdmin";
|
|
245
|
+
readonly internalType: "address";
|
|
246
|
+
readonly type: "address";
|
|
247
|
+
}, {
|
|
248
|
+
readonly name: "contractURI";
|
|
249
|
+
readonly internalType: "string";
|
|
250
|
+
readonly type: "string";
|
|
251
|
+
}, {
|
|
252
|
+
readonly name: "contractName";
|
|
253
|
+
readonly internalType: "string";
|
|
254
|
+
readonly type: "string";
|
|
255
|
+
}];
|
|
256
|
+
}];
|
|
257
|
+
readonly name: "getContractAddress";
|
|
258
|
+
readonly outputs: readonly [{
|
|
259
|
+
readonly name: "";
|
|
260
|
+
readonly internalType: "address";
|
|
261
|
+
readonly type: "address";
|
|
262
|
+
}];
|
|
263
|
+
}, {
|
|
264
|
+
readonly stateMutability: "view";
|
|
265
|
+
readonly type: "function";
|
|
266
|
+
readonly inputs: readonly [{
|
|
267
|
+
readonly name: "contractConfig";
|
|
268
|
+
readonly internalType: "struct ContractWithAdditionalAdminsCreationConfig";
|
|
269
|
+
readonly type: "tuple";
|
|
270
|
+
readonly components: readonly [{
|
|
271
|
+
readonly name: "contractAdmin";
|
|
272
|
+
readonly internalType: "address";
|
|
273
|
+
readonly type: "address";
|
|
274
|
+
}, {
|
|
275
|
+
readonly name: "contractURI";
|
|
276
|
+
readonly internalType: "string";
|
|
277
|
+
readonly type: "string";
|
|
278
|
+
}, {
|
|
279
|
+
readonly name: "contractName";
|
|
280
|
+
readonly internalType: "string";
|
|
281
|
+
readonly type: "string";
|
|
282
|
+
}, {
|
|
283
|
+
readonly name: "additionalAdmins";
|
|
284
|
+
readonly internalType: "address[]";
|
|
285
|
+
readonly type: "address[]";
|
|
286
|
+
}];
|
|
287
|
+
}];
|
|
288
|
+
readonly name: "getContractWithAdditionalAdminsAddress";
|
|
289
|
+
readonly outputs: readonly [{
|
|
290
|
+
readonly name: "";
|
|
291
|
+
readonly internalType: "address";
|
|
292
|
+
readonly type: "address";
|
|
293
|
+
}];
|
|
294
|
+
}, {
|
|
295
|
+
readonly stateMutability: "view";
|
|
296
|
+
readonly type: "function";
|
|
297
|
+
readonly inputs: readonly [];
|
|
298
|
+
readonly name: "implementation";
|
|
299
|
+
readonly outputs: readonly [{
|
|
300
|
+
readonly name: "";
|
|
301
|
+
readonly internalType: "address";
|
|
302
|
+
readonly type: "address";
|
|
303
|
+
}];
|
|
304
|
+
}, {
|
|
305
|
+
readonly stateMutability: "nonpayable";
|
|
306
|
+
readonly type: "function";
|
|
307
|
+
readonly inputs: readonly [{
|
|
308
|
+
readonly name: "_initialOwner";
|
|
309
|
+
readonly internalType: "address";
|
|
310
|
+
readonly type: "address";
|
|
311
|
+
}];
|
|
312
|
+
readonly name: "initialize";
|
|
313
|
+
readonly outputs: readonly [];
|
|
314
|
+
}, {
|
|
315
|
+
readonly stateMutability: "view";
|
|
316
|
+
readonly type: "function";
|
|
317
|
+
readonly inputs: readonly [{
|
|
318
|
+
readonly name: "signer";
|
|
319
|
+
readonly internalType: "address";
|
|
320
|
+
readonly type: "address";
|
|
321
|
+
}, {
|
|
322
|
+
readonly name: "premintContractConfigContractAdmin";
|
|
323
|
+
readonly internalType: "address";
|
|
324
|
+
readonly type: "address";
|
|
325
|
+
}, {
|
|
326
|
+
readonly name: "contractAddress";
|
|
327
|
+
readonly internalType: "address";
|
|
328
|
+
readonly type: "address";
|
|
329
|
+
}];
|
|
330
|
+
readonly name: "isAuthorizedToCreatePremint";
|
|
331
|
+
readonly outputs: readonly [{
|
|
332
|
+
readonly name: "isAuthorized";
|
|
333
|
+
readonly internalType: "bool";
|
|
334
|
+
readonly type: "bool";
|
|
335
|
+
}];
|
|
336
|
+
}, {
|
|
337
|
+
readonly stateMutability: "view";
|
|
338
|
+
readonly type: "function";
|
|
339
|
+
readonly inputs: readonly [{
|
|
340
|
+
readonly name: "signer";
|
|
341
|
+
readonly internalType: "address";
|
|
342
|
+
readonly type: "address";
|
|
343
|
+
}, {
|
|
344
|
+
readonly name: "premintContractConfigContractAdmin";
|
|
345
|
+
readonly internalType: "address";
|
|
346
|
+
readonly type: "address";
|
|
347
|
+
}, {
|
|
348
|
+
readonly name: "contractAddress";
|
|
349
|
+
readonly internalType: "address";
|
|
350
|
+
readonly type: "address";
|
|
351
|
+
}, {
|
|
352
|
+
readonly name: "additionalAdmins";
|
|
353
|
+
readonly internalType: "address[]";
|
|
354
|
+
readonly type: "address[]";
|
|
355
|
+
}];
|
|
356
|
+
readonly name: "isAuthorizedToCreatePremintWithAdditionalAdmins";
|
|
357
|
+
readonly outputs: readonly [{
|
|
358
|
+
readonly name: "isAuthorized";
|
|
359
|
+
readonly internalType: "bool";
|
|
360
|
+
readonly type: "bool";
|
|
361
|
+
}];
|
|
362
|
+
}, {
|
|
363
|
+
readonly stateMutability: "view";
|
|
364
|
+
readonly type: "function";
|
|
365
|
+
readonly inputs: readonly [{
|
|
366
|
+
readonly name: "contractConfig";
|
|
367
|
+
readonly internalType: "struct ContractCreationConfig";
|
|
368
|
+
readonly type: "tuple";
|
|
369
|
+
readonly components: readonly [{
|
|
370
|
+
readonly name: "contractAdmin";
|
|
371
|
+
readonly internalType: "address";
|
|
372
|
+
readonly type: "address";
|
|
373
|
+
}, {
|
|
374
|
+
readonly name: "contractURI";
|
|
375
|
+
readonly internalType: "string";
|
|
376
|
+
readonly type: "string";
|
|
377
|
+
}, {
|
|
378
|
+
readonly name: "contractName";
|
|
379
|
+
readonly internalType: "string";
|
|
380
|
+
readonly type: "string";
|
|
381
|
+
}];
|
|
382
|
+
}, {
|
|
383
|
+
readonly name: "premintConfig";
|
|
384
|
+
readonly internalType: "struct PremintConfig";
|
|
385
|
+
readonly type: "tuple";
|
|
386
|
+
readonly components: readonly [{
|
|
387
|
+
readonly name: "tokenConfig";
|
|
388
|
+
readonly internalType: "struct TokenCreationConfig";
|
|
389
|
+
readonly type: "tuple";
|
|
390
|
+
readonly components: readonly [{
|
|
391
|
+
readonly name: "tokenURI";
|
|
392
|
+
readonly internalType: "string";
|
|
393
|
+
readonly type: "string";
|
|
394
|
+
}, {
|
|
395
|
+
readonly name: "maxSupply";
|
|
396
|
+
readonly internalType: "uint256";
|
|
397
|
+
readonly type: "uint256";
|
|
398
|
+
}, {
|
|
399
|
+
readonly name: "maxTokensPerAddress";
|
|
400
|
+
readonly internalType: "uint64";
|
|
401
|
+
readonly type: "uint64";
|
|
402
|
+
}, {
|
|
403
|
+
readonly name: "pricePerToken";
|
|
404
|
+
readonly internalType: "uint96";
|
|
405
|
+
readonly type: "uint96";
|
|
406
|
+
}, {
|
|
407
|
+
readonly name: "mintStart";
|
|
408
|
+
readonly internalType: "uint64";
|
|
409
|
+
readonly type: "uint64";
|
|
410
|
+
}, {
|
|
411
|
+
readonly name: "mintDuration";
|
|
412
|
+
readonly internalType: "uint64";
|
|
413
|
+
readonly type: "uint64";
|
|
414
|
+
}, {
|
|
415
|
+
readonly name: "royaltyMintSchedule";
|
|
416
|
+
readonly internalType: "uint32";
|
|
417
|
+
readonly type: "uint32";
|
|
418
|
+
}, {
|
|
419
|
+
readonly name: "royaltyBPS";
|
|
420
|
+
readonly internalType: "uint32";
|
|
421
|
+
readonly type: "uint32";
|
|
422
|
+
}, {
|
|
423
|
+
readonly name: "royaltyRecipient";
|
|
424
|
+
readonly internalType: "address";
|
|
425
|
+
readonly type: "address";
|
|
426
|
+
}, {
|
|
427
|
+
readonly name: "fixedPriceMinter";
|
|
428
|
+
readonly internalType: "address";
|
|
429
|
+
readonly type: "address";
|
|
430
|
+
}];
|
|
431
|
+
}, {
|
|
432
|
+
readonly name: "uid";
|
|
433
|
+
readonly internalType: "uint32";
|
|
434
|
+
readonly type: "uint32";
|
|
435
|
+
}, {
|
|
436
|
+
readonly name: "version";
|
|
437
|
+
readonly internalType: "uint32";
|
|
438
|
+
readonly type: "uint32";
|
|
439
|
+
}, {
|
|
440
|
+
readonly name: "deleted";
|
|
441
|
+
readonly internalType: "bool";
|
|
442
|
+
readonly type: "bool";
|
|
443
|
+
}];
|
|
444
|
+
}, {
|
|
445
|
+
readonly name: "signature";
|
|
446
|
+
readonly internalType: "bytes";
|
|
447
|
+
readonly type: "bytes";
|
|
448
|
+
}];
|
|
449
|
+
readonly name: "isValidSignature";
|
|
450
|
+
readonly outputs: readonly [{
|
|
451
|
+
readonly name: "isValid";
|
|
452
|
+
readonly internalType: "bool";
|
|
453
|
+
readonly type: "bool";
|
|
454
|
+
}, {
|
|
455
|
+
readonly name: "contractAddress";
|
|
456
|
+
readonly internalType: "address";
|
|
457
|
+
readonly type: "address";
|
|
458
|
+
}, {
|
|
459
|
+
readonly name: "recoveredSigner";
|
|
460
|
+
readonly internalType: "address";
|
|
461
|
+
readonly type: "address";
|
|
462
|
+
}];
|
|
463
|
+
}, {
|
|
464
|
+
readonly stateMutability: "view";
|
|
465
|
+
readonly type: "function";
|
|
466
|
+
readonly inputs: readonly [{
|
|
467
|
+
readonly name: "collectionAddress";
|
|
468
|
+
readonly internalType: "address";
|
|
469
|
+
readonly type: "address";
|
|
470
|
+
}];
|
|
471
|
+
readonly name: "mintFee";
|
|
472
|
+
readonly outputs: readonly [{
|
|
473
|
+
readonly name: "";
|
|
474
|
+
readonly internalType: "uint256";
|
|
475
|
+
readonly type: "uint256";
|
|
476
|
+
}];
|
|
477
|
+
}, {
|
|
478
|
+
readonly stateMutability: "view";
|
|
479
|
+
readonly type: "function";
|
|
480
|
+
readonly inputs: readonly [];
|
|
481
|
+
readonly name: "owner";
|
|
482
|
+
readonly outputs: readonly [{
|
|
483
|
+
readonly name: "";
|
|
484
|
+
readonly internalType: "address";
|
|
485
|
+
readonly type: "address";
|
|
486
|
+
}];
|
|
487
|
+
}, {
|
|
488
|
+
readonly stateMutability: "view";
|
|
489
|
+
readonly type: "function";
|
|
490
|
+
readonly inputs: readonly [];
|
|
491
|
+
readonly name: "pendingOwner";
|
|
492
|
+
readonly outputs: readonly [{
|
|
493
|
+
readonly name: "";
|
|
494
|
+
readonly internalType: "address";
|
|
495
|
+
readonly type: "address";
|
|
496
|
+
}];
|
|
497
|
+
}, {
|
|
498
|
+
readonly stateMutability: "payable";
|
|
499
|
+
readonly type: "function";
|
|
500
|
+
readonly inputs: readonly [{
|
|
501
|
+
readonly name: "contractConfig";
|
|
502
|
+
readonly internalType: "struct ContractWithAdditionalAdminsCreationConfig";
|
|
503
|
+
readonly type: "tuple";
|
|
504
|
+
readonly components: readonly [{
|
|
505
|
+
readonly name: "contractAdmin";
|
|
506
|
+
readonly internalType: "address";
|
|
507
|
+
readonly type: "address";
|
|
508
|
+
}, {
|
|
509
|
+
readonly name: "contractURI";
|
|
510
|
+
readonly internalType: "string";
|
|
511
|
+
readonly type: "string";
|
|
512
|
+
}, {
|
|
513
|
+
readonly name: "contractName";
|
|
514
|
+
readonly internalType: "string";
|
|
515
|
+
readonly type: "string";
|
|
516
|
+
}, {
|
|
517
|
+
readonly name: "additionalAdmins";
|
|
518
|
+
readonly internalType: "address[]";
|
|
519
|
+
readonly type: "address[]";
|
|
520
|
+
}];
|
|
521
|
+
}, {
|
|
522
|
+
readonly name: "premintCollection";
|
|
523
|
+
readonly internalType: "address";
|
|
524
|
+
readonly type: "address";
|
|
525
|
+
}, {
|
|
526
|
+
readonly name: "encodedPremintConfig";
|
|
527
|
+
readonly internalType: "struct PremintConfigEncoded";
|
|
528
|
+
readonly type: "tuple";
|
|
529
|
+
readonly components: readonly [{
|
|
530
|
+
readonly name: "uid";
|
|
531
|
+
readonly internalType: "uint32";
|
|
532
|
+
readonly type: "uint32";
|
|
533
|
+
}, {
|
|
534
|
+
readonly name: "version";
|
|
535
|
+
readonly internalType: "uint32";
|
|
536
|
+
readonly type: "uint32";
|
|
537
|
+
}, {
|
|
538
|
+
readonly name: "deleted";
|
|
539
|
+
readonly internalType: "bool";
|
|
540
|
+
readonly type: "bool";
|
|
541
|
+
}, {
|
|
542
|
+
readonly name: "tokenConfig";
|
|
543
|
+
readonly internalType: "bytes";
|
|
544
|
+
readonly type: "bytes";
|
|
545
|
+
}, {
|
|
546
|
+
readonly name: "premintConfigVersion";
|
|
547
|
+
readonly internalType: "bytes32";
|
|
548
|
+
readonly type: "bytes32";
|
|
549
|
+
}];
|
|
550
|
+
}, {
|
|
551
|
+
readonly name: "signature";
|
|
552
|
+
readonly internalType: "bytes";
|
|
553
|
+
readonly type: "bytes";
|
|
554
|
+
}, {
|
|
555
|
+
readonly name: "quantityToMint";
|
|
556
|
+
readonly internalType: "uint256";
|
|
557
|
+
readonly type: "uint256";
|
|
558
|
+
}, {
|
|
559
|
+
readonly name: "mintArguments";
|
|
560
|
+
readonly internalType: "struct MintArguments";
|
|
561
|
+
readonly type: "tuple";
|
|
562
|
+
readonly components: readonly [{
|
|
563
|
+
readonly name: "mintRecipient";
|
|
564
|
+
readonly internalType: "address";
|
|
565
|
+
readonly type: "address";
|
|
566
|
+
}, {
|
|
567
|
+
readonly name: "mintComment";
|
|
568
|
+
readonly internalType: "string";
|
|
569
|
+
readonly type: "string";
|
|
570
|
+
}, {
|
|
571
|
+
readonly name: "mintRewardsRecipients";
|
|
572
|
+
readonly internalType: "address[]";
|
|
573
|
+
readonly type: "address[]";
|
|
574
|
+
}];
|
|
575
|
+
}, {
|
|
576
|
+
readonly name: "firstMinter";
|
|
577
|
+
readonly internalType: "address";
|
|
578
|
+
readonly type: "address";
|
|
579
|
+
}, {
|
|
580
|
+
readonly name: "signerContract";
|
|
581
|
+
readonly internalType: "address";
|
|
582
|
+
readonly type: "address";
|
|
583
|
+
}];
|
|
584
|
+
readonly name: "premint";
|
|
585
|
+
readonly outputs: readonly [{
|
|
586
|
+
readonly name: "premintResult";
|
|
587
|
+
readonly internalType: "struct PremintResult";
|
|
588
|
+
readonly type: "tuple";
|
|
589
|
+
readonly components: readonly [{
|
|
590
|
+
readonly name: "contractAddress";
|
|
591
|
+
readonly internalType: "address";
|
|
592
|
+
readonly type: "address";
|
|
593
|
+
}, {
|
|
594
|
+
readonly name: "tokenId";
|
|
595
|
+
readonly internalType: "uint256";
|
|
596
|
+
readonly type: "uint256";
|
|
597
|
+
}, {
|
|
598
|
+
readonly name: "createdNewContract";
|
|
599
|
+
readonly internalType: "bool";
|
|
600
|
+
readonly type: "bool";
|
|
601
|
+
}];
|
|
602
|
+
}];
|
|
603
|
+
}, {
|
|
604
|
+
readonly stateMutability: "view";
|
|
605
|
+
readonly type: "function";
|
|
606
|
+
readonly inputs: readonly [{
|
|
607
|
+
readonly name: "contractAddress";
|
|
608
|
+
readonly internalType: "address";
|
|
609
|
+
readonly type: "address";
|
|
610
|
+
}, {
|
|
611
|
+
readonly name: "uid";
|
|
612
|
+
readonly internalType: "uint32";
|
|
613
|
+
readonly type: "uint32";
|
|
614
|
+
}];
|
|
615
|
+
readonly name: "premintStatus";
|
|
616
|
+
readonly outputs: readonly [{
|
|
617
|
+
readonly name: "contractCreated";
|
|
618
|
+
readonly internalType: "bool";
|
|
619
|
+
readonly type: "bool";
|
|
620
|
+
}, {
|
|
621
|
+
readonly name: "tokenIdForPremint";
|
|
622
|
+
readonly internalType: "uint256";
|
|
623
|
+
readonly type: "uint256";
|
|
624
|
+
}];
|
|
625
|
+
}, {
|
|
626
|
+
readonly stateMutability: "payable";
|
|
627
|
+
readonly type: "function";
|
|
628
|
+
readonly inputs: readonly [{
|
|
629
|
+
readonly name: "contractConfig";
|
|
630
|
+
readonly internalType: "struct ContractCreationConfig";
|
|
631
|
+
readonly type: "tuple";
|
|
632
|
+
readonly components: readonly [{
|
|
633
|
+
readonly name: "contractAdmin";
|
|
634
|
+
readonly internalType: "address";
|
|
635
|
+
readonly type: "address";
|
|
636
|
+
}, {
|
|
637
|
+
readonly name: "contractURI";
|
|
638
|
+
readonly internalType: "string";
|
|
639
|
+
readonly type: "string";
|
|
640
|
+
}, {
|
|
641
|
+
readonly name: "contractName";
|
|
642
|
+
readonly internalType: "string";
|
|
643
|
+
readonly type: "string";
|
|
644
|
+
}];
|
|
645
|
+
}, {
|
|
646
|
+
readonly name: "premintConfig";
|
|
647
|
+
readonly internalType: "struct PremintConfig";
|
|
648
|
+
readonly type: "tuple";
|
|
649
|
+
readonly components: readonly [{
|
|
650
|
+
readonly name: "tokenConfig";
|
|
651
|
+
readonly internalType: "struct TokenCreationConfig";
|
|
652
|
+
readonly type: "tuple";
|
|
653
|
+
readonly components: readonly [{
|
|
654
|
+
readonly name: "tokenURI";
|
|
655
|
+
readonly internalType: "string";
|
|
656
|
+
readonly type: "string";
|
|
657
|
+
}, {
|
|
658
|
+
readonly name: "maxSupply";
|
|
659
|
+
readonly internalType: "uint256";
|
|
660
|
+
readonly type: "uint256";
|
|
661
|
+
}, {
|
|
662
|
+
readonly name: "maxTokensPerAddress";
|
|
663
|
+
readonly internalType: "uint64";
|
|
664
|
+
readonly type: "uint64";
|
|
665
|
+
}, {
|
|
666
|
+
readonly name: "pricePerToken";
|
|
667
|
+
readonly internalType: "uint96";
|
|
668
|
+
readonly type: "uint96";
|
|
669
|
+
}, {
|
|
670
|
+
readonly name: "mintStart";
|
|
671
|
+
readonly internalType: "uint64";
|
|
672
|
+
readonly type: "uint64";
|
|
673
|
+
}, {
|
|
674
|
+
readonly name: "mintDuration";
|
|
675
|
+
readonly internalType: "uint64";
|
|
676
|
+
readonly type: "uint64";
|
|
677
|
+
}, {
|
|
678
|
+
readonly name: "royaltyMintSchedule";
|
|
679
|
+
readonly internalType: "uint32";
|
|
680
|
+
readonly type: "uint32";
|
|
681
|
+
}, {
|
|
682
|
+
readonly name: "royaltyBPS";
|
|
683
|
+
readonly internalType: "uint32";
|
|
684
|
+
readonly type: "uint32";
|
|
685
|
+
}, {
|
|
686
|
+
readonly name: "royaltyRecipient";
|
|
687
|
+
readonly internalType: "address";
|
|
688
|
+
readonly type: "address";
|
|
689
|
+
}, {
|
|
690
|
+
readonly name: "fixedPriceMinter";
|
|
691
|
+
readonly internalType: "address";
|
|
692
|
+
readonly type: "address";
|
|
693
|
+
}];
|
|
694
|
+
}, {
|
|
695
|
+
readonly name: "uid";
|
|
696
|
+
readonly internalType: "uint32";
|
|
697
|
+
readonly type: "uint32";
|
|
698
|
+
}, {
|
|
699
|
+
readonly name: "version";
|
|
700
|
+
readonly internalType: "uint32";
|
|
701
|
+
readonly type: "uint32";
|
|
702
|
+
}, {
|
|
703
|
+
readonly name: "deleted";
|
|
704
|
+
readonly internalType: "bool";
|
|
705
|
+
readonly type: "bool";
|
|
706
|
+
}];
|
|
707
|
+
}, {
|
|
708
|
+
readonly name: "signature";
|
|
709
|
+
readonly internalType: "bytes";
|
|
710
|
+
readonly type: "bytes";
|
|
711
|
+
}, {
|
|
712
|
+
readonly name: "quantityToMint";
|
|
713
|
+
readonly internalType: "uint256";
|
|
714
|
+
readonly type: "uint256";
|
|
715
|
+
}, {
|
|
716
|
+
readonly name: "mintArguments";
|
|
717
|
+
readonly internalType: "struct MintArguments";
|
|
718
|
+
readonly type: "tuple";
|
|
719
|
+
readonly components: readonly [{
|
|
720
|
+
readonly name: "mintRecipient";
|
|
721
|
+
readonly internalType: "address";
|
|
722
|
+
readonly type: "address";
|
|
723
|
+
}, {
|
|
724
|
+
readonly name: "mintComment";
|
|
725
|
+
readonly internalType: "string";
|
|
726
|
+
readonly type: "string";
|
|
727
|
+
}, {
|
|
728
|
+
readonly name: "mintRewardsRecipients";
|
|
729
|
+
readonly internalType: "address[]";
|
|
730
|
+
readonly type: "address[]";
|
|
731
|
+
}];
|
|
732
|
+
}];
|
|
733
|
+
readonly name: "premintV1";
|
|
734
|
+
readonly outputs: readonly [{
|
|
735
|
+
readonly name: "";
|
|
736
|
+
readonly internalType: "struct PremintResult";
|
|
737
|
+
readonly type: "tuple";
|
|
738
|
+
readonly components: readonly [{
|
|
739
|
+
readonly name: "contractAddress";
|
|
740
|
+
readonly internalType: "address";
|
|
741
|
+
readonly type: "address";
|
|
742
|
+
}, {
|
|
743
|
+
readonly name: "tokenId";
|
|
744
|
+
readonly internalType: "uint256";
|
|
745
|
+
readonly type: "uint256";
|
|
746
|
+
}, {
|
|
747
|
+
readonly name: "createdNewContract";
|
|
748
|
+
readonly internalType: "bool";
|
|
749
|
+
readonly type: "bool";
|
|
750
|
+
}];
|
|
751
|
+
}];
|
|
752
|
+
}, {
|
|
753
|
+
readonly stateMutability: "payable";
|
|
754
|
+
readonly type: "function";
|
|
755
|
+
readonly inputs: readonly [{
|
|
756
|
+
readonly name: "contractConfig";
|
|
757
|
+
readonly internalType: "struct ContractCreationConfig";
|
|
758
|
+
readonly type: "tuple";
|
|
759
|
+
readonly components: readonly [{
|
|
760
|
+
readonly name: "contractAdmin";
|
|
761
|
+
readonly internalType: "address";
|
|
762
|
+
readonly type: "address";
|
|
763
|
+
}, {
|
|
764
|
+
readonly name: "contractURI";
|
|
765
|
+
readonly internalType: "string";
|
|
766
|
+
readonly type: "string";
|
|
767
|
+
}, {
|
|
768
|
+
readonly name: "contractName";
|
|
769
|
+
readonly internalType: "string";
|
|
770
|
+
readonly type: "string";
|
|
771
|
+
}];
|
|
772
|
+
}, {
|
|
773
|
+
readonly name: "premintConfig";
|
|
774
|
+
readonly internalType: "struct PremintConfigV2";
|
|
775
|
+
readonly type: "tuple";
|
|
776
|
+
readonly components: readonly [{
|
|
777
|
+
readonly name: "tokenConfig";
|
|
778
|
+
readonly internalType: "struct TokenCreationConfigV2";
|
|
779
|
+
readonly type: "tuple";
|
|
780
|
+
readonly components: readonly [{
|
|
781
|
+
readonly name: "tokenURI";
|
|
782
|
+
readonly internalType: "string";
|
|
783
|
+
readonly type: "string";
|
|
784
|
+
}, {
|
|
785
|
+
readonly name: "maxSupply";
|
|
786
|
+
readonly internalType: "uint256";
|
|
787
|
+
readonly type: "uint256";
|
|
788
|
+
}, {
|
|
789
|
+
readonly name: "maxTokensPerAddress";
|
|
790
|
+
readonly internalType: "uint64";
|
|
791
|
+
readonly type: "uint64";
|
|
792
|
+
}, {
|
|
793
|
+
readonly name: "pricePerToken";
|
|
794
|
+
readonly internalType: "uint96";
|
|
795
|
+
readonly type: "uint96";
|
|
796
|
+
}, {
|
|
797
|
+
readonly name: "mintStart";
|
|
798
|
+
readonly internalType: "uint64";
|
|
799
|
+
readonly type: "uint64";
|
|
800
|
+
}, {
|
|
801
|
+
readonly name: "mintDuration";
|
|
802
|
+
readonly internalType: "uint64";
|
|
803
|
+
readonly type: "uint64";
|
|
804
|
+
}, {
|
|
805
|
+
readonly name: "royaltyBPS";
|
|
806
|
+
readonly internalType: "uint32";
|
|
807
|
+
readonly type: "uint32";
|
|
808
|
+
}, {
|
|
809
|
+
readonly name: "payoutRecipient";
|
|
810
|
+
readonly internalType: "address";
|
|
811
|
+
readonly type: "address";
|
|
812
|
+
}, {
|
|
813
|
+
readonly name: "fixedPriceMinter";
|
|
814
|
+
readonly internalType: "address";
|
|
815
|
+
readonly type: "address";
|
|
816
|
+
}, {
|
|
817
|
+
readonly name: "createReferral";
|
|
818
|
+
readonly internalType: "address";
|
|
819
|
+
readonly type: "address";
|
|
820
|
+
}];
|
|
821
|
+
}, {
|
|
822
|
+
readonly name: "uid";
|
|
823
|
+
readonly internalType: "uint32";
|
|
824
|
+
readonly type: "uint32";
|
|
825
|
+
}, {
|
|
826
|
+
readonly name: "version";
|
|
827
|
+
readonly internalType: "uint32";
|
|
828
|
+
readonly type: "uint32";
|
|
829
|
+
}, {
|
|
830
|
+
readonly name: "deleted";
|
|
831
|
+
readonly internalType: "bool";
|
|
832
|
+
readonly type: "bool";
|
|
833
|
+
}];
|
|
834
|
+
}, {
|
|
835
|
+
readonly name: "signature";
|
|
836
|
+
readonly internalType: "bytes";
|
|
837
|
+
readonly type: "bytes";
|
|
838
|
+
}, {
|
|
839
|
+
readonly name: "quantityToMint";
|
|
840
|
+
readonly internalType: "uint256";
|
|
841
|
+
readonly type: "uint256";
|
|
842
|
+
}, {
|
|
843
|
+
readonly name: "mintArguments";
|
|
844
|
+
readonly internalType: "struct MintArguments";
|
|
845
|
+
readonly type: "tuple";
|
|
846
|
+
readonly components: readonly [{
|
|
847
|
+
readonly name: "mintRecipient";
|
|
848
|
+
readonly internalType: "address";
|
|
849
|
+
readonly type: "address";
|
|
850
|
+
}, {
|
|
851
|
+
readonly name: "mintComment";
|
|
852
|
+
readonly internalType: "string";
|
|
853
|
+
readonly type: "string";
|
|
854
|
+
}, {
|
|
855
|
+
readonly name: "mintRewardsRecipients";
|
|
856
|
+
readonly internalType: "address[]";
|
|
857
|
+
readonly type: "address[]";
|
|
858
|
+
}];
|
|
859
|
+
}];
|
|
860
|
+
readonly name: "premintV2";
|
|
861
|
+
readonly outputs: readonly [{
|
|
862
|
+
readonly name: "";
|
|
863
|
+
readonly internalType: "struct PremintResult";
|
|
864
|
+
readonly type: "tuple";
|
|
865
|
+
readonly components: readonly [{
|
|
866
|
+
readonly name: "contractAddress";
|
|
867
|
+
readonly internalType: "address";
|
|
868
|
+
readonly type: "address";
|
|
869
|
+
}, {
|
|
870
|
+
readonly name: "tokenId";
|
|
871
|
+
readonly internalType: "uint256";
|
|
872
|
+
readonly type: "uint256";
|
|
873
|
+
}, {
|
|
874
|
+
readonly name: "createdNewContract";
|
|
875
|
+
readonly internalType: "bool";
|
|
876
|
+
readonly type: "bool";
|
|
877
|
+
}];
|
|
878
|
+
}];
|
|
879
|
+
}, {
|
|
880
|
+
readonly stateMutability: "view";
|
|
881
|
+
readonly type: "function";
|
|
882
|
+
readonly inputs: readonly [];
|
|
883
|
+
readonly name: "proxiableUUID";
|
|
884
|
+
readonly outputs: readonly [{
|
|
885
|
+
readonly name: "";
|
|
886
|
+
readonly internalType: "bytes32";
|
|
887
|
+
readonly type: "bytes32";
|
|
888
|
+
}];
|
|
889
|
+
}, {
|
|
890
|
+
readonly stateMutability: "nonpayable";
|
|
891
|
+
readonly type: "function";
|
|
892
|
+
readonly inputs: readonly [];
|
|
893
|
+
readonly name: "resignOwnership";
|
|
894
|
+
readonly outputs: readonly [];
|
|
895
|
+
}, {
|
|
896
|
+
readonly stateMutability: "nonpayable";
|
|
897
|
+
readonly type: "function";
|
|
898
|
+
readonly inputs: readonly [{
|
|
899
|
+
readonly name: "_newOwner";
|
|
900
|
+
readonly internalType: "address";
|
|
901
|
+
readonly type: "address";
|
|
902
|
+
}];
|
|
903
|
+
readonly name: "safeTransferOwnership";
|
|
904
|
+
readonly outputs: readonly [];
|
|
905
|
+
}, {
|
|
906
|
+
readonly stateMutability: "view";
|
|
907
|
+
readonly type: "function";
|
|
908
|
+
readonly inputs: readonly [{
|
|
909
|
+
readonly name: "contractAddress";
|
|
910
|
+
readonly internalType: "address";
|
|
911
|
+
readonly type: "address";
|
|
912
|
+
}];
|
|
913
|
+
readonly name: "supportedPremintSignatureVersions";
|
|
914
|
+
readonly outputs: readonly [{
|
|
915
|
+
readonly name: "versions";
|
|
916
|
+
readonly internalType: "string[]";
|
|
917
|
+
readonly type: "string[]";
|
|
918
|
+
}];
|
|
919
|
+
}, {
|
|
920
|
+
readonly stateMutability: "nonpayable";
|
|
921
|
+
readonly type: "function";
|
|
922
|
+
readonly inputs: readonly [{
|
|
923
|
+
readonly name: "_newOwner";
|
|
924
|
+
readonly internalType: "address";
|
|
925
|
+
readonly type: "address";
|
|
926
|
+
}];
|
|
927
|
+
readonly name: "transferOwnership";
|
|
928
|
+
readonly outputs: readonly [];
|
|
929
|
+
}, {
|
|
930
|
+
readonly stateMutability: "nonpayable";
|
|
931
|
+
readonly type: "function";
|
|
932
|
+
readonly inputs: readonly [{
|
|
933
|
+
readonly name: "newImplementation";
|
|
934
|
+
readonly internalType: "address";
|
|
935
|
+
readonly type: "address";
|
|
936
|
+
}];
|
|
937
|
+
readonly name: "upgradeTo";
|
|
938
|
+
readonly outputs: readonly [];
|
|
939
|
+
}, {
|
|
940
|
+
readonly stateMutability: "payable";
|
|
941
|
+
readonly type: "function";
|
|
942
|
+
readonly inputs: readonly [{
|
|
943
|
+
readonly name: "newImplementation";
|
|
944
|
+
readonly internalType: "address";
|
|
945
|
+
readonly type: "address";
|
|
946
|
+
}, {
|
|
947
|
+
readonly name: "data";
|
|
948
|
+
readonly internalType: "bytes";
|
|
949
|
+
readonly type: "bytes";
|
|
950
|
+
}];
|
|
951
|
+
readonly name: "upgradeToAndCall";
|
|
952
|
+
readonly outputs: readonly [];
|
|
953
|
+
}, {
|
|
954
|
+
readonly stateMutability: "view";
|
|
955
|
+
readonly type: "function";
|
|
956
|
+
readonly inputs: readonly [];
|
|
957
|
+
readonly name: "zora1155Factory";
|
|
958
|
+
readonly outputs: readonly [{
|
|
959
|
+
readonly name: "";
|
|
960
|
+
readonly internalType: "contract IZoraCreator1155Factory";
|
|
961
|
+
readonly type: "address";
|
|
962
|
+
}];
|
|
963
|
+
}, {
|
|
964
|
+
readonly type: "event";
|
|
965
|
+
readonly anonymous: false;
|
|
966
|
+
readonly inputs: readonly [{
|
|
967
|
+
readonly name: "previousAdmin";
|
|
968
|
+
readonly internalType: "address";
|
|
969
|
+
readonly type: "address";
|
|
970
|
+
readonly indexed: false;
|
|
971
|
+
}, {
|
|
972
|
+
readonly name: "newAdmin";
|
|
973
|
+
readonly internalType: "address";
|
|
974
|
+
readonly type: "address";
|
|
975
|
+
readonly indexed: false;
|
|
976
|
+
}];
|
|
977
|
+
readonly name: "AdminChanged";
|
|
978
|
+
}, {
|
|
979
|
+
readonly type: "event";
|
|
980
|
+
readonly anonymous: false;
|
|
981
|
+
readonly inputs: readonly [{
|
|
982
|
+
readonly name: "beacon";
|
|
983
|
+
readonly internalType: "address";
|
|
984
|
+
readonly type: "address";
|
|
985
|
+
readonly indexed: true;
|
|
986
|
+
}];
|
|
987
|
+
readonly name: "BeaconUpgraded";
|
|
988
|
+
}, {
|
|
989
|
+
readonly type: "event";
|
|
990
|
+
readonly anonymous: false;
|
|
991
|
+
readonly inputs: readonly [{
|
|
992
|
+
readonly name: "version";
|
|
993
|
+
readonly internalType: "uint8";
|
|
994
|
+
readonly type: "uint8";
|
|
995
|
+
readonly indexed: false;
|
|
996
|
+
}];
|
|
997
|
+
readonly name: "Initialized";
|
|
998
|
+
}, {
|
|
999
|
+
readonly type: "event";
|
|
1000
|
+
readonly anonymous: false;
|
|
1001
|
+
readonly inputs: readonly [{
|
|
1002
|
+
readonly name: "owner";
|
|
1003
|
+
readonly internalType: "address";
|
|
1004
|
+
readonly type: "address";
|
|
1005
|
+
readonly indexed: true;
|
|
1006
|
+
}, {
|
|
1007
|
+
readonly name: "canceledOwner";
|
|
1008
|
+
readonly internalType: "address";
|
|
1009
|
+
readonly type: "address";
|
|
1010
|
+
readonly indexed: true;
|
|
1011
|
+
}];
|
|
1012
|
+
readonly name: "OwnerCanceled";
|
|
1013
|
+
}, {
|
|
1014
|
+
readonly type: "event";
|
|
1015
|
+
readonly anonymous: false;
|
|
1016
|
+
readonly inputs: readonly [{
|
|
1017
|
+
readonly name: "owner";
|
|
1018
|
+
readonly internalType: "address";
|
|
1019
|
+
readonly type: "address";
|
|
1020
|
+
readonly indexed: true;
|
|
1021
|
+
}, {
|
|
1022
|
+
readonly name: "pendingOwner";
|
|
1023
|
+
readonly internalType: "address";
|
|
1024
|
+
readonly type: "address";
|
|
1025
|
+
readonly indexed: true;
|
|
1026
|
+
}];
|
|
1027
|
+
readonly name: "OwnerPending";
|
|
1028
|
+
}, {
|
|
1029
|
+
readonly type: "event";
|
|
1030
|
+
readonly anonymous: false;
|
|
1031
|
+
readonly inputs: readonly [{
|
|
1032
|
+
readonly name: "prevOwner";
|
|
1033
|
+
readonly internalType: "address";
|
|
1034
|
+
readonly type: "address";
|
|
1035
|
+
readonly indexed: true;
|
|
1036
|
+
}, {
|
|
1037
|
+
readonly name: "newOwner";
|
|
1038
|
+
readonly internalType: "address";
|
|
1039
|
+
readonly type: "address";
|
|
1040
|
+
readonly indexed: true;
|
|
1041
|
+
}];
|
|
1042
|
+
readonly name: "OwnerUpdated";
|
|
1043
|
+
}, {
|
|
1044
|
+
readonly type: "event";
|
|
1045
|
+
readonly anonymous: false;
|
|
1046
|
+
readonly inputs: readonly [{
|
|
1047
|
+
readonly name: "contractAddress";
|
|
1048
|
+
readonly internalType: "address";
|
|
1049
|
+
readonly type: "address";
|
|
1050
|
+
readonly indexed: true;
|
|
1051
|
+
}, {
|
|
1052
|
+
readonly name: "tokenId";
|
|
1053
|
+
readonly internalType: "uint256";
|
|
1054
|
+
readonly type: "uint256";
|
|
1055
|
+
readonly indexed: true;
|
|
1056
|
+
}, {
|
|
1057
|
+
readonly name: "createdNewContract";
|
|
1058
|
+
readonly internalType: "bool";
|
|
1059
|
+
readonly type: "bool";
|
|
1060
|
+
readonly indexed: true;
|
|
1061
|
+
}, {
|
|
1062
|
+
readonly name: "uid";
|
|
1063
|
+
readonly internalType: "uint32";
|
|
1064
|
+
readonly type: "uint32";
|
|
1065
|
+
readonly indexed: false;
|
|
1066
|
+
}, {
|
|
1067
|
+
readonly name: "contractConfig";
|
|
1068
|
+
readonly internalType: "struct ContractCreationConfig";
|
|
1069
|
+
readonly type: "tuple";
|
|
1070
|
+
readonly components: readonly [{
|
|
1071
|
+
readonly name: "contractAdmin";
|
|
1072
|
+
readonly internalType: "address";
|
|
1073
|
+
readonly type: "address";
|
|
1074
|
+
}, {
|
|
1075
|
+
readonly name: "contractURI";
|
|
1076
|
+
readonly internalType: "string";
|
|
1077
|
+
readonly type: "string";
|
|
1078
|
+
}, {
|
|
1079
|
+
readonly name: "contractName";
|
|
1080
|
+
readonly internalType: "string";
|
|
1081
|
+
readonly type: "string";
|
|
1082
|
+
}];
|
|
1083
|
+
readonly indexed: false;
|
|
1084
|
+
}, {
|
|
1085
|
+
readonly name: "tokenConfig";
|
|
1086
|
+
readonly internalType: "struct TokenCreationConfig";
|
|
1087
|
+
readonly type: "tuple";
|
|
1088
|
+
readonly components: readonly [{
|
|
1089
|
+
readonly name: "tokenURI";
|
|
1090
|
+
readonly internalType: "string";
|
|
1091
|
+
readonly type: "string";
|
|
1092
|
+
}, {
|
|
1093
|
+
readonly name: "maxSupply";
|
|
1094
|
+
readonly internalType: "uint256";
|
|
1095
|
+
readonly type: "uint256";
|
|
1096
|
+
}, {
|
|
1097
|
+
readonly name: "maxTokensPerAddress";
|
|
1098
|
+
readonly internalType: "uint64";
|
|
1099
|
+
readonly type: "uint64";
|
|
1100
|
+
}, {
|
|
1101
|
+
readonly name: "pricePerToken";
|
|
1102
|
+
readonly internalType: "uint96";
|
|
1103
|
+
readonly type: "uint96";
|
|
1104
|
+
}, {
|
|
1105
|
+
readonly name: "mintStart";
|
|
1106
|
+
readonly internalType: "uint64";
|
|
1107
|
+
readonly type: "uint64";
|
|
1108
|
+
}, {
|
|
1109
|
+
readonly name: "mintDuration";
|
|
1110
|
+
readonly internalType: "uint64";
|
|
1111
|
+
readonly type: "uint64";
|
|
1112
|
+
}, {
|
|
1113
|
+
readonly name: "royaltyMintSchedule";
|
|
1114
|
+
readonly internalType: "uint32";
|
|
1115
|
+
readonly type: "uint32";
|
|
1116
|
+
}, {
|
|
1117
|
+
readonly name: "royaltyBPS";
|
|
1118
|
+
readonly internalType: "uint32";
|
|
1119
|
+
readonly type: "uint32";
|
|
1120
|
+
}, {
|
|
1121
|
+
readonly name: "royaltyRecipient";
|
|
1122
|
+
readonly internalType: "address";
|
|
1123
|
+
readonly type: "address";
|
|
1124
|
+
}, {
|
|
1125
|
+
readonly name: "fixedPriceMinter";
|
|
1126
|
+
readonly internalType: "address";
|
|
1127
|
+
readonly type: "address";
|
|
1128
|
+
}];
|
|
1129
|
+
readonly indexed: false;
|
|
1130
|
+
}, {
|
|
1131
|
+
readonly name: "minter";
|
|
1132
|
+
readonly internalType: "address";
|
|
1133
|
+
readonly type: "address";
|
|
1134
|
+
readonly indexed: false;
|
|
1135
|
+
}, {
|
|
1136
|
+
readonly name: "quantityMinted";
|
|
1137
|
+
readonly internalType: "uint256";
|
|
1138
|
+
readonly type: "uint256";
|
|
1139
|
+
readonly indexed: false;
|
|
1140
|
+
}];
|
|
1141
|
+
readonly name: "Preminted";
|
|
1142
|
+
}, {
|
|
1143
|
+
readonly type: "event";
|
|
1144
|
+
readonly anonymous: false;
|
|
1145
|
+
readonly inputs: readonly [{
|
|
1146
|
+
readonly name: "contractAddress";
|
|
1147
|
+
readonly internalType: "address";
|
|
1148
|
+
readonly type: "address";
|
|
1149
|
+
readonly indexed: true;
|
|
1150
|
+
}, {
|
|
1151
|
+
readonly name: "tokenId";
|
|
1152
|
+
readonly internalType: "uint256";
|
|
1153
|
+
readonly type: "uint256";
|
|
1154
|
+
readonly indexed: true;
|
|
1155
|
+
}, {
|
|
1156
|
+
readonly name: "createdNewContract";
|
|
1157
|
+
readonly internalType: "bool";
|
|
1158
|
+
readonly type: "bool";
|
|
1159
|
+
readonly indexed: true;
|
|
1160
|
+
}, {
|
|
1161
|
+
readonly name: "uid";
|
|
1162
|
+
readonly internalType: "uint32";
|
|
1163
|
+
readonly type: "uint32";
|
|
1164
|
+
readonly indexed: false;
|
|
1165
|
+
}, {
|
|
1166
|
+
readonly name: "minter";
|
|
1167
|
+
readonly internalType: "address";
|
|
1168
|
+
readonly type: "address";
|
|
1169
|
+
readonly indexed: false;
|
|
1170
|
+
}, {
|
|
1171
|
+
readonly name: "quantityMinted";
|
|
1172
|
+
readonly internalType: "uint256";
|
|
1173
|
+
readonly type: "uint256";
|
|
1174
|
+
readonly indexed: false;
|
|
1175
|
+
}];
|
|
1176
|
+
readonly name: "PremintedV2";
|
|
1177
|
+
}, {
|
|
1178
|
+
readonly type: "event";
|
|
1179
|
+
readonly anonymous: false;
|
|
1180
|
+
readonly inputs: readonly [{
|
|
1181
|
+
readonly name: "implementation";
|
|
1182
|
+
readonly internalType: "address";
|
|
1183
|
+
readonly type: "address";
|
|
1184
|
+
readonly indexed: true;
|
|
1185
|
+
}];
|
|
1186
|
+
readonly name: "Upgraded";
|
|
1187
|
+
}, {
|
|
1188
|
+
readonly type: "error";
|
|
1189
|
+
readonly inputs: readonly [];
|
|
1190
|
+
readonly name: "ADDRESS_DELEGATECALL_TO_NON_CONTRACT";
|
|
1191
|
+
}, {
|
|
1192
|
+
readonly type: "error";
|
|
1193
|
+
readonly inputs: readonly [];
|
|
1194
|
+
readonly name: "ADDRESS_LOW_LEVEL_CALL_FAILED";
|
|
1195
|
+
}, {
|
|
1196
|
+
readonly type: "error";
|
|
1197
|
+
readonly inputs: readonly [{
|
|
1198
|
+
readonly name: "operator";
|
|
1199
|
+
readonly internalType: "address";
|
|
1200
|
+
readonly type: "address";
|
|
1201
|
+
}, {
|
|
1202
|
+
readonly name: "user";
|
|
1203
|
+
readonly internalType: "address";
|
|
1204
|
+
readonly type: "address";
|
|
1205
|
+
}];
|
|
1206
|
+
readonly name: "Burn_NotOwnerOrApproved";
|
|
1207
|
+
}, {
|
|
1208
|
+
readonly type: "error";
|
|
1209
|
+
readonly inputs: readonly [];
|
|
1210
|
+
readonly name: "CREATOR_FUNDS_RECIPIENT_NOT_SET";
|
|
1211
|
+
}, {
|
|
1212
|
+
readonly type: "error";
|
|
1213
|
+
readonly inputs: readonly [{
|
|
1214
|
+
readonly name: "reason";
|
|
1215
|
+
readonly internalType: "bytes";
|
|
1216
|
+
readonly type: "bytes";
|
|
1217
|
+
}];
|
|
1218
|
+
readonly name: "CallFailed";
|
|
1219
|
+
}, {
|
|
1220
|
+
readonly type: "error";
|
|
1221
|
+
readonly inputs: readonly [];
|
|
1222
|
+
readonly name: "Call_TokenIdMismatch";
|
|
1223
|
+
}, {
|
|
1224
|
+
readonly type: "error";
|
|
1225
|
+
readonly inputs: readonly [];
|
|
1226
|
+
readonly name: "CallerNotZoraCreator1155";
|
|
1227
|
+
}, {
|
|
1228
|
+
readonly type: "error";
|
|
1229
|
+
readonly inputs: readonly [{
|
|
1230
|
+
readonly name: "tokenId";
|
|
1231
|
+
readonly internalType: "uint256";
|
|
1232
|
+
readonly type: "uint256";
|
|
1233
|
+
}, {
|
|
1234
|
+
readonly name: "quantity";
|
|
1235
|
+
readonly internalType: "uint256";
|
|
1236
|
+
readonly type: "uint256";
|
|
1237
|
+
}, {
|
|
1238
|
+
readonly name: "totalMinted";
|
|
1239
|
+
readonly internalType: "uint256";
|
|
1240
|
+
readonly type: "uint256";
|
|
1241
|
+
}, {
|
|
1242
|
+
readonly name: "maxSupply";
|
|
1243
|
+
readonly internalType: "uint256";
|
|
1244
|
+
readonly type: "uint256";
|
|
1245
|
+
}];
|
|
1246
|
+
readonly name: "CannotMintMoreTokens";
|
|
1247
|
+
}, {
|
|
1248
|
+
readonly type: "error";
|
|
1249
|
+
readonly inputs: readonly [{
|
|
1250
|
+
readonly name: "proposedAddress";
|
|
1251
|
+
readonly internalType: "address";
|
|
1252
|
+
readonly type: "address";
|
|
1253
|
+
}];
|
|
1254
|
+
readonly name: "Config_TransferHookNotSupported";
|
|
1255
|
+
}, {
|
|
1256
|
+
readonly type: "error";
|
|
1257
|
+
readonly inputs: readonly [];
|
|
1258
|
+
readonly name: "ERC1155_MINT_TO_ZERO_ADDRESS";
|
|
1259
|
+
}, {
|
|
1260
|
+
readonly type: "error";
|
|
1261
|
+
readonly inputs: readonly [];
|
|
1262
|
+
readonly name: "ERC1967_NEW_IMPL_NOT_CONTRACT";
|
|
1263
|
+
}, {
|
|
1264
|
+
readonly type: "error";
|
|
1265
|
+
readonly inputs: readonly [];
|
|
1266
|
+
readonly name: "ERC1967_NEW_IMPL_NOT_UUPS";
|
|
1267
|
+
}, {
|
|
1268
|
+
readonly type: "error";
|
|
1269
|
+
readonly inputs: readonly [];
|
|
1270
|
+
readonly name: "ERC1967_UNSUPPORTED_PROXIABLEUUID";
|
|
1271
|
+
}, {
|
|
1272
|
+
readonly type: "error";
|
|
1273
|
+
readonly inputs: readonly [];
|
|
1274
|
+
readonly name: "ERC20TransferSlippage";
|
|
1275
|
+
}, {
|
|
1276
|
+
readonly type: "error";
|
|
1277
|
+
readonly inputs: readonly [{
|
|
1278
|
+
readonly name: "recipient";
|
|
1279
|
+
readonly internalType: "address";
|
|
1280
|
+
readonly type: "address";
|
|
1281
|
+
}, {
|
|
1282
|
+
readonly name: "amount";
|
|
1283
|
+
readonly internalType: "uint256";
|
|
1284
|
+
readonly type: "uint256";
|
|
1285
|
+
}];
|
|
1286
|
+
readonly name: "ETHWithdrawFailed";
|
|
1287
|
+
}, {
|
|
1288
|
+
readonly type: "error";
|
|
1289
|
+
readonly inputs: readonly [];
|
|
1290
|
+
readonly name: "FUNCTION_MUST_BE_CALLED_THROUGH_ACTIVE_PROXY";
|
|
1291
|
+
}, {
|
|
1292
|
+
readonly type: "error";
|
|
1293
|
+
readonly inputs: readonly [];
|
|
1294
|
+
readonly name: "FUNCTION_MUST_BE_CALLED_THROUGH_DELEGATECALL";
|
|
1295
|
+
}, {
|
|
1296
|
+
readonly type: "error";
|
|
1297
|
+
readonly inputs: readonly [];
|
|
1298
|
+
readonly name: "FirstMinterAddressZero";
|
|
1299
|
+
}, {
|
|
1300
|
+
readonly type: "error";
|
|
1301
|
+
readonly inputs: readonly [{
|
|
1302
|
+
readonly name: "amount";
|
|
1303
|
+
readonly internalType: "uint256";
|
|
1304
|
+
readonly type: "uint256";
|
|
1305
|
+
}, {
|
|
1306
|
+
readonly name: "contractValue";
|
|
1307
|
+
readonly internalType: "uint256";
|
|
1308
|
+
readonly type: "uint256";
|
|
1309
|
+
}];
|
|
1310
|
+
readonly name: "FundsWithdrawInsolvent";
|
|
1311
|
+
}, {
|
|
1312
|
+
readonly type: "error";
|
|
1313
|
+
readonly inputs: readonly [];
|
|
1314
|
+
readonly name: "INITIALIZABLE_CONTRACT_ALREADY_INITIALIZED";
|
|
1315
|
+
}, {
|
|
1316
|
+
readonly type: "error";
|
|
1317
|
+
readonly inputs: readonly [];
|
|
1318
|
+
readonly name: "INITIALIZABLE_CONTRACT_IS_INITIALIZING";
|
|
1319
|
+
}, {
|
|
1320
|
+
readonly type: "error";
|
|
1321
|
+
readonly inputs: readonly [];
|
|
1322
|
+
readonly name: "INITIALIZABLE_CONTRACT_IS_NOT_INITIALIZING";
|
|
1323
|
+
}, {
|
|
1324
|
+
readonly type: "error";
|
|
1325
|
+
readonly inputs: readonly [];
|
|
1326
|
+
readonly name: "INVALID_ADDRESS_ZERO";
|
|
1327
|
+
}, {
|
|
1328
|
+
readonly type: "error";
|
|
1329
|
+
readonly inputs: readonly [];
|
|
1330
|
+
readonly name: "INVALID_ETH_AMOUNT";
|
|
1331
|
+
}, {
|
|
1332
|
+
readonly type: "error";
|
|
1333
|
+
readonly inputs: readonly [{
|
|
1334
|
+
readonly name: "mintTo";
|
|
1335
|
+
readonly internalType: "address";
|
|
1336
|
+
readonly type: "address";
|
|
1337
|
+
}, {
|
|
1338
|
+
readonly name: "merkleProof";
|
|
1339
|
+
readonly internalType: "bytes32[]";
|
|
1340
|
+
readonly type: "bytes32[]";
|
|
1341
|
+
}, {
|
|
1342
|
+
readonly name: "merkleRoot";
|
|
1343
|
+
readonly internalType: "bytes32";
|
|
1344
|
+
readonly type: "bytes32";
|
|
1345
|
+
}];
|
|
1346
|
+
readonly name: "InvalidMerkleProof";
|
|
1347
|
+
}, {
|
|
1348
|
+
readonly type: "error";
|
|
1349
|
+
readonly inputs: readonly [];
|
|
1350
|
+
readonly name: "InvalidMintSchedule";
|
|
1351
|
+
}, {
|
|
1352
|
+
readonly type: "error";
|
|
1353
|
+
readonly inputs: readonly [];
|
|
1354
|
+
readonly name: "InvalidPremintVersion";
|
|
1355
|
+
}, {
|
|
1356
|
+
readonly type: "error";
|
|
1357
|
+
readonly inputs: readonly [];
|
|
1358
|
+
readonly name: "InvalidSignature";
|
|
1359
|
+
}, {
|
|
1360
|
+
readonly type: "error";
|
|
1361
|
+
readonly inputs: readonly [];
|
|
1362
|
+
readonly name: "InvalidSignatureVersion";
|
|
1363
|
+
}, {
|
|
1364
|
+
readonly type: "error";
|
|
1365
|
+
readonly inputs: readonly [{
|
|
1366
|
+
readonly name: "magicValue";
|
|
1367
|
+
readonly internalType: "bytes4";
|
|
1368
|
+
readonly type: "bytes4";
|
|
1369
|
+
}];
|
|
1370
|
+
readonly name: "InvalidSigner";
|
|
1371
|
+
}, {
|
|
1372
|
+
readonly type: "error";
|
|
1373
|
+
readonly inputs: readonly [];
|
|
1374
|
+
readonly name: "MintNotYetStarted";
|
|
1375
|
+
}, {
|
|
1376
|
+
readonly type: "error";
|
|
1377
|
+
readonly inputs: readonly [];
|
|
1378
|
+
readonly name: "Mint_InsolventSaleTransfer";
|
|
1379
|
+
}, {
|
|
1380
|
+
readonly type: "error";
|
|
1381
|
+
readonly inputs: readonly [];
|
|
1382
|
+
readonly name: "Mint_InvalidMintArrayLength";
|
|
1383
|
+
}, {
|
|
1384
|
+
readonly type: "error";
|
|
1385
|
+
readonly inputs: readonly [];
|
|
1386
|
+
readonly name: "Mint_TokenIDMintNotAllowed";
|
|
1387
|
+
}, {
|
|
1388
|
+
readonly type: "error";
|
|
1389
|
+
readonly inputs: readonly [];
|
|
1390
|
+
readonly name: "Mint_UnknownCommand";
|
|
1391
|
+
}, {
|
|
1392
|
+
readonly type: "error";
|
|
1393
|
+
readonly inputs: readonly [];
|
|
1394
|
+
readonly name: "Mint_ValueTransferFail";
|
|
1395
|
+
}, {
|
|
1396
|
+
readonly type: "error";
|
|
1397
|
+
readonly inputs: readonly [];
|
|
1398
|
+
readonly name: "MinterContractAlreadyExists";
|
|
1399
|
+
}, {
|
|
1400
|
+
readonly type: "error";
|
|
1401
|
+
readonly inputs: readonly [];
|
|
1402
|
+
readonly name: "MinterContractDoesNotExist";
|
|
1403
|
+
}, {
|
|
1404
|
+
readonly type: "error";
|
|
1405
|
+
readonly inputs: readonly [];
|
|
1406
|
+
readonly name: "NewOwnerNeedsToBeAdmin";
|
|
1407
|
+
}, {
|
|
1408
|
+
readonly type: "error";
|
|
1409
|
+
readonly inputs: readonly [];
|
|
1410
|
+
readonly name: "NonEthRedemption";
|
|
1411
|
+
}, {
|
|
1412
|
+
readonly type: "error";
|
|
1413
|
+
readonly inputs: readonly [];
|
|
1414
|
+
readonly name: "ONLY_CREATE_REFERRAL";
|
|
1415
|
+
}, {
|
|
1416
|
+
readonly type: "error";
|
|
1417
|
+
readonly inputs: readonly [];
|
|
1418
|
+
readonly name: "ONLY_OWNER";
|
|
1419
|
+
}, {
|
|
1420
|
+
readonly type: "error";
|
|
1421
|
+
readonly inputs: readonly [];
|
|
1422
|
+
readonly name: "ONLY_PENDING_OWNER";
|
|
1423
|
+
}, {
|
|
1424
|
+
readonly type: "error";
|
|
1425
|
+
readonly inputs: readonly [];
|
|
1426
|
+
readonly name: "OWNER_CANNOT_BE_ZERO_ADDRESS";
|
|
1427
|
+
}, {
|
|
1428
|
+
readonly type: "error";
|
|
1429
|
+
readonly inputs: readonly [];
|
|
1430
|
+
readonly name: "OnlyTransfersFromZoraMints";
|
|
1431
|
+
}, {
|
|
1432
|
+
readonly type: "error";
|
|
1433
|
+
readonly inputs: readonly [];
|
|
1434
|
+
readonly name: "PremintDeleted";
|
|
1435
|
+
}, {
|
|
1436
|
+
readonly type: "error";
|
|
1437
|
+
readonly inputs: readonly [{
|
|
1438
|
+
readonly name: "caller";
|
|
1439
|
+
readonly internalType: "address";
|
|
1440
|
+
readonly type: "address";
|
|
1441
|
+
}, {
|
|
1442
|
+
readonly name: "recipient";
|
|
1443
|
+
readonly internalType: "address";
|
|
1444
|
+
readonly type: "address";
|
|
1445
|
+
}, {
|
|
1446
|
+
readonly name: "amount";
|
|
1447
|
+
readonly internalType: "uint256";
|
|
1448
|
+
readonly type: "uint256";
|
|
1449
|
+
}];
|
|
1450
|
+
readonly name: "ProtocolRewardsWithdrawFailed";
|
|
1451
|
+
}, {
|
|
1452
|
+
readonly type: "error";
|
|
1453
|
+
readonly inputs: readonly [];
|
|
1454
|
+
readonly name: "Renderer_NotValidRendererContract";
|
|
1455
|
+
}, {
|
|
1456
|
+
readonly type: "error";
|
|
1457
|
+
readonly inputs: readonly [];
|
|
1458
|
+
readonly name: "SaleEnded";
|
|
1459
|
+
}, {
|
|
1460
|
+
readonly type: "error";
|
|
1461
|
+
readonly inputs: readonly [];
|
|
1462
|
+
readonly name: "SaleHasNotStarted";
|
|
1463
|
+
}, {
|
|
1464
|
+
readonly type: "error";
|
|
1465
|
+
readonly inputs: readonly [{
|
|
1466
|
+
readonly name: "targetContract";
|
|
1467
|
+
readonly internalType: "address";
|
|
1468
|
+
readonly type: "address";
|
|
1469
|
+
}];
|
|
1470
|
+
readonly name: "Sale_CannotCallNonSalesContract";
|
|
1471
|
+
}, {
|
|
1472
|
+
readonly type: "error";
|
|
1473
|
+
readonly inputs: readonly [{
|
|
1474
|
+
readonly name: "expected";
|
|
1475
|
+
readonly internalType: "uint256";
|
|
1476
|
+
readonly type: "uint256";
|
|
1477
|
+
}, {
|
|
1478
|
+
readonly name: "actual";
|
|
1479
|
+
readonly internalType: "uint256";
|
|
1480
|
+
readonly type: "uint256";
|
|
1481
|
+
}];
|
|
1482
|
+
readonly name: "TokenIdMismatch";
|
|
1483
|
+
}, {
|
|
1484
|
+
readonly type: "error";
|
|
1485
|
+
readonly inputs: readonly [];
|
|
1486
|
+
readonly name: "UUPS_UPGRADEABLE_MUST_NOT_BE_CALLED_THROUGH_DELEGATECALL";
|
|
1487
|
+
}, {
|
|
1488
|
+
readonly type: "error";
|
|
1489
|
+
readonly inputs: readonly [{
|
|
1490
|
+
readonly name: "expected";
|
|
1491
|
+
readonly internalType: "string";
|
|
1492
|
+
readonly type: "string";
|
|
1493
|
+
}, {
|
|
1494
|
+
readonly name: "actual";
|
|
1495
|
+
readonly internalType: "string";
|
|
1496
|
+
readonly type: "string";
|
|
1497
|
+
}];
|
|
1498
|
+
readonly name: "UpgradeToMismatchedContractName";
|
|
1499
|
+
}, {
|
|
1500
|
+
readonly type: "error";
|
|
1501
|
+
readonly inputs: readonly [{
|
|
1502
|
+
readonly name: "user";
|
|
1503
|
+
readonly internalType: "address";
|
|
1504
|
+
readonly type: "address";
|
|
1505
|
+
}, {
|
|
1506
|
+
readonly name: "limit";
|
|
1507
|
+
readonly internalType: "uint256";
|
|
1508
|
+
readonly type: "uint256";
|
|
1509
|
+
}, {
|
|
1510
|
+
readonly name: "requestedAmount";
|
|
1511
|
+
readonly internalType: "uint256";
|
|
1512
|
+
readonly type: "uint256";
|
|
1513
|
+
}];
|
|
1514
|
+
readonly name: "UserExceedsMintLimit";
|
|
1515
|
+
}, {
|
|
1516
|
+
readonly type: "error";
|
|
1517
|
+
readonly inputs: readonly [{
|
|
1518
|
+
readonly name: "user";
|
|
1519
|
+
readonly internalType: "address";
|
|
1520
|
+
readonly type: "address";
|
|
1521
|
+
}, {
|
|
1522
|
+
readonly name: "tokenId";
|
|
1523
|
+
readonly internalType: "uint256";
|
|
1524
|
+
readonly type: "uint256";
|
|
1525
|
+
}, {
|
|
1526
|
+
readonly name: "role";
|
|
1527
|
+
readonly internalType: "uint256";
|
|
1528
|
+
readonly type: "uint256";
|
|
1529
|
+
}];
|
|
1530
|
+
readonly name: "UserMissingRoleForToken";
|
|
1531
|
+
}, {
|
|
1532
|
+
readonly type: "error";
|
|
1533
|
+
readonly inputs: readonly [];
|
|
1534
|
+
readonly name: "WrongValueSent";
|
|
1535
|
+
}, {
|
|
1536
|
+
readonly type: "error";
|
|
1537
|
+
readonly inputs: readonly [];
|
|
1538
|
+
readonly name: "premintSignerContractFailedToRecoverSigner";
|
|
1539
|
+
}, {
|
|
1540
|
+
readonly type: "error";
|
|
1541
|
+
readonly inputs: readonly [];
|
|
1542
|
+
readonly name: "premintSignerContractNotAContract";
|
|
1543
|
+
}], "premintV1", [{
|
|
1544
|
+
contractAdmin: `0x${string}`;
|
|
1545
|
+
contractURI: string;
|
|
1546
|
+
contractName: string;
|
|
1547
|
+
additionalAdmins: readonly `0x${string}`[];
|
|
1548
|
+
}, import("@zoralabs/protocol-deployments").PremintConfigV1, `0x${string}`, bigint, {
|
|
1549
|
+
mintRecipient: `0x${string}`;
|
|
1550
|
+
mintComment: string;
|
|
1551
|
+
mintRewardsRecipients: readonly `0x${string}`[];
|
|
1552
|
+
}], Chain, Chain | undefined, `0x${string}` | import("viem").JsonRpcAccount<`0x${string}`> | import("viem").LocalAccount<string, `0x${string}`>> | import("viem").SimulateContractParameters<readonly [{
|
|
1553
|
+
readonly stateMutability: "nonpayable";
|
|
1554
|
+
readonly type: "constructor";
|
|
1555
|
+
readonly inputs: readonly [{
|
|
1556
|
+
readonly name: "_factory";
|
|
1557
|
+
readonly internalType: "contract IZoraCreator1155Factory";
|
|
1558
|
+
readonly type: "address";
|
|
1559
|
+
}];
|
|
1560
|
+
}, {
|
|
1561
|
+
readonly stateMutability: "nonpayable";
|
|
1562
|
+
readonly type: "function";
|
|
1563
|
+
readonly inputs: readonly [];
|
|
1564
|
+
readonly name: "acceptOwnership";
|
|
1565
|
+
readonly outputs: readonly [];
|
|
1566
|
+
}, {
|
|
1567
|
+
readonly stateMutability: "nonpayable";
|
|
1568
|
+
readonly type: "function";
|
|
1569
|
+
readonly inputs: readonly [];
|
|
1570
|
+
readonly name: "cancelOwnershipTransfer";
|
|
1571
|
+
readonly outputs: readonly [];
|
|
1572
|
+
}, {
|
|
1573
|
+
readonly stateMutability: "pure";
|
|
1574
|
+
readonly type: "function";
|
|
1575
|
+
readonly inputs: readonly [];
|
|
1576
|
+
readonly name: "contractName";
|
|
1577
|
+
readonly outputs: readonly [{
|
|
1578
|
+
readonly name: "";
|
|
1579
|
+
readonly internalType: "string";
|
|
1580
|
+
readonly type: "string";
|
|
1581
|
+
}];
|
|
1582
|
+
}, {
|
|
1583
|
+
readonly stateMutability: "pure";
|
|
1584
|
+
readonly type: "function";
|
|
1585
|
+
readonly inputs: readonly [];
|
|
1586
|
+
readonly name: "contractVersion";
|
|
1587
|
+
readonly outputs: readonly [{
|
|
1588
|
+
readonly name: "";
|
|
1589
|
+
readonly internalType: "string";
|
|
1590
|
+
readonly type: "string";
|
|
1591
|
+
}];
|
|
1592
|
+
}, {
|
|
1593
|
+
readonly stateMutability: "view";
|
|
1594
|
+
readonly type: "function";
|
|
1595
|
+
readonly inputs: readonly [{
|
|
1596
|
+
readonly name: "contractConfig";
|
|
1597
|
+
readonly internalType: "struct ContractCreationConfig";
|
|
1598
|
+
readonly type: "tuple";
|
|
1599
|
+
readonly components: readonly [{
|
|
1600
|
+
readonly name: "contractAdmin";
|
|
1601
|
+
readonly internalType: "address";
|
|
1602
|
+
readonly type: "address";
|
|
1603
|
+
}, {
|
|
1604
|
+
readonly name: "contractURI";
|
|
1605
|
+
readonly internalType: "string";
|
|
1606
|
+
readonly type: "string";
|
|
1607
|
+
}, {
|
|
1608
|
+
readonly name: "contractName";
|
|
1609
|
+
readonly internalType: "string";
|
|
1610
|
+
readonly type: "string";
|
|
1611
|
+
}];
|
|
1612
|
+
}];
|
|
1613
|
+
readonly name: "getContractAddress";
|
|
1614
|
+
readonly outputs: readonly [{
|
|
1615
|
+
readonly name: "";
|
|
1616
|
+
readonly internalType: "address";
|
|
1617
|
+
readonly type: "address";
|
|
1618
|
+
}];
|
|
1619
|
+
}, {
|
|
1620
|
+
readonly stateMutability: "view";
|
|
1621
|
+
readonly type: "function";
|
|
1622
|
+
readonly inputs: readonly [{
|
|
1623
|
+
readonly name: "contractConfig";
|
|
1624
|
+
readonly internalType: "struct ContractWithAdditionalAdminsCreationConfig";
|
|
1625
|
+
readonly type: "tuple";
|
|
1626
|
+
readonly components: readonly [{
|
|
1627
|
+
readonly name: "contractAdmin";
|
|
1628
|
+
readonly internalType: "address";
|
|
1629
|
+
readonly type: "address";
|
|
1630
|
+
}, {
|
|
1631
|
+
readonly name: "contractURI";
|
|
1632
|
+
readonly internalType: "string";
|
|
1633
|
+
readonly type: "string";
|
|
1634
|
+
}, {
|
|
1635
|
+
readonly name: "contractName";
|
|
1636
|
+
readonly internalType: "string";
|
|
1637
|
+
readonly type: "string";
|
|
1638
|
+
}, {
|
|
1639
|
+
readonly name: "additionalAdmins";
|
|
1640
|
+
readonly internalType: "address[]";
|
|
1641
|
+
readonly type: "address[]";
|
|
1642
|
+
}];
|
|
1643
|
+
}];
|
|
1644
|
+
readonly name: "getContractWithAdditionalAdminsAddress";
|
|
1645
|
+
readonly outputs: readonly [{
|
|
1646
|
+
readonly name: "";
|
|
1647
|
+
readonly internalType: "address";
|
|
1648
|
+
readonly type: "address";
|
|
1649
|
+
}];
|
|
1650
|
+
}, {
|
|
1651
|
+
readonly stateMutability: "view";
|
|
1652
|
+
readonly type: "function";
|
|
1653
|
+
readonly inputs: readonly [];
|
|
1654
|
+
readonly name: "implementation";
|
|
1655
|
+
readonly outputs: readonly [{
|
|
1656
|
+
readonly name: "";
|
|
1657
|
+
readonly internalType: "address";
|
|
1658
|
+
readonly type: "address";
|
|
1659
|
+
}];
|
|
1660
|
+
}, {
|
|
1661
|
+
readonly stateMutability: "nonpayable";
|
|
1662
|
+
readonly type: "function";
|
|
1663
|
+
readonly inputs: readonly [{
|
|
1664
|
+
readonly name: "_initialOwner";
|
|
1665
|
+
readonly internalType: "address";
|
|
1666
|
+
readonly type: "address";
|
|
1667
|
+
}];
|
|
1668
|
+
readonly name: "initialize";
|
|
1669
|
+
readonly outputs: readonly [];
|
|
1670
|
+
}, {
|
|
1671
|
+
readonly stateMutability: "view";
|
|
1672
|
+
readonly type: "function";
|
|
1673
|
+
readonly inputs: readonly [{
|
|
1674
|
+
readonly name: "signer";
|
|
1675
|
+
readonly internalType: "address";
|
|
1676
|
+
readonly type: "address";
|
|
1677
|
+
}, {
|
|
1678
|
+
readonly name: "premintContractConfigContractAdmin";
|
|
1679
|
+
readonly internalType: "address";
|
|
1680
|
+
readonly type: "address";
|
|
1681
|
+
}, {
|
|
1682
|
+
readonly name: "contractAddress";
|
|
1683
|
+
readonly internalType: "address";
|
|
1684
|
+
readonly type: "address";
|
|
1685
|
+
}];
|
|
1686
|
+
readonly name: "isAuthorizedToCreatePremint";
|
|
1687
|
+
readonly outputs: readonly [{
|
|
1688
|
+
readonly name: "isAuthorized";
|
|
1689
|
+
readonly internalType: "bool";
|
|
1690
|
+
readonly type: "bool";
|
|
1691
|
+
}];
|
|
1692
|
+
}, {
|
|
1693
|
+
readonly stateMutability: "view";
|
|
1694
|
+
readonly type: "function";
|
|
1695
|
+
readonly inputs: readonly [{
|
|
1696
|
+
readonly name: "signer";
|
|
1697
|
+
readonly internalType: "address";
|
|
1698
|
+
readonly type: "address";
|
|
1699
|
+
}, {
|
|
1700
|
+
readonly name: "premintContractConfigContractAdmin";
|
|
1701
|
+
readonly internalType: "address";
|
|
1702
|
+
readonly type: "address";
|
|
1703
|
+
}, {
|
|
1704
|
+
readonly name: "contractAddress";
|
|
1705
|
+
readonly internalType: "address";
|
|
1706
|
+
readonly type: "address";
|
|
1707
|
+
}, {
|
|
1708
|
+
readonly name: "additionalAdmins";
|
|
1709
|
+
readonly internalType: "address[]";
|
|
1710
|
+
readonly type: "address[]";
|
|
1711
|
+
}];
|
|
1712
|
+
readonly name: "isAuthorizedToCreatePremintWithAdditionalAdmins";
|
|
1713
|
+
readonly outputs: readonly [{
|
|
1714
|
+
readonly name: "isAuthorized";
|
|
1715
|
+
readonly internalType: "bool";
|
|
1716
|
+
readonly type: "bool";
|
|
1717
|
+
}];
|
|
1718
|
+
}, {
|
|
1719
|
+
readonly stateMutability: "view";
|
|
1720
|
+
readonly type: "function";
|
|
1721
|
+
readonly inputs: readonly [{
|
|
1722
|
+
readonly name: "contractConfig";
|
|
1723
|
+
readonly internalType: "struct ContractCreationConfig";
|
|
1724
|
+
readonly type: "tuple";
|
|
1725
|
+
readonly components: readonly [{
|
|
1726
|
+
readonly name: "contractAdmin";
|
|
1727
|
+
readonly internalType: "address";
|
|
1728
|
+
readonly type: "address";
|
|
1729
|
+
}, {
|
|
1730
|
+
readonly name: "contractURI";
|
|
1731
|
+
readonly internalType: "string";
|
|
1732
|
+
readonly type: "string";
|
|
1733
|
+
}, {
|
|
1734
|
+
readonly name: "contractName";
|
|
1735
|
+
readonly internalType: "string";
|
|
1736
|
+
readonly type: "string";
|
|
1737
|
+
}];
|
|
1738
|
+
}, {
|
|
1739
|
+
readonly name: "premintConfig";
|
|
1740
|
+
readonly internalType: "struct PremintConfig";
|
|
1741
|
+
readonly type: "tuple";
|
|
1742
|
+
readonly components: readonly [{
|
|
1743
|
+
readonly name: "tokenConfig";
|
|
1744
|
+
readonly internalType: "struct TokenCreationConfig";
|
|
1745
|
+
readonly type: "tuple";
|
|
1746
|
+
readonly components: readonly [{
|
|
1747
|
+
readonly name: "tokenURI";
|
|
1748
|
+
readonly internalType: "string";
|
|
1749
|
+
readonly type: "string";
|
|
1750
|
+
}, {
|
|
1751
|
+
readonly name: "maxSupply";
|
|
1752
|
+
readonly internalType: "uint256";
|
|
1753
|
+
readonly type: "uint256";
|
|
1754
|
+
}, {
|
|
1755
|
+
readonly name: "maxTokensPerAddress";
|
|
1756
|
+
readonly internalType: "uint64";
|
|
1757
|
+
readonly type: "uint64";
|
|
1758
|
+
}, {
|
|
1759
|
+
readonly name: "pricePerToken";
|
|
1760
|
+
readonly internalType: "uint96";
|
|
1761
|
+
readonly type: "uint96";
|
|
1762
|
+
}, {
|
|
1763
|
+
readonly name: "mintStart";
|
|
1764
|
+
readonly internalType: "uint64";
|
|
1765
|
+
readonly type: "uint64";
|
|
1766
|
+
}, {
|
|
1767
|
+
readonly name: "mintDuration";
|
|
1768
|
+
readonly internalType: "uint64";
|
|
1769
|
+
readonly type: "uint64";
|
|
1770
|
+
}, {
|
|
1771
|
+
readonly name: "royaltyMintSchedule";
|
|
1772
|
+
readonly internalType: "uint32";
|
|
1773
|
+
readonly type: "uint32";
|
|
1774
|
+
}, {
|
|
1775
|
+
readonly name: "royaltyBPS";
|
|
1776
|
+
readonly internalType: "uint32";
|
|
1777
|
+
readonly type: "uint32";
|
|
1778
|
+
}, {
|
|
1779
|
+
readonly name: "royaltyRecipient";
|
|
1780
|
+
readonly internalType: "address";
|
|
1781
|
+
readonly type: "address";
|
|
1782
|
+
}, {
|
|
1783
|
+
readonly name: "fixedPriceMinter";
|
|
1784
|
+
readonly internalType: "address";
|
|
1785
|
+
readonly type: "address";
|
|
1786
|
+
}];
|
|
1787
|
+
}, {
|
|
1788
|
+
readonly name: "uid";
|
|
1789
|
+
readonly internalType: "uint32";
|
|
1790
|
+
readonly type: "uint32";
|
|
1791
|
+
}, {
|
|
1792
|
+
readonly name: "version";
|
|
1793
|
+
readonly internalType: "uint32";
|
|
1794
|
+
readonly type: "uint32";
|
|
1795
|
+
}, {
|
|
1796
|
+
readonly name: "deleted";
|
|
1797
|
+
readonly internalType: "bool";
|
|
1798
|
+
readonly type: "bool";
|
|
1799
|
+
}];
|
|
1800
|
+
}, {
|
|
1801
|
+
readonly name: "signature";
|
|
1802
|
+
readonly internalType: "bytes";
|
|
1803
|
+
readonly type: "bytes";
|
|
1804
|
+
}];
|
|
1805
|
+
readonly name: "isValidSignature";
|
|
1806
|
+
readonly outputs: readonly [{
|
|
1807
|
+
readonly name: "isValid";
|
|
1808
|
+
readonly internalType: "bool";
|
|
1809
|
+
readonly type: "bool";
|
|
1810
|
+
}, {
|
|
1811
|
+
readonly name: "contractAddress";
|
|
1812
|
+
readonly internalType: "address";
|
|
1813
|
+
readonly type: "address";
|
|
1814
|
+
}, {
|
|
1815
|
+
readonly name: "recoveredSigner";
|
|
1816
|
+
readonly internalType: "address";
|
|
1817
|
+
readonly type: "address";
|
|
1818
|
+
}];
|
|
1819
|
+
}, {
|
|
1820
|
+
readonly stateMutability: "view";
|
|
1821
|
+
readonly type: "function";
|
|
1822
|
+
readonly inputs: readonly [{
|
|
1823
|
+
readonly name: "collectionAddress";
|
|
1824
|
+
readonly internalType: "address";
|
|
1825
|
+
readonly type: "address";
|
|
1826
|
+
}];
|
|
1827
|
+
readonly name: "mintFee";
|
|
1828
|
+
readonly outputs: readonly [{
|
|
1829
|
+
readonly name: "";
|
|
1830
|
+
readonly internalType: "uint256";
|
|
1831
|
+
readonly type: "uint256";
|
|
1832
|
+
}];
|
|
1833
|
+
}, {
|
|
1834
|
+
readonly stateMutability: "view";
|
|
1835
|
+
readonly type: "function";
|
|
1836
|
+
readonly inputs: readonly [];
|
|
1837
|
+
readonly name: "owner";
|
|
1838
|
+
readonly outputs: readonly [{
|
|
1839
|
+
readonly name: "";
|
|
1840
|
+
readonly internalType: "address";
|
|
1841
|
+
readonly type: "address";
|
|
1842
|
+
}];
|
|
1843
|
+
}, {
|
|
1844
|
+
readonly stateMutability: "view";
|
|
1845
|
+
readonly type: "function";
|
|
1846
|
+
readonly inputs: readonly [];
|
|
1847
|
+
readonly name: "pendingOwner";
|
|
1848
|
+
readonly outputs: readonly [{
|
|
1849
|
+
readonly name: "";
|
|
1850
|
+
readonly internalType: "address";
|
|
1851
|
+
readonly type: "address";
|
|
1852
|
+
}];
|
|
1853
|
+
}, {
|
|
1854
|
+
readonly stateMutability: "payable";
|
|
1855
|
+
readonly type: "function";
|
|
1856
|
+
readonly inputs: readonly [{
|
|
1857
|
+
readonly name: "contractConfig";
|
|
1858
|
+
readonly internalType: "struct ContractWithAdditionalAdminsCreationConfig";
|
|
1859
|
+
readonly type: "tuple";
|
|
1860
|
+
readonly components: readonly [{
|
|
1861
|
+
readonly name: "contractAdmin";
|
|
1862
|
+
readonly internalType: "address";
|
|
1863
|
+
readonly type: "address";
|
|
1864
|
+
}, {
|
|
1865
|
+
readonly name: "contractURI";
|
|
1866
|
+
readonly internalType: "string";
|
|
1867
|
+
readonly type: "string";
|
|
1868
|
+
}, {
|
|
1869
|
+
readonly name: "contractName";
|
|
1870
|
+
readonly internalType: "string";
|
|
1871
|
+
readonly type: "string";
|
|
1872
|
+
}, {
|
|
1873
|
+
readonly name: "additionalAdmins";
|
|
1874
|
+
readonly internalType: "address[]";
|
|
1875
|
+
readonly type: "address[]";
|
|
1876
|
+
}];
|
|
1877
|
+
}, {
|
|
1878
|
+
readonly name: "premintCollection";
|
|
1879
|
+
readonly internalType: "address";
|
|
1880
|
+
readonly type: "address";
|
|
1881
|
+
}, {
|
|
1882
|
+
readonly name: "encodedPremintConfig";
|
|
1883
|
+
readonly internalType: "struct PremintConfigEncoded";
|
|
1884
|
+
readonly type: "tuple";
|
|
1885
|
+
readonly components: readonly [{
|
|
1886
|
+
readonly name: "uid";
|
|
1887
|
+
readonly internalType: "uint32";
|
|
1888
|
+
readonly type: "uint32";
|
|
1889
|
+
}, {
|
|
1890
|
+
readonly name: "version";
|
|
1891
|
+
readonly internalType: "uint32";
|
|
1892
|
+
readonly type: "uint32";
|
|
1893
|
+
}, {
|
|
1894
|
+
readonly name: "deleted";
|
|
1895
|
+
readonly internalType: "bool";
|
|
1896
|
+
readonly type: "bool";
|
|
1897
|
+
}, {
|
|
1898
|
+
readonly name: "tokenConfig";
|
|
1899
|
+
readonly internalType: "bytes";
|
|
1900
|
+
readonly type: "bytes";
|
|
1901
|
+
}, {
|
|
1902
|
+
readonly name: "premintConfigVersion";
|
|
1903
|
+
readonly internalType: "bytes32";
|
|
1904
|
+
readonly type: "bytes32";
|
|
1905
|
+
}];
|
|
1906
|
+
}, {
|
|
1907
|
+
readonly name: "signature";
|
|
1908
|
+
readonly internalType: "bytes";
|
|
1909
|
+
readonly type: "bytes";
|
|
1910
|
+
}, {
|
|
1911
|
+
readonly name: "quantityToMint";
|
|
1912
|
+
readonly internalType: "uint256";
|
|
1913
|
+
readonly type: "uint256";
|
|
1914
|
+
}, {
|
|
1915
|
+
readonly name: "mintArguments";
|
|
1916
|
+
readonly internalType: "struct MintArguments";
|
|
1917
|
+
readonly type: "tuple";
|
|
1918
|
+
readonly components: readonly [{
|
|
1919
|
+
readonly name: "mintRecipient";
|
|
1920
|
+
readonly internalType: "address";
|
|
1921
|
+
readonly type: "address";
|
|
1922
|
+
}, {
|
|
1923
|
+
readonly name: "mintComment";
|
|
1924
|
+
readonly internalType: "string";
|
|
1925
|
+
readonly type: "string";
|
|
1926
|
+
}, {
|
|
1927
|
+
readonly name: "mintRewardsRecipients";
|
|
1928
|
+
readonly internalType: "address[]";
|
|
1929
|
+
readonly type: "address[]";
|
|
1930
|
+
}];
|
|
1931
|
+
}, {
|
|
1932
|
+
readonly name: "firstMinter";
|
|
1933
|
+
readonly internalType: "address";
|
|
1934
|
+
readonly type: "address";
|
|
1935
|
+
}, {
|
|
1936
|
+
readonly name: "signerContract";
|
|
1937
|
+
readonly internalType: "address";
|
|
1938
|
+
readonly type: "address";
|
|
1939
|
+
}];
|
|
1940
|
+
readonly name: "premint";
|
|
1941
|
+
readonly outputs: readonly [{
|
|
1942
|
+
readonly name: "premintResult";
|
|
1943
|
+
readonly internalType: "struct PremintResult";
|
|
1944
|
+
readonly type: "tuple";
|
|
1945
|
+
readonly components: readonly [{
|
|
1946
|
+
readonly name: "contractAddress";
|
|
1947
|
+
readonly internalType: "address";
|
|
1948
|
+
readonly type: "address";
|
|
1949
|
+
}, {
|
|
1950
|
+
readonly name: "tokenId";
|
|
1951
|
+
readonly internalType: "uint256";
|
|
1952
|
+
readonly type: "uint256";
|
|
1953
|
+
}, {
|
|
1954
|
+
readonly name: "createdNewContract";
|
|
1955
|
+
readonly internalType: "bool";
|
|
1956
|
+
readonly type: "bool";
|
|
1957
|
+
}];
|
|
1958
|
+
}];
|
|
1959
|
+
}, {
|
|
1960
|
+
readonly stateMutability: "view";
|
|
1961
|
+
readonly type: "function";
|
|
1962
|
+
readonly inputs: readonly [{
|
|
1963
|
+
readonly name: "contractAddress";
|
|
1964
|
+
readonly internalType: "address";
|
|
1965
|
+
readonly type: "address";
|
|
1966
|
+
}, {
|
|
1967
|
+
readonly name: "uid";
|
|
1968
|
+
readonly internalType: "uint32";
|
|
1969
|
+
readonly type: "uint32";
|
|
1970
|
+
}];
|
|
1971
|
+
readonly name: "premintStatus";
|
|
1972
|
+
readonly outputs: readonly [{
|
|
1973
|
+
readonly name: "contractCreated";
|
|
1974
|
+
readonly internalType: "bool";
|
|
1975
|
+
readonly type: "bool";
|
|
1976
|
+
}, {
|
|
1977
|
+
readonly name: "tokenIdForPremint";
|
|
1978
|
+
readonly internalType: "uint256";
|
|
1979
|
+
readonly type: "uint256";
|
|
1980
|
+
}];
|
|
1981
|
+
}, {
|
|
1982
|
+
readonly stateMutability: "payable";
|
|
1983
|
+
readonly type: "function";
|
|
1984
|
+
readonly inputs: readonly [{
|
|
1985
|
+
readonly name: "contractConfig";
|
|
1986
|
+
readonly internalType: "struct ContractCreationConfig";
|
|
1987
|
+
readonly type: "tuple";
|
|
1988
|
+
readonly components: readonly [{
|
|
1989
|
+
readonly name: "contractAdmin";
|
|
1990
|
+
readonly internalType: "address";
|
|
1991
|
+
readonly type: "address";
|
|
1992
|
+
}, {
|
|
1993
|
+
readonly name: "contractURI";
|
|
1994
|
+
readonly internalType: "string";
|
|
1995
|
+
readonly type: "string";
|
|
1996
|
+
}, {
|
|
1997
|
+
readonly name: "contractName";
|
|
1998
|
+
readonly internalType: "string";
|
|
1999
|
+
readonly type: "string";
|
|
2000
|
+
}];
|
|
2001
|
+
}, {
|
|
2002
|
+
readonly name: "premintConfig";
|
|
2003
|
+
readonly internalType: "struct PremintConfig";
|
|
2004
|
+
readonly type: "tuple";
|
|
2005
|
+
readonly components: readonly [{
|
|
2006
|
+
readonly name: "tokenConfig";
|
|
2007
|
+
readonly internalType: "struct TokenCreationConfig";
|
|
2008
|
+
readonly type: "tuple";
|
|
2009
|
+
readonly components: readonly [{
|
|
2010
|
+
readonly name: "tokenURI";
|
|
2011
|
+
readonly internalType: "string";
|
|
2012
|
+
readonly type: "string";
|
|
2013
|
+
}, {
|
|
2014
|
+
readonly name: "maxSupply";
|
|
2015
|
+
readonly internalType: "uint256";
|
|
2016
|
+
readonly type: "uint256";
|
|
2017
|
+
}, {
|
|
2018
|
+
readonly name: "maxTokensPerAddress";
|
|
2019
|
+
readonly internalType: "uint64";
|
|
2020
|
+
readonly type: "uint64";
|
|
2021
|
+
}, {
|
|
2022
|
+
readonly name: "pricePerToken";
|
|
2023
|
+
readonly internalType: "uint96";
|
|
2024
|
+
readonly type: "uint96";
|
|
2025
|
+
}, {
|
|
2026
|
+
readonly name: "mintStart";
|
|
2027
|
+
readonly internalType: "uint64";
|
|
2028
|
+
readonly type: "uint64";
|
|
2029
|
+
}, {
|
|
2030
|
+
readonly name: "mintDuration";
|
|
2031
|
+
readonly internalType: "uint64";
|
|
2032
|
+
readonly type: "uint64";
|
|
2033
|
+
}, {
|
|
2034
|
+
readonly name: "royaltyMintSchedule";
|
|
2035
|
+
readonly internalType: "uint32";
|
|
2036
|
+
readonly type: "uint32";
|
|
2037
|
+
}, {
|
|
2038
|
+
readonly name: "royaltyBPS";
|
|
2039
|
+
readonly internalType: "uint32";
|
|
2040
|
+
readonly type: "uint32";
|
|
2041
|
+
}, {
|
|
2042
|
+
readonly name: "royaltyRecipient";
|
|
2043
|
+
readonly internalType: "address";
|
|
2044
|
+
readonly type: "address";
|
|
2045
|
+
}, {
|
|
2046
|
+
readonly name: "fixedPriceMinter";
|
|
2047
|
+
readonly internalType: "address";
|
|
2048
|
+
readonly type: "address";
|
|
2049
|
+
}];
|
|
2050
|
+
}, {
|
|
2051
|
+
readonly name: "uid";
|
|
2052
|
+
readonly internalType: "uint32";
|
|
2053
|
+
readonly type: "uint32";
|
|
2054
|
+
}, {
|
|
2055
|
+
readonly name: "version";
|
|
2056
|
+
readonly internalType: "uint32";
|
|
2057
|
+
readonly type: "uint32";
|
|
2058
|
+
}, {
|
|
2059
|
+
readonly name: "deleted";
|
|
2060
|
+
readonly internalType: "bool";
|
|
2061
|
+
readonly type: "bool";
|
|
2062
|
+
}];
|
|
2063
|
+
}, {
|
|
2064
|
+
readonly name: "signature";
|
|
2065
|
+
readonly internalType: "bytes";
|
|
2066
|
+
readonly type: "bytes";
|
|
2067
|
+
}, {
|
|
2068
|
+
readonly name: "quantityToMint";
|
|
2069
|
+
readonly internalType: "uint256";
|
|
2070
|
+
readonly type: "uint256";
|
|
2071
|
+
}, {
|
|
2072
|
+
readonly name: "mintArguments";
|
|
2073
|
+
readonly internalType: "struct MintArguments";
|
|
2074
|
+
readonly type: "tuple";
|
|
2075
|
+
readonly components: readonly [{
|
|
2076
|
+
readonly name: "mintRecipient";
|
|
2077
|
+
readonly internalType: "address";
|
|
2078
|
+
readonly type: "address";
|
|
2079
|
+
}, {
|
|
2080
|
+
readonly name: "mintComment";
|
|
2081
|
+
readonly internalType: "string";
|
|
2082
|
+
readonly type: "string";
|
|
2083
|
+
}, {
|
|
2084
|
+
readonly name: "mintRewardsRecipients";
|
|
2085
|
+
readonly internalType: "address[]";
|
|
2086
|
+
readonly type: "address[]";
|
|
2087
|
+
}];
|
|
2088
|
+
}];
|
|
2089
|
+
readonly name: "premintV1";
|
|
2090
|
+
readonly outputs: readonly [{
|
|
2091
|
+
readonly name: "";
|
|
2092
|
+
readonly internalType: "struct PremintResult";
|
|
2093
|
+
readonly type: "tuple";
|
|
2094
|
+
readonly components: readonly [{
|
|
2095
|
+
readonly name: "contractAddress";
|
|
2096
|
+
readonly internalType: "address";
|
|
2097
|
+
readonly type: "address";
|
|
2098
|
+
}, {
|
|
2099
|
+
readonly name: "tokenId";
|
|
2100
|
+
readonly internalType: "uint256";
|
|
2101
|
+
readonly type: "uint256";
|
|
2102
|
+
}, {
|
|
2103
|
+
readonly name: "createdNewContract";
|
|
2104
|
+
readonly internalType: "bool";
|
|
2105
|
+
readonly type: "bool";
|
|
2106
|
+
}];
|
|
2107
|
+
}];
|
|
2108
|
+
}, {
|
|
2109
|
+
readonly stateMutability: "payable";
|
|
2110
|
+
readonly type: "function";
|
|
2111
|
+
readonly inputs: readonly [{
|
|
2112
|
+
readonly name: "contractConfig";
|
|
2113
|
+
readonly internalType: "struct ContractCreationConfig";
|
|
2114
|
+
readonly type: "tuple";
|
|
2115
|
+
readonly components: readonly [{
|
|
2116
|
+
readonly name: "contractAdmin";
|
|
2117
|
+
readonly internalType: "address";
|
|
2118
|
+
readonly type: "address";
|
|
2119
|
+
}, {
|
|
2120
|
+
readonly name: "contractURI";
|
|
2121
|
+
readonly internalType: "string";
|
|
2122
|
+
readonly type: "string";
|
|
2123
|
+
}, {
|
|
2124
|
+
readonly name: "contractName";
|
|
2125
|
+
readonly internalType: "string";
|
|
2126
|
+
readonly type: "string";
|
|
2127
|
+
}];
|
|
2128
|
+
}, {
|
|
2129
|
+
readonly name: "premintConfig";
|
|
2130
|
+
readonly internalType: "struct PremintConfigV2";
|
|
2131
|
+
readonly type: "tuple";
|
|
2132
|
+
readonly components: readonly [{
|
|
2133
|
+
readonly name: "tokenConfig";
|
|
2134
|
+
readonly internalType: "struct TokenCreationConfigV2";
|
|
2135
|
+
readonly type: "tuple";
|
|
2136
|
+
readonly components: readonly [{
|
|
2137
|
+
readonly name: "tokenURI";
|
|
2138
|
+
readonly internalType: "string";
|
|
2139
|
+
readonly type: "string";
|
|
2140
|
+
}, {
|
|
2141
|
+
readonly name: "maxSupply";
|
|
2142
|
+
readonly internalType: "uint256";
|
|
2143
|
+
readonly type: "uint256";
|
|
2144
|
+
}, {
|
|
2145
|
+
readonly name: "maxTokensPerAddress";
|
|
2146
|
+
readonly internalType: "uint64";
|
|
2147
|
+
readonly type: "uint64";
|
|
2148
|
+
}, {
|
|
2149
|
+
readonly name: "pricePerToken";
|
|
2150
|
+
readonly internalType: "uint96";
|
|
2151
|
+
readonly type: "uint96";
|
|
2152
|
+
}, {
|
|
2153
|
+
readonly name: "mintStart";
|
|
2154
|
+
readonly internalType: "uint64";
|
|
2155
|
+
readonly type: "uint64";
|
|
2156
|
+
}, {
|
|
2157
|
+
readonly name: "mintDuration";
|
|
2158
|
+
readonly internalType: "uint64";
|
|
2159
|
+
readonly type: "uint64";
|
|
2160
|
+
}, {
|
|
2161
|
+
readonly name: "royaltyBPS";
|
|
2162
|
+
readonly internalType: "uint32";
|
|
2163
|
+
readonly type: "uint32";
|
|
2164
|
+
}, {
|
|
2165
|
+
readonly name: "payoutRecipient";
|
|
2166
|
+
readonly internalType: "address";
|
|
2167
|
+
readonly type: "address";
|
|
2168
|
+
}, {
|
|
2169
|
+
readonly name: "fixedPriceMinter";
|
|
2170
|
+
readonly internalType: "address";
|
|
2171
|
+
readonly type: "address";
|
|
2172
|
+
}, {
|
|
2173
|
+
readonly name: "createReferral";
|
|
2174
|
+
readonly internalType: "address";
|
|
2175
|
+
readonly type: "address";
|
|
2176
|
+
}];
|
|
2177
|
+
}, {
|
|
2178
|
+
readonly name: "uid";
|
|
2179
|
+
readonly internalType: "uint32";
|
|
2180
|
+
readonly type: "uint32";
|
|
2181
|
+
}, {
|
|
2182
|
+
readonly name: "version";
|
|
2183
|
+
readonly internalType: "uint32";
|
|
2184
|
+
readonly type: "uint32";
|
|
2185
|
+
}, {
|
|
2186
|
+
readonly name: "deleted";
|
|
2187
|
+
readonly internalType: "bool";
|
|
2188
|
+
readonly type: "bool";
|
|
2189
|
+
}];
|
|
2190
|
+
}, {
|
|
2191
|
+
readonly name: "signature";
|
|
2192
|
+
readonly internalType: "bytes";
|
|
2193
|
+
readonly type: "bytes";
|
|
2194
|
+
}, {
|
|
2195
|
+
readonly name: "quantityToMint";
|
|
2196
|
+
readonly internalType: "uint256";
|
|
2197
|
+
readonly type: "uint256";
|
|
2198
|
+
}, {
|
|
2199
|
+
readonly name: "mintArguments";
|
|
2200
|
+
readonly internalType: "struct MintArguments";
|
|
2201
|
+
readonly type: "tuple";
|
|
2202
|
+
readonly components: readonly [{
|
|
2203
|
+
readonly name: "mintRecipient";
|
|
2204
|
+
readonly internalType: "address";
|
|
2205
|
+
readonly type: "address";
|
|
2206
|
+
}, {
|
|
2207
|
+
readonly name: "mintComment";
|
|
2208
|
+
readonly internalType: "string";
|
|
2209
|
+
readonly type: "string";
|
|
2210
|
+
}, {
|
|
2211
|
+
readonly name: "mintRewardsRecipients";
|
|
2212
|
+
readonly internalType: "address[]";
|
|
2213
|
+
readonly type: "address[]";
|
|
2214
|
+
}];
|
|
2215
|
+
}];
|
|
2216
|
+
readonly name: "premintV2";
|
|
2217
|
+
readonly outputs: readonly [{
|
|
2218
|
+
readonly name: "";
|
|
2219
|
+
readonly internalType: "struct PremintResult";
|
|
2220
|
+
readonly type: "tuple";
|
|
2221
|
+
readonly components: readonly [{
|
|
2222
|
+
readonly name: "contractAddress";
|
|
2223
|
+
readonly internalType: "address";
|
|
2224
|
+
readonly type: "address";
|
|
2225
|
+
}, {
|
|
2226
|
+
readonly name: "tokenId";
|
|
2227
|
+
readonly internalType: "uint256";
|
|
2228
|
+
readonly type: "uint256";
|
|
2229
|
+
}, {
|
|
2230
|
+
readonly name: "createdNewContract";
|
|
2231
|
+
readonly internalType: "bool";
|
|
2232
|
+
readonly type: "bool";
|
|
2233
|
+
}];
|
|
2234
|
+
}];
|
|
2235
|
+
}, {
|
|
2236
|
+
readonly stateMutability: "view";
|
|
2237
|
+
readonly type: "function";
|
|
2238
|
+
readonly inputs: readonly [];
|
|
2239
|
+
readonly name: "proxiableUUID";
|
|
2240
|
+
readonly outputs: readonly [{
|
|
2241
|
+
readonly name: "";
|
|
2242
|
+
readonly internalType: "bytes32";
|
|
2243
|
+
readonly type: "bytes32";
|
|
2244
|
+
}];
|
|
2245
|
+
}, {
|
|
2246
|
+
readonly stateMutability: "nonpayable";
|
|
2247
|
+
readonly type: "function";
|
|
2248
|
+
readonly inputs: readonly [];
|
|
2249
|
+
readonly name: "resignOwnership";
|
|
2250
|
+
readonly outputs: readonly [];
|
|
2251
|
+
}, {
|
|
2252
|
+
readonly stateMutability: "nonpayable";
|
|
2253
|
+
readonly type: "function";
|
|
2254
|
+
readonly inputs: readonly [{
|
|
2255
|
+
readonly name: "_newOwner";
|
|
2256
|
+
readonly internalType: "address";
|
|
2257
|
+
readonly type: "address";
|
|
2258
|
+
}];
|
|
2259
|
+
readonly name: "safeTransferOwnership";
|
|
2260
|
+
readonly outputs: readonly [];
|
|
2261
|
+
}, {
|
|
2262
|
+
readonly stateMutability: "view";
|
|
2263
|
+
readonly type: "function";
|
|
2264
|
+
readonly inputs: readonly [{
|
|
2265
|
+
readonly name: "contractAddress";
|
|
2266
|
+
readonly internalType: "address";
|
|
2267
|
+
readonly type: "address";
|
|
2268
|
+
}];
|
|
2269
|
+
readonly name: "supportedPremintSignatureVersions";
|
|
2270
|
+
readonly outputs: readonly [{
|
|
2271
|
+
readonly name: "versions";
|
|
2272
|
+
readonly internalType: "string[]";
|
|
2273
|
+
readonly type: "string[]";
|
|
2274
|
+
}];
|
|
2275
|
+
}, {
|
|
2276
|
+
readonly stateMutability: "nonpayable";
|
|
2277
|
+
readonly type: "function";
|
|
2278
|
+
readonly inputs: readonly [{
|
|
2279
|
+
readonly name: "_newOwner";
|
|
2280
|
+
readonly internalType: "address";
|
|
2281
|
+
readonly type: "address";
|
|
2282
|
+
}];
|
|
2283
|
+
readonly name: "transferOwnership";
|
|
2284
|
+
readonly outputs: readonly [];
|
|
2285
|
+
}, {
|
|
2286
|
+
readonly stateMutability: "nonpayable";
|
|
2287
|
+
readonly type: "function";
|
|
2288
|
+
readonly inputs: readonly [{
|
|
2289
|
+
readonly name: "newImplementation";
|
|
2290
|
+
readonly internalType: "address";
|
|
2291
|
+
readonly type: "address";
|
|
2292
|
+
}];
|
|
2293
|
+
readonly name: "upgradeTo";
|
|
2294
|
+
readonly outputs: readonly [];
|
|
2295
|
+
}, {
|
|
2296
|
+
readonly stateMutability: "payable";
|
|
2297
|
+
readonly type: "function";
|
|
2298
|
+
readonly inputs: readonly [{
|
|
2299
|
+
readonly name: "newImplementation";
|
|
2300
|
+
readonly internalType: "address";
|
|
2301
|
+
readonly type: "address";
|
|
2302
|
+
}, {
|
|
2303
|
+
readonly name: "data";
|
|
2304
|
+
readonly internalType: "bytes";
|
|
2305
|
+
readonly type: "bytes";
|
|
2306
|
+
}];
|
|
2307
|
+
readonly name: "upgradeToAndCall";
|
|
2308
|
+
readonly outputs: readonly [];
|
|
2309
|
+
}, {
|
|
2310
|
+
readonly stateMutability: "view";
|
|
2311
|
+
readonly type: "function";
|
|
2312
|
+
readonly inputs: readonly [];
|
|
2313
|
+
readonly name: "zora1155Factory";
|
|
2314
|
+
readonly outputs: readonly [{
|
|
2315
|
+
readonly name: "";
|
|
2316
|
+
readonly internalType: "contract IZoraCreator1155Factory";
|
|
2317
|
+
readonly type: "address";
|
|
2318
|
+
}];
|
|
2319
|
+
}, {
|
|
2320
|
+
readonly type: "event";
|
|
2321
|
+
readonly anonymous: false;
|
|
2322
|
+
readonly inputs: readonly [{
|
|
2323
|
+
readonly name: "previousAdmin";
|
|
2324
|
+
readonly internalType: "address";
|
|
2325
|
+
readonly type: "address";
|
|
2326
|
+
readonly indexed: false;
|
|
2327
|
+
}, {
|
|
2328
|
+
readonly name: "newAdmin";
|
|
2329
|
+
readonly internalType: "address";
|
|
2330
|
+
readonly type: "address";
|
|
2331
|
+
readonly indexed: false;
|
|
2332
|
+
}];
|
|
2333
|
+
readonly name: "AdminChanged";
|
|
2334
|
+
}, {
|
|
2335
|
+
readonly type: "event";
|
|
2336
|
+
readonly anonymous: false;
|
|
2337
|
+
readonly inputs: readonly [{
|
|
2338
|
+
readonly name: "beacon";
|
|
2339
|
+
readonly internalType: "address";
|
|
2340
|
+
readonly type: "address";
|
|
2341
|
+
readonly indexed: true;
|
|
2342
|
+
}];
|
|
2343
|
+
readonly name: "BeaconUpgraded";
|
|
2344
|
+
}, {
|
|
2345
|
+
readonly type: "event";
|
|
2346
|
+
readonly anonymous: false;
|
|
2347
|
+
readonly inputs: readonly [{
|
|
2348
|
+
readonly name: "version";
|
|
2349
|
+
readonly internalType: "uint8";
|
|
2350
|
+
readonly type: "uint8";
|
|
2351
|
+
readonly indexed: false;
|
|
2352
|
+
}];
|
|
2353
|
+
readonly name: "Initialized";
|
|
2354
|
+
}, {
|
|
2355
|
+
readonly type: "event";
|
|
2356
|
+
readonly anonymous: false;
|
|
2357
|
+
readonly inputs: readonly [{
|
|
2358
|
+
readonly name: "owner";
|
|
2359
|
+
readonly internalType: "address";
|
|
2360
|
+
readonly type: "address";
|
|
2361
|
+
readonly indexed: true;
|
|
2362
|
+
}, {
|
|
2363
|
+
readonly name: "canceledOwner";
|
|
2364
|
+
readonly internalType: "address";
|
|
2365
|
+
readonly type: "address";
|
|
2366
|
+
readonly indexed: true;
|
|
2367
|
+
}];
|
|
2368
|
+
readonly name: "OwnerCanceled";
|
|
2369
|
+
}, {
|
|
2370
|
+
readonly type: "event";
|
|
2371
|
+
readonly anonymous: false;
|
|
2372
|
+
readonly inputs: readonly [{
|
|
2373
|
+
readonly name: "owner";
|
|
2374
|
+
readonly internalType: "address";
|
|
2375
|
+
readonly type: "address";
|
|
2376
|
+
readonly indexed: true;
|
|
2377
|
+
}, {
|
|
2378
|
+
readonly name: "pendingOwner";
|
|
2379
|
+
readonly internalType: "address";
|
|
2380
|
+
readonly type: "address";
|
|
2381
|
+
readonly indexed: true;
|
|
2382
|
+
}];
|
|
2383
|
+
readonly name: "OwnerPending";
|
|
2384
|
+
}, {
|
|
2385
|
+
readonly type: "event";
|
|
2386
|
+
readonly anonymous: false;
|
|
2387
|
+
readonly inputs: readonly [{
|
|
2388
|
+
readonly name: "prevOwner";
|
|
2389
|
+
readonly internalType: "address";
|
|
2390
|
+
readonly type: "address";
|
|
2391
|
+
readonly indexed: true;
|
|
2392
|
+
}, {
|
|
2393
|
+
readonly name: "newOwner";
|
|
2394
|
+
readonly internalType: "address";
|
|
2395
|
+
readonly type: "address";
|
|
2396
|
+
readonly indexed: true;
|
|
2397
|
+
}];
|
|
2398
|
+
readonly name: "OwnerUpdated";
|
|
2399
|
+
}, {
|
|
2400
|
+
readonly type: "event";
|
|
2401
|
+
readonly anonymous: false;
|
|
2402
|
+
readonly inputs: readonly [{
|
|
2403
|
+
readonly name: "contractAddress";
|
|
2404
|
+
readonly internalType: "address";
|
|
2405
|
+
readonly type: "address";
|
|
2406
|
+
readonly indexed: true;
|
|
2407
|
+
}, {
|
|
2408
|
+
readonly name: "tokenId";
|
|
2409
|
+
readonly internalType: "uint256";
|
|
2410
|
+
readonly type: "uint256";
|
|
2411
|
+
readonly indexed: true;
|
|
2412
|
+
}, {
|
|
2413
|
+
readonly name: "createdNewContract";
|
|
2414
|
+
readonly internalType: "bool";
|
|
2415
|
+
readonly type: "bool";
|
|
2416
|
+
readonly indexed: true;
|
|
2417
|
+
}, {
|
|
2418
|
+
readonly name: "uid";
|
|
2419
|
+
readonly internalType: "uint32";
|
|
2420
|
+
readonly type: "uint32";
|
|
2421
|
+
readonly indexed: false;
|
|
2422
|
+
}, {
|
|
2423
|
+
readonly name: "contractConfig";
|
|
2424
|
+
readonly internalType: "struct ContractCreationConfig";
|
|
2425
|
+
readonly type: "tuple";
|
|
2426
|
+
readonly components: readonly [{
|
|
2427
|
+
readonly name: "contractAdmin";
|
|
2428
|
+
readonly internalType: "address";
|
|
2429
|
+
readonly type: "address";
|
|
2430
|
+
}, {
|
|
2431
|
+
readonly name: "contractURI";
|
|
2432
|
+
readonly internalType: "string";
|
|
2433
|
+
readonly type: "string";
|
|
2434
|
+
}, {
|
|
2435
|
+
readonly name: "contractName";
|
|
2436
|
+
readonly internalType: "string";
|
|
2437
|
+
readonly type: "string";
|
|
2438
|
+
}];
|
|
2439
|
+
readonly indexed: false;
|
|
2440
|
+
}, {
|
|
2441
|
+
readonly name: "tokenConfig";
|
|
2442
|
+
readonly internalType: "struct TokenCreationConfig";
|
|
2443
|
+
readonly type: "tuple";
|
|
2444
|
+
readonly components: readonly [{
|
|
2445
|
+
readonly name: "tokenURI";
|
|
2446
|
+
readonly internalType: "string";
|
|
2447
|
+
readonly type: "string";
|
|
2448
|
+
}, {
|
|
2449
|
+
readonly name: "maxSupply";
|
|
2450
|
+
readonly internalType: "uint256";
|
|
2451
|
+
readonly type: "uint256";
|
|
2452
|
+
}, {
|
|
2453
|
+
readonly name: "maxTokensPerAddress";
|
|
2454
|
+
readonly internalType: "uint64";
|
|
2455
|
+
readonly type: "uint64";
|
|
2456
|
+
}, {
|
|
2457
|
+
readonly name: "pricePerToken";
|
|
2458
|
+
readonly internalType: "uint96";
|
|
2459
|
+
readonly type: "uint96";
|
|
2460
|
+
}, {
|
|
2461
|
+
readonly name: "mintStart";
|
|
2462
|
+
readonly internalType: "uint64";
|
|
2463
|
+
readonly type: "uint64";
|
|
2464
|
+
}, {
|
|
2465
|
+
readonly name: "mintDuration";
|
|
2466
|
+
readonly internalType: "uint64";
|
|
2467
|
+
readonly type: "uint64";
|
|
2468
|
+
}, {
|
|
2469
|
+
readonly name: "royaltyMintSchedule";
|
|
2470
|
+
readonly internalType: "uint32";
|
|
2471
|
+
readonly type: "uint32";
|
|
2472
|
+
}, {
|
|
2473
|
+
readonly name: "royaltyBPS";
|
|
2474
|
+
readonly internalType: "uint32";
|
|
2475
|
+
readonly type: "uint32";
|
|
2476
|
+
}, {
|
|
2477
|
+
readonly name: "royaltyRecipient";
|
|
2478
|
+
readonly internalType: "address";
|
|
2479
|
+
readonly type: "address";
|
|
2480
|
+
}, {
|
|
2481
|
+
readonly name: "fixedPriceMinter";
|
|
2482
|
+
readonly internalType: "address";
|
|
2483
|
+
readonly type: "address";
|
|
2484
|
+
}];
|
|
2485
|
+
readonly indexed: false;
|
|
2486
|
+
}, {
|
|
2487
|
+
readonly name: "minter";
|
|
2488
|
+
readonly internalType: "address";
|
|
2489
|
+
readonly type: "address";
|
|
2490
|
+
readonly indexed: false;
|
|
2491
|
+
}, {
|
|
2492
|
+
readonly name: "quantityMinted";
|
|
2493
|
+
readonly internalType: "uint256";
|
|
2494
|
+
readonly type: "uint256";
|
|
2495
|
+
readonly indexed: false;
|
|
2496
|
+
}];
|
|
2497
|
+
readonly name: "Preminted";
|
|
2498
|
+
}, {
|
|
2499
|
+
readonly type: "event";
|
|
2500
|
+
readonly anonymous: false;
|
|
2501
|
+
readonly inputs: readonly [{
|
|
2502
|
+
readonly name: "contractAddress";
|
|
2503
|
+
readonly internalType: "address";
|
|
2504
|
+
readonly type: "address";
|
|
2505
|
+
readonly indexed: true;
|
|
2506
|
+
}, {
|
|
2507
|
+
readonly name: "tokenId";
|
|
2508
|
+
readonly internalType: "uint256";
|
|
2509
|
+
readonly type: "uint256";
|
|
2510
|
+
readonly indexed: true;
|
|
2511
|
+
}, {
|
|
2512
|
+
readonly name: "createdNewContract";
|
|
2513
|
+
readonly internalType: "bool";
|
|
2514
|
+
readonly type: "bool";
|
|
2515
|
+
readonly indexed: true;
|
|
2516
|
+
}, {
|
|
2517
|
+
readonly name: "uid";
|
|
2518
|
+
readonly internalType: "uint32";
|
|
2519
|
+
readonly type: "uint32";
|
|
2520
|
+
readonly indexed: false;
|
|
2521
|
+
}, {
|
|
2522
|
+
readonly name: "minter";
|
|
2523
|
+
readonly internalType: "address";
|
|
2524
|
+
readonly type: "address";
|
|
2525
|
+
readonly indexed: false;
|
|
2526
|
+
}, {
|
|
2527
|
+
readonly name: "quantityMinted";
|
|
2528
|
+
readonly internalType: "uint256";
|
|
2529
|
+
readonly type: "uint256";
|
|
2530
|
+
readonly indexed: false;
|
|
2531
|
+
}];
|
|
2532
|
+
readonly name: "PremintedV2";
|
|
2533
|
+
}, {
|
|
2534
|
+
readonly type: "event";
|
|
2535
|
+
readonly anonymous: false;
|
|
2536
|
+
readonly inputs: readonly [{
|
|
2537
|
+
readonly name: "implementation";
|
|
2538
|
+
readonly internalType: "address";
|
|
2539
|
+
readonly type: "address";
|
|
2540
|
+
readonly indexed: true;
|
|
2541
|
+
}];
|
|
2542
|
+
readonly name: "Upgraded";
|
|
2543
|
+
}, {
|
|
2544
|
+
readonly type: "error";
|
|
2545
|
+
readonly inputs: readonly [];
|
|
2546
|
+
readonly name: "ADDRESS_DELEGATECALL_TO_NON_CONTRACT";
|
|
2547
|
+
}, {
|
|
2548
|
+
readonly type: "error";
|
|
2549
|
+
readonly inputs: readonly [];
|
|
2550
|
+
readonly name: "ADDRESS_LOW_LEVEL_CALL_FAILED";
|
|
2551
|
+
}, {
|
|
2552
|
+
readonly type: "error";
|
|
2553
|
+
readonly inputs: readonly [{
|
|
2554
|
+
readonly name: "operator";
|
|
2555
|
+
readonly internalType: "address";
|
|
2556
|
+
readonly type: "address";
|
|
2557
|
+
}, {
|
|
2558
|
+
readonly name: "user";
|
|
2559
|
+
readonly internalType: "address";
|
|
2560
|
+
readonly type: "address";
|
|
2561
|
+
}];
|
|
2562
|
+
readonly name: "Burn_NotOwnerOrApproved";
|
|
2563
|
+
}, {
|
|
2564
|
+
readonly type: "error";
|
|
2565
|
+
readonly inputs: readonly [];
|
|
2566
|
+
readonly name: "CREATOR_FUNDS_RECIPIENT_NOT_SET";
|
|
2567
|
+
}, {
|
|
2568
|
+
readonly type: "error";
|
|
2569
|
+
readonly inputs: readonly [{
|
|
2570
|
+
readonly name: "reason";
|
|
2571
|
+
readonly internalType: "bytes";
|
|
2572
|
+
readonly type: "bytes";
|
|
2573
|
+
}];
|
|
2574
|
+
readonly name: "CallFailed";
|
|
2575
|
+
}, {
|
|
2576
|
+
readonly type: "error";
|
|
2577
|
+
readonly inputs: readonly [];
|
|
2578
|
+
readonly name: "Call_TokenIdMismatch";
|
|
2579
|
+
}, {
|
|
2580
|
+
readonly type: "error";
|
|
2581
|
+
readonly inputs: readonly [];
|
|
2582
|
+
readonly name: "CallerNotZoraCreator1155";
|
|
2583
|
+
}, {
|
|
2584
|
+
readonly type: "error";
|
|
2585
|
+
readonly inputs: readonly [{
|
|
2586
|
+
readonly name: "tokenId";
|
|
2587
|
+
readonly internalType: "uint256";
|
|
2588
|
+
readonly type: "uint256";
|
|
2589
|
+
}, {
|
|
2590
|
+
readonly name: "quantity";
|
|
2591
|
+
readonly internalType: "uint256";
|
|
2592
|
+
readonly type: "uint256";
|
|
2593
|
+
}, {
|
|
2594
|
+
readonly name: "totalMinted";
|
|
2595
|
+
readonly internalType: "uint256";
|
|
2596
|
+
readonly type: "uint256";
|
|
2597
|
+
}, {
|
|
2598
|
+
readonly name: "maxSupply";
|
|
2599
|
+
readonly internalType: "uint256";
|
|
2600
|
+
readonly type: "uint256";
|
|
2601
|
+
}];
|
|
2602
|
+
readonly name: "CannotMintMoreTokens";
|
|
2603
|
+
}, {
|
|
2604
|
+
readonly type: "error";
|
|
2605
|
+
readonly inputs: readonly [{
|
|
2606
|
+
readonly name: "proposedAddress";
|
|
2607
|
+
readonly internalType: "address";
|
|
2608
|
+
readonly type: "address";
|
|
2609
|
+
}];
|
|
2610
|
+
readonly name: "Config_TransferHookNotSupported";
|
|
2611
|
+
}, {
|
|
2612
|
+
readonly type: "error";
|
|
2613
|
+
readonly inputs: readonly [];
|
|
2614
|
+
readonly name: "ERC1155_MINT_TO_ZERO_ADDRESS";
|
|
2615
|
+
}, {
|
|
2616
|
+
readonly type: "error";
|
|
2617
|
+
readonly inputs: readonly [];
|
|
2618
|
+
readonly name: "ERC1967_NEW_IMPL_NOT_CONTRACT";
|
|
2619
|
+
}, {
|
|
2620
|
+
readonly type: "error";
|
|
2621
|
+
readonly inputs: readonly [];
|
|
2622
|
+
readonly name: "ERC1967_NEW_IMPL_NOT_UUPS";
|
|
2623
|
+
}, {
|
|
2624
|
+
readonly type: "error";
|
|
2625
|
+
readonly inputs: readonly [];
|
|
2626
|
+
readonly name: "ERC1967_UNSUPPORTED_PROXIABLEUUID";
|
|
2627
|
+
}, {
|
|
2628
|
+
readonly type: "error";
|
|
2629
|
+
readonly inputs: readonly [];
|
|
2630
|
+
readonly name: "ERC20TransferSlippage";
|
|
2631
|
+
}, {
|
|
2632
|
+
readonly type: "error";
|
|
2633
|
+
readonly inputs: readonly [{
|
|
2634
|
+
readonly name: "recipient";
|
|
2635
|
+
readonly internalType: "address";
|
|
2636
|
+
readonly type: "address";
|
|
2637
|
+
}, {
|
|
2638
|
+
readonly name: "amount";
|
|
2639
|
+
readonly internalType: "uint256";
|
|
2640
|
+
readonly type: "uint256";
|
|
2641
|
+
}];
|
|
2642
|
+
readonly name: "ETHWithdrawFailed";
|
|
2643
|
+
}, {
|
|
2644
|
+
readonly type: "error";
|
|
2645
|
+
readonly inputs: readonly [];
|
|
2646
|
+
readonly name: "FUNCTION_MUST_BE_CALLED_THROUGH_ACTIVE_PROXY";
|
|
2647
|
+
}, {
|
|
2648
|
+
readonly type: "error";
|
|
2649
|
+
readonly inputs: readonly [];
|
|
2650
|
+
readonly name: "FUNCTION_MUST_BE_CALLED_THROUGH_DELEGATECALL";
|
|
2651
|
+
}, {
|
|
2652
|
+
readonly type: "error";
|
|
2653
|
+
readonly inputs: readonly [];
|
|
2654
|
+
readonly name: "FirstMinterAddressZero";
|
|
2655
|
+
}, {
|
|
2656
|
+
readonly type: "error";
|
|
2657
|
+
readonly inputs: readonly [{
|
|
2658
|
+
readonly name: "amount";
|
|
2659
|
+
readonly internalType: "uint256";
|
|
2660
|
+
readonly type: "uint256";
|
|
2661
|
+
}, {
|
|
2662
|
+
readonly name: "contractValue";
|
|
2663
|
+
readonly internalType: "uint256";
|
|
2664
|
+
readonly type: "uint256";
|
|
2665
|
+
}];
|
|
2666
|
+
readonly name: "FundsWithdrawInsolvent";
|
|
2667
|
+
}, {
|
|
2668
|
+
readonly type: "error";
|
|
2669
|
+
readonly inputs: readonly [];
|
|
2670
|
+
readonly name: "INITIALIZABLE_CONTRACT_ALREADY_INITIALIZED";
|
|
2671
|
+
}, {
|
|
2672
|
+
readonly type: "error";
|
|
2673
|
+
readonly inputs: readonly [];
|
|
2674
|
+
readonly name: "INITIALIZABLE_CONTRACT_IS_INITIALIZING";
|
|
2675
|
+
}, {
|
|
2676
|
+
readonly type: "error";
|
|
2677
|
+
readonly inputs: readonly [];
|
|
2678
|
+
readonly name: "INITIALIZABLE_CONTRACT_IS_NOT_INITIALIZING";
|
|
2679
|
+
}, {
|
|
2680
|
+
readonly type: "error";
|
|
2681
|
+
readonly inputs: readonly [];
|
|
2682
|
+
readonly name: "INVALID_ADDRESS_ZERO";
|
|
2683
|
+
}, {
|
|
2684
|
+
readonly type: "error";
|
|
2685
|
+
readonly inputs: readonly [];
|
|
2686
|
+
readonly name: "INVALID_ETH_AMOUNT";
|
|
2687
|
+
}, {
|
|
2688
|
+
readonly type: "error";
|
|
2689
|
+
readonly inputs: readonly [{
|
|
2690
|
+
readonly name: "mintTo";
|
|
2691
|
+
readonly internalType: "address";
|
|
2692
|
+
readonly type: "address";
|
|
2693
|
+
}, {
|
|
2694
|
+
readonly name: "merkleProof";
|
|
2695
|
+
readonly internalType: "bytes32[]";
|
|
2696
|
+
readonly type: "bytes32[]";
|
|
2697
|
+
}, {
|
|
2698
|
+
readonly name: "merkleRoot";
|
|
2699
|
+
readonly internalType: "bytes32";
|
|
2700
|
+
readonly type: "bytes32";
|
|
2701
|
+
}];
|
|
2702
|
+
readonly name: "InvalidMerkleProof";
|
|
2703
|
+
}, {
|
|
2704
|
+
readonly type: "error";
|
|
2705
|
+
readonly inputs: readonly [];
|
|
2706
|
+
readonly name: "InvalidMintSchedule";
|
|
2707
|
+
}, {
|
|
2708
|
+
readonly type: "error";
|
|
2709
|
+
readonly inputs: readonly [];
|
|
2710
|
+
readonly name: "InvalidPremintVersion";
|
|
2711
|
+
}, {
|
|
2712
|
+
readonly type: "error";
|
|
2713
|
+
readonly inputs: readonly [];
|
|
2714
|
+
readonly name: "InvalidSignature";
|
|
2715
|
+
}, {
|
|
2716
|
+
readonly type: "error";
|
|
2717
|
+
readonly inputs: readonly [];
|
|
2718
|
+
readonly name: "InvalidSignatureVersion";
|
|
2719
|
+
}, {
|
|
2720
|
+
readonly type: "error";
|
|
2721
|
+
readonly inputs: readonly [{
|
|
2722
|
+
readonly name: "magicValue";
|
|
2723
|
+
readonly internalType: "bytes4";
|
|
2724
|
+
readonly type: "bytes4";
|
|
2725
|
+
}];
|
|
2726
|
+
readonly name: "InvalidSigner";
|
|
2727
|
+
}, {
|
|
2728
|
+
readonly type: "error";
|
|
2729
|
+
readonly inputs: readonly [];
|
|
2730
|
+
readonly name: "MintNotYetStarted";
|
|
2731
|
+
}, {
|
|
2732
|
+
readonly type: "error";
|
|
2733
|
+
readonly inputs: readonly [];
|
|
2734
|
+
readonly name: "Mint_InsolventSaleTransfer";
|
|
2735
|
+
}, {
|
|
2736
|
+
readonly type: "error";
|
|
2737
|
+
readonly inputs: readonly [];
|
|
2738
|
+
readonly name: "Mint_InvalidMintArrayLength";
|
|
2739
|
+
}, {
|
|
2740
|
+
readonly type: "error";
|
|
2741
|
+
readonly inputs: readonly [];
|
|
2742
|
+
readonly name: "Mint_TokenIDMintNotAllowed";
|
|
2743
|
+
}, {
|
|
2744
|
+
readonly type: "error";
|
|
2745
|
+
readonly inputs: readonly [];
|
|
2746
|
+
readonly name: "Mint_UnknownCommand";
|
|
2747
|
+
}, {
|
|
2748
|
+
readonly type: "error";
|
|
2749
|
+
readonly inputs: readonly [];
|
|
2750
|
+
readonly name: "Mint_ValueTransferFail";
|
|
2751
|
+
}, {
|
|
2752
|
+
readonly type: "error";
|
|
2753
|
+
readonly inputs: readonly [];
|
|
2754
|
+
readonly name: "MinterContractAlreadyExists";
|
|
2755
|
+
}, {
|
|
2756
|
+
readonly type: "error";
|
|
2757
|
+
readonly inputs: readonly [];
|
|
2758
|
+
readonly name: "MinterContractDoesNotExist";
|
|
2759
|
+
}, {
|
|
2760
|
+
readonly type: "error";
|
|
2761
|
+
readonly inputs: readonly [];
|
|
2762
|
+
readonly name: "NewOwnerNeedsToBeAdmin";
|
|
2763
|
+
}, {
|
|
2764
|
+
readonly type: "error";
|
|
2765
|
+
readonly inputs: readonly [];
|
|
2766
|
+
readonly name: "NonEthRedemption";
|
|
2767
|
+
}, {
|
|
2768
|
+
readonly type: "error";
|
|
2769
|
+
readonly inputs: readonly [];
|
|
2770
|
+
readonly name: "ONLY_CREATE_REFERRAL";
|
|
2771
|
+
}, {
|
|
2772
|
+
readonly type: "error";
|
|
2773
|
+
readonly inputs: readonly [];
|
|
2774
|
+
readonly name: "ONLY_OWNER";
|
|
2775
|
+
}, {
|
|
2776
|
+
readonly type: "error";
|
|
2777
|
+
readonly inputs: readonly [];
|
|
2778
|
+
readonly name: "ONLY_PENDING_OWNER";
|
|
2779
|
+
}, {
|
|
2780
|
+
readonly type: "error";
|
|
2781
|
+
readonly inputs: readonly [];
|
|
2782
|
+
readonly name: "OWNER_CANNOT_BE_ZERO_ADDRESS";
|
|
2783
|
+
}, {
|
|
2784
|
+
readonly type: "error";
|
|
2785
|
+
readonly inputs: readonly [];
|
|
2786
|
+
readonly name: "OnlyTransfersFromZoraMints";
|
|
2787
|
+
}, {
|
|
2788
|
+
readonly type: "error";
|
|
2789
|
+
readonly inputs: readonly [];
|
|
2790
|
+
readonly name: "PremintDeleted";
|
|
2791
|
+
}, {
|
|
2792
|
+
readonly type: "error";
|
|
2793
|
+
readonly inputs: readonly [{
|
|
2794
|
+
readonly name: "caller";
|
|
2795
|
+
readonly internalType: "address";
|
|
2796
|
+
readonly type: "address";
|
|
2797
|
+
}, {
|
|
2798
|
+
readonly name: "recipient";
|
|
2799
|
+
readonly internalType: "address";
|
|
2800
|
+
readonly type: "address";
|
|
2801
|
+
}, {
|
|
2802
|
+
readonly name: "amount";
|
|
2803
|
+
readonly internalType: "uint256";
|
|
2804
|
+
readonly type: "uint256";
|
|
2805
|
+
}];
|
|
2806
|
+
readonly name: "ProtocolRewardsWithdrawFailed";
|
|
2807
|
+
}, {
|
|
2808
|
+
readonly type: "error";
|
|
2809
|
+
readonly inputs: readonly [];
|
|
2810
|
+
readonly name: "Renderer_NotValidRendererContract";
|
|
2811
|
+
}, {
|
|
2812
|
+
readonly type: "error";
|
|
2813
|
+
readonly inputs: readonly [];
|
|
2814
|
+
readonly name: "SaleEnded";
|
|
2815
|
+
}, {
|
|
2816
|
+
readonly type: "error";
|
|
2817
|
+
readonly inputs: readonly [];
|
|
2818
|
+
readonly name: "SaleHasNotStarted";
|
|
2819
|
+
}, {
|
|
2820
|
+
readonly type: "error";
|
|
2821
|
+
readonly inputs: readonly [{
|
|
2822
|
+
readonly name: "targetContract";
|
|
2823
|
+
readonly internalType: "address";
|
|
2824
|
+
readonly type: "address";
|
|
2825
|
+
}];
|
|
2826
|
+
readonly name: "Sale_CannotCallNonSalesContract";
|
|
2827
|
+
}, {
|
|
2828
|
+
readonly type: "error";
|
|
2829
|
+
readonly inputs: readonly [{
|
|
2830
|
+
readonly name: "expected";
|
|
2831
|
+
readonly internalType: "uint256";
|
|
2832
|
+
readonly type: "uint256";
|
|
2833
|
+
}, {
|
|
2834
|
+
readonly name: "actual";
|
|
2835
|
+
readonly internalType: "uint256";
|
|
2836
|
+
readonly type: "uint256";
|
|
2837
|
+
}];
|
|
2838
|
+
readonly name: "TokenIdMismatch";
|
|
2839
|
+
}, {
|
|
2840
|
+
readonly type: "error";
|
|
2841
|
+
readonly inputs: readonly [];
|
|
2842
|
+
readonly name: "UUPS_UPGRADEABLE_MUST_NOT_BE_CALLED_THROUGH_DELEGATECALL";
|
|
2843
|
+
}, {
|
|
2844
|
+
readonly type: "error";
|
|
2845
|
+
readonly inputs: readonly [{
|
|
2846
|
+
readonly name: "expected";
|
|
2847
|
+
readonly internalType: "string";
|
|
2848
|
+
readonly type: "string";
|
|
2849
|
+
}, {
|
|
2850
|
+
readonly name: "actual";
|
|
2851
|
+
readonly internalType: "string";
|
|
2852
|
+
readonly type: "string";
|
|
2853
|
+
}];
|
|
2854
|
+
readonly name: "UpgradeToMismatchedContractName";
|
|
2855
|
+
}, {
|
|
2856
|
+
readonly type: "error";
|
|
2857
|
+
readonly inputs: readonly [{
|
|
2858
|
+
readonly name: "user";
|
|
2859
|
+
readonly internalType: "address";
|
|
2860
|
+
readonly type: "address";
|
|
2861
|
+
}, {
|
|
2862
|
+
readonly name: "limit";
|
|
2863
|
+
readonly internalType: "uint256";
|
|
2864
|
+
readonly type: "uint256";
|
|
2865
|
+
}, {
|
|
2866
|
+
readonly name: "requestedAmount";
|
|
2867
|
+
readonly internalType: "uint256";
|
|
2868
|
+
readonly type: "uint256";
|
|
2869
|
+
}];
|
|
2870
|
+
readonly name: "UserExceedsMintLimit";
|
|
2871
|
+
}, {
|
|
2872
|
+
readonly type: "error";
|
|
2873
|
+
readonly inputs: readonly [{
|
|
2874
|
+
readonly name: "user";
|
|
2875
|
+
readonly internalType: "address";
|
|
2876
|
+
readonly type: "address";
|
|
2877
|
+
}, {
|
|
2878
|
+
readonly name: "tokenId";
|
|
2879
|
+
readonly internalType: "uint256";
|
|
2880
|
+
readonly type: "uint256";
|
|
2881
|
+
}, {
|
|
2882
|
+
readonly name: "role";
|
|
2883
|
+
readonly internalType: "uint256";
|
|
2884
|
+
readonly type: "uint256";
|
|
2885
|
+
}];
|
|
2886
|
+
readonly name: "UserMissingRoleForToken";
|
|
2887
|
+
}, {
|
|
2888
|
+
readonly type: "error";
|
|
2889
|
+
readonly inputs: readonly [];
|
|
2890
|
+
readonly name: "WrongValueSent";
|
|
2891
|
+
}, {
|
|
2892
|
+
readonly type: "error";
|
|
2893
|
+
readonly inputs: readonly [];
|
|
2894
|
+
readonly name: "premintSignerContractFailedToRecoverSigner";
|
|
2895
|
+
}, {
|
|
2896
|
+
readonly type: "error";
|
|
2897
|
+
readonly inputs: readonly [];
|
|
2898
|
+
readonly name: "premintSignerContractNotAContract";
|
|
2899
|
+
}], "premintV2", [{
|
|
2900
|
+
contractAdmin: `0x${string}`;
|
|
2901
|
+
contractURI: string;
|
|
2902
|
+
contractName: string;
|
|
2903
|
+
additionalAdmins: readonly `0x${string}`[];
|
|
2904
|
+
}, import("@zoralabs/protocol-deployments").PremintConfigV2, `0x${string}`, bigint, {
|
|
2905
|
+
mintRecipient: `0x${string}`;
|
|
2906
|
+
mintComment: string;
|
|
2907
|
+
mintRewardsRecipients: readonly `0x${string}`[];
|
|
2908
|
+
}], Chain, Chain | undefined, `0x${string}` | import("viem").JsonRpcAccount<`0x${string}`> | import("viem").LocalAccount<string, `0x${string}`>>>;
|
|
196
2909
|
}
|
|
197
2910
|
export declare function createPremintClient({ chain, httpClient, publicClient, }: {
|
|
198
2911
|
chain: Chain;
|