@gitmyabi/rari 1.0.1 → 1.0.2

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.
@@ -1,75 +1,146 @@
1
1
  import type { Address, PublicClient, WalletClient } from 'viem';
2
2
  /**
3
- * ERC1155Base.Fee struct type
3
+ * LibPart.Part struct type
4
4
  */
5
- export type ERC1155Base_Fee = {
6
- recipient: `0x${string}`;
5
+ export type LibPart_Part = {
6
+ account: `0x${string}`;
7
7
  value: bigint;
8
8
  };
9
9
  /**
10
- * RaribleToken_json ABI
10
+ * LibERC1155LazyMint.Mint1155Data struct type
11
+ */
12
+ export type LibERC1155LazyMint_Mint1155Data = {
13
+ tokenId: bigint;
14
+ tokenURI: string;
15
+ supply: bigint;
16
+ creators: LibPart_Part[];
17
+ royalties: LibPart_Part[];
18
+ signatures: `0x${string}`[];
19
+ };
20
+ /**
21
+ * ERC1155Rarible_json ABI
11
22
  *
12
23
  * This ABI is typed using viem's type system for full type safety.
13
24
  */
14
- export declare const RaribleToken_jsonAbi: readonly [{
25
+ export declare const ERC1155Rarible_jsonAbi: readonly [{
26
+ readonly anonymous: false;
15
27
  readonly inputs: readonly [{
16
- readonly internalType: "string";
17
- readonly name: "_name";
18
- readonly type: "string";
19
- }, {
20
- readonly internalType: "string";
21
- readonly name: "_symbol";
22
- readonly type: "string";
23
- }, {
28
+ readonly indexed: true;
24
29
  readonly internalType: "address";
25
- readonly name: "signer";
30
+ readonly name: "account";
26
31
  readonly type: "address";
27
32
  }, {
28
- readonly internalType: "string";
29
- readonly name: "contractURI";
30
- readonly type: "string";
33
+ readonly indexed: true;
34
+ readonly internalType: "address";
35
+ readonly name: "operator";
36
+ readonly type: "address";
31
37
  }, {
38
+ readonly indexed: false;
39
+ readonly internalType: "bool";
40
+ readonly name: "approved";
41
+ readonly type: "bool";
42
+ }];
43
+ readonly name: "ApprovalForAll";
44
+ readonly type: "event";
45
+ }, {
46
+ readonly anonymous: false;
47
+ readonly inputs: readonly [{
48
+ readonly indexed: false;
32
49
  readonly internalType: "string";
33
- readonly name: "tokenURIPrefix";
50
+ readonly name: "newBaseURI";
34
51
  readonly type: "string";
35
52
  }];
36
- readonly payable: false;
37
- readonly stateMutability: "nonpayable";
38
- readonly type: "constructor";
53
+ readonly name: "BaseUriChanged";
54
+ readonly type: "event";
39
55
  }, {
40
56
  readonly anonymous: false;
41
57
  readonly inputs: readonly [{
42
58
  readonly indexed: true;
43
59
  readonly internalType: "address";
44
- readonly name: "_owner";
60
+ readonly name: "operator";
45
61
  readonly type: "address";
46
62
  }, {
47
63
  readonly indexed: true;
48
64
  readonly internalType: "address";
49
- readonly name: "_operator";
65
+ readonly name: "account";
50
66
  readonly type: "address";
51
67
  }, {
52
68
  readonly indexed: false;
53
- readonly internalType: "bool";
54
- readonly name: "_approved";
55
- readonly type: "bool";
69
+ readonly internalType: "uint256";
70
+ readonly name: "id";
71
+ readonly type: "uint256";
72
+ }, {
73
+ readonly indexed: false;
74
+ readonly internalType: "uint256";
75
+ readonly name: "amount";
76
+ readonly type: "uint256";
56
77
  }];
57
- readonly name: "ApprovalForAll";
78
+ readonly name: "BurnLazy";
58
79
  readonly type: "event";
59
80
  }, {
60
81
  readonly anonymous: false;
61
82
  readonly inputs: readonly [{
62
83
  readonly indexed: true;
63
84
  readonly internalType: "address";
64
- readonly name: "previousOwner";
85
+ readonly name: "operator";
65
86
  readonly type: "address";
66
87
  }, {
67
88
  readonly indexed: true;
68
89
  readonly internalType: "address";
69
- readonly name: "newOwner";
90
+ readonly name: "account";
70
91
  readonly type: "address";
92
+ }, {
93
+ readonly indexed: false;
94
+ readonly internalType: "uint256[]";
95
+ readonly name: "ids";
96
+ readonly type: "uint256[]";
97
+ }, {
98
+ readonly indexed: false;
99
+ readonly internalType: "uint256[]";
100
+ readonly name: "amounts";
101
+ readonly type: "uint256[]";
71
102
  }];
72
- readonly name: "OwnershipTransferred";
103
+ readonly name: "BurnLazyBatch";
104
+ readonly type: "event";
105
+ }, {
106
+ readonly anonymous: false;
107
+ readonly inputs: readonly [{
108
+ readonly indexed: false;
109
+ readonly internalType: "address";
110
+ readonly name: "owner";
111
+ readonly type: "address";
112
+ }, {
113
+ readonly indexed: false;
114
+ readonly internalType: "string";
115
+ readonly name: "name";
116
+ readonly type: "string";
117
+ }, {
118
+ readonly indexed: false;
119
+ readonly internalType: "string";
120
+ readonly name: "symbol";
121
+ readonly type: "string";
122
+ }];
123
+ readonly name: "CreateERC1155Rarible";
124
+ readonly type: "event";
125
+ }, {
126
+ readonly anonymous: false;
127
+ readonly inputs: readonly [{
128
+ readonly indexed: false;
129
+ readonly internalType: "address";
130
+ readonly name: "owner";
131
+ readonly type: "address";
132
+ }, {
133
+ readonly indexed: false;
134
+ readonly internalType: "string";
135
+ readonly name: "name";
136
+ readonly type: "string";
137
+ }, {
138
+ readonly indexed: false;
139
+ readonly internalType: "string";
140
+ readonly name: "symbol";
141
+ readonly type: "string";
142
+ }];
143
+ readonly name: "CreateERC1155RaribleUser";
73
144
  readonly type: "event";
74
145
  }, {
75
146
  readonly anonymous: false;
@@ -79,64 +150,132 @@ export declare const RaribleToken_jsonAbi: readonly [{
79
150
  readonly name: "tokenId";
80
151
  readonly type: "uint256";
81
152
  }, {
153
+ readonly components: readonly [{
154
+ readonly internalType: "address payable";
155
+ readonly name: "account";
156
+ readonly type: "address";
157
+ }, {
158
+ readonly internalType: "uint96";
159
+ readonly name: "value";
160
+ readonly type: "uint96";
161
+ }];
82
162
  readonly indexed: false;
83
- readonly internalType: "address[]";
84
- readonly name: "recipients";
85
- readonly type: "address[]";
163
+ readonly internalType: "struct LibPart.Part[]";
164
+ readonly name: "creators";
165
+ readonly type: "tuple[]";
166
+ }];
167
+ readonly name: "Creators";
168
+ readonly type: "event";
169
+ }, {
170
+ readonly anonymous: false;
171
+ readonly inputs: readonly [{
172
+ readonly indexed: true;
173
+ readonly internalType: "address";
174
+ readonly name: "operator";
175
+ readonly type: "address";
86
176
  }, {
87
177
  readonly indexed: false;
88
- readonly internalType: "uint256[]";
89
- readonly name: "bps";
90
- readonly type: "uint256[]";
178
+ readonly internalType: "bool";
179
+ readonly name: "hasApproval";
180
+ readonly type: "bool";
91
181
  }];
92
- readonly name: "SecondarySaleFees";
182
+ readonly name: "DefaultApproval";
93
183
  readonly type: "event";
94
184
  }, {
95
185
  readonly anonymous: false;
96
186
  readonly inputs: readonly [{
97
187
  readonly indexed: true;
98
188
  readonly internalType: "address";
99
- readonly name: "account";
189
+ readonly name: "minter";
100
190
  readonly type: "address";
191
+ }, {
192
+ readonly indexed: true;
193
+ readonly internalType: "bool";
194
+ readonly name: "status";
195
+ readonly type: "bool";
101
196
  }];
102
- readonly name: "SignerAdded";
197
+ readonly name: "MinterStatusChanged";
103
198
  readonly type: "event";
104
199
  }, {
105
200
  readonly anonymous: false;
106
201
  readonly inputs: readonly [{
107
202
  readonly indexed: true;
108
203
  readonly internalType: "address";
109
- readonly name: "account";
204
+ readonly name: "previousOwner";
205
+ readonly type: "address";
206
+ }, {
207
+ readonly indexed: true;
208
+ readonly internalType: "address";
209
+ readonly name: "newOwner";
110
210
  readonly type: "address";
111
211
  }];
112
- readonly name: "SignerRemoved";
212
+ readonly name: "OwnershipTransferred";
213
+ readonly type: "event";
214
+ }, {
215
+ readonly anonymous: false;
216
+ readonly inputs: readonly [{
217
+ readonly indexed: false;
218
+ readonly internalType: "uint256";
219
+ readonly name: "tokenId";
220
+ readonly type: "uint256";
221
+ }, {
222
+ readonly components: readonly [{
223
+ readonly internalType: "address payable";
224
+ readonly name: "account";
225
+ readonly type: "address";
226
+ }, {
227
+ readonly internalType: "uint96";
228
+ readonly name: "value";
229
+ readonly type: "uint96";
230
+ }];
231
+ readonly indexed: false;
232
+ readonly internalType: "struct LibPart.Part[]";
233
+ readonly name: "royalties";
234
+ readonly type: "tuple[]";
235
+ }];
236
+ readonly name: "RoyaltiesSet";
237
+ readonly type: "event";
238
+ }, {
239
+ readonly anonymous: false;
240
+ 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";
113
252
  readonly type: "event";
114
253
  }, {
115
254
  readonly anonymous: false;
116
255
  readonly inputs: readonly [{
117
256
  readonly indexed: true;
118
257
  readonly internalType: "address";
119
- readonly name: "_operator";
258
+ readonly name: "operator";
120
259
  readonly type: "address";
121
260
  }, {
122
261
  readonly indexed: true;
123
262
  readonly internalType: "address";
124
- readonly name: "_from";
263
+ readonly name: "from";
125
264
  readonly type: "address";
126
265
  }, {
127
266
  readonly indexed: true;
128
267
  readonly internalType: "address";
129
- readonly name: "_to";
268
+ readonly name: "to";
130
269
  readonly type: "address";
131
270
  }, {
132
271
  readonly indexed: false;
133
272
  readonly internalType: "uint256[]";
134
- readonly name: "_ids";
273
+ readonly name: "ids";
135
274
  readonly type: "uint256[]";
136
275
  }, {
137
276
  readonly indexed: false;
138
277
  readonly internalType: "uint256[]";
139
- readonly name: "_values";
278
+ readonly name: "values";
140
279
  readonly type: "uint256[]";
141
280
  }];
142
281
  readonly name: "TransferBatch";
@@ -146,27 +285,27 @@ export declare const RaribleToken_jsonAbi: readonly [{
146
285
  readonly inputs: readonly [{
147
286
  readonly indexed: true;
148
287
  readonly internalType: "address";
149
- readonly name: "_operator";
288
+ readonly name: "operator";
150
289
  readonly type: "address";
151
290
  }, {
152
291
  readonly indexed: true;
153
292
  readonly internalType: "address";
154
- readonly name: "_from";
293
+ readonly name: "from";
155
294
  readonly type: "address";
156
295
  }, {
157
296
  readonly indexed: true;
158
297
  readonly internalType: "address";
159
- readonly name: "_to";
298
+ readonly name: "to";
160
299
  readonly type: "address";
161
300
  }, {
162
301
  readonly indexed: false;
163
302
  readonly internalType: "uint256";
164
- readonly name: "_id";
303
+ readonly name: "id";
165
304
  readonly type: "uint256";
166
305
  }, {
167
306
  readonly indexed: false;
168
307
  readonly internalType: "uint256";
169
- readonly name: "_value";
308
+ readonly name: "value";
170
309
  readonly type: "uint256";
171
310
  }];
172
311
  readonly name: "TransferSingle";
@@ -176,37 +315,108 @@ export declare const RaribleToken_jsonAbi: readonly [{
176
315
  readonly inputs: readonly [{
177
316
  readonly indexed: false;
178
317
  readonly internalType: "string";
179
- readonly name: "_value";
318
+ readonly name: "value";
180
319
  readonly type: "string";
181
320
  }, {
182
321
  readonly indexed: true;
183
322
  readonly internalType: "uint256";
184
- readonly name: "_id";
323
+ readonly name: "id";
185
324
  readonly type: "uint256";
186
325
  }];
187
326
  readonly name: "URI";
188
327
  readonly type: "event";
189
328
  }, {
190
- readonly constant: false;
191
329
  readonly inputs: readonly [{
330
+ readonly internalType: "string";
331
+ readonly name: "_name";
332
+ readonly type: "string";
333
+ }, {
334
+ readonly internalType: "string";
335
+ readonly name: "_symbol";
336
+ readonly type: "string";
337
+ }, {
338
+ readonly internalType: "string";
339
+ readonly name: "baseURI";
340
+ readonly type: "string";
341
+ }, {
342
+ readonly internalType: "string";
343
+ readonly name: "contractURI";
344
+ readonly type: "string";
345
+ }, {
346
+ readonly internalType: "address[]";
347
+ readonly name: "operators";
348
+ readonly type: "address[]";
349
+ }, {
192
350
  readonly internalType: "address";
193
- readonly name: "account";
351
+ readonly name: "transferProxy";
352
+ readonly type: "address";
353
+ }, {
354
+ readonly internalType: "address";
355
+ readonly name: "lazyTransferProxy";
356
+ readonly type: "address";
357
+ }];
358
+ readonly name: "__ERC1155RaribleUser_init";
359
+ readonly outputs: readonly [];
360
+ readonly stateMutability: "nonpayable";
361
+ readonly type: "function";
362
+ }, {
363
+ readonly inputs: readonly [{
364
+ readonly internalType: "string";
365
+ readonly name: "_name";
366
+ readonly type: "string";
367
+ }, {
368
+ readonly internalType: "string";
369
+ readonly name: "_symbol";
370
+ readonly type: "string";
371
+ }, {
372
+ readonly internalType: "string";
373
+ readonly name: "baseURI";
374
+ readonly type: "string";
375
+ }, {
376
+ readonly internalType: "string";
377
+ readonly name: "contractURI";
378
+ readonly type: "string";
379
+ }, {
380
+ readonly internalType: "address";
381
+ readonly name: "transferProxy";
382
+ readonly type: "address";
383
+ }, {
384
+ readonly internalType: "address";
385
+ readonly name: "lazyTransferProxy";
194
386
  readonly type: "address";
195
387
  }];
196
- readonly name: "addSigner";
388
+ readonly name: "__ERC1155Rarible_init";
197
389
  readonly outputs: readonly [];
198
- readonly payable: false;
199
390
  readonly stateMutability: "nonpayable";
200
391
  readonly type: "function";
201
392
  }, {
202
- readonly constant: true;
203
393
  readonly inputs: readonly [{
204
394
  readonly internalType: "address";
205
- readonly name: "_owner";
395
+ readonly name: "minter";
396
+ readonly type: "address";
397
+ }];
398
+ readonly name: "addMinter";
399
+ readonly outputs: readonly [];
400
+ readonly stateMutability: "nonpayable";
401
+ readonly type: "function";
402
+ }, {
403
+ readonly inputs: readonly [{
404
+ readonly internalType: "address[]";
405
+ readonly name: "minters";
406
+ readonly type: "address[]";
407
+ }];
408
+ readonly name: "addMinters";
409
+ readonly outputs: readonly [];
410
+ readonly stateMutability: "nonpayable";
411
+ readonly type: "function";
412
+ }, {
413
+ readonly inputs: readonly [{
414
+ readonly internalType: "address";
415
+ readonly name: "account";
206
416
  readonly type: "address";
207
417
  }, {
208
418
  readonly internalType: "uint256";
209
- readonly name: "_id";
419
+ readonly name: "id";
210
420
  readonly type: "uint256";
211
421
  }];
212
422
  readonly name: "balanceOf";
@@ -215,18 +425,16 @@ export declare const RaribleToken_jsonAbi: readonly [{
215
425
  readonly name: "";
216
426
  readonly type: "uint256";
217
427
  }];
218
- readonly payable: false;
219
428
  readonly stateMutability: "view";
220
429
  readonly type: "function";
221
430
  }, {
222
- readonly constant: true;
223
431
  readonly inputs: readonly [{
224
432
  readonly internalType: "address[]";
225
- readonly name: "_owners";
433
+ readonly name: "accounts";
226
434
  readonly type: "address[]";
227
435
  }, {
228
436
  readonly internalType: "uint256[]";
229
- readonly name: "_ids";
437
+ readonly name: "ids";
230
438
  readonly type: "uint256[]";
231
439
  }];
232
440
  readonly name: "balanceOfBatch";
@@ -235,115 +443,111 @@ export declare const RaribleToken_jsonAbi: readonly [{
235
443
  readonly name: "";
236
444
  readonly type: "uint256[]";
237
445
  }];
238
- readonly payable: false;
239
446
  readonly stateMutability: "view";
240
447
  readonly type: "function";
241
448
  }, {
242
- readonly constant: false;
449
+ readonly inputs: readonly [];
450
+ readonly name: "baseURI";
451
+ readonly outputs: readonly [{
452
+ readonly internalType: "string";
453
+ readonly name: "";
454
+ readonly type: "string";
455
+ }];
456
+ readonly stateMutability: "view";
457
+ readonly type: "function";
458
+ }, {
243
459
  readonly inputs: readonly [{
244
460
  readonly internalType: "address";
245
- readonly name: "_owner";
461
+ readonly name: "account";
246
462
  readonly type: "address";
247
463
  }, {
248
464
  readonly internalType: "uint256";
249
- readonly name: "_id";
465
+ readonly name: "id";
250
466
  readonly type: "uint256";
251
467
  }, {
252
468
  readonly internalType: "uint256";
253
- readonly name: "_value";
469
+ readonly name: "amount";
254
470
  readonly type: "uint256";
255
471
  }];
256
472
  readonly name: "burn";
257
473
  readonly outputs: readonly [];
258
- readonly payable: false;
259
474
  readonly stateMutability: "nonpayable";
260
475
  readonly type: "function";
261
476
  }, {
262
- readonly constant: true;
263
- readonly inputs: readonly [];
264
- readonly name: "contractURI";
265
- readonly outputs: readonly [{
266
- readonly internalType: "string";
267
- readonly name: "";
268
- readonly type: "string";
269
- }];
270
- readonly payable: false;
271
- readonly stateMutability: "view";
272
- readonly type: "function";
273
- }, {
274
- readonly constant: true;
275
477
  readonly inputs: readonly [{
276
- readonly internalType: "uint256";
277
- readonly name: "";
278
- readonly type: "uint256";
279
- }];
280
- readonly name: "creators";
281
- readonly outputs: readonly [{
282
478
  readonly internalType: "address";
283
- readonly name: "";
479
+ readonly name: "account";
284
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[]";
285
489
  }];
286
- readonly payable: false;
287
- readonly stateMutability: "view";
490
+ readonly name: "burnBatch";
491
+ readonly outputs: readonly [];
492
+ readonly stateMutability: "nonpayable";
288
493
  readonly type: "function";
289
494
  }, {
290
- readonly constant: true;
291
- readonly inputs: readonly [{
292
- readonly internalType: "uint256";
293
- readonly name: "";
294
- readonly type: "uint256";
295
- }, {
296
- readonly internalType: "uint256";
297
- readonly name: "";
298
- readonly type: "uint256";
299
- }];
300
- readonly name: "fees";
495
+ readonly inputs: readonly [];
496
+ readonly name: "contractURI";
301
497
  readonly outputs: readonly [{
302
- readonly internalType: "address payable";
303
- readonly name: "recipient";
304
- readonly type: "address";
305
- }, {
306
- readonly internalType: "uint256";
307
- readonly name: "value";
308
- readonly type: "uint256";
498
+ readonly internalType: "string";
499
+ readonly name: "";
500
+ readonly type: "string";
309
501
  }];
310
- readonly payable: false;
311
502
  readonly stateMutability: "view";
312
503
  readonly type: "function";
313
504
  }, {
314
- readonly constant: true;
315
505
  readonly inputs: readonly [{
316
506
  readonly internalType: "uint256";
317
- readonly name: "id";
507
+ readonly name: "_id";
318
508
  readonly type: "uint256";
319
509
  }];
320
- readonly name: "getFeeBps";
510
+ readonly name: "getCreators";
321
511
  readonly outputs: readonly [{
322
- readonly internalType: "uint256[]";
512
+ readonly components: readonly [{
513
+ readonly internalType: "address payable";
514
+ readonly name: "account";
515
+ readonly type: "address";
516
+ }, {
517
+ readonly internalType: "uint96";
518
+ readonly name: "value";
519
+ readonly type: "uint96";
520
+ }];
521
+ readonly internalType: "struct LibPart.Part[]";
323
522
  readonly name: "";
324
- readonly type: "uint256[]";
523
+ readonly type: "tuple[]";
325
524
  }];
326
- readonly payable: false;
327
525
  readonly stateMutability: "view";
328
526
  readonly type: "function";
329
527
  }, {
330
- readonly constant: true;
331
528
  readonly inputs: readonly [{
332
529
  readonly internalType: "uint256";
333
530
  readonly name: "id";
334
531
  readonly type: "uint256";
335
532
  }];
336
- readonly name: "getFeeRecipients";
533
+ readonly name: "getRaribleV2Royalties";
337
534
  readonly outputs: readonly [{
338
- readonly internalType: "address payable[]";
535
+ readonly components: readonly [{
536
+ readonly internalType: "address payable";
537
+ readonly name: "account";
538
+ readonly type: "address";
539
+ }, {
540
+ readonly internalType: "uint96";
541
+ readonly name: "value";
542
+ readonly type: "uint96";
543
+ }];
544
+ readonly internalType: "struct LibPart.Part[]";
339
545
  readonly name: "";
340
- readonly type: "address[]";
546
+ readonly type: "tuple[]";
341
547
  }];
342
- readonly payable: false;
343
548
  readonly stateMutability: "view";
344
549
  readonly type: "function";
345
550
  }, {
346
- readonly constant: true;
347
551
  readonly inputs: readonly [{
348
552
  readonly internalType: "address";
349
553
  readonly name: "_owner";
@@ -359,84 +563,84 @@ export declare const RaribleToken_jsonAbi: readonly [{
359
563
  readonly name: "";
360
564
  readonly type: "bool";
361
565
  }];
362
- readonly payable: false;
363
- readonly stateMutability: "view";
364
- readonly type: "function";
365
- }, {
366
- readonly constant: true;
367
- readonly inputs: readonly [];
368
- readonly name: "isOwner";
369
- readonly outputs: readonly [{
370
- readonly internalType: "bool";
371
- readonly name: "";
372
- readonly type: "bool";
373
- }];
374
- readonly payable: false;
375
566
  readonly stateMutability: "view";
376
567
  readonly type: "function";
377
568
  }, {
378
- readonly constant: true;
379
569
  readonly inputs: readonly [{
380
570
  readonly internalType: "address";
381
571
  readonly name: "account";
382
572
  readonly type: "address";
383
573
  }];
384
- readonly name: "isSigner";
574
+ readonly name: "isMinter";
385
575
  readonly outputs: readonly [{
386
576
  readonly internalType: "bool";
387
577
  readonly name: "";
388
578
  readonly type: "bool";
389
579
  }];
390
- readonly payable: false;
391
580
  readonly stateMutability: "view";
392
581
  readonly type: "function";
393
582
  }, {
394
- readonly constant: false;
395
583
  readonly inputs: readonly [{
396
- readonly internalType: "uint256";
397
- readonly name: "id";
398
- readonly type: "uint256";
399
- }, {
400
- readonly internalType: "uint8";
401
- readonly name: "v";
402
- readonly type: "uint8";
403
- }, {
404
- readonly internalType: "bytes32";
405
- readonly name: "r";
406
- readonly type: "bytes32";
407
- }, {
408
- readonly internalType: "bytes32";
409
- readonly name: "s";
410
- readonly type: "bytes32";
411
- }, {
412
584
  readonly components: readonly [{
413
- readonly internalType: "address payable";
414
- readonly name: "recipient";
415
- readonly type: "address";
585
+ readonly internalType: "uint256";
586
+ readonly name: "tokenId";
587
+ readonly type: "uint256";
588
+ }, {
589
+ readonly internalType: "string";
590
+ readonly name: "tokenURI";
591
+ readonly type: "string";
416
592
  }, {
417
593
  readonly internalType: "uint256";
418
- readonly name: "value";
594
+ readonly name: "supply";
419
595
  readonly type: "uint256";
596
+ }, {
597
+ readonly components: readonly [{
598
+ readonly internalType: "address payable";
599
+ readonly name: "account";
600
+ readonly type: "address";
601
+ }, {
602
+ readonly internalType: "uint96";
603
+ readonly name: "value";
604
+ readonly type: "uint96";
605
+ }];
606
+ readonly internalType: "struct LibPart.Part[]";
607
+ readonly name: "creators";
608
+ readonly type: "tuple[]";
609
+ }, {
610
+ readonly components: readonly [{
611
+ readonly internalType: "address payable";
612
+ readonly name: "account";
613
+ readonly type: "address";
614
+ }, {
615
+ readonly internalType: "uint96";
616
+ readonly name: "value";
617
+ readonly type: "uint96";
618
+ }];
619
+ readonly internalType: "struct LibPart.Part[]";
620
+ readonly name: "royalties";
621
+ readonly type: "tuple[]";
622
+ }, {
623
+ readonly internalType: "bytes[]";
624
+ readonly name: "signatures";
625
+ readonly type: "bytes[]";
420
626
  }];
421
- readonly internalType: "struct ERC1155Base.Fee[]";
422
- readonly name: "fees";
423
- readonly type: "tuple[]";
627
+ readonly internalType: "struct LibERC1155LazyMint.Mint1155Data";
628
+ readonly name: "data";
629
+ readonly type: "tuple";
630
+ }, {
631
+ readonly internalType: "address";
632
+ readonly name: "to";
633
+ readonly type: "address";
424
634
  }, {
425
635
  readonly internalType: "uint256";
426
- readonly name: "supply";
636
+ readonly name: "_amount";
427
637
  readonly type: "uint256";
428
- }, {
429
- readonly internalType: "string";
430
- readonly name: "uri";
431
- readonly type: "string";
432
638
  }];
433
- readonly name: "mint";
639
+ readonly name: "mintAndTransfer";
434
640
  readonly outputs: readonly [];
435
- readonly payable: false;
436
641
  readonly stateMutability: "nonpayable";
437
642
  readonly type: "function";
438
643
  }, {
439
- readonly constant: true;
440
644
  readonly inputs: readonly [];
441
645
  readonly name: "name";
442
646
  readonly outputs: readonly [{
@@ -444,11 +648,9 @@ export declare const RaribleToken_jsonAbi: readonly [{
444
648
  readonly name: "";
445
649
  readonly type: "string";
446
650
  }];
447
- readonly payable: false;
448
651
  readonly stateMutability: "view";
449
652
  readonly type: "function";
450
653
  }, {
451
- readonly constant: true;
452
654
  readonly inputs: readonly [];
453
655
  readonly name: "owner";
454
656
  readonly outputs: readonly [{
@@ -456,135 +658,123 @@ export declare const RaribleToken_jsonAbi: readonly [{
456
658
  readonly name: "";
457
659
  readonly type: "address";
458
660
  }];
459
- readonly payable: false;
460
661
  readonly stateMutability: "view";
461
662
  readonly type: "function";
462
663
  }, {
463
- readonly constant: false;
464
664
  readonly inputs: readonly [{
465
665
  readonly internalType: "address";
466
- readonly name: "account";
666
+ readonly name: "_minter";
467
667
  readonly type: "address";
468
668
  }];
469
- readonly name: "removeSigner";
669
+ readonly name: "removeMinter";
470
670
  readonly outputs: readonly [];
471
- readonly payable: false;
472
671
  readonly stateMutability: "nonpayable";
473
672
  readonly type: "function";
474
673
  }, {
475
- readonly constant: false;
476
674
  readonly inputs: readonly [];
477
675
  readonly name: "renounceOwnership";
478
676
  readonly outputs: readonly [];
479
- readonly payable: false;
480
677
  readonly stateMutability: "nonpayable";
481
678
  readonly type: "function";
482
679
  }, {
483
- readonly constant: false;
484
- readonly inputs: readonly [];
485
- readonly name: "renounceSigner";
486
- readonly outputs: readonly [];
487
- readonly payable: false;
488
- readonly stateMutability: "nonpayable";
680
+ readonly inputs: readonly [{
681
+ readonly internalType: "uint256";
682
+ readonly name: "id";
683
+ readonly type: "uint256";
684
+ }, {
685
+ readonly internalType: "uint256";
686
+ readonly name: "_salePrice";
687
+ readonly type: "uint256";
688
+ }];
689
+ readonly name: "royaltyInfo";
690
+ readonly outputs: readonly [{
691
+ readonly internalType: "address";
692
+ readonly name: "receiver";
693
+ readonly type: "address";
694
+ }, {
695
+ readonly internalType: "uint256";
696
+ readonly name: "royaltyAmount";
697
+ readonly type: "uint256";
698
+ }];
699
+ readonly stateMutability: "view";
489
700
  readonly type: "function";
490
701
  }, {
491
- readonly constant: false;
492
702
  readonly inputs: readonly [{
493
703
  readonly internalType: "address";
494
- readonly name: "_from";
704
+ readonly name: "from";
495
705
  readonly type: "address";
496
706
  }, {
497
707
  readonly internalType: "address";
498
- readonly name: "_to";
708
+ readonly name: "to";
499
709
  readonly type: "address";
500
710
  }, {
501
711
  readonly internalType: "uint256[]";
502
- readonly name: "_ids";
712
+ readonly name: "ids";
503
713
  readonly type: "uint256[]";
504
714
  }, {
505
715
  readonly internalType: "uint256[]";
506
- readonly name: "_values";
716
+ readonly name: "amounts";
507
717
  readonly type: "uint256[]";
508
718
  }, {
509
719
  readonly internalType: "bytes";
510
- readonly name: "_data";
720
+ readonly name: "data";
511
721
  readonly type: "bytes";
512
722
  }];
513
723
  readonly name: "safeBatchTransferFrom";
514
724
  readonly outputs: readonly [];
515
- readonly payable: false;
516
725
  readonly stateMutability: "nonpayable";
517
726
  readonly type: "function";
518
727
  }, {
519
- readonly constant: false;
520
728
  readonly inputs: readonly [{
521
729
  readonly internalType: "address";
522
- readonly name: "_from";
730
+ readonly name: "from";
523
731
  readonly type: "address";
524
732
  }, {
525
733
  readonly internalType: "address";
526
- readonly name: "_to";
734
+ readonly name: "to";
527
735
  readonly type: "address";
528
736
  }, {
529
737
  readonly internalType: "uint256";
530
- readonly name: "_id";
738
+ readonly name: "id";
531
739
  readonly type: "uint256";
532
740
  }, {
533
741
  readonly internalType: "uint256";
534
- readonly name: "_value";
742
+ readonly name: "amount";
535
743
  readonly type: "uint256";
536
744
  }, {
537
745
  readonly internalType: "bytes";
538
- readonly name: "_data";
746
+ readonly name: "data";
539
747
  readonly type: "bytes";
540
748
  }];
541
749
  readonly name: "safeTransferFrom";
542
750
  readonly outputs: readonly [];
543
- readonly payable: false;
544
751
  readonly stateMutability: "nonpayable";
545
752
  readonly type: "function";
546
753
  }, {
547
- readonly constant: false;
548
754
  readonly inputs: readonly [{
549
755
  readonly internalType: "address";
550
- readonly name: "_operator";
756
+ readonly name: "operator";
551
757
  readonly type: "address";
552
758
  }, {
553
759
  readonly internalType: "bool";
554
- readonly name: "_approved";
760
+ readonly name: "approved";
555
761
  readonly type: "bool";
556
762
  }];
557
763
  readonly name: "setApprovalForAll";
558
764
  readonly outputs: readonly [];
559
- readonly payable: false;
560
- readonly stateMutability: "nonpayable";
561
- readonly type: "function";
562
- }, {
563
- readonly constant: false;
564
- readonly inputs: readonly [{
565
- readonly internalType: "string";
566
- readonly name: "contractURI";
567
- readonly type: "string";
568
- }];
569
- readonly name: "setContractURI";
570
- readonly outputs: readonly [];
571
- readonly payable: false;
572
765
  readonly stateMutability: "nonpayable";
573
766
  readonly type: "function";
574
767
  }, {
575
- readonly constant: false;
576
768
  readonly inputs: readonly [{
577
769
  readonly internalType: "string";
578
- readonly name: "tokenURIPrefix";
770
+ readonly name: "newBaseURI";
579
771
  readonly type: "string";
580
772
  }];
581
- readonly name: "setTokenURIPrefix";
773
+ readonly name: "setBaseURI";
582
774
  readonly outputs: readonly [];
583
- readonly payable: false;
584
775
  readonly stateMutability: "nonpayable";
585
776
  readonly type: "function";
586
777
  }, {
587
- readonly constant: true;
588
778
  readonly inputs: readonly [{
589
779
  readonly internalType: "bytes4";
590
780
  readonly name: "interfaceId";
@@ -596,11 +786,9 @@ export declare const RaribleToken_jsonAbi: readonly [{
596
786
  readonly name: "";
597
787
  readonly type: "bool";
598
788
  }];
599
- readonly payable: false;
600
789
  readonly stateMutability: "view";
601
790
  readonly type: "function";
602
791
  }, {
603
- readonly constant: true;
604
792
  readonly inputs: readonly [];
605
793
  readonly name: "symbol";
606
794
  readonly outputs: readonly [{
@@ -608,23 +796,74 @@ export declare const RaribleToken_jsonAbi: readonly [{
608
796
  readonly name: "";
609
797
  readonly type: "string";
610
798
  }];
611
- readonly payable: false;
612
799
  readonly stateMutability: "view";
613
800
  readonly type: "function";
614
801
  }, {
615
- readonly constant: true;
616
- readonly inputs: readonly [];
617
- readonly name: "tokenURIPrefix";
618
- readonly outputs: readonly [{
619
- readonly internalType: "string";
620
- readonly name: "";
621
- readonly type: "string";
802
+ readonly inputs: readonly [{
803
+ readonly components: readonly [{
804
+ readonly internalType: "uint256";
805
+ readonly name: "tokenId";
806
+ readonly type: "uint256";
807
+ }, {
808
+ readonly internalType: "string";
809
+ readonly name: "tokenURI";
810
+ readonly type: "string";
811
+ }, {
812
+ readonly internalType: "uint256";
813
+ readonly name: "supply";
814
+ readonly type: "uint256";
815
+ }, {
816
+ readonly components: readonly [{
817
+ readonly internalType: "address payable";
818
+ readonly name: "account";
819
+ readonly type: "address";
820
+ }, {
821
+ readonly internalType: "uint96";
822
+ readonly name: "value";
823
+ readonly type: "uint96";
824
+ }];
825
+ readonly internalType: "struct LibPart.Part[]";
826
+ readonly name: "creators";
827
+ readonly type: "tuple[]";
828
+ }, {
829
+ readonly components: readonly [{
830
+ readonly internalType: "address payable";
831
+ readonly name: "account";
832
+ readonly type: "address";
833
+ }, {
834
+ readonly internalType: "uint96";
835
+ readonly name: "value";
836
+ readonly type: "uint96";
837
+ }];
838
+ readonly internalType: "struct LibPart.Part[]";
839
+ readonly name: "royalties";
840
+ readonly type: "tuple[]";
841
+ }, {
842
+ readonly internalType: "bytes[]";
843
+ readonly name: "signatures";
844
+ readonly type: "bytes[]";
845
+ }];
846
+ readonly internalType: "struct LibERC1155LazyMint.Mint1155Data";
847
+ readonly name: "data";
848
+ readonly type: "tuple";
849
+ }, {
850
+ readonly internalType: "address";
851
+ readonly name: "from";
852
+ readonly type: "address";
853
+ }, {
854
+ readonly internalType: "address";
855
+ readonly name: "to";
856
+ readonly type: "address";
857
+ }, {
858
+ readonly internalType: "uint256";
859
+ readonly name: "amount";
860
+ readonly type: "uint256";
622
861
  }];
623
- readonly payable: false;
624
- readonly stateMutability: "view";
862
+ readonly name: "transferFromOrMint";
863
+ readonly outputs: readonly [];
864
+ readonly stateMutability: "nonpayable";
625
865
  readonly type: "function";
626
866
  }, {
627
- readonly constant: false;
628
867
  readonly inputs: readonly [{
629
868
  readonly internalType: "address";
630
869
  readonly name: "newOwner";
@@ -632,15 +871,31 @@ export declare const RaribleToken_jsonAbi: readonly [{
632
871
  }];
633
872
  readonly name: "transferOwnership";
634
873
  readonly outputs: readonly [];
635
- readonly payable: false;
636
874
  readonly stateMutability: "nonpayable";
637
875
  readonly type: "function";
638
876
  }, {
639
- readonly constant: true;
640
877
  readonly inputs: readonly [{
641
878
  readonly internalType: "uint256";
642
879
  readonly name: "_id";
643
880
  readonly type: "uint256";
881
+ }, {
882
+ readonly internalType: "address";
883
+ readonly name: "_from";
884
+ readonly type: "address";
885
+ }, {
886
+ readonly internalType: "address";
887
+ readonly name: "_to";
888
+ readonly type: "address";
889
+ }];
890
+ readonly name: "updateAccount";
891
+ readonly outputs: readonly [];
892
+ readonly stateMutability: "nonpayable";
893
+ readonly type: "function";
894
+ }, {
895
+ readonly inputs: readonly [{
896
+ readonly internalType: "uint256";
897
+ readonly name: "id";
898
+ readonly type: "uint256";
644
899
  }];
645
900
  readonly name: "uri";
646
901
  readonly outputs: readonly [{
@@ -648,20 +903,19 @@ export declare const RaribleToken_jsonAbi: readonly [{
648
903
  readonly name: "";
649
904
  readonly type: "string";
650
905
  }];
651
- readonly payable: false;
652
906
  readonly stateMutability: "view";
653
907
  readonly type: "function";
654
908
  }];
655
909
  /**
656
- * Type-safe ABI for RaribleToken_json
910
+ * Type-safe ABI for ERC1155Rarible_json
657
911
  */
658
- export type RaribleToken_jsonAbi = typeof RaribleToken_jsonAbi;
912
+ export type ERC1155Rarible_jsonAbi = typeof ERC1155Rarible_jsonAbi;
659
913
  /**
660
- * Contract instance type for RaribleToken_json
914
+ * Contract instance type for ERC1155Rarible_json
661
915
  */
662
- export type RaribleToken_jsonContract = any;
916
+ export type ERC1155Rarible_jsonContract = any;
663
917
  /**
664
- * RaribleToken_json Contract Class
918
+ * ERC1155Rarible_json Contract Class
665
919
  *
666
920
  * Provides a class-based API similar to TypeChain for interacting with the contract.
667
921
  *
@@ -669,12 +923,12 @@ export type RaribleToken_jsonContract = any;
669
923
  * ```typescript
670
924
  * import { createPublicClient, createWalletClient, http } from 'viem';
671
925
  * import { mainnet } from 'viem/chains';
672
- * import { RaribleToken_json } from 'RaribleToken_json';
926
+ * import { ERC1155Rarible_json } from 'ERC1155Rarible_json';
673
927
  *
674
928
  * const publicClient = createPublicClient({ chain: mainnet, transport: http() });
675
929
  * const walletClient = createWalletClient({ chain: mainnet, transport: http() });
676
930
  *
677
- * const contract = new RaribleToken_json('0x...', { publicClient, walletClient });
931
+ * const contract = new ERC1155Rarible_json('0x...', { publicClient, walletClient });
678
932
  *
679
933
  * // Read functions
680
934
  * const result = await contract.balanceOf('0x...');
@@ -692,7 +946,7 @@ export type RaribleToken_jsonContract = any;
692
946
  * });
693
947
  * ```
694
948
  */
695
- export declare class RaribleToken_json {
949
+ export declare class ERC1155Rarible_json {
696
950
  private contract;
697
951
  private contractAddress;
698
952
  private publicClient;
@@ -707,57 +961,47 @@ export declare class RaribleToken_json {
707
961
  /**
708
962
  * Get the underlying viem contract instance
709
963
  */
710
- getContract(): RaribleToken_jsonContract;
964
+ getContract(): ERC1155Rarible_jsonContract;
711
965
  /**
712
966
  * balanceOf
713
967
  * view
714
968
  */
715
- balanceOf(_owner: `0x${string}`, _id: bigint): Promise<bigint>;
969
+ balanceOf(account: `0x${string}`, id: bigint): Promise<bigint>;
716
970
  /**
717
971
  * balanceOfBatch
718
972
  * view
719
973
  */
720
- balanceOfBatch(_owners: `0x${string}`[], _ids: bigint[]): Promise<bigint[]>;
721
- /**
722
- * contractURI
723
- * view
724
- */
725
- contractURI(): Promise<string>;
974
+ balanceOfBatch(accounts: `0x${string}`[], ids: bigint[]): Promise<bigint[]>;
726
975
  /**
727
- * creators
976
+ * baseURI
728
977
  * view
729
978
  */
730
- creators(arg0: bigint): Promise<`0x${string}`>;
979
+ baseURI(): Promise<string>;
731
980
  /**
732
- * fees
981
+ * contractURI
733
982
  * view
734
983
  */
735
- fees(arg0: bigint, arg1: bigint): Promise<[`0x${string}`, bigint]>;
984
+ contractURI(): Promise<string>;
736
985
  /**
737
- * getFeeBps
986
+ * getCreators
738
987
  * view
739
988
  */
740
- getFeeBps(id: bigint): Promise<bigint[]>;
989
+ getCreators(_id: bigint): Promise<LibPart_Part[]>;
741
990
  /**
742
- * getFeeRecipients
991
+ * getRaribleV2Royalties
743
992
  * view
744
993
  */
745
- getFeeRecipients(id: bigint): Promise<`0x${string}`[]>;
994
+ getRaribleV2Royalties(id: bigint): Promise<LibPart_Part[]>;
746
995
  /**
747
996
  * isApprovedForAll
748
997
  * view
749
998
  */
750
999
  isApprovedForAll(_owner: `0x${string}`, _operator: `0x${string}`): Promise<boolean>;
751
1000
  /**
752
- * isOwner
753
- * view
754
- */
755
- isOwner(): Promise<boolean>;
756
- /**
757
- * isSigner
1001
+ * isMinter
758
1002
  * view
759
1003
  */
760
- isSigner(account: `0x${string}`): Promise<boolean>;
1004
+ isMinter(account: `0x${string}`): Promise<boolean>;
761
1005
  /**
762
1006
  * name
763
1007
  * view
@@ -768,6 +1012,11 @@ export declare class RaribleToken_json {
768
1012
  * view
769
1013
  */
770
1014
  owner(): Promise<`0x${string}`>;
1015
+ /**
1016
+ * royaltyInfo
1017
+ * view
1018
+ */
1019
+ royaltyInfo(id: bigint, _salePrice: bigint): Promise<[`0x${string}`, bigint]>;
771
1020
  /**
772
1021
  * supportsInterface
773
1022
  * view
@@ -779,21 +1028,67 @@ export declare class RaribleToken_json {
779
1028
  */
780
1029
  symbol(): Promise<string>;
781
1030
  /**
782
- * tokenURIPrefix
1031
+ * uri
783
1032
  * view
784
1033
  */
785
- tokenURIPrefix(): Promise<string>;
1034
+ uri(id: bigint): Promise<string>;
786
1035
  /**
787
- * uri
788
- * view
1036
+ * __ERC1155RaribleUser_init
1037
+ * nonpayable
1038
+ * @param options Optional transaction parameters (value, gas, nonce, etc.)
789
1039
  */
790
- uri(_id: bigint): Promise<string>;
1040
+ __ERC1155RaribleUser_init(_name: string, _symbol: string, baseURI: string, contractURI: string, operators: `0x${string}`[], transferProxy: `0x${string}`, lazyTransferProxy: `0x${string}`, options?: {
1041
+ accessList?: import('viem').AccessList;
1042
+ authorizationList?: import('viem').AuthorizationList;
1043
+ chain?: import('viem').Chain | null;
1044
+ dataSuffix?: `0x${string}`;
1045
+ gas?: bigint;
1046
+ gasPrice?: bigint;
1047
+ maxFeePerGas?: bigint;
1048
+ maxPriorityFeePerGas?: bigint;
1049
+ nonce?: number;
1050
+ value?: bigint;
1051
+ }): Promise<`0x${string}`>;
1052
+ /**
1053
+ * __ERC1155Rarible_init
1054
+ * nonpayable
1055
+ * @param options Optional transaction parameters (value, gas, nonce, etc.)
1056
+ */
1057
+ __ERC1155Rarible_init(_name: string, _symbol: string, baseURI: string, contractURI: string, transferProxy: `0x${string}`, lazyTransferProxy: `0x${string}`, options?: {
1058
+ accessList?: import('viem').AccessList;
1059
+ authorizationList?: import('viem').AuthorizationList;
1060
+ chain?: import('viem').Chain | null;
1061
+ dataSuffix?: `0x${string}`;
1062
+ gas?: bigint;
1063
+ gasPrice?: bigint;
1064
+ maxFeePerGas?: bigint;
1065
+ maxPriorityFeePerGas?: bigint;
1066
+ nonce?: number;
1067
+ value?: bigint;
1068
+ }): Promise<`0x${string}`>;
1069
+ /**
1070
+ * addMinter
1071
+ * nonpayable
1072
+ * @param options Optional transaction parameters (value, gas, nonce, etc.)
1073
+ */
1074
+ addMinter(minter: `0x${string}`, options?: {
1075
+ accessList?: import('viem').AccessList;
1076
+ authorizationList?: import('viem').AuthorizationList;
1077
+ chain?: import('viem').Chain | null;
1078
+ dataSuffix?: `0x${string}`;
1079
+ gas?: bigint;
1080
+ gasPrice?: bigint;
1081
+ maxFeePerGas?: bigint;
1082
+ maxPriorityFeePerGas?: bigint;
1083
+ nonce?: number;
1084
+ value?: bigint;
1085
+ }): Promise<`0x${string}`>;
791
1086
  /**
792
- * addSigner
1087
+ * addMinters
793
1088
  * nonpayable
794
1089
  * @param options Optional transaction parameters (value, gas, nonce, etc.)
795
1090
  */
796
- addSigner(account: `0x${string}`, options?: {
1091
+ addMinters(minters: `0x${string}`[], options?: {
797
1092
  accessList?: import('viem').AccessList;
798
1093
  authorizationList?: import('viem').AuthorizationList;
799
1094
  chain?: import('viem').Chain | null;
@@ -810,7 +1105,7 @@ export declare class RaribleToken_json {
810
1105
  * nonpayable
811
1106
  * @param options Optional transaction parameters (value, gas, nonce, etc.)
812
1107
  */
813
- burn(_owner: `0x${string}`, _id: bigint, _value: bigint, options?: {
1108
+ burn(account: `0x${string}`, id: bigint, amount: bigint, options?: {
814
1109
  accessList?: import('viem').AccessList;
815
1110
  authorizationList?: import('viem').AuthorizationList;
816
1111
  chain?: import('viem').Chain | null;
@@ -823,11 +1118,11 @@ export declare class RaribleToken_json {
823
1118
  value?: bigint;
824
1119
  }): Promise<`0x${string}`>;
825
1120
  /**
826
- * mint
1121
+ * burnBatch
827
1122
  * nonpayable
828
1123
  * @param options Optional transaction parameters (value, gas, nonce, etc.)
829
1124
  */
830
- mint(id: bigint, v: bigint, r: `0x${string}`, s: `0x${string}`, fees: ERC1155Base_Fee[], supply: bigint, uri: string, options?: {
1125
+ burnBatch(account: `0x${string}`, ids: bigint[], amounts: bigint[], options?: {
831
1126
  accessList?: import('viem').AccessList;
832
1127
  authorizationList?: import('viem').AuthorizationList;
833
1128
  chain?: import('viem').Chain | null;
@@ -840,11 +1135,11 @@ export declare class RaribleToken_json {
840
1135
  value?: bigint;
841
1136
  }): Promise<`0x${string}`>;
842
1137
  /**
843
- * removeSigner
1138
+ * mintAndTransfer
844
1139
  * nonpayable
845
1140
  * @param options Optional transaction parameters (value, gas, nonce, etc.)
846
1141
  */
847
- removeSigner(account: `0x${string}`, options?: {
1142
+ mintAndTransfer(data: LibERC1155LazyMint_Mint1155Data, to: `0x${string}`, _amount: bigint, options?: {
848
1143
  accessList?: import('viem').AccessList;
849
1144
  authorizationList?: import('viem').AuthorizationList;
850
1145
  chain?: import('viem').Chain | null;
@@ -857,11 +1152,11 @@ export declare class RaribleToken_json {
857
1152
  value?: bigint;
858
1153
  }): Promise<`0x${string}`>;
859
1154
  /**
860
- * renounceOwnership
1155
+ * removeMinter
861
1156
  * nonpayable
862
1157
  * @param options Optional transaction parameters (value, gas, nonce, etc.)
863
1158
  */
864
- renounceOwnership(options?: {
1159
+ removeMinter(_minter: `0x${string}`, options?: {
865
1160
  accessList?: import('viem').AccessList;
866
1161
  authorizationList?: import('viem').AuthorizationList;
867
1162
  chain?: import('viem').Chain | null;
@@ -874,11 +1169,11 @@ export declare class RaribleToken_json {
874
1169
  value?: bigint;
875
1170
  }): Promise<`0x${string}`>;
876
1171
  /**
877
- * renounceSigner
1172
+ * renounceOwnership
878
1173
  * nonpayable
879
1174
  * @param options Optional transaction parameters (value, gas, nonce, etc.)
880
1175
  */
881
- renounceSigner(options?: {
1176
+ renounceOwnership(options?: {
882
1177
  accessList?: import('viem').AccessList;
883
1178
  authorizationList?: import('viem').AuthorizationList;
884
1179
  chain?: import('viem').Chain | null;
@@ -895,7 +1190,7 @@ export declare class RaribleToken_json {
895
1190
  * nonpayable
896
1191
  * @param options Optional transaction parameters (value, gas, nonce, etc.)
897
1192
  */
898
- safeBatchTransferFrom(_from: `0x${string}`, _to: `0x${string}`, _ids: bigint[], _values: bigint[], _data: `0x${string}`, options?: {
1193
+ safeBatchTransferFrom(from: `0x${string}`, to: `0x${string}`, ids: bigint[], amounts: bigint[], data: `0x${string}`, options?: {
899
1194
  accessList?: import('viem').AccessList;
900
1195
  authorizationList?: import('viem').AuthorizationList;
901
1196
  chain?: import('viem').Chain | null;
@@ -912,7 +1207,7 @@ export declare class RaribleToken_json {
912
1207
  * nonpayable
913
1208
  * @param options Optional transaction parameters (value, gas, nonce, etc.)
914
1209
  */
915
- safeTransferFrom(_from: `0x${string}`, _to: `0x${string}`, _id: bigint, _value: bigint, _data: `0x${string}`, options?: {
1210
+ safeTransferFrom(from: `0x${string}`, to: `0x${string}`, id: bigint, amount: bigint, data: `0x${string}`, options?: {
916
1211
  accessList?: import('viem').AccessList;
917
1212
  authorizationList?: import('viem').AuthorizationList;
918
1213
  chain?: import('viem').Chain | null;
@@ -929,7 +1224,7 @@ export declare class RaribleToken_json {
929
1224
  * nonpayable
930
1225
  * @param options Optional transaction parameters (value, gas, nonce, etc.)
931
1226
  */
932
- setApprovalForAll(_operator: `0x${string}`, _approved: boolean, options?: {
1227
+ setApprovalForAll(operator: `0x${string}`, approved: boolean, options?: {
933
1228
  accessList?: import('viem').AccessList;
934
1229
  authorizationList?: import('viem').AuthorizationList;
935
1230
  chain?: import('viem').Chain | null;
@@ -942,11 +1237,11 @@ export declare class RaribleToken_json {
942
1237
  value?: bigint;
943
1238
  }): Promise<`0x${string}`>;
944
1239
  /**
945
- * setContractURI
1240
+ * setBaseURI
946
1241
  * nonpayable
947
1242
  * @param options Optional transaction parameters (value, gas, nonce, etc.)
948
1243
  */
949
- setContractURI(contractURI: string, options?: {
1244
+ setBaseURI(newBaseURI: string, options?: {
950
1245
  accessList?: import('viem').AccessList;
951
1246
  authorizationList?: import('viem').AuthorizationList;
952
1247
  chain?: import('viem').Chain | null;
@@ -959,11 +1254,11 @@ export declare class RaribleToken_json {
959
1254
  value?: bigint;
960
1255
  }): Promise<`0x${string}`>;
961
1256
  /**
962
- * setTokenURIPrefix
1257
+ * transferFromOrMint
963
1258
  * nonpayable
964
1259
  * @param options Optional transaction parameters (value, gas, nonce, etc.)
965
1260
  */
966
- setTokenURIPrefix(tokenURIPrefix: string, options?: {
1261
+ transferFromOrMint(data: LibERC1155LazyMint_Mint1155Data, from: `0x${string}`, to: `0x${string}`, amount: bigint, options?: {
967
1262
  accessList?: import('viem').AccessList;
968
1263
  authorizationList?: import('viem').AuthorizationList;
969
1264
  chain?: import('viem').Chain | null;
@@ -992,6 +1287,23 @@ export declare class RaribleToken_json {
992
1287
  nonce?: number;
993
1288
  value?: bigint;
994
1289
  }): Promise<`0x${string}`>;
1290
+ /**
1291
+ * updateAccount
1292
+ * nonpayable
1293
+ * @param options Optional transaction parameters (value, gas, nonce, etc.)
1294
+ */
1295
+ updateAccount(_id: bigint, _from: `0x${string}`, _to: `0x${string}`, options?: {
1296
+ accessList?: import('viem').AccessList;
1297
+ authorizationList?: import('viem').AuthorizationList;
1298
+ chain?: import('viem').Chain | null;
1299
+ dataSuffix?: `0x${string}`;
1300
+ gas?: bigint;
1301
+ gasPrice?: bigint;
1302
+ maxFeePerGas?: bigint;
1303
+ maxPriorityFeePerGas?: bigint;
1304
+ nonce?: number;
1305
+ value?: bigint;
1306
+ }): Promise<`0x${string}`>;
995
1307
  /**
996
1308
  * Simulate contract write operations (dry-run without sending transaction)
997
1309
  *
@@ -1002,11 +1314,62 @@ export declare class RaribleToken_json {
1002
1314
  */
1003
1315
  get simulate(): {
1004
1316
  /**
1005
- * Simulate addSigner
1317
+ * Simulate __ERC1155RaribleUser_init
1318
+ * Returns gas estimate and result without sending transaction
1319
+ * @param options Optional transaction parameters (value, gas, nonce, etc.)
1320
+ */
1321
+ __ERC1155RaribleUser_init(_name: string, _symbol: string, baseURI: string, contractURI: string, operators: `0x${string}`[], transferProxy: `0x${string}`, lazyTransferProxy: `0x${string}`, options?: {
1322
+ accessList?: import("viem").AccessList;
1323
+ authorizationList?: import("viem").AuthorizationList;
1324
+ chain?: import("viem").Chain | null;
1325
+ dataSuffix?: `0x${string}`;
1326
+ gas?: bigint;
1327
+ gasPrice?: bigint;
1328
+ maxFeePerGas?: bigint;
1329
+ maxPriorityFeePerGas?: bigint;
1330
+ nonce?: number;
1331
+ value?: bigint;
1332
+ }): Promise<void>;
1333
+ /**
1334
+ * Simulate __ERC1155Rarible_init
1335
+ * Returns gas estimate and result without sending transaction
1336
+ * @param options Optional transaction parameters (value, gas, nonce, etc.)
1337
+ */
1338
+ __ERC1155Rarible_init(_name: string, _symbol: string, baseURI: string, contractURI: string, transferProxy: `0x${string}`, lazyTransferProxy: `0x${string}`, options?: {
1339
+ accessList?: import("viem").AccessList;
1340
+ authorizationList?: import("viem").AuthorizationList;
1341
+ chain?: import("viem").Chain | null;
1342
+ dataSuffix?: `0x${string}`;
1343
+ gas?: bigint;
1344
+ gasPrice?: bigint;
1345
+ maxFeePerGas?: bigint;
1346
+ maxPriorityFeePerGas?: bigint;
1347
+ nonce?: number;
1348
+ value?: bigint;
1349
+ }): Promise<void>;
1350
+ /**
1351
+ * Simulate addMinter
1352
+ * Returns gas estimate and result without sending transaction
1353
+ * @param options Optional transaction parameters (value, gas, nonce, etc.)
1354
+ */
1355
+ addMinter(minter: `0x${string}`, options?: {
1356
+ accessList?: import("viem").AccessList;
1357
+ authorizationList?: import("viem").AuthorizationList;
1358
+ chain?: import("viem").Chain | null;
1359
+ dataSuffix?: `0x${string}`;
1360
+ gas?: bigint;
1361
+ gasPrice?: bigint;
1362
+ maxFeePerGas?: bigint;
1363
+ maxPriorityFeePerGas?: bigint;
1364
+ nonce?: number;
1365
+ value?: bigint;
1366
+ }): Promise<void>;
1367
+ /**
1368
+ * Simulate addMinters
1006
1369
  * Returns gas estimate and result without sending transaction
1007
1370
  * @param options Optional transaction parameters (value, gas, nonce, etc.)
1008
1371
  */
1009
- addSigner(account: `0x${string}`, options?: {
1372
+ addMinters(minters: `0x${string}`[], options?: {
1010
1373
  accessList?: import("viem").AccessList;
1011
1374
  authorizationList?: import("viem").AuthorizationList;
1012
1375
  chain?: import("viem").Chain | null;
@@ -1023,7 +1386,7 @@ export declare class RaribleToken_json {
1023
1386
  * Returns gas estimate and result without sending transaction
1024
1387
  * @param options Optional transaction parameters (value, gas, nonce, etc.)
1025
1388
  */
1026
- burn(_owner: `0x${string}`, _id: bigint, _value: bigint, options?: {
1389
+ burn(account: `0x${string}`, id: bigint, amount: bigint, options?: {
1027
1390
  accessList?: import("viem").AccessList;
1028
1391
  authorizationList?: import("viem").AuthorizationList;
1029
1392
  chain?: import("viem").Chain | null;
@@ -1036,11 +1399,11 @@ export declare class RaribleToken_json {
1036
1399
  value?: bigint;
1037
1400
  }): Promise<void>;
1038
1401
  /**
1039
- * Simulate mint
1402
+ * Simulate burnBatch
1040
1403
  * Returns gas estimate and result without sending transaction
1041
1404
  * @param options Optional transaction parameters (value, gas, nonce, etc.)
1042
1405
  */
1043
- mint(id: bigint, v: bigint, r: `0x${string}`, s: `0x${string}`, fees: ERC1155Base_Fee[], supply: bigint, uri: string, options?: {
1406
+ burnBatch(account: `0x${string}`, ids: bigint[], amounts: bigint[], options?: {
1044
1407
  accessList?: import("viem").AccessList;
1045
1408
  authorizationList?: import("viem").AuthorizationList;
1046
1409
  chain?: import("viem").Chain | null;
@@ -1053,11 +1416,11 @@ export declare class RaribleToken_json {
1053
1416
  value?: bigint;
1054
1417
  }): Promise<void>;
1055
1418
  /**
1056
- * Simulate removeSigner
1419
+ * Simulate mintAndTransfer
1057
1420
  * Returns gas estimate and result without sending transaction
1058
1421
  * @param options Optional transaction parameters (value, gas, nonce, etc.)
1059
1422
  */
1060
- removeSigner(account: `0x${string}`, options?: {
1423
+ mintAndTransfer(data: LibERC1155LazyMint_Mint1155Data, to: `0x${string}`, _amount: bigint, options?: {
1061
1424
  accessList?: import("viem").AccessList;
1062
1425
  authorizationList?: import("viem").AuthorizationList;
1063
1426
  chain?: import("viem").Chain | null;
@@ -1070,11 +1433,11 @@ export declare class RaribleToken_json {
1070
1433
  value?: bigint;
1071
1434
  }): Promise<void>;
1072
1435
  /**
1073
- * Simulate renounceOwnership
1436
+ * Simulate removeMinter
1074
1437
  * Returns gas estimate and result without sending transaction
1075
1438
  * @param options Optional transaction parameters (value, gas, nonce, etc.)
1076
1439
  */
1077
- renounceOwnership(options?: {
1440
+ removeMinter(_minter: `0x${string}`, options?: {
1078
1441
  accessList?: import("viem").AccessList;
1079
1442
  authorizationList?: import("viem").AuthorizationList;
1080
1443
  chain?: import("viem").Chain | null;
@@ -1087,11 +1450,11 @@ export declare class RaribleToken_json {
1087
1450
  value?: bigint;
1088
1451
  }): Promise<void>;
1089
1452
  /**
1090
- * Simulate renounceSigner
1453
+ * Simulate renounceOwnership
1091
1454
  * Returns gas estimate and result without sending transaction
1092
1455
  * @param options Optional transaction parameters (value, gas, nonce, etc.)
1093
1456
  */
1094
- renounceSigner(options?: {
1457
+ renounceOwnership(options?: {
1095
1458
  accessList?: import("viem").AccessList;
1096
1459
  authorizationList?: import("viem").AuthorizationList;
1097
1460
  chain?: import("viem").Chain | null;
@@ -1108,7 +1471,7 @@ export declare class RaribleToken_json {
1108
1471
  * Returns gas estimate and result without sending transaction
1109
1472
  * @param options Optional transaction parameters (value, gas, nonce, etc.)
1110
1473
  */
1111
- safeBatchTransferFrom(_from: `0x${string}`, _to: `0x${string}`, _ids: bigint[], _values: bigint[], _data: `0x${string}`, options?: {
1474
+ safeBatchTransferFrom(from: `0x${string}`, to: `0x${string}`, ids: bigint[], amounts: bigint[], data: `0x${string}`, options?: {
1112
1475
  accessList?: import("viem").AccessList;
1113
1476
  authorizationList?: import("viem").AuthorizationList;
1114
1477
  chain?: import("viem").Chain | null;
@@ -1125,7 +1488,7 @@ export declare class RaribleToken_json {
1125
1488
  * Returns gas estimate and result without sending transaction
1126
1489
  * @param options Optional transaction parameters (value, gas, nonce, etc.)
1127
1490
  */
1128
- safeTransferFrom(_from: `0x${string}`, _to: `0x${string}`, _id: bigint, _value: bigint, _data: `0x${string}`, options?: {
1491
+ safeTransferFrom(from: `0x${string}`, to: `0x${string}`, id: bigint, amount: bigint, data: `0x${string}`, options?: {
1129
1492
  accessList?: import("viem").AccessList;
1130
1493
  authorizationList?: import("viem").AuthorizationList;
1131
1494
  chain?: import("viem").Chain | null;
@@ -1142,7 +1505,7 @@ export declare class RaribleToken_json {
1142
1505
  * Returns gas estimate and result without sending transaction
1143
1506
  * @param options Optional transaction parameters (value, gas, nonce, etc.)
1144
1507
  */
1145
- setApprovalForAll(_operator: `0x${string}`, _approved: boolean, options?: {
1508
+ setApprovalForAll(operator: `0x${string}`, approved: boolean, options?: {
1146
1509
  accessList?: import("viem").AccessList;
1147
1510
  authorizationList?: import("viem").AuthorizationList;
1148
1511
  chain?: import("viem").Chain | null;
@@ -1155,11 +1518,11 @@ export declare class RaribleToken_json {
1155
1518
  value?: bigint;
1156
1519
  }): Promise<void>;
1157
1520
  /**
1158
- * Simulate setContractURI
1521
+ * Simulate setBaseURI
1159
1522
  * Returns gas estimate and result without sending transaction
1160
1523
  * @param options Optional transaction parameters (value, gas, nonce, etc.)
1161
1524
  */
1162
- setContractURI(contractURI: string, options?: {
1525
+ setBaseURI(newBaseURI: string, options?: {
1163
1526
  accessList?: import("viem").AccessList;
1164
1527
  authorizationList?: import("viem").AuthorizationList;
1165
1528
  chain?: import("viem").Chain | null;
@@ -1172,11 +1535,11 @@ export declare class RaribleToken_json {
1172
1535
  value?: bigint;
1173
1536
  }): Promise<void>;
1174
1537
  /**
1175
- * Simulate setTokenURIPrefix
1538
+ * Simulate transferFromOrMint
1176
1539
  * Returns gas estimate and result without sending transaction
1177
1540
  * @param options Optional transaction parameters (value, gas, nonce, etc.)
1178
1541
  */
1179
- setTokenURIPrefix(tokenURIPrefix: string, options?: {
1542
+ transferFromOrMint(data: LibERC1155LazyMint_Mint1155Data, from: `0x${string}`, to: `0x${string}`, amount: bigint, options?: {
1180
1543
  accessList?: import("viem").AccessList;
1181
1544
  authorizationList?: import("viem").AuthorizationList;
1182
1545
  chain?: import("viem").Chain | null;
@@ -1205,6 +1568,23 @@ export declare class RaribleToken_json {
1205
1568
  nonce?: number;
1206
1569
  value?: bigint;
1207
1570
  }): Promise<void>;
1571
+ /**
1572
+ * Simulate updateAccount
1573
+ * Returns gas estimate and result without sending transaction
1574
+ * @param options Optional transaction parameters (value, gas, nonce, etc.)
1575
+ */
1576
+ updateAccount(_id: bigint, _from: `0x${string}`, _to: `0x${string}`, options?: {
1577
+ accessList?: import("viem").AccessList;
1578
+ authorizationList?: import("viem").AuthorizationList;
1579
+ chain?: import("viem").Chain | null;
1580
+ dataSuffix?: `0x${string}`;
1581
+ gas?: bigint;
1582
+ gasPrice?: bigint;
1583
+ maxFeePerGas?: bigint;
1584
+ maxPriorityFeePerGas?: bigint;
1585
+ nonce?: number;
1586
+ value?: bigint;
1587
+ }): Promise<void>;
1208
1588
  };
1209
1589
  /**
1210
1590
  * Watch contract events
@@ -1226,59 +1606,142 @@ export declare class RaribleToken_json {
1226
1606
  * @returns Unwatch function to stop listening
1227
1607
  */
1228
1608
  ApprovalForAll: (callback: (event: {
1229
- _owner: `0x${string}`;
1230
- _operator: `0x${string}`;
1231
- _approved: boolean;
1609
+ account: `0x${string}`;
1610
+ operator: `0x${string}`;
1611
+ approved: boolean;
1232
1612
  }) => void, filter?: {
1233
- _owner: `0x${string}`;
1234
- _operator: `0x${string}`;
1613
+ account: `0x${string}`;
1614
+ operator: `0x${string}`;
1235
1615
  }) => () => void;
1236
1616
  /**
1237
- * Watch OwnershipTransferred events
1617
+ * Watch BaseUriChanged events
1238
1618
  * @param callback Function to call when event is emitted
1239
1619
  * @param filter Optional filter for indexed parameters
1240
1620
  * @returns Unwatch function to stop listening
1241
1621
  */
1242
- OwnershipTransferred: (callback: (event: {
1243
- previousOwner: `0x${string}`;
1244
- newOwner: `0x${string}`;
1622
+ BaseUriChanged: (callback: (event: {
1623
+ newBaseURI: string;
1624
+ }) => void) => () => void;
1625
+ /**
1626
+ * Watch BurnLazy events
1627
+ * @param callback Function to call when event is emitted
1628
+ * @param filter Optional filter for indexed parameters
1629
+ * @returns Unwatch function to stop listening
1630
+ */
1631
+ BurnLazy: (callback: (event: {
1632
+ operator: `0x${string}`;
1633
+ account: `0x${string}`;
1634
+ id: bigint;
1635
+ amount: bigint;
1245
1636
  }) => void, filter?: {
1246
- previousOwner: `0x${string}`;
1247
- newOwner: `0x${string}`;
1637
+ operator: `0x${string}`;
1638
+ account: `0x${string}`;
1639
+ }) => () => void;
1640
+ /**
1641
+ * Watch BurnLazyBatch events
1642
+ * @param callback Function to call when event is emitted
1643
+ * @param filter Optional filter for indexed parameters
1644
+ * @returns Unwatch function to stop listening
1645
+ */
1646
+ BurnLazyBatch: (callback: (event: {
1647
+ operator: `0x${string}`;
1648
+ account: `0x${string}`;
1649
+ ids: bigint[];
1650
+ amounts: bigint[];
1651
+ }) => void, filter?: {
1652
+ operator: `0x${string}`;
1653
+ account: `0x${string}`;
1248
1654
  }) => () => void;
1249
1655
  /**
1250
- * Watch SecondarySaleFees events
1656
+ * Watch CreateERC1155Rarible events
1657
+ * @param callback Function to call when event is emitted
1658
+ * @param filter Optional filter for indexed parameters
1659
+ * @returns Unwatch function to stop listening
1660
+ */
1661
+ CreateERC1155Rarible: (callback: (event: {
1662
+ owner: `0x${string}`;
1663
+ name: string;
1664
+ symbol: string;
1665
+ }) => void) => () => void;
1666
+ /**
1667
+ * Watch CreateERC1155RaribleUser events
1668
+ * @param callback Function to call when event is emitted
1669
+ * @param filter Optional filter for indexed parameters
1670
+ * @returns Unwatch function to stop listening
1671
+ */
1672
+ CreateERC1155RaribleUser: (callback: (event: {
1673
+ owner: `0x${string}`;
1674
+ name: string;
1675
+ symbol: string;
1676
+ }) => void) => () => void;
1677
+ /**
1678
+ * Watch Creators events
1251
1679
  * @param callback Function to call when event is emitted
1252
1680
  * @param filter Optional filter for indexed parameters
1253
1681
  * @returns Unwatch function to stop listening
1254
1682
  */
1255
- SecondarySaleFees: (callback: (event: {
1683
+ Creators: (callback: (event: {
1256
1684
  tokenId: bigint;
1257
- recipients: `0x${string}`[];
1258
- bps: bigint[];
1685
+ creators: LibPart_Part[];
1259
1686
  }) => void) => () => void;
1260
1687
  /**
1261
- * Watch SignerAdded events
1688
+ * Watch DefaultApproval events
1262
1689
  * @param callback Function to call when event is emitted
1263
1690
  * @param filter Optional filter for indexed parameters
1264
1691
  * @returns Unwatch function to stop listening
1265
1692
  */
1266
- SignerAdded: (callback: (event: {
1267
- account: `0x${string}`;
1693
+ DefaultApproval: (callback: (event: {
1694
+ operator: `0x${string}`;
1695
+ hasApproval: boolean;
1268
1696
  }) => void, filter?: {
1269
- account: `0x${string}`;
1697
+ operator: `0x${string}`;
1270
1698
  }) => () => void;
1271
1699
  /**
1272
- * Watch SignerRemoved events
1700
+ * Watch MinterStatusChanged events
1273
1701
  * @param callback Function to call when event is emitted
1274
1702
  * @param filter Optional filter for indexed parameters
1275
1703
  * @returns Unwatch function to stop listening
1276
1704
  */
1277
- SignerRemoved: (callback: (event: {
1278
- account: `0x${string}`;
1705
+ MinterStatusChanged: (callback: (event: {
1706
+ minter: `0x${string}`;
1707
+ status: boolean;
1279
1708
  }) => void, filter?: {
1280
- account: `0x${string}`;
1709
+ minter: `0x${string}`;
1710
+ status: boolean;
1711
+ }) => () => void;
1712
+ /**
1713
+ * Watch OwnershipTransferred events
1714
+ * @param callback Function to call when event is emitted
1715
+ * @param filter Optional filter for indexed parameters
1716
+ * @returns Unwatch function to stop listening
1717
+ */
1718
+ OwnershipTransferred: (callback: (event: {
1719
+ previousOwner: `0x${string}`;
1720
+ newOwner: `0x${string}`;
1721
+ }) => void, filter?: {
1722
+ previousOwner: `0x${string}`;
1723
+ newOwner: `0x${string}`;
1281
1724
  }) => () => void;
1725
+ /**
1726
+ * Watch RoyaltiesSet events
1727
+ * @param callback Function to call when event is emitted
1728
+ * @param filter Optional filter for indexed parameters
1729
+ * @returns Unwatch function to stop listening
1730
+ */
1731
+ RoyaltiesSet: (callback: (event: {
1732
+ tokenId: bigint;
1733
+ royalties: LibPart_Part[];
1734
+ }) => void) => () => void;
1735
+ /**
1736
+ * Watch Supply events
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;
1282
1745
  /**
1283
1746
  * Watch TransferBatch events
1284
1747
  * @param callback Function to call when event is emitted
@@ -1286,15 +1749,15 @@ export declare class RaribleToken_json {
1286
1749
  * @returns Unwatch function to stop listening
1287
1750
  */
1288
1751
  TransferBatch: (callback: (event: {
1289
- _operator: `0x${string}`;
1290
- _from: `0x${string}`;
1291
- _to: `0x${string}`;
1292
- _ids: bigint[];
1293
- _values: bigint[];
1752
+ operator: `0x${string}`;
1753
+ from: `0x${string}`;
1754
+ to: `0x${string}`;
1755
+ ids: bigint[];
1756
+ values: bigint[];
1294
1757
  }) => void, filter?: {
1295
- _operator: `0x${string}`;
1296
- _from: `0x${string}`;
1297
- _to: `0x${string}`;
1758
+ operator: `0x${string}`;
1759
+ from: `0x${string}`;
1760
+ to: `0x${string}`;
1298
1761
  }) => () => void;
1299
1762
  /**
1300
1763
  * Watch TransferSingle events
@@ -1303,15 +1766,15 @@ export declare class RaribleToken_json {
1303
1766
  * @returns Unwatch function to stop listening
1304
1767
  */
1305
1768
  TransferSingle: (callback: (event: {
1306
- _operator: `0x${string}`;
1307
- _from: `0x${string}`;
1308
- _to: `0x${string}`;
1309
- _id: bigint;
1310
- _value: bigint;
1769
+ operator: `0x${string}`;
1770
+ from: `0x${string}`;
1771
+ to: `0x${string}`;
1772
+ id: bigint;
1773
+ value: bigint;
1311
1774
  }) => void, filter?: {
1312
- _operator: `0x${string}`;
1313
- _from: `0x${string}`;
1314
- _to: `0x${string}`;
1775
+ operator: `0x${string}`;
1776
+ from: `0x${string}`;
1777
+ to: `0x${string}`;
1315
1778
  }) => () => void;
1316
1779
  /**
1317
1780
  * Watch URI events
@@ -1320,10 +1783,10 @@ export declare class RaribleToken_json {
1320
1783
  * @returns Unwatch function to stop listening
1321
1784
  */
1322
1785
  URI: (callback: (event: {
1323
- _id: bigint;
1324
- _value: string;
1786
+ id: bigint;
1787
+ value: string;
1325
1788
  }) => void, filter?: {
1326
- _id: bigint;
1789
+ id: bigint;
1327
1790
  }) => () => void;
1328
1791
  };
1329
1792
  }