@gitmyabi/yogapetz 0.0.0-stage → 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 +107 -2
- package/contracts/TransparentUpgradeableProxy.d.ts +401 -0
- package/contracts/TransparentUpgradeableProxy.js +398 -0
- package/contracts/TransparentUpgradeableProxy.ts +542 -0
- package/contracts/Yogapetz.d.ts +3164 -0
- package/contracts/Yogapetz.js +3349 -0
- package/contracts/Yogapetz.ts +4191 -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 +40 -3
|
@@ -0,0 +1,3164 @@
|
|
|
1
|
+
import type { Address, PublicClient, WalletClient } from 'viem';
|
|
2
|
+
/**
|
|
3
|
+
* IERC721AUpgradeable.TokenOwnership struct type
|
|
4
|
+
*/
|
|
5
|
+
export type IERC721AUpgradeable_TokenOwnership = {
|
|
6
|
+
addr: `0x${string}`;
|
|
7
|
+
startTimestamp: bigint;
|
|
8
|
+
burned: boolean;
|
|
9
|
+
extraData: bigint;
|
|
10
|
+
};
|
|
11
|
+
/**
|
|
12
|
+
* CollectionSecurityPolicy struct type
|
|
13
|
+
*/
|
|
14
|
+
export type CollectionSecurityPolicy = {
|
|
15
|
+
transferSecurityLevel: bigint;
|
|
16
|
+
operatorWhitelistId: bigint;
|
|
17
|
+
permittedContractReceiversId: bigint;
|
|
18
|
+
};
|
|
19
|
+
/**
|
|
20
|
+
* Yogapetz ABI
|
|
21
|
+
*
|
|
22
|
+
* This ABI is typed using viem's type system for full type safety.
|
|
23
|
+
*/
|
|
24
|
+
export declare const YogapetzAbi: readonly [{
|
|
25
|
+
readonly inputs: readonly [];
|
|
26
|
+
readonly stateMutability: "nonpayable";
|
|
27
|
+
readonly type: "constructor";
|
|
28
|
+
}, {
|
|
29
|
+
readonly inputs: readonly [];
|
|
30
|
+
readonly name: "ApprovalCallerNotOwnerNorApproved";
|
|
31
|
+
readonly type: "error";
|
|
32
|
+
}, {
|
|
33
|
+
readonly inputs: readonly [];
|
|
34
|
+
readonly name: "ApprovalQueryForNonexistentToken";
|
|
35
|
+
readonly type: "error";
|
|
36
|
+
}, {
|
|
37
|
+
readonly inputs: readonly [];
|
|
38
|
+
readonly name: "ApproveToCaller";
|
|
39
|
+
readonly type: "error";
|
|
40
|
+
}, {
|
|
41
|
+
readonly inputs: readonly [];
|
|
42
|
+
readonly name: "BalanceQueryForZeroAddress";
|
|
43
|
+
readonly type: "error";
|
|
44
|
+
}, {
|
|
45
|
+
readonly inputs: readonly [];
|
|
46
|
+
readonly name: "CreatorTokenBase__InvalidTransferValidatorContract";
|
|
47
|
+
readonly type: "error";
|
|
48
|
+
}, {
|
|
49
|
+
readonly inputs: readonly [];
|
|
50
|
+
readonly name: "CreatorTokenBase__SetTransferValidatorFirst";
|
|
51
|
+
readonly type: "error";
|
|
52
|
+
}, {
|
|
53
|
+
readonly inputs: readonly [];
|
|
54
|
+
readonly name: "InvalidQueryRange";
|
|
55
|
+
readonly type: "error";
|
|
56
|
+
}, {
|
|
57
|
+
readonly inputs: readonly [];
|
|
58
|
+
readonly name: "MintERC2309QuantityExceedsLimit";
|
|
59
|
+
readonly type: "error";
|
|
60
|
+
}, {
|
|
61
|
+
readonly inputs: readonly [];
|
|
62
|
+
readonly name: "MintToZeroAddress";
|
|
63
|
+
readonly type: "error";
|
|
64
|
+
}, {
|
|
65
|
+
readonly inputs: readonly [];
|
|
66
|
+
readonly name: "MintZeroQuantity";
|
|
67
|
+
readonly type: "error";
|
|
68
|
+
}, {
|
|
69
|
+
readonly inputs: readonly [{
|
|
70
|
+
readonly internalType: "address";
|
|
71
|
+
readonly name: "operator";
|
|
72
|
+
readonly type: "address";
|
|
73
|
+
}];
|
|
74
|
+
readonly name: "OperatorNotAllowed";
|
|
75
|
+
readonly type: "error";
|
|
76
|
+
}, {
|
|
77
|
+
readonly inputs: readonly [];
|
|
78
|
+
readonly name: "OwnerQueryForNonexistentToken";
|
|
79
|
+
readonly type: "error";
|
|
80
|
+
}, {
|
|
81
|
+
readonly inputs: readonly [];
|
|
82
|
+
readonly name: "OwnershipNotInitializedForExtraData";
|
|
83
|
+
readonly type: "error";
|
|
84
|
+
}, {
|
|
85
|
+
readonly inputs: readonly [];
|
|
86
|
+
readonly name: "ShouldNotMintToBurnAddress";
|
|
87
|
+
readonly type: "error";
|
|
88
|
+
}, {
|
|
89
|
+
readonly inputs: readonly [];
|
|
90
|
+
readonly name: "TransferCallerNotOwnerNorApproved";
|
|
91
|
+
readonly type: "error";
|
|
92
|
+
}, {
|
|
93
|
+
readonly inputs: readonly [];
|
|
94
|
+
readonly name: "TransferFromIncorrectOwner";
|
|
95
|
+
readonly type: "error";
|
|
96
|
+
}, {
|
|
97
|
+
readonly inputs: readonly [];
|
|
98
|
+
readonly name: "TransferToNonERC721ReceiverImplementer";
|
|
99
|
+
readonly type: "error";
|
|
100
|
+
}, {
|
|
101
|
+
readonly inputs: readonly [];
|
|
102
|
+
readonly name: "TransferToZeroAddress";
|
|
103
|
+
readonly type: "error";
|
|
104
|
+
}, {
|
|
105
|
+
readonly inputs: readonly [];
|
|
106
|
+
readonly name: "URIQueryForNonexistentToken";
|
|
107
|
+
readonly type: "error";
|
|
108
|
+
}, {
|
|
109
|
+
readonly anonymous: false;
|
|
110
|
+
readonly inputs: readonly [{
|
|
111
|
+
readonly indexed: true;
|
|
112
|
+
readonly internalType: "address";
|
|
113
|
+
readonly name: "owner";
|
|
114
|
+
readonly type: "address";
|
|
115
|
+
}, {
|
|
116
|
+
readonly indexed: true;
|
|
117
|
+
readonly internalType: "address";
|
|
118
|
+
readonly name: "approved";
|
|
119
|
+
readonly type: "address";
|
|
120
|
+
}, {
|
|
121
|
+
readonly indexed: true;
|
|
122
|
+
readonly internalType: "uint256";
|
|
123
|
+
readonly name: "tokenId";
|
|
124
|
+
readonly type: "uint256";
|
|
125
|
+
}];
|
|
126
|
+
readonly name: "Approval";
|
|
127
|
+
readonly type: "event";
|
|
128
|
+
}, {
|
|
129
|
+
readonly anonymous: false;
|
|
130
|
+
readonly inputs: readonly [{
|
|
131
|
+
readonly indexed: true;
|
|
132
|
+
readonly internalType: "address";
|
|
133
|
+
readonly name: "owner";
|
|
134
|
+
readonly type: "address";
|
|
135
|
+
}, {
|
|
136
|
+
readonly indexed: true;
|
|
137
|
+
readonly internalType: "address";
|
|
138
|
+
readonly name: "operator";
|
|
139
|
+
readonly type: "address";
|
|
140
|
+
}, {
|
|
141
|
+
readonly indexed: false;
|
|
142
|
+
readonly internalType: "bool";
|
|
143
|
+
readonly name: "approved";
|
|
144
|
+
readonly type: "bool";
|
|
145
|
+
}];
|
|
146
|
+
readonly name: "ApprovalForAll";
|
|
147
|
+
readonly type: "event";
|
|
148
|
+
}, {
|
|
149
|
+
readonly anonymous: false;
|
|
150
|
+
readonly inputs: readonly [{
|
|
151
|
+
readonly indexed: true;
|
|
152
|
+
readonly internalType: "uint256";
|
|
153
|
+
readonly name: "tokenId";
|
|
154
|
+
readonly type: "uint256";
|
|
155
|
+
}, {
|
|
156
|
+
readonly indexed: false;
|
|
157
|
+
readonly internalType: "string";
|
|
158
|
+
readonly name: "bio";
|
|
159
|
+
readonly type: "string";
|
|
160
|
+
}];
|
|
161
|
+
readonly name: "BioChange";
|
|
162
|
+
readonly type: "event";
|
|
163
|
+
}, {
|
|
164
|
+
readonly anonymous: false;
|
|
165
|
+
readonly inputs: readonly [{
|
|
166
|
+
readonly indexed: true;
|
|
167
|
+
readonly internalType: "uint256";
|
|
168
|
+
readonly name: "fromTokenId";
|
|
169
|
+
readonly type: "uint256";
|
|
170
|
+
}, {
|
|
171
|
+
readonly indexed: false;
|
|
172
|
+
readonly internalType: "uint256";
|
|
173
|
+
readonly name: "toTokenId";
|
|
174
|
+
readonly type: "uint256";
|
|
175
|
+
}, {
|
|
176
|
+
readonly indexed: true;
|
|
177
|
+
readonly internalType: "address";
|
|
178
|
+
readonly name: "from";
|
|
179
|
+
readonly type: "address";
|
|
180
|
+
}, {
|
|
181
|
+
readonly indexed: true;
|
|
182
|
+
readonly internalType: "address";
|
|
183
|
+
readonly name: "to";
|
|
184
|
+
readonly type: "address";
|
|
185
|
+
}];
|
|
186
|
+
readonly name: "ConsecutiveTransfer";
|
|
187
|
+
readonly type: "event";
|
|
188
|
+
}, {
|
|
189
|
+
readonly anonymous: false;
|
|
190
|
+
readonly inputs: readonly [{
|
|
191
|
+
readonly indexed: false;
|
|
192
|
+
readonly internalType: "uint8";
|
|
193
|
+
readonly name: "version";
|
|
194
|
+
readonly type: "uint8";
|
|
195
|
+
}];
|
|
196
|
+
readonly name: "Initialized";
|
|
197
|
+
readonly type: "event";
|
|
198
|
+
}, {
|
|
199
|
+
readonly anonymous: false;
|
|
200
|
+
readonly inputs: readonly [{
|
|
201
|
+
readonly indexed: false;
|
|
202
|
+
readonly internalType: "address";
|
|
203
|
+
readonly name: "from";
|
|
204
|
+
readonly type: "address";
|
|
205
|
+
}, {
|
|
206
|
+
readonly indexed: false;
|
|
207
|
+
readonly internalType: "address";
|
|
208
|
+
readonly name: "to";
|
|
209
|
+
readonly type: "address";
|
|
210
|
+
}, {
|
|
211
|
+
readonly indexed: false;
|
|
212
|
+
readonly internalType: "uint256";
|
|
213
|
+
readonly name: "tokenId";
|
|
214
|
+
readonly type: "uint256";
|
|
215
|
+
}];
|
|
216
|
+
readonly name: "KeepTOLTransfer";
|
|
217
|
+
readonly type: "event";
|
|
218
|
+
}, {
|
|
219
|
+
readonly anonymous: false;
|
|
220
|
+
readonly inputs: readonly [{
|
|
221
|
+
readonly indexed: false;
|
|
222
|
+
readonly internalType: "uint256";
|
|
223
|
+
readonly name: "tokenId";
|
|
224
|
+
readonly type: "uint256";
|
|
225
|
+
}];
|
|
226
|
+
readonly name: "MNPLUnlockedUpgraded";
|
|
227
|
+
readonly type: "event";
|
|
228
|
+
}, {
|
|
229
|
+
readonly anonymous: false;
|
|
230
|
+
readonly inputs: readonly [{
|
|
231
|
+
readonly indexed: true;
|
|
232
|
+
readonly internalType: "uint256";
|
|
233
|
+
readonly name: "tokenId";
|
|
234
|
+
readonly type: "uint256";
|
|
235
|
+
}, {
|
|
236
|
+
readonly indexed: false;
|
|
237
|
+
readonly internalType: "string";
|
|
238
|
+
readonly name: "newName";
|
|
239
|
+
readonly type: "string";
|
|
240
|
+
}];
|
|
241
|
+
readonly name: "NameChange";
|
|
242
|
+
readonly type: "event";
|
|
243
|
+
}, {
|
|
244
|
+
readonly anonymous: false;
|
|
245
|
+
readonly inputs: readonly [{
|
|
246
|
+
readonly indexed: true;
|
|
247
|
+
readonly internalType: "address";
|
|
248
|
+
readonly name: "previousOwner";
|
|
249
|
+
readonly type: "address";
|
|
250
|
+
}, {
|
|
251
|
+
readonly indexed: true;
|
|
252
|
+
readonly internalType: "address";
|
|
253
|
+
readonly name: "newOwner";
|
|
254
|
+
readonly type: "address";
|
|
255
|
+
}];
|
|
256
|
+
readonly name: "OwnershipTransferred";
|
|
257
|
+
readonly type: "event";
|
|
258
|
+
}, {
|
|
259
|
+
readonly anonymous: false;
|
|
260
|
+
readonly inputs: readonly [{
|
|
261
|
+
readonly indexed: false;
|
|
262
|
+
readonly internalType: "uint256";
|
|
263
|
+
readonly name: "tokenId";
|
|
264
|
+
readonly type: "uint256";
|
|
265
|
+
}, {
|
|
266
|
+
readonly indexed: false;
|
|
267
|
+
readonly internalType: "uint256";
|
|
268
|
+
readonly name: "amount";
|
|
269
|
+
readonly type: "uint256";
|
|
270
|
+
}];
|
|
271
|
+
readonly name: "RoyaltyPaid";
|
|
272
|
+
readonly type: "event";
|
|
273
|
+
}, {
|
|
274
|
+
readonly anonymous: false;
|
|
275
|
+
readonly inputs: readonly [{
|
|
276
|
+
readonly indexed: true;
|
|
277
|
+
readonly internalType: "uint256";
|
|
278
|
+
readonly name: "tokenId";
|
|
279
|
+
readonly type: "uint256";
|
|
280
|
+
}];
|
|
281
|
+
readonly name: "Stake";
|
|
282
|
+
readonly type: "event";
|
|
283
|
+
}, {
|
|
284
|
+
readonly anonymous: false;
|
|
285
|
+
readonly inputs: readonly [{
|
|
286
|
+
readonly indexed: false;
|
|
287
|
+
readonly internalType: "uint256";
|
|
288
|
+
readonly name: "tokenId";
|
|
289
|
+
readonly type: "uint256";
|
|
290
|
+
}, {
|
|
291
|
+
readonly indexed: false;
|
|
292
|
+
readonly internalType: "bool";
|
|
293
|
+
readonly name: "isAdminLocked";
|
|
294
|
+
readonly type: "bool";
|
|
295
|
+
}];
|
|
296
|
+
readonly name: "TokenAdminLockedChanged";
|
|
297
|
+
readonly type: "event";
|
|
298
|
+
}, {
|
|
299
|
+
readonly anonymous: false;
|
|
300
|
+
readonly inputs: readonly [{
|
|
301
|
+
readonly indexed: true;
|
|
302
|
+
readonly internalType: "uint256";
|
|
303
|
+
readonly name: "tokenId";
|
|
304
|
+
readonly type: "uint256";
|
|
305
|
+
}, {
|
|
306
|
+
readonly indexed: true;
|
|
307
|
+
readonly internalType: "address";
|
|
308
|
+
readonly name: "approvedContract";
|
|
309
|
+
readonly type: "address";
|
|
310
|
+
}];
|
|
311
|
+
readonly name: "TokenLocked";
|
|
312
|
+
readonly type: "event";
|
|
313
|
+
}, {
|
|
314
|
+
readonly anonymous: false;
|
|
315
|
+
readonly inputs: readonly [{
|
|
316
|
+
readonly indexed: true;
|
|
317
|
+
readonly internalType: "uint256";
|
|
318
|
+
readonly name: "tokenId";
|
|
319
|
+
readonly type: "uint256";
|
|
320
|
+
}, {
|
|
321
|
+
readonly indexed: true;
|
|
322
|
+
readonly internalType: "address";
|
|
323
|
+
readonly name: "approvedContract";
|
|
324
|
+
readonly type: "address";
|
|
325
|
+
}];
|
|
326
|
+
readonly name: "TokenUnlocked";
|
|
327
|
+
readonly type: "event";
|
|
328
|
+
}, {
|
|
329
|
+
readonly anonymous: false;
|
|
330
|
+
readonly inputs: readonly [{
|
|
331
|
+
readonly indexed: true;
|
|
332
|
+
readonly internalType: "address";
|
|
333
|
+
readonly name: "from";
|
|
334
|
+
readonly type: "address";
|
|
335
|
+
}, {
|
|
336
|
+
readonly indexed: true;
|
|
337
|
+
readonly internalType: "address";
|
|
338
|
+
readonly name: "to";
|
|
339
|
+
readonly type: "address";
|
|
340
|
+
}, {
|
|
341
|
+
readonly indexed: true;
|
|
342
|
+
readonly internalType: "uint256";
|
|
343
|
+
readonly name: "tokenId";
|
|
344
|
+
readonly type: "uint256";
|
|
345
|
+
}];
|
|
346
|
+
readonly name: "Transfer";
|
|
347
|
+
readonly type: "event";
|
|
348
|
+
}, {
|
|
349
|
+
readonly anonymous: false;
|
|
350
|
+
readonly inputs: readonly [{
|
|
351
|
+
readonly indexed: false;
|
|
352
|
+
readonly internalType: "address";
|
|
353
|
+
readonly name: "oldValidator";
|
|
354
|
+
readonly type: "address";
|
|
355
|
+
}, {
|
|
356
|
+
readonly indexed: false;
|
|
357
|
+
readonly internalType: "address";
|
|
358
|
+
readonly name: "newValidator";
|
|
359
|
+
readonly type: "address";
|
|
360
|
+
}];
|
|
361
|
+
readonly name: "TransferValidatorUpdated";
|
|
362
|
+
readonly type: "event";
|
|
363
|
+
}, {
|
|
364
|
+
readonly anonymous: false;
|
|
365
|
+
readonly inputs: readonly [{
|
|
366
|
+
readonly indexed: true;
|
|
367
|
+
readonly internalType: "uint256";
|
|
368
|
+
readonly name: "tokenId";
|
|
369
|
+
readonly type: "uint256";
|
|
370
|
+
}, {
|
|
371
|
+
readonly indexed: false;
|
|
372
|
+
readonly internalType: "uint256";
|
|
373
|
+
readonly name: "stakedAtTimestamp";
|
|
374
|
+
readonly type: "uint256";
|
|
375
|
+
}, {
|
|
376
|
+
readonly indexed: false;
|
|
377
|
+
readonly internalType: "uint256";
|
|
378
|
+
readonly name: "removedFromStakeAtTimestamp";
|
|
379
|
+
readonly type: "uint256";
|
|
380
|
+
}];
|
|
381
|
+
readonly name: "Unstake";
|
|
382
|
+
readonly type: "event";
|
|
383
|
+
}, {
|
|
384
|
+
readonly inputs: readonly [];
|
|
385
|
+
readonly name: "DEFAULT_OPERATOR_WHITELIST_ID";
|
|
386
|
+
readonly outputs: readonly [{
|
|
387
|
+
readonly internalType: "uint120";
|
|
388
|
+
readonly name: "";
|
|
389
|
+
readonly type: "uint120";
|
|
390
|
+
}];
|
|
391
|
+
readonly stateMutability: "view";
|
|
392
|
+
readonly type: "function";
|
|
393
|
+
}, {
|
|
394
|
+
readonly inputs: readonly [];
|
|
395
|
+
readonly name: "DEFAULT_TRANSFER_SECURITY_LEVEL";
|
|
396
|
+
readonly outputs: readonly [{
|
|
397
|
+
readonly internalType: "enum TransferSecurityLevels";
|
|
398
|
+
readonly name: "";
|
|
399
|
+
readonly type: "uint8";
|
|
400
|
+
}];
|
|
401
|
+
readonly stateMutability: "view";
|
|
402
|
+
readonly type: "function";
|
|
403
|
+
}, {
|
|
404
|
+
readonly inputs: readonly [];
|
|
405
|
+
readonly name: "DEFAULT_TRANSFER_VALIDATOR";
|
|
406
|
+
readonly outputs: readonly [{
|
|
407
|
+
readonly internalType: "address";
|
|
408
|
+
readonly name: "";
|
|
409
|
+
readonly type: "address";
|
|
410
|
+
}];
|
|
411
|
+
readonly stateMutability: "view";
|
|
412
|
+
readonly type: "function";
|
|
413
|
+
}, {
|
|
414
|
+
readonly inputs: readonly [];
|
|
415
|
+
readonly name: "MAX_SUPPLY";
|
|
416
|
+
readonly outputs: readonly [{
|
|
417
|
+
readonly internalType: "uint256";
|
|
418
|
+
readonly name: "";
|
|
419
|
+
readonly type: "uint256";
|
|
420
|
+
}];
|
|
421
|
+
readonly stateMutability: "view";
|
|
422
|
+
readonly type: "function";
|
|
423
|
+
}, {
|
|
424
|
+
readonly inputs: readonly [];
|
|
425
|
+
readonly name: "__DefaultOperatorFilterer_init";
|
|
426
|
+
readonly outputs: readonly [];
|
|
427
|
+
readonly stateMutability: "nonpayable";
|
|
428
|
+
readonly type: "function";
|
|
429
|
+
}, {
|
|
430
|
+
readonly inputs: readonly [{
|
|
431
|
+
readonly internalType: "address";
|
|
432
|
+
readonly name: "subscriptionOrRegistrantToCopy";
|
|
433
|
+
readonly type: "address";
|
|
434
|
+
}, {
|
|
435
|
+
readonly internalType: "bool";
|
|
436
|
+
readonly name: "subscribe";
|
|
437
|
+
readonly type: "bool";
|
|
438
|
+
}];
|
|
439
|
+
readonly name: "__OperatorFilterer_init";
|
|
440
|
+
readonly outputs: readonly [];
|
|
441
|
+
readonly stateMutability: "nonpayable";
|
|
442
|
+
readonly type: "function";
|
|
443
|
+
}, {
|
|
444
|
+
readonly inputs: readonly [{
|
|
445
|
+
readonly internalType: "uint256";
|
|
446
|
+
readonly name: "";
|
|
447
|
+
readonly type: "uint256";
|
|
448
|
+
}];
|
|
449
|
+
readonly name: "adminLocked";
|
|
450
|
+
readonly outputs: readonly [{
|
|
451
|
+
readonly internalType: "bool";
|
|
452
|
+
readonly name: "";
|
|
453
|
+
readonly type: "bool";
|
|
454
|
+
}];
|
|
455
|
+
readonly stateMutability: "view";
|
|
456
|
+
readonly type: "function";
|
|
457
|
+
}, {
|
|
458
|
+
readonly inputs: readonly [{
|
|
459
|
+
readonly internalType: "address[]";
|
|
460
|
+
readonly name: "receivers";
|
|
461
|
+
readonly type: "address[]";
|
|
462
|
+
}, {
|
|
463
|
+
readonly internalType: "uint256[]";
|
|
464
|
+
readonly name: "amounts";
|
|
465
|
+
readonly type: "uint256[]";
|
|
466
|
+
}];
|
|
467
|
+
readonly name: "airdropListWithAmounts";
|
|
468
|
+
readonly outputs: readonly [];
|
|
469
|
+
readonly stateMutability: "nonpayable";
|
|
470
|
+
readonly type: "function";
|
|
471
|
+
}, {
|
|
472
|
+
readonly inputs: readonly [{
|
|
473
|
+
readonly internalType: "address";
|
|
474
|
+
readonly name: "to";
|
|
475
|
+
readonly type: "address";
|
|
476
|
+
}, {
|
|
477
|
+
readonly internalType: "uint256";
|
|
478
|
+
readonly name: "tokenId";
|
|
479
|
+
readonly type: "uint256";
|
|
480
|
+
}];
|
|
481
|
+
readonly name: "approve";
|
|
482
|
+
readonly outputs: readonly [];
|
|
483
|
+
readonly stateMutability: "nonpayable";
|
|
484
|
+
readonly type: "function";
|
|
485
|
+
}, {
|
|
486
|
+
readonly inputs: readonly [{
|
|
487
|
+
readonly internalType: "address";
|
|
488
|
+
readonly name: "";
|
|
489
|
+
readonly type: "address";
|
|
490
|
+
}];
|
|
491
|
+
readonly name: "approvedContract";
|
|
492
|
+
readonly outputs: readonly [{
|
|
493
|
+
readonly internalType: "bool";
|
|
494
|
+
readonly name: "";
|
|
495
|
+
readonly type: "bool";
|
|
496
|
+
}];
|
|
497
|
+
readonly stateMutability: "view";
|
|
498
|
+
readonly type: "function";
|
|
499
|
+
}, {
|
|
500
|
+
readonly inputs: readonly [{
|
|
501
|
+
readonly internalType: "address";
|
|
502
|
+
readonly name: "owner";
|
|
503
|
+
readonly type: "address";
|
|
504
|
+
}];
|
|
505
|
+
readonly name: "balanceOf";
|
|
506
|
+
readonly outputs: readonly [{
|
|
507
|
+
readonly internalType: "uint256";
|
|
508
|
+
readonly name: "";
|
|
509
|
+
readonly type: "uint256";
|
|
510
|
+
}];
|
|
511
|
+
readonly stateMutability: "view";
|
|
512
|
+
readonly type: "function";
|
|
513
|
+
}, {
|
|
514
|
+
readonly inputs: readonly [];
|
|
515
|
+
readonly name: "baseTokenURI";
|
|
516
|
+
readonly outputs: readonly [{
|
|
517
|
+
readonly internalType: "string";
|
|
518
|
+
readonly name: "";
|
|
519
|
+
readonly type: "string";
|
|
520
|
+
}];
|
|
521
|
+
readonly stateMutability: "view";
|
|
522
|
+
readonly type: "function";
|
|
523
|
+
}, {
|
|
524
|
+
readonly inputs: readonly [{
|
|
525
|
+
readonly internalType: "uint256";
|
|
526
|
+
readonly name: "";
|
|
527
|
+
readonly type: "uint256";
|
|
528
|
+
}];
|
|
529
|
+
readonly name: "bio";
|
|
530
|
+
readonly outputs: readonly [{
|
|
531
|
+
readonly internalType: "string";
|
|
532
|
+
readonly name: "";
|
|
533
|
+
readonly type: "string";
|
|
534
|
+
}];
|
|
535
|
+
readonly stateMutability: "view";
|
|
536
|
+
readonly type: "function";
|
|
537
|
+
}, {
|
|
538
|
+
readonly inputs: readonly [];
|
|
539
|
+
readonly name: "canStake";
|
|
540
|
+
readonly outputs: readonly [{
|
|
541
|
+
readonly internalType: "bool";
|
|
542
|
+
readonly name: "";
|
|
543
|
+
readonly type: "bool";
|
|
544
|
+
}];
|
|
545
|
+
readonly stateMutability: "view";
|
|
546
|
+
readonly type: "function";
|
|
547
|
+
}, {
|
|
548
|
+
readonly inputs: readonly [{
|
|
549
|
+
readonly internalType: "uint256[]";
|
|
550
|
+
readonly name: "t2TokenIds";
|
|
551
|
+
readonly type: "uint256[]";
|
|
552
|
+
}];
|
|
553
|
+
readonly name: "confiscateT2";
|
|
554
|
+
readonly outputs: readonly [];
|
|
555
|
+
readonly stateMutability: "nonpayable";
|
|
556
|
+
readonly type: "function";
|
|
557
|
+
}, {
|
|
558
|
+
readonly inputs: readonly [{
|
|
559
|
+
readonly internalType: "address[]";
|
|
560
|
+
readonly name: "markets";
|
|
561
|
+
readonly type: "address[]";
|
|
562
|
+
}, {
|
|
563
|
+
readonly internalType: "bool";
|
|
564
|
+
readonly name: "exempted";
|
|
565
|
+
readonly type: "bool";
|
|
566
|
+
}];
|
|
567
|
+
readonly name: "exemptMarketplaces";
|
|
568
|
+
readonly outputs: readonly [];
|
|
569
|
+
readonly stateMutability: "nonpayable";
|
|
570
|
+
readonly type: "function";
|
|
571
|
+
}, {
|
|
572
|
+
readonly inputs: readonly [{
|
|
573
|
+
readonly internalType: "address";
|
|
574
|
+
readonly name: "";
|
|
575
|
+
readonly type: "address";
|
|
576
|
+
}];
|
|
577
|
+
readonly name: "exemptedMarketplaces";
|
|
578
|
+
readonly outputs: readonly [{
|
|
579
|
+
readonly internalType: "bool";
|
|
580
|
+
readonly name: "";
|
|
581
|
+
readonly type: "bool";
|
|
582
|
+
}];
|
|
583
|
+
readonly stateMutability: "view";
|
|
584
|
+
readonly type: "function";
|
|
585
|
+
}, {
|
|
586
|
+
readonly inputs: readonly [{
|
|
587
|
+
readonly internalType: "uint256";
|
|
588
|
+
readonly name: "tokenId";
|
|
589
|
+
readonly type: "uint256";
|
|
590
|
+
}];
|
|
591
|
+
readonly name: "explicitOwnershipOf";
|
|
592
|
+
readonly outputs: readonly [{
|
|
593
|
+
readonly components: readonly [{
|
|
594
|
+
readonly internalType: "address";
|
|
595
|
+
readonly name: "addr";
|
|
596
|
+
readonly type: "address";
|
|
597
|
+
}, {
|
|
598
|
+
readonly internalType: "uint64";
|
|
599
|
+
readonly name: "startTimestamp";
|
|
600
|
+
readonly type: "uint64";
|
|
601
|
+
}, {
|
|
602
|
+
readonly internalType: "bool";
|
|
603
|
+
readonly name: "burned";
|
|
604
|
+
readonly type: "bool";
|
|
605
|
+
}, {
|
|
606
|
+
readonly internalType: "uint24";
|
|
607
|
+
readonly name: "extraData";
|
|
608
|
+
readonly type: "uint24";
|
|
609
|
+
}];
|
|
610
|
+
readonly internalType: "struct IERC721AUpgradeable.TokenOwnership";
|
|
611
|
+
readonly name: "";
|
|
612
|
+
readonly type: "tuple";
|
|
613
|
+
}];
|
|
614
|
+
readonly stateMutability: "view";
|
|
615
|
+
readonly type: "function";
|
|
616
|
+
}, {
|
|
617
|
+
readonly inputs: readonly [{
|
|
618
|
+
readonly internalType: "uint256[]";
|
|
619
|
+
readonly name: "tokenIds";
|
|
620
|
+
readonly type: "uint256[]";
|
|
621
|
+
}];
|
|
622
|
+
readonly name: "explicitOwnershipsOf";
|
|
623
|
+
readonly outputs: readonly [{
|
|
624
|
+
readonly components: readonly [{
|
|
625
|
+
readonly internalType: "address";
|
|
626
|
+
readonly name: "addr";
|
|
627
|
+
readonly type: "address";
|
|
628
|
+
}, {
|
|
629
|
+
readonly internalType: "uint64";
|
|
630
|
+
readonly name: "startTimestamp";
|
|
631
|
+
readonly type: "uint64";
|
|
632
|
+
}, {
|
|
633
|
+
readonly internalType: "bool";
|
|
634
|
+
readonly name: "burned";
|
|
635
|
+
readonly type: "bool";
|
|
636
|
+
}, {
|
|
637
|
+
readonly internalType: "uint24";
|
|
638
|
+
readonly name: "extraData";
|
|
639
|
+
readonly type: "uint24";
|
|
640
|
+
}];
|
|
641
|
+
readonly internalType: "struct IERC721AUpgradeable.TokenOwnership[]";
|
|
642
|
+
readonly name: "";
|
|
643
|
+
readonly type: "tuple[]";
|
|
644
|
+
}];
|
|
645
|
+
readonly stateMutability: "view";
|
|
646
|
+
readonly type: "function";
|
|
647
|
+
}, {
|
|
648
|
+
readonly inputs: readonly [{
|
|
649
|
+
readonly internalType: "uint256";
|
|
650
|
+
readonly name: "_id";
|
|
651
|
+
readonly type: "uint256";
|
|
652
|
+
}, {
|
|
653
|
+
readonly internalType: "address";
|
|
654
|
+
readonly name: "_contract";
|
|
655
|
+
readonly type: "address";
|
|
656
|
+
}];
|
|
657
|
+
readonly name: "freeId";
|
|
658
|
+
readonly outputs: readonly [];
|
|
659
|
+
readonly stateMutability: "nonpayable";
|
|
660
|
+
readonly type: "function";
|
|
661
|
+
}, {
|
|
662
|
+
readonly inputs: readonly [{
|
|
663
|
+
readonly internalType: "uint256";
|
|
664
|
+
readonly name: "tokenId";
|
|
665
|
+
readonly type: "uint256";
|
|
666
|
+
}];
|
|
667
|
+
readonly name: "getApproved";
|
|
668
|
+
readonly outputs: readonly [{
|
|
669
|
+
readonly internalType: "address";
|
|
670
|
+
readonly name: "";
|
|
671
|
+
readonly type: "address";
|
|
672
|
+
}];
|
|
673
|
+
readonly stateMutability: "view";
|
|
674
|
+
readonly type: "function";
|
|
675
|
+
}, {
|
|
676
|
+
readonly inputs: readonly [];
|
|
677
|
+
readonly name: "getPermittedContractReceivers";
|
|
678
|
+
readonly outputs: readonly [{
|
|
679
|
+
readonly internalType: "address[]";
|
|
680
|
+
readonly name: "";
|
|
681
|
+
readonly type: "address[]";
|
|
682
|
+
}];
|
|
683
|
+
readonly stateMutability: "view";
|
|
684
|
+
readonly type: "function";
|
|
685
|
+
}, {
|
|
686
|
+
readonly inputs: readonly [];
|
|
687
|
+
readonly name: "getSecurityPolicy";
|
|
688
|
+
readonly outputs: readonly [{
|
|
689
|
+
readonly components: readonly [{
|
|
690
|
+
readonly internalType: "enum TransferSecurityLevels";
|
|
691
|
+
readonly name: "transferSecurityLevel";
|
|
692
|
+
readonly type: "uint8";
|
|
693
|
+
}, {
|
|
694
|
+
readonly internalType: "uint120";
|
|
695
|
+
readonly name: "operatorWhitelistId";
|
|
696
|
+
readonly type: "uint120";
|
|
697
|
+
}, {
|
|
698
|
+
readonly internalType: "uint120";
|
|
699
|
+
readonly name: "permittedContractReceiversId";
|
|
700
|
+
readonly type: "uint120";
|
|
701
|
+
}];
|
|
702
|
+
readonly internalType: "struct CollectionSecurityPolicy";
|
|
703
|
+
readonly name: "";
|
|
704
|
+
readonly type: "tuple";
|
|
705
|
+
}];
|
|
706
|
+
readonly stateMutability: "view";
|
|
707
|
+
readonly type: "function";
|
|
708
|
+
}, {
|
|
709
|
+
readonly inputs: readonly [{
|
|
710
|
+
readonly internalType: "uint256";
|
|
711
|
+
readonly name: "tokenId";
|
|
712
|
+
readonly type: "uint256";
|
|
713
|
+
}];
|
|
714
|
+
readonly name: "getTier";
|
|
715
|
+
readonly outputs: readonly [{
|
|
716
|
+
readonly internalType: "uint256";
|
|
717
|
+
readonly name: "";
|
|
718
|
+
readonly type: "uint256";
|
|
719
|
+
}];
|
|
720
|
+
readonly stateMutability: "view";
|
|
721
|
+
readonly type: "function";
|
|
722
|
+
}, {
|
|
723
|
+
readonly inputs: readonly [{
|
|
724
|
+
readonly internalType: "uint256[]";
|
|
725
|
+
readonly name: "tokenIds";
|
|
726
|
+
readonly type: "uint256[]";
|
|
727
|
+
}];
|
|
728
|
+
readonly name: "getTierMultiple";
|
|
729
|
+
readonly outputs: readonly [{
|
|
730
|
+
readonly internalType: "uint256[]";
|
|
731
|
+
readonly name: "";
|
|
732
|
+
readonly type: "uint256[]";
|
|
733
|
+
}];
|
|
734
|
+
readonly stateMutability: "view";
|
|
735
|
+
readonly type: "function";
|
|
736
|
+
}, {
|
|
737
|
+
readonly inputs: readonly [];
|
|
738
|
+
readonly name: "getTransferValidator";
|
|
739
|
+
readonly outputs: readonly [{
|
|
740
|
+
readonly internalType: "contract ICreatorTokenTransferValidator";
|
|
741
|
+
readonly name: "";
|
|
742
|
+
readonly type: "address";
|
|
743
|
+
}];
|
|
744
|
+
readonly stateMutability: "view";
|
|
745
|
+
readonly type: "function";
|
|
746
|
+
}, {
|
|
747
|
+
readonly inputs: readonly [];
|
|
748
|
+
readonly name: "getWhitelistedOperators";
|
|
749
|
+
readonly outputs: readonly [{
|
|
750
|
+
readonly internalType: "address[]";
|
|
751
|
+
readonly name: "";
|
|
752
|
+
readonly type: "address[]";
|
|
753
|
+
}];
|
|
754
|
+
readonly stateMutability: "view";
|
|
755
|
+
readonly type: "function";
|
|
756
|
+
}, {
|
|
757
|
+
readonly inputs: readonly [];
|
|
758
|
+
readonly name: "guardianContract";
|
|
759
|
+
readonly outputs: readonly [{
|
|
760
|
+
readonly internalType: "contract ITOLTransfer";
|
|
761
|
+
readonly name: "";
|
|
762
|
+
readonly type: "address";
|
|
763
|
+
}];
|
|
764
|
+
readonly stateMutability: "view";
|
|
765
|
+
readonly type: "function";
|
|
766
|
+
}, {
|
|
767
|
+
readonly inputs: readonly [{
|
|
768
|
+
readonly internalType: "string";
|
|
769
|
+
readonly name: "baseURI";
|
|
770
|
+
readonly type: "string";
|
|
771
|
+
}];
|
|
772
|
+
readonly name: "initialize";
|
|
773
|
+
readonly outputs: readonly [];
|
|
774
|
+
readonly stateMutability: "nonpayable";
|
|
775
|
+
readonly type: "function";
|
|
776
|
+
}, {
|
|
777
|
+
readonly inputs: readonly [];
|
|
778
|
+
readonly name: "initializeV3";
|
|
779
|
+
readonly outputs: readonly [];
|
|
780
|
+
readonly stateMutability: "nonpayable";
|
|
781
|
+
readonly type: "function";
|
|
782
|
+
}, {
|
|
783
|
+
readonly inputs: readonly [{
|
|
784
|
+
readonly internalType: "uint256";
|
|
785
|
+
readonly name: "tokenId";
|
|
786
|
+
readonly type: "uint256";
|
|
787
|
+
}];
|
|
788
|
+
readonly name: "isAdminLocked";
|
|
789
|
+
readonly outputs: readonly [{
|
|
790
|
+
readonly internalType: "bool";
|
|
791
|
+
readonly name: "";
|
|
792
|
+
readonly type: "bool";
|
|
793
|
+
}];
|
|
794
|
+
readonly stateMutability: "view";
|
|
795
|
+
readonly type: "function";
|
|
796
|
+
}, {
|
|
797
|
+
readonly inputs: readonly [{
|
|
798
|
+
readonly internalType: "address";
|
|
799
|
+
readonly name: "tokenOwner";
|
|
800
|
+
readonly type: "address";
|
|
801
|
+
}, {
|
|
802
|
+
readonly internalType: "address";
|
|
803
|
+
readonly name: "operator";
|
|
804
|
+
readonly type: "address";
|
|
805
|
+
}];
|
|
806
|
+
readonly name: "isApprovedForAll";
|
|
807
|
+
readonly outputs: readonly [{
|
|
808
|
+
readonly internalType: "bool";
|
|
809
|
+
readonly name: "";
|
|
810
|
+
readonly type: "bool";
|
|
811
|
+
}];
|
|
812
|
+
readonly stateMutability: "view";
|
|
813
|
+
readonly type: "function";
|
|
814
|
+
}, {
|
|
815
|
+
readonly inputs: readonly [{
|
|
816
|
+
readonly internalType: "address";
|
|
817
|
+
readonly name: "receiver";
|
|
818
|
+
readonly type: "address";
|
|
819
|
+
}];
|
|
820
|
+
readonly name: "isContractReceiverPermitted";
|
|
821
|
+
readonly outputs: readonly [{
|
|
822
|
+
readonly internalType: "bool";
|
|
823
|
+
readonly name: "";
|
|
824
|
+
readonly type: "bool";
|
|
825
|
+
}];
|
|
826
|
+
readonly stateMutability: "view";
|
|
827
|
+
readonly type: "function";
|
|
828
|
+
}, {
|
|
829
|
+
readonly inputs: readonly [{
|
|
830
|
+
readonly internalType: "uint256";
|
|
831
|
+
readonly name: "tokenId";
|
|
832
|
+
readonly type: "uint256";
|
|
833
|
+
}];
|
|
834
|
+
readonly name: "isMNPLTransferLocked";
|
|
835
|
+
readonly outputs: readonly [{
|
|
836
|
+
readonly internalType: "bool";
|
|
837
|
+
readonly name: "";
|
|
838
|
+
readonly type: "bool";
|
|
839
|
+
}];
|
|
840
|
+
readonly stateMutability: "view";
|
|
841
|
+
readonly type: "function";
|
|
842
|
+
}, {
|
|
843
|
+
readonly inputs: readonly [{
|
|
844
|
+
readonly internalType: "address";
|
|
845
|
+
readonly name: "operator";
|
|
846
|
+
readonly type: "address";
|
|
847
|
+
}];
|
|
848
|
+
readonly name: "isOperatorWhitelisted";
|
|
849
|
+
readonly outputs: readonly [{
|
|
850
|
+
readonly internalType: "bool";
|
|
851
|
+
readonly name: "";
|
|
852
|
+
readonly type: "bool";
|
|
853
|
+
}];
|
|
854
|
+
readonly stateMutability: "view";
|
|
855
|
+
readonly type: "function";
|
|
856
|
+
}, {
|
|
857
|
+
readonly inputs: readonly [{
|
|
858
|
+
readonly internalType: "uint256";
|
|
859
|
+
readonly name: "tokenId";
|
|
860
|
+
readonly type: "uint256";
|
|
861
|
+
}];
|
|
862
|
+
readonly name: "isOriginallyMNPL";
|
|
863
|
+
readonly outputs: readonly [{
|
|
864
|
+
readonly internalType: "bool";
|
|
865
|
+
readonly name: "";
|
|
866
|
+
readonly type: "bool";
|
|
867
|
+
}];
|
|
868
|
+
readonly stateMutability: "view";
|
|
869
|
+
readonly type: "function";
|
|
870
|
+
}, {
|
|
871
|
+
readonly inputs: readonly [{
|
|
872
|
+
readonly internalType: "address";
|
|
873
|
+
readonly name: "caller";
|
|
874
|
+
readonly type: "address";
|
|
875
|
+
}, {
|
|
876
|
+
readonly internalType: "address";
|
|
877
|
+
readonly name: "from";
|
|
878
|
+
readonly type: "address";
|
|
879
|
+
}, {
|
|
880
|
+
readonly internalType: "address";
|
|
881
|
+
readonly name: "to";
|
|
882
|
+
readonly type: "address";
|
|
883
|
+
}];
|
|
884
|
+
readonly name: "isTransferAllowed";
|
|
885
|
+
readonly outputs: readonly [{
|
|
886
|
+
readonly internalType: "bool";
|
|
887
|
+
readonly name: "";
|
|
888
|
+
readonly type: "bool";
|
|
889
|
+
}];
|
|
890
|
+
readonly stateMutability: "view";
|
|
891
|
+
readonly type: "function";
|
|
892
|
+
}, {
|
|
893
|
+
readonly inputs: readonly [{
|
|
894
|
+
readonly internalType: "uint256";
|
|
895
|
+
readonly name: "_id";
|
|
896
|
+
readonly type: "uint256";
|
|
897
|
+
}];
|
|
898
|
+
readonly name: "isUnlocked";
|
|
899
|
+
readonly outputs: readonly [{
|
|
900
|
+
readonly internalType: "bool";
|
|
901
|
+
readonly name: "";
|
|
902
|
+
readonly type: "bool";
|
|
903
|
+
}];
|
|
904
|
+
readonly stateMutability: "view";
|
|
905
|
+
readonly type: "function";
|
|
906
|
+
}, {
|
|
907
|
+
readonly inputs: readonly [{
|
|
908
|
+
readonly internalType: "uint256[]";
|
|
909
|
+
readonly name: "tokenIds";
|
|
910
|
+
readonly type: "uint256[]";
|
|
911
|
+
}];
|
|
912
|
+
readonly name: "isUnlockedMultiple";
|
|
913
|
+
readonly outputs: readonly [{
|
|
914
|
+
readonly internalType: "bool[]";
|
|
915
|
+
readonly name: "";
|
|
916
|
+
readonly type: "bool[]";
|
|
917
|
+
}];
|
|
918
|
+
readonly stateMutability: "view";
|
|
919
|
+
readonly type: "function";
|
|
920
|
+
}, {
|
|
921
|
+
readonly inputs: readonly [{
|
|
922
|
+
readonly internalType: "address";
|
|
923
|
+
readonly name: "from";
|
|
924
|
+
readonly type: "address";
|
|
925
|
+
}, {
|
|
926
|
+
readonly internalType: "address";
|
|
927
|
+
readonly name: "to";
|
|
928
|
+
readonly type: "address";
|
|
929
|
+
}, {
|
|
930
|
+
readonly internalType: "uint256";
|
|
931
|
+
readonly name: "tokenId";
|
|
932
|
+
readonly type: "uint256";
|
|
933
|
+
}];
|
|
934
|
+
readonly name: "keepTOLTransferFrom";
|
|
935
|
+
readonly outputs: readonly [];
|
|
936
|
+
readonly stateMutability: "nonpayable";
|
|
937
|
+
readonly type: "function";
|
|
938
|
+
}, {
|
|
939
|
+
readonly inputs: readonly [{
|
|
940
|
+
readonly internalType: "uint256";
|
|
941
|
+
readonly name: "";
|
|
942
|
+
readonly type: "uint256";
|
|
943
|
+
}];
|
|
944
|
+
readonly name: "lockCount";
|
|
945
|
+
readonly outputs: readonly [{
|
|
946
|
+
readonly internalType: "uint256";
|
|
947
|
+
readonly name: "";
|
|
948
|
+
readonly type: "uint256";
|
|
949
|
+
}];
|
|
950
|
+
readonly stateMutability: "view";
|
|
951
|
+
readonly type: "function";
|
|
952
|
+
}, {
|
|
953
|
+
readonly inputs: readonly [{
|
|
954
|
+
readonly internalType: "uint256";
|
|
955
|
+
readonly name: "_id";
|
|
956
|
+
readonly type: "uint256";
|
|
957
|
+
}];
|
|
958
|
+
readonly name: "lockId";
|
|
959
|
+
readonly outputs: readonly [];
|
|
960
|
+
readonly stateMutability: "nonpayable";
|
|
961
|
+
readonly type: "function";
|
|
962
|
+
}, {
|
|
963
|
+
readonly inputs: readonly [{
|
|
964
|
+
readonly internalType: "uint256";
|
|
965
|
+
readonly name: "";
|
|
966
|
+
readonly type: "uint256";
|
|
967
|
+
}, {
|
|
968
|
+
readonly internalType: "uint256";
|
|
969
|
+
readonly name: "";
|
|
970
|
+
readonly type: "uint256";
|
|
971
|
+
}];
|
|
972
|
+
readonly name: "lockMap";
|
|
973
|
+
readonly outputs: readonly [{
|
|
974
|
+
readonly internalType: "address";
|
|
975
|
+
readonly name: "";
|
|
976
|
+
readonly type: "address";
|
|
977
|
+
}];
|
|
978
|
+
readonly stateMutability: "view";
|
|
979
|
+
readonly type: "function";
|
|
980
|
+
}, {
|
|
981
|
+
readonly inputs: readonly [{
|
|
982
|
+
readonly internalType: "uint256";
|
|
983
|
+
readonly name: "";
|
|
984
|
+
readonly type: "uint256";
|
|
985
|
+
}, {
|
|
986
|
+
readonly internalType: "address";
|
|
987
|
+
readonly name: "";
|
|
988
|
+
readonly type: "address";
|
|
989
|
+
}];
|
|
990
|
+
readonly name: "lockMapIndex";
|
|
991
|
+
readonly outputs: readonly [{
|
|
992
|
+
readonly internalType: "uint256";
|
|
993
|
+
readonly name: "";
|
|
994
|
+
readonly type: "uint256";
|
|
995
|
+
}];
|
|
996
|
+
readonly stateMutability: "view";
|
|
997
|
+
readonly type: "function";
|
|
998
|
+
}, {
|
|
999
|
+
readonly inputs: readonly [{
|
|
1000
|
+
readonly internalType: "uint256";
|
|
1001
|
+
readonly name: "";
|
|
1002
|
+
readonly type: "uint256";
|
|
1003
|
+
}];
|
|
1004
|
+
readonly name: "mnplUnlocked";
|
|
1005
|
+
readonly outputs: readonly [{
|
|
1006
|
+
readonly internalType: "bool";
|
|
1007
|
+
readonly name: "";
|
|
1008
|
+
readonly type: "bool";
|
|
1009
|
+
}];
|
|
1010
|
+
readonly stateMutability: "view";
|
|
1011
|
+
readonly type: "function";
|
|
1012
|
+
}, {
|
|
1013
|
+
readonly inputs: readonly [{
|
|
1014
|
+
readonly internalType: "uint256";
|
|
1015
|
+
readonly name: "";
|
|
1016
|
+
readonly type: "uint256";
|
|
1017
|
+
}];
|
|
1018
|
+
readonly name: "mnplUpgraded";
|
|
1019
|
+
readonly outputs: readonly [{
|
|
1020
|
+
readonly internalType: "bool";
|
|
1021
|
+
readonly name: "";
|
|
1022
|
+
readonly type: "bool";
|
|
1023
|
+
}];
|
|
1024
|
+
readonly stateMutability: "view";
|
|
1025
|
+
readonly type: "function";
|
|
1026
|
+
}, {
|
|
1027
|
+
readonly inputs: readonly [];
|
|
1028
|
+
readonly name: "name";
|
|
1029
|
+
readonly outputs: readonly [{
|
|
1030
|
+
readonly internalType: "string";
|
|
1031
|
+
readonly name: "";
|
|
1032
|
+
readonly type: "string";
|
|
1033
|
+
}];
|
|
1034
|
+
readonly stateMutability: "view";
|
|
1035
|
+
readonly type: "function";
|
|
1036
|
+
}, {
|
|
1037
|
+
readonly inputs: readonly [];
|
|
1038
|
+
readonly name: "owner";
|
|
1039
|
+
readonly outputs: readonly [{
|
|
1040
|
+
readonly internalType: "address";
|
|
1041
|
+
readonly name: "";
|
|
1042
|
+
readonly type: "address";
|
|
1043
|
+
}];
|
|
1044
|
+
readonly stateMutability: "view";
|
|
1045
|
+
readonly type: "function";
|
|
1046
|
+
}, {
|
|
1047
|
+
readonly inputs: readonly [{
|
|
1048
|
+
readonly internalType: "uint256";
|
|
1049
|
+
readonly name: "tokenId";
|
|
1050
|
+
readonly type: "uint256";
|
|
1051
|
+
}];
|
|
1052
|
+
readonly name: "ownerOf";
|
|
1053
|
+
readonly outputs: readonly [{
|
|
1054
|
+
readonly internalType: "address";
|
|
1055
|
+
readonly name: "";
|
|
1056
|
+
readonly type: "address";
|
|
1057
|
+
}];
|
|
1058
|
+
readonly stateMutability: "view";
|
|
1059
|
+
readonly type: "function";
|
|
1060
|
+
}, {
|
|
1061
|
+
readonly inputs: readonly [{
|
|
1062
|
+
readonly internalType: "uint256[]";
|
|
1063
|
+
readonly name: "tokenIds";
|
|
1064
|
+
readonly type: "uint256[]";
|
|
1065
|
+
}];
|
|
1066
|
+
readonly name: "ownerOfMultiple";
|
|
1067
|
+
readonly outputs: readonly [{
|
|
1068
|
+
readonly internalType: "address[]";
|
|
1069
|
+
readonly name: "";
|
|
1070
|
+
readonly type: "address[]";
|
|
1071
|
+
}];
|
|
1072
|
+
readonly stateMutability: "view";
|
|
1073
|
+
readonly type: "function";
|
|
1074
|
+
}, {
|
|
1075
|
+
readonly inputs: readonly [{
|
|
1076
|
+
readonly internalType: "uint256";
|
|
1077
|
+
readonly name: "tokenId";
|
|
1078
|
+
readonly type: "uint256";
|
|
1079
|
+
}];
|
|
1080
|
+
readonly name: "payRoyalty";
|
|
1081
|
+
readonly outputs: readonly [];
|
|
1082
|
+
readonly stateMutability: "payable";
|
|
1083
|
+
readonly type: "function";
|
|
1084
|
+
}, {
|
|
1085
|
+
readonly inputs: readonly [];
|
|
1086
|
+
readonly name: "renounceOwnership";
|
|
1087
|
+
readonly outputs: readonly [];
|
|
1088
|
+
readonly stateMutability: "nonpayable";
|
|
1089
|
+
readonly type: "function";
|
|
1090
|
+
}, {
|
|
1091
|
+
readonly inputs: readonly [{
|
|
1092
|
+
readonly internalType: "address";
|
|
1093
|
+
readonly name: "from";
|
|
1094
|
+
readonly type: "address";
|
|
1095
|
+
}, {
|
|
1096
|
+
readonly internalType: "address";
|
|
1097
|
+
readonly name: "to";
|
|
1098
|
+
readonly type: "address";
|
|
1099
|
+
}, {
|
|
1100
|
+
readonly internalType: "uint256";
|
|
1101
|
+
readonly name: "tokenId";
|
|
1102
|
+
readonly type: "uint256";
|
|
1103
|
+
}];
|
|
1104
|
+
readonly name: "safeTransferFrom";
|
|
1105
|
+
readonly outputs: readonly [];
|
|
1106
|
+
readonly stateMutability: "nonpayable";
|
|
1107
|
+
readonly type: "function";
|
|
1108
|
+
}, {
|
|
1109
|
+
readonly inputs: readonly [{
|
|
1110
|
+
readonly internalType: "address";
|
|
1111
|
+
readonly name: "_from";
|
|
1112
|
+
readonly type: "address";
|
|
1113
|
+
}, {
|
|
1114
|
+
readonly internalType: "address";
|
|
1115
|
+
readonly name: "_to";
|
|
1116
|
+
readonly type: "address";
|
|
1117
|
+
}, {
|
|
1118
|
+
readonly internalType: "uint256";
|
|
1119
|
+
readonly name: "_tokenId";
|
|
1120
|
+
readonly type: "uint256";
|
|
1121
|
+
}, {
|
|
1122
|
+
readonly internalType: "bytes";
|
|
1123
|
+
readonly name: "data";
|
|
1124
|
+
readonly type: "bytes";
|
|
1125
|
+
}];
|
|
1126
|
+
readonly name: "safeTransferFrom";
|
|
1127
|
+
readonly outputs: readonly [];
|
|
1128
|
+
readonly stateMutability: "nonpayable";
|
|
1129
|
+
readonly type: "function";
|
|
1130
|
+
}, {
|
|
1131
|
+
readonly inputs: readonly [{
|
|
1132
|
+
readonly internalType: "uint256";
|
|
1133
|
+
readonly name: "tokenId";
|
|
1134
|
+
readonly type: "uint256";
|
|
1135
|
+
}, {
|
|
1136
|
+
readonly internalType: "bool";
|
|
1137
|
+
readonly name: "isLocked";
|
|
1138
|
+
readonly type: "bool";
|
|
1139
|
+
}];
|
|
1140
|
+
readonly name: "setAdminLocked";
|
|
1141
|
+
readonly outputs: readonly [];
|
|
1142
|
+
readonly stateMutability: "nonpayable";
|
|
1143
|
+
readonly type: "function";
|
|
1144
|
+
}, {
|
|
1145
|
+
readonly inputs: readonly [{
|
|
1146
|
+
readonly internalType: "uint256[]";
|
|
1147
|
+
readonly name: "tokenIds";
|
|
1148
|
+
readonly type: "uint256[]";
|
|
1149
|
+
}, {
|
|
1150
|
+
readonly internalType: "bool[]";
|
|
1151
|
+
readonly name: "isLockeds";
|
|
1152
|
+
readonly type: "bool[]";
|
|
1153
|
+
}];
|
|
1154
|
+
readonly name: "setAdminLockedMultiple";
|
|
1155
|
+
readonly outputs: readonly [];
|
|
1156
|
+
readonly stateMutability: "nonpayable";
|
|
1157
|
+
readonly type: "function";
|
|
1158
|
+
}, {
|
|
1159
|
+
readonly inputs: readonly [{
|
|
1160
|
+
readonly internalType: "address";
|
|
1161
|
+
readonly name: "operator";
|
|
1162
|
+
readonly type: "address";
|
|
1163
|
+
}, {
|
|
1164
|
+
readonly internalType: "bool";
|
|
1165
|
+
readonly name: "approved";
|
|
1166
|
+
readonly type: "bool";
|
|
1167
|
+
}];
|
|
1168
|
+
readonly name: "setApprovalForAll";
|
|
1169
|
+
readonly outputs: readonly [];
|
|
1170
|
+
readonly stateMutability: "nonpayable";
|
|
1171
|
+
readonly type: "function";
|
|
1172
|
+
}, {
|
|
1173
|
+
readonly inputs: readonly [{
|
|
1174
|
+
readonly internalType: "string";
|
|
1175
|
+
readonly name: "baseURI";
|
|
1176
|
+
readonly type: "string";
|
|
1177
|
+
}];
|
|
1178
|
+
readonly name: "setBaseURI";
|
|
1179
|
+
readonly outputs: readonly [];
|
|
1180
|
+
readonly stateMutability: "nonpayable";
|
|
1181
|
+
readonly type: "function";
|
|
1182
|
+
}, {
|
|
1183
|
+
readonly inputs: readonly [{
|
|
1184
|
+
readonly internalType: "enum TransferSecurityLevels";
|
|
1185
|
+
readonly name: "level";
|
|
1186
|
+
readonly type: "uint8";
|
|
1187
|
+
}, {
|
|
1188
|
+
readonly internalType: "uint120";
|
|
1189
|
+
readonly name: "operatorWhitelistId";
|
|
1190
|
+
readonly type: "uint120";
|
|
1191
|
+
}, {
|
|
1192
|
+
readonly internalType: "uint120";
|
|
1193
|
+
readonly name: "permittedContractReceiversAllowlistId";
|
|
1194
|
+
readonly type: "uint120";
|
|
1195
|
+
}];
|
|
1196
|
+
readonly name: "setToCustomSecurityPolicy";
|
|
1197
|
+
readonly outputs: readonly [];
|
|
1198
|
+
readonly stateMutability: "nonpayable";
|
|
1199
|
+
readonly type: "function";
|
|
1200
|
+
}, {
|
|
1201
|
+
readonly inputs: readonly [{
|
|
1202
|
+
readonly internalType: "address";
|
|
1203
|
+
readonly name: "validator";
|
|
1204
|
+
readonly type: "address";
|
|
1205
|
+
}, {
|
|
1206
|
+
readonly internalType: "enum TransferSecurityLevels";
|
|
1207
|
+
readonly name: "level";
|
|
1208
|
+
readonly type: "uint8";
|
|
1209
|
+
}, {
|
|
1210
|
+
readonly internalType: "uint120";
|
|
1211
|
+
readonly name: "operatorWhitelistId";
|
|
1212
|
+
readonly type: "uint120";
|
|
1213
|
+
}, {
|
|
1214
|
+
readonly internalType: "uint120";
|
|
1215
|
+
readonly name: "permittedContractReceiversAllowlistId";
|
|
1216
|
+
readonly type: "uint120";
|
|
1217
|
+
}];
|
|
1218
|
+
readonly name: "setToCustomValidatorAndSecurityPolicy";
|
|
1219
|
+
readonly outputs: readonly [];
|
|
1220
|
+
readonly stateMutability: "nonpayable";
|
|
1221
|
+
readonly type: "function";
|
|
1222
|
+
}, {
|
|
1223
|
+
readonly inputs: readonly [];
|
|
1224
|
+
readonly name: "setToDefaultSecurityPolicy";
|
|
1225
|
+
readonly outputs: readonly [];
|
|
1226
|
+
readonly stateMutability: "nonpayable";
|
|
1227
|
+
readonly type: "function";
|
|
1228
|
+
}, {
|
|
1229
|
+
readonly inputs: readonly [{
|
|
1230
|
+
readonly internalType: "uint256[]";
|
|
1231
|
+
readonly name: "tokenIds";
|
|
1232
|
+
readonly type: "uint256[]";
|
|
1233
|
+
}, {
|
|
1234
|
+
readonly internalType: "bool";
|
|
1235
|
+
readonly name: "setStake";
|
|
1236
|
+
readonly type: "bool";
|
|
1237
|
+
}];
|
|
1238
|
+
readonly name: "setTokensStakeStatus";
|
|
1239
|
+
readonly outputs: readonly [];
|
|
1240
|
+
readonly stateMutability: "payable";
|
|
1241
|
+
readonly type: "function";
|
|
1242
|
+
}, {
|
|
1243
|
+
readonly inputs: readonly [{
|
|
1244
|
+
readonly internalType: "address";
|
|
1245
|
+
readonly name: "transferValidator_";
|
|
1246
|
+
readonly type: "address";
|
|
1247
|
+
}];
|
|
1248
|
+
readonly name: "setTransferValidator";
|
|
1249
|
+
readonly outputs: readonly [];
|
|
1250
|
+
readonly stateMutability: "nonpayable";
|
|
1251
|
+
readonly type: "function";
|
|
1252
|
+
}, {
|
|
1253
|
+
readonly inputs: readonly [{
|
|
1254
|
+
readonly internalType: "address";
|
|
1255
|
+
readonly name: "guardianAddress";
|
|
1256
|
+
readonly type: "address";
|
|
1257
|
+
}, {
|
|
1258
|
+
readonly internalType: "uint256";
|
|
1259
|
+
readonly name: "_tokenIdOrUpIsMNPL";
|
|
1260
|
+
readonly type: "uint256";
|
|
1261
|
+
}, {
|
|
1262
|
+
readonly internalType: "uint256";
|
|
1263
|
+
readonly name: "_unlockPrice";
|
|
1264
|
+
readonly type: "uint256";
|
|
1265
|
+
}];
|
|
1266
|
+
readonly name: "setupGuardianAndMNPL";
|
|
1267
|
+
readonly outputs: readonly [];
|
|
1268
|
+
readonly stateMutability: "nonpayable";
|
|
1269
|
+
readonly type: "function";
|
|
1270
|
+
}, {
|
|
1271
|
+
readonly inputs: readonly [{
|
|
1272
|
+
readonly internalType: "bool";
|
|
1273
|
+
readonly name: "b";
|
|
1274
|
+
readonly type: "bool";
|
|
1275
|
+
}, {
|
|
1276
|
+
readonly internalType: "uint256";
|
|
1277
|
+
readonly name: "price";
|
|
1278
|
+
readonly type: "uint256";
|
|
1279
|
+
}];
|
|
1280
|
+
readonly name: "setupStaking";
|
|
1281
|
+
readonly outputs: readonly [];
|
|
1282
|
+
readonly stateMutability: "nonpayable";
|
|
1283
|
+
readonly type: "function";
|
|
1284
|
+
}, {
|
|
1285
|
+
readonly inputs: readonly [];
|
|
1286
|
+
readonly name: "stakePrice";
|
|
1287
|
+
readonly outputs: readonly [{
|
|
1288
|
+
readonly internalType: "uint256";
|
|
1289
|
+
readonly name: "";
|
|
1290
|
+
readonly type: "uint256";
|
|
1291
|
+
}];
|
|
1292
|
+
readonly stateMutability: "view";
|
|
1293
|
+
readonly type: "function";
|
|
1294
|
+
}, {
|
|
1295
|
+
readonly inputs: readonly [{
|
|
1296
|
+
readonly internalType: "bytes4";
|
|
1297
|
+
readonly name: "interfaceId";
|
|
1298
|
+
readonly type: "bytes4";
|
|
1299
|
+
}];
|
|
1300
|
+
readonly name: "supportsInterface";
|
|
1301
|
+
readonly outputs: readonly [{
|
|
1302
|
+
readonly internalType: "bool";
|
|
1303
|
+
readonly name: "";
|
|
1304
|
+
readonly type: "bool";
|
|
1305
|
+
}];
|
|
1306
|
+
readonly stateMutability: "view";
|
|
1307
|
+
readonly type: "function";
|
|
1308
|
+
}, {
|
|
1309
|
+
readonly inputs: readonly [];
|
|
1310
|
+
readonly name: "symbol";
|
|
1311
|
+
readonly outputs: readonly [{
|
|
1312
|
+
readonly internalType: "string";
|
|
1313
|
+
readonly name: "";
|
|
1314
|
+
readonly type: "string";
|
|
1315
|
+
}];
|
|
1316
|
+
readonly stateMutability: "view";
|
|
1317
|
+
readonly type: "function";
|
|
1318
|
+
}, {
|
|
1319
|
+
readonly inputs: readonly [];
|
|
1320
|
+
readonly name: "tokenIdOrUpIsMNPL";
|
|
1321
|
+
readonly outputs: readonly [{
|
|
1322
|
+
readonly internalType: "uint256";
|
|
1323
|
+
readonly name: "";
|
|
1324
|
+
readonly type: "uint256";
|
|
1325
|
+
}];
|
|
1326
|
+
readonly stateMutability: "view";
|
|
1327
|
+
readonly type: "function";
|
|
1328
|
+
}, {
|
|
1329
|
+
readonly inputs: readonly [{
|
|
1330
|
+
readonly internalType: "uint256";
|
|
1331
|
+
readonly name: "tokenId";
|
|
1332
|
+
readonly type: "uint256";
|
|
1333
|
+
}];
|
|
1334
|
+
readonly name: "tokenURI";
|
|
1335
|
+
readonly outputs: readonly [{
|
|
1336
|
+
readonly internalType: "string";
|
|
1337
|
+
readonly name: "";
|
|
1338
|
+
readonly type: "string";
|
|
1339
|
+
}];
|
|
1340
|
+
readonly stateMutability: "view";
|
|
1341
|
+
readonly type: "function";
|
|
1342
|
+
}, {
|
|
1343
|
+
readonly inputs: readonly [{
|
|
1344
|
+
readonly internalType: "uint256";
|
|
1345
|
+
readonly name: "";
|
|
1346
|
+
readonly type: "uint256";
|
|
1347
|
+
}];
|
|
1348
|
+
readonly name: "tokensLastStakedAt";
|
|
1349
|
+
readonly outputs: readonly [{
|
|
1350
|
+
readonly internalType: "uint256";
|
|
1351
|
+
readonly name: "";
|
|
1352
|
+
readonly type: "uint256";
|
|
1353
|
+
}];
|
|
1354
|
+
readonly stateMutability: "view";
|
|
1355
|
+
readonly type: "function";
|
|
1356
|
+
}, {
|
|
1357
|
+
readonly inputs: readonly [{
|
|
1358
|
+
readonly internalType: "uint256[]";
|
|
1359
|
+
readonly name: "tokenIds";
|
|
1360
|
+
readonly type: "uint256[]";
|
|
1361
|
+
}];
|
|
1362
|
+
readonly name: "tokensLastStakedAtMultiple";
|
|
1363
|
+
readonly outputs: readonly [{
|
|
1364
|
+
readonly internalType: "uint256[]";
|
|
1365
|
+
readonly name: "";
|
|
1366
|
+
readonly type: "uint256[]";
|
|
1367
|
+
}];
|
|
1368
|
+
readonly stateMutability: "view";
|
|
1369
|
+
readonly type: "function";
|
|
1370
|
+
}, {
|
|
1371
|
+
readonly inputs: readonly [{
|
|
1372
|
+
readonly internalType: "address";
|
|
1373
|
+
readonly name: "owner";
|
|
1374
|
+
readonly type: "address";
|
|
1375
|
+
}];
|
|
1376
|
+
readonly name: "tokensOfOwner";
|
|
1377
|
+
readonly outputs: readonly [{
|
|
1378
|
+
readonly internalType: "uint256[]";
|
|
1379
|
+
readonly name: "";
|
|
1380
|
+
readonly type: "uint256[]";
|
|
1381
|
+
}];
|
|
1382
|
+
readonly stateMutability: "view";
|
|
1383
|
+
readonly type: "function";
|
|
1384
|
+
}, {
|
|
1385
|
+
readonly inputs: readonly [{
|
|
1386
|
+
readonly internalType: "address";
|
|
1387
|
+
readonly name: "owner";
|
|
1388
|
+
readonly type: "address";
|
|
1389
|
+
}, {
|
|
1390
|
+
readonly internalType: "uint256";
|
|
1391
|
+
readonly name: "start";
|
|
1392
|
+
readonly type: "uint256";
|
|
1393
|
+
}, {
|
|
1394
|
+
readonly internalType: "uint256";
|
|
1395
|
+
readonly name: "stop";
|
|
1396
|
+
readonly type: "uint256";
|
|
1397
|
+
}];
|
|
1398
|
+
readonly name: "tokensOfOwnerIn";
|
|
1399
|
+
readonly outputs: readonly [{
|
|
1400
|
+
readonly internalType: "uint256[]";
|
|
1401
|
+
readonly name: "";
|
|
1402
|
+
readonly type: "uint256[]";
|
|
1403
|
+
}];
|
|
1404
|
+
readonly stateMutability: "view";
|
|
1405
|
+
readonly type: "function";
|
|
1406
|
+
}, {
|
|
1407
|
+
readonly inputs: readonly [];
|
|
1408
|
+
readonly name: "totalSupply";
|
|
1409
|
+
readonly outputs: readonly [{
|
|
1410
|
+
readonly internalType: "uint256";
|
|
1411
|
+
readonly name: "";
|
|
1412
|
+
readonly type: "uint256";
|
|
1413
|
+
}];
|
|
1414
|
+
readonly stateMutability: "view";
|
|
1415
|
+
readonly type: "function";
|
|
1416
|
+
}, {
|
|
1417
|
+
readonly inputs: readonly [{
|
|
1418
|
+
readonly internalType: "address";
|
|
1419
|
+
readonly name: "_from";
|
|
1420
|
+
readonly type: "address";
|
|
1421
|
+
}, {
|
|
1422
|
+
readonly internalType: "address";
|
|
1423
|
+
readonly name: "_to";
|
|
1424
|
+
readonly type: "address";
|
|
1425
|
+
}, {
|
|
1426
|
+
readonly internalType: "uint256";
|
|
1427
|
+
readonly name: "_tokenId";
|
|
1428
|
+
readonly type: "uint256";
|
|
1429
|
+
}];
|
|
1430
|
+
readonly name: "transferFrom";
|
|
1431
|
+
readonly outputs: readonly [];
|
|
1432
|
+
readonly stateMutability: "nonpayable";
|
|
1433
|
+
readonly type: "function";
|
|
1434
|
+
}, {
|
|
1435
|
+
readonly inputs: readonly [{
|
|
1436
|
+
readonly internalType: "address";
|
|
1437
|
+
readonly name: "newOwner";
|
|
1438
|
+
readonly type: "address";
|
|
1439
|
+
}];
|
|
1440
|
+
readonly name: "transferOwnership";
|
|
1441
|
+
readonly outputs: readonly [];
|
|
1442
|
+
readonly stateMutability: "nonpayable";
|
|
1443
|
+
readonly type: "function";
|
|
1444
|
+
}, {
|
|
1445
|
+
readonly inputs: readonly [{
|
|
1446
|
+
readonly internalType: "uint256";
|
|
1447
|
+
readonly name: "tokenId";
|
|
1448
|
+
readonly type: "uint256";
|
|
1449
|
+
}];
|
|
1450
|
+
readonly name: "unlockAndUpgradeMNPL";
|
|
1451
|
+
readonly outputs: readonly [];
|
|
1452
|
+
readonly stateMutability: "payable";
|
|
1453
|
+
readonly type: "function";
|
|
1454
|
+
}, {
|
|
1455
|
+
readonly inputs: readonly [{
|
|
1456
|
+
readonly internalType: "uint256";
|
|
1457
|
+
readonly name: "_id";
|
|
1458
|
+
readonly type: "uint256";
|
|
1459
|
+
}];
|
|
1460
|
+
readonly name: "unlockId";
|
|
1461
|
+
readonly outputs: readonly [];
|
|
1462
|
+
readonly stateMutability: "nonpayable";
|
|
1463
|
+
readonly type: "function";
|
|
1464
|
+
}, {
|
|
1465
|
+
readonly inputs: readonly [];
|
|
1466
|
+
readonly name: "unlockPrice";
|
|
1467
|
+
readonly outputs: readonly [{
|
|
1468
|
+
readonly internalType: "uint256";
|
|
1469
|
+
readonly name: "";
|
|
1470
|
+
readonly type: "uint256";
|
|
1471
|
+
}];
|
|
1472
|
+
readonly stateMutability: "view";
|
|
1473
|
+
readonly type: "function";
|
|
1474
|
+
}, {
|
|
1475
|
+
readonly inputs: readonly [{
|
|
1476
|
+
readonly internalType: "address[]";
|
|
1477
|
+
readonly name: "_contracts";
|
|
1478
|
+
readonly type: "address[]";
|
|
1479
|
+
}, {
|
|
1480
|
+
readonly internalType: "bool[]";
|
|
1481
|
+
readonly name: "_values";
|
|
1482
|
+
readonly type: "bool[]";
|
|
1483
|
+
}];
|
|
1484
|
+
readonly name: "updateApprovedContracts";
|
|
1485
|
+
readonly outputs: readonly [];
|
|
1486
|
+
readonly stateMutability: "nonpayable";
|
|
1487
|
+
readonly type: "function";
|
|
1488
|
+
}, {
|
|
1489
|
+
readonly inputs: readonly [];
|
|
1490
|
+
readonly name: "upgradePrice";
|
|
1491
|
+
readonly outputs: readonly [{
|
|
1492
|
+
readonly internalType: "uint256";
|
|
1493
|
+
readonly name: "";
|
|
1494
|
+
readonly type: "uint256";
|
|
1495
|
+
}];
|
|
1496
|
+
readonly stateMutability: "view";
|
|
1497
|
+
readonly type: "function";
|
|
1498
|
+
}, {
|
|
1499
|
+
readonly inputs: readonly [{
|
|
1500
|
+
readonly internalType: "address[]";
|
|
1501
|
+
readonly name: "markets";
|
|
1502
|
+
readonly type: "address[]";
|
|
1503
|
+
}, {
|
|
1504
|
+
readonly internalType: "bool";
|
|
1505
|
+
readonly name: "whitelisted";
|
|
1506
|
+
readonly type: "bool";
|
|
1507
|
+
}];
|
|
1508
|
+
readonly name: "whitelistMarketplaces";
|
|
1509
|
+
readonly outputs: readonly [];
|
|
1510
|
+
readonly stateMutability: "nonpayable";
|
|
1511
|
+
readonly type: "function";
|
|
1512
|
+
}, {
|
|
1513
|
+
readonly inputs: readonly [{
|
|
1514
|
+
readonly internalType: "address";
|
|
1515
|
+
readonly name: "";
|
|
1516
|
+
readonly type: "address";
|
|
1517
|
+
}];
|
|
1518
|
+
readonly name: "whitelistedMarketplaces";
|
|
1519
|
+
readonly outputs: readonly [{
|
|
1520
|
+
readonly internalType: "bool";
|
|
1521
|
+
readonly name: "";
|
|
1522
|
+
readonly type: "bool";
|
|
1523
|
+
}];
|
|
1524
|
+
readonly stateMutability: "view";
|
|
1525
|
+
readonly type: "function";
|
|
1526
|
+
}, {
|
|
1527
|
+
readonly inputs: readonly [];
|
|
1528
|
+
readonly name: "withdrawSales";
|
|
1529
|
+
readonly outputs: readonly [];
|
|
1530
|
+
readonly stateMutability: "nonpayable";
|
|
1531
|
+
readonly type: "function";
|
|
1532
|
+
}];
|
|
1533
|
+
/**
|
|
1534
|
+
* Type-safe ABI for Yogapetz
|
|
1535
|
+
*/
|
|
1536
|
+
export type YogapetzAbi = typeof YogapetzAbi;
|
|
1537
|
+
/**
|
|
1538
|
+
* Contract instance type for Yogapetz
|
|
1539
|
+
*/
|
|
1540
|
+
export type YogapetzContract = any;
|
|
1541
|
+
/**
|
|
1542
|
+
* Yogapetz Contract Class
|
|
1543
|
+
*
|
|
1544
|
+
* Provides a class-based API similar to TypeChain for interacting with the contract.
|
|
1545
|
+
*
|
|
1546
|
+
* @example
|
|
1547
|
+
* ```typescript
|
|
1548
|
+
* import { createPublicClient, createWalletClient, http } from 'viem';
|
|
1549
|
+
* import { mainnet } from 'viem/chains';
|
|
1550
|
+
* import { Yogapetz } from 'Yogapetz';
|
|
1551
|
+
*
|
|
1552
|
+
* const publicClient = createPublicClient({ chain: mainnet, transport: http() });
|
|
1553
|
+
* const walletClient = createWalletClient({ chain: mainnet, transport: http() });
|
|
1554
|
+
*
|
|
1555
|
+
* const contract = new Yogapetz('0x...', { publicClient, walletClient });
|
|
1556
|
+
*
|
|
1557
|
+
* // Read functions
|
|
1558
|
+
* const result = await contract.balanceOf('0x...');
|
|
1559
|
+
*
|
|
1560
|
+
* // Write functions
|
|
1561
|
+
* const hash = await contract.transfer('0x...', 1000n);
|
|
1562
|
+
*
|
|
1563
|
+
* // Simulate transactions (dry-run)
|
|
1564
|
+
* const simulation = await contract.simulate.transfer('0x...', 1000n);
|
|
1565
|
+
* console.log('Gas estimate:', simulation.request.gas);
|
|
1566
|
+
*
|
|
1567
|
+
* // Watch events
|
|
1568
|
+
* const unwatch = contract.watch.Transfer((event) => {
|
|
1569
|
+
* console.log('Transfer event:', event);
|
|
1570
|
+
* });
|
|
1571
|
+
* ```
|
|
1572
|
+
*/
|
|
1573
|
+
export declare class Yogapetz {
|
|
1574
|
+
private contract;
|
|
1575
|
+
private contractAddress;
|
|
1576
|
+
private publicClient;
|
|
1577
|
+
constructor(address: Address, clients: {
|
|
1578
|
+
publicClient: PublicClient;
|
|
1579
|
+
walletClient?: WalletClient;
|
|
1580
|
+
});
|
|
1581
|
+
/**
|
|
1582
|
+
* Get the contract address
|
|
1583
|
+
*/
|
|
1584
|
+
get address(): Address;
|
|
1585
|
+
/**
|
|
1586
|
+
* Get the underlying viem contract instance.
|
|
1587
|
+
*/
|
|
1588
|
+
getContract(): YogapetzContract;
|
|
1589
|
+
/**
|
|
1590
|
+
* DEFAULT_OPERATOR_WHITELIST_ID
|
|
1591
|
+
* view
|
|
1592
|
+
*/
|
|
1593
|
+
DEFAULT_OPERATOR_WHITELIST_ID(): Promise<bigint>;
|
|
1594
|
+
/**
|
|
1595
|
+
* DEFAULT_TRANSFER_SECURITY_LEVEL
|
|
1596
|
+
* view
|
|
1597
|
+
*/
|
|
1598
|
+
DEFAULT_TRANSFER_SECURITY_LEVEL(): Promise<bigint>;
|
|
1599
|
+
/**
|
|
1600
|
+
* DEFAULT_TRANSFER_VALIDATOR
|
|
1601
|
+
* view
|
|
1602
|
+
*/
|
|
1603
|
+
DEFAULT_TRANSFER_VALIDATOR(): Promise<`0x${string}`>;
|
|
1604
|
+
/**
|
|
1605
|
+
* MAX_SUPPLY
|
|
1606
|
+
* view
|
|
1607
|
+
*/
|
|
1608
|
+
MAX_SUPPLY(): Promise<bigint>;
|
|
1609
|
+
/**
|
|
1610
|
+
* adminLocked
|
|
1611
|
+
* view
|
|
1612
|
+
*/
|
|
1613
|
+
adminLocked(arg0: bigint): Promise<boolean>;
|
|
1614
|
+
/**
|
|
1615
|
+
* approvedContract
|
|
1616
|
+
* view
|
|
1617
|
+
*/
|
|
1618
|
+
approvedContract(arg0: `0x${string}`): Promise<boolean>;
|
|
1619
|
+
/**
|
|
1620
|
+
* balanceOf
|
|
1621
|
+
* view
|
|
1622
|
+
*/
|
|
1623
|
+
balanceOf(owner: `0x${string}`): Promise<bigint>;
|
|
1624
|
+
/**
|
|
1625
|
+
* baseTokenURI
|
|
1626
|
+
* view
|
|
1627
|
+
*/
|
|
1628
|
+
baseTokenURI(): Promise<string>;
|
|
1629
|
+
/**
|
|
1630
|
+
* bio
|
|
1631
|
+
* view
|
|
1632
|
+
*/
|
|
1633
|
+
bio(arg0: bigint): Promise<string>;
|
|
1634
|
+
/**
|
|
1635
|
+
* canStake
|
|
1636
|
+
* view
|
|
1637
|
+
*/
|
|
1638
|
+
canStake(): Promise<boolean>;
|
|
1639
|
+
/**
|
|
1640
|
+
* exemptedMarketplaces
|
|
1641
|
+
* view
|
|
1642
|
+
*/
|
|
1643
|
+
exemptedMarketplaces(arg0: `0x${string}`): Promise<boolean>;
|
|
1644
|
+
/**
|
|
1645
|
+
* explicitOwnershipOf
|
|
1646
|
+
* view
|
|
1647
|
+
*/
|
|
1648
|
+
explicitOwnershipOf(tokenId: bigint): Promise<IERC721AUpgradeable_TokenOwnership>;
|
|
1649
|
+
/**
|
|
1650
|
+
* explicitOwnershipsOf
|
|
1651
|
+
* view
|
|
1652
|
+
*/
|
|
1653
|
+
explicitOwnershipsOf(tokenIds: bigint[]): Promise<IERC721AUpgradeable_TokenOwnership[]>;
|
|
1654
|
+
/**
|
|
1655
|
+
* getApproved
|
|
1656
|
+
* view
|
|
1657
|
+
*/
|
|
1658
|
+
getApproved(tokenId: bigint): Promise<`0x${string}`>;
|
|
1659
|
+
/**
|
|
1660
|
+
* getPermittedContractReceivers
|
|
1661
|
+
* view
|
|
1662
|
+
*/
|
|
1663
|
+
getPermittedContractReceivers(): Promise<`0x${string}`[]>;
|
|
1664
|
+
/**
|
|
1665
|
+
* getSecurityPolicy
|
|
1666
|
+
* view
|
|
1667
|
+
*/
|
|
1668
|
+
getSecurityPolicy(): Promise<CollectionSecurityPolicy>;
|
|
1669
|
+
/**
|
|
1670
|
+
* getTier
|
|
1671
|
+
* view
|
|
1672
|
+
*/
|
|
1673
|
+
getTier(tokenId: bigint): Promise<bigint>;
|
|
1674
|
+
/**
|
|
1675
|
+
* getTierMultiple
|
|
1676
|
+
* view
|
|
1677
|
+
*/
|
|
1678
|
+
getTierMultiple(tokenIds: bigint[]): Promise<bigint[]>;
|
|
1679
|
+
/**
|
|
1680
|
+
* getTransferValidator
|
|
1681
|
+
* view
|
|
1682
|
+
*/
|
|
1683
|
+
getTransferValidator(): Promise<`0x${string}`>;
|
|
1684
|
+
/**
|
|
1685
|
+
* getWhitelistedOperators
|
|
1686
|
+
* view
|
|
1687
|
+
*/
|
|
1688
|
+
getWhitelistedOperators(): Promise<`0x${string}`[]>;
|
|
1689
|
+
/**
|
|
1690
|
+
* guardianContract
|
|
1691
|
+
* view
|
|
1692
|
+
*/
|
|
1693
|
+
guardianContract(): Promise<`0x${string}`>;
|
|
1694
|
+
/**
|
|
1695
|
+
* isAdminLocked
|
|
1696
|
+
* view
|
|
1697
|
+
*/
|
|
1698
|
+
isAdminLocked(tokenId: bigint): Promise<boolean>;
|
|
1699
|
+
/**
|
|
1700
|
+
* isApprovedForAll
|
|
1701
|
+
* view
|
|
1702
|
+
*/
|
|
1703
|
+
isApprovedForAll(tokenOwner: `0x${string}`, operator: `0x${string}`): Promise<boolean>;
|
|
1704
|
+
/**
|
|
1705
|
+
* isContractReceiverPermitted
|
|
1706
|
+
* view
|
|
1707
|
+
*/
|
|
1708
|
+
isContractReceiverPermitted(receiver: `0x${string}`): Promise<boolean>;
|
|
1709
|
+
/**
|
|
1710
|
+
* isMNPLTransferLocked
|
|
1711
|
+
* view
|
|
1712
|
+
*/
|
|
1713
|
+
isMNPLTransferLocked(tokenId: bigint): Promise<boolean>;
|
|
1714
|
+
/**
|
|
1715
|
+
* isOperatorWhitelisted
|
|
1716
|
+
* view
|
|
1717
|
+
*/
|
|
1718
|
+
isOperatorWhitelisted(operator: `0x${string}`): Promise<boolean>;
|
|
1719
|
+
/**
|
|
1720
|
+
* isOriginallyMNPL
|
|
1721
|
+
* view
|
|
1722
|
+
*/
|
|
1723
|
+
isOriginallyMNPL(tokenId: bigint): Promise<boolean>;
|
|
1724
|
+
/**
|
|
1725
|
+
* isTransferAllowed
|
|
1726
|
+
* view
|
|
1727
|
+
*/
|
|
1728
|
+
isTransferAllowed(caller: `0x${string}`, from: `0x${string}`, to: `0x${string}`): Promise<boolean>;
|
|
1729
|
+
/**
|
|
1730
|
+
* isUnlocked
|
|
1731
|
+
* view
|
|
1732
|
+
*/
|
|
1733
|
+
isUnlocked(_id: bigint): Promise<boolean>;
|
|
1734
|
+
/**
|
|
1735
|
+
* isUnlockedMultiple
|
|
1736
|
+
* view
|
|
1737
|
+
*/
|
|
1738
|
+
isUnlockedMultiple(tokenIds: bigint[]): Promise<boolean[]>;
|
|
1739
|
+
/**
|
|
1740
|
+
* lockCount
|
|
1741
|
+
* view
|
|
1742
|
+
*/
|
|
1743
|
+
lockCount(arg0: bigint): Promise<bigint>;
|
|
1744
|
+
/**
|
|
1745
|
+
* lockMap
|
|
1746
|
+
* view
|
|
1747
|
+
*/
|
|
1748
|
+
lockMap(arg0: bigint, arg1: bigint): Promise<`0x${string}`>;
|
|
1749
|
+
/**
|
|
1750
|
+
* lockMapIndex
|
|
1751
|
+
* view
|
|
1752
|
+
*/
|
|
1753
|
+
lockMapIndex(arg0: bigint, arg1: `0x${string}`): Promise<bigint>;
|
|
1754
|
+
/**
|
|
1755
|
+
* mnplUnlocked
|
|
1756
|
+
* view
|
|
1757
|
+
*/
|
|
1758
|
+
mnplUnlocked(arg0: bigint): Promise<boolean>;
|
|
1759
|
+
/**
|
|
1760
|
+
* mnplUpgraded
|
|
1761
|
+
* view
|
|
1762
|
+
*/
|
|
1763
|
+
mnplUpgraded(arg0: bigint): Promise<boolean>;
|
|
1764
|
+
/**
|
|
1765
|
+
* name
|
|
1766
|
+
* view
|
|
1767
|
+
*/
|
|
1768
|
+
name(): Promise<string>;
|
|
1769
|
+
/**
|
|
1770
|
+
* owner
|
|
1771
|
+
* view
|
|
1772
|
+
*/
|
|
1773
|
+
owner(): Promise<`0x${string}`>;
|
|
1774
|
+
/**
|
|
1775
|
+
* ownerOf
|
|
1776
|
+
* view
|
|
1777
|
+
*/
|
|
1778
|
+
ownerOf(tokenId: bigint): Promise<`0x${string}`>;
|
|
1779
|
+
/**
|
|
1780
|
+
* ownerOfMultiple
|
|
1781
|
+
* view
|
|
1782
|
+
*/
|
|
1783
|
+
ownerOfMultiple(tokenIds: bigint[]): Promise<`0x${string}`[]>;
|
|
1784
|
+
/**
|
|
1785
|
+
* stakePrice
|
|
1786
|
+
* view
|
|
1787
|
+
*/
|
|
1788
|
+
stakePrice(): Promise<bigint>;
|
|
1789
|
+
/**
|
|
1790
|
+
* supportsInterface
|
|
1791
|
+
* view
|
|
1792
|
+
*/
|
|
1793
|
+
supportsInterface(interfaceId: `0x${string}`): Promise<boolean>;
|
|
1794
|
+
/**
|
|
1795
|
+
* symbol
|
|
1796
|
+
* view
|
|
1797
|
+
*/
|
|
1798
|
+
symbol(): Promise<string>;
|
|
1799
|
+
/**
|
|
1800
|
+
* tokenIdOrUpIsMNPL
|
|
1801
|
+
* view
|
|
1802
|
+
*/
|
|
1803
|
+
tokenIdOrUpIsMNPL(): Promise<bigint>;
|
|
1804
|
+
/**
|
|
1805
|
+
* tokenURI
|
|
1806
|
+
* view
|
|
1807
|
+
*/
|
|
1808
|
+
tokenURI(tokenId: bigint): Promise<string>;
|
|
1809
|
+
/**
|
|
1810
|
+
* tokensLastStakedAt
|
|
1811
|
+
* view
|
|
1812
|
+
*/
|
|
1813
|
+
tokensLastStakedAt(arg0: bigint): Promise<bigint>;
|
|
1814
|
+
/**
|
|
1815
|
+
* tokensLastStakedAtMultiple
|
|
1816
|
+
* view
|
|
1817
|
+
*/
|
|
1818
|
+
tokensLastStakedAtMultiple(tokenIds: bigint[]): Promise<bigint[]>;
|
|
1819
|
+
/**
|
|
1820
|
+
* tokensOfOwner
|
|
1821
|
+
* view
|
|
1822
|
+
*/
|
|
1823
|
+
tokensOfOwner(owner: `0x${string}`): Promise<bigint[]>;
|
|
1824
|
+
/**
|
|
1825
|
+
* tokensOfOwnerIn
|
|
1826
|
+
* view
|
|
1827
|
+
*/
|
|
1828
|
+
tokensOfOwnerIn(owner: `0x${string}`, start: bigint, stop: bigint): Promise<bigint[]>;
|
|
1829
|
+
/**
|
|
1830
|
+
* totalSupply
|
|
1831
|
+
* view
|
|
1832
|
+
*/
|
|
1833
|
+
totalSupply(): Promise<bigint>;
|
|
1834
|
+
/**
|
|
1835
|
+
* unlockPrice
|
|
1836
|
+
* view
|
|
1837
|
+
*/
|
|
1838
|
+
unlockPrice(): Promise<bigint>;
|
|
1839
|
+
/**
|
|
1840
|
+
* upgradePrice
|
|
1841
|
+
* view
|
|
1842
|
+
*/
|
|
1843
|
+
upgradePrice(): Promise<bigint>;
|
|
1844
|
+
/**
|
|
1845
|
+
* whitelistedMarketplaces
|
|
1846
|
+
* view
|
|
1847
|
+
*/
|
|
1848
|
+
whitelistedMarketplaces(arg0: `0x${string}`): Promise<boolean>;
|
|
1849
|
+
/**
|
|
1850
|
+
* __DefaultOperatorFilterer_init
|
|
1851
|
+
* nonpayable
|
|
1852
|
+
* @param options Optional transaction parameters (value, gas, nonce, etc.)
|
|
1853
|
+
*/
|
|
1854
|
+
__DefaultOperatorFilterer_init(options?: {
|
|
1855
|
+
accessList?: import('viem').AccessList;
|
|
1856
|
+
authorizationList?: import('viem').AuthorizationList;
|
|
1857
|
+
chain?: import('viem').Chain | null;
|
|
1858
|
+
dataSuffix?: `0x${string}`;
|
|
1859
|
+
gas?: bigint;
|
|
1860
|
+
gasPrice?: bigint;
|
|
1861
|
+
maxFeePerGas?: bigint;
|
|
1862
|
+
maxPriorityFeePerGas?: bigint;
|
|
1863
|
+
nonce?: number;
|
|
1864
|
+
value?: bigint;
|
|
1865
|
+
}): Promise<`0x${string}`>;
|
|
1866
|
+
/**
|
|
1867
|
+
* __OperatorFilterer_init
|
|
1868
|
+
* nonpayable
|
|
1869
|
+
* @param options Optional transaction parameters (value, gas, nonce, etc.)
|
|
1870
|
+
*/
|
|
1871
|
+
__OperatorFilterer_init(subscriptionOrRegistrantToCopy: `0x${string}`, subscribe: boolean, options?: {
|
|
1872
|
+
accessList?: import('viem').AccessList;
|
|
1873
|
+
authorizationList?: import('viem').AuthorizationList;
|
|
1874
|
+
chain?: import('viem').Chain | null;
|
|
1875
|
+
dataSuffix?: `0x${string}`;
|
|
1876
|
+
gas?: bigint;
|
|
1877
|
+
gasPrice?: bigint;
|
|
1878
|
+
maxFeePerGas?: bigint;
|
|
1879
|
+
maxPriorityFeePerGas?: bigint;
|
|
1880
|
+
nonce?: number;
|
|
1881
|
+
value?: bigint;
|
|
1882
|
+
}): Promise<`0x${string}`>;
|
|
1883
|
+
/**
|
|
1884
|
+
* airdropListWithAmounts
|
|
1885
|
+
* nonpayable
|
|
1886
|
+
* @param options Optional transaction parameters (value, gas, nonce, etc.)
|
|
1887
|
+
*/
|
|
1888
|
+
airdropListWithAmounts(receivers: `0x${string}`[], amounts: bigint[], options?: {
|
|
1889
|
+
accessList?: import('viem').AccessList;
|
|
1890
|
+
authorizationList?: import('viem').AuthorizationList;
|
|
1891
|
+
chain?: import('viem').Chain | null;
|
|
1892
|
+
dataSuffix?: `0x${string}`;
|
|
1893
|
+
gas?: bigint;
|
|
1894
|
+
gasPrice?: bigint;
|
|
1895
|
+
maxFeePerGas?: bigint;
|
|
1896
|
+
maxPriorityFeePerGas?: bigint;
|
|
1897
|
+
nonce?: number;
|
|
1898
|
+
value?: bigint;
|
|
1899
|
+
}): Promise<`0x${string}`>;
|
|
1900
|
+
/**
|
|
1901
|
+
* approve
|
|
1902
|
+
* nonpayable
|
|
1903
|
+
* @param options Optional transaction parameters (value, gas, nonce, etc.)
|
|
1904
|
+
*/
|
|
1905
|
+
approve(to: `0x${string}`, tokenId: bigint, options?: {
|
|
1906
|
+
accessList?: import('viem').AccessList;
|
|
1907
|
+
authorizationList?: import('viem').AuthorizationList;
|
|
1908
|
+
chain?: import('viem').Chain | null;
|
|
1909
|
+
dataSuffix?: `0x${string}`;
|
|
1910
|
+
gas?: bigint;
|
|
1911
|
+
gasPrice?: bigint;
|
|
1912
|
+
maxFeePerGas?: bigint;
|
|
1913
|
+
maxPriorityFeePerGas?: bigint;
|
|
1914
|
+
nonce?: number;
|
|
1915
|
+
value?: bigint;
|
|
1916
|
+
}): Promise<`0x${string}`>;
|
|
1917
|
+
/**
|
|
1918
|
+
* confiscateT2
|
|
1919
|
+
* nonpayable
|
|
1920
|
+
* @param options Optional transaction parameters (value, gas, nonce, etc.)
|
|
1921
|
+
*/
|
|
1922
|
+
confiscateT2(t2TokenIds: bigint[], options?: {
|
|
1923
|
+
accessList?: import('viem').AccessList;
|
|
1924
|
+
authorizationList?: import('viem').AuthorizationList;
|
|
1925
|
+
chain?: import('viem').Chain | null;
|
|
1926
|
+
dataSuffix?: `0x${string}`;
|
|
1927
|
+
gas?: bigint;
|
|
1928
|
+
gasPrice?: bigint;
|
|
1929
|
+
maxFeePerGas?: bigint;
|
|
1930
|
+
maxPriorityFeePerGas?: bigint;
|
|
1931
|
+
nonce?: number;
|
|
1932
|
+
value?: bigint;
|
|
1933
|
+
}): Promise<`0x${string}`>;
|
|
1934
|
+
/**
|
|
1935
|
+
* exemptMarketplaces
|
|
1936
|
+
* nonpayable
|
|
1937
|
+
* @param options Optional transaction parameters (value, gas, nonce, etc.)
|
|
1938
|
+
*/
|
|
1939
|
+
exemptMarketplaces(markets: `0x${string}`[], exempted: boolean, options?: {
|
|
1940
|
+
accessList?: import('viem').AccessList;
|
|
1941
|
+
authorizationList?: import('viem').AuthorizationList;
|
|
1942
|
+
chain?: import('viem').Chain | null;
|
|
1943
|
+
dataSuffix?: `0x${string}`;
|
|
1944
|
+
gas?: bigint;
|
|
1945
|
+
gasPrice?: bigint;
|
|
1946
|
+
maxFeePerGas?: bigint;
|
|
1947
|
+
maxPriorityFeePerGas?: bigint;
|
|
1948
|
+
nonce?: number;
|
|
1949
|
+
value?: bigint;
|
|
1950
|
+
}): Promise<`0x${string}`>;
|
|
1951
|
+
/**
|
|
1952
|
+
* freeId
|
|
1953
|
+
* nonpayable
|
|
1954
|
+
* @param options Optional transaction parameters (value, gas, nonce, etc.)
|
|
1955
|
+
*/
|
|
1956
|
+
freeId(_id: bigint, _contract: `0x${string}`, options?: {
|
|
1957
|
+
accessList?: import('viem').AccessList;
|
|
1958
|
+
authorizationList?: import('viem').AuthorizationList;
|
|
1959
|
+
chain?: import('viem').Chain | null;
|
|
1960
|
+
dataSuffix?: `0x${string}`;
|
|
1961
|
+
gas?: bigint;
|
|
1962
|
+
gasPrice?: bigint;
|
|
1963
|
+
maxFeePerGas?: bigint;
|
|
1964
|
+
maxPriorityFeePerGas?: bigint;
|
|
1965
|
+
nonce?: number;
|
|
1966
|
+
value?: bigint;
|
|
1967
|
+
}): Promise<`0x${string}`>;
|
|
1968
|
+
/**
|
|
1969
|
+
* initialize
|
|
1970
|
+
* nonpayable
|
|
1971
|
+
* @param options Optional transaction parameters (value, gas, nonce, etc.)
|
|
1972
|
+
*/
|
|
1973
|
+
initialize(baseURI: string, options?: {
|
|
1974
|
+
accessList?: import('viem').AccessList;
|
|
1975
|
+
authorizationList?: import('viem').AuthorizationList;
|
|
1976
|
+
chain?: import('viem').Chain | null;
|
|
1977
|
+
dataSuffix?: `0x${string}`;
|
|
1978
|
+
gas?: bigint;
|
|
1979
|
+
gasPrice?: bigint;
|
|
1980
|
+
maxFeePerGas?: bigint;
|
|
1981
|
+
maxPriorityFeePerGas?: bigint;
|
|
1982
|
+
nonce?: number;
|
|
1983
|
+
value?: bigint;
|
|
1984
|
+
}): Promise<`0x${string}`>;
|
|
1985
|
+
/**
|
|
1986
|
+
* initializeV3
|
|
1987
|
+
* nonpayable
|
|
1988
|
+
* @param options Optional transaction parameters (value, gas, nonce, etc.)
|
|
1989
|
+
*/
|
|
1990
|
+
initializeV3(options?: {
|
|
1991
|
+
accessList?: import('viem').AccessList;
|
|
1992
|
+
authorizationList?: import('viem').AuthorizationList;
|
|
1993
|
+
chain?: import('viem').Chain | null;
|
|
1994
|
+
dataSuffix?: `0x${string}`;
|
|
1995
|
+
gas?: bigint;
|
|
1996
|
+
gasPrice?: bigint;
|
|
1997
|
+
maxFeePerGas?: bigint;
|
|
1998
|
+
maxPriorityFeePerGas?: bigint;
|
|
1999
|
+
nonce?: number;
|
|
2000
|
+
value?: bigint;
|
|
2001
|
+
}): Promise<`0x${string}`>;
|
|
2002
|
+
/**
|
|
2003
|
+
* keepTOLTransferFrom
|
|
2004
|
+
* nonpayable
|
|
2005
|
+
* @param options Optional transaction parameters (value, gas, nonce, etc.)
|
|
2006
|
+
*/
|
|
2007
|
+
keepTOLTransferFrom(from: `0x${string}`, to: `0x${string}`, tokenId: bigint, options?: {
|
|
2008
|
+
accessList?: import('viem').AccessList;
|
|
2009
|
+
authorizationList?: import('viem').AuthorizationList;
|
|
2010
|
+
chain?: import('viem').Chain | null;
|
|
2011
|
+
dataSuffix?: `0x${string}`;
|
|
2012
|
+
gas?: bigint;
|
|
2013
|
+
gasPrice?: bigint;
|
|
2014
|
+
maxFeePerGas?: bigint;
|
|
2015
|
+
maxPriorityFeePerGas?: bigint;
|
|
2016
|
+
nonce?: number;
|
|
2017
|
+
value?: bigint;
|
|
2018
|
+
}): Promise<`0x${string}`>;
|
|
2019
|
+
/**
|
|
2020
|
+
* lockId
|
|
2021
|
+
* nonpayable
|
|
2022
|
+
* @param options Optional transaction parameters (value, gas, nonce, etc.)
|
|
2023
|
+
*/
|
|
2024
|
+
lockId(_id: bigint, options?: {
|
|
2025
|
+
accessList?: import('viem').AccessList;
|
|
2026
|
+
authorizationList?: import('viem').AuthorizationList;
|
|
2027
|
+
chain?: import('viem').Chain | null;
|
|
2028
|
+
dataSuffix?: `0x${string}`;
|
|
2029
|
+
gas?: bigint;
|
|
2030
|
+
gasPrice?: bigint;
|
|
2031
|
+
maxFeePerGas?: bigint;
|
|
2032
|
+
maxPriorityFeePerGas?: bigint;
|
|
2033
|
+
nonce?: number;
|
|
2034
|
+
value?: bigint;
|
|
2035
|
+
}): Promise<`0x${string}`>;
|
|
2036
|
+
/**
|
|
2037
|
+
* payRoyalty
|
|
2038
|
+
* payable
|
|
2039
|
+
* @param options Optional transaction parameters (value, gas, nonce, etc.)
|
|
2040
|
+
*/
|
|
2041
|
+
payRoyalty(tokenId: bigint, options?: {
|
|
2042
|
+
accessList?: import('viem').AccessList;
|
|
2043
|
+
authorizationList?: import('viem').AuthorizationList;
|
|
2044
|
+
chain?: import('viem').Chain | null;
|
|
2045
|
+
dataSuffix?: `0x${string}`;
|
|
2046
|
+
gas?: bigint;
|
|
2047
|
+
gasPrice?: bigint;
|
|
2048
|
+
maxFeePerGas?: bigint;
|
|
2049
|
+
maxPriorityFeePerGas?: bigint;
|
|
2050
|
+
nonce?: number;
|
|
2051
|
+
value?: bigint;
|
|
2052
|
+
}): Promise<`0x${string}`>;
|
|
2053
|
+
/**
|
|
2054
|
+
* renounceOwnership
|
|
2055
|
+
* nonpayable
|
|
2056
|
+
* @param options Optional transaction parameters (value, gas, nonce, etc.)
|
|
2057
|
+
*/
|
|
2058
|
+
renounceOwnership(options?: {
|
|
2059
|
+
accessList?: import('viem').AccessList;
|
|
2060
|
+
authorizationList?: import('viem').AuthorizationList;
|
|
2061
|
+
chain?: import('viem').Chain | null;
|
|
2062
|
+
dataSuffix?: `0x${string}`;
|
|
2063
|
+
gas?: bigint;
|
|
2064
|
+
gasPrice?: bigint;
|
|
2065
|
+
maxFeePerGas?: bigint;
|
|
2066
|
+
maxPriorityFeePerGas?: bigint;
|
|
2067
|
+
nonce?: number;
|
|
2068
|
+
value?: bigint;
|
|
2069
|
+
}): Promise<`0x${string}`>;
|
|
2070
|
+
safeTransferFrom(from: `0x${string}`, to: `0x${string}`, tokenId: bigint, options?: {
|
|
2071
|
+
accessList?: import('viem').AccessList;
|
|
2072
|
+
authorizationList?: import('viem').AuthorizationList;
|
|
2073
|
+
chain?: import('viem').Chain | null;
|
|
2074
|
+
dataSuffix?: `0x${string}`;
|
|
2075
|
+
gas?: bigint;
|
|
2076
|
+
gasPrice?: bigint;
|
|
2077
|
+
maxFeePerGas?: bigint;
|
|
2078
|
+
maxPriorityFeePerGas?: bigint;
|
|
2079
|
+
nonce?: number;
|
|
2080
|
+
value?: bigint;
|
|
2081
|
+
}): Promise<`0x${string}`>;
|
|
2082
|
+
safeTransferFrom(_from: `0x${string}`, _to: `0x${string}`, _tokenId: bigint, data: `0x${string}`, options?: {
|
|
2083
|
+
accessList?: import('viem').AccessList;
|
|
2084
|
+
authorizationList?: import('viem').AuthorizationList;
|
|
2085
|
+
chain?: import('viem').Chain | null;
|
|
2086
|
+
dataSuffix?: `0x${string}`;
|
|
2087
|
+
gas?: bigint;
|
|
2088
|
+
gasPrice?: bigint;
|
|
2089
|
+
maxFeePerGas?: bigint;
|
|
2090
|
+
maxPriorityFeePerGas?: bigint;
|
|
2091
|
+
nonce?: number;
|
|
2092
|
+
value?: bigint;
|
|
2093
|
+
}): Promise<`0x${string}`>;
|
|
2094
|
+
/**
|
|
2095
|
+
* setAdminLocked
|
|
2096
|
+
* nonpayable
|
|
2097
|
+
* @param options Optional transaction parameters (value, gas, nonce, etc.)
|
|
2098
|
+
*/
|
|
2099
|
+
setAdminLocked(tokenId: bigint, isLocked: boolean, options?: {
|
|
2100
|
+
accessList?: import('viem').AccessList;
|
|
2101
|
+
authorizationList?: import('viem').AuthorizationList;
|
|
2102
|
+
chain?: import('viem').Chain | null;
|
|
2103
|
+
dataSuffix?: `0x${string}`;
|
|
2104
|
+
gas?: bigint;
|
|
2105
|
+
gasPrice?: bigint;
|
|
2106
|
+
maxFeePerGas?: bigint;
|
|
2107
|
+
maxPriorityFeePerGas?: bigint;
|
|
2108
|
+
nonce?: number;
|
|
2109
|
+
value?: bigint;
|
|
2110
|
+
}): Promise<`0x${string}`>;
|
|
2111
|
+
/**
|
|
2112
|
+
* setAdminLockedMultiple
|
|
2113
|
+
* nonpayable
|
|
2114
|
+
* @param options Optional transaction parameters (value, gas, nonce, etc.)
|
|
2115
|
+
*/
|
|
2116
|
+
setAdminLockedMultiple(tokenIds: bigint[], isLockeds: boolean[], options?: {
|
|
2117
|
+
accessList?: import('viem').AccessList;
|
|
2118
|
+
authorizationList?: import('viem').AuthorizationList;
|
|
2119
|
+
chain?: import('viem').Chain | null;
|
|
2120
|
+
dataSuffix?: `0x${string}`;
|
|
2121
|
+
gas?: bigint;
|
|
2122
|
+
gasPrice?: bigint;
|
|
2123
|
+
maxFeePerGas?: bigint;
|
|
2124
|
+
maxPriorityFeePerGas?: bigint;
|
|
2125
|
+
nonce?: number;
|
|
2126
|
+
value?: bigint;
|
|
2127
|
+
}): Promise<`0x${string}`>;
|
|
2128
|
+
/**
|
|
2129
|
+
* setApprovalForAll
|
|
2130
|
+
* nonpayable
|
|
2131
|
+
* @param options Optional transaction parameters (value, gas, nonce, etc.)
|
|
2132
|
+
*/
|
|
2133
|
+
setApprovalForAll(operator: `0x${string}`, approved: boolean, options?: {
|
|
2134
|
+
accessList?: import('viem').AccessList;
|
|
2135
|
+
authorizationList?: import('viem').AuthorizationList;
|
|
2136
|
+
chain?: import('viem').Chain | null;
|
|
2137
|
+
dataSuffix?: `0x${string}`;
|
|
2138
|
+
gas?: bigint;
|
|
2139
|
+
gasPrice?: bigint;
|
|
2140
|
+
maxFeePerGas?: bigint;
|
|
2141
|
+
maxPriorityFeePerGas?: bigint;
|
|
2142
|
+
nonce?: number;
|
|
2143
|
+
value?: bigint;
|
|
2144
|
+
}): Promise<`0x${string}`>;
|
|
2145
|
+
/**
|
|
2146
|
+
* setBaseURI
|
|
2147
|
+
* nonpayable
|
|
2148
|
+
* @param options Optional transaction parameters (value, gas, nonce, etc.)
|
|
2149
|
+
*/
|
|
2150
|
+
setBaseURI(baseURI: string, options?: {
|
|
2151
|
+
accessList?: import('viem').AccessList;
|
|
2152
|
+
authorizationList?: import('viem').AuthorizationList;
|
|
2153
|
+
chain?: import('viem').Chain | null;
|
|
2154
|
+
dataSuffix?: `0x${string}`;
|
|
2155
|
+
gas?: bigint;
|
|
2156
|
+
gasPrice?: bigint;
|
|
2157
|
+
maxFeePerGas?: bigint;
|
|
2158
|
+
maxPriorityFeePerGas?: bigint;
|
|
2159
|
+
nonce?: number;
|
|
2160
|
+
value?: bigint;
|
|
2161
|
+
}): Promise<`0x${string}`>;
|
|
2162
|
+
/**
|
|
2163
|
+
* setToCustomSecurityPolicy
|
|
2164
|
+
* nonpayable
|
|
2165
|
+
* @param options Optional transaction parameters (value, gas, nonce, etc.)
|
|
2166
|
+
*/
|
|
2167
|
+
setToCustomSecurityPolicy(level: bigint, operatorWhitelistId: bigint, permittedContractReceiversAllowlistId: bigint, options?: {
|
|
2168
|
+
accessList?: import('viem').AccessList;
|
|
2169
|
+
authorizationList?: import('viem').AuthorizationList;
|
|
2170
|
+
chain?: import('viem').Chain | null;
|
|
2171
|
+
dataSuffix?: `0x${string}`;
|
|
2172
|
+
gas?: bigint;
|
|
2173
|
+
gasPrice?: bigint;
|
|
2174
|
+
maxFeePerGas?: bigint;
|
|
2175
|
+
maxPriorityFeePerGas?: bigint;
|
|
2176
|
+
nonce?: number;
|
|
2177
|
+
value?: bigint;
|
|
2178
|
+
}): Promise<`0x${string}`>;
|
|
2179
|
+
/**
|
|
2180
|
+
* setToCustomValidatorAndSecurityPolicy
|
|
2181
|
+
* nonpayable
|
|
2182
|
+
* @param options Optional transaction parameters (value, gas, nonce, etc.)
|
|
2183
|
+
*/
|
|
2184
|
+
setToCustomValidatorAndSecurityPolicy(validator: `0x${string}`, level: bigint, operatorWhitelistId: bigint, permittedContractReceiversAllowlistId: bigint, options?: {
|
|
2185
|
+
accessList?: import('viem').AccessList;
|
|
2186
|
+
authorizationList?: import('viem').AuthorizationList;
|
|
2187
|
+
chain?: import('viem').Chain | null;
|
|
2188
|
+
dataSuffix?: `0x${string}`;
|
|
2189
|
+
gas?: bigint;
|
|
2190
|
+
gasPrice?: bigint;
|
|
2191
|
+
maxFeePerGas?: bigint;
|
|
2192
|
+
maxPriorityFeePerGas?: bigint;
|
|
2193
|
+
nonce?: number;
|
|
2194
|
+
value?: bigint;
|
|
2195
|
+
}): Promise<`0x${string}`>;
|
|
2196
|
+
/**
|
|
2197
|
+
* setToDefaultSecurityPolicy
|
|
2198
|
+
* nonpayable
|
|
2199
|
+
* @param options Optional transaction parameters (value, gas, nonce, etc.)
|
|
2200
|
+
*/
|
|
2201
|
+
setToDefaultSecurityPolicy(options?: {
|
|
2202
|
+
accessList?: import('viem').AccessList;
|
|
2203
|
+
authorizationList?: import('viem').AuthorizationList;
|
|
2204
|
+
chain?: import('viem').Chain | null;
|
|
2205
|
+
dataSuffix?: `0x${string}`;
|
|
2206
|
+
gas?: bigint;
|
|
2207
|
+
gasPrice?: bigint;
|
|
2208
|
+
maxFeePerGas?: bigint;
|
|
2209
|
+
maxPriorityFeePerGas?: bigint;
|
|
2210
|
+
nonce?: number;
|
|
2211
|
+
value?: bigint;
|
|
2212
|
+
}): Promise<`0x${string}`>;
|
|
2213
|
+
/**
|
|
2214
|
+
* setTokensStakeStatus
|
|
2215
|
+
* payable
|
|
2216
|
+
* @param options Optional transaction parameters (value, gas, nonce, etc.)
|
|
2217
|
+
*/
|
|
2218
|
+
setTokensStakeStatus(tokenIds: bigint[], setStake: boolean, options?: {
|
|
2219
|
+
accessList?: import('viem').AccessList;
|
|
2220
|
+
authorizationList?: import('viem').AuthorizationList;
|
|
2221
|
+
chain?: import('viem').Chain | null;
|
|
2222
|
+
dataSuffix?: `0x${string}`;
|
|
2223
|
+
gas?: bigint;
|
|
2224
|
+
gasPrice?: bigint;
|
|
2225
|
+
maxFeePerGas?: bigint;
|
|
2226
|
+
maxPriorityFeePerGas?: bigint;
|
|
2227
|
+
nonce?: number;
|
|
2228
|
+
value?: bigint;
|
|
2229
|
+
}): Promise<`0x${string}`>;
|
|
2230
|
+
/**
|
|
2231
|
+
* setTransferValidator
|
|
2232
|
+
* nonpayable
|
|
2233
|
+
* @param options Optional transaction parameters (value, gas, nonce, etc.)
|
|
2234
|
+
*/
|
|
2235
|
+
setTransferValidator(transferValidator_: `0x${string}`, options?: {
|
|
2236
|
+
accessList?: import('viem').AccessList;
|
|
2237
|
+
authorizationList?: import('viem').AuthorizationList;
|
|
2238
|
+
chain?: import('viem').Chain | null;
|
|
2239
|
+
dataSuffix?: `0x${string}`;
|
|
2240
|
+
gas?: bigint;
|
|
2241
|
+
gasPrice?: bigint;
|
|
2242
|
+
maxFeePerGas?: bigint;
|
|
2243
|
+
maxPriorityFeePerGas?: bigint;
|
|
2244
|
+
nonce?: number;
|
|
2245
|
+
value?: bigint;
|
|
2246
|
+
}): Promise<`0x${string}`>;
|
|
2247
|
+
/**
|
|
2248
|
+
* setupGuardianAndMNPL
|
|
2249
|
+
* nonpayable
|
|
2250
|
+
* @param options Optional transaction parameters (value, gas, nonce, etc.)
|
|
2251
|
+
*/
|
|
2252
|
+
setupGuardianAndMNPL(guardianAddress: `0x${string}`, _tokenIdOrUpIsMNPL: bigint, _unlockPrice: bigint, options?: {
|
|
2253
|
+
accessList?: import('viem').AccessList;
|
|
2254
|
+
authorizationList?: import('viem').AuthorizationList;
|
|
2255
|
+
chain?: import('viem').Chain | null;
|
|
2256
|
+
dataSuffix?: `0x${string}`;
|
|
2257
|
+
gas?: bigint;
|
|
2258
|
+
gasPrice?: bigint;
|
|
2259
|
+
maxFeePerGas?: bigint;
|
|
2260
|
+
maxPriorityFeePerGas?: bigint;
|
|
2261
|
+
nonce?: number;
|
|
2262
|
+
value?: bigint;
|
|
2263
|
+
}): Promise<`0x${string}`>;
|
|
2264
|
+
/**
|
|
2265
|
+
* setupStaking
|
|
2266
|
+
* nonpayable
|
|
2267
|
+
* @param options Optional transaction parameters (value, gas, nonce, etc.)
|
|
2268
|
+
*/
|
|
2269
|
+
setupStaking(b: boolean, price: bigint, options?: {
|
|
2270
|
+
accessList?: import('viem').AccessList;
|
|
2271
|
+
authorizationList?: import('viem').AuthorizationList;
|
|
2272
|
+
chain?: import('viem').Chain | null;
|
|
2273
|
+
dataSuffix?: `0x${string}`;
|
|
2274
|
+
gas?: bigint;
|
|
2275
|
+
gasPrice?: bigint;
|
|
2276
|
+
maxFeePerGas?: bigint;
|
|
2277
|
+
maxPriorityFeePerGas?: bigint;
|
|
2278
|
+
nonce?: number;
|
|
2279
|
+
value?: bigint;
|
|
2280
|
+
}): Promise<`0x${string}`>;
|
|
2281
|
+
/**
|
|
2282
|
+
* transferFrom
|
|
2283
|
+
* nonpayable
|
|
2284
|
+
* @param options Optional transaction parameters (value, gas, nonce, etc.)
|
|
2285
|
+
*/
|
|
2286
|
+
transferFrom(_from: `0x${string}`, _to: `0x${string}`, _tokenId: bigint, options?: {
|
|
2287
|
+
accessList?: import('viem').AccessList;
|
|
2288
|
+
authorizationList?: import('viem').AuthorizationList;
|
|
2289
|
+
chain?: import('viem').Chain | null;
|
|
2290
|
+
dataSuffix?: `0x${string}`;
|
|
2291
|
+
gas?: bigint;
|
|
2292
|
+
gasPrice?: bigint;
|
|
2293
|
+
maxFeePerGas?: bigint;
|
|
2294
|
+
maxPriorityFeePerGas?: bigint;
|
|
2295
|
+
nonce?: number;
|
|
2296
|
+
value?: bigint;
|
|
2297
|
+
}): Promise<`0x${string}`>;
|
|
2298
|
+
/**
|
|
2299
|
+
* transferOwnership
|
|
2300
|
+
* nonpayable
|
|
2301
|
+
* @param options Optional transaction parameters (value, gas, nonce, etc.)
|
|
2302
|
+
*/
|
|
2303
|
+
transferOwnership(newOwner: `0x${string}`, options?: {
|
|
2304
|
+
accessList?: import('viem').AccessList;
|
|
2305
|
+
authorizationList?: import('viem').AuthorizationList;
|
|
2306
|
+
chain?: import('viem').Chain | null;
|
|
2307
|
+
dataSuffix?: `0x${string}`;
|
|
2308
|
+
gas?: bigint;
|
|
2309
|
+
gasPrice?: bigint;
|
|
2310
|
+
maxFeePerGas?: bigint;
|
|
2311
|
+
maxPriorityFeePerGas?: bigint;
|
|
2312
|
+
nonce?: number;
|
|
2313
|
+
value?: bigint;
|
|
2314
|
+
}): Promise<`0x${string}`>;
|
|
2315
|
+
/**
|
|
2316
|
+
* unlockAndUpgradeMNPL
|
|
2317
|
+
* payable
|
|
2318
|
+
* @param options Optional transaction parameters (value, gas, nonce, etc.)
|
|
2319
|
+
*/
|
|
2320
|
+
unlockAndUpgradeMNPL(tokenId: bigint, options?: {
|
|
2321
|
+
accessList?: import('viem').AccessList;
|
|
2322
|
+
authorizationList?: import('viem').AuthorizationList;
|
|
2323
|
+
chain?: import('viem').Chain | null;
|
|
2324
|
+
dataSuffix?: `0x${string}`;
|
|
2325
|
+
gas?: bigint;
|
|
2326
|
+
gasPrice?: bigint;
|
|
2327
|
+
maxFeePerGas?: bigint;
|
|
2328
|
+
maxPriorityFeePerGas?: bigint;
|
|
2329
|
+
nonce?: number;
|
|
2330
|
+
value?: bigint;
|
|
2331
|
+
}): Promise<`0x${string}`>;
|
|
2332
|
+
/**
|
|
2333
|
+
* unlockId
|
|
2334
|
+
* nonpayable
|
|
2335
|
+
* @param options Optional transaction parameters (value, gas, nonce, etc.)
|
|
2336
|
+
*/
|
|
2337
|
+
unlockId(_id: bigint, options?: {
|
|
2338
|
+
accessList?: import('viem').AccessList;
|
|
2339
|
+
authorizationList?: import('viem').AuthorizationList;
|
|
2340
|
+
chain?: import('viem').Chain | null;
|
|
2341
|
+
dataSuffix?: `0x${string}`;
|
|
2342
|
+
gas?: bigint;
|
|
2343
|
+
gasPrice?: bigint;
|
|
2344
|
+
maxFeePerGas?: bigint;
|
|
2345
|
+
maxPriorityFeePerGas?: bigint;
|
|
2346
|
+
nonce?: number;
|
|
2347
|
+
value?: bigint;
|
|
2348
|
+
}): Promise<`0x${string}`>;
|
|
2349
|
+
/**
|
|
2350
|
+
* updateApprovedContracts
|
|
2351
|
+
* nonpayable
|
|
2352
|
+
* @param options Optional transaction parameters (value, gas, nonce, etc.)
|
|
2353
|
+
*/
|
|
2354
|
+
updateApprovedContracts(_contracts: `0x${string}`[], _values: boolean[], options?: {
|
|
2355
|
+
accessList?: import('viem').AccessList;
|
|
2356
|
+
authorizationList?: import('viem').AuthorizationList;
|
|
2357
|
+
chain?: import('viem').Chain | null;
|
|
2358
|
+
dataSuffix?: `0x${string}`;
|
|
2359
|
+
gas?: bigint;
|
|
2360
|
+
gasPrice?: bigint;
|
|
2361
|
+
maxFeePerGas?: bigint;
|
|
2362
|
+
maxPriorityFeePerGas?: bigint;
|
|
2363
|
+
nonce?: number;
|
|
2364
|
+
value?: bigint;
|
|
2365
|
+
}): Promise<`0x${string}`>;
|
|
2366
|
+
/**
|
|
2367
|
+
* whitelistMarketplaces
|
|
2368
|
+
* nonpayable
|
|
2369
|
+
* @param options Optional transaction parameters (value, gas, nonce, etc.)
|
|
2370
|
+
*/
|
|
2371
|
+
whitelistMarketplaces(markets: `0x${string}`[], whitelisted: boolean, options?: {
|
|
2372
|
+
accessList?: import('viem').AccessList;
|
|
2373
|
+
authorizationList?: import('viem').AuthorizationList;
|
|
2374
|
+
chain?: import('viem').Chain | null;
|
|
2375
|
+
dataSuffix?: `0x${string}`;
|
|
2376
|
+
gas?: bigint;
|
|
2377
|
+
gasPrice?: bigint;
|
|
2378
|
+
maxFeePerGas?: bigint;
|
|
2379
|
+
maxPriorityFeePerGas?: bigint;
|
|
2380
|
+
nonce?: number;
|
|
2381
|
+
value?: bigint;
|
|
2382
|
+
}): Promise<`0x${string}`>;
|
|
2383
|
+
/**
|
|
2384
|
+
* withdrawSales
|
|
2385
|
+
* nonpayable
|
|
2386
|
+
* @param options Optional transaction parameters (value, gas, nonce, etc.)
|
|
2387
|
+
*/
|
|
2388
|
+
withdrawSales(options?: {
|
|
2389
|
+
accessList?: import('viem').AccessList;
|
|
2390
|
+
authorizationList?: import('viem').AuthorizationList;
|
|
2391
|
+
chain?: import('viem').Chain | null;
|
|
2392
|
+
dataSuffix?: `0x${string}`;
|
|
2393
|
+
gas?: bigint;
|
|
2394
|
+
gasPrice?: bigint;
|
|
2395
|
+
maxFeePerGas?: bigint;
|
|
2396
|
+
maxPriorityFeePerGas?: bigint;
|
|
2397
|
+
nonce?: number;
|
|
2398
|
+
value?: bigint;
|
|
2399
|
+
}): Promise<`0x${string}`>;
|
|
2400
|
+
/**
|
|
2401
|
+
* Simulate contract write operations (dry-run without sending transaction)
|
|
2402
|
+
*
|
|
2403
|
+
* @example
|
|
2404
|
+
* const result = await contract.simulate.transfer('0x...', 1000n);
|
|
2405
|
+
* console.log('Gas estimate:', result.request.gas);
|
|
2406
|
+
* console.log('Would succeed:', result.result);
|
|
2407
|
+
*/
|
|
2408
|
+
get simulate(): {
|
|
2409
|
+
/**
|
|
2410
|
+
* Simulate __DefaultOperatorFilterer_init
|
|
2411
|
+
* Returns gas estimate and result without sending transaction
|
|
2412
|
+
* @param options Optional transaction parameters (value, gas, nonce, etc.)
|
|
2413
|
+
*/
|
|
2414
|
+
__DefaultOperatorFilterer_init(options?: {
|
|
2415
|
+
accessList?: import("viem").AccessList;
|
|
2416
|
+
authorizationList?: import("viem").AuthorizationList;
|
|
2417
|
+
chain?: import("viem").Chain | null;
|
|
2418
|
+
dataSuffix?: `0x${string}`;
|
|
2419
|
+
gas?: bigint;
|
|
2420
|
+
gasPrice?: bigint;
|
|
2421
|
+
maxFeePerGas?: bigint;
|
|
2422
|
+
maxPriorityFeePerGas?: bigint;
|
|
2423
|
+
nonce?: number;
|
|
2424
|
+
value?: bigint;
|
|
2425
|
+
}): Promise<void>;
|
|
2426
|
+
/**
|
|
2427
|
+
* Simulate __OperatorFilterer_init
|
|
2428
|
+
* Returns gas estimate and result without sending transaction
|
|
2429
|
+
* @param options Optional transaction parameters (value, gas, nonce, etc.)
|
|
2430
|
+
*/
|
|
2431
|
+
__OperatorFilterer_init(subscriptionOrRegistrantToCopy: `0x${string}`, subscribe: boolean, options?: {
|
|
2432
|
+
accessList?: import("viem").AccessList;
|
|
2433
|
+
authorizationList?: import("viem").AuthorizationList;
|
|
2434
|
+
chain?: import("viem").Chain | null;
|
|
2435
|
+
dataSuffix?: `0x${string}`;
|
|
2436
|
+
gas?: bigint;
|
|
2437
|
+
gasPrice?: bigint;
|
|
2438
|
+
maxFeePerGas?: bigint;
|
|
2439
|
+
maxPriorityFeePerGas?: bigint;
|
|
2440
|
+
nonce?: number;
|
|
2441
|
+
value?: bigint;
|
|
2442
|
+
}): Promise<void>;
|
|
2443
|
+
/**
|
|
2444
|
+
* Simulate airdropListWithAmounts
|
|
2445
|
+
* Returns gas estimate and result without sending transaction
|
|
2446
|
+
* @param options Optional transaction parameters (value, gas, nonce, etc.)
|
|
2447
|
+
*/
|
|
2448
|
+
airdropListWithAmounts(receivers: `0x${string}`[], amounts: bigint[], options?: {
|
|
2449
|
+
accessList?: import("viem").AccessList;
|
|
2450
|
+
authorizationList?: import("viem").AuthorizationList;
|
|
2451
|
+
chain?: import("viem").Chain | null;
|
|
2452
|
+
dataSuffix?: `0x${string}`;
|
|
2453
|
+
gas?: bigint;
|
|
2454
|
+
gasPrice?: bigint;
|
|
2455
|
+
maxFeePerGas?: bigint;
|
|
2456
|
+
maxPriorityFeePerGas?: bigint;
|
|
2457
|
+
nonce?: number;
|
|
2458
|
+
value?: bigint;
|
|
2459
|
+
}): Promise<void>;
|
|
2460
|
+
/**
|
|
2461
|
+
* Simulate approve
|
|
2462
|
+
* Returns gas estimate and result without sending transaction
|
|
2463
|
+
* @param options Optional transaction parameters (value, gas, nonce, etc.)
|
|
2464
|
+
*/
|
|
2465
|
+
approve(to: `0x${string}`, tokenId: bigint, options?: {
|
|
2466
|
+
accessList?: import("viem").AccessList;
|
|
2467
|
+
authorizationList?: import("viem").AuthorizationList;
|
|
2468
|
+
chain?: import("viem").Chain | null;
|
|
2469
|
+
dataSuffix?: `0x${string}`;
|
|
2470
|
+
gas?: bigint;
|
|
2471
|
+
gasPrice?: bigint;
|
|
2472
|
+
maxFeePerGas?: bigint;
|
|
2473
|
+
maxPriorityFeePerGas?: bigint;
|
|
2474
|
+
nonce?: number;
|
|
2475
|
+
value?: bigint;
|
|
2476
|
+
}): Promise<void>;
|
|
2477
|
+
/**
|
|
2478
|
+
* Simulate confiscateT2
|
|
2479
|
+
* Returns gas estimate and result without sending transaction
|
|
2480
|
+
* @param options Optional transaction parameters (value, gas, nonce, etc.)
|
|
2481
|
+
*/
|
|
2482
|
+
confiscateT2(t2TokenIds: bigint[], options?: {
|
|
2483
|
+
accessList?: import("viem").AccessList;
|
|
2484
|
+
authorizationList?: import("viem").AuthorizationList;
|
|
2485
|
+
chain?: import("viem").Chain | null;
|
|
2486
|
+
dataSuffix?: `0x${string}`;
|
|
2487
|
+
gas?: bigint;
|
|
2488
|
+
gasPrice?: bigint;
|
|
2489
|
+
maxFeePerGas?: bigint;
|
|
2490
|
+
maxPriorityFeePerGas?: bigint;
|
|
2491
|
+
nonce?: number;
|
|
2492
|
+
value?: bigint;
|
|
2493
|
+
}): Promise<void>;
|
|
2494
|
+
/**
|
|
2495
|
+
* Simulate exemptMarketplaces
|
|
2496
|
+
* Returns gas estimate and result without sending transaction
|
|
2497
|
+
* @param options Optional transaction parameters (value, gas, nonce, etc.)
|
|
2498
|
+
*/
|
|
2499
|
+
exemptMarketplaces(markets: `0x${string}`[], exempted: boolean, options?: {
|
|
2500
|
+
accessList?: import("viem").AccessList;
|
|
2501
|
+
authorizationList?: import("viem").AuthorizationList;
|
|
2502
|
+
chain?: import("viem").Chain | null;
|
|
2503
|
+
dataSuffix?: `0x${string}`;
|
|
2504
|
+
gas?: bigint;
|
|
2505
|
+
gasPrice?: bigint;
|
|
2506
|
+
maxFeePerGas?: bigint;
|
|
2507
|
+
maxPriorityFeePerGas?: bigint;
|
|
2508
|
+
nonce?: number;
|
|
2509
|
+
value?: bigint;
|
|
2510
|
+
}): Promise<void>;
|
|
2511
|
+
/**
|
|
2512
|
+
* Simulate freeId
|
|
2513
|
+
* Returns gas estimate and result without sending transaction
|
|
2514
|
+
* @param options Optional transaction parameters (value, gas, nonce, etc.)
|
|
2515
|
+
*/
|
|
2516
|
+
freeId(_id: bigint, _contract: `0x${string}`, options?: {
|
|
2517
|
+
accessList?: import("viem").AccessList;
|
|
2518
|
+
authorizationList?: import("viem").AuthorizationList;
|
|
2519
|
+
chain?: import("viem").Chain | null;
|
|
2520
|
+
dataSuffix?: `0x${string}`;
|
|
2521
|
+
gas?: bigint;
|
|
2522
|
+
gasPrice?: bigint;
|
|
2523
|
+
maxFeePerGas?: bigint;
|
|
2524
|
+
maxPriorityFeePerGas?: bigint;
|
|
2525
|
+
nonce?: number;
|
|
2526
|
+
value?: bigint;
|
|
2527
|
+
}): Promise<void>;
|
|
2528
|
+
/**
|
|
2529
|
+
* Simulate initialize
|
|
2530
|
+
* Returns gas estimate and result without sending transaction
|
|
2531
|
+
* @param options Optional transaction parameters (value, gas, nonce, etc.)
|
|
2532
|
+
*/
|
|
2533
|
+
initialize(baseURI: string, options?: {
|
|
2534
|
+
accessList?: import("viem").AccessList;
|
|
2535
|
+
authorizationList?: import("viem").AuthorizationList;
|
|
2536
|
+
chain?: import("viem").Chain | null;
|
|
2537
|
+
dataSuffix?: `0x${string}`;
|
|
2538
|
+
gas?: bigint;
|
|
2539
|
+
gasPrice?: bigint;
|
|
2540
|
+
maxFeePerGas?: bigint;
|
|
2541
|
+
maxPriorityFeePerGas?: bigint;
|
|
2542
|
+
nonce?: number;
|
|
2543
|
+
value?: bigint;
|
|
2544
|
+
}): Promise<void>;
|
|
2545
|
+
/**
|
|
2546
|
+
* Simulate initializeV3
|
|
2547
|
+
* Returns gas estimate and result without sending transaction
|
|
2548
|
+
* @param options Optional transaction parameters (value, gas, nonce, etc.)
|
|
2549
|
+
*/
|
|
2550
|
+
initializeV3(options?: {
|
|
2551
|
+
accessList?: import("viem").AccessList;
|
|
2552
|
+
authorizationList?: import("viem").AuthorizationList;
|
|
2553
|
+
chain?: import("viem").Chain | null;
|
|
2554
|
+
dataSuffix?: `0x${string}`;
|
|
2555
|
+
gas?: bigint;
|
|
2556
|
+
gasPrice?: bigint;
|
|
2557
|
+
maxFeePerGas?: bigint;
|
|
2558
|
+
maxPriorityFeePerGas?: bigint;
|
|
2559
|
+
nonce?: number;
|
|
2560
|
+
value?: bigint;
|
|
2561
|
+
}): Promise<void>;
|
|
2562
|
+
/**
|
|
2563
|
+
* Simulate keepTOLTransferFrom
|
|
2564
|
+
* Returns gas estimate and result without sending transaction
|
|
2565
|
+
* @param options Optional transaction parameters (value, gas, nonce, etc.)
|
|
2566
|
+
*/
|
|
2567
|
+
keepTOLTransferFrom(from: `0x${string}`, to: `0x${string}`, tokenId: bigint, options?: {
|
|
2568
|
+
accessList?: import("viem").AccessList;
|
|
2569
|
+
authorizationList?: import("viem").AuthorizationList;
|
|
2570
|
+
chain?: import("viem").Chain | null;
|
|
2571
|
+
dataSuffix?: `0x${string}`;
|
|
2572
|
+
gas?: bigint;
|
|
2573
|
+
gasPrice?: bigint;
|
|
2574
|
+
maxFeePerGas?: bigint;
|
|
2575
|
+
maxPriorityFeePerGas?: bigint;
|
|
2576
|
+
nonce?: number;
|
|
2577
|
+
value?: bigint;
|
|
2578
|
+
}): Promise<void>;
|
|
2579
|
+
/**
|
|
2580
|
+
* Simulate lockId
|
|
2581
|
+
* Returns gas estimate and result without sending transaction
|
|
2582
|
+
* @param options Optional transaction parameters (value, gas, nonce, etc.)
|
|
2583
|
+
*/
|
|
2584
|
+
lockId(_id: bigint, options?: {
|
|
2585
|
+
accessList?: import("viem").AccessList;
|
|
2586
|
+
authorizationList?: import("viem").AuthorizationList;
|
|
2587
|
+
chain?: import("viem").Chain | null;
|
|
2588
|
+
dataSuffix?: `0x${string}`;
|
|
2589
|
+
gas?: bigint;
|
|
2590
|
+
gasPrice?: bigint;
|
|
2591
|
+
maxFeePerGas?: bigint;
|
|
2592
|
+
maxPriorityFeePerGas?: bigint;
|
|
2593
|
+
nonce?: number;
|
|
2594
|
+
value?: bigint;
|
|
2595
|
+
}): Promise<void>;
|
|
2596
|
+
/**
|
|
2597
|
+
* Simulate payRoyalty
|
|
2598
|
+
* Returns gas estimate and result without sending transaction
|
|
2599
|
+
* @param options Optional transaction parameters (value, gas, nonce, etc.)
|
|
2600
|
+
*/
|
|
2601
|
+
payRoyalty(tokenId: bigint, options?: {
|
|
2602
|
+
accessList?: import("viem").AccessList;
|
|
2603
|
+
authorizationList?: import("viem").AuthorizationList;
|
|
2604
|
+
chain?: import("viem").Chain | null;
|
|
2605
|
+
dataSuffix?: `0x${string}`;
|
|
2606
|
+
gas?: bigint;
|
|
2607
|
+
gasPrice?: bigint;
|
|
2608
|
+
maxFeePerGas?: bigint;
|
|
2609
|
+
maxPriorityFeePerGas?: bigint;
|
|
2610
|
+
nonce?: number;
|
|
2611
|
+
value?: bigint;
|
|
2612
|
+
}): Promise<void>;
|
|
2613
|
+
/**
|
|
2614
|
+
* Simulate renounceOwnership
|
|
2615
|
+
* Returns gas estimate and result without sending transaction
|
|
2616
|
+
* @param options Optional transaction parameters (value, gas, nonce, etc.)
|
|
2617
|
+
*/
|
|
2618
|
+
renounceOwnership(options?: {
|
|
2619
|
+
accessList?: import("viem").AccessList;
|
|
2620
|
+
authorizationList?: import("viem").AuthorizationList;
|
|
2621
|
+
chain?: import("viem").Chain | null;
|
|
2622
|
+
dataSuffix?: `0x${string}`;
|
|
2623
|
+
gas?: bigint;
|
|
2624
|
+
gasPrice?: bigint;
|
|
2625
|
+
maxFeePerGas?: bigint;
|
|
2626
|
+
maxPriorityFeePerGas?: bigint;
|
|
2627
|
+
nonce?: number;
|
|
2628
|
+
value?: bigint;
|
|
2629
|
+
}): Promise<void>;
|
|
2630
|
+
/**
|
|
2631
|
+
* Simulate safeTransferFrom
|
|
2632
|
+
* Returns gas estimate and result without sending transaction
|
|
2633
|
+
* Supports multiple overloads: (address, address, uint256), (address, address, uint256, bytes)
|
|
2634
|
+
* @param options Optional transaction parameters (value, gas, nonce, etc.)
|
|
2635
|
+
*/
|
|
2636
|
+
safeTransferFrom(...args: any[]): Promise<any>;
|
|
2637
|
+
/**
|
|
2638
|
+
* Simulate setAdminLocked
|
|
2639
|
+
* Returns gas estimate and result without sending transaction
|
|
2640
|
+
* @param options Optional transaction parameters (value, gas, nonce, etc.)
|
|
2641
|
+
*/
|
|
2642
|
+
setAdminLocked(tokenId: bigint, isLocked: boolean, options?: {
|
|
2643
|
+
accessList?: import("viem").AccessList;
|
|
2644
|
+
authorizationList?: import("viem").AuthorizationList;
|
|
2645
|
+
chain?: import("viem").Chain | null;
|
|
2646
|
+
dataSuffix?: `0x${string}`;
|
|
2647
|
+
gas?: bigint;
|
|
2648
|
+
gasPrice?: bigint;
|
|
2649
|
+
maxFeePerGas?: bigint;
|
|
2650
|
+
maxPriorityFeePerGas?: bigint;
|
|
2651
|
+
nonce?: number;
|
|
2652
|
+
value?: bigint;
|
|
2653
|
+
}): Promise<void>;
|
|
2654
|
+
/**
|
|
2655
|
+
* Simulate setAdminLockedMultiple
|
|
2656
|
+
* Returns gas estimate and result without sending transaction
|
|
2657
|
+
* @param options Optional transaction parameters (value, gas, nonce, etc.)
|
|
2658
|
+
*/
|
|
2659
|
+
setAdminLockedMultiple(tokenIds: bigint[], isLockeds: boolean[], options?: {
|
|
2660
|
+
accessList?: import("viem").AccessList;
|
|
2661
|
+
authorizationList?: import("viem").AuthorizationList;
|
|
2662
|
+
chain?: import("viem").Chain | null;
|
|
2663
|
+
dataSuffix?: `0x${string}`;
|
|
2664
|
+
gas?: bigint;
|
|
2665
|
+
gasPrice?: bigint;
|
|
2666
|
+
maxFeePerGas?: bigint;
|
|
2667
|
+
maxPriorityFeePerGas?: bigint;
|
|
2668
|
+
nonce?: number;
|
|
2669
|
+
value?: bigint;
|
|
2670
|
+
}): Promise<void>;
|
|
2671
|
+
/**
|
|
2672
|
+
* Simulate setApprovalForAll
|
|
2673
|
+
* Returns gas estimate and result without sending transaction
|
|
2674
|
+
* @param options Optional transaction parameters (value, gas, nonce, etc.)
|
|
2675
|
+
*/
|
|
2676
|
+
setApprovalForAll(operator: `0x${string}`, approved: boolean, options?: {
|
|
2677
|
+
accessList?: import("viem").AccessList;
|
|
2678
|
+
authorizationList?: import("viem").AuthorizationList;
|
|
2679
|
+
chain?: import("viem").Chain | null;
|
|
2680
|
+
dataSuffix?: `0x${string}`;
|
|
2681
|
+
gas?: bigint;
|
|
2682
|
+
gasPrice?: bigint;
|
|
2683
|
+
maxFeePerGas?: bigint;
|
|
2684
|
+
maxPriorityFeePerGas?: bigint;
|
|
2685
|
+
nonce?: number;
|
|
2686
|
+
value?: bigint;
|
|
2687
|
+
}): Promise<void>;
|
|
2688
|
+
/**
|
|
2689
|
+
* Simulate setBaseURI
|
|
2690
|
+
* Returns gas estimate and result without sending transaction
|
|
2691
|
+
* @param options Optional transaction parameters (value, gas, nonce, etc.)
|
|
2692
|
+
*/
|
|
2693
|
+
setBaseURI(baseURI: string, options?: {
|
|
2694
|
+
accessList?: import("viem").AccessList;
|
|
2695
|
+
authorizationList?: import("viem").AuthorizationList;
|
|
2696
|
+
chain?: import("viem").Chain | null;
|
|
2697
|
+
dataSuffix?: `0x${string}`;
|
|
2698
|
+
gas?: bigint;
|
|
2699
|
+
gasPrice?: bigint;
|
|
2700
|
+
maxFeePerGas?: bigint;
|
|
2701
|
+
maxPriorityFeePerGas?: bigint;
|
|
2702
|
+
nonce?: number;
|
|
2703
|
+
value?: bigint;
|
|
2704
|
+
}): Promise<void>;
|
|
2705
|
+
/**
|
|
2706
|
+
* Simulate setToCustomSecurityPolicy
|
|
2707
|
+
* Returns gas estimate and result without sending transaction
|
|
2708
|
+
* @param options Optional transaction parameters (value, gas, nonce, etc.)
|
|
2709
|
+
*/
|
|
2710
|
+
setToCustomSecurityPolicy(level: bigint, operatorWhitelistId: bigint, permittedContractReceiversAllowlistId: bigint, options?: {
|
|
2711
|
+
accessList?: import("viem").AccessList;
|
|
2712
|
+
authorizationList?: import("viem").AuthorizationList;
|
|
2713
|
+
chain?: import("viem").Chain | null;
|
|
2714
|
+
dataSuffix?: `0x${string}`;
|
|
2715
|
+
gas?: bigint;
|
|
2716
|
+
gasPrice?: bigint;
|
|
2717
|
+
maxFeePerGas?: bigint;
|
|
2718
|
+
maxPriorityFeePerGas?: bigint;
|
|
2719
|
+
nonce?: number;
|
|
2720
|
+
value?: bigint;
|
|
2721
|
+
}): Promise<void>;
|
|
2722
|
+
/**
|
|
2723
|
+
* Simulate setToCustomValidatorAndSecurityPolicy
|
|
2724
|
+
* Returns gas estimate and result without sending transaction
|
|
2725
|
+
* @param options Optional transaction parameters (value, gas, nonce, etc.)
|
|
2726
|
+
*/
|
|
2727
|
+
setToCustomValidatorAndSecurityPolicy(validator: `0x${string}`, level: bigint, operatorWhitelistId: bigint, permittedContractReceiversAllowlistId: bigint, options?: {
|
|
2728
|
+
accessList?: import("viem").AccessList;
|
|
2729
|
+
authorizationList?: import("viem").AuthorizationList;
|
|
2730
|
+
chain?: import("viem").Chain | null;
|
|
2731
|
+
dataSuffix?: `0x${string}`;
|
|
2732
|
+
gas?: bigint;
|
|
2733
|
+
gasPrice?: bigint;
|
|
2734
|
+
maxFeePerGas?: bigint;
|
|
2735
|
+
maxPriorityFeePerGas?: bigint;
|
|
2736
|
+
nonce?: number;
|
|
2737
|
+
value?: bigint;
|
|
2738
|
+
}): Promise<void>;
|
|
2739
|
+
/**
|
|
2740
|
+
* Simulate setToDefaultSecurityPolicy
|
|
2741
|
+
* Returns gas estimate and result without sending transaction
|
|
2742
|
+
* @param options Optional transaction parameters (value, gas, nonce, etc.)
|
|
2743
|
+
*/
|
|
2744
|
+
setToDefaultSecurityPolicy(options?: {
|
|
2745
|
+
accessList?: import("viem").AccessList;
|
|
2746
|
+
authorizationList?: import("viem").AuthorizationList;
|
|
2747
|
+
chain?: import("viem").Chain | null;
|
|
2748
|
+
dataSuffix?: `0x${string}`;
|
|
2749
|
+
gas?: bigint;
|
|
2750
|
+
gasPrice?: bigint;
|
|
2751
|
+
maxFeePerGas?: bigint;
|
|
2752
|
+
maxPriorityFeePerGas?: bigint;
|
|
2753
|
+
nonce?: number;
|
|
2754
|
+
value?: bigint;
|
|
2755
|
+
}): Promise<void>;
|
|
2756
|
+
/**
|
|
2757
|
+
* Simulate setTokensStakeStatus
|
|
2758
|
+
* Returns gas estimate and result without sending transaction
|
|
2759
|
+
* @param options Optional transaction parameters (value, gas, nonce, etc.)
|
|
2760
|
+
*/
|
|
2761
|
+
setTokensStakeStatus(tokenIds: bigint[], setStake: boolean, options?: {
|
|
2762
|
+
accessList?: import("viem").AccessList;
|
|
2763
|
+
authorizationList?: import("viem").AuthorizationList;
|
|
2764
|
+
chain?: import("viem").Chain | null;
|
|
2765
|
+
dataSuffix?: `0x${string}`;
|
|
2766
|
+
gas?: bigint;
|
|
2767
|
+
gasPrice?: bigint;
|
|
2768
|
+
maxFeePerGas?: bigint;
|
|
2769
|
+
maxPriorityFeePerGas?: bigint;
|
|
2770
|
+
nonce?: number;
|
|
2771
|
+
value?: bigint;
|
|
2772
|
+
}): Promise<void>;
|
|
2773
|
+
/**
|
|
2774
|
+
* Simulate setTransferValidator
|
|
2775
|
+
* Returns gas estimate and result without sending transaction
|
|
2776
|
+
* @param options Optional transaction parameters (value, gas, nonce, etc.)
|
|
2777
|
+
*/
|
|
2778
|
+
setTransferValidator(transferValidator_: `0x${string}`, options?: {
|
|
2779
|
+
accessList?: import("viem").AccessList;
|
|
2780
|
+
authorizationList?: import("viem").AuthorizationList;
|
|
2781
|
+
chain?: import("viem").Chain | null;
|
|
2782
|
+
dataSuffix?: `0x${string}`;
|
|
2783
|
+
gas?: bigint;
|
|
2784
|
+
gasPrice?: bigint;
|
|
2785
|
+
maxFeePerGas?: bigint;
|
|
2786
|
+
maxPriorityFeePerGas?: bigint;
|
|
2787
|
+
nonce?: number;
|
|
2788
|
+
value?: bigint;
|
|
2789
|
+
}): Promise<void>;
|
|
2790
|
+
/**
|
|
2791
|
+
* Simulate setupGuardianAndMNPL
|
|
2792
|
+
* Returns gas estimate and result without sending transaction
|
|
2793
|
+
* @param options Optional transaction parameters (value, gas, nonce, etc.)
|
|
2794
|
+
*/
|
|
2795
|
+
setupGuardianAndMNPL(guardianAddress: `0x${string}`, _tokenIdOrUpIsMNPL: bigint, _unlockPrice: bigint, options?: {
|
|
2796
|
+
accessList?: import("viem").AccessList;
|
|
2797
|
+
authorizationList?: import("viem").AuthorizationList;
|
|
2798
|
+
chain?: import("viem").Chain | null;
|
|
2799
|
+
dataSuffix?: `0x${string}`;
|
|
2800
|
+
gas?: bigint;
|
|
2801
|
+
gasPrice?: bigint;
|
|
2802
|
+
maxFeePerGas?: bigint;
|
|
2803
|
+
maxPriorityFeePerGas?: bigint;
|
|
2804
|
+
nonce?: number;
|
|
2805
|
+
value?: bigint;
|
|
2806
|
+
}): Promise<void>;
|
|
2807
|
+
/**
|
|
2808
|
+
* Simulate setupStaking
|
|
2809
|
+
* Returns gas estimate and result without sending transaction
|
|
2810
|
+
* @param options Optional transaction parameters (value, gas, nonce, etc.)
|
|
2811
|
+
*/
|
|
2812
|
+
setupStaking(b: boolean, price: bigint, options?: {
|
|
2813
|
+
accessList?: import("viem").AccessList;
|
|
2814
|
+
authorizationList?: import("viem").AuthorizationList;
|
|
2815
|
+
chain?: import("viem").Chain | null;
|
|
2816
|
+
dataSuffix?: `0x${string}`;
|
|
2817
|
+
gas?: bigint;
|
|
2818
|
+
gasPrice?: bigint;
|
|
2819
|
+
maxFeePerGas?: bigint;
|
|
2820
|
+
maxPriorityFeePerGas?: bigint;
|
|
2821
|
+
nonce?: number;
|
|
2822
|
+
value?: bigint;
|
|
2823
|
+
}): Promise<void>;
|
|
2824
|
+
/**
|
|
2825
|
+
* Simulate transferFrom
|
|
2826
|
+
* Returns gas estimate and result without sending transaction
|
|
2827
|
+
* @param options Optional transaction parameters (value, gas, nonce, etc.)
|
|
2828
|
+
*/
|
|
2829
|
+
transferFrom(_from: `0x${string}`, _to: `0x${string}`, _tokenId: bigint, options?: {
|
|
2830
|
+
accessList?: import("viem").AccessList;
|
|
2831
|
+
authorizationList?: import("viem").AuthorizationList;
|
|
2832
|
+
chain?: import("viem").Chain | null;
|
|
2833
|
+
dataSuffix?: `0x${string}`;
|
|
2834
|
+
gas?: bigint;
|
|
2835
|
+
gasPrice?: bigint;
|
|
2836
|
+
maxFeePerGas?: bigint;
|
|
2837
|
+
maxPriorityFeePerGas?: bigint;
|
|
2838
|
+
nonce?: number;
|
|
2839
|
+
value?: bigint;
|
|
2840
|
+
}): Promise<void>;
|
|
2841
|
+
/**
|
|
2842
|
+
* Simulate transferOwnership
|
|
2843
|
+
* Returns gas estimate and result without sending transaction
|
|
2844
|
+
* @param options Optional transaction parameters (value, gas, nonce, etc.)
|
|
2845
|
+
*/
|
|
2846
|
+
transferOwnership(newOwner: `0x${string}`, options?: {
|
|
2847
|
+
accessList?: import("viem").AccessList;
|
|
2848
|
+
authorizationList?: import("viem").AuthorizationList;
|
|
2849
|
+
chain?: import("viem").Chain | null;
|
|
2850
|
+
dataSuffix?: `0x${string}`;
|
|
2851
|
+
gas?: bigint;
|
|
2852
|
+
gasPrice?: bigint;
|
|
2853
|
+
maxFeePerGas?: bigint;
|
|
2854
|
+
maxPriorityFeePerGas?: bigint;
|
|
2855
|
+
nonce?: number;
|
|
2856
|
+
value?: bigint;
|
|
2857
|
+
}): Promise<void>;
|
|
2858
|
+
/**
|
|
2859
|
+
* Simulate unlockAndUpgradeMNPL
|
|
2860
|
+
* Returns gas estimate and result without sending transaction
|
|
2861
|
+
* @param options Optional transaction parameters (value, gas, nonce, etc.)
|
|
2862
|
+
*/
|
|
2863
|
+
unlockAndUpgradeMNPL(tokenId: bigint, options?: {
|
|
2864
|
+
accessList?: import("viem").AccessList;
|
|
2865
|
+
authorizationList?: import("viem").AuthorizationList;
|
|
2866
|
+
chain?: import("viem").Chain | null;
|
|
2867
|
+
dataSuffix?: `0x${string}`;
|
|
2868
|
+
gas?: bigint;
|
|
2869
|
+
gasPrice?: bigint;
|
|
2870
|
+
maxFeePerGas?: bigint;
|
|
2871
|
+
maxPriorityFeePerGas?: bigint;
|
|
2872
|
+
nonce?: number;
|
|
2873
|
+
value?: bigint;
|
|
2874
|
+
}): Promise<void>;
|
|
2875
|
+
/**
|
|
2876
|
+
* Simulate unlockId
|
|
2877
|
+
* Returns gas estimate and result without sending transaction
|
|
2878
|
+
* @param options Optional transaction parameters (value, gas, nonce, etc.)
|
|
2879
|
+
*/
|
|
2880
|
+
unlockId(_id: bigint, options?: {
|
|
2881
|
+
accessList?: import("viem").AccessList;
|
|
2882
|
+
authorizationList?: import("viem").AuthorizationList;
|
|
2883
|
+
chain?: import("viem").Chain | null;
|
|
2884
|
+
dataSuffix?: `0x${string}`;
|
|
2885
|
+
gas?: bigint;
|
|
2886
|
+
gasPrice?: bigint;
|
|
2887
|
+
maxFeePerGas?: bigint;
|
|
2888
|
+
maxPriorityFeePerGas?: bigint;
|
|
2889
|
+
nonce?: number;
|
|
2890
|
+
value?: bigint;
|
|
2891
|
+
}): Promise<void>;
|
|
2892
|
+
/**
|
|
2893
|
+
* Simulate updateApprovedContracts
|
|
2894
|
+
* Returns gas estimate and result without sending transaction
|
|
2895
|
+
* @param options Optional transaction parameters (value, gas, nonce, etc.)
|
|
2896
|
+
*/
|
|
2897
|
+
updateApprovedContracts(_contracts: `0x${string}`[], _values: boolean[], options?: {
|
|
2898
|
+
accessList?: import("viem").AccessList;
|
|
2899
|
+
authorizationList?: import("viem").AuthorizationList;
|
|
2900
|
+
chain?: import("viem").Chain | null;
|
|
2901
|
+
dataSuffix?: `0x${string}`;
|
|
2902
|
+
gas?: bigint;
|
|
2903
|
+
gasPrice?: bigint;
|
|
2904
|
+
maxFeePerGas?: bigint;
|
|
2905
|
+
maxPriorityFeePerGas?: bigint;
|
|
2906
|
+
nonce?: number;
|
|
2907
|
+
value?: bigint;
|
|
2908
|
+
}): Promise<void>;
|
|
2909
|
+
/**
|
|
2910
|
+
* Simulate whitelistMarketplaces
|
|
2911
|
+
* Returns gas estimate and result without sending transaction
|
|
2912
|
+
* @param options Optional transaction parameters (value, gas, nonce, etc.)
|
|
2913
|
+
*/
|
|
2914
|
+
whitelistMarketplaces(markets: `0x${string}`[], whitelisted: boolean, options?: {
|
|
2915
|
+
accessList?: import("viem").AccessList;
|
|
2916
|
+
authorizationList?: import("viem").AuthorizationList;
|
|
2917
|
+
chain?: import("viem").Chain | null;
|
|
2918
|
+
dataSuffix?: `0x${string}`;
|
|
2919
|
+
gas?: bigint;
|
|
2920
|
+
gasPrice?: bigint;
|
|
2921
|
+
maxFeePerGas?: bigint;
|
|
2922
|
+
maxPriorityFeePerGas?: bigint;
|
|
2923
|
+
nonce?: number;
|
|
2924
|
+
value?: bigint;
|
|
2925
|
+
}): Promise<void>;
|
|
2926
|
+
/**
|
|
2927
|
+
* Simulate withdrawSales
|
|
2928
|
+
* Returns gas estimate and result without sending transaction
|
|
2929
|
+
* @param options Optional transaction parameters (value, gas, nonce, etc.)
|
|
2930
|
+
*/
|
|
2931
|
+
withdrawSales(options?: {
|
|
2932
|
+
accessList?: import("viem").AccessList;
|
|
2933
|
+
authorizationList?: import("viem").AuthorizationList;
|
|
2934
|
+
chain?: import("viem").Chain | null;
|
|
2935
|
+
dataSuffix?: `0x${string}`;
|
|
2936
|
+
gas?: bigint;
|
|
2937
|
+
gasPrice?: bigint;
|
|
2938
|
+
maxFeePerGas?: bigint;
|
|
2939
|
+
maxPriorityFeePerGas?: bigint;
|
|
2940
|
+
nonce?: number;
|
|
2941
|
+
value?: bigint;
|
|
2942
|
+
}): Promise<void>;
|
|
2943
|
+
};
|
|
2944
|
+
/**
|
|
2945
|
+
* Watch contract events
|
|
2946
|
+
*
|
|
2947
|
+
* @example
|
|
2948
|
+
* // Watch all Transfer events
|
|
2949
|
+
* const unwatch = contract.watch.Transfer((event) => {
|
|
2950
|
+
* console.log('Transfer:', event);
|
|
2951
|
+
* });
|
|
2952
|
+
*
|
|
2953
|
+
* // Stop watching
|
|
2954
|
+
* unwatch();
|
|
2955
|
+
*/
|
|
2956
|
+
get watch(): {
|
|
2957
|
+
/**
|
|
2958
|
+
* Watch Approval events
|
|
2959
|
+
* @param callback Function to call when event is emitted
|
|
2960
|
+
* @param filter Optional filter for indexed parameters
|
|
2961
|
+
* @returns Unwatch function to stop listening
|
|
2962
|
+
*/
|
|
2963
|
+
Approval: (callback: (event: {
|
|
2964
|
+
owner: `0x${string}`;
|
|
2965
|
+
approved: `0x${string}`;
|
|
2966
|
+
tokenId: bigint;
|
|
2967
|
+
}) => void, filter?: {
|
|
2968
|
+
owner?: `0x${string}` | `0x${string}`[] | null;
|
|
2969
|
+
approved?: `0x${string}` | `0x${string}`[] | null;
|
|
2970
|
+
tokenId?: bigint | bigint[] | null;
|
|
2971
|
+
}) => () => void;
|
|
2972
|
+
/**
|
|
2973
|
+
* Watch ApprovalForAll events
|
|
2974
|
+
* @param callback Function to call when event is emitted
|
|
2975
|
+
* @param filter Optional filter for indexed parameters
|
|
2976
|
+
* @returns Unwatch function to stop listening
|
|
2977
|
+
*/
|
|
2978
|
+
ApprovalForAll: (callback: (event: {
|
|
2979
|
+
owner: `0x${string}`;
|
|
2980
|
+
operator: `0x${string}`;
|
|
2981
|
+
approved: boolean;
|
|
2982
|
+
}) => void, filter?: {
|
|
2983
|
+
owner?: `0x${string}` | `0x${string}`[] | null;
|
|
2984
|
+
operator?: `0x${string}` | `0x${string}`[] | null;
|
|
2985
|
+
}) => () => void;
|
|
2986
|
+
/**
|
|
2987
|
+
* Watch BioChange events
|
|
2988
|
+
* @param callback Function to call when event is emitted
|
|
2989
|
+
* @param filter Optional filter for indexed parameters
|
|
2990
|
+
* @returns Unwatch function to stop listening
|
|
2991
|
+
*/
|
|
2992
|
+
BioChange: (callback: (event: {
|
|
2993
|
+
tokenId: bigint;
|
|
2994
|
+
bio: string;
|
|
2995
|
+
}) => void, filter?: {
|
|
2996
|
+
tokenId?: bigint | bigint[] | null;
|
|
2997
|
+
}) => () => void;
|
|
2998
|
+
/**
|
|
2999
|
+
* Watch ConsecutiveTransfer events
|
|
3000
|
+
* @param callback Function to call when event is emitted
|
|
3001
|
+
* @param filter Optional filter for indexed parameters
|
|
3002
|
+
* @returns Unwatch function to stop listening
|
|
3003
|
+
*/
|
|
3004
|
+
ConsecutiveTransfer: (callback: (event: {
|
|
3005
|
+
fromTokenId: bigint;
|
|
3006
|
+
toTokenId: bigint;
|
|
3007
|
+
from: `0x${string}`;
|
|
3008
|
+
to: `0x${string}`;
|
|
3009
|
+
}) => void, filter?: {
|
|
3010
|
+
fromTokenId?: bigint | bigint[] | null;
|
|
3011
|
+
from?: `0x${string}` | `0x${string}`[] | null;
|
|
3012
|
+
to?: `0x${string}` | `0x${string}`[] | null;
|
|
3013
|
+
}) => () => void;
|
|
3014
|
+
/**
|
|
3015
|
+
* Watch Initialized events
|
|
3016
|
+
* @param callback Function to call when event is emitted
|
|
3017
|
+
* @param filter Optional filter for indexed parameters
|
|
3018
|
+
* @returns Unwatch function to stop listening
|
|
3019
|
+
*/
|
|
3020
|
+
Initialized: (callback: (event: {
|
|
3021
|
+
version: bigint;
|
|
3022
|
+
}) => void) => () => void;
|
|
3023
|
+
/**
|
|
3024
|
+
* Watch KeepTOLTransfer events
|
|
3025
|
+
* @param callback Function to call when event is emitted
|
|
3026
|
+
* @param filter Optional filter for indexed parameters
|
|
3027
|
+
* @returns Unwatch function to stop listening
|
|
3028
|
+
*/
|
|
3029
|
+
KeepTOLTransfer: (callback: (event: {
|
|
3030
|
+
from: `0x${string}`;
|
|
3031
|
+
to: `0x${string}`;
|
|
3032
|
+
tokenId: bigint;
|
|
3033
|
+
}) => void) => () => void;
|
|
3034
|
+
/**
|
|
3035
|
+
* Watch MNPLUnlockedUpgraded events
|
|
3036
|
+
* @param callback Function to call when event is emitted
|
|
3037
|
+
* @param filter Optional filter for indexed parameters
|
|
3038
|
+
* @returns Unwatch function to stop listening
|
|
3039
|
+
*/
|
|
3040
|
+
MNPLUnlockedUpgraded: (callback: (event: {
|
|
3041
|
+
tokenId: bigint;
|
|
3042
|
+
}) => void) => () => void;
|
|
3043
|
+
/**
|
|
3044
|
+
* Watch NameChange events
|
|
3045
|
+
* @param callback Function to call when event is emitted
|
|
3046
|
+
* @param filter Optional filter for indexed parameters
|
|
3047
|
+
* @returns Unwatch function to stop listening
|
|
3048
|
+
*/
|
|
3049
|
+
NameChange: (callback: (event: {
|
|
3050
|
+
tokenId: bigint;
|
|
3051
|
+
newName: string;
|
|
3052
|
+
}) => void, filter?: {
|
|
3053
|
+
tokenId?: bigint | bigint[] | null;
|
|
3054
|
+
}) => () => void;
|
|
3055
|
+
/**
|
|
3056
|
+
* Watch OwnershipTransferred events
|
|
3057
|
+
* @param callback Function to call when event is emitted
|
|
3058
|
+
* @param filter Optional filter for indexed parameters
|
|
3059
|
+
* @returns Unwatch function to stop listening
|
|
3060
|
+
*/
|
|
3061
|
+
OwnershipTransferred: (callback: (event: {
|
|
3062
|
+
previousOwner: `0x${string}`;
|
|
3063
|
+
newOwner: `0x${string}`;
|
|
3064
|
+
}) => void, filter?: {
|
|
3065
|
+
previousOwner?: `0x${string}` | `0x${string}`[] | null;
|
|
3066
|
+
newOwner?: `0x${string}` | `0x${string}`[] | null;
|
|
3067
|
+
}) => () => void;
|
|
3068
|
+
/**
|
|
3069
|
+
* Watch RoyaltyPaid events
|
|
3070
|
+
* @param callback Function to call when event is emitted
|
|
3071
|
+
* @param filter Optional filter for indexed parameters
|
|
3072
|
+
* @returns Unwatch function to stop listening
|
|
3073
|
+
*/
|
|
3074
|
+
RoyaltyPaid: (callback: (event: {
|
|
3075
|
+
tokenId: bigint;
|
|
3076
|
+
amount: bigint;
|
|
3077
|
+
}) => void) => () => void;
|
|
3078
|
+
/**
|
|
3079
|
+
* Watch Stake events
|
|
3080
|
+
* @param callback Function to call when event is emitted
|
|
3081
|
+
* @param filter Optional filter for indexed parameters
|
|
3082
|
+
* @returns Unwatch function to stop listening
|
|
3083
|
+
*/
|
|
3084
|
+
Stake: (callback: (event: {
|
|
3085
|
+
tokenId: bigint;
|
|
3086
|
+
}) => void, filter?: {
|
|
3087
|
+
tokenId?: bigint | bigint[] | null;
|
|
3088
|
+
}) => () => void;
|
|
3089
|
+
/**
|
|
3090
|
+
* Watch TokenAdminLockedChanged events
|
|
3091
|
+
* @param callback Function to call when event is emitted
|
|
3092
|
+
* @param filter Optional filter for indexed parameters
|
|
3093
|
+
* @returns Unwatch function to stop listening
|
|
3094
|
+
*/
|
|
3095
|
+
TokenAdminLockedChanged: (callback: (event: {
|
|
3096
|
+
tokenId: bigint;
|
|
3097
|
+
isAdminLocked: boolean;
|
|
3098
|
+
}) => void) => () => void;
|
|
3099
|
+
/**
|
|
3100
|
+
* Watch TokenLocked events
|
|
3101
|
+
* @param callback Function to call when event is emitted
|
|
3102
|
+
* @param filter Optional filter for indexed parameters
|
|
3103
|
+
* @returns Unwatch function to stop listening
|
|
3104
|
+
*/
|
|
3105
|
+
TokenLocked: (callback: (event: {
|
|
3106
|
+
tokenId: bigint;
|
|
3107
|
+
approvedContract: `0x${string}`;
|
|
3108
|
+
}) => void, filter?: {
|
|
3109
|
+
tokenId?: bigint | bigint[] | null;
|
|
3110
|
+
approvedContract?: `0x${string}` | `0x${string}`[] | null;
|
|
3111
|
+
}) => () => void;
|
|
3112
|
+
/**
|
|
3113
|
+
* Watch TokenUnlocked events
|
|
3114
|
+
* @param callback Function to call when event is emitted
|
|
3115
|
+
* @param filter Optional filter for indexed parameters
|
|
3116
|
+
* @returns Unwatch function to stop listening
|
|
3117
|
+
*/
|
|
3118
|
+
TokenUnlocked: (callback: (event: {
|
|
3119
|
+
tokenId: bigint;
|
|
3120
|
+
approvedContract: `0x${string}`;
|
|
3121
|
+
}) => void, filter?: {
|
|
3122
|
+
tokenId?: bigint | bigint[] | null;
|
|
3123
|
+
approvedContract?: `0x${string}` | `0x${string}`[] | null;
|
|
3124
|
+
}) => () => void;
|
|
3125
|
+
/**
|
|
3126
|
+
* Watch Transfer events
|
|
3127
|
+
* @param callback Function to call when event is emitted
|
|
3128
|
+
* @param filter Optional filter for indexed parameters
|
|
3129
|
+
* @returns Unwatch function to stop listening
|
|
3130
|
+
*/
|
|
3131
|
+
Transfer: (callback: (event: {
|
|
3132
|
+
from: `0x${string}`;
|
|
3133
|
+
to: `0x${string}`;
|
|
3134
|
+
tokenId: bigint;
|
|
3135
|
+
}) => void, filter?: {
|
|
3136
|
+
from?: `0x${string}` | `0x${string}`[] | null;
|
|
3137
|
+
to?: `0x${string}` | `0x${string}`[] | null;
|
|
3138
|
+
tokenId?: bigint | bigint[] | null;
|
|
3139
|
+
}) => () => void;
|
|
3140
|
+
/**
|
|
3141
|
+
* Watch TransferValidatorUpdated events
|
|
3142
|
+
* @param callback Function to call when event is emitted
|
|
3143
|
+
* @param filter Optional filter for indexed parameters
|
|
3144
|
+
* @returns Unwatch function to stop listening
|
|
3145
|
+
*/
|
|
3146
|
+
TransferValidatorUpdated: (callback: (event: {
|
|
3147
|
+
oldValidator: `0x${string}`;
|
|
3148
|
+
newValidator: `0x${string}`;
|
|
3149
|
+
}) => void) => () => void;
|
|
3150
|
+
/**
|
|
3151
|
+
* Watch Unstake events
|
|
3152
|
+
* @param callback Function to call when event is emitted
|
|
3153
|
+
* @param filter Optional filter for indexed parameters
|
|
3154
|
+
* @returns Unwatch function to stop listening
|
|
3155
|
+
*/
|
|
3156
|
+
Unstake: (callback: (event: {
|
|
3157
|
+
tokenId: bigint;
|
|
3158
|
+
stakedAtTimestamp: bigint;
|
|
3159
|
+
removedFromStakeAtTimestamp: bigint;
|
|
3160
|
+
}) => void, filter?: {
|
|
3161
|
+
tokenId?: bigint | bigint[] | null;
|
|
3162
|
+
}) => () => void;
|
|
3163
|
+
};
|
|
3164
|
+
}
|