@sentio/sdk 2.23.0 → 2.24.0-rc.2
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/aptos-processor.d.ts +1 -2
- package/lib/aptos/aptos-processor.d.ts.map +1 -1
- package/lib/aptos/aptos-processor.js +11 -11
- package/lib/aptos/aptos-processor.js.map +1 -1
- package/lib/aptos/aptos-resource-processor-template.d.ts +1 -1
- package/lib/aptos/aptos-resource-processor-template.d.ts.map +1 -1
- package/lib/aptos/aptos-resource-processor-template.js +6 -6
- package/lib/aptos/builtin/0x1.d.ts +850 -339
- package/lib/aptos/builtin/0x1.d.ts.map +1 -1
- package/lib/aptos/builtin/0x1.js +652 -189
- package/lib/aptos/builtin/0x1.js.map +1 -1
- package/lib/aptos/builtin/0x3.d.ts +73 -54
- package/lib/aptos/builtin/0x3.d.ts.map +1 -1
- package/lib/aptos/builtin/0x3.js +25 -66
- package/lib/aptos/builtin/0x3.js.map +1 -1
- package/lib/aptos/codegen/codegen.d.ts.map +1 -1
- package/lib/aptos/codegen/codegen.js +40 -10
- package/lib/aptos/codegen/codegen.js.map +1 -1
- package/lib/aptos/context.d.ts +1 -2
- package/lib/aptos/context.d.ts.map +1 -1
- package/lib/aptos/context.js +2 -2
- package/lib/aptos/context.js.map +1 -1
- package/lib/aptos/ext/coin-event.js +1 -1
- package/lib/aptos/ext/coin.js +193 -193
- package/lib/aptos/ext/coin.js.map +1 -1
- package/lib/aptos/index.d.ts +4 -4
- package/lib/aptos/index.d.ts.map +1 -1
- package/lib/aptos/index.js +3 -4
- package/lib/aptos/index.js.map +1 -1
- package/lib/aptos/models.d.ts +2 -2
- package/lib/aptos/models.d.ts.map +1 -1
- package/lib/aptos/move-coder.d.ts +1 -13
- package/lib/aptos/move-coder.d.ts.map +1 -1
- package/lib/aptos/move-coder.js +4 -55
- package/lib/aptos/move-coder.js.map +1 -1
- package/lib/aptos/network.d.ts +1 -0
- package/lib/aptos/network.d.ts.map +1 -1
- package/lib/aptos/network.js +8 -1
- package/lib/aptos/network.js.map +1 -1
- package/lib/eth/codegen/codegen.d.ts.map +1 -1
- package/lib/eth/codegen/codegen.js +4 -3
- package/lib/eth/codegen/codegen.js.map +1 -1
- package/lib/move/ext/move-dex.d.ts +1 -1
- package/lib/move/ext/move-dex.d.ts.map +1 -1
- package/lib/move/ext/move-dex.js +4 -4
- package/lib/move/index.d.ts +1 -4
- package/lib/move/index.d.ts.map +1 -1
- package/lib/move/index.js +1 -4
- package/lib/move/index.js.map +1 -1
- package/lib/move/move-context.d.ts +3 -3
- package/lib/move/move-context.d.ts.map +1 -1
- package/lib/move/move-context.js.map +1 -1
- package/lib/move/shared-network-codegen.d.ts +14 -0
- package/lib/move/shared-network-codegen.d.ts.map +1 -0
- package/lib/move/shared-network-codegen.js +116 -0
- package/lib/move/shared-network-codegen.js.map +1 -0
- package/lib/sui/builtin/0x1.d.ts +4 -2
- package/lib/sui/builtin/0x1.d.ts.map +1 -1
- package/lib/sui/builtin/0x1.js +7 -14
- package/lib/sui/builtin/0x1.js.map +1 -1
- package/lib/sui/builtin/0x2.d.ts +52 -168
- package/lib/sui/builtin/0x2.d.ts.map +1 -1
- package/lib/sui/builtin/0x2.js +24 -65
- package/lib/sui/builtin/0x2.js.map +1 -1
- package/lib/sui/builtin/0x3.d.ts +113 -331
- package/lib/sui/builtin/0x3.d.ts.map +1 -1
- package/lib/sui/builtin/0x3.js +13 -32
- package/lib/sui/builtin/0x3.js.map +1 -1
- package/lib/sui/codegen/codegen.d.ts.map +1 -1
- package/lib/sui/codegen/codegen.js +72 -51
- package/lib/sui/codegen/codegen.js.map +1 -1
- package/lib/sui/context.d.ts +4 -4
- package/lib/sui/context.d.ts.map +1 -1
- package/lib/sui/context.js +2 -2
- package/lib/sui/context.js.map +1 -1
- package/lib/sui/ext/coin.js +74 -74
- package/lib/sui/ext/move-dex.d.ts +2 -3
- package/lib/sui/ext/move-dex.d.ts.map +1 -1
- package/lib/sui/index.d.ts +4 -4
- package/lib/sui/index.d.ts.map +1 -1
- package/lib/sui/index.js +4 -4
- package/lib/sui/index.js.map +1 -1
- package/lib/sui/models.d.ts +2 -2
- package/lib/sui/models.d.ts.map +1 -1
- package/lib/sui/move-coder.d.ts +1 -16
- package/lib/sui/move-coder.d.ts.map +1 -1
- package/lib/sui/move-coder.js +4 -93
- package/lib/sui/move-coder.js.map +1 -1
- package/lib/sui/network.d.ts +3 -2
- package/lib/sui/network.d.ts.map +1 -1
- package/lib/sui/network.js +10 -3
- package/lib/sui/network.js.map +1 -1
- package/lib/sui/sui-object-processor-template.d.ts +1 -1
- package/lib/sui/sui-object-processor-template.d.ts.map +1 -1
- package/lib/sui/sui-object-processor-template.js +7 -7
- package/lib/sui/sui-object-processor-template.js.map +1 -1
- package/lib/sui/sui-object-processor.d.ts +1 -1
- package/lib/sui/sui-object-processor.d.ts.map +1 -1
- package/lib/sui/sui-object-processor.js +5 -5
- package/lib/sui/sui-processor.d.ts +2 -2
- package/lib/sui/sui-processor.d.ts.map +1 -1
- package/lib/sui/sui-processor.js +10 -10
- package/lib/sui/sui-processor.js.map +1 -1
- package/lib/sui/utils.d.ts +2 -2
- package/lib/sui/utils.d.ts.map +1 -1
- package/lib/sui/utils.js +3 -4
- package/lib/sui/utils.js.map +1 -1
- package/lib/testing/aptos-facet.d.ts.map +1 -1
- package/lib/testing/aptos-facet.js +8 -9
- package/lib/testing/aptos-facet.js.map +1 -1
- package/lib/testing/sui-facet.d.ts +1 -1
- package/lib/testing/sui-facet.d.ts.map +1 -1
- package/lib/testing/sui-facet.js +8 -9
- package/lib/testing/sui-facet.js.map +1 -1
- package/package.json +10 -7
- package/src/aptos/abis/0x1.json +4533 -710
- package/src/aptos/abis/0x3.json +147 -2
- package/src/aptos/aptos-processor.ts +13 -12
- package/src/aptos/aptos-resource-processor-template.ts +7 -7
- package/src/aptos/builtin/0x1.ts +2243 -1187
- package/src/aptos/builtin/0x3.ts +205 -249
- package/src/aptos/codegen/codegen.ts +50 -11
- package/src/aptos/context.ts +4 -4
- package/src/aptos/ext/coin-event.ts +2 -2
- package/src/aptos/ext/coin.ts +193 -193
- package/src/aptos/index.ts +15 -4
- package/src/aptos/models.ts +2 -2
- package/src/aptos/move-coder.ts +4 -73
- package/src/aptos/network.ts +9 -1
- package/src/eth/codegen/codegen.ts +5 -4
- package/src/move/ext/move-dex.ts +5 -5
- package/src/move/index.ts +2 -4
- package/src/move/move-context.ts +3 -3
- package/src/move/shared-network-codegen.ts +160 -0
- package/src/sui/builtin/0x1.ts +17 -41
- package/src/sui/builtin/0x2.ts +196 -410
- package/src/sui/builtin/0x3.ts +271 -479
- package/src/sui/codegen/codegen.ts +80 -54
- package/src/sui/context.ts +8 -7
- package/src/sui/ext/coin.ts +75 -75
- package/src/sui/ext/move-dex.ts +3 -3
- package/src/sui/index.ts +5 -5
- package/src/sui/models.ts +2 -2
- package/src/sui/move-coder.ts +4 -108
- package/src/sui/network.ts +12 -4
- package/src/sui/sui-object-processor-template.ts +8 -8
- package/src/sui/sui-object-processor.ts +6 -6
- package/src/sui/sui-processor.ts +12 -16
- package/src/sui/utils.ts +6 -7
- package/src/testing/aptos-facet.ts +8 -9
- package/src/testing/sui-facet.ts +9 -10
- package/lib/aptos/aptos-chain-adapter.d.ts +0 -15
- package/lib/aptos/aptos-chain-adapter.d.ts.map +0 -1
- package/lib/aptos/aptos-chain-adapter.js +0 -72
- package/lib/aptos/aptos-chain-adapter.js.map +0 -1
- package/lib/aptos/module-client.d.ts +0 -7
- package/lib/aptos/module-client.d.ts.map +0 -1
- package/lib/aptos/module-client.js +0 -25
- package/lib/aptos/module-client.js.map +0 -1
- package/lib/aptos/module-client.test.d.ts +0 -2
- package/lib/aptos/module-client.test.d.ts.map +0 -1
- package/lib/aptos/module-client.test.js.map +0 -1
- package/lib/aptos/move-types.d.ts +0 -17
- package/lib/aptos/move-types.d.ts.map +0 -1
- package/lib/aptos/move-types.js +0 -53
- package/lib/aptos/move-types.js.map +0 -1
- package/lib/aptos/utils.d.ts +0 -2
- package/lib/aptos/utils.d.ts.map +0 -1
- package/lib/aptos/utils.js +0 -16
- package/lib/aptos/utils.js.map +0 -1
- package/lib/move/abstract-codegen.d.ts +0 -50
- package/lib/move/abstract-codegen.d.ts.map +0 -1
- package/lib/move/abstract-codegen.js +0 -489
- package/lib/move/abstract-codegen.js.map +0 -1
- package/lib/move/abstract-move-coder.d.ts +0 -29
- package/lib/move/abstract-move-coder.d.ts.map +0 -1
- package/lib/move/abstract-move-coder.js +0 -301
- package/lib/move/abstract-move-coder.js.map +0 -1
- package/lib/move/account.d.ts +0 -16
- package/lib/move/account.d.ts.map +0 -1
- package/lib/move/account.js +0 -71
- package/lib/move/account.js.map +0 -1
- package/lib/move/chain-adapter.d.ts +0 -13
- package/lib/move/chain-adapter.d.ts.map +0 -1
- package/lib/move/chain-adapter.js +0 -7
- package/lib/move/chain-adapter.js.map +0 -1
- package/lib/move/internal-models.d.ts +0 -35
- package/lib/move/internal-models.d.ts.map +0 -1
- package/lib/move/internal-models.js +0 -7
- package/lib/move/internal-models.js.map +0 -1
- package/lib/move/ts-type.test.d.ts +0 -2
- package/lib/move/ts-type.test.d.ts.map +0 -1
- package/lib/move/ts-type.test.js.map +0 -1
- package/lib/move/types.d.ts +0 -42
- package/lib/move/types.d.ts.map +0 -1
- package/lib/move/types.js +0 -205
- package/lib/move/types.js.map +0 -1
- package/lib/move/utils.d.ts +0 -16
- package/lib/move/utils.d.ts.map +0 -1
- package/lib/move/utils.js +0 -53
- package/lib/move/utils.js.map +0 -1
- package/lib/move/utils.test.d.ts +0 -2
- package/lib/move/utils.test.d.ts.map +0 -1
- package/lib/move/utils.test.js.map +0 -1
- package/lib/sui/module-client.d.ts +0 -4
- package/lib/sui/module-client.d.ts.map +0 -1
- package/lib/sui/module-client.js +0 -7
- package/lib/sui/module-client.js.map +0 -1
- package/lib/sui/move-types.d.ts +0 -9
- package/lib/sui/move-types.d.ts.map +0 -1
- package/lib/sui/move-types.js +0 -82
- package/lib/sui/move-types.js.map +0 -1
- package/lib/sui/sui-chain-adapter.d.ts +0 -15
- package/lib/sui/sui-chain-adapter.d.ts.map +0 -1
- package/lib/sui/sui-chain-adapter.js +0 -71
- package/lib/sui/sui-chain-adapter.js.map +0 -1
- package/src/aptos/aptos-chain-adapter.ts +0 -86
- package/src/aptos/module-client.ts +0 -30
- package/src/aptos/move-types.ts +0 -73
- package/src/aptos/utils.ts +0 -15
- package/src/move/abstract-codegen.ts +0 -596
- package/src/move/abstract-move-coder.ts +0 -337
- package/src/move/account.ts +0 -81
- package/src/move/chain-adapter.ts +0 -24
- package/src/move/internal-models.ts +0 -40
- package/src/move/types.ts +0 -241
- package/src/move/utils.ts +0 -69
- package/src/sui/module-client.ts +0 -7
- package/src/sui/move-types.ts +0 -108
- package/src/sui/sui-chain-adapter.ts +0 -93
@@ -1,8 +1,11 @@
|
|
1
|
-
import {
|
2
|
-
import { MoveCoder,
|
1
|
+
import { TypeDescriptor } from "@typemove/move";
|
2
|
+
import { MoveCoder, TypedEventInstance } from "@typemove/aptos";
|
3
|
+
import { Address } from "@typemove/aptos";
|
4
|
+
import { CallFilter, MoveFetchConfig } from "@sentio/sdk/move";
|
5
|
+
import { AptosBindOptions, AptosBaseProcessor, TypedFunctionPayload, AptosContext } from "@sentio/sdk/aptos";
|
3
6
|
export declare namespace acl {
|
4
7
|
interface ACL {
|
5
|
-
list:
|
8
|
+
list: Address[];
|
6
9
|
}
|
7
10
|
namespace ACL {
|
8
11
|
const TYPE_QNAME = "0x1::acl::ACL";
|
@@ -28,7 +31,7 @@ export declare class code extends AptosBaseProcessor {
|
|
28
31
|
}
|
29
32
|
export declare namespace code {
|
30
33
|
interface AllowedDep {
|
31
|
-
account:
|
34
|
+
account: Address;
|
32
35
|
module_name: string;
|
33
36
|
}
|
34
37
|
namespace AllowedDep {
|
@@ -46,7 +49,7 @@ export declare namespace code {
|
|
46
49
|
function type(): TypeDescriptor<ModuleMetadata>;
|
47
50
|
}
|
48
51
|
interface PackageDep {
|
49
|
-
account:
|
52
|
+
account: Address;
|
50
53
|
package_name: string;
|
51
54
|
}
|
52
55
|
namespace PackageDep {
|
@@ -182,16 +185,16 @@ export declare namespace coin {
|
|
182
185
|
data_decoded: WithdrawEvent;
|
183
186
|
type_arguments: [];
|
184
187
|
}
|
185
|
-
interface FreezeCoinStorePayload<T0 = any> extends TypedFunctionPayload<[
|
186
|
-
arguments_decoded: [
|
188
|
+
interface FreezeCoinStorePayload<T0 = any> extends TypedFunctionPayload<[Address, Address]> {
|
189
|
+
arguments_decoded: [Address, Address];
|
187
190
|
type_arguments: [string];
|
188
191
|
}
|
189
|
-
interface TransferPayload<T0 = any> extends TypedFunctionPayload<[
|
190
|
-
arguments_decoded: [
|
192
|
+
interface TransferPayload<T0 = any> extends TypedFunctionPayload<[Address, bigint]> {
|
193
|
+
arguments_decoded: [Address, bigint];
|
191
194
|
type_arguments: [string];
|
192
195
|
}
|
193
|
-
interface UnfreezeCoinStorePayload<T0 = any> extends TypedFunctionPayload<[
|
194
|
-
arguments_decoded: [
|
196
|
+
interface UnfreezeCoinStorePayload<T0 = any> extends TypedFunctionPayload<[Address, Address]> {
|
197
|
+
arguments_decoded: [Address, Address];
|
195
198
|
type_arguments: [string];
|
196
199
|
}
|
197
200
|
interface UpgradeSupplyPayload<T0 = any> extends TypedFunctionPayload<[]> {
|
@@ -209,7 +212,7 @@ export declare namespace guid {
|
|
209
212
|
}
|
210
213
|
interface ID {
|
211
214
|
creation_num: bigint;
|
212
|
-
addr:
|
215
|
+
addr: Address;
|
213
216
|
}
|
214
217
|
namespace ID {
|
215
218
|
const TYPE_QNAME = "0x1::guid::ID";
|
@@ -237,12 +240,12 @@ export declare namespace block {
|
|
237
240
|
function type(): TypeDescriptor<BlockResource>;
|
238
241
|
}
|
239
242
|
interface NewBlockEvent {
|
240
|
-
hash:
|
243
|
+
hash: Address;
|
241
244
|
epoch: bigint;
|
242
245
|
round: bigint;
|
243
246
|
height: bigint;
|
244
247
|
previous_block_votes_bitvec: string;
|
245
|
-
proposer:
|
248
|
+
proposer: Address;
|
246
249
|
failed_proposer_indices: bigint[];
|
247
250
|
time_microseconds: bigint;
|
248
251
|
}
|
@@ -311,7 +314,7 @@ export declare class stake extends AptosBaseProcessor {
|
|
311
314
|
}
|
312
315
|
export declare namespace stake {
|
313
316
|
interface AddStakeEvent {
|
314
|
-
pool_address:
|
317
|
+
pool_address: Address;
|
315
318
|
amount_added: bigint;
|
316
319
|
}
|
317
320
|
namespace AddStakeEvent {
|
@@ -323,7 +326,7 @@ export declare namespace stake {
|
|
323
326
|
type_arguments: [];
|
324
327
|
}
|
325
328
|
interface AllowedValidators {
|
326
|
-
accounts:
|
329
|
+
accounts: Address[];
|
327
330
|
}
|
328
331
|
namespace AllowedValidators {
|
329
332
|
const TYPE_QNAME = "0x1::stake::AllowedValidators";
|
@@ -337,7 +340,7 @@ export declare namespace stake {
|
|
337
340
|
function type(): TypeDescriptor<AptosCoinCapabilities>;
|
338
341
|
}
|
339
342
|
interface DistributeRewardsEvent {
|
340
|
-
pool_address:
|
343
|
+
pool_address: Address;
|
341
344
|
rewards_amount: bigint;
|
342
345
|
}
|
343
346
|
namespace DistributeRewardsEvent {
|
@@ -349,7 +352,7 @@ export declare namespace stake {
|
|
349
352
|
type_arguments: [];
|
350
353
|
}
|
351
354
|
interface IncreaseLockupEvent {
|
352
|
-
pool_address:
|
355
|
+
pool_address: Address;
|
353
356
|
old_locked_until_secs: bigint;
|
354
357
|
new_locked_until_secs: bigint;
|
355
358
|
}
|
@@ -370,7 +373,7 @@ export declare namespace stake {
|
|
370
373
|
function type(): TypeDescriptor<IndividualValidatorPerformance>;
|
371
374
|
}
|
372
375
|
interface JoinValidatorSetEvent {
|
373
|
-
pool_address:
|
376
|
+
pool_address: Address;
|
374
377
|
}
|
375
378
|
namespace JoinValidatorSetEvent {
|
376
379
|
const TYPE_QNAME = "0x1::stake::JoinValidatorSetEvent";
|
@@ -381,7 +384,7 @@ export declare namespace stake {
|
|
381
384
|
type_arguments: [];
|
382
385
|
}
|
383
386
|
interface LeaveValidatorSetEvent {
|
384
|
-
pool_address:
|
387
|
+
pool_address: Address;
|
385
388
|
}
|
386
389
|
namespace LeaveValidatorSetEvent {
|
387
390
|
const TYPE_QNAME = "0x1::stake::LeaveValidatorSetEvent";
|
@@ -392,14 +395,14 @@ export declare namespace stake {
|
|
392
395
|
type_arguments: [];
|
393
396
|
}
|
394
397
|
interface OwnerCapability {
|
395
|
-
pool_address:
|
398
|
+
pool_address: Address;
|
396
399
|
}
|
397
400
|
namespace OwnerCapability {
|
398
401
|
const TYPE_QNAME = "0x1::stake::OwnerCapability";
|
399
402
|
function type(): TypeDescriptor<OwnerCapability>;
|
400
403
|
}
|
401
404
|
interface ReactivateStakeEvent {
|
402
|
-
pool_address:
|
405
|
+
pool_address: Address;
|
403
406
|
amount: bigint;
|
404
407
|
}
|
405
408
|
namespace ReactivateStakeEvent {
|
@@ -411,7 +414,7 @@ export declare namespace stake {
|
|
411
414
|
type_arguments: [];
|
412
415
|
}
|
413
416
|
interface RegisterValidatorCandidateEvent {
|
414
|
-
pool_address:
|
417
|
+
pool_address: Address;
|
415
418
|
}
|
416
419
|
namespace RegisterValidatorCandidateEvent {
|
417
420
|
const TYPE_QNAME = "0x1::stake::RegisterValidatorCandidateEvent";
|
@@ -422,7 +425,7 @@ export declare namespace stake {
|
|
422
425
|
type_arguments: [];
|
423
426
|
}
|
424
427
|
interface RotateConsensusKeyEvent {
|
425
|
-
pool_address:
|
428
|
+
pool_address: Address;
|
426
429
|
old_consensus_pubkey: string;
|
427
430
|
new_consensus_pubkey: string;
|
428
431
|
}
|
@@ -435,9 +438,9 @@ export declare namespace stake {
|
|
435
438
|
type_arguments: [];
|
436
439
|
}
|
437
440
|
interface SetOperatorEvent {
|
438
|
-
pool_address:
|
439
|
-
old_operator:
|
440
|
-
new_operator:
|
441
|
+
pool_address: Address;
|
442
|
+
old_operator: Address;
|
443
|
+
new_operator: Address;
|
441
444
|
}
|
442
445
|
namespace SetOperatorEvent {
|
443
446
|
const TYPE_QNAME = "0x1::stake::SetOperatorEvent";
|
@@ -453,8 +456,8 @@ export declare namespace stake {
|
|
453
456
|
pending_active: coin.Coin<aptos_coin.AptosCoin>;
|
454
457
|
pending_inactive: coin.Coin<aptos_coin.AptosCoin>;
|
455
458
|
locked_until_secs: bigint;
|
456
|
-
operator_address:
|
457
|
-
delegated_voter:
|
459
|
+
operator_address: Address;
|
460
|
+
delegated_voter: Address;
|
458
461
|
initialize_validator_events: event.EventHandle<stake.RegisterValidatorCandidateEvent>;
|
459
462
|
set_operator_events: event.EventHandle<stake.SetOperatorEvent>;
|
460
463
|
add_stake_events: event.EventHandle<stake.AddStakeEvent>;
|
@@ -473,7 +476,7 @@ export declare namespace stake {
|
|
473
476
|
function type(): TypeDescriptor<StakePool>;
|
474
477
|
}
|
475
478
|
interface UnlockStakeEvent {
|
476
|
-
pool_address:
|
479
|
+
pool_address: Address;
|
477
480
|
amount_unlocked: bigint;
|
478
481
|
}
|
479
482
|
namespace UnlockStakeEvent {
|
@@ -485,7 +488,7 @@ export declare namespace stake {
|
|
485
488
|
type_arguments: [];
|
486
489
|
}
|
487
490
|
interface UpdateNetworkAndFullnodeAddressesEvent {
|
488
|
-
pool_address:
|
491
|
+
pool_address: Address;
|
489
492
|
old_network_addresses: string;
|
490
493
|
new_network_addresses: string;
|
491
494
|
old_fullnode_addresses: string;
|
@@ -510,14 +513,14 @@ export declare namespace stake {
|
|
510
513
|
function type(): TypeDescriptor<ValidatorConfig>;
|
511
514
|
}
|
512
515
|
interface ValidatorFees {
|
513
|
-
fees_table: table.Table<
|
516
|
+
fees_table: table.Table<Address, coin.Coin<aptos_coin.AptosCoin>>;
|
514
517
|
}
|
515
518
|
namespace ValidatorFees {
|
516
519
|
const TYPE_QNAME = "0x1::stake::ValidatorFees";
|
517
520
|
function type(): TypeDescriptor<ValidatorFees>;
|
518
521
|
}
|
519
522
|
interface ValidatorInfo {
|
520
|
-
addr:
|
523
|
+
addr: Address;
|
521
524
|
voting_power: bigint;
|
522
525
|
config: stake.ValidatorConfig;
|
523
526
|
}
|
@@ -545,7 +548,7 @@ export declare namespace stake {
|
|
545
548
|
function type(): TypeDescriptor<ValidatorSet>;
|
546
549
|
}
|
547
550
|
interface WithdrawStakeEvent {
|
548
|
-
pool_address:
|
551
|
+
pool_address: Address;
|
549
552
|
amount_withdrawn: bigint;
|
550
553
|
}
|
551
554
|
namespace WithdrawStakeEvent {
|
@@ -564,44 +567,44 @@ export declare namespace stake {
|
|
564
567
|
arguments_decoded: [];
|
565
568
|
type_arguments: [];
|
566
569
|
}
|
567
|
-
interface InitializeStakeOwnerPayload extends TypedFunctionPayload<[bigint,
|
568
|
-
arguments_decoded: [bigint,
|
570
|
+
interface InitializeStakeOwnerPayload extends TypedFunctionPayload<[bigint, Address, Address]> {
|
571
|
+
arguments_decoded: [bigint, Address, Address];
|
569
572
|
type_arguments: [];
|
570
573
|
}
|
571
574
|
interface InitializeValidatorPayload extends TypedFunctionPayload<[string, string, string, string]> {
|
572
575
|
arguments_decoded: [string, string, string, string];
|
573
576
|
type_arguments: [];
|
574
577
|
}
|
575
|
-
interface JoinValidatorSetPayload extends TypedFunctionPayload<[
|
576
|
-
arguments_decoded: [
|
578
|
+
interface JoinValidatorSetPayload extends TypedFunctionPayload<[Address]> {
|
579
|
+
arguments_decoded: [Address];
|
577
580
|
type_arguments: [];
|
578
581
|
}
|
579
|
-
interface LeaveValidatorSetPayload extends TypedFunctionPayload<[
|
580
|
-
arguments_decoded: [
|
582
|
+
interface LeaveValidatorSetPayload extends TypedFunctionPayload<[Address]> {
|
583
|
+
arguments_decoded: [Address];
|
581
584
|
type_arguments: [];
|
582
585
|
}
|
583
586
|
interface ReactivateStakePayload extends TypedFunctionPayload<[bigint]> {
|
584
587
|
arguments_decoded: [bigint];
|
585
588
|
type_arguments: [];
|
586
589
|
}
|
587
|
-
interface RotateConsensusKeyPayload extends TypedFunctionPayload<[
|
588
|
-
arguments_decoded: [
|
590
|
+
interface RotateConsensusKeyPayload extends TypedFunctionPayload<[Address, string, string]> {
|
591
|
+
arguments_decoded: [Address, string, string];
|
589
592
|
type_arguments: [];
|
590
593
|
}
|
591
|
-
interface SetDelegatedVoterPayload extends TypedFunctionPayload<[
|
592
|
-
arguments_decoded: [
|
594
|
+
interface SetDelegatedVoterPayload extends TypedFunctionPayload<[Address]> {
|
595
|
+
arguments_decoded: [Address];
|
593
596
|
type_arguments: [];
|
594
597
|
}
|
595
|
-
interface SetOperatorPayload extends TypedFunctionPayload<[
|
596
|
-
arguments_decoded: [
|
598
|
+
interface SetOperatorPayload extends TypedFunctionPayload<[Address]> {
|
599
|
+
arguments_decoded: [Address];
|
597
600
|
type_arguments: [];
|
598
601
|
}
|
599
602
|
interface UnlockPayload extends TypedFunctionPayload<[bigint]> {
|
600
603
|
arguments_decoded: [bigint];
|
601
604
|
type_arguments: [];
|
602
605
|
}
|
603
|
-
interface UpdateNetworkAndFullnodeAddressesPayload extends TypedFunctionPayload<[
|
604
|
-
arguments_decoded: [
|
606
|
+
interface UpdateNetworkAndFullnodeAddressesPayload extends TypedFunctionPayload<[Address, string, string]> {
|
607
|
+
arguments_decoded: [Address, string, string];
|
605
608
|
type_arguments: [];
|
606
609
|
}
|
607
610
|
interface WithdrawPayload extends TypedFunctionPayload<[bigint]> {
|
@@ -618,7 +621,7 @@ export declare namespace table {
|
|
618
621
|
function type<T0>(arg0?: TypeDescriptor<T0>): TypeDescriptor<Box<T0>>;
|
619
622
|
}
|
620
623
|
interface Table<T0, T1> {
|
621
|
-
handle:
|
624
|
+
handle: Address;
|
622
625
|
}
|
623
626
|
namespace Table {
|
624
627
|
const TYPE_QNAME = "0x1::table::Table";
|
@@ -630,12 +633,14 @@ export declare class object_ extends AptosBaseProcessor {
|
|
630
633
|
constructor(options: AptosBindOptions);
|
631
634
|
static DEFAULT_OPTIONS: AptosBindOptions;
|
632
635
|
static bind(options?: Partial<AptosBindOptions>): object_;
|
636
|
+
onEntryTransfer(func: (call: object_.TransferPayload, ctx: AptosContext) => void, filter?: CallFilter, fetchConfig?: Partial<MoveFetchConfig>): object_;
|
633
637
|
onEntryTransferCall(func: (call: object_.TransferCallPayload, ctx: AptosContext) => void, filter?: CallFilter, fetchConfig?: Partial<MoveFetchConfig>): object_;
|
638
|
+
onEntryTransferToObject(func: (call: object_.TransferToObjectPayload, ctx: AptosContext) => void, filter?: CallFilter, fetchConfig?: Partial<MoveFetchConfig>): object_;
|
634
639
|
onEventTransferEvent(func: (event: object_.TransferEventInstance, ctx: AptosContext) => void, fetchConfig?: Partial<MoveFetchConfig>): object_;
|
635
640
|
}
|
636
641
|
export declare namespace object_ {
|
637
642
|
interface ConstructorRef {
|
638
|
-
self:
|
643
|
+
self: Address;
|
639
644
|
can_delete: Boolean;
|
640
645
|
}
|
641
646
|
namespace ConstructorRef {
|
@@ -643,29 +648,36 @@ export declare namespace object_ {
|
|
643
648
|
function type(): TypeDescriptor<ConstructorRef>;
|
644
649
|
}
|
645
650
|
interface DeleteRef {
|
646
|
-
self:
|
651
|
+
self: Address;
|
647
652
|
}
|
648
653
|
namespace DeleteRef {
|
649
654
|
const TYPE_QNAME = "0x1::object::DeleteRef";
|
650
655
|
function type(): TypeDescriptor<DeleteRef>;
|
651
656
|
}
|
657
|
+
interface DeriveRef {
|
658
|
+
self: Address;
|
659
|
+
}
|
660
|
+
namespace DeriveRef {
|
661
|
+
const TYPE_QNAME = "0x1::object::DeriveRef";
|
662
|
+
function type(): TypeDescriptor<DeriveRef>;
|
663
|
+
}
|
652
664
|
interface ExtendRef {
|
653
|
-
self:
|
665
|
+
self: Address;
|
654
666
|
}
|
655
667
|
namespace ExtendRef {
|
656
668
|
const TYPE_QNAME = "0x1::object::ExtendRef";
|
657
669
|
function type(): TypeDescriptor<ExtendRef>;
|
658
670
|
}
|
659
671
|
interface LinearTransferRef {
|
660
|
-
self:
|
661
|
-
owner:
|
672
|
+
self: Address;
|
673
|
+
owner: Address;
|
662
674
|
}
|
663
675
|
namespace LinearTransferRef {
|
664
676
|
const TYPE_QNAME = "0x1::object::LinearTransferRef";
|
665
677
|
function type(): TypeDescriptor<LinearTransferRef>;
|
666
678
|
}
|
667
679
|
interface Object<T0> {
|
668
|
-
inner:
|
680
|
+
inner: Address;
|
669
681
|
}
|
670
682
|
namespace Object {
|
671
683
|
const TYPE_QNAME = "0x1::object::Object";
|
@@ -673,7 +685,7 @@ export declare namespace object_ {
|
|
673
685
|
}
|
674
686
|
interface ObjectCore {
|
675
687
|
guid_creation_num: bigint;
|
676
|
-
owner:
|
688
|
+
owner: Address;
|
677
689
|
allow_ungated_transfer: Boolean;
|
678
690
|
transfer_events: event.EventHandle<object_.TransferEvent>;
|
679
691
|
}
|
@@ -689,9 +701,9 @@ export declare namespace object_ {
|
|
689
701
|
function type(): TypeDescriptor<ObjectGroup>;
|
690
702
|
}
|
691
703
|
interface TransferEvent {
|
692
|
-
object:
|
693
|
-
from:
|
694
|
-
to:
|
704
|
+
object: Address;
|
705
|
+
from: Address;
|
706
|
+
to: Address;
|
695
707
|
}
|
696
708
|
namespace TransferEvent {
|
697
709
|
const TYPE_QNAME = "0x1::object::TransferEvent";
|
@@ -702,16 +714,24 @@ export declare namespace object_ {
|
|
702
714
|
type_arguments: [];
|
703
715
|
}
|
704
716
|
interface TransferRef {
|
705
|
-
self:
|
717
|
+
self: Address;
|
706
718
|
}
|
707
719
|
namespace TransferRef {
|
708
720
|
const TYPE_QNAME = "0x1::object::TransferRef";
|
709
721
|
function type(): TypeDescriptor<TransferRef>;
|
710
722
|
}
|
711
|
-
interface
|
712
|
-
arguments_decoded: [
|
723
|
+
interface TransferPayload<T0 = any> extends TypedFunctionPayload<[object_.Object<T0>, Address]> {
|
724
|
+
arguments_decoded: [object_.Object<T0>, Address];
|
725
|
+
type_arguments: [string];
|
726
|
+
}
|
727
|
+
interface TransferCallPayload extends TypedFunctionPayload<[Address, Address]> {
|
728
|
+
arguments_decoded: [Address, Address];
|
713
729
|
type_arguments: [];
|
714
730
|
}
|
731
|
+
interface TransferToObjectPayload<T0 = any, T1 = any> extends TypedFunctionPayload<[object_.Object<T0>, object_.Object<T1>]> {
|
732
|
+
arguments_decoded: [object_.Object<T0>, object_.Object<T1>];
|
733
|
+
type_arguments: [string, string];
|
734
|
+
}
|
715
735
|
}
|
716
736
|
export declare namespace option {
|
717
737
|
interface Option<T0> {
|
@@ -760,7 +780,7 @@ export declare namespace voting {
|
|
760
780
|
type_arguments: [];
|
761
781
|
}
|
762
782
|
interface Proposal<T0> {
|
763
|
-
proposer:
|
783
|
+
proposer: Address;
|
764
784
|
execution_content: option.Option<T0>;
|
765
785
|
metadata: simple_map.SimpleMap<string, string>;
|
766
786
|
creation_time_secs: bigint;
|
@@ -778,7 +798,7 @@ export declare namespace voting {
|
|
778
798
|
function type<T0>(arg0?: TypeDescriptor<T0>): TypeDescriptor<Proposal<T0>>;
|
779
799
|
}
|
780
800
|
interface RegisterForumEvent {
|
781
|
-
hosting_account:
|
801
|
+
hosting_account: Address;
|
782
802
|
proposal_type_info: type_info.TypeInfo;
|
783
803
|
}
|
784
804
|
namespace RegisterForumEvent {
|
@@ -865,7 +885,7 @@ export declare namespace account {
|
|
865
885
|
function type(): TypeDescriptor<Account>;
|
866
886
|
}
|
867
887
|
interface CapabilityOffer<T0> {
|
868
|
-
for: option.Option<
|
888
|
+
for: option.Option<Address>;
|
869
889
|
}
|
870
890
|
namespace CapabilityOffer {
|
871
891
|
const TYPE_QNAME = "0x1::account::CapabilityOffer";
|
@@ -895,14 +915,14 @@ export declare namespace account {
|
|
895
915
|
type_arguments: [];
|
896
916
|
}
|
897
917
|
interface OriginatingAddress {
|
898
|
-
address_map: table.Table<
|
918
|
+
address_map: table.Table<Address, Address>;
|
899
919
|
}
|
900
920
|
namespace OriginatingAddress {
|
901
921
|
const TYPE_QNAME = "0x1::account::OriginatingAddress";
|
902
922
|
function type(): TypeDescriptor<OriginatingAddress>;
|
903
923
|
}
|
904
924
|
interface RotationCapability {
|
905
|
-
account:
|
925
|
+
account: Address;
|
906
926
|
}
|
907
927
|
namespace RotationCapability {
|
908
928
|
const TYPE_QNAME = "0x1::account::RotationCapability";
|
@@ -910,7 +930,7 @@ export declare namespace account {
|
|
910
930
|
}
|
911
931
|
interface RotationCapabilityOfferProofChallenge {
|
912
932
|
sequence_number: bigint;
|
913
|
-
recipient_address:
|
933
|
+
recipient_address: Address;
|
914
934
|
}
|
915
935
|
namespace RotationCapabilityOfferProofChallenge {
|
916
936
|
const TYPE_QNAME = "0x1::account::RotationCapabilityOfferProofChallenge";
|
@@ -919,8 +939,8 @@ export declare namespace account {
|
|
919
939
|
interface RotationCapabilityOfferProofChallengeV2 {
|
920
940
|
chain_id: number;
|
921
941
|
sequence_number: bigint;
|
922
|
-
source_address:
|
923
|
-
recipient_address:
|
942
|
+
source_address: Address;
|
943
|
+
recipient_address: Address;
|
924
944
|
}
|
925
945
|
namespace RotationCapabilityOfferProofChallengeV2 {
|
926
946
|
const TYPE_QNAME = "0x1::account::RotationCapabilityOfferProofChallengeV2";
|
@@ -928,8 +948,8 @@ export declare namespace account {
|
|
928
948
|
}
|
929
949
|
interface RotationProofChallenge {
|
930
950
|
sequence_number: bigint;
|
931
|
-
originator:
|
932
|
-
current_auth_key:
|
951
|
+
originator: Address;
|
952
|
+
current_auth_key: Address;
|
933
953
|
new_public_key: string;
|
934
954
|
}
|
935
955
|
namespace RotationProofChallenge {
|
@@ -937,7 +957,7 @@ export declare namespace account {
|
|
937
957
|
function type(): TypeDescriptor<RotationProofChallenge>;
|
938
958
|
}
|
939
959
|
interface SignerCapability {
|
940
|
-
account:
|
960
|
+
account: Address;
|
941
961
|
}
|
942
962
|
namespace SignerCapability {
|
943
963
|
const TYPE_QNAME = "0x1::account::SignerCapability";
|
@@ -945,7 +965,7 @@ export declare namespace account {
|
|
945
965
|
}
|
946
966
|
interface SignerCapabilityOfferProofChallenge {
|
947
967
|
sequence_number: bigint;
|
948
|
-
recipient_address:
|
968
|
+
recipient_address: Address;
|
949
969
|
}
|
950
970
|
namespace SignerCapabilityOfferProofChallenge {
|
951
971
|
const TYPE_QNAME = "0x1::account::SignerCapabilityOfferProofChallenge";
|
@@ -953,19 +973,19 @@ export declare namespace account {
|
|
953
973
|
}
|
954
974
|
interface SignerCapabilityOfferProofChallengeV2 {
|
955
975
|
sequence_number: bigint;
|
956
|
-
source_address:
|
957
|
-
recipient_address:
|
976
|
+
source_address: Address;
|
977
|
+
recipient_address: Address;
|
958
978
|
}
|
959
979
|
namespace SignerCapabilityOfferProofChallengeV2 {
|
960
980
|
const TYPE_QNAME = "0x1::account::SignerCapabilityOfferProofChallengeV2";
|
961
981
|
function type(): TypeDescriptor<SignerCapabilityOfferProofChallengeV2>;
|
962
982
|
}
|
963
|
-
interface OfferRotationCapabilityPayload extends TypedFunctionPayload<[string, number, string,
|
964
|
-
arguments_decoded: [string, number, string,
|
983
|
+
interface OfferRotationCapabilityPayload extends TypedFunctionPayload<[string, number, string, Address]> {
|
984
|
+
arguments_decoded: [string, number, string, Address];
|
965
985
|
type_arguments: [];
|
966
986
|
}
|
967
|
-
interface OfferSignerCapabilityPayload extends TypedFunctionPayload<[string, number, string,
|
968
|
-
arguments_decoded: [string, number, string,
|
987
|
+
interface OfferSignerCapabilityPayload extends TypedFunctionPayload<[string, number, string, Address]> {
|
988
|
+
arguments_decoded: [string, number, string, Address];
|
969
989
|
type_arguments: [];
|
970
990
|
}
|
971
991
|
interface RevokeAnyRotationCapabilityPayload extends TypedFunctionPayload<[]> {
|
@@ -976,12 +996,12 @@ export declare namespace account {
|
|
976
996
|
arguments_decoded: [];
|
977
997
|
type_arguments: [];
|
978
998
|
}
|
979
|
-
interface RevokeRotationCapabilityPayload extends TypedFunctionPayload<[
|
980
|
-
arguments_decoded: [
|
999
|
+
interface RevokeRotationCapabilityPayload extends TypedFunctionPayload<[Address]> {
|
1000
|
+
arguments_decoded: [Address];
|
981
1001
|
type_arguments: [];
|
982
1002
|
}
|
983
|
-
interface RevokeSignerCapabilityPayload extends TypedFunctionPayload<[
|
984
|
-
arguments_decoded: [
|
1003
|
+
interface RevokeSignerCapabilityPayload extends TypedFunctionPayload<[Address]> {
|
1004
|
+
arguments_decoded: [Address];
|
985
1005
|
type_arguments: [];
|
986
1006
|
}
|
987
1007
|
interface RotateAuthenticationKeyPayload extends TypedFunctionPayload<[
|
@@ -995,8 +1015,8 @@ export declare namespace account {
|
|
995
1015
|
arguments_decoded: [number, string, number, string, string, string];
|
996
1016
|
type_arguments: [];
|
997
1017
|
}
|
998
|
-
interface RotateAuthenticationKeyWithRotationCapabilityPayload extends TypedFunctionPayload<[
|
999
|
-
arguments_decoded: [
|
1018
|
+
interface RotateAuthenticationKeyWithRotationCapabilityPayload extends TypedFunctionPayload<[Address, number, string, string]> {
|
1019
|
+
arguments_decoded: [Address, number, string, string];
|
1000
1020
|
type_arguments: [];
|
1001
1021
|
}
|
1002
1022
|
}
|
@@ -1033,7 +1053,7 @@ export declare namespace ed25519 {
|
|
1033
1053
|
}
|
1034
1054
|
export declare namespace genesis {
|
1035
1055
|
interface AccountMap {
|
1036
|
-
account_address:
|
1056
|
+
account_address: Address;
|
1037
1057
|
balance: bigint;
|
1038
1058
|
}
|
1039
1059
|
namespace AccountMap {
|
@@ -1041,20 +1061,20 @@ export declare namespace genesis {
|
|
1041
1061
|
function type(): TypeDescriptor<AccountMap>;
|
1042
1062
|
}
|
1043
1063
|
interface EmployeeAccountMap {
|
1044
|
-
accounts:
|
1064
|
+
accounts: Address[];
|
1045
1065
|
validator: genesis.ValidatorConfigurationWithCommission;
|
1046
1066
|
vesting_schedule_numerator: bigint[];
|
1047
1067
|
vesting_schedule_denominator: bigint;
|
1048
|
-
beneficiary_resetter:
|
1068
|
+
beneficiary_resetter: Address;
|
1049
1069
|
}
|
1050
1070
|
namespace EmployeeAccountMap {
|
1051
1071
|
const TYPE_QNAME = "0x1::genesis::EmployeeAccountMap";
|
1052
1072
|
function type(): TypeDescriptor<EmployeeAccountMap>;
|
1053
1073
|
}
|
1054
1074
|
interface ValidatorConfiguration {
|
1055
|
-
owner_address:
|
1056
|
-
operator_address:
|
1057
|
-
voter_address:
|
1075
|
+
owner_address: Address;
|
1076
|
+
operator_address: Address;
|
1077
|
+
voter_address: Address;
|
1058
1078
|
stake_amount: bigint;
|
1059
1079
|
consensus_pubkey: string;
|
1060
1080
|
proof_of_possession: string;
|
@@ -1135,7 +1155,7 @@ export declare class vesting extends AptosBaseProcessor {
|
|
1135
1155
|
}
|
1136
1156
|
export declare namespace vesting {
|
1137
1157
|
interface AdminStore {
|
1138
|
-
vesting_contracts:
|
1158
|
+
vesting_contracts: Address[];
|
1139
1159
|
nonce: bigint;
|
1140
1160
|
create_events: event.EventHandle<vesting.CreateVestingContractEvent>;
|
1141
1161
|
}
|
@@ -1144,8 +1164,8 @@ export declare namespace vesting {
|
|
1144
1164
|
function type(): TypeDescriptor<AdminStore>;
|
1145
1165
|
}
|
1146
1166
|
interface AdminWithdrawEvent {
|
1147
|
-
admin:
|
1148
|
-
vesting_contract_address:
|
1167
|
+
admin: Address;
|
1168
|
+
vesting_contract_address: Address;
|
1149
1169
|
amount: bigint;
|
1150
1170
|
}
|
1151
1171
|
namespace AdminWithdrawEvent {
|
@@ -1157,12 +1177,12 @@ export declare namespace vesting {
|
|
1157
1177
|
type_arguments: [];
|
1158
1178
|
}
|
1159
1179
|
interface CreateVestingContractEvent {
|
1160
|
-
operator:
|
1161
|
-
voter:
|
1180
|
+
operator: Address;
|
1181
|
+
voter: Address;
|
1162
1182
|
grant_amount: bigint;
|
1163
|
-
withdrawal_address:
|
1164
|
-
vesting_contract_address:
|
1165
|
-
staking_pool_address:
|
1183
|
+
withdrawal_address: Address;
|
1184
|
+
vesting_contract_address: Address;
|
1185
|
+
staking_pool_address: Address;
|
1166
1186
|
commission_percentage: bigint;
|
1167
1187
|
}
|
1168
1188
|
namespace CreateVestingContractEvent {
|
@@ -1174,8 +1194,8 @@ export declare namespace vesting {
|
|
1174
1194
|
type_arguments: [];
|
1175
1195
|
}
|
1176
1196
|
interface DistributeEvent {
|
1177
|
-
admin:
|
1178
|
-
vesting_contract_address:
|
1197
|
+
admin: Address;
|
1198
|
+
vesting_contract_address: Address;
|
1179
1199
|
amount: bigint;
|
1180
1200
|
}
|
1181
1201
|
namespace DistributeEvent {
|
@@ -1187,9 +1207,9 @@ export declare namespace vesting {
|
|
1187
1207
|
type_arguments: [];
|
1188
1208
|
}
|
1189
1209
|
interface ResetLockupEvent {
|
1190
|
-
admin:
|
1191
|
-
vesting_contract_address:
|
1192
|
-
staking_pool_address:
|
1210
|
+
admin: Address;
|
1211
|
+
vesting_contract_address: Address;
|
1212
|
+
staking_pool_address: Address;
|
1193
1213
|
new_lockup_expiration_secs: bigint;
|
1194
1214
|
}
|
1195
1215
|
namespace ResetLockupEvent {
|
@@ -1201,11 +1221,11 @@ export declare namespace vesting {
|
|
1201
1221
|
type_arguments: [];
|
1202
1222
|
}
|
1203
1223
|
interface SetBeneficiaryEvent {
|
1204
|
-
admin:
|
1205
|
-
vesting_contract_address:
|
1206
|
-
shareholder:
|
1207
|
-
old_beneficiary:
|
1208
|
-
new_beneficiary:
|
1224
|
+
admin: Address;
|
1225
|
+
vesting_contract_address: Address;
|
1226
|
+
shareholder: Address;
|
1227
|
+
old_beneficiary: Address;
|
1228
|
+
new_beneficiary: Address;
|
1209
1229
|
}
|
1210
1230
|
namespace SetBeneficiaryEvent {
|
1211
1231
|
const TYPE_QNAME = "0x1::vesting::SetBeneficiaryEvent";
|
@@ -1216,9 +1236,9 @@ export declare namespace vesting {
|
|
1216
1236
|
type_arguments: [];
|
1217
1237
|
}
|
1218
1238
|
interface StakingInfo {
|
1219
|
-
pool_address:
|
1220
|
-
operator:
|
1221
|
-
voter:
|
1239
|
+
pool_address: Address;
|
1240
|
+
operator: Address;
|
1241
|
+
voter: Address;
|
1222
1242
|
commission_percentage: bigint;
|
1223
1243
|
}
|
1224
1244
|
namespace StakingInfo {
|
@@ -1226,8 +1246,8 @@ export declare namespace vesting {
|
|
1226
1246
|
function type(): TypeDescriptor<StakingInfo>;
|
1227
1247
|
}
|
1228
1248
|
interface TerminateEvent {
|
1229
|
-
admin:
|
1230
|
-
vesting_contract_address:
|
1249
|
+
admin: Address;
|
1250
|
+
vesting_contract_address: Address;
|
1231
1251
|
}
|
1232
1252
|
namespace TerminateEvent {
|
1233
1253
|
const TYPE_QNAME = "0x1::vesting::TerminateEvent";
|
@@ -1238,9 +1258,9 @@ export declare namespace vesting {
|
|
1238
1258
|
type_arguments: [];
|
1239
1259
|
}
|
1240
1260
|
interface UnlockRewardsEvent {
|
1241
|
-
admin:
|
1242
|
-
vesting_contract_address:
|
1243
|
-
staking_pool_address:
|
1261
|
+
admin: Address;
|
1262
|
+
vesting_contract_address: Address;
|
1263
|
+
staking_pool_address: Address;
|
1244
1264
|
amount: bigint;
|
1245
1265
|
}
|
1246
1266
|
namespace UnlockRewardsEvent {
|
@@ -1252,11 +1272,11 @@ export declare namespace vesting {
|
|
1252
1272
|
type_arguments: [];
|
1253
1273
|
}
|
1254
1274
|
interface UpdateOperatorEvent {
|
1255
|
-
admin:
|
1256
|
-
vesting_contract_address:
|
1257
|
-
staking_pool_address:
|
1258
|
-
old_operator:
|
1259
|
-
new_operator:
|
1275
|
+
admin: Address;
|
1276
|
+
vesting_contract_address: Address;
|
1277
|
+
staking_pool_address: Address;
|
1278
|
+
old_operator: Address;
|
1279
|
+
new_operator: Address;
|
1260
1280
|
commission_percentage: bigint;
|
1261
1281
|
}
|
1262
1282
|
namespace UpdateOperatorEvent {
|
@@ -1268,11 +1288,11 @@ export declare namespace vesting {
|
|
1268
1288
|
type_arguments: [];
|
1269
1289
|
}
|
1270
1290
|
interface UpdateVoterEvent {
|
1271
|
-
admin:
|
1272
|
-
vesting_contract_address:
|
1273
|
-
staking_pool_address:
|
1274
|
-
old_voter:
|
1275
|
-
new_voter:
|
1291
|
+
admin: Address;
|
1292
|
+
vesting_contract_address: Address;
|
1293
|
+
staking_pool_address: Address;
|
1294
|
+
old_voter: Address;
|
1295
|
+
new_voter: Address;
|
1276
1296
|
}
|
1277
1297
|
namespace UpdateVoterEvent {
|
1278
1298
|
const TYPE_QNAME = "0x1::vesting::UpdateVoterEvent";
|
@@ -1283,9 +1303,9 @@ export declare namespace vesting {
|
|
1283
1303
|
type_arguments: [];
|
1284
1304
|
}
|
1285
1305
|
interface VestEvent {
|
1286
|
-
admin:
|
1287
|
-
vesting_contract_address:
|
1288
|
-
staking_pool_address:
|
1306
|
+
admin: Address;
|
1307
|
+
vesting_contract_address: Address;
|
1308
|
+
staking_pool_address: Address;
|
1289
1309
|
period_vested: bigint;
|
1290
1310
|
amount: bigint;
|
1291
1311
|
}
|
@@ -1298,7 +1318,7 @@ export declare namespace vesting {
|
|
1298
1318
|
type_arguments: [];
|
1299
1319
|
}
|
1300
1320
|
interface VestingAccountManagement {
|
1301
|
-
roles: simple_map.SimpleMap<string,
|
1321
|
+
roles: simple_map.SimpleMap<string, Address>;
|
1302
1322
|
}
|
1303
1323
|
namespace VestingAccountManagement {
|
1304
1324
|
const TYPE_QNAME = "0x1::vesting::VestingAccountManagement";
|
@@ -1306,11 +1326,11 @@ export declare namespace vesting {
|
|
1306
1326
|
}
|
1307
1327
|
interface VestingContract {
|
1308
1328
|
state: bigint;
|
1309
|
-
admin:
|
1329
|
+
admin: Address;
|
1310
1330
|
grant_pool: pool_u64.Pool;
|
1311
|
-
beneficiaries: simple_map.SimpleMap<
|
1331
|
+
beneficiaries: simple_map.SimpleMap<Address, Address>;
|
1312
1332
|
vesting_schedule: vesting.VestingSchedule;
|
1313
|
-
withdrawal_address:
|
1333
|
+
withdrawal_address: Address;
|
1314
1334
|
staking: vesting.StakingInfo;
|
1315
1335
|
remaining_grant: bigint;
|
1316
1336
|
signer_cap: account.SignerCapability;
|
@@ -1338,68 +1358,68 @@ export declare namespace vesting {
|
|
1338
1358
|
const TYPE_QNAME = "0x1::vesting::VestingSchedule";
|
1339
1359
|
function type(): TypeDescriptor<VestingSchedule>;
|
1340
1360
|
}
|
1341
|
-
interface AdminWithdrawPayload extends TypedFunctionPayload<[
|
1342
|
-
arguments_decoded: [
|
1361
|
+
interface AdminWithdrawPayload extends TypedFunctionPayload<[Address]> {
|
1362
|
+
arguments_decoded: [Address];
|
1343
1363
|
type_arguments: [];
|
1344
1364
|
}
|
1345
|
-
interface DistributePayload extends TypedFunctionPayload<[
|
1346
|
-
arguments_decoded: [
|
1365
|
+
interface DistributePayload extends TypedFunctionPayload<[Address]> {
|
1366
|
+
arguments_decoded: [Address];
|
1347
1367
|
type_arguments: [];
|
1348
1368
|
}
|
1349
|
-
interface DistributeManyPayload extends TypedFunctionPayload<[
|
1350
|
-
arguments_decoded: [
|
1369
|
+
interface DistributeManyPayload extends TypedFunctionPayload<[Address[]]> {
|
1370
|
+
arguments_decoded: [Address[]];
|
1351
1371
|
type_arguments: [];
|
1352
1372
|
}
|
1353
|
-
interface ResetBeneficiaryPayload extends TypedFunctionPayload<[
|
1354
|
-
arguments_decoded: [
|
1373
|
+
interface ResetBeneficiaryPayload extends TypedFunctionPayload<[Address, Address]> {
|
1374
|
+
arguments_decoded: [Address, Address];
|
1355
1375
|
type_arguments: [];
|
1356
1376
|
}
|
1357
|
-
interface ResetLockupPayload extends TypedFunctionPayload<[
|
1358
|
-
arguments_decoded: [
|
1377
|
+
interface ResetLockupPayload extends TypedFunctionPayload<[Address]> {
|
1378
|
+
arguments_decoded: [Address];
|
1359
1379
|
type_arguments: [];
|
1360
1380
|
}
|
1361
|
-
interface SetBeneficiaryPayload extends TypedFunctionPayload<[
|
1362
|
-
arguments_decoded: [
|
1381
|
+
interface SetBeneficiaryPayload extends TypedFunctionPayload<[Address, Address, Address]> {
|
1382
|
+
arguments_decoded: [Address, Address, Address];
|
1363
1383
|
type_arguments: [];
|
1364
1384
|
}
|
1365
|
-
interface SetBeneficiaryResetterPayload extends TypedFunctionPayload<[
|
1366
|
-
arguments_decoded: [
|
1385
|
+
interface SetBeneficiaryResetterPayload extends TypedFunctionPayload<[Address, Address]> {
|
1386
|
+
arguments_decoded: [Address, Address];
|
1367
1387
|
type_arguments: [];
|
1368
1388
|
}
|
1369
|
-
interface SetManagementRolePayload extends TypedFunctionPayload<[
|
1370
|
-
arguments_decoded: [
|
1389
|
+
interface SetManagementRolePayload extends TypedFunctionPayload<[Address, string, Address]> {
|
1390
|
+
arguments_decoded: [Address, string, Address];
|
1371
1391
|
type_arguments: [];
|
1372
1392
|
}
|
1373
|
-
interface TerminateVestingContractPayload extends TypedFunctionPayload<[
|
1374
|
-
arguments_decoded: [
|
1393
|
+
interface TerminateVestingContractPayload extends TypedFunctionPayload<[Address]> {
|
1394
|
+
arguments_decoded: [Address];
|
1375
1395
|
type_arguments: [];
|
1376
1396
|
}
|
1377
|
-
interface UnlockRewardsPayload extends TypedFunctionPayload<[
|
1378
|
-
arguments_decoded: [
|
1397
|
+
interface UnlockRewardsPayload extends TypedFunctionPayload<[Address]> {
|
1398
|
+
arguments_decoded: [Address];
|
1379
1399
|
type_arguments: [];
|
1380
1400
|
}
|
1381
|
-
interface UnlockRewardsManyPayload extends TypedFunctionPayload<[
|
1382
|
-
arguments_decoded: [
|
1401
|
+
interface UnlockRewardsManyPayload extends TypedFunctionPayload<[Address[]]> {
|
1402
|
+
arguments_decoded: [Address[]];
|
1383
1403
|
type_arguments: [];
|
1384
1404
|
}
|
1385
|
-
interface UpdateOperatorPayload extends TypedFunctionPayload<[
|
1386
|
-
arguments_decoded: [
|
1405
|
+
interface UpdateOperatorPayload extends TypedFunctionPayload<[Address, Address, bigint]> {
|
1406
|
+
arguments_decoded: [Address, Address, bigint];
|
1387
1407
|
type_arguments: [];
|
1388
1408
|
}
|
1389
|
-
interface UpdateOperatorWithSameCommissionPayload extends TypedFunctionPayload<[
|
1390
|
-
arguments_decoded: [
|
1409
|
+
interface UpdateOperatorWithSameCommissionPayload extends TypedFunctionPayload<[Address, Address]> {
|
1410
|
+
arguments_decoded: [Address, Address];
|
1391
1411
|
type_arguments: [];
|
1392
1412
|
}
|
1393
|
-
interface UpdateVoterPayload extends TypedFunctionPayload<[
|
1394
|
-
arguments_decoded: [
|
1413
|
+
interface UpdateVoterPayload extends TypedFunctionPayload<[Address, Address]> {
|
1414
|
+
arguments_decoded: [Address, Address];
|
1395
1415
|
type_arguments: [];
|
1396
1416
|
}
|
1397
|
-
interface VestPayload extends TypedFunctionPayload<[
|
1398
|
-
arguments_decoded: [
|
1417
|
+
interface VestPayload extends TypedFunctionPayload<[Address]> {
|
1418
|
+
arguments_decoded: [Address];
|
1399
1419
|
type_arguments: [];
|
1400
1420
|
}
|
1401
|
-
interface VestManyPayload extends TypedFunctionPayload<[
|
1402
|
-
arguments_decoded: [
|
1421
|
+
interface VestManyPayload extends TypedFunctionPayload<[Address[]]> {
|
1422
|
+
arguments_decoded: [Address[]];
|
1403
1423
|
type_arguments: [];
|
1404
1424
|
}
|
1405
1425
|
}
|
@@ -1471,8 +1491,8 @@ export declare namespace pool_u64 {
|
|
1471
1491
|
shareholders_limit: bigint;
|
1472
1492
|
total_coins: bigint;
|
1473
1493
|
total_shares: bigint;
|
1474
|
-
shares: simple_map.SimpleMap<
|
1475
|
-
shareholders:
|
1494
|
+
shares: simple_map.SimpleMap<Address, bigint>;
|
1495
|
+
shareholders: Address[];
|
1476
1496
|
scaling_factor: bigint;
|
1477
1497
|
}
|
1478
1498
|
namespace Pool {
|
@@ -1507,7 +1527,7 @@ export declare namespace timestamp {
|
|
1507
1527
|
}
|
1508
1528
|
export declare namespace type_info {
|
1509
1529
|
interface TypeInfo {
|
1510
|
-
account_address:
|
1530
|
+
account_address: Address;
|
1511
1531
|
module_name: string;
|
1512
1532
|
struct_name: string;
|
1513
1533
|
}
|
@@ -1518,8 +1538,8 @@ export declare namespace type_info {
|
|
1518
1538
|
}
|
1519
1539
|
export declare namespace aggregator {
|
1520
1540
|
interface Aggregator {
|
1521
|
-
handle:
|
1522
|
-
key:
|
1541
|
+
handle: Address;
|
1542
|
+
key: Address;
|
1523
1543
|
limit: bigint;
|
1524
1544
|
}
|
1525
1545
|
namespace Aggregator {
|
@@ -1544,7 +1564,7 @@ export declare namespace aptos_coin {
|
|
1544
1564
|
function type(): TypeDescriptor<AptosCoin>;
|
1545
1565
|
}
|
1546
1566
|
interface DelegatedMintCapability {
|
1547
|
-
to:
|
1567
|
+
to: Address;
|
1548
1568
|
}
|
1549
1569
|
namespace DelegatedMintCapability {
|
1550
1570
|
const TYPE_QNAME = "0x1::aptos_coin::DelegatedMintCapability";
|
@@ -1568,12 +1588,12 @@ export declare namespace aptos_coin {
|
|
1568
1588
|
arguments_decoded: [];
|
1569
1589
|
type_arguments: [];
|
1570
1590
|
}
|
1571
|
-
interface DelegateMintCapabilityPayload extends TypedFunctionPayload<[
|
1572
|
-
arguments_decoded: [
|
1591
|
+
interface DelegateMintCapabilityPayload extends TypedFunctionPayload<[Address, Address]> {
|
1592
|
+
arguments_decoded: [Address, Address];
|
1573
1593
|
type_arguments: [];
|
1574
1594
|
}
|
1575
|
-
interface MintPayload extends TypedFunctionPayload<[
|
1576
|
-
arguments_decoded: [
|
1595
|
+
interface MintPayload extends TypedFunctionPayload<[Address, bigint]> {
|
1596
|
+
arguments_decoded: [Address, bigint];
|
1577
1597
|
type_arguments: [];
|
1578
1598
|
}
|
1579
1599
|
}
|
@@ -1601,28 +1621,28 @@ export declare namespace bit_vector {
|
|
1601
1621
|
}
|
1602
1622
|
export declare namespace capability {
|
1603
1623
|
interface Cap<T0> {
|
1604
|
-
root:
|
1624
|
+
root: Address;
|
1605
1625
|
}
|
1606
1626
|
namespace Cap {
|
1607
1627
|
const TYPE_QNAME = "0x1::capability::Cap";
|
1608
1628
|
function type<T0>(arg0?: TypeDescriptor<T0>): TypeDescriptor<Cap<T0>>;
|
1609
1629
|
}
|
1610
1630
|
interface CapDelegateState<T0> {
|
1611
|
-
root:
|
1631
|
+
root: Address;
|
1612
1632
|
}
|
1613
1633
|
namespace CapDelegateState {
|
1614
1634
|
const TYPE_QNAME = "0x1::capability::CapDelegateState";
|
1615
1635
|
function type<T0>(arg0?: TypeDescriptor<T0>): TypeDescriptor<CapDelegateState<T0>>;
|
1616
1636
|
}
|
1617
1637
|
interface CapState<T0> {
|
1618
|
-
delegates:
|
1638
|
+
delegates: Address[];
|
1619
1639
|
}
|
1620
1640
|
namespace CapState {
|
1621
1641
|
const TYPE_QNAME = "0x1::capability::CapState";
|
1622
1642
|
function type<T0>(arg0?: TypeDescriptor<T0>): TypeDescriptor<CapState<T0>>;
|
1623
1643
|
}
|
1624
1644
|
interface LinearCap<T0> {
|
1625
|
-
root:
|
1645
|
+
root: Address;
|
1626
1646
|
}
|
1627
1647
|
namespace LinearCap {
|
1628
1648
|
const TYPE_QNAME = "0x1::capability::LinearCap";
|
@@ -1799,8 +1819,8 @@ export declare namespace managed_coin {
|
|
1799
1819
|
arguments_decoded: [string, string, number, Boolean];
|
1800
1820
|
type_arguments: [string];
|
1801
1821
|
}
|
1802
|
-
interface MintPayload<T0 = any> extends TypedFunctionPayload<[
|
1803
|
-
arguments_decoded: [
|
1822
|
+
interface MintPayload<T0 = any> extends TypedFunctionPayload<[Address, bigint]> {
|
1823
|
+
arguments_decoded: [Address, bigint];
|
1804
1824
|
type_arguments: [string];
|
1805
1825
|
}
|
1806
1826
|
interface RegisterPayload<T0 = any> extends TypedFunctionPayload<[]> {
|
@@ -1808,6 +1828,7 @@ export declare namespace managed_coin {
|
|
1808
1828
|
type_arguments: [string];
|
1809
1829
|
}
|
1810
1830
|
}
|
1831
|
+
export declare namespace math_fixed64 { }
|
1811
1832
|
export declare namespace ristretto255 {
|
1812
1833
|
interface CompressedRistretto {
|
1813
1834
|
data: string;
|
@@ -1834,7 +1855,7 @@ export declare namespace ristretto255 {
|
|
1834
1855
|
export declare namespace smart_vector {
|
1835
1856
|
interface SmartVector<T0> {
|
1836
1857
|
inline_vec: T0[] | string;
|
1837
|
-
big_vec: big_vector.BigVector<T0
|
1858
|
+
big_vec: option.Option<big_vector.BigVector<T0>>;
|
1838
1859
|
inline_capacity: option.Option<bigint>;
|
1839
1860
|
bucket_size: option.Option<bigint>;
|
1840
1861
|
}
|
@@ -1843,6 +1864,31 @@ export declare namespace smart_vector {
|
|
1843
1864
|
function type<T0>(arg0?: TypeDescriptor<T0>): TypeDescriptor<SmartVector<T0>>;
|
1844
1865
|
}
|
1845
1866
|
}
|
1867
|
+
export declare namespace string_utils {
|
1868
|
+
interface Cons<T0, T1> {
|
1869
|
+
car: T0;
|
1870
|
+
cdr: T1;
|
1871
|
+
}
|
1872
|
+
namespace Cons {
|
1873
|
+
const TYPE_QNAME = "0x1::string_utils::Cons";
|
1874
|
+
function type<T0, T1>(arg0?: TypeDescriptor<T0>, arg1?: TypeDescriptor<T1>): TypeDescriptor<Cons<T0, T1>>;
|
1875
|
+
}
|
1876
|
+
interface FakeCons<T0, T1> {
|
1877
|
+
car: T0;
|
1878
|
+
cdr: T1;
|
1879
|
+
}
|
1880
|
+
namespace FakeCons {
|
1881
|
+
const TYPE_QNAME = "0x1::string_utils::FakeCons";
|
1882
|
+
function type<T0, T1>(arg0?: TypeDescriptor<T0>, arg1?: TypeDescriptor<T1>): TypeDescriptor<FakeCons<T0, T1>>;
|
1883
|
+
}
|
1884
|
+
interface NIL {
|
1885
|
+
dummy_field: Boolean;
|
1886
|
+
}
|
1887
|
+
namespace NIL {
|
1888
|
+
const TYPE_QNAME = "0x1::string_utils::NIL";
|
1889
|
+
function type(): TypeDescriptor<NIL>;
|
1890
|
+
}
|
1891
|
+
}
|
1846
1892
|
export declare class aptos_account extends AptosBaseProcessor {
|
1847
1893
|
constructor(options: AptosBindOptions);
|
1848
1894
|
static DEFAULT_OPTIONS: AptosBindOptions;
|
@@ -1875,28 +1921,28 @@ export declare namespace aptos_account {
|
|
1875
1921
|
const TYPE_QNAME = "0x1::aptos_account::DirectTransferConfig";
|
1876
1922
|
function type(): TypeDescriptor<DirectTransferConfig>;
|
1877
1923
|
}
|
1878
|
-
interface BatchTransferPayload extends TypedFunctionPayload<[
|
1879
|
-
arguments_decoded: [
|
1924
|
+
interface BatchTransferPayload extends TypedFunctionPayload<[Address[], bigint[]]> {
|
1925
|
+
arguments_decoded: [Address[], bigint[]];
|
1880
1926
|
type_arguments: [];
|
1881
1927
|
}
|
1882
|
-
interface BatchTransferCoinsPayload<T0 = any> extends TypedFunctionPayload<[
|
1883
|
-
arguments_decoded: [
|
1928
|
+
interface BatchTransferCoinsPayload<T0 = any> extends TypedFunctionPayload<[Address[], bigint[]]> {
|
1929
|
+
arguments_decoded: [Address[], bigint[]];
|
1884
1930
|
type_arguments: [string];
|
1885
1931
|
}
|
1886
|
-
interface CreateAccountPayload extends TypedFunctionPayload<[
|
1887
|
-
arguments_decoded: [
|
1932
|
+
interface CreateAccountPayload extends TypedFunctionPayload<[Address]> {
|
1933
|
+
arguments_decoded: [Address];
|
1888
1934
|
type_arguments: [];
|
1889
1935
|
}
|
1890
1936
|
interface SetAllowDirectCoinTransfersPayload extends TypedFunctionPayload<[Boolean]> {
|
1891
1937
|
arguments_decoded: [Boolean];
|
1892
1938
|
type_arguments: [];
|
1893
1939
|
}
|
1894
|
-
interface TransferPayload extends TypedFunctionPayload<[
|
1895
|
-
arguments_decoded: [
|
1940
|
+
interface TransferPayload extends TypedFunctionPayload<[Address, bigint]> {
|
1941
|
+
arguments_decoded: [Address, bigint];
|
1896
1942
|
type_arguments: [];
|
1897
1943
|
}
|
1898
|
-
interface TransferCoinsPayload<T0 = any> extends TypedFunctionPayload<[
|
1899
|
-
arguments_decoded: [
|
1944
|
+
interface TransferCoinsPayload<T0 = any> extends TypedFunctionPayload<[Address, bigint]> {
|
1945
|
+
arguments_decoded: [Address, bigint];
|
1900
1946
|
type_arguments: [string];
|
1901
1947
|
}
|
1902
1948
|
}
|
@@ -1910,6 +1956,15 @@ export declare namespace fixed_point32 {
|
|
1910
1956
|
function type(): TypeDescriptor<FixedPoint32>;
|
1911
1957
|
}
|
1912
1958
|
}
|
1959
|
+
export declare namespace fixed_point64 {
|
1960
|
+
interface FixedPoint64 {
|
1961
|
+
value: bigint;
|
1962
|
+
}
|
1963
|
+
namespace FixedPoint64 {
|
1964
|
+
const TYPE_QNAME = "0x1::fixed_point64::FixedPoint64";
|
1965
|
+
function type(): TypeDescriptor<FixedPoint64>;
|
1966
|
+
}
|
1967
|
+
}
|
1913
1968
|
export declare namespace multi_ed25519 {
|
1914
1969
|
interface Signature {
|
1915
1970
|
bytes: string;
|
@@ -1947,36 +2002,36 @@ export declare class staking_proxy extends AptosBaseProcessor {
|
|
1947
2002
|
onEntrySetVoter(func: (call: staking_proxy.SetVoterPayload, ctx: AptosContext) => void, filter?: CallFilter, fetchConfig?: Partial<MoveFetchConfig>): staking_proxy;
|
1948
2003
|
}
|
1949
2004
|
export declare namespace staking_proxy {
|
1950
|
-
interface SetOperatorPayload extends TypedFunctionPayload<[
|
1951
|
-
arguments_decoded: [
|
2005
|
+
interface SetOperatorPayload extends TypedFunctionPayload<[Address, Address]> {
|
2006
|
+
arguments_decoded: [Address, Address];
|
1952
2007
|
type_arguments: [];
|
1953
2008
|
}
|
1954
|
-
interface SetStakePoolOperatorPayload extends TypedFunctionPayload<[
|
1955
|
-
arguments_decoded: [
|
2009
|
+
interface SetStakePoolOperatorPayload extends TypedFunctionPayload<[Address]> {
|
2010
|
+
arguments_decoded: [Address];
|
1956
2011
|
type_arguments: [];
|
1957
2012
|
}
|
1958
|
-
interface SetStakePoolVoterPayload extends TypedFunctionPayload<[
|
1959
|
-
arguments_decoded: [
|
2013
|
+
interface SetStakePoolVoterPayload extends TypedFunctionPayload<[Address]> {
|
2014
|
+
arguments_decoded: [Address];
|
1960
2015
|
type_arguments: [];
|
1961
2016
|
}
|
1962
|
-
interface SetStakingContractOperatorPayload extends TypedFunctionPayload<[
|
1963
|
-
arguments_decoded: [
|
2017
|
+
interface SetStakingContractOperatorPayload extends TypedFunctionPayload<[Address, Address]> {
|
2018
|
+
arguments_decoded: [Address, Address];
|
1964
2019
|
type_arguments: [];
|
1965
2020
|
}
|
1966
|
-
interface SetStakingContractVoterPayload extends TypedFunctionPayload<[
|
1967
|
-
arguments_decoded: [
|
2021
|
+
interface SetStakingContractVoterPayload extends TypedFunctionPayload<[Address, Address]> {
|
2022
|
+
arguments_decoded: [Address, Address];
|
1968
2023
|
type_arguments: [];
|
1969
2024
|
}
|
1970
|
-
interface SetVestingContractOperatorPayload extends TypedFunctionPayload<[
|
1971
|
-
arguments_decoded: [
|
2025
|
+
interface SetVestingContractOperatorPayload extends TypedFunctionPayload<[Address, Address]> {
|
2026
|
+
arguments_decoded: [Address, Address];
|
1972
2027
|
type_arguments: [];
|
1973
2028
|
}
|
1974
|
-
interface SetVestingContractVoterPayload extends TypedFunctionPayload<[
|
1975
|
-
arguments_decoded: [
|
2029
|
+
interface SetVestingContractVoterPayload extends TypedFunctionPayload<[Address, Address]> {
|
2030
|
+
arguments_decoded: [Address, Address];
|
1976
2031
|
type_arguments: [];
|
1977
2032
|
}
|
1978
|
-
interface SetVoterPayload extends TypedFunctionPayload<[
|
1979
|
-
arguments_decoded: [
|
2033
|
+
interface SetVoterPayload extends TypedFunctionPayload<[Address, Address]> {
|
2034
|
+
arguments_decoded: [Address, Address];
|
1980
2035
|
type_arguments: [];
|
1981
2036
|
}
|
1982
2037
|
}
|
@@ -2005,6 +2060,133 @@ export declare namespace state_storage {
|
|
2005
2060
|
function type(): TypeDescriptor<Usage>;
|
2006
2061
|
}
|
2007
2062
|
}
|
2063
|
+
export declare namespace crypto_algebra {
|
2064
|
+
interface Element<T0> {
|
2065
|
+
handle: bigint;
|
2066
|
+
}
|
2067
|
+
namespace Element {
|
2068
|
+
const TYPE_QNAME = "0x1::crypto_algebra::Element";
|
2069
|
+
function type<T0>(arg0?: TypeDescriptor<T0>): TypeDescriptor<Element<T0>>;
|
2070
|
+
}
|
2071
|
+
}
|
2072
|
+
export declare class fungible_asset extends AptosBaseProcessor {
|
2073
|
+
constructor(options: AptosBindOptions);
|
2074
|
+
static DEFAULT_OPTIONS: AptosBindOptions;
|
2075
|
+
static bind(options?: Partial<AptosBindOptions>): fungible_asset;
|
2076
|
+
onEntryTransfer(func: (call: fungible_asset.TransferPayload, ctx: AptosContext) => void, filter?: CallFilter, fetchConfig?: Partial<MoveFetchConfig>): fungible_asset;
|
2077
|
+
onEventDepositEvent(func: (event: fungible_asset.DepositEventInstance, ctx: AptosContext) => void, fetchConfig?: Partial<MoveFetchConfig>): fungible_asset;
|
2078
|
+
onEventWithdrawEvent(func: (event: fungible_asset.WithdrawEventInstance, ctx: AptosContext) => void, fetchConfig?: Partial<MoveFetchConfig>): fungible_asset;
|
2079
|
+
onEventFrozenEvent(func: (event: fungible_asset.FrozenEventInstance, ctx: AptosContext) => void, fetchConfig?: Partial<MoveFetchConfig>): fungible_asset;
|
2080
|
+
}
|
2081
|
+
export declare namespace fungible_asset {
|
2082
|
+
interface BurnRef {
|
2083
|
+
metadata: object_.Object<fungible_asset.Metadata>;
|
2084
|
+
}
|
2085
|
+
namespace BurnRef {
|
2086
|
+
const TYPE_QNAME = "0x1::fungible_asset::BurnRef";
|
2087
|
+
function type(): TypeDescriptor<BurnRef>;
|
2088
|
+
}
|
2089
|
+
interface DepositEvent {
|
2090
|
+
amount: bigint;
|
2091
|
+
}
|
2092
|
+
namespace DepositEvent {
|
2093
|
+
const TYPE_QNAME = "0x1::fungible_asset::DepositEvent";
|
2094
|
+
function type(): TypeDescriptor<DepositEvent>;
|
2095
|
+
}
|
2096
|
+
interface DepositEventInstance extends TypedEventInstance<DepositEvent> {
|
2097
|
+
data_decoded: DepositEvent;
|
2098
|
+
type_arguments: [];
|
2099
|
+
}
|
2100
|
+
interface FrozenEvent {
|
2101
|
+
frozen: Boolean;
|
2102
|
+
}
|
2103
|
+
namespace FrozenEvent {
|
2104
|
+
const TYPE_QNAME = "0x1::fungible_asset::FrozenEvent";
|
2105
|
+
function type(): TypeDescriptor<FrozenEvent>;
|
2106
|
+
}
|
2107
|
+
interface FrozenEventInstance extends TypedEventInstance<FrozenEvent> {
|
2108
|
+
data_decoded: FrozenEvent;
|
2109
|
+
type_arguments: [];
|
2110
|
+
}
|
2111
|
+
interface FungibleAsset {
|
2112
|
+
metadata: object_.Object<fungible_asset.Metadata>;
|
2113
|
+
amount: bigint;
|
2114
|
+
}
|
2115
|
+
namespace FungibleAsset {
|
2116
|
+
const TYPE_QNAME = "0x1::fungible_asset::FungibleAsset";
|
2117
|
+
function type(): TypeDescriptor<FungibleAsset>;
|
2118
|
+
}
|
2119
|
+
interface FungibleAssetEvents {
|
2120
|
+
deposit_events: event.EventHandle<fungible_asset.DepositEvent>;
|
2121
|
+
withdraw_events: event.EventHandle<fungible_asset.WithdrawEvent>;
|
2122
|
+
frozen_events: event.EventHandle<fungible_asset.FrozenEvent>;
|
2123
|
+
}
|
2124
|
+
namespace FungibleAssetEvents {
|
2125
|
+
const TYPE_QNAME = "0x1::fungible_asset::FungibleAssetEvents";
|
2126
|
+
function type(): TypeDescriptor<FungibleAssetEvents>;
|
2127
|
+
}
|
2128
|
+
interface FungibleStore {
|
2129
|
+
metadata: object_.Object<fungible_asset.Metadata>;
|
2130
|
+
balance: bigint;
|
2131
|
+
frozen: Boolean;
|
2132
|
+
}
|
2133
|
+
namespace FungibleStore {
|
2134
|
+
const TYPE_QNAME = "0x1::fungible_asset::FungibleStore";
|
2135
|
+
function type(): TypeDescriptor<FungibleStore>;
|
2136
|
+
}
|
2137
|
+
interface Metadata {
|
2138
|
+
name: string;
|
2139
|
+
symbol: string;
|
2140
|
+
decimals: number;
|
2141
|
+
icon_uri: string;
|
2142
|
+
project_uri: string;
|
2143
|
+
}
|
2144
|
+
namespace Metadata {
|
2145
|
+
const TYPE_QNAME = "0x1::fungible_asset::Metadata";
|
2146
|
+
function type(): TypeDescriptor<Metadata>;
|
2147
|
+
}
|
2148
|
+
interface MintRef {
|
2149
|
+
metadata: object_.Object<fungible_asset.Metadata>;
|
2150
|
+
}
|
2151
|
+
namespace MintRef {
|
2152
|
+
const TYPE_QNAME = "0x1::fungible_asset::MintRef";
|
2153
|
+
function type(): TypeDescriptor<MintRef>;
|
2154
|
+
}
|
2155
|
+
interface Supply {
|
2156
|
+
current: bigint;
|
2157
|
+
maximum: option.Option<bigint>;
|
2158
|
+
}
|
2159
|
+
namespace Supply {
|
2160
|
+
const TYPE_QNAME = "0x1::fungible_asset::Supply";
|
2161
|
+
function type(): TypeDescriptor<Supply>;
|
2162
|
+
}
|
2163
|
+
interface TransferRef {
|
2164
|
+
metadata: object_.Object<fungible_asset.Metadata>;
|
2165
|
+
}
|
2166
|
+
namespace TransferRef {
|
2167
|
+
const TYPE_QNAME = "0x1::fungible_asset::TransferRef";
|
2168
|
+
function type(): TypeDescriptor<TransferRef>;
|
2169
|
+
}
|
2170
|
+
interface WithdrawEvent {
|
2171
|
+
amount: bigint;
|
2172
|
+
}
|
2173
|
+
namespace WithdrawEvent {
|
2174
|
+
const TYPE_QNAME = "0x1::fungible_asset::WithdrawEvent";
|
2175
|
+
function type(): TypeDescriptor<WithdrawEvent>;
|
2176
|
+
}
|
2177
|
+
interface WithdrawEventInstance extends TypedEventInstance<WithdrawEvent> {
|
2178
|
+
data_decoded: WithdrawEvent;
|
2179
|
+
type_arguments: [];
|
2180
|
+
}
|
2181
|
+
interface TransferPayload<T0 = any> extends TypedFunctionPayload<[
|
2182
|
+
object_.Object<T0>,
|
2183
|
+
object_.Object<T0>,
|
2184
|
+
bigint
|
2185
|
+
]> {
|
2186
|
+
arguments_decoded: [object_.Object<T0>, object_.Object<T0>, bigint];
|
2187
|
+
type_arguments: [string];
|
2188
|
+
}
|
2189
|
+
}
|
2008
2190
|
export declare namespace staking_config {
|
2009
2191
|
interface StakingConfig {
|
2010
2192
|
minimum_stake: bigint;
|
@@ -2019,29 +2201,47 @@ export declare namespace staking_config {
|
|
2019
2201
|
const TYPE_QNAME = "0x1::staking_config::StakingConfig";
|
2020
2202
|
function type(): TypeDescriptor<StakingConfig>;
|
2021
2203
|
}
|
2204
|
+
interface StakingRewardsConfig {
|
2205
|
+
rewards_rate: fixed_point64.FixedPoint64;
|
2206
|
+
min_rewards_rate: fixed_point64.FixedPoint64;
|
2207
|
+
rewards_rate_period_in_secs: bigint;
|
2208
|
+
last_rewards_rate_period_start_in_secs: bigint;
|
2209
|
+
rewards_rate_decrease_rate: fixed_point64.FixedPoint64;
|
2210
|
+
}
|
2211
|
+
namespace StakingRewardsConfig {
|
2212
|
+
const TYPE_QNAME = "0x1::staking_config::StakingRewardsConfig";
|
2213
|
+
function type(): TypeDescriptor<StakingRewardsConfig>;
|
2214
|
+
}
|
2022
2215
|
}
|
2023
2216
|
export declare class delegation_pool extends AptosBaseProcessor {
|
2024
2217
|
constructor(options: AptosBindOptions);
|
2025
2218
|
static DEFAULT_OPTIONS: AptosBindOptions;
|
2026
2219
|
static bind(options?: Partial<AptosBindOptions>): delegation_pool;
|
2027
2220
|
onEntryAddStake(func: (call: delegation_pool.AddStakePayload, ctx: AptosContext) => void, filter?: CallFilter, fetchConfig?: Partial<MoveFetchConfig>): delegation_pool;
|
2221
|
+
onEntryCreateProposal(func: (call: delegation_pool.CreateProposalPayload, ctx: AptosContext) => void, filter?: CallFilter, fetchConfig?: Partial<MoveFetchConfig>): delegation_pool;
|
2222
|
+
onEntryDelegateVotingPower(func: (call: delegation_pool.DelegateVotingPowerPayload, ctx: AptosContext) => void, filter?: CallFilter, fetchConfig?: Partial<MoveFetchConfig>): delegation_pool;
|
2223
|
+
onEntryEnablePartialGovernanceVoting(func: (call: delegation_pool.EnablePartialGovernanceVotingPayload, ctx: AptosContext) => void, filter?: CallFilter, fetchConfig?: Partial<MoveFetchConfig>): delegation_pool;
|
2028
2224
|
onEntryInitializeDelegationPool(func: (call: delegation_pool.InitializeDelegationPoolPayload, ctx: AptosContext) => void, filter?: CallFilter, fetchConfig?: Partial<MoveFetchConfig>): delegation_pool;
|
2029
2225
|
onEntryReactivateStake(func: (call: delegation_pool.ReactivateStakePayload, ctx: AptosContext) => void, filter?: CallFilter, fetchConfig?: Partial<MoveFetchConfig>): delegation_pool;
|
2030
2226
|
onEntrySetDelegatedVoter(func: (call: delegation_pool.SetDelegatedVoterPayload, ctx: AptosContext) => void, filter?: CallFilter, fetchConfig?: Partial<MoveFetchConfig>): delegation_pool;
|
2031
2227
|
onEntrySetOperator(func: (call: delegation_pool.SetOperatorPayload, ctx: AptosContext) => void, filter?: CallFilter, fetchConfig?: Partial<MoveFetchConfig>): delegation_pool;
|
2032
2228
|
onEntrySynchronizeDelegationPool(func: (call: delegation_pool.SynchronizeDelegationPoolPayload, ctx: AptosContext) => void, filter?: CallFilter, fetchConfig?: Partial<MoveFetchConfig>): delegation_pool;
|
2033
2229
|
onEntryUnlock(func: (call: delegation_pool.UnlockPayload, ctx: AptosContext) => void, filter?: CallFilter, fetchConfig?: Partial<MoveFetchConfig>): delegation_pool;
|
2230
|
+
onEntryVote(func: (call: delegation_pool.VotePayload, ctx: AptosContext) => void, filter?: CallFilter, fetchConfig?: Partial<MoveFetchConfig>): delegation_pool;
|
2034
2231
|
onEntryWithdraw(func: (call: delegation_pool.WithdrawPayload, ctx: AptosContext) => void, filter?: CallFilter, fetchConfig?: Partial<MoveFetchConfig>): delegation_pool;
|
2035
2232
|
onEventAddStakeEvent(func: (event: delegation_pool.AddStakeEventInstance, ctx: AptosContext) => void, fetchConfig?: Partial<MoveFetchConfig>): delegation_pool;
|
2036
2233
|
onEventReactivateStakeEvent(func: (event: delegation_pool.ReactivateStakeEventInstance, ctx: AptosContext) => void, fetchConfig?: Partial<MoveFetchConfig>): delegation_pool;
|
2037
2234
|
onEventUnlockStakeEvent(func: (event: delegation_pool.UnlockStakeEventInstance, ctx: AptosContext) => void, fetchConfig?: Partial<MoveFetchConfig>): delegation_pool;
|
2038
2235
|
onEventWithdrawStakeEvent(func: (event: delegation_pool.WithdrawStakeEventInstance, ctx: AptosContext) => void, fetchConfig?: Partial<MoveFetchConfig>): delegation_pool;
|
2039
2236
|
onEventDistributeCommissionEvent(func: (event: delegation_pool.DistributeCommissionEventInstance, ctx: AptosContext) => void, fetchConfig?: Partial<MoveFetchConfig>): delegation_pool;
|
2237
|
+
onEventVoteEvent(func: (event: delegation_pool.VoteEventInstance, ctx: AptosContext) => void, fetchConfig?: Partial<MoveFetchConfig>): delegation_pool;
|
2238
|
+
onEventCreateProposalEvent(func: (event: delegation_pool.CreateProposalEventInstance, ctx: AptosContext) => void, fetchConfig?: Partial<MoveFetchConfig>): delegation_pool;
|
2239
|
+
onEventDelegateVotingPowerEvent(func: (event: delegation_pool.DelegateVotingPowerEventInstance, ctx: AptosContext) => void, fetchConfig?: Partial<MoveFetchConfig>): delegation_pool;
|
2040
2240
|
}
|
2041
2241
|
export declare namespace delegation_pool {
|
2042
2242
|
interface AddStakeEvent {
|
2043
|
-
pool_address:
|
2044
|
-
delegator_address:
|
2243
|
+
pool_address: Address;
|
2244
|
+
delegator_address: Address;
|
2045
2245
|
amount_added: bigint;
|
2046
2246
|
add_stake_fee: bigint;
|
2047
2247
|
}
|
@@ -2053,11 +2253,47 @@ export declare namespace delegation_pool {
|
|
2053
2253
|
data_decoded: AddStakeEvent;
|
2054
2254
|
type_arguments: [];
|
2055
2255
|
}
|
2256
|
+
interface CreateProposalEvent {
|
2257
|
+
proposal_id: bigint;
|
2258
|
+
voter: Address;
|
2259
|
+
delegation_pool: Address;
|
2260
|
+
}
|
2261
|
+
namespace CreateProposalEvent {
|
2262
|
+
const TYPE_QNAME = "0x1::delegation_pool::CreateProposalEvent";
|
2263
|
+
function type(): TypeDescriptor<CreateProposalEvent>;
|
2264
|
+
}
|
2265
|
+
interface CreateProposalEventInstance extends TypedEventInstance<CreateProposalEvent> {
|
2266
|
+
data_decoded: CreateProposalEvent;
|
2267
|
+
type_arguments: [];
|
2268
|
+
}
|
2269
|
+
interface DelegateVotingPowerEvent {
|
2270
|
+
pool_address: Address;
|
2271
|
+
delegator: Address;
|
2272
|
+
voter: Address;
|
2273
|
+
}
|
2274
|
+
namespace DelegateVotingPowerEvent {
|
2275
|
+
const TYPE_QNAME = "0x1::delegation_pool::DelegateVotingPowerEvent";
|
2276
|
+
function type(): TypeDescriptor<DelegateVotingPowerEvent>;
|
2277
|
+
}
|
2278
|
+
interface DelegateVotingPowerEventInstance extends TypedEventInstance<DelegateVotingPowerEvent> {
|
2279
|
+
data_decoded: DelegateVotingPowerEvent;
|
2280
|
+
type_arguments: [];
|
2281
|
+
}
|
2282
|
+
interface DelegatedVotes {
|
2283
|
+
active_shares: bigint;
|
2284
|
+
pending_inactive_shares: bigint;
|
2285
|
+
active_shares_next_lockup: bigint;
|
2286
|
+
last_locked_until_secs: bigint;
|
2287
|
+
}
|
2288
|
+
namespace DelegatedVotes {
|
2289
|
+
const TYPE_QNAME = "0x1::delegation_pool::DelegatedVotes";
|
2290
|
+
function type(): TypeDescriptor<DelegatedVotes>;
|
2291
|
+
}
|
2056
2292
|
interface DelegationPool {
|
2057
2293
|
active_shares: pool_u64_unbound.Pool;
|
2058
2294
|
observed_lockup_cycle: delegation_pool.ObservedLockupCycle;
|
2059
2295
|
inactive_shares: table.Table<delegation_pool.ObservedLockupCycle, pool_u64_unbound.Pool>;
|
2060
|
-
pending_withdrawals: table.Table<
|
2296
|
+
pending_withdrawals: table.Table<Address, delegation_pool.ObservedLockupCycle>;
|
2061
2297
|
stake_pool_signer_cap: account.SignerCapability;
|
2062
2298
|
total_coins_inactive: bigint;
|
2063
2299
|
operator_commission_percentage: bigint;
|
@@ -2072,15 +2308,15 @@ export declare namespace delegation_pool {
|
|
2072
2308
|
function type(): TypeDescriptor<DelegationPool>;
|
2073
2309
|
}
|
2074
2310
|
interface DelegationPoolOwnership {
|
2075
|
-
pool_address:
|
2311
|
+
pool_address: Address;
|
2076
2312
|
}
|
2077
2313
|
namespace DelegationPoolOwnership {
|
2078
2314
|
const TYPE_QNAME = "0x1::delegation_pool::DelegationPoolOwnership";
|
2079
2315
|
function type(): TypeDescriptor<DelegationPoolOwnership>;
|
2080
2316
|
}
|
2081
2317
|
interface DistributeCommissionEvent {
|
2082
|
-
pool_address:
|
2083
|
-
operator:
|
2318
|
+
pool_address: Address;
|
2319
|
+
operator: Address;
|
2084
2320
|
commission_active: bigint;
|
2085
2321
|
commission_pending_inactive: bigint;
|
2086
2322
|
}
|
@@ -2092,6 +2328,19 @@ export declare namespace delegation_pool {
|
|
2092
2328
|
data_decoded: DistributeCommissionEvent;
|
2093
2329
|
type_arguments: [];
|
2094
2330
|
}
|
2331
|
+
interface GovernanceRecords {
|
2332
|
+
votes: smart_table.SmartTable<delegation_pool.VotingRecordKey, bigint>;
|
2333
|
+
votes_per_proposal: smart_table.SmartTable<bigint, bigint>;
|
2334
|
+
vote_delegation: smart_table.SmartTable<Address, delegation_pool.VoteDelegation>;
|
2335
|
+
delegated_votes: smart_table.SmartTable<Address, delegation_pool.DelegatedVotes>;
|
2336
|
+
vote_events: event.EventHandle<delegation_pool.VoteEvent>;
|
2337
|
+
create_proposal_events: event.EventHandle<delegation_pool.CreateProposalEvent>;
|
2338
|
+
delegate_voting_power_events: event.EventHandle<delegation_pool.DelegateVotingPowerEvent>;
|
2339
|
+
}
|
2340
|
+
namespace GovernanceRecords {
|
2341
|
+
const TYPE_QNAME = "0x1::delegation_pool::GovernanceRecords";
|
2342
|
+
function type(): TypeDescriptor<GovernanceRecords>;
|
2343
|
+
}
|
2095
2344
|
interface ObservedLockupCycle {
|
2096
2345
|
index: bigint;
|
2097
2346
|
}
|
@@ -2100,8 +2349,8 @@ export declare namespace delegation_pool {
|
|
2100
2349
|
function type(): TypeDescriptor<ObservedLockupCycle>;
|
2101
2350
|
}
|
2102
2351
|
interface ReactivateStakeEvent {
|
2103
|
-
pool_address:
|
2104
|
-
delegator_address:
|
2352
|
+
pool_address: Address;
|
2353
|
+
delegator_address: Address;
|
2105
2354
|
amount_reactivated: bigint;
|
2106
2355
|
}
|
2107
2356
|
namespace ReactivateStakeEvent {
|
@@ -2113,8 +2362,8 @@ export declare namespace delegation_pool {
|
|
2113
2362
|
type_arguments: [];
|
2114
2363
|
}
|
2115
2364
|
interface UnlockStakeEvent {
|
2116
|
-
pool_address:
|
2117
|
-
delegator_address:
|
2365
|
+
pool_address: Address;
|
2366
|
+
delegator_address: Address;
|
2118
2367
|
amount_unlocked: bigint;
|
2119
2368
|
}
|
2120
2369
|
namespace UnlockStakeEvent {
|
@@ -2125,9 +2374,41 @@ export declare namespace delegation_pool {
|
|
2125
2374
|
data_decoded: UnlockStakeEvent;
|
2126
2375
|
type_arguments: [];
|
2127
2376
|
}
|
2377
|
+
interface VoteDelegation {
|
2378
|
+
voter: Address;
|
2379
|
+
pending_voter: Address;
|
2380
|
+
last_locked_until_secs: bigint;
|
2381
|
+
}
|
2382
|
+
namespace VoteDelegation {
|
2383
|
+
const TYPE_QNAME = "0x1::delegation_pool::VoteDelegation";
|
2384
|
+
function type(): TypeDescriptor<VoteDelegation>;
|
2385
|
+
}
|
2386
|
+
interface VoteEvent {
|
2387
|
+
voter: Address;
|
2388
|
+
proposal_id: bigint;
|
2389
|
+
delegation_pool: Address;
|
2390
|
+
num_votes: bigint;
|
2391
|
+
should_pass: Boolean;
|
2392
|
+
}
|
2393
|
+
namespace VoteEvent {
|
2394
|
+
const TYPE_QNAME = "0x1::delegation_pool::VoteEvent";
|
2395
|
+
function type(): TypeDescriptor<VoteEvent>;
|
2396
|
+
}
|
2397
|
+
interface VoteEventInstance extends TypedEventInstance<VoteEvent> {
|
2398
|
+
data_decoded: VoteEvent;
|
2399
|
+
type_arguments: [];
|
2400
|
+
}
|
2401
|
+
interface VotingRecordKey {
|
2402
|
+
voter: Address;
|
2403
|
+
proposal_id: bigint;
|
2404
|
+
}
|
2405
|
+
namespace VotingRecordKey {
|
2406
|
+
const TYPE_QNAME = "0x1::delegation_pool::VotingRecordKey";
|
2407
|
+
function type(): TypeDescriptor<VotingRecordKey>;
|
2408
|
+
}
|
2128
2409
|
interface WithdrawStakeEvent {
|
2129
|
-
pool_address:
|
2130
|
-
delegator_address:
|
2410
|
+
pool_address: Address;
|
2411
|
+
delegator_address: Address;
|
2131
2412
|
amount_withdrawn: bigint;
|
2132
2413
|
}
|
2133
2414
|
namespace WithdrawStakeEvent {
|
@@ -2138,36 +2419,52 @@ export declare namespace delegation_pool {
|
|
2138
2419
|
data_decoded: WithdrawStakeEvent;
|
2139
2420
|
type_arguments: [];
|
2140
2421
|
}
|
2141
|
-
interface AddStakePayload extends TypedFunctionPayload<[
|
2142
|
-
arguments_decoded: [
|
2422
|
+
interface AddStakePayload extends TypedFunctionPayload<[Address, bigint]> {
|
2423
|
+
arguments_decoded: [Address, bigint];
|
2424
|
+
type_arguments: [];
|
2425
|
+
}
|
2426
|
+
interface CreateProposalPayload extends TypedFunctionPayload<[Address, string, string, string, Boolean]> {
|
2427
|
+
arguments_decoded: [Address, string, string, string, Boolean];
|
2428
|
+
type_arguments: [];
|
2429
|
+
}
|
2430
|
+
interface DelegateVotingPowerPayload extends TypedFunctionPayload<[Address, Address]> {
|
2431
|
+
arguments_decoded: [Address, Address];
|
2432
|
+
type_arguments: [];
|
2433
|
+
}
|
2434
|
+
interface EnablePartialGovernanceVotingPayload extends TypedFunctionPayload<[Address]> {
|
2435
|
+
arguments_decoded: [Address];
|
2143
2436
|
type_arguments: [];
|
2144
2437
|
}
|
2145
2438
|
interface InitializeDelegationPoolPayload extends TypedFunctionPayload<[bigint, string]> {
|
2146
2439
|
arguments_decoded: [bigint, string];
|
2147
2440
|
type_arguments: [];
|
2148
2441
|
}
|
2149
|
-
interface ReactivateStakePayload extends TypedFunctionPayload<[
|
2150
|
-
arguments_decoded: [
|
2442
|
+
interface ReactivateStakePayload extends TypedFunctionPayload<[Address, bigint]> {
|
2443
|
+
arguments_decoded: [Address, bigint];
|
2151
2444
|
type_arguments: [];
|
2152
2445
|
}
|
2153
|
-
interface SetDelegatedVoterPayload extends TypedFunctionPayload<[
|
2154
|
-
arguments_decoded: [
|
2446
|
+
interface SetDelegatedVoterPayload extends TypedFunctionPayload<[Address]> {
|
2447
|
+
arguments_decoded: [Address];
|
2155
2448
|
type_arguments: [];
|
2156
2449
|
}
|
2157
|
-
interface SetOperatorPayload extends TypedFunctionPayload<[
|
2158
|
-
arguments_decoded: [
|
2450
|
+
interface SetOperatorPayload extends TypedFunctionPayload<[Address]> {
|
2451
|
+
arguments_decoded: [Address];
|
2159
2452
|
type_arguments: [];
|
2160
2453
|
}
|
2161
|
-
interface SynchronizeDelegationPoolPayload extends TypedFunctionPayload<[
|
2162
|
-
arguments_decoded: [
|
2454
|
+
interface SynchronizeDelegationPoolPayload extends TypedFunctionPayload<[Address]> {
|
2455
|
+
arguments_decoded: [Address];
|
2163
2456
|
type_arguments: [];
|
2164
2457
|
}
|
2165
|
-
interface UnlockPayload extends TypedFunctionPayload<[
|
2166
|
-
arguments_decoded: [
|
2458
|
+
interface UnlockPayload extends TypedFunctionPayload<[Address, bigint]> {
|
2459
|
+
arguments_decoded: [Address, bigint];
|
2167
2460
|
type_arguments: [];
|
2168
2461
|
}
|
2169
|
-
interface
|
2170
|
-
arguments_decoded: [
|
2462
|
+
interface VotePayload extends TypedFunctionPayload<[Address, bigint, bigint, Boolean]> {
|
2463
|
+
arguments_decoded: [Address, bigint, bigint, Boolean];
|
2464
|
+
type_arguments: [];
|
2465
|
+
}
|
2466
|
+
interface WithdrawPayload extends TypedFunctionPayload<[Address, bigint]> {
|
2467
|
+
arguments_decoded: [Address, bigint];
|
2171
2468
|
type_arguments: [];
|
2172
2469
|
}
|
2173
2470
|
}
|
@@ -2216,7 +2513,7 @@ export declare namespace transaction_fee {
|
|
2216
2513
|
}
|
2217
2514
|
interface CollectedFeesPerBlock {
|
2218
2515
|
amount: coin.AggregatableCoin<aptos_coin.AptosCoin>;
|
2219
|
-
proposer: option.Option<
|
2516
|
+
proposer: option.Option<Address>;
|
2220
2517
|
burn_percentage: number;
|
2221
2518
|
}
|
2222
2519
|
namespace CollectedFeesPerBlock {
|
@@ -2231,6 +2528,7 @@ export declare class aptos_governance extends AptosBaseProcessor {
|
|
2231
2528
|
onEntryAddApprovedScriptHashScript(func: (call: aptos_governance.AddApprovedScriptHashScriptPayload, ctx: AptosContext) => void, filter?: CallFilter, fetchConfig?: Partial<MoveFetchConfig>): aptos_governance;
|
2232
2529
|
onEntryCreateProposal(func: (call: aptos_governance.CreateProposalPayload, ctx: AptosContext) => void, filter?: CallFilter, fetchConfig?: Partial<MoveFetchConfig>): aptos_governance;
|
2233
2530
|
onEntryCreateProposalV2(func: (call: aptos_governance.CreateProposalV2Payload, ctx: AptosContext) => void, filter?: CallFilter, fetchConfig?: Partial<MoveFetchConfig>): aptos_governance;
|
2531
|
+
onEntryPartialVote(func: (call: aptos_governance.PartialVotePayload, ctx: AptosContext) => void, filter?: CallFilter, fetchConfig?: Partial<MoveFetchConfig>): aptos_governance;
|
2234
2532
|
onEntryVote(func: (call: aptos_governance.VotePayload, ctx: AptosContext) => void, filter?: CallFilter, fetchConfig?: Partial<MoveFetchConfig>): aptos_governance;
|
2235
2533
|
onEventCreateProposalEvent(func: (event: aptos_governance.CreateProposalEventInstance, ctx: AptosContext) => void, fetchConfig?: Partial<MoveFetchConfig>): aptos_governance;
|
2236
2534
|
onEventUpdateConfigEvent(func: (event: aptos_governance.UpdateConfigEventInstance, ctx: AptosContext) => void, fetchConfig?: Partial<MoveFetchConfig>): aptos_governance;
|
@@ -2245,8 +2543,8 @@ export declare namespace aptos_governance {
|
|
2245
2543
|
function type(): TypeDescriptor<ApprovedExecutionHashes>;
|
2246
2544
|
}
|
2247
2545
|
interface CreateProposalEvent {
|
2248
|
-
proposer:
|
2249
|
-
stake_pool:
|
2546
|
+
proposer: Address;
|
2547
|
+
stake_pool: Address;
|
2250
2548
|
proposal_id: bigint;
|
2251
2549
|
execution_hash: string;
|
2252
2550
|
proposal_metadata: simple_map.SimpleMap<string, string>;
|
@@ -2278,14 +2576,14 @@ export declare namespace aptos_governance {
|
|
2278
2576
|
function type(): TypeDescriptor<GovernanceEvents>;
|
2279
2577
|
}
|
2280
2578
|
interface GovernanceResponsbility {
|
2281
|
-
signer_caps: simple_map.SimpleMap<
|
2579
|
+
signer_caps: simple_map.SimpleMap<Address, account.SignerCapability>;
|
2282
2580
|
}
|
2283
2581
|
namespace GovernanceResponsbility {
|
2284
2582
|
const TYPE_QNAME = "0x1::aptos_governance::GovernanceResponsbility";
|
2285
2583
|
function type(): TypeDescriptor<GovernanceResponsbility>;
|
2286
2584
|
}
|
2287
2585
|
interface RecordKey {
|
2288
|
-
stake_pool:
|
2586
|
+
stake_pool: Address;
|
2289
2587
|
proposal_id: bigint;
|
2290
2588
|
}
|
2291
2589
|
namespace RecordKey {
|
@@ -2307,8 +2605,8 @@ export declare namespace aptos_governance {
|
|
2307
2605
|
}
|
2308
2606
|
interface VoteEvent {
|
2309
2607
|
proposal_id: bigint;
|
2310
|
-
voter:
|
2311
|
-
stake_pool:
|
2608
|
+
voter: Address;
|
2609
|
+
stake_pool: Address;
|
2312
2610
|
num_votes: bigint;
|
2313
2611
|
should_pass: Boolean;
|
2314
2612
|
}
|
@@ -2327,22 +2625,140 @@ export declare namespace aptos_governance {
|
|
2327
2625
|
const TYPE_QNAME = "0x1::aptos_governance::VotingRecords";
|
2328
2626
|
function type(): TypeDescriptor<VotingRecords>;
|
2329
2627
|
}
|
2628
|
+
interface VotingRecordsV2 {
|
2629
|
+
votes: smart_table.SmartTable<aptos_governance.RecordKey, bigint>;
|
2630
|
+
}
|
2631
|
+
namespace VotingRecordsV2 {
|
2632
|
+
const TYPE_QNAME = "0x1::aptos_governance::VotingRecordsV2";
|
2633
|
+
function type(): TypeDescriptor<VotingRecordsV2>;
|
2634
|
+
}
|
2330
2635
|
interface AddApprovedScriptHashScriptPayload extends TypedFunctionPayload<[bigint]> {
|
2331
2636
|
arguments_decoded: [bigint];
|
2332
2637
|
type_arguments: [];
|
2333
2638
|
}
|
2334
|
-
interface CreateProposalPayload extends TypedFunctionPayload<[
|
2335
|
-
arguments_decoded: [
|
2639
|
+
interface CreateProposalPayload extends TypedFunctionPayload<[Address, string, string, string]> {
|
2640
|
+
arguments_decoded: [Address, string, string, string];
|
2336
2641
|
type_arguments: [];
|
2337
2642
|
}
|
2338
|
-
interface CreateProposalV2Payload extends TypedFunctionPayload<[
|
2339
|
-
arguments_decoded: [
|
2643
|
+
interface CreateProposalV2Payload extends TypedFunctionPayload<[Address, string, string, string, Boolean]> {
|
2644
|
+
arguments_decoded: [Address, string, string, string, Boolean];
|
2340
2645
|
type_arguments: [];
|
2341
2646
|
}
|
2342
|
-
interface
|
2343
|
-
arguments_decoded: [
|
2647
|
+
interface PartialVotePayload extends TypedFunctionPayload<[Address, bigint, bigint, Boolean]> {
|
2648
|
+
arguments_decoded: [Address, bigint, bigint, Boolean];
|
2344
2649
|
type_arguments: [];
|
2345
2650
|
}
|
2651
|
+
interface VotePayload extends TypedFunctionPayload<[Address, bigint, Boolean]> {
|
2652
|
+
arguments_decoded: [Address, bigint, Boolean];
|
2653
|
+
type_arguments: [];
|
2654
|
+
}
|
2655
|
+
}
|
2656
|
+
export declare namespace bls12381_algebra {
|
2657
|
+
interface FormatFq12LscLsb {
|
2658
|
+
dummy_field: Boolean;
|
2659
|
+
}
|
2660
|
+
namespace FormatFq12LscLsb {
|
2661
|
+
const TYPE_QNAME = "0x1::bls12381_algebra::FormatFq12LscLsb";
|
2662
|
+
function type(): TypeDescriptor<FormatFq12LscLsb>;
|
2663
|
+
}
|
2664
|
+
interface FormatFrLsb {
|
2665
|
+
dummy_field: Boolean;
|
2666
|
+
}
|
2667
|
+
namespace FormatFrLsb {
|
2668
|
+
const TYPE_QNAME = "0x1::bls12381_algebra::FormatFrLsb";
|
2669
|
+
function type(): TypeDescriptor<FormatFrLsb>;
|
2670
|
+
}
|
2671
|
+
interface FormatFrMsb {
|
2672
|
+
dummy_field: Boolean;
|
2673
|
+
}
|
2674
|
+
namespace FormatFrMsb {
|
2675
|
+
const TYPE_QNAME = "0x1::bls12381_algebra::FormatFrMsb";
|
2676
|
+
function type(): TypeDescriptor<FormatFrMsb>;
|
2677
|
+
}
|
2678
|
+
interface FormatG1Compr {
|
2679
|
+
dummy_field: Boolean;
|
2680
|
+
}
|
2681
|
+
namespace FormatG1Compr {
|
2682
|
+
const TYPE_QNAME = "0x1::bls12381_algebra::FormatG1Compr";
|
2683
|
+
function type(): TypeDescriptor<FormatG1Compr>;
|
2684
|
+
}
|
2685
|
+
interface FormatG1Uncompr {
|
2686
|
+
dummy_field: Boolean;
|
2687
|
+
}
|
2688
|
+
namespace FormatG1Uncompr {
|
2689
|
+
const TYPE_QNAME = "0x1::bls12381_algebra::FormatG1Uncompr";
|
2690
|
+
function type(): TypeDescriptor<FormatG1Uncompr>;
|
2691
|
+
}
|
2692
|
+
interface FormatG2Compr {
|
2693
|
+
dummy_field: Boolean;
|
2694
|
+
}
|
2695
|
+
namespace FormatG2Compr {
|
2696
|
+
const TYPE_QNAME = "0x1::bls12381_algebra::FormatG2Compr";
|
2697
|
+
function type(): TypeDescriptor<FormatG2Compr>;
|
2698
|
+
}
|
2699
|
+
interface FormatG2Uncompr {
|
2700
|
+
dummy_field: Boolean;
|
2701
|
+
}
|
2702
|
+
namespace FormatG2Uncompr {
|
2703
|
+
const TYPE_QNAME = "0x1::bls12381_algebra::FormatG2Uncompr";
|
2704
|
+
function type(): TypeDescriptor<FormatG2Uncompr>;
|
2705
|
+
}
|
2706
|
+
interface FormatGt {
|
2707
|
+
dummy_field: Boolean;
|
2708
|
+
}
|
2709
|
+
namespace FormatGt {
|
2710
|
+
const TYPE_QNAME = "0x1::bls12381_algebra::FormatGt";
|
2711
|
+
function type(): TypeDescriptor<FormatGt>;
|
2712
|
+
}
|
2713
|
+
interface Fq12 {
|
2714
|
+
dummy_field: Boolean;
|
2715
|
+
}
|
2716
|
+
namespace Fq12 {
|
2717
|
+
const TYPE_QNAME = "0x1::bls12381_algebra::Fq12";
|
2718
|
+
function type(): TypeDescriptor<Fq12>;
|
2719
|
+
}
|
2720
|
+
interface Fr {
|
2721
|
+
dummy_field: Boolean;
|
2722
|
+
}
|
2723
|
+
namespace Fr {
|
2724
|
+
const TYPE_QNAME = "0x1::bls12381_algebra::Fr";
|
2725
|
+
function type(): TypeDescriptor<Fr>;
|
2726
|
+
}
|
2727
|
+
interface G1 {
|
2728
|
+
dummy_field: Boolean;
|
2729
|
+
}
|
2730
|
+
namespace G1 {
|
2731
|
+
const TYPE_QNAME = "0x1::bls12381_algebra::G1";
|
2732
|
+
function type(): TypeDescriptor<G1>;
|
2733
|
+
}
|
2734
|
+
interface G2 {
|
2735
|
+
dummy_field: Boolean;
|
2736
|
+
}
|
2737
|
+
namespace G2 {
|
2738
|
+
const TYPE_QNAME = "0x1::bls12381_algebra::G2";
|
2739
|
+
function type(): TypeDescriptor<G2>;
|
2740
|
+
}
|
2741
|
+
interface Gt {
|
2742
|
+
dummy_field: Boolean;
|
2743
|
+
}
|
2744
|
+
namespace Gt {
|
2745
|
+
const TYPE_QNAME = "0x1::bls12381_algebra::Gt";
|
2746
|
+
function type(): TypeDescriptor<Gt>;
|
2747
|
+
}
|
2748
|
+
interface HashG1XmdSha256SswuRo {
|
2749
|
+
dummy_field: Boolean;
|
2750
|
+
}
|
2751
|
+
namespace HashG1XmdSha256SswuRo {
|
2752
|
+
const TYPE_QNAME = "0x1::bls12381_algebra::HashG1XmdSha256SswuRo";
|
2753
|
+
function type(): TypeDescriptor<HashG1XmdSha256SswuRo>;
|
2754
|
+
}
|
2755
|
+
interface HashG2XmdSha256SswuRo {
|
2756
|
+
dummy_field: Boolean;
|
2757
|
+
}
|
2758
|
+
namespace HashG2XmdSha256SswuRo {
|
2759
|
+
const TYPE_QNAME = "0x1::bls12381_algebra::HashG2XmdSha256SswuRo";
|
2760
|
+
function type(): TypeDescriptor<HashG2XmdSha256SswuRo>;
|
2761
|
+
}
|
2346
2762
|
}
|
2347
2763
|
export declare namespace consensus_config {
|
2348
2764
|
interface ConsensusConfig {
|
@@ -2353,22 +2769,37 @@ export declare namespace consensus_config {
|
|
2353
2769
|
function type(): TypeDescriptor<ConsensusConfig>;
|
2354
2770
|
}
|
2355
2771
|
}
|
2772
|
+
export declare namespace execution_config {
|
2773
|
+
interface ExecutionConfig {
|
2774
|
+
config: string;
|
2775
|
+
}
|
2776
|
+
namespace ExecutionConfig {
|
2777
|
+
const TYPE_QNAME = "0x1::execution_config::ExecutionConfig";
|
2778
|
+
function type(): TypeDescriptor<ExecutionConfig>;
|
2779
|
+
}
|
2780
|
+
}
|
2356
2781
|
export declare class multisig_account extends AptosBaseProcessor {
|
2357
2782
|
constructor(options: AptosBindOptions);
|
2358
2783
|
static DEFAULT_OPTIONS: AptosBindOptions;
|
2359
2784
|
static bind(options?: Partial<AptosBindOptions>): multisig_account;
|
2360
2785
|
onEntryAddOwner(func: (call: multisig_account.AddOwnerPayload, ctx: AptosContext) => void, filter?: CallFilter, fetchConfig?: Partial<MoveFetchConfig>): multisig_account;
|
2361
2786
|
onEntryAddOwners(func: (call: multisig_account.AddOwnersPayload, ctx: AptosContext) => void, filter?: CallFilter, fetchConfig?: Partial<MoveFetchConfig>): multisig_account;
|
2787
|
+
onEntryAddOwnersAndUpdateSignaturesRequired(func: (call: multisig_account.AddOwnersAndUpdateSignaturesRequiredPayload, ctx: AptosContext) => void, filter?: CallFilter, fetchConfig?: Partial<MoveFetchConfig>): multisig_account;
|
2362
2788
|
onEntryApproveTransaction(func: (call: multisig_account.ApproveTransactionPayload, ctx: AptosContext) => void, filter?: CallFilter, fetchConfig?: Partial<MoveFetchConfig>): multisig_account;
|
2363
2789
|
onEntryCreate(func: (call: multisig_account.CreatePayload, ctx: AptosContext) => void, filter?: CallFilter, fetchConfig?: Partial<MoveFetchConfig>): multisig_account;
|
2364
2790
|
onEntryCreateTransaction(func: (call: multisig_account.CreateTransactionPayload, ctx: AptosContext) => void, filter?: CallFilter, fetchConfig?: Partial<MoveFetchConfig>): multisig_account;
|
2365
2791
|
onEntryCreateTransactionWithHash(func: (call: multisig_account.CreateTransactionWithHashPayload, ctx: AptosContext) => void, filter?: CallFilter, fetchConfig?: Partial<MoveFetchConfig>): multisig_account;
|
2366
2792
|
onEntryCreateWithExistingAccount(func: (call: multisig_account.CreateWithExistingAccountPayload, ctx: AptosContext) => void, filter?: CallFilter, fetchConfig?: Partial<MoveFetchConfig>): multisig_account;
|
2793
|
+
onEntryCreateWithExistingAccountAndRevokeAuthKey(func: (call: multisig_account.CreateWithExistingAccountAndRevokeAuthKeyPayload, ctx: AptosContext) => void, filter?: CallFilter, fetchConfig?: Partial<MoveFetchConfig>): multisig_account;
|
2367
2794
|
onEntryCreateWithOwners(func: (call: multisig_account.CreateWithOwnersPayload, ctx: AptosContext) => void, filter?: CallFilter, fetchConfig?: Partial<MoveFetchConfig>): multisig_account;
|
2795
|
+
onEntryCreateWithOwnersThenRemoveBootstrapper(func: (call: multisig_account.CreateWithOwnersThenRemoveBootstrapperPayload, ctx: AptosContext) => void, filter?: CallFilter, fetchConfig?: Partial<MoveFetchConfig>): multisig_account;
|
2368
2796
|
onEntryExecuteRejectedTransaction(func: (call: multisig_account.ExecuteRejectedTransactionPayload, ctx: AptosContext) => void, filter?: CallFilter, fetchConfig?: Partial<MoveFetchConfig>): multisig_account;
|
2369
2797
|
onEntryRejectTransaction(func: (call: multisig_account.RejectTransactionPayload, ctx: AptosContext) => void, filter?: CallFilter, fetchConfig?: Partial<MoveFetchConfig>): multisig_account;
|
2370
2798
|
onEntryRemoveOwner(func: (call: multisig_account.RemoveOwnerPayload, ctx: AptosContext) => void, filter?: CallFilter, fetchConfig?: Partial<MoveFetchConfig>): multisig_account;
|
2371
2799
|
onEntryRemoveOwners(func: (call: multisig_account.RemoveOwnersPayload, ctx: AptosContext) => void, filter?: CallFilter, fetchConfig?: Partial<MoveFetchConfig>): multisig_account;
|
2800
|
+
onEntrySwapOwner(func: (call: multisig_account.SwapOwnerPayload, ctx: AptosContext) => void, filter?: CallFilter, fetchConfig?: Partial<MoveFetchConfig>): multisig_account;
|
2801
|
+
onEntrySwapOwners(func: (call: multisig_account.SwapOwnersPayload, ctx: AptosContext) => void, filter?: CallFilter, fetchConfig?: Partial<MoveFetchConfig>): multisig_account;
|
2802
|
+
onEntrySwapOwnersAndUpdateSignaturesRequired(func: (call: multisig_account.SwapOwnersAndUpdateSignaturesRequiredPayload, ctx: AptosContext) => void, filter?: CallFilter, fetchConfig?: Partial<MoveFetchConfig>): multisig_account;
|
2372
2803
|
onEntryUpdateMetadata(func: (call: multisig_account.UpdateMetadataPayload, ctx: AptosContext) => void, filter?: CallFilter, fetchConfig?: Partial<MoveFetchConfig>): multisig_account;
|
2373
2804
|
onEntryUpdateSignaturesRequired(func: (call: multisig_account.UpdateSignaturesRequiredPayload, ctx: AptosContext) => void, filter?: CallFilter, fetchConfig?: Partial<MoveFetchConfig>): multisig_account;
|
2374
2805
|
onEntryVoteTransanction(func: (call: multisig_account.VoteTransanctionPayload, ctx: AptosContext) => void, filter?: CallFilter, fetchConfig?: Partial<MoveFetchConfig>): multisig_account;
|
@@ -2384,7 +2815,7 @@ export declare class multisig_account extends AptosBaseProcessor {
|
|
2384
2815
|
}
|
2385
2816
|
export declare namespace multisig_account {
|
2386
2817
|
interface AddOwnersEvent {
|
2387
|
-
owners_added:
|
2818
|
+
owners_added: Address[];
|
2388
2819
|
}
|
2389
2820
|
namespace AddOwnersEvent {
|
2390
2821
|
const TYPE_QNAME = "0x1::multisig_account::AddOwnersEvent";
|
@@ -2395,7 +2826,7 @@ export declare namespace multisig_account {
|
|
2395
2826
|
type_arguments: [];
|
2396
2827
|
}
|
2397
2828
|
interface CreateTransactionEvent {
|
2398
|
-
creator:
|
2829
|
+
creator: Address;
|
2399
2830
|
sequence_number: bigint;
|
2400
2831
|
transaction: multisig_account.MultisigTransaction;
|
2401
2832
|
}
|
@@ -2410,7 +2841,7 @@ export declare namespace multisig_account {
|
|
2410
2841
|
interface ExecuteRejectedTransactionEvent {
|
2411
2842
|
sequence_number: bigint;
|
2412
2843
|
num_rejections: bigint;
|
2413
|
-
executor:
|
2844
|
+
executor: Address;
|
2414
2845
|
}
|
2415
2846
|
namespace ExecuteRejectedTransactionEvent {
|
2416
2847
|
const TYPE_QNAME = "0x1::multisig_account::ExecuteRejectedTransactionEvent";
|
@@ -2442,7 +2873,7 @@ export declare namespace multisig_account {
|
|
2442
2873
|
type_arguments: [];
|
2443
2874
|
}
|
2444
2875
|
interface MultisigAccount {
|
2445
|
-
owners:
|
2876
|
+
owners: Address[];
|
2446
2877
|
num_signatures_required: bigint;
|
2447
2878
|
transactions: table.Table<bigint, multisig_account.MultisigTransaction>;
|
2448
2879
|
last_executed_sequence_number: bigint;
|
@@ -2465,20 +2896,31 @@ export declare namespace multisig_account {
|
|
2465
2896
|
}
|
2466
2897
|
interface MultisigAccountCreationMessage {
|
2467
2898
|
chain_id: number;
|
2468
|
-
account_address:
|
2899
|
+
account_address: Address;
|
2469
2900
|
sequence_number: bigint;
|
2470
|
-
owners:
|
2901
|
+
owners: Address[];
|
2471
2902
|
num_signatures_required: bigint;
|
2472
2903
|
}
|
2473
2904
|
namespace MultisigAccountCreationMessage {
|
2474
2905
|
const TYPE_QNAME = "0x1::multisig_account::MultisigAccountCreationMessage";
|
2475
2906
|
function type(): TypeDescriptor<MultisigAccountCreationMessage>;
|
2476
2907
|
}
|
2908
|
+
interface MultisigAccountCreationWithAuthKeyRevocationMessage {
|
2909
|
+
chain_id: number;
|
2910
|
+
account_address: Address;
|
2911
|
+
sequence_number: bigint;
|
2912
|
+
owners: Address[];
|
2913
|
+
num_signatures_required: bigint;
|
2914
|
+
}
|
2915
|
+
namespace MultisigAccountCreationWithAuthKeyRevocationMessage {
|
2916
|
+
const TYPE_QNAME = "0x1::multisig_account::MultisigAccountCreationWithAuthKeyRevocationMessage";
|
2917
|
+
function type(): TypeDescriptor<MultisigAccountCreationWithAuthKeyRevocationMessage>;
|
2918
|
+
}
|
2477
2919
|
interface MultisigTransaction {
|
2478
2920
|
payload: option.Option<string>;
|
2479
2921
|
payload_hash: option.Option<string>;
|
2480
|
-
votes: simple_map.SimpleMap<
|
2481
|
-
creator:
|
2922
|
+
votes: simple_map.SimpleMap<Address, Boolean>;
|
2923
|
+
creator: Address;
|
2482
2924
|
creation_time_secs: bigint;
|
2483
2925
|
}
|
2484
2926
|
namespace MultisigTransaction {
|
@@ -2486,7 +2928,7 @@ export declare namespace multisig_account {
|
|
2486
2928
|
function type(): TypeDescriptor<MultisigTransaction>;
|
2487
2929
|
}
|
2488
2930
|
interface RemoveOwnersEvent {
|
2489
|
-
owners_removed:
|
2931
|
+
owners_removed: Address[];
|
2490
2932
|
}
|
2491
2933
|
namespace RemoveOwnersEvent {
|
2492
2934
|
const TYPE_QNAME = "0x1::multisig_account::RemoveOwnersEvent";
|
@@ -2497,7 +2939,7 @@ export declare namespace multisig_account {
|
|
2497
2939
|
type_arguments: [];
|
2498
2940
|
}
|
2499
2941
|
interface TransactionExecutionFailedEvent {
|
2500
|
-
executor:
|
2942
|
+
executor: Address;
|
2501
2943
|
sequence_number: bigint;
|
2502
2944
|
transaction_payload: string;
|
2503
2945
|
num_approvals: bigint;
|
@@ -2512,7 +2954,7 @@ export declare namespace multisig_account {
|
|
2512
2954
|
type_arguments: [];
|
2513
2955
|
}
|
2514
2956
|
interface TransactionExecutionSucceededEvent {
|
2515
|
-
executor:
|
2957
|
+
executor: Address;
|
2516
2958
|
sequence_number: bigint;
|
2517
2959
|
transaction_payload: string;
|
2518
2960
|
num_approvals: bigint;
|
@@ -2538,7 +2980,7 @@ export declare namespace multisig_account {
|
|
2538
2980
|
type_arguments: [];
|
2539
2981
|
}
|
2540
2982
|
interface VoteEvent {
|
2541
|
-
owner:
|
2983
|
+
owner: Address;
|
2542
2984
|
sequence_number: bigint;
|
2543
2985
|
approved: Boolean;
|
2544
2986
|
}
|
@@ -2550,33 +2992,37 @@ export declare namespace multisig_account {
|
|
2550
2992
|
data_decoded: VoteEvent;
|
2551
2993
|
type_arguments: [];
|
2552
2994
|
}
|
2553
|
-
interface AddOwnerPayload extends TypedFunctionPayload<[
|
2554
|
-
arguments_decoded: [
|
2995
|
+
interface AddOwnerPayload extends TypedFunctionPayload<[Address]> {
|
2996
|
+
arguments_decoded: [Address];
|
2555
2997
|
type_arguments: [];
|
2556
2998
|
}
|
2557
|
-
interface AddOwnersPayload extends TypedFunctionPayload<[
|
2558
|
-
arguments_decoded: [
|
2999
|
+
interface AddOwnersPayload extends TypedFunctionPayload<[Address[]]> {
|
3000
|
+
arguments_decoded: [Address[]];
|
2559
3001
|
type_arguments: [];
|
2560
3002
|
}
|
2561
|
-
interface
|
2562
|
-
arguments_decoded: [
|
3003
|
+
interface AddOwnersAndUpdateSignaturesRequiredPayload extends TypedFunctionPayload<[Address[], bigint]> {
|
3004
|
+
arguments_decoded: [Address[], bigint];
|
3005
|
+
type_arguments: [];
|
3006
|
+
}
|
3007
|
+
interface ApproveTransactionPayload extends TypedFunctionPayload<[Address, bigint]> {
|
3008
|
+
arguments_decoded: [Address, bigint];
|
2563
3009
|
type_arguments: [];
|
2564
3010
|
}
|
2565
3011
|
interface CreatePayload extends TypedFunctionPayload<[bigint, string[], string[]]> {
|
2566
3012
|
arguments_decoded: [bigint, string[], string[]];
|
2567
3013
|
type_arguments: [];
|
2568
3014
|
}
|
2569
|
-
interface CreateTransactionPayload extends TypedFunctionPayload<[
|
2570
|
-
arguments_decoded: [
|
3015
|
+
interface CreateTransactionPayload extends TypedFunctionPayload<[Address, string]> {
|
3016
|
+
arguments_decoded: [Address, string];
|
2571
3017
|
type_arguments: [];
|
2572
3018
|
}
|
2573
|
-
interface CreateTransactionWithHashPayload extends TypedFunctionPayload<[
|
2574
|
-
arguments_decoded: [
|
3019
|
+
interface CreateTransactionWithHashPayload extends TypedFunctionPayload<[Address, string]> {
|
3020
|
+
arguments_decoded: [Address, string];
|
2575
3021
|
type_arguments: [];
|
2576
3022
|
}
|
2577
3023
|
interface CreateWithExistingAccountPayload extends TypedFunctionPayload<[
|
2578
|
-
|
2579
|
-
|
3024
|
+
Address,
|
3025
|
+
Address[],
|
2580
3026
|
bigint,
|
2581
3027
|
number,
|
2582
3028
|
string,
|
@@ -2585,8 +3031,30 @@ export declare namespace multisig_account {
|
|
2585
3031
|
string[]
|
2586
3032
|
]> {
|
2587
3033
|
arguments_decoded: [
|
3034
|
+
Address,
|
3035
|
+
Address[],
|
3036
|
+
bigint,
|
3037
|
+
number,
|
3038
|
+
string,
|
2588
3039
|
string,
|
2589
3040
|
string[],
|
3041
|
+
string[]
|
3042
|
+
];
|
3043
|
+
type_arguments: [];
|
3044
|
+
}
|
3045
|
+
interface CreateWithExistingAccountAndRevokeAuthKeyPayload extends TypedFunctionPayload<[
|
3046
|
+
Address,
|
3047
|
+
Address[],
|
3048
|
+
bigint,
|
3049
|
+
number,
|
3050
|
+
string,
|
3051
|
+
string,
|
3052
|
+
string[],
|
3053
|
+
string[]
|
3054
|
+
]> {
|
3055
|
+
arguments_decoded: [
|
3056
|
+
Address,
|
3057
|
+
Address[],
|
2590
3058
|
bigint,
|
2591
3059
|
number,
|
2592
3060
|
string,
|
@@ -2596,24 +3064,40 @@ export declare namespace multisig_account {
|
|
2596
3064
|
];
|
2597
3065
|
type_arguments: [];
|
2598
3066
|
}
|
2599
|
-
interface CreateWithOwnersPayload extends TypedFunctionPayload<[
|
2600
|
-
arguments_decoded: [
|
3067
|
+
interface CreateWithOwnersPayload extends TypedFunctionPayload<[Address[], bigint, string[], string[]]> {
|
3068
|
+
arguments_decoded: [Address[], bigint, string[], string[]];
|
3069
|
+
type_arguments: [];
|
3070
|
+
}
|
3071
|
+
interface CreateWithOwnersThenRemoveBootstrapperPayload extends TypedFunctionPayload<[Address[], bigint, string[], string[]]> {
|
3072
|
+
arguments_decoded: [Address[], bigint, string[], string[]];
|
2601
3073
|
type_arguments: [];
|
2602
3074
|
}
|
2603
|
-
interface ExecuteRejectedTransactionPayload extends TypedFunctionPayload<[
|
2604
|
-
arguments_decoded: [
|
3075
|
+
interface ExecuteRejectedTransactionPayload extends TypedFunctionPayload<[Address]> {
|
3076
|
+
arguments_decoded: [Address];
|
2605
3077
|
type_arguments: [];
|
2606
3078
|
}
|
2607
|
-
interface RejectTransactionPayload extends TypedFunctionPayload<[
|
2608
|
-
arguments_decoded: [
|
3079
|
+
interface RejectTransactionPayload extends TypedFunctionPayload<[Address, bigint]> {
|
3080
|
+
arguments_decoded: [Address, bigint];
|
2609
3081
|
type_arguments: [];
|
2610
3082
|
}
|
2611
|
-
interface RemoveOwnerPayload extends TypedFunctionPayload<[
|
2612
|
-
arguments_decoded: [
|
3083
|
+
interface RemoveOwnerPayload extends TypedFunctionPayload<[Address]> {
|
3084
|
+
arguments_decoded: [Address];
|
2613
3085
|
type_arguments: [];
|
2614
3086
|
}
|
2615
|
-
interface RemoveOwnersPayload extends TypedFunctionPayload<[
|
2616
|
-
arguments_decoded: [
|
3087
|
+
interface RemoveOwnersPayload extends TypedFunctionPayload<[Address[]]> {
|
3088
|
+
arguments_decoded: [Address[]];
|
3089
|
+
type_arguments: [];
|
3090
|
+
}
|
3091
|
+
interface SwapOwnerPayload extends TypedFunctionPayload<[Address, Address]> {
|
3092
|
+
arguments_decoded: [Address, Address];
|
3093
|
+
type_arguments: [];
|
3094
|
+
}
|
3095
|
+
interface SwapOwnersPayload extends TypedFunctionPayload<[Address[], Address[]]> {
|
3096
|
+
arguments_decoded: [Address[], Address[]];
|
3097
|
+
type_arguments: [];
|
3098
|
+
}
|
3099
|
+
interface SwapOwnersAndUpdateSignaturesRequiredPayload extends TypedFunctionPayload<[Address[], Address[], bigint]> {
|
3100
|
+
arguments_decoded: [Address[], Address[], bigint];
|
2617
3101
|
type_arguments: [];
|
2618
3102
|
}
|
2619
3103
|
interface UpdateMetadataPayload extends TypedFunctionPayload<[string[], string[]]> {
|
@@ -2624,8 +3108,8 @@ export declare namespace multisig_account {
|
|
2624
3108
|
arguments_decoded: [bigint];
|
2625
3109
|
type_arguments: [];
|
2626
3110
|
}
|
2627
|
-
interface VoteTransanctionPayload extends TypedFunctionPayload<[
|
2628
|
-
arguments_decoded: [
|
3111
|
+
interface VoteTransanctionPayload extends TypedFunctionPayload<[Address, bigint, Boolean]> {
|
3112
|
+
arguments_decoded: [Address, bigint, Boolean];
|
2629
3113
|
type_arguments: [];
|
2630
3114
|
}
|
2631
3115
|
}
|
@@ -2633,7 +3117,7 @@ export declare namespace pool_u64_unbound {
|
|
2633
3117
|
interface Pool {
|
2634
3118
|
total_coins: bigint;
|
2635
3119
|
total_shares: bigint;
|
2636
|
-
shares: table_with_length.TableWithLength<
|
3120
|
+
shares: table_with_length.TableWithLength<Address, bigint>;
|
2637
3121
|
scaling_factor: bigint;
|
2638
3122
|
}
|
2639
3123
|
namespace Pool {
|
@@ -2651,7 +3135,7 @@ export declare class resource_account extends AptosBaseProcessor {
|
|
2651
3135
|
}
|
2652
3136
|
export declare namespace resource_account {
|
2653
3137
|
interface Container {
|
2654
|
-
store: simple_map.SimpleMap<
|
3138
|
+
store: simple_map.SimpleMap<Address, account.SignerCapability>;
|
2655
3139
|
}
|
2656
3140
|
namespace Container {
|
2657
3141
|
const TYPE_QNAME = "0x1::resource_account::Container";
|
@@ -2698,8 +3182,8 @@ export declare class staking_contract extends AptosBaseProcessor {
|
|
2698
3182
|
}
|
2699
3183
|
export declare namespace staking_contract {
|
2700
3184
|
interface AddDistributionEvent {
|
2701
|
-
operator:
|
2702
|
-
pool_address:
|
3185
|
+
operator: Address;
|
3186
|
+
pool_address: Address;
|
2703
3187
|
amount: bigint;
|
2704
3188
|
}
|
2705
3189
|
namespace AddDistributionEvent {
|
@@ -2711,8 +3195,8 @@ export declare namespace staking_contract {
|
|
2711
3195
|
type_arguments: [];
|
2712
3196
|
}
|
2713
3197
|
interface AddStakeEvent {
|
2714
|
-
operator:
|
2715
|
-
pool_address:
|
3198
|
+
operator: Address;
|
3199
|
+
pool_address: Address;
|
2716
3200
|
amount: bigint;
|
2717
3201
|
}
|
2718
3202
|
namespace AddStakeEvent {
|
@@ -2724,9 +3208,9 @@ export declare namespace staking_contract {
|
|
2724
3208
|
type_arguments: [];
|
2725
3209
|
}
|
2726
3210
|
interface CreateStakingContractEvent {
|
2727
|
-
operator:
|
2728
|
-
voter:
|
2729
|
-
pool_address:
|
3211
|
+
operator: Address;
|
3212
|
+
voter: Address;
|
3213
|
+
pool_address: Address;
|
2730
3214
|
principal: bigint;
|
2731
3215
|
commission_percentage: bigint;
|
2732
3216
|
}
|
@@ -2739,9 +3223,9 @@ export declare namespace staking_contract {
|
|
2739
3223
|
type_arguments: [];
|
2740
3224
|
}
|
2741
3225
|
interface DistributeEvent {
|
2742
|
-
operator:
|
2743
|
-
pool_address:
|
2744
|
-
recipient:
|
3226
|
+
operator: Address;
|
3227
|
+
pool_address: Address;
|
3228
|
+
recipient: Address;
|
2745
3229
|
amount: bigint;
|
2746
3230
|
}
|
2747
3231
|
namespace DistributeEvent {
|
@@ -2753,8 +3237,8 @@ export declare namespace staking_contract {
|
|
2753
3237
|
type_arguments: [];
|
2754
3238
|
}
|
2755
3239
|
interface RequestCommissionEvent {
|
2756
|
-
operator:
|
2757
|
-
pool_address:
|
3240
|
+
operator: Address;
|
3241
|
+
pool_address: Address;
|
2758
3242
|
accumulated_rewards: bigint;
|
2759
3243
|
commission_amount: bigint;
|
2760
3244
|
}
|
@@ -2767,8 +3251,8 @@ export declare namespace staking_contract {
|
|
2767
3251
|
type_arguments: [];
|
2768
3252
|
}
|
2769
3253
|
interface ResetLockupEvent {
|
2770
|
-
operator:
|
2771
|
-
pool_address:
|
3254
|
+
operator: Address;
|
3255
|
+
pool_address: Address;
|
2772
3256
|
}
|
2773
3257
|
namespace ResetLockupEvent {
|
2774
3258
|
const TYPE_QNAME = "0x1::staking_contract::ResetLockupEvent";
|
@@ -2780,7 +3264,7 @@ export declare namespace staking_contract {
|
|
2780
3264
|
}
|
2781
3265
|
interface StakingContract {
|
2782
3266
|
principal: bigint;
|
2783
|
-
pool_address:
|
3267
|
+
pool_address: Address;
|
2784
3268
|
owner_cap: stake.OwnerCapability;
|
2785
3269
|
commission_percentage: bigint;
|
2786
3270
|
distribution_pool: pool_u64.Pool;
|
@@ -2805,7 +3289,7 @@ export declare namespace staking_contract {
|
|
2805
3289
|
function type(): TypeDescriptor<StakingGroupUpdateCommissionEvent>;
|
2806
3290
|
}
|
2807
3291
|
interface Store {
|
2808
|
-
staking_contracts: simple_map.SimpleMap<
|
3292
|
+
staking_contracts: simple_map.SimpleMap<Address, staking_contract.StakingContract>;
|
2809
3293
|
create_staking_contract_events: event.EventHandle<staking_contract.CreateStakingContractEvent>;
|
2810
3294
|
update_voter_events: event.EventHandle<staking_contract.UpdateVoterEvent>;
|
2811
3295
|
reset_lockup_events: event.EventHandle<staking_contract.ResetLockupEvent>;
|
@@ -2821,9 +3305,9 @@ export declare namespace staking_contract {
|
|
2821
3305
|
function type(): TypeDescriptor<Store>;
|
2822
3306
|
}
|
2823
3307
|
interface SwitchOperatorEvent {
|
2824
|
-
old_operator:
|
2825
|
-
new_operator:
|
2826
|
-
pool_address:
|
3308
|
+
old_operator: Address;
|
3309
|
+
new_operator: Address;
|
3310
|
+
pool_address: Address;
|
2827
3311
|
}
|
2828
3312
|
namespace SwitchOperatorEvent {
|
2829
3313
|
const TYPE_QNAME = "0x1::staking_contract::SwitchOperatorEvent";
|
@@ -2834,8 +3318,8 @@ export declare namespace staking_contract {
|
|
2834
3318
|
type_arguments: [];
|
2835
3319
|
}
|
2836
3320
|
interface UnlockStakeEvent {
|
2837
|
-
operator:
|
2838
|
-
pool_address:
|
3321
|
+
operator: Address;
|
3322
|
+
pool_address: Address;
|
2839
3323
|
amount: bigint;
|
2840
3324
|
commission_paid: bigint;
|
2841
3325
|
}
|
@@ -2848,8 +3332,8 @@ export declare namespace staking_contract {
|
|
2848
3332
|
type_arguments: [];
|
2849
3333
|
}
|
2850
3334
|
interface UpdateCommissionEvent {
|
2851
|
-
staker:
|
2852
|
-
operator:
|
3335
|
+
staker: Address;
|
3336
|
+
operator: Address;
|
2853
3337
|
old_commission_percentage: bigint;
|
2854
3338
|
new_commission_percentage: bigint;
|
2855
3339
|
}
|
@@ -2862,10 +3346,10 @@ export declare namespace staking_contract {
|
|
2862
3346
|
type_arguments: [];
|
2863
3347
|
}
|
2864
3348
|
interface UpdateVoterEvent {
|
2865
|
-
operator:
|
2866
|
-
pool_address:
|
2867
|
-
old_voter:
|
2868
|
-
new_voter:
|
3349
|
+
operator: Address;
|
3350
|
+
pool_address: Address;
|
3351
|
+
old_voter: Address;
|
3352
|
+
new_voter: Address;
|
2869
3353
|
}
|
2870
3354
|
namespace UpdateVoterEvent {
|
2871
3355
|
const TYPE_QNAME = "0x1::staking_contract::UpdateVoterEvent";
|
@@ -2875,48 +3359,48 @@ export declare namespace staking_contract {
|
|
2875
3359
|
data_decoded: UpdateVoterEvent;
|
2876
3360
|
type_arguments: [];
|
2877
3361
|
}
|
2878
|
-
interface AddStakePayload extends TypedFunctionPayload<[
|
2879
|
-
arguments_decoded: [
|
3362
|
+
interface AddStakePayload extends TypedFunctionPayload<[Address, bigint]> {
|
3363
|
+
arguments_decoded: [Address, bigint];
|
2880
3364
|
type_arguments: [];
|
2881
3365
|
}
|
2882
|
-
interface CreateStakingContractPayload extends TypedFunctionPayload<[
|
2883
|
-
arguments_decoded: [
|
3366
|
+
interface CreateStakingContractPayload extends TypedFunctionPayload<[Address, Address, bigint, bigint, string]> {
|
3367
|
+
arguments_decoded: [Address, Address, bigint, bigint, string];
|
2884
3368
|
type_arguments: [];
|
2885
3369
|
}
|
2886
|
-
interface DistributePayload extends TypedFunctionPayload<[
|
2887
|
-
arguments_decoded: [
|
3370
|
+
interface DistributePayload extends TypedFunctionPayload<[Address, Address]> {
|
3371
|
+
arguments_decoded: [Address, Address];
|
2888
3372
|
type_arguments: [];
|
2889
3373
|
}
|
2890
|
-
interface RequestCommissionPayload extends TypedFunctionPayload<[
|
2891
|
-
arguments_decoded: [
|
3374
|
+
interface RequestCommissionPayload extends TypedFunctionPayload<[Address, Address]> {
|
3375
|
+
arguments_decoded: [Address, Address];
|
2892
3376
|
type_arguments: [];
|
2893
3377
|
}
|
2894
|
-
interface ResetLockupPayload extends TypedFunctionPayload<[
|
2895
|
-
arguments_decoded: [
|
3378
|
+
interface ResetLockupPayload extends TypedFunctionPayload<[Address]> {
|
3379
|
+
arguments_decoded: [Address];
|
2896
3380
|
type_arguments: [];
|
2897
3381
|
}
|
2898
|
-
interface SwitchOperatorPayload extends TypedFunctionPayload<[
|
2899
|
-
arguments_decoded: [
|
3382
|
+
interface SwitchOperatorPayload extends TypedFunctionPayload<[Address, Address, bigint]> {
|
3383
|
+
arguments_decoded: [Address, Address, bigint];
|
2900
3384
|
type_arguments: [];
|
2901
3385
|
}
|
2902
|
-
interface SwitchOperatorWithSameCommissionPayload extends TypedFunctionPayload<[
|
2903
|
-
arguments_decoded: [
|
3386
|
+
interface SwitchOperatorWithSameCommissionPayload extends TypedFunctionPayload<[Address, Address]> {
|
3387
|
+
arguments_decoded: [Address, Address];
|
2904
3388
|
type_arguments: [];
|
2905
3389
|
}
|
2906
|
-
interface UnlockRewardsPayload extends TypedFunctionPayload<[
|
2907
|
-
arguments_decoded: [
|
3390
|
+
interface UnlockRewardsPayload extends TypedFunctionPayload<[Address]> {
|
3391
|
+
arguments_decoded: [Address];
|
2908
3392
|
type_arguments: [];
|
2909
3393
|
}
|
2910
|
-
interface UnlockStakePayload extends TypedFunctionPayload<[
|
2911
|
-
arguments_decoded: [
|
3394
|
+
interface UnlockStakePayload extends TypedFunctionPayload<[Address, bigint]> {
|
3395
|
+
arguments_decoded: [Address, bigint];
|
2912
3396
|
type_arguments: [];
|
2913
3397
|
}
|
2914
|
-
interface UpdateCommisionPayload extends TypedFunctionPayload<[
|
2915
|
-
arguments_decoded: [
|
3398
|
+
interface UpdateCommisionPayload extends TypedFunctionPayload<[Address, bigint]> {
|
3399
|
+
arguments_decoded: [Address, bigint];
|
2916
3400
|
type_arguments: [];
|
2917
3401
|
}
|
2918
|
-
interface UpdateVoterPayload extends TypedFunctionPayload<[
|
2919
|
-
arguments_decoded: [
|
3402
|
+
interface UpdateVoterPayload extends TypedFunctionPayload<[Address, Address]> {
|
3403
|
+
arguments_decoded: [Address, Address];
|
2920
3404
|
type_arguments: [];
|
2921
3405
|
}
|
2922
3406
|
}
|
@@ -2933,7 +3417,7 @@ export declare namespace table_with_length {
|
|
2933
3417
|
}
|
2934
3418
|
export declare namespace aggregator_factory {
|
2935
3419
|
interface AggregatorFactory {
|
2936
|
-
phantom_table: table.Table<
|
3420
|
+
phantom_table: table.Table<Address, bigint>;
|
2937
3421
|
}
|
2938
3422
|
namespace AggregatorFactory {
|
2939
3423
|
const TYPE_QNAME = "0x1::aggregator_factory::AggregatorFactory";
|
@@ -2967,10 +3451,37 @@ export declare namespace optional_aggregator {
|
|
2967
3451
|
function type(): TypeDescriptor<OptionalAggregator>;
|
2968
3452
|
}
|
2969
3453
|
}
|
2970
|
-
export declare namespace transaction_context {
|
3454
|
+
export declare namespace transaction_context {
|
3455
|
+
interface AUID {
|
3456
|
+
unique_address: Address;
|
3457
|
+
}
|
3458
|
+
namespace AUID {
|
3459
|
+
const TYPE_QNAME = "0x1::transaction_context::AUID";
|
3460
|
+
function type(): TypeDescriptor<AUID>;
|
3461
|
+
}
|
3462
|
+
}
|
3463
|
+
export declare class primary_fungible_store extends AptosBaseProcessor {
|
3464
|
+
constructor(options: AptosBindOptions);
|
3465
|
+
static DEFAULT_OPTIONS: AptosBindOptions;
|
3466
|
+
static bind(options?: Partial<AptosBindOptions>): primary_fungible_store;
|
3467
|
+
onEntryTransfer(func: (call: primary_fungible_store.TransferPayload, ctx: AptosContext) => void, filter?: CallFilter, fetchConfig?: Partial<MoveFetchConfig>): primary_fungible_store;
|
3468
|
+
}
|
3469
|
+
export declare namespace primary_fungible_store {
|
3470
|
+
interface DeriveRefPod {
|
3471
|
+
metadata_derive_ref: object_.DeriveRef;
|
3472
|
+
}
|
3473
|
+
namespace DeriveRefPod {
|
3474
|
+
const TYPE_QNAME = "0x1::primary_fungible_store::DeriveRefPod";
|
3475
|
+
function type(): TypeDescriptor<DeriveRefPod>;
|
3476
|
+
}
|
3477
|
+
interface TransferPayload<T0 = any> extends TypedFunctionPayload<[object_.Object<T0>, Address, bigint]> {
|
3478
|
+
arguments_decoded: [object_.Object<T0>, Address, bigint];
|
3479
|
+
type_arguments: [string];
|
3480
|
+
}
|
3481
|
+
}
|
2971
3482
|
export declare namespace transaction_validation {
|
2972
3483
|
interface TransactionValidation {
|
2973
|
-
module_addr:
|
3484
|
+
module_addr: Address;
|
2974
3485
|
module_name: string;
|
2975
3486
|
script_prologue_name: string;
|
2976
3487
|
module_prologue_name: string;
|