@sentio/sdk 2.59.0-rc.3 → 2.59.0-rc.31
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 +51 -8
- package/lib/aptos/aptos-plugin.js.map +1 -1
- package/lib/aptos/aptos-processor.d.ts +21 -19
- package/lib/aptos/aptos-processor.d.ts.map +1 -1
- package/lib/aptos/aptos-processor.js +102 -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 +803 -317
- package/lib/aptos/builtin/0x1.d.ts.map +1 -1
- package/lib/aptos/builtin/0x1.js +1458 -635
- 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 +131 -131
- 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 +57 -57
- package/lib/aptos/builtin/0x4.js.map +1 -1
- package/lib/aptos/codegen/codegen.js +31 -4
- 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/aptos/network.d.ts +1 -0
- package/lib/aptos/network.d.ts.map +1 -1
- package/lib/aptos/network.js +1 -0
- package/lib/aptos/network.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 +8 -3
- 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 +23 -17
- 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 +5 -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 +11 -6
- package/lib/sui/builtin/0x1.d.ts.map +1 -1
- package/lib/sui/builtin/0x1.js +13 -13
- package/lib/sui/builtin/0x1.js.map +1 -1
- package/lib/sui/builtin/0x2.d.ts +123 -59
- package/lib/sui/builtin/0x2.d.ts.map +1 -1
- package/lib/sui/builtin/0x2.js +397 -119
- package/lib/sui/builtin/0x2.js.map +1 -1
- package/lib/sui/builtin/0x3.d.ts +89 -61
- package/lib/sui/builtin/0x3.d.ts.map +1 -1
- package/lib/sui/builtin/0x3.js +222 -104
- 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-object-processor-template.js +1 -1
- package/lib/sui/sui-object-processor-template.js.map +1 -1
- package/lib/sui/sui-object-processor.d.ts +2 -0
- package/lib/sui/sui-object-processor.d.ts.map +1 -1
- package/lib/sui/sui-object-processor.js +4 -0
- package/lib/sui/sui-object-processor.js.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 +68 -24
- package/lib/sui/sui-plugin.js.map +1 -1
- package/lib/sui/sui-processor.d.ts +6 -4
- package/lib/sui/sui-processor.d.ts.map +1 -1
- package/lib/sui/sui-processor.js +48 -11
- package/lib/sui/sui-processor.js.map +1 -1
- package/lib/testing/eth-facet.d.ts +2 -1
- package/lib/testing/eth-facet.d.ts.map +1 -1
- package/lib/testing/eth-facet.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 +9 -8
- package/src/aptos/abis/0x1.json +9650 -5284
- package/src/aptos/abis/0x3.json +13 -13
- package/src/aptos/abis/0x4.json +42 -42
- package/src/aptos/api.ts +13 -1
- package/src/aptos/aptos-plugin.ts +62 -13
- package/src/aptos/aptos-processor.ts +114 -74
- package/src/aptos/aptos-resource-processor-template.ts +9 -8
- package/src/aptos/builtin/0x1.ts +3105 -705
- package/src/aptos/builtin/0x3.ts +304 -131
- package/src/aptos/builtin/0x4.ts +125 -57
- package/src/aptos/codegen/codegen.ts +40 -5
- 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/aptos/network.ts +1 -0
- 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 +8 -3
- 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 +163 -41
- 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 +76 -10
- 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/abis/0x1.json +8 -0
- package/src/sui/abis/0x2.json +437 -0
- package/src/sui/abis/0x3.json +116 -5
- package/src/sui/builtin/0x1.ts +28 -13
- package/src/sui/builtin/0x2.ts +631 -119
- package/src/sui/builtin/0x3.ts +450 -116
- package/src/sui/models.ts +2 -0
- package/src/sui/sui-object-processor-template.ts +1 -1
- package/src/sui/sui-object-processor.ts +6 -0
- package/src/sui/sui-plugin.ts +77 -26
- package/src/sui/sui-processor.ts +50 -11
- package/src/testing/eth-facet.ts +2 -1
- package/src/utils/block.ts +15 -0
package/lib/sui/builtin/0x2.d.ts
CHANGED
@@ -4,6 +4,7 @@ import { TypedDevInspectResults } from "@typemove/sui";
|
|
4
4
|
import { Transaction, TransactionArgument, TransactionObjectArgument } from "@mysten/sui/transactions";
|
5
5
|
import { SuiClient } from "@mysten/sui/client";
|
6
6
|
import { CallFilter, MoveFetchConfig, EventFilter } from "@sentio/sdk/move";
|
7
|
+
import { HandlerOptions } from "@sentio/sdk";
|
7
8
|
import { SuiBindOptions, SuiBaseProcessor, TypedFunctionPayload, SuiContext } from "@sentio/sdk/sui";
|
8
9
|
import * as _0x1 from "./0x1.js";
|
9
10
|
export declare namespace address {
|
@@ -34,9 +35,9 @@ export declare class authenticator_state extends SuiBaseProcessor {
|
|
34
35
|
constructor(options: SuiBindOptions);
|
35
36
|
static DEFAULT_OPTIONS: SuiBindOptions;
|
36
37
|
static bind(options?: Partial<SuiBindOptions>): authenticator_state;
|
37
|
-
onEventActiveJwk(func: (event: authenticator_state.ActiveJwkInstance, ctx: SuiContext) => void,
|
38
|
-
onEventJWK(func: (event: authenticator_state.JWKInstance, ctx: SuiContext) => void,
|
39
|
-
onEventJwkId(func: (event: authenticator_state.JwkIdInstance, ctx: SuiContext) => void,
|
38
|
+
onEventActiveJwk(func: (event: authenticator_state.ActiveJwkInstance, ctx: SuiContext) => void, handlerOptions?: HandlerOptions<MoveFetchConfig, authenticator_state.ActiveJwkInstance>, eventFilter?: Omit<EventFilter, "type" | "account">): authenticator_state;
|
39
|
+
onEventJWK(func: (event: authenticator_state.JWKInstance, ctx: SuiContext) => void, handlerOptions?: HandlerOptions<MoveFetchConfig, authenticator_state.JWKInstance>, eventFilter?: Omit<EventFilter, "type" | "account">): authenticator_state;
|
40
|
+
onEventJwkId(func: (event: authenticator_state.JwkIdInstance, ctx: SuiContext) => void, handlerOptions?: HandlerOptions<MoveFetchConfig, authenticator_state.JwkIdInstance>, eventFilter?: Omit<EventFilter, "type" | "account">): authenticator_state;
|
40
41
|
}
|
41
42
|
export declare namespace authenticator_state {
|
42
43
|
interface ActiveJwk {
|
@@ -210,7 +211,7 @@ export declare class bcs extends SuiBaseProcessor {
|
|
210
211
|
constructor(options: SuiBindOptions);
|
211
212
|
static DEFAULT_OPTIONS: SuiBindOptions;
|
212
213
|
static bind(options?: Partial<SuiBindOptions>): bcs;
|
213
|
-
onEventBCS(func: (event: bcs.BCSInstance, ctx: SuiContext) => void,
|
214
|
+
onEventBCS(func: (event: bcs.BCSInstance, ctx: SuiContext) => void, handlerOptions?: HandlerOptions<MoveFetchConfig, bcs.BCSInstance>, eventFilter?: Omit<EventFilter, "type" | "account">): bcs;
|
214
215
|
}
|
215
216
|
export declare namespace bcs {
|
216
217
|
interface BCS {
|
@@ -229,6 +230,7 @@ export declare namespace bcs {
|
|
229
230
|
function new$(tx: Transaction, args: [(string | TransactionObjectArgument)[] | TransactionArgument]): TransactionArgument & [TransactionArgument];
|
230
231
|
function peelAddress(tx: Transaction, args: [string | TransactionObjectArgument | TransactionArgument]): TransactionArgument & [TransactionArgument];
|
231
232
|
function peelBool(tx: Transaction, args: [string | TransactionObjectArgument | TransactionArgument]): TransactionArgument & [TransactionArgument];
|
233
|
+
function peelEnumTag(tx: Transaction, args: [string | TransactionObjectArgument | TransactionArgument]): TransactionArgument & [TransactionArgument];
|
232
234
|
function peelOptionAddress(tx: Transaction, args: [string | TransactionObjectArgument | TransactionArgument]): TransactionArgument & [TransactionArgument];
|
233
235
|
function peelOptionBool(tx: Transaction, args: [string | TransactionObjectArgument | TransactionArgument]): TransactionArgument & [TransactionArgument];
|
234
236
|
function peelOptionU128(tx: Transaction, args: [string | TransactionObjectArgument | TransactionArgument]): TransactionArgument & [TransactionArgument];
|
@@ -260,6 +262,7 @@ export declare namespace bcs {
|
|
260
262
|
function new$(client: SuiClient, args: [string[]]): Promise<TypedDevInspectResults<[bcs.BCS]>>;
|
261
263
|
function peelAddress(client: SuiClient, args: [string]): Promise<TypedDevInspectResults<[string]>>;
|
262
264
|
function peelBool(client: SuiClient, args: [string]): Promise<TypedDevInspectResults<[boolean]>>;
|
265
|
+
function peelEnumTag(client: SuiClient, args: [string]): Promise<TypedDevInspectResults<[number]>>;
|
263
266
|
function peelOptionAddress(client: SuiClient, args: [string]): Promise<TypedDevInspectResults<[_0x1.option.Option<string>]>>;
|
264
267
|
function peelOptionBool(client: SuiClient, args: [string]): Promise<TypedDevInspectResults<[_0x1.option.Option<boolean>]>>;
|
265
268
|
function peelOptionU128(client: SuiClient, args: [string]): Promise<TypedDevInspectResults<[_0x1.option.Option<bigint>]>>;
|
@@ -545,14 +548,14 @@ export declare class coin extends SuiBaseProcessor {
|
|
545
548
|
constructor(options: SuiBindOptions);
|
546
549
|
static DEFAULT_OPTIONS: SuiBindOptions;
|
547
550
|
static bind(options?: Partial<SuiBindOptions>): coin;
|
548
|
-
onEntryBurn(func: (call: coin.BurnPayload, ctx: SuiContext) => void, filter?: CallFilter,
|
549
|
-
onEntryJoin(func: (call: coin.JoinPayload, ctx: SuiContext) => void, filter?: CallFilter,
|
550
|
-
onEntryMintAndTransfer(func: (call: coin.MintAndTransferPayload, ctx: SuiContext) => void, filter?: CallFilter,
|
551
|
-
onEntryUpdateDescription(func: (call: coin.UpdateDescriptionPayload, ctx: SuiContext) => void, filter?: CallFilter,
|
552
|
-
onEntryUpdateIconUrl(func: (call: coin.UpdateIconUrlPayload, ctx: SuiContext) => void, filter?: CallFilter,
|
553
|
-
onEntryUpdateName(func: (call: coin.UpdateNamePayload, ctx: SuiContext) => void, filter?: CallFilter,
|
554
|
-
onEntryUpdateSymbol(func: (call: coin.UpdateSymbolPayload, ctx: SuiContext) => void, filter?: CallFilter,
|
555
|
-
onEventCurrencyCreated(func: (event: coin.CurrencyCreatedInstance, ctx: SuiContext) => void,
|
551
|
+
onEntryBurn(func: (call: coin.BurnPayload, ctx: SuiContext) => void, filter?: CallFilter, handlerOptions?: HandlerOptions<MoveFetchConfig, coin.BurnPayload>): coin;
|
552
|
+
onEntryJoin(func: (call: coin.JoinPayload, ctx: SuiContext) => void, filter?: CallFilter, handlerOptions?: HandlerOptions<MoveFetchConfig, coin.JoinPayload>): coin;
|
553
|
+
onEntryMintAndTransfer(func: (call: coin.MintAndTransferPayload, ctx: SuiContext) => void, filter?: CallFilter, handlerOptions?: HandlerOptions<MoveFetchConfig, coin.MintAndTransferPayload>): coin;
|
554
|
+
onEntryUpdateDescription(func: (call: coin.UpdateDescriptionPayload, ctx: SuiContext) => void, filter?: CallFilter, handlerOptions?: HandlerOptions<MoveFetchConfig, coin.UpdateDescriptionPayload>): coin;
|
555
|
+
onEntryUpdateIconUrl(func: (call: coin.UpdateIconUrlPayload, ctx: SuiContext) => void, filter?: CallFilter, handlerOptions?: HandlerOptions<MoveFetchConfig, coin.UpdateIconUrlPayload>): coin;
|
556
|
+
onEntryUpdateName(func: (call: coin.UpdateNamePayload, ctx: SuiContext) => void, filter?: CallFilter, handlerOptions?: HandlerOptions<MoveFetchConfig, coin.UpdateNamePayload>): coin;
|
557
|
+
onEntryUpdateSymbol(func: (call: coin.UpdateSymbolPayload, ctx: SuiContext) => void, filter?: CallFilter, handlerOptions?: HandlerOptions<MoveFetchConfig, coin.UpdateSymbolPayload>): coin;
|
558
|
+
onEventCurrencyCreated(func: (event: coin.CurrencyCreatedInstance, ctx: SuiContext) => void, handlerOptions?: HandlerOptions<MoveFetchConfig, coin.CurrencyCreatedInstance>, eventFilter?: Omit<EventFilter, "type" | "account">): coin;
|
556
559
|
}
|
557
560
|
export declare namespace coin {
|
558
561
|
type Coin<T> = string;
|
@@ -1070,10 +1073,10 @@ export declare class deny_list extends SuiBaseProcessor {
|
|
1070
1073
|
constructor(options: SuiBindOptions);
|
1071
1074
|
static DEFAULT_OPTIONS: SuiBindOptions;
|
1072
1075
|
static bind(options?: Partial<SuiBindOptions>): deny_list;
|
1073
|
-
onEventAddressKey(func: (event: deny_list.AddressKeyInstance, ctx: SuiContext) => void,
|
1074
|
-
onEventConfigKey(func: (event: deny_list.ConfigKeyInstance, ctx: SuiContext) => void,
|
1075
|
-
onEventGlobalPauseKey(func: (event: deny_list.GlobalPauseKeyInstance, ctx: SuiContext) => void,
|
1076
|
-
onEventPerTypeConfigCreated(func: (event: deny_list.PerTypeConfigCreatedInstance, ctx: SuiContext) => void,
|
1076
|
+
onEventAddressKey(func: (event: deny_list.AddressKeyInstance, ctx: SuiContext) => void, handlerOptions?: HandlerOptions<MoveFetchConfig, deny_list.AddressKeyInstance>, eventFilter?: Omit<EventFilter, "type" | "account">): deny_list;
|
1077
|
+
onEventConfigKey(func: (event: deny_list.ConfigKeyInstance, ctx: SuiContext) => void, handlerOptions?: HandlerOptions<MoveFetchConfig, deny_list.ConfigKeyInstance>, eventFilter?: Omit<EventFilter, "type" | "account">): deny_list;
|
1078
|
+
onEventGlobalPauseKey(func: (event: deny_list.GlobalPauseKeyInstance, ctx: SuiContext) => void, handlerOptions?: HandlerOptions<MoveFetchConfig, deny_list.GlobalPauseKeyInstance>, eventFilter?: Omit<EventFilter, "type" | "account">): deny_list;
|
1079
|
+
onEventPerTypeConfigCreated(func: (event: deny_list.PerTypeConfigCreatedInstance, ctx: SuiContext) => void, handlerOptions?: HandlerOptions<MoveFetchConfig, deny_list.PerTypeConfigCreatedInstance>, eventFilter?: Omit<EventFilter, "type" | "account">): deny_list;
|
1077
1080
|
}
|
1078
1081
|
export declare namespace deny_list {
|
1079
1082
|
interface AddressKey {
|
@@ -1289,14 +1292,14 @@ export declare class display extends SuiBaseProcessor {
|
|
1289
1292
|
constructor(options: SuiBindOptions);
|
1290
1293
|
static DEFAULT_OPTIONS: SuiBindOptions;
|
1291
1294
|
static bind(options?: Partial<SuiBindOptions>): display;
|
1292
|
-
onEntryAdd(func: (call: display.AddPayload, ctx: SuiContext) => void, filter?: CallFilter,
|
1293
|
-
onEntryAddMultiple(func: (call: display.AddMultiplePayload, ctx: SuiContext) => void, filter?: CallFilter,
|
1294
|
-
onEntryCreateAndKeep(func: (call: display.CreateAndKeepPayload, ctx: SuiContext) => void, filter?: CallFilter,
|
1295
|
-
onEntryEdit(func: (call: display.EditPayload, ctx: SuiContext) => void, filter?: CallFilter,
|
1296
|
-
onEntryRemove(func: (call: display.RemovePayload, ctx: SuiContext) => void, filter?: CallFilter,
|
1297
|
-
onEntryUpdateVersion(func: (call: display.UpdateVersionPayload, ctx: SuiContext) => void, filter?: CallFilter,
|
1298
|
-
onEventDisplayCreated(func: (event: display.DisplayCreatedInstance, ctx: SuiContext) => void,
|
1299
|
-
onEventVersionUpdated(func: (event: display.VersionUpdatedInstance, ctx: SuiContext) => void,
|
1295
|
+
onEntryAdd(func: (call: display.AddPayload, ctx: SuiContext) => void, filter?: CallFilter, handlerOptions?: HandlerOptions<MoveFetchConfig, display.AddPayload>): display;
|
1296
|
+
onEntryAddMultiple(func: (call: display.AddMultiplePayload, ctx: SuiContext) => void, filter?: CallFilter, handlerOptions?: HandlerOptions<MoveFetchConfig, display.AddMultiplePayload>): display;
|
1297
|
+
onEntryCreateAndKeep(func: (call: display.CreateAndKeepPayload, ctx: SuiContext) => void, filter?: CallFilter, handlerOptions?: HandlerOptions<MoveFetchConfig, display.CreateAndKeepPayload>): display;
|
1298
|
+
onEntryEdit(func: (call: display.EditPayload, ctx: SuiContext) => void, filter?: CallFilter, handlerOptions?: HandlerOptions<MoveFetchConfig, display.EditPayload>): display;
|
1299
|
+
onEntryRemove(func: (call: display.RemovePayload, ctx: SuiContext) => void, filter?: CallFilter, handlerOptions?: HandlerOptions<MoveFetchConfig, display.RemovePayload>): display;
|
1300
|
+
onEntryUpdateVersion(func: (call: display.UpdateVersionPayload, ctx: SuiContext) => void, filter?: CallFilter, handlerOptions?: HandlerOptions<MoveFetchConfig, display.UpdateVersionPayload>): display;
|
1301
|
+
onEventDisplayCreated(func: (event: display.DisplayCreatedInstance, ctx: SuiContext) => void, handlerOptions?: HandlerOptions<MoveFetchConfig, display.DisplayCreatedInstance>, eventFilter?: Omit<EventFilter, "type" | "account">): display;
|
1302
|
+
onEventVersionUpdated(func: (event: display.VersionUpdatedInstance, ctx: SuiContext) => void, handlerOptions?: HandlerOptions<MoveFetchConfig, display.VersionUpdatedInstance>, eventFilter?: Omit<EventFilter, "type" | "account">): display;
|
1300
1303
|
}
|
1301
1304
|
export declare namespace display {
|
1302
1305
|
interface Display<T0> {
|
@@ -1507,7 +1510,7 @@ export declare class dynamic_object_field extends SuiBaseProcessor {
|
|
1507
1510
|
constructor(options: SuiBindOptions);
|
1508
1511
|
static DEFAULT_OPTIONS: SuiBindOptions;
|
1509
1512
|
static bind(options?: Partial<SuiBindOptions>): dynamic_object_field;
|
1510
|
-
onEventWrapper(func: (event: dynamic_object_field.WrapperInstance, ctx: SuiContext) => void,
|
1513
|
+
onEventWrapper(func: (event: dynamic_object_field.WrapperInstance, ctx: SuiContext) => void, handlerOptions?: HandlerOptions<MoveFetchConfig, dynamic_object_field.WrapperInstance>, eventFilter?: Omit<EventFilter, "type" | "account">): dynamic_object_field;
|
1511
1514
|
}
|
1512
1515
|
export declare namespace dynamic_object_field {
|
1513
1516
|
interface Wrapper<T0> {
|
@@ -1700,10 +1703,10 @@ export declare class groth16 extends SuiBaseProcessor {
|
|
1700
1703
|
constructor(options: SuiBindOptions);
|
1701
1704
|
static DEFAULT_OPTIONS: SuiBindOptions;
|
1702
1705
|
static bind(options?: Partial<SuiBindOptions>): groth16;
|
1703
|
-
onEventCurve(func: (event: groth16.CurveInstance, ctx: SuiContext) => void,
|
1704
|
-
onEventPreparedVerifyingKey(func: (event: groth16.PreparedVerifyingKeyInstance, ctx: SuiContext) => void,
|
1705
|
-
onEventProofPoints(func: (event: groth16.ProofPointsInstance, ctx: SuiContext) => void,
|
1706
|
-
onEventPublicProofInputs(func: (event: groth16.PublicProofInputsInstance, ctx: SuiContext) => void,
|
1706
|
+
onEventCurve(func: (event: groth16.CurveInstance, ctx: SuiContext) => void, handlerOptions?: HandlerOptions<MoveFetchConfig, groth16.CurveInstance>, eventFilter?: Omit<EventFilter, "type" | "account">): groth16;
|
1707
|
+
onEventPreparedVerifyingKey(func: (event: groth16.PreparedVerifyingKeyInstance, ctx: SuiContext) => void, handlerOptions?: HandlerOptions<MoveFetchConfig, groth16.PreparedVerifyingKeyInstance>, eventFilter?: Omit<EventFilter, "type" | "account">): groth16;
|
1708
|
+
onEventProofPoints(func: (event: groth16.ProofPointsInstance, ctx: SuiContext) => void, handlerOptions?: HandlerOptions<MoveFetchConfig, groth16.ProofPointsInstance>, eventFilter?: Omit<EventFilter, "type" | "account">): groth16;
|
1709
|
+
onEventPublicProofInputs(func: (event: groth16.PublicProofInputsInstance, ctx: SuiContext) => void, handlerOptions?: HandlerOptions<MoveFetchConfig, groth16.PublicProofInputsInstance>, eventFilter?: Omit<EventFilter, "type" | "account">): groth16;
|
1707
1710
|
}
|
1708
1711
|
export declare namespace groth16 {
|
1709
1712
|
interface Curve {
|
@@ -1801,7 +1804,7 @@ export declare class group_ops extends SuiBaseProcessor {
|
|
1801
1804
|
constructor(options: SuiBindOptions);
|
1802
1805
|
static DEFAULT_OPTIONS: SuiBindOptions;
|
1803
1806
|
static bind(options?: Partial<SuiBindOptions>): group_ops;
|
1804
|
-
onEventElement(func: (event: group_ops.ElementInstance, ctx: SuiContext) => void,
|
1807
|
+
onEventElement(func: (event: group_ops.ElementInstance, ctx: SuiContext) => void, handlerOptions?: HandlerOptions<MoveFetchConfig, group_ops.ElementInstance>, eventFilter?: Omit<EventFilter, "type" | "account">): group_ops;
|
1805
1808
|
}
|
1806
1809
|
export declare namespace group_ops {
|
1807
1810
|
interface Element<T0> {
|
@@ -1970,13 +1973,13 @@ export declare class kiosk extends SuiBaseProcessor {
|
|
1970
1973
|
constructor(options: SuiBindOptions);
|
1971
1974
|
static DEFAULT_OPTIONS: SuiBindOptions;
|
1972
1975
|
static bind(options?: Partial<SuiBindOptions>): kiosk;
|
1973
|
-
onEntryDefault(func: (call: kiosk.DefaultPayload, ctx: SuiContext) => void, filter?: CallFilter,
|
1974
|
-
onEventItem(func: (event: kiosk.ItemInstance, ctx: SuiContext) => void,
|
1975
|
-
onEventItemDelisted(func: (event: kiosk.ItemDelistedInstance, ctx: SuiContext) => void,
|
1976
|
-
onEventItemListed(func: (event: kiosk.ItemListedInstance, ctx: SuiContext) => void,
|
1977
|
-
onEventItemPurchased(func: (event: kiosk.ItemPurchasedInstance, ctx: SuiContext) => void,
|
1978
|
-
onEventListing(func: (event: kiosk.ListingInstance, ctx: SuiContext) => void,
|
1979
|
-
onEventLock(func: (event: kiosk.LockInstance, ctx: SuiContext) => void,
|
1976
|
+
onEntryDefault(func: (call: kiosk.DefaultPayload, ctx: SuiContext) => void, filter?: CallFilter, handlerOptions?: HandlerOptions<MoveFetchConfig, kiosk.DefaultPayload>): kiosk;
|
1977
|
+
onEventItem(func: (event: kiosk.ItemInstance, ctx: SuiContext) => void, handlerOptions?: HandlerOptions<MoveFetchConfig, kiosk.ItemInstance>, eventFilter?: Omit<EventFilter, "type" | "account">): kiosk;
|
1978
|
+
onEventItemDelisted(func: (event: kiosk.ItemDelistedInstance, ctx: SuiContext) => void, handlerOptions?: HandlerOptions<MoveFetchConfig, kiosk.ItemDelistedInstance>, eventFilter?: Omit<EventFilter, "type" | "account">): kiosk;
|
1979
|
+
onEventItemListed(func: (event: kiosk.ItemListedInstance, ctx: SuiContext) => void, handlerOptions?: HandlerOptions<MoveFetchConfig, kiosk.ItemListedInstance>, eventFilter?: Omit<EventFilter, "type" | "account">): kiosk;
|
1980
|
+
onEventItemPurchased(func: (event: kiosk.ItemPurchasedInstance, ctx: SuiContext) => void, handlerOptions?: HandlerOptions<MoveFetchConfig, kiosk.ItemPurchasedInstance>, eventFilter?: Omit<EventFilter, "type" | "account">): kiosk;
|
1981
|
+
onEventListing(func: (event: kiosk.ListingInstance, ctx: SuiContext) => void, handlerOptions?: HandlerOptions<MoveFetchConfig, kiosk.ListingInstance>, eventFilter?: Omit<EventFilter, "type" | "account">): kiosk;
|
1982
|
+
onEventLock(func: (event: kiosk.LockInstance, ctx: SuiContext) => void, handlerOptions?: HandlerOptions<MoveFetchConfig, kiosk.LockInstance>, eventFilter?: Omit<EventFilter, "type" | "account">): kiosk;
|
1980
1983
|
}
|
1981
1984
|
export declare namespace kiosk {
|
1982
1985
|
interface Borrow {
|
@@ -2357,7 +2360,7 @@ export declare class kiosk_extension extends SuiBaseProcessor {
|
|
2357
2360
|
constructor(options: SuiBindOptions);
|
2358
2361
|
static DEFAULT_OPTIONS: SuiBindOptions;
|
2359
2362
|
static bind(options?: Partial<SuiBindOptions>): kiosk_extension;
|
2360
|
-
onEventExtensionKey(func: (event: kiosk_extension.ExtensionKeyInstance, ctx: SuiContext) => void,
|
2363
|
+
onEventExtensionKey(func: (event: kiosk_extension.ExtensionKeyInstance, ctx: SuiContext) => void, handlerOptions?: HandlerOptions<MoveFetchConfig, kiosk_extension.ExtensionKeyInstance>, eventFilter?: Omit<EventFilter, "type" | "account">): kiosk_extension;
|
2361
2364
|
}
|
2362
2365
|
export declare namespace kiosk_extension {
|
2363
2366
|
interface Extension {
|
@@ -2567,6 +2570,65 @@ export declare namespace math {
|
|
2567
2570
|
function sqrtU128(client: SuiClient, args: [bigint]): Promise<TypedDevInspectResults<[bigint]>>;
|
2568
2571
|
}
|
2569
2572
|
}
|
2573
|
+
export declare class nitro_attestation extends SuiBaseProcessor {
|
2574
|
+
constructor(options: SuiBindOptions);
|
2575
|
+
static DEFAULT_OPTIONS: SuiBindOptions;
|
2576
|
+
static bind(options?: Partial<SuiBindOptions>): nitro_attestation;
|
2577
|
+
onEntryLoadNitroAttestation(func: (call: nitro_attestation.LoadNitroAttestationPayload, ctx: SuiContext) => void, filter?: CallFilter, handlerOptions?: HandlerOptions<MoveFetchConfig, nitro_attestation.LoadNitroAttestationPayload>): nitro_attestation;
|
2578
|
+
}
|
2579
|
+
export declare namespace nitro_attestation {
|
2580
|
+
interface NitroAttestationDocument {
|
2581
|
+
module_id: number[];
|
2582
|
+
timestamp: bigint;
|
2583
|
+
digest: number[];
|
2584
|
+
pcrs: nitro_attestation.PCREntry[];
|
2585
|
+
public_key: _0x1.option.Option<number[]>;
|
2586
|
+
user_data: _0x1.option.Option<number[]>;
|
2587
|
+
nonce: _0x1.option.Option<number[]>;
|
2588
|
+
}
|
2589
|
+
namespace NitroAttestationDocument {
|
2590
|
+
const TYPE_QNAME = "0x2::nitro_attestation::NitroAttestationDocument";
|
2591
|
+
function type(): TypeDescriptor<NitroAttestationDocument>;
|
2592
|
+
}
|
2593
|
+
interface PCREntry {
|
2594
|
+
index: number;
|
2595
|
+
value: number[];
|
2596
|
+
}
|
2597
|
+
namespace PCREntry {
|
2598
|
+
const TYPE_QNAME = "0x2::nitro_attestation::PCREntry";
|
2599
|
+
function type(): TypeDescriptor<PCREntry>;
|
2600
|
+
}
|
2601
|
+
namespace builder {
|
2602
|
+
function digest(tx: Transaction, args: [string | TransactionObjectArgument | TransactionArgument]): TransactionArgument & [TransactionArgument];
|
2603
|
+
function index(tx: Transaction, args: [string | TransactionObjectArgument | TransactionArgument]): TransactionArgument & [TransactionArgument];
|
2604
|
+
function loadNitroAttestation(tx: Transaction, args: [
|
2605
|
+
(string | TransactionObjectArgument)[] | TransactionArgument,
|
2606
|
+
string | TransactionObjectArgument | TransactionArgument
|
2607
|
+
]): TransactionArgument & [TransactionArgument, TransactionArgument];
|
2608
|
+
function moduleId(tx: Transaction, args: [string | TransactionObjectArgument | TransactionArgument]): TransactionArgument & [TransactionArgument];
|
2609
|
+
function nonce(tx: Transaction, args: [string | TransactionObjectArgument | TransactionArgument]): TransactionArgument & [TransactionArgument];
|
2610
|
+
function pcrs(tx: Transaction, args: [string | TransactionObjectArgument | TransactionArgument]): TransactionArgument & [TransactionArgument];
|
2611
|
+
function publicKey(tx: Transaction, args: [string | TransactionObjectArgument | TransactionArgument]): TransactionArgument & [TransactionArgument];
|
2612
|
+
function timestamp(tx: Transaction, args: [string | TransactionObjectArgument | TransactionArgument]): TransactionArgument & [TransactionArgument];
|
2613
|
+
function userData(tx: Transaction, args: [string | TransactionObjectArgument | TransactionArgument]): TransactionArgument & [TransactionArgument];
|
2614
|
+
function value(tx: Transaction, args: [string | TransactionObjectArgument | TransactionArgument]): TransactionArgument & [TransactionArgument];
|
2615
|
+
}
|
2616
|
+
namespace view {
|
2617
|
+
function digest(client: SuiClient, args: [string]): Promise<TypedDevInspectResults<[string]>>;
|
2618
|
+
function index(client: SuiClient, args: [string]): Promise<TypedDevInspectResults<[number]>>;
|
2619
|
+
function moduleId(client: SuiClient, args: [string]): Promise<TypedDevInspectResults<[string]>>;
|
2620
|
+
function nonce(client: SuiClient, args: [string]): Promise<TypedDevInspectResults<[string]>>;
|
2621
|
+
function pcrs(client: SuiClient, args: [string]): Promise<TypedDevInspectResults<[string]>>;
|
2622
|
+
function publicKey(client: SuiClient, args: [string]): Promise<TypedDevInspectResults<[string]>>;
|
2623
|
+
function timestamp(client: SuiClient, args: [string]): Promise<TypedDevInspectResults<[string]>>;
|
2624
|
+
function userData(client: SuiClient, args: [string]): Promise<TypedDevInspectResults<[string]>>;
|
2625
|
+
function value(client: SuiClient, args: [string]): Promise<TypedDevInspectResults<[string]>>;
|
2626
|
+
}
|
2627
|
+
interface LoadNitroAttestationPayload extends TypedFunctionPayload<[number[], string]> {
|
2628
|
+
arguments_decoded: [number[], string];
|
2629
|
+
type_arguments: [];
|
2630
|
+
}
|
2631
|
+
}
|
2570
2632
|
export declare namespace object$ {
|
2571
2633
|
type ID = string;
|
2572
2634
|
namespace ID {
|
@@ -2746,9 +2808,9 @@ export declare class package$ extends SuiBaseProcessor {
|
|
2746
2808
|
constructor(options: SuiBindOptions);
|
2747
2809
|
static DEFAULT_OPTIONS: SuiBindOptions;
|
2748
2810
|
static bind(options?: Partial<SuiBindOptions>): package$;
|
2749
|
-
onEntryMakeImmutable(func: (call: package$.MakeImmutablePayload, ctx: SuiContext) => void, filter?: CallFilter,
|
2750
|
-
onEntryOnlyAdditiveUpgrades(func: (call: package$.OnlyAdditiveUpgradesPayload, ctx: SuiContext) => void, filter?: CallFilter,
|
2751
|
-
onEntryOnlyDepUpgrades(func: (call: package$.OnlyDepUpgradesPayload, ctx: SuiContext) => void, filter?: CallFilter,
|
2811
|
+
onEntryMakeImmutable(func: (call: package$.MakeImmutablePayload, ctx: SuiContext) => void, filter?: CallFilter, handlerOptions?: HandlerOptions<MoveFetchConfig, package$.MakeImmutablePayload>): package$;
|
2812
|
+
onEntryOnlyAdditiveUpgrades(func: (call: package$.OnlyAdditiveUpgradesPayload, ctx: SuiContext) => void, filter?: CallFilter, handlerOptions?: HandlerOptions<MoveFetchConfig, package$.OnlyAdditiveUpgradesPayload>): package$;
|
2813
|
+
onEntryOnlyDepUpgrades(func: (call: package$.OnlyDepUpgradesPayload, ctx: SuiContext) => void, filter?: CallFilter, handlerOptions?: HandlerOptions<MoveFetchConfig, package$.OnlyDepUpgradesPayload>): package$;
|
2752
2814
|
}
|
2753
2815
|
export declare namespace package$ {
|
2754
2816
|
interface Publisher {
|
@@ -2866,13 +2928,13 @@ export declare class pay extends SuiBaseProcessor {
|
|
2866
2928
|
constructor(options: SuiBindOptions);
|
2867
2929
|
static DEFAULT_OPTIONS: SuiBindOptions;
|
2868
2930
|
static bind(options?: Partial<SuiBindOptions>): pay;
|
2869
|
-
onEntryDivideAndKeep(func: (call: pay.DivideAndKeepPayload, ctx: SuiContext) => void, filter?: CallFilter,
|
2870
|
-
onEntryJoin(func: (call: pay.JoinPayload, ctx: SuiContext) => void, filter?: CallFilter,
|
2871
|
-
onEntryJoinVec(func: (call: pay.JoinVecPayload, ctx: SuiContext) => void, filter?: CallFilter,
|
2872
|
-
onEntryJoinVecAndTransfer(func: (call: pay.JoinVecAndTransferPayload, ctx: SuiContext) => void, filter?: CallFilter,
|
2873
|
-
onEntrySplit(func: (call: pay.SplitPayload, ctx: SuiContext) => void, filter?: CallFilter,
|
2874
|
-
onEntrySplitAndTransfer(func: (call: pay.SplitAndTransferPayload, ctx: SuiContext) => void, filter?: CallFilter,
|
2875
|
-
onEntrySplitVec(func: (call: pay.SplitVecPayload, ctx: SuiContext) => void, filter?: CallFilter,
|
2931
|
+
onEntryDivideAndKeep(func: (call: pay.DivideAndKeepPayload, ctx: SuiContext) => void, filter?: CallFilter, handlerOptions?: HandlerOptions<MoveFetchConfig, pay.DivideAndKeepPayload>): pay;
|
2932
|
+
onEntryJoin(func: (call: pay.JoinPayload, ctx: SuiContext) => void, filter?: CallFilter, handlerOptions?: HandlerOptions<MoveFetchConfig, pay.JoinPayload>): pay;
|
2933
|
+
onEntryJoinVec(func: (call: pay.JoinVecPayload, ctx: SuiContext) => void, filter?: CallFilter, handlerOptions?: HandlerOptions<MoveFetchConfig, pay.JoinVecPayload>): pay;
|
2934
|
+
onEntryJoinVecAndTransfer(func: (call: pay.JoinVecAndTransferPayload, ctx: SuiContext) => void, filter?: CallFilter, handlerOptions?: HandlerOptions<MoveFetchConfig, pay.JoinVecAndTransferPayload>): pay;
|
2935
|
+
onEntrySplit(func: (call: pay.SplitPayload, ctx: SuiContext) => void, filter?: CallFilter, handlerOptions?: HandlerOptions<MoveFetchConfig, pay.SplitPayload>): pay;
|
2936
|
+
onEntrySplitAndTransfer(func: (call: pay.SplitAndTransferPayload, ctx: SuiContext) => void, filter?: CallFilter, handlerOptions?: HandlerOptions<MoveFetchConfig, pay.SplitAndTransferPayload>): pay;
|
2937
|
+
onEntrySplitVec(func: (call: pay.SplitVecPayload, ctx: SuiContext) => void, filter?: CallFilter, handlerOptions?: HandlerOptions<MoveFetchConfig, pay.SplitVecPayload>): pay;
|
2876
2938
|
}
|
2877
2939
|
export declare namespace pay {
|
2878
2940
|
namespace builder {
|
@@ -3119,7 +3181,7 @@ export declare class sui extends SuiBaseProcessor {
|
|
3119
3181
|
constructor(options: SuiBindOptions);
|
3120
3182
|
static DEFAULT_OPTIONS: SuiBindOptions;
|
3121
3183
|
static bind(options?: Partial<SuiBindOptions>): sui;
|
3122
|
-
onEntryTransfer(func: (call: sui.TransferPayload, ctx: SuiContext) => void, filter?: CallFilter,
|
3184
|
+
onEntryTransfer(func: (call: sui.TransferPayload, ctx: SuiContext) => void, filter?: CallFilter, handlerOptions?: HandlerOptions<MoveFetchConfig, sui.TransferPayload>): sui;
|
3123
3185
|
}
|
3124
3186
|
export declare namespace sui {
|
3125
3187
|
interface SUI {
|
@@ -3258,8 +3320,8 @@ export declare class token extends SuiBaseProcessor {
|
|
3258
3320
|
constructor(options: SuiBindOptions);
|
3259
3321
|
static DEFAULT_OPTIONS: SuiBindOptions;
|
3260
3322
|
static bind(options?: Partial<SuiBindOptions>): token;
|
3261
|
-
onEventRuleKey(func: (event: token.RuleKeyInstance, ctx: SuiContext) => void,
|
3262
|
-
onEventTokenPolicyCreated(func: (event: token.TokenPolicyCreatedInstance, ctx: SuiContext) => void,
|
3323
|
+
onEventRuleKey(func: (event: token.RuleKeyInstance, ctx: SuiContext) => void, handlerOptions?: HandlerOptions<MoveFetchConfig, token.RuleKeyInstance>, eventFilter?: Omit<EventFilter, "type" | "account">): token;
|
3324
|
+
onEventTokenPolicyCreated(func: (event: token.TokenPolicyCreatedInstance, ctx: SuiContext) => void, handlerOptions?: HandlerOptions<MoveFetchConfig, token.TokenPolicyCreatedInstance>, eventFilter?: Omit<EventFilter, "type" | "account">): token;
|
3263
3325
|
}
|
3264
3326
|
export declare namespace token {
|
3265
3327
|
interface ActionRequest<T0> {
|
@@ -3633,10 +3695,10 @@ export declare class transfer_policy extends SuiBaseProcessor {
|
|
3633
3695
|
constructor(options: SuiBindOptions);
|
3634
3696
|
static DEFAULT_OPTIONS: SuiBindOptions;
|
3635
3697
|
static bind(options?: Partial<SuiBindOptions>): transfer_policy;
|
3636
|
-
onEntryDefault(func: (call: transfer_policy.DefaultPayload, ctx: SuiContext) => void, filter?: CallFilter,
|
3637
|
-
onEventRuleKey(func: (event: transfer_policy.RuleKeyInstance, ctx: SuiContext) => void,
|
3638
|
-
onEventTransferPolicyCreated(func: (event: transfer_policy.TransferPolicyCreatedInstance, ctx: SuiContext) => void,
|
3639
|
-
onEventTransferPolicyDestroyed(func: (event: transfer_policy.TransferPolicyDestroyedInstance, ctx: SuiContext) => void,
|
3698
|
+
onEntryDefault(func: (call: transfer_policy.DefaultPayload, ctx: SuiContext) => void, filter?: CallFilter, handlerOptions?: HandlerOptions<MoveFetchConfig, transfer_policy.DefaultPayload>): transfer_policy;
|
3699
|
+
onEventRuleKey(func: (event: transfer_policy.RuleKeyInstance, ctx: SuiContext) => void, handlerOptions?: HandlerOptions<MoveFetchConfig, transfer_policy.RuleKeyInstance>, eventFilter?: Omit<EventFilter, "type" | "account">): transfer_policy;
|
3700
|
+
onEventTransferPolicyCreated(func: (event: transfer_policy.TransferPolicyCreatedInstance, ctx: SuiContext) => void, handlerOptions?: HandlerOptions<MoveFetchConfig, transfer_policy.TransferPolicyCreatedInstance>, eventFilter?: Omit<EventFilter, "type" | "account">): transfer_policy;
|
3701
|
+
onEventTransferPolicyDestroyed(func: (event: transfer_policy.TransferPolicyDestroyedInstance, ctx: SuiContext) => void, handlerOptions?: HandlerOptions<MoveFetchConfig, transfer_policy.TransferPolicyDestroyedInstance>, eventFilter?: Omit<EventFilter, "type" | "account">): transfer_policy;
|
3640
3702
|
}
|
3641
3703
|
export declare namespace transfer_policy {
|
3642
3704
|
interface RuleKey<T0> {
|
@@ -3843,6 +3905,7 @@ export declare namespace tx_context {
|
|
3843
3905
|
function epochTimestampMs(tx: Transaction, args: []): TransactionArgument & [];
|
3844
3906
|
function freshObjectAddress(tx: Transaction, args: []): TransactionArgument & [];
|
3845
3907
|
function sender(tx: Transaction, args: []): TransactionArgument & [];
|
3908
|
+
function sponsor(tx: Transaction, args: []): TransactionArgument & [];
|
3846
3909
|
}
|
3847
3910
|
namespace view {
|
3848
3911
|
function digest(client: SuiClient, args: []): Promise<TypedDevInspectResults<[string]>>;
|
@@ -3850,6 +3913,7 @@ export declare namespace tx_context {
|
|
3850
3913
|
function epochTimestampMs(client: SuiClient, args: []): Promise<TypedDevInspectResults<[bigint]>>;
|
3851
3914
|
function freshObjectAddress(client: SuiClient, args: []): Promise<TypedDevInspectResults<[string]>>;
|
3852
3915
|
function sender(client: SuiClient, args: []): Promise<TypedDevInspectResults<[string]>>;
|
3916
|
+
function sponsor(client: SuiClient, args: []): Promise<TypedDevInspectResults<[_0x1.option.Option<string>]>>;
|
3853
3917
|
}
|
3854
3918
|
}
|
3855
3919
|
export declare namespace types {
|
@@ -3864,7 +3928,7 @@ export declare class url extends SuiBaseProcessor {
|
|
3864
3928
|
constructor(options: SuiBindOptions);
|
3865
3929
|
static DEFAULT_OPTIONS: SuiBindOptions;
|
3866
3930
|
static bind(options?: Partial<SuiBindOptions>): url;
|
3867
|
-
onEventUrl(func: (event: url.UrlInstance, ctx: SuiContext) => void,
|
3931
|
+
onEventUrl(func: (event: url.UrlInstance, ctx: SuiContext) => void, handlerOptions?: HandlerOptions<MoveFetchConfig, url.UrlInstance>, eventFilter?: Omit<EventFilter, "type" | "account">): url;
|
3868
3932
|
}
|
3869
3933
|
export declare namespace url {
|
3870
3934
|
interface Url {
|
@@ -3918,8 +3982,8 @@ export declare class vec_map extends SuiBaseProcessor {
|
|
3918
3982
|
constructor(options: SuiBindOptions);
|
3919
3983
|
static DEFAULT_OPTIONS: SuiBindOptions;
|
3920
3984
|
static bind(options?: Partial<SuiBindOptions>): vec_map;
|
3921
|
-
onEventEntry(func: (event: vec_map.EntryInstance, ctx: SuiContext) => void,
|
3922
|
-
onEventVecMap(func: (event: vec_map.VecMapInstance, ctx: SuiContext) => void,
|
3985
|
+
onEventEntry(func: (event: vec_map.EntryInstance, ctx: SuiContext) => void, handlerOptions?: HandlerOptions<MoveFetchConfig, vec_map.EntryInstance>, eventFilter?: Omit<EventFilter, "type" | "account">): vec_map;
|
3986
|
+
onEventVecMap(func: (event: vec_map.VecMapInstance, ctx: SuiContext) => void, handlerOptions?: HandlerOptions<MoveFetchConfig, vec_map.VecMapInstance>, eventFilter?: Omit<EventFilter, "type" | "account">): vec_map;
|
3923
3987
|
}
|
3924
3988
|
export declare namespace vec_map {
|
3925
3989
|
interface Entry<T0, T1> {
|
@@ -4033,7 +4097,7 @@ export declare class vec_set extends SuiBaseProcessor {
|
|
4033
4097
|
constructor(options: SuiBindOptions);
|
4034
4098
|
static DEFAULT_OPTIONS: SuiBindOptions;
|
4035
4099
|
static bind(options?: Partial<SuiBindOptions>): vec_set;
|
4036
|
-
onEventVecSet(func: (event: vec_set.VecSetInstance, ctx: SuiContext) => void,
|
4100
|
+
onEventVecSet(func: (event: vec_set.VecSetInstance, ctx: SuiContext) => void, handlerOptions?: HandlerOptions<MoveFetchConfig, vec_set.VecSetInstance>, eventFilter?: Omit<EventFilter, "type" | "account">): vec_set;
|
4037
4101
|
}
|
4038
4102
|
export declare namespace vec_set {
|
4039
4103
|
interface VecSet<T0> {
|