@sentio/sdk 2.0.0-rc.14 → 2.0.0-rc.16
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/api.d.ts +5 -0
- package/lib/aptos/api.js +21 -0
- package/lib/aptos/api.js.map +1 -0
- package/lib/aptos/aptos-plugin.d.ts +14 -0
- package/lib/aptos/aptos-plugin.js +146 -0
- package/lib/aptos/aptos-plugin.js.map +1 -0
- package/lib/aptos/aptos-processor.d.ts +72 -0
- package/lib/aptos/aptos-processor.js +201 -0
- package/lib/aptos/aptos-processor.js.map +1 -0
- package/lib/aptos/builtin/0x1.d.ts +2140 -0
- package/lib/aptos/builtin/0x1.js +2727 -0
- package/lib/aptos/builtin/0x1.js.map +1 -0
- package/lib/aptos/builtin/0x3.d.ts +573 -0
- package/lib/aptos/builtin/0x3.js +496 -0
- package/lib/aptos/builtin/0x3.js.map +1 -0
- package/lib/aptos/builtin/index.d.ts +2 -0
- package/lib/aptos/builtin/index.js +6 -0
- package/lib/aptos/builtin/index.js.map +1 -0
- package/lib/aptos/codegen/codegen.d.ts +23 -0
- package/lib/aptos/codegen/codegen.js +388 -0
- package/lib/aptos/codegen/codegen.js.map +1 -0
- package/lib/aptos/codegen/index.d.ts +1 -0
- package/lib/aptos/codegen/index.js +2 -0
- package/lib/aptos/codegen/index.js.map +1 -0
- package/lib/aptos/codegen/typegen.d.ts +18 -0
- package/lib/aptos/codegen/typegen.js +145 -0
- package/lib/aptos/codegen/typegen.js.map +1 -0
- package/lib/aptos/codegen/typegen.test.d.ts +1 -0
- package/lib/aptos/codegen/typegen.test.js.map +1 -0
- package/lib/aptos/context.d.ts +21 -0
- package/lib/aptos/context.js +59 -0
- package/lib/aptos/context.js.map +1 -0
- package/lib/aptos/index.d.ts +9 -0
- package/lib/aptos/index.js +8 -0
- package/lib/aptos/index.js.map +1 -0
- package/lib/aptos/models.d.ts +37 -0
- package/lib/aptos/models.js +2 -0
- package/lib/aptos/models.js.map +1 -0
- package/lib/aptos/move-coder.d.ts +22 -0
- package/lib/aptos/move-coder.js +164 -0
- package/lib/aptos/move-coder.js.map +1 -0
- package/lib/aptos/move-types.d.ts +10 -0
- package/lib/aptos/move-types.js +2 -0
- package/lib/aptos/move-types.js.map +1 -0
- package/lib/aptos/network.d.ts +11 -0
- package/lib/aptos/network.js +27 -0
- package/lib/aptos/network.js.map +1 -0
- package/lib/aptos/run-codegen.d.ts +1 -0
- package/lib/aptos/run-codegen.js +12 -0
- package/lib/aptos/run-codegen.js.map +1 -0
- package/lib/aptos/tests/aptos.test.d.ts +1 -0
- package/lib/aptos/tests/aptos.test.js.map +1 -0
- package/lib/aptos/tests/souffl3.d.ts +1 -0
- package/lib/aptos/tests/souffl3.js +44 -0
- package/lib/aptos/tests/souffl3.js.map +1 -0
- package/lib/aptos/tests/types/index.d.ts +3 -0
- package/lib/aptos/tests/types/index.js +7 -0
- package/lib/aptos/tests/types/index.js.map +1 -0
- package/lib/aptos/tests/types/reserved.d.ts +445 -0
- package/lib/aptos/tests/types/reserved.js +301 -0
- package/lib/aptos/tests/types/reserved.js.map +1 -0
- package/lib/aptos/tests/types/soffl3.d.ts +1065 -0
- package/lib/aptos/tests/types/soffl3.js +548 -0
- package/lib/aptos/tests/types/soffl3.js.map +1 -0
- package/lib/aptos/tests/types/souffle.d.ts +440 -0
- package/lib/aptos/tests/types/souffle.js +295 -0
- package/lib/aptos/tests/types/souffle.js.map +1 -0
- package/lib/aptos/types.d.ts +9 -0
- package/lib/aptos/types.js +130 -0
- package/lib/aptos/types.js.map +1 -0
- package/lib/aptos/types.test.d.ts +1 -0
- package/lib/aptos/types.test.js.map +1 -0
- package/lib/aptos/utils.d.ts +7 -0
- package/lib/aptos/utils.js +20 -0
- package/lib/aptos/utils.js.map +1 -0
- package/lib/{utils/chain.d.ts → chain.d.ts} +0 -0
- package/lib/{utils/chain.js → chain.js} +0 -0
- package/lib/chain.js.map +1 -0
- package/lib/core/context.js +1 -1
- package/lib/core/context.js.map +1 -1
- package/lib/core/sui-plugin.js +1 -1
- package/lib/core/sui-plugin.js.map +1 -1
- package/lib/index.d.ts +1 -1
- package/lib/index.js +1 -1
- package/lib/index.js.map +1 -1
- package/lib/solana/builtin/index.d.ts +1 -0
- package/lib/solana/builtin/index.js +2 -0
- package/lib/solana/builtin/index.js.map +1 -0
- package/lib/solana/builtin/spl-token-processor.d.ts +39 -0
- package/lib/solana/builtin/spl-token-processor.js +254 -0
- package/lib/solana/builtin/spl-token-processor.js.map +1 -0
- package/lib/solana/builtin/types.d.ts +427 -0
- package/lib/solana/builtin/types.js +200 -0
- package/lib/solana/builtin/types.js.map +1 -0
- package/lib/solana/codegen/codegen.d.ts +1 -0
- package/lib/solana/codegen/codegen.js +122 -0
- package/lib/solana/codegen/codegen.js.map +1 -0
- package/lib/solana/codegen/index.d.ts +1 -0
- package/lib/solana/codegen/index.js +2 -0
- package/lib/solana/codegen/index.js.map +1 -0
- package/lib/solana/index.d.ts +4 -0
- package/lib/solana/index.js +5 -0
- package/lib/solana/index.js.map +1 -0
- package/lib/solana/run-codegen.d.ts +2 -0
- package/lib/solana/run-codegen.js +12 -0
- package/lib/solana/run-codegen.js.map +1 -0
- package/lib/solana/solana-context.d.ts +9 -0
- package/lib/solana/solana-context.js +28 -0
- package/lib/solana/solana-context.js.map +1 -0
- package/lib/solana/solana-options.d.ts +10 -0
- package/lib/solana/solana-options.js +10 -0
- package/lib/solana/solana-options.js.map +1 -0
- package/lib/solana/solana-plugin.d.ts +9 -0
- package/lib/solana/solana-plugin.js +87 -0
- package/lib/solana/solana-plugin.js.map +1 -0
- package/lib/solana/solana-processor.d.ts +43 -0
- package/lib/solana/solana-processor.js +72 -0
- package/lib/solana/solana-processor.js.map +1 -0
- package/lib/solana/tests/solana.test.d.ts +1 -0
- package/lib/solana/tests/solana.test.js.map +1 -0
- package/lib/solana/tests/types/basic_1.d.ts +26 -0
- package/lib/solana/tests/types/basic_1.js +63 -0
- package/lib/solana/tests/types/basic_1.js.map +1 -0
- package/lib/solana/tests/types/basic_1_processor.d.ts +21 -0
- package/lib/solana/tests/types/basic_1_processor.js +35 -0
- package/lib/solana/tests/types/basic_1_processor.js.map +1 -0
- package/lib/solana/tests/types/token_bridge.d.ts +29 -0
- package/lib/solana/tests/types/token_bridge.js +938 -0
- package/lib/solana/tests/types/token_bridge.js.map +1 -0
- package/lib/solana/tests/types/token_bridge_processor.d.ts +212 -0
- package/lib/solana/tests/types/token_bridge_processor.js +134 -0
- package/lib/solana/tests/types/token_bridge_processor.js.map +1 -0
- package/lib/solana/tests/wormhole-token-bridge.d.ts +15 -0
- package/lib/solana/tests/wormhole-token-bridge.js +79 -0
- package/lib/solana/tests/wormhole-token-bridge.js.map +1 -0
- package/lib/testing/test-processor-server.js +1 -1
- package/lib/testing/test-processor-server.js.map +1 -1
- package/lib/testing/test-provider.js +1 -1
- package/lib/testing/test-provider.js.map +1 -1
- package/lib/utils/index.d.ts +0 -1
- package/lib/utils/index.js +0 -1
- package/lib/utils/index.js.map +1 -1
- package/package.json +33 -11
- package/src/aptos/abis/0x1.json +9205 -0
- package/src/aptos/abis/0x3.json +1515 -0
- package/src/aptos/api.ts +23 -0
- package/src/aptos/aptos-plugin.ts +183 -0
- package/src/aptos/aptos-processor.ts +331 -0
- package/src/aptos/builtin/0x1.ts +4911 -0
- package/src/aptos/builtin/0x3.ts +1092 -0
- package/src/aptos/builtin/index.ts +5 -0
- package/src/aptos/codegen/codegen.ts +470 -0
- package/src/aptos/codegen/index.ts +1 -0
- package/src/aptos/codegen/tsconfig.json +8 -0
- package/src/aptos/codegen/typegen.ts +165 -0
- package/src/aptos/context.ts +72 -0
- package/src/aptos/index.ts +10 -0
- package/src/aptos/models.ts +47 -0
- package/src/aptos/move-coder.ts +201 -0
- package/src/aptos/move-types.ts +11 -0
- package/src/aptos/network.ts +29 -0
- package/src/aptos/run-codegen.ts +13 -0
- package/src/aptos/tests/abis/reserved.json +402 -0
- package/src/aptos/tests/abis/soffl3.json +1411 -0
- package/src/aptos/tests/abis/souffle.json +389 -0
- package/src/aptos/tests/souffl3.ts +57 -0
- package/src/aptos/tests/types/index.ts +6 -0
- package/src/aptos/tests/types/reserved.ts +881 -0
- package/src/aptos/tests/types/soffl3.ts +1820 -0
- package/src/aptos/tests/types/souffle.ts +880 -0
- package/src/aptos/types.ts +149 -0
- package/src/aptos/utils.ts +26 -0
- package/src/{utils/chain.ts → chain.ts} +0 -0
- package/src/core/context.ts +1 -1
- package/src/core/sui-plugin.ts +1 -1
- package/src/index.ts +1 -1
- package/src/solana/builtin/index.ts +1 -0
- package/src/solana/builtin/spl-token-processor.ts +298 -0
- package/src/solana/builtin/types.ts +279 -0
- package/src/solana/codegen/codegen.ts +140 -0
- package/src/solana/codegen/index.ts +1 -0
- package/src/solana/codegen/tsconfig.json +8 -0
- package/src/solana/index.ts +4 -0
- package/src/solana/run-codegen.ts +13 -0
- package/src/solana/solana-context.ts +30 -0
- package/src/solana/solana-options.ts +11 -0
- package/src/solana/solana-plugin.ts +103 -0
- package/src/solana/solana-processor.ts +102 -0
- package/src/solana/tests/abis/basic_1.json +62 -0
- package/src/solana/tests/abis/token_bridge.json +937 -0
- package/src/solana/tests/types/basic_1.ts +62 -0
- package/src/solana/tests/types/basic_1_processor.ts +42 -0
- package/src/solana/tests/types/token_bridge.ts +937 -0
- package/src/solana/tests/types/token_bridge_processor.ts +150 -0
- package/src/solana/tests/wormhole-token-bridge.ts +96 -0
- package/src/testing/test-processor-server.ts +1 -1
- package/src/testing/test-provider.ts +1 -1
- package/src/utils/index.ts +0 -1
- package/lib/utils/chain.js.map +0 -1
|
@@ -0,0 +1,2140 @@
|
|
|
1
|
+
import { MoveCoder, AptosBindOptions, AptosBaseProcessor, TypedEventInstance, TypedEntryFunctionPayload, AptosContext, CallFilter } from "@sentio/sdk/aptos";
|
|
2
|
+
import { AptosFetchConfig } from "@sentio/protos";
|
|
3
|
+
import { Address, MoveModule } from "@sentio/sdk/aptos";
|
|
4
|
+
export declare namespace acl {
|
|
5
|
+
class ACL {
|
|
6
|
+
static TYPE_QNAME: string;
|
|
7
|
+
list: Address[];
|
|
8
|
+
}
|
|
9
|
+
function loadTypes(_r: MoveCoder): void;
|
|
10
|
+
const ABI: MoveModule;
|
|
11
|
+
}
|
|
12
|
+
export declare namespace any {
|
|
13
|
+
class Any {
|
|
14
|
+
static TYPE_QNAME: string;
|
|
15
|
+
type_name: string;
|
|
16
|
+
data: string;
|
|
17
|
+
}
|
|
18
|
+
function loadTypes(_r: MoveCoder): void;
|
|
19
|
+
const ABI: MoveModule;
|
|
20
|
+
}
|
|
21
|
+
export declare namespace bcs {
|
|
22
|
+
function loadTypes(_r: MoveCoder): void;
|
|
23
|
+
const ABI: MoveModule;
|
|
24
|
+
}
|
|
25
|
+
export declare class code extends AptosBaseProcessor {
|
|
26
|
+
constructor(options: AptosBindOptions);
|
|
27
|
+
static DEFAULT_OPTIONS: AptosBindOptions;
|
|
28
|
+
static bind(options?: Partial<AptosBindOptions>): code;
|
|
29
|
+
onEntryPublishPackageTxn(func: (call: code.PublishPackageTxnPayload, ctx: AptosContext) => void, filter?: CallFilter, fetchConfig?: AptosFetchConfig): code;
|
|
30
|
+
loadTypesInternal(registry: MoveCoder): void;
|
|
31
|
+
}
|
|
32
|
+
export declare namespace code {
|
|
33
|
+
class AllowedDep {
|
|
34
|
+
static TYPE_QNAME: string;
|
|
35
|
+
account: Address;
|
|
36
|
+
module_name: string;
|
|
37
|
+
}
|
|
38
|
+
class ModuleMetadata {
|
|
39
|
+
static TYPE_QNAME: string;
|
|
40
|
+
name: string;
|
|
41
|
+
source: string;
|
|
42
|
+
source_map: string;
|
|
43
|
+
extension: option.Option<copyable_any.Any>;
|
|
44
|
+
}
|
|
45
|
+
class PackageDep {
|
|
46
|
+
static TYPE_QNAME: string;
|
|
47
|
+
account: Address;
|
|
48
|
+
package_name: string;
|
|
49
|
+
}
|
|
50
|
+
class PackageMetadata {
|
|
51
|
+
static TYPE_QNAME: string;
|
|
52
|
+
name: string;
|
|
53
|
+
upgrade_policy: code.UpgradePolicy;
|
|
54
|
+
upgrade_number: bigint;
|
|
55
|
+
source_digest: string;
|
|
56
|
+
manifest: string;
|
|
57
|
+
modules: code.ModuleMetadata[];
|
|
58
|
+
deps: code.PackageDep[];
|
|
59
|
+
extension: option.Option<copyable_any.Any>;
|
|
60
|
+
}
|
|
61
|
+
class PackageRegistry {
|
|
62
|
+
static TYPE_QNAME: string;
|
|
63
|
+
packages: code.PackageMetadata[];
|
|
64
|
+
}
|
|
65
|
+
class UpgradePolicy {
|
|
66
|
+
static TYPE_QNAME: string;
|
|
67
|
+
policy: number;
|
|
68
|
+
}
|
|
69
|
+
interface PublishPackageTxnPayload extends TypedEntryFunctionPayload<[string, string[]]> {
|
|
70
|
+
/** @deprecated use {@link arguments_decoded} instead */
|
|
71
|
+
arguments_typed: [string, string[]];
|
|
72
|
+
arguments_decoded: [string, string[]];
|
|
73
|
+
type_arguments: [];
|
|
74
|
+
}
|
|
75
|
+
function loadTypes(_r: MoveCoder): void;
|
|
76
|
+
const ABI: MoveModule;
|
|
77
|
+
}
|
|
78
|
+
export declare class coin extends AptosBaseProcessor {
|
|
79
|
+
constructor(options: AptosBindOptions);
|
|
80
|
+
static DEFAULT_OPTIONS: AptosBindOptions;
|
|
81
|
+
static bind(options?: Partial<AptosBindOptions>): coin;
|
|
82
|
+
onEntryFreezeCoinStore(func: (call: coin.FreezeCoinStorePayload, ctx: AptosContext) => void, filter?: CallFilter, fetchConfig?: AptosFetchConfig): coin;
|
|
83
|
+
onEntryTransfer(func: (call: coin.TransferPayload, ctx: AptosContext) => void, filter?: CallFilter, fetchConfig?: AptosFetchConfig): coin;
|
|
84
|
+
onEntryUnfreezeCoinStore(func: (call: coin.UnfreezeCoinStorePayload, ctx: AptosContext) => void, filter?: CallFilter, fetchConfig?: AptosFetchConfig): coin;
|
|
85
|
+
onEntryUpgradeSupply(func: (call: coin.UpgradeSupplyPayload, ctx: AptosContext) => void, filter?: CallFilter, fetchConfig?: AptosFetchConfig): coin;
|
|
86
|
+
onEventDepositEvent(func: (event: coin.DepositEventInstance, ctx: AptosContext) => void, fetchConfig?: AptosFetchConfig): coin;
|
|
87
|
+
onEventWithdrawEvent(func: (event: coin.WithdrawEventInstance, ctx: AptosContext) => void, fetchConfig?: AptosFetchConfig): coin;
|
|
88
|
+
loadTypesInternal(registry: MoveCoder): void;
|
|
89
|
+
}
|
|
90
|
+
export declare namespace coin {
|
|
91
|
+
class BurnCapability<T0> {
|
|
92
|
+
static TYPE_QNAME: string;
|
|
93
|
+
dummy_field: Boolean;
|
|
94
|
+
}
|
|
95
|
+
class Coin<T0> {
|
|
96
|
+
static TYPE_QNAME: string;
|
|
97
|
+
value: bigint;
|
|
98
|
+
}
|
|
99
|
+
class CoinInfo<T0> {
|
|
100
|
+
static TYPE_QNAME: string;
|
|
101
|
+
name: string;
|
|
102
|
+
symbol: string;
|
|
103
|
+
decimals: number;
|
|
104
|
+
supply: option.Option<optional_aggregator.OptionalAggregator>;
|
|
105
|
+
}
|
|
106
|
+
class CoinStore<T0> {
|
|
107
|
+
static TYPE_QNAME: string;
|
|
108
|
+
coin: coin.Coin<T0>;
|
|
109
|
+
frozen: Boolean;
|
|
110
|
+
deposit_events: event.EventHandle<coin.DepositEvent>;
|
|
111
|
+
withdraw_events: event.EventHandle<coin.WithdrawEvent>;
|
|
112
|
+
}
|
|
113
|
+
class DepositEvent {
|
|
114
|
+
static TYPE_QNAME: string;
|
|
115
|
+
amount: bigint;
|
|
116
|
+
}
|
|
117
|
+
interface DepositEventInstance extends TypedEventInstance<DepositEvent> {
|
|
118
|
+
/** @deprecated use {@link data_decoded} instead */
|
|
119
|
+
data_typed: DepositEvent;
|
|
120
|
+
data_decoded: DepositEvent;
|
|
121
|
+
type_arguments: [];
|
|
122
|
+
}
|
|
123
|
+
class FreezeCapability<T0> {
|
|
124
|
+
static TYPE_QNAME: string;
|
|
125
|
+
dummy_field: Boolean;
|
|
126
|
+
}
|
|
127
|
+
class MintCapability<T0> {
|
|
128
|
+
static TYPE_QNAME: string;
|
|
129
|
+
dummy_field: Boolean;
|
|
130
|
+
}
|
|
131
|
+
class SupplyConfig {
|
|
132
|
+
static TYPE_QNAME: string;
|
|
133
|
+
allow_upgrades: Boolean;
|
|
134
|
+
}
|
|
135
|
+
class WithdrawEvent {
|
|
136
|
+
static TYPE_QNAME: string;
|
|
137
|
+
amount: bigint;
|
|
138
|
+
}
|
|
139
|
+
interface WithdrawEventInstance extends TypedEventInstance<WithdrawEvent> {
|
|
140
|
+
/** @deprecated use {@link data_decoded} instead */
|
|
141
|
+
data_typed: WithdrawEvent;
|
|
142
|
+
data_decoded: WithdrawEvent;
|
|
143
|
+
type_arguments: [];
|
|
144
|
+
}
|
|
145
|
+
interface FreezeCoinStorePayload<T0 = any> extends TypedEntryFunctionPayload<[Address, Address]> {
|
|
146
|
+
/** @deprecated use {@link arguments_decoded} instead */
|
|
147
|
+
arguments_typed: [Address, Address];
|
|
148
|
+
arguments_decoded: [Address, Address];
|
|
149
|
+
type_arguments: [string];
|
|
150
|
+
}
|
|
151
|
+
interface TransferPayload<T0 = any> extends TypedEntryFunctionPayload<[Address, bigint]> {
|
|
152
|
+
/** @deprecated use {@link arguments_decoded} instead */
|
|
153
|
+
arguments_typed: [Address, bigint];
|
|
154
|
+
arguments_decoded: [Address, bigint];
|
|
155
|
+
type_arguments: [string];
|
|
156
|
+
}
|
|
157
|
+
interface UnfreezeCoinStorePayload<T0 = any> extends TypedEntryFunctionPayload<[Address, Address]> {
|
|
158
|
+
/** @deprecated use {@link arguments_decoded} instead */
|
|
159
|
+
arguments_typed: [Address, Address];
|
|
160
|
+
arguments_decoded: [Address, Address];
|
|
161
|
+
type_arguments: [string];
|
|
162
|
+
}
|
|
163
|
+
interface UpgradeSupplyPayload<T0 = any> extends TypedEntryFunctionPayload<[]> {
|
|
164
|
+
/** @deprecated use {@link arguments_decoded} instead */
|
|
165
|
+
arguments_typed: [];
|
|
166
|
+
arguments_decoded: [];
|
|
167
|
+
type_arguments: [string];
|
|
168
|
+
}
|
|
169
|
+
function loadTypes(_r: MoveCoder): void;
|
|
170
|
+
const ABI: MoveModule;
|
|
171
|
+
}
|
|
172
|
+
export declare namespace guid {
|
|
173
|
+
class GUID {
|
|
174
|
+
static TYPE_QNAME: string;
|
|
175
|
+
id: guid.ID;
|
|
176
|
+
}
|
|
177
|
+
class ID {
|
|
178
|
+
static TYPE_QNAME: string;
|
|
179
|
+
creation_num: bigint;
|
|
180
|
+
addr: Address;
|
|
181
|
+
}
|
|
182
|
+
function loadTypes(_r: MoveCoder): void;
|
|
183
|
+
const ABI: MoveModule;
|
|
184
|
+
}
|
|
185
|
+
export declare namespace hash {
|
|
186
|
+
function loadTypes(_r: MoveCoder): void;
|
|
187
|
+
const ABI: MoveModule;
|
|
188
|
+
}
|
|
189
|
+
export declare namespace util {
|
|
190
|
+
function loadTypes(_r: MoveCoder): void;
|
|
191
|
+
const ABI: MoveModule;
|
|
192
|
+
}
|
|
193
|
+
export declare class block extends AptosBaseProcessor {
|
|
194
|
+
constructor(options: AptosBindOptions);
|
|
195
|
+
static DEFAULT_OPTIONS: AptosBindOptions;
|
|
196
|
+
static bind(options?: Partial<AptosBindOptions>): block;
|
|
197
|
+
onEventNewBlockEvent(func: (event: block.NewBlockEventInstance, ctx: AptosContext) => void, fetchConfig?: AptosFetchConfig): block;
|
|
198
|
+
onEventUpdateEpochIntervalEvent(func: (event: block.UpdateEpochIntervalEventInstance, ctx: AptosContext) => void, fetchConfig?: AptosFetchConfig): block;
|
|
199
|
+
loadTypesInternal(registry: MoveCoder): void;
|
|
200
|
+
}
|
|
201
|
+
export declare namespace block {
|
|
202
|
+
class BlockResource {
|
|
203
|
+
static TYPE_QNAME: string;
|
|
204
|
+
height: bigint;
|
|
205
|
+
epoch_interval: bigint;
|
|
206
|
+
new_block_events: event.EventHandle<block.NewBlockEvent>;
|
|
207
|
+
update_epoch_interval_events: event.EventHandle<block.UpdateEpochIntervalEvent>;
|
|
208
|
+
}
|
|
209
|
+
class NewBlockEvent {
|
|
210
|
+
static TYPE_QNAME: string;
|
|
211
|
+
hash: Address;
|
|
212
|
+
epoch: bigint;
|
|
213
|
+
round: bigint;
|
|
214
|
+
height: bigint;
|
|
215
|
+
previous_block_votes_bitvec: string;
|
|
216
|
+
proposer: Address;
|
|
217
|
+
failed_proposer_indices: bigint[];
|
|
218
|
+
time_microseconds: bigint;
|
|
219
|
+
}
|
|
220
|
+
interface NewBlockEventInstance extends TypedEventInstance<NewBlockEvent> {
|
|
221
|
+
/** @deprecated use {@link data_decoded} instead */
|
|
222
|
+
data_typed: NewBlockEvent;
|
|
223
|
+
data_decoded: NewBlockEvent;
|
|
224
|
+
type_arguments: [];
|
|
225
|
+
}
|
|
226
|
+
class UpdateEpochIntervalEvent {
|
|
227
|
+
static TYPE_QNAME: string;
|
|
228
|
+
old_epoch_interval: bigint;
|
|
229
|
+
new_epoch_interval: bigint;
|
|
230
|
+
}
|
|
231
|
+
interface UpdateEpochIntervalEventInstance extends TypedEventInstance<UpdateEpochIntervalEvent> {
|
|
232
|
+
/** @deprecated use {@link data_decoded} instead */
|
|
233
|
+
data_typed: UpdateEpochIntervalEvent;
|
|
234
|
+
data_decoded: UpdateEpochIntervalEvent;
|
|
235
|
+
type_arguments: [];
|
|
236
|
+
}
|
|
237
|
+
function loadTypes(_r: MoveCoder): void;
|
|
238
|
+
const ABI: MoveModule;
|
|
239
|
+
}
|
|
240
|
+
export declare namespace debug {
|
|
241
|
+
function loadTypes(_r: MoveCoder): void;
|
|
242
|
+
const ABI: MoveModule;
|
|
243
|
+
}
|
|
244
|
+
export declare namespace error {
|
|
245
|
+
function loadTypes(_r: MoveCoder): void;
|
|
246
|
+
const ABI: MoveModule;
|
|
247
|
+
}
|
|
248
|
+
export declare namespace event {
|
|
249
|
+
class EventHandle<T0> {
|
|
250
|
+
static TYPE_QNAME: string;
|
|
251
|
+
counter: bigint;
|
|
252
|
+
guid: guid.GUID;
|
|
253
|
+
}
|
|
254
|
+
function loadTypes(_r: MoveCoder): void;
|
|
255
|
+
const ABI: MoveModule;
|
|
256
|
+
}
|
|
257
|
+
export declare class stake extends AptosBaseProcessor {
|
|
258
|
+
constructor(options: AptosBindOptions);
|
|
259
|
+
static DEFAULT_OPTIONS: AptosBindOptions;
|
|
260
|
+
static bind(options?: Partial<AptosBindOptions>): stake;
|
|
261
|
+
onEntryAddStake(func: (call: stake.AddStakePayload, ctx: AptosContext) => void, filter?: CallFilter, fetchConfig?: AptosFetchConfig): stake;
|
|
262
|
+
onEntryIncreaseLockup(func: (call: stake.IncreaseLockupPayload, ctx: AptosContext) => void, filter?: CallFilter, fetchConfig?: AptosFetchConfig): stake;
|
|
263
|
+
onEntryInitializeStakeOwner(func: (call: stake.InitializeStakeOwnerPayload, ctx: AptosContext) => void, filter?: CallFilter, fetchConfig?: AptosFetchConfig): stake;
|
|
264
|
+
onEntryInitializeValidator(func: (call: stake.InitializeValidatorPayload, ctx: AptosContext) => void, filter?: CallFilter, fetchConfig?: AptosFetchConfig): stake;
|
|
265
|
+
onEntryJoinValidatorSet(func: (call: stake.JoinValidatorSetPayload, ctx: AptosContext) => void, filter?: CallFilter, fetchConfig?: AptosFetchConfig): stake;
|
|
266
|
+
onEntryLeaveValidatorSet(func: (call: stake.LeaveValidatorSetPayload, ctx: AptosContext) => void, filter?: CallFilter, fetchConfig?: AptosFetchConfig): stake;
|
|
267
|
+
onEntryReactivateStake(func: (call: stake.ReactivateStakePayload, ctx: AptosContext) => void, filter?: CallFilter, fetchConfig?: AptosFetchConfig): stake;
|
|
268
|
+
onEntryRotateConsensusKey(func: (call: stake.RotateConsensusKeyPayload, ctx: AptosContext) => void, filter?: CallFilter, fetchConfig?: AptosFetchConfig): stake;
|
|
269
|
+
onEntrySetDelegatedVoter(func: (call: stake.SetDelegatedVoterPayload, ctx: AptosContext) => void, filter?: CallFilter, fetchConfig?: AptosFetchConfig): stake;
|
|
270
|
+
onEntrySetOperator(func: (call: stake.SetOperatorPayload, ctx: AptosContext) => void, filter?: CallFilter, fetchConfig?: AptosFetchConfig): stake;
|
|
271
|
+
onEntryUnlock(func: (call: stake.UnlockPayload, ctx: AptosContext) => void, filter?: CallFilter, fetchConfig?: AptosFetchConfig): stake;
|
|
272
|
+
onEntryUpdateNetworkAndFullnodeAddresses(func: (call: stake.UpdateNetworkAndFullnodeAddressesPayload, ctx: AptosContext) => void, filter?: CallFilter, fetchConfig?: AptosFetchConfig): stake;
|
|
273
|
+
onEntryWithdraw(func: (call: stake.WithdrawPayload, ctx: AptosContext) => void, filter?: CallFilter, fetchConfig?: AptosFetchConfig): stake;
|
|
274
|
+
onEventRegisterValidatorCandidateEvent(func: (event: stake.RegisterValidatorCandidateEventInstance, ctx: AptosContext) => void, fetchConfig?: AptosFetchConfig): stake;
|
|
275
|
+
onEventSetOperatorEvent(func: (event: stake.SetOperatorEventInstance, ctx: AptosContext) => void, fetchConfig?: AptosFetchConfig): stake;
|
|
276
|
+
onEventAddStakeEvent(func: (event: stake.AddStakeEventInstance, ctx: AptosContext) => void, fetchConfig?: AptosFetchConfig): stake;
|
|
277
|
+
onEventReactivateStakeEvent(func: (event: stake.ReactivateStakeEventInstance, ctx: AptosContext) => void, fetchConfig?: AptosFetchConfig): stake;
|
|
278
|
+
onEventRotateConsensusKeyEvent(func: (event: stake.RotateConsensusKeyEventInstance, ctx: AptosContext) => void, fetchConfig?: AptosFetchConfig): stake;
|
|
279
|
+
onEventUpdateNetworkAndFullnodeAddressesEvent(func: (event: stake.UpdateNetworkAndFullnodeAddressesEventInstance, ctx: AptosContext) => void, fetchConfig?: AptosFetchConfig): stake;
|
|
280
|
+
onEventIncreaseLockupEvent(func: (event: stake.IncreaseLockupEventInstance, ctx: AptosContext) => void, fetchConfig?: AptosFetchConfig): stake;
|
|
281
|
+
onEventJoinValidatorSetEvent(func: (event: stake.JoinValidatorSetEventInstance, ctx: AptosContext) => void, fetchConfig?: AptosFetchConfig): stake;
|
|
282
|
+
onEventDistributeRewardsEvent(func: (event: stake.DistributeRewardsEventInstance, ctx: AptosContext) => void, fetchConfig?: AptosFetchConfig): stake;
|
|
283
|
+
onEventUnlockStakeEvent(func: (event: stake.UnlockStakeEventInstance, ctx: AptosContext) => void, fetchConfig?: AptosFetchConfig): stake;
|
|
284
|
+
onEventWithdrawStakeEvent(func: (event: stake.WithdrawStakeEventInstance, ctx: AptosContext) => void, fetchConfig?: AptosFetchConfig): stake;
|
|
285
|
+
onEventLeaveValidatorSetEvent(func: (event: stake.LeaveValidatorSetEventInstance, ctx: AptosContext) => void, fetchConfig?: AptosFetchConfig): stake;
|
|
286
|
+
loadTypesInternal(registry: MoveCoder): void;
|
|
287
|
+
}
|
|
288
|
+
export declare namespace stake {
|
|
289
|
+
class AddStakeEvent {
|
|
290
|
+
static TYPE_QNAME: string;
|
|
291
|
+
pool_address: Address;
|
|
292
|
+
amount_added: bigint;
|
|
293
|
+
}
|
|
294
|
+
interface AddStakeEventInstance extends TypedEventInstance<AddStakeEvent> {
|
|
295
|
+
/** @deprecated use {@link data_decoded} instead */
|
|
296
|
+
data_typed: AddStakeEvent;
|
|
297
|
+
data_decoded: AddStakeEvent;
|
|
298
|
+
type_arguments: [];
|
|
299
|
+
}
|
|
300
|
+
class AllowedValidators {
|
|
301
|
+
static TYPE_QNAME: string;
|
|
302
|
+
accounts: Address[];
|
|
303
|
+
}
|
|
304
|
+
class AptosCoinCapabilities {
|
|
305
|
+
static TYPE_QNAME: string;
|
|
306
|
+
mint_cap: coin.MintCapability<aptos_coin.AptosCoin>;
|
|
307
|
+
}
|
|
308
|
+
class DistributeRewardsEvent {
|
|
309
|
+
static TYPE_QNAME: string;
|
|
310
|
+
pool_address: Address;
|
|
311
|
+
rewards_amount: bigint;
|
|
312
|
+
}
|
|
313
|
+
interface DistributeRewardsEventInstance extends TypedEventInstance<DistributeRewardsEvent> {
|
|
314
|
+
/** @deprecated use {@link data_decoded} instead */
|
|
315
|
+
data_typed: DistributeRewardsEvent;
|
|
316
|
+
data_decoded: DistributeRewardsEvent;
|
|
317
|
+
type_arguments: [];
|
|
318
|
+
}
|
|
319
|
+
class IncreaseLockupEvent {
|
|
320
|
+
static TYPE_QNAME: string;
|
|
321
|
+
pool_address: Address;
|
|
322
|
+
old_locked_until_secs: bigint;
|
|
323
|
+
new_locked_until_secs: bigint;
|
|
324
|
+
}
|
|
325
|
+
interface IncreaseLockupEventInstance extends TypedEventInstance<IncreaseLockupEvent> {
|
|
326
|
+
/** @deprecated use {@link data_decoded} instead */
|
|
327
|
+
data_typed: IncreaseLockupEvent;
|
|
328
|
+
data_decoded: IncreaseLockupEvent;
|
|
329
|
+
type_arguments: [];
|
|
330
|
+
}
|
|
331
|
+
class IndividualValidatorPerformance {
|
|
332
|
+
static TYPE_QNAME: string;
|
|
333
|
+
successful_proposals: bigint;
|
|
334
|
+
failed_proposals: bigint;
|
|
335
|
+
}
|
|
336
|
+
class JoinValidatorSetEvent {
|
|
337
|
+
static TYPE_QNAME: string;
|
|
338
|
+
pool_address: Address;
|
|
339
|
+
}
|
|
340
|
+
interface JoinValidatorSetEventInstance extends TypedEventInstance<JoinValidatorSetEvent> {
|
|
341
|
+
/** @deprecated use {@link data_decoded} instead */
|
|
342
|
+
data_typed: JoinValidatorSetEvent;
|
|
343
|
+
data_decoded: JoinValidatorSetEvent;
|
|
344
|
+
type_arguments: [];
|
|
345
|
+
}
|
|
346
|
+
class LeaveValidatorSetEvent {
|
|
347
|
+
static TYPE_QNAME: string;
|
|
348
|
+
pool_address: Address;
|
|
349
|
+
}
|
|
350
|
+
interface LeaveValidatorSetEventInstance extends TypedEventInstance<LeaveValidatorSetEvent> {
|
|
351
|
+
/** @deprecated use {@link data_decoded} instead */
|
|
352
|
+
data_typed: LeaveValidatorSetEvent;
|
|
353
|
+
data_decoded: LeaveValidatorSetEvent;
|
|
354
|
+
type_arguments: [];
|
|
355
|
+
}
|
|
356
|
+
class OwnerCapability {
|
|
357
|
+
static TYPE_QNAME: string;
|
|
358
|
+
pool_address: Address;
|
|
359
|
+
}
|
|
360
|
+
class ReactivateStakeEvent {
|
|
361
|
+
static TYPE_QNAME: string;
|
|
362
|
+
pool_address: Address;
|
|
363
|
+
amount: bigint;
|
|
364
|
+
}
|
|
365
|
+
interface ReactivateStakeEventInstance extends TypedEventInstance<ReactivateStakeEvent> {
|
|
366
|
+
/** @deprecated use {@link data_decoded} instead */
|
|
367
|
+
data_typed: ReactivateStakeEvent;
|
|
368
|
+
data_decoded: ReactivateStakeEvent;
|
|
369
|
+
type_arguments: [];
|
|
370
|
+
}
|
|
371
|
+
class RegisterValidatorCandidateEvent {
|
|
372
|
+
static TYPE_QNAME: string;
|
|
373
|
+
pool_address: Address;
|
|
374
|
+
}
|
|
375
|
+
interface RegisterValidatorCandidateEventInstance extends TypedEventInstance<RegisterValidatorCandidateEvent> {
|
|
376
|
+
/** @deprecated use {@link data_decoded} instead */
|
|
377
|
+
data_typed: RegisterValidatorCandidateEvent;
|
|
378
|
+
data_decoded: RegisterValidatorCandidateEvent;
|
|
379
|
+
type_arguments: [];
|
|
380
|
+
}
|
|
381
|
+
class RotateConsensusKeyEvent {
|
|
382
|
+
static TYPE_QNAME: string;
|
|
383
|
+
pool_address: Address;
|
|
384
|
+
old_consensus_pubkey: string;
|
|
385
|
+
new_consensus_pubkey: string;
|
|
386
|
+
}
|
|
387
|
+
interface RotateConsensusKeyEventInstance extends TypedEventInstance<RotateConsensusKeyEvent> {
|
|
388
|
+
/** @deprecated use {@link data_decoded} instead */
|
|
389
|
+
data_typed: RotateConsensusKeyEvent;
|
|
390
|
+
data_decoded: RotateConsensusKeyEvent;
|
|
391
|
+
type_arguments: [];
|
|
392
|
+
}
|
|
393
|
+
class SetOperatorEvent {
|
|
394
|
+
static TYPE_QNAME: string;
|
|
395
|
+
pool_address: Address;
|
|
396
|
+
old_operator: Address;
|
|
397
|
+
new_operator: Address;
|
|
398
|
+
}
|
|
399
|
+
interface SetOperatorEventInstance extends TypedEventInstance<SetOperatorEvent> {
|
|
400
|
+
/** @deprecated use {@link data_decoded} instead */
|
|
401
|
+
data_typed: SetOperatorEvent;
|
|
402
|
+
data_decoded: SetOperatorEvent;
|
|
403
|
+
type_arguments: [];
|
|
404
|
+
}
|
|
405
|
+
class StakePool {
|
|
406
|
+
static TYPE_QNAME: string;
|
|
407
|
+
active: coin.Coin<aptos_coin.AptosCoin>;
|
|
408
|
+
inactive: coin.Coin<aptos_coin.AptosCoin>;
|
|
409
|
+
pending_active: coin.Coin<aptos_coin.AptosCoin>;
|
|
410
|
+
pending_inactive: coin.Coin<aptos_coin.AptosCoin>;
|
|
411
|
+
locked_until_secs: bigint;
|
|
412
|
+
operator_address: Address;
|
|
413
|
+
delegated_voter: Address;
|
|
414
|
+
initialize_validator_events: event.EventHandle<stake.RegisterValidatorCandidateEvent>;
|
|
415
|
+
set_operator_events: event.EventHandle<stake.SetOperatorEvent>;
|
|
416
|
+
add_stake_events: event.EventHandle<stake.AddStakeEvent>;
|
|
417
|
+
reactivate_stake_events: event.EventHandle<stake.ReactivateStakeEvent>;
|
|
418
|
+
rotate_consensus_key_events: event.EventHandle<stake.RotateConsensusKeyEvent>;
|
|
419
|
+
update_network_and_fullnode_addresses_events: event.EventHandle<stake.UpdateNetworkAndFullnodeAddressesEvent>;
|
|
420
|
+
increase_lockup_events: event.EventHandle<stake.IncreaseLockupEvent>;
|
|
421
|
+
join_validator_set_events: event.EventHandle<stake.JoinValidatorSetEvent>;
|
|
422
|
+
distribute_rewards_events: event.EventHandle<stake.DistributeRewardsEvent>;
|
|
423
|
+
unlock_stake_events: event.EventHandle<stake.UnlockStakeEvent>;
|
|
424
|
+
withdraw_stake_events: event.EventHandle<stake.WithdrawStakeEvent>;
|
|
425
|
+
leave_validator_set_events: event.EventHandle<stake.LeaveValidatorSetEvent>;
|
|
426
|
+
}
|
|
427
|
+
class UnlockStakeEvent {
|
|
428
|
+
static TYPE_QNAME: string;
|
|
429
|
+
pool_address: Address;
|
|
430
|
+
amount_unlocked: bigint;
|
|
431
|
+
}
|
|
432
|
+
interface UnlockStakeEventInstance extends TypedEventInstance<UnlockStakeEvent> {
|
|
433
|
+
/** @deprecated use {@link data_decoded} instead */
|
|
434
|
+
data_typed: UnlockStakeEvent;
|
|
435
|
+
data_decoded: UnlockStakeEvent;
|
|
436
|
+
type_arguments: [];
|
|
437
|
+
}
|
|
438
|
+
class UpdateNetworkAndFullnodeAddressesEvent {
|
|
439
|
+
static TYPE_QNAME: string;
|
|
440
|
+
pool_address: Address;
|
|
441
|
+
old_network_addresses: string;
|
|
442
|
+
new_network_addresses: string;
|
|
443
|
+
old_fullnode_addresses: string;
|
|
444
|
+
new_fullnode_addresses: string;
|
|
445
|
+
}
|
|
446
|
+
interface UpdateNetworkAndFullnodeAddressesEventInstance extends TypedEventInstance<UpdateNetworkAndFullnodeAddressesEvent> {
|
|
447
|
+
/** @deprecated use {@link data_decoded} instead */
|
|
448
|
+
data_typed: UpdateNetworkAndFullnodeAddressesEvent;
|
|
449
|
+
data_decoded: UpdateNetworkAndFullnodeAddressesEvent;
|
|
450
|
+
type_arguments: [];
|
|
451
|
+
}
|
|
452
|
+
class ValidatorConfig {
|
|
453
|
+
static TYPE_QNAME: string;
|
|
454
|
+
consensus_pubkey: string;
|
|
455
|
+
network_addresses: string;
|
|
456
|
+
fullnode_addresses: string;
|
|
457
|
+
validator_index: bigint;
|
|
458
|
+
}
|
|
459
|
+
class ValidatorInfo {
|
|
460
|
+
static TYPE_QNAME: string;
|
|
461
|
+
addr: Address;
|
|
462
|
+
voting_power: bigint;
|
|
463
|
+
config: stake.ValidatorConfig;
|
|
464
|
+
}
|
|
465
|
+
class ValidatorPerformance {
|
|
466
|
+
static TYPE_QNAME: string;
|
|
467
|
+
validators: stake.IndividualValidatorPerformance[];
|
|
468
|
+
}
|
|
469
|
+
class ValidatorSet {
|
|
470
|
+
static TYPE_QNAME: string;
|
|
471
|
+
consensus_scheme: number;
|
|
472
|
+
active_validators: stake.ValidatorInfo[];
|
|
473
|
+
pending_inactive: stake.ValidatorInfo[];
|
|
474
|
+
pending_active: stake.ValidatorInfo[];
|
|
475
|
+
total_voting_power: bigint;
|
|
476
|
+
total_joining_power: bigint;
|
|
477
|
+
}
|
|
478
|
+
class WithdrawStakeEvent {
|
|
479
|
+
static TYPE_QNAME: string;
|
|
480
|
+
pool_address: Address;
|
|
481
|
+
amount_withdrawn: bigint;
|
|
482
|
+
}
|
|
483
|
+
interface WithdrawStakeEventInstance extends TypedEventInstance<WithdrawStakeEvent> {
|
|
484
|
+
/** @deprecated use {@link data_decoded} instead */
|
|
485
|
+
data_typed: WithdrawStakeEvent;
|
|
486
|
+
data_decoded: WithdrawStakeEvent;
|
|
487
|
+
type_arguments: [];
|
|
488
|
+
}
|
|
489
|
+
interface AddStakePayload extends TypedEntryFunctionPayload<[bigint]> {
|
|
490
|
+
/** @deprecated use {@link arguments_decoded} instead */
|
|
491
|
+
arguments_typed: [bigint];
|
|
492
|
+
arguments_decoded: [bigint];
|
|
493
|
+
type_arguments: [];
|
|
494
|
+
}
|
|
495
|
+
interface IncreaseLockupPayload extends TypedEntryFunctionPayload<[]> {
|
|
496
|
+
/** @deprecated use {@link arguments_decoded} instead */
|
|
497
|
+
arguments_typed: [];
|
|
498
|
+
arguments_decoded: [];
|
|
499
|
+
type_arguments: [];
|
|
500
|
+
}
|
|
501
|
+
interface InitializeStakeOwnerPayload extends TypedEntryFunctionPayload<[bigint, Address, Address]> {
|
|
502
|
+
/** @deprecated use {@link arguments_decoded} instead */
|
|
503
|
+
arguments_typed: [bigint, Address, Address];
|
|
504
|
+
arguments_decoded: [bigint, Address, Address];
|
|
505
|
+
type_arguments: [];
|
|
506
|
+
}
|
|
507
|
+
interface InitializeValidatorPayload extends TypedEntryFunctionPayload<[string, string, string, string]> {
|
|
508
|
+
/** @deprecated use {@link arguments_decoded} instead */
|
|
509
|
+
arguments_typed: [string, string, string, string];
|
|
510
|
+
arguments_decoded: [string, string, string, string];
|
|
511
|
+
type_arguments: [];
|
|
512
|
+
}
|
|
513
|
+
interface JoinValidatorSetPayload extends TypedEntryFunctionPayload<[Address]> {
|
|
514
|
+
/** @deprecated use {@link arguments_decoded} instead */
|
|
515
|
+
arguments_typed: [Address];
|
|
516
|
+
arguments_decoded: [Address];
|
|
517
|
+
type_arguments: [];
|
|
518
|
+
}
|
|
519
|
+
interface LeaveValidatorSetPayload extends TypedEntryFunctionPayload<[Address]> {
|
|
520
|
+
/** @deprecated use {@link arguments_decoded} instead */
|
|
521
|
+
arguments_typed: [Address];
|
|
522
|
+
arguments_decoded: [Address];
|
|
523
|
+
type_arguments: [];
|
|
524
|
+
}
|
|
525
|
+
interface ReactivateStakePayload extends TypedEntryFunctionPayload<[bigint]> {
|
|
526
|
+
/** @deprecated use {@link arguments_decoded} instead */
|
|
527
|
+
arguments_typed: [bigint];
|
|
528
|
+
arguments_decoded: [bigint];
|
|
529
|
+
type_arguments: [];
|
|
530
|
+
}
|
|
531
|
+
interface RotateConsensusKeyPayload extends TypedEntryFunctionPayload<[Address, string, string]> {
|
|
532
|
+
/** @deprecated use {@link arguments_decoded} instead */
|
|
533
|
+
arguments_typed: [Address, string, string];
|
|
534
|
+
arguments_decoded: [Address, string, string];
|
|
535
|
+
type_arguments: [];
|
|
536
|
+
}
|
|
537
|
+
interface SetDelegatedVoterPayload extends TypedEntryFunctionPayload<[Address]> {
|
|
538
|
+
/** @deprecated use {@link arguments_decoded} instead */
|
|
539
|
+
arguments_typed: [Address];
|
|
540
|
+
arguments_decoded: [Address];
|
|
541
|
+
type_arguments: [];
|
|
542
|
+
}
|
|
543
|
+
interface SetOperatorPayload extends TypedEntryFunctionPayload<[Address]> {
|
|
544
|
+
/** @deprecated use {@link arguments_decoded} instead */
|
|
545
|
+
arguments_typed: [Address];
|
|
546
|
+
arguments_decoded: [Address];
|
|
547
|
+
type_arguments: [];
|
|
548
|
+
}
|
|
549
|
+
interface UnlockPayload extends TypedEntryFunctionPayload<[bigint]> {
|
|
550
|
+
/** @deprecated use {@link arguments_decoded} instead */
|
|
551
|
+
arguments_typed: [bigint];
|
|
552
|
+
arguments_decoded: [bigint];
|
|
553
|
+
type_arguments: [];
|
|
554
|
+
}
|
|
555
|
+
interface UpdateNetworkAndFullnodeAddressesPayload extends TypedEntryFunctionPayload<[Address, string, string]> {
|
|
556
|
+
/** @deprecated use {@link arguments_decoded} instead */
|
|
557
|
+
arguments_typed: [Address, string, string];
|
|
558
|
+
arguments_decoded: [Address, string, string];
|
|
559
|
+
type_arguments: [];
|
|
560
|
+
}
|
|
561
|
+
interface WithdrawPayload extends TypedEntryFunctionPayload<[bigint]> {
|
|
562
|
+
/** @deprecated use {@link arguments_decoded} instead */
|
|
563
|
+
arguments_typed: [bigint];
|
|
564
|
+
arguments_decoded: [bigint];
|
|
565
|
+
type_arguments: [];
|
|
566
|
+
}
|
|
567
|
+
function loadTypes(_r: MoveCoder): void;
|
|
568
|
+
const ABI: MoveModule;
|
|
569
|
+
}
|
|
570
|
+
export declare namespace table {
|
|
571
|
+
class Box<T0> {
|
|
572
|
+
static TYPE_QNAME: string;
|
|
573
|
+
val: T0;
|
|
574
|
+
}
|
|
575
|
+
class Table<T0, T1> {
|
|
576
|
+
static TYPE_QNAME: string;
|
|
577
|
+
handle: Address;
|
|
578
|
+
}
|
|
579
|
+
function loadTypes(_r: MoveCoder): void;
|
|
580
|
+
const ABI: MoveModule;
|
|
581
|
+
}
|
|
582
|
+
export declare namespace math64 {
|
|
583
|
+
function loadTypes(_r: MoveCoder): void;
|
|
584
|
+
const ABI: MoveModule;
|
|
585
|
+
}
|
|
586
|
+
export declare namespace option {
|
|
587
|
+
class Option<T0> {
|
|
588
|
+
static TYPE_QNAME: string;
|
|
589
|
+
vec: T0[] | string;
|
|
590
|
+
}
|
|
591
|
+
function loadTypes(_r: MoveCoder): void;
|
|
592
|
+
const ABI: MoveModule;
|
|
593
|
+
}
|
|
594
|
+
export declare namespace signer {
|
|
595
|
+
function loadTypes(_r: MoveCoder): void;
|
|
596
|
+
const ABI: MoveModule;
|
|
597
|
+
}
|
|
598
|
+
export declare namespace string {
|
|
599
|
+
class String {
|
|
600
|
+
static TYPE_QNAME: string;
|
|
601
|
+
bytes: string;
|
|
602
|
+
}
|
|
603
|
+
function loadTypes(_r: MoveCoder): void;
|
|
604
|
+
const ABI: MoveModule;
|
|
605
|
+
}
|
|
606
|
+
export declare namespace vector {
|
|
607
|
+
function loadTypes(_r: MoveCoder): void;
|
|
608
|
+
const ABI: MoveModule;
|
|
609
|
+
}
|
|
610
|
+
export declare class voting extends AptosBaseProcessor {
|
|
611
|
+
constructor(options: AptosBindOptions);
|
|
612
|
+
static DEFAULT_OPTIONS: AptosBindOptions;
|
|
613
|
+
static bind(options?: Partial<AptosBindOptions>): voting;
|
|
614
|
+
onEventCreateProposalEvent(func: (event: voting.CreateProposalEventInstance, ctx: AptosContext) => void, fetchConfig?: AptosFetchConfig): voting;
|
|
615
|
+
onEventRegisterForumEvent(func: (event: voting.RegisterForumEventInstance, ctx: AptosContext) => void, fetchConfig?: AptosFetchConfig): voting;
|
|
616
|
+
onEventResolveProposal(func: (event: voting.ResolveProposalInstance, ctx: AptosContext) => void, fetchConfig?: AptosFetchConfig): voting;
|
|
617
|
+
onEventVoteEvent(func: (event: voting.VoteEventInstance, ctx: AptosContext) => void, fetchConfig?: AptosFetchConfig): voting;
|
|
618
|
+
loadTypesInternal(registry: MoveCoder): void;
|
|
619
|
+
}
|
|
620
|
+
export declare namespace voting {
|
|
621
|
+
class CreateProposalEvent {
|
|
622
|
+
static TYPE_QNAME: string;
|
|
623
|
+
proposal_id: bigint;
|
|
624
|
+
early_resolution_vote_threshold: option.Option<bigint>;
|
|
625
|
+
execution_hash: string;
|
|
626
|
+
expiration_secs: bigint;
|
|
627
|
+
metadata: simple_map.SimpleMap<string, string>;
|
|
628
|
+
min_vote_threshold: bigint;
|
|
629
|
+
}
|
|
630
|
+
interface CreateProposalEventInstance extends TypedEventInstance<CreateProposalEvent> {
|
|
631
|
+
/** @deprecated use {@link data_decoded} instead */
|
|
632
|
+
data_typed: CreateProposalEvent;
|
|
633
|
+
data_decoded: CreateProposalEvent;
|
|
634
|
+
type_arguments: [];
|
|
635
|
+
}
|
|
636
|
+
class Proposal<T0> {
|
|
637
|
+
static TYPE_QNAME: string;
|
|
638
|
+
proposer: Address;
|
|
639
|
+
execution_content: option.Option<T0>;
|
|
640
|
+
metadata: simple_map.SimpleMap<string, string>;
|
|
641
|
+
creation_time_secs: bigint;
|
|
642
|
+
execution_hash: string;
|
|
643
|
+
min_vote_threshold: bigint;
|
|
644
|
+
expiration_secs: bigint;
|
|
645
|
+
early_resolution_vote_threshold: option.Option<bigint>;
|
|
646
|
+
yes_votes: bigint;
|
|
647
|
+
no_votes: bigint;
|
|
648
|
+
is_resolved: Boolean;
|
|
649
|
+
resolution_time_secs: bigint;
|
|
650
|
+
}
|
|
651
|
+
class RegisterForumEvent {
|
|
652
|
+
static TYPE_QNAME: string;
|
|
653
|
+
hosting_account: Address;
|
|
654
|
+
proposal_type_info: type_info.TypeInfo;
|
|
655
|
+
}
|
|
656
|
+
interface RegisterForumEventInstance extends TypedEventInstance<RegisterForumEvent> {
|
|
657
|
+
/** @deprecated use {@link data_decoded} instead */
|
|
658
|
+
data_typed: RegisterForumEvent;
|
|
659
|
+
data_decoded: RegisterForumEvent;
|
|
660
|
+
type_arguments: [];
|
|
661
|
+
}
|
|
662
|
+
class ResolveProposal {
|
|
663
|
+
static TYPE_QNAME: string;
|
|
664
|
+
proposal_id: bigint;
|
|
665
|
+
yes_votes: bigint;
|
|
666
|
+
no_votes: bigint;
|
|
667
|
+
resolved_early: Boolean;
|
|
668
|
+
}
|
|
669
|
+
interface ResolveProposalInstance extends TypedEventInstance<ResolveProposal> {
|
|
670
|
+
/** @deprecated use {@link data_decoded} instead */
|
|
671
|
+
data_typed: ResolveProposal;
|
|
672
|
+
data_decoded: ResolveProposal;
|
|
673
|
+
type_arguments: [];
|
|
674
|
+
}
|
|
675
|
+
class VoteEvent {
|
|
676
|
+
static TYPE_QNAME: string;
|
|
677
|
+
proposal_id: bigint;
|
|
678
|
+
num_votes: bigint;
|
|
679
|
+
}
|
|
680
|
+
interface VoteEventInstance extends TypedEventInstance<VoteEvent> {
|
|
681
|
+
/** @deprecated use {@link data_decoded} instead */
|
|
682
|
+
data_typed: VoteEvent;
|
|
683
|
+
data_decoded: VoteEvent;
|
|
684
|
+
type_arguments: [];
|
|
685
|
+
}
|
|
686
|
+
class VotingEvents {
|
|
687
|
+
static TYPE_QNAME: string;
|
|
688
|
+
create_proposal_events: event.EventHandle<voting.CreateProposalEvent>;
|
|
689
|
+
register_forum_events: event.EventHandle<voting.RegisterForumEvent>;
|
|
690
|
+
resolve_proposal_events: event.EventHandle<voting.ResolveProposal>;
|
|
691
|
+
vote_events: event.EventHandle<voting.VoteEvent>;
|
|
692
|
+
}
|
|
693
|
+
class VotingForum<T0> {
|
|
694
|
+
static TYPE_QNAME: string;
|
|
695
|
+
proposals: table.Table<bigint, voting.Proposal<T0>>;
|
|
696
|
+
events: voting.VotingEvents;
|
|
697
|
+
next_proposal_id: bigint;
|
|
698
|
+
}
|
|
699
|
+
function loadTypes(_r: MoveCoder): void;
|
|
700
|
+
const ABI: MoveModule;
|
|
701
|
+
}
|
|
702
|
+
export declare class account extends AptosBaseProcessor {
|
|
703
|
+
constructor(options: AptosBindOptions);
|
|
704
|
+
static DEFAULT_OPTIONS: AptosBindOptions;
|
|
705
|
+
static bind(options?: Partial<AptosBindOptions>): account;
|
|
706
|
+
onEntryOfferSignerCapability(func: (call: account.OfferSignerCapabilityPayload, ctx: AptosContext) => void, filter?: CallFilter, fetchConfig?: AptosFetchConfig): account;
|
|
707
|
+
onEntryRevokeSignerCapability(func: (call: account.RevokeSignerCapabilityPayload, ctx: AptosContext) => void, filter?: CallFilter, fetchConfig?: AptosFetchConfig): account;
|
|
708
|
+
onEntryRotateAuthenticationKey(func: (call: account.RotateAuthenticationKeyPayload, ctx: AptosContext) => void, filter?: CallFilter, fetchConfig?: AptosFetchConfig): account;
|
|
709
|
+
onEventCoinRegisterEvent(func: (event: account.CoinRegisterEventInstance, ctx: AptosContext) => void, fetchConfig?: AptosFetchConfig): account;
|
|
710
|
+
onEventKeyRotationEvent(func: (event: account.KeyRotationEventInstance, ctx: AptosContext) => void, fetchConfig?: AptosFetchConfig): account;
|
|
711
|
+
loadTypesInternal(registry: MoveCoder): void;
|
|
712
|
+
}
|
|
713
|
+
export declare namespace account {
|
|
714
|
+
class Account {
|
|
715
|
+
static TYPE_QNAME: string;
|
|
716
|
+
authentication_key: string;
|
|
717
|
+
sequence_number: bigint;
|
|
718
|
+
guid_creation_num: bigint;
|
|
719
|
+
coin_register_events: event.EventHandle<account.CoinRegisterEvent>;
|
|
720
|
+
key_rotation_events: event.EventHandle<account.KeyRotationEvent>;
|
|
721
|
+
rotation_capability_offer: account.CapabilityOffer<account.RotationCapability>;
|
|
722
|
+
signer_capability_offer: account.CapabilityOffer<account.SignerCapability>;
|
|
723
|
+
}
|
|
724
|
+
class CapabilityOffer<T0> {
|
|
725
|
+
static TYPE_QNAME: string;
|
|
726
|
+
for: option.Option<Address>;
|
|
727
|
+
}
|
|
728
|
+
class CoinRegisterEvent {
|
|
729
|
+
static TYPE_QNAME: string;
|
|
730
|
+
type_info: type_info.TypeInfo;
|
|
731
|
+
}
|
|
732
|
+
interface CoinRegisterEventInstance extends TypedEventInstance<CoinRegisterEvent> {
|
|
733
|
+
/** @deprecated use {@link data_decoded} instead */
|
|
734
|
+
data_typed: CoinRegisterEvent;
|
|
735
|
+
data_decoded: CoinRegisterEvent;
|
|
736
|
+
type_arguments: [];
|
|
737
|
+
}
|
|
738
|
+
class KeyRotationEvent {
|
|
739
|
+
static TYPE_QNAME: string;
|
|
740
|
+
old_authentication_key: string;
|
|
741
|
+
new_authentication_key: string;
|
|
742
|
+
}
|
|
743
|
+
interface KeyRotationEventInstance extends TypedEventInstance<KeyRotationEvent> {
|
|
744
|
+
/** @deprecated use {@link data_decoded} instead */
|
|
745
|
+
data_typed: KeyRotationEvent;
|
|
746
|
+
data_decoded: KeyRotationEvent;
|
|
747
|
+
type_arguments: [];
|
|
748
|
+
}
|
|
749
|
+
class OriginatingAddress {
|
|
750
|
+
static TYPE_QNAME: string;
|
|
751
|
+
address_map: table.Table<Address, Address>;
|
|
752
|
+
}
|
|
753
|
+
class RotationCapability {
|
|
754
|
+
static TYPE_QNAME: string;
|
|
755
|
+
account: Address;
|
|
756
|
+
}
|
|
757
|
+
class RotationCapabilityOfferProofChallenge {
|
|
758
|
+
static TYPE_QNAME: string;
|
|
759
|
+
sequence_number: bigint;
|
|
760
|
+
recipient_address: Address;
|
|
761
|
+
}
|
|
762
|
+
class RotationProofChallenge {
|
|
763
|
+
static TYPE_QNAME: string;
|
|
764
|
+
sequence_number: bigint;
|
|
765
|
+
originator: Address;
|
|
766
|
+
current_auth_key: Address;
|
|
767
|
+
new_public_key: string;
|
|
768
|
+
}
|
|
769
|
+
class SignerCapability {
|
|
770
|
+
static TYPE_QNAME: string;
|
|
771
|
+
account: Address;
|
|
772
|
+
}
|
|
773
|
+
class SignerCapabilityOfferProofChallenge {
|
|
774
|
+
static TYPE_QNAME: string;
|
|
775
|
+
sequence_number: bigint;
|
|
776
|
+
recipient_address: Address;
|
|
777
|
+
}
|
|
778
|
+
class SignerCapabilityOfferProofChallengeV2 {
|
|
779
|
+
static TYPE_QNAME: string;
|
|
780
|
+
sequence_number: bigint;
|
|
781
|
+
source_address: Address;
|
|
782
|
+
recipient_address: Address;
|
|
783
|
+
}
|
|
784
|
+
interface OfferSignerCapabilityPayload extends TypedEntryFunctionPayload<[string, number, string, Address]> {
|
|
785
|
+
/** @deprecated use {@link arguments_decoded} instead */
|
|
786
|
+
arguments_typed: [string, number, string, Address];
|
|
787
|
+
arguments_decoded: [string, number, string, Address];
|
|
788
|
+
type_arguments: [];
|
|
789
|
+
}
|
|
790
|
+
interface RevokeSignerCapabilityPayload extends TypedEntryFunctionPayload<[Address]> {
|
|
791
|
+
/** @deprecated use {@link arguments_decoded} instead */
|
|
792
|
+
arguments_typed: [Address];
|
|
793
|
+
arguments_decoded: [Address];
|
|
794
|
+
type_arguments: [];
|
|
795
|
+
}
|
|
796
|
+
interface RotateAuthenticationKeyPayload extends TypedEntryFunctionPayload<[
|
|
797
|
+
number,
|
|
798
|
+
string,
|
|
799
|
+
number,
|
|
800
|
+
string,
|
|
801
|
+
string,
|
|
802
|
+
string
|
|
803
|
+
]> {
|
|
804
|
+
/** @deprecated use {@link arguments_decoded} instead */
|
|
805
|
+
arguments_typed: [number, string, number, string, string, string];
|
|
806
|
+
arguments_decoded: [number, string, number, string, string, string];
|
|
807
|
+
type_arguments: [];
|
|
808
|
+
}
|
|
809
|
+
function loadTypes(_r: MoveCoder): void;
|
|
810
|
+
const ABI: MoveModule;
|
|
811
|
+
}
|
|
812
|
+
export declare namespace ed25519 {
|
|
813
|
+
class Signature {
|
|
814
|
+
static TYPE_QNAME: string;
|
|
815
|
+
bytes: string;
|
|
816
|
+
}
|
|
817
|
+
class SignedMessage<T0> {
|
|
818
|
+
static TYPE_QNAME: string;
|
|
819
|
+
type_info: type_info.TypeInfo;
|
|
820
|
+
inner: T0;
|
|
821
|
+
}
|
|
822
|
+
class UnvalidatedPublicKey {
|
|
823
|
+
static TYPE_QNAME: string;
|
|
824
|
+
bytes: string;
|
|
825
|
+
}
|
|
826
|
+
class ValidatedPublicKey {
|
|
827
|
+
static TYPE_QNAME: string;
|
|
828
|
+
bytes: string;
|
|
829
|
+
}
|
|
830
|
+
function loadTypes(_r: MoveCoder): void;
|
|
831
|
+
const ABI: MoveModule;
|
|
832
|
+
}
|
|
833
|
+
export declare namespace genesis {
|
|
834
|
+
class AccountMap {
|
|
835
|
+
static TYPE_QNAME: string;
|
|
836
|
+
account_address: Address;
|
|
837
|
+
balance: bigint;
|
|
838
|
+
}
|
|
839
|
+
class EmployeeAccountMap {
|
|
840
|
+
static TYPE_QNAME: string;
|
|
841
|
+
accounts: Address[];
|
|
842
|
+
validator: genesis.ValidatorConfigurationWithCommission;
|
|
843
|
+
vesting_schedule_numerator: bigint[];
|
|
844
|
+
vesting_schedule_denominator: bigint;
|
|
845
|
+
beneficiary_resetter: Address;
|
|
846
|
+
}
|
|
847
|
+
class ValidatorConfiguration {
|
|
848
|
+
static TYPE_QNAME: string;
|
|
849
|
+
owner_address: Address;
|
|
850
|
+
operator_address: Address;
|
|
851
|
+
voter_address: Address;
|
|
852
|
+
stake_amount: bigint;
|
|
853
|
+
consensus_pubkey: string;
|
|
854
|
+
proof_of_possession: string;
|
|
855
|
+
network_addresses: string;
|
|
856
|
+
full_node_network_addresses: string;
|
|
857
|
+
}
|
|
858
|
+
class ValidatorConfigurationWithCommission {
|
|
859
|
+
static TYPE_QNAME: string;
|
|
860
|
+
validator_config: genesis.ValidatorConfiguration;
|
|
861
|
+
commission_percentage: bigint;
|
|
862
|
+
join_during_genesis: Boolean;
|
|
863
|
+
}
|
|
864
|
+
function loadTypes(_r: MoveCoder): void;
|
|
865
|
+
const ABI: MoveModule;
|
|
866
|
+
}
|
|
867
|
+
export declare namespace math128 {
|
|
868
|
+
function loadTypes(_r: MoveCoder): void;
|
|
869
|
+
const ABI: MoveModule;
|
|
870
|
+
}
|
|
871
|
+
export declare class version extends AptosBaseProcessor {
|
|
872
|
+
constructor(options: AptosBindOptions);
|
|
873
|
+
static DEFAULT_OPTIONS: AptosBindOptions;
|
|
874
|
+
static bind(options?: Partial<AptosBindOptions>): version;
|
|
875
|
+
onEntrySetVersion(func: (call: version.SetVersionPayload, ctx: AptosContext) => void, filter?: CallFilter, fetchConfig?: AptosFetchConfig): version;
|
|
876
|
+
loadTypesInternal(registry: MoveCoder): void;
|
|
877
|
+
}
|
|
878
|
+
export declare namespace version {
|
|
879
|
+
class SetVersionCapability {
|
|
880
|
+
static TYPE_QNAME: string;
|
|
881
|
+
dummy_field: Boolean;
|
|
882
|
+
}
|
|
883
|
+
class Version {
|
|
884
|
+
static TYPE_QNAME: string;
|
|
885
|
+
major: bigint;
|
|
886
|
+
}
|
|
887
|
+
interface SetVersionPayload extends TypedEntryFunctionPayload<[bigint]> {
|
|
888
|
+
/** @deprecated use {@link arguments_decoded} instead */
|
|
889
|
+
arguments_typed: [bigint];
|
|
890
|
+
arguments_decoded: [bigint];
|
|
891
|
+
type_arguments: [];
|
|
892
|
+
}
|
|
893
|
+
function loadTypes(_r: MoveCoder): void;
|
|
894
|
+
const ABI: MoveModule;
|
|
895
|
+
}
|
|
896
|
+
export declare class vesting extends AptosBaseProcessor {
|
|
897
|
+
constructor(options: AptosBindOptions);
|
|
898
|
+
static DEFAULT_OPTIONS: AptosBindOptions;
|
|
899
|
+
static bind(options?: Partial<AptosBindOptions>): vesting;
|
|
900
|
+
onEntryAdminWithdraw(func: (call: vesting.AdminWithdrawPayload, ctx: AptosContext) => void, filter?: CallFilter, fetchConfig?: AptosFetchConfig): vesting;
|
|
901
|
+
onEntryDistribute(func: (call: vesting.DistributePayload, ctx: AptosContext) => void, filter?: CallFilter, fetchConfig?: AptosFetchConfig): vesting;
|
|
902
|
+
onEntryResetBeneficiary(func: (call: vesting.ResetBeneficiaryPayload, ctx: AptosContext) => void, filter?: CallFilter, fetchConfig?: AptosFetchConfig): vesting;
|
|
903
|
+
onEntryResetLockup(func: (call: vesting.ResetLockupPayload, ctx: AptosContext) => void, filter?: CallFilter, fetchConfig?: AptosFetchConfig): vesting;
|
|
904
|
+
onEntrySetBeneficiary(func: (call: vesting.SetBeneficiaryPayload, ctx: AptosContext) => void, filter?: CallFilter, fetchConfig?: AptosFetchConfig): vesting;
|
|
905
|
+
onEntrySetBeneficiaryResetter(func: (call: vesting.SetBeneficiaryResetterPayload, ctx: AptosContext) => void, filter?: CallFilter, fetchConfig?: AptosFetchConfig): vesting;
|
|
906
|
+
onEntrySetManagementRole(func: (call: vesting.SetManagementRolePayload, ctx: AptosContext) => void, filter?: CallFilter, fetchConfig?: AptosFetchConfig): vesting;
|
|
907
|
+
onEntryTerminateVestingContract(func: (call: vesting.TerminateVestingContractPayload, ctx: AptosContext) => void, filter?: CallFilter, fetchConfig?: AptosFetchConfig): vesting;
|
|
908
|
+
onEntryUnlockRewards(func: (call: vesting.UnlockRewardsPayload, ctx: AptosContext) => void, filter?: CallFilter, fetchConfig?: AptosFetchConfig): vesting;
|
|
909
|
+
onEntryUpdateOperator(func: (call: vesting.UpdateOperatorPayload, ctx: AptosContext) => void, filter?: CallFilter, fetchConfig?: AptosFetchConfig): vesting;
|
|
910
|
+
onEntryUpdateOperatorWithSameCommission(func: (call: vesting.UpdateOperatorWithSameCommissionPayload, ctx: AptosContext) => void, filter?: CallFilter, fetchConfig?: AptosFetchConfig): vesting;
|
|
911
|
+
onEntryUpdateVoter(func: (call: vesting.UpdateVoterPayload, ctx: AptosContext) => void, filter?: CallFilter, fetchConfig?: AptosFetchConfig): vesting;
|
|
912
|
+
onEntryVest(func: (call: vesting.VestPayload, ctx: AptosContext) => void, filter?: CallFilter, fetchConfig?: AptosFetchConfig): vesting;
|
|
913
|
+
onEventCreateVestingContractEvent(func: (event: vesting.CreateVestingContractEventInstance, ctx: AptosContext) => void, fetchConfig?: AptosFetchConfig): vesting;
|
|
914
|
+
onEventUpdateOperatorEvent(func: (event: vesting.UpdateOperatorEventInstance, ctx: AptosContext) => void, fetchConfig?: AptosFetchConfig): vesting;
|
|
915
|
+
onEventUpdateVoterEvent(func: (event: vesting.UpdateVoterEventInstance, ctx: AptosContext) => void, fetchConfig?: AptosFetchConfig): vesting;
|
|
916
|
+
onEventResetLockupEvent(func: (event: vesting.ResetLockupEventInstance, ctx: AptosContext) => void, fetchConfig?: AptosFetchConfig): vesting;
|
|
917
|
+
onEventSetBeneficiaryEvent(func: (event: vesting.SetBeneficiaryEventInstance, ctx: AptosContext) => void, fetchConfig?: AptosFetchConfig): vesting;
|
|
918
|
+
onEventUnlockRewardsEvent(func: (event: vesting.UnlockRewardsEventInstance, ctx: AptosContext) => void, fetchConfig?: AptosFetchConfig): vesting;
|
|
919
|
+
onEventVestEvent(func: (event: vesting.VestEventInstance, ctx: AptosContext) => void, fetchConfig?: AptosFetchConfig): vesting;
|
|
920
|
+
onEventDistributeEvent(func: (event: vesting.DistributeEventInstance, ctx: AptosContext) => void, fetchConfig?: AptosFetchConfig): vesting;
|
|
921
|
+
onEventTerminateEvent(func: (event: vesting.TerminateEventInstance, ctx: AptosContext) => void, fetchConfig?: AptosFetchConfig): vesting;
|
|
922
|
+
onEventAdminWithdrawEvent(func: (event: vesting.AdminWithdrawEventInstance, ctx: AptosContext) => void, fetchConfig?: AptosFetchConfig): vesting;
|
|
923
|
+
loadTypesInternal(registry: MoveCoder): void;
|
|
924
|
+
}
|
|
925
|
+
export declare namespace vesting {
|
|
926
|
+
class AdminStore {
|
|
927
|
+
static TYPE_QNAME: string;
|
|
928
|
+
vesting_contracts: Address[];
|
|
929
|
+
nonce: bigint;
|
|
930
|
+
create_events: event.EventHandle<vesting.CreateVestingContractEvent>;
|
|
931
|
+
}
|
|
932
|
+
class AdminWithdrawEvent {
|
|
933
|
+
static TYPE_QNAME: string;
|
|
934
|
+
admin: Address;
|
|
935
|
+
vesting_contract_address: Address;
|
|
936
|
+
amount: bigint;
|
|
937
|
+
}
|
|
938
|
+
interface AdminWithdrawEventInstance extends TypedEventInstance<AdminWithdrawEvent> {
|
|
939
|
+
/** @deprecated use {@link data_decoded} instead */
|
|
940
|
+
data_typed: AdminWithdrawEvent;
|
|
941
|
+
data_decoded: AdminWithdrawEvent;
|
|
942
|
+
type_arguments: [];
|
|
943
|
+
}
|
|
944
|
+
class CreateVestingContractEvent {
|
|
945
|
+
static TYPE_QNAME: string;
|
|
946
|
+
operator: Address;
|
|
947
|
+
voter: Address;
|
|
948
|
+
grant_amount: bigint;
|
|
949
|
+
withdrawal_address: Address;
|
|
950
|
+
vesting_contract_address: Address;
|
|
951
|
+
staking_pool_address: Address;
|
|
952
|
+
commission_percentage: bigint;
|
|
953
|
+
}
|
|
954
|
+
interface CreateVestingContractEventInstance extends TypedEventInstance<CreateVestingContractEvent> {
|
|
955
|
+
/** @deprecated use {@link data_decoded} instead */
|
|
956
|
+
data_typed: CreateVestingContractEvent;
|
|
957
|
+
data_decoded: CreateVestingContractEvent;
|
|
958
|
+
type_arguments: [];
|
|
959
|
+
}
|
|
960
|
+
class DistributeEvent {
|
|
961
|
+
static TYPE_QNAME: string;
|
|
962
|
+
admin: Address;
|
|
963
|
+
vesting_contract_address: Address;
|
|
964
|
+
amount: bigint;
|
|
965
|
+
}
|
|
966
|
+
interface DistributeEventInstance extends TypedEventInstance<DistributeEvent> {
|
|
967
|
+
/** @deprecated use {@link data_decoded} instead */
|
|
968
|
+
data_typed: DistributeEvent;
|
|
969
|
+
data_decoded: DistributeEvent;
|
|
970
|
+
type_arguments: [];
|
|
971
|
+
}
|
|
972
|
+
class ResetLockupEvent {
|
|
973
|
+
static TYPE_QNAME: string;
|
|
974
|
+
admin: Address;
|
|
975
|
+
vesting_contract_address: Address;
|
|
976
|
+
staking_pool_address: Address;
|
|
977
|
+
new_lockup_expiration_secs: bigint;
|
|
978
|
+
}
|
|
979
|
+
interface ResetLockupEventInstance extends TypedEventInstance<ResetLockupEvent> {
|
|
980
|
+
/** @deprecated use {@link data_decoded} instead */
|
|
981
|
+
data_typed: ResetLockupEvent;
|
|
982
|
+
data_decoded: ResetLockupEvent;
|
|
983
|
+
type_arguments: [];
|
|
984
|
+
}
|
|
985
|
+
class SetBeneficiaryEvent {
|
|
986
|
+
static TYPE_QNAME: string;
|
|
987
|
+
admin: Address;
|
|
988
|
+
vesting_contract_address: Address;
|
|
989
|
+
shareholder: Address;
|
|
990
|
+
old_beneficiary: Address;
|
|
991
|
+
new_beneficiary: Address;
|
|
992
|
+
}
|
|
993
|
+
interface SetBeneficiaryEventInstance extends TypedEventInstance<SetBeneficiaryEvent> {
|
|
994
|
+
/** @deprecated use {@link data_decoded} instead */
|
|
995
|
+
data_typed: SetBeneficiaryEvent;
|
|
996
|
+
data_decoded: SetBeneficiaryEvent;
|
|
997
|
+
type_arguments: [];
|
|
998
|
+
}
|
|
999
|
+
class StakingInfo {
|
|
1000
|
+
static TYPE_QNAME: string;
|
|
1001
|
+
pool_address: Address;
|
|
1002
|
+
operator: Address;
|
|
1003
|
+
voter: Address;
|
|
1004
|
+
commission_percentage: bigint;
|
|
1005
|
+
}
|
|
1006
|
+
class TerminateEvent {
|
|
1007
|
+
static TYPE_QNAME: string;
|
|
1008
|
+
admin: Address;
|
|
1009
|
+
vesting_contract_address: Address;
|
|
1010
|
+
}
|
|
1011
|
+
interface TerminateEventInstance extends TypedEventInstance<TerminateEvent> {
|
|
1012
|
+
/** @deprecated use {@link data_decoded} instead */
|
|
1013
|
+
data_typed: TerminateEvent;
|
|
1014
|
+
data_decoded: TerminateEvent;
|
|
1015
|
+
type_arguments: [];
|
|
1016
|
+
}
|
|
1017
|
+
class UnlockRewardsEvent {
|
|
1018
|
+
static TYPE_QNAME: string;
|
|
1019
|
+
admin: Address;
|
|
1020
|
+
vesting_contract_address: Address;
|
|
1021
|
+
staking_pool_address: Address;
|
|
1022
|
+
amount: bigint;
|
|
1023
|
+
}
|
|
1024
|
+
interface UnlockRewardsEventInstance extends TypedEventInstance<UnlockRewardsEvent> {
|
|
1025
|
+
/** @deprecated use {@link data_decoded} instead */
|
|
1026
|
+
data_typed: UnlockRewardsEvent;
|
|
1027
|
+
data_decoded: UnlockRewardsEvent;
|
|
1028
|
+
type_arguments: [];
|
|
1029
|
+
}
|
|
1030
|
+
class UpdateOperatorEvent {
|
|
1031
|
+
static TYPE_QNAME: string;
|
|
1032
|
+
admin: Address;
|
|
1033
|
+
vesting_contract_address: Address;
|
|
1034
|
+
staking_pool_address: Address;
|
|
1035
|
+
old_operator: Address;
|
|
1036
|
+
new_operator: Address;
|
|
1037
|
+
commission_percentage: bigint;
|
|
1038
|
+
}
|
|
1039
|
+
interface UpdateOperatorEventInstance extends TypedEventInstance<UpdateOperatorEvent> {
|
|
1040
|
+
/** @deprecated use {@link data_decoded} instead */
|
|
1041
|
+
data_typed: UpdateOperatorEvent;
|
|
1042
|
+
data_decoded: UpdateOperatorEvent;
|
|
1043
|
+
type_arguments: [];
|
|
1044
|
+
}
|
|
1045
|
+
class UpdateVoterEvent {
|
|
1046
|
+
static TYPE_QNAME: string;
|
|
1047
|
+
admin: Address;
|
|
1048
|
+
vesting_contract_address: Address;
|
|
1049
|
+
staking_pool_address: Address;
|
|
1050
|
+
old_voter: Address;
|
|
1051
|
+
new_voter: Address;
|
|
1052
|
+
}
|
|
1053
|
+
interface UpdateVoterEventInstance extends TypedEventInstance<UpdateVoterEvent> {
|
|
1054
|
+
/** @deprecated use {@link data_decoded} instead */
|
|
1055
|
+
data_typed: UpdateVoterEvent;
|
|
1056
|
+
data_decoded: UpdateVoterEvent;
|
|
1057
|
+
type_arguments: [];
|
|
1058
|
+
}
|
|
1059
|
+
class VestEvent {
|
|
1060
|
+
static TYPE_QNAME: string;
|
|
1061
|
+
admin: Address;
|
|
1062
|
+
vesting_contract_address: Address;
|
|
1063
|
+
staking_pool_address: Address;
|
|
1064
|
+
period_vested: bigint;
|
|
1065
|
+
amount: bigint;
|
|
1066
|
+
}
|
|
1067
|
+
interface VestEventInstance extends TypedEventInstance<VestEvent> {
|
|
1068
|
+
/** @deprecated use {@link data_decoded} instead */
|
|
1069
|
+
data_typed: VestEvent;
|
|
1070
|
+
data_decoded: VestEvent;
|
|
1071
|
+
type_arguments: [];
|
|
1072
|
+
}
|
|
1073
|
+
class VestingAccountManagement {
|
|
1074
|
+
static TYPE_QNAME: string;
|
|
1075
|
+
roles: simple_map.SimpleMap<string, Address>;
|
|
1076
|
+
}
|
|
1077
|
+
class VestingContract {
|
|
1078
|
+
static TYPE_QNAME: string;
|
|
1079
|
+
state: bigint;
|
|
1080
|
+
admin: Address;
|
|
1081
|
+
grant_pool: pool_u64.Pool;
|
|
1082
|
+
beneficiaries: simple_map.SimpleMap<Address, Address>;
|
|
1083
|
+
vesting_schedule: vesting.VestingSchedule;
|
|
1084
|
+
withdrawal_address: Address;
|
|
1085
|
+
staking: vesting.StakingInfo;
|
|
1086
|
+
remaining_grant: bigint;
|
|
1087
|
+
signer_cap: account.SignerCapability;
|
|
1088
|
+
update_operator_events: event.EventHandle<vesting.UpdateOperatorEvent>;
|
|
1089
|
+
update_voter_events: event.EventHandle<vesting.UpdateVoterEvent>;
|
|
1090
|
+
reset_lockup_events: event.EventHandle<vesting.ResetLockupEvent>;
|
|
1091
|
+
set_beneficiary_events: event.EventHandle<vesting.SetBeneficiaryEvent>;
|
|
1092
|
+
unlock_rewards_events: event.EventHandle<vesting.UnlockRewardsEvent>;
|
|
1093
|
+
vest_events: event.EventHandle<vesting.VestEvent>;
|
|
1094
|
+
distribute_events: event.EventHandle<vesting.DistributeEvent>;
|
|
1095
|
+
terminate_events: event.EventHandle<vesting.TerminateEvent>;
|
|
1096
|
+
admin_withdraw_events: event.EventHandle<vesting.AdminWithdrawEvent>;
|
|
1097
|
+
}
|
|
1098
|
+
class VestingSchedule {
|
|
1099
|
+
static TYPE_QNAME: string;
|
|
1100
|
+
schedule: fixed_point32.FixedPoint32[];
|
|
1101
|
+
start_timestamp_secs: bigint;
|
|
1102
|
+
period_duration: bigint;
|
|
1103
|
+
last_vested_period: bigint;
|
|
1104
|
+
}
|
|
1105
|
+
interface AdminWithdrawPayload extends TypedEntryFunctionPayload<[Address]> {
|
|
1106
|
+
/** @deprecated use {@link arguments_decoded} instead */
|
|
1107
|
+
arguments_typed: [Address];
|
|
1108
|
+
arguments_decoded: [Address];
|
|
1109
|
+
type_arguments: [];
|
|
1110
|
+
}
|
|
1111
|
+
interface DistributePayload extends TypedEntryFunctionPayload<[Address]> {
|
|
1112
|
+
/** @deprecated use {@link arguments_decoded} instead */
|
|
1113
|
+
arguments_typed: [Address];
|
|
1114
|
+
arguments_decoded: [Address];
|
|
1115
|
+
type_arguments: [];
|
|
1116
|
+
}
|
|
1117
|
+
interface ResetBeneficiaryPayload extends TypedEntryFunctionPayload<[Address, Address]> {
|
|
1118
|
+
/** @deprecated use {@link arguments_decoded} instead */
|
|
1119
|
+
arguments_typed: [Address, Address];
|
|
1120
|
+
arguments_decoded: [Address, Address];
|
|
1121
|
+
type_arguments: [];
|
|
1122
|
+
}
|
|
1123
|
+
interface ResetLockupPayload extends TypedEntryFunctionPayload<[Address]> {
|
|
1124
|
+
/** @deprecated use {@link arguments_decoded} instead */
|
|
1125
|
+
arguments_typed: [Address];
|
|
1126
|
+
arguments_decoded: [Address];
|
|
1127
|
+
type_arguments: [];
|
|
1128
|
+
}
|
|
1129
|
+
interface SetBeneficiaryPayload extends TypedEntryFunctionPayload<[Address, Address, Address]> {
|
|
1130
|
+
/** @deprecated use {@link arguments_decoded} instead */
|
|
1131
|
+
arguments_typed: [Address, Address, Address];
|
|
1132
|
+
arguments_decoded: [Address, Address, Address];
|
|
1133
|
+
type_arguments: [];
|
|
1134
|
+
}
|
|
1135
|
+
interface SetBeneficiaryResetterPayload extends TypedEntryFunctionPayload<[Address, Address]> {
|
|
1136
|
+
/** @deprecated use {@link arguments_decoded} instead */
|
|
1137
|
+
arguments_typed: [Address, Address];
|
|
1138
|
+
arguments_decoded: [Address, Address];
|
|
1139
|
+
type_arguments: [];
|
|
1140
|
+
}
|
|
1141
|
+
interface SetManagementRolePayload extends TypedEntryFunctionPayload<[Address, string, Address]> {
|
|
1142
|
+
/** @deprecated use {@link arguments_decoded} instead */
|
|
1143
|
+
arguments_typed: [Address, string, Address];
|
|
1144
|
+
arguments_decoded: [Address, string, Address];
|
|
1145
|
+
type_arguments: [];
|
|
1146
|
+
}
|
|
1147
|
+
interface TerminateVestingContractPayload extends TypedEntryFunctionPayload<[Address]> {
|
|
1148
|
+
/** @deprecated use {@link arguments_decoded} instead */
|
|
1149
|
+
arguments_typed: [Address];
|
|
1150
|
+
arguments_decoded: [Address];
|
|
1151
|
+
type_arguments: [];
|
|
1152
|
+
}
|
|
1153
|
+
interface UnlockRewardsPayload extends TypedEntryFunctionPayload<[Address]> {
|
|
1154
|
+
/** @deprecated use {@link arguments_decoded} instead */
|
|
1155
|
+
arguments_typed: [Address];
|
|
1156
|
+
arguments_decoded: [Address];
|
|
1157
|
+
type_arguments: [];
|
|
1158
|
+
}
|
|
1159
|
+
interface UpdateOperatorPayload extends TypedEntryFunctionPayload<[Address, Address, bigint]> {
|
|
1160
|
+
/** @deprecated use {@link arguments_decoded} instead */
|
|
1161
|
+
arguments_typed: [Address, Address, bigint];
|
|
1162
|
+
arguments_decoded: [Address, Address, bigint];
|
|
1163
|
+
type_arguments: [];
|
|
1164
|
+
}
|
|
1165
|
+
interface UpdateOperatorWithSameCommissionPayload extends TypedEntryFunctionPayload<[Address, Address]> {
|
|
1166
|
+
/** @deprecated use {@link arguments_decoded} instead */
|
|
1167
|
+
arguments_typed: [Address, Address];
|
|
1168
|
+
arguments_decoded: [Address, Address];
|
|
1169
|
+
type_arguments: [];
|
|
1170
|
+
}
|
|
1171
|
+
interface UpdateVoterPayload extends TypedEntryFunctionPayload<[Address, Address]> {
|
|
1172
|
+
/** @deprecated use {@link arguments_decoded} instead */
|
|
1173
|
+
arguments_typed: [Address, Address];
|
|
1174
|
+
arguments_decoded: [Address, Address];
|
|
1175
|
+
type_arguments: [];
|
|
1176
|
+
}
|
|
1177
|
+
interface VestPayload extends TypedEntryFunctionPayload<[Address]> {
|
|
1178
|
+
/** @deprecated use {@link arguments_decoded} instead */
|
|
1179
|
+
arguments_typed: [Address];
|
|
1180
|
+
arguments_decoded: [Address];
|
|
1181
|
+
type_arguments: [];
|
|
1182
|
+
}
|
|
1183
|
+
function loadTypes(_r: MoveCoder): void;
|
|
1184
|
+
const ABI: MoveModule;
|
|
1185
|
+
}
|
|
1186
|
+
export declare namespace bls12381 {
|
|
1187
|
+
class AggrOrMultiSignature {
|
|
1188
|
+
static TYPE_QNAME: string;
|
|
1189
|
+
bytes: string;
|
|
1190
|
+
}
|
|
1191
|
+
class AggrPublicKeysWithPoP {
|
|
1192
|
+
static TYPE_QNAME: string;
|
|
1193
|
+
bytes: string;
|
|
1194
|
+
}
|
|
1195
|
+
class ProofOfPossession {
|
|
1196
|
+
static TYPE_QNAME: string;
|
|
1197
|
+
bytes: string;
|
|
1198
|
+
}
|
|
1199
|
+
class PublicKey {
|
|
1200
|
+
static TYPE_QNAME: string;
|
|
1201
|
+
bytes: string;
|
|
1202
|
+
}
|
|
1203
|
+
class PublicKeyWithPoP {
|
|
1204
|
+
static TYPE_QNAME: string;
|
|
1205
|
+
bytes: string;
|
|
1206
|
+
}
|
|
1207
|
+
class Signature {
|
|
1208
|
+
static TYPE_QNAME: string;
|
|
1209
|
+
bytes: string;
|
|
1210
|
+
}
|
|
1211
|
+
function loadTypes(_r: MoveCoder): void;
|
|
1212
|
+
const ABI: MoveModule;
|
|
1213
|
+
}
|
|
1214
|
+
export declare namespace chain_id {
|
|
1215
|
+
class ChainId {
|
|
1216
|
+
static TYPE_QNAME: string;
|
|
1217
|
+
id: number;
|
|
1218
|
+
}
|
|
1219
|
+
function loadTypes(_r: MoveCoder): void;
|
|
1220
|
+
const ABI: MoveModule;
|
|
1221
|
+
}
|
|
1222
|
+
export declare namespace features {
|
|
1223
|
+
class Features {
|
|
1224
|
+
static TYPE_QNAME: string;
|
|
1225
|
+
features: string;
|
|
1226
|
+
}
|
|
1227
|
+
function loadTypes(_r: MoveCoder): void;
|
|
1228
|
+
const ABI: MoveModule;
|
|
1229
|
+
}
|
|
1230
|
+
export declare namespace from_bcs {
|
|
1231
|
+
function loadTypes(_r: MoveCoder): void;
|
|
1232
|
+
const ABI: MoveModule;
|
|
1233
|
+
}
|
|
1234
|
+
export declare namespace pool_u64 {
|
|
1235
|
+
class Pool {
|
|
1236
|
+
static TYPE_QNAME: string;
|
|
1237
|
+
shareholders_limit: bigint;
|
|
1238
|
+
total_coins: bigint;
|
|
1239
|
+
total_shares: bigint;
|
|
1240
|
+
shares: simple_map.SimpleMap<Address, bigint>;
|
|
1241
|
+
shareholders: Address[];
|
|
1242
|
+
scaling_factor: bigint;
|
|
1243
|
+
}
|
|
1244
|
+
function loadTypes(_r: MoveCoder): void;
|
|
1245
|
+
const ABI: MoveModule;
|
|
1246
|
+
}
|
|
1247
|
+
export declare namespace secp256k1 {
|
|
1248
|
+
class ECDSARawPublicKey {
|
|
1249
|
+
static TYPE_QNAME: string;
|
|
1250
|
+
bytes: string;
|
|
1251
|
+
}
|
|
1252
|
+
class ECDSASignature {
|
|
1253
|
+
static TYPE_QNAME: string;
|
|
1254
|
+
bytes: string;
|
|
1255
|
+
}
|
|
1256
|
+
function loadTypes(_r: MoveCoder): void;
|
|
1257
|
+
const ABI: MoveModule;
|
|
1258
|
+
}
|
|
1259
|
+
export declare namespace timestamp {
|
|
1260
|
+
class CurrentTimeMicroseconds {
|
|
1261
|
+
static TYPE_QNAME: string;
|
|
1262
|
+
microseconds: bigint;
|
|
1263
|
+
}
|
|
1264
|
+
function loadTypes(_r: MoveCoder): void;
|
|
1265
|
+
const ABI: MoveModule;
|
|
1266
|
+
}
|
|
1267
|
+
export declare namespace type_info {
|
|
1268
|
+
class TypeInfo {
|
|
1269
|
+
static TYPE_QNAME: string;
|
|
1270
|
+
account_address: Address;
|
|
1271
|
+
module_name: string;
|
|
1272
|
+
struct_name: string;
|
|
1273
|
+
}
|
|
1274
|
+
function loadTypes(_r: MoveCoder): void;
|
|
1275
|
+
const ABI: MoveModule;
|
|
1276
|
+
}
|
|
1277
|
+
export declare namespace aggregator {
|
|
1278
|
+
class Aggregator {
|
|
1279
|
+
static TYPE_QNAME: string;
|
|
1280
|
+
handle: Address;
|
|
1281
|
+
key: Address;
|
|
1282
|
+
limit: bigint;
|
|
1283
|
+
}
|
|
1284
|
+
function loadTypes(_r: MoveCoder): void;
|
|
1285
|
+
const ABI: MoveModule;
|
|
1286
|
+
}
|
|
1287
|
+
export declare class aptos_coin extends AptosBaseProcessor {
|
|
1288
|
+
constructor(options: AptosBindOptions);
|
|
1289
|
+
static DEFAULT_OPTIONS: AptosBindOptions;
|
|
1290
|
+
static bind(options?: Partial<AptosBindOptions>): aptos_coin;
|
|
1291
|
+
onEntryClaimMintCapability(func: (call: aptos_coin.ClaimMintCapabilityPayload, ctx: AptosContext) => void, filter?: CallFilter, fetchConfig?: AptosFetchConfig): aptos_coin;
|
|
1292
|
+
onEntryDelegateMintCapability(func: (call: aptos_coin.DelegateMintCapabilityPayload, ctx: AptosContext) => void, filter?: CallFilter, fetchConfig?: AptosFetchConfig): aptos_coin;
|
|
1293
|
+
onEntryMint(func: (call: aptos_coin.MintPayload, ctx: AptosContext) => void, filter?: CallFilter, fetchConfig?: AptosFetchConfig): aptos_coin;
|
|
1294
|
+
loadTypesInternal(registry: MoveCoder): void;
|
|
1295
|
+
}
|
|
1296
|
+
export declare namespace aptos_coin {
|
|
1297
|
+
class AptosCoin {
|
|
1298
|
+
static TYPE_QNAME: string;
|
|
1299
|
+
dummy_field: Boolean;
|
|
1300
|
+
}
|
|
1301
|
+
class DelegatedMintCapability {
|
|
1302
|
+
static TYPE_QNAME: string;
|
|
1303
|
+
to: Address;
|
|
1304
|
+
}
|
|
1305
|
+
class Delegations {
|
|
1306
|
+
static TYPE_QNAME: string;
|
|
1307
|
+
inner: aptos_coin.DelegatedMintCapability[];
|
|
1308
|
+
}
|
|
1309
|
+
class MintCapStore {
|
|
1310
|
+
static TYPE_QNAME: string;
|
|
1311
|
+
mint_cap: coin.MintCapability<aptos_coin.AptosCoin>;
|
|
1312
|
+
}
|
|
1313
|
+
interface ClaimMintCapabilityPayload extends TypedEntryFunctionPayload<[]> {
|
|
1314
|
+
/** @deprecated use {@link arguments_decoded} instead */
|
|
1315
|
+
arguments_typed: [];
|
|
1316
|
+
arguments_decoded: [];
|
|
1317
|
+
type_arguments: [];
|
|
1318
|
+
}
|
|
1319
|
+
interface DelegateMintCapabilityPayload extends TypedEntryFunctionPayload<[Address, Address]> {
|
|
1320
|
+
/** @deprecated use {@link arguments_decoded} instead */
|
|
1321
|
+
arguments_typed: [Address, Address];
|
|
1322
|
+
arguments_decoded: [Address, Address];
|
|
1323
|
+
type_arguments: [];
|
|
1324
|
+
}
|
|
1325
|
+
interface MintPayload extends TypedEntryFunctionPayload<[Address, bigint]> {
|
|
1326
|
+
/** @deprecated use {@link arguments_decoded} instead */
|
|
1327
|
+
arguments_typed: [Address, bigint];
|
|
1328
|
+
arguments_decoded: [Address, bigint];
|
|
1329
|
+
type_arguments: [];
|
|
1330
|
+
}
|
|
1331
|
+
function loadTypes(_r: MoveCoder): void;
|
|
1332
|
+
const ABI: MoveModule;
|
|
1333
|
+
}
|
|
1334
|
+
export declare namespace aptos_hash {
|
|
1335
|
+
function loadTypes(_r: MoveCoder): void;
|
|
1336
|
+
const ABI: MoveModule;
|
|
1337
|
+
}
|
|
1338
|
+
export declare namespace bit_vector {
|
|
1339
|
+
class BitVector {
|
|
1340
|
+
static TYPE_QNAME: string;
|
|
1341
|
+
length: bigint;
|
|
1342
|
+
bit_field: Boolean[];
|
|
1343
|
+
}
|
|
1344
|
+
function loadTypes(_r: MoveCoder): void;
|
|
1345
|
+
const ABI: MoveModule;
|
|
1346
|
+
}
|
|
1347
|
+
export declare namespace capability {
|
|
1348
|
+
class Cap<T0> {
|
|
1349
|
+
static TYPE_QNAME: string;
|
|
1350
|
+
root: Address;
|
|
1351
|
+
}
|
|
1352
|
+
class CapDelegateState<T0> {
|
|
1353
|
+
static TYPE_QNAME: string;
|
|
1354
|
+
root: Address;
|
|
1355
|
+
}
|
|
1356
|
+
class CapState<T0> {
|
|
1357
|
+
static TYPE_QNAME: string;
|
|
1358
|
+
delegates: Address[];
|
|
1359
|
+
}
|
|
1360
|
+
class LinearCap<T0> {
|
|
1361
|
+
static TYPE_QNAME: string;
|
|
1362
|
+
root: Address;
|
|
1363
|
+
}
|
|
1364
|
+
function loadTypes(_r: MoveCoder): void;
|
|
1365
|
+
const ABI: MoveModule;
|
|
1366
|
+
}
|
|
1367
|
+
export declare namespace comparator {
|
|
1368
|
+
class Result {
|
|
1369
|
+
static TYPE_QNAME: string;
|
|
1370
|
+
inner: number;
|
|
1371
|
+
}
|
|
1372
|
+
function loadTypes(_r: MoveCoder): void;
|
|
1373
|
+
const ABI: MoveModule;
|
|
1374
|
+
}
|
|
1375
|
+
export declare namespace simple_map {
|
|
1376
|
+
class Element<T0, T1> {
|
|
1377
|
+
static TYPE_QNAME: string;
|
|
1378
|
+
key: T0;
|
|
1379
|
+
value: T1;
|
|
1380
|
+
}
|
|
1381
|
+
class SimpleMap<T0, T1> {
|
|
1382
|
+
static TYPE_QNAME: string;
|
|
1383
|
+
data: simple_map.Element<T0, T1>[];
|
|
1384
|
+
}
|
|
1385
|
+
function loadTypes(_r: MoveCoder): void;
|
|
1386
|
+
const ABI: MoveModule;
|
|
1387
|
+
}
|
|
1388
|
+
export declare namespace storage_gas {
|
|
1389
|
+
class GasCurve {
|
|
1390
|
+
static TYPE_QNAME: string;
|
|
1391
|
+
min_gas: bigint;
|
|
1392
|
+
max_gas: bigint;
|
|
1393
|
+
points: storage_gas.Point[];
|
|
1394
|
+
}
|
|
1395
|
+
class Point {
|
|
1396
|
+
static TYPE_QNAME: string;
|
|
1397
|
+
x: bigint;
|
|
1398
|
+
y: bigint;
|
|
1399
|
+
}
|
|
1400
|
+
class StorageGas {
|
|
1401
|
+
static TYPE_QNAME: string;
|
|
1402
|
+
per_item_read: bigint;
|
|
1403
|
+
per_item_create: bigint;
|
|
1404
|
+
per_item_write: bigint;
|
|
1405
|
+
per_byte_read: bigint;
|
|
1406
|
+
per_byte_create: bigint;
|
|
1407
|
+
per_byte_write: bigint;
|
|
1408
|
+
}
|
|
1409
|
+
class StorageGasConfig {
|
|
1410
|
+
static TYPE_QNAME: string;
|
|
1411
|
+
item_config: storage_gas.UsageGasConfig;
|
|
1412
|
+
byte_config: storage_gas.UsageGasConfig;
|
|
1413
|
+
}
|
|
1414
|
+
class UsageGasConfig {
|
|
1415
|
+
static TYPE_QNAME: string;
|
|
1416
|
+
target_usage: bigint;
|
|
1417
|
+
read_curve: storage_gas.GasCurve;
|
|
1418
|
+
create_curve: storage_gas.GasCurve;
|
|
1419
|
+
write_curve: storage_gas.GasCurve;
|
|
1420
|
+
}
|
|
1421
|
+
function loadTypes(_r: MoveCoder): void;
|
|
1422
|
+
const ABI: MoveModule;
|
|
1423
|
+
}
|
|
1424
|
+
export declare namespace chain_status {
|
|
1425
|
+
class GenesisEndMarker {
|
|
1426
|
+
static TYPE_QNAME: string;
|
|
1427
|
+
dummy_field: Boolean;
|
|
1428
|
+
}
|
|
1429
|
+
function loadTypes(_r: MoveCoder): void;
|
|
1430
|
+
const ABI: MoveModule;
|
|
1431
|
+
}
|
|
1432
|
+
export declare namespace copyable_any {
|
|
1433
|
+
class Any {
|
|
1434
|
+
static TYPE_QNAME: string;
|
|
1435
|
+
type_name: string;
|
|
1436
|
+
data: string;
|
|
1437
|
+
}
|
|
1438
|
+
function loadTypes(_r: MoveCoder): void;
|
|
1439
|
+
const ABI: MoveModule;
|
|
1440
|
+
}
|
|
1441
|
+
export declare namespace gas_schedule {
|
|
1442
|
+
class GasEntry {
|
|
1443
|
+
static TYPE_QNAME: string;
|
|
1444
|
+
key: string;
|
|
1445
|
+
val: bigint;
|
|
1446
|
+
}
|
|
1447
|
+
class GasSchedule {
|
|
1448
|
+
static TYPE_QNAME: string;
|
|
1449
|
+
entries: gas_schedule.GasEntry[];
|
|
1450
|
+
}
|
|
1451
|
+
class GasScheduleV2 {
|
|
1452
|
+
static TYPE_QNAME: string;
|
|
1453
|
+
feature_version: bigint;
|
|
1454
|
+
entries: gas_schedule.GasEntry[];
|
|
1455
|
+
}
|
|
1456
|
+
function loadTypes(_r: MoveCoder): void;
|
|
1457
|
+
const ABI: MoveModule;
|
|
1458
|
+
}
|
|
1459
|
+
export declare class managed_coin extends AptosBaseProcessor {
|
|
1460
|
+
constructor(options: AptosBindOptions);
|
|
1461
|
+
static DEFAULT_OPTIONS: AptosBindOptions;
|
|
1462
|
+
static bind(options?: Partial<AptosBindOptions>): managed_coin;
|
|
1463
|
+
onEntryBurn(func: (call: managed_coin.BurnPayload, ctx: AptosContext) => void, filter?: CallFilter, fetchConfig?: AptosFetchConfig): managed_coin;
|
|
1464
|
+
onEntryInitialize(func: (call: managed_coin.InitializePayload, ctx: AptosContext) => void, filter?: CallFilter, fetchConfig?: AptosFetchConfig): managed_coin;
|
|
1465
|
+
onEntryMint(func: (call: managed_coin.MintPayload, ctx: AptosContext) => void, filter?: CallFilter, fetchConfig?: AptosFetchConfig): managed_coin;
|
|
1466
|
+
onEntryRegister(func: (call: managed_coin.RegisterPayload, ctx: AptosContext) => void, filter?: CallFilter, fetchConfig?: AptosFetchConfig): managed_coin;
|
|
1467
|
+
loadTypesInternal(registry: MoveCoder): void;
|
|
1468
|
+
}
|
|
1469
|
+
export declare namespace managed_coin {
|
|
1470
|
+
class Capabilities<T0> {
|
|
1471
|
+
static TYPE_QNAME: string;
|
|
1472
|
+
burn_cap: coin.BurnCapability<T0>;
|
|
1473
|
+
freeze_cap: coin.FreezeCapability<T0>;
|
|
1474
|
+
mint_cap: coin.MintCapability<T0>;
|
|
1475
|
+
}
|
|
1476
|
+
interface BurnPayload<T0 = any> extends TypedEntryFunctionPayload<[bigint]> {
|
|
1477
|
+
/** @deprecated use {@link arguments_decoded} instead */
|
|
1478
|
+
arguments_typed: [bigint];
|
|
1479
|
+
arguments_decoded: [bigint];
|
|
1480
|
+
type_arguments: [string];
|
|
1481
|
+
}
|
|
1482
|
+
interface InitializePayload<T0 = any> extends TypedEntryFunctionPayload<[string, string, number, Boolean]> {
|
|
1483
|
+
/** @deprecated use {@link arguments_decoded} instead */
|
|
1484
|
+
arguments_typed: [string, string, number, Boolean];
|
|
1485
|
+
arguments_decoded: [string, string, number, Boolean];
|
|
1486
|
+
type_arguments: [string];
|
|
1487
|
+
}
|
|
1488
|
+
interface MintPayload<T0 = any> extends TypedEntryFunctionPayload<[Address, bigint]> {
|
|
1489
|
+
/** @deprecated use {@link arguments_decoded} instead */
|
|
1490
|
+
arguments_typed: [Address, bigint];
|
|
1491
|
+
arguments_decoded: [Address, bigint];
|
|
1492
|
+
type_arguments: [string];
|
|
1493
|
+
}
|
|
1494
|
+
interface RegisterPayload<T0 = any> extends TypedEntryFunctionPayload<[]> {
|
|
1495
|
+
/** @deprecated use {@link arguments_decoded} instead */
|
|
1496
|
+
arguments_typed: [];
|
|
1497
|
+
arguments_decoded: [];
|
|
1498
|
+
type_arguments: [string];
|
|
1499
|
+
}
|
|
1500
|
+
function loadTypes(_r: MoveCoder): void;
|
|
1501
|
+
const ABI: MoveModule;
|
|
1502
|
+
}
|
|
1503
|
+
export declare namespace ristretto255 {
|
|
1504
|
+
class CompressedRistretto {
|
|
1505
|
+
static TYPE_QNAME: string;
|
|
1506
|
+
data: string;
|
|
1507
|
+
}
|
|
1508
|
+
class RistrettoPoint {
|
|
1509
|
+
static TYPE_QNAME: string;
|
|
1510
|
+
handle: bigint;
|
|
1511
|
+
}
|
|
1512
|
+
class Scalar {
|
|
1513
|
+
static TYPE_QNAME: string;
|
|
1514
|
+
data: string;
|
|
1515
|
+
}
|
|
1516
|
+
function loadTypes(_r: MoveCoder): void;
|
|
1517
|
+
const ABI: MoveModule;
|
|
1518
|
+
}
|
|
1519
|
+
export declare class aptos_account extends AptosBaseProcessor {
|
|
1520
|
+
constructor(options: AptosBindOptions);
|
|
1521
|
+
static DEFAULT_OPTIONS: AptosBindOptions;
|
|
1522
|
+
static bind(options?: Partial<AptosBindOptions>): aptos_account;
|
|
1523
|
+
onEntryCreateAccount(func: (call: aptos_account.CreateAccountPayload, ctx: AptosContext) => void, filter?: CallFilter, fetchConfig?: AptosFetchConfig): aptos_account;
|
|
1524
|
+
onEntryTransfer(func: (call: aptos_account.TransferPayload, ctx: AptosContext) => void, filter?: CallFilter, fetchConfig?: AptosFetchConfig): aptos_account;
|
|
1525
|
+
loadTypesInternal(registry: MoveCoder): void;
|
|
1526
|
+
}
|
|
1527
|
+
export declare namespace aptos_account {
|
|
1528
|
+
interface CreateAccountPayload extends TypedEntryFunctionPayload<[Address]> {
|
|
1529
|
+
/** @deprecated use {@link arguments_decoded} instead */
|
|
1530
|
+
arguments_typed: [Address];
|
|
1531
|
+
arguments_decoded: [Address];
|
|
1532
|
+
type_arguments: [];
|
|
1533
|
+
}
|
|
1534
|
+
interface TransferPayload extends TypedEntryFunctionPayload<[Address, bigint]> {
|
|
1535
|
+
/** @deprecated use {@link arguments_decoded} instead */
|
|
1536
|
+
arguments_typed: [Address, bigint];
|
|
1537
|
+
arguments_decoded: [Address, bigint];
|
|
1538
|
+
type_arguments: [];
|
|
1539
|
+
}
|
|
1540
|
+
function loadTypes(_r: MoveCoder): void;
|
|
1541
|
+
const ABI: MoveModule;
|
|
1542
|
+
}
|
|
1543
|
+
export declare namespace fixed_point32 {
|
|
1544
|
+
class FixedPoint32 {
|
|
1545
|
+
static TYPE_QNAME: string;
|
|
1546
|
+
value: bigint;
|
|
1547
|
+
}
|
|
1548
|
+
function loadTypes(_r: MoveCoder): void;
|
|
1549
|
+
const ABI: MoveModule;
|
|
1550
|
+
}
|
|
1551
|
+
export declare namespace multi_ed25519 {
|
|
1552
|
+
class Signature {
|
|
1553
|
+
static TYPE_QNAME: string;
|
|
1554
|
+
bytes: string;
|
|
1555
|
+
}
|
|
1556
|
+
class UnvalidatedPublicKey {
|
|
1557
|
+
static TYPE_QNAME: string;
|
|
1558
|
+
bytes: string;
|
|
1559
|
+
}
|
|
1560
|
+
class ValidatedPublicKey {
|
|
1561
|
+
static TYPE_QNAME: string;
|
|
1562
|
+
bytes: string;
|
|
1563
|
+
}
|
|
1564
|
+
function loadTypes(_r: MoveCoder): void;
|
|
1565
|
+
const ABI: MoveModule;
|
|
1566
|
+
}
|
|
1567
|
+
export declare class staking_proxy extends AptosBaseProcessor {
|
|
1568
|
+
constructor(options: AptosBindOptions);
|
|
1569
|
+
static DEFAULT_OPTIONS: AptosBindOptions;
|
|
1570
|
+
static bind(options?: Partial<AptosBindOptions>): staking_proxy;
|
|
1571
|
+
onEntrySetOperator(func: (call: staking_proxy.SetOperatorPayload, ctx: AptosContext) => void, filter?: CallFilter, fetchConfig?: AptosFetchConfig): staking_proxy;
|
|
1572
|
+
onEntrySetStakePoolOperator(func: (call: staking_proxy.SetStakePoolOperatorPayload, ctx: AptosContext) => void, filter?: CallFilter, fetchConfig?: AptosFetchConfig): staking_proxy;
|
|
1573
|
+
onEntrySetStakePoolVoter(func: (call: staking_proxy.SetStakePoolVoterPayload, ctx: AptosContext) => void, filter?: CallFilter, fetchConfig?: AptosFetchConfig): staking_proxy;
|
|
1574
|
+
onEntrySetStakingContractOperator(func: (call: staking_proxy.SetStakingContractOperatorPayload, ctx: AptosContext) => void, filter?: CallFilter, fetchConfig?: AptosFetchConfig): staking_proxy;
|
|
1575
|
+
onEntrySetStakingContractVoter(func: (call: staking_proxy.SetStakingContractVoterPayload, ctx: AptosContext) => void, filter?: CallFilter, fetchConfig?: AptosFetchConfig): staking_proxy;
|
|
1576
|
+
onEntrySetVestingContractOperator(func: (call: staking_proxy.SetVestingContractOperatorPayload, ctx: AptosContext) => void, filter?: CallFilter, fetchConfig?: AptosFetchConfig): staking_proxy;
|
|
1577
|
+
onEntrySetVestingContractVoter(func: (call: staking_proxy.SetVestingContractVoterPayload, ctx: AptosContext) => void, filter?: CallFilter, fetchConfig?: AptosFetchConfig): staking_proxy;
|
|
1578
|
+
onEntrySetVoter(func: (call: staking_proxy.SetVoterPayload, ctx: AptosContext) => void, filter?: CallFilter, fetchConfig?: AptosFetchConfig): staking_proxy;
|
|
1579
|
+
loadTypesInternal(registry: MoveCoder): void;
|
|
1580
|
+
}
|
|
1581
|
+
export declare namespace staking_proxy {
|
|
1582
|
+
interface SetOperatorPayload extends TypedEntryFunctionPayload<[Address, Address]> {
|
|
1583
|
+
/** @deprecated use {@link arguments_decoded} instead */
|
|
1584
|
+
arguments_typed: [Address, Address];
|
|
1585
|
+
arguments_decoded: [Address, Address];
|
|
1586
|
+
type_arguments: [];
|
|
1587
|
+
}
|
|
1588
|
+
interface SetStakePoolOperatorPayload extends TypedEntryFunctionPayload<[Address]> {
|
|
1589
|
+
/** @deprecated use {@link arguments_decoded} instead */
|
|
1590
|
+
arguments_typed: [Address];
|
|
1591
|
+
arguments_decoded: [Address];
|
|
1592
|
+
type_arguments: [];
|
|
1593
|
+
}
|
|
1594
|
+
interface SetStakePoolVoterPayload extends TypedEntryFunctionPayload<[Address]> {
|
|
1595
|
+
/** @deprecated use {@link arguments_decoded} instead */
|
|
1596
|
+
arguments_typed: [Address];
|
|
1597
|
+
arguments_decoded: [Address];
|
|
1598
|
+
type_arguments: [];
|
|
1599
|
+
}
|
|
1600
|
+
interface SetStakingContractOperatorPayload extends TypedEntryFunctionPayload<[Address, Address]> {
|
|
1601
|
+
/** @deprecated use {@link arguments_decoded} instead */
|
|
1602
|
+
arguments_typed: [Address, Address];
|
|
1603
|
+
arguments_decoded: [Address, Address];
|
|
1604
|
+
type_arguments: [];
|
|
1605
|
+
}
|
|
1606
|
+
interface SetStakingContractVoterPayload extends TypedEntryFunctionPayload<[Address, Address]> {
|
|
1607
|
+
/** @deprecated use {@link arguments_decoded} instead */
|
|
1608
|
+
arguments_typed: [Address, Address];
|
|
1609
|
+
arguments_decoded: [Address, Address];
|
|
1610
|
+
type_arguments: [];
|
|
1611
|
+
}
|
|
1612
|
+
interface SetVestingContractOperatorPayload extends TypedEntryFunctionPayload<[Address, Address]> {
|
|
1613
|
+
/** @deprecated use {@link arguments_decoded} instead */
|
|
1614
|
+
arguments_typed: [Address, Address];
|
|
1615
|
+
arguments_decoded: [Address, Address];
|
|
1616
|
+
type_arguments: [];
|
|
1617
|
+
}
|
|
1618
|
+
interface SetVestingContractVoterPayload extends TypedEntryFunctionPayload<[Address, Address]> {
|
|
1619
|
+
/** @deprecated use {@link arguments_decoded} instead */
|
|
1620
|
+
arguments_typed: [Address, Address];
|
|
1621
|
+
arguments_decoded: [Address, Address];
|
|
1622
|
+
type_arguments: [];
|
|
1623
|
+
}
|
|
1624
|
+
interface SetVoterPayload extends TypedEntryFunctionPayload<[Address, Address]> {
|
|
1625
|
+
/** @deprecated use {@link arguments_decoded} instead */
|
|
1626
|
+
arguments_typed: [Address, Address];
|
|
1627
|
+
arguments_decoded: [Address, Address];
|
|
1628
|
+
type_arguments: [];
|
|
1629
|
+
}
|
|
1630
|
+
function loadTypes(_r: MoveCoder): void;
|
|
1631
|
+
const ABI: MoveModule;
|
|
1632
|
+
}
|
|
1633
|
+
export declare namespace state_storage {
|
|
1634
|
+
class GasParameter {
|
|
1635
|
+
static TYPE_QNAME: string;
|
|
1636
|
+
usage: state_storage.Usage;
|
|
1637
|
+
}
|
|
1638
|
+
class StateStorageUsage {
|
|
1639
|
+
static TYPE_QNAME: string;
|
|
1640
|
+
epoch: bigint;
|
|
1641
|
+
usage: state_storage.Usage;
|
|
1642
|
+
}
|
|
1643
|
+
class Usage {
|
|
1644
|
+
static TYPE_QNAME: string;
|
|
1645
|
+
items: bigint;
|
|
1646
|
+
bytes: bigint;
|
|
1647
|
+
}
|
|
1648
|
+
function loadTypes(_r: MoveCoder): void;
|
|
1649
|
+
const ABI: MoveModule;
|
|
1650
|
+
}
|
|
1651
|
+
export declare namespace staking_config {
|
|
1652
|
+
class StakingConfig {
|
|
1653
|
+
static TYPE_QNAME: string;
|
|
1654
|
+
minimum_stake: bigint;
|
|
1655
|
+
maximum_stake: bigint;
|
|
1656
|
+
recurring_lockup_duration_secs: bigint;
|
|
1657
|
+
allow_validator_set_change: Boolean;
|
|
1658
|
+
rewards_rate: bigint;
|
|
1659
|
+
rewards_rate_denominator: bigint;
|
|
1660
|
+
voting_power_increase_limit: bigint;
|
|
1661
|
+
}
|
|
1662
|
+
function loadTypes(_r: MoveCoder): void;
|
|
1663
|
+
const ABI: MoveModule;
|
|
1664
|
+
}
|
|
1665
|
+
export declare class reconfiguration extends AptosBaseProcessor {
|
|
1666
|
+
constructor(options: AptosBindOptions);
|
|
1667
|
+
static DEFAULT_OPTIONS: AptosBindOptions;
|
|
1668
|
+
static bind(options?: Partial<AptosBindOptions>): reconfiguration;
|
|
1669
|
+
onEventNewEpochEvent(func: (event: reconfiguration.NewEpochEventInstance, ctx: AptosContext) => void, fetchConfig?: AptosFetchConfig): reconfiguration;
|
|
1670
|
+
loadTypesInternal(registry: MoveCoder): void;
|
|
1671
|
+
}
|
|
1672
|
+
export declare namespace reconfiguration {
|
|
1673
|
+
class Configuration {
|
|
1674
|
+
static TYPE_QNAME: string;
|
|
1675
|
+
epoch: bigint;
|
|
1676
|
+
last_reconfiguration_time: bigint;
|
|
1677
|
+
events: event.EventHandle<reconfiguration.NewEpochEvent>;
|
|
1678
|
+
}
|
|
1679
|
+
class DisableReconfiguration {
|
|
1680
|
+
static TYPE_QNAME: string;
|
|
1681
|
+
dummy_field: Boolean;
|
|
1682
|
+
}
|
|
1683
|
+
class NewEpochEvent {
|
|
1684
|
+
static TYPE_QNAME: string;
|
|
1685
|
+
epoch: bigint;
|
|
1686
|
+
}
|
|
1687
|
+
interface NewEpochEventInstance extends TypedEventInstance<NewEpochEvent> {
|
|
1688
|
+
/** @deprecated use {@link data_decoded} instead */
|
|
1689
|
+
data_typed: NewEpochEvent;
|
|
1690
|
+
data_decoded: NewEpochEvent;
|
|
1691
|
+
type_arguments: [];
|
|
1692
|
+
}
|
|
1693
|
+
function loadTypes(_r: MoveCoder): void;
|
|
1694
|
+
const ABI: MoveModule;
|
|
1695
|
+
}
|
|
1696
|
+
export declare namespace transaction_fee {
|
|
1697
|
+
class AptosCoinCapabilities {
|
|
1698
|
+
static TYPE_QNAME: string;
|
|
1699
|
+
burn_cap: coin.BurnCapability<aptos_coin.AptosCoin>;
|
|
1700
|
+
}
|
|
1701
|
+
function loadTypes(_r: MoveCoder): void;
|
|
1702
|
+
const ABI: MoveModule;
|
|
1703
|
+
}
|
|
1704
|
+
export declare class aptos_governance extends AptosBaseProcessor {
|
|
1705
|
+
constructor(options: AptosBindOptions);
|
|
1706
|
+
static DEFAULT_OPTIONS: AptosBindOptions;
|
|
1707
|
+
static bind(options?: Partial<AptosBindOptions>): aptos_governance;
|
|
1708
|
+
onEntryAddApprovedScriptHashScript(func: (call: aptos_governance.AddApprovedScriptHashScriptPayload, ctx: AptosContext) => void, filter?: CallFilter, fetchConfig?: AptosFetchConfig): aptos_governance;
|
|
1709
|
+
onEntryCreateProposal(func: (call: aptos_governance.CreateProposalPayload, ctx: AptosContext) => void, filter?: CallFilter, fetchConfig?: AptosFetchConfig): aptos_governance;
|
|
1710
|
+
onEntryVote(func: (call: aptos_governance.VotePayload, ctx: AptosContext) => void, filter?: CallFilter, fetchConfig?: AptosFetchConfig): aptos_governance;
|
|
1711
|
+
onEventCreateProposalEvent(func: (event: aptos_governance.CreateProposalEventInstance, ctx: AptosContext) => void, fetchConfig?: AptosFetchConfig): aptos_governance;
|
|
1712
|
+
onEventUpdateConfigEvent(func: (event: aptos_governance.UpdateConfigEventInstance, ctx: AptosContext) => void, fetchConfig?: AptosFetchConfig): aptos_governance;
|
|
1713
|
+
onEventVoteEvent(func: (event: aptos_governance.VoteEventInstance, ctx: AptosContext) => void, fetchConfig?: AptosFetchConfig): aptos_governance;
|
|
1714
|
+
loadTypesInternal(registry: MoveCoder): void;
|
|
1715
|
+
}
|
|
1716
|
+
export declare namespace aptos_governance {
|
|
1717
|
+
class ApprovedExecutionHashes {
|
|
1718
|
+
static TYPE_QNAME: string;
|
|
1719
|
+
hashes: simple_map.SimpleMap<bigint, string>;
|
|
1720
|
+
}
|
|
1721
|
+
class CreateProposalEvent {
|
|
1722
|
+
static TYPE_QNAME: string;
|
|
1723
|
+
proposer: Address;
|
|
1724
|
+
stake_pool: Address;
|
|
1725
|
+
proposal_id: bigint;
|
|
1726
|
+
execution_hash: string;
|
|
1727
|
+
proposal_metadata: simple_map.SimpleMap<string, string>;
|
|
1728
|
+
}
|
|
1729
|
+
interface CreateProposalEventInstance extends TypedEventInstance<CreateProposalEvent> {
|
|
1730
|
+
/** @deprecated use {@link data_decoded} instead */
|
|
1731
|
+
data_typed: CreateProposalEvent;
|
|
1732
|
+
data_decoded: CreateProposalEvent;
|
|
1733
|
+
type_arguments: [];
|
|
1734
|
+
}
|
|
1735
|
+
class GovernanceConfig {
|
|
1736
|
+
static TYPE_QNAME: string;
|
|
1737
|
+
min_voting_threshold: bigint;
|
|
1738
|
+
required_proposer_stake: bigint;
|
|
1739
|
+
voting_duration_secs: bigint;
|
|
1740
|
+
}
|
|
1741
|
+
class GovernanceEvents {
|
|
1742
|
+
static TYPE_QNAME: string;
|
|
1743
|
+
create_proposal_events: event.EventHandle<aptos_governance.CreateProposalEvent>;
|
|
1744
|
+
update_config_events: event.EventHandle<aptos_governance.UpdateConfigEvent>;
|
|
1745
|
+
vote_events: event.EventHandle<aptos_governance.VoteEvent>;
|
|
1746
|
+
}
|
|
1747
|
+
class GovernanceResponsbility {
|
|
1748
|
+
static TYPE_QNAME: string;
|
|
1749
|
+
signer_caps: simple_map.SimpleMap<Address, account.SignerCapability>;
|
|
1750
|
+
}
|
|
1751
|
+
class RecordKey {
|
|
1752
|
+
static TYPE_QNAME: string;
|
|
1753
|
+
stake_pool: Address;
|
|
1754
|
+
proposal_id: bigint;
|
|
1755
|
+
}
|
|
1756
|
+
class UpdateConfigEvent {
|
|
1757
|
+
static TYPE_QNAME: string;
|
|
1758
|
+
min_voting_threshold: bigint;
|
|
1759
|
+
required_proposer_stake: bigint;
|
|
1760
|
+
voting_duration_secs: bigint;
|
|
1761
|
+
}
|
|
1762
|
+
interface UpdateConfigEventInstance extends TypedEventInstance<UpdateConfigEvent> {
|
|
1763
|
+
/** @deprecated use {@link data_decoded} instead */
|
|
1764
|
+
data_typed: UpdateConfigEvent;
|
|
1765
|
+
data_decoded: UpdateConfigEvent;
|
|
1766
|
+
type_arguments: [];
|
|
1767
|
+
}
|
|
1768
|
+
class VoteEvent {
|
|
1769
|
+
static TYPE_QNAME: string;
|
|
1770
|
+
proposal_id: bigint;
|
|
1771
|
+
voter: Address;
|
|
1772
|
+
stake_pool: Address;
|
|
1773
|
+
num_votes: bigint;
|
|
1774
|
+
should_pass: Boolean;
|
|
1775
|
+
}
|
|
1776
|
+
interface VoteEventInstance extends TypedEventInstance<VoteEvent> {
|
|
1777
|
+
/** @deprecated use {@link data_decoded} instead */
|
|
1778
|
+
data_typed: VoteEvent;
|
|
1779
|
+
data_decoded: VoteEvent;
|
|
1780
|
+
type_arguments: [];
|
|
1781
|
+
}
|
|
1782
|
+
class VotingRecords {
|
|
1783
|
+
static TYPE_QNAME: string;
|
|
1784
|
+
votes: table.Table<aptos_governance.RecordKey, Boolean>;
|
|
1785
|
+
}
|
|
1786
|
+
interface AddApprovedScriptHashScriptPayload extends TypedEntryFunctionPayload<[bigint]> {
|
|
1787
|
+
/** @deprecated use {@link arguments_decoded} instead */
|
|
1788
|
+
arguments_typed: [bigint];
|
|
1789
|
+
arguments_decoded: [bigint];
|
|
1790
|
+
type_arguments: [];
|
|
1791
|
+
}
|
|
1792
|
+
interface CreateProposalPayload extends TypedEntryFunctionPayload<[Address, string, string, string]> {
|
|
1793
|
+
/** @deprecated use {@link arguments_decoded} instead */
|
|
1794
|
+
arguments_typed: [Address, string, string, string];
|
|
1795
|
+
arguments_decoded: [Address, string, string, string];
|
|
1796
|
+
type_arguments: [];
|
|
1797
|
+
}
|
|
1798
|
+
interface VotePayload extends TypedEntryFunctionPayload<[Address, bigint, Boolean]> {
|
|
1799
|
+
/** @deprecated use {@link arguments_decoded} instead */
|
|
1800
|
+
arguments_typed: [Address, bigint, Boolean];
|
|
1801
|
+
arguments_decoded: [Address, bigint, Boolean];
|
|
1802
|
+
type_arguments: [];
|
|
1803
|
+
}
|
|
1804
|
+
function loadTypes(_r: MoveCoder): void;
|
|
1805
|
+
const ABI: MoveModule;
|
|
1806
|
+
}
|
|
1807
|
+
export declare namespace consensus_config {
|
|
1808
|
+
class ConsensusConfig {
|
|
1809
|
+
static TYPE_QNAME: string;
|
|
1810
|
+
config: string;
|
|
1811
|
+
}
|
|
1812
|
+
function loadTypes(_r: MoveCoder): void;
|
|
1813
|
+
const ABI: MoveModule;
|
|
1814
|
+
}
|
|
1815
|
+
export declare class resource_account extends AptosBaseProcessor {
|
|
1816
|
+
constructor(options: AptosBindOptions);
|
|
1817
|
+
static DEFAULT_OPTIONS: AptosBindOptions;
|
|
1818
|
+
static bind(options?: Partial<AptosBindOptions>): resource_account;
|
|
1819
|
+
onEntryCreateResourceAccount(func: (call: resource_account.CreateResourceAccountPayload, ctx: AptosContext) => void, filter?: CallFilter, fetchConfig?: AptosFetchConfig): resource_account;
|
|
1820
|
+
onEntryCreateResourceAccountAndFund(func: (call: resource_account.CreateResourceAccountAndFundPayload, ctx: AptosContext) => void, filter?: CallFilter, fetchConfig?: AptosFetchConfig): resource_account;
|
|
1821
|
+
onEntryCreateResourceAccountAndPublishPackage(func: (call: resource_account.CreateResourceAccountAndPublishPackagePayload, ctx: AptosContext) => void, filter?: CallFilter, fetchConfig?: AptosFetchConfig): resource_account;
|
|
1822
|
+
loadTypesInternal(registry: MoveCoder): void;
|
|
1823
|
+
}
|
|
1824
|
+
export declare namespace resource_account {
|
|
1825
|
+
class Container {
|
|
1826
|
+
static TYPE_QNAME: string;
|
|
1827
|
+
store: simple_map.SimpleMap<Address, account.SignerCapability>;
|
|
1828
|
+
}
|
|
1829
|
+
interface CreateResourceAccountPayload extends TypedEntryFunctionPayload<[string, string]> {
|
|
1830
|
+
/** @deprecated use {@link arguments_decoded} instead */
|
|
1831
|
+
arguments_typed: [string, string];
|
|
1832
|
+
arguments_decoded: [string, string];
|
|
1833
|
+
type_arguments: [];
|
|
1834
|
+
}
|
|
1835
|
+
interface CreateResourceAccountAndFundPayload extends TypedEntryFunctionPayload<[string, string, bigint]> {
|
|
1836
|
+
/** @deprecated use {@link arguments_decoded} instead */
|
|
1837
|
+
arguments_typed: [string, string, bigint];
|
|
1838
|
+
arguments_decoded: [string, string, bigint];
|
|
1839
|
+
type_arguments: [];
|
|
1840
|
+
}
|
|
1841
|
+
interface CreateResourceAccountAndPublishPackagePayload extends TypedEntryFunctionPayload<[string, string, string[]]> {
|
|
1842
|
+
/** @deprecated use {@link arguments_decoded} instead */
|
|
1843
|
+
arguments_typed: [string, string, string[]];
|
|
1844
|
+
arguments_decoded: [string, string, string[]];
|
|
1845
|
+
type_arguments: [];
|
|
1846
|
+
}
|
|
1847
|
+
function loadTypes(_r: MoveCoder): void;
|
|
1848
|
+
const ABI: MoveModule;
|
|
1849
|
+
}
|
|
1850
|
+
export declare class staking_contract extends AptosBaseProcessor {
|
|
1851
|
+
constructor(options: AptosBindOptions);
|
|
1852
|
+
static DEFAULT_OPTIONS: AptosBindOptions;
|
|
1853
|
+
static bind(options?: Partial<AptosBindOptions>): staking_contract;
|
|
1854
|
+
onEntryAddStake(func: (call: staking_contract.AddStakePayload, ctx: AptosContext) => void, filter?: CallFilter, fetchConfig?: AptosFetchConfig): staking_contract;
|
|
1855
|
+
onEntryCreateStakingContract(func: (call: staking_contract.CreateStakingContractPayload, ctx: AptosContext) => void, filter?: CallFilter, fetchConfig?: AptosFetchConfig): staking_contract;
|
|
1856
|
+
onEntryDistribute(func: (call: staking_contract.DistributePayload, ctx: AptosContext) => void, filter?: CallFilter, fetchConfig?: AptosFetchConfig): staking_contract;
|
|
1857
|
+
onEntryRequestCommission(func: (call: staking_contract.RequestCommissionPayload, ctx: AptosContext) => void, filter?: CallFilter, fetchConfig?: AptosFetchConfig): staking_contract;
|
|
1858
|
+
onEntryResetLockup(func: (call: staking_contract.ResetLockupPayload, ctx: AptosContext) => void, filter?: CallFilter, fetchConfig?: AptosFetchConfig): staking_contract;
|
|
1859
|
+
onEntrySwitchOperator(func: (call: staking_contract.SwitchOperatorPayload, ctx: AptosContext) => void, filter?: CallFilter, fetchConfig?: AptosFetchConfig): staking_contract;
|
|
1860
|
+
onEntrySwitchOperatorWithSameCommission(func: (call: staking_contract.SwitchOperatorWithSameCommissionPayload, ctx: AptosContext) => void, filter?: CallFilter, fetchConfig?: AptosFetchConfig): staking_contract;
|
|
1861
|
+
onEntryUnlockRewards(func: (call: staking_contract.UnlockRewardsPayload, ctx: AptosContext) => void, filter?: CallFilter, fetchConfig?: AptosFetchConfig): staking_contract;
|
|
1862
|
+
onEntryUnlockStake(func: (call: staking_contract.UnlockStakePayload, ctx: AptosContext) => void, filter?: CallFilter, fetchConfig?: AptosFetchConfig): staking_contract;
|
|
1863
|
+
onEntryUpdateVoter(func: (call: staking_contract.UpdateVoterPayload, ctx: AptosContext) => void, filter?: CallFilter, fetchConfig?: AptosFetchConfig): staking_contract;
|
|
1864
|
+
onEventCreateStakingContractEvent(func: (event: staking_contract.CreateStakingContractEventInstance, ctx: AptosContext) => void, fetchConfig?: AptosFetchConfig): staking_contract;
|
|
1865
|
+
onEventUpdateVoterEvent(func: (event: staking_contract.UpdateVoterEventInstance, ctx: AptosContext) => void, fetchConfig?: AptosFetchConfig): staking_contract;
|
|
1866
|
+
onEventResetLockupEvent(func: (event: staking_contract.ResetLockupEventInstance, ctx: AptosContext) => void, fetchConfig?: AptosFetchConfig): staking_contract;
|
|
1867
|
+
onEventAddStakeEvent(func: (event: staking_contract.AddStakeEventInstance, ctx: AptosContext) => void, fetchConfig?: AptosFetchConfig): staking_contract;
|
|
1868
|
+
onEventRequestCommissionEvent(func: (event: staking_contract.RequestCommissionEventInstance, ctx: AptosContext) => void, fetchConfig?: AptosFetchConfig): staking_contract;
|
|
1869
|
+
onEventUnlockStakeEvent(func: (event: staking_contract.UnlockStakeEventInstance, ctx: AptosContext) => void, fetchConfig?: AptosFetchConfig): staking_contract;
|
|
1870
|
+
onEventSwitchOperatorEvent(func: (event: staking_contract.SwitchOperatorEventInstance, ctx: AptosContext) => void, fetchConfig?: AptosFetchConfig): staking_contract;
|
|
1871
|
+
onEventAddDistributionEvent(func: (event: staking_contract.AddDistributionEventInstance, ctx: AptosContext) => void, fetchConfig?: AptosFetchConfig): staking_contract;
|
|
1872
|
+
onEventDistributeEvent(func: (event: staking_contract.DistributeEventInstance, ctx: AptosContext) => void, fetchConfig?: AptosFetchConfig): staking_contract;
|
|
1873
|
+
loadTypesInternal(registry: MoveCoder): void;
|
|
1874
|
+
}
|
|
1875
|
+
export declare namespace staking_contract {
|
|
1876
|
+
class AddDistributionEvent {
|
|
1877
|
+
static TYPE_QNAME: string;
|
|
1878
|
+
operator: Address;
|
|
1879
|
+
pool_address: Address;
|
|
1880
|
+
amount: bigint;
|
|
1881
|
+
}
|
|
1882
|
+
interface AddDistributionEventInstance extends TypedEventInstance<AddDistributionEvent> {
|
|
1883
|
+
/** @deprecated use {@link data_decoded} instead */
|
|
1884
|
+
data_typed: AddDistributionEvent;
|
|
1885
|
+
data_decoded: AddDistributionEvent;
|
|
1886
|
+
type_arguments: [];
|
|
1887
|
+
}
|
|
1888
|
+
class AddStakeEvent {
|
|
1889
|
+
static TYPE_QNAME: string;
|
|
1890
|
+
operator: Address;
|
|
1891
|
+
pool_address: Address;
|
|
1892
|
+
amount: bigint;
|
|
1893
|
+
}
|
|
1894
|
+
interface AddStakeEventInstance extends TypedEventInstance<AddStakeEvent> {
|
|
1895
|
+
/** @deprecated use {@link data_decoded} instead */
|
|
1896
|
+
data_typed: AddStakeEvent;
|
|
1897
|
+
data_decoded: AddStakeEvent;
|
|
1898
|
+
type_arguments: [];
|
|
1899
|
+
}
|
|
1900
|
+
class CreateStakingContractEvent {
|
|
1901
|
+
static TYPE_QNAME: string;
|
|
1902
|
+
operator: Address;
|
|
1903
|
+
voter: Address;
|
|
1904
|
+
pool_address: Address;
|
|
1905
|
+
principal: bigint;
|
|
1906
|
+
commission_percentage: bigint;
|
|
1907
|
+
}
|
|
1908
|
+
interface CreateStakingContractEventInstance extends TypedEventInstance<CreateStakingContractEvent> {
|
|
1909
|
+
/** @deprecated use {@link data_decoded} instead */
|
|
1910
|
+
data_typed: CreateStakingContractEvent;
|
|
1911
|
+
data_decoded: CreateStakingContractEvent;
|
|
1912
|
+
type_arguments: [];
|
|
1913
|
+
}
|
|
1914
|
+
class DistributeEvent {
|
|
1915
|
+
static TYPE_QNAME: string;
|
|
1916
|
+
operator: Address;
|
|
1917
|
+
pool_address: Address;
|
|
1918
|
+
recipient: Address;
|
|
1919
|
+
amount: bigint;
|
|
1920
|
+
}
|
|
1921
|
+
interface DistributeEventInstance extends TypedEventInstance<DistributeEvent> {
|
|
1922
|
+
/** @deprecated use {@link data_decoded} instead */
|
|
1923
|
+
data_typed: DistributeEvent;
|
|
1924
|
+
data_decoded: DistributeEvent;
|
|
1925
|
+
type_arguments: [];
|
|
1926
|
+
}
|
|
1927
|
+
class RequestCommissionEvent {
|
|
1928
|
+
static TYPE_QNAME: string;
|
|
1929
|
+
operator: Address;
|
|
1930
|
+
pool_address: Address;
|
|
1931
|
+
accumulated_rewards: bigint;
|
|
1932
|
+
commission_amount: bigint;
|
|
1933
|
+
}
|
|
1934
|
+
interface RequestCommissionEventInstance extends TypedEventInstance<RequestCommissionEvent> {
|
|
1935
|
+
/** @deprecated use {@link data_decoded} instead */
|
|
1936
|
+
data_typed: RequestCommissionEvent;
|
|
1937
|
+
data_decoded: RequestCommissionEvent;
|
|
1938
|
+
type_arguments: [];
|
|
1939
|
+
}
|
|
1940
|
+
class ResetLockupEvent {
|
|
1941
|
+
static TYPE_QNAME: string;
|
|
1942
|
+
operator: Address;
|
|
1943
|
+
pool_address: Address;
|
|
1944
|
+
}
|
|
1945
|
+
interface ResetLockupEventInstance extends TypedEventInstance<ResetLockupEvent> {
|
|
1946
|
+
/** @deprecated use {@link data_decoded} instead */
|
|
1947
|
+
data_typed: ResetLockupEvent;
|
|
1948
|
+
data_decoded: ResetLockupEvent;
|
|
1949
|
+
type_arguments: [];
|
|
1950
|
+
}
|
|
1951
|
+
class StakingContract {
|
|
1952
|
+
static TYPE_QNAME: string;
|
|
1953
|
+
principal: bigint;
|
|
1954
|
+
pool_address: Address;
|
|
1955
|
+
owner_cap: stake.OwnerCapability;
|
|
1956
|
+
commission_percentage: bigint;
|
|
1957
|
+
distribution_pool: pool_u64.Pool;
|
|
1958
|
+
signer_cap: account.SignerCapability;
|
|
1959
|
+
}
|
|
1960
|
+
class Store {
|
|
1961
|
+
static TYPE_QNAME: string;
|
|
1962
|
+
staking_contracts: simple_map.SimpleMap<Address, staking_contract.StakingContract>;
|
|
1963
|
+
create_staking_contract_events: event.EventHandle<staking_contract.CreateStakingContractEvent>;
|
|
1964
|
+
update_voter_events: event.EventHandle<staking_contract.UpdateVoterEvent>;
|
|
1965
|
+
reset_lockup_events: event.EventHandle<staking_contract.ResetLockupEvent>;
|
|
1966
|
+
add_stake_events: event.EventHandle<staking_contract.AddStakeEvent>;
|
|
1967
|
+
request_commission_events: event.EventHandle<staking_contract.RequestCommissionEvent>;
|
|
1968
|
+
unlock_stake_events: event.EventHandle<staking_contract.UnlockStakeEvent>;
|
|
1969
|
+
switch_operator_events: event.EventHandle<staking_contract.SwitchOperatorEvent>;
|
|
1970
|
+
add_distribution_events: event.EventHandle<staking_contract.AddDistributionEvent>;
|
|
1971
|
+
distribute_events: event.EventHandle<staking_contract.DistributeEvent>;
|
|
1972
|
+
}
|
|
1973
|
+
class SwitchOperatorEvent {
|
|
1974
|
+
static TYPE_QNAME: string;
|
|
1975
|
+
old_operator: Address;
|
|
1976
|
+
new_operator: Address;
|
|
1977
|
+
pool_address: Address;
|
|
1978
|
+
}
|
|
1979
|
+
interface SwitchOperatorEventInstance extends TypedEventInstance<SwitchOperatorEvent> {
|
|
1980
|
+
/** @deprecated use {@link data_decoded} instead */
|
|
1981
|
+
data_typed: SwitchOperatorEvent;
|
|
1982
|
+
data_decoded: SwitchOperatorEvent;
|
|
1983
|
+
type_arguments: [];
|
|
1984
|
+
}
|
|
1985
|
+
class UnlockStakeEvent {
|
|
1986
|
+
static TYPE_QNAME: string;
|
|
1987
|
+
operator: Address;
|
|
1988
|
+
pool_address: Address;
|
|
1989
|
+
amount: bigint;
|
|
1990
|
+
commission_paid: bigint;
|
|
1991
|
+
}
|
|
1992
|
+
interface UnlockStakeEventInstance extends TypedEventInstance<UnlockStakeEvent> {
|
|
1993
|
+
/** @deprecated use {@link data_decoded} instead */
|
|
1994
|
+
data_typed: UnlockStakeEvent;
|
|
1995
|
+
data_decoded: UnlockStakeEvent;
|
|
1996
|
+
type_arguments: [];
|
|
1997
|
+
}
|
|
1998
|
+
class UpdateVoterEvent {
|
|
1999
|
+
static TYPE_QNAME: string;
|
|
2000
|
+
operator: Address;
|
|
2001
|
+
pool_address: Address;
|
|
2002
|
+
old_voter: Address;
|
|
2003
|
+
new_voter: Address;
|
|
2004
|
+
}
|
|
2005
|
+
interface UpdateVoterEventInstance extends TypedEventInstance<UpdateVoterEvent> {
|
|
2006
|
+
/** @deprecated use {@link data_decoded} instead */
|
|
2007
|
+
data_typed: UpdateVoterEvent;
|
|
2008
|
+
data_decoded: UpdateVoterEvent;
|
|
2009
|
+
type_arguments: [];
|
|
2010
|
+
}
|
|
2011
|
+
interface AddStakePayload extends TypedEntryFunctionPayload<[Address, bigint]> {
|
|
2012
|
+
/** @deprecated use {@link arguments_decoded} instead */
|
|
2013
|
+
arguments_typed: [Address, bigint];
|
|
2014
|
+
arguments_decoded: [Address, bigint];
|
|
2015
|
+
type_arguments: [];
|
|
2016
|
+
}
|
|
2017
|
+
interface CreateStakingContractPayload extends TypedEntryFunctionPayload<[
|
|
2018
|
+
Address,
|
|
2019
|
+
Address,
|
|
2020
|
+
bigint,
|
|
2021
|
+
bigint,
|
|
2022
|
+
string
|
|
2023
|
+
]> {
|
|
2024
|
+
/** @deprecated use {@link arguments_decoded} instead */
|
|
2025
|
+
arguments_typed: [Address, Address, bigint, bigint, string];
|
|
2026
|
+
arguments_decoded: [Address, Address, bigint, bigint, string];
|
|
2027
|
+
type_arguments: [];
|
|
2028
|
+
}
|
|
2029
|
+
interface DistributePayload extends TypedEntryFunctionPayload<[Address, Address]> {
|
|
2030
|
+
/** @deprecated use {@link arguments_decoded} instead */
|
|
2031
|
+
arguments_typed: [Address, Address];
|
|
2032
|
+
arguments_decoded: [Address, Address];
|
|
2033
|
+
type_arguments: [];
|
|
2034
|
+
}
|
|
2035
|
+
interface RequestCommissionPayload extends TypedEntryFunctionPayload<[Address, Address]> {
|
|
2036
|
+
/** @deprecated use {@link arguments_decoded} instead */
|
|
2037
|
+
arguments_typed: [Address, Address];
|
|
2038
|
+
arguments_decoded: [Address, Address];
|
|
2039
|
+
type_arguments: [];
|
|
2040
|
+
}
|
|
2041
|
+
interface ResetLockupPayload extends TypedEntryFunctionPayload<[Address]> {
|
|
2042
|
+
/** @deprecated use {@link arguments_decoded} instead */
|
|
2043
|
+
arguments_typed: [Address];
|
|
2044
|
+
arguments_decoded: [Address];
|
|
2045
|
+
type_arguments: [];
|
|
2046
|
+
}
|
|
2047
|
+
interface SwitchOperatorPayload extends TypedEntryFunctionPayload<[Address, Address, bigint]> {
|
|
2048
|
+
/** @deprecated use {@link arguments_decoded} instead */
|
|
2049
|
+
arguments_typed: [Address, Address, bigint];
|
|
2050
|
+
arguments_decoded: [Address, Address, bigint];
|
|
2051
|
+
type_arguments: [];
|
|
2052
|
+
}
|
|
2053
|
+
interface SwitchOperatorWithSameCommissionPayload extends TypedEntryFunctionPayload<[Address, Address]> {
|
|
2054
|
+
/** @deprecated use {@link arguments_decoded} instead */
|
|
2055
|
+
arguments_typed: [Address, Address];
|
|
2056
|
+
arguments_decoded: [Address, Address];
|
|
2057
|
+
type_arguments: [];
|
|
2058
|
+
}
|
|
2059
|
+
interface UnlockRewardsPayload extends TypedEntryFunctionPayload<[Address]> {
|
|
2060
|
+
/** @deprecated use {@link arguments_decoded} instead */
|
|
2061
|
+
arguments_typed: [Address];
|
|
2062
|
+
arguments_decoded: [Address];
|
|
2063
|
+
type_arguments: [];
|
|
2064
|
+
}
|
|
2065
|
+
interface UnlockStakePayload extends TypedEntryFunctionPayload<[Address, bigint]> {
|
|
2066
|
+
/** @deprecated use {@link arguments_decoded} instead */
|
|
2067
|
+
arguments_typed: [Address, bigint];
|
|
2068
|
+
arguments_decoded: [Address, bigint];
|
|
2069
|
+
type_arguments: [];
|
|
2070
|
+
}
|
|
2071
|
+
interface UpdateVoterPayload extends TypedEntryFunctionPayload<[Address, Address]> {
|
|
2072
|
+
/** @deprecated use {@link arguments_decoded} instead */
|
|
2073
|
+
arguments_typed: [Address, Address];
|
|
2074
|
+
arguments_decoded: [Address, Address];
|
|
2075
|
+
type_arguments: [];
|
|
2076
|
+
}
|
|
2077
|
+
function loadTypes(_r: MoveCoder): void;
|
|
2078
|
+
const ABI: MoveModule;
|
|
2079
|
+
}
|
|
2080
|
+
export declare namespace system_addresses {
|
|
2081
|
+
function loadTypes(_r: MoveCoder): void;
|
|
2082
|
+
const ABI: MoveModule;
|
|
2083
|
+
}
|
|
2084
|
+
export declare namespace table_with_length {
|
|
2085
|
+
class TableWithLength<T0, T1> {
|
|
2086
|
+
static TYPE_QNAME: string;
|
|
2087
|
+
inner: table.Table<T0, T1>;
|
|
2088
|
+
length: bigint;
|
|
2089
|
+
}
|
|
2090
|
+
function loadTypes(_r: MoveCoder): void;
|
|
2091
|
+
const ABI: MoveModule;
|
|
2092
|
+
}
|
|
2093
|
+
export declare namespace aggregator_factory {
|
|
2094
|
+
class AggregatorFactory {
|
|
2095
|
+
static TYPE_QNAME: string;
|
|
2096
|
+
phantom_table: table.Table<Address, bigint>;
|
|
2097
|
+
}
|
|
2098
|
+
function loadTypes(_r: MoveCoder): void;
|
|
2099
|
+
const ABI: MoveModule;
|
|
2100
|
+
}
|
|
2101
|
+
export declare namespace governance_proposal {
|
|
2102
|
+
class GovernanceProposal {
|
|
2103
|
+
static TYPE_QNAME: string;
|
|
2104
|
+
dummy_field: Boolean;
|
|
2105
|
+
}
|
|
2106
|
+
function loadTypes(_r: MoveCoder): void;
|
|
2107
|
+
const ABI: MoveModule;
|
|
2108
|
+
}
|
|
2109
|
+
export declare namespace optional_aggregator {
|
|
2110
|
+
class Integer {
|
|
2111
|
+
static TYPE_QNAME: string;
|
|
2112
|
+
value: bigint;
|
|
2113
|
+
limit: bigint;
|
|
2114
|
+
}
|
|
2115
|
+
class OptionalAggregator {
|
|
2116
|
+
static TYPE_QNAME: string;
|
|
2117
|
+
aggregator: option.Option<aggregator.Aggregator>;
|
|
2118
|
+
integer: option.Option<optional_aggregator.Integer>;
|
|
2119
|
+
}
|
|
2120
|
+
function loadTypes(_r: MoveCoder): void;
|
|
2121
|
+
const ABI: MoveModule;
|
|
2122
|
+
}
|
|
2123
|
+
export declare namespace transaction_context {
|
|
2124
|
+
function loadTypes(_r: MoveCoder): void;
|
|
2125
|
+
const ABI: MoveModule;
|
|
2126
|
+
}
|
|
2127
|
+
export declare namespace transaction_validation {
|
|
2128
|
+
class TransactionValidation {
|
|
2129
|
+
static TYPE_QNAME: string;
|
|
2130
|
+
module_addr: Address;
|
|
2131
|
+
module_name: string;
|
|
2132
|
+
script_prologue_name: string;
|
|
2133
|
+
module_prologue_name: string;
|
|
2134
|
+
multi_agent_prologue_name: string;
|
|
2135
|
+
user_epilogue_name: string;
|
|
2136
|
+
}
|
|
2137
|
+
function loadTypes(_r: MoveCoder): void;
|
|
2138
|
+
const ABI: MoveModule;
|
|
2139
|
+
}
|
|
2140
|
+
export declare function loadAllTypes(_r: MoveCoder): void;
|