@zoralabs/protocol-deployments 0.0.6 → 0.0.7
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/.turbo/turbo-build.log +8 -8
- package/CHANGELOG.md +10 -0
- package/addresses/999.json +6 -6
- package/addresses/999999999.json +6 -6
- package/dist/index.cjs +1574 -1574
- package/dist/index.cjs.map +1 -1
- package/dist/index.js +1574 -1574
- package/dist/index.js.map +1 -1
- package/dist/package/batchPublish.test.d.ts +8 -8
- package/dist/package/wagmiGenerated.d.ts +3516 -3516
- package/package/wagmiGenerated.ts +1338 -1338
- package/package.json +1 -1
- package/script/DeployProxiesToNewChain.s.sol +10 -2
- package/script/DeployTestContracts.s.sol +35 -0
- package/src/DeploymentTestingUtils.sol +118 -22
- package/src/DeterministicDeployerScript.sol +2 -6
- package/src/ZoraDeployerBase.sol +2 -1
- package/src/ZoraDeployerUtils.sol +30 -17
- package/test/UpgradesTest.t.sol +87 -17
|
@@ -40,210 +40,6 @@ export const zoraCreator1155FactoryImplABI = [
|
|
|
40
40
|
},
|
|
41
41
|
],
|
|
42
42
|
},
|
|
43
|
-
{ type: "error", inputs: [], name: "ADDRESS_DELEGATECALL_TO_NON_CONTRACT" },
|
|
44
|
-
{ type: "error", inputs: [], name: "ADDRESS_LOW_LEVEL_CALL_FAILED" },
|
|
45
|
-
{ type: "error", inputs: [], name: "Constructor_ImplCannotBeZero" },
|
|
46
|
-
{ type: "error", inputs: [], name: "ERC1967_NEW_IMPL_NOT_CONTRACT" },
|
|
47
|
-
{ type: "error", inputs: [], name: "ERC1967_NEW_IMPL_NOT_UUPS" },
|
|
48
|
-
{ type: "error", inputs: [], name: "ERC1967_UNSUPPORTED_PROXIABLEUUID" },
|
|
49
|
-
{
|
|
50
|
-
type: "error",
|
|
51
|
-
inputs: [],
|
|
52
|
-
name: "FUNCTION_MUST_BE_CALLED_THROUGH_ACTIVE_PROXY",
|
|
53
|
-
},
|
|
54
|
-
{
|
|
55
|
-
type: "error",
|
|
56
|
-
inputs: [],
|
|
57
|
-
name: "FUNCTION_MUST_BE_CALLED_THROUGH_DELEGATECALL",
|
|
58
|
-
},
|
|
59
|
-
{
|
|
60
|
-
type: "error",
|
|
61
|
-
inputs: [],
|
|
62
|
-
name: "INITIALIZABLE_CONTRACT_ALREADY_INITIALIZED",
|
|
63
|
-
},
|
|
64
|
-
{
|
|
65
|
-
type: "error",
|
|
66
|
-
inputs: [],
|
|
67
|
-
name: "INITIALIZABLE_CONTRACT_IS_NOT_INITIALIZING",
|
|
68
|
-
},
|
|
69
|
-
{ type: "error", inputs: [], name: "ONLY_OWNER" },
|
|
70
|
-
{ type: "error", inputs: [], name: "ONLY_PENDING_OWNER" },
|
|
71
|
-
{ type: "error", inputs: [], name: "OWNER_CANNOT_BE_ZERO_ADDRESS" },
|
|
72
|
-
{
|
|
73
|
-
type: "error",
|
|
74
|
-
inputs: [],
|
|
75
|
-
name: "UUPS_UPGRADEABLE_MUST_NOT_BE_CALLED_THROUGH_DELEGATECALL",
|
|
76
|
-
},
|
|
77
|
-
{
|
|
78
|
-
type: "error",
|
|
79
|
-
inputs: [
|
|
80
|
-
{ name: "expected", internalType: "string", type: "string" },
|
|
81
|
-
{ name: "actual", internalType: "string", type: "string" },
|
|
82
|
-
],
|
|
83
|
-
name: "UpgradeToMismatchedContractName",
|
|
84
|
-
},
|
|
85
|
-
{
|
|
86
|
-
type: "event",
|
|
87
|
-
anonymous: false,
|
|
88
|
-
inputs: [
|
|
89
|
-
{
|
|
90
|
-
name: "previousAdmin",
|
|
91
|
-
internalType: "address",
|
|
92
|
-
type: "address",
|
|
93
|
-
indexed: false,
|
|
94
|
-
},
|
|
95
|
-
{
|
|
96
|
-
name: "newAdmin",
|
|
97
|
-
internalType: "address",
|
|
98
|
-
type: "address",
|
|
99
|
-
indexed: false,
|
|
100
|
-
},
|
|
101
|
-
],
|
|
102
|
-
name: "AdminChanged",
|
|
103
|
-
},
|
|
104
|
-
{
|
|
105
|
-
type: "event",
|
|
106
|
-
anonymous: false,
|
|
107
|
-
inputs: [
|
|
108
|
-
{
|
|
109
|
-
name: "beacon",
|
|
110
|
-
internalType: "address",
|
|
111
|
-
type: "address",
|
|
112
|
-
indexed: true,
|
|
113
|
-
},
|
|
114
|
-
],
|
|
115
|
-
name: "BeaconUpgraded",
|
|
116
|
-
},
|
|
117
|
-
{ type: "event", anonymous: false, inputs: [], name: "FactorySetup" },
|
|
118
|
-
{
|
|
119
|
-
type: "event",
|
|
120
|
-
anonymous: false,
|
|
121
|
-
inputs: [
|
|
122
|
-
{ name: "version", internalType: "uint8", type: "uint8", indexed: false },
|
|
123
|
-
],
|
|
124
|
-
name: "Initialized",
|
|
125
|
-
},
|
|
126
|
-
{
|
|
127
|
-
type: "event",
|
|
128
|
-
anonymous: false,
|
|
129
|
-
inputs: [
|
|
130
|
-
{
|
|
131
|
-
name: "owner",
|
|
132
|
-
internalType: "address",
|
|
133
|
-
type: "address",
|
|
134
|
-
indexed: true,
|
|
135
|
-
},
|
|
136
|
-
{
|
|
137
|
-
name: "canceledOwner",
|
|
138
|
-
internalType: "address",
|
|
139
|
-
type: "address",
|
|
140
|
-
indexed: true,
|
|
141
|
-
},
|
|
142
|
-
],
|
|
143
|
-
name: "OwnerCanceled",
|
|
144
|
-
},
|
|
145
|
-
{
|
|
146
|
-
type: "event",
|
|
147
|
-
anonymous: false,
|
|
148
|
-
inputs: [
|
|
149
|
-
{
|
|
150
|
-
name: "owner",
|
|
151
|
-
internalType: "address",
|
|
152
|
-
type: "address",
|
|
153
|
-
indexed: true,
|
|
154
|
-
},
|
|
155
|
-
{
|
|
156
|
-
name: "pendingOwner",
|
|
157
|
-
internalType: "address",
|
|
158
|
-
type: "address",
|
|
159
|
-
indexed: true,
|
|
160
|
-
},
|
|
161
|
-
],
|
|
162
|
-
name: "OwnerPending",
|
|
163
|
-
},
|
|
164
|
-
{
|
|
165
|
-
type: "event",
|
|
166
|
-
anonymous: false,
|
|
167
|
-
inputs: [
|
|
168
|
-
{
|
|
169
|
-
name: "prevOwner",
|
|
170
|
-
internalType: "address",
|
|
171
|
-
type: "address",
|
|
172
|
-
indexed: true,
|
|
173
|
-
},
|
|
174
|
-
{
|
|
175
|
-
name: "newOwner",
|
|
176
|
-
internalType: "address",
|
|
177
|
-
type: "address",
|
|
178
|
-
indexed: true,
|
|
179
|
-
},
|
|
180
|
-
],
|
|
181
|
-
name: "OwnerUpdated",
|
|
182
|
-
},
|
|
183
|
-
{
|
|
184
|
-
type: "event",
|
|
185
|
-
anonymous: false,
|
|
186
|
-
inputs: [
|
|
187
|
-
{
|
|
188
|
-
name: "newContract",
|
|
189
|
-
internalType: "address",
|
|
190
|
-
type: "address",
|
|
191
|
-
indexed: true,
|
|
192
|
-
},
|
|
193
|
-
{
|
|
194
|
-
name: "creator",
|
|
195
|
-
internalType: "address",
|
|
196
|
-
type: "address",
|
|
197
|
-
indexed: true,
|
|
198
|
-
},
|
|
199
|
-
{
|
|
200
|
-
name: "defaultAdmin",
|
|
201
|
-
internalType: "address",
|
|
202
|
-
type: "address",
|
|
203
|
-
indexed: true,
|
|
204
|
-
},
|
|
205
|
-
{
|
|
206
|
-
name: "contractURI",
|
|
207
|
-
internalType: "string",
|
|
208
|
-
type: "string",
|
|
209
|
-
indexed: false,
|
|
210
|
-
},
|
|
211
|
-
{ name: "name", internalType: "string", type: "string", indexed: false },
|
|
212
|
-
{
|
|
213
|
-
name: "defaultRoyaltyConfiguration",
|
|
214
|
-
internalType: "struct ICreatorRoyaltiesControl.RoyaltyConfiguration",
|
|
215
|
-
type: "tuple",
|
|
216
|
-
components: [
|
|
217
|
-
{
|
|
218
|
-
name: "royaltyMintSchedule",
|
|
219
|
-
internalType: "uint32",
|
|
220
|
-
type: "uint32",
|
|
221
|
-
},
|
|
222
|
-
{ name: "royaltyBPS", internalType: "uint32", type: "uint32" },
|
|
223
|
-
{
|
|
224
|
-
name: "royaltyRecipient",
|
|
225
|
-
internalType: "address",
|
|
226
|
-
type: "address",
|
|
227
|
-
},
|
|
228
|
-
],
|
|
229
|
-
indexed: false,
|
|
230
|
-
},
|
|
231
|
-
],
|
|
232
|
-
name: "SetupNewContract",
|
|
233
|
-
},
|
|
234
|
-
{
|
|
235
|
-
type: "event",
|
|
236
|
-
anonymous: false,
|
|
237
|
-
inputs: [
|
|
238
|
-
{
|
|
239
|
-
name: "implementation",
|
|
240
|
-
internalType: "address",
|
|
241
|
-
type: "address",
|
|
242
|
-
indexed: true,
|
|
243
|
-
},
|
|
244
|
-
],
|
|
245
|
-
name: "Upgraded",
|
|
246
|
-
},
|
|
247
43
|
{
|
|
248
44
|
stateMutability: "nonpayable",
|
|
249
45
|
type: "function",
|
|
@@ -485,684 +281,267 @@ export const zoraCreator1155FactoryImplABI = [
|
|
|
485
281
|
{ name: "", internalType: "contract IZoraCreator1155", type: "address" },
|
|
486
282
|
],
|
|
487
283
|
},
|
|
488
|
-
] as const;
|
|
489
|
-
|
|
490
|
-
/**
|
|
491
|
-
* - [__View Contract on Ethereum Etherscan__](https://etherscan.io/address/0x777777C338d93e2C7adf08D102d45CA7CC4Ed021)
|
|
492
|
-
* - [__View Contract on Goerli Etherscan__](https://goerli.etherscan.io/address/0x777777C338d93e2C7adf08D102d45CA7CC4Ed021)
|
|
493
|
-
* - [__View Contract on Op Mainnet Optimism Explorer__](https://explorer.optimism.io/address/0x777777C338d93e2C7adf08D102d45CA7CC4Ed021)
|
|
494
|
-
* - [__View Contract on Optimism Goerli Etherscan__](https://goerli-optimism.etherscan.io/address/0x777777C338d93e2C7adf08D102d45CA7CC4Ed021)
|
|
495
|
-
* - [__View Contract on Zora Goerli Testnet Explorer__](https://testnet.explorer.zora.energy/address/0x777777C338d93e2C7adf08D102d45CA7CC4Ed021)
|
|
496
|
-
* - [__View Contract on Base Basescan__](https://basescan.org/address/0x777777C338d93e2C7adf08D102d45CA7CC4Ed021)
|
|
497
|
-
* - [__View Contract on Base Goerli Basescan__](https://goerli.basescan.org/address/0x777777C338d93e2C7adf08D102d45CA7CC4Ed021)
|
|
498
|
-
* - [__View Contract on Zora Explorer__](https://explorer.zora.energy/address/0x777777C338d93e2C7adf08D102d45CA7CC4Ed021)
|
|
499
|
-
* - [__View Contract on Sepolia Etherscan__](https://sepolia.etherscan.io/address/0x13dAA8E9e3f68deDE7b1386ACdc12eA98F2FB688)
|
|
500
|
-
*/
|
|
501
|
-
export const zoraCreator1155FactoryImplAddress = {
|
|
502
|
-
1: "0x777777C338d93e2C7adf08D102d45CA7CC4Ed021",
|
|
503
|
-
5: "0x777777C338d93e2C7adf08D102d45CA7CC4Ed021",
|
|
504
|
-
10: "0x777777C338d93e2C7adf08D102d45CA7CC4Ed021",
|
|
505
|
-
420: "0x777777C338d93e2C7adf08D102d45CA7CC4Ed021",
|
|
506
|
-
424: "0x6E742921602a5195f6439c8b8b827E85902E1B2D",
|
|
507
|
-
999: "0x777777C338d93e2C7adf08D102d45CA7CC4Ed021",
|
|
508
|
-
8453: "0x777777C338d93e2C7adf08D102d45CA7CC4Ed021",
|
|
509
|
-
58008: "0x6E742921602a5195f6439c8b8b827E85902E1B2D",
|
|
510
|
-
84531: "0x777777C338d93e2C7adf08D102d45CA7CC4Ed021",
|
|
511
|
-
7777777: "0x777777C338d93e2C7adf08D102d45CA7CC4Ed021",
|
|
512
|
-
11155111: "0x13dAA8E9e3f68deDE7b1386ACdc12eA98F2FB688",
|
|
513
|
-
999999999: "0x777777C338d93e2C7adf08D102d45CA7CC4Ed021",
|
|
514
|
-
} as const;
|
|
515
|
-
|
|
516
|
-
/**
|
|
517
|
-
* - [__View Contract on Ethereum Etherscan__](https://etherscan.io/address/0x777777C338d93e2C7adf08D102d45CA7CC4Ed021)
|
|
518
|
-
* - [__View Contract on Goerli Etherscan__](https://goerli.etherscan.io/address/0x777777C338d93e2C7adf08D102d45CA7CC4Ed021)
|
|
519
|
-
* - [__View Contract on Op Mainnet Optimism Explorer__](https://explorer.optimism.io/address/0x777777C338d93e2C7adf08D102d45CA7CC4Ed021)
|
|
520
|
-
* - [__View Contract on Optimism Goerli Etherscan__](https://goerli-optimism.etherscan.io/address/0x777777C338d93e2C7adf08D102d45CA7CC4Ed021)
|
|
521
|
-
* - [__View Contract on Zora Goerli Testnet Explorer__](https://testnet.explorer.zora.energy/address/0x777777C338d93e2C7adf08D102d45CA7CC4Ed021)
|
|
522
|
-
* - [__View Contract on Base Basescan__](https://basescan.org/address/0x777777C338d93e2C7adf08D102d45CA7CC4Ed021)
|
|
523
|
-
* - [__View Contract on Base Goerli Basescan__](https://goerli.basescan.org/address/0x777777C338d93e2C7adf08D102d45CA7CC4Ed021)
|
|
524
|
-
* - [__View Contract on Zora Explorer__](https://explorer.zora.energy/address/0x777777C338d93e2C7adf08D102d45CA7CC4Ed021)
|
|
525
|
-
* - [__View Contract on Sepolia Etherscan__](https://sepolia.etherscan.io/address/0x13dAA8E9e3f68deDE7b1386ACdc12eA98F2FB688)
|
|
526
|
-
*/
|
|
527
|
-
export const zoraCreator1155FactoryImplConfig = {
|
|
528
|
-
address: zoraCreator1155FactoryImplAddress,
|
|
529
|
-
abi: zoraCreator1155FactoryImplABI,
|
|
530
|
-
} as const;
|
|
531
|
-
|
|
532
|
-
//////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
|
|
533
|
-
// ZoraCreator1155Impl
|
|
534
|
-
//////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
|
|
535
|
-
|
|
536
|
-
export const zoraCreator1155ImplABI = [
|
|
537
284
|
{
|
|
538
|
-
|
|
539
|
-
|
|
540
|
-
inputs: [
|
|
541
|
-
{ name: "_mintFeeRecipient", internalType: "address", type: "address" },
|
|
542
|
-
{ name: "_upgradeGate", internalType: "address", type: "address" },
|
|
543
|
-
{ name: "_protocolRewards", internalType: "address", type: "address" },
|
|
544
|
-
],
|
|
545
|
-
},
|
|
546
|
-
{ type: "error", inputs: [], name: "ADDRESS_DELEGATECALL_TO_NON_CONTRACT" },
|
|
547
|
-
{ type: "error", inputs: [], name: "ADDRESS_LOW_LEVEL_CALL_FAILED" },
|
|
548
|
-
{
|
|
549
|
-
type: "error",
|
|
550
|
-
inputs: [
|
|
551
|
-
{ name: "operator", internalType: "address", type: "address" },
|
|
552
|
-
{ name: "user", internalType: "address", type: "address" },
|
|
553
|
-
],
|
|
554
|
-
name: "Burn_NotOwnerOrApproved",
|
|
555
|
-
},
|
|
556
|
-
{ type: "error", inputs: [], name: "CREATOR_FUNDS_RECIPIENT_NOT_SET" },
|
|
557
|
-
{
|
|
558
|
-
type: "error",
|
|
559
|
-
inputs: [{ name: "reason", internalType: "bytes", type: "bytes" }],
|
|
560
|
-
name: "CallFailed",
|
|
561
|
-
},
|
|
562
|
-
{ type: "error", inputs: [], name: "Call_TokenIdMismatch" },
|
|
563
|
-
{ type: "error", inputs: [], name: "CallerNotZoraCreator1155" },
|
|
564
|
-
{
|
|
565
|
-
type: "error",
|
|
566
|
-
inputs: [
|
|
567
|
-
{ name: "tokenId", internalType: "uint256", type: "uint256" },
|
|
568
|
-
{ name: "quantity", internalType: "uint256", type: "uint256" },
|
|
569
|
-
{ name: "totalMinted", internalType: "uint256", type: "uint256" },
|
|
570
|
-
{ name: "maxSupply", internalType: "uint256", type: "uint256" },
|
|
571
|
-
],
|
|
572
|
-
name: "CannotMintMoreTokens",
|
|
573
|
-
},
|
|
574
|
-
{
|
|
575
|
-
type: "error",
|
|
576
|
-
inputs: [
|
|
577
|
-
{ name: "proposedAddress", internalType: "address", type: "address" },
|
|
578
|
-
],
|
|
579
|
-
name: "Config_TransferHookNotSupported",
|
|
580
|
-
},
|
|
581
|
-
{
|
|
582
|
-
type: "error",
|
|
583
|
-
inputs: [],
|
|
584
|
-
name: "ERC1155_ACCOUNTS_AND_IDS_LENGTH_MISMATCH",
|
|
585
|
-
},
|
|
586
|
-
{
|
|
587
|
-
type: "error",
|
|
588
|
-
inputs: [],
|
|
589
|
-
name: "ERC1155_ADDRESS_ZERO_IS_NOT_A_VALID_OWNER",
|
|
590
|
-
},
|
|
591
|
-
{ type: "error", inputs: [], name: "ERC1155_BURN_AMOUNT_EXCEEDS_BALANCE" },
|
|
592
|
-
{ type: "error", inputs: [], name: "ERC1155_BURN_FROM_ZERO_ADDRESS" },
|
|
593
|
-
{
|
|
594
|
-
type: "error",
|
|
595
|
-
inputs: [],
|
|
596
|
-
name: "ERC1155_CALLER_IS_NOT_TOKEN_OWNER_OR_APPROVED",
|
|
597
|
-
},
|
|
598
|
-
{
|
|
599
|
-
type: "error",
|
|
600
|
-
inputs: [],
|
|
601
|
-
name: "ERC1155_ERC1155RECEIVER_REJECTED_TOKENS",
|
|
602
|
-
},
|
|
603
|
-
{
|
|
604
|
-
type: "error",
|
|
605
|
-
inputs: [],
|
|
606
|
-
name: "ERC1155_IDS_AND_AMOUNTS_LENGTH_MISMATCH",
|
|
607
|
-
},
|
|
608
|
-
{
|
|
609
|
-
type: "error",
|
|
610
|
-
inputs: [],
|
|
611
|
-
name: "ERC1155_INSUFFICIENT_BALANCE_FOR_TRANSFER",
|
|
612
|
-
},
|
|
613
|
-
{ type: "error", inputs: [], name: "ERC1155_MINT_TO_ZERO_ADDRESS" },
|
|
614
|
-
{ type: "error", inputs: [], name: "ERC1155_MINT_TO_ZERO_ADDRESS" },
|
|
615
|
-
{ type: "error", inputs: [], name: "ERC1155_SETTING_APPROVAL_FOR_SELF" },
|
|
616
|
-
{
|
|
617
|
-
type: "error",
|
|
618
|
-
inputs: [],
|
|
619
|
-
name: "ERC1155_TRANSFER_TO_NON_ERC1155RECEIVER_IMPLEMENTER",
|
|
620
|
-
},
|
|
621
|
-
{ type: "error", inputs: [], name: "ERC1155_TRANSFER_TO_ZERO_ADDRESS" },
|
|
622
|
-
{ type: "error", inputs: [], name: "ERC1967_NEW_IMPL_NOT_CONTRACT" },
|
|
623
|
-
{ type: "error", inputs: [], name: "ERC1967_NEW_IMPL_NOT_UUPS" },
|
|
624
|
-
{ type: "error", inputs: [], name: "ERC1967_UNSUPPORTED_PROXIABLEUUID" },
|
|
625
|
-
{
|
|
626
|
-
type: "error",
|
|
627
|
-
inputs: [
|
|
628
|
-
{ name: "recipient", internalType: "address", type: "address" },
|
|
629
|
-
{ name: "amount", internalType: "uint256", type: "uint256" },
|
|
630
|
-
],
|
|
631
|
-
name: "ETHWithdrawFailed",
|
|
632
|
-
},
|
|
633
|
-
{
|
|
634
|
-
type: "error",
|
|
635
|
-
inputs: [],
|
|
636
|
-
name: "FUNCTION_MUST_BE_CALLED_THROUGH_ACTIVE_PROXY",
|
|
637
|
-
},
|
|
638
|
-
{
|
|
639
|
-
type: "error",
|
|
640
|
-
inputs: [],
|
|
641
|
-
name: "FUNCTION_MUST_BE_CALLED_THROUGH_DELEGATECALL",
|
|
642
|
-
},
|
|
643
|
-
{
|
|
644
|
-
type: "error",
|
|
645
|
-
inputs: [
|
|
646
|
-
{ name: "amount", internalType: "uint256", type: "uint256" },
|
|
647
|
-
{ name: "contractValue", internalType: "uint256", type: "uint256" },
|
|
648
|
-
],
|
|
649
|
-
name: "FundsWithdrawInsolvent",
|
|
650
|
-
},
|
|
651
|
-
{
|
|
652
|
-
type: "error",
|
|
653
|
-
inputs: [],
|
|
654
|
-
name: "INITIALIZABLE_CONTRACT_ALREADY_INITIALIZED",
|
|
655
|
-
},
|
|
656
|
-
{
|
|
657
|
-
type: "error",
|
|
658
|
-
inputs: [],
|
|
659
|
-
name: "INITIALIZABLE_CONTRACT_IS_NOT_INITIALIZING",
|
|
660
|
-
},
|
|
661
|
-
{ type: "error", inputs: [], name: "INVALID_ADDRESS_ZERO" },
|
|
662
|
-
{ type: "error", inputs: [], name: "INVALID_ETH_AMOUNT" },
|
|
663
|
-
{
|
|
664
|
-
type: "error",
|
|
665
|
-
inputs: [
|
|
666
|
-
{ name: "mintTo", internalType: "address", type: "address" },
|
|
667
|
-
{ name: "merkleProof", internalType: "bytes32[]", type: "bytes32[]" },
|
|
668
|
-
{ name: "merkleRoot", internalType: "bytes32", type: "bytes32" },
|
|
669
|
-
],
|
|
670
|
-
name: "InvalidMerkleProof",
|
|
671
|
-
},
|
|
672
|
-
{ type: "error", inputs: [], name: "InvalidMintSchedule" },
|
|
673
|
-
{ type: "error", inputs: [], name: "InvalidSignatureVersion" },
|
|
674
|
-
{ type: "error", inputs: [], name: "MintNotYetStarted" },
|
|
675
|
-
{ type: "error", inputs: [], name: "Mint_InsolventSaleTransfer" },
|
|
676
|
-
{ type: "error", inputs: [], name: "Mint_TokenIDMintNotAllowed" },
|
|
677
|
-
{ type: "error", inputs: [], name: "Mint_UnknownCommand" },
|
|
678
|
-
{ type: "error", inputs: [], name: "Mint_ValueTransferFail" },
|
|
679
|
-
{ type: "error", inputs: [], name: "MinterContractAlreadyExists" },
|
|
680
|
-
{ type: "error", inputs: [], name: "MinterContractDoesNotExist" },
|
|
681
|
-
{ type: "error", inputs: [], name: "NewOwnerNeedsToBeAdmin" },
|
|
682
|
-
{
|
|
683
|
-
type: "error",
|
|
684
|
-
inputs: [{ name: "tokenId", internalType: "uint256", type: "uint256" }],
|
|
685
|
-
name: "NoRendererForToken",
|
|
686
|
-
},
|
|
687
|
-
{ type: "error", inputs: [], name: "ONLY_CREATE_REFERRAL" },
|
|
688
|
-
{ type: "error", inputs: [], name: "PremintDeleted" },
|
|
689
|
-
{
|
|
690
|
-
type: "error",
|
|
691
|
-
inputs: [
|
|
692
|
-
{ name: "caller", internalType: "address", type: "address" },
|
|
693
|
-
{ name: "recipient", internalType: "address", type: "address" },
|
|
694
|
-
{ name: "amount", internalType: "uint256", type: "uint256" },
|
|
695
|
-
],
|
|
696
|
-
name: "ProtocolRewardsWithdrawFailed",
|
|
697
|
-
},
|
|
698
|
-
{
|
|
699
|
-
type: "error",
|
|
700
|
-
inputs: [{ name: "renderer", internalType: "address", type: "address" }],
|
|
701
|
-
name: "RendererNotValid",
|
|
702
|
-
},
|
|
703
|
-
{ type: "error", inputs: [], name: "Renderer_NotValidRendererContract" },
|
|
704
|
-
{ type: "error", inputs: [], name: "SaleEnded" },
|
|
705
|
-
{ type: "error", inputs: [], name: "SaleHasNotStarted" },
|
|
706
|
-
{
|
|
707
|
-
type: "error",
|
|
708
|
-
inputs: [
|
|
709
|
-
{ name: "targetContract", internalType: "address", type: "address" },
|
|
710
|
-
],
|
|
711
|
-
name: "Sale_CannotCallNonSalesContract",
|
|
712
|
-
},
|
|
713
|
-
{
|
|
714
|
-
type: "error",
|
|
285
|
+
type: "event",
|
|
286
|
+
anonymous: false,
|
|
715
287
|
inputs: [
|
|
716
|
-
{
|
|
717
|
-
|
|
288
|
+
{
|
|
289
|
+
name: "previousAdmin",
|
|
290
|
+
internalType: "address",
|
|
291
|
+
type: "address",
|
|
292
|
+
indexed: false,
|
|
293
|
+
},
|
|
294
|
+
{
|
|
295
|
+
name: "newAdmin",
|
|
296
|
+
internalType: "address",
|
|
297
|
+
type: "address",
|
|
298
|
+
indexed: false,
|
|
299
|
+
},
|
|
718
300
|
],
|
|
719
|
-
name: "
|
|
720
|
-
},
|
|
721
|
-
{
|
|
722
|
-
type: "error",
|
|
723
|
-
inputs: [],
|
|
724
|
-
name: "UUPS_UPGRADEABLE_MUST_NOT_BE_CALLED_THROUGH_DELEGATECALL",
|
|
301
|
+
name: "AdminChanged",
|
|
725
302
|
},
|
|
726
303
|
{
|
|
727
|
-
type: "
|
|
304
|
+
type: "event",
|
|
305
|
+
anonymous: false,
|
|
728
306
|
inputs: [
|
|
729
|
-
{
|
|
730
|
-
|
|
731
|
-
|
|
307
|
+
{
|
|
308
|
+
name: "beacon",
|
|
309
|
+
internalType: "address",
|
|
310
|
+
type: "address",
|
|
311
|
+
indexed: true,
|
|
312
|
+
},
|
|
732
313
|
],
|
|
733
|
-
name: "
|
|
314
|
+
name: "BeaconUpgraded",
|
|
734
315
|
},
|
|
316
|
+
{ type: "event", anonymous: false, inputs: [], name: "FactorySetup" },
|
|
735
317
|
{
|
|
736
|
-
type: "
|
|
318
|
+
type: "event",
|
|
319
|
+
anonymous: false,
|
|
737
320
|
inputs: [
|
|
738
|
-
{ name: "
|
|
739
|
-
{ name: "tokenId", internalType: "uint256", type: "uint256" },
|
|
740
|
-
{ name: "role", internalType: "uint256", type: "uint256" },
|
|
321
|
+
{ name: "version", internalType: "uint8", type: "uint8", indexed: false },
|
|
741
322
|
],
|
|
742
|
-
name: "
|
|
323
|
+
name: "Initialized",
|
|
743
324
|
},
|
|
744
|
-
{ type: "error", inputs: [], name: "WrongValueSent" },
|
|
745
325
|
{
|
|
746
326
|
type: "event",
|
|
747
327
|
anonymous: false,
|
|
748
328
|
inputs: [
|
|
749
329
|
{
|
|
750
|
-
name: "
|
|
330
|
+
name: "owner",
|
|
751
331
|
internalType: "address",
|
|
752
332
|
type: "address",
|
|
753
|
-
indexed:
|
|
333
|
+
indexed: true,
|
|
754
334
|
},
|
|
755
335
|
{
|
|
756
|
-
name: "
|
|
336
|
+
name: "canceledOwner",
|
|
757
337
|
internalType: "address",
|
|
758
338
|
type: "address",
|
|
759
|
-
indexed:
|
|
339
|
+
indexed: true,
|
|
760
340
|
},
|
|
761
341
|
],
|
|
762
|
-
name: "
|
|
342
|
+
name: "OwnerCanceled",
|
|
763
343
|
},
|
|
764
344
|
{
|
|
765
345
|
type: "event",
|
|
766
346
|
anonymous: false,
|
|
767
347
|
inputs: [
|
|
768
348
|
{
|
|
769
|
-
name: "
|
|
349
|
+
name: "owner",
|
|
770
350
|
internalType: "address",
|
|
771
351
|
type: "address",
|
|
772
352
|
indexed: true,
|
|
773
353
|
},
|
|
774
354
|
{
|
|
775
|
-
name: "
|
|
355
|
+
name: "pendingOwner",
|
|
776
356
|
internalType: "address",
|
|
777
357
|
type: "address",
|
|
778
358
|
indexed: true,
|
|
779
359
|
},
|
|
780
|
-
{ name: "approved", internalType: "bool", type: "bool", indexed: false },
|
|
781
360
|
],
|
|
782
|
-
name: "
|
|
361
|
+
name: "OwnerPending",
|
|
783
362
|
},
|
|
784
363
|
{
|
|
785
364
|
type: "event",
|
|
786
365
|
anonymous: false,
|
|
787
366
|
inputs: [
|
|
788
367
|
{
|
|
789
|
-
name: "
|
|
368
|
+
name: "prevOwner",
|
|
369
|
+
internalType: "address",
|
|
370
|
+
type: "address",
|
|
371
|
+
indexed: true,
|
|
372
|
+
},
|
|
373
|
+
{
|
|
374
|
+
name: "newOwner",
|
|
790
375
|
internalType: "address",
|
|
791
376
|
type: "address",
|
|
792
377
|
indexed: true,
|
|
793
378
|
},
|
|
794
379
|
],
|
|
795
|
-
name: "
|
|
380
|
+
name: "OwnerUpdated",
|
|
796
381
|
},
|
|
797
382
|
{
|
|
798
383
|
type: "event",
|
|
799
384
|
anonymous: false,
|
|
800
385
|
inputs: [
|
|
801
386
|
{
|
|
802
|
-
name: "
|
|
387
|
+
name: "newContract",
|
|
803
388
|
internalType: "address",
|
|
804
389
|
type: "address",
|
|
805
390
|
indexed: true,
|
|
806
391
|
},
|
|
807
392
|
{
|
|
808
|
-
name: "
|
|
809
|
-
internalType: "
|
|
810
|
-
type: "
|
|
811
|
-
indexed: true,
|
|
812
|
-
},
|
|
393
|
+
name: "creator",
|
|
394
|
+
internalType: "address",
|
|
395
|
+
type: "address",
|
|
396
|
+
indexed: true,
|
|
397
|
+
},
|
|
813
398
|
{
|
|
814
|
-
name: "
|
|
815
|
-
internalType: "
|
|
399
|
+
name: "defaultAdmin",
|
|
400
|
+
internalType: "address",
|
|
401
|
+
type: "address",
|
|
402
|
+
indexed: true,
|
|
403
|
+
},
|
|
404
|
+
{
|
|
405
|
+
name: "contractURI",
|
|
406
|
+
internalType: "string",
|
|
407
|
+
type: "string",
|
|
408
|
+
indexed: false,
|
|
409
|
+
},
|
|
410
|
+
{ name: "name", internalType: "string", type: "string", indexed: false },
|
|
411
|
+
{
|
|
412
|
+
name: "defaultRoyaltyConfiguration",
|
|
413
|
+
internalType: "struct ICreatorRoyaltiesControl.RoyaltyConfiguration",
|
|
816
414
|
type: "tuple",
|
|
817
415
|
components: [
|
|
818
|
-
{ name: "owner", internalType: "address", type: "address" },
|
|
819
|
-
{ name: "__gap1", internalType: "uint96", type: "uint96" },
|
|
820
416
|
{
|
|
821
|
-
name: "
|
|
822
|
-
internalType: "
|
|
823
|
-
type: "
|
|
417
|
+
name: "royaltyMintSchedule",
|
|
418
|
+
internalType: "uint32",
|
|
419
|
+
type: "uint32",
|
|
824
420
|
},
|
|
825
|
-
{ name: "
|
|
421
|
+
{ name: "royaltyBPS", internalType: "uint32", type: "uint32" },
|
|
826
422
|
{
|
|
827
|
-
name: "
|
|
828
|
-
internalType: "
|
|
423
|
+
name: "royaltyRecipient",
|
|
424
|
+
internalType: "address",
|
|
829
425
|
type: "address",
|
|
830
426
|
},
|
|
831
|
-
{ name: "__gap3", internalType: "uint96", type: "uint96" },
|
|
832
427
|
],
|
|
833
428
|
indexed: false,
|
|
834
429
|
},
|
|
835
430
|
],
|
|
836
|
-
name: "
|
|
431
|
+
name: "SetupNewContract",
|
|
837
432
|
},
|
|
838
433
|
{
|
|
839
434
|
type: "event",
|
|
840
435
|
anonymous: false,
|
|
841
436
|
inputs: [
|
|
842
437
|
{
|
|
843
|
-
name: "
|
|
438
|
+
name: "implementation",
|
|
844
439
|
internalType: "address",
|
|
845
440
|
type: "address",
|
|
846
441
|
indexed: true,
|
|
847
442
|
},
|
|
848
|
-
{ name: "uri", internalType: "string", type: "string", indexed: false },
|
|
849
|
-
{ name: "name", internalType: "string", type: "string", indexed: false },
|
|
850
443
|
],
|
|
851
|
-
name: "
|
|
444
|
+
name: "Upgraded",
|
|
852
445
|
},
|
|
446
|
+
{ type: "error", inputs: [], name: "ADDRESS_DELEGATECALL_TO_NON_CONTRACT" },
|
|
447
|
+
{ type: "error", inputs: [], name: "ADDRESS_LOW_LEVEL_CALL_FAILED" },
|
|
448
|
+
{ type: "error", inputs: [], name: "Constructor_ImplCannotBeZero" },
|
|
449
|
+
{ type: "error", inputs: [], name: "ERC1967_NEW_IMPL_NOT_CONTRACT" },
|
|
450
|
+
{ type: "error", inputs: [], name: "ERC1967_NEW_IMPL_NOT_UUPS" },
|
|
451
|
+
{ type: "error", inputs: [], name: "ERC1967_UNSUPPORTED_PROXIABLEUUID" },
|
|
853
452
|
{
|
|
854
|
-
type: "
|
|
855
|
-
|
|
856
|
-
|
|
857
|
-
{
|
|
858
|
-
name: "renderer",
|
|
859
|
-
internalType: "contract IRenderer1155",
|
|
860
|
-
type: "address",
|
|
861
|
-
indexed: false,
|
|
862
|
-
},
|
|
863
|
-
],
|
|
864
|
-
name: "ContractRendererUpdated",
|
|
453
|
+
type: "error",
|
|
454
|
+
inputs: [],
|
|
455
|
+
name: "FUNCTION_MUST_BE_CALLED_THROUGH_ACTIVE_PROXY",
|
|
865
456
|
},
|
|
866
457
|
{
|
|
867
|
-
type: "
|
|
868
|
-
|
|
869
|
-
|
|
870
|
-
{
|
|
871
|
-
name: "structHash",
|
|
872
|
-
internalType: "bytes32",
|
|
873
|
-
type: "bytes32",
|
|
874
|
-
indexed: false,
|
|
875
|
-
},
|
|
876
|
-
{
|
|
877
|
-
name: "domainName",
|
|
878
|
-
internalType: "string",
|
|
879
|
-
type: "string",
|
|
880
|
-
indexed: false,
|
|
881
|
-
},
|
|
882
|
-
{
|
|
883
|
-
name: "version",
|
|
884
|
-
internalType: "string",
|
|
885
|
-
type: "string",
|
|
886
|
-
indexed: false,
|
|
887
|
-
},
|
|
888
|
-
{
|
|
889
|
-
name: "creator",
|
|
890
|
-
internalType: "address",
|
|
891
|
-
type: "address",
|
|
892
|
-
indexed: false,
|
|
893
|
-
},
|
|
894
|
-
{
|
|
895
|
-
name: "signature",
|
|
896
|
-
internalType: "bytes",
|
|
897
|
-
type: "bytes",
|
|
898
|
-
indexed: false,
|
|
899
|
-
},
|
|
900
|
-
],
|
|
901
|
-
name: "CreatorAttribution",
|
|
458
|
+
type: "error",
|
|
459
|
+
inputs: [],
|
|
460
|
+
name: "FUNCTION_MUST_BE_CALLED_THROUGH_DELEGATECALL",
|
|
902
461
|
},
|
|
903
462
|
{
|
|
904
|
-
type: "
|
|
905
|
-
|
|
906
|
-
|
|
907
|
-
{ name: "version", internalType: "uint8", type: "uint8", indexed: false },
|
|
908
|
-
],
|
|
909
|
-
name: "Initialized",
|
|
463
|
+
type: "error",
|
|
464
|
+
inputs: [],
|
|
465
|
+
name: "INITIALIZABLE_CONTRACT_ALREADY_INITIALIZED",
|
|
910
466
|
},
|
|
911
467
|
{
|
|
912
|
-
type: "
|
|
913
|
-
|
|
914
|
-
|
|
915
|
-
{
|
|
916
|
-
name: "lastOwner",
|
|
917
|
-
internalType: "address",
|
|
918
|
-
type: "address",
|
|
919
|
-
indexed: false,
|
|
920
|
-
},
|
|
921
|
-
{
|
|
922
|
-
name: "newOwner",
|
|
923
|
-
internalType: "address",
|
|
924
|
-
type: "address",
|
|
925
|
-
indexed: false,
|
|
926
|
-
},
|
|
927
|
-
],
|
|
928
|
-
name: "OwnershipTransferred",
|
|
468
|
+
type: "error",
|
|
469
|
+
inputs: [],
|
|
470
|
+
name: "INITIALIZABLE_CONTRACT_IS_NOT_INITIALIZING",
|
|
929
471
|
},
|
|
472
|
+
{ type: "error", inputs: [], name: "ONLY_OWNER" },
|
|
473
|
+
{ type: "error", inputs: [], name: "ONLY_PENDING_OWNER" },
|
|
474
|
+
{ type: "error", inputs: [], name: "OWNER_CANNOT_BE_ZERO_ADDRESS" },
|
|
930
475
|
{
|
|
931
|
-
type: "
|
|
932
|
-
|
|
476
|
+
type: "error",
|
|
477
|
+
inputs: [],
|
|
478
|
+
name: "UUPS_UPGRADEABLE_MUST_NOT_BE_CALLED_THROUGH_DELEGATECALL",
|
|
479
|
+
},
|
|
480
|
+
{
|
|
481
|
+
type: "error",
|
|
933
482
|
inputs: [
|
|
934
|
-
{
|
|
935
|
-
|
|
936
|
-
internalType: "address",
|
|
937
|
-
type: "address",
|
|
938
|
-
indexed: true,
|
|
939
|
-
},
|
|
940
|
-
{
|
|
941
|
-
name: "minter",
|
|
942
|
-
internalType: "address",
|
|
943
|
-
type: "address",
|
|
944
|
-
indexed: true,
|
|
945
|
-
},
|
|
946
|
-
{
|
|
947
|
-
name: "tokenId",
|
|
948
|
-
internalType: "uint256",
|
|
949
|
-
type: "uint256",
|
|
950
|
-
indexed: true,
|
|
951
|
-
},
|
|
952
|
-
{
|
|
953
|
-
name: "quantity",
|
|
954
|
-
internalType: "uint256",
|
|
955
|
-
type: "uint256",
|
|
956
|
-
indexed: false,
|
|
957
|
-
},
|
|
958
|
-
{
|
|
959
|
-
name: "value",
|
|
960
|
-
internalType: "uint256",
|
|
961
|
-
type: "uint256",
|
|
962
|
-
indexed: false,
|
|
963
|
-
},
|
|
483
|
+
{ name: "expected", internalType: "string", type: "string" },
|
|
484
|
+
{ name: "actual", internalType: "string", type: "string" },
|
|
964
485
|
],
|
|
965
|
-
name: "
|
|
486
|
+
name: "UpgradeToMismatchedContractName",
|
|
966
487
|
},
|
|
488
|
+
] as const;
|
|
489
|
+
|
|
490
|
+
/**
|
|
491
|
+
* - [__View Contract on Ethereum Etherscan__](https://etherscan.io/address/0x777777C338d93e2C7adf08D102d45CA7CC4Ed021)
|
|
492
|
+
* - [__View Contract on Goerli Etherscan__](https://goerli.etherscan.io/address/0x777777C338d93e2C7adf08D102d45CA7CC4Ed021)
|
|
493
|
+
* - [__View Contract on Op Mainnet Optimism Explorer__](https://explorer.optimism.io/address/0x777777C338d93e2C7adf08D102d45CA7CC4Ed021)
|
|
494
|
+
* - [__View Contract on Optimism Goerli Etherscan__](https://goerli-optimism.etherscan.io/address/0x777777C338d93e2C7adf08D102d45CA7CC4Ed021)
|
|
495
|
+
* - [__View Contract on Zora Goerli Testnet Explorer__](https://testnet.explorer.zora.energy/address/0x777777C338d93e2C7adf08D102d45CA7CC4Ed021)
|
|
496
|
+
* - [__View Contract on Base Basescan__](https://basescan.org/address/0x777777C338d93e2C7adf08D102d45CA7CC4Ed021)
|
|
497
|
+
* - [__View Contract on Base Goerli Basescan__](https://goerli.basescan.org/address/0x777777C338d93e2C7adf08D102d45CA7CC4Ed021)
|
|
498
|
+
* - [__View Contract on Zora Explorer__](https://explorer.zora.energy/address/0x777777C338d93e2C7adf08D102d45CA7CC4Ed021)
|
|
499
|
+
* - [__View Contract on Sepolia Etherscan__](https://sepolia.etherscan.io/address/0x13dAA8E9e3f68deDE7b1386ACdc12eA98F2FB688)
|
|
500
|
+
*/
|
|
501
|
+
export const zoraCreator1155FactoryImplAddress = {
|
|
502
|
+
1: "0x777777C338d93e2C7adf08D102d45CA7CC4Ed021",
|
|
503
|
+
5: "0x777777C338d93e2C7adf08D102d45CA7CC4Ed021",
|
|
504
|
+
10: "0x777777C338d93e2C7adf08D102d45CA7CC4Ed021",
|
|
505
|
+
420: "0x777777C338d93e2C7adf08D102d45CA7CC4Ed021",
|
|
506
|
+
424: "0x6E742921602a5195f6439c8b8b827E85902E1B2D",
|
|
507
|
+
999: "0x777777C338d93e2C7adf08D102d45CA7CC4Ed021",
|
|
508
|
+
8453: "0x777777C338d93e2C7adf08D102d45CA7CC4Ed021",
|
|
509
|
+
58008: "0x6E742921602a5195f6439c8b8b827E85902E1B2D",
|
|
510
|
+
84531: "0x777777C338d93e2C7adf08D102d45CA7CC4Ed021",
|
|
511
|
+
7777777: "0x777777C338d93e2C7adf08D102d45CA7CC4Ed021",
|
|
512
|
+
11155111: "0x13dAA8E9e3f68deDE7b1386ACdc12eA98F2FB688",
|
|
513
|
+
999999999: "0x777777C338d93e2C7adf08D102d45CA7CC4Ed021",
|
|
514
|
+
} as const;
|
|
515
|
+
|
|
516
|
+
/**
|
|
517
|
+
* - [__View Contract on Ethereum Etherscan__](https://etherscan.io/address/0x777777C338d93e2C7adf08D102d45CA7CC4Ed021)
|
|
518
|
+
* - [__View Contract on Goerli Etherscan__](https://goerli.etherscan.io/address/0x777777C338d93e2C7adf08D102d45CA7CC4Ed021)
|
|
519
|
+
* - [__View Contract on Op Mainnet Optimism Explorer__](https://explorer.optimism.io/address/0x777777C338d93e2C7adf08D102d45CA7CC4Ed021)
|
|
520
|
+
* - [__View Contract on Optimism Goerli Etherscan__](https://goerli-optimism.etherscan.io/address/0x777777C338d93e2C7adf08D102d45CA7CC4Ed021)
|
|
521
|
+
* - [__View Contract on Zora Goerli Testnet Explorer__](https://testnet.explorer.zora.energy/address/0x777777C338d93e2C7adf08D102d45CA7CC4Ed021)
|
|
522
|
+
* - [__View Contract on Base Basescan__](https://basescan.org/address/0x777777C338d93e2C7adf08D102d45CA7CC4Ed021)
|
|
523
|
+
* - [__View Contract on Base Goerli Basescan__](https://goerli.basescan.org/address/0x777777C338d93e2C7adf08D102d45CA7CC4Ed021)
|
|
524
|
+
* - [__View Contract on Zora Explorer__](https://explorer.zora.energy/address/0x777777C338d93e2C7adf08D102d45CA7CC4Ed021)
|
|
525
|
+
* - [__View Contract on Sepolia Etherscan__](https://sepolia.etherscan.io/address/0x13dAA8E9e3f68deDE7b1386ACdc12eA98F2FB688)
|
|
526
|
+
*/
|
|
527
|
+
export const zoraCreator1155FactoryImplConfig = {
|
|
528
|
+
address: zoraCreator1155FactoryImplAddress,
|
|
529
|
+
abi: zoraCreator1155FactoryImplABI,
|
|
530
|
+
} as const;
|
|
531
|
+
|
|
532
|
+
//////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
|
|
533
|
+
// ZoraCreator1155Impl
|
|
534
|
+
//////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
|
|
535
|
+
|
|
536
|
+
export const zoraCreator1155ImplABI = [
|
|
967
537
|
{
|
|
968
|
-
|
|
969
|
-
|
|
538
|
+
stateMutability: "nonpayable",
|
|
539
|
+
type: "constructor",
|
|
970
540
|
inputs: [
|
|
971
|
-
{
|
|
972
|
-
|
|
973
|
-
|
|
974
|
-
type: "uint256",
|
|
975
|
-
indexed: true,
|
|
976
|
-
},
|
|
977
|
-
{
|
|
978
|
-
name: "renderer",
|
|
979
|
-
internalType: "address",
|
|
980
|
-
type: "address",
|
|
981
|
-
indexed: true,
|
|
982
|
-
},
|
|
983
|
-
{ name: "user", internalType: "address", type: "address", indexed: true },
|
|
541
|
+
{ name: "_mintFeeRecipient", internalType: "address", type: "address" },
|
|
542
|
+
{ name: "_upgradeGate", internalType: "address", type: "address" },
|
|
543
|
+
{ name: "_protocolRewards", internalType: "address", type: "address" },
|
|
984
544
|
],
|
|
985
|
-
name: "RendererUpdated",
|
|
986
|
-
},
|
|
987
|
-
{
|
|
988
|
-
type: "event",
|
|
989
|
-
anonymous: false,
|
|
990
|
-
inputs: [
|
|
991
|
-
{
|
|
992
|
-
name: "tokenId",
|
|
993
|
-
internalType: "uint256",
|
|
994
|
-
type: "uint256",
|
|
995
|
-
indexed: true,
|
|
996
|
-
},
|
|
997
|
-
{
|
|
998
|
-
name: "sender",
|
|
999
|
-
internalType: "address",
|
|
1000
|
-
type: "address",
|
|
1001
|
-
indexed: true,
|
|
1002
|
-
},
|
|
1003
|
-
{
|
|
1004
|
-
name: "newURI",
|
|
1005
|
-
internalType: "string",
|
|
1006
|
-
type: "string",
|
|
1007
|
-
indexed: false,
|
|
1008
|
-
},
|
|
1009
|
-
{
|
|
1010
|
-
name: "maxSupply",
|
|
1011
|
-
internalType: "uint256",
|
|
1012
|
-
type: "uint256",
|
|
1013
|
-
indexed: false,
|
|
1014
|
-
},
|
|
1015
|
-
],
|
|
1016
|
-
name: "SetupNewToken",
|
|
1017
|
-
},
|
|
1018
|
-
{
|
|
1019
|
-
type: "event",
|
|
1020
|
-
anonymous: false,
|
|
1021
|
-
inputs: [
|
|
1022
|
-
{
|
|
1023
|
-
name: "operator",
|
|
1024
|
-
internalType: "address",
|
|
1025
|
-
type: "address",
|
|
1026
|
-
indexed: true,
|
|
1027
|
-
},
|
|
1028
|
-
{ name: "from", internalType: "address", type: "address", indexed: true },
|
|
1029
|
-
{ name: "to", internalType: "address", type: "address", indexed: true },
|
|
1030
|
-
{
|
|
1031
|
-
name: "ids",
|
|
1032
|
-
internalType: "uint256[]",
|
|
1033
|
-
type: "uint256[]",
|
|
1034
|
-
indexed: false,
|
|
1035
|
-
},
|
|
1036
|
-
{
|
|
1037
|
-
name: "values",
|
|
1038
|
-
internalType: "uint256[]",
|
|
1039
|
-
type: "uint256[]",
|
|
1040
|
-
indexed: false,
|
|
1041
|
-
},
|
|
1042
|
-
],
|
|
1043
|
-
name: "TransferBatch",
|
|
1044
|
-
},
|
|
1045
|
-
{
|
|
1046
|
-
type: "event",
|
|
1047
|
-
anonymous: false,
|
|
1048
|
-
inputs: [
|
|
1049
|
-
{
|
|
1050
|
-
name: "operator",
|
|
1051
|
-
internalType: "address",
|
|
1052
|
-
type: "address",
|
|
1053
|
-
indexed: true,
|
|
1054
|
-
},
|
|
1055
|
-
{ name: "from", internalType: "address", type: "address", indexed: true },
|
|
1056
|
-
{ name: "to", internalType: "address", type: "address", indexed: true },
|
|
1057
|
-
{ name: "id", internalType: "uint256", type: "uint256", indexed: false },
|
|
1058
|
-
{
|
|
1059
|
-
name: "value",
|
|
1060
|
-
internalType: "uint256",
|
|
1061
|
-
type: "uint256",
|
|
1062
|
-
indexed: false,
|
|
1063
|
-
},
|
|
1064
|
-
],
|
|
1065
|
-
name: "TransferSingle",
|
|
1066
|
-
},
|
|
1067
|
-
{
|
|
1068
|
-
type: "event",
|
|
1069
|
-
anonymous: false,
|
|
1070
|
-
inputs: [
|
|
1071
|
-
{ name: "value", internalType: "string", type: "string", indexed: false },
|
|
1072
|
-
{ name: "id", internalType: "uint256", type: "uint256", indexed: true },
|
|
1073
|
-
],
|
|
1074
|
-
name: "URI",
|
|
1075
|
-
},
|
|
1076
|
-
{
|
|
1077
|
-
type: "event",
|
|
1078
|
-
anonymous: false,
|
|
1079
|
-
inputs: [
|
|
1080
|
-
{
|
|
1081
|
-
name: "tokenId",
|
|
1082
|
-
internalType: "uint256",
|
|
1083
|
-
type: "uint256",
|
|
1084
|
-
indexed: true,
|
|
1085
|
-
},
|
|
1086
|
-
{ name: "user", internalType: "address", type: "address", indexed: true },
|
|
1087
|
-
{
|
|
1088
|
-
name: "permissions",
|
|
1089
|
-
internalType: "uint256",
|
|
1090
|
-
type: "uint256",
|
|
1091
|
-
indexed: true,
|
|
1092
|
-
},
|
|
1093
|
-
],
|
|
1094
|
-
name: "UpdatedPermissions",
|
|
1095
|
-
},
|
|
1096
|
-
{
|
|
1097
|
-
type: "event",
|
|
1098
|
-
anonymous: false,
|
|
1099
|
-
inputs: [
|
|
1100
|
-
{
|
|
1101
|
-
name: "tokenId",
|
|
1102
|
-
internalType: "uint256",
|
|
1103
|
-
type: "uint256",
|
|
1104
|
-
indexed: true,
|
|
1105
|
-
},
|
|
1106
|
-
{ name: "user", internalType: "address", type: "address", indexed: true },
|
|
1107
|
-
{
|
|
1108
|
-
name: "configuration",
|
|
1109
|
-
internalType: "struct ICreatorRoyaltiesControl.RoyaltyConfiguration",
|
|
1110
|
-
type: "tuple",
|
|
1111
|
-
components: [
|
|
1112
|
-
{
|
|
1113
|
-
name: "royaltyMintSchedule",
|
|
1114
|
-
internalType: "uint32",
|
|
1115
|
-
type: "uint32",
|
|
1116
|
-
},
|
|
1117
|
-
{ name: "royaltyBPS", internalType: "uint32", type: "uint32" },
|
|
1118
|
-
{
|
|
1119
|
-
name: "royaltyRecipient",
|
|
1120
|
-
internalType: "address",
|
|
1121
|
-
type: "address",
|
|
1122
|
-
},
|
|
1123
|
-
],
|
|
1124
|
-
indexed: false,
|
|
1125
|
-
},
|
|
1126
|
-
],
|
|
1127
|
-
name: "UpdatedRoyalties",
|
|
1128
|
-
},
|
|
1129
|
-
{
|
|
1130
|
-
type: "event",
|
|
1131
|
-
anonymous: false,
|
|
1132
|
-
inputs: [
|
|
1133
|
-
{ name: "from", internalType: "address", type: "address", indexed: true },
|
|
1134
|
-
{
|
|
1135
|
-
name: "tokenId",
|
|
1136
|
-
internalType: "uint256",
|
|
1137
|
-
type: "uint256",
|
|
1138
|
-
indexed: true,
|
|
1139
|
-
},
|
|
1140
|
-
{
|
|
1141
|
-
name: "tokenData",
|
|
1142
|
-
internalType: "struct IZoraCreator1155TypesV1.TokenData",
|
|
1143
|
-
type: "tuple",
|
|
1144
|
-
components: [
|
|
1145
|
-
{ name: "uri", internalType: "string", type: "string" },
|
|
1146
|
-
{ name: "maxSupply", internalType: "uint256", type: "uint256" },
|
|
1147
|
-
{ name: "totalMinted", internalType: "uint256", type: "uint256" },
|
|
1148
|
-
],
|
|
1149
|
-
indexed: false,
|
|
1150
|
-
},
|
|
1151
|
-
],
|
|
1152
|
-
name: "UpdatedToken",
|
|
1153
|
-
},
|
|
1154
|
-
{
|
|
1155
|
-
type: "event",
|
|
1156
|
-
anonymous: false,
|
|
1157
|
-
inputs: [
|
|
1158
|
-
{
|
|
1159
|
-
name: "implementation",
|
|
1160
|
-
internalType: "address",
|
|
1161
|
-
type: "address",
|
|
1162
|
-
indexed: true,
|
|
1163
|
-
},
|
|
1164
|
-
],
|
|
1165
|
-
name: "Upgraded",
|
|
1166
545
|
},
|
|
1167
546
|
{
|
|
1168
547
|
stateMutability: "view",
|
|
@@ -1925,221 +1304,163 @@ export const zoraCreator1155ImplABI = [
|
|
|
1925
1304
|
name: "withdrawRewards",
|
|
1926
1305
|
outputs: [],
|
|
1927
1306
|
},
|
|
1928
|
-
] as const;
|
|
1929
|
-
|
|
1930
|
-
//////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
|
|
1931
|
-
// ZoraCreator1155PremintExecutorImpl
|
|
1932
|
-
//////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
|
|
1933
|
-
|
|
1934
|
-
/**
|
|
1935
|
-
* - [__View Contract on Ethereum Etherscan__](https://etherscan.io/address/0x7777773606e7e46C8Ba8B98C08f5cD218e31d340)
|
|
1936
|
-
* - [__View Contract on Goerli Etherscan__](https://goerli.etherscan.io/address/0x7777773606e7e46C8Ba8B98C08f5cD218e31d340)
|
|
1937
|
-
* - [__View Contract on Op Mainnet Optimism Explorer__](https://explorer.optimism.io/address/0x7777773606e7e46C8Ba8B98C08f5cD218e31d340)
|
|
1938
|
-
* - [__View Contract on Optimism Goerli Etherscan__](https://goerli-optimism.etherscan.io/address/0x7777773606e7e46C8Ba8B98C08f5cD218e31d340)
|
|
1939
|
-
* - [__View Contract on Zora Goerli Testnet Explorer__](https://testnet.explorer.zora.energy/address/0x7777773606e7e46C8Ba8B98C08f5cD218e31d340)
|
|
1940
|
-
* - [__View Contract on Base Basescan__](https://basescan.org/address/0x7777773606e7e46C8Ba8B98C08f5cD218e31d340)
|
|
1941
|
-
* - [__View Contract on Base Goerli Basescan__](https://goerli.basescan.org/address/0x7777773606e7e46C8Ba8B98C08f5cD218e31d340)
|
|
1942
|
-
* - [__View Contract on Zora Explorer__](https://explorer.zora.energy/address/0x7777773606e7e46C8Ba8B98C08f5cD218e31d340)
|
|
1943
|
-
*/
|
|
1944
|
-
export const zoraCreator1155PremintExecutorImplABI = [
|
|
1945
1307
|
{
|
|
1946
|
-
|
|
1947
|
-
|
|
1308
|
+
type: "event",
|
|
1309
|
+
anonymous: false,
|
|
1948
1310
|
inputs: [
|
|
1949
1311
|
{
|
|
1950
|
-
name: "
|
|
1951
|
-
internalType: "
|
|
1312
|
+
name: "previousAdmin",
|
|
1313
|
+
internalType: "address",
|
|
1314
|
+
type: "address",
|
|
1315
|
+
indexed: false,
|
|
1316
|
+
},
|
|
1317
|
+
{
|
|
1318
|
+
name: "newAdmin",
|
|
1319
|
+
internalType: "address",
|
|
1952
1320
|
type: "address",
|
|
1321
|
+
indexed: false,
|
|
1953
1322
|
},
|
|
1954
1323
|
],
|
|
1324
|
+
name: "AdminChanged",
|
|
1955
1325
|
},
|
|
1956
|
-
{ type: "error", inputs: [], name: "ADDRESS_DELEGATECALL_TO_NON_CONTRACT" },
|
|
1957
|
-
{ type: "error", inputs: [], name: "ADDRESS_LOW_LEVEL_CALL_FAILED" },
|
|
1958
1326
|
{
|
|
1959
|
-
type: "
|
|
1327
|
+
type: "event",
|
|
1328
|
+
anonymous: false,
|
|
1960
1329
|
inputs: [
|
|
1961
|
-
{
|
|
1962
|
-
|
|
1330
|
+
{
|
|
1331
|
+
name: "account",
|
|
1332
|
+
internalType: "address",
|
|
1333
|
+
type: "address",
|
|
1334
|
+
indexed: true,
|
|
1335
|
+
},
|
|
1336
|
+
{
|
|
1337
|
+
name: "operator",
|
|
1338
|
+
internalType: "address",
|
|
1339
|
+
type: "address",
|
|
1340
|
+
indexed: true,
|
|
1341
|
+
},
|
|
1342
|
+
{ name: "approved", internalType: "bool", type: "bool", indexed: false },
|
|
1963
1343
|
],
|
|
1964
|
-
name: "
|
|
1965
|
-
},
|
|
1966
|
-
{
|
|
1967
|
-
type: "error",
|
|
1968
|
-
inputs: [{ name: "reason", internalType: "bytes", type: "bytes" }],
|
|
1969
|
-
name: "CallFailed",
|
|
1344
|
+
name: "ApprovalForAll",
|
|
1970
1345
|
},
|
|
1971
|
-
{ type: "error", inputs: [], name: "Call_TokenIdMismatch" },
|
|
1972
|
-
{ type: "error", inputs: [], name: "CallerNotZoraCreator1155" },
|
|
1973
1346
|
{
|
|
1974
|
-
type: "
|
|
1347
|
+
type: "event",
|
|
1348
|
+
anonymous: false,
|
|
1975
1349
|
inputs: [
|
|
1976
|
-
{
|
|
1977
|
-
|
|
1978
|
-
|
|
1979
|
-
|
|
1350
|
+
{
|
|
1351
|
+
name: "beacon",
|
|
1352
|
+
internalType: "address",
|
|
1353
|
+
type: "address",
|
|
1354
|
+
indexed: true,
|
|
1355
|
+
},
|
|
1980
1356
|
],
|
|
1981
|
-
name: "
|
|
1357
|
+
name: "BeaconUpgraded",
|
|
1982
1358
|
},
|
|
1983
1359
|
{
|
|
1984
|
-
type: "
|
|
1360
|
+
type: "event",
|
|
1361
|
+
anonymous: false,
|
|
1985
1362
|
inputs: [
|
|
1986
|
-
{
|
|
1987
|
-
|
|
1988
|
-
|
|
1989
|
-
|
|
1990
|
-
|
|
1991
|
-
|
|
1992
|
-
|
|
1993
|
-
|
|
1994
|
-
|
|
1995
|
-
|
|
1996
|
-
|
|
1997
|
-
|
|
1998
|
-
{
|
|
1999
|
-
|
|
2000
|
-
|
|
2001
|
-
|
|
2002
|
-
|
|
2003
|
-
|
|
2004
|
-
|
|
2005
|
-
|
|
2006
|
-
|
|
2007
|
-
|
|
2008
|
-
|
|
2009
|
-
|
|
2010
|
-
|
|
2011
|
-
|
|
2012
|
-
|
|
2013
|
-
|
|
2014
|
-
|
|
2015
|
-
|
|
2016
|
-
|
|
2017
|
-
|
|
2018
|
-
|
|
2019
|
-
|
|
2020
|
-
{
|
|
2021
|
-
type: "error",
|
|
2022
|
-
inputs: [],
|
|
2023
|
-
name: "INITIALIZABLE_CONTRACT_ALREADY_INITIALIZED",
|
|
2024
|
-
},
|
|
2025
|
-
{
|
|
2026
|
-
type: "error",
|
|
2027
|
-
inputs: [],
|
|
2028
|
-
name: "INITIALIZABLE_CONTRACT_IS_NOT_INITIALIZING",
|
|
2029
|
-
},
|
|
2030
|
-
{
|
|
2031
|
-
type: "error",
|
|
2032
|
-
inputs: [
|
|
2033
|
-
{ name: "mintTo", internalType: "address", type: "address" },
|
|
2034
|
-
{ name: "merkleProof", internalType: "bytes32[]", type: "bytes32[]" },
|
|
2035
|
-
{ name: "merkleRoot", internalType: "bytes32", type: "bytes32" },
|
|
2036
|
-
],
|
|
2037
|
-
name: "InvalidMerkleProof",
|
|
2038
|
-
},
|
|
2039
|
-
{ type: "error", inputs: [], name: "InvalidMintSchedule" },
|
|
2040
|
-
{ type: "error", inputs: [], name: "InvalidSignatureVersion" },
|
|
2041
|
-
{ type: "error", inputs: [], name: "MintNotYetStarted" },
|
|
2042
|
-
{ type: "error", inputs: [], name: "Mint_InsolventSaleTransfer" },
|
|
2043
|
-
{ type: "error", inputs: [], name: "Mint_TokenIDMintNotAllowed" },
|
|
2044
|
-
{ type: "error", inputs: [], name: "Mint_UnknownCommand" },
|
|
2045
|
-
{ type: "error", inputs: [], name: "Mint_ValueTransferFail" },
|
|
2046
|
-
{ type: "error", inputs: [], name: "MinterContractAlreadyExists" },
|
|
2047
|
-
{ type: "error", inputs: [], name: "MinterContractDoesNotExist" },
|
|
2048
|
-
{ type: "error", inputs: [], name: "NewOwnerNeedsToBeAdmin" },
|
|
2049
|
-
{ type: "error", inputs: [], name: "ONLY_OWNER" },
|
|
2050
|
-
{ type: "error", inputs: [], name: "ONLY_PENDING_OWNER" },
|
|
2051
|
-
{ type: "error", inputs: [], name: "OWNER_CANNOT_BE_ZERO_ADDRESS" },
|
|
2052
|
-
{ type: "error", inputs: [], name: "PremintDeleted" },
|
|
2053
|
-
{
|
|
2054
|
-
type: "error",
|
|
2055
|
-
inputs: [
|
|
2056
|
-
{ name: "caller", internalType: "address", type: "address" },
|
|
2057
|
-
{ name: "recipient", internalType: "address", type: "address" },
|
|
2058
|
-
{ name: "amount", internalType: "uint256", type: "uint256" },
|
|
2059
|
-
],
|
|
2060
|
-
name: "ProtocolRewardsWithdrawFailed",
|
|
2061
|
-
},
|
|
2062
|
-
{ type: "error", inputs: [], name: "Renderer_NotValidRendererContract" },
|
|
2063
|
-
{ type: "error", inputs: [], name: "SaleEnded" },
|
|
2064
|
-
{ type: "error", inputs: [], name: "SaleHasNotStarted" },
|
|
2065
|
-
{
|
|
2066
|
-
type: "error",
|
|
2067
|
-
inputs: [
|
|
2068
|
-
{ name: "targetContract", internalType: "address", type: "address" },
|
|
2069
|
-
],
|
|
2070
|
-
name: "Sale_CannotCallNonSalesContract",
|
|
2071
|
-
},
|
|
2072
|
-
{
|
|
2073
|
-
type: "error",
|
|
2074
|
-
inputs: [
|
|
2075
|
-
{ name: "expected", internalType: "uint256", type: "uint256" },
|
|
2076
|
-
{ name: "actual", internalType: "uint256", type: "uint256" },
|
|
2077
|
-
],
|
|
2078
|
-
name: "TokenIdMismatch",
|
|
2079
|
-
},
|
|
2080
|
-
{
|
|
2081
|
-
type: "error",
|
|
2082
|
-
inputs: [],
|
|
2083
|
-
name: "UUPS_UPGRADEABLE_MUST_NOT_BE_CALLED_THROUGH_DELEGATECALL",
|
|
2084
|
-
},
|
|
2085
|
-
{
|
|
2086
|
-
type: "error",
|
|
2087
|
-
inputs: [
|
|
2088
|
-
{ name: "expected", internalType: "string", type: "string" },
|
|
2089
|
-
{ name: "actual", internalType: "string", type: "string" },
|
|
2090
|
-
],
|
|
2091
|
-
name: "UpgradeToMismatchedContractName",
|
|
2092
|
-
},
|
|
2093
|
-
{
|
|
2094
|
-
type: "error",
|
|
2095
|
-
inputs: [
|
|
2096
|
-
{ name: "user", internalType: "address", type: "address" },
|
|
2097
|
-
{ name: "limit", internalType: "uint256", type: "uint256" },
|
|
2098
|
-
{ name: "requestedAmount", internalType: "uint256", type: "uint256" },
|
|
2099
|
-
],
|
|
2100
|
-
name: "UserExceedsMintLimit",
|
|
2101
|
-
},
|
|
2102
|
-
{
|
|
2103
|
-
type: "error",
|
|
2104
|
-
inputs: [
|
|
2105
|
-
{ name: "user", internalType: "address", type: "address" },
|
|
2106
|
-
{ name: "tokenId", internalType: "uint256", type: "uint256" },
|
|
2107
|
-
{ name: "role", internalType: "uint256", type: "uint256" },
|
|
1363
|
+
{
|
|
1364
|
+
name: "updater",
|
|
1365
|
+
internalType: "address",
|
|
1366
|
+
type: "address",
|
|
1367
|
+
indexed: true,
|
|
1368
|
+
},
|
|
1369
|
+
{
|
|
1370
|
+
name: "updateType",
|
|
1371
|
+
internalType: "enum IZoraCreator1155.ConfigUpdate",
|
|
1372
|
+
type: "uint8",
|
|
1373
|
+
indexed: true,
|
|
1374
|
+
},
|
|
1375
|
+
{
|
|
1376
|
+
name: "newConfig",
|
|
1377
|
+
internalType: "struct IZoraCreator1155TypesV1.ContractConfig",
|
|
1378
|
+
type: "tuple",
|
|
1379
|
+
components: [
|
|
1380
|
+
{ name: "owner", internalType: "address", type: "address" },
|
|
1381
|
+
{ name: "__gap1", internalType: "uint96", type: "uint96" },
|
|
1382
|
+
{
|
|
1383
|
+
name: "fundsRecipient",
|
|
1384
|
+
internalType: "address payable",
|
|
1385
|
+
type: "address",
|
|
1386
|
+
},
|
|
1387
|
+
{ name: "__gap2", internalType: "uint96", type: "uint96" },
|
|
1388
|
+
{
|
|
1389
|
+
name: "transferHook",
|
|
1390
|
+
internalType: "contract ITransferHookReceiver",
|
|
1391
|
+
type: "address",
|
|
1392
|
+
},
|
|
1393
|
+
{ name: "__gap3", internalType: "uint96", type: "uint96" },
|
|
1394
|
+
],
|
|
1395
|
+
indexed: false,
|
|
1396
|
+
},
|
|
2108
1397
|
],
|
|
2109
|
-
name: "
|
|
1398
|
+
name: "ConfigUpdated",
|
|
2110
1399
|
},
|
|
2111
|
-
{ type: "error", inputs: [], name: "WrongValueSent" },
|
|
2112
1400
|
{
|
|
2113
1401
|
type: "event",
|
|
2114
1402
|
anonymous: false,
|
|
2115
1403
|
inputs: [
|
|
2116
1404
|
{
|
|
2117
|
-
name: "
|
|
1405
|
+
name: "updater",
|
|
2118
1406
|
internalType: "address",
|
|
2119
1407
|
type: "address",
|
|
2120
|
-
indexed:
|
|
1408
|
+
indexed: true,
|
|
2121
1409
|
},
|
|
1410
|
+
{ name: "uri", internalType: "string", type: "string", indexed: false },
|
|
1411
|
+
{ name: "name", internalType: "string", type: "string", indexed: false },
|
|
1412
|
+
],
|
|
1413
|
+
name: "ContractMetadataUpdated",
|
|
1414
|
+
},
|
|
1415
|
+
{
|
|
1416
|
+
type: "event",
|
|
1417
|
+
anonymous: false,
|
|
1418
|
+
inputs: [
|
|
2122
1419
|
{
|
|
2123
|
-
name: "
|
|
2124
|
-
internalType: "
|
|
1420
|
+
name: "renderer",
|
|
1421
|
+
internalType: "contract IRenderer1155",
|
|
2125
1422
|
type: "address",
|
|
2126
1423
|
indexed: false,
|
|
2127
1424
|
},
|
|
2128
1425
|
],
|
|
2129
|
-
name: "
|
|
1426
|
+
name: "ContractRendererUpdated",
|
|
2130
1427
|
},
|
|
2131
1428
|
{
|
|
2132
1429
|
type: "event",
|
|
2133
1430
|
anonymous: false,
|
|
2134
1431
|
inputs: [
|
|
2135
1432
|
{
|
|
2136
|
-
name: "
|
|
1433
|
+
name: "structHash",
|
|
1434
|
+
internalType: "bytes32",
|
|
1435
|
+
type: "bytes32",
|
|
1436
|
+
indexed: false,
|
|
1437
|
+
},
|
|
1438
|
+
{
|
|
1439
|
+
name: "domainName",
|
|
1440
|
+
internalType: "string",
|
|
1441
|
+
type: "string",
|
|
1442
|
+
indexed: false,
|
|
1443
|
+
},
|
|
1444
|
+
{
|
|
1445
|
+
name: "version",
|
|
1446
|
+
internalType: "string",
|
|
1447
|
+
type: "string",
|
|
1448
|
+
indexed: false,
|
|
1449
|
+
},
|
|
1450
|
+
{
|
|
1451
|
+
name: "creator",
|
|
2137
1452
|
internalType: "address",
|
|
2138
1453
|
type: "address",
|
|
2139
|
-
indexed:
|
|
1454
|
+
indexed: false,
|
|
1455
|
+
},
|
|
1456
|
+
{
|
|
1457
|
+
name: "signature",
|
|
1458
|
+
internalType: "bytes",
|
|
1459
|
+
type: "bytes",
|
|
1460
|
+
indexed: false,
|
|
2140
1461
|
},
|
|
2141
1462
|
],
|
|
2142
|
-
name: "
|
|
1463
|
+
name: "CreatorAttribution",
|
|
2143
1464
|
},
|
|
2144
1465
|
{
|
|
2145
1466
|
type: "event",
|
|
@@ -2154,68 +1475,81 @@ export const zoraCreator1155PremintExecutorImplABI = [
|
|
|
2154
1475
|
anonymous: false,
|
|
2155
1476
|
inputs: [
|
|
2156
1477
|
{
|
|
2157
|
-
name: "
|
|
1478
|
+
name: "lastOwner",
|
|
2158
1479
|
internalType: "address",
|
|
2159
1480
|
type: "address",
|
|
2160
|
-
indexed:
|
|
1481
|
+
indexed: false,
|
|
2161
1482
|
},
|
|
2162
1483
|
{
|
|
2163
|
-
name: "
|
|
1484
|
+
name: "newOwner",
|
|
2164
1485
|
internalType: "address",
|
|
2165
1486
|
type: "address",
|
|
2166
|
-
indexed:
|
|
1487
|
+
indexed: false,
|
|
2167
1488
|
},
|
|
2168
1489
|
],
|
|
2169
|
-
name: "
|
|
1490
|
+
name: "OwnershipTransferred",
|
|
2170
1491
|
},
|
|
2171
1492
|
{
|
|
2172
1493
|
type: "event",
|
|
2173
1494
|
anonymous: false,
|
|
2174
1495
|
inputs: [
|
|
2175
1496
|
{
|
|
2176
|
-
name: "
|
|
1497
|
+
name: "sender",
|
|
2177
1498
|
internalType: "address",
|
|
2178
1499
|
type: "address",
|
|
2179
1500
|
indexed: true,
|
|
2180
1501
|
},
|
|
2181
1502
|
{
|
|
2182
|
-
name: "
|
|
1503
|
+
name: "minter",
|
|
2183
1504
|
internalType: "address",
|
|
2184
1505
|
type: "address",
|
|
2185
1506
|
indexed: true,
|
|
2186
1507
|
},
|
|
1508
|
+
{
|
|
1509
|
+
name: "tokenId",
|
|
1510
|
+
internalType: "uint256",
|
|
1511
|
+
type: "uint256",
|
|
1512
|
+
indexed: true,
|
|
1513
|
+
},
|
|
1514
|
+
{
|
|
1515
|
+
name: "quantity",
|
|
1516
|
+
internalType: "uint256",
|
|
1517
|
+
type: "uint256",
|
|
1518
|
+
indexed: false,
|
|
1519
|
+
},
|
|
1520
|
+
{
|
|
1521
|
+
name: "value",
|
|
1522
|
+
internalType: "uint256",
|
|
1523
|
+
type: "uint256",
|
|
1524
|
+
indexed: false,
|
|
1525
|
+
},
|
|
2187
1526
|
],
|
|
2188
|
-
name: "
|
|
1527
|
+
name: "Purchased",
|
|
2189
1528
|
},
|
|
2190
1529
|
{
|
|
2191
1530
|
type: "event",
|
|
2192
1531
|
anonymous: false,
|
|
2193
1532
|
inputs: [
|
|
2194
1533
|
{
|
|
2195
|
-
name: "
|
|
2196
|
-
internalType: "
|
|
2197
|
-
type: "
|
|
1534
|
+
name: "tokenId",
|
|
1535
|
+
internalType: "uint256",
|
|
1536
|
+
type: "uint256",
|
|
2198
1537
|
indexed: true,
|
|
2199
1538
|
},
|
|
2200
1539
|
{
|
|
2201
|
-
name: "
|
|
1540
|
+
name: "renderer",
|
|
2202
1541
|
internalType: "address",
|
|
2203
1542
|
type: "address",
|
|
2204
1543
|
indexed: true,
|
|
2205
1544
|
},
|
|
1545
|
+
{ name: "user", internalType: "address", type: "address", indexed: true },
|
|
2206
1546
|
],
|
|
2207
|
-
name: "
|
|
1547
|
+
name: "RendererUpdated",
|
|
2208
1548
|
},
|
|
2209
1549
|
{
|
|
2210
1550
|
type: "event",
|
|
2211
1551
|
anonymous: false,
|
|
2212
1552
|
inputs: [
|
|
2213
|
-
{
|
|
2214
|
-
name: "contractAddress",
|
|
2215
|
-
internalType: "address",
|
|
2216
|
-
type: "address",
|
|
2217
|
-
indexed: true,
|
|
2218
|
-
},
|
|
2219
1553
|
{
|
|
2220
1554
|
name: "tokenId",
|
|
2221
1555
|
internalType: "uint256",
|
|
@@ -2223,109 +1557,161 @@ export const zoraCreator1155PremintExecutorImplABI = [
|
|
|
2223
1557
|
indexed: true,
|
|
2224
1558
|
},
|
|
2225
1559
|
{
|
|
2226
|
-
name: "
|
|
2227
|
-
internalType: "
|
|
2228
|
-
type: "
|
|
1560
|
+
name: "sender",
|
|
1561
|
+
internalType: "address",
|
|
1562
|
+
type: "address",
|
|
2229
1563
|
indexed: true,
|
|
2230
1564
|
},
|
|
2231
|
-
{ name: "uid", internalType: "uint32", type: "uint32", indexed: false },
|
|
2232
1565
|
{
|
|
2233
|
-
name: "
|
|
2234
|
-
internalType: "
|
|
2235
|
-
type: "
|
|
2236
|
-
components: [
|
|
2237
|
-
{ name: "contractAdmin", internalType: "address", type: "address" },
|
|
2238
|
-
{ name: "contractURI", internalType: "string", type: "string" },
|
|
2239
|
-
{ name: "contractName", internalType: "string", type: "string" },
|
|
2240
|
-
],
|
|
1566
|
+
name: "newURI",
|
|
1567
|
+
internalType: "string",
|
|
1568
|
+
type: "string",
|
|
2241
1569
|
indexed: false,
|
|
2242
1570
|
},
|
|
2243
1571
|
{
|
|
2244
|
-
name: "
|
|
2245
|
-
internalType: "
|
|
2246
|
-
type: "
|
|
2247
|
-
components: [
|
|
2248
|
-
{ name: "tokenURI", internalType: "string", type: "string" },
|
|
2249
|
-
{ name: "maxSupply", internalType: "uint256", type: "uint256" },
|
|
2250
|
-
{
|
|
2251
|
-
name: "maxTokensPerAddress",
|
|
2252
|
-
internalType: "uint64",
|
|
2253
|
-
type: "uint64",
|
|
2254
|
-
},
|
|
2255
|
-
{ name: "pricePerToken", internalType: "uint96", type: "uint96" },
|
|
2256
|
-
{ name: "mintStart", internalType: "uint64", type: "uint64" },
|
|
2257
|
-
{ name: "mintDuration", internalType: "uint64", type: "uint64" },
|
|
2258
|
-
{
|
|
2259
|
-
name: "royaltyMintSchedule",
|
|
2260
|
-
internalType: "uint32",
|
|
2261
|
-
type: "uint32",
|
|
2262
|
-
},
|
|
2263
|
-
{ name: "royaltyBPS", internalType: "uint32", type: "uint32" },
|
|
2264
|
-
{
|
|
2265
|
-
name: "royaltyRecipient",
|
|
2266
|
-
internalType: "address",
|
|
2267
|
-
type: "address",
|
|
2268
|
-
},
|
|
2269
|
-
{
|
|
2270
|
-
name: "fixedPriceMinter",
|
|
2271
|
-
internalType: "address",
|
|
2272
|
-
type: "address",
|
|
2273
|
-
},
|
|
2274
|
-
],
|
|
1572
|
+
name: "maxSupply",
|
|
1573
|
+
internalType: "uint256",
|
|
1574
|
+
type: "uint256",
|
|
2275
1575
|
indexed: false,
|
|
2276
1576
|
},
|
|
1577
|
+
],
|
|
1578
|
+
name: "SetupNewToken",
|
|
1579
|
+
},
|
|
1580
|
+
{
|
|
1581
|
+
type: "event",
|
|
1582
|
+
anonymous: false,
|
|
1583
|
+
inputs: [
|
|
2277
1584
|
{
|
|
2278
|
-
name: "
|
|
1585
|
+
name: "operator",
|
|
2279
1586
|
internalType: "address",
|
|
2280
1587
|
type: "address",
|
|
1588
|
+
indexed: true,
|
|
1589
|
+
},
|
|
1590
|
+
{ name: "from", internalType: "address", type: "address", indexed: true },
|
|
1591
|
+
{ name: "to", internalType: "address", type: "address", indexed: true },
|
|
1592
|
+
{
|
|
1593
|
+
name: "ids",
|
|
1594
|
+
internalType: "uint256[]",
|
|
1595
|
+
type: "uint256[]",
|
|
2281
1596
|
indexed: false,
|
|
2282
1597
|
},
|
|
2283
1598
|
{
|
|
2284
|
-
name: "
|
|
2285
|
-
internalType: "uint256",
|
|
2286
|
-
type: "uint256",
|
|
1599
|
+
name: "values",
|
|
1600
|
+
internalType: "uint256[]",
|
|
1601
|
+
type: "uint256[]",
|
|
2287
1602
|
indexed: false,
|
|
2288
1603
|
},
|
|
2289
1604
|
],
|
|
2290
|
-
name: "
|
|
1605
|
+
name: "TransferBatch",
|
|
2291
1606
|
},
|
|
2292
1607
|
{
|
|
2293
1608
|
type: "event",
|
|
2294
1609
|
anonymous: false,
|
|
2295
1610
|
inputs: [
|
|
2296
1611
|
{
|
|
2297
|
-
name: "
|
|
1612
|
+
name: "operator",
|
|
2298
1613
|
internalType: "address",
|
|
2299
1614
|
type: "address",
|
|
2300
1615
|
indexed: true,
|
|
2301
1616
|
},
|
|
1617
|
+
{ name: "from", internalType: "address", type: "address", indexed: true },
|
|
1618
|
+
{ name: "to", internalType: "address", type: "address", indexed: true },
|
|
1619
|
+
{ name: "id", internalType: "uint256", type: "uint256", indexed: false },
|
|
1620
|
+
{
|
|
1621
|
+
name: "value",
|
|
1622
|
+
internalType: "uint256",
|
|
1623
|
+
type: "uint256",
|
|
1624
|
+
indexed: false,
|
|
1625
|
+
},
|
|
1626
|
+
],
|
|
1627
|
+
name: "TransferSingle",
|
|
1628
|
+
},
|
|
1629
|
+
{
|
|
1630
|
+
type: "event",
|
|
1631
|
+
anonymous: false,
|
|
1632
|
+
inputs: [
|
|
1633
|
+
{ name: "value", internalType: "string", type: "string", indexed: false },
|
|
1634
|
+
{ name: "id", internalType: "uint256", type: "uint256", indexed: true },
|
|
1635
|
+
],
|
|
1636
|
+
name: "URI",
|
|
1637
|
+
},
|
|
1638
|
+
{
|
|
1639
|
+
type: "event",
|
|
1640
|
+
anonymous: false,
|
|
1641
|
+
inputs: [
|
|
2302
1642
|
{
|
|
2303
1643
|
name: "tokenId",
|
|
2304
1644
|
internalType: "uint256",
|
|
2305
1645
|
type: "uint256",
|
|
2306
1646
|
indexed: true,
|
|
2307
1647
|
},
|
|
1648
|
+
{ name: "user", internalType: "address", type: "address", indexed: true },
|
|
2308
1649
|
{
|
|
2309
|
-
name: "
|
|
2310
|
-
internalType: "
|
|
2311
|
-
type: "
|
|
1650
|
+
name: "permissions",
|
|
1651
|
+
internalType: "uint256",
|
|
1652
|
+
type: "uint256",
|
|
2312
1653
|
indexed: true,
|
|
2313
1654
|
},
|
|
2314
|
-
|
|
1655
|
+
],
|
|
1656
|
+
name: "UpdatedPermissions",
|
|
1657
|
+
},
|
|
1658
|
+
{
|
|
1659
|
+
type: "event",
|
|
1660
|
+
anonymous: false,
|
|
1661
|
+
inputs: [
|
|
2315
1662
|
{
|
|
2316
|
-
name: "
|
|
2317
|
-
internalType: "
|
|
2318
|
-
type: "
|
|
1663
|
+
name: "tokenId",
|
|
1664
|
+
internalType: "uint256",
|
|
1665
|
+
type: "uint256",
|
|
1666
|
+
indexed: true,
|
|
1667
|
+
},
|
|
1668
|
+
{ name: "user", internalType: "address", type: "address", indexed: true },
|
|
1669
|
+
{
|
|
1670
|
+
name: "configuration",
|
|
1671
|
+
internalType: "struct ICreatorRoyaltiesControl.RoyaltyConfiguration",
|
|
1672
|
+
type: "tuple",
|
|
1673
|
+
components: [
|
|
1674
|
+
{
|
|
1675
|
+
name: "royaltyMintSchedule",
|
|
1676
|
+
internalType: "uint32",
|
|
1677
|
+
type: "uint32",
|
|
1678
|
+
},
|
|
1679
|
+
{ name: "royaltyBPS", internalType: "uint32", type: "uint32" },
|
|
1680
|
+
{
|
|
1681
|
+
name: "royaltyRecipient",
|
|
1682
|
+
internalType: "address",
|
|
1683
|
+
type: "address",
|
|
1684
|
+
},
|
|
1685
|
+
],
|
|
2319
1686
|
indexed: false,
|
|
2320
1687
|
},
|
|
1688
|
+
],
|
|
1689
|
+
name: "UpdatedRoyalties",
|
|
1690
|
+
},
|
|
1691
|
+
{
|
|
1692
|
+
type: "event",
|
|
1693
|
+
anonymous: false,
|
|
1694
|
+
inputs: [
|
|
1695
|
+
{ name: "from", internalType: "address", type: "address", indexed: true },
|
|
2321
1696
|
{
|
|
2322
|
-
name: "
|
|
1697
|
+
name: "tokenId",
|
|
2323
1698
|
internalType: "uint256",
|
|
2324
1699
|
type: "uint256",
|
|
1700
|
+
indexed: true,
|
|
1701
|
+
},
|
|
1702
|
+
{
|
|
1703
|
+
name: "tokenData",
|
|
1704
|
+
internalType: "struct IZoraCreator1155TypesV1.TokenData",
|
|
1705
|
+
type: "tuple",
|
|
1706
|
+
components: [
|
|
1707
|
+
{ name: "uri", internalType: "string", type: "string" },
|
|
1708
|
+
{ name: "maxSupply", internalType: "uint256", type: "uint256" },
|
|
1709
|
+
{ name: "totalMinted", internalType: "uint256", type: "uint256" },
|
|
1710
|
+
],
|
|
2325
1711
|
indexed: false,
|
|
2326
1712
|
},
|
|
2327
1713
|
],
|
|
2328
|
-
name: "
|
|
1714
|
+
name: "UpdatedToken",
|
|
2329
1715
|
},
|
|
2330
1716
|
{
|
|
2331
1717
|
type: "event",
|
|
@@ -2340,79 +1726,306 @@ export const zoraCreator1155PremintExecutorImplABI = [
|
|
|
2340
1726
|
],
|
|
2341
1727
|
name: "Upgraded",
|
|
2342
1728
|
},
|
|
1729
|
+
{ type: "error", inputs: [], name: "ADDRESS_DELEGATECALL_TO_NON_CONTRACT" },
|
|
1730
|
+
{ type: "error", inputs: [], name: "ADDRESS_LOW_LEVEL_CALL_FAILED" },
|
|
2343
1731
|
{
|
|
2344
|
-
|
|
2345
|
-
|
|
2346
|
-
|
|
2347
|
-
|
|
2348
|
-
|
|
1732
|
+
type: "error",
|
|
1733
|
+
inputs: [
|
|
1734
|
+
{ name: "operator", internalType: "address", type: "address" },
|
|
1735
|
+
{ name: "user", internalType: "address", type: "address" },
|
|
1736
|
+
],
|
|
1737
|
+
name: "Burn_NotOwnerOrApproved",
|
|
2349
1738
|
},
|
|
1739
|
+
{ type: "error", inputs: [], name: "CREATOR_FUNDS_RECIPIENT_NOT_SET" },
|
|
2350
1740
|
{
|
|
2351
|
-
|
|
2352
|
-
type: "
|
|
2353
|
-
|
|
2354
|
-
name: "cancelOwnershipTransfer",
|
|
2355
|
-
outputs: [],
|
|
1741
|
+
type: "error",
|
|
1742
|
+
inputs: [{ name: "reason", internalType: "bytes", type: "bytes" }],
|
|
1743
|
+
name: "CallFailed",
|
|
2356
1744
|
},
|
|
1745
|
+
{ type: "error", inputs: [], name: "Call_TokenIdMismatch" },
|
|
1746
|
+
{ type: "error", inputs: [], name: "CallerNotZoraCreator1155" },
|
|
2357
1747
|
{
|
|
2358
|
-
|
|
2359
|
-
|
|
2360
|
-
|
|
2361
|
-
|
|
2362
|
-
|
|
1748
|
+
type: "error",
|
|
1749
|
+
inputs: [
|
|
1750
|
+
{ name: "tokenId", internalType: "uint256", type: "uint256" },
|
|
1751
|
+
{ name: "quantity", internalType: "uint256", type: "uint256" },
|
|
1752
|
+
{ name: "totalMinted", internalType: "uint256", type: "uint256" },
|
|
1753
|
+
{ name: "maxSupply", internalType: "uint256", type: "uint256" },
|
|
1754
|
+
],
|
|
1755
|
+
name: "CannotMintMoreTokens",
|
|
2363
1756
|
},
|
|
2364
1757
|
{
|
|
2365
|
-
|
|
2366
|
-
type: "function",
|
|
1758
|
+
type: "error",
|
|
2367
1759
|
inputs: [
|
|
2368
|
-
{
|
|
2369
|
-
name: "contractConfig",
|
|
2370
|
-
internalType: "struct ContractCreationConfig",
|
|
2371
|
-
type: "tuple",
|
|
2372
|
-
components: [
|
|
2373
|
-
{ name: "contractAdmin", internalType: "address", type: "address" },
|
|
2374
|
-
{ name: "contractURI", internalType: "string", type: "string" },
|
|
2375
|
-
{ name: "contractName", internalType: "string", type: "string" },
|
|
2376
|
-
],
|
|
2377
|
-
},
|
|
1760
|
+
{ name: "proposedAddress", internalType: "address", type: "address" },
|
|
2378
1761
|
],
|
|
2379
|
-
name: "
|
|
2380
|
-
outputs: [{ name: "", internalType: "address", type: "address" }],
|
|
1762
|
+
name: "Config_TransferHookNotSupported",
|
|
2381
1763
|
},
|
|
2382
1764
|
{
|
|
2383
|
-
|
|
2384
|
-
type: "function",
|
|
1765
|
+
type: "error",
|
|
2385
1766
|
inputs: [],
|
|
2386
|
-
name: "
|
|
2387
|
-
outputs: [{ name: "", internalType: "address", type: "address" }],
|
|
1767
|
+
name: "ERC1155_ACCOUNTS_AND_IDS_LENGTH_MISMATCH",
|
|
2388
1768
|
},
|
|
2389
1769
|
{
|
|
2390
|
-
|
|
2391
|
-
|
|
2392
|
-
|
|
2393
|
-
{ name: "_initialOwner", internalType: "address", type: "address" },
|
|
2394
|
-
],
|
|
2395
|
-
name: "initialize",
|
|
2396
|
-
outputs: [],
|
|
1770
|
+
type: "error",
|
|
1771
|
+
inputs: [],
|
|
1772
|
+
name: "ERC1155_ADDRESS_ZERO_IS_NOT_A_VALID_OWNER",
|
|
2397
1773
|
},
|
|
1774
|
+
{ type: "error", inputs: [], name: "ERC1155_BURN_AMOUNT_EXCEEDS_BALANCE" },
|
|
1775
|
+
{ type: "error", inputs: [], name: "ERC1155_BURN_FROM_ZERO_ADDRESS" },
|
|
2398
1776
|
{
|
|
2399
|
-
|
|
2400
|
-
|
|
2401
|
-
|
|
2402
|
-
{ name: "signer", internalType: "address", type: "address" },
|
|
2403
|
-
{
|
|
2404
|
-
name: "premintContractConfigContractAdmin",
|
|
2405
|
-
internalType: "address",
|
|
2406
|
-
type: "address",
|
|
2407
|
-
},
|
|
2408
|
-
{ name: "contractAddress", internalType: "address", type: "address" },
|
|
2409
|
-
],
|
|
2410
|
-
name: "isAuthorizedToCreatePremint",
|
|
2411
|
-
outputs: [{ name: "isAuthorized", internalType: "bool", type: "bool" }],
|
|
1777
|
+
type: "error",
|
|
1778
|
+
inputs: [],
|
|
1779
|
+
name: "ERC1155_CALLER_IS_NOT_TOKEN_OWNER_OR_APPROVED",
|
|
2412
1780
|
},
|
|
2413
1781
|
{
|
|
2414
|
-
|
|
2415
|
-
|
|
1782
|
+
type: "error",
|
|
1783
|
+
inputs: [],
|
|
1784
|
+
name: "ERC1155_ERC1155RECEIVER_REJECTED_TOKENS",
|
|
1785
|
+
},
|
|
1786
|
+
{
|
|
1787
|
+
type: "error",
|
|
1788
|
+
inputs: [],
|
|
1789
|
+
name: "ERC1155_IDS_AND_AMOUNTS_LENGTH_MISMATCH",
|
|
1790
|
+
},
|
|
1791
|
+
{
|
|
1792
|
+
type: "error",
|
|
1793
|
+
inputs: [],
|
|
1794
|
+
name: "ERC1155_INSUFFICIENT_BALANCE_FOR_TRANSFER",
|
|
1795
|
+
},
|
|
1796
|
+
{ type: "error", inputs: [], name: "ERC1155_MINT_TO_ZERO_ADDRESS" },
|
|
1797
|
+
{ type: "error", inputs: [], name: "ERC1155_MINT_TO_ZERO_ADDRESS" },
|
|
1798
|
+
{ type: "error", inputs: [], name: "ERC1155_SETTING_APPROVAL_FOR_SELF" },
|
|
1799
|
+
{
|
|
1800
|
+
type: "error",
|
|
1801
|
+
inputs: [],
|
|
1802
|
+
name: "ERC1155_TRANSFER_TO_NON_ERC1155RECEIVER_IMPLEMENTER",
|
|
1803
|
+
},
|
|
1804
|
+
{ type: "error", inputs: [], name: "ERC1155_TRANSFER_TO_ZERO_ADDRESS" },
|
|
1805
|
+
{ type: "error", inputs: [], name: "ERC1967_NEW_IMPL_NOT_CONTRACT" },
|
|
1806
|
+
{ type: "error", inputs: [], name: "ERC1967_NEW_IMPL_NOT_UUPS" },
|
|
1807
|
+
{ type: "error", inputs: [], name: "ERC1967_UNSUPPORTED_PROXIABLEUUID" },
|
|
1808
|
+
{
|
|
1809
|
+
type: "error",
|
|
1810
|
+
inputs: [
|
|
1811
|
+
{ name: "recipient", internalType: "address", type: "address" },
|
|
1812
|
+
{ name: "amount", internalType: "uint256", type: "uint256" },
|
|
1813
|
+
],
|
|
1814
|
+
name: "ETHWithdrawFailed",
|
|
1815
|
+
},
|
|
1816
|
+
{
|
|
1817
|
+
type: "error",
|
|
1818
|
+
inputs: [],
|
|
1819
|
+
name: "FUNCTION_MUST_BE_CALLED_THROUGH_ACTIVE_PROXY",
|
|
1820
|
+
},
|
|
1821
|
+
{
|
|
1822
|
+
type: "error",
|
|
1823
|
+
inputs: [],
|
|
1824
|
+
name: "FUNCTION_MUST_BE_CALLED_THROUGH_DELEGATECALL",
|
|
1825
|
+
},
|
|
1826
|
+
{
|
|
1827
|
+
type: "error",
|
|
1828
|
+
inputs: [
|
|
1829
|
+
{ name: "amount", internalType: "uint256", type: "uint256" },
|
|
1830
|
+
{ name: "contractValue", internalType: "uint256", type: "uint256" },
|
|
1831
|
+
],
|
|
1832
|
+
name: "FundsWithdrawInsolvent",
|
|
1833
|
+
},
|
|
1834
|
+
{
|
|
1835
|
+
type: "error",
|
|
1836
|
+
inputs: [],
|
|
1837
|
+
name: "INITIALIZABLE_CONTRACT_ALREADY_INITIALIZED",
|
|
1838
|
+
},
|
|
1839
|
+
{
|
|
1840
|
+
type: "error",
|
|
1841
|
+
inputs: [],
|
|
1842
|
+
name: "INITIALIZABLE_CONTRACT_IS_NOT_INITIALIZING",
|
|
1843
|
+
},
|
|
1844
|
+
{ type: "error", inputs: [], name: "INVALID_ADDRESS_ZERO" },
|
|
1845
|
+
{ type: "error", inputs: [], name: "INVALID_ETH_AMOUNT" },
|
|
1846
|
+
{
|
|
1847
|
+
type: "error",
|
|
1848
|
+
inputs: [
|
|
1849
|
+
{ name: "mintTo", internalType: "address", type: "address" },
|
|
1850
|
+
{ name: "merkleProof", internalType: "bytes32[]", type: "bytes32[]" },
|
|
1851
|
+
{ name: "merkleRoot", internalType: "bytes32", type: "bytes32" },
|
|
1852
|
+
],
|
|
1853
|
+
name: "InvalidMerkleProof",
|
|
1854
|
+
},
|
|
1855
|
+
{ type: "error", inputs: [], name: "InvalidMintSchedule" },
|
|
1856
|
+
{ type: "error", inputs: [], name: "InvalidSignatureVersion" },
|
|
1857
|
+
{ type: "error", inputs: [], name: "MintNotYetStarted" },
|
|
1858
|
+
{ type: "error", inputs: [], name: "Mint_InsolventSaleTransfer" },
|
|
1859
|
+
{ type: "error", inputs: [], name: "Mint_TokenIDMintNotAllowed" },
|
|
1860
|
+
{ type: "error", inputs: [], name: "Mint_UnknownCommand" },
|
|
1861
|
+
{ type: "error", inputs: [], name: "Mint_ValueTransferFail" },
|
|
1862
|
+
{ type: "error", inputs: [], name: "MinterContractAlreadyExists" },
|
|
1863
|
+
{ type: "error", inputs: [], name: "MinterContractDoesNotExist" },
|
|
1864
|
+
{ type: "error", inputs: [], name: "NewOwnerNeedsToBeAdmin" },
|
|
1865
|
+
{
|
|
1866
|
+
type: "error",
|
|
1867
|
+
inputs: [{ name: "tokenId", internalType: "uint256", type: "uint256" }],
|
|
1868
|
+
name: "NoRendererForToken",
|
|
1869
|
+
},
|
|
1870
|
+
{ type: "error", inputs: [], name: "ONLY_CREATE_REFERRAL" },
|
|
1871
|
+
{ type: "error", inputs: [], name: "PremintDeleted" },
|
|
1872
|
+
{
|
|
1873
|
+
type: "error",
|
|
1874
|
+
inputs: [
|
|
1875
|
+
{ name: "caller", internalType: "address", type: "address" },
|
|
1876
|
+
{ name: "recipient", internalType: "address", type: "address" },
|
|
1877
|
+
{ name: "amount", internalType: "uint256", type: "uint256" },
|
|
1878
|
+
],
|
|
1879
|
+
name: "ProtocolRewardsWithdrawFailed",
|
|
1880
|
+
},
|
|
1881
|
+
{
|
|
1882
|
+
type: "error",
|
|
1883
|
+
inputs: [{ name: "renderer", internalType: "address", type: "address" }],
|
|
1884
|
+
name: "RendererNotValid",
|
|
1885
|
+
},
|
|
1886
|
+
{ type: "error", inputs: [], name: "Renderer_NotValidRendererContract" },
|
|
1887
|
+
{ type: "error", inputs: [], name: "SaleEnded" },
|
|
1888
|
+
{ type: "error", inputs: [], name: "SaleHasNotStarted" },
|
|
1889
|
+
{
|
|
1890
|
+
type: "error",
|
|
1891
|
+
inputs: [
|
|
1892
|
+
{ name: "targetContract", internalType: "address", type: "address" },
|
|
1893
|
+
],
|
|
1894
|
+
name: "Sale_CannotCallNonSalesContract",
|
|
1895
|
+
},
|
|
1896
|
+
{
|
|
1897
|
+
type: "error",
|
|
1898
|
+
inputs: [
|
|
1899
|
+
{ name: "expected", internalType: "uint256", type: "uint256" },
|
|
1900
|
+
{ name: "actual", internalType: "uint256", type: "uint256" },
|
|
1901
|
+
],
|
|
1902
|
+
name: "TokenIdMismatch",
|
|
1903
|
+
},
|
|
1904
|
+
{
|
|
1905
|
+
type: "error",
|
|
1906
|
+
inputs: [],
|
|
1907
|
+
name: "UUPS_UPGRADEABLE_MUST_NOT_BE_CALLED_THROUGH_DELEGATECALL",
|
|
1908
|
+
},
|
|
1909
|
+
{
|
|
1910
|
+
type: "error",
|
|
1911
|
+
inputs: [
|
|
1912
|
+
{ name: "user", internalType: "address", type: "address" },
|
|
1913
|
+
{ name: "limit", internalType: "uint256", type: "uint256" },
|
|
1914
|
+
{ name: "requestedAmount", internalType: "uint256", type: "uint256" },
|
|
1915
|
+
],
|
|
1916
|
+
name: "UserExceedsMintLimit",
|
|
1917
|
+
},
|
|
1918
|
+
{
|
|
1919
|
+
type: "error",
|
|
1920
|
+
inputs: [
|
|
1921
|
+
{ name: "user", internalType: "address", type: "address" },
|
|
1922
|
+
{ name: "tokenId", internalType: "uint256", type: "uint256" },
|
|
1923
|
+
{ name: "role", internalType: "uint256", type: "uint256" },
|
|
1924
|
+
],
|
|
1925
|
+
name: "UserMissingRoleForToken",
|
|
1926
|
+
},
|
|
1927
|
+
{ type: "error", inputs: [], name: "WrongValueSent" },
|
|
1928
|
+
] as const;
|
|
1929
|
+
|
|
1930
|
+
//////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
|
|
1931
|
+
// ZoraCreator1155PremintExecutorImpl
|
|
1932
|
+
//////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
|
|
1933
|
+
|
|
1934
|
+
/**
|
|
1935
|
+
* - [__View Contract on Ethereum Etherscan__](https://etherscan.io/address/0x7777773606e7e46C8Ba8B98C08f5cD218e31d340)
|
|
1936
|
+
* - [__View Contract on Goerli Etherscan__](https://goerli.etherscan.io/address/0x7777773606e7e46C8Ba8B98C08f5cD218e31d340)
|
|
1937
|
+
* - [__View Contract on Op Mainnet Optimism Explorer__](https://explorer.optimism.io/address/0x7777773606e7e46C8Ba8B98C08f5cD218e31d340)
|
|
1938
|
+
* - [__View Contract on Optimism Goerli Etherscan__](https://goerli-optimism.etherscan.io/address/0x7777773606e7e46C8Ba8B98C08f5cD218e31d340)
|
|
1939
|
+
* - [__View Contract on Zora Goerli Testnet Explorer__](https://testnet.explorer.zora.energy/address/0x7777773606e7e46C8Ba8B98C08f5cD218e31d340)
|
|
1940
|
+
* - [__View Contract on Base Basescan__](https://basescan.org/address/0x7777773606e7e46C8Ba8B98C08f5cD218e31d340)
|
|
1941
|
+
* - [__View Contract on Base Goerli Basescan__](https://goerli.basescan.org/address/0x7777773606e7e46C8Ba8B98C08f5cD218e31d340)
|
|
1942
|
+
* - [__View Contract on Zora Explorer__](https://explorer.zora.energy/address/0x7777773606e7e46C8Ba8B98C08f5cD218e31d340)
|
|
1943
|
+
*/
|
|
1944
|
+
export const zoraCreator1155PremintExecutorImplABI = [
|
|
1945
|
+
{
|
|
1946
|
+
stateMutability: "nonpayable",
|
|
1947
|
+
type: "constructor",
|
|
1948
|
+
inputs: [
|
|
1949
|
+
{
|
|
1950
|
+
name: "_factory",
|
|
1951
|
+
internalType: "contract IZoraCreator1155Factory",
|
|
1952
|
+
type: "address",
|
|
1953
|
+
},
|
|
1954
|
+
],
|
|
1955
|
+
},
|
|
1956
|
+
{
|
|
1957
|
+
stateMutability: "nonpayable",
|
|
1958
|
+
type: "function",
|
|
1959
|
+
inputs: [],
|
|
1960
|
+
name: "acceptOwnership",
|
|
1961
|
+
outputs: [],
|
|
1962
|
+
},
|
|
1963
|
+
{
|
|
1964
|
+
stateMutability: "nonpayable",
|
|
1965
|
+
type: "function",
|
|
1966
|
+
inputs: [],
|
|
1967
|
+
name: "cancelOwnershipTransfer",
|
|
1968
|
+
outputs: [],
|
|
1969
|
+
},
|
|
1970
|
+
{
|
|
1971
|
+
stateMutability: "pure",
|
|
1972
|
+
type: "function",
|
|
1973
|
+
inputs: [],
|
|
1974
|
+
name: "contractName",
|
|
1975
|
+
outputs: [{ name: "", internalType: "string", type: "string" }],
|
|
1976
|
+
},
|
|
1977
|
+
{
|
|
1978
|
+
stateMutability: "view",
|
|
1979
|
+
type: "function",
|
|
1980
|
+
inputs: [
|
|
1981
|
+
{
|
|
1982
|
+
name: "contractConfig",
|
|
1983
|
+
internalType: "struct ContractCreationConfig",
|
|
1984
|
+
type: "tuple",
|
|
1985
|
+
components: [
|
|
1986
|
+
{ name: "contractAdmin", internalType: "address", type: "address" },
|
|
1987
|
+
{ name: "contractURI", internalType: "string", type: "string" },
|
|
1988
|
+
{ name: "contractName", internalType: "string", type: "string" },
|
|
1989
|
+
],
|
|
1990
|
+
},
|
|
1991
|
+
],
|
|
1992
|
+
name: "getContractAddress",
|
|
1993
|
+
outputs: [{ name: "", internalType: "address", type: "address" }],
|
|
1994
|
+
},
|
|
1995
|
+
{
|
|
1996
|
+
stateMutability: "view",
|
|
1997
|
+
type: "function",
|
|
1998
|
+
inputs: [],
|
|
1999
|
+
name: "implementation",
|
|
2000
|
+
outputs: [{ name: "", internalType: "address", type: "address" }],
|
|
2001
|
+
},
|
|
2002
|
+
{
|
|
2003
|
+
stateMutability: "nonpayable",
|
|
2004
|
+
type: "function",
|
|
2005
|
+
inputs: [
|
|
2006
|
+
{ name: "_initialOwner", internalType: "address", type: "address" },
|
|
2007
|
+
],
|
|
2008
|
+
name: "initialize",
|
|
2009
|
+
outputs: [],
|
|
2010
|
+
},
|
|
2011
|
+
{
|
|
2012
|
+
stateMutability: "view",
|
|
2013
|
+
type: "function",
|
|
2014
|
+
inputs: [
|
|
2015
|
+
{ name: "signer", internalType: "address", type: "address" },
|
|
2016
|
+
{
|
|
2017
|
+
name: "premintContractConfigContractAdmin",
|
|
2018
|
+
internalType: "address",
|
|
2019
|
+
type: "address",
|
|
2020
|
+
},
|
|
2021
|
+
{ name: "contractAddress", internalType: "address", type: "address" },
|
|
2022
|
+
],
|
|
2023
|
+
name: "isAuthorizedToCreatePremint",
|
|
2024
|
+
outputs: [{ name: "isAuthorized", internalType: "bool", type: "bool" }],
|
|
2025
|
+
},
|
|
2026
|
+
{
|
|
2027
|
+
stateMutability: "view",
|
|
2028
|
+
type: "function",
|
|
2416
2029
|
inputs: [
|
|
2417
2030
|
{
|
|
2418
2031
|
name: "contractConfig",
|
|
@@ -2743,67 +2356,454 @@ export const zoraCreator1155PremintExecutorImplABI = [
|
|
|
2743
2356
|
outputs: [{ name: "", internalType: "bytes32", type: "bytes32" }],
|
|
2744
2357
|
},
|
|
2745
2358
|
{
|
|
2746
|
-
stateMutability: "nonpayable",
|
|
2747
|
-
type: "function",
|
|
2748
|
-
inputs: [],
|
|
2749
|
-
name: "resignOwnership",
|
|
2750
|
-
outputs: [],
|
|
2359
|
+
stateMutability: "nonpayable",
|
|
2360
|
+
type: "function",
|
|
2361
|
+
inputs: [],
|
|
2362
|
+
name: "resignOwnership",
|
|
2363
|
+
outputs: [],
|
|
2364
|
+
},
|
|
2365
|
+
{
|
|
2366
|
+
stateMutability: "nonpayable",
|
|
2367
|
+
type: "function",
|
|
2368
|
+
inputs: [{ name: "_newOwner", internalType: "address", type: "address" }],
|
|
2369
|
+
name: "safeTransferOwnership",
|
|
2370
|
+
outputs: [],
|
|
2371
|
+
},
|
|
2372
|
+
{
|
|
2373
|
+
stateMutability: "view",
|
|
2374
|
+
type: "function",
|
|
2375
|
+
inputs: [
|
|
2376
|
+
{ name: "contractAddress", internalType: "address", type: "address" },
|
|
2377
|
+
],
|
|
2378
|
+
name: "supportedPremintSignatureVersions",
|
|
2379
|
+
outputs: [{ name: "versions", internalType: "string[]", type: "string[]" }],
|
|
2380
|
+
},
|
|
2381
|
+
{
|
|
2382
|
+
stateMutability: "nonpayable",
|
|
2383
|
+
type: "function",
|
|
2384
|
+
inputs: [{ name: "_newOwner", internalType: "address", type: "address" }],
|
|
2385
|
+
name: "transferOwnership",
|
|
2386
|
+
outputs: [],
|
|
2387
|
+
},
|
|
2388
|
+
{
|
|
2389
|
+
stateMutability: "nonpayable",
|
|
2390
|
+
type: "function",
|
|
2391
|
+
inputs: [
|
|
2392
|
+
{ name: "newImplementation", internalType: "address", type: "address" },
|
|
2393
|
+
],
|
|
2394
|
+
name: "upgradeTo",
|
|
2395
|
+
outputs: [],
|
|
2396
|
+
},
|
|
2397
|
+
{
|
|
2398
|
+
stateMutability: "payable",
|
|
2399
|
+
type: "function",
|
|
2400
|
+
inputs: [
|
|
2401
|
+
{ name: "newImplementation", internalType: "address", type: "address" },
|
|
2402
|
+
{ name: "data", internalType: "bytes", type: "bytes" },
|
|
2403
|
+
],
|
|
2404
|
+
name: "upgradeToAndCall",
|
|
2405
|
+
outputs: [],
|
|
2406
|
+
},
|
|
2407
|
+
{
|
|
2408
|
+
stateMutability: "view",
|
|
2409
|
+
type: "function",
|
|
2410
|
+
inputs: [],
|
|
2411
|
+
name: "zora1155Factory",
|
|
2412
|
+
outputs: [
|
|
2413
|
+
{
|
|
2414
|
+
name: "",
|
|
2415
|
+
internalType: "contract IZoraCreator1155Factory",
|
|
2416
|
+
type: "address",
|
|
2417
|
+
},
|
|
2418
|
+
],
|
|
2419
|
+
},
|
|
2420
|
+
{
|
|
2421
|
+
type: "event",
|
|
2422
|
+
anonymous: false,
|
|
2423
|
+
inputs: [
|
|
2424
|
+
{
|
|
2425
|
+
name: "previousAdmin",
|
|
2426
|
+
internalType: "address",
|
|
2427
|
+
type: "address",
|
|
2428
|
+
indexed: false,
|
|
2429
|
+
},
|
|
2430
|
+
{
|
|
2431
|
+
name: "newAdmin",
|
|
2432
|
+
internalType: "address",
|
|
2433
|
+
type: "address",
|
|
2434
|
+
indexed: false,
|
|
2435
|
+
},
|
|
2436
|
+
],
|
|
2437
|
+
name: "AdminChanged",
|
|
2438
|
+
},
|
|
2439
|
+
{
|
|
2440
|
+
type: "event",
|
|
2441
|
+
anonymous: false,
|
|
2442
|
+
inputs: [
|
|
2443
|
+
{
|
|
2444
|
+
name: "beacon",
|
|
2445
|
+
internalType: "address",
|
|
2446
|
+
type: "address",
|
|
2447
|
+
indexed: true,
|
|
2448
|
+
},
|
|
2449
|
+
],
|
|
2450
|
+
name: "BeaconUpgraded",
|
|
2451
|
+
},
|
|
2452
|
+
{
|
|
2453
|
+
type: "event",
|
|
2454
|
+
anonymous: false,
|
|
2455
|
+
inputs: [
|
|
2456
|
+
{ name: "version", internalType: "uint8", type: "uint8", indexed: false },
|
|
2457
|
+
],
|
|
2458
|
+
name: "Initialized",
|
|
2459
|
+
},
|
|
2460
|
+
{
|
|
2461
|
+
type: "event",
|
|
2462
|
+
anonymous: false,
|
|
2463
|
+
inputs: [
|
|
2464
|
+
{
|
|
2465
|
+
name: "owner",
|
|
2466
|
+
internalType: "address",
|
|
2467
|
+
type: "address",
|
|
2468
|
+
indexed: true,
|
|
2469
|
+
},
|
|
2470
|
+
{
|
|
2471
|
+
name: "canceledOwner",
|
|
2472
|
+
internalType: "address",
|
|
2473
|
+
type: "address",
|
|
2474
|
+
indexed: true,
|
|
2475
|
+
},
|
|
2476
|
+
],
|
|
2477
|
+
name: "OwnerCanceled",
|
|
2478
|
+
},
|
|
2479
|
+
{
|
|
2480
|
+
type: "event",
|
|
2481
|
+
anonymous: false,
|
|
2482
|
+
inputs: [
|
|
2483
|
+
{
|
|
2484
|
+
name: "owner",
|
|
2485
|
+
internalType: "address",
|
|
2486
|
+
type: "address",
|
|
2487
|
+
indexed: true,
|
|
2488
|
+
},
|
|
2489
|
+
{
|
|
2490
|
+
name: "pendingOwner",
|
|
2491
|
+
internalType: "address",
|
|
2492
|
+
type: "address",
|
|
2493
|
+
indexed: true,
|
|
2494
|
+
},
|
|
2495
|
+
],
|
|
2496
|
+
name: "OwnerPending",
|
|
2497
|
+
},
|
|
2498
|
+
{
|
|
2499
|
+
type: "event",
|
|
2500
|
+
anonymous: false,
|
|
2501
|
+
inputs: [
|
|
2502
|
+
{
|
|
2503
|
+
name: "prevOwner",
|
|
2504
|
+
internalType: "address",
|
|
2505
|
+
type: "address",
|
|
2506
|
+
indexed: true,
|
|
2507
|
+
},
|
|
2508
|
+
{
|
|
2509
|
+
name: "newOwner",
|
|
2510
|
+
internalType: "address",
|
|
2511
|
+
type: "address",
|
|
2512
|
+
indexed: true,
|
|
2513
|
+
},
|
|
2514
|
+
],
|
|
2515
|
+
name: "OwnerUpdated",
|
|
2516
|
+
},
|
|
2517
|
+
{
|
|
2518
|
+
type: "event",
|
|
2519
|
+
anonymous: false,
|
|
2520
|
+
inputs: [
|
|
2521
|
+
{
|
|
2522
|
+
name: "contractAddress",
|
|
2523
|
+
internalType: "address",
|
|
2524
|
+
type: "address",
|
|
2525
|
+
indexed: true,
|
|
2526
|
+
},
|
|
2527
|
+
{
|
|
2528
|
+
name: "tokenId",
|
|
2529
|
+
internalType: "uint256",
|
|
2530
|
+
type: "uint256",
|
|
2531
|
+
indexed: true,
|
|
2532
|
+
},
|
|
2533
|
+
{
|
|
2534
|
+
name: "createdNewContract",
|
|
2535
|
+
internalType: "bool",
|
|
2536
|
+
type: "bool",
|
|
2537
|
+
indexed: true,
|
|
2538
|
+
},
|
|
2539
|
+
{ name: "uid", internalType: "uint32", type: "uint32", indexed: false },
|
|
2540
|
+
{
|
|
2541
|
+
name: "contractConfig",
|
|
2542
|
+
internalType: "struct ContractCreationConfig",
|
|
2543
|
+
type: "tuple",
|
|
2544
|
+
components: [
|
|
2545
|
+
{ name: "contractAdmin", internalType: "address", type: "address" },
|
|
2546
|
+
{ name: "contractURI", internalType: "string", type: "string" },
|
|
2547
|
+
{ name: "contractName", internalType: "string", type: "string" },
|
|
2548
|
+
],
|
|
2549
|
+
indexed: false,
|
|
2550
|
+
},
|
|
2551
|
+
{
|
|
2552
|
+
name: "tokenConfig",
|
|
2553
|
+
internalType: "struct TokenCreationConfig",
|
|
2554
|
+
type: "tuple",
|
|
2555
|
+
components: [
|
|
2556
|
+
{ name: "tokenURI", internalType: "string", type: "string" },
|
|
2557
|
+
{ name: "maxSupply", internalType: "uint256", type: "uint256" },
|
|
2558
|
+
{
|
|
2559
|
+
name: "maxTokensPerAddress",
|
|
2560
|
+
internalType: "uint64",
|
|
2561
|
+
type: "uint64",
|
|
2562
|
+
},
|
|
2563
|
+
{ name: "pricePerToken", internalType: "uint96", type: "uint96" },
|
|
2564
|
+
{ name: "mintStart", internalType: "uint64", type: "uint64" },
|
|
2565
|
+
{ name: "mintDuration", internalType: "uint64", type: "uint64" },
|
|
2566
|
+
{
|
|
2567
|
+
name: "royaltyMintSchedule",
|
|
2568
|
+
internalType: "uint32",
|
|
2569
|
+
type: "uint32",
|
|
2570
|
+
},
|
|
2571
|
+
{ name: "royaltyBPS", internalType: "uint32", type: "uint32" },
|
|
2572
|
+
{
|
|
2573
|
+
name: "royaltyRecipient",
|
|
2574
|
+
internalType: "address",
|
|
2575
|
+
type: "address",
|
|
2576
|
+
},
|
|
2577
|
+
{
|
|
2578
|
+
name: "fixedPriceMinter",
|
|
2579
|
+
internalType: "address",
|
|
2580
|
+
type: "address",
|
|
2581
|
+
},
|
|
2582
|
+
],
|
|
2583
|
+
indexed: false,
|
|
2584
|
+
},
|
|
2585
|
+
{
|
|
2586
|
+
name: "minter",
|
|
2587
|
+
internalType: "address",
|
|
2588
|
+
type: "address",
|
|
2589
|
+
indexed: false,
|
|
2590
|
+
},
|
|
2591
|
+
{
|
|
2592
|
+
name: "quantityMinted",
|
|
2593
|
+
internalType: "uint256",
|
|
2594
|
+
type: "uint256",
|
|
2595
|
+
indexed: false,
|
|
2596
|
+
},
|
|
2597
|
+
],
|
|
2598
|
+
name: "Preminted",
|
|
2599
|
+
},
|
|
2600
|
+
{
|
|
2601
|
+
type: "event",
|
|
2602
|
+
anonymous: false,
|
|
2603
|
+
inputs: [
|
|
2604
|
+
{
|
|
2605
|
+
name: "contractAddress",
|
|
2606
|
+
internalType: "address",
|
|
2607
|
+
type: "address",
|
|
2608
|
+
indexed: true,
|
|
2609
|
+
},
|
|
2610
|
+
{
|
|
2611
|
+
name: "tokenId",
|
|
2612
|
+
internalType: "uint256",
|
|
2613
|
+
type: "uint256",
|
|
2614
|
+
indexed: true,
|
|
2615
|
+
},
|
|
2616
|
+
{
|
|
2617
|
+
name: "createdNewContract",
|
|
2618
|
+
internalType: "bool",
|
|
2619
|
+
type: "bool",
|
|
2620
|
+
indexed: true,
|
|
2621
|
+
},
|
|
2622
|
+
{ name: "uid", internalType: "uint32", type: "uint32", indexed: false },
|
|
2623
|
+
{
|
|
2624
|
+
name: "minter",
|
|
2625
|
+
internalType: "address",
|
|
2626
|
+
type: "address",
|
|
2627
|
+
indexed: false,
|
|
2628
|
+
},
|
|
2629
|
+
{
|
|
2630
|
+
name: "quantityMinted",
|
|
2631
|
+
internalType: "uint256",
|
|
2632
|
+
type: "uint256",
|
|
2633
|
+
indexed: false,
|
|
2634
|
+
},
|
|
2635
|
+
],
|
|
2636
|
+
name: "PremintedV2",
|
|
2637
|
+
},
|
|
2638
|
+
{
|
|
2639
|
+
type: "event",
|
|
2640
|
+
anonymous: false,
|
|
2641
|
+
inputs: [
|
|
2642
|
+
{
|
|
2643
|
+
name: "implementation",
|
|
2644
|
+
internalType: "address",
|
|
2645
|
+
type: "address",
|
|
2646
|
+
indexed: true,
|
|
2647
|
+
},
|
|
2648
|
+
],
|
|
2649
|
+
name: "Upgraded",
|
|
2650
|
+
},
|
|
2651
|
+
{ type: "error", inputs: [], name: "ADDRESS_DELEGATECALL_TO_NON_CONTRACT" },
|
|
2652
|
+
{ type: "error", inputs: [], name: "ADDRESS_LOW_LEVEL_CALL_FAILED" },
|
|
2653
|
+
{
|
|
2654
|
+
type: "error",
|
|
2655
|
+
inputs: [
|
|
2656
|
+
{ name: "operator", internalType: "address", type: "address" },
|
|
2657
|
+
{ name: "user", internalType: "address", type: "address" },
|
|
2658
|
+
],
|
|
2659
|
+
name: "Burn_NotOwnerOrApproved",
|
|
2660
|
+
},
|
|
2661
|
+
{
|
|
2662
|
+
type: "error",
|
|
2663
|
+
inputs: [{ name: "reason", internalType: "bytes", type: "bytes" }],
|
|
2664
|
+
name: "CallFailed",
|
|
2665
|
+
},
|
|
2666
|
+
{ type: "error", inputs: [], name: "Call_TokenIdMismatch" },
|
|
2667
|
+
{ type: "error", inputs: [], name: "CallerNotZoraCreator1155" },
|
|
2668
|
+
{
|
|
2669
|
+
type: "error",
|
|
2670
|
+
inputs: [
|
|
2671
|
+
{ name: "tokenId", internalType: "uint256", type: "uint256" },
|
|
2672
|
+
{ name: "quantity", internalType: "uint256", type: "uint256" },
|
|
2673
|
+
{ name: "totalMinted", internalType: "uint256", type: "uint256" },
|
|
2674
|
+
{ name: "maxSupply", internalType: "uint256", type: "uint256" },
|
|
2675
|
+
],
|
|
2676
|
+
name: "CannotMintMoreTokens",
|
|
2677
|
+
},
|
|
2678
|
+
{
|
|
2679
|
+
type: "error",
|
|
2680
|
+
inputs: [
|
|
2681
|
+
{ name: "proposedAddress", internalType: "address", type: "address" },
|
|
2682
|
+
],
|
|
2683
|
+
name: "Config_TransferHookNotSupported",
|
|
2684
|
+
},
|
|
2685
|
+
{ type: "error", inputs: [], name: "ERC1155_MINT_TO_ZERO_ADDRESS" },
|
|
2686
|
+
{ type: "error", inputs: [], name: "ERC1967_NEW_IMPL_NOT_CONTRACT" },
|
|
2687
|
+
{ type: "error", inputs: [], name: "ERC1967_NEW_IMPL_NOT_UUPS" },
|
|
2688
|
+
{ type: "error", inputs: [], name: "ERC1967_UNSUPPORTED_PROXIABLEUUID" },
|
|
2689
|
+
{
|
|
2690
|
+
type: "error",
|
|
2691
|
+
inputs: [
|
|
2692
|
+
{ name: "recipient", internalType: "address", type: "address" },
|
|
2693
|
+
{ name: "amount", internalType: "uint256", type: "uint256" },
|
|
2694
|
+
],
|
|
2695
|
+
name: "ETHWithdrawFailed",
|
|
2696
|
+
},
|
|
2697
|
+
{
|
|
2698
|
+
type: "error",
|
|
2699
|
+
inputs: [],
|
|
2700
|
+
name: "FUNCTION_MUST_BE_CALLED_THROUGH_ACTIVE_PROXY",
|
|
2701
|
+
},
|
|
2702
|
+
{
|
|
2703
|
+
type: "error",
|
|
2704
|
+
inputs: [],
|
|
2705
|
+
name: "FUNCTION_MUST_BE_CALLED_THROUGH_DELEGATECALL",
|
|
2706
|
+
},
|
|
2707
|
+
{
|
|
2708
|
+
type: "error",
|
|
2709
|
+
inputs: [
|
|
2710
|
+
{ name: "amount", internalType: "uint256", type: "uint256" },
|
|
2711
|
+
{ name: "contractValue", internalType: "uint256", type: "uint256" },
|
|
2712
|
+
],
|
|
2713
|
+
name: "FundsWithdrawInsolvent",
|
|
2714
|
+
},
|
|
2715
|
+
{
|
|
2716
|
+
type: "error",
|
|
2717
|
+
inputs: [],
|
|
2718
|
+
name: "INITIALIZABLE_CONTRACT_ALREADY_INITIALIZED",
|
|
2719
|
+
},
|
|
2720
|
+
{
|
|
2721
|
+
type: "error",
|
|
2722
|
+
inputs: [],
|
|
2723
|
+
name: "INITIALIZABLE_CONTRACT_IS_NOT_INITIALIZING",
|
|
2724
|
+
},
|
|
2725
|
+
{
|
|
2726
|
+
type: "error",
|
|
2727
|
+
inputs: [
|
|
2728
|
+
{ name: "mintTo", internalType: "address", type: "address" },
|
|
2729
|
+
{ name: "merkleProof", internalType: "bytes32[]", type: "bytes32[]" },
|
|
2730
|
+
{ name: "merkleRoot", internalType: "bytes32", type: "bytes32" },
|
|
2731
|
+
],
|
|
2732
|
+
name: "InvalidMerkleProof",
|
|
2733
|
+
},
|
|
2734
|
+
{ type: "error", inputs: [], name: "InvalidMintSchedule" },
|
|
2735
|
+
{ type: "error", inputs: [], name: "InvalidSignatureVersion" },
|
|
2736
|
+
{ type: "error", inputs: [], name: "MintNotYetStarted" },
|
|
2737
|
+
{ type: "error", inputs: [], name: "Mint_InsolventSaleTransfer" },
|
|
2738
|
+
{ type: "error", inputs: [], name: "Mint_TokenIDMintNotAllowed" },
|
|
2739
|
+
{ type: "error", inputs: [], name: "Mint_UnknownCommand" },
|
|
2740
|
+
{ type: "error", inputs: [], name: "Mint_ValueTransferFail" },
|
|
2741
|
+
{ type: "error", inputs: [], name: "MinterContractAlreadyExists" },
|
|
2742
|
+
{ type: "error", inputs: [], name: "MinterContractDoesNotExist" },
|
|
2743
|
+
{ type: "error", inputs: [], name: "NewOwnerNeedsToBeAdmin" },
|
|
2744
|
+
{ type: "error", inputs: [], name: "ONLY_OWNER" },
|
|
2745
|
+
{ type: "error", inputs: [], name: "ONLY_PENDING_OWNER" },
|
|
2746
|
+
{ type: "error", inputs: [], name: "OWNER_CANNOT_BE_ZERO_ADDRESS" },
|
|
2747
|
+
{ type: "error", inputs: [], name: "PremintDeleted" },
|
|
2748
|
+
{
|
|
2749
|
+
type: "error",
|
|
2750
|
+
inputs: [
|
|
2751
|
+
{ name: "caller", internalType: "address", type: "address" },
|
|
2752
|
+
{ name: "recipient", internalType: "address", type: "address" },
|
|
2753
|
+
{ name: "amount", internalType: "uint256", type: "uint256" },
|
|
2754
|
+
],
|
|
2755
|
+
name: "ProtocolRewardsWithdrawFailed",
|
|
2751
2756
|
},
|
|
2757
|
+
{ type: "error", inputs: [], name: "Renderer_NotValidRendererContract" },
|
|
2758
|
+
{ type: "error", inputs: [], name: "SaleEnded" },
|
|
2759
|
+
{ type: "error", inputs: [], name: "SaleHasNotStarted" },
|
|
2752
2760
|
{
|
|
2753
|
-
|
|
2754
|
-
|
|
2755
|
-
|
|
2756
|
-
|
|
2757
|
-
|
|
2761
|
+
type: "error",
|
|
2762
|
+
inputs: [
|
|
2763
|
+
{ name: "targetContract", internalType: "address", type: "address" },
|
|
2764
|
+
],
|
|
2765
|
+
name: "Sale_CannotCallNonSalesContract",
|
|
2758
2766
|
},
|
|
2759
2767
|
{
|
|
2760
|
-
|
|
2761
|
-
type: "function",
|
|
2768
|
+
type: "error",
|
|
2762
2769
|
inputs: [
|
|
2763
|
-
{ name: "
|
|
2770
|
+
{ name: "expected", internalType: "uint256", type: "uint256" },
|
|
2771
|
+
{ name: "actual", internalType: "uint256", type: "uint256" },
|
|
2764
2772
|
],
|
|
2765
|
-
name: "
|
|
2766
|
-
outputs: [{ name: "versions", internalType: "string[]", type: "string[]" }],
|
|
2773
|
+
name: "TokenIdMismatch",
|
|
2767
2774
|
},
|
|
2768
2775
|
{
|
|
2769
|
-
|
|
2770
|
-
|
|
2771
|
-
|
|
2772
|
-
name: "transferOwnership",
|
|
2773
|
-
outputs: [],
|
|
2776
|
+
type: "error",
|
|
2777
|
+
inputs: [],
|
|
2778
|
+
name: "UUPS_UPGRADEABLE_MUST_NOT_BE_CALLED_THROUGH_DELEGATECALL",
|
|
2774
2779
|
},
|
|
2775
2780
|
{
|
|
2776
|
-
|
|
2777
|
-
type: "function",
|
|
2781
|
+
type: "error",
|
|
2778
2782
|
inputs: [
|
|
2779
|
-
{ name: "
|
|
2783
|
+
{ name: "expected", internalType: "string", type: "string" },
|
|
2784
|
+
{ name: "actual", internalType: "string", type: "string" },
|
|
2780
2785
|
],
|
|
2781
|
-
name: "
|
|
2782
|
-
outputs: [],
|
|
2786
|
+
name: "UpgradeToMismatchedContractName",
|
|
2783
2787
|
},
|
|
2784
2788
|
{
|
|
2785
|
-
|
|
2786
|
-
type: "function",
|
|
2789
|
+
type: "error",
|
|
2787
2790
|
inputs: [
|
|
2788
|
-
{ name: "
|
|
2789
|
-
{ name: "
|
|
2791
|
+
{ name: "user", internalType: "address", type: "address" },
|
|
2792
|
+
{ name: "limit", internalType: "uint256", type: "uint256" },
|
|
2793
|
+
{ name: "requestedAmount", internalType: "uint256", type: "uint256" },
|
|
2790
2794
|
],
|
|
2791
|
-
name: "
|
|
2792
|
-
outputs: [],
|
|
2795
|
+
name: "UserExceedsMintLimit",
|
|
2793
2796
|
},
|
|
2794
2797
|
{
|
|
2795
|
-
|
|
2796
|
-
|
|
2797
|
-
|
|
2798
|
-
|
|
2799
|
-
|
|
2800
|
-
{
|
|
2801
|
-
name: "",
|
|
2802
|
-
internalType: "contract IZoraCreator1155Factory",
|
|
2803
|
-
type: "address",
|
|
2804
|
-
},
|
|
2798
|
+
type: "error",
|
|
2799
|
+
inputs: [
|
|
2800
|
+
{ name: "user", internalType: "address", type: "address" },
|
|
2801
|
+
{ name: "tokenId", internalType: "uint256", type: "uint256" },
|
|
2802
|
+
{ name: "role", internalType: "uint256", type: "uint256" },
|
|
2805
2803
|
],
|
|
2804
|
+
name: "UserMissingRoleForToken",
|
|
2806
2805
|
},
|
|
2806
|
+
{ type: "error", inputs: [], name: "WrongValueSent" },
|
|
2807
2807
|
] as const;
|
|
2808
2808
|
|
|
2809
2809
|
/**
|
|
@@ -2859,103 +2859,6 @@ export const zoraCreator1155PremintExecutorImplConfig = {
|
|
|
2859
2859
|
* - [__View Contract on Sepolia Etherscan__](https://sepolia.etherscan.io/address/0xA5E8d0d4FCed34E86AF6d4E16131C7210Ba8b4b7)
|
|
2860
2860
|
*/
|
|
2861
2861
|
export const zoraCreatorFixedPriceSaleStrategyABI = [
|
|
2862
|
-
{ type: "error", inputs: [], name: "CallerNotZoraCreator1155" },
|
|
2863
|
-
{
|
|
2864
|
-
type: "error",
|
|
2865
|
-
inputs: [
|
|
2866
|
-
{ name: "mintTo", internalType: "address", type: "address" },
|
|
2867
|
-
{ name: "merkleProof", internalType: "bytes32[]", type: "bytes32[]" },
|
|
2868
|
-
{ name: "merkleRoot", internalType: "bytes32", type: "bytes32" },
|
|
2869
|
-
],
|
|
2870
|
-
name: "InvalidMerkleProof",
|
|
2871
|
-
},
|
|
2872
|
-
{ type: "error", inputs: [], name: "MinterContractAlreadyExists" },
|
|
2873
|
-
{ type: "error", inputs: [], name: "MinterContractDoesNotExist" },
|
|
2874
|
-
{ type: "error", inputs: [], name: "SaleEnded" },
|
|
2875
|
-
{ type: "error", inputs: [], name: "SaleHasNotStarted" },
|
|
2876
|
-
{
|
|
2877
|
-
type: "error",
|
|
2878
|
-
inputs: [
|
|
2879
|
-
{ name: "user", internalType: "address", type: "address" },
|
|
2880
|
-
{ name: "limit", internalType: "uint256", type: "uint256" },
|
|
2881
|
-
{ name: "requestedAmount", internalType: "uint256", type: "uint256" },
|
|
2882
|
-
],
|
|
2883
|
-
name: "UserExceedsMintLimit",
|
|
2884
|
-
},
|
|
2885
|
-
{ type: "error", inputs: [], name: "WrongValueSent" },
|
|
2886
|
-
{
|
|
2887
|
-
type: "event",
|
|
2888
|
-
anonymous: false,
|
|
2889
|
-
inputs: [
|
|
2890
|
-
{
|
|
2891
|
-
name: "sender",
|
|
2892
|
-
internalType: "address",
|
|
2893
|
-
type: "address",
|
|
2894
|
-
indexed: true,
|
|
2895
|
-
},
|
|
2896
|
-
{
|
|
2897
|
-
name: "tokenContract",
|
|
2898
|
-
internalType: "address",
|
|
2899
|
-
type: "address",
|
|
2900
|
-
indexed: true,
|
|
2901
|
-
},
|
|
2902
|
-
{
|
|
2903
|
-
name: "tokenId",
|
|
2904
|
-
internalType: "uint256",
|
|
2905
|
-
type: "uint256",
|
|
2906
|
-
indexed: true,
|
|
2907
|
-
},
|
|
2908
|
-
{
|
|
2909
|
-
name: "quantity",
|
|
2910
|
-
internalType: "uint256",
|
|
2911
|
-
type: "uint256",
|
|
2912
|
-
indexed: false,
|
|
2913
|
-
},
|
|
2914
|
-
{
|
|
2915
|
-
name: "comment",
|
|
2916
|
-
internalType: "string",
|
|
2917
|
-
type: "string",
|
|
2918
|
-
indexed: false,
|
|
2919
|
-
},
|
|
2920
|
-
],
|
|
2921
|
-
name: "MintComment",
|
|
2922
|
-
},
|
|
2923
|
-
{
|
|
2924
|
-
type: "event",
|
|
2925
|
-
anonymous: false,
|
|
2926
|
-
inputs: [
|
|
2927
|
-
{
|
|
2928
|
-
name: "mediaContract",
|
|
2929
|
-
internalType: "address",
|
|
2930
|
-
type: "address",
|
|
2931
|
-
indexed: true,
|
|
2932
|
-
},
|
|
2933
|
-
{
|
|
2934
|
-
name: "tokenId",
|
|
2935
|
-
internalType: "uint256",
|
|
2936
|
-
type: "uint256",
|
|
2937
|
-
indexed: true,
|
|
2938
|
-
},
|
|
2939
|
-
{
|
|
2940
|
-
name: "salesConfig",
|
|
2941
|
-
internalType: "struct ZoraCreatorFixedPriceSaleStrategy.SalesConfig",
|
|
2942
|
-
type: "tuple",
|
|
2943
|
-
components: [
|
|
2944
|
-
{ name: "saleStart", internalType: "uint64", type: "uint64" },
|
|
2945
|
-
{ name: "saleEnd", internalType: "uint64", type: "uint64" },
|
|
2946
|
-
{
|
|
2947
|
-
name: "maxTokensPerAddress",
|
|
2948
|
-
internalType: "uint64",
|
|
2949
|
-
type: "uint64",
|
|
2950
|
-
},
|
|
2951
|
-
{ name: "pricePerToken", internalType: "uint96", type: "uint96" },
|
|
2952
|
-
{ name: "fundsRecipient", internalType: "address", type: "address" },
|
|
2953
|
-
],
|
|
2954
|
-
indexed: false,
|
|
2955
|
-
},
|
|
2956
|
-
],
|
|
2957
|
-
name: "SaleSet",
|
|
2958
|
-
},
|
|
2959
2862
|
{
|
|
2960
2863
|
stateMutability: "pure",
|
|
2961
2864
|
type: "function",
|
|
@@ -3040,28 +2943,108 @@ export const zoraCreatorFixedPriceSaleStrategyABI = [
|
|
|
3040
2943
|
name: "sale",
|
|
3041
2944
|
outputs: [
|
|
3042
2945
|
{
|
|
3043
|
-
name: "",
|
|
3044
|
-
internalType: "struct ZoraCreatorFixedPriceSaleStrategy.SalesConfig",
|
|
3045
|
-
type: "tuple",
|
|
3046
|
-
components: [
|
|
3047
|
-
{ name: "saleStart", internalType: "uint64", type: "uint64" },
|
|
3048
|
-
{ name: "saleEnd", internalType: "uint64", type: "uint64" },
|
|
3049
|
-
{
|
|
3050
|
-
name: "maxTokensPerAddress",
|
|
3051
|
-
internalType: "uint64",
|
|
3052
|
-
type: "uint64",
|
|
3053
|
-
},
|
|
3054
|
-
{ name: "pricePerToken", internalType: "uint96", type: "uint96" },
|
|
3055
|
-
{ name: "fundsRecipient", internalType: "address", type: "address" },
|
|
3056
|
-
],
|
|
2946
|
+
name: "",
|
|
2947
|
+
internalType: "struct ZoraCreatorFixedPriceSaleStrategy.SalesConfig",
|
|
2948
|
+
type: "tuple",
|
|
2949
|
+
components: [
|
|
2950
|
+
{ name: "saleStart", internalType: "uint64", type: "uint64" },
|
|
2951
|
+
{ name: "saleEnd", internalType: "uint64", type: "uint64" },
|
|
2952
|
+
{
|
|
2953
|
+
name: "maxTokensPerAddress",
|
|
2954
|
+
internalType: "uint64",
|
|
2955
|
+
type: "uint64",
|
|
2956
|
+
},
|
|
2957
|
+
{ name: "pricePerToken", internalType: "uint96", type: "uint96" },
|
|
2958
|
+
{ name: "fundsRecipient", internalType: "address", type: "address" },
|
|
2959
|
+
],
|
|
2960
|
+
},
|
|
2961
|
+
],
|
|
2962
|
+
},
|
|
2963
|
+
{
|
|
2964
|
+
stateMutability: "nonpayable",
|
|
2965
|
+
type: "function",
|
|
2966
|
+
inputs: [
|
|
2967
|
+
{ name: "tokenId", internalType: "uint256", type: "uint256" },
|
|
2968
|
+
{
|
|
2969
|
+
name: "salesConfig",
|
|
2970
|
+
internalType: "struct ZoraCreatorFixedPriceSaleStrategy.SalesConfig",
|
|
2971
|
+
type: "tuple",
|
|
2972
|
+
components: [
|
|
2973
|
+
{ name: "saleStart", internalType: "uint64", type: "uint64" },
|
|
2974
|
+
{ name: "saleEnd", internalType: "uint64", type: "uint64" },
|
|
2975
|
+
{
|
|
2976
|
+
name: "maxTokensPerAddress",
|
|
2977
|
+
internalType: "uint64",
|
|
2978
|
+
type: "uint64",
|
|
2979
|
+
},
|
|
2980
|
+
{ name: "pricePerToken", internalType: "uint96", type: "uint96" },
|
|
2981
|
+
{ name: "fundsRecipient", internalType: "address", type: "address" },
|
|
2982
|
+
],
|
|
2983
|
+
},
|
|
2984
|
+
],
|
|
2985
|
+
name: "setSale",
|
|
2986
|
+
outputs: [],
|
|
2987
|
+
},
|
|
2988
|
+
{
|
|
2989
|
+
stateMutability: "pure",
|
|
2990
|
+
type: "function",
|
|
2991
|
+
inputs: [{ name: "interfaceId", internalType: "bytes4", type: "bytes4" }],
|
|
2992
|
+
name: "supportsInterface",
|
|
2993
|
+
outputs: [{ name: "", internalType: "bool", type: "bool" }],
|
|
2994
|
+
},
|
|
2995
|
+
{
|
|
2996
|
+
type: "event",
|
|
2997
|
+
anonymous: false,
|
|
2998
|
+
inputs: [
|
|
2999
|
+
{
|
|
3000
|
+
name: "sender",
|
|
3001
|
+
internalType: "address",
|
|
3002
|
+
type: "address",
|
|
3003
|
+
indexed: true,
|
|
3004
|
+
},
|
|
3005
|
+
{
|
|
3006
|
+
name: "tokenContract",
|
|
3007
|
+
internalType: "address",
|
|
3008
|
+
type: "address",
|
|
3009
|
+
indexed: true,
|
|
3010
|
+
},
|
|
3011
|
+
{
|
|
3012
|
+
name: "tokenId",
|
|
3013
|
+
internalType: "uint256",
|
|
3014
|
+
type: "uint256",
|
|
3015
|
+
indexed: true,
|
|
3016
|
+
},
|
|
3017
|
+
{
|
|
3018
|
+
name: "quantity",
|
|
3019
|
+
internalType: "uint256",
|
|
3020
|
+
type: "uint256",
|
|
3021
|
+
indexed: false,
|
|
3022
|
+
},
|
|
3023
|
+
{
|
|
3024
|
+
name: "comment",
|
|
3025
|
+
internalType: "string",
|
|
3026
|
+
type: "string",
|
|
3027
|
+
indexed: false,
|
|
3057
3028
|
},
|
|
3058
3029
|
],
|
|
3030
|
+
name: "MintComment",
|
|
3059
3031
|
},
|
|
3060
3032
|
{
|
|
3061
|
-
|
|
3062
|
-
|
|
3033
|
+
type: "event",
|
|
3034
|
+
anonymous: false,
|
|
3063
3035
|
inputs: [
|
|
3064
|
-
{
|
|
3036
|
+
{
|
|
3037
|
+
name: "mediaContract",
|
|
3038
|
+
internalType: "address",
|
|
3039
|
+
type: "address",
|
|
3040
|
+
indexed: true,
|
|
3041
|
+
},
|
|
3042
|
+
{
|
|
3043
|
+
name: "tokenId",
|
|
3044
|
+
internalType: "uint256",
|
|
3045
|
+
type: "uint256",
|
|
3046
|
+
indexed: true,
|
|
3047
|
+
},
|
|
3065
3048
|
{
|
|
3066
3049
|
name: "salesConfig",
|
|
3067
3050
|
internalType: "struct ZoraCreatorFixedPriceSaleStrategy.SalesConfig",
|
|
@@ -3077,18 +3060,35 @@ export const zoraCreatorFixedPriceSaleStrategyABI = [
|
|
|
3077
3060
|
{ name: "pricePerToken", internalType: "uint96", type: "uint96" },
|
|
3078
3061
|
{ name: "fundsRecipient", internalType: "address", type: "address" },
|
|
3079
3062
|
],
|
|
3063
|
+
indexed: false,
|
|
3080
3064
|
},
|
|
3081
3065
|
],
|
|
3082
|
-
name: "
|
|
3083
|
-
outputs: [],
|
|
3066
|
+
name: "SaleSet",
|
|
3084
3067
|
},
|
|
3068
|
+
{ type: "error", inputs: [], name: "CallerNotZoraCreator1155" },
|
|
3085
3069
|
{
|
|
3086
|
-
|
|
3087
|
-
|
|
3088
|
-
|
|
3089
|
-
|
|
3090
|
-
|
|
3070
|
+
type: "error",
|
|
3071
|
+
inputs: [
|
|
3072
|
+
{ name: "mintTo", internalType: "address", type: "address" },
|
|
3073
|
+
{ name: "merkleProof", internalType: "bytes32[]", type: "bytes32[]" },
|
|
3074
|
+
{ name: "merkleRoot", internalType: "bytes32", type: "bytes32" },
|
|
3075
|
+
],
|
|
3076
|
+
name: "InvalidMerkleProof",
|
|
3077
|
+
},
|
|
3078
|
+
{ type: "error", inputs: [], name: "MinterContractAlreadyExists" },
|
|
3079
|
+
{ type: "error", inputs: [], name: "MinterContractDoesNotExist" },
|
|
3080
|
+
{ type: "error", inputs: [], name: "SaleEnded" },
|
|
3081
|
+
{ type: "error", inputs: [], name: "SaleHasNotStarted" },
|
|
3082
|
+
{
|
|
3083
|
+
type: "error",
|
|
3084
|
+
inputs: [
|
|
3085
|
+
{ name: "user", internalType: "address", type: "address" },
|
|
3086
|
+
{ name: "limit", internalType: "uint256", type: "uint256" },
|
|
3087
|
+
{ name: "requestedAmount", internalType: "uint256", type: "uint256" },
|
|
3088
|
+
],
|
|
3089
|
+
name: "UserExceedsMintLimit",
|
|
3091
3090
|
},
|
|
3091
|
+
{ type: "error", inputs: [], name: "WrongValueSent" },
|
|
3092
3092
|
] as const;
|
|
3093
3093
|
|
|
3094
3094
|
/**
|
|
@@ -3149,63 +3149,6 @@ export const zoraCreatorFixedPriceSaleStrategyConfig = {
|
|
|
3149
3149
|
* - [__View Contract on Sepolia Etherscan__](https://sepolia.etherscan.io/address/0x357D8108A77762B41Ea0C4D69fBb1eF4391251eC)
|
|
3150
3150
|
*/
|
|
3151
3151
|
export const zoraCreatorMerkleMinterStrategyABI = [
|
|
3152
|
-
{ type: "error", inputs: [], name: "CallerNotZoraCreator1155" },
|
|
3153
|
-
{
|
|
3154
|
-
type: "error",
|
|
3155
|
-
inputs: [
|
|
3156
|
-
{ name: "mintTo", internalType: "address", type: "address" },
|
|
3157
|
-
{ name: "merkleProof", internalType: "bytes32[]", type: "bytes32[]" },
|
|
3158
|
-
{ name: "merkleRoot", internalType: "bytes32", type: "bytes32" },
|
|
3159
|
-
],
|
|
3160
|
-
name: "InvalidMerkleProof",
|
|
3161
|
-
},
|
|
3162
|
-
{ type: "error", inputs: [], name: "MerkleClaimsExceeded" },
|
|
3163
|
-
{ type: "error", inputs: [], name: "MinterContractAlreadyExists" },
|
|
3164
|
-
{ type: "error", inputs: [], name: "MinterContractDoesNotExist" },
|
|
3165
|
-
{ type: "error", inputs: [], name: "SaleEnded" },
|
|
3166
|
-
{ type: "error", inputs: [], name: "SaleHasNotStarted" },
|
|
3167
|
-
{
|
|
3168
|
-
type: "error",
|
|
3169
|
-
inputs: [
|
|
3170
|
-
{ name: "user", internalType: "address", type: "address" },
|
|
3171
|
-
{ name: "limit", internalType: "uint256", type: "uint256" },
|
|
3172
|
-
{ name: "requestedAmount", internalType: "uint256", type: "uint256" },
|
|
3173
|
-
],
|
|
3174
|
-
name: "UserExceedsMintLimit",
|
|
3175
|
-
},
|
|
3176
|
-
{ type: "error", inputs: [], name: "WrongValueSent" },
|
|
3177
|
-
{
|
|
3178
|
-
type: "event",
|
|
3179
|
-
anonymous: false,
|
|
3180
|
-
inputs: [
|
|
3181
|
-
{
|
|
3182
|
-
name: "mediaContract",
|
|
3183
|
-
internalType: "address",
|
|
3184
|
-
type: "address",
|
|
3185
|
-
indexed: true,
|
|
3186
|
-
},
|
|
3187
|
-
{
|
|
3188
|
-
name: "tokenId",
|
|
3189
|
-
internalType: "uint256",
|
|
3190
|
-
type: "uint256",
|
|
3191
|
-
indexed: true,
|
|
3192
|
-
},
|
|
3193
|
-
{
|
|
3194
|
-
name: "merkleSaleSettings",
|
|
3195
|
-
internalType:
|
|
3196
|
-
"struct ZoraCreatorMerkleMinterStrategy.MerkleSaleSettings",
|
|
3197
|
-
type: "tuple",
|
|
3198
|
-
components: [
|
|
3199
|
-
{ name: "presaleStart", internalType: "uint64", type: "uint64" },
|
|
3200
|
-
{ name: "presaleEnd", internalType: "uint64", type: "uint64" },
|
|
3201
|
-
{ name: "fundsRecipient", internalType: "address", type: "address" },
|
|
3202
|
-
{ name: "merkleRoot", internalType: "bytes32", type: "bytes32" },
|
|
3203
|
-
],
|
|
3204
|
-
indexed: false,
|
|
3205
|
-
},
|
|
3206
|
-
],
|
|
3207
|
-
name: "SaleSet",
|
|
3208
|
-
},
|
|
3209
3152
|
{
|
|
3210
3153
|
stateMutability: "view",
|
|
3211
3154
|
type: "function",
|
|
@@ -3346,6 +3289,63 @@ export const zoraCreatorMerkleMinterStrategyABI = [
|
|
|
3346
3289
|
name: "supportsInterface",
|
|
3347
3290
|
outputs: [{ name: "", internalType: "bool", type: "bool" }],
|
|
3348
3291
|
},
|
|
3292
|
+
{
|
|
3293
|
+
type: "event",
|
|
3294
|
+
anonymous: false,
|
|
3295
|
+
inputs: [
|
|
3296
|
+
{
|
|
3297
|
+
name: "mediaContract",
|
|
3298
|
+
internalType: "address",
|
|
3299
|
+
type: "address",
|
|
3300
|
+
indexed: true,
|
|
3301
|
+
},
|
|
3302
|
+
{
|
|
3303
|
+
name: "tokenId",
|
|
3304
|
+
internalType: "uint256",
|
|
3305
|
+
type: "uint256",
|
|
3306
|
+
indexed: true,
|
|
3307
|
+
},
|
|
3308
|
+
{
|
|
3309
|
+
name: "merkleSaleSettings",
|
|
3310
|
+
internalType:
|
|
3311
|
+
"struct ZoraCreatorMerkleMinterStrategy.MerkleSaleSettings",
|
|
3312
|
+
type: "tuple",
|
|
3313
|
+
components: [
|
|
3314
|
+
{ name: "presaleStart", internalType: "uint64", type: "uint64" },
|
|
3315
|
+
{ name: "presaleEnd", internalType: "uint64", type: "uint64" },
|
|
3316
|
+
{ name: "fundsRecipient", internalType: "address", type: "address" },
|
|
3317
|
+
{ name: "merkleRoot", internalType: "bytes32", type: "bytes32" },
|
|
3318
|
+
],
|
|
3319
|
+
indexed: false,
|
|
3320
|
+
},
|
|
3321
|
+
],
|
|
3322
|
+
name: "SaleSet",
|
|
3323
|
+
},
|
|
3324
|
+
{ type: "error", inputs: [], name: "CallerNotZoraCreator1155" },
|
|
3325
|
+
{
|
|
3326
|
+
type: "error",
|
|
3327
|
+
inputs: [
|
|
3328
|
+
{ name: "mintTo", internalType: "address", type: "address" },
|
|
3329
|
+
{ name: "merkleProof", internalType: "bytes32[]", type: "bytes32[]" },
|
|
3330
|
+
{ name: "merkleRoot", internalType: "bytes32", type: "bytes32" },
|
|
3331
|
+
],
|
|
3332
|
+
name: "InvalidMerkleProof",
|
|
3333
|
+
},
|
|
3334
|
+
{ type: "error", inputs: [], name: "MerkleClaimsExceeded" },
|
|
3335
|
+
{ type: "error", inputs: [], name: "MinterContractAlreadyExists" },
|
|
3336
|
+
{ type: "error", inputs: [], name: "MinterContractDoesNotExist" },
|
|
3337
|
+
{ type: "error", inputs: [], name: "SaleEnded" },
|
|
3338
|
+
{ type: "error", inputs: [], name: "SaleHasNotStarted" },
|
|
3339
|
+
{
|
|
3340
|
+
type: "error",
|
|
3341
|
+
inputs: [
|
|
3342
|
+
{ name: "user", internalType: "address", type: "address" },
|
|
3343
|
+
{ name: "limit", internalType: "uint256", type: "uint256" },
|
|
3344
|
+
{ name: "requestedAmount", internalType: "uint256", type: "uint256" },
|
|
3345
|
+
],
|
|
3346
|
+
name: "UserExceedsMintLimit",
|
|
3347
|
+
},
|
|
3348
|
+
{ type: "error", inputs: [], name: "WrongValueSent" },
|
|
3349
3349
|
] as const;
|
|
3350
3350
|
|
|
3351
3351
|
/**
|
|
@@ -3407,40 +3407,6 @@ export const zoraCreatorMerkleMinterStrategyConfig = {
|
|
|
3407
3407
|
*/
|
|
3408
3408
|
export const zoraCreatorRedeemMinterFactoryABI = [
|
|
3409
3409
|
{ stateMutability: "nonpayable", type: "constructor", inputs: [] },
|
|
3410
|
-
{ type: "error", inputs: [], name: "CallerNotZoraCreator1155" },
|
|
3411
|
-
{
|
|
3412
|
-
type: "error",
|
|
3413
|
-
inputs: [
|
|
3414
|
-
{ name: "mintTo", internalType: "address", type: "address" },
|
|
3415
|
-
{ name: "merkleProof", internalType: "bytes32[]", type: "bytes32[]" },
|
|
3416
|
-
{ name: "merkleRoot", internalType: "bytes32", type: "bytes32" },
|
|
3417
|
-
],
|
|
3418
|
-
name: "InvalidMerkleProof",
|
|
3419
|
-
},
|
|
3420
|
-
{ type: "error", inputs: [], name: "MinterContractAlreadyExists" },
|
|
3421
|
-
{ type: "error", inputs: [], name: "MinterContractDoesNotExist" },
|
|
3422
|
-
{ type: "error", inputs: [], name: "SaleEnded" },
|
|
3423
|
-
{ type: "error", inputs: [], name: "SaleHasNotStarted" },
|
|
3424
|
-
{ type: "error", inputs: [], name: "WrongValueSent" },
|
|
3425
|
-
{
|
|
3426
|
-
type: "event",
|
|
3427
|
-
anonymous: false,
|
|
3428
|
-
inputs: [
|
|
3429
|
-
{
|
|
3430
|
-
name: "creatorContract",
|
|
3431
|
-
internalType: "address",
|
|
3432
|
-
type: "address",
|
|
3433
|
-
indexed: true,
|
|
3434
|
-
},
|
|
3435
|
-
{
|
|
3436
|
-
name: "minterContract",
|
|
3437
|
-
internalType: "address",
|
|
3438
|
-
type: "address",
|
|
3439
|
-
indexed: true,
|
|
3440
|
-
},
|
|
3441
|
-
],
|
|
3442
|
-
name: "RedeemMinterDeployed",
|
|
3443
|
-
},
|
|
3444
3410
|
{
|
|
3445
3411
|
stateMutability: "view",
|
|
3446
3412
|
type: "function",
|
|
@@ -3552,6 +3518,40 @@ export const zoraCreatorRedeemMinterFactoryABI = [
|
|
|
3552
3518
|
name: "zoraRedeemMinterImplementation",
|
|
3553
3519
|
outputs: [{ name: "", internalType: "address", type: "address" }],
|
|
3554
3520
|
},
|
|
3521
|
+
{
|
|
3522
|
+
type: "event",
|
|
3523
|
+
anonymous: false,
|
|
3524
|
+
inputs: [
|
|
3525
|
+
{
|
|
3526
|
+
name: "creatorContract",
|
|
3527
|
+
internalType: "address",
|
|
3528
|
+
type: "address",
|
|
3529
|
+
indexed: true,
|
|
3530
|
+
},
|
|
3531
|
+
{
|
|
3532
|
+
name: "minterContract",
|
|
3533
|
+
internalType: "address",
|
|
3534
|
+
type: "address",
|
|
3535
|
+
indexed: true,
|
|
3536
|
+
},
|
|
3537
|
+
],
|
|
3538
|
+
name: "RedeemMinterDeployed",
|
|
3539
|
+
},
|
|
3540
|
+
{ type: "error", inputs: [], name: "CallerNotZoraCreator1155" },
|
|
3541
|
+
{
|
|
3542
|
+
type: "error",
|
|
3543
|
+
inputs: [
|
|
3544
|
+
{ name: "mintTo", internalType: "address", type: "address" },
|
|
3545
|
+
{ name: "merkleProof", internalType: "bytes32[]", type: "bytes32[]" },
|
|
3546
|
+
{ name: "merkleRoot", internalType: "bytes32", type: "bytes32" },
|
|
3547
|
+
],
|
|
3548
|
+
name: "InvalidMerkleProof",
|
|
3549
|
+
},
|
|
3550
|
+
{ type: "error", inputs: [], name: "MinterContractAlreadyExists" },
|
|
3551
|
+
{ type: "error", inputs: [], name: "MinterContractDoesNotExist" },
|
|
3552
|
+
{ type: "error", inputs: [], name: "SaleEnded" },
|
|
3553
|
+
{ type: "error", inputs: [], name: "SaleHasNotStarted" },
|
|
3554
|
+
{ type: "error", inputs: [], name: "WrongValueSent" },
|
|
3555
3555
|
] as const;
|
|
3556
3556
|
|
|
3557
3557
|
/**
|