@zoralabs/protocol-deployments 0.1.13 → 0.2.0-SPARKS.0

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.
@@ -885,149 +885,6 @@ export const iUnwrapAndForwardActionABI = [
885
885
  },
886
886
  ] as const
887
887
 
888
- //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
889
- // MintsEthUnwrapperAndCaller
890
- //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
891
-
892
- /**
893
- * - [__View Contract on Ethereum Etherscan__](https://etherscan.io/address/0xb0994EB9520C98C97e1F3953a5964535C2bd271A)
894
- * - [__View Contract on Op Mainnet Optimism Explorer__](https://explorer.optimism.io/address/0xb0994EB9520C98C97e1F3953a5964535C2bd271A)
895
- * - [__View Contract on Base Basescan__](https://basescan.org/address/0xb0994EB9520C98C97e1F3953a5964535C2bd271A)
896
- * - [__View Contract on Arbitrum One Arbiscan__](https://arbiscan.io/address/0xb0994EB9520C98C97e1F3953a5964535C2bd271A)
897
- * - [__View Contract on Base Sepolia Blockscout__](https://base-sepolia.blockscout.com/address/0xb0994EB9520C98C97e1F3953a5964535C2bd271A)
898
- * - [__View Contract on Arbitrum Sepolia Blockscout__](https://sepolia-explorer.arbitrum.io/address/0xb0994EB9520C98C97e1F3953a5964535C2bd271A)
899
- * - [__View Contract on Zora Explorer__](https://explorer.zora.energy/address/0xb0994EB9520C98C97e1F3953a5964535C2bd271A)
900
- * - [__View Contract on Sepolia Etherscan__](https://sepolia.etherscan.io/address/0xb0994EB9520C98C97e1F3953a5964535C2bd271A)
901
- * - [__View Contract on Zora Sepolia Zora Sepolia Explorer__](https://sepolia.explorer.zora.energy//address/0xb0994EB9520C98C97e1F3953a5964535C2bd271A)
902
- */
903
- export const mintsEthUnwrapperAndCallerABI = [
904
- {
905
- stateMutability: 'nonpayable',
906
- type: 'constructor',
907
- inputs: [
908
- {
909
- name: '_zoraMints1155',
910
- internalType: 'contract IZoraMints1155',
911
- type: 'address',
912
- },
913
- ],
914
- },
915
- { stateMutability: 'payable', type: 'receive' },
916
- {
917
- stateMutability: 'nonpayable',
918
- type: 'function',
919
- inputs: [
920
- { name: '', internalType: 'address', type: 'address' },
921
- { name: 'from', internalType: 'address', type: 'address' },
922
- { name: 'ids', internalType: 'uint256[]', type: 'uint256[]' },
923
- { name: 'values', internalType: 'uint256[]', type: 'uint256[]' },
924
- { name: 'data', internalType: 'bytes', type: 'bytes' },
925
- ],
926
- name: 'onERC1155BatchReceived',
927
- outputs: [{ name: '', internalType: 'bytes4', type: 'bytes4' }],
928
- },
929
- {
930
- stateMutability: 'nonpayable',
931
- type: 'function',
932
- inputs: [
933
- { name: '', internalType: 'address', type: 'address' },
934
- { name: 'from', internalType: 'address', type: 'address' },
935
- { name: 'id', internalType: 'uint256', type: 'uint256' },
936
- { name: 'value', internalType: 'uint256', type: 'uint256' },
937
- { name: 'data', internalType: 'bytes', type: 'bytes' },
938
- ],
939
- name: 'onERC1155Received',
940
- outputs: [{ name: '', internalType: 'bytes4', type: 'bytes4' }],
941
- },
942
- {
943
- stateMutability: 'payable',
944
- type: 'function',
945
- inputs: [
946
- {
947
- name: 'permit',
948
- internalType: 'struct IZoraMints1155Managed.PermitBatch',
949
- type: 'tuple',
950
- components: [
951
- { name: 'owner', internalType: 'address', type: 'address' },
952
- { name: 'to', internalType: 'address', type: 'address' },
953
- { name: 'tokenIds', internalType: 'uint256[]', type: 'uint256[]' },
954
- { name: 'quantities', internalType: 'uint256[]', type: 'uint256[]' },
955
- { name: 'safeTransferData', internalType: 'bytes', type: 'bytes' },
956
- { name: 'deadline', internalType: 'uint256', type: 'uint256' },
957
- { name: 'nonce', internalType: 'uint256', type: 'uint256' },
958
- ],
959
- },
960
- { name: 'signature', internalType: 'bytes', type: 'bytes' },
961
- ],
962
- name: 'permitWithAdditionalValue',
963
- outputs: [],
964
- },
965
- {
966
- type: 'error',
967
- inputs: [{ name: 'account', internalType: 'address', type: 'address' }],
968
- name: 'AddressInsufficientBalance',
969
- },
970
- {
971
- type: 'error',
972
- inputs: [{ name: 'data', internalType: 'bytes', type: 'bytes' }],
973
- name: 'CallFailed',
974
- },
975
- {
976
- type: 'error',
977
- inputs: [{ name: 'tokenId', internalType: 'uint256', type: 'uint256' }],
978
- name: 'ERC20NotSupported',
979
- },
980
- { type: 'error', inputs: [], name: 'FailedInnerCall' },
981
- { type: 'error', inputs: [], name: 'NotExpectingReceive' },
982
- { type: 'error', inputs: [], name: 'NotZoraMints1155' },
983
- {
984
- type: 'error',
985
- inputs: [{ name: 'data', internalType: 'bytes', type: 'bytes' }],
986
- name: 'TransferFailed',
987
- },
988
- { type: 'error', inputs: [], name: 'UnknownUserAction' },
989
- ] as const
990
-
991
- /**
992
- * - [__View Contract on Ethereum Etherscan__](https://etherscan.io/address/0xb0994EB9520C98C97e1F3953a5964535C2bd271A)
993
- * - [__View Contract on Op Mainnet Optimism Explorer__](https://explorer.optimism.io/address/0xb0994EB9520C98C97e1F3953a5964535C2bd271A)
994
- * - [__View Contract on Base Basescan__](https://basescan.org/address/0xb0994EB9520C98C97e1F3953a5964535C2bd271A)
995
- * - [__View Contract on Arbitrum One Arbiscan__](https://arbiscan.io/address/0xb0994EB9520C98C97e1F3953a5964535C2bd271A)
996
- * - [__View Contract on Base Sepolia Blockscout__](https://base-sepolia.blockscout.com/address/0xb0994EB9520C98C97e1F3953a5964535C2bd271A)
997
- * - [__View Contract on Arbitrum Sepolia Blockscout__](https://sepolia-explorer.arbitrum.io/address/0xb0994EB9520C98C97e1F3953a5964535C2bd271A)
998
- * - [__View Contract on Zora Explorer__](https://explorer.zora.energy/address/0xb0994EB9520C98C97e1F3953a5964535C2bd271A)
999
- * - [__View Contract on Sepolia Etherscan__](https://sepolia.etherscan.io/address/0xb0994EB9520C98C97e1F3953a5964535C2bd271A)
1000
- * - [__View Contract on Zora Sepolia Zora Sepolia Explorer__](https://sepolia.explorer.zora.energy//address/0xb0994EB9520C98C97e1F3953a5964535C2bd271A)
1001
- */
1002
- export const mintsEthUnwrapperAndCallerAddress = {
1003
- 1: '0xb0994EB9520C98C97e1F3953a5964535C2bd271A',
1004
- 10: '0xb0994EB9520C98C97e1F3953a5964535C2bd271A',
1005
- 8453: '0xb0994EB9520C98C97e1F3953a5964535C2bd271A',
1006
- 42161: '0xb0994EB9520C98C97e1F3953a5964535C2bd271A',
1007
- 81457: '0xb0994EB9520C98C97e1F3953a5964535C2bd271A',
1008
- 84532: '0xb0994EB9520C98C97e1F3953a5964535C2bd271A',
1009
- 421614: '0xb0994EB9520C98C97e1F3953a5964535C2bd271A',
1010
- 7777777: '0xb0994EB9520C98C97e1F3953a5964535C2bd271A',
1011
- 11155111: '0xb0994EB9520C98C97e1F3953a5964535C2bd271A',
1012
- 999999999: '0xb0994EB9520C98C97e1F3953a5964535C2bd271A',
1013
- } as const
1014
-
1015
- /**
1016
- * - [__View Contract on Ethereum Etherscan__](https://etherscan.io/address/0xb0994EB9520C98C97e1F3953a5964535C2bd271A)
1017
- * - [__View Contract on Op Mainnet Optimism Explorer__](https://explorer.optimism.io/address/0xb0994EB9520C98C97e1F3953a5964535C2bd271A)
1018
- * - [__View Contract on Base Basescan__](https://basescan.org/address/0xb0994EB9520C98C97e1F3953a5964535C2bd271A)
1019
- * - [__View Contract on Arbitrum One Arbiscan__](https://arbiscan.io/address/0xb0994EB9520C98C97e1F3953a5964535C2bd271A)
1020
- * - [__View Contract on Base Sepolia Blockscout__](https://base-sepolia.blockscout.com/address/0xb0994EB9520C98C97e1F3953a5964535C2bd271A)
1021
- * - [__View Contract on Arbitrum Sepolia Blockscout__](https://sepolia-explorer.arbitrum.io/address/0xb0994EB9520C98C97e1F3953a5964535C2bd271A)
1022
- * - [__View Contract on Zora Explorer__](https://explorer.zora.energy/address/0xb0994EB9520C98C97e1F3953a5964535C2bd271A)
1023
- * - [__View Contract on Sepolia Etherscan__](https://sepolia.etherscan.io/address/0xb0994EB9520C98C97e1F3953a5964535C2bd271A)
1024
- * - [__View Contract on Zora Sepolia Zora Sepolia Explorer__](https://sepolia.explorer.zora.energy//address/0xb0994EB9520C98C97e1F3953a5964535C2bd271A)
1025
- */
1026
- export const mintsEthUnwrapperAndCallerConfig = {
1027
- address: mintsEthUnwrapperAndCallerAddress,
1028
- abi: mintsEthUnwrapperAndCallerABI,
1029
- } as const
1030
-
1031
888
  //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
1032
889
  // ProtocolRewards
1033
890
  //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
@@ -1339,6 +1196,120 @@ export const protocolRewardsConfig = {
1339
1196
  abi: protocolRewardsABI,
1340
1197
  } as const
1341
1198
 
1199
+ //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
1200
+ // SparksEthUnwrapperAndCaller
1201
+ //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
1202
+
1203
+ /**
1204
+ * - [__View Contract on Zora Explorer__](https://explorer.zora.energy/address/0xb0994EB9520C98C97e1F3953a5964535C2bd271A)
1205
+ * - [__View Contract on Zora Sepolia Zora Sepolia Explorer__](https://sepolia.explorer.zora.energy//address/0xb0994EB9520C98C97e1F3953a5964535C2bd271A)
1206
+ */
1207
+ export const sparksEthUnwrapperAndCallerABI = [
1208
+ {
1209
+ stateMutability: 'nonpayable',
1210
+ type: 'constructor',
1211
+ inputs: [
1212
+ {
1213
+ name: '_zoraSparks1155',
1214
+ internalType: 'contract IZoraSparks1155',
1215
+ type: 'address',
1216
+ },
1217
+ ],
1218
+ },
1219
+ { stateMutability: 'payable', type: 'receive' },
1220
+ {
1221
+ stateMutability: 'nonpayable',
1222
+ type: 'function',
1223
+ inputs: [
1224
+ { name: '', internalType: 'address', type: 'address' },
1225
+ { name: 'from', internalType: 'address', type: 'address' },
1226
+ { name: 'ids', internalType: 'uint256[]', type: 'uint256[]' },
1227
+ { name: 'values', internalType: 'uint256[]', type: 'uint256[]' },
1228
+ { name: 'data', internalType: 'bytes', type: 'bytes' },
1229
+ ],
1230
+ name: 'onERC1155BatchReceived',
1231
+ outputs: [{ name: '', internalType: 'bytes4', type: 'bytes4' }],
1232
+ },
1233
+ {
1234
+ stateMutability: 'nonpayable',
1235
+ type: 'function',
1236
+ inputs: [
1237
+ { name: '', internalType: 'address', type: 'address' },
1238
+ { name: 'from', internalType: 'address', type: 'address' },
1239
+ { name: 'id', internalType: 'uint256', type: 'uint256' },
1240
+ { name: 'value', internalType: 'uint256', type: 'uint256' },
1241
+ { name: 'data', internalType: 'bytes', type: 'bytes' },
1242
+ ],
1243
+ name: 'onERC1155Received',
1244
+ outputs: [{ name: '', internalType: 'bytes4', type: 'bytes4' }],
1245
+ },
1246
+ {
1247
+ stateMutability: 'payable',
1248
+ type: 'function',
1249
+ inputs: [
1250
+ {
1251
+ name: 'permit',
1252
+ internalType: 'struct IZoraSparks1155Managed.PermitBatch',
1253
+ type: 'tuple',
1254
+ components: [
1255
+ { name: 'owner', internalType: 'address', type: 'address' },
1256
+ { name: 'to', internalType: 'address', type: 'address' },
1257
+ { name: 'tokenIds', internalType: 'uint256[]', type: 'uint256[]' },
1258
+ { name: 'quantities', internalType: 'uint256[]', type: 'uint256[]' },
1259
+ { name: 'safeTransferData', internalType: 'bytes', type: 'bytes' },
1260
+ { name: 'deadline', internalType: 'uint256', type: 'uint256' },
1261
+ { name: 'nonce', internalType: 'uint256', type: 'uint256' },
1262
+ ],
1263
+ },
1264
+ { name: 'signature', internalType: 'bytes', type: 'bytes' },
1265
+ ],
1266
+ name: 'permitWithAdditionalValue',
1267
+ outputs: [],
1268
+ },
1269
+ {
1270
+ type: 'error',
1271
+ inputs: [{ name: 'account', internalType: 'address', type: 'address' }],
1272
+ name: 'AddressInsufficientBalance',
1273
+ },
1274
+ {
1275
+ type: 'error',
1276
+ inputs: [{ name: 'data', internalType: 'bytes', type: 'bytes' }],
1277
+ name: 'CallFailed',
1278
+ },
1279
+ {
1280
+ type: 'error',
1281
+ inputs: [{ name: 'tokenId', internalType: 'uint256', type: 'uint256' }],
1282
+ name: 'ERC20NotSupported',
1283
+ },
1284
+ { type: 'error', inputs: [], name: 'FailedInnerCall' },
1285
+ { type: 'error', inputs: [], name: 'NotExpectingReceive' },
1286
+ { type: 'error', inputs: [], name: 'NotZoraSparks1155' },
1287
+ {
1288
+ type: 'error',
1289
+ inputs: [{ name: 'data', internalType: 'bytes', type: 'bytes' }],
1290
+ name: 'TransferFailed',
1291
+ },
1292
+ { type: 'error', inputs: [], name: 'UnknownUserAction' },
1293
+ ] as const
1294
+
1295
+ /**
1296
+ * - [__View Contract on Zora Explorer__](https://explorer.zora.energy/address/0xb0994EB9520C98C97e1F3953a5964535C2bd271A)
1297
+ * - [__View Contract on Zora Sepolia Zora Sepolia Explorer__](https://sepolia.explorer.zora.energy//address/0xb0994EB9520C98C97e1F3953a5964535C2bd271A)
1298
+ */
1299
+ export const sparksEthUnwrapperAndCallerAddress = {
1300
+ 7777777: '0xb0994EB9520C98C97e1F3953a5964535C2bd271A',
1301
+ 999999999: '0xb0994EB9520C98C97e1F3953a5964535C2bd271A',
1302
+ } as const
1303
+
1304
+ /**
1305
+ * - [__View Contract on Zora Explorer__](https://explorer.zora.energy/address/0xb0994EB9520C98C97e1F3953a5964535C2bd271A)
1306
+ * - [__View Contract on Zora Sepolia Zora Sepolia Explorer__](https://sepolia.explorer.zora.energy//address/0xb0994EB9520C98C97e1F3953a5964535C2bd271A)
1307
+ */
1308
+ export const sparksEthUnwrapperAndCallerConfig = {
1309
+ address: sparksEthUnwrapperAndCallerAddress,
1310
+ abi: sparksEthUnwrapperAndCallerABI,
1311
+ } as const
1312
+
1342
1313
  //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
1343
1314
  // UpgradeGate
1344
1315
  //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
@@ -2183,7 +2154,6 @@ export const zoraCreator1155ImplABI = [
2183
2154
  { name: '_mintFeeRecipient', internalType: 'address', type: 'address' },
2184
2155
  { name: '_upgradeGate', internalType: 'address', type: 'address' },
2185
2156
  { name: '_protocolRewards', internalType: 'address', type: 'address' },
2186
- { name: '_mints', internalType: 'address', type: 'address' },
2187
2157
  ],
2188
2158
  },
2189
2159
  { stateMutability: 'payable', type: 'receive' },
@@ -2567,39 +2537,6 @@ export const zoraCreator1155ImplABI = [
2567
2537
  name: 'mintFee',
2568
2538
  outputs: [{ name: '', internalType: 'uint256', type: 'uint256' }],
2569
2539
  },
2570
- {
2571
- stateMutability: 'payable',
2572
- type: 'function',
2573
- inputs: [
2574
- { name: 'mintTokenIds', internalType: 'uint256[]', type: 'uint256[]' },
2575
- { name: 'quantities', internalType: 'uint256[]', type: 'uint256[]' },
2576
- { name: 'minter', internalType: 'contract IMinter1155', type: 'address' },
2577
- { name: 'tokenId', internalType: 'uint256', type: 'uint256' },
2578
- {
2579
- name: 'rewardsRecipients',
2580
- internalType: 'address[]',
2581
- type: 'address[]',
2582
- },
2583
- { name: 'minterArguments', internalType: 'bytes', type: 'bytes' },
2584
- ],
2585
- name: 'mintWithMints',
2586
- outputs: [
2587
- { name: 'quantityMinted', internalType: 'uint256', type: 'uint256' },
2588
- ],
2589
- },
2590
- {
2591
- stateMutability: 'payable',
2592
- type: 'function',
2593
- inputs: [
2594
- { name: 'minter', internalType: 'contract IMinter1155', type: 'address' },
2595
- { name: 'tokenId', internalType: 'uint256', type: 'uint256' },
2596
- { name: 'quantity', internalType: 'uint256', type: 'uint256' },
2597
- { name: 'minterArguments', internalType: 'bytes', type: 'bytes' },
2598
- { name: 'mintReferral', internalType: 'address', type: 'address' },
2599
- ],
2600
- name: 'mintWithRewards',
2601
- outputs: [],
2602
- },
2603
2540
  {
2604
2541
  stateMutability: 'nonpayable',
2605
2542
  type: 'function',
@@ -2624,52 +2561,36 @@ export const zoraCreator1155ImplABI = [
2624
2561
  {
2625
2562
  stateMutability: 'view',
2626
2563
  type: 'function',
2627
- inputs: [
2628
- { name: '', internalType: 'address', type: 'address' },
2629
- { name: '', internalType: 'address', type: 'address' },
2630
- { name: '', internalType: 'uint256[]', type: 'uint256[]' },
2631
- { name: '', internalType: 'uint256[]', type: 'uint256[]' },
2632
- { name: '', internalType: 'bytes', type: 'bytes' },
2633
- ],
2634
- name: 'onERC1155BatchReceived',
2635
- outputs: [{ name: '', internalType: 'bytes4', type: 'bytes4' }],
2564
+ inputs: [],
2565
+ name: 'owner',
2566
+ outputs: [{ name: '', internalType: 'address', type: 'address' }],
2636
2567
  },
2637
2568
  {
2638
2569
  stateMutability: 'view',
2639
2570
  type: 'function',
2640
2571
  inputs: [
2641
- { name: '', internalType: 'address', type: 'address' },
2642
- { name: '', internalType: 'address', type: 'address' },
2643
- { name: '', internalType: 'uint256', type: 'uint256' },
2644
2572
  { name: '', internalType: 'uint256', type: 'uint256' },
2645
- { name: '', internalType: 'bytes', type: 'bytes' },
2573
+ { name: '', internalType: 'address', type: 'address' },
2646
2574
  ],
2647
- name: 'onERC1155Received',
2648
- outputs: [{ name: '', internalType: 'bytes4', type: 'bytes4' }],
2575
+ name: 'permissions',
2576
+ outputs: [{ name: '', internalType: 'uint256', type: 'uint256' }],
2649
2577
  },
2650
2578
  {
2651
2579
  stateMutability: 'view',
2652
2580
  type: 'function',
2653
2581
  inputs: [],
2654
- name: 'owner',
2655
- outputs: [{ name: '', internalType: 'address', type: 'address' }],
2582
+ name: 'proxiableUUID',
2583
+ outputs: [{ name: '', internalType: 'bytes32', type: 'bytes32' }],
2656
2584
  },
2657
2585
  {
2658
- stateMutability: 'view',
2586
+ stateMutability: 'nonpayable',
2659
2587
  type: 'function',
2660
2588
  inputs: [
2661
- { name: '', internalType: 'uint256', type: 'uint256' },
2662
- { name: '', internalType: 'address', type: 'address' },
2589
+ { name: 'tokenId', internalType: 'uint256', type: 'uint256' },
2590
+ { name: 'newMaxSupply', internalType: 'uint256', type: 'uint256' },
2663
2591
  ],
2664
- name: 'permissions',
2665
- outputs: [{ name: '', internalType: 'uint256', type: 'uint256' }],
2666
- },
2667
- {
2668
- stateMutability: 'view',
2669
- type: 'function',
2670
- inputs: [],
2671
- name: 'proxiableUUID',
2672
- outputs: [{ name: '', internalType: 'bytes32', type: 'bytes32' }],
2592
+ name: 'reduceSupply',
2593
+ outputs: [],
2673
2594
  },
2674
2595
  {
2675
2596
  stateMutability: 'nonpayable',
@@ -3362,6 +3283,7 @@ export const zoraCreator1155ImplABI = [
3362
3283
  },
3363
3284
  { type: 'error', inputs: [], name: 'Call_TokenIdMismatch' },
3364
3285
  { type: 'error', inputs: [], name: 'CallerNotZoraCreator1155' },
3286
+ { type: 'error', inputs: [], name: 'CanOnlyReduceMaxSupply' },
3365
3287
  {
3366
3288
  type: 'error',
3367
3289
  inputs: [
@@ -3372,6 +3294,7 @@ export const zoraCreator1155ImplABI = [
3372
3294
  ],
3373
3295
  name: 'CannotMintMoreTokens',
3374
3296
  },
3297
+ { type: 'error', inputs: [], name: 'CannotReduceMaxSupplyBelowMinted' },
3375
3298
  {
3376
3299
  type: 'error',
3377
3300
  inputs: [
@@ -4376,6 +4299,7 @@ export const zoraCreator1155PremintExecutorImplABI = [
4376
4299
  },
4377
4300
  { type: 'error', inputs: [], name: 'Call_TokenIdMismatch' },
4378
4301
  { type: 'error', inputs: [], name: 'CallerNotZoraCreator1155' },
4302
+ { type: 'error', inputs: [], name: 'CanOnlyReduceMaxSupply' },
4379
4303
  {
4380
4304
  type: 'error',
4381
4305
  inputs: [
@@ -4386,6 +4310,7 @@ export const zoraCreator1155PremintExecutorImplABI = [
4386
4310
  ],
4387
4311
  name: 'CannotMintMoreTokens',
4388
4312
  },
4313
+ { type: 'error', inputs: [], name: 'CannotReduceMaxSupplyBelowMinted' },
4389
4314
  {
4390
4315
  type: 'error',
4391
4316
  inputs: [
@@ -5350,14 +5275,7 @@ export const zoraCreatorRedeemMinterFactoryConfig = {
5350
5275
  //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
5351
5276
 
5352
5277
  /**
5353
- * - [__View Contract on Ethereum Etherscan__](https://etherscan.io/address/0x7777777d57c1C6e472fa379b7b3B6c6ba3835073)
5354
- * - [__View Contract on Op Mainnet Optimism Explorer__](https://explorer.optimism.io/address/0x7777777d57c1C6e472fa379b7b3B6c6ba3835073)
5355
- * - [__View Contract on Base Basescan__](https://basescan.org/address/0x7777777d57c1C6e472fa379b7b3B6c6ba3835073)
5356
- * - [__View Contract on Arbitrum One Arbiscan__](https://arbiscan.io/address/0x7777777d57c1C6e472fa379b7b3B6c6ba3835073)
5357
- * - [__View Contract on Base Sepolia Blockscout__](https://base-sepolia.blockscout.com/address/0x7777777d57c1C6e472fa379b7b3B6c6ba3835073)
5358
- * - [__View Contract on Arbitrum Sepolia Blockscout__](https://sepolia-explorer.arbitrum.io/address/0x7777777d57c1C6e472fa379b7b3B6c6ba3835073)
5359
5278
  * - [__View Contract on Zora Explorer__](https://explorer.zora.energy/address/0x7777777d57c1C6e472fa379b7b3B6c6ba3835073)
5360
- * - [__View Contract on Sepolia Etherscan__](https://sepolia.etherscan.io/address/0x7777777d57c1C6e472fa379b7b3B6c6ba3835073)
5361
5279
  * - [__View Contract on Zora Sepolia Zora Sepolia Explorer__](https://sepolia.explorer.zora.energy//address/0x7777777d57c1C6e472fa379b7b3B6c6ba3835073)
5362
5280
  */
5363
5281
  export const zoraMints1155ABI = [
@@ -5503,7 +5421,7 @@ export const zoraMints1155ABI = [
5503
5421
  inputs: [
5504
5422
  {
5505
5423
  name: 'permit',
5506
- internalType: 'struct IZoraMints1155Managed.PermitBatch',
5424
+ internalType: 'struct IZoraSparks1155Managed.PermitBatch',
5507
5425
  type: 'tuple',
5508
5426
  components: [
5509
5427
  { name: 'owner', internalType: 'address', type: 'address' },
@@ -5525,7 +5443,7 @@ export const zoraMints1155ABI = [
5525
5443
  inputs: [
5526
5444
  {
5527
5445
  name: 'permit',
5528
- internalType: 'struct IZoraMints1155Managed.PermitSingle',
5446
+ internalType: 'struct IZoraSparks1155Managed.PermitSingle',
5529
5447
  type: 'tuple',
5530
5448
  components: [
5531
5449
  { name: 'owner', internalType: 'address', type: 'address' },
@@ -5564,7 +5482,7 @@ export const zoraMints1155ABI = [
5564
5482
  inputs: [
5565
5483
  {
5566
5484
  name: 'permit',
5567
- internalType: 'struct IZoraMints1155Managed.PermitBatch',
5485
+ internalType: 'struct IZoraSparks1155Managed.PermitBatch',
5568
5486
  type: 'tuple',
5569
5487
  components: [
5570
5488
  { name: 'owner', internalType: 'address', type: 'address' },
@@ -5587,7 +5505,7 @@ export const zoraMints1155ABI = [
5587
5505
  inputs: [
5588
5506
  {
5589
5507
  name: 'permit',
5590
- internalType: 'struct IZoraMints1155Managed.PermitSingle',
5508
+ internalType: 'struct IZoraSparks1155Managed.PermitSingle',
5591
5509
  type: 'tuple',
5592
5510
  components: [
5593
5511
  { name: 'owner', internalType: 'address', type: 'address' },
@@ -5672,7 +5590,7 @@ export const zoraMints1155ABI = [
5672
5590
  inputs: [
5673
5591
  {
5674
5592
  name: 'permit',
5675
- internalType: 'struct IZoraMints1155Managed.PermitSingle',
5593
+ internalType: 'struct IZoraSparks1155Managed.PermitSingle',
5676
5594
  type: 'tuple',
5677
5595
  components: [
5678
5596
  { name: 'owner', internalType: 'address', type: 'address' },
@@ -5695,7 +5613,7 @@ export const zoraMints1155ABI = [
5695
5613
  inputs: [
5696
5614
  {
5697
5615
  name: 'permit',
5698
- internalType: 'struct IZoraMints1155Managed.PermitBatch',
5616
+ internalType: 'struct IZoraSparks1155Managed.PermitBatch',
5699
5617
  type: 'tuple',
5700
5618
  components: [
5701
5619
  { name: 'owner', internalType: 'address', type: 'address' },
@@ -6124,38 +6042,16 @@ export const zoraMints1155ABI = [
6124
6042
  ] as const
6125
6043
 
6126
6044
  /**
6127
- * - [__View Contract on Ethereum Etherscan__](https://etherscan.io/address/0x7777777d57c1C6e472fa379b7b3B6c6ba3835073)
6128
- * - [__View Contract on Op Mainnet Optimism Explorer__](https://explorer.optimism.io/address/0x7777777d57c1C6e472fa379b7b3B6c6ba3835073)
6129
- * - [__View Contract on Base Basescan__](https://basescan.org/address/0x7777777d57c1C6e472fa379b7b3B6c6ba3835073)
6130
- * - [__View Contract on Arbitrum One Arbiscan__](https://arbiscan.io/address/0x7777777d57c1C6e472fa379b7b3B6c6ba3835073)
6131
- * - [__View Contract on Base Sepolia Blockscout__](https://base-sepolia.blockscout.com/address/0x7777777d57c1C6e472fa379b7b3B6c6ba3835073)
6132
- * - [__View Contract on Arbitrum Sepolia Blockscout__](https://sepolia-explorer.arbitrum.io/address/0x7777777d57c1C6e472fa379b7b3B6c6ba3835073)
6133
6045
  * - [__View Contract on Zora Explorer__](https://explorer.zora.energy/address/0x7777777d57c1C6e472fa379b7b3B6c6ba3835073)
6134
- * - [__View Contract on Sepolia Etherscan__](https://sepolia.etherscan.io/address/0x7777777d57c1C6e472fa379b7b3B6c6ba3835073)
6135
6046
  * - [__View Contract on Zora Sepolia Zora Sepolia Explorer__](https://sepolia.explorer.zora.energy//address/0x7777777d57c1C6e472fa379b7b3B6c6ba3835073)
6136
6047
  */
6137
6048
  export const zoraMints1155Address = {
6138
- 1: '0x7777777d57c1C6e472fa379b7b3B6c6ba3835073',
6139
- 10: '0x7777777d57c1C6e472fa379b7b3B6c6ba3835073',
6140
- 8453: '0x7777777d57c1C6e472fa379b7b3B6c6ba3835073',
6141
- 42161: '0x7777777d57c1C6e472fa379b7b3B6c6ba3835073',
6142
- 81457: '0x7777777d57c1C6e472fa379b7b3B6c6ba3835073',
6143
- 84532: '0x7777777d57c1C6e472fa379b7b3B6c6ba3835073',
6144
- 421614: '0x7777777d57c1C6e472fa379b7b3B6c6ba3835073',
6145
6049
  7777777: '0x7777777d57c1C6e472fa379b7b3B6c6ba3835073',
6146
- 11155111: '0x7777777d57c1C6e472fa379b7b3B6c6ba3835073',
6147
6050
  999999999: '0x7777777d57c1C6e472fa379b7b3B6c6ba3835073',
6148
6051
  } as const
6149
6052
 
6150
6053
  /**
6151
- * - [__View Contract on Ethereum Etherscan__](https://etherscan.io/address/0x7777777d57c1C6e472fa379b7b3B6c6ba3835073)
6152
- * - [__View Contract on Op Mainnet Optimism Explorer__](https://explorer.optimism.io/address/0x7777777d57c1C6e472fa379b7b3B6c6ba3835073)
6153
- * - [__View Contract on Base Basescan__](https://basescan.org/address/0x7777777d57c1C6e472fa379b7b3B6c6ba3835073)
6154
- * - [__View Contract on Arbitrum One Arbiscan__](https://arbiscan.io/address/0x7777777d57c1C6e472fa379b7b3B6c6ba3835073)
6155
- * - [__View Contract on Base Sepolia Blockscout__](https://base-sepolia.blockscout.com/address/0x7777777d57c1C6e472fa379b7b3B6c6ba3835073)
6156
- * - [__View Contract on Arbitrum Sepolia Blockscout__](https://sepolia-explorer.arbitrum.io/address/0x7777777d57c1C6e472fa379b7b3B6c6ba3835073)
6157
6054
  * - [__View Contract on Zora Explorer__](https://explorer.zora.energy/address/0x7777777d57c1C6e472fa379b7b3B6c6ba3835073)
6158
- * - [__View Contract on Sepolia Etherscan__](https://sepolia.etherscan.io/address/0x7777777d57c1C6e472fa379b7b3B6c6ba3835073)
6159
6055
  * - [__View Contract on Zora Sepolia Zora Sepolia Explorer__](https://sepolia.explorer.zora.energy//address/0x7777777d57c1C6e472fa379b7b3B6c6ba3835073)
6160
6056
  */
6161
6057
  export const zoraMints1155Config = {
@@ -6168,14 +6064,7 @@ export const zoraMints1155Config = {
6168
6064
  //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
6169
6065
 
6170
6066
  /**
6171
- * - [__View Contract on Ethereum Etherscan__](https://etherscan.io/address/0x77777770cA269366c7208aFcF36FE2C6F7f7608B)
6172
- * - [__View Contract on Op Mainnet Optimism Explorer__](https://explorer.optimism.io/address/0x77777770cA269366c7208aFcF36FE2C6F7f7608B)
6173
- * - [__View Contract on Base Basescan__](https://basescan.org/address/0x77777770cA269366c7208aFcF36FE2C6F7f7608B)
6174
- * - [__View Contract on Arbitrum One Arbiscan__](https://arbiscan.io/address/0x77777770cA269366c7208aFcF36FE2C6F7f7608B)
6175
- * - [__View Contract on Base Sepolia Blockscout__](https://base-sepolia.blockscout.com/address/0x77777770cA269366c7208aFcF36FE2C6F7f7608B)
6176
- * - [__View Contract on Arbitrum Sepolia Blockscout__](https://sepolia-explorer.arbitrum.io/address/0x77777770cA269366c7208aFcF36FE2C6F7f7608B)
6177
6067
  * - [__View Contract on Zora Explorer__](https://explorer.zora.energy/address/0x77777770cA269366c7208aFcF36FE2C6F7f7608B)
6178
- * - [__View Contract on Sepolia Etherscan__](https://sepolia.etherscan.io/address/0x77777770cA269366c7208aFcF36FE2C6F7f7608B)
6179
6068
  * - [__View Contract on Zora Sepolia Zora Sepolia Explorer__](https://sepolia.explorer.zora.energy//address/0x77777770cA269366c7208aFcF36FE2C6F7f7608B)
6180
6069
  */
6181
6070
  export const zoraMintsManagerImplABI = [
@@ -6236,7 +6125,7 @@ export const zoraMintsManagerImplABI = [
6236
6125
  inputs: [
6237
6126
  {
6238
6127
  name: 'zoraCreator1155Contract',
6239
- internalType: 'contract IMintWithMints',
6128
+ internalType: 'contract IMintWithSparks',
6240
6129
  type: 'address',
6241
6130
  },
6242
6131
  { name: 'minter', internalType: 'contract IMinter1155', type: 'address' },
@@ -6247,7 +6136,7 @@ export const zoraMintsManagerImplABI = [
6247
6136
  },
6248
6137
  {
6249
6138
  name: 'collectMintArguments',
6250
- internalType: 'struct ICollectWithZoraMints.CollectMintArguments',
6139
+ internalType: 'struct ICollectWithZoraSparks.CollectMintArguments',
6251
6140
  type: 'tuple',
6252
6141
  components: [
6253
6142
  {
@@ -6489,8 +6378,8 @@ export const zoraMintsManagerImplABI = [
6489
6378
  type: 'function',
6490
6379
  inputs: [
6491
6380
  { name: 'defaultOwner', internalType: 'address', type: 'address' },
6492
- { name: 'zoraMintsSalt', internalType: 'bytes32', type: 'bytes32' },
6493
- { name: 'zoraMintsCreationCode', internalType: 'bytes', type: 'bytes' },
6381
+ { name: 'zoraSparksSalt', internalType: 'bytes32', type: 'bytes32' },
6382
+ { name: 'zoraSparksCreationCode', internalType: 'bytes', type: 'bytes' },
6494
6383
  { name: 'initialEthTokenId', internalType: 'uint256', type: 'uint256' },
6495
6384
  {
6496
6385
  name: 'initialEthTokenPrice',
@@ -6504,7 +6393,7 @@ export const zoraMintsManagerImplABI = [
6504
6393
  outputs: [
6505
6394
  {
6506
6395
  name: 'mints',
6507
- internalType: 'contract IZoraMints1155',
6396
+ internalType: 'contract IZoraSparks1155',
6508
6397
  type: 'address',
6509
6398
  },
6510
6399
  ],
@@ -6648,9 +6537,9 @@ export const zoraMintsManagerImplABI = [
6648
6537
  stateMutability: 'view',
6649
6538
  type: 'function',
6650
6539
  inputs: [],
6651
- name: 'zoraMints1155',
6540
+ name: 'zoraSparks1155',
6652
6541
  outputs: [
6653
- { name: '', internalType: 'contract IZoraMints1155', type: 'address' },
6542
+ { name: '', internalType: 'contract IZoraSparks1155', type: 'address' },
6654
6543
  ],
6655
6544
  },
6656
6545
  {
@@ -6927,7 +6816,7 @@ export const zoraMintsManagerImplABI = [
6927
6816
  name: 'InvalidMerkleProof',
6928
6817
  },
6929
6818
  { type: 'error', inputs: [], name: 'InvalidMintSchedule' },
6930
- { type: 'error', inputs: [], name: 'InvalidOwnerForAssociatedZoraMints' },
6819
+ { type: 'error', inputs: [], name: 'InvalidOwnerForAssociatedZoraSparks' },
6931
6820
  { type: 'error', inputs: [], name: 'InvalidPremintVersion' },
6932
6821
  { type: 'error', inputs: [], name: 'InvalidRecipient' },
6933
6822
  { type: 'error', inputs: [], name: 'InvalidSignature' },
@@ -6939,7 +6828,7 @@ export const zoraMintsManagerImplABI = [
6939
6828
  },
6940
6829
  { type: 'error', inputs: [], name: 'InvalidTokenPrice' },
6941
6830
  { type: 'error', inputs: [], name: 'MintNotYetStarted' },
6942
- { type: 'error', inputs: [], name: 'MintWithMintsNotSupportedOnContract' },
6831
+ { type: 'error', inputs: [], name: 'MintWithSparksNotSupportedOnContract' },
6943
6832
  { type: 'error', inputs: [], name: 'Mint_InsolventSaleTransfer' },
6944
6833
  { type: 'error', inputs: [], name: 'Mint_InvalidMintArrayLength' },
6945
6834
  { type: 'error', inputs: [], name: 'Mint_TokenIDMintNotAllowed' },
@@ -6958,8 +6847,8 @@ export const zoraMintsManagerImplABI = [
6958
6847
  },
6959
6848
  { type: 'error', inputs: [], name: 'NotInitializing' },
6960
6849
  { type: 'error', inputs: [], name: 'NotSelfCall' },
6961
- { type: 'error', inputs: [], name: 'NotZoraMints1155' },
6962
- { type: 'error', inputs: [], name: 'OnlyTransfersFromZoraMints' },
6850
+ { type: 'error', inputs: [], name: 'NotZoraSparks1155' },
6851
+ { type: 'error', inputs: [], name: 'OnlyTransfersFromZoraSparks' },
6963
6852
  {
6964
6853
  type: 'error',
6965
6854
  inputs: [{ name: 'owner', internalType: 'address', type: 'address' }],
@@ -7067,41 +6956,1205 @@ export const zoraMintsManagerImplABI = [
7067
6956
  ] as const
7068
6957
 
7069
6958
  /**
7070
- * - [__View Contract on Ethereum Etherscan__](https://etherscan.io/address/0x77777770cA269366c7208aFcF36FE2C6F7f7608B)
7071
- * - [__View Contract on Op Mainnet Optimism Explorer__](https://explorer.optimism.io/address/0x77777770cA269366c7208aFcF36FE2C6F7f7608B)
7072
- * - [__View Contract on Base Basescan__](https://basescan.org/address/0x77777770cA269366c7208aFcF36FE2C6F7f7608B)
7073
- * - [__View Contract on Arbitrum One Arbiscan__](https://arbiscan.io/address/0x77777770cA269366c7208aFcF36FE2C6F7f7608B)
7074
- * - [__View Contract on Base Sepolia Blockscout__](https://base-sepolia.blockscout.com/address/0x77777770cA269366c7208aFcF36FE2C6F7f7608B)
7075
- * - [__View Contract on Arbitrum Sepolia Blockscout__](https://sepolia-explorer.arbitrum.io/address/0x77777770cA269366c7208aFcF36FE2C6F7f7608B)
7076
6959
  * - [__View Contract on Zora Explorer__](https://explorer.zora.energy/address/0x77777770cA269366c7208aFcF36FE2C6F7f7608B)
7077
- * - [__View Contract on Sepolia Etherscan__](https://sepolia.etherscan.io/address/0x77777770cA269366c7208aFcF36FE2C6F7f7608B)
7078
6960
  * - [__View Contract on Zora Sepolia Zora Sepolia Explorer__](https://sepolia.explorer.zora.energy//address/0x77777770cA269366c7208aFcF36FE2C6F7f7608B)
7079
6961
  */
7080
6962
  export const zoraMintsManagerImplAddress = {
7081
- 1: '0x77777770cA269366c7208aFcF36FE2C6F7f7608B',
7082
- 10: '0x77777770cA269366c7208aFcF36FE2C6F7f7608B',
7083
- 8453: '0x77777770cA269366c7208aFcF36FE2C6F7f7608B',
7084
- 42161: '0x77777770cA269366c7208aFcF36FE2C6F7f7608B',
7085
- 81457: '0x77777770cA269366c7208aFcF36FE2C6F7f7608B',
7086
- 84532: '0x77777770cA269366c7208aFcF36FE2C6F7f7608B',
7087
- 421614: '0x77777770cA269366c7208aFcF36FE2C6F7f7608B',
7088
6963
  7777777: '0x77777770cA269366c7208aFcF36FE2C6F7f7608B',
7089
- 11155111: '0x77777770cA269366c7208aFcF36FE2C6F7f7608B',
7090
6964
  999999999: '0x77777770cA269366c7208aFcF36FE2C6F7f7608B',
7091
6965
  } as const
7092
6966
 
7093
6967
  /**
7094
- * - [__View Contract on Ethereum Etherscan__](https://etherscan.io/address/0x77777770cA269366c7208aFcF36FE2C6F7f7608B)
7095
- * - [__View Contract on Op Mainnet Optimism Explorer__](https://explorer.optimism.io/address/0x77777770cA269366c7208aFcF36FE2C6F7f7608B)
7096
- * - [__View Contract on Base Basescan__](https://basescan.org/address/0x77777770cA269366c7208aFcF36FE2C6F7f7608B)
7097
- * - [__View Contract on Arbitrum One Arbiscan__](https://arbiscan.io/address/0x77777770cA269366c7208aFcF36FE2C6F7f7608B)
7098
- * - [__View Contract on Base Sepolia Blockscout__](https://base-sepolia.blockscout.com/address/0x77777770cA269366c7208aFcF36FE2C6F7f7608B)
7099
- * - [__View Contract on Arbitrum Sepolia Blockscout__](https://sepolia-explorer.arbitrum.io/address/0x77777770cA269366c7208aFcF36FE2C6F7f7608B)
7100
6968
  * - [__View Contract on Zora Explorer__](https://explorer.zora.energy/address/0x77777770cA269366c7208aFcF36FE2C6F7f7608B)
7101
- * - [__View Contract on Sepolia Etherscan__](https://sepolia.etherscan.io/address/0x77777770cA269366c7208aFcF36FE2C6F7f7608B)
7102
6969
  * - [__View Contract on Zora Sepolia Zora Sepolia Explorer__](https://sepolia.explorer.zora.energy//address/0x77777770cA269366c7208aFcF36FE2C6F7f7608B)
7103
6970
  */
7104
6971
  export const zoraMintsManagerImplConfig = {
7105
6972
  address: zoraMintsManagerImplAddress,
7106
6973
  abi: zoraMintsManagerImplABI,
7107
6974
  } as const
6975
+
6976
+ //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
6977
+ // ZoraSparks1155
6978
+ //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
6979
+
6980
+ /**
6981
+ * - [__View Contract on Zora Explorer__](https://explorer.zora.energy/address/0x7777777D1EEdCa69D2f2b85F4012E6045d162B5E)
6982
+ * - [__View Contract on Zora Sepolia Zora Sepolia Explorer__](https://sepolia.explorer.zora.energy//address/0x7777777D1EEdCa69D2f2b85F4012E6045d162B5E)
6983
+ */
6984
+ export const zoraSparks1155ABI = [
6985
+ { stateMutability: 'nonpayable', type: 'constructor', inputs: [] },
6986
+ {
6987
+ stateMutability: 'view',
6988
+ type: 'function',
6989
+ inputs: [],
6990
+ name: 'ETH_ADDRESS',
6991
+ outputs: [{ name: '', internalType: 'address', type: 'address' }],
6992
+ },
6993
+ {
6994
+ stateMutability: 'view',
6995
+ type: 'function',
6996
+ inputs: [],
6997
+ name: 'MINIMUM_ERC20_PRICE',
6998
+ outputs: [{ name: '', internalType: 'uint256', type: 'uint256' }],
6999
+ },
7000
+ {
7001
+ stateMutability: 'view',
7002
+ type: 'function',
7003
+ inputs: [],
7004
+ name: 'MINIMUM_ETH_PRICE',
7005
+ outputs: [{ name: '', internalType: 'uint256', type: 'uint256' }],
7006
+ },
7007
+ {
7008
+ stateMutability: 'view',
7009
+ type: 'function',
7010
+ inputs: [],
7011
+ name: 'NAME',
7012
+ outputs: [{ name: '', internalType: 'string', type: 'string' }],
7013
+ },
7014
+ {
7015
+ stateMutability: 'view',
7016
+ type: 'function',
7017
+ inputs: [],
7018
+ name: 'VERSION',
7019
+ outputs: [{ name: '', internalType: 'string', type: 'string' }],
7020
+ },
7021
+ {
7022
+ stateMutability: 'view',
7023
+ type: 'function',
7024
+ inputs: [],
7025
+ name: 'authority',
7026
+ outputs: [{ name: '', internalType: 'address', type: 'address' }],
7027
+ },
7028
+ {
7029
+ stateMutability: 'view',
7030
+ type: 'function',
7031
+ inputs: [
7032
+ { name: 'account', internalType: 'address', type: 'address' },
7033
+ { name: 'id', internalType: 'uint256', type: 'uint256' },
7034
+ ],
7035
+ name: 'balanceOf',
7036
+ outputs: [{ name: '', internalType: 'uint256', type: 'uint256' }],
7037
+ },
7038
+ {
7039
+ stateMutability: 'view',
7040
+ type: 'function',
7041
+ inputs: [{ name: 'account', internalType: 'address', type: 'address' }],
7042
+ name: 'balanceOfAccount',
7043
+ outputs: [{ name: '', internalType: 'uint256', type: 'uint256' }],
7044
+ },
7045
+ {
7046
+ stateMutability: 'view',
7047
+ type: 'function',
7048
+ inputs: [
7049
+ { name: 'accounts', internalType: 'address[]', type: 'address[]' },
7050
+ { name: 'ids', internalType: 'uint256[]', type: 'uint256[]' },
7051
+ ],
7052
+ name: 'balanceOfBatch',
7053
+ outputs: [{ name: '', internalType: 'uint256[]', type: 'uint256[]' }],
7054
+ },
7055
+ {
7056
+ stateMutability: 'view',
7057
+ type: 'function',
7058
+ inputs: [],
7059
+ name: 'contractURI',
7060
+ outputs: [{ name: '', internalType: 'string', type: 'string' }],
7061
+ },
7062
+ {
7063
+ stateMutability: 'nonpayable',
7064
+ type: 'function',
7065
+ inputs: [
7066
+ { name: 'tokenId', internalType: 'uint256', type: 'uint256' },
7067
+ {
7068
+ name: 'tokenConfig',
7069
+ internalType: 'struct TokenConfig',
7070
+ type: 'tuple',
7071
+ components: [
7072
+ { name: 'price', internalType: 'uint256', type: 'uint256' },
7073
+ { name: 'tokenAddress', internalType: 'address', type: 'address' },
7074
+ { name: 'redeemHandler', internalType: 'address', type: 'address' },
7075
+ ],
7076
+ },
7077
+ ],
7078
+ name: 'createToken',
7079
+ outputs: [],
7080
+ },
7081
+ {
7082
+ stateMutability: 'view',
7083
+ type: 'function',
7084
+ inputs: [],
7085
+ name: 'eip712Domain',
7086
+ outputs: [
7087
+ { name: 'fields', internalType: 'bytes1', type: 'bytes1' },
7088
+ { name: 'name', internalType: 'string', type: 'string' },
7089
+ { name: 'version', internalType: 'string', type: 'string' },
7090
+ { name: 'chainId', internalType: 'uint256', type: 'uint256' },
7091
+ { name: 'verifyingContract', internalType: 'address', type: 'address' },
7092
+ { name: 'salt', internalType: 'bytes32', type: 'bytes32' },
7093
+ { name: 'extensions', internalType: 'uint256[]', type: 'uint256[]' },
7094
+ ],
7095
+ },
7096
+ {
7097
+ stateMutability: 'view',
7098
+ type: 'function',
7099
+ inputs: [],
7100
+ name: 'getManager',
7101
+ outputs: [{ name: '', internalType: 'address', type: 'address' }],
7102
+ },
7103
+ {
7104
+ stateMutability: 'view',
7105
+ type: 'function',
7106
+ inputs: [{ name: 'tokenId', internalType: 'uint256', type: 'uint256' }],
7107
+ name: 'getTokenConfig',
7108
+ outputs: [
7109
+ {
7110
+ name: '',
7111
+ internalType: 'struct TokenConfig',
7112
+ type: 'tuple',
7113
+ components: [
7114
+ { name: 'price', internalType: 'uint256', type: 'uint256' },
7115
+ { name: 'tokenAddress', internalType: 'address', type: 'address' },
7116
+ { name: 'redeemHandler', internalType: 'address', type: 'address' },
7117
+ ],
7118
+ },
7119
+ ],
7120
+ },
7121
+ {
7122
+ stateMutability: 'view',
7123
+ type: 'function',
7124
+ inputs: [
7125
+ {
7126
+ name: 'permit',
7127
+ internalType: 'struct IZoraSparks1155Managed.PermitBatch',
7128
+ type: 'tuple',
7129
+ components: [
7130
+ { name: 'owner', internalType: 'address', type: 'address' },
7131
+ { name: 'to', internalType: 'address', type: 'address' },
7132
+ { name: 'tokenIds', internalType: 'uint256[]', type: 'uint256[]' },
7133
+ { name: 'quantities', internalType: 'uint256[]', type: 'uint256[]' },
7134
+ { name: 'safeTransferData', internalType: 'bytes', type: 'bytes' },
7135
+ { name: 'deadline', internalType: 'uint256', type: 'uint256' },
7136
+ { name: 'nonce', internalType: 'uint256', type: 'uint256' },
7137
+ ],
7138
+ },
7139
+ ],
7140
+ name: 'hashPermitBatch',
7141
+ outputs: [{ name: '', internalType: 'bytes32', type: 'bytes32' }],
7142
+ },
7143
+ {
7144
+ stateMutability: 'view',
7145
+ type: 'function',
7146
+ inputs: [
7147
+ {
7148
+ name: 'permit',
7149
+ internalType: 'struct IZoraSparks1155Managed.PermitSingle',
7150
+ type: 'tuple',
7151
+ components: [
7152
+ { name: 'owner', internalType: 'address', type: 'address' },
7153
+ { name: 'to', internalType: 'address', type: 'address' },
7154
+ { name: 'tokenId', internalType: 'uint256', type: 'uint256' },
7155
+ { name: 'quantity', internalType: 'uint256', type: 'uint256' },
7156
+ { name: 'safeTransferData', internalType: 'bytes', type: 'bytes' },
7157
+ { name: 'deadline', internalType: 'uint256', type: 'uint256' },
7158
+ { name: 'nonce', internalType: 'uint256', type: 'uint256' },
7159
+ ],
7160
+ },
7161
+ ],
7162
+ name: 'hashPermitSingle',
7163
+ outputs: [{ name: '', internalType: 'bytes32', type: 'bytes32' }],
7164
+ },
7165
+ {
7166
+ stateMutability: 'view',
7167
+ type: 'function',
7168
+ inputs: [
7169
+ { name: 'account', internalType: 'address', type: 'address' },
7170
+ { name: 'operator', internalType: 'address', type: 'address' },
7171
+ ],
7172
+ name: 'isApprovedForAll',
7173
+ outputs: [{ name: '', internalType: 'bool', type: 'bool' }],
7174
+ },
7175
+ {
7176
+ stateMutability: 'view',
7177
+ type: 'function',
7178
+ inputs: [],
7179
+ name: 'isConsumingScheduledOp',
7180
+ outputs: [{ name: '', internalType: 'bytes4', type: 'bytes4' }],
7181
+ },
7182
+ {
7183
+ stateMutability: 'view',
7184
+ type: 'function',
7185
+ inputs: [
7186
+ {
7187
+ name: 'permit',
7188
+ internalType: 'struct IZoraSparks1155Managed.PermitBatch',
7189
+ type: 'tuple',
7190
+ components: [
7191
+ { name: 'owner', internalType: 'address', type: 'address' },
7192
+ { name: 'to', internalType: 'address', type: 'address' },
7193
+ { name: 'tokenIds', internalType: 'uint256[]', type: 'uint256[]' },
7194
+ { name: 'quantities', internalType: 'uint256[]', type: 'uint256[]' },
7195
+ { name: 'safeTransferData', internalType: 'bytes', type: 'bytes' },
7196
+ { name: 'deadline', internalType: 'uint256', type: 'uint256' },
7197
+ { name: 'nonce', internalType: 'uint256', type: 'uint256' },
7198
+ ],
7199
+ },
7200
+ { name: 'signature', internalType: 'bytes', type: 'bytes' },
7201
+ ],
7202
+ name: 'isValidSignatureTransferBatch',
7203
+ outputs: [{ name: '', internalType: 'bool', type: 'bool' }],
7204
+ },
7205
+ {
7206
+ stateMutability: 'view',
7207
+ type: 'function',
7208
+ inputs: [
7209
+ {
7210
+ name: 'permit',
7211
+ internalType: 'struct IZoraSparks1155Managed.PermitSingle',
7212
+ type: 'tuple',
7213
+ components: [
7214
+ { name: 'owner', internalType: 'address', type: 'address' },
7215
+ { name: 'to', internalType: 'address', type: 'address' },
7216
+ { name: 'tokenId', internalType: 'uint256', type: 'uint256' },
7217
+ { name: 'quantity', internalType: 'uint256', type: 'uint256' },
7218
+ { name: 'safeTransferData', internalType: 'bytes', type: 'bytes' },
7219
+ { name: 'deadline', internalType: 'uint256', type: 'uint256' },
7220
+ { name: 'nonce', internalType: 'uint256', type: 'uint256' },
7221
+ ],
7222
+ },
7223
+ { name: 'signature', internalType: 'bytes', type: 'bytes' },
7224
+ ],
7225
+ name: 'isValidSignatureTransferSingle',
7226
+ outputs: [{ name: '', internalType: 'bool', type: 'bool' }],
7227
+ },
7228
+ {
7229
+ stateMutability: 'nonpayable',
7230
+ type: 'function',
7231
+ inputs: [
7232
+ { name: 'tokenId', internalType: 'uint256', type: 'uint256' },
7233
+ { name: 'tokenAddress', internalType: 'address', type: 'address' },
7234
+ { name: 'quantity', internalType: 'uint256', type: 'uint256' },
7235
+ { name: 'recipient', internalType: 'address', type: 'address' },
7236
+ { name: 'data', internalType: 'bytes', type: 'bytes' },
7237
+ ],
7238
+ name: 'mintTokenWithERC20',
7239
+ outputs: [],
7240
+ },
7241
+ {
7242
+ stateMutability: 'payable',
7243
+ type: 'function',
7244
+ inputs: [
7245
+ { name: 'tokenId', internalType: 'uint256', type: 'uint256' },
7246
+ { name: 'quantity', internalType: 'uint256', type: 'uint256' },
7247
+ { name: 'recipient', internalType: 'address', type: 'address' },
7248
+ { name: 'data', internalType: 'bytes', type: 'bytes' },
7249
+ ],
7250
+ name: 'mintTokenWithEth',
7251
+ outputs: [],
7252
+ },
7253
+ {
7254
+ stateMutability: 'pure',
7255
+ type: 'function',
7256
+ inputs: [],
7257
+ name: 'name',
7258
+ outputs: [{ name: '', internalType: 'string', type: 'string' }],
7259
+ },
7260
+ {
7261
+ stateMutability: 'view',
7262
+ type: 'function',
7263
+ inputs: [
7264
+ { name: 'owner', internalType: 'address', type: 'address' },
7265
+ { name: 'nonce', internalType: 'uint256', type: 'uint256' },
7266
+ ],
7267
+ name: 'nonceUsed',
7268
+ outputs: [{ name: '', internalType: 'bool', type: 'bool' }],
7269
+ },
7270
+ {
7271
+ stateMutability: 'nonpayable',
7272
+ type: 'function',
7273
+ inputs: [
7274
+ { name: 'newContractURI', internalType: 'string', type: 'string' },
7275
+ { name: 'newBaseURI', internalType: 'string', type: 'string' },
7276
+ ],
7277
+ name: 'notifyURIsUpdated',
7278
+ outputs: [],
7279
+ },
7280
+ {
7281
+ stateMutability: 'nonpayable',
7282
+ type: 'function',
7283
+ inputs: [
7284
+ { name: 'newUri', internalType: 'string', type: 'string' },
7285
+ { name: 'tokenId', internalType: 'uint256', type: 'uint256' },
7286
+ ],
7287
+ name: 'notifyUpdatedTokenURI',
7288
+ outputs: [],
7289
+ },
7290
+ {
7291
+ stateMutability: 'nonpayable',
7292
+ type: 'function',
7293
+ inputs: [
7294
+ {
7295
+ name: 'permit',
7296
+ internalType: 'struct IZoraSparks1155Managed.PermitSingle',
7297
+ type: 'tuple',
7298
+ components: [
7299
+ { name: 'owner', internalType: 'address', type: 'address' },
7300
+ { name: 'to', internalType: 'address', type: 'address' },
7301
+ { name: 'tokenId', internalType: 'uint256', type: 'uint256' },
7302
+ { name: 'quantity', internalType: 'uint256', type: 'uint256' },
7303
+ { name: 'safeTransferData', internalType: 'bytes', type: 'bytes' },
7304
+ { name: 'deadline', internalType: 'uint256', type: 'uint256' },
7305
+ { name: 'nonce', internalType: 'uint256', type: 'uint256' },
7306
+ ],
7307
+ },
7308
+ { name: 'signature', internalType: 'bytes', type: 'bytes' },
7309
+ ],
7310
+ name: 'permitSafeTransfer',
7311
+ outputs: [],
7312
+ },
7313
+ {
7314
+ stateMutability: 'nonpayable',
7315
+ type: 'function',
7316
+ inputs: [
7317
+ {
7318
+ name: 'permit',
7319
+ internalType: 'struct IZoraSparks1155Managed.PermitBatch',
7320
+ type: 'tuple',
7321
+ components: [
7322
+ { name: 'owner', internalType: 'address', type: 'address' },
7323
+ { name: 'to', internalType: 'address', type: 'address' },
7324
+ { name: 'tokenIds', internalType: 'uint256[]', type: 'uint256[]' },
7325
+ { name: 'quantities', internalType: 'uint256[]', type: 'uint256[]' },
7326
+ { name: 'safeTransferData', internalType: 'bytes', type: 'bytes' },
7327
+ { name: 'deadline', internalType: 'uint256', type: 'uint256' },
7328
+ { name: 'nonce', internalType: 'uint256', type: 'uint256' },
7329
+ ],
7330
+ },
7331
+ { name: 'signature', internalType: 'bytes', type: 'bytes' },
7332
+ ],
7333
+ name: 'permitSafeTransferBatch',
7334
+ outputs: [],
7335
+ },
7336
+ {
7337
+ stateMutability: 'nonpayable',
7338
+ type: 'function',
7339
+ inputs: [
7340
+ { name: 'tokenId', internalType: 'uint256', type: 'uint256' },
7341
+ { name: 'quantity', internalType: 'uint256', type: 'uint256' },
7342
+ { name: 'recipient', internalType: 'address', type: 'address' },
7343
+ ],
7344
+ name: 'redeem',
7345
+ outputs: [
7346
+ {
7347
+ name: '',
7348
+ internalType: 'struct Redemption',
7349
+ type: 'tuple',
7350
+ components: [
7351
+ { name: 'tokenAddress', internalType: 'address', type: 'address' },
7352
+ { name: 'valueRedeemed', internalType: 'uint256', type: 'uint256' },
7353
+ ],
7354
+ },
7355
+ ],
7356
+ },
7357
+ {
7358
+ stateMutability: 'nonpayable',
7359
+ type: 'function',
7360
+ inputs: [
7361
+ { name: 'tokenIds', internalType: 'uint256[]', type: 'uint256[]' },
7362
+ { name: 'quantities', internalType: 'uint256[]', type: 'uint256[]' },
7363
+ { name: 'recipient', internalType: 'address', type: 'address' },
7364
+ ],
7365
+ name: 'redeemBatch',
7366
+ outputs: [
7367
+ {
7368
+ name: 'redemptions',
7369
+ internalType: 'struct Redemption[]',
7370
+ type: 'tuple[]',
7371
+ components: [
7372
+ { name: 'tokenAddress', internalType: 'address', type: 'address' },
7373
+ { name: 'valueRedeemed', internalType: 'uint256', type: 'uint256' },
7374
+ ],
7375
+ },
7376
+ ],
7377
+ },
7378
+ {
7379
+ stateMutability: 'nonpayable',
7380
+ type: 'function',
7381
+ inputs: [
7382
+ { name: 'from', internalType: 'address', type: 'address' },
7383
+ { name: 'to', internalType: 'address', type: 'address' },
7384
+ { name: 'ids', internalType: 'uint256[]', type: 'uint256[]' },
7385
+ { name: 'values', internalType: 'uint256[]', type: 'uint256[]' },
7386
+ { name: 'data', internalType: 'bytes', type: 'bytes' },
7387
+ ],
7388
+ name: 'safeBatchTransferFrom',
7389
+ outputs: [],
7390
+ },
7391
+ {
7392
+ stateMutability: 'nonpayable',
7393
+ type: 'function',
7394
+ inputs: [
7395
+ { name: 'from', internalType: 'address', type: 'address' },
7396
+ { name: 'to', internalType: 'address', type: 'address' },
7397
+ { name: 'id', internalType: 'uint256', type: 'uint256' },
7398
+ { name: 'value', internalType: 'uint256', type: 'uint256' },
7399
+ { name: 'data', internalType: 'bytes', type: 'bytes' },
7400
+ ],
7401
+ name: 'safeTransferFrom',
7402
+ outputs: [],
7403
+ },
7404
+ {
7405
+ stateMutability: 'nonpayable',
7406
+ type: 'function',
7407
+ inputs: [
7408
+ { name: 'operator', internalType: 'address', type: 'address' },
7409
+ { name: 'approved', internalType: 'bool', type: 'bool' },
7410
+ ],
7411
+ name: 'setApprovalForAll',
7412
+ outputs: [],
7413
+ },
7414
+ {
7415
+ stateMutability: 'nonpayable',
7416
+ type: 'function',
7417
+ inputs: [
7418
+ { name: 'newAuthority', internalType: 'address', type: 'address' },
7419
+ ],
7420
+ name: 'setAuthority',
7421
+ outputs: [],
7422
+ },
7423
+ {
7424
+ stateMutability: 'view',
7425
+ type: 'function',
7426
+ inputs: [{ name: 'interfaceId', internalType: 'bytes4', type: 'bytes4' }],
7427
+ name: 'supportsInterface',
7428
+ outputs: [{ name: '', internalType: 'bool', type: 'bool' }],
7429
+ },
7430
+ {
7431
+ stateMutability: 'pure',
7432
+ type: 'function',
7433
+ inputs: [],
7434
+ name: 'symbol',
7435
+ outputs: [{ name: '', internalType: 'string', type: 'string' }],
7436
+ },
7437
+ {
7438
+ stateMutability: 'view',
7439
+ type: 'function',
7440
+ inputs: [{ name: 'tokenId', internalType: 'uint256', type: 'uint256' }],
7441
+ name: 'tokenExists',
7442
+ outputs: [{ name: '', internalType: 'bool', type: 'bool' }],
7443
+ },
7444
+ {
7445
+ stateMutability: 'view',
7446
+ type: 'function',
7447
+ inputs: [{ name: 'tokenId', internalType: 'uint256', type: 'uint256' }],
7448
+ name: 'tokenPrice',
7449
+ outputs: [{ name: '', internalType: 'uint256', type: 'uint256' }],
7450
+ },
7451
+ {
7452
+ stateMutability: 'view',
7453
+ type: 'function',
7454
+ inputs: [{ name: 'tokenId', internalType: 'uint256', type: 'uint256' }],
7455
+ name: 'uri',
7456
+ outputs: [{ name: '', internalType: 'string', type: 'string' }],
7457
+ },
7458
+ {
7459
+ type: 'event',
7460
+ anonymous: false,
7461
+ inputs: [
7462
+ {
7463
+ name: 'account',
7464
+ internalType: 'address',
7465
+ type: 'address',
7466
+ indexed: true,
7467
+ },
7468
+ {
7469
+ name: 'operator',
7470
+ internalType: 'address',
7471
+ type: 'address',
7472
+ indexed: true,
7473
+ },
7474
+ { name: 'approved', internalType: 'bool', type: 'bool', indexed: false },
7475
+ ],
7476
+ name: 'ApprovalForAll',
7477
+ },
7478
+ {
7479
+ type: 'event',
7480
+ anonymous: false,
7481
+ inputs: [
7482
+ {
7483
+ name: 'authority',
7484
+ internalType: 'address',
7485
+ type: 'address',
7486
+ indexed: false,
7487
+ },
7488
+ ],
7489
+ name: 'AuthorityUpdated',
7490
+ },
7491
+ { type: 'event', anonymous: false, inputs: [], name: 'ContractURIUpdated' },
7492
+ { type: 'event', anonymous: false, inputs: [], name: 'EIP712DomainChanged' },
7493
+ {
7494
+ type: 'event',
7495
+ anonymous: false,
7496
+ inputs: [
7497
+ {
7498
+ name: 'tokenId',
7499
+ internalType: 'uint256',
7500
+ type: 'uint256',
7501
+ indexed: true,
7502
+ },
7503
+ {
7504
+ name: 'price',
7505
+ internalType: 'uint256',
7506
+ type: 'uint256',
7507
+ indexed: true,
7508
+ },
7509
+ {
7510
+ name: 'tokenAddress',
7511
+ internalType: 'address',
7512
+ type: 'address',
7513
+ indexed: true,
7514
+ },
7515
+ ],
7516
+ name: 'TokenCreated',
7517
+ },
7518
+ {
7519
+ type: 'event',
7520
+ anonymous: false,
7521
+ inputs: [
7522
+ {
7523
+ name: 'operator',
7524
+ internalType: 'address',
7525
+ type: 'address',
7526
+ indexed: true,
7527
+ },
7528
+ { name: 'from', internalType: 'address', type: 'address', indexed: true },
7529
+ { name: 'to', internalType: 'address', type: 'address', indexed: true },
7530
+ {
7531
+ name: 'ids',
7532
+ internalType: 'uint256[]',
7533
+ type: 'uint256[]',
7534
+ indexed: false,
7535
+ },
7536
+ {
7537
+ name: 'values',
7538
+ internalType: 'uint256[]',
7539
+ type: 'uint256[]',
7540
+ indexed: false,
7541
+ },
7542
+ ],
7543
+ name: 'TransferBatch',
7544
+ },
7545
+ {
7546
+ type: 'event',
7547
+ anonymous: false,
7548
+ inputs: [
7549
+ {
7550
+ name: 'operator',
7551
+ internalType: 'address',
7552
+ type: 'address',
7553
+ indexed: true,
7554
+ },
7555
+ { name: 'from', internalType: 'address', type: 'address', indexed: true },
7556
+ { name: 'to', internalType: 'address', type: 'address', indexed: true },
7557
+ { name: 'id', internalType: 'uint256', type: 'uint256', indexed: false },
7558
+ {
7559
+ name: 'value',
7560
+ internalType: 'uint256',
7561
+ type: 'uint256',
7562
+ indexed: false,
7563
+ },
7564
+ ],
7565
+ name: 'TransferSingle',
7566
+ },
7567
+ {
7568
+ type: 'event',
7569
+ anonymous: false,
7570
+ inputs: [
7571
+ { name: 'value', internalType: 'string', type: 'string', indexed: false },
7572
+ { name: 'id', internalType: 'uint256', type: 'uint256', indexed: true },
7573
+ ],
7574
+ name: 'URI',
7575
+ },
7576
+ {
7577
+ type: 'event',
7578
+ anonymous: false,
7579
+ inputs: [
7580
+ {
7581
+ name: 'contractURI',
7582
+ internalType: 'string',
7583
+ type: 'string',
7584
+ indexed: false,
7585
+ },
7586
+ {
7587
+ name: 'baseURI',
7588
+ internalType: 'string',
7589
+ type: 'string',
7590
+ indexed: false,
7591
+ },
7592
+ ],
7593
+ name: 'URIsUpdated',
7594
+ },
7595
+ {
7596
+ type: 'error',
7597
+ inputs: [{ name: 'authority', internalType: 'address', type: 'address' }],
7598
+ name: 'AccessManagedInvalidAuthority',
7599
+ },
7600
+ {
7601
+ type: 'error',
7602
+ inputs: [
7603
+ { name: 'caller', internalType: 'address', type: 'address' },
7604
+ { name: 'delay', internalType: 'uint32', type: 'uint32' },
7605
+ ],
7606
+ name: 'AccessManagedRequiredDelay',
7607
+ },
7608
+ {
7609
+ type: 'error',
7610
+ inputs: [{ name: 'caller', internalType: 'address', type: 'address' }],
7611
+ name: 'AccessManagedUnauthorized',
7612
+ },
7613
+ {
7614
+ type: 'error',
7615
+ inputs: [{ name: 'target', internalType: 'address', type: 'address' }],
7616
+ name: 'AddressEmptyCode',
7617
+ },
7618
+ {
7619
+ type: 'error',
7620
+ inputs: [{ name: 'account', internalType: 'address', type: 'address' }],
7621
+ name: 'AddressInsufficientBalance',
7622
+ },
7623
+ {
7624
+ type: 'error',
7625
+ inputs: [
7626
+ { name: 'lengthA', internalType: 'uint256', type: 'uint256' },
7627
+ { name: 'lengthB', internalType: 'uint256', type: 'uint256' },
7628
+ ],
7629
+ name: 'ArrayLengthMismatch',
7630
+ },
7631
+ {
7632
+ type: 'error',
7633
+ inputs: [{ name: 'returnData', internalType: 'bytes', type: 'bytes' }],
7634
+ name: 'CallFailed',
7635
+ },
7636
+ {
7637
+ type: 'error',
7638
+ inputs: [
7639
+ { name: 'sender', internalType: 'address', type: 'address' },
7640
+ { name: 'balance', internalType: 'uint256', type: 'uint256' },
7641
+ { name: 'needed', internalType: 'uint256', type: 'uint256' },
7642
+ { name: 'tokenId', internalType: 'uint256', type: 'uint256' },
7643
+ ],
7644
+ name: 'ERC1155InsufficientBalance',
7645
+ },
7646
+ {
7647
+ type: 'error',
7648
+ inputs: [{ name: 'approver', internalType: 'address', type: 'address' }],
7649
+ name: 'ERC1155InvalidApprover',
7650
+ },
7651
+ {
7652
+ type: 'error',
7653
+ inputs: [
7654
+ { name: 'idsLength', internalType: 'uint256', type: 'uint256' },
7655
+ { name: 'valuesLength', internalType: 'uint256', type: 'uint256' },
7656
+ ],
7657
+ name: 'ERC1155InvalidArrayLength',
7658
+ },
7659
+ {
7660
+ type: 'error',
7661
+ inputs: [{ name: 'operator', internalType: 'address', type: 'address' }],
7662
+ name: 'ERC1155InvalidOperator',
7663
+ },
7664
+ {
7665
+ type: 'error',
7666
+ inputs: [{ name: 'receiver', internalType: 'address', type: 'address' }],
7667
+ name: 'ERC1155InvalidReceiver',
7668
+ },
7669
+ {
7670
+ type: 'error',
7671
+ inputs: [{ name: 'sender', internalType: 'address', type: 'address' }],
7672
+ name: 'ERC1155InvalidSender',
7673
+ },
7674
+ {
7675
+ type: 'error',
7676
+ inputs: [
7677
+ { name: 'operator', internalType: 'address', type: 'address' },
7678
+ { name: 'owner', internalType: 'address', type: 'address' },
7679
+ ],
7680
+ name: 'ERC1155MissingApprovalForAll',
7681
+ },
7682
+ { type: 'error', inputs: [], name: 'ERC20TransferSlippage' },
7683
+ {
7684
+ type: 'error',
7685
+ inputs: [{ name: 'deadline', internalType: 'uint256', type: 'uint256' }],
7686
+ name: 'ERC2612ExpiredSignature',
7687
+ },
7688
+ { type: 'error', inputs: [], name: 'ETHTransferFailed' },
7689
+ { type: 'error', inputs: [], name: 'FailedInnerCall' },
7690
+ { type: 'error', inputs: [], name: 'IncorrectAmountSent' },
7691
+ {
7692
+ type: 'error',
7693
+ inputs: [
7694
+ { name: 'account', internalType: 'address', type: 'address' },
7695
+ { name: 'currentNonce', internalType: 'uint256', type: 'uint256' },
7696
+ ],
7697
+ name: 'InvalidAccountNonce',
7698
+ },
7699
+ { type: 'error', inputs: [], name: 'InvalidRecipient' },
7700
+ { type: 'error', inputs: [], name: 'InvalidShortString' },
7701
+ { type: 'error', inputs: [], name: 'InvalidSignature' },
7702
+ { type: 'error', inputs: [], name: 'InvalidTokenPrice' },
7703
+ { type: 'error', inputs: [], name: 'NoUriForNonexistentToken' },
7704
+ {
7705
+ type: 'error',
7706
+ inputs: [{ name: 'handler', internalType: 'address', type: 'address' }],
7707
+ name: 'NotARedeemHandler',
7708
+ },
7709
+ {
7710
+ type: 'error',
7711
+ inputs: [{ name: 'token', internalType: 'address', type: 'address' }],
7712
+ name: 'SafeERC20FailedOperation',
7713
+ },
7714
+ {
7715
+ type: 'error',
7716
+ inputs: [{ name: 'str', internalType: 'string', type: 'string' }],
7717
+ name: 'StringTooLong',
7718
+ },
7719
+ { type: 'error', inputs: [], name: 'TokenAlreadyCreated' },
7720
+ { type: 'error', inputs: [], name: 'TokenDoesNotExist' },
7721
+ {
7722
+ type: 'error',
7723
+ inputs: [
7724
+ { name: 'storedTokenAddress', internalType: 'address', type: 'address' },
7725
+ {
7726
+ name: 'expectedTokenAddress',
7727
+ internalType: 'address',
7728
+ type: 'address',
7729
+ },
7730
+ ],
7731
+ name: 'TokenMismatch',
7732
+ },
7733
+ { type: 'error', inputs: [], name: 'TokenNotMintable' },
7734
+ ] as const
7735
+
7736
+ /**
7737
+ * - [__View Contract on Zora Explorer__](https://explorer.zora.energy/address/0x7777777D1EEdCa69D2f2b85F4012E6045d162B5E)
7738
+ * - [__View Contract on Zora Sepolia Zora Sepolia Explorer__](https://sepolia.explorer.zora.energy//address/0x7777777D1EEdCa69D2f2b85F4012E6045d162B5E)
7739
+ */
7740
+ export const zoraSparks1155Address = {
7741
+ 7777777: '0x7777777D1EEdCa69D2f2b85F4012E6045d162B5E',
7742
+ 999999999: '0x7777777D1EEdCa69D2f2b85F4012E6045d162B5E',
7743
+ } as const
7744
+
7745
+ /**
7746
+ * - [__View Contract on Zora Explorer__](https://explorer.zora.energy/address/0x7777777D1EEdCa69D2f2b85F4012E6045d162B5E)
7747
+ * - [__View Contract on Zora Sepolia Zora Sepolia Explorer__](https://sepolia.explorer.zora.energy//address/0x7777777D1EEdCa69D2f2b85F4012E6045d162B5E)
7748
+ */
7749
+ export const zoraSparks1155Config = {
7750
+ address: zoraSparks1155Address,
7751
+ abi: zoraSparks1155ABI,
7752
+ } as const
7753
+
7754
+ //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
7755
+ // ZoraSparksManagerImpl
7756
+ //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
7757
+
7758
+ /**
7759
+ * - [__View Contract on Zora Explorer__](https://explorer.zora.energy/address/0x7777777402d71e0D39398F96ef2B789eCc8715d4)
7760
+ * - [__View Contract on Zora Sepolia Zora Sepolia Explorer__](https://sepolia.explorer.zora.energy//address/0x7777777402d71e0D39398F96ef2B789eCc8715d4)
7761
+ */
7762
+ export const zoraSparksManagerImplABI = [
7763
+ { stateMutability: 'nonpayable', type: 'constructor', inputs: [] },
7764
+ {
7765
+ stateMutability: 'view',
7766
+ type: 'function',
7767
+ inputs: [],
7768
+ name: 'UPGRADE_INTERFACE_VERSION',
7769
+ outputs: [{ name: '', internalType: 'string', type: 'string' }],
7770
+ },
7771
+ {
7772
+ stateMutability: 'nonpayable',
7773
+ type: 'function',
7774
+ inputs: [],
7775
+ name: 'acceptOwnership',
7776
+ outputs: [],
7777
+ },
7778
+ {
7779
+ stateMutability: 'view',
7780
+ type: 'function',
7781
+ inputs: [
7782
+ { name: 'caller', internalType: 'address', type: 'address' },
7783
+ { name: '', internalType: 'address', type: 'address' },
7784
+ { name: '', internalType: 'bytes4', type: 'bytes4' },
7785
+ ],
7786
+ name: 'canCall',
7787
+ outputs: [{ name: '', internalType: 'bool', type: 'bool' }],
7788
+ },
7789
+ {
7790
+ stateMutability: 'pure',
7791
+ type: 'function',
7792
+ inputs: [],
7793
+ name: 'contractName',
7794
+ outputs: [{ name: '', internalType: 'string', type: 'string' }],
7795
+ },
7796
+ {
7797
+ stateMutability: 'view',
7798
+ type: 'function',
7799
+ inputs: [],
7800
+ name: 'contractURI',
7801
+ outputs: [{ name: '', internalType: 'string', type: 'string' }],
7802
+ },
7803
+ {
7804
+ stateMutability: 'pure',
7805
+ type: 'function',
7806
+ inputs: [],
7807
+ name: 'contractVersion',
7808
+ outputs: [{ name: '', internalType: 'string', type: 'string' }],
7809
+ },
7810
+ {
7811
+ stateMutability: 'nonpayable',
7812
+ type: 'function',
7813
+ inputs: [
7814
+ { name: 'tokenId', internalType: 'uint256', type: 'uint256' },
7815
+ {
7816
+ name: 'tokenConfig',
7817
+ internalType: 'struct TokenConfig',
7818
+ type: 'tuple',
7819
+ components: [
7820
+ { name: 'price', internalType: 'uint256', type: 'uint256' },
7821
+ { name: 'tokenAddress', internalType: 'address', type: 'address' },
7822
+ { name: 'redeemHandler', internalType: 'address', type: 'address' },
7823
+ ],
7824
+ },
7825
+ ],
7826
+ name: 'createToken',
7827
+ outputs: [],
7828
+ },
7829
+ {
7830
+ stateMutability: 'view',
7831
+ type: 'function',
7832
+ inputs: [],
7833
+ name: 'implementation',
7834
+ outputs: [{ name: '', internalType: 'address', type: 'address' }],
7835
+ },
7836
+ {
7837
+ stateMutability: 'nonpayable',
7838
+ type: 'function',
7839
+ inputs: [
7840
+ { name: 'defaultOwner', internalType: 'address', type: 'address' },
7841
+ { name: 'zoraSparksSalt', internalType: 'bytes32', type: 'bytes32' },
7842
+ { name: 'zoraSparksCreationCode', internalType: 'bytes', type: 'bytes' },
7843
+ { name: 'initialEthTokenId', internalType: 'uint256', type: 'uint256' },
7844
+ {
7845
+ name: 'initialEthTokenPrice',
7846
+ internalType: 'uint256',
7847
+ type: 'uint256',
7848
+ },
7849
+ { name: 'newBaseURI', internalType: 'string', type: 'string' },
7850
+ { name: 'newContractURI', internalType: 'string', type: 'string' },
7851
+ ],
7852
+ name: 'initialize',
7853
+ outputs: [
7854
+ {
7855
+ name: 'sparks',
7856
+ internalType: 'contract IZoraSparks1155',
7857
+ type: 'address',
7858
+ },
7859
+ ],
7860
+ },
7861
+ {
7862
+ stateMutability: 'nonpayable',
7863
+ type: 'function',
7864
+ inputs: [
7865
+ { name: 'tokenId', internalType: 'uint256', type: 'uint256' },
7866
+ { name: 'tokenAddress', internalType: 'address', type: 'address' },
7867
+ { name: 'quantity', internalType: 'uint256', type: 'uint256' },
7868
+ { name: 'recipient', internalType: 'address', type: 'address' },
7869
+ ],
7870
+ name: 'mintWithERC20',
7871
+ outputs: [],
7872
+ },
7873
+ {
7874
+ stateMutability: 'payable',
7875
+ type: 'function',
7876
+ inputs: [
7877
+ { name: 'tokenId', internalType: 'uint256', type: 'uint256' },
7878
+ { name: 'quantity', internalType: 'uint256', type: 'uint256' },
7879
+ { name: 'recipient', internalType: 'address', type: 'address' },
7880
+ ],
7881
+ name: 'mintWithEth',
7882
+ outputs: [],
7883
+ },
7884
+ {
7885
+ stateMutability: 'view',
7886
+ type: 'function',
7887
+ inputs: [],
7888
+ name: 'owner',
7889
+ outputs: [{ name: '', internalType: 'address', type: 'address' }],
7890
+ },
7891
+ {
7892
+ stateMutability: 'view',
7893
+ type: 'function',
7894
+ inputs: [],
7895
+ name: 'pendingOwner',
7896
+ outputs: [{ name: '', internalType: 'address', type: 'address' }],
7897
+ },
7898
+ {
7899
+ stateMutability: 'view',
7900
+ type: 'function',
7901
+ inputs: [],
7902
+ name: 'proxiableUUID',
7903
+ outputs: [{ name: '', internalType: 'bytes32', type: 'bytes32' }],
7904
+ },
7905
+ {
7906
+ stateMutability: 'nonpayable',
7907
+ type: 'function',
7908
+ inputs: [],
7909
+ name: 'renounceOwnership',
7910
+ outputs: [],
7911
+ },
7912
+ {
7913
+ stateMutability: 'nonpayable',
7914
+ type: 'function',
7915
+ inputs: [
7916
+ { name: 'newContractURI', internalType: 'string', type: 'string' },
7917
+ { name: 'newBaseURI', internalType: 'string', type: 'string' },
7918
+ {
7919
+ name: 'tokenIdsToNotifyUpdate',
7920
+ internalType: 'uint256[]',
7921
+ type: 'uint256[]',
7922
+ },
7923
+ ],
7924
+ name: 'setMetadataURIs',
7925
+ outputs: [],
7926
+ },
7927
+ {
7928
+ stateMutability: 'nonpayable',
7929
+ type: 'function',
7930
+ inputs: [{ name: 'newOwner', internalType: 'address', type: 'address' }],
7931
+ name: 'transferOwnership',
7932
+ outputs: [],
7933
+ },
7934
+ {
7935
+ stateMutability: 'payable',
7936
+ type: 'function',
7937
+ inputs: [
7938
+ { name: 'newImplementation', internalType: 'address', type: 'address' },
7939
+ { name: 'data', internalType: 'bytes', type: 'bytes' },
7940
+ ],
7941
+ name: 'upgradeToAndCall',
7942
+ outputs: [],
7943
+ },
7944
+ {
7945
+ stateMutability: 'view',
7946
+ type: 'function',
7947
+ inputs: [{ name: 'tokenId', internalType: 'uint256', type: 'uint256' }],
7948
+ name: 'uri',
7949
+ outputs: [{ name: '', internalType: 'string', type: 'string' }],
7950
+ },
7951
+ {
7952
+ stateMutability: 'view',
7953
+ type: 'function',
7954
+ inputs: [],
7955
+ name: 'zoraSparks1155',
7956
+ outputs: [
7957
+ { name: '', internalType: 'contract IZoraSparks1155', type: 'address' },
7958
+ ],
7959
+ },
7960
+ {
7961
+ type: 'event',
7962
+ anonymous: false,
7963
+ inputs: [
7964
+ {
7965
+ name: 'version',
7966
+ internalType: 'uint64',
7967
+ type: 'uint64',
7968
+ indexed: false,
7969
+ },
7970
+ ],
7971
+ name: 'Initialized',
7972
+ },
7973
+ {
7974
+ type: 'event',
7975
+ anonymous: false,
7976
+ inputs: [
7977
+ {
7978
+ name: 'previousOwner',
7979
+ internalType: 'address',
7980
+ type: 'address',
7981
+ indexed: true,
7982
+ },
7983
+ {
7984
+ name: 'newOwner',
7985
+ internalType: 'address',
7986
+ type: 'address',
7987
+ indexed: true,
7988
+ },
7989
+ ],
7990
+ name: 'OwnershipTransferStarted',
7991
+ },
7992
+ {
7993
+ type: 'event',
7994
+ anonymous: false,
7995
+ inputs: [
7996
+ {
7997
+ name: 'previousOwner',
7998
+ internalType: 'address',
7999
+ type: 'address',
8000
+ indexed: true,
8001
+ },
8002
+ {
8003
+ name: 'newOwner',
8004
+ internalType: 'address',
8005
+ type: 'address',
8006
+ indexed: true,
8007
+ },
8008
+ ],
8009
+ name: 'OwnershipTransferred',
8010
+ },
8011
+ {
8012
+ type: 'event',
8013
+ anonymous: false,
8014
+ inputs: [
8015
+ {
8016
+ name: 'contractURI',
8017
+ internalType: 'string',
8018
+ type: 'string',
8019
+ indexed: false,
8020
+ },
8021
+ {
8022
+ name: 'baseURI',
8023
+ internalType: 'string',
8024
+ type: 'string',
8025
+ indexed: false,
8026
+ },
8027
+ ],
8028
+ name: 'URIsUpdated',
8029
+ },
8030
+ {
8031
+ type: 'event',
8032
+ anonymous: false,
8033
+ inputs: [
8034
+ {
8035
+ name: 'implementation',
8036
+ internalType: 'address',
8037
+ type: 'address',
8038
+ indexed: true,
8039
+ },
8040
+ ],
8041
+ name: 'Upgraded',
8042
+ },
8043
+ {
8044
+ type: 'error',
8045
+ inputs: [{ name: 'target', internalType: 'address', type: 'address' }],
8046
+ name: 'AddressEmptyCode',
8047
+ },
8048
+ {
8049
+ type: 'error',
8050
+ inputs: [{ name: 'account', internalType: 'address', type: 'address' }],
8051
+ name: 'AddressInsufficientBalance',
8052
+ },
8053
+ {
8054
+ type: 'error',
8055
+ inputs: [
8056
+ { name: 'lengthA', internalType: 'uint256', type: 'uint256' },
8057
+ { name: 'lengthB', internalType: 'uint256', type: 'uint256' },
8058
+ ],
8059
+ name: 'ArrayLengthMismatch',
8060
+ },
8061
+ { type: 'error', inputs: [], name: 'Create2EmptyBytecode' },
8062
+ { type: 'error', inputs: [], name: 'Create2FailedDeployment' },
8063
+ {
8064
+ type: 'error',
8065
+ inputs: [
8066
+ { name: 'balance', internalType: 'uint256', type: 'uint256' },
8067
+ { name: 'needed', internalType: 'uint256', type: 'uint256' },
8068
+ ],
8069
+ name: 'Create2InsufficientBalance',
8070
+ },
8071
+ { type: 'error', inputs: [], name: 'DefaultOwnerCannotBeZero' },
8072
+ {
8073
+ type: 'error',
8074
+ inputs: [
8075
+ { name: 'implementation', internalType: 'address', type: 'address' },
8076
+ ],
8077
+ name: 'ERC1967InvalidImplementation',
8078
+ },
8079
+ { type: 'error', inputs: [], name: 'ERC1967NonPayable' },
8080
+ { type: 'error', inputs: [], name: 'ERC20TransferSlippage' },
8081
+ { type: 'error', inputs: [], name: 'ETHTransferFailed' },
8082
+ { type: 'error', inputs: [], name: 'FailedInnerCall' },
8083
+ { type: 'error', inputs: [], name: 'IncorrectAmountSent' },
8084
+ { type: 'error', inputs: [], name: 'InvalidAdminAction' },
8085
+ { type: 'error', inputs: [], name: 'InvalidInitialization' },
8086
+ { type: 'error', inputs: [], name: 'InvalidOwnerForAssociatedZoraSparks' },
8087
+ { type: 'error', inputs: [], name: 'InvalidRecipient' },
8088
+ { type: 'error', inputs: [], name: 'InvalidTokenPrice' },
8089
+ { type: 'error', inputs: [], name: 'NoUriForNonexistentToken' },
8090
+ {
8091
+ type: 'error',
8092
+ inputs: [{ name: 'handler', internalType: 'address', type: 'address' }],
8093
+ name: 'NotARedeemHandler',
8094
+ },
8095
+ { type: 'error', inputs: [], name: 'NotInitializing' },
8096
+ {
8097
+ type: 'error',
8098
+ inputs: [{ name: 'owner', internalType: 'address', type: 'address' }],
8099
+ name: 'OwnableInvalidOwner',
8100
+ },
8101
+ {
8102
+ type: 'error',
8103
+ inputs: [{ name: 'account', internalType: 'address', type: 'address' }],
8104
+ name: 'OwnableUnauthorizedAccount',
8105
+ },
8106
+ { type: 'error', inputs: [], name: 'PremintExecutorCannotBeZero' },
8107
+ { type: 'error', inputs: [], name: 'ReentrancyGuardReentrantCall' },
8108
+ {
8109
+ type: 'error',
8110
+ inputs: [{ name: 'token', internalType: 'address', type: 'address' }],
8111
+ name: 'SafeERC20FailedOperation',
8112
+ },
8113
+ { type: 'error', inputs: [], name: 'TokenAlreadyCreated' },
8114
+ { type: 'error', inputs: [], name: 'TokenDoesNotExist' },
8115
+ {
8116
+ type: 'error',
8117
+ inputs: [
8118
+ { name: 'storedTokenAddress', internalType: 'address', type: 'address' },
8119
+ {
8120
+ name: 'expectedTokenAddress',
8121
+ internalType: 'address',
8122
+ type: 'address',
8123
+ },
8124
+ ],
8125
+ name: 'TokenMismatch',
8126
+ },
8127
+ { type: 'error', inputs: [], name: 'TokenNotMintable' },
8128
+ { type: 'error', inputs: [], name: 'UUPSUnauthorizedCallContext' },
8129
+ {
8130
+ type: 'error',
8131
+ inputs: [{ name: 'slot', internalType: 'bytes32', type: 'bytes32' }],
8132
+ name: 'UUPSUnsupportedProxiableUUID',
8133
+ },
8134
+ {
8135
+ type: 'error',
8136
+ inputs: [
8137
+ { name: 'expected', internalType: 'string', type: 'string' },
8138
+ { name: 'actual', internalType: 'string', type: 'string' },
8139
+ ],
8140
+ name: 'UpgradeToMismatchedContractName',
8141
+ },
8142
+ ] as const
8143
+
8144
+ /**
8145
+ * - [__View Contract on Zora Explorer__](https://explorer.zora.energy/address/0x7777777402d71e0D39398F96ef2B789eCc8715d4)
8146
+ * - [__View Contract on Zora Sepolia Zora Sepolia Explorer__](https://sepolia.explorer.zora.energy//address/0x7777777402d71e0D39398F96ef2B789eCc8715d4)
8147
+ */
8148
+ export const zoraSparksManagerImplAddress = {
8149
+ 7777777: '0x7777777402d71e0D39398F96ef2B789eCc8715d4',
8150
+ 999999999: '0x7777777402d71e0D39398F96ef2B789eCc8715d4',
8151
+ } as const
8152
+
8153
+ /**
8154
+ * - [__View Contract on Zora Explorer__](https://explorer.zora.energy/address/0x7777777402d71e0D39398F96ef2B789eCc8715d4)
8155
+ * - [__View Contract on Zora Sepolia Zora Sepolia Explorer__](https://sepolia.explorer.zora.energy//address/0x7777777402d71e0D39398F96ef2B789eCc8715d4)
8156
+ */
8157
+ export const zoraSparksManagerImplConfig = {
8158
+ address: zoraSparksManagerImplAddress,
8159
+ abi: zoraSparksManagerImplABI,
8160
+ } as const