@sentio/sdk 2.59.0-rc.22 → 2.59.0-rc.24

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.
Files changed (67) hide show
  1. package/lib/aptos/aptos-plugin.d.ts +5 -2
  2. package/lib/aptos/aptos-plugin.d.ts.map +1 -1
  3. package/lib/aptos/aptos-plugin.js +41 -2
  4. package/lib/aptos/aptos-plugin.js.map +1 -1
  5. package/lib/aptos/aptos-processor.d.ts +6 -5
  6. package/lib/aptos/aptos-processor.d.ts.map +1 -1
  7. package/lib/aptos/aptos-processor.js +18 -12
  8. package/lib/aptos/aptos-processor.js.map +1 -1
  9. package/lib/aptos/builtin/0x1.d.ts +159 -159
  10. package/lib/aptos/builtin/0x1.d.ts.map +1 -1
  11. package/lib/aptos/builtin/0x1.js +316 -316
  12. package/lib/aptos/builtin/0x1.js.map +1 -1
  13. package/lib/aptos/builtin/0x3.d.ts +52 -52
  14. package/lib/aptos/builtin/0x3.d.ts.map +1 -1
  15. package/lib/aptos/builtin/0x3.js +102 -102
  16. package/lib/aptos/builtin/0x3.js.map +1 -1
  17. package/lib/aptos/builtin/0x4.d.ts +12 -12
  18. package/lib/aptos/builtin/0x4.d.ts.map +1 -1
  19. package/lib/aptos/builtin/0x4.js +22 -22
  20. package/lib/aptos/builtin/0x4.js.map +1 -1
  21. package/lib/aptos/codegen/codegen.js +10 -0
  22. package/lib/aptos/codegen/codegen.js.map +1 -1
  23. package/lib/aptos/data.d.ts +20 -0
  24. package/lib/aptos/data.d.ts.map +1 -0
  25. package/lib/aptos/data.js +38 -0
  26. package/lib/aptos/data.js.map +1 -0
  27. package/lib/aptos/index.d.ts +1 -0
  28. package/lib/aptos/index.d.ts.map +1 -1
  29. package/lib/aptos/index.js.map +1 -1
  30. package/lib/aptos/models.d.ts +5 -0
  31. package/lib/aptos/models.d.ts.map +1 -1
  32. package/lib/eth/base-processor.d.ts +6 -2
  33. package/lib/eth/base-processor.d.ts.map +1 -1
  34. package/lib/eth/base-processor.js +5 -1
  35. package/lib/eth/base-processor.js.map +1 -1
  36. package/lib/move/filter.d.ts +1 -0
  37. package/lib/move/filter.d.ts.map +1 -1
  38. package/lib/move/filter.js +1 -0
  39. package/lib/move/filter.js.map +1 -1
  40. package/lib/move/shared-network-codegen.d.ts.map +1 -1
  41. package/lib/move/shared-network-codegen.js +1 -0
  42. package/lib/move/shared-network-codegen.js.map +1 -1
  43. package/lib/sui/builtin/0x1.d.ts.map +1 -1
  44. package/lib/sui/builtin/0x1.js.map +1 -1
  45. package/lib/sui/builtin/0x2.d.ts.map +1 -1
  46. package/lib/sui/builtin/0x2.js.map +1 -1
  47. package/lib/sui/builtin/0x3.d.ts.map +1 -1
  48. package/lib/sui/builtin/0x3.js.map +1 -1
  49. package/lib/sui/models.d.ts +5 -0
  50. package/lib/sui/models.d.ts.map +1 -1
  51. package/package.json +3 -3
  52. package/src/aptos/aptos-plugin.ts +50 -3
  53. package/src/aptos/aptos-processor.ts +22 -24
  54. package/src/aptos/builtin/0x1.ts +317 -316
  55. package/src/aptos/builtin/0x3.ts +103 -102
  56. package/src/aptos/builtin/0x4.ts +23 -22
  57. package/src/aptos/codegen/codegen.ts +13 -1
  58. package/src/aptos/data.ts +48 -0
  59. package/src/aptos/index.ts +2 -0
  60. package/src/aptos/models.ts +7 -0
  61. package/src/eth/base-processor.ts +7 -2
  62. package/src/move/filter.ts +1 -0
  63. package/src/move/shared-network-codegen.ts +1 -0
  64. package/src/sui/builtin/0x1.ts +1 -0
  65. package/src/sui/builtin/0x2.ts +1 -0
  66. package/src/sui/builtin/0x3.ts +1 -0
  67. package/src/sui/models.ts +7 -0
@@ -10,6 +10,7 @@ import {
10
10
  AptosBaseProcessor,
11
11
  AptosNetwork,
12
12
  TypedFunctionPayload,
13
+ HandlerOptions,
13
14
  AptosContext,
14
15
  } from "@sentio/sdk/aptos";
15
16
 
@@ -208,104 +209,104 @@ export class token extends AptosBaseProcessor {
208
209
 
209
210
  onEventDeposit(
210
211
  func: (event: token.DepositInstance, ctx: AptosContext) => void,
211
- fetchConfig?: Partial<MoveFetchConfig>,
212
+ handlerOptions?: HandlerOptions<token.DepositInstance>,
212
213
  eventFilter?: Omit<EventFilter, "type" | "account">,
213
214
  ): token {
214
215
  this.onMoveEvent(
215
216
  func,
216
217
  { ...(eventFilter ?? {}), type: "token::Deposit" },
217
- fetchConfig,
218
+ handlerOptions,
218
219
  );
219
220
  return this;
220
221
  }
221
222
 
222
223
  onEventDepositEvent(
223
224
  func: (event: token.DepositEventInstance, ctx: AptosContext) => void,
224
- fetchConfig?: Partial<MoveFetchConfig>,
225
+ handlerOptions?: HandlerOptions<token.DepositEventInstance>,
225
226
  eventFilter?: Omit<EventFilter, "type" | "account">,
226
227
  ): token {
227
228
  this.onMoveEvent(
228
229
  func,
229
230
  { ...(eventFilter ?? {}), type: "token::DepositEvent" },
230
- fetchConfig,
231
+ handlerOptions,
231
232
  );
232
233
  return this;
233
234
  }
234
235
 
235
236
  onEventWithdraw(
236
237
  func: (event: token.WithdrawInstance, ctx: AptosContext) => void,
237
- fetchConfig?: Partial<MoveFetchConfig>,
238
+ handlerOptions?: HandlerOptions<token.WithdrawInstance>,
238
239
  eventFilter?: Omit<EventFilter, "type" | "account">,
239
240
  ): token {
240
241
  this.onMoveEvent(
241
242
  func,
242
243
  { ...(eventFilter ?? {}), type: "token::Withdraw" },
243
- fetchConfig,
244
+ handlerOptions,
244
245
  );
245
246
  return this;
246
247
  }
247
248
 
248
249
  onEventWithdrawEvent(
249
250
  func: (event: token.WithdrawEventInstance, ctx: AptosContext) => void,
250
- fetchConfig?: Partial<MoveFetchConfig>,
251
+ handlerOptions?: HandlerOptions<token.WithdrawEventInstance>,
251
252
  eventFilter?: Omit<EventFilter, "type" | "account">,
252
253
  ): token {
253
254
  this.onMoveEvent(
254
255
  func,
255
256
  { ...(eventFilter ?? {}), type: "token::WithdrawEvent" },
256
- fetchConfig,
257
+ handlerOptions,
257
258
  );
258
259
  return this;
259
260
  }
260
261
 
261
262
  onEventBurn(
262
263
  func: (event: token.BurnInstance, ctx: AptosContext) => void,
263
- fetchConfig?: Partial<MoveFetchConfig>,
264
+ handlerOptions?: HandlerOptions<token.BurnInstance>,
264
265
  eventFilter?: Omit<EventFilter, "type" | "account">,
265
266
  ): token {
266
267
  this.onMoveEvent(
267
268
  func,
268
269
  { ...(eventFilter ?? {}), type: "token::Burn" },
269
- fetchConfig,
270
+ handlerOptions,
270
271
  );
271
272
  return this;
272
273
  }
273
274
 
274
275
  onEventBurnToken(
275
276
  func: (event: token.BurnTokenInstance, ctx: AptosContext) => void,
276
- fetchConfig?: Partial<MoveFetchConfig>,
277
+ handlerOptions?: HandlerOptions<token.BurnTokenInstance>,
277
278
  eventFilter?: Omit<EventFilter, "type" | "account">,
278
279
  ): token {
279
280
  this.onMoveEvent(
280
281
  func,
281
282
  { ...(eventFilter ?? {}), type: "token::BurnToken" },
282
- fetchConfig,
283
+ handlerOptions,
283
284
  );
284
285
  return this;
285
286
  }
286
287
 
287
288
  onEventBurnTokenEvent(
288
289
  func: (event: token.BurnTokenEventInstance, ctx: AptosContext) => void,
289
- fetchConfig?: Partial<MoveFetchConfig>,
290
+ handlerOptions?: HandlerOptions<token.BurnTokenEventInstance>,
290
291
  eventFilter?: Omit<EventFilter, "type" | "account">,
291
292
  ): token {
292
293
  this.onMoveEvent(
293
294
  func,
294
295
  { ...(eventFilter ?? {}), type: "token::BurnTokenEvent" },
295
- fetchConfig,
296
+ handlerOptions,
296
297
  );
297
298
  return this;
298
299
  }
299
300
 
300
301
  onEventCreateCollection(
301
302
  func: (event: token.CreateCollectionInstance, ctx: AptosContext) => void,
302
- fetchConfig?: Partial<MoveFetchConfig>,
303
+ handlerOptions?: HandlerOptions<token.CreateCollectionInstance>,
303
304
  eventFilter?: Omit<EventFilter, "type" | "account">,
304
305
  ): token {
305
306
  this.onMoveEvent(
306
307
  func,
307
308
  { ...(eventFilter ?? {}), type: "token::CreateCollection" },
308
- fetchConfig,
309
+ handlerOptions,
309
310
  );
310
311
  return this;
311
312
  }
@@ -315,26 +316,26 @@ export class token extends AptosBaseProcessor {
315
316
  event: token.CreateCollectionEventInstance,
316
317
  ctx: AptosContext,
317
318
  ) => void,
318
- fetchConfig?: Partial<MoveFetchConfig>,
319
+ handlerOptions?: HandlerOptions<token.CreateCollectionEventInstance>,
319
320
  eventFilter?: Omit<EventFilter, "type" | "account">,
320
321
  ): token {
321
322
  this.onMoveEvent(
322
323
  func,
323
324
  { ...(eventFilter ?? {}), type: "token::CreateCollectionEvent" },
324
- fetchConfig,
325
+ handlerOptions,
325
326
  );
326
327
  return this;
327
328
  }
328
329
 
329
330
  onEventCreateTokenData(
330
331
  func: (event: token.CreateTokenDataInstance, ctx: AptosContext) => void,
331
- fetchConfig?: Partial<MoveFetchConfig>,
332
+ handlerOptions?: HandlerOptions<token.CreateTokenDataInstance>,
332
333
  eventFilter?: Omit<EventFilter, "type" | "account">,
333
334
  ): token {
334
335
  this.onMoveEvent(
335
336
  func,
336
337
  { ...(eventFilter ?? {}), type: "token::CreateTokenData" },
337
- fetchConfig,
338
+ handlerOptions,
338
339
  );
339
340
  return this;
340
341
  }
@@ -344,65 +345,65 @@ export class token extends AptosBaseProcessor {
344
345
  event: token.CreateTokenDataEventInstance,
345
346
  ctx: AptosContext,
346
347
  ) => void,
347
- fetchConfig?: Partial<MoveFetchConfig>,
348
+ handlerOptions?: HandlerOptions<token.CreateTokenDataEventInstance>,
348
349
  eventFilter?: Omit<EventFilter, "type" | "account">,
349
350
  ): token {
350
351
  this.onMoveEvent(
351
352
  func,
352
353
  { ...(eventFilter ?? {}), type: "token::CreateTokenDataEvent" },
353
- fetchConfig,
354
+ handlerOptions,
354
355
  );
355
356
  return this;
356
357
  }
357
358
 
358
359
  onEventMint(
359
360
  func: (event: token.MintInstance, ctx: AptosContext) => void,
360
- fetchConfig?: Partial<MoveFetchConfig>,
361
+ handlerOptions?: HandlerOptions<token.MintInstance>,
361
362
  eventFilter?: Omit<EventFilter, "type" | "account">,
362
363
  ): token {
363
364
  this.onMoveEvent(
364
365
  func,
365
366
  { ...(eventFilter ?? {}), type: "token::Mint" },
366
- fetchConfig,
367
+ handlerOptions,
367
368
  );
368
369
  return this;
369
370
  }
370
371
 
371
372
  onEventMintToken(
372
373
  func: (event: token.MintTokenInstance, ctx: AptosContext) => void,
373
- fetchConfig?: Partial<MoveFetchConfig>,
374
+ handlerOptions?: HandlerOptions<token.MintTokenInstance>,
374
375
  eventFilter?: Omit<EventFilter, "type" | "account">,
375
376
  ): token {
376
377
  this.onMoveEvent(
377
378
  func,
378
379
  { ...(eventFilter ?? {}), type: "token::MintToken" },
379
- fetchConfig,
380
+ handlerOptions,
380
381
  );
381
382
  return this;
382
383
  }
383
384
 
384
385
  onEventMintTokenEvent(
385
386
  func: (event: token.MintTokenEventInstance, ctx: AptosContext) => void,
386
- fetchConfig?: Partial<MoveFetchConfig>,
387
+ handlerOptions?: HandlerOptions<token.MintTokenEventInstance>,
387
388
  eventFilter?: Omit<EventFilter, "type" | "account">,
388
389
  ): token {
389
390
  this.onMoveEvent(
390
391
  func,
391
392
  { ...(eventFilter ?? {}), type: "token::MintTokenEvent" },
392
- fetchConfig,
393
+ handlerOptions,
393
394
  );
394
395
  return this;
395
396
  }
396
397
 
397
398
  onEventMutatePropertyMap(
398
399
  func: (event: token.MutatePropertyMapInstance, ctx: AptosContext) => void,
399
- fetchConfig?: Partial<MoveFetchConfig>,
400
+ handlerOptions?: HandlerOptions<token.MutatePropertyMapInstance>,
400
401
  eventFilter?: Omit<EventFilter, "type" | "account">,
401
402
  ): token {
402
403
  this.onMoveEvent(
403
404
  func,
404
405
  { ...(eventFilter ?? {}), type: "token::MutatePropertyMap" },
405
- fetchConfig,
406
+ handlerOptions,
406
407
  );
407
408
  return this;
408
409
  }
@@ -412,13 +413,13 @@ export class token extends AptosBaseProcessor {
412
413
  event: token.MutateTokenPropertyMapInstance,
413
414
  ctx: AptosContext,
414
415
  ) => void,
415
- fetchConfig?: Partial<MoveFetchConfig>,
416
+ handlerOptions?: HandlerOptions<token.MutateTokenPropertyMapInstance>,
416
417
  eventFilter?: Omit<EventFilter, "type" | "account">,
417
418
  ): token {
418
419
  this.onMoveEvent(
419
420
  func,
420
421
  { ...(eventFilter ?? {}), type: "token::MutateTokenPropertyMap" },
421
- fetchConfig,
422
+ handlerOptions,
422
423
  );
423
424
  return this;
424
425
  }
@@ -428,52 +429,52 @@ export class token extends AptosBaseProcessor {
428
429
  event: token.MutateTokenPropertyMapEventInstance,
429
430
  ctx: AptosContext,
430
431
  ) => void,
431
- fetchConfig?: Partial<MoveFetchConfig>,
432
+ handlerOptions?: HandlerOptions<token.MutateTokenPropertyMapEventInstance>,
432
433
  eventFilter?: Omit<EventFilter, "type" | "account">,
433
434
  ): token {
434
435
  this.onMoveEvent(
435
436
  func,
436
437
  { ...(eventFilter ?? {}), type: "token::MutateTokenPropertyMapEvent" },
437
- fetchConfig,
438
+ handlerOptions,
438
439
  );
439
440
  return this;
440
441
  }
441
442
 
442
443
  onEventTokenDataCreation(
443
444
  func: (event: token.TokenDataCreationInstance, ctx: AptosContext) => void,
444
- fetchConfig?: Partial<MoveFetchConfig>,
445
+ handlerOptions?: HandlerOptions<token.TokenDataCreationInstance>,
445
446
  eventFilter?: Omit<EventFilter, "type" | "account">,
446
447
  ): token {
447
448
  this.onMoveEvent(
448
449
  func,
449
450
  { ...(eventFilter ?? {}), type: "token::TokenDataCreation" },
450
- fetchConfig,
451
+ handlerOptions,
451
452
  );
452
453
  return this;
453
454
  }
454
455
 
455
456
  onEventTokenDeposit(
456
457
  func: (event: token.TokenDepositInstance, ctx: AptosContext) => void,
457
- fetchConfig?: Partial<MoveFetchConfig>,
458
+ handlerOptions?: HandlerOptions<token.TokenDepositInstance>,
458
459
  eventFilter?: Omit<EventFilter, "type" | "account">,
459
460
  ): token {
460
461
  this.onMoveEvent(
461
462
  func,
462
463
  { ...(eventFilter ?? {}), type: "token::TokenDeposit" },
463
- fetchConfig,
464
+ handlerOptions,
464
465
  );
465
466
  return this;
466
467
  }
467
468
 
468
469
  onEventTokenWithdraw(
469
470
  func: (event: token.TokenWithdrawInstance, ctx: AptosContext) => void,
470
- fetchConfig?: Partial<MoveFetchConfig>,
471
+ handlerOptions?: HandlerOptions<token.TokenWithdrawInstance>,
471
472
  eventFilter?: Omit<EventFilter, "type" | "account">,
472
473
  ): token {
473
474
  this.onMoveEvent(
474
475
  func,
475
476
  { ...(eventFilter ?? {}), type: "token::TokenWithdraw" },
476
- fetchConfig,
477
+ handlerOptions,
477
478
  );
478
479
  return this;
479
480
  }
@@ -1675,13 +1676,13 @@ export class token_coin_swap extends AptosBaseProcessor {
1675
1676
  event: token_coin_swap.TokenListingEventInstance,
1676
1677
  ctx: AptosContext,
1677
1678
  ) => void,
1678
- fetchConfig?: Partial<MoveFetchConfig>,
1679
+ handlerOptions?: HandlerOptions<token_coin_swap.TokenListingEventInstance>,
1679
1680
  eventFilter?: Omit<EventFilter, "type" | "account">,
1680
1681
  ): token_coin_swap {
1681
1682
  this.onMoveEvent(
1682
1683
  func,
1683
1684
  { ...(eventFilter ?? {}), type: "token_coin_swap::TokenListingEvent" },
1684
- fetchConfig,
1685
+ handlerOptions,
1685
1686
  );
1686
1687
  return this;
1687
1688
  }
@@ -1691,13 +1692,13 @@ export class token_coin_swap extends AptosBaseProcessor {
1691
1692
  event: token_coin_swap.TokenSwapEventInstance,
1692
1693
  ctx: AptosContext,
1693
1694
  ) => void,
1694
- fetchConfig?: Partial<MoveFetchConfig>,
1695
+ handlerOptions?: HandlerOptions<token_coin_swap.TokenSwapEventInstance>,
1695
1696
  eventFilter?: Omit<EventFilter, "type" | "account">,
1696
1697
  ): token_coin_swap {
1697
1698
  this.onMoveEvent(
1698
1699
  func,
1699
1700
  { ...(eventFilter ?? {}), type: "token_coin_swap::TokenSwapEvent" },
1700
- fetchConfig,
1701
+ handlerOptions,
1701
1702
  );
1702
1703
  return this;
1703
1704
  }
@@ -1951,39 +1952,39 @@ export class token_transfers extends AptosBaseProcessor {
1951
1952
  event: token_transfers.CancelOfferInstance,
1952
1953
  ctx: AptosContext,
1953
1954
  ) => void,
1954
- fetchConfig?: Partial<MoveFetchConfig>,
1955
+ handlerOptions?: HandlerOptions<token_transfers.CancelOfferInstance>,
1955
1956
  eventFilter?: Omit<EventFilter, "type" | "account">,
1956
1957
  ): token_transfers {
1957
1958
  this.onMoveEvent(
1958
1959
  func,
1959
1960
  { ...(eventFilter ?? {}), type: "token_transfers::CancelOffer" },
1960
- fetchConfig,
1961
+ handlerOptions,
1961
1962
  );
1962
1963
  return this;
1963
1964
  }
1964
1965
 
1965
1966
  onEventClaim(
1966
1967
  func: (event: token_transfers.ClaimInstance, ctx: AptosContext) => void,
1967
- fetchConfig?: Partial<MoveFetchConfig>,
1968
+ handlerOptions?: HandlerOptions<token_transfers.ClaimInstance>,
1968
1969
  eventFilter?: Omit<EventFilter, "type" | "account">,
1969
1970
  ): token_transfers {
1970
1971
  this.onMoveEvent(
1971
1972
  func,
1972
1973
  { ...(eventFilter ?? {}), type: "token_transfers::Claim" },
1973
- fetchConfig,
1974
+ handlerOptions,
1974
1975
  );
1975
1976
  return this;
1976
1977
  }
1977
1978
 
1978
1979
  onEventOffer(
1979
1980
  func: (event: token_transfers.OfferInstance, ctx: AptosContext) => void,
1980
- fetchConfig?: Partial<MoveFetchConfig>,
1981
+ handlerOptions?: HandlerOptions<token_transfers.OfferInstance>,
1981
1982
  eventFilter?: Omit<EventFilter, "type" | "account">,
1982
1983
  ): token_transfers {
1983
1984
  this.onMoveEvent(
1984
1985
  func,
1985
1986
  { ...(eventFilter ?? {}), type: "token_transfers::Offer" },
1986
- fetchConfig,
1987
+ handlerOptions,
1987
1988
  );
1988
1989
  return this;
1989
1990
  }
@@ -1993,13 +1994,13 @@ export class token_transfers extends AptosBaseProcessor {
1993
1994
  event: token_transfers.TokenCancelOfferInstance,
1994
1995
  ctx: AptosContext,
1995
1996
  ) => void,
1996
- fetchConfig?: Partial<MoveFetchConfig>,
1997
+ handlerOptions?: HandlerOptions<token_transfers.TokenCancelOfferInstance>,
1997
1998
  eventFilter?: Omit<EventFilter, "type" | "account">,
1998
1999
  ): token_transfers {
1999
2000
  this.onMoveEvent(
2000
2001
  func,
2001
2002
  { ...(eventFilter ?? {}), type: "token_transfers::TokenCancelOffer" },
2002
- fetchConfig,
2003
+ handlerOptions,
2003
2004
  );
2004
2005
  return this;
2005
2006
  }
@@ -2009,7 +2010,7 @@ export class token_transfers extends AptosBaseProcessor {
2009
2010
  event: token_transfers.TokenCancelOfferEventInstance,
2010
2011
  ctx: AptosContext,
2011
2012
  ) => void,
2012
- fetchConfig?: Partial<MoveFetchConfig>,
2013
+ handlerOptions?: HandlerOptions<token_transfers.TokenCancelOfferEventInstance>,
2013
2014
  eventFilter?: Omit<EventFilter, "type" | "account">,
2014
2015
  ): token_transfers {
2015
2016
  this.onMoveEvent(
@@ -2018,7 +2019,7 @@ export class token_transfers extends AptosBaseProcessor {
2018
2019
  ...(eventFilter ?? {}),
2019
2020
  type: "token_transfers::TokenCancelOfferEvent",
2020
2021
  },
2021
- fetchConfig,
2022
+ handlerOptions,
2022
2023
  );
2023
2024
  return this;
2024
2025
  }
@@ -2028,13 +2029,13 @@ export class token_transfers extends AptosBaseProcessor {
2028
2029
  event: token_transfers.TokenClaimInstance,
2029
2030
  ctx: AptosContext,
2030
2031
  ) => void,
2031
- fetchConfig?: Partial<MoveFetchConfig>,
2032
+ handlerOptions?: HandlerOptions<token_transfers.TokenClaimInstance>,
2032
2033
  eventFilter?: Omit<EventFilter, "type" | "account">,
2033
2034
  ): token_transfers {
2034
2035
  this.onMoveEvent(
2035
2036
  func,
2036
2037
  { ...(eventFilter ?? {}), type: "token_transfers::TokenClaim" },
2037
- fetchConfig,
2038
+ handlerOptions,
2038
2039
  );
2039
2040
  return this;
2040
2041
  }
@@ -2044,13 +2045,13 @@ export class token_transfers extends AptosBaseProcessor {
2044
2045
  event: token_transfers.TokenClaimEventInstance,
2045
2046
  ctx: AptosContext,
2046
2047
  ) => void,
2047
- fetchConfig?: Partial<MoveFetchConfig>,
2048
+ handlerOptions?: HandlerOptions<token_transfers.TokenClaimEventInstance>,
2048
2049
  eventFilter?: Omit<EventFilter, "type" | "account">,
2049
2050
  ): token_transfers {
2050
2051
  this.onMoveEvent(
2051
2052
  func,
2052
2053
  { ...(eventFilter ?? {}), type: "token_transfers::TokenClaimEvent" },
2053
- fetchConfig,
2054
+ handlerOptions,
2054
2055
  );
2055
2056
  return this;
2056
2057
  }
@@ -2060,13 +2061,13 @@ export class token_transfers extends AptosBaseProcessor {
2060
2061
  event: token_transfers.TokenOfferInstance,
2061
2062
  ctx: AptosContext,
2062
2063
  ) => void,
2063
- fetchConfig?: Partial<MoveFetchConfig>,
2064
+ handlerOptions?: HandlerOptions<token_transfers.TokenOfferInstance>,
2064
2065
  eventFilter?: Omit<EventFilter, "type" | "account">,
2065
2066
  ): token_transfers {
2066
2067
  this.onMoveEvent(
2067
2068
  func,
2068
2069
  { ...(eventFilter ?? {}), type: "token_transfers::TokenOffer" },
2069
- fetchConfig,
2070
+ handlerOptions,
2070
2071
  );
2071
2072
  return this;
2072
2073
  }
@@ -2076,13 +2077,13 @@ export class token_transfers extends AptosBaseProcessor {
2076
2077
  event: token_transfers.TokenOfferEventInstance,
2077
2078
  ctx: AptosContext,
2078
2079
  ) => void,
2079
- fetchConfig?: Partial<MoveFetchConfig>,
2080
+ handlerOptions?: HandlerOptions<token_transfers.TokenOfferEventInstance>,
2080
2081
  eventFilter?: Omit<EventFilter, "type" | "account">,
2081
2082
  ): token_transfers {
2082
2083
  this.onMoveEvent(
2083
2084
  func,
2084
2085
  { ...(eventFilter ?? {}), type: "token_transfers::TokenOfferEvent" },
2085
- fetchConfig,
2086
+ handlerOptions,
2086
2087
  );
2087
2088
  return this;
2088
2089
  }
@@ -2092,13 +2093,13 @@ export class token_transfers extends AptosBaseProcessor {
2092
2093
  event: token_transfers.TokenOfferIdInstance,
2093
2094
  ctx: AptosContext,
2094
2095
  ) => void,
2095
- fetchConfig?: Partial<MoveFetchConfig>,
2096
+ handlerOptions?: HandlerOptions<token_transfers.TokenOfferIdInstance>,
2096
2097
  eventFilter?: Omit<EventFilter, "type" | "account">,
2097
2098
  ): token_transfers {
2098
2099
  this.onMoveEvent(
2099
2100
  func,
2100
2101
  { ...(eventFilter ?? {}), type: "token_transfers::TokenOfferId" },
2101
- fetchConfig,
2102
+ handlerOptions,
2102
2103
  );
2103
2104
  return this;
2104
2105
  }
@@ -2534,7 +2535,7 @@ export class token_event_store extends AptosBaseProcessor {
2534
2535
  event: token_event_store.CollectionDescriptionMutateInstance,
2535
2536
  ctx: AptosContext,
2536
2537
  ) => void,
2537
- fetchConfig?: Partial<MoveFetchConfig>,
2538
+ handlerOptions?: HandlerOptions<token_event_store.CollectionDescriptionMutateInstance>,
2538
2539
  eventFilter?: Omit<EventFilter, "type" | "account">,
2539
2540
  ): token_event_store {
2540
2541
  this.onMoveEvent(
@@ -2543,7 +2544,7 @@ export class token_event_store extends AptosBaseProcessor {
2543
2544
  ...(eventFilter ?? {}),
2544
2545
  type: "token_event_store::CollectionDescriptionMutate",
2545
2546
  },
2546
- fetchConfig,
2547
+ handlerOptions,
2547
2548
  );
2548
2549
  return this;
2549
2550
  }
@@ -2553,7 +2554,7 @@ export class token_event_store extends AptosBaseProcessor {
2553
2554
  event: token_event_store.CollectionDescriptionMutateEventInstance,
2554
2555
  ctx: AptosContext,
2555
2556
  ) => void,
2556
- fetchConfig?: Partial<MoveFetchConfig>,
2557
+ handlerOptions?: HandlerOptions<token_event_store.CollectionDescriptionMutateEventInstance>,
2557
2558
  eventFilter?: Omit<EventFilter, "type" | "account">,
2558
2559
  ): token_event_store {
2559
2560
  this.onMoveEvent(
@@ -2562,7 +2563,7 @@ export class token_event_store extends AptosBaseProcessor {
2562
2563
  ...(eventFilter ?? {}),
2563
2564
  type: "token_event_store::CollectionDescriptionMutateEvent",
2564
2565
  },
2565
- fetchConfig,
2566
+ handlerOptions,
2566
2567
  );
2567
2568
  return this;
2568
2569
  }
@@ -2572,7 +2573,7 @@ export class token_event_store extends AptosBaseProcessor {
2572
2573
  event: token_event_store.CollectionMaximumMutateInstance,
2573
2574
  ctx: AptosContext,
2574
2575
  ) => void,
2575
- fetchConfig?: Partial<MoveFetchConfig>,
2576
+ handlerOptions?: HandlerOptions<token_event_store.CollectionMaximumMutateInstance>,
2576
2577
  eventFilter?: Omit<EventFilter, "type" | "account">,
2577
2578
  ): token_event_store {
2578
2579
  this.onMoveEvent(
@@ -2581,7 +2582,7 @@ export class token_event_store extends AptosBaseProcessor {
2581
2582
  ...(eventFilter ?? {}),
2582
2583
  type: "token_event_store::CollectionMaximumMutate",
2583
2584
  },
2584
- fetchConfig,
2585
+ handlerOptions,
2585
2586
  );
2586
2587
  return this;
2587
2588
  }
@@ -2591,7 +2592,7 @@ export class token_event_store extends AptosBaseProcessor {
2591
2592
  event: token_event_store.CollectionMaxiumMutateInstance,
2592
2593
  ctx: AptosContext,
2593
2594
  ) => void,
2594
- fetchConfig?: Partial<MoveFetchConfig>,
2595
+ handlerOptions?: HandlerOptions<token_event_store.CollectionMaxiumMutateInstance>,
2595
2596
  eventFilter?: Omit<EventFilter, "type" | "account">,
2596
2597
  ): token_event_store {
2597
2598
  this.onMoveEvent(
@@ -2600,7 +2601,7 @@ export class token_event_store extends AptosBaseProcessor {
2600
2601
  ...(eventFilter ?? {}),
2601
2602
  type: "token_event_store::CollectionMaxiumMutate",
2602
2603
  },
2603
- fetchConfig,
2604
+ handlerOptions,
2604
2605
  );
2605
2606
  return this;
2606
2607
  }
@@ -2610,7 +2611,7 @@ export class token_event_store extends AptosBaseProcessor {
2610
2611
  event: token_event_store.CollectionMaxiumMutateEventInstance,
2611
2612
  ctx: AptosContext,
2612
2613
  ) => void,
2613
- fetchConfig?: Partial<MoveFetchConfig>,
2614
+ handlerOptions?: HandlerOptions<token_event_store.CollectionMaxiumMutateEventInstance>,
2614
2615
  eventFilter?: Omit<EventFilter, "type" | "account">,
2615
2616
  ): token_event_store {
2616
2617
  this.onMoveEvent(
@@ -2619,7 +2620,7 @@ export class token_event_store extends AptosBaseProcessor {
2619
2620
  ...(eventFilter ?? {}),
2620
2621
  type: "token_event_store::CollectionMaxiumMutateEvent",
2621
2622
  },
2622
- fetchConfig,
2623
+ handlerOptions,
2623
2624
  );
2624
2625
  return this;
2625
2626
  }
@@ -2629,7 +2630,7 @@ export class token_event_store extends AptosBaseProcessor {
2629
2630
  event: token_event_store.CollectionUriMutateInstance,
2630
2631
  ctx: AptosContext,
2631
2632
  ) => void,
2632
- fetchConfig?: Partial<MoveFetchConfig>,
2633
+ handlerOptions?: HandlerOptions<token_event_store.CollectionUriMutateInstance>,
2633
2634
  eventFilter?: Omit<EventFilter, "type" | "account">,
2634
2635
  ): token_event_store {
2635
2636
  this.onMoveEvent(
@@ -2638,7 +2639,7 @@ export class token_event_store extends AptosBaseProcessor {
2638
2639
  ...(eventFilter ?? {}),
2639
2640
  type: "token_event_store::CollectionUriMutate",
2640
2641
  },
2641
- fetchConfig,
2642
+ handlerOptions,
2642
2643
  );
2643
2644
  return this;
2644
2645
  }
@@ -2648,7 +2649,7 @@ export class token_event_store extends AptosBaseProcessor {
2648
2649
  event: token_event_store.CollectionUriMutateEventInstance,
2649
2650
  ctx: AptosContext,
2650
2651
  ) => void,
2651
- fetchConfig?: Partial<MoveFetchConfig>,
2652
+ handlerOptions?: HandlerOptions<token_event_store.CollectionUriMutateEventInstance>,
2652
2653
  eventFilter?: Omit<EventFilter, "type" | "account">,
2653
2654
  ): token_event_store {
2654
2655
  this.onMoveEvent(
@@ -2657,7 +2658,7 @@ export class token_event_store extends AptosBaseProcessor {
2657
2658
  ...(eventFilter ?? {}),
2658
2659
  type: "token_event_store::CollectionUriMutateEvent",
2659
2660
  },
2660
- fetchConfig,
2661
+ handlerOptions,
2661
2662
  );
2662
2663
  return this;
2663
2664
  }
@@ -2667,7 +2668,7 @@ export class token_event_store extends AptosBaseProcessor {
2667
2668
  event: token_event_store.DefaultPropertyMutateInstance,
2668
2669
  ctx: AptosContext,
2669
2670
  ) => void,
2670
- fetchConfig?: Partial<MoveFetchConfig>,
2671
+ handlerOptions?: HandlerOptions<token_event_store.DefaultPropertyMutateInstance>,
2671
2672
  eventFilter?: Omit<EventFilter, "type" | "account">,
2672
2673
  ): token_event_store {
2673
2674
  this.onMoveEvent(
@@ -2676,7 +2677,7 @@ export class token_event_store extends AptosBaseProcessor {
2676
2677
  ...(eventFilter ?? {}),
2677
2678
  type: "token_event_store::DefaultPropertyMutate",
2678
2679
  },
2679
- fetchConfig,
2680
+ handlerOptions,
2680
2681
  );
2681
2682
  return this;
2682
2683
  }
@@ -2686,7 +2687,7 @@ export class token_event_store extends AptosBaseProcessor {
2686
2687
  event: token_event_store.DefaultPropertyMutateEventInstance,
2687
2688
  ctx: AptosContext,
2688
2689
  ) => void,
2689
- fetchConfig?: Partial<MoveFetchConfig>,
2690
+ handlerOptions?: HandlerOptions<token_event_store.DefaultPropertyMutateEventInstance>,
2690
2691
  eventFilter?: Omit<EventFilter, "type" | "account">,
2691
2692
  ): token_event_store {
2692
2693
  this.onMoveEvent(
@@ -2695,7 +2696,7 @@ export class token_event_store extends AptosBaseProcessor {
2695
2696
  ...(eventFilter ?? {}),
2696
2697
  type: "token_event_store::DefaultPropertyMutateEvent",
2697
2698
  },
2698
- fetchConfig,
2699
+ handlerOptions,
2699
2700
  );
2700
2701
  return this;
2701
2702
  }
@@ -2705,13 +2706,13 @@ export class token_event_store extends AptosBaseProcessor {
2705
2706
  event: token_event_store.DescriptionMutateInstance,
2706
2707
  ctx: AptosContext,
2707
2708
  ) => void,
2708
- fetchConfig?: Partial<MoveFetchConfig>,
2709
+ handlerOptions?: HandlerOptions<token_event_store.DescriptionMutateInstance>,
2709
2710
  eventFilter?: Omit<EventFilter, "type" | "account">,
2710
2711
  ): token_event_store {
2711
2712
  this.onMoveEvent(
2712
2713
  func,
2713
2714
  { ...(eventFilter ?? {}), type: "token_event_store::DescriptionMutate" },
2714
- fetchConfig,
2715
+ handlerOptions,
2715
2716
  );
2716
2717
  return this;
2717
2718
  }
@@ -2721,7 +2722,7 @@ export class token_event_store extends AptosBaseProcessor {
2721
2722
  event: token_event_store.DescriptionMutateEventInstance,
2722
2723
  ctx: AptosContext,
2723
2724
  ) => void,
2724
- fetchConfig?: Partial<MoveFetchConfig>,
2725
+ handlerOptions?: HandlerOptions<token_event_store.DescriptionMutateEventInstance>,
2725
2726
  eventFilter?: Omit<EventFilter, "type" | "account">,
2726
2727
  ): token_event_store {
2727
2728
  this.onMoveEvent(
@@ -2730,7 +2731,7 @@ export class token_event_store extends AptosBaseProcessor {
2730
2731
  ...(eventFilter ?? {}),
2731
2732
  type: "token_event_store::DescriptionMutateEvent",
2732
2733
  },
2733
- fetchConfig,
2734
+ handlerOptions,
2734
2735
  );
2735
2736
  return this;
2736
2737
  }
@@ -2740,13 +2741,13 @@ export class token_event_store extends AptosBaseProcessor {
2740
2741
  event: token_event_store.MaximumMutateInstance,
2741
2742
  ctx: AptosContext,
2742
2743
  ) => void,
2743
- fetchConfig?: Partial<MoveFetchConfig>,
2744
+ handlerOptions?: HandlerOptions<token_event_store.MaximumMutateInstance>,
2744
2745
  eventFilter?: Omit<EventFilter, "type" | "account">,
2745
2746
  ): token_event_store {
2746
2747
  this.onMoveEvent(
2747
2748
  func,
2748
2749
  { ...(eventFilter ?? {}), type: "token_event_store::MaximumMutate" },
2749
- fetchConfig,
2750
+ handlerOptions,
2750
2751
  );
2751
2752
  return this;
2752
2753
  }
@@ -2756,13 +2757,13 @@ export class token_event_store extends AptosBaseProcessor {
2756
2757
  event: token_event_store.MaxiumMutateEventInstance,
2757
2758
  ctx: AptosContext,
2758
2759
  ) => void,
2759
- fetchConfig?: Partial<MoveFetchConfig>,
2760
+ handlerOptions?: HandlerOptions<token_event_store.MaxiumMutateEventInstance>,
2760
2761
  eventFilter?: Omit<EventFilter, "type" | "account">,
2761
2762
  ): token_event_store {
2762
2763
  this.onMoveEvent(
2763
2764
  func,
2764
2765
  { ...(eventFilter ?? {}), type: "token_event_store::MaxiumMutateEvent" },
2765
- fetchConfig,
2766
+ handlerOptions,
2766
2767
  );
2767
2768
  return this;
2768
2769
  }
@@ -2772,13 +2773,13 @@ export class token_event_store extends AptosBaseProcessor {
2772
2773
  event: token_event_store.OptInTransferInstance,
2773
2774
  ctx: AptosContext,
2774
2775
  ) => void,
2775
- fetchConfig?: Partial<MoveFetchConfig>,
2776
+ handlerOptions?: HandlerOptions<token_event_store.OptInTransferInstance>,
2776
2777
  eventFilter?: Omit<EventFilter, "type" | "account">,
2777
2778
  ): token_event_store {
2778
2779
  this.onMoveEvent(
2779
2780
  func,
2780
2781
  { ...(eventFilter ?? {}), type: "token_event_store::OptInTransfer" },
2781
- fetchConfig,
2782
+ handlerOptions,
2782
2783
  );
2783
2784
  return this;
2784
2785
  }
@@ -2788,13 +2789,13 @@ export class token_event_store extends AptosBaseProcessor {
2788
2789
  event: token_event_store.OptInTransferEventInstance,
2789
2790
  ctx: AptosContext,
2790
2791
  ) => void,
2791
- fetchConfig?: Partial<MoveFetchConfig>,
2792
+ handlerOptions?: HandlerOptions<token_event_store.OptInTransferEventInstance>,
2792
2793
  eventFilter?: Omit<EventFilter, "type" | "account">,
2793
2794
  ): token_event_store {
2794
2795
  this.onMoveEvent(
2795
2796
  func,
2796
2797
  { ...(eventFilter ?? {}), type: "token_event_store::OptInTransferEvent" },
2797
- fetchConfig,
2798
+ handlerOptions,
2798
2799
  );
2799
2800
  return this;
2800
2801
  }
@@ -2804,13 +2805,13 @@ export class token_event_store extends AptosBaseProcessor {
2804
2805
  event: token_event_store.RoyaltyMutateInstance,
2805
2806
  ctx: AptosContext,
2806
2807
  ) => void,
2807
- fetchConfig?: Partial<MoveFetchConfig>,
2808
+ handlerOptions?: HandlerOptions<token_event_store.RoyaltyMutateInstance>,
2808
2809
  eventFilter?: Omit<EventFilter, "type" | "account">,
2809
2810
  ): token_event_store {
2810
2811
  this.onMoveEvent(
2811
2812
  func,
2812
2813
  { ...(eventFilter ?? {}), type: "token_event_store::RoyaltyMutate" },
2813
- fetchConfig,
2814
+ handlerOptions,
2814
2815
  );
2815
2816
  return this;
2816
2817
  }
@@ -2820,13 +2821,13 @@ export class token_event_store extends AptosBaseProcessor {
2820
2821
  event: token_event_store.RoyaltyMutateEventInstance,
2821
2822
  ctx: AptosContext,
2822
2823
  ) => void,
2823
- fetchConfig?: Partial<MoveFetchConfig>,
2824
+ handlerOptions?: HandlerOptions<token_event_store.RoyaltyMutateEventInstance>,
2824
2825
  eventFilter?: Omit<EventFilter, "type" | "account">,
2825
2826
  ): token_event_store {
2826
2827
  this.onMoveEvent(
2827
2828
  func,
2828
2829
  { ...(eventFilter ?? {}), type: "token_event_store::RoyaltyMutateEvent" },
2829
- fetchConfig,
2830
+ handlerOptions,
2830
2831
  );
2831
2832
  return this;
2832
2833
  }
@@ -2836,13 +2837,13 @@ export class token_event_store extends AptosBaseProcessor {
2836
2837
  event: token_event_store.UriMutationInstance,
2837
2838
  ctx: AptosContext,
2838
2839
  ) => void,
2839
- fetchConfig?: Partial<MoveFetchConfig>,
2840
+ handlerOptions?: HandlerOptions<token_event_store.UriMutationInstance>,
2840
2841
  eventFilter?: Omit<EventFilter, "type" | "account">,
2841
2842
  ): token_event_store {
2842
2843
  this.onMoveEvent(
2843
2844
  func,
2844
2845
  { ...(eventFilter ?? {}), type: "token_event_store::UriMutation" },
2845
- fetchConfig,
2846
+ handlerOptions,
2846
2847
  );
2847
2848
  return this;
2848
2849
  }
@@ -2852,13 +2853,13 @@ export class token_event_store extends AptosBaseProcessor {
2852
2853
  event: token_event_store.UriMutationEventInstance,
2853
2854
  ctx: AptosContext,
2854
2855
  ) => void,
2855
- fetchConfig?: Partial<MoveFetchConfig>,
2856
+ handlerOptions?: HandlerOptions<token_event_store.UriMutationEventInstance>,
2856
2857
  eventFilter?: Omit<EventFilter, "type" | "account">,
2857
2858
  ): token_event_store {
2858
2859
  this.onMoveEvent(
2859
2860
  func,
2860
2861
  { ...(eventFilter ?? {}), type: "token_event_store::UriMutationEvent" },
2861
- fetchConfig,
2862
+ handlerOptions,
2862
2863
  );
2863
2864
  return this;
2864
2865
  }