@typemove/aptos 1.2.9 → 1.3.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.
Files changed (101) hide show
  1. package/dist/cjs/account-resource-client.d.ts +8 -15
  2. package/dist/cjs/account-resource-client.d.ts.map +1 -1
  3. package/dist/cjs/account-resource-client.js +17 -10
  4. package/dist/cjs/account-resource-client.js.map +1 -1
  5. package/dist/cjs/account-resource-client.test.js.map +1 -1
  6. package/dist/cjs/aptos-chain-adapter.d.ts +3 -4
  7. package/dist/cjs/aptos-chain-adapter.d.ts.map +1 -1
  8. package/dist/cjs/aptos-chain-adapter.js +7 -2
  9. package/dist/cjs/aptos-chain-adapter.js.map +1 -1
  10. package/dist/cjs/builtin/0x1.d.ts +1039 -961
  11. package/dist/cjs/builtin/0x1.d.ts.map +1 -1
  12. package/dist/cjs/builtin/0x1.js +2675 -1458
  13. package/dist/cjs/builtin/0x1.js.map +1 -1
  14. package/dist/cjs/builtin/0x3.d.ts +126 -83
  15. package/dist/cjs/builtin/0x3.d.ts.map +1 -1
  16. package/dist/cjs/builtin/0x3.js +203 -117
  17. package/dist/cjs/builtin/0x3.js.map +1 -1
  18. package/dist/cjs/builtin/0x4.d.ts +139 -135
  19. package/dist/cjs/builtin/0x4.d.ts.map +1 -1
  20. package/dist/cjs/builtin/0x4.js +365 -210
  21. package/dist/cjs/builtin/0x4.js.map +1 -1
  22. package/dist/cjs/client.test.js.map +1 -1
  23. package/dist/cjs/codegen/codegen.d.ts +1 -1
  24. package/dist/cjs/codegen/codegen.d.ts.map +1 -1
  25. package/dist/cjs/codegen/codegen.js +29 -23
  26. package/dist/cjs/codegen/codegen.js.map +1 -1
  27. package/dist/cjs/codegen/types.test.js.map +1 -1
  28. package/dist/cjs/models.d.ts +2 -2
  29. package/dist/cjs/models.d.ts.map +1 -1
  30. package/dist/cjs/move-coder.d.ts +4 -5
  31. package/dist/cjs/move-coder.d.ts.map +1 -1
  32. package/dist/cjs/move-coder.js +6 -3
  33. package/dist/cjs/move-coder.js.map +1 -1
  34. package/dist/cjs/move-types.d.ts +1 -11
  35. package/dist/cjs/move-types.d.ts.map +1 -1
  36. package/dist/cjs/move-types.js +11 -0
  37. package/dist/cjs/move-types.js.map +1 -1
  38. package/dist/cjs/to-internal.d.ts +1 -1
  39. package/dist/cjs/to-internal.d.ts.map +1 -1
  40. package/dist/cjs/to-internal.js +8 -8
  41. package/dist/cjs/to-internal.js.map +1 -1
  42. package/dist/esm/account-resource-client.d.ts +8 -15
  43. package/dist/esm/account-resource-client.d.ts.map +1 -1
  44. package/dist/esm/account-resource-client.js +17 -10
  45. package/dist/esm/account-resource-client.js.map +1 -1
  46. package/dist/esm/account-resource-client.test.js.map +1 -1
  47. package/dist/esm/aptos-chain-adapter.d.ts +3 -4
  48. package/dist/esm/aptos-chain-adapter.d.ts.map +1 -1
  49. package/dist/esm/aptos-chain-adapter.js +7 -2
  50. package/dist/esm/aptos-chain-adapter.js.map +1 -1
  51. package/dist/esm/builtin/0x1.d.ts +1039 -961
  52. package/dist/esm/builtin/0x1.d.ts.map +1 -1
  53. package/dist/esm/builtin/0x1.js +2675 -1458
  54. package/dist/esm/builtin/0x1.js.map +1 -1
  55. package/dist/esm/builtin/0x3.d.ts +126 -83
  56. package/dist/esm/builtin/0x3.d.ts.map +1 -1
  57. package/dist/esm/builtin/0x3.js +203 -117
  58. package/dist/esm/builtin/0x3.js.map +1 -1
  59. package/dist/esm/builtin/0x4.d.ts +139 -135
  60. package/dist/esm/builtin/0x4.d.ts.map +1 -1
  61. package/dist/esm/builtin/0x4.js +365 -210
  62. package/dist/esm/builtin/0x4.js.map +1 -1
  63. package/dist/esm/client.test.js.map +1 -1
  64. package/dist/esm/codegen/codegen.d.ts +1 -1
  65. package/dist/esm/codegen/codegen.d.ts.map +1 -1
  66. package/dist/esm/codegen/codegen.js +29 -23
  67. package/dist/esm/codegen/codegen.js.map +1 -1
  68. package/dist/esm/codegen/run.js +5 -5
  69. package/dist/esm/codegen/run.js.map +1 -1
  70. package/dist/esm/codegen/types.test.js.map +1 -1
  71. package/dist/esm/models.d.ts +2 -2
  72. package/dist/esm/models.d.ts.map +1 -1
  73. package/dist/esm/move-coder.d.ts +4 -5
  74. package/dist/esm/move-coder.d.ts.map +1 -1
  75. package/dist/esm/move-coder.js +6 -3
  76. package/dist/esm/move-coder.js.map +1 -1
  77. package/dist/esm/move-types.d.ts +1 -11
  78. package/dist/esm/move-types.d.ts.map +1 -1
  79. package/dist/esm/move-types.js +11 -0
  80. package/dist/esm/move-types.js.map +1 -1
  81. package/dist/esm/to-internal.d.ts +1 -1
  82. package/dist/esm/to-internal.d.ts.map +1 -1
  83. package/dist/esm/to-internal.js +9 -9
  84. package/dist/esm/to-internal.js.map +1 -1
  85. package/package.json +3 -3
  86. package/src/abis/0x1.json +193 -4
  87. package/src/abis/0x4.json +20 -1
  88. package/src/account-resource-client.ts +30 -19
  89. package/src/aptos-chain-adapter.ts +10 -6
  90. package/src/builtin/0x1.ts +3994 -3160
  91. package/src/builtin/0x3.ts +337 -263
  92. package/src/builtin/0x4.ts +529 -437
  93. package/src/codegen/codegen.ts +29 -26
  94. package/src/codegen/run.ts +5 -5
  95. package/src/models.ts +7 -12
  96. package/src/move-coder.ts +18 -9
  97. package/src/move-types.ts +13 -12
  98. package/src/tests/types/0x48271d39d0b05bd6efca2278f22277d6fcc375504f9839fd73f74ace240861af.ts +829 -684
  99. package/src/tests/types/0x4dcae85fc5559071906cd5c76b7420fcbb4b0a92f00ab40ffc394aadbbff5ee9.ts +8 -9
  100. package/src/tests/types/0xbd35135844473187163ca197ca93b2ab014370587bb0ed3befff9e902d6bb541.ts +803 -687
  101. package/src/to-internal.ts +15 -10
@@ -1,10 +1,9 @@
1
1
  import { TypeDescriptor } from "@typemove/move";
2
2
  import { MoveCoder, TypedEventInstance } from "@typemove/aptos";
3
- import { Address } from "@typemove/aptos";
4
- import { AptosClient, AptosAccount, Types, OptionalTransactionArgs } from "aptos";
3
+ import { Aptos, Account as AptosAccount, MoveAddressType, PendingTransactionResponse, InputGenerateTransactionOptions, MoveStructId } from "@aptos-labs/ts-sdk";
5
4
  export declare namespace acl {
6
5
  interface ACL {
7
- list: Address[];
6
+ list: MoveAddressType[];
8
7
  }
9
8
  namespace ACL {
10
9
  const TYPE_QNAME = "0x1::acl::ACL";
@@ -39,7 +38,7 @@ export declare namespace bcs {
39
38
  }
40
39
  export declare namespace code {
41
40
  interface AllowedDep {
42
- account: Address;
41
+ account: MoveAddressType;
43
42
  module_name: string;
44
43
  }
45
44
  namespace AllowedDep {
@@ -61,7 +60,7 @@ export declare namespace code {
61
60
  type_arguments: [];
62
61
  }
63
62
  interface PackageDep {
64
- account: Address;
63
+ account: MoveAddressType;
65
64
  package_name: string;
66
65
  }
67
66
  namespace PackageDep {
@@ -113,10 +112,10 @@ export declare namespace code {
113
112
  type_arguments: [];
114
113
  }
115
114
  namespace entry {
116
- function publishPackageTxn(client: AptosClient, account: AptosAccount, request: {
117
- type_arguments: [];
118
- arguments: [string, string[]];
119
- }, extraArgs?: OptionalTransactionArgs): Promise<Types.PendingTransaction>;
115
+ function publishPackageTxn(client: Aptos, account: AptosAccount, request: {
116
+ typeArguments: [];
117
+ functionArguments: [string, string[]];
118
+ }, options?: InputGenerateTransactionOptions): Promise<PendingTransactionResponse>;
120
119
  }
121
120
  namespace view { }
122
121
  }
@@ -206,50 +205,50 @@ export declare namespace coin {
206
205
  type_arguments: [];
207
206
  }
208
207
  namespace entry {
209
- function freezeCoinStore<T0 = any>(client: AptosClient, account: AptosAccount, request: {
210
- type_arguments: [string];
211
- arguments: [Address, Address];
212
- }, extraArgs?: OptionalTransactionArgs): Promise<Types.PendingTransaction>;
213
- function transfer<T0 = any>(client: AptosClient, account: AptosAccount, request: {
214
- type_arguments: [string];
215
- arguments: [Address, bigint];
216
- }, extraArgs?: OptionalTransactionArgs): Promise<Types.PendingTransaction>;
217
- function unfreezeCoinStore<T0 = any>(client: AptosClient, account: AptosAccount, request: {
218
- type_arguments: [string];
219
- arguments: [Address, Address];
220
- }, extraArgs?: OptionalTransactionArgs): Promise<Types.PendingTransaction>;
221
- function upgradeSupply<T0 = any>(client: AptosClient, account: AptosAccount, request: {
222
- type_arguments: [string];
223
- arguments: [];
224
- }, extraArgs?: OptionalTransactionArgs): Promise<Types.PendingTransaction>;
208
+ function freezeCoinStore<T0 = any>(client: Aptos, account: AptosAccount, request: {
209
+ typeArguments: [MoveStructId];
210
+ functionArguments: [MoveAddressType, MoveAddressType];
211
+ }, options?: InputGenerateTransactionOptions): Promise<PendingTransactionResponse>;
212
+ function transfer<T0 = any>(client: Aptos, account: AptosAccount, request: {
213
+ typeArguments: [MoveStructId];
214
+ functionArguments: [MoveAddressType, bigint];
215
+ }, options?: InputGenerateTransactionOptions): Promise<PendingTransactionResponse>;
216
+ function unfreezeCoinStore<T0 = any>(client: Aptos, account: AptosAccount, request: {
217
+ typeArguments: [MoveStructId];
218
+ functionArguments: [MoveAddressType, MoveAddressType];
219
+ }, options?: InputGenerateTransactionOptions): Promise<PendingTransactionResponse>;
220
+ function upgradeSupply<T0 = any>(client: Aptos, account: AptosAccount, request: {
221
+ typeArguments: [MoveStructId];
222
+ functionArguments: [];
223
+ }, options?: InputGenerateTransactionOptions): Promise<PendingTransactionResponse>;
225
224
  }
226
225
  namespace view {
227
- function balance<T0 = any>(client: AptosClient, request: {
228
- type_arguments: [string];
229
- arguments: [Address];
226
+ function balance<T0 = any>(client: Aptos, request: {
227
+ typeArguments: [MoveStructId];
228
+ functionArguments: [MoveAddressType];
230
229
  }, version?: bigint): Promise<[bigint]>;
231
- function decimals<T0 = any>(client: AptosClient, request: {
232
- type_arguments: [string];
230
+ function decimals<T0 = any>(client: Aptos, request: {
231
+ typeArguments: [MoveStructId];
233
232
  }, version?: bigint): Promise<[number]>;
234
- function isAccountRegistered<T0 = any>(client: AptosClient, request: {
235
- type_arguments: [string];
236
- arguments: [Address];
233
+ function isAccountRegistered<T0 = any>(client: Aptos, request: {
234
+ typeArguments: [MoveStructId];
235
+ functionArguments: [MoveAddressType];
237
236
  }, version?: bigint): Promise<[Boolean]>;
238
- function isCoinInitialized<T0 = any>(client: AptosClient, request: {
239
- type_arguments: [string];
237
+ function isCoinInitialized<T0 = any>(client: Aptos, request: {
238
+ typeArguments: [MoveStructId];
240
239
  }, version?: bigint): Promise<[Boolean]>;
241
- function isCoinStoreFrozen<T0 = any>(client: AptosClient, request: {
242
- type_arguments: [string];
243
- arguments: [Address];
240
+ function isCoinStoreFrozen<T0 = any>(client: Aptos, request: {
241
+ typeArguments: [MoveStructId];
242
+ functionArguments: [MoveAddressType];
244
243
  }, version?: bigint): Promise<[Boolean]>;
245
- function name<T0 = any>(client: AptosClient, request: {
246
- type_arguments: [string];
244
+ function name<T0 = any>(client: Aptos, request: {
245
+ typeArguments: [MoveStructId];
247
246
  }, version?: bigint): Promise<[string]>;
248
- function supply<T0 = any>(client: AptosClient, request: {
249
- type_arguments: [string];
247
+ function supply<T0 = any>(client: Aptos, request: {
248
+ typeArguments: [MoveStructId];
250
249
  }, version?: bigint): Promise<[option.Option<bigint>]>;
251
- function symbol<T0 = any>(client: AptosClient, request: {
252
- type_arguments: [string];
250
+ function symbol<T0 = any>(client: Aptos, request: {
251
+ typeArguments: [MoveStructId];
253
252
  }, version?: bigint): Promise<[string]>;
254
253
  }
255
254
  }
@@ -267,7 +266,7 @@ export declare namespace guid {
267
266
  }
268
267
  interface ID {
269
268
  creation_num: bigint;
270
- addr: Address;
269
+ addr: MoveAddressType;
271
270
  }
272
271
  namespace ID {
273
272
  const TYPE_QNAME = "0x1::guid::ID";
@@ -300,12 +299,12 @@ export declare namespace block {
300
299
  function type(): TypeDescriptor<BlockResource>;
301
300
  }
302
301
  interface NewBlockEvent {
303
- hash: Address;
302
+ hash: MoveAddressType;
304
303
  epoch: bigint;
305
304
  round: bigint;
306
305
  height: bigint;
307
306
  previous_block_votes_bitvec: string;
308
- proposer: Address;
307
+ proposer: MoveAddressType;
309
308
  failed_proposer_indices: bigint[];
310
309
  time_microseconds: bigint;
311
310
  }
@@ -331,8 +330,8 @@ export declare namespace block {
331
330
  }
332
331
  namespace entry { }
333
332
  namespace view {
334
- function getCurrentBlockHeight(client: AptosClient, version?: bigint): Promise<[bigint]>;
335
- function getEpochIntervalSecs(client: AptosClient, version?: bigint): Promise<[bigint]>;
333
+ function getCurrentBlockHeight(client: Aptos, version?: bigint): Promise<[bigint]>;
334
+ function getEpochIntervalSecs(client: Aptos, version?: bigint): Promise<[bigint]>;
336
335
  }
337
336
  }
338
337
  export declare namespace debug {
@@ -357,7 +356,7 @@ export declare namespace event {
357
356
  }
358
357
  export declare namespace stake {
359
358
  interface AddStakeEvent {
360
- pool_address: Address;
359
+ pool_address: MoveAddressType;
361
360
  amount_added: bigint;
362
361
  }
363
362
  namespace AddStakeEvent {
@@ -369,7 +368,7 @@ export declare namespace stake {
369
368
  type_arguments: [];
370
369
  }
371
370
  interface AllowedValidators {
372
- accounts: Address[];
371
+ accounts: MoveAddressType[];
373
372
  }
374
373
  namespace AllowedValidators {
375
374
  const TYPE_QNAME = "0x1::stake::AllowedValidators";
@@ -383,7 +382,7 @@ export declare namespace stake {
383
382
  function type(): TypeDescriptor<AptosCoinCapabilities>;
384
383
  }
385
384
  interface DistributeRewardsEvent {
386
- pool_address: Address;
385
+ pool_address: MoveAddressType;
387
386
  rewards_amount: bigint;
388
387
  }
389
388
  namespace DistributeRewardsEvent {
@@ -395,7 +394,7 @@ export declare namespace stake {
395
394
  type_arguments: [];
396
395
  }
397
396
  interface IncreaseLockupEvent {
398
- pool_address: Address;
397
+ pool_address: MoveAddressType;
399
398
  old_locked_until_secs: bigint;
400
399
  new_locked_until_secs: bigint;
401
400
  }
@@ -420,7 +419,7 @@ export declare namespace stake {
420
419
  type_arguments: [];
421
420
  }
422
421
  interface JoinValidatorSetEvent {
423
- pool_address: Address;
422
+ pool_address: MoveAddressType;
424
423
  }
425
424
  namespace JoinValidatorSetEvent {
426
425
  const TYPE_QNAME = "0x1::stake::JoinValidatorSetEvent";
@@ -431,7 +430,7 @@ export declare namespace stake {
431
430
  type_arguments: [];
432
431
  }
433
432
  interface LeaveValidatorSetEvent {
434
- pool_address: Address;
433
+ pool_address: MoveAddressType;
435
434
  }
436
435
  namespace LeaveValidatorSetEvent {
437
436
  const TYPE_QNAME = "0x1::stake::LeaveValidatorSetEvent";
@@ -442,14 +441,14 @@ export declare namespace stake {
442
441
  type_arguments: [];
443
442
  }
444
443
  interface OwnerCapability {
445
- pool_address: Address;
444
+ pool_address: MoveAddressType;
446
445
  }
447
446
  namespace OwnerCapability {
448
447
  const TYPE_QNAME = "0x1::stake::OwnerCapability";
449
448
  function type(): TypeDescriptor<OwnerCapability>;
450
449
  }
451
450
  interface ReactivateStakeEvent {
452
- pool_address: Address;
451
+ pool_address: MoveAddressType;
453
452
  amount: bigint;
454
453
  }
455
454
  namespace ReactivateStakeEvent {
@@ -461,7 +460,7 @@ export declare namespace stake {
461
460
  type_arguments: [];
462
461
  }
463
462
  interface RegisterValidatorCandidateEvent {
464
- pool_address: Address;
463
+ pool_address: MoveAddressType;
465
464
  }
466
465
  namespace RegisterValidatorCandidateEvent {
467
466
  const TYPE_QNAME = "0x1::stake::RegisterValidatorCandidateEvent";
@@ -472,7 +471,7 @@ export declare namespace stake {
472
471
  type_arguments: [];
473
472
  }
474
473
  interface RotateConsensusKeyEvent {
475
- pool_address: Address;
474
+ pool_address: MoveAddressType;
476
475
  old_consensus_pubkey: string;
477
476
  new_consensus_pubkey: string;
478
477
  }
@@ -485,9 +484,9 @@ export declare namespace stake {
485
484
  type_arguments: [];
486
485
  }
487
486
  interface SetOperatorEvent {
488
- pool_address: Address;
489
- old_operator: Address;
490
- new_operator: Address;
487
+ pool_address: MoveAddressType;
488
+ old_operator: MoveAddressType;
489
+ new_operator: MoveAddressType;
491
490
  }
492
491
  namespace SetOperatorEvent {
493
492
  const TYPE_QNAME = "0x1::stake::SetOperatorEvent";
@@ -503,8 +502,8 @@ export declare namespace stake {
503
502
  pending_active: coin.Coin<aptos_coin.AptosCoin>;
504
503
  pending_inactive: coin.Coin<aptos_coin.AptosCoin>;
505
504
  locked_until_secs: bigint;
506
- operator_address: Address;
507
- delegated_voter: Address;
505
+ operator_address: MoveAddressType;
506
+ delegated_voter: MoveAddressType;
508
507
  initialize_validator_events: event.EventHandle<stake.RegisterValidatorCandidateEvent>;
509
508
  set_operator_events: event.EventHandle<stake.SetOperatorEvent>;
510
509
  add_stake_events: event.EventHandle<stake.AddStakeEvent>;
@@ -523,7 +522,7 @@ export declare namespace stake {
523
522
  function type(): TypeDescriptor<StakePool>;
524
523
  }
525
524
  interface UnlockStakeEvent {
526
- pool_address: Address;
525
+ pool_address: MoveAddressType;
527
526
  amount_unlocked: bigint;
528
527
  }
529
528
  namespace UnlockStakeEvent {
@@ -535,7 +534,7 @@ export declare namespace stake {
535
534
  type_arguments: [];
536
535
  }
537
536
  interface UpdateNetworkAndFullnodeAddressesEvent {
538
- pool_address: Address;
537
+ pool_address: MoveAddressType;
539
538
  old_network_addresses: string;
540
539
  new_network_addresses: string;
541
540
  old_fullnode_addresses: string;
@@ -564,14 +563,14 @@ export declare namespace stake {
564
563
  type_arguments: [];
565
564
  }
566
565
  interface ValidatorFees {
567
- fees_table: table.Table<Address, coin.Coin<aptos_coin.AptosCoin>>;
566
+ fees_table: table.Table<MoveAddressType, coin.Coin<aptos_coin.AptosCoin>>;
568
567
  }
569
568
  namespace ValidatorFees {
570
569
  const TYPE_QNAME = "0x1::stake::ValidatorFees";
571
570
  function type(): TypeDescriptor<ValidatorFees>;
572
571
  }
573
572
  interface ValidatorInfo {
574
- addr: Address;
573
+ addr: MoveAddressType;
575
574
  voting_power: bigint;
576
575
  config: stake.ValidatorConfig;
577
576
  }
@@ -603,7 +602,7 @@ export declare namespace stake {
603
602
  function type(): TypeDescriptor<ValidatorSet>;
604
603
  }
605
604
  interface WithdrawStakeEvent {
606
- pool_address: Address;
605
+ pool_address: MoveAddressType;
607
606
  amount_withdrawn: bigint;
608
607
  }
609
608
  namespace WithdrawStakeEvent {
@@ -615,92 +614,92 @@ export declare namespace stake {
615
614
  type_arguments: [];
616
615
  }
617
616
  namespace entry {
618
- function addStake(client: AptosClient, account: AptosAccount, request: {
619
- type_arguments: [];
620
- arguments: [bigint];
621
- }, extraArgs?: OptionalTransactionArgs): Promise<Types.PendingTransaction>;
622
- function increaseLockup(client: AptosClient, account: AptosAccount, request: {
623
- type_arguments: [];
624
- arguments: [];
625
- }, extraArgs?: OptionalTransactionArgs): Promise<Types.PendingTransaction>;
626
- function initializeStakeOwner(client: AptosClient, account: AptosAccount, request: {
627
- type_arguments: [];
628
- arguments: [bigint, Address, Address];
629
- }, extraArgs?: OptionalTransactionArgs): Promise<Types.PendingTransaction>;
630
- function initializeValidator(client: AptosClient, account: AptosAccount, request: {
631
- type_arguments: [];
632
- arguments: [string, string, string, string];
633
- }, extraArgs?: OptionalTransactionArgs): Promise<Types.PendingTransaction>;
634
- function joinValidatorSet(client: AptosClient, account: AptosAccount, request: {
635
- type_arguments: [];
636
- arguments: [Address];
637
- }, extraArgs?: OptionalTransactionArgs): Promise<Types.PendingTransaction>;
638
- function leaveValidatorSet(client: AptosClient, account: AptosAccount, request: {
639
- type_arguments: [];
640
- arguments: [Address];
641
- }, extraArgs?: OptionalTransactionArgs): Promise<Types.PendingTransaction>;
642
- function reactivateStake(client: AptosClient, account: AptosAccount, request: {
643
- type_arguments: [];
644
- arguments: [bigint];
645
- }, extraArgs?: OptionalTransactionArgs): Promise<Types.PendingTransaction>;
646
- function rotateConsensusKey(client: AptosClient, account: AptosAccount, request: {
647
- type_arguments: [];
648
- arguments: [Address, string, string];
649
- }, extraArgs?: OptionalTransactionArgs): Promise<Types.PendingTransaction>;
650
- function setDelegatedVoter(client: AptosClient, account: AptosAccount, request: {
651
- type_arguments: [];
652
- arguments: [Address];
653
- }, extraArgs?: OptionalTransactionArgs): Promise<Types.PendingTransaction>;
654
- function setOperator(client: AptosClient, account: AptosAccount, request: {
655
- type_arguments: [];
656
- arguments: [Address];
657
- }, extraArgs?: OptionalTransactionArgs): Promise<Types.PendingTransaction>;
658
- function unlock(client: AptosClient, account: AptosAccount, request: {
659
- type_arguments: [];
660
- arguments: [bigint];
661
- }, extraArgs?: OptionalTransactionArgs): Promise<Types.PendingTransaction>;
662
- function updateNetworkAndFullnodeAddresses(client: AptosClient, account: AptosAccount, request: {
663
- type_arguments: [];
664
- arguments: [Address, string, string];
665
- }, extraArgs?: OptionalTransactionArgs): Promise<Types.PendingTransaction>;
666
- function withdraw(client: AptosClient, account: AptosAccount, request: {
667
- type_arguments: [];
668
- arguments: [bigint];
669
- }, extraArgs?: OptionalTransactionArgs): Promise<Types.PendingTransaction>;
617
+ function addStake(client: Aptos, account: AptosAccount, request: {
618
+ typeArguments: [];
619
+ functionArguments: [bigint];
620
+ }, options?: InputGenerateTransactionOptions): Promise<PendingTransactionResponse>;
621
+ function increaseLockup(client: Aptos, account: AptosAccount, request: {
622
+ typeArguments: [];
623
+ functionArguments: [];
624
+ }, options?: InputGenerateTransactionOptions): Promise<PendingTransactionResponse>;
625
+ function initializeStakeOwner(client: Aptos, account: AptosAccount, request: {
626
+ typeArguments: [];
627
+ functionArguments: [bigint, MoveAddressType, MoveAddressType];
628
+ }, options?: InputGenerateTransactionOptions): Promise<PendingTransactionResponse>;
629
+ function initializeValidator(client: Aptos, account: AptosAccount, request: {
630
+ typeArguments: [];
631
+ functionArguments: [string, string, string, string];
632
+ }, options?: InputGenerateTransactionOptions): Promise<PendingTransactionResponse>;
633
+ function joinValidatorSet(client: Aptos, account: AptosAccount, request: {
634
+ typeArguments: [];
635
+ functionArguments: [MoveAddressType];
636
+ }, options?: InputGenerateTransactionOptions): Promise<PendingTransactionResponse>;
637
+ function leaveValidatorSet(client: Aptos, account: AptosAccount, request: {
638
+ typeArguments: [];
639
+ functionArguments: [MoveAddressType];
640
+ }, options?: InputGenerateTransactionOptions): Promise<PendingTransactionResponse>;
641
+ function reactivateStake(client: Aptos, account: AptosAccount, request: {
642
+ typeArguments: [];
643
+ functionArguments: [bigint];
644
+ }, options?: InputGenerateTransactionOptions): Promise<PendingTransactionResponse>;
645
+ function rotateConsensusKey(client: Aptos, account: AptosAccount, request: {
646
+ typeArguments: [];
647
+ functionArguments: [MoveAddressType, string, string];
648
+ }, options?: InputGenerateTransactionOptions): Promise<PendingTransactionResponse>;
649
+ function setDelegatedVoter(client: Aptos, account: AptosAccount, request: {
650
+ typeArguments: [];
651
+ functionArguments: [MoveAddressType];
652
+ }, options?: InputGenerateTransactionOptions): Promise<PendingTransactionResponse>;
653
+ function setOperator(client: Aptos, account: AptosAccount, request: {
654
+ typeArguments: [];
655
+ functionArguments: [MoveAddressType];
656
+ }, options?: InputGenerateTransactionOptions): Promise<PendingTransactionResponse>;
657
+ function unlock(client: Aptos, account: AptosAccount, request: {
658
+ typeArguments: [];
659
+ functionArguments: [bigint];
660
+ }, options?: InputGenerateTransactionOptions): Promise<PendingTransactionResponse>;
661
+ function updateNetworkAndFullnodeAddresses(client: Aptos, account: AptosAccount, request: {
662
+ typeArguments: [];
663
+ functionArguments: [MoveAddressType, string, string];
664
+ }, options?: InputGenerateTransactionOptions): Promise<PendingTransactionResponse>;
665
+ function withdraw(client: Aptos, account: AptosAccount, request: {
666
+ typeArguments: [];
667
+ functionArguments: [bigint];
668
+ }, options?: InputGenerateTransactionOptions): Promise<PendingTransactionResponse>;
670
669
  }
671
670
  namespace view {
672
- function getCurrentEpochProposalCounts(client: AptosClient, request: {
673
- arguments: [bigint];
671
+ function getCurrentEpochProposalCounts(client: Aptos, request: {
672
+ functionArguments: [bigint];
674
673
  }, version?: bigint): Promise<[bigint, bigint]>;
675
- function getCurrentEpochVotingPower(client: AptosClient, request: {
676
- arguments: [Address];
674
+ function getCurrentEpochVotingPower(client: Aptos, request: {
675
+ functionArguments: [MoveAddressType];
677
676
  }, version?: bigint): Promise<[bigint]>;
678
- function getDelegatedVoter(client: AptosClient, request: {
679
- arguments: [Address];
680
- }, version?: bigint): Promise<[Address]>;
681
- function getLockupSecs(client: AptosClient, request: {
682
- arguments: [Address];
677
+ function getDelegatedVoter(client: Aptos, request: {
678
+ functionArguments: [MoveAddressType];
679
+ }, version?: bigint): Promise<[MoveAddressType]>;
680
+ function getLockupSecs(client: Aptos, request: {
681
+ functionArguments: [MoveAddressType];
683
682
  }, version?: bigint): Promise<[bigint]>;
684
- function getOperator(client: AptosClient, request: {
685
- arguments: [Address];
686
- }, version?: bigint): Promise<[Address]>;
687
- function getRemainingLockupSecs(client: AptosClient, request: {
688
- arguments: [Address];
683
+ function getOperator(client: Aptos, request: {
684
+ functionArguments: [MoveAddressType];
685
+ }, version?: bigint): Promise<[MoveAddressType]>;
686
+ function getRemainingLockupSecs(client: Aptos, request: {
687
+ functionArguments: [MoveAddressType];
689
688
  }, version?: bigint): Promise<[bigint]>;
690
- function getStake(client: AptosClient, request: {
691
- arguments: [Address];
689
+ function getStake(client: Aptos, request: {
690
+ functionArguments: [MoveAddressType];
692
691
  }, version?: bigint): Promise<[bigint, bigint, bigint, bigint]>;
693
- function getValidatorConfig(client: AptosClient, request: {
694
- arguments: [Address];
692
+ function getValidatorConfig(client: Aptos, request: {
693
+ functionArguments: [MoveAddressType];
695
694
  }, version?: bigint): Promise<[string, string, string]>;
696
- function getValidatorIndex(client: AptosClient, request: {
697
- arguments: [Address];
695
+ function getValidatorIndex(client: Aptos, request: {
696
+ functionArguments: [MoveAddressType];
698
697
  }, version?: bigint): Promise<[bigint]>;
699
- function getValidatorState(client: AptosClient, request: {
700
- arguments: [Address];
698
+ function getValidatorState(client: Aptos, request: {
699
+ functionArguments: [MoveAddressType];
701
700
  }, version?: bigint): Promise<[bigint]>;
702
- function stakePoolExists(client: AptosClient, request: {
703
- arguments: [Address];
701
+ function stakePoolExists(client: Aptos, request: {
702
+ functionArguments: [MoveAddressType];
704
703
  }, version?: bigint): Promise<[Boolean]>;
705
704
  }
706
705
  }
@@ -717,7 +716,7 @@ export declare namespace table {
717
716
  type_arguments: [string];
718
717
  }
719
718
  interface Table<T0, T1> {
720
- handle: Address;
719
+ handle: MoveAddressType;
721
720
  }
722
721
  namespace Table {
723
722
  const TYPE_QNAME = "0x1::table::Table";
@@ -732,7 +731,7 @@ export declare namespace math64 {
732
731
  }
733
732
  export declare namespace object_ {
734
733
  interface ConstructorRef {
735
- self: Address;
734
+ self: MoveAddressType;
736
735
  can_delete: Boolean;
737
736
  }
738
737
  namespace ConstructorRef {
@@ -740,7 +739,7 @@ export declare namespace object_ {
740
739
  function type(): TypeDescriptor<ConstructorRef>;
741
740
  }
742
741
  interface DeleteRef {
743
- self: Address;
742
+ self: MoveAddressType;
744
743
  }
745
744
  namespace DeleteRef {
746
745
  const TYPE_QNAME = "0x1::object::DeleteRef";
@@ -751,7 +750,7 @@ export declare namespace object_ {
751
750
  type_arguments: [];
752
751
  }
753
752
  interface DeriveRef {
754
- self: Address;
753
+ self: MoveAddressType;
755
754
  }
756
755
  namespace DeriveRef {
757
756
  const TYPE_QNAME = "0x1::object::DeriveRef";
@@ -762,7 +761,7 @@ export declare namespace object_ {
762
761
  type_arguments: [];
763
762
  }
764
763
  interface ExtendRef {
765
- self: Address;
764
+ self: MoveAddressType;
766
765
  }
767
766
  namespace ExtendRef {
768
767
  const TYPE_QNAME = "0x1::object::ExtendRef";
@@ -773,15 +772,15 @@ export declare namespace object_ {
773
772
  type_arguments: [];
774
773
  }
775
774
  interface LinearTransferRef {
776
- self: Address;
777
- owner: Address;
775
+ self: MoveAddressType;
776
+ owner: MoveAddressType;
778
777
  }
779
778
  namespace LinearTransferRef {
780
779
  const TYPE_QNAME = "0x1::object::LinearTransferRef";
781
780
  function type(): TypeDescriptor<LinearTransferRef>;
782
781
  }
783
782
  interface Object<T0> {
784
- inner: Address;
783
+ inner: MoveAddressType;
785
784
  }
786
785
  namespace Object {
787
786
  const TYPE_QNAME = "0x1::object::Object";
@@ -793,7 +792,7 @@ export declare namespace object_ {
793
792
  }
794
793
  interface ObjectCore {
795
794
  guid_creation_num: bigint;
796
- owner: Address;
795
+ owner: MoveAddressType;
797
796
  allow_ungated_transfer: Boolean;
798
797
  transfer_events: event.EventHandle<object_.TransferEvent>;
799
798
  }
@@ -809,16 +808,16 @@ export declare namespace object_ {
809
808
  function type(): TypeDescriptor<ObjectGroup>;
810
809
  }
811
810
  interface TombStone {
812
- original_owner: Address;
811
+ original_owner: MoveAddressType;
813
812
  }
814
813
  namespace TombStone {
815
814
  const TYPE_QNAME = "0x1::object::TombStone";
816
815
  function type(): TypeDescriptor<TombStone>;
817
816
  }
818
817
  interface TransferEvent {
819
- object: Address;
820
- from: Address;
821
- to: Address;
818
+ object: MoveAddressType;
819
+ from: MoveAddressType;
820
+ to: MoveAddressType;
822
821
  }
823
822
  namespace TransferEvent {
824
823
  const TYPE_QNAME = "0x1::object::TransferEvent";
@@ -829,7 +828,7 @@ export declare namespace object_ {
829
828
  type_arguments: [];
830
829
  }
831
830
  interface TransferRef {
832
- self: Address;
831
+ self: MoveAddressType;
833
832
  }
834
833
  namespace TransferRef {
835
834
  const TYPE_QNAME = "0x1::object::TransferRef";
@@ -840,31 +839,31 @@ export declare namespace object_ {
840
839
  type_arguments: [];
841
840
  }
842
841
  namespace entry {
843
- function burn<T0 = any>(client: AptosClient, account: AptosAccount, request: {
844
- type_arguments: [string];
845
- arguments: [object_.Object<T0>];
846
- }, extraArgs?: OptionalTransactionArgs): Promise<Types.PendingTransaction>;
847
- function transfer<T0 = any>(client: AptosClient, account: AptosAccount, request: {
848
- type_arguments: [string];
849
- arguments: [object_.Object<T0>, Address];
850
- }, extraArgs?: OptionalTransactionArgs): Promise<Types.PendingTransaction>;
851
- function transferCall(client: AptosClient, account: AptosAccount, request: {
852
- type_arguments: [];
853
- arguments: [Address, Address];
854
- }, extraArgs?: OptionalTransactionArgs): Promise<Types.PendingTransaction>;
855
- function transferToObject<T0 = any, T1 = any>(client: AptosClient, account: AptosAccount, request: {
856
- type_arguments: [string, string];
857
- arguments: [object_.Object<T0>, object_.Object<T1>];
858
- }, extraArgs?: OptionalTransactionArgs): Promise<Types.PendingTransaction>;
859
- function unburn<T0 = any>(client: AptosClient, account: AptosAccount, request: {
860
- type_arguments: [string];
861
- arguments: [object_.Object<T0>];
862
- }, extraArgs?: OptionalTransactionArgs): Promise<Types.PendingTransaction>;
842
+ function burn<T0 = any>(client: Aptos, account: AptosAccount, request: {
843
+ typeArguments: [MoveStructId];
844
+ functionArguments: [object_.Object<T0>];
845
+ }, options?: InputGenerateTransactionOptions): Promise<PendingTransactionResponse>;
846
+ function transfer<T0 = any>(client: Aptos, account: AptosAccount, request: {
847
+ typeArguments: [MoveStructId];
848
+ functionArguments: [object_.Object<T0>, MoveAddressType];
849
+ }, options?: InputGenerateTransactionOptions): Promise<PendingTransactionResponse>;
850
+ function transferCall(client: Aptos, account: AptosAccount, request: {
851
+ typeArguments: [];
852
+ functionArguments: [MoveAddressType, MoveAddressType];
853
+ }, options?: InputGenerateTransactionOptions): Promise<PendingTransactionResponse>;
854
+ function transferToObject<T0 = any, T1 = any>(client: Aptos, account: AptosAccount, request: {
855
+ typeArguments: [MoveStructId, MoveStructId];
856
+ functionArguments: [object_.Object<T0>, object_.Object<T1>];
857
+ }, options?: InputGenerateTransactionOptions): Promise<PendingTransactionResponse>;
858
+ function unburn<T0 = any>(client: Aptos, account: AptosAccount, request: {
859
+ typeArguments: [MoveStructId];
860
+ functionArguments: [object_.Object<T0>];
861
+ }, options?: InputGenerateTransactionOptions): Promise<PendingTransactionResponse>;
863
862
  }
864
863
  namespace view {
865
- function isBurnt<T0 = any>(client: AptosClient, request: {
866
- type_arguments: [string];
867
- arguments: [object_.Object<T0>];
864
+ function isBurnt<T0 = any>(client: Aptos, request: {
865
+ typeArguments: [MoveStructId];
866
+ functionArguments: [object_.Object<T0>];
868
867
  }, version?: bigint): Promise<[Boolean]>;
869
868
  }
870
869
  }
@@ -924,7 +923,7 @@ export declare namespace voting {
924
923
  type_arguments: [];
925
924
  }
926
925
  interface Proposal<T0> {
927
- proposer: Address;
926
+ proposer: MoveAddressType;
928
927
  execution_content: option.Option<T0>;
929
928
  metadata: simple_map.SimpleMap<string, string>;
930
929
  creation_time_secs: bigint;
@@ -942,7 +941,7 @@ export declare namespace voting {
942
941
  function type<T0>(arg0?: TypeDescriptor<T0>): TypeDescriptor<Proposal<T0>>;
943
942
  }
944
943
  interface RegisterForumEvent {
945
- hosting_account: Address;
944
+ hosting_account: MoveAddressType;
946
945
  proposal_type_info: type_info.TypeInfo;
947
946
  }
948
947
  namespace RegisterForumEvent {
@@ -1000,49 +999,49 @@ export declare namespace voting {
1000
999
  }
1001
1000
  namespace entry { }
1002
1001
  namespace view {
1003
- function getEarlyResolutionVoteThreshold<T0 = any>(client: AptosClient, request: {
1004
- type_arguments: [string];
1005
- arguments: [Address, bigint];
1002
+ function getEarlyResolutionVoteThreshold<T0 = any>(client: Aptos, request: {
1003
+ typeArguments: [MoveStructId];
1004
+ functionArguments: [MoveAddressType, bigint];
1006
1005
  }, version?: bigint): Promise<[option.Option<bigint>]>;
1007
- function getExecutionHash<T0 = any>(client: AptosClient, request: {
1008
- type_arguments: [string];
1009
- arguments: [Address, bigint];
1006
+ function getExecutionHash<T0 = any>(client: Aptos, request: {
1007
+ typeArguments: [MoveStructId];
1008
+ functionArguments: [MoveAddressType, bigint];
1010
1009
  }, version?: bigint): Promise<[string]>;
1011
- function getMinVoteThreshold<T0 = any>(client: AptosClient, request: {
1012
- type_arguments: [string];
1013
- arguments: [Address, bigint];
1010
+ function getMinVoteThreshold<T0 = any>(client: Aptos, request: {
1011
+ typeArguments: [MoveStructId];
1012
+ functionArguments: [MoveAddressType, bigint];
1014
1013
  }, version?: bigint): Promise<[bigint]>;
1015
- function getProposalCreationSecs<T0 = any>(client: AptosClient, request: {
1016
- type_arguments: [string];
1017
- arguments: [Address, bigint];
1014
+ function getProposalCreationSecs<T0 = any>(client: Aptos, request: {
1015
+ typeArguments: [MoveStructId];
1016
+ functionArguments: [MoveAddressType, bigint];
1018
1017
  }, version?: bigint): Promise<[bigint]>;
1019
- function getProposalExpirationSecs<T0 = any>(client: AptosClient, request: {
1020
- type_arguments: [string];
1021
- arguments: [Address, bigint];
1018
+ function getProposalExpirationSecs<T0 = any>(client: Aptos, request: {
1019
+ typeArguments: [MoveStructId];
1020
+ functionArguments: [MoveAddressType, bigint];
1022
1021
  }, version?: bigint): Promise<[bigint]>;
1023
- function getProposalState<T0 = any>(client: AptosClient, request: {
1024
- type_arguments: [string];
1025
- arguments: [Address, bigint];
1022
+ function getProposalState<T0 = any>(client: Aptos, request: {
1023
+ typeArguments: [MoveStructId];
1024
+ functionArguments: [MoveAddressType, bigint];
1026
1025
  }, version?: bigint): Promise<[bigint]>;
1027
- function getVotes<T0 = any>(client: AptosClient, request: {
1028
- type_arguments: [string];
1029
- arguments: [Address, bigint];
1026
+ function getVotes<T0 = any>(client: Aptos, request: {
1027
+ typeArguments: [MoveStructId];
1028
+ functionArguments: [MoveAddressType, bigint];
1030
1029
  }, version?: bigint): Promise<[bigint, bigint]>;
1031
- function isMultiStepProposalInExecution<T0 = any>(client: AptosClient, request: {
1032
- type_arguments: [string];
1033
- arguments: [Address, bigint];
1030
+ function isMultiStepProposalInExecution<T0 = any>(client: Aptos, request: {
1031
+ typeArguments: [MoveStructId];
1032
+ functionArguments: [MoveAddressType, bigint];
1034
1033
  }, version?: bigint): Promise<[Boolean]>;
1035
- function isResolved<T0 = any>(client: AptosClient, request: {
1036
- type_arguments: [string];
1037
- arguments: [Address, bigint];
1034
+ function isResolved<T0 = any>(client: Aptos, request: {
1035
+ typeArguments: [MoveStructId];
1036
+ functionArguments: [MoveAddressType, bigint];
1038
1037
  }, version?: bigint): Promise<[Boolean]>;
1039
- function isVotingClosed<T0 = any>(client: AptosClient, request: {
1040
- type_arguments: [string];
1041
- arguments: [Address, bigint];
1038
+ function isVotingClosed<T0 = any>(client: Aptos, request: {
1039
+ typeArguments: [MoveStructId];
1040
+ functionArguments: [MoveAddressType, bigint];
1042
1041
  }, version?: bigint): Promise<[Boolean]>;
1043
- function nextProposalId<T0 = any>(client: AptosClient, request: {
1044
- type_arguments: [string];
1045
- arguments: [Address];
1042
+ function nextProposalId<T0 = any>(client: Aptos, request: {
1043
+ typeArguments: [MoveStructId];
1044
+ functionArguments: [MoveAddressType];
1046
1045
  }, version?: bigint): Promise<[bigint]>;
1047
1046
  }
1048
1047
  }
@@ -1061,7 +1060,7 @@ export declare namespace account {
1061
1060
  function type(): TypeDescriptor<Account>;
1062
1061
  }
1063
1062
  interface CapabilityOffer<T0> {
1064
- for: option.Option<Address>;
1063
+ for: option.Option<MoveAddressType>;
1065
1064
  }
1066
1065
  namespace CapabilityOffer {
1067
1066
  const TYPE_QNAME = "0x1::account::CapabilityOffer";
@@ -1091,14 +1090,14 @@ export declare namespace account {
1091
1090
  type_arguments: [];
1092
1091
  }
1093
1092
  interface OriginatingAddress {
1094
- address_map: table.Table<Address, Address>;
1093
+ address_map: table.Table<MoveAddressType, MoveAddressType>;
1095
1094
  }
1096
1095
  namespace OriginatingAddress {
1097
1096
  const TYPE_QNAME = "0x1::account::OriginatingAddress";
1098
1097
  function type(): TypeDescriptor<OriginatingAddress>;
1099
1098
  }
1100
1099
  interface RotationCapability {
1101
- account: Address;
1100
+ account: MoveAddressType;
1102
1101
  }
1103
1102
  namespace RotationCapability {
1104
1103
  const TYPE_QNAME = "0x1::account::RotationCapability";
@@ -1110,7 +1109,7 @@ export declare namespace account {
1110
1109
  }
1111
1110
  interface RotationCapabilityOfferProofChallenge {
1112
1111
  sequence_number: bigint;
1113
- recipient_address: Address;
1112
+ recipient_address: MoveAddressType;
1114
1113
  }
1115
1114
  namespace RotationCapabilityOfferProofChallenge {
1116
1115
  const TYPE_QNAME = "0x1::account::RotationCapabilityOfferProofChallenge";
@@ -1119,8 +1118,8 @@ export declare namespace account {
1119
1118
  interface RotationCapabilityOfferProofChallengeV2 {
1120
1119
  chain_id: number;
1121
1120
  sequence_number: bigint;
1122
- source_address: Address;
1123
- recipient_address: Address;
1121
+ source_address: MoveAddressType;
1122
+ recipient_address: MoveAddressType;
1124
1123
  }
1125
1124
  namespace RotationCapabilityOfferProofChallengeV2 {
1126
1125
  const TYPE_QNAME = "0x1::account::RotationCapabilityOfferProofChallengeV2";
@@ -1128,8 +1127,8 @@ export declare namespace account {
1128
1127
  }
1129
1128
  interface RotationProofChallenge {
1130
1129
  sequence_number: bigint;
1131
- originator: Address;
1132
- current_auth_key: Address;
1130
+ originator: MoveAddressType;
1131
+ current_auth_key: MoveAddressType;
1133
1132
  new_public_key: string;
1134
1133
  }
1135
1134
  namespace RotationProofChallenge {
@@ -1137,7 +1136,7 @@ export declare namespace account {
1137
1136
  function type(): TypeDescriptor<RotationProofChallenge>;
1138
1137
  }
1139
1138
  interface SignerCapability {
1140
- account: Address;
1139
+ account: MoveAddressType;
1141
1140
  }
1142
1141
  namespace SignerCapability {
1143
1142
  const TYPE_QNAME = "0x1::account::SignerCapability";
@@ -1149,7 +1148,7 @@ export declare namespace account {
1149
1148
  }
1150
1149
  interface SignerCapabilityOfferProofChallenge {
1151
1150
  sequence_number: bigint;
1152
- recipient_address: Address;
1151
+ recipient_address: MoveAddressType;
1153
1152
  }
1154
1153
  namespace SignerCapabilityOfferProofChallenge {
1155
1154
  const TYPE_QNAME = "0x1::account::SignerCapabilityOfferProofChallenge";
@@ -1157,71 +1156,71 @@ export declare namespace account {
1157
1156
  }
1158
1157
  interface SignerCapabilityOfferProofChallengeV2 {
1159
1158
  sequence_number: bigint;
1160
- source_address: Address;
1161
- recipient_address: Address;
1159
+ source_address: MoveAddressType;
1160
+ recipient_address: MoveAddressType;
1162
1161
  }
1163
1162
  namespace SignerCapabilityOfferProofChallengeV2 {
1164
1163
  const TYPE_QNAME = "0x1::account::SignerCapabilityOfferProofChallengeV2";
1165
1164
  function type(): TypeDescriptor<SignerCapabilityOfferProofChallengeV2>;
1166
1165
  }
1167
1166
  namespace entry {
1168
- function offerRotationCapability(client: AptosClient, account: AptosAccount, request: {
1169
- type_arguments: [];
1170
- arguments: [string, number, string, Address];
1171
- }, extraArgs?: OptionalTransactionArgs): Promise<Types.PendingTransaction>;
1172
- function offerSignerCapability(client: AptosClient, account: AptosAccount, request: {
1173
- type_arguments: [];
1174
- arguments: [string, number, string, Address];
1175
- }, extraArgs?: OptionalTransactionArgs): Promise<Types.PendingTransaction>;
1176
- function revokeAnyRotationCapability(client: AptosClient, account: AptosAccount, request: {
1177
- type_arguments: [];
1178
- arguments: [];
1179
- }, extraArgs?: OptionalTransactionArgs): Promise<Types.PendingTransaction>;
1180
- function revokeAnySignerCapability(client: AptosClient, account: AptosAccount, request: {
1181
- type_arguments: [];
1182
- arguments: [];
1183
- }, extraArgs?: OptionalTransactionArgs): Promise<Types.PendingTransaction>;
1184
- function revokeRotationCapability(client: AptosClient, account: AptosAccount, request: {
1185
- type_arguments: [];
1186
- arguments: [Address];
1187
- }, extraArgs?: OptionalTransactionArgs): Promise<Types.PendingTransaction>;
1188
- function revokeSignerCapability(client: AptosClient, account: AptosAccount, request: {
1189
- type_arguments: [];
1190
- arguments: [Address];
1191
- }, extraArgs?: OptionalTransactionArgs): Promise<Types.PendingTransaction>;
1192
- function rotateAuthenticationKey(client: AptosClient, account: AptosAccount, request: {
1193
- type_arguments: [];
1194
- arguments: [number, string, number, string, string, string];
1195
- }, extraArgs?: OptionalTransactionArgs): Promise<Types.PendingTransaction>;
1196
- function rotateAuthenticationKeyWithRotationCapability(client: AptosClient, account: AptosAccount, request: {
1197
- type_arguments: [];
1198
- arguments: [Address, number, string, string];
1199
- }, extraArgs?: OptionalTransactionArgs): Promise<Types.PendingTransaction>;
1167
+ function offerRotationCapability(client: Aptos, account: AptosAccount, request: {
1168
+ typeArguments: [];
1169
+ functionArguments: [string, number, string, MoveAddressType];
1170
+ }, options?: InputGenerateTransactionOptions): Promise<PendingTransactionResponse>;
1171
+ function offerSignerCapability(client: Aptos, account: AptosAccount, request: {
1172
+ typeArguments: [];
1173
+ functionArguments: [string, number, string, MoveAddressType];
1174
+ }, options?: InputGenerateTransactionOptions): Promise<PendingTransactionResponse>;
1175
+ function revokeAnyRotationCapability(client: Aptos, account: AptosAccount, request: {
1176
+ typeArguments: [];
1177
+ functionArguments: [];
1178
+ }, options?: InputGenerateTransactionOptions): Promise<PendingTransactionResponse>;
1179
+ function revokeAnySignerCapability(client: Aptos, account: AptosAccount, request: {
1180
+ typeArguments: [];
1181
+ functionArguments: [];
1182
+ }, options?: InputGenerateTransactionOptions): Promise<PendingTransactionResponse>;
1183
+ function revokeRotationCapability(client: Aptos, account: AptosAccount, request: {
1184
+ typeArguments: [];
1185
+ functionArguments: [MoveAddressType];
1186
+ }, options?: InputGenerateTransactionOptions): Promise<PendingTransactionResponse>;
1187
+ function revokeSignerCapability(client: Aptos, account: AptosAccount, request: {
1188
+ typeArguments: [];
1189
+ functionArguments: [MoveAddressType];
1190
+ }, options?: InputGenerateTransactionOptions): Promise<PendingTransactionResponse>;
1191
+ function rotateAuthenticationKey(client: Aptos, account: AptosAccount, request: {
1192
+ typeArguments: [];
1193
+ functionArguments: [number, string, number, string, string, string];
1194
+ }, options?: InputGenerateTransactionOptions): Promise<PendingTransactionResponse>;
1195
+ function rotateAuthenticationKeyWithRotationCapability(client: Aptos, account: AptosAccount, request: {
1196
+ typeArguments: [];
1197
+ functionArguments: [MoveAddressType, number, string, string];
1198
+ }, options?: InputGenerateTransactionOptions): Promise<PendingTransactionResponse>;
1200
1199
  }
1201
1200
  namespace view {
1202
- function existsAt(client: AptosClient, request: {
1203
- arguments: [Address];
1201
+ function existsAt(client: Aptos, request: {
1202
+ functionArguments: [MoveAddressType];
1204
1203
  }, version?: bigint): Promise<[Boolean]>;
1205
- function getAuthenticationKey(client: AptosClient, request: {
1206
- arguments: [Address];
1204
+ function getAuthenticationKey(client: Aptos, request: {
1205
+ functionArguments: [MoveAddressType];
1207
1206
  }, version?: bigint): Promise<[string]>;
1208
- function getGuidNextCreationNum(client: AptosClient, request: {
1209
- arguments: [Address];
1207
+ function getGuidNextCreationNum(client: Aptos, request: {
1208
+ functionArguments: [MoveAddressType];
1210
1209
  }, version?: bigint): Promise<[bigint]>;
1211
- function getRotationCapabilityOfferFor(client: AptosClient, request: {
1212
- arguments: [Address];
1213
- }, version?: bigint): Promise<[Address]>;
1214
- function getSequenceNumber(client: AptosClient, request: {
1215
- arguments: [Address];
1210
+ function getRotationCapabilityOfferFor(client: Aptos, request: {
1211
+ functionArguments: [MoveAddressType];
1212
+ }, version?: bigint): Promise<[MoveAddressType]>;
1213
+ function getSequenceNumber(client: Aptos, request: {
1214
+ functionArguments: [MoveAddressType];
1216
1215
  }, version?: bigint): Promise<[bigint]>;
1217
- function getSignerCapabilityOfferFor(client: AptosClient, request: {
1218
- arguments: [Address];
1219
- }, version?: bigint): Promise<[Address]>;
1220
- function isRotationCapabilityOffered(client: AptosClient, request: {
1221
- arguments: [Address];
1216
+ function getSignerCapabilityOfferFor(client: Aptos, request: {
1217
+ functionArguments: [MoveAddressType];
1218
+ }, version?: bigint): Promise<[MoveAddressType]>;
1219
+ function isRotationCapabilityOffered(client: Aptos, request: {
1220
+ functionArguments: [MoveAddressType];
1222
1221
  }, version?: bigint): Promise<[Boolean]>;
1223
- function isSignerCapabilityOffered(client: AptosClient, request: {
1224
- arguments: [Address];
1222
+ function isSignerCapabilityOffered(client: Aptos, request: {
1223
+ functionArguments: [MoveAddressType];
1225
1224
  }, version?: bigint): Promise<[Boolean]>;
1226
1225
  }
1227
1226
  }
@@ -1272,7 +1271,7 @@ export declare namespace ed25519 {
1272
1271
  }
1273
1272
  export declare namespace genesis {
1274
1273
  interface AccountMap {
1275
- account_address: Address;
1274
+ account_address: MoveAddressType;
1276
1275
  balance: bigint;
1277
1276
  }
1278
1277
  namespace AccountMap {
@@ -1280,20 +1279,20 @@ export declare namespace genesis {
1280
1279
  function type(): TypeDescriptor<AccountMap>;
1281
1280
  }
1282
1281
  interface EmployeeAccountMap {
1283
- accounts: Address[];
1282
+ accounts: MoveAddressType[];
1284
1283
  validator: genesis.ValidatorConfigurationWithCommission;
1285
1284
  vesting_schedule_numerator: bigint[];
1286
1285
  vesting_schedule_denominator: bigint;
1287
- beneficiary_resetter: Address;
1286
+ beneficiary_resetter: MoveAddressType;
1288
1287
  }
1289
1288
  namespace EmployeeAccountMap {
1290
1289
  const TYPE_QNAME = "0x1::genesis::EmployeeAccountMap";
1291
1290
  function type(): TypeDescriptor<EmployeeAccountMap>;
1292
1291
  }
1293
1292
  interface ValidatorConfiguration {
1294
- owner_address: Address;
1295
- operator_address: Address;
1296
- voter_address: Address;
1293
+ owner_address: MoveAddressType;
1294
+ operator_address: MoveAddressType;
1295
+ voter_address: MoveAddressType;
1297
1296
  stake_amount: bigint;
1298
1297
  consensus_pubkey: string;
1299
1298
  proof_of_possession: string;
@@ -1336,16 +1335,16 @@ export declare namespace version {
1336
1335
  function type(): TypeDescriptor<Version>;
1337
1336
  }
1338
1337
  namespace entry {
1339
- function setVersion(client: AptosClient, account: AptosAccount, request: {
1340
- type_arguments: [];
1341
- arguments: [bigint];
1342
- }, extraArgs?: OptionalTransactionArgs): Promise<Types.PendingTransaction>;
1338
+ function setVersion(client: Aptos, account: AptosAccount, request: {
1339
+ typeArguments: [];
1340
+ functionArguments: [bigint];
1341
+ }, options?: InputGenerateTransactionOptions): Promise<PendingTransactionResponse>;
1343
1342
  }
1344
1343
  namespace view { }
1345
1344
  }
1346
1345
  export declare namespace vesting {
1347
1346
  interface AdminStore {
1348
- vesting_contracts: Address[];
1347
+ vesting_contracts: MoveAddressType[];
1349
1348
  nonce: bigint;
1350
1349
  create_events: event.EventHandle<vesting.CreateVestingContractEvent>;
1351
1350
  }
@@ -1354,8 +1353,8 @@ export declare namespace vesting {
1354
1353
  function type(): TypeDescriptor<AdminStore>;
1355
1354
  }
1356
1355
  interface AdminWithdrawEvent {
1357
- admin: Address;
1358
- vesting_contract_address: Address;
1356
+ admin: MoveAddressType;
1357
+ vesting_contract_address: MoveAddressType;
1359
1358
  amount: bigint;
1360
1359
  }
1361
1360
  namespace AdminWithdrawEvent {
@@ -1367,12 +1366,12 @@ export declare namespace vesting {
1367
1366
  type_arguments: [];
1368
1367
  }
1369
1368
  interface CreateVestingContractEvent {
1370
- operator: Address;
1371
- voter: Address;
1369
+ operator: MoveAddressType;
1370
+ voter: MoveAddressType;
1372
1371
  grant_amount: bigint;
1373
- withdrawal_address: Address;
1374
- vesting_contract_address: Address;
1375
- staking_pool_address: Address;
1372
+ withdrawal_address: MoveAddressType;
1373
+ vesting_contract_address: MoveAddressType;
1374
+ staking_pool_address: MoveAddressType;
1376
1375
  commission_percentage: bigint;
1377
1376
  }
1378
1377
  namespace CreateVestingContractEvent {
@@ -1384,8 +1383,8 @@ export declare namespace vesting {
1384
1383
  type_arguments: [];
1385
1384
  }
1386
1385
  interface DistributeEvent {
1387
- admin: Address;
1388
- vesting_contract_address: Address;
1386
+ admin: MoveAddressType;
1387
+ vesting_contract_address: MoveAddressType;
1389
1388
  amount: bigint;
1390
1389
  }
1391
1390
  namespace DistributeEvent {
@@ -1397,9 +1396,9 @@ export declare namespace vesting {
1397
1396
  type_arguments: [];
1398
1397
  }
1399
1398
  interface ResetLockupEvent {
1400
- admin: Address;
1401
- vesting_contract_address: Address;
1402
- staking_pool_address: Address;
1399
+ admin: MoveAddressType;
1400
+ vesting_contract_address: MoveAddressType;
1401
+ staking_pool_address: MoveAddressType;
1403
1402
  new_lockup_expiration_secs: bigint;
1404
1403
  }
1405
1404
  namespace ResetLockupEvent {
@@ -1411,11 +1410,11 @@ export declare namespace vesting {
1411
1410
  type_arguments: [];
1412
1411
  }
1413
1412
  interface SetBeneficiaryEvent {
1414
- admin: Address;
1415
- vesting_contract_address: Address;
1416
- shareholder: Address;
1417
- old_beneficiary: Address;
1418
- new_beneficiary: Address;
1413
+ admin: MoveAddressType;
1414
+ vesting_contract_address: MoveAddressType;
1415
+ shareholder: MoveAddressType;
1416
+ old_beneficiary: MoveAddressType;
1417
+ new_beneficiary: MoveAddressType;
1419
1418
  }
1420
1419
  namespace SetBeneficiaryEvent {
1421
1420
  const TYPE_QNAME = "0x1::vesting::SetBeneficiaryEvent";
@@ -1426,9 +1425,9 @@ export declare namespace vesting {
1426
1425
  type_arguments: [];
1427
1426
  }
1428
1427
  interface StakingInfo {
1429
- pool_address: Address;
1430
- operator: Address;
1431
- voter: Address;
1428
+ pool_address: MoveAddressType;
1429
+ operator: MoveAddressType;
1430
+ voter: MoveAddressType;
1432
1431
  commission_percentage: bigint;
1433
1432
  }
1434
1433
  namespace StakingInfo {
@@ -1436,8 +1435,8 @@ export declare namespace vesting {
1436
1435
  function type(): TypeDescriptor<StakingInfo>;
1437
1436
  }
1438
1437
  interface TerminateEvent {
1439
- admin: Address;
1440
- vesting_contract_address: Address;
1438
+ admin: MoveAddressType;
1439
+ vesting_contract_address: MoveAddressType;
1441
1440
  }
1442
1441
  namespace TerminateEvent {
1443
1442
  const TYPE_QNAME = "0x1::vesting::TerminateEvent";
@@ -1448,9 +1447,9 @@ export declare namespace vesting {
1448
1447
  type_arguments: [];
1449
1448
  }
1450
1449
  interface UnlockRewardsEvent {
1451
- admin: Address;
1452
- vesting_contract_address: Address;
1453
- staking_pool_address: Address;
1450
+ admin: MoveAddressType;
1451
+ vesting_contract_address: MoveAddressType;
1452
+ staking_pool_address: MoveAddressType;
1454
1453
  amount: bigint;
1455
1454
  }
1456
1455
  namespace UnlockRewardsEvent {
@@ -1462,11 +1461,11 @@ export declare namespace vesting {
1462
1461
  type_arguments: [];
1463
1462
  }
1464
1463
  interface UpdateOperatorEvent {
1465
- admin: Address;
1466
- vesting_contract_address: Address;
1467
- staking_pool_address: Address;
1468
- old_operator: Address;
1469
- new_operator: Address;
1464
+ admin: MoveAddressType;
1465
+ vesting_contract_address: MoveAddressType;
1466
+ staking_pool_address: MoveAddressType;
1467
+ old_operator: MoveAddressType;
1468
+ new_operator: MoveAddressType;
1470
1469
  commission_percentage: bigint;
1471
1470
  }
1472
1471
  namespace UpdateOperatorEvent {
@@ -1478,11 +1477,11 @@ export declare namespace vesting {
1478
1477
  type_arguments: [];
1479
1478
  }
1480
1479
  interface UpdateVoterEvent {
1481
- admin: Address;
1482
- vesting_contract_address: Address;
1483
- staking_pool_address: Address;
1484
- old_voter: Address;
1485
- new_voter: Address;
1480
+ admin: MoveAddressType;
1481
+ vesting_contract_address: MoveAddressType;
1482
+ staking_pool_address: MoveAddressType;
1483
+ old_voter: MoveAddressType;
1484
+ new_voter: MoveAddressType;
1486
1485
  }
1487
1486
  namespace UpdateVoterEvent {
1488
1487
  const TYPE_QNAME = "0x1::vesting::UpdateVoterEvent";
@@ -1493,9 +1492,9 @@ export declare namespace vesting {
1493
1492
  type_arguments: [];
1494
1493
  }
1495
1494
  interface VestEvent {
1496
- admin: Address;
1497
- vesting_contract_address: Address;
1498
- staking_pool_address: Address;
1495
+ admin: MoveAddressType;
1496
+ vesting_contract_address: MoveAddressType;
1497
+ staking_pool_address: MoveAddressType;
1499
1498
  period_vested: bigint;
1500
1499
  amount: bigint;
1501
1500
  }
@@ -1508,7 +1507,7 @@ export declare namespace vesting {
1508
1507
  type_arguments: [];
1509
1508
  }
1510
1509
  interface VestingAccountManagement {
1511
- roles: simple_map.SimpleMap<string, Address>;
1510
+ roles: simple_map.SimpleMap<string, MoveAddressType>;
1512
1511
  }
1513
1512
  namespace VestingAccountManagement {
1514
1513
  const TYPE_QNAME = "0x1::vesting::VestingAccountManagement";
@@ -1516,11 +1515,11 @@ export declare namespace vesting {
1516
1515
  }
1517
1516
  interface VestingContract {
1518
1517
  state: bigint;
1519
- admin: Address;
1518
+ admin: MoveAddressType;
1520
1519
  grant_pool: pool_u64.Pool;
1521
- beneficiaries: simple_map.SimpleMap<Address, Address>;
1520
+ beneficiaries: simple_map.SimpleMap<MoveAddressType, MoveAddressType>;
1522
1521
  vesting_schedule: vesting.VestingSchedule;
1523
- withdrawal_address: Address;
1522
+ withdrawal_address: MoveAddressType;
1524
1523
  staking: vesting.StakingInfo;
1525
1524
  remaining_grant: bigint;
1526
1525
  signer_cap: account.SignerCapability;
@@ -1553,118 +1552,122 @@ export declare namespace vesting {
1553
1552
  type_arguments: [];
1554
1553
  }
1555
1554
  namespace entry {
1556
- function adminWithdraw(client: AptosClient, account: AptosAccount, request: {
1557
- type_arguments: [];
1558
- arguments: [Address];
1559
- }, extraArgs?: OptionalTransactionArgs): Promise<Types.PendingTransaction>;
1560
- function distribute(client: AptosClient, account: AptosAccount, request: {
1561
- type_arguments: [];
1562
- arguments: [Address];
1563
- }, extraArgs?: OptionalTransactionArgs): Promise<Types.PendingTransaction>;
1564
- function distributeMany(client: AptosClient, account: AptosAccount, request: {
1565
- type_arguments: [];
1566
- arguments: [Address[]];
1567
- }, extraArgs?: OptionalTransactionArgs): Promise<Types.PendingTransaction>;
1568
- function resetBeneficiary(client: AptosClient, account: AptosAccount, request: {
1569
- type_arguments: [];
1570
- arguments: [Address, Address];
1571
- }, extraArgs?: OptionalTransactionArgs): Promise<Types.PendingTransaction>;
1572
- function resetLockup(client: AptosClient, account: AptosAccount, request: {
1573
- type_arguments: [];
1574
- arguments: [Address];
1575
- }, extraArgs?: OptionalTransactionArgs): Promise<Types.PendingTransaction>;
1576
- function setBeneficiary(client: AptosClient, account: AptosAccount, request: {
1577
- type_arguments: [];
1578
- arguments: [Address, Address, Address];
1579
- }, extraArgs?: OptionalTransactionArgs): Promise<Types.PendingTransaction>;
1580
- function setBeneficiaryResetter(client: AptosClient, account: AptosAccount, request: {
1581
- type_arguments: [];
1582
- arguments: [Address, Address];
1583
- }, extraArgs?: OptionalTransactionArgs): Promise<Types.PendingTransaction>;
1584
- function setManagementRole(client: AptosClient, account: AptosAccount, request: {
1585
- type_arguments: [];
1586
- arguments: [Address, string, Address];
1587
- }, extraArgs?: OptionalTransactionArgs): Promise<Types.PendingTransaction>;
1588
- function terminateVestingContract(client: AptosClient, account: AptosAccount, request: {
1589
- type_arguments: [];
1590
- arguments: [Address];
1591
- }, extraArgs?: OptionalTransactionArgs): Promise<Types.PendingTransaction>;
1592
- function unlockRewards(client: AptosClient, account: AptosAccount, request: {
1593
- type_arguments: [];
1594
- arguments: [Address];
1595
- }, extraArgs?: OptionalTransactionArgs): Promise<Types.PendingTransaction>;
1596
- function unlockRewardsMany(client: AptosClient, account: AptosAccount, request: {
1597
- type_arguments: [];
1598
- arguments: [Address[]];
1599
- }, extraArgs?: OptionalTransactionArgs): Promise<Types.PendingTransaction>;
1600
- function updateCommissionPercentage(client: AptosClient, account: AptosAccount, request: {
1601
- type_arguments: [];
1602
- arguments: [Address, bigint];
1603
- }, extraArgs?: OptionalTransactionArgs): Promise<Types.PendingTransaction>;
1604
- function updateOperator(client: AptosClient, account: AptosAccount, request: {
1605
- type_arguments: [];
1606
- arguments: [Address, Address, bigint];
1607
- }, extraArgs?: OptionalTransactionArgs): Promise<Types.PendingTransaction>;
1608
- function updateOperatorWithSameCommission(client: AptosClient, account: AptosAccount, request: {
1609
- type_arguments: [];
1610
- arguments: [Address, Address];
1611
- }, extraArgs?: OptionalTransactionArgs): Promise<Types.PendingTransaction>;
1612
- function updateVoter(client: AptosClient, account: AptosAccount, request: {
1613
- type_arguments: [];
1614
- arguments: [Address, Address];
1615
- }, extraArgs?: OptionalTransactionArgs): Promise<Types.PendingTransaction>;
1616
- function vest(client: AptosClient, account: AptosAccount, request: {
1617
- type_arguments: [];
1618
- arguments: [Address];
1619
- }, extraArgs?: OptionalTransactionArgs): Promise<Types.PendingTransaction>;
1620
- function vestMany(client: AptosClient, account: AptosAccount, request: {
1621
- type_arguments: [];
1622
- arguments: [Address[]];
1623
- }, extraArgs?: OptionalTransactionArgs): Promise<Types.PendingTransaction>;
1555
+ function adminWithdraw(client: Aptos, account: AptosAccount, request: {
1556
+ typeArguments: [];
1557
+ functionArguments: [MoveAddressType];
1558
+ }, options?: InputGenerateTransactionOptions): Promise<PendingTransactionResponse>;
1559
+ function distribute(client: Aptos, account: AptosAccount, request: {
1560
+ typeArguments: [];
1561
+ functionArguments: [MoveAddressType];
1562
+ }, options?: InputGenerateTransactionOptions): Promise<PendingTransactionResponse>;
1563
+ function distributeMany(client: Aptos, account: AptosAccount, request: {
1564
+ typeArguments: [];
1565
+ functionArguments: [MoveAddressType[]];
1566
+ }, options?: InputGenerateTransactionOptions): Promise<PendingTransactionResponse>;
1567
+ function resetBeneficiary(client: Aptos, account: AptosAccount, request: {
1568
+ typeArguments: [];
1569
+ functionArguments: [MoveAddressType, MoveAddressType];
1570
+ }, options?: InputGenerateTransactionOptions): Promise<PendingTransactionResponse>;
1571
+ function resetLockup(client: Aptos, account: AptosAccount, request: {
1572
+ typeArguments: [];
1573
+ functionArguments: [MoveAddressType];
1574
+ }, options?: InputGenerateTransactionOptions): Promise<PendingTransactionResponse>;
1575
+ function setBeneficiary(client: Aptos, account: AptosAccount, request: {
1576
+ typeArguments: [];
1577
+ functionArguments: [MoveAddressType, MoveAddressType, MoveAddressType];
1578
+ }, options?: InputGenerateTransactionOptions): Promise<PendingTransactionResponse>;
1579
+ function setBeneficiaryForOperator(client: Aptos, account: AptosAccount, request: {
1580
+ typeArguments: [];
1581
+ functionArguments: [MoveAddressType];
1582
+ }, options?: InputGenerateTransactionOptions): Promise<PendingTransactionResponse>;
1583
+ function setBeneficiaryResetter(client: Aptos, account: AptosAccount, request: {
1584
+ typeArguments: [];
1585
+ functionArguments: [MoveAddressType, MoveAddressType];
1586
+ }, options?: InputGenerateTransactionOptions): Promise<PendingTransactionResponse>;
1587
+ function setManagementRole(client: Aptos, account: AptosAccount, request: {
1588
+ typeArguments: [];
1589
+ functionArguments: [MoveAddressType, string, MoveAddressType];
1590
+ }, options?: InputGenerateTransactionOptions): Promise<PendingTransactionResponse>;
1591
+ function terminateVestingContract(client: Aptos, account: AptosAccount, request: {
1592
+ typeArguments: [];
1593
+ functionArguments: [MoveAddressType];
1594
+ }, options?: InputGenerateTransactionOptions): Promise<PendingTransactionResponse>;
1595
+ function unlockRewards(client: Aptos, account: AptosAccount, request: {
1596
+ typeArguments: [];
1597
+ functionArguments: [MoveAddressType];
1598
+ }, options?: InputGenerateTransactionOptions): Promise<PendingTransactionResponse>;
1599
+ function unlockRewardsMany(client: Aptos, account: AptosAccount, request: {
1600
+ typeArguments: [];
1601
+ functionArguments: [MoveAddressType[]];
1602
+ }, options?: InputGenerateTransactionOptions): Promise<PendingTransactionResponse>;
1603
+ function updateCommissionPercentage(client: Aptos, account: AptosAccount, request: {
1604
+ typeArguments: [];
1605
+ functionArguments: [MoveAddressType, bigint];
1606
+ }, options?: InputGenerateTransactionOptions): Promise<PendingTransactionResponse>;
1607
+ function updateOperator(client: Aptos, account: AptosAccount, request: {
1608
+ typeArguments: [];
1609
+ functionArguments: [MoveAddressType, MoveAddressType, bigint];
1610
+ }, options?: InputGenerateTransactionOptions): Promise<PendingTransactionResponse>;
1611
+ function updateOperatorWithSameCommission(client: Aptos, account: AptosAccount, request: {
1612
+ typeArguments: [];
1613
+ functionArguments: [MoveAddressType, MoveAddressType];
1614
+ }, options?: InputGenerateTransactionOptions): Promise<PendingTransactionResponse>;
1615
+ function updateVoter(client: Aptos, account: AptosAccount, request: {
1616
+ typeArguments: [];
1617
+ functionArguments: [MoveAddressType, MoveAddressType];
1618
+ }, options?: InputGenerateTransactionOptions): Promise<PendingTransactionResponse>;
1619
+ function vest(client: Aptos, account: AptosAccount, request: {
1620
+ typeArguments: [];
1621
+ functionArguments: [MoveAddressType];
1622
+ }, options?: InputGenerateTransactionOptions): Promise<PendingTransactionResponse>;
1623
+ function vestMany(client: Aptos, account: AptosAccount, request: {
1624
+ typeArguments: [];
1625
+ functionArguments: [MoveAddressType[]];
1626
+ }, options?: InputGenerateTransactionOptions): Promise<PendingTransactionResponse>;
1624
1627
  }
1625
1628
  namespace view {
1626
- function accumulatedRewards(client: AptosClient, request: {
1627
- arguments: [Address, Address];
1629
+ function accumulatedRewards(client: Aptos, request: {
1630
+ functionArguments: [MoveAddressType, MoveAddressType];
1628
1631
  }, version?: bigint): Promise<[bigint]>;
1629
- function beneficiary(client: AptosClient, request: {
1630
- arguments: [Address, Address];
1631
- }, version?: bigint): Promise<[Address]>;
1632
- function operator(client: AptosClient, request: {
1633
- arguments: [Address];
1634
- }, version?: bigint): Promise<[Address]>;
1635
- function operatorCommissionPercentage(client: AptosClient, request: {
1636
- arguments: [Address];
1632
+ function beneficiary(client: Aptos, request: {
1633
+ functionArguments: [MoveAddressType, MoveAddressType];
1634
+ }, version?: bigint): Promise<[MoveAddressType]>;
1635
+ function operator(client: Aptos, request: {
1636
+ functionArguments: [MoveAddressType];
1637
+ }, version?: bigint): Promise<[MoveAddressType]>;
1638
+ function operatorCommissionPercentage(client: Aptos, request: {
1639
+ functionArguments: [MoveAddressType];
1637
1640
  }, version?: bigint): Promise<[bigint]>;
1638
- function periodDurationSecs(client: AptosClient, request: {
1639
- arguments: [Address];
1641
+ function periodDurationSecs(client: Aptos, request: {
1642
+ functionArguments: [MoveAddressType];
1640
1643
  }, version?: bigint): Promise<[bigint]>;
1641
- function remainingGrant(client: AptosClient, request: {
1642
- arguments: [Address];
1644
+ function remainingGrant(client: Aptos, request: {
1645
+ functionArguments: [MoveAddressType];
1643
1646
  }, version?: bigint): Promise<[bigint]>;
1644
- function shareholder(client: AptosClient, request: {
1645
- arguments: [Address, Address];
1646
- }, version?: bigint): Promise<[Address]>;
1647
- function shareholders(client: AptosClient, request: {
1648
- arguments: [Address];
1649
- }, version?: bigint): Promise<[Address[]]>;
1650
- function stakePoolAddress(client: AptosClient, request: {
1651
- arguments: [Address];
1652
- }, version?: bigint): Promise<[Address]>;
1653
- function totalAccumulatedRewards(client: AptosClient, request: {
1654
- arguments: [Address];
1647
+ function shareholder(client: Aptos, request: {
1648
+ functionArguments: [MoveAddressType, MoveAddressType];
1649
+ }, version?: bigint): Promise<[MoveAddressType]>;
1650
+ function shareholders(client: Aptos, request: {
1651
+ functionArguments: [MoveAddressType];
1652
+ }, version?: bigint): Promise<[MoveAddressType[]]>;
1653
+ function stakePoolAddress(client: Aptos, request: {
1654
+ functionArguments: [MoveAddressType];
1655
+ }, version?: bigint): Promise<[MoveAddressType]>;
1656
+ function totalAccumulatedRewards(client: Aptos, request: {
1657
+ functionArguments: [MoveAddressType];
1655
1658
  }, version?: bigint): Promise<[bigint]>;
1656
- function vestingContracts(client: AptosClient, request: {
1657
- arguments: [Address];
1658
- }, version?: bigint): Promise<[Address[]]>;
1659
- function vestingSchedule(client: AptosClient, request: {
1660
- arguments: [Address];
1659
+ function vestingContracts(client: Aptos, request: {
1660
+ functionArguments: [MoveAddressType];
1661
+ }, version?: bigint): Promise<[MoveAddressType[]]>;
1662
+ function vestingSchedule(client: Aptos, request: {
1663
+ functionArguments: [MoveAddressType];
1661
1664
  }, version?: bigint): Promise<[vesting.VestingSchedule]>;
1662
- function vestingStartSecs(client: AptosClient, request: {
1663
- arguments: [Address];
1665
+ function vestingStartSecs(client: Aptos, request: {
1666
+ functionArguments: [MoveAddressType];
1664
1667
  }, version?: bigint): Promise<[bigint]>;
1665
- function voter(client: AptosClient, request: {
1666
- arguments: [Address];
1667
- }, version?: bigint): Promise<[Address]>;
1668
+ function voter(client: Aptos, request: {
1669
+ functionArguments: [MoveAddressType];
1670
+ }, version?: bigint): Promise<[MoveAddressType]>;
1668
1671
  }
1669
1672
  }
1670
1673
  export declare namespace bls12381 {
@@ -1747,7 +1750,7 @@ export declare namespace chain_id {
1747
1750
  }
1748
1751
  namespace entry { }
1749
1752
  namespace view {
1750
- function get(client: AptosClient, version?: bigint): Promise<[number]>;
1753
+ function get(client: Aptos, version?: bigint): Promise<[number]>;
1751
1754
  }
1752
1755
  }
1753
1756
  export declare namespace features {
@@ -1770,8 +1773,8 @@ export declare namespace pool_u64 {
1770
1773
  shareholders_limit: bigint;
1771
1774
  total_coins: bigint;
1772
1775
  total_shares: bigint;
1773
- shares: simple_map.SimpleMap<Address, bigint>;
1774
- shareholders: Address[];
1776
+ shares: simple_map.SimpleMap<MoveAddressType, bigint>;
1777
+ shareholders: MoveAddressType[];
1775
1778
  scaling_factor: bigint;
1776
1779
  }
1777
1780
  namespace Pool {
@@ -1817,13 +1820,13 @@ export declare namespace timestamp {
1817
1820
  }
1818
1821
  namespace entry { }
1819
1822
  namespace view {
1820
- function nowMicroseconds(client: AptosClient, version?: bigint): Promise<[bigint]>;
1821
- function nowSeconds(client: AptosClient, version?: bigint): Promise<[bigint]>;
1823
+ function nowMicroseconds(client: Aptos, version?: bigint): Promise<[bigint]>;
1824
+ function nowSeconds(client: Aptos, version?: bigint): Promise<[bigint]>;
1822
1825
  }
1823
1826
  }
1824
1827
  export declare namespace type_info {
1825
1828
  interface TypeInfo {
1826
- account_address: Address;
1829
+ account_address: MoveAddressType;
1827
1830
  module_name: string;
1828
1831
  struct_name: string;
1829
1832
  }
@@ -1840,8 +1843,8 @@ export declare namespace type_info {
1840
1843
  }
1841
1844
  export declare namespace aggregator {
1842
1845
  interface Aggregator {
1843
- handle: Address;
1844
- key: Address;
1846
+ handle: MoveAddressType;
1847
+ key: MoveAddressType;
1845
1848
  limit: bigint;
1846
1849
  }
1847
1850
  namespace Aggregator {
@@ -1860,7 +1863,7 @@ export declare namespace aptos_coin {
1860
1863
  function type(): TypeDescriptor<AptosCoin>;
1861
1864
  }
1862
1865
  interface DelegatedMintCapability {
1863
- to: Address;
1866
+ to: MoveAddressType;
1864
1867
  }
1865
1868
  namespace DelegatedMintCapability {
1866
1869
  const TYPE_QNAME = "0x1::aptos_coin::DelegatedMintCapability";
@@ -1881,18 +1884,18 @@ export declare namespace aptos_coin {
1881
1884
  function type(): TypeDescriptor<MintCapStore>;
1882
1885
  }
1883
1886
  namespace entry {
1884
- function claimMintCapability(client: AptosClient, account: AptosAccount, request: {
1885
- type_arguments: [];
1886
- arguments: [];
1887
- }, extraArgs?: OptionalTransactionArgs): Promise<Types.PendingTransaction>;
1888
- function delegateMintCapability(client: AptosClient, account: AptosAccount, request: {
1889
- type_arguments: [];
1890
- arguments: [Address, Address];
1891
- }, extraArgs?: OptionalTransactionArgs): Promise<Types.PendingTransaction>;
1892
- function mint(client: AptosClient, account: AptosAccount, request: {
1893
- type_arguments: [];
1894
- arguments: [Address, bigint];
1895
- }, extraArgs?: OptionalTransactionArgs): Promise<Types.PendingTransaction>;
1887
+ function claimMintCapability(client: Aptos, account: AptosAccount, request: {
1888
+ typeArguments: [];
1889
+ functionArguments: [];
1890
+ }, options?: InputGenerateTransactionOptions): Promise<PendingTransactionResponse>;
1891
+ function delegateMintCapability(client: Aptos, account: AptosAccount, request: {
1892
+ typeArguments: [];
1893
+ functionArguments: [MoveAddressType, MoveAddressType];
1894
+ }, options?: InputGenerateTransactionOptions): Promise<PendingTransactionResponse>;
1895
+ function mint(client: Aptos, account: AptosAccount, request: {
1896
+ typeArguments: [];
1897
+ functionArguments: [MoveAddressType, bigint];
1898
+ }, options?: InputGenerateTransactionOptions): Promise<PendingTransactionResponse>;
1896
1899
  }
1897
1900
  namespace view { }
1898
1901
  }
@@ -1931,28 +1934,28 @@ export declare namespace bit_vector {
1931
1934
  }
1932
1935
  export declare namespace capability {
1933
1936
  interface Cap<T0> {
1934
- root: Address;
1937
+ root: MoveAddressType;
1935
1938
  }
1936
1939
  namespace Cap {
1937
1940
  const TYPE_QNAME = "0x1::capability::Cap";
1938
1941
  function type<T0>(arg0?: TypeDescriptor<T0>): TypeDescriptor<Cap<T0>>;
1939
1942
  }
1940
1943
  interface CapDelegateState<T0> {
1941
- root: Address;
1944
+ root: MoveAddressType;
1942
1945
  }
1943
1946
  namespace CapDelegateState {
1944
1947
  const TYPE_QNAME = "0x1::capability::CapDelegateState";
1945
1948
  function type<T0>(arg0?: TypeDescriptor<T0>): TypeDescriptor<CapDelegateState<T0>>;
1946
1949
  }
1947
1950
  interface CapState<T0> {
1948
- delegates: Address[];
1951
+ delegates: MoveAddressType[];
1949
1952
  }
1950
1953
  namespace CapState {
1951
1954
  const TYPE_QNAME = "0x1::capability::CapState";
1952
1955
  function type<T0>(arg0?: TypeDescriptor<T0>): TypeDescriptor<CapState<T0>>;
1953
1956
  }
1954
1957
  interface LinearCap<T0> {
1955
- root: Address;
1958
+ root: MoveAddressType;
1956
1959
  }
1957
1960
  namespace LinearCap {
1958
1961
  const TYPE_QNAME = "0x1::capability::LinearCap";
@@ -2105,8 +2108,8 @@ export declare namespace chain_status {
2105
2108
  }
2106
2109
  namespace entry { }
2107
2110
  namespace view {
2108
- function isGenesis(client: AptosClient, version?: bigint): Promise<[Boolean]>;
2109
- function isOperating(client: AptosClient, version?: bigint): Promise<[Boolean]>;
2111
+ function isGenesis(client: Aptos, version?: bigint): Promise<[Boolean]>;
2112
+ function isOperating(client: Aptos, version?: bigint): Promise<[Boolean]>;
2110
2113
  }
2111
2114
  }
2112
2115
  export declare namespace copyable_any {
@@ -2167,22 +2170,22 @@ export declare namespace managed_coin {
2167
2170
  function type<T0>(arg0?: TypeDescriptor<T0>): TypeDescriptor<Capabilities<T0>>;
2168
2171
  }
2169
2172
  namespace entry {
2170
- function burn<T0 = any>(client: AptosClient, account: AptosAccount, request: {
2171
- type_arguments: [string];
2172
- arguments: [bigint];
2173
- }, extraArgs?: OptionalTransactionArgs): Promise<Types.PendingTransaction>;
2174
- function initialize<T0 = any>(client: AptosClient, account: AptosAccount, request: {
2175
- type_arguments: [string];
2176
- arguments: [string, string, number, Boolean];
2177
- }, extraArgs?: OptionalTransactionArgs): Promise<Types.PendingTransaction>;
2178
- function mint<T0 = any>(client: AptosClient, account: AptosAccount, request: {
2179
- type_arguments: [string];
2180
- arguments: [Address, bigint];
2181
- }, extraArgs?: OptionalTransactionArgs): Promise<Types.PendingTransaction>;
2182
- function register<T0 = any>(client: AptosClient, account: AptosAccount, request: {
2183
- type_arguments: [string];
2184
- arguments: [];
2185
- }, extraArgs?: OptionalTransactionArgs): Promise<Types.PendingTransaction>;
2173
+ function burn<T0 = any>(client: Aptos, account: AptosAccount, request: {
2174
+ typeArguments: [MoveStructId];
2175
+ functionArguments: [bigint];
2176
+ }, options?: InputGenerateTransactionOptions): Promise<PendingTransactionResponse>;
2177
+ function initialize<T0 = any>(client: Aptos, account: AptosAccount, request: {
2178
+ typeArguments: [MoveStructId];
2179
+ functionArguments: [string, string, number, Boolean];
2180
+ }, options?: InputGenerateTransactionOptions): Promise<PendingTransactionResponse>;
2181
+ function mint<T0 = any>(client: Aptos, account: AptosAccount, request: {
2182
+ typeArguments: [MoveStructId];
2183
+ functionArguments: [MoveAddressType, bigint];
2184
+ }, options?: InputGenerateTransactionOptions): Promise<PendingTransactionResponse>;
2185
+ function register<T0 = any>(client: Aptos, account: AptosAccount, request: {
2186
+ typeArguments: [MoveStructId];
2187
+ functionArguments: [];
2188
+ }, options?: InputGenerateTransactionOptions): Promise<PendingTransactionResponse>;
2186
2189
  }
2187
2190
  namespace view { }
2188
2191
  }
@@ -2312,34 +2315,34 @@ export declare namespace aptos_account {
2312
2315
  function type(): TypeDescriptor<DirectTransferConfig>;
2313
2316
  }
2314
2317
  namespace entry {
2315
- function batchTransfer(client: AptosClient, account: AptosAccount, request: {
2316
- type_arguments: [];
2317
- arguments: [Address[], bigint[]];
2318
- }, extraArgs?: OptionalTransactionArgs): Promise<Types.PendingTransaction>;
2319
- function batchTransferCoins<T0 = any>(client: AptosClient, account: AptosAccount, request: {
2320
- type_arguments: [string];
2321
- arguments: [Address[], bigint[]];
2322
- }, extraArgs?: OptionalTransactionArgs): Promise<Types.PendingTransaction>;
2323
- function createAccount(client: AptosClient, account: AptosAccount, request: {
2324
- type_arguments: [];
2325
- arguments: [Address];
2326
- }, extraArgs?: OptionalTransactionArgs): Promise<Types.PendingTransaction>;
2327
- function setAllowDirectCoinTransfers(client: AptosClient, account: AptosAccount, request: {
2328
- type_arguments: [];
2329
- arguments: [Boolean];
2330
- }, extraArgs?: OptionalTransactionArgs): Promise<Types.PendingTransaction>;
2331
- function transfer(client: AptosClient, account: AptosAccount, request: {
2332
- type_arguments: [];
2333
- arguments: [Address, bigint];
2334
- }, extraArgs?: OptionalTransactionArgs): Promise<Types.PendingTransaction>;
2335
- function transferCoins<T0 = any>(client: AptosClient, account: AptosAccount, request: {
2336
- type_arguments: [string];
2337
- arguments: [Address, bigint];
2338
- }, extraArgs?: OptionalTransactionArgs): Promise<Types.PendingTransaction>;
2318
+ function batchTransfer(client: Aptos, account: AptosAccount, request: {
2319
+ typeArguments: [];
2320
+ functionArguments: [MoveAddressType[], bigint[]];
2321
+ }, options?: InputGenerateTransactionOptions): Promise<PendingTransactionResponse>;
2322
+ function batchTransferCoins<T0 = any>(client: Aptos, account: AptosAccount, request: {
2323
+ typeArguments: [MoveStructId];
2324
+ functionArguments: [MoveAddressType[], bigint[]];
2325
+ }, options?: InputGenerateTransactionOptions): Promise<PendingTransactionResponse>;
2326
+ function createAccount(client: Aptos, account: AptosAccount, request: {
2327
+ typeArguments: [];
2328
+ functionArguments: [MoveAddressType];
2329
+ }, options?: InputGenerateTransactionOptions): Promise<PendingTransactionResponse>;
2330
+ function setAllowDirectCoinTransfers(client: Aptos, account: AptosAccount, request: {
2331
+ typeArguments: [];
2332
+ functionArguments: [Boolean];
2333
+ }, options?: InputGenerateTransactionOptions): Promise<PendingTransactionResponse>;
2334
+ function transfer(client: Aptos, account: AptosAccount, request: {
2335
+ typeArguments: [];
2336
+ functionArguments: [MoveAddressType, bigint];
2337
+ }, options?: InputGenerateTransactionOptions): Promise<PendingTransactionResponse>;
2338
+ function transferCoins<T0 = any>(client: Aptos, account: AptosAccount, request: {
2339
+ typeArguments: [MoveStructId];
2340
+ functionArguments: [MoveAddressType, bigint];
2341
+ }, options?: InputGenerateTransactionOptions): Promise<PendingTransactionResponse>;
2339
2342
  }
2340
2343
  namespace view {
2341
- function canReceiveDirectCoinTransfers(client: AptosClient, request: {
2342
- arguments: [Address];
2344
+ function canReceiveDirectCoinTransfers(client: Aptos, request: {
2345
+ functionArguments: [MoveAddressType];
2343
2346
  }, version?: bigint): Promise<[Boolean]>;
2344
2347
  }
2345
2348
  }
@@ -2416,38 +2419,38 @@ export declare namespace multi_ed25519 {
2416
2419
  }
2417
2420
  export declare namespace staking_proxy {
2418
2421
  namespace entry {
2419
- function setOperator(client: AptosClient, account: AptosAccount, request: {
2420
- type_arguments: [];
2421
- arguments: [Address, Address];
2422
- }, extraArgs?: OptionalTransactionArgs): Promise<Types.PendingTransaction>;
2423
- function setStakePoolOperator(client: AptosClient, account: AptosAccount, request: {
2424
- type_arguments: [];
2425
- arguments: [Address];
2426
- }, extraArgs?: OptionalTransactionArgs): Promise<Types.PendingTransaction>;
2427
- function setStakePoolVoter(client: AptosClient, account: AptosAccount, request: {
2428
- type_arguments: [];
2429
- arguments: [Address];
2430
- }, extraArgs?: OptionalTransactionArgs): Promise<Types.PendingTransaction>;
2431
- function setStakingContractOperator(client: AptosClient, account: AptosAccount, request: {
2432
- type_arguments: [];
2433
- arguments: [Address, Address];
2434
- }, extraArgs?: OptionalTransactionArgs): Promise<Types.PendingTransaction>;
2435
- function setStakingContractVoter(client: AptosClient, account: AptosAccount, request: {
2436
- type_arguments: [];
2437
- arguments: [Address, Address];
2438
- }, extraArgs?: OptionalTransactionArgs): Promise<Types.PendingTransaction>;
2439
- function setVestingContractOperator(client: AptosClient, account: AptosAccount, request: {
2440
- type_arguments: [];
2441
- arguments: [Address, Address];
2442
- }, extraArgs?: OptionalTransactionArgs): Promise<Types.PendingTransaction>;
2443
- function setVestingContractVoter(client: AptosClient, account: AptosAccount, request: {
2444
- type_arguments: [];
2445
- arguments: [Address, Address];
2446
- }, extraArgs?: OptionalTransactionArgs): Promise<Types.PendingTransaction>;
2447
- function setVoter(client: AptosClient, account: AptosAccount, request: {
2448
- type_arguments: [];
2449
- arguments: [Address, Address];
2450
- }, extraArgs?: OptionalTransactionArgs): Promise<Types.PendingTransaction>;
2422
+ function setOperator(client: Aptos, account: AptosAccount, request: {
2423
+ typeArguments: [];
2424
+ functionArguments: [MoveAddressType, MoveAddressType];
2425
+ }, options?: InputGenerateTransactionOptions): Promise<PendingTransactionResponse>;
2426
+ function setStakePoolOperator(client: Aptos, account: AptosAccount, request: {
2427
+ typeArguments: [];
2428
+ functionArguments: [MoveAddressType];
2429
+ }, options?: InputGenerateTransactionOptions): Promise<PendingTransactionResponse>;
2430
+ function setStakePoolVoter(client: Aptos, account: AptosAccount, request: {
2431
+ typeArguments: [];
2432
+ functionArguments: [MoveAddressType];
2433
+ }, options?: InputGenerateTransactionOptions): Promise<PendingTransactionResponse>;
2434
+ function setStakingContractOperator(client: Aptos, account: AptosAccount, request: {
2435
+ typeArguments: [];
2436
+ functionArguments: [MoveAddressType, MoveAddressType];
2437
+ }, options?: InputGenerateTransactionOptions): Promise<PendingTransactionResponse>;
2438
+ function setStakingContractVoter(client: Aptos, account: AptosAccount, request: {
2439
+ typeArguments: [];
2440
+ functionArguments: [MoveAddressType, MoveAddressType];
2441
+ }, options?: InputGenerateTransactionOptions): Promise<PendingTransactionResponse>;
2442
+ function setVestingContractOperator(client: Aptos, account: AptosAccount, request: {
2443
+ typeArguments: [];
2444
+ functionArguments: [MoveAddressType, MoveAddressType];
2445
+ }, options?: InputGenerateTransactionOptions): Promise<PendingTransactionResponse>;
2446
+ function setVestingContractVoter(client: Aptos, account: AptosAccount, request: {
2447
+ typeArguments: [];
2448
+ functionArguments: [MoveAddressType, MoveAddressType];
2449
+ }, options?: InputGenerateTransactionOptions): Promise<PendingTransactionResponse>;
2450
+ function setVoter(client: Aptos, account: AptosAccount, request: {
2451
+ typeArguments: [];
2452
+ functionArguments: [MoveAddressType, MoveAddressType];
2453
+ }, options?: InputGenerateTransactionOptions): Promise<PendingTransactionResponse>;
2451
2454
  }
2452
2455
  namespace view { }
2453
2456
  }
@@ -2606,46 +2609,46 @@ export declare namespace fungible_asset {
2606
2609
  type_arguments: [];
2607
2610
  }
2608
2611
  namespace entry {
2609
- function transfer<T0 = any>(client: AptosClient, account: AptosAccount, request: {
2610
- type_arguments: [string];
2611
- arguments: [object_.Object<T0>, object_.Object<T0>, bigint];
2612
- }, extraArgs?: OptionalTransactionArgs): Promise<Types.PendingTransaction>;
2612
+ function transfer<T0 = any>(client: Aptos, account: AptosAccount, request: {
2613
+ typeArguments: [MoveStructId];
2614
+ functionArguments: [object_.Object<T0>, object_.Object<T0>, bigint];
2615
+ }, options?: InputGenerateTransactionOptions): Promise<PendingTransactionResponse>;
2613
2616
  }
2614
2617
  namespace view {
2615
- function balance<T0 = any>(client: AptosClient, request: {
2616
- type_arguments: [string];
2617
- arguments: [object_.Object<T0>];
2618
+ function balance<T0 = any>(client: Aptos, request: {
2619
+ typeArguments: [MoveStructId];
2620
+ functionArguments: [object_.Object<T0>];
2618
2621
  }, version?: bigint): Promise<[bigint]>;
2619
- function decimals<T0 = any>(client: AptosClient, request: {
2620
- type_arguments: [string];
2621
- arguments: [object_.Object<T0>];
2622
+ function decimals<T0 = any>(client: Aptos, request: {
2623
+ typeArguments: [MoveStructId];
2624
+ functionArguments: [object_.Object<T0>];
2622
2625
  }, version?: bigint): Promise<[number]>;
2623
- function isFrozen<T0 = any>(client: AptosClient, request: {
2624
- type_arguments: [string];
2625
- arguments: [object_.Object<T0>];
2626
+ function isFrozen<T0 = any>(client: Aptos, request: {
2627
+ typeArguments: [MoveStructId];
2628
+ functionArguments: [object_.Object<T0>];
2626
2629
  }, version?: bigint): Promise<[Boolean]>;
2627
- function maximum<T0 = any>(client: AptosClient, request: {
2628
- type_arguments: [string];
2629
- arguments: [object_.Object<T0>];
2630
+ function maximum<T0 = any>(client: Aptos, request: {
2631
+ typeArguments: [MoveStructId];
2632
+ functionArguments: [object_.Object<T0>];
2630
2633
  }, version?: bigint): Promise<[option.Option<bigint>]>;
2631
- function name<T0 = any>(client: AptosClient, request: {
2632
- type_arguments: [string];
2633
- arguments: [object_.Object<T0>];
2634
+ function name<T0 = any>(client: Aptos, request: {
2635
+ typeArguments: [MoveStructId];
2636
+ functionArguments: [object_.Object<T0>];
2634
2637
  }, version?: bigint): Promise<[string]>;
2635
- function storeExists(client: AptosClient, request: {
2636
- arguments: [Address];
2638
+ function storeExists(client: Aptos, request: {
2639
+ functionArguments: [MoveAddressType];
2637
2640
  }, version?: bigint): Promise<[Boolean]>;
2638
- function storeMetadata<T0 = any>(client: AptosClient, request: {
2639
- type_arguments: [string];
2640
- arguments: [object_.Object<T0>];
2641
+ function storeMetadata<T0 = any>(client: Aptos, request: {
2642
+ typeArguments: [MoveStructId];
2643
+ functionArguments: [object_.Object<T0>];
2641
2644
  }, version?: bigint): Promise<[object_.Object<fungible_asset.Metadata>]>;
2642
- function supply<T0 = any>(client: AptosClient, request: {
2643
- type_arguments: [string];
2644
- arguments: [object_.Object<T0>];
2645
+ function supply<T0 = any>(client: Aptos, request: {
2646
+ typeArguments: [MoveStructId];
2647
+ functionArguments: [object_.Object<T0>];
2645
2648
  }, version?: bigint): Promise<[option.Option<bigint>]>;
2646
- function symbol<T0 = any>(client: AptosClient, request: {
2647
- type_arguments: [string];
2648
- arguments: [object_.Object<T0>];
2649
+ function symbol<T0 = any>(client: Aptos, request: {
2650
+ typeArguments: [MoveStructId];
2651
+ functionArguments: [object_.Object<T0>];
2649
2652
  }, version?: bigint): Promise<[string]>;
2650
2653
  }
2651
2654
  }
@@ -2679,8 +2682,8 @@ export declare namespace staking_config {
2679
2682
  }
2680
2683
  export declare namespace delegation_pool {
2681
2684
  interface AddStakeEvent {
2682
- pool_address: Address;
2683
- delegator_address: Address;
2685
+ pool_address: MoveAddressType;
2686
+ delegator_address: MoveAddressType;
2684
2687
  amount_added: bigint;
2685
2688
  add_stake_fee: bigint;
2686
2689
  }
@@ -2692,10 +2695,17 @@ export declare namespace delegation_pool {
2692
2695
  data_decoded: AddStakeEvent;
2693
2696
  type_arguments: [];
2694
2697
  }
2698
+ interface BeneficiaryForOperator {
2699
+ beneficiary_for_operator: MoveAddressType;
2700
+ }
2701
+ namespace BeneficiaryForOperator {
2702
+ const TYPE_QNAME = "0x1::delegation_pool::BeneficiaryForOperator";
2703
+ function type(): TypeDescriptor<BeneficiaryForOperator>;
2704
+ }
2695
2705
  interface CreateProposalEvent {
2696
2706
  proposal_id: bigint;
2697
- voter: Address;
2698
- delegation_pool: Address;
2707
+ voter: MoveAddressType;
2708
+ delegation_pool: MoveAddressType;
2699
2709
  }
2700
2710
  namespace CreateProposalEvent {
2701
2711
  const TYPE_QNAME = "0x1::delegation_pool::CreateProposalEvent";
@@ -2706,9 +2716,9 @@ export declare namespace delegation_pool {
2706
2716
  type_arguments: [];
2707
2717
  }
2708
2718
  interface DelegateVotingPowerEvent {
2709
- pool_address: Address;
2710
- delegator: Address;
2711
- voter: Address;
2719
+ pool_address: MoveAddressType;
2720
+ delegator: MoveAddressType;
2721
+ voter: MoveAddressType;
2712
2722
  }
2713
2723
  namespace DelegateVotingPowerEvent {
2714
2724
  const TYPE_QNAME = "0x1::delegation_pool::DelegateVotingPowerEvent";
@@ -2736,7 +2746,7 @@ export declare namespace delegation_pool {
2736
2746
  active_shares: pool_u64_unbound.Pool;
2737
2747
  observed_lockup_cycle: delegation_pool.ObservedLockupCycle;
2738
2748
  inactive_shares: table.Table<delegation_pool.ObservedLockupCycle, pool_u64_unbound.Pool>;
2739
- pending_withdrawals: table.Table<Address, delegation_pool.ObservedLockupCycle>;
2749
+ pending_withdrawals: table.Table<MoveAddressType, delegation_pool.ObservedLockupCycle>;
2740
2750
  stake_pool_signer_cap: account.SignerCapability;
2741
2751
  total_coins_inactive: bigint;
2742
2752
  operator_commission_percentage: bigint;
@@ -2751,15 +2761,30 @@ export declare namespace delegation_pool {
2751
2761
  function type(): TypeDescriptor<DelegationPool>;
2752
2762
  }
2753
2763
  interface DelegationPoolOwnership {
2754
- pool_address: Address;
2764
+ pool_address: MoveAddressType;
2755
2765
  }
2756
2766
  namespace DelegationPoolOwnership {
2757
2767
  const TYPE_QNAME = "0x1::delegation_pool::DelegationPoolOwnership";
2758
2768
  function type(): TypeDescriptor<DelegationPoolOwnership>;
2759
2769
  }
2770
+ interface DistributeCommission {
2771
+ pool_address: MoveAddressType;
2772
+ operator: MoveAddressType;
2773
+ beneficiary: MoveAddressType;
2774
+ commission_active: bigint;
2775
+ commission_pending_inactive: bigint;
2776
+ }
2777
+ namespace DistributeCommission {
2778
+ const TYPE_QNAME = "0x1::delegation_pool::DistributeCommission";
2779
+ function type(): TypeDescriptor<DistributeCommission>;
2780
+ }
2781
+ interface DistributeCommissionInstance extends TypedEventInstance<DistributeCommission> {
2782
+ data_decoded: DistributeCommission;
2783
+ type_arguments: [];
2784
+ }
2760
2785
  interface DistributeCommissionEvent {
2761
- pool_address: Address;
2762
- operator: Address;
2786
+ pool_address: MoveAddressType;
2787
+ operator: MoveAddressType;
2763
2788
  commission_active: bigint;
2764
2789
  commission_pending_inactive: bigint;
2765
2790
  }
@@ -2774,8 +2799,8 @@ export declare namespace delegation_pool {
2774
2799
  interface GovernanceRecords {
2775
2800
  votes: smart_table.SmartTable<delegation_pool.VotingRecordKey, bigint>;
2776
2801
  votes_per_proposal: smart_table.SmartTable<bigint, bigint>;
2777
- vote_delegation: smart_table.SmartTable<Address, delegation_pool.VoteDelegation>;
2778
- delegated_votes: smart_table.SmartTable<Address, delegation_pool.DelegatedVotes>;
2802
+ vote_delegation: smart_table.SmartTable<MoveAddressType, delegation_pool.VoteDelegation>;
2803
+ delegated_votes: smart_table.SmartTable<MoveAddressType, delegation_pool.DelegatedVotes>;
2779
2804
  vote_events: event.EventHandle<delegation_pool.VoteEvent>;
2780
2805
  create_proposal_events: event.EventHandle<delegation_pool.CreateProposalEvent>;
2781
2806
  delegate_voting_power_events: event.EventHandle<delegation_pool.DelegateVotingPowerEvent>;
@@ -2796,8 +2821,8 @@ export declare namespace delegation_pool {
2796
2821
  type_arguments: [];
2797
2822
  }
2798
2823
  interface ReactivateStakeEvent {
2799
- pool_address: Address;
2800
- delegator_address: Address;
2824
+ pool_address: MoveAddressType;
2825
+ delegator_address: MoveAddressType;
2801
2826
  amount_reactivated: bigint;
2802
2827
  }
2803
2828
  namespace ReactivateStakeEvent {
@@ -2808,9 +2833,22 @@ export declare namespace delegation_pool {
2808
2833
  data_decoded: ReactivateStakeEvent;
2809
2834
  type_arguments: [];
2810
2835
  }
2836
+ interface SetBeneficiaryForOperator {
2837
+ operator: MoveAddressType;
2838
+ old_beneficiary: MoveAddressType;
2839
+ new_beneficiary: MoveAddressType;
2840
+ }
2841
+ namespace SetBeneficiaryForOperator {
2842
+ const TYPE_QNAME = "0x1::delegation_pool::SetBeneficiaryForOperator";
2843
+ function type(): TypeDescriptor<SetBeneficiaryForOperator>;
2844
+ }
2845
+ interface SetBeneficiaryForOperatorInstance extends TypedEventInstance<SetBeneficiaryForOperator> {
2846
+ data_decoded: SetBeneficiaryForOperator;
2847
+ type_arguments: [];
2848
+ }
2811
2849
  interface UnlockStakeEvent {
2812
- pool_address: Address;
2813
- delegator_address: Address;
2850
+ pool_address: MoveAddressType;
2851
+ delegator_address: MoveAddressType;
2814
2852
  amount_unlocked: bigint;
2815
2853
  }
2816
2854
  namespace UnlockStakeEvent {
@@ -2822,8 +2860,8 @@ export declare namespace delegation_pool {
2822
2860
  type_arguments: [];
2823
2861
  }
2824
2862
  interface VoteDelegation {
2825
- voter: Address;
2826
- pending_voter: Address;
2863
+ voter: MoveAddressType;
2864
+ pending_voter: MoveAddressType;
2827
2865
  last_locked_until_secs: bigint;
2828
2866
  }
2829
2867
  namespace VoteDelegation {
@@ -2835,9 +2873,9 @@ export declare namespace delegation_pool {
2835
2873
  type_arguments: [];
2836
2874
  }
2837
2875
  interface VoteEvent {
2838
- voter: Address;
2876
+ voter: MoveAddressType;
2839
2877
  proposal_id: bigint;
2840
- delegation_pool: Address;
2878
+ delegation_pool: MoveAddressType;
2841
2879
  num_votes: bigint;
2842
2880
  should_pass: Boolean;
2843
2881
  }
@@ -2850,7 +2888,7 @@ export declare namespace delegation_pool {
2850
2888
  type_arguments: [];
2851
2889
  }
2852
2890
  interface VotingRecordKey {
2853
- voter: Address;
2891
+ voter: MoveAddressType;
2854
2892
  proposal_id: bigint;
2855
2893
  }
2856
2894
  namespace VotingRecordKey {
@@ -2862,8 +2900,8 @@ export declare namespace delegation_pool {
2862
2900
  type_arguments: [];
2863
2901
  }
2864
2902
  interface WithdrawStakeEvent {
2865
- pool_address: Address;
2866
- delegator_address: Address;
2903
+ pool_address: MoveAddressType;
2904
+ delegator_address: MoveAddressType;
2867
2905
  amount_withdrawn: bigint;
2868
2906
  }
2869
2907
  namespace WithdrawStakeEvent {
@@ -2875,103 +2913,110 @@ export declare namespace delegation_pool {
2875
2913
  type_arguments: [];
2876
2914
  }
2877
2915
  namespace entry {
2878
- function addStake(client: AptosClient, account: AptosAccount, request: {
2879
- type_arguments: [];
2880
- arguments: [Address, bigint];
2881
- }, extraArgs?: OptionalTransactionArgs): Promise<Types.PendingTransaction>;
2882
- function createProposal(client: AptosClient, account: AptosAccount, request: {
2883
- type_arguments: [];
2884
- arguments: [Address, string, string, string, Boolean];
2885
- }, extraArgs?: OptionalTransactionArgs): Promise<Types.PendingTransaction>;
2886
- function delegateVotingPower(client: AptosClient, account: AptosAccount, request: {
2887
- type_arguments: [];
2888
- arguments: [Address, Address];
2889
- }, extraArgs?: OptionalTransactionArgs): Promise<Types.PendingTransaction>;
2890
- function enablePartialGovernanceVoting(client: AptosClient, account: AptosAccount, request: {
2891
- type_arguments: [];
2892
- arguments: [Address];
2893
- }, extraArgs?: OptionalTransactionArgs): Promise<Types.PendingTransaction>;
2894
- function initializeDelegationPool(client: AptosClient, account: AptosAccount, request: {
2895
- type_arguments: [];
2896
- arguments: [bigint, string];
2897
- }, extraArgs?: OptionalTransactionArgs): Promise<Types.PendingTransaction>;
2898
- function reactivateStake(client: AptosClient, account: AptosAccount, request: {
2899
- type_arguments: [];
2900
- arguments: [Address, bigint];
2901
- }, extraArgs?: OptionalTransactionArgs): Promise<Types.PendingTransaction>;
2902
- function setDelegatedVoter(client: AptosClient, account: AptosAccount, request: {
2903
- type_arguments: [];
2904
- arguments: [Address];
2905
- }, extraArgs?: OptionalTransactionArgs): Promise<Types.PendingTransaction>;
2906
- function setOperator(client: AptosClient, account: AptosAccount, request: {
2907
- type_arguments: [];
2908
- arguments: [Address];
2909
- }, extraArgs?: OptionalTransactionArgs): Promise<Types.PendingTransaction>;
2910
- function synchronizeDelegationPool(client: AptosClient, account: AptosAccount, request: {
2911
- type_arguments: [];
2912
- arguments: [Address];
2913
- }, extraArgs?: OptionalTransactionArgs): Promise<Types.PendingTransaction>;
2914
- function unlock(client: AptosClient, account: AptosAccount, request: {
2915
- type_arguments: [];
2916
- arguments: [Address, bigint];
2917
- }, extraArgs?: OptionalTransactionArgs): Promise<Types.PendingTransaction>;
2918
- function vote(client: AptosClient, account: AptosAccount, request: {
2919
- type_arguments: [];
2920
- arguments: [Address, bigint, bigint, Boolean];
2921
- }, extraArgs?: OptionalTransactionArgs): Promise<Types.PendingTransaction>;
2922
- function withdraw(client: AptosClient, account: AptosAccount, request: {
2923
- type_arguments: [];
2924
- arguments: [Address, bigint];
2925
- }, extraArgs?: OptionalTransactionArgs): Promise<Types.PendingTransaction>;
2916
+ function addStake(client: Aptos, account: AptosAccount, request: {
2917
+ typeArguments: [];
2918
+ functionArguments: [MoveAddressType, bigint];
2919
+ }, options?: InputGenerateTransactionOptions): Promise<PendingTransactionResponse>;
2920
+ function createProposal(client: Aptos, account: AptosAccount, request: {
2921
+ typeArguments: [];
2922
+ functionArguments: [MoveAddressType, string, string, string, Boolean];
2923
+ }, options?: InputGenerateTransactionOptions): Promise<PendingTransactionResponse>;
2924
+ function delegateVotingPower(client: Aptos, account: AptosAccount, request: {
2925
+ typeArguments: [];
2926
+ functionArguments: [MoveAddressType, MoveAddressType];
2927
+ }, options?: InputGenerateTransactionOptions): Promise<PendingTransactionResponse>;
2928
+ function enablePartialGovernanceVoting(client: Aptos, account: AptosAccount, request: {
2929
+ typeArguments: [];
2930
+ functionArguments: [MoveAddressType];
2931
+ }, options?: InputGenerateTransactionOptions): Promise<PendingTransactionResponse>;
2932
+ function initializeDelegationPool(client: Aptos, account: AptosAccount, request: {
2933
+ typeArguments: [];
2934
+ functionArguments: [bigint, string];
2935
+ }, options?: InputGenerateTransactionOptions): Promise<PendingTransactionResponse>;
2936
+ function reactivateStake(client: Aptos, account: AptosAccount, request: {
2937
+ typeArguments: [];
2938
+ functionArguments: [MoveAddressType, bigint];
2939
+ }, options?: InputGenerateTransactionOptions): Promise<PendingTransactionResponse>;
2940
+ function setBeneficiaryForOperator(client: Aptos, account: AptosAccount, request: {
2941
+ typeArguments: [];
2942
+ functionArguments: [MoveAddressType];
2943
+ }, options?: InputGenerateTransactionOptions): Promise<PendingTransactionResponse>;
2944
+ function setDelegatedVoter(client: Aptos, account: AptosAccount, request: {
2945
+ typeArguments: [];
2946
+ functionArguments: [MoveAddressType];
2947
+ }, options?: InputGenerateTransactionOptions): Promise<PendingTransactionResponse>;
2948
+ function setOperator(client: Aptos, account: AptosAccount, request: {
2949
+ typeArguments: [];
2950
+ functionArguments: [MoveAddressType];
2951
+ }, options?: InputGenerateTransactionOptions): Promise<PendingTransactionResponse>;
2952
+ function synchronizeDelegationPool(client: Aptos, account: AptosAccount, request: {
2953
+ typeArguments: [];
2954
+ functionArguments: [MoveAddressType];
2955
+ }, options?: InputGenerateTransactionOptions): Promise<PendingTransactionResponse>;
2956
+ function unlock(client: Aptos, account: AptosAccount, request: {
2957
+ typeArguments: [];
2958
+ functionArguments: [MoveAddressType, bigint];
2959
+ }, options?: InputGenerateTransactionOptions): Promise<PendingTransactionResponse>;
2960
+ function vote(client: Aptos, account: AptosAccount, request: {
2961
+ typeArguments: [];
2962
+ functionArguments: [MoveAddressType, bigint, bigint, Boolean];
2963
+ }, options?: InputGenerateTransactionOptions): Promise<PendingTransactionResponse>;
2964
+ function withdraw(client: Aptos, account: AptosAccount, request: {
2965
+ typeArguments: [];
2966
+ functionArguments: [MoveAddressType, bigint];
2967
+ }, options?: InputGenerateTransactionOptions): Promise<PendingTransactionResponse>;
2926
2968
  }
2927
2969
  namespace view {
2928
- function calculateAndUpdateDelegatorVoter(client: AptosClient, request: {
2929
- arguments: [Address, Address];
2930
- }, version?: bigint): Promise<[Address]>;
2931
- function calculateAndUpdateRemainingVotingPower(client: AptosClient, request: {
2932
- arguments: [Address, Address, bigint];
2970
+ function beneficiaryForOperator(client: Aptos, request: {
2971
+ functionArguments: [MoveAddressType];
2972
+ }, version?: bigint): Promise<[MoveAddressType]>;
2973
+ function calculateAndUpdateDelegatorVoter(client: Aptos, request: {
2974
+ functionArguments: [MoveAddressType, MoveAddressType];
2975
+ }, version?: bigint): Promise<[MoveAddressType]>;
2976
+ function calculateAndUpdateRemainingVotingPower(client: Aptos, request: {
2977
+ functionArguments: [MoveAddressType, MoveAddressType, bigint];
2933
2978
  }, version?: bigint): Promise<[bigint]>;
2934
- function calculateAndUpdateVoterTotalVotingPower(client: AptosClient, request: {
2935
- arguments: [Address, Address];
2979
+ function calculateAndUpdateVoterTotalVotingPower(client: Aptos, request: {
2980
+ functionArguments: [MoveAddressType, MoveAddressType];
2936
2981
  }, version?: bigint): Promise<[bigint]>;
2937
- function canWithdrawPendingInactive(client: AptosClient, request: {
2938
- arguments: [Address];
2982
+ function canWithdrawPendingInactive(client: Aptos, request: {
2983
+ functionArguments: [MoveAddressType];
2939
2984
  }, version?: bigint): Promise<[Boolean]>;
2940
- function delegationPoolExists(client: AptosClient, request: {
2941
- arguments: [Address];
2985
+ function delegationPoolExists(client: Aptos, request: {
2986
+ functionArguments: [MoveAddressType];
2942
2987
  }, version?: bigint): Promise<[Boolean]>;
2943
- function getAddStakeFee(client: AptosClient, request: {
2944
- arguments: [Address, bigint];
2988
+ function getAddStakeFee(client: Aptos, request: {
2989
+ functionArguments: [MoveAddressType, bigint];
2945
2990
  }, version?: bigint): Promise<[bigint]>;
2946
- function getDelegationPoolStake(client: AptosClient, request: {
2947
- arguments: [Address];
2991
+ function getDelegationPoolStake(client: Aptos, request: {
2992
+ functionArguments: [MoveAddressType];
2948
2993
  }, version?: bigint): Promise<[bigint, bigint, bigint, bigint]>;
2949
- function getExpectedStakePoolAddress(client: AptosClient, request: {
2950
- arguments: [Address, string];
2951
- }, version?: bigint): Promise<[Address]>;
2952
- function getOwnedPoolAddress(client: AptosClient, request: {
2953
- arguments: [Address];
2954
- }, version?: bigint): Promise<[Address]>;
2955
- function getPendingWithdrawal(client: AptosClient, request: {
2956
- arguments: [Address, Address];
2994
+ function getExpectedStakePoolAddress(client: Aptos, request: {
2995
+ functionArguments: [MoveAddressType, string];
2996
+ }, version?: bigint): Promise<[MoveAddressType]>;
2997
+ function getOwnedPoolAddress(client: Aptos, request: {
2998
+ functionArguments: [MoveAddressType];
2999
+ }, version?: bigint): Promise<[MoveAddressType]>;
3000
+ function getPendingWithdrawal(client: Aptos, request: {
3001
+ functionArguments: [MoveAddressType, MoveAddressType];
2957
3002
  }, version?: bigint): Promise<[Boolean, bigint]>;
2958
- function getStake(client: AptosClient, request: {
2959
- arguments: [Address, Address];
3003
+ function getStake(client: Aptos, request: {
3004
+ functionArguments: [MoveAddressType, MoveAddressType];
2960
3005
  }, version?: bigint): Promise<[bigint, bigint, bigint]>;
2961
- function observedLockupCycle(client: AptosClient, request: {
2962
- arguments: [Address];
3006
+ function observedLockupCycle(client: Aptos, request: {
3007
+ functionArguments: [MoveAddressType];
2963
3008
  }, version?: bigint): Promise<[bigint]>;
2964
- function operatorCommissionPercentage(client: AptosClient, request: {
2965
- arguments: [Address];
3009
+ function operatorCommissionPercentage(client: Aptos, request: {
3010
+ functionArguments: [MoveAddressType];
2966
3011
  }, version?: bigint): Promise<[bigint]>;
2967
- function ownerCapExists(client: AptosClient, request: {
2968
- arguments: [Address];
3012
+ function ownerCapExists(client: Aptos, request: {
3013
+ functionArguments: [MoveAddressType];
2969
3014
  }, version?: bigint): Promise<[Boolean]>;
2970
- function partialGovernanceVotingEnabled(client: AptosClient, request: {
2971
- arguments: [Address];
3015
+ function partialGovernanceVotingEnabled(client: Aptos, request: {
3016
+ functionArguments: [MoveAddressType];
2972
3017
  }, version?: bigint): Promise<[Boolean]>;
2973
- function shareholdersCountActivePool(client: AptosClient, request: {
2974
- arguments: [Address];
3018
+ function shareholdersCountActivePool(client: Aptos, request: {
3019
+ functionArguments: [MoveAddressType];
2975
3020
  }, version?: bigint): Promise<[bigint]>;
2976
3021
  }
2977
3022
  }
@@ -3023,7 +3068,7 @@ export declare namespace transaction_fee {
3023
3068
  }
3024
3069
  interface CollectedFeesPerBlock {
3025
3070
  amount: coin.AggregatableCoin<aptos_coin.AptosCoin>;
3026
- proposer: option.Option<Address>;
3071
+ proposer: option.Option<MoveAddressType>;
3027
3072
  burn_percentage: number;
3028
3073
  }
3029
3074
  namespace CollectedFeesPerBlock {
@@ -3057,8 +3102,8 @@ export declare namespace aptos_governance {
3057
3102
  function type(): TypeDescriptor<ApprovedExecutionHashes>;
3058
3103
  }
3059
3104
  interface CreateProposalEvent {
3060
- proposer: Address;
3061
- stake_pool: Address;
3105
+ proposer: MoveAddressType;
3106
+ stake_pool: MoveAddressType;
3062
3107
  proposal_id: bigint;
3063
3108
  execution_hash: string;
3064
3109
  proposal_metadata: simple_map.SimpleMap<string, string>;
@@ -3090,14 +3135,14 @@ export declare namespace aptos_governance {
3090
3135
  function type(): TypeDescriptor<GovernanceEvents>;
3091
3136
  }
3092
3137
  interface GovernanceResponsbility {
3093
- signer_caps: simple_map.SimpleMap<Address, account.SignerCapability>;
3138
+ signer_caps: simple_map.SimpleMap<MoveAddressType, account.SignerCapability>;
3094
3139
  }
3095
3140
  namespace GovernanceResponsbility {
3096
3141
  const TYPE_QNAME = "0x1::aptos_governance::GovernanceResponsbility";
3097
3142
  function type(): TypeDescriptor<GovernanceResponsbility>;
3098
3143
  }
3099
3144
  interface RecordKey {
3100
- stake_pool: Address;
3145
+ stake_pool: MoveAddressType;
3101
3146
  proposal_id: bigint;
3102
3147
  }
3103
3148
  namespace RecordKey {
@@ -3123,8 +3168,8 @@ export declare namespace aptos_governance {
3123
3168
  }
3124
3169
  interface VoteEvent {
3125
3170
  proposal_id: bigint;
3126
- voter: Address;
3127
- stake_pool: Address;
3171
+ voter: MoveAddressType;
3172
+ stake_pool: MoveAddressType;
3128
3173
  num_votes: bigint;
3129
3174
  should_pass: Boolean;
3130
3175
  }
@@ -3151,39 +3196,39 @@ export declare namespace aptos_governance {
3151
3196
  function type(): TypeDescriptor<VotingRecordsV2>;
3152
3197
  }
3153
3198
  namespace entry {
3154
- function addApprovedScriptHashScript(client: AptosClient, account: AptosAccount, request: {
3155
- type_arguments: [];
3156
- arguments: [bigint];
3157
- }, extraArgs?: OptionalTransactionArgs): Promise<Types.PendingTransaction>;
3158
- function createProposal(client: AptosClient, account: AptosAccount, request: {
3159
- type_arguments: [];
3160
- arguments: [Address, string, string, string];
3161
- }, extraArgs?: OptionalTransactionArgs): Promise<Types.PendingTransaction>;
3162
- function createProposalV2(client: AptosClient, account: AptosAccount, request: {
3163
- type_arguments: [];
3164
- arguments: [Address, string, string, string, Boolean];
3165
- }, extraArgs?: OptionalTransactionArgs): Promise<Types.PendingTransaction>;
3166
- function partialVote(client: AptosClient, account: AptosAccount, request: {
3167
- type_arguments: [];
3168
- arguments: [Address, bigint, bigint, Boolean];
3169
- }, extraArgs?: OptionalTransactionArgs): Promise<Types.PendingTransaction>;
3170
- function vote(client: AptosClient, account: AptosAccount, request: {
3171
- type_arguments: [];
3172
- arguments: [Address, bigint, Boolean];
3173
- }, extraArgs?: OptionalTransactionArgs): Promise<Types.PendingTransaction>;
3199
+ function addApprovedScriptHashScript(client: Aptos, account: AptosAccount, request: {
3200
+ typeArguments: [];
3201
+ functionArguments: [bigint];
3202
+ }, options?: InputGenerateTransactionOptions): Promise<PendingTransactionResponse>;
3203
+ function createProposal(client: Aptos, account: AptosAccount, request: {
3204
+ typeArguments: [];
3205
+ functionArguments: [MoveAddressType, string, string, string];
3206
+ }, options?: InputGenerateTransactionOptions): Promise<PendingTransactionResponse>;
3207
+ function createProposalV2(client: Aptos, account: AptosAccount, request: {
3208
+ typeArguments: [];
3209
+ functionArguments: [MoveAddressType, string, string, string, Boolean];
3210
+ }, options?: InputGenerateTransactionOptions): Promise<PendingTransactionResponse>;
3211
+ function partialVote(client: Aptos, account: AptosAccount, request: {
3212
+ typeArguments: [];
3213
+ functionArguments: [MoveAddressType, bigint, bigint, Boolean];
3214
+ }, options?: InputGenerateTransactionOptions): Promise<PendingTransactionResponse>;
3215
+ function vote(client: Aptos, account: AptosAccount, request: {
3216
+ typeArguments: [];
3217
+ functionArguments: [MoveAddressType, bigint, Boolean];
3218
+ }, options?: InputGenerateTransactionOptions): Promise<PendingTransactionResponse>;
3174
3219
  }
3175
3220
  namespace view {
3176
- function getMinVotingThreshold(client: AptosClient, version?: bigint): Promise<[bigint]>;
3177
- function getRemainingVotingPower(client: AptosClient, request: {
3178
- arguments: [Address, bigint];
3221
+ function getMinVotingThreshold(client: Aptos, version?: bigint): Promise<[bigint]>;
3222
+ function getRemainingVotingPower(client: Aptos, request: {
3223
+ functionArguments: [MoveAddressType, bigint];
3179
3224
  }, version?: bigint): Promise<[bigint]>;
3180
- function getRequiredProposerStake(client: AptosClient, version?: bigint): Promise<[bigint]>;
3181
- function getVotingDurationSecs(client: AptosClient, version?: bigint): Promise<[bigint]>;
3182
- function getVotingPower(client: AptosClient, request: {
3183
- arguments: [Address];
3225
+ function getRequiredProposerStake(client: Aptos, version?: bigint): Promise<[bigint]>;
3226
+ function getVotingDurationSecs(client: Aptos, version?: bigint): Promise<[bigint]>;
3227
+ function getVotingPower(client: Aptos, request: {
3228
+ functionArguments: [MoveAddressType];
3184
3229
  }, version?: bigint): Promise<[bigint]>;
3185
- function hasEntirelyVoted(client: AptosClient, request: {
3186
- arguments: [Address, bigint];
3230
+ function hasEntirelyVoted(client: Aptos, request: {
3231
+ functionArguments: [MoveAddressType, bigint];
3187
3232
  }, version?: bigint): Promise<[Boolean]>;
3188
3233
  }
3189
3234
  }
@@ -3320,7 +3365,7 @@ export declare namespace execution_config {
3320
3365
  }
3321
3366
  export declare namespace multisig_account {
3322
3367
  interface AddOwnersEvent {
3323
- owners_added: Address[];
3368
+ owners_added: MoveAddressType[];
3324
3369
  }
3325
3370
  namespace AddOwnersEvent {
3326
3371
  const TYPE_QNAME = "0x1::multisig_account::AddOwnersEvent";
@@ -3331,7 +3376,7 @@ export declare namespace multisig_account {
3331
3376
  type_arguments: [];
3332
3377
  }
3333
3378
  interface CreateTransactionEvent {
3334
- creator: Address;
3379
+ creator: MoveAddressType;
3335
3380
  sequence_number: bigint;
3336
3381
  transaction: multisig_account.MultisigTransaction;
3337
3382
  }
@@ -3346,7 +3391,7 @@ export declare namespace multisig_account {
3346
3391
  interface ExecuteRejectedTransactionEvent {
3347
3392
  sequence_number: bigint;
3348
3393
  num_rejections: bigint;
3349
- executor: Address;
3394
+ executor: MoveAddressType;
3350
3395
  }
3351
3396
  namespace ExecuteRejectedTransactionEvent {
3352
3397
  const TYPE_QNAME = "0x1::multisig_account::ExecuteRejectedTransactionEvent";
@@ -3382,7 +3427,7 @@ export declare namespace multisig_account {
3382
3427
  type_arguments: [];
3383
3428
  }
3384
3429
  interface MultisigAccount {
3385
- owners: Address[];
3430
+ owners: MoveAddressType[];
3386
3431
  num_signatures_required: bigint;
3387
3432
  transactions: table.Table<bigint, multisig_account.MultisigTransaction>;
3388
3433
  last_executed_sequence_number: bigint;
@@ -3405,9 +3450,9 @@ export declare namespace multisig_account {
3405
3450
  }
3406
3451
  interface MultisigAccountCreationMessage {
3407
3452
  chain_id: number;
3408
- account_address: Address;
3453
+ account_address: MoveAddressType;
3409
3454
  sequence_number: bigint;
3410
- owners: Address[];
3455
+ owners: MoveAddressType[];
3411
3456
  num_signatures_required: bigint;
3412
3457
  }
3413
3458
  namespace MultisigAccountCreationMessage {
@@ -3416,9 +3461,9 @@ export declare namespace multisig_account {
3416
3461
  }
3417
3462
  interface MultisigAccountCreationWithAuthKeyRevocationMessage {
3418
3463
  chain_id: number;
3419
- account_address: Address;
3464
+ account_address: MoveAddressType;
3420
3465
  sequence_number: bigint;
3421
- owners: Address[];
3466
+ owners: MoveAddressType[];
3422
3467
  num_signatures_required: bigint;
3423
3468
  }
3424
3469
  namespace MultisigAccountCreationWithAuthKeyRevocationMessage {
@@ -3428,8 +3473,8 @@ export declare namespace multisig_account {
3428
3473
  interface MultisigTransaction {
3429
3474
  payload: option.Option<string>;
3430
3475
  payload_hash: option.Option<string>;
3431
- votes: simple_map.SimpleMap<Address, Boolean>;
3432
- creator: Address;
3476
+ votes: simple_map.SimpleMap<MoveAddressType, Boolean>;
3477
+ creator: MoveAddressType;
3433
3478
  creation_time_secs: bigint;
3434
3479
  }
3435
3480
  namespace MultisigTransaction {
@@ -3441,7 +3486,7 @@ export declare namespace multisig_account {
3441
3486
  type_arguments: [];
3442
3487
  }
3443
3488
  interface RemoveOwnersEvent {
3444
- owners_removed: Address[];
3489
+ owners_removed: MoveAddressType[];
3445
3490
  }
3446
3491
  namespace RemoveOwnersEvent {
3447
3492
  const TYPE_QNAME = "0x1::multisig_account::RemoveOwnersEvent";
@@ -3452,7 +3497,7 @@ export declare namespace multisig_account {
3452
3497
  type_arguments: [];
3453
3498
  }
3454
3499
  interface TransactionExecutionFailedEvent {
3455
- executor: Address;
3500
+ executor: MoveAddressType;
3456
3501
  sequence_number: bigint;
3457
3502
  transaction_payload: string;
3458
3503
  num_approvals: bigint;
@@ -3467,7 +3512,7 @@ export declare namespace multisig_account {
3467
3512
  type_arguments: [];
3468
3513
  }
3469
3514
  interface TransactionExecutionSucceededEvent {
3470
- executor: Address;
3515
+ executor: MoveAddressType;
3471
3516
  sequence_number: bigint;
3472
3517
  transaction_payload: string;
3473
3518
  num_approvals: bigint;
@@ -3493,7 +3538,7 @@ export declare namespace multisig_account {
3493
3538
  type_arguments: [];
3494
3539
  }
3495
3540
  interface VoteEvent {
3496
- owner: Address;
3541
+ owner: MoveAddressType;
3497
3542
  sequence_number: bigint;
3498
3543
  approved: Boolean;
3499
3544
  }
@@ -3506,39 +3551,39 @@ export declare namespace multisig_account {
3506
3551
  type_arguments: [];
3507
3552
  }
3508
3553
  namespace entry {
3509
- function addOwner(client: AptosClient, account: AptosAccount, request: {
3510
- type_arguments: [];
3511
- arguments: [Address];
3512
- }, extraArgs?: OptionalTransactionArgs): Promise<Types.PendingTransaction>;
3513
- function addOwners(client: AptosClient, account: AptosAccount, request: {
3514
- type_arguments: [];
3515
- arguments: [Address[]];
3516
- }, extraArgs?: OptionalTransactionArgs): Promise<Types.PendingTransaction>;
3517
- function addOwnersAndUpdateSignaturesRequired(client: AptosClient, account: AptosAccount, request: {
3518
- type_arguments: [];
3519
- arguments: [Address[], bigint];
3520
- }, extraArgs?: OptionalTransactionArgs): Promise<Types.PendingTransaction>;
3521
- function approveTransaction(client: AptosClient, account: AptosAccount, request: {
3522
- type_arguments: [];
3523
- arguments: [Address, bigint];
3524
- }, extraArgs?: OptionalTransactionArgs): Promise<Types.PendingTransaction>;
3525
- function create(client: AptosClient, account: AptosAccount, request: {
3526
- type_arguments: [];
3527
- arguments: [bigint, string[], string[]];
3528
- }, extraArgs?: OptionalTransactionArgs): Promise<Types.PendingTransaction>;
3529
- function createTransaction(client: AptosClient, account: AptosAccount, request: {
3530
- type_arguments: [];
3531
- arguments: [Address, string];
3532
- }, extraArgs?: OptionalTransactionArgs): Promise<Types.PendingTransaction>;
3533
- function createTransactionWithHash(client: AptosClient, account: AptosAccount, request: {
3534
- type_arguments: [];
3535
- arguments: [Address, string];
3536
- }, extraArgs?: OptionalTransactionArgs): Promise<Types.PendingTransaction>;
3537
- function createWithExistingAccount(client: AptosClient, account: AptosAccount, request: {
3538
- type_arguments: [];
3539
- arguments: [
3540
- Address,
3541
- Address[],
3554
+ function addOwner(client: Aptos, account: AptosAccount, request: {
3555
+ typeArguments: [];
3556
+ functionArguments: [MoveAddressType];
3557
+ }, options?: InputGenerateTransactionOptions): Promise<PendingTransactionResponse>;
3558
+ function addOwners(client: Aptos, account: AptosAccount, request: {
3559
+ typeArguments: [];
3560
+ functionArguments: [MoveAddressType[]];
3561
+ }, options?: InputGenerateTransactionOptions): Promise<PendingTransactionResponse>;
3562
+ function addOwnersAndUpdateSignaturesRequired(client: Aptos, account: AptosAccount, request: {
3563
+ typeArguments: [];
3564
+ functionArguments: [MoveAddressType[], bigint];
3565
+ }, options?: InputGenerateTransactionOptions): Promise<PendingTransactionResponse>;
3566
+ function approveTransaction(client: Aptos, account: AptosAccount, request: {
3567
+ typeArguments: [];
3568
+ functionArguments: [MoveAddressType, bigint];
3569
+ }, options?: InputGenerateTransactionOptions): Promise<PendingTransactionResponse>;
3570
+ function create(client: Aptos, account: AptosAccount, request: {
3571
+ typeArguments: [];
3572
+ functionArguments: [bigint, string[], string[]];
3573
+ }, options?: InputGenerateTransactionOptions): Promise<PendingTransactionResponse>;
3574
+ function createTransaction(client: Aptos, account: AptosAccount, request: {
3575
+ typeArguments: [];
3576
+ functionArguments: [MoveAddressType, string];
3577
+ }, options?: InputGenerateTransactionOptions): Promise<PendingTransactionResponse>;
3578
+ function createTransactionWithHash(client: Aptos, account: AptosAccount, request: {
3579
+ typeArguments: [];
3580
+ functionArguments: [MoveAddressType, string];
3581
+ }, options?: InputGenerateTransactionOptions): Promise<PendingTransactionResponse>;
3582
+ function createWithExistingAccount(client: Aptos, account: AptosAccount, request: {
3583
+ typeArguments: [];
3584
+ functionArguments: [
3585
+ MoveAddressType,
3586
+ MoveAddressType[],
3542
3587
  bigint,
3543
3588
  number,
3544
3589
  string,
@@ -3546,12 +3591,12 @@ export declare namespace multisig_account {
3546
3591
  string[],
3547
3592
  string[]
3548
3593
  ];
3549
- }, extraArgs?: OptionalTransactionArgs): Promise<Types.PendingTransaction>;
3550
- function createWithExistingAccountAndRevokeAuthKey(client: AptosClient, account: AptosAccount, request: {
3551
- type_arguments: [];
3552
- arguments: [
3553
- Address,
3554
- Address[],
3594
+ }, options?: InputGenerateTransactionOptions): Promise<PendingTransactionResponse>;
3595
+ function createWithExistingAccountAndRevokeAuthKey(client: Aptos, account: AptosAccount, request: {
3596
+ typeArguments: [];
3597
+ functionArguments: [
3598
+ MoveAddressType,
3599
+ MoveAddressType[],
3555
3600
  bigint,
3556
3601
  number,
3557
3602
  string,
@@ -3559,92 +3604,92 @@ export declare namespace multisig_account {
3559
3604
  string[],
3560
3605
  string[]
3561
3606
  ];
3562
- }, extraArgs?: OptionalTransactionArgs): Promise<Types.PendingTransaction>;
3563
- function createWithOwners(client: AptosClient, account: AptosAccount, request: {
3564
- type_arguments: [];
3565
- arguments: [Address[], bigint, string[], string[]];
3566
- }, extraArgs?: OptionalTransactionArgs): Promise<Types.PendingTransaction>;
3567
- function createWithOwnersThenRemoveBootstrapper(client: AptosClient, account: AptosAccount, request: {
3568
- type_arguments: [];
3569
- arguments: [Address[], bigint, string[], string[]];
3570
- }, extraArgs?: OptionalTransactionArgs): Promise<Types.PendingTransaction>;
3571
- function executeRejectedTransaction(client: AptosClient, account: AptosAccount, request: {
3572
- type_arguments: [];
3573
- arguments: [Address];
3574
- }, extraArgs?: OptionalTransactionArgs): Promise<Types.PendingTransaction>;
3575
- function rejectTransaction(client: AptosClient, account: AptosAccount, request: {
3576
- type_arguments: [];
3577
- arguments: [Address, bigint];
3578
- }, extraArgs?: OptionalTransactionArgs): Promise<Types.PendingTransaction>;
3579
- function removeOwner(client: AptosClient, account: AptosAccount, request: {
3580
- type_arguments: [];
3581
- arguments: [Address];
3582
- }, extraArgs?: OptionalTransactionArgs): Promise<Types.PendingTransaction>;
3583
- function removeOwners(client: AptosClient, account: AptosAccount, request: {
3584
- type_arguments: [];
3585
- arguments: [Address[]];
3586
- }, extraArgs?: OptionalTransactionArgs): Promise<Types.PendingTransaction>;
3587
- function swapOwner(client: AptosClient, account: AptosAccount, request: {
3588
- type_arguments: [];
3589
- arguments: [Address, Address];
3590
- }, extraArgs?: OptionalTransactionArgs): Promise<Types.PendingTransaction>;
3591
- function swapOwners(client: AptosClient, account: AptosAccount, request: {
3592
- type_arguments: [];
3593
- arguments: [Address[], Address[]];
3594
- }, extraArgs?: OptionalTransactionArgs): Promise<Types.PendingTransaction>;
3595
- function swapOwnersAndUpdateSignaturesRequired(client: AptosClient, account: AptosAccount, request: {
3596
- type_arguments: [];
3597
- arguments: [Address[], Address[], bigint];
3598
- }, extraArgs?: OptionalTransactionArgs): Promise<Types.PendingTransaction>;
3599
- function updateMetadata(client: AptosClient, account: AptosAccount, request: {
3600
- type_arguments: [];
3601
- arguments: [string[], string[]];
3602
- }, extraArgs?: OptionalTransactionArgs): Promise<Types.PendingTransaction>;
3603
- function updateSignaturesRequired(client: AptosClient, account: AptosAccount, request: {
3604
- type_arguments: [];
3605
- arguments: [bigint];
3606
- }, extraArgs?: OptionalTransactionArgs): Promise<Types.PendingTransaction>;
3607
- function voteTransanction(client: AptosClient, account: AptosAccount, request: {
3608
- type_arguments: [];
3609
- arguments: [Address, bigint, Boolean];
3610
- }, extraArgs?: OptionalTransactionArgs): Promise<Types.PendingTransaction>;
3607
+ }, options?: InputGenerateTransactionOptions): Promise<PendingTransactionResponse>;
3608
+ function createWithOwners(client: Aptos, account: AptosAccount, request: {
3609
+ typeArguments: [];
3610
+ functionArguments: [MoveAddressType[], bigint, string[], string[]];
3611
+ }, options?: InputGenerateTransactionOptions): Promise<PendingTransactionResponse>;
3612
+ function createWithOwnersThenRemoveBootstrapper(client: Aptos, account: AptosAccount, request: {
3613
+ typeArguments: [];
3614
+ functionArguments: [MoveAddressType[], bigint, string[], string[]];
3615
+ }, options?: InputGenerateTransactionOptions): Promise<PendingTransactionResponse>;
3616
+ function executeRejectedTransaction(client: Aptos, account: AptosAccount, request: {
3617
+ typeArguments: [];
3618
+ functionArguments: [MoveAddressType];
3619
+ }, options?: InputGenerateTransactionOptions): Promise<PendingTransactionResponse>;
3620
+ function rejectTransaction(client: Aptos, account: AptosAccount, request: {
3621
+ typeArguments: [];
3622
+ functionArguments: [MoveAddressType, bigint];
3623
+ }, options?: InputGenerateTransactionOptions): Promise<PendingTransactionResponse>;
3624
+ function removeOwner(client: Aptos, account: AptosAccount, request: {
3625
+ typeArguments: [];
3626
+ functionArguments: [MoveAddressType];
3627
+ }, options?: InputGenerateTransactionOptions): Promise<PendingTransactionResponse>;
3628
+ function removeOwners(client: Aptos, account: AptosAccount, request: {
3629
+ typeArguments: [];
3630
+ functionArguments: [MoveAddressType[]];
3631
+ }, options?: InputGenerateTransactionOptions): Promise<PendingTransactionResponse>;
3632
+ function swapOwner(client: Aptos, account: AptosAccount, request: {
3633
+ typeArguments: [];
3634
+ functionArguments: [MoveAddressType, MoveAddressType];
3635
+ }, options?: InputGenerateTransactionOptions): Promise<PendingTransactionResponse>;
3636
+ function swapOwners(client: Aptos, account: AptosAccount, request: {
3637
+ typeArguments: [];
3638
+ functionArguments: [MoveAddressType[], MoveAddressType[]];
3639
+ }, options?: InputGenerateTransactionOptions): Promise<PendingTransactionResponse>;
3640
+ function swapOwnersAndUpdateSignaturesRequired(client: Aptos, account: AptosAccount, request: {
3641
+ typeArguments: [];
3642
+ functionArguments: [MoveAddressType[], MoveAddressType[], bigint];
3643
+ }, options?: InputGenerateTransactionOptions): Promise<PendingTransactionResponse>;
3644
+ function updateMetadata(client: Aptos, account: AptosAccount, request: {
3645
+ typeArguments: [];
3646
+ functionArguments: [string[], string[]];
3647
+ }, options?: InputGenerateTransactionOptions): Promise<PendingTransactionResponse>;
3648
+ function updateSignaturesRequired(client: Aptos, account: AptosAccount, request: {
3649
+ typeArguments: [];
3650
+ functionArguments: [bigint];
3651
+ }, options?: InputGenerateTransactionOptions): Promise<PendingTransactionResponse>;
3652
+ function voteTransanction(client: Aptos, account: AptosAccount, request: {
3653
+ typeArguments: [];
3654
+ functionArguments: [MoveAddressType, bigint, Boolean];
3655
+ }, options?: InputGenerateTransactionOptions): Promise<PendingTransactionResponse>;
3611
3656
  }
3612
3657
  namespace view {
3613
- function canBeExecuted(client: AptosClient, request: {
3614
- arguments: [Address, bigint];
3658
+ function canBeExecuted(client: Aptos, request: {
3659
+ functionArguments: [MoveAddressType, bigint];
3615
3660
  }, version?: bigint): Promise<[Boolean]>;
3616
- function canBeRejected(client: AptosClient, request: {
3617
- arguments: [Address, bigint];
3661
+ function canBeRejected(client: Aptos, request: {
3662
+ functionArguments: [MoveAddressType, bigint];
3618
3663
  }, version?: bigint): Promise<[Boolean]>;
3619
- function getNextMultisigAccountAddress(client: AptosClient, request: {
3620
- arguments: [Address];
3621
- }, version?: bigint): Promise<[Address]>;
3622
- function getNextTransactionPayload(client: AptosClient, request: {
3623
- arguments: [Address, string];
3664
+ function getNextMultisigAccountAddress(client: Aptos, request: {
3665
+ functionArguments: [MoveAddressType];
3666
+ }, version?: bigint): Promise<[MoveAddressType]>;
3667
+ function getNextTransactionPayload(client: Aptos, request: {
3668
+ functionArguments: [MoveAddressType, string];
3624
3669
  }, version?: bigint): Promise<[string]>;
3625
- function getPendingTransactions(client: AptosClient, request: {
3626
- arguments: [Address];
3670
+ function getPendingTransactions(client: Aptos, request: {
3671
+ functionArguments: [MoveAddressType];
3627
3672
  }, version?: bigint): Promise<[multisig_account.MultisigTransaction[]]>;
3628
- function getTransaction(client: AptosClient, request: {
3629
- arguments: [Address, bigint];
3673
+ function getTransaction(client: Aptos, request: {
3674
+ functionArguments: [MoveAddressType, bigint];
3630
3675
  }, version?: bigint): Promise<[multisig_account.MultisigTransaction]>;
3631
- function lastResolvedSequenceNumber(client: AptosClient, request: {
3632
- arguments: [Address];
3676
+ function lastResolvedSequenceNumber(client: Aptos, request: {
3677
+ functionArguments: [MoveAddressType];
3633
3678
  }, version?: bigint): Promise<[bigint]>;
3634
- function metadata(client: AptosClient, request: {
3635
- arguments: [Address];
3679
+ function metadata(client: Aptos, request: {
3680
+ functionArguments: [MoveAddressType];
3636
3681
  }, version?: bigint): Promise<[simple_map.SimpleMap<string, string>]>;
3637
- function nextSequenceNumber(client: AptosClient, request: {
3638
- arguments: [Address];
3682
+ function nextSequenceNumber(client: Aptos, request: {
3683
+ functionArguments: [MoveAddressType];
3639
3684
  }, version?: bigint): Promise<[bigint]>;
3640
- function numSignaturesRequired(client: AptosClient, request: {
3641
- arguments: [Address];
3685
+ function numSignaturesRequired(client: Aptos, request: {
3686
+ functionArguments: [MoveAddressType];
3642
3687
  }, version?: bigint): Promise<[bigint]>;
3643
- function owners(client: AptosClient, request: {
3644
- arguments: [Address];
3645
- }, version?: bigint): Promise<[Address[]]>;
3646
- function vote(client: AptosClient, request: {
3647
- arguments: [Address, bigint, Address];
3688
+ function owners(client: Aptos, request: {
3689
+ functionArguments: [MoveAddressType];
3690
+ }, version?: bigint): Promise<[MoveAddressType[]]>;
3691
+ function vote(client: Aptos, request: {
3692
+ functionArguments: [MoveAddressType, bigint, MoveAddressType];
3648
3693
  }, version?: bigint): Promise<[Boolean, Boolean]>;
3649
3694
  }
3650
3695
  }
@@ -3652,7 +3697,7 @@ export declare namespace pool_u64_unbound {
3652
3697
  interface Pool {
3653
3698
  total_coins: bigint;
3654
3699
  total_shares: bigint;
3655
- shares: table_with_length.TableWithLength<Address, bigint>;
3700
+ shares: table_with_length.TableWithLength<MoveAddressType, bigint>;
3656
3701
  scaling_factor: bigint;
3657
3702
  }
3658
3703
  namespace Pool {
@@ -3664,32 +3709,32 @@ export declare namespace pool_u64_unbound {
3664
3709
  }
3665
3710
  export declare namespace resource_account {
3666
3711
  interface Container {
3667
- store: simple_map.SimpleMap<Address, account.SignerCapability>;
3712
+ store: simple_map.SimpleMap<MoveAddressType, account.SignerCapability>;
3668
3713
  }
3669
3714
  namespace Container {
3670
3715
  const TYPE_QNAME = "0x1::resource_account::Container";
3671
3716
  function type(): TypeDescriptor<Container>;
3672
3717
  }
3673
3718
  namespace entry {
3674
- function createResourceAccount(client: AptosClient, account: AptosAccount, request: {
3675
- type_arguments: [];
3676
- arguments: [string, string];
3677
- }, extraArgs?: OptionalTransactionArgs): Promise<Types.PendingTransaction>;
3678
- function createResourceAccountAndFund(client: AptosClient, account: AptosAccount, request: {
3679
- type_arguments: [];
3680
- arguments: [string, string, bigint];
3681
- }, extraArgs?: OptionalTransactionArgs): Promise<Types.PendingTransaction>;
3682
- function createResourceAccountAndPublishPackage(client: AptosClient, account: AptosAccount, request: {
3683
- type_arguments: [];
3684
- arguments: [string, string, string[]];
3685
- }, extraArgs?: OptionalTransactionArgs): Promise<Types.PendingTransaction>;
3719
+ function createResourceAccount(client: Aptos, account: AptosAccount, request: {
3720
+ typeArguments: [];
3721
+ functionArguments: [string, string];
3722
+ }, options?: InputGenerateTransactionOptions): Promise<PendingTransactionResponse>;
3723
+ function createResourceAccountAndFund(client: Aptos, account: AptosAccount, request: {
3724
+ typeArguments: [];
3725
+ functionArguments: [string, string, bigint];
3726
+ }, options?: InputGenerateTransactionOptions): Promise<PendingTransactionResponse>;
3727
+ function createResourceAccountAndPublishPackage(client: Aptos, account: AptosAccount, request: {
3728
+ typeArguments: [];
3729
+ functionArguments: [string, string, string[]];
3730
+ }, options?: InputGenerateTransactionOptions): Promise<PendingTransactionResponse>;
3686
3731
  }
3687
3732
  namespace view { }
3688
3733
  }
3689
3734
  export declare namespace staking_contract {
3690
3735
  interface AddDistributionEvent {
3691
- operator: Address;
3692
- pool_address: Address;
3736
+ operator: MoveAddressType;
3737
+ pool_address: MoveAddressType;
3693
3738
  amount: bigint;
3694
3739
  }
3695
3740
  namespace AddDistributionEvent {
@@ -3701,8 +3746,8 @@ export declare namespace staking_contract {
3701
3746
  type_arguments: [];
3702
3747
  }
3703
3748
  interface AddStakeEvent {
3704
- operator: Address;
3705
- pool_address: Address;
3749
+ operator: MoveAddressType;
3750
+ pool_address: MoveAddressType;
3706
3751
  amount: bigint;
3707
3752
  }
3708
3753
  namespace AddStakeEvent {
@@ -3713,10 +3758,17 @@ export declare namespace staking_contract {
3713
3758
  data_decoded: AddStakeEvent;
3714
3759
  type_arguments: [];
3715
3760
  }
3761
+ interface BeneficiaryForOperator {
3762
+ beneficiary_for_operator: MoveAddressType;
3763
+ }
3764
+ namespace BeneficiaryForOperator {
3765
+ const TYPE_QNAME = "0x1::staking_contract::BeneficiaryForOperator";
3766
+ function type(): TypeDescriptor<BeneficiaryForOperator>;
3767
+ }
3716
3768
  interface CreateStakingContractEvent {
3717
- operator: Address;
3718
- voter: Address;
3719
- pool_address: Address;
3769
+ operator: MoveAddressType;
3770
+ voter: MoveAddressType;
3771
+ pool_address: MoveAddressType;
3720
3772
  principal: bigint;
3721
3773
  commission_percentage: bigint;
3722
3774
  }
@@ -3729,9 +3781,9 @@ export declare namespace staking_contract {
3729
3781
  type_arguments: [];
3730
3782
  }
3731
3783
  interface DistributeEvent {
3732
- operator: Address;
3733
- pool_address: Address;
3734
- recipient: Address;
3784
+ operator: MoveAddressType;
3785
+ pool_address: MoveAddressType;
3786
+ recipient: MoveAddressType;
3735
3787
  amount: bigint;
3736
3788
  }
3737
3789
  namespace DistributeEvent {
@@ -3743,8 +3795,8 @@ export declare namespace staking_contract {
3743
3795
  type_arguments: [];
3744
3796
  }
3745
3797
  interface RequestCommissionEvent {
3746
- operator: Address;
3747
- pool_address: Address;
3798
+ operator: MoveAddressType;
3799
+ pool_address: MoveAddressType;
3748
3800
  accumulated_rewards: bigint;
3749
3801
  commission_amount: bigint;
3750
3802
  }
@@ -3757,8 +3809,8 @@ export declare namespace staking_contract {
3757
3809
  type_arguments: [];
3758
3810
  }
3759
3811
  interface ResetLockupEvent {
3760
- operator: Address;
3761
- pool_address: Address;
3812
+ operator: MoveAddressType;
3813
+ pool_address: MoveAddressType;
3762
3814
  }
3763
3815
  namespace ResetLockupEvent {
3764
3816
  const TYPE_QNAME = "0x1::staking_contract::ResetLockupEvent";
@@ -3768,9 +3820,22 @@ export declare namespace staking_contract {
3768
3820
  data_decoded: ResetLockupEvent;
3769
3821
  type_arguments: [];
3770
3822
  }
3823
+ interface SetBeneficiaryForOperator {
3824
+ operator: MoveAddressType;
3825
+ old_beneficiary: MoveAddressType;
3826
+ new_beneficiary: MoveAddressType;
3827
+ }
3828
+ namespace SetBeneficiaryForOperator {
3829
+ const TYPE_QNAME = "0x1::staking_contract::SetBeneficiaryForOperator";
3830
+ function type(): TypeDescriptor<SetBeneficiaryForOperator>;
3831
+ }
3832
+ interface SetBeneficiaryForOperatorInstance extends TypedEventInstance<SetBeneficiaryForOperator> {
3833
+ data_decoded: SetBeneficiaryForOperator;
3834
+ type_arguments: [];
3835
+ }
3771
3836
  interface StakingContract {
3772
3837
  principal: bigint;
3773
- pool_address: Address;
3838
+ pool_address: MoveAddressType;
3774
3839
  owner_cap: stake.OwnerCapability;
3775
3840
  commission_percentage: bigint;
3776
3841
  distribution_pool: pool_u64.Pool;
@@ -3795,7 +3860,7 @@ export declare namespace staking_contract {
3795
3860
  function type(): TypeDescriptor<StakingGroupUpdateCommissionEvent>;
3796
3861
  }
3797
3862
  interface Store {
3798
- staking_contracts: simple_map.SimpleMap<Address, staking_contract.StakingContract>;
3863
+ staking_contracts: simple_map.SimpleMap<MoveAddressType, staking_contract.StakingContract>;
3799
3864
  create_staking_contract_events: event.EventHandle<staking_contract.CreateStakingContractEvent>;
3800
3865
  update_voter_events: event.EventHandle<staking_contract.UpdateVoterEvent>;
3801
3866
  reset_lockup_events: event.EventHandle<staking_contract.ResetLockupEvent>;
@@ -3811,9 +3876,9 @@ export declare namespace staking_contract {
3811
3876
  function type(): TypeDescriptor<Store>;
3812
3877
  }
3813
3878
  interface SwitchOperatorEvent {
3814
- old_operator: Address;
3815
- new_operator: Address;
3816
- pool_address: Address;
3879
+ old_operator: MoveAddressType;
3880
+ new_operator: MoveAddressType;
3881
+ pool_address: MoveAddressType;
3817
3882
  }
3818
3883
  namespace SwitchOperatorEvent {
3819
3884
  const TYPE_QNAME = "0x1::staking_contract::SwitchOperatorEvent";
@@ -3824,8 +3889,8 @@ export declare namespace staking_contract {
3824
3889
  type_arguments: [];
3825
3890
  }
3826
3891
  interface UnlockStakeEvent {
3827
- operator: Address;
3828
- pool_address: Address;
3892
+ operator: MoveAddressType;
3893
+ pool_address: MoveAddressType;
3829
3894
  amount: bigint;
3830
3895
  commission_paid: bigint;
3831
3896
  }
@@ -3838,8 +3903,8 @@ export declare namespace staking_contract {
3838
3903
  type_arguments: [];
3839
3904
  }
3840
3905
  interface UpdateCommissionEvent {
3841
- staker: Address;
3842
- operator: Address;
3906
+ staker: MoveAddressType;
3907
+ operator: MoveAddressType;
3843
3908
  old_commission_percentage: bigint;
3844
3909
  new_commission_percentage: bigint;
3845
3910
  }
@@ -3852,10 +3917,10 @@ export declare namespace staking_contract {
3852
3917
  type_arguments: [];
3853
3918
  }
3854
3919
  interface UpdateVoterEvent {
3855
- operator: Address;
3856
- pool_address: Address;
3857
- old_voter: Address;
3858
- new_voter: Address;
3920
+ operator: MoveAddressType;
3921
+ pool_address: MoveAddressType;
3922
+ old_voter: MoveAddressType;
3923
+ new_voter: MoveAddressType;
3859
3924
  }
3860
3925
  namespace UpdateVoterEvent {
3861
3926
  const TYPE_QNAME = "0x1::staking_contract::UpdateVoterEvent";
@@ -3866,72 +3931,85 @@ export declare namespace staking_contract {
3866
3931
  type_arguments: [];
3867
3932
  }
3868
3933
  namespace entry {
3869
- function addStake(client: AptosClient, account: AptosAccount, request: {
3870
- type_arguments: [];
3871
- arguments: [Address, bigint];
3872
- }, extraArgs?: OptionalTransactionArgs): Promise<Types.PendingTransaction>;
3873
- function createStakingContract(client: AptosClient, account: AptosAccount, request: {
3874
- type_arguments: [];
3875
- arguments: [Address, Address, bigint, bigint, string];
3876
- }, extraArgs?: OptionalTransactionArgs): Promise<Types.PendingTransaction>;
3877
- function distribute(client: AptosClient, account: AptosAccount, request: {
3878
- type_arguments: [];
3879
- arguments: [Address, Address];
3880
- }, extraArgs?: OptionalTransactionArgs): Promise<Types.PendingTransaction>;
3881
- function requestCommission(client: AptosClient, account: AptosAccount, request: {
3882
- type_arguments: [];
3883
- arguments: [Address, Address];
3884
- }, extraArgs?: OptionalTransactionArgs): Promise<Types.PendingTransaction>;
3885
- function resetLockup(client: AptosClient, account: AptosAccount, request: {
3886
- type_arguments: [];
3887
- arguments: [Address];
3888
- }, extraArgs?: OptionalTransactionArgs): Promise<Types.PendingTransaction>;
3889
- function switchOperator(client: AptosClient, account: AptosAccount, request: {
3890
- type_arguments: [];
3891
- arguments: [Address, Address, bigint];
3892
- }, extraArgs?: OptionalTransactionArgs): Promise<Types.PendingTransaction>;
3893
- function switchOperatorWithSameCommission(client: AptosClient, account: AptosAccount, request: {
3894
- type_arguments: [];
3895
- arguments: [Address, Address];
3896
- }, extraArgs?: OptionalTransactionArgs): Promise<Types.PendingTransaction>;
3897
- function unlockRewards(client: AptosClient, account: AptosAccount, request: {
3898
- type_arguments: [];
3899
- arguments: [Address];
3900
- }, extraArgs?: OptionalTransactionArgs): Promise<Types.PendingTransaction>;
3901
- function unlockStake(client: AptosClient, account: AptosAccount, request: {
3902
- type_arguments: [];
3903
- arguments: [Address, bigint];
3904
- }, extraArgs?: OptionalTransactionArgs): Promise<Types.PendingTransaction>;
3905
- function updateCommision(client: AptosClient, account: AptosAccount, request: {
3906
- type_arguments: [];
3907
- arguments: [Address, bigint];
3908
- }, extraArgs?: OptionalTransactionArgs): Promise<Types.PendingTransaction>;
3909
- function updateVoter(client: AptosClient, account: AptosAccount, request: {
3910
- type_arguments: [];
3911
- arguments: [Address, Address];
3912
- }, extraArgs?: OptionalTransactionArgs): Promise<Types.PendingTransaction>;
3934
+ function addStake(client: Aptos, account: AptosAccount, request: {
3935
+ typeArguments: [];
3936
+ functionArguments: [MoveAddressType, bigint];
3937
+ }, options?: InputGenerateTransactionOptions): Promise<PendingTransactionResponse>;
3938
+ function createStakingContract(client: Aptos, account: AptosAccount, request: {
3939
+ typeArguments: [];
3940
+ functionArguments: [
3941
+ MoveAddressType,
3942
+ MoveAddressType,
3943
+ bigint,
3944
+ bigint,
3945
+ string
3946
+ ];
3947
+ }, options?: InputGenerateTransactionOptions): Promise<PendingTransactionResponse>;
3948
+ function distribute(client: Aptos, account: AptosAccount, request: {
3949
+ typeArguments: [];
3950
+ functionArguments: [MoveAddressType, MoveAddressType];
3951
+ }, options?: InputGenerateTransactionOptions): Promise<PendingTransactionResponse>;
3952
+ function requestCommission(client: Aptos, account: AptosAccount, request: {
3953
+ typeArguments: [];
3954
+ functionArguments: [MoveAddressType, MoveAddressType];
3955
+ }, options?: InputGenerateTransactionOptions): Promise<PendingTransactionResponse>;
3956
+ function resetLockup(client: Aptos, account: AptosAccount, request: {
3957
+ typeArguments: [];
3958
+ functionArguments: [MoveAddressType];
3959
+ }, options?: InputGenerateTransactionOptions): Promise<PendingTransactionResponse>;
3960
+ function setBeneficiaryForOperator(client: Aptos, account: AptosAccount, request: {
3961
+ typeArguments: [];
3962
+ functionArguments: [MoveAddressType];
3963
+ }, options?: InputGenerateTransactionOptions): Promise<PendingTransactionResponse>;
3964
+ function switchOperator(client: Aptos, account: AptosAccount, request: {
3965
+ typeArguments: [];
3966
+ functionArguments: [MoveAddressType, MoveAddressType, bigint];
3967
+ }, options?: InputGenerateTransactionOptions): Promise<PendingTransactionResponse>;
3968
+ function switchOperatorWithSameCommission(client: Aptos, account: AptosAccount, request: {
3969
+ typeArguments: [];
3970
+ functionArguments: [MoveAddressType, MoveAddressType];
3971
+ }, options?: InputGenerateTransactionOptions): Promise<PendingTransactionResponse>;
3972
+ function unlockRewards(client: Aptos, account: AptosAccount, request: {
3973
+ typeArguments: [];
3974
+ functionArguments: [MoveAddressType];
3975
+ }, options?: InputGenerateTransactionOptions): Promise<PendingTransactionResponse>;
3976
+ function unlockStake(client: Aptos, account: AptosAccount, request: {
3977
+ typeArguments: [];
3978
+ functionArguments: [MoveAddressType, bigint];
3979
+ }, options?: InputGenerateTransactionOptions): Promise<PendingTransactionResponse>;
3980
+ function updateCommision(client: Aptos, account: AptosAccount, request: {
3981
+ typeArguments: [];
3982
+ functionArguments: [MoveAddressType, bigint];
3983
+ }, options?: InputGenerateTransactionOptions): Promise<PendingTransactionResponse>;
3984
+ function updateVoter(client: Aptos, account: AptosAccount, request: {
3985
+ typeArguments: [];
3986
+ functionArguments: [MoveAddressType, MoveAddressType];
3987
+ }, options?: InputGenerateTransactionOptions): Promise<PendingTransactionResponse>;
3913
3988
  }
3914
3989
  namespace view {
3915
- function commissionPercentage(client: AptosClient, request: {
3916
- arguments: [Address, Address];
3990
+ function beneficiaryForOperator(client: Aptos, request: {
3991
+ functionArguments: [MoveAddressType];
3992
+ }, version?: bigint): Promise<[MoveAddressType]>;
3993
+ function commissionPercentage(client: Aptos, request: {
3994
+ functionArguments: [MoveAddressType, MoveAddressType];
3917
3995
  }, version?: bigint): Promise<[bigint]>;
3918
- function getExpectedStakePoolAddress(client: AptosClient, request: {
3919
- arguments: [Address, Address, string];
3920
- }, version?: bigint): Promise<[Address]>;
3921
- function lastRecordedPrincipal(client: AptosClient, request: {
3922
- arguments: [Address, Address];
3996
+ function getExpectedStakePoolAddress(client: Aptos, request: {
3997
+ functionArguments: [MoveAddressType, MoveAddressType, string];
3998
+ }, version?: bigint): Promise<[MoveAddressType]>;
3999
+ function lastRecordedPrincipal(client: Aptos, request: {
4000
+ functionArguments: [MoveAddressType, MoveAddressType];
3923
4001
  }, version?: bigint): Promise<[bigint]>;
3924
- function pendingDistributionCounts(client: AptosClient, request: {
3925
- arguments: [Address, Address];
4002
+ function pendingDistributionCounts(client: Aptos, request: {
4003
+ functionArguments: [MoveAddressType, MoveAddressType];
3926
4004
  }, version?: bigint): Promise<[bigint]>;
3927
- function stakePoolAddress(client: AptosClient, request: {
3928
- arguments: [Address, Address];
3929
- }, version?: bigint): Promise<[Address]>;
3930
- function stakingContractAmounts(client: AptosClient, request: {
3931
- arguments: [Address, Address];
4005
+ function stakePoolAddress(client: Aptos, request: {
4006
+ functionArguments: [MoveAddressType, MoveAddressType];
4007
+ }, version?: bigint): Promise<[MoveAddressType]>;
4008
+ function stakingContractAmounts(client: Aptos, request: {
4009
+ functionArguments: [MoveAddressType, MoveAddressType];
3932
4010
  }, version?: bigint): Promise<[bigint, bigint, bigint]>;
3933
- function stakingContractExists(client: AptosClient, request: {
3934
- arguments: [Address, Address];
4011
+ function stakingContractExists(client: Aptos, request: {
4012
+ functionArguments: [MoveAddressType, MoveAddressType];
3935
4013
  }, version?: bigint): Promise<[Boolean]>;
3936
4014
  }
3937
4015
  }
@@ -3953,7 +4031,7 @@ export declare namespace table_with_length {
3953
4031
  }
3954
4032
  export declare namespace aggregator_factory {
3955
4033
  interface AggregatorFactory {
3956
- phantom_table: table.Table<Address, bigint>;
4034
+ phantom_table: table.Table<MoveAddressType, bigint>;
3957
4035
  }
3958
4036
  namespace AggregatorFactory {
3959
4037
  const TYPE_QNAME = "0x1::aggregator_factory::AggregatorFactory";
@@ -3999,7 +4077,7 @@ export declare namespace optional_aggregator {
3999
4077
  }
4000
4078
  export declare namespace transaction_context {
4001
4079
  interface AUID {
4002
- unique_address: Address;
4080
+ unique_address: MoveAddressType;
4003
4081
  }
4004
4082
  namespace AUID {
4005
4083
  const TYPE_QNAME = "0x1::transaction_context::AUID";
@@ -4067,37 +4145,37 @@ export declare namespace primary_fungible_store {
4067
4145
  function type(): TypeDescriptor<DeriveRefPod>;
4068
4146
  }
4069
4147
  namespace entry {
4070
- function transfer<T0 = any>(client: AptosClient, account: AptosAccount, request: {
4071
- type_arguments: [string];
4072
- arguments: [object_.Object<T0>, Address, bigint];
4073
- }, extraArgs?: OptionalTransactionArgs): Promise<Types.PendingTransaction>;
4148
+ function transfer<T0 = any>(client: Aptos, account: AptosAccount, request: {
4149
+ typeArguments: [MoveStructId];
4150
+ functionArguments: [object_.Object<T0>, MoveAddressType, bigint];
4151
+ }, options?: InputGenerateTransactionOptions): Promise<PendingTransactionResponse>;
4074
4152
  }
4075
4153
  namespace view {
4076
- function balance<T0 = any>(client: AptosClient, request: {
4077
- type_arguments: [string];
4078
- arguments: [Address, object_.Object<T0>];
4154
+ function balance<T0 = any>(client: Aptos, request: {
4155
+ typeArguments: [MoveStructId];
4156
+ functionArguments: [MoveAddressType, object_.Object<T0>];
4079
4157
  }, version?: bigint): Promise<[bigint]>;
4080
- function isFrozen<T0 = any>(client: AptosClient, request: {
4081
- type_arguments: [string];
4082
- arguments: [Address, object_.Object<T0>];
4158
+ function isFrozen<T0 = any>(client: Aptos, request: {
4159
+ typeArguments: [MoveStructId];
4160
+ functionArguments: [MoveAddressType, object_.Object<T0>];
4083
4161
  }, version?: bigint): Promise<[Boolean]>;
4084
- function primaryStore<T0 = any>(client: AptosClient, request: {
4085
- type_arguments: [string];
4086
- arguments: [Address, object_.Object<T0>];
4162
+ function primaryStore<T0 = any>(client: Aptos, request: {
4163
+ typeArguments: [MoveStructId];
4164
+ functionArguments: [MoveAddressType, object_.Object<T0>];
4087
4165
  }, version?: bigint): Promise<[object_.Object<fungible_asset.FungibleStore>]>;
4088
- function primaryStoreAddress<T0 = any>(client: AptosClient, request: {
4089
- type_arguments: [string];
4090
- arguments: [Address, object_.Object<T0>];
4091
- }, version?: bigint): Promise<[Address]>;
4092
- function primaryStoreExists<T0 = any>(client: AptosClient, request: {
4093
- type_arguments: [string];
4094
- arguments: [Address, object_.Object<T0>];
4166
+ function primaryStoreAddress<T0 = any>(client: Aptos, request: {
4167
+ typeArguments: [MoveStructId];
4168
+ functionArguments: [MoveAddressType, object_.Object<T0>];
4169
+ }, version?: bigint): Promise<[MoveAddressType]>;
4170
+ function primaryStoreExists<T0 = any>(client: Aptos, request: {
4171
+ typeArguments: [MoveStructId];
4172
+ functionArguments: [MoveAddressType, object_.Object<T0>];
4095
4173
  }, version?: bigint): Promise<[Boolean]>;
4096
4174
  }
4097
4175
  }
4098
4176
  export declare namespace transaction_validation {
4099
4177
  interface TransactionValidation {
4100
- module_addr: Address;
4178
+ module_addr: MoveAddressType;
4101
4179
  module_name: string;
4102
4180
  script_prologue_name: string;
4103
4181
  module_prologue_name: string;