@zoralabs/protocol-deployments 0.1.5-DEV.10 → 0.1.5-DEV.12
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/CHANGELOG.md +2 -7
- package/dist/generated/1155.d.ts +0 -1
- package/dist/generated/1155.d.ts.map +1 -1
- package/dist/generated/mints.d.ts +5 -0
- package/dist/generated/mints.d.ts.map +1 -1
- package/dist/generated/wagmi.d.ts +308 -39
- package/dist/generated/wagmi.d.ts.map +1 -1
- package/dist/index.cjs +103 -26
- package/dist/index.cjs.map +1 -1
- package/dist/index.js +103 -26
- package/dist/index.js.map +1 -1
- package/package.json +4 -4
- package/src/generated/1155.ts +9 -10
- package/src/generated/mints.ts +9 -3
- package/src/generated/wagmi.ts +104 -22
package/dist/index.js
CHANGED
|
@@ -57,14 +57,48 @@ var mintsEthUnwrapperAndCallerABI = [
|
|
|
57
57
|
name: "onERC1155Received",
|
|
58
58
|
outputs: [{ name: "", internalType: "bytes4", type: "bytes4" }]
|
|
59
59
|
},
|
|
60
|
+
{
|
|
61
|
+
stateMutability: "payable",
|
|
62
|
+
type: "function",
|
|
63
|
+
inputs: [
|
|
64
|
+
{
|
|
65
|
+
name: "permit",
|
|
66
|
+
internalType: "struct IZoraMints1155Managed.PermitBatch",
|
|
67
|
+
type: "tuple",
|
|
68
|
+
components: [
|
|
69
|
+
{ name: "owner", internalType: "address", type: "address" },
|
|
70
|
+
{ name: "to", internalType: "address", type: "address" },
|
|
71
|
+
{ name: "tokenIds", internalType: "uint256[]", type: "uint256[]" },
|
|
72
|
+
{ name: "quantities", internalType: "uint256[]", type: "uint256[]" },
|
|
73
|
+
{ name: "safeTransferData", internalType: "bytes", type: "bytes" },
|
|
74
|
+
{ name: "deadline", internalType: "uint256", type: "uint256" },
|
|
75
|
+
{ name: "nonce", internalType: "uint256", type: "uint256" }
|
|
76
|
+
]
|
|
77
|
+
},
|
|
78
|
+
{ name: "signature", internalType: "bytes", type: "bytes" }
|
|
79
|
+
],
|
|
80
|
+
name: "permitWithAdditionalValue",
|
|
81
|
+
outputs: []
|
|
82
|
+
},
|
|
83
|
+
{
|
|
84
|
+
type: "error",
|
|
85
|
+
inputs: [{ name: "account", internalType: "address", type: "address" }],
|
|
86
|
+
name: "AddressInsufficientBalance"
|
|
87
|
+
},
|
|
88
|
+
{
|
|
89
|
+
type: "error",
|
|
90
|
+
inputs: [{ name: "data", internalType: "bytes", type: "bytes" }],
|
|
91
|
+
name: "CallFailed"
|
|
92
|
+
},
|
|
60
93
|
{
|
|
61
94
|
type: "error",
|
|
62
95
|
inputs: [{ name: "tokenId", internalType: "uint256", type: "uint256" }],
|
|
63
96
|
name: "ERC20NotSupported"
|
|
64
97
|
},
|
|
65
|
-
{ type: "error", inputs: [], name: "
|
|
98
|
+
{ type: "error", inputs: [], name: "FailedInnerCall" },
|
|
66
99
|
{ type: "error", inputs: [], name: "NotExpectingReceive" },
|
|
67
100
|
{ type: "error", inputs: [], name: "NotZoraMints1155" },
|
|
101
|
+
{ type: "error", inputs: [], name: "ReentrancyGuardReentrantCall" },
|
|
68
102
|
{
|
|
69
103
|
type: "error",
|
|
70
104
|
inputs: [{ name: "data", internalType: "bytes", type: "bytes" }],
|
|
@@ -73,7 +107,8 @@ var mintsEthUnwrapperAndCallerABI = [
|
|
|
73
107
|
{ type: "error", inputs: [], name: "UnknownUserAction" }
|
|
74
108
|
];
|
|
75
109
|
var mintsEthUnwrapperAndCallerAddress = {
|
|
76
|
-
|
|
110
|
+
7777777: "0xE9Db91DD126D81697B588F1C145d74283E5C8ccC",
|
|
111
|
+
999999999: "0xE9Db91DD126D81697B588F1C145d74283E5C8ccC"
|
|
77
112
|
};
|
|
78
113
|
var mintsEthUnwrapperAndCallerConfig = {
|
|
79
114
|
address: mintsEthUnwrapperAndCallerAddress,
|
|
@@ -1016,7 +1051,7 @@ var zoraCreator1155ImplABI = [
|
|
|
1016
1051
|
outputs: [{ name: "", internalType: "uint256", type: "uint256" }]
|
|
1017
1052
|
},
|
|
1018
1053
|
{
|
|
1019
|
-
stateMutability: "
|
|
1054
|
+
stateMutability: "view",
|
|
1020
1055
|
type: "function",
|
|
1021
1056
|
inputs: [
|
|
1022
1057
|
{ name: "", internalType: "address", type: "address" },
|
|
@@ -1029,7 +1064,7 @@ var zoraCreator1155ImplABI = [
|
|
|
1029
1064
|
outputs: [{ name: "", internalType: "bytes4", type: "bytes4" }]
|
|
1030
1065
|
},
|
|
1031
1066
|
{
|
|
1032
|
-
stateMutability: "
|
|
1067
|
+
stateMutability: "view",
|
|
1033
1068
|
type: "function",
|
|
1034
1069
|
inputs: [
|
|
1035
1070
|
{ name: "", internalType: "address", type: "address" },
|
|
@@ -1891,6 +1926,7 @@ var zoraCreator1155ImplABI = [
|
|
|
1891
1926
|
},
|
|
1892
1927
|
{ type: "error", inputs: [], name: "NonEthRedemption" },
|
|
1893
1928
|
{ type: "error", inputs: [], name: "ONLY_CREATE_REFERRAL" },
|
|
1929
|
+
{ type: "error", inputs: [], name: "OnlyTransfersFromZoraMints" },
|
|
1894
1930
|
{ type: "error", inputs: [], name: "PremintDeleted" },
|
|
1895
1931
|
{
|
|
1896
1932
|
type: "error",
|
|
@@ -2908,6 +2944,7 @@ var zoraCreator1155PremintExecutorImplABI = [
|
|
|
2908
2944
|
{ type: "error", inputs: [], name: "ONLY_OWNER" },
|
|
2909
2945
|
{ type: "error", inputs: [], name: "ONLY_PENDING_OWNER" },
|
|
2910
2946
|
{ type: "error", inputs: [], name: "OWNER_CANNOT_BE_ZERO_ADDRESS" },
|
|
2947
|
+
{ type: "error", inputs: [], name: "OnlyTransfersFromZoraMints" },
|
|
2911
2948
|
{ type: "error", inputs: [], name: "PremintDeleted" },
|
|
2912
2949
|
{
|
|
2913
2950
|
type: "error",
|
|
@@ -3642,6 +3679,20 @@ var zoraMints1155ABI = [
|
|
|
3642
3679
|
name: "MINIMUM_ETH_PRICE",
|
|
3643
3680
|
outputs: [{ name: "", internalType: "uint256", type: "uint256" }]
|
|
3644
3681
|
},
|
|
3682
|
+
{
|
|
3683
|
+
stateMutability: "view",
|
|
3684
|
+
type: "function",
|
|
3685
|
+
inputs: [],
|
|
3686
|
+
name: "NAME",
|
|
3687
|
+
outputs: [{ name: "", internalType: "string", type: "string" }]
|
|
3688
|
+
},
|
|
3689
|
+
{
|
|
3690
|
+
stateMutability: "view",
|
|
3691
|
+
type: "function",
|
|
3692
|
+
inputs: [],
|
|
3693
|
+
name: "VERSION",
|
|
3694
|
+
outputs: [{ name: "", internalType: "string", type: "string" }]
|
|
3695
|
+
},
|
|
3645
3696
|
{
|
|
3646
3697
|
stateMutability: "view",
|
|
3647
3698
|
type: "function",
|
|
@@ -3683,13 +3734,6 @@ var zoraMints1155ABI = [
|
|
|
3683
3734
|
name: "contractURI",
|
|
3684
3735
|
outputs: [{ name: "", internalType: "string", type: "string" }]
|
|
3685
3736
|
},
|
|
3686
|
-
{
|
|
3687
|
-
stateMutability: "pure",
|
|
3688
|
-
type: "function",
|
|
3689
|
-
inputs: [],
|
|
3690
|
-
name: "contractVersion",
|
|
3691
|
-
outputs: [{ name: "", internalType: "string", type: "string" }]
|
|
3692
|
-
},
|
|
3693
3737
|
{
|
|
3694
3738
|
stateMutability: "nonpayable",
|
|
3695
3739
|
type: "function",
|
|
@@ -4252,6 +4296,16 @@ var zoraMints1155ABI = [
|
|
|
4252
4296
|
inputs: [{ name: "caller", internalType: "address", type: "address" }],
|
|
4253
4297
|
name: "AccessManagedUnauthorized"
|
|
4254
4298
|
},
|
|
4299
|
+
{
|
|
4300
|
+
type: "error",
|
|
4301
|
+
inputs: [{ name: "target", internalType: "address", type: "address" }],
|
|
4302
|
+
name: "AddressEmptyCode"
|
|
4303
|
+
},
|
|
4304
|
+
{
|
|
4305
|
+
type: "error",
|
|
4306
|
+
inputs: [{ name: "account", internalType: "address", type: "address" }],
|
|
4307
|
+
name: "AddressInsufficientBalance"
|
|
4308
|
+
},
|
|
4255
4309
|
{
|
|
4256
4310
|
type: "error",
|
|
4257
4311
|
inputs: [
|
|
@@ -4318,6 +4372,7 @@ var zoraMints1155ABI = [
|
|
|
4318
4372
|
name: "ERC2612ExpiredSignature"
|
|
4319
4373
|
},
|
|
4320
4374
|
{ type: "error", inputs: [], name: "ETHTransferFailed" },
|
|
4375
|
+
{ type: "error", inputs: [], name: "FailedInnerCall" },
|
|
4321
4376
|
{ type: "error", inputs: [], name: "IncorrectAmountSent" },
|
|
4322
4377
|
{
|
|
4323
4378
|
type: "error",
|
|
@@ -4337,6 +4392,11 @@ var zoraMints1155ABI = [
|
|
|
4337
4392
|
inputs: [{ name: "handler", internalType: "address", type: "address" }],
|
|
4338
4393
|
name: "NotARedeemHandler"
|
|
4339
4394
|
},
|
|
4395
|
+
{
|
|
4396
|
+
type: "error",
|
|
4397
|
+
inputs: [{ name: "token", internalType: "address", type: "address" }],
|
|
4398
|
+
name: "SafeERC20FailedOperation"
|
|
4399
|
+
},
|
|
4340
4400
|
{
|
|
4341
4401
|
type: "error",
|
|
4342
4402
|
inputs: [{ name: "str", internalType: "string", type: "string" }],
|
|
@@ -4359,7 +4419,8 @@ var zoraMints1155ABI = [
|
|
|
4359
4419
|
{ type: "error", inputs: [], name: "TokenNotMintable" }
|
|
4360
4420
|
];
|
|
4361
4421
|
var zoraMints1155Address = {
|
|
4362
|
-
|
|
4422
|
+
7777777: "0x7777777d57c1C6e472fa379b7b3B6c6ba3835073",
|
|
4423
|
+
999999999: "0x7777777d57c1C6e472fa379b7b3B6c6ba3835073"
|
|
4363
4424
|
};
|
|
4364
4425
|
var zoraMints1155Config = {
|
|
4365
4426
|
address: zoraMints1155Address,
|
|
@@ -4942,6 +5003,11 @@ var zoraMintsManagerImplABI = [
|
|
|
4942
5003
|
inputs: [{ name: "target", internalType: "address", type: "address" }],
|
|
4943
5004
|
name: "AddressEmptyCode"
|
|
4944
5005
|
},
|
|
5006
|
+
{
|
|
5007
|
+
type: "error",
|
|
5008
|
+
inputs: [{ name: "account", internalType: "address", type: "address" }],
|
|
5009
|
+
name: "AddressInsufficientBalance"
|
|
5010
|
+
},
|
|
4945
5011
|
{
|
|
4946
5012
|
type: "error",
|
|
4947
5013
|
inputs: [
|
|
@@ -5068,6 +5134,7 @@ var zoraMintsManagerImplABI = [
|
|
|
5068
5134
|
{ type: "error", inputs: [], name: "NotInitializing" },
|
|
5069
5135
|
{ type: "error", inputs: [], name: "NotSelfCall" },
|
|
5070
5136
|
{ type: "error", inputs: [], name: "NotZoraMints1155" },
|
|
5137
|
+
{ type: "error", inputs: [], name: "OnlyTransfersFromZoraMints" },
|
|
5071
5138
|
{
|
|
5072
5139
|
type: "error",
|
|
5073
5140
|
inputs: [{ name: "owner", internalType: "address", type: "address" }],
|
|
@@ -5091,6 +5158,11 @@ var zoraMintsManagerImplABI = [
|
|
|
5091
5158
|
},
|
|
5092
5159
|
{ type: "error", inputs: [], name: "ReentrancyGuardReentrantCall" },
|
|
5093
5160
|
{ type: "error", inputs: [], name: "Renderer_NotValidRendererContract" },
|
|
5161
|
+
{
|
|
5162
|
+
type: "error",
|
|
5163
|
+
inputs: [{ name: "token", internalType: "address", type: "address" }],
|
|
5164
|
+
name: "SafeERC20FailedOperation"
|
|
5165
|
+
},
|
|
5094
5166
|
{ type: "error", inputs: [], name: "SaleEnded" },
|
|
5095
5167
|
{ type: "error", inputs: [], name: "SaleHasNotStarted" },
|
|
5096
5168
|
{
|
|
@@ -5169,7 +5241,8 @@ var zoraMintsManagerImplABI = [
|
|
|
5169
5241
|
{ type: "error", inputs: [], name: "premintSignerContractNotAContract" }
|
|
5170
5242
|
];
|
|
5171
5243
|
var zoraMintsManagerImplAddress = {
|
|
5172
|
-
|
|
5244
|
+
7777777: "0x77777770cA269366c7208aFcF36FE2C6F7f7608B",
|
|
5245
|
+
999999999: "0x77777770cA269366c7208aFcF36FE2C6F7f7608B"
|
|
5173
5246
|
};
|
|
5174
5247
|
var zoraMintsManagerImplConfig = {
|
|
5175
5248
|
address: zoraMintsManagerImplAddress,
|
|
@@ -5338,18 +5411,17 @@ var addresses = {
|
|
|
5338
5411
|
timestamp: 1706661669
|
|
5339
5412
|
},
|
|
5340
5413
|
7777777: {
|
|
5341
|
-
CONTRACT_1155_IMPL: "
|
|
5342
|
-
CONTRACT_1155_IMPL_VERSION: "2.
|
|
5343
|
-
FACTORY_IMPL: "
|
|
5414
|
+
CONTRACT_1155_IMPL: "0x2C49E95303734eE3826307783d5fDD180B2131D3",
|
|
5415
|
+
CONTRACT_1155_IMPL_VERSION: "2.9.0",
|
|
5416
|
+
FACTORY_IMPL: "0xB2696570215c3158eB1D218FB1a3DF92a418B034",
|
|
5344
5417
|
FACTORY_PROXY: "0x777777C338d93e2C7adf08D102d45CA7CC4Ed021",
|
|
5345
5418
|
FIXED_PRICE_SALE_STRATEGY: "0x04E2516A2c207E84a1839755675dfd8eF6302F0a",
|
|
5346
5419
|
MERKLE_MINT_SALE_STRATEGY: "0xf48172CA3B6068B20eE4917Eb27b5472f1f272C7",
|
|
5347
|
-
PREMINTER_IMPL: "
|
|
5420
|
+
PREMINTER_IMPL: "0xD754417BDABFCc3a3997B9A15E9F6922a8131Ac1",
|
|
5348
5421
|
PREMINTER_PROXY: "0x7777773606e7e46C8Ba8B98C08f5cD218e31d340",
|
|
5349
5422
|
REDEEM_MINTER_FACTORY: "0x78964965cF77850224513a367f899435C5B69174",
|
|
5350
5423
|
UPGRADE_GATE: "0xbC50029836A59A4E5e1Bb8988272F46ebA0F9900",
|
|
5351
|
-
|
|
5352
|
-
timestamp: 1706663694
|
|
5424
|
+
timestamp: 1712349677
|
|
5353
5425
|
},
|
|
5354
5426
|
11155111: {
|
|
5355
5427
|
CONTRACT_1155_IMPL: "0x437A762fc2a8f898Aa7a2575Be21c41753DC4797",
|
|
@@ -5379,9 +5451,9 @@ var addresses = {
|
|
|
5379
5451
|
timestamp: 1709234007
|
|
5380
5452
|
},
|
|
5381
5453
|
999999999: {
|
|
5382
|
-
CONTRACT_1155_IMPL: "
|
|
5383
|
-
CONTRACT_1155_IMPL_VERSION: "2.9.0
|
|
5384
|
-
FACTORY_IMPL: "
|
|
5454
|
+
CONTRACT_1155_IMPL: "0xaDf7F654d8E416aaD85d4f06fDf4cA3D05BDA1A1",
|
|
5455
|
+
CONTRACT_1155_IMPL_VERSION: "2.9.0",
|
|
5456
|
+
FACTORY_IMPL: "0xE8219ad920ab6ae21aF2d3831df4B18d96d23F5a",
|
|
5385
5457
|
FACTORY_PROXY: "0x777777C338d93e2C7adf08D102d45CA7CC4Ed021",
|
|
5386
5458
|
FIXED_PRICE_SALE_STRATEGY: "0x6d28164C3CE04A190D5F9f0f8881fc807EAD975A",
|
|
5387
5459
|
MERKLE_MINT_SALE_STRATEGY: "0x5e5fD4b758076BAD940db0284b711A67E8a3B88c",
|
|
@@ -5389,7 +5461,7 @@ var addresses = {
|
|
|
5389
5461
|
PREMINTER_PROXY: "0x7777773606e7e46C8Ba8B98C08f5cD218e31d340",
|
|
5390
5462
|
REDEEM_MINTER_FACTORY: "0x25cFb6dd9cDE8425e781d6718a29Ccbca3F038d6",
|
|
5391
5463
|
UPGRADE_GATE: "0x0000000000000000000000000000000000000000",
|
|
5392
|
-
timestamp:
|
|
5464
|
+
timestamp: 1712339316
|
|
5393
5465
|
}
|
|
5394
5466
|
};
|
|
5395
5467
|
|
|
@@ -5438,10 +5510,15 @@ var chainConfigs2 = {
|
|
|
5438
5510
|
}
|
|
5439
5511
|
};
|
|
5440
5512
|
var addresses2 = {
|
|
5513
|
+
7777777: {
|
|
5514
|
+
MINTS_ETH_UNWRAPPER_AND_CALLER: "0xE9Db91DD126D81697B588F1C145d74283E5C8ccC",
|
|
5515
|
+
MINTS_MANAGER_IMPL: "0x212957295F3A40408E14531387915cDfB26A7DeB",
|
|
5516
|
+
MINTS_MANAGER_IMPL_VERSION: "0.1.0"
|
|
5517
|
+
},
|
|
5441
5518
|
999999999: {
|
|
5442
|
-
MINTS_ETH_UNWRAPPER_AND_CALLER: "
|
|
5443
|
-
MINTS_MANAGER_IMPL: "
|
|
5444
|
-
MINTS_MANAGER_IMPL_VERSION: "0.1.0
|
|
5519
|
+
MINTS_ETH_UNWRAPPER_AND_CALLER: "0xE9Db91DD126D81697B588F1C145d74283E5C8ccC",
|
|
5520
|
+
MINTS_MANAGER_IMPL: "0x212957295F3A40408E14531387915cDfB26A7DeB",
|
|
5521
|
+
MINTS_MANAGER_IMPL_VERSION: "0.1.0"
|
|
5445
5522
|
}
|
|
5446
5523
|
};
|
|
5447
5524
|
export {
|