@sentio/sdk 2.52.0-rc.1 → 2.52.0-rc.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.
@@ -221,175 +221,175 @@ export class token extends AptosBaseProcessor {
221
221
  return this;
222
222
  }
223
223
 
224
- onEventCreateCollection(
225
- func: (event: token.CreateCollectionInstance, ctx: AptosContext) => void,
224
+ onEventBurnTokenEvent(
225
+ func: (event: token.BurnTokenEventInstance, ctx: AptosContext) => void,
226
226
  fetchConfig?: Partial<MoveFetchConfig>,
227
227
  ): token {
228
- this.onMoveEvent(func, { type: "token::CreateCollection" }, fetchConfig);
228
+ this.onMoveEvent(func, { type: "token::BurnTokenEvent" }, fetchConfig);
229
229
  return this;
230
230
  }
231
231
 
232
- onEventCreateTokenData(
233
- func: (event: token.CreateTokenDataInstance, ctx: AptosContext) => void,
232
+ onEventCreateCollection(
233
+ func: (event: token.CreateCollectionInstance, ctx: AptosContext) => void,
234
234
  fetchConfig?: Partial<MoveFetchConfig>,
235
235
  ): token {
236
- this.onMoveEvent(func, { type: "token::CreateTokenData" }, fetchConfig);
236
+ this.onMoveEvent(func, { type: "token::CreateCollection" }, fetchConfig);
237
237
  return this;
238
238
  }
239
239
 
240
- onEventDeposit(
241
- func: (event: token.DepositInstance, ctx: AptosContext) => void,
240
+ onEventCreateCollectionEvent(
241
+ func: (
242
+ event: token.CreateCollectionEventInstance,
243
+ ctx: AptosContext,
244
+ ) => void,
242
245
  fetchConfig?: Partial<MoveFetchConfig>,
243
246
  ): token {
244
- this.onMoveEvent(func, { type: "token::Deposit" }, fetchConfig);
247
+ this.onMoveEvent(
248
+ func,
249
+ { type: "token::CreateCollectionEvent" },
250
+ fetchConfig,
251
+ );
245
252
  return this;
246
253
  }
247
254
 
248
- onEventMint(
249
- func: (event: token.MintInstance, ctx: AptosContext) => void,
255
+ onEventCreateTokenData(
256
+ func: (event: token.CreateTokenDataInstance, ctx: AptosContext) => void,
250
257
  fetchConfig?: Partial<MoveFetchConfig>,
251
258
  ): token {
252
- this.onMoveEvent(func, { type: "token::Mint" }, fetchConfig);
259
+ this.onMoveEvent(func, { type: "token::CreateTokenData" }, fetchConfig);
253
260
  return this;
254
261
  }
255
262
 
256
- onEventMintToken(
257
- func: (event: token.MintTokenInstance, ctx: AptosContext) => void,
263
+ onEventCreateTokenDataEvent(
264
+ func: (
265
+ event: token.CreateTokenDataEventInstance,
266
+ ctx: AptosContext,
267
+ ) => void,
258
268
  fetchConfig?: Partial<MoveFetchConfig>,
259
269
  ): token {
260
- this.onMoveEvent(func, { type: "token::MintToken" }, fetchConfig);
270
+ this.onMoveEvent(
271
+ func,
272
+ { type: "token::CreateTokenDataEvent" },
273
+ fetchConfig,
274
+ );
261
275
  return this;
262
276
  }
263
277
 
264
- onEventMutatePropertyMap(
265
- func: (event: token.MutatePropertyMapInstance, ctx: AptosContext) => void,
278
+ onEventDeposit(
279
+ func: (event: token.DepositInstance, ctx: AptosContext) => void,
266
280
  fetchConfig?: Partial<MoveFetchConfig>,
267
281
  ): token {
268
- this.onMoveEvent(func, { type: "token::MutatePropertyMap" }, fetchConfig);
282
+ this.onMoveEvent(func, { type: "token::Deposit" }, fetchConfig);
269
283
  return this;
270
284
  }
271
285
 
272
- onEventMutateTokenPropertyMap(
273
- func: (
274
- event: token.MutateTokenPropertyMapInstance,
275
- ctx: AptosContext,
276
- ) => void,
286
+ onEventDepositEvent(
287
+ func: (event: token.DepositEventInstance, ctx: AptosContext) => void,
277
288
  fetchConfig?: Partial<MoveFetchConfig>,
278
289
  ): token {
279
- this.onMoveEvent(
280
- func,
281
- { type: "token::MutateTokenPropertyMap" },
282
- fetchConfig,
283
- );
290
+ this.onMoveEvent(func, { type: "token::DepositEvent" }, fetchConfig);
284
291
  return this;
285
292
  }
286
293
 
287
- onEventTokenDataCreation(
288
- func: (event: token.TokenDataCreationInstance, ctx: AptosContext) => void,
294
+ onEventMint(
295
+ func: (event: token.MintInstance, ctx: AptosContext) => void,
289
296
  fetchConfig?: Partial<MoveFetchConfig>,
290
297
  ): token {
291
- this.onMoveEvent(func, { type: "token::TokenDataCreation" }, fetchConfig);
298
+ this.onMoveEvent(func, { type: "token::Mint" }, fetchConfig);
292
299
  return this;
293
300
  }
294
301
 
295
- onEventTokenDeposit(
296
- func: (event: token.TokenDepositInstance, ctx: AptosContext) => void,
302
+ onEventMintToken(
303
+ func: (event: token.MintTokenInstance, ctx: AptosContext) => void,
297
304
  fetchConfig?: Partial<MoveFetchConfig>,
298
305
  ): token {
299
- this.onMoveEvent(func, { type: "token::TokenDeposit" }, fetchConfig);
306
+ this.onMoveEvent(func, { type: "token::MintToken" }, fetchConfig);
300
307
  return this;
301
308
  }
302
309
 
303
- onEventTokenWithdraw(
304
- func: (event: token.TokenWithdrawInstance, ctx: AptosContext) => void,
310
+ onEventMintTokenEvent(
311
+ func: (event: token.MintTokenEventInstance, ctx: AptosContext) => void,
305
312
  fetchConfig?: Partial<MoveFetchConfig>,
306
313
  ): token {
307
- this.onMoveEvent(func, { type: "token::TokenWithdraw" }, fetchConfig);
314
+ this.onMoveEvent(func, { type: "token::MintTokenEvent" }, fetchConfig);
308
315
  return this;
309
316
  }
310
317
 
311
- onEventWithdraw(
312
- func: (event: token.WithdrawInstance, ctx: AptosContext) => void,
318
+ onEventMutatePropertyMap(
319
+ func: (event: token.MutatePropertyMapInstance, ctx: AptosContext) => void,
313
320
  fetchConfig?: Partial<MoveFetchConfig>,
314
321
  ): token {
315
- this.onMoveEvent(func, { type: "token::Withdraw" }, fetchConfig);
322
+ this.onMoveEvent(func, { type: "token::MutatePropertyMap" }, fetchConfig);
316
323
  return this;
317
324
  }
318
325
 
319
- onEventCreateCollectionEvent(
326
+ onEventMutateTokenPropertyMap(
320
327
  func: (
321
- event: token.CreateCollectionEventInstance,
328
+ event: token.MutateTokenPropertyMapInstance,
322
329
  ctx: AptosContext,
323
330
  ) => void,
324
331
  fetchConfig?: Partial<MoveFetchConfig>,
325
332
  ): token {
326
333
  this.onMoveEvent(
327
334
  func,
328
- { type: "token::CreateCollectionEvent" },
335
+ { type: "token::MutateTokenPropertyMap" },
329
336
  fetchConfig,
330
337
  );
331
338
  return this;
332
339
  }
333
340
 
334
- onEventCreateTokenDataEvent(
341
+ onEventMutateTokenPropertyMapEvent(
335
342
  func: (
336
- event: token.CreateTokenDataEventInstance,
343
+ event: token.MutateTokenPropertyMapEventInstance,
337
344
  ctx: AptosContext,
338
345
  ) => void,
339
346
  fetchConfig?: Partial<MoveFetchConfig>,
340
347
  ): token {
341
348
  this.onMoveEvent(
342
349
  func,
343
- { type: "token::CreateTokenDataEvent" },
350
+ { type: "token::MutateTokenPropertyMapEvent" },
344
351
  fetchConfig,
345
352
  );
346
353
  return this;
347
354
  }
348
355
 
349
- onEventMintTokenEvent(
350
- func: (event: token.MintTokenEventInstance, ctx: AptosContext) => void,
356
+ onEventTokenDataCreation(
357
+ func: (event: token.TokenDataCreationInstance, ctx: AptosContext) => void,
351
358
  fetchConfig?: Partial<MoveFetchConfig>,
352
359
  ): token {
353
- this.onMoveEvent(func, { type: "token::MintTokenEvent" }, fetchConfig);
360
+ this.onMoveEvent(func, { type: "token::TokenDataCreation" }, fetchConfig);
354
361
  return this;
355
362
  }
356
363
 
357
- onEventDepositEvent(
358
- func: (event: token.DepositEventInstance, ctx: AptosContext) => void,
364
+ onEventTokenDeposit(
365
+ func: (event: token.TokenDepositInstance, ctx: AptosContext) => void,
359
366
  fetchConfig?: Partial<MoveFetchConfig>,
360
367
  ): token {
361
- this.onMoveEvent(func, { type: "token::DepositEvent" }, fetchConfig);
368
+ this.onMoveEvent(func, { type: "token::TokenDeposit" }, fetchConfig);
362
369
  return this;
363
370
  }
364
371
 
365
- onEventWithdrawEvent(
366
- func: (event: token.WithdrawEventInstance, ctx: AptosContext) => void,
372
+ onEventTokenWithdraw(
373
+ func: (event: token.TokenWithdrawInstance, ctx: AptosContext) => void,
367
374
  fetchConfig?: Partial<MoveFetchConfig>,
368
375
  ): token {
369
- this.onMoveEvent(func, { type: "token::WithdrawEvent" }, fetchConfig);
376
+ this.onMoveEvent(func, { type: "token::TokenWithdraw" }, fetchConfig);
370
377
  return this;
371
378
  }
372
379
 
373
- onEventBurnTokenEvent(
374
- func: (event: token.BurnTokenEventInstance, ctx: AptosContext) => void,
380
+ onEventWithdraw(
381
+ func: (event: token.WithdrawInstance, ctx: AptosContext) => void,
375
382
  fetchConfig?: Partial<MoveFetchConfig>,
376
383
  ): token {
377
- this.onMoveEvent(func, { type: "token::BurnTokenEvent" }, fetchConfig);
384
+ this.onMoveEvent(func, { type: "token::Withdraw" }, fetchConfig);
378
385
  return this;
379
386
  }
380
387
 
381
- onEventMutateTokenPropertyMapEvent(
382
- func: (
383
- event: token.MutateTokenPropertyMapEventInstance,
384
- ctx: AptosContext,
385
- ) => void,
388
+ onEventWithdrawEvent(
389
+ func: (event: token.WithdrawEventInstance, ctx: AptosContext) => void,
386
390
  fetchConfig?: Partial<MoveFetchConfig>,
387
391
  ): token {
388
- this.onMoveEvent(
389
- func,
390
- { type: "token::MutateTokenPropertyMapEvent" },
391
- fetchConfig,
392
- );
392
+ this.onMoveEvent(func, { type: "token::WithdrawEvent" }, fetchConfig);
393
393
  return this;
394
394
  }
395
395
  }
@@ -2446,256 +2446,256 @@ export class token_event_store extends AptosBaseProcessor {
2446
2446
  return this;
2447
2447
  }
2448
2448
 
2449
- onEventCollectionMaxiumMutate(
2449
+ onEventCollectionDescriptionMutateEvent(
2450
2450
  func: (
2451
- event: token_event_store.CollectionMaxiumMutateInstance,
2451
+ event: token_event_store.CollectionDescriptionMutateEventInstance,
2452
2452
  ctx: AptosContext,
2453
2453
  ) => void,
2454
2454
  fetchConfig?: Partial<MoveFetchConfig>,
2455
2455
  ): token_event_store {
2456
2456
  this.onMoveEvent(
2457
2457
  func,
2458
- { type: "token_event_store::CollectionMaxiumMutate" },
2458
+ { type: "token_event_store::CollectionDescriptionMutateEvent" },
2459
2459
  fetchConfig,
2460
2460
  );
2461
2461
  return this;
2462
2462
  }
2463
2463
 
2464
- onEventCollectionUriMutate(
2464
+ onEventCollectionMaxiumMutate(
2465
2465
  func: (
2466
- event: token_event_store.CollectionUriMutateInstance,
2466
+ event: token_event_store.CollectionMaxiumMutateInstance,
2467
2467
  ctx: AptosContext,
2468
2468
  ) => void,
2469
2469
  fetchConfig?: Partial<MoveFetchConfig>,
2470
2470
  ): token_event_store {
2471
2471
  this.onMoveEvent(
2472
2472
  func,
2473
- { type: "token_event_store::CollectionUriMutate" },
2473
+ { type: "token_event_store::CollectionMaxiumMutate" },
2474
2474
  fetchConfig,
2475
2475
  );
2476
2476
  return this;
2477
2477
  }
2478
2478
 
2479
- onEventDefaultPropertyMutate(
2479
+ onEventCollectionMaxiumMutateEvent(
2480
2480
  func: (
2481
- event: token_event_store.DefaultPropertyMutateInstance,
2481
+ event: token_event_store.CollectionMaxiumMutateEventInstance,
2482
2482
  ctx: AptosContext,
2483
2483
  ) => void,
2484
2484
  fetchConfig?: Partial<MoveFetchConfig>,
2485
2485
  ): token_event_store {
2486
2486
  this.onMoveEvent(
2487
2487
  func,
2488
- { type: "token_event_store::DefaultPropertyMutate" },
2488
+ { type: "token_event_store::CollectionMaxiumMutateEvent" },
2489
2489
  fetchConfig,
2490
2490
  );
2491
2491
  return this;
2492
2492
  }
2493
2493
 
2494
- onEventDescriptionMutate(
2494
+ onEventCollectionUriMutate(
2495
2495
  func: (
2496
- event: token_event_store.DescriptionMutateInstance,
2496
+ event: token_event_store.CollectionUriMutateInstance,
2497
2497
  ctx: AptosContext,
2498
2498
  ) => void,
2499
2499
  fetchConfig?: Partial<MoveFetchConfig>,
2500
2500
  ): token_event_store {
2501
2501
  this.onMoveEvent(
2502
2502
  func,
2503
- { type: "token_event_store::DescriptionMutate" },
2503
+ { type: "token_event_store::CollectionUriMutate" },
2504
2504
  fetchConfig,
2505
2505
  );
2506
2506
  return this;
2507
2507
  }
2508
2508
 
2509
- onEventMaximumMutate(
2509
+ onEventCollectionUriMutateEvent(
2510
2510
  func: (
2511
- event: token_event_store.MaximumMutateInstance,
2511
+ event: token_event_store.CollectionUriMutateEventInstance,
2512
2512
  ctx: AptosContext,
2513
2513
  ) => void,
2514
2514
  fetchConfig?: Partial<MoveFetchConfig>,
2515
2515
  ): token_event_store {
2516
2516
  this.onMoveEvent(
2517
2517
  func,
2518
- { type: "token_event_store::MaximumMutate" },
2518
+ { type: "token_event_store::CollectionUriMutateEvent" },
2519
2519
  fetchConfig,
2520
2520
  );
2521
2521
  return this;
2522
2522
  }
2523
2523
 
2524
- onEventOptInTransfer(
2524
+ onEventDefaultPropertyMutate(
2525
2525
  func: (
2526
- event: token_event_store.OptInTransferInstance,
2526
+ event: token_event_store.DefaultPropertyMutateInstance,
2527
2527
  ctx: AptosContext,
2528
2528
  ) => void,
2529
2529
  fetchConfig?: Partial<MoveFetchConfig>,
2530
2530
  ): token_event_store {
2531
2531
  this.onMoveEvent(
2532
2532
  func,
2533
- { type: "token_event_store::OptInTransfer" },
2533
+ { type: "token_event_store::DefaultPropertyMutate" },
2534
2534
  fetchConfig,
2535
2535
  );
2536
2536
  return this;
2537
2537
  }
2538
2538
 
2539
- onEventRoyaltyMutate(
2539
+ onEventDefaultPropertyMutateEvent(
2540
2540
  func: (
2541
- event: token_event_store.RoyaltyMutateInstance,
2541
+ event: token_event_store.DefaultPropertyMutateEventInstance,
2542
2542
  ctx: AptosContext,
2543
2543
  ) => void,
2544
2544
  fetchConfig?: Partial<MoveFetchConfig>,
2545
2545
  ): token_event_store {
2546
2546
  this.onMoveEvent(
2547
2547
  func,
2548
- { type: "token_event_store::RoyaltyMutate" },
2548
+ { type: "token_event_store::DefaultPropertyMutateEvent" },
2549
2549
  fetchConfig,
2550
2550
  );
2551
2551
  return this;
2552
2552
  }
2553
2553
 
2554
- onEventUriMutation(
2554
+ onEventDescriptionMutate(
2555
2555
  func: (
2556
- event: token_event_store.UriMutationInstance,
2556
+ event: token_event_store.DescriptionMutateInstance,
2557
2557
  ctx: AptosContext,
2558
2558
  ) => void,
2559
2559
  fetchConfig?: Partial<MoveFetchConfig>,
2560
2560
  ): token_event_store {
2561
2561
  this.onMoveEvent(
2562
2562
  func,
2563
- { type: "token_event_store::UriMutation" },
2563
+ { type: "token_event_store::DescriptionMutate" },
2564
2564
  fetchConfig,
2565
2565
  );
2566
2566
  return this;
2567
2567
  }
2568
2568
 
2569
- onEventCollectionUriMutateEvent(
2569
+ onEventDescriptionMutateEvent(
2570
2570
  func: (
2571
- event: token_event_store.CollectionUriMutateEventInstance,
2571
+ event: token_event_store.DescriptionMutateEventInstance,
2572
2572
  ctx: AptosContext,
2573
2573
  ) => void,
2574
2574
  fetchConfig?: Partial<MoveFetchConfig>,
2575
2575
  ): token_event_store {
2576
2576
  this.onMoveEvent(
2577
2577
  func,
2578
- { type: "token_event_store::CollectionUriMutateEvent" },
2578
+ { type: "token_event_store::DescriptionMutateEvent" },
2579
2579
  fetchConfig,
2580
2580
  );
2581
2581
  return this;
2582
2582
  }
2583
2583
 
2584
- onEventCollectionMaxiumMutateEvent(
2584
+ onEventMaximumMutate(
2585
2585
  func: (
2586
- event: token_event_store.CollectionMaxiumMutateEventInstance,
2586
+ event: token_event_store.MaximumMutateInstance,
2587
2587
  ctx: AptosContext,
2588
2588
  ) => void,
2589
2589
  fetchConfig?: Partial<MoveFetchConfig>,
2590
2590
  ): token_event_store {
2591
2591
  this.onMoveEvent(
2592
2592
  func,
2593
- { type: "token_event_store::CollectionMaxiumMutateEvent" },
2593
+ { type: "token_event_store::MaximumMutate" },
2594
2594
  fetchConfig,
2595
2595
  );
2596
2596
  return this;
2597
2597
  }
2598
2598
 
2599
- onEventCollectionDescriptionMutateEvent(
2599
+ onEventMaxiumMutateEvent(
2600
2600
  func: (
2601
- event: token_event_store.CollectionDescriptionMutateEventInstance,
2601
+ event: token_event_store.MaxiumMutateEventInstance,
2602
2602
  ctx: AptosContext,
2603
2603
  ) => void,
2604
2604
  fetchConfig?: Partial<MoveFetchConfig>,
2605
2605
  ): token_event_store {
2606
2606
  this.onMoveEvent(
2607
2607
  func,
2608
- { type: "token_event_store::CollectionDescriptionMutateEvent" },
2608
+ { type: "token_event_store::MaxiumMutateEvent" },
2609
2609
  fetchConfig,
2610
2610
  );
2611
2611
  return this;
2612
2612
  }
2613
2613
 
2614
- onEventOptInTransferEvent(
2614
+ onEventOptInTransfer(
2615
2615
  func: (
2616
- event: token_event_store.OptInTransferEventInstance,
2616
+ event: token_event_store.OptInTransferInstance,
2617
2617
  ctx: AptosContext,
2618
2618
  ) => void,
2619
2619
  fetchConfig?: Partial<MoveFetchConfig>,
2620
2620
  ): token_event_store {
2621
2621
  this.onMoveEvent(
2622
2622
  func,
2623
- { type: "token_event_store::OptInTransferEvent" },
2623
+ { type: "token_event_store::OptInTransfer" },
2624
2624
  fetchConfig,
2625
2625
  );
2626
2626
  return this;
2627
2627
  }
2628
2628
 
2629
- onEventUriMutationEvent(
2629
+ onEventOptInTransferEvent(
2630
2630
  func: (
2631
- event: token_event_store.UriMutationEventInstance,
2631
+ event: token_event_store.OptInTransferEventInstance,
2632
2632
  ctx: AptosContext,
2633
2633
  ) => void,
2634
2634
  fetchConfig?: Partial<MoveFetchConfig>,
2635
2635
  ): token_event_store {
2636
2636
  this.onMoveEvent(
2637
2637
  func,
2638
- { type: "token_event_store::UriMutationEvent" },
2638
+ { type: "token_event_store::OptInTransferEvent" },
2639
2639
  fetchConfig,
2640
2640
  );
2641
2641
  return this;
2642
2642
  }
2643
2643
 
2644
- onEventDefaultPropertyMutateEvent(
2644
+ onEventRoyaltyMutate(
2645
2645
  func: (
2646
- event: token_event_store.DefaultPropertyMutateEventInstance,
2646
+ event: token_event_store.RoyaltyMutateInstance,
2647
2647
  ctx: AptosContext,
2648
2648
  ) => void,
2649
2649
  fetchConfig?: Partial<MoveFetchConfig>,
2650
2650
  ): token_event_store {
2651
2651
  this.onMoveEvent(
2652
2652
  func,
2653
- { type: "token_event_store::DefaultPropertyMutateEvent" },
2653
+ { type: "token_event_store::RoyaltyMutate" },
2654
2654
  fetchConfig,
2655
2655
  );
2656
2656
  return this;
2657
2657
  }
2658
2658
 
2659
- onEventDescriptionMutateEvent(
2659
+ onEventRoyaltyMutateEvent(
2660
2660
  func: (
2661
- event: token_event_store.DescriptionMutateEventInstance,
2661
+ event: token_event_store.RoyaltyMutateEventInstance,
2662
2662
  ctx: AptosContext,
2663
2663
  ) => void,
2664
2664
  fetchConfig?: Partial<MoveFetchConfig>,
2665
2665
  ): token_event_store {
2666
2666
  this.onMoveEvent(
2667
2667
  func,
2668
- { type: "token_event_store::DescriptionMutateEvent" },
2668
+ { type: "token_event_store::RoyaltyMutateEvent" },
2669
2669
  fetchConfig,
2670
2670
  );
2671
2671
  return this;
2672
2672
  }
2673
2673
 
2674
- onEventRoyaltyMutateEvent(
2674
+ onEventUriMutation(
2675
2675
  func: (
2676
- event: token_event_store.RoyaltyMutateEventInstance,
2676
+ event: token_event_store.UriMutationInstance,
2677
2677
  ctx: AptosContext,
2678
2678
  ) => void,
2679
2679
  fetchConfig?: Partial<MoveFetchConfig>,
2680
2680
  ): token_event_store {
2681
2681
  this.onMoveEvent(
2682
2682
  func,
2683
- { type: "token_event_store::RoyaltyMutateEvent" },
2683
+ { type: "token_event_store::UriMutation" },
2684
2684
  fetchConfig,
2685
2685
  );
2686
2686
  return this;
2687
2687
  }
2688
2688
 
2689
- onEventMaxiumMutateEvent(
2689
+ onEventUriMutationEvent(
2690
2690
  func: (
2691
- event: token_event_store.MaxiumMutateEventInstance,
2691
+ event: token_event_store.UriMutationEventInstance,
2692
2692
  ctx: AptosContext,
2693
2693
  ) => void,
2694
2694
  fetchConfig?: Partial<MoveFetchConfig>,
2695
2695
  ): token_event_store {
2696
2696
  this.onMoveEvent(
2697
2697
  func,
2698
- { type: "token_event_store::MaxiumMutateEvent" },
2698
+ { type: "token_event_store::UriMutationEvent" },
2699
2699
  fetchConfig,
2700
2700
  );
2701
2701
  return this;
@@ -441,6 +441,14 @@ export class collection extends AptosBaseProcessor {
441
441
  return this;
442
442
  }
443
443
 
444
+ onEventBurnEvent(
445
+ func: (event: collection.BurnEventInstance, ctx: AptosContext) => void,
446
+ fetchConfig?: Partial<MoveFetchConfig>,
447
+ ): collection {
448
+ this.onMoveEvent(func, { type: "collection::BurnEvent" }, fetchConfig);
449
+ return this;
450
+ }
451
+
444
452
  onEventConcurrentBurnEvent(
445
453
  func: (
446
454
  event: collection.ConcurrentBurnEventInstance,
@@ -479,19 +487,19 @@ export class collection extends AptosBaseProcessor {
479
487
  return this;
480
488
  }
481
489
 
482
- onEventMutation(
483
- func: (event: collection.MutationInstance, ctx: AptosContext) => void,
490
+ onEventMintEvent(
491
+ func: (event: collection.MintEventInstance, ctx: AptosContext) => void,
484
492
  fetchConfig?: Partial<MoveFetchConfig>,
485
493
  ): collection {
486
- this.onMoveEvent(func, { type: "collection::Mutation" }, fetchConfig);
494
+ this.onMoveEvent(func, { type: "collection::MintEvent" }, fetchConfig);
487
495
  return this;
488
496
  }
489
497
 
490
- onEventSetMaxSupply(
491
- func: (event: collection.SetMaxSupplyInstance, ctx: AptosContext) => void,
498
+ onEventMutation(
499
+ func: (event: collection.MutationInstance, ctx: AptosContext) => void,
492
500
  fetchConfig?: Partial<MoveFetchConfig>,
493
501
  ): collection {
494
- this.onMoveEvent(func, { type: "collection::SetMaxSupply" }, fetchConfig);
502
+ this.onMoveEvent(func, { type: "collection::Mutation" }, fetchConfig);
495
503
  return this;
496
504
  }
497
505
 
@@ -503,19 +511,11 @@ export class collection extends AptosBaseProcessor {
503
511
  return this;
504
512
  }
505
513
 
506
- onEventBurnEvent(
507
- func: (event: collection.BurnEventInstance, ctx: AptosContext) => void,
508
- fetchConfig?: Partial<MoveFetchConfig>,
509
- ): collection {
510
- this.onMoveEvent(func, { type: "collection::BurnEvent" }, fetchConfig);
511
- return this;
512
- }
513
-
514
- onEventMintEvent(
515
- func: (event: collection.MintEventInstance, ctx: AptosContext) => void,
514
+ onEventSetMaxSupply(
515
+ func: (event: collection.SetMaxSupplyInstance, ctx: AptosContext) => void,
516
516
  fetchConfig?: Partial<MoveFetchConfig>,
517
517
  ): collection {
518
- this.onMoveEvent(func, { type: "collection::MintEvent" }, fetchConfig);
518
+ this.onMoveEvent(func, { type: "collection::SetMaxSupply" }, fetchConfig);
519
519
  return this;
520
520
  }
521
521
  }
@@ -69,7 +69,7 @@ export abstract class SuiBaseObjectOrAddressProcessor<HandlerType> {
69
69
  if (options.ownerType === MoveOwnerType.TYPE) {
70
70
  this.config = {
71
71
  startCheckpoint: options.startCheckpoint || 0n,
72
- address: accountTypeString(options.address),
72
+ address: options.address === '*' ? '*' : accountTypeString(options.address),
73
73
  network: options.network || SuiNetwork.MAIN_NET,
74
74
  baseLabels: options.baseLabels
75
75
  }