@sentio/sdk 2.6.4-rc.2 → 2.7.0-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/lib/aptos/builtin/0x1.d.ts +594 -0
- package/lib/aptos/builtin/0x1.js +745 -1
- package/lib/aptos/builtin/0x1.js.map +1 -1
- package/lib/aptos/builtin/0x3.d.ts +147 -0
- package/lib/aptos/builtin/0x3.js +172 -1
- package/lib/aptos/builtin/0x3.js.map +1 -1
- package/lib/eth/builtin/internal/eacaggregatorproxy-processor.js +19 -19
- package/lib/eth/builtin/internal/eacaggregatorproxy-processor.js.map +1 -1
- package/lib/eth/builtin/internal/erc1155-processor.js +6 -6
- package/lib/eth/builtin/internal/erc1155-processor.js.map +1 -1
- package/lib/eth/builtin/internal/erc20-processor.js +9 -9
- package/lib/eth/builtin/internal/erc20-processor.js.map +1 -1
- package/lib/eth/builtin/internal/erc20bytes-processor.js +7 -7
- package/lib/eth/builtin/internal/erc20bytes-processor.js.map +1 -1
- package/lib/eth/builtin/internal/erc721-processor.js +10 -10
- package/lib/eth/builtin/internal/erc721-processor.js.map +1 -1
- package/lib/eth/builtin/internal/weth9-processor.js +7 -7
- package/lib/eth/builtin/internal/weth9-processor.js.map +1 -1
- package/lib/eth/codegen/file.js +1 -1
- package/lib/eth/codegen/file.js.map +1 -1
- package/lib/eth/codegen/view-function.js +1 -1
- package/lib/eth/codegen/view-function.js.map +1 -1
- package/lib/eth/eth.d.ts +2 -2
- package/lib/index.d.ts +3 -0
- package/lib/index.js +3 -0
- package/lib/index.js.map +1 -1
- package/package.json +5 -5
- package/src/aptos/abis/0x1.json +4709 -1388
- package/src/aptos/abis/0x3.json +633 -4
- package/src/aptos/builtin/0x1.ts +1852 -154
- package/src/aptos/builtin/0x3.ts +345 -1
- package/src/eth/builtin/internal/eacaggregatorproxy-processor.ts +18 -19
- package/src/eth/builtin/internal/erc1155-processor.ts +5 -6
- package/src/eth/builtin/internal/erc20-processor.ts +8 -9
- package/src/eth/builtin/internal/erc20bytes-processor.ts +6 -7
- package/src/eth/builtin/internal/erc721-processor.ts +9 -10
- package/src/eth/builtin/internal/weth9-processor.ts +6 -7
- package/src/eth/codegen/file.ts +1 -1
- package/src/eth/codegen/view-function.ts +1 -1
- package/src/index.ts +3 -0
@@ -76,6 +76,10 @@ export declare class coin extends AptosBaseProcessor {
|
|
76
76
|
onEventWithdrawEvent(func: (event: coin.WithdrawEventInstance, ctx: AptosContext) => void, fetchConfig?: MoveFetchConfig): coin;
|
77
77
|
}
|
78
78
|
export declare namespace coin {
|
79
|
+
class AggregatableCoin<T0> {
|
80
|
+
static TYPE_QNAME: string;
|
81
|
+
value: aggregator.Aggregator;
|
82
|
+
}
|
79
83
|
class BurnCapability<T0> {
|
80
84
|
static TYPE_QNAME: string;
|
81
85
|
dummy_field: Boolean;
|
@@ -384,6 +388,10 @@ export declare namespace stake {
|
|
384
388
|
fullnode_addresses: string;
|
385
389
|
validator_index: bigint;
|
386
390
|
}
|
391
|
+
class ValidatorFees {
|
392
|
+
static TYPE_QNAME: string;
|
393
|
+
fees_table: table.Table<Address, coin.Coin<aptos_coin.AptosCoin>>;
|
394
|
+
}
|
387
395
|
class ValidatorInfo {
|
388
396
|
static TYPE_QNAME: string;
|
389
397
|
addr: Address;
|
@@ -476,6 +484,66 @@ export declare namespace table {
|
|
476
484
|
}
|
477
485
|
}
|
478
486
|
export declare namespace math64 { }
|
487
|
+
export declare class object_ extends AptosBaseProcessor {
|
488
|
+
constructor(options: AptosBindOptions);
|
489
|
+
static DEFAULT_OPTIONS: AptosBindOptions;
|
490
|
+
static bind(options?: Partial<AptosBindOptions>): object_;
|
491
|
+
onEntryTransferCall(func: (call: object_.TransferCallPayload, ctx: AptosContext) => void, filter?: CallFilter, fetchConfig?: MoveFetchConfig): object_;
|
492
|
+
onEventTransferEvent(func: (event: object_.TransferEventInstance, ctx: AptosContext) => void, fetchConfig?: MoveFetchConfig): object_;
|
493
|
+
}
|
494
|
+
export declare namespace object_ {
|
495
|
+
class ConstructorRef {
|
496
|
+
static TYPE_QNAME: string;
|
497
|
+
self: Address;
|
498
|
+
can_delete: Boolean;
|
499
|
+
}
|
500
|
+
class DeleteRef {
|
501
|
+
static TYPE_QNAME: string;
|
502
|
+
self: Address;
|
503
|
+
}
|
504
|
+
class ExtendRef {
|
505
|
+
static TYPE_QNAME: string;
|
506
|
+
self: Address;
|
507
|
+
}
|
508
|
+
class LinearTransferRef {
|
509
|
+
static TYPE_QNAME: string;
|
510
|
+
self: Address;
|
511
|
+
owner: Address;
|
512
|
+
}
|
513
|
+
class Object<T0> {
|
514
|
+
static TYPE_QNAME: string;
|
515
|
+
inner: Address;
|
516
|
+
}
|
517
|
+
class ObjectCore {
|
518
|
+
static TYPE_QNAME: string;
|
519
|
+
guid_creation_num: bigint;
|
520
|
+
owner: Address;
|
521
|
+
allow_ungated_transfer: Boolean;
|
522
|
+
transfer_events: event.EventHandle<object_.TransferEvent>;
|
523
|
+
}
|
524
|
+
class ObjectGroup {
|
525
|
+
static TYPE_QNAME: string;
|
526
|
+
dummy_field: Boolean;
|
527
|
+
}
|
528
|
+
class TransferEvent {
|
529
|
+
static TYPE_QNAME: string;
|
530
|
+
object: Address;
|
531
|
+
from: Address;
|
532
|
+
to: Address;
|
533
|
+
}
|
534
|
+
interface TransferEventInstance extends TypedEventInstance<TransferEvent> {
|
535
|
+
data_decoded: TransferEvent;
|
536
|
+
type_arguments: [];
|
537
|
+
}
|
538
|
+
class TransferRef {
|
539
|
+
static TYPE_QNAME: string;
|
540
|
+
self: Address;
|
541
|
+
}
|
542
|
+
interface TransferCallPayload extends TypedFunctionPayload<[Address, Address]> {
|
543
|
+
arguments_decoded: [Address, Address];
|
544
|
+
type_arguments: [];
|
545
|
+
}
|
546
|
+
}
|
479
547
|
export declare namespace option {
|
480
548
|
class Option<T0> {
|
481
549
|
static TYPE_QNAME: string;
|
@@ -575,9 +643,14 @@ export declare class account extends AptosBaseProcessor {
|
|
575
643
|
constructor(options: AptosBindOptions);
|
576
644
|
static DEFAULT_OPTIONS: AptosBindOptions;
|
577
645
|
static bind(options?: Partial<AptosBindOptions>): account;
|
646
|
+
onEntryOfferRotationCapability(func: (call: account.OfferRotationCapabilityPayload, ctx: AptosContext) => void, filter?: CallFilter, fetchConfig?: MoveFetchConfig): account;
|
578
647
|
onEntryOfferSignerCapability(func: (call: account.OfferSignerCapabilityPayload, ctx: AptosContext) => void, filter?: CallFilter, fetchConfig?: MoveFetchConfig): account;
|
648
|
+
onEntryRevokeAnyRotationCapability(func: (call: account.RevokeAnyRotationCapabilityPayload, ctx: AptosContext) => void, filter?: CallFilter, fetchConfig?: MoveFetchConfig): account;
|
649
|
+
onEntryRevokeAnySignerCapability(func: (call: account.RevokeAnySignerCapabilityPayload, ctx: AptosContext) => void, filter?: CallFilter, fetchConfig?: MoveFetchConfig): account;
|
650
|
+
onEntryRevokeRotationCapability(func: (call: account.RevokeRotationCapabilityPayload, ctx: AptosContext) => void, filter?: CallFilter, fetchConfig?: MoveFetchConfig): account;
|
579
651
|
onEntryRevokeSignerCapability(func: (call: account.RevokeSignerCapabilityPayload, ctx: AptosContext) => void, filter?: CallFilter, fetchConfig?: MoveFetchConfig): account;
|
580
652
|
onEntryRotateAuthenticationKey(func: (call: account.RotateAuthenticationKeyPayload, ctx: AptosContext) => void, filter?: CallFilter, fetchConfig?: MoveFetchConfig): account;
|
653
|
+
onEntryRotateAuthenticationKeyWithRotationCapability(func: (call: account.RotateAuthenticationKeyWithRotationCapabilityPayload, ctx: AptosContext) => void, filter?: CallFilter, fetchConfig?: MoveFetchConfig): account;
|
581
654
|
onEventCoinRegisterEvent(func: (event: account.CoinRegisterEventInstance, ctx: AptosContext) => void, fetchConfig?: MoveFetchConfig): account;
|
582
655
|
onEventKeyRotationEvent(func: (event: account.KeyRotationEventInstance, ctx: AptosContext) => void, fetchConfig?: MoveFetchConfig): account;
|
583
656
|
}
|
@@ -626,6 +699,13 @@ export declare namespace account {
|
|
626
699
|
sequence_number: bigint;
|
627
700
|
recipient_address: Address;
|
628
701
|
}
|
702
|
+
class RotationCapabilityOfferProofChallengeV2 {
|
703
|
+
static TYPE_QNAME: string;
|
704
|
+
chain_id: number;
|
705
|
+
sequence_number: bigint;
|
706
|
+
source_address: Address;
|
707
|
+
recipient_address: Address;
|
708
|
+
}
|
629
709
|
class RotationProofChallenge {
|
630
710
|
static TYPE_QNAME: string;
|
631
711
|
sequence_number: bigint;
|
@@ -648,10 +728,26 @@ export declare namespace account {
|
|
648
728
|
source_address: Address;
|
649
729
|
recipient_address: Address;
|
650
730
|
}
|
731
|
+
interface OfferRotationCapabilityPayload extends TypedFunctionPayload<[string, number, string, Address]> {
|
732
|
+
arguments_decoded: [string, number, string, Address];
|
733
|
+
type_arguments: [];
|
734
|
+
}
|
651
735
|
interface OfferSignerCapabilityPayload extends TypedFunctionPayload<[string, number, string, Address]> {
|
652
736
|
arguments_decoded: [string, number, string, Address];
|
653
737
|
type_arguments: [];
|
654
738
|
}
|
739
|
+
interface RevokeAnyRotationCapabilityPayload extends TypedFunctionPayload<[]> {
|
740
|
+
arguments_decoded: [];
|
741
|
+
type_arguments: [];
|
742
|
+
}
|
743
|
+
interface RevokeAnySignerCapabilityPayload extends TypedFunctionPayload<[]> {
|
744
|
+
arguments_decoded: [];
|
745
|
+
type_arguments: [];
|
746
|
+
}
|
747
|
+
interface RevokeRotationCapabilityPayload extends TypedFunctionPayload<[Address]> {
|
748
|
+
arguments_decoded: [Address];
|
749
|
+
type_arguments: [];
|
750
|
+
}
|
655
751
|
interface RevokeSignerCapabilityPayload extends TypedFunctionPayload<[Address]> {
|
656
752
|
arguments_decoded: [Address];
|
657
753
|
type_arguments: [];
|
@@ -667,6 +763,10 @@ export declare namespace account {
|
|
667
763
|
arguments_decoded: [number, string, number, string, string, string];
|
668
764
|
type_arguments: [];
|
669
765
|
}
|
766
|
+
interface RotateAuthenticationKeyWithRotationCapabilityPayload extends TypedFunctionPayload<[Address, number, string, string]> {
|
767
|
+
arguments_decoded: [Address, number, string, string];
|
768
|
+
type_arguments: [];
|
769
|
+
}
|
670
770
|
}
|
671
771
|
export declare namespace ed25519 {
|
672
772
|
class Signature {
|
@@ -746,6 +846,7 @@ export declare class vesting extends AptosBaseProcessor {
|
|
746
846
|
static bind(options?: Partial<AptosBindOptions>): vesting;
|
747
847
|
onEntryAdminWithdraw(func: (call: vesting.AdminWithdrawPayload, ctx: AptosContext) => void, filter?: CallFilter, fetchConfig?: MoveFetchConfig): vesting;
|
748
848
|
onEntryDistribute(func: (call: vesting.DistributePayload, ctx: AptosContext) => void, filter?: CallFilter, fetchConfig?: MoveFetchConfig): vesting;
|
849
|
+
onEntryDistributeMany(func: (call: vesting.DistributeManyPayload, ctx: AptosContext) => void, filter?: CallFilter, fetchConfig?: MoveFetchConfig): vesting;
|
749
850
|
onEntryResetBeneficiary(func: (call: vesting.ResetBeneficiaryPayload, ctx: AptosContext) => void, filter?: CallFilter, fetchConfig?: MoveFetchConfig): vesting;
|
750
851
|
onEntryResetLockup(func: (call: vesting.ResetLockupPayload, ctx: AptosContext) => void, filter?: CallFilter, fetchConfig?: MoveFetchConfig): vesting;
|
751
852
|
onEntrySetBeneficiary(func: (call: vesting.SetBeneficiaryPayload, ctx: AptosContext) => void, filter?: CallFilter, fetchConfig?: MoveFetchConfig): vesting;
|
@@ -753,10 +854,12 @@ export declare class vesting extends AptosBaseProcessor {
|
|
753
854
|
onEntrySetManagementRole(func: (call: vesting.SetManagementRolePayload, ctx: AptosContext) => void, filter?: CallFilter, fetchConfig?: MoveFetchConfig): vesting;
|
754
855
|
onEntryTerminateVestingContract(func: (call: vesting.TerminateVestingContractPayload, ctx: AptosContext) => void, filter?: CallFilter, fetchConfig?: MoveFetchConfig): vesting;
|
755
856
|
onEntryUnlockRewards(func: (call: vesting.UnlockRewardsPayload, ctx: AptosContext) => void, filter?: CallFilter, fetchConfig?: MoveFetchConfig): vesting;
|
857
|
+
onEntryUnlockRewardsMany(func: (call: vesting.UnlockRewardsManyPayload, ctx: AptosContext) => void, filter?: CallFilter, fetchConfig?: MoveFetchConfig): vesting;
|
756
858
|
onEntryUpdateOperator(func: (call: vesting.UpdateOperatorPayload, ctx: AptosContext) => void, filter?: CallFilter, fetchConfig?: MoveFetchConfig): vesting;
|
757
859
|
onEntryUpdateOperatorWithSameCommission(func: (call: vesting.UpdateOperatorWithSameCommissionPayload, ctx: AptosContext) => void, filter?: CallFilter, fetchConfig?: MoveFetchConfig): vesting;
|
758
860
|
onEntryUpdateVoter(func: (call: vesting.UpdateVoterPayload, ctx: AptosContext) => void, filter?: CallFilter, fetchConfig?: MoveFetchConfig): vesting;
|
759
861
|
onEntryVest(func: (call: vesting.VestPayload, ctx: AptosContext) => void, filter?: CallFilter, fetchConfig?: MoveFetchConfig): vesting;
|
862
|
+
onEntryVestMany(func: (call: vesting.VestManyPayload, ctx: AptosContext) => void, filter?: CallFilter, fetchConfig?: MoveFetchConfig): vesting;
|
760
863
|
onEventCreateVestingContractEvent(func: (event: vesting.CreateVestingContractEventInstance, ctx: AptosContext) => void, fetchConfig?: MoveFetchConfig): vesting;
|
761
864
|
onEventUpdateOperatorEvent(func: (event: vesting.UpdateOperatorEventInstance, ctx: AptosContext) => void, fetchConfig?: MoveFetchConfig): vesting;
|
762
865
|
onEventUpdateVoterEvent(func: (event: vesting.UpdateVoterEventInstance, ctx: AptosContext) => void, fetchConfig?: MoveFetchConfig): vesting;
|
@@ -936,6 +1039,10 @@ export declare namespace vesting {
|
|
936
1039
|
arguments_decoded: [Address];
|
937
1040
|
type_arguments: [];
|
938
1041
|
}
|
1042
|
+
interface DistributeManyPayload extends TypedFunctionPayload<[Address[]]> {
|
1043
|
+
arguments_decoded: [Address[]];
|
1044
|
+
type_arguments: [];
|
1045
|
+
}
|
939
1046
|
interface ResetBeneficiaryPayload extends TypedFunctionPayload<[Address, Address]> {
|
940
1047
|
arguments_decoded: [Address, Address];
|
941
1048
|
type_arguments: [];
|
@@ -964,6 +1071,10 @@ export declare namespace vesting {
|
|
964
1071
|
arguments_decoded: [Address];
|
965
1072
|
type_arguments: [];
|
966
1073
|
}
|
1074
|
+
interface UnlockRewardsManyPayload extends TypedFunctionPayload<[Address[]]> {
|
1075
|
+
arguments_decoded: [Address[]];
|
1076
|
+
type_arguments: [];
|
1077
|
+
}
|
967
1078
|
interface UpdateOperatorPayload extends TypedFunctionPayload<[Address, Address, bigint]> {
|
968
1079
|
arguments_decoded: [Address, Address, bigint];
|
969
1080
|
type_arguments: [];
|
@@ -980,6 +1091,10 @@ export declare namespace vesting {
|
|
980
1091
|
arguments_decoded: [Address];
|
981
1092
|
type_arguments: [];
|
982
1093
|
}
|
1094
|
+
interface VestManyPayload extends TypedFunctionPayload<[Address[]]> {
|
1095
|
+
arguments_decoded: [Address[]];
|
1096
|
+
type_arguments: [];
|
1097
|
+
}
|
983
1098
|
}
|
984
1099
|
export declare namespace bls12381 {
|
985
1100
|
class AggrOrMultiSignature {
|
@@ -1102,6 +1217,14 @@ export declare namespace aptos_coin {
|
|
1102
1217
|
}
|
1103
1218
|
}
|
1104
1219
|
export declare namespace aptos_hash { }
|
1220
|
+
export declare namespace big_vector {
|
1221
|
+
class BigVector<T0> {
|
1222
|
+
static TYPE_QNAME: string;
|
1223
|
+
buckets: table_with_length.TableWithLength<bigint, T0[] | string>;
|
1224
|
+
end_index: bigint;
|
1225
|
+
bucket_size: bigint;
|
1226
|
+
}
|
1227
|
+
}
|
1105
1228
|
export declare namespace bit_vector {
|
1106
1229
|
class BitVector {
|
1107
1230
|
static TYPE_QNAME: string;
|
@@ -1133,6 +1256,7 @@ export declare namespace comparator {
|
|
1133
1256
|
inner: number;
|
1134
1257
|
}
|
1135
1258
|
}
|
1259
|
+
export declare namespace math_fixed { }
|
1136
1260
|
export declare namespace simple_map {
|
1137
1261
|
class Element<T0, T1> {
|
1138
1262
|
static TYPE_QNAME: string;
|
@@ -1144,6 +1268,23 @@ export declare namespace simple_map {
|
|
1144
1268
|
data: simple_map.Element<T0, T1>[];
|
1145
1269
|
}
|
1146
1270
|
}
|
1271
|
+
export declare namespace smart_table {
|
1272
|
+
class Entry<T0, T1> {
|
1273
|
+
static TYPE_QNAME: string;
|
1274
|
+
hash: bigint;
|
1275
|
+
key: T0;
|
1276
|
+
value: T1;
|
1277
|
+
}
|
1278
|
+
class SmartTable<T0, T1> {
|
1279
|
+
static TYPE_QNAME: string;
|
1280
|
+
buckets: table_with_length.TableWithLength<bigint, smart_table.Entry<T0, T1>[]>;
|
1281
|
+
num_buckets: bigint;
|
1282
|
+
level: number;
|
1283
|
+
size: bigint;
|
1284
|
+
split_load_threshold: number;
|
1285
|
+
target_bucket_size: bigint;
|
1286
|
+
}
|
1287
|
+
}
|
1147
1288
|
export declare namespace storage_gas {
|
1148
1289
|
class GasCurve {
|
1149
1290
|
static TYPE_QNAME: string;
|
@@ -1254,23 +1395,67 @@ export declare namespace ristretto255 {
|
|
1254
1395
|
data: string;
|
1255
1396
|
}
|
1256
1397
|
}
|
1398
|
+
export declare namespace smart_vector {
|
1399
|
+
class SmartVector<T0> {
|
1400
|
+
static TYPE_QNAME: string;
|
1401
|
+
inline_vec: T0[] | string;
|
1402
|
+
big_vec: big_vector.BigVector<T0>[];
|
1403
|
+
inline_capacity: option.Option<bigint>;
|
1404
|
+
bucket_size: option.Option<bigint>;
|
1405
|
+
}
|
1406
|
+
}
|
1257
1407
|
export declare class aptos_account extends AptosBaseProcessor {
|
1258
1408
|
constructor(options: AptosBindOptions);
|
1259
1409
|
static DEFAULT_OPTIONS: AptosBindOptions;
|
1260
1410
|
static bind(options?: Partial<AptosBindOptions>): aptos_account;
|
1411
|
+
onEntryBatchTransfer(func: (call: aptos_account.BatchTransferPayload, ctx: AptosContext) => void, filter?: CallFilter, fetchConfig?: MoveFetchConfig): aptos_account;
|
1412
|
+
onEntryBatchTransferCoins(func: (call: aptos_account.BatchTransferCoinsPayload, ctx: AptosContext) => void, filter?: CallFilter, fetchConfig?: MoveFetchConfig): aptos_account;
|
1261
1413
|
onEntryCreateAccount(func: (call: aptos_account.CreateAccountPayload, ctx: AptosContext) => void, filter?: CallFilter, fetchConfig?: MoveFetchConfig): aptos_account;
|
1414
|
+
onEntrySetAllowDirectCoinTransfers(func: (call: aptos_account.SetAllowDirectCoinTransfersPayload, ctx: AptosContext) => void, filter?: CallFilter, fetchConfig?: MoveFetchConfig): aptos_account;
|
1262
1415
|
onEntryTransfer(func: (call: aptos_account.TransferPayload, ctx: AptosContext) => void, filter?: CallFilter, fetchConfig?: MoveFetchConfig): aptos_account;
|
1416
|
+
onEntryTransferCoins(func: (call: aptos_account.TransferCoinsPayload, ctx: AptosContext) => void, filter?: CallFilter, fetchConfig?: MoveFetchConfig): aptos_account;
|
1417
|
+
onEventDirectCoinTransferConfigUpdatedEvent(func: (event: aptos_account.DirectCoinTransferConfigUpdatedEventInstance, ctx: AptosContext) => void, fetchConfig?: MoveFetchConfig): aptos_account;
|
1263
1418
|
}
|
1264
1419
|
export declare namespace aptos_account {
|
1420
|
+
class DirectCoinTransferConfigUpdatedEvent {
|
1421
|
+
static TYPE_QNAME: string;
|
1422
|
+
new_allow_direct_transfers: Boolean;
|
1423
|
+
}
|
1424
|
+
interface DirectCoinTransferConfigUpdatedEventInstance extends TypedEventInstance<DirectCoinTransferConfigUpdatedEvent> {
|
1425
|
+
data_decoded: DirectCoinTransferConfigUpdatedEvent;
|
1426
|
+
type_arguments: [];
|
1427
|
+
}
|
1428
|
+
class DirectTransferConfig {
|
1429
|
+
static TYPE_QNAME: string;
|
1430
|
+
allow_arbitrary_coin_transfers: Boolean;
|
1431
|
+
update_coin_transfer_events: event.EventHandle<aptos_account.DirectCoinTransferConfigUpdatedEvent>;
|
1432
|
+
}
|
1433
|
+
interface BatchTransferPayload extends TypedFunctionPayload<[Address[], bigint[]]> {
|
1434
|
+
arguments_decoded: [Address[], bigint[]];
|
1435
|
+
type_arguments: [];
|
1436
|
+
}
|
1437
|
+
interface BatchTransferCoinsPayload<T0 = any> extends TypedFunctionPayload<[Address[], bigint[]]> {
|
1438
|
+
arguments_decoded: [Address[], bigint[]];
|
1439
|
+
type_arguments: [string];
|
1440
|
+
}
|
1265
1441
|
interface CreateAccountPayload extends TypedFunctionPayload<[Address]> {
|
1266
1442
|
arguments_decoded: [Address];
|
1267
1443
|
type_arguments: [];
|
1268
1444
|
}
|
1445
|
+
interface SetAllowDirectCoinTransfersPayload extends TypedFunctionPayload<[Boolean]> {
|
1446
|
+
arguments_decoded: [Boolean];
|
1447
|
+
type_arguments: [];
|
1448
|
+
}
|
1269
1449
|
interface TransferPayload extends TypedFunctionPayload<[Address, bigint]> {
|
1270
1450
|
arguments_decoded: [Address, bigint];
|
1271
1451
|
type_arguments: [];
|
1272
1452
|
}
|
1453
|
+
interface TransferCoinsPayload<T0 = any> extends TypedFunctionPayload<[Address, bigint]> {
|
1454
|
+
arguments_decoded: [Address, bigint];
|
1455
|
+
type_arguments: [string];
|
1456
|
+
}
|
1273
1457
|
}
|
1458
|
+
export declare namespace create_signer { }
|
1274
1459
|
export declare namespace fixed_point32 {
|
1275
1460
|
class FixedPoint32 {
|
1276
1461
|
static TYPE_QNAME: string;
|
@@ -1366,6 +1551,133 @@ export declare namespace staking_config {
|
|
1366
1551
|
voting_power_increase_limit: bigint;
|
1367
1552
|
}
|
1368
1553
|
}
|
1554
|
+
export declare class delegation_pool extends AptosBaseProcessor {
|
1555
|
+
constructor(options: AptosBindOptions);
|
1556
|
+
static DEFAULT_OPTIONS: AptosBindOptions;
|
1557
|
+
static bind(options?: Partial<AptosBindOptions>): delegation_pool;
|
1558
|
+
onEntryAddStake(func: (call: delegation_pool.AddStakePayload, ctx: AptosContext) => void, filter?: CallFilter, fetchConfig?: MoveFetchConfig): delegation_pool;
|
1559
|
+
onEntryInitializeDelegationPool(func: (call: delegation_pool.InitializeDelegationPoolPayload, ctx: AptosContext) => void, filter?: CallFilter, fetchConfig?: MoveFetchConfig): delegation_pool;
|
1560
|
+
onEntryReactivateStake(func: (call: delegation_pool.ReactivateStakePayload, ctx: AptosContext) => void, filter?: CallFilter, fetchConfig?: MoveFetchConfig): delegation_pool;
|
1561
|
+
onEntrySetDelegatedVoter(func: (call: delegation_pool.SetDelegatedVoterPayload, ctx: AptosContext) => void, filter?: CallFilter, fetchConfig?: MoveFetchConfig): delegation_pool;
|
1562
|
+
onEntrySetOperator(func: (call: delegation_pool.SetOperatorPayload, ctx: AptosContext) => void, filter?: CallFilter, fetchConfig?: MoveFetchConfig): delegation_pool;
|
1563
|
+
onEntrySynchronizeDelegationPool(func: (call: delegation_pool.SynchronizeDelegationPoolPayload, ctx: AptosContext) => void, filter?: CallFilter, fetchConfig?: MoveFetchConfig): delegation_pool;
|
1564
|
+
onEntryUnlock(func: (call: delegation_pool.UnlockPayload, ctx: AptosContext) => void, filter?: CallFilter, fetchConfig?: MoveFetchConfig): delegation_pool;
|
1565
|
+
onEntryWithdraw(func: (call: delegation_pool.WithdrawPayload, ctx: AptosContext) => void, filter?: CallFilter, fetchConfig?: MoveFetchConfig): delegation_pool;
|
1566
|
+
onEventAddStakeEvent(func: (event: delegation_pool.AddStakeEventInstance, ctx: AptosContext) => void, fetchConfig?: MoveFetchConfig): delegation_pool;
|
1567
|
+
onEventReactivateStakeEvent(func: (event: delegation_pool.ReactivateStakeEventInstance, ctx: AptosContext) => void, fetchConfig?: MoveFetchConfig): delegation_pool;
|
1568
|
+
onEventUnlockStakeEvent(func: (event: delegation_pool.UnlockStakeEventInstance, ctx: AptosContext) => void, fetchConfig?: MoveFetchConfig): delegation_pool;
|
1569
|
+
onEventWithdrawStakeEvent(func: (event: delegation_pool.WithdrawStakeEventInstance, ctx: AptosContext) => void, fetchConfig?: MoveFetchConfig): delegation_pool;
|
1570
|
+
onEventDistributeCommissionEvent(func: (event: delegation_pool.DistributeCommissionEventInstance, ctx: AptosContext) => void, fetchConfig?: MoveFetchConfig): delegation_pool;
|
1571
|
+
}
|
1572
|
+
export declare namespace delegation_pool {
|
1573
|
+
class AddStakeEvent {
|
1574
|
+
static TYPE_QNAME: string;
|
1575
|
+
pool_address: Address;
|
1576
|
+
delegator_address: Address;
|
1577
|
+
amount_added: bigint;
|
1578
|
+
add_stake_fee: bigint;
|
1579
|
+
}
|
1580
|
+
interface AddStakeEventInstance extends TypedEventInstance<AddStakeEvent> {
|
1581
|
+
data_decoded: AddStakeEvent;
|
1582
|
+
type_arguments: [];
|
1583
|
+
}
|
1584
|
+
class DelegationPool {
|
1585
|
+
static TYPE_QNAME: string;
|
1586
|
+
active_shares: pool_u64_unbound.Pool;
|
1587
|
+
observed_lockup_cycle: delegation_pool.ObservedLockupCycle;
|
1588
|
+
inactive_shares: table.Table<delegation_pool.ObservedLockupCycle, pool_u64_unbound.Pool>;
|
1589
|
+
pending_withdrawals: table.Table<Address, delegation_pool.ObservedLockupCycle>;
|
1590
|
+
stake_pool_signer_cap: account.SignerCapability;
|
1591
|
+
total_coins_inactive: bigint;
|
1592
|
+
operator_commission_percentage: bigint;
|
1593
|
+
add_stake_events: event.EventHandle<delegation_pool.AddStakeEvent>;
|
1594
|
+
reactivate_stake_events: event.EventHandle<delegation_pool.ReactivateStakeEvent>;
|
1595
|
+
unlock_stake_events: event.EventHandle<delegation_pool.UnlockStakeEvent>;
|
1596
|
+
withdraw_stake_events: event.EventHandle<delegation_pool.WithdrawStakeEvent>;
|
1597
|
+
distribute_commission_events: event.EventHandle<delegation_pool.DistributeCommissionEvent>;
|
1598
|
+
}
|
1599
|
+
class DelegationPoolOwnership {
|
1600
|
+
static TYPE_QNAME: string;
|
1601
|
+
pool_address: Address;
|
1602
|
+
}
|
1603
|
+
class DistributeCommissionEvent {
|
1604
|
+
static TYPE_QNAME: string;
|
1605
|
+
pool_address: Address;
|
1606
|
+
operator: Address;
|
1607
|
+
commission_active: bigint;
|
1608
|
+
commission_pending_inactive: bigint;
|
1609
|
+
}
|
1610
|
+
interface DistributeCommissionEventInstance extends TypedEventInstance<DistributeCommissionEvent> {
|
1611
|
+
data_decoded: DistributeCommissionEvent;
|
1612
|
+
type_arguments: [];
|
1613
|
+
}
|
1614
|
+
class ObservedLockupCycle {
|
1615
|
+
static TYPE_QNAME: string;
|
1616
|
+
index: bigint;
|
1617
|
+
}
|
1618
|
+
class ReactivateStakeEvent {
|
1619
|
+
static TYPE_QNAME: string;
|
1620
|
+
pool_address: Address;
|
1621
|
+
delegator_address: Address;
|
1622
|
+
amount_reactivated: bigint;
|
1623
|
+
}
|
1624
|
+
interface ReactivateStakeEventInstance extends TypedEventInstance<ReactivateStakeEvent> {
|
1625
|
+
data_decoded: ReactivateStakeEvent;
|
1626
|
+
type_arguments: [];
|
1627
|
+
}
|
1628
|
+
class UnlockStakeEvent {
|
1629
|
+
static TYPE_QNAME: string;
|
1630
|
+
pool_address: Address;
|
1631
|
+
delegator_address: Address;
|
1632
|
+
amount_unlocked: bigint;
|
1633
|
+
}
|
1634
|
+
interface UnlockStakeEventInstance extends TypedEventInstance<UnlockStakeEvent> {
|
1635
|
+
data_decoded: UnlockStakeEvent;
|
1636
|
+
type_arguments: [];
|
1637
|
+
}
|
1638
|
+
class WithdrawStakeEvent {
|
1639
|
+
static TYPE_QNAME: string;
|
1640
|
+
pool_address: Address;
|
1641
|
+
delegator_address: Address;
|
1642
|
+
amount_withdrawn: bigint;
|
1643
|
+
}
|
1644
|
+
interface WithdrawStakeEventInstance extends TypedEventInstance<WithdrawStakeEvent> {
|
1645
|
+
data_decoded: WithdrawStakeEvent;
|
1646
|
+
type_arguments: [];
|
1647
|
+
}
|
1648
|
+
interface AddStakePayload extends TypedFunctionPayload<[Address, bigint]> {
|
1649
|
+
arguments_decoded: [Address, bigint];
|
1650
|
+
type_arguments: [];
|
1651
|
+
}
|
1652
|
+
interface InitializeDelegationPoolPayload extends TypedFunctionPayload<[bigint, string]> {
|
1653
|
+
arguments_decoded: [bigint, string];
|
1654
|
+
type_arguments: [];
|
1655
|
+
}
|
1656
|
+
interface ReactivateStakePayload extends TypedFunctionPayload<[Address, bigint]> {
|
1657
|
+
arguments_decoded: [Address, bigint];
|
1658
|
+
type_arguments: [];
|
1659
|
+
}
|
1660
|
+
interface SetDelegatedVoterPayload extends TypedFunctionPayload<[Address]> {
|
1661
|
+
arguments_decoded: [Address];
|
1662
|
+
type_arguments: [];
|
1663
|
+
}
|
1664
|
+
interface SetOperatorPayload extends TypedFunctionPayload<[Address]> {
|
1665
|
+
arguments_decoded: [Address];
|
1666
|
+
type_arguments: [];
|
1667
|
+
}
|
1668
|
+
interface SynchronizeDelegationPoolPayload extends TypedFunctionPayload<[Address]> {
|
1669
|
+
arguments_decoded: [Address];
|
1670
|
+
type_arguments: [];
|
1671
|
+
}
|
1672
|
+
interface UnlockPayload extends TypedFunctionPayload<[Address, bigint]> {
|
1673
|
+
arguments_decoded: [Address, bigint];
|
1674
|
+
type_arguments: [];
|
1675
|
+
}
|
1676
|
+
interface WithdrawPayload extends TypedFunctionPayload<[Address, bigint]> {
|
1677
|
+
arguments_decoded: [Address, bigint];
|
1678
|
+
type_arguments: [];
|
1679
|
+
}
|
1680
|
+
}
|
1369
1681
|
export declare class reconfiguration extends AptosBaseProcessor {
|
1370
1682
|
constructor(options: AptosBindOptions);
|
1371
1683
|
static DEFAULT_OPTIONS: AptosBindOptions;
|
@@ -1397,6 +1709,12 @@ export declare namespace transaction_fee {
|
|
1397
1709
|
static TYPE_QNAME: string;
|
1398
1710
|
burn_cap: coin.BurnCapability<aptos_coin.AptosCoin>;
|
1399
1711
|
}
|
1712
|
+
class CollectedFeesPerBlock {
|
1713
|
+
static TYPE_QNAME: string;
|
1714
|
+
amount: coin.AggregatableCoin<aptos_coin.AptosCoin>;
|
1715
|
+
proposer: option.Option<Address>;
|
1716
|
+
burn_percentage: number;
|
1717
|
+
}
|
1400
1718
|
}
|
1401
1719
|
export declare class aptos_governance extends AptosBaseProcessor {
|
1402
1720
|
constructor(options: AptosBindOptions);
|
@@ -1404,6 +1722,7 @@ export declare class aptos_governance extends AptosBaseProcessor {
|
|
1404
1722
|
static bind(options?: Partial<AptosBindOptions>): aptos_governance;
|
1405
1723
|
onEntryAddApprovedScriptHashScript(func: (call: aptos_governance.AddApprovedScriptHashScriptPayload, ctx: AptosContext) => void, filter?: CallFilter, fetchConfig?: MoveFetchConfig): aptos_governance;
|
1406
1724
|
onEntryCreateProposal(func: (call: aptos_governance.CreateProposalPayload, ctx: AptosContext) => void, filter?: CallFilter, fetchConfig?: MoveFetchConfig): aptos_governance;
|
1725
|
+
onEntryCreateProposalV2(func: (call: aptos_governance.CreateProposalV2Payload, ctx: AptosContext) => void, filter?: CallFilter, fetchConfig?: MoveFetchConfig): aptos_governance;
|
1407
1726
|
onEntryVote(func: (call: aptos_governance.VotePayload, ctx: AptosContext) => void, filter?: CallFilter, fetchConfig?: MoveFetchConfig): aptos_governance;
|
1408
1727
|
onEventCreateProposalEvent(func: (event: aptos_governance.CreateProposalEventInstance, ctx: AptosContext) => void, fetchConfig?: MoveFetchConfig): aptos_governance;
|
1409
1728
|
onEventUpdateConfigEvent(func: (event: aptos_governance.UpdateConfigEventInstance, ctx: AptosContext) => void, fetchConfig?: MoveFetchConfig): aptos_governance;
|
@@ -1481,6 +1800,10 @@ export declare namespace aptos_governance {
|
|
1481
1800
|
arguments_decoded: [Address, string, string, string];
|
1482
1801
|
type_arguments: [];
|
1483
1802
|
}
|
1803
|
+
interface CreateProposalV2Payload extends TypedFunctionPayload<[Address, string, string, string, Boolean]> {
|
1804
|
+
arguments_decoded: [Address, string, string, string, Boolean];
|
1805
|
+
type_arguments: [];
|
1806
|
+
}
|
1484
1807
|
interface VotePayload extends TypedFunctionPayload<[Address, bigint, Boolean]> {
|
1485
1808
|
arguments_decoded: [Address, bigint, Boolean];
|
1486
1809
|
type_arguments: [];
|
@@ -1492,6 +1815,252 @@ export declare namespace consensus_config {
|
|
1492
1815
|
config: string;
|
1493
1816
|
}
|
1494
1817
|
}
|
1818
|
+
export declare class multisig_account extends AptosBaseProcessor {
|
1819
|
+
constructor(options: AptosBindOptions);
|
1820
|
+
static DEFAULT_OPTIONS: AptosBindOptions;
|
1821
|
+
static bind(options?: Partial<AptosBindOptions>): multisig_account;
|
1822
|
+
onEntryAddOwner(func: (call: multisig_account.AddOwnerPayload, ctx: AptosContext) => void, filter?: CallFilter, fetchConfig?: MoveFetchConfig): multisig_account;
|
1823
|
+
onEntryAddOwners(func: (call: multisig_account.AddOwnersPayload, ctx: AptosContext) => void, filter?: CallFilter, fetchConfig?: MoveFetchConfig): multisig_account;
|
1824
|
+
onEntryApproveTransaction(func: (call: multisig_account.ApproveTransactionPayload, ctx: AptosContext) => void, filter?: CallFilter, fetchConfig?: MoveFetchConfig): multisig_account;
|
1825
|
+
onEntryCreate(func: (call: multisig_account.CreatePayload, ctx: AptosContext) => void, filter?: CallFilter, fetchConfig?: MoveFetchConfig): multisig_account;
|
1826
|
+
onEntryCreateTransaction(func: (call: multisig_account.CreateTransactionPayload, ctx: AptosContext) => void, filter?: CallFilter, fetchConfig?: MoveFetchConfig): multisig_account;
|
1827
|
+
onEntryCreateTransactionWithHash(func: (call: multisig_account.CreateTransactionWithHashPayload, ctx: AptosContext) => void, filter?: CallFilter, fetchConfig?: MoveFetchConfig): multisig_account;
|
1828
|
+
onEntryCreateWithExistingAccount(func: (call: multisig_account.CreateWithExistingAccountPayload, ctx: AptosContext) => void, filter?: CallFilter, fetchConfig?: MoveFetchConfig): multisig_account;
|
1829
|
+
onEntryCreateWithOwners(func: (call: multisig_account.CreateWithOwnersPayload, ctx: AptosContext) => void, filter?: CallFilter, fetchConfig?: MoveFetchConfig): multisig_account;
|
1830
|
+
onEntryExecuteRejectedTransaction(func: (call: multisig_account.ExecuteRejectedTransactionPayload, ctx: AptosContext) => void, filter?: CallFilter, fetchConfig?: MoveFetchConfig): multisig_account;
|
1831
|
+
onEntryRejectTransaction(func: (call: multisig_account.RejectTransactionPayload, ctx: AptosContext) => void, filter?: CallFilter, fetchConfig?: MoveFetchConfig): multisig_account;
|
1832
|
+
onEntryRemoveOwner(func: (call: multisig_account.RemoveOwnerPayload, ctx: AptosContext) => void, filter?: CallFilter, fetchConfig?: MoveFetchConfig): multisig_account;
|
1833
|
+
onEntryRemoveOwners(func: (call: multisig_account.RemoveOwnersPayload, ctx: AptosContext) => void, filter?: CallFilter, fetchConfig?: MoveFetchConfig): multisig_account;
|
1834
|
+
onEntryUpdateMetadata(func: (call: multisig_account.UpdateMetadataPayload, ctx: AptosContext) => void, filter?: CallFilter, fetchConfig?: MoveFetchConfig): multisig_account;
|
1835
|
+
onEntryUpdateSignaturesRequired(func: (call: multisig_account.UpdateSignaturesRequiredPayload, ctx: AptosContext) => void, filter?: CallFilter, fetchConfig?: MoveFetchConfig): multisig_account;
|
1836
|
+
onEntryVoteTransanction(func: (call: multisig_account.VoteTransanctionPayload, ctx: AptosContext) => void, filter?: CallFilter, fetchConfig?: MoveFetchConfig): multisig_account;
|
1837
|
+
onEventAddOwnersEvent(func: (event: multisig_account.AddOwnersEventInstance, ctx: AptosContext) => void, fetchConfig?: MoveFetchConfig): multisig_account;
|
1838
|
+
onEventRemoveOwnersEvent(func: (event: multisig_account.RemoveOwnersEventInstance, ctx: AptosContext) => void, fetchConfig?: MoveFetchConfig): multisig_account;
|
1839
|
+
onEventUpdateSignaturesRequiredEvent(func: (event: multisig_account.UpdateSignaturesRequiredEventInstance, ctx: AptosContext) => void, fetchConfig?: MoveFetchConfig): multisig_account;
|
1840
|
+
onEventCreateTransactionEvent(func: (event: multisig_account.CreateTransactionEventInstance, ctx: AptosContext) => void, fetchConfig?: MoveFetchConfig): multisig_account;
|
1841
|
+
onEventVoteEvent(func: (event: multisig_account.VoteEventInstance, ctx: AptosContext) => void, fetchConfig?: MoveFetchConfig): multisig_account;
|
1842
|
+
onEventExecuteRejectedTransactionEvent(func: (event: multisig_account.ExecuteRejectedTransactionEventInstance, ctx: AptosContext) => void, fetchConfig?: MoveFetchConfig): multisig_account;
|
1843
|
+
onEventTransactionExecutionSucceededEvent(func: (event: multisig_account.TransactionExecutionSucceededEventInstance, ctx: AptosContext) => void, fetchConfig?: MoveFetchConfig): multisig_account;
|
1844
|
+
onEventTransactionExecutionFailedEvent(func: (event: multisig_account.TransactionExecutionFailedEventInstance, ctx: AptosContext) => void, fetchConfig?: MoveFetchConfig): multisig_account;
|
1845
|
+
onEventMetadataUpdatedEvent(func: (event: multisig_account.MetadataUpdatedEventInstance, ctx: AptosContext) => void, fetchConfig?: MoveFetchConfig): multisig_account;
|
1846
|
+
}
|
1847
|
+
export declare namespace multisig_account {
|
1848
|
+
class AddOwnersEvent {
|
1849
|
+
static TYPE_QNAME: string;
|
1850
|
+
owners_added: Address[];
|
1851
|
+
}
|
1852
|
+
interface AddOwnersEventInstance extends TypedEventInstance<AddOwnersEvent> {
|
1853
|
+
data_decoded: AddOwnersEvent;
|
1854
|
+
type_arguments: [];
|
1855
|
+
}
|
1856
|
+
class CreateTransactionEvent {
|
1857
|
+
static TYPE_QNAME: string;
|
1858
|
+
creator: Address;
|
1859
|
+
sequence_number: bigint;
|
1860
|
+
transaction: multisig_account.MultisigTransaction;
|
1861
|
+
}
|
1862
|
+
interface CreateTransactionEventInstance extends TypedEventInstance<CreateTransactionEvent> {
|
1863
|
+
data_decoded: CreateTransactionEvent;
|
1864
|
+
type_arguments: [];
|
1865
|
+
}
|
1866
|
+
class ExecuteRejectedTransactionEvent {
|
1867
|
+
static TYPE_QNAME: string;
|
1868
|
+
sequence_number: bigint;
|
1869
|
+
num_rejections: bigint;
|
1870
|
+
executor: Address;
|
1871
|
+
}
|
1872
|
+
interface ExecuteRejectedTransactionEventInstance extends TypedEventInstance<ExecuteRejectedTransactionEvent> {
|
1873
|
+
data_decoded: ExecuteRejectedTransactionEvent;
|
1874
|
+
type_arguments: [];
|
1875
|
+
}
|
1876
|
+
class ExecutionError {
|
1877
|
+
static TYPE_QNAME: string;
|
1878
|
+
abort_location: string;
|
1879
|
+
error_type: string;
|
1880
|
+
error_code: bigint;
|
1881
|
+
}
|
1882
|
+
class MetadataUpdatedEvent {
|
1883
|
+
static TYPE_QNAME: string;
|
1884
|
+
old_metadata: simple_map.SimpleMap<string, string>;
|
1885
|
+
new_metadata: simple_map.SimpleMap<string, string>;
|
1886
|
+
}
|
1887
|
+
interface MetadataUpdatedEventInstance extends TypedEventInstance<MetadataUpdatedEvent> {
|
1888
|
+
data_decoded: MetadataUpdatedEvent;
|
1889
|
+
type_arguments: [];
|
1890
|
+
}
|
1891
|
+
class MultisigAccount {
|
1892
|
+
static TYPE_QNAME: string;
|
1893
|
+
owners: Address[];
|
1894
|
+
num_signatures_required: bigint;
|
1895
|
+
transactions: table.Table<bigint, multisig_account.MultisigTransaction>;
|
1896
|
+
last_executed_sequence_number: bigint;
|
1897
|
+
next_sequence_number: bigint;
|
1898
|
+
signer_cap: option.Option<account.SignerCapability>;
|
1899
|
+
metadata: simple_map.SimpleMap<string, string>;
|
1900
|
+
add_owners_events: event.EventHandle<multisig_account.AddOwnersEvent>;
|
1901
|
+
remove_owners_events: event.EventHandle<multisig_account.RemoveOwnersEvent>;
|
1902
|
+
update_signature_required_events: event.EventHandle<multisig_account.UpdateSignaturesRequiredEvent>;
|
1903
|
+
create_transaction_events: event.EventHandle<multisig_account.CreateTransactionEvent>;
|
1904
|
+
vote_events: event.EventHandle<multisig_account.VoteEvent>;
|
1905
|
+
execute_rejected_transaction_events: event.EventHandle<multisig_account.ExecuteRejectedTransactionEvent>;
|
1906
|
+
execute_transaction_events: event.EventHandle<multisig_account.TransactionExecutionSucceededEvent>;
|
1907
|
+
transaction_execution_failed_events: event.EventHandle<multisig_account.TransactionExecutionFailedEvent>;
|
1908
|
+
metadata_updated_events: event.EventHandle<multisig_account.MetadataUpdatedEvent>;
|
1909
|
+
}
|
1910
|
+
class MultisigAccountCreationMessage {
|
1911
|
+
static TYPE_QNAME: string;
|
1912
|
+
chain_id: number;
|
1913
|
+
account_address: Address;
|
1914
|
+
sequence_number: bigint;
|
1915
|
+
owners: Address[];
|
1916
|
+
num_signatures_required: bigint;
|
1917
|
+
}
|
1918
|
+
class MultisigTransaction {
|
1919
|
+
static TYPE_QNAME: string;
|
1920
|
+
payload: option.Option<string>;
|
1921
|
+
payload_hash: option.Option<string>;
|
1922
|
+
votes: simple_map.SimpleMap<Address, Boolean>;
|
1923
|
+
creator: Address;
|
1924
|
+
creation_time_secs: bigint;
|
1925
|
+
}
|
1926
|
+
class RemoveOwnersEvent {
|
1927
|
+
static TYPE_QNAME: string;
|
1928
|
+
owners_removed: Address[];
|
1929
|
+
}
|
1930
|
+
interface RemoveOwnersEventInstance extends TypedEventInstance<RemoveOwnersEvent> {
|
1931
|
+
data_decoded: RemoveOwnersEvent;
|
1932
|
+
type_arguments: [];
|
1933
|
+
}
|
1934
|
+
class TransactionExecutionFailedEvent {
|
1935
|
+
static TYPE_QNAME: string;
|
1936
|
+
executor: Address;
|
1937
|
+
sequence_number: bigint;
|
1938
|
+
transaction_payload: string;
|
1939
|
+
num_approvals: bigint;
|
1940
|
+
execution_error: multisig_account.ExecutionError;
|
1941
|
+
}
|
1942
|
+
interface TransactionExecutionFailedEventInstance extends TypedEventInstance<TransactionExecutionFailedEvent> {
|
1943
|
+
data_decoded: TransactionExecutionFailedEvent;
|
1944
|
+
type_arguments: [];
|
1945
|
+
}
|
1946
|
+
class TransactionExecutionSucceededEvent {
|
1947
|
+
static TYPE_QNAME: string;
|
1948
|
+
executor: Address;
|
1949
|
+
sequence_number: bigint;
|
1950
|
+
transaction_payload: string;
|
1951
|
+
num_approvals: bigint;
|
1952
|
+
}
|
1953
|
+
interface TransactionExecutionSucceededEventInstance extends TypedEventInstance<TransactionExecutionSucceededEvent> {
|
1954
|
+
data_decoded: TransactionExecutionSucceededEvent;
|
1955
|
+
type_arguments: [];
|
1956
|
+
}
|
1957
|
+
class UpdateSignaturesRequiredEvent {
|
1958
|
+
static TYPE_QNAME: string;
|
1959
|
+
old_num_signatures_required: bigint;
|
1960
|
+
new_num_signatures_required: bigint;
|
1961
|
+
}
|
1962
|
+
interface UpdateSignaturesRequiredEventInstance extends TypedEventInstance<UpdateSignaturesRequiredEvent> {
|
1963
|
+
data_decoded: UpdateSignaturesRequiredEvent;
|
1964
|
+
type_arguments: [];
|
1965
|
+
}
|
1966
|
+
class VoteEvent {
|
1967
|
+
static TYPE_QNAME: string;
|
1968
|
+
owner: Address;
|
1969
|
+
sequence_number: bigint;
|
1970
|
+
approved: Boolean;
|
1971
|
+
}
|
1972
|
+
interface VoteEventInstance extends TypedEventInstance<VoteEvent> {
|
1973
|
+
data_decoded: VoteEvent;
|
1974
|
+
type_arguments: [];
|
1975
|
+
}
|
1976
|
+
interface AddOwnerPayload extends TypedFunctionPayload<[Address]> {
|
1977
|
+
arguments_decoded: [Address];
|
1978
|
+
type_arguments: [];
|
1979
|
+
}
|
1980
|
+
interface AddOwnersPayload extends TypedFunctionPayload<[Address[]]> {
|
1981
|
+
arguments_decoded: [Address[]];
|
1982
|
+
type_arguments: [];
|
1983
|
+
}
|
1984
|
+
interface ApproveTransactionPayload extends TypedFunctionPayload<[Address, bigint]> {
|
1985
|
+
arguments_decoded: [Address, bigint];
|
1986
|
+
type_arguments: [];
|
1987
|
+
}
|
1988
|
+
interface CreatePayload extends TypedFunctionPayload<[bigint, string[], string[]]> {
|
1989
|
+
arguments_decoded: [bigint, string[], string[]];
|
1990
|
+
type_arguments: [];
|
1991
|
+
}
|
1992
|
+
interface CreateTransactionPayload extends TypedFunctionPayload<[Address, string]> {
|
1993
|
+
arguments_decoded: [Address, string];
|
1994
|
+
type_arguments: [];
|
1995
|
+
}
|
1996
|
+
interface CreateTransactionWithHashPayload extends TypedFunctionPayload<[Address, string]> {
|
1997
|
+
arguments_decoded: [Address, string];
|
1998
|
+
type_arguments: [];
|
1999
|
+
}
|
2000
|
+
interface CreateWithExistingAccountPayload extends TypedFunctionPayload<[
|
2001
|
+
Address,
|
2002
|
+
Address[],
|
2003
|
+
bigint,
|
2004
|
+
number,
|
2005
|
+
string,
|
2006
|
+
string,
|
2007
|
+
string[],
|
2008
|
+
string[]
|
2009
|
+
]> {
|
2010
|
+
arguments_decoded: [
|
2011
|
+
Address,
|
2012
|
+
Address[],
|
2013
|
+
bigint,
|
2014
|
+
number,
|
2015
|
+
string,
|
2016
|
+
string,
|
2017
|
+
string[],
|
2018
|
+
string[]
|
2019
|
+
];
|
2020
|
+
type_arguments: [];
|
2021
|
+
}
|
2022
|
+
interface CreateWithOwnersPayload extends TypedFunctionPayload<[Address[], bigint, string[], string[]]> {
|
2023
|
+
arguments_decoded: [Address[], bigint, string[], string[]];
|
2024
|
+
type_arguments: [];
|
2025
|
+
}
|
2026
|
+
interface ExecuteRejectedTransactionPayload extends TypedFunctionPayload<[Address]> {
|
2027
|
+
arguments_decoded: [Address];
|
2028
|
+
type_arguments: [];
|
2029
|
+
}
|
2030
|
+
interface RejectTransactionPayload extends TypedFunctionPayload<[Address, bigint]> {
|
2031
|
+
arguments_decoded: [Address, bigint];
|
2032
|
+
type_arguments: [];
|
2033
|
+
}
|
2034
|
+
interface RemoveOwnerPayload extends TypedFunctionPayload<[Address]> {
|
2035
|
+
arguments_decoded: [Address];
|
2036
|
+
type_arguments: [];
|
2037
|
+
}
|
2038
|
+
interface RemoveOwnersPayload extends TypedFunctionPayload<[Address[]]> {
|
2039
|
+
arguments_decoded: [Address[]];
|
2040
|
+
type_arguments: [];
|
2041
|
+
}
|
2042
|
+
interface UpdateMetadataPayload extends TypedFunctionPayload<[string[], string[]]> {
|
2043
|
+
arguments_decoded: [string[], string[]];
|
2044
|
+
type_arguments: [];
|
2045
|
+
}
|
2046
|
+
interface UpdateSignaturesRequiredPayload extends TypedFunctionPayload<[bigint]> {
|
2047
|
+
arguments_decoded: [bigint];
|
2048
|
+
type_arguments: [];
|
2049
|
+
}
|
2050
|
+
interface VoteTransanctionPayload extends TypedFunctionPayload<[Address, bigint, Boolean]> {
|
2051
|
+
arguments_decoded: [Address, bigint, Boolean];
|
2052
|
+
type_arguments: [];
|
2053
|
+
}
|
2054
|
+
}
|
2055
|
+
export declare namespace pool_u64_unbound {
|
2056
|
+
class Pool {
|
2057
|
+
static TYPE_QNAME: string;
|
2058
|
+
total_coins: bigint;
|
2059
|
+
total_shares: bigint;
|
2060
|
+
shares: table_with_length.TableWithLength<Address, bigint>;
|
2061
|
+
scaling_factor: bigint;
|
2062
|
+
}
|
2063
|
+
}
|
1495
2064
|
export declare class resource_account extends AptosBaseProcessor {
|
1496
2065
|
constructor(options: AptosBindOptions);
|
1497
2066
|
static DEFAULT_OPTIONS: AptosBindOptions;
|
@@ -1531,7 +2100,9 @@ export declare class staking_contract extends AptosBaseProcessor {
|
|
1531
2100
|
onEntrySwitchOperatorWithSameCommission(func: (call: staking_contract.SwitchOperatorWithSameCommissionPayload, ctx: AptosContext) => void, filter?: CallFilter, fetchConfig?: MoveFetchConfig): staking_contract;
|
1532
2101
|
onEntryUnlockRewards(func: (call: staking_contract.UnlockRewardsPayload, ctx: AptosContext) => void, filter?: CallFilter, fetchConfig?: MoveFetchConfig): staking_contract;
|
1533
2102
|
onEntryUnlockStake(func: (call: staking_contract.UnlockStakePayload, ctx: AptosContext) => void, filter?: CallFilter, fetchConfig?: MoveFetchConfig): staking_contract;
|
2103
|
+
onEntryUpdateCommision(func: (call: staking_contract.UpdateCommisionPayload, ctx: AptosContext) => void, filter?: CallFilter, fetchConfig?: MoveFetchConfig): staking_contract;
|
1534
2104
|
onEntryUpdateVoter(func: (call: staking_contract.UpdateVoterPayload, ctx: AptosContext) => void, filter?: CallFilter, fetchConfig?: MoveFetchConfig): staking_contract;
|
2105
|
+
onEventUpdateCommissionEvent(func: (event: staking_contract.UpdateCommissionEventInstance, ctx: AptosContext) => void, fetchConfig?: MoveFetchConfig): staking_contract;
|
1535
2106
|
onEventCreateStakingContractEvent(func: (event: staking_contract.CreateStakingContractEventInstance, ctx: AptosContext) => void, fetchConfig?: MoveFetchConfig): staking_contract;
|
1536
2107
|
onEventUpdateVoterEvent(func: (event: staking_contract.UpdateVoterEventInstance, ctx: AptosContext) => void, fetchConfig?: MoveFetchConfig): staking_contract;
|
1537
2108
|
onEventResetLockupEvent(func: (event: staking_contract.ResetLockupEventInstance, ctx: AptosContext) => void, fetchConfig?: MoveFetchConfig): staking_contract;
|
@@ -1615,6 +2186,14 @@ export declare namespace staking_contract {
|
|
1615
2186
|
distribution_pool: pool_u64.Pool;
|
1616
2187
|
signer_cap: account.SignerCapability;
|
1617
2188
|
}
|
2189
|
+
class StakingGroupContainer {
|
2190
|
+
static TYPE_QNAME: string;
|
2191
|
+
dummy_field: Boolean;
|
2192
|
+
}
|
2193
|
+
class StakingGroupUpdateCommissionEvent {
|
2194
|
+
static TYPE_QNAME: string;
|
2195
|
+
update_commission_events: event.EventHandle<staking_contract.UpdateCommissionEvent>;
|
2196
|
+
}
|
1618
2197
|
class Store {
|
1619
2198
|
static TYPE_QNAME: string;
|
1620
2199
|
staking_contracts: simple_map.SimpleMap<Address, staking_contract.StakingContract>;
|
@@ -1649,6 +2228,17 @@ export declare namespace staking_contract {
|
|
1649
2228
|
data_decoded: UnlockStakeEvent;
|
1650
2229
|
type_arguments: [];
|
1651
2230
|
}
|
2231
|
+
class UpdateCommissionEvent {
|
2232
|
+
static TYPE_QNAME: string;
|
2233
|
+
staker: Address;
|
2234
|
+
operator: Address;
|
2235
|
+
old_commission_percentage: bigint;
|
2236
|
+
new_commission_percentage: bigint;
|
2237
|
+
}
|
2238
|
+
interface UpdateCommissionEventInstance extends TypedEventInstance<UpdateCommissionEvent> {
|
2239
|
+
data_decoded: UpdateCommissionEvent;
|
2240
|
+
type_arguments: [];
|
2241
|
+
}
|
1652
2242
|
class UpdateVoterEvent {
|
1653
2243
|
static TYPE_QNAME: string;
|
1654
2244
|
operator: Address;
|
@@ -1696,6 +2286,10 @@ export declare namespace staking_contract {
|
|
1696
2286
|
arguments_decoded: [Address, bigint];
|
1697
2287
|
type_arguments: [];
|
1698
2288
|
}
|
2289
|
+
interface UpdateCommisionPayload extends TypedFunctionPayload<[Address, bigint]> {
|
2290
|
+
arguments_decoded: [Address, bigint];
|
2291
|
+
type_arguments: [];
|
2292
|
+
}
|
1699
2293
|
interface UpdateVoterPayload extends TypedFunctionPayload<[Address, Address]> {
|
1700
2294
|
arguments_decoded: [Address, Address];
|
1701
2295
|
type_arguments: [];
|