@sentio/sdk 2.59.0-rc.23 → 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 (205) 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 +19 -19
  6. package/lib/aptos/aptos-processor.d.ts.map +1 -1
  7. package/lib/aptos/aptos-processor.js +95 -44
  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 +333 -332
  14. package/lib/aptos/builtin/0x1.d.ts.map +1 -1
  15. package/lib/aptos/builtin/0x1.js +664 -664
  16. package/lib/aptos/builtin/0x1.js.map +1 -1
  17. package/lib/aptos/builtin/0x3.d.ts +66 -65
  18. package/lib/aptos/builtin/0x3.d.ts.map +1 -1
  19. package/lib/aptos/builtin/0x3.js +130 -130
  20. package/lib/aptos/builtin/0x3.js.map +1 -1
  21. package/lib/aptos/builtin/0x4.d.ts +29 -28
  22. package/lib/aptos/builtin/0x4.d.ts.map +1 -1
  23. package/lib/aptos/builtin/0x4.js +56 -56
  24. package/lib/aptos/builtin/0x4.js.map +1 -1
  25. package/lib/aptos/codegen/codegen.js +27 -0
  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/index.d.ts +1 -0
  32. package/lib/aptos/index.d.ts.map +1 -1
  33. package/lib/aptos/index.js.map +1 -1
  34. package/lib/aptos/models.d.ts +1 -0
  35. package/lib/aptos/models.d.ts.map +1 -1
  36. package/lib/btc/btc-plugin.d.ts +4 -1
  37. package/lib/btc/btc-plugin.d.ts.map +1 -1
  38. package/lib/btc/btc-plugin.js +27 -0
  39. package/lib/btc/btc-plugin.js.map +1 -1
  40. package/lib/btc/btc-processor.d.ts +6 -5
  41. package/lib/btc/btc-processor.d.ts.map +1 -1
  42. package/lib/btc/btc-processor.js +35 -9
  43. package/lib/btc/btc-processor.js.map +1 -1
  44. package/lib/btc/types.d.ts +2 -1
  45. package/lib/btc/types.d.ts.map +1 -1
  46. package/lib/core/handler-options.d.ts +25 -0
  47. package/lib/core/handler-options.d.ts.map +1 -0
  48. package/lib/core/handler-options.js +21 -0
  49. package/lib/core/handler-options.js.map +1 -0
  50. package/lib/core/index.d.ts +2 -0
  51. package/lib/core/index.d.ts.map +1 -1
  52. package/lib/core/index.js +2 -0
  53. package/lib/core/index.js.map +1 -1
  54. package/lib/core/partition-handler-manager.d.ts +44 -0
  55. package/lib/core/partition-handler-manager.d.ts.map +1 -0
  56. package/lib/core/partition-handler-manager.js +76 -0
  57. package/lib/core/partition-handler-manager.js.map +1 -0
  58. package/lib/cosmos/cosmos-processor.d.ts +3 -2
  59. package/lib/cosmos/cosmos-processor.d.ts.map +1 -1
  60. package/lib/cosmos/cosmos-processor.js +11 -1
  61. package/lib/cosmos/cosmos-processor.js.map +1 -1
  62. package/lib/cosmos/types.d.ts +1 -0
  63. package/lib/cosmos/types.d.ts.map +1 -1
  64. package/lib/eth/base-processor.d.ts +18 -17
  65. package/lib/eth/base-processor.d.ts.map +1 -1
  66. package/lib/eth/base-processor.js +147 -26
  67. package/lib/eth/base-processor.js.map +1 -1
  68. package/lib/eth/builtin/internal/eacaggregatorproxy-processor.d.ts +32 -31
  69. package/lib/eth/builtin/internal/eacaggregatorproxy-processor.d.ts.map +1 -1
  70. package/lib/eth/builtin/internal/eacaggregatorproxy-processor.js +62 -62
  71. package/lib/eth/builtin/internal/eacaggregatorproxy-processor.js.map +1 -1
  72. package/lib/eth/builtin/internal/erc1155-processor.d.ts +17 -16
  73. package/lib/eth/builtin/internal/erc1155-processor.d.ts.map +1 -1
  74. package/lib/eth/builtin/internal/erc1155-processor.js +32 -32
  75. package/lib/eth/builtin/internal/erc1155-processor.js.map +1 -1
  76. package/lib/eth/builtin/internal/erc20-processor.d.ts +25 -24
  77. package/lib/eth/builtin/internal/erc20-processor.d.ts.map +1 -1
  78. package/lib/eth/builtin/internal/erc20-processor.js +48 -48
  79. package/lib/eth/builtin/internal/erc20-processor.js.map +1 -1
  80. package/lib/eth/builtin/internal/erc20bytes-processor.d.ts +14 -13
  81. package/lib/eth/builtin/internal/erc20bytes-processor.d.ts.map +1 -1
  82. package/lib/eth/builtin/internal/erc20bytes-processor.js +26 -26
  83. package/lib/eth/builtin/internal/erc20bytes-processor.js.map +1 -1
  84. package/lib/eth/builtin/internal/erc721-processor.d.ts +21 -20
  85. package/lib/eth/builtin/internal/erc721-processor.d.ts.map +1 -1
  86. package/lib/eth/builtin/internal/erc721-processor.js +40 -40
  87. package/lib/eth/builtin/internal/erc721-processor.js.map +1 -1
  88. package/lib/eth/builtin/internal/weth9-processor.d.ts +20 -19
  89. package/lib/eth/builtin/internal/weth9-processor.d.ts.map +1 -1
  90. package/lib/eth/builtin/internal/weth9-processor.js +38 -38
  91. package/lib/eth/builtin/internal/weth9-processor.js.map +1 -1
  92. package/lib/eth/codegen/event-handler.js +2 -2
  93. package/lib/eth/codegen/event-handler.js.map +1 -1
  94. package/lib/eth/codegen/file.d.ts.map +1 -1
  95. package/lib/eth/codegen/file.js +1 -0
  96. package/lib/eth/codegen/file.js.map +1 -1
  97. package/lib/eth/codegen/functions-handler.js +2 -2
  98. package/lib/eth/codegen/functions-handler.js.map +1 -1
  99. package/lib/eth/eth-plugin.d.ts +4 -1
  100. package/lib/eth/eth-plugin.d.ts.map +1 -1
  101. package/lib/eth/eth-plugin.js +42 -1
  102. package/lib/eth/eth-plugin.js.map +1 -1
  103. package/lib/eth/eth.d.ts +2 -7
  104. package/lib/eth/eth.d.ts.map +1 -1
  105. package/lib/eth/eth.js +8 -1
  106. package/lib/eth/eth.js.map +1 -1
  107. package/lib/fuel/codegen/codegen.js +5 -5
  108. package/lib/fuel/codegen/codegen.js.map +1 -1
  109. package/lib/fuel/fuel-plugin.d.ts +4 -1
  110. package/lib/fuel/fuel-plugin.d.ts.map +1 -1
  111. package/lib/fuel/fuel-plugin.js +41 -0
  112. package/lib/fuel/fuel-plugin.js.map +1 -1
  113. package/lib/fuel/fuel-processor-template.d.ts +7 -4
  114. package/lib/fuel/fuel-processor-template.d.ts.map +1 -1
  115. package/lib/fuel/fuel-processor-template.js +11 -9
  116. package/lib/fuel/fuel-processor-template.js.map +1 -1
  117. package/lib/fuel/fuel-processor.d.ts +7 -7
  118. package/lib/fuel/fuel-processor.d.ts.map +1 -1
  119. package/lib/fuel/fuel-processor.js +90 -19
  120. package/lib/fuel/fuel-processor.js.map +1 -1
  121. package/lib/fuel/types.d.ts +3 -0
  122. package/lib/fuel/types.d.ts.map +1 -1
  123. package/lib/move/filter.d.ts +4 -0
  124. package/lib/move/filter.d.ts.map +1 -1
  125. package/lib/move/filter.js +4 -0
  126. package/lib/move/filter.js.map +1 -1
  127. package/lib/move/shared-network-codegen.d.ts.map +1 -1
  128. package/lib/move/shared-network-codegen.js +5 -4
  129. package/lib/move/shared-network-codegen.js.map +1 -1
  130. package/lib/solana/solana-processor.d.ts +10 -4
  131. package/lib/solana/solana-processor.d.ts.map +1 -1
  132. package/lib/solana/solana-processor.js +13 -4
  133. package/lib/solana/solana-processor.js.map +1 -1
  134. package/lib/stark/starknet-processor.d.ts +3 -1
  135. package/lib/stark/starknet-processor.d.ts.map +1 -1
  136. package/lib/stark/starknet-processor.js +27 -2
  137. package/lib/stark/starknet-processor.js.map +1 -1
  138. package/lib/sui/builtin/0x1.d.ts +7 -6
  139. package/lib/sui/builtin/0x1.d.ts.map +1 -1
  140. package/lib/sui/builtin/0x1.js +12 -12
  141. package/lib/sui/builtin/0x1.js.map +1 -1
  142. package/lib/sui/builtin/0x2.d.ts +61 -60
  143. package/lib/sui/builtin/0x2.d.ts.map +1 -1
  144. package/lib/sui/builtin/0x2.js +120 -120
  145. package/lib/sui/builtin/0x2.js.map +1 -1
  146. package/lib/sui/builtin/0x3.d.ts +49 -48
  147. package/lib/sui/builtin/0x3.d.ts.map +1 -1
  148. package/lib/sui/builtin/0x3.js +96 -96
  149. package/lib/sui/builtin/0x3.js.map +1 -1
  150. package/lib/sui/models.d.ts +1 -0
  151. package/lib/sui/models.d.ts.map +1 -1
  152. package/lib/sui/sui-plugin.d.ts +6 -3
  153. package/lib/sui/sui-plugin.d.ts.map +1 -1
  154. package/lib/sui/sui-plugin.js +59 -20
  155. package/lib/sui/sui-plugin.js.map +1 -1
  156. package/lib/sui/sui-processor.d.ts +5 -4
  157. package/lib/sui/sui-processor.d.ts.map +1 -1
  158. package/lib/sui/sui-processor.js +47 -11
  159. package/lib/sui/sui-processor.js.map +1 -1
  160. package/package.json +3 -3
  161. package/src/aptos/aptos-plugin.ts +35 -39
  162. package/src/aptos/aptos-processor.ts +104 -60
  163. package/src/aptos/aptos-resource-processor-template.ts +9 -8
  164. package/src/aptos/builtin/0x1.ts +1565 -664
  165. package/src/aptos/builtin/0x3.ts +302 -130
  166. package/src/aptos/builtin/0x4.ts +123 -56
  167. package/src/aptos/codegen/codegen.ts +34 -1
  168. package/src/aptos/data.ts +78 -3
  169. package/src/aptos/index.ts +2 -0
  170. package/src/aptos/models.ts +2 -0
  171. package/src/btc/btc-plugin.ts +38 -0
  172. package/src/btc/btc-processor.ts +35 -10
  173. package/src/btc/types.ts +2 -1
  174. package/src/core/handler-options.ts +40 -0
  175. package/src/core/index.ts +5 -0
  176. package/src/core/partition-handler-manager.ts +94 -0
  177. package/src/cosmos/cosmos-processor.ts +12 -1
  178. package/src/cosmos/types.ts +1 -0
  179. package/src/eth/base-processor.ts +139 -33
  180. package/src/eth/builtin/internal/eacaggregatorproxy-processor.ts +118 -62
  181. package/src/eth/builtin/internal/erc1155-processor.ts +76 -32
  182. package/src/eth/builtin/internal/erc20-processor.ts +79 -48
  183. package/src/eth/builtin/internal/erc20bytes-processor.ts +47 -26
  184. package/src/eth/builtin/internal/erc721-processor.ts +77 -40
  185. package/src/eth/builtin/internal/weth9-processor.ts +79 -38
  186. package/src/eth/codegen/event-handler.ts +2 -2
  187. package/src/eth/codegen/file.ts +1 -0
  188. package/src/eth/codegen/functions-handler.ts +2 -2
  189. package/src/eth/eth-plugin.ts +55 -3
  190. package/src/eth/eth.ts +12 -1
  191. package/src/fuel/codegen/codegen.ts +5 -5
  192. package/src/fuel/fuel-plugin.ts +56 -0
  193. package/src/fuel/fuel-processor-template.ts +17 -10
  194. package/src/fuel/fuel-processor.ts +89 -13
  195. package/src/fuel/types.ts +3 -0
  196. package/src/move/filter.ts +4 -0
  197. package/src/move/shared-network-codegen.ts +5 -4
  198. package/src/solana/solana-processor.ts +28 -6
  199. package/src/stark/starknet-processor.ts +28 -2
  200. package/src/sui/builtin/0x1.ts +22 -12
  201. package/src/sui/builtin/0x2.ts +220 -120
  202. package/src/sui/builtin/0x3.ts +241 -96
  203. package/src/sui/models.ts +2 -0
  204. package/src/sui/sui-plugin.ts +68 -22
  205. package/src/sui/sui-processor.ts +48 -11
@@ -5,6 +5,7 @@
5
5
  /* Generated types for 0x3, original address 0x3 */
6
6
 
7
7
  import { CallFilter, MoveFetchConfig, EventFilter } from "@sentio/sdk/move";
8
+ import { HandlerOptions } from "@sentio/sdk";
8
9
  import {
9
10
  AptosBindOptions,
10
11
  AptosBaseProcessor,
@@ -46,7 +47,7 @@ export class token extends AptosBaseProcessor {
46
47
  onEntryBurn(
47
48
  func: (call: token.BurnPayload, ctx: AptosContext) => void,
48
49
  filter?: CallFilter,
49
- fetchConfig?: Partial<MoveFetchConfig>,
50
+ handlerOptions?: HandlerOptions<MoveFetchConfig, token.BurnPayload>,
50
51
  ): token {
51
52
  this.onEntryFunctionCall(
52
53
  func,
@@ -54,7 +55,7 @@ export class token extends AptosBaseProcessor {
54
55
  ...filter,
55
56
  function: "token::burn",
56
57
  },
57
- fetchConfig,
58
+ handlerOptions,
58
59
  );
59
60
  return this;
60
61
  }
@@ -62,7 +63,10 @@ export class token extends AptosBaseProcessor {
62
63
  onEntryBurnByCreator(
63
64
  func: (call: token.BurnByCreatorPayload, ctx: AptosContext) => void,
64
65
  filter?: CallFilter,
65
- fetchConfig?: Partial<MoveFetchConfig>,
66
+ handlerOptions?: HandlerOptions<
67
+ MoveFetchConfig,
68
+ token.BurnByCreatorPayload
69
+ >,
66
70
  ): token {
67
71
  this.onEntryFunctionCall(
68
72
  func,
@@ -70,7 +74,7 @@ export class token extends AptosBaseProcessor {
70
74
  ...filter,
71
75
  function: "token::burn_by_creator",
72
76
  },
73
- fetchConfig,
77
+ handlerOptions,
74
78
  );
75
79
  return this;
76
80
  }
@@ -81,7 +85,10 @@ export class token extends AptosBaseProcessor {
81
85
  ctx: AptosContext,
82
86
  ) => void,
83
87
  filter?: CallFilter,
84
- fetchConfig?: Partial<MoveFetchConfig>,
88
+ handlerOptions?: HandlerOptions<
89
+ MoveFetchConfig,
90
+ token.CreateCollectionScriptPayload
91
+ >,
85
92
  ): token {
86
93
  this.onEntryFunctionCall(
87
94
  func,
@@ -89,7 +96,7 @@ export class token extends AptosBaseProcessor {
89
96
  ...filter,
90
97
  function: "token::create_collection_script",
91
98
  },
92
- fetchConfig,
99
+ handlerOptions,
93
100
  );
94
101
  return this;
95
102
  }
@@ -97,7 +104,10 @@ export class token extends AptosBaseProcessor {
97
104
  onEntryCreateTokenScript(
98
105
  func: (call: token.CreateTokenScriptPayload, ctx: AptosContext) => void,
99
106
  filter?: CallFilter,
100
- fetchConfig?: Partial<MoveFetchConfig>,
107
+ handlerOptions?: HandlerOptions<
108
+ MoveFetchConfig,
109
+ token.CreateTokenScriptPayload
110
+ >,
101
111
  ): token {
102
112
  this.onEntryFunctionCall(
103
113
  func,
@@ -105,7 +115,7 @@ export class token extends AptosBaseProcessor {
105
115
  ...filter,
106
116
  function: "token::create_token_script",
107
117
  },
108
- fetchConfig,
118
+ handlerOptions,
109
119
  );
110
120
  return this;
111
121
  }
@@ -113,7 +123,10 @@ export class token extends AptosBaseProcessor {
113
123
  onEntryDirectTransferScript(
114
124
  func: (call: token.DirectTransferScriptPayload, ctx: AptosContext) => void,
115
125
  filter?: CallFilter,
116
- fetchConfig?: Partial<MoveFetchConfig>,
126
+ handlerOptions?: HandlerOptions<
127
+ MoveFetchConfig,
128
+ token.DirectTransferScriptPayload
129
+ >,
117
130
  ): token {
118
131
  this.onEntryFunctionCall(
119
132
  func,
@@ -121,7 +134,7 @@ export class token extends AptosBaseProcessor {
121
134
  ...filter,
122
135
  function: "token::direct_transfer_script",
123
136
  },
124
- fetchConfig,
137
+ handlerOptions,
125
138
  );
126
139
  return this;
127
140
  }
@@ -129,7 +142,10 @@ export class token extends AptosBaseProcessor {
129
142
  onEntryInitializeTokenScript(
130
143
  func: (call: token.InitializeTokenScriptPayload, ctx: AptosContext) => void,
131
144
  filter?: CallFilter,
132
- fetchConfig?: Partial<MoveFetchConfig>,
145
+ handlerOptions?: HandlerOptions<
146
+ MoveFetchConfig,
147
+ token.InitializeTokenScriptPayload
148
+ >,
133
149
  ): token {
134
150
  this.onEntryFunctionCall(
135
151
  func,
@@ -137,7 +153,7 @@ export class token extends AptosBaseProcessor {
137
153
  ...filter,
138
154
  function: "token::initialize_token_script",
139
155
  },
140
- fetchConfig,
156
+ handlerOptions,
141
157
  );
142
158
  return this;
143
159
  }
@@ -145,7 +161,7 @@ export class token extends AptosBaseProcessor {
145
161
  onEntryMintScript(
146
162
  func: (call: token.MintScriptPayload, ctx: AptosContext) => void,
147
163
  filter?: CallFilter,
148
- fetchConfig?: Partial<MoveFetchConfig>,
164
+ handlerOptions?: HandlerOptions<MoveFetchConfig, token.MintScriptPayload>,
149
165
  ): token {
150
166
  this.onEntryFunctionCall(
151
167
  func,
@@ -153,7 +169,7 @@ export class token extends AptosBaseProcessor {
153
169
  ...filter,
154
170
  function: "token::mint_script",
155
171
  },
156
- fetchConfig,
172
+ handlerOptions,
157
173
  );
158
174
  return this;
159
175
  }
@@ -161,7 +177,10 @@ export class token extends AptosBaseProcessor {
161
177
  onEntryMutateTokenProperties(
162
178
  func: (call: token.MutateTokenPropertiesPayload, ctx: AptosContext) => void,
163
179
  filter?: CallFilter,
164
- fetchConfig?: Partial<MoveFetchConfig>,
180
+ handlerOptions?: HandlerOptions<
181
+ MoveFetchConfig,
182
+ token.MutateTokenPropertiesPayload
183
+ >,
165
184
  ): token {
166
185
  this.onEntryFunctionCall(
167
186
  func,
@@ -169,7 +188,7 @@ export class token extends AptosBaseProcessor {
169
188
  ...filter,
170
189
  function: "token::mutate_token_properties",
171
190
  },
172
- fetchConfig,
191
+ handlerOptions,
173
192
  );
174
193
  return this;
175
194
  }
@@ -177,7 +196,10 @@ export class token extends AptosBaseProcessor {
177
196
  onEntryOptInDirectTransfer(
178
197
  func: (call: token.OptInDirectTransferPayload, ctx: AptosContext) => void,
179
198
  filter?: CallFilter,
180
- fetchConfig?: Partial<MoveFetchConfig>,
199
+ handlerOptions?: HandlerOptions<
200
+ MoveFetchConfig,
201
+ token.OptInDirectTransferPayload
202
+ >,
181
203
  ): token {
182
204
  this.onEntryFunctionCall(
183
205
  func,
@@ -185,7 +207,7 @@ export class token extends AptosBaseProcessor {
185
207
  ...filter,
186
208
  function: "token::opt_in_direct_transfer",
187
209
  },
188
- fetchConfig,
210
+ handlerOptions,
189
211
  );
190
212
  return this;
191
213
  }
@@ -193,7 +215,10 @@ export class token extends AptosBaseProcessor {
193
215
  onEntryTransferWithOptIn(
194
216
  func: (call: token.TransferWithOptInPayload, ctx: AptosContext) => void,
195
217
  filter?: CallFilter,
196
- fetchConfig?: Partial<MoveFetchConfig>,
218
+ handlerOptions?: HandlerOptions<
219
+ MoveFetchConfig,
220
+ token.TransferWithOptInPayload
221
+ >,
197
222
  ): token {
198
223
  this.onEntryFunctionCall(
199
224
  func,
@@ -201,111 +226,123 @@ export class token extends AptosBaseProcessor {
201
226
  ...filter,
202
227
  function: "token::transfer_with_opt_in",
203
228
  },
204
- fetchConfig,
229
+ handlerOptions,
205
230
  );
206
231
  return this;
207
232
  }
208
233
 
209
234
  onEventDeposit(
210
235
  func: (event: token.DepositInstance, ctx: AptosContext) => void,
211
- fetchConfig?: Partial<MoveFetchConfig>,
236
+ handlerOptions?: HandlerOptions<MoveFetchConfig, token.DepositInstance>,
212
237
  eventFilter?: Omit<EventFilter, "type" | "account">,
213
238
  ): token {
214
239
  this.onMoveEvent(
215
240
  func,
216
241
  { ...(eventFilter ?? {}), type: "token::Deposit" },
217
- fetchConfig,
242
+ handlerOptions,
218
243
  );
219
244
  return this;
220
245
  }
221
246
 
222
247
  onEventDepositEvent(
223
248
  func: (event: token.DepositEventInstance, ctx: AptosContext) => void,
224
- fetchConfig?: Partial<MoveFetchConfig>,
249
+ handlerOptions?: HandlerOptions<
250
+ MoveFetchConfig,
251
+ token.DepositEventInstance
252
+ >,
225
253
  eventFilter?: Omit<EventFilter, "type" | "account">,
226
254
  ): token {
227
255
  this.onMoveEvent(
228
256
  func,
229
257
  { ...(eventFilter ?? {}), type: "token::DepositEvent" },
230
- fetchConfig,
258
+ handlerOptions,
231
259
  );
232
260
  return this;
233
261
  }
234
262
 
235
263
  onEventWithdraw(
236
264
  func: (event: token.WithdrawInstance, ctx: AptosContext) => void,
237
- fetchConfig?: Partial<MoveFetchConfig>,
265
+ handlerOptions?: HandlerOptions<MoveFetchConfig, token.WithdrawInstance>,
238
266
  eventFilter?: Omit<EventFilter, "type" | "account">,
239
267
  ): token {
240
268
  this.onMoveEvent(
241
269
  func,
242
270
  { ...(eventFilter ?? {}), type: "token::Withdraw" },
243
- fetchConfig,
271
+ handlerOptions,
244
272
  );
245
273
  return this;
246
274
  }
247
275
 
248
276
  onEventWithdrawEvent(
249
277
  func: (event: token.WithdrawEventInstance, ctx: AptosContext) => void,
250
- fetchConfig?: Partial<MoveFetchConfig>,
278
+ handlerOptions?: HandlerOptions<
279
+ MoveFetchConfig,
280
+ token.WithdrawEventInstance
281
+ >,
251
282
  eventFilter?: Omit<EventFilter, "type" | "account">,
252
283
  ): token {
253
284
  this.onMoveEvent(
254
285
  func,
255
286
  { ...(eventFilter ?? {}), type: "token::WithdrawEvent" },
256
- fetchConfig,
287
+ handlerOptions,
257
288
  );
258
289
  return this;
259
290
  }
260
291
 
261
292
  onEventBurn(
262
293
  func: (event: token.BurnInstance, ctx: AptosContext) => void,
263
- fetchConfig?: Partial<MoveFetchConfig>,
294
+ handlerOptions?: HandlerOptions<MoveFetchConfig, token.BurnInstance>,
264
295
  eventFilter?: Omit<EventFilter, "type" | "account">,
265
296
  ): token {
266
297
  this.onMoveEvent(
267
298
  func,
268
299
  { ...(eventFilter ?? {}), type: "token::Burn" },
269
- fetchConfig,
300
+ handlerOptions,
270
301
  );
271
302
  return this;
272
303
  }
273
304
 
274
305
  onEventBurnToken(
275
306
  func: (event: token.BurnTokenInstance, ctx: AptosContext) => void,
276
- fetchConfig?: Partial<MoveFetchConfig>,
307
+ handlerOptions?: HandlerOptions<MoveFetchConfig, token.BurnTokenInstance>,
277
308
  eventFilter?: Omit<EventFilter, "type" | "account">,
278
309
  ): token {
279
310
  this.onMoveEvent(
280
311
  func,
281
312
  { ...(eventFilter ?? {}), type: "token::BurnToken" },
282
- fetchConfig,
313
+ handlerOptions,
283
314
  );
284
315
  return this;
285
316
  }
286
317
 
287
318
  onEventBurnTokenEvent(
288
319
  func: (event: token.BurnTokenEventInstance, ctx: AptosContext) => void,
289
- fetchConfig?: Partial<MoveFetchConfig>,
320
+ handlerOptions?: HandlerOptions<
321
+ MoveFetchConfig,
322
+ token.BurnTokenEventInstance
323
+ >,
290
324
  eventFilter?: Omit<EventFilter, "type" | "account">,
291
325
  ): token {
292
326
  this.onMoveEvent(
293
327
  func,
294
328
  { ...(eventFilter ?? {}), type: "token::BurnTokenEvent" },
295
- fetchConfig,
329
+ handlerOptions,
296
330
  );
297
331
  return this;
298
332
  }
299
333
 
300
334
  onEventCreateCollection(
301
335
  func: (event: token.CreateCollectionInstance, ctx: AptosContext) => void,
302
- fetchConfig?: Partial<MoveFetchConfig>,
336
+ handlerOptions?: HandlerOptions<
337
+ MoveFetchConfig,
338
+ token.CreateCollectionInstance
339
+ >,
303
340
  eventFilter?: Omit<EventFilter, "type" | "account">,
304
341
  ): token {
305
342
  this.onMoveEvent(
306
343
  func,
307
344
  { ...(eventFilter ?? {}), type: "token::CreateCollection" },
308
- fetchConfig,
345
+ handlerOptions,
309
346
  );
310
347
  return this;
311
348
  }
@@ -315,26 +352,32 @@ export class token extends AptosBaseProcessor {
315
352
  event: token.CreateCollectionEventInstance,
316
353
  ctx: AptosContext,
317
354
  ) => void,
318
- fetchConfig?: Partial<MoveFetchConfig>,
355
+ handlerOptions?: HandlerOptions<
356
+ MoveFetchConfig,
357
+ token.CreateCollectionEventInstance
358
+ >,
319
359
  eventFilter?: Omit<EventFilter, "type" | "account">,
320
360
  ): token {
321
361
  this.onMoveEvent(
322
362
  func,
323
363
  { ...(eventFilter ?? {}), type: "token::CreateCollectionEvent" },
324
- fetchConfig,
364
+ handlerOptions,
325
365
  );
326
366
  return this;
327
367
  }
328
368
 
329
369
  onEventCreateTokenData(
330
370
  func: (event: token.CreateTokenDataInstance, ctx: AptosContext) => void,
331
- fetchConfig?: Partial<MoveFetchConfig>,
371
+ handlerOptions?: HandlerOptions<
372
+ MoveFetchConfig,
373
+ token.CreateTokenDataInstance
374
+ >,
332
375
  eventFilter?: Omit<EventFilter, "type" | "account">,
333
376
  ): token {
334
377
  this.onMoveEvent(
335
378
  func,
336
379
  { ...(eventFilter ?? {}), type: "token::CreateTokenData" },
337
- fetchConfig,
380
+ handlerOptions,
338
381
  );
339
382
  return this;
340
383
  }
@@ -344,65 +387,74 @@ export class token extends AptosBaseProcessor {
344
387
  event: token.CreateTokenDataEventInstance,
345
388
  ctx: AptosContext,
346
389
  ) => void,
347
- fetchConfig?: Partial<MoveFetchConfig>,
390
+ handlerOptions?: HandlerOptions<
391
+ MoveFetchConfig,
392
+ token.CreateTokenDataEventInstance
393
+ >,
348
394
  eventFilter?: Omit<EventFilter, "type" | "account">,
349
395
  ): token {
350
396
  this.onMoveEvent(
351
397
  func,
352
398
  { ...(eventFilter ?? {}), type: "token::CreateTokenDataEvent" },
353
- fetchConfig,
399
+ handlerOptions,
354
400
  );
355
401
  return this;
356
402
  }
357
403
 
358
404
  onEventMint(
359
405
  func: (event: token.MintInstance, ctx: AptosContext) => void,
360
- fetchConfig?: Partial<MoveFetchConfig>,
406
+ handlerOptions?: HandlerOptions<MoveFetchConfig, token.MintInstance>,
361
407
  eventFilter?: Omit<EventFilter, "type" | "account">,
362
408
  ): token {
363
409
  this.onMoveEvent(
364
410
  func,
365
411
  { ...(eventFilter ?? {}), type: "token::Mint" },
366
- fetchConfig,
412
+ handlerOptions,
367
413
  );
368
414
  return this;
369
415
  }
370
416
 
371
417
  onEventMintToken(
372
418
  func: (event: token.MintTokenInstance, ctx: AptosContext) => void,
373
- fetchConfig?: Partial<MoveFetchConfig>,
419
+ handlerOptions?: HandlerOptions<MoveFetchConfig, token.MintTokenInstance>,
374
420
  eventFilter?: Omit<EventFilter, "type" | "account">,
375
421
  ): token {
376
422
  this.onMoveEvent(
377
423
  func,
378
424
  { ...(eventFilter ?? {}), type: "token::MintToken" },
379
- fetchConfig,
425
+ handlerOptions,
380
426
  );
381
427
  return this;
382
428
  }
383
429
 
384
430
  onEventMintTokenEvent(
385
431
  func: (event: token.MintTokenEventInstance, ctx: AptosContext) => void,
386
- fetchConfig?: Partial<MoveFetchConfig>,
432
+ handlerOptions?: HandlerOptions<
433
+ MoveFetchConfig,
434
+ token.MintTokenEventInstance
435
+ >,
387
436
  eventFilter?: Omit<EventFilter, "type" | "account">,
388
437
  ): token {
389
438
  this.onMoveEvent(
390
439
  func,
391
440
  { ...(eventFilter ?? {}), type: "token::MintTokenEvent" },
392
- fetchConfig,
441
+ handlerOptions,
393
442
  );
394
443
  return this;
395
444
  }
396
445
 
397
446
  onEventMutatePropertyMap(
398
447
  func: (event: token.MutatePropertyMapInstance, ctx: AptosContext) => void,
399
- fetchConfig?: Partial<MoveFetchConfig>,
448
+ handlerOptions?: HandlerOptions<
449
+ MoveFetchConfig,
450
+ token.MutatePropertyMapInstance
451
+ >,
400
452
  eventFilter?: Omit<EventFilter, "type" | "account">,
401
453
  ): token {
402
454
  this.onMoveEvent(
403
455
  func,
404
456
  { ...(eventFilter ?? {}), type: "token::MutatePropertyMap" },
405
- fetchConfig,
457
+ handlerOptions,
406
458
  );
407
459
  return this;
408
460
  }
@@ -412,13 +464,16 @@ export class token extends AptosBaseProcessor {
412
464
  event: token.MutateTokenPropertyMapInstance,
413
465
  ctx: AptosContext,
414
466
  ) => void,
415
- fetchConfig?: Partial<MoveFetchConfig>,
467
+ handlerOptions?: HandlerOptions<
468
+ MoveFetchConfig,
469
+ token.MutateTokenPropertyMapInstance
470
+ >,
416
471
  eventFilter?: Omit<EventFilter, "type" | "account">,
417
472
  ): token {
418
473
  this.onMoveEvent(
419
474
  func,
420
475
  { ...(eventFilter ?? {}), type: "token::MutateTokenPropertyMap" },
421
- fetchConfig,
476
+ handlerOptions,
422
477
  );
423
478
  return this;
424
479
  }
@@ -428,52 +483,64 @@ export class token extends AptosBaseProcessor {
428
483
  event: token.MutateTokenPropertyMapEventInstance,
429
484
  ctx: AptosContext,
430
485
  ) => void,
431
- fetchConfig?: Partial<MoveFetchConfig>,
486
+ handlerOptions?: HandlerOptions<
487
+ MoveFetchConfig,
488
+ token.MutateTokenPropertyMapEventInstance
489
+ >,
432
490
  eventFilter?: Omit<EventFilter, "type" | "account">,
433
491
  ): token {
434
492
  this.onMoveEvent(
435
493
  func,
436
494
  { ...(eventFilter ?? {}), type: "token::MutateTokenPropertyMapEvent" },
437
- fetchConfig,
495
+ handlerOptions,
438
496
  );
439
497
  return this;
440
498
  }
441
499
 
442
500
  onEventTokenDataCreation(
443
501
  func: (event: token.TokenDataCreationInstance, ctx: AptosContext) => void,
444
- fetchConfig?: Partial<MoveFetchConfig>,
502
+ handlerOptions?: HandlerOptions<
503
+ MoveFetchConfig,
504
+ token.TokenDataCreationInstance
505
+ >,
445
506
  eventFilter?: Omit<EventFilter, "type" | "account">,
446
507
  ): token {
447
508
  this.onMoveEvent(
448
509
  func,
449
510
  { ...(eventFilter ?? {}), type: "token::TokenDataCreation" },
450
- fetchConfig,
511
+ handlerOptions,
451
512
  );
452
513
  return this;
453
514
  }
454
515
 
455
516
  onEventTokenDeposit(
456
517
  func: (event: token.TokenDepositInstance, ctx: AptosContext) => void,
457
- fetchConfig?: Partial<MoveFetchConfig>,
518
+ handlerOptions?: HandlerOptions<
519
+ MoveFetchConfig,
520
+ token.TokenDepositInstance
521
+ >,
458
522
  eventFilter?: Omit<EventFilter, "type" | "account">,
459
523
  ): token {
460
524
  this.onMoveEvent(
461
525
  func,
462
526
  { ...(eventFilter ?? {}), type: "token::TokenDeposit" },
463
- fetchConfig,
527
+ handlerOptions,
464
528
  );
465
529
  return this;
466
530
  }
467
531
 
468
532
  onEventTokenWithdraw(
469
533
  func: (event: token.TokenWithdrawInstance, ctx: AptosContext) => void,
470
- fetchConfig?: Partial<MoveFetchConfig>,
534
+ handlerOptions?: HandlerOptions<
535
+ MoveFetchConfig,
536
+ token.TokenWithdrawInstance
537
+ >,
471
538
  eventFilter?: Omit<EventFilter, "type" | "account">,
472
539
  ): token {
473
540
  this.onMoveEvent(
474
541
  func,
475
542
  { ...(eventFilter ?? {}), type: "token::TokenWithdraw" },
476
- fetchConfig,
543
+ handlerOptions,
477
544
  );
478
545
  return this;
479
546
  }
@@ -1657,7 +1724,10 @@ export class token_coin_swap extends AptosBaseProcessor {
1657
1724
  ctx: AptosContext,
1658
1725
  ) => void,
1659
1726
  filter?: CallFilter,
1660
- fetchConfig?: Partial<MoveFetchConfig>,
1727
+ handlerOptions?: HandlerOptions<
1728
+ MoveFetchConfig,
1729
+ token_coin_swap.ListTokenForSwapPayload
1730
+ >,
1661
1731
  ): token_coin_swap {
1662
1732
  this.onEntryFunctionCall(
1663
1733
  func,
@@ -1665,7 +1735,7 @@ export class token_coin_swap extends AptosBaseProcessor {
1665
1735
  ...filter,
1666
1736
  function: "token_coin_swap::list_token_for_swap",
1667
1737
  },
1668
- fetchConfig,
1738
+ handlerOptions,
1669
1739
  );
1670
1740
  return this;
1671
1741
  }
@@ -1675,13 +1745,16 @@ export class token_coin_swap extends AptosBaseProcessor {
1675
1745
  event: token_coin_swap.TokenListingEventInstance,
1676
1746
  ctx: AptosContext,
1677
1747
  ) => void,
1678
- fetchConfig?: Partial<MoveFetchConfig>,
1748
+ handlerOptions?: HandlerOptions<
1749
+ MoveFetchConfig,
1750
+ token_coin_swap.TokenListingEventInstance
1751
+ >,
1679
1752
  eventFilter?: Omit<EventFilter, "type" | "account">,
1680
1753
  ): token_coin_swap {
1681
1754
  this.onMoveEvent(
1682
1755
  func,
1683
1756
  { ...(eventFilter ?? {}), type: "token_coin_swap::TokenListingEvent" },
1684
- fetchConfig,
1757
+ handlerOptions,
1685
1758
  );
1686
1759
  return this;
1687
1760
  }
@@ -1691,13 +1764,16 @@ export class token_coin_swap extends AptosBaseProcessor {
1691
1764
  event: token_coin_swap.TokenSwapEventInstance,
1692
1765
  ctx: AptosContext,
1693
1766
  ) => void,
1694
- fetchConfig?: Partial<MoveFetchConfig>,
1767
+ handlerOptions?: HandlerOptions<
1768
+ MoveFetchConfig,
1769
+ token_coin_swap.TokenSwapEventInstance
1770
+ >,
1695
1771
  eventFilter?: Omit<EventFilter, "type" | "account">,
1696
1772
  ): token_coin_swap {
1697
1773
  this.onMoveEvent(
1698
1774
  func,
1699
1775
  { ...(eventFilter ?? {}), type: "token_coin_swap::TokenSwapEvent" },
1700
- fetchConfig,
1776
+ handlerOptions,
1701
1777
  );
1702
1778
  return this;
1703
1779
  }
@@ -1901,7 +1977,10 @@ export class token_transfers extends AptosBaseProcessor {
1901
1977
  ctx: AptosContext,
1902
1978
  ) => void,
1903
1979
  filter?: CallFilter,
1904
- fetchConfig?: Partial<MoveFetchConfig>,
1980
+ handlerOptions?: HandlerOptions<
1981
+ MoveFetchConfig,
1982
+ token_transfers.CancelOfferScriptPayload
1983
+ >,
1905
1984
  ): token_transfers {
1906
1985
  this.onEntryFunctionCall(
1907
1986
  func,
@@ -1909,7 +1988,7 @@ export class token_transfers extends AptosBaseProcessor {
1909
1988
  ...filter,
1910
1989
  function: "token_transfers::cancel_offer_script",
1911
1990
  },
1912
- fetchConfig,
1991
+ handlerOptions,
1913
1992
  );
1914
1993
  return this;
1915
1994
  }
@@ -1917,7 +1996,10 @@ export class token_transfers extends AptosBaseProcessor {
1917
1996
  onEntryClaimScript(
1918
1997
  func: (call: token_transfers.ClaimScriptPayload, ctx: AptosContext) => void,
1919
1998
  filter?: CallFilter,
1920
- fetchConfig?: Partial<MoveFetchConfig>,
1999
+ handlerOptions?: HandlerOptions<
2000
+ MoveFetchConfig,
2001
+ token_transfers.ClaimScriptPayload
2002
+ >,
1921
2003
  ): token_transfers {
1922
2004
  this.onEntryFunctionCall(
1923
2005
  func,
@@ -1925,7 +2007,7 @@ export class token_transfers extends AptosBaseProcessor {
1925
2007
  ...filter,
1926
2008
  function: "token_transfers::claim_script",
1927
2009
  },
1928
- fetchConfig,
2010
+ handlerOptions,
1929
2011
  );
1930
2012
  return this;
1931
2013
  }
@@ -1933,7 +2015,10 @@ export class token_transfers extends AptosBaseProcessor {
1933
2015
  onEntryOfferScript(
1934
2016
  func: (call: token_transfers.OfferScriptPayload, ctx: AptosContext) => void,
1935
2017
  filter?: CallFilter,
1936
- fetchConfig?: Partial<MoveFetchConfig>,
2018
+ handlerOptions?: HandlerOptions<
2019
+ MoveFetchConfig,
2020
+ token_transfers.OfferScriptPayload
2021
+ >,
1937
2022
  ): token_transfers {
1938
2023
  this.onEntryFunctionCall(
1939
2024
  func,
@@ -1941,7 +2026,7 @@ export class token_transfers extends AptosBaseProcessor {
1941
2026
  ...filter,
1942
2027
  function: "token_transfers::offer_script",
1943
2028
  },
1944
- fetchConfig,
2029
+ handlerOptions,
1945
2030
  );
1946
2031
  return this;
1947
2032
  }
@@ -1951,39 +2036,48 @@ export class token_transfers extends AptosBaseProcessor {
1951
2036
  event: token_transfers.CancelOfferInstance,
1952
2037
  ctx: AptosContext,
1953
2038
  ) => void,
1954
- fetchConfig?: Partial<MoveFetchConfig>,
2039
+ handlerOptions?: HandlerOptions<
2040
+ MoveFetchConfig,
2041
+ token_transfers.CancelOfferInstance
2042
+ >,
1955
2043
  eventFilter?: Omit<EventFilter, "type" | "account">,
1956
2044
  ): token_transfers {
1957
2045
  this.onMoveEvent(
1958
2046
  func,
1959
2047
  { ...(eventFilter ?? {}), type: "token_transfers::CancelOffer" },
1960
- fetchConfig,
2048
+ handlerOptions,
1961
2049
  );
1962
2050
  return this;
1963
2051
  }
1964
2052
 
1965
2053
  onEventClaim(
1966
2054
  func: (event: token_transfers.ClaimInstance, ctx: AptosContext) => void,
1967
- fetchConfig?: Partial<MoveFetchConfig>,
2055
+ handlerOptions?: HandlerOptions<
2056
+ MoveFetchConfig,
2057
+ token_transfers.ClaimInstance
2058
+ >,
1968
2059
  eventFilter?: Omit<EventFilter, "type" | "account">,
1969
2060
  ): token_transfers {
1970
2061
  this.onMoveEvent(
1971
2062
  func,
1972
2063
  { ...(eventFilter ?? {}), type: "token_transfers::Claim" },
1973
- fetchConfig,
2064
+ handlerOptions,
1974
2065
  );
1975
2066
  return this;
1976
2067
  }
1977
2068
 
1978
2069
  onEventOffer(
1979
2070
  func: (event: token_transfers.OfferInstance, ctx: AptosContext) => void,
1980
- fetchConfig?: Partial<MoveFetchConfig>,
2071
+ handlerOptions?: HandlerOptions<
2072
+ MoveFetchConfig,
2073
+ token_transfers.OfferInstance
2074
+ >,
1981
2075
  eventFilter?: Omit<EventFilter, "type" | "account">,
1982
2076
  ): token_transfers {
1983
2077
  this.onMoveEvent(
1984
2078
  func,
1985
2079
  { ...(eventFilter ?? {}), type: "token_transfers::Offer" },
1986
- fetchConfig,
2080
+ handlerOptions,
1987
2081
  );
1988
2082
  return this;
1989
2083
  }
@@ -1993,13 +2087,16 @@ export class token_transfers extends AptosBaseProcessor {
1993
2087
  event: token_transfers.TokenCancelOfferInstance,
1994
2088
  ctx: AptosContext,
1995
2089
  ) => void,
1996
- fetchConfig?: Partial<MoveFetchConfig>,
2090
+ handlerOptions?: HandlerOptions<
2091
+ MoveFetchConfig,
2092
+ token_transfers.TokenCancelOfferInstance
2093
+ >,
1997
2094
  eventFilter?: Omit<EventFilter, "type" | "account">,
1998
2095
  ): token_transfers {
1999
2096
  this.onMoveEvent(
2000
2097
  func,
2001
2098
  { ...(eventFilter ?? {}), type: "token_transfers::TokenCancelOffer" },
2002
- fetchConfig,
2099
+ handlerOptions,
2003
2100
  );
2004
2101
  return this;
2005
2102
  }
@@ -2009,7 +2106,10 @@ export class token_transfers extends AptosBaseProcessor {
2009
2106
  event: token_transfers.TokenCancelOfferEventInstance,
2010
2107
  ctx: AptosContext,
2011
2108
  ) => void,
2012
- fetchConfig?: Partial<MoveFetchConfig>,
2109
+ handlerOptions?: HandlerOptions<
2110
+ MoveFetchConfig,
2111
+ token_transfers.TokenCancelOfferEventInstance
2112
+ >,
2013
2113
  eventFilter?: Omit<EventFilter, "type" | "account">,
2014
2114
  ): token_transfers {
2015
2115
  this.onMoveEvent(
@@ -2018,7 +2118,7 @@ export class token_transfers extends AptosBaseProcessor {
2018
2118
  ...(eventFilter ?? {}),
2019
2119
  type: "token_transfers::TokenCancelOfferEvent",
2020
2120
  },
2021
- fetchConfig,
2121
+ handlerOptions,
2022
2122
  );
2023
2123
  return this;
2024
2124
  }
@@ -2028,13 +2128,16 @@ export class token_transfers extends AptosBaseProcessor {
2028
2128
  event: token_transfers.TokenClaimInstance,
2029
2129
  ctx: AptosContext,
2030
2130
  ) => void,
2031
- fetchConfig?: Partial<MoveFetchConfig>,
2131
+ handlerOptions?: HandlerOptions<
2132
+ MoveFetchConfig,
2133
+ token_transfers.TokenClaimInstance
2134
+ >,
2032
2135
  eventFilter?: Omit<EventFilter, "type" | "account">,
2033
2136
  ): token_transfers {
2034
2137
  this.onMoveEvent(
2035
2138
  func,
2036
2139
  { ...(eventFilter ?? {}), type: "token_transfers::TokenClaim" },
2037
- fetchConfig,
2140
+ handlerOptions,
2038
2141
  );
2039
2142
  return this;
2040
2143
  }
@@ -2044,13 +2147,16 @@ export class token_transfers extends AptosBaseProcessor {
2044
2147
  event: token_transfers.TokenClaimEventInstance,
2045
2148
  ctx: AptosContext,
2046
2149
  ) => void,
2047
- fetchConfig?: Partial<MoveFetchConfig>,
2150
+ handlerOptions?: HandlerOptions<
2151
+ MoveFetchConfig,
2152
+ token_transfers.TokenClaimEventInstance
2153
+ >,
2048
2154
  eventFilter?: Omit<EventFilter, "type" | "account">,
2049
2155
  ): token_transfers {
2050
2156
  this.onMoveEvent(
2051
2157
  func,
2052
2158
  { ...(eventFilter ?? {}), type: "token_transfers::TokenClaimEvent" },
2053
- fetchConfig,
2159
+ handlerOptions,
2054
2160
  );
2055
2161
  return this;
2056
2162
  }
@@ -2060,13 +2166,16 @@ export class token_transfers extends AptosBaseProcessor {
2060
2166
  event: token_transfers.TokenOfferInstance,
2061
2167
  ctx: AptosContext,
2062
2168
  ) => void,
2063
- fetchConfig?: Partial<MoveFetchConfig>,
2169
+ handlerOptions?: HandlerOptions<
2170
+ MoveFetchConfig,
2171
+ token_transfers.TokenOfferInstance
2172
+ >,
2064
2173
  eventFilter?: Omit<EventFilter, "type" | "account">,
2065
2174
  ): token_transfers {
2066
2175
  this.onMoveEvent(
2067
2176
  func,
2068
2177
  { ...(eventFilter ?? {}), type: "token_transfers::TokenOffer" },
2069
- fetchConfig,
2178
+ handlerOptions,
2070
2179
  );
2071
2180
  return this;
2072
2181
  }
@@ -2076,13 +2185,16 @@ export class token_transfers extends AptosBaseProcessor {
2076
2185
  event: token_transfers.TokenOfferEventInstance,
2077
2186
  ctx: AptosContext,
2078
2187
  ) => void,
2079
- fetchConfig?: Partial<MoveFetchConfig>,
2188
+ handlerOptions?: HandlerOptions<
2189
+ MoveFetchConfig,
2190
+ token_transfers.TokenOfferEventInstance
2191
+ >,
2080
2192
  eventFilter?: Omit<EventFilter, "type" | "account">,
2081
2193
  ): token_transfers {
2082
2194
  this.onMoveEvent(
2083
2195
  func,
2084
2196
  { ...(eventFilter ?? {}), type: "token_transfers::TokenOfferEvent" },
2085
- fetchConfig,
2197
+ handlerOptions,
2086
2198
  );
2087
2199
  return this;
2088
2200
  }
@@ -2092,13 +2204,16 @@ export class token_transfers extends AptosBaseProcessor {
2092
2204
  event: token_transfers.TokenOfferIdInstance,
2093
2205
  ctx: AptosContext,
2094
2206
  ) => void,
2095
- fetchConfig?: Partial<MoveFetchConfig>,
2207
+ handlerOptions?: HandlerOptions<
2208
+ MoveFetchConfig,
2209
+ token_transfers.TokenOfferIdInstance
2210
+ >,
2096
2211
  eventFilter?: Omit<EventFilter, "type" | "account">,
2097
2212
  ): token_transfers {
2098
2213
  this.onMoveEvent(
2099
2214
  func,
2100
2215
  { ...(eventFilter ?? {}), type: "token_transfers::TokenOfferId" },
2101
- fetchConfig,
2216
+ handlerOptions,
2102
2217
  );
2103
2218
  return this;
2104
2219
  }
@@ -2534,7 +2649,10 @@ export class token_event_store extends AptosBaseProcessor {
2534
2649
  event: token_event_store.CollectionDescriptionMutateInstance,
2535
2650
  ctx: AptosContext,
2536
2651
  ) => void,
2537
- fetchConfig?: Partial<MoveFetchConfig>,
2652
+ handlerOptions?: HandlerOptions<
2653
+ MoveFetchConfig,
2654
+ token_event_store.CollectionDescriptionMutateInstance
2655
+ >,
2538
2656
  eventFilter?: Omit<EventFilter, "type" | "account">,
2539
2657
  ): token_event_store {
2540
2658
  this.onMoveEvent(
@@ -2543,7 +2661,7 @@ export class token_event_store extends AptosBaseProcessor {
2543
2661
  ...(eventFilter ?? {}),
2544
2662
  type: "token_event_store::CollectionDescriptionMutate",
2545
2663
  },
2546
- fetchConfig,
2664
+ handlerOptions,
2547
2665
  );
2548
2666
  return this;
2549
2667
  }
@@ -2553,7 +2671,10 @@ export class token_event_store extends AptosBaseProcessor {
2553
2671
  event: token_event_store.CollectionDescriptionMutateEventInstance,
2554
2672
  ctx: AptosContext,
2555
2673
  ) => void,
2556
- fetchConfig?: Partial<MoveFetchConfig>,
2674
+ handlerOptions?: HandlerOptions<
2675
+ MoveFetchConfig,
2676
+ token_event_store.CollectionDescriptionMutateEventInstance
2677
+ >,
2557
2678
  eventFilter?: Omit<EventFilter, "type" | "account">,
2558
2679
  ): token_event_store {
2559
2680
  this.onMoveEvent(
@@ -2562,7 +2683,7 @@ export class token_event_store extends AptosBaseProcessor {
2562
2683
  ...(eventFilter ?? {}),
2563
2684
  type: "token_event_store::CollectionDescriptionMutateEvent",
2564
2685
  },
2565
- fetchConfig,
2686
+ handlerOptions,
2566
2687
  );
2567
2688
  return this;
2568
2689
  }
@@ -2572,7 +2693,10 @@ export class token_event_store extends AptosBaseProcessor {
2572
2693
  event: token_event_store.CollectionMaximumMutateInstance,
2573
2694
  ctx: AptosContext,
2574
2695
  ) => void,
2575
- fetchConfig?: Partial<MoveFetchConfig>,
2696
+ handlerOptions?: HandlerOptions<
2697
+ MoveFetchConfig,
2698
+ token_event_store.CollectionMaximumMutateInstance
2699
+ >,
2576
2700
  eventFilter?: Omit<EventFilter, "type" | "account">,
2577
2701
  ): token_event_store {
2578
2702
  this.onMoveEvent(
@@ -2581,7 +2705,7 @@ export class token_event_store extends AptosBaseProcessor {
2581
2705
  ...(eventFilter ?? {}),
2582
2706
  type: "token_event_store::CollectionMaximumMutate",
2583
2707
  },
2584
- fetchConfig,
2708
+ handlerOptions,
2585
2709
  );
2586
2710
  return this;
2587
2711
  }
@@ -2591,7 +2715,10 @@ export class token_event_store extends AptosBaseProcessor {
2591
2715
  event: token_event_store.CollectionMaxiumMutateInstance,
2592
2716
  ctx: AptosContext,
2593
2717
  ) => void,
2594
- fetchConfig?: Partial<MoveFetchConfig>,
2718
+ handlerOptions?: HandlerOptions<
2719
+ MoveFetchConfig,
2720
+ token_event_store.CollectionMaxiumMutateInstance
2721
+ >,
2595
2722
  eventFilter?: Omit<EventFilter, "type" | "account">,
2596
2723
  ): token_event_store {
2597
2724
  this.onMoveEvent(
@@ -2600,7 +2727,7 @@ export class token_event_store extends AptosBaseProcessor {
2600
2727
  ...(eventFilter ?? {}),
2601
2728
  type: "token_event_store::CollectionMaxiumMutate",
2602
2729
  },
2603
- fetchConfig,
2730
+ handlerOptions,
2604
2731
  );
2605
2732
  return this;
2606
2733
  }
@@ -2610,7 +2737,10 @@ export class token_event_store extends AptosBaseProcessor {
2610
2737
  event: token_event_store.CollectionMaxiumMutateEventInstance,
2611
2738
  ctx: AptosContext,
2612
2739
  ) => void,
2613
- fetchConfig?: Partial<MoveFetchConfig>,
2740
+ handlerOptions?: HandlerOptions<
2741
+ MoveFetchConfig,
2742
+ token_event_store.CollectionMaxiumMutateEventInstance
2743
+ >,
2614
2744
  eventFilter?: Omit<EventFilter, "type" | "account">,
2615
2745
  ): token_event_store {
2616
2746
  this.onMoveEvent(
@@ -2619,7 +2749,7 @@ export class token_event_store extends AptosBaseProcessor {
2619
2749
  ...(eventFilter ?? {}),
2620
2750
  type: "token_event_store::CollectionMaxiumMutateEvent",
2621
2751
  },
2622
- fetchConfig,
2752
+ handlerOptions,
2623
2753
  );
2624
2754
  return this;
2625
2755
  }
@@ -2629,7 +2759,10 @@ export class token_event_store extends AptosBaseProcessor {
2629
2759
  event: token_event_store.CollectionUriMutateInstance,
2630
2760
  ctx: AptosContext,
2631
2761
  ) => void,
2632
- fetchConfig?: Partial<MoveFetchConfig>,
2762
+ handlerOptions?: HandlerOptions<
2763
+ MoveFetchConfig,
2764
+ token_event_store.CollectionUriMutateInstance
2765
+ >,
2633
2766
  eventFilter?: Omit<EventFilter, "type" | "account">,
2634
2767
  ): token_event_store {
2635
2768
  this.onMoveEvent(
@@ -2638,7 +2771,7 @@ export class token_event_store extends AptosBaseProcessor {
2638
2771
  ...(eventFilter ?? {}),
2639
2772
  type: "token_event_store::CollectionUriMutate",
2640
2773
  },
2641
- fetchConfig,
2774
+ handlerOptions,
2642
2775
  );
2643
2776
  return this;
2644
2777
  }
@@ -2648,7 +2781,10 @@ export class token_event_store extends AptosBaseProcessor {
2648
2781
  event: token_event_store.CollectionUriMutateEventInstance,
2649
2782
  ctx: AptosContext,
2650
2783
  ) => void,
2651
- fetchConfig?: Partial<MoveFetchConfig>,
2784
+ handlerOptions?: HandlerOptions<
2785
+ MoveFetchConfig,
2786
+ token_event_store.CollectionUriMutateEventInstance
2787
+ >,
2652
2788
  eventFilter?: Omit<EventFilter, "type" | "account">,
2653
2789
  ): token_event_store {
2654
2790
  this.onMoveEvent(
@@ -2657,7 +2793,7 @@ export class token_event_store extends AptosBaseProcessor {
2657
2793
  ...(eventFilter ?? {}),
2658
2794
  type: "token_event_store::CollectionUriMutateEvent",
2659
2795
  },
2660
- fetchConfig,
2796
+ handlerOptions,
2661
2797
  );
2662
2798
  return this;
2663
2799
  }
@@ -2667,7 +2803,10 @@ export class token_event_store extends AptosBaseProcessor {
2667
2803
  event: token_event_store.DefaultPropertyMutateInstance,
2668
2804
  ctx: AptosContext,
2669
2805
  ) => void,
2670
- fetchConfig?: Partial<MoveFetchConfig>,
2806
+ handlerOptions?: HandlerOptions<
2807
+ MoveFetchConfig,
2808
+ token_event_store.DefaultPropertyMutateInstance
2809
+ >,
2671
2810
  eventFilter?: Omit<EventFilter, "type" | "account">,
2672
2811
  ): token_event_store {
2673
2812
  this.onMoveEvent(
@@ -2676,7 +2815,7 @@ export class token_event_store extends AptosBaseProcessor {
2676
2815
  ...(eventFilter ?? {}),
2677
2816
  type: "token_event_store::DefaultPropertyMutate",
2678
2817
  },
2679
- fetchConfig,
2818
+ handlerOptions,
2680
2819
  );
2681
2820
  return this;
2682
2821
  }
@@ -2686,7 +2825,10 @@ export class token_event_store extends AptosBaseProcessor {
2686
2825
  event: token_event_store.DefaultPropertyMutateEventInstance,
2687
2826
  ctx: AptosContext,
2688
2827
  ) => void,
2689
- fetchConfig?: Partial<MoveFetchConfig>,
2828
+ handlerOptions?: HandlerOptions<
2829
+ MoveFetchConfig,
2830
+ token_event_store.DefaultPropertyMutateEventInstance
2831
+ >,
2690
2832
  eventFilter?: Omit<EventFilter, "type" | "account">,
2691
2833
  ): token_event_store {
2692
2834
  this.onMoveEvent(
@@ -2695,7 +2837,7 @@ export class token_event_store extends AptosBaseProcessor {
2695
2837
  ...(eventFilter ?? {}),
2696
2838
  type: "token_event_store::DefaultPropertyMutateEvent",
2697
2839
  },
2698
- fetchConfig,
2840
+ handlerOptions,
2699
2841
  );
2700
2842
  return this;
2701
2843
  }
@@ -2705,13 +2847,16 @@ export class token_event_store extends AptosBaseProcessor {
2705
2847
  event: token_event_store.DescriptionMutateInstance,
2706
2848
  ctx: AptosContext,
2707
2849
  ) => void,
2708
- fetchConfig?: Partial<MoveFetchConfig>,
2850
+ handlerOptions?: HandlerOptions<
2851
+ MoveFetchConfig,
2852
+ token_event_store.DescriptionMutateInstance
2853
+ >,
2709
2854
  eventFilter?: Omit<EventFilter, "type" | "account">,
2710
2855
  ): token_event_store {
2711
2856
  this.onMoveEvent(
2712
2857
  func,
2713
2858
  { ...(eventFilter ?? {}), type: "token_event_store::DescriptionMutate" },
2714
- fetchConfig,
2859
+ handlerOptions,
2715
2860
  );
2716
2861
  return this;
2717
2862
  }
@@ -2721,7 +2866,10 @@ export class token_event_store extends AptosBaseProcessor {
2721
2866
  event: token_event_store.DescriptionMutateEventInstance,
2722
2867
  ctx: AptosContext,
2723
2868
  ) => void,
2724
- fetchConfig?: Partial<MoveFetchConfig>,
2869
+ handlerOptions?: HandlerOptions<
2870
+ MoveFetchConfig,
2871
+ token_event_store.DescriptionMutateEventInstance
2872
+ >,
2725
2873
  eventFilter?: Omit<EventFilter, "type" | "account">,
2726
2874
  ): token_event_store {
2727
2875
  this.onMoveEvent(
@@ -2730,7 +2878,7 @@ export class token_event_store extends AptosBaseProcessor {
2730
2878
  ...(eventFilter ?? {}),
2731
2879
  type: "token_event_store::DescriptionMutateEvent",
2732
2880
  },
2733
- fetchConfig,
2881
+ handlerOptions,
2734
2882
  );
2735
2883
  return this;
2736
2884
  }
@@ -2740,13 +2888,16 @@ export class token_event_store extends AptosBaseProcessor {
2740
2888
  event: token_event_store.MaximumMutateInstance,
2741
2889
  ctx: AptosContext,
2742
2890
  ) => void,
2743
- fetchConfig?: Partial<MoveFetchConfig>,
2891
+ handlerOptions?: HandlerOptions<
2892
+ MoveFetchConfig,
2893
+ token_event_store.MaximumMutateInstance
2894
+ >,
2744
2895
  eventFilter?: Omit<EventFilter, "type" | "account">,
2745
2896
  ): token_event_store {
2746
2897
  this.onMoveEvent(
2747
2898
  func,
2748
2899
  { ...(eventFilter ?? {}), type: "token_event_store::MaximumMutate" },
2749
- fetchConfig,
2900
+ handlerOptions,
2750
2901
  );
2751
2902
  return this;
2752
2903
  }
@@ -2756,13 +2907,16 @@ export class token_event_store extends AptosBaseProcessor {
2756
2907
  event: token_event_store.MaxiumMutateEventInstance,
2757
2908
  ctx: AptosContext,
2758
2909
  ) => void,
2759
- fetchConfig?: Partial<MoveFetchConfig>,
2910
+ handlerOptions?: HandlerOptions<
2911
+ MoveFetchConfig,
2912
+ token_event_store.MaxiumMutateEventInstance
2913
+ >,
2760
2914
  eventFilter?: Omit<EventFilter, "type" | "account">,
2761
2915
  ): token_event_store {
2762
2916
  this.onMoveEvent(
2763
2917
  func,
2764
2918
  { ...(eventFilter ?? {}), type: "token_event_store::MaxiumMutateEvent" },
2765
- fetchConfig,
2919
+ handlerOptions,
2766
2920
  );
2767
2921
  return this;
2768
2922
  }
@@ -2772,13 +2926,16 @@ export class token_event_store extends AptosBaseProcessor {
2772
2926
  event: token_event_store.OptInTransferInstance,
2773
2927
  ctx: AptosContext,
2774
2928
  ) => void,
2775
- fetchConfig?: Partial<MoveFetchConfig>,
2929
+ handlerOptions?: HandlerOptions<
2930
+ MoveFetchConfig,
2931
+ token_event_store.OptInTransferInstance
2932
+ >,
2776
2933
  eventFilter?: Omit<EventFilter, "type" | "account">,
2777
2934
  ): token_event_store {
2778
2935
  this.onMoveEvent(
2779
2936
  func,
2780
2937
  { ...(eventFilter ?? {}), type: "token_event_store::OptInTransfer" },
2781
- fetchConfig,
2938
+ handlerOptions,
2782
2939
  );
2783
2940
  return this;
2784
2941
  }
@@ -2788,13 +2945,16 @@ export class token_event_store extends AptosBaseProcessor {
2788
2945
  event: token_event_store.OptInTransferEventInstance,
2789
2946
  ctx: AptosContext,
2790
2947
  ) => void,
2791
- fetchConfig?: Partial<MoveFetchConfig>,
2948
+ handlerOptions?: HandlerOptions<
2949
+ MoveFetchConfig,
2950
+ token_event_store.OptInTransferEventInstance
2951
+ >,
2792
2952
  eventFilter?: Omit<EventFilter, "type" | "account">,
2793
2953
  ): token_event_store {
2794
2954
  this.onMoveEvent(
2795
2955
  func,
2796
2956
  { ...(eventFilter ?? {}), type: "token_event_store::OptInTransferEvent" },
2797
- fetchConfig,
2957
+ handlerOptions,
2798
2958
  );
2799
2959
  return this;
2800
2960
  }
@@ -2804,13 +2964,16 @@ export class token_event_store extends AptosBaseProcessor {
2804
2964
  event: token_event_store.RoyaltyMutateInstance,
2805
2965
  ctx: AptosContext,
2806
2966
  ) => void,
2807
- fetchConfig?: Partial<MoveFetchConfig>,
2967
+ handlerOptions?: HandlerOptions<
2968
+ MoveFetchConfig,
2969
+ token_event_store.RoyaltyMutateInstance
2970
+ >,
2808
2971
  eventFilter?: Omit<EventFilter, "type" | "account">,
2809
2972
  ): token_event_store {
2810
2973
  this.onMoveEvent(
2811
2974
  func,
2812
2975
  { ...(eventFilter ?? {}), type: "token_event_store::RoyaltyMutate" },
2813
- fetchConfig,
2976
+ handlerOptions,
2814
2977
  );
2815
2978
  return this;
2816
2979
  }
@@ -2820,13 +2983,16 @@ export class token_event_store extends AptosBaseProcessor {
2820
2983
  event: token_event_store.RoyaltyMutateEventInstance,
2821
2984
  ctx: AptosContext,
2822
2985
  ) => void,
2823
- fetchConfig?: Partial<MoveFetchConfig>,
2986
+ handlerOptions?: HandlerOptions<
2987
+ MoveFetchConfig,
2988
+ token_event_store.RoyaltyMutateEventInstance
2989
+ >,
2824
2990
  eventFilter?: Omit<EventFilter, "type" | "account">,
2825
2991
  ): token_event_store {
2826
2992
  this.onMoveEvent(
2827
2993
  func,
2828
2994
  { ...(eventFilter ?? {}), type: "token_event_store::RoyaltyMutateEvent" },
2829
- fetchConfig,
2995
+ handlerOptions,
2830
2996
  );
2831
2997
  return this;
2832
2998
  }
@@ -2836,13 +3002,16 @@ export class token_event_store extends AptosBaseProcessor {
2836
3002
  event: token_event_store.UriMutationInstance,
2837
3003
  ctx: AptosContext,
2838
3004
  ) => void,
2839
- fetchConfig?: Partial<MoveFetchConfig>,
3005
+ handlerOptions?: HandlerOptions<
3006
+ MoveFetchConfig,
3007
+ token_event_store.UriMutationInstance
3008
+ >,
2840
3009
  eventFilter?: Omit<EventFilter, "type" | "account">,
2841
3010
  ): token_event_store {
2842
3011
  this.onMoveEvent(
2843
3012
  func,
2844
3013
  { ...(eventFilter ?? {}), type: "token_event_store::UriMutation" },
2845
- fetchConfig,
3014
+ handlerOptions,
2846
3015
  );
2847
3016
  return this;
2848
3017
  }
@@ -2852,13 +3021,16 @@ export class token_event_store extends AptosBaseProcessor {
2852
3021
  event: token_event_store.UriMutationEventInstance,
2853
3022
  ctx: AptosContext,
2854
3023
  ) => void,
2855
- fetchConfig?: Partial<MoveFetchConfig>,
3024
+ handlerOptions?: HandlerOptions<
3025
+ MoveFetchConfig,
3026
+ token_event_store.UriMutationEventInstance
3027
+ >,
2856
3028
  eventFilter?: Omit<EventFilter, "type" | "account">,
2857
3029
  ): token_event_store {
2858
3030
  this.onMoveEvent(
2859
3031
  func,
2860
3032
  { ...(eventFilter ?? {}), type: "token_event_store::UriMutationEvent" },
2861
- fetchConfig,
3033
+ handlerOptions,
2862
3034
  );
2863
3035
  return this;
2864
3036
  }