@zoralabs/protocol-deployments 0.1.5-DEV.6 → 0.1.5-DEV.8

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/dist/index.js CHANGED
@@ -5,6 +5,80 @@ var __export = (target, all) => {
5
5
  };
6
6
 
7
7
  // src/generated/wagmi.ts
8
+ var iUnwrapAndForwardActionABI = [
9
+ {
10
+ stateMutability: "payable",
11
+ type: "function",
12
+ inputs: [
13
+ { name: "receiverAddress", internalType: "address", type: "address" },
14
+ { name: "call", internalType: "bytes", type: "bytes" },
15
+ { name: "valueToSend", internalType: "uint256", type: "uint256" }
16
+ ],
17
+ name: "callWithEth",
18
+ outputs: []
19
+ }
20
+ ];
21
+ var mintsEthUnwrapperAndCallerABI = [
22
+ {
23
+ stateMutability: "nonpayable",
24
+ type: "constructor",
25
+ inputs: [
26
+ {
27
+ name: "_zoraMints1155",
28
+ internalType: "contract IZoraMints1155",
29
+ type: "address"
30
+ }
31
+ ]
32
+ },
33
+ { stateMutability: "payable", type: "receive" },
34
+ {
35
+ stateMutability: "nonpayable",
36
+ type: "function",
37
+ inputs: [
38
+ { name: "", internalType: "address", type: "address" },
39
+ { name: "from", internalType: "address", type: "address" },
40
+ { name: "ids", internalType: "uint256[]", type: "uint256[]" },
41
+ { name: "values", internalType: "uint256[]", type: "uint256[]" },
42
+ { name: "data", internalType: "bytes", type: "bytes" }
43
+ ],
44
+ name: "onERC1155BatchReceived",
45
+ outputs: [{ name: "", internalType: "bytes4", type: "bytes4" }]
46
+ },
47
+ {
48
+ stateMutability: "nonpayable",
49
+ type: "function",
50
+ inputs: [
51
+ { name: "", internalType: "address", type: "address" },
52
+ { name: "from", internalType: "address", type: "address" },
53
+ { name: "id", internalType: "uint256", type: "uint256" },
54
+ { name: "value", internalType: "uint256", type: "uint256" },
55
+ { name: "data", internalType: "bytes", type: "bytes" }
56
+ ],
57
+ name: "onERC1155Received",
58
+ outputs: [{ name: "", internalType: "bytes4", type: "bytes4" }]
59
+ },
60
+ {
61
+ type: "error",
62
+ inputs: [{ name: "tokenId", internalType: "uint256", type: "uint256" }],
63
+ name: "ERC20NotSupported"
64
+ },
65
+ { type: "error", inputs: [], name: "ETHTransferFailed" },
66
+ { type: "error", inputs: [], name: "NotExpectingReceive" },
67
+ { type: "error", inputs: [], name: "NotZoraMints1155" },
68
+ {
69
+ type: "error",
70
+ inputs: [{ name: "data", internalType: "bytes", type: "bytes" }],
71
+ name: "TransferFailed"
72
+ },
73
+ { type: "error", inputs: [], name: "UnknownUserAction" }
74
+ ];
75
+ var mintsEthUnwrapperAndCallerAddress = {
76
+ 999999999: "0x0cA1f6829fA3B42480Ae363Cca5E95d1Fa52688b"
77
+ };
78
+ var mintsEthUnwrapperAndCallerConfig = {
79
+ address: mintsEthUnwrapperAndCallerAddress,
80
+ abi: mintsEthUnwrapperAndCallerABI
81
+ };
8
82
  var zoraCreator1155FactoryImplABI = [
9
83
  {
10
84
  stateMutability: "nonpayable",
@@ -3627,7 +3701,8 @@ var zoraMints1155ABI = [
3627
3701
  type: "tuple",
3628
3702
  components: [
3629
3703
  { name: "price", internalType: "uint256", type: "uint256" },
3630
- { name: "tokenAddress", internalType: "address", type: "address" }
3704
+ { name: "tokenAddress", internalType: "address", type: "address" },
3705
+ { name: "redeemHandler", internalType: "address", type: "address" }
3631
3706
  ]
3632
3707
  }
3633
3708
  ],
@@ -3656,13 +3731,6 @@ var zoraMints1155ABI = [
3656
3731
  name: "getManager",
3657
3732
  outputs: [{ name: "", internalType: "address", type: "address" }]
3658
3733
  },
3659
- {
3660
- stateMutability: "view",
3661
- type: "function",
3662
- inputs: [],
3663
- name: "getMsgSender",
3664
- outputs: [{ name: "", internalType: "address", type: "address" }]
3665
- },
3666
3734
  {
3667
3735
  stateMutability: "view",
3668
3736
  type: "function",
@@ -3675,7 +3743,8 @@ var zoraMints1155ABI = [
3675
3743
  type: "tuple",
3676
3744
  components: [
3677
3745
  { name: "price", internalType: "uint256", type: "uint256" },
3678
- { name: "tokenAddress", internalType: "address", type: "address" }
3746
+ { name: "tokenAddress", internalType: "address", type: "address" },
3747
+ { name: "redeemHandler", internalType: "address", type: "address" }
3679
3748
  ]
3680
3749
  }
3681
3750
  ]
@@ -3690,10 +3759,10 @@ var zoraMints1155ABI = [
3690
3759
  type: "tuple",
3691
3760
  components: [
3692
3761
  { name: "owner", internalType: "address", type: "address" },
3762
+ { name: "to", internalType: "address", type: "address" },
3693
3763
  { name: "tokenIds", internalType: "uint256[]", type: "uint256[]" },
3694
3764
  { name: "quantities", internalType: "uint256[]", type: "uint256[]" },
3695
3765
  { name: "safeTransferData", internalType: "bytes", type: "bytes" },
3696
- { name: "call", internalType: "bytes", type: "bytes" },
3697
3766
  { name: "deadline", internalType: "uint256", type: "uint256" }
3698
3767
  ]
3699
3768
  },
@@ -3729,10 +3798,10 @@ var zoraMints1155ABI = [
3729
3798
  type: "tuple",
3730
3799
  components: [
3731
3800
  { name: "owner", internalType: "address", type: "address" },
3801
+ { name: "to", internalType: "address", type: "address" },
3732
3802
  { name: "tokenIds", internalType: "uint256[]", type: "uint256[]" },
3733
3803
  { name: "quantities", internalType: "uint256[]", type: "uint256[]" },
3734
3804
  { name: "safeTransferData", internalType: "bytes", type: "bytes" },
3735
- { name: "call", internalType: "bytes", type: "bytes" },
3736
3805
  { name: "deadline", internalType: "uint256", type: "uint256" }
3737
3806
  ]
3738
3807
  },
@@ -3810,17 +3879,17 @@ var zoraMints1155ABI = [
3810
3879
  type: "tuple",
3811
3880
  components: [
3812
3881
  { name: "owner", internalType: "address", type: "address" },
3882
+ { name: "to", internalType: "address", type: "address" },
3813
3883
  { name: "tokenIds", internalType: "uint256[]", type: "uint256[]" },
3814
3884
  { name: "quantities", internalType: "uint256[]", type: "uint256[]" },
3815
3885
  { name: "safeTransferData", internalType: "bytes", type: "bytes" },
3816
- { name: "call", internalType: "bytes", type: "bytes" },
3817
3886
  { name: "deadline", internalType: "uint256", type: "uint256" }
3818
3887
  ]
3819
3888
  },
3820
3889
  { name: "signature", internalType: "bytes", type: "bytes" }
3821
3890
  ],
3822
- name: "permitTransferBatchToManagerAndCall",
3823
- outputs: [{ name: "callReturn", internalType: "bytes", type: "bytes" }]
3891
+ name: "permitSafeTransferBatch",
3892
+ outputs: []
3824
3893
  },
3825
3894
  {
3826
3895
  stateMutability: "nonpayable",
@@ -3943,7 +4012,6 @@ var zoraMints1155ABI = [
3943
4012
  inputs: [
3944
4013
  { name: "tokenIds", internalType: "uint256[]", type: "uint256[]" },
3945
4014
  { name: "quantities", internalType: "uint256[]", type: "uint256[]" },
3946
- { name: "safeTransferData", internalType: "bytes", type: "bytes" },
3947
4015
  { name: "call", internalType: "bytes", type: "bytes" }
3948
4016
  ],
3949
4017
  name: "transferBatchToManagerAndCall",
@@ -4191,6 +4259,11 @@ var zoraMints1155ABI = [
4191
4259
  { type: "error", inputs: [], name: "InvalidSignature" },
4192
4260
  { type: "error", inputs: [], name: "InvalidTokenPrice" },
4193
4261
  { type: "error", inputs: [], name: "NoUriForNonexistentToken" },
4262
+ {
4263
+ type: "error",
4264
+ inputs: [{ name: "handler", internalType: "address", type: "address" }],
4265
+ name: "NotARedeemHandler"
4266
+ },
4194
4267
  {
4195
4268
  type: "error",
4196
4269
  inputs: [{ name: "str", internalType: "string", type: "string" }],
@@ -4213,7 +4286,7 @@ var zoraMints1155ABI = [
4213
4286
  { type: "error", inputs: [], name: "TokenNotMintable" }
4214
4287
  ];
4215
4288
  var zoraMints1155Address = {
4216
- 999999999: "0x7777777b3Ba1Ca5C68E197DD17546c2d08Ce0131"
4289
+ 999999999: "0x77777773DC1B9dc55935bf363728bb137C40c662"
4217
4290
  };
4218
4291
  var zoraMints1155Config = {
4219
4292
  address: zoraMints1155Address,
@@ -4245,6 +4318,21 @@ var zoraMintsManagerImplABI = [
4245
4318
  name: "acceptOwnership",
4246
4319
  outputs: []
4247
4320
  },
4321
+ {
4322
+ stateMutability: "payable",
4323
+ type: "function",
4324
+ inputs: [
4325
+ { name: "callFrom", internalType: "address", type: "address" },
4326
+ { name: "tokenIds", internalType: "uint256[]", type: "uint256[]" },
4327
+ { name: "quantities", internalType: "uint256[]", type: "uint256[]" },
4328
+ { name: "call", internalType: "bytes", type: "bytes" }
4329
+ ],
4330
+ name: "callWithTransferTokens",
4331
+ outputs: [
4332
+ { name: "success", internalType: "bool", type: "bool" },
4333
+ { name: "result", internalType: "bytes", type: "bytes" }
4334
+ ]
4335
+ },
4248
4336
  {
4249
4337
  stateMutability: "view",
4250
4338
  type: "function",
@@ -4260,8 +4348,6 @@ var zoraMintsManagerImplABI = [
4260
4348
  stateMutability: "payable",
4261
4349
  type: "function",
4262
4350
  inputs: [
4263
- { name: "tokenIds", internalType: "uint256[]", type: "uint256[]" },
4264
- { name: "quantities", internalType: "uint256[]", type: "uint256[]" },
4265
4351
  {
4266
4352
  name: "zoraCreator1155Contract",
4267
4353
  internalType: "contract IMintWithMints",
@@ -4295,8 +4381,6 @@ var zoraMintsManagerImplABI = [
4295
4381
  stateMutability: "payable",
4296
4382
  type: "function",
4297
4383
  inputs: [
4298
- { name: "tokenIds", internalType: "uint256[]", type: "uint256[]" },
4299
- { name: "quantities", internalType: "uint256[]", type: "uint256[]" },
4300
4384
  {
4301
4385
  name: "contractConfig",
4302
4386
  internalType: "struct ContractCreationConfig",
@@ -4413,7 +4497,8 @@ var zoraMintsManagerImplABI = [
4413
4497
  type: "tuple",
4414
4498
  components: [
4415
4499
  { name: "price", internalType: "uint256", type: "uint256" },
4416
- { name: "tokenAddress", internalType: "address", type: "address" }
4500
+ { name: "tokenAddress", internalType: "address", type: "address" },
4501
+ { name: "redeemHandler", internalType: "address", type: "address" }
4417
4502
  ]
4418
4503
  },
4419
4504
  { name: "defaultMintable", internalType: "bool", type: "bool" }
@@ -4503,27 +4588,27 @@ var zoraMintsManagerImplABI = [
4503
4588
  outputs: [{ name: "", internalType: "uint256", type: "uint256" }]
4504
4589
  },
4505
4590
  {
4506
- stateMutability: "pure",
4591
+ stateMutability: "nonpayable",
4507
4592
  type: "function",
4508
4593
  inputs: [
4509
4594
  { name: "", internalType: "address", type: "address" },
4510
- { name: "", internalType: "address", type: "address" },
4511
- { name: "", internalType: "uint256[]", type: "uint256[]" },
4512
- { name: "", internalType: "uint256[]", type: "uint256[]" },
4513
- { name: "", internalType: "bytes", type: "bytes" }
4595
+ { name: "from", internalType: "address", type: "address" },
4596
+ { name: "ids", internalType: "uint256[]", type: "uint256[]" },
4597
+ { name: "values", internalType: "uint256[]", type: "uint256[]" },
4598
+ { name: "data", internalType: "bytes", type: "bytes" }
4514
4599
  ],
4515
4600
  name: "onERC1155BatchReceived",
4516
4601
  outputs: [{ name: "", internalType: "bytes4", type: "bytes4" }]
4517
4602
  },
4518
4603
  {
4519
- stateMutability: "pure",
4604
+ stateMutability: "nonpayable",
4520
4605
  type: "function",
4521
4606
  inputs: [
4522
4607
  { name: "", internalType: "address", type: "address" },
4523
- { name: "", internalType: "address", type: "address" },
4524
- { name: "", internalType: "uint256", type: "uint256" },
4525
- { name: "", internalType: "uint256", type: "uint256" },
4526
- { name: "", internalType: "bytes", type: "bytes" }
4608
+ { name: "from", internalType: "address", type: "address" },
4609
+ { name: "id", internalType: "uint256", type: "uint256" },
4610
+ { name: "value", internalType: "uint256", type: "uint256" },
4611
+ { name: "data", internalType: "bytes", type: "bytes" }
4527
4612
  ],
4528
4613
  name: "onERC1155Received",
4529
4614
  outputs: [{ name: "", internalType: "bytes4", type: "bytes4" }]
@@ -4834,6 +4919,7 @@ var zoraMintsManagerImplABI = [
4834
4919
  ],
4835
4920
  name: "Create2InsufficientBalance"
4836
4921
  },
4922
+ { type: "error", inputs: [], name: "ERC1155BatchReceivedCallFailed" },
4837
4923
  { type: "error", inputs: [], name: "ERC1155_MINT_TO_ZERO_ADDRESS" },
4838
4924
  {
4839
4925
  type: "error",
@@ -4896,9 +4982,17 @@ var zoraMintsManagerImplABI = [
4896
4982
  { type: "error", inputs: [], name: "MinterContractAlreadyExists" },
4897
4983
  { type: "error", inputs: [], name: "MinterContractDoesNotExist" },
4898
4984
  { type: "error", inputs: [], name: "NewOwnerNeedsToBeAdmin" },
4985
+ { type: "error", inputs: [], name: "NoTokensTransferred" },
4899
4986
  { type: "error", inputs: [], name: "NoUriForNonexistentToken" },
4900
4987
  { type: "error", inputs: [], name: "NonEthRedemption" },
4988
+ {
4989
+ type: "error",
4990
+ inputs: [{ name: "handler", internalType: "address", type: "address" }],
4991
+ name: "NotARedeemHandler"
4992
+ },
4901
4993
  { type: "error", inputs: [], name: "NotInitializing" },
4994
+ { type: "error", inputs: [], name: "NotSelfCall" },
4995
+ { type: "error", inputs: [], name: "NotZoraMints1155" },
4902
4996
  {
4903
4997
  type: "error",
4904
4998
  inputs: [{ name: "owner", internalType: "address", type: "address" }],
@@ -4919,6 +5013,7 @@ var zoraMintsManagerImplABI = [
4919
5013
  ],
4920
5014
  name: "ProtocolRewardsWithdrawFailed"
4921
5015
  },
5016
+ { type: "error", inputs: [], name: "ReentrancyGuardReentrantCall" },
4922
5017
  { type: "error", inputs: [], name: "Renderer_NotValidRendererContract" },
4923
5018
  { type: "error", inputs: [], name: "SaleEnded" },
4924
5019
  { type: "error", inputs: [], name: "SaleHasNotStarted" },
@@ -4958,6 +5053,11 @@ var zoraMintsManagerImplABI = [
4958
5053
  inputs: [{ name: "slot", internalType: "bytes32", type: "bytes32" }],
4959
5054
  name: "UUPSUnsupportedProxiableUUID"
4960
5055
  },
5056
+ {
5057
+ type: "error",
5058
+ inputs: [{ name: "selector", internalType: "bytes4", type: "bytes4" }],
5059
+ name: "UnknownUserAction"
5060
+ },
4961
5061
  {
4962
5062
  type: "error",
4963
5063
  inputs: [
@@ -4993,7 +5093,7 @@ var zoraMintsManagerImplABI = [
4993
5093
  { type: "error", inputs: [], name: "premintSignerContractNotAContract" }
4994
5094
  ];
4995
5095
  var zoraMintsManagerImplAddress = {
4996
- 999999999: "0x7777777B4115B4030d41E6D2A13d7b37188b3117"
5096
+ 999999999: "0x777777742EF2C190dFbF98c18F492caE62Dc4d5F"
4997
5097
  };
4998
5098
  var zoraMintsManagerImplConfig = {
4999
5099
  address: zoraMintsManagerImplAddress,
@@ -5203,9 +5303,9 @@ var addresses = {
5203
5303
  timestamp: 1709234007
5204
5304
  },
5205
5305
  999999999: {
5206
- CONTRACT_1155_IMPL: "0x996937aEc720228a70736738c7e3Bc918998dE46",
5306
+ CONTRACT_1155_IMPL: "0xea93DF17634cB8b2d929dC2cdb69B734ddAb732e",
5207
5307
  CONTRACT_1155_IMPL_VERSION: "2.9.0-DEV.0",
5208
- FACTORY_IMPL: "0xd58319Ecb4436b769a810aF731488071b56A5e34",
5308
+ FACTORY_IMPL: "0x3E3F38FA99394C0eD95B829778333F0D4a35fa5F",
5209
5309
  FACTORY_PROXY: "0x777777C338d93e2C7adf08D102d45CA7CC4Ed021",
5210
5310
  FIXED_PRICE_SALE_STRATEGY: "0x6d28164C3CE04A190D5F9f0f8881fc807EAD975A",
5211
5311
  MERKLE_MINT_SALE_STRATEGY: "0x5e5fD4b758076BAD940db0284b711A67E8a3B88c",
@@ -5213,7 +5313,7 @@ var addresses = {
5213
5313
  PREMINTER_PROXY: "0x7777773606e7e46C8Ba8B98C08f5cD218e31d340",
5214
5314
  REDEEM_MINTER_FACTORY: "0x25cFb6dd9cDE8425e781d6718a29Ccbca3F038d6",
5215
5315
  UPGRADE_GATE: "0x0000000000000000000000000000000000000000",
5216
- timestamp: 1712072944
5316
+ timestamp: 1712252361
5217
5317
  }
5218
5318
  };
5219
5319
 
@@ -5263,13 +5363,18 @@ var chainConfigs2 = {
5263
5363
  };
5264
5364
  var addresses2 = {
5265
5365
  999999999: {
5266
- MINTS_MANAGER_IMPL: "0x0f8A85C28cF3FBA765E9E1EcCEF440CA728267F3",
5267
- MINTS_MANAGER_IMPL_VERSION: "0.1.0-DEV.6"
5366
+ MINTS_ETH_UNWRAPPER_AND_CALLER: "0x0cA1f6829fA3B42480Ae363Cca5E95d1Fa52688b",
5367
+ MINTS_MANAGER_IMPL: "0xCD252603Aa72DD6c14802D7F82cCaDfcB3a643C0",
5368
+ MINTS_MANAGER_IMPL_VERSION: "0.1.0-DEV.7"
5268
5369
  }
5269
5370
  };
5270
5371
  export {
5271
5372
  __exports as contracts1155,
5373
+ iUnwrapAndForwardActionABI,
5272
5374
  mints_exports as mints,
5375
+ mintsEthUnwrapperAndCallerABI,
5376
+ mintsEthUnwrapperAndCallerAddress,
5377
+ mintsEthUnwrapperAndCallerConfig,
5273
5378
  zoraCreator1155FactoryImplABI,
5274
5379
  zoraCreator1155FactoryImplAddress,
5275
5380
  zoraCreator1155FactoryImplConfig,