@sentio/sdk 2.59.0-rc.8 → 2.59.0
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.
- package/lib/aptos/api.d.ts +1 -0
- package/lib/aptos/api.d.ts.map +1 -1
- package/lib/aptos/api.js +13 -1
- package/lib/aptos/api.js.map +1 -1
- package/lib/aptos/aptos-plugin.d.ts +8 -4
- package/lib/aptos/aptos-plugin.d.ts.map +1 -1
- package/lib/aptos/aptos-plugin.js +40 -3
- package/lib/aptos/aptos-plugin.js.map +1 -1
- package/lib/aptos/aptos-processor.d.ts +20 -19
- package/lib/aptos/aptos-processor.d.ts.map +1 -1
- package/lib/aptos/aptos-processor.js +101 -50
- package/lib/aptos/aptos-processor.js.map +1 -1
- package/lib/aptos/aptos-resource-processor-template.d.ts +5 -4
- package/lib/aptos/aptos-resource-processor-template.d.ts.map +1 -1
- package/lib/aptos/aptos-resource-processor-template.js +8 -8
- package/lib/aptos/aptos-resource-processor-template.js.map +1 -1
- package/lib/aptos/builtin/0x1.d.ts +333 -332
- package/lib/aptos/builtin/0x1.d.ts.map +1 -1
- package/lib/aptos/builtin/0x1.js +664 -664
- package/lib/aptos/builtin/0x1.js.map +1 -1
- package/lib/aptos/builtin/0x3.d.ts +66 -65
- package/lib/aptos/builtin/0x3.d.ts.map +1 -1
- package/lib/aptos/builtin/0x3.js +130 -130
- package/lib/aptos/builtin/0x3.js.map +1 -1
- package/lib/aptos/builtin/0x4.d.ts +29 -28
- package/lib/aptos/builtin/0x4.d.ts.map +1 -1
- package/lib/aptos/builtin/0x4.js +56 -56
- package/lib/aptos/builtin/0x4.js.map +1 -1
- package/lib/aptos/codegen/codegen.js +27 -0
- package/lib/aptos/codegen/codegen.js.map +1 -1
- package/lib/aptos/data.d.ts +45 -0
- package/lib/aptos/data.d.ts.map +1 -0
- package/lib/aptos/data.js +99 -0
- package/lib/aptos/data.js.map +1 -0
- package/lib/aptos/index.d.ts +1 -0
- package/lib/aptos/index.d.ts.map +1 -1
- package/lib/aptos/index.js.map +1 -1
- package/lib/aptos/models.d.ts +1 -0
- package/lib/aptos/models.d.ts.map +1 -1
- package/lib/aptos/move-coder.d.ts +8 -2
- package/lib/aptos/move-coder.d.ts.map +1 -1
- package/lib/aptos/move-coder.js +84 -1
- package/lib/aptos/move-coder.js.map +1 -1
- package/lib/btc/btc-plugin.d.ts +4 -1
- package/lib/btc/btc-plugin.d.ts.map +1 -1
- package/lib/btc/btc-plugin.js +27 -0
- package/lib/btc/btc-plugin.js.map +1 -1
- package/lib/btc/btc-processor.d.ts +6 -5
- package/lib/btc/btc-processor.d.ts.map +1 -1
- package/lib/btc/btc-processor.js +35 -9
- package/lib/btc/btc-processor.js.map +1 -1
- package/lib/btc/types.d.ts +2 -1
- package/lib/btc/types.d.ts.map +1 -1
- package/lib/core/base-context.d.ts +4 -2
- package/lib/core/base-context.d.ts.map +1 -1
- package/lib/core/base-context.js +10 -5
- package/lib/core/base-context.js.map +1 -1
- package/lib/core/event-logger.d.ts +5 -0
- package/lib/core/event-logger.d.ts.map +1 -1
- package/lib/core/event-logger.js +36 -1
- package/lib/core/event-logger.js.map +1 -1
- package/lib/core/handler-options.d.ts +25 -0
- package/lib/core/handler-options.d.ts.map +1 -0
- package/lib/core/handler-options.js +21 -0
- package/lib/core/handler-options.js.map +1 -0
- package/lib/core/index.d.ts +3 -1
- package/lib/core/index.d.ts.map +1 -1
- package/lib/core/index.js +3 -1
- package/lib/core/index.js.map +1 -1
- package/lib/core/meter.d.ts +45 -2
- package/lib/core/meter.d.ts.map +1 -1
- package/lib/core/meter.js +124 -2
- package/lib/core/meter.js.map +1 -1
- package/lib/core/numberish.d.ts +2 -1
- package/lib/core/numberish.d.ts.map +1 -1
- package/lib/core/numberish.js +35 -1
- package/lib/core/numberish.js.map +1 -1
- package/lib/core/partition-handler-manager.d.ts +44 -0
- package/lib/core/partition-handler-manager.d.ts.map +1 -0
- package/lib/core/partition-handler-manager.js +76 -0
- package/lib/core/partition-handler-manager.js.map +1 -0
- package/lib/cosmos/cosmos-processor.d.ts +3 -2
- package/lib/cosmos/cosmos-processor.d.ts.map +1 -1
- package/lib/cosmos/cosmos-processor.js +11 -1
- package/lib/cosmos/cosmos-processor.js.map +1 -1
- package/lib/cosmos/types.d.ts +1 -0
- package/lib/cosmos/types.d.ts.map +1 -1
- package/lib/eth/base-processor.d.ts +21 -16
- package/lib/eth/base-processor.d.ts.map +1 -1
- package/lib/eth/base-processor.js +173 -34
- package/lib/eth/base-processor.js.map +1 -1
- package/lib/eth/bind-options.d.ts +6 -0
- package/lib/eth/bind-options.d.ts.map +1 -1
- package/lib/eth/bind-options.js +2 -0
- package/lib/eth/bind-options.js.map +1 -1
- package/lib/eth/builtin/internal/eacaggregatorproxy-processor.d.ts +32 -31
- package/lib/eth/builtin/internal/eacaggregatorproxy-processor.d.ts.map +1 -1
- package/lib/eth/builtin/internal/eacaggregatorproxy-processor.js +62 -62
- package/lib/eth/builtin/internal/eacaggregatorproxy-processor.js.map +1 -1
- package/lib/eth/builtin/internal/erc1155-processor.d.ts +17 -16
- package/lib/eth/builtin/internal/erc1155-processor.d.ts.map +1 -1
- package/lib/eth/builtin/internal/erc1155-processor.js +32 -32
- package/lib/eth/builtin/internal/erc1155-processor.js.map +1 -1
- package/lib/eth/builtin/internal/erc20-processor.d.ts +25 -24
- package/lib/eth/builtin/internal/erc20-processor.d.ts.map +1 -1
- package/lib/eth/builtin/internal/erc20-processor.js +48 -48
- package/lib/eth/builtin/internal/erc20-processor.js.map +1 -1
- package/lib/eth/builtin/internal/erc20bytes-processor.d.ts +14 -13
- package/lib/eth/builtin/internal/erc20bytes-processor.d.ts.map +1 -1
- package/lib/eth/builtin/internal/erc20bytes-processor.js +26 -26
- package/lib/eth/builtin/internal/erc20bytes-processor.js.map +1 -1
- package/lib/eth/builtin/internal/erc721-processor.d.ts +21 -20
- package/lib/eth/builtin/internal/erc721-processor.d.ts.map +1 -1
- package/lib/eth/builtin/internal/erc721-processor.js +40 -40
- package/lib/eth/builtin/internal/erc721-processor.js.map +1 -1
- package/lib/eth/builtin/internal/weth9-processor.d.ts +20 -19
- package/lib/eth/builtin/internal/weth9-processor.d.ts.map +1 -1
- package/lib/eth/builtin/internal/weth9-processor.js +38 -38
- package/lib/eth/builtin/internal/weth9-processor.js.map +1 -1
- package/lib/eth/codegen/event-handler.js +2 -2
- package/lib/eth/codegen/event-handler.js.map +1 -1
- package/lib/eth/codegen/file.d.ts.map +1 -1
- package/lib/eth/codegen/file.js +1 -0
- package/lib/eth/codegen/file.js.map +1 -1
- package/lib/eth/codegen/functions-handler.js +2 -2
- package/lib/eth/codegen/functions-handler.js.map +1 -1
- package/lib/eth/eth-plugin.d.ts +4 -1
- package/lib/eth/eth-plugin.d.ts.map +1 -1
- package/lib/eth/eth-plugin.js +53 -5
- package/lib/eth/eth-plugin.js.map +1 -1
- package/lib/eth/eth.d.ts +2 -7
- package/lib/eth/eth.d.ts.map +1 -1
- package/lib/eth/eth.js +8 -1
- package/lib/eth/eth.js.map +1 -1
- package/lib/fuel/codegen/codegen.js +5 -5
- package/lib/fuel/codegen/codegen.js.map +1 -1
- package/lib/fuel/fuel-plugin.d.ts +4 -1
- package/lib/fuel/fuel-plugin.d.ts.map +1 -1
- package/lib/fuel/fuel-plugin.js +41 -0
- package/lib/fuel/fuel-plugin.js.map +1 -1
- package/lib/fuel/fuel-processor-template.d.ts +7 -4
- package/lib/fuel/fuel-processor-template.d.ts.map +1 -1
- package/lib/fuel/fuel-processor-template.js +11 -9
- package/lib/fuel/fuel-processor-template.js.map +1 -1
- package/lib/fuel/fuel-processor.d.ts +7 -7
- package/lib/fuel/fuel-processor.d.ts.map +1 -1
- package/lib/fuel/fuel-processor.js +91 -28
- package/lib/fuel/fuel-processor.js.map +1 -1
- package/lib/fuel/types.d.ts +3 -0
- package/lib/fuel/types.d.ts.map +1 -1
- package/lib/move/filter.d.ts +5 -0
- package/lib/move/filter.d.ts.map +1 -1
- package/lib/move/filter.js +5 -0
- package/lib/move/filter.js.map +1 -1
- package/lib/move/shared-network-codegen.d.ts.map +1 -1
- package/lib/move/shared-network-codegen.js +5 -4
- package/lib/move/shared-network-codegen.js.map +1 -1
- package/lib/solana/solana-processor.d.ts +10 -4
- package/lib/solana/solana-processor.d.ts.map +1 -1
- package/lib/solana/solana-processor.js +13 -4
- package/lib/solana/solana-processor.js.map +1 -1
- package/lib/stark/starknet-processor.d.ts +3 -1
- package/lib/stark/starknet-processor.d.ts.map +1 -1
- package/lib/stark/starknet-processor.js +32 -14
- package/lib/stark/starknet-processor.js.map +1 -1
- package/lib/store/codegen.d.ts.map +1 -1
- package/lib/store/codegen.js +36 -2
- package/lib/store/codegen.js.map +1 -1
- package/lib/store/schema.d.ts.map +1 -1
- package/lib/store/schema.js +3 -1
- package/lib/store/schema.js.map +1 -1
- package/lib/store/store.d.ts +4 -3
- package/lib/store/store.d.ts.map +1 -1
- package/lib/store/store.js +41 -1
- package/lib/store/store.js.map +1 -1
- package/lib/store/types.d.ts +20 -1
- package/lib/store/types.d.ts.map +1 -1
- package/lib/store/types.js +22 -0
- package/lib/store/types.js.map +1 -1
- package/lib/sui/builtin/0x1.d.ts +7 -6
- package/lib/sui/builtin/0x1.d.ts.map +1 -1
- package/lib/sui/builtin/0x1.js +12 -12
- package/lib/sui/builtin/0x1.js.map +1 -1
- package/lib/sui/builtin/0x2.d.ts +61 -60
- package/lib/sui/builtin/0x2.d.ts.map +1 -1
- package/lib/sui/builtin/0x2.js +120 -120
- package/lib/sui/builtin/0x2.js.map +1 -1
- package/lib/sui/builtin/0x3.d.ts +49 -48
- package/lib/sui/builtin/0x3.d.ts.map +1 -1
- package/lib/sui/builtin/0x3.js +96 -96
- package/lib/sui/builtin/0x3.js.map +1 -1
- package/lib/sui/models.d.ts +1 -0
- package/lib/sui/models.d.ts.map +1 -1
- package/lib/sui/sui-plugin.d.ts +6 -3
- package/lib/sui/sui-plugin.d.ts.map +1 -1
- package/lib/sui/sui-plugin.js +59 -20
- package/lib/sui/sui-plugin.js.map +1 -1
- package/lib/sui/sui-processor.d.ts +5 -4
- package/lib/sui/sui-processor.d.ts.map +1 -1
- package/lib/sui/sui-processor.js +47 -11
- package/lib/sui/sui-processor.js.map +1 -1
- package/lib/utils/block.d.ts +2 -0
- package/lib/utils/block.d.ts.map +1 -1
- package/lib/utils/block.js +13 -0
- package/lib/utils/block.js.map +1 -1
- package/package.json +4 -4
- package/src/aptos/api.ts +13 -1
- package/src/aptos/aptos-plugin.ts +51 -8
- package/src/aptos/aptos-processor.ts +112 -74
- package/src/aptos/aptos-resource-processor-template.ts +9 -8
- package/src/aptos/builtin/0x1.ts +1565 -664
- package/src/aptos/builtin/0x3.ts +302 -130
- package/src/aptos/builtin/0x4.ts +123 -56
- package/src/aptos/codegen/codegen.ts +34 -1
- package/src/aptos/data.ts +123 -0
- package/src/aptos/index.ts +2 -0
- package/src/aptos/models.ts +2 -0
- package/src/aptos/move-coder.ts +96 -3
- package/src/btc/btc-plugin.ts +38 -0
- package/src/btc/btc-processor.ts +35 -10
- package/src/btc/types.ts +2 -1
- package/src/core/base-context.ts +10 -5
- package/src/core/event-logger.ts +45 -1
- package/src/core/handler-options.ts +40 -0
- package/src/core/index.ts +17 -1
- package/src/core/meter.ts +159 -4
- package/src/core/numberish.ts +34 -1
- package/src/core/partition-handler-manager.ts +94 -0
- package/src/cosmos/cosmos-processor.ts +12 -1
- package/src/cosmos/types.ts +1 -0
- package/src/eth/base-processor.ts +162 -37
- package/src/eth/bind-options.ts +7 -0
- package/src/eth/builtin/internal/eacaggregatorproxy-processor.ts +118 -62
- package/src/eth/builtin/internal/erc1155-processor.ts +76 -32
- package/src/eth/builtin/internal/erc20-processor.ts +79 -48
- package/src/eth/builtin/internal/erc20bytes-processor.ts +47 -26
- package/src/eth/builtin/internal/erc721-processor.ts +77 -40
- package/src/eth/builtin/internal/weth9-processor.ts +79 -38
- package/src/eth/codegen/event-handler.ts +2 -2
- package/src/eth/codegen/file.ts +1 -0
- package/src/eth/codegen/functions-handler.ts +2 -2
- package/src/eth/eth-plugin.ts +74 -5
- package/src/eth/eth.ts +12 -1
- package/src/fuel/codegen/codegen.ts +5 -5
- package/src/fuel/fuel-plugin.ts +56 -0
- package/src/fuel/fuel-processor-template.ts +17 -10
- package/src/fuel/fuel-processor.ts +90 -22
- package/src/fuel/types.ts +3 -0
- package/src/move/filter.ts +5 -0
- package/src/move/shared-network-codegen.ts +5 -4
- package/src/solana/solana-processor.ts +28 -6
- package/src/stark/starknet-processor.ts +31 -13
- package/src/store/codegen.ts +50 -2
- package/src/store/schema.ts +3 -1
- package/src/store/store.ts +57 -4
- package/src/store/types.ts +30 -1
- package/src/sui/builtin/0x1.ts +22 -12
- package/src/sui/builtin/0x2.ts +220 -120
- package/src/sui/builtin/0x3.ts +241 -96
- package/src/sui/models.ts +2 -0
- package/src/sui/sui-plugin.ts +68 -22
- package/src/sui/sui-processor.ts +48 -11
- package/src/utils/block.ts +15 -0
package/lib/sui/builtin/0x3.js
CHANGED
@@ -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,
|
25
|
-
this.onMoveEvent(func, { ...(eventFilter ?? {}), type: "genesis::GenesisChainParameters" },
|
24
|
+
onEventGenesisChainParameters(func, handlerOptions, eventFilter) {
|
25
|
+
this.onMoveEvent(func, { ...(eventFilter ?? {}), type: "genesis::GenesisChainParameters" }, handlerOptions);
|
26
26
|
return this;
|
27
27
|
}
|
28
|
-
onEventGenesisValidatorMetadata(func,
|
29
|
-
this.onMoveEvent(func, { ...(eventFilter ?? {}), type: "genesis::GenesisValidatorMetadata" },
|
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,
|
183
|
+
onEntryJoinStakedSui(func, filter, handlerOptions) {
|
184
184
|
this.onEntryFunctionCall(func, {
|
185
185
|
...filter,
|
186
186
|
function: "staking_pool::join_staked_sui",
|
187
|
-
},
|
187
|
+
}, handlerOptions);
|
188
188
|
return this;
|
189
189
|
}
|
190
|
-
onEntrySplitStakedSui(func, filter,
|
190
|
+
onEntrySplitStakedSui(func, filter, handlerOptions) {
|
191
191
|
this.onEntryFunctionCall(func, {
|
192
192
|
...filter,
|
193
193
|
function: "staking_pool::split_staked_sui",
|
194
|
-
},
|
194
|
+
}, handlerOptions);
|
195
195
|
return this;
|
196
196
|
}
|
197
|
-
onEventFungibleStakedSuiDataKey(func,
|
197
|
+
onEventFungibleStakedSuiDataKey(func, handlerOptions, eventFilter) {
|
198
198
|
this.onMoveEvent(func, {
|
199
199
|
...(eventFilter ?? {}),
|
200
200
|
type: "staking_pool::FungibleStakedSuiDataKey",
|
201
|
-
},
|
201
|
+
}, handlerOptions);
|
202
202
|
return this;
|
203
203
|
}
|
204
|
-
onEventPoolTokenExchangeRate(func,
|
205
|
-
this.onMoveEvent(func, { ...(eventFilter ?? {}), type: "staking_pool::PoolTokenExchangeRate" },
|
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,
|
1020
|
+
onEntryReportValidator(func, filter, handlerOptions) {
|
1021
1021
|
this.onEntryFunctionCall(func, {
|
1022
1022
|
...filter,
|
1023
1023
|
function: "sui_system::report_validator",
|
1024
|
-
},
|
1024
|
+
}, handlerOptions);
|
1025
1025
|
return this;
|
1026
1026
|
}
|
1027
|
-
onEntryRequestAddStake(func, filter,
|
1027
|
+
onEntryRequestAddStake(func, filter, handlerOptions) {
|
1028
1028
|
this.onEntryFunctionCall(func, {
|
1029
1029
|
...filter,
|
1030
1030
|
function: "sui_system::request_add_stake",
|
1031
|
-
},
|
1031
|
+
}, handlerOptions);
|
1032
1032
|
return this;
|
1033
1033
|
}
|
1034
|
-
onEntryRequestAddStakeMulCoin(func, filter,
|
1034
|
+
onEntryRequestAddStakeMulCoin(func, filter, handlerOptions) {
|
1035
1035
|
this.onEntryFunctionCall(func, {
|
1036
1036
|
...filter,
|
1037
1037
|
function: "sui_system::request_add_stake_mul_coin",
|
1038
|
-
},
|
1038
|
+
}, handlerOptions);
|
1039
1039
|
return this;
|
1040
1040
|
}
|
1041
|
-
onEntryRequestAddValidator(func, filter,
|
1041
|
+
onEntryRequestAddValidator(func, filter, handlerOptions) {
|
1042
1042
|
this.onEntryFunctionCall(func, {
|
1043
1043
|
...filter,
|
1044
1044
|
function: "sui_system::request_add_validator",
|
1045
|
-
},
|
1045
|
+
}, handlerOptions);
|
1046
1046
|
return this;
|
1047
1047
|
}
|
1048
|
-
onEntryRequestAddValidatorCandidate(func, filter,
|
1048
|
+
onEntryRequestAddValidatorCandidate(func, filter, handlerOptions) {
|
1049
1049
|
this.onEntryFunctionCall(func, {
|
1050
1050
|
...filter,
|
1051
1051
|
function: "sui_system::request_add_validator_candidate",
|
1052
|
-
},
|
1052
|
+
}, handlerOptions);
|
1053
1053
|
return this;
|
1054
1054
|
}
|
1055
|
-
onEntryRequestRemoveValidator(func, filter,
|
1055
|
+
onEntryRequestRemoveValidator(func, filter, handlerOptions) {
|
1056
1056
|
this.onEntryFunctionCall(func, {
|
1057
1057
|
...filter,
|
1058
1058
|
function: "sui_system::request_remove_validator",
|
1059
|
-
},
|
1059
|
+
}, handlerOptions);
|
1060
1060
|
return this;
|
1061
1061
|
}
|
1062
|
-
onEntryRequestRemoveValidatorCandidate(func, filter,
|
1062
|
+
onEntryRequestRemoveValidatorCandidate(func, filter, handlerOptions) {
|
1063
1063
|
this.onEntryFunctionCall(func, {
|
1064
1064
|
...filter,
|
1065
1065
|
function: "sui_system::request_remove_validator_candidate",
|
1066
|
-
},
|
1066
|
+
}, handlerOptions);
|
1067
1067
|
return this;
|
1068
1068
|
}
|
1069
|
-
onEntryRequestSetCommissionRate(func, filter,
|
1069
|
+
onEntryRequestSetCommissionRate(func, filter, handlerOptions) {
|
1070
1070
|
this.onEntryFunctionCall(func, {
|
1071
1071
|
...filter,
|
1072
1072
|
function: "sui_system::request_set_commission_rate",
|
1073
|
-
},
|
1073
|
+
}, handlerOptions);
|
1074
1074
|
return this;
|
1075
1075
|
}
|
1076
|
-
onEntryRequestSetGasPrice(func, filter,
|
1076
|
+
onEntryRequestSetGasPrice(func, filter, handlerOptions) {
|
1077
1077
|
this.onEntryFunctionCall(func, {
|
1078
1078
|
...filter,
|
1079
1079
|
function: "sui_system::request_set_gas_price",
|
1080
|
-
},
|
1080
|
+
}, handlerOptions);
|
1081
1081
|
return this;
|
1082
1082
|
}
|
1083
|
-
onEntryRequestWithdrawStake(func, filter,
|
1083
|
+
onEntryRequestWithdrawStake(func, filter, handlerOptions) {
|
1084
1084
|
this.onEntryFunctionCall(func, {
|
1085
1085
|
...filter,
|
1086
1086
|
function: "sui_system::request_withdraw_stake",
|
1087
|
-
},
|
1087
|
+
}, handlerOptions);
|
1088
1088
|
return this;
|
1089
1089
|
}
|
1090
|
-
onEntryRotateOperationCap(func, filter,
|
1090
|
+
onEntryRotateOperationCap(func, filter, handlerOptions) {
|
1091
1091
|
this.onEntryFunctionCall(func, {
|
1092
1092
|
...filter,
|
1093
1093
|
function: "sui_system::rotate_operation_cap",
|
1094
|
-
},
|
1094
|
+
}, handlerOptions);
|
1095
1095
|
return this;
|
1096
1096
|
}
|
1097
|
-
onEntrySetCandidateValidatorCommissionRate(func, filter,
|
1097
|
+
onEntrySetCandidateValidatorCommissionRate(func, filter, handlerOptions) {
|
1098
1098
|
this.onEntryFunctionCall(func, {
|
1099
1099
|
...filter,
|
1100
1100
|
function: "sui_system::set_candidate_validator_commission_rate",
|
1101
|
-
},
|
1101
|
+
}, handlerOptions);
|
1102
1102
|
return this;
|
1103
1103
|
}
|
1104
|
-
onEntrySetCandidateValidatorGasPrice(func, filter,
|
1104
|
+
onEntrySetCandidateValidatorGasPrice(func, filter, handlerOptions) {
|
1105
1105
|
this.onEntryFunctionCall(func, {
|
1106
1106
|
...filter,
|
1107
1107
|
function: "sui_system::set_candidate_validator_gas_price",
|
1108
|
-
},
|
1108
|
+
}, handlerOptions);
|
1109
1109
|
return this;
|
1110
1110
|
}
|
1111
|
-
onEntryUndoReportValidator(func, filter,
|
1111
|
+
onEntryUndoReportValidator(func, filter, handlerOptions) {
|
1112
1112
|
this.onEntryFunctionCall(func, {
|
1113
1113
|
...filter,
|
1114
1114
|
function: "sui_system::undo_report_validator",
|
1115
|
-
},
|
1115
|
+
}, handlerOptions);
|
1116
1116
|
return this;
|
1117
1117
|
}
|
1118
|
-
onEntryUpdateCandidateValidatorNetworkAddress(func, filter,
|
1118
|
+
onEntryUpdateCandidateValidatorNetworkAddress(func, filter, handlerOptions) {
|
1119
1119
|
this.onEntryFunctionCall(func, {
|
1120
1120
|
...filter,
|
1121
1121
|
function: "sui_system::update_candidate_validator_network_address",
|
1122
|
-
},
|
1122
|
+
}, handlerOptions);
|
1123
1123
|
return this;
|
1124
1124
|
}
|
1125
|
-
onEntryUpdateCandidateValidatorNetworkPubkey(func, filter,
|
1125
|
+
onEntryUpdateCandidateValidatorNetworkPubkey(func, filter, handlerOptions) {
|
1126
1126
|
this.onEntryFunctionCall(func, {
|
1127
1127
|
...filter,
|
1128
1128
|
function: "sui_system::update_candidate_validator_network_pubkey",
|
1129
|
-
},
|
1129
|
+
}, handlerOptions);
|
1130
1130
|
return this;
|
1131
1131
|
}
|
1132
|
-
onEntryUpdateCandidateValidatorP2pAddress(func, filter,
|
1132
|
+
onEntryUpdateCandidateValidatorP2pAddress(func, filter, handlerOptions) {
|
1133
1133
|
this.onEntryFunctionCall(func, {
|
1134
1134
|
...filter,
|
1135
1135
|
function: "sui_system::update_candidate_validator_p2p_address",
|
1136
|
-
},
|
1136
|
+
}, handlerOptions);
|
1137
1137
|
return this;
|
1138
1138
|
}
|
1139
|
-
onEntryUpdateCandidateValidatorPrimaryAddress(func, filter,
|
1139
|
+
onEntryUpdateCandidateValidatorPrimaryAddress(func, filter, handlerOptions) {
|
1140
1140
|
this.onEntryFunctionCall(func, {
|
1141
1141
|
...filter,
|
1142
1142
|
function: "sui_system::update_candidate_validator_primary_address",
|
1143
|
-
},
|
1143
|
+
}, handlerOptions);
|
1144
1144
|
return this;
|
1145
1145
|
}
|
1146
|
-
onEntryUpdateCandidateValidatorProtocolPubkey(func, filter,
|
1146
|
+
onEntryUpdateCandidateValidatorProtocolPubkey(func, filter, handlerOptions) {
|
1147
1147
|
this.onEntryFunctionCall(func, {
|
1148
1148
|
...filter,
|
1149
1149
|
function: "sui_system::update_candidate_validator_protocol_pubkey",
|
1150
|
-
},
|
1150
|
+
}, handlerOptions);
|
1151
1151
|
return this;
|
1152
1152
|
}
|
1153
|
-
onEntryUpdateCandidateValidatorWorkerAddress(func, filter,
|
1153
|
+
onEntryUpdateCandidateValidatorWorkerAddress(func, filter, handlerOptions) {
|
1154
1154
|
this.onEntryFunctionCall(func, {
|
1155
1155
|
...filter,
|
1156
1156
|
function: "sui_system::update_candidate_validator_worker_address",
|
1157
|
-
},
|
1157
|
+
}, handlerOptions);
|
1158
1158
|
return this;
|
1159
1159
|
}
|
1160
|
-
onEntryUpdateCandidateValidatorWorkerPubkey(func, filter,
|
1160
|
+
onEntryUpdateCandidateValidatorWorkerPubkey(func, filter, handlerOptions) {
|
1161
1161
|
this.onEntryFunctionCall(func, {
|
1162
1162
|
...filter,
|
1163
1163
|
function: "sui_system::update_candidate_validator_worker_pubkey",
|
1164
|
-
},
|
1164
|
+
}, handlerOptions);
|
1165
1165
|
return this;
|
1166
1166
|
}
|
1167
|
-
onEntryUpdateValidatorDescription(func, filter,
|
1167
|
+
onEntryUpdateValidatorDescription(func, filter, handlerOptions) {
|
1168
1168
|
this.onEntryFunctionCall(func, {
|
1169
1169
|
...filter,
|
1170
1170
|
function: "sui_system::update_validator_description",
|
1171
|
-
},
|
1171
|
+
}, handlerOptions);
|
1172
1172
|
return this;
|
1173
1173
|
}
|
1174
|
-
onEntryUpdateValidatorImageUrl(func, filter,
|
1174
|
+
onEntryUpdateValidatorImageUrl(func, filter, handlerOptions) {
|
1175
1175
|
this.onEntryFunctionCall(func, {
|
1176
1176
|
...filter,
|
1177
1177
|
function: "sui_system::update_validator_image_url",
|
1178
|
-
},
|
1178
|
+
}, handlerOptions);
|
1179
1179
|
return this;
|
1180
1180
|
}
|
1181
|
-
onEntryUpdateValidatorName(func, filter,
|
1181
|
+
onEntryUpdateValidatorName(func, filter, handlerOptions) {
|
1182
1182
|
this.onEntryFunctionCall(func, {
|
1183
1183
|
...filter,
|
1184
1184
|
function: "sui_system::update_validator_name",
|
1185
|
-
},
|
1185
|
+
}, handlerOptions);
|
1186
1186
|
return this;
|
1187
1187
|
}
|
1188
|
-
onEntryUpdateValidatorNextEpochNetworkAddress(func, filter,
|
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
|
-
},
|
1192
|
+
}, handlerOptions);
|
1193
1193
|
return this;
|
1194
1194
|
}
|
1195
|
-
onEntryUpdateValidatorNextEpochNetworkPubkey(func, filter,
|
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
|
-
},
|
1199
|
+
}, handlerOptions);
|
1200
1200
|
return this;
|
1201
1201
|
}
|
1202
|
-
onEntryUpdateValidatorNextEpochP2pAddress(func, filter,
|
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
|
-
},
|
1206
|
+
}, handlerOptions);
|
1207
1207
|
return this;
|
1208
1208
|
}
|
1209
|
-
onEntryUpdateValidatorNextEpochPrimaryAddress(func, filter,
|
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
|
-
},
|
1213
|
+
}, handlerOptions);
|
1214
1214
|
return this;
|
1215
1215
|
}
|
1216
|
-
onEntryUpdateValidatorNextEpochProtocolPubkey(func, filter,
|
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
|
-
},
|
1220
|
+
}, handlerOptions);
|
1221
1221
|
return this;
|
1222
1222
|
}
|
1223
|
-
onEntryUpdateValidatorNextEpochWorkerAddress(func, filter,
|
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
|
-
},
|
1227
|
+
}, handlerOptions);
|
1228
1228
|
return this;
|
1229
1229
|
}
|
1230
|
-
onEntryUpdateValidatorNextEpochWorkerPubkey(func, filter,
|
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
|
-
},
|
1234
|
+
}, handlerOptions);
|
1235
1235
|
return this;
|
1236
1236
|
}
|
1237
|
-
onEntryUpdateValidatorProjectUrl(func, filter,
|
1237
|
+
onEntryUpdateValidatorProjectUrl(func, filter, handlerOptions) {
|
1238
1238
|
this.onEntryFunctionCall(func, {
|
1239
1239
|
...filter,
|
1240
1240
|
function: "sui_system::update_validator_project_url",
|
1241
|
-
},
|
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,
|
2139
|
+
onEventSystemEpochInfoEvent(func, handlerOptions, eventFilter) {
|
2140
2140
|
this.onMoveEvent(func, {
|
2141
2141
|
...(eventFilter ?? {}),
|
2142
2142
|
type: "sui_system_state_inner::SystemEpochInfoEvent",
|
2143
|
-
},
|
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,
|
3368
|
+
onEventConvertingToFungibleStakedSuiEvent(func, handlerOptions, eventFilter) {
|
3369
3369
|
this.onMoveEvent(func, {
|
3370
3370
|
...(eventFilter ?? {}),
|
3371
3371
|
type: "validator::ConvertingToFungibleStakedSuiEvent",
|
3372
|
-
},
|
3372
|
+
}, handlerOptions);
|
3373
3373
|
return this;
|
3374
3374
|
}
|
3375
|
-
onEventRedeemingFungibleStakedSuiEvent(func,
|
3375
|
+
onEventRedeemingFungibleStakedSuiEvent(func, handlerOptions, eventFilter) {
|
3376
3376
|
this.onMoveEvent(func, {
|
3377
3377
|
...(eventFilter ?? {}),
|
3378
3378
|
type: "validator::RedeemingFungibleStakedSuiEvent",
|
3379
|
-
},
|
3379
|
+
}, handlerOptions);
|
3380
3380
|
return this;
|
3381
3381
|
}
|
3382
|
-
onEventStakingRequestEvent(func,
|
3383
|
-
this.onMoveEvent(func, { ...(eventFilter ?? {}), type: "validator::StakingRequestEvent" },
|
3382
|
+
onEventStakingRequestEvent(func, handlerOptions, eventFilter) {
|
3383
|
+
this.onMoveEvent(func, { ...(eventFilter ?? {}), type: "validator::StakingRequestEvent" }, handlerOptions);
|
3384
3384
|
return this;
|
3385
3385
|
}
|
3386
|
-
onEventUnstakingRequestEvent(func,
|
3387
|
-
this.onMoveEvent(func, { ...(eventFilter ?? {}), type: "validator::UnstakingRequestEvent" },
|
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,
|
5157
|
+
onEventValidatorEpochInfoEvent(func, handlerOptions, eventFilter) {
|
5158
5158
|
this.onMoveEvent(func, {
|
5159
5159
|
...(eventFilter ?? {}),
|
5160
5160
|
type: "validator_set::ValidatorEpochInfoEvent",
|
5161
|
-
},
|
5161
|
+
}, handlerOptions);
|
5162
5162
|
return this;
|
5163
5163
|
}
|
5164
|
-
onEventValidatorEpochInfoEventV2(func,
|
5164
|
+
onEventValidatorEpochInfoEventV2(func, handlerOptions, eventFilter) {
|
5165
5165
|
this.onMoveEvent(func, {
|
5166
5166
|
...(eventFilter ?? {}),
|
5167
5167
|
type: "validator_set::ValidatorEpochInfoEventV2",
|
5168
|
-
},
|
5168
|
+
}, handlerOptions);
|
5169
5169
|
return this;
|
5170
5170
|
}
|
5171
|
-
onEventValidatorJoinEvent(func,
|
5172
|
-
this.onMoveEvent(func, { ...(eventFilter ?? {}), type: "validator_set::ValidatorJoinEvent" },
|
5171
|
+
onEventValidatorJoinEvent(func, handlerOptions, eventFilter) {
|
5172
|
+
this.onMoveEvent(func, { ...(eventFilter ?? {}), type: "validator_set::ValidatorJoinEvent" }, handlerOptions);
|
5173
5173
|
return this;
|
5174
5174
|
}
|
5175
|
-
onEventValidatorLeaveEvent(func,
|
5176
|
-
this.onMoveEvent(func, { ...(eventFilter ?? {}), type: "validator_set::ValidatorLeaveEvent" },
|
5175
|
+
onEventValidatorLeaveEvent(func, handlerOptions, eventFilter) {
|
5176
|
+
this.onMoveEvent(func, { ...(eventFilter ?? {}), type: "validator_set::ValidatorLeaveEvent" }, handlerOptions);
|
5177
5177
|
return this;
|
5178
5178
|
}
|
5179
|
-
onEventVotingPowerAdmissionStartEpochKey(func,
|
5179
|
+
onEventVotingPowerAdmissionStartEpochKey(func, handlerOptions, eventFilter) {
|
5180
5180
|
this.onMoveEvent(func, {
|
5181
5181
|
...(eventFilter ?? {}),
|
5182
5182
|
type: "validator_set::VotingPowerAdmissionStartEpochKey",
|
5183
|
-
},
|
5183
|
+
}, handlerOptions);
|
5184
5184
|
return this;
|
5185
5185
|
}
|
5186
5186
|
}
|