@sentio/sdk 2.61.1-rc.1 → 2.62.0-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/lib/aptos/builtin/0x1.d.ts +31 -0
- package/lib/aptos/builtin/0x1.d.ts.map +1 -1
- package/lib/aptos/builtin/0x1.js +62 -1
- package/lib/aptos/builtin/0x1.js.map +1 -1
- package/lib/iota/builtin/0x1.d.ts +65 -110
- package/lib/iota/builtin/0x1.d.ts.map +1 -1
- package/lib/iota/builtin/0x1.js.map +1 -1
- package/lib/iota/builtin/0x2.d.ts +595 -853
- package/lib/iota/builtin/0x2.d.ts.map +1 -1
- package/lib/iota/builtin/0x2.js.map +1 -1
- package/lib/iota/builtin/0x3.d.ts +289 -405
- package/lib/iota/builtin/0x3.d.ts.map +1 -1
- package/lib/iota/builtin/0x3.js +42 -1
- package/lib/iota/builtin/0x3.js.map +1 -1
- package/lib/sui/builtin/0x1.d.ts +10 -0
- package/lib/sui/builtin/0x1.d.ts.map +1 -1
- package/lib/sui/builtin/0x1.js +109 -1
- package/lib/sui/builtin/0x1.js.map +1 -1
- package/lib/sui/builtin/0x2.d.ts +109 -0
- package/lib/sui/builtin/0x2.d.ts.map +1 -1
- package/lib/sui/builtin/0x2.js +437 -1
- package/lib/sui/builtin/0x2.js.map +1 -1
- package/lib/sui/builtin/0x3.d.ts +4 -0
- package/lib/sui/builtin/0x3.d.ts.map +1 -1
- package/lib/sui/builtin/0x3.js +41 -1
- package/lib/sui/builtin/0x3.js.map +1 -1
- package/lib/testing/test-processor-server.d.ts.map +1 -1
- package/lib/testing/test-processor-server.js +2 -2
- package/lib/testing/test-processor-server.js.map +1 -1
- package/lib/testing/test-provider.js +2 -2
- package/package.json +16 -16
- package/src/aptos/abis/0x1.json +111 -9
- package/src/aptos/builtin/0x1.ts +118 -1
- package/src/iota/abis/0x3.json +70 -0
- package/src/iota/builtin/0x1.ts +65 -110
- package/src/iota/builtin/0x2.ts +595 -853
- package/src/iota/builtin/0x3.ts +341 -404
- package/src/sui/abis/0x1.json +123 -0
- package/src/sui/abis/0x2.json +607 -32
- package/src/sui/abis/0x3.json +52 -0
- package/src/sui/builtin/0x1.ts +153 -1
- package/src/sui/builtin/0x2.ts +708 -44
- package/src/sui/builtin/0x3.ts +57 -1
- package/src/testing/test-processor-server.ts +2 -2
- package/src/testing/test-provider.ts +2 -2
@@ -885,6 +885,7 @@ export declare class stake extends AptosBaseProcessor {
|
|
885
885
|
onEventAddStakeEvent(func: (event: stake.AddStakeEventInstance, ctx: AptosContext) => void, handlerOptions?: HandlerOptions<MoveFetchConfig, stake.AddStakeEventInstance>, eventFilter?: Omit<EventFilter, "type" | "account">): stake;
|
886
886
|
onEventDistributeRewards(func: (event: stake.DistributeRewardsInstance, ctx: AptosContext) => void, handlerOptions?: HandlerOptions<MoveFetchConfig, stake.DistributeRewardsInstance>, eventFilter?: Omit<EventFilter, "type" | "account">): stake;
|
887
887
|
onEventDistributeRewardsEvent(func: (event: stake.DistributeRewardsEventInstance, ctx: AptosContext) => void, handlerOptions?: HandlerOptions<MoveFetchConfig, stake.DistributeRewardsEventInstance>, eventFilter?: Omit<EventFilter, "type" | "account">): stake;
|
888
|
+
onEventDistributeTransactionFee(func: (event: stake.DistributeTransactionFeeInstance, ctx: AptosContext) => void, handlerOptions?: HandlerOptions<MoveFetchConfig, stake.DistributeTransactionFeeInstance>, eventFilter?: Omit<EventFilter, "type" | "account">): stake;
|
888
889
|
onEventIncreaseLockup(func: (event: stake.IncreaseLockupInstance, ctx: AptosContext) => void, handlerOptions?: HandlerOptions<MoveFetchConfig, stake.IncreaseLockupInstance>, eventFilter?: Omit<EventFilter, "type" | "account">): stake;
|
889
890
|
onEventIncreaseLockupEvent(func: (event: stake.IncreaseLockupEventInstance, ctx: AptosContext) => void, handlerOptions?: HandlerOptions<MoveFetchConfig, stake.IncreaseLockupEventInstance>, eventFilter?: Omit<EventFilter, "type" | "account">): stake;
|
890
891
|
onEventIndividualValidatorPerformance(func: (event: stake.IndividualValidatorPerformanceInstance, ctx: AptosContext) => void, handlerOptions?: HandlerOptions<MoveFetchConfig, stake.IndividualValidatorPerformanceInstance>, eventFilter?: Omit<EventFilter, "type" | "account">): stake;
|
@@ -970,6 +971,18 @@ export declare namespace stake {
|
|
970
971
|
data_decoded: DistributeRewardsEvent;
|
971
972
|
type_arguments: [];
|
972
973
|
};
|
974
|
+
interface DistributeTransactionFee {
|
975
|
+
pool_address: MoveAddressType;
|
976
|
+
fee_amount: bigint;
|
977
|
+
}
|
978
|
+
namespace DistributeTransactionFee {
|
979
|
+
const TYPE_QNAME = "0x1::stake::DistributeTransactionFee";
|
980
|
+
function type(): TypeDescriptor<DistributeTransactionFee>;
|
981
|
+
}
|
982
|
+
type DistributeTransactionFeeInstance = TypedEventInstance<DistributeTransactionFee> & {
|
983
|
+
data_decoded: DistributeTransactionFee;
|
984
|
+
type_arguments: [];
|
985
|
+
};
|
973
986
|
interface IncreaseLockup {
|
974
987
|
pool_address: MoveAddressType;
|
975
988
|
old_locked_until_secs: bigint;
|
@@ -1059,6 +1072,13 @@ export declare namespace stake {
|
|
1059
1072
|
const TYPE_QNAME = "0x1::stake::OwnerCapability";
|
1060
1073
|
function type(): TypeDescriptor<OwnerCapability>;
|
1061
1074
|
}
|
1075
|
+
interface PendingTransactionFee {
|
1076
|
+
pending_fee_by_validator: big_ordered_map.BigOrderedMap<bigint, aggregator_v2.Aggregator<bigint>>;
|
1077
|
+
}
|
1078
|
+
namespace PendingTransactionFee {
|
1079
|
+
const TYPE_QNAME = "0x1::stake::PendingTransactionFee";
|
1080
|
+
function type(): TypeDescriptor<PendingTransactionFee>;
|
1081
|
+
}
|
1062
1082
|
interface ReactivateStake {
|
1063
1083
|
pool_address: MoveAddressType;
|
1064
1084
|
amount: bigint;
|
@@ -1382,6 +1402,7 @@ export declare namespace stake {
|
|
1382
1402
|
function getOperator(client: Aptos, request: {
|
1383
1403
|
functionArguments: [MoveAddressType];
|
1384
1404
|
}, version?: bigint): Promise<[MoveAddressType]>;
|
1405
|
+
function getPendingTransactionFee(client: Aptos, version?: bigint): Promise<[bigint[]]>;
|
1385
1406
|
function getRemainingLockupSecs(client: Aptos, request: {
|
1386
1407
|
functionArguments: [MoveAddressType];
|
1387
1408
|
}, version?: bigint): Promise<[bigint]>;
|
@@ -6921,6 +6942,13 @@ export declare namespace staking_contract {
|
|
6921
6942
|
data_decoded: ResetLockupEvent;
|
6922
6943
|
type_arguments: [];
|
6923
6944
|
};
|
6945
|
+
interface Staker {
|
6946
|
+
staker: MoveAddressType;
|
6947
|
+
}
|
6948
|
+
namespace Staker {
|
6949
|
+
const TYPE_QNAME = "0x1::staking_contract::Staker";
|
6950
|
+
function type(): TypeDescriptor<Staker>;
|
6951
|
+
}
|
6924
6952
|
interface StakingContract {
|
6925
6953
|
principal: bigint;
|
6926
6954
|
pool_address: MoveAddressType;
|
@@ -7124,6 +7152,9 @@ export declare namespace staking_contract {
|
|
7124
7152
|
function stakePoolAddress(client: Aptos, request: {
|
7125
7153
|
functionArguments: [MoveAddressType, MoveAddressType];
|
7126
7154
|
}, version?: bigint): Promise<[MoveAddressType]>;
|
7155
|
+
function stakerAddress(client: Aptos, request: {
|
7156
|
+
functionArguments: [MoveAddressType];
|
7157
|
+
}, version?: bigint): Promise<[option.Option<MoveAddressType>]>;
|
7127
7158
|
function stakingContractAmounts(client: Aptos, request: {
|
7128
7159
|
functionArguments: [MoveAddressType, MoveAddressType];
|
7129
7160
|
}, version?: bigint): Promise<[bigint, bigint, bigint]>;
|