@zoralabs/protocol-deployments 0.1.12 → 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.
package/dist/index.js CHANGED
@@ -847,108 +847,6 @@ var iUnwrapAndForwardActionABI = [
847
847
  outputs: []
848
848
  }
849
849
  ];
850
- var mintsEthUnwrapperAndCallerABI = [
851
- {
852
- stateMutability: "nonpayable",
853
- type: "constructor",
854
- inputs: [
855
- {
856
- name: "_zoraMints1155",
857
- internalType: "contract IZoraMints1155",
858
- type: "address"
859
- }
860
- ]
861
- },
862
- { stateMutability: "payable", type: "receive" },
863
- {
864
- stateMutability: "nonpayable",
865
- type: "function",
866
- inputs: [
867
- { name: "", internalType: "address", type: "address" },
868
- { name: "from", internalType: "address", type: "address" },
869
- { name: "ids", internalType: "uint256[]", type: "uint256[]" },
870
- { name: "values", internalType: "uint256[]", type: "uint256[]" },
871
- { name: "data", internalType: "bytes", type: "bytes" }
872
- ],
873
- name: "onERC1155BatchReceived",
874
- outputs: [{ name: "", internalType: "bytes4", type: "bytes4" }]
875
- },
876
- {
877
- stateMutability: "nonpayable",
878
- type: "function",
879
- inputs: [
880
- { name: "", internalType: "address", type: "address" },
881
- { name: "from", internalType: "address", type: "address" },
882
- { name: "id", internalType: "uint256", type: "uint256" },
883
- { name: "value", internalType: "uint256", type: "uint256" },
884
- { name: "data", internalType: "bytes", type: "bytes" }
885
- ],
886
- name: "onERC1155Received",
887
- outputs: [{ name: "", internalType: "bytes4", type: "bytes4" }]
888
- },
889
- {
890
- stateMutability: "payable",
891
- type: "function",
892
- inputs: [
893
- {
894
- name: "permit",
895
- internalType: "struct IZoraMints1155Managed.PermitBatch",
896
- type: "tuple",
897
- components: [
898
- { name: "owner", internalType: "address", type: "address" },
899
- { name: "to", internalType: "address", type: "address" },
900
- { name: "tokenIds", internalType: "uint256[]", type: "uint256[]" },
901
- { name: "quantities", internalType: "uint256[]", type: "uint256[]" },
902
- { name: "safeTransferData", internalType: "bytes", type: "bytes" },
903
- { name: "deadline", internalType: "uint256", type: "uint256" },
904
- { name: "nonce", internalType: "uint256", type: "uint256" }
905
- ]
906
- },
907
- { name: "signature", internalType: "bytes", type: "bytes" }
908
- ],
909
- name: "permitWithAdditionalValue",
910
- outputs: []
911
- },
912
- {
913
- type: "error",
914
- inputs: [{ name: "account", internalType: "address", type: "address" }],
915
- name: "AddressInsufficientBalance"
916
- },
917
- {
918
- type: "error",
919
- inputs: [{ name: "data", internalType: "bytes", type: "bytes" }],
920
- name: "CallFailed"
921
- },
922
- {
923
- type: "error",
924
- inputs: [{ name: "tokenId", internalType: "uint256", type: "uint256" }],
925
- name: "ERC20NotSupported"
926
- },
927
- { type: "error", inputs: [], name: "FailedInnerCall" },
928
- { type: "error", inputs: [], name: "NotExpectingReceive" },
929
- { type: "error", inputs: [], name: "NotZoraMints1155" },
930
- {
931
- type: "error",
932
- inputs: [{ name: "data", internalType: "bytes", type: "bytes" }],
933
- name: "TransferFailed"
934
- },
935
- { type: "error", inputs: [], name: "UnknownUserAction" }
936
- ];
937
- var mintsEthUnwrapperAndCallerAddress = {
938
- 1: "0xb0994EB9520C98C97e1F3953a5964535C2bd271A",
939
- 10: "0xb0994EB9520C98C97e1F3953a5964535C2bd271A",
940
- 8453: "0xb0994EB9520C98C97e1F3953a5964535C2bd271A",
941
- 42161: "0xb0994EB9520C98C97e1F3953a5964535C2bd271A",
942
- 81457: "0xb0994EB9520C98C97e1F3953a5964535C2bd271A",
943
- 84532: "0xb0994EB9520C98C97e1F3953a5964535C2bd271A",
944
- 421614: "0xb0994EB9520C98C97e1F3953a5964535C2bd271A",
945
- 7777777: "0xb0994EB9520C98C97e1F3953a5964535C2bd271A",
946
- 999999999: "0xb0994EB9520C98C97e1F3953a5964535C2bd271A"
947
- };
948
- var mintsEthUnwrapperAndCallerConfig = {
949
- address: mintsEthUnwrapperAndCallerAddress,
950
- abi: mintsEthUnwrapperAndCallerABI
951
- };
952
850
  var protocolRewardsABI = [
953
851
  { stateMutability: "payable", type: "constructor", inputs: [] },
954
852
  {
@@ -1217,6 +1115,101 @@ var protocolRewardsConfig = {
1217
1115
  address: protocolRewardsAddress,
1218
1116
  abi: protocolRewardsABI
1219
1117
  };
1118
+ var sparksEthUnwrapperAndCallerABI = [
1119
+ {
1120
+ stateMutability: "nonpayable",
1121
+ type: "constructor",
1122
+ inputs: [
1123
+ {
1124
+ name: "_zoraSparks1155",
1125
+ internalType: "contract IZoraSparks1155",
1126
+ type: "address"
1127
+ }
1128
+ ]
1129
+ },
1130
+ { stateMutability: "payable", type: "receive" },
1131
+ {
1132
+ stateMutability: "nonpayable",
1133
+ type: "function",
1134
+ inputs: [
1135
+ { name: "", internalType: "address", type: "address" },
1136
+ { name: "from", internalType: "address", type: "address" },
1137
+ { name: "ids", internalType: "uint256[]", type: "uint256[]" },
1138
+ { name: "values", internalType: "uint256[]", type: "uint256[]" },
1139
+ { name: "data", internalType: "bytes", type: "bytes" }
1140
+ ],
1141
+ name: "onERC1155BatchReceived",
1142
+ outputs: [{ name: "", internalType: "bytes4", type: "bytes4" }]
1143
+ },
1144
+ {
1145
+ stateMutability: "nonpayable",
1146
+ type: "function",
1147
+ inputs: [
1148
+ { name: "", internalType: "address", type: "address" },
1149
+ { name: "from", internalType: "address", type: "address" },
1150
+ { name: "id", internalType: "uint256", type: "uint256" },
1151
+ { name: "value", internalType: "uint256", type: "uint256" },
1152
+ { name: "data", internalType: "bytes", type: "bytes" }
1153
+ ],
1154
+ name: "onERC1155Received",
1155
+ outputs: [{ name: "", internalType: "bytes4", type: "bytes4" }]
1156
+ },
1157
+ {
1158
+ stateMutability: "payable",
1159
+ type: "function",
1160
+ inputs: [
1161
+ {
1162
+ name: "permit",
1163
+ internalType: "struct IZoraSparks1155Managed.PermitBatch",
1164
+ type: "tuple",
1165
+ components: [
1166
+ { name: "owner", internalType: "address", type: "address" },
1167
+ { name: "to", internalType: "address", type: "address" },
1168
+ { name: "tokenIds", internalType: "uint256[]", type: "uint256[]" },
1169
+ { name: "quantities", internalType: "uint256[]", type: "uint256[]" },
1170
+ { name: "safeTransferData", internalType: "bytes", type: "bytes" },
1171
+ { name: "deadline", internalType: "uint256", type: "uint256" },
1172
+ { name: "nonce", internalType: "uint256", type: "uint256" }
1173
+ ]
1174
+ },
1175
+ { name: "signature", internalType: "bytes", type: "bytes" }
1176
+ ],
1177
+ name: "permitWithAdditionalValue",
1178
+ outputs: []
1179
+ },
1180
+ {
1181
+ type: "error",
1182
+ inputs: [{ name: "account", internalType: "address", type: "address" }],
1183
+ name: "AddressInsufficientBalance"
1184
+ },
1185
+ {
1186
+ type: "error",
1187
+ inputs: [{ name: "data", internalType: "bytes", type: "bytes" }],
1188
+ name: "CallFailed"
1189
+ },
1190
+ {
1191
+ type: "error",
1192
+ inputs: [{ name: "tokenId", internalType: "uint256", type: "uint256" }],
1193
+ name: "ERC20NotSupported"
1194
+ },
1195
+ { type: "error", inputs: [], name: "FailedInnerCall" },
1196
+ { type: "error", inputs: [], name: "NotExpectingReceive" },
1197
+ { type: "error", inputs: [], name: "NotZoraSparks1155" },
1198
+ {
1199
+ type: "error",
1200
+ inputs: [{ name: "data", internalType: "bytes", type: "bytes" }],
1201
+ name: "TransferFailed"
1202
+ },
1203
+ { type: "error", inputs: [], name: "UnknownUserAction" }
1204
+ ];
1205
+ var sparksEthUnwrapperAndCallerAddress = {
1206
+ 7777777: "0xb0994EB9520C98C97e1F3953a5964535C2bd271A",
1207
+ 999999999: "0xb0994EB9520C98C97e1F3953a5964535C2bd271A"
1208
+ };
1209
+ var sparksEthUnwrapperAndCallerConfig = {
1210
+ address: sparksEthUnwrapperAndCallerAddress,
1211
+ abi: sparksEthUnwrapperAndCallerABI
1212
+ };
1220
1213
  var upgradeGateABI = [
1221
1214
  { stateMutability: "nonpayable", type: "constructor", inputs: [] },
1222
1215
  {
@@ -1976,8 +1969,7 @@ var zoraCreator1155ImplABI = [
1976
1969
  inputs: [
1977
1970
  { name: "_mintFeeRecipient", internalType: "address", type: "address" },
1978
1971
  { name: "_upgradeGate", internalType: "address", type: "address" },
1979
- { name: "_protocolRewards", internalType: "address", type: "address" },
1980
- { name: "_mints", internalType: "address", type: "address" }
1972
+ { name: "_protocolRewards", internalType: "address", type: "address" }
1981
1973
  ]
1982
1974
  },
1983
1975
  { stateMutability: "payable", type: "receive" },
@@ -2361,39 +2353,6 @@ var zoraCreator1155ImplABI = [
2361
2353
  name: "mintFee",
2362
2354
  outputs: [{ name: "", internalType: "uint256", type: "uint256" }]
2363
2355
  },
2364
- {
2365
- stateMutability: "payable",
2366
- type: "function",
2367
- inputs: [
2368
- { name: "mintTokenIds", internalType: "uint256[]", type: "uint256[]" },
2369
- { name: "quantities", internalType: "uint256[]", type: "uint256[]" },
2370
- { name: "minter", internalType: "contract IMinter1155", type: "address" },
2371
- { name: "tokenId", internalType: "uint256", type: "uint256" },
2372
- {
2373
- name: "rewardsRecipients",
2374
- internalType: "address[]",
2375
- type: "address[]"
2376
- },
2377
- { name: "minterArguments", internalType: "bytes", type: "bytes" }
2378
- ],
2379
- name: "mintWithMints",
2380
- outputs: [
2381
- { name: "quantityMinted", internalType: "uint256", type: "uint256" }
2382
- ]
2383
- },
2384
- {
2385
- stateMutability: "payable",
2386
- type: "function",
2387
- inputs: [
2388
- { name: "minter", internalType: "contract IMinter1155", type: "address" },
2389
- { name: "tokenId", internalType: "uint256", type: "uint256" },
2390
- { name: "quantity", internalType: "uint256", type: "uint256" },
2391
- { name: "minterArguments", internalType: "bytes", type: "bytes" },
2392
- { name: "mintReferral", internalType: "address", type: "address" }
2393
- ],
2394
- name: "mintWithRewards",
2395
- outputs: []
2396
- },
2397
2356
  {
2398
2357
  stateMutability: "nonpayable",
2399
2358
  type: "function",
@@ -2415,32 +2374,6 @@ var zoraCreator1155ImplABI = [
2415
2374
  name: "nextTokenId",
2416
2375
  outputs: [{ name: "", internalType: "uint256", type: "uint256" }]
2417
2376
  },
2418
- {
2419
- stateMutability: "view",
2420
- type: "function",
2421
- inputs: [
2422
- { name: "", internalType: "address", type: "address" },
2423
- { name: "", internalType: "address", type: "address" },
2424
- { name: "", internalType: "uint256[]", type: "uint256[]" },
2425
- { name: "", internalType: "uint256[]", type: "uint256[]" },
2426
- { name: "", internalType: "bytes", type: "bytes" }
2427
- ],
2428
- name: "onERC1155BatchReceived",
2429
- outputs: [{ name: "", internalType: "bytes4", type: "bytes4" }]
2430
- },
2431
- {
2432
- stateMutability: "view",
2433
- type: "function",
2434
- inputs: [
2435
- { name: "", internalType: "address", type: "address" },
2436
- { name: "", internalType: "address", type: "address" },
2437
- { name: "", internalType: "uint256", type: "uint256" },
2438
- { name: "", internalType: "uint256", type: "uint256" },
2439
- { name: "", internalType: "bytes", type: "bytes" }
2440
- ],
2441
- name: "onERC1155Received",
2442
- outputs: [{ name: "", internalType: "bytes4", type: "bytes4" }]
2443
- },
2444
2377
  {
2445
2378
  stateMutability: "view",
2446
2379
  type: "function",
@@ -2465,6 +2398,16 @@ var zoraCreator1155ImplABI = [
2465
2398
  name: "proxiableUUID",
2466
2399
  outputs: [{ name: "", internalType: "bytes32", type: "bytes32" }]
2467
2400
  },
2401
+ {
2402
+ stateMutability: "nonpayable",
2403
+ type: "function",
2404
+ inputs: [
2405
+ { name: "tokenId", internalType: "uint256", type: "uint256" },
2406
+ { name: "newMaxSupply", internalType: "uint256", type: "uint256" }
2407
+ ],
2408
+ name: "reduceSupply",
2409
+ outputs: []
2410
+ },
2468
2411
  {
2469
2412
  stateMutability: "nonpayable",
2470
2413
  type: "function",
@@ -3156,6 +3099,7 @@ var zoraCreator1155ImplABI = [
3156
3099
  },
3157
3100
  { type: "error", inputs: [], name: "Call_TokenIdMismatch" },
3158
3101
  { type: "error", inputs: [], name: "CallerNotZoraCreator1155" },
3102
+ { type: "error", inputs: [], name: "CanOnlyReduceMaxSupply" },
3159
3103
  {
3160
3104
  type: "error",
3161
3105
  inputs: [
@@ -3166,6 +3110,7 @@ var zoraCreator1155ImplABI = [
3166
3110
  ],
3167
3111
  name: "CannotMintMoreTokens"
3168
3112
  },
3113
+ { type: "error", inputs: [], name: "CannotReduceMaxSupplyBelowMinted" },
3169
3114
  {
3170
3115
  type: "error",
3171
3116
  inputs: [
@@ -4153,6 +4098,7 @@ var zoraCreator1155PremintExecutorImplABI = [
4153
4098
  },
4154
4099
  { type: "error", inputs: [], name: "Call_TokenIdMismatch" },
4155
4100
  { type: "error", inputs: [], name: "CallerNotZoraCreator1155" },
4101
+ { type: "error", inputs: [], name: "CanOnlyReduceMaxSupply" },
4156
4102
  {
4157
4103
  type: "error",
4158
4104
  inputs: [
@@ -4163,6 +4109,7 @@ var zoraCreator1155PremintExecutorImplABI = [
4163
4109
  ],
4164
4110
  name: "CannotMintMoreTokens"
4165
4111
  },
4112
+ { type: "error", inputs: [], name: "CannotReduceMaxSupplyBelowMinted" },
4166
4113
  {
4167
4114
  type: "error",
4168
4115
  inputs: [
@@ -5106,7 +5053,7 @@ var zoraMints1155ABI = [
5106
5053
  inputs: [
5107
5054
  {
5108
5055
  name: "permit",
5109
- internalType: "struct IZoraMints1155Managed.PermitBatch",
5056
+ internalType: "struct IZoraSparks1155Managed.PermitBatch",
5110
5057
  type: "tuple",
5111
5058
  components: [
5112
5059
  { name: "owner", internalType: "address", type: "address" },
@@ -5128,7 +5075,7 @@ var zoraMints1155ABI = [
5128
5075
  inputs: [
5129
5076
  {
5130
5077
  name: "permit",
5131
- internalType: "struct IZoraMints1155Managed.PermitSingle",
5078
+ internalType: "struct IZoraSparks1155Managed.PermitSingle",
5132
5079
  type: "tuple",
5133
5080
  components: [
5134
5081
  { name: "owner", internalType: "address", type: "address" },
@@ -5167,7 +5114,7 @@ var zoraMints1155ABI = [
5167
5114
  inputs: [
5168
5115
  {
5169
5116
  name: "permit",
5170
- internalType: "struct IZoraMints1155Managed.PermitBatch",
5117
+ internalType: "struct IZoraSparks1155Managed.PermitBatch",
5171
5118
  type: "tuple",
5172
5119
  components: [
5173
5120
  { name: "owner", internalType: "address", type: "address" },
@@ -5190,7 +5137,7 @@ var zoraMints1155ABI = [
5190
5137
  inputs: [
5191
5138
  {
5192
5139
  name: "permit",
5193
- internalType: "struct IZoraMints1155Managed.PermitSingle",
5140
+ internalType: "struct IZoraSparks1155Managed.PermitSingle",
5194
5141
  type: "tuple",
5195
5142
  components: [
5196
5143
  { name: "owner", internalType: "address", type: "address" },
@@ -5275,7 +5222,7 @@ var zoraMints1155ABI = [
5275
5222
  inputs: [
5276
5223
  {
5277
5224
  name: "permit",
5278
- internalType: "struct IZoraMints1155Managed.PermitSingle",
5225
+ internalType: "struct IZoraSparks1155Managed.PermitSingle",
5279
5226
  type: "tuple",
5280
5227
  components: [
5281
5228
  { name: "owner", internalType: "address", type: "address" },
@@ -5298,7 +5245,7 @@ var zoraMints1155ABI = [
5298
5245
  inputs: [
5299
5246
  {
5300
5247
  name: "permit",
5301
- internalType: "struct IZoraMints1155Managed.PermitBatch",
5248
+ internalType: "struct IZoraSparks1155Managed.PermitBatch",
5302
5249
  type: "tuple",
5303
5250
  components: [
5304
5251
  { name: "owner", internalType: "address", type: "address" },
@@ -5726,13 +5673,6 @@ var zoraMints1155ABI = [
5726
5673
  { type: "error", inputs: [], name: "TokenNotMintable" }
5727
5674
  ];
5728
5675
  var zoraMints1155Address = {
5729
- 1: "0x7777777d57c1C6e472fa379b7b3B6c6ba3835073",
5730
- 10: "0x7777777d57c1C6e472fa379b7b3B6c6ba3835073",
5731
- 8453: "0x7777777d57c1C6e472fa379b7b3B6c6ba3835073",
5732
- 42161: "0x7777777d57c1C6e472fa379b7b3B6c6ba3835073",
5733
- 81457: "0x7777777d57c1C6e472fa379b7b3B6c6ba3835073",
5734
- 84532: "0x7777777d57c1C6e472fa379b7b3B6c6ba3835073",
5735
- 421614: "0x7777777d57c1C6e472fa379b7b3B6c6ba3835073",
5736
5676
  7777777: "0x7777777d57c1C6e472fa379b7b3B6c6ba3835073",
5737
5677
  999999999: "0x7777777d57c1C6e472fa379b7b3B6c6ba3835073"
5738
5678
  };
@@ -5798,7 +5738,7 @@ var zoraMintsManagerImplABI = [
5798
5738
  inputs: [
5799
5739
  {
5800
5740
  name: "zoraCreator1155Contract",
5801
- internalType: "contract IMintWithMints",
5741
+ internalType: "contract IMintWithSparks",
5802
5742
  type: "address"
5803
5743
  },
5804
5744
  { name: "minter", internalType: "contract IMinter1155", type: "address" },
@@ -5809,7 +5749,7 @@ var zoraMintsManagerImplABI = [
5809
5749
  },
5810
5750
  {
5811
5751
  name: "collectMintArguments",
5812
- internalType: "struct ICollectWithZoraMints.CollectMintArguments",
5752
+ internalType: "struct ICollectWithZoraSparks.CollectMintArguments",
5813
5753
  type: "tuple",
5814
5754
  components: [
5815
5755
  {
@@ -6051,8 +5991,8 @@ var zoraMintsManagerImplABI = [
6051
5991
  type: "function",
6052
5992
  inputs: [
6053
5993
  { name: "defaultOwner", internalType: "address", type: "address" },
6054
- { name: "zoraMintsSalt", internalType: "bytes32", type: "bytes32" },
6055
- { name: "zoraMintsCreationCode", internalType: "bytes", type: "bytes" },
5994
+ { name: "zoraSparksSalt", internalType: "bytes32", type: "bytes32" },
5995
+ { name: "zoraSparksCreationCode", internalType: "bytes", type: "bytes" },
6056
5996
  { name: "initialEthTokenId", internalType: "uint256", type: "uint256" },
6057
5997
  {
6058
5998
  name: "initialEthTokenPrice",
@@ -6066,7 +6006,7 @@ var zoraMintsManagerImplABI = [
6066
6006
  outputs: [
6067
6007
  {
6068
6008
  name: "mints",
6069
- internalType: "contract IZoraMints1155",
6009
+ internalType: "contract IZoraSparks1155",
6070
6010
  type: "address"
6071
6011
  }
6072
6012
  ]
@@ -6210,9 +6150,9 @@ var zoraMintsManagerImplABI = [
6210
6150
  stateMutability: "view",
6211
6151
  type: "function",
6212
6152
  inputs: [],
6213
- name: "zoraMints1155",
6153
+ name: "zoraSparks1155",
6214
6154
  outputs: [
6215
- { name: "", internalType: "contract IZoraMints1155", type: "address" }
6155
+ { name: "", internalType: "contract IZoraSparks1155", type: "address" }
6216
6156
  ]
6217
6157
  },
6218
6158
  {
@@ -6489,7 +6429,7 @@ var zoraMintsManagerImplABI = [
6489
6429
  name: "InvalidMerkleProof"
6490
6430
  },
6491
6431
  { type: "error", inputs: [], name: "InvalidMintSchedule" },
6492
- { type: "error", inputs: [], name: "InvalidOwnerForAssociatedZoraMints" },
6432
+ { type: "error", inputs: [], name: "InvalidOwnerForAssociatedZoraSparks" },
6493
6433
  { type: "error", inputs: [], name: "InvalidPremintVersion" },
6494
6434
  { type: "error", inputs: [], name: "InvalidRecipient" },
6495
6435
  { type: "error", inputs: [], name: "InvalidSignature" },
@@ -6501,7 +6441,7 @@ var zoraMintsManagerImplABI = [
6501
6441
  },
6502
6442
  { type: "error", inputs: [], name: "InvalidTokenPrice" },
6503
6443
  { type: "error", inputs: [], name: "MintNotYetStarted" },
6504
- { type: "error", inputs: [], name: "MintWithMintsNotSupportedOnContract" },
6444
+ { type: "error", inputs: [], name: "MintWithSparksNotSupportedOnContract" },
6505
6445
  { type: "error", inputs: [], name: "Mint_InsolventSaleTransfer" },
6506
6446
  { type: "error", inputs: [], name: "Mint_InvalidMintArrayLength" },
6507
6447
  { type: "error", inputs: [], name: "Mint_TokenIDMintNotAllowed" },
@@ -6520,8 +6460,8 @@ var zoraMintsManagerImplABI = [
6520
6460
  },
6521
6461
  { type: "error", inputs: [], name: "NotInitializing" },
6522
6462
  { type: "error", inputs: [], name: "NotSelfCall" },
6523
- { type: "error", inputs: [], name: "NotZoraMints1155" },
6524
- { type: "error", inputs: [], name: "OnlyTransfersFromZoraMints" },
6463
+ { type: "error", inputs: [], name: "NotZoraSparks1155" },
6464
+ { type: "error", inputs: [], name: "OnlyTransfersFromZoraSparks" },
6525
6465
  {
6526
6466
  type: "error",
6527
6467
  inputs: [{ name: "owner", internalType: "address", type: "address" }],
@@ -6628,13 +6568,6 @@ var zoraMintsManagerImplABI = [
6628
6568
  { type: "error", inputs: [], name: "premintSignerContractNotAContract" }
6629
6569
  ];
6630
6570
  var zoraMintsManagerImplAddress = {
6631
- 1: "0x77777770cA269366c7208aFcF36FE2C6F7f7608B",
6632
- 10: "0x77777770cA269366c7208aFcF36FE2C6F7f7608B",
6633
- 8453: "0x77777770cA269366c7208aFcF36FE2C6F7f7608B",
6634
- 42161: "0x77777770cA269366c7208aFcF36FE2C6F7f7608B",
6635
- 81457: "0x77777770cA269366c7208aFcF36FE2C6F7f7608B",
6636
- 84532: "0x77777770cA269366c7208aFcF36FE2C6F7f7608B",
6637
- 421614: "0x77777770cA269366c7208aFcF36FE2C6F7f7608B",
6638
6571
  7777777: "0x77777770cA269366c7208aFcF36FE2C6F7f7608B",
6639
6572
  999999999: "0x77777770cA269366c7208aFcF36FE2C6F7f7608B"
6640
6573
  };
@@ -6642,30 +6575,1178 @@ var zoraMintsManagerImplConfig = {
6642
6575
  address: zoraMintsManagerImplAddress,
6643
6576
  abi: zoraMintsManagerImplABI
6644
6577
  };
6645
-
6646
- // src/types.ts
6647
- var PremintConfigVersion = /* @__PURE__ */ ((PremintConfigVersion2) => {
6648
- PremintConfigVersion2["V1"] = "1";
6649
- PremintConfigVersion2["V2"] = "2";
6650
- PremintConfigVersion2["V3"] = "3";
6651
- return PremintConfigVersion2;
6652
- })(PremintConfigVersion || {});
6653
-
6654
- // src/typedData.ts
6655
- var premintTypedDataDomain = ({
6656
- chainId,
6657
- version,
6658
- creator1155Contract: verifyingContract
6659
- }) => ({
6660
- chainId,
6661
- name: "Preminter",
6662
- version,
6663
- verifyingContract
6664
- });
6665
- var premintV1TypedDataType = {
6666
- CreatorAttribution: [
6667
- { name: "tokenConfig", type: "TokenCreationConfig" },
6668
- // unique id scoped to the contract and token to create.
6578
+ var zoraSparks1155ABI = [
6579
+ { stateMutability: "nonpayable", type: "constructor", inputs: [] },
6580
+ {
6581
+ stateMutability: "view",
6582
+ type: "function",
6583
+ inputs: [],
6584
+ name: "ETH_ADDRESS",
6585
+ outputs: [{ name: "", internalType: "address", type: "address" }]
6586
+ },
6587
+ {
6588
+ stateMutability: "view",
6589
+ type: "function",
6590
+ inputs: [],
6591
+ name: "MINIMUM_ERC20_PRICE",
6592
+ outputs: [{ name: "", internalType: "uint256", type: "uint256" }]
6593
+ },
6594
+ {
6595
+ stateMutability: "view",
6596
+ type: "function",
6597
+ inputs: [],
6598
+ name: "MINIMUM_ETH_PRICE",
6599
+ outputs: [{ name: "", internalType: "uint256", type: "uint256" }]
6600
+ },
6601
+ {
6602
+ stateMutability: "view",
6603
+ type: "function",
6604
+ inputs: [],
6605
+ name: "NAME",
6606
+ outputs: [{ name: "", internalType: "string", type: "string" }]
6607
+ },
6608
+ {
6609
+ stateMutability: "view",
6610
+ type: "function",
6611
+ inputs: [],
6612
+ name: "VERSION",
6613
+ outputs: [{ name: "", internalType: "string", type: "string" }]
6614
+ },
6615
+ {
6616
+ stateMutability: "view",
6617
+ type: "function",
6618
+ inputs: [],
6619
+ name: "authority",
6620
+ outputs: [{ name: "", internalType: "address", type: "address" }]
6621
+ },
6622
+ {
6623
+ stateMutability: "view",
6624
+ type: "function",
6625
+ inputs: [
6626
+ { name: "account", internalType: "address", type: "address" },
6627
+ { name: "id", internalType: "uint256", type: "uint256" }
6628
+ ],
6629
+ name: "balanceOf",
6630
+ outputs: [{ name: "", internalType: "uint256", type: "uint256" }]
6631
+ },
6632
+ {
6633
+ stateMutability: "view",
6634
+ type: "function",
6635
+ inputs: [{ name: "account", internalType: "address", type: "address" }],
6636
+ name: "balanceOfAccount",
6637
+ outputs: [{ name: "", internalType: "uint256", type: "uint256" }]
6638
+ },
6639
+ {
6640
+ stateMutability: "view",
6641
+ type: "function",
6642
+ inputs: [
6643
+ { name: "accounts", internalType: "address[]", type: "address[]" },
6644
+ { name: "ids", internalType: "uint256[]", type: "uint256[]" }
6645
+ ],
6646
+ name: "balanceOfBatch",
6647
+ outputs: [{ name: "", internalType: "uint256[]", type: "uint256[]" }]
6648
+ },
6649
+ {
6650
+ stateMutability: "view",
6651
+ type: "function",
6652
+ inputs: [],
6653
+ name: "contractURI",
6654
+ outputs: [{ name: "", internalType: "string", type: "string" }]
6655
+ },
6656
+ {
6657
+ stateMutability: "nonpayable",
6658
+ type: "function",
6659
+ inputs: [
6660
+ { name: "tokenId", internalType: "uint256", type: "uint256" },
6661
+ {
6662
+ name: "tokenConfig",
6663
+ internalType: "struct TokenConfig",
6664
+ type: "tuple",
6665
+ components: [
6666
+ { name: "price", internalType: "uint256", type: "uint256" },
6667
+ { name: "tokenAddress", internalType: "address", type: "address" },
6668
+ { name: "redeemHandler", internalType: "address", type: "address" }
6669
+ ]
6670
+ }
6671
+ ],
6672
+ name: "createToken",
6673
+ outputs: []
6674
+ },
6675
+ {
6676
+ stateMutability: "view",
6677
+ type: "function",
6678
+ inputs: [],
6679
+ name: "eip712Domain",
6680
+ outputs: [
6681
+ { name: "fields", internalType: "bytes1", type: "bytes1" },
6682
+ { name: "name", internalType: "string", type: "string" },
6683
+ { name: "version", internalType: "string", type: "string" },
6684
+ { name: "chainId", internalType: "uint256", type: "uint256" },
6685
+ { name: "verifyingContract", internalType: "address", type: "address" },
6686
+ { name: "salt", internalType: "bytes32", type: "bytes32" },
6687
+ { name: "extensions", internalType: "uint256[]", type: "uint256[]" }
6688
+ ]
6689
+ },
6690
+ {
6691
+ stateMutability: "view",
6692
+ type: "function",
6693
+ inputs: [],
6694
+ name: "getManager",
6695
+ outputs: [{ name: "", internalType: "address", type: "address" }]
6696
+ },
6697
+ {
6698
+ stateMutability: "view",
6699
+ type: "function",
6700
+ inputs: [{ name: "tokenId", internalType: "uint256", type: "uint256" }],
6701
+ name: "getTokenConfig",
6702
+ outputs: [
6703
+ {
6704
+ name: "",
6705
+ internalType: "struct TokenConfig",
6706
+ type: "tuple",
6707
+ components: [
6708
+ { name: "price", internalType: "uint256", type: "uint256" },
6709
+ { name: "tokenAddress", internalType: "address", type: "address" },
6710
+ { name: "redeemHandler", internalType: "address", type: "address" }
6711
+ ]
6712
+ }
6713
+ ]
6714
+ },
6715
+ {
6716
+ stateMutability: "view",
6717
+ type: "function",
6718
+ inputs: [
6719
+ {
6720
+ name: "permit",
6721
+ internalType: "struct IZoraSparks1155Managed.PermitBatch",
6722
+ type: "tuple",
6723
+ components: [
6724
+ { name: "owner", internalType: "address", type: "address" },
6725
+ { name: "to", internalType: "address", type: "address" },
6726
+ { name: "tokenIds", internalType: "uint256[]", type: "uint256[]" },
6727
+ { name: "quantities", internalType: "uint256[]", type: "uint256[]" },
6728
+ { name: "safeTransferData", internalType: "bytes", type: "bytes" },
6729
+ { name: "deadline", internalType: "uint256", type: "uint256" },
6730
+ { name: "nonce", internalType: "uint256", type: "uint256" }
6731
+ ]
6732
+ }
6733
+ ],
6734
+ name: "hashPermitBatch",
6735
+ outputs: [{ name: "", internalType: "bytes32", type: "bytes32" }]
6736
+ },
6737
+ {
6738
+ stateMutability: "view",
6739
+ type: "function",
6740
+ inputs: [
6741
+ {
6742
+ name: "permit",
6743
+ internalType: "struct IZoraSparks1155Managed.PermitSingle",
6744
+ type: "tuple",
6745
+ components: [
6746
+ { name: "owner", internalType: "address", type: "address" },
6747
+ { name: "to", internalType: "address", type: "address" },
6748
+ { name: "tokenId", internalType: "uint256", type: "uint256" },
6749
+ { name: "quantity", internalType: "uint256", type: "uint256" },
6750
+ { name: "safeTransferData", internalType: "bytes", type: "bytes" },
6751
+ { name: "deadline", internalType: "uint256", type: "uint256" },
6752
+ { name: "nonce", internalType: "uint256", type: "uint256" }
6753
+ ]
6754
+ }
6755
+ ],
6756
+ name: "hashPermitSingle",
6757
+ outputs: [{ name: "", internalType: "bytes32", type: "bytes32" }]
6758
+ },
6759
+ {
6760
+ stateMutability: "view",
6761
+ type: "function",
6762
+ inputs: [
6763
+ { name: "account", internalType: "address", type: "address" },
6764
+ { name: "operator", internalType: "address", type: "address" }
6765
+ ],
6766
+ name: "isApprovedForAll",
6767
+ outputs: [{ name: "", internalType: "bool", type: "bool" }]
6768
+ },
6769
+ {
6770
+ stateMutability: "view",
6771
+ type: "function",
6772
+ inputs: [],
6773
+ name: "isConsumingScheduledOp",
6774
+ outputs: [{ name: "", internalType: "bytes4", type: "bytes4" }]
6775
+ },
6776
+ {
6777
+ stateMutability: "view",
6778
+ type: "function",
6779
+ inputs: [
6780
+ {
6781
+ name: "permit",
6782
+ internalType: "struct IZoraSparks1155Managed.PermitBatch",
6783
+ type: "tuple",
6784
+ components: [
6785
+ { name: "owner", internalType: "address", type: "address" },
6786
+ { name: "to", internalType: "address", type: "address" },
6787
+ { name: "tokenIds", internalType: "uint256[]", type: "uint256[]" },
6788
+ { name: "quantities", internalType: "uint256[]", type: "uint256[]" },
6789
+ { name: "safeTransferData", internalType: "bytes", type: "bytes" },
6790
+ { name: "deadline", internalType: "uint256", type: "uint256" },
6791
+ { name: "nonce", internalType: "uint256", type: "uint256" }
6792
+ ]
6793
+ },
6794
+ { name: "signature", internalType: "bytes", type: "bytes" }
6795
+ ],
6796
+ name: "isValidSignatureTransferBatch",
6797
+ outputs: [{ name: "", internalType: "bool", type: "bool" }]
6798
+ },
6799
+ {
6800
+ stateMutability: "view",
6801
+ type: "function",
6802
+ inputs: [
6803
+ {
6804
+ name: "permit",
6805
+ internalType: "struct IZoraSparks1155Managed.PermitSingle",
6806
+ type: "tuple",
6807
+ components: [
6808
+ { name: "owner", internalType: "address", type: "address" },
6809
+ { name: "to", internalType: "address", type: "address" },
6810
+ { name: "tokenId", internalType: "uint256", type: "uint256" },
6811
+ { name: "quantity", internalType: "uint256", type: "uint256" },
6812
+ { name: "safeTransferData", internalType: "bytes", type: "bytes" },
6813
+ { name: "deadline", internalType: "uint256", type: "uint256" },
6814
+ { name: "nonce", internalType: "uint256", type: "uint256" }
6815
+ ]
6816
+ },
6817
+ { name: "signature", internalType: "bytes", type: "bytes" }
6818
+ ],
6819
+ name: "isValidSignatureTransferSingle",
6820
+ outputs: [{ name: "", internalType: "bool", type: "bool" }]
6821
+ },
6822
+ {
6823
+ stateMutability: "nonpayable",
6824
+ type: "function",
6825
+ inputs: [
6826
+ { name: "tokenId", internalType: "uint256", type: "uint256" },
6827
+ { name: "tokenAddress", internalType: "address", type: "address" },
6828
+ { name: "quantity", internalType: "uint256", type: "uint256" },
6829
+ { name: "recipient", internalType: "address", type: "address" },
6830
+ { name: "data", internalType: "bytes", type: "bytes" }
6831
+ ],
6832
+ name: "mintTokenWithERC20",
6833
+ outputs: []
6834
+ },
6835
+ {
6836
+ stateMutability: "payable",
6837
+ type: "function",
6838
+ inputs: [
6839
+ { name: "tokenId", internalType: "uint256", type: "uint256" },
6840
+ { name: "quantity", internalType: "uint256", type: "uint256" },
6841
+ { name: "recipient", internalType: "address", type: "address" },
6842
+ { name: "data", internalType: "bytes", type: "bytes" }
6843
+ ],
6844
+ name: "mintTokenWithEth",
6845
+ outputs: []
6846
+ },
6847
+ {
6848
+ stateMutability: "pure",
6849
+ type: "function",
6850
+ inputs: [],
6851
+ name: "name",
6852
+ outputs: [{ name: "", internalType: "string", type: "string" }]
6853
+ },
6854
+ {
6855
+ stateMutability: "view",
6856
+ type: "function",
6857
+ inputs: [
6858
+ { name: "owner", internalType: "address", type: "address" },
6859
+ { name: "nonce", internalType: "uint256", type: "uint256" }
6860
+ ],
6861
+ name: "nonceUsed",
6862
+ outputs: [{ name: "", internalType: "bool", type: "bool" }]
6863
+ },
6864
+ {
6865
+ stateMutability: "nonpayable",
6866
+ type: "function",
6867
+ inputs: [
6868
+ { name: "newContractURI", internalType: "string", type: "string" },
6869
+ { name: "newBaseURI", internalType: "string", type: "string" }
6870
+ ],
6871
+ name: "notifyURIsUpdated",
6872
+ outputs: []
6873
+ },
6874
+ {
6875
+ stateMutability: "nonpayable",
6876
+ type: "function",
6877
+ inputs: [
6878
+ { name: "newUri", internalType: "string", type: "string" },
6879
+ { name: "tokenId", internalType: "uint256", type: "uint256" }
6880
+ ],
6881
+ name: "notifyUpdatedTokenURI",
6882
+ outputs: []
6883
+ },
6884
+ {
6885
+ stateMutability: "nonpayable",
6886
+ type: "function",
6887
+ inputs: [
6888
+ {
6889
+ name: "permit",
6890
+ internalType: "struct IZoraSparks1155Managed.PermitSingle",
6891
+ type: "tuple",
6892
+ components: [
6893
+ { name: "owner", internalType: "address", type: "address" },
6894
+ { name: "to", internalType: "address", type: "address" },
6895
+ { name: "tokenId", internalType: "uint256", type: "uint256" },
6896
+ { name: "quantity", internalType: "uint256", type: "uint256" },
6897
+ { name: "safeTransferData", internalType: "bytes", type: "bytes" },
6898
+ { name: "deadline", internalType: "uint256", type: "uint256" },
6899
+ { name: "nonce", internalType: "uint256", type: "uint256" }
6900
+ ]
6901
+ },
6902
+ { name: "signature", internalType: "bytes", type: "bytes" }
6903
+ ],
6904
+ name: "permitSafeTransfer",
6905
+ outputs: []
6906
+ },
6907
+ {
6908
+ stateMutability: "nonpayable",
6909
+ type: "function",
6910
+ inputs: [
6911
+ {
6912
+ name: "permit",
6913
+ internalType: "struct IZoraSparks1155Managed.PermitBatch",
6914
+ type: "tuple",
6915
+ components: [
6916
+ { name: "owner", internalType: "address", type: "address" },
6917
+ { name: "to", internalType: "address", type: "address" },
6918
+ { name: "tokenIds", internalType: "uint256[]", type: "uint256[]" },
6919
+ { name: "quantities", internalType: "uint256[]", type: "uint256[]" },
6920
+ { name: "safeTransferData", internalType: "bytes", type: "bytes" },
6921
+ { name: "deadline", internalType: "uint256", type: "uint256" },
6922
+ { name: "nonce", internalType: "uint256", type: "uint256" }
6923
+ ]
6924
+ },
6925
+ { name: "signature", internalType: "bytes", type: "bytes" }
6926
+ ],
6927
+ name: "permitSafeTransferBatch",
6928
+ outputs: []
6929
+ },
6930
+ {
6931
+ stateMutability: "nonpayable",
6932
+ type: "function",
6933
+ inputs: [
6934
+ { name: "tokenId", internalType: "uint256", type: "uint256" },
6935
+ { name: "quantity", internalType: "uint256", type: "uint256" },
6936
+ { name: "recipient", internalType: "address", type: "address" }
6937
+ ],
6938
+ name: "redeem",
6939
+ outputs: [
6940
+ {
6941
+ name: "",
6942
+ internalType: "struct Redemption",
6943
+ type: "tuple",
6944
+ components: [
6945
+ { name: "tokenAddress", internalType: "address", type: "address" },
6946
+ { name: "valueRedeemed", internalType: "uint256", type: "uint256" }
6947
+ ]
6948
+ }
6949
+ ]
6950
+ },
6951
+ {
6952
+ stateMutability: "nonpayable",
6953
+ type: "function",
6954
+ inputs: [
6955
+ { name: "tokenIds", internalType: "uint256[]", type: "uint256[]" },
6956
+ { name: "quantities", internalType: "uint256[]", type: "uint256[]" },
6957
+ { name: "recipient", internalType: "address", type: "address" }
6958
+ ],
6959
+ name: "redeemBatch",
6960
+ outputs: [
6961
+ {
6962
+ name: "redemptions",
6963
+ internalType: "struct Redemption[]",
6964
+ type: "tuple[]",
6965
+ components: [
6966
+ { name: "tokenAddress", internalType: "address", type: "address" },
6967
+ { name: "valueRedeemed", internalType: "uint256", type: "uint256" }
6968
+ ]
6969
+ }
6970
+ ]
6971
+ },
6972
+ {
6973
+ stateMutability: "nonpayable",
6974
+ type: "function",
6975
+ inputs: [
6976
+ { name: "from", internalType: "address", type: "address" },
6977
+ { name: "to", internalType: "address", type: "address" },
6978
+ { name: "ids", internalType: "uint256[]", type: "uint256[]" },
6979
+ { name: "values", internalType: "uint256[]", type: "uint256[]" },
6980
+ { name: "data", internalType: "bytes", type: "bytes" }
6981
+ ],
6982
+ name: "safeBatchTransferFrom",
6983
+ outputs: []
6984
+ },
6985
+ {
6986
+ stateMutability: "nonpayable",
6987
+ type: "function",
6988
+ inputs: [
6989
+ { name: "from", internalType: "address", type: "address" },
6990
+ { name: "to", internalType: "address", type: "address" },
6991
+ { name: "id", internalType: "uint256", type: "uint256" },
6992
+ { name: "value", internalType: "uint256", type: "uint256" },
6993
+ { name: "data", internalType: "bytes", type: "bytes" }
6994
+ ],
6995
+ name: "safeTransferFrom",
6996
+ outputs: []
6997
+ },
6998
+ {
6999
+ stateMutability: "nonpayable",
7000
+ type: "function",
7001
+ inputs: [
7002
+ { name: "operator", internalType: "address", type: "address" },
7003
+ { name: "approved", internalType: "bool", type: "bool" }
7004
+ ],
7005
+ name: "setApprovalForAll",
7006
+ outputs: []
7007
+ },
7008
+ {
7009
+ stateMutability: "nonpayable",
7010
+ type: "function",
7011
+ inputs: [
7012
+ { name: "newAuthority", internalType: "address", type: "address" }
7013
+ ],
7014
+ name: "setAuthority",
7015
+ outputs: []
7016
+ },
7017
+ {
7018
+ stateMutability: "view",
7019
+ type: "function",
7020
+ inputs: [{ name: "interfaceId", internalType: "bytes4", type: "bytes4" }],
7021
+ name: "supportsInterface",
7022
+ outputs: [{ name: "", internalType: "bool", type: "bool" }]
7023
+ },
7024
+ {
7025
+ stateMutability: "pure",
7026
+ type: "function",
7027
+ inputs: [],
7028
+ name: "symbol",
7029
+ outputs: [{ name: "", internalType: "string", type: "string" }]
7030
+ },
7031
+ {
7032
+ stateMutability: "view",
7033
+ type: "function",
7034
+ inputs: [{ name: "tokenId", internalType: "uint256", type: "uint256" }],
7035
+ name: "tokenExists",
7036
+ outputs: [{ name: "", internalType: "bool", type: "bool" }]
7037
+ },
7038
+ {
7039
+ stateMutability: "view",
7040
+ type: "function",
7041
+ inputs: [{ name: "tokenId", internalType: "uint256", type: "uint256" }],
7042
+ name: "tokenPrice",
7043
+ outputs: [{ name: "", internalType: "uint256", type: "uint256" }]
7044
+ },
7045
+ {
7046
+ stateMutability: "view",
7047
+ type: "function",
7048
+ inputs: [{ name: "tokenId", internalType: "uint256", type: "uint256" }],
7049
+ name: "uri",
7050
+ outputs: [{ name: "", internalType: "string", type: "string" }]
7051
+ },
7052
+ {
7053
+ type: "event",
7054
+ anonymous: false,
7055
+ inputs: [
7056
+ {
7057
+ name: "account",
7058
+ internalType: "address",
7059
+ type: "address",
7060
+ indexed: true
7061
+ },
7062
+ {
7063
+ name: "operator",
7064
+ internalType: "address",
7065
+ type: "address",
7066
+ indexed: true
7067
+ },
7068
+ { name: "approved", internalType: "bool", type: "bool", indexed: false }
7069
+ ],
7070
+ name: "ApprovalForAll"
7071
+ },
7072
+ {
7073
+ type: "event",
7074
+ anonymous: false,
7075
+ inputs: [
7076
+ {
7077
+ name: "authority",
7078
+ internalType: "address",
7079
+ type: "address",
7080
+ indexed: false
7081
+ }
7082
+ ],
7083
+ name: "AuthorityUpdated"
7084
+ },
7085
+ { type: "event", anonymous: false, inputs: [], name: "ContractURIUpdated" },
7086
+ { type: "event", anonymous: false, inputs: [], name: "EIP712DomainChanged" },
7087
+ {
7088
+ type: "event",
7089
+ anonymous: false,
7090
+ inputs: [
7091
+ {
7092
+ name: "tokenId",
7093
+ internalType: "uint256",
7094
+ type: "uint256",
7095
+ indexed: true
7096
+ },
7097
+ {
7098
+ name: "price",
7099
+ internalType: "uint256",
7100
+ type: "uint256",
7101
+ indexed: true
7102
+ },
7103
+ {
7104
+ name: "tokenAddress",
7105
+ internalType: "address",
7106
+ type: "address",
7107
+ indexed: true
7108
+ }
7109
+ ],
7110
+ name: "TokenCreated"
7111
+ },
7112
+ {
7113
+ type: "event",
7114
+ anonymous: false,
7115
+ inputs: [
7116
+ {
7117
+ name: "operator",
7118
+ internalType: "address",
7119
+ type: "address",
7120
+ indexed: true
7121
+ },
7122
+ { name: "from", internalType: "address", type: "address", indexed: true },
7123
+ { name: "to", internalType: "address", type: "address", indexed: true },
7124
+ {
7125
+ name: "ids",
7126
+ internalType: "uint256[]",
7127
+ type: "uint256[]",
7128
+ indexed: false
7129
+ },
7130
+ {
7131
+ name: "values",
7132
+ internalType: "uint256[]",
7133
+ type: "uint256[]",
7134
+ indexed: false
7135
+ }
7136
+ ],
7137
+ name: "TransferBatch"
7138
+ },
7139
+ {
7140
+ type: "event",
7141
+ anonymous: false,
7142
+ inputs: [
7143
+ {
7144
+ name: "operator",
7145
+ internalType: "address",
7146
+ type: "address",
7147
+ indexed: true
7148
+ },
7149
+ { name: "from", internalType: "address", type: "address", indexed: true },
7150
+ { name: "to", internalType: "address", type: "address", indexed: true },
7151
+ { name: "id", internalType: "uint256", type: "uint256", indexed: false },
7152
+ {
7153
+ name: "value",
7154
+ internalType: "uint256",
7155
+ type: "uint256",
7156
+ indexed: false
7157
+ }
7158
+ ],
7159
+ name: "TransferSingle"
7160
+ },
7161
+ {
7162
+ type: "event",
7163
+ anonymous: false,
7164
+ inputs: [
7165
+ { name: "value", internalType: "string", type: "string", indexed: false },
7166
+ { name: "id", internalType: "uint256", type: "uint256", indexed: true }
7167
+ ],
7168
+ name: "URI"
7169
+ },
7170
+ {
7171
+ type: "event",
7172
+ anonymous: false,
7173
+ inputs: [
7174
+ {
7175
+ name: "contractURI",
7176
+ internalType: "string",
7177
+ type: "string",
7178
+ indexed: false
7179
+ },
7180
+ {
7181
+ name: "baseURI",
7182
+ internalType: "string",
7183
+ type: "string",
7184
+ indexed: false
7185
+ }
7186
+ ],
7187
+ name: "URIsUpdated"
7188
+ },
7189
+ {
7190
+ type: "error",
7191
+ inputs: [{ name: "authority", internalType: "address", type: "address" }],
7192
+ name: "AccessManagedInvalidAuthority"
7193
+ },
7194
+ {
7195
+ type: "error",
7196
+ inputs: [
7197
+ { name: "caller", internalType: "address", type: "address" },
7198
+ { name: "delay", internalType: "uint32", type: "uint32" }
7199
+ ],
7200
+ name: "AccessManagedRequiredDelay"
7201
+ },
7202
+ {
7203
+ type: "error",
7204
+ inputs: [{ name: "caller", internalType: "address", type: "address" }],
7205
+ name: "AccessManagedUnauthorized"
7206
+ },
7207
+ {
7208
+ type: "error",
7209
+ inputs: [{ name: "target", internalType: "address", type: "address" }],
7210
+ name: "AddressEmptyCode"
7211
+ },
7212
+ {
7213
+ type: "error",
7214
+ inputs: [{ name: "account", internalType: "address", type: "address" }],
7215
+ name: "AddressInsufficientBalance"
7216
+ },
7217
+ {
7218
+ type: "error",
7219
+ inputs: [
7220
+ { name: "lengthA", internalType: "uint256", type: "uint256" },
7221
+ { name: "lengthB", internalType: "uint256", type: "uint256" }
7222
+ ],
7223
+ name: "ArrayLengthMismatch"
7224
+ },
7225
+ {
7226
+ type: "error",
7227
+ inputs: [{ name: "returnData", internalType: "bytes", type: "bytes" }],
7228
+ name: "CallFailed"
7229
+ },
7230
+ {
7231
+ type: "error",
7232
+ inputs: [
7233
+ { name: "sender", internalType: "address", type: "address" },
7234
+ { name: "balance", internalType: "uint256", type: "uint256" },
7235
+ { name: "needed", internalType: "uint256", type: "uint256" },
7236
+ { name: "tokenId", internalType: "uint256", type: "uint256" }
7237
+ ],
7238
+ name: "ERC1155InsufficientBalance"
7239
+ },
7240
+ {
7241
+ type: "error",
7242
+ inputs: [{ name: "approver", internalType: "address", type: "address" }],
7243
+ name: "ERC1155InvalidApprover"
7244
+ },
7245
+ {
7246
+ type: "error",
7247
+ inputs: [
7248
+ { name: "idsLength", internalType: "uint256", type: "uint256" },
7249
+ { name: "valuesLength", internalType: "uint256", type: "uint256" }
7250
+ ],
7251
+ name: "ERC1155InvalidArrayLength"
7252
+ },
7253
+ {
7254
+ type: "error",
7255
+ inputs: [{ name: "operator", internalType: "address", type: "address" }],
7256
+ name: "ERC1155InvalidOperator"
7257
+ },
7258
+ {
7259
+ type: "error",
7260
+ inputs: [{ name: "receiver", internalType: "address", type: "address" }],
7261
+ name: "ERC1155InvalidReceiver"
7262
+ },
7263
+ {
7264
+ type: "error",
7265
+ inputs: [{ name: "sender", internalType: "address", type: "address" }],
7266
+ name: "ERC1155InvalidSender"
7267
+ },
7268
+ {
7269
+ type: "error",
7270
+ inputs: [
7271
+ { name: "operator", internalType: "address", type: "address" },
7272
+ { name: "owner", internalType: "address", type: "address" }
7273
+ ],
7274
+ name: "ERC1155MissingApprovalForAll"
7275
+ },
7276
+ { type: "error", inputs: [], name: "ERC20TransferSlippage" },
7277
+ {
7278
+ type: "error",
7279
+ inputs: [{ name: "deadline", internalType: "uint256", type: "uint256" }],
7280
+ name: "ERC2612ExpiredSignature"
7281
+ },
7282
+ { type: "error", inputs: [], name: "ETHTransferFailed" },
7283
+ { type: "error", inputs: [], name: "FailedInnerCall" },
7284
+ { type: "error", inputs: [], name: "IncorrectAmountSent" },
7285
+ {
7286
+ type: "error",
7287
+ inputs: [
7288
+ { name: "account", internalType: "address", type: "address" },
7289
+ { name: "currentNonce", internalType: "uint256", type: "uint256" }
7290
+ ],
7291
+ name: "InvalidAccountNonce"
7292
+ },
7293
+ { type: "error", inputs: [], name: "InvalidRecipient" },
7294
+ { type: "error", inputs: [], name: "InvalidShortString" },
7295
+ { type: "error", inputs: [], name: "InvalidSignature" },
7296
+ { type: "error", inputs: [], name: "InvalidTokenPrice" },
7297
+ { type: "error", inputs: [], name: "NoUriForNonexistentToken" },
7298
+ {
7299
+ type: "error",
7300
+ inputs: [{ name: "handler", internalType: "address", type: "address" }],
7301
+ name: "NotARedeemHandler"
7302
+ },
7303
+ {
7304
+ type: "error",
7305
+ inputs: [{ name: "token", internalType: "address", type: "address" }],
7306
+ name: "SafeERC20FailedOperation"
7307
+ },
7308
+ {
7309
+ type: "error",
7310
+ inputs: [{ name: "str", internalType: "string", type: "string" }],
7311
+ name: "StringTooLong"
7312
+ },
7313
+ { type: "error", inputs: [], name: "TokenAlreadyCreated" },
7314
+ { type: "error", inputs: [], name: "TokenDoesNotExist" },
7315
+ {
7316
+ type: "error",
7317
+ inputs: [
7318
+ { name: "storedTokenAddress", internalType: "address", type: "address" },
7319
+ {
7320
+ name: "expectedTokenAddress",
7321
+ internalType: "address",
7322
+ type: "address"
7323
+ }
7324
+ ],
7325
+ name: "TokenMismatch"
7326
+ },
7327
+ { type: "error", inputs: [], name: "TokenNotMintable" }
7328
+ ];
7329
+ var zoraSparks1155Address = {
7330
+ 7777777: "0x7777777D1EEdCa69D2f2b85F4012E6045d162B5E",
7331
+ 999999999: "0x7777777D1EEdCa69D2f2b85F4012E6045d162B5E"
7332
+ };
7333
+ var zoraSparks1155Config = {
7334
+ address: zoraSparks1155Address,
7335
+ abi: zoraSparks1155ABI
7336
+ };
7337
+ var zoraSparksManagerImplABI = [
7338
+ { stateMutability: "nonpayable", type: "constructor", inputs: [] },
7339
+ {
7340
+ stateMutability: "view",
7341
+ type: "function",
7342
+ inputs: [],
7343
+ name: "UPGRADE_INTERFACE_VERSION",
7344
+ outputs: [{ name: "", internalType: "string", type: "string" }]
7345
+ },
7346
+ {
7347
+ stateMutability: "nonpayable",
7348
+ type: "function",
7349
+ inputs: [],
7350
+ name: "acceptOwnership",
7351
+ outputs: []
7352
+ },
7353
+ {
7354
+ stateMutability: "view",
7355
+ type: "function",
7356
+ inputs: [
7357
+ { name: "caller", internalType: "address", type: "address" },
7358
+ { name: "", internalType: "address", type: "address" },
7359
+ { name: "", internalType: "bytes4", type: "bytes4" }
7360
+ ],
7361
+ name: "canCall",
7362
+ outputs: [{ name: "", internalType: "bool", type: "bool" }]
7363
+ },
7364
+ {
7365
+ stateMutability: "pure",
7366
+ type: "function",
7367
+ inputs: [],
7368
+ name: "contractName",
7369
+ outputs: [{ name: "", internalType: "string", type: "string" }]
7370
+ },
7371
+ {
7372
+ stateMutability: "view",
7373
+ type: "function",
7374
+ inputs: [],
7375
+ name: "contractURI",
7376
+ outputs: [{ name: "", internalType: "string", type: "string" }]
7377
+ },
7378
+ {
7379
+ stateMutability: "pure",
7380
+ type: "function",
7381
+ inputs: [],
7382
+ name: "contractVersion",
7383
+ outputs: [{ name: "", internalType: "string", type: "string" }]
7384
+ },
7385
+ {
7386
+ stateMutability: "nonpayable",
7387
+ type: "function",
7388
+ inputs: [
7389
+ { name: "tokenId", internalType: "uint256", type: "uint256" },
7390
+ {
7391
+ name: "tokenConfig",
7392
+ internalType: "struct TokenConfig",
7393
+ type: "tuple",
7394
+ components: [
7395
+ { name: "price", internalType: "uint256", type: "uint256" },
7396
+ { name: "tokenAddress", internalType: "address", type: "address" },
7397
+ { name: "redeemHandler", internalType: "address", type: "address" }
7398
+ ]
7399
+ }
7400
+ ],
7401
+ name: "createToken",
7402
+ outputs: []
7403
+ },
7404
+ {
7405
+ stateMutability: "view",
7406
+ type: "function",
7407
+ inputs: [],
7408
+ name: "implementation",
7409
+ outputs: [{ name: "", internalType: "address", type: "address" }]
7410
+ },
7411
+ {
7412
+ stateMutability: "nonpayable",
7413
+ type: "function",
7414
+ inputs: [
7415
+ { name: "defaultOwner", internalType: "address", type: "address" },
7416
+ { name: "zoraSparksSalt", internalType: "bytes32", type: "bytes32" },
7417
+ { name: "zoraSparksCreationCode", internalType: "bytes", type: "bytes" },
7418
+ { name: "initialEthTokenId", internalType: "uint256", type: "uint256" },
7419
+ {
7420
+ name: "initialEthTokenPrice",
7421
+ internalType: "uint256",
7422
+ type: "uint256"
7423
+ },
7424
+ { name: "newBaseURI", internalType: "string", type: "string" },
7425
+ { name: "newContractURI", internalType: "string", type: "string" }
7426
+ ],
7427
+ name: "initialize",
7428
+ outputs: [
7429
+ {
7430
+ name: "sparks",
7431
+ internalType: "contract IZoraSparks1155",
7432
+ type: "address"
7433
+ }
7434
+ ]
7435
+ },
7436
+ {
7437
+ stateMutability: "nonpayable",
7438
+ type: "function",
7439
+ inputs: [
7440
+ { name: "tokenId", internalType: "uint256", type: "uint256" },
7441
+ { name: "tokenAddress", internalType: "address", type: "address" },
7442
+ { name: "quantity", internalType: "uint256", type: "uint256" },
7443
+ { name: "recipient", internalType: "address", type: "address" }
7444
+ ],
7445
+ name: "mintWithERC20",
7446
+ outputs: []
7447
+ },
7448
+ {
7449
+ stateMutability: "payable",
7450
+ type: "function",
7451
+ inputs: [
7452
+ { name: "tokenId", internalType: "uint256", type: "uint256" },
7453
+ { name: "quantity", internalType: "uint256", type: "uint256" },
7454
+ { name: "recipient", internalType: "address", type: "address" }
7455
+ ],
7456
+ name: "mintWithEth",
7457
+ outputs: []
7458
+ },
7459
+ {
7460
+ stateMutability: "view",
7461
+ type: "function",
7462
+ inputs: [],
7463
+ name: "owner",
7464
+ outputs: [{ name: "", internalType: "address", type: "address" }]
7465
+ },
7466
+ {
7467
+ stateMutability: "view",
7468
+ type: "function",
7469
+ inputs: [],
7470
+ name: "pendingOwner",
7471
+ outputs: [{ name: "", internalType: "address", type: "address" }]
7472
+ },
7473
+ {
7474
+ stateMutability: "view",
7475
+ type: "function",
7476
+ inputs: [],
7477
+ name: "proxiableUUID",
7478
+ outputs: [{ name: "", internalType: "bytes32", type: "bytes32" }]
7479
+ },
7480
+ {
7481
+ stateMutability: "nonpayable",
7482
+ type: "function",
7483
+ inputs: [],
7484
+ name: "renounceOwnership",
7485
+ outputs: []
7486
+ },
7487
+ {
7488
+ stateMutability: "nonpayable",
7489
+ type: "function",
7490
+ inputs: [
7491
+ { name: "newContractURI", internalType: "string", type: "string" },
7492
+ { name: "newBaseURI", internalType: "string", type: "string" },
7493
+ {
7494
+ name: "tokenIdsToNotifyUpdate",
7495
+ internalType: "uint256[]",
7496
+ type: "uint256[]"
7497
+ }
7498
+ ],
7499
+ name: "setMetadataURIs",
7500
+ outputs: []
7501
+ },
7502
+ {
7503
+ stateMutability: "nonpayable",
7504
+ type: "function",
7505
+ inputs: [{ name: "newOwner", internalType: "address", type: "address" }],
7506
+ name: "transferOwnership",
7507
+ outputs: []
7508
+ },
7509
+ {
7510
+ stateMutability: "payable",
7511
+ type: "function",
7512
+ inputs: [
7513
+ { name: "newImplementation", internalType: "address", type: "address" },
7514
+ { name: "data", internalType: "bytes", type: "bytes" }
7515
+ ],
7516
+ name: "upgradeToAndCall",
7517
+ outputs: []
7518
+ },
7519
+ {
7520
+ stateMutability: "view",
7521
+ type: "function",
7522
+ inputs: [{ name: "tokenId", internalType: "uint256", type: "uint256" }],
7523
+ name: "uri",
7524
+ outputs: [{ name: "", internalType: "string", type: "string" }]
7525
+ },
7526
+ {
7527
+ stateMutability: "view",
7528
+ type: "function",
7529
+ inputs: [],
7530
+ name: "zoraSparks1155",
7531
+ outputs: [
7532
+ { name: "", internalType: "contract IZoraSparks1155", type: "address" }
7533
+ ]
7534
+ },
7535
+ {
7536
+ type: "event",
7537
+ anonymous: false,
7538
+ inputs: [
7539
+ {
7540
+ name: "version",
7541
+ internalType: "uint64",
7542
+ type: "uint64",
7543
+ indexed: false
7544
+ }
7545
+ ],
7546
+ name: "Initialized"
7547
+ },
7548
+ {
7549
+ type: "event",
7550
+ anonymous: false,
7551
+ inputs: [
7552
+ {
7553
+ name: "previousOwner",
7554
+ internalType: "address",
7555
+ type: "address",
7556
+ indexed: true
7557
+ },
7558
+ {
7559
+ name: "newOwner",
7560
+ internalType: "address",
7561
+ type: "address",
7562
+ indexed: true
7563
+ }
7564
+ ],
7565
+ name: "OwnershipTransferStarted"
7566
+ },
7567
+ {
7568
+ type: "event",
7569
+ anonymous: false,
7570
+ inputs: [
7571
+ {
7572
+ name: "previousOwner",
7573
+ internalType: "address",
7574
+ type: "address",
7575
+ indexed: true
7576
+ },
7577
+ {
7578
+ name: "newOwner",
7579
+ internalType: "address",
7580
+ type: "address",
7581
+ indexed: true
7582
+ }
7583
+ ],
7584
+ name: "OwnershipTransferred"
7585
+ },
7586
+ {
7587
+ type: "event",
7588
+ anonymous: false,
7589
+ inputs: [
7590
+ {
7591
+ name: "contractURI",
7592
+ internalType: "string",
7593
+ type: "string",
7594
+ indexed: false
7595
+ },
7596
+ {
7597
+ name: "baseURI",
7598
+ internalType: "string",
7599
+ type: "string",
7600
+ indexed: false
7601
+ }
7602
+ ],
7603
+ name: "URIsUpdated"
7604
+ },
7605
+ {
7606
+ type: "event",
7607
+ anonymous: false,
7608
+ inputs: [
7609
+ {
7610
+ name: "implementation",
7611
+ internalType: "address",
7612
+ type: "address",
7613
+ indexed: true
7614
+ }
7615
+ ],
7616
+ name: "Upgraded"
7617
+ },
7618
+ {
7619
+ type: "error",
7620
+ inputs: [{ name: "target", internalType: "address", type: "address" }],
7621
+ name: "AddressEmptyCode"
7622
+ },
7623
+ {
7624
+ type: "error",
7625
+ inputs: [{ name: "account", internalType: "address", type: "address" }],
7626
+ name: "AddressInsufficientBalance"
7627
+ },
7628
+ {
7629
+ type: "error",
7630
+ inputs: [
7631
+ { name: "lengthA", internalType: "uint256", type: "uint256" },
7632
+ { name: "lengthB", internalType: "uint256", type: "uint256" }
7633
+ ],
7634
+ name: "ArrayLengthMismatch"
7635
+ },
7636
+ { type: "error", inputs: [], name: "Create2EmptyBytecode" },
7637
+ { type: "error", inputs: [], name: "Create2FailedDeployment" },
7638
+ {
7639
+ type: "error",
7640
+ inputs: [
7641
+ { name: "balance", internalType: "uint256", type: "uint256" },
7642
+ { name: "needed", internalType: "uint256", type: "uint256" }
7643
+ ],
7644
+ name: "Create2InsufficientBalance"
7645
+ },
7646
+ { type: "error", inputs: [], name: "DefaultOwnerCannotBeZero" },
7647
+ {
7648
+ type: "error",
7649
+ inputs: [
7650
+ { name: "implementation", internalType: "address", type: "address" }
7651
+ ],
7652
+ name: "ERC1967InvalidImplementation"
7653
+ },
7654
+ { type: "error", inputs: [], name: "ERC1967NonPayable" },
7655
+ { type: "error", inputs: [], name: "ERC20TransferSlippage" },
7656
+ { type: "error", inputs: [], name: "ETHTransferFailed" },
7657
+ { type: "error", inputs: [], name: "FailedInnerCall" },
7658
+ { type: "error", inputs: [], name: "IncorrectAmountSent" },
7659
+ { type: "error", inputs: [], name: "InvalidAdminAction" },
7660
+ { type: "error", inputs: [], name: "InvalidInitialization" },
7661
+ { type: "error", inputs: [], name: "InvalidOwnerForAssociatedZoraSparks" },
7662
+ { type: "error", inputs: [], name: "InvalidRecipient" },
7663
+ { type: "error", inputs: [], name: "InvalidTokenPrice" },
7664
+ { type: "error", inputs: [], name: "NoUriForNonexistentToken" },
7665
+ {
7666
+ type: "error",
7667
+ inputs: [{ name: "handler", internalType: "address", type: "address" }],
7668
+ name: "NotARedeemHandler"
7669
+ },
7670
+ { type: "error", inputs: [], name: "NotInitializing" },
7671
+ {
7672
+ type: "error",
7673
+ inputs: [{ name: "owner", internalType: "address", type: "address" }],
7674
+ name: "OwnableInvalidOwner"
7675
+ },
7676
+ {
7677
+ type: "error",
7678
+ inputs: [{ name: "account", internalType: "address", type: "address" }],
7679
+ name: "OwnableUnauthorizedAccount"
7680
+ },
7681
+ { type: "error", inputs: [], name: "PremintExecutorCannotBeZero" },
7682
+ { type: "error", inputs: [], name: "ReentrancyGuardReentrantCall" },
7683
+ {
7684
+ type: "error",
7685
+ inputs: [{ name: "token", internalType: "address", type: "address" }],
7686
+ name: "SafeERC20FailedOperation"
7687
+ },
7688
+ { type: "error", inputs: [], name: "TokenAlreadyCreated" },
7689
+ { type: "error", inputs: [], name: "TokenDoesNotExist" },
7690
+ {
7691
+ type: "error",
7692
+ inputs: [
7693
+ { name: "storedTokenAddress", internalType: "address", type: "address" },
7694
+ {
7695
+ name: "expectedTokenAddress",
7696
+ internalType: "address",
7697
+ type: "address"
7698
+ }
7699
+ ],
7700
+ name: "TokenMismatch"
7701
+ },
7702
+ { type: "error", inputs: [], name: "TokenNotMintable" },
7703
+ { type: "error", inputs: [], name: "UUPSUnauthorizedCallContext" },
7704
+ {
7705
+ type: "error",
7706
+ inputs: [{ name: "slot", internalType: "bytes32", type: "bytes32" }],
7707
+ name: "UUPSUnsupportedProxiableUUID"
7708
+ },
7709
+ {
7710
+ type: "error",
7711
+ inputs: [
7712
+ { name: "expected", internalType: "string", type: "string" },
7713
+ { name: "actual", internalType: "string", type: "string" }
7714
+ ],
7715
+ name: "UpgradeToMismatchedContractName"
7716
+ }
7717
+ ];
7718
+ var zoraSparksManagerImplAddress = {
7719
+ 7777777: "0x7777777402d71e0D39398F96ef2B789eCc8715d4",
7720
+ 999999999: "0x7777777402d71e0D39398F96ef2B789eCc8715d4"
7721
+ };
7722
+ var zoraSparksManagerImplConfig = {
7723
+ address: zoraSparksManagerImplAddress,
7724
+ abi: zoraSparksManagerImplABI
7725
+ };
7726
+
7727
+ // src/types.ts
7728
+ var PremintConfigVersion = /* @__PURE__ */ ((PremintConfigVersion2) => {
7729
+ PremintConfigVersion2["V1"] = "1";
7730
+ PremintConfigVersion2["V2"] = "2";
7731
+ PremintConfigVersion2["V3"] = "3";
7732
+ return PremintConfigVersion2;
7733
+ })(PremintConfigVersion || {});
7734
+
7735
+ // src/typedData.ts
7736
+ var premintTypedDataDomain = ({
7737
+ chainId,
7738
+ version,
7739
+ creator1155Contract: verifyingContract
7740
+ }) => ({
7741
+ chainId,
7742
+ name: "Preminter",
7743
+ version,
7744
+ verifyingContract
7745
+ });
7746
+ var premintV1TypedDataType = {
7747
+ CreatorAttribution: [
7748
+ { name: "tokenConfig", type: "TokenCreationConfig" },
7749
+ // unique id scoped to the contract and token to create.
6669
7750
  // ensure that a signature can be replaced, as long as the replacement
6670
7751
  // has the same uid, and a newer version.
6671
7752
  { name: "uid", type: "uint32" },
@@ -6967,18 +8048,18 @@ var addresses = {
6967
8048
  timestamp: 1713899416
6968
8049
  },
6969
8050
  10: {
6970
- CONTRACT_1155_IMPL: "0xECfbCf718E17B6e76A675dDB936a9249C69DD2aA",
6971
- CONTRACT_1155_IMPL_VERSION: "2.7.0",
6972
- FACTORY_IMPL: "0x32006e298C19818CD5e8000E26439691f0ac2128",
8051
+ CONTRACT_1155_IMPL: "0xd43f38e67beb199fd6594cCe4Bed31510414e6ab",
8052
+ CONTRACT_1155_IMPL_VERSION: "2.10.1",
8053
+ ERC20_MINTER: "0x777777E8850d8D6d98De2B5f64fae401F96eFF31",
8054
+ FACTORY_IMPL: "0x6A864E792029843A47f584293E2cAB8a86B9c533",
6973
8055
  FACTORY_PROXY: "0x777777C338d93e2C7adf08D102d45CA7CC4Ed021",
6974
8056
  FIXED_PRICE_SALE_STRATEGY: "0x3678862f04290E565cCA2EF163BAeb92Bb76790C",
6975
8057
  MERKLE_MINT_SALE_STRATEGY: "0x899ce31dF6C6Af81203AcAaD285bF539234eF4b8",
6976
- PREMINTER_IMPL: "0x6f4f0c7748050d178b50cB000c94d54ea54A82aA",
8058
+ PREMINTER_IMPL: "0xD8f6cf234eE4B689099677Bd94FbA0b1E005181d",
6977
8059
  PREMINTER_PROXY: "0x7777773606e7e46C8Ba8B98C08f5cD218e31d340",
6978
8060
  REDEEM_MINTER_FACTORY: "0x1B28A04b7eB7b93f920ddF2021aa3fAE065395f2",
6979
8061
  UPGRADE_GATE: "0xbC50029836A59A4E5e1Bb8988272F46ebA0F9900",
6980
- ERC20_MINTER: "0x777777E8850d8D6d98De2B5f64fae401F96eFF31",
6981
- timestamp: 1706664035
8062
+ timestamp: 1717194758
6982
8063
  },
6983
8064
  999: {
6984
8065
  CONTRACT_1155_IMPL: "0x2022AdEF470DA3543a19fac8c9be80618112704D",
@@ -6994,102 +8075,102 @@ var addresses = {
6994
8075
  timestamp: 1704399834
6995
8076
  },
6996
8077
  8453: {
6997
- CONTRACT_1155_IMPL: "0xAF5A4F6F6640734d7D000321Bb27De40D4Ae91f6",
6998
- CONTRACT_1155_IMPL_VERSION: "2.7.0",
6999
- FACTORY_IMPL: "0x7B59c0378F540c0356A5DAEF7574255A7C74EC76",
8078
+ CONTRACT_1155_IMPL: "0x1Eb7Bf3a08784D7cB08CC2AE1448012C0c02bDa2",
8079
+ CONTRACT_1155_IMPL_VERSION: "2.10.1",
8080
+ ERC20_MINTER: "0x777777E8850d8D6d98De2B5f64fae401F96eFF31",
8081
+ FACTORY_IMPL: "0x961b527B5E298569dbD7B1d90630cC515Eb17A4A",
7000
8082
  FACTORY_PROXY: "0x777777C338d93e2C7adf08D102d45CA7CC4Ed021",
7001
8083
  FIXED_PRICE_SALE_STRATEGY: "0x04E2516A2c207E84a1839755675dfd8eF6302F0a",
7002
8084
  MERKLE_MINT_SALE_STRATEGY: "0xf48172CA3B6068B20eE4917Eb27b5472f1f272C7",
7003
- PREMINTER_IMPL: "0x6f4f0c7748050d178b50cB000c94d54ea54A82aA",
8085
+ PREMINTER_IMPL: "0xD8f6cf234eE4B689099677Bd94FbA0b1E005181d",
7004
8086
  PREMINTER_PROXY: "0x7777773606e7e46C8Ba8B98C08f5cD218e31d340",
7005
8087
  REDEEM_MINTER_FACTORY: "0x78964965cF77850224513a367f899435C5B69174",
7006
8088
  UPGRADE_GATE: "0xbC50029836A59A4E5e1Bb8988272F46ebA0F9900",
7007
- ERC20_MINTER: "0x777777E8850d8D6d98De2B5f64fae401F96eFF31",
7008
- timestamp: 1706663976
8089
+ timestamp: 1717194106
7009
8090
  },
7010
8091
  42161: {
7011
- CONTRACT_1155_IMPL: "0x97eb05B8db496B12244BCcf17CF377d00a99b67a",
7012
- CONTRACT_1155_IMPL_VERSION: "2.7.0",
7013
- FACTORY_IMPL: "0x48d8db63724444C6270749fEe80bBDB6CF33677f",
8092
+ CONTRACT_1155_IMPL: "0xf4bf58F869c42d99d7F7AC3868B606239a634526",
8093
+ CONTRACT_1155_IMPL_VERSION: "2.10.1",
8094
+ ERC20_MINTER: "0x777777E8850d8D6d98De2B5f64fae401F96eFF31",
8095
+ FACTORY_IMPL: "0x584BDE6B1442Aa6C572368D206Fe656c01FF1f1F",
7014
8096
  FACTORY_PROXY: "0x777777C338d93e2C7adf08D102d45CA7CC4Ed021",
7015
8097
  FIXED_PRICE_SALE_STRATEGY: "0x1Cd1C1f3b8B779B50Db23155F2Cb244FCcA06B21",
7016
8098
  MERKLE_MINT_SALE_STRATEGY: "0xe770E6f19aecF8ef3145A50087999b5556aB3610",
7017
- PREMINTER_IMPL: "0x6f4f0c7748050d178b50cB000c94d54ea54A82aA",
8099
+ PREMINTER_IMPL: "0xD8f6cf234eE4B689099677Bd94FbA0b1E005181d",
7018
8100
  PREMINTER_PROXY: "0x7777773606e7e46C8Ba8B98C08f5cD218e31d340",
7019
8101
  REDEEM_MINTER_FACTORY: "0x69bB4A24EBD8b1B87AF4538E0Ca3075b7E398c3D",
7020
8102
  UPGRADE_GATE: "0xbC50029836A59A4E5e1Bb8988272F46ebA0F9900",
7021
- ERC20_MINTER: "0x777777E8850d8D6d98De2B5f64fae401F96eFF31",
7022
- timestamp: 1706664653
8103
+ timestamp: 1717194346
7023
8104
  },
7024
8105
  81457: {
7025
- CONTRACT_1155_IMPL: "0x97eb05B8db496B12244BCcf17CF377d00a99b67a",
7026
- CONTRACT_1155_IMPL_VERSION: "2.7.1",
7027
- FACTORY_IMPL: "0x48d8db63724444C6270749fEe80bBDB6CF33677f",
8106
+ CONTRACT_1155_IMPL: "0x370A413874Bde3F40028A3E9BBFC4cA19666F94D",
8107
+ CONTRACT_1155_IMPL_VERSION: "2.10.1",
8108
+ ERC20_MINTER: "0x777777E8850d8D6d98De2B5f64fae401F96eFF31",
8109
+ FACTORY_IMPL: "0xf4bf58F869c42d99d7F7AC3868B606239a634526",
7028
8110
  FACTORY_PROXY: "0x777777C338d93e2C7adf08D102d45CA7CC4Ed021",
7029
8111
  FIXED_PRICE_SALE_STRATEGY: "0x3EB144aee170BF62FdA1536e38aF51f08e34A5D0",
7030
8112
  MERKLE_MINT_SALE_STRATEGY: "0xB9C997FcC46a27331CC986cc2416ee99C1d506c3",
7031
- PREMINTER_IMPL: "0xe3150ab94e3730D4B157ffD31Ad042323E122b4C",
8113
+ PREMINTER_IMPL: "0xD8f6cf234eE4B689099677Bd94FbA0b1E005181d",
7032
8114
  PREMINTER_PROXY: "0x7777773606e7e46C8Ba8B98C08f5cD218e31d340",
7033
8115
  REDEEM_MINTER_FACTORY: "0x7A0dE1B1f5420Df5D946878fBe2cF109011BE614",
7034
8116
  UPGRADE_GATE: "0xbC50029836A59A4E5e1Bb8988272F46ebA0F9900",
7035
- ERC20_MINTER: "0x777777E8850d8D6d98De2B5f64fae401F96eFF31",
7036
- timestamp: 1709235955
8117
+ timestamp: 1717194549
7037
8118
  },
7038
8119
  84532: {
7039
- CONTRACT_1155_IMPL: "0x2C49E95303734eE3826307783d5fDD180B2131D3",
7040
- CONTRACT_1155_IMPL_VERSION: "2.9.0",
7041
- FACTORY_IMPL: "0xB2696570215c3158eB1D218FB1a3DF92a418B034",
8120
+ CONTRACT_1155_IMPL: "0x0ef82DaB14798E63F1B99479Ba689e3f6A6fEb6C",
8121
+ CONTRACT_1155_IMPL_VERSION: "2.10.1",
8122
+ ERC20_MINTER: "0x777777E8850d8D6d98De2B5f64fae401F96eFF31",
8123
+ FACTORY_IMPL: "0x97eb05B8db496B12244BCcf17CF377d00a99b67a",
7042
8124
  FACTORY_PROXY: "0x777777C338d93e2C7adf08D102d45CA7CC4Ed021",
7043
8125
  FIXED_PRICE_SALE_STRATEGY: "0xd34872BE0cdb6b09d45FCa067B07f04a1A9aE1aE",
7044
8126
  MERKLE_MINT_SALE_STRATEGY: "0x3E8524770adD176bE381a0529E09f1c6c3502A5a",
7045
- PREMINTER_IMPL: "0xD754417BDABFCc3a3997B9A15E9F6922a8131Ac1",
8127
+ PREMINTER_IMPL: "0xD8f6cf234eE4B689099677Bd94FbA0b1E005181d",
7046
8128
  PREMINTER_PROXY: "0x7777773606e7e46C8Ba8B98C08f5cD218e31d340",
7047
8129
  REDEEM_MINTER_FACTORY: "0x805E0a08dE70f85C01F7848370d5e3fc08aAd0ea",
7048
8130
  UPGRADE_GATE: "0xbC50029836A59A4E5e1Bb8988272F46ebA0F9900",
7049
- ERC20_MINTER: "0x777777E8850d8D6d98De2B5f64fae401F96eFF31",
7050
- timestamp: 1713468185
8131
+ timestamp: 1717189193
7051
8132
  },
7052
8133
  421614: {
7053
- CONTRACT_1155_IMPL: "0x857B5c291519Cff6D2090a87C3bC2eCe676ad057",
7054
- CONTRACT_1155_IMPL_VERSION: "2.9.0",
7055
- FACTORY_IMPL: "0x777d8FcB0336FfF689b2Ab17Db5b755F54C8776a",
8134
+ CONTRACT_1155_IMPL: "0x55B53DBE22859d538E3b44DD06C9FAE292409E3c",
8135
+ CONTRACT_1155_IMPL_VERSION: "2.10.1",
8136
+ ERC20_MINTER: "0x777777E8850d8D6d98De2B5f64fae401F96eFF31",
8137
+ FACTORY_IMPL: "0xAF5A4F6F6640734d7D000321Bb27De40D4Ae91f6",
7056
8138
  FACTORY_PROXY: "0x777777C338d93e2C7adf08D102d45CA7CC4Ed021",
7057
8139
  FIXED_PRICE_SALE_STRATEGY: "0x1Cd1C1f3b8B779B50Db23155F2Cb244FCcA06B21",
7058
8140
  MERKLE_MINT_SALE_STRATEGY: "0xe770E6f19aecF8ef3145A50087999b5556aB3610",
7059
- PREMINTER_IMPL: "0xD754417BDABFCc3a3997B9A15E9F6922a8131Ac1",
8141
+ PREMINTER_IMPL: "0xD8f6cf234eE4B689099677Bd94FbA0b1E005181d",
7060
8142
  PREMINTER_PROXY: "0x7777773606e7e46C8Ba8B98C08f5cD218e31d340",
7061
8143
  REDEEM_MINTER_FACTORY: "0x69bB4A24EBD8b1B87AF4538E0Ca3075b7E398c3D",
7062
8144
  UPGRADE_GATE: "0xbC50029836A59A4E5e1Bb8988272F46ebA0F9900",
7063
- ERC20_MINTER: "0x777777E8850d8D6d98De2B5f64fae401F96eFF31",
7064
- timestamp: 1712779746
8145
+ timestamp: 1717195052
7065
8146
  },
7066
8147
  7777777: {
7067
- CONTRACT_1155_IMPL: "0x2C49E95303734eE3826307783d5fDD180B2131D3",
7068
- CONTRACT_1155_IMPL_VERSION: "2.9.0",
7069
- FACTORY_IMPL: "0xB2696570215c3158eB1D218FB1a3DF92a418B034",
8148
+ CONTRACT_1155_IMPL: "0xA0CFBEA2fe941EaE373aEB3359b0171f3F194c35",
8149
+ CONTRACT_1155_IMPL_VERSION: "2.10.1",
8150
+ ERC20_MINTER: "0x777777E8850d8D6d98De2B5f64fae401F96eFF31",
8151
+ FACTORY_IMPL: "0xDAeF162cfF8Abd646190Fe02E70B2956304C552c",
7070
8152
  FACTORY_PROXY: "0x777777C338d93e2C7adf08D102d45CA7CC4Ed021",
7071
8153
  FIXED_PRICE_SALE_STRATEGY: "0x04E2516A2c207E84a1839755675dfd8eF6302F0a",
7072
8154
  MERKLE_MINT_SALE_STRATEGY: "0xf48172CA3B6068B20eE4917Eb27b5472f1f272C7",
7073
- PREMINTER_IMPL: "0xD754417BDABFCc3a3997B9A15E9F6922a8131Ac1",
8155
+ PREMINTER_IMPL: "0xD8f6cf234eE4B689099677Bd94FbA0b1E005181d",
7074
8156
  PREMINTER_PROXY: "0x7777773606e7e46C8Ba8B98C08f5cD218e31d340",
7075
8157
  REDEEM_MINTER_FACTORY: "0x78964965cF77850224513a367f899435C5B69174",
7076
8158
  UPGRADE_GATE: "0xbC50029836A59A4E5e1Bb8988272F46ebA0F9900",
7077
- ERC20_MINTER: "0x777777E8850d8D6d98De2B5f64fae401F96eFF31",
7078
- timestamp: 1712349677
8159
+ timestamp: 1717181333
7079
8160
  },
7080
8161
  11155111: {
7081
- CONTRACT_1155_IMPL: "0x437A762fc2a8f898Aa7a2575Be21c41753DC4797",
7082
- CONTRACT_1155_IMPL_VERSION: "2.7.0",
7083
- FACTORY_IMPL: "0xF82286760a953D2Bad7D6F2F0da458Ac20f955D3",
8162
+ CONTRACT_1155_IMPL: "0xFc40F9BFE1289F27F89BAEfb4DB97CC2D8eF6a38",
8163
+ CONTRACT_1155_IMPL_VERSION: "2.10.1",
8164
+ ERC20_MINTER: "0x777777E8850d8D6d98De2B5f64fae401F96eFF31",
8165
+ FACTORY_IMPL: "0xC7598f8eAA1455f5b2B3f206A9af55B2BA248e3E",
7084
8166
  FACTORY_PROXY: "0x777777C338d93e2C7adf08D102d45CA7CC4Ed021",
7085
8167
  FIXED_PRICE_SALE_STRATEGY: "0x1Cd1C1f3b8B779B50Db23155F2Cb244FCcA06B21",
7086
8168
  MERKLE_MINT_SALE_STRATEGY: "0xe770E6f19aecF8ef3145A50087999b5556aB3610",
7087
- PREMINTER_IMPL: "0x795Efc066f89DFB03048dDd0598F2D8521c99Df6",
8169
+ PREMINTER_IMPL: "0xD8f6cf234eE4B689099677Bd94FbA0b1E005181d",
7088
8170
  PREMINTER_PROXY: "0x7777773606e7e46C8Ba8B98C08f5cD218e31d340",
7089
8171
  REDEEM_MINTER_FACTORY: "0x69bB4A24EBD8b1B87AF4538E0Ca3075b7E398c3D",
7090
8172
  UPGRADE_GATE: "0xbC50029836A59A4E5e1Bb8988272F46ebA0F9900",
7091
- ERC20_MINTER: "0x777777E8850d8D6d98De2B5f64fae401F96eFF31",
7092
- timestamp: 1704336497
8173
+ timestamp: 1717195426
7093
8174
  },
7094
8175
  168587773: {
7095
8176
  CONTRACT_1155_IMPL: "0x437A762fc2a8f898Aa7a2575Be21c41753DC4797",
@@ -7105,24 +8186,24 @@ var addresses = {
7105
8186
  timestamp: 1709234007
7106
8187
  },
7107
8188
  999999999: {
7108
- CONTRACT_1155_IMPL: "0xaDf7F654d8E416aaD85d4f06fDf4cA3D05BDA1A1",
7109
- CONTRACT_1155_IMPL_VERSION: "2.9.0",
8189
+ CONTRACT_1155_IMPL: "0xD98e9AF77D87f69b006FA1bE123632e9cc5419F8",
8190
+ CONTRACT_1155_IMPL_VERSION: "2.12.0-SPARKS.0",
7110
8191
  ERC20_MINTER: "0x8Ec7f068A77fa5FC1925110f82381374BA054Ff2",
7111
- FACTORY_IMPL: "0x7228C5BE6093cf57BC085aaFFB18D0b7886f0651",
8192
+ FACTORY_IMPL: "0x7F6f98a90B604b65D192652096861B92323B1a69",
7112
8193
  FACTORY_PROXY: "0x777777C338d93e2C7adf08D102d45CA7CC4Ed021",
7113
8194
  FIXED_PRICE_SALE_STRATEGY: "0x6d28164C3CE04A190D5F9f0f8881fc807EAD975A",
7114
8195
  MERKLE_MINT_SALE_STRATEGY: "0x5e5fD4b758076BAD940db0284b711A67E8a3B88c",
7115
- PREMINTER_IMPL: "0xdABa152A152a14844E627444B55a543beF7c4365",
8196
+ PREMINTER_IMPL: "0xD8f6cf234eE4B689099677Bd94FbA0b1E005181d",
7116
8197
  PREMINTER_PROXY: "0x7777773606e7e46C8Ba8B98C08f5cD218e31d340",
7117
8198
  REDEEM_MINTER_FACTORY: "0x25cFb6dd9cDE8425e781d6718a29Ccbca3F038d6",
7118
8199
  UPGRADE_GATE: "0x0000000000000000000000000000000000000000",
7119
- timestamp: 1715977010
8200
+ timestamp: 1720743447
7120
8201
  }
7121
8202
  };
7122
8203
 
7123
- // src/generated/mints.ts
7124
- var mints_exports = {};
7125
- __export(mints_exports, {
8204
+ // src/generated/sparks.ts
8205
+ var sparks_exports = {};
8206
+ __export(sparks_exports, {
7126
8207
  addresses: () => addresses2,
7127
8208
  chainConfigs: () => chainConfigs2
7128
8209
  });
@@ -7141,50 +8222,15 @@ var chainConfigs2 = {
7141
8222
  999999999: { PROXY_ADMIN: "0xdae22ce69Afcb7f4bc37D32E267645722949DE0E" }
7142
8223
  };
7143
8224
  var addresses2 = {
7144
- 1: {
7145
- MINTS_ETH_UNWRAPPER_AND_CALLER: "0x0000000000000000000000000000000000000000",
7146
- MINTS_MANAGER_IMPL: "0x32C49770cC95F6A606Ae5a22A0a70e8F8ff64C75",
7147
- MINTS_MANAGER_IMPL_VERSION: "0.1.3"
7148
- },
7149
- 10: {
7150
- MINTS_ETH_UNWRAPPER_AND_CALLER: "0x0000000000000000000000000000000000000000",
7151
- MINTS_MANAGER_IMPL: "0x169eB969c4A10d248C33b471D7F4966E13311E67",
7152
- MINTS_MANAGER_IMPL_VERSION: "0.1.1"
7153
- },
7154
- 8453: {
7155
- MINTS_ETH_UNWRAPPER_AND_CALLER: "0x0000000000000000000000000000000000000000",
7156
- MINTS_MANAGER_IMPL: "0x169eB969c4A10d248C33b471D7F4966E13311E67",
7157
- MINTS_MANAGER_IMPL_VERSION: "0.1.1"
7158
- },
7159
- 42161: {
7160
- MINTS_ETH_UNWRAPPER_AND_CALLER: "0x0000000000000000000000000000000000000000",
7161
- MINTS_MANAGER_IMPL: "0x169eB969c4A10d248C33b471D7F4966E13311E67",
7162
- MINTS_MANAGER_IMPL_VERSION: "0.1.1"
7163
- },
7164
- 81457: {
7165
- MINTS_ETH_UNWRAPPER_AND_CALLER: "0x0000000000000000000000000000000000000000",
7166
- MINTS_MANAGER_IMPL: "0x32C49770cC95F6A606Ae5a22A0a70e8F8ff64C75",
7167
- MINTS_MANAGER_IMPL_VERSION: "0.1.3"
7168
- },
7169
- 84532: {
7170
- MINTS_ETH_UNWRAPPER_AND_CALLER: "0x0000000000000000000000000000000000000000",
7171
- MINTS_MANAGER_IMPL: "0x32C49770cC95F6A606Ae5a22A0a70e8F8ff64C75",
7172
- MINTS_MANAGER_IMPL_VERSION: "0.1.3"
7173
- },
7174
- 421614: {
7175
- MINTS_ETH_UNWRAPPER_AND_CALLER: "0x0000000000000000000000000000000000000000",
7176
- MINTS_MANAGER_IMPL: "0x169eB969c4A10d248C33b471D7F4966E13311E67",
7177
- MINTS_MANAGER_IMPL_VERSION: "0.1.1"
7178
- },
7179
8225
  7777777: {
7180
- MINTS_ETH_UNWRAPPER_AND_CALLER: "0xb0994EB9520C98C97e1F3953a5964535C2bd271A",
7181
- MINTS_MANAGER_IMPL: "0x978685ad10B829F17e6c2C6E8EeABd7dFDdC1678",
7182
- MINTS_MANAGER_IMPL_VERSION: "0.1.2"
8226
+ SPARKS_ETH_UNWRAPPER_AND_CALLER: "0xb0994EB9520C98C97e1F3953a5964535C2bd271A",
8227
+ SPARKS_MANAGER_IMPL: "0x66a48d99A349e228618BB68f41496923958D5543",
8228
+ SPARKS_MANAGER_IMPL_VERSION: "0.1.4"
7183
8229
  },
7184
8230
  999999999: {
7185
- MINTS_ETH_UNWRAPPER_AND_CALLER: "0xb0994EB9520C98C97e1F3953a5964535C2bd271A",
7186
- MINTS_MANAGER_IMPL: "0x65690B699591aDE72b30aa10B0c34BB78cAc61c0",
7187
- MINTS_MANAGER_IMPL_VERSION: "0.1.3"
8231
+ SPARKS_ETH_UNWRAPPER_AND_CALLER: "0xb0994EB9520C98C97e1F3953a5964535C2bd271A",
8232
+ SPARKS_MANAGER_IMPL: "0xf7D8d07267E840aE466E5f2fe8b089F4DE79c7da",
8233
+ SPARKS_MANAGER_IMPL_VERSION: "0.1.4"
7188
8234
  }
7189
8235
  };
7190
8236
  export {
@@ -7196,10 +8242,6 @@ export {
7196
8242
  erc20MinterConfig,
7197
8243
  iPremintDefinitionsABI,
7198
8244
  iUnwrapAndForwardActionABI,
7199
- mints_exports as mints,
7200
- mintsEthUnwrapperAndCallerABI,
7201
- mintsEthUnwrapperAndCallerAddress,
7202
- mintsEthUnwrapperAndCallerConfig,
7203
8245
  mintsSafeTransferBatchTypedDataDefinition,
7204
8246
  mintsSafeTransferTypedDataDefinition,
7205
8247
  premintTypedDataDefinition,
@@ -7208,6 +8250,10 @@ export {
7208
8250
  protocolRewardsABI,
7209
8251
  protocolRewardsAddress,
7210
8252
  protocolRewardsConfig,
8253
+ sparks_exports as sparks,
8254
+ sparksEthUnwrapperAndCallerABI,
8255
+ sparksEthUnwrapperAndCallerAddress,
8256
+ sparksEthUnwrapperAndCallerConfig,
7211
8257
  upgradeGateABI,
7212
8258
  upgradeGateAddress,
7213
8259
  upgradeGateConfig,
@@ -7232,6 +8278,12 @@ export {
7232
8278
  zoraMints1155Config,
7233
8279
  zoraMintsManagerImplABI,
7234
8280
  zoraMintsManagerImplAddress,
7235
- zoraMintsManagerImplConfig
8281
+ zoraMintsManagerImplConfig,
8282
+ zoraSparks1155ABI,
8283
+ zoraSparks1155Address,
8284
+ zoraSparks1155Config,
8285
+ zoraSparksManagerImplABI,
8286
+ zoraSparksManagerImplAddress,
8287
+ zoraSparksManagerImplConfig
7236
8288
  };
7237
8289
  //# sourceMappingURL=index.js.map