@gitmyabi/rari 1.0.2 → 1.0.3
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 +4 -4
- package/contracts/{ERC1155Rarible_json.d.ts → ERC721RaribleMinimal.d.ts} +214 -385
- package/contracts/{ERC1155Rarible_json.js → ERC721RaribleMinimal.js} +237 -451
- package/contracts/{ERC1155Rarible_json.ts → ERC721RaribleMinimal.ts} +271 -484
- package/contracts/{TransparentUpgradeableProxy_json.d.ts → TransparentUpgradeableProxy.d.ts} +14 -14
- package/contracts/{TransparentUpgradeableProxy_json.js → TransparentUpgradeableProxy.js} +13 -13
- package/contracts/{TransparentUpgradeableProxy_json.ts → TransparentUpgradeableProxy.ts} +21 -21
- package/contracts/index.d.ts +4 -4
- package/contracts/index.js +7 -7
- package/contracts/index.ts +4 -4
- package/package.json +4 -4
|
@@ -7,100 +7,69 @@ export type LibPart_Part = {
|
|
|
7
7
|
value: bigint;
|
|
8
8
|
};
|
|
9
9
|
/**
|
|
10
|
-
*
|
|
10
|
+
* LibERC721LazyMint.Mint721Data struct type
|
|
11
11
|
*/
|
|
12
|
-
export type
|
|
12
|
+
export type LibERC721LazyMint_Mint721Data = {
|
|
13
13
|
tokenId: bigint;
|
|
14
14
|
tokenURI: string;
|
|
15
|
-
supply: bigint;
|
|
16
15
|
creators: LibPart_Part[];
|
|
17
16
|
royalties: LibPart_Part[];
|
|
18
17
|
signatures: `0x${string}`[];
|
|
19
18
|
};
|
|
20
19
|
/**
|
|
21
|
-
*
|
|
20
|
+
* ERC721RaribleMinimal ABI
|
|
22
21
|
*
|
|
23
22
|
* This ABI is typed using viem's type system for full type safety.
|
|
24
23
|
*/
|
|
25
|
-
export declare const
|
|
24
|
+
export declare const ERC721RaribleMinimalAbi: readonly [{
|
|
26
25
|
readonly anonymous: false;
|
|
27
26
|
readonly inputs: readonly [{
|
|
28
27
|
readonly indexed: true;
|
|
29
28
|
readonly internalType: "address";
|
|
30
|
-
readonly name: "
|
|
29
|
+
readonly name: "owner";
|
|
31
30
|
readonly type: "address";
|
|
32
31
|
}, {
|
|
33
32
|
readonly indexed: true;
|
|
34
33
|
readonly internalType: "address";
|
|
35
|
-
readonly name: "
|
|
34
|
+
readonly name: "approved";
|
|
36
35
|
readonly type: "address";
|
|
37
36
|
}, {
|
|
38
|
-
readonly indexed:
|
|
39
|
-
readonly internalType: "
|
|
40
|
-
readonly name: "
|
|
41
|
-
readonly type: "
|
|
42
|
-
}];
|
|
43
|
-
readonly name: "ApprovalForAll";
|
|
44
|
-
readonly type: "event";
|
|
45
|
-
}, {
|
|
46
|
-
readonly anonymous: false;
|
|
47
|
-
readonly inputs: readonly [{
|
|
48
|
-
readonly indexed: false;
|
|
49
|
-
readonly internalType: "string";
|
|
50
|
-
readonly name: "newBaseURI";
|
|
51
|
-
readonly type: "string";
|
|
37
|
+
readonly indexed: true;
|
|
38
|
+
readonly internalType: "uint256";
|
|
39
|
+
readonly name: "tokenId";
|
|
40
|
+
readonly type: "uint256";
|
|
52
41
|
}];
|
|
53
|
-
readonly name: "
|
|
42
|
+
readonly name: "Approval";
|
|
54
43
|
readonly type: "event";
|
|
55
44
|
}, {
|
|
56
45
|
readonly anonymous: false;
|
|
57
46
|
readonly inputs: readonly [{
|
|
58
47
|
readonly indexed: true;
|
|
59
48
|
readonly internalType: "address";
|
|
60
|
-
readonly name: "
|
|
49
|
+
readonly name: "owner";
|
|
61
50
|
readonly type: "address";
|
|
62
51
|
}, {
|
|
63
52
|
readonly indexed: true;
|
|
64
53
|
readonly internalType: "address";
|
|
65
|
-
readonly name: "
|
|
54
|
+
readonly name: "operator";
|
|
66
55
|
readonly type: "address";
|
|
67
56
|
}, {
|
|
68
57
|
readonly indexed: false;
|
|
69
|
-
readonly internalType: "
|
|
70
|
-
readonly name: "
|
|
71
|
-
readonly type: "
|
|
72
|
-
}, {
|
|
73
|
-
readonly indexed: false;
|
|
74
|
-
readonly internalType: "uint256";
|
|
75
|
-
readonly name: "amount";
|
|
76
|
-
readonly type: "uint256";
|
|
58
|
+
readonly internalType: "bool";
|
|
59
|
+
readonly name: "approved";
|
|
60
|
+
readonly type: "bool";
|
|
77
61
|
}];
|
|
78
|
-
readonly name: "
|
|
62
|
+
readonly name: "ApprovalForAll";
|
|
79
63
|
readonly type: "event";
|
|
80
64
|
}, {
|
|
81
65
|
readonly anonymous: false;
|
|
82
66
|
readonly inputs: readonly [{
|
|
83
|
-
readonly indexed: true;
|
|
84
|
-
readonly internalType: "address";
|
|
85
|
-
readonly name: "operator";
|
|
86
|
-
readonly type: "address";
|
|
87
|
-
}, {
|
|
88
|
-
readonly indexed: true;
|
|
89
|
-
readonly internalType: "address";
|
|
90
|
-
readonly name: "account";
|
|
91
|
-
readonly type: "address";
|
|
92
|
-
}, {
|
|
93
67
|
readonly indexed: false;
|
|
94
|
-
readonly internalType: "
|
|
95
|
-
readonly name: "
|
|
96
|
-
readonly type: "
|
|
97
|
-
}, {
|
|
98
|
-
readonly indexed: false;
|
|
99
|
-
readonly internalType: "uint256[]";
|
|
100
|
-
readonly name: "amounts";
|
|
101
|
-
readonly type: "uint256[]";
|
|
68
|
+
readonly internalType: "string";
|
|
69
|
+
readonly name: "newBaseURI";
|
|
70
|
+
readonly type: "string";
|
|
102
71
|
}];
|
|
103
|
-
readonly name: "
|
|
72
|
+
readonly name: "BaseUriChanged";
|
|
104
73
|
readonly type: "event";
|
|
105
74
|
}, {
|
|
106
75
|
readonly anonymous: false;
|
|
@@ -120,7 +89,7 @@ export declare const ERC1155Rarible_jsonAbi: readonly [{
|
|
|
120
89
|
readonly name: "symbol";
|
|
121
90
|
readonly type: "string";
|
|
122
91
|
}];
|
|
123
|
-
readonly name: "
|
|
92
|
+
readonly name: "CreateERC721Rarible";
|
|
124
93
|
readonly type: "event";
|
|
125
94
|
}, {
|
|
126
95
|
readonly anonymous: false;
|
|
@@ -140,7 +109,7 @@ export declare const ERC1155Rarible_jsonAbi: readonly [{
|
|
|
140
109
|
readonly name: "symbol";
|
|
141
110
|
readonly type: "string";
|
|
142
111
|
}];
|
|
143
|
-
readonly name: "
|
|
112
|
+
readonly name: "CreateERC721RaribleUser";
|
|
144
113
|
readonly type: "event";
|
|
145
114
|
}, {
|
|
146
115
|
readonly anonymous: false;
|
|
@@ -238,26 +207,6 @@ export declare const ERC1155Rarible_jsonAbi: readonly [{
|
|
|
238
207
|
}, {
|
|
239
208
|
readonly anonymous: false;
|
|
240
209
|
readonly inputs: readonly [{
|
|
241
|
-
readonly indexed: false;
|
|
242
|
-
readonly internalType: "uint256";
|
|
243
|
-
readonly name: "tokenId";
|
|
244
|
-
readonly type: "uint256";
|
|
245
|
-
}, {
|
|
246
|
-
readonly indexed: false;
|
|
247
|
-
readonly internalType: "uint256";
|
|
248
|
-
readonly name: "value";
|
|
249
|
-
readonly type: "uint256";
|
|
250
|
-
}];
|
|
251
|
-
readonly name: "Supply";
|
|
252
|
-
readonly type: "event";
|
|
253
|
-
}, {
|
|
254
|
-
readonly anonymous: false;
|
|
255
|
-
readonly inputs: readonly [{
|
|
256
|
-
readonly indexed: true;
|
|
257
|
-
readonly internalType: "address";
|
|
258
|
-
readonly name: "operator";
|
|
259
|
-
readonly type: "address";
|
|
260
|
-
}, {
|
|
261
210
|
readonly indexed: true;
|
|
262
211
|
readonly internalType: "address";
|
|
263
212
|
readonly name: "from";
|
|
@@ -268,62 +217,12 @@ export declare const ERC1155Rarible_jsonAbi: readonly [{
|
|
|
268
217
|
readonly name: "to";
|
|
269
218
|
readonly type: "address";
|
|
270
219
|
}, {
|
|
271
|
-
readonly indexed: false;
|
|
272
|
-
readonly internalType: "uint256[]";
|
|
273
|
-
readonly name: "ids";
|
|
274
|
-
readonly type: "uint256[]";
|
|
275
|
-
}, {
|
|
276
|
-
readonly indexed: false;
|
|
277
|
-
readonly internalType: "uint256[]";
|
|
278
|
-
readonly name: "values";
|
|
279
|
-
readonly type: "uint256[]";
|
|
280
|
-
}];
|
|
281
|
-
readonly name: "TransferBatch";
|
|
282
|
-
readonly type: "event";
|
|
283
|
-
}, {
|
|
284
|
-
readonly anonymous: false;
|
|
285
|
-
readonly inputs: readonly [{
|
|
286
220
|
readonly indexed: true;
|
|
287
|
-
readonly internalType: "address";
|
|
288
|
-
readonly name: "operator";
|
|
289
|
-
readonly type: "address";
|
|
290
|
-
}, {
|
|
291
|
-
readonly indexed: true;
|
|
292
|
-
readonly internalType: "address";
|
|
293
|
-
readonly name: "from";
|
|
294
|
-
readonly type: "address";
|
|
295
|
-
}, {
|
|
296
|
-
readonly indexed: true;
|
|
297
|
-
readonly internalType: "address";
|
|
298
|
-
readonly name: "to";
|
|
299
|
-
readonly type: "address";
|
|
300
|
-
}, {
|
|
301
|
-
readonly indexed: false;
|
|
302
221
|
readonly internalType: "uint256";
|
|
303
|
-
readonly name: "
|
|
304
|
-
readonly type: "uint256";
|
|
305
|
-
}, {
|
|
306
|
-
readonly indexed: false;
|
|
307
|
-
readonly internalType: "uint256";
|
|
308
|
-
readonly name: "value";
|
|
309
|
-
readonly type: "uint256";
|
|
310
|
-
}];
|
|
311
|
-
readonly name: "TransferSingle";
|
|
312
|
-
readonly type: "event";
|
|
313
|
-
}, {
|
|
314
|
-
readonly anonymous: false;
|
|
315
|
-
readonly inputs: readonly [{
|
|
316
|
-
readonly indexed: false;
|
|
317
|
-
readonly internalType: "string";
|
|
318
|
-
readonly name: "value";
|
|
319
|
-
readonly type: "string";
|
|
320
|
-
}, {
|
|
321
|
-
readonly indexed: true;
|
|
322
|
-
readonly internalType: "uint256";
|
|
323
|
-
readonly name: "id";
|
|
222
|
+
readonly name: "tokenId";
|
|
324
223
|
readonly type: "uint256";
|
|
325
224
|
}];
|
|
326
|
-
readonly name: "
|
|
225
|
+
readonly name: "Transfer";
|
|
327
226
|
readonly type: "event";
|
|
328
227
|
}, {
|
|
329
228
|
readonly inputs: readonly [{
|
|
@@ -355,7 +254,7 @@ export declare const ERC1155Rarible_jsonAbi: readonly [{
|
|
|
355
254
|
readonly name: "lazyTransferProxy";
|
|
356
255
|
readonly type: "address";
|
|
357
256
|
}];
|
|
358
|
-
readonly name: "
|
|
257
|
+
readonly name: "__ERC721RaribleUser_init";
|
|
359
258
|
readonly outputs: readonly [];
|
|
360
259
|
readonly stateMutability: "nonpayable";
|
|
361
260
|
readonly type: "function";
|
|
@@ -385,7 +284,7 @@ export declare const ERC1155Rarible_jsonAbi: readonly [{
|
|
|
385
284
|
readonly name: "lazyTransferProxy";
|
|
386
285
|
readonly type: "address";
|
|
387
286
|
}];
|
|
388
|
-
readonly name: "
|
|
287
|
+
readonly name: "__ERC721Rarible_init";
|
|
389
288
|
readonly outputs: readonly [];
|
|
390
289
|
readonly stateMutability: "nonpayable";
|
|
391
290
|
readonly type: "function";
|
|
@@ -412,36 +311,28 @@ export declare const ERC1155Rarible_jsonAbi: readonly [{
|
|
|
412
311
|
}, {
|
|
413
312
|
readonly inputs: readonly [{
|
|
414
313
|
readonly internalType: "address";
|
|
415
|
-
readonly name: "
|
|
314
|
+
readonly name: "to";
|
|
416
315
|
readonly type: "address";
|
|
417
316
|
}, {
|
|
418
317
|
readonly internalType: "uint256";
|
|
419
|
-
readonly name: "
|
|
420
|
-
readonly type: "uint256";
|
|
421
|
-
}];
|
|
422
|
-
readonly name: "balanceOf";
|
|
423
|
-
readonly outputs: readonly [{
|
|
424
|
-
readonly internalType: "uint256";
|
|
425
|
-
readonly name: "";
|
|
318
|
+
readonly name: "tokenId";
|
|
426
319
|
readonly type: "uint256";
|
|
427
320
|
}];
|
|
428
|
-
readonly
|
|
321
|
+
readonly name: "approve";
|
|
322
|
+
readonly outputs: readonly [];
|
|
323
|
+
readonly stateMutability: "nonpayable";
|
|
429
324
|
readonly type: "function";
|
|
430
325
|
}, {
|
|
431
326
|
readonly inputs: readonly [{
|
|
432
|
-
readonly internalType: "address
|
|
433
|
-
readonly name: "
|
|
434
|
-
readonly type: "address
|
|
435
|
-
}, {
|
|
436
|
-
readonly internalType: "uint256[]";
|
|
437
|
-
readonly name: "ids";
|
|
438
|
-
readonly type: "uint256[]";
|
|
327
|
+
readonly internalType: "address";
|
|
328
|
+
readonly name: "owner";
|
|
329
|
+
readonly type: "address";
|
|
439
330
|
}];
|
|
440
|
-
readonly name: "
|
|
331
|
+
readonly name: "balanceOf";
|
|
441
332
|
readonly outputs: readonly [{
|
|
442
|
-
readonly internalType: "uint256
|
|
333
|
+
readonly internalType: "uint256";
|
|
443
334
|
readonly name: "";
|
|
444
|
-
readonly type: "uint256
|
|
335
|
+
readonly type: "uint256";
|
|
445
336
|
}];
|
|
446
337
|
readonly stateMutability: "view";
|
|
447
338
|
readonly type: "function";
|
|
@@ -457,40 +348,14 @@ export declare const ERC1155Rarible_jsonAbi: readonly [{
|
|
|
457
348
|
readonly type: "function";
|
|
458
349
|
}, {
|
|
459
350
|
readonly inputs: readonly [{
|
|
460
|
-
readonly internalType: "address";
|
|
461
|
-
readonly name: "account";
|
|
462
|
-
readonly type: "address";
|
|
463
|
-
}, {
|
|
464
|
-
readonly internalType: "uint256";
|
|
465
|
-
readonly name: "id";
|
|
466
|
-
readonly type: "uint256";
|
|
467
|
-
}, {
|
|
468
351
|
readonly internalType: "uint256";
|
|
469
|
-
readonly name: "
|
|
352
|
+
readonly name: "tokenId";
|
|
470
353
|
readonly type: "uint256";
|
|
471
354
|
}];
|
|
472
355
|
readonly name: "burn";
|
|
473
356
|
readonly outputs: readonly [];
|
|
474
357
|
readonly stateMutability: "nonpayable";
|
|
475
358
|
readonly type: "function";
|
|
476
|
-
}, {
|
|
477
|
-
readonly inputs: readonly [{
|
|
478
|
-
readonly internalType: "address";
|
|
479
|
-
readonly name: "account";
|
|
480
|
-
readonly type: "address";
|
|
481
|
-
}, {
|
|
482
|
-
readonly internalType: "uint256[]";
|
|
483
|
-
readonly name: "ids";
|
|
484
|
-
readonly type: "uint256[]";
|
|
485
|
-
}, {
|
|
486
|
-
readonly internalType: "uint256[]";
|
|
487
|
-
readonly name: "amounts";
|
|
488
|
-
readonly type: "uint256[]";
|
|
489
|
-
}];
|
|
490
|
-
readonly name: "burnBatch";
|
|
491
|
-
readonly outputs: readonly [];
|
|
492
|
-
readonly stateMutability: "nonpayable";
|
|
493
|
-
readonly type: "function";
|
|
494
359
|
}, {
|
|
495
360
|
readonly inputs: readonly [];
|
|
496
361
|
readonly name: "contractURI";
|
|
@@ -501,6 +366,20 @@ export declare const ERC1155Rarible_jsonAbi: readonly [{
|
|
|
501
366
|
}];
|
|
502
367
|
readonly stateMutability: "view";
|
|
503
368
|
readonly type: "function";
|
|
369
|
+
}, {
|
|
370
|
+
readonly inputs: readonly [{
|
|
371
|
+
readonly internalType: "uint256";
|
|
372
|
+
readonly name: "tokenId";
|
|
373
|
+
readonly type: "uint256";
|
|
374
|
+
}];
|
|
375
|
+
readonly name: "getApproved";
|
|
376
|
+
readonly outputs: readonly [{
|
|
377
|
+
readonly internalType: "address";
|
|
378
|
+
readonly name: "";
|
|
379
|
+
readonly type: "address";
|
|
380
|
+
}];
|
|
381
|
+
readonly stateMutability: "view";
|
|
382
|
+
readonly type: "function";
|
|
504
383
|
}, {
|
|
505
384
|
readonly inputs: readonly [{
|
|
506
385
|
readonly internalType: "uint256";
|
|
@@ -550,11 +429,11 @@ export declare const ERC1155Rarible_jsonAbi: readonly [{
|
|
|
550
429
|
}, {
|
|
551
430
|
readonly inputs: readonly [{
|
|
552
431
|
readonly internalType: "address";
|
|
553
|
-
readonly name: "
|
|
432
|
+
readonly name: "owner";
|
|
554
433
|
readonly type: "address";
|
|
555
434
|
}, {
|
|
556
435
|
readonly internalType: "address";
|
|
557
|
-
readonly name: "
|
|
436
|
+
readonly name: "operator";
|
|
558
437
|
readonly type: "address";
|
|
559
438
|
}];
|
|
560
439
|
readonly name: "isApprovedForAll";
|
|
@@ -589,10 +468,6 @@ export declare const ERC1155Rarible_jsonAbi: readonly [{
|
|
|
589
468
|
readonly internalType: "string";
|
|
590
469
|
readonly name: "tokenURI";
|
|
591
470
|
readonly type: "string";
|
|
592
|
-
}, {
|
|
593
|
-
readonly internalType: "uint256";
|
|
594
|
-
readonly name: "supply";
|
|
595
|
-
readonly type: "uint256";
|
|
596
471
|
}, {
|
|
597
472
|
readonly components: readonly [{
|
|
598
473
|
readonly internalType: "address payable";
|
|
@@ -624,17 +499,13 @@ export declare const ERC1155Rarible_jsonAbi: readonly [{
|
|
|
624
499
|
readonly name: "signatures";
|
|
625
500
|
readonly type: "bytes[]";
|
|
626
501
|
}];
|
|
627
|
-
readonly internalType: "struct
|
|
502
|
+
readonly internalType: "struct LibERC721LazyMint.Mint721Data";
|
|
628
503
|
readonly name: "data";
|
|
629
504
|
readonly type: "tuple";
|
|
630
505
|
}, {
|
|
631
506
|
readonly internalType: "address";
|
|
632
507
|
readonly name: "to";
|
|
633
508
|
readonly type: "address";
|
|
634
|
-
}, {
|
|
635
|
-
readonly internalType: "uint256";
|
|
636
|
-
readonly name: "_amount";
|
|
637
|
-
readonly type: "uint256";
|
|
638
509
|
}];
|
|
639
510
|
readonly name: "mintAndTransfer";
|
|
640
511
|
readonly outputs: readonly [];
|
|
@@ -660,6 +531,20 @@ export declare const ERC1155Rarible_jsonAbi: readonly [{
|
|
|
660
531
|
}];
|
|
661
532
|
readonly stateMutability: "view";
|
|
662
533
|
readonly type: "function";
|
|
534
|
+
}, {
|
|
535
|
+
readonly inputs: readonly [{
|
|
536
|
+
readonly internalType: "uint256";
|
|
537
|
+
readonly name: "tokenId";
|
|
538
|
+
readonly type: "uint256";
|
|
539
|
+
}];
|
|
540
|
+
readonly name: "ownerOf";
|
|
541
|
+
readonly outputs: readonly [{
|
|
542
|
+
readonly internalType: "address";
|
|
543
|
+
readonly name: "";
|
|
544
|
+
readonly type: "address";
|
|
545
|
+
}];
|
|
546
|
+
readonly stateMutability: "view";
|
|
547
|
+
readonly type: "function";
|
|
663
548
|
}, {
|
|
664
549
|
readonly inputs: readonly [{
|
|
665
550
|
readonly internalType: "address";
|
|
@@ -708,19 +593,11 @@ export declare const ERC1155Rarible_jsonAbi: readonly [{
|
|
|
708
593
|
readonly name: "to";
|
|
709
594
|
readonly type: "address";
|
|
710
595
|
}, {
|
|
711
|
-
readonly internalType: "uint256
|
|
712
|
-
readonly name: "
|
|
713
|
-
readonly type: "uint256
|
|
714
|
-
}, {
|
|
715
|
-
readonly internalType: "uint256[]";
|
|
716
|
-
readonly name: "amounts";
|
|
717
|
-
readonly type: "uint256[]";
|
|
718
|
-
}, {
|
|
719
|
-
readonly internalType: "bytes";
|
|
720
|
-
readonly name: "data";
|
|
721
|
-
readonly type: "bytes";
|
|
596
|
+
readonly internalType: "uint256";
|
|
597
|
+
readonly name: "tokenId";
|
|
598
|
+
readonly type: "uint256";
|
|
722
599
|
}];
|
|
723
|
-
readonly name: "
|
|
600
|
+
readonly name: "safeTransferFrom";
|
|
724
601
|
readonly outputs: readonly [];
|
|
725
602
|
readonly stateMutability: "nonpayable";
|
|
726
603
|
readonly type: "function";
|
|
@@ -735,15 +612,11 @@ export declare const ERC1155Rarible_jsonAbi: readonly [{
|
|
|
735
612
|
readonly type: "address";
|
|
736
613
|
}, {
|
|
737
614
|
readonly internalType: "uint256";
|
|
738
|
-
readonly name: "
|
|
739
|
-
readonly type: "uint256";
|
|
740
|
-
}, {
|
|
741
|
-
readonly internalType: "uint256";
|
|
742
|
-
readonly name: "amount";
|
|
615
|
+
readonly name: "tokenId";
|
|
743
616
|
readonly type: "uint256";
|
|
744
617
|
}, {
|
|
745
618
|
readonly internalType: "bytes";
|
|
746
|
-
readonly name: "
|
|
619
|
+
readonly name: "_data";
|
|
747
620
|
readonly type: "bytes";
|
|
748
621
|
}];
|
|
749
622
|
readonly name: "safeTransferFrom";
|
|
@@ -798,6 +671,38 @@ export declare const ERC1155Rarible_jsonAbi: readonly [{
|
|
|
798
671
|
}];
|
|
799
672
|
readonly stateMutability: "view";
|
|
800
673
|
readonly type: "function";
|
|
674
|
+
}, {
|
|
675
|
+
readonly inputs: readonly [{
|
|
676
|
+
readonly internalType: "uint256";
|
|
677
|
+
readonly name: "tokenId";
|
|
678
|
+
readonly type: "uint256";
|
|
679
|
+
}];
|
|
680
|
+
readonly name: "tokenURI";
|
|
681
|
+
readonly outputs: readonly [{
|
|
682
|
+
readonly internalType: "string";
|
|
683
|
+
readonly name: "";
|
|
684
|
+
readonly type: "string";
|
|
685
|
+
}];
|
|
686
|
+
readonly stateMutability: "view";
|
|
687
|
+
readonly type: "function";
|
|
688
|
+
}, {
|
|
689
|
+
readonly inputs: readonly [{
|
|
690
|
+
readonly internalType: "address";
|
|
691
|
+
readonly name: "from";
|
|
692
|
+
readonly type: "address";
|
|
693
|
+
}, {
|
|
694
|
+
readonly internalType: "address";
|
|
695
|
+
readonly name: "to";
|
|
696
|
+
readonly type: "address";
|
|
697
|
+
}, {
|
|
698
|
+
readonly internalType: "uint256";
|
|
699
|
+
readonly name: "tokenId";
|
|
700
|
+
readonly type: "uint256";
|
|
701
|
+
}];
|
|
702
|
+
readonly name: "transferFrom";
|
|
703
|
+
readonly outputs: readonly [];
|
|
704
|
+
readonly stateMutability: "nonpayable";
|
|
705
|
+
readonly type: "function";
|
|
801
706
|
}, {
|
|
802
707
|
readonly inputs: readonly [{
|
|
803
708
|
readonly components: readonly [{
|
|
@@ -808,10 +713,6 @@ export declare const ERC1155Rarible_jsonAbi: readonly [{
|
|
|
808
713
|
readonly internalType: "string";
|
|
809
714
|
readonly name: "tokenURI";
|
|
810
715
|
readonly type: "string";
|
|
811
|
-
}, {
|
|
812
|
-
readonly internalType: "uint256";
|
|
813
|
-
readonly name: "supply";
|
|
814
|
-
readonly type: "uint256";
|
|
815
716
|
}, {
|
|
816
717
|
readonly components: readonly [{
|
|
817
718
|
readonly internalType: "address payable";
|
|
@@ -843,7 +744,7 @@ export declare const ERC1155Rarible_jsonAbi: readonly [{
|
|
|
843
744
|
readonly name: "signatures";
|
|
844
745
|
readonly type: "bytes[]";
|
|
845
746
|
}];
|
|
846
|
-
readonly internalType: "struct
|
|
747
|
+
readonly internalType: "struct LibERC721LazyMint.Mint721Data";
|
|
847
748
|
readonly name: "data";
|
|
848
749
|
readonly type: "tuple";
|
|
849
750
|
}, {
|
|
@@ -854,10 +755,6 @@ export declare const ERC1155Rarible_jsonAbi: readonly [{
|
|
|
854
755
|
readonly internalType: "address";
|
|
855
756
|
readonly name: "to";
|
|
856
757
|
readonly type: "address";
|
|
857
|
-
}, {
|
|
858
|
-
readonly internalType: "uint256";
|
|
859
|
-
readonly name: "amount";
|
|
860
|
-
readonly type: "uint256";
|
|
861
758
|
}];
|
|
862
759
|
readonly name: "transferFromOrMint";
|
|
863
760
|
readonly outputs: readonly [];
|
|
@@ -891,31 +788,17 @@ export declare const ERC1155Rarible_jsonAbi: readonly [{
|
|
|
891
788
|
readonly outputs: readonly [];
|
|
892
789
|
readonly stateMutability: "nonpayable";
|
|
893
790
|
readonly type: "function";
|
|
894
|
-
}, {
|
|
895
|
-
readonly inputs: readonly [{
|
|
896
|
-
readonly internalType: "uint256";
|
|
897
|
-
readonly name: "id";
|
|
898
|
-
readonly type: "uint256";
|
|
899
|
-
}];
|
|
900
|
-
readonly name: "uri";
|
|
901
|
-
readonly outputs: readonly [{
|
|
902
|
-
readonly internalType: "string";
|
|
903
|
-
readonly name: "";
|
|
904
|
-
readonly type: "string";
|
|
905
|
-
}];
|
|
906
|
-
readonly stateMutability: "view";
|
|
907
|
-
readonly type: "function";
|
|
908
791
|
}];
|
|
909
792
|
/**
|
|
910
|
-
* Type-safe ABI for
|
|
793
|
+
* Type-safe ABI for ERC721RaribleMinimal
|
|
911
794
|
*/
|
|
912
|
-
export type
|
|
795
|
+
export type ERC721RaribleMinimalAbi = typeof ERC721RaribleMinimalAbi;
|
|
913
796
|
/**
|
|
914
|
-
* Contract instance type for
|
|
797
|
+
* Contract instance type for ERC721RaribleMinimal
|
|
915
798
|
*/
|
|
916
|
-
export type
|
|
799
|
+
export type ERC721RaribleMinimalContract = any;
|
|
917
800
|
/**
|
|
918
|
-
*
|
|
801
|
+
* ERC721RaribleMinimal Contract Class
|
|
919
802
|
*
|
|
920
803
|
* Provides a class-based API similar to TypeChain for interacting with the contract.
|
|
921
804
|
*
|
|
@@ -923,12 +806,12 @@ export type ERC1155Rarible_jsonContract = any;
|
|
|
923
806
|
* ```typescript
|
|
924
807
|
* import { createPublicClient, createWalletClient, http } from 'viem';
|
|
925
808
|
* import { mainnet } from 'viem/chains';
|
|
926
|
-
* import {
|
|
809
|
+
* import { ERC721RaribleMinimal } from 'ERC721RaribleMinimal';
|
|
927
810
|
*
|
|
928
811
|
* const publicClient = createPublicClient({ chain: mainnet, transport: http() });
|
|
929
812
|
* const walletClient = createWalletClient({ chain: mainnet, transport: http() });
|
|
930
813
|
*
|
|
931
|
-
* const contract = new
|
|
814
|
+
* const contract = new ERC721RaribleMinimal('0x...', { publicClient, walletClient });
|
|
932
815
|
*
|
|
933
816
|
* // Read functions
|
|
934
817
|
* const result = await contract.balanceOf('0x...');
|
|
@@ -946,7 +829,7 @@ export type ERC1155Rarible_jsonContract = any;
|
|
|
946
829
|
* });
|
|
947
830
|
* ```
|
|
948
831
|
*/
|
|
949
|
-
export declare class
|
|
832
|
+
export declare class ERC721RaribleMinimal {
|
|
950
833
|
private contract;
|
|
951
834
|
private contractAddress;
|
|
952
835
|
private publicClient;
|
|
@@ -959,19 +842,14 @@ export declare class ERC1155Rarible_json {
|
|
|
959
842
|
*/
|
|
960
843
|
get address(): Address;
|
|
961
844
|
/**
|
|
962
|
-
* Get the underlying viem contract instance
|
|
845
|
+
* Get the underlying viem contract instance.
|
|
963
846
|
*/
|
|
964
|
-
getContract():
|
|
847
|
+
getContract(): ERC721RaribleMinimalContract;
|
|
965
848
|
/**
|
|
966
849
|
* balanceOf
|
|
967
850
|
* view
|
|
968
851
|
*/
|
|
969
|
-
balanceOf(
|
|
970
|
-
/**
|
|
971
|
-
* balanceOfBatch
|
|
972
|
-
* view
|
|
973
|
-
*/
|
|
974
|
-
balanceOfBatch(accounts: `0x${string}`[], ids: bigint[]): Promise<bigint[]>;
|
|
852
|
+
balanceOf(owner: `0x${string}`): Promise<bigint>;
|
|
975
853
|
/**
|
|
976
854
|
* baseURI
|
|
977
855
|
* view
|
|
@@ -982,6 +860,11 @@ export declare class ERC1155Rarible_json {
|
|
|
982
860
|
* view
|
|
983
861
|
*/
|
|
984
862
|
contractURI(): Promise<string>;
|
|
863
|
+
/**
|
|
864
|
+
* getApproved
|
|
865
|
+
* view
|
|
866
|
+
*/
|
|
867
|
+
getApproved(tokenId: bigint): Promise<`0x${string}`>;
|
|
985
868
|
/**
|
|
986
869
|
* getCreators
|
|
987
870
|
* view
|
|
@@ -996,7 +879,7 @@ export declare class ERC1155Rarible_json {
|
|
|
996
879
|
* isApprovedForAll
|
|
997
880
|
* view
|
|
998
881
|
*/
|
|
999
|
-
isApprovedForAll(
|
|
882
|
+
isApprovedForAll(owner: `0x${string}`, operator: `0x${string}`): Promise<boolean>;
|
|
1000
883
|
/**
|
|
1001
884
|
* isMinter
|
|
1002
885
|
* view
|
|
@@ -1012,6 +895,11 @@ export declare class ERC1155Rarible_json {
|
|
|
1012
895
|
* view
|
|
1013
896
|
*/
|
|
1014
897
|
owner(): Promise<`0x${string}`>;
|
|
898
|
+
/**
|
|
899
|
+
* ownerOf
|
|
900
|
+
* view
|
|
901
|
+
*/
|
|
902
|
+
ownerOf(tokenId: bigint): Promise<`0x${string}`>;
|
|
1015
903
|
/**
|
|
1016
904
|
* royaltyInfo
|
|
1017
905
|
* view
|
|
@@ -1028,16 +916,16 @@ export declare class ERC1155Rarible_json {
|
|
|
1028
916
|
*/
|
|
1029
917
|
symbol(): Promise<string>;
|
|
1030
918
|
/**
|
|
1031
|
-
*
|
|
919
|
+
* tokenURI
|
|
1032
920
|
* view
|
|
1033
921
|
*/
|
|
1034
|
-
|
|
922
|
+
tokenURI(tokenId: bigint): Promise<string>;
|
|
1035
923
|
/**
|
|
1036
|
-
*
|
|
924
|
+
* __ERC721RaribleUser_init
|
|
1037
925
|
* nonpayable
|
|
1038
926
|
* @param options Optional transaction parameters (value, gas, nonce, etc.)
|
|
1039
927
|
*/
|
|
1040
|
-
|
|
928
|
+
__ERC721RaribleUser_init(_name: string, _symbol: string, baseURI: string, contractURI: string, operators: `0x${string}`[], transferProxy: `0x${string}`, lazyTransferProxy: `0x${string}`, options?: {
|
|
1041
929
|
accessList?: import('viem').AccessList;
|
|
1042
930
|
authorizationList?: import('viem').AuthorizationList;
|
|
1043
931
|
chain?: import('viem').Chain | null;
|
|
@@ -1050,11 +938,11 @@ export declare class ERC1155Rarible_json {
|
|
|
1050
938
|
value?: bigint;
|
|
1051
939
|
}): Promise<`0x${string}`>;
|
|
1052
940
|
/**
|
|
1053
|
-
*
|
|
941
|
+
* __ERC721Rarible_init
|
|
1054
942
|
* nonpayable
|
|
1055
943
|
* @param options Optional transaction parameters (value, gas, nonce, etc.)
|
|
1056
944
|
*/
|
|
1057
|
-
|
|
945
|
+
__ERC721Rarible_init(_name: string, _symbol: string, baseURI: string, contractURI: string, transferProxy: `0x${string}`, lazyTransferProxy: `0x${string}`, options?: {
|
|
1058
946
|
accessList?: import('viem').AccessList;
|
|
1059
947
|
authorizationList?: import('viem').AuthorizationList;
|
|
1060
948
|
chain?: import('viem').Chain | null;
|
|
@@ -1101,11 +989,11 @@ export declare class ERC1155Rarible_json {
|
|
|
1101
989
|
value?: bigint;
|
|
1102
990
|
}): Promise<`0x${string}`>;
|
|
1103
991
|
/**
|
|
1104
|
-
*
|
|
992
|
+
* approve
|
|
1105
993
|
* nonpayable
|
|
1106
994
|
* @param options Optional transaction parameters (value, gas, nonce, etc.)
|
|
1107
995
|
*/
|
|
1108
|
-
|
|
996
|
+
approve(to: `0x${string}`, tokenId: bigint, options?: {
|
|
1109
997
|
accessList?: import('viem').AccessList;
|
|
1110
998
|
authorizationList?: import('viem').AuthorizationList;
|
|
1111
999
|
chain?: import('viem').Chain | null;
|
|
@@ -1118,11 +1006,11 @@ export declare class ERC1155Rarible_json {
|
|
|
1118
1006
|
value?: bigint;
|
|
1119
1007
|
}): Promise<`0x${string}`>;
|
|
1120
1008
|
/**
|
|
1121
|
-
*
|
|
1009
|
+
* burn
|
|
1122
1010
|
* nonpayable
|
|
1123
1011
|
* @param options Optional transaction parameters (value, gas, nonce, etc.)
|
|
1124
1012
|
*/
|
|
1125
|
-
|
|
1013
|
+
burn(tokenId: bigint, options?: {
|
|
1126
1014
|
accessList?: import('viem').AccessList;
|
|
1127
1015
|
authorizationList?: import('viem').AuthorizationList;
|
|
1128
1016
|
chain?: import('viem').Chain | null;
|
|
@@ -1139,7 +1027,7 @@ export declare class ERC1155Rarible_json {
|
|
|
1139
1027
|
* nonpayable
|
|
1140
1028
|
* @param options Optional transaction parameters (value, gas, nonce, etc.)
|
|
1141
1029
|
*/
|
|
1142
|
-
mintAndTransfer(data:
|
|
1030
|
+
mintAndTransfer(data: LibERC721LazyMint_Mint721Data, to: `0x${string}`, options?: {
|
|
1143
1031
|
accessList?: import('viem').AccessList;
|
|
1144
1032
|
authorizationList?: import('viem').AuthorizationList;
|
|
1145
1033
|
chain?: import('viem').Chain | null;
|
|
@@ -1185,12 +1073,7 @@ export declare class ERC1155Rarible_json {
|
|
|
1185
1073
|
nonce?: number;
|
|
1186
1074
|
value?: bigint;
|
|
1187
1075
|
}): Promise<`0x${string}`>;
|
|
1188
|
-
|
|
1189
|
-
* safeBatchTransferFrom
|
|
1190
|
-
* nonpayable
|
|
1191
|
-
* @param options Optional transaction parameters (value, gas, nonce, etc.)
|
|
1192
|
-
*/
|
|
1193
|
-
safeBatchTransferFrom(from: `0x${string}`, to: `0x${string}`, ids: bigint[], amounts: bigint[], data: `0x${string}`, options?: {
|
|
1076
|
+
safeTransferFrom(from: `0x${string}`, to: `0x${string}`, tokenId: bigint, options?: {
|
|
1194
1077
|
accessList?: import('viem').AccessList;
|
|
1195
1078
|
authorizationList?: import('viem').AuthorizationList;
|
|
1196
1079
|
chain?: import('viem').Chain | null;
|
|
@@ -1202,12 +1085,7 @@ export declare class ERC1155Rarible_json {
|
|
|
1202
1085
|
nonce?: number;
|
|
1203
1086
|
value?: bigint;
|
|
1204
1087
|
}): Promise<`0x${string}`>;
|
|
1205
|
-
|
|
1206
|
-
* safeTransferFrom
|
|
1207
|
-
* nonpayable
|
|
1208
|
-
* @param options Optional transaction parameters (value, gas, nonce, etc.)
|
|
1209
|
-
*/
|
|
1210
|
-
safeTransferFrom(from: `0x${string}`, to: `0x${string}`, id: bigint, amount: bigint, data: `0x${string}`, options?: {
|
|
1088
|
+
safeTransferFrom(from: `0x${string}`, to: `0x${string}`, tokenId: bigint, _data: `0x${string}`, options?: {
|
|
1211
1089
|
accessList?: import('viem').AccessList;
|
|
1212
1090
|
authorizationList?: import('viem').AuthorizationList;
|
|
1213
1091
|
chain?: import('viem').Chain | null;
|
|
@@ -1253,12 +1131,29 @@ export declare class ERC1155Rarible_json {
|
|
|
1253
1131
|
nonce?: number;
|
|
1254
1132
|
value?: bigint;
|
|
1255
1133
|
}): Promise<`0x${string}`>;
|
|
1134
|
+
/**
|
|
1135
|
+
* transferFrom
|
|
1136
|
+
* nonpayable
|
|
1137
|
+
* @param options Optional transaction parameters (value, gas, nonce, etc.)
|
|
1138
|
+
*/
|
|
1139
|
+
transferFrom(from: `0x${string}`, to: `0x${string}`, tokenId: bigint, options?: {
|
|
1140
|
+
accessList?: import('viem').AccessList;
|
|
1141
|
+
authorizationList?: import('viem').AuthorizationList;
|
|
1142
|
+
chain?: import('viem').Chain | null;
|
|
1143
|
+
dataSuffix?: `0x${string}`;
|
|
1144
|
+
gas?: bigint;
|
|
1145
|
+
gasPrice?: bigint;
|
|
1146
|
+
maxFeePerGas?: bigint;
|
|
1147
|
+
maxPriorityFeePerGas?: bigint;
|
|
1148
|
+
nonce?: number;
|
|
1149
|
+
value?: bigint;
|
|
1150
|
+
}): Promise<`0x${string}`>;
|
|
1256
1151
|
/**
|
|
1257
1152
|
* transferFromOrMint
|
|
1258
1153
|
* nonpayable
|
|
1259
1154
|
* @param options Optional transaction parameters (value, gas, nonce, etc.)
|
|
1260
1155
|
*/
|
|
1261
|
-
transferFromOrMint(data:
|
|
1156
|
+
transferFromOrMint(data: LibERC721LazyMint_Mint721Data, from: `0x${string}`, to: `0x${string}`, options?: {
|
|
1262
1157
|
accessList?: import('viem').AccessList;
|
|
1263
1158
|
authorizationList?: import('viem').AuthorizationList;
|
|
1264
1159
|
chain?: import('viem').Chain | null;
|
|
@@ -1314,11 +1209,11 @@ export declare class ERC1155Rarible_json {
|
|
|
1314
1209
|
*/
|
|
1315
1210
|
get simulate(): {
|
|
1316
1211
|
/**
|
|
1317
|
-
* Simulate
|
|
1212
|
+
* Simulate __ERC721RaribleUser_init
|
|
1318
1213
|
* Returns gas estimate and result without sending transaction
|
|
1319
1214
|
* @param options Optional transaction parameters (value, gas, nonce, etc.)
|
|
1320
1215
|
*/
|
|
1321
|
-
|
|
1216
|
+
__ERC721RaribleUser_init(_name: string, _symbol: string, baseURI: string, contractURI: string, operators: `0x${string}`[], transferProxy: `0x${string}`, lazyTransferProxy: `0x${string}`, options?: {
|
|
1322
1217
|
accessList?: import("viem").AccessList;
|
|
1323
1218
|
authorizationList?: import("viem").AuthorizationList;
|
|
1324
1219
|
chain?: import("viem").Chain | null;
|
|
@@ -1331,11 +1226,11 @@ export declare class ERC1155Rarible_json {
|
|
|
1331
1226
|
value?: bigint;
|
|
1332
1227
|
}): Promise<void>;
|
|
1333
1228
|
/**
|
|
1334
|
-
* Simulate
|
|
1229
|
+
* Simulate __ERC721Rarible_init
|
|
1335
1230
|
* Returns gas estimate and result without sending transaction
|
|
1336
1231
|
* @param options Optional transaction parameters (value, gas, nonce, etc.)
|
|
1337
1232
|
*/
|
|
1338
|
-
|
|
1233
|
+
__ERC721Rarible_init(_name: string, _symbol: string, baseURI: string, contractURI: string, transferProxy: `0x${string}`, lazyTransferProxy: `0x${string}`, options?: {
|
|
1339
1234
|
accessList?: import("viem").AccessList;
|
|
1340
1235
|
authorizationList?: import("viem").AuthorizationList;
|
|
1341
1236
|
chain?: import("viem").Chain | null;
|
|
@@ -1382,11 +1277,11 @@ export declare class ERC1155Rarible_json {
|
|
|
1382
1277
|
value?: bigint;
|
|
1383
1278
|
}): Promise<void>;
|
|
1384
1279
|
/**
|
|
1385
|
-
* Simulate
|
|
1280
|
+
* Simulate approve
|
|
1386
1281
|
* Returns gas estimate and result without sending transaction
|
|
1387
1282
|
* @param options Optional transaction parameters (value, gas, nonce, etc.)
|
|
1388
1283
|
*/
|
|
1389
|
-
|
|
1284
|
+
approve(to: `0x${string}`, tokenId: bigint, options?: {
|
|
1390
1285
|
accessList?: import("viem").AccessList;
|
|
1391
1286
|
authorizationList?: import("viem").AuthorizationList;
|
|
1392
1287
|
chain?: import("viem").Chain | null;
|
|
@@ -1399,11 +1294,11 @@ export declare class ERC1155Rarible_json {
|
|
|
1399
1294
|
value?: bigint;
|
|
1400
1295
|
}): Promise<void>;
|
|
1401
1296
|
/**
|
|
1402
|
-
* Simulate
|
|
1297
|
+
* Simulate burn
|
|
1403
1298
|
* Returns gas estimate and result without sending transaction
|
|
1404
1299
|
* @param options Optional transaction parameters (value, gas, nonce, etc.)
|
|
1405
1300
|
*/
|
|
1406
|
-
|
|
1301
|
+
burn(tokenId: bigint, options?: {
|
|
1407
1302
|
accessList?: import("viem").AccessList;
|
|
1408
1303
|
authorizationList?: import("viem").AuthorizationList;
|
|
1409
1304
|
chain?: import("viem").Chain | null;
|
|
@@ -1420,7 +1315,7 @@ export declare class ERC1155Rarible_json {
|
|
|
1420
1315
|
* Returns gas estimate and result without sending transaction
|
|
1421
1316
|
* @param options Optional transaction parameters (value, gas, nonce, etc.)
|
|
1422
1317
|
*/
|
|
1423
|
-
mintAndTransfer(data:
|
|
1318
|
+
mintAndTransfer(data: LibERC721LazyMint_Mint721Data, to: `0x${string}`, options?: {
|
|
1424
1319
|
accessList?: import("viem").AccessList;
|
|
1425
1320
|
authorizationList?: import("viem").AuthorizationList;
|
|
1426
1321
|
chain?: import("viem").Chain | null;
|
|
@@ -1467,28 +1362,18 @@ export declare class ERC1155Rarible_json {
|
|
|
1467
1362
|
value?: bigint;
|
|
1468
1363
|
}): Promise<void>;
|
|
1469
1364
|
/**
|
|
1470
|
-
* Simulate
|
|
1365
|
+
* Simulate safeTransferFrom
|
|
1471
1366
|
* Returns gas estimate and result without sending transaction
|
|
1367
|
+
* Supports multiple overloads: (address, address, uint256), (address, address, uint256, bytes)
|
|
1472
1368
|
* @param options Optional transaction parameters (value, gas, nonce, etc.)
|
|
1473
1369
|
*/
|
|
1474
|
-
|
|
1475
|
-
accessList?: import("viem").AccessList;
|
|
1476
|
-
authorizationList?: import("viem").AuthorizationList;
|
|
1477
|
-
chain?: import("viem").Chain | null;
|
|
1478
|
-
dataSuffix?: `0x${string}`;
|
|
1479
|
-
gas?: bigint;
|
|
1480
|
-
gasPrice?: bigint;
|
|
1481
|
-
maxFeePerGas?: bigint;
|
|
1482
|
-
maxPriorityFeePerGas?: bigint;
|
|
1483
|
-
nonce?: number;
|
|
1484
|
-
value?: bigint;
|
|
1485
|
-
}): Promise<void>;
|
|
1370
|
+
safeTransferFrom(...args: any[]): Promise<any>;
|
|
1486
1371
|
/**
|
|
1487
|
-
* Simulate
|
|
1372
|
+
* Simulate setApprovalForAll
|
|
1488
1373
|
* Returns gas estimate and result without sending transaction
|
|
1489
1374
|
* @param options Optional transaction parameters (value, gas, nonce, etc.)
|
|
1490
1375
|
*/
|
|
1491
|
-
|
|
1376
|
+
setApprovalForAll(operator: `0x${string}`, approved: boolean, options?: {
|
|
1492
1377
|
accessList?: import("viem").AccessList;
|
|
1493
1378
|
authorizationList?: import("viem").AuthorizationList;
|
|
1494
1379
|
chain?: import("viem").Chain | null;
|
|
@@ -1501,11 +1386,11 @@ export declare class ERC1155Rarible_json {
|
|
|
1501
1386
|
value?: bigint;
|
|
1502
1387
|
}): Promise<void>;
|
|
1503
1388
|
/**
|
|
1504
|
-
* Simulate
|
|
1389
|
+
* Simulate setBaseURI
|
|
1505
1390
|
* Returns gas estimate and result without sending transaction
|
|
1506
1391
|
* @param options Optional transaction parameters (value, gas, nonce, etc.)
|
|
1507
1392
|
*/
|
|
1508
|
-
|
|
1393
|
+
setBaseURI(newBaseURI: string, options?: {
|
|
1509
1394
|
accessList?: import("viem").AccessList;
|
|
1510
1395
|
authorizationList?: import("viem").AuthorizationList;
|
|
1511
1396
|
chain?: import("viem").Chain | null;
|
|
@@ -1518,11 +1403,11 @@ export declare class ERC1155Rarible_json {
|
|
|
1518
1403
|
value?: bigint;
|
|
1519
1404
|
}): Promise<void>;
|
|
1520
1405
|
/**
|
|
1521
|
-
* Simulate
|
|
1406
|
+
* Simulate transferFrom
|
|
1522
1407
|
* Returns gas estimate and result without sending transaction
|
|
1523
1408
|
* @param options Optional transaction parameters (value, gas, nonce, etc.)
|
|
1524
1409
|
*/
|
|
1525
|
-
|
|
1410
|
+
transferFrom(from: `0x${string}`, to: `0x${string}`, tokenId: bigint, options?: {
|
|
1526
1411
|
accessList?: import("viem").AccessList;
|
|
1527
1412
|
authorizationList?: import("viem").AuthorizationList;
|
|
1528
1413
|
chain?: import("viem").Chain | null;
|
|
@@ -1539,7 +1424,7 @@ export declare class ERC1155Rarible_json {
|
|
|
1539
1424
|
* Returns gas estimate and result without sending transaction
|
|
1540
1425
|
* @param options Optional transaction parameters (value, gas, nonce, etc.)
|
|
1541
1426
|
*/
|
|
1542
|
-
transferFromOrMint(data:
|
|
1427
|
+
transferFromOrMint(data: LibERC721LazyMint_Mint721Data, from: `0x${string}`, to: `0x${string}`, options?: {
|
|
1543
1428
|
accessList?: import("viem").AccessList;
|
|
1544
1429
|
authorizationList?: import("viem").AuthorizationList;
|
|
1545
1430
|
chain?: import("viem").Chain | null;
|
|
@@ -1600,76 +1485,61 @@ export declare class ERC1155Rarible_json {
|
|
|
1600
1485
|
*/
|
|
1601
1486
|
get watch(): {
|
|
1602
1487
|
/**
|
|
1603
|
-
* Watch
|
|
1488
|
+
* Watch Approval events
|
|
1604
1489
|
* @param callback Function to call when event is emitted
|
|
1605
1490
|
* @param filter Optional filter for indexed parameters
|
|
1606
1491
|
* @returns Unwatch function to stop listening
|
|
1607
1492
|
*/
|
|
1608
|
-
|
|
1609
|
-
|
|
1610
|
-
|
|
1611
|
-
|
|
1493
|
+
Approval: (callback: (event: {
|
|
1494
|
+
owner: `0x${string}`;
|
|
1495
|
+
approved: `0x${string}`;
|
|
1496
|
+
tokenId: bigint;
|
|
1612
1497
|
}) => void, filter?: {
|
|
1613
|
-
|
|
1614
|
-
|
|
1498
|
+
owner?: `0x${string}` | `0x${string}`[] | null;
|
|
1499
|
+
approved?: `0x${string}` | `0x${string}`[] | null;
|
|
1500
|
+
tokenId?: bigint | bigint[] | null;
|
|
1615
1501
|
}) => () => void;
|
|
1616
1502
|
/**
|
|
1617
|
-
* Watch
|
|
1618
|
-
* @param callback Function to call when event is emitted
|
|
1619
|
-
* @param filter Optional filter for indexed parameters
|
|
1620
|
-
* @returns Unwatch function to stop listening
|
|
1621
|
-
*/
|
|
1622
|
-
BaseUriChanged: (callback: (event: {
|
|
1623
|
-
newBaseURI: string;
|
|
1624
|
-
}) => void) => () => void;
|
|
1625
|
-
/**
|
|
1626
|
-
* Watch BurnLazy events
|
|
1503
|
+
* Watch ApprovalForAll events
|
|
1627
1504
|
* @param callback Function to call when event is emitted
|
|
1628
1505
|
* @param filter Optional filter for indexed parameters
|
|
1629
1506
|
* @returns Unwatch function to stop listening
|
|
1630
1507
|
*/
|
|
1631
|
-
|
|
1508
|
+
ApprovalForAll: (callback: (event: {
|
|
1509
|
+
owner: `0x${string}`;
|
|
1632
1510
|
operator: `0x${string}`;
|
|
1633
|
-
|
|
1634
|
-
id: bigint;
|
|
1635
|
-
amount: bigint;
|
|
1511
|
+
approved: boolean;
|
|
1636
1512
|
}) => void, filter?: {
|
|
1637
|
-
|
|
1638
|
-
|
|
1513
|
+
owner?: `0x${string}` | `0x${string}`[] | null;
|
|
1514
|
+
operator?: `0x${string}` | `0x${string}`[] | null;
|
|
1639
1515
|
}) => () => void;
|
|
1640
1516
|
/**
|
|
1641
|
-
* Watch
|
|
1517
|
+
* Watch BaseUriChanged events
|
|
1642
1518
|
* @param callback Function to call when event is emitted
|
|
1643
1519
|
* @param filter Optional filter for indexed parameters
|
|
1644
1520
|
* @returns Unwatch function to stop listening
|
|
1645
1521
|
*/
|
|
1646
|
-
|
|
1647
|
-
|
|
1648
|
-
|
|
1649
|
-
ids: bigint[];
|
|
1650
|
-
amounts: bigint[];
|
|
1651
|
-
}) => void, filter?: {
|
|
1652
|
-
operator: `0x${string}`;
|
|
1653
|
-
account: `0x${string}`;
|
|
1654
|
-
}) => () => void;
|
|
1522
|
+
BaseUriChanged: (callback: (event: {
|
|
1523
|
+
newBaseURI: string;
|
|
1524
|
+
}) => void) => () => void;
|
|
1655
1525
|
/**
|
|
1656
|
-
* Watch
|
|
1526
|
+
* Watch CreateERC721Rarible events
|
|
1657
1527
|
* @param callback Function to call when event is emitted
|
|
1658
1528
|
* @param filter Optional filter for indexed parameters
|
|
1659
1529
|
* @returns Unwatch function to stop listening
|
|
1660
1530
|
*/
|
|
1661
|
-
|
|
1531
|
+
CreateERC721Rarible: (callback: (event: {
|
|
1662
1532
|
owner: `0x${string}`;
|
|
1663
1533
|
name: string;
|
|
1664
1534
|
symbol: string;
|
|
1665
1535
|
}) => void) => () => void;
|
|
1666
1536
|
/**
|
|
1667
|
-
* Watch
|
|
1537
|
+
* Watch CreateERC721RaribleUser events
|
|
1668
1538
|
* @param callback Function to call when event is emitted
|
|
1669
1539
|
* @param filter Optional filter for indexed parameters
|
|
1670
1540
|
* @returns Unwatch function to stop listening
|
|
1671
1541
|
*/
|
|
1672
|
-
|
|
1542
|
+
CreateERC721RaribleUser: (callback: (event: {
|
|
1673
1543
|
owner: `0x${string}`;
|
|
1674
1544
|
name: string;
|
|
1675
1545
|
symbol: string;
|
|
@@ -1694,7 +1564,7 @@ export declare class ERC1155Rarible_json {
|
|
|
1694
1564
|
operator: `0x${string}`;
|
|
1695
1565
|
hasApproval: boolean;
|
|
1696
1566
|
}) => void, filter?: {
|
|
1697
|
-
operator
|
|
1567
|
+
operator?: `0x${string}` | `0x${string}`[] | null;
|
|
1698
1568
|
}) => () => void;
|
|
1699
1569
|
/**
|
|
1700
1570
|
* Watch MinterStatusChanged events
|
|
@@ -1706,8 +1576,8 @@ export declare class ERC1155Rarible_json {
|
|
|
1706
1576
|
minter: `0x${string}`;
|
|
1707
1577
|
status: boolean;
|
|
1708
1578
|
}) => void, filter?: {
|
|
1709
|
-
minter
|
|
1710
|
-
status
|
|
1579
|
+
minter?: `0x${string}` | `0x${string}`[] | null;
|
|
1580
|
+
status?: boolean | boolean[] | null;
|
|
1711
1581
|
}) => () => void;
|
|
1712
1582
|
/**
|
|
1713
1583
|
* Watch OwnershipTransferred events
|
|
@@ -1719,8 +1589,8 @@ export declare class ERC1155Rarible_json {
|
|
|
1719
1589
|
previousOwner: `0x${string}`;
|
|
1720
1590
|
newOwner: `0x${string}`;
|
|
1721
1591
|
}) => void, filter?: {
|
|
1722
|
-
previousOwner
|
|
1723
|
-
newOwner
|
|
1592
|
+
previousOwner?: `0x${string}` | `0x${string}`[] | null;
|
|
1593
|
+
newOwner?: `0x${string}` | `0x${string}`[] | null;
|
|
1724
1594
|
}) => () => void;
|
|
1725
1595
|
/**
|
|
1726
1596
|
* Watch RoyaltiesSet events
|
|
@@ -1733,60 +1603,19 @@ export declare class ERC1155Rarible_json {
|
|
|
1733
1603
|
royalties: LibPart_Part[];
|
|
1734
1604
|
}) => void) => () => void;
|
|
1735
1605
|
/**
|
|
1736
|
-
* Watch
|
|
1737
|
-
* @param callback Function to call when event is emitted
|
|
1738
|
-
* @param filter Optional filter for indexed parameters
|
|
1739
|
-
* @returns Unwatch function to stop listening
|
|
1740
|
-
*/
|
|
1741
|
-
Supply: (callback: (event: {
|
|
1742
|
-
tokenId: bigint;
|
|
1743
|
-
value: bigint;
|
|
1744
|
-
}) => void) => () => void;
|
|
1745
|
-
/**
|
|
1746
|
-
* Watch TransferBatch events
|
|
1606
|
+
* Watch Transfer events
|
|
1747
1607
|
* @param callback Function to call when event is emitted
|
|
1748
1608
|
* @param filter Optional filter for indexed parameters
|
|
1749
1609
|
* @returns Unwatch function to stop listening
|
|
1750
1610
|
*/
|
|
1751
|
-
|
|
1752
|
-
operator: `0x${string}`;
|
|
1611
|
+
Transfer: (callback: (event: {
|
|
1753
1612
|
from: `0x${string}`;
|
|
1754
1613
|
to: `0x${string}`;
|
|
1755
|
-
|
|
1756
|
-
values: bigint[];
|
|
1757
|
-
}) => void, filter?: {
|
|
1758
|
-
operator: `0x${string}`;
|
|
1759
|
-
from: `0x${string}`;
|
|
1760
|
-
to: `0x${string}`;
|
|
1761
|
-
}) => () => void;
|
|
1762
|
-
/**
|
|
1763
|
-
* Watch TransferSingle events
|
|
1764
|
-
* @param callback Function to call when event is emitted
|
|
1765
|
-
* @param filter Optional filter for indexed parameters
|
|
1766
|
-
* @returns Unwatch function to stop listening
|
|
1767
|
-
*/
|
|
1768
|
-
TransferSingle: (callback: (event: {
|
|
1769
|
-
operator: `0x${string}`;
|
|
1770
|
-
from: `0x${string}`;
|
|
1771
|
-
to: `0x${string}`;
|
|
1772
|
-
id: bigint;
|
|
1773
|
-
value: bigint;
|
|
1774
|
-
}) => void, filter?: {
|
|
1775
|
-
operator: `0x${string}`;
|
|
1776
|
-
from: `0x${string}`;
|
|
1777
|
-
to: `0x${string}`;
|
|
1778
|
-
}) => () => void;
|
|
1779
|
-
/**
|
|
1780
|
-
* Watch URI events
|
|
1781
|
-
* @param callback Function to call when event is emitted
|
|
1782
|
-
* @param filter Optional filter for indexed parameters
|
|
1783
|
-
* @returns Unwatch function to stop listening
|
|
1784
|
-
*/
|
|
1785
|
-
URI: (callback: (event: {
|
|
1786
|
-
id: bigint;
|
|
1787
|
-
value: string;
|
|
1614
|
+
tokenId: bigint;
|
|
1788
1615
|
}) => void, filter?: {
|
|
1789
|
-
|
|
1616
|
+
from?: `0x${string}` | `0x${string}`[] | null;
|
|
1617
|
+
to?: `0x${string}` | `0x${string}`[] | null;
|
|
1618
|
+
tokenId?: bigint | bigint[] | null;
|
|
1790
1619
|
}) => () => void;
|
|
1791
1620
|
};
|
|
1792
1621
|
}
|