@gitmyabi/rari 1.0.0 → 1.0.1
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 +3 -3
- package/contracts/{MintableToken_json.d.ts → RaribleToken_json.d.ts} +406 -256
- package/contracts/{MintableToken_json.js → RaribleToken_json.js} +442 -295
- package/contracts/{MintableToken_json.ts → RaribleToken_json.ts} +517 -328
- package/contracts/index.d.ts +2 -2
- package/contracts/index.js +4 -4
- package/contracts/index.ts +2 -2
- package/package.json +3 -3
|
@@ -1,28 +1,28 @@
|
|
|
1
1
|
import type { Address, PublicClient, WalletClient } from 'viem';
|
|
2
2
|
/**
|
|
3
|
-
*
|
|
3
|
+
* ERC1155Base.Fee struct type
|
|
4
4
|
*/
|
|
5
|
-
export type
|
|
5
|
+
export type ERC1155Base_Fee = {
|
|
6
6
|
recipient: `0x${string}`;
|
|
7
7
|
value: bigint;
|
|
8
8
|
};
|
|
9
9
|
/**
|
|
10
|
-
*
|
|
10
|
+
* RaribleToken_json ABI
|
|
11
11
|
*
|
|
12
12
|
* This ABI is typed using viem's type system for full type safety.
|
|
13
13
|
*/
|
|
14
|
-
export declare const
|
|
14
|
+
export declare const RaribleToken_jsonAbi: readonly [{
|
|
15
15
|
readonly inputs: readonly [{
|
|
16
16
|
readonly internalType: "string";
|
|
17
|
-
readonly name: "
|
|
17
|
+
readonly name: "_name";
|
|
18
18
|
readonly type: "string";
|
|
19
19
|
}, {
|
|
20
20
|
readonly internalType: "string";
|
|
21
|
-
readonly name: "
|
|
21
|
+
readonly name: "_symbol";
|
|
22
22
|
readonly type: "string";
|
|
23
23
|
}, {
|
|
24
24
|
readonly internalType: "address";
|
|
25
|
-
readonly name: "
|
|
25
|
+
readonly name: "signer";
|
|
26
26
|
readonly type: "address";
|
|
27
27
|
}, {
|
|
28
28
|
readonly internalType: "string";
|
|
@@ -41,37 +41,17 @@ export declare const MintableToken_jsonAbi: readonly [{
|
|
|
41
41
|
readonly inputs: readonly [{
|
|
42
42
|
readonly indexed: true;
|
|
43
43
|
readonly internalType: "address";
|
|
44
|
-
readonly name: "
|
|
44
|
+
readonly name: "_owner";
|
|
45
45
|
readonly type: "address";
|
|
46
46
|
}, {
|
|
47
47
|
readonly indexed: true;
|
|
48
48
|
readonly internalType: "address";
|
|
49
|
-
readonly name: "
|
|
50
|
-
readonly type: "address";
|
|
51
|
-
}, {
|
|
52
|
-
readonly indexed: true;
|
|
53
|
-
readonly internalType: "uint256";
|
|
54
|
-
readonly name: "tokenId";
|
|
55
|
-
readonly type: "uint256";
|
|
56
|
-
}];
|
|
57
|
-
readonly name: "Approval";
|
|
58
|
-
readonly type: "event";
|
|
59
|
-
}, {
|
|
60
|
-
readonly anonymous: false;
|
|
61
|
-
readonly inputs: readonly [{
|
|
62
|
-
readonly indexed: true;
|
|
63
|
-
readonly internalType: "address";
|
|
64
|
-
readonly name: "owner";
|
|
65
|
-
readonly type: "address";
|
|
66
|
-
}, {
|
|
67
|
-
readonly indexed: true;
|
|
68
|
-
readonly internalType: "address";
|
|
69
|
-
readonly name: "operator";
|
|
49
|
+
readonly name: "_operator";
|
|
70
50
|
readonly type: "address";
|
|
71
51
|
}, {
|
|
72
52
|
readonly indexed: false;
|
|
73
53
|
readonly internalType: "bool";
|
|
74
|
-
readonly name: "
|
|
54
|
+
readonly name: "_approved";
|
|
75
55
|
readonly type: "bool";
|
|
76
56
|
}];
|
|
77
57
|
readonly name: "ApprovalForAll";
|
|
@@ -116,33 +96,104 @@ export declare const MintableToken_jsonAbi: readonly [{
|
|
|
116
96
|
readonly inputs: readonly [{
|
|
117
97
|
readonly indexed: true;
|
|
118
98
|
readonly internalType: "address";
|
|
119
|
-
readonly name: "
|
|
99
|
+
readonly name: "account";
|
|
100
|
+
readonly type: "address";
|
|
101
|
+
}];
|
|
102
|
+
readonly name: "SignerAdded";
|
|
103
|
+
readonly type: "event";
|
|
104
|
+
}, {
|
|
105
|
+
readonly anonymous: false;
|
|
106
|
+
readonly inputs: readonly [{
|
|
107
|
+
readonly indexed: true;
|
|
108
|
+
readonly internalType: "address";
|
|
109
|
+
readonly name: "account";
|
|
110
|
+
readonly type: "address";
|
|
111
|
+
}];
|
|
112
|
+
readonly name: "SignerRemoved";
|
|
113
|
+
readonly type: "event";
|
|
114
|
+
}, {
|
|
115
|
+
readonly anonymous: false;
|
|
116
|
+
readonly inputs: readonly [{
|
|
117
|
+
readonly indexed: true;
|
|
118
|
+
readonly internalType: "address";
|
|
119
|
+
readonly name: "_operator";
|
|
120
120
|
readonly type: "address";
|
|
121
121
|
}, {
|
|
122
122
|
readonly indexed: true;
|
|
123
123
|
readonly internalType: "address";
|
|
124
|
-
readonly name: "
|
|
124
|
+
readonly name: "_from";
|
|
125
125
|
readonly type: "address";
|
|
126
126
|
}, {
|
|
127
127
|
readonly indexed: true;
|
|
128
|
-
readonly internalType: "
|
|
129
|
-
readonly name: "
|
|
130
|
-
readonly type: "
|
|
128
|
+
readonly internalType: "address";
|
|
129
|
+
readonly name: "_to";
|
|
130
|
+
readonly type: "address";
|
|
131
|
+
}, {
|
|
132
|
+
readonly indexed: false;
|
|
133
|
+
readonly internalType: "uint256[]";
|
|
134
|
+
readonly name: "_ids";
|
|
135
|
+
readonly type: "uint256[]";
|
|
136
|
+
}, {
|
|
137
|
+
readonly indexed: false;
|
|
138
|
+
readonly internalType: "uint256[]";
|
|
139
|
+
readonly name: "_values";
|
|
140
|
+
readonly type: "uint256[]";
|
|
131
141
|
}];
|
|
132
|
-
readonly name: "
|
|
142
|
+
readonly name: "TransferBatch";
|
|
133
143
|
readonly type: "event";
|
|
134
144
|
}, {
|
|
135
|
-
readonly
|
|
145
|
+
readonly anonymous: false;
|
|
136
146
|
readonly inputs: readonly [{
|
|
147
|
+
readonly indexed: true;
|
|
137
148
|
readonly internalType: "address";
|
|
138
|
-
readonly name: "
|
|
149
|
+
readonly name: "_operator";
|
|
139
150
|
readonly type: "address";
|
|
140
151
|
}, {
|
|
152
|
+
readonly indexed: true;
|
|
153
|
+
readonly internalType: "address";
|
|
154
|
+
readonly name: "_from";
|
|
155
|
+
readonly type: "address";
|
|
156
|
+
}, {
|
|
157
|
+
readonly indexed: true;
|
|
158
|
+
readonly internalType: "address";
|
|
159
|
+
readonly name: "_to";
|
|
160
|
+
readonly type: "address";
|
|
161
|
+
}, {
|
|
162
|
+
readonly indexed: false;
|
|
141
163
|
readonly internalType: "uint256";
|
|
142
|
-
readonly name: "
|
|
164
|
+
readonly name: "_id";
|
|
165
|
+
readonly type: "uint256";
|
|
166
|
+
}, {
|
|
167
|
+
readonly indexed: false;
|
|
168
|
+
readonly internalType: "uint256";
|
|
169
|
+
readonly name: "_value";
|
|
170
|
+
readonly type: "uint256";
|
|
171
|
+
}];
|
|
172
|
+
readonly name: "TransferSingle";
|
|
173
|
+
readonly type: "event";
|
|
174
|
+
}, {
|
|
175
|
+
readonly anonymous: false;
|
|
176
|
+
readonly inputs: readonly [{
|
|
177
|
+
readonly indexed: false;
|
|
178
|
+
readonly internalType: "string";
|
|
179
|
+
readonly name: "_value";
|
|
180
|
+
readonly type: "string";
|
|
181
|
+
}, {
|
|
182
|
+
readonly indexed: true;
|
|
183
|
+
readonly internalType: "uint256";
|
|
184
|
+
readonly name: "_id";
|
|
143
185
|
readonly type: "uint256";
|
|
144
186
|
}];
|
|
145
|
-
readonly name: "
|
|
187
|
+
readonly name: "URI";
|
|
188
|
+
readonly type: "event";
|
|
189
|
+
}, {
|
|
190
|
+
readonly constant: false;
|
|
191
|
+
readonly inputs: readonly [{
|
|
192
|
+
readonly internalType: "address";
|
|
193
|
+
readonly name: "account";
|
|
194
|
+
readonly type: "address";
|
|
195
|
+
}];
|
|
196
|
+
readonly name: "addSigner";
|
|
146
197
|
readonly outputs: readonly [];
|
|
147
198
|
readonly payable: false;
|
|
148
199
|
readonly stateMutability: "nonpayable";
|
|
@@ -151,8 +202,12 @@ export declare const MintableToken_jsonAbi: readonly [{
|
|
|
151
202
|
readonly constant: true;
|
|
152
203
|
readonly inputs: readonly [{
|
|
153
204
|
readonly internalType: "address";
|
|
154
|
-
readonly name: "
|
|
205
|
+
readonly name: "_owner";
|
|
155
206
|
readonly type: "address";
|
|
207
|
+
}, {
|
|
208
|
+
readonly internalType: "uint256";
|
|
209
|
+
readonly name: "_id";
|
|
210
|
+
readonly type: "uint256";
|
|
156
211
|
}];
|
|
157
212
|
readonly name: "balanceOf";
|
|
158
213
|
readonly outputs: readonly [{
|
|
@@ -163,11 +218,39 @@ export declare const MintableToken_jsonAbi: readonly [{
|
|
|
163
218
|
readonly payable: false;
|
|
164
219
|
readonly stateMutability: "view";
|
|
165
220
|
readonly type: "function";
|
|
221
|
+
}, {
|
|
222
|
+
readonly constant: true;
|
|
223
|
+
readonly inputs: readonly [{
|
|
224
|
+
readonly internalType: "address[]";
|
|
225
|
+
readonly name: "_owners";
|
|
226
|
+
readonly type: "address[]";
|
|
227
|
+
}, {
|
|
228
|
+
readonly internalType: "uint256[]";
|
|
229
|
+
readonly name: "_ids";
|
|
230
|
+
readonly type: "uint256[]";
|
|
231
|
+
}];
|
|
232
|
+
readonly name: "balanceOfBatch";
|
|
233
|
+
readonly outputs: readonly [{
|
|
234
|
+
readonly internalType: "uint256[]";
|
|
235
|
+
readonly name: "";
|
|
236
|
+
readonly type: "uint256[]";
|
|
237
|
+
}];
|
|
238
|
+
readonly payable: false;
|
|
239
|
+
readonly stateMutability: "view";
|
|
240
|
+
readonly type: "function";
|
|
166
241
|
}, {
|
|
167
242
|
readonly constant: false;
|
|
168
243
|
readonly inputs: readonly [{
|
|
244
|
+
readonly internalType: "address";
|
|
245
|
+
readonly name: "_owner";
|
|
246
|
+
readonly type: "address";
|
|
247
|
+
}, {
|
|
169
248
|
readonly internalType: "uint256";
|
|
170
|
-
readonly name: "
|
|
249
|
+
readonly name: "_id";
|
|
250
|
+
readonly type: "uint256";
|
|
251
|
+
}, {
|
|
252
|
+
readonly internalType: "uint256";
|
|
253
|
+
readonly name: "_value";
|
|
171
254
|
readonly type: "uint256";
|
|
172
255
|
}];
|
|
173
256
|
readonly name: "burn";
|
|
@@ -193,20 +276,12 @@ export declare const MintableToken_jsonAbi: readonly [{
|
|
|
193
276
|
readonly internalType: "uint256";
|
|
194
277
|
readonly name: "";
|
|
195
278
|
readonly type: "uint256";
|
|
196
|
-
}, {
|
|
197
|
-
readonly internalType: "uint256";
|
|
198
|
-
readonly name: "";
|
|
199
|
-
readonly type: "uint256";
|
|
200
279
|
}];
|
|
201
|
-
readonly name: "
|
|
280
|
+
readonly name: "creators";
|
|
202
281
|
readonly outputs: readonly [{
|
|
203
|
-
readonly internalType: "address
|
|
204
|
-
readonly name: "
|
|
282
|
+
readonly internalType: "address";
|
|
283
|
+
readonly name: "";
|
|
205
284
|
readonly type: "address";
|
|
206
|
-
}, {
|
|
207
|
-
readonly internalType: "uint256";
|
|
208
|
-
readonly name: "value";
|
|
209
|
-
readonly type: "uint256";
|
|
210
285
|
}];
|
|
211
286
|
readonly payable: false;
|
|
212
287
|
readonly stateMutability: "view";
|
|
@@ -215,14 +290,22 @@ export declare const MintableToken_jsonAbi: readonly [{
|
|
|
215
290
|
readonly constant: true;
|
|
216
291
|
readonly inputs: readonly [{
|
|
217
292
|
readonly internalType: "uint256";
|
|
218
|
-
readonly name: "
|
|
293
|
+
readonly name: "";
|
|
294
|
+
readonly type: "uint256";
|
|
295
|
+
}, {
|
|
296
|
+
readonly internalType: "uint256";
|
|
297
|
+
readonly name: "";
|
|
219
298
|
readonly type: "uint256";
|
|
220
299
|
}];
|
|
221
|
-
readonly name: "
|
|
300
|
+
readonly name: "fees";
|
|
222
301
|
readonly outputs: readonly [{
|
|
223
|
-
readonly internalType: "address";
|
|
224
|
-
readonly name: "";
|
|
302
|
+
readonly internalType: "address payable";
|
|
303
|
+
readonly name: "recipient";
|
|
225
304
|
readonly type: "address";
|
|
305
|
+
}, {
|
|
306
|
+
readonly internalType: "uint256";
|
|
307
|
+
readonly name: "value";
|
|
308
|
+
readonly type: "uint256";
|
|
226
309
|
}];
|
|
227
310
|
readonly payable: false;
|
|
228
311
|
readonly stateMutability: "view";
|
|
@@ -263,11 +346,11 @@ export declare const MintableToken_jsonAbi: readonly [{
|
|
|
263
346
|
readonly constant: true;
|
|
264
347
|
readonly inputs: readonly [{
|
|
265
348
|
readonly internalType: "address";
|
|
266
|
-
readonly name: "
|
|
349
|
+
readonly name: "_owner";
|
|
267
350
|
readonly type: "address";
|
|
268
351
|
}, {
|
|
269
352
|
readonly internalType: "address";
|
|
270
|
-
readonly name: "
|
|
353
|
+
readonly name: "_operator";
|
|
271
354
|
readonly type: "address";
|
|
272
355
|
}];
|
|
273
356
|
readonly name: "isApprovedForAll";
|
|
@@ -291,11 +374,27 @@ export declare const MintableToken_jsonAbi: readonly [{
|
|
|
291
374
|
readonly payable: false;
|
|
292
375
|
readonly stateMutability: "view";
|
|
293
376
|
readonly type: "function";
|
|
377
|
+
}, {
|
|
378
|
+
readonly constant: true;
|
|
379
|
+
readonly inputs: readonly [{
|
|
380
|
+
readonly internalType: "address";
|
|
381
|
+
readonly name: "account";
|
|
382
|
+
readonly type: "address";
|
|
383
|
+
}];
|
|
384
|
+
readonly name: "isSigner";
|
|
385
|
+
readonly outputs: readonly [{
|
|
386
|
+
readonly internalType: "bool";
|
|
387
|
+
readonly name: "";
|
|
388
|
+
readonly type: "bool";
|
|
389
|
+
}];
|
|
390
|
+
readonly payable: false;
|
|
391
|
+
readonly stateMutability: "view";
|
|
392
|
+
readonly type: "function";
|
|
294
393
|
}, {
|
|
295
394
|
readonly constant: false;
|
|
296
395
|
readonly inputs: readonly [{
|
|
297
396
|
readonly internalType: "uint256";
|
|
298
|
-
readonly name: "
|
|
397
|
+
readonly name: "id";
|
|
299
398
|
readonly type: "uint256";
|
|
300
399
|
}, {
|
|
301
400
|
readonly internalType: "uint8";
|
|
@@ -319,12 +418,16 @@ export declare const MintableToken_jsonAbi: readonly [{
|
|
|
319
418
|
readonly name: "value";
|
|
320
419
|
readonly type: "uint256";
|
|
321
420
|
}];
|
|
322
|
-
readonly internalType: "struct
|
|
323
|
-
readonly name: "
|
|
421
|
+
readonly internalType: "struct ERC1155Base.Fee[]";
|
|
422
|
+
readonly name: "fees";
|
|
324
423
|
readonly type: "tuple[]";
|
|
424
|
+
}, {
|
|
425
|
+
readonly internalType: "uint256";
|
|
426
|
+
readonly name: "supply";
|
|
427
|
+
readonly type: "uint256";
|
|
325
428
|
}, {
|
|
326
429
|
readonly internalType: "string";
|
|
327
|
-
readonly name: "
|
|
430
|
+
readonly name: "uri";
|
|
328
431
|
readonly type: "string";
|
|
329
432
|
}];
|
|
330
433
|
readonly name: "mint";
|
|
@@ -357,20 +460,16 @@ export declare const MintableToken_jsonAbi: readonly [{
|
|
|
357
460
|
readonly stateMutability: "view";
|
|
358
461
|
readonly type: "function";
|
|
359
462
|
}, {
|
|
360
|
-
readonly constant:
|
|
463
|
+
readonly constant: false;
|
|
361
464
|
readonly inputs: readonly [{
|
|
362
|
-
readonly internalType: "uint256";
|
|
363
|
-
readonly name: "tokenId";
|
|
364
|
-
readonly type: "uint256";
|
|
365
|
-
}];
|
|
366
|
-
readonly name: "ownerOf";
|
|
367
|
-
readonly outputs: readonly [{
|
|
368
465
|
readonly internalType: "address";
|
|
369
|
-
readonly name: "";
|
|
466
|
+
readonly name: "account";
|
|
370
467
|
readonly type: "address";
|
|
371
468
|
}];
|
|
469
|
+
readonly name: "removeSigner";
|
|
470
|
+
readonly outputs: readonly [];
|
|
372
471
|
readonly payable: false;
|
|
373
|
-
readonly stateMutability: "
|
|
472
|
+
readonly stateMutability: "nonpayable";
|
|
374
473
|
readonly type: "function";
|
|
375
474
|
}, {
|
|
376
475
|
readonly constant: false;
|
|
@@ -380,22 +479,38 @@ export declare const MintableToken_jsonAbi: readonly [{
|
|
|
380
479
|
readonly payable: false;
|
|
381
480
|
readonly stateMutability: "nonpayable";
|
|
382
481
|
readonly type: "function";
|
|
482
|
+
}, {
|
|
483
|
+
readonly constant: false;
|
|
484
|
+
readonly inputs: readonly [];
|
|
485
|
+
readonly name: "renounceSigner";
|
|
486
|
+
readonly outputs: readonly [];
|
|
487
|
+
readonly payable: false;
|
|
488
|
+
readonly stateMutability: "nonpayable";
|
|
489
|
+
readonly type: "function";
|
|
383
490
|
}, {
|
|
384
491
|
readonly constant: false;
|
|
385
492
|
readonly inputs: readonly [{
|
|
386
493
|
readonly internalType: "address";
|
|
387
|
-
readonly name: "
|
|
494
|
+
readonly name: "_from";
|
|
388
495
|
readonly type: "address";
|
|
389
496
|
}, {
|
|
390
497
|
readonly internalType: "address";
|
|
391
|
-
readonly name: "
|
|
498
|
+
readonly name: "_to";
|
|
392
499
|
readonly type: "address";
|
|
393
500
|
}, {
|
|
394
|
-
readonly internalType: "uint256";
|
|
395
|
-
readonly name: "
|
|
396
|
-
readonly type: "uint256";
|
|
501
|
+
readonly internalType: "uint256[]";
|
|
502
|
+
readonly name: "_ids";
|
|
503
|
+
readonly type: "uint256[]";
|
|
504
|
+
}, {
|
|
505
|
+
readonly internalType: "uint256[]";
|
|
506
|
+
readonly name: "_values";
|
|
507
|
+
readonly type: "uint256[]";
|
|
508
|
+
}, {
|
|
509
|
+
readonly internalType: "bytes";
|
|
510
|
+
readonly name: "_data";
|
|
511
|
+
readonly type: "bytes";
|
|
397
512
|
}];
|
|
398
|
-
readonly name: "
|
|
513
|
+
readonly name: "safeBatchTransferFrom";
|
|
399
514
|
readonly outputs: readonly [];
|
|
400
515
|
readonly payable: false;
|
|
401
516
|
readonly stateMutability: "nonpayable";
|
|
@@ -404,15 +519,19 @@ export declare const MintableToken_jsonAbi: readonly [{
|
|
|
404
519
|
readonly constant: false;
|
|
405
520
|
readonly inputs: readonly [{
|
|
406
521
|
readonly internalType: "address";
|
|
407
|
-
readonly name: "
|
|
522
|
+
readonly name: "_from";
|
|
408
523
|
readonly type: "address";
|
|
409
524
|
}, {
|
|
410
525
|
readonly internalType: "address";
|
|
411
|
-
readonly name: "
|
|
526
|
+
readonly name: "_to";
|
|
412
527
|
readonly type: "address";
|
|
413
528
|
}, {
|
|
414
529
|
readonly internalType: "uint256";
|
|
415
|
-
readonly name: "
|
|
530
|
+
readonly name: "_id";
|
|
531
|
+
readonly type: "uint256";
|
|
532
|
+
}, {
|
|
533
|
+
readonly internalType: "uint256";
|
|
534
|
+
readonly name: "_value";
|
|
416
535
|
readonly type: "uint256";
|
|
417
536
|
}, {
|
|
418
537
|
readonly internalType: "bytes";
|
|
@@ -428,11 +547,11 @@ export declare const MintableToken_jsonAbi: readonly [{
|
|
|
428
547
|
readonly constant: false;
|
|
429
548
|
readonly inputs: readonly [{
|
|
430
549
|
readonly internalType: "address";
|
|
431
|
-
readonly name: "
|
|
550
|
+
readonly name: "_operator";
|
|
432
551
|
readonly type: "address";
|
|
433
552
|
}, {
|
|
434
553
|
readonly internalType: "bool";
|
|
435
|
-
readonly name: "
|
|
554
|
+
readonly name: "_approved";
|
|
436
555
|
readonly type: "bool";
|
|
437
556
|
}];
|
|
438
557
|
readonly name: "setApprovalForAll";
|
|
@@ -494,60 +613,36 @@ export declare const MintableToken_jsonAbi: readonly [{
|
|
|
494
613
|
readonly type: "function";
|
|
495
614
|
}, {
|
|
496
615
|
readonly constant: true;
|
|
497
|
-
readonly inputs: readonly [
|
|
498
|
-
|
|
499
|
-
readonly name: "index";
|
|
500
|
-
readonly type: "uint256";
|
|
501
|
-
}];
|
|
502
|
-
readonly name: "tokenByIndex";
|
|
616
|
+
readonly inputs: readonly [];
|
|
617
|
+
readonly name: "tokenURIPrefix";
|
|
503
618
|
readonly outputs: readonly [{
|
|
504
|
-
readonly internalType: "
|
|
619
|
+
readonly internalType: "string";
|
|
505
620
|
readonly name: "";
|
|
506
|
-
readonly type: "
|
|
621
|
+
readonly type: "string";
|
|
507
622
|
}];
|
|
508
623
|
readonly payable: false;
|
|
509
624
|
readonly stateMutability: "view";
|
|
510
625
|
readonly type: "function";
|
|
511
626
|
}, {
|
|
512
|
-
readonly constant:
|
|
627
|
+
readonly constant: false;
|
|
513
628
|
readonly inputs: readonly [{
|
|
514
629
|
readonly internalType: "address";
|
|
515
|
-
readonly name: "
|
|
630
|
+
readonly name: "newOwner";
|
|
516
631
|
readonly type: "address";
|
|
517
|
-
}, {
|
|
518
|
-
readonly internalType: "uint256";
|
|
519
|
-
readonly name: "index";
|
|
520
|
-
readonly type: "uint256";
|
|
521
|
-
}];
|
|
522
|
-
readonly name: "tokenOfOwnerByIndex";
|
|
523
|
-
readonly outputs: readonly [{
|
|
524
|
-
readonly internalType: "uint256";
|
|
525
|
-
readonly name: "";
|
|
526
|
-
readonly type: "uint256";
|
|
527
632
|
}];
|
|
633
|
+
readonly name: "transferOwnership";
|
|
634
|
+
readonly outputs: readonly [];
|
|
528
635
|
readonly payable: false;
|
|
529
|
-
readonly stateMutability: "
|
|
636
|
+
readonly stateMutability: "nonpayable";
|
|
530
637
|
readonly type: "function";
|
|
531
638
|
}, {
|
|
532
639
|
readonly constant: true;
|
|
533
640
|
readonly inputs: readonly [{
|
|
534
641
|
readonly internalType: "uint256";
|
|
535
|
-
readonly name: "
|
|
642
|
+
readonly name: "_id";
|
|
536
643
|
readonly type: "uint256";
|
|
537
644
|
}];
|
|
538
|
-
readonly name: "
|
|
539
|
-
readonly outputs: readonly [{
|
|
540
|
-
readonly internalType: "string";
|
|
541
|
-
readonly name: "";
|
|
542
|
-
readonly type: "string";
|
|
543
|
-
}];
|
|
544
|
-
readonly payable: false;
|
|
545
|
-
readonly stateMutability: "view";
|
|
546
|
-
readonly type: "function";
|
|
547
|
-
}, {
|
|
548
|
-
readonly constant: true;
|
|
549
|
-
readonly inputs: readonly [];
|
|
550
|
-
readonly name: "tokenURIPrefix";
|
|
645
|
+
readonly name: "uri";
|
|
551
646
|
readonly outputs: readonly [{
|
|
552
647
|
readonly internalType: "string";
|
|
553
648
|
readonly name: "";
|
|
@@ -556,61 +651,17 @@ export declare const MintableToken_jsonAbi: readonly [{
|
|
|
556
651
|
readonly payable: false;
|
|
557
652
|
readonly stateMutability: "view";
|
|
558
653
|
readonly type: "function";
|
|
559
|
-
}, {
|
|
560
|
-
readonly constant: true;
|
|
561
|
-
readonly inputs: readonly [];
|
|
562
|
-
readonly name: "totalSupply";
|
|
563
|
-
readonly outputs: readonly [{
|
|
564
|
-
readonly internalType: "uint256";
|
|
565
|
-
readonly name: "";
|
|
566
|
-
readonly type: "uint256";
|
|
567
|
-
}];
|
|
568
|
-
readonly payable: false;
|
|
569
|
-
readonly stateMutability: "view";
|
|
570
|
-
readonly type: "function";
|
|
571
|
-
}, {
|
|
572
|
-
readonly constant: false;
|
|
573
|
-
readonly inputs: readonly [{
|
|
574
|
-
readonly internalType: "address";
|
|
575
|
-
readonly name: "from";
|
|
576
|
-
readonly type: "address";
|
|
577
|
-
}, {
|
|
578
|
-
readonly internalType: "address";
|
|
579
|
-
readonly name: "to";
|
|
580
|
-
readonly type: "address";
|
|
581
|
-
}, {
|
|
582
|
-
readonly internalType: "uint256";
|
|
583
|
-
readonly name: "tokenId";
|
|
584
|
-
readonly type: "uint256";
|
|
585
|
-
}];
|
|
586
|
-
readonly name: "transferFrom";
|
|
587
|
-
readonly outputs: readonly [];
|
|
588
|
-
readonly payable: false;
|
|
589
|
-
readonly stateMutability: "nonpayable";
|
|
590
|
-
readonly type: "function";
|
|
591
|
-
}, {
|
|
592
|
-
readonly constant: false;
|
|
593
|
-
readonly inputs: readonly [{
|
|
594
|
-
readonly internalType: "address";
|
|
595
|
-
readonly name: "newOwner";
|
|
596
|
-
readonly type: "address";
|
|
597
|
-
}];
|
|
598
|
-
readonly name: "transferOwnership";
|
|
599
|
-
readonly outputs: readonly [];
|
|
600
|
-
readonly payable: false;
|
|
601
|
-
readonly stateMutability: "nonpayable";
|
|
602
|
-
readonly type: "function";
|
|
603
654
|
}];
|
|
604
655
|
/**
|
|
605
|
-
* Type-safe ABI for
|
|
656
|
+
* Type-safe ABI for RaribleToken_json
|
|
606
657
|
*/
|
|
607
|
-
export type
|
|
658
|
+
export type RaribleToken_jsonAbi = typeof RaribleToken_jsonAbi;
|
|
608
659
|
/**
|
|
609
|
-
* Contract instance type for
|
|
660
|
+
* Contract instance type for RaribleToken_json
|
|
610
661
|
*/
|
|
611
|
-
export type
|
|
662
|
+
export type RaribleToken_jsonContract = any;
|
|
612
663
|
/**
|
|
613
|
-
*
|
|
664
|
+
* RaribleToken_json Contract Class
|
|
614
665
|
*
|
|
615
666
|
* Provides a class-based API similar to TypeChain for interacting with the contract.
|
|
616
667
|
*
|
|
@@ -618,12 +669,12 @@ export type MintableToken_jsonContract = any;
|
|
|
618
669
|
* ```typescript
|
|
619
670
|
* import { createPublicClient, createWalletClient, http } from 'viem';
|
|
620
671
|
* import { mainnet } from 'viem/chains';
|
|
621
|
-
* import {
|
|
672
|
+
* import { RaribleToken_json } from 'RaribleToken_json';
|
|
622
673
|
*
|
|
623
674
|
* const publicClient = createPublicClient({ chain: mainnet, transport: http() });
|
|
624
675
|
* const walletClient = createWalletClient({ chain: mainnet, transport: http() });
|
|
625
676
|
*
|
|
626
|
-
* const contract = new
|
|
677
|
+
* const contract = new RaribleToken_json('0x...', { publicClient, walletClient });
|
|
627
678
|
*
|
|
628
679
|
* // Read functions
|
|
629
680
|
* const result = await contract.balanceOf('0x...');
|
|
@@ -641,7 +692,7 @@ export type MintableToken_jsonContract = any;
|
|
|
641
692
|
* });
|
|
642
693
|
* ```
|
|
643
694
|
*/
|
|
644
|
-
export declare class
|
|
695
|
+
export declare class RaribleToken_json {
|
|
645
696
|
private contract;
|
|
646
697
|
private contractAddress;
|
|
647
698
|
private publicClient;
|
|
@@ -656,27 +707,32 @@ export declare class MintableToken_json {
|
|
|
656
707
|
/**
|
|
657
708
|
* Get the underlying viem contract instance
|
|
658
709
|
*/
|
|
659
|
-
getContract():
|
|
710
|
+
getContract(): RaribleToken_jsonContract;
|
|
660
711
|
/**
|
|
661
712
|
* balanceOf
|
|
662
713
|
* view
|
|
663
714
|
*/
|
|
664
|
-
balanceOf(
|
|
715
|
+
balanceOf(_owner: `0x${string}`, _id: bigint): Promise<bigint>;
|
|
716
|
+
/**
|
|
717
|
+
* balanceOfBatch
|
|
718
|
+
* view
|
|
719
|
+
*/
|
|
720
|
+
balanceOfBatch(_owners: `0x${string}`[], _ids: bigint[]): Promise<bigint[]>;
|
|
665
721
|
/**
|
|
666
722
|
* contractURI
|
|
667
723
|
* view
|
|
668
724
|
*/
|
|
669
725
|
contractURI(): Promise<string>;
|
|
670
726
|
/**
|
|
671
|
-
*
|
|
727
|
+
* creators
|
|
672
728
|
* view
|
|
673
729
|
*/
|
|
674
|
-
|
|
730
|
+
creators(arg0: bigint): Promise<`0x${string}`>;
|
|
675
731
|
/**
|
|
676
|
-
*
|
|
732
|
+
* fees
|
|
677
733
|
* view
|
|
678
734
|
*/
|
|
679
|
-
|
|
735
|
+
fees(arg0: bigint, arg1: bigint): Promise<[`0x${string}`, bigint]>;
|
|
680
736
|
/**
|
|
681
737
|
* getFeeBps
|
|
682
738
|
* view
|
|
@@ -691,12 +747,17 @@ export declare class MintableToken_json {
|
|
|
691
747
|
* isApprovedForAll
|
|
692
748
|
* view
|
|
693
749
|
*/
|
|
694
|
-
isApprovedForAll(
|
|
750
|
+
isApprovedForAll(_owner: `0x${string}`, _operator: `0x${string}`): Promise<boolean>;
|
|
695
751
|
/**
|
|
696
752
|
* isOwner
|
|
697
753
|
* view
|
|
698
754
|
*/
|
|
699
755
|
isOwner(): Promise<boolean>;
|
|
756
|
+
/**
|
|
757
|
+
* isSigner
|
|
758
|
+
* view
|
|
759
|
+
*/
|
|
760
|
+
isSigner(account: `0x${string}`): Promise<boolean>;
|
|
700
761
|
/**
|
|
701
762
|
* name
|
|
702
763
|
* view
|
|
@@ -707,11 +768,6 @@ export declare class MintableToken_json {
|
|
|
707
768
|
* view
|
|
708
769
|
*/
|
|
709
770
|
owner(): Promise<`0x${string}`>;
|
|
710
|
-
/**
|
|
711
|
-
* ownerOf
|
|
712
|
-
* view
|
|
713
|
-
*/
|
|
714
|
-
ownerOf(tokenId: bigint): Promise<`0x${string}`>;
|
|
715
771
|
/**
|
|
716
772
|
* supportsInterface
|
|
717
773
|
* view
|
|
@@ -722,37 +778,22 @@ export declare class MintableToken_json {
|
|
|
722
778
|
* view
|
|
723
779
|
*/
|
|
724
780
|
symbol(): Promise<string>;
|
|
725
|
-
/**
|
|
726
|
-
* tokenByIndex
|
|
727
|
-
* view
|
|
728
|
-
*/
|
|
729
|
-
tokenByIndex(index: bigint): Promise<bigint>;
|
|
730
|
-
/**
|
|
731
|
-
* tokenOfOwnerByIndex
|
|
732
|
-
* view
|
|
733
|
-
*/
|
|
734
|
-
tokenOfOwnerByIndex(owner: `0x${string}`, index: bigint): Promise<bigint>;
|
|
735
|
-
/**
|
|
736
|
-
* tokenURI
|
|
737
|
-
* view
|
|
738
|
-
*/
|
|
739
|
-
tokenURI(tokenId: bigint): Promise<string>;
|
|
740
781
|
/**
|
|
741
782
|
* tokenURIPrefix
|
|
742
783
|
* view
|
|
743
784
|
*/
|
|
744
785
|
tokenURIPrefix(): Promise<string>;
|
|
745
786
|
/**
|
|
746
|
-
*
|
|
787
|
+
* uri
|
|
747
788
|
* view
|
|
748
789
|
*/
|
|
749
|
-
|
|
790
|
+
uri(_id: bigint): Promise<string>;
|
|
750
791
|
/**
|
|
751
|
-
*
|
|
792
|
+
* addSigner
|
|
752
793
|
* nonpayable
|
|
753
794
|
* @param options Optional transaction parameters (value, gas, nonce, etc.)
|
|
754
795
|
*/
|
|
755
|
-
|
|
796
|
+
addSigner(account: `0x${string}`, options?: {
|
|
756
797
|
accessList?: import('viem').AccessList;
|
|
757
798
|
authorizationList?: import('viem').AuthorizationList;
|
|
758
799
|
chain?: import('viem').Chain | null;
|
|
@@ -769,7 +810,7 @@ export declare class MintableToken_json {
|
|
|
769
810
|
* nonpayable
|
|
770
811
|
* @param options Optional transaction parameters (value, gas, nonce, etc.)
|
|
771
812
|
*/
|
|
772
|
-
burn(
|
|
813
|
+
burn(_owner: `0x${string}`, _id: bigint, _value: bigint, options?: {
|
|
773
814
|
accessList?: import('viem').AccessList;
|
|
774
815
|
authorizationList?: import('viem').AuthorizationList;
|
|
775
816
|
chain?: import('viem').Chain | null;
|
|
@@ -786,7 +827,24 @@ export declare class MintableToken_json {
|
|
|
786
827
|
* nonpayable
|
|
787
828
|
* @param options Optional transaction parameters (value, gas, nonce, etc.)
|
|
788
829
|
*/
|
|
789
|
-
mint(
|
|
830
|
+
mint(id: bigint, v: bigint, r: `0x${string}`, s: `0x${string}`, fees: ERC1155Base_Fee[], supply: bigint, uri: string, options?: {
|
|
831
|
+
accessList?: import('viem').AccessList;
|
|
832
|
+
authorizationList?: import('viem').AuthorizationList;
|
|
833
|
+
chain?: import('viem').Chain | null;
|
|
834
|
+
dataSuffix?: `0x${string}`;
|
|
835
|
+
gas?: bigint;
|
|
836
|
+
gasPrice?: bigint;
|
|
837
|
+
maxFeePerGas?: bigint;
|
|
838
|
+
maxPriorityFeePerGas?: bigint;
|
|
839
|
+
nonce?: number;
|
|
840
|
+
value?: bigint;
|
|
841
|
+
}): Promise<`0x${string}`>;
|
|
842
|
+
/**
|
|
843
|
+
* removeSigner
|
|
844
|
+
* nonpayable
|
|
845
|
+
* @param options Optional transaction parameters (value, gas, nonce, etc.)
|
|
846
|
+
*/
|
|
847
|
+
removeSigner(account: `0x${string}`, options?: {
|
|
790
848
|
accessList?: import('viem').AccessList;
|
|
791
849
|
authorizationList?: import('viem').AuthorizationList;
|
|
792
850
|
chain?: import('viem').Chain | null;
|
|
@@ -815,7 +873,12 @@ export declare class MintableToken_json {
|
|
|
815
873
|
nonce?: number;
|
|
816
874
|
value?: bigint;
|
|
817
875
|
}): Promise<`0x${string}`>;
|
|
818
|
-
|
|
876
|
+
/**
|
|
877
|
+
* renounceSigner
|
|
878
|
+
* nonpayable
|
|
879
|
+
* @param options Optional transaction parameters (value, gas, nonce, etc.)
|
|
880
|
+
*/
|
|
881
|
+
renounceSigner(options?: {
|
|
819
882
|
accessList?: import('viem').AccessList;
|
|
820
883
|
authorizationList?: import('viem').AuthorizationList;
|
|
821
884
|
chain?: import('viem').Chain | null;
|
|
@@ -827,7 +890,12 @@ export declare class MintableToken_json {
|
|
|
827
890
|
nonce?: number;
|
|
828
891
|
value?: bigint;
|
|
829
892
|
}): Promise<`0x${string}`>;
|
|
830
|
-
|
|
893
|
+
/**
|
|
894
|
+
* safeBatchTransferFrom
|
|
895
|
+
* nonpayable
|
|
896
|
+
* @param options Optional transaction parameters (value, gas, nonce, etc.)
|
|
897
|
+
*/
|
|
898
|
+
safeBatchTransferFrom(_from: `0x${string}`, _to: `0x${string}`, _ids: bigint[], _values: bigint[], _data: `0x${string}`, options?: {
|
|
831
899
|
accessList?: import('viem').AccessList;
|
|
832
900
|
authorizationList?: import('viem').AuthorizationList;
|
|
833
901
|
chain?: import('viem').Chain | null;
|
|
@@ -840,11 +908,11 @@ export declare class MintableToken_json {
|
|
|
840
908
|
value?: bigint;
|
|
841
909
|
}): Promise<`0x${string}`>;
|
|
842
910
|
/**
|
|
843
|
-
*
|
|
911
|
+
* safeTransferFrom
|
|
844
912
|
* nonpayable
|
|
845
913
|
* @param options Optional transaction parameters (value, gas, nonce, etc.)
|
|
846
914
|
*/
|
|
847
|
-
|
|
915
|
+
safeTransferFrom(_from: `0x${string}`, _to: `0x${string}`, _id: bigint, _value: bigint, _data: `0x${string}`, options?: {
|
|
848
916
|
accessList?: import('viem').AccessList;
|
|
849
917
|
authorizationList?: import('viem').AuthorizationList;
|
|
850
918
|
chain?: import('viem').Chain | null;
|
|
@@ -857,11 +925,11 @@ export declare class MintableToken_json {
|
|
|
857
925
|
value?: bigint;
|
|
858
926
|
}): Promise<`0x${string}`>;
|
|
859
927
|
/**
|
|
860
|
-
*
|
|
928
|
+
* setApprovalForAll
|
|
861
929
|
* nonpayable
|
|
862
930
|
* @param options Optional transaction parameters (value, gas, nonce, etc.)
|
|
863
931
|
*/
|
|
864
|
-
|
|
932
|
+
setApprovalForAll(_operator: `0x${string}`, _approved: boolean, options?: {
|
|
865
933
|
accessList?: import('viem').AccessList;
|
|
866
934
|
authorizationList?: import('viem').AuthorizationList;
|
|
867
935
|
chain?: import('viem').Chain | null;
|
|
@@ -874,11 +942,11 @@ export declare class MintableToken_json {
|
|
|
874
942
|
value?: bigint;
|
|
875
943
|
}): Promise<`0x${string}`>;
|
|
876
944
|
/**
|
|
877
|
-
*
|
|
945
|
+
* setContractURI
|
|
878
946
|
* nonpayable
|
|
879
947
|
* @param options Optional transaction parameters (value, gas, nonce, etc.)
|
|
880
948
|
*/
|
|
881
|
-
|
|
949
|
+
setContractURI(contractURI: string, options?: {
|
|
882
950
|
accessList?: import('viem').AccessList;
|
|
883
951
|
authorizationList?: import('viem').AuthorizationList;
|
|
884
952
|
chain?: import('viem').Chain | null;
|
|
@@ -891,11 +959,11 @@ export declare class MintableToken_json {
|
|
|
891
959
|
value?: bigint;
|
|
892
960
|
}): Promise<`0x${string}`>;
|
|
893
961
|
/**
|
|
894
|
-
*
|
|
962
|
+
* setTokenURIPrefix
|
|
895
963
|
* nonpayable
|
|
896
964
|
* @param options Optional transaction parameters (value, gas, nonce, etc.)
|
|
897
965
|
*/
|
|
898
|
-
|
|
966
|
+
setTokenURIPrefix(tokenURIPrefix: string, options?: {
|
|
899
967
|
accessList?: import('viem').AccessList;
|
|
900
968
|
authorizationList?: import('viem').AuthorizationList;
|
|
901
969
|
chain?: import('viem').Chain | null;
|
|
@@ -934,11 +1002,11 @@ export declare class MintableToken_json {
|
|
|
934
1002
|
*/
|
|
935
1003
|
get simulate(): {
|
|
936
1004
|
/**
|
|
937
|
-
* Simulate
|
|
1005
|
+
* Simulate addSigner
|
|
938
1006
|
* Returns gas estimate and result without sending transaction
|
|
939
1007
|
* @param options Optional transaction parameters (value, gas, nonce, etc.)
|
|
940
1008
|
*/
|
|
941
|
-
|
|
1009
|
+
addSigner(account: `0x${string}`, options?: {
|
|
942
1010
|
accessList?: import("viem").AccessList;
|
|
943
1011
|
authorizationList?: import("viem").AuthorizationList;
|
|
944
1012
|
chain?: import("viem").Chain | null;
|
|
@@ -955,7 +1023,7 @@ export declare class MintableToken_json {
|
|
|
955
1023
|
* Returns gas estimate and result without sending transaction
|
|
956
1024
|
* @param options Optional transaction parameters (value, gas, nonce, etc.)
|
|
957
1025
|
*/
|
|
958
|
-
burn(
|
|
1026
|
+
burn(_owner: `0x${string}`, _id: bigint, _value: bigint, options?: {
|
|
959
1027
|
accessList?: import("viem").AccessList;
|
|
960
1028
|
authorizationList?: import("viem").AuthorizationList;
|
|
961
1029
|
chain?: import("viem").Chain | null;
|
|
@@ -972,7 +1040,24 @@ export declare class MintableToken_json {
|
|
|
972
1040
|
* Returns gas estimate and result without sending transaction
|
|
973
1041
|
* @param options Optional transaction parameters (value, gas, nonce, etc.)
|
|
974
1042
|
*/
|
|
975
|
-
mint(
|
|
1043
|
+
mint(id: bigint, v: bigint, r: `0x${string}`, s: `0x${string}`, fees: ERC1155Base_Fee[], supply: bigint, uri: string, options?: {
|
|
1044
|
+
accessList?: import("viem").AccessList;
|
|
1045
|
+
authorizationList?: import("viem").AuthorizationList;
|
|
1046
|
+
chain?: import("viem").Chain | null;
|
|
1047
|
+
dataSuffix?: `0x${string}`;
|
|
1048
|
+
gas?: bigint;
|
|
1049
|
+
gasPrice?: bigint;
|
|
1050
|
+
maxFeePerGas?: bigint;
|
|
1051
|
+
maxPriorityFeePerGas?: bigint;
|
|
1052
|
+
nonce?: number;
|
|
1053
|
+
value?: bigint;
|
|
1054
|
+
}): Promise<void>;
|
|
1055
|
+
/**
|
|
1056
|
+
* Simulate removeSigner
|
|
1057
|
+
* Returns gas estimate and result without sending transaction
|
|
1058
|
+
* @param options Optional transaction parameters (value, gas, nonce, etc.)
|
|
1059
|
+
*/
|
|
1060
|
+
removeSigner(account: `0x${string}`, options?: {
|
|
976
1061
|
accessList?: import("viem").AccessList;
|
|
977
1062
|
authorizationList?: import("viem").AuthorizationList;
|
|
978
1063
|
chain?: import("viem").Chain | null;
|
|
@@ -1002,18 +1087,28 @@ export declare class MintableToken_json {
|
|
|
1002
1087
|
value?: bigint;
|
|
1003
1088
|
}): Promise<void>;
|
|
1004
1089
|
/**
|
|
1005
|
-
* Simulate
|
|
1090
|
+
* Simulate renounceSigner
|
|
1006
1091
|
* Returns gas estimate and result without sending transaction
|
|
1007
|
-
* Supports multiple overloads: (address, address, uint256), (address, address, uint256, bytes)
|
|
1008
1092
|
* @param options Optional transaction parameters (value, gas, nonce, etc.)
|
|
1009
1093
|
*/
|
|
1010
|
-
|
|
1094
|
+
renounceSigner(options?: {
|
|
1095
|
+
accessList?: import("viem").AccessList;
|
|
1096
|
+
authorizationList?: import("viem").AuthorizationList;
|
|
1097
|
+
chain?: import("viem").Chain | null;
|
|
1098
|
+
dataSuffix?: `0x${string}`;
|
|
1099
|
+
gas?: bigint;
|
|
1100
|
+
gasPrice?: bigint;
|
|
1101
|
+
maxFeePerGas?: bigint;
|
|
1102
|
+
maxPriorityFeePerGas?: bigint;
|
|
1103
|
+
nonce?: number;
|
|
1104
|
+
value?: bigint;
|
|
1105
|
+
}): Promise<void>;
|
|
1011
1106
|
/**
|
|
1012
|
-
* Simulate
|
|
1107
|
+
* Simulate safeBatchTransferFrom
|
|
1013
1108
|
* Returns gas estimate and result without sending transaction
|
|
1014
1109
|
* @param options Optional transaction parameters (value, gas, nonce, etc.)
|
|
1015
1110
|
*/
|
|
1016
|
-
|
|
1111
|
+
safeBatchTransferFrom(_from: `0x${string}`, _to: `0x${string}`, _ids: bigint[], _values: bigint[], _data: `0x${string}`, options?: {
|
|
1017
1112
|
accessList?: import("viem").AccessList;
|
|
1018
1113
|
authorizationList?: import("viem").AuthorizationList;
|
|
1019
1114
|
chain?: import("viem").Chain | null;
|
|
@@ -1026,11 +1121,11 @@ export declare class MintableToken_json {
|
|
|
1026
1121
|
value?: bigint;
|
|
1027
1122
|
}): Promise<void>;
|
|
1028
1123
|
/**
|
|
1029
|
-
* Simulate
|
|
1124
|
+
* Simulate safeTransferFrom
|
|
1030
1125
|
* Returns gas estimate and result without sending transaction
|
|
1031
1126
|
* @param options Optional transaction parameters (value, gas, nonce, etc.)
|
|
1032
1127
|
*/
|
|
1033
|
-
|
|
1128
|
+
safeTransferFrom(_from: `0x${string}`, _to: `0x${string}`, _id: bigint, _value: bigint, _data: `0x${string}`, options?: {
|
|
1034
1129
|
accessList?: import("viem").AccessList;
|
|
1035
1130
|
authorizationList?: import("viem").AuthorizationList;
|
|
1036
1131
|
chain?: import("viem").Chain | null;
|
|
@@ -1043,11 +1138,28 @@ export declare class MintableToken_json {
|
|
|
1043
1138
|
value?: bigint;
|
|
1044
1139
|
}): Promise<void>;
|
|
1045
1140
|
/**
|
|
1046
|
-
* Simulate
|
|
1141
|
+
* Simulate setApprovalForAll
|
|
1047
1142
|
* Returns gas estimate and result without sending transaction
|
|
1048
1143
|
* @param options Optional transaction parameters (value, gas, nonce, etc.)
|
|
1049
1144
|
*/
|
|
1050
|
-
|
|
1145
|
+
setApprovalForAll(_operator: `0x${string}`, _approved: boolean, options?: {
|
|
1146
|
+
accessList?: import("viem").AccessList;
|
|
1147
|
+
authorizationList?: import("viem").AuthorizationList;
|
|
1148
|
+
chain?: import("viem").Chain | null;
|
|
1149
|
+
dataSuffix?: `0x${string}`;
|
|
1150
|
+
gas?: bigint;
|
|
1151
|
+
gasPrice?: bigint;
|
|
1152
|
+
maxFeePerGas?: bigint;
|
|
1153
|
+
maxPriorityFeePerGas?: bigint;
|
|
1154
|
+
nonce?: number;
|
|
1155
|
+
value?: bigint;
|
|
1156
|
+
}): Promise<void>;
|
|
1157
|
+
/**
|
|
1158
|
+
* Simulate setContractURI
|
|
1159
|
+
* Returns gas estimate and result without sending transaction
|
|
1160
|
+
* @param options Optional transaction parameters (value, gas, nonce, etc.)
|
|
1161
|
+
*/
|
|
1162
|
+
setContractURI(contractURI: string, options?: {
|
|
1051
1163
|
accessList?: import("viem").AccessList;
|
|
1052
1164
|
authorizationList?: import("viem").AuthorizationList;
|
|
1053
1165
|
chain?: import("viem").Chain | null;
|
|
@@ -1060,11 +1172,11 @@ export declare class MintableToken_json {
|
|
|
1060
1172
|
value?: bigint;
|
|
1061
1173
|
}): Promise<void>;
|
|
1062
1174
|
/**
|
|
1063
|
-
* Simulate
|
|
1175
|
+
* Simulate setTokenURIPrefix
|
|
1064
1176
|
* Returns gas estimate and result without sending transaction
|
|
1065
1177
|
* @param options Optional transaction parameters (value, gas, nonce, etc.)
|
|
1066
1178
|
*/
|
|
1067
|
-
|
|
1179
|
+
setTokenURIPrefix(tokenURIPrefix: string, options?: {
|
|
1068
1180
|
accessList?: import("viem").AccessList;
|
|
1069
1181
|
authorizationList?: import("viem").AuthorizationList;
|
|
1070
1182
|
chain?: import("viem").Chain | null;
|
|
@@ -1107,21 +1219,6 @@ export declare class MintableToken_json {
|
|
|
1107
1219
|
* unwatch();
|
|
1108
1220
|
*/
|
|
1109
1221
|
get watch(): {
|
|
1110
|
-
/**
|
|
1111
|
-
* Watch Approval events
|
|
1112
|
-
* @param callback Function to call when event is emitted
|
|
1113
|
-
* @param filter Optional filter for indexed parameters
|
|
1114
|
-
* @returns Unwatch function to stop listening
|
|
1115
|
-
*/
|
|
1116
|
-
Approval: (callback: (event: {
|
|
1117
|
-
owner: `0x${string}`;
|
|
1118
|
-
approved: `0x${string}`;
|
|
1119
|
-
tokenId: bigint;
|
|
1120
|
-
}) => void, filter?: {
|
|
1121
|
-
owner: `0x${string}`;
|
|
1122
|
-
approved: `0x${string}`;
|
|
1123
|
-
tokenId: bigint;
|
|
1124
|
-
}) => () => void;
|
|
1125
1222
|
/**
|
|
1126
1223
|
* Watch ApprovalForAll events
|
|
1127
1224
|
* @param callback Function to call when event is emitted
|
|
@@ -1129,12 +1226,12 @@ export declare class MintableToken_json {
|
|
|
1129
1226
|
* @returns Unwatch function to stop listening
|
|
1130
1227
|
*/
|
|
1131
1228
|
ApprovalForAll: (callback: (event: {
|
|
1132
|
-
|
|
1133
|
-
|
|
1134
|
-
|
|
1229
|
+
_owner: `0x${string}`;
|
|
1230
|
+
_operator: `0x${string}`;
|
|
1231
|
+
_approved: boolean;
|
|
1135
1232
|
}) => void, filter?: {
|
|
1136
|
-
|
|
1137
|
-
|
|
1233
|
+
_owner: `0x${string}`;
|
|
1234
|
+
_operator: `0x${string}`;
|
|
1138
1235
|
}) => () => void;
|
|
1139
1236
|
/**
|
|
1140
1237
|
* Watch OwnershipTransferred events
|
|
@@ -1161,19 +1258,72 @@ export declare class MintableToken_json {
|
|
|
1161
1258
|
bps: bigint[];
|
|
1162
1259
|
}) => void) => () => void;
|
|
1163
1260
|
/**
|
|
1164
|
-
* Watch
|
|
1261
|
+
* Watch SignerAdded events
|
|
1165
1262
|
* @param callback Function to call when event is emitted
|
|
1166
1263
|
* @param filter Optional filter for indexed parameters
|
|
1167
1264
|
* @returns Unwatch function to stop listening
|
|
1168
1265
|
*/
|
|
1169
|
-
|
|
1170
|
-
|
|
1171
|
-
to: `0x${string}`;
|
|
1172
|
-
tokenId: bigint;
|
|
1266
|
+
SignerAdded: (callback: (event: {
|
|
1267
|
+
account: `0x${string}`;
|
|
1173
1268
|
}) => void, filter?: {
|
|
1174
|
-
|
|
1175
|
-
|
|
1176
|
-
|
|
1269
|
+
account: `0x${string}`;
|
|
1270
|
+
}) => () => void;
|
|
1271
|
+
/**
|
|
1272
|
+
* Watch SignerRemoved events
|
|
1273
|
+
* @param callback Function to call when event is emitted
|
|
1274
|
+
* @param filter Optional filter for indexed parameters
|
|
1275
|
+
* @returns Unwatch function to stop listening
|
|
1276
|
+
*/
|
|
1277
|
+
SignerRemoved: (callback: (event: {
|
|
1278
|
+
account: `0x${string}`;
|
|
1279
|
+
}) => void, filter?: {
|
|
1280
|
+
account: `0x${string}`;
|
|
1281
|
+
}) => () => void;
|
|
1282
|
+
/**
|
|
1283
|
+
* Watch TransferBatch events
|
|
1284
|
+
* @param callback Function to call when event is emitted
|
|
1285
|
+
* @param filter Optional filter for indexed parameters
|
|
1286
|
+
* @returns Unwatch function to stop listening
|
|
1287
|
+
*/
|
|
1288
|
+
TransferBatch: (callback: (event: {
|
|
1289
|
+
_operator: `0x${string}`;
|
|
1290
|
+
_from: `0x${string}`;
|
|
1291
|
+
_to: `0x${string}`;
|
|
1292
|
+
_ids: bigint[];
|
|
1293
|
+
_values: bigint[];
|
|
1294
|
+
}) => void, filter?: {
|
|
1295
|
+
_operator: `0x${string}`;
|
|
1296
|
+
_from: `0x${string}`;
|
|
1297
|
+
_to: `0x${string}`;
|
|
1298
|
+
}) => () => void;
|
|
1299
|
+
/**
|
|
1300
|
+
* Watch TransferSingle events
|
|
1301
|
+
* @param callback Function to call when event is emitted
|
|
1302
|
+
* @param filter Optional filter for indexed parameters
|
|
1303
|
+
* @returns Unwatch function to stop listening
|
|
1304
|
+
*/
|
|
1305
|
+
TransferSingle: (callback: (event: {
|
|
1306
|
+
_operator: `0x${string}`;
|
|
1307
|
+
_from: `0x${string}`;
|
|
1308
|
+
_to: `0x${string}`;
|
|
1309
|
+
_id: bigint;
|
|
1310
|
+
_value: bigint;
|
|
1311
|
+
}) => void, filter?: {
|
|
1312
|
+
_operator: `0x${string}`;
|
|
1313
|
+
_from: `0x${string}`;
|
|
1314
|
+
_to: `0x${string}`;
|
|
1315
|
+
}) => () => void;
|
|
1316
|
+
/**
|
|
1317
|
+
* Watch URI events
|
|
1318
|
+
* @param callback Function to call when event is emitted
|
|
1319
|
+
* @param filter Optional filter for indexed parameters
|
|
1320
|
+
* @returns Unwatch function to stop listening
|
|
1321
|
+
*/
|
|
1322
|
+
URI: (callback: (event: {
|
|
1323
|
+
_id: bigint;
|
|
1324
|
+
_value: string;
|
|
1325
|
+
}) => void, filter?: {
|
|
1326
|
+
_id: bigint;
|
|
1177
1327
|
}) => () => void;
|
|
1178
1328
|
};
|
|
1179
1329
|
}
|