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

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (200) hide show
  1. package/lib/aptos/aptos-plugin.d.ts +6 -5
  2. package/lib/aptos/aptos-plugin.d.ts.map +1 -1
  3. package/lib/aptos/aptos-plugin.js +31 -33
  4. package/lib/aptos/aptos-plugin.js.map +1 -1
  5. package/lib/aptos/aptos-processor.d.ts +18 -18
  6. package/lib/aptos/aptos-processor.d.ts.map +1 -1
  7. package/lib/aptos/aptos-processor.js +83 -38
  8. package/lib/aptos/aptos-processor.js.map +1 -1
  9. package/lib/aptos/aptos-resource-processor-template.d.ts +5 -4
  10. package/lib/aptos/aptos-resource-processor-template.d.ts.map +1 -1
  11. package/lib/aptos/aptos-resource-processor-template.js +8 -8
  12. package/lib/aptos/aptos-resource-processor-template.js.map +1 -1
  13. package/lib/aptos/builtin/0x1.d.ts +334 -333
  14. package/lib/aptos/builtin/0x1.d.ts.map +1 -1
  15. package/lib/aptos/builtin/0x1.js +348 -348
  16. package/lib/aptos/builtin/0x1.js.map +1 -1
  17. package/lib/aptos/builtin/0x3.d.ts +67 -66
  18. package/lib/aptos/builtin/0x3.d.ts.map +1 -1
  19. package/lib/aptos/builtin/0x3.js +28 -28
  20. package/lib/aptos/builtin/0x3.js.map +1 -1
  21. package/lib/aptos/builtin/0x4.d.ts +30 -29
  22. package/lib/aptos/builtin/0x4.d.ts.map +1 -1
  23. package/lib/aptos/builtin/0x4.js +34 -34
  24. package/lib/aptos/builtin/0x4.js.map +1 -1
  25. package/lib/aptos/codegen/codegen.js +19 -2
  26. package/lib/aptos/codegen/codegen.js.map +1 -1
  27. package/lib/aptos/data.d.ts +28 -3
  28. package/lib/aptos/data.d.ts.map +1 -1
  29. package/lib/aptos/data.js +61 -0
  30. package/lib/aptos/data.js.map +1 -1
  31. package/lib/aptos/models.d.ts +1 -5
  32. package/lib/aptos/models.d.ts.map +1 -1
  33. package/lib/btc/btc-plugin.d.ts +4 -1
  34. package/lib/btc/btc-plugin.d.ts.map +1 -1
  35. package/lib/btc/btc-plugin.js +27 -0
  36. package/lib/btc/btc-plugin.js.map +1 -1
  37. package/lib/btc/btc-processor.d.ts +6 -5
  38. package/lib/btc/btc-processor.d.ts.map +1 -1
  39. package/lib/btc/btc-processor.js +35 -9
  40. package/lib/btc/btc-processor.js.map +1 -1
  41. package/lib/btc/types.d.ts +2 -1
  42. package/lib/btc/types.d.ts.map +1 -1
  43. package/lib/core/handler-options.d.ts +25 -0
  44. package/lib/core/handler-options.d.ts.map +1 -0
  45. package/lib/core/handler-options.js +21 -0
  46. package/lib/core/handler-options.js.map +1 -0
  47. package/lib/core/index.d.ts +2 -0
  48. package/lib/core/index.d.ts.map +1 -1
  49. package/lib/core/index.js +2 -0
  50. package/lib/core/index.js.map +1 -1
  51. package/lib/core/partition-handler-manager.d.ts +44 -0
  52. package/lib/core/partition-handler-manager.d.ts.map +1 -0
  53. package/lib/core/partition-handler-manager.js +76 -0
  54. package/lib/core/partition-handler-manager.js.map +1 -0
  55. package/lib/cosmos/cosmos-processor.d.ts +3 -2
  56. package/lib/cosmos/cosmos-processor.d.ts.map +1 -1
  57. package/lib/cosmos/cosmos-processor.js +11 -1
  58. package/lib/cosmos/cosmos-processor.js.map +1 -1
  59. package/lib/cosmos/types.d.ts +1 -0
  60. package/lib/cosmos/types.d.ts.map +1 -1
  61. package/lib/eth/base-processor.d.ts +18 -17
  62. package/lib/eth/base-processor.d.ts.map +1 -1
  63. package/lib/eth/base-processor.js +147 -26
  64. package/lib/eth/base-processor.js.map +1 -1
  65. package/lib/eth/builtin/internal/eacaggregatorproxy-processor.d.ts +32 -31
  66. package/lib/eth/builtin/internal/eacaggregatorproxy-processor.d.ts.map +1 -1
  67. package/lib/eth/builtin/internal/eacaggregatorproxy-processor.js +62 -62
  68. package/lib/eth/builtin/internal/eacaggregatorproxy-processor.js.map +1 -1
  69. package/lib/eth/builtin/internal/erc1155-processor.d.ts +17 -16
  70. package/lib/eth/builtin/internal/erc1155-processor.d.ts.map +1 -1
  71. package/lib/eth/builtin/internal/erc1155-processor.js +32 -32
  72. package/lib/eth/builtin/internal/erc1155-processor.js.map +1 -1
  73. package/lib/eth/builtin/internal/erc20-processor.d.ts +25 -24
  74. package/lib/eth/builtin/internal/erc20-processor.d.ts.map +1 -1
  75. package/lib/eth/builtin/internal/erc20-processor.js +48 -48
  76. package/lib/eth/builtin/internal/erc20-processor.js.map +1 -1
  77. package/lib/eth/builtin/internal/erc20bytes-processor.d.ts +14 -13
  78. package/lib/eth/builtin/internal/erc20bytes-processor.d.ts.map +1 -1
  79. package/lib/eth/builtin/internal/erc20bytes-processor.js +26 -26
  80. package/lib/eth/builtin/internal/erc20bytes-processor.js.map +1 -1
  81. package/lib/eth/builtin/internal/erc721-processor.d.ts +21 -20
  82. package/lib/eth/builtin/internal/erc721-processor.d.ts.map +1 -1
  83. package/lib/eth/builtin/internal/erc721-processor.js +40 -40
  84. package/lib/eth/builtin/internal/erc721-processor.js.map +1 -1
  85. package/lib/eth/builtin/internal/weth9-processor.d.ts +20 -19
  86. package/lib/eth/builtin/internal/weth9-processor.d.ts.map +1 -1
  87. package/lib/eth/builtin/internal/weth9-processor.js +38 -38
  88. package/lib/eth/builtin/internal/weth9-processor.js.map +1 -1
  89. package/lib/eth/codegen/event-handler.js +2 -2
  90. package/lib/eth/codegen/event-handler.js.map +1 -1
  91. package/lib/eth/codegen/file.d.ts.map +1 -1
  92. package/lib/eth/codegen/file.js +1 -0
  93. package/lib/eth/codegen/file.js.map +1 -1
  94. package/lib/eth/codegen/functions-handler.js +2 -2
  95. package/lib/eth/codegen/functions-handler.js.map +1 -1
  96. package/lib/eth/eth-plugin.d.ts +4 -1
  97. package/lib/eth/eth-plugin.d.ts.map +1 -1
  98. package/lib/eth/eth-plugin.js +42 -1
  99. package/lib/eth/eth-plugin.js.map +1 -1
  100. package/lib/eth/eth.d.ts +2 -7
  101. package/lib/eth/eth.d.ts.map +1 -1
  102. package/lib/eth/eth.js +8 -1
  103. package/lib/eth/eth.js.map +1 -1
  104. package/lib/fuel/codegen/codegen.js +5 -5
  105. package/lib/fuel/codegen/codegen.js.map +1 -1
  106. package/lib/fuel/fuel-plugin.d.ts +4 -1
  107. package/lib/fuel/fuel-plugin.d.ts.map +1 -1
  108. package/lib/fuel/fuel-plugin.js +41 -0
  109. package/lib/fuel/fuel-plugin.js.map +1 -1
  110. package/lib/fuel/fuel-processor-template.d.ts +7 -4
  111. package/lib/fuel/fuel-processor-template.d.ts.map +1 -1
  112. package/lib/fuel/fuel-processor-template.js +11 -9
  113. package/lib/fuel/fuel-processor-template.js.map +1 -1
  114. package/lib/fuel/fuel-processor.d.ts +7 -7
  115. package/lib/fuel/fuel-processor.d.ts.map +1 -1
  116. package/lib/fuel/fuel-processor.js +90 -19
  117. package/lib/fuel/fuel-processor.js.map +1 -1
  118. package/lib/fuel/types.d.ts +3 -0
  119. package/lib/fuel/types.d.ts.map +1 -1
  120. package/lib/move/filter.d.ts +4 -0
  121. package/lib/move/filter.d.ts.map +1 -1
  122. package/lib/move/filter.js +4 -0
  123. package/lib/move/filter.js.map +1 -1
  124. package/lib/move/shared-network-codegen.js +5 -5
  125. package/lib/move/shared-network-codegen.js.map +1 -1
  126. package/lib/solana/solana-processor.d.ts +10 -4
  127. package/lib/solana/solana-processor.d.ts.map +1 -1
  128. package/lib/solana/solana-processor.js +13 -4
  129. package/lib/solana/solana-processor.js.map +1 -1
  130. package/lib/stark/starknet-processor.d.ts +3 -1
  131. package/lib/stark/starknet-processor.d.ts.map +1 -1
  132. package/lib/stark/starknet-processor.js +27 -2
  133. package/lib/stark/starknet-processor.js.map +1 -1
  134. package/lib/sui/builtin/0x1.d.ts +7 -6
  135. package/lib/sui/builtin/0x1.d.ts.map +1 -1
  136. package/lib/sui/builtin/0x1.js +12 -12
  137. package/lib/sui/builtin/0x1.js.map +1 -1
  138. package/lib/sui/builtin/0x2.d.ts +61 -60
  139. package/lib/sui/builtin/0x2.d.ts.map +1 -1
  140. package/lib/sui/builtin/0x2.js +120 -120
  141. package/lib/sui/builtin/0x2.js.map +1 -1
  142. package/lib/sui/builtin/0x3.d.ts +49 -48
  143. package/lib/sui/builtin/0x3.d.ts.map +1 -1
  144. package/lib/sui/builtin/0x3.js +96 -96
  145. package/lib/sui/builtin/0x3.js.map +1 -1
  146. package/lib/sui/models.d.ts +1 -5
  147. package/lib/sui/models.d.ts.map +1 -1
  148. package/lib/sui/sui-plugin.d.ts +6 -3
  149. package/lib/sui/sui-plugin.d.ts.map +1 -1
  150. package/lib/sui/sui-plugin.js +59 -20
  151. package/lib/sui/sui-plugin.js.map +1 -1
  152. package/lib/sui/sui-processor.d.ts +5 -4
  153. package/lib/sui/sui-processor.d.ts.map +1 -1
  154. package/lib/sui/sui-processor.js +47 -11
  155. package/lib/sui/sui-processor.js.map +1 -1
  156. package/package.json +3 -3
  157. package/src/aptos/aptos-plugin.ts +35 -39
  158. package/src/aptos/aptos-processor.ts +94 -54
  159. package/src/aptos/aptos-resource-processor-template.ts +9 -8
  160. package/src/aptos/builtin/0x1.ts +1407 -507
  161. package/src/aptos/builtin/0x3.ts +251 -80
  162. package/src/aptos/builtin/0x4.ts +112 -46
  163. package/src/aptos/codegen/codegen.ts +23 -2
  164. package/src/aptos/data.ts +78 -3
  165. package/src/aptos/models.ts +1 -6
  166. package/src/btc/btc-plugin.ts +38 -0
  167. package/src/btc/btc-processor.ts +35 -10
  168. package/src/btc/types.ts +2 -1
  169. package/src/core/handler-options.ts +40 -0
  170. package/src/core/index.ts +5 -0
  171. package/src/core/partition-handler-manager.ts +94 -0
  172. package/src/cosmos/cosmos-processor.ts +12 -1
  173. package/src/cosmos/types.ts +1 -0
  174. package/src/eth/base-processor.ts +139 -33
  175. package/src/eth/builtin/internal/eacaggregatorproxy-processor.ts +118 -62
  176. package/src/eth/builtin/internal/erc1155-processor.ts +76 -32
  177. package/src/eth/builtin/internal/erc20-processor.ts +79 -48
  178. package/src/eth/builtin/internal/erc20bytes-processor.ts +47 -26
  179. package/src/eth/builtin/internal/erc721-processor.ts +77 -40
  180. package/src/eth/builtin/internal/weth9-processor.ts +79 -38
  181. package/src/eth/codegen/event-handler.ts +2 -2
  182. package/src/eth/codegen/file.ts +1 -0
  183. package/src/eth/codegen/functions-handler.ts +2 -2
  184. package/src/eth/eth-plugin.ts +55 -3
  185. package/src/eth/eth.ts +12 -1
  186. package/src/fuel/codegen/codegen.ts +5 -5
  187. package/src/fuel/fuel-plugin.ts +56 -0
  188. package/src/fuel/fuel-processor-template.ts +17 -10
  189. package/src/fuel/fuel-processor.ts +89 -13
  190. package/src/fuel/types.ts +3 -0
  191. package/src/move/filter.ts +4 -0
  192. package/src/move/shared-network-codegen.ts +5 -5
  193. package/src/solana/solana-processor.ts +28 -6
  194. package/src/stark/starknet-processor.ts +28 -2
  195. package/src/sui/builtin/0x1.ts +22 -13
  196. package/src/sui/builtin/0x2.ts +220 -121
  197. package/src/sui/builtin/0x3.ts +241 -97
  198. package/src/sui/models.ts +1 -6
  199. package/src/sui/sui-plugin.ts +68 -22
  200. package/src/sui/sui-processor.ts +48 -11
@@ -21,12 +21,12 @@ export class genesis extends SuiBaseProcessor {
21
21
  static bind(options = {}) {
22
22
  return new genesis({ ...genesis.DEFAULT_OPTIONS, ...options });
23
23
  }
24
- onEventGenesisChainParameters(func, fetchConfig, eventFilter) {
25
- this.onMoveEvent(func, { ...(eventFilter ?? {}), type: "genesis::GenesisChainParameters" }, fetchConfig);
24
+ onEventGenesisChainParameters(func, handlerOptions, eventFilter) {
25
+ this.onMoveEvent(func, { ...(eventFilter ?? {}), type: "genesis::GenesisChainParameters" }, handlerOptions);
26
26
  return this;
27
27
  }
28
- onEventGenesisValidatorMetadata(func, fetchConfig, eventFilter) {
29
- this.onMoveEvent(func, { ...(eventFilter ?? {}), type: "genesis::GenesisValidatorMetadata" }, fetchConfig);
28
+ onEventGenesisValidatorMetadata(func, handlerOptions, eventFilter) {
29
+ this.onMoveEvent(func, { ...(eventFilter ?? {}), type: "genesis::GenesisValidatorMetadata" }, handlerOptions);
30
30
  return this;
31
31
  }
32
32
  }
@@ -180,29 +180,29 @@ export class staking_pool extends SuiBaseProcessor {
180
180
  static bind(options = {}) {
181
181
  return new staking_pool({ ...staking_pool.DEFAULT_OPTIONS, ...options });
182
182
  }
183
- onEntryJoinStakedSui(func, filter, fetchConfig) {
183
+ onEntryJoinStakedSui(func, filter, handlerOptions) {
184
184
  this.onEntryFunctionCall(func, {
185
185
  ...filter,
186
186
  function: "staking_pool::join_staked_sui",
187
- }, fetchConfig);
187
+ }, handlerOptions);
188
188
  return this;
189
189
  }
190
- onEntrySplitStakedSui(func, filter, fetchConfig) {
190
+ onEntrySplitStakedSui(func, filter, handlerOptions) {
191
191
  this.onEntryFunctionCall(func, {
192
192
  ...filter,
193
193
  function: "staking_pool::split_staked_sui",
194
- }, fetchConfig);
194
+ }, handlerOptions);
195
195
  return this;
196
196
  }
197
- onEventFungibleStakedSuiDataKey(func, fetchConfig, eventFilter) {
197
+ onEventFungibleStakedSuiDataKey(func, handlerOptions, eventFilter) {
198
198
  this.onMoveEvent(func, {
199
199
  ...(eventFilter ?? {}),
200
200
  type: "staking_pool::FungibleStakedSuiDataKey",
201
- }, fetchConfig);
201
+ }, handlerOptions);
202
202
  return this;
203
203
  }
204
- onEventPoolTokenExchangeRate(func, fetchConfig, eventFilter) {
205
- this.onMoveEvent(func, { ...(eventFilter ?? {}), type: "staking_pool::PoolTokenExchangeRate" }, fetchConfig);
204
+ onEventPoolTokenExchangeRate(func, handlerOptions, eventFilter) {
205
+ this.onMoveEvent(func, { ...(eventFilter ?? {}), type: "staking_pool::PoolTokenExchangeRate" }, handlerOptions);
206
206
  return this;
207
207
  }
208
208
  }
@@ -1017,228 +1017,228 @@ export class sui_system extends SuiBaseProcessor {
1017
1017
  static bind(options = {}) {
1018
1018
  return new sui_system({ ...sui_system.DEFAULT_OPTIONS, ...options });
1019
1019
  }
1020
- onEntryReportValidator(func, filter, fetchConfig) {
1020
+ onEntryReportValidator(func, filter, handlerOptions) {
1021
1021
  this.onEntryFunctionCall(func, {
1022
1022
  ...filter,
1023
1023
  function: "sui_system::report_validator",
1024
- }, fetchConfig);
1024
+ }, handlerOptions);
1025
1025
  return this;
1026
1026
  }
1027
- onEntryRequestAddStake(func, filter, fetchConfig) {
1027
+ onEntryRequestAddStake(func, filter, handlerOptions) {
1028
1028
  this.onEntryFunctionCall(func, {
1029
1029
  ...filter,
1030
1030
  function: "sui_system::request_add_stake",
1031
- }, fetchConfig);
1031
+ }, handlerOptions);
1032
1032
  return this;
1033
1033
  }
1034
- onEntryRequestAddStakeMulCoin(func, filter, fetchConfig) {
1034
+ onEntryRequestAddStakeMulCoin(func, filter, handlerOptions) {
1035
1035
  this.onEntryFunctionCall(func, {
1036
1036
  ...filter,
1037
1037
  function: "sui_system::request_add_stake_mul_coin",
1038
- }, fetchConfig);
1038
+ }, handlerOptions);
1039
1039
  return this;
1040
1040
  }
1041
- onEntryRequestAddValidator(func, filter, fetchConfig) {
1041
+ onEntryRequestAddValidator(func, filter, handlerOptions) {
1042
1042
  this.onEntryFunctionCall(func, {
1043
1043
  ...filter,
1044
1044
  function: "sui_system::request_add_validator",
1045
- }, fetchConfig);
1045
+ }, handlerOptions);
1046
1046
  return this;
1047
1047
  }
1048
- onEntryRequestAddValidatorCandidate(func, filter, fetchConfig) {
1048
+ onEntryRequestAddValidatorCandidate(func, filter, handlerOptions) {
1049
1049
  this.onEntryFunctionCall(func, {
1050
1050
  ...filter,
1051
1051
  function: "sui_system::request_add_validator_candidate",
1052
- }, fetchConfig);
1052
+ }, handlerOptions);
1053
1053
  return this;
1054
1054
  }
1055
- onEntryRequestRemoveValidator(func, filter, fetchConfig) {
1055
+ onEntryRequestRemoveValidator(func, filter, handlerOptions) {
1056
1056
  this.onEntryFunctionCall(func, {
1057
1057
  ...filter,
1058
1058
  function: "sui_system::request_remove_validator",
1059
- }, fetchConfig);
1059
+ }, handlerOptions);
1060
1060
  return this;
1061
1061
  }
1062
- onEntryRequestRemoveValidatorCandidate(func, filter, fetchConfig) {
1062
+ onEntryRequestRemoveValidatorCandidate(func, filter, handlerOptions) {
1063
1063
  this.onEntryFunctionCall(func, {
1064
1064
  ...filter,
1065
1065
  function: "sui_system::request_remove_validator_candidate",
1066
- }, fetchConfig);
1066
+ }, handlerOptions);
1067
1067
  return this;
1068
1068
  }
1069
- onEntryRequestSetCommissionRate(func, filter, fetchConfig) {
1069
+ onEntryRequestSetCommissionRate(func, filter, handlerOptions) {
1070
1070
  this.onEntryFunctionCall(func, {
1071
1071
  ...filter,
1072
1072
  function: "sui_system::request_set_commission_rate",
1073
- }, fetchConfig);
1073
+ }, handlerOptions);
1074
1074
  return this;
1075
1075
  }
1076
- onEntryRequestSetGasPrice(func, filter, fetchConfig) {
1076
+ onEntryRequestSetGasPrice(func, filter, handlerOptions) {
1077
1077
  this.onEntryFunctionCall(func, {
1078
1078
  ...filter,
1079
1079
  function: "sui_system::request_set_gas_price",
1080
- }, fetchConfig);
1080
+ }, handlerOptions);
1081
1081
  return this;
1082
1082
  }
1083
- onEntryRequestWithdrawStake(func, filter, fetchConfig) {
1083
+ onEntryRequestWithdrawStake(func, filter, handlerOptions) {
1084
1084
  this.onEntryFunctionCall(func, {
1085
1085
  ...filter,
1086
1086
  function: "sui_system::request_withdraw_stake",
1087
- }, fetchConfig);
1087
+ }, handlerOptions);
1088
1088
  return this;
1089
1089
  }
1090
- onEntryRotateOperationCap(func, filter, fetchConfig) {
1090
+ onEntryRotateOperationCap(func, filter, handlerOptions) {
1091
1091
  this.onEntryFunctionCall(func, {
1092
1092
  ...filter,
1093
1093
  function: "sui_system::rotate_operation_cap",
1094
- }, fetchConfig);
1094
+ }, handlerOptions);
1095
1095
  return this;
1096
1096
  }
1097
- onEntrySetCandidateValidatorCommissionRate(func, filter, fetchConfig) {
1097
+ onEntrySetCandidateValidatorCommissionRate(func, filter, handlerOptions) {
1098
1098
  this.onEntryFunctionCall(func, {
1099
1099
  ...filter,
1100
1100
  function: "sui_system::set_candidate_validator_commission_rate",
1101
- }, fetchConfig);
1101
+ }, handlerOptions);
1102
1102
  return this;
1103
1103
  }
1104
- onEntrySetCandidateValidatorGasPrice(func, filter, fetchConfig) {
1104
+ onEntrySetCandidateValidatorGasPrice(func, filter, handlerOptions) {
1105
1105
  this.onEntryFunctionCall(func, {
1106
1106
  ...filter,
1107
1107
  function: "sui_system::set_candidate_validator_gas_price",
1108
- }, fetchConfig);
1108
+ }, handlerOptions);
1109
1109
  return this;
1110
1110
  }
1111
- onEntryUndoReportValidator(func, filter, fetchConfig) {
1111
+ onEntryUndoReportValidator(func, filter, handlerOptions) {
1112
1112
  this.onEntryFunctionCall(func, {
1113
1113
  ...filter,
1114
1114
  function: "sui_system::undo_report_validator",
1115
- }, fetchConfig);
1115
+ }, handlerOptions);
1116
1116
  return this;
1117
1117
  }
1118
- onEntryUpdateCandidateValidatorNetworkAddress(func, filter, fetchConfig) {
1118
+ onEntryUpdateCandidateValidatorNetworkAddress(func, filter, handlerOptions) {
1119
1119
  this.onEntryFunctionCall(func, {
1120
1120
  ...filter,
1121
1121
  function: "sui_system::update_candidate_validator_network_address",
1122
- }, fetchConfig);
1122
+ }, handlerOptions);
1123
1123
  return this;
1124
1124
  }
1125
- onEntryUpdateCandidateValidatorNetworkPubkey(func, filter, fetchConfig) {
1125
+ onEntryUpdateCandidateValidatorNetworkPubkey(func, filter, handlerOptions) {
1126
1126
  this.onEntryFunctionCall(func, {
1127
1127
  ...filter,
1128
1128
  function: "sui_system::update_candidate_validator_network_pubkey",
1129
- }, fetchConfig);
1129
+ }, handlerOptions);
1130
1130
  return this;
1131
1131
  }
1132
- onEntryUpdateCandidateValidatorP2pAddress(func, filter, fetchConfig) {
1132
+ onEntryUpdateCandidateValidatorP2pAddress(func, filter, handlerOptions) {
1133
1133
  this.onEntryFunctionCall(func, {
1134
1134
  ...filter,
1135
1135
  function: "sui_system::update_candidate_validator_p2p_address",
1136
- }, fetchConfig);
1136
+ }, handlerOptions);
1137
1137
  return this;
1138
1138
  }
1139
- onEntryUpdateCandidateValidatorPrimaryAddress(func, filter, fetchConfig) {
1139
+ onEntryUpdateCandidateValidatorPrimaryAddress(func, filter, handlerOptions) {
1140
1140
  this.onEntryFunctionCall(func, {
1141
1141
  ...filter,
1142
1142
  function: "sui_system::update_candidate_validator_primary_address",
1143
- }, fetchConfig);
1143
+ }, handlerOptions);
1144
1144
  return this;
1145
1145
  }
1146
- onEntryUpdateCandidateValidatorProtocolPubkey(func, filter, fetchConfig) {
1146
+ onEntryUpdateCandidateValidatorProtocolPubkey(func, filter, handlerOptions) {
1147
1147
  this.onEntryFunctionCall(func, {
1148
1148
  ...filter,
1149
1149
  function: "sui_system::update_candidate_validator_protocol_pubkey",
1150
- }, fetchConfig);
1150
+ }, handlerOptions);
1151
1151
  return this;
1152
1152
  }
1153
- onEntryUpdateCandidateValidatorWorkerAddress(func, filter, fetchConfig) {
1153
+ onEntryUpdateCandidateValidatorWorkerAddress(func, filter, handlerOptions) {
1154
1154
  this.onEntryFunctionCall(func, {
1155
1155
  ...filter,
1156
1156
  function: "sui_system::update_candidate_validator_worker_address",
1157
- }, fetchConfig);
1157
+ }, handlerOptions);
1158
1158
  return this;
1159
1159
  }
1160
- onEntryUpdateCandidateValidatorWorkerPubkey(func, filter, fetchConfig) {
1160
+ onEntryUpdateCandidateValidatorWorkerPubkey(func, filter, handlerOptions) {
1161
1161
  this.onEntryFunctionCall(func, {
1162
1162
  ...filter,
1163
1163
  function: "sui_system::update_candidate_validator_worker_pubkey",
1164
- }, fetchConfig);
1164
+ }, handlerOptions);
1165
1165
  return this;
1166
1166
  }
1167
- onEntryUpdateValidatorDescription(func, filter, fetchConfig) {
1167
+ onEntryUpdateValidatorDescription(func, filter, handlerOptions) {
1168
1168
  this.onEntryFunctionCall(func, {
1169
1169
  ...filter,
1170
1170
  function: "sui_system::update_validator_description",
1171
- }, fetchConfig);
1171
+ }, handlerOptions);
1172
1172
  return this;
1173
1173
  }
1174
- onEntryUpdateValidatorImageUrl(func, filter, fetchConfig) {
1174
+ onEntryUpdateValidatorImageUrl(func, filter, handlerOptions) {
1175
1175
  this.onEntryFunctionCall(func, {
1176
1176
  ...filter,
1177
1177
  function: "sui_system::update_validator_image_url",
1178
- }, fetchConfig);
1178
+ }, handlerOptions);
1179
1179
  return this;
1180
1180
  }
1181
- onEntryUpdateValidatorName(func, filter, fetchConfig) {
1181
+ onEntryUpdateValidatorName(func, filter, handlerOptions) {
1182
1182
  this.onEntryFunctionCall(func, {
1183
1183
  ...filter,
1184
1184
  function: "sui_system::update_validator_name",
1185
- }, fetchConfig);
1185
+ }, handlerOptions);
1186
1186
  return this;
1187
1187
  }
1188
- onEntryUpdateValidatorNextEpochNetworkAddress(func, filter, fetchConfig) {
1188
+ onEntryUpdateValidatorNextEpochNetworkAddress(func, filter, handlerOptions) {
1189
1189
  this.onEntryFunctionCall(func, {
1190
1190
  ...filter,
1191
1191
  function: "sui_system::update_validator_next_epoch_network_address",
1192
- }, fetchConfig);
1192
+ }, handlerOptions);
1193
1193
  return this;
1194
1194
  }
1195
- onEntryUpdateValidatorNextEpochNetworkPubkey(func, filter, fetchConfig) {
1195
+ onEntryUpdateValidatorNextEpochNetworkPubkey(func, filter, handlerOptions) {
1196
1196
  this.onEntryFunctionCall(func, {
1197
1197
  ...filter,
1198
1198
  function: "sui_system::update_validator_next_epoch_network_pubkey",
1199
- }, fetchConfig);
1199
+ }, handlerOptions);
1200
1200
  return this;
1201
1201
  }
1202
- onEntryUpdateValidatorNextEpochP2pAddress(func, filter, fetchConfig) {
1202
+ onEntryUpdateValidatorNextEpochP2pAddress(func, filter, handlerOptions) {
1203
1203
  this.onEntryFunctionCall(func, {
1204
1204
  ...filter,
1205
1205
  function: "sui_system::update_validator_next_epoch_p2p_address",
1206
- }, fetchConfig);
1206
+ }, handlerOptions);
1207
1207
  return this;
1208
1208
  }
1209
- onEntryUpdateValidatorNextEpochPrimaryAddress(func, filter, fetchConfig) {
1209
+ onEntryUpdateValidatorNextEpochPrimaryAddress(func, filter, handlerOptions) {
1210
1210
  this.onEntryFunctionCall(func, {
1211
1211
  ...filter,
1212
1212
  function: "sui_system::update_validator_next_epoch_primary_address",
1213
- }, fetchConfig);
1213
+ }, handlerOptions);
1214
1214
  return this;
1215
1215
  }
1216
- onEntryUpdateValidatorNextEpochProtocolPubkey(func, filter, fetchConfig) {
1216
+ onEntryUpdateValidatorNextEpochProtocolPubkey(func, filter, handlerOptions) {
1217
1217
  this.onEntryFunctionCall(func, {
1218
1218
  ...filter,
1219
1219
  function: "sui_system::update_validator_next_epoch_protocol_pubkey",
1220
- }, fetchConfig);
1220
+ }, handlerOptions);
1221
1221
  return this;
1222
1222
  }
1223
- onEntryUpdateValidatorNextEpochWorkerAddress(func, filter, fetchConfig) {
1223
+ onEntryUpdateValidatorNextEpochWorkerAddress(func, filter, handlerOptions) {
1224
1224
  this.onEntryFunctionCall(func, {
1225
1225
  ...filter,
1226
1226
  function: "sui_system::update_validator_next_epoch_worker_address",
1227
- }, fetchConfig);
1227
+ }, handlerOptions);
1228
1228
  return this;
1229
1229
  }
1230
- onEntryUpdateValidatorNextEpochWorkerPubkey(func, filter, fetchConfig) {
1230
+ onEntryUpdateValidatorNextEpochWorkerPubkey(func, filter, handlerOptions) {
1231
1231
  this.onEntryFunctionCall(func, {
1232
1232
  ...filter,
1233
1233
  function: "sui_system::update_validator_next_epoch_worker_pubkey",
1234
- }, fetchConfig);
1234
+ }, handlerOptions);
1235
1235
  return this;
1236
1236
  }
1237
- onEntryUpdateValidatorProjectUrl(func, filter, fetchConfig) {
1237
+ onEntryUpdateValidatorProjectUrl(func, filter, handlerOptions) {
1238
1238
  this.onEntryFunctionCall(func, {
1239
1239
  ...filter,
1240
1240
  function: "sui_system::update_validator_project_url",
1241
- }, fetchConfig);
1241
+ }, handlerOptions);
1242
1242
  return this;
1243
1243
  }
1244
1244
  }
@@ -2136,11 +2136,11 @@ export class sui_system_state_inner extends SuiBaseProcessor {
2136
2136
  ...options,
2137
2137
  });
2138
2138
  }
2139
- onEventSystemEpochInfoEvent(func, fetchConfig, eventFilter) {
2139
+ onEventSystemEpochInfoEvent(func, handlerOptions, eventFilter) {
2140
2140
  this.onMoveEvent(func, {
2141
2141
  ...(eventFilter ?? {}),
2142
2142
  type: "sui_system_state_inner::SystemEpochInfoEvent",
2143
- }, fetchConfig);
2143
+ }, handlerOptions);
2144
2144
  return this;
2145
2145
  }
2146
2146
  }
@@ -3365,26 +3365,26 @@ export class validator extends SuiBaseProcessor {
3365
3365
  static bind(options = {}) {
3366
3366
  return new validator({ ...validator.DEFAULT_OPTIONS, ...options });
3367
3367
  }
3368
- onEventConvertingToFungibleStakedSuiEvent(func, fetchConfig, eventFilter) {
3368
+ onEventConvertingToFungibleStakedSuiEvent(func, handlerOptions, eventFilter) {
3369
3369
  this.onMoveEvent(func, {
3370
3370
  ...(eventFilter ?? {}),
3371
3371
  type: "validator::ConvertingToFungibleStakedSuiEvent",
3372
- }, fetchConfig);
3372
+ }, handlerOptions);
3373
3373
  return this;
3374
3374
  }
3375
- onEventRedeemingFungibleStakedSuiEvent(func, fetchConfig, eventFilter) {
3375
+ onEventRedeemingFungibleStakedSuiEvent(func, handlerOptions, eventFilter) {
3376
3376
  this.onMoveEvent(func, {
3377
3377
  ...(eventFilter ?? {}),
3378
3378
  type: "validator::RedeemingFungibleStakedSuiEvent",
3379
- }, fetchConfig);
3379
+ }, handlerOptions);
3380
3380
  return this;
3381
3381
  }
3382
- onEventStakingRequestEvent(func, fetchConfig, eventFilter) {
3383
- this.onMoveEvent(func, { ...(eventFilter ?? {}), type: "validator::StakingRequestEvent" }, fetchConfig);
3382
+ onEventStakingRequestEvent(func, handlerOptions, eventFilter) {
3383
+ this.onMoveEvent(func, { ...(eventFilter ?? {}), type: "validator::StakingRequestEvent" }, handlerOptions);
3384
3384
  return this;
3385
3385
  }
3386
- onEventUnstakingRequestEvent(func, fetchConfig, eventFilter) {
3387
- this.onMoveEvent(func, { ...(eventFilter ?? {}), type: "validator::UnstakingRequestEvent" }, fetchConfig);
3386
+ onEventUnstakingRequestEvent(func, handlerOptions, eventFilter) {
3387
+ this.onMoveEvent(func, { ...(eventFilter ?? {}), type: "validator::UnstakingRequestEvent" }, handlerOptions);
3388
3388
  return this;
3389
3389
  }
3390
3390
  }
@@ -5154,33 +5154,33 @@ export class validator_set extends SuiBaseProcessor {
5154
5154
  static bind(options = {}) {
5155
5155
  return new validator_set({ ...validator_set.DEFAULT_OPTIONS, ...options });
5156
5156
  }
5157
- onEventValidatorEpochInfoEvent(func, fetchConfig, eventFilter) {
5157
+ onEventValidatorEpochInfoEvent(func, handlerOptions, eventFilter) {
5158
5158
  this.onMoveEvent(func, {
5159
5159
  ...(eventFilter ?? {}),
5160
5160
  type: "validator_set::ValidatorEpochInfoEvent",
5161
- }, fetchConfig);
5161
+ }, handlerOptions);
5162
5162
  return this;
5163
5163
  }
5164
- onEventValidatorEpochInfoEventV2(func, fetchConfig, eventFilter) {
5164
+ onEventValidatorEpochInfoEventV2(func, handlerOptions, eventFilter) {
5165
5165
  this.onMoveEvent(func, {
5166
5166
  ...(eventFilter ?? {}),
5167
5167
  type: "validator_set::ValidatorEpochInfoEventV2",
5168
- }, fetchConfig);
5168
+ }, handlerOptions);
5169
5169
  return this;
5170
5170
  }
5171
- onEventValidatorJoinEvent(func, fetchConfig, eventFilter) {
5172
- this.onMoveEvent(func, { ...(eventFilter ?? {}), type: "validator_set::ValidatorJoinEvent" }, fetchConfig);
5171
+ onEventValidatorJoinEvent(func, handlerOptions, eventFilter) {
5172
+ this.onMoveEvent(func, { ...(eventFilter ?? {}), type: "validator_set::ValidatorJoinEvent" }, handlerOptions);
5173
5173
  return this;
5174
5174
  }
5175
- onEventValidatorLeaveEvent(func, fetchConfig, eventFilter) {
5176
- this.onMoveEvent(func, { ...(eventFilter ?? {}), type: "validator_set::ValidatorLeaveEvent" }, fetchConfig);
5175
+ onEventValidatorLeaveEvent(func, handlerOptions, eventFilter) {
5176
+ this.onMoveEvent(func, { ...(eventFilter ?? {}), type: "validator_set::ValidatorLeaveEvent" }, handlerOptions);
5177
5177
  return this;
5178
5178
  }
5179
- onEventVotingPowerAdmissionStartEpochKey(func, fetchConfig, eventFilter) {
5179
+ onEventVotingPowerAdmissionStartEpochKey(func, handlerOptions, eventFilter) {
5180
5180
  this.onMoveEvent(func, {
5181
5181
  ...(eventFilter ?? {}),
5182
5182
  type: "validator_set::VotingPowerAdmissionStartEpochKey",
5183
- }, fetchConfig);
5183
+ }, handlerOptions);
5184
5184
  return this;
5185
5185
  }
5186
5186
  }