@typemove/aptos 2.0.3-rc.7 → 2.0.4-rc.1

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.
@@ -925,6 +925,14 @@ export declare namespace stake {
925
925
  const TYPE_QNAME = "0x1::stake::PendingTransactionFee";
926
926
  function type(): TypeDescriptor<PendingTransactionFee>;
927
927
  }
928
+ interface PrecomputedValidatorSet {
929
+ validator_set: stake.ValidatorSet;
930
+ is_liveness_fallback: boolean;
931
+ }
932
+ namespace PrecomputedValidatorSet {
933
+ const TYPE_QNAME = "0x1::stake::PrecomputedValidatorSet";
934
+ function type(): TypeDescriptor<PrecomputedValidatorSet>;
935
+ }
928
936
  interface ReactivateStake {
929
937
  pool_address: MoveAddressType;
930
938
  amount: bigint;
@@ -1268,6 +1276,9 @@ export declare namespace stake {
1268
1276
  functionArguments: [MoveAddressType];
1269
1277
  }, version?: bigint): Promise<[MoveAddressType]>;
1270
1278
  function getPendingTransactionFee(client: Aptos, version?: bigint): Promise<[bigint[]]>;
1279
+ function getPoolAddressForOwner(client: Aptos, request: {
1280
+ functionArguments: [MoveAddressType];
1281
+ }, version?: bigint): Promise<[MoveAddressType]>;
1271
1282
  function getRemainingLockupSecs(client: Aptos, request: {
1272
1283
  functionArguments: [MoveAddressType];
1273
1284
  }, version?: bigint): Promise<[bigint]>;
@@ -1283,6 +1294,9 @@ export declare namespace stake {
1283
1294
  function getValidatorState(client: Aptos, request: {
1284
1295
  functionArguments: [MoveAddressType];
1285
1296
  }, version?: bigint): Promise<[bigint]>;
1297
+ function ownerCapExists(client: Aptos, request: {
1298
+ functionArguments: [MoveAddressType];
1299
+ }, version?: bigint): Promise<[boolean]>;
1286
1300
  function stakePoolExists(client: Aptos, request: {
1287
1301
  functionArguments: [MoveAddressType];
1288
1302
  }, version?: bigint): Promise<[boolean]>;
@@ -3275,6 +3289,24 @@ export declare namespace smart_vector {
3275
3289
  namespace entry { }
3276
3290
  namespace view { }
3277
3291
  }
3292
+ export declare namespace storage_slot {
3293
+ interface StorageSlot<T0> {
3294
+ addr: MoveAddressType;
3295
+ }
3296
+ namespace StorageSlot {
3297
+ const TYPE_QNAME = "0x1::storage_slot::StorageSlot";
3298
+ function type<T0>(arg0?: TypeDescriptor<T0>): TypeDescriptor<StorageSlot<T0>>;
3299
+ }
3300
+ interface StorageSlotResource<T0> {
3301
+ val: T0;
3302
+ }
3303
+ namespace StorageSlotResource {
3304
+ const TYPE_QNAME = "0x1::storage_slot::StorageSlotResource";
3305
+ function type<T0>(arg0?: TypeDescriptor<T0>): TypeDescriptor<StorageSlotResource<T0>>;
3306
+ }
3307
+ namespace entry { }
3308
+ namespace view { }
3309
+ }
3278
3310
  export declare namespace string_utils {
3279
3311
  interface Cons<T0, T1> {
3280
3312
  car: T0;
@@ -3963,14 +3995,14 @@ export declare namespace fungible_asset {
3963
3995
  }, options?: InputGenerateTransactionOptions): Promise<PendingTransactionResponse>;
3964
3996
  }
3965
3997
  namespace view {
3966
- function isUntransferable<T0 = any>(client: Aptos, request: {
3967
- typeArguments: [MoveStructId];
3968
- functionArguments: [object$.Object<T0>];
3969
- }, version?: bigint): Promise<[boolean]>;
3970
3998
  function name<T0 = any>(client: Aptos, request: {
3971
3999
  typeArguments: [MoveStructId];
3972
4000
  functionArguments: [object$.Object<T0>];
3973
4001
  }, version?: bigint): Promise<[string]>;
4002
+ function isUntransferable<T0 = any>(client: Aptos, request: {
4003
+ typeArguments: [MoveStructId];
4004
+ functionArguments: [object$.Object<T0>];
4005
+ }, version?: bigint): Promise<[boolean]>;
3974
4006
  function symbol$<T0 = any>(client: Aptos, request: {
3975
4007
  typeArguments: [MoveStructId];
3976
4008
  functionArguments: [object$.Object<T0>];
@@ -4593,6 +4625,9 @@ export declare namespace delegation_pool {
4593
4625
  function getStake(client: Aptos, request: {
4594
4626
  functionArguments: [MoveAddressType, MoveAddressType];
4595
4627
  }, version?: bigint): Promise<[bigint, bigint, bigint]>;
4628
+ function ownerCapExists(client: Aptos, request: {
4629
+ functionArguments: [MoveAddressType];
4630
+ }, version?: bigint): Promise<[boolean]>;
4596
4631
  function allowlistingEnabled(client: Aptos, request: {
4597
4632
  functionArguments: [MoveAddressType];
4598
4633
  }, version?: bigint): Promise<[boolean]>;
@@ -4648,9 +4683,6 @@ export declare namespace delegation_pool {
4648
4683
  function operatorCommissionPercentageNextLockupCycle(client: Aptos, request: {
4649
4684
  functionArguments: [MoveAddressType];
4650
4685
  }, version?: bigint): Promise<[bigint]>;
4651
- function ownerCapExists(client: Aptos, request: {
4652
- functionArguments: [MoveAddressType];
4653
- }, version?: bigint): Promise<[boolean]>;
4654
4686
  function shareholdersCountActivePool(client: Aptos, request: {
4655
4687
  functionArguments: [MoveAddressType];
4656
4688
  }, version?: bigint): Promise<[bigint]>;
@@ -6147,6 +6179,15 @@ export declare namespace chunky_dkg_config {
6147
6179
  const TYPE_QNAME = "0x1::chunky_dkg_config::ChunkyDKGConfig";
6148
6180
  function type(): TypeDescriptor<ChunkyDKGConfig>;
6149
6181
  }
6182
+ interface ConfigShadowV1 {
6183
+ secrecy_threshold: fixed_point64.FixedPoint64;
6184
+ reconstruction_threshold: fixed_point64.FixedPoint64;
6185
+ grace_period_secs: bigint;
6186
+ }
6187
+ namespace ConfigShadowV1 {
6188
+ const TYPE_QNAME = "0x1::chunky_dkg_config::ConfigShadowV1";
6189
+ function type(): TypeDescriptor<ConfigShadowV1>;
6190
+ }
6150
6191
  namespace entry { }
6151
6192
  namespace view { }
6152
6193
  }
@@ -6568,6 +6609,36 @@ export declare namespace confidential_asset {
6568
6609
  }, version?: bigint): Promise<[boolean]>;
6569
6610
  }
6570
6611
  }
6612
+ export declare namespace transaction_limits {
6613
+ interface RequestedMultipliers {
6614
+ }
6615
+ namespace RequestedMultipliers {
6616
+ const TYPE_QNAME = "0x1::transaction_limits::RequestedMultipliers";
6617
+ function type(): TypeDescriptor<RequestedMultipliers>;
6618
+ }
6619
+ interface TxnLimitTier {
6620
+ min_stake: bigint;
6621
+ multiplier_percent: bigint;
6622
+ }
6623
+ namespace TxnLimitTier {
6624
+ const TYPE_QNAME = "0x1::transaction_limits::TxnLimitTier";
6625
+ function type(): TypeDescriptor<TxnLimitTier>;
6626
+ }
6627
+ interface TxnLimitsConfig {
6628
+ }
6629
+ namespace TxnLimitsConfig {
6630
+ const TYPE_QNAME = "0x1::transaction_limits::TxnLimitsConfig";
6631
+ function type(): TypeDescriptor<TxnLimitsConfig>;
6632
+ }
6633
+ interface UserTxnLimitsRequest {
6634
+ }
6635
+ namespace UserTxnLimitsRequest {
6636
+ const TYPE_QNAME = "0x1::transaction_limits::UserTxnLimitsRequest";
6637
+ function type(): TypeDescriptor<UserTxnLimitsRequest>;
6638
+ }
6639
+ namespace entry { }
6640
+ namespace view { }
6641
+ }
6571
6642
  export declare namespace account_abstraction {
6572
6643
  interface DerivableDispatchableAuthenticator {
6573
6644
  }
@@ -6836,6 +6907,17 @@ export declare namespace confidential_balance {
6836
6907
  function getNumPendingChunks(client: Aptos, version?: bigint): Promise<[bigint]>;
6837
6908
  }
6838
6909
  }
6910
+ export declare namespace epoch_timeout_config {
6911
+ interface EpochTimeoutConfig {
6912
+ force_end_grace_period_secs: option.Option<bigint>;
6913
+ }
6914
+ namespace EpochTimeoutConfig {
6915
+ const TYPE_QNAME = "0x1::epoch_timeout_config::EpochTimeoutConfig";
6916
+ function type(): TypeDescriptor<EpochTimeoutConfig>;
6917
+ }
6918
+ namespace entry { }
6919
+ namespace view { }
6920
+ }
6839
6921
  export declare namespace jwk_consensus_config {
6840
6922
  interface ConfigOff {
6841
6923
  dummy_field: boolean;
@@ -7050,14 +7132,14 @@ export declare namespace object_code_deployment {
7050
7132
  type_arguments: [];
7051
7133
  };
7052
7134
  namespace entry {
7053
- function freezeCodeObject(client: Aptos, account: AptosAccount, request: {
7054
- typeArguments: [];
7055
- functionArguments: [object$.Object<code.PackageRegistry>];
7056
- }, options?: InputGenerateTransactionOptions): Promise<PendingTransactionResponse>;
7057
7135
  function publish(client: Aptos, account: AptosAccount, request: {
7058
7136
  typeArguments: [];
7059
7137
  functionArguments: [string, string[]];
7060
7138
  }, options?: InputGenerateTransactionOptions): Promise<PendingTransactionResponse>;
7139
+ function freezeCodeObject(client: Aptos, account: AptosAccount, request: {
7140
+ typeArguments: [];
7141
+ functionArguments: [object$.Object<code.PackageRegistry>];
7142
+ }, options?: InputGenerateTransactionOptions): Promise<PendingTransactionResponse>;
7061
7143
  function upgrade(client: Aptos, account: AptosAccount, request: {
7062
7144
  typeArguments: [];
7063
7145
  functionArguments: [
@@ -7130,7 +7212,30 @@ export declare namespace sigma_protocol_witness {
7130
7212
  namespace entry { }
7131
7213
  namespace view { }
7132
7214
  }
7215
+ export declare namespace storage_slot_or_inline {
7216
+ interface Dummy {
7217
+ dummy_field: boolean;
7218
+ }
7219
+ namespace Dummy {
7220
+ const TYPE_QNAME = "0x1::storage_slot_or_inline::Dummy";
7221
+ function type(): TypeDescriptor<Dummy>;
7222
+ }
7223
+ interface StorageSlotOrInline<T0> {
7224
+ }
7225
+ namespace StorageSlotOrInline {
7226
+ const TYPE_QNAME = "0x1::storage_slot_or_inline::StorageSlotOrInline";
7227
+ function type<T0>(arg0?: TypeDescriptor<T0>): TypeDescriptor<StorageSlotOrInline<T0>>;
7228
+ }
7229
+ namespace entry { }
7230
+ namespace view { }
7231
+ }
7133
7232
  export declare namespace transaction_validation {
7233
+ interface EpilogueArgs {
7234
+ }
7235
+ namespace EpilogueArgs {
7236
+ const TYPE_QNAME = "0x1::transaction_validation::EpilogueArgs";
7237
+ function type(): TypeDescriptor<EpilogueArgs>;
7238
+ }
7134
7239
  interface GasPermission {
7135
7240
  dummy_field: boolean;
7136
7241
  }
@@ -7138,6 +7243,12 @@ export declare namespace transaction_validation {
7138
7243
  const TYPE_QNAME = "0x1::transaction_validation::GasPermission";
7139
7244
  function type(): TypeDescriptor<GasPermission>;
7140
7245
  }
7246
+ interface PrologueArgs {
7247
+ }
7248
+ namespace PrologueArgs {
7249
+ const TYPE_QNAME = "0x1::transaction_validation::PrologueArgs";
7250
+ function type(): TypeDescriptor<PrologueArgs>;
7251
+ }
7141
7252
  interface ReplayProtector {
7142
7253
  }
7143
7254
  namespace ReplayProtector {
@@ -7257,6 +7368,17 @@ export declare namespace storage_slots_allocator {
7257
7368
  namespace entry { }
7258
7369
  namespace view { }
7259
7370
  }
7371
+ export declare namespace chunky_dkg_config_seqnum {
7372
+ interface ChunkyDKGConfigSeqNum {
7373
+ seq_num: bigint;
7374
+ }
7375
+ namespace ChunkyDKGConfigSeqNum {
7376
+ const TYPE_QNAME = "0x1::chunky_dkg_config_seqnum::ChunkyDKGConfigSeqNum";
7377
+ function type(): TypeDescriptor<ChunkyDKGConfigSeqNum>;
7378
+ }
7379
+ namespace entry { }
7380
+ namespace view { }
7381
+ }
7260
7382
  export declare namespace randomness_api_v0_config {
7261
7383
  interface AllowCustomMaxGasFlag {
7262
7384
  value: boolean;
@@ -7287,6 +7409,16 @@ export declare namespace randomness_config_seqnum {
7287
7409
  namespace view { }
7288
7410
  }
7289
7411
  export declare namespace reconfiguration_with_dkg {
7412
+ interface ForceEndEpochEvent {
7413
+ }
7414
+ namespace ForceEndEpochEvent {
7415
+ const TYPE_QNAME = "0x1::reconfiguration_with_dkg::ForceEndEpochEvent";
7416
+ function type(): TypeDescriptor<ForceEndEpochEvent>;
7417
+ }
7418
+ type ForceEndEpochEventInstance = TypedEventInstance<ForceEndEpochEvent> & {
7419
+ data_decoded: ForceEndEpochEvent;
7420
+ type_arguments: [];
7421
+ };
7290
7422
  namespace entry { }
7291
7423
  namespace view { }
7292
7424
  }