@typemove/aptos 1.11.1-rc.2 → 1.12.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 +20 -0
- package/dist/cjs/builtin/0x1.d.ts.map +1 -1
- package/dist/cjs/builtin/0x1.js +34 -1
- package/dist/cjs/builtin/0x1.js.map +1 -1
- package/dist/esm/builtin/0x1.d.ts +20 -0
- package/dist/esm/builtin/0x1.d.ts.map +1 -1
- package/dist/esm/builtin/0x1.js +34 -1
- package/dist/esm/builtin/0x1.js.map +1 -1
- package/package.json +2 -2
- package/src/abis/0x1.json +76 -5
- package/src/builtin/0x1.ts +63 -1
|
@@ -817,6 +817,18 @@ export declare namespace stake {
|
|
|
817
817
|
data_decoded: DistributeRewardsEvent;
|
|
818
818
|
type_arguments: [];
|
|
819
819
|
};
|
|
820
|
+
interface DistributeTransactionFee {
|
|
821
|
+
pool_address: MoveAddressType;
|
|
822
|
+
fee_amount: bigint;
|
|
823
|
+
}
|
|
824
|
+
namespace DistributeTransactionFee {
|
|
825
|
+
const TYPE_QNAME = "0x1::stake::DistributeTransactionFee";
|
|
826
|
+
function type(): TypeDescriptor<DistributeTransactionFee>;
|
|
827
|
+
}
|
|
828
|
+
type DistributeTransactionFeeInstance = TypedEventInstance<DistributeTransactionFee> & {
|
|
829
|
+
data_decoded: DistributeTransactionFee;
|
|
830
|
+
type_arguments: [];
|
|
831
|
+
};
|
|
820
832
|
interface IncreaseLockup {
|
|
821
833
|
pool_address: MoveAddressType;
|
|
822
834
|
old_locked_until_secs: bigint;
|
|
@@ -906,6 +918,13 @@ export declare namespace stake {
|
|
|
906
918
|
const TYPE_QNAME = "0x1::stake::OwnerCapability";
|
|
907
919
|
function type(): TypeDescriptor<OwnerCapability>;
|
|
908
920
|
}
|
|
921
|
+
interface PendingTransactionFee {
|
|
922
|
+
pending_fee_by_validator: big_ordered_map.BigOrderedMap<bigint, aggregator_v2.Aggregator<bigint>>;
|
|
923
|
+
}
|
|
924
|
+
namespace PendingTransactionFee {
|
|
925
|
+
const TYPE_QNAME = "0x1::stake::PendingTransactionFee";
|
|
926
|
+
function type(): TypeDescriptor<PendingTransactionFee>;
|
|
927
|
+
}
|
|
909
928
|
interface ReactivateStake {
|
|
910
929
|
pool_address: MoveAddressType;
|
|
911
930
|
amount: bigint;
|
|
@@ -1229,6 +1248,7 @@ export declare namespace stake {
|
|
|
1229
1248
|
function getOperator(client: Aptos, request: {
|
|
1230
1249
|
functionArguments: [MoveAddressType];
|
|
1231
1250
|
}, version?: bigint): Promise<[MoveAddressType]>;
|
|
1251
|
+
function getPendingTransactionFee(client: Aptos, version?: bigint): Promise<[bigint[]]>;
|
|
1232
1252
|
function getRemainingLockupSecs(client: Aptos, request: {
|
|
1233
1253
|
functionArguments: [MoveAddressType];
|
|
1234
1254
|
}, version?: bigint): Promise<[bigint]>;
|