@sentio/sdk 2.59.0-rc.3 → 2.59.0-rc.4
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 +485 -0
- package/lib/aptos/builtin/0x1.d.ts.map +1 -1
- package/lib/aptos/builtin/0x1.js +824 -1
- package/lib/aptos/builtin/0x1.js.map +1 -1
- package/lib/aptos/builtin/0x3.js +1 -1
- package/lib/aptos/builtin/0x3.js.map +1 -1
- package/lib/aptos/builtin/0x4.js +1 -1
- package/lib/aptos/builtin/0x4.js.map +1 -1
- package/lib/aptos/move-coder.js +1 -1
- package/lib/aptos/move-coder.js.map +1 -1
- package/lib/sui/builtin/0x1.d.ts +4 -0
- package/lib/sui/builtin/0x1.d.ts.map +1 -1
- package/lib/sui/builtin/0x1.js +1 -1
- package/lib/sui/builtin/0x1.js.map +1 -1
- package/lib/sui/builtin/0x2.d.ts +63 -0
- package/lib/sui/builtin/0x2.d.ts.map +1 -1
- package/lib/sui/builtin/0x2.js +279 -1
- package/lib/sui/builtin/0x2.js.map +1 -1
- package/lib/sui/builtin/0x3.d.ts +41 -14
- package/lib/sui/builtin/0x3.d.ts.map +1 -1
- package/lib/sui/builtin/0x3.js +128 -10
- package/lib/sui/builtin/0x3.js.map +1 -1
- package/package.json +8 -8
- package/src/aptos/abis/0x1.json +9650 -5284
- package/src/aptos/abis/0x3.json +13 -13
- package/src/aptos/abis/0x4.json +42 -42
- package/src/aptos/builtin/0x1.ts +1565 -67
- package/src/aptos/builtin/0x3.ts +1 -1
- package/src/aptos/builtin/0x4.ts +1 -1
- package/src/aptos/move-coder.ts +1 -1
- package/src/sui/abis/0x1.json +8 -0
- package/src/sui/abis/0x2.json +437 -0
- package/src/sui/abis/0x3.json +116 -5
- package/src/sui/builtin/0x1.ts +6 -1
- package/src/sui/builtin/0x2.ts +413 -1
- package/src/sui/builtin/0x3.ts +211 -22
@@ -30,6 +30,16 @@ export declare namespace bcs {
|
|
30
30
|
namespace entry { }
|
31
31
|
namespace view { }
|
32
32
|
}
|
33
|
+
export declare namespace cmp {
|
34
|
+
interface Ordering {
|
35
|
+
}
|
36
|
+
namespace Ordering {
|
37
|
+
const TYPE_QNAME = "0x1::cmp::Ordering";
|
38
|
+
function type(): TypeDescriptor<Ordering>;
|
39
|
+
}
|
40
|
+
namespace entry { }
|
41
|
+
namespace view { }
|
42
|
+
}
|
33
43
|
export declare class dkg extends AptosBaseProcessor {
|
34
44
|
constructor(options: AptosBindOptions);
|
35
45
|
static DEFAULT_OPTIONS: AptosBindOptions;
|
@@ -99,6 +109,13 @@ export declare namespace code {
|
|
99
109
|
const TYPE_QNAME = "0x1::code::AllowedDep";
|
100
110
|
function type(): TypeDescriptor<AllowedDep>;
|
101
111
|
}
|
112
|
+
interface CodePublishingPermission {
|
113
|
+
dummy_field: boolean;
|
114
|
+
}
|
115
|
+
namespace CodePublishingPermission {
|
116
|
+
const TYPE_QNAME = "0x1::code::CodePublishingPermission";
|
117
|
+
function type(): TypeDescriptor<CodePublishingPermission>;
|
118
|
+
}
|
102
119
|
interface ModuleMetadata {
|
103
120
|
name: string;
|
104
121
|
source: string;
|
@@ -185,6 +202,7 @@ export declare class coin extends AptosBaseProcessor {
|
|
185
202
|
onEventWithdrawEvent(func: (event: coin.WithdrawEventInstance, ctx: AptosContext) => void, fetchConfig?: Partial<MoveFetchConfig>, eventFilter?: Omit<EventFilter, "type" | "account">): coin;
|
186
203
|
onEventCoinDeposit(func: (event: coin.CoinDepositInstance, ctx: AptosContext) => void, fetchConfig?: Partial<MoveFetchConfig>, eventFilter?: Omit<EventFilter, "type" | "account">): coin;
|
187
204
|
onEventCoinEventHandleDeletion(func: (event: coin.CoinEventHandleDeletionInstance, ctx: AptosContext) => void, fetchConfig?: Partial<MoveFetchConfig>, eventFilter?: Omit<EventFilter, "type" | "account">): coin;
|
205
|
+
onEventCoinStoreDeletion(func: (event: coin.CoinStoreDeletionInstance, ctx: AptosContext) => void, fetchConfig?: Partial<MoveFetchConfig>, eventFilter?: Omit<EventFilter, "type" | "account">): coin;
|
188
206
|
onEventCoinWithdraw(func: (event: coin.CoinWithdrawInstance, ctx: AptosContext) => void, fetchConfig?: Partial<MoveFetchConfig>, eventFilter?: Omit<EventFilter, "type" | "account">): coin;
|
189
207
|
onEventPairCreation(func: (event: coin.PairCreationInstance, ctx: AptosContext) => void, fetchConfig?: Partial<MoveFetchConfig>, eventFilter?: Omit<EventFilter, "type" | "account">): coin;
|
190
208
|
}
|
@@ -308,6 +326,20 @@ export declare namespace coin {
|
|
308
326
|
const TYPE_QNAME = "0x1::coin::CoinStore";
|
309
327
|
function type<T0>(arg0?: TypeDescriptor<T0>): TypeDescriptor<CoinStore<T0>>;
|
310
328
|
}
|
329
|
+
interface CoinStoreDeletion {
|
330
|
+
coin_type: string;
|
331
|
+
event_handle_creation_address: MoveAddressType;
|
332
|
+
deleted_deposit_event_handle_creation_number: bigint;
|
333
|
+
deleted_withdraw_event_handle_creation_number: bigint;
|
334
|
+
}
|
335
|
+
namespace CoinStoreDeletion {
|
336
|
+
const TYPE_QNAME = "0x1::coin::CoinStoreDeletion";
|
337
|
+
function type(): TypeDescriptor<CoinStoreDeletion>;
|
338
|
+
}
|
339
|
+
type CoinStoreDeletionInstance = TypedEventInstance<CoinStoreDeletion> & {
|
340
|
+
data_decoded: CoinStoreDeletion;
|
341
|
+
type_arguments: [];
|
342
|
+
};
|
311
343
|
interface CoinWithdraw {
|
312
344
|
coin_type: string;
|
313
345
|
account: MoveAddressType;
|
@@ -1099,6 +1131,13 @@ export declare namespace stake {
|
|
1099
1131
|
data_decoded: SetOperatorEvent;
|
1100
1132
|
type_arguments: [];
|
1101
1133
|
};
|
1134
|
+
interface StakeManagementPermission {
|
1135
|
+
dummy_field: boolean;
|
1136
|
+
}
|
1137
|
+
namespace StakeManagementPermission {
|
1138
|
+
const TYPE_QNAME = "0x1::stake::StakeManagementPermission";
|
1139
|
+
function type(): TypeDescriptor<StakeManagementPermission>;
|
1140
|
+
}
|
1102
1141
|
interface StakePool {
|
1103
1142
|
active: coin.Coin<aptos_coin.AptosCoin>;
|
1104
1143
|
inactive: coin.Coin<aptos_coin.AptosCoin>;
|
@@ -1516,6 +1555,13 @@ export declare namespace object$ {
|
|
1516
1555
|
data_decoded: TransferEvent;
|
1517
1556
|
type_arguments: [];
|
1518
1557
|
};
|
1558
|
+
interface TransferPermission {
|
1559
|
+
object: MoveAddressType;
|
1560
|
+
}
|
1561
|
+
namespace TransferPermission {
|
1562
|
+
const TYPE_QNAME = "0x1::object::TransferPermission";
|
1563
|
+
function type(): TypeDescriptor<TransferPermission>;
|
1564
|
+
}
|
1519
1565
|
interface TransferRef {
|
1520
1566
|
self: MoveAddressType;
|
1521
1567
|
}
|
@@ -1738,6 +1784,13 @@ export declare namespace voting {
|
|
1738
1784
|
data_decoded: VoteEvent;
|
1739
1785
|
type_arguments: [];
|
1740
1786
|
};
|
1787
|
+
interface VotePermission {
|
1788
|
+
dummy_field: boolean;
|
1789
|
+
}
|
1790
|
+
namespace VotePermission {
|
1791
|
+
const TYPE_QNAME = "0x1::voting::VotePermission";
|
1792
|
+
function type(): TypeDescriptor<VotePermission>;
|
1793
|
+
}
|
1741
1794
|
interface VotingEvents {
|
1742
1795
|
create_proposal_events: event.EventHandle<voting.CreateProposalEvent>;
|
1743
1796
|
register_forum_events: event.EventHandle<voting.RegisterForumEvent>;
|
@@ -1854,6 +1907,12 @@ export declare namespace account {
|
|
1854
1907
|
const TYPE_QNAME = "0x1::account::Account";
|
1855
1908
|
function type(): TypeDescriptor<Account>;
|
1856
1909
|
}
|
1910
|
+
interface AccountPermission {
|
1911
|
+
}
|
1912
|
+
namespace AccountPermission {
|
1913
|
+
const TYPE_QNAME = "0x1::account::AccountPermission";
|
1914
|
+
function type(): TypeDescriptor<AccountPermission>;
|
1915
|
+
}
|
1857
1916
|
interface CapabilityOffer<T0> {
|
1858
1917
|
for: option.Option<MoveAddressType>;
|
1859
1918
|
}
|
@@ -2570,6 +2629,13 @@ export declare namespace vesting {
|
|
2570
2629
|
data_decoded: VestEvent;
|
2571
2630
|
type_arguments: [];
|
2572
2631
|
};
|
2632
|
+
interface VestPermission {
|
2633
|
+
dummy_field: boolean;
|
2634
|
+
}
|
2635
|
+
namespace VestPermission {
|
2636
|
+
const TYPE_QNAME = "0x1::vesting::VestPermission";
|
2637
|
+
function type(): TypeDescriptor<VestPermission>;
|
2638
|
+
}
|
2573
2639
|
interface VestingAccountManagement {
|
2574
2640
|
roles: simple_map.SimpleMap<string, MoveAddressType>;
|
2575
2641
|
}
|
@@ -2907,6 +2973,16 @@ export declare namespace pool_u64 {
|
|
2907
2973
|
namespace entry { }
|
2908
2974
|
namespace view { }
|
2909
2975
|
}
|
2976
|
+
export declare namespace auth_data {
|
2977
|
+
interface AbstractionAuthData {
|
2978
|
+
}
|
2979
|
+
namespace AbstractionAuthData {
|
2980
|
+
const TYPE_QNAME = "0x1::auth_data::AbstractionAuthData";
|
2981
|
+
function type(): TypeDescriptor<AbstractionAuthData>;
|
2982
|
+
}
|
2983
|
+
namespace entry { }
|
2984
|
+
namespace view { }
|
2985
|
+
}
|
2910
2986
|
export declare namespace secp256k1 {
|
2911
2987
|
interface ECDSARawPublicKey {
|
2912
2988
|
bytes: string;
|
@@ -3034,6 +3110,33 @@ export declare namespace aptos_hash {
|
|
3034
3110
|
namespace entry { }
|
3035
3111
|
namespace view { }
|
3036
3112
|
}
|
3113
|
+
export declare class bcs_stream extends AptosBaseProcessor {
|
3114
|
+
constructor(options: AptosBindOptions);
|
3115
|
+
static DEFAULT_OPTIONS: AptosBindOptions;
|
3116
|
+
static bind(options?: Partial<AptosBindOptions>): bcs_stream;
|
3117
|
+
onEntryDeserializeU256Entry(func: (call: bcs_stream.DeserializeU256EntryPayload, ctx: AptosContext) => void, filter?: CallFilter, fetchConfig?: Partial<MoveFetchConfig>): bcs_stream;
|
3118
|
+
}
|
3119
|
+
export declare namespace bcs_stream {
|
3120
|
+
interface BCSStream {
|
3121
|
+
data: string;
|
3122
|
+
cur: bigint;
|
3123
|
+
}
|
3124
|
+
namespace BCSStream {
|
3125
|
+
const TYPE_QNAME = "0x1::bcs_stream::BCSStream";
|
3126
|
+
function type(): TypeDescriptor<BCSStream>;
|
3127
|
+
}
|
3128
|
+
namespace entry {
|
3129
|
+
function deserializeU256Entry(client: Aptos, account: AptosAccount, request: {
|
3130
|
+
typeArguments: [];
|
3131
|
+
functionArguments: [string, bigint];
|
3132
|
+
}, options?: InputGenerateTransactionOptions): Promise<PendingTransactionResponse>;
|
3133
|
+
}
|
3134
|
+
namespace view { }
|
3135
|
+
interface DeserializeU256EntryPayload extends TypedFunctionPayload<[string, bigint]> {
|
3136
|
+
arguments_decoded: [string, bigint];
|
3137
|
+
type_arguments: [];
|
3138
|
+
}
|
3139
|
+
}
|
3037
3140
|
export declare namespace big_vector {
|
3038
3141
|
interface BigVector<T0> {
|
3039
3142
|
buckets: table_with_length.TableWithLength<bigint, T0[]>;
|
@@ -3155,6 +3258,30 @@ export declare namespace simple_map {
|
|
3155
3258
|
namespace entry { }
|
3156
3259
|
namespace view { }
|
3157
3260
|
}
|
3261
|
+
export declare namespace ordered_map {
|
3262
|
+
interface Entry<T0, T1> {
|
3263
|
+
key: T0;
|
3264
|
+
value: T1;
|
3265
|
+
}
|
3266
|
+
namespace Entry {
|
3267
|
+
const TYPE_QNAME = "0x1::ordered_map::Entry";
|
3268
|
+
function type<T0, T1>(arg0?: TypeDescriptor<T0>, arg1?: TypeDescriptor<T1>): TypeDescriptor<Entry<T0, T1>>;
|
3269
|
+
}
|
3270
|
+
interface IteratorPtr {
|
3271
|
+
}
|
3272
|
+
namespace IteratorPtr {
|
3273
|
+
const TYPE_QNAME = "0x1::ordered_map::IteratorPtr";
|
3274
|
+
function type(): TypeDescriptor<IteratorPtr>;
|
3275
|
+
}
|
3276
|
+
interface OrderedMap<T0, T1> {
|
3277
|
+
}
|
3278
|
+
namespace OrderedMap {
|
3279
|
+
const TYPE_QNAME = "0x1::ordered_map::OrderedMap";
|
3280
|
+
function type<T0, T1>(arg0?: TypeDescriptor<T0>, arg1?: TypeDescriptor<T1>): TypeDescriptor<OrderedMap<T0, T1>>;
|
3281
|
+
}
|
3282
|
+
namespace entry { }
|
3283
|
+
namespace view { }
|
3284
|
+
}
|
3158
3285
|
export declare namespace smart_table {
|
3159
3286
|
interface Entry<T0, T1> {
|
3160
3287
|
hash: bigint;
|
@@ -3352,6 +3479,16 @@ export declare namespace math_fixed64 {
|
|
3352
3479
|
namespace entry { }
|
3353
3480
|
namespace view { }
|
3354
3481
|
}
|
3482
|
+
export declare namespace rate_limiter {
|
3483
|
+
interface RateLimiter {
|
3484
|
+
}
|
3485
|
+
namespace RateLimiter {
|
3486
|
+
const TYPE_QNAME = "0x1::rate_limiter::RateLimiter";
|
3487
|
+
function type(): TypeDescriptor<RateLimiter>;
|
3488
|
+
}
|
3489
|
+
namespace entry { }
|
3490
|
+
namespace view { }
|
3491
|
+
}
|
3355
3492
|
export declare namespace ristretto255 {
|
3356
3493
|
interface CompressedRistretto {
|
3357
3494
|
data: string;
|
@@ -3802,6 +3939,13 @@ export declare class staking_proxy extends AptosBaseProcessor {
|
|
3802
3939
|
onEntrySetVoter(func: (call: staking_proxy.SetVoterPayload, ctx: AptosContext) => void, filter?: CallFilter, fetchConfig?: Partial<MoveFetchConfig>): staking_proxy;
|
3803
3940
|
}
|
3804
3941
|
export declare namespace staking_proxy {
|
3942
|
+
interface StakeProxyPermission {
|
3943
|
+
dummy_field: boolean;
|
3944
|
+
}
|
3945
|
+
namespace StakeProxyPermission {
|
3946
|
+
const TYPE_QNAME = "0x1::staking_proxy::StakeProxyPermission";
|
3947
|
+
function type(): TypeDescriptor<StakeProxyPermission>;
|
3948
|
+
}
|
3805
3949
|
namespace entry {
|
3806
3950
|
function setOperator(client: Aptos, account: AptosAccount, request: {
|
3807
3951
|
typeArguments: [];
|
@@ -3918,6 +4062,7 @@ export declare class fungible_asset extends AptosBaseProcessor {
|
|
3918
4062
|
onEventDepositEvent(func: (event: fungible_asset.DepositEventInstance, ctx: AptosContext) => void, fetchConfig?: Partial<MoveFetchConfig>, eventFilter?: Omit<EventFilter, "type" | "account">): fungible_asset;
|
3919
4063
|
onEventFrozen(func: (event: fungible_asset.FrozenInstance, ctx: AptosContext) => void, fetchConfig?: Partial<MoveFetchConfig>, eventFilter?: Omit<EventFilter, "type" | "account">): fungible_asset;
|
3920
4064
|
onEventFrozenEvent(func: (event: fungible_asset.FrozenEventInstance, ctx: AptosContext) => void, fetchConfig?: Partial<MoveFetchConfig>, eventFilter?: Omit<EventFilter, "type" | "account">): fungible_asset;
|
4065
|
+
onEventFungibleStoreDeletion(func: (event: fungible_asset.FungibleStoreDeletionInstance, ctx: AptosContext) => void, fetchConfig?: Partial<MoveFetchConfig>, eventFilter?: Omit<EventFilter, "type" | "account">): fungible_asset;
|
3921
4066
|
onEventWithdraw(func: (event: fungible_asset.WithdrawInstance, ctx: AptosContext) => void, fetchConfig?: Partial<MoveFetchConfig>, eventFilter?: Omit<EventFilter, "type" | "account">): fungible_asset;
|
3922
4067
|
onEventWithdrawEvent(func: (event: fungible_asset.WithdrawEventInstance, ctx: AptosContext) => void, fetchConfig?: Partial<MoveFetchConfig>, eventFilter?: Omit<EventFilter, "type" | "account">): fungible_asset;
|
3923
4068
|
}
|
@@ -4045,6 +4190,19 @@ export declare namespace fungible_asset {
|
|
4045
4190
|
const TYPE_QNAME = "0x1::fungible_asset::FungibleStore";
|
4046
4191
|
function type(): TypeDescriptor<FungibleStore>;
|
4047
4192
|
}
|
4193
|
+
interface FungibleStoreDeletion {
|
4194
|
+
store: MoveAddressType;
|
4195
|
+
owner: MoveAddressType;
|
4196
|
+
metadata: MoveAddressType;
|
4197
|
+
}
|
4198
|
+
namespace FungibleStoreDeletion {
|
4199
|
+
const TYPE_QNAME = "0x1::fungible_asset::FungibleStoreDeletion";
|
4200
|
+
function type(): TypeDescriptor<FungibleStoreDeletion>;
|
4201
|
+
}
|
4202
|
+
type FungibleStoreDeletionInstance = TypedEventInstance<FungibleStoreDeletion> & {
|
4203
|
+
data_decoded: FungibleStoreDeletion;
|
4204
|
+
type_arguments: [];
|
4205
|
+
};
|
4048
4206
|
interface Metadata {
|
4049
4207
|
name: string;
|
4050
4208
|
symbol: string;
|
@@ -4070,6 +4228,20 @@ export declare namespace fungible_asset {
|
|
4070
4228
|
const TYPE_QNAME = "0x1::fungible_asset::MutateMetadataRef";
|
4071
4229
|
function type(): TypeDescriptor<MutateMetadataRef>;
|
4072
4230
|
}
|
4231
|
+
interface RawBalanceRef {
|
4232
|
+
metadata: object$.Object<fungible_asset.Metadata>;
|
4233
|
+
}
|
4234
|
+
namespace RawBalanceRef {
|
4235
|
+
const TYPE_QNAME = "0x1::fungible_asset::RawBalanceRef";
|
4236
|
+
function type(): TypeDescriptor<RawBalanceRef>;
|
4237
|
+
}
|
4238
|
+
interface RawSupplyRef {
|
4239
|
+
metadata: object$.Object<fungible_asset.Metadata>;
|
4240
|
+
}
|
4241
|
+
namespace RawSupplyRef {
|
4242
|
+
const TYPE_QNAME = "0x1::fungible_asset::RawSupplyRef";
|
4243
|
+
function type(): TypeDescriptor<RawSupplyRef>;
|
4244
|
+
}
|
4073
4245
|
interface Supply {
|
4074
4246
|
current: bigint;
|
4075
4247
|
maximum: option.Option<bigint>;
|
@@ -4101,6 +4273,12 @@ export declare namespace fungible_asset {
|
|
4101
4273
|
data_decoded: WithdrawEvent;
|
4102
4274
|
type_arguments: [];
|
4103
4275
|
};
|
4276
|
+
interface WithdrawPermission {
|
4277
|
+
}
|
4278
|
+
namespace WithdrawPermission {
|
4279
|
+
const TYPE_QNAME = "0x1::fungible_asset::WithdrawPermission";
|
4280
|
+
function type(): TypeDescriptor<WithdrawPermission>;
|
4281
|
+
}
|
4104
4282
|
namespace entry {
|
4105
4283
|
function transfer<T0 = any>(client: Aptos, account: AptosAccount, request: {
|
4106
4284
|
typeArguments: [MoveStructId];
|
@@ -4215,6 +4393,34 @@ export declare namespace staking_config {
|
|
4215
4393
|
function rewardRate(client: Aptos, version?: bigint): Promise<[bigint, bigint]>;
|
4216
4394
|
}
|
4217
4395
|
}
|
4396
|
+
export declare namespace big_ordered_map {
|
4397
|
+
interface IteratorPtr<T0> {
|
4398
|
+
}
|
4399
|
+
namespace IteratorPtr {
|
4400
|
+
const TYPE_QNAME = "0x1::big_ordered_map::IteratorPtr";
|
4401
|
+
function type<T0>(arg0?: TypeDescriptor<T0>): TypeDescriptor<IteratorPtr<T0>>;
|
4402
|
+
}
|
4403
|
+
interface BigOrderedMap<T0, T1> {
|
4404
|
+
}
|
4405
|
+
namespace BigOrderedMap {
|
4406
|
+
const TYPE_QNAME = "0x1::big_ordered_map::BigOrderedMap";
|
4407
|
+
function type<T0, T1>(arg0?: TypeDescriptor<T0>, arg1?: TypeDescriptor<T1>): TypeDescriptor<BigOrderedMap<T0, T1>>;
|
4408
|
+
}
|
4409
|
+
interface Child<T0> {
|
4410
|
+
}
|
4411
|
+
namespace Child {
|
4412
|
+
const TYPE_QNAME = "0x1::big_ordered_map::Child";
|
4413
|
+
function type<T0>(arg0?: TypeDescriptor<T0>): TypeDescriptor<Child<T0>>;
|
4414
|
+
}
|
4415
|
+
interface Node<T0, T1> {
|
4416
|
+
}
|
4417
|
+
namespace Node {
|
4418
|
+
const TYPE_QNAME = "0x1::big_ordered_map::Node";
|
4419
|
+
function type<T0, T1>(arg0?: TypeDescriptor<T0>, arg1?: TypeDescriptor<T1>): TypeDescriptor<Node<T0, T1>>;
|
4420
|
+
}
|
4421
|
+
namespace entry { }
|
4422
|
+
namespace view { }
|
4423
|
+
}
|
4218
4424
|
export declare class delegation_pool extends AptosBaseProcessor {
|
4219
4425
|
constructor(options: AptosBindOptions);
|
4220
4426
|
static DEFAULT_OPTIONS: AptosBindOptions;
|
@@ -4493,6 +4699,12 @@ export declare namespace delegation_pool {
|
|
4493
4699
|
const TYPE_QNAME = "0x1::delegation_pool::DelegatedVotes";
|
4494
4700
|
function type(): TypeDescriptor<DelegatedVotes>;
|
4495
4701
|
}
|
4702
|
+
interface DelegationPermission {
|
4703
|
+
}
|
4704
|
+
namespace DelegationPermission {
|
4705
|
+
const TYPE_QNAME = "0x1::delegation_pool::DelegationPermission";
|
4706
|
+
function type(): TypeDescriptor<DelegationPermission>;
|
4707
|
+
}
|
4496
4708
|
interface DelegationPool {
|
4497
4709
|
active_shares: pool_u64_unbound.Pool;
|
4498
4710
|
observed_lockup_cycle: delegation_pool.ObservedLockupCycle;
|
@@ -5148,6 +5360,13 @@ export declare namespace aptos_governance {
|
|
5148
5360
|
const TYPE_QNAME = "0x1::aptos_governance::GovernanceEvents";
|
5149
5361
|
function type(): TypeDescriptor<GovernanceEvents>;
|
5150
5362
|
}
|
5363
|
+
interface GovernancePermission {
|
5364
|
+
dummy_field: boolean;
|
5365
|
+
}
|
5366
|
+
namespace GovernancePermission {
|
5367
|
+
const TYPE_QNAME = "0x1::aptos_governance::GovernancePermission";
|
5368
|
+
function type(): TypeDescriptor<GovernancePermission>;
|
5369
|
+
}
|
5151
5370
|
interface GovernanceResponsbility {
|
5152
5371
|
signer_caps: simple_map.SimpleMap<MoveAddressType, account.SignerCapability>;
|
5153
5372
|
}
|
@@ -6768,6 +6987,142 @@ export declare namespace aggregator_factory {
|
|
6768
6987
|
namespace entry { }
|
6769
6988
|
namespace view { }
|
6770
6989
|
}
|
6990
|
+
export declare class account_abstraction extends AptosBaseProcessor {
|
6991
|
+
constructor(options: AptosBindOptions);
|
6992
|
+
static DEFAULT_OPTIONS: AptosBindOptions;
|
6993
|
+
static bind(options?: Partial<AptosBindOptions>): account_abstraction;
|
6994
|
+
onEntryInitialize(func: (call: account_abstraction.InitializePayload, ctx: AptosContext) => void, filter?: CallFilter, fetchConfig?: Partial<MoveFetchConfig>): account_abstraction;
|
6995
|
+
onEntryAddAuthenticationFunction(func: (call: account_abstraction.AddAuthenticationFunctionPayload, ctx: AptosContext) => void, filter?: CallFilter, fetchConfig?: Partial<MoveFetchConfig>): account_abstraction;
|
6996
|
+
onEntryAddDispatchableAuthenticationFunction(func: (call: account_abstraction.AddDispatchableAuthenticationFunctionPayload, ctx: AptosContext) => void, filter?: CallFilter, fetchConfig?: Partial<MoveFetchConfig>): account_abstraction;
|
6997
|
+
onEntryRegisterDerivableAuthenticationFunction(func: (call: account_abstraction.RegisterDerivableAuthenticationFunctionPayload, ctx: AptosContext) => void, filter?: CallFilter, fetchConfig?: Partial<MoveFetchConfig>): account_abstraction;
|
6998
|
+
onEntryRemoveAuthenticationFunction(func: (call: account_abstraction.RemoveAuthenticationFunctionPayload, ctx: AptosContext) => void, filter?: CallFilter, fetchConfig?: Partial<MoveFetchConfig>): account_abstraction;
|
6999
|
+
onEntryRemoveAuthenticator(func: (call: account_abstraction.RemoveAuthenticatorPayload, ctx: AptosContext) => void, filter?: CallFilter, fetchConfig?: Partial<MoveFetchConfig>): account_abstraction;
|
7000
|
+
onEntryRemoveDispatchableAuthenticationFunction(func: (call: account_abstraction.RemoveDispatchableAuthenticationFunctionPayload, ctx: AptosContext) => void, filter?: CallFilter, fetchConfig?: Partial<MoveFetchConfig>): account_abstraction;
|
7001
|
+
onEntryRemoveDispatchableAuthenticator(func: (call: account_abstraction.RemoveDispatchableAuthenticatorPayload, ctx: AptosContext) => void, filter?: CallFilter, fetchConfig?: Partial<MoveFetchConfig>): account_abstraction;
|
7002
|
+
onEventRemoveDispatchableAuthenticator(func: (event: account_abstraction.RemoveDispatchableAuthenticatorInstance, ctx: AptosContext) => void, fetchConfig?: Partial<MoveFetchConfig>, eventFilter?: Omit<EventFilter, "type" | "account">): account_abstraction;
|
7003
|
+
onEventUpdateDispatchableAuthenticator(func: (event: account_abstraction.UpdateDispatchableAuthenticatorInstance, ctx: AptosContext) => void, fetchConfig?: Partial<MoveFetchConfig>, eventFilter?: Omit<EventFilter, "type" | "account">): account_abstraction;
|
7004
|
+
}
|
7005
|
+
export declare namespace account_abstraction {
|
7006
|
+
interface DerivableDispatchableAuthenticator {
|
7007
|
+
}
|
7008
|
+
namespace DerivableDispatchableAuthenticator {
|
7009
|
+
const TYPE_QNAME = "0x1::account_abstraction::DerivableDispatchableAuthenticator";
|
7010
|
+
function type(): TypeDescriptor<DerivableDispatchableAuthenticator>;
|
7011
|
+
}
|
7012
|
+
interface DerivableRegisterValue {
|
7013
|
+
}
|
7014
|
+
namespace DerivableRegisterValue {
|
7015
|
+
const TYPE_QNAME = "0x1::account_abstraction::DerivableRegisterValue";
|
7016
|
+
function type(): TypeDescriptor<DerivableRegisterValue>;
|
7017
|
+
}
|
7018
|
+
interface DispatchableAuthenticator {
|
7019
|
+
}
|
7020
|
+
namespace DispatchableAuthenticator {
|
7021
|
+
const TYPE_QNAME = "0x1::account_abstraction::DispatchableAuthenticator";
|
7022
|
+
function type(): TypeDescriptor<DispatchableAuthenticator>;
|
7023
|
+
}
|
7024
|
+
interface RemoveDispatchableAuthenticator {
|
7025
|
+
account: MoveAddressType;
|
7026
|
+
}
|
7027
|
+
namespace RemoveDispatchableAuthenticator {
|
7028
|
+
const TYPE_QNAME = "0x1::account_abstraction::RemoveDispatchableAuthenticator";
|
7029
|
+
function type(): TypeDescriptor<RemoveDispatchableAuthenticator>;
|
7030
|
+
}
|
7031
|
+
type RemoveDispatchableAuthenticatorInstance = TypedEventInstance<RemoveDispatchableAuthenticator> & {
|
7032
|
+
data_decoded: RemoveDispatchableAuthenticator;
|
7033
|
+
type_arguments: [];
|
7034
|
+
};
|
7035
|
+
interface UpdateDispatchableAuthenticator {
|
7036
|
+
account: MoveAddressType;
|
7037
|
+
update: string;
|
7038
|
+
auth_function: function_info.FunctionInfo;
|
7039
|
+
}
|
7040
|
+
namespace UpdateDispatchableAuthenticator {
|
7041
|
+
const TYPE_QNAME = "0x1::account_abstraction::UpdateDispatchableAuthenticator";
|
7042
|
+
function type(): TypeDescriptor<UpdateDispatchableAuthenticator>;
|
7043
|
+
}
|
7044
|
+
type UpdateDispatchableAuthenticatorInstance = TypedEventInstance<UpdateDispatchableAuthenticator> & {
|
7045
|
+
data_decoded: UpdateDispatchableAuthenticator;
|
7046
|
+
type_arguments: [];
|
7047
|
+
};
|
7048
|
+
namespace entry {
|
7049
|
+
function initialize(client: Aptos, account: AptosAccount, request: {
|
7050
|
+
typeArguments: [];
|
7051
|
+
functionArguments: [];
|
7052
|
+
}, options?: InputGenerateTransactionOptions): Promise<PendingTransactionResponse>;
|
7053
|
+
function addAuthenticationFunction(client: Aptos, account: AptosAccount, request: {
|
7054
|
+
typeArguments: [];
|
7055
|
+
functionArguments: [MoveAddressType, string, string];
|
7056
|
+
}, options?: InputGenerateTransactionOptions): Promise<PendingTransactionResponse>;
|
7057
|
+
function addDispatchableAuthenticationFunction(client: Aptos, account: AptosAccount, request: {
|
7058
|
+
typeArguments: [];
|
7059
|
+
functionArguments: [MoveAddressType, string, string];
|
7060
|
+
}, options?: InputGenerateTransactionOptions): Promise<PendingTransactionResponse>;
|
7061
|
+
function registerDerivableAuthenticationFunction(client: Aptos, account: AptosAccount, request: {
|
7062
|
+
typeArguments: [];
|
7063
|
+
functionArguments: [MoveAddressType, string, string];
|
7064
|
+
}, options?: InputGenerateTransactionOptions): Promise<PendingTransactionResponse>;
|
7065
|
+
function removeAuthenticationFunction(client: Aptos, account: AptosAccount, request: {
|
7066
|
+
typeArguments: [];
|
7067
|
+
functionArguments: [MoveAddressType, string, string];
|
7068
|
+
}, options?: InputGenerateTransactionOptions): Promise<PendingTransactionResponse>;
|
7069
|
+
function removeAuthenticator(client: Aptos, account: AptosAccount, request: {
|
7070
|
+
typeArguments: [];
|
7071
|
+
functionArguments: [];
|
7072
|
+
}, options?: InputGenerateTransactionOptions): Promise<PendingTransactionResponse>;
|
7073
|
+
function removeDispatchableAuthenticationFunction(client: Aptos, account: AptosAccount, request: {
|
7074
|
+
typeArguments: [];
|
7075
|
+
functionArguments: [MoveAddressType, string, string];
|
7076
|
+
}, options?: InputGenerateTransactionOptions): Promise<PendingTransactionResponse>;
|
7077
|
+
function removeDispatchableAuthenticator(client: Aptos, account: AptosAccount, request: {
|
7078
|
+
typeArguments: [];
|
7079
|
+
functionArguments: [];
|
7080
|
+
}, options?: InputGenerateTransactionOptions): Promise<PendingTransactionResponse>;
|
7081
|
+
}
|
7082
|
+
namespace view {
|
7083
|
+
function deriveAccountAddressView(client: Aptos, request: {
|
7084
|
+
functionArguments: [MoveAddressType, string, string, string];
|
7085
|
+
}, version?: bigint): Promise<[MoveAddressType]>;
|
7086
|
+
function dispatchableAuthenticator(client: Aptos, request: {
|
7087
|
+
functionArguments: [MoveAddressType];
|
7088
|
+
}, version?: bigint): Promise<[option.Option<function_info.FunctionInfo[]>]>;
|
7089
|
+
function usingDispatchableAuthenticator(client: Aptos, request: {
|
7090
|
+
functionArguments: [MoveAddressType];
|
7091
|
+
}, version?: bigint): Promise<[boolean]>;
|
7092
|
+
}
|
7093
|
+
interface InitializePayload extends TypedFunctionPayload<[]> {
|
7094
|
+
arguments_decoded: [];
|
7095
|
+
type_arguments: [];
|
7096
|
+
}
|
7097
|
+
interface AddAuthenticationFunctionPayload extends TypedFunctionPayload<[MoveAddressType, string, string]> {
|
7098
|
+
arguments_decoded: [MoveAddressType, string, string];
|
7099
|
+
type_arguments: [];
|
7100
|
+
}
|
7101
|
+
interface AddDispatchableAuthenticationFunctionPayload extends TypedFunctionPayload<[MoveAddressType, string, string]> {
|
7102
|
+
arguments_decoded: [MoveAddressType, string, string];
|
7103
|
+
type_arguments: [];
|
7104
|
+
}
|
7105
|
+
interface RegisterDerivableAuthenticationFunctionPayload extends TypedFunctionPayload<[MoveAddressType, string, string]> {
|
7106
|
+
arguments_decoded: [MoveAddressType, string, string];
|
7107
|
+
type_arguments: [];
|
7108
|
+
}
|
7109
|
+
interface RemoveAuthenticationFunctionPayload extends TypedFunctionPayload<[MoveAddressType, string, string]> {
|
7110
|
+
arguments_decoded: [MoveAddressType, string, string];
|
7111
|
+
type_arguments: [];
|
7112
|
+
}
|
7113
|
+
interface RemoveAuthenticatorPayload extends TypedFunctionPayload<[]> {
|
7114
|
+
arguments_decoded: [];
|
7115
|
+
type_arguments: [];
|
7116
|
+
}
|
7117
|
+
interface RemoveDispatchableAuthenticationFunctionPayload extends TypedFunctionPayload<[MoveAddressType, string, string]> {
|
7118
|
+
arguments_decoded: [MoveAddressType, string, string];
|
7119
|
+
type_arguments: [];
|
7120
|
+
}
|
7121
|
+
interface RemoveDispatchableAuthenticatorPayload extends TypedFunctionPayload<[]> {
|
7122
|
+
arguments_decoded: [];
|
7123
|
+
type_arguments: [];
|
7124
|
+
}
|
7125
|
+
}
|
6771
7126
|
export declare namespace governance_proposal {
|
6772
7127
|
interface GovernanceProposal {
|
6773
7128
|
dummy_field: boolean;
|
@@ -6799,6 +7154,72 @@ export declare namespace optional_aggregator {
|
|
6799
7154
|
namespace entry { }
|
6800
7155
|
namespace view { }
|
6801
7156
|
}
|
7157
|
+
export declare class permissioned_signer extends AptosBaseProcessor {
|
7158
|
+
constructor(options: AptosBindOptions);
|
7159
|
+
static DEFAULT_OPTIONS: AptosBindOptions;
|
7160
|
+
static bind(options?: Partial<AptosBindOptions>): permissioned_signer;
|
7161
|
+
onEntryRevokeAllHandles(func: (call: permissioned_signer.RevokeAllHandlesPayload, ctx: AptosContext) => void, filter?: CallFilter, fetchConfig?: Partial<MoveFetchConfig>): permissioned_signer;
|
7162
|
+
onEntryRevokePermissionStorageAddress(func: (call: permissioned_signer.RevokePermissionStorageAddressPayload, ctx: AptosContext) => void, filter?: CallFilter, fetchConfig?: Partial<MoveFetchConfig>): permissioned_signer;
|
7163
|
+
}
|
7164
|
+
export declare namespace permissioned_signer {
|
7165
|
+
interface GrantedPermissionHandles {
|
7166
|
+
active_handles: MoveAddressType[];
|
7167
|
+
}
|
7168
|
+
namespace GrantedPermissionHandles {
|
7169
|
+
const TYPE_QNAME = "0x1::permissioned_signer::GrantedPermissionHandles";
|
7170
|
+
function type(): TypeDescriptor<GrantedPermissionHandles>;
|
7171
|
+
}
|
7172
|
+
interface PermissionStorage {
|
7173
|
+
}
|
7174
|
+
namespace PermissionStorage {
|
7175
|
+
const TYPE_QNAME = "0x1::permissioned_signer::PermissionStorage";
|
7176
|
+
function type(): TypeDescriptor<PermissionStorage>;
|
7177
|
+
}
|
7178
|
+
interface PermissionedHandle {
|
7179
|
+
}
|
7180
|
+
namespace PermissionedHandle {
|
7181
|
+
const TYPE_QNAME = "0x1::permissioned_signer::PermissionedHandle";
|
7182
|
+
function type(): TypeDescriptor<PermissionedHandle>;
|
7183
|
+
}
|
7184
|
+
interface RevokePermissionHandlePermission {
|
7185
|
+
dummy_field: boolean;
|
7186
|
+
}
|
7187
|
+
namespace RevokePermissionHandlePermission {
|
7188
|
+
const TYPE_QNAME = "0x1::permissioned_signer::RevokePermissionHandlePermission";
|
7189
|
+
function type(): TypeDescriptor<RevokePermissionHandlePermission>;
|
7190
|
+
}
|
7191
|
+
interface StorablePermissionedHandle {
|
7192
|
+
}
|
7193
|
+
namespace StorablePermissionedHandle {
|
7194
|
+
const TYPE_QNAME = "0x1::permissioned_signer::StorablePermissionedHandle";
|
7195
|
+
function type(): TypeDescriptor<StorablePermissionedHandle>;
|
7196
|
+
}
|
7197
|
+
interface StoredPermission {
|
7198
|
+
}
|
7199
|
+
namespace StoredPermission {
|
7200
|
+
const TYPE_QNAME = "0x1::permissioned_signer::StoredPermission";
|
7201
|
+
function type(): TypeDescriptor<StoredPermission>;
|
7202
|
+
}
|
7203
|
+
namespace entry {
|
7204
|
+
function revokeAllHandles(client: Aptos, account: AptosAccount, request: {
|
7205
|
+
typeArguments: [];
|
7206
|
+
functionArguments: [];
|
7207
|
+
}, options?: InputGenerateTransactionOptions): Promise<PendingTransactionResponse>;
|
7208
|
+
function revokePermissionStorageAddress(client: Aptos, account: AptosAccount, request: {
|
7209
|
+
typeArguments: [];
|
7210
|
+
functionArguments: [MoveAddressType];
|
7211
|
+
}, options?: InputGenerateTransactionOptions): Promise<PendingTransactionResponse>;
|
7212
|
+
}
|
7213
|
+
namespace view { }
|
7214
|
+
interface RevokeAllHandlesPayload extends TypedFunctionPayload<[]> {
|
7215
|
+
arguments_decoded: [];
|
7216
|
+
type_arguments: [];
|
7217
|
+
}
|
7218
|
+
interface RevokePermissionStorageAddressPayload extends TypedFunctionPayload<[MoveAddressType]> {
|
7219
|
+
arguments_decoded: [MoveAddressType];
|
7220
|
+
type_arguments: [];
|
7221
|
+
}
|
7222
|
+
}
|
6802
7223
|
export declare namespace transaction_context {
|
6803
7224
|
interface AUID {
|
6804
7225
|
unique_address: MoveAddressType;
|
@@ -7088,6 +7509,13 @@ export declare namespace primary_fungible_store {
|
|
7088
7509
|
}
|
7089
7510
|
}
|
7090
7511
|
export declare namespace transaction_validation {
|
7512
|
+
interface GasPermission {
|
7513
|
+
dummy_field: boolean;
|
7514
|
+
}
|
7515
|
+
namespace GasPermission {
|
7516
|
+
const TYPE_QNAME = "0x1::transaction_validation::GasPermission";
|
7517
|
+
function type(): TypeDescriptor<GasPermission>;
|
7518
|
+
}
|
7091
7519
|
interface TransactionValidation {
|
7092
7520
|
module_addr: MoveAddressType;
|
7093
7521
|
module_name: string;
|
@@ -7103,6 +7531,59 @@ export declare namespace transaction_validation {
|
|
7103
7531
|
namespace entry { }
|
7104
7532
|
namespace view { }
|
7105
7533
|
}
|
7534
|
+
export declare namespace permissioned_delegation {
|
7535
|
+
interface AccountDelegation {
|
7536
|
+
}
|
7537
|
+
namespace AccountDelegation {
|
7538
|
+
const TYPE_QNAME = "0x1::permissioned_delegation::AccountDelegation";
|
7539
|
+
function type(): TypeDescriptor<AccountDelegation>;
|
7540
|
+
}
|
7541
|
+
interface DelegationKey {
|
7542
|
+
}
|
7543
|
+
namespace DelegationKey {
|
7544
|
+
const TYPE_QNAME = "0x1::permissioned_delegation::DelegationKey";
|
7545
|
+
function type(): TypeDescriptor<DelegationKey>;
|
7546
|
+
}
|
7547
|
+
interface RegisteredDelegations {
|
7548
|
+
delegations: big_ordered_map.BigOrderedMap<permissioned_delegation.DelegationKey, permissioned_delegation.AccountDelegation>;
|
7549
|
+
}
|
7550
|
+
namespace RegisteredDelegations {
|
7551
|
+
const TYPE_QNAME = "0x1::permissioned_delegation::RegisteredDelegations";
|
7552
|
+
function type(): TypeDescriptor<RegisteredDelegations>;
|
7553
|
+
}
|
7554
|
+
namespace entry { }
|
7555
|
+
namespace view { }
|
7556
|
+
}
|
7557
|
+
export declare namespace storage_slots_allocator {
|
7558
|
+
interface Link<T0> {
|
7559
|
+
}
|
7560
|
+
namespace Link {
|
7561
|
+
const TYPE_QNAME = "0x1::storage_slots_allocator::Link";
|
7562
|
+
function type<T0>(arg0?: TypeDescriptor<T0>): TypeDescriptor<Link<T0>>;
|
7563
|
+
}
|
7564
|
+
interface ReservedSlot {
|
7565
|
+
slot_index: bigint;
|
7566
|
+
}
|
7567
|
+
namespace ReservedSlot {
|
7568
|
+
const TYPE_QNAME = "0x1::storage_slots_allocator::ReservedSlot";
|
7569
|
+
function type(): TypeDescriptor<ReservedSlot>;
|
7570
|
+
}
|
7571
|
+
interface StorageSlotsAllocator<T0> {
|
7572
|
+
}
|
7573
|
+
namespace StorageSlotsAllocator {
|
7574
|
+
const TYPE_QNAME = "0x1::storage_slots_allocator::StorageSlotsAllocator";
|
7575
|
+
function type<T0>(arg0?: TypeDescriptor<T0>): TypeDescriptor<StorageSlotsAllocator<T0>>;
|
7576
|
+
}
|
7577
|
+
interface StoredSlot {
|
7578
|
+
slot_index: bigint;
|
7579
|
+
}
|
7580
|
+
namespace StoredSlot {
|
7581
|
+
const TYPE_QNAME = "0x1::storage_slots_allocator::StoredSlot";
|
7582
|
+
function type(): TypeDescriptor<StoredSlot>;
|
7583
|
+
}
|
7584
|
+
namespace entry { }
|
7585
|
+
namespace view { }
|
7586
|
+
}
|
7106
7587
|
export declare namespace randomness_api_v0_config {
|
7107
7588
|
interface AllowCustomMaxGasFlag {
|
7108
7589
|
value: boolean;
|
@@ -7199,6 +7680,10 @@ export declare namespace dispatchable_fungible_asset {
|
|
7199
7680
|
typeArguments: [MoveStructId];
|
7200
7681
|
functionArguments: [object$.Object<T0>];
|
7201
7682
|
}, version?: bigint): Promise<[option.Option<bigint>]>;
|
7683
|
+
function isDerivedBalanceAtLeast<T0 = any>(client: Aptos, request: {
|
7684
|
+
typeArguments: [MoveStructId];
|
7685
|
+
functionArguments: [object$.Object<T0>, bigint];
|
7686
|
+
}, version?: bigint): Promise<[boolean]>;
|
7202
7687
|
}
|
7203
7688
|
interface TransferPayload<T0 = any> extends TypedFunctionPayload<[
|
7204
7689
|
object$.Object<T0>,
|