@typemove/aptos 2.0.5 → 2.0.6

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.
@@ -1800,6 +1800,12 @@ export declare namespace account {
1800
1800
  data_decoded: CoinRegisterEvent;
1801
1801
  type_arguments: [];
1802
1802
  };
1803
+ interface EncryptedDK {
1804
+ }
1805
+ namespace EncryptedDK {
1806
+ const TYPE_QNAME = "0x1::account::EncryptedDK";
1807
+ function type(): TypeDescriptor<EncryptedDK>;
1808
+ }
1803
1809
  interface KeyRotation {
1804
1810
  account: MoveAddressType;
1805
1811
  old_authentication_key: string;
@@ -1960,18 +1966,28 @@ export declare namespace account {
1960
1966
  typeArguments: [];
1961
1967
  functionArguments: [];
1962
1968
  }, options?: InputGenerateTransactionOptions): Promise<PendingTransactionResponse>;
1969
+ function upsertEd25519BackupKeyAndEncryptDk(client: Aptos, account: AptosAccount, request: {
1970
+ typeArguments: [];
1971
+ functionArguments: [string, string, string, string];
1972
+ }, options?: InputGenerateTransactionOptions): Promise<PendingTransactionResponse>;
1963
1973
  function upsertEd25519BackupKeyOnKeylessAccount(client: Aptos, account: AptosAccount, request: {
1964
1974
  typeArguments: [];
1965
1975
  functionArguments: [string, string, string];
1966
1976
  }, options?: InputGenerateTransactionOptions): Promise<PendingTransactionResponse>;
1967
1977
  }
1968
1978
  namespace view {
1979
+ function encryptedDkExists(client: Aptos, request: {
1980
+ functionArguments: [MoveAddressType];
1981
+ }, version?: bigint): Promise<[boolean]>;
1969
1982
  function existsAt(client: Aptos, request: {
1970
1983
  functionArguments: [MoveAddressType];
1971
1984
  }, version?: bigint): Promise<[boolean]>;
1972
1985
  function getAuthenticationKey(client: Aptos, request: {
1973
1986
  functionArguments: [MoveAddressType];
1974
1987
  }, version?: bigint): Promise<[string]>;
1988
+ function getEncryptedDk(client: Aptos, request: {
1989
+ functionArguments: [MoveAddressType];
1990
+ }, version?: bigint): Promise<[account.EncryptedDK]>;
1975
1991
  function getGuidNextCreationNum(client: Aptos, request: {
1976
1992
  functionArguments: [MoveAddressType];
1977
1993
  }, version?: bigint): Promise<[bigint]>;
@@ -4721,7 +4737,20 @@ export declare namespace keyless_account {
4721
4737
  const TYPE_QNAME = "0x1::keyless_account::Groth16VerificationKey";
4722
4738
  function type(): TypeDescriptor<Groth16VerificationKey>;
4723
4739
  }
4724
- namespace entry { }
4740
+ namespace entry {
4741
+ function registerEkAndEncryptDk(client: Aptos, account: AptosAccount, request: {
4742
+ typeArguments: [];
4743
+ functionArguments: [
4744
+ string,
4745
+ string,
4746
+ object$.Object<fungible_asset.Metadata>,
4747
+ string,
4748
+ string[],
4749
+ string[],
4750
+ string
4751
+ ];
4752
+ }, options?: InputGenerateTransactionOptions): Promise<PendingTransactionResponse>;
4753
+ }
4725
4754
  namespace view { }
4726
4755
  }
4727
4756
  export declare namespace reconfiguration {
@@ -5339,6 +5368,12 @@ export declare namespace multisig_account {
5339
5368
  const TYPE_QNAME = "0x1::multisig_account::MultisigAccountCreationWithAuthKeyRevocationMessage";
5340
5369
  function type(): TypeDescriptor<MultisigAccountCreationWithAuthKeyRevocationMessage>;
5341
5370
  }
5371
+ interface MultisigAccountTimeLock {
5372
+ }
5373
+ namespace MultisigAccountTimeLock {
5374
+ const TYPE_QNAME = "0x1::multisig_account::MultisigAccountTimeLock";
5375
+ function type(): TypeDescriptor<MultisigAccountTimeLock>;
5376
+ }
5342
5377
  interface MultisigTransaction {
5343
5378
  payload: option.Option<string>;
5344
5379
  payload_hash: option.Option<string>;
@@ -5373,6 +5408,30 @@ export declare namespace multisig_account {
5373
5408
  data_decoded: RemoveOwnersEvent;
5374
5409
  type_arguments: [];
5375
5410
  };
5411
+ interface TimelockRemoved {
5412
+ multisig_account: MoveAddressType;
5413
+ }
5414
+ namespace TimelockRemoved {
5415
+ const TYPE_QNAME = "0x1::multisig_account::TimelockRemoved";
5416
+ function type(): TypeDescriptor<TimelockRemoved>;
5417
+ }
5418
+ type TimelockRemovedInstance = TypedEventInstance<TimelockRemoved> & {
5419
+ data_decoded: TimelockRemoved;
5420
+ type_arguments: [];
5421
+ };
5422
+ interface TimelockUpdated {
5423
+ multisig_account: MoveAddressType;
5424
+ timelock_period: bigint;
5425
+ override_threshold: option.Option<bigint>;
5426
+ }
5427
+ namespace TimelockUpdated {
5428
+ const TYPE_QNAME = "0x1::multisig_account::TimelockUpdated";
5429
+ function type(): TypeDescriptor<TimelockUpdated>;
5430
+ }
5431
+ type TimelockUpdatedInstance = TypedEventInstance<TimelockUpdated> & {
5432
+ data_decoded: TimelockUpdated;
5433
+ type_arguments: [];
5434
+ };
5376
5435
  interface TransactionExecutionFailed {
5377
5436
  multisig_account: MoveAddressType;
5378
5437
  executor: MoveAddressType;
@@ -5525,6 +5584,17 @@ export declare namespace multisig_account {
5525
5584
  typeArguments: [];
5526
5585
  functionArguments: [MoveAddressType[], bigint, string[], string[]];
5527
5586
  }, options?: InputGenerateTransactionOptions): Promise<PendingTransactionResponse>;
5587
+ function createWithOwnersAndTimelock(client: Aptos, account: AptosAccount, request: {
5588
+ typeArguments: [];
5589
+ functionArguments: [
5590
+ MoveAddressType[],
5591
+ bigint,
5592
+ string[],
5593
+ string[],
5594
+ option.Option<bigint>,
5595
+ option.Option<bigint>
5596
+ ];
5597
+ }, options?: InputGenerateTransactionOptions): Promise<PendingTransactionResponse>;
5528
5598
  function createWithOwnersThenRemoveBootstrapper(client: Aptos, account: AptosAccount, request: {
5529
5599
  typeArguments: [];
5530
5600
  functionArguments: [MoveAddressType[], bigint, string[], string[]];
@@ -5549,6 +5619,10 @@ export declare namespace multisig_account {
5549
5619
  typeArguments: [];
5550
5620
  functionArguments: [MoveAddressType[]];
5551
5621
  }, options?: InputGenerateTransactionOptions): Promise<PendingTransactionResponse>;
5622
+ function removeTimelock(client: Aptos, account: AptosAccount, request: {
5623
+ typeArguments: [];
5624
+ functionArguments: [];
5625
+ }, options?: InputGenerateTransactionOptions): Promise<PendingTransactionResponse>;
5552
5626
  function swapOwner(client: Aptos, account: AptosAccount, request: {
5553
5627
  typeArguments: [];
5554
5628
  functionArguments: [MoveAddressType, MoveAddressType];
@@ -5569,6 +5643,10 @@ export declare namespace multisig_account {
5569
5643
  typeArguments: [];
5570
5644
  functionArguments: [bigint];
5571
5645
  }, options?: InputGenerateTransactionOptions): Promise<PendingTransactionResponse>;
5646
+ function upsertTimelock(client: Aptos, account: AptosAccount, request: {
5647
+ typeArguments: [];
5648
+ functionArguments: [bigint, option.Option<bigint>];
5649
+ }, options?: InputGenerateTransactionOptions): Promise<PendingTransactionResponse>;
5572
5650
  function voteTransaction(client: Aptos, account: AptosAccount, request: {
5573
5651
  typeArguments: [];
5574
5652
  functionArguments: [MoveAddressType, bigint, boolean];
@@ -5613,6 +5691,9 @@ export declare namespace multisig_account {
5613
5691
  function owners(client: Aptos, request: {
5614
5692
  functionArguments: [MoveAddressType];
5615
5693
  }, version?: bigint): Promise<[MoveAddressType[]]>;
5694
+ function timelockPeriod(client: Aptos, request: {
5695
+ functionArguments: [MoveAddressType];
5696
+ }, version?: bigint): Promise<[bigint]>;
5616
5697
  function getNextMultisigAccountAddress(client: Aptos, request: {
5617
5698
  functionArguments: [MoveAddressType];
5618
5699
  }, version?: bigint): Promise<[MoveAddressType]>;
@@ -5631,6 +5712,9 @@ export declare namespace multisig_account {
5631
5712
  function nextSequenceNumber(client: Aptos, request: {
5632
5713
  functionArguments: [MoveAddressType];
5633
5714
  }, version?: bigint): Promise<[bigint]>;
5715
+ function timelockOverrideThreshold(client: Aptos, request: {
5716
+ functionArguments: [MoveAddressType];
5717
+ }, version?: bigint): Promise<[option.Option<bigint>]>;
5634
5718
  }
5635
5719
  }
5636
5720
  export declare namespace nonce_validation {