@zoralabs/protocol-deployments 0.2.0-SPARKS.0 → 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.0",
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
  //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
@@ -6978,8 +6978,8 @@ export const zoraMintsManagerImplConfig = {
6978
6978
  //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
6979
6979
 
6980
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)
6981
+ * - [__View Contract on Zora Explorer__](https://explorer.zora.energy/address/0x777777771fEcDcC3FDEe9022e0ee60770dC06088)
6982
+ * - [__View Contract on Zora Sepolia Zora Sepolia Explorer__](https://sepolia.explorer.zora.energy//address/0x777777771fEcDcC3FDEe9022e0ee60770dC06088)
6983
6983
  */
6984
6984
  export const zoraSparks1155ABI = [
6985
6985
  { stateMutability: 'nonpayable', type: 'constructor', inputs: [] },
@@ -7093,13 +7093,6 @@ export const zoraSparks1155ABI = [
7093
7093
  { name: 'extensions', internalType: 'uint256[]', type: 'uint256[]' },
7094
7094
  ],
7095
7095
  },
7096
- {
7097
- stateMutability: 'view',
7098
- type: 'function',
7099
- inputs: [],
7100
- name: 'getManager',
7101
- outputs: [{ name: '', internalType: 'address', type: 'address' }],
7102
- },
7103
7096
  {
7104
7097
  stateMutability: 'view',
7105
7098
  type: 'function',
@@ -7542,6 +7535,33 @@ export const zoraSparks1155ABI = [
7542
7535
  ],
7543
7536
  name: 'TransferBatch',
7544
7537
  },
7538
+ {
7539
+ type: 'event',
7540
+ anonymous: false,
7541
+ inputs: [
7542
+ {
7543
+ name: 'from',
7544
+ internalType: 'address',
7545
+ type: 'address',
7546
+ indexed: false,
7547
+ },
7548
+ { name: 'to', internalType: 'address', type: 'address', indexed: false },
7549
+ {
7550
+ name: 'tokenIds',
7551
+ internalType: 'uint256[]',
7552
+ type: 'uint256[]',
7553
+ indexed: false,
7554
+ },
7555
+ {
7556
+ name: 'quantities',
7557
+ internalType: 'uint256[]',
7558
+ type: 'uint256[]',
7559
+ indexed: false,
7560
+ },
7561
+ { name: 'data', internalType: 'bytes', type: 'bytes', indexed: false },
7562
+ ],
7563
+ name: 'TransferBatchWithData',
7564
+ },
7545
7565
  {
7546
7566
  type: 'event',
7547
7567
  anonymous: false,
@@ -7564,6 +7584,33 @@ export const zoraSparks1155ABI = [
7564
7584
  ],
7565
7585
  name: 'TransferSingle',
7566
7586
  },
7587
+ {
7588
+ type: 'event',
7589
+ anonymous: false,
7590
+ inputs: [
7591
+ {
7592
+ name: 'from',
7593
+ internalType: 'address',
7594
+ type: 'address',
7595
+ indexed: false,
7596
+ },
7597
+ { name: 'to', internalType: 'address', type: 'address', indexed: false },
7598
+ {
7599
+ name: 'tokenId',
7600
+ internalType: 'uint256',
7601
+ type: 'uint256',
7602
+ indexed: false,
7603
+ },
7604
+ {
7605
+ name: 'quantity',
7606
+ internalType: 'uint256',
7607
+ type: 'uint256',
7608
+ indexed: false,
7609
+ },
7610
+ { name: 'data', internalType: 'bytes', type: 'bytes', indexed: false },
7611
+ ],
7612
+ name: 'TransferSingleWithData',
7613
+ },
7567
7614
  {
7568
7615
  type: 'event',
7569
7616
  anonymous: false,
@@ -7734,17 +7781,17 @@ export const zoraSparks1155ABI = [
7734
7781
  ] as const
7735
7782
 
7736
7783
  /**
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)
7784
+ * - [__View Contract on Zora Explorer__](https://explorer.zora.energy/address/0x777777771fEcDcC3FDEe9022e0ee60770dC06088)
7785
+ * - [__View Contract on Zora Sepolia Zora Sepolia Explorer__](https://sepolia.explorer.zora.energy//address/0x777777771fEcDcC3FDEe9022e0ee60770dC06088)
7739
7786
  */
7740
7787
  export const zoraSparks1155Address = {
7741
- 7777777: '0x7777777D1EEdCa69D2f2b85F4012E6045d162B5E',
7742
- 999999999: '0x7777777D1EEdCa69D2f2b85F4012E6045d162B5E',
7788
+ 7777777: '0x777777771fEcDcC3FDEe9022e0ee60770dC06088',
7789
+ 999999999: '0x777777771fEcDcC3FDEe9022e0ee60770dC06088',
7743
7790
  } as const
7744
7791
 
7745
7792
  /**
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)
7793
+ * - [__View Contract on Zora Explorer__](https://explorer.zora.energy/address/0x777777771fEcDcC3FDEe9022e0ee60770dC06088)
7794
+ * - [__View Contract on Zora Sepolia Zora Sepolia Explorer__](https://sepolia.explorer.zora.energy//address/0x777777771fEcDcC3FDEe9022e0ee60770dC06088)
7748
7795
  */
7749
7796
  export const zoraSparks1155Config = {
7750
7797
  address: zoraSparks1155Address,
@@ -7756,8 +7803,8 @@ export const zoraSparks1155Config = {
7756
7803
  //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
7757
7804
 
7758
7805
  /**
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)
7806
+ * - [__View Contract on Zora Explorer__](https://explorer.zora.energy/address/0x7777777F57d8a26e94D1Fb7629c6FE6cb92Cd788)
7807
+ * - [__View Contract on Zora Sepolia Zora Sepolia Explorer__](https://sepolia.explorer.zora.energy//address/0x7777777F57d8a26e94D1Fb7629c6FE6cb92Cd788)
7761
7808
  */
7762
7809
  export const zoraSparksManagerImplABI = [
7763
7810
  { stateMutability: 'nonpayable', type: 'constructor', inputs: [] },
@@ -8142,17 +8189,17 @@ export const zoraSparksManagerImplABI = [
8142
8189
  ] as const
8143
8190
 
8144
8191
  /**
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)
8192
+ * - [__View Contract on Zora Explorer__](https://explorer.zora.energy/address/0x7777777F57d8a26e94D1Fb7629c6FE6cb92Cd788)
8193
+ * - [__View Contract on Zora Sepolia Zora Sepolia Explorer__](https://sepolia.explorer.zora.energy//address/0x7777777F57d8a26e94D1Fb7629c6FE6cb92Cd788)
8147
8194
  */
8148
8195
  export const zoraSparksManagerImplAddress = {
8149
- 7777777: '0x7777777402d71e0D39398F96ef2B789eCc8715d4',
8150
- 999999999: '0x7777777402d71e0D39398F96ef2B789eCc8715d4',
8196
+ 7777777: '0x7777777F57d8a26e94D1Fb7629c6FE6cb92Cd788',
8197
+ 999999999: '0x7777777F57d8a26e94D1Fb7629c6FE6cb92Cd788',
8151
8198
  } as const
8152
8199
 
8153
8200
  /**
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)
8201
+ * - [__View Contract on Zora Explorer__](https://explorer.zora.energy/address/0x7777777F57d8a26e94D1Fb7629c6FE6cb92Cd788)
8202
+ * - [__View Contract on Zora Sepolia Zora Sepolia Explorer__](https://sepolia.explorer.zora.energy//address/0x7777777F57d8a26e94D1Fb7629c6FE6cb92Cd788)
8156
8203
  */
8157
8204
  export const zoraSparksManagerImplConfig = {
8158
8205
  address: zoraSparksManagerImplAddress,