@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/dist/generated/mints.d.ts +1 -0
- package/dist/generated/mints.d.ts.map +1 -1
- package/dist/generated/wagmi.d.ts +617 -59
- package/dist/generated/wagmi.d.ts.map +1 -1
- package/dist/index.cjs +179 -20
- package/dist/index.cjs.map +1 -1
- package/dist/index.js +175 -20
- package/dist/index.js.map +1 -1
- package/package.json +3 -3
- package/src/generated/1155.ts +3 -3
- package/src/generated/mints.ts +4 -2
- package/src/generated/wagmi.ts +188 -17
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",
|
|
@@ -3681,7 +3755,7 @@ var zoraMints1155ABI = [
|
|
|
3681
3755
|
inputs: [
|
|
3682
3756
|
{
|
|
3683
3757
|
name: "permit",
|
|
3684
|
-
internalType: "struct IZoraMints1155Managed.
|
|
3758
|
+
internalType: "struct IZoraMints1155Managed.PermitBatch",
|
|
3685
3759
|
type: "tuple",
|
|
3686
3760
|
components: [
|
|
3687
3761
|
{ name: "owner", internalType: "address", type: "address" },
|
|
@@ -3689,12 +3763,34 @@ var zoraMints1155ABI = [
|
|
|
3689
3763
|
{ name: "tokenIds", internalType: "uint256[]", type: "uint256[]" },
|
|
3690
3764
|
{ name: "quantities", internalType: "uint256[]", type: "uint256[]" },
|
|
3691
3765
|
{ name: "safeTransferData", internalType: "bytes", type: "bytes" },
|
|
3692
|
-
{ name: "deadline", internalType: "uint256", type: "uint256" }
|
|
3766
|
+
{ name: "deadline", internalType: "uint256", type: "uint256" },
|
|
3767
|
+
{ name: "nonce", internalType: "uint256", type: "uint256" }
|
|
3693
3768
|
]
|
|
3694
|
-
}
|
|
3695
|
-
{ name: "nonce", internalType: "uint256", type: "uint256" }
|
|
3769
|
+
}
|
|
3696
3770
|
],
|
|
3697
|
-
name: "
|
|
3771
|
+
name: "hashPermitBatch",
|
|
3772
|
+
outputs: [{ name: "", internalType: "bytes32", type: "bytes32" }]
|
|
3773
|
+
},
|
|
3774
|
+
{
|
|
3775
|
+
stateMutability: "view",
|
|
3776
|
+
type: "function",
|
|
3777
|
+
inputs: [
|
|
3778
|
+
{
|
|
3779
|
+
name: "permit",
|
|
3780
|
+
internalType: "struct IZoraMints1155Managed.PermitSingle",
|
|
3781
|
+
type: "tuple",
|
|
3782
|
+
components: [
|
|
3783
|
+
{ name: "owner", internalType: "address", type: "address" },
|
|
3784
|
+
{ name: "to", internalType: "address", type: "address" },
|
|
3785
|
+
{ name: "tokenId", internalType: "uint256", type: "uint256" },
|
|
3786
|
+
{ name: "quantity", internalType: "uint256", type: "uint256" },
|
|
3787
|
+
{ name: "safeTransferData", internalType: "bytes", type: "bytes" },
|
|
3788
|
+
{ name: "deadline", internalType: "uint256", type: "uint256" },
|
|
3789
|
+
{ name: "nonce", internalType: "uint256", type: "uint256" }
|
|
3790
|
+
]
|
|
3791
|
+
}
|
|
3792
|
+
],
|
|
3793
|
+
name: "hashPermitSingle",
|
|
3698
3794
|
outputs: [{ name: "", internalType: "bytes32", type: "bytes32" }]
|
|
3699
3795
|
},
|
|
3700
3796
|
{
|
|
@@ -3720,7 +3816,7 @@ var zoraMints1155ABI = [
|
|
|
3720
3816
|
inputs: [
|
|
3721
3817
|
{
|
|
3722
3818
|
name: "permit",
|
|
3723
|
-
internalType: "struct IZoraMints1155Managed.
|
|
3819
|
+
internalType: "struct IZoraMints1155Managed.PermitBatch",
|
|
3724
3820
|
type: "tuple",
|
|
3725
3821
|
components: [
|
|
3726
3822
|
{ name: "owner", internalType: "address", type: "address" },
|
|
@@ -3728,12 +3824,36 @@ var zoraMints1155ABI = [
|
|
|
3728
3824
|
{ name: "tokenIds", internalType: "uint256[]", type: "uint256[]" },
|
|
3729
3825
|
{ name: "quantities", internalType: "uint256[]", type: "uint256[]" },
|
|
3730
3826
|
{ name: "safeTransferData", internalType: "bytes", type: "bytes" },
|
|
3731
|
-
{ name: "deadline", internalType: "uint256", type: "uint256" }
|
|
3827
|
+
{ name: "deadline", internalType: "uint256", type: "uint256" },
|
|
3828
|
+
{ name: "nonce", internalType: "uint256", type: "uint256" }
|
|
3732
3829
|
]
|
|
3733
3830
|
},
|
|
3734
3831
|
{ name: "signature", internalType: "bytes", type: "bytes" }
|
|
3735
3832
|
],
|
|
3736
|
-
name: "
|
|
3833
|
+
name: "isValidSignatureTransferBatch",
|
|
3834
|
+
outputs: [{ name: "", internalType: "bool", type: "bool" }]
|
|
3835
|
+
},
|
|
3836
|
+
{
|
|
3837
|
+
stateMutability: "view",
|
|
3838
|
+
type: "function",
|
|
3839
|
+
inputs: [
|
|
3840
|
+
{
|
|
3841
|
+
name: "permit",
|
|
3842
|
+
internalType: "struct IZoraMints1155Managed.PermitSingle",
|
|
3843
|
+
type: "tuple",
|
|
3844
|
+
components: [
|
|
3845
|
+
{ name: "owner", internalType: "address", type: "address" },
|
|
3846
|
+
{ name: "to", internalType: "address", type: "address" },
|
|
3847
|
+
{ name: "tokenId", internalType: "uint256", type: "uint256" },
|
|
3848
|
+
{ name: "quantity", internalType: "uint256", type: "uint256" },
|
|
3849
|
+
{ name: "safeTransferData", internalType: "bytes", type: "bytes" },
|
|
3850
|
+
{ name: "deadline", internalType: "uint256", type: "uint256" },
|
|
3851
|
+
{ name: "nonce", internalType: "uint256", type: "uint256" }
|
|
3852
|
+
]
|
|
3853
|
+
},
|
|
3854
|
+
{ name: "signature", internalType: "bytes", type: "bytes" }
|
|
3855
|
+
],
|
|
3856
|
+
name: "isValidSignatureTransferSingle",
|
|
3737
3857
|
outputs: [{ name: "", internalType: "bool", type: "bool" }]
|
|
3738
3858
|
},
|
|
3739
3859
|
{
|
|
@@ -3771,9 +3891,12 @@ var zoraMints1155ABI = [
|
|
|
3771
3891
|
{
|
|
3772
3892
|
stateMutability: "view",
|
|
3773
3893
|
type: "function",
|
|
3774
|
-
inputs: [
|
|
3775
|
-
|
|
3776
|
-
|
|
3894
|
+
inputs: [
|
|
3895
|
+
{ name: "owner", internalType: "address", type: "address" },
|
|
3896
|
+
{ name: "nonce", internalType: "uint256", type: "uint256" }
|
|
3897
|
+
],
|
|
3898
|
+
name: "nonceUsed",
|
|
3899
|
+
outputs: [{ name: "", internalType: "bool", type: "bool" }]
|
|
3777
3900
|
},
|
|
3778
3901
|
{
|
|
3779
3902
|
stateMutability: "nonpayable",
|
|
@@ -3801,7 +3924,30 @@ var zoraMints1155ABI = [
|
|
|
3801
3924
|
inputs: [
|
|
3802
3925
|
{
|
|
3803
3926
|
name: "permit",
|
|
3804
|
-
internalType: "struct IZoraMints1155Managed.
|
|
3927
|
+
internalType: "struct IZoraMints1155Managed.PermitSingle",
|
|
3928
|
+
type: "tuple",
|
|
3929
|
+
components: [
|
|
3930
|
+
{ name: "owner", internalType: "address", type: "address" },
|
|
3931
|
+
{ name: "to", internalType: "address", type: "address" },
|
|
3932
|
+
{ name: "tokenId", internalType: "uint256", type: "uint256" },
|
|
3933
|
+
{ name: "quantity", internalType: "uint256", type: "uint256" },
|
|
3934
|
+
{ name: "safeTransferData", internalType: "bytes", type: "bytes" },
|
|
3935
|
+
{ name: "deadline", internalType: "uint256", type: "uint256" },
|
|
3936
|
+
{ name: "nonce", internalType: "uint256", type: "uint256" }
|
|
3937
|
+
]
|
|
3938
|
+
},
|
|
3939
|
+
{ name: "signature", internalType: "bytes", type: "bytes" }
|
|
3940
|
+
],
|
|
3941
|
+
name: "permitSafeTransfer",
|
|
3942
|
+
outputs: []
|
|
3943
|
+
},
|
|
3944
|
+
{
|
|
3945
|
+
stateMutability: "nonpayable",
|
|
3946
|
+
type: "function",
|
|
3947
|
+
inputs: [
|
|
3948
|
+
{
|
|
3949
|
+
name: "permit",
|
|
3950
|
+
internalType: "struct IZoraMints1155Managed.PermitBatch",
|
|
3805
3951
|
type: "tuple",
|
|
3806
3952
|
components: [
|
|
3807
3953
|
{ name: "owner", internalType: "address", type: "address" },
|
|
@@ -3809,7 +3955,8 @@ var zoraMints1155ABI = [
|
|
|
3809
3955
|
{ name: "tokenIds", internalType: "uint256[]", type: "uint256[]" },
|
|
3810
3956
|
{ name: "quantities", internalType: "uint256[]", type: "uint256[]" },
|
|
3811
3957
|
{ name: "safeTransferData", internalType: "bytes", type: "bytes" },
|
|
3812
|
-
{ name: "deadline", internalType: "uint256", type: "uint256" }
|
|
3958
|
+
{ name: "deadline", internalType: "uint256", type: "uint256" },
|
|
3959
|
+
{ name: "nonce", internalType: "uint256", type: "uint256" }
|
|
3813
3960
|
]
|
|
3814
3961
|
},
|
|
3815
3962
|
{ name: "signature", internalType: "bytes", type: "bytes" }
|
|
@@ -4212,7 +4359,7 @@ var zoraMints1155ABI = [
|
|
|
4212
4359
|
{ type: "error", inputs: [], name: "TokenNotMintable" }
|
|
4213
4360
|
];
|
|
4214
4361
|
var zoraMints1155Address = {
|
|
4215
|
-
999999999: "
|
|
4362
|
+
999999999: "0x7777777EBF55Ec642acCBCfe1342C2B7A384Afe4"
|
|
4216
4363
|
};
|
|
4217
4364
|
var zoraMints1155Config = {
|
|
4218
4365
|
address: zoraMints1155Address,
|
|
@@ -4845,6 +4992,7 @@ var zoraMintsManagerImplABI = [
|
|
|
4845
4992
|
],
|
|
4846
4993
|
name: "Create2InsufficientBalance"
|
|
4847
4994
|
},
|
|
4995
|
+
{ type: "error", inputs: [], name: "DefaultOwnerCannotBeZero" },
|
|
4848
4996
|
{ type: "error", inputs: [], name: "ERC1155BatchReceivedCallFailed" },
|
|
4849
4997
|
{ type: "error", inputs: [], name: "ERC1155_MINT_TO_ZERO_ADDRESS" },
|
|
4850
4998
|
{
|
|
@@ -4888,6 +5036,7 @@ var zoraMintsManagerImplABI = [
|
|
|
4888
5036
|
name: "InvalidMerkleProof"
|
|
4889
5037
|
},
|
|
4890
5038
|
{ type: "error", inputs: [], name: "InvalidMintSchedule" },
|
|
5039
|
+
{ type: "error", inputs: [], name: "InvalidOwnerForAssociatedZoraMints" },
|
|
4891
5040
|
{ type: "error", inputs: [], name: "InvalidPremintVersion" },
|
|
4892
5041
|
{ type: "error", inputs: [], name: "InvalidRecipient" },
|
|
4893
5042
|
{ type: "error", inputs: [], name: "InvalidSignature" },
|
|
@@ -4930,6 +5079,7 @@ var zoraMintsManagerImplABI = [
|
|
|
4930
5079
|
name: "OwnableUnauthorizedAccount"
|
|
4931
5080
|
},
|
|
4932
5081
|
{ type: "error", inputs: [], name: "PremintDeleted" },
|
|
5082
|
+
{ type: "error", inputs: [], name: "PremintExecutorCannotBeZero" },
|
|
4933
5083
|
{
|
|
4934
5084
|
type: "error",
|
|
4935
5085
|
inputs: [
|
|
@@ -5019,7 +5169,7 @@ var zoraMintsManagerImplABI = [
|
|
|
5019
5169
|
{ type: "error", inputs: [], name: "premintSignerContractNotAContract" }
|
|
5020
5170
|
];
|
|
5021
5171
|
var zoraMintsManagerImplAddress = {
|
|
5022
|
-
999999999: "
|
|
5172
|
+
999999999: "0x7777777dB66f897FDC5e6f01dB79C4e56dC817D7"
|
|
5023
5173
|
};
|
|
5024
5174
|
var zoraMintsManagerImplConfig = {
|
|
5025
5175
|
address: zoraMintsManagerImplAddress,
|
|
@@ -5229,9 +5379,9 @@ var addresses = {
|
|
|
5229
5379
|
timestamp: 1709234007
|
|
5230
5380
|
},
|
|
5231
5381
|
999999999: {
|
|
5232
|
-
CONTRACT_1155_IMPL: "
|
|
5382
|
+
CONTRACT_1155_IMPL: "0x7A4149d3696a138bF97093391CDaAc9259783Dda",
|
|
5233
5383
|
CONTRACT_1155_IMPL_VERSION: "2.9.0-DEV.0",
|
|
5234
|
-
FACTORY_IMPL: "
|
|
5384
|
+
FACTORY_IMPL: "0xD93c769b61B3B4b0782a936D6040FFAFB7609f02",
|
|
5235
5385
|
FACTORY_PROXY: "0x777777C338d93e2C7adf08D102d45CA7CC4Ed021",
|
|
5236
5386
|
FIXED_PRICE_SALE_STRATEGY: "0x6d28164C3CE04A190D5F9f0f8881fc807EAD975A",
|
|
5237
5387
|
MERKLE_MINT_SALE_STRATEGY: "0x5e5fD4b758076BAD940db0284b711A67E8a3B88c",
|
|
@@ -5239,7 +5389,7 @@ var addresses = {
|
|
|
5239
5389
|
PREMINTER_PROXY: "0x7777773606e7e46C8Ba8B98C08f5cD218e31d340",
|
|
5240
5390
|
REDEEM_MINTER_FACTORY: "0x25cFb6dd9cDE8425e781d6718a29Ccbca3F038d6",
|
|
5241
5391
|
UPGRADE_GATE: "0x0000000000000000000000000000000000000000",
|
|
5242
|
-
timestamp:
|
|
5392
|
+
timestamp: 1712334202
|
|
5243
5393
|
}
|
|
5244
5394
|
};
|
|
5245
5395
|
|
|
@@ -5289,13 +5439,18 @@ var chainConfigs2 = {
|
|
|
5289
5439
|
};
|
|
5290
5440
|
var addresses2 = {
|
|
5291
5441
|
999999999: {
|
|
5292
|
-
|
|
5293
|
-
|
|
5442
|
+
MINTS_ETH_UNWRAPPER_AND_CALLER: "0x0cA1f6829fA3B42480Ae363Cca5E95d1Fa52688b",
|
|
5443
|
+
MINTS_MANAGER_IMPL: "0x7f0Ec2B57e9c0FCc45629080b3E772118e7248aE",
|
|
5444
|
+
MINTS_MANAGER_IMPL_VERSION: "0.1.0-DEV.8"
|
|
5294
5445
|
}
|
|
5295
5446
|
};
|
|
5296
5447
|
export {
|
|
5297
5448
|
__exports as contracts1155,
|
|
5449
|
+
iUnwrapAndForwardActionABI,
|
|
5298
5450
|
mints_exports as mints,
|
|
5451
|
+
mintsEthUnwrapperAndCallerABI,
|
|
5452
|
+
mintsEthUnwrapperAndCallerAddress,
|
|
5453
|
+
mintsEthUnwrapperAndCallerConfig,
|
|
5299
5454
|
zoraCreator1155FactoryImplABI,
|
|
5300
5455
|
zoraCreator1155FactoryImplAddress,
|
|
5301
5456
|
zoraCreator1155FactoryImplConfig,
|