@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.
- package/CHANGELOG.md +10 -0
- package/README.md +2 -11
- package/dist/generated/sparks.d.ts +51 -0
- package/dist/generated/sparks.d.ts.map +1 -0
- package/dist/generated/wagmi.d.ts +13325 -9938
- package/dist/generated/wagmi.d.ts.map +1 -1
- package/dist/index.cjs +1334 -284
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.ts +1 -1
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +1323 -279
- package/dist/index.js.map +1 -1
- package/json/1155.json +212 -0
- package/json/mints.json +46 -0
- package/package.json +1 -1
- package/src/generated/1155.ts +4 -4
- package/src/generated/sparks.ts +28 -0
- package/src/generated/wagmi.ts +1334 -281
- package/src/index.ts +1 -1
- package/.turbo/turbo-build.log +0 -35
- package/dist/addresses.d.ts +0 -164
- package/dist/addresses.d.ts.map +0 -1
- package/dist/generated/mints.d.ts +0 -91
- package/dist/generated/mints.d.ts.map +0 -1
- package/src/addresses.ts +0 -163
- package/src/generated/mints.ts +0 -76
- package/tsconfig.build.json +0 -10
- package/tsup.config.ts +0 -11
package/dist/index.js
CHANGED
|
@@ -847,109 +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
|
-
11155111: "0xb0994EB9520C98C97e1F3953a5964535C2bd271A",
|
|
947
|
-
999999999: "0xb0994EB9520C98C97e1F3953a5964535C2bd271A"
|
|
948
|
-
};
|
|
949
|
-
var mintsEthUnwrapperAndCallerConfig = {
|
|
950
|
-
address: mintsEthUnwrapperAndCallerAddress,
|
|
951
|
-
abi: mintsEthUnwrapperAndCallerABI
|
|
952
|
-
};
|
|
953
850
|
var protocolRewardsABI = [
|
|
954
851
|
{ stateMutability: "payable", type: "constructor", inputs: [] },
|
|
955
852
|
{
|
|
@@ -1218,6 +1115,101 @@ var protocolRewardsConfig = {
|
|
|
1218
1115
|
address: protocolRewardsAddress,
|
|
1219
1116
|
abi: protocolRewardsABI
|
|
1220
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
|
+
};
|
|
1221
1213
|
var upgradeGateABI = [
|
|
1222
1214
|
{ stateMutability: "nonpayable", type: "constructor", inputs: [] },
|
|
1223
1215
|
{
|
|
@@ -1977,8 +1969,7 @@ var zoraCreator1155ImplABI = [
|
|
|
1977
1969
|
inputs: [
|
|
1978
1970
|
{ name: "_mintFeeRecipient", internalType: "address", type: "address" },
|
|
1979
1971
|
{ name: "_upgradeGate", internalType: "address", type: "address" },
|
|
1980
|
-
{ name: "_protocolRewards", internalType: "address", type: "address" }
|
|
1981
|
-
{ name: "_mints", internalType: "address", type: "address" }
|
|
1972
|
+
{ name: "_protocolRewards", internalType: "address", type: "address" }
|
|
1982
1973
|
]
|
|
1983
1974
|
},
|
|
1984
1975
|
{ stateMutability: "payable", type: "receive" },
|
|
@@ -2362,39 +2353,6 @@ var zoraCreator1155ImplABI = [
|
|
|
2362
2353
|
name: "mintFee",
|
|
2363
2354
|
outputs: [{ name: "", internalType: "uint256", type: "uint256" }]
|
|
2364
2355
|
},
|
|
2365
|
-
{
|
|
2366
|
-
stateMutability: "payable",
|
|
2367
|
-
type: "function",
|
|
2368
|
-
inputs: [
|
|
2369
|
-
{ name: "mintTokenIds", internalType: "uint256[]", type: "uint256[]" },
|
|
2370
|
-
{ name: "quantities", internalType: "uint256[]", type: "uint256[]" },
|
|
2371
|
-
{ name: "minter", internalType: "contract IMinter1155", type: "address" },
|
|
2372
|
-
{ name: "tokenId", internalType: "uint256", type: "uint256" },
|
|
2373
|
-
{
|
|
2374
|
-
name: "rewardsRecipients",
|
|
2375
|
-
internalType: "address[]",
|
|
2376
|
-
type: "address[]"
|
|
2377
|
-
},
|
|
2378
|
-
{ name: "minterArguments", internalType: "bytes", type: "bytes" }
|
|
2379
|
-
],
|
|
2380
|
-
name: "mintWithMints",
|
|
2381
|
-
outputs: [
|
|
2382
|
-
{ name: "quantityMinted", internalType: "uint256", type: "uint256" }
|
|
2383
|
-
]
|
|
2384
|
-
},
|
|
2385
|
-
{
|
|
2386
|
-
stateMutability: "payable",
|
|
2387
|
-
type: "function",
|
|
2388
|
-
inputs: [
|
|
2389
|
-
{ name: "minter", internalType: "contract IMinter1155", type: "address" },
|
|
2390
|
-
{ name: "tokenId", internalType: "uint256", type: "uint256" },
|
|
2391
|
-
{ name: "quantity", internalType: "uint256", type: "uint256" },
|
|
2392
|
-
{ name: "minterArguments", internalType: "bytes", type: "bytes" },
|
|
2393
|
-
{ name: "mintReferral", internalType: "address", type: "address" }
|
|
2394
|
-
],
|
|
2395
|
-
name: "mintWithRewards",
|
|
2396
|
-
outputs: []
|
|
2397
|
-
},
|
|
2398
2356
|
{
|
|
2399
2357
|
stateMutability: "nonpayable",
|
|
2400
2358
|
type: "function",
|
|
@@ -2416,32 +2374,6 @@ var zoraCreator1155ImplABI = [
|
|
|
2416
2374
|
name: "nextTokenId",
|
|
2417
2375
|
outputs: [{ name: "", internalType: "uint256", type: "uint256" }]
|
|
2418
2376
|
},
|
|
2419
|
-
{
|
|
2420
|
-
stateMutability: "view",
|
|
2421
|
-
type: "function",
|
|
2422
|
-
inputs: [
|
|
2423
|
-
{ name: "", internalType: "address", type: "address" },
|
|
2424
|
-
{ name: "", internalType: "address", type: "address" },
|
|
2425
|
-
{ name: "", internalType: "uint256[]", type: "uint256[]" },
|
|
2426
|
-
{ name: "", internalType: "uint256[]", type: "uint256[]" },
|
|
2427
|
-
{ name: "", internalType: "bytes", type: "bytes" }
|
|
2428
|
-
],
|
|
2429
|
-
name: "onERC1155BatchReceived",
|
|
2430
|
-
outputs: [{ name: "", internalType: "bytes4", type: "bytes4" }]
|
|
2431
|
-
},
|
|
2432
|
-
{
|
|
2433
|
-
stateMutability: "view",
|
|
2434
|
-
type: "function",
|
|
2435
|
-
inputs: [
|
|
2436
|
-
{ name: "", internalType: "address", type: "address" },
|
|
2437
|
-
{ name: "", internalType: "address", type: "address" },
|
|
2438
|
-
{ name: "", internalType: "uint256", type: "uint256" },
|
|
2439
|
-
{ name: "", internalType: "uint256", type: "uint256" },
|
|
2440
|
-
{ name: "", internalType: "bytes", type: "bytes" }
|
|
2441
|
-
],
|
|
2442
|
-
name: "onERC1155Received",
|
|
2443
|
-
outputs: [{ name: "", internalType: "bytes4", type: "bytes4" }]
|
|
2444
|
-
},
|
|
2445
2377
|
{
|
|
2446
2378
|
stateMutability: "view",
|
|
2447
2379
|
type: "function",
|
|
@@ -2466,6 +2398,16 @@ var zoraCreator1155ImplABI = [
|
|
|
2466
2398
|
name: "proxiableUUID",
|
|
2467
2399
|
outputs: [{ name: "", internalType: "bytes32", type: "bytes32" }]
|
|
2468
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
|
+
},
|
|
2469
2411
|
{
|
|
2470
2412
|
stateMutability: "nonpayable",
|
|
2471
2413
|
type: "function",
|
|
@@ -3157,6 +3099,7 @@ var zoraCreator1155ImplABI = [
|
|
|
3157
3099
|
},
|
|
3158
3100
|
{ type: "error", inputs: [], name: "Call_TokenIdMismatch" },
|
|
3159
3101
|
{ type: "error", inputs: [], name: "CallerNotZoraCreator1155" },
|
|
3102
|
+
{ type: "error", inputs: [], name: "CanOnlyReduceMaxSupply" },
|
|
3160
3103
|
{
|
|
3161
3104
|
type: "error",
|
|
3162
3105
|
inputs: [
|
|
@@ -3167,6 +3110,7 @@ var zoraCreator1155ImplABI = [
|
|
|
3167
3110
|
],
|
|
3168
3111
|
name: "CannotMintMoreTokens"
|
|
3169
3112
|
},
|
|
3113
|
+
{ type: "error", inputs: [], name: "CannotReduceMaxSupplyBelowMinted" },
|
|
3170
3114
|
{
|
|
3171
3115
|
type: "error",
|
|
3172
3116
|
inputs: [
|
|
@@ -4154,6 +4098,7 @@ var zoraCreator1155PremintExecutorImplABI = [
|
|
|
4154
4098
|
},
|
|
4155
4099
|
{ type: "error", inputs: [], name: "Call_TokenIdMismatch" },
|
|
4156
4100
|
{ type: "error", inputs: [], name: "CallerNotZoraCreator1155" },
|
|
4101
|
+
{ type: "error", inputs: [], name: "CanOnlyReduceMaxSupply" },
|
|
4157
4102
|
{
|
|
4158
4103
|
type: "error",
|
|
4159
4104
|
inputs: [
|
|
@@ -4164,6 +4109,7 @@ var zoraCreator1155PremintExecutorImplABI = [
|
|
|
4164
4109
|
],
|
|
4165
4110
|
name: "CannotMintMoreTokens"
|
|
4166
4111
|
},
|
|
4112
|
+
{ type: "error", inputs: [], name: "CannotReduceMaxSupplyBelowMinted" },
|
|
4167
4113
|
{
|
|
4168
4114
|
type: "error",
|
|
4169
4115
|
inputs: [
|
|
@@ -5107,7 +5053,7 @@ var zoraMints1155ABI = [
|
|
|
5107
5053
|
inputs: [
|
|
5108
5054
|
{
|
|
5109
5055
|
name: "permit",
|
|
5110
|
-
internalType: "struct
|
|
5056
|
+
internalType: "struct IZoraSparks1155Managed.PermitBatch",
|
|
5111
5057
|
type: "tuple",
|
|
5112
5058
|
components: [
|
|
5113
5059
|
{ name: "owner", internalType: "address", type: "address" },
|
|
@@ -5129,7 +5075,7 @@ var zoraMints1155ABI = [
|
|
|
5129
5075
|
inputs: [
|
|
5130
5076
|
{
|
|
5131
5077
|
name: "permit",
|
|
5132
|
-
internalType: "struct
|
|
5078
|
+
internalType: "struct IZoraSparks1155Managed.PermitSingle",
|
|
5133
5079
|
type: "tuple",
|
|
5134
5080
|
components: [
|
|
5135
5081
|
{ name: "owner", internalType: "address", type: "address" },
|
|
@@ -5168,7 +5114,7 @@ var zoraMints1155ABI = [
|
|
|
5168
5114
|
inputs: [
|
|
5169
5115
|
{
|
|
5170
5116
|
name: "permit",
|
|
5171
|
-
internalType: "struct
|
|
5117
|
+
internalType: "struct IZoraSparks1155Managed.PermitBatch",
|
|
5172
5118
|
type: "tuple",
|
|
5173
5119
|
components: [
|
|
5174
5120
|
{ name: "owner", internalType: "address", type: "address" },
|
|
@@ -5191,7 +5137,7 @@ var zoraMints1155ABI = [
|
|
|
5191
5137
|
inputs: [
|
|
5192
5138
|
{
|
|
5193
5139
|
name: "permit",
|
|
5194
|
-
internalType: "struct
|
|
5140
|
+
internalType: "struct IZoraSparks1155Managed.PermitSingle",
|
|
5195
5141
|
type: "tuple",
|
|
5196
5142
|
components: [
|
|
5197
5143
|
{ name: "owner", internalType: "address", type: "address" },
|
|
@@ -5276,7 +5222,7 @@ var zoraMints1155ABI = [
|
|
|
5276
5222
|
inputs: [
|
|
5277
5223
|
{
|
|
5278
5224
|
name: "permit",
|
|
5279
|
-
internalType: "struct
|
|
5225
|
+
internalType: "struct IZoraSparks1155Managed.PermitSingle",
|
|
5280
5226
|
type: "tuple",
|
|
5281
5227
|
components: [
|
|
5282
5228
|
{ name: "owner", internalType: "address", type: "address" },
|
|
@@ -5299,7 +5245,7 @@ var zoraMints1155ABI = [
|
|
|
5299
5245
|
inputs: [
|
|
5300
5246
|
{
|
|
5301
5247
|
name: "permit",
|
|
5302
|
-
internalType: "struct
|
|
5248
|
+
internalType: "struct IZoraSparks1155Managed.PermitBatch",
|
|
5303
5249
|
type: "tuple",
|
|
5304
5250
|
components: [
|
|
5305
5251
|
{ name: "owner", internalType: "address", type: "address" },
|
|
@@ -5727,15 +5673,7 @@ var zoraMints1155ABI = [
|
|
|
5727
5673
|
{ type: "error", inputs: [], name: "TokenNotMintable" }
|
|
5728
5674
|
];
|
|
5729
5675
|
var zoraMints1155Address = {
|
|
5730
|
-
1: "0x7777777d57c1C6e472fa379b7b3B6c6ba3835073",
|
|
5731
|
-
10: "0x7777777d57c1C6e472fa379b7b3B6c6ba3835073",
|
|
5732
|
-
8453: "0x7777777d57c1C6e472fa379b7b3B6c6ba3835073",
|
|
5733
|
-
42161: "0x7777777d57c1C6e472fa379b7b3B6c6ba3835073",
|
|
5734
|
-
81457: "0x7777777d57c1C6e472fa379b7b3B6c6ba3835073",
|
|
5735
|
-
84532: "0x7777777d57c1C6e472fa379b7b3B6c6ba3835073",
|
|
5736
|
-
421614: "0x7777777d57c1C6e472fa379b7b3B6c6ba3835073",
|
|
5737
5676
|
7777777: "0x7777777d57c1C6e472fa379b7b3B6c6ba3835073",
|
|
5738
|
-
11155111: "0x7777777d57c1C6e472fa379b7b3B6c6ba3835073",
|
|
5739
5677
|
999999999: "0x7777777d57c1C6e472fa379b7b3B6c6ba3835073"
|
|
5740
5678
|
};
|
|
5741
5679
|
var zoraMints1155Config = {
|
|
@@ -5800,7 +5738,7 @@ var zoraMintsManagerImplABI = [
|
|
|
5800
5738
|
inputs: [
|
|
5801
5739
|
{
|
|
5802
5740
|
name: "zoraCreator1155Contract",
|
|
5803
|
-
internalType: "contract
|
|
5741
|
+
internalType: "contract IMintWithSparks",
|
|
5804
5742
|
type: "address"
|
|
5805
5743
|
},
|
|
5806
5744
|
{ name: "minter", internalType: "contract IMinter1155", type: "address" },
|
|
@@ -5811,7 +5749,7 @@ var zoraMintsManagerImplABI = [
|
|
|
5811
5749
|
},
|
|
5812
5750
|
{
|
|
5813
5751
|
name: "collectMintArguments",
|
|
5814
|
-
internalType: "struct
|
|
5752
|
+
internalType: "struct ICollectWithZoraSparks.CollectMintArguments",
|
|
5815
5753
|
type: "tuple",
|
|
5816
5754
|
components: [
|
|
5817
5755
|
{
|
|
@@ -6053,8 +5991,8 @@ var zoraMintsManagerImplABI = [
|
|
|
6053
5991
|
type: "function",
|
|
6054
5992
|
inputs: [
|
|
6055
5993
|
{ name: "defaultOwner", internalType: "address", type: "address" },
|
|
6056
|
-
{ name: "
|
|
6057
|
-
{ name: "
|
|
5994
|
+
{ name: "zoraSparksSalt", internalType: "bytes32", type: "bytes32" },
|
|
5995
|
+
{ name: "zoraSparksCreationCode", internalType: "bytes", type: "bytes" },
|
|
6058
5996
|
{ name: "initialEthTokenId", internalType: "uint256", type: "uint256" },
|
|
6059
5997
|
{
|
|
6060
5998
|
name: "initialEthTokenPrice",
|
|
@@ -6068,7 +6006,7 @@ var zoraMintsManagerImplABI = [
|
|
|
6068
6006
|
outputs: [
|
|
6069
6007
|
{
|
|
6070
6008
|
name: "mints",
|
|
6071
|
-
internalType: "contract
|
|
6009
|
+
internalType: "contract IZoraSparks1155",
|
|
6072
6010
|
type: "address"
|
|
6073
6011
|
}
|
|
6074
6012
|
]
|
|
@@ -6212,9 +6150,9 @@ var zoraMintsManagerImplABI = [
|
|
|
6212
6150
|
stateMutability: "view",
|
|
6213
6151
|
type: "function",
|
|
6214
6152
|
inputs: [],
|
|
6215
|
-
name: "
|
|
6153
|
+
name: "zoraSparks1155",
|
|
6216
6154
|
outputs: [
|
|
6217
|
-
{ name: "", internalType: "contract
|
|
6155
|
+
{ name: "", internalType: "contract IZoraSparks1155", type: "address" }
|
|
6218
6156
|
]
|
|
6219
6157
|
},
|
|
6220
6158
|
{
|
|
@@ -6491,7 +6429,7 @@ var zoraMintsManagerImplABI = [
|
|
|
6491
6429
|
name: "InvalidMerkleProof"
|
|
6492
6430
|
},
|
|
6493
6431
|
{ type: "error", inputs: [], name: "InvalidMintSchedule" },
|
|
6494
|
-
{ type: "error", inputs: [], name: "
|
|
6432
|
+
{ type: "error", inputs: [], name: "InvalidOwnerForAssociatedZoraSparks" },
|
|
6495
6433
|
{ type: "error", inputs: [], name: "InvalidPremintVersion" },
|
|
6496
6434
|
{ type: "error", inputs: [], name: "InvalidRecipient" },
|
|
6497
6435
|
{ type: "error", inputs: [], name: "InvalidSignature" },
|
|
@@ -6503,7 +6441,7 @@ var zoraMintsManagerImplABI = [
|
|
|
6503
6441
|
},
|
|
6504
6442
|
{ type: "error", inputs: [], name: "InvalidTokenPrice" },
|
|
6505
6443
|
{ type: "error", inputs: [], name: "MintNotYetStarted" },
|
|
6506
|
-
{ type: "error", inputs: [], name: "
|
|
6444
|
+
{ type: "error", inputs: [], name: "MintWithSparksNotSupportedOnContract" },
|
|
6507
6445
|
{ type: "error", inputs: [], name: "Mint_InsolventSaleTransfer" },
|
|
6508
6446
|
{ type: "error", inputs: [], name: "Mint_InvalidMintArrayLength" },
|
|
6509
6447
|
{ type: "error", inputs: [], name: "Mint_TokenIDMintNotAllowed" },
|
|
@@ -6522,8 +6460,8 @@ var zoraMintsManagerImplABI = [
|
|
|
6522
6460
|
},
|
|
6523
6461
|
{ type: "error", inputs: [], name: "NotInitializing" },
|
|
6524
6462
|
{ type: "error", inputs: [], name: "NotSelfCall" },
|
|
6525
|
-
{ type: "error", inputs: [], name: "
|
|
6526
|
-
{ type: "error", inputs: [], name: "
|
|
6463
|
+
{ type: "error", inputs: [], name: "NotZoraSparks1155" },
|
|
6464
|
+
{ type: "error", inputs: [], name: "OnlyTransfersFromZoraSparks" },
|
|
6527
6465
|
{
|
|
6528
6466
|
type: "error",
|
|
6529
6467
|
inputs: [{ name: "owner", internalType: "address", type: "address" }],
|
|
@@ -6630,45 +6568,1185 @@ var zoraMintsManagerImplABI = [
|
|
|
6630
6568
|
{ type: "error", inputs: [], name: "premintSignerContractNotAContract" }
|
|
6631
6569
|
];
|
|
6632
6570
|
var zoraMintsManagerImplAddress = {
|
|
6633
|
-
1: "0x77777770cA269366c7208aFcF36FE2C6F7f7608B",
|
|
6634
|
-
10: "0x77777770cA269366c7208aFcF36FE2C6F7f7608B",
|
|
6635
|
-
8453: "0x77777770cA269366c7208aFcF36FE2C6F7f7608B",
|
|
6636
|
-
42161: "0x77777770cA269366c7208aFcF36FE2C6F7f7608B",
|
|
6637
|
-
81457: "0x77777770cA269366c7208aFcF36FE2C6F7f7608B",
|
|
6638
|
-
84532: "0x77777770cA269366c7208aFcF36FE2C6F7f7608B",
|
|
6639
|
-
421614: "0x77777770cA269366c7208aFcF36FE2C6F7f7608B",
|
|
6640
6571
|
7777777: "0x77777770cA269366c7208aFcF36FE2C6F7f7608B",
|
|
6641
|
-
11155111: "0x77777770cA269366c7208aFcF36FE2C6F7f7608B",
|
|
6642
6572
|
999999999: "0x77777770cA269366c7208aFcF36FE2C6F7f7608B"
|
|
6643
6573
|
};
|
|
6644
6574
|
var zoraMintsManagerImplConfig = {
|
|
6645
6575
|
address: zoraMintsManagerImplAddress,
|
|
6646
6576
|
abi: zoraMintsManagerImplABI
|
|
6647
6577
|
};
|
|
6648
|
-
|
|
6649
|
-
|
|
6650
|
-
|
|
6651
|
-
|
|
6652
|
-
|
|
6653
|
-
|
|
6654
|
-
|
|
6655
|
-
|
|
6656
|
-
|
|
6657
|
-
|
|
6658
|
-
|
|
6659
|
-
|
|
6660
|
-
|
|
6661
|
-
|
|
6662
|
-
|
|
6663
|
-
|
|
6664
|
-
|
|
6665
|
-
|
|
6666
|
-
|
|
6667
|
-
|
|
6668
|
-
|
|
6669
|
-
|
|
6670
|
-
|
|
6671
|
-
|
|
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.
|
|
6672
7750
|
// ensure that a signature can be replaced, as long as the replacement
|
|
6673
7751
|
// has the same uid, and a newer version.
|
|
6674
7752
|
{ name: "uid", type: "uint32" },
|
|
@@ -7108,10 +8186,10 @@ var addresses = {
|
|
|
7108
8186
|
timestamp: 1709234007
|
|
7109
8187
|
},
|
|
7110
8188
|
999999999: {
|
|
7111
|
-
CONTRACT_1155_IMPL: "
|
|
7112
|
-
CONTRACT_1155_IMPL_VERSION: "2.
|
|
8189
|
+
CONTRACT_1155_IMPL: "0xD98e9AF77D87f69b006FA1bE123632e9cc5419F8",
|
|
8190
|
+
CONTRACT_1155_IMPL_VERSION: "2.12.0-SPARKS.0",
|
|
7113
8191
|
ERC20_MINTER: "0x8Ec7f068A77fa5FC1925110f82381374BA054Ff2",
|
|
7114
|
-
FACTORY_IMPL: "
|
|
8192
|
+
FACTORY_IMPL: "0x7F6f98a90B604b65D192652096861B92323B1a69",
|
|
7115
8193
|
FACTORY_PROXY: "0x777777C338d93e2C7adf08D102d45CA7CC4Ed021",
|
|
7116
8194
|
FIXED_PRICE_SALE_STRATEGY: "0x6d28164C3CE04A190D5F9f0f8881fc807EAD975A",
|
|
7117
8195
|
MERKLE_MINT_SALE_STRATEGY: "0x5e5fD4b758076BAD940db0284b711A67E8a3B88c",
|
|
@@ -7119,13 +8197,13 @@ var addresses = {
|
|
|
7119
8197
|
PREMINTER_PROXY: "0x7777773606e7e46C8Ba8B98C08f5cD218e31d340",
|
|
7120
8198
|
REDEEM_MINTER_FACTORY: "0x25cFb6dd9cDE8425e781d6718a29Ccbca3F038d6",
|
|
7121
8199
|
UPGRADE_GATE: "0x0000000000000000000000000000000000000000",
|
|
7122
|
-
timestamp:
|
|
8200
|
+
timestamp: 1720743447
|
|
7123
8201
|
}
|
|
7124
8202
|
};
|
|
7125
8203
|
|
|
7126
|
-
// src/generated/
|
|
7127
|
-
var
|
|
7128
|
-
__export(
|
|
8204
|
+
// src/generated/sparks.ts
|
|
8205
|
+
var sparks_exports = {};
|
|
8206
|
+
__export(sparks_exports, {
|
|
7129
8207
|
addresses: () => addresses2,
|
|
7130
8208
|
chainConfigs: () => chainConfigs2
|
|
7131
8209
|
});
|
|
@@ -7144,55 +8222,15 @@ var chainConfigs2 = {
|
|
|
7144
8222
|
999999999: { PROXY_ADMIN: "0xdae22ce69Afcb7f4bc37D32E267645722949DE0E" }
|
|
7145
8223
|
};
|
|
7146
8224
|
var addresses2 = {
|
|
7147
|
-
1: {
|
|
7148
|
-
MINTS_ETH_UNWRAPPER_AND_CALLER: "0x0000000000000000000000000000000000000000",
|
|
7149
|
-
MINTS_MANAGER_IMPL: "0x32C49770cC95F6A606Ae5a22A0a70e8F8ff64C75",
|
|
7150
|
-
MINTS_MANAGER_IMPL_VERSION: "0.1.3"
|
|
7151
|
-
},
|
|
7152
|
-
10: {
|
|
7153
|
-
MINTS_ETH_UNWRAPPER_AND_CALLER: "0x0000000000000000000000000000000000000000",
|
|
7154
|
-
MINTS_MANAGER_IMPL: "0x66a48d99A349e228618BB68f41496923958D5543",
|
|
7155
|
-
MINTS_MANAGER_IMPL_VERSION: "0.1.4"
|
|
7156
|
-
},
|
|
7157
|
-
8453: {
|
|
7158
|
-
MINTS_ETH_UNWRAPPER_AND_CALLER: "0x0000000000000000000000000000000000000000",
|
|
7159
|
-
MINTS_MANAGER_IMPL: "0x66a48d99A349e228618BB68f41496923958D5543",
|
|
7160
|
-
MINTS_MANAGER_IMPL_VERSION: "0.1.4"
|
|
7161
|
-
},
|
|
7162
|
-
42161: {
|
|
7163
|
-
MINTS_ETH_UNWRAPPER_AND_CALLER: "0x0000000000000000000000000000000000000000",
|
|
7164
|
-
MINTS_MANAGER_IMPL: "0x66a48d99A349e228618BB68f41496923958D5543",
|
|
7165
|
-
MINTS_MANAGER_IMPL_VERSION: "0.1.4"
|
|
7166
|
-
},
|
|
7167
|
-
81457: {
|
|
7168
|
-
MINTS_ETH_UNWRAPPER_AND_CALLER: "0x0000000000000000000000000000000000000000",
|
|
7169
|
-
MINTS_MANAGER_IMPL: "0x66a48d99A349e228618BB68f41496923958D5543",
|
|
7170
|
-
MINTS_MANAGER_IMPL_VERSION: "0.1.4"
|
|
7171
|
-
},
|
|
7172
|
-
84532: {
|
|
7173
|
-
MINTS_ETH_UNWRAPPER_AND_CALLER: "0x0000000000000000000000000000000000000000",
|
|
7174
|
-
MINTS_MANAGER_IMPL: "0x66a48d99A349e228618BB68f41496923958D5543",
|
|
7175
|
-
MINTS_MANAGER_IMPL_VERSION: "0.1.4"
|
|
7176
|
-
},
|
|
7177
|
-
421614: {
|
|
7178
|
-
MINTS_ETH_UNWRAPPER_AND_CALLER: "0x0000000000000000000000000000000000000000",
|
|
7179
|
-
MINTS_MANAGER_IMPL: "0x66a48d99A349e228618BB68f41496923958D5543",
|
|
7180
|
-
MINTS_MANAGER_IMPL_VERSION: "0.1.4"
|
|
7181
|
-
},
|
|
7182
8225
|
7777777: {
|
|
7183
|
-
|
|
7184
|
-
|
|
7185
|
-
|
|
7186
|
-
},
|
|
7187
|
-
11155111: {
|
|
7188
|
-
MINTS_ETH_UNWRAPPER_AND_CALLER: "0x0000000000000000000000000000000000000000",
|
|
7189
|
-
MINTS_MANAGER_IMPL: "0x66a48d99A349e228618BB68f41496923958D5543",
|
|
7190
|
-
MINTS_MANAGER_IMPL_VERSION: "0.1.4"
|
|
8226
|
+
SPARKS_ETH_UNWRAPPER_AND_CALLER: "0xb0994EB9520C98C97e1F3953a5964535C2bd271A",
|
|
8227
|
+
SPARKS_MANAGER_IMPL: "0x66a48d99A349e228618BB68f41496923958D5543",
|
|
8228
|
+
SPARKS_MANAGER_IMPL_VERSION: "0.1.4"
|
|
7191
8229
|
},
|
|
7192
8230
|
999999999: {
|
|
7193
|
-
|
|
7194
|
-
|
|
7195
|
-
|
|
8231
|
+
SPARKS_ETH_UNWRAPPER_AND_CALLER: "0xb0994EB9520C98C97e1F3953a5964535C2bd271A",
|
|
8232
|
+
SPARKS_MANAGER_IMPL: "0xf7D8d07267E840aE466E5f2fe8b089F4DE79c7da",
|
|
8233
|
+
SPARKS_MANAGER_IMPL_VERSION: "0.1.4"
|
|
7196
8234
|
}
|
|
7197
8235
|
};
|
|
7198
8236
|
export {
|
|
@@ -7204,10 +8242,6 @@ export {
|
|
|
7204
8242
|
erc20MinterConfig,
|
|
7205
8243
|
iPremintDefinitionsABI,
|
|
7206
8244
|
iUnwrapAndForwardActionABI,
|
|
7207
|
-
mints_exports as mints,
|
|
7208
|
-
mintsEthUnwrapperAndCallerABI,
|
|
7209
|
-
mintsEthUnwrapperAndCallerAddress,
|
|
7210
|
-
mintsEthUnwrapperAndCallerConfig,
|
|
7211
8245
|
mintsSafeTransferBatchTypedDataDefinition,
|
|
7212
8246
|
mintsSafeTransferTypedDataDefinition,
|
|
7213
8247
|
premintTypedDataDefinition,
|
|
@@ -7216,6 +8250,10 @@ export {
|
|
|
7216
8250
|
protocolRewardsABI,
|
|
7217
8251
|
protocolRewardsAddress,
|
|
7218
8252
|
protocolRewardsConfig,
|
|
8253
|
+
sparks_exports as sparks,
|
|
8254
|
+
sparksEthUnwrapperAndCallerABI,
|
|
8255
|
+
sparksEthUnwrapperAndCallerAddress,
|
|
8256
|
+
sparksEthUnwrapperAndCallerConfig,
|
|
7219
8257
|
upgradeGateABI,
|
|
7220
8258
|
upgradeGateAddress,
|
|
7221
8259
|
upgradeGateConfig,
|
|
@@ -7240,6 +8278,12 @@ export {
|
|
|
7240
8278
|
zoraMints1155Config,
|
|
7241
8279
|
zoraMintsManagerImplABI,
|
|
7242
8280
|
zoraMintsManagerImplAddress,
|
|
7243
|
-
zoraMintsManagerImplConfig
|
|
8281
|
+
zoraMintsManagerImplConfig,
|
|
8282
|
+
zoraSparks1155ABI,
|
|
8283
|
+
zoraSparks1155Address,
|
|
8284
|
+
zoraSparks1155Config,
|
|
8285
|
+
zoraSparksManagerImplABI,
|
|
8286
|
+
zoraSparksManagerImplAddress,
|
|
8287
|
+
zoraSparksManagerImplConfig
|
|
7244
8288
|
};
|
|
7245
8289
|
//# sourceMappingURL=index.js.map
|