@zoralabs/protocol-deployments 0.1.5-DEV.7 → 0.1.5-DEV.9

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.1.5-DEV.7",
3
+ "version": "0.1.5-DEV.9",
4
4
  "repository": "https://github.com/ourzora/zora-protocol",
5
5
  "license": "MIT",
6
6
  "type": "module",
@@ -35,7 +35,7 @@
35
35
  "@lavamoat/preinstall-always-fail": "2.0.0",
36
36
  "@zoralabs/1155-deployments": "*",
37
37
  "@zoralabs/zora-1155-contracts": "2.9.0-DEV.0",
38
- "@zoralabs/mints-contracts": "0.1.0-DEV.7",
39
- "@zoralabs/mints-deployments": "0.0.1-DEV.6"
38
+ "@zoralabs/mints-contracts": "0.1.0-DEV.8",
39
+ "@zoralabs/mints-deployments": "0.0.1-DEV.7"
40
40
  }
41
41
  }
@@ -195,9 +195,9 @@ export const addresses = {
195
195
  timestamp: 1709234007,
196
196
  },
197
197
  999999999: {
198
- CONTRACT_1155_IMPL: "0xea93DF17634cB8b2d929dC2cdb69B734ddAb732e",
198
+ CONTRACT_1155_IMPL: "0x7A4149d3696a138bF97093391CDaAc9259783Dda",
199
199
  CONTRACT_1155_IMPL_VERSION: "2.9.0-DEV.0",
200
- FACTORY_IMPL: "0x3E3F38FA99394C0eD95B829778333F0D4a35fa5F",
200
+ FACTORY_IMPL: "0xD93c769b61B3B4b0782a936D6040FFAFB7609f02",
201
201
  FACTORY_PROXY: "0x777777C338d93e2C7adf08D102d45CA7CC4Ed021",
202
202
  FIXED_PRICE_SALE_STRATEGY: "0x6d28164C3CE04A190D5F9f0f8881fc807EAD975A",
203
203
  MERKLE_MINT_SALE_STRATEGY: "0x5e5fD4b758076BAD940db0284b711A67E8a3B88c",
@@ -205,6 +205,6 @@ export const addresses = {
205
205
  PREMINTER_PROXY: "0x7777773606e7e46C8Ba8B98C08f5cD218e31d340",
206
206
  REDEEM_MINTER_FACTORY: "0x25cFb6dd9cDE8425e781d6718a29Ccbca3F038d6",
207
207
  UPGRADE_GATE: "0x0000000000000000000000000000000000000000",
208
- timestamp: 1712252361,
208
+ timestamp: 1712334202,
209
209
  },
210
210
  };
@@ -38,7 +38,9 @@ export const chainConfigs = {
38
38
  };
39
39
  export const addresses = {
40
40
  999999999: {
41
- MINTS_MANAGER_IMPL: "0xCD252603Aa72DD6c14802D7F82cCaDfcB3a643C0",
42
- MINTS_MANAGER_IMPL_VERSION: "0.1.0-DEV.7",
41
+ MINTS_ETH_UNWRAPPER_AND_CALLER:
42
+ "0x0cA1f6829fA3B42480Ae363Cca5E95d1Fa52688b",
43
+ MINTS_MANAGER_IMPL: "0x7f0Ec2B57e9c0FCc45629080b3E772118e7248aE",
44
+ MINTS_MANAGER_IMPL_VERSION: "0.1.0-DEV.8",
43
45
  },
44
46
  };
@@ -1,3 +1,98 @@
1
+ //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
2
+ // IUnwrapAndForwardAction
3
+ //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
4
+
5
+ export const iUnwrapAndForwardActionABI = [
6
+ {
7
+ stateMutability: 'payable',
8
+ type: 'function',
9
+ inputs: [
10
+ { name: 'receiverAddress', internalType: 'address', type: 'address' },
11
+ { name: 'call', internalType: 'bytes', type: 'bytes' },
12
+ { name: 'valueToSend', internalType: 'uint256', type: 'uint256' },
13
+ ],
14
+ name: 'callWithEth',
15
+ outputs: [],
16
+ },
17
+ ] as const
18
+
19
+ //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
20
+ // MintsEthUnwrapperAndCaller
21
+ //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
22
+
23
+ /**
24
+ * [__View Contract on Zora Sepolia Zora Sepolia Explorer__](https://sepolia.explorer.zora.energy//address/0x0cA1f6829fA3B42480Ae363Cca5E95d1Fa52688b)
25
+ */
26
+ export const mintsEthUnwrapperAndCallerABI = [
27
+ {
28
+ stateMutability: 'nonpayable',
29
+ type: 'constructor',
30
+ inputs: [
31
+ {
32
+ name: '_zoraMints1155',
33
+ internalType: 'contract IZoraMints1155',
34
+ type: 'address',
35
+ },
36
+ ],
37
+ },
38
+ { stateMutability: 'payable', type: 'receive' },
39
+ {
40
+ stateMutability: 'nonpayable',
41
+ type: 'function',
42
+ inputs: [
43
+ { name: '', internalType: 'address', type: 'address' },
44
+ { name: 'from', internalType: 'address', type: 'address' },
45
+ { name: 'ids', internalType: 'uint256[]', type: 'uint256[]' },
46
+ { name: 'values', internalType: 'uint256[]', type: 'uint256[]' },
47
+ { name: 'data', internalType: 'bytes', type: 'bytes' },
48
+ ],
49
+ name: 'onERC1155BatchReceived',
50
+ outputs: [{ name: '', internalType: 'bytes4', type: 'bytes4' }],
51
+ },
52
+ {
53
+ stateMutability: 'nonpayable',
54
+ type: 'function',
55
+ inputs: [
56
+ { name: '', internalType: 'address', type: 'address' },
57
+ { name: 'from', internalType: 'address', type: 'address' },
58
+ { name: 'id', internalType: 'uint256', type: 'uint256' },
59
+ { name: 'value', internalType: 'uint256', type: 'uint256' },
60
+ { name: 'data', internalType: 'bytes', type: 'bytes' },
61
+ ],
62
+ name: 'onERC1155Received',
63
+ outputs: [{ name: '', internalType: 'bytes4', type: 'bytes4' }],
64
+ },
65
+ {
66
+ type: 'error',
67
+ inputs: [{ name: 'tokenId', internalType: 'uint256', type: 'uint256' }],
68
+ name: 'ERC20NotSupported',
69
+ },
70
+ { type: 'error', inputs: [], name: 'ETHTransferFailed' },
71
+ { type: 'error', inputs: [], name: 'NotExpectingReceive' },
72
+ { type: 'error', inputs: [], name: 'NotZoraMints1155' },
73
+ {
74
+ type: 'error',
75
+ inputs: [{ name: 'data', internalType: 'bytes', type: 'bytes' }],
76
+ name: 'TransferFailed',
77
+ },
78
+ { type: 'error', inputs: [], name: 'UnknownUserAction' },
79
+ ] as const
80
+
81
+ /**
82
+ * [__View Contract on Zora Sepolia Zora Sepolia Explorer__](https://sepolia.explorer.zora.energy//address/0x0cA1f6829fA3B42480Ae363Cca5E95d1Fa52688b)
83
+ */
84
+ export const mintsEthUnwrapperAndCallerAddress = {
85
+ 999999999: '0x0cA1f6829fA3B42480Ae363Cca5E95d1Fa52688b',
86
+ } as const
87
+
88
+ /**
89
+ * [__View Contract on Zora Sepolia Zora Sepolia Explorer__](https://sepolia.explorer.zora.energy//address/0x0cA1f6829fA3B42480Ae363Cca5E95d1Fa52688b)
90
+ */
91
+ export const mintsEthUnwrapperAndCallerConfig = {
92
+ address: mintsEthUnwrapperAndCallerAddress,
93
+ abi: mintsEthUnwrapperAndCallerABI,
94
+ } as const
95
+
1
96
  //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
2
97
  // ZoraCreator1155FactoryImpl
3
98
  //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
@@ -3751,7 +3846,7 @@ export const zoraCreatorRedeemMinterFactoryConfig = {
3751
3846
  //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
3752
3847
 
3753
3848
  /**
3754
- * [__View Contract on Zora Sepolia Zora Sepolia Explorer__](https://sepolia.explorer.zora.energy//address/0x77777773DC1B9dc55935bf363728bb137C40c662)
3849
+ * [__View Contract on Zora Sepolia Zora Sepolia Explorer__](https://sepolia.explorer.zora.energy//address/0x7777777EBF55Ec642acCBCfe1342C2B7A384Afe4)
3755
3850
  */
3756
3851
  export const zoraMints1155ABI = [
3757
3852
  { stateMutability: 'nonpayable', type: 'constructor', inputs: [] },
@@ -3889,7 +3984,7 @@ export const zoraMints1155ABI = [
3889
3984
  inputs: [
3890
3985
  {
3891
3986
  name: 'permit',
3892
- internalType: 'struct IZoraMints1155Managed.Permit',
3987
+ internalType: 'struct IZoraMints1155Managed.PermitBatch',
3893
3988
  type: 'tuple',
3894
3989
  components: [
3895
3990
  { name: 'owner', internalType: 'address', type: 'address' },
@@ -3898,11 +3993,33 @@ export const zoraMints1155ABI = [
3898
3993
  { name: 'quantities', internalType: 'uint256[]', type: 'uint256[]' },
3899
3994
  { name: 'safeTransferData', internalType: 'bytes', type: 'bytes' },
3900
3995
  { name: 'deadline', internalType: 'uint256', type: 'uint256' },
3996
+ { name: 'nonce', internalType: 'uint256', type: 'uint256' },
3901
3997
  ],
3902
3998
  },
3903
- { name: 'nonce', internalType: 'uint256', type: 'uint256' },
3904
3999
  ],
3905
- name: 'hashPermit',
4000
+ name: 'hashPermitBatch',
4001
+ outputs: [{ name: '', internalType: 'bytes32', type: 'bytes32' }],
4002
+ },
4003
+ {
4004
+ stateMutability: 'view',
4005
+ type: 'function',
4006
+ inputs: [
4007
+ {
4008
+ name: 'permit',
4009
+ internalType: 'struct IZoraMints1155Managed.PermitSingle',
4010
+ type: 'tuple',
4011
+ components: [
4012
+ { name: 'owner', internalType: 'address', type: 'address' },
4013
+ { name: 'to', internalType: 'address', type: 'address' },
4014
+ { name: 'tokenId', internalType: 'uint256', type: 'uint256' },
4015
+ { name: 'quantity', internalType: 'uint256', type: 'uint256' },
4016
+ { name: 'safeTransferData', internalType: 'bytes', type: 'bytes' },
4017
+ { name: 'deadline', internalType: 'uint256', type: 'uint256' },
4018
+ { name: 'nonce', internalType: 'uint256', type: 'uint256' },
4019
+ ],
4020
+ },
4021
+ ],
4022
+ name: 'hashPermitSingle',
3906
4023
  outputs: [{ name: '', internalType: 'bytes32', type: 'bytes32' }],
3907
4024
  },
3908
4025
  {
@@ -3928,7 +4045,7 @@ export const zoraMints1155ABI = [
3928
4045
  inputs: [
3929
4046
  {
3930
4047
  name: 'permit',
3931
- internalType: 'struct IZoraMints1155Managed.Permit',
4048
+ internalType: 'struct IZoraMints1155Managed.PermitBatch',
3932
4049
  type: 'tuple',
3933
4050
  components: [
3934
4051
  { name: 'owner', internalType: 'address', type: 'address' },
@@ -3937,11 +4054,35 @@ export const zoraMints1155ABI = [
3937
4054
  { name: 'quantities', internalType: 'uint256[]', type: 'uint256[]' },
3938
4055
  { name: 'safeTransferData', internalType: 'bytes', type: 'bytes' },
3939
4056
  { name: 'deadline', internalType: 'uint256', type: 'uint256' },
4057
+ { name: 'nonce', internalType: 'uint256', type: 'uint256' },
3940
4058
  ],
3941
4059
  },
3942
4060
  { name: 'signature', internalType: 'bytes', type: 'bytes' },
3943
4061
  ],
3944
- name: 'isValidSignature',
4062
+ name: 'isValidSignatureTransferBatch',
4063
+ outputs: [{ name: '', internalType: 'bool', type: 'bool' }],
4064
+ },
4065
+ {
4066
+ stateMutability: 'view',
4067
+ type: 'function',
4068
+ inputs: [
4069
+ {
4070
+ name: 'permit',
4071
+ internalType: 'struct IZoraMints1155Managed.PermitSingle',
4072
+ type: 'tuple',
4073
+ components: [
4074
+ { name: 'owner', internalType: 'address', type: 'address' },
4075
+ { name: 'to', internalType: 'address', type: 'address' },
4076
+ { name: 'tokenId', internalType: 'uint256', type: 'uint256' },
4077
+ { name: 'quantity', internalType: 'uint256', type: 'uint256' },
4078
+ { name: 'safeTransferData', internalType: 'bytes', type: 'bytes' },
4079
+ { name: 'deadline', internalType: 'uint256', type: 'uint256' },
4080
+ { name: 'nonce', internalType: 'uint256', type: 'uint256' },
4081
+ ],
4082
+ },
4083
+ { name: 'signature', internalType: 'bytes', type: 'bytes' },
4084
+ ],
4085
+ name: 'isValidSignatureTransferSingle',
3945
4086
  outputs: [{ name: '', internalType: 'bool', type: 'bool' }],
3946
4087
  },
3947
4088
  {
@@ -3979,9 +4120,12 @@ export const zoraMints1155ABI = [
3979
4120
  {
3980
4121
  stateMutability: 'view',
3981
4122
  type: 'function',
3982
- inputs: [{ name: 'owner', internalType: 'address', type: 'address' }],
3983
- name: 'nonces',
3984
- outputs: [{ name: '', internalType: 'uint256', type: 'uint256' }],
4123
+ inputs: [
4124
+ { name: 'owner', internalType: 'address', type: 'address' },
4125
+ { name: 'nonce', internalType: 'uint256', type: 'uint256' },
4126
+ ],
4127
+ name: 'nonceUsed',
4128
+ outputs: [{ name: '', internalType: 'bool', type: 'bool' }],
3985
4129
  },
3986
4130
  {
3987
4131
  stateMutability: 'nonpayable',
@@ -4009,7 +4153,30 @@ export const zoraMints1155ABI = [
4009
4153
  inputs: [
4010
4154
  {
4011
4155
  name: 'permit',
4012
- internalType: 'struct IZoraMints1155Managed.Permit',
4156
+ internalType: 'struct IZoraMints1155Managed.PermitSingle',
4157
+ type: 'tuple',
4158
+ components: [
4159
+ { name: 'owner', internalType: 'address', type: 'address' },
4160
+ { name: 'to', internalType: 'address', type: 'address' },
4161
+ { name: 'tokenId', internalType: 'uint256', type: 'uint256' },
4162
+ { name: 'quantity', internalType: 'uint256', type: 'uint256' },
4163
+ { name: 'safeTransferData', internalType: 'bytes', type: 'bytes' },
4164
+ { name: 'deadline', internalType: 'uint256', type: 'uint256' },
4165
+ { name: 'nonce', internalType: 'uint256', type: 'uint256' },
4166
+ ],
4167
+ },
4168
+ { name: 'signature', internalType: 'bytes', type: 'bytes' },
4169
+ ],
4170
+ name: 'permitSafeTransfer',
4171
+ outputs: [],
4172
+ },
4173
+ {
4174
+ stateMutability: 'nonpayable',
4175
+ type: 'function',
4176
+ inputs: [
4177
+ {
4178
+ name: 'permit',
4179
+ internalType: 'struct IZoraMints1155Managed.PermitBatch',
4013
4180
  type: 'tuple',
4014
4181
  components: [
4015
4182
  { name: 'owner', internalType: 'address', type: 'address' },
@@ -4018,6 +4185,7 @@ export const zoraMints1155ABI = [
4018
4185
  { name: 'quantities', internalType: 'uint256[]', type: 'uint256[]' },
4019
4186
  { name: 'safeTransferData', internalType: 'bytes', type: 'bytes' },
4020
4187
  { name: 'deadline', internalType: 'uint256', type: 'uint256' },
4188
+ { name: 'nonce', internalType: 'uint256', type: 'uint256' },
4021
4189
  ],
4022
4190
  },
4023
4191
  { name: 'signature', internalType: 'bytes', type: 'bytes' },
@@ -4421,14 +4589,14 @@ export const zoraMints1155ABI = [
4421
4589
  ] as const
4422
4590
 
4423
4591
  /**
4424
- * [__View Contract on Zora Sepolia Zora Sepolia Explorer__](https://sepolia.explorer.zora.energy//address/0x77777773DC1B9dc55935bf363728bb137C40c662)
4592
+ * [__View Contract on Zora Sepolia Zora Sepolia Explorer__](https://sepolia.explorer.zora.energy//address/0x7777777EBF55Ec642acCBCfe1342C2B7A384Afe4)
4425
4593
  */
4426
4594
  export const zoraMints1155Address = {
4427
- 999999999: '0x77777773DC1B9dc55935bf363728bb137C40c662',
4595
+ 999999999: '0x7777777EBF55Ec642acCBCfe1342C2B7A384Afe4',
4428
4596
  } as const
4429
4597
 
4430
4598
  /**
4431
- * [__View Contract on Zora Sepolia Zora Sepolia Explorer__](https://sepolia.explorer.zora.energy//address/0x77777773DC1B9dc55935bf363728bb137C40c662)
4599
+ * [__View Contract on Zora Sepolia Zora Sepolia Explorer__](https://sepolia.explorer.zora.energy//address/0x7777777EBF55Ec642acCBCfe1342C2B7A384Afe4)
4432
4600
  */
4433
4601
  export const zoraMints1155Config = {
4434
4602
  address: zoraMints1155Address,
@@ -4440,7 +4608,7 @@ export const zoraMints1155Config = {
4440
4608
  //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
4441
4609
 
4442
4610
  /**
4443
- * [__View Contract on Zora Sepolia Zora Sepolia Explorer__](https://sepolia.explorer.zora.energy//address/0x777777742EF2C190dFbF98c18F492caE62Dc4d5F)
4611
+ * [__View Contract on Zora Sepolia Zora Sepolia Explorer__](https://sepolia.explorer.zora.energy//address/0x7777777dB66f897FDC5e6f01dB79C4e56dC817D7)
4444
4612
  */
4445
4613
  export const zoraMintsManagerImplABI = [
4446
4614
  {
@@ -5069,6 +5237,7 @@ export const zoraMintsManagerImplABI = [
5069
5237
  ],
5070
5238
  name: 'Create2InsufficientBalance',
5071
5239
  },
5240
+ { type: 'error', inputs: [], name: 'DefaultOwnerCannotBeZero' },
5072
5241
  { type: 'error', inputs: [], name: 'ERC1155BatchReceivedCallFailed' },
5073
5242
  { type: 'error', inputs: [], name: 'ERC1155_MINT_TO_ZERO_ADDRESS' },
5074
5243
  {
@@ -5112,6 +5281,7 @@ export const zoraMintsManagerImplABI = [
5112
5281
  name: 'InvalidMerkleProof',
5113
5282
  },
5114
5283
  { type: 'error', inputs: [], name: 'InvalidMintSchedule' },
5284
+ { type: 'error', inputs: [], name: 'InvalidOwnerForAssociatedZoraMints' },
5115
5285
  { type: 'error', inputs: [], name: 'InvalidPremintVersion' },
5116
5286
  { type: 'error', inputs: [], name: 'InvalidRecipient' },
5117
5287
  { type: 'error', inputs: [], name: 'InvalidSignature' },
@@ -5154,6 +5324,7 @@ export const zoraMintsManagerImplABI = [
5154
5324
  name: 'OwnableUnauthorizedAccount',
5155
5325
  },
5156
5326
  { type: 'error', inputs: [], name: 'PremintDeleted' },
5327
+ { type: 'error', inputs: [], name: 'PremintExecutorCannotBeZero' },
5157
5328
  {
5158
5329
  type: 'error',
5159
5330
  inputs: [
@@ -5244,14 +5415,14 @@ export const zoraMintsManagerImplABI = [
5244
5415
  ] as const
5245
5416
 
5246
5417
  /**
5247
- * [__View Contract on Zora Sepolia Zora Sepolia Explorer__](https://sepolia.explorer.zora.energy//address/0x777777742EF2C190dFbF98c18F492caE62Dc4d5F)
5418
+ * [__View Contract on Zora Sepolia Zora Sepolia Explorer__](https://sepolia.explorer.zora.energy//address/0x7777777dB66f897FDC5e6f01dB79C4e56dC817D7)
5248
5419
  */
5249
5420
  export const zoraMintsManagerImplAddress = {
5250
- 999999999: '0x777777742EF2C190dFbF98c18F492caE62Dc4d5F',
5421
+ 999999999: '0x7777777dB66f897FDC5e6f01dB79C4e56dC817D7',
5251
5422
  } as const
5252
5423
 
5253
5424
  /**
5254
- * [__View Contract on Zora Sepolia Zora Sepolia Explorer__](https://sepolia.explorer.zora.energy//address/0x777777742EF2C190dFbF98c18F492caE62Dc4d5F)
5425
+ * [__View Contract on Zora Sepolia Zora Sepolia Explorer__](https://sepolia.explorer.zora.energy//address/0x7777777dB66f897FDC5e6f01dB79C4e56dC817D7)
5255
5426
  */
5256
5427
  export const zoraMintsManagerImplConfig = {
5257
5428
  address: zoraMintsManagerImplAddress,