@typemove/aptos 1.6.1-rc.2 → 1.6.2-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 +1172 -3
- package/dist/cjs/builtin/0x1.d.ts.map +1 -1
- package/dist/cjs/builtin/0x1.js +1143 -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/esm/builtin/0x1.d.ts +1172 -3
- package/dist/esm/builtin/0x1.d.ts.map +1 -1
- package/dist/esm/builtin/0x1.js +1142 -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/package.json +2 -2
- package/src/abis/0x1.json +3845 -181
- package/src/abis/0x3.json +544 -3
- package/src/abis/0x4.json +29 -2
- package/src/builtin/0x1.ts +2456 -51
- 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,22 @@ export declare namespace fungible_asset {
|
|
|
3107
3731
|
typeArguments: [MoveStructId];
|
|
3108
3732
|
functionArguments: [object_.Object<T0>];
|
|
3109
3733
|
}, version?: bigint): Promise<[number]>;
|
|
3734
|
+
function isBalanceAtLeast<T0 = any>(client: Aptos, request: {
|
|
3735
|
+
typeArguments: [MoveStructId];
|
|
3736
|
+
functionArguments: [object_.Object<T0>, bigint];
|
|
3737
|
+
}, version?: bigint): Promise<[Boolean]>;
|
|
3110
3738
|
function isFrozen<T0 = any>(client: Aptos, request: {
|
|
3111
3739
|
typeArguments: [MoveStructId];
|
|
3112
3740
|
functionArguments: [object_.Object<T0>];
|
|
3113
3741
|
}, version?: bigint): Promise<[Boolean]>;
|
|
3742
|
+
function isStoreDispatchable<T0 = any>(client: Aptos, request: {
|
|
3743
|
+
typeArguments: [MoveStructId];
|
|
3744
|
+
functionArguments: [object_.Object<T0>];
|
|
3745
|
+
}, version?: bigint): Promise<[Boolean]>;
|
|
3746
|
+
function isUntransferable<T0 = any>(client: Aptos, request: {
|
|
3747
|
+
typeArguments: [MoveStructId];
|
|
3748
|
+
functionArguments: [object_.Object<T0>];
|
|
3749
|
+
}, version?: bigint): Promise<[Boolean]>;
|
|
3114
3750
|
function maximum<T0 = any>(client: Aptos, request: {
|
|
3115
3751
|
typeArguments: [MoveStructId];
|
|
3116
3752
|
functionArguments: [object_.Object<T0>];
|
|
@@ -3165,6 +3801,20 @@ export declare namespace staking_config {
|
|
|
3165
3801
|
namespace view { }
|
|
3166
3802
|
}
|
|
3167
3803
|
export declare namespace delegation_pool {
|
|
3804
|
+
interface AddStake {
|
|
3805
|
+
pool_address: MoveAddressType;
|
|
3806
|
+
delegator_address: MoveAddressType;
|
|
3807
|
+
amount_added: bigint;
|
|
3808
|
+
add_stake_fee: bigint;
|
|
3809
|
+
}
|
|
3810
|
+
namespace AddStake {
|
|
3811
|
+
const TYPE_QNAME = "0x1::delegation_pool::AddStake";
|
|
3812
|
+
function type(): TypeDescriptor<AddStake>;
|
|
3813
|
+
}
|
|
3814
|
+
interface AddStakeInstance extends TypedEventInstance<AddStake> {
|
|
3815
|
+
data_decoded: AddStake;
|
|
3816
|
+
type_arguments: [];
|
|
3817
|
+
}
|
|
3168
3818
|
interface AddStakeEvent {
|
|
3169
3819
|
pool_address: MoveAddressType;
|
|
3170
3820
|
delegator_address: MoveAddressType;
|
|
@@ -3211,6 +3861,19 @@ export declare namespace delegation_pool {
|
|
|
3211
3861
|
data_decoded: CommissionPercentageChange;
|
|
3212
3862
|
type_arguments: [];
|
|
3213
3863
|
}
|
|
3864
|
+
interface CreateProposal {
|
|
3865
|
+
proposal_id: bigint;
|
|
3866
|
+
voter: MoveAddressType;
|
|
3867
|
+
delegation_pool: MoveAddressType;
|
|
3868
|
+
}
|
|
3869
|
+
namespace CreateProposal {
|
|
3870
|
+
const TYPE_QNAME = "0x1::delegation_pool::CreateProposal";
|
|
3871
|
+
function type(): TypeDescriptor<CreateProposal>;
|
|
3872
|
+
}
|
|
3873
|
+
interface CreateProposalInstance extends TypedEventInstance<CreateProposal> {
|
|
3874
|
+
data_decoded: CreateProposal;
|
|
3875
|
+
type_arguments: [];
|
|
3876
|
+
}
|
|
3214
3877
|
interface CreateProposalEvent {
|
|
3215
3878
|
proposal_id: bigint;
|
|
3216
3879
|
voter: MoveAddressType;
|
|
@@ -3224,6 +3887,19 @@ export declare namespace delegation_pool {
|
|
|
3224
3887
|
data_decoded: CreateProposalEvent;
|
|
3225
3888
|
type_arguments: [];
|
|
3226
3889
|
}
|
|
3890
|
+
interface DelegateVotingPower {
|
|
3891
|
+
pool_address: MoveAddressType;
|
|
3892
|
+
delegator: MoveAddressType;
|
|
3893
|
+
voter: MoveAddressType;
|
|
3894
|
+
}
|
|
3895
|
+
namespace DelegateVotingPower {
|
|
3896
|
+
const TYPE_QNAME = "0x1::delegation_pool::DelegateVotingPower";
|
|
3897
|
+
function type(): TypeDescriptor<DelegateVotingPower>;
|
|
3898
|
+
}
|
|
3899
|
+
interface DelegateVotingPowerInstance extends TypedEventInstance<DelegateVotingPower> {
|
|
3900
|
+
data_decoded: DelegateVotingPower;
|
|
3901
|
+
type_arguments: [];
|
|
3902
|
+
}
|
|
3227
3903
|
interface DelegateVotingPowerEvent {
|
|
3228
3904
|
pool_address: MoveAddressType;
|
|
3229
3905
|
delegator: MoveAddressType;
|
|
@@ -3374,8 +4050,21 @@ export declare namespace delegation_pool {
|
|
|
3374
4050
|
const TYPE_QNAME = "0x1::delegation_pool::ObservedLockupCycle";
|
|
3375
4051
|
function type(): TypeDescriptor<ObservedLockupCycle>;
|
|
3376
4052
|
}
|
|
3377
|
-
interface ObservedLockupCycleInstance extends TypedEventInstance<ObservedLockupCycle> {
|
|
3378
|
-
data_decoded: ObservedLockupCycle;
|
|
4053
|
+
interface ObservedLockupCycleInstance extends TypedEventInstance<ObservedLockupCycle> {
|
|
4054
|
+
data_decoded: ObservedLockupCycle;
|
|
4055
|
+
type_arguments: [];
|
|
4056
|
+
}
|
|
4057
|
+
interface ReactivateStake {
|
|
4058
|
+
pool_address: MoveAddressType;
|
|
4059
|
+
delegator_address: MoveAddressType;
|
|
4060
|
+
amount_reactivated: bigint;
|
|
4061
|
+
}
|
|
4062
|
+
namespace ReactivateStake {
|
|
4063
|
+
const TYPE_QNAME = "0x1::delegation_pool::ReactivateStake";
|
|
4064
|
+
function type(): TypeDescriptor<ReactivateStake>;
|
|
4065
|
+
}
|
|
4066
|
+
interface ReactivateStakeInstance extends TypedEventInstance<ReactivateStake> {
|
|
4067
|
+
data_decoded: ReactivateStake;
|
|
3379
4068
|
type_arguments: [];
|
|
3380
4069
|
}
|
|
3381
4070
|
interface ReactivateStakeEvent {
|
|
@@ -3416,6 +4105,19 @@ export declare namespace delegation_pool {
|
|
|
3416
4105
|
data_decoded: SetBeneficiaryForOperator;
|
|
3417
4106
|
type_arguments: [];
|
|
3418
4107
|
}
|
|
4108
|
+
interface UnlockStake {
|
|
4109
|
+
pool_address: MoveAddressType;
|
|
4110
|
+
delegator_address: MoveAddressType;
|
|
4111
|
+
amount_unlocked: bigint;
|
|
4112
|
+
}
|
|
4113
|
+
namespace UnlockStake {
|
|
4114
|
+
const TYPE_QNAME = "0x1::delegation_pool::UnlockStake";
|
|
4115
|
+
function type(): TypeDescriptor<UnlockStake>;
|
|
4116
|
+
}
|
|
4117
|
+
interface UnlockStakeInstance extends TypedEventInstance<UnlockStake> {
|
|
4118
|
+
data_decoded: UnlockStake;
|
|
4119
|
+
type_arguments: [];
|
|
4120
|
+
}
|
|
3419
4121
|
interface UnlockStakeEvent {
|
|
3420
4122
|
pool_address: MoveAddressType;
|
|
3421
4123
|
delegator_address: MoveAddressType;
|
|
@@ -3429,6 +4131,21 @@ export declare namespace delegation_pool {
|
|
|
3429
4131
|
data_decoded: UnlockStakeEvent;
|
|
3430
4132
|
type_arguments: [];
|
|
3431
4133
|
}
|
|
4134
|
+
interface Vote {
|
|
4135
|
+
voter: MoveAddressType;
|
|
4136
|
+
proposal_id: bigint;
|
|
4137
|
+
delegation_pool: MoveAddressType;
|
|
4138
|
+
num_votes: bigint;
|
|
4139
|
+
should_pass: Boolean;
|
|
4140
|
+
}
|
|
4141
|
+
namespace Vote {
|
|
4142
|
+
const TYPE_QNAME = "0x1::delegation_pool::Vote";
|
|
4143
|
+
function type(): TypeDescriptor<Vote>;
|
|
4144
|
+
}
|
|
4145
|
+
interface VoteInstance extends TypedEventInstance<Vote> {
|
|
4146
|
+
data_decoded: Vote;
|
|
4147
|
+
type_arguments: [];
|
|
4148
|
+
}
|
|
3432
4149
|
interface VoteDelegation {
|
|
3433
4150
|
voter: MoveAddressType;
|
|
3434
4151
|
pending_voter: MoveAddressType;
|
|
@@ -3469,6 +4186,19 @@ export declare namespace delegation_pool {
|
|
|
3469
4186
|
data_decoded: VotingRecordKey;
|
|
3470
4187
|
type_arguments: [];
|
|
3471
4188
|
}
|
|
4189
|
+
interface WithdrawStake {
|
|
4190
|
+
pool_address: MoveAddressType;
|
|
4191
|
+
delegator_address: MoveAddressType;
|
|
4192
|
+
amount_withdrawn: bigint;
|
|
4193
|
+
}
|
|
4194
|
+
namespace WithdrawStake {
|
|
4195
|
+
const TYPE_QNAME = "0x1::delegation_pool::WithdrawStake";
|
|
4196
|
+
function type(): TypeDescriptor<WithdrawStake>;
|
|
4197
|
+
}
|
|
4198
|
+
interface WithdrawStakeInstance extends TypedEventInstance<WithdrawStake> {
|
|
4199
|
+
data_decoded: WithdrawStake;
|
|
4200
|
+
type_arguments: [];
|
|
4201
|
+
}
|
|
3472
4202
|
interface WithdrawStakeEvent {
|
|
3473
4203
|
pool_address: MoveAddressType;
|
|
3474
4204
|
delegator_address: MoveAddressType;
|
|
@@ -3576,6 +4306,9 @@ export declare namespace delegation_pool {
|
|
|
3576
4306
|
function calculateAndUpdateVoterTotalVotingPower(client: Aptos, request: {
|
|
3577
4307
|
functionArguments: [MoveAddressType, MoveAddressType];
|
|
3578
4308
|
}, version?: bigint): Promise<[bigint]>;
|
|
4309
|
+
function calculateAndUpdateVotingDelegation(client: Aptos, request: {
|
|
4310
|
+
functionArguments: [MoveAddressType, MoveAddressType];
|
|
4311
|
+
}, version?: bigint): Promise<[MoveAddressType, MoveAddressType, bigint]>;
|
|
3579
4312
|
function canWithdrawPendingInactive(client: Aptos, request: {
|
|
3580
4313
|
functionArguments: [MoveAddressType];
|
|
3581
4314
|
}, version?: bigint): Promise<[Boolean]>;
|
|
@@ -3645,6 +4378,10 @@ export declare namespace keyless_account {
|
|
|
3645
4378
|
const TYPE_QNAME = "0x1::keyless_account::Configuration";
|
|
3646
4379
|
function type(): TypeDescriptor<Configuration>;
|
|
3647
4380
|
}
|
|
4381
|
+
interface ConfigurationInstance extends TypedEventInstance<Configuration> {
|
|
4382
|
+
data_decoded: Configuration;
|
|
4383
|
+
type_arguments: [];
|
|
4384
|
+
}
|
|
3648
4385
|
interface Groth16VerificationKey {
|
|
3649
4386
|
alpha_g1: string;
|
|
3650
4387
|
beta_g2: string;
|
|
@@ -3656,6 +4393,10 @@ export declare namespace keyless_account {
|
|
|
3656
4393
|
const TYPE_QNAME = "0x1::keyless_account::Groth16VerificationKey";
|
|
3657
4394
|
function type(): TypeDescriptor<Groth16VerificationKey>;
|
|
3658
4395
|
}
|
|
4396
|
+
interface Groth16VerificationKeyInstance extends TypedEventInstance<Groth16VerificationKey> {
|
|
4397
|
+
data_decoded: Groth16VerificationKey;
|
|
4398
|
+
type_arguments: [];
|
|
4399
|
+
}
|
|
3659
4400
|
interface Group {
|
|
3660
4401
|
dummy_field: Boolean;
|
|
3661
4402
|
}
|
|
@@ -3683,6 +4424,17 @@ export declare namespace reconfiguration {
|
|
|
3683
4424
|
const TYPE_QNAME = "0x1::reconfiguration::DisableReconfiguration";
|
|
3684
4425
|
function type(): TypeDescriptor<DisableReconfiguration>;
|
|
3685
4426
|
}
|
|
4427
|
+
interface NewEpoch {
|
|
4428
|
+
epoch: bigint;
|
|
4429
|
+
}
|
|
4430
|
+
namespace NewEpoch {
|
|
4431
|
+
const TYPE_QNAME = "0x1::reconfiguration::NewEpoch";
|
|
4432
|
+
function type(): TypeDescriptor<NewEpoch>;
|
|
4433
|
+
}
|
|
4434
|
+
interface NewEpochInstance extends TypedEventInstance<NewEpoch> {
|
|
4435
|
+
data_decoded: NewEpoch;
|
|
4436
|
+
type_arguments: [];
|
|
4437
|
+
}
|
|
3686
4438
|
interface NewEpochEvent {
|
|
3687
4439
|
epoch: bigint;
|
|
3688
4440
|
}
|
|
@@ -3712,6 +4464,13 @@ export declare namespace transaction_fee {
|
|
|
3712
4464
|
const TYPE_QNAME = "0x1::transaction_fee::AptosCoinMintCapability";
|
|
3713
4465
|
function type(): TypeDescriptor<AptosCoinMintCapability>;
|
|
3714
4466
|
}
|
|
4467
|
+
interface AptosFABurnCapabilities {
|
|
4468
|
+
burn_ref: fungible_asset.BurnRef;
|
|
4469
|
+
}
|
|
4470
|
+
namespace AptosFABurnCapabilities {
|
|
4471
|
+
const TYPE_QNAME = "0x1::transaction_fee::AptosFABurnCapabilities";
|
|
4472
|
+
function type(): TypeDescriptor<AptosFABurnCapabilities>;
|
|
4473
|
+
}
|
|
3715
4474
|
interface CollectedFeesPerBlock {
|
|
3716
4475
|
amount: coin.AggregatableCoin<aptos_coin.AptosCoin>;
|
|
3717
4476
|
proposer: option.Option<MoveAddressType>;
|
|
@@ -3736,7 +4495,12 @@ export declare namespace transaction_fee {
|
|
|
3736
4495
|
data_decoded: FeeStatement;
|
|
3737
4496
|
type_arguments: [];
|
|
3738
4497
|
}
|
|
3739
|
-
namespace entry {
|
|
4498
|
+
namespace entry {
|
|
4499
|
+
function convertToAptosFaBurnRef(client: Aptos, account: AptosAccount, request: {
|
|
4500
|
+
typeArguments: [];
|
|
4501
|
+
functionArguments: [];
|
|
4502
|
+
}, options?: InputGenerateTransactionOptions): Promise<PendingTransactionResponse>;
|
|
4503
|
+
}
|
|
3740
4504
|
namespace view { }
|
|
3741
4505
|
}
|
|
3742
4506
|
export declare namespace aptos_governance {
|
|
@@ -3747,6 +4511,21 @@ export declare namespace aptos_governance {
|
|
|
3747
4511
|
const TYPE_QNAME = "0x1::aptos_governance::ApprovedExecutionHashes";
|
|
3748
4512
|
function type(): TypeDescriptor<ApprovedExecutionHashes>;
|
|
3749
4513
|
}
|
|
4514
|
+
interface CreateProposal {
|
|
4515
|
+
proposer: MoveAddressType;
|
|
4516
|
+
stake_pool: MoveAddressType;
|
|
4517
|
+
proposal_id: bigint;
|
|
4518
|
+
execution_hash: string;
|
|
4519
|
+
proposal_metadata: simple_map.SimpleMap<string, string>;
|
|
4520
|
+
}
|
|
4521
|
+
namespace CreateProposal {
|
|
4522
|
+
const TYPE_QNAME = "0x1::aptos_governance::CreateProposal";
|
|
4523
|
+
function type(): TypeDescriptor<CreateProposal>;
|
|
4524
|
+
}
|
|
4525
|
+
interface CreateProposalInstance extends TypedEventInstance<CreateProposal> {
|
|
4526
|
+
data_decoded: CreateProposal;
|
|
4527
|
+
type_arguments: [];
|
|
4528
|
+
}
|
|
3750
4529
|
interface CreateProposalEvent {
|
|
3751
4530
|
proposer: MoveAddressType;
|
|
3752
4531
|
stake_pool: MoveAddressType;
|
|
@@ -3799,6 +4578,19 @@ export declare namespace aptos_governance {
|
|
|
3799
4578
|
data_decoded: RecordKey;
|
|
3800
4579
|
type_arguments: [];
|
|
3801
4580
|
}
|
|
4581
|
+
interface UpdateConfig {
|
|
4582
|
+
min_voting_threshold: bigint;
|
|
4583
|
+
required_proposer_stake: bigint;
|
|
4584
|
+
voting_duration_secs: bigint;
|
|
4585
|
+
}
|
|
4586
|
+
namespace UpdateConfig {
|
|
4587
|
+
const TYPE_QNAME = "0x1::aptos_governance::UpdateConfig";
|
|
4588
|
+
function type(): TypeDescriptor<UpdateConfig>;
|
|
4589
|
+
}
|
|
4590
|
+
interface UpdateConfigInstance extends TypedEventInstance<UpdateConfig> {
|
|
4591
|
+
data_decoded: UpdateConfig;
|
|
4592
|
+
type_arguments: [];
|
|
4593
|
+
}
|
|
3802
4594
|
interface UpdateConfigEvent {
|
|
3803
4595
|
min_voting_threshold: bigint;
|
|
3804
4596
|
required_proposer_stake: bigint;
|
|
@@ -3812,6 +4604,21 @@ export declare namespace aptos_governance {
|
|
|
3812
4604
|
data_decoded: UpdateConfigEvent;
|
|
3813
4605
|
type_arguments: [];
|
|
3814
4606
|
}
|
|
4607
|
+
interface Vote {
|
|
4608
|
+
proposal_id: bigint;
|
|
4609
|
+
voter: MoveAddressType;
|
|
4610
|
+
stake_pool: MoveAddressType;
|
|
4611
|
+
num_votes: bigint;
|
|
4612
|
+
should_pass: Boolean;
|
|
4613
|
+
}
|
|
4614
|
+
namespace Vote {
|
|
4615
|
+
const TYPE_QNAME = "0x1::aptos_governance::Vote";
|
|
4616
|
+
function type(): TypeDescriptor<Vote>;
|
|
4617
|
+
}
|
|
4618
|
+
interface VoteInstance extends TypedEventInstance<Vote> {
|
|
4619
|
+
data_decoded: Vote;
|
|
4620
|
+
type_arguments: [];
|
|
4621
|
+
}
|
|
3815
4622
|
interface VoteEvent {
|
|
3816
4623
|
proposal_id: bigint;
|
|
3817
4624
|
voter: MoveAddressType;
|
|
@@ -4030,6 +4837,18 @@ export declare namespace execution_config {
|
|
|
4030
4837
|
namespace view { }
|
|
4031
4838
|
}
|
|
4032
4839
|
export declare namespace multisig_account {
|
|
4840
|
+
interface AddOwners {
|
|
4841
|
+
multisig_account: MoveAddressType;
|
|
4842
|
+
owners_added: MoveAddressType[];
|
|
4843
|
+
}
|
|
4844
|
+
namespace AddOwners {
|
|
4845
|
+
const TYPE_QNAME = "0x1::multisig_account::AddOwners";
|
|
4846
|
+
function type(): TypeDescriptor<AddOwners>;
|
|
4847
|
+
}
|
|
4848
|
+
interface AddOwnersInstance extends TypedEventInstance<AddOwners> {
|
|
4849
|
+
data_decoded: AddOwners;
|
|
4850
|
+
type_arguments: [];
|
|
4851
|
+
}
|
|
4033
4852
|
interface AddOwnersEvent {
|
|
4034
4853
|
owners_added: MoveAddressType[];
|
|
4035
4854
|
}
|
|
@@ -4041,6 +4860,20 @@ export declare namespace multisig_account {
|
|
|
4041
4860
|
data_decoded: AddOwnersEvent;
|
|
4042
4861
|
type_arguments: [];
|
|
4043
4862
|
}
|
|
4863
|
+
interface CreateTransaction {
|
|
4864
|
+
multisig_account: MoveAddressType;
|
|
4865
|
+
creator: MoveAddressType;
|
|
4866
|
+
sequence_number: bigint;
|
|
4867
|
+
transaction: multisig_account.MultisigTransaction;
|
|
4868
|
+
}
|
|
4869
|
+
namespace CreateTransaction {
|
|
4870
|
+
const TYPE_QNAME = "0x1::multisig_account::CreateTransaction";
|
|
4871
|
+
function type(): TypeDescriptor<CreateTransaction>;
|
|
4872
|
+
}
|
|
4873
|
+
interface CreateTransactionInstance extends TypedEventInstance<CreateTransaction> {
|
|
4874
|
+
data_decoded: CreateTransaction;
|
|
4875
|
+
type_arguments: [];
|
|
4876
|
+
}
|
|
4044
4877
|
interface CreateTransactionEvent {
|
|
4045
4878
|
creator: MoveAddressType;
|
|
4046
4879
|
sequence_number: bigint;
|
|
@@ -4054,6 +4887,20 @@ export declare namespace multisig_account {
|
|
|
4054
4887
|
data_decoded: CreateTransactionEvent;
|
|
4055
4888
|
type_arguments: [];
|
|
4056
4889
|
}
|
|
4890
|
+
interface ExecuteRejectedTransaction {
|
|
4891
|
+
multisig_account: MoveAddressType;
|
|
4892
|
+
sequence_number: bigint;
|
|
4893
|
+
num_rejections: bigint;
|
|
4894
|
+
executor: MoveAddressType;
|
|
4895
|
+
}
|
|
4896
|
+
namespace ExecuteRejectedTransaction {
|
|
4897
|
+
const TYPE_QNAME = "0x1::multisig_account::ExecuteRejectedTransaction";
|
|
4898
|
+
function type(): TypeDescriptor<ExecuteRejectedTransaction>;
|
|
4899
|
+
}
|
|
4900
|
+
interface ExecuteRejectedTransactionInstance extends TypedEventInstance<ExecuteRejectedTransaction> {
|
|
4901
|
+
data_decoded: ExecuteRejectedTransaction;
|
|
4902
|
+
type_arguments: [];
|
|
4903
|
+
}
|
|
4057
4904
|
interface ExecuteRejectedTransactionEvent {
|
|
4058
4905
|
sequence_number: bigint;
|
|
4059
4906
|
num_rejections: bigint;
|
|
@@ -4080,6 +4927,19 @@ export declare namespace multisig_account {
|
|
|
4080
4927
|
data_decoded: ExecutionError;
|
|
4081
4928
|
type_arguments: [];
|
|
4082
4929
|
}
|
|
4930
|
+
interface MetadataUpdated {
|
|
4931
|
+
multisig_account: MoveAddressType;
|
|
4932
|
+
old_metadata: simple_map.SimpleMap<string, string>;
|
|
4933
|
+
new_metadata: simple_map.SimpleMap<string, string>;
|
|
4934
|
+
}
|
|
4935
|
+
namespace MetadataUpdated {
|
|
4936
|
+
const TYPE_QNAME = "0x1::multisig_account::MetadataUpdated";
|
|
4937
|
+
function type(): TypeDescriptor<MetadataUpdated>;
|
|
4938
|
+
}
|
|
4939
|
+
interface MetadataUpdatedInstance extends TypedEventInstance<MetadataUpdated> {
|
|
4940
|
+
data_decoded: MetadataUpdated;
|
|
4941
|
+
type_arguments: [];
|
|
4942
|
+
}
|
|
4083
4943
|
interface MetadataUpdatedEvent {
|
|
4084
4944
|
old_metadata: simple_map.SimpleMap<string, string>;
|
|
4085
4945
|
new_metadata: simple_map.SimpleMap<string, string>;
|
|
@@ -4151,6 +5011,18 @@ export declare namespace multisig_account {
|
|
|
4151
5011
|
data_decoded: MultisigTransaction;
|
|
4152
5012
|
type_arguments: [];
|
|
4153
5013
|
}
|
|
5014
|
+
interface RemoveOwners {
|
|
5015
|
+
multisig_account: MoveAddressType;
|
|
5016
|
+
owners_removed: MoveAddressType[];
|
|
5017
|
+
}
|
|
5018
|
+
namespace RemoveOwners {
|
|
5019
|
+
const TYPE_QNAME = "0x1::multisig_account::RemoveOwners";
|
|
5020
|
+
function type(): TypeDescriptor<RemoveOwners>;
|
|
5021
|
+
}
|
|
5022
|
+
interface RemoveOwnersInstance extends TypedEventInstance<RemoveOwners> {
|
|
5023
|
+
data_decoded: RemoveOwners;
|
|
5024
|
+
type_arguments: [];
|
|
5025
|
+
}
|
|
4154
5026
|
interface RemoveOwnersEvent {
|
|
4155
5027
|
owners_removed: MoveAddressType[];
|
|
4156
5028
|
}
|
|
@@ -4162,6 +5034,22 @@ export declare namespace multisig_account {
|
|
|
4162
5034
|
data_decoded: RemoveOwnersEvent;
|
|
4163
5035
|
type_arguments: [];
|
|
4164
5036
|
}
|
|
5037
|
+
interface TransactionExecutionFailed {
|
|
5038
|
+
multisig_account: MoveAddressType;
|
|
5039
|
+
executor: MoveAddressType;
|
|
5040
|
+
sequence_number: bigint;
|
|
5041
|
+
transaction_payload: string;
|
|
5042
|
+
num_approvals: bigint;
|
|
5043
|
+
execution_error: multisig_account.ExecutionError;
|
|
5044
|
+
}
|
|
5045
|
+
namespace TransactionExecutionFailed {
|
|
5046
|
+
const TYPE_QNAME = "0x1::multisig_account::TransactionExecutionFailed";
|
|
5047
|
+
function type(): TypeDescriptor<TransactionExecutionFailed>;
|
|
5048
|
+
}
|
|
5049
|
+
interface TransactionExecutionFailedInstance extends TypedEventInstance<TransactionExecutionFailed> {
|
|
5050
|
+
data_decoded: TransactionExecutionFailed;
|
|
5051
|
+
type_arguments: [];
|
|
5052
|
+
}
|
|
4165
5053
|
interface TransactionExecutionFailedEvent {
|
|
4166
5054
|
executor: MoveAddressType;
|
|
4167
5055
|
sequence_number: bigint;
|
|
@@ -4177,6 +5065,21 @@ export declare namespace multisig_account {
|
|
|
4177
5065
|
data_decoded: TransactionExecutionFailedEvent;
|
|
4178
5066
|
type_arguments: [];
|
|
4179
5067
|
}
|
|
5068
|
+
interface TransactionExecutionSucceeded {
|
|
5069
|
+
multisig_account: MoveAddressType;
|
|
5070
|
+
executor: MoveAddressType;
|
|
5071
|
+
sequence_number: bigint;
|
|
5072
|
+
transaction_payload: string;
|
|
5073
|
+
num_approvals: bigint;
|
|
5074
|
+
}
|
|
5075
|
+
namespace TransactionExecutionSucceeded {
|
|
5076
|
+
const TYPE_QNAME = "0x1::multisig_account::TransactionExecutionSucceeded";
|
|
5077
|
+
function type(): TypeDescriptor<TransactionExecutionSucceeded>;
|
|
5078
|
+
}
|
|
5079
|
+
interface TransactionExecutionSucceededInstance extends TypedEventInstance<TransactionExecutionSucceeded> {
|
|
5080
|
+
data_decoded: TransactionExecutionSucceeded;
|
|
5081
|
+
type_arguments: [];
|
|
5082
|
+
}
|
|
4180
5083
|
interface TransactionExecutionSucceededEvent {
|
|
4181
5084
|
executor: MoveAddressType;
|
|
4182
5085
|
sequence_number: bigint;
|
|
@@ -4191,6 +5094,19 @@ export declare namespace multisig_account {
|
|
|
4191
5094
|
data_decoded: TransactionExecutionSucceededEvent;
|
|
4192
5095
|
type_arguments: [];
|
|
4193
5096
|
}
|
|
5097
|
+
interface UpdateSignaturesRequired {
|
|
5098
|
+
multisig_account: MoveAddressType;
|
|
5099
|
+
old_num_signatures_required: bigint;
|
|
5100
|
+
new_num_signatures_required: bigint;
|
|
5101
|
+
}
|
|
5102
|
+
namespace UpdateSignaturesRequired {
|
|
5103
|
+
const TYPE_QNAME = "0x1::multisig_account::UpdateSignaturesRequired";
|
|
5104
|
+
function type(): TypeDescriptor<UpdateSignaturesRequired>;
|
|
5105
|
+
}
|
|
5106
|
+
interface UpdateSignaturesRequiredInstance extends TypedEventInstance<UpdateSignaturesRequired> {
|
|
5107
|
+
data_decoded: UpdateSignaturesRequired;
|
|
5108
|
+
type_arguments: [];
|
|
5109
|
+
}
|
|
4194
5110
|
interface UpdateSignaturesRequiredEvent {
|
|
4195
5111
|
old_num_signatures_required: bigint;
|
|
4196
5112
|
new_num_signatures_required: bigint;
|
|
@@ -4203,6 +5119,20 @@ export declare namespace multisig_account {
|
|
|
4203
5119
|
data_decoded: UpdateSignaturesRequiredEvent;
|
|
4204
5120
|
type_arguments: [];
|
|
4205
5121
|
}
|
|
5122
|
+
interface Vote {
|
|
5123
|
+
multisig_account: MoveAddressType;
|
|
5124
|
+
owner: MoveAddressType;
|
|
5125
|
+
sequence_number: bigint;
|
|
5126
|
+
approved: Boolean;
|
|
5127
|
+
}
|
|
5128
|
+
namespace Vote {
|
|
5129
|
+
const TYPE_QNAME = "0x1::multisig_account::Vote";
|
|
5130
|
+
function type(): TypeDescriptor<Vote>;
|
|
5131
|
+
}
|
|
5132
|
+
interface VoteInstance extends TypedEventInstance<Vote> {
|
|
5133
|
+
data_decoded: Vote;
|
|
5134
|
+
type_arguments: [];
|
|
5135
|
+
}
|
|
4206
5136
|
interface VoteEvent {
|
|
4207
5137
|
owner: MoveAddressType;
|
|
4208
5138
|
sequence_number: bigint;
|
|
@@ -4422,6 +5352,19 @@ export declare namespace resource_account {
|
|
|
4422
5352
|
namespace view { }
|
|
4423
5353
|
}
|
|
4424
5354
|
export declare namespace staking_contract {
|
|
5355
|
+
interface AddDistribution {
|
|
5356
|
+
operator: MoveAddressType;
|
|
5357
|
+
pool_address: MoveAddressType;
|
|
5358
|
+
amount: bigint;
|
|
5359
|
+
}
|
|
5360
|
+
namespace AddDistribution {
|
|
5361
|
+
const TYPE_QNAME = "0x1::staking_contract::AddDistribution";
|
|
5362
|
+
function type(): TypeDescriptor<AddDistribution>;
|
|
5363
|
+
}
|
|
5364
|
+
interface AddDistributionInstance extends TypedEventInstance<AddDistribution> {
|
|
5365
|
+
data_decoded: AddDistribution;
|
|
5366
|
+
type_arguments: [];
|
|
5367
|
+
}
|
|
4425
5368
|
interface AddDistributionEvent {
|
|
4426
5369
|
operator: MoveAddressType;
|
|
4427
5370
|
pool_address: MoveAddressType;
|
|
@@ -4435,6 +5378,19 @@ export declare namespace staking_contract {
|
|
|
4435
5378
|
data_decoded: AddDistributionEvent;
|
|
4436
5379
|
type_arguments: [];
|
|
4437
5380
|
}
|
|
5381
|
+
interface AddStake {
|
|
5382
|
+
operator: MoveAddressType;
|
|
5383
|
+
pool_address: MoveAddressType;
|
|
5384
|
+
amount: bigint;
|
|
5385
|
+
}
|
|
5386
|
+
namespace AddStake {
|
|
5387
|
+
const TYPE_QNAME = "0x1::staking_contract::AddStake";
|
|
5388
|
+
function type(): TypeDescriptor<AddStake>;
|
|
5389
|
+
}
|
|
5390
|
+
interface AddStakeInstance extends TypedEventInstance<AddStake> {
|
|
5391
|
+
data_decoded: AddStake;
|
|
5392
|
+
type_arguments: [];
|
|
5393
|
+
}
|
|
4438
5394
|
interface AddStakeEvent {
|
|
4439
5395
|
operator: MoveAddressType;
|
|
4440
5396
|
pool_address: MoveAddressType;
|
|
@@ -4455,6 +5411,21 @@ export declare namespace staking_contract {
|
|
|
4455
5411
|
const TYPE_QNAME = "0x1::staking_contract::BeneficiaryForOperator";
|
|
4456
5412
|
function type(): TypeDescriptor<BeneficiaryForOperator>;
|
|
4457
5413
|
}
|
|
5414
|
+
interface CreateStakingContract {
|
|
5415
|
+
operator: MoveAddressType;
|
|
5416
|
+
voter: MoveAddressType;
|
|
5417
|
+
pool_address: MoveAddressType;
|
|
5418
|
+
principal: bigint;
|
|
5419
|
+
commission_percentage: bigint;
|
|
5420
|
+
}
|
|
5421
|
+
namespace CreateStakingContract {
|
|
5422
|
+
const TYPE_QNAME = "0x1::staking_contract::CreateStakingContract";
|
|
5423
|
+
function type(): TypeDescriptor<CreateStakingContract>;
|
|
5424
|
+
}
|
|
5425
|
+
interface CreateStakingContractInstance extends TypedEventInstance<CreateStakingContract> {
|
|
5426
|
+
data_decoded: CreateStakingContract;
|
|
5427
|
+
type_arguments: [];
|
|
5428
|
+
}
|
|
4458
5429
|
interface CreateStakingContractEvent {
|
|
4459
5430
|
operator: MoveAddressType;
|
|
4460
5431
|
voter: MoveAddressType;
|
|
@@ -4470,6 +5441,20 @@ export declare namespace staking_contract {
|
|
|
4470
5441
|
data_decoded: CreateStakingContractEvent;
|
|
4471
5442
|
type_arguments: [];
|
|
4472
5443
|
}
|
|
5444
|
+
interface Distribute {
|
|
5445
|
+
operator: MoveAddressType;
|
|
5446
|
+
pool_address: MoveAddressType;
|
|
5447
|
+
recipient: MoveAddressType;
|
|
5448
|
+
amount: bigint;
|
|
5449
|
+
}
|
|
5450
|
+
namespace Distribute {
|
|
5451
|
+
const TYPE_QNAME = "0x1::staking_contract::Distribute";
|
|
5452
|
+
function type(): TypeDescriptor<Distribute>;
|
|
5453
|
+
}
|
|
5454
|
+
interface DistributeInstance extends TypedEventInstance<Distribute> {
|
|
5455
|
+
data_decoded: Distribute;
|
|
5456
|
+
type_arguments: [];
|
|
5457
|
+
}
|
|
4473
5458
|
interface DistributeEvent {
|
|
4474
5459
|
operator: MoveAddressType;
|
|
4475
5460
|
pool_address: MoveAddressType;
|
|
@@ -4484,6 +5469,20 @@ export declare namespace staking_contract {
|
|
|
4484
5469
|
data_decoded: DistributeEvent;
|
|
4485
5470
|
type_arguments: [];
|
|
4486
5471
|
}
|
|
5472
|
+
interface RequestCommission {
|
|
5473
|
+
operator: MoveAddressType;
|
|
5474
|
+
pool_address: MoveAddressType;
|
|
5475
|
+
accumulated_rewards: bigint;
|
|
5476
|
+
commission_amount: bigint;
|
|
5477
|
+
}
|
|
5478
|
+
namespace RequestCommission {
|
|
5479
|
+
const TYPE_QNAME = "0x1::staking_contract::RequestCommission";
|
|
5480
|
+
function type(): TypeDescriptor<RequestCommission>;
|
|
5481
|
+
}
|
|
5482
|
+
interface RequestCommissionInstance extends TypedEventInstance<RequestCommission> {
|
|
5483
|
+
data_decoded: RequestCommission;
|
|
5484
|
+
type_arguments: [];
|
|
5485
|
+
}
|
|
4487
5486
|
interface RequestCommissionEvent {
|
|
4488
5487
|
operator: MoveAddressType;
|
|
4489
5488
|
pool_address: MoveAddressType;
|
|
@@ -4498,6 +5497,18 @@ export declare namespace staking_contract {
|
|
|
4498
5497
|
data_decoded: RequestCommissionEvent;
|
|
4499
5498
|
type_arguments: [];
|
|
4500
5499
|
}
|
|
5500
|
+
interface ResetLockup {
|
|
5501
|
+
operator: MoveAddressType;
|
|
5502
|
+
pool_address: MoveAddressType;
|
|
5503
|
+
}
|
|
5504
|
+
namespace ResetLockup {
|
|
5505
|
+
const TYPE_QNAME = "0x1::staking_contract::ResetLockup";
|
|
5506
|
+
function type(): TypeDescriptor<ResetLockup>;
|
|
5507
|
+
}
|
|
5508
|
+
interface ResetLockupInstance extends TypedEventInstance<ResetLockup> {
|
|
5509
|
+
data_decoded: ResetLockup;
|
|
5510
|
+
type_arguments: [];
|
|
5511
|
+
}
|
|
4501
5512
|
interface ResetLockupEvent {
|
|
4502
5513
|
operator: MoveAddressType;
|
|
4503
5514
|
pool_address: MoveAddressType;
|
|
@@ -4565,6 +5576,19 @@ export declare namespace staking_contract {
|
|
|
4565
5576
|
const TYPE_QNAME = "0x1::staking_contract::Store";
|
|
4566
5577
|
function type(): TypeDescriptor<Store>;
|
|
4567
5578
|
}
|
|
5579
|
+
interface SwitchOperator {
|
|
5580
|
+
old_operator: MoveAddressType;
|
|
5581
|
+
new_operator: MoveAddressType;
|
|
5582
|
+
pool_address: MoveAddressType;
|
|
5583
|
+
}
|
|
5584
|
+
namespace SwitchOperator {
|
|
5585
|
+
const TYPE_QNAME = "0x1::staking_contract::SwitchOperator";
|
|
5586
|
+
function type(): TypeDescriptor<SwitchOperator>;
|
|
5587
|
+
}
|
|
5588
|
+
interface SwitchOperatorInstance extends TypedEventInstance<SwitchOperator> {
|
|
5589
|
+
data_decoded: SwitchOperator;
|
|
5590
|
+
type_arguments: [];
|
|
5591
|
+
}
|
|
4568
5592
|
interface SwitchOperatorEvent {
|
|
4569
5593
|
old_operator: MoveAddressType;
|
|
4570
5594
|
new_operator: MoveAddressType;
|
|
@@ -4578,6 +5602,20 @@ export declare namespace staking_contract {
|
|
|
4578
5602
|
data_decoded: SwitchOperatorEvent;
|
|
4579
5603
|
type_arguments: [];
|
|
4580
5604
|
}
|
|
5605
|
+
interface UnlockStake {
|
|
5606
|
+
operator: MoveAddressType;
|
|
5607
|
+
pool_address: MoveAddressType;
|
|
5608
|
+
amount: bigint;
|
|
5609
|
+
commission_paid: bigint;
|
|
5610
|
+
}
|
|
5611
|
+
namespace UnlockStake {
|
|
5612
|
+
const TYPE_QNAME = "0x1::staking_contract::UnlockStake";
|
|
5613
|
+
function type(): TypeDescriptor<UnlockStake>;
|
|
5614
|
+
}
|
|
5615
|
+
interface UnlockStakeInstance extends TypedEventInstance<UnlockStake> {
|
|
5616
|
+
data_decoded: UnlockStake;
|
|
5617
|
+
type_arguments: [];
|
|
5618
|
+
}
|
|
4581
5619
|
interface UnlockStakeEvent {
|
|
4582
5620
|
operator: MoveAddressType;
|
|
4583
5621
|
pool_address: MoveAddressType;
|
|
@@ -4592,6 +5630,20 @@ export declare namespace staking_contract {
|
|
|
4592
5630
|
data_decoded: UnlockStakeEvent;
|
|
4593
5631
|
type_arguments: [];
|
|
4594
5632
|
}
|
|
5633
|
+
interface UpdateCommission {
|
|
5634
|
+
staker: MoveAddressType;
|
|
5635
|
+
operator: MoveAddressType;
|
|
5636
|
+
old_commission_percentage: bigint;
|
|
5637
|
+
new_commission_percentage: bigint;
|
|
5638
|
+
}
|
|
5639
|
+
namespace UpdateCommission {
|
|
5640
|
+
const TYPE_QNAME = "0x1::staking_contract::UpdateCommission";
|
|
5641
|
+
function type(): TypeDescriptor<UpdateCommission>;
|
|
5642
|
+
}
|
|
5643
|
+
interface UpdateCommissionInstance extends TypedEventInstance<UpdateCommission> {
|
|
5644
|
+
data_decoded: UpdateCommission;
|
|
5645
|
+
type_arguments: [];
|
|
5646
|
+
}
|
|
4595
5647
|
interface UpdateCommissionEvent {
|
|
4596
5648
|
staker: MoveAddressType;
|
|
4597
5649
|
operator: MoveAddressType;
|
|
@@ -4606,6 +5658,20 @@ export declare namespace staking_contract {
|
|
|
4606
5658
|
data_decoded: UpdateCommissionEvent;
|
|
4607
5659
|
type_arguments: [];
|
|
4608
5660
|
}
|
|
5661
|
+
interface UpdateVoter {
|
|
5662
|
+
operator: MoveAddressType;
|
|
5663
|
+
pool_address: MoveAddressType;
|
|
5664
|
+
old_voter: MoveAddressType;
|
|
5665
|
+
new_voter: MoveAddressType;
|
|
5666
|
+
}
|
|
5667
|
+
namespace UpdateVoter {
|
|
5668
|
+
const TYPE_QNAME = "0x1::staking_contract::UpdateVoter";
|
|
5669
|
+
function type(): TypeDescriptor<UpdateVoter>;
|
|
5670
|
+
}
|
|
5671
|
+
interface UpdateVoterInstance extends TypedEventInstance<UpdateVoter> {
|
|
5672
|
+
data_decoded: UpdateVoter;
|
|
5673
|
+
type_arguments: [];
|
|
5674
|
+
}
|
|
4609
5675
|
interface UpdateVoterEvent {
|
|
4610
5676
|
operator: MoveAddressType;
|
|
4611
5677
|
pool_address: MoveAddressType;
|
|
@@ -4828,6 +5894,25 @@ export declare namespace transaction_context {
|
|
|
4828
5894
|
data_decoded: AUID;
|
|
4829
5895
|
type_arguments: [];
|
|
4830
5896
|
}
|
|
5897
|
+
interface EntryFunctionPayload {
|
|
5898
|
+
account_address: MoveAddressType;
|
|
5899
|
+
module_name: string;
|
|
5900
|
+
function_name: string;
|
|
5901
|
+
ty_args_names: string[];
|
|
5902
|
+
args: string[];
|
|
5903
|
+
}
|
|
5904
|
+
namespace EntryFunctionPayload {
|
|
5905
|
+
const TYPE_QNAME = "0x1::transaction_context::EntryFunctionPayload";
|
|
5906
|
+
function type(): TypeDescriptor<EntryFunctionPayload>;
|
|
5907
|
+
}
|
|
5908
|
+
interface MultisigPayload {
|
|
5909
|
+
multisig_address: MoveAddressType;
|
|
5910
|
+
entry_function_payload: option.Option<transaction_context.EntryFunctionPayload>;
|
|
5911
|
+
}
|
|
5912
|
+
namespace MultisigPayload {
|
|
5913
|
+
const TYPE_QNAME = "0x1::transaction_context::MultisigPayload";
|
|
5914
|
+
function type(): TypeDescriptor<MultisigPayload>;
|
|
5915
|
+
}
|
|
4831
5916
|
namespace entry { }
|
|
4832
5917
|
namespace view { }
|
|
4833
5918
|
}
|
|
@@ -5033,12 +6118,25 @@ export declare namespace primary_fungible_store {
|
|
|
5033
6118
|
typeArguments: [MoveStructId];
|
|
5034
6119
|
functionArguments: [object_.Object<T0>, MoveAddressType, bigint];
|
|
5035
6120
|
}, options?: InputGenerateTransactionOptions): Promise<PendingTransactionResponse>;
|
|
6121
|
+
function transferAssertMinimumDeposit<T0 = any>(client: Aptos, account: AptosAccount, request: {
|
|
6122
|
+
typeArguments: [MoveStructId];
|
|
6123
|
+
functionArguments: [
|
|
6124
|
+
object_.Object<T0>,
|
|
6125
|
+
MoveAddressType,
|
|
6126
|
+
bigint,
|
|
6127
|
+
bigint
|
|
6128
|
+
];
|
|
6129
|
+
}, options?: InputGenerateTransactionOptions): Promise<PendingTransactionResponse>;
|
|
5036
6130
|
}
|
|
5037
6131
|
namespace view {
|
|
5038
6132
|
function balance<T0 = any>(client: Aptos, request: {
|
|
5039
6133
|
typeArguments: [MoveStructId];
|
|
5040
6134
|
functionArguments: [MoveAddressType, object_.Object<T0>];
|
|
5041
6135
|
}, version?: bigint): Promise<[bigint]>;
|
|
6136
|
+
function isBalanceAtLeast<T0 = any>(client: Aptos, request: {
|
|
6137
|
+
typeArguments: [MoveStructId];
|
|
6138
|
+
functionArguments: [MoveAddressType, object_.Object<T0>, bigint];
|
|
6139
|
+
}, version?: bigint): Promise<[Boolean]>;
|
|
5042
6140
|
function isFrozen<T0 = any>(client: Aptos, request: {
|
|
5043
6141
|
typeArguments: [MoveStructId];
|
|
5044
6142
|
functionArguments: [MoveAddressType, object_.Object<T0>];
|
|
@@ -5073,6 +6171,47 @@ export declare namespace transaction_validation {
|
|
|
5073
6171
|
namespace entry { }
|
|
5074
6172
|
namespace view { }
|
|
5075
6173
|
}
|
|
6174
|
+
export declare namespace randomness_api_v0_config {
|
|
6175
|
+
interface AllowCustomMaxGasFlag {
|
|
6176
|
+
value: Boolean;
|
|
6177
|
+
}
|
|
6178
|
+
namespace AllowCustomMaxGasFlag {
|
|
6179
|
+
const TYPE_QNAME = "0x1::randomness_api_v0_config::AllowCustomMaxGasFlag";
|
|
6180
|
+
function type(): TypeDescriptor<AllowCustomMaxGasFlag>;
|
|
6181
|
+
}
|
|
6182
|
+
interface AllowCustomMaxGasFlagInstance extends TypedEventInstance<AllowCustomMaxGasFlag> {
|
|
6183
|
+
data_decoded: AllowCustomMaxGasFlag;
|
|
6184
|
+
type_arguments: [];
|
|
6185
|
+
}
|
|
6186
|
+
interface RequiredGasDeposit {
|
|
6187
|
+
gas_amount: option.Option<bigint>;
|
|
6188
|
+
}
|
|
6189
|
+
namespace RequiredGasDeposit {
|
|
6190
|
+
const TYPE_QNAME = "0x1::randomness_api_v0_config::RequiredGasDeposit";
|
|
6191
|
+
function type(): TypeDescriptor<RequiredGasDeposit>;
|
|
6192
|
+
}
|
|
6193
|
+
interface RequiredGasDepositInstance extends TypedEventInstance<RequiredGasDeposit> {
|
|
6194
|
+
data_decoded: RequiredGasDeposit;
|
|
6195
|
+
type_arguments: [];
|
|
6196
|
+
}
|
|
6197
|
+
namespace entry { }
|
|
6198
|
+
namespace view { }
|
|
6199
|
+
}
|
|
6200
|
+
export declare namespace randomness_config_seqnum {
|
|
6201
|
+
interface RandomnessConfigSeqNum {
|
|
6202
|
+
seq_num: bigint;
|
|
6203
|
+
}
|
|
6204
|
+
namespace RandomnessConfigSeqNum {
|
|
6205
|
+
const TYPE_QNAME = "0x1::randomness_config_seqnum::RandomnessConfigSeqNum";
|
|
6206
|
+
function type(): TypeDescriptor<RandomnessConfigSeqNum>;
|
|
6207
|
+
}
|
|
6208
|
+
interface RandomnessConfigSeqNumInstance extends TypedEventInstance<RandomnessConfigSeqNum> {
|
|
6209
|
+
data_decoded: RandomnessConfigSeqNum;
|
|
6210
|
+
type_arguments: [];
|
|
6211
|
+
}
|
|
6212
|
+
namespace entry { }
|
|
6213
|
+
namespace view { }
|
|
6214
|
+
}
|
|
5076
6215
|
export declare namespace reconfiguration_with_dkg {
|
|
5077
6216
|
namespace entry { }
|
|
5078
6217
|
namespace view { }
|
|
@@ -5109,5 +6248,35 @@ export declare namespace ristretto255_bulletproofs {
|
|
|
5109
6248
|
namespace entry { }
|
|
5110
6249
|
namespace view { }
|
|
5111
6250
|
}
|
|
6251
|
+
export declare namespace dispatchable_fungible_asset {
|
|
6252
|
+
interface TransferRefStore {
|
|
6253
|
+
transfer_ref: fungible_asset.TransferRef;
|
|
6254
|
+
}
|
|
6255
|
+
namespace TransferRefStore {
|
|
6256
|
+
const TYPE_QNAME = "0x1::dispatchable_fungible_asset::TransferRefStore";
|
|
6257
|
+
function type(): TypeDescriptor<TransferRefStore>;
|
|
6258
|
+
}
|
|
6259
|
+
namespace entry {
|
|
6260
|
+
function transfer<T0 = any>(client: Aptos, account: AptosAccount, request: {
|
|
6261
|
+
typeArguments: [MoveStructId];
|
|
6262
|
+
functionArguments: [object_.Object<T0>, object_.Object<T0>, bigint];
|
|
6263
|
+
}, options?: InputGenerateTransactionOptions): Promise<PendingTransactionResponse>;
|
|
6264
|
+
function transferAssertMinimumDeposit<T0 = any>(client: Aptos, account: AptosAccount, request: {
|
|
6265
|
+
typeArguments: [MoveStructId];
|
|
6266
|
+
functionArguments: [
|
|
6267
|
+
object_.Object<T0>,
|
|
6268
|
+
object_.Object<T0>,
|
|
6269
|
+
bigint,
|
|
6270
|
+
bigint
|
|
6271
|
+
];
|
|
6272
|
+
}, options?: InputGenerateTransactionOptions): Promise<PendingTransactionResponse>;
|
|
6273
|
+
}
|
|
6274
|
+
namespace view {
|
|
6275
|
+
function derivedBalance<T0 = any>(client: Aptos, request: {
|
|
6276
|
+
typeArguments: [MoveStructId];
|
|
6277
|
+
functionArguments: [object_.Object<T0>];
|
|
6278
|
+
}, version?: bigint): Promise<[bigint]>;
|
|
6279
|
+
}
|
|
6280
|
+
}
|
|
5112
6281
|
export declare function loadAllTypes(coder: MoveCoder): void;
|
|
5113
6282
|
//# sourceMappingURL=0x1.d.ts.map
|