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

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 (200) hide show
  1. package/lib/aptos/aptos-plugin.d.ts +6 -5
  2. package/lib/aptos/aptos-plugin.d.ts.map +1 -1
  3. package/lib/aptos/aptos-plugin.js +31 -33
  4. package/lib/aptos/aptos-plugin.js.map +1 -1
  5. package/lib/aptos/aptos-processor.d.ts +18 -18
  6. package/lib/aptos/aptos-processor.d.ts.map +1 -1
  7. package/lib/aptos/aptos-processor.js +83 -38
  8. package/lib/aptos/aptos-processor.js.map +1 -1
  9. package/lib/aptos/aptos-resource-processor-template.d.ts +5 -4
  10. package/lib/aptos/aptos-resource-processor-template.d.ts.map +1 -1
  11. package/lib/aptos/aptos-resource-processor-template.js +8 -8
  12. package/lib/aptos/aptos-resource-processor-template.js.map +1 -1
  13. package/lib/aptos/builtin/0x1.d.ts +334 -333
  14. package/lib/aptos/builtin/0x1.d.ts.map +1 -1
  15. package/lib/aptos/builtin/0x1.js +348 -348
  16. package/lib/aptos/builtin/0x1.js.map +1 -1
  17. package/lib/aptos/builtin/0x3.d.ts +67 -66
  18. package/lib/aptos/builtin/0x3.d.ts.map +1 -1
  19. package/lib/aptos/builtin/0x3.js +28 -28
  20. package/lib/aptos/builtin/0x3.js.map +1 -1
  21. package/lib/aptos/builtin/0x4.d.ts +30 -29
  22. package/lib/aptos/builtin/0x4.d.ts.map +1 -1
  23. package/lib/aptos/builtin/0x4.js +34 -34
  24. package/lib/aptos/builtin/0x4.js.map +1 -1
  25. package/lib/aptos/codegen/codegen.js +19 -2
  26. package/lib/aptos/codegen/codegen.js.map +1 -1
  27. package/lib/aptos/data.d.ts +28 -3
  28. package/lib/aptos/data.d.ts.map +1 -1
  29. package/lib/aptos/data.js +61 -0
  30. package/lib/aptos/data.js.map +1 -1
  31. package/lib/aptos/models.d.ts +1 -5
  32. package/lib/aptos/models.d.ts.map +1 -1
  33. package/lib/btc/btc-plugin.d.ts +4 -1
  34. package/lib/btc/btc-plugin.d.ts.map +1 -1
  35. package/lib/btc/btc-plugin.js +27 -0
  36. package/lib/btc/btc-plugin.js.map +1 -1
  37. package/lib/btc/btc-processor.d.ts +6 -5
  38. package/lib/btc/btc-processor.d.ts.map +1 -1
  39. package/lib/btc/btc-processor.js +35 -9
  40. package/lib/btc/btc-processor.js.map +1 -1
  41. package/lib/btc/types.d.ts +2 -1
  42. package/lib/btc/types.d.ts.map +1 -1
  43. package/lib/core/handler-options.d.ts +25 -0
  44. package/lib/core/handler-options.d.ts.map +1 -0
  45. package/lib/core/handler-options.js +21 -0
  46. package/lib/core/handler-options.js.map +1 -0
  47. package/lib/core/index.d.ts +2 -0
  48. package/lib/core/index.d.ts.map +1 -1
  49. package/lib/core/index.js +2 -0
  50. package/lib/core/index.js.map +1 -1
  51. package/lib/core/partition-handler-manager.d.ts +44 -0
  52. package/lib/core/partition-handler-manager.d.ts.map +1 -0
  53. package/lib/core/partition-handler-manager.js +76 -0
  54. package/lib/core/partition-handler-manager.js.map +1 -0
  55. package/lib/cosmos/cosmos-processor.d.ts +3 -2
  56. package/lib/cosmos/cosmos-processor.d.ts.map +1 -1
  57. package/lib/cosmos/cosmos-processor.js +11 -1
  58. package/lib/cosmos/cosmos-processor.js.map +1 -1
  59. package/lib/cosmos/types.d.ts +1 -0
  60. package/lib/cosmos/types.d.ts.map +1 -1
  61. package/lib/eth/base-processor.d.ts +18 -17
  62. package/lib/eth/base-processor.d.ts.map +1 -1
  63. package/lib/eth/base-processor.js +147 -26
  64. package/lib/eth/base-processor.js.map +1 -1
  65. package/lib/eth/builtin/internal/eacaggregatorproxy-processor.d.ts +32 -31
  66. package/lib/eth/builtin/internal/eacaggregatorproxy-processor.d.ts.map +1 -1
  67. package/lib/eth/builtin/internal/eacaggregatorproxy-processor.js +62 -62
  68. package/lib/eth/builtin/internal/eacaggregatorproxy-processor.js.map +1 -1
  69. package/lib/eth/builtin/internal/erc1155-processor.d.ts +17 -16
  70. package/lib/eth/builtin/internal/erc1155-processor.d.ts.map +1 -1
  71. package/lib/eth/builtin/internal/erc1155-processor.js +32 -32
  72. package/lib/eth/builtin/internal/erc1155-processor.js.map +1 -1
  73. package/lib/eth/builtin/internal/erc20-processor.d.ts +25 -24
  74. package/lib/eth/builtin/internal/erc20-processor.d.ts.map +1 -1
  75. package/lib/eth/builtin/internal/erc20-processor.js +48 -48
  76. package/lib/eth/builtin/internal/erc20-processor.js.map +1 -1
  77. package/lib/eth/builtin/internal/erc20bytes-processor.d.ts +14 -13
  78. package/lib/eth/builtin/internal/erc20bytes-processor.d.ts.map +1 -1
  79. package/lib/eth/builtin/internal/erc20bytes-processor.js +26 -26
  80. package/lib/eth/builtin/internal/erc20bytes-processor.js.map +1 -1
  81. package/lib/eth/builtin/internal/erc721-processor.d.ts +21 -20
  82. package/lib/eth/builtin/internal/erc721-processor.d.ts.map +1 -1
  83. package/lib/eth/builtin/internal/erc721-processor.js +40 -40
  84. package/lib/eth/builtin/internal/erc721-processor.js.map +1 -1
  85. package/lib/eth/builtin/internal/weth9-processor.d.ts +20 -19
  86. package/lib/eth/builtin/internal/weth9-processor.d.ts.map +1 -1
  87. package/lib/eth/builtin/internal/weth9-processor.js +38 -38
  88. package/lib/eth/builtin/internal/weth9-processor.js.map +1 -1
  89. package/lib/eth/codegen/event-handler.js +2 -2
  90. package/lib/eth/codegen/event-handler.js.map +1 -1
  91. package/lib/eth/codegen/file.d.ts.map +1 -1
  92. package/lib/eth/codegen/file.js +1 -0
  93. package/lib/eth/codegen/file.js.map +1 -1
  94. package/lib/eth/codegen/functions-handler.js +2 -2
  95. package/lib/eth/codegen/functions-handler.js.map +1 -1
  96. package/lib/eth/eth-plugin.d.ts +4 -1
  97. package/lib/eth/eth-plugin.d.ts.map +1 -1
  98. package/lib/eth/eth-plugin.js +42 -1
  99. package/lib/eth/eth-plugin.js.map +1 -1
  100. package/lib/eth/eth.d.ts +2 -7
  101. package/lib/eth/eth.d.ts.map +1 -1
  102. package/lib/eth/eth.js +8 -1
  103. package/lib/eth/eth.js.map +1 -1
  104. package/lib/fuel/codegen/codegen.js +5 -5
  105. package/lib/fuel/codegen/codegen.js.map +1 -1
  106. package/lib/fuel/fuel-plugin.d.ts +4 -1
  107. package/lib/fuel/fuel-plugin.d.ts.map +1 -1
  108. package/lib/fuel/fuel-plugin.js +41 -0
  109. package/lib/fuel/fuel-plugin.js.map +1 -1
  110. package/lib/fuel/fuel-processor-template.d.ts +7 -4
  111. package/lib/fuel/fuel-processor-template.d.ts.map +1 -1
  112. package/lib/fuel/fuel-processor-template.js +11 -9
  113. package/lib/fuel/fuel-processor-template.js.map +1 -1
  114. package/lib/fuel/fuel-processor.d.ts +7 -7
  115. package/lib/fuel/fuel-processor.d.ts.map +1 -1
  116. package/lib/fuel/fuel-processor.js +90 -19
  117. package/lib/fuel/fuel-processor.js.map +1 -1
  118. package/lib/fuel/types.d.ts +3 -0
  119. package/lib/fuel/types.d.ts.map +1 -1
  120. package/lib/move/filter.d.ts +4 -0
  121. package/lib/move/filter.d.ts.map +1 -1
  122. package/lib/move/filter.js +4 -0
  123. package/lib/move/filter.js.map +1 -1
  124. package/lib/move/shared-network-codegen.js +5 -5
  125. package/lib/move/shared-network-codegen.js.map +1 -1
  126. package/lib/solana/solana-processor.d.ts +10 -4
  127. package/lib/solana/solana-processor.d.ts.map +1 -1
  128. package/lib/solana/solana-processor.js +13 -4
  129. package/lib/solana/solana-processor.js.map +1 -1
  130. package/lib/stark/starknet-processor.d.ts +3 -1
  131. package/lib/stark/starknet-processor.d.ts.map +1 -1
  132. package/lib/stark/starknet-processor.js +27 -2
  133. package/lib/stark/starknet-processor.js.map +1 -1
  134. package/lib/sui/builtin/0x1.d.ts +7 -6
  135. package/lib/sui/builtin/0x1.d.ts.map +1 -1
  136. package/lib/sui/builtin/0x1.js +12 -12
  137. package/lib/sui/builtin/0x1.js.map +1 -1
  138. package/lib/sui/builtin/0x2.d.ts +61 -60
  139. package/lib/sui/builtin/0x2.d.ts.map +1 -1
  140. package/lib/sui/builtin/0x2.js +120 -120
  141. package/lib/sui/builtin/0x2.js.map +1 -1
  142. package/lib/sui/builtin/0x3.d.ts +49 -48
  143. package/lib/sui/builtin/0x3.d.ts.map +1 -1
  144. package/lib/sui/builtin/0x3.js +96 -96
  145. package/lib/sui/builtin/0x3.js.map +1 -1
  146. package/lib/sui/models.d.ts +1 -5
  147. package/lib/sui/models.d.ts.map +1 -1
  148. package/lib/sui/sui-plugin.d.ts +6 -3
  149. package/lib/sui/sui-plugin.d.ts.map +1 -1
  150. package/lib/sui/sui-plugin.js +59 -20
  151. package/lib/sui/sui-plugin.js.map +1 -1
  152. package/lib/sui/sui-processor.d.ts +5 -4
  153. package/lib/sui/sui-processor.d.ts.map +1 -1
  154. package/lib/sui/sui-processor.js +47 -11
  155. package/lib/sui/sui-processor.js.map +1 -1
  156. package/package.json +3 -3
  157. package/src/aptos/aptos-plugin.ts +35 -39
  158. package/src/aptos/aptos-processor.ts +94 -54
  159. package/src/aptos/aptos-resource-processor-template.ts +9 -8
  160. package/src/aptos/builtin/0x1.ts +1407 -507
  161. package/src/aptos/builtin/0x3.ts +251 -80
  162. package/src/aptos/builtin/0x4.ts +112 -46
  163. package/src/aptos/codegen/codegen.ts +23 -2
  164. package/src/aptos/data.ts +78 -3
  165. package/src/aptos/models.ts +1 -6
  166. package/src/btc/btc-plugin.ts +38 -0
  167. package/src/btc/btc-processor.ts +35 -10
  168. package/src/btc/types.ts +2 -1
  169. package/src/core/handler-options.ts +40 -0
  170. package/src/core/index.ts +5 -0
  171. package/src/core/partition-handler-manager.ts +94 -0
  172. package/src/cosmos/cosmos-processor.ts +12 -1
  173. package/src/cosmos/types.ts +1 -0
  174. package/src/eth/base-processor.ts +139 -33
  175. package/src/eth/builtin/internal/eacaggregatorproxy-processor.ts +118 -62
  176. package/src/eth/builtin/internal/erc1155-processor.ts +76 -32
  177. package/src/eth/builtin/internal/erc20-processor.ts +79 -48
  178. package/src/eth/builtin/internal/erc20bytes-processor.ts +47 -26
  179. package/src/eth/builtin/internal/erc721-processor.ts +77 -40
  180. package/src/eth/builtin/internal/weth9-processor.ts +79 -38
  181. package/src/eth/codegen/event-handler.ts +2 -2
  182. package/src/eth/codegen/file.ts +1 -0
  183. package/src/eth/codegen/functions-handler.ts +2 -2
  184. package/src/eth/eth-plugin.ts +55 -3
  185. package/src/eth/eth.ts +12 -1
  186. package/src/fuel/codegen/codegen.ts +5 -5
  187. package/src/fuel/fuel-plugin.ts +56 -0
  188. package/src/fuel/fuel-processor-template.ts +17 -10
  189. package/src/fuel/fuel-processor.ts +89 -13
  190. package/src/fuel/types.ts +3 -0
  191. package/src/move/filter.ts +4 -0
  192. package/src/move/shared-network-codegen.ts +5 -5
  193. package/src/solana/solana-processor.ts +28 -6
  194. package/src/stark/starknet-processor.ts +28 -2
  195. package/src/sui/builtin/0x1.ts +22 -13
  196. package/src/sui/builtin/0x2.ts +220 -121
  197. package/src/sui/builtin/0x3.ts +241 -97
  198. package/src/sui/models.ts +1 -6
  199. package/src/sui/sui-plugin.ts +68 -22
  200. package/src/sui/sui-processor.ts +48 -11
@@ -36,12 +36,12 @@ import {
36
36
  } from "@typemove/sui";
37
37
 
38
38
  import { CallFilter, MoveFetchConfig, EventFilter } from "@sentio/sdk/move";
39
+ import { HandlerOptions } from "@sentio/sdk";
39
40
  import {
40
41
  SuiBindOptions,
41
42
  SuiBaseProcessor,
42
43
  SuiNetwork,
43
44
  TypedFunctionPayload,
44
- HandlerOptions,
45
45
  SuiContext,
46
46
  } from "@sentio/sdk/sui";
47
47
 
@@ -322,39 +322,48 @@ export class authenticator_state extends SuiBaseProcessor {
322
322
  event: authenticator_state.ActiveJwkInstance,
323
323
  ctx: SuiContext,
324
324
  ) => void,
325
- fetchConfig?: Partial<MoveFetchConfig>,
325
+ handlerOptions?: HandlerOptions<
326
+ MoveFetchConfig,
327
+ authenticator_state.ActiveJwkInstance
328
+ >,
326
329
  eventFilter?: Omit<EventFilter, "type" | "account">,
327
330
  ): authenticator_state {
328
331
  this.onMoveEvent(
329
332
  func,
330
333
  { ...(eventFilter ?? {}), type: "authenticator_state::ActiveJwk" },
331
- fetchConfig,
334
+ handlerOptions,
332
335
  );
333
336
  return this;
334
337
  }
335
338
 
336
339
  onEventJWK(
337
340
  func: (event: authenticator_state.JWKInstance, ctx: SuiContext) => void,
338
- fetchConfig?: Partial<MoveFetchConfig>,
341
+ handlerOptions?: HandlerOptions<
342
+ MoveFetchConfig,
343
+ authenticator_state.JWKInstance
344
+ >,
339
345
  eventFilter?: Omit<EventFilter, "type" | "account">,
340
346
  ): authenticator_state {
341
347
  this.onMoveEvent(
342
348
  func,
343
349
  { ...(eventFilter ?? {}), type: "authenticator_state::JWK" },
344
- fetchConfig,
350
+ handlerOptions,
345
351
  );
346
352
  return this;
347
353
  }
348
354
 
349
355
  onEventJwkId(
350
356
  func: (event: authenticator_state.JwkIdInstance, ctx: SuiContext) => void,
351
- fetchConfig?: Partial<MoveFetchConfig>,
357
+ handlerOptions?: HandlerOptions<
358
+ MoveFetchConfig,
359
+ authenticator_state.JwkIdInstance
360
+ >,
352
361
  eventFilter?: Omit<EventFilter, "type" | "account">,
353
362
  ): authenticator_state {
354
363
  this.onMoveEvent(
355
364
  func,
356
365
  { ...(eventFilter ?? {}), type: "authenticator_state::JwkId" },
357
- fetchConfig,
366
+ handlerOptions,
358
367
  );
359
368
  return this;
360
369
  }
@@ -1296,13 +1305,13 @@ export class bcs extends SuiBaseProcessor {
1296
1305
 
1297
1306
  onEventBCS(
1298
1307
  func: (event: bcs.BCSInstance, ctx: SuiContext) => void,
1299
- fetchConfig?: Partial<MoveFetchConfig>,
1308
+ handlerOptions?: HandlerOptions<MoveFetchConfig, bcs.BCSInstance>,
1300
1309
  eventFilter?: Omit<EventFilter, "type" | "account">,
1301
1310
  ): bcs {
1302
1311
  this.onMoveEvent(
1303
1312
  func,
1304
1313
  { ...(eventFilter ?? {}), type: "bcs::BCS" },
1305
- fetchConfig,
1314
+ handlerOptions,
1306
1315
  );
1307
1316
  return this;
1308
1317
  }
@@ -3800,7 +3809,7 @@ export class coin extends SuiBaseProcessor {
3800
3809
  onEntryBurn(
3801
3810
  func: (call: coin.BurnPayload, ctx: SuiContext) => void,
3802
3811
  filter?: CallFilter,
3803
- fetchConfig?: Partial<MoveFetchConfig>,
3812
+ handlerOptions?: HandlerOptions<MoveFetchConfig, coin.BurnPayload>,
3804
3813
  ): coin {
3805
3814
  this.onEntryFunctionCall(
3806
3815
  func,
@@ -3808,7 +3817,7 @@ export class coin extends SuiBaseProcessor {
3808
3817
  ...filter,
3809
3818
  function: "coin::burn",
3810
3819
  },
3811
- fetchConfig,
3820
+ handlerOptions,
3812
3821
  );
3813
3822
  return this;
3814
3823
  }
@@ -3816,7 +3825,7 @@ export class coin extends SuiBaseProcessor {
3816
3825
  onEntryJoin(
3817
3826
  func: (call: coin.JoinPayload, ctx: SuiContext) => void,
3818
3827
  filter?: CallFilter,
3819
- fetchConfig?: Partial<MoveFetchConfig>,
3828
+ handlerOptions?: HandlerOptions<MoveFetchConfig, coin.JoinPayload>,
3820
3829
  ): coin {
3821
3830
  this.onEntryFunctionCall(
3822
3831
  func,
@@ -3824,7 +3833,7 @@ export class coin extends SuiBaseProcessor {
3824
3833
  ...filter,
3825
3834
  function: "coin::join",
3826
3835
  },
3827
- fetchConfig,
3836
+ handlerOptions,
3828
3837
  );
3829
3838
  return this;
3830
3839
  }
@@ -3832,7 +3841,10 @@ export class coin extends SuiBaseProcessor {
3832
3841
  onEntryMintAndTransfer(
3833
3842
  func: (call: coin.MintAndTransferPayload, ctx: SuiContext) => void,
3834
3843
  filter?: CallFilter,
3835
- fetchConfig?: Partial<MoveFetchConfig>,
3844
+ handlerOptions?: HandlerOptions<
3845
+ MoveFetchConfig,
3846
+ coin.MintAndTransferPayload
3847
+ >,
3836
3848
  ): coin {
3837
3849
  this.onEntryFunctionCall(
3838
3850
  func,
@@ -3840,7 +3852,7 @@ export class coin extends SuiBaseProcessor {
3840
3852
  ...filter,
3841
3853
  function: "coin::mint_and_transfer",
3842
3854
  },
3843
- fetchConfig,
3855
+ handlerOptions,
3844
3856
  );
3845
3857
  return this;
3846
3858
  }
@@ -3848,7 +3860,10 @@ export class coin extends SuiBaseProcessor {
3848
3860
  onEntryUpdateDescription(
3849
3861
  func: (call: coin.UpdateDescriptionPayload, ctx: SuiContext) => void,
3850
3862
  filter?: CallFilter,
3851
- fetchConfig?: Partial<MoveFetchConfig>,
3863
+ handlerOptions?: HandlerOptions<
3864
+ MoveFetchConfig,
3865
+ coin.UpdateDescriptionPayload
3866
+ >,
3852
3867
  ): coin {
3853
3868
  this.onEntryFunctionCall(
3854
3869
  func,
@@ -3856,7 +3871,7 @@ export class coin extends SuiBaseProcessor {
3856
3871
  ...filter,
3857
3872
  function: "coin::update_description",
3858
3873
  },
3859
- fetchConfig,
3874
+ handlerOptions,
3860
3875
  );
3861
3876
  return this;
3862
3877
  }
@@ -3864,7 +3879,7 @@ export class coin extends SuiBaseProcessor {
3864
3879
  onEntryUpdateIconUrl(
3865
3880
  func: (call: coin.UpdateIconUrlPayload, ctx: SuiContext) => void,
3866
3881
  filter?: CallFilter,
3867
- fetchConfig?: Partial<MoveFetchConfig>,
3882
+ handlerOptions?: HandlerOptions<MoveFetchConfig, coin.UpdateIconUrlPayload>,
3868
3883
  ): coin {
3869
3884
  this.onEntryFunctionCall(
3870
3885
  func,
@@ -3872,7 +3887,7 @@ export class coin extends SuiBaseProcessor {
3872
3887
  ...filter,
3873
3888
  function: "coin::update_icon_url",
3874
3889
  },
3875
- fetchConfig,
3890
+ handlerOptions,
3876
3891
  );
3877
3892
  return this;
3878
3893
  }
@@ -3880,7 +3895,7 @@ export class coin extends SuiBaseProcessor {
3880
3895
  onEntryUpdateName(
3881
3896
  func: (call: coin.UpdateNamePayload, ctx: SuiContext) => void,
3882
3897
  filter?: CallFilter,
3883
- fetchConfig?: Partial<MoveFetchConfig>,
3898
+ handlerOptions?: HandlerOptions<MoveFetchConfig, coin.UpdateNamePayload>,
3884
3899
  ): coin {
3885
3900
  this.onEntryFunctionCall(
3886
3901
  func,
@@ -3888,7 +3903,7 @@ export class coin extends SuiBaseProcessor {
3888
3903
  ...filter,
3889
3904
  function: "coin::update_name",
3890
3905
  },
3891
- fetchConfig,
3906
+ handlerOptions,
3892
3907
  );
3893
3908
  return this;
3894
3909
  }
@@ -3896,7 +3911,7 @@ export class coin extends SuiBaseProcessor {
3896
3911
  onEntryUpdateSymbol(
3897
3912
  func: (call: coin.UpdateSymbolPayload, ctx: SuiContext) => void,
3898
3913
  filter?: CallFilter,
3899
- fetchConfig?: Partial<MoveFetchConfig>,
3914
+ handlerOptions?: HandlerOptions<MoveFetchConfig, coin.UpdateSymbolPayload>,
3900
3915
  ): coin {
3901
3916
  this.onEntryFunctionCall(
3902
3917
  func,
@@ -3904,20 +3919,23 @@ export class coin extends SuiBaseProcessor {
3904
3919
  ...filter,
3905
3920
  function: "coin::update_symbol",
3906
3921
  },
3907
- fetchConfig,
3922
+ handlerOptions,
3908
3923
  );
3909
3924
  return this;
3910
3925
  }
3911
3926
 
3912
3927
  onEventCurrencyCreated(
3913
3928
  func: (event: coin.CurrencyCreatedInstance, ctx: SuiContext) => void,
3914
- fetchConfig?: Partial<MoveFetchConfig>,
3929
+ handlerOptions?: HandlerOptions<
3930
+ MoveFetchConfig,
3931
+ coin.CurrencyCreatedInstance
3932
+ >,
3915
3933
  eventFilter?: Omit<EventFilter, "type" | "account">,
3916
3934
  ): coin {
3917
3935
  this.onMoveEvent(
3918
3936
  func,
3919
3937
  { ...(eventFilter ?? {}), type: "coin::CurrencyCreated" },
3920
- fetchConfig,
3938
+ handlerOptions,
3921
3939
  );
3922
3940
  return this;
3923
3941
  }
@@ -6454,39 +6472,48 @@ export class deny_list extends SuiBaseProcessor {
6454
6472
 
6455
6473
  onEventAddressKey(
6456
6474
  func: (event: deny_list.AddressKeyInstance, ctx: SuiContext) => void,
6457
- fetchConfig?: Partial<MoveFetchConfig>,
6475
+ handlerOptions?: HandlerOptions<
6476
+ MoveFetchConfig,
6477
+ deny_list.AddressKeyInstance
6478
+ >,
6458
6479
  eventFilter?: Omit<EventFilter, "type" | "account">,
6459
6480
  ): deny_list {
6460
6481
  this.onMoveEvent(
6461
6482
  func,
6462
6483
  { ...(eventFilter ?? {}), type: "deny_list::AddressKey" },
6463
- fetchConfig,
6484
+ handlerOptions,
6464
6485
  );
6465
6486
  return this;
6466
6487
  }
6467
6488
 
6468
6489
  onEventConfigKey(
6469
6490
  func: (event: deny_list.ConfigKeyInstance, ctx: SuiContext) => void,
6470
- fetchConfig?: Partial<MoveFetchConfig>,
6491
+ handlerOptions?: HandlerOptions<
6492
+ MoveFetchConfig,
6493
+ deny_list.ConfigKeyInstance
6494
+ >,
6471
6495
  eventFilter?: Omit<EventFilter, "type" | "account">,
6472
6496
  ): deny_list {
6473
6497
  this.onMoveEvent(
6474
6498
  func,
6475
6499
  { ...(eventFilter ?? {}), type: "deny_list::ConfigKey" },
6476
- fetchConfig,
6500
+ handlerOptions,
6477
6501
  );
6478
6502
  return this;
6479
6503
  }
6480
6504
 
6481
6505
  onEventGlobalPauseKey(
6482
6506
  func: (event: deny_list.GlobalPauseKeyInstance, ctx: SuiContext) => void,
6483
- fetchConfig?: Partial<MoveFetchConfig>,
6507
+ handlerOptions?: HandlerOptions<
6508
+ MoveFetchConfig,
6509
+ deny_list.GlobalPauseKeyInstance
6510
+ >,
6484
6511
  eventFilter?: Omit<EventFilter, "type" | "account">,
6485
6512
  ): deny_list {
6486
6513
  this.onMoveEvent(
6487
6514
  func,
6488
6515
  { ...(eventFilter ?? {}), type: "deny_list::GlobalPauseKey" },
6489
- fetchConfig,
6516
+ handlerOptions,
6490
6517
  );
6491
6518
  return this;
6492
6519
  }
@@ -6496,13 +6523,16 @@ export class deny_list extends SuiBaseProcessor {
6496
6523
  event: deny_list.PerTypeConfigCreatedInstance,
6497
6524
  ctx: SuiContext,
6498
6525
  ) => void,
6499
- fetchConfig?: Partial<MoveFetchConfig>,
6526
+ handlerOptions?: HandlerOptions<
6527
+ MoveFetchConfig,
6528
+ deny_list.PerTypeConfigCreatedInstance
6529
+ >,
6500
6530
  eventFilter?: Omit<EventFilter, "type" | "account">,
6501
6531
  ): deny_list {
6502
6532
  this.onMoveEvent(
6503
6533
  func,
6504
6534
  { ...(eventFilter ?? {}), type: "deny_list::PerTypeConfigCreated" },
6505
- fetchConfig,
6535
+ handlerOptions,
6506
6536
  );
6507
6537
  return this;
6508
6538
  }
@@ -7126,7 +7156,7 @@ export class display extends SuiBaseProcessor {
7126
7156
  onEntryAdd(
7127
7157
  func: (call: display.AddPayload, ctx: SuiContext) => void,
7128
7158
  filter?: CallFilter,
7129
- fetchConfig?: Partial<MoveFetchConfig>,
7159
+ handlerOptions?: HandlerOptions<MoveFetchConfig, display.AddPayload>,
7130
7160
  ): display {
7131
7161
  this.onEntryFunctionCall(
7132
7162
  func,
@@ -7134,7 +7164,7 @@ export class display extends SuiBaseProcessor {
7134
7164
  ...filter,
7135
7165
  function: "display::add",
7136
7166
  },
7137
- fetchConfig,
7167
+ handlerOptions,
7138
7168
  );
7139
7169
  return this;
7140
7170
  }
@@ -7142,7 +7172,10 @@ export class display extends SuiBaseProcessor {
7142
7172
  onEntryAddMultiple(
7143
7173
  func: (call: display.AddMultiplePayload, ctx: SuiContext) => void,
7144
7174
  filter?: CallFilter,
7145
- fetchConfig?: Partial<MoveFetchConfig>,
7175
+ handlerOptions?: HandlerOptions<
7176
+ MoveFetchConfig,
7177
+ display.AddMultiplePayload
7178
+ >,
7146
7179
  ): display {
7147
7180
  this.onEntryFunctionCall(
7148
7181
  func,
@@ -7150,7 +7183,7 @@ export class display extends SuiBaseProcessor {
7150
7183
  ...filter,
7151
7184
  function: "display::add_multiple",
7152
7185
  },
7153
- fetchConfig,
7186
+ handlerOptions,
7154
7187
  );
7155
7188
  return this;
7156
7189
  }
@@ -7158,7 +7191,10 @@ export class display extends SuiBaseProcessor {
7158
7191
  onEntryCreateAndKeep(
7159
7192
  func: (call: display.CreateAndKeepPayload, ctx: SuiContext) => void,
7160
7193
  filter?: CallFilter,
7161
- fetchConfig?: Partial<MoveFetchConfig>,
7194
+ handlerOptions?: HandlerOptions<
7195
+ MoveFetchConfig,
7196
+ display.CreateAndKeepPayload
7197
+ >,
7162
7198
  ): display {
7163
7199
  this.onEntryFunctionCall(
7164
7200
  func,
@@ -7166,7 +7202,7 @@ export class display extends SuiBaseProcessor {
7166
7202
  ...filter,
7167
7203
  function: "display::create_and_keep",
7168
7204
  },
7169
- fetchConfig,
7205
+ handlerOptions,
7170
7206
  );
7171
7207
  return this;
7172
7208
  }
@@ -7174,7 +7210,7 @@ export class display extends SuiBaseProcessor {
7174
7210
  onEntryEdit(
7175
7211
  func: (call: display.EditPayload, ctx: SuiContext) => void,
7176
7212
  filter?: CallFilter,
7177
- fetchConfig?: Partial<MoveFetchConfig>,
7213
+ handlerOptions?: HandlerOptions<MoveFetchConfig, display.EditPayload>,
7178
7214
  ): display {
7179
7215
  this.onEntryFunctionCall(
7180
7216
  func,
@@ -7182,7 +7218,7 @@ export class display extends SuiBaseProcessor {
7182
7218
  ...filter,
7183
7219
  function: "display::edit",
7184
7220
  },
7185
- fetchConfig,
7221
+ handlerOptions,
7186
7222
  );
7187
7223
  return this;
7188
7224
  }
@@ -7190,7 +7226,7 @@ export class display extends SuiBaseProcessor {
7190
7226
  onEntryRemove(
7191
7227
  func: (call: display.RemovePayload, ctx: SuiContext) => void,
7192
7228
  filter?: CallFilter,
7193
- fetchConfig?: Partial<MoveFetchConfig>,
7229
+ handlerOptions?: HandlerOptions<MoveFetchConfig, display.RemovePayload>,
7194
7230
  ): display {
7195
7231
  this.onEntryFunctionCall(
7196
7232
  func,
@@ -7198,7 +7234,7 @@ export class display extends SuiBaseProcessor {
7198
7234
  ...filter,
7199
7235
  function: "display::remove",
7200
7236
  },
7201
- fetchConfig,
7237
+ handlerOptions,
7202
7238
  );
7203
7239
  return this;
7204
7240
  }
@@ -7206,7 +7242,10 @@ export class display extends SuiBaseProcessor {
7206
7242
  onEntryUpdateVersion(
7207
7243
  func: (call: display.UpdateVersionPayload, ctx: SuiContext) => void,
7208
7244
  filter?: CallFilter,
7209
- fetchConfig?: Partial<MoveFetchConfig>,
7245
+ handlerOptions?: HandlerOptions<
7246
+ MoveFetchConfig,
7247
+ display.UpdateVersionPayload
7248
+ >,
7210
7249
  ): display {
7211
7250
  this.onEntryFunctionCall(
7212
7251
  func,
@@ -7214,33 +7253,39 @@ export class display extends SuiBaseProcessor {
7214
7253
  ...filter,
7215
7254
  function: "display::update_version",
7216
7255
  },
7217
- fetchConfig,
7256
+ handlerOptions,
7218
7257
  );
7219
7258
  return this;
7220
7259
  }
7221
7260
 
7222
7261
  onEventDisplayCreated(
7223
7262
  func: (event: display.DisplayCreatedInstance, ctx: SuiContext) => void,
7224
- fetchConfig?: Partial<MoveFetchConfig>,
7263
+ handlerOptions?: HandlerOptions<
7264
+ MoveFetchConfig,
7265
+ display.DisplayCreatedInstance
7266
+ >,
7225
7267
  eventFilter?: Omit<EventFilter, "type" | "account">,
7226
7268
  ): display {
7227
7269
  this.onMoveEvent(
7228
7270
  func,
7229
7271
  { ...(eventFilter ?? {}), type: "display::DisplayCreated" },
7230
- fetchConfig,
7272
+ handlerOptions,
7231
7273
  );
7232
7274
  return this;
7233
7275
  }
7234
7276
 
7235
7277
  onEventVersionUpdated(
7236
7278
  func: (event: display.VersionUpdatedInstance, ctx: SuiContext) => void,
7237
- fetchConfig?: Partial<MoveFetchConfig>,
7279
+ handlerOptions?: HandlerOptions<
7280
+ MoveFetchConfig,
7281
+ display.VersionUpdatedInstance
7282
+ >,
7238
7283
  eventFilter?: Omit<EventFilter, "type" | "account">,
7239
7284
  ): display {
7240
7285
  this.onMoveEvent(
7241
7286
  func,
7242
7287
  { ...(eventFilter ?? {}), type: "display::VersionUpdated" },
7243
- fetchConfig,
7288
+ handlerOptions,
7244
7289
  );
7245
7290
  return this;
7246
7291
  }
@@ -8446,13 +8491,16 @@ export class dynamic_object_field extends SuiBaseProcessor {
8446
8491
  event: dynamic_object_field.WrapperInstance,
8447
8492
  ctx: SuiContext,
8448
8493
  ) => void,
8449
- fetchConfig?: Partial<MoveFetchConfig>,
8494
+ handlerOptions?: HandlerOptions<
8495
+ MoveFetchConfig,
8496
+ dynamic_object_field.WrapperInstance
8497
+ >,
8450
8498
  eventFilter?: Omit<EventFilter, "type" | "account">,
8451
8499
  ): dynamic_object_field {
8452
8500
  this.onMoveEvent(
8453
8501
  func,
8454
8502
  { ...(eventFilter ?? {}), type: "dynamic_object_field::Wrapper" },
8455
- fetchConfig,
8503
+ handlerOptions,
8456
8504
  );
8457
8505
  return this;
8458
8506
  }
@@ -9334,13 +9382,13 @@ export class groth16 extends SuiBaseProcessor {
9334
9382
 
9335
9383
  onEventCurve(
9336
9384
  func: (event: groth16.CurveInstance, ctx: SuiContext) => void,
9337
- fetchConfig?: Partial<MoveFetchConfig>,
9385
+ handlerOptions?: HandlerOptions<MoveFetchConfig, groth16.CurveInstance>,
9338
9386
  eventFilter?: Omit<EventFilter, "type" | "account">,
9339
9387
  ): groth16 {
9340
9388
  this.onMoveEvent(
9341
9389
  func,
9342
9390
  { ...(eventFilter ?? {}), type: "groth16::Curve" },
9343
- fetchConfig,
9391
+ handlerOptions,
9344
9392
  );
9345
9393
  return this;
9346
9394
  }
@@ -9350,39 +9398,48 @@ export class groth16 extends SuiBaseProcessor {
9350
9398
  event: groth16.PreparedVerifyingKeyInstance,
9351
9399
  ctx: SuiContext,
9352
9400
  ) => void,
9353
- fetchConfig?: Partial<MoveFetchConfig>,
9401
+ handlerOptions?: HandlerOptions<
9402
+ MoveFetchConfig,
9403
+ groth16.PreparedVerifyingKeyInstance
9404
+ >,
9354
9405
  eventFilter?: Omit<EventFilter, "type" | "account">,
9355
9406
  ): groth16 {
9356
9407
  this.onMoveEvent(
9357
9408
  func,
9358
9409
  { ...(eventFilter ?? {}), type: "groth16::PreparedVerifyingKey" },
9359
- fetchConfig,
9410
+ handlerOptions,
9360
9411
  );
9361
9412
  return this;
9362
9413
  }
9363
9414
 
9364
9415
  onEventProofPoints(
9365
9416
  func: (event: groth16.ProofPointsInstance, ctx: SuiContext) => void,
9366
- fetchConfig?: Partial<MoveFetchConfig>,
9417
+ handlerOptions?: HandlerOptions<
9418
+ MoveFetchConfig,
9419
+ groth16.ProofPointsInstance
9420
+ >,
9367
9421
  eventFilter?: Omit<EventFilter, "type" | "account">,
9368
9422
  ): groth16 {
9369
9423
  this.onMoveEvent(
9370
9424
  func,
9371
9425
  { ...(eventFilter ?? {}), type: "groth16::ProofPoints" },
9372
- fetchConfig,
9426
+ handlerOptions,
9373
9427
  );
9374
9428
  return this;
9375
9429
  }
9376
9430
 
9377
9431
  onEventPublicProofInputs(
9378
9432
  func: (event: groth16.PublicProofInputsInstance, ctx: SuiContext) => void,
9379
- fetchConfig?: Partial<MoveFetchConfig>,
9433
+ handlerOptions?: HandlerOptions<
9434
+ MoveFetchConfig,
9435
+ groth16.PublicProofInputsInstance
9436
+ >,
9380
9437
  eventFilter?: Omit<EventFilter, "type" | "account">,
9381
9438
  ): groth16 {
9382
9439
  this.onMoveEvent(
9383
9440
  func,
9384
9441
  { ...(eventFilter ?? {}), type: "groth16::PublicProofInputs" },
9385
- fetchConfig,
9442
+ handlerOptions,
9386
9443
  );
9387
9444
  return this;
9388
9445
  }
@@ -9746,13 +9803,13 @@ export class group_ops extends SuiBaseProcessor {
9746
9803
 
9747
9804
  onEventElement(
9748
9805
  func: (event: group_ops.ElementInstance, ctx: SuiContext) => void,
9749
- fetchConfig?: Partial<MoveFetchConfig>,
9806
+ handlerOptions?: HandlerOptions<MoveFetchConfig, group_ops.ElementInstance>,
9750
9807
  eventFilter?: Omit<EventFilter, "type" | "account">,
9751
9808
  ): group_ops {
9752
9809
  this.onMoveEvent(
9753
9810
  func,
9754
9811
  { ...(eventFilter ?? {}), type: "group_ops::Element" },
9755
- fetchConfig,
9812
+ handlerOptions,
9756
9813
  );
9757
9814
  return this;
9758
9815
  }
@@ -10516,7 +10573,7 @@ export class kiosk extends SuiBaseProcessor {
10516
10573
  onEntryDefault(
10517
10574
  func: (call: kiosk.DefaultPayload, ctx: SuiContext) => void,
10518
10575
  filter?: CallFilter,
10519
- fetchConfig?: Partial<MoveFetchConfig>,
10576
+ handlerOptions?: HandlerOptions<MoveFetchConfig, kiosk.DefaultPayload>,
10520
10577
  ): kiosk {
10521
10578
  this.onEntryFunctionCall(
10522
10579
  func,
@@ -10524,85 +10581,91 @@ export class kiosk extends SuiBaseProcessor {
10524
10581
  ...filter,
10525
10582
  function: "kiosk::default",
10526
10583
  },
10527
- fetchConfig,
10584
+ handlerOptions,
10528
10585
  );
10529
10586
  return this;
10530
10587
  }
10531
10588
 
10532
10589
  onEventItem(
10533
10590
  func: (event: kiosk.ItemInstance, ctx: SuiContext) => void,
10534
- fetchConfig?: Partial<MoveFetchConfig>,
10591
+ handlerOptions?: HandlerOptions<MoveFetchConfig, kiosk.ItemInstance>,
10535
10592
  eventFilter?: Omit<EventFilter, "type" | "account">,
10536
10593
  ): kiosk {
10537
10594
  this.onMoveEvent(
10538
10595
  func,
10539
10596
  { ...(eventFilter ?? {}), type: "kiosk::Item" },
10540
- fetchConfig,
10597
+ handlerOptions,
10541
10598
  );
10542
10599
  return this;
10543
10600
  }
10544
10601
 
10545
10602
  onEventItemDelisted(
10546
10603
  func: (event: kiosk.ItemDelistedInstance, ctx: SuiContext) => void,
10547
- fetchConfig?: Partial<MoveFetchConfig>,
10604
+ handlerOptions?: HandlerOptions<
10605
+ MoveFetchConfig,
10606
+ kiosk.ItemDelistedInstance
10607
+ >,
10548
10608
  eventFilter?: Omit<EventFilter, "type" | "account">,
10549
10609
  ): kiosk {
10550
10610
  this.onMoveEvent(
10551
10611
  func,
10552
10612
  { ...(eventFilter ?? {}), type: "kiosk::ItemDelisted" },
10553
- fetchConfig,
10613
+ handlerOptions,
10554
10614
  );
10555
10615
  return this;
10556
10616
  }
10557
10617
 
10558
10618
  onEventItemListed(
10559
10619
  func: (event: kiosk.ItemListedInstance, ctx: SuiContext) => void,
10560
- fetchConfig?: Partial<MoveFetchConfig>,
10620
+ handlerOptions?: HandlerOptions<MoveFetchConfig, kiosk.ItemListedInstance>,
10561
10621
  eventFilter?: Omit<EventFilter, "type" | "account">,
10562
10622
  ): kiosk {
10563
10623
  this.onMoveEvent(
10564
10624
  func,
10565
10625
  { ...(eventFilter ?? {}), type: "kiosk::ItemListed" },
10566
- fetchConfig,
10626
+ handlerOptions,
10567
10627
  );
10568
10628
  return this;
10569
10629
  }
10570
10630
 
10571
10631
  onEventItemPurchased(
10572
10632
  func: (event: kiosk.ItemPurchasedInstance, ctx: SuiContext) => void,
10573
- fetchConfig?: Partial<MoveFetchConfig>,
10633
+ handlerOptions?: HandlerOptions<
10634
+ MoveFetchConfig,
10635
+ kiosk.ItemPurchasedInstance
10636
+ >,
10574
10637
  eventFilter?: Omit<EventFilter, "type" | "account">,
10575
10638
  ): kiosk {
10576
10639
  this.onMoveEvent(
10577
10640
  func,
10578
10641
  { ...(eventFilter ?? {}), type: "kiosk::ItemPurchased" },
10579
- fetchConfig,
10642
+ handlerOptions,
10580
10643
  );
10581
10644
  return this;
10582
10645
  }
10583
10646
 
10584
10647
  onEventListing(
10585
10648
  func: (event: kiosk.ListingInstance, ctx: SuiContext) => void,
10586
- fetchConfig?: Partial<MoveFetchConfig>,
10649
+ handlerOptions?: HandlerOptions<MoveFetchConfig, kiosk.ListingInstance>,
10587
10650
  eventFilter?: Omit<EventFilter, "type" | "account">,
10588
10651
  ): kiosk {
10589
10652
  this.onMoveEvent(
10590
10653
  func,
10591
10654
  { ...(eventFilter ?? {}), type: "kiosk::Listing" },
10592
- fetchConfig,
10655
+ handlerOptions,
10593
10656
  );
10594
10657
  return this;
10595
10658
  }
10596
10659
 
10597
10660
  onEventLock(
10598
10661
  func: (event: kiosk.LockInstance, ctx: SuiContext) => void,
10599
- fetchConfig?: Partial<MoveFetchConfig>,
10662
+ handlerOptions?: HandlerOptions<MoveFetchConfig, kiosk.LockInstance>,
10600
10663
  eventFilter?: Omit<EventFilter, "type" | "account">,
10601
10664
  ): kiosk {
10602
10665
  this.onMoveEvent(
10603
10666
  func,
10604
10667
  { ...(eventFilter ?? {}), type: "kiosk::Lock" },
10605
- fetchConfig,
10668
+ handlerOptions,
10606
10669
  );
10607
10670
  return this;
10608
10671
  }
@@ -12301,13 +12364,16 @@ export class kiosk_extension extends SuiBaseProcessor {
12301
12364
  event: kiosk_extension.ExtensionKeyInstance,
12302
12365
  ctx: SuiContext,
12303
12366
  ) => void,
12304
- fetchConfig?: Partial<MoveFetchConfig>,
12367
+ handlerOptions?: HandlerOptions<
12368
+ MoveFetchConfig,
12369
+ kiosk_extension.ExtensionKeyInstance
12370
+ >,
12305
12371
  eventFilter?: Omit<EventFilter, "type" | "account">,
12306
12372
  ): kiosk_extension {
12307
12373
  this.onMoveEvent(
12308
12374
  func,
12309
12375
  { ...(eventFilter ?? {}), type: "kiosk_extension::ExtensionKey" },
12310
- fetchConfig,
12376
+ handlerOptions,
12311
12377
  );
12312
12378
  return this;
12313
12379
  }
@@ -13806,7 +13872,10 @@ export class nitro_attestation extends SuiBaseProcessor {
13806
13872
  ctx: SuiContext,
13807
13873
  ) => void,
13808
13874
  filter?: CallFilter,
13809
- fetchConfig?: Partial<MoveFetchConfig>,
13875
+ handlerOptions?: HandlerOptions<
13876
+ MoveFetchConfig,
13877
+ nitro_attestation.LoadNitroAttestationPayload
13878
+ >,
13810
13879
  ): nitro_attestation {
13811
13880
  this.onEntryFunctionCall(
13812
13881
  func,
@@ -13814,7 +13883,7 @@ export class nitro_attestation extends SuiBaseProcessor {
13814
13883
  ...filter,
13815
13884
  function: "nitro_attestation::load_nitro_attestation",
13816
13885
  },
13817
- fetchConfig,
13886
+ handlerOptions,
13818
13887
  );
13819
13888
  return this;
13820
13889
  }
@@ -15592,7 +15661,10 @@ export class package$ extends SuiBaseProcessor {
15592
15661
  onEntryMakeImmutable(
15593
15662
  func: (call: package$.MakeImmutablePayload, ctx: SuiContext) => void,
15594
15663
  filter?: CallFilter,
15595
- fetchConfig?: Partial<MoveFetchConfig>,
15664
+ handlerOptions?: HandlerOptions<
15665
+ MoveFetchConfig,
15666
+ package$.MakeImmutablePayload
15667
+ >,
15596
15668
  ): package$ {
15597
15669
  this.onEntryFunctionCall(
15598
15670
  func,
@@ -15600,7 +15672,7 @@ export class package$ extends SuiBaseProcessor {
15600
15672
  ...filter,
15601
15673
  function: "package::make_immutable",
15602
15674
  },
15603
- fetchConfig,
15675
+ handlerOptions,
15604
15676
  );
15605
15677
  return this;
15606
15678
  }
@@ -15608,7 +15680,10 @@ export class package$ extends SuiBaseProcessor {
15608
15680
  onEntryOnlyAdditiveUpgrades(
15609
15681
  func: (call: package$.OnlyAdditiveUpgradesPayload, ctx: SuiContext) => void,
15610
15682
  filter?: CallFilter,
15611
- fetchConfig?: Partial<MoveFetchConfig>,
15683
+ handlerOptions?: HandlerOptions<
15684
+ MoveFetchConfig,
15685
+ package$.OnlyAdditiveUpgradesPayload
15686
+ >,
15612
15687
  ): package$ {
15613
15688
  this.onEntryFunctionCall(
15614
15689
  func,
@@ -15616,7 +15691,7 @@ export class package$ extends SuiBaseProcessor {
15616
15691
  ...filter,
15617
15692
  function: "package::only_additive_upgrades",
15618
15693
  },
15619
- fetchConfig,
15694
+ handlerOptions,
15620
15695
  );
15621
15696
  return this;
15622
15697
  }
@@ -15624,7 +15699,10 @@ export class package$ extends SuiBaseProcessor {
15624
15699
  onEntryOnlyDepUpgrades(
15625
15700
  func: (call: package$.OnlyDepUpgradesPayload, ctx: SuiContext) => void,
15626
15701
  filter?: CallFilter,
15627
- fetchConfig?: Partial<MoveFetchConfig>,
15702
+ handlerOptions?: HandlerOptions<
15703
+ MoveFetchConfig,
15704
+ package$.OnlyDepUpgradesPayload
15705
+ >,
15628
15706
  ): package$ {
15629
15707
  this.onEntryFunctionCall(
15630
15708
  func,
@@ -15632,7 +15710,7 @@ export class package$ extends SuiBaseProcessor {
15632
15710
  ...filter,
15633
15711
  function: "package::only_dep_upgrades",
15634
15712
  },
15635
- fetchConfig,
15713
+ handlerOptions,
15636
15714
  );
15637
15715
  return this;
15638
15716
  }
@@ -16424,7 +16502,7 @@ export class pay extends SuiBaseProcessor {
16424
16502
  onEntryDivideAndKeep(
16425
16503
  func: (call: pay.DivideAndKeepPayload, ctx: SuiContext) => void,
16426
16504
  filter?: CallFilter,
16427
- fetchConfig?: Partial<MoveFetchConfig>,
16505
+ handlerOptions?: HandlerOptions<MoveFetchConfig, pay.DivideAndKeepPayload>,
16428
16506
  ): pay {
16429
16507
  this.onEntryFunctionCall(
16430
16508
  func,
@@ -16432,7 +16510,7 @@ export class pay extends SuiBaseProcessor {
16432
16510
  ...filter,
16433
16511
  function: "pay::divide_and_keep",
16434
16512
  },
16435
- fetchConfig,
16513
+ handlerOptions,
16436
16514
  );
16437
16515
  return this;
16438
16516
  }
@@ -16440,7 +16518,7 @@ export class pay extends SuiBaseProcessor {
16440
16518
  onEntryJoin(
16441
16519
  func: (call: pay.JoinPayload, ctx: SuiContext) => void,
16442
16520
  filter?: CallFilter,
16443
- fetchConfig?: Partial<MoveFetchConfig>,
16521
+ handlerOptions?: HandlerOptions<MoveFetchConfig, pay.JoinPayload>,
16444
16522
  ): pay {
16445
16523
  this.onEntryFunctionCall(
16446
16524
  func,
@@ -16448,7 +16526,7 @@ export class pay extends SuiBaseProcessor {
16448
16526
  ...filter,
16449
16527
  function: "pay::join",
16450
16528
  },
16451
- fetchConfig,
16529
+ handlerOptions,
16452
16530
  );
16453
16531
  return this;
16454
16532
  }
@@ -16456,7 +16534,7 @@ export class pay extends SuiBaseProcessor {
16456
16534
  onEntryJoinVec(
16457
16535
  func: (call: pay.JoinVecPayload, ctx: SuiContext) => void,
16458
16536
  filter?: CallFilter,
16459
- fetchConfig?: Partial<MoveFetchConfig>,
16537
+ handlerOptions?: HandlerOptions<MoveFetchConfig, pay.JoinVecPayload>,
16460
16538
  ): pay {
16461
16539
  this.onEntryFunctionCall(
16462
16540
  func,
@@ -16464,7 +16542,7 @@ export class pay extends SuiBaseProcessor {
16464
16542
  ...filter,
16465
16543
  function: "pay::join_vec",
16466
16544
  },
16467
- fetchConfig,
16545
+ handlerOptions,
16468
16546
  );
16469
16547
  return this;
16470
16548
  }
@@ -16472,7 +16550,10 @@ export class pay extends SuiBaseProcessor {
16472
16550
  onEntryJoinVecAndTransfer(
16473
16551
  func: (call: pay.JoinVecAndTransferPayload, ctx: SuiContext) => void,
16474
16552
  filter?: CallFilter,
16475
- fetchConfig?: Partial<MoveFetchConfig>,
16553
+ handlerOptions?: HandlerOptions<
16554
+ MoveFetchConfig,
16555
+ pay.JoinVecAndTransferPayload
16556
+ >,
16476
16557
  ): pay {
16477
16558
  this.onEntryFunctionCall(
16478
16559
  func,
@@ -16480,7 +16561,7 @@ export class pay extends SuiBaseProcessor {
16480
16561
  ...filter,
16481
16562
  function: "pay::join_vec_and_transfer",
16482
16563
  },
16483
- fetchConfig,
16564
+ handlerOptions,
16484
16565
  );
16485
16566
  return this;
16486
16567
  }
@@ -16488,7 +16569,7 @@ export class pay extends SuiBaseProcessor {
16488
16569
  onEntrySplit(
16489
16570
  func: (call: pay.SplitPayload, ctx: SuiContext) => void,
16490
16571
  filter?: CallFilter,
16491
- fetchConfig?: Partial<MoveFetchConfig>,
16572
+ handlerOptions?: HandlerOptions<MoveFetchConfig, pay.SplitPayload>,
16492
16573
  ): pay {
16493
16574
  this.onEntryFunctionCall(
16494
16575
  func,
@@ -16496,7 +16577,7 @@ export class pay extends SuiBaseProcessor {
16496
16577
  ...filter,
16497
16578
  function: "pay::split",
16498
16579
  },
16499
- fetchConfig,
16580
+ handlerOptions,
16500
16581
  );
16501
16582
  return this;
16502
16583
  }
@@ -16504,7 +16585,10 @@ export class pay extends SuiBaseProcessor {
16504
16585
  onEntrySplitAndTransfer(
16505
16586
  func: (call: pay.SplitAndTransferPayload, ctx: SuiContext) => void,
16506
16587
  filter?: CallFilter,
16507
- fetchConfig?: Partial<MoveFetchConfig>,
16588
+ handlerOptions?: HandlerOptions<
16589
+ MoveFetchConfig,
16590
+ pay.SplitAndTransferPayload
16591
+ >,
16508
16592
  ): pay {
16509
16593
  this.onEntryFunctionCall(
16510
16594
  func,
@@ -16512,7 +16596,7 @@ export class pay extends SuiBaseProcessor {
16512
16596
  ...filter,
16513
16597
  function: "pay::split_and_transfer",
16514
16598
  },
16515
- fetchConfig,
16599
+ handlerOptions,
16516
16600
  );
16517
16601
  return this;
16518
16602
  }
@@ -16520,7 +16604,7 @@ export class pay extends SuiBaseProcessor {
16520
16604
  onEntrySplitVec(
16521
16605
  func: (call: pay.SplitVecPayload, ctx: SuiContext) => void,
16522
16606
  filter?: CallFilter,
16523
- fetchConfig?: Partial<MoveFetchConfig>,
16607
+ handlerOptions?: HandlerOptions<MoveFetchConfig, pay.SplitVecPayload>,
16524
16608
  ): pay {
16525
16609
  this.onEntryFunctionCall(
16526
16610
  func,
@@ -16528,7 +16612,7 @@ export class pay extends SuiBaseProcessor {
16528
16612
  ...filter,
16529
16613
  function: "pay::split_vec",
16530
16614
  },
16531
- fetchConfig,
16615
+ handlerOptions,
16532
16616
  );
16533
16617
  return this;
16534
16618
  }
@@ -17741,7 +17825,7 @@ export class sui extends SuiBaseProcessor {
17741
17825
  onEntryTransfer(
17742
17826
  func: (call: sui.TransferPayload, ctx: SuiContext) => void,
17743
17827
  filter?: CallFilter,
17744
- fetchConfig?: Partial<MoveFetchConfig>,
17828
+ handlerOptions?: HandlerOptions<MoveFetchConfig, sui.TransferPayload>,
17745
17829
  ): sui {
17746
17830
  this.onEntryFunctionCall(
17747
17831
  func,
@@ -17749,7 +17833,7 @@ export class sui extends SuiBaseProcessor {
17749
17833
  ...filter,
17750
17834
  function: "sui::transfer",
17751
17835
  },
17752
- fetchConfig,
17836
+ handlerOptions,
17753
17837
  );
17754
17838
  return this;
17755
17839
  }
@@ -18721,26 +18805,29 @@ export class token extends SuiBaseProcessor {
18721
18805
 
18722
18806
  onEventRuleKey(
18723
18807
  func: (event: token.RuleKeyInstance, ctx: SuiContext) => void,
18724
- fetchConfig?: Partial<MoveFetchConfig>,
18808
+ handlerOptions?: HandlerOptions<MoveFetchConfig, token.RuleKeyInstance>,
18725
18809
  eventFilter?: Omit<EventFilter, "type" | "account">,
18726
18810
  ): token {
18727
18811
  this.onMoveEvent(
18728
18812
  func,
18729
18813
  { ...(eventFilter ?? {}), type: "token::RuleKey" },
18730
- fetchConfig,
18814
+ handlerOptions,
18731
18815
  );
18732
18816
  return this;
18733
18817
  }
18734
18818
 
18735
18819
  onEventTokenPolicyCreated(
18736
18820
  func: (event: token.TokenPolicyCreatedInstance, ctx: SuiContext) => void,
18737
- fetchConfig?: Partial<MoveFetchConfig>,
18821
+ handlerOptions?: HandlerOptions<
18822
+ MoveFetchConfig,
18823
+ token.TokenPolicyCreatedInstance
18824
+ >,
18738
18825
  eventFilter?: Omit<EventFilter, "type" | "account">,
18739
18826
  ): token {
18740
18827
  this.onMoveEvent(
18741
18828
  func,
18742
18829
  { ...(eventFilter ?? {}), type: "token::TokenPolicyCreated" },
18743
- fetchConfig,
18830
+ handlerOptions,
18744
18831
  );
18745
18832
  return this;
18746
18833
  }
@@ -21094,7 +21181,10 @@ export class transfer_policy extends SuiBaseProcessor {
21094
21181
  onEntryDefault(
21095
21182
  func: (call: transfer_policy.DefaultPayload, ctx: SuiContext) => void,
21096
21183
  filter?: CallFilter,
21097
- fetchConfig?: Partial<MoveFetchConfig>,
21184
+ handlerOptions?: HandlerOptions<
21185
+ MoveFetchConfig,
21186
+ transfer_policy.DefaultPayload
21187
+ >,
21098
21188
  ): transfer_policy {
21099
21189
  this.onEntryFunctionCall(
21100
21190
  func,
@@ -21102,20 +21192,23 @@ export class transfer_policy extends SuiBaseProcessor {
21102
21192
  ...filter,
21103
21193
  function: "transfer_policy::default",
21104
21194
  },
21105
- fetchConfig,
21195
+ handlerOptions,
21106
21196
  );
21107
21197
  return this;
21108
21198
  }
21109
21199
 
21110
21200
  onEventRuleKey(
21111
21201
  func: (event: transfer_policy.RuleKeyInstance, ctx: SuiContext) => void,
21112
- fetchConfig?: Partial<MoveFetchConfig>,
21202
+ handlerOptions?: HandlerOptions<
21203
+ MoveFetchConfig,
21204
+ transfer_policy.RuleKeyInstance
21205
+ >,
21113
21206
  eventFilter?: Omit<EventFilter, "type" | "account">,
21114
21207
  ): transfer_policy {
21115
21208
  this.onMoveEvent(
21116
21209
  func,
21117
21210
  { ...(eventFilter ?? {}), type: "transfer_policy::RuleKey" },
21118
- fetchConfig,
21211
+ handlerOptions,
21119
21212
  );
21120
21213
  return this;
21121
21214
  }
@@ -21125,7 +21218,10 @@ export class transfer_policy extends SuiBaseProcessor {
21125
21218
  event: transfer_policy.TransferPolicyCreatedInstance,
21126
21219
  ctx: SuiContext,
21127
21220
  ) => void,
21128
- fetchConfig?: Partial<MoveFetchConfig>,
21221
+ handlerOptions?: HandlerOptions<
21222
+ MoveFetchConfig,
21223
+ transfer_policy.TransferPolicyCreatedInstance
21224
+ >,
21129
21225
  eventFilter?: Omit<EventFilter, "type" | "account">,
21130
21226
  ): transfer_policy {
21131
21227
  this.onMoveEvent(
@@ -21134,7 +21230,7 @@ export class transfer_policy extends SuiBaseProcessor {
21134
21230
  ...(eventFilter ?? {}),
21135
21231
  type: "transfer_policy::TransferPolicyCreated",
21136
21232
  },
21137
- fetchConfig,
21233
+ handlerOptions,
21138
21234
  );
21139
21235
  return this;
21140
21236
  }
@@ -21144,7 +21240,10 @@ export class transfer_policy extends SuiBaseProcessor {
21144
21240
  event: transfer_policy.TransferPolicyDestroyedInstance,
21145
21241
  ctx: SuiContext,
21146
21242
  ) => void,
21147
- fetchConfig?: Partial<MoveFetchConfig>,
21243
+ handlerOptions?: HandlerOptions<
21244
+ MoveFetchConfig,
21245
+ transfer_policy.TransferPolicyDestroyedInstance
21246
+ >,
21148
21247
  eventFilter?: Omit<EventFilter, "type" | "account">,
21149
21248
  ): transfer_policy {
21150
21249
  this.onMoveEvent(
@@ -21153,7 +21252,7 @@ export class transfer_policy extends SuiBaseProcessor {
21153
21252
  ...(eventFilter ?? {}),
21154
21253
  type: "transfer_policy::TransferPolicyDestroyed",
21155
21254
  },
21156
- fetchConfig,
21255
+ handlerOptions,
21157
21256
  );
21158
21257
  return this;
21159
21258
  }
@@ -22282,13 +22381,13 @@ export class url extends SuiBaseProcessor {
22282
22381
 
22283
22382
  onEventUrl(
22284
22383
  func: (event: url.UrlInstance, ctx: SuiContext) => void,
22285
- fetchConfig?: Partial<MoveFetchConfig>,
22384
+ handlerOptions?: HandlerOptions<MoveFetchConfig, url.UrlInstance>,
22286
22385
  eventFilter?: Omit<EventFilter, "type" | "account">,
22287
22386
  ): url {
22288
22387
  this.onMoveEvent(
22289
22388
  func,
22290
22389
  { ...(eventFilter ?? {}), type: "url::Url" },
22291
- fetchConfig,
22390
+ handlerOptions,
22292
22391
  );
22293
22392
  return this;
22294
22393
  }
@@ -22528,26 +22627,26 @@ export class vec_map extends SuiBaseProcessor {
22528
22627
 
22529
22628
  onEventEntry(
22530
22629
  func: (event: vec_map.EntryInstance, ctx: SuiContext) => void,
22531
- fetchConfig?: Partial<MoveFetchConfig>,
22630
+ handlerOptions?: HandlerOptions<MoveFetchConfig, vec_map.EntryInstance>,
22532
22631
  eventFilter?: Omit<EventFilter, "type" | "account">,
22533
22632
  ): vec_map {
22534
22633
  this.onMoveEvent(
22535
22634
  func,
22536
22635
  { ...(eventFilter ?? {}), type: "vec_map::Entry" },
22537
- fetchConfig,
22636
+ handlerOptions,
22538
22637
  );
22539
22638
  return this;
22540
22639
  }
22541
22640
 
22542
22641
  onEventVecMap(
22543
22642
  func: (event: vec_map.VecMapInstance, ctx: SuiContext) => void,
22544
- fetchConfig?: Partial<MoveFetchConfig>,
22643
+ handlerOptions?: HandlerOptions<MoveFetchConfig, vec_map.VecMapInstance>,
22545
22644
  eventFilter?: Omit<EventFilter, "type" | "account">,
22546
22645
  ): vec_map {
22547
22646
  this.onMoveEvent(
22548
22647
  func,
22549
22648
  { ...(eventFilter ?? {}), type: "vec_map::VecMap" },
22550
- fetchConfig,
22649
+ handlerOptions,
22551
22650
  );
22552
22651
  return this;
22553
22652
  }
@@ -23392,13 +23491,13 @@ export class vec_set extends SuiBaseProcessor {
23392
23491
 
23393
23492
  onEventVecSet(
23394
23493
  func: (event: vec_set.VecSetInstance, ctx: SuiContext) => void,
23395
- fetchConfig?: Partial<MoveFetchConfig>,
23494
+ handlerOptions?: HandlerOptions<MoveFetchConfig, vec_set.VecSetInstance>,
23396
23495
  eventFilter?: Omit<EventFilter, "type" | "account">,
23397
23496
  ): vec_set {
23398
23497
  this.onMoveEvent(
23399
23498
  func,
23400
23499
  { ...(eventFilter ?? {}), type: "vec_set::VecSet" },
23401
- fetchConfig,
23500
+ handlerOptions,
23402
23501
  );
23403
23502
  return this;
23404
23503
  }