@sentio/sdk 4.6.1 → 4.6.2-rc.2
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/dist/aptos/builtin/0x1.d.ts +74 -0
- package/dist/aptos/builtin/0x1.d.ts.map +1 -1
- package/dist/aptos/builtin/0x1.js +139 -1
- package/dist/aptos/builtin/0x1.js.map +1 -1
- package/dist/aptos/builtin/0x3.js +1 -1
- package/dist/aptos/builtin/0x4.js +1 -1
- package/dist/iota/builtin/0x2.js +1 -1
- package/dist/iota/builtin/0x2.js.map +1 -1
- package/dist/iota/builtin/0x3.d.ts +8 -3
- package/dist/iota/builtin/0x3.d.ts.map +1 -1
- package/dist/iota/builtin/0x3.js +2 -1
- package/dist/iota/builtin/0x3.js.map +1 -1
- package/dist/sui/builtin/0x1.d.ts +44 -0
- package/dist/sui/builtin/0x1.d.ts.map +1 -1
- package/dist/sui/builtin/0x1.js +161 -1
- package/dist/sui/builtin/0x1.js.map +1 -1
- package/dist/sui/builtin/0x2.d.ts +9 -0
- package/dist/sui/builtin/0x2.d.ts.map +1 -1
- package/dist/sui/builtin/0x2.js +76 -1
- package/dist/sui/builtin/0x2.js.map +1 -1
- package/dist/sui/to-client-types.d.ts.map +1 -1
- package/dist/sui/to-client-types.js +6 -2
- package/dist/sui/to-client-types.js.map +1 -1
- package/package.json +14 -11
- package/src/aptos/abis/0x1.json +1053 -507
- package/src/aptos/abis/0x3.json +12 -12
- package/src/aptos/abis/0x4.json +28 -28
- package/src/aptos/builtin/0x1.ts +261 -3
- package/src/aptos/builtin/0x3.ts +1 -1
- package/src/aptos/builtin/0x4.ts +1 -1
- package/src/iota/abis/0x2.json +6 -1
- package/src/iota/abis/0x3.json +2 -1
- package/src/iota/builtin/0x2.ts +1 -1
- package/src/iota/builtin/0x3.ts +6 -3
- package/src/sui/abis/0x1.json +241 -0
- package/src/sui/abis/0x2.json +104 -37
- package/src/sui/builtin/0x1.ts +247 -1
- package/src/sui/builtin/0x2.ts +110 -3
- package/src/sui/to-client-types.ts +6 -2
|
@@ -585,6 +585,31 @@ export declare namespace hash {
|
|
|
585
585
|
namespace entry { }
|
|
586
586
|
namespace view { }
|
|
587
587
|
}
|
|
588
|
+
export declare namespace init {
|
|
589
|
+
interface InitializationState {
|
|
590
|
+
}
|
|
591
|
+
namespace InitializationState {
|
|
592
|
+
const TYPE_QNAME = "0x1::init::InitializationState";
|
|
593
|
+
function type(): TypeDescriptor<InitializationState>;
|
|
594
|
+
}
|
|
595
|
+
interface ModuleId {
|
|
596
|
+
hash: bigint;
|
|
597
|
+
}
|
|
598
|
+
namespace ModuleId {
|
|
599
|
+
const TYPE_QNAME = "0x1::init::ModuleId";
|
|
600
|
+
function type(): TypeDescriptor<ModuleId>;
|
|
601
|
+
}
|
|
602
|
+
interface ModuleState {
|
|
603
|
+
only_once: option.Option<boolean>;
|
|
604
|
+
deploy_owner: option.Option<MoveAddressType>;
|
|
605
|
+
}
|
|
606
|
+
namespace ModuleState {
|
|
607
|
+
const TYPE_QNAME = "0x1::init::ModuleState";
|
|
608
|
+
function type(): TypeDescriptor<ModuleState>;
|
|
609
|
+
}
|
|
610
|
+
namespace entry { }
|
|
611
|
+
namespace view { }
|
|
612
|
+
}
|
|
588
613
|
export declare class jwks extends AptosBaseProcessor {
|
|
589
614
|
constructor(options: AptosBindOptions);
|
|
590
615
|
static DEFAULT_OPTIONS: AptosBindOptions;
|
|
@@ -3288,6 +3313,7 @@ export declare class aptos_coin extends AptosBaseProcessor {
|
|
|
3288
3313
|
static DEFAULT_OPTIONS: AptosBindOptions;
|
|
3289
3314
|
static bind(options?: Partial<AptosBindOptions>): aptos_coin;
|
|
3290
3315
|
onEntryMint(func: (call: aptos_coin.MintPayload, ctx: AptosContext) => void, filter?: CallFilter, handlerOptions?: HandlerOptions<MoveFetchConfig, aptos_coin.MintPayload>): aptos_coin;
|
|
3316
|
+
onEntryUpgradeSupply(func: (call: aptos_coin.UpgradeSupplyPayload, ctx: AptosContext) => void, filter?: CallFilter, handlerOptions?: HandlerOptions<MoveFetchConfig, aptos_coin.UpgradeSupplyPayload>): aptos_coin;
|
|
3291
3317
|
onEntryClaimMintCapability(func: (call: aptos_coin.ClaimMintCapabilityPayload, ctx: AptosContext) => void, filter?: CallFilter, handlerOptions?: HandlerOptions<MoveFetchConfig, aptos_coin.ClaimMintCapabilityPayload>): aptos_coin;
|
|
3292
3318
|
onEntryDelegateMintCapability(func: (call: aptos_coin.DelegateMintCapabilityPayload, ctx: AptosContext) => void, filter?: CallFilter, handlerOptions?: HandlerOptions<MoveFetchConfig, aptos_coin.DelegateMintCapabilityPayload>): aptos_coin;
|
|
3293
3319
|
}
|
|
@@ -3325,6 +3351,10 @@ export declare namespace aptos_coin {
|
|
|
3325
3351
|
typeArguments: [];
|
|
3326
3352
|
functionArguments: [MoveAddressType, bigint];
|
|
3327
3353
|
}, options?: InputGenerateTransactionOptions): Promise<PendingTransactionResponse>;
|
|
3354
|
+
function upgradeSupply(client: Aptos, account: AptosAccount, request: {
|
|
3355
|
+
typeArguments: [];
|
|
3356
|
+
functionArguments: [];
|
|
3357
|
+
}, options?: InputGenerateTransactionOptions): Promise<PendingTransactionResponse>;
|
|
3328
3358
|
function claimMintCapability(client: Aptos, account: AptosAccount, request: {
|
|
3329
3359
|
typeArguments: [];
|
|
3330
3360
|
functionArguments: [];
|
|
@@ -3339,6 +3369,10 @@ export declare namespace aptos_coin {
|
|
|
3339
3369
|
arguments_decoded: [MoveAddressType, bigint];
|
|
3340
3370
|
type_arguments: [];
|
|
3341
3371
|
}
|
|
3372
|
+
interface UpgradeSupplyPayload extends TypedFunctionPayload<[]> {
|
|
3373
|
+
arguments_decoded: [];
|
|
3374
|
+
type_arguments: [];
|
|
3375
|
+
}
|
|
3342
3376
|
interface ClaimMintCapabilityPayload extends TypedFunctionPayload<[]> {
|
|
3343
3377
|
arguments_decoded: [];
|
|
3344
3378
|
type_arguments: [];
|
|
@@ -4748,6 +4782,10 @@ export declare namespace fungible_asset {
|
|
|
4748
4782
|
typeArguments: [MoveStructId];
|
|
4749
4783
|
functionArguments: [object$.Object<T0>, bigint];
|
|
4750
4784
|
}, version?: bigint): Promise<[boolean]>;
|
|
4785
|
+
function isConcurrent<T0 = any>(client: Aptos, request: {
|
|
4786
|
+
typeArguments: [MoveStructId];
|
|
4787
|
+
functionArguments: [object$.Object<T0>];
|
|
4788
|
+
}, version?: bigint): Promise<[boolean]>;
|
|
4751
4789
|
function isFrozen<T0 = any>(client: Aptos, request: {
|
|
4752
4790
|
typeArguments: [MoveStructId];
|
|
4753
4791
|
functionArguments: [object$.Object<T0>];
|
|
@@ -5672,6 +5710,7 @@ export declare class transaction_fee extends AptosBaseProcessor {
|
|
|
5672
5710
|
static DEFAULT_OPTIONS: AptosBindOptions;
|
|
5673
5711
|
static bind(options?: Partial<AptosBindOptions>): transaction_fee;
|
|
5674
5712
|
onEntryConvertToAptosFaBurnRef(func: (call: transaction_fee.ConvertToAptosFaBurnRefPayload, ctx: AptosContext) => void, filter?: CallFilter, handlerOptions?: HandlerOptions<MoveFetchConfig, transaction_fee.ConvertToAptosFaBurnRefPayload>): transaction_fee;
|
|
5713
|
+
onEntryConvertToAptosFaMintRef(func: (call: transaction_fee.ConvertToAptosFaMintRefPayload, ctx: AptosContext) => void, filter?: CallFilter, handlerOptions?: HandlerOptions<MoveFetchConfig, transaction_fee.ConvertToAptosFaMintRefPayload>): transaction_fee;
|
|
5675
5714
|
onEventFeeStatement(func: (event: transaction_fee.FeeStatementInstance, ctx: AptosContext) => void, handlerOptions?: HandlerOptions<MoveFetchConfig, transaction_fee.FeeStatementInstance>, eventFilter?: Omit<EventFilter, "type" | "account">): transaction_fee;
|
|
5676
5715
|
}
|
|
5677
5716
|
export declare namespace transaction_fee {
|
|
@@ -5696,6 +5735,13 @@ export declare namespace transaction_fee {
|
|
|
5696
5735
|
const TYPE_QNAME = "0x1::transaction_fee::AptosFABurnCapabilities";
|
|
5697
5736
|
function type(): TypeDescriptor<AptosFABurnCapabilities>;
|
|
5698
5737
|
}
|
|
5738
|
+
interface AptosFAMintCapabilities {
|
|
5739
|
+
mint_ref: fungible_asset.MintRef;
|
|
5740
|
+
}
|
|
5741
|
+
namespace AptosFAMintCapabilities {
|
|
5742
|
+
const TYPE_QNAME = "0x1::transaction_fee::AptosFAMintCapabilities";
|
|
5743
|
+
function type(): TypeDescriptor<AptosFAMintCapabilities>;
|
|
5744
|
+
}
|
|
5699
5745
|
interface CollectedFeesPerBlock {
|
|
5700
5746
|
amount: coin.AggregatableCoin<aptos_coin.AptosCoin>;
|
|
5701
5747
|
proposer: option.Option<MoveAddressType>;
|
|
@@ -5725,12 +5771,20 @@ export declare namespace transaction_fee {
|
|
|
5725
5771
|
typeArguments: [];
|
|
5726
5772
|
functionArguments: [];
|
|
5727
5773
|
}, options?: InputGenerateTransactionOptions): Promise<PendingTransactionResponse>;
|
|
5774
|
+
function convertToAptosFaMintRef(client: Aptos, account: AptosAccount, request: {
|
|
5775
|
+
typeArguments: [];
|
|
5776
|
+
functionArguments: [];
|
|
5777
|
+
}, options?: InputGenerateTransactionOptions): Promise<PendingTransactionResponse>;
|
|
5728
5778
|
}
|
|
5729
5779
|
namespace view { }
|
|
5730
5780
|
interface ConvertToAptosFaBurnRefPayload extends TypedFunctionPayload<[]> {
|
|
5731
5781
|
arguments_decoded: [];
|
|
5732
5782
|
type_arguments: [];
|
|
5733
5783
|
}
|
|
5784
|
+
interface ConvertToAptosFaMintRefPayload extends TypedFunctionPayload<[]> {
|
|
5785
|
+
arguments_decoded: [];
|
|
5786
|
+
type_arguments: [];
|
|
5787
|
+
}
|
|
5734
5788
|
}
|
|
5735
5789
|
export declare class aptos_governance extends AptosBaseProcessor {
|
|
5736
5790
|
constructor(options: AptosBindOptions);
|
|
@@ -6135,6 +6189,17 @@ export declare namespace execution_config {
|
|
|
6135
6189
|
namespace entry { }
|
|
6136
6190
|
namespace view { }
|
|
6137
6191
|
}
|
|
6192
|
+
export declare namespace hot_state_config {
|
|
6193
|
+
interface HotStateConfig {
|
|
6194
|
+
config: string;
|
|
6195
|
+
}
|
|
6196
|
+
namespace HotStateConfig {
|
|
6197
|
+
const TYPE_QNAME = "0x1::hot_state_config::HotStateConfig";
|
|
6198
|
+
function type(): TypeDescriptor<HotStateConfig>;
|
|
6199
|
+
}
|
|
6200
|
+
namespace entry { }
|
|
6201
|
+
namespace view { }
|
|
6202
|
+
}
|
|
6138
6203
|
export declare class multisig_account extends AptosBaseProcessor {
|
|
6139
6204
|
constructor(options: AptosBindOptions);
|
|
6140
6205
|
static DEFAULT_OPTIONS: AptosBindOptions;
|
|
@@ -8832,6 +8897,7 @@ export declare class primary_fungible_store extends AptosBaseProcessor {
|
|
|
8832
8897
|
static DEFAULT_OPTIONS: AptosBindOptions;
|
|
8833
8898
|
static bind(options?: Partial<AptosBindOptions>): primary_fungible_store;
|
|
8834
8899
|
onEntryTransfer(func: (call: primary_fungible_store.TransferPayload, ctx: AptosContext) => void, filter?: CallFilter, handlerOptions?: HandlerOptions<MoveFetchConfig, primary_fungible_store.TransferPayload>): primary_fungible_store;
|
|
8900
|
+
onEntryUpgradeToConcurrent(func: (call: primary_fungible_store.UpgradeToConcurrentPayload, ctx: AptosContext) => void, filter?: CallFilter, handlerOptions?: HandlerOptions<MoveFetchConfig, primary_fungible_store.UpgradeToConcurrentPayload>): primary_fungible_store;
|
|
8835
8901
|
onEntryTransferAssertMinimumDeposit(func: (call: primary_fungible_store.TransferAssertMinimumDepositPayload, ctx: AptosContext) => void, filter?: CallFilter, handlerOptions?: HandlerOptions<MoveFetchConfig, primary_fungible_store.TransferAssertMinimumDepositPayload>): primary_fungible_store;
|
|
8836
8902
|
}
|
|
8837
8903
|
export declare namespace primary_fungible_store {
|
|
@@ -8847,6 +8913,10 @@ export declare namespace primary_fungible_store {
|
|
|
8847
8913
|
typeArguments: [MoveStructId];
|
|
8848
8914
|
functionArguments: [object$.Object<T0>, MoveAddressType, bigint];
|
|
8849
8915
|
}, options?: InputGenerateTransactionOptions): Promise<PendingTransactionResponse>;
|
|
8916
|
+
function upgradeToConcurrent(client: Aptos, account: AptosAccount, request: {
|
|
8917
|
+
typeArguments: [];
|
|
8918
|
+
functionArguments: [object$.Object<fungible_asset.Metadata>];
|
|
8919
|
+
}, options?: InputGenerateTransactionOptions): Promise<PendingTransactionResponse>;
|
|
8850
8920
|
function transferAssertMinimumDeposit<T0 = any>(client: Aptos, account: AptosAccount, request: {
|
|
8851
8921
|
typeArguments: [MoveStructId];
|
|
8852
8922
|
functionArguments: [
|
|
@@ -8891,6 +8961,10 @@ export declare namespace primary_fungible_store {
|
|
|
8891
8961
|
arguments_decoded: [object$.Object<T0>, MoveAddressType, bigint];
|
|
8892
8962
|
type_arguments: [string];
|
|
8893
8963
|
}
|
|
8964
|
+
interface UpgradeToConcurrentPayload extends TypedFunctionPayload<[object$.Object<fungible_asset.Metadata>]> {
|
|
8965
|
+
arguments_decoded: [object$.Object<fungible_asset.Metadata>];
|
|
8966
|
+
type_arguments: [];
|
|
8967
|
+
}
|
|
8894
8968
|
interface TransferAssertMinimumDepositPayload<T0 = any> extends TypedFunctionPayload<[
|
|
8895
8969
|
object$.Object<T0>,
|
|
8896
8970
|
MoveAddressType,
|