@sentio/sdk 2.24.0-rc.1 → 2.24.0-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 +510 -2
- package/lib/aptos/builtin/0x1.d.ts.map +1 -1
- package/lib/aptos/builtin/0x1.js +587 -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/sui/sui-object-processor.js +1 -1
- package/lib/sui/sui-object-processor.js.map +1 -1
- package/package.json +3 -3
- package/src/aptos/abis/0x1.json +4533 -710
- package/src/aptos/abis/0x3.json +147 -2
- package/src/aptos/builtin/0x1.ts +1466 -212
- package/src/aptos/builtin/0x3.ts +1 -1
- package/src/sui/sui-object-processor.ts +1 -1
@@ -633,7 +633,9 @@ export declare class object_ extends AptosBaseProcessor {
|
|
633
633
|
constructor(options: AptosBindOptions);
|
634
634
|
static DEFAULT_OPTIONS: AptosBindOptions;
|
635
635
|
static bind(options?: Partial<AptosBindOptions>): object_;
|
636
|
+
onEntryTransfer(func: (call: object_.TransferPayload, ctx: AptosContext) => void, filter?: CallFilter, fetchConfig?: Partial<MoveFetchConfig>): object_;
|
636
637
|
onEntryTransferCall(func: (call: object_.TransferCallPayload, ctx: AptosContext) => void, filter?: CallFilter, fetchConfig?: Partial<MoveFetchConfig>): object_;
|
638
|
+
onEntryTransferToObject(func: (call: object_.TransferToObjectPayload, ctx: AptosContext) => void, filter?: CallFilter, fetchConfig?: Partial<MoveFetchConfig>): object_;
|
637
639
|
onEventTransferEvent(func: (event: object_.TransferEventInstance, ctx: AptosContext) => void, fetchConfig?: Partial<MoveFetchConfig>): object_;
|
638
640
|
}
|
639
641
|
export declare namespace object_ {
|
@@ -652,6 +654,13 @@ export declare namespace object_ {
|
|
652
654
|
const TYPE_QNAME = "0x1::object::DeleteRef";
|
653
655
|
function type(): TypeDescriptor<DeleteRef>;
|
654
656
|
}
|
657
|
+
interface DeriveRef {
|
658
|
+
self: Address;
|
659
|
+
}
|
660
|
+
namespace DeriveRef {
|
661
|
+
const TYPE_QNAME = "0x1::object::DeriveRef";
|
662
|
+
function type(): TypeDescriptor<DeriveRef>;
|
663
|
+
}
|
655
664
|
interface ExtendRef {
|
656
665
|
self: Address;
|
657
666
|
}
|
@@ -711,10 +720,18 @@ export declare namespace object_ {
|
|
711
720
|
const TYPE_QNAME = "0x1::object::TransferRef";
|
712
721
|
function type(): TypeDescriptor<TransferRef>;
|
713
722
|
}
|
723
|
+
interface TransferPayload<T0 = any> extends TypedFunctionPayload<[object_.Object<T0>, Address]> {
|
724
|
+
arguments_decoded: [object_.Object<T0>, Address];
|
725
|
+
type_arguments: [string];
|
726
|
+
}
|
714
727
|
interface TransferCallPayload extends TypedFunctionPayload<[Address, Address]> {
|
715
728
|
arguments_decoded: [Address, Address];
|
716
729
|
type_arguments: [];
|
717
730
|
}
|
731
|
+
interface TransferToObjectPayload<T0 = any, T1 = any> extends TypedFunctionPayload<[object_.Object<T0>, object_.Object<T1>]> {
|
732
|
+
arguments_decoded: [object_.Object<T0>, object_.Object<T1>];
|
733
|
+
type_arguments: [string, string];
|
734
|
+
}
|
718
735
|
}
|
719
736
|
export declare namespace option {
|
720
737
|
interface Option<T0> {
|
@@ -1811,6 +1828,7 @@ export declare namespace managed_coin {
|
|
1811
1828
|
type_arguments: [string];
|
1812
1829
|
}
|
1813
1830
|
}
|
1831
|
+
export declare namespace math_fixed64 { }
|
1814
1832
|
export declare namespace ristretto255 {
|
1815
1833
|
interface CompressedRistretto {
|
1816
1834
|
data: string;
|
@@ -1837,7 +1855,7 @@ export declare namespace ristretto255 {
|
|
1837
1855
|
export declare namespace smart_vector {
|
1838
1856
|
interface SmartVector<T0> {
|
1839
1857
|
inline_vec: T0[] | string;
|
1840
|
-
big_vec: big_vector.BigVector<T0
|
1858
|
+
big_vec: option.Option<big_vector.BigVector<T0>>;
|
1841
1859
|
inline_capacity: option.Option<bigint>;
|
1842
1860
|
bucket_size: option.Option<bigint>;
|
1843
1861
|
}
|
@@ -1846,6 +1864,31 @@ export declare namespace smart_vector {
|
|
1846
1864
|
function type<T0>(arg0?: TypeDescriptor<T0>): TypeDescriptor<SmartVector<T0>>;
|
1847
1865
|
}
|
1848
1866
|
}
|
1867
|
+
export declare namespace string_utils {
|
1868
|
+
interface Cons<T0, T1> {
|
1869
|
+
car: T0;
|
1870
|
+
cdr: T1;
|
1871
|
+
}
|
1872
|
+
namespace Cons {
|
1873
|
+
const TYPE_QNAME = "0x1::string_utils::Cons";
|
1874
|
+
function type<T0, T1>(arg0?: TypeDescriptor<T0>, arg1?: TypeDescriptor<T1>): TypeDescriptor<Cons<T0, T1>>;
|
1875
|
+
}
|
1876
|
+
interface FakeCons<T0, T1> {
|
1877
|
+
car: T0;
|
1878
|
+
cdr: T1;
|
1879
|
+
}
|
1880
|
+
namespace FakeCons {
|
1881
|
+
const TYPE_QNAME = "0x1::string_utils::FakeCons";
|
1882
|
+
function type<T0, T1>(arg0?: TypeDescriptor<T0>, arg1?: TypeDescriptor<T1>): TypeDescriptor<FakeCons<T0, T1>>;
|
1883
|
+
}
|
1884
|
+
interface NIL {
|
1885
|
+
dummy_field: Boolean;
|
1886
|
+
}
|
1887
|
+
namespace NIL {
|
1888
|
+
const TYPE_QNAME = "0x1::string_utils::NIL";
|
1889
|
+
function type(): TypeDescriptor<NIL>;
|
1890
|
+
}
|
1891
|
+
}
|
1849
1892
|
export declare class aptos_account extends AptosBaseProcessor {
|
1850
1893
|
constructor(options: AptosBindOptions);
|
1851
1894
|
static DEFAULT_OPTIONS: AptosBindOptions;
|
@@ -1913,6 +1956,15 @@ export declare namespace fixed_point32 {
|
|
1913
1956
|
function type(): TypeDescriptor<FixedPoint32>;
|
1914
1957
|
}
|
1915
1958
|
}
|
1959
|
+
export declare namespace fixed_point64 {
|
1960
|
+
interface FixedPoint64 {
|
1961
|
+
value: bigint;
|
1962
|
+
}
|
1963
|
+
namespace FixedPoint64 {
|
1964
|
+
const TYPE_QNAME = "0x1::fixed_point64::FixedPoint64";
|
1965
|
+
function type(): TypeDescriptor<FixedPoint64>;
|
1966
|
+
}
|
1967
|
+
}
|
1916
1968
|
export declare namespace multi_ed25519 {
|
1917
1969
|
interface Signature {
|
1918
1970
|
bytes: string;
|
@@ -2008,6 +2060,133 @@ export declare namespace state_storage {
|
|
2008
2060
|
function type(): TypeDescriptor<Usage>;
|
2009
2061
|
}
|
2010
2062
|
}
|
2063
|
+
export declare namespace crypto_algebra {
|
2064
|
+
interface Element<T0> {
|
2065
|
+
handle: bigint;
|
2066
|
+
}
|
2067
|
+
namespace Element {
|
2068
|
+
const TYPE_QNAME = "0x1::crypto_algebra::Element";
|
2069
|
+
function type<T0>(arg0?: TypeDescriptor<T0>): TypeDescriptor<Element<T0>>;
|
2070
|
+
}
|
2071
|
+
}
|
2072
|
+
export declare class fungible_asset extends AptosBaseProcessor {
|
2073
|
+
constructor(options: AptosBindOptions);
|
2074
|
+
static DEFAULT_OPTIONS: AptosBindOptions;
|
2075
|
+
static bind(options?: Partial<AptosBindOptions>): fungible_asset;
|
2076
|
+
onEntryTransfer(func: (call: fungible_asset.TransferPayload, ctx: AptosContext) => void, filter?: CallFilter, fetchConfig?: Partial<MoveFetchConfig>): fungible_asset;
|
2077
|
+
onEventDepositEvent(func: (event: fungible_asset.DepositEventInstance, ctx: AptosContext) => void, fetchConfig?: Partial<MoveFetchConfig>): fungible_asset;
|
2078
|
+
onEventWithdrawEvent(func: (event: fungible_asset.WithdrawEventInstance, ctx: AptosContext) => void, fetchConfig?: Partial<MoveFetchConfig>): fungible_asset;
|
2079
|
+
onEventFrozenEvent(func: (event: fungible_asset.FrozenEventInstance, ctx: AptosContext) => void, fetchConfig?: Partial<MoveFetchConfig>): fungible_asset;
|
2080
|
+
}
|
2081
|
+
export declare namespace fungible_asset {
|
2082
|
+
interface BurnRef {
|
2083
|
+
metadata: object_.Object<fungible_asset.Metadata>;
|
2084
|
+
}
|
2085
|
+
namespace BurnRef {
|
2086
|
+
const TYPE_QNAME = "0x1::fungible_asset::BurnRef";
|
2087
|
+
function type(): TypeDescriptor<BurnRef>;
|
2088
|
+
}
|
2089
|
+
interface DepositEvent {
|
2090
|
+
amount: bigint;
|
2091
|
+
}
|
2092
|
+
namespace DepositEvent {
|
2093
|
+
const TYPE_QNAME = "0x1::fungible_asset::DepositEvent";
|
2094
|
+
function type(): TypeDescriptor<DepositEvent>;
|
2095
|
+
}
|
2096
|
+
interface DepositEventInstance extends TypedEventInstance<DepositEvent> {
|
2097
|
+
data_decoded: DepositEvent;
|
2098
|
+
type_arguments: [];
|
2099
|
+
}
|
2100
|
+
interface FrozenEvent {
|
2101
|
+
frozen: Boolean;
|
2102
|
+
}
|
2103
|
+
namespace FrozenEvent {
|
2104
|
+
const TYPE_QNAME = "0x1::fungible_asset::FrozenEvent";
|
2105
|
+
function type(): TypeDescriptor<FrozenEvent>;
|
2106
|
+
}
|
2107
|
+
interface FrozenEventInstance extends TypedEventInstance<FrozenEvent> {
|
2108
|
+
data_decoded: FrozenEvent;
|
2109
|
+
type_arguments: [];
|
2110
|
+
}
|
2111
|
+
interface FungibleAsset {
|
2112
|
+
metadata: object_.Object<fungible_asset.Metadata>;
|
2113
|
+
amount: bigint;
|
2114
|
+
}
|
2115
|
+
namespace FungibleAsset {
|
2116
|
+
const TYPE_QNAME = "0x1::fungible_asset::FungibleAsset";
|
2117
|
+
function type(): TypeDescriptor<FungibleAsset>;
|
2118
|
+
}
|
2119
|
+
interface FungibleAssetEvents {
|
2120
|
+
deposit_events: event.EventHandle<fungible_asset.DepositEvent>;
|
2121
|
+
withdraw_events: event.EventHandle<fungible_asset.WithdrawEvent>;
|
2122
|
+
frozen_events: event.EventHandle<fungible_asset.FrozenEvent>;
|
2123
|
+
}
|
2124
|
+
namespace FungibleAssetEvents {
|
2125
|
+
const TYPE_QNAME = "0x1::fungible_asset::FungibleAssetEvents";
|
2126
|
+
function type(): TypeDescriptor<FungibleAssetEvents>;
|
2127
|
+
}
|
2128
|
+
interface FungibleStore {
|
2129
|
+
metadata: object_.Object<fungible_asset.Metadata>;
|
2130
|
+
balance: bigint;
|
2131
|
+
frozen: Boolean;
|
2132
|
+
}
|
2133
|
+
namespace FungibleStore {
|
2134
|
+
const TYPE_QNAME = "0x1::fungible_asset::FungibleStore";
|
2135
|
+
function type(): TypeDescriptor<FungibleStore>;
|
2136
|
+
}
|
2137
|
+
interface Metadata {
|
2138
|
+
name: string;
|
2139
|
+
symbol: string;
|
2140
|
+
decimals: number;
|
2141
|
+
icon_uri: string;
|
2142
|
+
project_uri: string;
|
2143
|
+
}
|
2144
|
+
namespace Metadata {
|
2145
|
+
const TYPE_QNAME = "0x1::fungible_asset::Metadata";
|
2146
|
+
function type(): TypeDescriptor<Metadata>;
|
2147
|
+
}
|
2148
|
+
interface MintRef {
|
2149
|
+
metadata: object_.Object<fungible_asset.Metadata>;
|
2150
|
+
}
|
2151
|
+
namespace MintRef {
|
2152
|
+
const TYPE_QNAME = "0x1::fungible_asset::MintRef";
|
2153
|
+
function type(): TypeDescriptor<MintRef>;
|
2154
|
+
}
|
2155
|
+
interface Supply {
|
2156
|
+
current: bigint;
|
2157
|
+
maximum: option.Option<bigint>;
|
2158
|
+
}
|
2159
|
+
namespace Supply {
|
2160
|
+
const TYPE_QNAME = "0x1::fungible_asset::Supply";
|
2161
|
+
function type(): TypeDescriptor<Supply>;
|
2162
|
+
}
|
2163
|
+
interface TransferRef {
|
2164
|
+
metadata: object_.Object<fungible_asset.Metadata>;
|
2165
|
+
}
|
2166
|
+
namespace TransferRef {
|
2167
|
+
const TYPE_QNAME = "0x1::fungible_asset::TransferRef";
|
2168
|
+
function type(): TypeDescriptor<TransferRef>;
|
2169
|
+
}
|
2170
|
+
interface WithdrawEvent {
|
2171
|
+
amount: bigint;
|
2172
|
+
}
|
2173
|
+
namespace WithdrawEvent {
|
2174
|
+
const TYPE_QNAME = "0x1::fungible_asset::WithdrawEvent";
|
2175
|
+
function type(): TypeDescriptor<WithdrawEvent>;
|
2176
|
+
}
|
2177
|
+
interface WithdrawEventInstance extends TypedEventInstance<WithdrawEvent> {
|
2178
|
+
data_decoded: WithdrawEvent;
|
2179
|
+
type_arguments: [];
|
2180
|
+
}
|
2181
|
+
interface TransferPayload<T0 = any> extends TypedFunctionPayload<[
|
2182
|
+
object_.Object<T0>,
|
2183
|
+
object_.Object<T0>,
|
2184
|
+
bigint
|
2185
|
+
]> {
|
2186
|
+
arguments_decoded: [object_.Object<T0>, object_.Object<T0>, bigint];
|
2187
|
+
type_arguments: [string];
|
2188
|
+
}
|
2189
|
+
}
|
2011
2190
|
export declare namespace staking_config {
|
2012
2191
|
interface StakingConfig {
|
2013
2192
|
minimum_stake: bigint;
|
@@ -2022,24 +2201,42 @@ export declare namespace staking_config {
|
|
2022
2201
|
const TYPE_QNAME = "0x1::staking_config::StakingConfig";
|
2023
2202
|
function type(): TypeDescriptor<StakingConfig>;
|
2024
2203
|
}
|
2204
|
+
interface StakingRewardsConfig {
|
2205
|
+
rewards_rate: fixed_point64.FixedPoint64;
|
2206
|
+
min_rewards_rate: fixed_point64.FixedPoint64;
|
2207
|
+
rewards_rate_period_in_secs: bigint;
|
2208
|
+
last_rewards_rate_period_start_in_secs: bigint;
|
2209
|
+
rewards_rate_decrease_rate: fixed_point64.FixedPoint64;
|
2210
|
+
}
|
2211
|
+
namespace StakingRewardsConfig {
|
2212
|
+
const TYPE_QNAME = "0x1::staking_config::StakingRewardsConfig";
|
2213
|
+
function type(): TypeDescriptor<StakingRewardsConfig>;
|
2214
|
+
}
|
2025
2215
|
}
|
2026
2216
|
export declare class delegation_pool extends AptosBaseProcessor {
|
2027
2217
|
constructor(options: AptosBindOptions);
|
2028
2218
|
static DEFAULT_OPTIONS: AptosBindOptions;
|
2029
2219
|
static bind(options?: Partial<AptosBindOptions>): delegation_pool;
|
2030
2220
|
onEntryAddStake(func: (call: delegation_pool.AddStakePayload, ctx: AptosContext) => void, filter?: CallFilter, fetchConfig?: Partial<MoveFetchConfig>): delegation_pool;
|
2221
|
+
onEntryCreateProposal(func: (call: delegation_pool.CreateProposalPayload, ctx: AptosContext) => void, filter?: CallFilter, fetchConfig?: Partial<MoveFetchConfig>): delegation_pool;
|
2222
|
+
onEntryDelegateVotingPower(func: (call: delegation_pool.DelegateVotingPowerPayload, ctx: AptosContext) => void, filter?: CallFilter, fetchConfig?: Partial<MoveFetchConfig>): delegation_pool;
|
2223
|
+
onEntryEnablePartialGovernanceVoting(func: (call: delegation_pool.EnablePartialGovernanceVotingPayload, ctx: AptosContext) => void, filter?: CallFilter, fetchConfig?: Partial<MoveFetchConfig>): delegation_pool;
|
2031
2224
|
onEntryInitializeDelegationPool(func: (call: delegation_pool.InitializeDelegationPoolPayload, ctx: AptosContext) => void, filter?: CallFilter, fetchConfig?: Partial<MoveFetchConfig>): delegation_pool;
|
2032
2225
|
onEntryReactivateStake(func: (call: delegation_pool.ReactivateStakePayload, ctx: AptosContext) => void, filter?: CallFilter, fetchConfig?: Partial<MoveFetchConfig>): delegation_pool;
|
2033
2226
|
onEntrySetDelegatedVoter(func: (call: delegation_pool.SetDelegatedVoterPayload, ctx: AptosContext) => void, filter?: CallFilter, fetchConfig?: Partial<MoveFetchConfig>): delegation_pool;
|
2034
2227
|
onEntrySetOperator(func: (call: delegation_pool.SetOperatorPayload, ctx: AptosContext) => void, filter?: CallFilter, fetchConfig?: Partial<MoveFetchConfig>): delegation_pool;
|
2035
2228
|
onEntrySynchronizeDelegationPool(func: (call: delegation_pool.SynchronizeDelegationPoolPayload, ctx: AptosContext) => void, filter?: CallFilter, fetchConfig?: Partial<MoveFetchConfig>): delegation_pool;
|
2036
2229
|
onEntryUnlock(func: (call: delegation_pool.UnlockPayload, ctx: AptosContext) => void, filter?: CallFilter, fetchConfig?: Partial<MoveFetchConfig>): delegation_pool;
|
2230
|
+
onEntryVote(func: (call: delegation_pool.VotePayload, ctx: AptosContext) => void, filter?: CallFilter, fetchConfig?: Partial<MoveFetchConfig>): delegation_pool;
|
2037
2231
|
onEntryWithdraw(func: (call: delegation_pool.WithdrawPayload, ctx: AptosContext) => void, filter?: CallFilter, fetchConfig?: Partial<MoveFetchConfig>): delegation_pool;
|
2038
2232
|
onEventAddStakeEvent(func: (event: delegation_pool.AddStakeEventInstance, ctx: AptosContext) => void, fetchConfig?: Partial<MoveFetchConfig>): delegation_pool;
|
2039
2233
|
onEventReactivateStakeEvent(func: (event: delegation_pool.ReactivateStakeEventInstance, ctx: AptosContext) => void, fetchConfig?: Partial<MoveFetchConfig>): delegation_pool;
|
2040
2234
|
onEventUnlockStakeEvent(func: (event: delegation_pool.UnlockStakeEventInstance, ctx: AptosContext) => void, fetchConfig?: Partial<MoveFetchConfig>): delegation_pool;
|
2041
2235
|
onEventWithdrawStakeEvent(func: (event: delegation_pool.WithdrawStakeEventInstance, ctx: AptosContext) => void, fetchConfig?: Partial<MoveFetchConfig>): delegation_pool;
|
2042
2236
|
onEventDistributeCommissionEvent(func: (event: delegation_pool.DistributeCommissionEventInstance, ctx: AptosContext) => void, fetchConfig?: Partial<MoveFetchConfig>): delegation_pool;
|
2237
|
+
onEventVoteEvent(func: (event: delegation_pool.VoteEventInstance, ctx: AptosContext) => void, fetchConfig?: Partial<MoveFetchConfig>): delegation_pool;
|
2238
|
+
onEventCreateProposalEvent(func: (event: delegation_pool.CreateProposalEventInstance, ctx: AptosContext) => void, fetchConfig?: Partial<MoveFetchConfig>): delegation_pool;
|
2239
|
+
onEventDelegateVotingPowerEvent(func: (event: delegation_pool.DelegateVotingPowerEventInstance, ctx: AptosContext) => void, fetchConfig?: Partial<MoveFetchConfig>): delegation_pool;
|
2043
2240
|
}
|
2044
2241
|
export declare namespace delegation_pool {
|
2045
2242
|
interface AddStakeEvent {
|
@@ -2056,6 +2253,42 @@ export declare namespace delegation_pool {
|
|
2056
2253
|
data_decoded: AddStakeEvent;
|
2057
2254
|
type_arguments: [];
|
2058
2255
|
}
|
2256
|
+
interface CreateProposalEvent {
|
2257
|
+
proposal_id: bigint;
|
2258
|
+
voter: Address;
|
2259
|
+
delegation_pool: Address;
|
2260
|
+
}
|
2261
|
+
namespace CreateProposalEvent {
|
2262
|
+
const TYPE_QNAME = "0x1::delegation_pool::CreateProposalEvent";
|
2263
|
+
function type(): TypeDescriptor<CreateProposalEvent>;
|
2264
|
+
}
|
2265
|
+
interface CreateProposalEventInstance extends TypedEventInstance<CreateProposalEvent> {
|
2266
|
+
data_decoded: CreateProposalEvent;
|
2267
|
+
type_arguments: [];
|
2268
|
+
}
|
2269
|
+
interface DelegateVotingPowerEvent {
|
2270
|
+
pool_address: Address;
|
2271
|
+
delegator: Address;
|
2272
|
+
voter: Address;
|
2273
|
+
}
|
2274
|
+
namespace DelegateVotingPowerEvent {
|
2275
|
+
const TYPE_QNAME = "0x1::delegation_pool::DelegateVotingPowerEvent";
|
2276
|
+
function type(): TypeDescriptor<DelegateVotingPowerEvent>;
|
2277
|
+
}
|
2278
|
+
interface DelegateVotingPowerEventInstance extends TypedEventInstance<DelegateVotingPowerEvent> {
|
2279
|
+
data_decoded: DelegateVotingPowerEvent;
|
2280
|
+
type_arguments: [];
|
2281
|
+
}
|
2282
|
+
interface DelegatedVotes {
|
2283
|
+
active_shares: bigint;
|
2284
|
+
pending_inactive_shares: bigint;
|
2285
|
+
active_shares_next_lockup: bigint;
|
2286
|
+
last_locked_until_secs: bigint;
|
2287
|
+
}
|
2288
|
+
namespace DelegatedVotes {
|
2289
|
+
const TYPE_QNAME = "0x1::delegation_pool::DelegatedVotes";
|
2290
|
+
function type(): TypeDescriptor<DelegatedVotes>;
|
2291
|
+
}
|
2059
2292
|
interface DelegationPool {
|
2060
2293
|
active_shares: pool_u64_unbound.Pool;
|
2061
2294
|
observed_lockup_cycle: delegation_pool.ObservedLockupCycle;
|
@@ -2095,6 +2328,19 @@ export declare namespace delegation_pool {
|
|
2095
2328
|
data_decoded: DistributeCommissionEvent;
|
2096
2329
|
type_arguments: [];
|
2097
2330
|
}
|
2331
|
+
interface GovernanceRecords {
|
2332
|
+
votes: smart_table.SmartTable<delegation_pool.VotingRecordKey, bigint>;
|
2333
|
+
votes_per_proposal: smart_table.SmartTable<bigint, bigint>;
|
2334
|
+
vote_delegation: smart_table.SmartTable<Address, delegation_pool.VoteDelegation>;
|
2335
|
+
delegated_votes: smart_table.SmartTable<Address, delegation_pool.DelegatedVotes>;
|
2336
|
+
vote_events: event.EventHandle<delegation_pool.VoteEvent>;
|
2337
|
+
create_proposal_events: event.EventHandle<delegation_pool.CreateProposalEvent>;
|
2338
|
+
delegate_voting_power_events: event.EventHandle<delegation_pool.DelegateVotingPowerEvent>;
|
2339
|
+
}
|
2340
|
+
namespace GovernanceRecords {
|
2341
|
+
const TYPE_QNAME = "0x1::delegation_pool::GovernanceRecords";
|
2342
|
+
function type(): TypeDescriptor<GovernanceRecords>;
|
2343
|
+
}
|
2098
2344
|
interface ObservedLockupCycle {
|
2099
2345
|
index: bigint;
|
2100
2346
|
}
|
@@ -2128,6 +2374,38 @@ export declare namespace delegation_pool {
|
|
2128
2374
|
data_decoded: UnlockStakeEvent;
|
2129
2375
|
type_arguments: [];
|
2130
2376
|
}
|
2377
|
+
interface VoteDelegation {
|
2378
|
+
voter: Address;
|
2379
|
+
pending_voter: Address;
|
2380
|
+
last_locked_until_secs: bigint;
|
2381
|
+
}
|
2382
|
+
namespace VoteDelegation {
|
2383
|
+
const TYPE_QNAME = "0x1::delegation_pool::VoteDelegation";
|
2384
|
+
function type(): TypeDescriptor<VoteDelegation>;
|
2385
|
+
}
|
2386
|
+
interface VoteEvent {
|
2387
|
+
voter: Address;
|
2388
|
+
proposal_id: bigint;
|
2389
|
+
delegation_pool: Address;
|
2390
|
+
num_votes: bigint;
|
2391
|
+
should_pass: Boolean;
|
2392
|
+
}
|
2393
|
+
namespace VoteEvent {
|
2394
|
+
const TYPE_QNAME = "0x1::delegation_pool::VoteEvent";
|
2395
|
+
function type(): TypeDescriptor<VoteEvent>;
|
2396
|
+
}
|
2397
|
+
interface VoteEventInstance extends TypedEventInstance<VoteEvent> {
|
2398
|
+
data_decoded: VoteEvent;
|
2399
|
+
type_arguments: [];
|
2400
|
+
}
|
2401
|
+
interface VotingRecordKey {
|
2402
|
+
voter: Address;
|
2403
|
+
proposal_id: bigint;
|
2404
|
+
}
|
2405
|
+
namespace VotingRecordKey {
|
2406
|
+
const TYPE_QNAME = "0x1::delegation_pool::VotingRecordKey";
|
2407
|
+
function type(): TypeDescriptor<VotingRecordKey>;
|
2408
|
+
}
|
2131
2409
|
interface WithdrawStakeEvent {
|
2132
2410
|
pool_address: Address;
|
2133
2411
|
delegator_address: Address;
|
@@ -2145,6 +2423,18 @@ export declare namespace delegation_pool {
|
|
2145
2423
|
arguments_decoded: [Address, bigint];
|
2146
2424
|
type_arguments: [];
|
2147
2425
|
}
|
2426
|
+
interface CreateProposalPayload extends TypedFunctionPayload<[Address, string, string, string, Boolean]> {
|
2427
|
+
arguments_decoded: [Address, string, string, string, Boolean];
|
2428
|
+
type_arguments: [];
|
2429
|
+
}
|
2430
|
+
interface DelegateVotingPowerPayload extends TypedFunctionPayload<[Address, Address]> {
|
2431
|
+
arguments_decoded: [Address, Address];
|
2432
|
+
type_arguments: [];
|
2433
|
+
}
|
2434
|
+
interface EnablePartialGovernanceVotingPayload extends TypedFunctionPayload<[Address]> {
|
2435
|
+
arguments_decoded: [Address];
|
2436
|
+
type_arguments: [];
|
2437
|
+
}
|
2148
2438
|
interface InitializeDelegationPoolPayload extends TypedFunctionPayload<[bigint, string]> {
|
2149
2439
|
arguments_decoded: [bigint, string];
|
2150
2440
|
type_arguments: [];
|
@@ -2169,6 +2459,10 @@ export declare namespace delegation_pool {
|
|
2169
2459
|
arguments_decoded: [Address, bigint];
|
2170
2460
|
type_arguments: [];
|
2171
2461
|
}
|
2462
|
+
interface VotePayload extends TypedFunctionPayload<[Address, bigint, bigint, Boolean]> {
|
2463
|
+
arguments_decoded: [Address, bigint, bigint, Boolean];
|
2464
|
+
type_arguments: [];
|
2465
|
+
}
|
2172
2466
|
interface WithdrawPayload extends TypedFunctionPayload<[Address, bigint]> {
|
2173
2467
|
arguments_decoded: [Address, bigint];
|
2174
2468
|
type_arguments: [];
|
@@ -2234,6 +2528,7 @@ export declare class aptos_governance extends AptosBaseProcessor {
|
|
2234
2528
|
onEntryAddApprovedScriptHashScript(func: (call: aptos_governance.AddApprovedScriptHashScriptPayload, ctx: AptosContext) => void, filter?: CallFilter, fetchConfig?: Partial<MoveFetchConfig>): aptos_governance;
|
2235
2529
|
onEntryCreateProposal(func: (call: aptos_governance.CreateProposalPayload, ctx: AptosContext) => void, filter?: CallFilter, fetchConfig?: Partial<MoveFetchConfig>): aptos_governance;
|
2236
2530
|
onEntryCreateProposalV2(func: (call: aptos_governance.CreateProposalV2Payload, ctx: AptosContext) => void, filter?: CallFilter, fetchConfig?: Partial<MoveFetchConfig>): aptos_governance;
|
2531
|
+
onEntryPartialVote(func: (call: aptos_governance.PartialVotePayload, ctx: AptosContext) => void, filter?: CallFilter, fetchConfig?: Partial<MoveFetchConfig>): aptos_governance;
|
2237
2532
|
onEntryVote(func: (call: aptos_governance.VotePayload, ctx: AptosContext) => void, filter?: CallFilter, fetchConfig?: Partial<MoveFetchConfig>): aptos_governance;
|
2238
2533
|
onEventCreateProposalEvent(func: (event: aptos_governance.CreateProposalEventInstance, ctx: AptosContext) => void, fetchConfig?: Partial<MoveFetchConfig>): aptos_governance;
|
2239
2534
|
onEventUpdateConfigEvent(func: (event: aptos_governance.UpdateConfigEventInstance, ctx: AptosContext) => void, fetchConfig?: Partial<MoveFetchConfig>): aptos_governance;
|
@@ -2330,6 +2625,13 @@ export declare namespace aptos_governance {
|
|
2330
2625
|
const TYPE_QNAME = "0x1::aptos_governance::VotingRecords";
|
2331
2626
|
function type(): TypeDescriptor<VotingRecords>;
|
2332
2627
|
}
|
2628
|
+
interface VotingRecordsV2 {
|
2629
|
+
votes: smart_table.SmartTable<aptos_governance.RecordKey, bigint>;
|
2630
|
+
}
|
2631
|
+
namespace VotingRecordsV2 {
|
2632
|
+
const TYPE_QNAME = "0x1::aptos_governance::VotingRecordsV2";
|
2633
|
+
function type(): TypeDescriptor<VotingRecordsV2>;
|
2634
|
+
}
|
2333
2635
|
interface AddApprovedScriptHashScriptPayload extends TypedFunctionPayload<[bigint]> {
|
2334
2636
|
arguments_decoded: [bigint];
|
2335
2637
|
type_arguments: [];
|
@@ -2342,11 +2644,122 @@ export declare namespace aptos_governance {
|
|
2342
2644
|
arguments_decoded: [Address, string, string, string, Boolean];
|
2343
2645
|
type_arguments: [];
|
2344
2646
|
}
|
2647
|
+
interface PartialVotePayload extends TypedFunctionPayload<[Address, bigint, bigint, Boolean]> {
|
2648
|
+
arguments_decoded: [Address, bigint, bigint, Boolean];
|
2649
|
+
type_arguments: [];
|
2650
|
+
}
|
2345
2651
|
interface VotePayload extends TypedFunctionPayload<[Address, bigint, Boolean]> {
|
2346
2652
|
arguments_decoded: [Address, bigint, Boolean];
|
2347
2653
|
type_arguments: [];
|
2348
2654
|
}
|
2349
2655
|
}
|
2656
|
+
export declare namespace bls12381_algebra {
|
2657
|
+
interface FormatFq12LscLsb {
|
2658
|
+
dummy_field: Boolean;
|
2659
|
+
}
|
2660
|
+
namespace FormatFq12LscLsb {
|
2661
|
+
const TYPE_QNAME = "0x1::bls12381_algebra::FormatFq12LscLsb";
|
2662
|
+
function type(): TypeDescriptor<FormatFq12LscLsb>;
|
2663
|
+
}
|
2664
|
+
interface FormatFrLsb {
|
2665
|
+
dummy_field: Boolean;
|
2666
|
+
}
|
2667
|
+
namespace FormatFrLsb {
|
2668
|
+
const TYPE_QNAME = "0x1::bls12381_algebra::FormatFrLsb";
|
2669
|
+
function type(): TypeDescriptor<FormatFrLsb>;
|
2670
|
+
}
|
2671
|
+
interface FormatFrMsb {
|
2672
|
+
dummy_field: Boolean;
|
2673
|
+
}
|
2674
|
+
namespace FormatFrMsb {
|
2675
|
+
const TYPE_QNAME = "0x1::bls12381_algebra::FormatFrMsb";
|
2676
|
+
function type(): TypeDescriptor<FormatFrMsb>;
|
2677
|
+
}
|
2678
|
+
interface FormatG1Compr {
|
2679
|
+
dummy_field: Boolean;
|
2680
|
+
}
|
2681
|
+
namespace FormatG1Compr {
|
2682
|
+
const TYPE_QNAME = "0x1::bls12381_algebra::FormatG1Compr";
|
2683
|
+
function type(): TypeDescriptor<FormatG1Compr>;
|
2684
|
+
}
|
2685
|
+
interface FormatG1Uncompr {
|
2686
|
+
dummy_field: Boolean;
|
2687
|
+
}
|
2688
|
+
namespace FormatG1Uncompr {
|
2689
|
+
const TYPE_QNAME = "0x1::bls12381_algebra::FormatG1Uncompr";
|
2690
|
+
function type(): TypeDescriptor<FormatG1Uncompr>;
|
2691
|
+
}
|
2692
|
+
interface FormatG2Compr {
|
2693
|
+
dummy_field: Boolean;
|
2694
|
+
}
|
2695
|
+
namespace FormatG2Compr {
|
2696
|
+
const TYPE_QNAME = "0x1::bls12381_algebra::FormatG2Compr";
|
2697
|
+
function type(): TypeDescriptor<FormatG2Compr>;
|
2698
|
+
}
|
2699
|
+
interface FormatG2Uncompr {
|
2700
|
+
dummy_field: Boolean;
|
2701
|
+
}
|
2702
|
+
namespace FormatG2Uncompr {
|
2703
|
+
const TYPE_QNAME = "0x1::bls12381_algebra::FormatG2Uncompr";
|
2704
|
+
function type(): TypeDescriptor<FormatG2Uncompr>;
|
2705
|
+
}
|
2706
|
+
interface FormatGt {
|
2707
|
+
dummy_field: Boolean;
|
2708
|
+
}
|
2709
|
+
namespace FormatGt {
|
2710
|
+
const TYPE_QNAME = "0x1::bls12381_algebra::FormatGt";
|
2711
|
+
function type(): TypeDescriptor<FormatGt>;
|
2712
|
+
}
|
2713
|
+
interface Fq12 {
|
2714
|
+
dummy_field: Boolean;
|
2715
|
+
}
|
2716
|
+
namespace Fq12 {
|
2717
|
+
const TYPE_QNAME = "0x1::bls12381_algebra::Fq12";
|
2718
|
+
function type(): TypeDescriptor<Fq12>;
|
2719
|
+
}
|
2720
|
+
interface Fr {
|
2721
|
+
dummy_field: Boolean;
|
2722
|
+
}
|
2723
|
+
namespace Fr {
|
2724
|
+
const TYPE_QNAME = "0x1::bls12381_algebra::Fr";
|
2725
|
+
function type(): TypeDescriptor<Fr>;
|
2726
|
+
}
|
2727
|
+
interface G1 {
|
2728
|
+
dummy_field: Boolean;
|
2729
|
+
}
|
2730
|
+
namespace G1 {
|
2731
|
+
const TYPE_QNAME = "0x1::bls12381_algebra::G1";
|
2732
|
+
function type(): TypeDescriptor<G1>;
|
2733
|
+
}
|
2734
|
+
interface G2 {
|
2735
|
+
dummy_field: Boolean;
|
2736
|
+
}
|
2737
|
+
namespace G2 {
|
2738
|
+
const TYPE_QNAME = "0x1::bls12381_algebra::G2";
|
2739
|
+
function type(): TypeDescriptor<G2>;
|
2740
|
+
}
|
2741
|
+
interface Gt {
|
2742
|
+
dummy_field: Boolean;
|
2743
|
+
}
|
2744
|
+
namespace Gt {
|
2745
|
+
const TYPE_QNAME = "0x1::bls12381_algebra::Gt";
|
2746
|
+
function type(): TypeDescriptor<Gt>;
|
2747
|
+
}
|
2748
|
+
interface HashG1XmdSha256SswuRo {
|
2749
|
+
dummy_field: Boolean;
|
2750
|
+
}
|
2751
|
+
namespace HashG1XmdSha256SswuRo {
|
2752
|
+
const TYPE_QNAME = "0x1::bls12381_algebra::HashG1XmdSha256SswuRo";
|
2753
|
+
function type(): TypeDescriptor<HashG1XmdSha256SswuRo>;
|
2754
|
+
}
|
2755
|
+
interface HashG2XmdSha256SswuRo {
|
2756
|
+
dummy_field: Boolean;
|
2757
|
+
}
|
2758
|
+
namespace HashG2XmdSha256SswuRo {
|
2759
|
+
const TYPE_QNAME = "0x1::bls12381_algebra::HashG2XmdSha256SswuRo";
|
2760
|
+
function type(): TypeDescriptor<HashG2XmdSha256SswuRo>;
|
2761
|
+
}
|
2762
|
+
}
|
2350
2763
|
export declare namespace consensus_config {
|
2351
2764
|
interface ConsensusConfig {
|
2352
2765
|
config: string;
|
@@ -2356,22 +2769,37 @@ export declare namespace consensus_config {
|
|
2356
2769
|
function type(): TypeDescriptor<ConsensusConfig>;
|
2357
2770
|
}
|
2358
2771
|
}
|
2772
|
+
export declare namespace execution_config {
|
2773
|
+
interface ExecutionConfig {
|
2774
|
+
config: string;
|
2775
|
+
}
|
2776
|
+
namespace ExecutionConfig {
|
2777
|
+
const TYPE_QNAME = "0x1::execution_config::ExecutionConfig";
|
2778
|
+
function type(): TypeDescriptor<ExecutionConfig>;
|
2779
|
+
}
|
2780
|
+
}
|
2359
2781
|
export declare class multisig_account extends AptosBaseProcessor {
|
2360
2782
|
constructor(options: AptosBindOptions);
|
2361
2783
|
static DEFAULT_OPTIONS: AptosBindOptions;
|
2362
2784
|
static bind(options?: Partial<AptosBindOptions>): multisig_account;
|
2363
2785
|
onEntryAddOwner(func: (call: multisig_account.AddOwnerPayload, ctx: AptosContext) => void, filter?: CallFilter, fetchConfig?: Partial<MoveFetchConfig>): multisig_account;
|
2364
2786
|
onEntryAddOwners(func: (call: multisig_account.AddOwnersPayload, ctx: AptosContext) => void, filter?: CallFilter, fetchConfig?: Partial<MoveFetchConfig>): multisig_account;
|
2787
|
+
onEntryAddOwnersAndUpdateSignaturesRequired(func: (call: multisig_account.AddOwnersAndUpdateSignaturesRequiredPayload, ctx: AptosContext) => void, filter?: CallFilter, fetchConfig?: Partial<MoveFetchConfig>): multisig_account;
|
2365
2788
|
onEntryApproveTransaction(func: (call: multisig_account.ApproveTransactionPayload, ctx: AptosContext) => void, filter?: CallFilter, fetchConfig?: Partial<MoveFetchConfig>): multisig_account;
|
2366
2789
|
onEntryCreate(func: (call: multisig_account.CreatePayload, ctx: AptosContext) => void, filter?: CallFilter, fetchConfig?: Partial<MoveFetchConfig>): multisig_account;
|
2367
2790
|
onEntryCreateTransaction(func: (call: multisig_account.CreateTransactionPayload, ctx: AptosContext) => void, filter?: CallFilter, fetchConfig?: Partial<MoveFetchConfig>): multisig_account;
|
2368
2791
|
onEntryCreateTransactionWithHash(func: (call: multisig_account.CreateTransactionWithHashPayload, ctx: AptosContext) => void, filter?: CallFilter, fetchConfig?: Partial<MoveFetchConfig>): multisig_account;
|
2369
2792
|
onEntryCreateWithExistingAccount(func: (call: multisig_account.CreateWithExistingAccountPayload, ctx: AptosContext) => void, filter?: CallFilter, fetchConfig?: Partial<MoveFetchConfig>): multisig_account;
|
2793
|
+
onEntryCreateWithExistingAccountAndRevokeAuthKey(func: (call: multisig_account.CreateWithExistingAccountAndRevokeAuthKeyPayload, ctx: AptosContext) => void, filter?: CallFilter, fetchConfig?: Partial<MoveFetchConfig>): multisig_account;
|
2370
2794
|
onEntryCreateWithOwners(func: (call: multisig_account.CreateWithOwnersPayload, ctx: AptosContext) => void, filter?: CallFilter, fetchConfig?: Partial<MoveFetchConfig>): multisig_account;
|
2795
|
+
onEntryCreateWithOwnersThenRemoveBootstrapper(func: (call: multisig_account.CreateWithOwnersThenRemoveBootstrapperPayload, ctx: AptosContext) => void, filter?: CallFilter, fetchConfig?: Partial<MoveFetchConfig>): multisig_account;
|
2371
2796
|
onEntryExecuteRejectedTransaction(func: (call: multisig_account.ExecuteRejectedTransactionPayload, ctx: AptosContext) => void, filter?: CallFilter, fetchConfig?: Partial<MoveFetchConfig>): multisig_account;
|
2372
2797
|
onEntryRejectTransaction(func: (call: multisig_account.RejectTransactionPayload, ctx: AptosContext) => void, filter?: CallFilter, fetchConfig?: Partial<MoveFetchConfig>): multisig_account;
|
2373
2798
|
onEntryRemoveOwner(func: (call: multisig_account.RemoveOwnerPayload, ctx: AptosContext) => void, filter?: CallFilter, fetchConfig?: Partial<MoveFetchConfig>): multisig_account;
|
2374
2799
|
onEntryRemoveOwners(func: (call: multisig_account.RemoveOwnersPayload, ctx: AptosContext) => void, filter?: CallFilter, fetchConfig?: Partial<MoveFetchConfig>): multisig_account;
|
2800
|
+
onEntrySwapOwner(func: (call: multisig_account.SwapOwnerPayload, ctx: AptosContext) => void, filter?: CallFilter, fetchConfig?: Partial<MoveFetchConfig>): multisig_account;
|
2801
|
+
onEntrySwapOwners(func: (call: multisig_account.SwapOwnersPayload, ctx: AptosContext) => void, filter?: CallFilter, fetchConfig?: Partial<MoveFetchConfig>): multisig_account;
|
2802
|
+
onEntrySwapOwnersAndUpdateSignaturesRequired(func: (call: multisig_account.SwapOwnersAndUpdateSignaturesRequiredPayload, ctx: AptosContext) => void, filter?: CallFilter, fetchConfig?: Partial<MoveFetchConfig>): multisig_account;
|
2375
2803
|
onEntryUpdateMetadata(func: (call: multisig_account.UpdateMetadataPayload, ctx: AptosContext) => void, filter?: CallFilter, fetchConfig?: Partial<MoveFetchConfig>): multisig_account;
|
2376
2804
|
onEntryUpdateSignaturesRequired(func: (call: multisig_account.UpdateSignaturesRequiredPayload, ctx: AptosContext) => void, filter?: CallFilter, fetchConfig?: Partial<MoveFetchConfig>): multisig_account;
|
2377
2805
|
onEntryVoteTransanction(func: (call: multisig_account.VoteTransanctionPayload, ctx: AptosContext) => void, filter?: CallFilter, fetchConfig?: Partial<MoveFetchConfig>): multisig_account;
|
@@ -2477,6 +2905,17 @@ export declare namespace multisig_account {
|
|
2477
2905
|
const TYPE_QNAME = "0x1::multisig_account::MultisigAccountCreationMessage";
|
2478
2906
|
function type(): TypeDescriptor<MultisigAccountCreationMessage>;
|
2479
2907
|
}
|
2908
|
+
interface MultisigAccountCreationWithAuthKeyRevocationMessage {
|
2909
|
+
chain_id: number;
|
2910
|
+
account_address: Address;
|
2911
|
+
sequence_number: bigint;
|
2912
|
+
owners: Address[];
|
2913
|
+
num_signatures_required: bigint;
|
2914
|
+
}
|
2915
|
+
namespace MultisigAccountCreationWithAuthKeyRevocationMessage {
|
2916
|
+
const TYPE_QNAME = "0x1::multisig_account::MultisigAccountCreationWithAuthKeyRevocationMessage";
|
2917
|
+
function type(): TypeDescriptor<MultisigAccountCreationWithAuthKeyRevocationMessage>;
|
2918
|
+
}
|
2480
2919
|
interface MultisigTransaction {
|
2481
2920
|
payload: option.Option<string>;
|
2482
2921
|
payload_hash: option.Option<string>;
|
@@ -2561,6 +3000,10 @@ export declare namespace multisig_account {
|
|
2561
3000
|
arguments_decoded: [Address[]];
|
2562
3001
|
type_arguments: [];
|
2563
3002
|
}
|
3003
|
+
interface AddOwnersAndUpdateSignaturesRequiredPayload extends TypedFunctionPayload<[Address[], bigint]> {
|
3004
|
+
arguments_decoded: [Address[], bigint];
|
3005
|
+
type_arguments: [];
|
3006
|
+
}
|
2564
3007
|
interface ApproveTransactionPayload extends TypedFunctionPayload<[Address, bigint]> {
|
2565
3008
|
arguments_decoded: [Address, bigint];
|
2566
3009
|
type_arguments: [];
|
@@ -2599,10 +3042,36 @@ export declare namespace multisig_account {
|
|
2599
3042
|
];
|
2600
3043
|
type_arguments: [];
|
2601
3044
|
}
|
3045
|
+
interface CreateWithExistingAccountAndRevokeAuthKeyPayload extends TypedFunctionPayload<[
|
3046
|
+
Address,
|
3047
|
+
Address[],
|
3048
|
+
bigint,
|
3049
|
+
number,
|
3050
|
+
string,
|
3051
|
+
string,
|
3052
|
+
string[],
|
3053
|
+
string[]
|
3054
|
+
]> {
|
3055
|
+
arguments_decoded: [
|
3056
|
+
Address,
|
3057
|
+
Address[],
|
3058
|
+
bigint,
|
3059
|
+
number,
|
3060
|
+
string,
|
3061
|
+
string,
|
3062
|
+
string[],
|
3063
|
+
string[]
|
3064
|
+
];
|
3065
|
+
type_arguments: [];
|
3066
|
+
}
|
2602
3067
|
interface CreateWithOwnersPayload extends TypedFunctionPayload<[Address[], bigint, string[], string[]]> {
|
2603
3068
|
arguments_decoded: [Address[], bigint, string[], string[]];
|
2604
3069
|
type_arguments: [];
|
2605
3070
|
}
|
3071
|
+
interface CreateWithOwnersThenRemoveBootstrapperPayload extends TypedFunctionPayload<[Address[], bigint, string[], string[]]> {
|
3072
|
+
arguments_decoded: [Address[], bigint, string[], string[]];
|
3073
|
+
type_arguments: [];
|
3074
|
+
}
|
2606
3075
|
interface ExecuteRejectedTransactionPayload extends TypedFunctionPayload<[Address]> {
|
2607
3076
|
arguments_decoded: [Address];
|
2608
3077
|
type_arguments: [];
|
@@ -2619,6 +3088,18 @@ export declare namespace multisig_account {
|
|
2619
3088
|
arguments_decoded: [Address[]];
|
2620
3089
|
type_arguments: [];
|
2621
3090
|
}
|
3091
|
+
interface SwapOwnerPayload extends TypedFunctionPayload<[Address, Address]> {
|
3092
|
+
arguments_decoded: [Address, Address];
|
3093
|
+
type_arguments: [];
|
3094
|
+
}
|
3095
|
+
interface SwapOwnersPayload extends TypedFunctionPayload<[Address[], Address[]]> {
|
3096
|
+
arguments_decoded: [Address[], Address[]];
|
3097
|
+
type_arguments: [];
|
3098
|
+
}
|
3099
|
+
interface SwapOwnersAndUpdateSignaturesRequiredPayload extends TypedFunctionPayload<[Address[], Address[], bigint]> {
|
3100
|
+
arguments_decoded: [Address[], Address[], bigint];
|
3101
|
+
type_arguments: [];
|
3102
|
+
}
|
2622
3103
|
interface UpdateMetadataPayload extends TypedFunctionPayload<[string[], string[]]> {
|
2623
3104
|
arguments_decoded: [string[], string[]];
|
2624
3105
|
type_arguments: [];
|
@@ -2970,7 +3451,34 @@ export declare namespace optional_aggregator {
|
|
2970
3451
|
function type(): TypeDescriptor<OptionalAggregator>;
|
2971
3452
|
}
|
2972
3453
|
}
|
2973
|
-
export declare namespace transaction_context {
|
3454
|
+
export declare namespace transaction_context {
|
3455
|
+
interface AUID {
|
3456
|
+
unique_address: Address;
|
3457
|
+
}
|
3458
|
+
namespace AUID {
|
3459
|
+
const TYPE_QNAME = "0x1::transaction_context::AUID";
|
3460
|
+
function type(): TypeDescriptor<AUID>;
|
3461
|
+
}
|
3462
|
+
}
|
3463
|
+
export declare class primary_fungible_store extends AptosBaseProcessor {
|
3464
|
+
constructor(options: AptosBindOptions);
|
3465
|
+
static DEFAULT_OPTIONS: AptosBindOptions;
|
3466
|
+
static bind(options?: Partial<AptosBindOptions>): primary_fungible_store;
|
3467
|
+
onEntryTransfer(func: (call: primary_fungible_store.TransferPayload, ctx: AptosContext) => void, filter?: CallFilter, fetchConfig?: Partial<MoveFetchConfig>): primary_fungible_store;
|
3468
|
+
}
|
3469
|
+
export declare namespace primary_fungible_store {
|
3470
|
+
interface DeriveRefPod {
|
3471
|
+
metadata_derive_ref: object_.DeriveRef;
|
3472
|
+
}
|
3473
|
+
namespace DeriveRefPod {
|
3474
|
+
const TYPE_QNAME = "0x1::primary_fungible_store::DeriveRefPod";
|
3475
|
+
function type(): TypeDescriptor<DeriveRefPod>;
|
3476
|
+
}
|
3477
|
+
interface TransferPayload<T0 = any> extends TypedFunctionPayload<[object_.Object<T0>, Address, bigint]> {
|
3478
|
+
arguments_decoded: [object_.Object<T0>, Address, bigint];
|
3479
|
+
type_arguments: [string];
|
3480
|
+
}
|
3481
|
+
}
|
2974
3482
|
export declare namespace transaction_validation {
|
2975
3483
|
interface TransactionValidation {
|
2976
3484
|
module_addr: Address;
|