@zoralabs/protocol-deployments 0.2.0-SPARKS.1 → 0.2.0-SPARKS.2

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@zoralabs/protocol-deployments",
3
- "version": "0.2.0-SPARKS.1",
3
+ "version": "0.2.0-SPARKS.2",
4
4
  "repository": "https://github.com/ourzora/zora-protocol",
5
5
  "license": "MIT",
6
6
  "type": "module",
@@ -14,13 +14,13 @@ export const chainConfigs = {
14
14
  };
15
15
  export const addresses = {
16
16
  7777777: {
17
- SPARKS_ETH_UNWRAPPER_AND_CALLER:
17
+ MINTS_ETH_UNWRAPPER_AND_CALLER:
18
18
  "0xb0994EB9520C98C97e1F3953a5964535C2bd271A",
19
19
  SPARKS_MANAGER_IMPL: "0x66a48d99A349e228618BB68f41496923958D5543",
20
20
  SPARKS_MANAGER_IMPL_VERSION: "0.1.4",
21
21
  },
22
22
  999999999: {
23
- SPARKS_ETH_UNWRAPPER_AND_CALLER:
23
+ MINTS_ETH_UNWRAPPER_AND_CALLER:
24
24
  "0xb0994EB9520C98C97e1F3953a5964535C2bd271A",
25
25
  SPARKS_MANAGER_IMPL: "0xf7D8d07267E840aE466E5f2fe8b089F4DE79c7da",
26
26
  SPARKS_MANAGER_IMPL_VERSION: "0.1.4",
@@ -885,6 +885,120 @@ export const iUnwrapAndForwardActionABI = [
885
885
  },
886
886
  ] as const
887
887
 
888
+ //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
889
+ // MintsEthUnwrapperAndCaller
890
+ //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
891
+
892
+ /**
893
+ * - [__View Contract on Zora Explorer__](https://explorer.zora.energy/address/0xb0994EB9520C98C97e1F3953a5964535C2bd271A)
894
+ * - [__View Contract on Zora Sepolia Zora Sepolia Explorer__](https://sepolia.explorer.zora.energy//address/0xb0994EB9520C98C97e1F3953a5964535C2bd271A)
895
+ */
896
+ export const mintsEthUnwrapperAndCallerABI = [
897
+ {
898
+ stateMutability: 'nonpayable',
899
+ type: 'constructor',
900
+ inputs: [
901
+ {
902
+ name: '_zoraSparks1155',
903
+ internalType: 'contract IZoraSparks1155',
904
+ type: 'address',
905
+ },
906
+ ],
907
+ },
908
+ { stateMutability: 'payable', type: 'receive' },
909
+ {
910
+ stateMutability: 'nonpayable',
911
+ type: 'function',
912
+ inputs: [
913
+ { name: '', internalType: 'address', type: 'address' },
914
+ { name: 'from', internalType: 'address', type: 'address' },
915
+ { name: 'ids', internalType: 'uint256[]', type: 'uint256[]' },
916
+ { name: 'values', internalType: 'uint256[]', type: 'uint256[]' },
917
+ { name: 'data', internalType: 'bytes', type: 'bytes' },
918
+ ],
919
+ name: 'onERC1155BatchReceived',
920
+ outputs: [{ name: '', internalType: 'bytes4', type: 'bytes4' }],
921
+ },
922
+ {
923
+ stateMutability: 'nonpayable',
924
+ type: 'function',
925
+ inputs: [
926
+ { name: '', internalType: 'address', type: 'address' },
927
+ { name: 'from', internalType: 'address', type: 'address' },
928
+ { name: 'id', internalType: 'uint256', type: 'uint256' },
929
+ { name: 'value', internalType: 'uint256', type: 'uint256' },
930
+ { name: 'data', internalType: 'bytes', type: 'bytes' },
931
+ ],
932
+ name: 'onERC1155Received',
933
+ outputs: [{ name: '', internalType: 'bytes4', type: 'bytes4' }],
934
+ },
935
+ {
936
+ stateMutability: 'payable',
937
+ type: 'function',
938
+ inputs: [
939
+ {
940
+ name: 'permit',
941
+ internalType: 'struct IZoraSparks1155Managed.PermitBatch',
942
+ type: 'tuple',
943
+ components: [
944
+ { name: 'owner', internalType: 'address', type: 'address' },
945
+ { name: 'to', internalType: 'address', type: 'address' },
946
+ { name: 'tokenIds', internalType: 'uint256[]', type: 'uint256[]' },
947
+ { name: 'quantities', internalType: 'uint256[]', type: 'uint256[]' },
948
+ { name: 'safeTransferData', internalType: 'bytes', type: 'bytes' },
949
+ { name: 'deadline', internalType: 'uint256', type: 'uint256' },
950
+ { name: 'nonce', internalType: 'uint256', type: 'uint256' },
951
+ ],
952
+ },
953
+ { name: 'signature', internalType: 'bytes', type: 'bytes' },
954
+ ],
955
+ name: 'permitWithAdditionalValue',
956
+ outputs: [],
957
+ },
958
+ {
959
+ type: 'error',
960
+ inputs: [{ name: 'account', internalType: 'address', type: 'address' }],
961
+ name: 'AddressInsufficientBalance',
962
+ },
963
+ {
964
+ type: 'error',
965
+ inputs: [{ name: 'data', internalType: 'bytes', type: 'bytes' }],
966
+ name: 'CallFailed',
967
+ },
968
+ {
969
+ type: 'error',
970
+ inputs: [{ name: 'tokenId', internalType: 'uint256', type: 'uint256' }],
971
+ name: 'ERC20NotSupported',
972
+ },
973
+ { type: 'error', inputs: [], name: 'FailedInnerCall' },
974
+ { type: 'error', inputs: [], name: 'NotExpectingReceive' },
975
+ { type: 'error', inputs: [], name: 'NotZoraSparks1155' },
976
+ {
977
+ type: 'error',
978
+ inputs: [{ name: 'data', internalType: 'bytes', type: 'bytes' }],
979
+ name: 'TransferFailed',
980
+ },
981
+ { type: 'error', inputs: [], name: 'UnknownUserAction' },
982
+ ] as const
983
+
984
+ /**
985
+ * - [__View Contract on Zora Explorer__](https://explorer.zora.energy/address/0xb0994EB9520C98C97e1F3953a5964535C2bd271A)
986
+ * - [__View Contract on Zora Sepolia Zora Sepolia Explorer__](https://sepolia.explorer.zora.energy//address/0xb0994EB9520C98C97e1F3953a5964535C2bd271A)
987
+ */
988
+ export const mintsEthUnwrapperAndCallerAddress = {
989
+ 7777777: '0xb0994EB9520C98C97e1F3953a5964535C2bd271A',
990
+ 999999999: '0xb0994EB9520C98C97e1F3953a5964535C2bd271A',
991
+ } as const
992
+
993
+ /**
994
+ * - [__View Contract on Zora Explorer__](https://explorer.zora.energy/address/0xb0994EB9520C98C97e1F3953a5964535C2bd271A)
995
+ * - [__View Contract on Zora Sepolia Zora Sepolia Explorer__](https://sepolia.explorer.zora.energy//address/0xb0994EB9520C98C97e1F3953a5964535C2bd271A)
996
+ */
997
+ export const mintsEthUnwrapperAndCallerConfig = {
998
+ address: mintsEthUnwrapperAndCallerAddress,
999
+ abi: mintsEthUnwrapperAndCallerABI,
1000
+ } as const
1001
+
888
1002
  //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
889
1003
  // ProtocolRewards
890
1004
  //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
@@ -1196,120 +1310,6 @@ export const protocolRewardsConfig = {
1196
1310
  abi: protocolRewardsABI,
1197
1311
  } as const
1198
1312
 
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
-
1313
1313
  //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
1314
1314
  // UpgradeGate
1315
1315
  //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////