@zoralabs/protocol-deployments 0.1.5-DEV.0 → 0.1.5-DEV.10
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 +6 -0
- package/dist/generated/1155.d.ts +22 -22
- package/dist/generated/mints.d.ts +11 -10
- package/dist/generated/mints.d.ts.map +1 -1
- package/dist/generated/wagmi.d.ts +1282 -208
- package/dist/generated/wagmi.d.ts.map +1 -1
- package/dist/index.cjs +589 -320
- package/dist/index.cjs.map +1 -1
- package/dist/index.js +585 -320
- package/dist/index.js.map +1 -1
- package/json/1155.json +5 -5
- package/json/mints.json +1 -1
- package/package.json +3 -3
- package/src/generated/1155.ts +207 -207
- package/src/generated/mints.ts +43 -41
- package/src/generated/wagmi.ts +368 -87
package/src/generated/wagmi.ts
CHANGED
|
@@ -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/0x98d1B7E6B9d11271124316593889BCF07038bE78)
|
|
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/0x98d1B7E6B9d11271124316593889BCF07038bE78)
|
|
83
|
+
*/
|
|
84
|
+
export const mintsEthUnwrapperAndCallerAddress = {
|
|
85
|
+
999999999: '0x98d1B7E6B9d11271124316593889BCF07038bE78',
|
|
86
|
+
} as const
|
|
87
|
+
|
|
88
|
+
/**
|
|
89
|
+
* [__View Contract on Zora Sepolia Zora Sepolia Explorer__](https://sepolia.explorer.zora.energy//address/0x98d1B7E6B9d11271124316593889BCF07038bE78)
|
|
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/
|
|
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: [] },
|
|
@@ -3836,6 +3931,7 @@ export const zoraMints1155ABI = [
|
|
|
3836
3931
|
components: [
|
|
3837
3932
|
{ name: 'price', internalType: 'uint256', type: 'uint256' },
|
|
3838
3933
|
{ name: 'tokenAddress', internalType: 'address', type: 'address' },
|
|
3934
|
+
{ name: 'redeemHandler', internalType: 'address', type: 'address' },
|
|
3839
3935
|
],
|
|
3840
3936
|
},
|
|
3841
3937
|
],
|
|
@@ -3846,14 +3942,22 @@ export const zoraMints1155ABI = [
|
|
|
3846
3942
|
stateMutability: 'view',
|
|
3847
3943
|
type: 'function',
|
|
3848
3944
|
inputs: [],
|
|
3849
|
-
name: '
|
|
3850
|
-
outputs: [
|
|
3945
|
+
name: 'eip712Domain',
|
|
3946
|
+
outputs: [
|
|
3947
|
+
{ name: 'fields', internalType: 'bytes1', type: 'bytes1' },
|
|
3948
|
+
{ name: 'name', internalType: 'string', type: 'string' },
|
|
3949
|
+
{ name: 'version', internalType: 'string', type: 'string' },
|
|
3950
|
+
{ name: 'chainId', internalType: 'uint256', type: 'uint256' },
|
|
3951
|
+
{ name: 'verifyingContract', internalType: 'address', type: 'address' },
|
|
3952
|
+
{ name: 'salt', internalType: 'bytes32', type: 'bytes32' },
|
|
3953
|
+
{ name: 'extensions', internalType: 'uint256[]', type: 'uint256[]' },
|
|
3954
|
+
],
|
|
3851
3955
|
},
|
|
3852
3956
|
{
|
|
3853
3957
|
stateMutability: 'view',
|
|
3854
3958
|
type: 'function',
|
|
3855
3959
|
inputs: [],
|
|
3856
|
-
name: '
|
|
3960
|
+
name: 'getManager',
|
|
3857
3961
|
outputs: [{ name: '', internalType: 'address', type: 'address' }],
|
|
3858
3962
|
},
|
|
3859
3963
|
{
|
|
@@ -3869,9 +3973,54 @@ export const zoraMints1155ABI = [
|
|
|
3869
3973
|
components: [
|
|
3870
3974
|
{ name: 'price', internalType: 'uint256', type: 'uint256' },
|
|
3871
3975
|
{ name: 'tokenAddress', internalType: 'address', type: 'address' },
|
|
3976
|
+
{ name: 'redeemHandler', internalType: 'address', type: 'address' },
|
|
3977
|
+
],
|
|
3978
|
+
},
|
|
3979
|
+
],
|
|
3980
|
+
},
|
|
3981
|
+
{
|
|
3982
|
+
stateMutability: 'view',
|
|
3983
|
+
type: 'function',
|
|
3984
|
+
inputs: [
|
|
3985
|
+
{
|
|
3986
|
+
name: 'permit',
|
|
3987
|
+
internalType: 'struct IZoraMints1155Managed.PermitBatch',
|
|
3988
|
+
type: 'tuple',
|
|
3989
|
+
components: [
|
|
3990
|
+
{ name: 'owner', internalType: 'address', type: 'address' },
|
|
3991
|
+
{ name: 'to', internalType: 'address', type: 'address' },
|
|
3992
|
+
{ name: 'tokenIds', internalType: 'uint256[]', type: 'uint256[]' },
|
|
3993
|
+
{ name: 'quantities', internalType: 'uint256[]', type: 'uint256[]' },
|
|
3994
|
+
{ name: 'safeTransferData', internalType: 'bytes', type: 'bytes' },
|
|
3995
|
+
{ name: 'deadline', internalType: 'uint256', type: 'uint256' },
|
|
3996
|
+
{ name: 'nonce', internalType: 'uint256', type: 'uint256' },
|
|
3872
3997
|
],
|
|
3873
3998
|
},
|
|
3874
3999
|
],
|
|
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',
|
|
4023
|
+
outputs: [{ name: '', internalType: 'bytes32', type: 'bytes32' }],
|
|
3875
4024
|
},
|
|
3876
4025
|
{
|
|
3877
4026
|
stateMutability: 'view',
|
|
@@ -3890,6 +4039,52 @@ export const zoraMints1155ABI = [
|
|
|
3890
4039
|
name: 'isConsumingScheduledOp',
|
|
3891
4040
|
outputs: [{ name: '', internalType: 'bytes4', type: 'bytes4' }],
|
|
3892
4041
|
},
|
|
4042
|
+
{
|
|
4043
|
+
stateMutability: 'view',
|
|
4044
|
+
type: 'function',
|
|
4045
|
+
inputs: [
|
|
4046
|
+
{
|
|
4047
|
+
name: 'permit',
|
|
4048
|
+
internalType: 'struct IZoraMints1155Managed.PermitBatch',
|
|
4049
|
+
type: 'tuple',
|
|
4050
|
+
components: [
|
|
4051
|
+
{ name: 'owner', internalType: 'address', type: 'address' },
|
|
4052
|
+
{ name: 'to', internalType: 'address', type: 'address' },
|
|
4053
|
+
{ name: 'tokenIds', internalType: 'uint256[]', type: 'uint256[]' },
|
|
4054
|
+
{ name: 'quantities', internalType: 'uint256[]', type: 'uint256[]' },
|
|
4055
|
+
{ name: 'safeTransferData', internalType: 'bytes', type: 'bytes' },
|
|
4056
|
+
{ name: 'deadline', internalType: 'uint256', type: 'uint256' },
|
|
4057
|
+
{ name: 'nonce', internalType: 'uint256', type: 'uint256' },
|
|
4058
|
+
],
|
|
4059
|
+
},
|
|
4060
|
+
{ name: 'signature', internalType: 'bytes', type: 'bytes' },
|
|
4061
|
+
],
|
|
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',
|
|
4086
|
+
outputs: [{ name: '', internalType: 'bool', type: 'bool' }],
|
|
4087
|
+
},
|
|
3893
4088
|
{
|
|
3894
4089
|
stateMutability: 'nonpayable',
|
|
3895
4090
|
type: 'function',
|
|
@@ -3922,6 +4117,16 @@ export const zoraMints1155ABI = [
|
|
|
3922
4117
|
name: 'name',
|
|
3923
4118
|
outputs: [{ name: '', internalType: 'string', type: 'string' }],
|
|
3924
4119
|
},
|
|
4120
|
+
{
|
|
4121
|
+
stateMutability: 'view',
|
|
4122
|
+
type: 'function',
|
|
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' }],
|
|
4129
|
+
},
|
|
3925
4130
|
{
|
|
3926
4131
|
stateMutability: 'nonpayable',
|
|
3927
4132
|
type: 'function',
|
|
@@ -3942,6 +4147,52 @@ export const zoraMints1155ABI = [
|
|
|
3942
4147
|
name: 'notifyUpdatedTokenURI',
|
|
3943
4148
|
outputs: [],
|
|
3944
4149
|
},
|
|
4150
|
+
{
|
|
4151
|
+
stateMutability: 'nonpayable',
|
|
4152
|
+
type: 'function',
|
|
4153
|
+
inputs: [
|
|
4154
|
+
{
|
|
4155
|
+
name: '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',
|
|
4180
|
+
type: 'tuple',
|
|
4181
|
+
components: [
|
|
4182
|
+
{ name: 'owner', internalType: 'address', type: 'address' },
|
|
4183
|
+
{ name: 'to', internalType: 'address', type: 'address' },
|
|
4184
|
+
{ name: 'tokenIds', internalType: 'uint256[]', type: 'uint256[]' },
|
|
4185
|
+
{ name: 'quantities', internalType: 'uint256[]', type: 'uint256[]' },
|
|
4186
|
+
{ name: 'safeTransferData', internalType: 'bytes', type: 'bytes' },
|
|
4187
|
+
{ name: 'deadline', internalType: 'uint256', type: 'uint256' },
|
|
4188
|
+
{ name: 'nonce', internalType: 'uint256', type: 'uint256' },
|
|
4189
|
+
],
|
|
4190
|
+
},
|
|
4191
|
+
{ name: 'signature', internalType: 'bytes', type: 'bytes' },
|
|
4192
|
+
],
|
|
4193
|
+
name: 'permitSafeTransferBatch',
|
|
4194
|
+
outputs: [],
|
|
4195
|
+
},
|
|
3945
4196
|
{
|
|
3946
4197
|
stateMutability: 'nonpayable',
|
|
3947
4198
|
type: 'function',
|
|
@@ -4063,7 +4314,6 @@ export const zoraMints1155ABI = [
|
|
|
4063
4314
|
inputs: [
|
|
4064
4315
|
{ name: 'tokenIds', internalType: 'uint256[]', type: 'uint256[]' },
|
|
4065
4316
|
{ name: 'quantities', internalType: 'uint256[]', type: 'uint256[]' },
|
|
4066
|
-
{ name: 'safeTransferData', internalType: 'bytes', type: 'bytes' },
|
|
4067
4317
|
{ name: 'call', internalType: 'bytes', type: 'bytes' },
|
|
4068
4318
|
],
|
|
4069
4319
|
name: 'transferBatchToManagerAndCall',
|
|
@@ -4110,19 +4360,7 @@ export const zoraMints1155ABI = [
|
|
|
4110
4360
|
name: 'AuthorityUpdated',
|
|
4111
4361
|
},
|
|
4112
4362
|
{ type: 'event', anonymous: false, inputs: [], name: 'ContractURIUpdated' },
|
|
4113
|
-
{
|
|
4114
|
-
type: 'event',
|
|
4115
|
-
anonymous: false,
|
|
4116
|
-
inputs: [
|
|
4117
|
-
{
|
|
4118
|
-
name: 'tokenId',
|
|
4119
|
-
internalType: 'uint256',
|
|
4120
|
-
type: 'uint256',
|
|
4121
|
-
indexed: true,
|
|
4122
|
-
},
|
|
4123
|
-
],
|
|
4124
|
-
name: 'EthMintableTokenSet',
|
|
4125
|
-
},
|
|
4363
|
+
{ type: 'event', anonymous: false, inputs: [], name: 'EIP712DomainChanged' },
|
|
4126
4364
|
{
|
|
4127
4365
|
type: 'event',
|
|
4128
4366
|
anonymous: false,
|
|
@@ -4134,57 +4372,15 @@ export const zoraMints1155ABI = [
|
|
|
4134
4372
|
indexed: true,
|
|
4135
4373
|
},
|
|
4136
4374
|
{
|
|
4137
|
-
name: '
|
|
4375
|
+
name: 'price',
|
|
4138
4376
|
internalType: 'uint256',
|
|
4139
4377
|
type: 'uint256',
|
|
4140
4378
|
indexed: true,
|
|
4141
4379
|
},
|
|
4142
|
-
],
|
|
4143
|
-
name: 'EthTokenCreated',
|
|
4144
|
-
},
|
|
4145
|
-
{
|
|
4146
|
-
type: 'event',
|
|
4147
|
-
anonymous: false,
|
|
4148
|
-
inputs: [
|
|
4149
|
-
{
|
|
4150
|
-
name: 'tokenIds',
|
|
4151
|
-
internalType: 'uint256[]',
|
|
4152
|
-
type: 'uint256[]',
|
|
4153
|
-
indexed: false,
|
|
4154
|
-
},
|
|
4155
|
-
{
|
|
4156
|
-
name: 'quantities',
|
|
4157
|
-
internalType: 'uint256[]',
|
|
4158
|
-
type: 'uint256[]',
|
|
4159
|
-
indexed: false,
|
|
4160
|
-
},
|
|
4161
4380
|
{
|
|
4162
|
-
name: '
|
|
4381
|
+
name: 'tokenAddress',
|
|
4163
4382
|
internalType: 'address',
|
|
4164
4383
|
type: 'address',
|
|
4165
|
-
indexed: false,
|
|
4166
|
-
},
|
|
4167
|
-
],
|
|
4168
|
-
name: 'RedeemedBatch',
|
|
4169
|
-
},
|
|
4170
|
-
{
|
|
4171
|
-
type: 'event',
|
|
4172
|
-
anonymous: false,
|
|
4173
|
-
inputs: [
|
|
4174
|
-
{
|
|
4175
|
-
name: 'tokenId',
|
|
4176
|
-
internalType: 'uint256',
|
|
4177
|
-
type: 'uint256',
|
|
4178
|
-
indexed: true,
|
|
4179
|
-
},
|
|
4180
|
-
{
|
|
4181
|
-
name: 'tokenConfig',
|
|
4182
|
-
internalType: 'struct TokenConfig',
|
|
4183
|
-
type: 'tuple',
|
|
4184
|
-
components: [
|
|
4185
|
-
{ name: 'price', internalType: 'uint256', type: 'uint256' },
|
|
4186
|
-
{ name: 'tokenAddress', internalType: 'address', type: 'address' },
|
|
4187
|
-
],
|
|
4188
4384
|
indexed: true,
|
|
4189
4385
|
},
|
|
4190
4386
|
],
|
|
@@ -4345,11 +4541,36 @@ export const zoraMints1155ABI = [
|
|
|
4345
4541
|
name: 'ERC1155MissingApprovalForAll',
|
|
4346
4542
|
},
|
|
4347
4543
|
{ type: 'error', inputs: [], name: 'ERC20TransferSlippage' },
|
|
4544
|
+
{
|
|
4545
|
+
type: 'error',
|
|
4546
|
+
inputs: [{ name: 'deadline', internalType: 'uint256', type: 'uint256' }],
|
|
4547
|
+
name: 'ERC2612ExpiredSignature',
|
|
4548
|
+
},
|
|
4348
4549
|
{ type: 'error', inputs: [], name: 'ETHTransferFailed' },
|
|
4349
4550
|
{ type: 'error', inputs: [], name: 'IncorrectAmountSent' },
|
|
4551
|
+
{
|
|
4552
|
+
type: 'error',
|
|
4553
|
+
inputs: [
|
|
4554
|
+
{ name: 'account', internalType: 'address', type: 'address' },
|
|
4555
|
+
{ name: 'currentNonce', internalType: 'uint256', type: 'uint256' },
|
|
4556
|
+
],
|
|
4557
|
+
name: 'InvalidAccountNonce',
|
|
4558
|
+
},
|
|
4350
4559
|
{ type: 'error', inputs: [], name: 'InvalidRecipient' },
|
|
4560
|
+
{ type: 'error', inputs: [], name: 'InvalidShortString' },
|
|
4561
|
+
{ type: 'error', inputs: [], name: 'InvalidSignature' },
|
|
4351
4562
|
{ type: 'error', inputs: [], name: 'InvalidTokenPrice' },
|
|
4352
4563
|
{ type: 'error', inputs: [], name: 'NoUriForNonexistentToken' },
|
|
4564
|
+
{
|
|
4565
|
+
type: 'error',
|
|
4566
|
+
inputs: [{ name: 'handler', internalType: 'address', type: 'address' }],
|
|
4567
|
+
name: 'NotARedeemHandler',
|
|
4568
|
+
},
|
|
4569
|
+
{
|
|
4570
|
+
type: 'error',
|
|
4571
|
+
inputs: [{ name: 'str', internalType: 'string', type: 'string' }],
|
|
4572
|
+
name: 'StringTooLong',
|
|
4573
|
+
},
|
|
4353
4574
|
{ type: 'error', inputs: [], name: 'TokenAlreadyCreated' },
|
|
4354
4575
|
{ type: 'error', inputs: [], name: 'TokenDoesNotExist' },
|
|
4355
4576
|
{
|
|
@@ -4368,14 +4589,14 @@ export const zoraMints1155ABI = [
|
|
|
4368
4589
|
] as const
|
|
4369
4590
|
|
|
4370
4591
|
/**
|
|
4371
|
-
* [__View Contract on Zora Sepolia Zora Sepolia Explorer__](https://sepolia.explorer.zora.energy//address/
|
|
4592
|
+
* [__View Contract on Zora Sepolia Zora Sepolia Explorer__](https://sepolia.explorer.zora.energy//address/0x7777777EBF55Ec642acCBCfe1342C2B7A384Afe4)
|
|
4372
4593
|
*/
|
|
4373
4594
|
export const zoraMints1155Address = {
|
|
4374
|
-
999999999: '
|
|
4595
|
+
999999999: '0x7777777EBF55Ec642acCBCfe1342C2B7A384Afe4',
|
|
4375
4596
|
} as const
|
|
4376
4597
|
|
|
4377
4598
|
/**
|
|
4378
|
-
* [__View Contract on Zora Sepolia Zora Sepolia Explorer__](https://sepolia.explorer.zora.energy//address/
|
|
4599
|
+
* [__View Contract on Zora Sepolia Zora Sepolia Explorer__](https://sepolia.explorer.zora.energy//address/0x7777777EBF55Ec642acCBCfe1342C2B7A384Afe4)
|
|
4379
4600
|
*/
|
|
4380
4601
|
export const zoraMints1155Config = {
|
|
4381
4602
|
address: zoraMints1155Address,
|
|
@@ -4387,7 +4608,7 @@ export const zoraMints1155Config = {
|
|
|
4387
4608
|
//////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
|
|
4388
4609
|
|
|
4389
4610
|
/**
|
|
4390
|
-
* [__View Contract on Zora Sepolia Zora Sepolia Explorer__](https://sepolia.explorer.zora.energy//address/
|
|
4611
|
+
* [__View Contract on Zora Sepolia Zora Sepolia Explorer__](https://sepolia.explorer.zora.energy//address/0x7777777dB66f897FDC5e6f01dB79C4e56dC817D7)
|
|
4391
4612
|
*/
|
|
4392
4613
|
export const zoraMintsManagerImplABI = [
|
|
4393
4614
|
{
|
|
@@ -4415,6 +4636,21 @@ export const zoraMintsManagerImplABI = [
|
|
|
4415
4636
|
name: 'acceptOwnership',
|
|
4416
4637
|
outputs: [],
|
|
4417
4638
|
},
|
|
4639
|
+
{
|
|
4640
|
+
stateMutability: 'payable',
|
|
4641
|
+
type: 'function',
|
|
4642
|
+
inputs: [
|
|
4643
|
+
{ name: 'callFrom', internalType: 'address', type: 'address' },
|
|
4644
|
+
{ name: 'tokenIds', internalType: 'uint256[]', type: 'uint256[]' },
|
|
4645
|
+
{ name: 'quantities', internalType: 'uint256[]', type: 'uint256[]' },
|
|
4646
|
+
{ name: 'call', internalType: 'bytes', type: 'bytes' },
|
|
4647
|
+
],
|
|
4648
|
+
name: 'callWithTransferTokens',
|
|
4649
|
+
outputs: [
|
|
4650
|
+
{ name: 'success', internalType: 'bool', type: 'bool' },
|
|
4651
|
+
{ name: 'result', internalType: 'bytes', type: 'bytes' },
|
|
4652
|
+
],
|
|
4653
|
+
},
|
|
4418
4654
|
{
|
|
4419
4655
|
stateMutability: 'view',
|
|
4420
4656
|
type: 'function',
|
|
@@ -4430,8 +4666,6 @@ export const zoraMintsManagerImplABI = [
|
|
|
4430
4666
|
stateMutability: 'payable',
|
|
4431
4667
|
type: 'function',
|
|
4432
4668
|
inputs: [
|
|
4433
|
-
{ name: 'tokenIds', internalType: 'uint256[]', type: 'uint256[]' },
|
|
4434
|
-
{ name: 'quantities', internalType: 'uint256[]', type: 'uint256[]' },
|
|
4435
4669
|
{
|
|
4436
4670
|
name: 'zoraCreator1155Contract',
|
|
4437
4671
|
internalType: 'contract IMintWithMints',
|
|
@@ -4444,17 +4678,17 @@ export const zoraMintsManagerImplABI = [
|
|
|
4444
4678
|
type: 'uint256',
|
|
4445
4679
|
},
|
|
4446
4680
|
{
|
|
4447
|
-
name: '
|
|
4448
|
-
internalType: 'struct
|
|
4681
|
+
name: 'collectMintArguments',
|
|
4682
|
+
internalType: 'struct ICollectWithZoraMints.CollectMintArguments',
|
|
4449
4683
|
type: 'tuple',
|
|
4450
4684
|
components: [
|
|
4451
|
-
{ name: 'mintRecipient', internalType: 'address', type: 'address' },
|
|
4452
|
-
{ name: 'mintComment', internalType: 'string', type: 'string' },
|
|
4453
4685
|
{
|
|
4454
4686
|
name: 'mintRewardsRecipients',
|
|
4455
4687
|
internalType: 'address[]',
|
|
4456
4688
|
type: 'address[]',
|
|
4457
4689
|
},
|
|
4690
|
+
{ name: 'minterArguments', internalType: 'bytes', type: 'bytes' },
|
|
4691
|
+
{ name: 'mintComment', internalType: 'string', type: 'string' },
|
|
4458
4692
|
],
|
|
4459
4693
|
},
|
|
4460
4694
|
],
|
|
@@ -4465,8 +4699,6 @@ export const zoraMintsManagerImplABI = [
|
|
|
4465
4699
|
stateMutability: 'payable',
|
|
4466
4700
|
type: 'function',
|
|
4467
4701
|
inputs: [
|
|
4468
|
-
{ name: 'tokenIds', internalType: 'uint256[]', type: 'uint256[]' },
|
|
4469
|
-
{ name: 'quantities', internalType: 'uint256[]', type: 'uint256[]' },
|
|
4470
4702
|
{
|
|
4471
4703
|
name: 'contractConfig',
|
|
4472
4704
|
internalType: 'struct ContractCreationConfig',
|
|
@@ -4584,12 +4816,24 @@ export const zoraMintsManagerImplABI = [
|
|
|
4584
4816
|
components: [
|
|
4585
4817
|
{ name: 'price', internalType: 'uint256', type: 'uint256' },
|
|
4586
4818
|
{ name: 'tokenAddress', internalType: 'address', type: 'address' },
|
|
4819
|
+
{ name: 'redeemHandler', internalType: 'address', type: 'address' },
|
|
4587
4820
|
],
|
|
4588
4821
|
},
|
|
4822
|
+
{ name: 'defaultMintable', internalType: 'bool', type: 'bool' },
|
|
4589
4823
|
],
|
|
4590
4824
|
name: 'createToken',
|
|
4591
4825
|
outputs: [],
|
|
4592
4826
|
},
|
|
4827
|
+
{
|
|
4828
|
+
stateMutability: 'pure',
|
|
4829
|
+
type: 'function',
|
|
4830
|
+
inputs: [{ name: 'minterArguments', internalType: 'bytes', type: 'bytes' }],
|
|
4831
|
+
name: 'decodeMintRecipientAndComment',
|
|
4832
|
+
outputs: [
|
|
4833
|
+
{ name: 'mintTo', internalType: 'address', type: 'address' },
|
|
4834
|
+
{ name: 'mintComment', internalType: 'string', type: 'string' },
|
|
4835
|
+
],
|
|
4836
|
+
},
|
|
4593
4837
|
{
|
|
4594
4838
|
stateMutability: 'view',
|
|
4595
4839
|
type: 'function',
|
|
@@ -4662,27 +4906,27 @@ export const zoraMintsManagerImplABI = [
|
|
|
4662
4906
|
outputs: [{ name: '', internalType: 'uint256', type: 'uint256' }],
|
|
4663
4907
|
},
|
|
4664
4908
|
{
|
|
4665
|
-
stateMutability: '
|
|
4909
|
+
stateMutability: 'nonpayable',
|
|
4666
4910
|
type: 'function',
|
|
4667
4911
|
inputs: [
|
|
4668
4912
|
{ name: '', internalType: 'address', type: 'address' },
|
|
4669
|
-
{ name: '', internalType: 'address', type: 'address' },
|
|
4670
|
-
{ name: '', internalType: 'uint256[]', type: 'uint256[]' },
|
|
4671
|
-
{ name: '', internalType: 'uint256[]', type: 'uint256[]' },
|
|
4672
|
-
{ name: '', internalType: 'bytes', type: 'bytes' },
|
|
4913
|
+
{ name: 'from', internalType: 'address', type: 'address' },
|
|
4914
|
+
{ name: 'ids', internalType: 'uint256[]', type: 'uint256[]' },
|
|
4915
|
+
{ name: 'values', internalType: 'uint256[]', type: 'uint256[]' },
|
|
4916
|
+
{ name: 'data', internalType: 'bytes', type: 'bytes' },
|
|
4673
4917
|
],
|
|
4674
4918
|
name: 'onERC1155BatchReceived',
|
|
4675
4919
|
outputs: [{ name: '', internalType: 'bytes4', type: 'bytes4' }],
|
|
4676
4920
|
},
|
|
4677
4921
|
{
|
|
4678
|
-
stateMutability: '
|
|
4922
|
+
stateMutability: 'nonpayable',
|
|
4679
4923
|
type: 'function',
|
|
4680
4924
|
inputs: [
|
|
4681
4925
|
{ name: '', internalType: 'address', type: 'address' },
|
|
4682
|
-
{ name: '', internalType: 'address', type: 'address' },
|
|
4683
|
-
{ name: '', internalType: 'uint256', type: 'uint256' },
|
|
4684
|
-
{ name: '', internalType: 'uint256', type: 'uint256' },
|
|
4685
|
-
{ name: '', internalType: 'bytes', type: 'bytes' },
|
|
4926
|
+
{ name: 'from', internalType: 'address', type: 'address' },
|
|
4927
|
+
{ name: 'id', internalType: 'uint256', type: 'uint256' },
|
|
4928
|
+
{ name: 'value', internalType: 'uint256', type: 'uint256' },
|
|
4929
|
+
{ name: 'data', internalType: 'bytes', type: 'bytes' },
|
|
4686
4930
|
],
|
|
4687
4931
|
name: 'onERC1155Received',
|
|
4688
4932
|
outputs: [{ name: '', internalType: 'bytes4', type: 'bytes4' }],
|
|
@@ -4799,6 +5043,25 @@ export const zoraMintsManagerImplABI = [
|
|
|
4799
5043
|
],
|
|
4800
5044
|
name: 'Collected',
|
|
4801
5045
|
},
|
|
5046
|
+
{
|
|
5047
|
+
type: 'event',
|
|
5048
|
+
anonymous: false,
|
|
5049
|
+
inputs: [
|
|
5050
|
+
{
|
|
5051
|
+
name: 'tokenAddress',
|
|
5052
|
+
internalType: 'address',
|
|
5053
|
+
type: 'address',
|
|
5054
|
+
indexed: false,
|
|
5055
|
+
},
|
|
5056
|
+
{
|
|
5057
|
+
name: 'tokenId',
|
|
5058
|
+
internalType: 'uint256',
|
|
5059
|
+
type: 'uint256',
|
|
5060
|
+
indexed: false,
|
|
5061
|
+
},
|
|
5062
|
+
],
|
|
5063
|
+
name: 'DefaultMintableTokenSet',
|
|
5064
|
+
},
|
|
4802
5065
|
{
|
|
4803
5066
|
type: 'event',
|
|
4804
5067
|
anonymous: false,
|
|
@@ -4974,6 +5237,8 @@ export const zoraMintsManagerImplABI = [
|
|
|
4974
5237
|
],
|
|
4975
5238
|
name: 'Create2InsufficientBalance',
|
|
4976
5239
|
},
|
|
5240
|
+
{ type: 'error', inputs: [], name: 'DefaultOwnerCannotBeZero' },
|
|
5241
|
+
{ type: 'error', inputs: [], name: 'ERC1155BatchReceivedCallFailed' },
|
|
4977
5242
|
{ type: 'error', inputs: [], name: 'ERC1155_MINT_TO_ZERO_ADDRESS' },
|
|
4978
5243
|
{
|
|
4979
5244
|
type: 'error',
|
|
@@ -5016,6 +5281,7 @@ export const zoraMintsManagerImplABI = [
|
|
|
5016
5281
|
name: 'InvalidMerkleProof',
|
|
5017
5282
|
},
|
|
5018
5283
|
{ type: 'error', inputs: [], name: 'InvalidMintSchedule' },
|
|
5284
|
+
{ type: 'error', inputs: [], name: 'InvalidOwnerForAssociatedZoraMints' },
|
|
5019
5285
|
{ type: 'error', inputs: [], name: 'InvalidPremintVersion' },
|
|
5020
5286
|
{ type: 'error', inputs: [], name: 'InvalidRecipient' },
|
|
5021
5287
|
{ type: 'error', inputs: [], name: 'InvalidSignature' },
|
|
@@ -5036,9 +5302,17 @@ export const zoraMintsManagerImplABI = [
|
|
|
5036
5302
|
{ type: 'error', inputs: [], name: 'MinterContractAlreadyExists' },
|
|
5037
5303
|
{ type: 'error', inputs: [], name: 'MinterContractDoesNotExist' },
|
|
5038
5304
|
{ type: 'error', inputs: [], name: 'NewOwnerNeedsToBeAdmin' },
|
|
5305
|
+
{ type: 'error', inputs: [], name: 'NoTokensTransferred' },
|
|
5039
5306
|
{ type: 'error', inputs: [], name: 'NoUriForNonexistentToken' },
|
|
5040
5307
|
{ type: 'error', inputs: [], name: 'NonEthRedemption' },
|
|
5308
|
+
{
|
|
5309
|
+
type: 'error',
|
|
5310
|
+
inputs: [{ name: 'handler', internalType: 'address', type: 'address' }],
|
|
5311
|
+
name: 'NotARedeemHandler',
|
|
5312
|
+
},
|
|
5041
5313
|
{ type: 'error', inputs: [], name: 'NotInitializing' },
|
|
5314
|
+
{ type: 'error', inputs: [], name: 'NotSelfCall' },
|
|
5315
|
+
{ type: 'error', inputs: [], name: 'NotZoraMints1155' },
|
|
5042
5316
|
{
|
|
5043
5317
|
type: 'error',
|
|
5044
5318
|
inputs: [{ name: 'owner', internalType: 'address', type: 'address' }],
|
|
@@ -5050,6 +5324,7 @@ export const zoraMintsManagerImplABI = [
|
|
|
5050
5324
|
name: 'OwnableUnauthorizedAccount',
|
|
5051
5325
|
},
|
|
5052
5326
|
{ type: 'error', inputs: [], name: 'PremintDeleted' },
|
|
5327
|
+
{ type: 'error', inputs: [], name: 'PremintExecutorCannotBeZero' },
|
|
5053
5328
|
{
|
|
5054
5329
|
type: 'error',
|
|
5055
5330
|
inputs: [
|
|
@@ -5059,6 +5334,7 @@ export const zoraMintsManagerImplABI = [
|
|
|
5059
5334
|
],
|
|
5060
5335
|
name: 'ProtocolRewardsWithdrawFailed',
|
|
5061
5336
|
},
|
|
5337
|
+
{ type: 'error', inputs: [], name: 'ReentrancyGuardReentrantCall' },
|
|
5062
5338
|
{ type: 'error', inputs: [], name: 'Renderer_NotValidRendererContract' },
|
|
5063
5339
|
{ type: 'error', inputs: [], name: 'SaleEnded' },
|
|
5064
5340
|
{ type: 'error', inputs: [], name: 'SaleHasNotStarted' },
|
|
@@ -5098,6 +5374,11 @@ export const zoraMintsManagerImplABI = [
|
|
|
5098
5374
|
inputs: [{ name: 'slot', internalType: 'bytes32', type: 'bytes32' }],
|
|
5099
5375
|
name: 'UUPSUnsupportedProxiableUUID',
|
|
5100
5376
|
},
|
|
5377
|
+
{
|
|
5378
|
+
type: 'error',
|
|
5379
|
+
inputs: [{ name: 'selector', internalType: 'bytes4', type: 'bytes4' }],
|
|
5380
|
+
name: 'UnknownUserAction',
|
|
5381
|
+
},
|
|
5101
5382
|
{
|
|
5102
5383
|
type: 'error',
|
|
5103
5384
|
inputs: [
|
|
@@ -5134,14 +5415,14 @@ export const zoraMintsManagerImplABI = [
|
|
|
5134
5415
|
] as const
|
|
5135
5416
|
|
|
5136
5417
|
/**
|
|
5137
|
-
* [__View Contract on Zora Sepolia Zora Sepolia Explorer__](https://sepolia.explorer.zora.energy//address/
|
|
5418
|
+
* [__View Contract on Zora Sepolia Zora Sepolia Explorer__](https://sepolia.explorer.zora.energy//address/0x7777777dB66f897FDC5e6f01dB79C4e56dC817D7)
|
|
5138
5419
|
*/
|
|
5139
5420
|
export const zoraMintsManagerImplAddress = {
|
|
5140
|
-
999999999: '
|
|
5421
|
+
999999999: '0x7777777dB66f897FDC5e6f01dB79C4e56dC817D7',
|
|
5141
5422
|
} as const
|
|
5142
5423
|
|
|
5143
5424
|
/**
|
|
5144
|
-
* [__View Contract on Zora Sepolia Zora Sepolia Explorer__](https://sepolia.explorer.zora.energy//address/
|
|
5425
|
+
* [__View Contract on Zora Sepolia Zora Sepolia Explorer__](https://sepolia.explorer.zora.energy//address/0x7777777dB66f897FDC5e6f01dB79C4e56dC817D7)
|
|
5145
5426
|
*/
|
|
5146
5427
|
export const zoraMintsManagerImplConfig = {
|
|
5147
5428
|
address: zoraMintsManagerImplAddress,
|