@typemove/aptos 1.12.0 → 1.13.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/dist/cjs/builtin/0x1.d.ts +10 -0
- package/dist/cjs/builtin/0x1.d.ts.map +1 -1
- package/dist/cjs/builtin/0x1.js +25 -1
- package/dist/cjs/builtin/0x1.js.map +1 -1
- package/dist/esm/builtin/0x1.d.ts +10 -0
- package/dist/esm/builtin/0x1.d.ts.map +1 -1
- package/dist/esm/builtin/0x1.js +25 -1
- package/dist/esm/builtin/0x1.js.map +1 -1
- package/package.json +2 -2
- package/src/abis/0x1.json +35 -4
- package/src/builtin/0x1.ts +37 -1
|
@@ -5755,6 +5755,13 @@ export declare namespace staking_contract {
|
|
|
5755
5755
|
data_decoded: ResetLockupEvent;
|
|
5756
5756
|
type_arguments: [];
|
|
5757
5757
|
};
|
|
5758
|
+
interface Staker {
|
|
5759
|
+
staker: MoveAddressType;
|
|
5760
|
+
}
|
|
5761
|
+
namespace Staker {
|
|
5762
|
+
const TYPE_QNAME = "0x1::staking_contract::Staker";
|
|
5763
|
+
function type(): TypeDescriptor<Staker>;
|
|
5764
|
+
}
|
|
5758
5765
|
interface StakingContract {
|
|
5759
5766
|
principal: bigint;
|
|
5760
5767
|
pool_address: MoveAddressType;
|
|
@@ -5958,6 +5965,9 @@ export declare namespace staking_contract {
|
|
|
5958
5965
|
function stakePoolAddress(client: Aptos, request: {
|
|
5959
5966
|
functionArguments: [MoveAddressType, MoveAddressType];
|
|
5960
5967
|
}, version?: bigint): Promise<[MoveAddressType]>;
|
|
5968
|
+
function stakerAddress(client: Aptos, request: {
|
|
5969
|
+
functionArguments: [MoveAddressType];
|
|
5970
|
+
}, version?: bigint): Promise<[option.Option<MoveAddressType>]>;
|
|
5961
5971
|
function stakingContractAmounts(client: Aptos, request: {
|
|
5962
5972
|
functionArguments: [MoveAddressType, MoveAddressType];
|
|
5963
5973
|
}, version?: bigint): Promise<[bigint, bigint, bigint]>;
|