@typemove/aptos 1.6.0-rc.3 → 1.6.1-rc.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/cjs/builtin/0x1.d.ts +414 -0
- package/dist/cjs/builtin/0x1.d.ts.map +1 -1
- package/dist/cjs/builtin/0x1.js +576 -3
- package/dist/cjs/builtin/0x1.js.map +1 -1
- package/dist/cjs/builtin/0x4.d.ts +30 -0
- package/dist/cjs/builtin/0x4.d.ts.map +1 -1
- package/dist/cjs/builtin/0x4.js +34 -1
- package/dist/cjs/builtin/0x4.js.map +1 -1
- package/dist/esm/builtin/0x1.d.ts +414 -0
- package/dist/esm/builtin/0x1.d.ts.map +1 -1
- package/dist/esm/builtin/0x1.js +574 -1
- package/dist/esm/builtin/0x1.js.map +1 -1
- package/dist/esm/builtin/0x4.d.ts +30 -0
- package/dist/esm/builtin/0x4.d.ts.map +1 -1
- package/dist/esm/builtin/0x4.js +34 -1
- package/dist/esm/builtin/0x4.js.map +1 -1
- package/package.json +2 -2
- package/src/abis/0x1.json +1981 -201
- package/src/abis/0x4.json +194 -3
- package/src/builtin/0x1.ts +1090 -29
- package/src/builtin/0x4.ts +68 -1
|
@@ -36,6 +36,57 @@ export declare namespace bcs {
|
|
|
36
36
|
namespace entry { }
|
|
37
37
|
namespace view { }
|
|
38
38
|
}
|
|
39
|
+
export declare namespace dkg {
|
|
40
|
+
interface DKGSessionMetadata {
|
|
41
|
+
dealer_epoch: bigint;
|
|
42
|
+
randomness_config: randomness_config.RandomnessConfig;
|
|
43
|
+
dealer_validator_set: validator_consensus_info.ValidatorConsensusInfo[];
|
|
44
|
+
target_validator_set: validator_consensus_info.ValidatorConsensusInfo[];
|
|
45
|
+
}
|
|
46
|
+
namespace DKGSessionMetadata {
|
|
47
|
+
const TYPE_QNAME = "0x1::dkg::DKGSessionMetadata";
|
|
48
|
+
function type(): TypeDescriptor<DKGSessionMetadata>;
|
|
49
|
+
}
|
|
50
|
+
interface DKGSessionMetadataInstance extends TypedEventInstance<DKGSessionMetadata> {
|
|
51
|
+
data_decoded: DKGSessionMetadata;
|
|
52
|
+
type_arguments: [];
|
|
53
|
+
}
|
|
54
|
+
interface DKGSessionState {
|
|
55
|
+
metadata: dkg.DKGSessionMetadata;
|
|
56
|
+
start_time_us: bigint;
|
|
57
|
+
transcript: string;
|
|
58
|
+
}
|
|
59
|
+
namespace DKGSessionState {
|
|
60
|
+
const TYPE_QNAME = "0x1::dkg::DKGSessionState";
|
|
61
|
+
function type(): TypeDescriptor<DKGSessionState>;
|
|
62
|
+
}
|
|
63
|
+
interface DKGSessionStateInstance extends TypedEventInstance<DKGSessionState> {
|
|
64
|
+
data_decoded: DKGSessionState;
|
|
65
|
+
type_arguments: [];
|
|
66
|
+
}
|
|
67
|
+
interface DKGStartEvent {
|
|
68
|
+
session_metadata: dkg.DKGSessionMetadata;
|
|
69
|
+
start_time_us: bigint;
|
|
70
|
+
}
|
|
71
|
+
namespace DKGStartEvent {
|
|
72
|
+
const TYPE_QNAME = "0x1::dkg::DKGStartEvent";
|
|
73
|
+
function type(): TypeDescriptor<DKGStartEvent>;
|
|
74
|
+
}
|
|
75
|
+
interface DKGStartEventInstance extends TypedEventInstance<DKGStartEvent> {
|
|
76
|
+
data_decoded: DKGStartEvent;
|
|
77
|
+
type_arguments: [];
|
|
78
|
+
}
|
|
79
|
+
interface DKGState {
|
|
80
|
+
last_completed: option.Option<dkg.DKGSessionState>;
|
|
81
|
+
in_progress: option.Option<dkg.DKGSessionState>;
|
|
82
|
+
}
|
|
83
|
+
namespace DKGState {
|
|
84
|
+
const TYPE_QNAME = "0x1::dkg::DKGState";
|
|
85
|
+
function type(): TypeDescriptor<DKGState>;
|
|
86
|
+
}
|
|
87
|
+
namespace entry { }
|
|
88
|
+
namespace view { }
|
|
89
|
+
}
|
|
39
90
|
export declare namespace code {
|
|
40
91
|
interface AllowedDep {
|
|
41
92
|
account: MoveAddressType;
|
|
@@ -459,6 +510,10 @@ export declare namespace jwks {
|
|
|
459
510
|
const TYPE_QNAME = "0x1::jwks::SupportedOIDCProviders";
|
|
460
511
|
function type(): TypeDescriptor<SupportedOIDCProviders>;
|
|
461
512
|
}
|
|
513
|
+
interface SupportedOIDCProvidersInstance extends TypedEventInstance<SupportedOIDCProviders> {
|
|
514
|
+
data_decoded: SupportedOIDCProviders;
|
|
515
|
+
type_arguments: [];
|
|
516
|
+
}
|
|
462
517
|
interface UnsupportedJWK {
|
|
463
518
|
id: string;
|
|
464
519
|
payload: string;
|
|
@@ -489,6 +544,15 @@ export declare namespace block {
|
|
|
489
544
|
const TYPE_QNAME = "0x1::block::BlockResource";
|
|
490
545
|
function type(): TypeDescriptor<BlockResource>;
|
|
491
546
|
}
|
|
547
|
+
interface CommitHistory {
|
|
548
|
+
max_capacity: number;
|
|
549
|
+
next_idx: number;
|
|
550
|
+
table: table_with_length.TableWithLength<number, block.NewBlockEvent>;
|
|
551
|
+
}
|
|
552
|
+
namespace CommitHistory {
|
|
553
|
+
const TYPE_QNAME = "0x1::block::CommitHistory";
|
|
554
|
+
function type(): TypeDescriptor<CommitHistory>;
|
|
555
|
+
}
|
|
492
556
|
interface NewBlockEvent {
|
|
493
557
|
hash: MoveAddressType;
|
|
494
558
|
epoch: bigint;
|
|
@@ -792,6 +856,10 @@ export declare namespace stake {
|
|
|
792
856
|
const TYPE_QNAME = "0x1::stake::ValidatorSet";
|
|
793
857
|
function type(): TypeDescriptor<ValidatorSet>;
|
|
794
858
|
}
|
|
859
|
+
interface ValidatorSetInstance extends TypedEventInstance<ValidatorSet> {
|
|
860
|
+
data_decoded: ValidatorSet;
|
|
861
|
+
type_arguments: [];
|
|
862
|
+
}
|
|
795
863
|
interface WithdrawStakeEvent {
|
|
796
864
|
pool_address: MoveAddressType;
|
|
797
865
|
amount_withdrawn: bigint;
|
|
@@ -1545,7 +1613,15 @@ export declare namespace version {
|
|
|
1545
1613
|
const TYPE_QNAME = "0x1::version::Version";
|
|
1546
1614
|
function type(): TypeDescriptor<Version>;
|
|
1547
1615
|
}
|
|
1616
|
+
interface VersionInstance extends TypedEventInstance<Version> {
|
|
1617
|
+
data_decoded: Version;
|
|
1618
|
+
type_arguments: [];
|
|
1619
|
+
}
|
|
1548
1620
|
namespace entry {
|
|
1621
|
+
function setForNextEpoch(client: Aptos, account: AptosAccount, request: {
|
|
1622
|
+
typeArguments: [];
|
|
1623
|
+
functionArguments: [bigint];
|
|
1624
|
+
}, options?: InputGenerateTransactionOptions): Promise<PendingTransactionResponse>;
|
|
1549
1625
|
function setVersion(client: Aptos, account: AptosAccount, request: {
|
|
1550
1626
|
typeArguments: [];
|
|
1551
1627
|
functionArguments: [bigint];
|
|
@@ -1972,6 +2048,13 @@ export declare namespace features {
|
|
|
1972
2048
|
const TYPE_QNAME = "0x1::features::Features";
|
|
1973
2049
|
function type(): TypeDescriptor<Features>;
|
|
1974
2050
|
}
|
|
2051
|
+
interface PendingFeatures {
|
|
2052
|
+
features: string;
|
|
2053
|
+
}
|
|
2054
|
+
namespace PendingFeatures {
|
|
2055
|
+
const TYPE_QNAME = "0x1::features::PendingFeatures";
|
|
2056
|
+
function type(): TypeDescriptor<PendingFeatures>;
|
|
2057
|
+
}
|
|
1975
2058
|
namespace entry { }
|
|
1976
2059
|
namespace view {
|
|
1977
2060
|
function isEnabled(client: Aptos, request: {
|
|
@@ -2194,6 +2277,30 @@ export declare namespace math_fixed {
|
|
|
2194
2277
|
namespace entry { }
|
|
2195
2278
|
namespace view { }
|
|
2196
2279
|
}
|
|
2280
|
+
export declare namespace randomness {
|
|
2281
|
+
interface PerBlockRandomness {
|
|
2282
|
+
epoch: bigint;
|
|
2283
|
+
round: bigint;
|
|
2284
|
+
seed: option.Option<string>;
|
|
2285
|
+
}
|
|
2286
|
+
namespace PerBlockRandomness {
|
|
2287
|
+
const TYPE_QNAME = "0x1::randomness::PerBlockRandomness";
|
|
2288
|
+
function type(): TypeDescriptor<PerBlockRandomness>;
|
|
2289
|
+
}
|
|
2290
|
+
interface RandomnessGeneratedEvent {
|
|
2291
|
+
dummy_field: Boolean;
|
|
2292
|
+
}
|
|
2293
|
+
namespace RandomnessGeneratedEvent {
|
|
2294
|
+
const TYPE_QNAME = "0x1::randomness::RandomnessGeneratedEvent";
|
|
2295
|
+
function type(): TypeDescriptor<RandomnessGeneratedEvent>;
|
|
2296
|
+
}
|
|
2297
|
+
interface RandomnessGeneratedEventInstance extends TypedEventInstance<RandomnessGeneratedEvent> {
|
|
2298
|
+
data_decoded: RandomnessGeneratedEvent;
|
|
2299
|
+
type_arguments: [];
|
|
2300
|
+
}
|
|
2301
|
+
namespace entry { }
|
|
2302
|
+
namespace view { }
|
|
2303
|
+
}
|
|
2197
2304
|
export declare namespace simple_map {
|
|
2198
2305
|
interface Element<T0, T1> {
|
|
2199
2306
|
key: T0;
|
|
@@ -2371,6 +2478,10 @@ export declare namespace gas_schedule {
|
|
|
2371
2478
|
const TYPE_QNAME = "0x1::gas_schedule::GasScheduleV2";
|
|
2372
2479
|
function type(): TypeDescriptor<GasScheduleV2>;
|
|
2373
2480
|
}
|
|
2481
|
+
interface GasScheduleV2Instance extends TypedEventInstance<GasScheduleV2> {
|
|
2482
|
+
data_decoded: GasScheduleV2;
|
|
2483
|
+
type_arguments: [];
|
|
2484
|
+
}
|
|
2374
2485
|
namespace entry { }
|
|
2375
2486
|
namespace view { }
|
|
2376
2487
|
}
|
|
@@ -2701,6 +2812,17 @@ export declare namespace bn254_algebra {
|
|
|
2701
2812
|
namespace entry { }
|
|
2702
2813
|
namespace view { }
|
|
2703
2814
|
}
|
|
2815
|
+
export declare namespace config_buffer {
|
|
2816
|
+
interface PendingConfigs {
|
|
2817
|
+
configs: simple_map.SimpleMap<string, any_.Any>;
|
|
2818
|
+
}
|
|
2819
|
+
namespace PendingConfigs {
|
|
2820
|
+
const TYPE_QNAME = "0x1::config_buffer::PendingConfigs";
|
|
2821
|
+
function type(): TypeDescriptor<PendingConfigs>;
|
|
2822
|
+
}
|
|
2823
|
+
namespace entry { }
|
|
2824
|
+
namespace view { }
|
|
2825
|
+
}
|
|
2704
2826
|
export declare namespace create_signer {
|
|
2705
2827
|
namespace entry { }
|
|
2706
2828
|
namespace view { }
|
|
@@ -3057,6 +3179,18 @@ export declare namespace delegation_pool {
|
|
|
3057
3179
|
data_decoded: AddStakeEvent;
|
|
3058
3180
|
type_arguments: [];
|
|
3059
3181
|
}
|
|
3182
|
+
interface AllowlistDelegator {
|
|
3183
|
+
pool_address: MoveAddressType;
|
|
3184
|
+
delegator_address: MoveAddressType;
|
|
3185
|
+
}
|
|
3186
|
+
namespace AllowlistDelegator {
|
|
3187
|
+
const TYPE_QNAME = "0x1::delegation_pool::AllowlistDelegator";
|
|
3188
|
+
function type(): TypeDescriptor<AllowlistDelegator>;
|
|
3189
|
+
}
|
|
3190
|
+
interface AllowlistDelegatorInstance extends TypedEventInstance<AllowlistDelegator> {
|
|
3191
|
+
data_decoded: AllowlistDelegator;
|
|
3192
|
+
type_arguments: [];
|
|
3193
|
+
}
|
|
3060
3194
|
interface BeneficiaryForOperator {
|
|
3061
3195
|
beneficiary_for_operator: MoveAddressType;
|
|
3062
3196
|
}
|
|
@@ -3135,6 +3269,13 @@ export declare namespace delegation_pool {
|
|
|
3135
3269
|
const TYPE_QNAME = "0x1::delegation_pool::DelegationPool";
|
|
3136
3270
|
function type(): TypeDescriptor<DelegationPool>;
|
|
3137
3271
|
}
|
|
3272
|
+
interface DelegationPoolAllowlisting {
|
|
3273
|
+
allowlist: smart_table.SmartTable<MoveAddressType, Boolean>;
|
|
3274
|
+
}
|
|
3275
|
+
namespace DelegationPoolAllowlisting {
|
|
3276
|
+
const TYPE_QNAME = "0x1::delegation_pool::DelegationPoolAllowlisting";
|
|
3277
|
+
function type(): TypeDescriptor<DelegationPoolAllowlisting>;
|
|
3278
|
+
}
|
|
3138
3279
|
interface DelegationPoolOwnership {
|
|
3139
3280
|
pool_address: MoveAddressType;
|
|
3140
3281
|
}
|
|
@@ -3142,6 +3283,17 @@ export declare namespace delegation_pool {
|
|
|
3142
3283
|
const TYPE_QNAME = "0x1::delegation_pool::DelegationPoolOwnership";
|
|
3143
3284
|
function type(): TypeDescriptor<DelegationPoolOwnership>;
|
|
3144
3285
|
}
|
|
3286
|
+
interface DisableDelegatorsAllowlisting {
|
|
3287
|
+
pool_address: MoveAddressType;
|
|
3288
|
+
}
|
|
3289
|
+
namespace DisableDelegatorsAllowlisting {
|
|
3290
|
+
const TYPE_QNAME = "0x1::delegation_pool::DisableDelegatorsAllowlisting";
|
|
3291
|
+
function type(): TypeDescriptor<DisableDelegatorsAllowlisting>;
|
|
3292
|
+
}
|
|
3293
|
+
interface DisableDelegatorsAllowlistingInstance extends TypedEventInstance<DisableDelegatorsAllowlisting> {
|
|
3294
|
+
data_decoded: DisableDelegatorsAllowlisting;
|
|
3295
|
+
type_arguments: [];
|
|
3296
|
+
}
|
|
3145
3297
|
interface DistributeCommission {
|
|
3146
3298
|
pool_address: MoveAddressType;
|
|
3147
3299
|
operator: MoveAddressType;
|
|
@@ -3171,6 +3323,29 @@ export declare namespace delegation_pool {
|
|
|
3171
3323
|
data_decoded: DistributeCommissionEvent;
|
|
3172
3324
|
type_arguments: [];
|
|
3173
3325
|
}
|
|
3326
|
+
interface EnableDelegatorsAllowlisting {
|
|
3327
|
+
pool_address: MoveAddressType;
|
|
3328
|
+
}
|
|
3329
|
+
namespace EnableDelegatorsAllowlisting {
|
|
3330
|
+
const TYPE_QNAME = "0x1::delegation_pool::EnableDelegatorsAllowlisting";
|
|
3331
|
+
function type(): TypeDescriptor<EnableDelegatorsAllowlisting>;
|
|
3332
|
+
}
|
|
3333
|
+
interface EnableDelegatorsAllowlistingInstance extends TypedEventInstance<EnableDelegatorsAllowlisting> {
|
|
3334
|
+
data_decoded: EnableDelegatorsAllowlisting;
|
|
3335
|
+
type_arguments: [];
|
|
3336
|
+
}
|
|
3337
|
+
interface EvictDelegator {
|
|
3338
|
+
pool_address: MoveAddressType;
|
|
3339
|
+
delegator_address: MoveAddressType;
|
|
3340
|
+
}
|
|
3341
|
+
namespace EvictDelegator {
|
|
3342
|
+
const TYPE_QNAME = "0x1::delegation_pool::EvictDelegator";
|
|
3343
|
+
function type(): TypeDescriptor<EvictDelegator>;
|
|
3344
|
+
}
|
|
3345
|
+
interface EvictDelegatorInstance extends TypedEventInstance<EvictDelegator> {
|
|
3346
|
+
data_decoded: EvictDelegator;
|
|
3347
|
+
type_arguments: [];
|
|
3348
|
+
}
|
|
3174
3349
|
interface GovernanceRecords {
|
|
3175
3350
|
votes: smart_table.SmartTable<delegation_pool.VotingRecordKey, bigint>;
|
|
3176
3351
|
votes_per_proposal: smart_table.SmartTable<bigint, bigint>;
|
|
@@ -3216,6 +3391,18 @@ export declare namespace delegation_pool {
|
|
|
3216
3391
|
data_decoded: ReactivateStakeEvent;
|
|
3217
3392
|
type_arguments: [];
|
|
3218
3393
|
}
|
|
3394
|
+
interface RemoveDelegatorFromAllowlist {
|
|
3395
|
+
pool_address: MoveAddressType;
|
|
3396
|
+
delegator_address: MoveAddressType;
|
|
3397
|
+
}
|
|
3398
|
+
namespace RemoveDelegatorFromAllowlist {
|
|
3399
|
+
const TYPE_QNAME = "0x1::delegation_pool::RemoveDelegatorFromAllowlist";
|
|
3400
|
+
function type(): TypeDescriptor<RemoveDelegatorFromAllowlist>;
|
|
3401
|
+
}
|
|
3402
|
+
interface RemoveDelegatorFromAllowlistInstance extends TypedEventInstance<RemoveDelegatorFromAllowlist> {
|
|
3403
|
+
data_decoded: RemoveDelegatorFromAllowlist;
|
|
3404
|
+
type_arguments: [];
|
|
3405
|
+
}
|
|
3219
3406
|
interface SetBeneficiaryForOperator {
|
|
3220
3407
|
operator: MoveAddressType;
|
|
3221
3408
|
old_beneficiary: MoveAddressType;
|
|
@@ -3300,6 +3487,10 @@ export declare namespace delegation_pool {
|
|
|
3300
3487
|
typeArguments: [];
|
|
3301
3488
|
functionArguments: [MoveAddressType, bigint];
|
|
3302
3489
|
}, options?: InputGenerateTransactionOptions): Promise<PendingTransactionResponse>;
|
|
3490
|
+
function allowlistDelegator(client: Aptos, account: AptosAccount, request: {
|
|
3491
|
+
typeArguments: [];
|
|
3492
|
+
functionArguments: [MoveAddressType];
|
|
3493
|
+
}, options?: InputGenerateTransactionOptions): Promise<PendingTransactionResponse>;
|
|
3303
3494
|
function createProposal(client: Aptos, account: AptosAccount, request: {
|
|
3304
3495
|
typeArguments: [];
|
|
3305
3496
|
functionArguments: [MoveAddressType, string, string, string, Boolean];
|
|
@@ -3308,10 +3499,22 @@ export declare namespace delegation_pool {
|
|
|
3308
3499
|
typeArguments: [];
|
|
3309
3500
|
functionArguments: [MoveAddressType, MoveAddressType];
|
|
3310
3501
|
}, options?: InputGenerateTransactionOptions): Promise<PendingTransactionResponse>;
|
|
3502
|
+
function disableDelegatorsAllowlisting(client: Aptos, account: AptosAccount, request: {
|
|
3503
|
+
typeArguments: [];
|
|
3504
|
+
functionArguments: [];
|
|
3505
|
+
}, options?: InputGenerateTransactionOptions): Promise<PendingTransactionResponse>;
|
|
3506
|
+
function enableDelegatorsAllowlisting(client: Aptos, account: AptosAccount, request: {
|
|
3507
|
+
typeArguments: [];
|
|
3508
|
+
functionArguments: [];
|
|
3509
|
+
}, options?: InputGenerateTransactionOptions): Promise<PendingTransactionResponse>;
|
|
3311
3510
|
function enablePartialGovernanceVoting(client: Aptos, account: AptosAccount, request: {
|
|
3312
3511
|
typeArguments: [];
|
|
3313
3512
|
functionArguments: [MoveAddressType];
|
|
3314
3513
|
}, options?: InputGenerateTransactionOptions): Promise<PendingTransactionResponse>;
|
|
3514
|
+
function evictDelegator(client: Aptos, account: AptosAccount, request: {
|
|
3515
|
+
typeArguments: [];
|
|
3516
|
+
functionArguments: [MoveAddressType];
|
|
3517
|
+
}, options?: InputGenerateTransactionOptions): Promise<PendingTransactionResponse>;
|
|
3315
3518
|
function initializeDelegationPool(client: Aptos, account: AptosAccount, request: {
|
|
3316
3519
|
typeArguments: [];
|
|
3317
3520
|
functionArguments: [bigint, string];
|
|
@@ -3320,6 +3523,10 @@ export declare namespace delegation_pool {
|
|
|
3320
3523
|
typeArguments: [];
|
|
3321
3524
|
functionArguments: [MoveAddressType, bigint];
|
|
3322
3525
|
}, options?: InputGenerateTransactionOptions): Promise<PendingTransactionResponse>;
|
|
3526
|
+
function removeDelegatorFromAllowlist(client: Aptos, account: AptosAccount, request: {
|
|
3527
|
+
typeArguments: [];
|
|
3528
|
+
functionArguments: [MoveAddressType];
|
|
3529
|
+
}, options?: InputGenerateTransactionOptions): Promise<PendingTransactionResponse>;
|
|
3323
3530
|
function setBeneficiaryForOperator(client: Aptos, account: AptosAccount, request: {
|
|
3324
3531
|
typeArguments: [];
|
|
3325
3532
|
functionArguments: [MoveAddressType];
|
|
@@ -3354,6 +3561,9 @@ export declare namespace delegation_pool {
|
|
|
3354
3561
|
}, options?: InputGenerateTransactionOptions): Promise<PendingTransactionResponse>;
|
|
3355
3562
|
}
|
|
3356
3563
|
namespace view {
|
|
3564
|
+
function allowlistingEnabled(client: Aptos, request: {
|
|
3565
|
+
functionArguments: [MoveAddressType];
|
|
3566
|
+
}, version?: bigint): Promise<[Boolean]>;
|
|
3357
3567
|
function beneficiaryForOperator(client: Aptos, request: {
|
|
3358
3568
|
functionArguments: [MoveAddressType];
|
|
3359
3569
|
}, version?: bigint): Promise<[MoveAddressType]>;
|
|
@@ -3372,12 +3582,18 @@ export declare namespace delegation_pool {
|
|
|
3372
3582
|
function delegationPoolExists(client: Aptos, request: {
|
|
3373
3583
|
functionArguments: [MoveAddressType];
|
|
3374
3584
|
}, version?: bigint): Promise<[Boolean]>;
|
|
3585
|
+
function delegatorAllowlisted(client: Aptos, request: {
|
|
3586
|
+
functionArguments: [MoveAddressType, MoveAddressType];
|
|
3587
|
+
}, version?: bigint): Promise<[Boolean]>;
|
|
3375
3588
|
function getAddStakeFee(client: Aptos, request: {
|
|
3376
3589
|
functionArguments: [MoveAddressType, bigint];
|
|
3377
3590
|
}, version?: bigint): Promise<[bigint]>;
|
|
3378
3591
|
function getDelegationPoolStake(client: Aptos, request: {
|
|
3379
3592
|
functionArguments: [MoveAddressType];
|
|
3380
3593
|
}, version?: bigint): Promise<[bigint, bigint, bigint, bigint]>;
|
|
3594
|
+
function getDelegatorsAllowlist(client: Aptos, request: {
|
|
3595
|
+
functionArguments: [MoveAddressType];
|
|
3596
|
+
}, version?: bigint): Promise<[MoveAddressType[]]>;
|
|
3381
3597
|
function getExpectedStakePoolAddress(client: Aptos, request: {
|
|
3382
3598
|
functionArguments: [MoveAddressType, string];
|
|
3383
3599
|
}, version?: bigint): Promise<[MoveAddressType]>;
|
|
@@ -3638,10 +3854,22 @@ export declare namespace aptos_governance {
|
|
|
3638
3854
|
typeArguments: [];
|
|
3639
3855
|
functionArguments: [MoveAddressType, string, string, string, Boolean];
|
|
3640
3856
|
}, options?: InputGenerateTransactionOptions): Promise<PendingTransactionResponse>;
|
|
3857
|
+
function forceEndEpoch(client: Aptos, account: AptosAccount, request: {
|
|
3858
|
+
typeArguments: [];
|
|
3859
|
+
functionArguments: [];
|
|
3860
|
+
}, options?: InputGenerateTransactionOptions): Promise<PendingTransactionResponse>;
|
|
3861
|
+
function forceEndEpochTestOnly(client: Aptos, account: AptosAccount, request: {
|
|
3862
|
+
typeArguments: [];
|
|
3863
|
+
functionArguments: [];
|
|
3864
|
+
}, options?: InputGenerateTransactionOptions): Promise<PendingTransactionResponse>;
|
|
3641
3865
|
function partialVote(client: Aptos, account: AptosAccount, request: {
|
|
3642
3866
|
typeArguments: [];
|
|
3643
3867
|
functionArguments: [MoveAddressType, bigint, bigint, Boolean];
|
|
3644
3868
|
}, options?: InputGenerateTransactionOptions): Promise<PendingTransactionResponse>;
|
|
3869
|
+
function reconfigure(client: Aptos, account: AptosAccount, request: {
|
|
3870
|
+
typeArguments: [];
|
|
3871
|
+
functionArguments: [];
|
|
3872
|
+
}, options?: InputGenerateTransactionOptions): Promise<PendingTransactionResponse>;
|
|
3645
3873
|
function vote(client: Aptos, account: AptosAccount, request: {
|
|
3646
3874
|
typeArguments: [];
|
|
3647
3875
|
functionArguments: [MoveAddressType, bigint, Boolean];
|
|
@@ -3779,6 +4007,10 @@ export declare namespace consensus_config {
|
|
|
3779
4007
|
const TYPE_QNAME = "0x1::consensus_config::ConsensusConfig";
|
|
3780
4008
|
function type(): TypeDescriptor<ConsensusConfig>;
|
|
3781
4009
|
}
|
|
4010
|
+
interface ConsensusConfigInstance extends TypedEventInstance<ConsensusConfig> {
|
|
4011
|
+
data_decoded: ConsensusConfig;
|
|
4012
|
+
type_arguments: [];
|
|
4013
|
+
}
|
|
3782
4014
|
namespace entry { }
|
|
3783
4015
|
namespace view { }
|
|
3784
4016
|
}
|
|
@@ -3790,6 +4022,10 @@ export declare namespace execution_config {
|
|
|
3790
4022
|
const TYPE_QNAME = "0x1::execution_config::ExecutionConfig";
|
|
3791
4023
|
function type(): TypeDescriptor<ExecutionConfig>;
|
|
3792
4024
|
}
|
|
4025
|
+
interface ExecutionConfigInstance extends TypedEventInstance<ExecutionConfig> {
|
|
4026
|
+
data_decoded: ExecutionConfig;
|
|
4027
|
+
type_arguments: [];
|
|
4028
|
+
}
|
|
3793
4029
|
namespace entry { }
|
|
3794
4030
|
namespace view { }
|
|
3795
4031
|
}
|
|
@@ -4047,6 +4283,10 @@ export declare namespace multisig_account {
|
|
|
4047
4283
|
typeArguments: [];
|
|
4048
4284
|
functionArguments: [MoveAddressType];
|
|
4049
4285
|
}, options?: InputGenerateTransactionOptions): Promise<PendingTransactionResponse>;
|
|
4286
|
+
function executeRejectedTransactions(client: Aptos, account: AptosAccount, request: {
|
|
4287
|
+
typeArguments: [];
|
|
4288
|
+
functionArguments: [MoveAddressType, bigint];
|
|
4289
|
+
}, options?: InputGenerateTransactionOptions): Promise<PendingTransactionResponse>;
|
|
4050
4290
|
function rejectTransaction(client: Aptos, account: AptosAccount, request: {
|
|
4051
4291
|
typeArguments: [];
|
|
4052
4292
|
functionArguments: [MoveAddressType, bigint];
|
|
@@ -4079,18 +4319,35 @@ export declare namespace multisig_account {
|
|
|
4079
4319
|
typeArguments: [];
|
|
4080
4320
|
functionArguments: [bigint];
|
|
4081
4321
|
}, options?: InputGenerateTransactionOptions): Promise<PendingTransactionResponse>;
|
|
4322
|
+
function voteTransaction(client: Aptos, account: AptosAccount, request: {
|
|
4323
|
+
typeArguments: [];
|
|
4324
|
+
functionArguments: [MoveAddressType, bigint, Boolean];
|
|
4325
|
+
}, options?: InputGenerateTransactionOptions): Promise<PendingTransactionResponse>;
|
|
4326
|
+
function voteTransactions(client: Aptos, account: AptosAccount, request: {
|
|
4327
|
+
typeArguments: [];
|
|
4328
|
+
functionArguments: [MoveAddressType, bigint, bigint, Boolean];
|
|
4329
|
+
}, options?: InputGenerateTransactionOptions): Promise<PendingTransactionResponse>;
|
|
4082
4330
|
function voteTransanction(client: Aptos, account: AptosAccount, request: {
|
|
4083
4331
|
typeArguments: [];
|
|
4084
4332
|
functionArguments: [MoveAddressType, bigint, Boolean];
|
|
4085
4333
|
}, options?: InputGenerateTransactionOptions): Promise<PendingTransactionResponse>;
|
|
4086
4334
|
}
|
|
4087
4335
|
namespace view {
|
|
4336
|
+
function availableTransactionQueueCapacity(client: Aptos, request: {
|
|
4337
|
+
functionArguments: [MoveAddressType];
|
|
4338
|
+
}, version?: bigint): Promise<[bigint]>;
|
|
4088
4339
|
function canBeExecuted(client: Aptos, request: {
|
|
4089
4340
|
functionArguments: [MoveAddressType, bigint];
|
|
4090
4341
|
}, version?: bigint): Promise<[Boolean]>;
|
|
4091
4342
|
function canBeRejected(client: Aptos, request: {
|
|
4092
4343
|
functionArguments: [MoveAddressType, bigint];
|
|
4093
4344
|
}, version?: bigint): Promise<[Boolean]>;
|
|
4345
|
+
function canExecute(client: Aptos, request: {
|
|
4346
|
+
functionArguments: [MoveAddressType, MoveAddressType, bigint];
|
|
4347
|
+
}, version?: bigint): Promise<[Boolean]>;
|
|
4348
|
+
function canReject(client: Aptos, request: {
|
|
4349
|
+
functionArguments: [MoveAddressType, MoveAddressType, bigint];
|
|
4350
|
+
}, version?: bigint): Promise<[Boolean]>;
|
|
4094
4351
|
function getNextMultisigAccountAddress(client: Aptos, request: {
|
|
4095
4352
|
functionArguments: [MoveAddressType];
|
|
4096
4353
|
}, version?: bigint): Promise<[MoveAddressType]>;
|
|
@@ -4103,6 +4360,9 @@ export declare namespace multisig_account {
|
|
|
4103
4360
|
function getTransaction(client: Aptos, request: {
|
|
4104
4361
|
functionArguments: [MoveAddressType, bigint];
|
|
4105
4362
|
}, version?: bigint): Promise<[multisig_account.MultisigTransaction]>;
|
|
4363
|
+
function isOwner(client: Aptos, request: {
|
|
4364
|
+
functionArguments: [MoveAddressType, MoveAddressType];
|
|
4365
|
+
}, version?: bigint): Promise<[Boolean]>;
|
|
4106
4366
|
function lastResolvedSequenceNumber(client: Aptos, request: {
|
|
4107
4367
|
functionArguments: [MoveAddressType];
|
|
4108
4368
|
}, version?: bigint): Promise<[bigint]>;
|
|
@@ -4447,6 +4707,57 @@ export declare namespace system_addresses {
|
|
|
4447
4707
|
namespace entry { }
|
|
4448
4708
|
namespace view { }
|
|
4449
4709
|
}
|
|
4710
|
+
export declare namespace randomness_config {
|
|
4711
|
+
interface ConfigOff {
|
|
4712
|
+
dummy_field: Boolean;
|
|
4713
|
+
}
|
|
4714
|
+
namespace ConfigOff {
|
|
4715
|
+
const TYPE_QNAME = "0x1::randomness_config::ConfigOff";
|
|
4716
|
+
function type(): TypeDescriptor<ConfigOff>;
|
|
4717
|
+
}
|
|
4718
|
+
interface ConfigOffInstance extends TypedEventInstance<ConfigOff> {
|
|
4719
|
+
data_decoded: ConfigOff;
|
|
4720
|
+
type_arguments: [];
|
|
4721
|
+
}
|
|
4722
|
+
interface ConfigV1 {
|
|
4723
|
+
secrecy_threshold: fixed_point64.FixedPoint64;
|
|
4724
|
+
reconstruction_threshold: fixed_point64.FixedPoint64;
|
|
4725
|
+
}
|
|
4726
|
+
namespace ConfigV1 {
|
|
4727
|
+
const TYPE_QNAME = "0x1::randomness_config::ConfigV1";
|
|
4728
|
+
function type(): TypeDescriptor<ConfigV1>;
|
|
4729
|
+
}
|
|
4730
|
+
interface ConfigV1Instance extends TypedEventInstance<ConfigV1> {
|
|
4731
|
+
data_decoded: ConfigV1;
|
|
4732
|
+
type_arguments: [];
|
|
4733
|
+
}
|
|
4734
|
+
interface ConfigV2 {
|
|
4735
|
+
secrecy_threshold: fixed_point64.FixedPoint64;
|
|
4736
|
+
reconstruction_threshold: fixed_point64.FixedPoint64;
|
|
4737
|
+
fast_path_secrecy_threshold: fixed_point64.FixedPoint64;
|
|
4738
|
+
}
|
|
4739
|
+
namespace ConfigV2 {
|
|
4740
|
+
const TYPE_QNAME = "0x1::randomness_config::ConfigV2";
|
|
4741
|
+
function type(): TypeDescriptor<ConfigV2>;
|
|
4742
|
+
}
|
|
4743
|
+
interface ConfigV2Instance extends TypedEventInstance<ConfigV2> {
|
|
4744
|
+
data_decoded: ConfigV2;
|
|
4745
|
+
type_arguments: [];
|
|
4746
|
+
}
|
|
4747
|
+
interface RandomnessConfig {
|
|
4748
|
+
variant: copyable_any.Any;
|
|
4749
|
+
}
|
|
4750
|
+
namespace RandomnessConfig {
|
|
4751
|
+
const TYPE_QNAME = "0x1::randomness_config::RandomnessConfig";
|
|
4752
|
+
function type(): TypeDescriptor<RandomnessConfig>;
|
|
4753
|
+
}
|
|
4754
|
+
interface RandomnessConfigInstance extends TypedEventInstance<RandomnessConfig> {
|
|
4755
|
+
data_decoded: RandomnessConfig;
|
|
4756
|
+
type_arguments: [];
|
|
4757
|
+
}
|
|
4758
|
+
namespace entry { }
|
|
4759
|
+
namespace view { }
|
|
4760
|
+
}
|
|
4450
4761
|
export declare namespace table_with_length {
|
|
4451
4762
|
interface TableWithLength<T0, T1> {
|
|
4452
4763
|
inner: table.Table<T0, T1>;
|
|
@@ -4520,6 +4831,55 @@ export declare namespace transaction_context {
|
|
|
4520
4831
|
namespace entry { }
|
|
4521
4832
|
namespace view { }
|
|
4522
4833
|
}
|
|
4834
|
+
export declare namespace jwk_consensus_config {
|
|
4835
|
+
interface ConfigOff {
|
|
4836
|
+
dummy_field: Boolean;
|
|
4837
|
+
}
|
|
4838
|
+
namespace ConfigOff {
|
|
4839
|
+
const TYPE_QNAME = "0x1::jwk_consensus_config::ConfigOff";
|
|
4840
|
+
function type(): TypeDescriptor<ConfigOff>;
|
|
4841
|
+
}
|
|
4842
|
+
interface ConfigOffInstance extends TypedEventInstance<ConfigOff> {
|
|
4843
|
+
data_decoded: ConfigOff;
|
|
4844
|
+
type_arguments: [];
|
|
4845
|
+
}
|
|
4846
|
+
interface ConfigV1 {
|
|
4847
|
+
oidc_providers: jwk_consensus_config.OIDCProvider[];
|
|
4848
|
+
}
|
|
4849
|
+
namespace ConfigV1 {
|
|
4850
|
+
const TYPE_QNAME = "0x1::jwk_consensus_config::ConfigV1";
|
|
4851
|
+
function type(): TypeDescriptor<ConfigV1>;
|
|
4852
|
+
}
|
|
4853
|
+
interface ConfigV1Instance extends TypedEventInstance<ConfigV1> {
|
|
4854
|
+
data_decoded: ConfigV1;
|
|
4855
|
+
type_arguments: [];
|
|
4856
|
+
}
|
|
4857
|
+
interface JWKConsensusConfig {
|
|
4858
|
+
variant: copyable_any.Any;
|
|
4859
|
+
}
|
|
4860
|
+
namespace JWKConsensusConfig {
|
|
4861
|
+
const TYPE_QNAME = "0x1::jwk_consensus_config::JWKConsensusConfig";
|
|
4862
|
+
function type(): TypeDescriptor<JWKConsensusConfig>;
|
|
4863
|
+
}
|
|
4864
|
+
interface JWKConsensusConfigInstance extends TypedEventInstance<JWKConsensusConfig> {
|
|
4865
|
+
data_decoded: JWKConsensusConfig;
|
|
4866
|
+
type_arguments: [];
|
|
4867
|
+
}
|
|
4868
|
+
interface OIDCProvider {
|
|
4869
|
+
name: string;
|
|
4870
|
+
config_url: string;
|
|
4871
|
+
}
|
|
4872
|
+
namespace OIDCProvider {
|
|
4873
|
+
const TYPE_QNAME = "0x1::jwk_consensus_config::OIDCProvider";
|
|
4874
|
+
function type(): TypeDescriptor<OIDCProvider>;
|
|
4875
|
+
}
|
|
4876
|
+
interface OIDCProviderInstance extends TypedEventInstance<OIDCProvider> {
|
|
4877
|
+
data_decoded: OIDCProvider;
|
|
4878
|
+
type_arguments: [];
|
|
4879
|
+
}
|
|
4880
|
+
namespace entry { }
|
|
4881
|
+
namespace view { }
|
|
4882
|
+
}
|
|
4523
4883
|
export declare namespace ristretto255_elgamal {
|
|
4524
4884
|
interface Ciphertext {
|
|
4525
4885
|
left: ristretto255.RistrettoPoint;
|
|
@@ -4555,6 +4915,39 @@ export declare namespace ristretto255_elgamal {
|
|
|
4555
4915
|
namespace entry { }
|
|
4556
4916
|
namespace view { }
|
|
4557
4917
|
}
|
|
4918
|
+
export declare namespace reconfiguration_state {
|
|
4919
|
+
interface State {
|
|
4920
|
+
variant: copyable_any.Any;
|
|
4921
|
+
}
|
|
4922
|
+
namespace State {
|
|
4923
|
+
const TYPE_QNAME = "0x1::reconfiguration_state::State";
|
|
4924
|
+
function type(): TypeDescriptor<State>;
|
|
4925
|
+
}
|
|
4926
|
+
interface StateActive {
|
|
4927
|
+
start_time_secs: bigint;
|
|
4928
|
+
}
|
|
4929
|
+
namespace StateActive {
|
|
4930
|
+
const TYPE_QNAME = "0x1::reconfiguration_state::StateActive";
|
|
4931
|
+
function type(): TypeDescriptor<StateActive>;
|
|
4932
|
+
}
|
|
4933
|
+
interface StateActiveInstance extends TypedEventInstance<StateActive> {
|
|
4934
|
+
data_decoded: StateActive;
|
|
4935
|
+
type_arguments: [];
|
|
4936
|
+
}
|
|
4937
|
+
interface StateInactive {
|
|
4938
|
+
dummy_field: Boolean;
|
|
4939
|
+
}
|
|
4940
|
+
namespace StateInactive {
|
|
4941
|
+
const TYPE_QNAME = "0x1::reconfiguration_state::StateInactive";
|
|
4942
|
+
function type(): TypeDescriptor<StateInactive>;
|
|
4943
|
+
}
|
|
4944
|
+
interface StateInactiveInstance extends TypedEventInstance<StateInactive> {
|
|
4945
|
+
data_decoded: StateInactive;
|
|
4946
|
+
type_arguments: [];
|
|
4947
|
+
}
|
|
4948
|
+
namespace entry { }
|
|
4949
|
+
namespace view { }
|
|
4950
|
+
}
|
|
4558
4951
|
export declare namespace ristretto255_pedersen {
|
|
4559
4952
|
interface Commitment {
|
|
4560
4953
|
point: ristretto255.RistrettoPoint;
|
|
@@ -4680,6 +5073,27 @@ export declare namespace transaction_validation {
|
|
|
4680
5073
|
namespace entry { }
|
|
4681
5074
|
namespace view { }
|
|
4682
5075
|
}
|
|
5076
|
+
export declare namespace reconfiguration_with_dkg {
|
|
5077
|
+
namespace entry { }
|
|
5078
|
+
namespace view { }
|
|
5079
|
+
}
|
|
5080
|
+
export declare namespace validator_consensus_info {
|
|
5081
|
+
interface ValidatorConsensusInfo {
|
|
5082
|
+
addr: MoveAddressType;
|
|
5083
|
+
pk_bytes: string;
|
|
5084
|
+
voting_power: bigint;
|
|
5085
|
+
}
|
|
5086
|
+
namespace ValidatorConsensusInfo {
|
|
5087
|
+
const TYPE_QNAME = "0x1::validator_consensus_info::ValidatorConsensusInfo";
|
|
5088
|
+
function type(): TypeDescriptor<ValidatorConsensusInfo>;
|
|
5089
|
+
}
|
|
5090
|
+
interface ValidatorConsensusInfoInstance extends TypedEventInstance<ValidatorConsensusInfo> {
|
|
5091
|
+
data_decoded: ValidatorConsensusInfo;
|
|
5092
|
+
type_arguments: [];
|
|
5093
|
+
}
|
|
5094
|
+
namespace entry { }
|
|
5095
|
+
namespace view { }
|
|
5096
|
+
}
|
|
4683
5097
|
export declare namespace ristretto255_bulletproofs {
|
|
4684
5098
|
interface RangeProof {
|
|
4685
5099
|
bytes: string;
|