@inkd/sdk 0.9.0
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/README.md +288 -0
- package/dist/InkdClient.d.ts +89 -0
- package/dist/InkdClient.d.ts.map +1 -0
- package/dist/InkdClient.js +398 -0
- package/dist/InkdClient.js.map +1 -0
- package/dist/ProjectRegistry.d.ts +655 -0
- package/dist/ProjectRegistry.d.ts.map +1 -0
- package/dist/ProjectRegistry.js +708 -0
- package/dist/ProjectRegistry.js.map +1 -0
- package/dist/__tests__/InkdClient.advanced.test.d.ts +10 -0
- package/dist/__tests__/InkdClient.advanced.test.d.ts.map +1 -0
- package/dist/__tests__/InkdClient.advanced.test.js +588 -0
- package/dist/__tests__/InkdClient.advanced.test.js.map +1 -0
- package/dist/__tests__/InkdClient.connectArweave.test.d.ts +10 -0
- package/dist/__tests__/InkdClient.connectArweave.test.d.ts.map +1 -0
- package/dist/__tests__/InkdClient.connectArweave.test.js +132 -0
- package/dist/__tests__/InkdClient.connectArweave.test.js.map +1 -0
- package/dist/__tests__/InkdClient.test.d.ts +2 -0
- package/dist/__tests__/InkdClient.test.d.ts.map +1 -0
- package/dist/__tests__/InkdClient.test.js +259 -0
- package/dist/__tests__/InkdClient.test.js.map +1 -0
- package/dist/__tests__/ProjectRegistry.test.d.ts +8 -0
- package/dist/__tests__/ProjectRegistry.test.d.ts.map +1 -0
- package/dist/__tests__/ProjectRegistry.test.js +689 -0
- package/dist/__tests__/ProjectRegistry.test.js.map +1 -0
- package/dist/__tests__/arweave.test.d.ts +9 -0
- package/dist/__tests__/arweave.test.d.ts.map +1 -0
- package/dist/__tests__/arweave.test.js +353 -0
- package/dist/__tests__/arweave.test.js.map +1 -0
- package/dist/__tests__/encryption.test.d.ts +2 -0
- package/dist/__tests__/encryption.test.d.ts.map +1 -0
- package/dist/__tests__/encryption.test.js +154 -0
- package/dist/__tests__/encryption.test.js.map +1 -0
- package/dist/__tests__/errors.test.d.ts +2 -0
- package/dist/__tests__/errors.test.d.ts.map +1 -0
- package/dist/__tests__/errors.test.js +136 -0
- package/dist/__tests__/errors.test.js.map +1 -0
- package/dist/__tests__/events.test.d.ts +10 -0
- package/dist/__tests__/events.test.d.ts.map +1 -0
- package/dist/__tests__/events.test.js +380 -0
- package/dist/__tests__/events.test.js.map +1 -0
- package/dist/__tests__/index.InkdClient.test.d.ts +8 -0
- package/dist/__tests__/index.InkdClient.test.d.ts.map +1 -0
- package/dist/__tests__/index.InkdClient.test.js +422 -0
- package/dist/__tests__/index.InkdClient.test.js.map +1 -0
- package/dist/__tests__/multicall.test.d.ts +9 -0
- package/dist/__tests__/multicall.test.d.ts.map +1 -0
- package/dist/__tests__/multicall.test.js +362 -0
- package/dist/__tests__/multicall.test.js.map +1 -0
- package/dist/__tests__/types.test.d.ts +2 -0
- package/dist/__tests__/types.test.d.ts.map +1 -0
- package/dist/__tests__/types.test.js +35 -0
- package/dist/__tests__/types.test.js.map +1 -0
- package/dist/abi.d.ts +2632 -0
- package/dist/abi.d.ts.map +1 -0
- package/dist/abi.js +3423 -0
- package/dist/abi.js.map +1 -0
- package/dist/arweave.d.ts +45 -0
- package/dist/arweave.d.ts.map +1 -0
- package/dist/arweave.js +154 -0
- package/dist/arweave.js.map +1 -0
- package/dist/encryption.d.ts +52 -0
- package/dist/encryption.d.ts.map +1 -0
- package/dist/encryption.js +80 -0
- package/dist/encryption.js.map +1 -0
- package/dist/errors.d.ts +63 -0
- package/dist/errors.d.ts.map +1 -0
- package/dist/errors.js +124 -0
- package/dist/errors.js.map +1 -0
- package/dist/events.d.ts +136 -0
- package/dist/events.d.ts.map +1 -0
- package/dist/events.js +131 -0
- package/dist/events.js.map +1 -0
- package/dist/hooks/index.d.ts +5 -0
- package/dist/hooks/index.d.ts.map +1 -0
- package/dist/hooks/index.js +12 -0
- package/dist/hooks/index.js.map +1 -0
- package/dist/hooks/useInkd.d.ts +24 -0
- package/dist/hooks/useInkd.d.ts.map +1 -0
- package/dist/hooks/useInkd.js +109 -0
- package/dist/hooks/useInkd.js.map +1 -0
- package/dist/hooks/useInkdHolder.d.ts +16 -0
- package/dist/hooks/useInkdHolder.d.ts.map +1 -0
- package/dist/hooks/useInkdHolder.js +45 -0
- package/dist/hooks/useInkdHolder.js.map +1 -0
- package/dist/hooks/useInscriptions.d.ts +17 -0
- package/dist/hooks/useInscriptions.d.ts.map +1 -0
- package/dist/hooks/useInscriptions.js +46 -0
- package/dist/hooks/useInscriptions.js.map +1 -0
- package/dist/hooks/useToken.d.ts +16 -0
- package/dist/hooks/useToken.d.ts.map +1 -0
- package/dist/hooks/useToken.js +45 -0
- package/dist/hooks/useToken.js.map +1 -0
- package/dist/index.d.ts +54 -0
- package/dist/index.d.ts.map +1 -0
- package/dist/index.js +290 -0
- package/dist/index.js.map +1 -0
- package/dist/multicall.d.ts +134 -0
- package/dist/multicall.d.ts.map +1 -0
- package/dist/multicall.js +182 -0
- package/dist/multicall.js.map +1 -0
- package/dist/types.d.ts +187 -0
- package/dist/types.d.ts.map +1 -0
- package/dist/types.js +32 -0
- package/dist/types.js.map +1 -0
- package/package.json +78 -0
package/dist/abi.d.ts
ADDED
|
@@ -0,0 +1,2632 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @file abi.ts
|
|
3
|
+
* @description Contract ABIs for InkdToken, InkdVault, and InkdRegistry.
|
|
4
|
+
* Auto-generated from compiled Foundry artifacts. Do not edit manually.
|
|
5
|
+
* Regenerate with: `node scripts/extract-abi.js`
|
|
6
|
+
*/
|
|
7
|
+
export declare const INKD_TOKEN_ABI: readonly [{
|
|
8
|
+
readonly type: "function";
|
|
9
|
+
readonly name: "MAX_BATCH_SIZE";
|
|
10
|
+
readonly inputs: readonly [];
|
|
11
|
+
readonly outputs: readonly [{
|
|
12
|
+
readonly name: "";
|
|
13
|
+
readonly type: "uint256";
|
|
14
|
+
readonly internalType: "uint256";
|
|
15
|
+
}];
|
|
16
|
+
readonly stateMutability: "view";
|
|
17
|
+
}, {
|
|
18
|
+
readonly type: "function";
|
|
19
|
+
readonly name: "MAX_SUPPLY";
|
|
20
|
+
readonly inputs: readonly [];
|
|
21
|
+
readonly outputs: readonly [{
|
|
22
|
+
readonly name: "";
|
|
23
|
+
readonly type: "uint256";
|
|
24
|
+
readonly internalType: "uint256";
|
|
25
|
+
}];
|
|
26
|
+
readonly stateMutability: "view";
|
|
27
|
+
}, {
|
|
28
|
+
readonly type: "function";
|
|
29
|
+
readonly name: "UPGRADE_INTERFACE_VERSION";
|
|
30
|
+
readonly inputs: readonly [];
|
|
31
|
+
readonly outputs: readonly [{
|
|
32
|
+
readonly name: "";
|
|
33
|
+
readonly type: "string";
|
|
34
|
+
readonly internalType: "string";
|
|
35
|
+
}];
|
|
36
|
+
readonly stateMutability: "view";
|
|
37
|
+
}, {
|
|
38
|
+
readonly type: "function";
|
|
39
|
+
readonly name: "approve";
|
|
40
|
+
readonly inputs: readonly [{
|
|
41
|
+
readonly name: "to";
|
|
42
|
+
readonly type: "address";
|
|
43
|
+
readonly internalType: "address";
|
|
44
|
+
}, {
|
|
45
|
+
readonly name: "tokenId";
|
|
46
|
+
readonly type: "uint256";
|
|
47
|
+
readonly internalType: "uint256";
|
|
48
|
+
}];
|
|
49
|
+
readonly outputs: readonly [];
|
|
50
|
+
readonly stateMutability: "nonpayable";
|
|
51
|
+
}, {
|
|
52
|
+
readonly type: "function";
|
|
53
|
+
readonly name: "balanceOf";
|
|
54
|
+
readonly inputs: readonly [{
|
|
55
|
+
readonly name: "owner";
|
|
56
|
+
readonly type: "address";
|
|
57
|
+
readonly internalType: "address";
|
|
58
|
+
}];
|
|
59
|
+
readonly outputs: readonly [{
|
|
60
|
+
readonly name: "";
|
|
61
|
+
readonly type: "uint256";
|
|
62
|
+
readonly internalType: "uint256";
|
|
63
|
+
}];
|
|
64
|
+
readonly stateMutability: "view";
|
|
65
|
+
}, {
|
|
66
|
+
readonly type: "function";
|
|
67
|
+
readonly name: "batchMint";
|
|
68
|
+
readonly inputs: readonly [{
|
|
69
|
+
readonly name: "quantity";
|
|
70
|
+
readonly type: "uint256";
|
|
71
|
+
readonly internalType: "uint256";
|
|
72
|
+
}];
|
|
73
|
+
readonly outputs: readonly [{
|
|
74
|
+
readonly name: "tokenIds";
|
|
75
|
+
readonly type: "uint256[]";
|
|
76
|
+
readonly internalType: "uint256[]";
|
|
77
|
+
}];
|
|
78
|
+
readonly stateMutability: "payable";
|
|
79
|
+
}, {
|
|
80
|
+
readonly type: "function";
|
|
81
|
+
readonly name: "getApproved";
|
|
82
|
+
readonly inputs: readonly [{
|
|
83
|
+
readonly name: "tokenId";
|
|
84
|
+
readonly type: "uint256";
|
|
85
|
+
readonly internalType: "uint256";
|
|
86
|
+
}];
|
|
87
|
+
readonly outputs: readonly [{
|
|
88
|
+
readonly name: "";
|
|
89
|
+
readonly type: "address";
|
|
90
|
+
readonly internalType: "address";
|
|
91
|
+
}];
|
|
92
|
+
readonly stateMutability: "view";
|
|
93
|
+
}, {
|
|
94
|
+
readonly type: "function";
|
|
95
|
+
readonly name: "getTokensByOwner";
|
|
96
|
+
readonly inputs: readonly [{
|
|
97
|
+
readonly name: "wallet";
|
|
98
|
+
readonly type: "address";
|
|
99
|
+
readonly internalType: "address";
|
|
100
|
+
}];
|
|
101
|
+
readonly outputs: readonly [{
|
|
102
|
+
readonly name: "tokenIds";
|
|
103
|
+
readonly type: "uint256[]";
|
|
104
|
+
readonly internalType: "uint256[]";
|
|
105
|
+
}];
|
|
106
|
+
readonly stateMutability: "view";
|
|
107
|
+
}, {
|
|
108
|
+
readonly type: "function";
|
|
109
|
+
readonly name: "initialize";
|
|
110
|
+
readonly inputs: readonly [{
|
|
111
|
+
readonly name: "_owner";
|
|
112
|
+
readonly type: "address";
|
|
113
|
+
readonly internalType: "address";
|
|
114
|
+
}, {
|
|
115
|
+
readonly name: "_mintPrice";
|
|
116
|
+
readonly type: "uint256";
|
|
117
|
+
readonly internalType: "uint256";
|
|
118
|
+
}, {
|
|
119
|
+
readonly name: "_royaltyBps";
|
|
120
|
+
readonly type: "uint96";
|
|
121
|
+
readonly internalType: "uint96";
|
|
122
|
+
}];
|
|
123
|
+
readonly outputs: readonly [];
|
|
124
|
+
readonly stateMutability: "nonpayable";
|
|
125
|
+
}, {
|
|
126
|
+
readonly type: "function";
|
|
127
|
+
readonly name: "inscriptionCount";
|
|
128
|
+
readonly inputs: readonly [{
|
|
129
|
+
readonly name: "";
|
|
130
|
+
readonly type: "uint256";
|
|
131
|
+
readonly internalType: "uint256";
|
|
132
|
+
}];
|
|
133
|
+
readonly outputs: readonly [{
|
|
134
|
+
readonly name: "";
|
|
135
|
+
readonly type: "uint256";
|
|
136
|
+
readonly internalType: "uint256";
|
|
137
|
+
}];
|
|
138
|
+
readonly stateMutability: "view";
|
|
139
|
+
}, {
|
|
140
|
+
readonly type: "function";
|
|
141
|
+
readonly name: "isApprovedForAll";
|
|
142
|
+
readonly inputs: readonly [{
|
|
143
|
+
readonly name: "owner";
|
|
144
|
+
readonly type: "address";
|
|
145
|
+
readonly internalType: "address";
|
|
146
|
+
}, {
|
|
147
|
+
readonly name: "operator";
|
|
148
|
+
readonly type: "address";
|
|
149
|
+
readonly internalType: "address";
|
|
150
|
+
}];
|
|
151
|
+
readonly outputs: readonly [{
|
|
152
|
+
readonly name: "";
|
|
153
|
+
readonly type: "bool";
|
|
154
|
+
readonly internalType: "bool";
|
|
155
|
+
}];
|
|
156
|
+
readonly stateMutability: "view";
|
|
157
|
+
}, {
|
|
158
|
+
readonly type: "function";
|
|
159
|
+
readonly name: "isInkdHolder";
|
|
160
|
+
readonly inputs: readonly [{
|
|
161
|
+
readonly name: "wallet";
|
|
162
|
+
readonly type: "address";
|
|
163
|
+
readonly internalType: "address";
|
|
164
|
+
}];
|
|
165
|
+
readonly outputs: readonly [{
|
|
166
|
+
readonly name: "";
|
|
167
|
+
readonly type: "bool";
|
|
168
|
+
readonly internalType: "bool";
|
|
169
|
+
}];
|
|
170
|
+
readonly stateMutability: "view";
|
|
171
|
+
}, {
|
|
172
|
+
readonly type: "function";
|
|
173
|
+
readonly name: "mint";
|
|
174
|
+
readonly inputs: readonly [];
|
|
175
|
+
readonly outputs: readonly [{
|
|
176
|
+
readonly name: "tokenId";
|
|
177
|
+
readonly type: "uint256";
|
|
178
|
+
readonly internalType: "uint256";
|
|
179
|
+
}];
|
|
180
|
+
readonly stateMutability: "payable";
|
|
181
|
+
}, {
|
|
182
|
+
readonly type: "function";
|
|
183
|
+
readonly name: "mintPrice";
|
|
184
|
+
readonly inputs: readonly [];
|
|
185
|
+
readonly outputs: readonly [{
|
|
186
|
+
readonly name: "";
|
|
187
|
+
readonly type: "uint256";
|
|
188
|
+
readonly internalType: "uint256";
|
|
189
|
+
}];
|
|
190
|
+
readonly stateMutability: "view";
|
|
191
|
+
}, {
|
|
192
|
+
readonly type: "function";
|
|
193
|
+
readonly name: "mintRevenue";
|
|
194
|
+
readonly inputs: readonly [];
|
|
195
|
+
readonly outputs: readonly [{
|
|
196
|
+
readonly name: "";
|
|
197
|
+
readonly type: "uint256";
|
|
198
|
+
readonly internalType: "uint256";
|
|
199
|
+
}];
|
|
200
|
+
readonly stateMutability: "view";
|
|
201
|
+
}, {
|
|
202
|
+
readonly type: "function";
|
|
203
|
+
readonly name: "mintedAt";
|
|
204
|
+
readonly inputs: readonly [{
|
|
205
|
+
readonly name: "";
|
|
206
|
+
readonly type: "uint256";
|
|
207
|
+
readonly internalType: "uint256";
|
|
208
|
+
}];
|
|
209
|
+
readonly outputs: readonly [{
|
|
210
|
+
readonly name: "";
|
|
211
|
+
readonly type: "uint256";
|
|
212
|
+
readonly internalType: "uint256";
|
|
213
|
+
}];
|
|
214
|
+
readonly stateMutability: "view";
|
|
215
|
+
}, {
|
|
216
|
+
readonly type: "function";
|
|
217
|
+
readonly name: "name";
|
|
218
|
+
readonly inputs: readonly [];
|
|
219
|
+
readonly outputs: readonly [{
|
|
220
|
+
readonly name: "";
|
|
221
|
+
readonly type: "string";
|
|
222
|
+
readonly internalType: "string";
|
|
223
|
+
}];
|
|
224
|
+
readonly stateMutability: "view";
|
|
225
|
+
}, {
|
|
226
|
+
readonly type: "function";
|
|
227
|
+
readonly name: "nextTokenId";
|
|
228
|
+
readonly inputs: readonly [];
|
|
229
|
+
readonly outputs: readonly [{
|
|
230
|
+
readonly name: "";
|
|
231
|
+
readonly type: "uint256";
|
|
232
|
+
readonly internalType: "uint256";
|
|
233
|
+
}];
|
|
234
|
+
readonly stateMutability: "view";
|
|
235
|
+
}, {
|
|
236
|
+
readonly type: "function";
|
|
237
|
+
readonly name: "owner";
|
|
238
|
+
readonly inputs: readonly [];
|
|
239
|
+
readonly outputs: readonly [{
|
|
240
|
+
readonly name: "";
|
|
241
|
+
readonly type: "address";
|
|
242
|
+
readonly internalType: "address";
|
|
243
|
+
}];
|
|
244
|
+
readonly stateMutability: "view";
|
|
245
|
+
}, {
|
|
246
|
+
readonly type: "function";
|
|
247
|
+
readonly name: "ownerOf";
|
|
248
|
+
readonly inputs: readonly [{
|
|
249
|
+
readonly name: "tokenId";
|
|
250
|
+
readonly type: "uint256";
|
|
251
|
+
readonly internalType: "uint256";
|
|
252
|
+
}];
|
|
253
|
+
readonly outputs: readonly [{
|
|
254
|
+
readonly name: "";
|
|
255
|
+
readonly type: "address";
|
|
256
|
+
readonly internalType: "address";
|
|
257
|
+
}];
|
|
258
|
+
readonly stateMutability: "view";
|
|
259
|
+
}, {
|
|
260
|
+
readonly type: "function";
|
|
261
|
+
readonly name: "proxiableUUID";
|
|
262
|
+
readonly inputs: readonly [];
|
|
263
|
+
readonly outputs: readonly [{
|
|
264
|
+
readonly name: "";
|
|
265
|
+
readonly type: "bytes32";
|
|
266
|
+
readonly internalType: "bytes32";
|
|
267
|
+
}];
|
|
268
|
+
readonly stateMutability: "view";
|
|
269
|
+
}, {
|
|
270
|
+
readonly type: "function";
|
|
271
|
+
readonly name: "renounceOwnership";
|
|
272
|
+
readonly inputs: readonly [];
|
|
273
|
+
readonly outputs: readonly [];
|
|
274
|
+
readonly stateMutability: "nonpayable";
|
|
275
|
+
}, {
|
|
276
|
+
readonly type: "function";
|
|
277
|
+
readonly name: "royaltyInfo";
|
|
278
|
+
readonly inputs: readonly [{
|
|
279
|
+
readonly name: "tokenId";
|
|
280
|
+
readonly type: "uint256";
|
|
281
|
+
readonly internalType: "uint256";
|
|
282
|
+
}, {
|
|
283
|
+
readonly name: "salePrice";
|
|
284
|
+
readonly type: "uint256";
|
|
285
|
+
readonly internalType: "uint256";
|
|
286
|
+
}];
|
|
287
|
+
readonly outputs: readonly [{
|
|
288
|
+
readonly name: "receiver";
|
|
289
|
+
readonly type: "address";
|
|
290
|
+
readonly internalType: "address";
|
|
291
|
+
}, {
|
|
292
|
+
readonly name: "amount";
|
|
293
|
+
readonly type: "uint256";
|
|
294
|
+
readonly internalType: "uint256";
|
|
295
|
+
}];
|
|
296
|
+
readonly stateMutability: "view";
|
|
297
|
+
}, {
|
|
298
|
+
readonly type: "function";
|
|
299
|
+
readonly name: "safeTransferFrom";
|
|
300
|
+
readonly inputs: readonly [{
|
|
301
|
+
readonly name: "from";
|
|
302
|
+
readonly type: "address";
|
|
303
|
+
readonly internalType: "address";
|
|
304
|
+
}, {
|
|
305
|
+
readonly name: "to";
|
|
306
|
+
readonly type: "address";
|
|
307
|
+
readonly internalType: "address";
|
|
308
|
+
}, {
|
|
309
|
+
readonly name: "tokenId";
|
|
310
|
+
readonly type: "uint256";
|
|
311
|
+
readonly internalType: "uint256";
|
|
312
|
+
}];
|
|
313
|
+
readonly outputs: readonly [];
|
|
314
|
+
readonly stateMutability: "nonpayable";
|
|
315
|
+
}, {
|
|
316
|
+
readonly type: "function";
|
|
317
|
+
readonly name: "safeTransferFrom";
|
|
318
|
+
readonly inputs: readonly [{
|
|
319
|
+
readonly name: "from";
|
|
320
|
+
readonly type: "address";
|
|
321
|
+
readonly internalType: "address";
|
|
322
|
+
}, {
|
|
323
|
+
readonly name: "to";
|
|
324
|
+
readonly type: "address";
|
|
325
|
+
readonly internalType: "address";
|
|
326
|
+
}, {
|
|
327
|
+
readonly name: "tokenId";
|
|
328
|
+
readonly type: "uint256";
|
|
329
|
+
readonly internalType: "uint256";
|
|
330
|
+
}, {
|
|
331
|
+
readonly name: "data";
|
|
332
|
+
readonly type: "bytes";
|
|
333
|
+
readonly internalType: "bytes";
|
|
334
|
+
}];
|
|
335
|
+
readonly outputs: readonly [];
|
|
336
|
+
readonly stateMutability: "nonpayable";
|
|
337
|
+
}, {
|
|
338
|
+
readonly type: "function";
|
|
339
|
+
readonly name: "setApprovalForAll";
|
|
340
|
+
readonly inputs: readonly [{
|
|
341
|
+
readonly name: "operator";
|
|
342
|
+
readonly type: "address";
|
|
343
|
+
readonly internalType: "address";
|
|
344
|
+
}, {
|
|
345
|
+
readonly name: "approved";
|
|
346
|
+
readonly type: "bool";
|
|
347
|
+
readonly internalType: "bool";
|
|
348
|
+
}];
|
|
349
|
+
readonly outputs: readonly [];
|
|
350
|
+
readonly stateMutability: "nonpayable";
|
|
351
|
+
}, {
|
|
352
|
+
readonly type: "function";
|
|
353
|
+
readonly name: "setInscriptionCount";
|
|
354
|
+
readonly inputs: readonly [{
|
|
355
|
+
readonly name: "tokenId";
|
|
356
|
+
readonly type: "uint256";
|
|
357
|
+
readonly internalType: "uint256";
|
|
358
|
+
}, {
|
|
359
|
+
readonly name: "newCount";
|
|
360
|
+
readonly type: "uint256";
|
|
361
|
+
readonly internalType: "uint256";
|
|
362
|
+
}];
|
|
363
|
+
readonly outputs: readonly [];
|
|
364
|
+
readonly stateMutability: "nonpayable";
|
|
365
|
+
}, {
|
|
366
|
+
readonly type: "function";
|
|
367
|
+
readonly name: "setMintPrice";
|
|
368
|
+
readonly inputs: readonly [{
|
|
369
|
+
readonly name: "newPrice";
|
|
370
|
+
readonly type: "uint256";
|
|
371
|
+
readonly internalType: "uint256";
|
|
372
|
+
}];
|
|
373
|
+
readonly outputs: readonly [];
|
|
374
|
+
readonly stateMutability: "nonpayable";
|
|
375
|
+
}, {
|
|
376
|
+
readonly type: "function";
|
|
377
|
+
readonly name: "setRoyalty";
|
|
378
|
+
readonly inputs: readonly [{
|
|
379
|
+
readonly name: "receiver";
|
|
380
|
+
readonly type: "address";
|
|
381
|
+
readonly internalType: "address";
|
|
382
|
+
}, {
|
|
383
|
+
readonly name: "feeBps";
|
|
384
|
+
readonly type: "uint96";
|
|
385
|
+
readonly internalType: "uint96";
|
|
386
|
+
}];
|
|
387
|
+
readonly outputs: readonly [];
|
|
388
|
+
readonly stateMutability: "nonpayable";
|
|
389
|
+
}, {
|
|
390
|
+
readonly type: "function";
|
|
391
|
+
readonly name: "setVault";
|
|
392
|
+
readonly inputs: readonly [{
|
|
393
|
+
readonly name: "_vault";
|
|
394
|
+
readonly type: "address";
|
|
395
|
+
readonly internalType: "address";
|
|
396
|
+
}];
|
|
397
|
+
readonly outputs: readonly [];
|
|
398
|
+
readonly stateMutability: "nonpayable";
|
|
399
|
+
}, {
|
|
400
|
+
readonly type: "function";
|
|
401
|
+
readonly name: "supportsInterface";
|
|
402
|
+
readonly inputs: readonly [{
|
|
403
|
+
readonly name: "interfaceId";
|
|
404
|
+
readonly type: "bytes4";
|
|
405
|
+
readonly internalType: "bytes4";
|
|
406
|
+
}];
|
|
407
|
+
readonly outputs: readonly [{
|
|
408
|
+
readonly name: "";
|
|
409
|
+
readonly type: "bool";
|
|
410
|
+
readonly internalType: "bool";
|
|
411
|
+
}];
|
|
412
|
+
readonly stateMutability: "view";
|
|
413
|
+
}, {
|
|
414
|
+
readonly type: "function";
|
|
415
|
+
readonly name: "symbol";
|
|
416
|
+
readonly inputs: readonly [];
|
|
417
|
+
readonly outputs: readonly [{
|
|
418
|
+
readonly name: "";
|
|
419
|
+
readonly type: "string";
|
|
420
|
+
readonly internalType: "string";
|
|
421
|
+
}];
|
|
422
|
+
readonly stateMutability: "view";
|
|
423
|
+
}, {
|
|
424
|
+
readonly type: "function";
|
|
425
|
+
readonly name: "tokenByIndex";
|
|
426
|
+
readonly inputs: readonly [{
|
|
427
|
+
readonly name: "index";
|
|
428
|
+
readonly type: "uint256";
|
|
429
|
+
readonly internalType: "uint256";
|
|
430
|
+
}];
|
|
431
|
+
readonly outputs: readonly [{
|
|
432
|
+
readonly name: "";
|
|
433
|
+
readonly type: "uint256";
|
|
434
|
+
readonly internalType: "uint256";
|
|
435
|
+
}];
|
|
436
|
+
readonly stateMutability: "view";
|
|
437
|
+
}, {
|
|
438
|
+
readonly type: "function";
|
|
439
|
+
readonly name: "tokenOfOwnerByIndex";
|
|
440
|
+
readonly inputs: readonly [{
|
|
441
|
+
readonly name: "owner";
|
|
442
|
+
readonly type: "address";
|
|
443
|
+
readonly internalType: "address";
|
|
444
|
+
}, {
|
|
445
|
+
readonly name: "index";
|
|
446
|
+
readonly type: "uint256";
|
|
447
|
+
readonly internalType: "uint256";
|
|
448
|
+
}];
|
|
449
|
+
readonly outputs: readonly [{
|
|
450
|
+
readonly name: "";
|
|
451
|
+
readonly type: "uint256";
|
|
452
|
+
readonly internalType: "uint256";
|
|
453
|
+
}];
|
|
454
|
+
readonly stateMutability: "view";
|
|
455
|
+
}, {
|
|
456
|
+
readonly type: "function";
|
|
457
|
+
readonly name: "tokenURI";
|
|
458
|
+
readonly inputs: readonly [{
|
|
459
|
+
readonly name: "tokenId";
|
|
460
|
+
readonly type: "uint256";
|
|
461
|
+
readonly internalType: "uint256";
|
|
462
|
+
}];
|
|
463
|
+
readonly outputs: readonly [{
|
|
464
|
+
readonly name: "";
|
|
465
|
+
readonly type: "string";
|
|
466
|
+
readonly internalType: "string";
|
|
467
|
+
}];
|
|
468
|
+
readonly stateMutability: "view";
|
|
469
|
+
}, {
|
|
470
|
+
readonly type: "function";
|
|
471
|
+
readonly name: "totalSupply";
|
|
472
|
+
readonly inputs: readonly [];
|
|
473
|
+
readonly outputs: readonly [{
|
|
474
|
+
readonly name: "";
|
|
475
|
+
readonly type: "uint256";
|
|
476
|
+
readonly internalType: "uint256";
|
|
477
|
+
}];
|
|
478
|
+
readonly stateMutability: "view";
|
|
479
|
+
}, {
|
|
480
|
+
readonly type: "function";
|
|
481
|
+
readonly name: "transferFrom";
|
|
482
|
+
readonly inputs: readonly [{
|
|
483
|
+
readonly name: "from";
|
|
484
|
+
readonly type: "address";
|
|
485
|
+
readonly internalType: "address";
|
|
486
|
+
}, {
|
|
487
|
+
readonly name: "to";
|
|
488
|
+
readonly type: "address";
|
|
489
|
+
readonly internalType: "address";
|
|
490
|
+
}, {
|
|
491
|
+
readonly name: "tokenId";
|
|
492
|
+
readonly type: "uint256";
|
|
493
|
+
readonly internalType: "uint256";
|
|
494
|
+
}];
|
|
495
|
+
readonly outputs: readonly [];
|
|
496
|
+
readonly stateMutability: "nonpayable";
|
|
497
|
+
}, {
|
|
498
|
+
readonly type: "function";
|
|
499
|
+
readonly name: "transferOwnership";
|
|
500
|
+
readonly inputs: readonly [{
|
|
501
|
+
readonly name: "newOwner";
|
|
502
|
+
readonly type: "address";
|
|
503
|
+
readonly internalType: "address";
|
|
504
|
+
}];
|
|
505
|
+
readonly outputs: readonly [];
|
|
506
|
+
readonly stateMutability: "nonpayable";
|
|
507
|
+
}, {
|
|
508
|
+
readonly type: "function";
|
|
509
|
+
readonly name: "upgradeToAndCall";
|
|
510
|
+
readonly inputs: readonly [{
|
|
511
|
+
readonly name: "newImplementation";
|
|
512
|
+
readonly type: "address";
|
|
513
|
+
readonly internalType: "address";
|
|
514
|
+
}, {
|
|
515
|
+
readonly name: "data";
|
|
516
|
+
readonly type: "bytes";
|
|
517
|
+
readonly internalType: "bytes";
|
|
518
|
+
}];
|
|
519
|
+
readonly outputs: readonly [];
|
|
520
|
+
readonly stateMutability: "payable";
|
|
521
|
+
}, {
|
|
522
|
+
readonly type: "function";
|
|
523
|
+
readonly name: "vault";
|
|
524
|
+
readonly inputs: readonly [];
|
|
525
|
+
readonly outputs: readonly [{
|
|
526
|
+
readonly name: "";
|
|
527
|
+
readonly type: "address";
|
|
528
|
+
readonly internalType: "address";
|
|
529
|
+
}];
|
|
530
|
+
readonly stateMutability: "view";
|
|
531
|
+
}, {
|
|
532
|
+
readonly type: "function";
|
|
533
|
+
readonly name: "withdrawRevenue";
|
|
534
|
+
readonly inputs: readonly [];
|
|
535
|
+
readonly outputs: readonly [];
|
|
536
|
+
readonly stateMutability: "nonpayable";
|
|
537
|
+
}, {
|
|
538
|
+
readonly type: "event";
|
|
539
|
+
readonly name: "Approval";
|
|
540
|
+
readonly inputs: readonly [{
|
|
541
|
+
readonly name: "owner";
|
|
542
|
+
readonly type: "address";
|
|
543
|
+
readonly indexed: true;
|
|
544
|
+
readonly internalType: "address";
|
|
545
|
+
}, {
|
|
546
|
+
readonly name: "approved";
|
|
547
|
+
readonly type: "address";
|
|
548
|
+
readonly indexed: true;
|
|
549
|
+
readonly internalType: "address";
|
|
550
|
+
}, {
|
|
551
|
+
readonly name: "tokenId";
|
|
552
|
+
readonly type: "uint256";
|
|
553
|
+
readonly indexed: true;
|
|
554
|
+
readonly internalType: "uint256";
|
|
555
|
+
}];
|
|
556
|
+
readonly anonymous: false;
|
|
557
|
+
}, {
|
|
558
|
+
readonly type: "event";
|
|
559
|
+
readonly name: "ApprovalForAll";
|
|
560
|
+
readonly inputs: readonly [{
|
|
561
|
+
readonly name: "owner";
|
|
562
|
+
readonly type: "address";
|
|
563
|
+
readonly indexed: true;
|
|
564
|
+
readonly internalType: "address";
|
|
565
|
+
}, {
|
|
566
|
+
readonly name: "operator";
|
|
567
|
+
readonly type: "address";
|
|
568
|
+
readonly indexed: true;
|
|
569
|
+
readonly internalType: "address";
|
|
570
|
+
}, {
|
|
571
|
+
readonly name: "approved";
|
|
572
|
+
readonly type: "bool";
|
|
573
|
+
readonly indexed: false;
|
|
574
|
+
readonly internalType: "bool";
|
|
575
|
+
}];
|
|
576
|
+
readonly anonymous: false;
|
|
577
|
+
}, {
|
|
578
|
+
readonly type: "event";
|
|
579
|
+
readonly name: "BatchMinted";
|
|
580
|
+
readonly inputs: readonly [{
|
|
581
|
+
readonly name: "tokenIds";
|
|
582
|
+
readonly type: "uint256[]";
|
|
583
|
+
readonly indexed: false;
|
|
584
|
+
readonly internalType: "uint256[]";
|
|
585
|
+
}, {
|
|
586
|
+
readonly name: "owner";
|
|
587
|
+
readonly type: "address";
|
|
588
|
+
readonly indexed: true;
|
|
589
|
+
readonly internalType: "address";
|
|
590
|
+
}, {
|
|
591
|
+
readonly name: "totalPrice";
|
|
592
|
+
readonly type: "uint256";
|
|
593
|
+
readonly indexed: false;
|
|
594
|
+
readonly internalType: "uint256";
|
|
595
|
+
}];
|
|
596
|
+
readonly anonymous: false;
|
|
597
|
+
}, {
|
|
598
|
+
readonly type: "event";
|
|
599
|
+
readonly name: "Initialized";
|
|
600
|
+
readonly inputs: readonly [{
|
|
601
|
+
readonly name: "version";
|
|
602
|
+
readonly type: "uint64";
|
|
603
|
+
readonly indexed: false;
|
|
604
|
+
readonly internalType: "uint64";
|
|
605
|
+
}];
|
|
606
|
+
readonly anonymous: false;
|
|
607
|
+
}, {
|
|
608
|
+
readonly type: "event";
|
|
609
|
+
readonly name: "InscriptionCountUpdated";
|
|
610
|
+
readonly inputs: readonly [{
|
|
611
|
+
readonly name: "tokenId";
|
|
612
|
+
readonly type: "uint256";
|
|
613
|
+
readonly indexed: true;
|
|
614
|
+
readonly internalType: "uint256";
|
|
615
|
+
}, {
|
|
616
|
+
readonly name: "newCount";
|
|
617
|
+
readonly type: "uint256";
|
|
618
|
+
readonly indexed: false;
|
|
619
|
+
readonly internalType: "uint256";
|
|
620
|
+
}];
|
|
621
|
+
readonly anonymous: false;
|
|
622
|
+
}, {
|
|
623
|
+
readonly type: "event";
|
|
624
|
+
readonly name: "MintPriceUpdated";
|
|
625
|
+
readonly inputs: readonly [{
|
|
626
|
+
readonly name: "oldPrice";
|
|
627
|
+
readonly type: "uint256";
|
|
628
|
+
readonly indexed: false;
|
|
629
|
+
readonly internalType: "uint256";
|
|
630
|
+
}, {
|
|
631
|
+
readonly name: "newPrice";
|
|
632
|
+
readonly type: "uint256";
|
|
633
|
+
readonly indexed: false;
|
|
634
|
+
readonly internalType: "uint256";
|
|
635
|
+
}];
|
|
636
|
+
readonly anonymous: false;
|
|
637
|
+
}, {
|
|
638
|
+
readonly type: "event";
|
|
639
|
+
readonly name: "OwnershipTransferred";
|
|
640
|
+
readonly inputs: readonly [{
|
|
641
|
+
readonly name: "previousOwner";
|
|
642
|
+
readonly type: "address";
|
|
643
|
+
readonly indexed: true;
|
|
644
|
+
readonly internalType: "address";
|
|
645
|
+
}, {
|
|
646
|
+
readonly name: "newOwner";
|
|
647
|
+
readonly type: "address";
|
|
648
|
+
readonly indexed: true;
|
|
649
|
+
readonly internalType: "address";
|
|
650
|
+
}];
|
|
651
|
+
readonly anonymous: false;
|
|
652
|
+
}, {
|
|
653
|
+
readonly type: "event";
|
|
654
|
+
readonly name: "RevenueWithdrawn";
|
|
655
|
+
readonly inputs: readonly [{
|
|
656
|
+
readonly name: "to";
|
|
657
|
+
readonly type: "address";
|
|
658
|
+
readonly indexed: true;
|
|
659
|
+
readonly internalType: "address";
|
|
660
|
+
}, {
|
|
661
|
+
readonly name: "amount";
|
|
662
|
+
readonly type: "uint256";
|
|
663
|
+
readonly indexed: false;
|
|
664
|
+
readonly internalType: "uint256";
|
|
665
|
+
}];
|
|
666
|
+
readonly anonymous: false;
|
|
667
|
+
}, {
|
|
668
|
+
readonly type: "event";
|
|
669
|
+
readonly name: "TokenMinted";
|
|
670
|
+
readonly inputs: readonly [{
|
|
671
|
+
readonly name: "tokenId";
|
|
672
|
+
readonly type: "uint256";
|
|
673
|
+
readonly indexed: true;
|
|
674
|
+
readonly internalType: "uint256";
|
|
675
|
+
}, {
|
|
676
|
+
readonly name: "owner";
|
|
677
|
+
readonly type: "address";
|
|
678
|
+
readonly indexed: true;
|
|
679
|
+
readonly internalType: "address";
|
|
680
|
+
}, {
|
|
681
|
+
readonly name: "price";
|
|
682
|
+
readonly type: "uint256";
|
|
683
|
+
readonly indexed: false;
|
|
684
|
+
readonly internalType: "uint256";
|
|
685
|
+
}];
|
|
686
|
+
readonly anonymous: false;
|
|
687
|
+
}, {
|
|
688
|
+
readonly type: "event";
|
|
689
|
+
readonly name: "Transfer";
|
|
690
|
+
readonly inputs: readonly [{
|
|
691
|
+
readonly name: "from";
|
|
692
|
+
readonly type: "address";
|
|
693
|
+
readonly indexed: true;
|
|
694
|
+
readonly internalType: "address";
|
|
695
|
+
}, {
|
|
696
|
+
readonly name: "to";
|
|
697
|
+
readonly type: "address";
|
|
698
|
+
readonly indexed: true;
|
|
699
|
+
readonly internalType: "address";
|
|
700
|
+
}, {
|
|
701
|
+
readonly name: "tokenId";
|
|
702
|
+
readonly type: "uint256";
|
|
703
|
+
readonly indexed: true;
|
|
704
|
+
readonly internalType: "uint256";
|
|
705
|
+
}];
|
|
706
|
+
readonly anonymous: false;
|
|
707
|
+
}, {
|
|
708
|
+
readonly type: "event";
|
|
709
|
+
readonly name: "Upgraded";
|
|
710
|
+
readonly inputs: readonly [{
|
|
711
|
+
readonly name: "implementation";
|
|
712
|
+
readonly type: "address";
|
|
713
|
+
readonly indexed: true;
|
|
714
|
+
readonly internalType: "address";
|
|
715
|
+
}];
|
|
716
|
+
readonly anonymous: false;
|
|
717
|
+
}, {
|
|
718
|
+
readonly type: "event";
|
|
719
|
+
readonly name: "VaultUpdated";
|
|
720
|
+
readonly inputs: readonly [{
|
|
721
|
+
readonly name: "oldVault";
|
|
722
|
+
readonly type: "address";
|
|
723
|
+
readonly indexed: true;
|
|
724
|
+
readonly internalType: "address";
|
|
725
|
+
}, {
|
|
726
|
+
readonly name: "newVault";
|
|
727
|
+
readonly type: "address";
|
|
728
|
+
readonly indexed: true;
|
|
729
|
+
readonly internalType: "address";
|
|
730
|
+
}];
|
|
731
|
+
readonly anonymous: false;
|
|
732
|
+
}, {
|
|
733
|
+
readonly type: "error";
|
|
734
|
+
readonly name: "AddressEmptyCode";
|
|
735
|
+
readonly inputs: readonly [{
|
|
736
|
+
readonly name: "target";
|
|
737
|
+
readonly type: "address";
|
|
738
|
+
readonly internalType: "address";
|
|
739
|
+
}];
|
|
740
|
+
}, {
|
|
741
|
+
readonly type: "error";
|
|
742
|
+
readonly name: "BatchTooLarge";
|
|
743
|
+
readonly inputs: readonly [{
|
|
744
|
+
readonly name: "requested";
|
|
745
|
+
readonly type: "uint256";
|
|
746
|
+
readonly internalType: "uint256";
|
|
747
|
+
}, {
|
|
748
|
+
readonly name: "max";
|
|
749
|
+
readonly type: "uint256";
|
|
750
|
+
readonly internalType: "uint256";
|
|
751
|
+
}];
|
|
752
|
+
}, {
|
|
753
|
+
readonly type: "error";
|
|
754
|
+
readonly name: "ERC1967InvalidImplementation";
|
|
755
|
+
readonly inputs: readonly [{
|
|
756
|
+
readonly name: "implementation";
|
|
757
|
+
readonly type: "address";
|
|
758
|
+
readonly internalType: "address";
|
|
759
|
+
}];
|
|
760
|
+
}, {
|
|
761
|
+
readonly type: "error";
|
|
762
|
+
readonly name: "ERC1967NonPayable";
|
|
763
|
+
readonly inputs: readonly [];
|
|
764
|
+
}, {
|
|
765
|
+
readonly type: "error";
|
|
766
|
+
readonly name: "ERC2981InvalidDefaultRoyalty";
|
|
767
|
+
readonly inputs: readonly [{
|
|
768
|
+
readonly name: "numerator";
|
|
769
|
+
readonly type: "uint256";
|
|
770
|
+
readonly internalType: "uint256";
|
|
771
|
+
}, {
|
|
772
|
+
readonly name: "denominator";
|
|
773
|
+
readonly type: "uint256";
|
|
774
|
+
readonly internalType: "uint256";
|
|
775
|
+
}];
|
|
776
|
+
}, {
|
|
777
|
+
readonly type: "error";
|
|
778
|
+
readonly name: "ERC2981InvalidDefaultRoyaltyReceiver";
|
|
779
|
+
readonly inputs: readonly [{
|
|
780
|
+
readonly name: "receiver";
|
|
781
|
+
readonly type: "address";
|
|
782
|
+
readonly internalType: "address";
|
|
783
|
+
}];
|
|
784
|
+
}, {
|
|
785
|
+
readonly type: "error";
|
|
786
|
+
readonly name: "ERC2981InvalidTokenRoyalty";
|
|
787
|
+
readonly inputs: readonly [{
|
|
788
|
+
readonly name: "tokenId";
|
|
789
|
+
readonly type: "uint256";
|
|
790
|
+
readonly internalType: "uint256";
|
|
791
|
+
}, {
|
|
792
|
+
readonly name: "numerator";
|
|
793
|
+
readonly type: "uint256";
|
|
794
|
+
readonly internalType: "uint256";
|
|
795
|
+
}, {
|
|
796
|
+
readonly name: "denominator";
|
|
797
|
+
readonly type: "uint256";
|
|
798
|
+
readonly internalType: "uint256";
|
|
799
|
+
}];
|
|
800
|
+
}, {
|
|
801
|
+
readonly type: "error";
|
|
802
|
+
readonly name: "ERC2981InvalidTokenRoyaltyReceiver";
|
|
803
|
+
readonly inputs: readonly [{
|
|
804
|
+
readonly name: "tokenId";
|
|
805
|
+
readonly type: "uint256";
|
|
806
|
+
readonly internalType: "uint256";
|
|
807
|
+
}, {
|
|
808
|
+
readonly name: "receiver";
|
|
809
|
+
readonly type: "address";
|
|
810
|
+
readonly internalType: "address";
|
|
811
|
+
}];
|
|
812
|
+
}, {
|
|
813
|
+
readonly type: "error";
|
|
814
|
+
readonly name: "ERC721EnumerableForbiddenBatchMint";
|
|
815
|
+
readonly inputs: readonly [];
|
|
816
|
+
}, {
|
|
817
|
+
readonly type: "error";
|
|
818
|
+
readonly name: "ERC721IncorrectOwner";
|
|
819
|
+
readonly inputs: readonly [{
|
|
820
|
+
readonly name: "sender";
|
|
821
|
+
readonly type: "address";
|
|
822
|
+
readonly internalType: "address";
|
|
823
|
+
}, {
|
|
824
|
+
readonly name: "tokenId";
|
|
825
|
+
readonly type: "uint256";
|
|
826
|
+
readonly internalType: "uint256";
|
|
827
|
+
}, {
|
|
828
|
+
readonly name: "owner";
|
|
829
|
+
readonly type: "address";
|
|
830
|
+
readonly internalType: "address";
|
|
831
|
+
}];
|
|
832
|
+
}, {
|
|
833
|
+
readonly type: "error";
|
|
834
|
+
readonly name: "ERC721InsufficientApproval";
|
|
835
|
+
readonly inputs: readonly [{
|
|
836
|
+
readonly name: "operator";
|
|
837
|
+
readonly type: "address";
|
|
838
|
+
readonly internalType: "address";
|
|
839
|
+
}, {
|
|
840
|
+
readonly name: "tokenId";
|
|
841
|
+
readonly type: "uint256";
|
|
842
|
+
readonly internalType: "uint256";
|
|
843
|
+
}];
|
|
844
|
+
}, {
|
|
845
|
+
readonly type: "error";
|
|
846
|
+
readonly name: "ERC721InvalidApprover";
|
|
847
|
+
readonly inputs: readonly [{
|
|
848
|
+
readonly name: "approver";
|
|
849
|
+
readonly type: "address";
|
|
850
|
+
readonly internalType: "address";
|
|
851
|
+
}];
|
|
852
|
+
}, {
|
|
853
|
+
readonly type: "error";
|
|
854
|
+
readonly name: "ERC721InvalidOperator";
|
|
855
|
+
readonly inputs: readonly [{
|
|
856
|
+
readonly name: "operator";
|
|
857
|
+
readonly type: "address";
|
|
858
|
+
readonly internalType: "address";
|
|
859
|
+
}];
|
|
860
|
+
}, {
|
|
861
|
+
readonly type: "error";
|
|
862
|
+
readonly name: "ERC721InvalidOwner";
|
|
863
|
+
readonly inputs: readonly [{
|
|
864
|
+
readonly name: "owner";
|
|
865
|
+
readonly type: "address";
|
|
866
|
+
readonly internalType: "address";
|
|
867
|
+
}];
|
|
868
|
+
}, {
|
|
869
|
+
readonly type: "error";
|
|
870
|
+
readonly name: "ERC721InvalidReceiver";
|
|
871
|
+
readonly inputs: readonly [{
|
|
872
|
+
readonly name: "receiver";
|
|
873
|
+
readonly type: "address";
|
|
874
|
+
readonly internalType: "address";
|
|
875
|
+
}];
|
|
876
|
+
}, {
|
|
877
|
+
readonly type: "error";
|
|
878
|
+
readonly name: "ERC721InvalidSender";
|
|
879
|
+
readonly inputs: readonly [{
|
|
880
|
+
readonly name: "sender";
|
|
881
|
+
readonly type: "address";
|
|
882
|
+
readonly internalType: "address";
|
|
883
|
+
}];
|
|
884
|
+
}, {
|
|
885
|
+
readonly type: "error";
|
|
886
|
+
readonly name: "ERC721NonexistentToken";
|
|
887
|
+
readonly inputs: readonly [{
|
|
888
|
+
readonly name: "tokenId";
|
|
889
|
+
readonly type: "uint256";
|
|
890
|
+
readonly internalType: "uint256";
|
|
891
|
+
}];
|
|
892
|
+
}, {
|
|
893
|
+
readonly type: "error";
|
|
894
|
+
readonly name: "ERC721OutOfBoundsIndex";
|
|
895
|
+
readonly inputs: readonly [{
|
|
896
|
+
readonly name: "owner";
|
|
897
|
+
readonly type: "address";
|
|
898
|
+
readonly internalType: "address";
|
|
899
|
+
}, {
|
|
900
|
+
readonly name: "index";
|
|
901
|
+
readonly type: "uint256";
|
|
902
|
+
readonly internalType: "uint256";
|
|
903
|
+
}];
|
|
904
|
+
}, {
|
|
905
|
+
readonly type: "error";
|
|
906
|
+
readonly name: "FailedCall";
|
|
907
|
+
readonly inputs: readonly [];
|
|
908
|
+
}, {
|
|
909
|
+
readonly type: "error";
|
|
910
|
+
readonly name: "InsufficientPayment";
|
|
911
|
+
readonly inputs: readonly [{
|
|
912
|
+
readonly name: "required";
|
|
913
|
+
readonly type: "uint256";
|
|
914
|
+
readonly internalType: "uint256";
|
|
915
|
+
}, {
|
|
916
|
+
readonly name: "sent";
|
|
917
|
+
readonly type: "uint256";
|
|
918
|
+
readonly internalType: "uint256";
|
|
919
|
+
}];
|
|
920
|
+
}, {
|
|
921
|
+
readonly type: "error";
|
|
922
|
+
readonly name: "InvalidInitialization";
|
|
923
|
+
readonly inputs: readonly [];
|
|
924
|
+
}, {
|
|
925
|
+
readonly type: "error";
|
|
926
|
+
readonly name: "MaxSupplyReached";
|
|
927
|
+
readonly inputs: readonly [];
|
|
928
|
+
}, {
|
|
929
|
+
readonly type: "error";
|
|
930
|
+
readonly name: "NoRevenue";
|
|
931
|
+
readonly inputs: readonly [];
|
|
932
|
+
}, {
|
|
933
|
+
readonly type: "error";
|
|
934
|
+
readonly name: "NotInitializing";
|
|
935
|
+
readonly inputs: readonly [];
|
|
936
|
+
}, {
|
|
937
|
+
readonly type: "error";
|
|
938
|
+
readonly name: "OnlyVault";
|
|
939
|
+
readonly inputs: readonly [];
|
|
940
|
+
}, {
|
|
941
|
+
readonly type: "error";
|
|
942
|
+
readonly name: "OwnableInvalidOwner";
|
|
943
|
+
readonly inputs: readonly [{
|
|
944
|
+
readonly name: "owner";
|
|
945
|
+
readonly type: "address";
|
|
946
|
+
readonly internalType: "address";
|
|
947
|
+
}];
|
|
948
|
+
}, {
|
|
949
|
+
readonly type: "error";
|
|
950
|
+
readonly name: "OwnableUnauthorizedAccount";
|
|
951
|
+
readonly inputs: readonly [{
|
|
952
|
+
readonly name: "account";
|
|
953
|
+
readonly type: "address";
|
|
954
|
+
readonly internalType: "address";
|
|
955
|
+
}];
|
|
956
|
+
}, {
|
|
957
|
+
readonly type: "error";
|
|
958
|
+
readonly name: "ReentrancyGuardReentrantCall";
|
|
959
|
+
readonly inputs: readonly [];
|
|
960
|
+
}, {
|
|
961
|
+
readonly type: "error";
|
|
962
|
+
readonly name: "StringsInsufficientHexLength";
|
|
963
|
+
readonly inputs: readonly [{
|
|
964
|
+
readonly name: "value";
|
|
965
|
+
readonly type: "uint256";
|
|
966
|
+
readonly internalType: "uint256";
|
|
967
|
+
}, {
|
|
968
|
+
readonly name: "length";
|
|
969
|
+
readonly type: "uint256";
|
|
970
|
+
readonly internalType: "uint256";
|
|
971
|
+
}];
|
|
972
|
+
}, {
|
|
973
|
+
readonly type: "error";
|
|
974
|
+
readonly name: "TransferFailed";
|
|
975
|
+
readonly inputs: readonly [];
|
|
976
|
+
}, {
|
|
977
|
+
readonly type: "error";
|
|
978
|
+
readonly name: "UUPSUnauthorizedCallContext";
|
|
979
|
+
readonly inputs: readonly [];
|
|
980
|
+
}, {
|
|
981
|
+
readonly type: "error";
|
|
982
|
+
readonly name: "UUPSUnsupportedProxiableUUID";
|
|
983
|
+
readonly inputs: readonly [{
|
|
984
|
+
readonly name: "slot";
|
|
985
|
+
readonly type: "bytes32";
|
|
986
|
+
readonly internalType: "bytes32";
|
|
987
|
+
}];
|
|
988
|
+
}, {
|
|
989
|
+
readonly type: "error";
|
|
990
|
+
readonly name: "ZeroAddress";
|
|
991
|
+
readonly inputs: readonly [];
|
|
992
|
+
}];
|
|
993
|
+
export declare const INKD_VAULT_ABI: readonly [{
|
|
994
|
+
readonly type: "function";
|
|
995
|
+
readonly name: "MAX_GRANTS_PER_TOKEN";
|
|
996
|
+
readonly inputs: readonly [];
|
|
997
|
+
readonly outputs: readonly [{
|
|
998
|
+
readonly name: "";
|
|
999
|
+
readonly type: "uint256";
|
|
1000
|
+
readonly internalType: "uint256";
|
|
1001
|
+
}];
|
|
1002
|
+
readonly stateMutability: "view";
|
|
1003
|
+
}, {
|
|
1004
|
+
readonly type: "function";
|
|
1005
|
+
readonly name: "UPGRADE_INTERFACE_VERSION";
|
|
1006
|
+
readonly inputs: readonly [];
|
|
1007
|
+
readonly outputs: readonly [{
|
|
1008
|
+
readonly name: "";
|
|
1009
|
+
readonly type: "string";
|
|
1010
|
+
readonly internalType: "string";
|
|
1011
|
+
}];
|
|
1012
|
+
readonly stateMutability: "view";
|
|
1013
|
+
}, {
|
|
1014
|
+
readonly type: "function";
|
|
1015
|
+
readonly name: "accessGrants";
|
|
1016
|
+
readonly inputs: readonly [{
|
|
1017
|
+
readonly name: "";
|
|
1018
|
+
readonly type: "uint256";
|
|
1019
|
+
readonly internalType: "uint256";
|
|
1020
|
+
}, {
|
|
1021
|
+
readonly name: "";
|
|
1022
|
+
readonly type: "address";
|
|
1023
|
+
readonly internalType: "address";
|
|
1024
|
+
}];
|
|
1025
|
+
readonly outputs: readonly [{
|
|
1026
|
+
readonly name: "grantee";
|
|
1027
|
+
readonly type: "address";
|
|
1028
|
+
readonly internalType: "address";
|
|
1029
|
+
}, {
|
|
1030
|
+
readonly name: "expiresAt";
|
|
1031
|
+
readonly type: "uint256";
|
|
1032
|
+
readonly internalType: "uint256";
|
|
1033
|
+
}, {
|
|
1034
|
+
readonly name: "grantedAt";
|
|
1035
|
+
readonly type: "uint256";
|
|
1036
|
+
readonly internalType: "uint256";
|
|
1037
|
+
}];
|
|
1038
|
+
readonly stateMutability: "view";
|
|
1039
|
+
}, {
|
|
1040
|
+
readonly type: "function";
|
|
1041
|
+
readonly name: "getActiveGrants";
|
|
1042
|
+
readonly inputs: readonly [{
|
|
1043
|
+
readonly name: "tokenId";
|
|
1044
|
+
readonly type: "uint256";
|
|
1045
|
+
readonly internalType: "uint256";
|
|
1046
|
+
}];
|
|
1047
|
+
readonly outputs: readonly [{
|
|
1048
|
+
readonly name: "grants";
|
|
1049
|
+
readonly type: "tuple[]";
|
|
1050
|
+
readonly internalType: "struct InkdVault.AccessGrant[]";
|
|
1051
|
+
readonly components: readonly [{
|
|
1052
|
+
readonly name: "grantee";
|
|
1053
|
+
readonly type: "address";
|
|
1054
|
+
readonly internalType: "address";
|
|
1055
|
+
}, {
|
|
1056
|
+
readonly name: "expiresAt";
|
|
1057
|
+
readonly type: "uint256";
|
|
1058
|
+
readonly internalType: "uint256";
|
|
1059
|
+
}, {
|
|
1060
|
+
readonly name: "grantedAt";
|
|
1061
|
+
readonly type: "uint256";
|
|
1062
|
+
readonly internalType: "uint256";
|
|
1063
|
+
}];
|
|
1064
|
+
}];
|
|
1065
|
+
readonly stateMutability: "view";
|
|
1066
|
+
}, {
|
|
1067
|
+
readonly type: "function";
|
|
1068
|
+
readonly name: "getInscription";
|
|
1069
|
+
readonly inputs: readonly [{
|
|
1070
|
+
readonly name: "tokenId";
|
|
1071
|
+
readonly type: "uint256";
|
|
1072
|
+
readonly internalType: "uint256";
|
|
1073
|
+
}, {
|
|
1074
|
+
readonly name: "inscriptionIndex";
|
|
1075
|
+
readonly type: "uint256";
|
|
1076
|
+
readonly internalType: "uint256";
|
|
1077
|
+
}];
|
|
1078
|
+
readonly outputs: readonly [{
|
|
1079
|
+
readonly name: "";
|
|
1080
|
+
readonly type: "tuple";
|
|
1081
|
+
readonly internalType: "struct InkdVault.Inscription";
|
|
1082
|
+
readonly components: readonly [{
|
|
1083
|
+
readonly name: "arweaveHash";
|
|
1084
|
+
readonly type: "string";
|
|
1085
|
+
readonly internalType: "string";
|
|
1086
|
+
}, {
|
|
1087
|
+
readonly name: "contentType";
|
|
1088
|
+
readonly type: "string";
|
|
1089
|
+
readonly internalType: "string";
|
|
1090
|
+
}, {
|
|
1091
|
+
readonly name: "size";
|
|
1092
|
+
readonly type: "uint256";
|
|
1093
|
+
readonly internalType: "uint256";
|
|
1094
|
+
}, {
|
|
1095
|
+
readonly name: "name";
|
|
1096
|
+
readonly type: "string";
|
|
1097
|
+
readonly internalType: "string";
|
|
1098
|
+
}, {
|
|
1099
|
+
readonly name: "createdAt";
|
|
1100
|
+
readonly type: "uint256";
|
|
1101
|
+
readonly internalType: "uint256";
|
|
1102
|
+
}, {
|
|
1103
|
+
readonly name: "isRemoved";
|
|
1104
|
+
readonly type: "bool";
|
|
1105
|
+
readonly internalType: "bool";
|
|
1106
|
+
}, {
|
|
1107
|
+
readonly name: "version";
|
|
1108
|
+
readonly type: "uint256";
|
|
1109
|
+
readonly internalType: "uint256";
|
|
1110
|
+
}];
|
|
1111
|
+
}];
|
|
1112
|
+
readonly stateMutability: "view";
|
|
1113
|
+
}, {
|
|
1114
|
+
readonly type: "function";
|
|
1115
|
+
readonly name: "getInscriptionCount";
|
|
1116
|
+
readonly inputs: readonly [{
|
|
1117
|
+
readonly name: "tokenId";
|
|
1118
|
+
readonly type: "uint256";
|
|
1119
|
+
readonly internalType: "uint256";
|
|
1120
|
+
}];
|
|
1121
|
+
readonly outputs: readonly [{
|
|
1122
|
+
readonly name: "";
|
|
1123
|
+
readonly type: "uint256";
|
|
1124
|
+
readonly internalType: "uint256";
|
|
1125
|
+
}];
|
|
1126
|
+
readonly stateMutability: "view";
|
|
1127
|
+
}, {
|
|
1128
|
+
readonly type: "function";
|
|
1129
|
+
readonly name: "getInscriptions";
|
|
1130
|
+
readonly inputs: readonly [{
|
|
1131
|
+
readonly name: "tokenId";
|
|
1132
|
+
readonly type: "uint256";
|
|
1133
|
+
readonly internalType: "uint256";
|
|
1134
|
+
}];
|
|
1135
|
+
readonly outputs: readonly [{
|
|
1136
|
+
readonly name: "";
|
|
1137
|
+
readonly type: "tuple[]";
|
|
1138
|
+
readonly internalType: "struct InkdVault.Inscription[]";
|
|
1139
|
+
readonly components: readonly [{
|
|
1140
|
+
readonly name: "arweaveHash";
|
|
1141
|
+
readonly type: "string";
|
|
1142
|
+
readonly internalType: "string";
|
|
1143
|
+
}, {
|
|
1144
|
+
readonly name: "contentType";
|
|
1145
|
+
readonly type: "string";
|
|
1146
|
+
readonly internalType: "string";
|
|
1147
|
+
}, {
|
|
1148
|
+
readonly name: "size";
|
|
1149
|
+
readonly type: "uint256";
|
|
1150
|
+
readonly internalType: "uint256";
|
|
1151
|
+
}, {
|
|
1152
|
+
readonly name: "name";
|
|
1153
|
+
readonly type: "string";
|
|
1154
|
+
readonly internalType: "string";
|
|
1155
|
+
}, {
|
|
1156
|
+
readonly name: "createdAt";
|
|
1157
|
+
readonly type: "uint256";
|
|
1158
|
+
readonly internalType: "uint256";
|
|
1159
|
+
}, {
|
|
1160
|
+
readonly name: "isRemoved";
|
|
1161
|
+
readonly type: "bool";
|
|
1162
|
+
readonly internalType: "bool";
|
|
1163
|
+
}, {
|
|
1164
|
+
readonly name: "version";
|
|
1165
|
+
readonly type: "uint256";
|
|
1166
|
+
readonly internalType: "uint256";
|
|
1167
|
+
}];
|
|
1168
|
+
}];
|
|
1169
|
+
readonly stateMutability: "view";
|
|
1170
|
+
}, {
|
|
1171
|
+
readonly type: "function";
|
|
1172
|
+
readonly name: "getVersionHistory";
|
|
1173
|
+
readonly inputs: readonly [{
|
|
1174
|
+
readonly name: "tokenId";
|
|
1175
|
+
readonly type: "uint256";
|
|
1176
|
+
readonly internalType: "uint256";
|
|
1177
|
+
}, {
|
|
1178
|
+
readonly name: "inscriptionIndex";
|
|
1179
|
+
readonly type: "uint256";
|
|
1180
|
+
readonly internalType: "uint256";
|
|
1181
|
+
}];
|
|
1182
|
+
readonly outputs: readonly [{
|
|
1183
|
+
readonly name: "";
|
|
1184
|
+
readonly type: "string[]";
|
|
1185
|
+
readonly internalType: "string[]";
|
|
1186
|
+
}];
|
|
1187
|
+
readonly stateMutability: "view";
|
|
1188
|
+
}, {
|
|
1189
|
+
readonly type: "function";
|
|
1190
|
+
readonly name: "grantReadAccess";
|
|
1191
|
+
readonly inputs: readonly [{
|
|
1192
|
+
readonly name: "tokenId";
|
|
1193
|
+
readonly type: "uint256";
|
|
1194
|
+
readonly internalType: "uint256";
|
|
1195
|
+
}, {
|
|
1196
|
+
readonly name: "wallet";
|
|
1197
|
+
readonly type: "address";
|
|
1198
|
+
readonly internalType: "address";
|
|
1199
|
+
}, {
|
|
1200
|
+
readonly name: "expiresAt";
|
|
1201
|
+
readonly type: "uint256";
|
|
1202
|
+
readonly internalType: "uint256";
|
|
1203
|
+
}];
|
|
1204
|
+
readonly outputs: readonly [];
|
|
1205
|
+
readonly stateMutability: "nonpayable";
|
|
1206
|
+
}, {
|
|
1207
|
+
readonly type: "function";
|
|
1208
|
+
readonly name: "hasAccess";
|
|
1209
|
+
readonly inputs: readonly [{
|
|
1210
|
+
readonly name: "tokenId";
|
|
1211
|
+
readonly type: "uint256";
|
|
1212
|
+
readonly internalType: "uint256";
|
|
1213
|
+
}, {
|
|
1214
|
+
readonly name: "wallet";
|
|
1215
|
+
readonly type: "address";
|
|
1216
|
+
readonly internalType: "address";
|
|
1217
|
+
}];
|
|
1218
|
+
readonly outputs: readonly [{
|
|
1219
|
+
readonly name: "";
|
|
1220
|
+
readonly type: "bool";
|
|
1221
|
+
readonly internalType: "bool";
|
|
1222
|
+
}];
|
|
1223
|
+
readonly stateMutability: "view";
|
|
1224
|
+
}, {
|
|
1225
|
+
readonly type: "function";
|
|
1226
|
+
readonly name: "initialize";
|
|
1227
|
+
readonly inputs: readonly [{
|
|
1228
|
+
readonly name: "_owner";
|
|
1229
|
+
readonly type: "address";
|
|
1230
|
+
readonly internalType: "address";
|
|
1231
|
+
}, {
|
|
1232
|
+
readonly name: "_inkdToken";
|
|
1233
|
+
readonly type: "address";
|
|
1234
|
+
readonly internalType: "address";
|
|
1235
|
+
}];
|
|
1236
|
+
readonly outputs: readonly [];
|
|
1237
|
+
readonly stateMutability: "nonpayable";
|
|
1238
|
+
}, {
|
|
1239
|
+
readonly type: "function";
|
|
1240
|
+
readonly name: "inkdToken";
|
|
1241
|
+
readonly inputs: readonly [];
|
|
1242
|
+
readonly outputs: readonly [{
|
|
1243
|
+
readonly name: "";
|
|
1244
|
+
readonly type: "address";
|
|
1245
|
+
readonly internalType: "contract IInkdToken";
|
|
1246
|
+
}];
|
|
1247
|
+
readonly stateMutability: "view";
|
|
1248
|
+
}, {
|
|
1249
|
+
readonly type: "function";
|
|
1250
|
+
readonly name: "inscribe";
|
|
1251
|
+
readonly inputs: readonly [{
|
|
1252
|
+
readonly name: "tokenId";
|
|
1253
|
+
readonly type: "uint256";
|
|
1254
|
+
readonly internalType: "uint256";
|
|
1255
|
+
}, {
|
|
1256
|
+
readonly name: "arweaveHash";
|
|
1257
|
+
readonly type: "string";
|
|
1258
|
+
readonly internalType: "string";
|
|
1259
|
+
}, {
|
|
1260
|
+
readonly name: "contentType";
|
|
1261
|
+
readonly type: "string";
|
|
1262
|
+
readonly internalType: "string";
|
|
1263
|
+
}, {
|
|
1264
|
+
readonly name: "size";
|
|
1265
|
+
readonly type: "uint256";
|
|
1266
|
+
readonly internalType: "uint256";
|
|
1267
|
+
}, {
|
|
1268
|
+
readonly name: "name";
|
|
1269
|
+
readonly type: "string";
|
|
1270
|
+
readonly internalType: "string";
|
|
1271
|
+
}];
|
|
1272
|
+
readonly outputs: readonly [{
|
|
1273
|
+
readonly name: "inscriptionIndex";
|
|
1274
|
+
readonly type: "uint256";
|
|
1275
|
+
readonly internalType: "uint256";
|
|
1276
|
+
}];
|
|
1277
|
+
readonly stateMutability: "payable";
|
|
1278
|
+
}, {
|
|
1279
|
+
readonly type: "function";
|
|
1280
|
+
readonly name: "inscriptionFee";
|
|
1281
|
+
readonly inputs: readonly [];
|
|
1282
|
+
readonly outputs: readonly [{
|
|
1283
|
+
readonly name: "";
|
|
1284
|
+
readonly type: "uint256";
|
|
1285
|
+
readonly internalType: "uint256";
|
|
1286
|
+
}];
|
|
1287
|
+
readonly stateMutability: "view";
|
|
1288
|
+
}, {
|
|
1289
|
+
readonly type: "function";
|
|
1290
|
+
readonly name: "owner";
|
|
1291
|
+
readonly inputs: readonly [];
|
|
1292
|
+
readonly outputs: readonly [{
|
|
1293
|
+
readonly name: "";
|
|
1294
|
+
readonly type: "address";
|
|
1295
|
+
readonly internalType: "address";
|
|
1296
|
+
}];
|
|
1297
|
+
readonly stateMutability: "view";
|
|
1298
|
+
}, {
|
|
1299
|
+
readonly type: "function";
|
|
1300
|
+
readonly name: "pause";
|
|
1301
|
+
readonly inputs: readonly [];
|
|
1302
|
+
readonly outputs: readonly [];
|
|
1303
|
+
readonly stateMutability: "nonpayable";
|
|
1304
|
+
}, {
|
|
1305
|
+
readonly type: "function";
|
|
1306
|
+
readonly name: "paused";
|
|
1307
|
+
readonly inputs: readonly [];
|
|
1308
|
+
readonly outputs: readonly [{
|
|
1309
|
+
readonly name: "";
|
|
1310
|
+
readonly type: "bool";
|
|
1311
|
+
readonly internalType: "bool";
|
|
1312
|
+
}];
|
|
1313
|
+
readonly stateMutability: "view";
|
|
1314
|
+
}, {
|
|
1315
|
+
readonly type: "function";
|
|
1316
|
+
readonly name: "protocolFeeBalance";
|
|
1317
|
+
readonly inputs: readonly [];
|
|
1318
|
+
readonly outputs: readonly [{
|
|
1319
|
+
readonly name: "";
|
|
1320
|
+
readonly type: "uint256";
|
|
1321
|
+
readonly internalType: "uint256";
|
|
1322
|
+
}];
|
|
1323
|
+
readonly stateMutability: "view";
|
|
1324
|
+
}, {
|
|
1325
|
+
readonly type: "function";
|
|
1326
|
+
readonly name: "protocolFeeBps";
|
|
1327
|
+
readonly inputs: readonly [];
|
|
1328
|
+
readonly outputs: readonly [{
|
|
1329
|
+
readonly name: "";
|
|
1330
|
+
readonly type: "uint256";
|
|
1331
|
+
readonly internalType: "uint256";
|
|
1332
|
+
}];
|
|
1333
|
+
readonly stateMutability: "view";
|
|
1334
|
+
}, {
|
|
1335
|
+
readonly type: "function";
|
|
1336
|
+
readonly name: "proxiableUUID";
|
|
1337
|
+
readonly inputs: readonly [];
|
|
1338
|
+
readonly outputs: readonly [{
|
|
1339
|
+
readonly name: "";
|
|
1340
|
+
readonly type: "bytes32";
|
|
1341
|
+
readonly internalType: "bytes32";
|
|
1342
|
+
}];
|
|
1343
|
+
readonly stateMutability: "view";
|
|
1344
|
+
}, {
|
|
1345
|
+
readonly type: "function";
|
|
1346
|
+
readonly name: "removeInscription";
|
|
1347
|
+
readonly inputs: readonly [{
|
|
1348
|
+
readonly name: "tokenId";
|
|
1349
|
+
readonly type: "uint256";
|
|
1350
|
+
readonly internalType: "uint256";
|
|
1351
|
+
}, {
|
|
1352
|
+
readonly name: "inscriptionIndex";
|
|
1353
|
+
readonly type: "uint256";
|
|
1354
|
+
readonly internalType: "uint256";
|
|
1355
|
+
}];
|
|
1356
|
+
readonly outputs: readonly [];
|
|
1357
|
+
readonly stateMutability: "nonpayable";
|
|
1358
|
+
}, {
|
|
1359
|
+
readonly type: "function";
|
|
1360
|
+
readonly name: "renounceOwnership";
|
|
1361
|
+
readonly inputs: readonly [];
|
|
1362
|
+
readonly outputs: readonly [];
|
|
1363
|
+
readonly stateMutability: "nonpayable";
|
|
1364
|
+
}, {
|
|
1365
|
+
readonly type: "function";
|
|
1366
|
+
readonly name: "revokeAccess";
|
|
1367
|
+
readonly inputs: readonly [{
|
|
1368
|
+
readonly name: "tokenId";
|
|
1369
|
+
readonly type: "uint256";
|
|
1370
|
+
readonly internalType: "uint256";
|
|
1371
|
+
}, {
|
|
1372
|
+
readonly name: "wallet";
|
|
1373
|
+
readonly type: "address";
|
|
1374
|
+
readonly internalType: "address";
|
|
1375
|
+
}];
|
|
1376
|
+
readonly outputs: readonly [];
|
|
1377
|
+
readonly stateMutability: "nonpayable";
|
|
1378
|
+
}, {
|
|
1379
|
+
readonly type: "function";
|
|
1380
|
+
readonly name: "setInkdToken";
|
|
1381
|
+
readonly inputs: readonly [{
|
|
1382
|
+
readonly name: "_inkdToken";
|
|
1383
|
+
readonly type: "address";
|
|
1384
|
+
readonly internalType: "address";
|
|
1385
|
+
}];
|
|
1386
|
+
readonly outputs: readonly [];
|
|
1387
|
+
readonly stateMutability: "nonpayable";
|
|
1388
|
+
}, {
|
|
1389
|
+
readonly type: "function";
|
|
1390
|
+
readonly name: "setInscriptionFee";
|
|
1391
|
+
readonly inputs: readonly [{
|
|
1392
|
+
readonly name: "fee";
|
|
1393
|
+
readonly type: "uint256";
|
|
1394
|
+
readonly internalType: "uint256";
|
|
1395
|
+
}];
|
|
1396
|
+
readonly outputs: readonly [];
|
|
1397
|
+
readonly stateMutability: "nonpayable";
|
|
1398
|
+
}, {
|
|
1399
|
+
readonly type: "function";
|
|
1400
|
+
readonly name: "setProtocolFee";
|
|
1401
|
+
readonly inputs: readonly [{
|
|
1402
|
+
readonly name: "bps";
|
|
1403
|
+
readonly type: "uint256";
|
|
1404
|
+
readonly internalType: "uint256";
|
|
1405
|
+
}];
|
|
1406
|
+
readonly outputs: readonly [];
|
|
1407
|
+
readonly stateMutability: "nonpayable";
|
|
1408
|
+
}, {
|
|
1409
|
+
readonly type: "function";
|
|
1410
|
+
readonly name: "totalInscriptions";
|
|
1411
|
+
readonly inputs: readonly [];
|
|
1412
|
+
readonly outputs: readonly [{
|
|
1413
|
+
readonly name: "";
|
|
1414
|
+
readonly type: "uint256";
|
|
1415
|
+
readonly internalType: "uint256";
|
|
1416
|
+
}];
|
|
1417
|
+
readonly stateMutability: "view";
|
|
1418
|
+
}, {
|
|
1419
|
+
readonly type: "function";
|
|
1420
|
+
readonly name: "transferOwnership";
|
|
1421
|
+
readonly inputs: readonly [{
|
|
1422
|
+
readonly name: "newOwner";
|
|
1423
|
+
readonly type: "address";
|
|
1424
|
+
readonly internalType: "address";
|
|
1425
|
+
}];
|
|
1426
|
+
readonly outputs: readonly [];
|
|
1427
|
+
readonly stateMutability: "nonpayable";
|
|
1428
|
+
}, {
|
|
1429
|
+
readonly type: "function";
|
|
1430
|
+
readonly name: "unpause";
|
|
1431
|
+
readonly inputs: readonly [];
|
|
1432
|
+
readonly outputs: readonly [];
|
|
1433
|
+
readonly stateMutability: "nonpayable";
|
|
1434
|
+
}, {
|
|
1435
|
+
readonly type: "function";
|
|
1436
|
+
readonly name: "updateInscription";
|
|
1437
|
+
readonly inputs: readonly [{
|
|
1438
|
+
readonly name: "tokenId";
|
|
1439
|
+
readonly type: "uint256";
|
|
1440
|
+
readonly internalType: "uint256";
|
|
1441
|
+
}, {
|
|
1442
|
+
readonly name: "inscriptionIndex";
|
|
1443
|
+
readonly type: "uint256";
|
|
1444
|
+
readonly internalType: "uint256";
|
|
1445
|
+
}, {
|
|
1446
|
+
readonly name: "newArweaveHash";
|
|
1447
|
+
readonly type: "string";
|
|
1448
|
+
readonly internalType: "string";
|
|
1449
|
+
}];
|
|
1450
|
+
readonly outputs: readonly [];
|
|
1451
|
+
readonly stateMutability: "nonpayable";
|
|
1452
|
+
}, {
|
|
1453
|
+
readonly type: "function";
|
|
1454
|
+
readonly name: "upgradeToAndCall";
|
|
1455
|
+
readonly inputs: readonly [{
|
|
1456
|
+
readonly name: "newImplementation";
|
|
1457
|
+
readonly type: "address";
|
|
1458
|
+
readonly internalType: "address";
|
|
1459
|
+
}, {
|
|
1460
|
+
readonly name: "data";
|
|
1461
|
+
readonly type: "bytes";
|
|
1462
|
+
readonly internalType: "bytes";
|
|
1463
|
+
}];
|
|
1464
|
+
readonly outputs: readonly [];
|
|
1465
|
+
readonly stateMutability: "payable";
|
|
1466
|
+
}, {
|
|
1467
|
+
readonly type: "function";
|
|
1468
|
+
readonly name: "withdrawFees";
|
|
1469
|
+
readonly inputs: readonly [];
|
|
1470
|
+
readonly outputs: readonly [];
|
|
1471
|
+
readonly stateMutability: "nonpayable";
|
|
1472
|
+
}, {
|
|
1473
|
+
readonly type: "event";
|
|
1474
|
+
readonly name: "AccessGranted";
|
|
1475
|
+
readonly inputs: readonly [{
|
|
1476
|
+
readonly name: "tokenId";
|
|
1477
|
+
readonly type: "uint256";
|
|
1478
|
+
readonly indexed: true;
|
|
1479
|
+
readonly internalType: "uint256";
|
|
1480
|
+
}, {
|
|
1481
|
+
readonly name: "grantee";
|
|
1482
|
+
readonly type: "address";
|
|
1483
|
+
readonly indexed: true;
|
|
1484
|
+
readonly internalType: "address";
|
|
1485
|
+
}, {
|
|
1486
|
+
readonly name: "expiresAt";
|
|
1487
|
+
readonly type: "uint256";
|
|
1488
|
+
readonly indexed: false;
|
|
1489
|
+
readonly internalType: "uint256";
|
|
1490
|
+
}];
|
|
1491
|
+
readonly anonymous: false;
|
|
1492
|
+
}, {
|
|
1493
|
+
readonly type: "event";
|
|
1494
|
+
readonly name: "AccessRevoked";
|
|
1495
|
+
readonly inputs: readonly [{
|
|
1496
|
+
readonly name: "tokenId";
|
|
1497
|
+
readonly type: "uint256";
|
|
1498
|
+
readonly indexed: true;
|
|
1499
|
+
readonly internalType: "uint256";
|
|
1500
|
+
}, {
|
|
1501
|
+
readonly name: "grantee";
|
|
1502
|
+
readonly type: "address";
|
|
1503
|
+
readonly indexed: true;
|
|
1504
|
+
readonly internalType: "address";
|
|
1505
|
+
}];
|
|
1506
|
+
readonly anonymous: false;
|
|
1507
|
+
}, {
|
|
1508
|
+
readonly type: "event";
|
|
1509
|
+
readonly name: "FeesWithdrawn";
|
|
1510
|
+
readonly inputs: readonly [{
|
|
1511
|
+
readonly name: "to";
|
|
1512
|
+
readonly type: "address";
|
|
1513
|
+
readonly indexed: true;
|
|
1514
|
+
readonly internalType: "address";
|
|
1515
|
+
}, {
|
|
1516
|
+
readonly name: "amount";
|
|
1517
|
+
readonly type: "uint256";
|
|
1518
|
+
readonly indexed: false;
|
|
1519
|
+
readonly internalType: "uint256";
|
|
1520
|
+
}];
|
|
1521
|
+
readonly anonymous: false;
|
|
1522
|
+
}, {
|
|
1523
|
+
readonly type: "event";
|
|
1524
|
+
readonly name: "Initialized";
|
|
1525
|
+
readonly inputs: readonly [{
|
|
1526
|
+
readonly name: "version";
|
|
1527
|
+
readonly type: "uint64";
|
|
1528
|
+
readonly indexed: false;
|
|
1529
|
+
readonly internalType: "uint64";
|
|
1530
|
+
}];
|
|
1531
|
+
readonly anonymous: false;
|
|
1532
|
+
}, {
|
|
1533
|
+
readonly type: "event";
|
|
1534
|
+
readonly name: "Inscribed";
|
|
1535
|
+
readonly inputs: readonly [{
|
|
1536
|
+
readonly name: "tokenId";
|
|
1537
|
+
readonly type: "uint256";
|
|
1538
|
+
readonly indexed: true;
|
|
1539
|
+
readonly internalType: "uint256";
|
|
1540
|
+
}, {
|
|
1541
|
+
readonly name: "inscriptionIndex";
|
|
1542
|
+
readonly type: "uint256";
|
|
1543
|
+
readonly indexed: true;
|
|
1544
|
+
readonly internalType: "uint256";
|
|
1545
|
+
}, {
|
|
1546
|
+
readonly name: "arweaveHash";
|
|
1547
|
+
readonly type: "string";
|
|
1548
|
+
readonly indexed: false;
|
|
1549
|
+
readonly internalType: "string";
|
|
1550
|
+
}, {
|
|
1551
|
+
readonly name: "contentType";
|
|
1552
|
+
readonly type: "string";
|
|
1553
|
+
readonly indexed: false;
|
|
1554
|
+
readonly internalType: "string";
|
|
1555
|
+
}, {
|
|
1556
|
+
readonly name: "size";
|
|
1557
|
+
readonly type: "uint256";
|
|
1558
|
+
readonly indexed: false;
|
|
1559
|
+
readonly internalType: "uint256";
|
|
1560
|
+
}, {
|
|
1561
|
+
readonly name: "name";
|
|
1562
|
+
readonly type: "string";
|
|
1563
|
+
readonly indexed: false;
|
|
1564
|
+
readonly internalType: "string";
|
|
1565
|
+
}, {
|
|
1566
|
+
readonly name: "protocolFee";
|
|
1567
|
+
readonly type: "uint256";
|
|
1568
|
+
readonly indexed: false;
|
|
1569
|
+
readonly internalType: "uint256";
|
|
1570
|
+
}];
|
|
1571
|
+
readonly anonymous: false;
|
|
1572
|
+
}, {
|
|
1573
|
+
readonly type: "event";
|
|
1574
|
+
readonly name: "InscriptionRemoved";
|
|
1575
|
+
readonly inputs: readonly [{
|
|
1576
|
+
readonly name: "tokenId";
|
|
1577
|
+
readonly type: "uint256";
|
|
1578
|
+
readonly indexed: true;
|
|
1579
|
+
readonly internalType: "uint256";
|
|
1580
|
+
}, {
|
|
1581
|
+
readonly name: "inscriptionIndex";
|
|
1582
|
+
readonly type: "uint256";
|
|
1583
|
+
readonly indexed: true;
|
|
1584
|
+
readonly internalType: "uint256";
|
|
1585
|
+
}];
|
|
1586
|
+
readonly anonymous: false;
|
|
1587
|
+
}, {
|
|
1588
|
+
readonly type: "event";
|
|
1589
|
+
readonly name: "InscriptionUpdated";
|
|
1590
|
+
readonly inputs: readonly [{
|
|
1591
|
+
readonly name: "tokenId";
|
|
1592
|
+
readonly type: "uint256";
|
|
1593
|
+
readonly indexed: true;
|
|
1594
|
+
readonly internalType: "uint256";
|
|
1595
|
+
}, {
|
|
1596
|
+
readonly name: "inscriptionIndex";
|
|
1597
|
+
readonly type: "uint256";
|
|
1598
|
+
readonly indexed: true;
|
|
1599
|
+
readonly internalType: "uint256";
|
|
1600
|
+
}, {
|
|
1601
|
+
readonly name: "newArweaveHash";
|
|
1602
|
+
readonly type: "string";
|
|
1603
|
+
readonly indexed: false;
|
|
1604
|
+
readonly internalType: "string";
|
|
1605
|
+
}, {
|
|
1606
|
+
readonly name: "newVersion";
|
|
1607
|
+
readonly type: "uint256";
|
|
1608
|
+
readonly indexed: false;
|
|
1609
|
+
readonly internalType: "uint256";
|
|
1610
|
+
}];
|
|
1611
|
+
readonly anonymous: false;
|
|
1612
|
+
}, {
|
|
1613
|
+
readonly type: "event";
|
|
1614
|
+
readonly name: "OwnershipTransferred";
|
|
1615
|
+
readonly inputs: readonly [{
|
|
1616
|
+
readonly name: "previousOwner";
|
|
1617
|
+
readonly type: "address";
|
|
1618
|
+
readonly indexed: true;
|
|
1619
|
+
readonly internalType: "address";
|
|
1620
|
+
}, {
|
|
1621
|
+
readonly name: "newOwner";
|
|
1622
|
+
readonly type: "address";
|
|
1623
|
+
readonly indexed: true;
|
|
1624
|
+
readonly internalType: "address";
|
|
1625
|
+
}];
|
|
1626
|
+
readonly anonymous: false;
|
|
1627
|
+
}, {
|
|
1628
|
+
readonly type: "event";
|
|
1629
|
+
readonly name: "Paused";
|
|
1630
|
+
readonly inputs: readonly [{
|
|
1631
|
+
readonly name: "account";
|
|
1632
|
+
readonly type: "address";
|
|
1633
|
+
readonly indexed: false;
|
|
1634
|
+
readonly internalType: "address";
|
|
1635
|
+
}];
|
|
1636
|
+
readonly anonymous: false;
|
|
1637
|
+
}, {
|
|
1638
|
+
readonly type: "event";
|
|
1639
|
+
readonly name: "ProtocolFeeUpdated";
|
|
1640
|
+
readonly inputs: readonly [{
|
|
1641
|
+
readonly name: "oldBps";
|
|
1642
|
+
readonly type: "uint256";
|
|
1643
|
+
readonly indexed: false;
|
|
1644
|
+
readonly internalType: "uint256";
|
|
1645
|
+
}, {
|
|
1646
|
+
readonly name: "newBps";
|
|
1647
|
+
readonly type: "uint256";
|
|
1648
|
+
readonly indexed: false;
|
|
1649
|
+
readonly internalType: "uint256";
|
|
1650
|
+
}];
|
|
1651
|
+
readonly anonymous: false;
|
|
1652
|
+
}, {
|
|
1653
|
+
readonly type: "event";
|
|
1654
|
+
readonly name: "Unpaused";
|
|
1655
|
+
readonly inputs: readonly [{
|
|
1656
|
+
readonly name: "account";
|
|
1657
|
+
readonly type: "address";
|
|
1658
|
+
readonly indexed: false;
|
|
1659
|
+
readonly internalType: "address";
|
|
1660
|
+
}];
|
|
1661
|
+
readonly anonymous: false;
|
|
1662
|
+
}, {
|
|
1663
|
+
readonly type: "event";
|
|
1664
|
+
readonly name: "Upgraded";
|
|
1665
|
+
readonly inputs: readonly [{
|
|
1666
|
+
readonly name: "implementation";
|
|
1667
|
+
readonly type: "address";
|
|
1668
|
+
readonly indexed: true;
|
|
1669
|
+
readonly internalType: "address";
|
|
1670
|
+
}];
|
|
1671
|
+
readonly anonymous: false;
|
|
1672
|
+
}, {
|
|
1673
|
+
readonly type: "error";
|
|
1674
|
+
readonly name: "AddressEmptyCode";
|
|
1675
|
+
readonly inputs: readonly [{
|
|
1676
|
+
readonly name: "target";
|
|
1677
|
+
readonly type: "address";
|
|
1678
|
+
readonly internalType: "address";
|
|
1679
|
+
}];
|
|
1680
|
+
}, {
|
|
1681
|
+
readonly type: "error";
|
|
1682
|
+
readonly name: "ERC1967InvalidImplementation";
|
|
1683
|
+
readonly inputs: readonly [{
|
|
1684
|
+
readonly name: "implementation";
|
|
1685
|
+
readonly type: "address";
|
|
1686
|
+
readonly internalType: "address";
|
|
1687
|
+
}];
|
|
1688
|
+
}, {
|
|
1689
|
+
readonly type: "error";
|
|
1690
|
+
readonly name: "ERC1967NonPayable";
|
|
1691
|
+
readonly inputs: readonly [];
|
|
1692
|
+
}, {
|
|
1693
|
+
readonly type: "error";
|
|
1694
|
+
readonly name: "EmptyArweaveHash";
|
|
1695
|
+
readonly inputs: readonly [];
|
|
1696
|
+
}, {
|
|
1697
|
+
readonly type: "error";
|
|
1698
|
+
readonly name: "EnforcedPause";
|
|
1699
|
+
readonly inputs: readonly [];
|
|
1700
|
+
}, {
|
|
1701
|
+
readonly type: "error";
|
|
1702
|
+
readonly name: "ExpectedPause";
|
|
1703
|
+
readonly inputs: readonly [];
|
|
1704
|
+
}, {
|
|
1705
|
+
readonly type: "error";
|
|
1706
|
+
readonly name: "ExpiryInPast";
|
|
1707
|
+
readonly inputs: readonly [{
|
|
1708
|
+
readonly name: "expiresAt";
|
|
1709
|
+
readonly type: "uint256";
|
|
1710
|
+
readonly internalType: "uint256";
|
|
1711
|
+
}];
|
|
1712
|
+
}, {
|
|
1713
|
+
readonly type: "error";
|
|
1714
|
+
readonly name: "FailedCall";
|
|
1715
|
+
readonly inputs: readonly [];
|
|
1716
|
+
}, {
|
|
1717
|
+
readonly type: "error";
|
|
1718
|
+
readonly name: "FeeExceedsMax";
|
|
1719
|
+
readonly inputs: readonly [{
|
|
1720
|
+
readonly name: "bps";
|
|
1721
|
+
readonly type: "uint256";
|
|
1722
|
+
readonly internalType: "uint256";
|
|
1723
|
+
}];
|
|
1724
|
+
}, {
|
|
1725
|
+
readonly type: "error";
|
|
1726
|
+
readonly name: "InscriptionAlreadyRemoved";
|
|
1727
|
+
readonly inputs: readonly [{
|
|
1728
|
+
readonly name: "tokenId";
|
|
1729
|
+
readonly type: "uint256";
|
|
1730
|
+
readonly internalType: "uint256";
|
|
1731
|
+
}, {
|
|
1732
|
+
readonly name: "index";
|
|
1733
|
+
readonly type: "uint256";
|
|
1734
|
+
readonly internalType: "uint256";
|
|
1735
|
+
}];
|
|
1736
|
+
}, {
|
|
1737
|
+
readonly type: "error";
|
|
1738
|
+
readonly name: "InscriptionNotFound";
|
|
1739
|
+
readonly inputs: readonly [{
|
|
1740
|
+
readonly name: "tokenId";
|
|
1741
|
+
readonly type: "uint256";
|
|
1742
|
+
readonly internalType: "uint256";
|
|
1743
|
+
}, {
|
|
1744
|
+
readonly name: "index";
|
|
1745
|
+
readonly type: "uint256";
|
|
1746
|
+
readonly internalType: "uint256";
|
|
1747
|
+
}];
|
|
1748
|
+
}, {
|
|
1749
|
+
readonly type: "error";
|
|
1750
|
+
readonly name: "InsufficientFee";
|
|
1751
|
+
readonly inputs: readonly [{
|
|
1752
|
+
readonly name: "required";
|
|
1753
|
+
readonly type: "uint256";
|
|
1754
|
+
readonly internalType: "uint256";
|
|
1755
|
+
}, {
|
|
1756
|
+
readonly name: "sent";
|
|
1757
|
+
readonly type: "uint256";
|
|
1758
|
+
readonly internalType: "uint256";
|
|
1759
|
+
}];
|
|
1760
|
+
}, {
|
|
1761
|
+
readonly type: "error";
|
|
1762
|
+
readonly name: "InvalidInitialization";
|
|
1763
|
+
readonly inputs: readonly [];
|
|
1764
|
+
}, {
|
|
1765
|
+
readonly type: "error";
|
|
1766
|
+
readonly name: "NoFeesToWithdraw";
|
|
1767
|
+
readonly inputs: readonly [];
|
|
1768
|
+
}, {
|
|
1769
|
+
readonly type: "error";
|
|
1770
|
+
readonly name: "NotInitializing";
|
|
1771
|
+
readonly inputs: readonly [];
|
|
1772
|
+
}, {
|
|
1773
|
+
readonly type: "error";
|
|
1774
|
+
readonly name: "NotInkdHolder";
|
|
1775
|
+
readonly inputs: readonly [];
|
|
1776
|
+
}, {
|
|
1777
|
+
readonly type: "error";
|
|
1778
|
+
readonly name: "NotTokenOwner";
|
|
1779
|
+
readonly inputs: readonly [{
|
|
1780
|
+
readonly name: "tokenId";
|
|
1781
|
+
readonly type: "uint256";
|
|
1782
|
+
readonly internalType: "uint256";
|
|
1783
|
+
}, {
|
|
1784
|
+
readonly name: "caller";
|
|
1785
|
+
readonly type: "address";
|
|
1786
|
+
readonly internalType: "address";
|
|
1787
|
+
}];
|
|
1788
|
+
}, {
|
|
1789
|
+
readonly type: "error";
|
|
1790
|
+
readonly name: "OwnableInvalidOwner";
|
|
1791
|
+
readonly inputs: readonly [{
|
|
1792
|
+
readonly name: "owner";
|
|
1793
|
+
readonly type: "address";
|
|
1794
|
+
readonly internalType: "address";
|
|
1795
|
+
}];
|
|
1796
|
+
}, {
|
|
1797
|
+
readonly type: "error";
|
|
1798
|
+
readonly name: "OwnableUnauthorizedAccount";
|
|
1799
|
+
readonly inputs: readonly [{
|
|
1800
|
+
readonly name: "account";
|
|
1801
|
+
readonly type: "address";
|
|
1802
|
+
readonly internalType: "address";
|
|
1803
|
+
}];
|
|
1804
|
+
}, {
|
|
1805
|
+
readonly type: "error";
|
|
1806
|
+
readonly name: "ReentrancyGuardReentrantCall";
|
|
1807
|
+
readonly inputs: readonly [];
|
|
1808
|
+
}, {
|
|
1809
|
+
readonly type: "error";
|
|
1810
|
+
readonly name: "TooManyGrants";
|
|
1811
|
+
readonly inputs: readonly [{
|
|
1812
|
+
readonly name: "tokenId";
|
|
1813
|
+
readonly type: "uint256";
|
|
1814
|
+
readonly internalType: "uint256";
|
|
1815
|
+
}];
|
|
1816
|
+
}, {
|
|
1817
|
+
readonly type: "error";
|
|
1818
|
+
readonly name: "TransferFailed";
|
|
1819
|
+
readonly inputs: readonly [];
|
|
1820
|
+
}, {
|
|
1821
|
+
readonly type: "error";
|
|
1822
|
+
readonly name: "UUPSUnauthorizedCallContext";
|
|
1823
|
+
readonly inputs: readonly [];
|
|
1824
|
+
}, {
|
|
1825
|
+
readonly type: "error";
|
|
1826
|
+
readonly name: "UUPSUnsupportedProxiableUUID";
|
|
1827
|
+
readonly inputs: readonly [{
|
|
1828
|
+
readonly name: "slot";
|
|
1829
|
+
readonly type: "bytes32";
|
|
1830
|
+
readonly internalType: "bytes32";
|
|
1831
|
+
}];
|
|
1832
|
+
}, {
|
|
1833
|
+
readonly type: "error";
|
|
1834
|
+
readonly name: "ZeroAddress";
|
|
1835
|
+
readonly inputs: readonly [];
|
|
1836
|
+
}];
|
|
1837
|
+
export declare const INKD_REGISTRY_ABI: readonly [{
|
|
1838
|
+
readonly type: "function";
|
|
1839
|
+
readonly name: "UPGRADE_INTERFACE_VERSION";
|
|
1840
|
+
readonly inputs: readonly [];
|
|
1841
|
+
readonly outputs: readonly [{
|
|
1842
|
+
readonly name: "";
|
|
1843
|
+
readonly type: "string";
|
|
1844
|
+
readonly internalType: "string";
|
|
1845
|
+
}];
|
|
1846
|
+
readonly stateMutability: "view";
|
|
1847
|
+
}, {
|
|
1848
|
+
readonly type: "function";
|
|
1849
|
+
readonly name: "addTags";
|
|
1850
|
+
readonly inputs: readonly [{
|
|
1851
|
+
readonly name: "tokenId";
|
|
1852
|
+
readonly type: "uint256";
|
|
1853
|
+
readonly internalType: "uint256";
|
|
1854
|
+
}, {
|
|
1855
|
+
readonly name: "inscriptionIndex";
|
|
1856
|
+
readonly type: "uint256";
|
|
1857
|
+
readonly internalType: "uint256";
|
|
1858
|
+
}, {
|
|
1859
|
+
readonly name: "tags";
|
|
1860
|
+
readonly type: "string[]";
|
|
1861
|
+
readonly internalType: "string[]";
|
|
1862
|
+
}];
|
|
1863
|
+
readonly outputs: readonly [];
|
|
1864
|
+
readonly stateMutability: "nonpayable";
|
|
1865
|
+
}, {
|
|
1866
|
+
readonly type: "function";
|
|
1867
|
+
readonly name: "buyToken";
|
|
1868
|
+
readonly inputs: readonly [{
|
|
1869
|
+
readonly name: "tokenId";
|
|
1870
|
+
readonly type: "uint256";
|
|
1871
|
+
readonly internalType: "uint256";
|
|
1872
|
+
}];
|
|
1873
|
+
readonly outputs: readonly [];
|
|
1874
|
+
readonly stateMutability: "payable";
|
|
1875
|
+
}, {
|
|
1876
|
+
readonly type: "function";
|
|
1877
|
+
readonly name: "cancelListing";
|
|
1878
|
+
readonly inputs: readonly [{
|
|
1879
|
+
readonly name: "tokenId";
|
|
1880
|
+
readonly type: "uint256";
|
|
1881
|
+
readonly internalType: "uint256";
|
|
1882
|
+
}];
|
|
1883
|
+
readonly outputs: readonly [];
|
|
1884
|
+
readonly stateMutability: "nonpayable";
|
|
1885
|
+
}, {
|
|
1886
|
+
readonly type: "function";
|
|
1887
|
+
readonly name: "getActiveListings";
|
|
1888
|
+
readonly inputs: readonly [{
|
|
1889
|
+
readonly name: "offset";
|
|
1890
|
+
readonly type: "uint256";
|
|
1891
|
+
readonly internalType: "uint256";
|
|
1892
|
+
}, {
|
|
1893
|
+
readonly name: "limit";
|
|
1894
|
+
readonly type: "uint256";
|
|
1895
|
+
readonly internalType: "uint256";
|
|
1896
|
+
}];
|
|
1897
|
+
readonly outputs: readonly [{
|
|
1898
|
+
readonly name: "result";
|
|
1899
|
+
readonly type: "tuple[]";
|
|
1900
|
+
readonly internalType: "struct InkdRegistry.Listing[]";
|
|
1901
|
+
readonly components: readonly [{
|
|
1902
|
+
readonly name: "tokenId";
|
|
1903
|
+
readonly type: "uint256";
|
|
1904
|
+
readonly internalType: "uint256";
|
|
1905
|
+
}, {
|
|
1906
|
+
readonly name: "seller";
|
|
1907
|
+
readonly type: "address";
|
|
1908
|
+
readonly internalType: "address";
|
|
1909
|
+
}, {
|
|
1910
|
+
readonly name: "price";
|
|
1911
|
+
readonly type: "uint256";
|
|
1912
|
+
readonly internalType: "uint256";
|
|
1913
|
+
}, {
|
|
1914
|
+
readonly name: "listedAt";
|
|
1915
|
+
readonly type: "uint256";
|
|
1916
|
+
readonly internalType: "uint256";
|
|
1917
|
+
}, {
|
|
1918
|
+
readonly name: "active";
|
|
1919
|
+
readonly type: "bool";
|
|
1920
|
+
readonly internalType: "bool";
|
|
1921
|
+
}];
|
|
1922
|
+
}];
|
|
1923
|
+
readonly stateMutability: "view";
|
|
1924
|
+
}, {
|
|
1925
|
+
readonly type: "function";
|
|
1926
|
+
readonly name: "getInscriptionTags";
|
|
1927
|
+
readonly inputs: readonly [{
|
|
1928
|
+
readonly name: "tokenId";
|
|
1929
|
+
readonly type: "uint256";
|
|
1930
|
+
readonly internalType: "uint256";
|
|
1931
|
+
}, {
|
|
1932
|
+
readonly name: "inscriptionIndex";
|
|
1933
|
+
readonly type: "uint256";
|
|
1934
|
+
readonly internalType: "uint256";
|
|
1935
|
+
}];
|
|
1936
|
+
readonly outputs: readonly [{
|
|
1937
|
+
readonly name: "";
|
|
1938
|
+
readonly type: "string[]";
|
|
1939
|
+
readonly internalType: "string[]";
|
|
1940
|
+
}];
|
|
1941
|
+
readonly stateMutability: "view";
|
|
1942
|
+
}, {
|
|
1943
|
+
readonly type: "function";
|
|
1944
|
+
readonly name: "getPublicTokens";
|
|
1945
|
+
readonly inputs: readonly [{
|
|
1946
|
+
readonly name: "offset";
|
|
1947
|
+
readonly type: "uint256";
|
|
1948
|
+
readonly internalType: "uint256";
|
|
1949
|
+
}, {
|
|
1950
|
+
readonly name: "limit";
|
|
1951
|
+
readonly type: "uint256";
|
|
1952
|
+
readonly internalType: "uint256";
|
|
1953
|
+
}];
|
|
1954
|
+
readonly outputs: readonly [{
|
|
1955
|
+
readonly name: "tokenIds";
|
|
1956
|
+
readonly type: "uint256[]";
|
|
1957
|
+
readonly internalType: "uint256[]";
|
|
1958
|
+
}];
|
|
1959
|
+
readonly stateMutability: "view";
|
|
1960
|
+
}, {
|
|
1961
|
+
readonly type: "function";
|
|
1962
|
+
readonly name: "getStats";
|
|
1963
|
+
readonly inputs: readonly [];
|
|
1964
|
+
readonly outputs: readonly [{
|
|
1965
|
+
readonly name: "_totalTokens";
|
|
1966
|
+
readonly type: "uint256";
|
|
1967
|
+
readonly internalType: "uint256";
|
|
1968
|
+
}, {
|
|
1969
|
+
readonly name: "_totalInscriptions";
|
|
1970
|
+
readonly type: "uint256";
|
|
1971
|
+
readonly internalType: "uint256";
|
|
1972
|
+
}, {
|
|
1973
|
+
readonly name: "_totalVolume";
|
|
1974
|
+
readonly type: "uint256";
|
|
1975
|
+
readonly internalType: "uint256";
|
|
1976
|
+
}, {
|
|
1977
|
+
readonly name: "_totalSales";
|
|
1978
|
+
readonly type: "uint256";
|
|
1979
|
+
readonly internalType: "uint256";
|
|
1980
|
+
}];
|
|
1981
|
+
readonly stateMutability: "view";
|
|
1982
|
+
}, {
|
|
1983
|
+
readonly type: "function";
|
|
1984
|
+
readonly name: "indexContentType";
|
|
1985
|
+
readonly inputs: readonly [{
|
|
1986
|
+
readonly name: "tokenId";
|
|
1987
|
+
readonly type: "uint256";
|
|
1988
|
+
readonly internalType: "uint256";
|
|
1989
|
+
}, {
|
|
1990
|
+
readonly name: "contentType";
|
|
1991
|
+
readonly type: "string";
|
|
1992
|
+
readonly internalType: "string";
|
|
1993
|
+
}];
|
|
1994
|
+
readonly outputs: readonly [];
|
|
1995
|
+
readonly stateMutability: "nonpayable";
|
|
1996
|
+
}, {
|
|
1997
|
+
readonly type: "function";
|
|
1998
|
+
readonly name: "initialize";
|
|
1999
|
+
readonly inputs: readonly [{
|
|
2000
|
+
readonly name: "_owner";
|
|
2001
|
+
readonly type: "address";
|
|
2002
|
+
readonly internalType: "address";
|
|
2003
|
+
}, {
|
|
2004
|
+
readonly name: "_inkdToken";
|
|
2005
|
+
readonly type: "address";
|
|
2006
|
+
readonly internalType: "address";
|
|
2007
|
+
}];
|
|
2008
|
+
readonly outputs: readonly [];
|
|
2009
|
+
readonly stateMutability: "nonpayable";
|
|
2010
|
+
}, {
|
|
2011
|
+
readonly type: "function";
|
|
2012
|
+
readonly name: "inkdToken";
|
|
2013
|
+
readonly inputs: readonly [];
|
|
2014
|
+
readonly outputs: readonly [{
|
|
2015
|
+
readonly name: "";
|
|
2016
|
+
readonly type: "address";
|
|
2017
|
+
readonly internalType: "contract IInkdTokenForRegistry";
|
|
2018
|
+
}];
|
|
2019
|
+
readonly stateMutability: "view";
|
|
2020
|
+
}, {
|
|
2021
|
+
readonly type: "function";
|
|
2022
|
+
readonly name: "listForSale";
|
|
2023
|
+
readonly inputs: readonly [{
|
|
2024
|
+
readonly name: "tokenId";
|
|
2025
|
+
readonly type: "uint256";
|
|
2026
|
+
readonly internalType: "uint256";
|
|
2027
|
+
}, {
|
|
2028
|
+
readonly name: "price";
|
|
2029
|
+
readonly type: "uint256";
|
|
2030
|
+
readonly internalType: "uint256";
|
|
2031
|
+
}];
|
|
2032
|
+
readonly outputs: readonly [];
|
|
2033
|
+
readonly stateMutability: "nonpayable";
|
|
2034
|
+
}, {
|
|
2035
|
+
readonly type: "function";
|
|
2036
|
+
readonly name: "listings";
|
|
2037
|
+
readonly inputs: readonly [{
|
|
2038
|
+
readonly name: "";
|
|
2039
|
+
readonly type: "uint256";
|
|
2040
|
+
readonly internalType: "uint256";
|
|
2041
|
+
}];
|
|
2042
|
+
readonly outputs: readonly [{
|
|
2043
|
+
readonly name: "tokenId";
|
|
2044
|
+
readonly type: "uint256";
|
|
2045
|
+
readonly internalType: "uint256";
|
|
2046
|
+
}, {
|
|
2047
|
+
readonly name: "seller";
|
|
2048
|
+
readonly type: "address";
|
|
2049
|
+
readonly internalType: "address";
|
|
2050
|
+
}, {
|
|
2051
|
+
readonly name: "price";
|
|
2052
|
+
readonly type: "uint256";
|
|
2053
|
+
readonly internalType: "uint256";
|
|
2054
|
+
}, {
|
|
2055
|
+
readonly name: "listedAt";
|
|
2056
|
+
readonly type: "uint256";
|
|
2057
|
+
readonly internalType: "uint256";
|
|
2058
|
+
}, {
|
|
2059
|
+
readonly name: "active";
|
|
2060
|
+
readonly type: "bool";
|
|
2061
|
+
readonly internalType: "bool";
|
|
2062
|
+
}];
|
|
2063
|
+
readonly stateMutability: "view";
|
|
2064
|
+
}, {
|
|
2065
|
+
readonly type: "function";
|
|
2066
|
+
readonly name: "marketplaceFeeBalance";
|
|
2067
|
+
readonly inputs: readonly [];
|
|
2068
|
+
readonly outputs: readonly [{
|
|
2069
|
+
readonly name: "";
|
|
2070
|
+
readonly type: "uint256";
|
|
2071
|
+
readonly internalType: "uint256";
|
|
2072
|
+
}];
|
|
2073
|
+
readonly stateMutability: "view";
|
|
2074
|
+
}, {
|
|
2075
|
+
readonly type: "function";
|
|
2076
|
+
readonly name: "marketplaceFeeBps";
|
|
2077
|
+
readonly inputs: readonly [];
|
|
2078
|
+
readonly outputs: readonly [{
|
|
2079
|
+
readonly name: "";
|
|
2080
|
+
readonly type: "uint256";
|
|
2081
|
+
readonly internalType: "uint256";
|
|
2082
|
+
}];
|
|
2083
|
+
readonly stateMutability: "view";
|
|
2084
|
+
}, {
|
|
2085
|
+
readonly type: "function";
|
|
2086
|
+
readonly name: "owner";
|
|
2087
|
+
readonly inputs: readonly [];
|
|
2088
|
+
readonly outputs: readonly [{
|
|
2089
|
+
readonly name: "";
|
|
2090
|
+
readonly type: "address";
|
|
2091
|
+
readonly internalType: "address";
|
|
2092
|
+
}];
|
|
2093
|
+
readonly stateMutability: "view";
|
|
2094
|
+
}, {
|
|
2095
|
+
readonly type: "function";
|
|
2096
|
+
readonly name: "proxiableUUID";
|
|
2097
|
+
readonly inputs: readonly [];
|
|
2098
|
+
readonly outputs: readonly [{
|
|
2099
|
+
readonly name: "";
|
|
2100
|
+
readonly type: "bytes32";
|
|
2101
|
+
readonly internalType: "bytes32";
|
|
2102
|
+
}];
|
|
2103
|
+
readonly stateMutability: "view";
|
|
2104
|
+
}, {
|
|
2105
|
+
readonly type: "function";
|
|
2106
|
+
readonly name: "registerToken";
|
|
2107
|
+
readonly inputs: readonly [{
|
|
2108
|
+
readonly name: "tokenId";
|
|
2109
|
+
readonly type: "uint256";
|
|
2110
|
+
readonly internalType: "uint256";
|
|
2111
|
+
}, {
|
|
2112
|
+
readonly name: "isPublic";
|
|
2113
|
+
readonly type: "bool";
|
|
2114
|
+
readonly internalType: "bool";
|
|
2115
|
+
}, {
|
|
2116
|
+
readonly name: "tags";
|
|
2117
|
+
readonly type: "string[]";
|
|
2118
|
+
readonly internalType: "string[]";
|
|
2119
|
+
}];
|
|
2120
|
+
readonly outputs: readonly [];
|
|
2121
|
+
readonly stateMutability: "nonpayable";
|
|
2122
|
+
}, {
|
|
2123
|
+
readonly type: "function";
|
|
2124
|
+
readonly name: "registrations";
|
|
2125
|
+
readonly inputs: readonly [{
|
|
2126
|
+
readonly name: "";
|
|
2127
|
+
readonly type: "uint256";
|
|
2128
|
+
readonly internalType: "uint256";
|
|
2129
|
+
}];
|
|
2130
|
+
readonly outputs: readonly [{
|
|
2131
|
+
readonly name: "tokenId";
|
|
2132
|
+
readonly type: "uint256";
|
|
2133
|
+
readonly internalType: "uint256";
|
|
2134
|
+
}, {
|
|
2135
|
+
readonly name: "owner";
|
|
2136
|
+
readonly type: "address";
|
|
2137
|
+
readonly internalType: "address";
|
|
2138
|
+
}, {
|
|
2139
|
+
readonly name: "isPublic";
|
|
2140
|
+
readonly type: "bool";
|
|
2141
|
+
readonly internalType: "bool";
|
|
2142
|
+
}, {
|
|
2143
|
+
readonly name: "registeredAt";
|
|
2144
|
+
readonly type: "uint256";
|
|
2145
|
+
readonly internalType: "uint256";
|
|
2146
|
+
}];
|
|
2147
|
+
readonly stateMutability: "view";
|
|
2148
|
+
}, {
|
|
2149
|
+
readonly type: "function";
|
|
2150
|
+
readonly name: "renounceOwnership";
|
|
2151
|
+
readonly inputs: readonly [];
|
|
2152
|
+
readonly outputs: readonly [];
|
|
2153
|
+
readonly stateMutability: "nonpayable";
|
|
2154
|
+
}, {
|
|
2155
|
+
readonly type: "function";
|
|
2156
|
+
readonly name: "searchByContentType";
|
|
2157
|
+
readonly inputs: readonly [{
|
|
2158
|
+
readonly name: "contentType";
|
|
2159
|
+
readonly type: "string";
|
|
2160
|
+
readonly internalType: "string";
|
|
2161
|
+
}];
|
|
2162
|
+
readonly outputs: readonly [{
|
|
2163
|
+
readonly name: "tokenIds";
|
|
2164
|
+
readonly type: "uint256[]";
|
|
2165
|
+
readonly internalType: "uint256[]";
|
|
2166
|
+
}];
|
|
2167
|
+
readonly stateMutability: "view";
|
|
2168
|
+
}, {
|
|
2169
|
+
readonly type: "function";
|
|
2170
|
+
readonly name: "searchByOwner";
|
|
2171
|
+
readonly inputs: readonly [{
|
|
2172
|
+
readonly name: "walletOwner";
|
|
2173
|
+
readonly type: "address";
|
|
2174
|
+
readonly internalType: "address";
|
|
2175
|
+
}];
|
|
2176
|
+
readonly outputs: readonly [{
|
|
2177
|
+
readonly name: "tokenIds";
|
|
2178
|
+
readonly type: "uint256[]";
|
|
2179
|
+
readonly internalType: "uint256[]";
|
|
2180
|
+
}];
|
|
2181
|
+
readonly stateMutability: "view";
|
|
2182
|
+
}, {
|
|
2183
|
+
readonly type: "function";
|
|
2184
|
+
readonly name: "searchByTag";
|
|
2185
|
+
readonly inputs: readonly [{
|
|
2186
|
+
readonly name: "tag";
|
|
2187
|
+
readonly type: "string";
|
|
2188
|
+
readonly internalType: "string";
|
|
2189
|
+
}];
|
|
2190
|
+
readonly outputs: readonly [{
|
|
2191
|
+
readonly name: "tokenIds";
|
|
2192
|
+
readonly type: "uint256[]";
|
|
2193
|
+
readonly internalType: "uint256[]";
|
|
2194
|
+
}];
|
|
2195
|
+
readonly stateMutability: "view";
|
|
2196
|
+
}, {
|
|
2197
|
+
readonly type: "function";
|
|
2198
|
+
readonly name: "setInkdToken";
|
|
2199
|
+
readonly inputs: readonly [{
|
|
2200
|
+
readonly name: "_inkdToken";
|
|
2201
|
+
readonly type: "address";
|
|
2202
|
+
readonly internalType: "address";
|
|
2203
|
+
}];
|
|
2204
|
+
readonly outputs: readonly [];
|
|
2205
|
+
readonly stateMutability: "nonpayable";
|
|
2206
|
+
}, {
|
|
2207
|
+
readonly type: "function";
|
|
2208
|
+
readonly name: "setMarketplaceFee";
|
|
2209
|
+
readonly inputs: readonly [{
|
|
2210
|
+
readonly name: "bps";
|
|
2211
|
+
readonly type: "uint256";
|
|
2212
|
+
readonly internalType: "uint256";
|
|
2213
|
+
}];
|
|
2214
|
+
readonly outputs: readonly [];
|
|
2215
|
+
readonly stateMutability: "nonpayable";
|
|
2216
|
+
}, {
|
|
2217
|
+
readonly type: "function";
|
|
2218
|
+
readonly name: "totalRegisteredTokens";
|
|
2219
|
+
readonly inputs: readonly [];
|
|
2220
|
+
readonly outputs: readonly [{
|
|
2221
|
+
readonly name: "";
|
|
2222
|
+
readonly type: "uint256";
|
|
2223
|
+
readonly internalType: "uint256";
|
|
2224
|
+
}];
|
|
2225
|
+
readonly stateMutability: "view";
|
|
2226
|
+
}, {
|
|
2227
|
+
readonly type: "function";
|
|
2228
|
+
readonly name: "totalSales";
|
|
2229
|
+
readonly inputs: readonly [];
|
|
2230
|
+
readonly outputs: readonly [{
|
|
2231
|
+
readonly name: "";
|
|
2232
|
+
readonly type: "uint256";
|
|
2233
|
+
readonly internalType: "uint256";
|
|
2234
|
+
}];
|
|
2235
|
+
readonly stateMutability: "view";
|
|
2236
|
+
}, {
|
|
2237
|
+
readonly type: "function";
|
|
2238
|
+
readonly name: "totalTrackedInscriptions";
|
|
2239
|
+
readonly inputs: readonly [];
|
|
2240
|
+
readonly outputs: readonly [{
|
|
2241
|
+
readonly name: "";
|
|
2242
|
+
readonly type: "uint256";
|
|
2243
|
+
readonly internalType: "uint256";
|
|
2244
|
+
}];
|
|
2245
|
+
readonly stateMutability: "view";
|
|
2246
|
+
}, {
|
|
2247
|
+
readonly type: "function";
|
|
2248
|
+
readonly name: "totalVolume";
|
|
2249
|
+
readonly inputs: readonly [];
|
|
2250
|
+
readonly outputs: readonly [{
|
|
2251
|
+
readonly name: "";
|
|
2252
|
+
readonly type: "uint256";
|
|
2253
|
+
readonly internalType: "uint256";
|
|
2254
|
+
}];
|
|
2255
|
+
readonly stateMutability: "view";
|
|
2256
|
+
}, {
|
|
2257
|
+
readonly type: "function";
|
|
2258
|
+
readonly name: "transferOwnership";
|
|
2259
|
+
readonly inputs: readonly [{
|
|
2260
|
+
readonly name: "newOwner";
|
|
2261
|
+
readonly type: "address";
|
|
2262
|
+
readonly internalType: "address";
|
|
2263
|
+
}];
|
|
2264
|
+
readonly outputs: readonly [];
|
|
2265
|
+
readonly stateMutability: "nonpayable";
|
|
2266
|
+
}, {
|
|
2267
|
+
readonly type: "function";
|
|
2268
|
+
readonly name: "updateRegistration";
|
|
2269
|
+
readonly inputs: readonly [{
|
|
2270
|
+
readonly name: "tokenId";
|
|
2271
|
+
readonly type: "uint256";
|
|
2272
|
+
readonly internalType: "uint256";
|
|
2273
|
+
}, {
|
|
2274
|
+
readonly name: "isPublic";
|
|
2275
|
+
readonly type: "bool";
|
|
2276
|
+
readonly internalType: "bool";
|
|
2277
|
+
}];
|
|
2278
|
+
readonly outputs: readonly [];
|
|
2279
|
+
readonly stateMutability: "nonpayable";
|
|
2280
|
+
}, {
|
|
2281
|
+
readonly type: "function";
|
|
2282
|
+
readonly name: "upgradeToAndCall";
|
|
2283
|
+
readonly inputs: readonly [{
|
|
2284
|
+
readonly name: "newImplementation";
|
|
2285
|
+
readonly type: "address";
|
|
2286
|
+
readonly internalType: "address";
|
|
2287
|
+
}, {
|
|
2288
|
+
readonly name: "data";
|
|
2289
|
+
readonly type: "bytes";
|
|
2290
|
+
readonly internalType: "bytes";
|
|
2291
|
+
}];
|
|
2292
|
+
readonly outputs: readonly [];
|
|
2293
|
+
readonly stateMutability: "payable";
|
|
2294
|
+
}, {
|
|
2295
|
+
readonly type: "function";
|
|
2296
|
+
readonly name: "withdrawFees";
|
|
2297
|
+
readonly inputs: readonly [];
|
|
2298
|
+
readonly outputs: readonly [];
|
|
2299
|
+
readonly stateMutability: "nonpayable";
|
|
2300
|
+
}, {
|
|
2301
|
+
readonly type: "event";
|
|
2302
|
+
readonly name: "FeesWithdrawn";
|
|
2303
|
+
readonly inputs: readonly [{
|
|
2304
|
+
readonly name: "to";
|
|
2305
|
+
readonly type: "address";
|
|
2306
|
+
readonly indexed: true;
|
|
2307
|
+
readonly internalType: "address";
|
|
2308
|
+
}, {
|
|
2309
|
+
readonly name: "amount";
|
|
2310
|
+
readonly type: "uint256";
|
|
2311
|
+
readonly indexed: false;
|
|
2312
|
+
readonly internalType: "uint256";
|
|
2313
|
+
}];
|
|
2314
|
+
readonly anonymous: false;
|
|
2315
|
+
}, {
|
|
2316
|
+
readonly type: "event";
|
|
2317
|
+
readonly name: "Initialized";
|
|
2318
|
+
readonly inputs: readonly [{
|
|
2319
|
+
readonly name: "version";
|
|
2320
|
+
readonly type: "uint64";
|
|
2321
|
+
readonly indexed: false;
|
|
2322
|
+
readonly internalType: "uint64";
|
|
2323
|
+
}];
|
|
2324
|
+
readonly anonymous: false;
|
|
2325
|
+
}, {
|
|
2326
|
+
readonly type: "event";
|
|
2327
|
+
readonly name: "ListingCancelled";
|
|
2328
|
+
readonly inputs: readonly [{
|
|
2329
|
+
readonly name: "tokenId";
|
|
2330
|
+
readonly type: "uint256";
|
|
2331
|
+
readonly indexed: true;
|
|
2332
|
+
readonly internalType: "uint256";
|
|
2333
|
+
}];
|
|
2334
|
+
readonly anonymous: false;
|
|
2335
|
+
}, {
|
|
2336
|
+
readonly type: "event";
|
|
2337
|
+
readonly name: "OwnershipTransferred";
|
|
2338
|
+
readonly inputs: readonly [{
|
|
2339
|
+
readonly name: "previousOwner";
|
|
2340
|
+
readonly type: "address";
|
|
2341
|
+
readonly indexed: true;
|
|
2342
|
+
readonly internalType: "address";
|
|
2343
|
+
}, {
|
|
2344
|
+
readonly name: "newOwner";
|
|
2345
|
+
readonly type: "address";
|
|
2346
|
+
readonly indexed: true;
|
|
2347
|
+
readonly internalType: "address";
|
|
2348
|
+
}];
|
|
2349
|
+
readonly anonymous: false;
|
|
2350
|
+
}, {
|
|
2351
|
+
readonly type: "event";
|
|
2352
|
+
readonly name: "RegistrationUpdated";
|
|
2353
|
+
readonly inputs: readonly [{
|
|
2354
|
+
readonly name: "tokenId";
|
|
2355
|
+
readonly type: "uint256";
|
|
2356
|
+
readonly indexed: true;
|
|
2357
|
+
readonly internalType: "uint256";
|
|
2358
|
+
}, {
|
|
2359
|
+
readonly name: "isPublic";
|
|
2360
|
+
readonly type: "bool";
|
|
2361
|
+
readonly indexed: false;
|
|
2362
|
+
readonly internalType: "bool";
|
|
2363
|
+
}];
|
|
2364
|
+
readonly anonymous: false;
|
|
2365
|
+
}, {
|
|
2366
|
+
readonly type: "event";
|
|
2367
|
+
readonly name: "TagsAdded";
|
|
2368
|
+
readonly inputs: readonly [{
|
|
2369
|
+
readonly name: "tokenId";
|
|
2370
|
+
readonly type: "uint256";
|
|
2371
|
+
readonly indexed: true;
|
|
2372
|
+
readonly internalType: "uint256";
|
|
2373
|
+
}, {
|
|
2374
|
+
readonly name: "inscriptionIndex";
|
|
2375
|
+
readonly type: "uint256";
|
|
2376
|
+
readonly indexed: true;
|
|
2377
|
+
readonly internalType: "uint256";
|
|
2378
|
+
}, {
|
|
2379
|
+
readonly name: "tags";
|
|
2380
|
+
readonly type: "string[]";
|
|
2381
|
+
readonly indexed: false;
|
|
2382
|
+
readonly internalType: "string[]";
|
|
2383
|
+
}];
|
|
2384
|
+
readonly anonymous: false;
|
|
2385
|
+
}, {
|
|
2386
|
+
readonly type: "event";
|
|
2387
|
+
readonly name: "TokenListed";
|
|
2388
|
+
readonly inputs: readonly [{
|
|
2389
|
+
readonly name: "tokenId";
|
|
2390
|
+
readonly type: "uint256";
|
|
2391
|
+
readonly indexed: true;
|
|
2392
|
+
readonly internalType: "uint256";
|
|
2393
|
+
}, {
|
|
2394
|
+
readonly name: "seller";
|
|
2395
|
+
readonly type: "address";
|
|
2396
|
+
readonly indexed: true;
|
|
2397
|
+
readonly internalType: "address";
|
|
2398
|
+
}, {
|
|
2399
|
+
readonly name: "price";
|
|
2400
|
+
readonly type: "uint256";
|
|
2401
|
+
readonly indexed: false;
|
|
2402
|
+
readonly internalType: "uint256";
|
|
2403
|
+
}];
|
|
2404
|
+
readonly anonymous: false;
|
|
2405
|
+
}, {
|
|
2406
|
+
readonly type: "event";
|
|
2407
|
+
readonly name: "TokenRegistered";
|
|
2408
|
+
readonly inputs: readonly [{
|
|
2409
|
+
readonly name: "tokenId";
|
|
2410
|
+
readonly type: "uint256";
|
|
2411
|
+
readonly indexed: true;
|
|
2412
|
+
readonly internalType: "uint256";
|
|
2413
|
+
}, {
|
|
2414
|
+
readonly name: "owner";
|
|
2415
|
+
readonly type: "address";
|
|
2416
|
+
readonly indexed: true;
|
|
2417
|
+
readonly internalType: "address";
|
|
2418
|
+
}, {
|
|
2419
|
+
readonly name: "isPublic";
|
|
2420
|
+
readonly type: "bool";
|
|
2421
|
+
readonly indexed: false;
|
|
2422
|
+
readonly internalType: "bool";
|
|
2423
|
+
}];
|
|
2424
|
+
readonly anonymous: false;
|
|
2425
|
+
}, {
|
|
2426
|
+
readonly type: "event";
|
|
2427
|
+
readonly name: "TokenSold";
|
|
2428
|
+
readonly inputs: readonly [{
|
|
2429
|
+
readonly name: "tokenId";
|
|
2430
|
+
readonly type: "uint256";
|
|
2431
|
+
readonly indexed: true;
|
|
2432
|
+
readonly internalType: "uint256";
|
|
2433
|
+
}, {
|
|
2434
|
+
readonly name: "seller";
|
|
2435
|
+
readonly type: "address";
|
|
2436
|
+
readonly indexed: true;
|
|
2437
|
+
readonly internalType: "address";
|
|
2438
|
+
}, {
|
|
2439
|
+
readonly name: "buyer";
|
|
2440
|
+
readonly type: "address";
|
|
2441
|
+
readonly indexed: true;
|
|
2442
|
+
readonly internalType: "address";
|
|
2443
|
+
}, {
|
|
2444
|
+
readonly name: "price";
|
|
2445
|
+
readonly type: "uint256";
|
|
2446
|
+
readonly indexed: false;
|
|
2447
|
+
readonly internalType: "uint256";
|
|
2448
|
+
}, {
|
|
2449
|
+
readonly name: "fee";
|
|
2450
|
+
readonly type: "uint256";
|
|
2451
|
+
readonly indexed: false;
|
|
2452
|
+
readonly internalType: "uint256";
|
|
2453
|
+
}];
|
|
2454
|
+
readonly anonymous: false;
|
|
2455
|
+
}, {
|
|
2456
|
+
readonly type: "event";
|
|
2457
|
+
readonly name: "TokenUnregistered";
|
|
2458
|
+
readonly inputs: readonly [{
|
|
2459
|
+
readonly name: "tokenId";
|
|
2460
|
+
readonly type: "uint256";
|
|
2461
|
+
readonly indexed: true;
|
|
2462
|
+
readonly internalType: "uint256";
|
|
2463
|
+
}];
|
|
2464
|
+
readonly anonymous: false;
|
|
2465
|
+
}, {
|
|
2466
|
+
readonly type: "event";
|
|
2467
|
+
readonly name: "Upgraded";
|
|
2468
|
+
readonly inputs: readonly [{
|
|
2469
|
+
readonly name: "implementation";
|
|
2470
|
+
readonly type: "address";
|
|
2471
|
+
readonly indexed: true;
|
|
2472
|
+
readonly internalType: "address";
|
|
2473
|
+
}];
|
|
2474
|
+
readonly anonymous: false;
|
|
2475
|
+
}, {
|
|
2476
|
+
readonly type: "error";
|
|
2477
|
+
readonly name: "AddressEmptyCode";
|
|
2478
|
+
readonly inputs: readonly [{
|
|
2479
|
+
readonly name: "target";
|
|
2480
|
+
readonly type: "address";
|
|
2481
|
+
readonly internalType: "address";
|
|
2482
|
+
}];
|
|
2483
|
+
}, {
|
|
2484
|
+
readonly type: "error";
|
|
2485
|
+
readonly name: "AlreadyRegistered";
|
|
2486
|
+
readonly inputs: readonly [{
|
|
2487
|
+
readonly name: "tokenId";
|
|
2488
|
+
readonly type: "uint256";
|
|
2489
|
+
readonly internalType: "uint256";
|
|
2490
|
+
}];
|
|
2491
|
+
}, {
|
|
2492
|
+
readonly type: "error";
|
|
2493
|
+
readonly name: "CannotBuyOwnListing";
|
|
2494
|
+
readonly inputs: readonly [];
|
|
2495
|
+
}, {
|
|
2496
|
+
readonly type: "error";
|
|
2497
|
+
readonly name: "ERC1967InvalidImplementation";
|
|
2498
|
+
readonly inputs: readonly [{
|
|
2499
|
+
readonly name: "implementation";
|
|
2500
|
+
readonly type: "address";
|
|
2501
|
+
readonly internalType: "address";
|
|
2502
|
+
}];
|
|
2503
|
+
}, {
|
|
2504
|
+
readonly type: "error";
|
|
2505
|
+
readonly name: "ERC1967NonPayable";
|
|
2506
|
+
readonly inputs: readonly [];
|
|
2507
|
+
}, {
|
|
2508
|
+
readonly type: "error";
|
|
2509
|
+
readonly name: "FailedCall";
|
|
2510
|
+
readonly inputs: readonly [];
|
|
2511
|
+
}, {
|
|
2512
|
+
readonly type: "error";
|
|
2513
|
+
readonly name: "FeeExceedsMax";
|
|
2514
|
+
readonly inputs: readonly [{
|
|
2515
|
+
readonly name: "bps";
|
|
2516
|
+
readonly type: "uint256";
|
|
2517
|
+
readonly internalType: "uint256";
|
|
2518
|
+
}];
|
|
2519
|
+
}, {
|
|
2520
|
+
readonly type: "error";
|
|
2521
|
+
readonly name: "InsufficientPayment";
|
|
2522
|
+
readonly inputs: readonly [{
|
|
2523
|
+
readonly name: "required";
|
|
2524
|
+
readonly type: "uint256";
|
|
2525
|
+
readonly internalType: "uint256";
|
|
2526
|
+
}, {
|
|
2527
|
+
readonly name: "sent";
|
|
2528
|
+
readonly type: "uint256";
|
|
2529
|
+
readonly internalType: "uint256";
|
|
2530
|
+
}];
|
|
2531
|
+
}, {
|
|
2532
|
+
readonly type: "error";
|
|
2533
|
+
readonly name: "InvalidInitialization";
|
|
2534
|
+
readonly inputs: readonly [];
|
|
2535
|
+
}, {
|
|
2536
|
+
readonly type: "error";
|
|
2537
|
+
readonly name: "NoFeesToWithdraw";
|
|
2538
|
+
readonly inputs: readonly [];
|
|
2539
|
+
}, {
|
|
2540
|
+
readonly type: "error";
|
|
2541
|
+
readonly name: "NotInitializing";
|
|
2542
|
+
readonly inputs: readonly [];
|
|
2543
|
+
}, {
|
|
2544
|
+
readonly type: "error";
|
|
2545
|
+
readonly name: "NotInkdHolder";
|
|
2546
|
+
readonly inputs: readonly [];
|
|
2547
|
+
}, {
|
|
2548
|
+
readonly type: "error";
|
|
2549
|
+
readonly name: "NotListed";
|
|
2550
|
+
readonly inputs: readonly [{
|
|
2551
|
+
readonly name: "tokenId";
|
|
2552
|
+
readonly type: "uint256";
|
|
2553
|
+
readonly internalType: "uint256";
|
|
2554
|
+
}];
|
|
2555
|
+
}, {
|
|
2556
|
+
readonly type: "error";
|
|
2557
|
+
readonly name: "NotRegistered";
|
|
2558
|
+
readonly inputs: readonly [{
|
|
2559
|
+
readonly name: "tokenId";
|
|
2560
|
+
readonly type: "uint256";
|
|
2561
|
+
readonly internalType: "uint256";
|
|
2562
|
+
}];
|
|
2563
|
+
}, {
|
|
2564
|
+
readonly type: "error";
|
|
2565
|
+
readonly name: "NotTokenOwner";
|
|
2566
|
+
readonly inputs: readonly [{
|
|
2567
|
+
readonly name: "tokenId";
|
|
2568
|
+
readonly type: "uint256";
|
|
2569
|
+
readonly internalType: "uint256";
|
|
2570
|
+
}, {
|
|
2571
|
+
readonly name: "caller";
|
|
2572
|
+
readonly type: "address";
|
|
2573
|
+
readonly internalType: "address";
|
|
2574
|
+
}];
|
|
2575
|
+
}, {
|
|
2576
|
+
readonly type: "error";
|
|
2577
|
+
readonly name: "OwnableInvalidOwner";
|
|
2578
|
+
readonly inputs: readonly [{
|
|
2579
|
+
readonly name: "owner";
|
|
2580
|
+
readonly type: "address";
|
|
2581
|
+
readonly internalType: "address";
|
|
2582
|
+
}];
|
|
2583
|
+
}, {
|
|
2584
|
+
readonly type: "error";
|
|
2585
|
+
readonly name: "OwnableUnauthorizedAccount";
|
|
2586
|
+
readonly inputs: readonly [{
|
|
2587
|
+
readonly name: "account";
|
|
2588
|
+
readonly type: "address";
|
|
2589
|
+
readonly internalType: "address";
|
|
2590
|
+
}];
|
|
2591
|
+
}, {
|
|
2592
|
+
readonly type: "error";
|
|
2593
|
+
readonly name: "ReentrancyGuardReentrantCall";
|
|
2594
|
+
readonly inputs: readonly [];
|
|
2595
|
+
}, {
|
|
2596
|
+
readonly type: "error";
|
|
2597
|
+
readonly name: "TooManyTags";
|
|
2598
|
+
readonly inputs: readonly [{
|
|
2599
|
+
readonly name: "count";
|
|
2600
|
+
readonly type: "uint256";
|
|
2601
|
+
readonly internalType: "uint256";
|
|
2602
|
+
}, {
|
|
2603
|
+
readonly name: "max";
|
|
2604
|
+
readonly type: "uint256";
|
|
2605
|
+
readonly internalType: "uint256";
|
|
2606
|
+
}];
|
|
2607
|
+
}, {
|
|
2608
|
+
readonly type: "error";
|
|
2609
|
+
readonly name: "TransferFailed";
|
|
2610
|
+
readonly inputs: readonly [];
|
|
2611
|
+
}, {
|
|
2612
|
+
readonly type: "error";
|
|
2613
|
+
readonly name: "UUPSUnauthorizedCallContext";
|
|
2614
|
+
readonly inputs: readonly [];
|
|
2615
|
+
}, {
|
|
2616
|
+
readonly type: "error";
|
|
2617
|
+
readonly name: "UUPSUnsupportedProxiableUUID";
|
|
2618
|
+
readonly inputs: readonly [{
|
|
2619
|
+
readonly name: "slot";
|
|
2620
|
+
readonly type: "bytes32";
|
|
2621
|
+
readonly internalType: "bytes32";
|
|
2622
|
+
}];
|
|
2623
|
+
}, {
|
|
2624
|
+
readonly type: "error";
|
|
2625
|
+
readonly name: "ZeroAddress";
|
|
2626
|
+
readonly inputs: readonly [];
|
|
2627
|
+
}, {
|
|
2628
|
+
readonly type: "error";
|
|
2629
|
+
readonly name: "ZeroPrice";
|
|
2630
|
+
readonly inputs: readonly [];
|
|
2631
|
+
}];
|
|
2632
|
+
//# sourceMappingURL=abi.d.ts.map
|