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