@sentio/sdk 2.22.3-rc.2 → 2.22.3-rc.3
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/lib/aptos/builtin/0x1.d.ts +337 -338
- package/lib/aptos/builtin/0x1.d.ts.map +1 -1
- package/lib/aptos/builtin/0x1.js.map +1 -1
- package/lib/aptos/builtin/0x3.d.ts +52 -69
- package/lib/aptos/builtin/0x3.d.ts.map +1 -1
- package/lib/aptos/builtin/0x3.js.map +1 -1
- package/lib/aptos/codegen/codegen.js +0 -1
- package/lib/aptos/codegen/codegen.js.map +1 -1
- package/lib/move/abstract-codegen.d.ts.map +1 -1
- package/lib/move/abstract-codegen.js +2 -2
- package/lib/move/abstract-codegen.js.map +1 -1
- package/lib/sui/builtin/0x2.d.ts +72 -76
- package/lib/sui/builtin/0x2.d.ts.map +1 -1
- package/lib/sui/builtin/0x2.js.map +1 -1
- package/lib/sui/builtin/0x3.d.ts +155 -171
- package/lib/sui/builtin/0x3.d.ts.map +1 -1
- package/lib/sui/builtin/0x3.js.map +1 -1
- package/lib/sui/codegen/codegen.js +0 -2
- package/lib/sui/codegen/codegen.js.map +1 -1
- package/lib/sui/index.d.ts +0 -1
- package/lib/sui/index.d.ts.map +1 -1
- package/lib/sui/index.js.map +1 -1
- package/lib/sui/move-types.d.ts +0 -1
- package/lib/sui/move-types.d.ts.map +1 -1
- package/lib/sui/move-types.js.map +1 -1
- package/package.json +4 -4
- package/src/aptos/builtin/0x1.ts +337 -341
- package/src/aptos/builtin/0x3.ts +45 -61
- package/src/aptos/codegen/codegen.ts +0 -1
- package/src/move/abstract-codegen.ts +2 -2
- package/src/sui/builtin/0x1.ts +1 -1
- package/src/sui/builtin/0x2.ts +66 -76
- package/src/sui/builtin/0x3.ts +133 -144
- package/src/sui/codegen/codegen.ts +0 -2
- package/src/sui/index.ts +0 -1
- package/src/sui/move-types.ts +0 -2
@@ -1,9 +1,8 @@
|
|
1
1
|
import { CallFilter, TypeDescriptor, MoveFetchConfig } from "@sentio/sdk/move";
|
2
2
|
import { MoveCoder, AptosBindOptions, AptosBaseProcessor, TypedEventInstance, TypedFunctionPayload, AptosContext } from "@sentio/sdk/aptos";
|
3
|
-
import { Address } from "@sentio/sdk/aptos";
|
4
3
|
export declare namespace acl {
|
5
4
|
interface ACL {
|
6
|
-
list:
|
5
|
+
list: string[];
|
7
6
|
}
|
8
7
|
namespace ACL {
|
9
8
|
const TYPE_QNAME = "0x1::acl::ACL";
|
@@ -29,7 +28,7 @@ export declare class code extends AptosBaseProcessor {
|
|
29
28
|
}
|
30
29
|
export declare namespace code {
|
31
30
|
interface AllowedDep {
|
32
|
-
account:
|
31
|
+
account: string;
|
33
32
|
module_name: string;
|
34
33
|
}
|
35
34
|
namespace AllowedDep {
|
@@ -47,7 +46,7 @@ export declare namespace code {
|
|
47
46
|
function type(): TypeDescriptor<ModuleMetadata>;
|
48
47
|
}
|
49
48
|
interface PackageDep {
|
50
|
-
account:
|
49
|
+
account: string;
|
51
50
|
package_name: string;
|
52
51
|
}
|
53
52
|
namespace PackageDep {
|
@@ -183,16 +182,16 @@ export declare namespace coin {
|
|
183
182
|
data_decoded: WithdrawEvent;
|
184
183
|
type_arguments: [];
|
185
184
|
}
|
186
|
-
interface FreezeCoinStorePayload<T0 = any> extends TypedFunctionPayload<[
|
187
|
-
arguments_decoded: [
|
185
|
+
interface FreezeCoinStorePayload<T0 = any> extends TypedFunctionPayload<[string, string]> {
|
186
|
+
arguments_decoded: [string, string];
|
188
187
|
type_arguments: [string];
|
189
188
|
}
|
190
|
-
interface TransferPayload<T0 = any> extends TypedFunctionPayload<[
|
191
|
-
arguments_decoded: [
|
189
|
+
interface TransferPayload<T0 = any> extends TypedFunctionPayload<[string, bigint]> {
|
190
|
+
arguments_decoded: [string, bigint];
|
192
191
|
type_arguments: [string];
|
193
192
|
}
|
194
|
-
interface UnfreezeCoinStorePayload<T0 = any> extends TypedFunctionPayload<[
|
195
|
-
arguments_decoded: [
|
193
|
+
interface UnfreezeCoinStorePayload<T0 = any> extends TypedFunctionPayload<[string, string]> {
|
194
|
+
arguments_decoded: [string, string];
|
196
195
|
type_arguments: [string];
|
197
196
|
}
|
198
197
|
interface UpgradeSupplyPayload<T0 = any> extends TypedFunctionPayload<[]> {
|
@@ -210,7 +209,7 @@ export declare namespace guid {
|
|
210
209
|
}
|
211
210
|
interface ID {
|
212
211
|
creation_num: bigint;
|
213
|
-
addr:
|
212
|
+
addr: string;
|
214
213
|
}
|
215
214
|
namespace ID {
|
216
215
|
const TYPE_QNAME = "0x1::guid::ID";
|
@@ -238,12 +237,12 @@ export declare namespace block {
|
|
238
237
|
function type(): TypeDescriptor<BlockResource>;
|
239
238
|
}
|
240
239
|
interface NewBlockEvent {
|
241
|
-
hash:
|
240
|
+
hash: string;
|
242
241
|
epoch: bigint;
|
243
242
|
round: bigint;
|
244
243
|
height: bigint;
|
245
244
|
previous_block_votes_bitvec: string;
|
246
|
-
proposer:
|
245
|
+
proposer: string;
|
247
246
|
failed_proposer_indices: bigint[];
|
248
247
|
time_microseconds: bigint;
|
249
248
|
}
|
@@ -312,7 +311,7 @@ export declare class stake extends AptosBaseProcessor {
|
|
312
311
|
}
|
313
312
|
export declare namespace stake {
|
314
313
|
interface AddStakeEvent {
|
315
|
-
pool_address:
|
314
|
+
pool_address: string;
|
316
315
|
amount_added: bigint;
|
317
316
|
}
|
318
317
|
namespace AddStakeEvent {
|
@@ -324,7 +323,7 @@ export declare namespace stake {
|
|
324
323
|
type_arguments: [];
|
325
324
|
}
|
326
325
|
interface AllowedValidators {
|
327
|
-
accounts:
|
326
|
+
accounts: string[];
|
328
327
|
}
|
329
328
|
namespace AllowedValidators {
|
330
329
|
const TYPE_QNAME = "0x1::stake::AllowedValidators";
|
@@ -338,7 +337,7 @@ export declare namespace stake {
|
|
338
337
|
function type(): TypeDescriptor<AptosCoinCapabilities>;
|
339
338
|
}
|
340
339
|
interface DistributeRewardsEvent {
|
341
|
-
pool_address:
|
340
|
+
pool_address: string;
|
342
341
|
rewards_amount: bigint;
|
343
342
|
}
|
344
343
|
namespace DistributeRewardsEvent {
|
@@ -350,7 +349,7 @@ export declare namespace stake {
|
|
350
349
|
type_arguments: [];
|
351
350
|
}
|
352
351
|
interface IncreaseLockupEvent {
|
353
|
-
pool_address:
|
352
|
+
pool_address: string;
|
354
353
|
old_locked_until_secs: bigint;
|
355
354
|
new_locked_until_secs: bigint;
|
356
355
|
}
|
@@ -371,7 +370,7 @@ export declare namespace stake {
|
|
371
370
|
function type(): TypeDescriptor<IndividualValidatorPerformance>;
|
372
371
|
}
|
373
372
|
interface JoinValidatorSetEvent {
|
374
|
-
pool_address:
|
373
|
+
pool_address: string;
|
375
374
|
}
|
376
375
|
namespace JoinValidatorSetEvent {
|
377
376
|
const TYPE_QNAME = "0x1::stake::JoinValidatorSetEvent";
|
@@ -382,7 +381,7 @@ export declare namespace stake {
|
|
382
381
|
type_arguments: [];
|
383
382
|
}
|
384
383
|
interface LeaveValidatorSetEvent {
|
385
|
-
pool_address:
|
384
|
+
pool_address: string;
|
386
385
|
}
|
387
386
|
namespace LeaveValidatorSetEvent {
|
388
387
|
const TYPE_QNAME = "0x1::stake::LeaveValidatorSetEvent";
|
@@ -393,14 +392,14 @@ export declare namespace stake {
|
|
393
392
|
type_arguments: [];
|
394
393
|
}
|
395
394
|
interface OwnerCapability {
|
396
|
-
pool_address:
|
395
|
+
pool_address: string;
|
397
396
|
}
|
398
397
|
namespace OwnerCapability {
|
399
398
|
const TYPE_QNAME = "0x1::stake::OwnerCapability";
|
400
399
|
function type(): TypeDescriptor<OwnerCapability>;
|
401
400
|
}
|
402
401
|
interface ReactivateStakeEvent {
|
403
|
-
pool_address:
|
402
|
+
pool_address: string;
|
404
403
|
amount: bigint;
|
405
404
|
}
|
406
405
|
namespace ReactivateStakeEvent {
|
@@ -412,7 +411,7 @@ export declare namespace stake {
|
|
412
411
|
type_arguments: [];
|
413
412
|
}
|
414
413
|
interface RegisterValidatorCandidateEvent {
|
415
|
-
pool_address:
|
414
|
+
pool_address: string;
|
416
415
|
}
|
417
416
|
namespace RegisterValidatorCandidateEvent {
|
418
417
|
const TYPE_QNAME = "0x1::stake::RegisterValidatorCandidateEvent";
|
@@ -423,7 +422,7 @@ export declare namespace stake {
|
|
423
422
|
type_arguments: [];
|
424
423
|
}
|
425
424
|
interface RotateConsensusKeyEvent {
|
426
|
-
pool_address:
|
425
|
+
pool_address: string;
|
427
426
|
old_consensus_pubkey: string;
|
428
427
|
new_consensus_pubkey: string;
|
429
428
|
}
|
@@ -436,9 +435,9 @@ export declare namespace stake {
|
|
436
435
|
type_arguments: [];
|
437
436
|
}
|
438
437
|
interface SetOperatorEvent {
|
439
|
-
pool_address:
|
440
|
-
old_operator:
|
441
|
-
new_operator:
|
438
|
+
pool_address: string;
|
439
|
+
old_operator: string;
|
440
|
+
new_operator: string;
|
442
441
|
}
|
443
442
|
namespace SetOperatorEvent {
|
444
443
|
const TYPE_QNAME = "0x1::stake::SetOperatorEvent";
|
@@ -454,8 +453,8 @@ export declare namespace stake {
|
|
454
453
|
pending_active: coin.Coin<aptos_coin.AptosCoin>;
|
455
454
|
pending_inactive: coin.Coin<aptos_coin.AptosCoin>;
|
456
455
|
locked_until_secs: bigint;
|
457
|
-
operator_address:
|
458
|
-
delegated_voter:
|
456
|
+
operator_address: string;
|
457
|
+
delegated_voter: string;
|
459
458
|
initialize_validator_events: event.EventHandle<stake.RegisterValidatorCandidateEvent>;
|
460
459
|
set_operator_events: event.EventHandle<stake.SetOperatorEvent>;
|
461
460
|
add_stake_events: event.EventHandle<stake.AddStakeEvent>;
|
@@ -474,7 +473,7 @@ export declare namespace stake {
|
|
474
473
|
function type(): TypeDescriptor<StakePool>;
|
475
474
|
}
|
476
475
|
interface UnlockStakeEvent {
|
477
|
-
pool_address:
|
476
|
+
pool_address: string;
|
478
477
|
amount_unlocked: bigint;
|
479
478
|
}
|
480
479
|
namespace UnlockStakeEvent {
|
@@ -486,7 +485,7 @@ export declare namespace stake {
|
|
486
485
|
type_arguments: [];
|
487
486
|
}
|
488
487
|
interface UpdateNetworkAndFullnodeAddressesEvent {
|
489
|
-
pool_address:
|
488
|
+
pool_address: string;
|
490
489
|
old_network_addresses: string;
|
491
490
|
new_network_addresses: string;
|
492
491
|
old_fullnode_addresses: string;
|
@@ -511,14 +510,14 @@ export declare namespace stake {
|
|
511
510
|
function type(): TypeDescriptor<ValidatorConfig>;
|
512
511
|
}
|
513
512
|
interface ValidatorFees {
|
514
|
-
fees_table: table.Table<
|
513
|
+
fees_table: table.Table<string, coin.Coin<aptos_coin.AptosCoin>>;
|
515
514
|
}
|
516
515
|
namespace ValidatorFees {
|
517
516
|
const TYPE_QNAME = "0x1::stake::ValidatorFees";
|
518
517
|
function type(): TypeDescriptor<ValidatorFees>;
|
519
518
|
}
|
520
519
|
interface ValidatorInfo {
|
521
|
-
addr:
|
520
|
+
addr: string;
|
522
521
|
voting_power: bigint;
|
523
522
|
config: stake.ValidatorConfig;
|
524
523
|
}
|
@@ -546,7 +545,7 @@ export declare namespace stake {
|
|
546
545
|
function type(): TypeDescriptor<ValidatorSet>;
|
547
546
|
}
|
548
547
|
interface WithdrawStakeEvent {
|
549
|
-
pool_address:
|
548
|
+
pool_address: string;
|
550
549
|
amount_withdrawn: bigint;
|
551
550
|
}
|
552
551
|
namespace WithdrawStakeEvent {
|
@@ -565,44 +564,44 @@ export declare namespace stake {
|
|
565
564
|
arguments_decoded: [];
|
566
565
|
type_arguments: [];
|
567
566
|
}
|
568
|
-
interface InitializeStakeOwnerPayload extends TypedFunctionPayload<[bigint,
|
569
|
-
arguments_decoded: [bigint,
|
567
|
+
interface InitializeStakeOwnerPayload extends TypedFunctionPayload<[bigint, string, string]> {
|
568
|
+
arguments_decoded: [bigint, string, string];
|
570
569
|
type_arguments: [];
|
571
570
|
}
|
572
571
|
interface InitializeValidatorPayload extends TypedFunctionPayload<[string, string, string, string]> {
|
573
572
|
arguments_decoded: [string, string, string, string];
|
574
573
|
type_arguments: [];
|
575
574
|
}
|
576
|
-
interface JoinValidatorSetPayload extends TypedFunctionPayload<[
|
577
|
-
arguments_decoded: [
|
575
|
+
interface JoinValidatorSetPayload extends TypedFunctionPayload<[string]> {
|
576
|
+
arguments_decoded: [string];
|
578
577
|
type_arguments: [];
|
579
578
|
}
|
580
|
-
interface LeaveValidatorSetPayload extends TypedFunctionPayload<[
|
581
|
-
arguments_decoded: [
|
579
|
+
interface LeaveValidatorSetPayload extends TypedFunctionPayload<[string]> {
|
580
|
+
arguments_decoded: [string];
|
582
581
|
type_arguments: [];
|
583
582
|
}
|
584
583
|
interface ReactivateStakePayload extends TypedFunctionPayload<[bigint]> {
|
585
584
|
arguments_decoded: [bigint];
|
586
585
|
type_arguments: [];
|
587
586
|
}
|
588
|
-
interface RotateConsensusKeyPayload extends TypedFunctionPayload<[
|
589
|
-
arguments_decoded: [
|
587
|
+
interface RotateConsensusKeyPayload extends TypedFunctionPayload<[string, string, string]> {
|
588
|
+
arguments_decoded: [string, string, string];
|
590
589
|
type_arguments: [];
|
591
590
|
}
|
592
|
-
interface SetDelegatedVoterPayload extends TypedFunctionPayload<[
|
593
|
-
arguments_decoded: [
|
591
|
+
interface SetDelegatedVoterPayload extends TypedFunctionPayload<[string]> {
|
592
|
+
arguments_decoded: [string];
|
594
593
|
type_arguments: [];
|
595
594
|
}
|
596
|
-
interface SetOperatorPayload extends TypedFunctionPayload<[
|
597
|
-
arguments_decoded: [
|
595
|
+
interface SetOperatorPayload extends TypedFunctionPayload<[string]> {
|
596
|
+
arguments_decoded: [string];
|
598
597
|
type_arguments: [];
|
599
598
|
}
|
600
599
|
interface UnlockPayload extends TypedFunctionPayload<[bigint]> {
|
601
600
|
arguments_decoded: [bigint];
|
602
601
|
type_arguments: [];
|
603
602
|
}
|
604
|
-
interface UpdateNetworkAndFullnodeAddressesPayload extends TypedFunctionPayload<[
|
605
|
-
arguments_decoded: [
|
603
|
+
interface UpdateNetworkAndFullnodeAddressesPayload extends TypedFunctionPayload<[string, string, string]> {
|
604
|
+
arguments_decoded: [string, string, string];
|
606
605
|
type_arguments: [];
|
607
606
|
}
|
608
607
|
interface WithdrawPayload extends TypedFunctionPayload<[bigint]> {
|
@@ -619,7 +618,7 @@ export declare namespace table {
|
|
619
618
|
function type<T0>(arg0?: TypeDescriptor<T0>): TypeDescriptor<Box<T0>>;
|
620
619
|
}
|
621
620
|
interface Table<T0, T1> {
|
622
|
-
handle:
|
621
|
+
handle: string;
|
623
622
|
}
|
624
623
|
namespace Table {
|
625
624
|
const TYPE_QNAME = "0x1::table::Table";
|
@@ -636,7 +635,7 @@ export declare class object_ extends AptosBaseProcessor {
|
|
636
635
|
}
|
637
636
|
export declare namespace object_ {
|
638
637
|
interface ConstructorRef {
|
639
|
-
self:
|
638
|
+
self: string;
|
640
639
|
can_delete: Boolean;
|
641
640
|
}
|
642
641
|
namespace ConstructorRef {
|
@@ -644,29 +643,29 @@ export declare namespace object_ {
|
|
644
643
|
function type(): TypeDescriptor<ConstructorRef>;
|
645
644
|
}
|
646
645
|
interface DeleteRef {
|
647
|
-
self:
|
646
|
+
self: string;
|
648
647
|
}
|
649
648
|
namespace DeleteRef {
|
650
649
|
const TYPE_QNAME = "0x1::object::DeleteRef";
|
651
650
|
function type(): TypeDescriptor<DeleteRef>;
|
652
651
|
}
|
653
652
|
interface ExtendRef {
|
654
|
-
self:
|
653
|
+
self: string;
|
655
654
|
}
|
656
655
|
namespace ExtendRef {
|
657
656
|
const TYPE_QNAME = "0x1::object::ExtendRef";
|
658
657
|
function type(): TypeDescriptor<ExtendRef>;
|
659
658
|
}
|
660
659
|
interface LinearTransferRef {
|
661
|
-
self:
|
662
|
-
owner:
|
660
|
+
self: string;
|
661
|
+
owner: string;
|
663
662
|
}
|
664
663
|
namespace LinearTransferRef {
|
665
664
|
const TYPE_QNAME = "0x1::object::LinearTransferRef";
|
666
665
|
function type(): TypeDescriptor<LinearTransferRef>;
|
667
666
|
}
|
668
667
|
interface Object<T0> {
|
669
|
-
inner:
|
668
|
+
inner: string;
|
670
669
|
}
|
671
670
|
namespace Object {
|
672
671
|
const TYPE_QNAME = "0x1::object::Object";
|
@@ -674,7 +673,7 @@ export declare namespace object_ {
|
|
674
673
|
}
|
675
674
|
interface ObjectCore {
|
676
675
|
guid_creation_num: bigint;
|
677
|
-
owner:
|
676
|
+
owner: string;
|
678
677
|
allow_ungated_transfer: Boolean;
|
679
678
|
transfer_events: event.EventHandle<object_.TransferEvent>;
|
680
679
|
}
|
@@ -690,9 +689,9 @@ export declare namespace object_ {
|
|
690
689
|
function type(): TypeDescriptor<ObjectGroup>;
|
691
690
|
}
|
692
691
|
interface TransferEvent {
|
693
|
-
object:
|
694
|
-
from:
|
695
|
-
to:
|
692
|
+
object: string;
|
693
|
+
from: string;
|
694
|
+
to: string;
|
696
695
|
}
|
697
696
|
namespace TransferEvent {
|
698
697
|
const TYPE_QNAME = "0x1::object::TransferEvent";
|
@@ -703,14 +702,14 @@ export declare namespace object_ {
|
|
703
702
|
type_arguments: [];
|
704
703
|
}
|
705
704
|
interface TransferRef {
|
706
|
-
self:
|
705
|
+
self: string;
|
707
706
|
}
|
708
707
|
namespace TransferRef {
|
709
708
|
const TYPE_QNAME = "0x1::object::TransferRef";
|
710
709
|
function type(): TypeDescriptor<TransferRef>;
|
711
710
|
}
|
712
|
-
interface TransferCallPayload extends TypedFunctionPayload<[
|
713
|
-
arguments_decoded: [
|
711
|
+
interface TransferCallPayload extends TypedFunctionPayload<[string, string]> {
|
712
|
+
arguments_decoded: [string, string];
|
714
713
|
type_arguments: [];
|
715
714
|
}
|
716
715
|
}
|
@@ -761,7 +760,7 @@ export declare namespace voting {
|
|
761
760
|
type_arguments: [];
|
762
761
|
}
|
763
762
|
interface Proposal<T0> {
|
764
|
-
proposer:
|
763
|
+
proposer: string;
|
765
764
|
execution_content: option.Option<T0>;
|
766
765
|
metadata: simple_map.SimpleMap<string, string>;
|
767
766
|
creation_time_secs: bigint;
|
@@ -779,7 +778,7 @@ export declare namespace voting {
|
|
779
778
|
function type<T0>(arg0?: TypeDescriptor<T0>): TypeDescriptor<Proposal<T0>>;
|
780
779
|
}
|
781
780
|
interface RegisterForumEvent {
|
782
|
-
hosting_account:
|
781
|
+
hosting_account: string;
|
783
782
|
proposal_type_info: type_info.TypeInfo;
|
784
783
|
}
|
785
784
|
namespace RegisterForumEvent {
|
@@ -866,7 +865,7 @@ export declare namespace account {
|
|
866
865
|
function type(): TypeDescriptor<Account>;
|
867
866
|
}
|
868
867
|
interface CapabilityOffer<T0> {
|
869
|
-
for: option.Option<
|
868
|
+
for: option.Option<string>;
|
870
869
|
}
|
871
870
|
namespace CapabilityOffer {
|
872
871
|
const TYPE_QNAME = "0x1::account::CapabilityOffer";
|
@@ -896,14 +895,14 @@ export declare namespace account {
|
|
896
895
|
type_arguments: [];
|
897
896
|
}
|
898
897
|
interface OriginatingAddress {
|
899
|
-
address_map: table.Table<
|
898
|
+
address_map: table.Table<string, string>;
|
900
899
|
}
|
901
900
|
namespace OriginatingAddress {
|
902
901
|
const TYPE_QNAME = "0x1::account::OriginatingAddress";
|
903
902
|
function type(): TypeDescriptor<OriginatingAddress>;
|
904
903
|
}
|
905
904
|
interface RotationCapability {
|
906
|
-
account:
|
905
|
+
account: string;
|
907
906
|
}
|
908
907
|
namespace RotationCapability {
|
909
908
|
const TYPE_QNAME = "0x1::account::RotationCapability";
|
@@ -911,7 +910,7 @@ export declare namespace account {
|
|
911
910
|
}
|
912
911
|
interface RotationCapabilityOfferProofChallenge {
|
913
912
|
sequence_number: bigint;
|
914
|
-
recipient_address:
|
913
|
+
recipient_address: string;
|
915
914
|
}
|
916
915
|
namespace RotationCapabilityOfferProofChallenge {
|
917
916
|
const TYPE_QNAME = "0x1::account::RotationCapabilityOfferProofChallenge";
|
@@ -920,8 +919,8 @@ export declare namespace account {
|
|
920
919
|
interface RotationCapabilityOfferProofChallengeV2 {
|
921
920
|
chain_id: number;
|
922
921
|
sequence_number: bigint;
|
923
|
-
source_address:
|
924
|
-
recipient_address:
|
922
|
+
source_address: string;
|
923
|
+
recipient_address: string;
|
925
924
|
}
|
926
925
|
namespace RotationCapabilityOfferProofChallengeV2 {
|
927
926
|
const TYPE_QNAME = "0x1::account::RotationCapabilityOfferProofChallengeV2";
|
@@ -929,8 +928,8 @@ export declare namespace account {
|
|
929
928
|
}
|
930
929
|
interface RotationProofChallenge {
|
931
930
|
sequence_number: bigint;
|
932
|
-
originator:
|
933
|
-
current_auth_key:
|
931
|
+
originator: string;
|
932
|
+
current_auth_key: string;
|
934
933
|
new_public_key: string;
|
935
934
|
}
|
936
935
|
namespace RotationProofChallenge {
|
@@ -938,7 +937,7 @@ export declare namespace account {
|
|
938
937
|
function type(): TypeDescriptor<RotationProofChallenge>;
|
939
938
|
}
|
940
939
|
interface SignerCapability {
|
941
|
-
account:
|
940
|
+
account: string;
|
942
941
|
}
|
943
942
|
namespace SignerCapability {
|
944
943
|
const TYPE_QNAME = "0x1::account::SignerCapability";
|
@@ -946,7 +945,7 @@ export declare namespace account {
|
|
946
945
|
}
|
947
946
|
interface SignerCapabilityOfferProofChallenge {
|
948
947
|
sequence_number: bigint;
|
949
|
-
recipient_address:
|
948
|
+
recipient_address: string;
|
950
949
|
}
|
951
950
|
namespace SignerCapabilityOfferProofChallenge {
|
952
951
|
const TYPE_QNAME = "0x1::account::SignerCapabilityOfferProofChallenge";
|
@@ -954,19 +953,19 @@ export declare namespace account {
|
|
954
953
|
}
|
955
954
|
interface SignerCapabilityOfferProofChallengeV2 {
|
956
955
|
sequence_number: bigint;
|
957
|
-
source_address:
|
958
|
-
recipient_address:
|
956
|
+
source_address: string;
|
957
|
+
recipient_address: string;
|
959
958
|
}
|
960
959
|
namespace SignerCapabilityOfferProofChallengeV2 {
|
961
960
|
const TYPE_QNAME = "0x1::account::SignerCapabilityOfferProofChallengeV2";
|
962
961
|
function type(): TypeDescriptor<SignerCapabilityOfferProofChallengeV2>;
|
963
962
|
}
|
964
|
-
interface OfferRotationCapabilityPayload extends TypedFunctionPayload<[string, number, string,
|
965
|
-
arguments_decoded: [string, number, string,
|
963
|
+
interface OfferRotationCapabilityPayload extends TypedFunctionPayload<[string, number, string, string]> {
|
964
|
+
arguments_decoded: [string, number, string, string];
|
966
965
|
type_arguments: [];
|
967
966
|
}
|
968
|
-
interface OfferSignerCapabilityPayload extends TypedFunctionPayload<[string, number, string,
|
969
|
-
arguments_decoded: [string, number, string,
|
967
|
+
interface OfferSignerCapabilityPayload extends TypedFunctionPayload<[string, number, string, string]> {
|
968
|
+
arguments_decoded: [string, number, string, string];
|
970
969
|
type_arguments: [];
|
971
970
|
}
|
972
971
|
interface RevokeAnyRotationCapabilityPayload extends TypedFunctionPayload<[]> {
|
@@ -977,12 +976,12 @@ export declare namespace account {
|
|
977
976
|
arguments_decoded: [];
|
978
977
|
type_arguments: [];
|
979
978
|
}
|
980
|
-
interface RevokeRotationCapabilityPayload extends TypedFunctionPayload<[
|
981
|
-
arguments_decoded: [
|
979
|
+
interface RevokeRotationCapabilityPayload extends TypedFunctionPayload<[string]> {
|
980
|
+
arguments_decoded: [string];
|
982
981
|
type_arguments: [];
|
983
982
|
}
|
984
|
-
interface RevokeSignerCapabilityPayload extends TypedFunctionPayload<[
|
985
|
-
arguments_decoded: [
|
983
|
+
interface RevokeSignerCapabilityPayload extends TypedFunctionPayload<[string]> {
|
984
|
+
arguments_decoded: [string];
|
986
985
|
type_arguments: [];
|
987
986
|
}
|
988
987
|
interface RotateAuthenticationKeyPayload extends TypedFunctionPayload<[
|
@@ -996,8 +995,8 @@ export declare namespace account {
|
|
996
995
|
arguments_decoded: [number, string, number, string, string, string];
|
997
996
|
type_arguments: [];
|
998
997
|
}
|
999
|
-
interface RotateAuthenticationKeyWithRotationCapabilityPayload extends TypedFunctionPayload<[
|
1000
|
-
arguments_decoded: [
|
998
|
+
interface RotateAuthenticationKeyWithRotationCapabilityPayload extends TypedFunctionPayload<[string, number, string, string]> {
|
999
|
+
arguments_decoded: [string, number, string, string];
|
1001
1000
|
type_arguments: [];
|
1002
1001
|
}
|
1003
1002
|
}
|
@@ -1034,7 +1033,7 @@ export declare namespace ed25519 {
|
|
1034
1033
|
}
|
1035
1034
|
export declare namespace genesis {
|
1036
1035
|
interface AccountMap {
|
1037
|
-
account_address:
|
1036
|
+
account_address: string;
|
1038
1037
|
balance: bigint;
|
1039
1038
|
}
|
1040
1039
|
namespace AccountMap {
|
@@ -1042,20 +1041,20 @@ export declare namespace genesis {
|
|
1042
1041
|
function type(): TypeDescriptor<AccountMap>;
|
1043
1042
|
}
|
1044
1043
|
interface EmployeeAccountMap {
|
1045
|
-
accounts:
|
1044
|
+
accounts: string[];
|
1046
1045
|
validator: genesis.ValidatorConfigurationWithCommission;
|
1047
1046
|
vesting_schedule_numerator: bigint[];
|
1048
1047
|
vesting_schedule_denominator: bigint;
|
1049
|
-
beneficiary_resetter:
|
1048
|
+
beneficiary_resetter: string;
|
1050
1049
|
}
|
1051
1050
|
namespace EmployeeAccountMap {
|
1052
1051
|
const TYPE_QNAME = "0x1::genesis::EmployeeAccountMap";
|
1053
1052
|
function type(): TypeDescriptor<EmployeeAccountMap>;
|
1054
1053
|
}
|
1055
1054
|
interface ValidatorConfiguration {
|
1056
|
-
owner_address:
|
1057
|
-
operator_address:
|
1058
|
-
voter_address:
|
1055
|
+
owner_address: string;
|
1056
|
+
operator_address: string;
|
1057
|
+
voter_address: string;
|
1059
1058
|
stake_amount: bigint;
|
1060
1059
|
consensus_pubkey: string;
|
1061
1060
|
proof_of_possession: string;
|
@@ -1136,7 +1135,7 @@ export declare class vesting extends AptosBaseProcessor {
|
|
1136
1135
|
}
|
1137
1136
|
export declare namespace vesting {
|
1138
1137
|
interface AdminStore {
|
1139
|
-
vesting_contracts:
|
1138
|
+
vesting_contracts: string[];
|
1140
1139
|
nonce: bigint;
|
1141
1140
|
create_events: event.EventHandle<vesting.CreateVestingContractEvent>;
|
1142
1141
|
}
|
@@ -1145,8 +1144,8 @@ export declare namespace vesting {
|
|
1145
1144
|
function type(): TypeDescriptor<AdminStore>;
|
1146
1145
|
}
|
1147
1146
|
interface AdminWithdrawEvent {
|
1148
|
-
admin:
|
1149
|
-
vesting_contract_address:
|
1147
|
+
admin: string;
|
1148
|
+
vesting_contract_address: string;
|
1150
1149
|
amount: bigint;
|
1151
1150
|
}
|
1152
1151
|
namespace AdminWithdrawEvent {
|
@@ -1158,12 +1157,12 @@ export declare namespace vesting {
|
|
1158
1157
|
type_arguments: [];
|
1159
1158
|
}
|
1160
1159
|
interface CreateVestingContractEvent {
|
1161
|
-
operator:
|
1162
|
-
voter:
|
1160
|
+
operator: string;
|
1161
|
+
voter: string;
|
1163
1162
|
grant_amount: bigint;
|
1164
|
-
withdrawal_address:
|
1165
|
-
vesting_contract_address:
|
1166
|
-
staking_pool_address:
|
1163
|
+
withdrawal_address: string;
|
1164
|
+
vesting_contract_address: string;
|
1165
|
+
staking_pool_address: string;
|
1167
1166
|
commission_percentage: bigint;
|
1168
1167
|
}
|
1169
1168
|
namespace CreateVestingContractEvent {
|
@@ -1175,8 +1174,8 @@ export declare namespace vesting {
|
|
1175
1174
|
type_arguments: [];
|
1176
1175
|
}
|
1177
1176
|
interface DistributeEvent {
|
1178
|
-
admin:
|
1179
|
-
vesting_contract_address:
|
1177
|
+
admin: string;
|
1178
|
+
vesting_contract_address: string;
|
1180
1179
|
amount: bigint;
|
1181
1180
|
}
|
1182
1181
|
namespace DistributeEvent {
|
@@ -1188,9 +1187,9 @@ export declare namespace vesting {
|
|
1188
1187
|
type_arguments: [];
|
1189
1188
|
}
|
1190
1189
|
interface ResetLockupEvent {
|
1191
|
-
admin:
|
1192
|
-
vesting_contract_address:
|
1193
|
-
staking_pool_address:
|
1190
|
+
admin: string;
|
1191
|
+
vesting_contract_address: string;
|
1192
|
+
staking_pool_address: string;
|
1194
1193
|
new_lockup_expiration_secs: bigint;
|
1195
1194
|
}
|
1196
1195
|
namespace ResetLockupEvent {
|
@@ -1202,11 +1201,11 @@ export declare namespace vesting {
|
|
1202
1201
|
type_arguments: [];
|
1203
1202
|
}
|
1204
1203
|
interface SetBeneficiaryEvent {
|
1205
|
-
admin:
|
1206
|
-
vesting_contract_address:
|
1207
|
-
shareholder:
|
1208
|
-
old_beneficiary:
|
1209
|
-
new_beneficiary:
|
1204
|
+
admin: string;
|
1205
|
+
vesting_contract_address: string;
|
1206
|
+
shareholder: string;
|
1207
|
+
old_beneficiary: string;
|
1208
|
+
new_beneficiary: string;
|
1210
1209
|
}
|
1211
1210
|
namespace SetBeneficiaryEvent {
|
1212
1211
|
const TYPE_QNAME = "0x1::vesting::SetBeneficiaryEvent";
|
@@ -1217,9 +1216,9 @@ export declare namespace vesting {
|
|
1217
1216
|
type_arguments: [];
|
1218
1217
|
}
|
1219
1218
|
interface StakingInfo {
|
1220
|
-
pool_address:
|
1221
|
-
operator:
|
1222
|
-
voter:
|
1219
|
+
pool_address: string;
|
1220
|
+
operator: string;
|
1221
|
+
voter: string;
|
1223
1222
|
commission_percentage: bigint;
|
1224
1223
|
}
|
1225
1224
|
namespace StakingInfo {
|
@@ -1227,8 +1226,8 @@ export declare namespace vesting {
|
|
1227
1226
|
function type(): TypeDescriptor<StakingInfo>;
|
1228
1227
|
}
|
1229
1228
|
interface TerminateEvent {
|
1230
|
-
admin:
|
1231
|
-
vesting_contract_address:
|
1229
|
+
admin: string;
|
1230
|
+
vesting_contract_address: string;
|
1232
1231
|
}
|
1233
1232
|
namespace TerminateEvent {
|
1234
1233
|
const TYPE_QNAME = "0x1::vesting::TerminateEvent";
|
@@ -1239,9 +1238,9 @@ export declare namespace vesting {
|
|
1239
1238
|
type_arguments: [];
|
1240
1239
|
}
|
1241
1240
|
interface UnlockRewardsEvent {
|
1242
|
-
admin:
|
1243
|
-
vesting_contract_address:
|
1244
|
-
staking_pool_address:
|
1241
|
+
admin: string;
|
1242
|
+
vesting_contract_address: string;
|
1243
|
+
staking_pool_address: string;
|
1245
1244
|
amount: bigint;
|
1246
1245
|
}
|
1247
1246
|
namespace UnlockRewardsEvent {
|
@@ -1253,11 +1252,11 @@ export declare namespace vesting {
|
|
1253
1252
|
type_arguments: [];
|
1254
1253
|
}
|
1255
1254
|
interface UpdateOperatorEvent {
|
1256
|
-
admin:
|
1257
|
-
vesting_contract_address:
|
1258
|
-
staking_pool_address:
|
1259
|
-
old_operator:
|
1260
|
-
new_operator:
|
1255
|
+
admin: string;
|
1256
|
+
vesting_contract_address: string;
|
1257
|
+
staking_pool_address: string;
|
1258
|
+
old_operator: string;
|
1259
|
+
new_operator: string;
|
1261
1260
|
commission_percentage: bigint;
|
1262
1261
|
}
|
1263
1262
|
namespace UpdateOperatorEvent {
|
@@ -1269,11 +1268,11 @@ export declare namespace vesting {
|
|
1269
1268
|
type_arguments: [];
|
1270
1269
|
}
|
1271
1270
|
interface UpdateVoterEvent {
|
1272
|
-
admin:
|
1273
|
-
vesting_contract_address:
|
1274
|
-
staking_pool_address:
|
1275
|
-
old_voter:
|
1276
|
-
new_voter:
|
1271
|
+
admin: string;
|
1272
|
+
vesting_contract_address: string;
|
1273
|
+
staking_pool_address: string;
|
1274
|
+
old_voter: string;
|
1275
|
+
new_voter: string;
|
1277
1276
|
}
|
1278
1277
|
namespace UpdateVoterEvent {
|
1279
1278
|
const TYPE_QNAME = "0x1::vesting::UpdateVoterEvent";
|
@@ -1284,9 +1283,9 @@ export declare namespace vesting {
|
|
1284
1283
|
type_arguments: [];
|
1285
1284
|
}
|
1286
1285
|
interface VestEvent {
|
1287
|
-
admin:
|
1288
|
-
vesting_contract_address:
|
1289
|
-
staking_pool_address:
|
1286
|
+
admin: string;
|
1287
|
+
vesting_contract_address: string;
|
1288
|
+
staking_pool_address: string;
|
1290
1289
|
period_vested: bigint;
|
1291
1290
|
amount: bigint;
|
1292
1291
|
}
|
@@ -1299,7 +1298,7 @@ export declare namespace vesting {
|
|
1299
1298
|
type_arguments: [];
|
1300
1299
|
}
|
1301
1300
|
interface VestingAccountManagement {
|
1302
|
-
roles: simple_map.SimpleMap<string,
|
1301
|
+
roles: simple_map.SimpleMap<string, string>;
|
1303
1302
|
}
|
1304
1303
|
namespace VestingAccountManagement {
|
1305
1304
|
const TYPE_QNAME = "0x1::vesting::VestingAccountManagement";
|
@@ -1307,11 +1306,11 @@ export declare namespace vesting {
|
|
1307
1306
|
}
|
1308
1307
|
interface VestingContract {
|
1309
1308
|
state: bigint;
|
1310
|
-
admin:
|
1309
|
+
admin: string;
|
1311
1310
|
grant_pool: pool_u64.Pool;
|
1312
|
-
beneficiaries: simple_map.SimpleMap<
|
1311
|
+
beneficiaries: simple_map.SimpleMap<string, string>;
|
1313
1312
|
vesting_schedule: vesting.VestingSchedule;
|
1314
|
-
withdrawal_address:
|
1313
|
+
withdrawal_address: string;
|
1315
1314
|
staking: vesting.StakingInfo;
|
1316
1315
|
remaining_grant: bigint;
|
1317
1316
|
signer_cap: account.SignerCapability;
|
@@ -1339,68 +1338,68 @@ export declare namespace vesting {
|
|
1339
1338
|
const TYPE_QNAME = "0x1::vesting::VestingSchedule";
|
1340
1339
|
function type(): TypeDescriptor<VestingSchedule>;
|
1341
1340
|
}
|
1342
|
-
interface AdminWithdrawPayload extends TypedFunctionPayload<[
|
1343
|
-
arguments_decoded: [
|
1341
|
+
interface AdminWithdrawPayload extends TypedFunctionPayload<[string]> {
|
1342
|
+
arguments_decoded: [string];
|
1344
1343
|
type_arguments: [];
|
1345
1344
|
}
|
1346
|
-
interface DistributePayload extends TypedFunctionPayload<[
|
1347
|
-
arguments_decoded: [
|
1345
|
+
interface DistributePayload extends TypedFunctionPayload<[string]> {
|
1346
|
+
arguments_decoded: [string];
|
1348
1347
|
type_arguments: [];
|
1349
1348
|
}
|
1350
|
-
interface DistributeManyPayload extends TypedFunctionPayload<[
|
1351
|
-
arguments_decoded: [
|
1349
|
+
interface DistributeManyPayload extends TypedFunctionPayload<[string[]]> {
|
1350
|
+
arguments_decoded: [string[]];
|
1352
1351
|
type_arguments: [];
|
1353
1352
|
}
|
1354
|
-
interface ResetBeneficiaryPayload extends TypedFunctionPayload<[
|
1355
|
-
arguments_decoded: [
|
1353
|
+
interface ResetBeneficiaryPayload extends TypedFunctionPayload<[string, string]> {
|
1354
|
+
arguments_decoded: [string, string];
|
1356
1355
|
type_arguments: [];
|
1357
1356
|
}
|
1358
|
-
interface ResetLockupPayload extends TypedFunctionPayload<[
|
1359
|
-
arguments_decoded: [
|
1357
|
+
interface ResetLockupPayload extends TypedFunctionPayload<[string]> {
|
1358
|
+
arguments_decoded: [string];
|
1360
1359
|
type_arguments: [];
|
1361
1360
|
}
|
1362
|
-
interface SetBeneficiaryPayload extends TypedFunctionPayload<[
|
1363
|
-
arguments_decoded: [
|
1361
|
+
interface SetBeneficiaryPayload extends TypedFunctionPayload<[string, string, string]> {
|
1362
|
+
arguments_decoded: [string, string, string];
|
1364
1363
|
type_arguments: [];
|
1365
1364
|
}
|
1366
|
-
interface SetBeneficiaryResetterPayload extends TypedFunctionPayload<[
|
1367
|
-
arguments_decoded: [
|
1365
|
+
interface SetBeneficiaryResetterPayload extends TypedFunctionPayload<[string, string]> {
|
1366
|
+
arguments_decoded: [string, string];
|
1368
1367
|
type_arguments: [];
|
1369
1368
|
}
|
1370
|
-
interface SetManagementRolePayload extends TypedFunctionPayload<[
|
1371
|
-
arguments_decoded: [
|
1369
|
+
interface SetManagementRolePayload extends TypedFunctionPayload<[string, string, string]> {
|
1370
|
+
arguments_decoded: [string, string, string];
|
1372
1371
|
type_arguments: [];
|
1373
1372
|
}
|
1374
|
-
interface TerminateVestingContractPayload extends TypedFunctionPayload<[
|
1375
|
-
arguments_decoded: [
|
1373
|
+
interface TerminateVestingContractPayload extends TypedFunctionPayload<[string]> {
|
1374
|
+
arguments_decoded: [string];
|
1376
1375
|
type_arguments: [];
|
1377
1376
|
}
|
1378
|
-
interface UnlockRewardsPayload extends TypedFunctionPayload<[
|
1379
|
-
arguments_decoded: [
|
1377
|
+
interface UnlockRewardsPayload extends TypedFunctionPayload<[string]> {
|
1378
|
+
arguments_decoded: [string];
|
1380
1379
|
type_arguments: [];
|
1381
1380
|
}
|
1382
|
-
interface UnlockRewardsManyPayload extends TypedFunctionPayload<[
|
1383
|
-
arguments_decoded: [
|
1381
|
+
interface UnlockRewardsManyPayload extends TypedFunctionPayload<[string[]]> {
|
1382
|
+
arguments_decoded: [string[]];
|
1384
1383
|
type_arguments: [];
|
1385
1384
|
}
|
1386
|
-
interface UpdateOperatorPayload extends TypedFunctionPayload<[
|
1387
|
-
arguments_decoded: [
|
1385
|
+
interface UpdateOperatorPayload extends TypedFunctionPayload<[string, string, bigint]> {
|
1386
|
+
arguments_decoded: [string, string, bigint];
|
1388
1387
|
type_arguments: [];
|
1389
1388
|
}
|
1390
|
-
interface UpdateOperatorWithSameCommissionPayload extends TypedFunctionPayload<[
|
1391
|
-
arguments_decoded: [
|
1389
|
+
interface UpdateOperatorWithSameCommissionPayload extends TypedFunctionPayload<[string, string]> {
|
1390
|
+
arguments_decoded: [string, string];
|
1392
1391
|
type_arguments: [];
|
1393
1392
|
}
|
1394
|
-
interface UpdateVoterPayload extends TypedFunctionPayload<[
|
1395
|
-
arguments_decoded: [
|
1393
|
+
interface UpdateVoterPayload extends TypedFunctionPayload<[string, string]> {
|
1394
|
+
arguments_decoded: [string, string];
|
1396
1395
|
type_arguments: [];
|
1397
1396
|
}
|
1398
|
-
interface VestPayload extends TypedFunctionPayload<[
|
1399
|
-
arguments_decoded: [
|
1397
|
+
interface VestPayload extends TypedFunctionPayload<[string]> {
|
1398
|
+
arguments_decoded: [string];
|
1400
1399
|
type_arguments: [];
|
1401
1400
|
}
|
1402
|
-
interface VestManyPayload extends TypedFunctionPayload<[
|
1403
|
-
arguments_decoded: [
|
1401
|
+
interface VestManyPayload extends TypedFunctionPayload<[string[]]> {
|
1402
|
+
arguments_decoded: [string[]];
|
1404
1403
|
type_arguments: [];
|
1405
1404
|
}
|
1406
1405
|
}
|
@@ -1472,8 +1471,8 @@ export declare namespace pool_u64 {
|
|
1472
1471
|
shareholders_limit: bigint;
|
1473
1472
|
total_coins: bigint;
|
1474
1473
|
total_shares: bigint;
|
1475
|
-
shares: simple_map.SimpleMap<
|
1476
|
-
shareholders:
|
1474
|
+
shares: simple_map.SimpleMap<string, bigint>;
|
1475
|
+
shareholders: string[];
|
1477
1476
|
scaling_factor: bigint;
|
1478
1477
|
}
|
1479
1478
|
namespace Pool {
|
@@ -1508,7 +1507,7 @@ export declare namespace timestamp {
|
|
1508
1507
|
}
|
1509
1508
|
export declare namespace type_info {
|
1510
1509
|
interface TypeInfo {
|
1511
|
-
account_address:
|
1510
|
+
account_address: string;
|
1512
1511
|
module_name: string;
|
1513
1512
|
struct_name: string;
|
1514
1513
|
}
|
@@ -1519,8 +1518,8 @@ export declare namespace type_info {
|
|
1519
1518
|
}
|
1520
1519
|
export declare namespace aggregator {
|
1521
1520
|
interface Aggregator {
|
1522
|
-
handle:
|
1523
|
-
key:
|
1521
|
+
handle: string;
|
1522
|
+
key: string;
|
1524
1523
|
limit: bigint;
|
1525
1524
|
}
|
1526
1525
|
namespace Aggregator {
|
@@ -1545,7 +1544,7 @@ export declare namespace aptos_coin {
|
|
1545
1544
|
function type(): TypeDescriptor<AptosCoin>;
|
1546
1545
|
}
|
1547
1546
|
interface DelegatedMintCapability {
|
1548
|
-
to:
|
1547
|
+
to: string;
|
1549
1548
|
}
|
1550
1549
|
namespace DelegatedMintCapability {
|
1551
1550
|
const TYPE_QNAME = "0x1::aptos_coin::DelegatedMintCapability";
|
@@ -1569,12 +1568,12 @@ export declare namespace aptos_coin {
|
|
1569
1568
|
arguments_decoded: [];
|
1570
1569
|
type_arguments: [];
|
1571
1570
|
}
|
1572
|
-
interface DelegateMintCapabilityPayload extends TypedFunctionPayload<[
|
1573
|
-
arguments_decoded: [
|
1571
|
+
interface DelegateMintCapabilityPayload extends TypedFunctionPayload<[string, string]> {
|
1572
|
+
arguments_decoded: [string, string];
|
1574
1573
|
type_arguments: [];
|
1575
1574
|
}
|
1576
|
-
interface MintPayload extends TypedFunctionPayload<[
|
1577
|
-
arguments_decoded: [
|
1575
|
+
interface MintPayload extends TypedFunctionPayload<[string, bigint]> {
|
1576
|
+
arguments_decoded: [string, bigint];
|
1578
1577
|
type_arguments: [];
|
1579
1578
|
}
|
1580
1579
|
}
|
@@ -1602,28 +1601,28 @@ export declare namespace bit_vector {
|
|
1602
1601
|
}
|
1603
1602
|
export declare namespace capability {
|
1604
1603
|
interface Cap<T0> {
|
1605
|
-
root:
|
1604
|
+
root: string;
|
1606
1605
|
}
|
1607
1606
|
namespace Cap {
|
1608
1607
|
const TYPE_QNAME = "0x1::capability::Cap";
|
1609
1608
|
function type<T0>(arg0?: TypeDescriptor<T0>): TypeDescriptor<Cap<T0>>;
|
1610
1609
|
}
|
1611
1610
|
interface CapDelegateState<T0> {
|
1612
|
-
root:
|
1611
|
+
root: string;
|
1613
1612
|
}
|
1614
1613
|
namespace CapDelegateState {
|
1615
1614
|
const TYPE_QNAME = "0x1::capability::CapDelegateState";
|
1616
1615
|
function type<T0>(arg0?: TypeDescriptor<T0>): TypeDescriptor<CapDelegateState<T0>>;
|
1617
1616
|
}
|
1618
1617
|
interface CapState<T0> {
|
1619
|
-
delegates:
|
1618
|
+
delegates: string[];
|
1620
1619
|
}
|
1621
1620
|
namespace CapState {
|
1622
1621
|
const TYPE_QNAME = "0x1::capability::CapState";
|
1623
1622
|
function type<T0>(arg0?: TypeDescriptor<T0>): TypeDescriptor<CapState<T0>>;
|
1624
1623
|
}
|
1625
1624
|
interface LinearCap<T0> {
|
1626
|
-
root:
|
1625
|
+
root: string;
|
1627
1626
|
}
|
1628
1627
|
namespace LinearCap {
|
1629
1628
|
const TYPE_QNAME = "0x1::capability::LinearCap";
|
@@ -1800,8 +1799,8 @@ export declare namespace managed_coin {
|
|
1800
1799
|
arguments_decoded: [string, string, number, Boolean];
|
1801
1800
|
type_arguments: [string];
|
1802
1801
|
}
|
1803
|
-
interface MintPayload<T0 = any> extends TypedFunctionPayload<[
|
1804
|
-
arguments_decoded: [
|
1802
|
+
interface MintPayload<T0 = any> extends TypedFunctionPayload<[string, bigint]> {
|
1803
|
+
arguments_decoded: [string, bigint];
|
1805
1804
|
type_arguments: [string];
|
1806
1805
|
}
|
1807
1806
|
interface RegisterPayload<T0 = any> extends TypedFunctionPayload<[]> {
|
@@ -1876,28 +1875,28 @@ export declare namespace aptos_account {
|
|
1876
1875
|
const TYPE_QNAME = "0x1::aptos_account::DirectTransferConfig";
|
1877
1876
|
function type(): TypeDescriptor<DirectTransferConfig>;
|
1878
1877
|
}
|
1879
|
-
interface BatchTransferPayload extends TypedFunctionPayload<[
|
1880
|
-
arguments_decoded: [
|
1878
|
+
interface BatchTransferPayload extends TypedFunctionPayload<[string[], bigint[]]> {
|
1879
|
+
arguments_decoded: [string[], bigint[]];
|
1881
1880
|
type_arguments: [];
|
1882
1881
|
}
|
1883
|
-
interface BatchTransferCoinsPayload<T0 = any> extends TypedFunctionPayload<[
|
1884
|
-
arguments_decoded: [
|
1882
|
+
interface BatchTransferCoinsPayload<T0 = any> extends TypedFunctionPayload<[string[], bigint[]]> {
|
1883
|
+
arguments_decoded: [string[], bigint[]];
|
1885
1884
|
type_arguments: [string];
|
1886
1885
|
}
|
1887
|
-
interface CreateAccountPayload extends TypedFunctionPayload<[
|
1888
|
-
arguments_decoded: [
|
1886
|
+
interface CreateAccountPayload extends TypedFunctionPayload<[string]> {
|
1887
|
+
arguments_decoded: [string];
|
1889
1888
|
type_arguments: [];
|
1890
1889
|
}
|
1891
1890
|
interface SetAllowDirectCoinTransfersPayload extends TypedFunctionPayload<[Boolean]> {
|
1892
1891
|
arguments_decoded: [Boolean];
|
1893
1892
|
type_arguments: [];
|
1894
1893
|
}
|
1895
|
-
interface TransferPayload extends TypedFunctionPayload<[
|
1896
|
-
arguments_decoded: [
|
1894
|
+
interface TransferPayload extends TypedFunctionPayload<[string, bigint]> {
|
1895
|
+
arguments_decoded: [string, bigint];
|
1897
1896
|
type_arguments: [];
|
1898
1897
|
}
|
1899
|
-
interface TransferCoinsPayload<T0 = any> extends TypedFunctionPayload<[
|
1900
|
-
arguments_decoded: [
|
1898
|
+
interface TransferCoinsPayload<T0 = any> extends TypedFunctionPayload<[string, bigint]> {
|
1899
|
+
arguments_decoded: [string, bigint];
|
1901
1900
|
type_arguments: [string];
|
1902
1901
|
}
|
1903
1902
|
}
|
@@ -1948,36 +1947,36 @@ export declare class staking_proxy extends AptosBaseProcessor {
|
|
1948
1947
|
onEntrySetVoter(func: (call: staking_proxy.SetVoterPayload, ctx: AptosContext) => void, filter?: CallFilter, fetchConfig?: Partial<MoveFetchConfig>): staking_proxy;
|
1949
1948
|
}
|
1950
1949
|
export declare namespace staking_proxy {
|
1951
|
-
interface SetOperatorPayload extends TypedFunctionPayload<[
|
1952
|
-
arguments_decoded: [
|
1950
|
+
interface SetOperatorPayload extends TypedFunctionPayload<[string, string]> {
|
1951
|
+
arguments_decoded: [string, string];
|
1953
1952
|
type_arguments: [];
|
1954
1953
|
}
|
1955
|
-
interface SetStakePoolOperatorPayload extends TypedFunctionPayload<[
|
1956
|
-
arguments_decoded: [
|
1954
|
+
interface SetStakePoolOperatorPayload extends TypedFunctionPayload<[string]> {
|
1955
|
+
arguments_decoded: [string];
|
1957
1956
|
type_arguments: [];
|
1958
1957
|
}
|
1959
|
-
interface SetStakePoolVoterPayload extends TypedFunctionPayload<[
|
1960
|
-
arguments_decoded: [
|
1958
|
+
interface SetStakePoolVoterPayload extends TypedFunctionPayload<[string]> {
|
1959
|
+
arguments_decoded: [string];
|
1961
1960
|
type_arguments: [];
|
1962
1961
|
}
|
1963
|
-
interface SetStakingContractOperatorPayload extends TypedFunctionPayload<[
|
1964
|
-
arguments_decoded: [
|
1962
|
+
interface SetStakingContractOperatorPayload extends TypedFunctionPayload<[string, string]> {
|
1963
|
+
arguments_decoded: [string, string];
|
1965
1964
|
type_arguments: [];
|
1966
1965
|
}
|
1967
|
-
interface SetStakingContractVoterPayload extends TypedFunctionPayload<[
|
1968
|
-
arguments_decoded: [
|
1966
|
+
interface SetStakingContractVoterPayload extends TypedFunctionPayload<[string, string]> {
|
1967
|
+
arguments_decoded: [string, string];
|
1969
1968
|
type_arguments: [];
|
1970
1969
|
}
|
1971
|
-
interface SetVestingContractOperatorPayload extends TypedFunctionPayload<[
|
1972
|
-
arguments_decoded: [
|
1970
|
+
interface SetVestingContractOperatorPayload extends TypedFunctionPayload<[string, string]> {
|
1971
|
+
arguments_decoded: [string, string];
|
1973
1972
|
type_arguments: [];
|
1974
1973
|
}
|
1975
|
-
interface SetVestingContractVoterPayload extends TypedFunctionPayload<[
|
1976
|
-
arguments_decoded: [
|
1974
|
+
interface SetVestingContractVoterPayload extends TypedFunctionPayload<[string, string]> {
|
1975
|
+
arguments_decoded: [string, string];
|
1977
1976
|
type_arguments: [];
|
1978
1977
|
}
|
1979
|
-
interface SetVoterPayload extends TypedFunctionPayload<[
|
1980
|
-
arguments_decoded: [
|
1978
|
+
interface SetVoterPayload extends TypedFunctionPayload<[string, string]> {
|
1979
|
+
arguments_decoded: [string, string];
|
1981
1980
|
type_arguments: [];
|
1982
1981
|
}
|
1983
1982
|
}
|
@@ -2041,8 +2040,8 @@ export declare class delegation_pool extends AptosBaseProcessor {
|
|
2041
2040
|
}
|
2042
2041
|
export declare namespace delegation_pool {
|
2043
2042
|
interface AddStakeEvent {
|
2044
|
-
pool_address:
|
2045
|
-
delegator_address:
|
2043
|
+
pool_address: string;
|
2044
|
+
delegator_address: string;
|
2046
2045
|
amount_added: bigint;
|
2047
2046
|
add_stake_fee: bigint;
|
2048
2047
|
}
|
@@ -2058,7 +2057,7 @@ export declare namespace delegation_pool {
|
|
2058
2057
|
active_shares: pool_u64_unbound.Pool;
|
2059
2058
|
observed_lockup_cycle: delegation_pool.ObservedLockupCycle;
|
2060
2059
|
inactive_shares: table.Table<delegation_pool.ObservedLockupCycle, pool_u64_unbound.Pool>;
|
2061
|
-
pending_withdrawals: table.Table<
|
2060
|
+
pending_withdrawals: table.Table<string, delegation_pool.ObservedLockupCycle>;
|
2062
2061
|
stake_pool_signer_cap: account.SignerCapability;
|
2063
2062
|
total_coins_inactive: bigint;
|
2064
2063
|
operator_commission_percentage: bigint;
|
@@ -2073,15 +2072,15 @@ export declare namespace delegation_pool {
|
|
2073
2072
|
function type(): TypeDescriptor<DelegationPool>;
|
2074
2073
|
}
|
2075
2074
|
interface DelegationPoolOwnership {
|
2076
|
-
pool_address:
|
2075
|
+
pool_address: string;
|
2077
2076
|
}
|
2078
2077
|
namespace DelegationPoolOwnership {
|
2079
2078
|
const TYPE_QNAME = "0x1::delegation_pool::DelegationPoolOwnership";
|
2080
2079
|
function type(): TypeDescriptor<DelegationPoolOwnership>;
|
2081
2080
|
}
|
2082
2081
|
interface DistributeCommissionEvent {
|
2083
|
-
pool_address:
|
2084
|
-
operator:
|
2082
|
+
pool_address: string;
|
2083
|
+
operator: string;
|
2085
2084
|
commission_active: bigint;
|
2086
2085
|
commission_pending_inactive: bigint;
|
2087
2086
|
}
|
@@ -2101,8 +2100,8 @@ export declare namespace delegation_pool {
|
|
2101
2100
|
function type(): TypeDescriptor<ObservedLockupCycle>;
|
2102
2101
|
}
|
2103
2102
|
interface ReactivateStakeEvent {
|
2104
|
-
pool_address:
|
2105
|
-
delegator_address:
|
2103
|
+
pool_address: string;
|
2104
|
+
delegator_address: string;
|
2106
2105
|
amount_reactivated: bigint;
|
2107
2106
|
}
|
2108
2107
|
namespace ReactivateStakeEvent {
|
@@ -2114,8 +2113,8 @@ export declare namespace delegation_pool {
|
|
2114
2113
|
type_arguments: [];
|
2115
2114
|
}
|
2116
2115
|
interface UnlockStakeEvent {
|
2117
|
-
pool_address:
|
2118
|
-
delegator_address:
|
2116
|
+
pool_address: string;
|
2117
|
+
delegator_address: string;
|
2119
2118
|
amount_unlocked: bigint;
|
2120
2119
|
}
|
2121
2120
|
namespace UnlockStakeEvent {
|
@@ -2127,8 +2126,8 @@ export declare namespace delegation_pool {
|
|
2127
2126
|
type_arguments: [];
|
2128
2127
|
}
|
2129
2128
|
interface WithdrawStakeEvent {
|
2130
|
-
pool_address:
|
2131
|
-
delegator_address:
|
2129
|
+
pool_address: string;
|
2130
|
+
delegator_address: string;
|
2132
2131
|
amount_withdrawn: bigint;
|
2133
2132
|
}
|
2134
2133
|
namespace WithdrawStakeEvent {
|
@@ -2139,36 +2138,36 @@ export declare namespace delegation_pool {
|
|
2139
2138
|
data_decoded: WithdrawStakeEvent;
|
2140
2139
|
type_arguments: [];
|
2141
2140
|
}
|
2142
|
-
interface AddStakePayload extends TypedFunctionPayload<[
|
2143
|
-
arguments_decoded: [
|
2141
|
+
interface AddStakePayload extends TypedFunctionPayload<[string, bigint]> {
|
2142
|
+
arguments_decoded: [string, bigint];
|
2144
2143
|
type_arguments: [];
|
2145
2144
|
}
|
2146
2145
|
interface InitializeDelegationPoolPayload extends TypedFunctionPayload<[bigint, string]> {
|
2147
2146
|
arguments_decoded: [bigint, string];
|
2148
2147
|
type_arguments: [];
|
2149
2148
|
}
|
2150
|
-
interface ReactivateStakePayload extends TypedFunctionPayload<[
|
2151
|
-
arguments_decoded: [
|
2149
|
+
interface ReactivateStakePayload extends TypedFunctionPayload<[string, bigint]> {
|
2150
|
+
arguments_decoded: [string, bigint];
|
2152
2151
|
type_arguments: [];
|
2153
2152
|
}
|
2154
|
-
interface SetDelegatedVoterPayload extends TypedFunctionPayload<[
|
2155
|
-
arguments_decoded: [
|
2153
|
+
interface SetDelegatedVoterPayload extends TypedFunctionPayload<[string]> {
|
2154
|
+
arguments_decoded: [string];
|
2156
2155
|
type_arguments: [];
|
2157
2156
|
}
|
2158
|
-
interface SetOperatorPayload extends TypedFunctionPayload<[
|
2159
|
-
arguments_decoded: [
|
2157
|
+
interface SetOperatorPayload extends TypedFunctionPayload<[string]> {
|
2158
|
+
arguments_decoded: [string];
|
2160
2159
|
type_arguments: [];
|
2161
2160
|
}
|
2162
|
-
interface SynchronizeDelegationPoolPayload extends TypedFunctionPayload<[
|
2163
|
-
arguments_decoded: [
|
2161
|
+
interface SynchronizeDelegationPoolPayload extends TypedFunctionPayload<[string]> {
|
2162
|
+
arguments_decoded: [string];
|
2164
2163
|
type_arguments: [];
|
2165
2164
|
}
|
2166
|
-
interface UnlockPayload extends TypedFunctionPayload<[
|
2167
|
-
arguments_decoded: [
|
2165
|
+
interface UnlockPayload extends TypedFunctionPayload<[string, bigint]> {
|
2166
|
+
arguments_decoded: [string, bigint];
|
2168
2167
|
type_arguments: [];
|
2169
2168
|
}
|
2170
|
-
interface WithdrawPayload extends TypedFunctionPayload<[
|
2171
|
-
arguments_decoded: [
|
2169
|
+
interface WithdrawPayload extends TypedFunctionPayload<[string, bigint]> {
|
2170
|
+
arguments_decoded: [string, bigint];
|
2172
2171
|
type_arguments: [];
|
2173
2172
|
}
|
2174
2173
|
}
|
@@ -2217,7 +2216,7 @@ export declare namespace transaction_fee {
|
|
2217
2216
|
}
|
2218
2217
|
interface CollectedFeesPerBlock {
|
2219
2218
|
amount: coin.AggregatableCoin<aptos_coin.AptosCoin>;
|
2220
|
-
proposer: option.Option<
|
2219
|
+
proposer: option.Option<string>;
|
2221
2220
|
burn_percentage: number;
|
2222
2221
|
}
|
2223
2222
|
namespace CollectedFeesPerBlock {
|
@@ -2246,8 +2245,8 @@ export declare namespace aptos_governance {
|
|
2246
2245
|
function type(): TypeDescriptor<ApprovedExecutionHashes>;
|
2247
2246
|
}
|
2248
2247
|
interface CreateProposalEvent {
|
2249
|
-
proposer:
|
2250
|
-
stake_pool:
|
2248
|
+
proposer: string;
|
2249
|
+
stake_pool: string;
|
2251
2250
|
proposal_id: bigint;
|
2252
2251
|
execution_hash: string;
|
2253
2252
|
proposal_metadata: simple_map.SimpleMap<string, string>;
|
@@ -2279,14 +2278,14 @@ export declare namespace aptos_governance {
|
|
2279
2278
|
function type(): TypeDescriptor<GovernanceEvents>;
|
2280
2279
|
}
|
2281
2280
|
interface GovernanceResponsbility {
|
2282
|
-
signer_caps: simple_map.SimpleMap<
|
2281
|
+
signer_caps: simple_map.SimpleMap<string, account.SignerCapability>;
|
2283
2282
|
}
|
2284
2283
|
namespace GovernanceResponsbility {
|
2285
2284
|
const TYPE_QNAME = "0x1::aptos_governance::GovernanceResponsbility";
|
2286
2285
|
function type(): TypeDescriptor<GovernanceResponsbility>;
|
2287
2286
|
}
|
2288
2287
|
interface RecordKey {
|
2289
|
-
stake_pool:
|
2288
|
+
stake_pool: string;
|
2290
2289
|
proposal_id: bigint;
|
2291
2290
|
}
|
2292
2291
|
namespace RecordKey {
|
@@ -2308,8 +2307,8 @@ export declare namespace aptos_governance {
|
|
2308
2307
|
}
|
2309
2308
|
interface VoteEvent {
|
2310
2309
|
proposal_id: bigint;
|
2311
|
-
voter:
|
2312
|
-
stake_pool:
|
2310
|
+
voter: string;
|
2311
|
+
stake_pool: string;
|
2313
2312
|
num_votes: bigint;
|
2314
2313
|
should_pass: Boolean;
|
2315
2314
|
}
|
@@ -2332,16 +2331,16 @@ export declare namespace aptos_governance {
|
|
2332
2331
|
arguments_decoded: [bigint];
|
2333
2332
|
type_arguments: [];
|
2334
2333
|
}
|
2335
|
-
interface CreateProposalPayload extends TypedFunctionPayload<[
|
2336
|
-
arguments_decoded: [
|
2334
|
+
interface CreateProposalPayload extends TypedFunctionPayload<[string, string, string, string]> {
|
2335
|
+
arguments_decoded: [string, string, string, string];
|
2337
2336
|
type_arguments: [];
|
2338
2337
|
}
|
2339
|
-
interface CreateProposalV2Payload extends TypedFunctionPayload<[
|
2340
|
-
arguments_decoded: [
|
2338
|
+
interface CreateProposalV2Payload extends TypedFunctionPayload<[string, string, string, string, Boolean]> {
|
2339
|
+
arguments_decoded: [string, string, string, string, Boolean];
|
2341
2340
|
type_arguments: [];
|
2342
2341
|
}
|
2343
|
-
interface VotePayload extends TypedFunctionPayload<[
|
2344
|
-
arguments_decoded: [
|
2342
|
+
interface VotePayload extends TypedFunctionPayload<[string, bigint, Boolean]> {
|
2343
|
+
arguments_decoded: [string, bigint, Boolean];
|
2345
2344
|
type_arguments: [];
|
2346
2345
|
}
|
2347
2346
|
}
|
@@ -2385,7 +2384,7 @@ export declare class multisig_account extends AptosBaseProcessor {
|
|
2385
2384
|
}
|
2386
2385
|
export declare namespace multisig_account {
|
2387
2386
|
interface AddOwnersEvent {
|
2388
|
-
owners_added:
|
2387
|
+
owners_added: string[];
|
2389
2388
|
}
|
2390
2389
|
namespace AddOwnersEvent {
|
2391
2390
|
const TYPE_QNAME = "0x1::multisig_account::AddOwnersEvent";
|
@@ -2396,7 +2395,7 @@ export declare namespace multisig_account {
|
|
2396
2395
|
type_arguments: [];
|
2397
2396
|
}
|
2398
2397
|
interface CreateTransactionEvent {
|
2399
|
-
creator:
|
2398
|
+
creator: string;
|
2400
2399
|
sequence_number: bigint;
|
2401
2400
|
transaction: multisig_account.MultisigTransaction;
|
2402
2401
|
}
|
@@ -2411,7 +2410,7 @@ export declare namespace multisig_account {
|
|
2411
2410
|
interface ExecuteRejectedTransactionEvent {
|
2412
2411
|
sequence_number: bigint;
|
2413
2412
|
num_rejections: bigint;
|
2414
|
-
executor:
|
2413
|
+
executor: string;
|
2415
2414
|
}
|
2416
2415
|
namespace ExecuteRejectedTransactionEvent {
|
2417
2416
|
const TYPE_QNAME = "0x1::multisig_account::ExecuteRejectedTransactionEvent";
|
@@ -2443,7 +2442,7 @@ export declare namespace multisig_account {
|
|
2443
2442
|
type_arguments: [];
|
2444
2443
|
}
|
2445
2444
|
interface MultisigAccount {
|
2446
|
-
owners:
|
2445
|
+
owners: string[];
|
2447
2446
|
num_signatures_required: bigint;
|
2448
2447
|
transactions: table.Table<bigint, multisig_account.MultisigTransaction>;
|
2449
2448
|
last_executed_sequence_number: bigint;
|
@@ -2466,9 +2465,9 @@ export declare namespace multisig_account {
|
|
2466
2465
|
}
|
2467
2466
|
interface MultisigAccountCreationMessage {
|
2468
2467
|
chain_id: number;
|
2469
|
-
account_address:
|
2468
|
+
account_address: string;
|
2470
2469
|
sequence_number: bigint;
|
2471
|
-
owners:
|
2470
|
+
owners: string[];
|
2472
2471
|
num_signatures_required: bigint;
|
2473
2472
|
}
|
2474
2473
|
namespace MultisigAccountCreationMessage {
|
@@ -2478,8 +2477,8 @@ export declare namespace multisig_account {
|
|
2478
2477
|
interface MultisigTransaction {
|
2479
2478
|
payload: option.Option<string>;
|
2480
2479
|
payload_hash: option.Option<string>;
|
2481
|
-
votes: simple_map.SimpleMap<
|
2482
|
-
creator:
|
2480
|
+
votes: simple_map.SimpleMap<string, Boolean>;
|
2481
|
+
creator: string;
|
2483
2482
|
creation_time_secs: bigint;
|
2484
2483
|
}
|
2485
2484
|
namespace MultisigTransaction {
|
@@ -2487,7 +2486,7 @@ export declare namespace multisig_account {
|
|
2487
2486
|
function type(): TypeDescriptor<MultisigTransaction>;
|
2488
2487
|
}
|
2489
2488
|
interface RemoveOwnersEvent {
|
2490
|
-
owners_removed:
|
2489
|
+
owners_removed: string[];
|
2491
2490
|
}
|
2492
2491
|
namespace RemoveOwnersEvent {
|
2493
2492
|
const TYPE_QNAME = "0x1::multisig_account::RemoveOwnersEvent";
|
@@ -2498,7 +2497,7 @@ export declare namespace multisig_account {
|
|
2498
2497
|
type_arguments: [];
|
2499
2498
|
}
|
2500
2499
|
interface TransactionExecutionFailedEvent {
|
2501
|
-
executor:
|
2500
|
+
executor: string;
|
2502
2501
|
sequence_number: bigint;
|
2503
2502
|
transaction_payload: string;
|
2504
2503
|
num_approvals: bigint;
|
@@ -2513,7 +2512,7 @@ export declare namespace multisig_account {
|
|
2513
2512
|
type_arguments: [];
|
2514
2513
|
}
|
2515
2514
|
interface TransactionExecutionSucceededEvent {
|
2516
|
-
executor:
|
2515
|
+
executor: string;
|
2517
2516
|
sequence_number: bigint;
|
2518
2517
|
transaction_payload: string;
|
2519
2518
|
num_approvals: bigint;
|
@@ -2539,7 +2538,7 @@ export declare namespace multisig_account {
|
|
2539
2538
|
type_arguments: [];
|
2540
2539
|
}
|
2541
2540
|
interface VoteEvent {
|
2542
|
-
owner:
|
2541
|
+
owner: string;
|
2543
2542
|
sequence_number: bigint;
|
2544
2543
|
approved: Boolean;
|
2545
2544
|
}
|
@@ -2551,33 +2550,33 @@ export declare namespace multisig_account {
|
|
2551
2550
|
data_decoded: VoteEvent;
|
2552
2551
|
type_arguments: [];
|
2553
2552
|
}
|
2554
|
-
interface AddOwnerPayload extends TypedFunctionPayload<[
|
2555
|
-
arguments_decoded: [
|
2553
|
+
interface AddOwnerPayload extends TypedFunctionPayload<[string]> {
|
2554
|
+
arguments_decoded: [string];
|
2556
2555
|
type_arguments: [];
|
2557
2556
|
}
|
2558
|
-
interface AddOwnersPayload extends TypedFunctionPayload<[
|
2559
|
-
arguments_decoded: [
|
2557
|
+
interface AddOwnersPayload extends TypedFunctionPayload<[string[]]> {
|
2558
|
+
arguments_decoded: [string[]];
|
2560
2559
|
type_arguments: [];
|
2561
2560
|
}
|
2562
|
-
interface ApproveTransactionPayload extends TypedFunctionPayload<[
|
2563
|
-
arguments_decoded: [
|
2561
|
+
interface ApproveTransactionPayload extends TypedFunctionPayload<[string, bigint]> {
|
2562
|
+
arguments_decoded: [string, bigint];
|
2564
2563
|
type_arguments: [];
|
2565
2564
|
}
|
2566
2565
|
interface CreatePayload extends TypedFunctionPayload<[bigint, string[], string[]]> {
|
2567
2566
|
arguments_decoded: [bigint, string[], string[]];
|
2568
2567
|
type_arguments: [];
|
2569
2568
|
}
|
2570
|
-
interface CreateTransactionPayload extends TypedFunctionPayload<[
|
2571
|
-
arguments_decoded: [
|
2569
|
+
interface CreateTransactionPayload extends TypedFunctionPayload<[string, string]> {
|
2570
|
+
arguments_decoded: [string, string];
|
2572
2571
|
type_arguments: [];
|
2573
2572
|
}
|
2574
|
-
interface CreateTransactionWithHashPayload extends TypedFunctionPayload<[
|
2575
|
-
arguments_decoded: [
|
2573
|
+
interface CreateTransactionWithHashPayload extends TypedFunctionPayload<[string, string]> {
|
2574
|
+
arguments_decoded: [string, string];
|
2576
2575
|
type_arguments: [];
|
2577
2576
|
}
|
2578
2577
|
interface CreateWithExistingAccountPayload extends TypedFunctionPayload<[
|
2579
|
-
|
2580
|
-
|
2578
|
+
string,
|
2579
|
+
string[],
|
2581
2580
|
bigint,
|
2582
2581
|
number,
|
2583
2582
|
string,
|
@@ -2586,8 +2585,8 @@ export declare namespace multisig_account {
|
|
2586
2585
|
string[]
|
2587
2586
|
]> {
|
2588
2587
|
arguments_decoded: [
|
2589
|
-
|
2590
|
-
|
2588
|
+
string,
|
2589
|
+
string[],
|
2591
2590
|
bigint,
|
2592
2591
|
number,
|
2593
2592
|
string,
|
@@ -2597,24 +2596,24 @@ export declare namespace multisig_account {
|
|
2597
2596
|
];
|
2598
2597
|
type_arguments: [];
|
2599
2598
|
}
|
2600
|
-
interface CreateWithOwnersPayload extends TypedFunctionPayload<[
|
2601
|
-
arguments_decoded: [
|
2599
|
+
interface CreateWithOwnersPayload extends TypedFunctionPayload<[string[], bigint, string[], string[]]> {
|
2600
|
+
arguments_decoded: [string[], bigint, string[], string[]];
|
2602
2601
|
type_arguments: [];
|
2603
2602
|
}
|
2604
|
-
interface ExecuteRejectedTransactionPayload extends TypedFunctionPayload<[
|
2605
|
-
arguments_decoded: [
|
2603
|
+
interface ExecuteRejectedTransactionPayload extends TypedFunctionPayload<[string]> {
|
2604
|
+
arguments_decoded: [string];
|
2606
2605
|
type_arguments: [];
|
2607
2606
|
}
|
2608
|
-
interface RejectTransactionPayload extends TypedFunctionPayload<[
|
2609
|
-
arguments_decoded: [
|
2607
|
+
interface RejectTransactionPayload extends TypedFunctionPayload<[string, bigint]> {
|
2608
|
+
arguments_decoded: [string, bigint];
|
2610
2609
|
type_arguments: [];
|
2611
2610
|
}
|
2612
|
-
interface RemoveOwnerPayload extends TypedFunctionPayload<[
|
2613
|
-
arguments_decoded: [
|
2611
|
+
interface RemoveOwnerPayload extends TypedFunctionPayload<[string]> {
|
2612
|
+
arguments_decoded: [string];
|
2614
2613
|
type_arguments: [];
|
2615
2614
|
}
|
2616
|
-
interface RemoveOwnersPayload extends TypedFunctionPayload<[
|
2617
|
-
arguments_decoded: [
|
2615
|
+
interface RemoveOwnersPayload extends TypedFunctionPayload<[string[]]> {
|
2616
|
+
arguments_decoded: [string[]];
|
2618
2617
|
type_arguments: [];
|
2619
2618
|
}
|
2620
2619
|
interface UpdateMetadataPayload extends TypedFunctionPayload<[string[], string[]]> {
|
@@ -2625,8 +2624,8 @@ export declare namespace multisig_account {
|
|
2625
2624
|
arguments_decoded: [bigint];
|
2626
2625
|
type_arguments: [];
|
2627
2626
|
}
|
2628
|
-
interface VoteTransanctionPayload extends TypedFunctionPayload<[
|
2629
|
-
arguments_decoded: [
|
2627
|
+
interface VoteTransanctionPayload extends TypedFunctionPayload<[string, bigint, Boolean]> {
|
2628
|
+
arguments_decoded: [string, bigint, Boolean];
|
2630
2629
|
type_arguments: [];
|
2631
2630
|
}
|
2632
2631
|
}
|
@@ -2634,7 +2633,7 @@ export declare namespace pool_u64_unbound {
|
|
2634
2633
|
interface Pool {
|
2635
2634
|
total_coins: bigint;
|
2636
2635
|
total_shares: bigint;
|
2637
|
-
shares: table_with_length.TableWithLength<
|
2636
|
+
shares: table_with_length.TableWithLength<string, bigint>;
|
2638
2637
|
scaling_factor: bigint;
|
2639
2638
|
}
|
2640
2639
|
namespace Pool {
|
@@ -2652,7 +2651,7 @@ export declare class resource_account extends AptosBaseProcessor {
|
|
2652
2651
|
}
|
2653
2652
|
export declare namespace resource_account {
|
2654
2653
|
interface Container {
|
2655
|
-
store: simple_map.SimpleMap<
|
2654
|
+
store: simple_map.SimpleMap<string, account.SignerCapability>;
|
2656
2655
|
}
|
2657
2656
|
namespace Container {
|
2658
2657
|
const TYPE_QNAME = "0x1::resource_account::Container";
|
@@ -2699,8 +2698,8 @@ export declare class staking_contract extends AptosBaseProcessor {
|
|
2699
2698
|
}
|
2700
2699
|
export declare namespace staking_contract {
|
2701
2700
|
interface AddDistributionEvent {
|
2702
|
-
operator:
|
2703
|
-
pool_address:
|
2701
|
+
operator: string;
|
2702
|
+
pool_address: string;
|
2704
2703
|
amount: bigint;
|
2705
2704
|
}
|
2706
2705
|
namespace AddDistributionEvent {
|
@@ -2712,8 +2711,8 @@ export declare namespace staking_contract {
|
|
2712
2711
|
type_arguments: [];
|
2713
2712
|
}
|
2714
2713
|
interface AddStakeEvent {
|
2715
|
-
operator:
|
2716
|
-
pool_address:
|
2714
|
+
operator: string;
|
2715
|
+
pool_address: string;
|
2717
2716
|
amount: bigint;
|
2718
2717
|
}
|
2719
2718
|
namespace AddStakeEvent {
|
@@ -2725,9 +2724,9 @@ export declare namespace staking_contract {
|
|
2725
2724
|
type_arguments: [];
|
2726
2725
|
}
|
2727
2726
|
interface CreateStakingContractEvent {
|
2728
|
-
operator:
|
2729
|
-
voter:
|
2730
|
-
pool_address:
|
2727
|
+
operator: string;
|
2728
|
+
voter: string;
|
2729
|
+
pool_address: string;
|
2731
2730
|
principal: bigint;
|
2732
2731
|
commission_percentage: bigint;
|
2733
2732
|
}
|
@@ -2740,9 +2739,9 @@ export declare namespace staking_contract {
|
|
2740
2739
|
type_arguments: [];
|
2741
2740
|
}
|
2742
2741
|
interface DistributeEvent {
|
2743
|
-
operator:
|
2744
|
-
pool_address:
|
2745
|
-
recipient:
|
2742
|
+
operator: string;
|
2743
|
+
pool_address: string;
|
2744
|
+
recipient: string;
|
2746
2745
|
amount: bigint;
|
2747
2746
|
}
|
2748
2747
|
namespace DistributeEvent {
|
@@ -2754,8 +2753,8 @@ export declare namespace staking_contract {
|
|
2754
2753
|
type_arguments: [];
|
2755
2754
|
}
|
2756
2755
|
interface RequestCommissionEvent {
|
2757
|
-
operator:
|
2758
|
-
pool_address:
|
2756
|
+
operator: string;
|
2757
|
+
pool_address: string;
|
2759
2758
|
accumulated_rewards: bigint;
|
2760
2759
|
commission_amount: bigint;
|
2761
2760
|
}
|
@@ -2768,8 +2767,8 @@ export declare namespace staking_contract {
|
|
2768
2767
|
type_arguments: [];
|
2769
2768
|
}
|
2770
2769
|
interface ResetLockupEvent {
|
2771
|
-
operator:
|
2772
|
-
pool_address:
|
2770
|
+
operator: string;
|
2771
|
+
pool_address: string;
|
2773
2772
|
}
|
2774
2773
|
namespace ResetLockupEvent {
|
2775
2774
|
const TYPE_QNAME = "0x1::staking_contract::ResetLockupEvent";
|
@@ -2781,7 +2780,7 @@ export declare namespace staking_contract {
|
|
2781
2780
|
}
|
2782
2781
|
interface StakingContract {
|
2783
2782
|
principal: bigint;
|
2784
|
-
pool_address:
|
2783
|
+
pool_address: string;
|
2785
2784
|
owner_cap: stake.OwnerCapability;
|
2786
2785
|
commission_percentage: bigint;
|
2787
2786
|
distribution_pool: pool_u64.Pool;
|
@@ -2806,7 +2805,7 @@ export declare namespace staking_contract {
|
|
2806
2805
|
function type(): TypeDescriptor<StakingGroupUpdateCommissionEvent>;
|
2807
2806
|
}
|
2808
2807
|
interface Store {
|
2809
|
-
staking_contracts: simple_map.SimpleMap<
|
2808
|
+
staking_contracts: simple_map.SimpleMap<string, staking_contract.StakingContract>;
|
2810
2809
|
create_staking_contract_events: event.EventHandle<staking_contract.CreateStakingContractEvent>;
|
2811
2810
|
update_voter_events: event.EventHandle<staking_contract.UpdateVoterEvent>;
|
2812
2811
|
reset_lockup_events: event.EventHandle<staking_contract.ResetLockupEvent>;
|
@@ -2822,9 +2821,9 @@ export declare namespace staking_contract {
|
|
2822
2821
|
function type(): TypeDescriptor<Store>;
|
2823
2822
|
}
|
2824
2823
|
interface SwitchOperatorEvent {
|
2825
|
-
old_operator:
|
2826
|
-
new_operator:
|
2827
|
-
pool_address:
|
2824
|
+
old_operator: string;
|
2825
|
+
new_operator: string;
|
2826
|
+
pool_address: string;
|
2828
2827
|
}
|
2829
2828
|
namespace SwitchOperatorEvent {
|
2830
2829
|
const TYPE_QNAME = "0x1::staking_contract::SwitchOperatorEvent";
|
@@ -2835,8 +2834,8 @@ export declare namespace staking_contract {
|
|
2835
2834
|
type_arguments: [];
|
2836
2835
|
}
|
2837
2836
|
interface UnlockStakeEvent {
|
2838
|
-
operator:
|
2839
|
-
pool_address:
|
2837
|
+
operator: string;
|
2838
|
+
pool_address: string;
|
2840
2839
|
amount: bigint;
|
2841
2840
|
commission_paid: bigint;
|
2842
2841
|
}
|
@@ -2849,8 +2848,8 @@ export declare namespace staking_contract {
|
|
2849
2848
|
type_arguments: [];
|
2850
2849
|
}
|
2851
2850
|
interface UpdateCommissionEvent {
|
2852
|
-
staker:
|
2853
|
-
operator:
|
2851
|
+
staker: string;
|
2852
|
+
operator: string;
|
2854
2853
|
old_commission_percentage: bigint;
|
2855
2854
|
new_commission_percentage: bigint;
|
2856
2855
|
}
|
@@ -2863,10 +2862,10 @@ export declare namespace staking_contract {
|
|
2863
2862
|
type_arguments: [];
|
2864
2863
|
}
|
2865
2864
|
interface UpdateVoterEvent {
|
2866
|
-
operator:
|
2867
|
-
pool_address:
|
2868
|
-
old_voter:
|
2869
|
-
new_voter:
|
2865
|
+
operator: string;
|
2866
|
+
pool_address: string;
|
2867
|
+
old_voter: string;
|
2868
|
+
new_voter: string;
|
2870
2869
|
}
|
2871
2870
|
namespace UpdateVoterEvent {
|
2872
2871
|
const TYPE_QNAME = "0x1::staking_contract::UpdateVoterEvent";
|
@@ -2876,48 +2875,48 @@ export declare namespace staking_contract {
|
|
2876
2875
|
data_decoded: UpdateVoterEvent;
|
2877
2876
|
type_arguments: [];
|
2878
2877
|
}
|
2879
|
-
interface AddStakePayload extends TypedFunctionPayload<[
|
2880
|
-
arguments_decoded: [
|
2878
|
+
interface AddStakePayload extends TypedFunctionPayload<[string, bigint]> {
|
2879
|
+
arguments_decoded: [string, bigint];
|
2881
2880
|
type_arguments: [];
|
2882
2881
|
}
|
2883
|
-
interface CreateStakingContractPayload extends TypedFunctionPayload<[
|
2884
|
-
arguments_decoded: [
|
2882
|
+
interface CreateStakingContractPayload extends TypedFunctionPayload<[string, string, bigint, bigint, string]> {
|
2883
|
+
arguments_decoded: [string, string, bigint, bigint, string];
|
2885
2884
|
type_arguments: [];
|
2886
2885
|
}
|
2887
|
-
interface DistributePayload extends TypedFunctionPayload<[
|
2888
|
-
arguments_decoded: [
|
2886
|
+
interface DistributePayload extends TypedFunctionPayload<[string, string]> {
|
2887
|
+
arguments_decoded: [string, string];
|
2889
2888
|
type_arguments: [];
|
2890
2889
|
}
|
2891
|
-
interface RequestCommissionPayload extends TypedFunctionPayload<[
|
2892
|
-
arguments_decoded: [
|
2890
|
+
interface RequestCommissionPayload extends TypedFunctionPayload<[string, string]> {
|
2891
|
+
arguments_decoded: [string, string];
|
2893
2892
|
type_arguments: [];
|
2894
2893
|
}
|
2895
|
-
interface ResetLockupPayload extends TypedFunctionPayload<[
|
2896
|
-
arguments_decoded: [
|
2894
|
+
interface ResetLockupPayload extends TypedFunctionPayload<[string]> {
|
2895
|
+
arguments_decoded: [string];
|
2897
2896
|
type_arguments: [];
|
2898
2897
|
}
|
2899
|
-
interface SwitchOperatorPayload extends TypedFunctionPayload<[
|
2900
|
-
arguments_decoded: [
|
2898
|
+
interface SwitchOperatorPayload extends TypedFunctionPayload<[string, string, bigint]> {
|
2899
|
+
arguments_decoded: [string, string, bigint];
|
2901
2900
|
type_arguments: [];
|
2902
2901
|
}
|
2903
|
-
interface SwitchOperatorWithSameCommissionPayload extends TypedFunctionPayload<[
|
2904
|
-
arguments_decoded: [
|
2902
|
+
interface SwitchOperatorWithSameCommissionPayload extends TypedFunctionPayload<[string, string]> {
|
2903
|
+
arguments_decoded: [string, string];
|
2905
2904
|
type_arguments: [];
|
2906
2905
|
}
|
2907
|
-
interface UnlockRewardsPayload extends TypedFunctionPayload<[
|
2908
|
-
arguments_decoded: [
|
2906
|
+
interface UnlockRewardsPayload extends TypedFunctionPayload<[string]> {
|
2907
|
+
arguments_decoded: [string];
|
2909
2908
|
type_arguments: [];
|
2910
2909
|
}
|
2911
|
-
interface UnlockStakePayload extends TypedFunctionPayload<[
|
2912
|
-
arguments_decoded: [
|
2910
|
+
interface UnlockStakePayload extends TypedFunctionPayload<[string, bigint]> {
|
2911
|
+
arguments_decoded: [string, bigint];
|
2913
2912
|
type_arguments: [];
|
2914
2913
|
}
|
2915
|
-
interface UpdateCommisionPayload extends TypedFunctionPayload<[
|
2916
|
-
arguments_decoded: [
|
2914
|
+
interface UpdateCommisionPayload extends TypedFunctionPayload<[string, bigint]> {
|
2915
|
+
arguments_decoded: [string, bigint];
|
2917
2916
|
type_arguments: [];
|
2918
2917
|
}
|
2919
|
-
interface UpdateVoterPayload extends TypedFunctionPayload<[
|
2920
|
-
arguments_decoded: [
|
2918
|
+
interface UpdateVoterPayload extends TypedFunctionPayload<[string, string]> {
|
2919
|
+
arguments_decoded: [string, string];
|
2921
2920
|
type_arguments: [];
|
2922
2921
|
}
|
2923
2922
|
}
|
@@ -2934,7 +2933,7 @@ export declare namespace table_with_length {
|
|
2934
2933
|
}
|
2935
2934
|
export declare namespace aggregator_factory {
|
2936
2935
|
interface AggregatorFactory {
|
2937
|
-
phantom_table: table.Table<
|
2936
|
+
phantom_table: table.Table<string, bigint>;
|
2938
2937
|
}
|
2939
2938
|
namespace AggregatorFactory {
|
2940
2939
|
const TYPE_QNAME = "0x1::aggregator_factory::AggregatorFactory";
|
@@ -2971,7 +2970,7 @@ export declare namespace optional_aggregator {
|
|
2971
2970
|
export declare namespace transaction_context { }
|
2972
2971
|
export declare namespace transaction_validation {
|
2973
2972
|
interface TransactionValidation {
|
2974
|
-
module_addr:
|
2973
|
+
module_addr: string;
|
2975
2974
|
module_name: string;
|
2976
2975
|
script_prologue_name: string;
|
2977
2976
|
module_prologue_name: string;
|