@zoralabs/protocol-deployments 0.3.5-COMMENTS.3 → 0.3.5
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/.turbo/turbo-build.log +48 -48
- package/CHANGELOG.md +1 -23
- package/dist/{ccip-MZCNL5YG.js → ccip-E7SRWW2U.js} +2 -2
- package/dist/{chunk-MCOK75CU.js → chunk-BKKE6NTH.js} +2 -4
- package/dist/generated/wagmi.d.ts +2 -3056
- package/dist/generated/wagmi.d.ts.map +1 -1
- package/dist/index.cjs +79 -1265
- package/dist/index.cjs.map +1 -1
- package/dist/index.js +2 -1169
- package/dist/index.js.map +1 -1
- package/dist/typedData.d.ts +1 -137
- package/dist/typedData.d.ts.map +1 -1
- package/dist/types.d.ts +0 -21
- package/dist/types.d.ts.map +1 -1
- package/package.json +1 -1
- package/src/generated/wagmi.ts +1 -1054
- package/src/typedData.ts +0 -133
- package/src/types.ts +0 -42
- package/json/1155.json +0 -212
- package/json/mints.json +0 -46
- package/package/.turbo/turbo-build.log +0 -48
- package/package/dist/_esm-KB2T7G46.js +0 -3923
- package/package/dist/_esm-KB2T7G46.js.map +0 -1
- package/package/dist/ccip-42FQPB7J.js +0 -15
- package/package/dist/ccip-42FQPB7J.js.map +0 -1
- package/package/dist/chunk-3EJPJMEH.js +0 -44
- package/package/dist/chunk-3EJPJMEH.js.map +0 -1
- package/package/dist/chunk-5JV63AHR.js +0 -129
- package/package/dist/chunk-5JV63AHR.js.map +0 -1
- package/package/dist/chunk-YMRS2KON.js +0 -3956
- package/package/dist/chunk-YMRS2KON.js.map +0 -1
- package/package/dist/encoding.d.ts +0 -15
- package/package/dist/encoding.d.ts.map +0 -1
- package/package/dist/generated/1155.d.ts +0 -232
- package/package/dist/generated/1155.d.ts.map +0 -1
- package/package/dist/generated/sparks.d.ts +0 -85
- package/package/dist/generated/sparks.d.ts.map +0 -1
- package/package/dist/generated/wagmi.d.ts +0 -27548
- package/package/dist/generated/wagmi.d.ts.map +0 -1
- package/package/dist/index.cjs +0 -12957
- package/package/dist/index.cjs.map +0 -1
- package/package/dist/index.d.ts +0 -7
- package/package/dist/index.d.ts.map +0 -1
- package/package/dist/index.js +0 -11268
- package/package/dist/index.js.map +0 -1
- package/package/dist/secp256k1-5CEPNAX3.js +0 -2244
- package/package/dist/secp256k1-5CEPNAX3.js.map +0 -1
- package/package/dist/typedData.d.ts +0 -234
- package/package/dist/typedData.d.ts.map +0 -1
- package/package/dist/types.d.ts +0 -45
- package/package/dist/types.d.ts.map +0 -1
- package/package/package/.turbo/turbo-build.log +0 -48
- package/package/package/dist/_esm-KB2T7G46.js +0 -3923
- package/package/package/dist/_esm-KB2T7G46.js.map +0 -1
- package/package/package/dist/ccip-42FQPB7J.js +0 -15
- package/package/package/dist/ccip-42FQPB7J.js.map +0 -1
- package/package/package/dist/chunk-3EJPJMEH.js +0 -44
- package/package/package/dist/chunk-3EJPJMEH.js.map +0 -1
- package/package/package/dist/chunk-5JV63AHR.js +0 -129
- package/package/package/dist/chunk-5JV63AHR.js.map +0 -1
- package/package/package/dist/chunk-YMRS2KON.js +0 -3956
- package/package/package/dist/chunk-YMRS2KON.js.map +0 -1
- package/package/package/dist/encoding.d.ts +0 -15
- package/package/package/dist/encoding.d.ts.map +0 -1
- package/package/package/dist/generated/1155.d.ts +0 -232
- package/package/package/dist/generated/1155.d.ts.map +0 -1
- package/package/package/dist/generated/sparks.d.ts +0 -85
- package/package/package/dist/generated/sparks.d.ts.map +0 -1
- package/package/package/dist/generated/wagmi.d.ts +0 -27548
- package/package/package/dist/generated/wagmi.d.ts.map +0 -1
- package/package/package/dist/index.cjs +0 -12957
- package/package/package/dist/index.cjs.map +0 -1
- package/package/package/dist/index.d.ts +0 -7
- package/package/package/dist/index.d.ts.map +0 -1
- package/package/package/dist/index.js +0 -11268
- package/package/package/dist/index.js.map +0 -1
- package/package/package/dist/secp256k1-5CEPNAX3.js +0 -2244
- package/package/package/dist/secp256k1-5CEPNAX3.js.map +0 -1
- package/package/package/dist/typedData.d.ts +0 -234
- package/package/package/dist/typedData.d.ts.map +0 -1
- package/package/package/dist/types.d.ts +0 -45
- package/package/package/dist/types.d.ts.map +0 -1
- /package/dist/{ccip-MZCNL5YG.js.map → ccip-E7SRWW2U.js.map} +0 -0
- /package/dist/{chunk-MCOK75CU.js.map → chunk-BKKE6NTH.js.map} +0 -0
package/src/generated/wagmi.ts
CHANGED
|
@@ -1,990 +1,3 @@
|
|
|
1
|
-
//////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
|
|
2
|
-
// Comments
|
|
3
|
-
//////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
|
|
4
|
-
|
|
5
|
-
/**
|
|
6
|
-
* - [__View Contract on Zora Explorer__](https://explorer.zora.energy/address/0x8C0757EFfD2Cc68F00810d2d144F729F6ed5CdA3)
|
|
7
|
-
* - [__View Contract on Zora Sepolia Zora Sepolia Explorer__](https://sepolia.explorer.zora.energy//address/0xA29a072Edd91CF501115f6B77D145417c498A09c)
|
|
8
|
-
*/
|
|
9
|
-
export const commentsABI = [
|
|
10
|
-
{
|
|
11
|
-
stateMutability: 'nonpayable',
|
|
12
|
-
type: 'constructor',
|
|
13
|
-
inputs: [
|
|
14
|
-
{ name: '_sparkValue', internalType: 'uint256', type: 'uint256' },
|
|
15
|
-
{ name: '_protocolRewards', internalType: 'address', type: 'address' },
|
|
16
|
-
{ name: '_zoraRecipient', internalType: 'address', type: 'address' },
|
|
17
|
-
],
|
|
18
|
-
},
|
|
19
|
-
{
|
|
20
|
-
stateMutability: 'view',
|
|
21
|
-
type: 'function',
|
|
22
|
-
inputs: [],
|
|
23
|
-
name: 'BACKFILLER_ROLE',
|
|
24
|
-
outputs: [{ name: '', internalType: 'bytes32', type: 'bytes32' }],
|
|
25
|
-
},
|
|
26
|
-
{
|
|
27
|
-
stateMutability: 'view',
|
|
28
|
-
type: 'function',
|
|
29
|
-
inputs: [],
|
|
30
|
-
name: 'DEFAULT_ADMIN_ROLE',
|
|
31
|
-
outputs: [{ name: '', internalType: 'bytes32', type: 'bytes32' }],
|
|
32
|
-
},
|
|
33
|
-
{
|
|
34
|
-
stateMutability: 'view',
|
|
35
|
-
type: 'function',
|
|
36
|
-
inputs: [],
|
|
37
|
-
name: 'DELEGATE_COMMENTER',
|
|
38
|
-
outputs: [{ name: '', internalType: 'bytes32', type: 'bytes32' }],
|
|
39
|
-
},
|
|
40
|
-
{
|
|
41
|
-
stateMutability: 'view',
|
|
42
|
-
type: 'function',
|
|
43
|
-
inputs: [],
|
|
44
|
-
name: 'DOMAIN_NAME',
|
|
45
|
-
outputs: [{ name: '', internalType: 'string', type: 'string' }],
|
|
46
|
-
},
|
|
47
|
-
{
|
|
48
|
-
stateMutability: 'view',
|
|
49
|
-
type: 'function',
|
|
50
|
-
inputs: [],
|
|
51
|
-
name: 'DOMAIN_VERSION',
|
|
52
|
-
outputs: [{ name: '', internalType: 'string', type: 'string' }],
|
|
53
|
-
},
|
|
54
|
-
{
|
|
55
|
-
stateMutability: 'view',
|
|
56
|
-
type: 'function',
|
|
57
|
-
inputs: [],
|
|
58
|
-
name: 'PERMISSION_BIT_ADMIN',
|
|
59
|
-
outputs: [{ name: '', internalType: 'uint256', type: 'uint256' }],
|
|
60
|
-
},
|
|
61
|
-
{
|
|
62
|
-
stateMutability: 'view',
|
|
63
|
-
type: 'function',
|
|
64
|
-
inputs: [],
|
|
65
|
-
name: 'REFERRER_REWARD_PCT',
|
|
66
|
-
outputs: [{ name: '', internalType: 'uint256', type: 'uint256' }],
|
|
67
|
-
},
|
|
68
|
-
{
|
|
69
|
-
stateMutability: 'view',
|
|
70
|
-
type: 'function',
|
|
71
|
-
inputs: [],
|
|
72
|
-
name: 'UPGRADE_INTERFACE_VERSION',
|
|
73
|
-
outputs: [{ name: '', internalType: 'string', type: 'string' }],
|
|
74
|
-
},
|
|
75
|
-
{
|
|
76
|
-
stateMutability: 'view',
|
|
77
|
-
type: 'function',
|
|
78
|
-
inputs: [],
|
|
79
|
-
name: 'ZORA_REWARD_NO_REFERRER_PCT',
|
|
80
|
-
outputs: [{ name: '', internalType: 'uint256', type: 'uint256' }],
|
|
81
|
-
},
|
|
82
|
-
{
|
|
83
|
-
stateMutability: 'view',
|
|
84
|
-
type: 'function',
|
|
85
|
-
inputs: [],
|
|
86
|
-
name: 'ZORA_REWARD_PCT',
|
|
87
|
-
outputs: [{ name: '', internalType: 'uint256', type: 'uint256' }],
|
|
88
|
-
},
|
|
89
|
-
{
|
|
90
|
-
stateMutability: 'nonpayable',
|
|
91
|
-
type: 'function',
|
|
92
|
-
inputs: [
|
|
93
|
-
{
|
|
94
|
-
name: 'commentIdentifiers',
|
|
95
|
-
internalType: 'struct IComments.CommentIdentifier[]',
|
|
96
|
-
type: 'tuple[]',
|
|
97
|
-
components: [
|
|
98
|
-
{ name: 'commenter', internalType: 'address', type: 'address' },
|
|
99
|
-
{ name: 'contractAddress', internalType: 'address', type: 'address' },
|
|
100
|
-
{ name: 'tokenId', internalType: 'uint256', type: 'uint256' },
|
|
101
|
-
{ name: 'nonce', internalType: 'bytes32', type: 'bytes32' },
|
|
102
|
-
],
|
|
103
|
-
},
|
|
104
|
-
{ name: 'texts', internalType: 'string[]', type: 'string[]' },
|
|
105
|
-
{ name: 'timestamps', internalType: 'uint256[]', type: 'uint256[]' },
|
|
106
|
-
{
|
|
107
|
-
name: 'originalTransactionHashes',
|
|
108
|
-
internalType: 'bytes32[]',
|
|
109
|
-
type: 'bytes32[]',
|
|
110
|
-
},
|
|
111
|
-
],
|
|
112
|
-
name: 'backfillBatchAddComment',
|
|
113
|
-
outputs: [],
|
|
114
|
-
},
|
|
115
|
-
{
|
|
116
|
-
stateMutability: 'payable',
|
|
117
|
-
type: 'function',
|
|
118
|
-
inputs: [
|
|
119
|
-
{ name: 'commenter', internalType: 'address', type: 'address' },
|
|
120
|
-
{ name: 'contractAddress', internalType: 'address', type: 'address' },
|
|
121
|
-
{ name: 'tokenId', internalType: 'uint256', type: 'uint256' },
|
|
122
|
-
{ name: 'text', internalType: 'string', type: 'string' },
|
|
123
|
-
{
|
|
124
|
-
name: 'replyTo',
|
|
125
|
-
internalType: 'struct IComments.CommentIdentifier',
|
|
126
|
-
type: 'tuple',
|
|
127
|
-
components: [
|
|
128
|
-
{ name: 'commenter', internalType: 'address', type: 'address' },
|
|
129
|
-
{ name: 'contractAddress', internalType: 'address', type: 'address' },
|
|
130
|
-
{ name: 'tokenId', internalType: 'uint256', type: 'uint256' },
|
|
131
|
-
{ name: 'nonce', internalType: 'bytes32', type: 'bytes32' },
|
|
132
|
-
],
|
|
133
|
-
},
|
|
134
|
-
{
|
|
135
|
-
name: 'commenterSmartWallet',
|
|
136
|
-
internalType: 'address',
|
|
137
|
-
type: 'address',
|
|
138
|
-
},
|
|
139
|
-
{ name: 'referrer', internalType: 'address', type: 'address' },
|
|
140
|
-
],
|
|
141
|
-
name: 'comment',
|
|
142
|
-
outputs: [
|
|
143
|
-
{
|
|
144
|
-
name: 'commentIdentifier',
|
|
145
|
-
internalType: 'struct IComments.CommentIdentifier',
|
|
146
|
-
type: 'tuple',
|
|
147
|
-
components: [
|
|
148
|
-
{ name: 'commenter', internalType: 'address', type: 'address' },
|
|
149
|
-
{ name: 'contractAddress', internalType: 'address', type: 'address' },
|
|
150
|
-
{ name: 'tokenId', internalType: 'uint256', type: 'uint256' },
|
|
151
|
-
{ name: 'nonce', internalType: 'bytes32', type: 'bytes32' },
|
|
152
|
-
],
|
|
153
|
-
},
|
|
154
|
-
],
|
|
155
|
-
},
|
|
156
|
-
{
|
|
157
|
-
stateMutability: 'view',
|
|
158
|
-
type: 'function',
|
|
159
|
-
inputs: [
|
|
160
|
-
{
|
|
161
|
-
name: 'commentIdentifier',
|
|
162
|
-
internalType: 'struct IComments.CommentIdentifier',
|
|
163
|
-
type: 'tuple',
|
|
164
|
-
components: [
|
|
165
|
-
{ name: 'commenter', internalType: 'address', type: 'address' },
|
|
166
|
-
{ name: 'contractAddress', internalType: 'address', type: 'address' },
|
|
167
|
-
{ name: 'tokenId', internalType: 'uint256', type: 'uint256' },
|
|
168
|
-
{ name: 'nonce', internalType: 'bytes32', type: 'bytes32' },
|
|
169
|
-
],
|
|
170
|
-
},
|
|
171
|
-
],
|
|
172
|
-
name: 'commentSparksQuantity',
|
|
173
|
-
outputs: [{ name: '', internalType: 'uint256', type: 'uint256' }],
|
|
174
|
-
},
|
|
175
|
-
{
|
|
176
|
-
stateMutability: 'pure',
|
|
177
|
-
type: 'function',
|
|
178
|
-
inputs: [],
|
|
179
|
-
name: 'contractName',
|
|
180
|
-
outputs: [{ name: '', internalType: 'string', type: 'string' }],
|
|
181
|
-
},
|
|
182
|
-
{
|
|
183
|
-
stateMutability: 'pure',
|
|
184
|
-
type: 'function',
|
|
185
|
-
inputs: [],
|
|
186
|
-
name: 'contractVersion',
|
|
187
|
-
outputs: [{ name: '', internalType: 'string', type: 'string' }],
|
|
188
|
-
},
|
|
189
|
-
{
|
|
190
|
-
stateMutability: 'nonpayable',
|
|
191
|
-
type: 'function',
|
|
192
|
-
inputs: [
|
|
193
|
-
{ name: 'commenter', internalType: 'address', type: 'address' },
|
|
194
|
-
{ name: 'contractAddress', internalType: 'address', type: 'address' },
|
|
195
|
-
{ name: 'tokenId', internalType: 'uint256', type: 'uint256' },
|
|
196
|
-
{ name: 'text', internalType: 'string', type: 'string' },
|
|
197
|
-
{
|
|
198
|
-
name: 'replyTo',
|
|
199
|
-
internalType: 'struct IComments.CommentIdentifier',
|
|
200
|
-
type: 'tuple',
|
|
201
|
-
components: [
|
|
202
|
-
{ name: 'commenter', internalType: 'address', type: 'address' },
|
|
203
|
-
{ name: 'contractAddress', internalType: 'address', type: 'address' },
|
|
204
|
-
{ name: 'tokenId', internalType: 'uint256', type: 'uint256' },
|
|
205
|
-
{ name: 'nonce', internalType: 'bytes32', type: 'bytes32' },
|
|
206
|
-
],
|
|
207
|
-
},
|
|
208
|
-
],
|
|
209
|
-
name: 'delegateComment',
|
|
210
|
-
outputs: [
|
|
211
|
-
{
|
|
212
|
-
name: 'commentIdentifier',
|
|
213
|
-
internalType: 'struct IComments.CommentIdentifier',
|
|
214
|
-
type: 'tuple',
|
|
215
|
-
components: [
|
|
216
|
-
{ name: 'commenter', internalType: 'address', type: 'address' },
|
|
217
|
-
{ name: 'contractAddress', internalType: 'address', type: 'address' },
|
|
218
|
-
{ name: 'tokenId', internalType: 'uint256', type: 'uint256' },
|
|
219
|
-
{ name: 'nonce', internalType: 'bytes32', type: 'bytes32' },
|
|
220
|
-
],
|
|
221
|
-
},
|
|
222
|
-
],
|
|
223
|
-
},
|
|
224
|
-
{
|
|
225
|
-
stateMutability: 'view',
|
|
226
|
-
type: 'function',
|
|
227
|
-
inputs: [],
|
|
228
|
-
name: 'eip712Domain',
|
|
229
|
-
outputs: [
|
|
230
|
-
{ name: 'fields', internalType: 'bytes1', type: 'bytes1' },
|
|
231
|
-
{ name: 'name', internalType: 'string', type: 'string' },
|
|
232
|
-
{ name: 'version', internalType: 'string', type: 'string' },
|
|
233
|
-
{ name: 'chainId', internalType: 'uint256', type: 'uint256' },
|
|
234
|
-
{ name: 'verifyingContract', internalType: 'address', type: 'address' },
|
|
235
|
-
{ name: 'salt', internalType: 'bytes32', type: 'bytes32' },
|
|
236
|
-
{ name: 'extensions', internalType: 'uint256[]', type: 'uint256[]' },
|
|
237
|
-
],
|
|
238
|
-
},
|
|
239
|
-
{
|
|
240
|
-
stateMutability: 'view',
|
|
241
|
-
type: 'function',
|
|
242
|
-
inputs: [{ name: 'role', internalType: 'bytes32', type: 'bytes32' }],
|
|
243
|
-
name: 'getRoleAdmin',
|
|
244
|
-
outputs: [{ name: '', internalType: 'bytes32', type: 'bytes32' }],
|
|
245
|
-
},
|
|
246
|
-
{
|
|
247
|
-
stateMutability: 'nonpayable',
|
|
248
|
-
type: 'function',
|
|
249
|
-
inputs: [
|
|
250
|
-
{ name: 'role', internalType: 'bytes32', type: 'bytes32' },
|
|
251
|
-
{ name: 'account', internalType: 'address', type: 'address' },
|
|
252
|
-
],
|
|
253
|
-
name: 'grantRole',
|
|
254
|
-
outputs: [],
|
|
255
|
-
},
|
|
256
|
-
{
|
|
257
|
-
stateMutability: 'view',
|
|
258
|
-
type: 'function',
|
|
259
|
-
inputs: [
|
|
260
|
-
{ name: 'role', internalType: 'bytes32', type: 'bytes32' },
|
|
261
|
-
{ name: 'account', internalType: 'address', type: 'address' },
|
|
262
|
-
],
|
|
263
|
-
name: 'hasRole',
|
|
264
|
-
outputs: [{ name: '', internalType: 'bool', type: 'bool' }],
|
|
265
|
-
},
|
|
266
|
-
{
|
|
267
|
-
stateMutability: 'view',
|
|
268
|
-
type: 'function',
|
|
269
|
-
inputs: [
|
|
270
|
-
{
|
|
271
|
-
name: 'commentIdentifier',
|
|
272
|
-
internalType: 'struct IComments.CommentIdentifier',
|
|
273
|
-
type: 'tuple',
|
|
274
|
-
components: [
|
|
275
|
-
{ name: 'commenter', internalType: 'address', type: 'address' },
|
|
276
|
-
{ name: 'contractAddress', internalType: 'address', type: 'address' },
|
|
277
|
-
{ name: 'tokenId', internalType: 'uint256', type: 'uint256' },
|
|
278
|
-
{ name: 'nonce', internalType: 'bytes32', type: 'bytes32' },
|
|
279
|
-
],
|
|
280
|
-
},
|
|
281
|
-
],
|
|
282
|
-
name: 'hashAndCheckCommentExists',
|
|
283
|
-
outputs: [
|
|
284
|
-
{ name: 'commentId', internalType: 'bytes32', type: 'bytes32' },
|
|
285
|
-
{ name: 'exists', internalType: 'bool', type: 'bool' },
|
|
286
|
-
],
|
|
287
|
-
},
|
|
288
|
-
{
|
|
289
|
-
stateMutability: 'view',
|
|
290
|
-
type: 'function',
|
|
291
|
-
inputs: [
|
|
292
|
-
{
|
|
293
|
-
name: 'commentIdentifier',
|
|
294
|
-
internalType: 'struct IComments.CommentIdentifier',
|
|
295
|
-
type: 'tuple',
|
|
296
|
-
components: [
|
|
297
|
-
{ name: 'commenter', internalType: 'address', type: 'address' },
|
|
298
|
-
{ name: 'contractAddress', internalType: 'address', type: 'address' },
|
|
299
|
-
{ name: 'tokenId', internalType: 'uint256', type: 'uint256' },
|
|
300
|
-
{ name: 'nonce', internalType: 'bytes32', type: 'bytes32' },
|
|
301
|
-
],
|
|
302
|
-
},
|
|
303
|
-
],
|
|
304
|
-
name: 'hashAndValidateCommentExists',
|
|
305
|
-
outputs: [{ name: 'commentId', internalType: 'bytes32', type: 'bytes32' }],
|
|
306
|
-
},
|
|
307
|
-
{
|
|
308
|
-
stateMutability: 'pure',
|
|
309
|
-
type: 'function',
|
|
310
|
-
inputs: [
|
|
311
|
-
{
|
|
312
|
-
name: 'commentIdentifier',
|
|
313
|
-
internalType: 'struct IComments.CommentIdentifier',
|
|
314
|
-
type: 'tuple',
|
|
315
|
-
components: [
|
|
316
|
-
{ name: 'commenter', internalType: 'address', type: 'address' },
|
|
317
|
-
{ name: 'contractAddress', internalType: 'address', type: 'address' },
|
|
318
|
-
{ name: 'tokenId', internalType: 'uint256', type: 'uint256' },
|
|
319
|
-
{ name: 'nonce', internalType: 'bytes32', type: 'bytes32' },
|
|
320
|
-
],
|
|
321
|
-
},
|
|
322
|
-
],
|
|
323
|
-
name: 'hashCommentIdentifier',
|
|
324
|
-
outputs: [{ name: '', internalType: 'bytes32', type: 'bytes32' }],
|
|
325
|
-
},
|
|
326
|
-
{
|
|
327
|
-
stateMutability: 'view',
|
|
328
|
-
type: 'function',
|
|
329
|
-
inputs: [
|
|
330
|
-
{
|
|
331
|
-
name: 'permit',
|
|
332
|
-
internalType: 'struct IComments.PermitComment',
|
|
333
|
-
type: 'tuple',
|
|
334
|
-
components: [
|
|
335
|
-
{ name: 'commenter', internalType: 'address', type: 'address' },
|
|
336
|
-
{
|
|
337
|
-
name: 'commenterSmartWallet',
|
|
338
|
-
internalType: 'address',
|
|
339
|
-
type: 'address',
|
|
340
|
-
},
|
|
341
|
-
{ name: 'contractAddress', internalType: 'address', type: 'address' },
|
|
342
|
-
{ name: 'tokenId', internalType: 'uint256', type: 'uint256' },
|
|
343
|
-
{
|
|
344
|
-
name: 'replyTo',
|
|
345
|
-
internalType: 'struct IComments.CommentIdentifier',
|
|
346
|
-
type: 'tuple',
|
|
347
|
-
components: [
|
|
348
|
-
{ name: 'commenter', internalType: 'address', type: 'address' },
|
|
349
|
-
{
|
|
350
|
-
name: 'contractAddress',
|
|
351
|
-
internalType: 'address',
|
|
352
|
-
type: 'address',
|
|
353
|
-
},
|
|
354
|
-
{ name: 'tokenId', internalType: 'uint256', type: 'uint256' },
|
|
355
|
-
{ name: 'nonce', internalType: 'bytes32', type: 'bytes32' },
|
|
356
|
-
],
|
|
357
|
-
},
|
|
358
|
-
{ name: 'text', internalType: 'string', type: 'string' },
|
|
359
|
-
{ name: 'referrer', internalType: 'address', type: 'address' },
|
|
360
|
-
{ name: 'deadline', internalType: 'uint256', type: 'uint256' },
|
|
361
|
-
{ name: 'nonce', internalType: 'bytes32', type: 'bytes32' },
|
|
362
|
-
{ name: 'sourceChainId', internalType: 'uint32', type: 'uint32' },
|
|
363
|
-
{
|
|
364
|
-
name: 'destinationChainId',
|
|
365
|
-
internalType: 'uint32',
|
|
366
|
-
type: 'uint32',
|
|
367
|
-
},
|
|
368
|
-
],
|
|
369
|
-
},
|
|
370
|
-
],
|
|
371
|
-
name: 'hashPermitComment',
|
|
372
|
-
outputs: [{ name: '', internalType: 'bytes32', type: 'bytes32' }],
|
|
373
|
-
},
|
|
374
|
-
{
|
|
375
|
-
stateMutability: 'view',
|
|
376
|
-
type: 'function',
|
|
377
|
-
inputs: [
|
|
378
|
-
{
|
|
379
|
-
name: 'permit',
|
|
380
|
-
internalType: 'struct IComments.PermitSparkComment',
|
|
381
|
-
type: 'tuple',
|
|
382
|
-
components: [
|
|
383
|
-
{
|
|
384
|
-
name: 'comment',
|
|
385
|
-
internalType: 'struct IComments.CommentIdentifier',
|
|
386
|
-
type: 'tuple',
|
|
387
|
-
components: [
|
|
388
|
-
{ name: 'commenter', internalType: 'address', type: 'address' },
|
|
389
|
-
{
|
|
390
|
-
name: 'contractAddress',
|
|
391
|
-
internalType: 'address',
|
|
392
|
-
type: 'address',
|
|
393
|
-
},
|
|
394
|
-
{ name: 'tokenId', internalType: 'uint256', type: 'uint256' },
|
|
395
|
-
{ name: 'nonce', internalType: 'bytes32', type: 'bytes32' },
|
|
396
|
-
],
|
|
397
|
-
},
|
|
398
|
-
{ name: 'sparker', internalType: 'address', type: 'address' },
|
|
399
|
-
{ name: 'sparksQuantity', internalType: 'uint256', type: 'uint256' },
|
|
400
|
-
{ name: 'deadline', internalType: 'uint256', type: 'uint256' },
|
|
401
|
-
{ name: 'nonce', internalType: 'bytes32', type: 'bytes32' },
|
|
402
|
-
{ name: 'referrer', internalType: 'address', type: 'address' },
|
|
403
|
-
{ name: 'sourceChainId', internalType: 'uint32', type: 'uint32' },
|
|
404
|
-
{
|
|
405
|
-
name: 'destinationChainId',
|
|
406
|
-
internalType: 'uint32',
|
|
407
|
-
type: 'uint32',
|
|
408
|
-
},
|
|
409
|
-
],
|
|
410
|
-
},
|
|
411
|
-
],
|
|
412
|
-
name: 'hashPermitSparkComment',
|
|
413
|
-
outputs: [{ name: '', internalType: 'bytes32', type: 'bytes32' }],
|
|
414
|
-
},
|
|
415
|
-
{
|
|
416
|
-
stateMutability: 'view',
|
|
417
|
-
type: 'function',
|
|
418
|
-
inputs: [],
|
|
419
|
-
name: 'implementation',
|
|
420
|
-
outputs: [{ name: '', internalType: 'address', type: 'address' }],
|
|
421
|
-
},
|
|
422
|
-
{
|
|
423
|
-
stateMutability: 'nonpayable',
|
|
424
|
-
type: 'function',
|
|
425
|
-
inputs: [
|
|
426
|
-
{ name: 'defaultAdmin', internalType: 'address', type: 'address' },
|
|
427
|
-
{ name: 'backfiller', internalType: 'address', type: 'address' },
|
|
428
|
-
{
|
|
429
|
-
name: 'delegateCommenters',
|
|
430
|
-
internalType: 'address[]',
|
|
431
|
-
type: 'address[]',
|
|
432
|
-
},
|
|
433
|
-
],
|
|
434
|
-
name: 'initialize',
|
|
435
|
-
outputs: [],
|
|
436
|
-
},
|
|
437
|
-
{
|
|
438
|
-
stateMutability: 'view',
|
|
439
|
-
type: 'function',
|
|
440
|
-
inputs: [],
|
|
441
|
-
name: 'nextNonce',
|
|
442
|
-
outputs: [{ name: '', internalType: 'bytes32', type: 'bytes32' }],
|
|
443
|
-
},
|
|
444
|
-
{
|
|
445
|
-
stateMutability: 'view',
|
|
446
|
-
type: 'function',
|
|
447
|
-
inputs: [
|
|
448
|
-
{ name: 'owner', internalType: 'address', type: 'address' },
|
|
449
|
-
{ name: 'nonce', internalType: 'bytes32', type: 'bytes32' },
|
|
450
|
-
],
|
|
451
|
-
name: 'nonceUsed',
|
|
452
|
-
outputs: [{ name: '', internalType: 'bool', type: 'bool' }],
|
|
453
|
-
},
|
|
454
|
-
{
|
|
455
|
-
stateMutability: 'payable',
|
|
456
|
-
type: 'function',
|
|
457
|
-
inputs: [
|
|
458
|
-
{
|
|
459
|
-
name: 'permit',
|
|
460
|
-
internalType: 'struct IComments.PermitComment',
|
|
461
|
-
type: 'tuple',
|
|
462
|
-
components: [
|
|
463
|
-
{ name: 'commenter', internalType: 'address', type: 'address' },
|
|
464
|
-
{
|
|
465
|
-
name: 'commenterSmartWallet',
|
|
466
|
-
internalType: 'address',
|
|
467
|
-
type: 'address',
|
|
468
|
-
},
|
|
469
|
-
{ name: 'contractAddress', internalType: 'address', type: 'address' },
|
|
470
|
-
{ name: 'tokenId', internalType: 'uint256', type: 'uint256' },
|
|
471
|
-
{
|
|
472
|
-
name: 'replyTo',
|
|
473
|
-
internalType: 'struct IComments.CommentIdentifier',
|
|
474
|
-
type: 'tuple',
|
|
475
|
-
components: [
|
|
476
|
-
{ name: 'commenter', internalType: 'address', type: 'address' },
|
|
477
|
-
{
|
|
478
|
-
name: 'contractAddress',
|
|
479
|
-
internalType: 'address',
|
|
480
|
-
type: 'address',
|
|
481
|
-
},
|
|
482
|
-
{ name: 'tokenId', internalType: 'uint256', type: 'uint256' },
|
|
483
|
-
{ name: 'nonce', internalType: 'bytes32', type: 'bytes32' },
|
|
484
|
-
],
|
|
485
|
-
},
|
|
486
|
-
{ name: 'text', internalType: 'string', type: 'string' },
|
|
487
|
-
{ name: 'referrer', internalType: 'address', type: 'address' },
|
|
488
|
-
{ name: 'deadline', internalType: 'uint256', type: 'uint256' },
|
|
489
|
-
{ name: 'nonce', internalType: 'bytes32', type: 'bytes32' },
|
|
490
|
-
{ name: 'sourceChainId', internalType: 'uint32', type: 'uint32' },
|
|
491
|
-
{
|
|
492
|
-
name: 'destinationChainId',
|
|
493
|
-
internalType: 'uint32',
|
|
494
|
-
type: 'uint32',
|
|
495
|
-
},
|
|
496
|
-
],
|
|
497
|
-
},
|
|
498
|
-
{ name: 'signature', internalType: 'bytes', type: 'bytes' },
|
|
499
|
-
],
|
|
500
|
-
name: 'permitComment',
|
|
501
|
-
outputs: [],
|
|
502
|
-
},
|
|
503
|
-
{
|
|
504
|
-
stateMutability: 'payable',
|
|
505
|
-
type: 'function',
|
|
506
|
-
inputs: [
|
|
507
|
-
{
|
|
508
|
-
name: 'permit',
|
|
509
|
-
internalType: 'struct IComments.PermitSparkComment',
|
|
510
|
-
type: 'tuple',
|
|
511
|
-
components: [
|
|
512
|
-
{
|
|
513
|
-
name: 'comment',
|
|
514
|
-
internalType: 'struct IComments.CommentIdentifier',
|
|
515
|
-
type: 'tuple',
|
|
516
|
-
components: [
|
|
517
|
-
{ name: 'commenter', internalType: 'address', type: 'address' },
|
|
518
|
-
{
|
|
519
|
-
name: 'contractAddress',
|
|
520
|
-
internalType: 'address',
|
|
521
|
-
type: 'address',
|
|
522
|
-
},
|
|
523
|
-
{ name: 'tokenId', internalType: 'uint256', type: 'uint256' },
|
|
524
|
-
{ name: 'nonce', internalType: 'bytes32', type: 'bytes32' },
|
|
525
|
-
],
|
|
526
|
-
},
|
|
527
|
-
{ name: 'sparker', internalType: 'address', type: 'address' },
|
|
528
|
-
{ name: 'sparksQuantity', internalType: 'uint256', type: 'uint256' },
|
|
529
|
-
{ name: 'deadline', internalType: 'uint256', type: 'uint256' },
|
|
530
|
-
{ name: 'nonce', internalType: 'bytes32', type: 'bytes32' },
|
|
531
|
-
{ name: 'referrer', internalType: 'address', type: 'address' },
|
|
532
|
-
{ name: 'sourceChainId', internalType: 'uint32', type: 'uint32' },
|
|
533
|
-
{
|
|
534
|
-
name: 'destinationChainId',
|
|
535
|
-
internalType: 'uint32',
|
|
536
|
-
type: 'uint32',
|
|
537
|
-
},
|
|
538
|
-
],
|
|
539
|
-
},
|
|
540
|
-
{ name: 'signature', internalType: 'bytes', type: 'bytes' },
|
|
541
|
-
],
|
|
542
|
-
name: 'permitSparkComment',
|
|
543
|
-
outputs: [],
|
|
544
|
-
},
|
|
545
|
-
{
|
|
546
|
-
stateMutability: 'view',
|
|
547
|
-
type: 'function',
|
|
548
|
-
inputs: [],
|
|
549
|
-
name: 'protocolRewards',
|
|
550
|
-
outputs: [
|
|
551
|
-
{ name: '', internalType: 'contract IProtocolRewards', type: 'address' },
|
|
552
|
-
],
|
|
553
|
-
},
|
|
554
|
-
{
|
|
555
|
-
stateMutability: 'view',
|
|
556
|
-
type: 'function',
|
|
557
|
-
inputs: [],
|
|
558
|
-
name: 'proxiableUUID',
|
|
559
|
-
outputs: [{ name: '', internalType: 'bytes32', type: 'bytes32' }],
|
|
560
|
-
},
|
|
561
|
-
{
|
|
562
|
-
stateMutability: 'nonpayable',
|
|
563
|
-
type: 'function',
|
|
564
|
-
inputs: [
|
|
565
|
-
{ name: 'role', internalType: 'bytes32', type: 'bytes32' },
|
|
566
|
-
{ name: 'callerConfirmation', internalType: 'address', type: 'address' },
|
|
567
|
-
],
|
|
568
|
-
name: 'renounceRole',
|
|
569
|
-
outputs: [],
|
|
570
|
-
},
|
|
571
|
-
{
|
|
572
|
-
stateMutability: 'nonpayable',
|
|
573
|
-
type: 'function',
|
|
574
|
-
inputs: [
|
|
575
|
-
{ name: 'role', internalType: 'bytes32', type: 'bytes32' },
|
|
576
|
-
{ name: 'account', internalType: 'address', type: 'address' },
|
|
577
|
-
],
|
|
578
|
-
name: 'revokeRole',
|
|
579
|
-
outputs: [],
|
|
580
|
-
},
|
|
581
|
-
{
|
|
582
|
-
stateMutability: 'payable',
|
|
583
|
-
type: 'function',
|
|
584
|
-
inputs: [
|
|
585
|
-
{
|
|
586
|
-
name: 'commentIdentifier',
|
|
587
|
-
internalType: 'struct IComments.CommentIdentifier',
|
|
588
|
-
type: 'tuple',
|
|
589
|
-
components: [
|
|
590
|
-
{ name: 'commenter', internalType: 'address', type: 'address' },
|
|
591
|
-
{ name: 'contractAddress', internalType: 'address', type: 'address' },
|
|
592
|
-
{ name: 'tokenId', internalType: 'uint256', type: 'uint256' },
|
|
593
|
-
{ name: 'nonce', internalType: 'bytes32', type: 'bytes32' },
|
|
594
|
-
],
|
|
595
|
-
},
|
|
596
|
-
{ name: 'sparksQuantity', internalType: 'uint256', type: 'uint256' },
|
|
597
|
-
{ name: 'referrer', internalType: 'address', type: 'address' },
|
|
598
|
-
],
|
|
599
|
-
name: 'sparkComment',
|
|
600
|
-
outputs: [],
|
|
601
|
-
},
|
|
602
|
-
{
|
|
603
|
-
stateMutability: 'view',
|
|
604
|
-
type: 'function',
|
|
605
|
-
inputs: [],
|
|
606
|
-
name: 'sparkValue',
|
|
607
|
-
outputs: [{ name: '', internalType: 'uint256', type: 'uint256' }],
|
|
608
|
-
},
|
|
609
|
-
{
|
|
610
|
-
stateMutability: 'view',
|
|
611
|
-
type: 'function',
|
|
612
|
-
inputs: [{ name: 'interfaceId', internalType: 'bytes4', type: 'bytes4' }],
|
|
613
|
-
name: 'supportsInterface',
|
|
614
|
-
outputs: [{ name: '', internalType: 'bool', type: 'bool' }],
|
|
615
|
-
},
|
|
616
|
-
{
|
|
617
|
-
stateMutability: 'payable',
|
|
618
|
-
type: 'function',
|
|
619
|
-
inputs: [
|
|
620
|
-
{ name: 'newImplementation', internalType: 'address', type: 'address' },
|
|
621
|
-
{ name: 'data', internalType: 'bytes', type: 'bytes' },
|
|
622
|
-
],
|
|
623
|
-
name: 'upgradeToAndCall',
|
|
624
|
-
outputs: [],
|
|
625
|
-
},
|
|
626
|
-
{
|
|
627
|
-
type: 'event',
|
|
628
|
-
anonymous: false,
|
|
629
|
-
inputs: [
|
|
630
|
-
{
|
|
631
|
-
name: 'commentId',
|
|
632
|
-
internalType: 'bytes32',
|
|
633
|
-
type: 'bytes32',
|
|
634
|
-
indexed: true,
|
|
635
|
-
},
|
|
636
|
-
{
|
|
637
|
-
name: 'commentIdentifier',
|
|
638
|
-
internalType: 'struct IComments.CommentIdentifier',
|
|
639
|
-
type: 'tuple',
|
|
640
|
-
components: [
|
|
641
|
-
{ name: 'commenter', internalType: 'address', type: 'address' },
|
|
642
|
-
{ name: 'contractAddress', internalType: 'address', type: 'address' },
|
|
643
|
-
{ name: 'tokenId', internalType: 'uint256', type: 'uint256' },
|
|
644
|
-
{ name: 'nonce', internalType: 'bytes32', type: 'bytes32' },
|
|
645
|
-
],
|
|
646
|
-
indexed: false,
|
|
647
|
-
},
|
|
648
|
-
{ name: 'text', internalType: 'string', type: 'string', indexed: false },
|
|
649
|
-
{
|
|
650
|
-
name: 'timestamp',
|
|
651
|
-
internalType: 'uint256',
|
|
652
|
-
type: 'uint256',
|
|
653
|
-
indexed: false,
|
|
654
|
-
},
|
|
655
|
-
{
|
|
656
|
-
name: 'originalTransactionId',
|
|
657
|
-
internalType: 'bytes32',
|
|
658
|
-
type: 'bytes32',
|
|
659
|
-
indexed: false,
|
|
660
|
-
},
|
|
661
|
-
],
|
|
662
|
-
name: 'BackfilledComment',
|
|
663
|
-
},
|
|
664
|
-
{
|
|
665
|
-
type: 'event',
|
|
666
|
-
anonymous: false,
|
|
667
|
-
inputs: [
|
|
668
|
-
{
|
|
669
|
-
name: 'commentId',
|
|
670
|
-
internalType: 'bytes32',
|
|
671
|
-
type: 'bytes32',
|
|
672
|
-
indexed: true,
|
|
673
|
-
},
|
|
674
|
-
{
|
|
675
|
-
name: 'commentIdentifier',
|
|
676
|
-
internalType: 'struct IComments.CommentIdentifier',
|
|
677
|
-
type: 'tuple',
|
|
678
|
-
components: [
|
|
679
|
-
{ name: 'commenter', internalType: 'address', type: 'address' },
|
|
680
|
-
{ name: 'contractAddress', internalType: 'address', type: 'address' },
|
|
681
|
-
{ name: 'tokenId', internalType: 'uint256', type: 'uint256' },
|
|
682
|
-
{ name: 'nonce', internalType: 'bytes32', type: 'bytes32' },
|
|
683
|
-
],
|
|
684
|
-
indexed: false,
|
|
685
|
-
},
|
|
686
|
-
{
|
|
687
|
-
name: 'replyToId',
|
|
688
|
-
internalType: 'bytes32',
|
|
689
|
-
type: 'bytes32',
|
|
690
|
-
indexed: false,
|
|
691
|
-
},
|
|
692
|
-
{
|
|
693
|
-
name: 'replyTo',
|
|
694
|
-
internalType: 'struct IComments.CommentIdentifier',
|
|
695
|
-
type: 'tuple',
|
|
696
|
-
components: [
|
|
697
|
-
{ name: 'commenter', internalType: 'address', type: 'address' },
|
|
698
|
-
{ name: 'contractAddress', internalType: 'address', type: 'address' },
|
|
699
|
-
{ name: 'tokenId', internalType: 'uint256', type: 'uint256' },
|
|
700
|
-
{ name: 'nonce', internalType: 'bytes32', type: 'bytes32' },
|
|
701
|
-
],
|
|
702
|
-
indexed: false,
|
|
703
|
-
},
|
|
704
|
-
{
|
|
705
|
-
name: 'sparksQuantity',
|
|
706
|
-
internalType: 'uint256',
|
|
707
|
-
type: 'uint256',
|
|
708
|
-
indexed: false,
|
|
709
|
-
},
|
|
710
|
-
{ name: 'text', internalType: 'string', type: 'string', indexed: false },
|
|
711
|
-
{
|
|
712
|
-
name: 'timestamp',
|
|
713
|
-
internalType: 'uint256',
|
|
714
|
-
type: 'uint256',
|
|
715
|
-
indexed: false,
|
|
716
|
-
},
|
|
717
|
-
{
|
|
718
|
-
name: 'referrer',
|
|
719
|
-
internalType: 'address',
|
|
720
|
-
type: 'address',
|
|
721
|
-
indexed: false,
|
|
722
|
-
},
|
|
723
|
-
],
|
|
724
|
-
name: 'Commented',
|
|
725
|
-
},
|
|
726
|
-
{ type: 'event', anonymous: false, inputs: [], name: 'EIP712DomainChanged' },
|
|
727
|
-
{
|
|
728
|
-
type: 'event',
|
|
729
|
-
anonymous: false,
|
|
730
|
-
inputs: [
|
|
731
|
-
{
|
|
732
|
-
name: 'version',
|
|
733
|
-
internalType: 'uint64',
|
|
734
|
-
type: 'uint64',
|
|
735
|
-
indexed: false,
|
|
736
|
-
},
|
|
737
|
-
],
|
|
738
|
-
name: 'Initialized',
|
|
739
|
-
},
|
|
740
|
-
{
|
|
741
|
-
type: 'event',
|
|
742
|
-
anonymous: false,
|
|
743
|
-
inputs: [
|
|
744
|
-
{ name: 'role', internalType: 'bytes32', type: 'bytes32', indexed: true },
|
|
745
|
-
{
|
|
746
|
-
name: 'previousAdminRole',
|
|
747
|
-
internalType: 'bytes32',
|
|
748
|
-
type: 'bytes32',
|
|
749
|
-
indexed: true,
|
|
750
|
-
},
|
|
751
|
-
{
|
|
752
|
-
name: 'newAdminRole',
|
|
753
|
-
internalType: 'bytes32',
|
|
754
|
-
type: 'bytes32',
|
|
755
|
-
indexed: true,
|
|
756
|
-
},
|
|
757
|
-
],
|
|
758
|
-
name: 'RoleAdminChanged',
|
|
759
|
-
},
|
|
760
|
-
{
|
|
761
|
-
type: 'event',
|
|
762
|
-
anonymous: false,
|
|
763
|
-
inputs: [
|
|
764
|
-
{ name: 'role', internalType: 'bytes32', type: 'bytes32', indexed: true },
|
|
765
|
-
{
|
|
766
|
-
name: 'account',
|
|
767
|
-
internalType: 'address',
|
|
768
|
-
type: 'address',
|
|
769
|
-
indexed: true,
|
|
770
|
-
},
|
|
771
|
-
{
|
|
772
|
-
name: 'sender',
|
|
773
|
-
internalType: 'address',
|
|
774
|
-
type: 'address',
|
|
775
|
-
indexed: true,
|
|
776
|
-
},
|
|
777
|
-
],
|
|
778
|
-
name: 'RoleGranted',
|
|
779
|
-
},
|
|
780
|
-
{
|
|
781
|
-
type: 'event',
|
|
782
|
-
anonymous: false,
|
|
783
|
-
inputs: [
|
|
784
|
-
{ name: 'role', internalType: 'bytes32', type: 'bytes32', indexed: true },
|
|
785
|
-
{
|
|
786
|
-
name: 'account',
|
|
787
|
-
internalType: 'address',
|
|
788
|
-
type: 'address',
|
|
789
|
-
indexed: true,
|
|
790
|
-
},
|
|
791
|
-
{
|
|
792
|
-
name: 'sender',
|
|
793
|
-
internalType: 'address',
|
|
794
|
-
type: 'address',
|
|
795
|
-
indexed: true,
|
|
796
|
-
},
|
|
797
|
-
],
|
|
798
|
-
name: 'RoleRevoked',
|
|
799
|
-
},
|
|
800
|
-
{
|
|
801
|
-
type: 'event',
|
|
802
|
-
anonymous: false,
|
|
803
|
-
inputs: [
|
|
804
|
-
{
|
|
805
|
-
name: 'commentId',
|
|
806
|
-
internalType: 'bytes32',
|
|
807
|
-
type: 'bytes32',
|
|
808
|
-
indexed: true,
|
|
809
|
-
},
|
|
810
|
-
{
|
|
811
|
-
name: 'commentIdentifier',
|
|
812
|
-
internalType: 'struct IComments.CommentIdentifier',
|
|
813
|
-
type: 'tuple',
|
|
814
|
-
components: [
|
|
815
|
-
{ name: 'commenter', internalType: 'address', type: 'address' },
|
|
816
|
-
{ name: 'contractAddress', internalType: 'address', type: 'address' },
|
|
817
|
-
{ name: 'tokenId', internalType: 'uint256', type: 'uint256' },
|
|
818
|
-
{ name: 'nonce', internalType: 'bytes32', type: 'bytes32' },
|
|
819
|
-
],
|
|
820
|
-
indexed: false,
|
|
821
|
-
},
|
|
822
|
-
{
|
|
823
|
-
name: 'sparksQuantity',
|
|
824
|
-
internalType: 'uint256',
|
|
825
|
-
type: 'uint256',
|
|
826
|
-
indexed: false,
|
|
827
|
-
},
|
|
828
|
-
{
|
|
829
|
-
name: 'sparker',
|
|
830
|
-
internalType: 'address',
|
|
831
|
-
type: 'address',
|
|
832
|
-
indexed: false,
|
|
833
|
-
},
|
|
834
|
-
{
|
|
835
|
-
name: 'timestamp',
|
|
836
|
-
internalType: 'uint256',
|
|
837
|
-
type: 'uint256',
|
|
838
|
-
indexed: false,
|
|
839
|
-
},
|
|
840
|
-
{
|
|
841
|
-
name: 'referrer',
|
|
842
|
-
internalType: 'address',
|
|
843
|
-
type: 'address',
|
|
844
|
-
indexed: false,
|
|
845
|
-
},
|
|
846
|
-
],
|
|
847
|
-
name: 'SparkedComment',
|
|
848
|
-
},
|
|
849
|
-
{
|
|
850
|
-
type: 'event',
|
|
851
|
-
anonymous: false,
|
|
852
|
-
inputs: [
|
|
853
|
-
{
|
|
854
|
-
name: 'implementation',
|
|
855
|
-
internalType: 'address',
|
|
856
|
-
type: 'address',
|
|
857
|
-
indexed: true,
|
|
858
|
-
},
|
|
859
|
-
],
|
|
860
|
-
name: 'Upgraded',
|
|
861
|
-
},
|
|
862
|
-
{ type: 'error', inputs: [], name: 'AccessControlBadConfirmation' },
|
|
863
|
-
{
|
|
864
|
-
type: 'error',
|
|
865
|
-
inputs: [
|
|
866
|
-
{ name: 'account', internalType: 'address', type: 'address' },
|
|
867
|
-
{ name: 'neededRole', internalType: 'bytes32', type: 'bytes32' },
|
|
868
|
-
],
|
|
869
|
-
name: 'AccessControlUnauthorizedAccount',
|
|
870
|
-
},
|
|
871
|
-
{
|
|
872
|
-
type: 'error',
|
|
873
|
-
inputs: [{ name: 'target', internalType: 'address', type: 'address' }],
|
|
874
|
-
name: 'AddressEmptyCode',
|
|
875
|
-
},
|
|
876
|
-
{ type: 'error', inputs: [], name: 'ArrayLengthMismatch' },
|
|
877
|
-
{ type: 'error', inputs: [], name: 'CannotSparkOwnComment' },
|
|
878
|
-
{
|
|
879
|
-
type: 'error',
|
|
880
|
-
inputs: [
|
|
881
|
-
{ name: 'commentAddress', internalType: 'address', type: 'address' },
|
|
882
|
-
{ name: 'commentTokenId', internalType: 'uint256', type: 'uint256' },
|
|
883
|
-
{ name: 'replyAddress', internalType: 'address', type: 'address' },
|
|
884
|
-
{ name: 'replyTokenId', internalType: 'uint256', type: 'uint256' },
|
|
885
|
-
],
|
|
886
|
-
name: 'CommentAddressOrTokenIdsDoNotMatch',
|
|
887
|
-
},
|
|
888
|
-
{ type: 'error', inputs: [], name: 'CommentDoesntExist' },
|
|
889
|
-
{
|
|
890
|
-
type: 'error',
|
|
891
|
-
inputs: [
|
|
892
|
-
{ name: 'expected', internalType: 'address', type: 'address' },
|
|
893
|
-
{ name: 'actual', internalType: 'address', type: 'address' },
|
|
894
|
-
],
|
|
895
|
-
name: 'CommenterMismatch',
|
|
896
|
-
},
|
|
897
|
-
{
|
|
898
|
-
type: 'error',
|
|
899
|
-
inputs: [{ name: 'commentId', internalType: 'bytes32', type: 'bytes32' }],
|
|
900
|
-
name: 'DuplicateComment',
|
|
901
|
-
},
|
|
902
|
-
{
|
|
903
|
-
type: 'error',
|
|
904
|
-
inputs: [
|
|
905
|
-
{ name: 'implementation', internalType: 'address', type: 'address' },
|
|
906
|
-
],
|
|
907
|
-
name: 'ERC1967InvalidImplementation',
|
|
908
|
-
},
|
|
909
|
-
{ type: 'error', inputs: [], name: 'ERC1967NonPayable' },
|
|
910
|
-
{
|
|
911
|
-
type: 'error',
|
|
912
|
-
inputs: [{ name: 'deadline', internalType: 'uint256', type: 'uint256' }],
|
|
913
|
-
name: 'ERC2612ExpiredSignature',
|
|
914
|
-
},
|
|
915
|
-
{ type: 'error', inputs: [], name: 'EmptyComment' },
|
|
916
|
-
{ type: 'error', inputs: [], name: 'FailedInnerCall' },
|
|
917
|
-
{
|
|
918
|
-
type: 'error',
|
|
919
|
-
inputs: [
|
|
920
|
-
{
|
|
921
|
-
name: 'wrongDestinationChainId',
|
|
922
|
-
internalType: 'uint256',
|
|
923
|
-
type: 'uint256',
|
|
924
|
-
},
|
|
925
|
-
],
|
|
926
|
-
name: 'IncorrectDestinationChain',
|
|
927
|
-
},
|
|
928
|
-
{
|
|
929
|
-
type: 'error',
|
|
930
|
-
inputs: [
|
|
931
|
-
{ name: 'actual', internalType: 'uint256', type: 'uint256' },
|
|
932
|
-
{ name: 'expected', internalType: 'uint256', type: 'uint256' },
|
|
933
|
-
],
|
|
934
|
-
name: 'IncorrectETHAmountForSparks',
|
|
935
|
-
},
|
|
936
|
-
{
|
|
937
|
-
type: 'error',
|
|
938
|
-
inputs: [
|
|
939
|
-
{ name: 'account', internalType: 'address', type: 'address' },
|
|
940
|
-
{ name: 'currentNonce', internalType: 'bytes32', type: 'bytes32' },
|
|
941
|
-
],
|
|
942
|
-
name: 'InvalidAccountNonce',
|
|
943
|
-
},
|
|
944
|
-
{ type: 'error', inputs: [], name: 'InvalidInitialization' },
|
|
945
|
-
{ type: 'error', inputs: [], name: 'InvalidSignature' },
|
|
946
|
-
{ type: 'error', inputs: [], name: 'MustSendAtLeastOneSpark' },
|
|
947
|
-
{ type: 'error', inputs: [], name: 'NoFundsRecipient' },
|
|
948
|
-
{ type: 'error', inputs: [], name: 'NotInitializing' },
|
|
949
|
-
{ type: 'error', inputs: [], name: 'NotSmartWallet' },
|
|
950
|
-
{ type: 'error', inputs: [], name: 'NotSmartWalletOwner' },
|
|
951
|
-
{ type: 'error', inputs: [], name: 'NotTokenHolderOrAdmin' },
|
|
952
|
-
{ type: 'error', inputs: [], name: 'OnlySparksContract' },
|
|
953
|
-
{ type: 'error', inputs: [], name: 'TransferFailed' },
|
|
954
|
-
{ type: 'error', inputs: [], name: 'UUPSUnauthorizedCallContext' },
|
|
955
|
-
{
|
|
956
|
-
type: 'error',
|
|
957
|
-
inputs: [{ name: 'slot', internalType: 'bytes32', type: 'bytes32' }],
|
|
958
|
-
name: 'UUPSUnsupportedProxiableUUID',
|
|
959
|
-
},
|
|
960
|
-
{
|
|
961
|
-
type: 'error',
|
|
962
|
-
inputs: [
|
|
963
|
-
{ name: 'currentName', internalType: 'string', type: 'string' },
|
|
964
|
-
{ name: 'newName', internalType: 'string', type: 'string' },
|
|
965
|
-
],
|
|
966
|
-
name: 'UpgradeToMismatchedContractName',
|
|
967
|
-
},
|
|
968
|
-
] as const
|
|
969
|
-
|
|
970
|
-
/**
|
|
971
|
-
* - [__View Contract on Zora Explorer__](https://explorer.zora.energy/address/0x8C0757EFfD2Cc68F00810d2d144F729F6ed5CdA3)
|
|
972
|
-
* - [__View Contract on Zora Sepolia Zora Sepolia Explorer__](https://sepolia.explorer.zora.energy//address/0xA29a072Edd91CF501115f6B77D145417c498A09c)
|
|
973
|
-
*/
|
|
974
|
-
export const commentsAddress = {
|
|
975
|
-
7777777: '0x8C0757EFfD2Cc68F00810d2d144F729F6ed5CdA3',
|
|
976
|
-
999999999: '0xA29a072Edd91CF501115f6B77D145417c498A09c',
|
|
977
|
-
} as const
|
|
978
|
-
|
|
979
|
-
/**
|
|
980
|
-
* - [__View Contract on Zora Explorer__](https://explorer.zora.energy/address/0x8C0757EFfD2Cc68F00810d2d144F729F6ed5CdA3)
|
|
981
|
-
* - [__View Contract on Zora Sepolia Zora Sepolia Explorer__](https://sepolia.explorer.zora.energy//address/0xA29a072Edd91CF501115f6B77D145417c498A09c)
|
|
982
|
-
*/
|
|
983
|
-
export const commentsConfig = {
|
|
984
|
-
address: commentsAddress,
|
|
985
|
-
abi: commentsABI,
|
|
986
|
-
} as const
|
|
987
|
-
|
|
988
1
|
//////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
|
|
989
2
|
// ERC20Minter
|
|
990
3
|
//////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
|
|
@@ -5135,7 +4148,6 @@ export const zoraCreator1155FactoryImplABI = [
|
|
|
5135
4148
|
{ type: 'error', inputs: [], name: 'MarketMinimumNotReached' },
|
|
5136
4149
|
{ type: 'error', inputs: [], name: 'MinimumMarketEthNotMet' },
|
|
5137
4150
|
{ type: 'error', inputs: [], name: 'NeedsToBeAtLeastOneSaleToStartMarket' },
|
|
5138
|
-
{ type: 'error', inputs: [], name: 'NoCodeAtAddress' },
|
|
5139
4151
|
{ type: 'error', inputs: [], name: 'NotInitializing' },
|
|
5140
4152
|
{ type: 'error', inputs: [], name: 'OnlyZoraRewardRecipient' },
|
|
5141
4153
|
{
|
|
@@ -6592,7 +5604,6 @@ export const zoraCreator1155ImplABI = [
|
|
|
6592
5604
|
{ type: 'error', inputs: [], name: 'MarketMinimumNotReached' },
|
|
6593
5605
|
{ type: 'error', inputs: [], name: 'MinimumMarketEthNotMet' },
|
|
6594
5606
|
{ type: 'error', inputs: [], name: 'NeedsToBeAtLeastOneSaleToStartMarket' },
|
|
6595
|
-
{ type: 'error', inputs: [], name: 'NoCodeAtAddress' },
|
|
6596
5607
|
{ type: 'error', inputs: [], name: 'NotInitializing' },
|
|
6597
5608
|
{ type: 'error', inputs: [], name: 'OnlyZoraRewardRecipient' },
|
|
6598
5609
|
{
|
|
@@ -11391,17 +10402,7 @@ export const zoraSparksManagerImplConfig = {
|
|
|
11391
10402
|
* - [__View Contract on Zora Sepolia Zora Sepolia Explorer__](https://sepolia.explorer.zora.energy//address/0x777777722D078c97c6ad07d9f36801e653E356Ae)
|
|
11392
10403
|
*/
|
|
11393
10404
|
export const zoraTimedSaleStrategyABI = [
|
|
11394
|
-
{
|
|
11395
|
-
stateMutability: 'nonpayable',
|
|
11396
|
-
type: 'constructor',
|
|
11397
|
-
inputs: [
|
|
11398
|
-
{
|
|
11399
|
-
name: '_comments',
|
|
11400
|
-
internalType: 'contract IComments',
|
|
11401
|
-
type: 'address',
|
|
11402
|
-
},
|
|
11403
|
-
],
|
|
11404
|
-
},
|
|
10405
|
+
{ stateMutability: 'nonpayable', type: 'constructor', inputs: [] },
|
|
11405
10406
|
{
|
|
11406
10407
|
stateMutability: 'view',
|
|
11407
10408
|
type: 'function',
|
|
@@ -11450,15 +10451,6 @@ export const zoraTimedSaleStrategyABI = [
|
|
|
11450
10451
|
},
|
|
11451
10452
|
],
|
|
11452
10453
|
},
|
|
11453
|
-
{
|
|
11454
|
-
stateMutability: 'view',
|
|
11455
|
-
type: 'function',
|
|
11456
|
-
inputs: [],
|
|
11457
|
-
name: 'comments',
|
|
11458
|
-
outputs: [
|
|
11459
|
-
{ name: '', internalType: 'contract IComments', type: 'address' },
|
|
11460
|
-
],
|
|
11461
|
-
},
|
|
11462
10454
|
{
|
|
11463
10455
|
stateMutability: 'pure',
|
|
11464
10456
|
type: 'function',
|
|
@@ -11528,13 +10520,6 @@ export const zoraTimedSaleStrategyABI = [
|
|
|
11528
10520
|
{ name: 'createReferral', internalType: 'address', type: 'address' },
|
|
11529
10521
|
],
|
|
11530
10522
|
},
|
|
11531
|
-
{
|
|
11532
|
-
stateMutability: 'view',
|
|
11533
|
-
type: 'function',
|
|
11534
|
-
inputs: [],
|
|
11535
|
-
name: 'implementation',
|
|
11536
|
-
outputs: [{ name: '', internalType: 'address', type: 'address' }],
|
|
11537
|
-
},
|
|
11538
10523
|
{
|
|
11539
10524
|
stateMutability: 'nonpayable',
|
|
11540
10525
|
type: 'function',
|
|
@@ -11892,43 +10877,6 @@ export const zoraTimedSaleStrategyABI = [
|
|
|
11892
10877
|
],
|
|
11893
10878
|
name: 'MintComment',
|
|
11894
10879
|
},
|
|
11895
|
-
{
|
|
11896
|
-
type: 'event',
|
|
11897
|
-
anonymous: false,
|
|
11898
|
-
inputs: [
|
|
11899
|
-
{
|
|
11900
|
-
name: 'commentId',
|
|
11901
|
-
internalType: 'bytes32',
|
|
11902
|
-
type: 'bytes32',
|
|
11903
|
-
indexed: true,
|
|
11904
|
-
},
|
|
11905
|
-
{
|
|
11906
|
-
name: 'commentIdentifier',
|
|
11907
|
-
internalType: 'struct IComments.CommentIdentifier',
|
|
11908
|
-
type: 'tuple',
|
|
11909
|
-
components: [
|
|
11910
|
-
{ name: 'commenter', internalType: 'address', type: 'address' },
|
|
11911
|
-
{ name: 'contractAddress', internalType: 'address', type: 'address' },
|
|
11912
|
-
{ name: 'tokenId', internalType: 'uint256', type: 'uint256' },
|
|
11913
|
-
{ name: 'nonce', internalType: 'bytes32', type: 'bytes32' },
|
|
11914
|
-
],
|
|
11915
|
-
indexed: false,
|
|
11916
|
-
},
|
|
11917
|
-
{
|
|
11918
|
-
name: 'mintQuantity',
|
|
11919
|
-
internalType: 'uint256',
|
|
11920
|
-
type: 'uint256',
|
|
11921
|
-
indexed: false,
|
|
11922
|
-
},
|
|
11923
|
-
{
|
|
11924
|
-
name: 'comment',
|
|
11925
|
-
internalType: 'string',
|
|
11926
|
-
type: 'string',
|
|
11927
|
-
indexed: false,
|
|
11928
|
-
},
|
|
11929
|
-
],
|
|
11930
|
-
name: 'MintedAndCommented',
|
|
11931
|
-
},
|
|
11932
10880
|
{
|
|
11933
10881
|
type: 'event',
|
|
11934
10882
|
anonymous: false,
|
|
@@ -12205,7 +11153,6 @@ export const zoraTimedSaleStrategyABI = [
|
|
|
12205
11153
|
{ type: 'error', inputs: [], name: 'MarketMinimumNotReached' },
|
|
12206
11154
|
{ type: 'error', inputs: [], name: 'MinimumMarketEthNotMet' },
|
|
12207
11155
|
{ type: 'error', inputs: [], name: 'NeedsToBeAtLeastOneSaleToStartMarket' },
|
|
12208
|
-
{ type: 'error', inputs: [], name: 'NoCodeAtAddress' },
|
|
12209
11156
|
{ type: 'error', inputs: [], name: 'NotInitializing' },
|
|
12210
11157
|
{ type: 'error', inputs: [], name: 'OnlyZoraRewardRecipient' },
|
|
12211
11158
|
{
|