@gitmyabi/land 1.0.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 +108 -0
- package/contracts/Land_json.d.ts +2110 -0
- package/contracts/Land_json.js +2249 -0
- package/contracts/Land_json.ts +2787 -0
- package/contracts/TransparentUpgradeableProxy_json.d.ts +380 -0
- package/contracts/TransparentUpgradeableProxy_json.js +366 -0
- package/contracts/TransparentUpgradeableProxy_json.ts +510 -0
- package/contracts/index.d.ts +4 -0
- package/contracts/index.js +10 -0
- package/contracts/index.ts +5 -0
- package/index.d.ts +1 -0
- package/index.js +19 -0
- package/package.json +43 -0
|
@@ -0,0 +1,2110 @@
|
|
|
1
|
+
import type { Address, PublicClient, WalletClient } from 'viem';
|
|
2
|
+
/**
|
|
3
|
+
* Land_json ABI
|
|
4
|
+
*
|
|
5
|
+
* This ABI is typed using viem's type system for full type safety.
|
|
6
|
+
*/
|
|
7
|
+
export declare const Land_jsonAbi: readonly [{
|
|
8
|
+
readonly inputs: readonly [{
|
|
9
|
+
readonly internalType: "uint256";
|
|
10
|
+
readonly name: "tokenId";
|
|
11
|
+
readonly type: "uint256";
|
|
12
|
+
}];
|
|
13
|
+
readonly name: "AlreadyMinted";
|
|
14
|
+
readonly type: "error";
|
|
15
|
+
}, {
|
|
16
|
+
readonly inputs: readonly [{
|
|
17
|
+
readonly internalType: "address";
|
|
18
|
+
readonly name: "sender";
|
|
19
|
+
readonly type: "address";
|
|
20
|
+
}, {
|
|
21
|
+
readonly internalType: "uint256";
|
|
22
|
+
readonly name: "tokenId";
|
|
23
|
+
readonly type: "uint256";
|
|
24
|
+
}, {
|
|
25
|
+
readonly internalType: "address";
|
|
26
|
+
readonly name: "owner";
|
|
27
|
+
readonly type: "address";
|
|
28
|
+
}];
|
|
29
|
+
readonly name: "ERC721IncorrectOwner";
|
|
30
|
+
readonly type: "error";
|
|
31
|
+
}, {
|
|
32
|
+
readonly inputs: readonly [{
|
|
33
|
+
readonly internalType: "address";
|
|
34
|
+
readonly name: "operator";
|
|
35
|
+
readonly type: "address";
|
|
36
|
+
}, {
|
|
37
|
+
readonly internalType: "uint256";
|
|
38
|
+
readonly name: "tokenId";
|
|
39
|
+
readonly type: "uint256";
|
|
40
|
+
}];
|
|
41
|
+
readonly name: "ERC721InsufficientApproval";
|
|
42
|
+
readonly type: "error";
|
|
43
|
+
}, {
|
|
44
|
+
readonly inputs: readonly [{
|
|
45
|
+
readonly internalType: "address";
|
|
46
|
+
readonly name: "approver";
|
|
47
|
+
readonly type: "address";
|
|
48
|
+
}];
|
|
49
|
+
readonly name: "ERC721InvalidApprover";
|
|
50
|
+
readonly type: "error";
|
|
51
|
+
}, {
|
|
52
|
+
readonly inputs: readonly [{
|
|
53
|
+
readonly internalType: "address";
|
|
54
|
+
readonly name: "operator";
|
|
55
|
+
readonly type: "address";
|
|
56
|
+
}];
|
|
57
|
+
readonly name: "ERC721InvalidOperator";
|
|
58
|
+
readonly type: "error";
|
|
59
|
+
}, {
|
|
60
|
+
readonly inputs: readonly [{
|
|
61
|
+
readonly internalType: "address";
|
|
62
|
+
readonly name: "owner";
|
|
63
|
+
readonly type: "address";
|
|
64
|
+
}];
|
|
65
|
+
readonly name: "ERC721InvalidOwner";
|
|
66
|
+
readonly type: "error";
|
|
67
|
+
}, {
|
|
68
|
+
readonly inputs: readonly [{
|
|
69
|
+
readonly internalType: "address";
|
|
70
|
+
readonly name: "receiver";
|
|
71
|
+
readonly type: "address";
|
|
72
|
+
}];
|
|
73
|
+
readonly name: "ERC721InvalidReceiver";
|
|
74
|
+
readonly type: "error";
|
|
75
|
+
}, {
|
|
76
|
+
readonly inputs: readonly [{
|
|
77
|
+
readonly internalType: "address";
|
|
78
|
+
readonly name: "sender";
|
|
79
|
+
readonly type: "address";
|
|
80
|
+
}];
|
|
81
|
+
readonly name: "ERC721InvalidSender";
|
|
82
|
+
readonly type: "error";
|
|
83
|
+
}, {
|
|
84
|
+
readonly inputs: readonly [{
|
|
85
|
+
readonly internalType: "uint256";
|
|
86
|
+
readonly name: "tokenId";
|
|
87
|
+
readonly type: "uint256";
|
|
88
|
+
}];
|
|
89
|
+
readonly name: "ERC721NonexistentToken";
|
|
90
|
+
readonly type: "error";
|
|
91
|
+
}, {
|
|
92
|
+
readonly inputs: readonly [];
|
|
93
|
+
readonly name: "InvalidAddress";
|
|
94
|
+
readonly type: "error";
|
|
95
|
+
}, {
|
|
96
|
+
readonly inputs: readonly [];
|
|
97
|
+
readonly name: "InvalidArgument";
|
|
98
|
+
readonly type: "error";
|
|
99
|
+
}, {
|
|
100
|
+
readonly inputs: readonly [{
|
|
101
|
+
readonly internalType: "uint256";
|
|
102
|
+
readonly name: "size";
|
|
103
|
+
readonly type: "uint256";
|
|
104
|
+
}, {
|
|
105
|
+
readonly internalType: "uint256";
|
|
106
|
+
readonly name: "x";
|
|
107
|
+
readonly type: "uint256";
|
|
108
|
+
}, {
|
|
109
|
+
readonly internalType: "uint256";
|
|
110
|
+
readonly name: "y";
|
|
111
|
+
readonly type: "uint256";
|
|
112
|
+
}];
|
|
113
|
+
readonly name: "InvalidCoordinates";
|
|
114
|
+
readonly type: "error";
|
|
115
|
+
}, {
|
|
116
|
+
readonly inputs: readonly [];
|
|
117
|
+
readonly name: "InvalidInitialization";
|
|
118
|
+
readonly type: "error";
|
|
119
|
+
}, {
|
|
120
|
+
readonly inputs: readonly [];
|
|
121
|
+
readonly name: "InvalidLength";
|
|
122
|
+
readonly type: "error";
|
|
123
|
+
}, {
|
|
124
|
+
readonly inputs: readonly [];
|
|
125
|
+
readonly name: "NotInitializing";
|
|
126
|
+
readonly type: "error";
|
|
127
|
+
}, {
|
|
128
|
+
readonly inputs: readonly [{
|
|
129
|
+
readonly internalType: "uint256";
|
|
130
|
+
readonly name: "x";
|
|
131
|
+
readonly type: "uint256";
|
|
132
|
+
}, {
|
|
133
|
+
readonly internalType: "uint256";
|
|
134
|
+
readonly name: "y";
|
|
135
|
+
readonly type: "uint256";
|
|
136
|
+
}];
|
|
137
|
+
readonly name: "NotOwner";
|
|
138
|
+
readonly type: "error";
|
|
139
|
+
}, {
|
|
140
|
+
readonly inputs: readonly [];
|
|
141
|
+
readonly name: "OnlyAdmin";
|
|
142
|
+
readonly type: "error";
|
|
143
|
+
}, {
|
|
144
|
+
readonly inputs: readonly [];
|
|
145
|
+
readonly name: "OperatorNotAllowed";
|
|
146
|
+
readonly type: "error";
|
|
147
|
+
}, {
|
|
148
|
+
readonly anonymous: false;
|
|
149
|
+
readonly inputs: readonly [{
|
|
150
|
+
readonly indexed: true;
|
|
151
|
+
readonly internalType: "address";
|
|
152
|
+
readonly name: "oldAdmin";
|
|
153
|
+
readonly type: "address";
|
|
154
|
+
}, {
|
|
155
|
+
readonly indexed: true;
|
|
156
|
+
readonly internalType: "address";
|
|
157
|
+
readonly name: "newAdmin";
|
|
158
|
+
readonly type: "address";
|
|
159
|
+
}];
|
|
160
|
+
readonly name: "AdminChanged";
|
|
161
|
+
readonly type: "event";
|
|
162
|
+
}, {
|
|
163
|
+
readonly anonymous: false;
|
|
164
|
+
readonly inputs: readonly [{
|
|
165
|
+
readonly indexed: true;
|
|
166
|
+
readonly internalType: "address";
|
|
167
|
+
readonly name: "owner";
|
|
168
|
+
readonly type: "address";
|
|
169
|
+
}, {
|
|
170
|
+
readonly indexed: true;
|
|
171
|
+
readonly internalType: "address";
|
|
172
|
+
readonly name: "approved";
|
|
173
|
+
readonly type: "address";
|
|
174
|
+
}, {
|
|
175
|
+
readonly indexed: true;
|
|
176
|
+
readonly internalType: "uint256";
|
|
177
|
+
readonly name: "tokenId";
|
|
178
|
+
readonly type: "uint256";
|
|
179
|
+
}];
|
|
180
|
+
readonly name: "Approval";
|
|
181
|
+
readonly type: "event";
|
|
182
|
+
}, {
|
|
183
|
+
readonly anonymous: false;
|
|
184
|
+
readonly inputs: readonly [{
|
|
185
|
+
readonly indexed: true;
|
|
186
|
+
readonly internalType: "address";
|
|
187
|
+
readonly name: "owner";
|
|
188
|
+
readonly type: "address";
|
|
189
|
+
}, {
|
|
190
|
+
readonly indexed: true;
|
|
191
|
+
readonly internalType: "address";
|
|
192
|
+
readonly name: "operator";
|
|
193
|
+
readonly type: "address";
|
|
194
|
+
}, {
|
|
195
|
+
readonly indexed: false;
|
|
196
|
+
readonly internalType: "bool";
|
|
197
|
+
readonly name: "approved";
|
|
198
|
+
readonly type: "bool";
|
|
199
|
+
}];
|
|
200
|
+
readonly name: "ApprovalForAll";
|
|
201
|
+
readonly type: "event";
|
|
202
|
+
}, {
|
|
203
|
+
readonly anonymous: false;
|
|
204
|
+
readonly inputs: readonly [{
|
|
205
|
+
readonly indexed: true;
|
|
206
|
+
readonly internalType: "address";
|
|
207
|
+
readonly name: "subscriptionOrRegistrant";
|
|
208
|
+
readonly type: "address";
|
|
209
|
+
}, {
|
|
210
|
+
readonly indexed: false;
|
|
211
|
+
readonly internalType: "bool";
|
|
212
|
+
readonly name: "subscribe";
|
|
213
|
+
readonly type: "bool";
|
|
214
|
+
}];
|
|
215
|
+
readonly name: "ContractRegistered";
|
|
216
|
+
readonly type: "event";
|
|
217
|
+
}, {
|
|
218
|
+
readonly anonymous: false;
|
|
219
|
+
readonly inputs: readonly [{
|
|
220
|
+
readonly indexed: false;
|
|
221
|
+
readonly internalType: "uint64";
|
|
222
|
+
readonly name: "version";
|
|
223
|
+
readonly type: "uint64";
|
|
224
|
+
}];
|
|
225
|
+
readonly name: "Initialized";
|
|
226
|
+
readonly type: "event";
|
|
227
|
+
}, {
|
|
228
|
+
readonly anonymous: false;
|
|
229
|
+
readonly inputs: readonly [{
|
|
230
|
+
readonly indexed: true;
|
|
231
|
+
readonly internalType: "address";
|
|
232
|
+
readonly name: "metadataRegistry";
|
|
233
|
+
readonly type: "address";
|
|
234
|
+
}];
|
|
235
|
+
readonly name: "MetadataRegistrySet";
|
|
236
|
+
readonly type: "event";
|
|
237
|
+
}, {
|
|
238
|
+
readonly anonymous: false;
|
|
239
|
+
readonly inputs: readonly [{
|
|
240
|
+
readonly indexed: true;
|
|
241
|
+
readonly internalType: "address";
|
|
242
|
+
readonly name: "minter";
|
|
243
|
+
readonly type: "address";
|
|
244
|
+
}, {
|
|
245
|
+
readonly indexed: false;
|
|
246
|
+
readonly internalType: "bool";
|
|
247
|
+
readonly name: "enabled";
|
|
248
|
+
readonly type: "bool";
|
|
249
|
+
}];
|
|
250
|
+
readonly name: "Minter";
|
|
251
|
+
readonly type: "event";
|
|
252
|
+
}, {
|
|
253
|
+
readonly anonymous: false;
|
|
254
|
+
readonly inputs: readonly [{
|
|
255
|
+
readonly indexed: true;
|
|
256
|
+
readonly internalType: "contract IOperatorFilterRegistry";
|
|
257
|
+
readonly name: "registry";
|
|
258
|
+
readonly type: "address";
|
|
259
|
+
}];
|
|
260
|
+
readonly name: "OperatorRegistrySet";
|
|
261
|
+
readonly type: "event";
|
|
262
|
+
}, {
|
|
263
|
+
readonly anonymous: false;
|
|
264
|
+
readonly inputs: readonly [{
|
|
265
|
+
readonly indexed: true;
|
|
266
|
+
readonly internalType: "address";
|
|
267
|
+
readonly name: "previousOwner";
|
|
268
|
+
readonly type: "address";
|
|
269
|
+
}, {
|
|
270
|
+
readonly indexed: true;
|
|
271
|
+
readonly internalType: "address";
|
|
272
|
+
readonly name: "newOwner";
|
|
273
|
+
readonly type: "address";
|
|
274
|
+
}];
|
|
275
|
+
readonly name: "OwnershipTransferred";
|
|
276
|
+
readonly type: "event";
|
|
277
|
+
}, {
|
|
278
|
+
readonly anonymous: false;
|
|
279
|
+
readonly inputs: readonly [{
|
|
280
|
+
readonly indexed: true;
|
|
281
|
+
readonly internalType: "address";
|
|
282
|
+
readonly name: "royaltyManager";
|
|
283
|
+
readonly type: "address";
|
|
284
|
+
}];
|
|
285
|
+
readonly name: "RoyaltyManagerSet";
|
|
286
|
+
readonly type: "event";
|
|
287
|
+
}, {
|
|
288
|
+
readonly anonymous: false;
|
|
289
|
+
readonly inputs: readonly [{
|
|
290
|
+
readonly indexed: true;
|
|
291
|
+
readonly internalType: "address";
|
|
292
|
+
readonly name: "superOperator";
|
|
293
|
+
readonly type: "address";
|
|
294
|
+
}, {
|
|
295
|
+
readonly indexed: true;
|
|
296
|
+
readonly internalType: "bool";
|
|
297
|
+
readonly name: "enabled";
|
|
298
|
+
readonly type: "bool";
|
|
299
|
+
}];
|
|
300
|
+
readonly name: "SuperOperator";
|
|
301
|
+
readonly type: "event";
|
|
302
|
+
}, {
|
|
303
|
+
readonly anonymous: false;
|
|
304
|
+
readonly inputs: readonly [{
|
|
305
|
+
readonly indexed: true;
|
|
306
|
+
readonly internalType: "address";
|
|
307
|
+
readonly name: "from";
|
|
308
|
+
readonly type: "address";
|
|
309
|
+
}, {
|
|
310
|
+
readonly indexed: true;
|
|
311
|
+
readonly internalType: "address";
|
|
312
|
+
readonly name: "to";
|
|
313
|
+
readonly type: "address";
|
|
314
|
+
}, {
|
|
315
|
+
readonly indexed: true;
|
|
316
|
+
readonly internalType: "uint256";
|
|
317
|
+
readonly name: "tokenId";
|
|
318
|
+
readonly type: "uint256";
|
|
319
|
+
}];
|
|
320
|
+
readonly name: "Transfer";
|
|
321
|
+
readonly type: "event";
|
|
322
|
+
}, {
|
|
323
|
+
readonly inputs: readonly [{
|
|
324
|
+
readonly internalType: "address";
|
|
325
|
+
readonly name: "operator";
|
|
326
|
+
readonly type: "address";
|
|
327
|
+
}, {
|
|
328
|
+
readonly internalType: "uint256";
|
|
329
|
+
readonly name: "tokenId";
|
|
330
|
+
readonly type: "uint256";
|
|
331
|
+
}];
|
|
332
|
+
readonly name: "approve";
|
|
333
|
+
readonly outputs: readonly [];
|
|
334
|
+
readonly stateMutability: "nonpayable";
|
|
335
|
+
readonly type: "function";
|
|
336
|
+
}, {
|
|
337
|
+
readonly inputs: readonly [{
|
|
338
|
+
readonly internalType: "address";
|
|
339
|
+
readonly name: "sender";
|
|
340
|
+
readonly type: "address";
|
|
341
|
+
}, {
|
|
342
|
+
readonly internalType: "address";
|
|
343
|
+
readonly name: "operator";
|
|
344
|
+
readonly type: "address";
|
|
345
|
+
}, {
|
|
346
|
+
readonly internalType: "uint256";
|
|
347
|
+
readonly name: "tokenId";
|
|
348
|
+
readonly type: "uint256";
|
|
349
|
+
}];
|
|
350
|
+
readonly name: "approveFor";
|
|
351
|
+
readonly outputs: readonly [];
|
|
352
|
+
readonly stateMutability: "nonpayable";
|
|
353
|
+
readonly type: "function";
|
|
354
|
+
}, {
|
|
355
|
+
readonly inputs: readonly [{
|
|
356
|
+
readonly internalType: "address";
|
|
357
|
+
readonly name: "owner";
|
|
358
|
+
readonly type: "address";
|
|
359
|
+
}];
|
|
360
|
+
readonly name: "balanceOf";
|
|
361
|
+
readonly outputs: readonly [{
|
|
362
|
+
readonly internalType: "uint256";
|
|
363
|
+
readonly name: "";
|
|
364
|
+
readonly type: "uint256";
|
|
365
|
+
}];
|
|
366
|
+
readonly stateMutability: "view";
|
|
367
|
+
readonly type: "function";
|
|
368
|
+
}, {
|
|
369
|
+
readonly inputs: readonly [{
|
|
370
|
+
readonly internalType: "address";
|
|
371
|
+
readonly name: "from";
|
|
372
|
+
readonly type: "address";
|
|
373
|
+
}, {
|
|
374
|
+
readonly internalType: "address";
|
|
375
|
+
readonly name: "to";
|
|
376
|
+
readonly type: "address";
|
|
377
|
+
}, {
|
|
378
|
+
readonly internalType: "uint256[]";
|
|
379
|
+
readonly name: "ids";
|
|
380
|
+
readonly type: "uint256[]";
|
|
381
|
+
}, {
|
|
382
|
+
readonly internalType: "bytes";
|
|
383
|
+
readonly name: "data";
|
|
384
|
+
readonly type: "bytes";
|
|
385
|
+
}];
|
|
386
|
+
readonly name: "batchTransferFrom";
|
|
387
|
+
readonly outputs: readonly [];
|
|
388
|
+
readonly stateMutability: "nonpayable";
|
|
389
|
+
readonly type: "function";
|
|
390
|
+
}, {
|
|
391
|
+
readonly inputs: readonly [{
|
|
392
|
+
readonly internalType: "address";
|
|
393
|
+
readonly name: "from";
|
|
394
|
+
readonly type: "address";
|
|
395
|
+
}, {
|
|
396
|
+
readonly internalType: "address";
|
|
397
|
+
readonly name: "to";
|
|
398
|
+
readonly type: "address";
|
|
399
|
+
}, {
|
|
400
|
+
readonly internalType: "uint256[]";
|
|
401
|
+
readonly name: "sizes";
|
|
402
|
+
readonly type: "uint256[]";
|
|
403
|
+
}, {
|
|
404
|
+
readonly internalType: "uint256[]";
|
|
405
|
+
readonly name: "xs";
|
|
406
|
+
readonly type: "uint256[]";
|
|
407
|
+
}, {
|
|
408
|
+
readonly internalType: "uint256[]";
|
|
409
|
+
readonly name: "ys";
|
|
410
|
+
readonly type: "uint256[]";
|
|
411
|
+
}, {
|
|
412
|
+
readonly internalType: "bytes";
|
|
413
|
+
readonly name: "data";
|
|
414
|
+
readonly type: "bytes";
|
|
415
|
+
}];
|
|
416
|
+
readonly name: "batchTransferQuad";
|
|
417
|
+
readonly outputs: readonly [];
|
|
418
|
+
readonly stateMutability: "nonpayable";
|
|
419
|
+
readonly type: "function";
|
|
420
|
+
}, {
|
|
421
|
+
readonly inputs: readonly [{
|
|
422
|
+
readonly internalType: "address";
|
|
423
|
+
readonly name: "newAdmin";
|
|
424
|
+
readonly type: "address";
|
|
425
|
+
}];
|
|
426
|
+
readonly name: "changeAdmin";
|
|
427
|
+
readonly outputs: readonly [];
|
|
428
|
+
readonly stateMutability: "nonpayable";
|
|
429
|
+
readonly type: "function";
|
|
430
|
+
}, {
|
|
431
|
+
readonly inputs: readonly [{
|
|
432
|
+
readonly internalType: "uint256";
|
|
433
|
+
readonly name: "size";
|
|
434
|
+
readonly type: "uint256";
|
|
435
|
+
}, {
|
|
436
|
+
readonly internalType: "uint256";
|
|
437
|
+
readonly name: "x";
|
|
438
|
+
readonly type: "uint256";
|
|
439
|
+
}, {
|
|
440
|
+
readonly internalType: "uint256";
|
|
441
|
+
readonly name: "y";
|
|
442
|
+
readonly type: "uint256";
|
|
443
|
+
}];
|
|
444
|
+
readonly name: "exists";
|
|
445
|
+
readonly outputs: readonly [{
|
|
446
|
+
readonly internalType: "bool";
|
|
447
|
+
readonly name: "";
|
|
448
|
+
readonly type: "bool";
|
|
449
|
+
}];
|
|
450
|
+
readonly stateMutability: "view";
|
|
451
|
+
readonly type: "function";
|
|
452
|
+
}, {
|
|
453
|
+
readonly inputs: readonly [];
|
|
454
|
+
readonly name: "getAdmin";
|
|
455
|
+
readonly outputs: readonly [{
|
|
456
|
+
readonly internalType: "address";
|
|
457
|
+
readonly name: "";
|
|
458
|
+
readonly type: "address";
|
|
459
|
+
}];
|
|
460
|
+
readonly stateMutability: "view";
|
|
461
|
+
readonly type: "function";
|
|
462
|
+
}, {
|
|
463
|
+
readonly inputs: readonly [{
|
|
464
|
+
readonly internalType: "uint256";
|
|
465
|
+
readonly name: "tokenId";
|
|
466
|
+
readonly type: "uint256";
|
|
467
|
+
}];
|
|
468
|
+
readonly name: "getApproved";
|
|
469
|
+
readonly outputs: readonly [{
|
|
470
|
+
readonly internalType: "address";
|
|
471
|
+
readonly name: "";
|
|
472
|
+
readonly type: "address";
|
|
473
|
+
}];
|
|
474
|
+
readonly stateMutability: "view";
|
|
475
|
+
readonly type: "function";
|
|
476
|
+
}, {
|
|
477
|
+
readonly inputs: readonly [{
|
|
478
|
+
readonly internalType: "uint256";
|
|
479
|
+
readonly name: "tokenId";
|
|
480
|
+
readonly type: "uint256";
|
|
481
|
+
}];
|
|
482
|
+
readonly name: "getMetadata";
|
|
483
|
+
readonly outputs: readonly [{
|
|
484
|
+
readonly internalType: "bool";
|
|
485
|
+
readonly name: "";
|
|
486
|
+
readonly type: "bool";
|
|
487
|
+
}, {
|
|
488
|
+
readonly internalType: "uint256";
|
|
489
|
+
readonly name: "";
|
|
490
|
+
readonly type: "uint256";
|
|
491
|
+
}, {
|
|
492
|
+
readonly internalType: "string";
|
|
493
|
+
readonly name: "";
|
|
494
|
+
readonly type: "string";
|
|
495
|
+
}];
|
|
496
|
+
readonly stateMutability: "view";
|
|
497
|
+
readonly type: "function";
|
|
498
|
+
}, {
|
|
499
|
+
readonly inputs: readonly [];
|
|
500
|
+
readonly name: "getMetadataRegistry";
|
|
501
|
+
readonly outputs: readonly [{
|
|
502
|
+
readonly internalType: "contract ILandMetadataRegistry";
|
|
503
|
+
readonly name: "";
|
|
504
|
+
readonly type: "address";
|
|
505
|
+
}];
|
|
506
|
+
readonly stateMutability: "view";
|
|
507
|
+
readonly type: "function";
|
|
508
|
+
}, {
|
|
509
|
+
readonly inputs: readonly [{
|
|
510
|
+
readonly internalType: "uint256";
|
|
511
|
+
readonly name: "tokenId";
|
|
512
|
+
readonly type: "uint256";
|
|
513
|
+
}];
|
|
514
|
+
readonly name: "getNeighborhoodId";
|
|
515
|
+
readonly outputs: readonly [{
|
|
516
|
+
readonly internalType: "uint256";
|
|
517
|
+
readonly name: "";
|
|
518
|
+
readonly type: "uint256";
|
|
519
|
+
}];
|
|
520
|
+
readonly stateMutability: "view";
|
|
521
|
+
readonly type: "function";
|
|
522
|
+
}, {
|
|
523
|
+
readonly inputs: readonly [{
|
|
524
|
+
readonly internalType: "uint256";
|
|
525
|
+
readonly name: "tokenId";
|
|
526
|
+
readonly type: "uint256";
|
|
527
|
+
}];
|
|
528
|
+
readonly name: "getOwnerData";
|
|
529
|
+
readonly outputs: readonly [{
|
|
530
|
+
readonly internalType: "uint256";
|
|
531
|
+
readonly name: "";
|
|
532
|
+
readonly type: "uint256";
|
|
533
|
+
}];
|
|
534
|
+
readonly stateMutability: "view";
|
|
535
|
+
readonly type: "function";
|
|
536
|
+
}, {
|
|
537
|
+
readonly inputs: readonly [];
|
|
538
|
+
readonly name: "getRoyaltyManager";
|
|
539
|
+
readonly outputs: readonly [{
|
|
540
|
+
readonly internalType: "contract IRoyaltyManager";
|
|
541
|
+
readonly name: "";
|
|
542
|
+
readonly type: "address";
|
|
543
|
+
}];
|
|
544
|
+
readonly stateMutability: "view";
|
|
545
|
+
readonly type: "function";
|
|
546
|
+
}, {
|
|
547
|
+
readonly inputs: readonly [{
|
|
548
|
+
readonly internalType: "uint256";
|
|
549
|
+
readonly name: "tokenId";
|
|
550
|
+
readonly type: "uint256";
|
|
551
|
+
}];
|
|
552
|
+
readonly name: "getX";
|
|
553
|
+
readonly outputs: readonly [{
|
|
554
|
+
readonly internalType: "uint256";
|
|
555
|
+
readonly name: "";
|
|
556
|
+
readonly type: "uint256";
|
|
557
|
+
}];
|
|
558
|
+
readonly stateMutability: "pure";
|
|
559
|
+
readonly type: "function";
|
|
560
|
+
}, {
|
|
561
|
+
readonly inputs: readonly [{
|
|
562
|
+
readonly internalType: "uint256";
|
|
563
|
+
readonly name: "tokenId";
|
|
564
|
+
readonly type: "uint256";
|
|
565
|
+
}];
|
|
566
|
+
readonly name: "getY";
|
|
567
|
+
readonly outputs: readonly [{
|
|
568
|
+
readonly internalType: "uint256";
|
|
569
|
+
readonly name: "";
|
|
570
|
+
readonly type: "uint256";
|
|
571
|
+
}];
|
|
572
|
+
readonly stateMutability: "pure";
|
|
573
|
+
readonly type: "function";
|
|
574
|
+
}, {
|
|
575
|
+
readonly inputs: readonly [];
|
|
576
|
+
readonly name: "height";
|
|
577
|
+
readonly outputs: readonly [{
|
|
578
|
+
readonly internalType: "uint256";
|
|
579
|
+
readonly name: "";
|
|
580
|
+
readonly type: "uint256";
|
|
581
|
+
}];
|
|
582
|
+
readonly stateMutability: "pure";
|
|
583
|
+
readonly type: "function";
|
|
584
|
+
}, {
|
|
585
|
+
readonly inputs: readonly [{
|
|
586
|
+
readonly internalType: "address";
|
|
587
|
+
readonly name: "admin";
|
|
588
|
+
readonly type: "address";
|
|
589
|
+
}];
|
|
590
|
+
readonly name: "initialize";
|
|
591
|
+
readonly outputs: readonly [];
|
|
592
|
+
readonly stateMutability: "nonpayable";
|
|
593
|
+
readonly type: "function";
|
|
594
|
+
}, {
|
|
595
|
+
readonly inputs: readonly [{
|
|
596
|
+
readonly internalType: "address";
|
|
597
|
+
readonly name: "owner";
|
|
598
|
+
readonly type: "address";
|
|
599
|
+
}, {
|
|
600
|
+
readonly internalType: "address";
|
|
601
|
+
readonly name: "operator";
|
|
602
|
+
readonly type: "address";
|
|
603
|
+
}];
|
|
604
|
+
readonly name: "isApprovedForAll";
|
|
605
|
+
readonly outputs: readonly [{
|
|
606
|
+
readonly internalType: "bool";
|
|
607
|
+
readonly name: "";
|
|
608
|
+
readonly type: "bool";
|
|
609
|
+
}];
|
|
610
|
+
readonly stateMutability: "view";
|
|
611
|
+
readonly type: "function";
|
|
612
|
+
}, {
|
|
613
|
+
readonly inputs: readonly [{
|
|
614
|
+
readonly internalType: "address";
|
|
615
|
+
readonly name: "who";
|
|
616
|
+
readonly type: "address";
|
|
617
|
+
}];
|
|
618
|
+
readonly name: "isMinter";
|
|
619
|
+
readonly outputs: readonly [{
|
|
620
|
+
readonly internalType: "bool";
|
|
621
|
+
readonly name: "";
|
|
622
|
+
readonly type: "bool";
|
|
623
|
+
}];
|
|
624
|
+
readonly stateMutability: "view";
|
|
625
|
+
readonly type: "function";
|
|
626
|
+
}, {
|
|
627
|
+
readonly inputs: readonly [{
|
|
628
|
+
readonly internalType: "uint256";
|
|
629
|
+
readonly name: "tokenId";
|
|
630
|
+
readonly type: "uint256";
|
|
631
|
+
}];
|
|
632
|
+
readonly name: "isPremium";
|
|
633
|
+
readonly outputs: readonly [{
|
|
634
|
+
readonly internalType: "bool";
|
|
635
|
+
readonly name: "";
|
|
636
|
+
readonly type: "bool";
|
|
637
|
+
}];
|
|
638
|
+
readonly stateMutability: "view";
|
|
639
|
+
readonly type: "function";
|
|
640
|
+
}, {
|
|
641
|
+
readonly inputs: readonly [{
|
|
642
|
+
readonly internalType: "address";
|
|
643
|
+
readonly name: "superOperator";
|
|
644
|
+
readonly type: "address";
|
|
645
|
+
}];
|
|
646
|
+
readonly name: "isSuperOperator";
|
|
647
|
+
readonly outputs: readonly [{
|
|
648
|
+
readonly internalType: "bool";
|
|
649
|
+
readonly name: "";
|
|
650
|
+
readonly type: "bool";
|
|
651
|
+
}];
|
|
652
|
+
readonly stateMutability: "view";
|
|
653
|
+
readonly type: "function";
|
|
654
|
+
}, {
|
|
655
|
+
readonly inputs: readonly [{
|
|
656
|
+
readonly internalType: "address";
|
|
657
|
+
readonly name: "to";
|
|
658
|
+
readonly type: "address";
|
|
659
|
+
}, {
|
|
660
|
+
readonly internalType: "uint256";
|
|
661
|
+
readonly name: "size";
|
|
662
|
+
readonly type: "uint256";
|
|
663
|
+
}, {
|
|
664
|
+
readonly internalType: "uint256";
|
|
665
|
+
readonly name: "x";
|
|
666
|
+
readonly type: "uint256";
|
|
667
|
+
}, {
|
|
668
|
+
readonly internalType: "uint256";
|
|
669
|
+
readonly name: "y";
|
|
670
|
+
readonly type: "uint256";
|
|
671
|
+
}, {
|
|
672
|
+
readonly internalType: "bytes";
|
|
673
|
+
readonly name: "data";
|
|
674
|
+
readonly type: "bytes";
|
|
675
|
+
}];
|
|
676
|
+
readonly name: "mintAndTransferQuad";
|
|
677
|
+
readonly outputs: readonly [];
|
|
678
|
+
readonly stateMutability: "nonpayable";
|
|
679
|
+
readonly type: "function";
|
|
680
|
+
}, {
|
|
681
|
+
readonly inputs: readonly [{
|
|
682
|
+
readonly internalType: "address";
|
|
683
|
+
readonly name: "to";
|
|
684
|
+
readonly type: "address";
|
|
685
|
+
}, {
|
|
686
|
+
readonly internalType: "uint256";
|
|
687
|
+
readonly name: "size";
|
|
688
|
+
readonly type: "uint256";
|
|
689
|
+
}, {
|
|
690
|
+
readonly internalType: "uint256";
|
|
691
|
+
readonly name: "x";
|
|
692
|
+
readonly type: "uint256";
|
|
693
|
+
}, {
|
|
694
|
+
readonly internalType: "uint256";
|
|
695
|
+
readonly name: "y";
|
|
696
|
+
readonly type: "uint256";
|
|
697
|
+
}, {
|
|
698
|
+
readonly internalType: "bytes";
|
|
699
|
+
readonly name: "data";
|
|
700
|
+
readonly type: "bytes";
|
|
701
|
+
}];
|
|
702
|
+
readonly name: "mintQuad";
|
|
703
|
+
readonly outputs: readonly [];
|
|
704
|
+
readonly stateMutability: "nonpayable";
|
|
705
|
+
readonly type: "function";
|
|
706
|
+
}, {
|
|
707
|
+
readonly inputs: readonly [];
|
|
708
|
+
readonly name: "name";
|
|
709
|
+
readonly outputs: readonly [{
|
|
710
|
+
readonly internalType: "string";
|
|
711
|
+
readonly name: "";
|
|
712
|
+
readonly type: "string";
|
|
713
|
+
}];
|
|
714
|
+
readonly stateMutability: "pure";
|
|
715
|
+
readonly type: "function";
|
|
716
|
+
}, {
|
|
717
|
+
readonly inputs: readonly [];
|
|
718
|
+
readonly name: "operatorFilterRegistry";
|
|
719
|
+
readonly outputs: readonly [{
|
|
720
|
+
readonly internalType: "contract IOperatorFilterRegistry";
|
|
721
|
+
readonly name: "";
|
|
722
|
+
readonly type: "address";
|
|
723
|
+
}];
|
|
724
|
+
readonly stateMutability: "view";
|
|
725
|
+
readonly type: "function";
|
|
726
|
+
}, {
|
|
727
|
+
readonly inputs: readonly [];
|
|
728
|
+
readonly name: "owner";
|
|
729
|
+
readonly outputs: readonly [{
|
|
730
|
+
readonly internalType: "address";
|
|
731
|
+
readonly name: "";
|
|
732
|
+
readonly type: "address";
|
|
733
|
+
}];
|
|
734
|
+
readonly stateMutability: "view";
|
|
735
|
+
readonly type: "function";
|
|
736
|
+
}, {
|
|
737
|
+
readonly inputs: readonly [{
|
|
738
|
+
readonly internalType: "uint256";
|
|
739
|
+
readonly name: "tokenId";
|
|
740
|
+
readonly type: "uint256";
|
|
741
|
+
}];
|
|
742
|
+
readonly name: "ownerOf";
|
|
743
|
+
readonly outputs: readonly [{
|
|
744
|
+
readonly internalType: "address";
|
|
745
|
+
readonly name: "owner";
|
|
746
|
+
readonly type: "address";
|
|
747
|
+
}];
|
|
748
|
+
readonly stateMutability: "view";
|
|
749
|
+
readonly type: "function";
|
|
750
|
+
}, {
|
|
751
|
+
readonly inputs: readonly [{
|
|
752
|
+
readonly internalType: "address";
|
|
753
|
+
readonly name: "subscriptionOrRegistrantToCopy";
|
|
754
|
+
readonly type: "address";
|
|
755
|
+
}, {
|
|
756
|
+
readonly internalType: "bool";
|
|
757
|
+
readonly name: "subscribe";
|
|
758
|
+
readonly type: "bool";
|
|
759
|
+
}];
|
|
760
|
+
readonly name: "register";
|
|
761
|
+
readonly outputs: readonly [];
|
|
762
|
+
readonly stateMutability: "nonpayable";
|
|
763
|
+
readonly type: "function";
|
|
764
|
+
}, {
|
|
765
|
+
readonly inputs: readonly [{
|
|
766
|
+
readonly internalType: "uint256";
|
|
767
|
+
readonly name: "";
|
|
768
|
+
readonly type: "uint256";
|
|
769
|
+
}, {
|
|
770
|
+
readonly internalType: "uint256";
|
|
771
|
+
readonly name: "salePrice";
|
|
772
|
+
readonly type: "uint256";
|
|
773
|
+
}];
|
|
774
|
+
readonly name: "royaltyInfo";
|
|
775
|
+
readonly outputs: readonly [{
|
|
776
|
+
readonly internalType: "address";
|
|
777
|
+
readonly name: "receiver";
|
|
778
|
+
readonly type: "address";
|
|
779
|
+
}, {
|
|
780
|
+
readonly internalType: "uint256";
|
|
781
|
+
readonly name: "royaltyAmount";
|
|
782
|
+
readonly type: "uint256";
|
|
783
|
+
}];
|
|
784
|
+
readonly stateMutability: "view";
|
|
785
|
+
readonly type: "function";
|
|
786
|
+
}, {
|
|
787
|
+
readonly inputs: readonly [{
|
|
788
|
+
readonly internalType: "address";
|
|
789
|
+
readonly name: "from";
|
|
790
|
+
readonly type: "address";
|
|
791
|
+
}, {
|
|
792
|
+
readonly internalType: "address";
|
|
793
|
+
readonly name: "to";
|
|
794
|
+
readonly type: "address";
|
|
795
|
+
}, {
|
|
796
|
+
readonly internalType: "uint256[]";
|
|
797
|
+
readonly name: "ids";
|
|
798
|
+
readonly type: "uint256[]";
|
|
799
|
+
}, {
|
|
800
|
+
readonly internalType: "bytes";
|
|
801
|
+
readonly name: "data";
|
|
802
|
+
readonly type: "bytes";
|
|
803
|
+
}];
|
|
804
|
+
readonly name: "safeBatchTransferFrom";
|
|
805
|
+
readonly outputs: readonly [];
|
|
806
|
+
readonly stateMutability: "nonpayable";
|
|
807
|
+
readonly type: "function";
|
|
808
|
+
}, {
|
|
809
|
+
readonly inputs: readonly [{
|
|
810
|
+
readonly internalType: "address";
|
|
811
|
+
readonly name: "from";
|
|
812
|
+
readonly type: "address";
|
|
813
|
+
}, {
|
|
814
|
+
readonly internalType: "address";
|
|
815
|
+
readonly name: "to";
|
|
816
|
+
readonly type: "address";
|
|
817
|
+
}, {
|
|
818
|
+
readonly internalType: "uint256";
|
|
819
|
+
readonly name: "tokenId";
|
|
820
|
+
readonly type: "uint256";
|
|
821
|
+
}];
|
|
822
|
+
readonly name: "safeTransferFrom";
|
|
823
|
+
readonly outputs: readonly [];
|
|
824
|
+
readonly stateMutability: "nonpayable";
|
|
825
|
+
readonly type: "function";
|
|
826
|
+
}, {
|
|
827
|
+
readonly inputs: readonly [{
|
|
828
|
+
readonly internalType: "address";
|
|
829
|
+
readonly name: "from";
|
|
830
|
+
readonly type: "address";
|
|
831
|
+
}, {
|
|
832
|
+
readonly internalType: "address";
|
|
833
|
+
readonly name: "to";
|
|
834
|
+
readonly type: "address";
|
|
835
|
+
}, {
|
|
836
|
+
readonly internalType: "uint256";
|
|
837
|
+
readonly name: "tokenId";
|
|
838
|
+
readonly type: "uint256";
|
|
839
|
+
}, {
|
|
840
|
+
readonly internalType: "bytes";
|
|
841
|
+
readonly name: "data";
|
|
842
|
+
readonly type: "bytes";
|
|
843
|
+
}];
|
|
844
|
+
readonly name: "safeTransferFrom";
|
|
845
|
+
readonly outputs: readonly [];
|
|
846
|
+
readonly stateMutability: "nonpayable";
|
|
847
|
+
readonly type: "function";
|
|
848
|
+
}, {
|
|
849
|
+
readonly inputs: readonly [{
|
|
850
|
+
readonly internalType: "address";
|
|
851
|
+
readonly name: "operator";
|
|
852
|
+
readonly type: "address";
|
|
853
|
+
}, {
|
|
854
|
+
readonly internalType: "bool";
|
|
855
|
+
readonly name: "approved";
|
|
856
|
+
readonly type: "bool";
|
|
857
|
+
}];
|
|
858
|
+
readonly name: "setApprovalForAll";
|
|
859
|
+
readonly outputs: readonly [];
|
|
860
|
+
readonly stateMutability: "nonpayable";
|
|
861
|
+
readonly type: "function";
|
|
862
|
+
}, {
|
|
863
|
+
readonly inputs: readonly [{
|
|
864
|
+
readonly internalType: "address";
|
|
865
|
+
readonly name: "sender";
|
|
866
|
+
readonly type: "address";
|
|
867
|
+
}, {
|
|
868
|
+
readonly internalType: "address";
|
|
869
|
+
readonly name: "operator";
|
|
870
|
+
readonly type: "address";
|
|
871
|
+
}, {
|
|
872
|
+
readonly internalType: "bool";
|
|
873
|
+
readonly name: "approved";
|
|
874
|
+
readonly type: "bool";
|
|
875
|
+
}];
|
|
876
|
+
readonly name: "setApprovalForAllFor";
|
|
877
|
+
readonly outputs: readonly [];
|
|
878
|
+
readonly stateMutability: "nonpayable";
|
|
879
|
+
readonly type: "function";
|
|
880
|
+
}, {
|
|
881
|
+
readonly inputs: readonly [{
|
|
882
|
+
readonly internalType: "address";
|
|
883
|
+
readonly name: "metadataRegistry";
|
|
884
|
+
readonly type: "address";
|
|
885
|
+
}];
|
|
886
|
+
readonly name: "setMetadataRegistry";
|
|
887
|
+
readonly outputs: readonly [];
|
|
888
|
+
readonly stateMutability: "nonpayable";
|
|
889
|
+
readonly type: "function";
|
|
890
|
+
}, {
|
|
891
|
+
readonly inputs: readonly [{
|
|
892
|
+
readonly internalType: "address";
|
|
893
|
+
readonly name: "minter";
|
|
894
|
+
readonly type: "address";
|
|
895
|
+
}, {
|
|
896
|
+
readonly internalType: "bool";
|
|
897
|
+
readonly name: "enabled";
|
|
898
|
+
readonly type: "bool";
|
|
899
|
+
}];
|
|
900
|
+
readonly name: "setMinter";
|
|
901
|
+
readonly outputs: readonly [];
|
|
902
|
+
readonly stateMutability: "nonpayable";
|
|
903
|
+
readonly type: "function";
|
|
904
|
+
}, {
|
|
905
|
+
readonly inputs: readonly [{
|
|
906
|
+
readonly internalType: "contract IOperatorFilterRegistry";
|
|
907
|
+
readonly name: "registry";
|
|
908
|
+
readonly type: "address";
|
|
909
|
+
}];
|
|
910
|
+
readonly name: "setOperatorRegistry";
|
|
911
|
+
readonly outputs: readonly [];
|
|
912
|
+
readonly stateMutability: "nonpayable";
|
|
913
|
+
readonly type: "function";
|
|
914
|
+
}, {
|
|
915
|
+
readonly inputs: readonly [{
|
|
916
|
+
readonly internalType: "address";
|
|
917
|
+
readonly name: "royaltyManager";
|
|
918
|
+
readonly type: "address";
|
|
919
|
+
}];
|
|
920
|
+
readonly name: "setRoyaltyManager";
|
|
921
|
+
readonly outputs: readonly [];
|
|
922
|
+
readonly stateMutability: "nonpayable";
|
|
923
|
+
readonly type: "function";
|
|
924
|
+
}, {
|
|
925
|
+
readonly inputs: readonly [{
|
|
926
|
+
readonly internalType: "address";
|
|
927
|
+
readonly name: "superOperator";
|
|
928
|
+
readonly type: "address";
|
|
929
|
+
}, {
|
|
930
|
+
readonly internalType: "bool";
|
|
931
|
+
readonly name: "enabled";
|
|
932
|
+
readonly type: "bool";
|
|
933
|
+
}];
|
|
934
|
+
readonly name: "setSuperOperator";
|
|
935
|
+
readonly outputs: readonly [];
|
|
936
|
+
readonly stateMutability: "nonpayable";
|
|
937
|
+
readonly type: "function";
|
|
938
|
+
}, {
|
|
939
|
+
readonly inputs: readonly [{
|
|
940
|
+
readonly internalType: "bytes4";
|
|
941
|
+
readonly name: "interfaceId";
|
|
942
|
+
readonly type: "bytes4";
|
|
943
|
+
}];
|
|
944
|
+
readonly name: "supportsInterface";
|
|
945
|
+
readonly outputs: readonly [{
|
|
946
|
+
readonly internalType: "bool";
|
|
947
|
+
readonly name: "";
|
|
948
|
+
readonly type: "bool";
|
|
949
|
+
}];
|
|
950
|
+
readonly stateMutability: "pure";
|
|
951
|
+
readonly type: "function";
|
|
952
|
+
}, {
|
|
953
|
+
readonly inputs: readonly [];
|
|
954
|
+
readonly name: "symbol";
|
|
955
|
+
readonly outputs: readonly [{
|
|
956
|
+
readonly internalType: "string";
|
|
957
|
+
readonly name: "";
|
|
958
|
+
readonly type: "string";
|
|
959
|
+
}];
|
|
960
|
+
readonly stateMutability: "pure";
|
|
961
|
+
readonly type: "function";
|
|
962
|
+
}, {
|
|
963
|
+
readonly inputs: readonly [{
|
|
964
|
+
readonly internalType: "uint256";
|
|
965
|
+
readonly name: "tokenId";
|
|
966
|
+
readonly type: "uint256";
|
|
967
|
+
}];
|
|
968
|
+
readonly name: "tokenURI";
|
|
969
|
+
readonly outputs: readonly [{
|
|
970
|
+
readonly internalType: "string";
|
|
971
|
+
readonly name: "";
|
|
972
|
+
readonly type: "string";
|
|
973
|
+
}];
|
|
974
|
+
readonly stateMutability: "view";
|
|
975
|
+
readonly type: "function";
|
|
976
|
+
}, {
|
|
977
|
+
readonly inputs: readonly [{
|
|
978
|
+
readonly internalType: "address";
|
|
979
|
+
readonly name: "from";
|
|
980
|
+
readonly type: "address";
|
|
981
|
+
}, {
|
|
982
|
+
readonly internalType: "address";
|
|
983
|
+
readonly name: "to";
|
|
984
|
+
readonly type: "address";
|
|
985
|
+
}, {
|
|
986
|
+
readonly internalType: "uint256";
|
|
987
|
+
readonly name: "tokenId";
|
|
988
|
+
readonly type: "uint256";
|
|
989
|
+
}];
|
|
990
|
+
readonly name: "transferFrom";
|
|
991
|
+
readonly outputs: readonly [];
|
|
992
|
+
readonly stateMutability: "nonpayable";
|
|
993
|
+
readonly type: "function";
|
|
994
|
+
}, {
|
|
995
|
+
readonly inputs: readonly [{
|
|
996
|
+
readonly internalType: "address";
|
|
997
|
+
readonly name: "newOwner";
|
|
998
|
+
readonly type: "address";
|
|
999
|
+
}];
|
|
1000
|
+
readonly name: "transferOwnership";
|
|
1001
|
+
readonly outputs: readonly [];
|
|
1002
|
+
readonly stateMutability: "nonpayable";
|
|
1003
|
+
readonly type: "function";
|
|
1004
|
+
}, {
|
|
1005
|
+
readonly inputs: readonly [{
|
|
1006
|
+
readonly internalType: "address";
|
|
1007
|
+
readonly name: "from";
|
|
1008
|
+
readonly type: "address";
|
|
1009
|
+
}, {
|
|
1010
|
+
readonly internalType: "address";
|
|
1011
|
+
readonly name: "to";
|
|
1012
|
+
readonly type: "address";
|
|
1013
|
+
}, {
|
|
1014
|
+
readonly internalType: "uint256";
|
|
1015
|
+
readonly name: "size";
|
|
1016
|
+
readonly type: "uint256";
|
|
1017
|
+
}, {
|
|
1018
|
+
readonly internalType: "uint256";
|
|
1019
|
+
readonly name: "x";
|
|
1020
|
+
readonly type: "uint256";
|
|
1021
|
+
}, {
|
|
1022
|
+
readonly internalType: "uint256";
|
|
1023
|
+
readonly name: "y";
|
|
1024
|
+
readonly type: "uint256";
|
|
1025
|
+
}, {
|
|
1026
|
+
readonly internalType: "bytes";
|
|
1027
|
+
readonly name: "data";
|
|
1028
|
+
readonly type: "bytes";
|
|
1029
|
+
}];
|
|
1030
|
+
readonly name: "transferQuad";
|
|
1031
|
+
readonly outputs: readonly [];
|
|
1032
|
+
readonly stateMutability: "nonpayable";
|
|
1033
|
+
readonly type: "function";
|
|
1034
|
+
}, {
|
|
1035
|
+
readonly inputs: readonly [];
|
|
1036
|
+
readonly name: "width";
|
|
1037
|
+
readonly outputs: readonly [{
|
|
1038
|
+
readonly internalType: "uint256";
|
|
1039
|
+
readonly name: "";
|
|
1040
|
+
readonly type: "uint256";
|
|
1041
|
+
}];
|
|
1042
|
+
readonly stateMutability: "pure";
|
|
1043
|
+
readonly type: "function";
|
|
1044
|
+
}];
|
|
1045
|
+
/**
|
|
1046
|
+
* Type-safe ABI for Land_json
|
|
1047
|
+
*/
|
|
1048
|
+
export type Land_jsonAbi = typeof Land_jsonAbi;
|
|
1049
|
+
/**
|
|
1050
|
+
* Contract instance type for Land_json
|
|
1051
|
+
*/
|
|
1052
|
+
export type Land_jsonContract = any;
|
|
1053
|
+
/**
|
|
1054
|
+
* Land_json Contract Class
|
|
1055
|
+
*
|
|
1056
|
+
* Provides a class-based API similar to TypeChain for interacting with the contract.
|
|
1057
|
+
*
|
|
1058
|
+
* @example
|
|
1059
|
+
* ```typescript
|
|
1060
|
+
* import { createPublicClient, createWalletClient, http } from 'viem';
|
|
1061
|
+
* import { mainnet } from 'viem/chains';
|
|
1062
|
+
* import { Land_json } from 'Land_json';
|
|
1063
|
+
*
|
|
1064
|
+
* const publicClient = createPublicClient({ chain: mainnet, transport: http() });
|
|
1065
|
+
* const walletClient = createWalletClient({ chain: mainnet, transport: http() });
|
|
1066
|
+
*
|
|
1067
|
+
* const contract = new Land_json('0x...', { publicClient, walletClient });
|
|
1068
|
+
*
|
|
1069
|
+
* // Read functions
|
|
1070
|
+
* const result = await contract.balanceOf('0x...');
|
|
1071
|
+
*
|
|
1072
|
+
* // Write functions
|
|
1073
|
+
* const hash = await contract.transfer('0x...', 1000n);
|
|
1074
|
+
*
|
|
1075
|
+
* // Simulate transactions (dry-run)
|
|
1076
|
+
* const simulation = await contract.simulate.transfer('0x...', 1000n);
|
|
1077
|
+
* console.log('Gas estimate:', simulation.request.gas);
|
|
1078
|
+
*
|
|
1079
|
+
* // Watch events
|
|
1080
|
+
* const unwatch = contract.watch.Transfer((event) => {
|
|
1081
|
+
* console.log('Transfer event:', event);
|
|
1082
|
+
* });
|
|
1083
|
+
* ```
|
|
1084
|
+
*/
|
|
1085
|
+
export declare class Land_json {
|
|
1086
|
+
private contract;
|
|
1087
|
+
private contractAddress;
|
|
1088
|
+
private publicClient;
|
|
1089
|
+
constructor(address: Address, clients: {
|
|
1090
|
+
publicClient: PublicClient;
|
|
1091
|
+
walletClient?: WalletClient;
|
|
1092
|
+
});
|
|
1093
|
+
/**
|
|
1094
|
+
* Get the contract address
|
|
1095
|
+
*/
|
|
1096
|
+
get address(): Address;
|
|
1097
|
+
/**
|
|
1098
|
+
* Get the underlying viem contract instance
|
|
1099
|
+
*/
|
|
1100
|
+
getContract(): Land_jsonContract;
|
|
1101
|
+
/**
|
|
1102
|
+
* balanceOf
|
|
1103
|
+
* view
|
|
1104
|
+
*/
|
|
1105
|
+
balanceOf(owner: `0x${string}`): Promise<bigint>;
|
|
1106
|
+
/**
|
|
1107
|
+
* exists
|
|
1108
|
+
* view
|
|
1109
|
+
*/
|
|
1110
|
+
exists(size: bigint, x: bigint, y: bigint): Promise<boolean>;
|
|
1111
|
+
/**
|
|
1112
|
+
* getAdmin
|
|
1113
|
+
* view
|
|
1114
|
+
*/
|
|
1115
|
+
getAdmin(): Promise<`0x${string}`>;
|
|
1116
|
+
/**
|
|
1117
|
+
* getApproved
|
|
1118
|
+
* view
|
|
1119
|
+
*/
|
|
1120
|
+
getApproved(tokenId: bigint): Promise<`0x${string}`>;
|
|
1121
|
+
/**
|
|
1122
|
+
* getMetadata
|
|
1123
|
+
* view
|
|
1124
|
+
*/
|
|
1125
|
+
getMetadata(tokenId: bigint): Promise<[boolean, bigint, string]>;
|
|
1126
|
+
/**
|
|
1127
|
+
* getMetadataRegistry
|
|
1128
|
+
* view
|
|
1129
|
+
*/
|
|
1130
|
+
getMetadataRegistry(): Promise<`0x${string}`>;
|
|
1131
|
+
/**
|
|
1132
|
+
* getNeighborhoodId
|
|
1133
|
+
* view
|
|
1134
|
+
*/
|
|
1135
|
+
getNeighborhoodId(tokenId: bigint): Promise<bigint>;
|
|
1136
|
+
/**
|
|
1137
|
+
* getOwnerData
|
|
1138
|
+
* view
|
|
1139
|
+
*/
|
|
1140
|
+
getOwnerData(tokenId: bigint): Promise<bigint>;
|
|
1141
|
+
/**
|
|
1142
|
+
* getRoyaltyManager
|
|
1143
|
+
* view
|
|
1144
|
+
*/
|
|
1145
|
+
getRoyaltyManager(): Promise<`0x${string}`>;
|
|
1146
|
+
/**
|
|
1147
|
+
* getX
|
|
1148
|
+
* pure
|
|
1149
|
+
*/
|
|
1150
|
+
getX(tokenId: bigint): Promise<bigint>;
|
|
1151
|
+
/**
|
|
1152
|
+
* getY
|
|
1153
|
+
* pure
|
|
1154
|
+
*/
|
|
1155
|
+
getY(tokenId: bigint): Promise<bigint>;
|
|
1156
|
+
/**
|
|
1157
|
+
* height
|
|
1158
|
+
* pure
|
|
1159
|
+
*/
|
|
1160
|
+
height(): Promise<bigint>;
|
|
1161
|
+
/**
|
|
1162
|
+
* isApprovedForAll
|
|
1163
|
+
* view
|
|
1164
|
+
*/
|
|
1165
|
+
isApprovedForAll(owner: `0x${string}`, operator: `0x${string}`): Promise<boolean>;
|
|
1166
|
+
/**
|
|
1167
|
+
* isMinter
|
|
1168
|
+
* view
|
|
1169
|
+
*/
|
|
1170
|
+
isMinter(who: `0x${string}`): Promise<boolean>;
|
|
1171
|
+
/**
|
|
1172
|
+
* isPremium
|
|
1173
|
+
* view
|
|
1174
|
+
*/
|
|
1175
|
+
isPremium(tokenId: bigint): Promise<boolean>;
|
|
1176
|
+
/**
|
|
1177
|
+
* isSuperOperator
|
|
1178
|
+
* view
|
|
1179
|
+
*/
|
|
1180
|
+
isSuperOperator(superOperator: `0x${string}`): Promise<boolean>;
|
|
1181
|
+
/**
|
|
1182
|
+
* name
|
|
1183
|
+
* pure
|
|
1184
|
+
*/
|
|
1185
|
+
name(): Promise<string>;
|
|
1186
|
+
/**
|
|
1187
|
+
* operatorFilterRegistry
|
|
1188
|
+
* view
|
|
1189
|
+
*/
|
|
1190
|
+
operatorFilterRegistry(): Promise<`0x${string}`>;
|
|
1191
|
+
/**
|
|
1192
|
+
* owner
|
|
1193
|
+
* view
|
|
1194
|
+
*/
|
|
1195
|
+
owner(): Promise<`0x${string}`>;
|
|
1196
|
+
/**
|
|
1197
|
+
* ownerOf
|
|
1198
|
+
* view
|
|
1199
|
+
*/
|
|
1200
|
+
ownerOf(tokenId: bigint): Promise<`0x${string}`>;
|
|
1201
|
+
/**
|
|
1202
|
+
* royaltyInfo
|
|
1203
|
+
* view
|
|
1204
|
+
*/
|
|
1205
|
+
royaltyInfo(arg0: bigint, salePrice: bigint): Promise<[`0x${string}`, bigint]>;
|
|
1206
|
+
/**
|
|
1207
|
+
* supportsInterface
|
|
1208
|
+
* pure
|
|
1209
|
+
*/
|
|
1210
|
+
supportsInterface(interfaceId: `0x${string}`): Promise<boolean>;
|
|
1211
|
+
/**
|
|
1212
|
+
* symbol
|
|
1213
|
+
* pure
|
|
1214
|
+
*/
|
|
1215
|
+
symbol(): Promise<string>;
|
|
1216
|
+
/**
|
|
1217
|
+
* tokenURI
|
|
1218
|
+
* view
|
|
1219
|
+
*/
|
|
1220
|
+
tokenURI(tokenId: bigint): Promise<string>;
|
|
1221
|
+
/**
|
|
1222
|
+
* width
|
|
1223
|
+
* pure
|
|
1224
|
+
*/
|
|
1225
|
+
width(): Promise<bigint>;
|
|
1226
|
+
/**
|
|
1227
|
+
* approve
|
|
1228
|
+
* nonpayable
|
|
1229
|
+
* @param options Optional transaction parameters (value, gas, nonce, etc.)
|
|
1230
|
+
*/
|
|
1231
|
+
approve(operator: `0x${string}`, tokenId: bigint, options?: {
|
|
1232
|
+
accessList?: import('viem').AccessList;
|
|
1233
|
+
authorizationList?: import('viem').AuthorizationList;
|
|
1234
|
+
chain?: import('viem').Chain | null;
|
|
1235
|
+
dataSuffix?: `0x${string}`;
|
|
1236
|
+
gas?: bigint;
|
|
1237
|
+
gasPrice?: bigint;
|
|
1238
|
+
maxFeePerGas?: bigint;
|
|
1239
|
+
maxPriorityFeePerGas?: bigint;
|
|
1240
|
+
nonce?: number;
|
|
1241
|
+
value?: bigint;
|
|
1242
|
+
}): Promise<`0x${string}`>;
|
|
1243
|
+
/**
|
|
1244
|
+
* approveFor
|
|
1245
|
+
* nonpayable
|
|
1246
|
+
* @param options Optional transaction parameters (value, gas, nonce, etc.)
|
|
1247
|
+
*/
|
|
1248
|
+
approveFor(sender: `0x${string}`, operator: `0x${string}`, tokenId: bigint, options?: {
|
|
1249
|
+
accessList?: import('viem').AccessList;
|
|
1250
|
+
authorizationList?: import('viem').AuthorizationList;
|
|
1251
|
+
chain?: import('viem').Chain | null;
|
|
1252
|
+
dataSuffix?: `0x${string}`;
|
|
1253
|
+
gas?: bigint;
|
|
1254
|
+
gasPrice?: bigint;
|
|
1255
|
+
maxFeePerGas?: bigint;
|
|
1256
|
+
maxPriorityFeePerGas?: bigint;
|
|
1257
|
+
nonce?: number;
|
|
1258
|
+
value?: bigint;
|
|
1259
|
+
}): Promise<`0x${string}`>;
|
|
1260
|
+
/**
|
|
1261
|
+
* batchTransferFrom
|
|
1262
|
+
* nonpayable
|
|
1263
|
+
* @param options Optional transaction parameters (value, gas, nonce, etc.)
|
|
1264
|
+
*/
|
|
1265
|
+
batchTransferFrom(from: `0x${string}`, to: `0x${string}`, ids: bigint[], data: `0x${string}`, options?: {
|
|
1266
|
+
accessList?: import('viem').AccessList;
|
|
1267
|
+
authorizationList?: import('viem').AuthorizationList;
|
|
1268
|
+
chain?: import('viem').Chain | null;
|
|
1269
|
+
dataSuffix?: `0x${string}`;
|
|
1270
|
+
gas?: bigint;
|
|
1271
|
+
gasPrice?: bigint;
|
|
1272
|
+
maxFeePerGas?: bigint;
|
|
1273
|
+
maxPriorityFeePerGas?: bigint;
|
|
1274
|
+
nonce?: number;
|
|
1275
|
+
value?: bigint;
|
|
1276
|
+
}): Promise<`0x${string}`>;
|
|
1277
|
+
/**
|
|
1278
|
+
* batchTransferQuad
|
|
1279
|
+
* nonpayable
|
|
1280
|
+
* @param options Optional transaction parameters (value, gas, nonce, etc.)
|
|
1281
|
+
*/
|
|
1282
|
+
batchTransferQuad(from: `0x${string}`, to: `0x${string}`, sizes: bigint[], xs: bigint[], ys: bigint[], data: `0x${string}`, options?: {
|
|
1283
|
+
accessList?: import('viem').AccessList;
|
|
1284
|
+
authorizationList?: import('viem').AuthorizationList;
|
|
1285
|
+
chain?: import('viem').Chain | null;
|
|
1286
|
+
dataSuffix?: `0x${string}`;
|
|
1287
|
+
gas?: bigint;
|
|
1288
|
+
gasPrice?: bigint;
|
|
1289
|
+
maxFeePerGas?: bigint;
|
|
1290
|
+
maxPriorityFeePerGas?: bigint;
|
|
1291
|
+
nonce?: number;
|
|
1292
|
+
value?: bigint;
|
|
1293
|
+
}): Promise<`0x${string}`>;
|
|
1294
|
+
/**
|
|
1295
|
+
* changeAdmin
|
|
1296
|
+
* nonpayable
|
|
1297
|
+
* @param options Optional transaction parameters (value, gas, nonce, etc.)
|
|
1298
|
+
*/
|
|
1299
|
+
changeAdmin(newAdmin: `0x${string}`, options?: {
|
|
1300
|
+
accessList?: import('viem').AccessList;
|
|
1301
|
+
authorizationList?: import('viem').AuthorizationList;
|
|
1302
|
+
chain?: import('viem').Chain | null;
|
|
1303
|
+
dataSuffix?: `0x${string}`;
|
|
1304
|
+
gas?: bigint;
|
|
1305
|
+
gasPrice?: bigint;
|
|
1306
|
+
maxFeePerGas?: bigint;
|
|
1307
|
+
maxPriorityFeePerGas?: bigint;
|
|
1308
|
+
nonce?: number;
|
|
1309
|
+
value?: bigint;
|
|
1310
|
+
}): Promise<`0x${string}`>;
|
|
1311
|
+
/**
|
|
1312
|
+
* initialize
|
|
1313
|
+
* nonpayable
|
|
1314
|
+
* @param options Optional transaction parameters (value, gas, nonce, etc.)
|
|
1315
|
+
*/
|
|
1316
|
+
initialize(admin: `0x${string}`, options?: {
|
|
1317
|
+
accessList?: import('viem').AccessList;
|
|
1318
|
+
authorizationList?: import('viem').AuthorizationList;
|
|
1319
|
+
chain?: import('viem').Chain | null;
|
|
1320
|
+
dataSuffix?: `0x${string}`;
|
|
1321
|
+
gas?: bigint;
|
|
1322
|
+
gasPrice?: bigint;
|
|
1323
|
+
maxFeePerGas?: bigint;
|
|
1324
|
+
maxPriorityFeePerGas?: bigint;
|
|
1325
|
+
nonce?: number;
|
|
1326
|
+
value?: bigint;
|
|
1327
|
+
}): Promise<`0x${string}`>;
|
|
1328
|
+
/**
|
|
1329
|
+
* mintAndTransferQuad
|
|
1330
|
+
* nonpayable
|
|
1331
|
+
* @param options Optional transaction parameters (value, gas, nonce, etc.)
|
|
1332
|
+
*/
|
|
1333
|
+
mintAndTransferQuad(to: `0x${string}`, size: bigint, x: bigint, y: bigint, data: `0x${string}`, options?: {
|
|
1334
|
+
accessList?: import('viem').AccessList;
|
|
1335
|
+
authorizationList?: import('viem').AuthorizationList;
|
|
1336
|
+
chain?: import('viem').Chain | null;
|
|
1337
|
+
dataSuffix?: `0x${string}`;
|
|
1338
|
+
gas?: bigint;
|
|
1339
|
+
gasPrice?: bigint;
|
|
1340
|
+
maxFeePerGas?: bigint;
|
|
1341
|
+
maxPriorityFeePerGas?: bigint;
|
|
1342
|
+
nonce?: number;
|
|
1343
|
+
value?: bigint;
|
|
1344
|
+
}): Promise<`0x${string}`>;
|
|
1345
|
+
/**
|
|
1346
|
+
* mintQuad
|
|
1347
|
+
* nonpayable
|
|
1348
|
+
* @param options Optional transaction parameters (value, gas, nonce, etc.)
|
|
1349
|
+
*/
|
|
1350
|
+
mintQuad(to: `0x${string}`, size: bigint, x: bigint, y: bigint, data: `0x${string}`, options?: {
|
|
1351
|
+
accessList?: import('viem').AccessList;
|
|
1352
|
+
authorizationList?: import('viem').AuthorizationList;
|
|
1353
|
+
chain?: import('viem').Chain | null;
|
|
1354
|
+
dataSuffix?: `0x${string}`;
|
|
1355
|
+
gas?: bigint;
|
|
1356
|
+
gasPrice?: bigint;
|
|
1357
|
+
maxFeePerGas?: bigint;
|
|
1358
|
+
maxPriorityFeePerGas?: bigint;
|
|
1359
|
+
nonce?: number;
|
|
1360
|
+
value?: bigint;
|
|
1361
|
+
}): Promise<`0x${string}`>;
|
|
1362
|
+
/**
|
|
1363
|
+
* register
|
|
1364
|
+
* nonpayable
|
|
1365
|
+
* @param options Optional transaction parameters (value, gas, nonce, etc.)
|
|
1366
|
+
*/
|
|
1367
|
+
register(subscriptionOrRegistrantToCopy: `0x${string}`, subscribe: boolean, options?: {
|
|
1368
|
+
accessList?: import('viem').AccessList;
|
|
1369
|
+
authorizationList?: import('viem').AuthorizationList;
|
|
1370
|
+
chain?: import('viem').Chain | null;
|
|
1371
|
+
dataSuffix?: `0x${string}`;
|
|
1372
|
+
gas?: bigint;
|
|
1373
|
+
gasPrice?: bigint;
|
|
1374
|
+
maxFeePerGas?: bigint;
|
|
1375
|
+
maxPriorityFeePerGas?: bigint;
|
|
1376
|
+
nonce?: number;
|
|
1377
|
+
value?: bigint;
|
|
1378
|
+
}): Promise<`0x${string}`>;
|
|
1379
|
+
/**
|
|
1380
|
+
* safeBatchTransferFrom
|
|
1381
|
+
* nonpayable
|
|
1382
|
+
* @param options Optional transaction parameters (value, gas, nonce, etc.)
|
|
1383
|
+
*/
|
|
1384
|
+
safeBatchTransferFrom(from: `0x${string}`, to: `0x${string}`, ids: bigint[], data: `0x${string}`, options?: {
|
|
1385
|
+
accessList?: import('viem').AccessList;
|
|
1386
|
+
authorizationList?: import('viem').AuthorizationList;
|
|
1387
|
+
chain?: import('viem').Chain | null;
|
|
1388
|
+
dataSuffix?: `0x${string}`;
|
|
1389
|
+
gas?: bigint;
|
|
1390
|
+
gasPrice?: bigint;
|
|
1391
|
+
maxFeePerGas?: bigint;
|
|
1392
|
+
maxPriorityFeePerGas?: bigint;
|
|
1393
|
+
nonce?: number;
|
|
1394
|
+
value?: bigint;
|
|
1395
|
+
}): Promise<`0x${string}`>;
|
|
1396
|
+
safeTransferFrom(from: `0x${string}`, to: `0x${string}`, tokenId: bigint, options?: {
|
|
1397
|
+
accessList?: import('viem').AccessList;
|
|
1398
|
+
authorizationList?: import('viem').AuthorizationList;
|
|
1399
|
+
chain?: import('viem').Chain | null;
|
|
1400
|
+
dataSuffix?: `0x${string}`;
|
|
1401
|
+
gas?: bigint;
|
|
1402
|
+
gasPrice?: bigint;
|
|
1403
|
+
maxFeePerGas?: bigint;
|
|
1404
|
+
maxPriorityFeePerGas?: bigint;
|
|
1405
|
+
nonce?: number;
|
|
1406
|
+
value?: bigint;
|
|
1407
|
+
}): Promise<`0x${string}`>;
|
|
1408
|
+
safeTransferFrom(from: `0x${string}`, to: `0x${string}`, tokenId: bigint, data: `0x${string}`, options?: {
|
|
1409
|
+
accessList?: import('viem').AccessList;
|
|
1410
|
+
authorizationList?: import('viem').AuthorizationList;
|
|
1411
|
+
chain?: import('viem').Chain | null;
|
|
1412
|
+
dataSuffix?: `0x${string}`;
|
|
1413
|
+
gas?: bigint;
|
|
1414
|
+
gasPrice?: bigint;
|
|
1415
|
+
maxFeePerGas?: bigint;
|
|
1416
|
+
maxPriorityFeePerGas?: bigint;
|
|
1417
|
+
nonce?: number;
|
|
1418
|
+
value?: bigint;
|
|
1419
|
+
}): Promise<`0x${string}`>;
|
|
1420
|
+
/**
|
|
1421
|
+
* setApprovalForAll
|
|
1422
|
+
* nonpayable
|
|
1423
|
+
* @param options Optional transaction parameters (value, gas, nonce, etc.)
|
|
1424
|
+
*/
|
|
1425
|
+
setApprovalForAll(operator: `0x${string}`, approved: boolean, options?: {
|
|
1426
|
+
accessList?: import('viem').AccessList;
|
|
1427
|
+
authorizationList?: import('viem').AuthorizationList;
|
|
1428
|
+
chain?: import('viem').Chain | null;
|
|
1429
|
+
dataSuffix?: `0x${string}`;
|
|
1430
|
+
gas?: bigint;
|
|
1431
|
+
gasPrice?: bigint;
|
|
1432
|
+
maxFeePerGas?: bigint;
|
|
1433
|
+
maxPriorityFeePerGas?: bigint;
|
|
1434
|
+
nonce?: number;
|
|
1435
|
+
value?: bigint;
|
|
1436
|
+
}): Promise<`0x${string}`>;
|
|
1437
|
+
/**
|
|
1438
|
+
* setApprovalForAllFor
|
|
1439
|
+
* nonpayable
|
|
1440
|
+
* @param options Optional transaction parameters (value, gas, nonce, etc.)
|
|
1441
|
+
*/
|
|
1442
|
+
setApprovalForAllFor(sender: `0x${string}`, operator: `0x${string}`, approved: boolean, options?: {
|
|
1443
|
+
accessList?: import('viem').AccessList;
|
|
1444
|
+
authorizationList?: import('viem').AuthorizationList;
|
|
1445
|
+
chain?: import('viem').Chain | null;
|
|
1446
|
+
dataSuffix?: `0x${string}`;
|
|
1447
|
+
gas?: bigint;
|
|
1448
|
+
gasPrice?: bigint;
|
|
1449
|
+
maxFeePerGas?: bigint;
|
|
1450
|
+
maxPriorityFeePerGas?: bigint;
|
|
1451
|
+
nonce?: number;
|
|
1452
|
+
value?: bigint;
|
|
1453
|
+
}): Promise<`0x${string}`>;
|
|
1454
|
+
/**
|
|
1455
|
+
* setMetadataRegistry
|
|
1456
|
+
* nonpayable
|
|
1457
|
+
* @param options Optional transaction parameters (value, gas, nonce, etc.)
|
|
1458
|
+
*/
|
|
1459
|
+
setMetadataRegistry(metadataRegistry: `0x${string}`, options?: {
|
|
1460
|
+
accessList?: import('viem').AccessList;
|
|
1461
|
+
authorizationList?: import('viem').AuthorizationList;
|
|
1462
|
+
chain?: import('viem').Chain | null;
|
|
1463
|
+
dataSuffix?: `0x${string}`;
|
|
1464
|
+
gas?: bigint;
|
|
1465
|
+
gasPrice?: bigint;
|
|
1466
|
+
maxFeePerGas?: bigint;
|
|
1467
|
+
maxPriorityFeePerGas?: bigint;
|
|
1468
|
+
nonce?: number;
|
|
1469
|
+
value?: bigint;
|
|
1470
|
+
}): Promise<`0x${string}`>;
|
|
1471
|
+
/**
|
|
1472
|
+
* setMinter
|
|
1473
|
+
* nonpayable
|
|
1474
|
+
* @param options Optional transaction parameters (value, gas, nonce, etc.)
|
|
1475
|
+
*/
|
|
1476
|
+
setMinter(minter: `0x${string}`, enabled: boolean, options?: {
|
|
1477
|
+
accessList?: import('viem').AccessList;
|
|
1478
|
+
authorizationList?: import('viem').AuthorizationList;
|
|
1479
|
+
chain?: import('viem').Chain | null;
|
|
1480
|
+
dataSuffix?: `0x${string}`;
|
|
1481
|
+
gas?: bigint;
|
|
1482
|
+
gasPrice?: bigint;
|
|
1483
|
+
maxFeePerGas?: bigint;
|
|
1484
|
+
maxPriorityFeePerGas?: bigint;
|
|
1485
|
+
nonce?: number;
|
|
1486
|
+
value?: bigint;
|
|
1487
|
+
}): Promise<`0x${string}`>;
|
|
1488
|
+
/**
|
|
1489
|
+
* setOperatorRegistry
|
|
1490
|
+
* nonpayable
|
|
1491
|
+
* @param options Optional transaction parameters (value, gas, nonce, etc.)
|
|
1492
|
+
*/
|
|
1493
|
+
setOperatorRegistry(registry: `0x${string}`, options?: {
|
|
1494
|
+
accessList?: import('viem').AccessList;
|
|
1495
|
+
authorizationList?: import('viem').AuthorizationList;
|
|
1496
|
+
chain?: import('viem').Chain | null;
|
|
1497
|
+
dataSuffix?: `0x${string}`;
|
|
1498
|
+
gas?: bigint;
|
|
1499
|
+
gasPrice?: bigint;
|
|
1500
|
+
maxFeePerGas?: bigint;
|
|
1501
|
+
maxPriorityFeePerGas?: bigint;
|
|
1502
|
+
nonce?: number;
|
|
1503
|
+
value?: bigint;
|
|
1504
|
+
}): Promise<`0x${string}`>;
|
|
1505
|
+
/**
|
|
1506
|
+
* setRoyaltyManager
|
|
1507
|
+
* nonpayable
|
|
1508
|
+
* @param options Optional transaction parameters (value, gas, nonce, etc.)
|
|
1509
|
+
*/
|
|
1510
|
+
setRoyaltyManager(royaltyManager: `0x${string}`, options?: {
|
|
1511
|
+
accessList?: import('viem').AccessList;
|
|
1512
|
+
authorizationList?: import('viem').AuthorizationList;
|
|
1513
|
+
chain?: import('viem').Chain | null;
|
|
1514
|
+
dataSuffix?: `0x${string}`;
|
|
1515
|
+
gas?: bigint;
|
|
1516
|
+
gasPrice?: bigint;
|
|
1517
|
+
maxFeePerGas?: bigint;
|
|
1518
|
+
maxPriorityFeePerGas?: bigint;
|
|
1519
|
+
nonce?: number;
|
|
1520
|
+
value?: bigint;
|
|
1521
|
+
}): Promise<`0x${string}`>;
|
|
1522
|
+
/**
|
|
1523
|
+
* setSuperOperator
|
|
1524
|
+
* nonpayable
|
|
1525
|
+
* @param options Optional transaction parameters (value, gas, nonce, etc.)
|
|
1526
|
+
*/
|
|
1527
|
+
setSuperOperator(superOperator: `0x${string}`, enabled: boolean, options?: {
|
|
1528
|
+
accessList?: import('viem').AccessList;
|
|
1529
|
+
authorizationList?: import('viem').AuthorizationList;
|
|
1530
|
+
chain?: import('viem').Chain | null;
|
|
1531
|
+
dataSuffix?: `0x${string}`;
|
|
1532
|
+
gas?: bigint;
|
|
1533
|
+
gasPrice?: bigint;
|
|
1534
|
+
maxFeePerGas?: bigint;
|
|
1535
|
+
maxPriorityFeePerGas?: bigint;
|
|
1536
|
+
nonce?: number;
|
|
1537
|
+
value?: bigint;
|
|
1538
|
+
}): Promise<`0x${string}`>;
|
|
1539
|
+
/**
|
|
1540
|
+
* transferFrom
|
|
1541
|
+
* nonpayable
|
|
1542
|
+
* @param options Optional transaction parameters (value, gas, nonce, etc.)
|
|
1543
|
+
*/
|
|
1544
|
+
transferFrom(from: `0x${string}`, to: `0x${string}`, tokenId: bigint, options?: {
|
|
1545
|
+
accessList?: import('viem').AccessList;
|
|
1546
|
+
authorizationList?: import('viem').AuthorizationList;
|
|
1547
|
+
chain?: import('viem').Chain | null;
|
|
1548
|
+
dataSuffix?: `0x${string}`;
|
|
1549
|
+
gas?: bigint;
|
|
1550
|
+
gasPrice?: bigint;
|
|
1551
|
+
maxFeePerGas?: bigint;
|
|
1552
|
+
maxPriorityFeePerGas?: bigint;
|
|
1553
|
+
nonce?: number;
|
|
1554
|
+
value?: bigint;
|
|
1555
|
+
}): Promise<`0x${string}`>;
|
|
1556
|
+
/**
|
|
1557
|
+
* transferOwnership
|
|
1558
|
+
* nonpayable
|
|
1559
|
+
* @param options Optional transaction parameters (value, gas, nonce, etc.)
|
|
1560
|
+
*/
|
|
1561
|
+
transferOwnership(newOwner: `0x${string}`, options?: {
|
|
1562
|
+
accessList?: import('viem').AccessList;
|
|
1563
|
+
authorizationList?: import('viem').AuthorizationList;
|
|
1564
|
+
chain?: import('viem').Chain | null;
|
|
1565
|
+
dataSuffix?: `0x${string}`;
|
|
1566
|
+
gas?: bigint;
|
|
1567
|
+
gasPrice?: bigint;
|
|
1568
|
+
maxFeePerGas?: bigint;
|
|
1569
|
+
maxPriorityFeePerGas?: bigint;
|
|
1570
|
+
nonce?: number;
|
|
1571
|
+
value?: bigint;
|
|
1572
|
+
}): Promise<`0x${string}`>;
|
|
1573
|
+
/**
|
|
1574
|
+
* transferQuad
|
|
1575
|
+
* nonpayable
|
|
1576
|
+
* @param options Optional transaction parameters (value, gas, nonce, etc.)
|
|
1577
|
+
*/
|
|
1578
|
+
transferQuad(from: `0x${string}`, to: `0x${string}`, size: bigint, x: bigint, y: bigint, data: `0x${string}`, options?: {
|
|
1579
|
+
accessList?: import('viem').AccessList;
|
|
1580
|
+
authorizationList?: import('viem').AuthorizationList;
|
|
1581
|
+
chain?: import('viem').Chain | null;
|
|
1582
|
+
dataSuffix?: `0x${string}`;
|
|
1583
|
+
gas?: bigint;
|
|
1584
|
+
gasPrice?: bigint;
|
|
1585
|
+
maxFeePerGas?: bigint;
|
|
1586
|
+
maxPriorityFeePerGas?: bigint;
|
|
1587
|
+
nonce?: number;
|
|
1588
|
+
value?: bigint;
|
|
1589
|
+
}): Promise<`0x${string}`>;
|
|
1590
|
+
/**
|
|
1591
|
+
* Simulate contract write operations (dry-run without sending transaction)
|
|
1592
|
+
*
|
|
1593
|
+
* @example
|
|
1594
|
+
* const result = await contract.simulate.transfer('0x...', 1000n);
|
|
1595
|
+
* console.log('Gas estimate:', result.request.gas);
|
|
1596
|
+
* console.log('Would succeed:', result.result);
|
|
1597
|
+
*/
|
|
1598
|
+
get simulate(): {
|
|
1599
|
+
/**
|
|
1600
|
+
* Simulate approve
|
|
1601
|
+
* Returns gas estimate and result without sending transaction
|
|
1602
|
+
* @param options Optional transaction parameters (value, gas, nonce, etc.)
|
|
1603
|
+
*/
|
|
1604
|
+
approve(operator: `0x${string}`, tokenId: bigint, options?: {
|
|
1605
|
+
accessList?: import("viem").AccessList;
|
|
1606
|
+
authorizationList?: import("viem").AuthorizationList;
|
|
1607
|
+
chain?: import("viem").Chain | null;
|
|
1608
|
+
dataSuffix?: `0x${string}`;
|
|
1609
|
+
gas?: bigint;
|
|
1610
|
+
gasPrice?: bigint;
|
|
1611
|
+
maxFeePerGas?: bigint;
|
|
1612
|
+
maxPriorityFeePerGas?: bigint;
|
|
1613
|
+
nonce?: number;
|
|
1614
|
+
value?: bigint;
|
|
1615
|
+
}): Promise<void>;
|
|
1616
|
+
/**
|
|
1617
|
+
* Simulate approveFor
|
|
1618
|
+
* Returns gas estimate and result without sending transaction
|
|
1619
|
+
* @param options Optional transaction parameters (value, gas, nonce, etc.)
|
|
1620
|
+
*/
|
|
1621
|
+
approveFor(sender: `0x${string}`, operator: `0x${string}`, tokenId: bigint, options?: {
|
|
1622
|
+
accessList?: import("viem").AccessList;
|
|
1623
|
+
authorizationList?: import("viem").AuthorizationList;
|
|
1624
|
+
chain?: import("viem").Chain | null;
|
|
1625
|
+
dataSuffix?: `0x${string}`;
|
|
1626
|
+
gas?: bigint;
|
|
1627
|
+
gasPrice?: bigint;
|
|
1628
|
+
maxFeePerGas?: bigint;
|
|
1629
|
+
maxPriorityFeePerGas?: bigint;
|
|
1630
|
+
nonce?: number;
|
|
1631
|
+
value?: bigint;
|
|
1632
|
+
}): Promise<void>;
|
|
1633
|
+
/**
|
|
1634
|
+
* Simulate batchTransferFrom
|
|
1635
|
+
* Returns gas estimate and result without sending transaction
|
|
1636
|
+
* @param options Optional transaction parameters (value, gas, nonce, etc.)
|
|
1637
|
+
*/
|
|
1638
|
+
batchTransferFrom(from: `0x${string}`, to: `0x${string}`, ids: bigint[], data: `0x${string}`, options?: {
|
|
1639
|
+
accessList?: import("viem").AccessList;
|
|
1640
|
+
authorizationList?: import("viem").AuthorizationList;
|
|
1641
|
+
chain?: import("viem").Chain | null;
|
|
1642
|
+
dataSuffix?: `0x${string}`;
|
|
1643
|
+
gas?: bigint;
|
|
1644
|
+
gasPrice?: bigint;
|
|
1645
|
+
maxFeePerGas?: bigint;
|
|
1646
|
+
maxPriorityFeePerGas?: bigint;
|
|
1647
|
+
nonce?: number;
|
|
1648
|
+
value?: bigint;
|
|
1649
|
+
}): Promise<void>;
|
|
1650
|
+
/**
|
|
1651
|
+
* Simulate batchTransferQuad
|
|
1652
|
+
* Returns gas estimate and result without sending transaction
|
|
1653
|
+
* @param options Optional transaction parameters (value, gas, nonce, etc.)
|
|
1654
|
+
*/
|
|
1655
|
+
batchTransferQuad(from: `0x${string}`, to: `0x${string}`, sizes: bigint[], xs: bigint[], ys: bigint[], data: `0x${string}`, options?: {
|
|
1656
|
+
accessList?: import("viem").AccessList;
|
|
1657
|
+
authorizationList?: import("viem").AuthorizationList;
|
|
1658
|
+
chain?: import("viem").Chain | null;
|
|
1659
|
+
dataSuffix?: `0x${string}`;
|
|
1660
|
+
gas?: bigint;
|
|
1661
|
+
gasPrice?: bigint;
|
|
1662
|
+
maxFeePerGas?: bigint;
|
|
1663
|
+
maxPriorityFeePerGas?: bigint;
|
|
1664
|
+
nonce?: number;
|
|
1665
|
+
value?: bigint;
|
|
1666
|
+
}): Promise<void>;
|
|
1667
|
+
/**
|
|
1668
|
+
* Simulate changeAdmin
|
|
1669
|
+
* Returns gas estimate and result without sending transaction
|
|
1670
|
+
* @param options Optional transaction parameters (value, gas, nonce, etc.)
|
|
1671
|
+
*/
|
|
1672
|
+
changeAdmin(newAdmin: `0x${string}`, options?: {
|
|
1673
|
+
accessList?: import("viem").AccessList;
|
|
1674
|
+
authorizationList?: import("viem").AuthorizationList;
|
|
1675
|
+
chain?: import("viem").Chain | null;
|
|
1676
|
+
dataSuffix?: `0x${string}`;
|
|
1677
|
+
gas?: bigint;
|
|
1678
|
+
gasPrice?: bigint;
|
|
1679
|
+
maxFeePerGas?: bigint;
|
|
1680
|
+
maxPriorityFeePerGas?: bigint;
|
|
1681
|
+
nonce?: number;
|
|
1682
|
+
value?: bigint;
|
|
1683
|
+
}): Promise<void>;
|
|
1684
|
+
/**
|
|
1685
|
+
* Simulate initialize
|
|
1686
|
+
* Returns gas estimate and result without sending transaction
|
|
1687
|
+
* @param options Optional transaction parameters (value, gas, nonce, etc.)
|
|
1688
|
+
*/
|
|
1689
|
+
initialize(admin: `0x${string}`, options?: {
|
|
1690
|
+
accessList?: import("viem").AccessList;
|
|
1691
|
+
authorizationList?: import("viem").AuthorizationList;
|
|
1692
|
+
chain?: import("viem").Chain | null;
|
|
1693
|
+
dataSuffix?: `0x${string}`;
|
|
1694
|
+
gas?: bigint;
|
|
1695
|
+
gasPrice?: bigint;
|
|
1696
|
+
maxFeePerGas?: bigint;
|
|
1697
|
+
maxPriorityFeePerGas?: bigint;
|
|
1698
|
+
nonce?: number;
|
|
1699
|
+
value?: bigint;
|
|
1700
|
+
}): Promise<void>;
|
|
1701
|
+
/**
|
|
1702
|
+
* Simulate mintAndTransferQuad
|
|
1703
|
+
* Returns gas estimate and result without sending transaction
|
|
1704
|
+
* @param options Optional transaction parameters (value, gas, nonce, etc.)
|
|
1705
|
+
*/
|
|
1706
|
+
mintAndTransferQuad(to: `0x${string}`, size: bigint, x: bigint, y: bigint, data: `0x${string}`, options?: {
|
|
1707
|
+
accessList?: import("viem").AccessList;
|
|
1708
|
+
authorizationList?: import("viem").AuthorizationList;
|
|
1709
|
+
chain?: import("viem").Chain | null;
|
|
1710
|
+
dataSuffix?: `0x${string}`;
|
|
1711
|
+
gas?: bigint;
|
|
1712
|
+
gasPrice?: bigint;
|
|
1713
|
+
maxFeePerGas?: bigint;
|
|
1714
|
+
maxPriorityFeePerGas?: bigint;
|
|
1715
|
+
nonce?: number;
|
|
1716
|
+
value?: bigint;
|
|
1717
|
+
}): Promise<void>;
|
|
1718
|
+
/**
|
|
1719
|
+
* Simulate mintQuad
|
|
1720
|
+
* Returns gas estimate and result without sending transaction
|
|
1721
|
+
* @param options Optional transaction parameters (value, gas, nonce, etc.)
|
|
1722
|
+
*/
|
|
1723
|
+
mintQuad(to: `0x${string}`, size: bigint, x: bigint, y: bigint, data: `0x${string}`, options?: {
|
|
1724
|
+
accessList?: import("viem").AccessList;
|
|
1725
|
+
authorizationList?: import("viem").AuthorizationList;
|
|
1726
|
+
chain?: import("viem").Chain | null;
|
|
1727
|
+
dataSuffix?: `0x${string}`;
|
|
1728
|
+
gas?: bigint;
|
|
1729
|
+
gasPrice?: bigint;
|
|
1730
|
+
maxFeePerGas?: bigint;
|
|
1731
|
+
maxPriorityFeePerGas?: bigint;
|
|
1732
|
+
nonce?: number;
|
|
1733
|
+
value?: bigint;
|
|
1734
|
+
}): Promise<void>;
|
|
1735
|
+
/**
|
|
1736
|
+
* Simulate register
|
|
1737
|
+
* Returns gas estimate and result without sending transaction
|
|
1738
|
+
* @param options Optional transaction parameters (value, gas, nonce, etc.)
|
|
1739
|
+
*/
|
|
1740
|
+
register(subscriptionOrRegistrantToCopy: `0x${string}`, subscribe: boolean, options?: {
|
|
1741
|
+
accessList?: import("viem").AccessList;
|
|
1742
|
+
authorizationList?: import("viem").AuthorizationList;
|
|
1743
|
+
chain?: import("viem").Chain | null;
|
|
1744
|
+
dataSuffix?: `0x${string}`;
|
|
1745
|
+
gas?: bigint;
|
|
1746
|
+
gasPrice?: bigint;
|
|
1747
|
+
maxFeePerGas?: bigint;
|
|
1748
|
+
maxPriorityFeePerGas?: bigint;
|
|
1749
|
+
nonce?: number;
|
|
1750
|
+
value?: bigint;
|
|
1751
|
+
}): Promise<void>;
|
|
1752
|
+
/**
|
|
1753
|
+
* Simulate safeBatchTransferFrom
|
|
1754
|
+
* Returns gas estimate and result without sending transaction
|
|
1755
|
+
* @param options Optional transaction parameters (value, gas, nonce, etc.)
|
|
1756
|
+
*/
|
|
1757
|
+
safeBatchTransferFrom(from: `0x${string}`, to: `0x${string}`, ids: bigint[], data: `0x${string}`, options?: {
|
|
1758
|
+
accessList?: import("viem").AccessList;
|
|
1759
|
+
authorizationList?: import("viem").AuthorizationList;
|
|
1760
|
+
chain?: import("viem").Chain | null;
|
|
1761
|
+
dataSuffix?: `0x${string}`;
|
|
1762
|
+
gas?: bigint;
|
|
1763
|
+
gasPrice?: bigint;
|
|
1764
|
+
maxFeePerGas?: bigint;
|
|
1765
|
+
maxPriorityFeePerGas?: bigint;
|
|
1766
|
+
nonce?: number;
|
|
1767
|
+
value?: bigint;
|
|
1768
|
+
}): Promise<void>;
|
|
1769
|
+
/**
|
|
1770
|
+
* Simulate safeTransferFrom
|
|
1771
|
+
* Returns gas estimate and result without sending transaction
|
|
1772
|
+
* Supports multiple overloads: (address, address, uint256), (address, address, uint256, bytes)
|
|
1773
|
+
* @param options Optional transaction parameters (value, gas, nonce, etc.)
|
|
1774
|
+
*/
|
|
1775
|
+
safeTransferFrom(...args: any[]): Promise<any>;
|
|
1776
|
+
/**
|
|
1777
|
+
* Simulate setApprovalForAll
|
|
1778
|
+
* Returns gas estimate and result without sending transaction
|
|
1779
|
+
* @param options Optional transaction parameters (value, gas, nonce, etc.)
|
|
1780
|
+
*/
|
|
1781
|
+
setApprovalForAll(operator: `0x${string}`, approved: boolean, options?: {
|
|
1782
|
+
accessList?: import("viem").AccessList;
|
|
1783
|
+
authorizationList?: import("viem").AuthorizationList;
|
|
1784
|
+
chain?: import("viem").Chain | null;
|
|
1785
|
+
dataSuffix?: `0x${string}`;
|
|
1786
|
+
gas?: bigint;
|
|
1787
|
+
gasPrice?: bigint;
|
|
1788
|
+
maxFeePerGas?: bigint;
|
|
1789
|
+
maxPriorityFeePerGas?: bigint;
|
|
1790
|
+
nonce?: number;
|
|
1791
|
+
value?: bigint;
|
|
1792
|
+
}): Promise<void>;
|
|
1793
|
+
/**
|
|
1794
|
+
* Simulate setApprovalForAllFor
|
|
1795
|
+
* Returns gas estimate and result without sending transaction
|
|
1796
|
+
* @param options Optional transaction parameters (value, gas, nonce, etc.)
|
|
1797
|
+
*/
|
|
1798
|
+
setApprovalForAllFor(sender: `0x${string}`, operator: `0x${string}`, approved: boolean, options?: {
|
|
1799
|
+
accessList?: import("viem").AccessList;
|
|
1800
|
+
authorizationList?: import("viem").AuthorizationList;
|
|
1801
|
+
chain?: import("viem").Chain | null;
|
|
1802
|
+
dataSuffix?: `0x${string}`;
|
|
1803
|
+
gas?: bigint;
|
|
1804
|
+
gasPrice?: bigint;
|
|
1805
|
+
maxFeePerGas?: bigint;
|
|
1806
|
+
maxPriorityFeePerGas?: bigint;
|
|
1807
|
+
nonce?: number;
|
|
1808
|
+
value?: bigint;
|
|
1809
|
+
}): Promise<void>;
|
|
1810
|
+
/**
|
|
1811
|
+
* Simulate setMetadataRegistry
|
|
1812
|
+
* Returns gas estimate and result without sending transaction
|
|
1813
|
+
* @param options Optional transaction parameters (value, gas, nonce, etc.)
|
|
1814
|
+
*/
|
|
1815
|
+
setMetadataRegistry(metadataRegistry: `0x${string}`, options?: {
|
|
1816
|
+
accessList?: import("viem").AccessList;
|
|
1817
|
+
authorizationList?: import("viem").AuthorizationList;
|
|
1818
|
+
chain?: import("viem").Chain | null;
|
|
1819
|
+
dataSuffix?: `0x${string}`;
|
|
1820
|
+
gas?: bigint;
|
|
1821
|
+
gasPrice?: bigint;
|
|
1822
|
+
maxFeePerGas?: bigint;
|
|
1823
|
+
maxPriorityFeePerGas?: bigint;
|
|
1824
|
+
nonce?: number;
|
|
1825
|
+
value?: bigint;
|
|
1826
|
+
}): Promise<void>;
|
|
1827
|
+
/**
|
|
1828
|
+
* Simulate setMinter
|
|
1829
|
+
* Returns gas estimate and result without sending transaction
|
|
1830
|
+
* @param options Optional transaction parameters (value, gas, nonce, etc.)
|
|
1831
|
+
*/
|
|
1832
|
+
setMinter(minter: `0x${string}`, enabled: boolean, options?: {
|
|
1833
|
+
accessList?: import("viem").AccessList;
|
|
1834
|
+
authorizationList?: import("viem").AuthorizationList;
|
|
1835
|
+
chain?: import("viem").Chain | null;
|
|
1836
|
+
dataSuffix?: `0x${string}`;
|
|
1837
|
+
gas?: bigint;
|
|
1838
|
+
gasPrice?: bigint;
|
|
1839
|
+
maxFeePerGas?: bigint;
|
|
1840
|
+
maxPriorityFeePerGas?: bigint;
|
|
1841
|
+
nonce?: number;
|
|
1842
|
+
value?: bigint;
|
|
1843
|
+
}): Promise<void>;
|
|
1844
|
+
/**
|
|
1845
|
+
* Simulate setOperatorRegistry
|
|
1846
|
+
* Returns gas estimate and result without sending transaction
|
|
1847
|
+
* @param options Optional transaction parameters (value, gas, nonce, etc.)
|
|
1848
|
+
*/
|
|
1849
|
+
setOperatorRegistry(registry: `0x${string}`, options?: {
|
|
1850
|
+
accessList?: import("viem").AccessList;
|
|
1851
|
+
authorizationList?: import("viem").AuthorizationList;
|
|
1852
|
+
chain?: import("viem").Chain | null;
|
|
1853
|
+
dataSuffix?: `0x${string}`;
|
|
1854
|
+
gas?: bigint;
|
|
1855
|
+
gasPrice?: bigint;
|
|
1856
|
+
maxFeePerGas?: bigint;
|
|
1857
|
+
maxPriorityFeePerGas?: bigint;
|
|
1858
|
+
nonce?: number;
|
|
1859
|
+
value?: bigint;
|
|
1860
|
+
}): Promise<void>;
|
|
1861
|
+
/**
|
|
1862
|
+
* Simulate setRoyaltyManager
|
|
1863
|
+
* Returns gas estimate and result without sending transaction
|
|
1864
|
+
* @param options Optional transaction parameters (value, gas, nonce, etc.)
|
|
1865
|
+
*/
|
|
1866
|
+
setRoyaltyManager(royaltyManager: `0x${string}`, options?: {
|
|
1867
|
+
accessList?: import("viem").AccessList;
|
|
1868
|
+
authorizationList?: import("viem").AuthorizationList;
|
|
1869
|
+
chain?: import("viem").Chain | null;
|
|
1870
|
+
dataSuffix?: `0x${string}`;
|
|
1871
|
+
gas?: bigint;
|
|
1872
|
+
gasPrice?: bigint;
|
|
1873
|
+
maxFeePerGas?: bigint;
|
|
1874
|
+
maxPriorityFeePerGas?: bigint;
|
|
1875
|
+
nonce?: number;
|
|
1876
|
+
value?: bigint;
|
|
1877
|
+
}): Promise<void>;
|
|
1878
|
+
/**
|
|
1879
|
+
* Simulate setSuperOperator
|
|
1880
|
+
* Returns gas estimate and result without sending transaction
|
|
1881
|
+
* @param options Optional transaction parameters (value, gas, nonce, etc.)
|
|
1882
|
+
*/
|
|
1883
|
+
setSuperOperator(superOperator: `0x${string}`, enabled: boolean, options?: {
|
|
1884
|
+
accessList?: import("viem").AccessList;
|
|
1885
|
+
authorizationList?: import("viem").AuthorizationList;
|
|
1886
|
+
chain?: import("viem").Chain | null;
|
|
1887
|
+
dataSuffix?: `0x${string}`;
|
|
1888
|
+
gas?: bigint;
|
|
1889
|
+
gasPrice?: bigint;
|
|
1890
|
+
maxFeePerGas?: bigint;
|
|
1891
|
+
maxPriorityFeePerGas?: bigint;
|
|
1892
|
+
nonce?: number;
|
|
1893
|
+
value?: bigint;
|
|
1894
|
+
}): Promise<void>;
|
|
1895
|
+
/**
|
|
1896
|
+
* Simulate transferFrom
|
|
1897
|
+
* Returns gas estimate and result without sending transaction
|
|
1898
|
+
* @param options Optional transaction parameters (value, gas, nonce, etc.)
|
|
1899
|
+
*/
|
|
1900
|
+
transferFrom(from: `0x${string}`, to: `0x${string}`, tokenId: bigint, options?: {
|
|
1901
|
+
accessList?: import("viem").AccessList;
|
|
1902
|
+
authorizationList?: import("viem").AuthorizationList;
|
|
1903
|
+
chain?: import("viem").Chain | null;
|
|
1904
|
+
dataSuffix?: `0x${string}`;
|
|
1905
|
+
gas?: bigint;
|
|
1906
|
+
gasPrice?: bigint;
|
|
1907
|
+
maxFeePerGas?: bigint;
|
|
1908
|
+
maxPriorityFeePerGas?: bigint;
|
|
1909
|
+
nonce?: number;
|
|
1910
|
+
value?: bigint;
|
|
1911
|
+
}): Promise<void>;
|
|
1912
|
+
/**
|
|
1913
|
+
* Simulate transferOwnership
|
|
1914
|
+
* Returns gas estimate and result without sending transaction
|
|
1915
|
+
* @param options Optional transaction parameters (value, gas, nonce, etc.)
|
|
1916
|
+
*/
|
|
1917
|
+
transferOwnership(newOwner: `0x${string}`, options?: {
|
|
1918
|
+
accessList?: import("viem").AccessList;
|
|
1919
|
+
authorizationList?: import("viem").AuthorizationList;
|
|
1920
|
+
chain?: import("viem").Chain | null;
|
|
1921
|
+
dataSuffix?: `0x${string}`;
|
|
1922
|
+
gas?: bigint;
|
|
1923
|
+
gasPrice?: bigint;
|
|
1924
|
+
maxFeePerGas?: bigint;
|
|
1925
|
+
maxPriorityFeePerGas?: bigint;
|
|
1926
|
+
nonce?: number;
|
|
1927
|
+
value?: bigint;
|
|
1928
|
+
}): Promise<void>;
|
|
1929
|
+
/**
|
|
1930
|
+
* Simulate transferQuad
|
|
1931
|
+
* Returns gas estimate and result without sending transaction
|
|
1932
|
+
* @param options Optional transaction parameters (value, gas, nonce, etc.)
|
|
1933
|
+
*/
|
|
1934
|
+
transferQuad(from: `0x${string}`, to: `0x${string}`, size: bigint, x: bigint, y: bigint, data: `0x${string}`, options?: {
|
|
1935
|
+
accessList?: import("viem").AccessList;
|
|
1936
|
+
authorizationList?: import("viem").AuthorizationList;
|
|
1937
|
+
chain?: import("viem").Chain | null;
|
|
1938
|
+
dataSuffix?: `0x${string}`;
|
|
1939
|
+
gas?: bigint;
|
|
1940
|
+
gasPrice?: bigint;
|
|
1941
|
+
maxFeePerGas?: bigint;
|
|
1942
|
+
maxPriorityFeePerGas?: bigint;
|
|
1943
|
+
nonce?: number;
|
|
1944
|
+
value?: bigint;
|
|
1945
|
+
}): Promise<void>;
|
|
1946
|
+
};
|
|
1947
|
+
/**
|
|
1948
|
+
* Watch contract events
|
|
1949
|
+
*
|
|
1950
|
+
* @example
|
|
1951
|
+
* // Watch all Transfer events
|
|
1952
|
+
* const unwatch = contract.watch.Transfer((event) => {
|
|
1953
|
+
* console.log('Transfer:', event);
|
|
1954
|
+
* });
|
|
1955
|
+
*
|
|
1956
|
+
* // Stop watching
|
|
1957
|
+
* unwatch();
|
|
1958
|
+
*/
|
|
1959
|
+
get watch(): {
|
|
1960
|
+
/**
|
|
1961
|
+
* Watch AdminChanged events
|
|
1962
|
+
* @param callback Function to call when event is emitted
|
|
1963
|
+
* @param filter Optional filter for indexed parameters
|
|
1964
|
+
* @returns Unwatch function to stop listening
|
|
1965
|
+
*/
|
|
1966
|
+
AdminChanged: (callback: (event: {
|
|
1967
|
+
oldAdmin: `0x${string}`;
|
|
1968
|
+
newAdmin: `0x${string}`;
|
|
1969
|
+
}) => void, filter?: {
|
|
1970
|
+
oldAdmin: `0x${string}`;
|
|
1971
|
+
newAdmin: `0x${string}`;
|
|
1972
|
+
}) => () => void;
|
|
1973
|
+
/**
|
|
1974
|
+
* Watch Approval events
|
|
1975
|
+
* @param callback Function to call when event is emitted
|
|
1976
|
+
* @param filter Optional filter for indexed parameters
|
|
1977
|
+
* @returns Unwatch function to stop listening
|
|
1978
|
+
*/
|
|
1979
|
+
Approval: (callback: (event: {
|
|
1980
|
+
owner: `0x${string}`;
|
|
1981
|
+
approved: `0x${string}`;
|
|
1982
|
+
tokenId: bigint;
|
|
1983
|
+
}) => void, filter?: {
|
|
1984
|
+
owner: `0x${string}`;
|
|
1985
|
+
approved: `0x${string}`;
|
|
1986
|
+
tokenId: bigint;
|
|
1987
|
+
}) => () => void;
|
|
1988
|
+
/**
|
|
1989
|
+
* Watch ApprovalForAll events
|
|
1990
|
+
* @param callback Function to call when event is emitted
|
|
1991
|
+
* @param filter Optional filter for indexed parameters
|
|
1992
|
+
* @returns Unwatch function to stop listening
|
|
1993
|
+
*/
|
|
1994
|
+
ApprovalForAll: (callback: (event: {
|
|
1995
|
+
owner: `0x${string}`;
|
|
1996
|
+
operator: `0x${string}`;
|
|
1997
|
+
approved: boolean;
|
|
1998
|
+
}) => void, filter?: {
|
|
1999
|
+
owner: `0x${string}`;
|
|
2000
|
+
operator: `0x${string}`;
|
|
2001
|
+
}) => () => void;
|
|
2002
|
+
/**
|
|
2003
|
+
* Watch ContractRegistered events
|
|
2004
|
+
* @param callback Function to call when event is emitted
|
|
2005
|
+
* @param filter Optional filter for indexed parameters
|
|
2006
|
+
* @returns Unwatch function to stop listening
|
|
2007
|
+
*/
|
|
2008
|
+
ContractRegistered: (callback: (event: {
|
|
2009
|
+
subscriptionOrRegistrant: `0x${string}`;
|
|
2010
|
+
subscribe: boolean;
|
|
2011
|
+
}) => void, filter?: {
|
|
2012
|
+
subscriptionOrRegistrant: `0x${string}`;
|
|
2013
|
+
}) => () => void;
|
|
2014
|
+
/**
|
|
2015
|
+
* Watch Initialized events
|
|
2016
|
+
* @param callback Function to call when event is emitted
|
|
2017
|
+
* @param filter Optional filter for indexed parameters
|
|
2018
|
+
* @returns Unwatch function to stop listening
|
|
2019
|
+
*/
|
|
2020
|
+
Initialized: (callback: (event: {
|
|
2021
|
+
version: bigint;
|
|
2022
|
+
}) => void) => () => void;
|
|
2023
|
+
/**
|
|
2024
|
+
* Watch MetadataRegistrySet events
|
|
2025
|
+
* @param callback Function to call when event is emitted
|
|
2026
|
+
* @param filter Optional filter for indexed parameters
|
|
2027
|
+
* @returns Unwatch function to stop listening
|
|
2028
|
+
*/
|
|
2029
|
+
MetadataRegistrySet: (callback: (event: {
|
|
2030
|
+
metadataRegistry: `0x${string}`;
|
|
2031
|
+
}) => void, filter?: {
|
|
2032
|
+
metadataRegistry: `0x${string}`;
|
|
2033
|
+
}) => () => void;
|
|
2034
|
+
/**
|
|
2035
|
+
* Watch Minter events
|
|
2036
|
+
* @param callback Function to call when event is emitted
|
|
2037
|
+
* @param filter Optional filter for indexed parameters
|
|
2038
|
+
* @returns Unwatch function to stop listening
|
|
2039
|
+
*/
|
|
2040
|
+
Minter: (callback: (event: {
|
|
2041
|
+
minter: `0x${string}`;
|
|
2042
|
+
enabled: boolean;
|
|
2043
|
+
}) => void, filter?: {
|
|
2044
|
+
minter: `0x${string}`;
|
|
2045
|
+
}) => () => void;
|
|
2046
|
+
/**
|
|
2047
|
+
* Watch OperatorRegistrySet events
|
|
2048
|
+
* @param callback Function to call when event is emitted
|
|
2049
|
+
* @param filter Optional filter for indexed parameters
|
|
2050
|
+
* @returns Unwatch function to stop listening
|
|
2051
|
+
*/
|
|
2052
|
+
OperatorRegistrySet: (callback: (event: {
|
|
2053
|
+
registry: `0x${string}`;
|
|
2054
|
+
}) => void, filter?: {
|
|
2055
|
+
registry: `0x${string}`;
|
|
2056
|
+
}) => () => void;
|
|
2057
|
+
/**
|
|
2058
|
+
* Watch OwnershipTransferred events
|
|
2059
|
+
* @param callback Function to call when event is emitted
|
|
2060
|
+
* @param filter Optional filter for indexed parameters
|
|
2061
|
+
* @returns Unwatch function to stop listening
|
|
2062
|
+
*/
|
|
2063
|
+
OwnershipTransferred: (callback: (event: {
|
|
2064
|
+
previousOwner: `0x${string}`;
|
|
2065
|
+
newOwner: `0x${string}`;
|
|
2066
|
+
}) => void, filter?: {
|
|
2067
|
+
previousOwner: `0x${string}`;
|
|
2068
|
+
newOwner: `0x${string}`;
|
|
2069
|
+
}) => () => void;
|
|
2070
|
+
/**
|
|
2071
|
+
* Watch RoyaltyManagerSet events
|
|
2072
|
+
* @param callback Function to call when event is emitted
|
|
2073
|
+
* @param filter Optional filter for indexed parameters
|
|
2074
|
+
* @returns Unwatch function to stop listening
|
|
2075
|
+
*/
|
|
2076
|
+
RoyaltyManagerSet: (callback: (event: {
|
|
2077
|
+
royaltyManager: `0x${string}`;
|
|
2078
|
+
}) => void, filter?: {
|
|
2079
|
+
royaltyManager: `0x${string}`;
|
|
2080
|
+
}) => () => void;
|
|
2081
|
+
/**
|
|
2082
|
+
* Watch SuperOperator events
|
|
2083
|
+
* @param callback Function to call when event is emitted
|
|
2084
|
+
* @param filter Optional filter for indexed parameters
|
|
2085
|
+
* @returns Unwatch function to stop listening
|
|
2086
|
+
*/
|
|
2087
|
+
SuperOperator: (callback: (event: {
|
|
2088
|
+
superOperator: `0x${string}`;
|
|
2089
|
+
enabled: boolean;
|
|
2090
|
+
}) => void, filter?: {
|
|
2091
|
+
superOperator: `0x${string}`;
|
|
2092
|
+
enabled: boolean;
|
|
2093
|
+
}) => () => void;
|
|
2094
|
+
/**
|
|
2095
|
+
* Watch Transfer events
|
|
2096
|
+
* @param callback Function to call when event is emitted
|
|
2097
|
+
* @param filter Optional filter for indexed parameters
|
|
2098
|
+
* @returns Unwatch function to stop listening
|
|
2099
|
+
*/
|
|
2100
|
+
Transfer: (callback: (event: {
|
|
2101
|
+
from: `0x${string}`;
|
|
2102
|
+
to: `0x${string}`;
|
|
2103
|
+
tokenId: bigint;
|
|
2104
|
+
}) => void, filter?: {
|
|
2105
|
+
from: `0x${string}`;
|
|
2106
|
+
to: `0x${string}`;
|
|
2107
|
+
tokenId: bigint;
|
|
2108
|
+
}) => () => void;
|
|
2109
|
+
};
|
|
2110
|
+
}
|