@typemove/aptos 1.6.1 → 1.6.2-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.test.js.map +1 -1
- package/dist/cjs/builtin/0x1.d.ts +1194 -7
- package/dist/cjs/builtin/0x1.d.ts.map +1 -1
- package/dist/cjs/builtin/0x1.js +1225 -2
- package/dist/cjs/builtin/0x1.js.map +1 -1
- package/dist/cjs/builtin/0x3.d.ts +273 -0
- package/dist/cjs/builtin/0x3.d.ts.map +1 -1
- package/dist/cjs/builtin/0x3.js +172 -1
- package/dist/cjs/builtin/0x3.js.map +1 -1
- package/dist/cjs/builtin/0x4.d.ts +14 -0
- package/dist/cjs/builtin/0x4.d.ts.map +1 -1
- package/dist/cjs/builtin/0x4.js +10 -1
- package/dist/cjs/builtin/0x4.js.map +1 -1
- package/dist/cjs/client.test.js.map +1 -1
- package/dist/cjs/codegen/types.test.js.map +1 -1
- package/dist/esm/account-resource-client.test.js.map +1 -1
- package/dist/esm/builtin/0x1.d.ts +1194 -7
- package/dist/esm/builtin/0x1.d.ts.map +1 -1
- package/dist/esm/builtin/0x1.js +1224 -1
- package/dist/esm/builtin/0x1.js.map +1 -1
- package/dist/esm/builtin/0x3.d.ts +273 -0
- package/dist/esm/builtin/0x3.d.ts.map +1 -1
- package/dist/esm/builtin/0x3.js +172 -1
- package/dist/esm/builtin/0x3.js.map +1 -1
- package/dist/esm/builtin/0x4.d.ts +14 -0
- package/dist/esm/builtin/0x4.d.ts.map +1 -1
- package/dist/esm/builtin/0x4.js +10 -1
- package/dist/esm/builtin/0x4.js.map +1 -1
- package/dist/esm/client.test.js.map +1 -1
- package/dist/esm/codegen/types.test.js.map +1 -1
- package/package.json +3 -3
- package/src/abis/0x1.json +3976 -198
- package/src/abis/0x3.json +544 -3
- package/src/abis/0x4.json +30 -17
- package/src/builtin/0x1.ts +2585 -66
- package/src/builtin/0x3.ts +457 -1
- package/src/builtin/0x4.ts +23 -1
|
@@ -197,6 +197,13 @@ export declare namespace coin {
|
|
|
197
197
|
const TYPE_QNAME = "0x1::coin::BurnCapability";
|
|
198
198
|
function type<T0>(arg0?: TypeDescriptor<T0>): TypeDescriptor<BurnCapability<T0>>;
|
|
199
199
|
}
|
|
200
|
+
interface BurnRefReceipt {
|
|
201
|
+
metadata: object_.Object<fungible_asset.Metadata>;
|
|
202
|
+
}
|
|
203
|
+
namespace BurnRefReceipt {
|
|
204
|
+
const TYPE_QNAME = "0x1::coin::BurnRefReceipt";
|
|
205
|
+
function type(): TypeDescriptor<BurnRefReceipt>;
|
|
206
|
+
}
|
|
200
207
|
interface Coin<T0> {
|
|
201
208
|
value: bigint;
|
|
202
209
|
}
|
|
@@ -204,6 +211,26 @@ export declare namespace coin {
|
|
|
204
211
|
const TYPE_QNAME = "0x1::coin::Coin";
|
|
205
212
|
function type<T0>(arg0?: TypeDescriptor<T0>): TypeDescriptor<Coin<T0>>;
|
|
206
213
|
}
|
|
214
|
+
interface CoinConversionMap {
|
|
215
|
+
coin_to_fungible_asset_map: table.Table<type_info.TypeInfo, object_.Object<fungible_asset.Metadata>>;
|
|
216
|
+
}
|
|
217
|
+
namespace CoinConversionMap {
|
|
218
|
+
const TYPE_QNAME = "0x1::coin::CoinConversionMap";
|
|
219
|
+
function type(): TypeDescriptor<CoinConversionMap>;
|
|
220
|
+
}
|
|
221
|
+
interface CoinEventHandleDeletion {
|
|
222
|
+
event_handle_creation_address: MoveAddressType;
|
|
223
|
+
deleted_deposit_event_handle_creation_number: bigint;
|
|
224
|
+
deleted_withdraw_event_handle_creation_number: bigint;
|
|
225
|
+
}
|
|
226
|
+
namespace CoinEventHandleDeletion {
|
|
227
|
+
const TYPE_QNAME = "0x1::coin::CoinEventHandleDeletion";
|
|
228
|
+
function type(): TypeDescriptor<CoinEventHandleDeletion>;
|
|
229
|
+
}
|
|
230
|
+
interface CoinEventHandleDeletionInstance extends TypedEventInstance<CoinEventHandleDeletion> {
|
|
231
|
+
data_decoded: CoinEventHandleDeletion;
|
|
232
|
+
type_arguments: [];
|
|
233
|
+
}
|
|
207
234
|
interface CoinInfo<T0> {
|
|
208
235
|
name: string;
|
|
209
236
|
symbol: string;
|
|
@@ -224,6 +251,18 @@ export declare namespace coin {
|
|
|
224
251
|
const TYPE_QNAME = "0x1::coin::CoinStore";
|
|
225
252
|
function type<T0>(arg0?: TypeDescriptor<T0>): TypeDescriptor<CoinStore<T0>>;
|
|
226
253
|
}
|
|
254
|
+
interface Deposit<T0> {
|
|
255
|
+
account: MoveAddressType;
|
|
256
|
+
amount: bigint;
|
|
257
|
+
}
|
|
258
|
+
namespace Deposit {
|
|
259
|
+
const TYPE_QNAME = "0x1::coin::Deposit";
|
|
260
|
+
function type<T0>(arg0?: TypeDescriptor<T0>): TypeDescriptor<Deposit<T0>>;
|
|
261
|
+
}
|
|
262
|
+
interface DepositInstance extends TypedEventInstance<Deposit<any>> {
|
|
263
|
+
data_decoded: Deposit<any>;
|
|
264
|
+
type_arguments: [string];
|
|
265
|
+
}
|
|
227
266
|
interface DepositEvent {
|
|
228
267
|
amount: bigint;
|
|
229
268
|
}
|
|
@@ -242,6 +281,13 @@ export declare namespace coin {
|
|
|
242
281
|
const TYPE_QNAME = "0x1::coin::FreezeCapability";
|
|
243
282
|
function type<T0>(arg0?: TypeDescriptor<T0>): TypeDescriptor<FreezeCapability<T0>>;
|
|
244
283
|
}
|
|
284
|
+
interface MigrationFlag {
|
|
285
|
+
dummy_field: Boolean;
|
|
286
|
+
}
|
|
287
|
+
namespace MigrationFlag {
|
|
288
|
+
const TYPE_QNAME = "0x1::coin::MigrationFlag";
|
|
289
|
+
function type(): TypeDescriptor<MigrationFlag>;
|
|
290
|
+
}
|
|
245
291
|
interface MintCapability<T0> {
|
|
246
292
|
dummy_field: Boolean;
|
|
247
293
|
}
|
|
@@ -249,6 +295,41 @@ export declare namespace coin {
|
|
|
249
295
|
const TYPE_QNAME = "0x1::coin::MintCapability";
|
|
250
296
|
function type<T0>(arg0?: TypeDescriptor<T0>): TypeDescriptor<MintCapability<T0>>;
|
|
251
297
|
}
|
|
298
|
+
interface MintRefReceipt {
|
|
299
|
+
metadata: object_.Object<fungible_asset.Metadata>;
|
|
300
|
+
}
|
|
301
|
+
namespace MintRefReceipt {
|
|
302
|
+
const TYPE_QNAME = "0x1::coin::MintRefReceipt";
|
|
303
|
+
function type(): TypeDescriptor<MintRefReceipt>;
|
|
304
|
+
}
|
|
305
|
+
interface PairCreation {
|
|
306
|
+
coin_type: type_info.TypeInfo;
|
|
307
|
+
fungible_asset_metadata_address: MoveAddressType;
|
|
308
|
+
}
|
|
309
|
+
namespace PairCreation {
|
|
310
|
+
const TYPE_QNAME = "0x1::coin::PairCreation";
|
|
311
|
+
function type(): TypeDescriptor<PairCreation>;
|
|
312
|
+
}
|
|
313
|
+
interface PairCreationInstance extends TypedEventInstance<PairCreation> {
|
|
314
|
+
data_decoded: PairCreation;
|
|
315
|
+
type_arguments: [];
|
|
316
|
+
}
|
|
317
|
+
interface PairedCoinType {
|
|
318
|
+
type: type_info.TypeInfo;
|
|
319
|
+
}
|
|
320
|
+
namespace PairedCoinType {
|
|
321
|
+
const TYPE_QNAME = "0x1::coin::PairedCoinType";
|
|
322
|
+
function type(): TypeDescriptor<PairedCoinType>;
|
|
323
|
+
}
|
|
324
|
+
interface PairedFungibleAssetRefs {
|
|
325
|
+
mint_ref_opt: option.Option<fungible_asset.MintRef>;
|
|
326
|
+
transfer_ref_opt: option.Option<fungible_asset.TransferRef>;
|
|
327
|
+
burn_ref_opt: option.Option<fungible_asset.BurnRef>;
|
|
328
|
+
}
|
|
329
|
+
namespace PairedFungibleAssetRefs {
|
|
330
|
+
const TYPE_QNAME = "0x1::coin::PairedFungibleAssetRefs";
|
|
331
|
+
function type(): TypeDescriptor<PairedFungibleAssetRefs>;
|
|
332
|
+
}
|
|
252
333
|
interface SupplyConfig {
|
|
253
334
|
allow_upgrades: Boolean;
|
|
254
335
|
}
|
|
@@ -256,6 +337,25 @@ export declare namespace coin {
|
|
|
256
337
|
const TYPE_QNAME = "0x1::coin::SupplyConfig";
|
|
257
338
|
function type(): TypeDescriptor<SupplyConfig>;
|
|
258
339
|
}
|
|
340
|
+
interface TransferRefReceipt {
|
|
341
|
+
metadata: object_.Object<fungible_asset.Metadata>;
|
|
342
|
+
}
|
|
343
|
+
namespace TransferRefReceipt {
|
|
344
|
+
const TYPE_QNAME = "0x1::coin::TransferRefReceipt";
|
|
345
|
+
function type(): TypeDescriptor<TransferRefReceipt>;
|
|
346
|
+
}
|
|
347
|
+
interface Withdraw<T0> {
|
|
348
|
+
account: MoveAddressType;
|
|
349
|
+
amount: bigint;
|
|
350
|
+
}
|
|
351
|
+
namespace Withdraw {
|
|
352
|
+
const TYPE_QNAME = "0x1::coin::Withdraw";
|
|
353
|
+
function type<T0>(arg0?: TypeDescriptor<T0>): TypeDescriptor<Withdraw<T0>>;
|
|
354
|
+
}
|
|
355
|
+
interface WithdrawInstance extends TypedEventInstance<Withdraw<any>> {
|
|
356
|
+
data_decoded: Withdraw<any>;
|
|
357
|
+
type_arguments: [string];
|
|
358
|
+
}
|
|
259
359
|
interface WithdrawEvent {
|
|
260
360
|
amount: bigint;
|
|
261
361
|
}
|
|
@@ -268,10 +368,22 @@ export declare namespace coin {
|
|
|
268
368
|
type_arguments: [];
|
|
269
369
|
}
|
|
270
370
|
namespace entry {
|
|
371
|
+
function createCoinConversionMap(client: Aptos, account: AptosAccount, request: {
|
|
372
|
+
typeArguments: [];
|
|
373
|
+
functionArguments: [];
|
|
374
|
+
}, options?: InputGenerateTransactionOptions): Promise<PendingTransactionResponse>;
|
|
375
|
+
function createPairing<T0 = any>(client: Aptos, account: AptosAccount, request: {
|
|
376
|
+
typeArguments: [MoveStructId];
|
|
377
|
+
functionArguments: [];
|
|
378
|
+
}, options?: InputGenerateTransactionOptions): Promise<PendingTransactionResponse>;
|
|
271
379
|
function freezeCoinStore<T0 = any>(client: Aptos, account: AptosAccount, request: {
|
|
272
380
|
typeArguments: [MoveStructId];
|
|
273
381
|
functionArguments: [MoveAddressType, MoveAddressType];
|
|
274
382
|
}, options?: InputGenerateTransactionOptions): Promise<PendingTransactionResponse>;
|
|
383
|
+
function migrateToFungibleStore<T0 = any>(client: Aptos, account: AptosAccount, request: {
|
|
384
|
+
typeArguments: [MoveStructId];
|
|
385
|
+
functionArguments: [];
|
|
386
|
+
}, options?: InputGenerateTransactionOptions): Promise<PendingTransactionResponse>;
|
|
275
387
|
function transfer<T0 = any>(client: Aptos, account: AptosAccount, request: {
|
|
276
388
|
typeArguments: [MoveStructId];
|
|
277
389
|
functionArguments: [MoveAddressType, bigint];
|
|
@@ -290,6 +402,9 @@ export declare namespace coin {
|
|
|
290
402
|
typeArguments: [MoveStructId];
|
|
291
403
|
functionArguments: [MoveAddressType];
|
|
292
404
|
}, version?: bigint): Promise<[bigint]>;
|
|
405
|
+
function coinSupply<T0 = any>(client: Aptos, request: {
|
|
406
|
+
typeArguments: [MoveStructId];
|
|
407
|
+
}, version?: bigint): Promise<[option.Option<bigint>]>;
|
|
293
408
|
function decimals<T0 = any>(client: Aptos, request: {
|
|
294
409
|
typeArguments: [MoveStructId];
|
|
295
410
|
}, version?: bigint): Promise<[number]>;
|
|
@@ -297,6 +412,10 @@ export declare namespace coin {
|
|
|
297
412
|
typeArguments: [MoveStructId];
|
|
298
413
|
functionArguments: [MoveAddressType];
|
|
299
414
|
}, version?: bigint): Promise<[Boolean]>;
|
|
415
|
+
function isBalanceAtLeast<T0 = any>(client: Aptos, request: {
|
|
416
|
+
typeArguments: [MoveStructId];
|
|
417
|
+
functionArguments: [MoveAddressType, bigint];
|
|
418
|
+
}, version?: bigint): Promise<[Boolean]>;
|
|
300
419
|
function isCoinInitialized<T0 = any>(client: Aptos, request: {
|
|
301
420
|
typeArguments: [MoveStructId];
|
|
302
421
|
}, version?: bigint): Promise<[Boolean]>;
|
|
@@ -307,6 +426,21 @@ export declare namespace coin {
|
|
|
307
426
|
function name<T0 = any>(client: Aptos, request: {
|
|
308
427
|
typeArguments: [MoveStructId];
|
|
309
428
|
}, version?: bigint): Promise<[string]>;
|
|
429
|
+
function pairedBurnRefExists<T0 = any>(client: Aptos, request: {
|
|
430
|
+
typeArguments: [MoveStructId];
|
|
431
|
+
}, version?: bigint): Promise<[Boolean]>;
|
|
432
|
+
function pairedCoin(client: Aptos, request: {
|
|
433
|
+
functionArguments: [object_.Object<fungible_asset.Metadata>];
|
|
434
|
+
}, version?: bigint): Promise<[option.Option<type_info.TypeInfo>]>;
|
|
435
|
+
function pairedMetadata<T0 = any>(client: Aptos, request: {
|
|
436
|
+
typeArguments: [MoveStructId];
|
|
437
|
+
}, version?: bigint): Promise<[option.Option<object_.Object<fungible_asset.Metadata>>]>;
|
|
438
|
+
function pairedMintRefExists<T0 = any>(client: Aptos, request: {
|
|
439
|
+
typeArguments: [MoveStructId];
|
|
440
|
+
}, version?: bigint): Promise<[Boolean]>;
|
|
441
|
+
function pairedTransferRefExists<T0 = any>(client: Aptos, request: {
|
|
442
|
+
typeArguments: [MoveStructId];
|
|
443
|
+
}, version?: bigint): Promise<[Boolean]>;
|
|
310
444
|
function supply<T0 = any>(client: Aptos, request: {
|
|
311
445
|
typeArguments: [MoveStructId];
|
|
312
446
|
}, version?: bigint): Promise<[option.Option<bigint>]>;
|
|
@@ -553,6 +687,24 @@ export declare namespace block {
|
|
|
553
687
|
const TYPE_QNAME = "0x1::block::CommitHistory";
|
|
554
688
|
function type(): TypeDescriptor<CommitHistory>;
|
|
555
689
|
}
|
|
690
|
+
interface NewBlock {
|
|
691
|
+
hash: MoveAddressType;
|
|
692
|
+
epoch: bigint;
|
|
693
|
+
round: bigint;
|
|
694
|
+
height: bigint;
|
|
695
|
+
previous_block_votes_bitvec: string;
|
|
696
|
+
proposer: MoveAddressType;
|
|
697
|
+
failed_proposer_indices: bigint[];
|
|
698
|
+
time_microseconds: bigint;
|
|
699
|
+
}
|
|
700
|
+
namespace NewBlock {
|
|
701
|
+
const TYPE_QNAME = "0x1::block::NewBlock";
|
|
702
|
+
function type(): TypeDescriptor<NewBlock>;
|
|
703
|
+
}
|
|
704
|
+
interface NewBlockInstance extends TypedEventInstance<NewBlock> {
|
|
705
|
+
data_decoded: NewBlock;
|
|
706
|
+
type_arguments: [];
|
|
707
|
+
}
|
|
556
708
|
interface NewBlockEvent {
|
|
557
709
|
hash: MoveAddressType;
|
|
558
710
|
epoch: bigint;
|
|
@@ -571,6 +723,18 @@ export declare namespace block {
|
|
|
571
723
|
data_decoded: NewBlockEvent;
|
|
572
724
|
type_arguments: [];
|
|
573
725
|
}
|
|
726
|
+
interface UpdateEpochInterval {
|
|
727
|
+
old_epoch_interval: bigint;
|
|
728
|
+
new_epoch_interval: bigint;
|
|
729
|
+
}
|
|
730
|
+
namespace UpdateEpochInterval {
|
|
731
|
+
const TYPE_QNAME = "0x1::block::UpdateEpochInterval";
|
|
732
|
+
function type(): TypeDescriptor<UpdateEpochInterval>;
|
|
733
|
+
}
|
|
734
|
+
interface UpdateEpochIntervalInstance extends TypedEventInstance<UpdateEpochInterval> {
|
|
735
|
+
data_decoded: UpdateEpochInterval;
|
|
736
|
+
type_arguments: [];
|
|
737
|
+
}
|
|
574
738
|
interface UpdateEpochIntervalEvent {
|
|
575
739
|
old_epoch_interval: bigint;
|
|
576
740
|
new_epoch_interval: bigint;
|
|
@@ -610,6 +774,18 @@ export declare namespace event {
|
|
|
610
774
|
namespace view { }
|
|
611
775
|
}
|
|
612
776
|
export declare namespace stake {
|
|
777
|
+
interface AddStake {
|
|
778
|
+
pool_address: MoveAddressType;
|
|
779
|
+
amount_added: bigint;
|
|
780
|
+
}
|
|
781
|
+
namespace AddStake {
|
|
782
|
+
const TYPE_QNAME = "0x1::stake::AddStake";
|
|
783
|
+
function type(): TypeDescriptor<AddStake>;
|
|
784
|
+
}
|
|
785
|
+
interface AddStakeInstance extends TypedEventInstance<AddStake> {
|
|
786
|
+
data_decoded: AddStake;
|
|
787
|
+
type_arguments: [];
|
|
788
|
+
}
|
|
613
789
|
interface AddStakeEvent {
|
|
614
790
|
pool_address: MoveAddressType;
|
|
615
791
|
amount_added: bigint;
|
|
@@ -636,6 +812,18 @@ export declare namespace stake {
|
|
|
636
812
|
const TYPE_QNAME = "0x1::stake::AptosCoinCapabilities";
|
|
637
813
|
function type(): TypeDescriptor<AptosCoinCapabilities>;
|
|
638
814
|
}
|
|
815
|
+
interface DistributeRewards {
|
|
816
|
+
pool_address: MoveAddressType;
|
|
817
|
+
rewards_amount: bigint;
|
|
818
|
+
}
|
|
819
|
+
namespace DistributeRewards {
|
|
820
|
+
const TYPE_QNAME = "0x1::stake::DistributeRewards";
|
|
821
|
+
function type(): TypeDescriptor<DistributeRewards>;
|
|
822
|
+
}
|
|
823
|
+
interface DistributeRewardsInstance extends TypedEventInstance<DistributeRewards> {
|
|
824
|
+
data_decoded: DistributeRewards;
|
|
825
|
+
type_arguments: [];
|
|
826
|
+
}
|
|
639
827
|
interface DistributeRewardsEvent {
|
|
640
828
|
pool_address: MoveAddressType;
|
|
641
829
|
rewards_amount: bigint;
|
|
@@ -648,6 +836,19 @@ export declare namespace stake {
|
|
|
648
836
|
data_decoded: DistributeRewardsEvent;
|
|
649
837
|
type_arguments: [];
|
|
650
838
|
}
|
|
839
|
+
interface IncreaseLockup {
|
|
840
|
+
pool_address: MoveAddressType;
|
|
841
|
+
old_locked_until_secs: bigint;
|
|
842
|
+
new_locked_until_secs: bigint;
|
|
843
|
+
}
|
|
844
|
+
namespace IncreaseLockup {
|
|
845
|
+
const TYPE_QNAME = "0x1::stake::IncreaseLockup";
|
|
846
|
+
function type(): TypeDescriptor<IncreaseLockup>;
|
|
847
|
+
}
|
|
848
|
+
interface IncreaseLockupInstance extends TypedEventInstance<IncreaseLockup> {
|
|
849
|
+
data_decoded: IncreaseLockup;
|
|
850
|
+
type_arguments: [];
|
|
851
|
+
}
|
|
651
852
|
interface IncreaseLockupEvent {
|
|
652
853
|
pool_address: MoveAddressType;
|
|
653
854
|
old_locked_until_secs: bigint;
|
|
@@ -673,6 +874,17 @@ export declare namespace stake {
|
|
|
673
874
|
data_decoded: IndividualValidatorPerformance;
|
|
674
875
|
type_arguments: [];
|
|
675
876
|
}
|
|
877
|
+
interface JoinValidatorSet {
|
|
878
|
+
pool_address: MoveAddressType;
|
|
879
|
+
}
|
|
880
|
+
namespace JoinValidatorSet {
|
|
881
|
+
const TYPE_QNAME = "0x1::stake::JoinValidatorSet";
|
|
882
|
+
function type(): TypeDescriptor<JoinValidatorSet>;
|
|
883
|
+
}
|
|
884
|
+
interface JoinValidatorSetInstance extends TypedEventInstance<JoinValidatorSet> {
|
|
885
|
+
data_decoded: JoinValidatorSet;
|
|
886
|
+
type_arguments: [];
|
|
887
|
+
}
|
|
676
888
|
interface JoinValidatorSetEvent {
|
|
677
889
|
pool_address: MoveAddressType;
|
|
678
890
|
}
|
|
@@ -684,6 +896,17 @@ export declare namespace stake {
|
|
|
684
896
|
data_decoded: JoinValidatorSetEvent;
|
|
685
897
|
type_arguments: [];
|
|
686
898
|
}
|
|
899
|
+
interface LeaveValidatorSet {
|
|
900
|
+
pool_address: MoveAddressType;
|
|
901
|
+
}
|
|
902
|
+
namespace LeaveValidatorSet {
|
|
903
|
+
const TYPE_QNAME = "0x1::stake::LeaveValidatorSet";
|
|
904
|
+
function type(): TypeDescriptor<LeaveValidatorSet>;
|
|
905
|
+
}
|
|
906
|
+
interface LeaveValidatorSetInstance extends TypedEventInstance<LeaveValidatorSet> {
|
|
907
|
+
data_decoded: LeaveValidatorSet;
|
|
908
|
+
type_arguments: [];
|
|
909
|
+
}
|
|
687
910
|
interface LeaveValidatorSetEvent {
|
|
688
911
|
pool_address: MoveAddressType;
|
|
689
912
|
}
|
|
@@ -702,6 +925,18 @@ export declare namespace stake {
|
|
|
702
925
|
const TYPE_QNAME = "0x1::stake::OwnerCapability";
|
|
703
926
|
function type(): TypeDescriptor<OwnerCapability>;
|
|
704
927
|
}
|
|
928
|
+
interface ReactivateStake {
|
|
929
|
+
pool_address: MoveAddressType;
|
|
930
|
+
amount: bigint;
|
|
931
|
+
}
|
|
932
|
+
namespace ReactivateStake {
|
|
933
|
+
const TYPE_QNAME = "0x1::stake::ReactivateStake";
|
|
934
|
+
function type(): TypeDescriptor<ReactivateStake>;
|
|
935
|
+
}
|
|
936
|
+
interface ReactivateStakeInstance extends TypedEventInstance<ReactivateStake> {
|
|
937
|
+
data_decoded: ReactivateStake;
|
|
938
|
+
type_arguments: [];
|
|
939
|
+
}
|
|
705
940
|
interface ReactivateStakeEvent {
|
|
706
941
|
pool_address: MoveAddressType;
|
|
707
942
|
amount: bigint;
|
|
@@ -714,6 +949,17 @@ export declare namespace stake {
|
|
|
714
949
|
data_decoded: ReactivateStakeEvent;
|
|
715
950
|
type_arguments: [];
|
|
716
951
|
}
|
|
952
|
+
interface RegisterValidatorCandidate {
|
|
953
|
+
pool_address: MoveAddressType;
|
|
954
|
+
}
|
|
955
|
+
namespace RegisterValidatorCandidate {
|
|
956
|
+
const TYPE_QNAME = "0x1::stake::RegisterValidatorCandidate";
|
|
957
|
+
function type(): TypeDescriptor<RegisterValidatorCandidate>;
|
|
958
|
+
}
|
|
959
|
+
interface RegisterValidatorCandidateInstance extends TypedEventInstance<RegisterValidatorCandidate> {
|
|
960
|
+
data_decoded: RegisterValidatorCandidate;
|
|
961
|
+
type_arguments: [];
|
|
962
|
+
}
|
|
717
963
|
interface RegisterValidatorCandidateEvent {
|
|
718
964
|
pool_address: MoveAddressType;
|
|
719
965
|
}
|
|
@@ -725,6 +971,19 @@ export declare namespace stake {
|
|
|
725
971
|
data_decoded: RegisterValidatorCandidateEvent;
|
|
726
972
|
type_arguments: [];
|
|
727
973
|
}
|
|
974
|
+
interface RotateConsensusKey {
|
|
975
|
+
pool_address: MoveAddressType;
|
|
976
|
+
old_consensus_pubkey: string;
|
|
977
|
+
new_consensus_pubkey: string;
|
|
978
|
+
}
|
|
979
|
+
namespace RotateConsensusKey {
|
|
980
|
+
const TYPE_QNAME = "0x1::stake::RotateConsensusKey";
|
|
981
|
+
function type(): TypeDescriptor<RotateConsensusKey>;
|
|
982
|
+
}
|
|
983
|
+
interface RotateConsensusKeyInstance extends TypedEventInstance<RotateConsensusKey> {
|
|
984
|
+
data_decoded: RotateConsensusKey;
|
|
985
|
+
type_arguments: [];
|
|
986
|
+
}
|
|
728
987
|
interface RotateConsensusKeyEvent {
|
|
729
988
|
pool_address: MoveAddressType;
|
|
730
989
|
old_consensus_pubkey: string;
|
|
@@ -738,6 +997,19 @@ export declare namespace stake {
|
|
|
738
997
|
data_decoded: RotateConsensusKeyEvent;
|
|
739
998
|
type_arguments: [];
|
|
740
999
|
}
|
|
1000
|
+
interface SetOperator {
|
|
1001
|
+
pool_address: MoveAddressType;
|
|
1002
|
+
old_operator: MoveAddressType;
|
|
1003
|
+
new_operator: MoveAddressType;
|
|
1004
|
+
}
|
|
1005
|
+
namespace SetOperator {
|
|
1006
|
+
const TYPE_QNAME = "0x1::stake::SetOperator";
|
|
1007
|
+
function type(): TypeDescriptor<SetOperator>;
|
|
1008
|
+
}
|
|
1009
|
+
interface SetOperatorInstance extends TypedEventInstance<SetOperator> {
|
|
1010
|
+
data_decoded: SetOperator;
|
|
1011
|
+
type_arguments: [];
|
|
1012
|
+
}
|
|
741
1013
|
interface SetOperatorEvent {
|
|
742
1014
|
pool_address: MoveAddressType;
|
|
743
1015
|
old_operator: MoveAddressType;
|
|
@@ -776,6 +1048,18 @@ export declare namespace stake {
|
|
|
776
1048
|
const TYPE_QNAME = "0x1::stake::StakePool";
|
|
777
1049
|
function type(): TypeDescriptor<StakePool>;
|
|
778
1050
|
}
|
|
1051
|
+
interface UnlockStake {
|
|
1052
|
+
pool_address: MoveAddressType;
|
|
1053
|
+
amount_unlocked: bigint;
|
|
1054
|
+
}
|
|
1055
|
+
namespace UnlockStake {
|
|
1056
|
+
const TYPE_QNAME = "0x1::stake::UnlockStake";
|
|
1057
|
+
function type(): TypeDescriptor<UnlockStake>;
|
|
1058
|
+
}
|
|
1059
|
+
interface UnlockStakeInstance extends TypedEventInstance<UnlockStake> {
|
|
1060
|
+
data_decoded: UnlockStake;
|
|
1061
|
+
type_arguments: [];
|
|
1062
|
+
}
|
|
779
1063
|
interface UnlockStakeEvent {
|
|
780
1064
|
pool_address: MoveAddressType;
|
|
781
1065
|
amount_unlocked: bigint;
|
|
@@ -788,6 +1072,21 @@ export declare namespace stake {
|
|
|
788
1072
|
data_decoded: UnlockStakeEvent;
|
|
789
1073
|
type_arguments: [];
|
|
790
1074
|
}
|
|
1075
|
+
interface UpdateNetworkAndFullnodeAddresses {
|
|
1076
|
+
pool_address: MoveAddressType;
|
|
1077
|
+
old_network_addresses: string;
|
|
1078
|
+
new_network_addresses: string;
|
|
1079
|
+
old_fullnode_addresses: string;
|
|
1080
|
+
new_fullnode_addresses: string;
|
|
1081
|
+
}
|
|
1082
|
+
namespace UpdateNetworkAndFullnodeAddresses {
|
|
1083
|
+
const TYPE_QNAME = "0x1::stake::UpdateNetworkAndFullnodeAddresses";
|
|
1084
|
+
function type(): TypeDescriptor<UpdateNetworkAndFullnodeAddresses>;
|
|
1085
|
+
}
|
|
1086
|
+
interface UpdateNetworkAndFullnodeAddressesInstance extends TypedEventInstance<UpdateNetworkAndFullnodeAddresses> {
|
|
1087
|
+
data_decoded: UpdateNetworkAndFullnodeAddresses;
|
|
1088
|
+
type_arguments: [];
|
|
1089
|
+
}
|
|
791
1090
|
interface UpdateNetworkAndFullnodeAddressesEvent {
|
|
792
1091
|
pool_address: MoveAddressType;
|
|
793
1092
|
old_network_addresses: string;
|
|
@@ -860,6 +1159,18 @@ export declare namespace stake {
|
|
|
860
1159
|
data_decoded: ValidatorSet;
|
|
861
1160
|
type_arguments: [];
|
|
862
1161
|
}
|
|
1162
|
+
interface WithdrawStake {
|
|
1163
|
+
pool_address: MoveAddressType;
|
|
1164
|
+
amount_withdrawn: bigint;
|
|
1165
|
+
}
|
|
1166
|
+
namespace WithdrawStake {
|
|
1167
|
+
const TYPE_QNAME = "0x1::stake::WithdrawStake";
|
|
1168
|
+
function type(): TypeDescriptor<WithdrawStake>;
|
|
1169
|
+
}
|
|
1170
|
+
interface WithdrawStakeInstance extends TypedEventInstance<WithdrawStake> {
|
|
1171
|
+
data_decoded: WithdrawStake;
|
|
1172
|
+
type_arguments: [];
|
|
1173
|
+
}
|
|
863
1174
|
interface WithdrawStakeEvent {
|
|
864
1175
|
pool_address: MoveAddressType;
|
|
865
1176
|
amount_withdrawn: bigint;
|
|
@@ -1073,6 +1384,19 @@ export declare namespace object_ {
|
|
|
1073
1384
|
const TYPE_QNAME = "0x1::object::TombStone";
|
|
1074
1385
|
function type(): TypeDescriptor<TombStone>;
|
|
1075
1386
|
}
|
|
1387
|
+
interface Transfer {
|
|
1388
|
+
object: MoveAddressType;
|
|
1389
|
+
from: MoveAddressType;
|
|
1390
|
+
to: MoveAddressType;
|
|
1391
|
+
}
|
|
1392
|
+
namespace Transfer {
|
|
1393
|
+
const TYPE_QNAME = "0x1::object::Transfer";
|
|
1394
|
+
function type(): TypeDescriptor<Transfer>;
|
|
1395
|
+
}
|
|
1396
|
+
interface TransferInstance extends TypedEventInstance<Transfer> {
|
|
1397
|
+
data_decoded: Transfer;
|
|
1398
|
+
type_arguments: [];
|
|
1399
|
+
}
|
|
1076
1400
|
interface TransferEvent {
|
|
1077
1401
|
object: MoveAddressType;
|
|
1078
1402
|
from: MoveAddressType;
|
|
@@ -1097,6 +1421,13 @@ export declare namespace object_ {
|
|
|
1097
1421
|
data_decoded: TransferRef;
|
|
1098
1422
|
type_arguments: [];
|
|
1099
1423
|
}
|
|
1424
|
+
interface Untransferable {
|
|
1425
|
+
dummy_field: Boolean;
|
|
1426
|
+
}
|
|
1427
|
+
namespace Untransferable {
|
|
1428
|
+
const TYPE_QNAME = "0x1::object::Untransferable";
|
|
1429
|
+
function type(): TypeDescriptor<Untransferable>;
|
|
1430
|
+
}
|
|
1100
1431
|
namespace entry {
|
|
1101
1432
|
function burn<T0 = any>(client: Aptos, account: AptosAccount, request: {
|
|
1102
1433
|
typeArguments: [MoveStructId];
|
|
@@ -1124,6 +1455,10 @@ export declare namespace object_ {
|
|
|
1124
1455
|
typeArguments: [MoveStructId];
|
|
1125
1456
|
functionArguments: [object_.Object<T0>];
|
|
1126
1457
|
}, version?: bigint): Promise<[Boolean]>;
|
|
1458
|
+
function isUntransferable<T0 = any>(client: Aptos, request: {
|
|
1459
|
+
typeArguments: [MoveStructId];
|
|
1460
|
+
functionArguments: [object_.Object<T0>];
|
|
1461
|
+
}, version?: bigint): Promise<[Boolean]>;
|
|
1127
1462
|
}
|
|
1128
1463
|
}
|
|
1129
1464
|
export declare namespace option {
|
|
@@ -1165,6 +1500,22 @@ export declare namespace vector {
|
|
|
1165
1500
|
namespace view { }
|
|
1166
1501
|
}
|
|
1167
1502
|
export declare namespace voting {
|
|
1503
|
+
interface CreateProposal {
|
|
1504
|
+
proposal_id: bigint;
|
|
1505
|
+
early_resolution_vote_threshold: option.Option<bigint>;
|
|
1506
|
+
execution_hash: string;
|
|
1507
|
+
expiration_secs: bigint;
|
|
1508
|
+
metadata: simple_map.SimpleMap<string, string>;
|
|
1509
|
+
min_vote_threshold: bigint;
|
|
1510
|
+
}
|
|
1511
|
+
namespace CreateProposal {
|
|
1512
|
+
const TYPE_QNAME = "0x1::voting::CreateProposal";
|
|
1513
|
+
function type(): TypeDescriptor<CreateProposal>;
|
|
1514
|
+
}
|
|
1515
|
+
interface CreateProposalInstance extends TypedEventInstance<CreateProposal> {
|
|
1516
|
+
data_decoded: CreateProposal;
|
|
1517
|
+
type_arguments: [];
|
|
1518
|
+
}
|
|
1168
1519
|
interface CreateProposalEvent {
|
|
1169
1520
|
proposal_id: bigint;
|
|
1170
1521
|
early_resolution_vote_threshold: option.Option<bigint>;
|
|
@@ -1199,6 +1550,18 @@ export declare namespace voting {
|
|
|
1199
1550
|
const TYPE_QNAME = "0x1::voting::Proposal";
|
|
1200
1551
|
function type<T0>(arg0?: TypeDescriptor<T0>): TypeDescriptor<Proposal<T0>>;
|
|
1201
1552
|
}
|
|
1553
|
+
interface RegisterForum {
|
|
1554
|
+
hosting_account: MoveAddressType;
|
|
1555
|
+
proposal_type_info: type_info.TypeInfo;
|
|
1556
|
+
}
|
|
1557
|
+
namespace RegisterForum {
|
|
1558
|
+
const TYPE_QNAME = "0x1::voting::RegisterForum";
|
|
1559
|
+
function type(): TypeDescriptor<RegisterForum>;
|
|
1560
|
+
}
|
|
1561
|
+
interface RegisterForumInstance extends TypedEventInstance<RegisterForum> {
|
|
1562
|
+
data_decoded: RegisterForum;
|
|
1563
|
+
type_arguments: [];
|
|
1564
|
+
}
|
|
1202
1565
|
interface RegisterForumEvent {
|
|
1203
1566
|
hosting_account: MoveAddressType;
|
|
1204
1567
|
proposal_type_info: type_info.TypeInfo;
|
|
@@ -1225,6 +1588,18 @@ export declare namespace voting {
|
|
|
1225
1588
|
data_decoded: ResolveProposal;
|
|
1226
1589
|
type_arguments: [];
|
|
1227
1590
|
}
|
|
1591
|
+
interface Vote {
|
|
1592
|
+
proposal_id: bigint;
|
|
1593
|
+
num_votes: bigint;
|
|
1594
|
+
}
|
|
1595
|
+
namespace Vote {
|
|
1596
|
+
const TYPE_QNAME = "0x1::voting::Vote";
|
|
1597
|
+
function type(): TypeDescriptor<Vote>;
|
|
1598
|
+
}
|
|
1599
|
+
interface VoteInstance extends TypedEventInstance<Vote> {
|
|
1600
|
+
data_decoded: Vote;
|
|
1601
|
+
type_arguments: [];
|
|
1602
|
+
}
|
|
1228
1603
|
interface VoteEvent {
|
|
1229
1604
|
proposal_id: bigint;
|
|
1230
1605
|
num_votes: bigint;
|
|
@@ -1352,6 +1727,19 @@ export declare namespace account {
|
|
|
1352
1727
|
data_decoded: CoinRegisterEvent;
|
|
1353
1728
|
type_arguments: [];
|
|
1354
1729
|
}
|
|
1730
|
+
interface KeyRotation {
|
|
1731
|
+
account: MoveAddressType;
|
|
1732
|
+
old_authentication_key: string;
|
|
1733
|
+
new_authentication_key: string;
|
|
1734
|
+
}
|
|
1735
|
+
namespace KeyRotation {
|
|
1736
|
+
const TYPE_QNAME = "0x1::account::KeyRotation";
|
|
1737
|
+
function type(): TypeDescriptor<KeyRotation>;
|
|
1738
|
+
}
|
|
1739
|
+
interface KeyRotationInstance extends TypedEventInstance<KeyRotation> {
|
|
1740
|
+
data_decoded: KeyRotation;
|
|
1741
|
+
type_arguments: [];
|
|
1742
|
+
}
|
|
1355
1743
|
interface KeyRotationEvent {
|
|
1356
1744
|
old_authentication_key: string;
|
|
1357
1745
|
new_authentication_key: string;
|
|
@@ -1639,6 +2027,19 @@ export declare namespace vesting {
|
|
|
1639
2027
|
const TYPE_QNAME = "0x1::vesting::AdminStore";
|
|
1640
2028
|
function type(): TypeDescriptor<AdminStore>;
|
|
1641
2029
|
}
|
|
2030
|
+
interface AdminWithdraw {
|
|
2031
|
+
admin: MoveAddressType;
|
|
2032
|
+
vesting_contract_address: MoveAddressType;
|
|
2033
|
+
amount: bigint;
|
|
2034
|
+
}
|
|
2035
|
+
namespace AdminWithdraw {
|
|
2036
|
+
const TYPE_QNAME = "0x1::vesting::AdminWithdraw";
|
|
2037
|
+
function type(): TypeDescriptor<AdminWithdraw>;
|
|
2038
|
+
}
|
|
2039
|
+
interface AdminWithdrawInstance extends TypedEventInstance<AdminWithdraw> {
|
|
2040
|
+
data_decoded: AdminWithdraw;
|
|
2041
|
+
type_arguments: [];
|
|
2042
|
+
}
|
|
1642
2043
|
interface AdminWithdrawEvent {
|
|
1643
2044
|
admin: MoveAddressType;
|
|
1644
2045
|
vesting_contract_address: MoveAddressType;
|
|
@@ -1652,6 +2053,23 @@ export declare namespace vesting {
|
|
|
1652
2053
|
data_decoded: AdminWithdrawEvent;
|
|
1653
2054
|
type_arguments: [];
|
|
1654
2055
|
}
|
|
2056
|
+
interface CreateVestingContract {
|
|
2057
|
+
operator: MoveAddressType;
|
|
2058
|
+
voter: MoveAddressType;
|
|
2059
|
+
grant_amount: bigint;
|
|
2060
|
+
withdrawal_address: MoveAddressType;
|
|
2061
|
+
vesting_contract_address: MoveAddressType;
|
|
2062
|
+
staking_pool_address: MoveAddressType;
|
|
2063
|
+
commission_percentage: bigint;
|
|
2064
|
+
}
|
|
2065
|
+
namespace CreateVestingContract {
|
|
2066
|
+
const TYPE_QNAME = "0x1::vesting::CreateVestingContract";
|
|
2067
|
+
function type(): TypeDescriptor<CreateVestingContract>;
|
|
2068
|
+
}
|
|
2069
|
+
interface CreateVestingContractInstance extends TypedEventInstance<CreateVestingContract> {
|
|
2070
|
+
data_decoded: CreateVestingContract;
|
|
2071
|
+
type_arguments: [];
|
|
2072
|
+
}
|
|
1655
2073
|
interface CreateVestingContractEvent {
|
|
1656
2074
|
operator: MoveAddressType;
|
|
1657
2075
|
voter: MoveAddressType;
|
|
@@ -1669,6 +2087,19 @@ export declare namespace vesting {
|
|
|
1669
2087
|
data_decoded: CreateVestingContractEvent;
|
|
1670
2088
|
type_arguments: [];
|
|
1671
2089
|
}
|
|
2090
|
+
interface Distribute {
|
|
2091
|
+
admin: MoveAddressType;
|
|
2092
|
+
vesting_contract_address: MoveAddressType;
|
|
2093
|
+
amount: bigint;
|
|
2094
|
+
}
|
|
2095
|
+
namespace Distribute {
|
|
2096
|
+
const TYPE_QNAME = "0x1::vesting::Distribute";
|
|
2097
|
+
function type(): TypeDescriptor<Distribute>;
|
|
2098
|
+
}
|
|
2099
|
+
interface DistributeInstance extends TypedEventInstance<Distribute> {
|
|
2100
|
+
data_decoded: Distribute;
|
|
2101
|
+
type_arguments: [];
|
|
2102
|
+
}
|
|
1672
2103
|
interface DistributeEvent {
|
|
1673
2104
|
admin: MoveAddressType;
|
|
1674
2105
|
vesting_contract_address: MoveAddressType;
|
|
@@ -1682,6 +2113,20 @@ export declare namespace vesting {
|
|
|
1682
2113
|
data_decoded: DistributeEvent;
|
|
1683
2114
|
type_arguments: [];
|
|
1684
2115
|
}
|
|
2116
|
+
interface ResetLockup {
|
|
2117
|
+
admin: MoveAddressType;
|
|
2118
|
+
vesting_contract_address: MoveAddressType;
|
|
2119
|
+
staking_pool_address: MoveAddressType;
|
|
2120
|
+
new_lockup_expiration_secs: bigint;
|
|
2121
|
+
}
|
|
2122
|
+
namespace ResetLockup {
|
|
2123
|
+
const TYPE_QNAME = "0x1::vesting::ResetLockup";
|
|
2124
|
+
function type(): TypeDescriptor<ResetLockup>;
|
|
2125
|
+
}
|
|
2126
|
+
interface ResetLockupInstance extends TypedEventInstance<ResetLockup> {
|
|
2127
|
+
data_decoded: ResetLockup;
|
|
2128
|
+
type_arguments: [];
|
|
2129
|
+
}
|
|
1685
2130
|
interface ResetLockupEvent {
|
|
1686
2131
|
admin: MoveAddressType;
|
|
1687
2132
|
vesting_contract_address: MoveAddressType;
|
|
@@ -1696,6 +2141,21 @@ export declare namespace vesting {
|
|
|
1696
2141
|
data_decoded: ResetLockupEvent;
|
|
1697
2142
|
type_arguments: [];
|
|
1698
2143
|
}
|
|
2144
|
+
interface SetBeneficiary {
|
|
2145
|
+
admin: MoveAddressType;
|
|
2146
|
+
vesting_contract_address: MoveAddressType;
|
|
2147
|
+
shareholder: MoveAddressType;
|
|
2148
|
+
old_beneficiary: MoveAddressType;
|
|
2149
|
+
new_beneficiary: MoveAddressType;
|
|
2150
|
+
}
|
|
2151
|
+
namespace SetBeneficiary {
|
|
2152
|
+
const TYPE_QNAME = "0x1::vesting::SetBeneficiary";
|
|
2153
|
+
function type(): TypeDescriptor<SetBeneficiary>;
|
|
2154
|
+
}
|
|
2155
|
+
interface SetBeneficiaryInstance extends TypedEventInstance<SetBeneficiary> {
|
|
2156
|
+
data_decoded: SetBeneficiary;
|
|
2157
|
+
type_arguments: [];
|
|
2158
|
+
}
|
|
1699
2159
|
interface SetBeneficiaryEvent {
|
|
1700
2160
|
admin: MoveAddressType;
|
|
1701
2161
|
vesting_contract_address: MoveAddressType;
|
|
@@ -1721,6 +2181,18 @@ export declare namespace vesting {
|
|
|
1721
2181
|
const TYPE_QNAME = "0x1::vesting::StakingInfo";
|
|
1722
2182
|
function type(): TypeDescriptor<StakingInfo>;
|
|
1723
2183
|
}
|
|
2184
|
+
interface Terminate {
|
|
2185
|
+
admin: MoveAddressType;
|
|
2186
|
+
vesting_contract_address: MoveAddressType;
|
|
2187
|
+
}
|
|
2188
|
+
namespace Terminate {
|
|
2189
|
+
const TYPE_QNAME = "0x1::vesting::Terminate";
|
|
2190
|
+
function type(): TypeDescriptor<Terminate>;
|
|
2191
|
+
}
|
|
2192
|
+
interface TerminateInstance extends TypedEventInstance<Terminate> {
|
|
2193
|
+
data_decoded: Terminate;
|
|
2194
|
+
type_arguments: [];
|
|
2195
|
+
}
|
|
1724
2196
|
interface TerminateEvent {
|
|
1725
2197
|
admin: MoveAddressType;
|
|
1726
2198
|
vesting_contract_address: MoveAddressType;
|
|
@@ -1733,6 +2205,20 @@ export declare namespace vesting {
|
|
|
1733
2205
|
data_decoded: TerminateEvent;
|
|
1734
2206
|
type_arguments: [];
|
|
1735
2207
|
}
|
|
2208
|
+
interface UnlockRewards {
|
|
2209
|
+
admin: MoveAddressType;
|
|
2210
|
+
vesting_contract_address: MoveAddressType;
|
|
2211
|
+
staking_pool_address: MoveAddressType;
|
|
2212
|
+
amount: bigint;
|
|
2213
|
+
}
|
|
2214
|
+
namespace UnlockRewards {
|
|
2215
|
+
const TYPE_QNAME = "0x1::vesting::UnlockRewards";
|
|
2216
|
+
function type(): TypeDescriptor<UnlockRewards>;
|
|
2217
|
+
}
|
|
2218
|
+
interface UnlockRewardsInstance extends TypedEventInstance<UnlockRewards> {
|
|
2219
|
+
data_decoded: UnlockRewards;
|
|
2220
|
+
type_arguments: [];
|
|
2221
|
+
}
|
|
1736
2222
|
interface UnlockRewardsEvent {
|
|
1737
2223
|
admin: MoveAddressType;
|
|
1738
2224
|
vesting_contract_address: MoveAddressType;
|
|
@@ -1747,6 +2233,22 @@ export declare namespace vesting {
|
|
|
1747
2233
|
data_decoded: UnlockRewardsEvent;
|
|
1748
2234
|
type_arguments: [];
|
|
1749
2235
|
}
|
|
2236
|
+
interface UpdateOperator {
|
|
2237
|
+
admin: MoveAddressType;
|
|
2238
|
+
vesting_contract_address: MoveAddressType;
|
|
2239
|
+
staking_pool_address: MoveAddressType;
|
|
2240
|
+
old_operator: MoveAddressType;
|
|
2241
|
+
new_operator: MoveAddressType;
|
|
2242
|
+
commission_percentage: bigint;
|
|
2243
|
+
}
|
|
2244
|
+
namespace UpdateOperator {
|
|
2245
|
+
const TYPE_QNAME = "0x1::vesting::UpdateOperator";
|
|
2246
|
+
function type(): TypeDescriptor<UpdateOperator>;
|
|
2247
|
+
}
|
|
2248
|
+
interface UpdateOperatorInstance extends TypedEventInstance<UpdateOperator> {
|
|
2249
|
+
data_decoded: UpdateOperator;
|
|
2250
|
+
type_arguments: [];
|
|
2251
|
+
}
|
|
1750
2252
|
interface UpdateOperatorEvent {
|
|
1751
2253
|
admin: MoveAddressType;
|
|
1752
2254
|
vesting_contract_address: MoveAddressType;
|
|
@@ -1763,6 +2265,21 @@ export declare namespace vesting {
|
|
|
1763
2265
|
data_decoded: UpdateOperatorEvent;
|
|
1764
2266
|
type_arguments: [];
|
|
1765
2267
|
}
|
|
2268
|
+
interface UpdateVoter {
|
|
2269
|
+
admin: MoveAddressType;
|
|
2270
|
+
vesting_contract_address: MoveAddressType;
|
|
2271
|
+
staking_pool_address: MoveAddressType;
|
|
2272
|
+
old_voter: MoveAddressType;
|
|
2273
|
+
new_voter: MoveAddressType;
|
|
2274
|
+
}
|
|
2275
|
+
namespace UpdateVoter {
|
|
2276
|
+
const TYPE_QNAME = "0x1::vesting::UpdateVoter";
|
|
2277
|
+
function type(): TypeDescriptor<UpdateVoter>;
|
|
2278
|
+
}
|
|
2279
|
+
interface UpdateVoterInstance extends TypedEventInstance<UpdateVoter> {
|
|
2280
|
+
data_decoded: UpdateVoter;
|
|
2281
|
+
type_arguments: [];
|
|
2282
|
+
}
|
|
1766
2283
|
interface UpdateVoterEvent {
|
|
1767
2284
|
admin: MoveAddressType;
|
|
1768
2285
|
vesting_contract_address: MoveAddressType;
|
|
@@ -1778,6 +2295,21 @@ export declare namespace vesting {
|
|
|
1778
2295
|
data_decoded: UpdateVoterEvent;
|
|
1779
2296
|
type_arguments: [];
|
|
1780
2297
|
}
|
|
2298
|
+
interface Vest {
|
|
2299
|
+
admin: MoveAddressType;
|
|
2300
|
+
vesting_contract_address: MoveAddressType;
|
|
2301
|
+
staking_pool_address: MoveAddressType;
|
|
2302
|
+
period_vested: bigint;
|
|
2303
|
+
amount: bigint;
|
|
2304
|
+
}
|
|
2305
|
+
namespace Vest {
|
|
2306
|
+
const TYPE_QNAME = "0x1::vesting::Vest";
|
|
2307
|
+
function type(): TypeDescriptor<Vest>;
|
|
2308
|
+
}
|
|
2309
|
+
interface VestInstance extends TypedEventInstance<Vest> {
|
|
2310
|
+
data_decoded: Vest;
|
|
2311
|
+
type_arguments: [];
|
|
2312
|
+
}
|
|
1781
2313
|
interface VestEvent {
|
|
1782
2314
|
admin: MoveAddressType;
|
|
1783
2315
|
vesting_contract_address: MoveAddressType;
|
|
@@ -2645,6 +3177,18 @@ export declare namespace aggregator_v2 {
|
|
|
2645
3177
|
namespace view { }
|
|
2646
3178
|
}
|
|
2647
3179
|
export declare namespace aptos_account {
|
|
3180
|
+
interface DirectCoinTransferConfigUpdated {
|
|
3181
|
+
account: MoveAddressType;
|
|
3182
|
+
new_allow_direct_transfers: Boolean;
|
|
3183
|
+
}
|
|
3184
|
+
namespace DirectCoinTransferConfigUpdated {
|
|
3185
|
+
const TYPE_QNAME = "0x1::aptos_account::DirectCoinTransferConfigUpdated";
|
|
3186
|
+
function type(): TypeDescriptor<DirectCoinTransferConfigUpdated>;
|
|
3187
|
+
}
|
|
3188
|
+
interface DirectCoinTransferConfigUpdatedInstance extends TypedEventInstance<DirectCoinTransferConfigUpdated> {
|
|
3189
|
+
data_decoded: DirectCoinTransferConfigUpdated;
|
|
3190
|
+
type_arguments: [];
|
|
3191
|
+
}
|
|
2648
3192
|
interface DirectCoinTransferConfigUpdatedEvent {
|
|
2649
3193
|
new_allow_direct_transfers: Boolean;
|
|
2650
3194
|
}
|
|
@@ -2857,6 +3401,23 @@ export declare namespace fixed_point64 {
|
|
|
2857
3401
|
namespace entry { }
|
|
2858
3402
|
namespace view { }
|
|
2859
3403
|
}
|
|
3404
|
+
export declare namespace function_info {
|
|
3405
|
+
interface FunctionInfo {
|
|
3406
|
+
module_address: MoveAddressType;
|
|
3407
|
+
module_name: string;
|
|
3408
|
+
function_name: string;
|
|
3409
|
+
}
|
|
3410
|
+
namespace FunctionInfo {
|
|
3411
|
+
const TYPE_QNAME = "0x1::function_info::FunctionInfo";
|
|
3412
|
+
function type(): TypeDescriptor<FunctionInfo>;
|
|
3413
|
+
}
|
|
3414
|
+
interface FunctionInfoInstance extends TypedEventInstance<FunctionInfo> {
|
|
3415
|
+
data_decoded: FunctionInfo;
|
|
3416
|
+
type_arguments: [];
|
|
3417
|
+
}
|
|
3418
|
+
namespace entry { }
|
|
3419
|
+
namespace view { }
|
|
3420
|
+
}
|
|
2860
3421
|
export declare namespace multi_ed25519 {
|
|
2861
3422
|
interface Signature {
|
|
2862
3423
|
bytes: string;
|
|
@@ -2985,6 +3546,13 @@ export declare namespace fungible_asset {
|
|
|
2985
3546
|
data_decoded: BurnRef;
|
|
2986
3547
|
type_arguments: [];
|
|
2987
3548
|
}
|
|
3549
|
+
interface ConcurrentFungibleBalance {
|
|
3550
|
+
balance: aggregator_v2.Aggregator<bigint>;
|
|
3551
|
+
}
|
|
3552
|
+
namespace ConcurrentFungibleBalance {
|
|
3553
|
+
const TYPE_QNAME = "0x1::fungible_asset::ConcurrentFungibleBalance";
|
|
3554
|
+
function type(): TypeDescriptor<ConcurrentFungibleBalance>;
|
|
3555
|
+
}
|
|
2988
3556
|
interface ConcurrentSupply {
|
|
2989
3557
|
current: aggregator_v2.Aggregator<bigint>;
|
|
2990
3558
|
}
|
|
@@ -2992,6 +3560,18 @@ export declare namespace fungible_asset {
|
|
|
2992
3560
|
const TYPE_QNAME = "0x1::fungible_asset::ConcurrentSupply";
|
|
2993
3561
|
function type(): TypeDescriptor<ConcurrentSupply>;
|
|
2994
3562
|
}
|
|
3563
|
+
interface Deposit {
|
|
3564
|
+
store: MoveAddressType;
|
|
3565
|
+
amount: bigint;
|
|
3566
|
+
}
|
|
3567
|
+
namespace Deposit {
|
|
3568
|
+
const TYPE_QNAME = "0x1::fungible_asset::Deposit";
|
|
3569
|
+
function type(): TypeDescriptor<Deposit>;
|
|
3570
|
+
}
|
|
3571
|
+
interface DepositInstance extends TypedEventInstance<Deposit> {
|
|
3572
|
+
data_decoded: Deposit;
|
|
3573
|
+
type_arguments: [];
|
|
3574
|
+
}
|
|
2995
3575
|
interface DepositEvent {
|
|
2996
3576
|
amount: bigint;
|
|
2997
3577
|
}
|
|
@@ -3003,6 +3583,27 @@ export declare namespace fungible_asset {
|
|
|
3003
3583
|
data_decoded: DepositEvent;
|
|
3004
3584
|
type_arguments: [];
|
|
3005
3585
|
}
|
|
3586
|
+
interface DispatchFunctionStore {
|
|
3587
|
+
withdraw_function: option.Option<function_info.FunctionInfo>;
|
|
3588
|
+
deposit_function: option.Option<function_info.FunctionInfo>;
|
|
3589
|
+
derived_balance_function: option.Option<function_info.FunctionInfo>;
|
|
3590
|
+
}
|
|
3591
|
+
namespace DispatchFunctionStore {
|
|
3592
|
+
const TYPE_QNAME = "0x1::fungible_asset::DispatchFunctionStore";
|
|
3593
|
+
function type(): TypeDescriptor<DispatchFunctionStore>;
|
|
3594
|
+
}
|
|
3595
|
+
interface Frozen {
|
|
3596
|
+
store: MoveAddressType;
|
|
3597
|
+
frozen: Boolean;
|
|
3598
|
+
}
|
|
3599
|
+
namespace Frozen {
|
|
3600
|
+
const TYPE_QNAME = "0x1::fungible_asset::Frozen";
|
|
3601
|
+
function type(): TypeDescriptor<Frozen>;
|
|
3602
|
+
}
|
|
3603
|
+
interface FrozenInstance extends TypedEventInstance<Frozen> {
|
|
3604
|
+
data_decoded: Frozen;
|
|
3605
|
+
type_arguments: [];
|
|
3606
|
+
}
|
|
3006
3607
|
interface FrozenEvent {
|
|
3007
3608
|
frozen: Boolean;
|
|
3008
3609
|
}
|
|
@@ -3081,6 +3682,25 @@ export declare namespace fungible_asset {
|
|
|
3081
3682
|
data_decoded: TransferRef;
|
|
3082
3683
|
type_arguments: [];
|
|
3083
3684
|
}
|
|
3685
|
+
interface Untransferable {
|
|
3686
|
+
dummy_field: Boolean;
|
|
3687
|
+
}
|
|
3688
|
+
namespace Untransferable {
|
|
3689
|
+
const TYPE_QNAME = "0x1::fungible_asset::Untransferable";
|
|
3690
|
+
function type(): TypeDescriptor<Untransferable>;
|
|
3691
|
+
}
|
|
3692
|
+
interface Withdraw {
|
|
3693
|
+
store: MoveAddressType;
|
|
3694
|
+
amount: bigint;
|
|
3695
|
+
}
|
|
3696
|
+
namespace Withdraw {
|
|
3697
|
+
const TYPE_QNAME = "0x1::fungible_asset::Withdraw";
|
|
3698
|
+
function type(): TypeDescriptor<Withdraw>;
|
|
3699
|
+
}
|
|
3700
|
+
interface WithdrawInstance extends TypedEventInstance<Withdraw> {
|
|
3701
|
+
data_decoded: Withdraw;
|
|
3702
|
+
type_arguments: [];
|
|
3703
|
+
}
|
|
3084
3704
|
interface WithdrawEvent {
|
|
3085
3705
|
amount: bigint;
|
|
3086
3706
|
}
|
|
@@ -3097,6 +3717,10 @@ export declare namespace fungible_asset {
|
|
|
3097
3717
|
typeArguments: [MoveStructId];
|
|
3098
3718
|
functionArguments: [object_.Object<T0>, object_.Object<T0>, bigint];
|
|
3099
3719
|
}, options?: InputGenerateTransactionOptions): Promise<PendingTransactionResponse>;
|
|
3720
|
+
function upgradeStoreToConcurrent<T0 = any>(client: Aptos, account: AptosAccount, request: {
|
|
3721
|
+
typeArguments: [MoveStructId];
|
|
3722
|
+
functionArguments: [object_.Object<T0>];
|
|
3723
|
+
}, options?: InputGenerateTransactionOptions): Promise<PendingTransactionResponse>;
|
|
3100
3724
|
}
|
|
3101
3725
|
namespace view {
|
|
3102
3726
|
function balance<T0 = any>(client: Aptos, request: {
|
|
@@ -3107,10 +3731,26 @@ export declare namespace fungible_asset {
|
|
|
3107
3731
|
typeArguments: [MoveStructId];
|
|
3108
3732
|
functionArguments: [object_.Object<T0>];
|
|
3109
3733
|
}, version?: bigint): Promise<[number]>;
|
|
3734
|
+
function iconUri<T0 = any>(client: Aptos, request: {
|
|
3735
|
+
typeArguments: [MoveStructId];
|
|
3736
|
+
functionArguments: [object_.Object<T0>];
|
|
3737
|
+
}, version?: bigint): Promise<[string]>;
|
|
3738
|
+
function isBalanceAtLeast<T0 = any>(client: Aptos, request: {
|
|
3739
|
+
typeArguments: [MoveStructId];
|
|
3740
|
+
functionArguments: [object_.Object<T0>, bigint];
|
|
3741
|
+
}, version?: bigint): Promise<[Boolean]>;
|
|
3110
3742
|
function isFrozen<T0 = any>(client: Aptos, request: {
|
|
3111
3743
|
typeArguments: [MoveStructId];
|
|
3112
3744
|
functionArguments: [object_.Object<T0>];
|
|
3113
3745
|
}, version?: bigint): Promise<[Boolean]>;
|
|
3746
|
+
function isStoreDispatchable<T0 = any>(client: Aptos, request: {
|
|
3747
|
+
typeArguments: [MoveStructId];
|
|
3748
|
+
functionArguments: [object_.Object<T0>];
|
|
3749
|
+
}, version?: bigint): Promise<[Boolean]>;
|
|
3750
|
+
function isUntransferable<T0 = any>(client: Aptos, request: {
|
|
3751
|
+
typeArguments: [MoveStructId];
|
|
3752
|
+
functionArguments: [object_.Object<T0>];
|
|
3753
|
+
}, version?: bigint): Promise<[Boolean]>;
|
|
3114
3754
|
function maximum<T0 = any>(client: Aptos, request: {
|
|
3115
3755
|
typeArguments: [MoveStructId];
|
|
3116
3756
|
functionArguments: [object_.Object<T0>];
|
|
@@ -3119,6 +3759,10 @@ export declare namespace fungible_asset {
|
|
|
3119
3759
|
typeArguments: [MoveStructId];
|
|
3120
3760
|
functionArguments: [object_.Object<T0>];
|
|
3121
3761
|
}, version?: bigint): Promise<[string]>;
|
|
3762
|
+
function projectUri<T0 = any>(client: Aptos, request: {
|
|
3763
|
+
typeArguments: [MoveStructId];
|
|
3764
|
+
functionArguments: [object_.Object<T0>];
|
|
3765
|
+
}, version?: bigint): Promise<[string]>;
|
|
3122
3766
|
function storeExists(client: Aptos, request: {
|
|
3123
3767
|
functionArguments: [MoveAddressType];
|
|
3124
3768
|
}, version?: bigint): Promise<[Boolean]>;
|
|
@@ -3162,9 +3806,25 @@ export declare namespace staking_config {
|
|
|
3162
3806
|
function type(): TypeDescriptor<StakingRewardsConfig>;
|
|
3163
3807
|
}
|
|
3164
3808
|
namespace entry { }
|
|
3165
|
-
namespace view {
|
|
3809
|
+
namespace view {
|
|
3810
|
+
function rewardRate(client: Aptos, version?: bigint): Promise<[bigint, bigint]>;
|
|
3811
|
+
}
|
|
3166
3812
|
}
|
|
3167
3813
|
export declare namespace delegation_pool {
|
|
3814
|
+
interface AddStake {
|
|
3815
|
+
pool_address: MoveAddressType;
|
|
3816
|
+
delegator_address: MoveAddressType;
|
|
3817
|
+
amount_added: bigint;
|
|
3818
|
+
add_stake_fee: bigint;
|
|
3819
|
+
}
|
|
3820
|
+
namespace AddStake {
|
|
3821
|
+
const TYPE_QNAME = "0x1::delegation_pool::AddStake";
|
|
3822
|
+
function type(): TypeDescriptor<AddStake>;
|
|
3823
|
+
}
|
|
3824
|
+
interface AddStakeInstance extends TypedEventInstance<AddStake> {
|
|
3825
|
+
data_decoded: AddStake;
|
|
3826
|
+
type_arguments: [];
|
|
3827
|
+
}
|
|
3168
3828
|
interface AddStakeEvent {
|
|
3169
3829
|
pool_address: MoveAddressType;
|
|
3170
3830
|
delegator_address: MoveAddressType;
|
|
@@ -3211,6 +3871,19 @@ export declare namespace delegation_pool {
|
|
|
3211
3871
|
data_decoded: CommissionPercentageChange;
|
|
3212
3872
|
type_arguments: [];
|
|
3213
3873
|
}
|
|
3874
|
+
interface CreateProposal {
|
|
3875
|
+
proposal_id: bigint;
|
|
3876
|
+
voter: MoveAddressType;
|
|
3877
|
+
delegation_pool: MoveAddressType;
|
|
3878
|
+
}
|
|
3879
|
+
namespace CreateProposal {
|
|
3880
|
+
const TYPE_QNAME = "0x1::delegation_pool::CreateProposal";
|
|
3881
|
+
function type(): TypeDescriptor<CreateProposal>;
|
|
3882
|
+
}
|
|
3883
|
+
interface CreateProposalInstance extends TypedEventInstance<CreateProposal> {
|
|
3884
|
+
data_decoded: CreateProposal;
|
|
3885
|
+
type_arguments: [];
|
|
3886
|
+
}
|
|
3214
3887
|
interface CreateProposalEvent {
|
|
3215
3888
|
proposal_id: bigint;
|
|
3216
3889
|
voter: MoveAddressType;
|
|
@@ -3224,6 +3897,19 @@ export declare namespace delegation_pool {
|
|
|
3224
3897
|
data_decoded: CreateProposalEvent;
|
|
3225
3898
|
type_arguments: [];
|
|
3226
3899
|
}
|
|
3900
|
+
interface DelegateVotingPower {
|
|
3901
|
+
pool_address: MoveAddressType;
|
|
3902
|
+
delegator: MoveAddressType;
|
|
3903
|
+
voter: MoveAddressType;
|
|
3904
|
+
}
|
|
3905
|
+
namespace DelegateVotingPower {
|
|
3906
|
+
const TYPE_QNAME = "0x1::delegation_pool::DelegateVotingPower";
|
|
3907
|
+
function type(): TypeDescriptor<DelegateVotingPower>;
|
|
3908
|
+
}
|
|
3909
|
+
interface DelegateVotingPowerInstance extends TypedEventInstance<DelegateVotingPower> {
|
|
3910
|
+
data_decoded: DelegateVotingPower;
|
|
3911
|
+
type_arguments: [];
|
|
3912
|
+
}
|
|
3227
3913
|
interface DelegateVotingPowerEvent {
|
|
3228
3914
|
pool_address: MoveAddressType;
|
|
3229
3915
|
delegator: MoveAddressType;
|
|
@@ -3378,6 +4064,19 @@ export declare namespace delegation_pool {
|
|
|
3378
4064
|
data_decoded: ObservedLockupCycle;
|
|
3379
4065
|
type_arguments: [];
|
|
3380
4066
|
}
|
|
4067
|
+
interface ReactivateStake {
|
|
4068
|
+
pool_address: MoveAddressType;
|
|
4069
|
+
delegator_address: MoveAddressType;
|
|
4070
|
+
amount_reactivated: bigint;
|
|
4071
|
+
}
|
|
4072
|
+
namespace ReactivateStake {
|
|
4073
|
+
const TYPE_QNAME = "0x1::delegation_pool::ReactivateStake";
|
|
4074
|
+
function type(): TypeDescriptor<ReactivateStake>;
|
|
4075
|
+
}
|
|
4076
|
+
interface ReactivateStakeInstance extends TypedEventInstance<ReactivateStake> {
|
|
4077
|
+
data_decoded: ReactivateStake;
|
|
4078
|
+
type_arguments: [];
|
|
4079
|
+
}
|
|
3381
4080
|
interface ReactivateStakeEvent {
|
|
3382
4081
|
pool_address: MoveAddressType;
|
|
3383
4082
|
delegator_address: MoveAddressType;
|
|
@@ -3408,12 +4107,25 @@ export declare namespace delegation_pool {
|
|
|
3408
4107
|
old_beneficiary: MoveAddressType;
|
|
3409
4108
|
new_beneficiary: MoveAddressType;
|
|
3410
4109
|
}
|
|
3411
|
-
namespace SetBeneficiaryForOperator {
|
|
3412
|
-
const TYPE_QNAME = "0x1::delegation_pool::SetBeneficiaryForOperator";
|
|
3413
|
-
function type(): TypeDescriptor<SetBeneficiaryForOperator>;
|
|
4110
|
+
namespace SetBeneficiaryForOperator {
|
|
4111
|
+
const TYPE_QNAME = "0x1::delegation_pool::SetBeneficiaryForOperator";
|
|
4112
|
+
function type(): TypeDescriptor<SetBeneficiaryForOperator>;
|
|
4113
|
+
}
|
|
4114
|
+
interface SetBeneficiaryForOperatorInstance extends TypedEventInstance<SetBeneficiaryForOperator> {
|
|
4115
|
+
data_decoded: SetBeneficiaryForOperator;
|
|
4116
|
+
type_arguments: [];
|
|
4117
|
+
}
|
|
4118
|
+
interface UnlockStake {
|
|
4119
|
+
pool_address: MoveAddressType;
|
|
4120
|
+
delegator_address: MoveAddressType;
|
|
4121
|
+
amount_unlocked: bigint;
|
|
4122
|
+
}
|
|
4123
|
+
namespace UnlockStake {
|
|
4124
|
+
const TYPE_QNAME = "0x1::delegation_pool::UnlockStake";
|
|
4125
|
+
function type(): TypeDescriptor<UnlockStake>;
|
|
3414
4126
|
}
|
|
3415
|
-
interface
|
|
3416
|
-
data_decoded:
|
|
4127
|
+
interface UnlockStakeInstance extends TypedEventInstance<UnlockStake> {
|
|
4128
|
+
data_decoded: UnlockStake;
|
|
3417
4129
|
type_arguments: [];
|
|
3418
4130
|
}
|
|
3419
4131
|
interface UnlockStakeEvent {
|
|
@@ -3429,6 +4141,21 @@ export declare namespace delegation_pool {
|
|
|
3429
4141
|
data_decoded: UnlockStakeEvent;
|
|
3430
4142
|
type_arguments: [];
|
|
3431
4143
|
}
|
|
4144
|
+
interface Vote {
|
|
4145
|
+
voter: MoveAddressType;
|
|
4146
|
+
proposal_id: bigint;
|
|
4147
|
+
delegation_pool: MoveAddressType;
|
|
4148
|
+
num_votes: bigint;
|
|
4149
|
+
should_pass: Boolean;
|
|
4150
|
+
}
|
|
4151
|
+
namespace Vote {
|
|
4152
|
+
const TYPE_QNAME = "0x1::delegation_pool::Vote";
|
|
4153
|
+
function type(): TypeDescriptor<Vote>;
|
|
4154
|
+
}
|
|
4155
|
+
interface VoteInstance extends TypedEventInstance<Vote> {
|
|
4156
|
+
data_decoded: Vote;
|
|
4157
|
+
type_arguments: [];
|
|
4158
|
+
}
|
|
3432
4159
|
interface VoteDelegation {
|
|
3433
4160
|
voter: MoveAddressType;
|
|
3434
4161
|
pending_voter: MoveAddressType;
|
|
@@ -3469,6 +4196,19 @@ export declare namespace delegation_pool {
|
|
|
3469
4196
|
data_decoded: VotingRecordKey;
|
|
3470
4197
|
type_arguments: [];
|
|
3471
4198
|
}
|
|
4199
|
+
interface WithdrawStake {
|
|
4200
|
+
pool_address: MoveAddressType;
|
|
4201
|
+
delegator_address: MoveAddressType;
|
|
4202
|
+
amount_withdrawn: bigint;
|
|
4203
|
+
}
|
|
4204
|
+
namespace WithdrawStake {
|
|
4205
|
+
const TYPE_QNAME = "0x1::delegation_pool::WithdrawStake";
|
|
4206
|
+
function type(): TypeDescriptor<WithdrawStake>;
|
|
4207
|
+
}
|
|
4208
|
+
interface WithdrawStakeInstance extends TypedEventInstance<WithdrawStake> {
|
|
4209
|
+
data_decoded: WithdrawStake;
|
|
4210
|
+
type_arguments: [];
|
|
4211
|
+
}
|
|
3472
4212
|
interface WithdrawStakeEvent {
|
|
3473
4213
|
pool_address: MoveAddressType;
|
|
3474
4214
|
delegator_address: MoveAddressType;
|
|
@@ -3576,6 +4316,9 @@ export declare namespace delegation_pool {
|
|
|
3576
4316
|
function calculateAndUpdateVoterTotalVotingPower(client: Aptos, request: {
|
|
3577
4317
|
functionArguments: [MoveAddressType, MoveAddressType];
|
|
3578
4318
|
}, version?: bigint): Promise<[bigint]>;
|
|
4319
|
+
function calculateAndUpdateVotingDelegation(client: Aptos, request: {
|
|
4320
|
+
functionArguments: [MoveAddressType, MoveAddressType];
|
|
4321
|
+
}, version?: bigint): Promise<[MoveAddressType, MoveAddressType, bigint]>;
|
|
3579
4322
|
function canWithdrawPendingInactive(client: Aptos, request: {
|
|
3580
4323
|
functionArguments: [MoveAddressType];
|
|
3581
4324
|
}, version?: bigint): Promise<[Boolean]>;
|
|
@@ -3645,6 +4388,10 @@ export declare namespace keyless_account {
|
|
|
3645
4388
|
const TYPE_QNAME = "0x1::keyless_account::Configuration";
|
|
3646
4389
|
function type(): TypeDescriptor<Configuration>;
|
|
3647
4390
|
}
|
|
4391
|
+
interface ConfigurationInstance extends TypedEventInstance<Configuration> {
|
|
4392
|
+
data_decoded: Configuration;
|
|
4393
|
+
type_arguments: [];
|
|
4394
|
+
}
|
|
3648
4395
|
interface Groth16VerificationKey {
|
|
3649
4396
|
alpha_g1: string;
|
|
3650
4397
|
beta_g2: string;
|
|
@@ -3656,6 +4403,10 @@ export declare namespace keyless_account {
|
|
|
3656
4403
|
const TYPE_QNAME = "0x1::keyless_account::Groth16VerificationKey";
|
|
3657
4404
|
function type(): TypeDescriptor<Groth16VerificationKey>;
|
|
3658
4405
|
}
|
|
4406
|
+
interface Groth16VerificationKeyInstance extends TypedEventInstance<Groth16VerificationKey> {
|
|
4407
|
+
data_decoded: Groth16VerificationKey;
|
|
4408
|
+
type_arguments: [];
|
|
4409
|
+
}
|
|
3659
4410
|
interface Group {
|
|
3660
4411
|
dummy_field: Boolean;
|
|
3661
4412
|
}
|
|
@@ -3683,6 +4434,17 @@ export declare namespace reconfiguration {
|
|
|
3683
4434
|
const TYPE_QNAME = "0x1::reconfiguration::DisableReconfiguration";
|
|
3684
4435
|
function type(): TypeDescriptor<DisableReconfiguration>;
|
|
3685
4436
|
}
|
|
4437
|
+
interface NewEpoch {
|
|
4438
|
+
epoch: bigint;
|
|
4439
|
+
}
|
|
4440
|
+
namespace NewEpoch {
|
|
4441
|
+
const TYPE_QNAME = "0x1::reconfiguration::NewEpoch";
|
|
4442
|
+
function type(): TypeDescriptor<NewEpoch>;
|
|
4443
|
+
}
|
|
4444
|
+
interface NewEpochInstance extends TypedEventInstance<NewEpoch> {
|
|
4445
|
+
data_decoded: NewEpoch;
|
|
4446
|
+
type_arguments: [];
|
|
4447
|
+
}
|
|
3686
4448
|
interface NewEpochEvent {
|
|
3687
4449
|
epoch: bigint;
|
|
3688
4450
|
}
|
|
@@ -3712,6 +4474,13 @@ export declare namespace transaction_fee {
|
|
|
3712
4474
|
const TYPE_QNAME = "0x1::transaction_fee::AptosCoinMintCapability";
|
|
3713
4475
|
function type(): TypeDescriptor<AptosCoinMintCapability>;
|
|
3714
4476
|
}
|
|
4477
|
+
interface AptosFABurnCapabilities {
|
|
4478
|
+
burn_ref: fungible_asset.BurnRef;
|
|
4479
|
+
}
|
|
4480
|
+
namespace AptosFABurnCapabilities {
|
|
4481
|
+
const TYPE_QNAME = "0x1::transaction_fee::AptosFABurnCapabilities";
|
|
4482
|
+
function type(): TypeDescriptor<AptosFABurnCapabilities>;
|
|
4483
|
+
}
|
|
3715
4484
|
interface CollectedFeesPerBlock {
|
|
3716
4485
|
amount: coin.AggregatableCoin<aptos_coin.AptosCoin>;
|
|
3717
4486
|
proposer: option.Option<MoveAddressType>;
|
|
@@ -3736,7 +4505,12 @@ export declare namespace transaction_fee {
|
|
|
3736
4505
|
data_decoded: FeeStatement;
|
|
3737
4506
|
type_arguments: [];
|
|
3738
4507
|
}
|
|
3739
|
-
namespace entry {
|
|
4508
|
+
namespace entry {
|
|
4509
|
+
function convertToAptosFaBurnRef(client: Aptos, account: AptosAccount, request: {
|
|
4510
|
+
typeArguments: [];
|
|
4511
|
+
functionArguments: [];
|
|
4512
|
+
}, options?: InputGenerateTransactionOptions): Promise<PendingTransactionResponse>;
|
|
4513
|
+
}
|
|
3740
4514
|
namespace view { }
|
|
3741
4515
|
}
|
|
3742
4516
|
export declare namespace aptos_governance {
|
|
@@ -3747,6 +4521,21 @@ export declare namespace aptos_governance {
|
|
|
3747
4521
|
const TYPE_QNAME = "0x1::aptos_governance::ApprovedExecutionHashes";
|
|
3748
4522
|
function type(): TypeDescriptor<ApprovedExecutionHashes>;
|
|
3749
4523
|
}
|
|
4524
|
+
interface CreateProposal {
|
|
4525
|
+
proposer: MoveAddressType;
|
|
4526
|
+
stake_pool: MoveAddressType;
|
|
4527
|
+
proposal_id: bigint;
|
|
4528
|
+
execution_hash: string;
|
|
4529
|
+
proposal_metadata: simple_map.SimpleMap<string, string>;
|
|
4530
|
+
}
|
|
4531
|
+
namespace CreateProposal {
|
|
4532
|
+
const TYPE_QNAME = "0x1::aptos_governance::CreateProposal";
|
|
4533
|
+
function type(): TypeDescriptor<CreateProposal>;
|
|
4534
|
+
}
|
|
4535
|
+
interface CreateProposalInstance extends TypedEventInstance<CreateProposal> {
|
|
4536
|
+
data_decoded: CreateProposal;
|
|
4537
|
+
type_arguments: [];
|
|
4538
|
+
}
|
|
3750
4539
|
interface CreateProposalEvent {
|
|
3751
4540
|
proposer: MoveAddressType;
|
|
3752
4541
|
stake_pool: MoveAddressType;
|
|
@@ -3799,6 +4588,19 @@ export declare namespace aptos_governance {
|
|
|
3799
4588
|
data_decoded: RecordKey;
|
|
3800
4589
|
type_arguments: [];
|
|
3801
4590
|
}
|
|
4591
|
+
interface UpdateConfig {
|
|
4592
|
+
min_voting_threshold: bigint;
|
|
4593
|
+
required_proposer_stake: bigint;
|
|
4594
|
+
voting_duration_secs: bigint;
|
|
4595
|
+
}
|
|
4596
|
+
namespace UpdateConfig {
|
|
4597
|
+
const TYPE_QNAME = "0x1::aptos_governance::UpdateConfig";
|
|
4598
|
+
function type(): TypeDescriptor<UpdateConfig>;
|
|
4599
|
+
}
|
|
4600
|
+
interface UpdateConfigInstance extends TypedEventInstance<UpdateConfig> {
|
|
4601
|
+
data_decoded: UpdateConfig;
|
|
4602
|
+
type_arguments: [];
|
|
4603
|
+
}
|
|
3802
4604
|
interface UpdateConfigEvent {
|
|
3803
4605
|
min_voting_threshold: bigint;
|
|
3804
4606
|
required_proposer_stake: bigint;
|
|
@@ -3812,6 +4614,21 @@ export declare namespace aptos_governance {
|
|
|
3812
4614
|
data_decoded: UpdateConfigEvent;
|
|
3813
4615
|
type_arguments: [];
|
|
3814
4616
|
}
|
|
4617
|
+
interface Vote {
|
|
4618
|
+
proposal_id: bigint;
|
|
4619
|
+
voter: MoveAddressType;
|
|
4620
|
+
stake_pool: MoveAddressType;
|
|
4621
|
+
num_votes: bigint;
|
|
4622
|
+
should_pass: Boolean;
|
|
4623
|
+
}
|
|
4624
|
+
namespace Vote {
|
|
4625
|
+
const TYPE_QNAME = "0x1::aptos_governance::Vote";
|
|
4626
|
+
function type(): TypeDescriptor<Vote>;
|
|
4627
|
+
}
|
|
4628
|
+
interface VoteInstance extends TypedEventInstance<Vote> {
|
|
4629
|
+
data_decoded: Vote;
|
|
4630
|
+
type_arguments: [];
|
|
4631
|
+
}
|
|
3815
4632
|
interface VoteEvent {
|
|
3816
4633
|
proposal_id: bigint;
|
|
3817
4634
|
voter: MoveAddressType;
|
|
@@ -3846,6 +4663,14 @@ export declare namespace aptos_governance {
|
|
|
3846
4663
|
typeArguments: [];
|
|
3847
4664
|
functionArguments: [bigint];
|
|
3848
4665
|
}, options?: InputGenerateTransactionOptions): Promise<PendingTransactionResponse>;
|
|
4666
|
+
function batchPartialVote(client: Aptos, account: AptosAccount, request: {
|
|
4667
|
+
typeArguments: [];
|
|
4668
|
+
functionArguments: [MoveAddressType[], bigint, bigint, Boolean];
|
|
4669
|
+
}, options?: InputGenerateTransactionOptions): Promise<PendingTransactionResponse>;
|
|
4670
|
+
function batchVote(client: Aptos, account: AptosAccount, request: {
|
|
4671
|
+
typeArguments: [];
|
|
4672
|
+
functionArguments: [MoveAddressType[], bigint, Boolean];
|
|
4673
|
+
}, options?: InputGenerateTransactionOptions): Promise<PendingTransactionResponse>;
|
|
3849
4674
|
function createProposal(client: Aptos, account: AptosAccount, request: {
|
|
3850
4675
|
typeArguments: [];
|
|
3851
4676
|
functionArguments: [MoveAddressType, string, string, string];
|
|
@@ -4030,6 +4855,18 @@ export declare namespace execution_config {
|
|
|
4030
4855
|
namespace view { }
|
|
4031
4856
|
}
|
|
4032
4857
|
export declare namespace multisig_account {
|
|
4858
|
+
interface AddOwners {
|
|
4859
|
+
multisig_account: MoveAddressType;
|
|
4860
|
+
owners_added: MoveAddressType[];
|
|
4861
|
+
}
|
|
4862
|
+
namespace AddOwners {
|
|
4863
|
+
const TYPE_QNAME = "0x1::multisig_account::AddOwners";
|
|
4864
|
+
function type(): TypeDescriptor<AddOwners>;
|
|
4865
|
+
}
|
|
4866
|
+
interface AddOwnersInstance extends TypedEventInstance<AddOwners> {
|
|
4867
|
+
data_decoded: AddOwners;
|
|
4868
|
+
type_arguments: [];
|
|
4869
|
+
}
|
|
4033
4870
|
interface AddOwnersEvent {
|
|
4034
4871
|
owners_added: MoveAddressType[];
|
|
4035
4872
|
}
|
|
@@ -4041,6 +4878,20 @@ export declare namespace multisig_account {
|
|
|
4041
4878
|
data_decoded: AddOwnersEvent;
|
|
4042
4879
|
type_arguments: [];
|
|
4043
4880
|
}
|
|
4881
|
+
interface CreateTransaction {
|
|
4882
|
+
multisig_account: MoveAddressType;
|
|
4883
|
+
creator: MoveAddressType;
|
|
4884
|
+
sequence_number: bigint;
|
|
4885
|
+
transaction: multisig_account.MultisigTransaction;
|
|
4886
|
+
}
|
|
4887
|
+
namespace CreateTransaction {
|
|
4888
|
+
const TYPE_QNAME = "0x1::multisig_account::CreateTransaction";
|
|
4889
|
+
function type(): TypeDescriptor<CreateTransaction>;
|
|
4890
|
+
}
|
|
4891
|
+
interface CreateTransactionInstance extends TypedEventInstance<CreateTransaction> {
|
|
4892
|
+
data_decoded: CreateTransaction;
|
|
4893
|
+
type_arguments: [];
|
|
4894
|
+
}
|
|
4044
4895
|
interface CreateTransactionEvent {
|
|
4045
4896
|
creator: MoveAddressType;
|
|
4046
4897
|
sequence_number: bigint;
|
|
@@ -4054,6 +4905,20 @@ export declare namespace multisig_account {
|
|
|
4054
4905
|
data_decoded: CreateTransactionEvent;
|
|
4055
4906
|
type_arguments: [];
|
|
4056
4907
|
}
|
|
4908
|
+
interface ExecuteRejectedTransaction {
|
|
4909
|
+
multisig_account: MoveAddressType;
|
|
4910
|
+
sequence_number: bigint;
|
|
4911
|
+
num_rejections: bigint;
|
|
4912
|
+
executor: MoveAddressType;
|
|
4913
|
+
}
|
|
4914
|
+
namespace ExecuteRejectedTransaction {
|
|
4915
|
+
const TYPE_QNAME = "0x1::multisig_account::ExecuteRejectedTransaction";
|
|
4916
|
+
function type(): TypeDescriptor<ExecuteRejectedTransaction>;
|
|
4917
|
+
}
|
|
4918
|
+
interface ExecuteRejectedTransactionInstance extends TypedEventInstance<ExecuteRejectedTransaction> {
|
|
4919
|
+
data_decoded: ExecuteRejectedTransaction;
|
|
4920
|
+
type_arguments: [];
|
|
4921
|
+
}
|
|
4057
4922
|
interface ExecuteRejectedTransactionEvent {
|
|
4058
4923
|
sequence_number: bigint;
|
|
4059
4924
|
num_rejections: bigint;
|
|
@@ -4080,6 +4945,19 @@ export declare namespace multisig_account {
|
|
|
4080
4945
|
data_decoded: ExecutionError;
|
|
4081
4946
|
type_arguments: [];
|
|
4082
4947
|
}
|
|
4948
|
+
interface MetadataUpdated {
|
|
4949
|
+
multisig_account: MoveAddressType;
|
|
4950
|
+
old_metadata: simple_map.SimpleMap<string, string>;
|
|
4951
|
+
new_metadata: simple_map.SimpleMap<string, string>;
|
|
4952
|
+
}
|
|
4953
|
+
namespace MetadataUpdated {
|
|
4954
|
+
const TYPE_QNAME = "0x1::multisig_account::MetadataUpdated";
|
|
4955
|
+
function type(): TypeDescriptor<MetadataUpdated>;
|
|
4956
|
+
}
|
|
4957
|
+
interface MetadataUpdatedInstance extends TypedEventInstance<MetadataUpdated> {
|
|
4958
|
+
data_decoded: MetadataUpdated;
|
|
4959
|
+
type_arguments: [];
|
|
4960
|
+
}
|
|
4083
4961
|
interface MetadataUpdatedEvent {
|
|
4084
4962
|
old_metadata: simple_map.SimpleMap<string, string>;
|
|
4085
4963
|
new_metadata: simple_map.SimpleMap<string, string>;
|
|
@@ -4151,6 +5029,18 @@ export declare namespace multisig_account {
|
|
|
4151
5029
|
data_decoded: MultisigTransaction;
|
|
4152
5030
|
type_arguments: [];
|
|
4153
5031
|
}
|
|
5032
|
+
interface RemoveOwners {
|
|
5033
|
+
multisig_account: MoveAddressType;
|
|
5034
|
+
owners_removed: MoveAddressType[];
|
|
5035
|
+
}
|
|
5036
|
+
namespace RemoveOwners {
|
|
5037
|
+
const TYPE_QNAME = "0x1::multisig_account::RemoveOwners";
|
|
5038
|
+
function type(): TypeDescriptor<RemoveOwners>;
|
|
5039
|
+
}
|
|
5040
|
+
interface RemoveOwnersInstance extends TypedEventInstance<RemoveOwners> {
|
|
5041
|
+
data_decoded: RemoveOwners;
|
|
5042
|
+
type_arguments: [];
|
|
5043
|
+
}
|
|
4154
5044
|
interface RemoveOwnersEvent {
|
|
4155
5045
|
owners_removed: MoveAddressType[];
|
|
4156
5046
|
}
|
|
@@ -4162,6 +5052,22 @@ export declare namespace multisig_account {
|
|
|
4162
5052
|
data_decoded: RemoveOwnersEvent;
|
|
4163
5053
|
type_arguments: [];
|
|
4164
5054
|
}
|
|
5055
|
+
interface TransactionExecutionFailed {
|
|
5056
|
+
multisig_account: MoveAddressType;
|
|
5057
|
+
executor: MoveAddressType;
|
|
5058
|
+
sequence_number: bigint;
|
|
5059
|
+
transaction_payload: string;
|
|
5060
|
+
num_approvals: bigint;
|
|
5061
|
+
execution_error: multisig_account.ExecutionError;
|
|
5062
|
+
}
|
|
5063
|
+
namespace TransactionExecutionFailed {
|
|
5064
|
+
const TYPE_QNAME = "0x1::multisig_account::TransactionExecutionFailed";
|
|
5065
|
+
function type(): TypeDescriptor<TransactionExecutionFailed>;
|
|
5066
|
+
}
|
|
5067
|
+
interface TransactionExecutionFailedInstance extends TypedEventInstance<TransactionExecutionFailed> {
|
|
5068
|
+
data_decoded: TransactionExecutionFailed;
|
|
5069
|
+
type_arguments: [];
|
|
5070
|
+
}
|
|
4165
5071
|
interface TransactionExecutionFailedEvent {
|
|
4166
5072
|
executor: MoveAddressType;
|
|
4167
5073
|
sequence_number: bigint;
|
|
@@ -4177,6 +5083,21 @@ export declare namespace multisig_account {
|
|
|
4177
5083
|
data_decoded: TransactionExecutionFailedEvent;
|
|
4178
5084
|
type_arguments: [];
|
|
4179
5085
|
}
|
|
5086
|
+
interface TransactionExecutionSucceeded {
|
|
5087
|
+
multisig_account: MoveAddressType;
|
|
5088
|
+
executor: MoveAddressType;
|
|
5089
|
+
sequence_number: bigint;
|
|
5090
|
+
transaction_payload: string;
|
|
5091
|
+
num_approvals: bigint;
|
|
5092
|
+
}
|
|
5093
|
+
namespace TransactionExecutionSucceeded {
|
|
5094
|
+
const TYPE_QNAME = "0x1::multisig_account::TransactionExecutionSucceeded";
|
|
5095
|
+
function type(): TypeDescriptor<TransactionExecutionSucceeded>;
|
|
5096
|
+
}
|
|
5097
|
+
interface TransactionExecutionSucceededInstance extends TypedEventInstance<TransactionExecutionSucceeded> {
|
|
5098
|
+
data_decoded: TransactionExecutionSucceeded;
|
|
5099
|
+
type_arguments: [];
|
|
5100
|
+
}
|
|
4180
5101
|
interface TransactionExecutionSucceededEvent {
|
|
4181
5102
|
executor: MoveAddressType;
|
|
4182
5103
|
sequence_number: bigint;
|
|
@@ -4191,6 +5112,19 @@ export declare namespace multisig_account {
|
|
|
4191
5112
|
data_decoded: TransactionExecutionSucceededEvent;
|
|
4192
5113
|
type_arguments: [];
|
|
4193
5114
|
}
|
|
5115
|
+
interface UpdateSignaturesRequired {
|
|
5116
|
+
multisig_account: MoveAddressType;
|
|
5117
|
+
old_num_signatures_required: bigint;
|
|
5118
|
+
new_num_signatures_required: bigint;
|
|
5119
|
+
}
|
|
5120
|
+
namespace UpdateSignaturesRequired {
|
|
5121
|
+
const TYPE_QNAME = "0x1::multisig_account::UpdateSignaturesRequired";
|
|
5122
|
+
function type(): TypeDescriptor<UpdateSignaturesRequired>;
|
|
5123
|
+
}
|
|
5124
|
+
interface UpdateSignaturesRequiredInstance extends TypedEventInstance<UpdateSignaturesRequired> {
|
|
5125
|
+
data_decoded: UpdateSignaturesRequired;
|
|
5126
|
+
type_arguments: [];
|
|
5127
|
+
}
|
|
4194
5128
|
interface UpdateSignaturesRequiredEvent {
|
|
4195
5129
|
old_num_signatures_required: bigint;
|
|
4196
5130
|
new_num_signatures_required: bigint;
|
|
@@ -4203,6 +5137,20 @@ export declare namespace multisig_account {
|
|
|
4203
5137
|
data_decoded: UpdateSignaturesRequiredEvent;
|
|
4204
5138
|
type_arguments: [];
|
|
4205
5139
|
}
|
|
5140
|
+
interface Vote {
|
|
5141
|
+
multisig_account: MoveAddressType;
|
|
5142
|
+
owner: MoveAddressType;
|
|
5143
|
+
sequence_number: bigint;
|
|
5144
|
+
approved: Boolean;
|
|
5145
|
+
}
|
|
5146
|
+
namespace Vote {
|
|
5147
|
+
const TYPE_QNAME = "0x1::multisig_account::Vote";
|
|
5148
|
+
function type(): TypeDescriptor<Vote>;
|
|
5149
|
+
}
|
|
5150
|
+
interface VoteInstance extends TypedEventInstance<Vote> {
|
|
5151
|
+
data_decoded: Vote;
|
|
5152
|
+
type_arguments: [];
|
|
5153
|
+
}
|
|
4206
5154
|
interface VoteEvent {
|
|
4207
5155
|
owner: MoveAddressType;
|
|
4208
5156
|
sequence_number: bigint;
|
|
@@ -4422,6 +5370,19 @@ export declare namespace resource_account {
|
|
|
4422
5370
|
namespace view { }
|
|
4423
5371
|
}
|
|
4424
5372
|
export declare namespace staking_contract {
|
|
5373
|
+
interface AddDistribution {
|
|
5374
|
+
operator: MoveAddressType;
|
|
5375
|
+
pool_address: MoveAddressType;
|
|
5376
|
+
amount: bigint;
|
|
5377
|
+
}
|
|
5378
|
+
namespace AddDistribution {
|
|
5379
|
+
const TYPE_QNAME = "0x1::staking_contract::AddDistribution";
|
|
5380
|
+
function type(): TypeDescriptor<AddDistribution>;
|
|
5381
|
+
}
|
|
5382
|
+
interface AddDistributionInstance extends TypedEventInstance<AddDistribution> {
|
|
5383
|
+
data_decoded: AddDistribution;
|
|
5384
|
+
type_arguments: [];
|
|
5385
|
+
}
|
|
4425
5386
|
interface AddDistributionEvent {
|
|
4426
5387
|
operator: MoveAddressType;
|
|
4427
5388
|
pool_address: MoveAddressType;
|
|
@@ -4435,6 +5396,19 @@ export declare namespace staking_contract {
|
|
|
4435
5396
|
data_decoded: AddDistributionEvent;
|
|
4436
5397
|
type_arguments: [];
|
|
4437
5398
|
}
|
|
5399
|
+
interface AddStake {
|
|
5400
|
+
operator: MoveAddressType;
|
|
5401
|
+
pool_address: MoveAddressType;
|
|
5402
|
+
amount: bigint;
|
|
5403
|
+
}
|
|
5404
|
+
namespace AddStake {
|
|
5405
|
+
const TYPE_QNAME = "0x1::staking_contract::AddStake";
|
|
5406
|
+
function type(): TypeDescriptor<AddStake>;
|
|
5407
|
+
}
|
|
5408
|
+
interface AddStakeInstance extends TypedEventInstance<AddStake> {
|
|
5409
|
+
data_decoded: AddStake;
|
|
5410
|
+
type_arguments: [];
|
|
5411
|
+
}
|
|
4438
5412
|
interface AddStakeEvent {
|
|
4439
5413
|
operator: MoveAddressType;
|
|
4440
5414
|
pool_address: MoveAddressType;
|
|
@@ -4455,6 +5429,21 @@ export declare namespace staking_contract {
|
|
|
4455
5429
|
const TYPE_QNAME = "0x1::staking_contract::BeneficiaryForOperator";
|
|
4456
5430
|
function type(): TypeDescriptor<BeneficiaryForOperator>;
|
|
4457
5431
|
}
|
|
5432
|
+
interface CreateStakingContract {
|
|
5433
|
+
operator: MoveAddressType;
|
|
5434
|
+
voter: MoveAddressType;
|
|
5435
|
+
pool_address: MoveAddressType;
|
|
5436
|
+
principal: bigint;
|
|
5437
|
+
commission_percentage: bigint;
|
|
5438
|
+
}
|
|
5439
|
+
namespace CreateStakingContract {
|
|
5440
|
+
const TYPE_QNAME = "0x1::staking_contract::CreateStakingContract";
|
|
5441
|
+
function type(): TypeDescriptor<CreateStakingContract>;
|
|
5442
|
+
}
|
|
5443
|
+
interface CreateStakingContractInstance extends TypedEventInstance<CreateStakingContract> {
|
|
5444
|
+
data_decoded: CreateStakingContract;
|
|
5445
|
+
type_arguments: [];
|
|
5446
|
+
}
|
|
4458
5447
|
interface CreateStakingContractEvent {
|
|
4459
5448
|
operator: MoveAddressType;
|
|
4460
5449
|
voter: MoveAddressType;
|
|
@@ -4470,6 +5459,20 @@ export declare namespace staking_contract {
|
|
|
4470
5459
|
data_decoded: CreateStakingContractEvent;
|
|
4471
5460
|
type_arguments: [];
|
|
4472
5461
|
}
|
|
5462
|
+
interface Distribute {
|
|
5463
|
+
operator: MoveAddressType;
|
|
5464
|
+
pool_address: MoveAddressType;
|
|
5465
|
+
recipient: MoveAddressType;
|
|
5466
|
+
amount: bigint;
|
|
5467
|
+
}
|
|
5468
|
+
namespace Distribute {
|
|
5469
|
+
const TYPE_QNAME = "0x1::staking_contract::Distribute";
|
|
5470
|
+
function type(): TypeDescriptor<Distribute>;
|
|
5471
|
+
}
|
|
5472
|
+
interface DistributeInstance extends TypedEventInstance<Distribute> {
|
|
5473
|
+
data_decoded: Distribute;
|
|
5474
|
+
type_arguments: [];
|
|
5475
|
+
}
|
|
4473
5476
|
interface DistributeEvent {
|
|
4474
5477
|
operator: MoveAddressType;
|
|
4475
5478
|
pool_address: MoveAddressType;
|
|
@@ -4484,6 +5487,20 @@ export declare namespace staking_contract {
|
|
|
4484
5487
|
data_decoded: DistributeEvent;
|
|
4485
5488
|
type_arguments: [];
|
|
4486
5489
|
}
|
|
5490
|
+
interface RequestCommission {
|
|
5491
|
+
operator: MoveAddressType;
|
|
5492
|
+
pool_address: MoveAddressType;
|
|
5493
|
+
accumulated_rewards: bigint;
|
|
5494
|
+
commission_amount: bigint;
|
|
5495
|
+
}
|
|
5496
|
+
namespace RequestCommission {
|
|
5497
|
+
const TYPE_QNAME = "0x1::staking_contract::RequestCommission";
|
|
5498
|
+
function type(): TypeDescriptor<RequestCommission>;
|
|
5499
|
+
}
|
|
5500
|
+
interface RequestCommissionInstance extends TypedEventInstance<RequestCommission> {
|
|
5501
|
+
data_decoded: RequestCommission;
|
|
5502
|
+
type_arguments: [];
|
|
5503
|
+
}
|
|
4487
5504
|
interface RequestCommissionEvent {
|
|
4488
5505
|
operator: MoveAddressType;
|
|
4489
5506
|
pool_address: MoveAddressType;
|
|
@@ -4498,6 +5515,18 @@ export declare namespace staking_contract {
|
|
|
4498
5515
|
data_decoded: RequestCommissionEvent;
|
|
4499
5516
|
type_arguments: [];
|
|
4500
5517
|
}
|
|
5518
|
+
interface ResetLockup {
|
|
5519
|
+
operator: MoveAddressType;
|
|
5520
|
+
pool_address: MoveAddressType;
|
|
5521
|
+
}
|
|
5522
|
+
namespace ResetLockup {
|
|
5523
|
+
const TYPE_QNAME = "0x1::staking_contract::ResetLockup";
|
|
5524
|
+
function type(): TypeDescriptor<ResetLockup>;
|
|
5525
|
+
}
|
|
5526
|
+
interface ResetLockupInstance extends TypedEventInstance<ResetLockup> {
|
|
5527
|
+
data_decoded: ResetLockup;
|
|
5528
|
+
type_arguments: [];
|
|
5529
|
+
}
|
|
4501
5530
|
interface ResetLockupEvent {
|
|
4502
5531
|
operator: MoveAddressType;
|
|
4503
5532
|
pool_address: MoveAddressType;
|
|
@@ -4565,6 +5594,19 @@ export declare namespace staking_contract {
|
|
|
4565
5594
|
const TYPE_QNAME = "0x1::staking_contract::Store";
|
|
4566
5595
|
function type(): TypeDescriptor<Store>;
|
|
4567
5596
|
}
|
|
5597
|
+
interface SwitchOperator {
|
|
5598
|
+
old_operator: MoveAddressType;
|
|
5599
|
+
new_operator: MoveAddressType;
|
|
5600
|
+
pool_address: MoveAddressType;
|
|
5601
|
+
}
|
|
5602
|
+
namespace SwitchOperator {
|
|
5603
|
+
const TYPE_QNAME = "0x1::staking_contract::SwitchOperator";
|
|
5604
|
+
function type(): TypeDescriptor<SwitchOperator>;
|
|
5605
|
+
}
|
|
5606
|
+
interface SwitchOperatorInstance extends TypedEventInstance<SwitchOperator> {
|
|
5607
|
+
data_decoded: SwitchOperator;
|
|
5608
|
+
type_arguments: [];
|
|
5609
|
+
}
|
|
4568
5610
|
interface SwitchOperatorEvent {
|
|
4569
5611
|
old_operator: MoveAddressType;
|
|
4570
5612
|
new_operator: MoveAddressType;
|
|
@@ -4578,6 +5620,20 @@ export declare namespace staking_contract {
|
|
|
4578
5620
|
data_decoded: SwitchOperatorEvent;
|
|
4579
5621
|
type_arguments: [];
|
|
4580
5622
|
}
|
|
5623
|
+
interface UnlockStake {
|
|
5624
|
+
operator: MoveAddressType;
|
|
5625
|
+
pool_address: MoveAddressType;
|
|
5626
|
+
amount: bigint;
|
|
5627
|
+
commission_paid: bigint;
|
|
5628
|
+
}
|
|
5629
|
+
namespace UnlockStake {
|
|
5630
|
+
const TYPE_QNAME = "0x1::staking_contract::UnlockStake";
|
|
5631
|
+
function type(): TypeDescriptor<UnlockStake>;
|
|
5632
|
+
}
|
|
5633
|
+
interface UnlockStakeInstance extends TypedEventInstance<UnlockStake> {
|
|
5634
|
+
data_decoded: UnlockStake;
|
|
5635
|
+
type_arguments: [];
|
|
5636
|
+
}
|
|
4581
5637
|
interface UnlockStakeEvent {
|
|
4582
5638
|
operator: MoveAddressType;
|
|
4583
5639
|
pool_address: MoveAddressType;
|
|
@@ -4592,6 +5648,20 @@ export declare namespace staking_contract {
|
|
|
4592
5648
|
data_decoded: UnlockStakeEvent;
|
|
4593
5649
|
type_arguments: [];
|
|
4594
5650
|
}
|
|
5651
|
+
interface UpdateCommission {
|
|
5652
|
+
staker: MoveAddressType;
|
|
5653
|
+
operator: MoveAddressType;
|
|
5654
|
+
old_commission_percentage: bigint;
|
|
5655
|
+
new_commission_percentage: bigint;
|
|
5656
|
+
}
|
|
5657
|
+
namespace UpdateCommission {
|
|
5658
|
+
const TYPE_QNAME = "0x1::staking_contract::UpdateCommission";
|
|
5659
|
+
function type(): TypeDescriptor<UpdateCommission>;
|
|
5660
|
+
}
|
|
5661
|
+
interface UpdateCommissionInstance extends TypedEventInstance<UpdateCommission> {
|
|
5662
|
+
data_decoded: UpdateCommission;
|
|
5663
|
+
type_arguments: [];
|
|
5664
|
+
}
|
|
4595
5665
|
interface UpdateCommissionEvent {
|
|
4596
5666
|
staker: MoveAddressType;
|
|
4597
5667
|
operator: MoveAddressType;
|
|
@@ -4606,6 +5676,20 @@ export declare namespace staking_contract {
|
|
|
4606
5676
|
data_decoded: UpdateCommissionEvent;
|
|
4607
5677
|
type_arguments: [];
|
|
4608
5678
|
}
|
|
5679
|
+
interface UpdateVoter {
|
|
5680
|
+
operator: MoveAddressType;
|
|
5681
|
+
pool_address: MoveAddressType;
|
|
5682
|
+
old_voter: MoveAddressType;
|
|
5683
|
+
new_voter: MoveAddressType;
|
|
5684
|
+
}
|
|
5685
|
+
namespace UpdateVoter {
|
|
5686
|
+
const TYPE_QNAME = "0x1::staking_contract::UpdateVoter";
|
|
5687
|
+
function type(): TypeDescriptor<UpdateVoter>;
|
|
5688
|
+
}
|
|
5689
|
+
interface UpdateVoterInstance extends TypedEventInstance<UpdateVoter> {
|
|
5690
|
+
data_decoded: UpdateVoter;
|
|
5691
|
+
type_arguments: [];
|
|
5692
|
+
}
|
|
4609
5693
|
interface UpdateVoterEvent {
|
|
4610
5694
|
operator: MoveAddressType;
|
|
4611
5695
|
pool_address: MoveAddressType;
|
|
@@ -4828,6 +5912,25 @@ export declare namespace transaction_context {
|
|
|
4828
5912
|
data_decoded: AUID;
|
|
4829
5913
|
type_arguments: [];
|
|
4830
5914
|
}
|
|
5915
|
+
interface EntryFunctionPayload {
|
|
5916
|
+
account_address: MoveAddressType;
|
|
5917
|
+
module_name: string;
|
|
5918
|
+
function_name: string;
|
|
5919
|
+
ty_args_names: string[];
|
|
5920
|
+
args: string[];
|
|
5921
|
+
}
|
|
5922
|
+
namespace EntryFunctionPayload {
|
|
5923
|
+
const TYPE_QNAME = "0x1::transaction_context::EntryFunctionPayload";
|
|
5924
|
+
function type(): TypeDescriptor<EntryFunctionPayload>;
|
|
5925
|
+
}
|
|
5926
|
+
interface MultisigPayload {
|
|
5927
|
+
multisig_address: MoveAddressType;
|
|
5928
|
+
entry_function_payload: option.Option<transaction_context.EntryFunctionPayload>;
|
|
5929
|
+
}
|
|
5930
|
+
namespace MultisigPayload {
|
|
5931
|
+
const TYPE_QNAME = "0x1::transaction_context::MultisigPayload";
|
|
5932
|
+
function type(): TypeDescriptor<MultisigPayload>;
|
|
5933
|
+
}
|
|
4831
5934
|
namespace entry { }
|
|
4832
5935
|
namespace view { }
|
|
4833
5936
|
}
|
|
@@ -5033,12 +6136,25 @@ export declare namespace primary_fungible_store {
|
|
|
5033
6136
|
typeArguments: [MoveStructId];
|
|
5034
6137
|
functionArguments: [object_.Object<T0>, MoveAddressType, bigint];
|
|
5035
6138
|
}, options?: InputGenerateTransactionOptions): Promise<PendingTransactionResponse>;
|
|
6139
|
+
function transferAssertMinimumDeposit<T0 = any>(client: Aptos, account: AptosAccount, request: {
|
|
6140
|
+
typeArguments: [MoveStructId];
|
|
6141
|
+
functionArguments: [
|
|
6142
|
+
object_.Object<T0>,
|
|
6143
|
+
MoveAddressType,
|
|
6144
|
+
bigint,
|
|
6145
|
+
bigint
|
|
6146
|
+
];
|
|
6147
|
+
}, options?: InputGenerateTransactionOptions): Promise<PendingTransactionResponse>;
|
|
5036
6148
|
}
|
|
5037
6149
|
namespace view {
|
|
5038
6150
|
function balance<T0 = any>(client: Aptos, request: {
|
|
5039
6151
|
typeArguments: [MoveStructId];
|
|
5040
6152
|
functionArguments: [MoveAddressType, object_.Object<T0>];
|
|
5041
6153
|
}, version?: bigint): Promise<[bigint]>;
|
|
6154
|
+
function isBalanceAtLeast<T0 = any>(client: Aptos, request: {
|
|
6155
|
+
typeArguments: [MoveStructId];
|
|
6156
|
+
functionArguments: [MoveAddressType, object_.Object<T0>, bigint];
|
|
6157
|
+
}, version?: bigint): Promise<[Boolean]>;
|
|
5042
6158
|
function isFrozen<T0 = any>(client: Aptos, request: {
|
|
5043
6159
|
typeArguments: [MoveStructId];
|
|
5044
6160
|
functionArguments: [MoveAddressType, object_.Object<T0>];
|
|
@@ -5073,6 +6189,47 @@ export declare namespace transaction_validation {
|
|
|
5073
6189
|
namespace entry { }
|
|
5074
6190
|
namespace view { }
|
|
5075
6191
|
}
|
|
6192
|
+
export declare namespace randomness_api_v0_config {
|
|
6193
|
+
interface AllowCustomMaxGasFlag {
|
|
6194
|
+
value: Boolean;
|
|
6195
|
+
}
|
|
6196
|
+
namespace AllowCustomMaxGasFlag {
|
|
6197
|
+
const TYPE_QNAME = "0x1::randomness_api_v0_config::AllowCustomMaxGasFlag";
|
|
6198
|
+
function type(): TypeDescriptor<AllowCustomMaxGasFlag>;
|
|
6199
|
+
}
|
|
6200
|
+
interface AllowCustomMaxGasFlagInstance extends TypedEventInstance<AllowCustomMaxGasFlag> {
|
|
6201
|
+
data_decoded: AllowCustomMaxGasFlag;
|
|
6202
|
+
type_arguments: [];
|
|
6203
|
+
}
|
|
6204
|
+
interface RequiredGasDeposit {
|
|
6205
|
+
gas_amount: option.Option<bigint>;
|
|
6206
|
+
}
|
|
6207
|
+
namespace RequiredGasDeposit {
|
|
6208
|
+
const TYPE_QNAME = "0x1::randomness_api_v0_config::RequiredGasDeposit";
|
|
6209
|
+
function type(): TypeDescriptor<RequiredGasDeposit>;
|
|
6210
|
+
}
|
|
6211
|
+
interface RequiredGasDepositInstance extends TypedEventInstance<RequiredGasDeposit> {
|
|
6212
|
+
data_decoded: RequiredGasDeposit;
|
|
6213
|
+
type_arguments: [];
|
|
6214
|
+
}
|
|
6215
|
+
namespace entry { }
|
|
6216
|
+
namespace view { }
|
|
6217
|
+
}
|
|
6218
|
+
export declare namespace randomness_config_seqnum {
|
|
6219
|
+
interface RandomnessConfigSeqNum {
|
|
6220
|
+
seq_num: bigint;
|
|
6221
|
+
}
|
|
6222
|
+
namespace RandomnessConfigSeqNum {
|
|
6223
|
+
const TYPE_QNAME = "0x1::randomness_config_seqnum::RandomnessConfigSeqNum";
|
|
6224
|
+
function type(): TypeDescriptor<RandomnessConfigSeqNum>;
|
|
6225
|
+
}
|
|
6226
|
+
interface RandomnessConfigSeqNumInstance extends TypedEventInstance<RandomnessConfigSeqNum> {
|
|
6227
|
+
data_decoded: RandomnessConfigSeqNum;
|
|
6228
|
+
type_arguments: [];
|
|
6229
|
+
}
|
|
6230
|
+
namespace entry { }
|
|
6231
|
+
namespace view { }
|
|
6232
|
+
}
|
|
5076
6233
|
export declare namespace reconfiguration_with_dkg {
|
|
5077
6234
|
namespace entry { }
|
|
5078
6235
|
namespace view { }
|
|
@@ -5109,5 +6266,35 @@ export declare namespace ristretto255_bulletproofs {
|
|
|
5109
6266
|
namespace entry { }
|
|
5110
6267
|
namespace view { }
|
|
5111
6268
|
}
|
|
6269
|
+
export declare namespace dispatchable_fungible_asset {
|
|
6270
|
+
interface TransferRefStore {
|
|
6271
|
+
transfer_ref: fungible_asset.TransferRef;
|
|
6272
|
+
}
|
|
6273
|
+
namespace TransferRefStore {
|
|
6274
|
+
const TYPE_QNAME = "0x1::dispatchable_fungible_asset::TransferRefStore";
|
|
6275
|
+
function type(): TypeDescriptor<TransferRefStore>;
|
|
6276
|
+
}
|
|
6277
|
+
namespace entry {
|
|
6278
|
+
function transfer<T0 = any>(client: Aptos, account: AptosAccount, request: {
|
|
6279
|
+
typeArguments: [MoveStructId];
|
|
6280
|
+
functionArguments: [object_.Object<T0>, object_.Object<T0>, bigint];
|
|
6281
|
+
}, options?: InputGenerateTransactionOptions): Promise<PendingTransactionResponse>;
|
|
6282
|
+
function transferAssertMinimumDeposit<T0 = any>(client: Aptos, account: AptosAccount, request: {
|
|
6283
|
+
typeArguments: [MoveStructId];
|
|
6284
|
+
functionArguments: [
|
|
6285
|
+
object_.Object<T0>,
|
|
6286
|
+
object_.Object<T0>,
|
|
6287
|
+
bigint,
|
|
6288
|
+
bigint
|
|
6289
|
+
];
|
|
6290
|
+
}, options?: InputGenerateTransactionOptions): Promise<PendingTransactionResponse>;
|
|
6291
|
+
}
|
|
6292
|
+
namespace view {
|
|
6293
|
+
function derivedBalance<T0 = any>(client: Aptos, request: {
|
|
6294
|
+
typeArguments: [MoveStructId];
|
|
6295
|
+
functionArguments: [object_.Object<T0>];
|
|
6296
|
+
}, version?: bigint): Promise<[bigint]>;
|
|
6297
|
+
}
|
|
6298
|
+
}
|
|
5112
6299
|
export declare function loadAllTypes(coder: MoveCoder): void;
|
|
5113
6300
|
//# sourceMappingURL=0x1.d.ts.map
|