@sentio/sdk 2.59.0-rc.4 → 2.59.0-rc.41

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