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

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.5",
3
+ "version": "0.1.5-DEV.7",
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.5",
39
- "@zoralabs/mints-deployments": "0.0.1-DEV.4"
38
+ "@zoralabs/mints-contracts": "0.1.0-DEV.7",
39
+ "@zoralabs/mints-deployments": "0.0.1-DEV.6"
40
40
  }
41
41
  }
@@ -195,9 +195,9 @@ export const addresses = {
195
195
  timestamp: 1709234007,
196
196
  },
197
197
  999999999: {
198
- CONTRACT_1155_IMPL: "0x996937aEc720228a70736738c7e3Bc918998dE46",
198
+ CONTRACT_1155_IMPL: "0xea93DF17634cB8b2d929dC2cdb69B734ddAb732e",
199
199
  CONTRACT_1155_IMPL_VERSION: "2.9.0-DEV.0",
200
- FACTORY_IMPL: "0xd58319Ecb4436b769a810aF731488071b56A5e34",
200
+ FACTORY_IMPL: "0x3E3F38FA99394C0eD95B829778333F0D4a35fa5F",
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: 1712072944,
208
+ timestamp: 1712252361,
209
209
  },
210
210
  };
@@ -38,7 +38,7 @@ export const chainConfigs = {
38
38
  };
39
39
  export const addresses = {
40
40
  999999999: {
41
- MINTS_MANAGER_IMPL: "0x5bC8b2d8Dce26158E1E8A8335A9269168C023cc0",
42
- MINTS_MANAGER_IMPL_VERSION: "0.1.0-DEV.5",
41
+ MINTS_MANAGER_IMPL: "0xCD252603Aa72DD6c14802D7F82cCaDfcB3a643C0",
42
+ MINTS_MANAGER_IMPL_VERSION: "0.1.0-DEV.7",
43
43
  },
44
44
  };
@@ -3751,7 +3751,7 @@ export const zoraCreatorRedeemMinterFactoryConfig = {
3751
3751
  //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
3752
3752
 
3753
3753
  /**
3754
- * [__View Contract on Zora Sepolia Zora Sepolia Explorer__](https://sepolia.explorer.zora.energy//address/0x7777777b3Ba1Ca5C68E197DD17546c2d08Ce0131)
3754
+ * [__View Contract on Zora Sepolia Zora Sepolia Explorer__](https://sepolia.explorer.zora.energy//address/0x77777773DC1B9dc55935bf363728bb137C40c662)
3755
3755
  */
3756
3756
  export const zoraMints1155ABI = [
3757
3757
  { stateMutability: 'nonpayable', type: 'constructor', inputs: [] },
@@ -3836,6 +3836,7 @@ export const zoraMints1155ABI = [
3836
3836
  components: [
3837
3837
  { name: 'price', internalType: 'uint256', type: 'uint256' },
3838
3838
  { name: 'tokenAddress', internalType: 'address', type: 'address' },
3839
+ { name: 'redeemHandler', internalType: 'address', type: 'address' },
3839
3840
  ],
3840
3841
  },
3841
3842
  ],
@@ -3864,13 +3865,6 @@ export const zoraMints1155ABI = [
3864
3865
  name: 'getManager',
3865
3866
  outputs: [{ name: '', internalType: 'address', type: 'address' }],
3866
3867
  },
3867
- {
3868
- stateMutability: 'view',
3869
- type: 'function',
3870
- inputs: [],
3871
- name: 'getMsgSender',
3872
- outputs: [{ name: '', internalType: 'address', type: 'address' }],
3873
- },
3874
3868
  {
3875
3869
  stateMutability: 'view',
3876
3870
  type: 'function',
@@ -3884,6 +3878,7 @@ export const zoraMints1155ABI = [
3884
3878
  components: [
3885
3879
  { name: 'price', internalType: 'uint256', type: 'uint256' },
3886
3880
  { name: 'tokenAddress', internalType: 'address', type: 'address' },
3881
+ { name: 'redeemHandler', internalType: 'address', type: 'address' },
3887
3882
  ],
3888
3883
  },
3889
3884
  ],
@@ -3898,10 +3893,10 @@ export const zoraMints1155ABI = [
3898
3893
  type: 'tuple',
3899
3894
  components: [
3900
3895
  { name: 'owner', internalType: 'address', type: 'address' },
3896
+ { name: 'to', internalType: 'address', type: 'address' },
3901
3897
  { name: 'tokenIds', internalType: 'uint256[]', type: 'uint256[]' },
3902
3898
  { name: 'quantities', internalType: 'uint256[]', type: 'uint256[]' },
3903
3899
  { name: 'safeTransferData', internalType: 'bytes', type: 'bytes' },
3904
- { name: 'call', internalType: 'bytes', type: 'bytes' },
3905
3900
  { name: 'deadline', internalType: 'uint256', type: 'uint256' },
3906
3901
  ],
3907
3902
  },
@@ -3937,10 +3932,10 @@ export const zoraMints1155ABI = [
3937
3932
  type: 'tuple',
3938
3933
  components: [
3939
3934
  { name: 'owner', internalType: 'address', type: 'address' },
3935
+ { name: 'to', internalType: 'address', type: 'address' },
3940
3936
  { name: 'tokenIds', internalType: 'uint256[]', type: 'uint256[]' },
3941
3937
  { name: 'quantities', internalType: 'uint256[]', type: 'uint256[]' },
3942
3938
  { name: 'safeTransferData', internalType: 'bytes', type: 'bytes' },
3943
- { name: 'call', internalType: 'bytes', type: 'bytes' },
3944
3939
  { name: 'deadline', internalType: 'uint256', type: 'uint256' },
3945
3940
  ],
3946
3941
  },
@@ -4018,17 +4013,17 @@ export const zoraMints1155ABI = [
4018
4013
  type: 'tuple',
4019
4014
  components: [
4020
4015
  { name: 'owner', internalType: 'address', type: 'address' },
4016
+ { name: 'to', internalType: 'address', type: 'address' },
4021
4017
  { name: 'tokenIds', internalType: 'uint256[]', type: 'uint256[]' },
4022
4018
  { name: 'quantities', internalType: 'uint256[]', type: 'uint256[]' },
4023
4019
  { name: 'safeTransferData', internalType: 'bytes', type: 'bytes' },
4024
- { name: 'call', internalType: 'bytes', type: 'bytes' },
4025
4020
  { name: 'deadline', internalType: 'uint256', type: 'uint256' },
4026
4021
  ],
4027
4022
  },
4028
4023
  { name: 'signature', internalType: 'bytes', type: 'bytes' },
4029
4024
  ],
4030
- name: 'permitTransferBatchToManagerAndCall',
4031
- outputs: [{ name: 'callReturn', internalType: 'bytes', type: 'bytes' }],
4025
+ name: 'permitSafeTransferBatch',
4026
+ outputs: [],
4032
4027
  },
4033
4028
  {
4034
4029
  stateMutability: 'nonpayable',
@@ -4151,7 +4146,6 @@ export const zoraMints1155ABI = [
4151
4146
  inputs: [
4152
4147
  { name: 'tokenIds', internalType: 'uint256[]', type: 'uint256[]' },
4153
4148
  { name: 'quantities', internalType: 'uint256[]', type: 'uint256[]' },
4154
- { name: 'safeTransferData', internalType: 'bytes', type: 'bytes' },
4155
4149
  { name: 'call', internalType: 'bytes', type: 'bytes' },
4156
4150
  ],
4157
4151
  name: 'transferBatchToManagerAndCall',
@@ -4399,6 +4393,11 @@ export const zoraMints1155ABI = [
4399
4393
  { type: 'error', inputs: [], name: 'InvalidSignature' },
4400
4394
  { type: 'error', inputs: [], name: 'InvalidTokenPrice' },
4401
4395
  { type: 'error', inputs: [], name: 'NoUriForNonexistentToken' },
4396
+ {
4397
+ type: 'error',
4398
+ inputs: [{ name: 'handler', internalType: 'address', type: 'address' }],
4399
+ name: 'NotARedeemHandler',
4400
+ },
4402
4401
  {
4403
4402
  type: 'error',
4404
4403
  inputs: [{ name: 'str', internalType: 'string', type: 'string' }],
@@ -4422,14 +4421,14 @@ export const zoraMints1155ABI = [
4422
4421
  ] as const
4423
4422
 
4424
4423
  /**
4425
- * [__View Contract on Zora Sepolia Zora Sepolia Explorer__](https://sepolia.explorer.zora.energy//address/0x7777777b3Ba1Ca5C68E197DD17546c2d08Ce0131)
4424
+ * [__View Contract on Zora Sepolia Zora Sepolia Explorer__](https://sepolia.explorer.zora.energy//address/0x77777773DC1B9dc55935bf363728bb137C40c662)
4426
4425
  */
4427
4426
  export const zoraMints1155Address = {
4428
- 999999999: '0x7777777b3Ba1Ca5C68E197DD17546c2d08Ce0131',
4427
+ 999999999: '0x77777773DC1B9dc55935bf363728bb137C40c662',
4429
4428
  } as const
4430
4429
 
4431
4430
  /**
4432
- * [__View Contract on Zora Sepolia Zora Sepolia Explorer__](https://sepolia.explorer.zora.energy//address/0x7777777b3Ba1Ca5C68E197DD17546c2d08Ce0131)
4431
+ * [__View Contract on Zora Sepolia Zora Sepolia Explorer__](https://sepolia.explorer.zora.energy//address/0x77777773DC1B9dc55935bf363728bb137C40c662)
4433
4432
  */
4434
4433
  export const zoraMints1155Config = {
4435
4434
  address: zoraMints1155Address,
@@ -4441,7 +4440,7 @@ export const zoraMints1155Config = {
4441
4440
  //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
4442
4441
 
4443
4442
  /**
4444
- * [__View Contract on Zora Sepolia Zora Sepolia Explorer__](https://sepolia.explorer.zora.energy//address/0x7777777B4115B4030d41E6D2A13d7b37188b3117)
4443
+ * [__View Contract on Zora Sepolia Zora Sepolia Explorer__](https://sepolia.explorer.zora.energy//address/0x777777742EF2C190dFbF98c18F492caE62Dc4d5F)
4445
4444
  */
4446
4445
  export const zoraMintsManagerImplABI = [
4447
4446
  {
@@ -4469,6 +4468,21 @@ export const zoraMintsManagerImplABI = [
4469
4468
  name: 'acceptOwnership',
4470
4469
  outputs: [],
4471
4470
  },
4471
+ {
4472
+ stateMutability: 'payable',
4473
+ type: 'function',
4474
+ inputs: [
4475
+ { name: 'callFrom', internalType: 'address', type: 'address' },
4476
+ { name: 'tokenIds', internalType: 'uint256[]', type: 'uint256[]' },
4477
+ { name: 'quantities', internalType: 'uint256[]', type: 'uint256[]' },
4478
+ { name: 'call', internalType: 'bytes', type: 'bytes' },
4479
+ ],
4480
+ name: 'callWithTransferTokens',
4481
+ outputs: [
4482
+ { name: 'success', internalType: 'bool', type: 'bool' },
4483
+ { name: 'result', internalType: 'bytes', type: 'bytes' },
4484
+ ],
4485
+ },
4472
4486
  {
4473
4487
  stateMutability: 'view',
4474
4488
  type: 'function',
@@ -4484,8 +4498,6 @@ export const zoraMintsManagerImplABI = [
4484
4498
  stateMutability: 'payable',
4485
4499
  type: 'function',
4486
4500
  inputs: [
4487
- { name: 'tokenIds', internalType: 'uint256[]', type: 'uint256[]' },
4488
- { name: 'quantities', internalType: 'uint256[]', type: 'uint256[]' },
4489
4501
  {
4490
4502
  name: 'zoraCreator1155Contract',
4491
4503
  internalType: 'contract IMintWithMints',
@@ -4519,8 +4531,6 @@ export const zoraMintsManagerImplABI = [
4519
4531
  stateMutability: 'payable',
4520
4532
  type: 'function',
4521
4533
  inputs: [
4522
- { name: 'tokenIds', internalType: 'uint256[]', type: 'uint256[]' },
4523
- { name: 'quantities', internalType: 'uint256[]', type: 'uint256[]' },
4524
4534
  {
4525
4535
  name: 'contractConfig',
4526
4536
  internalType: 'struct ContractCreationConfig',
@@ -4576,17 +4586,17 @@ export const zoraMintsManagerImplABI = [
4576
4586
  },
4577
4587
  { name: 'signature', internalType: 'bytes', type: 'bytes' },
4578
4588
  {
4579
- name: 'collectMintArguments',
4580
- internalType: 'struct ICollectWithZoraMints.CollectMintArguments',
4589
+ name: 'mintArguments',
4590
+ internalType: 'struct MintArguments',
4581
4591
  type: 'tuple',
4582
4592
  components: [
4593
+ { name: 'mintRecipient', internalType: 'address', type: 'address' },
4594
+ { name: 'mintComment', internalType: 'string', type: 'string' },
4583
4595
  {
4584
4596
  name: 'mintRewardsRecipients',
4585
4597
  internalType: 'address[]',
4586
4598
  type: 'address[]',
4587
4599
  },
4588
- { name: 'minterArguments', internalType: 'bytes', type: 'bytes' },
4589
- { name: 'mintComment', internalType: 'string', type: 'string' },
4590
4600
  ],
4591
4601
  },
4592
4602
  { name: 'signerContract', internalType: 'address', type: 'address' },
@@ -4638,6 +4648,7 @@ export const zoraMintsManagerImplABI = [
4638
4648
  components: [
4639
4649
  { name: 'price', internalType: 'uint256', type: 'uint256' },
4640
4650
  { name: 'tokenAddress', internalType: 'address', type: 'address' },
4651
+ { name: 'redeemHandler', internalType: 'address', type: 'address' },
4641
4652
  ],
4642
4653
  },
4643
4654
  { name: 'defaultMintable', internalType: 'bool', type: 'bool' },
@@ -4727,27 +4738,27 @@ export const zoraMintsManagerImplABI = [
4727
4738
  outputs: [{ name: '', internalType: 'uint256', type: 'uint256' }],
4728
4739
  },
4729
4740
  {
4730
- stateMutability: 'pure',
4741
+ stateMutability: 'nonpayable',
4731
4742
  type: 'function',
4732
4743
  inputs: [
4733
4744
  { name: '', internalType: 'address', type: 'address' },
4734
- { name: '', internalType: 'address', type: 'address' },
4735
- { name: '', internalType: 'uint256[]', type: 'uint256[]' },
4736
- { name: '', internalType: 'uint256[]', type: 'uint256[]' },
4737
- { name: '', internalType: 'bytes', type: 'bytes' },
4745
+ { name: 'from', internalType: 'address', type: 'address' },
4746
+ { name: 'ids', internalType: 'uint256[]', type: 'uint256[]' },
4747
+ { name: 'values', internalType: 'uint256[]', type: 'uint256[]' },
4748
+ { name: 'data', internalType: 'bytes', type: 'bytes' },
4738
4749
  ],
4739
4750
  name: 'onERC1155BatchReceived',
4740
4751
  outputs: [{ name: '', internalType: 'bytes4', type: 'bytes4' }],
4741
4752
  },
4742
4753
  {
4743
- stateMutability: 'pure',
4754
+ stateMutability: 'nonpayable',
4744
4755
  type: 'function',
4745
4756
  inputs: [
4746
4757
  { name: '', internalType: 'address', type: 'address' },
4747
- { name: '', internalType: 'address', type: 'address' },
4748
- { name: '', internalType: 'uint256', type: 'uint256' },
4749
- { name: '', internalType: 'uint256', type: 'uint256' },
4750
- { name: '', internalType: 'bytes', type: 'bytes' },
4758
+ { name: 'from', internalType: 'address', type: 'address' },
4759
+ { name: 'id', internalType: 'uint256', type: 'uint256' },
4760
+ { name: 'value', internalType: 'uint256', type: 'uint256' },
4761
+ { name: 'data', internalType: 'bytes', type: 'bytes' },
4751
4762
  ],
4752
4763
  name: 'onERC1155Received',
4753
4764
  outputs: [{ name: '', internalType: 'bytes4', type: 'bytes4' }],
@@ -5058,6 +5069,7 @@ export const zoraMintsManagerImplABI = [
5058
5069
  ],
5059
5070
  name: 'Create2InsufficientBalance',
5060
5071
  },
5072
+ { type: 'error', inputs: [], name: 'ERC1155BatchReceivedCallFailed' },
5061
5073
  { type: 'error', inputs: [], name: 'ERC1155_MINT_TO_ZERO_ADDRESS' },
5062
5074
  {
5063
5075
  type: 'error',
@@ -5120,9 +5132,17 @@ export const zoraMintsManagerImplABI = [
5120
5132
  { type: 'error', inputs: [], name: 'MinterContractAlreadyExists' },
5121
5133
  { type: 'error', inputs: [], name: 'MinterContractDoesNotExist' },
5122
5134
  { type: 'error', inputs: [], name: 'NewOwnerNeedsToBeAdmin' },
5135
+ { type: 'error', inputs: [], name: 'NoTokensTransferred' },
5123
5136
  { type: 'error', inputs: [], name: 'NoUriForNonexistentToken' },
5124
5137
  { type: 'error', inputs: [], name: 'NonEthRedemption' },
5138
+ {
5139
+ type: 'error',
5140
+ inputs: [{ name: 'handler', internalType: 'address', type: 'address' }],
5141
+ name: 'NotARedeemHandler',
5142
+ },
5125
5143
  { type: 'error', inputs: [], name: 'NotInitializing' },
5144
+ { type: 'error', inputs: [], name: 'NotSelfCall' },
5145
+ { type: 'error', inputs: [], name: 'NotZoraMints1155' },
5126
5146
  {
5127
5147
  type: 'error',
5128
5148
  inputs: [{ name: 'owner', internalType: 'address', type: 'address' }],
@@ -5143,6 +5163,7 @@ export const zoraMintsManagerImplABI = [
5143
5163
  ],
5144
5164
  name: 'ProtocolRewardsWithdrawFailed',
5145
5165
  },
5166
+ { type: 'error', inputs: [], name: 'ReentrancyGuardReentrantCall' },
5146
5167
  { type: 'error', inputs: [], name: 'Renderer_NotValidRendererContract' },
5147
5168
  { type: 'error', inputs: [], name: 'SaleEnded' },
5148
5169
  { type: 'error', inputs: [], name: 'SaleHasNotStarted' },
@@ -5182,6 +5203,11 @@ export const zoraMintsManagerImplABI = [
5182
5203
  inputs: [{ name: 'slot', internalType: 'bytes32', type: 'bytes32' }],
5183
5204
  name: 'UUPSUnsupportedProxiableUUID',
5184
5205
  },
5206
+ {
5207
+ type: 'error',
5208
+ inputs: [{ name: 'selector', internalType: 'bytes4', type: 'bytes4' }],
5209
+ name: 'UnknownUserAction',
5210
+ },
5185
5211
  {
5186
5212
  type: 'error',
5187
5213
  inputs: [
@@ -5218,14 +5244,14 @@ export const zoraMintsManagerImplABI = [
5218
5244
  ] as const
5219
5245
 
5220
5246
  /**
5221
- * [__View Contract on Zora Sepolia Zora Sepolia Explorer__](https://sepolia.explorer.zora.energy//address/0x7777777B4115B4030d41E6D2A13d7b37188b3117)
5247
+ * [__View Contract on Zora Sepolia Zora Sepolia Explorer__](https://sepolia.explorer.zora.energy//address/0x777777742EF2C190dFbF98c18F492caE62Dc4d5F)
5222
5248
  */
5223
5249
  export const zoraMintsManagerImplAddress = {
5224
- 999999999: '0x7777777B4115B4030d41E6D2A13d7b37188b3117',
5250
+ 999999999: '0x777777742EF2C190dFbF98c18F492caE62Dc4d5F',
5225
5251
  } as const
5226
5252
 
5227
5253
  /**
5228
- * [__View Contract on Zora Sepolia Zora Sepolia Explorer__](https://sepolia.explorer.zora.energy//address/0x7777777B4115B4030d41E6D2A13d7b37188b3117)
5254
+ * [__View Contract on Zora Sepolia Zora Sepolia Explorer__](https://sepolia.explorer.zora.energy//address/0x777777742EF2C190dFbF98c18F492caE62Dc4d5F)
5229
5255
  */
5230
5256
  export const zoraMintsManagerImplConfig = {
5231
5257
  address: zoraMintsManagerImplAddress,