@sentio/sdk 2.28.0-rc.1 → 2.28.0-rc.3
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/builtin/0x1.d.ts +137 -0
- package/lib/aptos/builtin/0x1.d.ts.map +1 -1
- package/lib/aptos/builtin/0x1.js +189 -2
- package/lib/aptos/builtin/0x1.js.map +1 -1
- package/lib/aptos/builtin/0x4.d.ts +421 -0
- package/lib/aptos/builtin/0x4.d.ts.map +1 -0
- package/lib/aptos/builtin/0x4.js +408 -0
- package/lib/aptos/builtin/0x4.js.map +1 -0
- package/lib/aptos/builtin/index.d.ts +1 -0
- package/lib/aptos/builtin/index.d.ts.map +1 -1
- package/lib/aptos/builtin/index.js +1 -0
- package/lib/aptos/builtin/index.js.map +1 -1
- package/lib/sui/builtin/0x1.js +1 -1
- package/lib/sui/builtin/0x1.js.map +1 -1
- package/lib/sui/builtin/0x2.d.ts +138 -1
- package/lib/sui/builtin/0x2.d.ts.map +1 -1
- package/lib/sui/builtin/0x2.js +164 -1
- package/lib/sui/builtin/0x2.js.map +1 -1
- package/lib/sui/builtin/0x3.js +1 -1
- package/lib/sui/builtin/0x3.js.map +1 -1
- package/package.json +7 -7
- package/src/aptos/abis/0x1.json +1195 -81
- package/src/aptos/abis/0x4.json +1675 -0
- package/src/aptos/builtin/0x1.ts +391 -1
- package/src/aptos/builtin/0x4.ts +1004 -0
- package/src/aptos/builtin/index.ts +1 -0
- package/src/sui/abis/0x1.json +20 -0
- package/src/sui/abis/0x2.json +2146 -684
- package/src/sui/abis/0x3.json +549 -43
- package/src/sui/builtin/0x1.ts +1 -1
- package/src/sui/builtin/0x2.ts +321 -2
- package/src/sui/builtin/0x3.ts +1 -1
@@ -718,9 +718,11 @@ export declare class object_ extends AptosBaseProcessor {
|
|
718
718
|
constructor(options: AptosBindOptions);
|
719
719
|
static DEFAULT_OPTIONS: AptosBindOptions;
|
720
720
|
static bind(options?: Partial<AptosBindOptions>): object_;
|
721
|
+
onEntryBurn(func: (call: object_.BurnPayload, ctx: AptosContext) => void, filter?: CallFilter, fetchConfig?: Partial<MoveFetchConfig>): object_;
|
721
722
|
onEntryTransfer(func: (call: object_.TransferPayload, ctx: AptosContext) => void, filter?: CallFilter, fetchConfig?: Partial<MoveFetchConfig>): object_;
|
722
723
|
onEntryTransferCall(func: (call: object_.TransferCallPayload, ctx: AptosContext) => void, filter?: CallFilter, fetchConfig?: Partial<MoveFetchConfig>): object_;
|
723
724
|
onEntryTransferToObject(func: (call: object_.TransferToObjectPayload, ctx: AptosContext) => void, filter?: CallFilter, fetchConfig?: Partial<MoveFetchConfig>): object_;
|
725
|
+
onEntryUnburn(func: (call: object_.UnburnPayload, ctx: AptosContext) => void, filter?: CallFilter, fetchConfig?: Partial<MoveFetchConfig>): object_;
|
724
726
|
onEventDeleteRef(func: (event: object_.DeleteRefInstance, ctx: AptosContext) => void, fetchConfig?: Partial<MoveFetchConfig>): object_;
|
725
727
|
onEventDeriveRef(func: (event: object_.DeriveRefInstance, ctx: AptosContext) => void, fetchConfig?: Partial<MoveFetchConfig>): object_;
|
726
728
|
onEventExtendRef(func: (event: object_.ExtendRefInstance, ctx: AptosContext) => void, fetchConfig?: Partial<MoveFetchConfig>): object_;
|
@@ -806,6 +808,13 @@ export declare namespace object_ {
|
|
806
808
|
const TYPE_QNAME = "0x1::object::ObjectGroup";
|
807
809
|
function type(): TypeDescriptor<ObjectGroup>;
|
808
810
|
}
|
811
|
+
interface TombStone {
|
812
|
+
original_owner: Address;
|
813
|
+
}
|
814
|
+
namespace TombStone {
|
815
|
+
const TYPE_QNAME = "0x1::object::TombStone";
|
816
|
+
function type(): TypeDescriptor<TombStone>;
|
817
|
+
}
|
809
818
|
interface TransferEvent {
|
810
819
|
object: Address;
|
811
820
|
from: Address;
|
@@ -830,6 +839,10 @@ export declare namespace object_ {
|
|
830
839
|
data_decoded: TransferRef;
|
831
840
|
type_arguments: [];
|
832
841
|
}
|
842
|
+
interface BurnPayload<T0 = any> extends TypedFunctionPayload<[object_.Object<T0>]> {
|
843
|
+
arguments_decoded: [object_.Object<T0>];
|
844
|
+
type_arguments: [string];
|
845
|
+
}
|
833
846
|
interface TransferPayload<T0 = any> extends TypedFunctionPayload<[object_.Object<T0>, Address]> {
|
834
847
|
arguments_decoded: [object_.Object<T0>, Address];
|
835
848
|
type_arguments: [string];
|
@@ -842,6 +855,10 @@ export declare namespace object_ {
|
|
842
855
|
arguments_decoded: [object_.Object<T0>, object_.Object<T1>];
|
843
856
|
type_arguments: [string, string];
|
844
857
|
}
|
858
|
+
interface UnburnPayload<T0 = any> extends TypedFunctionPayload<[object_.Object<T0>]> {
|
859
|
+
arguments_decoded: [object_.Object<T0>];
|
860
|
+
type_arguments: [string];
|
861
|
+
}
|
845
862
|
}
|
846
863
|
export declare class option extends AptosBaseProcessor {
|
847
864
|
constructor(options: AptosBindOptions);
|
@@ -1297,6 +1314,7 @@ export declare class vesting extends AptosBaseProcessor {
|
|
1297
1314
|
onEntryTerminateVestingContract(func: (call: vesting.TerminateVestingContractPayload, ctx: AptosContext) => void, filter?: CallFilter, fetchConfig?: Partial<MoveFetchConfig>): vesting;
|
1298
1315
|
onEntryUnlockRewards(func: (call: vesting.UnlockRewardsPayload, ctx: AptosContext) => void, filter?: CallFilter, fetchConfig?: Partial<MoveFetchConfig>): vesting;
|
1299
1316
|
onEntryUnlockRewardsMany(func: (call: vesting.UnlockRewardsManyPayload, ctx: AptosContext) => void, filter?: CallFilter, fetchConfig?: Partial<MoveFetchConfig>): vesting;
|
1317
|
+
onEntryUpdateCommissionPercentage(func: (call: vesting.UpdateCommissionPercentagePayload, ctx: AptosContext) => void, filter?: CallFilter, fetchConfig?: Partial<MoveFetchConfig>): vesting;
|
1300
1318
|
onEntryUpdateOperator(func: (call: vesting.UpdateOperatorPayload, ctx: AptosContext) => void, filter?: CallFilter, fetchConfig?: Partial<MoveFetchConfig>): vesting;
|
1301
1319
|
onEntryUpdateOperatorWithSameCommission(func: (call: vesting.UpdateOperatorWithSameCommissionPayload, ctx: AptosContext) => void, filter?: CallFilter, fetchConfig?: Partial<MoveFetchConfig>): vesting;
|
1302
1320
|
onEntryUpdateVoter(func: (call: vesting.UpdateVoterPayload, ctx: AptosContext) => void, filter?: CallFilter, fetchConfig?: Partial<MoveFetchConfig>): vesting;
|
@@ -1567,6 +1585,10 @@ export declare namespace vesting {
|
|
1567
1585
|
arguments_decoded: [Address[]];
|
1568
1586
|
type_arguments: [];
|
1569
1587
|
}
|
1588
|
+
interface UpdateCommissionPercentagePayload extends TypedFunctionPayload<[Address, bigint]> {
|
1589
|
+
arguments_decoded: [Address, bigint];
|
1590
|
+
type_arguments: [];
|
1591
|
+
}
|
1570
1592
|
interface UpdateOperatorPayload extends TypedFunctionPayload<[Address, Address, bigint]> {
|
1571
1593
|
arguments_decoded: [Address, Address, bigint];
|
1572
1594
|
type_arguments: [];
|
@@ -2224,6 +2246,25 @@ export declare namespace string_utils {
|
|
2224
2246
|
type_arguments: [];
|
2225
2247
|
}
|
2226
2248
|
}
|
2249
|
+
export declare class aggregator_v2 extends AptosBaseProcessor {
|
2250
|
+
constructor(options: AptosBindOptions);
|
2251
|
+
static DEFAULT_OPTIONS: AptosBindOptions;
|
2252
|
+
static bind(options?: Partial<AptosBindOptions>): aggregator_v2;
|
2253
|
+
onEventAggregatorSnapshot(func: (event: aggregator_v2.AggregatorSnapshotInstance, ctx: AptosContext) => void, fetchConfig?: Partial<MoveFetchConfig>): aggregator_v2;
|
2254
|
+
}
|
2255
|
+
export declare namespace aggregator_v2 {
|
2256
|
+
interface AggregatorSnapshot<T0> {
|
2257
|
+
value: T0;
|
2258
|
+
}
|
2259
|
+
namespace AggregatorSnapshot {
|
2260
|
+
const TYPE_QNAME = "0x1::aggregator_v2::AggregatorSnapshot";
|
2261
|
+
function type<T0>(arg0?: TypeDescriptor<T0>): TypeDescriptor<AggregatorSnapshot<T0>>;
|
2262
|
+
}
|
2263
|
+
interface AggregatorSnapshotInstance extends TypedEventInstance<AggregatorSnapshot<any>> {
|
2264
|
+
data_decoded: AggregatorSnapshot<any>;
|
2265
|
+
type_arguments: [string];
|
2266
|
+
}
|
2267
|
+
}
|
2227
2268
|
export declare class aptos_account extends AptosBaseProcessor {
|
2228
2269
|
constructor(options: AptosBindOptions);
|
2229
2270
|
static DEFAULT_OPTIONS: AptosBindOptions;
|
@@ -2923,6 +2964,12 @@ export declare namespace reconfiguration {
|
|
2923
2964
|
type_arguments: [];
|
2924
2965
|
}
|
2925
2966
|
}
|
2967
|
+
export declare class transaction_fee extends AptosBaseProcessor {
|
2968
|
+
constructor(options: AptosBindOptions);
|
2969
|
+
static DEFAULT_OPTIONS: AptosBindOptions;
|
2970
|
+
static bind(options?: Partial<AptosBindOptions>): transaction_fee;
|
2971
|
+
onEventFeeStatement(func: (event: transaction_fee.FeeStatementInstance, ctx: AptosContext) => void, fetchConfig?: Partial<MoveFetchConfig>): transaction_fee;
|
2972
|
+
}
|
2926
2973
|
export declare namespace transaction_fee {
|
2927
2974
|
interface AptosCoinCapabilities {
|
2928
2975
|
burn_cap: coin.BurnCapability<aptos_coin.AptosCoin>;
|
@@ -2931,6 +2978,13 @@ export declare namespace transaction_fee {
|
|
2931
2978
|
const TYPE_QNAME = "0x1::transaction_fee::AptosCoinCapabilities";
|
2932
2979
|
function type(): TypeDescriptor<AptosCoinCapabilities>;
|
2933
2980
|
}
|
2981
|
+
interface AptosCoinMintCapability {
|
2982
|
+
mint_cap: coin.MintCapability<aptos_coin.AptosCoin>;
|
2983
|
+
}
|
2984
|
+
namespace AptosCoinMintCapability {
|
2985
|
+
const TYPE_QNAME = "0x1::transaction_fee::AptosCoinMintCapability";
|
2986
|
+
function type(): TypeDescriptor<AptosCoinMintCapability>;
|
2987
|
+
}
|
2934
2988
|
interface CollectedFeesPerBlock {
|
2935
2989
|
amount: coin.AggregatableCoin<aptos_coin.AptosCoin>;
|
2936
2990
|
proposer: option.Option<Address>;
|
@@ -2940,6 +2994,21 @@ export declare namespace transaction_fee {
|
|
2940
2994
|
const TYPE_QNAME = "0x1::transaction_fee::CollectedFeesPerBlock";
|
2941
2995
|
function type(): TypeDescriptor<CollectedFeesPerBlock>;
|
2942
2996
|
}
|
2997
|
+
interface FeeStatement {
|
2998
|
+
total_charge_gas_units: bigint;
|
2999
|
+
execution_gas_units: bigint;
|
3000
|
+
io_gas_units: bigint;
|
3001
|
+
storage_fee_octas: bigint;
|
3002
|
+
storage_fee_refund_octas: bigint;
|
3003
|
+
}
|
3004
|
+
namespace FeeStatement {
|
3005
|
+
const TYPE_QNAME = "0x1::transaction_fee::FeeStatement";
|
3006
|
+
function type(): TypeDescriptor<FeeStatement>;
|
3007
|
+
}
|
3008
|
+
interface FeeStatementInstance extends TypedEventInstance<FeeStatement> {
|
3009
|
+
data_decoded: FeeStatement;
|
3010
|
+
type_arguments: [];
|
3011
|
+
}
|
2943
3012
|
}
|
2944
3013
|
export declare class aptos_governance extends AptosBaseProcessor {
|
2945
3014
|
constructor(options: AptosBindOptions);
|
@@ -3915,6 +3984,55 @@ export declare namespace transaction_context {
|
|
3915
3984
|
type_arguments: [];
|
3916
3985
|
}
|
3917
3986
|
}
|
3987
|
+
export declare class ristretto255_elgamal extends AptosBaseProcessor {
|
3988
|
+
constructor(options: AptosBindOptions);
|
3989
|
+
static DEFAULT_OPTIONS: AptosBindOptions;
|
3990
|
+
static bind(options?: Partial<AptosBindOptions>): ristretto255_elgamal;
|
3991
|
+
onEventCompressedCiphertext(func: (event: ristretto255_elgamal.CompressedCiphertextInstance, ctx: AptosContext) => void, fetchConfig?: Partial<MoveFetchConfig>): ristretto255_elgamal;
|
3992
|
+
onEventCompressedPubkey(func: (event: ristretto255_elgamal.CompressedPubkeyInstance, ctx: AptosContext) => void, fetchConfig?: Partial<MoveFetchConfig>): ristretto255_elgamal;
|
3993
|
+
}
|
3994
|
+
export declare namespace ristretto255_elgamal {
|
3995
|
+
interface Ciphertext {
|
3996
|
+
left: ristretto255.RistrettoPoint;
|
3997
|
+
right: ristretto255.RistrettoPoint;
|
3998
|
+
}
|
3999
|
+
namespace Ciphertext {
|
4000
|
+
const TYPE_QNAME = "0x1::ristretto255_elgamal::Ciphertext";
|
4001
|
+
function type(): TypeDescriptor<Ciphertext>;
|
4002
|
+
}
|
4003
|
+
interface CompressedCiphertext {
|
4004
|
+
left: ristretto255.CompressedRistretto;
|
4005
|
+
right: ristretto255.CompressedRistretto;
|
4006
|
+
}
|
4007
|
+
namespace CompressedCiphertext {
|
4008
|
+
const TYPE_QNAME = "0x1::ristretto255_elgamal::CompressedCiphertext";
|
4009
|
+
function type(): TypeDescriptor<CompressedCiphertext>;
|
4010
|
+
}
|
4011
|
+
interface CompressedCiphertextInstance extends TypedEventInstance<CompressedCiphertext> {
|
4012
|
+
data_decoded: CompressedCiphertext;
|
4013
|
+
type_arguments: [];
|
4014
|
+
}
|
4015
|
+
interface CompressedPubkey {
|
4016
|
+
point: ristretto255.CompressedRistretto;
|
4017
|
+
}
|
4018
|
+
namespace CompressedPubkey {
|
4019
|
+
const TYPE_QNAME = "0x1::ristretto255_elgamal::CompressedPubkey";
|
4020
|
+
function type(): TypeDescriptor<CompressedPubkey>;
|
4021
|
+
}
|
4022
|
+
interface CompressedPubkeyInstance extends TypedEventInstance<CompressedPubkey> {
|
4023
|
+
data_decoded: CompressedPubkey;
|
4024
|
+
type_arguments: [];
|
4025
|
+
}
|
4026
|
+
}
|
4027
|
+
export declare namespace ristretto255_pedersen {
|
4028
|
+
interface Commitment {
|
4029
|
+
point: ristretto255.RistrettoPoint;
|
4030
|
+
}
|
4031
|
+
namespace Commitment {
|
4032
|
+
const TYPE_QNAME = "0x1::ristretto255_pedersen::Commitment";
|
4033
|
+
function type(): TypeDescriptor<Commitment>;
|
4034
|
+
}
|
4035
|
+
}
|
3918
4036
|
export declare class primary_fungible_store extends AptosBaseProcessor {
|
3919
4037
|
constructor(options: AptosBindOptions);
|
3920
4038
|
static DEFAULT_OPTIONS: AptosBindOptions;
|
@@ -3948,5 +4066,24 @@ export declare namespace transaction_validation {
|
|
3948
4066
|
function type(): TypeDescriptor<TransactionValidation>;
|
3949
4067
|
}
|
3950
4068
|
}
|
4069
|
+
export declare class ristretto255_bulletproofs extends AptosBaseProcessor {
|
4070
|
+
constructor(options: AptosBindOptions);
|
4071
|
+
static DEFAULT_OPTIONS: AptosBindOptions;
|
4072
|
+
static bind(options?: Partial<AptosBindOptions>): ristretto255_bulletproofs;
|
4073
|
+
onEventRangeProof(func: (event: ristretto255_bulletproofs.RangeProofInstance, ctx: AptosContext) => void, fetchConfig?: Partial<MoveFetchConfig>): ristretto255_bulletproofs;
|
4074
|
+
}
|
4075
|
+
export declare namespace ristretto255_bulletproofs {
|
4076
|
+
interface RangeProof {
|
4077
|
+
bytes: string;
|
4078
|
+
}
|
4079
|
+
namespace RangeProof {
|
4080
|
+
const TYPE_QNAME = "0x1::ristretto255_bulletproofs::RangeProof";
|
4081
|
+
function type(): TypeDescriptor<RangeProof>;
|
4082
|
+
}
|
4083
|
+
interface RangeProofInstance extends TypedEventInstance<RangeProof> {
|
4084
|
+
data_decoded: RangeProof;
|
4085
|
+
type_arguments: [];
|
4086
|
+
}
|
4087
|
+
}
|
3951
4088
|
export declare function loadAllTypes(coder: MoveCoder): void;
|
3952
4089
|
//# sourceMappingURL=0x1.d.ts.map
|