@sentio/sdk 2.13.0-rc.7 → 2.13.0-rc.8
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/lib/aptos/builtin/0x1.d.ts +1076 -431
- package/lib/aptos/builtin/0x1.js +1937 -1457
- package/lib/aptos/builtin/0x1.js.map +1 -1
- package/lib/aptos/builtin/0x3.d.ts +206 -83
- package/lib/aptos/builtin/0x3.js +371 -332
- package/lib/aptos/builtin/0x3.js.map +1 -1
- package/lib/aptos/codegen/codegen.d.ts +1 -1
- package/lib/aptos/codegen/codegen.js +2 -2
- package/lib/aptos/codegen/codegen.js.map +1 -1
- package/lib/aptos/codegen/run.js +1 -1
- package/lib/aptos/codegen/run.js.map +1 -1
- package/lib/aptos/index.d.ts +1 -0
- package/lib/aptos/index.js +1 -0
- package/lib/aptos/index.js.map +1 -1
- package/lib/aptos/models.d.ts +3 -11
- package/lib/aptos/models.js.map +1 -1
- package/lib/aptos/move-coder.d.ts +3 -2
- package/lib/aptos/move-coder.js +11 -4
- package/lib/aptos/move-coder.js.map +1 -1
- package/lib/move/abstract-codegen.d.ts +2 -2
- package/lib/move/abstract-codegen.js +36 -11
- package/lib/move/abstract-codegen.js.map +1 -1
- package/lib/move/abstract-move-coder.d.ts +3 -7
- package/lib/move/abstract-move-coder.js +3 -3
- package/lib/move/abstract-move-coder.js.map +1 -1
- package/lib/move/types.d.ts +22 -1
- package/lib/move/types.js +46 -17
- package/lib/move/types.js.map +1 -1
- package/lib/sui/builtin/0x1.d.ts +31 -12
- package/lib/sui/builtin/0x1.js +56 -31
- package/lib/sui/builtin/0x1.js.map +1 -1
- package/lib/sui/builtin/0x2.d.ts +256 -103
- package/lib/sui/builtin/0x2.js +461 -316
- package/lib/sui/builtin/0x2.js.map +1 -1
- package/lib/sui/builtin/0x3.d.ts +126 -51
- package/lib/sui/builtin/0x3.js +227 -271
- package/lib/sui/builtin/0x3.js.map +1 -1
- package/lib/sui/codegen/codegen.d.ts +1 -1
- package/lib/sui/codegen/codegen.js +3 -2
- package/lib/sui/codegen/codegen.js.map +1 -1
- package/lib/sui/codegen/run.js +1 -1
- package/lib/sui/codegen/run.js.map +1 -1
- package/lib/sui/index.d.ts +1 -0
- package/lib/sui/index.js +1 -0
- package/lib/sui/index.js.map +1 -1
- package/lib/sui/models.d.ts +3 -11
- package/lib/sui/models.js.map +1 -1
- package/lib/sui/move-coder.d.ts +5 -5
- package/lib/sui/move-coder.js +14 -7
- package/lib/sui/move-coder.js.map +1 -1
- package/package.json +4 -4
- package/src/aptos/builtin/0x1.ts +2688 -447
- package/src/aptos/builtin/0x3.ts +506 -84
- package/src/aptos/codegen/codegen.ts +7 -2
- package/src/aptos/codegen/run.ts +1 -1
- package/src/aptos/index.ts +2 -0
- package/src/aptos/models.ts +3 -13
- package/src/aptos/move-coder.ts +14 -4
- package/src/move/abstract-codegen.ts +39 -13
- package/src/move/abstract-move-coder.ts +11 -16
- package/src/move/types.ts +63 -18
- package/src/sui/builtin/0x1.ts +67 -13
- package/src/sui/builtin/0x2.ts +649 -103
- package/src/sui/builtin/0x3.ts +315 -51
- package/src/sui/codegen/codegen.ts +8 -2
- package/src/sui/codegen/run.ts +1 -1
- package/src/sui/index.ts +1 -0
- package/src/sui/models.ts +3 -13
- package/src/sui/move-coder.ts +22 -15
@@ -1,19 +1,25 @@
|
|
1
|
-
import { CallFilter } from "@sentio/sdk/move";
|
1
|
+
import { CallFilter, TypeDescriptor } from "@sentio/sdk/move";
|
2
2
|
import { MoveCoder, AptosBindOptions, AptosBaseProcessor, TypedEventInstance, TypedFunctionPayload, AptosContext } from "@sentio/sdk/aptos";
|
3
3
|
import { MoveFetchConfig } from "@sentio/protos";
|
4
4
|
import { Address } from "@sentio/sdk/aptos";
|
5
5
|
export declare namespace acl {
|
6
|
-
|
7
|
-
static TYPE_QNAME: string;
|
6
|
+
interface ACL {
|
8
7
|
list: Address[];
|
9
8
|
}
|
9
|
+
namespace ACL {
|
10
|
+
const TYPE_QNAME = "0x1::acl::ACL";
|
11
|
+
function type(): TypeDescriptor<ACL>;
|
12
|
+
}
|
10
13
|
}
|
11
14
|
export declare namespace any_ {
|
12
|
-
|
13
|
-
static TYPE_QNAME: string;
|
15
|
+
interface Any {
|
14
16
|
type_name: string;
|
15
17
|
data: string;
|
16
18
|
}
|
19
|
+
namespace Any {
|
20
|
+
const TYPE_QNAME = "0x1::any::Any";
|
21
|
+
function type(): TypeDescriptor<Any>;
|
22
|
+
}
|
17
23
|
}
|
18
24
|
export declare namespace bcs { }
|
19
25
|
export declare class code extends AptosBaseProcessor {
|
@@ -23,25 +29,33 @@ export declare class code extends AptosBaseProcessor {
|
|
23
29
|
onEntryPublishPackageTxn(func: (call: code.PublishPackageTxnPayload, ctx: AptosContext) => void, filter?: CallFilter, fetchConfig?: Partial<MoveFetchConfig>): code;
|
24
30
|
}
|
25
31
|
export declare namespace code {
|
26
|
-
|
27
|
-
static TYPE_QNAME: string;
|
32
|
+
interface AllowedDep {
|
28
33
|
account: Address;
|
29
34
|
module_name: string;
|
30
35
|
}
|
31
|
-
|
32
|
-
|
36
|
+
namespace AllowedDep {
|
37
|
+
const TYPE_QNAME = "0x1::code::AllowedDep";
|
38
|
+
function type(): TypeDescriptor<AllowedDep>;
|
39
|
+
}
|
40
|
+
interface ModuleMetadata {
|
33
41
|
name: string;
|
34
42
|
source: string;
|
35
43
|
source_map: string;
|
36
44
|
extension: option.Option<copyable_any.Any>;
|
37
45
|
}
|
38
|
-
|
39
|
-
|
46
|
+
namespace ModuleMetadata {
|
47
|
+
const TYPE_QNAME = "0x1::code::ModuleMetadata";
|
48
|
+
function type(): TypeDescriptor<ModuleMetadata>;
|
49
|
+
}
|
50
|
+
interface PackageDep {
|
40
51
|
account: Address;
|
41
52
|
package_name: string;
|
42
53
|
}
|
43
|
-
|
44
|
-
|
54
|
+
namespace PackageDep {
|
55
|
+
const TYPE_QNAME = "0x1::code::PackageDep";
|
56
|
+
function type(): TypeDescriptor<PackageDep>;
|
57
|
+
}
|
58
|
+
interface PackageMetadata {
|
45
59
|
name: string;
|
46
60
|
upgrade_policy: code.UpgradePolicy;
|
47
61
|
upgrade_number: bigint;
|
@@ -51,14 +65,24 @@ export declare namespace code {
|
|
51
65
|
deps: code.PackageDep[];
|
52
66
|
extension: option.Option<copyable_any.Any>;
|
53
67
|
}
|
54
|
-
|
55
|
-
|
68
|
+
namespace PackageMetadata {
|
69
|
+
const TYPE_QNAME = "0x1::code::PackageMetadata";
|
70
|
+
function type(): TypeDescriptor<PackageMetadata>;
|
71
|
+
}
|
72
|
+
interface PackageRegistry {
|
56
73
|
packages: code.PackageMetadata[];
|
57
74
|
}
|
58
|
-
|
59
|
-
|
75
|
+
namespace PackageRegistry {
|
76
|
+
const TYPE_QNAME = "0x1::code::PackageRegistry";
|
77
|
+
function type(): TypeDescriptor<PackageRegistry>;
|
78
|
+
}
|
79
|
+
interface UpgradePolicy {
|
60
80
|
policy: number;
|
61
81
|
}
|
82
|
+
namespace UpgradePolicy {
|
83
|
+
const TYPE_QNAME = "0x1::code::UpgradePolicy";
|
84
|
+
function type(): TypeDescriptor<UpgradePolicy>;
|
85
|
+
}
|
62
86
|
interface PublishPackageTxnPayload extends TypedFunctionPayload<[string, string[]]> {
|
63
87
|
arguments_decoded: [string, string[]];
|
64
88
|
type_arguments: [];
|
@@ -76,56 +100,86 @@ export declare class coin extends AptosBaseProcessor {
|
|
76
100
|
onEventWithdrawEvent(func: (event: coin.WithdrawEventInstance, ctx: AptosContext) => void, fetchConfig?: Partial<MoveFetchConfig>): coin;
|
77
101
|
}
|
78
102
|
export declare namespace coin {
|
79
|
-
|
80
|
-
static TYPE_QNAME: string;
|
103
|
+
interface AggregatableCoin<T0> {
|
81
104
|
value: aggregator.Aggregator;
|
82
105
|
}
|
83
|
-
|
84
|
-
|
106
|
+
namespace AggregatableCoin {
|
107
|
+
const TYPE_QNAME = "0x1::coin::AggregatableCoin";
|
108
|
+
function type<T0>(arg0?: TypeDescriptor<T0>): TypeDescriptor<AggregatableCoin<T0>>;
|
109
|
+
}
|
110
|
+
interface BurnCapability<T0> {
|
85
111
|
dummy_field: Boolean;
|
86
112
|
}
|
87
|
-
|
88
|
-
|
113
|
+
namespace BurnCapability {
|
114
|
+
const TYPE_QNAME = "0x1::coin::BurnCapability";
|
115
|
+
function type<T0>(arg0?: TypeDescriptor<T0>): TypeDescriptor<BurnCapability<T0>>;
|
116
|
+
}
|
117
|
+
interface Coin<T0> {
|
89
118
|
value: bigint;
|
90
119
|
}
|
91
|
-
|
92
|
-
|
120
|
+
namespace Coin {
|
121
|
+
const TYPE_QNAME = "0x1::coin::Coin";
|
122
|
+
function type<T0>(arg0?: TypeDescriptor<T0>): TypeDescriptor<Coin<T0>>;
|
123
|
+
}
|
124
|
+
interface CoinInfo<T0> {
|
93
125
|
name: string;
|
94
126
|
symbol: string;
|
95
127
|
decimals: number;
|
96
128
|
supply: option.Option<optional_aggregator.OptionalAggregator>;
|
97
129
|
}
|
98
|
-
|
99
|
-
|
130
|
+
namespace CoinInfo {
|
131
|
+
const TYPE_QNAME = "0x1::coin::CoinInfo";
|
132
|
+
function type<T0>(arg0?: TypeDescriptor<T0>): TypeDescriptor<CoinInfo<T0>>;
|
133
|
+
}
|
134
|
+
interface CoinStore<T0> {
|
100
135
|
coin: coin.Coin<T0>;
|
101
136
|
frozen: Boolean;
|
102
137
|
deposit_events: event.EventHandle<coin.DepositEvent>;
|
103
138
|
withdraw_events: event.EventHandle<coin.WithdrawEvent>;
|
104
139
|
}
|
105
|
-
|
106
|
-
|
140
|
+
namespace CoinStore {
|
141
|
+
const TYPE_QNAME = "0x1::coin::CoinStore";
|
142
|
+
function type<T0>(arg0?: TypeDescriptor<T0>): TypeDescriptor<CoinStore<T0>>;
|
143
|
+
}
|
144
|
+
interface DepositEvent {
|
107
145
|
amount: bigint;
|
108
146
|
}
|
147
|
+
namespace DepositEvent {
|
148
|
+
const TYPE_QNAME = "0x1::coin::DepositEvent";
|
149
|
+
function type(): TypeDescriptor<DepositEvent>;
|
150
|
+
}
|
109
151
|
interface DepositEventInstance extends TypedEventInstance<DepositEvent> {
|
110
152
|
data_decoded: DepositEvent;
|
111
153
|
type_arguments: [];
|
112
154
|
}
|
113
|
-
|
114
|
-
static TYPE_QNAME: string;
|
155
|
+
interface FreezeCapability<T0> {
|
115
156
|
dummy_field: Boolean;
|
116
157
|
}
|
117
|
-
|
118
|
-
|
158
|
+
namespace FreezeCapability {
|
159
|
+
const TYPE_QNAME = "0x1::coin::FreezeCapability";
|
160
|
+
function type<T0>(arg0?: TypeDescriptor<T0>): TypeDescriptor<FreezeCapability<T0>>;
|
161
|
+
}
|
162
|
+
interface MintCapability<T0> {
|
119
163
|
dummy_field: Boolean;
|
120
164
|
}
|
121
|
-
|
122
|
-
|
165
|
+
namespace MintCapability {
|
166
|
+
const TYPE_QNAME = "0x1::coin::MintCapability";
|
167
|
+
function type<T0>(arg0?: TypeDescriptor<T0>): TypeDescriptor<MintCapability<T0>>;
|
168
|
+
}
|
169
|
+
interface SupplyConfig {
|
123
170
|
allow_upgrades: Boolean;
|
124
171
|
}
|
125
|
-
|
126
|
-
|
172
|
+
namespace SupplyConfig {
|
173
|
+
const TYPE_QNAME = "0x1::coin::SupplyConfig";
|
174
|
+
function type(): TypeDescriptor<SupplyConfig>;
|
175
|
+
}
|
176
|
+
interface WithdrawEvent {
|
127
177
|
amount: bigint;
|
128
178
|
}
|
179
|
+
namespace WithdrawEvent {
|
180
|
+
const TYPE_QNAME = "0x1::coin::WithdrawEvent";
|
181
|
+
function type(): TypeDescriptor<WithdrawEvent>;
|
182
|
+
}
|
129
183
|
interface WithdrawEventInstance extends TypedEventInstance<WithdrawEvent> {
|
130
184
|
data_decoded: WithdrawEvent;
|
131
185
|
type_arguments: [];
|
@@ -148,15 +202,21 @@ export declare namespace coin {
|
|
148
202
|
}
|
149
203
|
}
|
150
204
|
export declare namespace guid {
|
151
|
-
|
152
|
-
static TYPE_QNAME: string;
|
205
|
+
interface GUID {
|
153
206
|
id: guid.ID;
|
154
207
|
}
|
155
|
-
|
156
|
-
|
208
|
+
namespace GUID {
|
209
|
+
const TYPE_QNAME = "0x1::guid::GUID";
|
210
|
+
function type(): TypeDescriptor<GUID>;
|
211
|
+
}
|
212
|
+
interface ID {
|
157
213
|
creation_num: bigint;
|
158
214
|
addr: Address;
|
159
215
|
}
|
216
|
+
namespace ID {
|
217
|
+
const TYPE_QNAME = "0x1::guid::ID";
|
218
|
+
function type(): TypeDescriptor<ID>;
|
219
|
+
}
|
160
220
|
}
|
161
221
|
export declare namespace hash { }
|
162
222
|
export declare namespace util { }
|
@@ -168,15 +228,17 @@ export declare class block extends AptosBaseProcessor {
|
|
168
228
|
onEventUpdateEpochIntervalEvent(func: (event: block.UpdateEpochIntervalEventInstance, ctx: AptosContext) => void, fetchConfig?: Partial<MoveFetchConfig>): block;
|
169
229
|
}
|
170
230
|
export declare namespace block {
|
171
|
-
|
172
|
-
static TYPE_QNAME: string;
|
231
|
+
interface BlockResource {
|
173
232
|
height: bigint;
|
174
233
|
epoch_interval: bigint;
|
175
234
|
new_block_events: event.EventHandle<block.NewBlockEvent>;
|
176
235
|
update_epoch_interval_events: event.EventHandle<block.UpdateEpochIntervalEvent>;
|
177
236
|
}
|
178
|
-
|
179
|
-
|
237
|
+
namespace BlockResource {
|
238
|
+
const TYPE_QNAME = "0x1::block::BlockResource";
|
239
|
+
function type(): TypeDescriptor<BlockResource>;
|
240
|
+
}
|
241
|
+
interface NewBlockEvent {
|
180
242
|
hash: Address;
|
181
243
|
epoch: bigint;
|
182
244
|
round: bigint;
|
@@ -186,15 +248,22 @@ export declare namespace block {
|
|
186
248
|
failed_proposer_indices: bigint[];
|
187
249
|
time_microseconds: bigint;
|
188
250
|
}
|
251
|
+
namespace NewBlockEvent {
|
252
|
+
const TYPE_QNAME = "0x1::block::NewBlockEvent";
|
253
|
+
function type(): TypeDescriptor<NewBlockEvent>;
|
254
|
+
}
|
189
255
|
interface NewBlockEventInstance extends TypedEventInstance<NewBlockEvent> {
|
190
256
|
data_decoded: NewBlockEvent;
|
191
257
|
type_arguments: [];
|
192
258
|
}
|
193
|
-
|
194
|
-
static TYPE_QNAME: string;
|
259
|
+
interface UpdateEpochIntervalEvent {
|
195
260
|
old_epoch_interval: bigint;
|
196
261
|
new_epoch_interval: bigint;
|
197
262
|
}
|
263
|
+
namespace UpdateEpochIntervalEvent {
|
264
|
+
const TYPE_QNAME = "0x1::block::UpdateEpochIntervalEvent";
|
265
|
+
function type(): TypeDescriptor<UpdateEpochIntervalEvent>;
|
266
|
+
}
|
198
267
|
interface UpdateEpochIntervalEventInstance extends TypedEventInstance<UpdateEpochIntervalEvent> {
|
199
268
|
data_decoded: UpdateEpochIntervalEvent;
|
200
269
|
type_arguments: [];
|
@@ -203,11 +272,14 @@ export declare namespace block {
|
|
203
272
|
export declare namespace debug { }
|
204
273
|
export declare namespace error { }
|
205
274
|
export declare namespace event {
|
206
|
-
|
207
|
-
static TYPE_QNAME: string;
|
275
|
+
interface EventHandle<T0> {
|
208
276
|
counter: bigint;
|
209
277
|
guid: guid.GUID;
|
210
278
|
}
|
279
|
+
namespace EventHandle {
|
280
|
+
const TYPE_QNAME = "0x1::event::EventHandle";
|
281
|
+
function type<T0>(arg0?: TypeDescriptor<T0>): TypeDescriptor<EventHandle<T0>>;
|
282
|
+
}
|
211
283
|
}
|
212
284
|
export declare class stake extends AptosBaseProcessor {
|
213
285
|
constructor(options: AptosBindOptions);
|
@@ -240,106 +312,144 @@ export declare class stake extends AptosBaseProcessor {
|
|
240
312
|
onEventLeaveValidatorSetEvent(func: (event: stake.LeaveValidatorSetEventInstance, ctx: AptosContext) => void, fetchConfig?: Partial<MoveFetchConfig>): stake;
|
241
313
|
}
|
242
314
|
export declare namespace stake {
|
243
|
-
|
244
|
-
static TYPE_QNAME: string;
|
315
|
+
interface AddStakeEvent {
|
245
316
|
pool_address: Address;
|
246
317
|
amount_added: bigint;
|
247
318
|
}
|
319
|
+
namespace AddStakeEvent {
|
320
|
+
const TYPE_QNAME = "0x1::stake::AddStakeEvent";
|
321
|
+
function type(): TypeDescriptor<AddStakeEvent>;
|
322
|
+
}
|
248
323
|
interface AddStakeEventInstance extends TypedEventInstance<AddStakeEvent> {
|
249
324
|
data_decoded: AddStakeEvent;
|
250
325
|
type_arguments: [];
|
251
326
|
}
|
252
|
-
|
253
|
-
static TYPE_QNAME: string;
|
327
|
+
interface AllowedValidators {
|
254
328
|
accounts: Address[];
|
255
329
|
}
|
256
|
-
|
257
|
-
|
330
|
+
namespace AllowedValidators {
|
331
|
+
const TYPE_QNAME = "0x1::stake::AllowedValidators";
|
332
|
+
function type(): TypeDescriptor<AllowedValidators>;
|
333
|
+
}
|
334
|
+
interface AptosCoinCapabilities {
|
258
335
|
mint_cap: coin.MintCapability<aptos_coin.AptosCoin>;
|
259
336
|
}
|
260
|
-
|
261
|
-
|
337
|
+
namespace AptosCoinCapabilities {
|
338
|
+
const TYPE_QNAME = "0x1::stake::AptosCoinCapabilities";
|
339
|
+
function type(): TypeDescriptor<AptosCoinCapabilities>;
|
340
|
+
}
|
341
|
+
interface DistributeRewardsEvent {
|
262
342
|
pool_address: Address;
|
263
343
|
rewards_amount: bigint;
|
264
344
|
}
|
345
|
+
namespace DistributeRewardsEvent {
|
346
|
+
const TYPE_QNAME = "0x1::stake::DistributeRewardsEvent";
|
347
|
+
function type(): TypeDescriptor<DistributeRewardsEvent>;
|
348
|
+
}
|
265
349
|
interface DistributeRewardsEventInstance extends TypedEventInstance<DistributeRewardsEvent> {
|
266
350
|
data_decoded: DistributeRewardsEvent;
|
267
351
|
type_arguments: [];
|
268
352
|
}
|
269
|
-
|
270
|
-
static TYPE_QNAME: string;
|
353
|
+
interface IncreaseLockupEvent {
|
271
354
|
pool_address: Address;
|
272
355
|
old_locked_until_secs: bigint;
|
273
356
|
new_locked_until_secs: bigint;
|
274
357
|
}
|
358
|
+
namespace IncreaseLockupEvent {
|
359
|
+
const TYPE_QNAME = "0x1::stake::IncreaseLockupEvent";
|
360
|
+
function type(): TypeDescriptor<IncreaseLockupEvent>;
|
361
|
+
}
|
275
362
|
interface IncreaseLockupEventInstance extends TypedEventInstance<IncreaseLockupEvent> {
|
276
363
|
data_decoded: IncreaseLockupEvent;
|
277
364
|
type_arguments: [];
|
278
365
|
}
|
279
|
-
|
280
|
-
static TYPE_QNAME: string;
|
366
|
+
interface IndividualValidatorPerformance {
|
281
367
|
successful_proposals: bigint;
|
282
368
|
failed_proposals: bigint;
|
283
369
|
}
|
284
|
-
|
285
|
-
|
370
|
+
namespace IndividualValidatorPerformance {
|
371
|
+
const TYPE_QNAME = "0x1::stake::IndividualValidatorPerformance";
|
372
|
+
function type(): TypeDescriptor<IndividualValidatorPerformance>;
|
373
|
+
}
|
374
|
+
interface JoinValidatorSetEvent {
|
286
375
|
pool_address: Address;
|
287
376
|
}
|
377
|
+
namespace JoinValidatorSetEvent {
|
378
|
+
const TYPE_QNAME = "0x1::stake::JoinValidatorSetEvent";
|
379
|
+
function type(): TypeDescriptor<JoinValidatorSetEvent>;
|
380
|
+
}
|
288
381
|
interface JoinValidatorSetEventInstance extends TypedEventInstance<JoinValidatorSetEvent> {
|
289
382
|
data_decoded: JoinValidatorSetEvent;
|
290
383
|
type_arguments: [];
|
291
384
|
}
|
292
|
-
|
293
|
-
static TYPE_QNAME: string;
|
385
|
+
interface LeaveValidatorSetEvent {
|
294
386
|
pool_address: Address;
|
295
387
|
}
|
388
|
+
namespace LeaveValidatorSetEvent {
|
389
|
+
const TYPE_QNAME = "0x1::stake::LeaveValidatorSetEvent";
|
390
|
+
function type(): TypeDescriptor<LeaveValidatorSetEvent>;
|
391
|
+
}
|
296
392
|
interface LeaveValidatorSetEventInstance extends TypedEventInstance<LeaveValidatorSetEvent> {
|
297
393
|
data_decoded: LeaveValidatorSetEvent;
|
298
394
|
type_arguments: [];
|
299
395
|
}
|
300
|
-
|
301
|
-
static TYPE_QNAME: string;
|
396
|
+
interface OwnerCapability {
|
302
397
|
pool_address: Address;
|
303
398
|
}
|
304
|
-
|
305
|
-
|
399
|
+
namespace OwnerCapability {
|
400
|
+
const TYPE_QNAME = "0x1::stake::OwnerCapability";
|
401
|
+
function type(): TypeDescriptor<OwnerCapability>;
|
402
|
+
}
|
403
|
+
interface ReactivateStakeEvent {
|
306
404
|
pool_address: Address;
|
307
405
|
amount: bigint;
|
308
406
|
}
|
407
|
+
namespace ReactivateStakeEvent {
|
408
|
+
const TYPE_QNAME = "0x1::stake::ReactivateStakeEvent";
|
409
|
+
function type(): TypeDescriptor<ReactivateStakeEvent>;
|
410
|
+
}
|
309
411
|
interface ReactivateStakeEventInstance extends TypedEventInstance<ReactivateStakeEvent> {
|
310
412
|
data_decoded: ReactivateStakeEvent;
|
311
413
|
type_arguments: [];
|
312
414
|
}
|
313
|
-
|
314
|
-
static TYPE_QNAME: string;
|
415
|
+
interface RegisterValidatorCandidateEvent {
|
315
416
|
pool_address: Address;
|
316
417
|
}
|
418
|
+
namespace RegisterValidatorCandidateEvent {
|
419
|
+
const TYPE_QNAME = "0x1::stake::RegisterValidatorCandidateEvent";
|
420
|
+
function type(): TypeDescriptor<RegisterValidatorCandidateEvent>;
|
421
|
+
}
|
317
422
|
interface RegisterValidatorCandidateEventInstance extends TypedEventInstance<RegisterValidatorCandidateEvent> {
|
318
423
|
data_decoded: RegisterValidatorCandidateEvent;
|
319
424
|
type_arguments: [];
|
320
425
|
}
|
321
|
-
|
322
|
-
static TYPE_QNAME: string;
|
426
|
+
interface RotateConsensusKeyEvent {
|
323
427
|
pool_address: Address;
|
324
428
|
old_consensus_pubkey: string;
|
325
429
|
new_consensus_pubkey: string;
|
326
430
|
}
|
431
|
+
namespace RotateConsensusKeyEvent {
|
432
|
+
const TYPE_QNAME = "0x1::stake::RotateConsensusKeyEvent";
|
433
|
+
function type(): TypeDescriptor<RotateConsensusKeyEvent>;
|
434
|
+
}
|
327
435
|
interface RotateConsensusKeyEventInstance extends TypedEventInstance<RotateConsensusKeyEvent> {
|
328
436
|
data_decoded: RotateConsensusKeyEvent;
|
329
437
|
type_arguments: [];
|
330
438
|
}
|
331
|
-
|
332
|
-
static TYPE_QNAME: string;
|
439
|
+
interface SetOperatorEvent {
|
333
440
|
pool_address: Address;
|
334
441
|
old_operator: Address;
|
335
442
|
new_operator: Address;
|
336
443
|
}
|
444
|
+
namespace SetOperatorEvent {
|
445
|
+
const TYPE_QNAME = "0x1::stake::SetOperatorEvent";
|
446
|
+
function type(): TypeDescriptor<SetOperatorEvent>;
|
447
|
+
}
|
337
448
|
interface SetOperatorEventInstance extends TypedEventInstance<SetOperatorEvent> {
|
338
449
|
data_decoded: SetOperatorEvent;
|
339
450
|
type_arguments: [];
|
340
451
|
}
|
341
|
-
|
342
|
-
static TYPE_QNAME: string;
|
452
|
+
interface StakePool {
|
343
453
|
active: coin.Coin<aptos_coin.AptosCoin>;
|
344
454
|
inactive: coin.Coin<aptos_coin.AptosCoin>;
|
345
455
|
pending_active: coin.Coin<aptos_coin.AptosCoin>;
|
@@ -360,50 +470,71 @@ export declare namespace stake {
|
|
360
470
|
withdraw_stake_events: event.EventHandle<stake.WithdrawStakeEvent>;
|
361
471
|
leave_validator_set_events: event.EventHandle<stake.LeaveValidatorSetEvent>;
|
362
472
|
}
|
363
|
-
|
364
|
-
|
473
|
+
namespace StakePool {
|
474
|
+
const TYPE_QNAME = "0x1::stake::StakePool";
|
475
|
+
function type(): TypeDescriptor<StakePool>;
|
476
|
+
}
|
477
|
+
interface UnlockStakeEvent {
|
365
478
|
pool_address: Address;
|
366
479
|
amount_unlocked: bigint;
|
367
480
|
}
|
481
|
+
namespace UnlockStakeEvent {
|
482
|
+
const TYPE_QNAME = "0x1::stake::UnlockStakeEvent";
|
483
|
+
function type(): TypeDescriptor<UnlockStakeEvent>;
|
484
|
+
}
|
368
485
|
interface UnlockStakeEventInstance extends TypedEventInstance<UnlockStakeEvent> {
|
369
486
|
data_decoded: UnlockStakeEvent;
|
370
487
|
type_arguments: [];
|
371
488
|
}
|
372
|
-
|
373
|
-
static TYPE_QNAME: string;
|
489
|
+
interface UpdateNetworkAndFullnodeAddressesEvent {
|
374
490
|
pool_address: Address;
|
375
491
|
old_network_addresses: string;
|
376
492
|
new_network_addresses: string;
|
377
493
|
old_fullnode_addresses: string;
|
378
494
|
new_fullnode_addresses: string;
|
379
495
|
}
|
496
|
+
namespace UpdateNetworkAndFullnodeAddressesEvent {
|
497
|
+
const TYPE_QNAME = "0x1::stake::UpdateNetworkAndFullnodeAddressesEvent";
|
498
|
+
function type(): TypeDescriptor<UpdateNetworkAndFullnodeAddressesEvent>;
|
499
|
+
}
|
380
500
|
interface UpdateNetworkAndFullnodeAddressesEventInstance extends TypedEventInstance<UpdateNetworkAndFullnodeAddressesEvent> {
|
381
501
|
data_decoded: UpdateNetworkAndFullnodeAddressesEvent;
|
382
502
|
type_arguments: [];
|
383
503
|
}
|
384
|
-
|
385
|
-
static TYPE_QNAME: string;
|
504
|
+
interface ValidatorConfig {
|
386
505
|
consensus_pubkey: string;
|
387
506
|
network_addresses: string;
|
388
507
|
fullnode_addresses: string;
|
389
508
|
validator_index: bigint;
|
390
509
|
}
|
391
|
-
|
392
|
-
|
510
|
+
namespace ValidatorConfig {
|
511
|
+
const TYPE_QNAME = "0x1::stake::ValidatorConfig";
|
512
|
+
function type(): TypeDescriptor<ValidatorConfig>;
|
513
|
+
}
|
514
|
+
interface ValidatorFees {
|
393
515
|
fees_table: table.Table<Address, coin.Coin<aptos_coin.AptosCoin>>;
|
394
516
|
}
|
395
|
-
|
396
|
-
|
517
|
+
namespace ValidatorFees {
|
518
|
+
const TYPE_QNAME = "0x1::stake::ValidatorFees";
|
519
|
+
function type(): TypeDescriptor<ValidatorFees>;
|
520
|
+
}
|
521
|
+
interface ValidatorInfo {
|
397
522
|
addr: Address;
|
398
523
|
voting_power: bigint;
|
399
524
|
config: stake.ValidatorConfig;
|
400
525
|
}
|
401
|
-
|
402
|
-
|
526
|
+
namespace ValidatorInfo {
|
527
|
+
const TYPE_QNAME = "0x1::stake::ValidatorInfo";
|
528
|
+
function type(): TypeDescriptor<ValidatorInfo>;
|
529
|
+
}
|
530
|
+
interface ValidatorPerformance {
|
403
531
|
validators: stake.IndividualValidatorPerformance[];
|
404
532
|
}
|
405
|
-
|
406
|
-
|
533
|
+
namespace ValidatorPerformance {
|
534
|
+
const TYPE_QNAME = "0x1::stake::ValidatorPerformance";
|
535
|
+
function type(): TypeDescriptor<ValidatorPerformance>;
|
536
|
+
}
|
537
|
+
interface ValidatorSet {
|
407
538
|
consensus_scheme: number;
|
408
539
|
active_validators: stake.ValidatorInfo[];
|
409
540
|
pending_inactive: stake.ValidatorInfo[];
|
@@ -411,11 +542,18 @@ export declare namespace stake {
|
|
411
542
|
total_voting_power: bigint;
|
412
543
|
total_joining_power: bigint;
|
413
544
|
}
|
414
|
-
|
415
|
-
|
545
|
+
namespace ValidatorSet {
|
546
|
+
const TYPE_QNAME = "0x1::stake::ValidatorSet";
|
547
|
+
function type(): TypeDescriptor<ValidatorSet>;
|
548
|
+
}
|
549
|
+
interface WithdrawStakeEvent {
|
416
550
|
pool_address: Address;
|
417
551
|
amount_withdrawn: bigint;
|
418
552
|
}
|
553
|
+
namespace WithdrawStakeEvent {
|
554
|
+
const TYPE_QNAME = "0x1::stake::WithdrawStakeEvent";
|
555
|
+
function type(): TypeDescriptor<WithdrawStakeEvent>;
|
556
|
+
}
|
419
557
|
interface WithdrawStakeEventInstance extends TypedEventInstance<WithdrawStakeEvent> {
|
420
558
|
data_decoded: WithdrawStakeEvent;
|
421
559
|
type_arguments: [];
|
@@ -474,14 +612,20 @@ export declare namespace stake {
|
|
474
612
|
}
|
475
613
|
}
|
476
614
|
export declare namespace table {
|
477
|
-
|
478
|
-
static TYPE_QNAME: string;
|
615
|
+
interface Box<T0> {
|
479
616
|
val: T0;
|
480
617
|
}
|
481
|
-
|
482
|
-
|
618
|
+
namespace Box {
|
619
|
+
const TYPE_QNAME = "0x1::table::Box";
|
620
|
+
function type<T0>(arg0?: TypeDescriptor<T0>): TypeDescriptor<Box<T0>>;
|
621
|
+
}
|
622
|
+
interface Table<T0, T1> {
|
483
623
|
handle: Address;
|
484
624
|
}
|
625
|
+
namespace Table {
|
626
|
+
const TYPE_QNAME = "0x1::table::Table";
|
627
|
+
function type<T0, T1>(arg0?: TypeDescriptor<T0>, arg1?: TypeDescriptor<T1>): TypeDescriptor<Table<T0, T1>>;
|
628
|
+
}
|
485
629
|
}
|
486
630
|
export declare namespace math64 { }
|
487
631
|
export declare class object_ extends AptosBaseProcessor {
|
@@ -492,70 +636,103 @@ export declare class object_ extends AptosBaseProcessor {
|
|
492
636
|
onEventTransferEvent(func: (event: object_.TransferEventInstance, ctx: AptosContext) => void, fetchConfig?: Partial<MoveFetchConfig>): object_;
|
493
637
|
}
|
494
638
|
export declare namespace object_ {
|
495
|
-
|
496
|
-
static TYPE_QNAME: string;
|
639
|
+
interface ConstructorRef {
|
497
640
|
self: Address;
|
498
641
|
can_delete: Boolean;
|
499
642
|
}
|
500
|
-
|
501
|
-
|
643
|
+
namespace ConstructorRef {
|
644
|
+
const TYPE_QNAME = "0x1::object::ConstructorRef";
|
645
|
+
function type(): TypeDescriptor<ConstructorRef>;
|
646
|
+
}
|
647
|
+
interface DeleteRef {
|
502
648
|
self: Address;
|
503
649
|
}
|
504
|
-
|
505
|
-
|
650
|
+
namespace DeleteRef {
|
651
|
+
const TYPE_QNAME = "0x1::object::DeleteRef";
|
652
|
+
function type(): TypeDescriptor<DeleteRef>;
|
653
|
+
}
|
654
|
+
interface ExtendRef {
|
506
655
|
self: Address;
|
507
656
|
}
|
508
|
-
|
509
|
-
|
657
|
+
namespace ExtendRef {
|
658
|
+
const TYPE_QNAME = "0x1::object::ExtendRef";
|
659
|
+
function type(): TypeDescriptor<ExtendRef>;
|
660
|
+
}
|
661
|
+
interface LinearTransferRef {
|
510
662
|
self: Address;
|
511
663
|
owner: Address;
|
512
664
|
}
|
513
|
-
|
514
|
-
|
665
|
+
namespace LinearTransferRef {
|
666
|
+
const TYPE_QNAME = "0x1::object::LinearTransferRef";
|
667
|
+
function type(): TypeDescriptor<LinearTransferRef>;
|
668
|
+
}
|
669
|
+
interface Object<T0> {
|
515
670
|
inner: Address;
|
516
671
|
}
|
517
|
-
|
518
|
-
|
672
|
+
namespace Object {
|
673
|
+
const TYPE_QNAME = "0x1::object::Object";
|
674
|
+
function type<T0>(arg0?: TypeDescriptor<T0>): TypeDescriptor<Object<T0>>;
|
675
|
+
}
|
676
|
+
interface ObjectCore {
|
519
677
|
guid_creation_num: bigint;
|
520
678
|
owner: Address;
|
521
679
|
allow_ungated_transfer: Boolean;
|
522
680
|
transfer_events: event.EventHandle<object_.TransferEvent>;
|
523
681
|
}
|
524
|
-
|
525
|
-
|
682
|
+
namespace ObjectCore {
|
683
|
+
const TYPE_QNAME = "0x1::object::ObjectCore";
|
684
|
+
function type(): TypeDescriptor<ObjectCore>;
|
685
|
+
}
|
686
|
+
interface ObjectGroup {
|
526
687
|
dummy_field: Boolean;
|
527
688
|
}
|
528
|
-
|
529
|
-
|
689
|
+
namespace ObjectGroup {
|
690
|
+
const TYPE_QNAME = "0x1::object::ObjectGroup";
|
691
|
+
function type(): TypeDescriptor<ObjectGroup>;
|
692
|
+
}
|
693
|
+
interface TransferEvent {
|
530
694
|
object: Address;
|
531
695
|
from: Address;
|
532
696
|
to: Address;
|
533
697
|
}
|
698
|
+
namespace TransferEvent {
|
699
|
+
const TYPE_QNAME = "0x1::object::TransferEvent";
|
700
|
+
function type(): TypeDescriptor<TransferEvent>;
|
701
|
+
}
|
534
702
|
interface TransferEventInstance extends TypedEventInstance<TransferEvent> {
|
535
703
|
data_decoded: TransferEvent;
|
536
704
|
type_arguments: [];
|
537
705
|
}
|
538
|
-
|
539
|
-
static TYPE_QNAME: string;
|
706
|
+
interface TransferRef {
|
540
707
|
self: Address;
|
541
708
|
}
|
709
|
+
namespace TransferRef {
|
710
|
+
const TYPE_QNAME = "0x1::object::TransferRef";
|
711
|
+
function type(): TypeDescriptor<TransferRef>;
|
712
|
+
}
|
542
713
|
interface TransferCallPayload extends TypedFunctionPayload<[Address, Address]> {
|
543
714
|
arguments_decoded: [Address, Address];
|
544
715
|
type_arguments: [];
|
545
716
|
}
|
546
717
|
}
|
547
718
|
export declare namespace option {
|
548
|
-
|
549
|
-
static TYPE_QNAME: string;
|
719
|
+
interface Option<T0> {
|
550
720
|
vec: T0[] | string;
|
551
721
|
}
|
722
|
+
namespace Option {
|
723
|
+
const TYPE_QNAME = "0x1::option::Option";
|
724
|
+
function type<T0>(arg0?: TypeDescriptor<T0>): TypeDescriptor<Option<T0>>;
|
725
|
+
}
|
552
726
|
}
|
553
727
|
export declare namespace signer { }
|
554
728
|
export declare namespace string_ {
|
555
|
-
|
556
|
-
static TYPE_QNAME: string;
|
729
|
+
interface String {
|
557
730
|
bytes: string;
|
558
731
|
}
|
732
|
+
namespace String {
|
733
|
+
const TYPE_QNAME = "0x1::string::String";
|
734
|
+
function type(): TypeDescriptor<String>;
|
735
|
+
}
|
559
736
|
}
|
560
737
|
export declare namespace vector { }
|
561
738
|
export declare class voting extends AptosBaseProcessor {
|
@@ -568,8 +745,7 @@ export declare class voting extends AptosBaseProcessor {
|
|
568
745
|
onEventVoteEvent(func: (event: voting.VoteEventInstance, ctx: AptosContext) => void, fetchConfig?: Partial<MoveFetchConfig>): voting;
|
569
746
|
}
|
570
747
|
export declare namespace voting {
|
571
|
-
|
572
|
-
static TYPE_QNAME: string;
|
748
|
+
interface CreateProposalEvent {
|
573
749
|
proposal_id: bigint;
|
574
750
|
early_resolution_vote_threshold: option.Option<bigint>;
|
575
751
|
execution_hash: string;
|
@@ -577,12 +753,15 @@ export declare namespace voting {
|
|
577
753
|
metadata: simple_map.SimpleMap<string, string>;
|
578
754
|
min_vote_threshold: bigint;
|
579
755
|
}
|
756
|
+
namespace CreateProposalEvent {
|
757
|
+
const TYPE_QNAME = "0x1::voting::CreateProposalEvent";
|
758
|
+
function type(): TypeDescriptor<CreateProposalEvent>;
|
759
|
+
}
|
580
760
|
interface CreateProposalEventInstance extends TypedEventInstance<CreateProposalEvent> {
|
581
761
|
data_decoded: CreateProposalEvent;
|
582
762
|
type_arguments: [];
|
583
763
|
}
|
584
|
-
|
585
|
-
static TYPE_QNAME: string;
|
764
|
+
interface Proposal<T0> {
|
586
765
|
proposer: Address;
|
587
766
|
execution_content: option.Option<T0>;
|
588
767
|
metadata: simple_map.SimpleMap<string, string>;
|
@@ -596,48 +775,67 @@ export declare namespace voting {
|
|
596
775
|
is_resolved: Boolean;
|
597
776
|
resolution_time_secs: bigint;
|
598
777
|
}
|
599
|
-
|
600
|
-
|
778
|
+
namespace Proposal {
|
779
|
+
const TYPE_QNAME = "0x1::voting::Proposal";
|
780
|
+
function type<T0>(arg0?: TypeDescriptor<T0>): TypeDescriptor<Proposal<T0>>;
|
781
|
+
}
|
782
|
+
interface RegisterForumEvent {
|
601
783
|
hosting_account: Address;
|
602
784
|
proposal_type_info: type_info.TypeInfo;
|
603
785
|
}
|
786
|
+
namespace RegisterForumEvent {
|
787
|
+
const TYPE_QNAME = "0x1::voting::RegisterForumEvent";
|
788
|
+
function type(): TypeDescriptor<RegisterForumEvent>;
|
789
|
+
}
|
604
790
|
interface RegisterForumEventInstance extends TypedEventInstance<RegisterForumEvent> {
|
605
791
|
data_decoded: RegisterForumEvent;
|
606
792
|
type_arguments: [];
|
607
793
|
}
|
608
|
-
|
609
|
-
static TYPE_QNAME: string;
|
794
|
+
interface ResolveProposal {
|
610
795
|
proposal_id: bigint;
|
611
796
|
yes_votes: bigint;
|
612
797
|
no_votes: bigint;
|
613
798
|
resolved_early: Boolean;
|
614
799
|
}
|
800
|
+
namespace ResolveProposal {
|
801
|
+
const TYPE_QNAME = "0x1::voting::ResolveProposal";
|
802
|
+
function type(): TypeDescriptor<ResolveProposal>;
|
803
|
+
}
|
615
804
|
interface ResolveProposalInstance extends TypedEventInstance<ResolveProposal> {
|
616
805
|
data_decoded: ResolveProposal;
|
617
806
|
type_arguments: [];
|
618
807
|
}
|
619
|
-
|
620
|
-
static TYPE_QNAME: string;
|
808
|
+
interface VoteEvent {
|
621
809
|
proposal_id: bigint;
|
622
810
|
num_votes: bigint;
|
623
811
|
}
|
812
|
+
namespace VoteEvent {
|
813
|
+
const TYPE_QNAME = "0x1::voting::VoteEvent";
|
814
|
+
function type(): TypeDescriptor<VoteEvent>;
|
815
|
+
}
|
624
816
|
interface VoteEventInstance extends TypedEventInstance<VoteEvent> {
|
625
817
|
data_decoded: VoteEvent;
|
626
818
|
type_arguments: [];
|
627
819
|
}
|
628
|
-
|
629
|
-
static TYPE_QNAME: string;
|
820
|
+
interface VotingEvents {
|
630
821
|
create_proposal_events: event.EventHandle<voting.CreateProposalEvent>;
|
631
822
|
register_forum_events: event.EventHandle<voting.RegisterForumEvent>;
|
632
823
|
resolve_proposal_events: event.EventHandle<voting.ResolveProposal>;
|
633
824
|
vote_events: event.EventHandle<voting.VoteEvent>;
|
634
825
|
}
|
635
|
-
|
636
|
-
|
826
|
+
namespace VotingEvents {
|
827
|
+
const TYPE_QNAME = "0x1::voting::VotingEvents";
|
828
|
+
function type(): TypeDescriptor<VotingEvents>;
|
829
|
+
}
|
830
|
+
interface VotingForum<T0> {
|
637
831
|
proposals: table.Table<bigint, voting.Proposal<T0>>;
|
638
832
|
events: voting.VotingEvents;
|
639
833
|
next_proposal_id: bigint;
|
640
834
|
}
|
835
|
+
namespace VotingForum {
|
836
|
+
const TYPE_QNAME = "0x1::voting::VotingForum";
|
837
|
+
function type<T0>(arg0?: TypeDescriptor<T0>): TypeDescriptor<VotingForum<T0>>;
|
838
|
+
}
|
641
839
|
}
|
642
840
|
export declare class account extends AptosBaseProcessor {
|
643
841
|
constructor(options: AptosBindOptions);
|
@@ -655,8 +853,7 @@ export declare class account extends AptosBaseProcessor {
|
|
655
853
|
onEventKeyRotationEvent(func: (event: account.KeyRotationEventInstance, ctx: AptosContext) => void, fetchConfig?: Partial<MoveFetchConfig>): account;
|
656
854
|
}
|
657
855
|
export declare namespace account {
|
658
|
-
|
659
|
-
static TYPE_QNAME: string;
|
856
|
+
interface Account {
|
660
857
|
authentication_key: string;
|
661
858
|
sequence_number: bigint;
|
662
859
|
guid_creation_num: bigint;
|
@@ -665,69 +862,106 @@ export declare namespace account {
|
|
665
862
|
rotation_capability_offer: account.CapabilityOffer<account.RotationCapability>;
|
666
863
|
signer_capability_offer: account.CapabilityOffer<account.SignerCapability>;
|
667
864
|
}
|
668
|
-
|
669
|
-
|
865
|
+
namespace Account {
|
866
|
+
const TYPE_QNAME = "0x1::account::Account";
|
867
|
+
function type(): TypeDescriptor<Account>;
|
868
|
+
}
|
869
|
+
interface CapabilityOffer<T0> {
|
670
870
|
for: option.Option<Address>;
|
671
871
|
}
|
672
|
-
|
673
|
-
|
872
|
+
namespace CapabilityOffer {
|
873
|
+
const TYPE_QNAME = "0x1::account::CapabilityOffer";
|
874
|
+
function type<T0>(arg0?: TypeDescriptor<T0>): TypeDescriptor<CapabilityOffer<T0>>;
|
875
|
+
}
|
876
|
+
interface CoinRegisterEvent {
|
674
877
|
type_info: type_info.TypeInfo;
|
675
878
|
}
|
879
|
+
namespace CoinRegisterEvent {
|
880
|
+
const TYPE_QNAME = "0x1::account::CoinRegisterEvent";
|
881
|
+
function type(): TypeDescriptor<CoinRegisterEvent>;
|
882
|
+
}
|
676
883
|
interface CoinRegisterEventInstance extends TypedEventInstance<CoinRegisterEvent> {
|
677
884
|
data_decoded: CoinRegisterEvent;
|
678
885
|
type_arguments: [];
|
679
886
|
}
|
680
|
-
|
681
|
-
static TYPE_QNAME: string;
|
887
|
+
interface KeyRotationEvent {
|
682
888
|
old_authentication_key: string;
|
683
889
|
new_authentication_key: string;
|
684
890
|
}
|
891
|
+
namespace KeyRotationEvent {
|
892
|
+
const TYPE_QNAME = "0x1::account::KeyRotationEvent";
|
893
|
+
function type(): TypeDescriptor<KeyRotationEvent>;
|
894
|
+
}
|
685
895
|
interface KeyRotationEventInstance extends TypedEventInstance<KeyRotationEvent> {
|
686
896
|
data_decoded: KeyRotationEvent;
|
687
897
|
type_arguments: [];
|
688
898
|
}
|
689
|
-
|
690
|
-
static TYPE_QNAME: string;
|
899
|
+
interface OriginatingAddress {
|
691
900
|
address_map: table.Table<Address, Address>;
|
692
901
|
}
|
693
|
-
|
694
|
-
|
902
|
+
namespace OriginatingAddress {
|
903
|
+
const TYPE_QNAME = "0x1::account::OriginatingAddress";
|
904
|
+
function type(): TypeDescriptor<OriginatingAddress>;
|
905
|
+
}
|
906
|
+
interface RotationCapability {
|
695
907
|
account: Address;
|
696
908
|
}
|
697
|
-
|
698
|
-
|
909
|
+
namespace RotationCapability {
|
910
|
+
const TYPE_QNAME = "0x1::account::RotationCapability";
|
911
|
+
function type(): TypeDescriptor<RotationCapability>;
|
912
|
+
}
|
913
|
+
interface RotationCapabilityOfferProofChallenge {
|
699
914
|
sequence_number: bigint;
|
700
915
|
recipient_address: Address;
|
701
916
|
}
|
702
|
-
|
703
|
-
|
917
|
+
namespace RotationCapabilityOfferProofChallenge {
|
918
|
+
const TYPE_QNAME = "0x1::account::RotationCapabilityOfferProofChallenge";
|
919
|
+
function type(): TypeDescriptor<RotationCapabilityOfferProofChallenge>;
|
920
|
+
}
|
921
|
+
interface RotationCapabilityOfferProofChallengeV2 {
|
704
922
|
chain_id: number;
|
705
923
|
sequence_number: bigint;
|
706
924
|
source_address: Address;
|
707
925
|
recipient_address: Address;
|
708
926
|
}
|
709
|
-
|
710
|
-
|
927
|
+
namespace RotationCapabilityOfferProofChallengeV2 {
|
928
|
+
const TYPE_QNAME = "0x1::account::RotationCapabilityOfferProofChallengeV2";
|
929
|
+
function type(): TypeDescriptor<RotationCapabilityOfferProofChallengeV2>;
|
930
|
+
}
|
931
|
+
interface RotationProofChallenge {
|
711
932
|
sequence_number: bigint;
|
712
933
|
originator: Address;
|
713
934
|
current_auth_key: Address;
|
714
935
|
new_public_key: string;
|
715
936
|
}
|
716
|
-
|
717
|
-
|
937
|
+
namespace RotationProofChallenge {
|
938
|
+
const TYPE_QNAME = "0x1::account::RotationProofChallenge";
|
939
|
+
function type(): TypeDescriptor<RotationProofChallenge>;
|
940
|
+
}
|
941
|
+
interface SignerCapability {
|
718
942
|
account: Address;
|
719
943
|
}
|
720
|
-
|
721
|
-
|
944
|
+
namespace SignerCapability {
|
945
|
+
const TYPE_QNAME = "0x1::account::SignerCapability";
|
946
|
+
function type(): TypeDescriptor<SignerCapability>;
|
947
|
+
}
|
948
|
+
interface SignerCapabilityOfferProofChallenge {
|
722
949
|
sequence_number: bigint;
|
723
950
|
recipient_address: Address;
|
724
951
|
}
|
725
|
-
|
726
|
-
|
952
|
+
namespace SignerCapabilityOfferProofChallenge {
|
953
|
+
const TYPE_QNAME = "0x1::account::SignerCapabilityOfferProofChallenge";
|
954
|
+
function type(): TypeDescriptor<SignerCapabilityOfferProofChallenge>;
|
955
|
+
}
|
956
|
+
interface SignerCapabilityOfferProofChallengeV2 {
|
727
957
|
sequence_number: bigint;
|
728
958
|
source_address: Address;
|
729
959
|
recipient_address: Address;
|
730
960
|
}
|
961
|
+
namespace SignerCapabilityOfferProofChallengeV2 {
|
962
|
+
const TYPE_QNAME = "0x1::account::SignerCapabilityOfferProofChallengeV2";
|
963
|
+
function type(): TypeDescriptor<SignerCapabilityOfferProofChallengeV2>;
|
964
|
+
}
|
731
965
|
interface OfferRotationCapabilityPayload extends TypedFunctionPayload<[string, number, string, Address]> {
|
732
966
|
arguments_decoded: [string, number, string, Address];
|
733
967
|
type_arguments: [];
|
@@ -769,40 +1003,57 @@ export declare namespace account {
|
|
769
1003
|
}
|
770
1004
|
}
|
771
1005
|
export declare namespace ed25519 {
|
772
|
-
|
773
|
-
static TYPE_QNAME: string;
|
1006
|
+
interface Signature {
|
774
1007
|
bytes: string;
|
775
1008
|
}
|
776
|
-
|
777
|
-
|
1009
|
+
namespace Signature {
|
1010
|
+
const TYPE_QNAME = "0x1::ed25519::Signature";
|
1011
|
+
function type(): TypeDescriptor<Signature>;
|
1012
|
+
}
|
1013
|
+
interface SignedMessage<T0> {
|
778
1014
|
type_info: type_info.TypeInfo;
|
779
1015
|
inner: T0;
|
780
1016
|
}
|
781
|
-
|
782
|
-
|
1017
|
+
namespace SignedMessage {
|
1018
|
+
const TYPE_QNAME = "0x1::ed25519::SignedMessage";
|
1019
|
+
function type<T0>(arg0?: TypeDescriptor<T0>): TypeDescriptor<SignedMessage<T0>>;
|
1020
|
+
}
|
1021
|
+
interface UnvalidatedPublicKey {
|
783
1022
|
bytes: string;
|
784
1023
|
}
|
785
|
-
|
786
|
-
|
1024
|
+
namespace UnvalidatedPublicKey {
|
1025
|
+
const TYPE_QNAME = "0x1::ed25519::UnvalidatedPublicKey";
|
1026
|
+
function type(): TypeDescriptor<UnvalidatedPublicKey>;
|
1027
|
+
}
|
1028
|
+
interface ValidatedPublicKey {
|
787
1029
|
bytes: string;
|
788
1030
|
}
|
1031
|
+
namespace ValidatedPublicKey {
|
1032
|
+
const TYPE_QNAME = "0x1::ed25519::ValidatedPublicKey";
|
1033
|
+
function type(): TypeDescriptor<ValidatedPublicKey>;
|
1034
|
+
}
|
789
1035
|
}
|
790
1036
|
export declare namespace genesis {
|
791
|
-
|
792
|
-
static TYPE_QNAME: string;
|
1037
|
+
interface AccountMap {
|
793
1038
|
account_address: Address;
|
794
1039
|
balance: bigint;
|
795
1040
|
}
|
796
|
-
|
797
|
-
|
1041
|
+
namespace AccountMap {
|
1042
|
+
const TYPE_QNAME = "0x1::genesis::AccountMap";
|
1043
|
+
function type(): TypeDescriptor<AccountMap>;
|
1044
|
+
}
|
1045
|
+
interface EmployeeAccountMap {
|
798
1046
|
accounts: Address[];
|
799
1047
|
validator: genesis.ValidatorConfigurationWithCommission;
|
800
1048
|
vesting_schedule_numerator: bigint[];
|
801
1049
|
vesting_schedule_denominator: bigint;
|
802
1050
|
beneficiary_resetter: Address;
|
803
1051
|
}
|
804
|
-
|
805
|
-
|
1052
|
+
namespace EmployeeAccountMap {
|
1053
|
+
const TYPE_QNAME = "0x1::genesis::EmployeeAccountMap";
|
1054
|
+
function type(): TypeDescriptor<EmployeeAccountMap>;
|
1055
|
+
}
|
1056
|
+
interface ValidatorConfiguration {
|
806
1057
|
owner_address: Address;
|
807
1058
|
operator_address: Address;
|
808
1059
|
voter_address: Address;
|
@@ -812,12 +1063,19 @@ export declare namespace genesis {
|
|
812
1063
|
network_addresses: string;
|
813
1064
|
full_node_network_addresses: string;
|
814
1065
|
}
|
815
|
-
|
816
|
-
|
1066
|
+
namespace ValidatorConfiguration {
|
1067
|
+
const TYPE_QNAME = "0x1::genesis::ValidatorConfiguration";
|
1068
|
+
function type(): TypeDescriptor<ValidatorConfiguration>;
|
1069
|
+
}
|
1070
|
+
interface ValidatorConfigurationWithCommission {
|
817
1071
|
validator_config: genesis.ValidatorConfiguration;
|
818
1072
|
commission_percentage: bigint;
|
819
1073
|
join_during_genesis: Boolean;
|
820
1074
|
}
|
1075
|
+
namespace ValidatorConfigurationWithCommission {
|
1076
|
+
const TYPE_QNAME = "0x1::genesis::ValidatorConfigurationWithCommission";
|
1077
|
+
function type(): TypeDescriptor<ValidatorConfigurationWithCommission>;
|
1078
|
+
}
|
821
1079
|
}
|
822
1080
|
export declare namespace math128 { }
|
823
1081
|
export declare class version extends AptosBaseProcessor {
|
@@ -827,14 +1085,20 @@ export declare class version extends AptosBaseProcessor {
|
|
827
1085
|
onEntrySetVersion(func: (call: version.SetVersionPayload, ctx: AptosContext) => void, filter?: CallFilter, fetchConfig?: Partial<MoveFetchConfig>): version;
|
828
1086
|
}
|
829
1087
|
export declare namespace version {
|
830
|
-
|
831
|
-
static TYPE_QNAME: string;
|
1088
|
+
interface SetVersionCapability {
|
832
1089
|
dummy_field: Boolean;
|
833
1090
|
}
|
834
|
-
|
835
|
-
|
1091
|
+
namespace SetVersionCapability {
|
1092
|
+
const TYPE_QNAME = "0x1::version::SetVersionCapability";
|
1093
|
+
function type(): TypeDescriptor<SetVersionCapability>;
|
1094
|
+
}
|
1095
|
+
interface Version {
|
836
1096
|
major: bigint;
|
837
1097
|
}
|
1098
|
+
namespace Version {
|
1099
|
+
const TYPE_QNAME = "0x1::version::Version";
|
1100
|
+
function type(): TypeDescriptor<Version>;
|
1101
|
+
}
|
838
1102
|
interface SetVersionPayload extends TypedFunctionPayload<[bigint]> {
|
839
1103
|
arguments_decoded: [bigint];
|
840
1104
|
type_arguments: [];
|
@@ -872,24 +1136,29 @@ export declare class vesting extends AptosBaseProcessor {
|
|
872
1136
|
onEventAdminWithdrawEvent(func: (event: vesting.AdminWithdrawEventInstance, ctx: AptosContext) => void, fetchConfig?: Partial<MoveFetchConfig>): vesting;
|
873
1137
|
}
|
874
1138
|
export declare namespace vesting {
|
875
|
-
|
876
|
-
static TYPE_QNAME: string;
|
1139
|
+
interface AdminStore {
|
877
1140
|
vesting_contracts: Address[];
|
878
1141
|
nonce: bigint;
|
879
1142
|
create_events: event.EventHandle<vesting.CreateVestingContractEvent>;
|
880
1143
|
}
|
881
|
-
|
882
|
-
|
1144
|
+
namespace AdminStore {
|
1145
|
+
const TYPE_QNAME = "0x1::vesting::AdminStore";
|
1146
|
+
function type(): TypeDescriptor<AdminStore>;
|
1147
|
+
}
|
1148
|
+
interface AdminWithdrawEvent {
|
883
1149
|
admin: Address;
|
884
1150
|
vesting_contract_address: Address;
|
885
1151
|
amount: bigint;
|
886
1152
|
}
|
1153
|
+
namespace AdminWithdrawEvent {
|
1154
|
+
const TYPE_QNAME = "0x1::vesting::AdminWithdrawEvent";
|
1155
|
+
function type(): TypeDescriptor<AdminWithdrawEvent>;
|
1156
|
+
}
|
887
1157
|
interface AdminWithdrawEventInstance extends TypedEventInstance<AdminWithdrawEvent> {
|
888
1158
|
data_decoded: AdminWithdrawEvent;
|
889
1159
|
type_arguments: [];
|
890
1160
|
}
|
891
|
-
|
892
|
-
static TYPE_QNAME: string;
|
1161
|
+
interface CreateVestingContractEvent {
|
893
1162
|
operator: Address;
|
894
1163
|
voter: Address;
|
895
1164
|
grant_amount: bigint;
|
@@ -898,72 +1167,93 @@ export declare namespace vesting {
|
|
898
1167
|
staking_pool_address: Address;
|
899
1168
|
commission_percentage: bigint;
|
900
1169
|
}
|
1170
|
+
namespace CreateVestingContractEvent {
|
1171
|
+
const TYPE_QNAME = "0x1::vesting::CreateVestingContractEvent";
|
1172
|
+
function type(): TypeDescriptor<CreateVestingContractEvent>;
|
1173
|
+
}
|
901
1174
|
interface CreateVestingContractEventInstance extends TypedEventInstance<CreateVestingContractEvent> {
|
902
1175
|
data_decoded: CreateVestingContractEvent;
|
903
1176
|
type_arguments: [];
|
904
1177
|
}
|
905
|
-
|
906
|
-
static TYPE_QNAME: string;
|
1178
|
+
interface DistributeEvent {
|
907
1179
|
admin: Address;
|
908
1180
|
vesting_contract_address: Address;
|
909
1181
|
amount: bigint;
|
910
1182
|
}
|
1183
|
+
namespace DistributeEvent {
|
1184
|
+
const TYPE_QNAME = "0x1::vesting::DistributeEvent";
|
1185
|
+
function type(): TypeDescriptor<DistributeEvent>;
|
1186
|
+
}
|
911
1187
|
interface DistributeEventInstance extends TypedEventInstance<DistributeEvent> {
|
912
1188
|
data_decoded: DistributeEvent;
|
913
1189
|
type_arguments: [];
|
914
1190
|
}
|
915
|
-
|
916
|
-
static TYPE_QNAME: string;
|
1191
|
+
interface ResetLockupEvent {
|
917
1192
|
admin: Address;
|
918
1193
|
vesting_contract_address: Address;
|
919
1194
|
staking_pool_address: Address;
|
920
1195
|
new_lockup_expiration_secs: bigint;
|
921
1196
|
}
|
1197
|
+
namespace ResetLockupEvent {
|
1198
|
+
const TYPE_QNAME = "0x1::vesting::ResetLockupEvent";
|
1199
|
+
function type(): TypeDescriptor<ResetLockupEvent>;
|
1200
|
+
}
|
922
1201
|
interface ResetLockupEventInstance extends TypedEventInstance<ResetLockupEvent> {
|
923
1202
|
data_decoded: ResetLockupEvent;
|
924
1203
|
type_arguments: [];
|
925
1204
|
}
|
926
|
-
|
927
|
-
static TYPE_QNAME: string;
|
1205
|
+
interface SetBeneficiaryEvent {
|
928
1206
|
admin: Address;
|
929
1207
|
vesting_contract_address: Address;
|
930
1208
|
shareholder: Address;
|
931
1209
|
old_beneficiary: Address;
|
932
1210
|
new_beneficiary: Address;
|
933
1211
|
}
|
1212
|
+
namespace SetBeneficiaryEvent {
|
1213
|
+
const TYPE_QNAME = "0x1::vesting::SetBeneficiaryEvent";
|
1214
|
+
function type(): TypeDescriptor<SetBeneficiaryEvent>;
|
1215
|
+
}
|
934
1216
|
interface SetBeneficiaryEventInstance extends TypedEventInstance<SetBeneficiaryEvent> {
|
935
1217
|
data_decoded: SetBeneficiaryEvent;
|
936
1218
|
type_arguments: [];
|
937
1219
|
}
|
938
|
-
|
939
|
-
static TYPE_QNAME: string;
|
1220
|
+
interface StakingInfo {
|
940
1221
|
pool_address: Address;
|
941
1222
|
operator: Address;
|
942
1223
|
voter: Address;
|
943
1224
|
commission_percentage: bigint;
|
944
1225
|
}
|
945
|
-
|
946
|
-
|
1226
|
+
namespace StakingInfo {
|
1227
|
+
const TYPE_QNAME = "0x1::vesting::StakingInfo";
|
1228
|
+
function type(): TypeDescriptor<StakingInfo>;
|
1229
|
+
}
|
1230
|
+
interface TerminateEvent {
|
947
1231
|
admin: Address;
|
948
1232
|
vesting_contract_address: Address;
|
949
1233
|
}
|
1234
|
+
namespace TerminateEvent {
|
1235
|
+
const TYPE_QNAME = "0x1::vesting::TerminateEvent";
|
1236
|
+
function type(): TypeDescriptor<TerminateEvent>;
|
1237
|
+
}
|
950
1238
|
interface TerminateEventInstance extends TypedEventInstance<TerminateEvent> {
|
951
1239
|
data_decoded: TerminateEvent;
|
952
1240
|
type_arguments: [];
|
953
1241
|
}
|
954
|
-
|
955
|
-
static TYPE_QNAME: string;
|
1242
|
+
interface UnlockRewardsEvent {
|
956
1243
|
admin: Address;
|
957
1244
|
vesting_contract_address: Address;
|
958
1245
|
staking_pool_address: Address;
|
959
1246
|
amount: bigint;
|
960
1247
|
}
|
1248
|
+
namespace UnlockRewardsEvent {
|
1249
|
+
const TYPE_QNAME = "0x1::vesting::UnlockRewardsEvent";
|
1250
|
+
function type(): TypeDescriptor<UnlockRewardsEvent>;
|
1251
|
+
}
|
961
1252
|
interface UnlockRewardsEventInstance extends TypedEventInstance<UnlockRewardsEvent> {
|
962
1253
|
data_decoded: UnlockRewardsEvent;
|
963
1254
|
type_arguments: [];
|
964
1255
|
}
|
965
|
-
|
966
|
-
static TYPE_QNAME: string;
|
1256
|
+
interface UpdateOperatorEvent {
|
967
1257
|
admin: Address;
|
968
1258
|
vesting_contract_address: Address;
|
969
1259
|
staking_pool_address: Address;
|
@@ -971,40 +1261,52 @@ export declare namespace vesting {
|
|
971
1261
|
new_operator: Address;
|
972
1262
|
commission_percentage: bigint;
|
973
1263
|
}
|
1264
|
+
namespace UpdateOperatorEvent {
|
1265
|
+
const TYPE_QNAME = "0x1::vesting::UpdateOperatorEvent";
|
1266
|
+
function type(): TypeDescriptor<UpdateOperatorEvent>;
|
1267
|
+
}
|
974
1268
|
interface UpdateOperatorEventInstance extends TypedEventInstance<UpdateOperatorEvent> {
|
975
1269
|
data_decoded: UpdateOperatorEvent;
|
976
1270
|
type_arguments: [];
|
977
1271
|
}
|
978
|
-
|
979
|
-
static TYPE_QNAME: string;
|
1272
|
+
interface UpdateVoterEvent {
|
980
1273
|
admin: Address;
|
981
1274
|
vesting_contract_address: Address;
|
982
1275
|
staking_pool_address: Address;
|
983
1276
|
old_voter: Address;
|
984
1277
|
new_voter: Address;
|
985
1278
|
}
|
1279
|
+
namespace UpdateVoterEvent {
|
1280
|
+
const TYPE_QNAME = "0x1::vesting::UpdateVoterEvent";
|
1281
|
+
function type(): TypeDescriptor<UpdateVoterEvent>;
|
1282
|
+
}
|
986
1283
|
interface UpdateVoterEventInstance extends TypedEventInstance<UpdateVoterEvent> {
|
987
1284
|
data_decoded: UpdateVoterEvent;
|
988
1285
|
type_arguments: [];
|
989
1286
|
}
|
990
|
-
|
991
|
-
static TYPE_QNAME: string;
|
1287
|
+
interface VestEvent {
|
992
1288
|
admin: Address;
|
993
1289
|
vesting_contract_address: Address;
|
994
1290
|
staking_pool_address: Address;
|
995
1291
|
period_vested: bigint;
|
996
1292
|
amount: bigint;
|
997
1293
|
}
|
1294
|
+
namespace VestEvent {
|
1295
|
+
const TYPE_QNAME = "0x1::vesting::VestEvent";
|
1296
|
+
function type(): TypeDescriptor<VestEvent>;
|
1297
|
+
}
|
998
1298
|
interface VestEventInstance extends TypedEventInstance<VestEvent> {
|
999
1299
|
data_decoded: VestEvent;
|
1000
1300
|
type_arguments: [];
|
1001
1301
|
}
|
1002
|
-
|
1003
|
-
static TYPE_QNAME: string;
|
1302
|
+
interface VestingAccountManagement {
|
1004
1303
|
roles: simple_map.SimpleMap<string, Address>;
|
1005
1304
|
}
|
1006
|
-
|
1007
|
-
|
1305
|
+
namespace VestingAccountManagement {
|
1306
|
+
const TYPE_QNAME = "0x1::vesting::VestingAccountManagement";
|
1307
|
+
function type(): TypeDescriptor<VestingAccountManagement>;
|
1308
|
+
}
|
1309
|
+
interface VestingContract {
|
1008
1310
|
state: bigint;
|
1009
1311
|
admin: Address;
|
1010
1312
|
grant_pool: pool_u64.Pool;
|
@@ -1024,13 +1326,20 @@ export declare namespace vesting {
|
|
1024
1326
|
terminate_events: event.EventHandle<vesting.TerminateEvent>;
|
1025
1327
|
admin_withdraw_events: event.EventHandle<vesting.AdminWithdrawEvent>;
|
1026
1328
|
}
|
1027
|
-
|
1028
|
-
|
1329
|
+
namespace VestingContract {
|
1330
|
+
const TYPE_QNAME = "0x1::vesting::VestingContract";
|
1331
|
+
function type(): TypeDescriptor<VestingContract>;
|
1332
|
+
}
|
1333
|
+
interface VestingSchedule {
|
1029
1334
|
schedule: fixed_point32.FixedPoint32[];
|
1030
1335
|
start_timestamp_secs: bigint;
|
1031
1336
|
period_duration: bigint;
|
1032
1337
|
last_vested_period: bigint;
|
1033
1338
|
}
|
1339
|
+
namespace VestingSchedule {
|
1340
|
+
const TYPE_QNAME = "0x1::vesting::VestingSchedule";
|
1341
|
+
function type(): TypeDescriptor<VestingSchedule>;
|
1342
|
+
}
|
1034
1343
|
interface AdminWithdrawPayload extends TypedFunctionPayload<[Address]> {
|
1035
1344
|
arguments_decoded: [Address];
|
1036
1345
|
type_arguments: [];
|
@@ -1097,47 +1406,70 @@ export declare namespace vesting {
|
|
1097
1406
|
}
|
1098
1407
|
}
|
1099
1408
|
export declare namespace bls12381 {
|
1100
|
-
|
1101
|
-
static TYPE_QNAME: string;
|
1409
|
+
interface AggrOrMultiSignature {
|
1102
1410
|
bytes: string;
|
1103
1411
|
}
|
1104
|
-
|
1105
|
-
|
1412
|
+
namespace AggrOrMultiSignature {
|
1413
|
+
const TYPE_QNAME = "0x1::bls12381::AggrOrMultiSignature";
|
1414
|
+
function type(): TypeDescriptor<AggrOrMultiSignature>;
|
1415
|
+
}
|
1416
|
+
interface AggrPublicKeysWithPoP {
|
1106
1417
|
bytes: string;
|
1107
1418
|
}
|
1108
|
-
|
1109
|
-
|
1419
|
+
namespace AggrPublicKeysWithPoP {
|
1420
|
+
const TYPE_QNAME = "0x1::bls12381::AggrPublicKeysWithPoP";
|
1421
|
+
function type(): TypeDescriptor<AggrPublicKeysWithPoP>;
|
1422
|
+
}
|
1423
|
+
interface ProofOfPossession {
|
1110
1424
|
bytes: string;
|
1111
1425
|
}
|
1112
|
-
|
1113
|
-
|
1426
|
+
namespace ProofOfPossession {
|
1427
|
+
const TYPE_QNAME = "0x1::bls12381::ProofOfPossession";
|
1428
|
+
function type(): TypeDescriptor<ProofOfPossession>;
|
1429
|
+
}
|
1430
|
+
interface PublicKey {
|
1114
1431
|
bytes: string;
|
1115
1432
|
}
|
1116
|
-
|
1117
|
-
|
1433
|
+
namespace PublicKey {
|
1434
|
+
const TYPE_QNAME = "0x1::bls12381::PublicKey";
|
1435
|
+
function type(): TypeDescriptor<PublicKey>;
|
1436
|
+
}
|
1437
|
+
interface PublicKeyWithPoP {
|
1118
1438
|
bytes: string;
|
1119
1439
|
}
|
1120
|
-
|
1121
|
-
|
1440
|
+
namespace PublicKeyWithPoP {
|
1441
|
+
const TYPE_QNAME = "0x1::bls12381::PublicKeyWithPoP";
|
1442
|
+
function type(): TypeDescriptor<PublicKeyWithPoP>;
|
1443
|
+
}
|
1444
|
+
interface Signature {
|
1122
1445
|
bytes: string;
|
1123
1446
|
}
|
1447
|
+
namespace Signature {
|
1448
|
+
const TYPE_QNAME = "0x1::bls12381::Signature";
|
1449
|
+
function type(): TypeDescriptor<Signature>;
|
1450
|
+
}
|
1124
1451
|
}
|
1125
1452
|
export declare namespace chain_id {
|
1126
|
-
|
1127
|
-
static TYPE_QNAME: string;
|
1453
|
+
interface ChainId {
|
1128
1454
|
id: number;
|
1129
1455
|
}
|
1456
|
+
namespace ChainId {
|
1457
|
+
const TYPE_QNAME = "0x1::chain_id::ChainId";
|
1458
|
+
function type(): TypeDescriptor<ChainId>;
|
1459
|
+
}
|
1130
1460
|
}
|
1131
1461
|
export declare namespace features {
|
1132
|
-
|
1133
|
-
static TYPE_QNAME: string;
|
1462
|
+
interface Features {
|
1134
1463
|
features: string;
|
1135
1464
|
}
|
1465
|
+
namespace Features {
|
1466
|
+
const TYPE_QNAME = "0x1::features::Features";
|
1467
|
+
function type(): TypeDescriptor<Features>;
|
1468
|
+
}
|
1136
1469
|
}
|
1137
1470
|
export declare namespace from_bcs { }
|
1138
1471
|
export declare namespace pool_u64 {
|
1139
|
-
|
1140
|
-
static TYPE_QNAME: string;
|
1472
|
+
interface Pool {
|
1141
1473
|
shareholders_limit: bigint;
|
1142
1474
|
total_coins: bigint;
|
1143
1475
|
total_shares: bigint;
|
@@ -1145,38 +1477,57 @@ export declare namespace pool_u64 {
|
|
1145
1477
|
shareholders: Address[];
|
1146
1478
|
scaling_factor: bigint;
|
1147
1479
|
}
|
1480
|
+
namespace Pool {
|
1481
|
+
const TYPE_QNAME = "0x1::pool_u64::Pool";
|
1482
|
+
function type(): TypeDescriptor<Pool>;
|
1483
|
+
}
|
1148
1484
|
}
|
1149
1485
|
export declare namespace secp256k1 {
|
1150
|
-
|
1151
|
-
static TYPE_QNAME: string;
|
1486
|
+
interface ECDSARawPublicKey {
|
1152
1487
|
bytes: string;
|
1153
1488
|
}
|
1154
|
-
|
1155
|
-
|
1489
|
+
namespace ECDSARawPublicKey {
|
1490
|
+
const TYPE_QNAME = "0x1::secp256k1::ECDSARawPublicKey";
|
1491
|
+
function type(): TypeDescriptor<ECDSARawPublicKey>;
|
1492
|
+
}
|
1493
|
+
interface ECDSASignature {
|
1156
1494
|
bytes: string;
|
1157
1495
|
}
|
1496
|
+
namespace ECDSASignature {
|
1497
|
+
const TYPE_QNAME = "0x1::secp256k1::ECDSASignature";
|
1498
|
+
function type(): TypeDescriptor<ECDSASignature>;
|
1499
|
+
}
|
1158
1500
|
}
|
1159
1501
|
export declare namespace timestamp {
|
1160
|
-
|
1161
|
-
static TYPE_QNAME: string;
|
1502
|
+
interface CurrentTimeMicroseconds {
|
1162
1503
|
microseconds: bigint;
|
1163
1504
|
}
|
1505
|
+
namespace CurrentTimeMicroseconds {
|
1506
|
+
const TYPE_QNAME = "0x1::timestamp::CurrentTimeMicroseconds";
|
1507
|
+
function type(): TypeDescriptor<CurrentTimeMicroseconds>;
|
1508
|
+
}
|
1164
1509
|
}
|
1165
1510
|
export declare namespace type_info {
|
1166
|
-
|
1167
|
-
static TYPE_QNAME: string;
|
1511
|
+
interface TypeInfo {
|
1168
1512
|
account_address: Address;
|
1169
1513
|
module_name: string;
|
1170
1514
|
struct_name: string;
|
1171
1515
|
}
|
1516
|
+
namespace TypeInfo {
|
1517
|
+
const TYPE_QNAME = "0x1::type_info::TypeInfo";
|
1518
|
+
function type(): TypeDescriptor<TypeInfo>;
|
1519
|
+
}
|
1172
1520
|
}
|
1173
1521
|
export declare namespace aggregator {
|
1174
|
-
|
1175
|
-
static TYPE_QNAME: string;
|
1522
|
+
interface Aggregator {
|
1176
1523
|
handle: Address;
|
1177
1524
|
key: Address;
|
1178
1525
|
limit: bigint;
|
1179
1526
|
}
|
1527
|
+
namespace Aggregator {
|
1528
|
+
const TYPE_QNAME = "0x1::aggregator::Aggregator";
|
1529
|
+
function type(): TypeDescriptor<Aggregator>;
|
1530
|
+
}
|
1180
1531
|
}
|
1181
1532
|
export declare class aptos_coin extends AptosBaseProcessor {
|
1182
1533
|
constructor(options: AptosBindOptions);
|
@@ -1187,22 +1538,34 @@ export declare class aptos_coin extends AptosBaseProcessor {
|
|
1187
1538
|
onEntryMint(func: (call: aptos_coin.MintPayload, ctx: AptosContext) => void, filter?: CallFilter, fetchConfig?: Partial<MoveFetchConfig>): aptos_coin;
|
1188
1539
|
}
|
1189
1540
|
export declare namespace aptos_coin {
|
1190
|
-
|
1191
|
-
static TYPE_QNAME: string;
|
1541
|
+
interface AptosCoin {
|
1192
1542
|
dummy_field: Boolean;
|
1193
1543
|
}
|
1194
|
-
|
1195
|
-
|
1544
|
+
namespace AptosCoin {
|
1545
|
+
const TYPE_QNAME = "0x1::aptos_coin::AptosCoin";
|
1546
|
+
function type(): TypeDescriptor<AptosCoin>;
|
1547
|
+
}
|
1548
|
+
interface DelegatedMintCapability {
|
1196
1549
|
to: Address;
|
1197
1550
|
}
|
1198
|
-
|
1199
|
-
|
1551
|
+
namespace DelegatedMintCapability {
|
1552
|
+
const TYPE_QNAME = "0x1::aptos_coin::DelegatedMintCapability";
|
1553
|
+
function type(): TypeDescriptor<DelegatedMintCapability>;
|
1554
|
+
}
|
1555
|
+
interface Delegations {
|
1200
1556
|
inner: aptos_coin.DelegatedMintCapability[];
|
1201
1557
|
}
|
1202
|
-
|
1203
|
-
|
1558
|
+
namespace Delegations {
|
1559
|
+
const TYPE_QNAME = "0x1::aptos_coin::Delegations";
|
1560
|
+
function type(): TypeDescriptor<Delegations>;
|
1561
|
+
}
|
1562
|
+
interface MintCapStore {
|
1204
1563
|
mint_cap: coin.MintCapability<aptos_coin.AptosCoin>;
|
1205
1564
|
}
|
1565
|
+
namespace MintCapStore {
|
1566
|
+
const TYPE_QNAME = "0x1::aptos_coin::MintCapStore";
|
1567
|
+
function type(): TypeDescriptor<MintCapStore>;
|
1568
|
+
}
|
1206
1569
|
interface ClaimMintCapabilityPayload extends TypedFunctionPayload<[]> {
|
1207
1570
|
arguments_decoded: [];
|
1208
1571
|
type_arguments: [];
|
@@ -1218,65 +1581,94 @@ export declare namespace aptos_coin {
|
|
1218
1581
|
}
|
1219
1582
|
export declare namespace aptos_hash { }
|
1220
1583
|
export declare namespace big_vector {
|
1221
|
-
|
1222
|
-
static TYPE_QNAME: string;
|
1584
|
+
interface BigVector<T0> {
|
1223
1585
|
buckets: table_with_length.TableWithLength<bigint, T0[] | string>;
|
1224
1586
|
end_index: bigint;
|
1225
1587
|
bucket_size: bigint;
|
1226
1588
|
}
|
1589
|
+
namespace BigVector {
|
1590
|
+
const TYPE_QNAME = "0x1::big_vector::BigVector";
|
1591
|
+
function type<T0>(arg0?: TypeDescriptor<T0>): TypeDescriptor<BigVector<T0>>;
|
1592
|
+
}
|
1227
1593
|
}
|
1228
1594
|
export declare namespace bit_vector {
|
1229
|
-
|
1230
|
-
static TYPE_QNAME: string;
|
1595
|
+
interface BitVector {
|
1231
1596
|
length: bigint;
|
1232
1597
|
bit_field: Boolean[];
|
1233
1598
|
}
|
1599
|
+
namespace BitVector {
|
1600
|
+
const TYPE_QNAME = "0x1::bit_vector::BitVector";
|
1601
|
+
function type(): TypeDescriptor<BitVector>;
|
1602
|
+
}
|
1234
1603
|
}
|
1235
1604
|
export declare namespace capability {
|
1236
|
-
|
1237
|
-
static TYPE_QNAME: string;
|
1605
|
+
interface Cap<T0> {
|
1238
1606
|
root: Address;
|
1239
1607
|
}
|
1240
|
-
|
1241
|
-
|
1608
|
+
namespace Cap {
|
1609
|
+
const TYPE_QNAME = "0x1::capability::Cap";
|
1610
|
+
function type<T0>(arg0?: TypeDescriptor<T0>): TypeDescriptor<Cap<T0>>;
|
1611
|
+
}
|
1612
|
+
interface CapDelegateState<T0> {
|
1242
1613
|
root: Address;
|
1243
1614
|
}
|
1244
|
-
|
1245
|
-
|
1615
|
+
namespace CapDelegateState {
|
1616
|
+
const TYPE_QNAME = "0x1::capability::CapDelegateState";
|
1617
|
+
function type<T0>(arg0?: TypeDescriptor<T0>): TypeDescriptor<CapDelegateState<T0>>;
|
1618
|
+
}
|
1619
|
+
interface CapState<T0> {
|
1246
1620
|
delegates: Address[];
|
1247
1621
|
}
|
1248
|
-
|
1249
|
-
|
1622
|
+
namespace CapState {
|
1623
|
+
const TYPE_QNAME = "0x1::capability::CapState";
|
1624
|
+
function type<T0>(arg0?: TypeDescriptor<T0>): TypeDescriptor<CapState<T0>>;
|
1625
|
+
}
|
1626
|
+
interface LinearCap<T0> {
|
1250
1627
|
root: Address;
|
1251
1628
|
}
|
1629
|
+
namespace LinearCap {
|
1630
|
+
const TYPE_QNAME = "0x1::capability::LinearCap";
|
1631
|
+
function type<T0>(arg0?: TypeDescriptor<T0>): TypeDescriptor<LinearCap<T0>>;
|
1632
|
+
}
|
1252
1633
|
}
|
1253
1634
|
export declare namespace comparator {
|
1254
|
-
|
1255
|
-
static TYPE_QNAME: string;
|
1635
|
+
interface Result {
|
1256
1636
|
inner: number;
|
1257
1637
|
}
|
1638
|
+
namespace Result {
|
1639
|
+
const TYPE_QNAME = "0x1::comparator::Result";
|
1640
|
+
function type(): TypeDescriptor<Result>;
|
1641
|
+
}
|
1258
1642
|
}
|
1259
1643
|
export declare namespace math_fixed { }
|
1260
1644
|
export declare namespace simple_map {
|
1261
|
-
|
1262
|
-
static TYPE_QNAME: string;
|
1645
|
+
interface Element<T0, T1> {
|
1263
1646
|
key: T0;
|
1264
1647
|
value: T1;
|
1265
1648
|
}
|
1266
|
-
|
1267
|
-
|
1649
|
+
namespace Element {
|
1650
|
+
const TYPE_QNAME = "0x1::simple_map::Element";
|
1651
|
+
function type<T0, T1>(arg0?: TypeDescriptor<T0>, arg1?: TypeDescriptor<T1>): TypeDescriptor<Element<T0, T1>>;
|
1652
|
+
}
|
1653
|
+
interface SimpleMap<T0, T1> {
|
1268
1654
|
data: simple_map.Element<T0, T1>[];
|
1269
1655
|
}
|
1656
|
+
namespace SimpleMap {
|
1657
|
+
const TYPE_QNAME = "0x1::simple_map::SimpleMap";
|
1658
|
+
function type<T0, T1>(arg0?: TypeDescriptor<T0>, arg1?: TypeDescriptor<T1>): TypeDescriptor<SimpleMap<T0, T1>>;
|
1659
|
+
}
|
1270
1660
|
}
|
1271
1661
|
export declare namespace smart_table {
|
1272
|
-
|
1273
|
-
static TYPE_QNAME: string;
|
1662
|
+
interface Entry<T0, T1> {
|
1274
1663
|
hash: bigint;
|
1275
1664
|
key: T0;
|
1276
1665
|
value: T1;
|
1277
1666
|
}
|
1278
|
-
|
1279
|
-
|
1667
|
+
namespace Entry {
|
1668
|
+
const TYPE_QNAME = "0x1::smart_table::Entry";
|
1669
|
+
function type<T0, T1>(arg0?: TypeDescriptor<T0>, arg1?: TypeDescriptor<T1>): TypeDescriptor<Entry<T0, T1>>;
|
1670
|
+
}
|
1671
|
+
interface SmartTable<T0, T1> {
|
1280
1672
|
buckets: table_with_length.TableWithLength<bigint, smart_table.Entry<T0, T1>[]>;
|
1281
1673
|
num_buckets: bigint;
|
1282
1674
|
level: number;
|
@@ -1284,21 +1676,30 @@ export declare namespace smart_table {
|
|
1284
1676
|
split_load_threshold: number;
|
1285
1677
|
target_bucket_size: bigint;
|
1286
1678
|
}
|
1679
|
+
namespace SmartTable {
|
1680
|
+
const TYPE_QNAME = "0x1::smart_table::SmartTable";
|
1681
|
+
function type<T0, T1>(arg0?: TypeDescriptor<T0>, arg1?: TypeDescriptor<T1>): TypeDescriptor<SmartTable<T0, T1>>;
|
1682
|
+
}
|
1287
1683
|
}
|
1288
1684
|
export declare namespace storage_gas {
|
1289
|
-
|
1290
|
-
static TYPE_QNAME: string;
|
1685
|
+
interface GasCurve {
|
1291
1686
|
min_gas: bigint;
|
1292
1687
|
max_gas: bigint;
|
1293
1688
|
points: storage_gas.Point[];
|
1294
1689
|
}
|
1295
|
-
|
1296
|
-
|
1690
|
+
namespace GasCurve {
|
1691
|
+
const TYPE_QNAME = "0x1::storage_gas::GasCurve";
|
1692
|
+
function type(): TypeDescriptor<GasCurve>;
|
1693
|
+
}
|
1694
|
+
interface Point {
|
1297
1695
|
x: bigint;
|
1298
1696
|
y: bigint;
|
1299
1697
|
}
|
1300
|
-
|
1301
|
-
|
1698
|
+
namespace Point {
|
1699
|
+
const TYPE_QNAME = "0x1::storage_gas::Point";
|
1700
|
+
function type(): TypeDescriptor<Point>;
|
1701
|
+
}
|
1702
|
+
interface StorageGas {
|
1302
1703
|
per_item_read: bigint;
|
1303
1704
|
per_item_create: bigint;
|
1304
1705
|
per_item_write: bigint;
|
@@ -1306,47 +1707,72 @@ export declare namespace storage_gas {
|
|
1306
1707
|
per_byte_create: bigint;
|
1307
1708
|
per_byte_write: bigint;
|
1308
1709
|
}
|
1309
|
-
|
1310
|
-
|
1710
|
+
namespace StorageGas {
|
1711
|
+
const TYPE_QNAME = "0x1::storage_gas::StorageGas";
|
1712
|
+
function type(): TypeDescriptor<StorageGas>;
|
1713
|
+
}
|
1714
|
+
interface StorageGasConfig {
|
1311
1715
|
item_config: storage_gas.UsageGasConfig;
|
1312
1716
|
byte_config: storage_gas.UsageGasConfig;
|
1313
1717
|
}
|
1314
|
-
|
1315
|
-
|
1718
|
+
namespace StorageGasConfig {
|
1719
|
+
const TYPE_QNAME = "0x1::storage_gas::StorageGasConfig";
|
1720
|
+
function type(): TypeDescriptor<StorageGasConfig>;
|
1721
|
+
}
|
1722
|
+
interface UsageGasConfig {
|
1316
1723
|
target_usage: bigint;
|
1317
1724
|
read_curve: storage_gas.GasCurve;
|
1318
1725
|
create_curve: storage_gas.GasCurve;
|
1319
1726
|
write_curve: storage_gas.GasCurve;
|
1320
1727
|
}
|
1728
|
+
namespace UsageGasConfig {
|
1729
|
+
const TYPE_QNAME = "0x1::storage_gas::UsageGasConfig";
|
1730
|
+
function type(): TypeDescriptor<UsageGasConfig>;
|
1731
|
+
}
|
1321
1732
|
}
|
1322
1733
|
export declare namespace chain_status {
|
1323
|
-
|
1324
|
-
static TYPE_QNAME: string;
|
1734
|
+
interface GenesisEndMarker {
|
1325
1735
|
dummy_field: Boolean;
|
1326
1736
|
}
|
1737
|
+
namespace GenesisEndMarker {
|
1738
|
+
const TYPE_QNAME = "0x1::chain_status::GenesisEndMarker";
|
1739
|
+
function type(): TypeDescriptor<GenesisEndMarker>;
|
1740
|
+
}
|
1327
1741
|
}
|
1328
1742
|
export declare namespace copyable_any {
|
1329
|
-
|
1330
|
-
static TYPE_QNAME: string;
|
1743
|
+
interface Any {
|
1331
1744
|
type_name: string;
|
1332
1745
|
data: string;
|
1333
1746
|
}
|
1747
|
+
namespace Any {
|
1748
|
+
const TYPE_QNAME = "0x1::copyable_any::Any";
|
1749
|
+
function type(): TypeDescriptor<Any>;
|
1750
|
+
}
|
1334
1751
|
}
|
1335
1752
|
export declare namespace gas_schedule {
|
1336
|
-
|
1337
|
-
static TYPE_QNAME: string;
|
1753
|
+
interface GasEntry {
|
1338
1754
|
key: string;
|
1339
1755
|
val: bigint;
|
1340
1756
|
}
|
1341
|
-
|
1342
|
-
|
1757
|
+
namespace GasEntry {
|
1758
|
+
const TYPE_QNAME = "0x1::gas_schedule::GasEntry";
|
1759
|
+
function type(): TypeDescriptor<GasEntry>;
|
1760
|
+
}
|
1761
|
+
interface GasSchedule {
|
1343
1762
|
entries: gas_schedule.GasEntry[];
|
1344
1763
|
}
|
1345
|
-
|
1346
|
-
|
1764
|
+
namespace GasSchedule {
|
1765
|
+
const TYPE_QNAME = "0x1::gas_schedule::GasSchedule";
|
1766
|
+
function type(): TypeDescriptor<GasSchedule>;
|
1767
|
+
}
|
1768
|
+
interface GasScheduleV2 {
|
1347
1769
|
feature_version: bigint;
|
1348
1770
|
entries: gas_schedule.GasEntry[];
|
1349
1771
|
}
|
1772
|
+
namespace GasScheduleV2 {
|
1773
|
+
const TYPE_QNAME = "0x1::gas_schedule::GasScheduleV2";
|
1774
|
+
function type(): TypeDescriptor<GasScheduleV2>;
|
1775
|
+
}
|
1350
1776
|
}
|
1351
1777
|
export declare class managed_coin extends AptosBaseProcessor {
|
1352
1778
|
constructor(options: AptosBindOptions);
|
@@ -1358,12 +1784,15 @@ export declare class managed_coin extends AptosBaseProcessor {
|
|
1358
1784
|
onEntryRegister(func: (call: managed_coin.RegisterPayload, ctx: AptosContext) => void, filter?: CallFilter, fetchConfig?: Partial<MoveFetchConfig>): managed_coin;
|
1359
1785
|
}
|
1360
1786
|
export declare namespace managed_coin {
|
1361
|
-
|
1362
|
-
static TYPE_QNAME: string;
|
1787
|
+
interface Capabilities<T0> {
|
1363
1788
|
burn_cap: coin.BurnCapability<T0>;
|
1364
1789
|
freeze_cap: coin.FreezeCapability<T0>;
|
1365
1790
|
mint_cap: coin.MintCapability<T0>;
|
1366
1791
|
}
|
1792
|
+
namespace Capabilities {
|
1793
|
+
const TYPE_QNAME = "0x1::managed_coin::Capabilities";
|
1794
|
+
function type<T0>(arg0?: TypeDescriptor<T0>): TypeDescriptor<Capabilities<T0>>;
|
1795
|
+
}
|
1367
1796
|
interface BurnPayload<T0 = any> extends TypedFunctionPayload<[bigint]> {
|
1368
1797
|
arguments_decoded: [bigint];
|
1369
1798
|
type_arguments: [string];
|
@@ -1382,27 +1811,39 @@ export declare namespace managed_coin {
|
|
1382
1811
|
}
|
1383
1812
|
}
|
1384
1813
|
export declare namespace ristretto255 {
|
1385
|
-
|
1386
|
-
static TYPE_QNAME: string;
|
1814
|
+
interface CompressedRistretto {
|
1387
1815
|
data: string;
|
1388
1816
|
}
|
1389
|
-
|
1390
|
-
|
1817
|
+
namespace CompressedRistretto {
|
1818
|
+
const TYPE_QNAME = "0x1::ristretto255::CompressedRistretto";
|
1819
|
+
function type(): TypeDescriptor<CompressedRistretto>;
|
1820
|
+
}
|
1821
|
+
interface RistrettoPoint {
|
1391
1822
|
handle: bigint;
|
1392
1823
|
}
|
1393
|
-
|
1394
|
-
|
1824
|
+
namespace RistrettoPoint {
|
1825
|
+
const TYPE_QNAME = "0x1::ristretto255::RistrettoPoint";
|
1826
|
+
function type(): TypeDescriptor<RistrettoPoint>;
|
1827
|
+
}
|
1828
|
+
interface Scalar {
|
1395
1829
|
data: string;
|
1396
1830
|
}
|
1831
|
+
namespace Scalar {
|
1832
|
+
const TYPE_QNAME = "0x1::ristretto255::Scalar";
|
1833
|
+
function type(): TypeDescriptor<Scalar>;
|
1834
|
+
}
|
1397
1835
|
}
|
1398
1836
|
export declare namespace smart_vector {
|
1399
|
-
|
1400
|
-
static TYPE_QNAME: string;
|
1837
|
+
interface SmartVector<T0> {
|
1401
1838
|
inline_vec: T0[] | string;
|
1402
1839
|
big_vec: big_vector.BigVector<T0>[];
|
1403
1840
|
inline_capacity: option.Option<bigint>;
|
1404
1841
|
bucket_size: option.Option<bigint>;
|
1405
1842
|
}
|
1843
|
+
namespace SmartVector {
|
1844
|
+
const TYPE_QNAME = "0x1::smart_vector::SmartVector";
|
1845
|
+
function type<T0>(arg0?: TypeDescriptor<T0>): TypeDescriptor<SmartVector<T0>>;
|
1846
|
+
}
|
1406
1847
|
}
|
1407
1848
|
export declare class aptos_account extends AptosBaseProcessor {
|
1408
1849
|
constructor(options: AptosBindOptions);
|
@@ -1417,19 +1858,25 @@ export declare class aptos_account extends AptosBaseProcessor {
|
|
1417
1858
|
onEventDirectCoinTransferConfigUpdatedEvent(func: (event: aptos_account.DirectCoinTransferConfigUpdatedEventInstance, ctx: AptosContext) => void, fetchConfig?: Partial<MoveFetchConfig>): aptos_account;
|
1418
1859
|
}
|
1419
1860
|
export declare namespace aptos_account {
|
1420
|
-
|
1421
|
-
static TYPE_QNAME: string;
|
1861
|
+
interface DirectCoinTransferConfigUpdatedEvent {
|
1422
1862
|
new_allow_direct_transfers: Boolean;
|
1423
1863
|
}
|
1864
|
+
namespace DirectCoinTransferConfigUpdatedEvent {
|
1865
|
+
const TYPE_QNAME = "0x1::aptos_account::DirectCoinTransferConfigUpdatedEvent";
|
1866
|
+
function type(): TypeDescriptor<DirectCoinTransferConfigUpdatedEvent>;
|
1867
|
+
}
|
1424
1868
|
interface DirectCoinTransferConfigUpdatedEventInstance extends TypedEventInstance<DirectCoinTransferConfigUpdatedEvent> {
|
1425
1869
|
data_decoded: DirectCoinTransferConfigUpdatedEvent;
|
1426
1870
|
type_arguments: [];
|
1427
1871
|
}
|
1428
|
-
|
1429
|
-
static TYPE_QNAME: string;
|
1872
|
+
interface DirectTransferConfig {
|
1430
1873
|
allow_arbitrary_coin_transfers: Boolean;
|
1431
1874
|
update_coin_transfer_events: event.EventHandle<aptos_account.DirectCoinTransferConfigUpdatedEvent>;
|
1432
1875
|
}
|
1876
|
+
namespace DirectTransferConfig {
|
1877
|
+
const TYPE_QNAME = "0x1::aptos_account::DirectTransferConfig";
|
1878
|
+
function type(): TypeDescriptor<DirectTransferConfig>;
|
1879
|
+
}
|
1433
1880
|
interface BatchTransferPayload extends TypedFunctionPayload<[Address[], bigint[]]> {
|
1434
1881
|
arguments_decoded: [Address[], bigint[]];
|
1435
1882
|
type_arguments: [];
|
@@ -1457,24 +1904,36 @@ export declare namespace aptos_account {
|
|
1457
1904
|
}
|
1458
1905
|
export declare namespace create_signer { }
|
1459
1906
|
export declare namespace fixed_point32 {
|
1460
|
-
|
1461
|
-
static TYPE_QNAME: string;
|
1907
|
+
interface FixedPoint32 {
|
1462
1908
|
value: bigint;
|
1463
1909
|
}
|
1910
|
+
namespace FixedPoint32 {
|
1911
|
+
const TYPE_QNAME = "0x1::fixed_point32::FixedPoint32";
|
1912
|
+
function type(): TypeDescriptor<FixedPoint32>;
|
1913
|
+
}
|
1464
1914
|
}
|
1465
1915
|
export declare namespace multi_ed25519 {
|
1466
|
-
|
1467
|
-
static TYPE_QNAME: string;
|
1916
|
+
interface Signature {
|
1468
1917
|
bytes: string;
|
1469
1918
|
}
|
1470
|
-
|
1471
|
-
|
1919
|
+
namespace Signature {
|
1920
|
+
const TYPE_QNAME = "0x1::multi_ed25519::Signature";
|
1921
|
+
function type(): TypeDescriptor<Signature>;
|
1922
|
+
}
|
1923
|
+
interface UnvalidatedPublicKey {
|
1472
1924
|
bytes: string;
|
1473
1925
|
}
|
1474
|
-
|
1475
|
-
|
1926
|
+
namespace UnvalidatedPublicKey {
|
1927
|
+
const TYPE_QNAME = "0x1::multi_ed25519::UnvalidatedPublicKey";
|
1928
|
+
function type(): TypeDescriptor<UnvalidatedPublicKey>;
|
1929
|
+
}
|
1930
|
+
interface ValidatedPublicKey {
|
1476
1931
|
bytes: string;
|
1477
1932
|
}
|
1933
|
+
namespace ValidatedPublicKey {
|
1934
|
+
const TYPE_QNAME = "0x1::multi_ed25519::ValidatedPublicKey";
|
1935
|
+
function type(): TypeDescriptor<ValidatedPublicKey>;
|
1936
|
+
}
|
1478
1937
|
}
|
1479
1938
|
export declare class staking_proxy extends AptosBaseProcessor {
|
1480
1939
|
constructor(options: AptosBindOptions);
|
@@ -1524,24 +1983,32 @@ export declare namespace staking_proxy {
|
|
1524
1983
|
}
|
1525
1984
|
}
|
1526
1985
|
export declare namespace state_storage {
|
1527
|
-
|
1528
|
-
static TYPE_QNAME: string;
|
1986
|
+
interface GasParameter {
|
1529
1987
|
usage: state_storage.Usage;
|
1530
1988
|
}
|
1531
|
-
|
1532
|
-
|
1989
|
+
namespace GasParameter {
|
1990
|
+
const TYPE_QNAME = "0x1::state_storage::GasParameter";
|
1991
|
+
function type(): TypeDescriptor<GasParameter>;
|
1992
|
+
}
|
1993
|
+
interface StateStorageUsage {
|
1533
1994
|
epoch: bigint;
|
1534
1995
|
usage: state_storage.Usage;
|
1535
1996
|
}
|
1536
|
-
|
1537
|
-
|
1997
|
+
namespace StateStorageUsage {
|
1998
|
+
const TYPE_QNAME = "0x1::state_storage::StateStorageUsage";
|
1999
|
+
function type(): TypeDescriptor<StateStorageUsage>;
|
2000
|
+
}
|
2001
|
+
interface Usage {
|
1538
2002
|
items: bigint;
|
1539
2003
|
bytes: bigint;
|
1540
2004
|
}
|
2005
|
+
namespace Usage {
|
2006
|
+
const TYPE_QNAME = "0x1::state_storage::Usage";
|
2007
|
+
function type(): TypeDescriptor<Usage>;
|
2008
|
+
}
|
1541
2009
|
}
|
1542
2010
|
export declare namespace staking_config {
|
1543
|
-
|
1544
|
-
static TYPE_QNAME: string;
|
2011
|
+
interface StakingConfig {
|
1545
2012
|
minimum_stake: bigint;
|
1546
2013
|
maximum_stake: bigint;
|
1547
2014
|
recurring_lockup_duration_secs: bigint;
|
@@ -1550,6 +2017,10 @@ export declare namespace staking_config {
|
|
1550
2017
|
rewards_rate_denominator: bigint;
|
1551
2018
|
voting_power_increase_limit: bigint;
|
1552
2019
|
}
|
2020
|
+
namespace StakingConfig {
|
2021
|
+
const TYPE_QNAME = "0x1::staking_config::StakingConfig";
|
2022
|
+
function type(): TypeDescriptor<StakingConfig>;
|
2023
|
+
}
|
1553
2024
|
}
|
1554
2025
|
export declare class delegation_pool extends AptosBaseProcessor {
|
1555
2026
|
constructor(options: AptosBindOptions);
|
@@ -1570,19 +2041,21 @@ export declare class delegation_pool extends AptosBaseProcessor {
|
|
1570
2041
|
onEventDistributeCommissionEvent(func: (event: delegation_pool.DistributeCommissionEventInstance, ctx: AptosContext) => void, fetchConfig?: Partial<MoveFetchConfig>): delegation_pool;
|
1571
2042
|
}
|
1572
2043
|
export declare namespace delegation_pool {
|
1573
|
-
|
1574
|
-
static TYPE_QNAME: string;
|
2044
|
+
interface AddStakeEvent {
|
1575
2045
|
pool_address: Address;
|
1576
2046
|
delegator_address: Address;
|
1577
2047
|
amount_added: bigint;
|
1578
2048
|
add_stake_fee: bigint;
|
1579
2049
|
}
|
2050
|
+
namespace AddStakeEvent {
|
2051
|
+
const TYPE_QNAME = "0x1::delegation_pool::AddStakeEvent";
|
2052
|
+
function type(): TypeDescriptor<AddStakeEvent>;
|
2053
|
+
}
|
1580
2054
|
interface AddStakeEventInstance extends TypedEventInstance<AddStakeEvent> {
|
1581
2055
|
data_decoded: AddStakeEvent;
|
1582
2056
|
type_arguments: [];
|
1583
2057
|
}
|
1584
|
-
|
1585
|
-
static TYPE_QNAME: string;
|
2058
|
+
interface DelegationPool {
|
1586
2059
|
active_shares: pool_u64_unbound.Pool;
|
1587
2060
|
observed_lockup_cycle: delegation_pool.ObservedLockupCycle;
|
1588
2061
|
inactive_shares: table.Table<delegation_pool.ObservedLockupCycle, pool_u64_unbound.Pool>;
|
@@ -1596,51 +2069,73 @@ export declare namespace delegation_pool {
|
|
1596
2069
|
withdraw_stake_events: event.EventHandle<delegation_pool.WithdrawStakeEvent>;
|
1597
2070
|
distribute_commission_events: event.EventHandle<delegation_pool.DistributeCommissionEvent>;
|
1598
2071
|
}
|
1599
|
-
|
1600
|
-
|
2072
|
+
namespace DelegationPool {
|
2073
|
+
const TYPE_QNAME = "0x1::delegation_pool::DelegationPool";
|
2074
|
+
function type(): TypeDescriptor<DelegationPool>;
|
2075
|
+
}
|
2076
|
+
interface DelegationPoolOwnership {
|
1601
2077
|
pool_address: Address;
|
1602
2078
|
}
|
1603
|
-
|
1604
|
-
|
2079
|
+
namespace DelegationPoolOwnership {
|
2080
|
+
const TYPE_QNAME = "0x1::delegation_pool::DelegationPoolOwnership";
|
2081
|
+
function type(): TypeDescriptor<DelegationPoolOwnership>;
|
2082
|
+
}
|
2083
|
+
interface DistributeCommissionEvent {
|
1605
2084
|
pool_address: Address;
|
1606
2085
|
operator: Address;
|
1607
2086
|
commission_active: bigint;
|
1608
2087
|
commission_pending_inactive: bigint;
|
1609
2088
|
}
|
2089
|
+
namespace DistributeCommissionEvent {
|
2090
|
+
const TYPE_QNAME = "0x1::delegation_pool::DistributeCommissionEvent";
|
2091
|
+
function type(): TypeDescriptor<DistributeCommissionEvent>;
|
2092
|
+
}
|
1610
2093
|
interface DistributeCommissionEventInstance extends TypedEventInstance<DistributeCommissionEvent> {
|
1611
2094
|
data_decoded: DistributeCommissionEvent;
|
1612
2095
|
type_arguments: [];
|
1613
2096
|
}
|
1614
|
-
|
1615
|
-
static TYPE_QNAME: string;
|
2097
|
+
interface ObservedLockupCycle {
|
1616
2098
|
index: bigint;
|
1617
2099
|
}
|
1618
|
-
|
1619
|
-
|
2100
|
+
namespace ObservedLockupCycle {
|
2101
|
+
const TYPE_QNAME = "0x1::delegation_pool::ObservedLockupCycle";
|
2102
|
+
function type(): TypeDescriptor<ObservedLockupCycle>;
|
2103
|
+
}
|
2104
|
+
interface ReactivateStakeEvent {
|
1620
2105
|
pool_address: Address;
|
1621
2106
|
delegator_address: Address;
|
1622
2107
|
amount_reactivated: bigint;
|
1623
2108
|
}
|
2109
|
+
namespace ReactivateStakeEvent {
|
2110
|
+
const TYPE_QNAME = "0x1::delegation_pool::ReactivateStakeEvent";
|
2111
|
+
function type(): TypeDescriptor<ReactivateStakeEvent>;
|
2112
|
+
}
|
1624
2113
|
interface ReactivateStakeEventInstance extends TypedEventInstance<ReactivateStakeEvent> {
|
1625
2114
|
data_decoded: ReactivateStakeEvent;
|
1626
2115
|
type_arguments: [];
|
1627
2116
|
}
|
1628
|
-
|
1629
|
-
static TYPE_QNAME: string;
|
2117
|
+
interface UnlockStakeEvent {
|
1630
2118
|
pool_address: Address;
|
1631
2119
|
delegator_address: Address;
|
1632
2120
|
amount_unlocked: bigint;
|
1633
2121
|
}
|
2122
|
+
namespace UnlockStakeEvent {
|
2123
|
+
const TYPE_QNAME = "0x1::delegation_pool::UnlockStakeEvent";
|
2124
|
+
function type(): TypeDescriptor<UnlockStakeEvent>;
|
2125
|
+
}
|
1634
2126
|
interface UnlockStakeEventInstance extends TypedEventInstance<UnlockStakeEvent> {
|
1635
2127
|
data_decoded: UnlockStakeEvent;
|
1636
2128
|
type_arguments: [];
|
1637
2129
|
}
|
1638
|
-
|
1639
|
-
static TYPE_QNAME: string;
|
2130
|
+
interface WithdrawStakeEvent {
|
1640
2131
|
pool_address: Address;
|
1641
2132
|
delegator_address: Address;
|
1642
2133
|
amount_withdrawn: bigint;
|
1643
2134
|
}
|
2135
|
+
namespace WithdrawStakeEvent {
|
2136
|
+
const TYPE_QNAME = "0x1::delegation_pool::WithdrawStakeEvent";
|
2137
|
+
function type(): TypeDescriptor<WithdrawStakeEvent>;
|
2138
|
+
}
|
1644
2139
|
interface WithdrawStakeEventInstance extends TypedEventInstance<WithdrawStakeEvent> {
|
1645
2140
|
data_decoded: WithdrawStakeEvent;
|
1646
2141
|
type_arguments: [];
|
@@ -1685,36 +2180,51 @@ export declare class reconfiguration extends AptosBaseProcessor {
|
|
1685
2180
|
onEventNewEpochEvent(func: (event: reconfiguration.NewEpochEventInstance, ctx: AptosContext) => void, fetchConfig?: Partial<MoveFetchConfig>): reconfiguration;
|
1686
2181
|
}
|
1687
2182
|
export declare namespace reconfiguration {
|
1688
|
-
|
1689
|
-
static TYPE_QNAME: string;
|
2183
|
+
interface Configuration {
|
1690
2184
|
epoch: bigint;
|
1691
2185
|
last_reconfiguration_time: bigint;
|
1692
2186
|
events: event.EventHandle<reconfiguration.NewEpochEvent>;
|
1693
2187
|
}
|
1694
|
-
|
1695
|
-
|
2188
|
+
namespace Configuration {
|
2189
|
+
const TYPE_QNAME = "0x1::reconfiguration::Configuration";
|
2190
|
+
function type(): TypeDescriptor<Configuration>;
|
2191
|
+
}
|
2192
|
+
interface DisableReconfiguration {
|
1696
2193
|
dummy_field: Boolean;
|
1697
2194
|
}
|
1698
|
-
|
1699
|
-
|
2195
|
+
namespace DisableReconfiguration {
|
2196
|
+
const TYPE_QNAME = "0x1::reconfiguration::DisableReconfiguration";
|
2197
|
+
function type(): TypeDescriptor<DisableReconfiguration>;
|
2198
|
+
}
|
2199
|
+
interface NewEpochEvent {
|
1700
2200
|
epoch: bigint;
|
1701
2201
|
}
|
2202
|
+
namespace NewEpochEvent {
|
2203
|
+
const TYPE_QNAME = "0x1::reconfiguration::NewEpochEvent";
|
2204
|
+
function type(): TypeDescriptor<NewEpochEvent>;
|
2205
|
+
}
|
1702
2206
|
interface NewEpochEventInstance extends TypedEventInstance<NewEpochEvent> {
|
1703
2207
|
data_decoded: NewEpochEvent;
|
1704
2208
|
type_arguments: [];
|
1705
2209
|
}
|
1706
2210
|
}
|
1707
2211
|
export declare namespace transaction_fee {
|
1708
|
-
|
1709
|
-
static TYPE_QNAME: string;
|
2212
|
+
interface AptosCoinCapabilities {
|
1710
2213
|
burn_cap: coin.BurnCapability<aptos_coin.AptosCoin>;
|
1711
2214
|
}
|
1712
|
-
|
1713
|
-
|
2215
|
+
namespace AptosCoinCapabilities {
|
2216
|
+
const TYPE_QNAME = "0x1::transaction_fee::AptosCoinCapabilities";
|
2217
|
+
function type(): TypeDescriptor<AptosCoinCapabilities>;
|
2218
|
+
}
|
2219
|
+
interface CollectedFeesPerBlock {
|
1714
2220
|
amount: coin.AggregatableCoin<aptos_coin.AptosCoin>;
|
1715
2221
|
proposer: option.Option<Address>;
|
1716
2222
|
burn_percentage: number;
|
1717
2223
|
}
|
2224
|
+
namespace CollectedFeesPerBlock {
|
2225
|
+
const TYPE_QNAME = "0x1::transaction_fee::CollectedFeesPerBlock";
|
2226
|
+
function type(): TypeDescriptor<CollectedFeesPerBlock>;
|
2227
|
+
}
|
1718
2228
|
}
|
1719
2229
|
export declare class aptos_governance extends AptosBaseProcessor {
|
1720
2230
|
constructor(options: AptosBindOptions);
|
@@ -1729,69 +2239,96 @@ export declare class aptos_governance extends AptosBaseProcessor {
|
|
1729
2239
|
onEventVoteEvent(func: (event: aptos_governance.VoteEventInstance, ctx: AptosContext) => void, fetchConfig?: Partial<MoveFetchConfig>): aptos_governance;
|
1730
2240
|
}
|
1731
2241
|
export declare namespace aptos_governance {
|
1732
|
-
|
1733
|
-
static TYPE_QNAME: string;
|
2242
|
+
interface ApprovedExecutionHashes {
|
1734
2243
|
hashes: simple_map.SimpleMap<bigint, string>;
|
1735
2244
|
}
|
1736
|
-
|
1737
|
-
|
2245
|
+
namespace ApprovedExecutionHashes {
|
2246
|
+
const TYPE_QNAME = "0x1::aptos_governance::ApprovedExecutionHashes";
|
2247
|
+
function type(): TypeDescriptor<ApprovedExecutionHashes>;
|
2248
|
+
}
|
2249
|
+
interface CreateProposalEvent {
|
1738
2250
|
proposer: Address;
|
1739
2251
|
stake_pool: Address;
|
1740
2252
|
proposal_id: bigint;
|
1741
2253
|
execution_hash: string;
|
1742
2254
|
proposal_metadata: simple_map.SimpleMap<string, string>;
|
1743
2255
|
}
|
2256
|
+
namespace CreateProposalEvent {
|
2257
|
+
const TYPE_QNAME = "0x1::aptos_governance::CreateProposalEvent";
|
2258
|
+
function type(): TypeDescriptor<CreateProposalEvent>;
|
2259
|
+
}
|
1744
2260
|
interface CreateProposalEventInstance extends TypedEventInstance<CreateProposalEvent> {
|
1745
2261
|
data_decoded: CreateProposalEvent;
|
1746
2262
|
type_arguments: [];
|
1747
2263
|
}
|
1748
|
-
|
1749
|
-
static TYPE_QNAME: string;
|
2264
|
+
interface GovernanceConfig {
|
1750
2265
|
min_voting_threshold: bigint;
|
1751
2266
|
required_proposer_stake: bigint;
|
1752
2267
|
voting_duration_secs: bigint;
|
1753
2268
|
}
|
1754
|
-
|
1755
|
-
|
2269
|
+
namespace GovernanceConfig {
|
2270
|
+
const TYPE_QNAME = "0x1::aptos_governance::GovernanceConfig";
|
2271
|
+
function type(): TypeDescriptor<GovernanceConfig>;
|
2272
|
+
}
|
2273
|
+
interface GovernanceEvents {
|
1756
2274
|
create_proposal_events: event.EventHandle<aptos_governance.CreateProposalEvent>;
|
1757
2275
|
update_config_events: event.EventHandle<aptos_governance.UpdateConfigEvent>;
|
1758
2276
|
vote_events: event.EventHandle<aptos_governance.VoteEvent>;
|
1759
2277
|
}
|
1760
|
-
|
1761
|
-
|
2278
|
+
namespace GovernanceEvents {
|
2279
|
+
const TYPE_QNAME = "0x1::aptos_governance::GovernanceEvents";
|
2280
|
+
function type(): TypeDescriptor<GovernanceEvents>;
|
2281
|
+
}
|
2282
|
+
interface GovernanceResponsbility {
|
1762
2283
|
signer_caps: simple_map.SimpleMap<Address, account.SignerCapability>;
|
1763
2284
|
}
|
1764
|
-
|
1765
|
-
|
2285
|
+
namespace GovernanceResponsbility {
|
2286
|
+
const TYPE_QNAME = "0x1::aptos_governance::GovernanceResponsbility";
|
2287
|
+
function type(): TypeDescriptor<GovernanceResponsbility>;
|
2288
|
+
}
|
2289
|
+
interface RecordKey {
|
1766
2290
|
stake_pool: Address;
|
1767
2291
|
proposal_id: bigint;
|
1768
2292
|
}
|
1769
|
-
|
1770
|
-
|
2293
|
+
namespace RecordKey {
|
2294
|
+
const TYPE_QNAME = "0x1::aptos_governance::RecordKey";
|
2295
|
+
function type(): TypeDescriptor<RecordKey>;
|
2296
|
+
}
|
2297
|
+
interface UpdateConfigEvent {
|
1771
2298
|
min_voting_threshold: bigint;
|
1772
2299
|
required_proposer_stake: bigint;
|
1773
2300
|
voting_duration_secs: bigint;
|
1774
2301
|
}
|
2302
|
+
namespace UpdateConfigEvent {
|
2303
|
+
const TYPE_QNAME = "0x1::aptos_governance::UpdateConfigEvent";
|
2304
|
+
function type(): TypeDescriptor<UpdateConfigEvent>;
|
2305
|
+
}
|
1775
2306
|
interface UpdateConfigEventInstance extends TypedEventInstance<UpdateConfigEvent> {
|
1776
2307
|
data_decoded: UpdateConfigEvent;
|
1777
2308
|
type_arguments: [];
|
1778
2309
|
}
|
1779
|
-
|
1780
|
-
static TYPE_QNAME: string;
|
2310
|
+
interface VoteEvent {
|
1781
2311
|
proposal_id: bigint;
|
1782
2312
|
voter: Address;
|
1783
2313
|
stake_pool: Address;
|
1784
2314
|
num_votes: bigint;
|
1785
2315
|
should_pass: Boolean;
|
1786
2316
|
}
|
2317
|
+
namespace VoteEvent {
|
2318
|
+
const TYPE_QNAME = "0x1::aptos_governance::VoteEvent";
|
2319
|
+
function type(): TypeDescriptor<VoteEvent>;
|
2320
|
+
}
|
1787
2321
|
interface VoteEventInstance extends TypedEventInstance<VoteEvent> {
|
1788
2322
|
data_decoded: VoteEvent;
|
1789
2323
|
type_arguments: [];
|
1790
2324
|
}
|
1791
|
-
|
1792
|
-
static TYPE_QNAME: string;
|
2325
|
+
interface VotingRecords {
|
1793
2326
|
votes: table.Table<aptos_governance.RecordKey, Boolean>;
|
1794
2327
|
}
|
2328
|
+
namespace VotingRecords {
|
2329
|
+
const TYPE_QNAME = "0x1::aptos_governance::VotingRecords";
|
2330
|
+
function type(): TypeDescriptor<VotingRecords>;
|
2331
|
+
}
|
1795
2332
|
interface AddApprovedScriptHashScriptPayload extends TypedFunctionPayload<[bigint]> {
|
1796
2333
|
arguments_decoded: [bigint];
|
1797
2334
|
type_arguments: [];
|
@@ -1810,10 +2347,13 @@ export declare namespace aptos_governance {
|
|
1810
2347
|
}
|
1811
2348
|
}
|
1812
2349
|
export declare namespace consensus_config {
|
1813
|
-
|
1814
|
-
static TYPE_QNAME: string;
|
2350
|
+
interface ConsensusConfig {
|
1815
2351
|
config: string;
|
1816
2352
|
}
|
2353
|
+
namespace ConsensusConfig {
|
2354
|
+
const TYPE_QNAME = "0x1::consensus_config::ConsensusConfig";
|
2355
|
+
function type(): TypeDescriptor<ConsensusConfig>;
|
2356
|
+
}
|
1817
2357
|
}
|
1818
2358
|
export declare class multisig_account extends AptosBaseProcessor {
|
1819
2359
|
constructor(options: AptosBindOptions);
|
@@ -1845,51 +2385,65 @@ export declare class multisig_account extends AptosBaseProcessor {
|
|
1845
2385
|
onEventMetadataUpdatedEvent(func: (event: multisig_account.MetadataUpdatedEventInstance, ctx: AptosContext) => void, fetchConfig?: Partial<MoveFetchConfig>): multisig_account;
|
1846
2386
|
}
|
1847
2387
|
export declare namespace multisig_account {
|
1848
|
-
|
1849
|
-
static TYPE_QNAME: string;
|
2388
|
+
interface AddOwnersEvent {
|
1850
2389
|
owners_added: Address[];
|
1851
2390
|
}
|
2391
|
+
namespace AddOwnersEvent {
|
2392
|
+
const TYPE_QNAME = "0x1::multisig_account::AddOwnersEvent";
|
2393
|
+
function type(): TypeDescriptor<AddOwnersEvent>;
|
2394
|
+
}
|
1852
2395
|
interface AddOwnersEventInstance extends TypedEventInstance<AddOwnersEvent> {
|
1853
2396
|
data_decoded: AddOwnersEvent;
|
1854
2397
|
type_arguments: [];
|
1855
2398
|
}
|
1856
|
-
|
1857
|
-
static TYPE_QNAME: string;
|
2399
|
+
interface CreateTransactionEvent {
|
1858
2400
|
creator: Address;
|
1859
2401
|
sequence_number: bigint;
|
1860
2402
|
transaction: multisig_account.MultisigTransaction;
|
1861
2403
|
}
|
2404
|
+
namespace CreateTransactionEvent {
|
2405
|
+
const TYPE_QNAME = "0x1::multisig_account::CreateTransactionEvent";
|
2406
|
+
function type(): TypeDescriptor<CreateTransactionEvent>;
|
2407
|
+
}
|
1862
2408
|
interface CreateTransactionEventInstance extends TypedEventInstance<CreateTransactionEvent> {
|
1863
2409
|
data_decoded: CreateTransactionEvent;
|
1864
2410
|
type_arguments: [];
|
1865
2411
|
}
|
1866
|
-
|
1867
|
-
static TYPE_QNAME: string;
|
2412
|
+
interface ExecuteRejectedTransactionEvent {
|
1868
2413
|
sequence_number: bigint;
|
1869
2414
|
num_rejections: bigint;
|
1870
2415
|
executor: Address;
|
1871
2416
|
}
|
2417
|
+
namespace ExecuteRejectedTransactionEvent {
|
2418
|
+
const TYPE_QNAME = "0x1::multisig_account::ExecuteRejectedTransactionEvent";
|
2419
|
+
function type(): TypeDescriptor<ExecuteRejectedTransactionEvent>;
|
2420
|
+
}
|
1872
2421
|
interface ExecuteRejectedTransactionEventInstance extends TypedEventInstance<ExecuteRejectedTransactionEvent> {
|
1873
2422
|
data_decoded: ExecuteRejectedTransactionEvent;
|
1874
2423
|
type_arguments: [];
|
1875
2424
|
}
|
1876
|
-
|
1877
|
-
static TYPE_QNAME: string;
|
2425
|
+
interface ExecutionError {
|
1878
2426
|
abort_location: string;
|
1879
2427
|
error_type: string;
|
1880
2428
|
error_code: bigint;
|
1881
2429
|
}
|
1882
|
-
|
1883
|
-
|
2430
|
+
namespace ExecutionError {
|
2431
|
+
const TYPE_QNAME = "0x1::multisig_account::ExecutionError";
|
2432
|
+
function type(): TypeDescriptor<ExecutionError>;
|
2433
|
+
}
|
2434
|
+
interface MetadataUpdatedEvent {
|
1884
2435
|
old_metadata: simple_map.SimpleMap<string, string>;
|
1885
2436
|
new_metadata: simple_map.SimpleMap<string, string>;
|
1886
2437
|
}
|
2438
|
+
namespace MetadataUpdatedEvent {
|
2439
|
+
const TYPE_QNAME = "0x1::multisig_account::MetadataUpdatedEvent";
|
2440
|
+
function type(): TypeDescriptor<MetadataUpdatedEvent>;
|
2441
|
+
}
|
1887
2442
|
interface MetadataUpdatedEventInstance extends TypedEventInstance<MetadataUpdatedEvent> {
|
1888
2443
|
data_decoded: MetadataUpdatedEvent;
|
1889
2444
|
type_arguments: [];
|
1890
2445
|
}
|
1891
|
-
|
1892
|
-
static TYPE_QNAME: string;
|
2446
|
+
interface MultisigAccount {
|
1893
2447
|
owners: Address[];
|
1894
2448
|
num_signatures_required: bigint;
|
1895
2449
|
transactions: table.Table<bigint, multisig_account.MultisigTransaction>;
|
@@ -1907,68 +2461,93 @@ export declare namespace multisig_account {
|
|
1907
2461
|
transaction_execution_failed_events: event.EventHandle<multisig_account.TransactionExecutionFailedEvent>;
|
1908
2462
|
metadata_updated_events: event.EventHandle<multisig_account.MetadataUpdatedEvent>;
|
1909
2463
|
}
|
1910
|
-
|
1911
|
-
|
2464
|
+
namespace MultisigAccount {
|
2465
|
+
const TYPE_QNAME = "0x1::multisig_account::MultisigAccount";
|
2466
|
+
function type(): TypeDescriptor<MultisigAccount>;
|
2467
|
+
}
|
2468
|
+
interface MultisigAccountCreationMessage {
|
1912
2469
|
chain_id: number;
|
1913
2470
|
account_address: Address;
|
1914
2471
|
sequence_number: bigint;
|
1915
2472
|
owners: Address[];
|
1916
2473
|
num_signatures_required: bigint;
|
1917
2474
|
}
|
1918
|
-
|
1919
|
-
|
2475
|
+
namespace MultisigAccountCreationMessage {
|
2476
|
+
const TYPE_QNAME = "0x1::multisig_account::MultisigAccountCreationMessage";
|
2477
|
+
function type(): TypeDescriptor<MultisigAccountCreationMessage>;
|
2478
|
+
}
|
2479
|
+
interface MultisigTransaction {
|
1920
2480
|
payload: option.Option<string>;
|
1921
2481
|
payload_hash: option.Option<string>;
|
1922
2482
|
votes: simple_map.SimpleMap<Address, Boolean>;
|
1923
2483
|
creator: Address;
|
1924
2484
|
creation_time_secs: bigint;
|
1925
2485
|
}
|
1926
|
-
|
1927
|
-
|
2486
|
+
namespace MultisigTransaction {
|
2487
|
+
const TYPE_QNAME = "0x1::multisig_account::MultisigTransaction";
|
2488
|
+
function type(): TypeDescriptor<MultisigTransaction>;
|
2489
|
+
}
|
2490
|
+
interface RemoveOwnersEvent {
|
1928
2491
|
owners_removed: Address[];
|
1929
2492
|
}
|
2493
|
+
namespace RemoveOwnersEvent {
|
2494
|
+
const TYPE_QNAME = "0x1::multisig_account::RemoveOwnersEvent";
|
2495
|
+
function type(): TypeDescriptor<RemoveOwnersEvent>;
|
2496
|
+
}
|
1930
2497
|
interface RemoveOwnersEventInstance extends TypedEventInstance<RemoveOwnersEvent> {
|
1931
2498
|
data_decoded: RemoveOwnersEvent;
|
1932
2499
|
type_arguments: [];
|
1933
2500
|
}
|
1934
|
-
|
1935
|
-
static TYPE_QNAME: string;
|
2501
|
+
interface TransactionExecutionFailedEvent {
|
1936
2502
|
executor: Address;
|
1937
2503
|
sequence_number: bigint;
|
1938
2504
|
transaction_payload: string;
|
1939
2505
|
num_approvals: bigint;
|
1940
2506
|
execution_error: multisig_account.ExecutionError;
|
1941
2507
|
}
|
2508
|
+
namespace TransactionExecutionFailedEvent {
|
2509
|
+
const TYPE_QNAME = "0x1::multisig_account::TransactionExecutionFailedEvent";
|
2510
|
+
function type(): TypeDescriptor<TransactionExecutionFailedEvent>;
|
2511
|
+
}
|
1942
2512
|
interface TransactionExecutionFailedEventInstance extends TypedEventInstance<TransactionExecutionFailedEvent> {
|
1943
2513
|
data_decoded: TransactionExecutionFailedEvent;
|
1944
2514
|
type_arguments: [];
|
1945
2515
|
}
|
1946
|
-
|
1947
|
-
static TYPE_QNAME: string;
|
2516
|
+
interface TransactionExecutionSucceededEvent {
|
1948
2517
|
executor: Address;
|
1949
2518
|
sequence_number: bigint;
|
1950
2519
|
transaction_payload: string;
|
1951
2520
|
num_approvals: bigint;
|
1952
2521
|
}
|
2522
|
+
namespace TransactionExecutionSucceededEvent {
|
2523
|
+
const TYPE_QNAME = "0x1::multisig_account::TransactionExecutionSucceededEvent";
|
2524
|
+
function type(): TypeDescriptor<TransactionExecutionSucceededEvent>;
|
2525
|
+
}
|
1953
2526
|
interface TransactionExecutionSucceededEventInstance extends TypedEventInstance<TransactionExecutionSucceededEvent> {
|
1954
2527
|
data_decoded: TransactionExecutionSucceededEvent;
|
1955
2528
|
type_arguments: [];
|
1956
2529
|
}
|
1957
|
-
|
1958
|
-
static TYPE_QNAME: string;
|
2530
|
+
interface UpdateSignaturesRequiredEvent {
|
1959
2531
|
old_num_signatures_required: bigint;
|
1960
2532
|
new_num_signatures_required: bigint;
|
1961
2533
|
}
|
2534
|
+
namespace UpdateSignaturesRequiredEvent {
|
2535
|
+
const TYPE_QNAME = "0x1::multisig_account::UpdateSignaturesRequiredEvent";
|
2536
|
+
function type(): TypeDescriptor<UpdateSignaturesRequiredEvent>;
|
2537
|
+
}
|
1962
2538
|
interface UpdateSignaturesRequiredEventInstance extends TypedEventInstance<UpdateSignaturesRequiredEvent> {
|
1963
2539
|
data_decoded: UpdateSignaturesRequiredEvent;
|
1964
2540
|
type_arguments: [];
|
1965
2541
|
}
|
1966
|
-
|
1967
|
-
static TYPE_QNAME: string;
|
2542
|
+
interface VoteEvent {
|
1968
2543
|
owner: Address;
|
1969
2544
|
sequence_number: bigint;
|
1970
2545
|
approved: Boolean;
|
1971
2546
|
}
|
2547
|
+
namespace VoteEvent {
|
2548
|
+
const TYPE_QNAME = "0x1::multisig_account::VoteEvent";
|
2549
|
+
function type(): TypeDescriptor<VoteEvent>;
|
2550
|
+
}
|
1972
2551
|
interface VoteEventInstance extends TypedEventInstance<VoteEvent> {
|
1973
2552
|
data_decoded: VoteEvent;
|
1974
2553
|
type_arguments: [];
|
@@ -2053,13 +2632,16 @@ export declare namespace multisig_account {
|
|
2053
2632
|
}
|
2054
2633
|
}
|
2055
2634
|
export declare namespace pool_u64_unbound {
|
2056
|
-
|
2057
|
-
static TYPE_QNAME: string;
|
2635
|
+
interface Pool {
|
2058
2636
|
total_coins: bigint;
|
2059
2637
|
total_shares: bigint;
|
2060
2638
|
shares: table_with_length.TableWithLength<Address, bigint>;
|
2061
2639
|
scaling_factor: bigint;
|
2062
2640
|
}
|
2641
|
+
namespace Pool {
|
2642
|
+
const TYPE_QNAME = "0x1::pool_u64_unbound::Pool";
|
2643
|
+
function type(): TypeDescriptor<Pool>;
|
2644
|
+
}
|
2063
2645
|
}
|
2064
2646
|
export declare class resource_account extends AptosBaseProcessor {
|
2065
2647
|
constructor(options: AptosBindOptions);
|
@@ -2070,10 +2652,13 @@ export declare class resource_account extends AptosBaseProcessor {
|
|
2070
2652
|
onEntryCreateResourceAccountAndPublishPackage(func: (call: resource_account.CreateResourceAccountAndPublishPackagePayload, ctx: AptosContext) => void, filter?: CallFilter, fetchConfig?: Partial<MoveFetchConfig>): resource_account;
|
2071
2653
|
}
|
2072
2654
|
export declare namespace resource_account {
|
2073
|
-
|
2074
|
-
static TYPE_QNAME: string;
|
2655
|
+
interface Container {
|
2075
2656
|
store: simple_map.SimpleMap<Address, account.SignerCapability>;
|
2076
2657
|
}
|
2658
|
+
namespace Container {
|
2659
|
+
const TYPE_QNAME = "0x1::resource_account::Container";
|
2660
|
+
function type(): TypeDescriptor<Container>;
|
2661
|
+
}
|
2077
2662
|
interface CreateResourceAccountPayload extends TypedFunctionPayload<[string, string]> {
|
2078
2663
|
arguments_decoded: [string, string];
|
2079
2664
|
type_arguments: [];
|
@@ -2114,71 +2699,88 @@ export declare class staking_contract extends AptosBaseProcessor {
|
|
2114
2699
|
onEventDistributeEvent(func: (event: staking_contract.DistributeEventInstance, ctx: AptosContext) => void, fetchConfig?: Partial<MoveFetchConfig>): staking_contract;
|
2115
2700
|
}
|
2116
2701
|
export declare namespace staking_contract {
|
2117
|
-
|
2118
|
-
static TYPE_QNAME: string;
|
2702
|
+
interface AddDistributionEvent {
|
2119
2703
|
operator: Address;
|
2120
2704
|
pool_address: Address;
|
2121
2705
|
amount: bigint;
|
2122
2706
|
}
|
2707
|
+
namespace AddDistributionEvent {
|
2708
|
+
const TYPE_QNAME = "0x1::staking_contract::AddDistributionEvent";
|
2709
|
+
function type(): TypeDescriptor<AddDistributionEvent>;
|
2710
|
+
}
|
2123
2711
|
interface AddDistributionEventInstance extends TypedEventInstance<AddDistributionEvent> {
|
2124
2712
|
data_decoded: AddDistributionEvent;
|
2125
2713
|
type_arguments: [];
|
2126
2714
|
}
|
2127
|
-
|
2128
|
-
static TYPE_QNAME: string;
|
2715
|
+
interface AddStakeEvent {
|
2129
2716
|
operator: Address;
|
2130
2717
|
pool_address: Address;
|
2131
2718
|
amount: bigint;
|
2132
2719
|
}
|
2720
|
+
namespace AddStakeEvent {
|
2721
|
+
const TYPE_QNAME = "0x1::staking_contract::AddStakeEvent";
|
2722
|
+
function type(): TypeDescriptor<AddStakeEvent>;
|
2723
|
+
}
|
2133
2724
|
interface AddStakeEventInstance extends TypedEventInstance<AddStakeEvent> {
|
2134
2725
|
data_decoded: AddStakeEvent;
|
2135
2726
|
type_arguments: [];
|
2136
2727
|
}
|
2137
|
-
|
2138
|
-
static TYPE_QNAME: string;
|
2728
|
+
interface CreateStakingContractEvent {
|
2139
2729
|
operator: Address;
|
2140
2730
|
voter: Address;
|
2141
2731
|
pool_address: Address;
|
2142
2732
|
principal: bigint;
|
2143
2733
|
commission_percentage: bigint;
|
2144
2734
|
}
|
2735
|
+
namespace CreateStakingContractEvent {
|
2736
|
+
const TYPE_QNAME = "0x1::staking_contract::CreateStakingContractEvent";
|
2737
|
+
function type(): TypeDescriptor<CreateStakingContractEvent>;
|
2738
|
+
}
|
2145
2739
|
interface CreateStakingContractEventInstance extends TypedEventInstance<CreateStakingContractEvent> {
|
2146
2740
|
data_decoded: CreateStakingContractEvent;
|
2147
2741
|
type_arguments: [];
|
2148
2742
|
}
|
2149
|
-
|
2150
|
-
static TYPE_QNAME: string;
|
2743
|
+
interface DistributeEvent {
|
2151
2744
|
operator: Address;
|
2152
2745
|
pool_address: Address;
|
2153
2746
|
recipient: Address;
|
2154
2747
|
amount: bigint;
|
2155
2748
|
}
|
2749
|
+
namespace DistributeEvent {
|
2750
|
+
const TYPE_QNAME = "0x1::staking_contract::DistributeEvent";
|
2751
|
+
function type(): TypeDescriptor<DistributeEvent>;
|
2752
|
+
}
|
2156
2753
|
interface DistributeEventInstance extends TypedEventInstance<DistributeEvent> {
|
2157
2754
|
data_decoded: DistributeEvent;
|
2158
2755
|
type_arguments: [];
|
2159
2756
|
}
|
2160
|
-
|
2161
|
-
static TYPE_QNAME: string;
|
2757
|
+
interface RequestCommissionEvent {
|
2162
2758
|
operator: Address;
|
2163
2759
|
pool_address: Address;
|
2164
2760
|
accumulated_rewards: bigint;
|
2165
2761
|
commission_amount: bigint;
|
2166
2762
|
}
|
2763
|
+
namespace RequestCommissionEvent {
|
2764
|
+
const TYPE_QNAME = "0x1::staking_contract::RequestCommissionEvent";
|
2765
|
+
function type(): TypeDescriptor<RequestCommissionEvent>;
|
2766
|
+
}
|
2167
2767
|
interface RequestCommissionEventInstance extends TypedEventInstance<RequestCommissionEvent> {
|
2168
2768
|
data_decoded: RequestCommissionEvent;
|
2169
2769
|
type_arguments: [];
|
2170
2770
|
}
|
2171
|
-
|
2172
|
-
static TYPE_QNAME: string;
|
2771
|
+
interface ResetLockupEvent {
|
2173
2772
|
operator: Address;
|
2174
2773
|
pool_address: Address;
|
2175
2774
|
}
|
2775
|
+
namespace ResetLockupEvent {
|
2776
|
+
const TYPE_QNAME = "0x1::staking_contract::ResetLockupEvent";
|
2777
|
+
function type(): TypeDescriptor<ResetLockupEvent>;
|
2778
|
+
}
|
2176
2779
|
interface ResetLockupEventInstance extends TypedEventInstance<ResetLockupEvent> {
|
2177
2780
|
data_decoded: ResetLockupEvent;
|
2178
2781
|
type_arguments: [];
|
2179
2782
|
}
|
2180
|
-
|
2181
|
-
static TYPE_QNAME: string;
|
2783
|
+
interface StakingContract {
|
2182
2784
|
principal: bigint;
|
2183
2785
|
pool_address: Address;
|
2184
2786
|
owner_cap: stake.OwnerCapability;
|
@@ -2186,16 +2788,25 @@ export declare namespace staking_contract {
|
|
2186
2788
|
distribution_pool: pool_u64.Pool;
|
2187
2789
|
signer_cap: account.SignerCapability;
|
2188
2790
|
}
|
2189
|
-
|
2190
|
-
|
2791
|
+
namespace StakingContract {
|
2792
|
+
const TYPE_QNAME = "0x1::staking_contract::StakingContract";
|
2793
|
+
function type(): TypeDescriptor<StakingContract>;
|
2794
|
+
}
|
2795
|
+
interface StakingGroupContainer {
|
2191
2796
|
dummy_field: Boolean;
|
2192
2797
|
}
|
2193
|
-
|
2194
|
-
|
2798
|
+
namespace StakingGroupContainer {
|
2799
|
+
const TYPE_QNAME = "0x1::staking_contract::StakingGroupContainer";
|
2800
|
+
function type(): TypeDescriptor<StakingGroupContainer>;
|
2801
|
+
}
|
2802
|
+
interface StakingGroupUpdateCommissionEvent {
|
2195
2803
|
update_commission_events: event.EventHandle<staking_contract.UpdateCommissionEvent>;
|
2196
2804
|
}
|
2197
|
-
|
2198
|
-
|
2805
|
+
namespace StakingGroupUpdateCommissionEvent {
|
2806
|
+
const TYPE_QNAME = "0x1::staking_contract::StakingGroupUpdateCommissionEvent";
|
2807
|
+
function type(): TypeDescriptor<StakingGroupUpdateCommissionEvent>;
|
2808
|
+
}
|
2809
|
+
interface Store {
|
2199
2810
|
staking_contracts: simple_map.SimpleMap<Address, staking_contract.StakingContract>;
|
2200
2811
|
create_staking_contract_events: event.EventHandle<staking_contract.CreateStakingContractEvent>;
|
2201
2812
|
update_voter_events: event.EventHandle<staking_contract.UpdateVoterEvent>;
|
@@ -2207,45 +2818,61 @@ export declare namespace staking_contract {
|
|
2207
2818
|
add_distribution_events: event.EventHandle<staking_contract.AddDistributionEvent>;
|
2208
2819
|
distribute_events: event.EventHandle<staking_contract.DistributeEvent>;
|
2209
2820
|
}
|
2210
|
-
|
2211
|
-
|
2821
|
+
namespace Store {
|
2822
|
+
const TYPE_QNAME = "0x1::staking_contract::Store";
|
2823
|
+
function type(): TypeDescriptor<Store>;
|
2824
|
+
}
|
2825
|
+
interface SwitchOperatorEvent {
|
2212
2826
|
old_operator: Address;
|
2213
2827
|
new_operator: Address;
|
2214
2828
|
pool_address: Address;
|
2215
2829
|
}
|
2830
|
+
namespace SwitchOperatorEvent {
|
2831
|
+
const TYPE_QNAME = "0x1::staking_contract::SwitchOperatorEvent";
|
2832
|
+
function type(): TypeDescriptor<SwitchOperatorEvent>;
|
2833
|
+
}
|
2216
2834
|
interface SwitchOperatorEventInstance extends TypedEventInstance<SwitchOperatorEvent> {
|
2217
2835
|
data_decoded: SwitchOperatorEvent;
|
2218
2836
|
type_arguments: [];
|
2219
2837
|
}
|
2220
|
-
|
2221
|
-
static TYPE_QNAME: string;
|
2838
|
+
interface UnlockStakeEvent {
|
2222
2839
|
operator: Address;
|
2223
2840
|
pool_address: Address;
|
2224
2841
|
amount: bigint;
|
2225
2842
|
commission_paid: bigint;
|
2226
2843
|
}
|
2844
|
+
namespace UnlockStakeEvent {
|
2845
|
+
const TYPE_QNAME = "0x1::staking_contract::UnlockStakeEvent";
|
2846
|
+
function type(): TypeDescriptor<UnlockStakeEvent>;
|
2847
|
+
}
|
2227
2848
|
interface UnlockStakeEventInstance extends TypedEventInstance<UnlockStakeEvent> {
|
2228
2849
|
data_decoded: UnlockStakeEvent;
|
2229
2850
|
type_arguments: [];
|
2230
2851
|
}
|
2231
|
-
|
2232
|
-
static TYPE_QNAME: string;
|
2852
|
+
interface UpdateCommissionEvent {
|
2233
2853
|
staker: Address;
|
2234
2854
|
operator: Address;
|
2235
2855
|
old_commission_percentage: bigint;
|
2236
2856
|
new_commission_percentage: bigint;
|
2237
2857
|
}
|
2858
|
+
namespace UpdateCommissionEvent {
|
2859
|
+
const TYPE_QNAME = "0x1::staking_contract::UpdateCommissionEvent";
|
2860
|
+
function type(): TypeDescriptor<UpdateCommissionEvent>;
|
2861
|
+
}
|
2238
2862
|
interface UpdateCommissionEventInstance extends TypedEventInstance<UpdateCommissionEvent> {
|
2239
2863
|
data_decoded: UpdateCommissionEvent;
|
2240
2864
|
type_arguments: [];
|
2241
2865
|
}
|
2242
|
-
|
2243
|
-
static TYPE_QNAME: string;
|
2866
|
+
interface UpdateVoterEvent {
|
2244
2867
|
operator: Address;
|
2245
2868
|
pool_address: Address;
|
2246
2869
|
old_voter: Address;
|
2247
2870
|
new_voter: Address;
|
2248
2871
|
}
|
2872
|
+
namespace UpdateVoterEvent {
|
2873
|
+
const TYPE_QNAME = "0x1::staking_contract::UpdateVoterEvent";
|
2874
|
+
function type(): TypeDescriptor<UpdateVoterEvent>;
|
2875
|
+
}
|
2249
2876
|
interface UpdateVoterEventInstance extends TypedEventInstance<UpdateVoterEvent> {
|
2250
2877
|
data_decoded: UpdateVoterEvent;
|
2251
2878
|
type_arguments: [];
|
@@ -2297,40 +2924,54 @@ export declare namespace staking_contract {
|
|
2297
2924
|
}
|
2298
2925
|
export declare namespace system_addresses { }
|
2299
2926
|
export declare namespace table_with_length {
|
2300
|
-
|
2301
|
-
static TYPE_QNAME: string;
|
2927
|
+
interface TableWithLength<T0, T1> {
|
2302
2928
|
inner: table.Table<T0, T1>;
|
2303
2929
|
length: bigint;
|
2304
2930
|
}
|
2931
|
+
namespace TableWithLength {
|
2932
|
+
const TYPE_QNAME = "0x1::table_with_length::TableWithLength";
|
2933
|
+
function type<T0, T1>(arg0?: TypeDescriptor<T0>, arg1?: TypeDescriptor<T1>): TypeDescriptor<TableWithLength<T0, T1>>;
|
2934
|
+
}
|
2305
2935
|
}
|
2306
2936
|
export declare namespace aggregator_factory {
|
2307
|
-
|
2308
|
-
static TYPE_QNAME: string;
|
2937
|
+
interface AggregatorFactory {
|
2309
2938
|
phantom_table: table.Table<Address, bigint>;
|
2310
2939
|
}
|
2940
|
+
namespace AggregatorFactory {
|
2941
|
+
const TYPE_QNAME = "0x1::aggregator_factory::AggregatorFactory";
|
2942
|
+
function type(): TypeDescriptor<AggregatorFactory>;
|
2943
|
+
}
|
2311
2944
|
}
|
2312
2945
|
export declare namespace governance_proposal {
|
2313
|
-
|
2314
|
-
static TYPE_QNAME: string;
|
2946
|
+
interface GovernanceProposal {
|
2315
2947
|
dummy_field: Boolean;
|
2316
2948
|
}
|
2949
|
+
namespace GovernanceProposal {
|
2950
|
+
const TYPE_QNAME = "0x1::governance_proposal::GovernanceProposal";
|
2951
|
+
function type(): TypeDescriptor<GovernanceProposal>;
|
2952
|
+
}
|
2317
2953
|
}
|
2318
2954
|
export declare namespace optional_aggregator {
|
2319
|
-
|
2320
|
-
static TYPE_QNAME: string;
|
2955
|
+
interface Integer {
|
2321
2956
|
value: bigint;
|
2322
2957
|
limit: bigint;
|
2323
2958
|
}
|
2324
|
-
|
2325
|
-
|
2959
|
+
namespace Integer {
|
2960
|
+
const TYPE_QNAME = "0x1::optional_aggregator::Integer";
|
2961
|
+
function type(): TypeDescriptor<Integer>;
|
2962
|
+
}
|
2963
|
+
interface OptionalAggregator {
|
2326
2964
|
aggregator: option.Option<aggregator.Aggregator>;
|
2327
2965
|
integer: option.Option<optional_aggregator.Integer>;
|
2328
2966
|
}
|
2967
|
+
namespace OptionalAggregator {
|
2968
|
+
const TYPE_QNAME = "0x1::optional_aggregator::OptionalAggregator";
|
2969
|
+
function type(): TypeDescriptor<OptionalAggregator>;
|
2970
|
+
}
|
2329
2971
|
}
|
2330
2972
|
export declare namespace transaction_context { }
|
2331
2973
|
export declare namespace transaction_validation {
|
2332
|
-
|
2333
|
-
static TYPE_QNAME: string;
|
2974
|
+
interface TransactionValidation {
|
2334
2975
|
module_addr: Address;
|
2335
2976
|
module_name: string;
|
2336
2977
|
script_prologue_name: string;
|
@@ -2338,5 +2979,9 @@ export declare namespace transaction_validation {
|
|
2338
2979
|
multi_agent_prologue_name: string;
|
2339
2980
|
user_epilogue_name: string;
|
2340
2981
|
}
|
2982
|
+
namespace TransactionValidation {
|
2983
|
+
const TYPE_QNAME = "0x1::transaction_validation::TransactionValidation";
|
2984
|
+
function type(): TypeDescriptor<TransactionValidation>;
|
2985
|
+
}
|
2341
2986
|
}
|
2342
2987
|
export declare function loadAllTypes(coder: MoveCoder): void;
|