@sentio/sdk 2.23.0-rc.1 → 2.24.0-rc.1
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 +342 -339
- package/lib/aptos/builtin/0x1.d.ts.map +1 -1
- package/lib/aptos/builtin/0x1.js +65 -188
- 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 +24 -65
- 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/aptos-processor.ts +13 -12
- package/src/aptos/aptos-resource-processor-template.ts +7 -7
- package/src/aptos/builtin/0x1.ts +970 -1168
- 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";
|
@@ -635,7 +638,7 @@ export declare class object_ extends AptosBaseProcessor {
|
|
635
638
|
}
|
636
639
|
export declare namespace object_ {
|
637
640
|
interface ConstructorRef {
|
638
|
-
self:
|
641
|
+
self: Address;
|
639
642
|
can_delete: Boolean;
|
640
643
|
}
|
641
644
|
namespace ConstructorRef {
|
@@ -643,29 +646,29 @@ export declare namespace object_ {
|
|
643
646
|
function type(): TypeDescriptor<ConstructorRef>;
|
644
647
|
}
|
645
648
|
interface DeleteRef {
|
646
|
-
self:
|
649
|
+
self: Address;
|
647
650
|
}
|
648
651
|
namespace DeleteRef {
|
649
652
|
const TYPE_QNAME = "0x1::object::DeleteRef";
|
650
653
|
function type(): TypeDescriptor<DeleteRef>;
|
651
654
|
}
|
652
655
|
interface ExtendRef {
|
653
|
-
self:
|
656
|
+
self: Address;
|
654
657
|
}
|
655
658
|
namespace ExtendRef {
|
656
659
|
const TYPE_QNAME = "0x1::object::ExtendRef";
|
657
660
|
function type(): TypeDescriptor<ExtendRef>;
|
658
661
|
}
|
659
662
|
interface LinearTransferRef {
|
660
|
-
self:
|
661
|
-
owner:
|
663
|
+
self: Address;
|
664
|
+
owner: Address;
|
662
665
|
}
|
663
666
|
namespace LinearTransferRef {
|
664
667
|
const TYPE_QNAME = "0x1::object::LinearTransferRef";
|
665
668
|
function type(): TypeDescriptor<LinearTransferRef>;
|
666
669
|
}
|
667
670
|
interface Object<T0> {
|
668
|
-
inner:
|
671
|
+
inner: Address;
|
669
672
|
}
|
670
673
|
namespace Object {
|
671
674
|
const TYPE_QNAME = "0x1::object::Object";
|
@@ -673,7 +676,7 @@ export declare namespace object_ {
|
|
673
676
|
}
|
674
677
|
interface ObjectCore {
|
675
678
|
guid_creation_num: bigint;
|
676
|
-
owner:
|
679
|
+
owner: Address;
|
677
680
|
allow_ungated_transfer: Boolean;
|
678
681
|
transfer_events: event.EventHandle<object_.TransferEvent>;
|
679
682
|
}
|
@@ -689,9 +692,9 @@ export declare namespace object_ {
|
|
689
692
|
function type(): TypeDescriptor<ObjectGroup>;
|
690
693
|
}
|
691
694
|
interface TransferEvent {
|
692
|
-
object:
|
693
|
-
from:
|
694
|
-
to:
|
695
|
+
object: Address;
|
696
|
+
from: Address;
|
697
|
+
to: Address;
|
695
698
|
}
|
696
699
|
namespace TransferEvent {
|
697
700
|
const TYPE_QNAME = "0x1::object::TransferEvent";
|
@@ -702,14 +705,14 @@ export declare namespace object_ {
|
|
702
705
|
type_arguments: [];
|
703
706
|
}
|
704
707
|
interface TransferRef {
|
705
|
-
self:
|
708
|
+
self: Address;
|
706
709
|
}
|
707
710
|
namespace TransferRef {
|
708
711
|
const TYPE_QNAME = "0x1::object::TransferRef";
|
709
712
|
function type(): TypeDescriptor<TransferRef>;
|
710
713
|
}
|
711
|
-
interface TransferCallPayload extends TypedFunctionPayload<[
|
712
|
-
arguments_decoded: [
|
714
|
+
interface TransferCallPayload extends TypedFunctionPayload<[Address, Address]> {
|
715
|
+
arguments_decoded: [Address, Address];
|
713
716
|
type_arguments: [];
|
714
717
|
}
|
715
718
|
}
|
@@ -760,7 +763,7 @@ export declare namespace voting {
|
|
760
763
|
type_arguments: [];
|
761
764
|
}
|
762
765
|
interface Proposal<T0> {
|
763
|
-
proposer:
|
766
|
+
proposer: Address;
|
764
767
|
execution_content: option.Option<T0>;
|
765
768
|
metadata: simple_map.SimpleMap<string, string>;
|
766
769
|
creation_time_secs: bigint;
|
@@ -778,7 +781,7 @@ export declare namespace voting {
|
|
778
781
|
function type<T0>(arg0?: TypeDescriptor<T0>): TypeDescriptor<Proposal<T0>>;
|
779
782
|
}
|
780
783
|
interface RegisterForumEvent {
|
781
|
-
hosting_account:
|
784
|
+
hosting_account: Address;
|
782
785
|
proposal_type_info: type_info.TypeInfo;
|
783
786
|
}
|
784
787
|
namespace RegisterForumEvent {
|
@@ -865,7 +868,7 @@ export declare namespace account {
|
|
865
868
|
function type(): TypeDescriptor<Account>;
|
866
869
|
}
|
867
870
|
interface CapabilityOffer<T0> {
|
868
|
-
for: option.Option<
|
871
|
+
for: option.Option<Address>;
|
869
872
|
}
|
870
873
|
namespace CapabilityOffer {
|
871
874
|
const TYPE_QNAME = "0x1::account::CapabilityOffer";
|
@@ -895,14 +898,14 @@ export declare namespace account {
|
|
895
898
|
type_arguments: [];
|
896
899
|
}
|
897
900
|
interface OriginatingAddress {
|
898
|
-
address_map: table.Table<
|
901
|
+
address_map: table.Table<Address, Address>;
|
899
902
|
}
|
900
903
|
namespace OriginatingAddress {
|
901
904
|
const TYPE_QNAME = "0x1::account::OriginatingAddress";
|
902
905
|
function type(): TypeDescriptor<OriginatingAddress>;
|
903
906
|
}
|
904
907
|
interface RotationCapability {
|
905
|
-
account:
|
908
|
+
account: Address;
|
906
909
|
}
|
907
910
|
namespace RotationCapability {
|
908
911
|
const TYPE_QNAME = "0x1::account::RotationCapability";
|
@@ -910,7 +913,7 @@ export declare namespace account {
|
|
910
913
|
}
|
911
914
|
interface RotationCapabilityOfferProofChallenge {
|
912
915
|
sequence_number: bigint;
|
913
|
-
recipient_address:
|
916
|
+
recipient_address: Address;
|
914
917
|
}
|
915
918
|
namespace RotationCapabilityOfferProofChallenge {
|
916
919
|
const TYPE_QNAME = "0x1::account::RotationCapabilityOfferProofChallenge";
|
@@ -919,8 +922,8 @@ export declare namespace account {
|
|
919
922
|
interface RotationCapabilityOfferProofChallengeV2 {
|
920
923
|
chain_id: number;
|
921
924
|
sequence_number: bigint;
|
922
|
-
source_address:
|
923
|
-
recipient_address:
|
925
|
+
source_address: Address;
|
926
|
+
recipient_address: Address;
|
924
927
|
}
|
925
928
|
namespace RotationCapabilityOfferProofChallengeV2 {
|
926
929
|
const TYPE_QNAME = "0x1::account::RotationCapabilityOfferProofChallengeV2";
|
@@ -928,8 +931,8 @@ export declare namespace account {
|
|
928
931
|
}
|
929
932
|
interface RotationProofChallenge {
|
930
933
|
sequence_number: bigint;
|
931
|
-
originator:
|
932
|
-
current_auth_key:
|
934
|
+
originator: Address;
|
935
|
+
current_auth_key: Address;
|
933
936
|
new_public_key: string;
|
934
937
|
}
|
935
938
|
namespace RotationProofChallenge {
|
@@ -937,7 +940,7 @@ export declare namespace account {
|
|
937
940
|
function type(): TypeDescriptor<RotationProofChallenge>;
|
938
941
|
}
|
939
942
|
interface SignerCapability {
|
940
|
-
account:
|
943
|
+
account: Address;
|
941
944
|
}
|
942
945
|
namespace SignerCapability {
|
943
946
|
const TYPE_QNAME = "0x1::account::SignerCapability";
|
@@ -945,7 +948,7 @@ export declare namespace account {
|
|
945
948
|
}
|
946
949
|
interface SignerCapabilityOfferProofChallenge {
|
947
950
|
sequence_number: bigint;
|
948
|
-
recipient_address:
|
951
|
+
recipient_address: Address;
|
949
952
|
}
|
950
953
|
namespace SignerCapabilityOfferProofChallenge {
|
951
954
|
const TYPE_QNAME = "0x1::account::SignerCapabilityOfferProofChallenge";
|
@@ -953,19 +956,19 @@ export declare namespace account {
|
|
953
956
|
}
|
954
957
|
interface SignerCapabilityOfferProofChallengeV2 {
|
955
958
|
sequence_number: bigint;
|
956
|
-
source_address:
|
957
|
-
recipient_address:
|
959
|
+
source_address: Address;
|
960
|
+
recipient_address: Address;
|
958
961
|
}
|
959
962
|
namespace SignerCapabilityOfferProofChallengeV2 {
|
960
963
|
const TYPE_QNAME = "0x1::account::SignerCapabilityOfferProofChallengeV2";
|
961
964
|
function type(): TypeDescriptor<SignerCapabilityOfferProofChallengeV2>;
|
962
965
|
}
|
963
|
-
interface OfferRotationCapabilityPayload extends TypedFunctionPayload<[string, number, string,
|
964
|
-
arguments_decoded: [string, number, string,
|
966
|
+
interface OfferRotationCapabilityPayload extends TypedFunctionPayload<[string, number, string, Address]> {
|
967
|
+
arguments_decoded: [string, number, string, Address];
|
965
968
|
type_arguments: [];
|
966
969
|
}
|
967
|
-
interface OfferSignerCapabilityPayload extends TypedFunctionPayload<[string, number, string,
|
968
|
-
arguments_decoded: [string, number, string,
|
970
|
+
interface OfferSignerCapabilityPayload extends TypedFunctionPayload<[string, number, string, Address]> {
|
971
|
+
arguments_decoded: [string, number, string, Address];
|
969
972
|
type_arguments: [];
|
970
973
|
}
|
971
974
|
interface RevokeAnyRotationCapabilityPayload extends TypedFunctionPayload<[]> {
|
@@ -976,12 +979,12 @@ export declare namespace account {
|
|
976
979
|
arguments_decoded: [];
|
977
980
|
type_arguments: [];
|
978
981
|
}
|
979
|
-
interface RevokeRotationCapabilityPayload extends TypedFunctionPayload<[
|
980
|
-
arguments_decoded: [
|
982
|
+
interface RevokeRotationCapabilityPayload extends TypedFunctionPayload<[Address]> {
|
983
|
+
arguments_decoded: [Address];
|
981
984
|
type_arguments: [];
|
982
985
|
}
|
983
|
-
interface RevokeSignerCapabilityPayload extends TypedFunctionPayload<[
|
984
|
-
arguments_decoded: [
|
986
|
+
interface RevokeSignerCapabilityPayload extends TypedFunctionPayload<[Address]> {
|
987
|
+
arguments_decoded: [Address];
|
985
988
|
type_arguments: [];
|
986
989
|
}
|
987
990
|
interface RotateAuthenticationKeyPayload extends TypedFunctionPayload<[
|
@@ -995,8 +998,8 @@ export declare namespace account {
|
|
995
998
|
arguments_decoded: [number, string, number, string, string, string];
|
996
999
|
type_arguments: [];
|
997
1000
|
}
|
998
|
-
interface RotateAuthenticationKeyWithRotationCapabilityPayload extends TypedFunctionPayload<[
|
999
|
-
arguments_decoded: [
|
1001
|
+
interface RotateAuthenticationKeyWithRotationCapabilityPayload extends TypedFunctionPayload<[Address, number, string, string]> {
|
1002
|
+
arguments_decoded: [Address, number, string, string];
|
1000
1003
|
type_arguments: [];
|
1001
1004
|
}
|
1002
1005
|
}
|
@@ -1033,7 +1036,7 @@ export declare namespace ed25519 {
|
|
1033
1036
|
}
|
1034
1037
|
export declare namespace genesis {
|
1035
1038
|
interface AccountMap {
|
1036
|
-
account_address:
|
1039
|
+
account_address: Address;
|
1037
1040
|
balance: bigint;
|
1038
1041
|
}
|
1039
1042
|
namespace AccountMap {
|
@@ -1041,20 +1044,20 @@ export declare namespace genesis {
|
|
1041
1044
|
function type(): TypeDescriptor<AccountMap>;
|
1042
1045
|
}
|
1043
1046
|
interface EmployeeAccountMap {
|
1044
|
-
accounts:
|
1047
|
+
accounts: Address[];
|
1045
1048
|
validator: genesis.ValidatorConfigurationWithCommission;
|
1046
1049
|
vesting_schedule_numerator: bigint[];
|
1047
1050
|
vesting_schedule_denominator: bigint;
|
1048
|
-
beneficiary_resetter:
|
1051
|
+
beneficiary_resetter: Address;
|
1049
1052
|
}
|
1050
1053
|
namespace EmployeeAccountMap {
|
1051
1054
|
const TYPE_QNAME = "0x1::genesis::EmployeeAccountMap";
|
1052
1055
|
function type(): TypeDescriptor<EmployeeAccountMap>;
|
1053
1056
|
}
|
1054
1057
|
interface ValidatorConfiguration {
|
1055
|
-
owner_address:
|
1056
|
-
operator_address:
|
1057
|
-
voter_address:
|
1058
|
+
owner_address: Address;
|
1059
|
+
operator_address: Address;
|
1060
|
+
voter_address: Address;
|
1058
1061
|
stake_amount: bigint;
|
1059
1062
|
consensus_pubkey: string;
|
1060
1063
|
proof_of_possession: string;
|
@@ -1135,7 +1138,7 @@ export declare class vesting extends AptosBaseProcessor {
|
|
1135
1138
|
}
|
1136
1139
|
export declare namespace vesting {
|
1137
1140
|
interface AdminStore {
|
1138
|
-
vesting_contracts:
|
1141
|
+
vesting_contracts: Address[];
|
1139
1142
|
nonce: bigint;
|
1140
1143
|
create_events: event.EventHandle<vesting.CreateVestingContractEvent>;
|
1141
1144
|
}
|
@@ -1144,8 +1147,8 @@ export declare namespace vesting {
|
|
1144
1147
|
function type(): TypeDescriptor<AdminStore>;
|
1145
1148
|
}
|
1146
1149
|
interface AdminWithdrawEvent {
|
1147
|
-
admin:
|
1148
|
-
vesting_contract_address:
|
1150
|
+
admin: Address;
|
1151
|
+
vesting_contract_address: Address;
|
1149
1152
|
amount: bigint;
|
1150
1153
|
}
|
1151
1154
|
namespace AdminWithdrawEvent {
|
@@ -1157,12 +1160,12 @@ export declare namespace vesting {
|
|
1157
1160
|
type_arguments: [];
|
1158
1161
|
}
|
1159
1162
|
interface CreateVestingContractEvent {
|
1160
|
-
operator:
|
1161
|
-
voter:
|
1163
|
+
operator: Address;
|
1164
|
+
voter: Address;
|
1162
1165
|
grant_amount: bigint;
|
1163
|
-
withdrawal_address:
|
1164
|
-
vesting_contract_address:
|
1165
|
-
staking_pool_address:
|
1166
|
+
withdrawal_address: Address;
|
1167
|
+
vesting_contract_address: Address;
|
1168
|
+
staking_pool_address: Address;
|
1166
1169
|
commission_percentage: bigint;
|
1167
1170
|
}
|
1168
1171
|
namespace CreateVestingContractEvent {
|
@@ -1174,8 +1177,8 @@ export declare namespace vesting {
|
|
1174
1177
|
type_arguments: [];
|
1175
1178
|
}
|
1176
1179
|
interface DistributeEvent {
|
1177
|
-
admin:
|
1178
|
-
vesting_contract_address:
|
1180
|
+
admin: Address;
|
1181
|
+
vesting_contract_address: Address;
|
1179
1182
|
amount: bigint;
|
1180
1183
|
}
|
1181
1184
|
namespace DistributeEvent {
|
@@ -1187,9 +1190,9 @@ export declare namespace vesting {
|
|
1187
1190
|
type_arguments: [];
|
1188
1191
|
}
|
1189
1192
|
interface ResetLockupEvent {
|
1190
|
-
admin:
|
1191
|
-
vesting_contract_address:
|
1192
|
-
staking_pool_address:
|
1193
|
+
admin: Address;
|
1194
|
+
vesting_contract_address: Address;
|
1195
|
+
staking_pool_address: Address;
|
1193
1196
|
new_lockup_expiration_secs: bigint;
|
1194
1197
|
}
|
1195
1198
|
namespace ResetLockupEvent {
|
@@ -1201,11 +1204,11 @@ export declare namespace vesting {
|
|
1201
1204
|
type_arguments: [];
|
1202
1205
|
}
|
1203
1206
|
interface SetBeneficiaryEvent {
|
1204
|
-
admin:
|
1205
|
-
vesting_contract_address:
|
1206
|
-
shareholder:
|
1207
|
-
old_beneficiary:
|
1208
|
-
new_beneficiary:
|
1207
|
+
admin: Address;
|
1208
|
+
vesting_contract_address: Address;
|
1209
|
+
shareholder: Address;
|
1210
|
+
old_beneficiary: Address;
|
1211
|
+
new_beneficiary: Address;
|
1209
1212
|
}
|
1210
1213
|
namespace SetBeneficiaryEvent {
|
1211
1214
|
const TYPE_QNAME = "0x1::vesting::SetBeneficiaryEvent";
|
@@ -1216,9 +1219,9 @@ export declare namespace vesting {
|
|
1216
1219
|
type_arguments: [];
|
1217
1220
|
}
|
1218
1221
|
interface StakingInfo {
|
1219
|
-
pool_address:
|
1220
|
-
operator:
|
1221
|
-
voter:
|
1222
|
+
pool_address: Address;
|
1223
|
+
operator: Address;
|
1224
|
+
voter: Address;
|
1222
1225
|
commission_percentage: bigint;
|
1223
1226
|
}
|
1224
1227
|
namespace StakingInfo {
|
@@ -1226,8 +1229,8 @@ export declare namespace vesting {
|
|
1226
1229
|
function type(): TypeDescriptor<StakingInfo>;
|
1227
1230
|
}
|
1228
1231
|
interface TerminateEvent {
|
1229
|
-
admin:
|
1230
|
-
vesting_contract_address:
|
1232
|
+
admin: Address;
|
1233
|
+
vesting_contract_address: Address;
|
1231
1234
|
}
|
1232
1235
|
namespace TerminateEvent {
|
1233
1236
|
const TYPE_QNAME = "0x1::vesting::TerminateEvent";
|
@@ -1238,9 +1241,9 @@ export declare namespace vesting {
|
|
1238
1241
|
type_arguments: [];
|
1239
1242
|
}
|
1240
1243
|
interface UnlockRewardsEvent {
|
1241
|
-
admin:
|
1242
|
-
vesting_contract_address:
|
1243
|
-
staking_pool_address:
|
1244
|
+
admin: Address;
|
1245
|
+
vesting_contract_address: Address;
|
1246
|
+
staking_pool_address: Address;
|
1244
1247
|
amount: bigint;
|
1245
1248
|
}
|
1246
1249
|
namespace UnlockRewardsEvent {
|
@@ -1252,11 +1255,11 @@ export declare namespace vesting {
|
|
1252
1255
|
type_arguments: [];
|
1253
1256
|
}
|
1254
1257
|
interface UpdateOperatorEvent {
|
1255
|
-
admin:
|
1256
|
-
vesting_contract_address:
|
1257
|
-
staking_pool_address:
|
1258
|
-
old_operator:
|
1259
|
-
new_operator:
|
1258
|
+
admin: Address;
|
1259
|
+
vesting_contract_address: Address;
|
1260
|
+
staking_pool_address: Address;
|
1261
|
+
old_operator: Address;
|
1262
|
+
new_operator: Address;
|
1260
1263
|
commission_percentage: bigint;
|
1261
1264
|
}
|
1262
1265
|
namespace UpdateOperatorEvent {
|
@@ -1268,11 +1271,11 @@ export declare namespace vesting {
|
|
1268
1271
|
type_arguments: [];
|
1269
1272
|
}
|
1270
1273
|
interface UpdateVoterEvent {
|
1271
|
-
admin:
|
1272
|
-
vesting_contract_address:
|
1273
|
-
staking_pool_address:
|
1274
|
-
old_voter:
|
1275
|
-
new_voter:
|
1274
|
+
admin: Address;
|
1275
|
+
vesting_contract_address: Address;
|
1276
|
+
staking_pool_address: Address;
|
1277
|
+
old_voter: Address;
|
1278
|
+
new_voter: Address;
|
1276
1279
|
}
|
1277
1280
|
namespace UpdateVoterEvent {
|
1278
1281
|
const TYPE_QNAME = "0x1::vesting::UpdateVoterEvent";
|
@@ -1283,9 +1286,9 @@ export declare namespace vesting {
|
|
1283
1286
|
type_arguments: [];
|
1284
1287
|
}
|
1285
1288
|
interface VestEvent {
|
1286
|
-
admin:
|
1287
|
-
vesting_contract_address:
|
1288
|
-
staking_pool_address:
|
1289
|
+
admin: Address;
|
1290
|
+
vesting_contract_address: Address;
|
1291
|
+
staking_pool_address: Address;
|
1289
1292
|
period_vested: bigint;
|
1290
1293
|
amount: bigint;
|
1291
1294
|
}
|
@@ -1298,7 +1301,7 @@ export declare namespace vesting {
|
|
1298
1301
|
type_arguments: [];
|
1299
1302
|
}
|
1300
1303
|
interface VestingAccountManagement {
|
1301
|
-
roles: simple_map.SimpleMap<string,
|
1304
|
+
roles: simple_map.SimpleMap<string, Address>;
|
1302
1305
|
}
|
1303
1306
|
namespace VestingAccountManagement {
|
1304
1307
|
const TYPE_QNAME = "0x1::vesting::VestingAccountManagement";
|
@@ -1306,11 +1309,11 @@ export declare namespace vesting {
|
|
1306
1309
|
}
|
1307
1310
|
interface VestingContract {
|
1308
1311
|
state: bigint;
|
1309
|
-
admin:
|
1312
|
+
admin: Address;
|
1310
1313
|
grant_pool: pool_u64.Pool;
|
1311
|
-
beneficiaries: simple_map.SimpleMap<
|
1314
|
+
beneficiaries: simple_map.SimpleMap<Address, Address>;
|
1312
1315
|
vesting_schedule: vesting.VestingSchedule;
|
1313
|
-
withdrawal_address:
|
1316
|
+
withdrawal_address: Address;
|
1314
1317
|
staking: vesting.StakingInfo;
|
1315
1318
|
remaining_grant: bigint;
|
1316
1319
|
signer_cap: account.SignerCapability;
|
@@ -1338,68 +1341,68 @@ export declare namespace vesting {
|
|
1338
1341
|
const TYPE_QNAME = "0x1::vesting::VestingSchedule";
|
1339
1342
|
function type(): TypeDescriptor<VestingSchedule>;
|
1340
1343
|
}
|
1341
|
-
interface AdminWithdrawPayload extends TypedFunctionPayload<[
|
1342
|
-
arguments_decoded: [
|
1344
|
+
interface AdminWithdrawPayload extends TypedFunctionPayload<[Address]> {
|
1345
|
+
arguments_decoded: [Address];
|
1343
1346
|
type_arguments: [];
|
1344
1347
|
}
|
1345
|
-
interface DistributePayload extends TypedFunctionPayload<[
|
1346
|
-
arguments_decoded: [
|
1348
|
+
interface DistributePayload extends TypedFunctionPayload<[Address]> {
|
1349
|
+
arguments_decoded: [Address];
|
1347
1350
|
type_arguments: [];
|
1348
1351
|
}
|
1349
|
-
interface DistributeManyPayload extends TypedFunctionPayload<[
|
1350
|
-
arguments_decoded: [
|
1352
|
+
interface DistributeManyPayload extends TypedFunctionPayload<[Address[]]> {
|
1353
|
+
arguments_decoded: [Address[]];
|
1351
1354
|
type_arguments: [];
|
1352
1355
|
}
|
1353
|
-
interface ResetBeneficiaryPayload extends TypedFunctionPayload<[
|
1354
|
-
arguments_decoded: [
|
1356
|
+
interface ResetBeneficiaryPayload extends TypedFunctionPayload<[Address, Address]> {
|
1357
|
+
arguments_decoded: [Address, Address];
|
1355
1358
|
type_arguments: [];
|
1356
1359
|
}
|
1357
|
-
interface ResetLockupPayload extends TypedFunctionPayload<[
|
1358
|
-
arguments_decoded: [
|
1360
|
+
interface ResetLockupPayload extends TypedFunctionPayload<[Address]> {
|
1361
|
+
arguments_decoded: [Address];
|
1359
1362
|
type_arguments: [];
|
1360
1363
|
}
|
1361
|
-
interface SetBeneficiaryPayload extends TypedFunctionPayload<[
|
1362
|
-
arguments_decoded: [
|
1364
|
+
interface SetBeneficiaryPayload extends TypedFunctionPayload<[Address, Address, Address]> {
|
1365
|
+
arguments_decoded: [Address, Address, Address];
|
1363
1366
|
type_arguments: [];
|
1364
1367
|
}
|
1365
|
-
interface SetBeneficiaryResetterPayload extends TypedFunctionPayload<[
|
1366
|
-
arguments_decoded: [
|
1368
|
+
interface SetBeneficiaryResetterPayload extends TypedFunctionPayload<[Address, Address]> {
|
1369
|
+
arguments_decoded: [Address, Address];
|
1367
1370
|
type_arguments: [];
|
1368
1371
|
}
|
1369
|
-
interface SetManagementRolePayload extends TypedFunctionPayload<[
|
1370
|
-
arguments_decoded: [
|
1372
|
+
interface SetManagementRolePayload extends TypedFunctionPayload<[Address, string, Address]> {
|
1373
|
+
arguments_decoded: [Address, string, Address];
|
1371
1374
|
type_arguments: [];
|
1372
1375
|
}
|
1373
|
-
interface TerminateVestingContractPayload extends TypedFunctionPayload<[
|
1374
|
-
arguments_decoded: [
|
1376
|
+
interface TerminateVestingContractPayload extends TypedFunctionPayload<[Address]> {
|
1377
|
+
arguments_decoded: [Address];
|
1375
1378
|
type_arguments: [];
|
1376
1379
|
}
|
1377
|
-
interface UnlockRewardsPayload extends TypedFunctionPayload<[
|
1378
|
-
arguments_decoded: [
|
1380
|
+
interface UnlockRewardsPayload extends TypedFunctionPayload<[Address]> {
|
1381
|
+
arguments_decoded: [Address];
|
1379
1382
|
type_arguments: [];
|
1380
1383
|
}
|
1381
|
-
interface UnlockRewardsManyPayload extends TypedFunctionPayload<[
|
1382
|
-
arguments_decoded: [
|
1384
|
+
interface UnlockRewardsManyPayload extends TypedFunctionPayload<[Address[]]> {
|
1385
|
+
arguments_decoded: [Address[]];
|
1383
1386
|
type_arguments: [];
|
1384
1387
|
}
|
1385
|
-
interface UpdateOperatorPayload extends TypedFunctionPayload<[
|
1386
|
-
arguments_decoded: [
|
1388
|
+
interface UpdateOperatorPayload extends TypedFunctionPayload<[Address, Address, bigint]> {
|
1389
|
+
arguments_decoded: [Address, Address, bigint];
|
1387
1390
|
type_arguments: [];
|
1388
1391
|
}
|
1389
|
-
interface UpdateOperatorWithSameCommissionPayload extends TypedFunctionPayload<[
|
1390
|
-
arguments_decoded: [
|
1392
|
+
interface UpdateOperatorWithSameCommissionPayload extends TypedFunctionPayload<[Address, Address]> {
|
1393
|
+
arguments_decoded: [Address, Address];
|
1391
1394
|
type_arguments: [];
|
1392
1395
|
}
|
1393
|
-
interface UpdateVoterPayload extends TypedFunctionPayload<[
|
1394
|
-
arguments_decoded: [
|
1396
|
+
interface UpdateVoterPayload extends TypedFunctionPayload<[Address, Address]> {
|
1397
|
+
arguments_decoded: [Address, Address];
|
1395
1398
|
type_arguments: [];
|
1396
1399
|
}
|
1397
|
-
interface VestPayload extends TypedFunctionPayload<[
|
1398
|
-
arguments_decoded: [
|
1400
|
+
interface VestPayload extends TypedFunctionPayload<[Address]> {
|
1401
|
+
arguments_decoded: [Address];
|
1399
1402
|
type_arguments: [];
|
1400
1403
|
}
|
1401
|
-
interface VestManyPayload extends TypedFunctionPayload<[
|
1402
|
-
arguments_decoded: [
|
1404
|
+
interface VestManyPayload extends TypedFunctionPayload<[Address[]]> {
|
1405
|
+
arguments_decoded: [Address[]];
|
1403
1406
|
type_arguments: [];
|
1404
1407
|
}
|
1405
1408
|
}
|
@@ -1471,8 +1474,8 @@ export declare namespace pool_u64 {
|
|
1471
1474
|
shareholders_limit: bigint;
|
1472
1475
|
total_coins: bigint;
|
1473
1476
|
total_shares: bigint;
|
1474
|
-
shares: simple_map.SimpleMap<
|
1475
|
-
shareholders:
|
1477
|
+
shares: simple_map.SimpleMap<Address, bigint>;
|
1478
|
+
shareholders: Address[];
|
1476
1479
|
scaling_factor: bigint;
|
1477
1480
|
}
|
1478
1481
|
namespace Pool {
|
@@ -1507,7 +1510,7 @@ export declare namespace timestamp {
|
|
1507
1510
|
}
|
1508
1511
|
export declare namespace type_info {
|
1509
1512
|
interface TypeInfo {
|
1510
|
-
account_address:
|
1513
|
+
account_address: Address;
|
1511
1514
|
module_name: string;
|
1512
1515
|
struct_name: string;
|
1513
1516
|
}
|
@@ -1518,8 +1521,8 @@ export declare namespace type_info {
|
|
1518
1521
|
}
|
1519
1522
|
export declare namespace aggregator {
|
1520
1523
|
interface Aggregator {
|
1521
|
-
handle:
|
1522
|
-
key:
|
1524
|
+
handle: Address;
|
1525
|
+
key: Address;
|
1523
1526
|
limit: bigint;
|
1524
1527
|
}
|
1525
1528
|
namespace Aggregator {
|
@@ -1544,7 +1547,7 @@ export declare namespace aptos_coin {
|
|
1544
1547
|
function type(): TypeDescriptor<AptosCoin>;
|
1545
1548
|
}
|
1546
1549
|
interface DelegatedMintCapability {
|
1547
|
-
to:
|
1550
|
+
to: Address;
|
1548
1551
|
}
|
1549
1552
|
namespace DelegatedMintCapability {
|
1550
1553
|
const TYPE_QNAME = "0x1::aptos_coin::DelegatedMintCapability";
|
@@ -1568,12 +1571,12 @@ export declare namespace aptos_coin {
|
|
1568
1571
|
arguments_decoded: [];
|
1569
1572
|
type_arguments: [];
|
1570
1573
|
}
|
1571
|
-
interface DelegateMintCapabilityPayload extends TypedFunctionPayload<[
|
1572
|
-
arguments_decoded: [
|
1574
|
+
interface DelegateMintCapabilityPayload extends TypedFunctionPayload<[Address, Address]> {
|
1575
|
+
arguments_decoded: [Address, Address];
|
1573
1576
|
type_arguments: [];
|
1574
1577
|
}
|
1575
|
-
interface MintPayload extends TypedFunctionPayload<[
|
1576
|
-
arguments_decoded: [
|
1578
|
+
interface MintPayload extends TypedFunctionPayload<[Address, bigint]> {
|
1579
|
+
arguments_decoded: [Address, bigint];
|
1577
1580
|
type_arguments: [];
|
1578
1581
|
}
|
1579
1582
|
}
|
@@ -1601,28 +1604,28 @@ export declare namespace bit_vector {
|
|
1601
1604
|
}
|
1602
1605
|
export declare namespace capability {
|
1603
1606
|
interface Cap<T0> {
|
1604
|
-
root:
|
1607
|
+
root: Address;
|
1605
1608
|
}
|
1606
1609
|
namespace Cap {
|
1607
1610
|
const TYPE_QNAME = "0x1::capability::Cap";
|
1608
1611
|
function type<T0>(arg0?: TypeDescriptor<T0>): TypeDescriptor<Cap<T0>>;
|
1609
1612
|
}
|
1610
1613
|
interface CapDelegateState<T0> {
|
1611
|
-
root:
|
1614
|
+
root: Address;
|
1612
1615
|
}
|
1613
1616
|
namespace CapDelegateState {
|
1614
1617
|
const TYPE_QNAME = "0x1::capability::CapDelegateState";
|
1615
1618
|
function type<T0>(arg0?: TypeDescriptor<T0>): TypeDescriptor<CapDelegateState<T0>>;
|
1616
1619
|
}
|
1617
1620
|
interface CapState<T0> {
|
1618
|
-
delegates:
|
1621
|
+
delegates: Address[];
|
1619
1622
|
}
|
1620
1623
|
namespace CapState {
|
1621
1624
|
const TYPE_QNAME = "0x1::capability::CapState";
|
1622
1625
|
function type<T0>(arg0?: TypeDescriptor<T0>): TypeDescriptor<CapState<T0>>;
|
1623
1626
|
}
|
1624
1627
|
interface LinearCap<T0> {
|
1625
|
-
root:
|
1628
|
+
root: Address;
|
1626
1629
|
}
|
1627
1630
|
namespace LinearCap {
|
1628
1631
|
const TYPE_QNAME = "0x1::capability::LinearCap";
|
@@ -1799,8 +1802,8 @@ export declare namespace managed_coin {
|
|
1799
1802
|
arguments_decoded: [string, string, number, Boolean];
|
1800
1803
|
type_arguments: [string];
|
1801
1804
|
}
|
1802
|
-
interface MintPayload<T0 = any> extends TypedFunctionPayload<[
|
1803
|
-
arguments_decoded: [
|
1805
|
+
interface MintPayload<T0 = any> extends TypedFunctionPayload<[Address, bigint]> {
|
1806
|
+
arguments_decoded: [Address, bigint];
|
1804
1807
|
type_arguments: [string];
|
1805
1808
|
}
|
1806
1809
|
interface RegisterPayload<T0 = any> extends TypedFunctionPayload<[]> {
|
@@ -1875,28 +1878,28 @@ export declare namespace aptos_account {
|
|
1875
1878
|
const TYPE_QNAME = "0x1::aptos_account::DirectTransferConfig";
|
1876
1879
|
function type(): TypeDescriptor<DirectTransferConfig>;
|
1877
1880
|
}
|
1878
|
-
interface BatchTransferPayload extends TypedFunctionPayload<[
|
1879
|
-
arguments_decoded: [
|
1881
|
+
interface BatchTransferPayload extends TypedFunctionPayload<[Address[], bigint[]]> {
|
1882
|
+
arguments_decoded: [Address[], bigint[]];
|
1880
1883
|
type_arguments: [];
|
1881
1884
|
}
|
1882
|
-
interface BatchTransferCoinsPayload<T0 = any> extends TypedFunctionPayload<[
|
1883
|
-
arguments_decoded: [
|
1885
|
+
interface BatchTransferCoinsPayload<T0 = any> extends TypedFunctionPayload<[Address[], bigint[]]> {
|
1886
|
+
arguments_decoded: [Address[], bigint[]];
|
1884
1887
|
type_arguments: [string];
|
1885
1888
|
}
|
1886
|
-
interface CreateAccountPayload extends TypedFunctionPayload<[
|
1887
|
-
arguments_decoded: [
|
1889
|
+
interface CreateAccountPayload extends TypedFunctionPayload<[Address]> {
|
1890
|
+
arguments_decoded: [Address];
|
1888
1891
|
type_arguments: [];
|
1889
1892
|
}
|
1890
1893
|
interface SetAllowDirectCoinTransfersPayload extends TypedFunctionPayload<[Boolean]> {
|
1891
1894
|
arguments_decoded: [Boolean];
|
1892
1895
|
type_arguments: [];
|
1893
1896
|
}
|
1894
|
-
interface TransferPayload extends TypedFunctionPayload<[
|
1895
|
-
arguments_decoded: [
|
1897
|
+
interface TransferPayload extends TypedFunctionPayload<[Address, bigint]> {
|
1898
|
+
arguments_decoded: [Address, bigint];
|
1896
1899
|
type_arguments: [];
|
1897
1900
|
}
|
1898
|
-
interface TransferCoinsPayload<T0 = any> extends TypedFunctionPayload<[
|
1899
|
-
arguments_decoded: [
|
1901
|
+
interface TransferCoinsPayload<T0 = any> extends TypedFunctionPayload<[Address, bigint]> {
|
1902
|
+
arguments_decoded: [Address, bigint];
|
1900
1903
|
type_arguments: [string];
|
1901
1904
|
}
|
1902
1905
|
}
|
@@ -1947,36 +1950,36 @@ export declare class staking_proxy extends AptosBaseProcessor {
|
|
1947
1950
|
onEntrySetVoter(func: (call: staking_proxy.SetVoterPayload, ctx: AptosContext) => void, filter?: CallFilter, fetchConfig?: Partial<MoveFetchConfig>): staking_proxy;
|
1948
1951
|
}
|
1949
1952
|
export declare namespace staking_proxy {
|
1950
|
-
interface SetOperatorPayload extends TypedFunctionPayload<[
|
1951
|
-
arguments_decoded: [
|
1953
|
+
interface SetOperatorPayload extends TypedFunctionPayload<[Address, Address]> {
|
1954
|
+
arguments_decoded: [Address, Address];
|
1952
1955
|
type_arguments: [];
|
1953
1956
|
}
|
1954
|
-
interface SetStakePoolOperatorPayload extends TypedFunctionPayload<[
|
1955
|
-
arguments_decoded: [
|
1957
|
+
interface SetStakePoolOperatorPayload extends TypedFunctionPayload<[Address]> {
|
1958
|
+
arguments_decoded: [Address];
|
1956
1959
|
type_arguments: [];
|
1957
1960
|
}
|
1958
|
-
interface SetStakePoolVoterPayload extends TypedFunctionPayload<[
|
1959
|
-
arguments_decoded: [
|
1961
|
+
interface SetStakePoolVoterPayload extends TypedFunctionPayload<[Address]> {
|
1962
|
+
arguments_decoded: [Address];
|
1960
1963
|
type_arguments: [];
|
1961
1964
|
}
|
1962
|
-
interface SetStakingContractOperatorPayload extends TypedFunctionPayload<[
|
1963
|
-
arguments_decoded: [
|
1965
|
+
interface SetStakingContractOperatorPayload extends TypedFunctionPayload<[Address, Address]> {
|
1966
|
+
arguments_decoded: [Address, Address];
|
1964
1967
|
type_arguments: [];
|
1965
1968
|
}
|
1966
|
-
interface SetStakingContractVoterPayload extends TypedFunctionPayload<[
|
1967
|
-
arguments_decoded: [
|
1969
|
+
interface SetStakingContractVoterPayload extends TypedFunctionPayload<[Address, Address]> {
|
1970
|
+
arguments_decoded: [Address, Address];
|
1968
1971
|
type_arguments: [];
|
1969
1972
|
}
|
1970
|
-
interface SetVestingContractOperatorPayload extends TypedFunctionPayload<[
|
1971
|
-
arguments_decoded: [
|
1973
|
+
interface SetVestingContractOperatorPayload extends TypedFunctionPayload<[Address, Address]> {
|
1974
|
+
arguments_decoded: [Address, Address];
|
1972
1975
|
type_arguments: [];
|
1973
1976
|
}
|
1974
|
-
interface SetVestingContractVoterPayload extends TypedFunctionPayload<[
|
1975
|
-
arguments_decoded: [
|
1977
|
+
interface SetVestingContractVoterPayload extends TypedFunctionPayload<[Address, Address]> {
|
1978
|
+
arguments_decoded: [Address, Address];
|
1976
1979
|
type_arguments: [];
|
1977
1980
|
}
|
1978
|
-
interface SetVoterPayload extends TypedFunctionPayload<[
|
1979
|
-
arguments_decoded: [
|
1981
|
+
interface SetVoterPayload extends TypedFunctionPayload<[Address, Address]> {
|
1982
|
+
arguments_decoded: [Address, Address];
|
1980
1983
|
type_arguments: [];
|
1981
1984
|
}
|
1982
1985
|
}
|
@@ -2040,8 +2043,8 @@ export declare class delegation_pool extends AptosBaseProcessor {
|
|
2040
2043
|
}
|
2041
2044
|
export declare namespace delegation_pool {
|
2042
2045
|
interface AddStakeEvent {
|
2043
|
-
pool_address:
|
2044
|
-
delegator_address:
|
2046
|
+
pool_address: Address;
|
2047
|
+
delegator_address: Address;
|
2045
2048
|
amount_added: bigint;
|
2046
2049
|
add_stake_fee: bigint;
|
2047
2050
|
}
|
@@ -2057,7 +2060,7 @@ export declare namespace delegation_pool {
|
|
2057
2060
|
active_shares: pool_u64_unbound.Pool;
|
2058
2061
|
observed_lockup_cycle: delegation_pool.ObservedLockupCycle;
|
2059
2062
|
inactive_shares: table.Table<delegation_pool.ObservedLockupCycle, pool_u64_unbound.Pool>;
|
2060
|
-
pending_withdrawals: table.Table<
|
2063
|
+
pending_withdrawals: table.Table<Address, delegation_pool.ObservedLockupCycle>;
|
2061
2064
|
stake_pool_signer_cap: account.SignerCapability;
|
2062
2065
|
total_coins_inactive: bigint;
|
2063
2066
|
operator_commission_percentage: bigint;
|
@@ -2072,15 +2075,15 @@ export declare namespace delegation_pool {
|
|
2072
2075
|
function type(): TypeDescriptor<DelegationPool>;
|
2073
2076
|
}
|
2074
2077
|
interface DelegationPoolOwnership {
|
2075
|
-
pool_address:
|
2078
|
+
pool_address: Address;
|
2076
2079
|
}
|
2077
2080
|
namespace DelegationPoolOwnership {
|
2078
2081
|
const TYPE_QNAME = "0x1::delegation_pool::DelegationPoolOwnership";
|
2079
2082
|
function type(): TypeDescriptor<DelegationPoolOwnership>;
|
2080
2083
|
}
|
2081
2084
|
interface DistributeCommissionEvent {
|
2082
|
-
pool_address:
|
2083
|
-
operator:
|
2085
|
+
pool_address: Address;
|
2086
|
+
operator: Address;
|
2084
2087
|
commission_active: bigint;
|
2085
2088
|
commission_pending_inactive: bigint;
|
2086
2089
|
}
|
@@ -2100,8 +2103,8 @@ export declare namespace delegation_pool {
|
|
2100
2103
|
function type(): TypeDescriptor<ObservedLockupCycle>;
|
2101
2104
|
}
|
2102
2105
|
interface ReactivateStakeEvent {
|
2103
|
-
pool_address:
|
2104
|
-
delegator_address:
|
2106
|
+
pool_address: Address;
|
2107
|
+
delegator_address: Address;
|
2105
2108
|
amount_reactivated: bigint;
|
2106
2109
|
}
|
2107
2110
|
namespace ReactivateStakeEvent {
|
@@ -2113,8 +2116,8 @@ export declare namespace delegation_pool {
|
|
2113
2116
|
type_arguments: [];
|
2114
2117
|
}
|
2115
2118
|
interface UnlockStakeEvent {
|
2116
|
-
pool_address:
|
2117
|
-
delegator_address:
|
2119
|
+
pool_address: Address;
|
2120
|
+
delegator_address: Address;
|
2118
2121
|
amount_unlocked: bigint;
|
2119
2122
|
}
|
2120
2123
|
namespace UnlockStakeEvent {
|
@@ -2126,8 +2129,8 @@ export declare namespace delegation_pool {
|
|
2126
2129
|
type_arguments: [];
|
2127
2130
|
}
|
2128
2131
|
interface WithdrawStakeEvent {
|
2129
|
-
pool_address:
|
2130
|
-
delegator_address:
|
2132
|
+
pool_address: Address;
|
2133
|
+
delegator_address: Address;
|
2131
2134
|
amount_withdrawn: bigint;
|
2132
2135
|
}
|
2133
2136
|
namespace WithdrawStakeEvent {
|
@@ -2138,36 +2141,36 @@ export declare namespace delegation_pool {
|
|
2138
2141
|
data_decoded: WithdrawStakeEvent;
|
2139
2142
|
type_arguments: [];
|
2140
2143
|
}
|
2141
|
-
interface AddStakePayload extends TypedFunctionPayload<[
|
2142
|
-
arguments_decoded: [
|
2144
|
+
interface AddStakePayload extends TypedFunctionPayload<[Address, bigint]> {
|
2145
|
+
arguments_decoded: [Address, bigint];
|
2143
2146
|
type_arguments: [];
|
2144
2147
|
}
|
2145
2148
|
interface InitializeDelegationPoolPayload extends TypedFunctionPayload<[bigint, string]> {
|
2146
2149
|
arguments_decoded: [bigint, string];
|
2147
2150
|
type_arguments: [];
|
2148
2151
|
}
|
2149
|
-
interface ReactivateStakePayload extends TypedFunctionPayload<[
|
2150
|
-
arguments_decoded: [
|
2152
|
+
interface ReactivateStakePayload extends TypedFunctionPayload<[Address, bigint]> {
|
2153
|
+
arguments_decoded: [Address, bigint];
|
2151
2154
|
type_arguments: [];
|
2152
2155
|
}
|
2153
|
-
interface SetDelegatedVoterPayload extends TypedFunctionPayload<[
|
2154
|
-
arguments_decoded: [
|
2156
|
+
interface SetDelegatedVoterPayload extends TypedFunctionPayload<[Address]> {
|
2157
|
+
arguments_decoded: [Address];
|
2155
2158
|
type_arguments: [];
|
2156
2159
|
}
|
2157
|
-
interface SetOperatorPayload extends TypedFunctionPayload<[
|
2158
|
-
arguments_decoded: [
|
2160
|
+
interface SetOperatorPayload extends TypedFunctionPayload<[Address]> {
|
2161
|
+
arguments_decoded: [Address];
|
2159
2162
|
type_arguments: [];
|
2160
2163
|
}
|
2161
|
-
interface SynchronizeDelegationPoolPayload extends TypedFunctionPayload<[
|
2162
|
-
arguments_decoded: [
|
2164
|
+
interface SynchronizeDelegationPoolPayload extends TypedFunctionPayload<[Address]> {
|
2165
|
+
arguments_decoded: [Address];
|
2163
2166
|
type_arguments: [];
|
2164
2167
|
}
|
2165
|
-
interface UnlockPayload extends TypedFunctionPayload<[
|
2166
|
-
arguments_decoded: [
|
2168
|
+
interface UnlockPayload extends TypedFunctionPayload<[Address, bigint]> {
|
2169
|
+
arguments_decoded: [Address, bigint];
|
2167
2170
|
type_arguments: [];
|
2168
2171
|
}
|
2169
|
-
interface WithdrawPayload extends TypedFunctionPayload<[
|
2170
|
-
arguments_decoded: [
|
2172
|
+
interface WithdrawPayload extends TypedFunctionPayload<[Address, bigint]> {
|
2173
|
+
arguments_decoded: [Address, bigint];
|
2171
2174
|
type_arguments: [];
|
2172
2175
|
}
|
2173
2176
|
}
|
@@ -2216,7 +2219,7 @@ export declare namespace transaction_fee {
|
|
2216
2219
|
}
|
2217
2220
|
interface CollectedFeesPerBlock {
|
2218
2221
|
amount: coin.AggregatableCoin<aptos_coin.AptosCoin>;
|
2219
|
-
proposer: option.Option<
|
2222
|
+
proposer: option.Option<Address>;
|
2220
2223
|
burn_percentage: number;
|
2221
2224
|
}
|
2222
2225
|
namespace CollectedFeesPerBlock {
|
@@ -2245,8 +2248,8 @@ export declare namespace aptos_governance {
|
|
2245
2248
|
function type(): TypeDescriptor<ApprovedExecutionHashes>;
|
2246
2249
|
}
|
2247
2250
|
interface CreateProposalEvent {
|
2248
|
-
proposer:
|
2249
|
-
stake_pool:
|
2251
|
+
proposer: Address;
|
2252
|
+
stake_pool: Address;
|
2250
2253
|
proposal_id: bigint;
|
2251
2254
|
execution_hash: string;
|
2252
2255
|
proposal_metadata: simple_map.SimpleMap<string, string>;
|
@@ -2278,14 +2281,14 @@ export declare namespace aptos_governance {
|
|
2278
2281
|
function type(): TypeDescriptor<GovernanceEvents>;
|
2279
2282
|
}
|
2280
2283
|
interface GovernanceResponsbility {
|
2281
|
-
signer_caps: simple_map.SimpleMap<
|
2284
|
+
signer_caps: simple_map.SimpleMap<Address, account.SignerCapability>;
|
2282
2285
|
}
|
2283
2286
|
namespace GovernanceResponsbility {
|
2284
2287
|
const TYPE_QNAME = "0x1::aptos_governance::GovernanceResponsbility";
|
2285
2288
|
function type(): TypeDescriptor<GovernanceResponsbility>;
|
2286
2289
|
}
|
2287
2290
|
interface RecordKey {
|
2288
|
-
stake_pool:
|
2291
|
+
stake_pool: Address;
|
2289
2292
|
proposal_id: bigint;
|
2290
2293
|
}
|
2291
2294
|
namespace RecordKey {
|
@@ -2307,8 +2310,8 @@ export declare namespace aptos_governance {
|
|
2307
2310
|
}
|
2308
2311
|
interface VoteEvent {
|
2309
2312
|
proposal_id: bigint;
|
2310
|
-
voter:
|
2311
|
-
stake_pool:
|
2313
|
+
voter: Address;
|
2314
|
+
stake_pool: Address;
|
2312
2315
|
num_votes: bigint;
|
2313
2316
|
should_pass: Boolean;
|
2314
2317
|
}
|
@@ -2331,16 +2334,16 @@ export declare namespace aptos_governance {
|
|
2331
2334
|
arguments_decoded: [bigint];
|
2332
2335
|
type_arguments: [];
|
2333
2336
|
}
|
2334
|
-
interface CreateProposalPayload extends TypedFunctionPayload<[
|
2335
|
-
arguments_decoded: [
|
2337
|
+
interface CreateProposalPayload extends TypedFunctionPayload<[Address, string, string, string]> {
|
2338
|
+
arguments_decoded: [Address, string, string, string];
|
2336
2339
|
type_arguments: [];
|
2337
2340
|
}
|
2338
|
-
interface CreateProposalV2Payload extends TypedFunctionPayload<[
|
2339
|
-
arguments_decoded: [
|
2341
|
+
interface CreateProposalV2Payload extends TypedFunctionPayload<[Address, string, string, string, Boolean]> {
|
2342
|
+
arguments_decoded: [Address, string, string, string, Boolean];
|
2340
2343
|
type_arguments: [];
|
2341
2344
|
}
|
2342
|
-
interface VotePayload extends TypedFunctionPayload<[
|
2343
|
-
arguments_decoded: [
|
2345
|
+
interface VotePayload extends TypedFunctionPayload<[Address, bigint, Boolean]> {
|
2346
|
+
arguments_decoded: [Address, bigint, Boolean];
|
2344
2347
|
type_arguments: [];
|
2345
2348
|
}
|
2346
2349
|
}
|
@@ -2384,7 +2387,7 @@ export declare class multisig_account extends AptosBaseProcessor {
|
|
2384
2387
|
}
|
2385
2388
|
export declare namespace multisig_account {
|
2386
2389
|
interface AddOwnersEvent {
|
2387
|
-
owners_added:
|
2390
|
+
owners_added: Address[];
|
2388
2391
|
}
|
2389
2392
|
namespace AddOwnersEvent {
|
2390
2393
|
const TYPE_QNAME = "0x1::multisig_account::AddOwnersEvent";
|
@@ -2395,7 +2398,7 @@ export declare namespace multisig_account {
|
|
2395
2398
|
type_arguments: [];
|
2396
2399
|
}
|
2397
2400
|
interface CreateTransactionEvent {
|
2398
|
-
creator:
|
2401
|
+
creator: Address;
|
2399
2402
|
sequence_number: bigint;
|
2400
2403
|
transaction: multisig_account.MultisigTransaction;
|
2401
2404
|
}
|
@@ -2410,7 +2413,7 @@ export declare namespace multisig_account {
|
|
2410
2413
|
interface ExecuteRejectedTransactionEvent {
|
2411
2414
|
sequence_number: bigint;
|
2412
2415
|
num_rejections: bigint;
|
2413
|
-
executor:
|
2416
|
+
executor: Address;
|
2414
2417
|
}
|
2415
2418
|
namespace ExecuteRejectedTransactionEvent {
|
2416
2419
|
const TYPE_QNAME = "0x1::multisig_account::ExecuteRejectedTransactionEvent";
|
@@ -2442,7 +2445,7 @@ export declare namespace multisig_account {
|
|
2442
2445
|
type_arguments: [];
|
2443
2446
|
}
|
2444
2447
|
interface MultisigAccount {
|
2445
|
-
owners:
|
2448
|
+
owners: Address[];
|
2446
2449
|
num_signatures_required: bigint;
|
2447
2450
|
transactions: table.Table<bigint, multisig_account.MultisigTransaction>;
|
2448
2451
|
last_executed_sequence_number: bigint;
|
@@ -2465,9 +2468,9 @@ export declare namespace multisig_account {
|
|
2465
2468
|
}
|
2466
2469
|
interface MultisigAccountCreationMessage {
|
2467
2470
|
chain_id: number;
|
2468
|
-
account_address:
|
2471
|
+
account_address: Address;
|
2469
2472
|
sequence_number: bigint;
|
2470
|
-
owners:
|
2473
|
+
owners: Address[];
|
2471
2474
|
num_signatures_required: bigint;
|
2472
2475
|
}
|
2473
2476
|
namespace MultisigAccountCreationMessage {
|
@@ -2477,8 +2480,8 @@ export declare namespace multisig_account {
|
|
2477
2480
|
interface MultisigTransaction {
|
2478
2481
|
payload: option.Option<string>;
|
2479
2482
|
payload_hash: option.Option<string>;
|
2480
|
-
votes: simple_map.SimpleMap<
|
2481
|
-
creator:
|
2483
|
+
votes: simple_map.SimpleMap<Address, Boolean>;
|
2484
|
+
creator: Address;
|
2482
2485
|
creation_time_secs: bigint;
|
2483
2486
|
}
|
2484
2487
|
namespace MultisigTransaction {
|
@@ -2486,7 +2489,7 @@ export declare namespace multisig_account {
|
|
2486
2489
|
function type(): TypeDescriptor<MultisigTransaction>;
|
2487
2490
|
}
|
2488
2491
|
interface RemoveOwnersEvent {
|
2489
|
-
owners_removed:
|
2492
|
+
owners_removed: Address[];
|
2490
2493
|
}
|
2491
2494
|
namespace RemoveOwnersEvent {
|
2492
2495
|
const TYPE_QNAME = "0x1::multisig_account::RemoveOwnersEvent";
|
@@ -2497,7 +2500,7 @@ export declare namespace multisig_account {
|
|
2497
2500
|
type_arguments: [];
|
2498
2501
|
}
|
2499
2502
|
interface TransactionExecutionFailedEvent {
|
2500
|
-
executor:
|
2503
|
+
executor: Address;
|
2501
2504
|
sequence_number: bigint;
|
2502
2505
|
transaction_payload: string;
|
2503
2506
|
num_approvals: bigint;
|
@@ -2512,7 +2515,7 @@ export declare namespace multisig_account {
|
|
2512
2515
|
type_arguments: [];
|
2513
2516
|
}
|
2514
2517
|
interface TransactionExecutionSucceededEvent {
|
2515
|
-
executor:
|
2518
|
+
executor: Address;
|
2516
2519
|
sequence_number: bigint;
|
2517
2520
|
transaction_payload: string;
|
2518
2521
|
num_approvals: bigint;
|
@@ -2538,7 +2541,7 @@ export declare namespace multisig_account {
|
|
2538
2541
|
type_arguments: [];
|
2539
2542
|
}
|
2540
2543
|
interface VoteEvent {
|
2541
|
-
owner:
|
2544
|
+
owner: Address;
|
2542
2545
|
sequence_number: bigint;
|
2543
2546
|
approved: Boolean;
|
2544
2547
|
}
|
@@ -2550,33 +2553,33 @@ export declare namespace multisig_account {
|
|
2550
2553
|
data_decoded: VoteEvent;
|
2551
2554
|
type_arguments: [];
|
2552
2555
|
}
|
2553
|
-
interface AddOwnerPayload extends TypedFunctionPayload<[
|
2554
|
-
arguments_decoded: [
|
2556
|
+
interface AddOwnerPayload extends TypedFunctionPayload<[Address]> {
|
2557
|
+
arguments_decoded: [Address];
|
2555
2558
|
type_arguments: [];
|
2556
2559
|
}
|
2557
|
-
interface AddOwnersPayload extends TypedFunctionPayload<[
|
2558
|
-
arguments_decoded: [
|
2560
|
+
interface AddOwnersPayload extends TypedFunctionPayload<[Address[]]> {
|
2561
|
+
arguments_decoded: [Address[]];
|
2559
2562
|
type_arguments: [];
|
2560
2563
|
}
|
2561
|
-
interface ApproveTransactionPayload extends TypedFunctionPayload<[
|
2562
|
-
arguments_decoded: [
|
2564
|
+
interface ApproveTransactionPayload extends TypedFunctionPayload<[Address, bigint]> {
|
2565
|
+
arguments_decoded: [Address, bigint];
|
2563
2566
|
type_arguments: [];
|
2564
2567
|
}
|
2565
2568
|
interface CreatePayload extends TypedFunctionPayload<[bigint, string[], string[]]> {
|
2566
2569
|
arguments_decoded: [bigint, string[], string[]];
|
2567
2570
|
type_arguments: [];
|
2568
2571
|
}
|
2569
|
-
interface CreateTransactionPayload extends TypedFunctionPayload<[
|
2570
|
-
arguments_decoded: [
|
2572
|
+
interface CreateTransactionPayload extends TypedFunctionPayload<[Address, string]> {
|
2573
|
+
arguments_decoded: [Address, string];
|
2571
2574
|
type_arguments: [];
|
2572
2575
|
}
|
2573
|
-
interface CreateTransactionWithHashPayload extends TypedFunctionPayload<[
|
2574
|
-
arguments_decoded: [
|
2576
|
+
interface CreateTransactionWithHashPayload extends TypedFunctionPayload<[Address, string]> {
|
2577
|
+
arguments_decoded: [Address, string];
|
2575
2578
|
type_arguments: [];
|
2576
2579
|
}
|
2577
2580
|
interface CreateWithExistingAccountPayload extends TypedFunctionPayload<[
|
2578
|
-
|
2579
|
-
|
2581
|
+
Address,
|
2582
|
+
Address[],
|
2580
2583
|
bigint,
|
2581
2584
|
number,
|
2582
2585
|
string,
|
@@ -2585,8 +2588,8 @@ export declare namespace multisig_account {
|
|
2585
2588
|
string[]
|
2586
2589
|
]> {
|
2587
2590
|
arguments_decoded: [
|
2588
|
-
|
2589
|
-
|
2591
|
+
Address,
|
2592
|
+
Address[],
|
2590
2593
|
bigint,
|
2591
2594
|
number,
|
2592
2595
|
string,
|
@@ -2596,24 +2599,24 @@ export declare namespace multisig_account {
|
|
2596
2599
|
];
|
2597
2600
|
type_arguments: [];
|
2598
2601
|
}
|
2599
|
-
interface CreateWithOwnersPayload extends TypedFunctionPayload<[
|
2600
|
-
arguments_decoded: [
|
2602
|
+
interface CreateWithOwnersPayload extends TypedFunctionPayload<[Address[], bigint, string[], string[]]> {
|
2603
|
+
arguments_decoded: [Address[], bigint, string[], string[]];
|
2601
2604
|
type_arguments: [];
|
2602
2605
|
}
|
2603
|
-
interface ExecuteRejectedTransactionPayload extends TypedFunctionPayload<[
|
2604
|
-
arguments_decoded: [
|
2606
|
+
interface ExecuteRejectedTransactionPayload extends TypedFunctionPayload<[Address]> {
|
2607
|
+
arguments_decoded: [Address];
|
2605
2608
|
type_arguments: [];
|
2606
2609
|
}
|
2607
|
-
interface RejectTransactionPayload extends TypedFunctionPayload<[
|
2608
|
-
arguments_decoded: [
|
2610
|
+
interface RejectTransactionPayload extends TypedFunctionPayload<[Address, bigint]> {
|
2611
|
+
arguments_decoded: [Address, bigint];
|
2609
2612
|
type_arguments: [];
|
2610
2613
|
}
|
2611
|
-
interface RemoveOwnerPayload extends TypedFunctionPayload<[
|
2612
|
-
arguments_decoded: [
|
2614
|
+
interface RemoveOwnerPayload extends TypedFunctionPayload<[Address]> {
|
2615
|
+
arguments_decoded: [Address];
|
2613
2616
|
type_arguments: [];
|
2614
2617
|
}
|
2615
|
-
interface RemoveOwnersPayload extends TypedFunctionPayload<[
|
2616
|
-
arguments_decoded: [
|
2618
|
+
interface RemoveOwnersPayload extends TypedFunctionPayload<[Address[]]> {
|
2619
|
+
arguments_decoded: [Address[]];
|
2617
2620
|
type_arguments: [];
|
2618
2621
|
}
|
2619
2622
|
interface UpdateMetadataPayload extends TypedFunctionPayload<[string[], string[]]> {
|
@@ -2624,8 +2627,8 @@ export declare namespace multisig_account {
|
|
2624
2627
|
arguments_decoded: [bigint];
|
2625
2628
|
type_arguments: [];
|
2626
2629
|
}
|
2627
|
-
interface VoteTransanctionPayload extends TypedFunctionPayload<[
|
2628
|
-
arguments_decoded: [
|
2630
|
+
interface VoteTransanctionPayload extends TypedFunctionPayload<[Address, bigint, Boolean]> {
|
2631
|
+
arguments_decoded: [Address, bigint, Boolean];
|
2629
2632
|
type_arguments: [];
|
2630
2633
|
}
|
2631
2634
|
}
|
@@ -2633,7 +2636,7 @@ export declare namespace pool_u64_unbound {
|
|
2633
2636
|
interface Pool {
|
2634
2637
|
total_coins: bigint;
|
2635
2638
|
total_shares: bigint;
|
2636
|
-
shares: table_with_length.TableWithLength<
|
2639
|
+
shares: table_with_length.TableWithLength<Address, bigint>;
|
2637
2640
|
scaling_factor: bigint;
|
2638
2641
|
}
|
2639
2642
|
namespace Pool {
|
@@ -2651,7 +2654,7 @@ export declare class resource_account extends AptosBaseProcessor {
|
|
2651
2654
|
}
|
2652
2655
|
export declare namespace resource_account {
|
2653
2656
|
interface Container {
|
2654
|
-
store: simple_map.SimpleMap<
|
2657
|
+
store: simple_map.SimpleMap<Address, account.SignerCapability>;
|
2655
2658
|
}
|
2656
2659
|
namespace Container {
|
2657
2660
|
const TYPE_QNAME = "0x1::resource_account::Container";
|
@@ -2698,8 +2701,8 @@ export declare class staking_contract extends AptosBaseProcessor {
|
|
2698
2701
|
}
|
2699
2702
|
export declare namespace staking_contract {
|
2700
2703
|
interface AddDistributionEvent {
|
2701
|
-
operator:
|
2702
|
-
pool_address:
|
2704
|
+
operator: Address;
|
2705
|
+
pool_address: Address;
|
2703
2706
|
amount: bigint;
|
2704
2707
|
}
|
2705
2708
|
namespace AddDistributionEvent {
|
@@ -2711,8 +2714,8 @@ export declare namespace staking_contract {
|
|
2711
2714
|
type_arguments: [];
|
2712
2715
|
}
|
2713
2716
|
interface AddStakeEvent {
|
2714
|
-
operator:
|
2715
|
-
pool_address:
|
2717
|
+
operator: Address;
|
2718
|
+
pool_address: Address;
|
2716
2719
|
amount: bigint;
|
2717
2720
|
}
|
2718
2721
|
namespace AddStakeEvent {
|
@@ -2724,9 +2727,9 @@ export declare namespace staking_contract {
|
|
2724
2727
|
type_arguments: [];
|
2725
2728
|
}
|
2726
2729
|
interface CreateStakingContractEvent {
|
2727
|
-
operator:
|
2728
|
-
voter:
|
2729
|
-
pool_address:
|
2730
|
+
operator: Address;
|
2731
|
+
voter: Address;
|
2732
|
+
pool_address: Address;
|
2730
2733
|
principal: bigint;
|
2731
2734
|
commission_percentage: bigint;
|
2732
2735
|
}
|
@@ -2739,9 +2742,9 @@ export declare namespace staking_contract {
|
|
2739
2742
|
type_arguments: [];
|
2740
2743
|
}
|
2741
2744
|
interface DistributeEvent {
|
2742
|
-
operator:
|
2743
|
-
pool_address:
|
2744
|
-
recipient:
|
2745
|
+
operator: Address;
|
2746
|
+
pool_address: Address;
|
2747
|
+
recipient: Address;
|
2745
2748
|
amount: bigint;
|
2746
2749
|
}
|
2747
2750
|
namespace DistributeEvent {
|
@@ -2753,8 +2756,8 @@ export declare namespace staking_contract {
|
|
2753
2756
|
type_arguments: [];
|
2754
2757
|
}
|
2755
2758
|
interface RequestCommissionEvent {
|
2756
|
-
operator:
|
2757
|
-
pool_address:
|
2759
|
+
operator: Address;
|
2760
|
+
pool_address: Address;
|
2758
2761
|
accumulated_rewards: bigint;
|
2759
2762
|
commission_amount: bigint;
|
2760
2763
|
}
|
@@ -2767,8 +2770,8 @@ export declare namespace staking_contract {
|
|
2767
2770
|
type_arguments: [];
|
2768
2771
|
}
|
2769
2772
|
interface ResetLockupEvent {
|
2770
|
-
operator:
|
2771
|
-
pool_address:
|
2773
|
+
operator: Address;
|
2774
|
+
pool_address: Address;
|
2772
2775
|
}
|
2773
2776
|
namespace ResetLockupEvent {
|
2774
2777
|
const TYPE_QNAME = "0x1::staking_contract::ResetLockupEvent";
|
@@ -2780,7 +2783,7 @@ export declare namespace staking_contract {
|
|
2780
2783
|
}
|
2781
2784
|
interface StakingContract {
|
2782
2785
|
principal: bigint;
|
2783
|
-
pool_address:
|
2786
|
+
pool_address: Address;
|
2784
2787
|
owner_cap: stake.OwnerCapability;
|
2785
2788
|
commission_percentage: bigint;
|
2786
2789
|
distribution_pool: pool_u64.Pool;
|
@@ -2805,7 +2808,7 @@ export declare namespace staking_contract {
|
|
2805
2808
|
function type(): TypeDescriptor<StakingGroupUpdateCommissionEvent>;
|
2806
2809
|
}
|
2807
2810
|
interface Store {
|
2808
|
-
staking_contracts: simple_map.SimpleMap<
|
2811
|
+
staking_contracts: simple_map.SimpleMap<Address, staking_contract.StakingContract>;
|
2809
2812
|
create_staking_contract_events: event.EventHandle<staking_contract.CreateStakingContractEvent>;
|
2810
2813
|
update_voter_events: event.EventHandle<staking_contract.UpdateVoterEvent>;
|
2811
2814
|
reset_lockup_events: event.EventHandle<staking_contract.ResetLockupEvent>;
|
@@ -2821,9 +2824,9 @@ export declare namespace staking_contract {
|
|
2821
2824
|
function type(): TypeDescriptor<Store>;
|
2822
2825
|
}
|
2823
2826
|
interface SwitchOperatorEvent {
|
2824
|
-
old_operator:
|
2825
|
-
new_operator:
|
2826
|
-
pool_address:
|
2827
|
+
old_operator: Address;
|
2828
|
+
new_operator: Address;
|
2829
|
+
pool_address: Address;
|
2827
2830
|
}
|
2828
2831
|
namespace SwitchOperatorEvent {
|
2829
2832
|
const TYPE_QNAME = "0x1::staking_contract::SwitchOperatorEvent";
|
@@ -2834,8 +2837,8 @@ export declare namespace staking_contract {
|
|
2834
2837
|
type_arguments: [];
|
2835
2838
|
}
|
2836
2839
|
interface UnlockStakeEvent {
|
2837
|
-
operator:
|
2838
|
-
pool_address:
|
2840
|
+
operator: Address;
|
2841
|
+
pool_address: Address;
|
2839
2842
|
amount: bigint;
|
2840
2843
|
commission_paid: bigint;
|
2841
2844
|
}
|
@@ -2848,8 +2851,8 @@ export declare namespace staking_contract {
|
|
2848
2851
|
type_arguments: [];
|
2849
2852
|
}
|
2850
2853
|
interface UpdateCommissionEvent {
|
2851
|
-
staker:
|
2852
|
-
operator:
|
2854
|
+
staker: Address;
|
2855
|
+
operator: Address;
|
2853
2856
|
old_commission_percentage: bigint;
|
2854
2857
|
new_commission_percentage: bigint;
|
2855
2858
|
}
|
@@ -2862,10 +2865,10 @@ export declare namespace staking_contract {
|
|
2862
2865
|
type_arguments: [];
|
2863
2866
|
}
|
2864
2867
|
interface UpdateVoterEvent {
|
2865
|
-
operator:
|
2866
|
-
pool_address:
|
2867
|
-
old_voter:
|
2868
|
-
new_voter:
|
2868
|
+
operator: Address;
|
2869
|
+
pool_address: Address;
|
2870
|
+
old_voter: Address;
|
2871
|
+
new_voter: Address;
|
2869
2872
|
}
|
2870
2873
|
namespace UpdateVoterEvent {
|
2871
2874
|
const TYPE_QNAME = "0x1::staking_contract::UpdateVoterEvent";
|
@@ -2875,48 +2878,48 @@ export declare namespace staking_contract {
|
|
2875
2878
|
data_decoded: UpdateVoterEvent;
|
2876
2879
|
type_arguments: [];
|
2877
2880
|
}
|
2878
|
-
interface AddStakePayload extends TypedFunctionPayload<[
|
2879
|
-
arguments_decoded: [
|
2881
|
+
interface AddStakePayload extends TypedFunctionPayload<[Address, bigint]> {
|
2882
|
+
arguments_decoded: [Address, bigint];
|
2880
2883
|
type_arguments: [];
|
2881
2884
|
}
|
2882
|
-
interface CreateStakingContractPayload extends TypedFunctionPayload<[
|
2883
|
-
arguments_decoded: [
|
2885
|
+
interface CreateStakingContractPayload extends TypedFunctionPayload<[Address, Address, bigint, bigint, string]> {
|
2886
|
+
arguments_decoded: [Address, Address, bigint, bigint, string];
|
2884
2887
|
type_arguments: [];
|
2885
2888
|
}
|
2886
|
-
interface DistributePayload extends TypedFunctionPayload<[
|
2887
|
-
arguments_decoded: [
|
2889
|
+
interface DistributePayload extends TypedFunctionPayload<[Address, Address]> {
|
2890
|
+
arguments_decoded: [Address, Address];
|
2888
2891
|
type_arguments: [];
|
2889
2892
|
}
|
2890
|
-
interface RequestCommissionPayload extends TypedFunctionPayload<[
|
2891
|
-
arguments_decoded: [
|
2893
|
+
interface RequestCommissionPayload extends TypedFunctionPayload<[Address, Address]> {
|
2894
|
+
arguments_decoded: [Address, Address];
|
2892
2895
|
type_arguments: [];
|
2893
2896
|
}
|
2894
|
-
interface ResetLockupPayload extends TypedFunctionPayload<[
|
2895
|
-
arguments_decoded: [
|
2897
|
+
interface ResetLockupPayload extends TypedFunctionPayload<[Address]> {
|
2898
|
+
arguments_decoded: [Address];
|
2896
2899
|
type_arguments: [];
|
2897
2900
|
}
|
2898
|
-
interface SwitchOperatorPayload extends TypedFunctionPayload<[
|
2899
|
-
arguments_decoded: [
|
2901
|
+
interface SwitchOperatorPayload extends TypedFunctionPayload<[Address, Address, bigint]> {
|
2902
|
+
arguments_decoded: [Address, Address, bigint];
|
2900
2903
|
type_arguments: [];
|
2901
2904
|
}
|
2902
|
-
interface SwitchOperatorWithSameCommissionPayload extends TypedFunctionPayload<[
|
2903
|
-
arguments_decoded: [
|
2905
|
+
interface SwitchOperatorWithSameCommissionPayload extends TypedFunctionPayload<[Address, Address]> {
|
2906
|
+
arguments_decoded: [Address, Address];
|
2904
2907
|
type_arguments: [];
|
2905
2908
|
}
|
2906
|
-
interface UnlockRewardsPayload extends TypedFunctionPayload<[
|
2907
|
-
arguments_decoded: [
|
2909
|
+
interface UnlockRewardsPayload extends TypedFunctionPayload<[Address]> {
|
2910
|
+
arguments_decoded: [Address];
|
2908
2911
|
type_arguments: [];
|
2909
2912
|
}
|
2910
|
-
interface UnlockStakePayload extends TypedFunctionPayload<[
|
2911
|
-
arguments_decoded: [
|
2913
|
+
interface UnlockStakePayload extends TypedFunctionPayload<[Address, bigint]> {
|
2914
|
+
arguments_decoded: [Address, bigint];
|
2912
2915
|
type_arguments: [];
|
2913
2916
|
}
|
2914
|
-
interface UpdateCommisionPayload extends TypedFunctionPayload<[
|
2915
|
-
arguments_decoded: [
|
2917
|
+
interface UpdateCommisionPayload extends TypedFunctionPayload<[Address, bigint]> {
|
2918
|
+
arguments_decoded: [Address, bigint];
|
2916
2919
|
type_arguments: [];
|
2917
2920
|
}
|
2918
|
-
interface UpdateVoterPayload extends TypedFunctionPayload<[
|
2919
|
-
arguments_decoded: [
|
2921
|
+
interface UpdateVoterPayload extends TypedFunctionPayload<[Address, Address]> {
|
2922
|
+
arguments_decoded: [Address, Address];
|
2920
2923
|
type_arguments: [];
|
2921
2924
|
}
|
2922
2925
|
}
|
@@ -2933,7 +2936,7 @@ export declare namespace table_with_length {
|
|
2933
2936
|
}
|
2934
2937
|
export declare namespace aggregator_factory {
|
2935
2938
|
interface AggregatorFactory {
|
2936
|
-
phantom_table: table.Table<
|
2939
|
+
phantom_table: table.Table<Address, bigint>;
|
2937
2940
|
}
|
2938
2941
|
namespace AggregatorFactory {
|
2939
2942
|
const TYPE_QNAME = "0x1::aggregator_factory::AggregatorFactory";
|
@@ -2970,7 +2973,7 @@ export declare namespace optional_aggregator {
|
|
2970
2973
|
export declare namespace transaction_context { }
|
2971
2974
|
export declare namespace transaction_validation {
|
2972
2975
|
interface TransactionValidation {
|
2973
|
-
module_addr:
|
2976
|
+
module_addr: Address;
|
2974
2977
|
module_name: string;
|
2975
2978
|
script_prologue_name: string;
|
2976
2979
|
module_prologue_name: string;
|