@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.
- package/dist/cjs/account-resource-client.d.ts +8 -15
- package/dist/cjs/account-resource-client.d.ts.map +1 -1
- package/dist/cjs/account-resource-client.js +17 -10
- package/dist/cjs/account-resource-client.js.map +1 -1
- package/dist/cjs/account-resource-client.test.js.map +1 -1
- package/dist/cjs/aptos-chain-adapter.d.ts +3 -4
- package/dist/cjs/aptos-chain-adapter.d.ts.map +1 -1
- package/dist/cjs/aptos-chain-adapter.js +7 -2
- package/dist/cjs/aptos-chain-adapter.js.map +1 -1
- package/dist/cjs/builtin/0x1.d.ts +1039 -961
- package/dist/cjs/builtin/0x1.d.ts.map +1 -1
- package/dist/cjs/builtin/0x1.js +2675 -1458
- package/dist/cjs/builtin/0x1.js.map +1 -1
- package/dist/cjs/builtin/0x3.d.ts +126 -83
- package/dist/cjs/builtin/0x3.d.ts.map +1 -1
- package/dist/cjs/builtin/0x3.js +203 -117
- package/dist/cjs/builtin/0x3.js.map +1 -1
- package/dist/cjs/builtin/0x4.d.ts +139 -135
- package/dist/cjs/builtin/0x4.d.ts.map +1 -1
- package/dist/cjs/builtin/0x4.js +365 -210
- package/dist/cjs/builtin/0x4.js.map +1 -1
- package/dist/cjs/client.test.js.map +1 -1
- package/dist/cjs/codegen/codegen.d.ts +1 -1
- package/dist/cjs/codegen/codegen.d.ts.map +1 -1
- package/dist/cjs/codegen/codegen.js +29 -23
- package/dist/cjs/codegen/codegen.js.map +1 -1
- package/dist/cjs/codegen/types.test.js.map +1 -1
- package/dist/cjs/models.d.ts +2 -2
- package/dist/cjs/models.d.ts.map +1 -1
- package/dist/cjs/move-coder.d.ts +4 -5
- package/dist/cjs/move-coder.d.ts.map +1 -1
- package/dist/cjs/move-coder.js +6 -3
- package/dist/cjs/move-coder.js.map +1 -1
- package/dist/cjs/move-types.d.ts +1 -11
- package/dist/cjs/move-types.d.ts.map +1 -1
- package/dist/cjs/move-types.js +11 -0
- package/dist/cjs/move-types.js.map +1 -1
- package/dist/cjs/to-internal.d.ts +1 -1
- package/dist/cjs/to-internal.d.ts.map +1 -1
- package/dist/cjs/to-internal.js +8 -8
- package/dist/cjs/to-internal.js.map +1 -1
- package/dist/esm/account-resource-client.d.ts +8 -15
- package/dist/esm/account-resource-client.d.ts.map +1 -1
- package/dist/esm/account-resource-client.js +17 -10
- package/dist/esm/account-resource-client.js.map +1 -1
- package/dist/esm/account-resource-client.test.js.map +1 -1
- package/dist/esm/aptos-chain-adapter.d.ts +3 -4
- package/dist/esm/aptos-chain-adapter.d.ts.map +1 -1
- package/dist/esm/aptos-chain-adapter.js +7 -2
- package/dist/esm/aptos-chain-adapter.js.map +1 -1
- package/dist/esm/builtin/0x1.d.ts +1039 -961
- package/dist/esm/builtin/0x1.d.ts.map +1 -1
- package/dist/esm/builtin/0x1.js +2675 -1458
- package/dist/esm/builtin/0x1.js.map +1 -1
- package/dist/esm/builtin/0x3.d.ts +126 -83
- package/dist/esm/builtin/0x3.d.ts.map +1 -1
- package/dist/esm/builtin/0x3.js +203 -117
- package/dist/esm/builtin/0x3.js.map +1 -1
- package/dist/esm/builtin/0x4.d.ts +139 -135
- package/dist/esm/builtin/0x4.d.ts.map +1 -1
- package/dist/esm/builtin/0x4.js +365 -210
- package/dist/esm/builtin/0x4.js.map +1 -1
- package/dist/esm/client.test.js.map +1 -1
- package/dist/esm/codegen/codegen.d.ts +1 -1
- package/dist/esm/codegen/codegen.d.ts.map +1 -1
- package/dist/esm/codegen/codegen.js +29 -23
- package/dist/esm/codegen/codegen.js.map +1 -1
- package/dist/esm/codegen/run.js +5 -5
- package/dist/esm/codegen/run.js.map +1 -1
- package/dist/esm/codegen/types.test.js.map +1 -1
- package/dist/esm/models.d.ts +2 -2
- package/dist/esm/models.d.ts.map +1 -1
- package/dist/esm/move-coder.d.ts +4 -5
- package/dist/esm/move-coder.d.ts.map +1 -1
- package/dist/esm/move-coder.js +6 -3
- package/dist/esm/move-coder.js.map +1 -1
- package/dist/esm/move-types.d.ts +1 -11
- package/dist/esm/move-types.d.ts.map +1 -1
- package/dist/esm/move-types.js +11 -0
- package/dist/esm/move-types.js.map +1 -1
- package/dist/esm/to-internal.d.ts +1 -1
- package/dist/esm/to-internal.d.ts.map +1 -1
- package/dist/esm/to-internal.js +9 -9
- package/dist/esm/to-internal.js.map +1 -1
- package/package.json +3 -3
- package/src/abis/0x1.json +193 -4
- package/src/abis/0x4.json +20 -1
- package/src/account-resource-client.ts +30 -19
- package/src/aptos-chain-adapter.ts +10 -6
- package/src/builtin/0x1.ts +3994 -3160
- package/src/builtin/0x3.ts +337 -263
- package/src/builtin/0x4.ts +529 -437
- package/src/codegen/codegen.ts +29 -26
- package/src/codegen/run.ts +5 -5
- package/src/models.ts +7 -12
- package/src/move-coder.ts +18 -9
- package/src/move-types.ts +13 -12
- package/src/tests/types/0x48271d39d0b05bd6efca2278f22277d6fcc375504f9839fd73f74ace240861af.ts +829 -684
- package/src/tests/types/0x4dcae85fc5559071906cd5c76b7420fcbb4b0a92f00ab40ffc394aadbbff5ee9.ts +8 -9
- package/src/tests/types/0xbd35135844473187163ca197ca93b2ab014370587bb0ed3befff9e902d6bb541.ts +803 -687
- 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 {
|
|
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:
|
|
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:
|
|
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:
|
|
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:
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
},
|
|
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:
|
|
210
|
-
|
|
211
|
-
|
|
212
|
-
},
|
|
213
|
-
function transfer<T0 = any>(client:
|
|
214
|
-
|
|
215
|
-
|
|
216
|
-
},
|
|
217
|
-
function unfreezeCoinStore<T0 = any>(client:
|
|
218
|
-
|
|
219
|
-
|
|
220
|
-
},
|
|
221
|
-
function upgradeSupply<T0 = any>(client:
|
|
222
|
-
|
|
223
|
-
|
|
224
|
-
},
|
|
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:
|
|
228
|
-
|
|
229
|
-
|
|
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:
|
|
232
|
-
|
|
230
|
+
function decimals<T0 = any>(client: Aptos, request: {
|
|
231
|
+
typeArguments: [MoveStructId];
|
|
233
232
|
}, version?: bigint): Promise<[number]>;
|
|
234
|
-
function isAccountRegistered<T0 = any>(client:
|
|
235
|
-
|
|
236
|
-
|
|
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:
|
|
239
|
-
|
|
237
|
+
function isCoinInitialized<T0 = any>(client: Aptos, request: {
|
|
238
|
+
typeArguments: [MoveStructId];
|
|
240
239
|
}, version?: bigint): Promise<[Boolean]>;
|
|
241
|
-
function isCoinStoreFrozen<T0 = any>(client:
|
|
242
|
-
|
|
243
|
-
|
|
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:
|
|
246
|
-
|
|
244
|
+
function name<T0 = any>(client: Aptos, request: {
|
|
245
|
+
typeArguments: [MoveStructId];
|
|
247
246
|
}, version?: bigint): Promise<[string]>;
|
|
248
|
-
function supply<T0 = any>(client:
|
|
249
|
-
|
|
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:
|
|
252
|
-
|
|
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:
|
|
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:
|
|
302
|
+
hash: MoveAddressType;
|
|
304
303
|
epoch: bigint;
|
|
305
304
|
round: bigint;
|
|
306
305
|
height: bigint;
|
|
307
306
|
previous_block_votes_bitvec: string;
|
|
308
|
-
proposer:
|
|
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:
|
|
335
|
-
function getEpochIntervalSecs(client:
|
|
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:
|
|
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:
|
|
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:
|
|
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:
|
|
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:
|
|
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:
|
|
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:
|
|
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:
|
|
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:
|
|
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:
|
|
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:
|
|
489
|
-
old_operator:
|
|
490
|
-
new_operator:
|
|
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:
|
|
507
|
-
delegated_voter:
|
|
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:
|
|
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:
|
|
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<
|
|
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:
|
|
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:
|
|
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:
|
|
619
|
-
|
|
620
|
-
|
|
621
|
-
},
|
|
622
|
-
function increaseLockup(client:
|
|
623
|
-
|
|
624
|
-
|
|
625
|
-
},
|
|
626
|
-
function initializeStakeOwner(client:
|
|
627
|
-
|
|
628
|
-
|
|
629
|
-
},
|
|
630
|
-
function initializeValidator(client:
|
|
631
|
-
|
|
632
|
-
|
|
633
|
-
},
|
|
634
|
-
function joinValidatorSet(client:
|
|
635
|
-
|
|
636
|
-
|
|
637
|
-
},
|
|
638
|
-
function leaveValidatorSet(client:
|
|
639
|
-
|
|
640
|
-
|
|
641
|
-
},
|
|
642
|
-
function reactivateStake(client:
|
|
643
|
-
|
|
644
|
-
|
|
645
|
-
},
|
|
646
|
-
function rotateConsensusKey(client:
|
|
647
|
-
|
|
648
|
-
|
|
649
|
-
},
|
|
650
|
-
function setDelegatedVoter(client:
|
|
651
|
-
|
|
652
|
-
|
|
653
|
-
},
|
|
654
|
-
function setOperator(client:
|
|
655
|
-
|
|
656
|
-
|
|
657
|
-
},
|
|
658
|
-
function unlock(client:
|
|
659
|
-
|
|
660
|
-
|
|
661
|
-
},
|
|
662
|
-
function updateNetworkAndFullnodeAddresses(client:
|
|
663
|
-
|
|
664
|
-
|
|
665
|
-
},
|
|
666
|
-
function withdraw(client:
|
|
667
|
-
|
|
668
|
-
|
|
669
|
-
},
|
|
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:
|
|
673
|
-
|
|
671
|
+
function getCurrentEpochProposalCounts(client: Aptos, request: {
|
|
672
|
+
functionArguments: [bigint];
|
|
674
673
|
}, version?: bigint): Promise<[bigint, bigint]>;
|
|
675
|
-
function getCurrentEpochVotingPower(client:
|
|
676
|
-
|
|
674
|
+
function getCurrentEpochVotingPower(client: Aptos, request: {
|
|
675
|
+
functionArguments: [MoveAddressType];
|
|
677
676
|
}, version?: bigint): Promise<[bigint]>;
|
|
678
|
-
function getDelegatedVoter(client:
|
|
679
|
-
|
|
680
|
-
}, version?: bigint): Promise<[
|
|
681
|
-
function getLockupSecs(client:
|
|
682
|
-
|
|
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:
|
|
685
|
-
|
|
686
|
-
}, version?: bigint): Promise<[
|
|
687
|
-
function getRemainingLockupSecs(client:
|
|
688
|
-
|
|
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:
|
|
691
|
-
|
|
689
|
+
function getStake(client: Aptos, request: {
|
|
690
|
+
functionArguments: [MoveAddressType];
|
|
692
691
|
}, version?: bigint): Promise<[bigint, bigint, bigint, bigint]>;
|
|
693
|
-
function getValidatorConfig(client:
|
|
694
|
-
|
|
692
|
+
function getValidatorConfig(client: Aptos, request: {
|
|
693
|
+
functionArguments: [MoveAddressType];
|
|
695
694
|
}, version?: bigint): Promise<[string, string, string]>;
|
|
696
|
-
function getValidatorIndex(client:
|
|
697
|
-
|
|
695
|
+
function getValidatorIndex(client: Aptos, request: {
|
|
696
|
+
functionArguments: [MoveAddressType];
|
|
698
697
|
}, version?: bigint): Promise<[bigint]>;
|
|
699
|
-
function getValidatorState(client:
|
|
700
|
-
|
|
698
|
+
function getValidatorState(client: Aptos, request: {
|
|
699
|
+
functionArguments: [MoveAddressType];
|
|
701
700
|
}, version?: bigint): Promise<[bigint]>;
|
|
702
|
-
function stakePoolExists(client:
|
|
703
|
-
|
|
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:
|
|
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:
|
|
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:
|
|
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:
|
|
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:
|
|
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:
|
|
777
|
-
owner:
|
|
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:
|
|
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:
|
|
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:
|
|
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:
|
|
820
|
-
from:
|
|
821
|
-
to:
|
|
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:
|
|
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:
|
|
844
|
-
|
|
845
|
-
|
|
846
|
-
},
|
|
847
|
-
function transfer<T0 = any>(client:
|
|
848
|
-
|
|
849
|
-
|
|
850
|
-
},
|
|
851
|
-
function transferCall(client:
|
|
852
|
-
|
|
853
|
-
|
|
854
|
-
},
|
|
855
|
-
function transferToObject<T0 = any, T1 = any>(client:
|
|
856
|
-
|
|
857
|
-
|
|
858
|
-
},
|
|
859
|
-
function unburn<T0 = any>(client:
|
|
860
|
-
|
|
861
|
-
|
|
862
|
-
},
|
|
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:
|
|
866
|
-
|
|
867
|
-
|
|
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:
|
|
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:
|
|
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:
|
|
1004
|
-
|
|
1005
|
-
|
|
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:
|
|
1008
|
-
|
|
1009
|
-
|
|
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:
|
|
1012
|
-
|
|
1013
|
-
|
|
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:
|
|
1016
|
-
|
|
1017
|
-
|
|
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:
|
|
1020
|
-
|
|
1021
|
-
|
|
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:
|
|
1024
|
-
|
|
1025
|
-
|
|
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:
|
|
1028
|
-
|
|
1029
|
-
|
|
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:
|
|
1032
|
-
|
|
1033
|
-
|
|
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:
|
|
1036
|
-
|
|
1037
|
-
|
|
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:
|
|
1040
|
-
|
|
1041
|
-
|
|
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:
|
|
1044
|
-
|
|
1045
|
-
|
|
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<
|
|
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<
|
|
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:
|
|
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:
|
|
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:
|
|
1123
|
-
recipient_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:
|
|
1132
|
-
current_auth_key:
|
|
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:
|
|
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:
|
|
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:
|
|
1161
|
-
recipient_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:
|
|
1169
|
-
|
|
1170
|
-
|
|
1171
|
-
},
|
|
1172
|
-
function offerSignerCapability(client:
|
|
1173
|
-
|
|
1174
|
-
|
|
1175
|
-
},
|
|
1176
|
-
function revokeAnyRotationCapability(client:
|
|
1177
|
-
|
|
1178
|
-
|
|
1179
|
-
},
|
|
1180
|
-
function revokeAnySignerCapability(client:
|
|
1181
|
-
|
|
1182
|
-
|
|
1183
|
-
},
|
|
1184
|
-
function revokeRotationCapability(client:
|
|
1185
|
-
|
|
1186
|
-
|
|
1187
|
-
},
|
|
1188
|
-
function revokeSignerCapability(client:
|
|
1189
|
-
|
|
1190
|
-
|
|
1191
|
-
},
|
|
1192
|
-
function rotateAuthenticationKey(client:
|
|
1193
|
-
|
|
1194
|
-
|
|
1195
|
-
},
|
|
1196
|
-
function rotateAuthenticationKeyWithRotationCapability(client:
|
|
1197
|
-
|
|
1198
|
-
|
|
1199
|
-
},
|
|
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:
|
|
1203
|
-
|
|
1201
|
+
function existsAt(client: Aptos, request: {
|
|
1202
|
+
functionArguments: [MoveAddressType];
|
|
1204
1203
|
}, version?: bigint): Promise<[Boolean]>;
|
|
1205
|
-
function getAuthenticationKey(client:
|
|
1206
|
-
|
|
1204
|
+
function getAuthenticationKey(client: Aptos, request: {
|
|
1205
|
+
functionArguments: [MoveAddressType];
|
|
1207
1206
|
}, version?: bigint): Promise<[string]>;
|
|
1208
|
-
function getGuidNextCreationNum(client:
|
|
1209
|
-
|
|
1207
|
+
function getGuidNextCreationNum(client: Aptos, request: {
|
|
1208
|
+
functionArguments: [MoveAddressType];
|
|
1210
1209
|
}, version?: bigint): Promise<[bigint]>;
|
|
1211
|
-
function getRotationCapabilityOfferFor(client:
|
|
1212
|
-
|
|
1213
|
-
}, version?: bigint): Promise<[
|
|
1214
|
-
function getSequenceNumber(client:
|
|
1215
|
-
|
|
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:
|
|
1218
|
-
|
|
1219
|
-
}, version?: bigint): Promise<[
|
|
1220
|
-
function isRotationCapabilityOffered(client:
|
|
1221
|
-
|
|
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:
|
|
1224
|
-
|
|
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:
|
|
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:
|
|
1282
|
+
accounts: MoveAddressType[];
|
|
1284
1283
|
validator: genesis.ValidatorConfigurationWithCommission;
|
|
1285
1284
|
vesting_schedule_numerator: bigint[];
|
|
1286
1285
|
vesting_schedule_denominator: bigint;
|
|
1287
|
-
beneficiary_resetter:
|
|
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:
|
|
1295
|
-
operator_address:
|
|
1296
|
-
voter_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:
|
|
1340
|
-
|
|
1341
|
-
|
|
1342
|
-
},
|
|
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:
|
|
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:
|
|
1358
|
-
vesting_contract_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:
|
|
1371
|
-
voter:
|
|
1369
|
+
operator: MoveAddressType;
|
|
1370
|
+
voter: MoveAddressType;
|
|
1372
1371
|
grant_amount: bigint;
|
|
1373
|
-
withdrawal_address:
|
|
1374
|
-
vesting_contract_address:
|
|
1375
|
-
staking_pool_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:
|
|
1388
|
-
vesting_contract_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:
|
|
1401
|
-
vesting_contract_address:
|
|
1402
|
-
staking_pool_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:
|
|
1415
|
-
vesting_contract_address:
|
|
1416
|
-
shareholder:
|
|
1417
|
-
old_beneficiary:
|
|
1418
|
-
new_beneficiary:
|
|
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:
|
|
1430
|
-
operator:
|
|
1431
|
-
voter:
|
|
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:
|
|
1440
|
-
vesting_contract_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:
|
|
1452
|
-
vesting_contract_address:
|
|
1453
|
-
staking_pool_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:
|
|
1466
|
-
vesting_contract_address:
|
|
1467
|
-
staking_pool_address:
|
|
1468
|
-
old_operator:
|
|
1469
|
-
new_operator:
|
|
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:
|
|
1482
|
-
vesting_contract_address:
|
|
1483
|
-
staking_pool_address:
|
|
1484
|
-
old_voter:
|
|
1485
|
-
new_voter:
|
|
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:
|
|
1497
|
-
vesting_contract_address:
|
|
1498
|
-
staking_pool_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,
|
|
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:
|
|
1518
|
+
admin: MoveAddressType;
|
|
1520
1519
|
grant_pool: pool_u64.Pool;
|
|
1521
|
-
beneficiaries: simple_map.SimpleMap<
|
|
1520
|
+
beneficiaries: simple_map.SimpleMap<MoveAddressType, MoveAddressType>;
|
|
1522
1521
|
vesting_schedule: vesting.VestingSchedule;
|
|
1523
|
-
withdrawal_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:
|
|
1557
|
-
|
|
1558
|
-
|
|
1559
|
-
},
|
|
1560
|
-
function distribute(client:
|
|
1561
|
-
|
|
1562
|
-
|
|
1563
|
-
},
|
|
1564
|
-
function distributeMany(client:
|
|
1565
|
-
|
|
1566
|
-
|
|
1567
|
-
},
|
|
1568
|
-
function resetBeneficiary(client:
|
|
1569
|
-
|
|
1570
|
-
|
|
1571
|
-
},
|
|
1572
|
-
function resetLockup(client:
|
|
1573
|
-
|
|
1574
|
-
|
|
1575
|
-
},
|
|
1576
|
-
function setBeneficiary(client:
|
|
1577
|
-
|
|
1578
|
-
|
|
1579
|
-
},
|
|
1580
|
-
function
|
|
1581
|
-
|
|
1582
|
-
|
|
1583
|
-
},
|
|
1584
|
-
function
|
|
1585
|
-
|
|
1586
|
-
|
|
1587
|
-
},
|
|
1588
|
-
function
|
|
1589
|
-
|
|
1590
|
-
|
|
1591
|
-
},
|
|
1592
|
-
function
|
|
1593
|
-
|
|
1594
|
-
|
|
1595
|
-
},
|
|
1596
|
-
function
|
|
1597
|
-
|
|
1598
|
-
|
|
1599
|
-
},
|
|
1600
|
-
function
|
|
1601
|
-
|
|
1602
|
-
|
|
1603
|
-
},
|
|
1604
|
-
function
|
|
1605
|
-
|
|
1606
|
-
|
|
1607
|
-
},
|
|
1608
|
-
function
|
|
1609
|
-
|
|
1610
|
-
|
|
1611
|
-
},
|
|
1612
|
-
function
|
|
1613
|
-
|
|
1614
|
-
|
|
1615
|
-
},
|
|
1616
|
-
function
|
|
1617
|
-
|
|
1618
|
-
|
|
1619
|
-
},
|
|
1620
|
-
function
|
|
1621
|
-
|
|
1622
|
-
|
|
1623
|
-
},
|
|
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:
|
|
1627
|
-
|
|
1629
|
+
function accumulatedRewards(client: Aptos, request: {
|
|
1630
|
+
functionArguments: [MoveAddressType, MoveAddressType];
|
|
1628
1631
|
}, version?: bigint): Promise<[bigint]>;
|
|
1629
|
-
function beneficiary(client:
|
|
1630
|
-
|
|
1631
|
-
}, version?: bigint): Promise<[
|
|
1632
|
-
function operator(client:
|
|
1633
|
-
|
|
1634
|
-
}, version?: bigint): Promise<[
|
|
1635
|
-
function operatorCommissionPercentage(client:
|
|
1636
|
-
|
|
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:
|
|
1639
|
-
|
|
1641
|
+
function periodDurationSecs(client: Aptos, request: {
|
|
1642
|
+
functionArguments: [MoveAddressType];
|
|
1640
1643
|
}, version?: bigint): Promise<[bigint]>;
|
|
1641
|
-
function remainingGrant(client:
|
|
1642
|
-
|
|
1644
|
+
function remainingGrant(client: Aptos, request: {
|
|
1645
|
+
functionArguments: [MoveAddressType];
|
|
1643
1646
|
}, version?: bigint): Promise<[bigint]>;
|
|
1644
|
-
function shareholder(client:
|
|
1645
|
-
|
|
1646
|
-
}, version?: bigint): Promise<[
|
|
1647
|
-
function shareholders(client:
|
|
1648
|
-
|
|
1649
|
-
}, version?: bigint): Promise<[
|
|
1650
|
-
function stakePoolAddress(client:
|
|
1651
|
-
|
|
1652
|
-
}, version?: bigint): Promise<[
|
|
1653
|
-
function totalAccumulatedRewards(client:
|
|
1654
|
-
|
|
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:
|
|
1657
|
-
|
|
1658
|
-
}, version?: bigint): Promise<[
|
|
1659
|
-
function vestingSchedule(client:
|
|
1660
|
-
|
|
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:
|
|
1663
|
-
|
|
1665
|
+
function vestingStartSecs(client: Aptos, request: {
|
|
1666
|
+
functionArguments: [MoveAddressType];
|
|
1664
1667
|
}, version?: bigint): Promise<[bigint]>;
|
|
1665
|
-
function voter(client:
|
|
1666
|
-
|
|
1667
|
-
}, version?: bigint): Promise<[
|
|
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:
|
|
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<
|
|
1774
|
-
shareholders:
|
|
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:
|
|
1821
|
-
function nowSeconds(client:
|
|
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:
|
|
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:
|
|
1844
|
-
key:
|
|
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:
|
|
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:
|
|
1885
|
-
|
|
1886
|
-
|
|
1887
|
-
},
|
|
1888
|
-
function delegateMintCapability(client:
|
|
1889
|
-
|
|
1890
|
-
|
|
1891
|
-
},
|
|
1892
|
-
function mint(client:
|
|
1893
|
-
|
|
1894
|
-
|
|
1895
|
-
},
|
|
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:
|
|
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:
|
|
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:
|
|
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:
|
|
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:
|
|
2109
|
-
function isOperating(client:
|
|
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:
|
|
2171
|
-
|
|
2172
|
-
|
|
2173
|
-
},
|
|
2174
|
-
function initialize<T0 = any>(client:
|
|
2175
|
-
|
|
2176
|
-
|
|
2177
|
-
},
|
|
2178
|
-
function mint<T0 = any>(client:
|
|
2179
|
-
|
|
2180
|
-
|
|
2181
|
-
},
|
|
2182
|
-
function register<T0 = any>(client:
|
|
2183
|
-
|
|
2184
|
-
|
|
2185
|
-
},
|
|
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:
|
|
2316
|
-
|
|
2317
|
-
|
|
2318
|
-
},
|
|
2319
|
-
function batchTransferCoins<T0 = any>(client:
|
|
2320
|
-
|
|
2321
|
-
|
|
2322
|
-
},
|
|
2323
|
-
function createAccount(client:
|
|
2324
|
-
|
|
2325
|
-
|
|
2326
|
-
},
|
|
2327
|
-
function setAllowDirectCoinTransfers(client:
|
|
2328
|
-
|
|
2329
|
-
|
|
2330
|
-
},
|
|
2331
|
-
function transfer(client:
|
|
2332
|
-
|
|
2333
|
-
|
|
2334
|
-
},
|
|
2335
|
-
function transferCoins<T0 = any>(client:
|
|
2336
|
-
|
|
2337
|
-
|
|
2338
|
-
},
|
|
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:
|
|
2342
|
-
|
|
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:
|
|
2420
|
-
|
|
2421
|
-
|
|
2422
|
-
},
|
|
2423
|
-
function setStakePoolOperator(client:
|
|
2424
|
-
|
|
2425
|
-
|
|
2426
|
-
},
|
|
2427
|
-
function setStakePoolVoter(client:
|
|
2428
|
-
|
|
2429
|
-
|
|
2430
|
-
},
|
|
2431
|
-
function setStakingContractOperator(client:
|
|
2432
|
-
|
|
2433
|
-
|
|
2434
|
-
},
|
|
2435
|
-
function setStakingContractVoter(client:
|
|
2436
|
-
|
|
2437
|
-
|
|
2438
|
-
},
|
|
2439
|
-
function setVestingContractOperator(client:
|
|
2440
|
-
|
|
2441
|
-
|
|
2442
|
-
},
|
|
2443
|
-
function setVestingContractVoter(client:
|
|
2444
|
-
|
|
2445
|
-
|
|
2446
|
-
},
|
|
2447
|
-
function setVoter(client:
|
|
2448
|
-
|
|
2449
|
-
|
|
2450
|
-
},
|
|
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:
|
|
2610
|
-
|
|
2611
|
-
|
|
2612
|
-
},
|
|
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:
|
|
2616
|
-
|
|
2617
|
-
|
|
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:
|
|
2620
|
-
|
|
2621
|
-
|
|
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:
|
|
2624
|
-
|
|
2625
|
-
|
|
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:
|
|
2628
|
-
|
|
2629
|
-
|
|
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:
|
|
2632
|
-
|
|
2633
|
-
|
|
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:
|
|
2636
|
-
|
|
2638
|
+
function storeExists(client: Aptos, request: {
|
|
2639
|
+
functionArguments: [MoveAddressType];
|
|
2637
2640
|
}, version?: bigint): Promise<[Boolean]>;
|
|
2638
|
-
function storeMetadata<T0 = any>(client:
|
|
2639
|
-
|
|
2640
|
-
|
|
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:
|
|
2643
|
-
|
|
2644
|
-
|
|
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:
|
|
2647
|
-
|
|
2648
|
-
|
|
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:
|
|
2683
|
-
delegator_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:
|
|
2698
|
-
delegation_pool:
|
|
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:
|
|
2710
|
-
delegator:
|
|
2711
|
-
voter:
|
|
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<
|
|
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:
|
|
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:
|
|
2762
|
-
operator:
|
|
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<
|
|
2778
|
-
delegated_votes: smart_table.SmartTable<
|
|
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:
|
|
2800
|
-
delegator_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:
|
|
2813
|
-
delegator_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:
|
|
2826
|
-
pending_voter:
|
|
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:
|
|
2876
|
+
voter: MoveAddressType;
|
|
2839
2877
|
proposal_id: bigint;
|
|
2840
|
-
delegation_pool:
|
|
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:
|
|
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:
|
|
2866
|
-
delegator_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:
|
|
2879
|
-
|
|
2880
|
-
|
|
2881
|
-
},
|
|
2882
|
-
function createProposal(client:
|
|
2883
|
-
|
|
2884
|
-
|
|
2885
|
-
},
|
|
2886
|
-
function delegateVotingPower(client:
|
|
2887
|
-
|
|
2888
|
-
|
|
2889
|
-
},
|
|
2890
|
-
function enablePartialGovernanceVoting(client:
|
|
2891
|
-
|
|
2892
|
-
|
|
2893
|
-
},
|
|
2894
|
-
function initializeDelegationPool(client:
|
|
2895
|
-
|
|
2896
|
-
|
|
2897
|
-
},
|
|
2898
|
-
function reactivateStake(client:
|
|
2899
|
-
|
|
2900
|
-
|
|
2901
|
-
},
|
|
2902
|
-
function
|
|
2903
|
-
|
|
2904
|
-
|
|
2905
|
-
},
|
|
2906
|
-
function
|
|
2907
|
-
|
|
2908
|
-
|
|
2909
|
-
},
|
|
2910
|
-
function
|
|
2911
|
-
|
|
2912
|
-
|
|
2913
|
-
},
|
|
2914
|
-
function
|
|
2915
|
-
|
|
2916
|
-
|
|
2917
|
-
},
|
|
2918
|
-
function
|
|
2919
|
-
|
|
2920
|
-
|
|
2921
|
-
},
|
|
2922
|
-
function
|
|
2923
|
-
|
|
2924
|
-
|
|
2925
|
-
},
|
|
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
|
|
2929
|
-
|
|
2930
|
-
}, version?: bigint): Promise<[
|
|
2931
|
-
function
|
|
2932
|
-
|
|
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:
|
|
2935
|
-
|
|
2979
|
+
function calculateAndUpdateVoterTotalVotingPower(client: Aptos, request: {
|
|
2980
|
+
functionArguments: [MoveAddressType, MoveAddressType];
|
|
2936
2981
|
}, version?: bigint): Promise<[bigint]>;
|
|
2937
|
-
function canWithdrawPendingInactive(client:
|
|
2938
|
-
|
|
2982
|
+
function canWithdrawPendingInactive(client: Aptos, request: {
|
|
2983
|
+
functionArguments: [MoveAddressType];
|
|
2939
2984
|
}, version?: bigint): Promise<[Boolean]>;
|
|
2940
|
-
function delegationPoolExists(client:
|
|
2941
|
-
|
|
2985
|
+
function delegationPoolExists(client: Aptos, request: {
|
|
2986
|
+
functionArguments: [MoveAddressType];
|
|
2942
2987
|
}, version?: bigint): Promise<[Boolean]>;
|
|
2943
|
-
function getAddStakeFee(client:
|
|
2944
|
-
|
|
2988
|
+
function getAddStakeFee(client: Aptos, request: {
|
|
2989
|
+
functionArguments: [MoveAddressType, bigint];
|
|
2945
2990
|
}, version?: bigint): Promise<[bigint]>;
|
|
2946
|
-
function getDelegationPoolStake(client:
|
|
2947
|
-
|
|
2991
|
+
function getDelegationPoolStake(client: Aptos, request: {
|
|
2992
|
+
functionArguments: [MoveAddressType];
|
|
2948
2993
|
}, version?: bigint): Promise<[bigint, bigint, bigint, bigint]>;
|
|
2949
|
-
function getExpectedStakePoolAddress(client:
|
|
2950
|
-
|
|
2951
|
-
}, version?: bigint): Promise<[
|
|
2952
|
-
function getOwnedPoolAddress(client:
|
|
2953
|
-
|
|
2954
|
-
}, version?: bigint): Promise<[
|
|
2955
|
-
function getPendingWithdrawal(client:
|
|
2956
|
-
|
|
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:
|
|
2959
|
-
|
|
3003
|
+
function getStake(client: Aptos, request: {
|
|
3004
|
+
functionArguments: [MoveAddressType, MoveAddressType];
|
|
2960
3005
|
}, version?: bigint): Promise<[bigint, bigint, bigint]>;
|
|
2961
|
-
function observedLockupCycle(client:
|
|
2962
|
-
|
|
3006
|
+
function observedLockupCycle(client: Aptos, request: {
|
|
3007
|
+
functionArguments: [MoveAddressType];
|
|
2963
3008
|
}, version?: bigint): Promise<[bigint]>;
|
|
2964
|
-
function operatorCommissionPercentage(client:
|
|
2965
|
-
|
|
3009
|
+
function operatorCommissionPercentage(client: Aptos, request: {
|
|
3010
|
+
functionArguments: [MoveAddressType];
|
|
2966
3011
|
}, version?: bigint): Promise<[bigint]>;
|
|
2967
|
-
function ownerCapExists(client:
|
|
2968
|
-
|
|
3012
|
+
function ownerCapExists(client: Aptos, request: {
|
|
3013
|
+
functionArguments: [MoveAddressType];
|
|
2969
3014
|
}, version?: bigint): Promise<[Boolean]>;
|
|
2970
|
-
function partialGovernanceVotingEnabled(client:
|
|
2971
|
-
|
|
3015
|
+
function partialGovernanceVotingEnabled(client: Aptos, request: {
|
|
3016
|
+
functionArguments: [MoveAddressType];
|
|
2972
3017
|
}, version?: bigint): Promise<[Boolean]>;
|
|
2973
|
-
function shareholdersCountActivePool(client:
|
|
2974
|
-
|
|
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<
|
|
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:
|
|
3061
|
-
stake_pool:
|
|
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<
|
|
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:
|
|
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:
|
|
3127
|
-
stake_pool:
|
|
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:
|
|
3155
|
-
|
|
3156
|
-
|
|
3157
|
-
},
|
|
3158
|
-
function createProposal(client:
|
|
3159
|
-
|
|
3160
|
-
|
|
3161
|
-
},
|
|
3162
|
-
function createProposalV2(client:
|
|
3163
|
-
|
|
3164
|
-
|
|
3165
|
-
},
|
|
3166
|
-
function partialVote(client:
|
|
3167
|
-
|
|
3168
|
-
|
|
3169
|
-
},
|
|
3170
|
-
function vote(client:
|
|
3171
|
-
|
|
3172
|
-
|
|
3173
|
-
},
|
|
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:
|
|
3177
|
-
function getRemainingVotingPower(client:
|
|
3178
|
-
|
|
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:
|
|
3181
|
-
function getVotingDurationSecs(client:
|
|
3182
|
-
function getVotingPower(client:
|
|
3183
|
-
|
|
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:
|
|
3186
|
-
|
|
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:
|
|
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:
|
|
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:
|
|
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:
|
|
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:
|
|
3453
|
+
account_address: MoveAddressType;
|
|
3409
3454
|
sequence_number: bigint;
|
|
3410
|
-
owners:
|
|
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:
|
|
3464
|
+
account_address: MoveAddressType;
|
|
3420
3465
|
sequence_number: bigint;
|
|
3421
|
-
owners:
|
|
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<
|
|
3432
|
-
creator:
|
|
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:
|
|
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:
|
|
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:
|
|
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:
|
|
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:
|
|
3510
|
-
|
|
3511
|
-
|
|
3512
|
-
},
|
|
3513
|
-
function addOwners(client:
|
|
3514
|
-
|
|
3515
|
-
|
|
3516
|
-
},
|
|
3517
|
-
function addOwnersAndUpdateSignaturesRequired(client:
|
|
3518
|
-
|
|
3519
|
-
|
|
3520
|
-
},
|
|
3521
|
-
function approveTransaction(client:
|
|
3522
|
-
|
|
3523
|
-
|
|
3524
|
-
},
|
|
3525
|
-
function create(client:
|
|
3526
|
-
|
|
3527
|
-
|
|
3528
|
-
},
|
|
3529
|
-
function createTransaction(client:
|
|
3530
|
-
|
|
3531
|
-
|
|
3532
|
-
},
|
|
3533
|
-
function createTransactionWithHash(client:
|
|
3534
|
-
|
|
3535
|
-
|
|
3536
|
-
},
|
|
3537
|
-
function createWithExistingAccount(client:
|
|
3538
|
-
|
|
3539
|
-
|
|
3540
|
-
|
|
3541
|
-
|
|
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
|
-
},
|
|
3550
|
-
function createWithExistingAccountAndRevokeAuthKey(client:
|
|
3551
|
-
|
|
3552
|
-
|
|
3553
|
-
|
|
3554
|
-
|
|
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
|
-
},
|
|
3563
|
-
function createWithOwners(client:
|
|
3564
|
-
|
|
3565
|
-
|
|
3566
|
-
},
|
|
3567
|
-
function createWithOwnersThenRemoveBootstrapper(client:
|
|
3568
|
-
|
|
3569
|
-
|
|
3570
|
-
},
|
|
3571
|
-
function executeRejectedTransaction(client:
|
|
3572
|
-
|
|
3573
|
-
|
|
3574
|
-
},
|
|
3575
|
-
function rejectTransaction(client:
|
|
3576
|
-
|
|
3577
|
-
|
|
3578
|
-
},
|
|
3579
|
-
function removeOwner(client:
|
|
3580
|
-
|
|
3581
|
-
|
|
3582
|
-
},
|
|
3583
|
-
function removeOwners(client:
|
|
3584
|
-
|
|
3585
|
-
|
|
3586
|
-
},
|
|
3587
|
-
function swapOwner(client:
|
|
3588
|
-
|
|
3589
|
-
|
|
3590
|
-
},
|
|
3591
|
-
function swapOwners(client:
|
|
3592
|
-
|
|
3593
|
-
|
|
3594
|
-
},
|
|
3595
|
-
function swapOwnersAndUpdateSignaturesRequired(client:
|
|
3596
|
-
|
|
3597
|
-
|
|
3598
|
-
},
|
|
3599
|
-
function updateMetadata(client:
|
|
3600
|
-
|
|
3601
|
-
|
|
3602
|
-
},
|
|
3603
|
-
function updateSignaturesRequired(client:
|
|
3604
|
-
|
|
3605
|
-
|
|
3606
|
-
},
|
|
3607
|
-
function voteTransanction(client:
|
|
3608
|
-
|
|
3609
|
-
|
|
3610
|
-
},
|
|
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:
|
|
3614
|
-
|
|
3658
|
+
function canBeExecuted(client: Aptos, request: {
|
|
3659
|
+
functionArguments: [MoveAddressType, bigint];
|
|
3615
3660
|
}, version?: bigint): Promise<[Boolean]>;
|
|
3616
|
-
function canBeRejected(client:
|
|
3617
|
-
|
|
3661
|
+
function canBeRejected(client: Aptos, request: {
|
|
3662
|
+
functionArguments: [MoveAddressType, bigint];
|
|
3618
3663
|
}, version?: bigint): Promise<[Boolean]>;
|
|
3619
|
-
function getNextMultisigAccountAddress(client:
|
|
3620
|
-
|
|
3621
|
-
}, version?: bigint): Promise<[
|
|
3622
|
-
function getNextTransactionPayload(client:
|
|
3623
|
-
|
|
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:
|
|
3626
|
-
|
|
3670
|
+
function getPendingTransactions(client: Aptos, request: {
|
|
3671
|
+
functionArguments: [MoveAddressType];
|
|
3627
3672
|
}, version?: bigint): Promise<[multisig_account.MultisigTransaction[]]>;
|
|
3628
|
-
function getTransaction(client:
|
|
3629
|
-
|
|
3673
|
+
function getTransaction(client: Aptos, request: {
|
|
3674
|
+
functionArguments: [MoveAddressType, bigint];
|
|
3630
3675
|
}, version?: bigint): Promise<[multisig_account.MultisigTransaction]>;
|
|
3631
|
-
function lastResolvedSequenceNumber(client:
|
|
3632
|
-
|
|
3676
|
+
function lastResolvedSequenceNumber(client: Aptos, request: {
|
|
3677
|
+
functionArguments: [MoveAddressType];
|
|
3633
3678
|
}, version?: bigint): Promise<[bigint]>;
|
|
3634
|
-
function metadata(client:
|
|
3635
|
-
|
|
3679
|
+
function metadata(client: Aptos, request: {
|
|
3680
|
+
functionArguments: [MoveAddressType];
|
|
3636
3681
|
}, version?: bigint): Promise<[simple_map.SimpleMap<string, string>]>;
|
|
3637
|
-
function nextSequenceNumber(client:
|
|
3638
|
-
|
|
3682
|
+
function nextSequenceNumber(client: Aptos, request: {
|
|
3683
|
+
functionArguments: [MoveAddressType];
|
|
3639
3684
|
}, version?: bigint): Promise<[bigint]>;
|
|
3640
|
-
function numSignaturesRequired(client:
|
|
3641
|
-
|
|
3685
|
+
function numSignaturesRequired(client: Aptos, request: {
|
|
3686
|
+
functionArguments: [MoveAddressType];
|
|
3642
3687
|
}, version?: bigint): Promise<[bigint]>;
|
|
3643
|
-
function owners(client:
|
|
3644
|
-
|
|
3645
|
-
}, version?: bigint): Promise<[
|
|
3646
|
-
function vote(client:
|
|
3647
|
-
|
|
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<
|
|
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<
|
|
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:
|
|
3675
|
-
|
|
3676
|
-
|
|
3677
|
-
},
|
|
3678
|
-
function createResourceAccountAndFund(client:
|
|
3679
|
-
|
|
3680
|
-
|
|
3681
|
-
},
|
|
3682
|
-
function createResourceAccountAndPublishPackage(client:
|
|
3683
|
-
|
|
3684
|
-
|
|
3685
|
-
},
|
|
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:
|
|
3692
|
-
pool_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:
|
|
3705
|
-
pool_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:
|
|
3718
|
-
voter:
|
|
3719
|
-
pool_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:
|
|
3733
|
-
pool_address:
|
|
3734
|
-
recipient:
|
|
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:
|
|
3747
|
-
pool_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:
|
|
3761
|
-
pool_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:
|
|
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<
|
|
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:
|
|
3815
|
-
new_operator:
|
|
3816
|
-
pool_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:
|
|
3828
|
-
pool_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:
|
|
3842
|
-
operator:
|
|
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:
|
|
3856
|
-
pool_address:
|
|
3857
|
-
old_voter:
|
|
3858
|
-
new_voter:
|
|
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:
|
|
3870
|
-
|
|
3871
|
-
|
|
3872
|
-
},
|
|
3873
|
-
function createStakingContract(client:
|
|
3874
|
-
|
|
3875
|
-
|
|
3876
|
-
|
|
3877
|
-
|
|
3878
|
-
|
|
3879
|
-
|
|
3880
|
-
|
|
3881
|
-
|
|
3882
|
-
|
|
3883
|
-
|
|
3884
|
-
|
|
3885
|
-
|
|
3886
|
-
|
|
3887
|
-
|
|
3888
|
-
|
|
3889
|
-
|
|
3890
|
-
|
|
3891
|
-
|
|
3892
|
-
|
|
3893
|
-
|
|
3894
|
-
|
|
3895
|
-
|
|
3896
|
-
|
|
3897
|
-
|
|
3898
|
-
|
|
3899
|
-
|
|
3900
|
-
|
|
3901
|
-
|
|
3902
|
-
|
|
3903
|
-
|
|
3904
|
-
|
|
3905
|
-
|
|
3906
|
-
|
|
3907
|
-
|
|
3908
|
-
|
|
3909
|
-
|
|
3910
|
-
|
|
3911
|
-
|
|
3912
|
-
|
|
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
|
|
3916
|
-
|
|
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:
|
|
3919
|
-
|
|
3920
|
-
}, version?: bigint): Promise<[
|
|
3921
|
-
function lastRecordedPrincipal(client:
|
|
3922
|
-
|
|
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:
|
|
3925
|
-
|
|
4002
|
+
function pendingDistributionCounts(client: Aptos, request: {
|
|
4003
|
+
functionArguments: [MoveAddressType, MoveAddressType];
|
|
3926
4004
|
}, version?: bigint): Promise<[bigint]>;
|
|
3927
|
-
function stakePoolAddress(client:
|
|
3928
|
-
|
|
3929
|
-
}, version?: bigint): Promise<[
|
|
3930
|
-
function stakingContractAmounts(client:
|
|
3931
|
-
|
|
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:
|
|
3934
|
-
|
|
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<
|
|
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:
|
|
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:
|
|
4071
|
-
|
|
4072
|
-
|
|
4073
|
-
},
|
|
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:
|
|
4077
|
-
|
|
4078
|
-
|
|
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:
|
|
4081
|
-
|
|
4082
|
-
|
|
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:
|
|
4085
|
-
|
|
4086
|
-
|
|
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:
|
|
4089
|
-
|
|
4090
|
-
|
|
4091
|
-
}, version?: bigint): Promise<[
|
|
4092
|
-
function primaryStoreExists<T0 = any>(client:
|
|
4093
|
-
|
|
4094
|
-
|
|
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:
|
|
4178
|
+
module_addr: MoveAddressType;
|
|
4101
4179
|
module_name: string;
|
|
4102
4180
|
script_prologue_name: string;
|
|
4103
4181
|
module_prologue_name: string;
|