@sentio/sdk 2.54.0-rc.7 → 2.54.0-rc.9
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/lib/aptos/builtin/0x1.d.ts +840 -815
- package/lib/aptos/builtin/0x1.d.ts.map +1 -1
- package/lib/aptos/builtin/0x1.js +1200 -1137
- package/lib/aptos/builtin/0x1.js.map +1 -1
- package/lib/aptos/builtin/0x3.d.ts +67 -52
- package/lib/aptos/builtin/0x3.d.ts.map +1 -1
- package/lib/aptos/builtin/0x3.js +66 -53
- package/lib/aptos/builtin/0x3.js.map +1 -1
- package/lib/aptos/builtin/0x4.d.ts +113 -113
- package/lib/aptos/builtin/0x4.d.ts.map +1 -1
- package/lib/aptos/builtin/0x4.js +149 -149
- package/lib/aptos/builtin/0x4.js.map +1 -1
- package/lib/sui/builtin/0x1.d.ts +83 -0
- package/lib/sui/builtin/0x1.d.ts.map +1 -1
- package/lib/sui/builtin/0x1.js +345 -1
- package/lib/sui/builtin/0x1.js.map +1 -1
- package/package.json +8 -8
- package/src/aptos/abis/0x1.json +3816 -3657
- package/src/aptos/abis/0x3.json +247 -219
- package/src/aptos/abis/0x4.json +576 -576
- package/src/aptos/builtin/0x1.ts +2374 -2235
- package/src/aptos/builtin/0x3.ts +154 -113
- package/src/aptos/builtin/0x4.ts +280 -282
- package/src/sui/abis/0x1.json +391 -0
- package/src/sui/builtin/0x1.ts +510 -1
@@ -79,6 +79,10 @@ export declare namespace dkg {
|
|
79
79
|
namespace entry { }
|
80
80
|
namespace view { }
|
81
81
|
}
|
82
|
+
export declare namespace mem {
|
83
|
+
namespace entry { }
|
84
|
+
namespace view { }
|
85
|
+
}
|
82
86
|
export declare class code extends AptosBaseProcessor {
|
83
87
|
constructor(options: AptosBindOptions);
|
84
88
|
static DEFAULT_OPTIONS: AptosBindOptions;
|
@@ -169,21 +173,60 @@ export declare class coin extends AptosBaseProcessor {
|
|
169
173
|
constructor(options: AptosBindOptions);
|
170
174
|
static DEFAULT_OPTIONS: AptosBindOptions;
|
171
175
|
static bind(options?: Partial<AptosBindOptions>): coin;
|
176
|
+
onEntryTransfer(func: (call: coin.TransferPayload, ctx: AptosContext) => void, filter?: CallFilter, fetchConfig?: Partial<MoveFetchConfig>): coin;
|
172
177
|
onEntryCreateCoinConversionMap(func: (call: coin.CreateCoinConversionMapPayload, ctx: AptosContext) => void, filter?: CallFilter, fetchConfig?: Partial<MoveFetchConfig>): coin;
|
173
178
|
onEntryCreatePairing(func: (call: coin.CreatePairingPayload, ctx: AptosContext) => void, filter?: CallFilter, fetchConfig?: Partial<MoveFetchConfig>): coin;
|
174
179
|
onEntryFreezeCoinStore(func: (call: coin.FreezeCoinStorePayload, ctx: AptosContext) => void, filter?: CallFilter, fetchConfig?: Partial<MoveFetchConfig>): coin;
|
180
|
+
onEntryMigrateCoinStoreToFungibleStore(func: (call: coin.MigrateCoinStoreToFungibleStorePayload, ctx: AptosContext) => void, filter?: CallFilter, fetchConfig?: Partial<MoveFetchConfig>): coin;
|
175
181
|
onEntryMigrateToFungibleStore(func: (call: coin.MigrateToFungibleStorePayload, ctx: AptosContext) => void, filter?: CallFilter, fetchConfig?: Partial<MoveFetchConfig>): coin;
|
176
|
-
onEntryTransfer(func: (call: coin.TransferPayload, ctx: AptosContext) => void, filter?: CallFilter, fetchConfig?: Partial<MoveFetchConfig>): coin;
|
177
182
|
onEntryUnfreezeCoinStore(func: (call: coin.UnfreezeCoinStorePayload, ctx: AptosContext) => void, filter?: CallFilter, fetchConfig?: Partial<MoveFetchConfig>): coin;
|
178
183
|
onEntryUpgradeSupply(func: (call: coin.UpgradeSupplyPayload, ctx: AptosContext) => void, filter?: CallFilter, fetchConfig?: Partial<MoveFetchConfig>): coin;
|
184
|
+
onEventDepositEvent(func: (event: coin.DepositEventInstance, ctx: AptosContext) => void, fetchConfig?: Partial<MoveFetchConfig>): coin;
|
185
|
+
onEventWithdrawEvent(func: (event: coin.WithdrawEventInstance, ctx: AptosContext) => void, fetchConfig?: Partial<MoveFetchConfig>): coin;
|
179
186
|
onEventCoinDeposit(func: (event: coin.CoinDepositInstance, ctx: AptosContext) => void, fetchConfig?: Partial<MoveFetchConfig>): coin;
|
180
187
|
onEventCoinEventHandleDeletion(func: (event: coin.CoinEventHandleDeletionInstance, ctx: AptosContext) => void, fetchConfig?: Partial<MoveFetchConfig>): coin;
|
181
188
|
onEventCoinWithdraw(func: (event: coin.CoinWithdrawInstance, ctx: AptosContext) => void, fetchConfig?: Partial<MoveFetchConfig>): coin;
|
182
|
-
onEventDepositEvent(func: (event: coin.DepositEventInstance, ctx: AptosContext) => void, fetchConfig?: Partial<MoveFetchConfig>): coin;
|
183
189
|
onEventPairCreation(func: (event: coin.PairCreationInstance, ctx: AptosContext) => void, fetchConfig?: Partial<MoveFetchConfig>): coin;
|
184
|
-
onEventWithdrawEvent(func: (event: coin.WithdrawEventInstance, ctx: AptosContext) => void, fetchConfig?: Partial<MoveFetchConfig>): coin;
|
185
190
|
}
|
186
191
|
export declare namespace coin {
|
192
|
+
interface Deposit<T0> {
|
193
|
+
account: MoveAddressType;
|
194
|
+
amount: bigint;
|
195
|
+
}
|
196
|
+
namespace Deposit {
|
197
|
+
const TYPE_QNAME = "0x1::coin::Deposit";
|
198
|
+
function type<T0>(arg0?: TypeDescriptor<T0>): TypeDescriptor<Deposit<T0>>;
|
199
|
+
}
|
200
|
+
interface DepositEvent {
|
201
|
+
amount: bigint;
|
202
|
+
}
|
203
|
+
namespace DepositEvent {
|
204
|
+
const TYPE_QNAME = "0x1::coin::DepositEvent";
|
205
|
+
function type(): TypeDescriptor<DepositEvent>;
|
206
|
+
}
|
207
|
+
interface DepositEventInstance extends TypedEventInstance<DepositEvent> {
|
208
|
+
data_decoded: DepositEvent;
|
209
|
+
type_arguments: [];
|
210
|
+
}
|
211
|
+
interface Withdraw<T0> {
|
212
|
+
account: MoveAddressType;
|
213
|
+
amount: bigint;
|
214
|
+
}
|
215
|
+
namespace Withdraw {
|
216
|
+
const TYPE_QNAME = "0x1::coin::Withdraw";
|
217
|
+
function type<T0>(arg0?: TypeDescriptor<T0>): TypeDescriptor<Withdraw<T0>>;
|
218
|
+
}
|
219
|
+
interface WithdrawEvent {
|
220
|
+
amount: bigint;
|
221
|
+
}
|
222
|
+
namespace WithdrawEvent {
|
223
|
+
const TYPE_QNAME = "0x1::coin::WithdrawEvent";
|
224
|
+
function type(): TypeDescriptor<WithdrawEvent>;
|
225
|
+
}
|
226
|
+
interface WithdrawEventInstance extends TypedEventInstance<WithdrawEvent> {
|
227
|
+
data_decoded: WithdrawEvent;
|
228
|
+
type_arguments: [];
|
229
|
+
}
|
187
230
|
interface AggregatableCoin<T0> {
|
188
231
|
value: aggregator.Aggregator;
|
189
232
|
}
|
@@ -278,25 +321,6 @@ export declare namespace coin {
|
|
278
321
|
data_decoded: CoinWithdraw;
|
279
322
|
type_arguments: [];
|
280
323
|
}
|
281
|
-
interface Deposit<T0> {
|
282
|
-
account: MoveAddressType;
|
283
|
-
amount: bigint;
|
284
|
-
}
|
285
|
-
namespace Deposit {
|
286
|
-
const TYPE_QNAME = "0x1::coin::Deposit";
|
287
|
-
function type<T0>(arg0?: TypeDescriptor<T0>): TypeDescriptor<Deposit<T0>>;
|
288
|
-
}
|
289
|
-
interface DepositEvent {
|
290
|
-
amount: bigint;
|
291
|
-
}
|
292
|
-
namespace DepositEvent {
|
293
|
-
const TYPE_QNAME = "0x1::coin::DepositEvent";
|
294
|
-
function type(): TypeDescriptor<DepositEvent>;
|
295
|
-
}
|
296
|
-
interface DepositEventInstance extends TypedEventInstance<DepositEvent> {
|
297
|
-
data_decoded: DepositEvent;
|
298
|
-
type_arguments: [];
|
299
|
-
}
|
300
324
|
interface FreezeCapability<T0> {
|
301
325
|
dummy_field: boolean;
|
302
326
|
}
|
@@ -367,26 +391,11 @@ export declare namespace coin {
|
|
367
391
|
const TYPE_QNAME = "0x1::coin::TransferRefReceipt";
|
368
392
|
function type(): TypeDescriptor<TransferRefReceipt>;
|
369
393
|
}
|
370
|
-
interface Withdraw<T0> {
|
371
|
-
account: MoveAddressType;
|
372
|
-
amount: bigint;
|
373
|
-
}
|
374
|
-
namespace Withdraw {
|
375
|
-
const TYPE_QNAME = "0x1::coin::Withdraw";
|
376
|
-
function type<T0>(arg0?: TypeDescriptor<T0>): TypeDescriptor<Withdraw<T0>>;
|
377
|
-
}
|
378
|
-
interface WithdrawEvent {
|
379
|
-
amount: bigint;
|
380
|
-
}
|
381
|
-
namespace WithdrawEvent {
|
382
|
-
const TYPE_QNAME = "0x1::coin::WithdrawEvent";
|
383
|
-
function type(): TypeDescriptor<WithdrawEvent>;
|
384
|
-
}
|
385
|
-
interface WithdrawEventInstance extends TypedEventInstance<WithdrawEvent> {
|
386
|
-
data_decoded: WithdrawEvent;
|
387
|
-
type_arguments: [];
|
388
|
-
}
|
389
394
|
namespace entry {
|
395
|
+
function transfer<T0 = any>(client: Aptos, account: AptosAccount, request: {
|
396
|
+
typeArguments: [MoveStructId];
|
397
|
+
functionArguments: [MoveAddressType, bigint];
|
398
|
+
}, options?: InputGenerateTransactionOptions): Promise<PendingTransactionResponse>;
|
390
399
|
function createCoinConversionMap(client: Aptos, account: AptosAccount, request: {
|
391
400
|
typeArguments: [];
|
392
401
|
functionArguments: [];
|
@@ -399,13 +408,13 @@ export declare namespace coin {
|
|
399
408
|
typeArguments: [MoveStructId];
|
400
409
|
functionArguments: [MoveAddressType, MoveAddressType];
|
401
410
|
}, options?: InputGenerateTransactionOptions): Promise<PendingTransactionResponse>;
|
402
|
-
function
|
411
|
+
function migrateCoinStoreToFungibleStore<T0 = any>(client: Aptos, account: AptosAccount, request: {
|
403
412
|
typeArguments: [MoveStructId];
|
404
|
-
functionArguments: [];
|
413
|
+
functionArguments: [MoveAddressType[]];
|
405
414
|
}, options?: InputGenerateTransactionOptions): Promise<PendingTransactionResponse>;
|
406
|
-
function
|
415
|
+
function migrateToFungibleStore<T0 = any>(client: Aptos, account: AptosAccount, request: {
|
407
416
|
typeArguments: [MoveStructId];
|
408
|
-
functionArguments: [
|
417
|
+
functionArguments: [];
|
409
418
|
}, options?: InputGenerateTransactionOptions): Promise<PendingTransactionResponse>;
|
410
419
|
function unfreezeCoinStore<T0 = any>(client: Aptos, account: AptosAccount, request: {
|
411
420
|
typeArguments: [MoveStructId];
|
@@ -417,24 +426,33 @@ export declare namespace coin {
|
|
417
426
|
}, options?: InputGenerateTransactionOptions): Promise<PendingTransactionResponse>;
|
418
427
|
}
|
419
428
|
namespace view {
|
420
|
-
function
|
429
|
+
function name<T0 = any>(client: Aptos, request: {
|
421
430
|
typeArguments: [MoveStructId];
|
422
|
-
|
423
|
-
|
424
|
-
function coinSupply<T0 = any>(client: Aptos, request: {
|
431
|
+
}, version?: bigint): Promise<[string]>;
|
432
|
+
function symbol$<T0 = any>(client: Aptos, request: {
|
425
433
|
typeArguments: [MoveStructId];
|
426
|
-
}, version?: bigint): Promise<[
|
434
|
+
}, version?: bigint): Promise<[string]>;
|
427
435
|
function decimals<T0 = any>(client: Aptos, request: {
|
428
436
|
typeArguments: [MoveStructId];
|
429
437
|
}, version?: bigint): Promise<[number]>;
|
430
|
-
function
|
438
|
+
function balance<T0 = any>(client: Aptos, request: {
|
431
439
|
typeArguments: [MoveStructId];
|
432
440
|
functionArguments: [MoveAddressType];
|
433
|
-
}, version?: bigint): Promise<[
|
441
|
+
}, version?: bigint): Promise<[bigint]>;
|
434
442
|
function isBalanceAtLeast<T0 = any>(client: Aptos, request: {
|
435
443
|
typeArguments: [MoveStructId];
|
436
444
|
functionArguments: [MoveAddressType, bigint];
|
437
445
|
}, version?: bigint): Promise<[boolean]>;
|
446
|
+
function supply<T0 = any>(client: Aptos, request: {
|
447
|
+
typeArguments: [MoveStructId];
|
448
|
+
}, version?: bigint): Promise<[option.Option<bigint>]>;
|
449
|
+
function coinSupply<T0 = any>(client: Aptos, request: {
|
450
|
+
typeArguments: [MoveStructId];
|
451
|
+
}, version?: bigint): Promise<[option.Option<bigint>]>;
|
452
|
+
function isAccountRegistered<T0 = any>(client: Aptos, request: {
|
453
|
+
typeArguments: [MoveStructId];
|
454
|
+
functionArguments: [MoveAddressType];
|
455
|
+
}, version?: bigint): Promise<[boolean]>;
|
438
456
|
function isCoinInitialized<T0 = any>(client: Aptos, request: {
|
439
457
|
typeArguments: [MoveStructId];
|
440
458
|
}, version?: bigint): Promise<[boolean]>;
|
@@ -442,9 +460,6 @@ export declare namespace coin {
|
|
442
460
|
typeArguments: [MoveStructId];
|
443
461
|
functionArguments: [MoveAddressType];
|
444
462
|
}, version?: bigint): Promise<[boolean]>;
|
445
|
-
function name<T0 = any>(client: Aptos, request: {
|
446
|
-
typeArguments: [MoveStructId];
|
447
|
-
}, version?: bigint): Promise<[string]>;
|
448
463
|
function pairedBurnRefExists<T0 = any>(client: Aptos, request: {
|
449
464
|
typeArguments: [MoveStructId];
|
450
465
|
}, version?: bigint): Promise<[boolean]>;
|
@@ -460,12 +475,10 @@ export declare namespace coin {
|
|
460
475
|
function pairedTransferRefExists<T0 = any>(client: Aptos, request: {
|
461
476
|
typeArguments: [MoveStructId];
|
462
477
|
}, version?: bigint): Promise<[boolean]>;
|
463
|
-
|
464
|
-
|
465
|
-
|
466
|
-
|
467
|
-
typeArguments: [MoveStructId];
|
468
|
-
}, version?: bigint): Promise<[string]>;
|
478
|
+
}
|
479
|
+
interface TransferPayload<T0 = any> extends TypedFunctionPayload<[MoveAddressType, bigint]> {
|
480
|
+
arguments_decoded: [MoveAddressType, bigint];
|
481
|
+
type_arguments: [string];
|
469
482
|
}
|
470
483
|
interface CreateCoinConversionMapPayload extends TypedFunctionPayload<[]> {
|
471
484
|
arguments_decoded: [];
|
@@ -479,12 +492,12 @@ export declare namespace coin {
|
|
479
492
|
arguments_decoded: [MoveAddressType, MoveAddressType];
|
480
493
|
type_arguments: [string];
|
481
494
|
}
|
482
|
-
interface
|
483
|
-
arguments_decoded: [];
|
495
|
+
interface MigrateCoinStoreToFungibleStorePayload<T0 = any> extends TypedFunctionPayload<[MoveAddressType[]]> {
|
496
|
+
arguments_decoded: [MoveAddressType[]];
|
484
497
|
type_arguments: [string];
|
485
498
|
}
|
486
|
-
interface
|
487
|
-
arguments_decoded: [
|
499
|
+
interface MigrateToFungibleStorePayload<T0 = any> extends TypedFunctionPayload<[]> {
|
500
|
+
arguments_decoded: [];
|
488
501
|
type_arguments: [string];
|
489
502
|
}
|
490
503
|
interface UnfreezeCoinStorePayload<T0 = any> extends TypedFunctionPayload<[MoveAddressType, MoveAddressType]> {
|
@@ -802,6 +815,7 @@ export declare class stake extends AptosBaseProcessor {
|
|
802
815
|
constructor(options: AptosBindOptions);
|
803
816
|
static DEFAULT_OPTIONS: AptosBindOptions;
|
804
817
|
static bind(options?: Partial<AptosBindOptions>): stake;
|
818
|
+
onEntryWithdraw(func: (call: stake.WithdrawPayload, ctx: AptosContext) => void, filter?: CallFilter, fetchConfig?: Partial<MoveFetchConfig>): stake;
|
805
819
|
onEntryAddStake(func: (call: stake.AddStakePayload, ctx: AptosContext) => void, filter?: CallFilter, fetchConfig?: Partial<MoveFetchConfig>): stake;
|
806
820
|
onEntryIncreaseLockup(func: (call: stake.IncreaseLockupPayload, ctx: AptosContext) => void, filter?: CallFilter, fetchConfig?: Partial<MoveFetchConfig>): stake;
|
807
821
|
onEntryInitializeStakeOwner(func: (call: stake.InitializeStakeOwnerPayload, ctx: AptosContext) => void, filter?: CallFilter, fetchConfig?: Partial<MoveFetchConfig>): stake;
|
@@ -814,7 +828,6 @@ export declare class stake extends AptosBaseProcessor {
|
|
814
828
|
onEntrySetOperator(func: (call: stake.SetOperatorPayload, ctx: AptosContext) => void, filter?: CallFilter, fetchConfig?: Partial<MoveFetchConfig>): stake;
|
815
829
|
onEntryUnlock(func: (call: stake.UnlockPayload, ctx: AptosContext) => void, filter?: CallFilter, fetchConfig?: Partial<MoveFetchConfig>): stake;
|
816
830
|
onEntryUpdateNetworkAndFullnodeAddresses(func: (call: stake.UpdateNetworkAndFullnodeAddressesPayload, ctx: AptosContext) => void, filter?: CallFilter, fetchConfig?: Partial<MoveFetchConfig>): stake;
|
817
|
-
onEntryWithdraw(func: (call: stake.WithdrawPayload, ctx: AptosContext) => void, filter?: CallFilter, fetchConfig?: Partial<MoveFetchConfig>): stake;
|
818
831
|
onEventAddStake(func: (event: stake.AddStakeInstance, ctx: AptosContext) => void, fetchConfig?: Partial<MoveFetchConfig>): stake;
|
819
832
|
onEventAddStakeEvent(func: (event: stake.AddStakeEventInstance, ctx: AptosContext) => void, fetchConfig?: Partial<MoveFetchConfig>): stake;
|
820
833
|
onEventDistributeRewards(func: (event: stake.DistributeRewardsInstance, ctx: AptosContext) => void, fetchConfig?: Partial<MoveFetchConfig>): stake;
|
@@ -1235,6 +1248,10 @@ export declare namespace stake {
|
|
1235
1248
|
type_arguments: [];
|
1236
1249
|
}
|
1237
1250
|
namespace entry {
|
1251
|
+
function withdraw(client: Aptos, account: AptosAccount, request: {
|
1252
|
+
typeArguments: [];
|
1253
|
+
functionArguments: [bigint];
|
1254
|
+
}, options?: InputGenerateTransactionOptions): Promise<PendingTransactionResponse>;
|
1238
1255
|
function addStake(client: Aptos, account: AptosAccount, request: {
|
1239
1256
|
typeArguments: [];
|
1240
1257
|
functionArguments: [bigint];
|
@@ -1283,10 +1300,6 @@ export declare namespace stake {
|
|
1283
1300
|
typeArguments: [];
|
1284
1301
|
functionArguments: [MoveAddressType, string, string];
|
1285
1302
|
}, options?: InputGenerateTransactionOptions): Promise<PendingTransactionResponse>;
|
1286
|
-
function withdraw(client: Aptos, account: AptosAccount, request: {
|
1287
|
-
typeArguments: [];
|
1288
|
-
functionArguments: [bigint];
|
1289
|
-
}, options?: InputGenerateTransactionOptions): Promise<PendingTransactionResponse>;
|
1290
1303
|
}
|
1291
1304
|
namespace view {
|
1292
1305
|
function getCurrentEpochProposalCounts(client: Aptos, request: {
|
@@ -1323,6 +1336,10 @@ export declare namespace stake {
|
|
1323
1336
|
functionArguments: [MoveAddressType];
|
1324
1337
|
}, version?: bigint): Promise<[boolean]>;
|
1325
1338
|
}
|
1339
|
+
interface WithdrawPayload extends TypedFunctionPayload<[bigint]> {
|
1340
|
+
arguments_decoded: [bigint];
|
1341
|
+
type_arguments: [];
|
1342
|
+
}
|
1326
1343
|
interface AddStakePayload extends TypedFunctionPayload<[bigint]> {
|
1327
1344
|
arguments_decoded: [bigint];
|
1328
1345
|
type_arguments: [];
|
@@ -1371,10 +1388,6 @@ export declare namespace stake {
|
|
1371
1388
|
arguments_decoded: [MoveAddressType, string, string];
|
1372
1389
|
type_arguments: [];
|
1373
1390
|
}
|
1374
|
-
interface WithdrawPayload extends TypedFunctionPayload<[bigint]> {
|
1375
|
-
arguments_decoded: [bigint];
|
1376
|
-
type_arguments: [];
|
1377
|
-
}
|
1378
1391
|
}
|
1379
1392
|
export declare namespace table {
|
1380
1393
|
interface Box<T0> {
|
@@ -1821,6 +1834,7 @@ export declare class account extends AptosBaseProcessor {
|
|
1821
1834
|
onEntryRotateAuthenticationKey(func: (call: account.RotateAuthenticationKeyPayload, ctx: AptosContext) => void, filter?: CallFilter, fetchConfig?: Partial<MoveFetchConfig>): account;
|
1822
1835
|
onEntryRotateAuthenticationKeyCall(func: (call: account.RotateAuthenticationKeyCallPayload, ctx: AptosContext) => void, filter?: CallFilter, fetchConfig?: Partial<MoveFetchConfig>): account;
|
1823
1836
|
onEntryRotateAuthenticationKeyWithRotationCapability(func: (call: account.RotateAuthenticationKeyWithRotationCapabilityPayload, ctx: AptosContext) => void, filter?: CallFilter, fetchConfig?: Partial<MoveFetchConfig>): account;
|
1837
|
+
onEntrySetOriginatingAddress(func: (call: account.SetOriginatingAddressPayload, ctx: AptosContext) => void, filter?: CallFilter, fetchConfig?: Partial<MoveFetchConfig>): account;
|
1824
1838
|
onEventCoinRegister(func: (event: account.CoinRegisterInstance, ctx: AptosContext) => void, fetchConfig?: Partial<MoveFetchConfig>): account;
|
1825
1839
|
onEventCoinRegisterEvent(func: (event: account.CoinRegisterEventInstance, ctx: AptosContext) => void, fetchConfig?: Partial<MoveFetchConfig>): account;
|
1826
1840
|
onEventKeyRotation(func: (event: account.KeyRotationInstance, ctx: AptosContext) => void, fetchConfig?: Partial<MoveFetchConfig>): account;
|
@@ -1998,6 +2012,10 @@ export declare namespace account {
|
|
1998
2012
|
typeArguments: [];
|
1999
2013
|
functionArguments: [MoveAddressType, number, string, string];
|
2000
2014
|
}, options?: InputGenerateTransactionOptions): Promise<PendingTransactionResponse>;
|
2015
|
+
function setOriginatingAddress(client: Aptos, account: AptosAccount, request: {
|
2016
|
+
typeArguments: [];
|
2017
|
+
functionArguments: [];
|
2018
|
+
}, options?: InputGenerateTransactionOptions): Promise<PendingTransactionResponse>;
|
2001
2019
|
}
|
2002
2020
|
namespace view {
|
2003
2021
|
function existsAt(client: Aptos, request: {
|
@@ -2024,6 +2042,9 @@ export declare namespace account {
|
|
2024
2042
|
function isSignerCapabilityOffered(client: Aptos, request: {
|
2025
2043
|
functionArguments: [MoveAddressType];
|
2026
2044
|
}, version?: bigint): Promise<[boolean]>;
|
2045
|
+
function originatingAddress(client: Aptos, request: {
|
2046
|
+
functionArguments: [MoveAddressType];
|
2047
|
+
}, version?: bigint): Promise<[option.Option<MoveAddressType>]>;
|
2027
2048
|
}
|
2028
2049
|
interface OfferRotationCapabilityPayload extends TypedFunctionPayload<[string, number, string, MoveAddressType]> {
|
2029
2050
|
arguments_decoded: [string, number, string, MoveAddressType];
|
@@ -2068,6 +2089,10 @@ export declare namespace account {
|
|
2068
2089
|
arguments_decoded: [MoveAddressType, number, string, string];
|
2069
2090
|
type_arguments: [];
|
2070
2091
|
}
|
2092
|
+
interface SetOriginatingAddressPayload extends TypedFunctionPayload<[]> {
|
2093
|
+
arguments_decoded: [];
|
2094
|
+
type_arguments: [];
|
2095
|
+
}
|
2071
2096
|
}
|
2072
2097
|
export declare namespace ed25519 {
|
2073
2098
|
interface Signature {
|
@@ -2198,32 +2223,34 @@ export declare class vesting extends AptosBaseProcessor {
|
|
2198
2223
|
constructor(options: AptosBindOptions);
|
2199
2224
|
static DEFAULT_OPTIONS: AptosBindOptions;
|
2200
2225
|
static bind(options?: Partial<AptosBindOptions>): vesting;
|
2201
|
-
|
2226
|
+
onEntrySetBeneficiaryForOperator(func: (call: vesting.SetBeneficiaryForOperatorPayload, ctx: AptosContext) => void, filter?: CallFilter, fetchConfig?: Partial<MoveFetchConfig>): vesting;
|
2227
|
+
onEntryUpdateCommissionPercentage(func: (call: vesting.UpdateCommissionPercentagePayload, ctx: AptosContext) => void, filter?: CallFilter, fetchConfig?: Partial<MoveFetchConfig>): vesting;
|
2202
2228
|
onEntryDistribute(func: (call: vesting.DistributePayload, ctx: AptosContext) => void, filter?: CallFilter, fetchConfig?: Partial<MoveFetchConfig>): vesting;
|
2229
|
+
onEntryResetLockup(func: (call: vesting.ResetLockupPayload, ctx: AptosContext) => void, filter?: CallFilter, fetchConfig?: Partial<MoveFetchConfig>): vesting;
|
2230
|
+
onEntryUnlockRewards(func: (call: vesting.UnlockRewardsPayload, ctx: AptosContext) => void, filter?: CallFilter, fetchConfig?: Partial<MoveFetchConfig>): vesting;
|
2231
|
+
onEntryUpdateVoter(func: (call: vesting.UpdateVoterPayload, ctx: AptosContext) => void, filter?: CallFilter, fetchConfig?: Partial<MoveFetchConfig>): vesting;
|
2232
|
+
onEntryAdminWithdraw(func: (call: vesting.AdminWithdrawPayload, ctx: AptosContext) => void, filter?: CallFilter, fetchConfig?: Partial<MoveFetchConfig>): vesting;
|
2203
2233
|
onEntryDistributeMany(func: (call: vesting.DistributeManyPayload, ctx: AptosContext) => void, filter?: CallFilter, fetchConfig?: Partial<MoveFetchConfig>): vesting;
|
2204
2234
|
onEntryResetBeneficiary(func: (call: vesting.ResetBeneficiaryPayload, ctx: AptosContext) => void, filter?: CallFilter, fetchConfig?: Partial<MoveFetchConfig>): vesting;
|
2205
|
-
onEntryResetLockup(func: (call: vesting.ResetLockupPayload, ctx: AptosContext) => void, filter?: CallFilter, fetchConfig?: Partial<MoveFetchConfig>): vesting;
|
2206
2235
|
onEntrySetBeneficiary(func: (call: vesting.SetBeneficiaryPayload, ctx: AptosContext) => void, filter?: CallFilter, fetchConfig?: Partial<MoveFetchConfig>): vesting;
|
2207
|
-
onEntrySetBeneficiaryForOperator(func: (call: vesting.SetBeneficiaryForOperatorPayload, ctx: AptosContext) => void, filter?: CallFilter, fetchConfig?: Partial<MoveFetchConfig>): vesting;
|
2208
2236
|
onEntrySetBeneficiaryResetter(func: (call: vesting.SetBeneficiaryResetterPayload, ctx: AptosContext) => void, filter?: CallFilter, fetchConfig?: Partial<MoveFetchConfig>): vesting;
|
2209
2237
|
onEntrySetManagementRole(func: (call: vesting.SetManagementRolePayload, ctx: AptosContext) => void, filter?: CallFilter, fetchConfig?: Partial<MoveFetchConfig>): vesting;
|
2210
2238
|
onEntryTerminateVestingContract(func: (call: vesting.TerminateVestingContractPayload, ctx: AptosContext) => void, filter?: CallFilter, fetchConfig?: Partial<MoveFetchConfig>): vesting;
|
2211
|
-
onEntryUnlockRewards(func: (call: vesting.UnlockRewardsPayload, ctx: AptosContext) => void, filter?: CallFilter, fetchConfig?: Partial<MoveFetchConfig>): vesting;
|
2212
2239
|
onEntryUnlockRewardsMany(func: (call: vesting.UnlockRewardsManyPayload, ctx: AptosContext) => void, filter?: CallFilter, fetchConfig?: Partial<MoveFetchConfig>): vesting;
|
2213
|
-
onEntryUpdateCommissionPercentage(func: (call: vesting.UpdateCommissionPercentagePayload, ctx: AptosContext) => void, filter?: CallFilter, fetchConfig?: Partial<MoveFetchConfig>): vesting;
|
2214
2240
|
onEntryUpdateOperator(func: (call: vesting.UpdateOperatorPayload, ctx: AptosContext) => void, filter?: CallFilter, fetchConfig?: Partial<MoveFetchConfig>): vesting;
|
2215
2241
|
onEntryUpdateOperatorWithSameCommission(func: (call: vesting.UpdateOperatorWithSameCommissionPayload, ctx: AptosContext) => void, filter?: CallFilter, fetchConfig?: Partial<MoveFetchConfig>): vesting;
|
2216
|
-
onEntryUpdateVoter(func: (call: vesting.UpdateVoterPayload, ctx: AptosContext) => void, filter?: CallFilter, fetchConfig?: Partial<MoveFetchConfig>): vesting;
|
2217
2242
|
onEntryVest(func: (call: vesting.VestPayload, ctx: AptosContext) => void, filter?: CallFilter, fetchConfig?: Partial<MoveFetchConfig>): vesting;
|
2218
2243
|
onEntryVestMany(func: (call: vesting.VestManyPayload, ctx: AptosContext) => void, filter?: CallFilter, fetchConfig?: Partial<MoveFetchConfig>): vesting;
|
2219
|
-
onEventAdminWithdraw(func: (event: vesting.AdminWithdrawInstance, ctx: AptosContext) => void, fetchConfig?: Partial<MoveFetchConfig>): vesting;
|
2220
|
-
onEventAdminWithdrawEvent(func: (event: vesting.AdminWithdrawEventInstance, ctx: AptosContext) => void, fetchConfig?: Partial<MoveFetchConfig>): vesting;
|
2221
|
-
onEventCreateVestingContract(func: (event: vesting.CreateVestingContractInstance, ctx: AptosContext) => void, fetchConfig?: Partial<MoveFetchConfig>): vesting;
|
2222
|
-
onEventCreateVestingContractEvent(func: (event: vesting.CreateVestingContractEventInstance, ctx: AptosContext) => void, fetchConfig?: Partial<MoveFetchConfig>): vesting;
|
2223
2244
|
onEventDistribute(func: (event: vesting.DistributeInstance, ctx: AptosContext) => void, fetchConfig?: Partial<MoveFetchConfig>): vesting;
|
2224
2245
|
onEventDistributeEvent(func: (event: vesting.DistributeEventInstance, ctx: AptosContext) => void, fetchConfig?: Partial<MoveFetchConfig>): vesting;
|
2225
2246
|
onEventResetLockup(func: (event: vesting.ResetLockupInstance, ctx: AptosContext) => void, fetchConfig?: Partial<MoveFetchConfig>): vesting;
|
2226
2247
|
onEventResetLockupEvent(func: (event: vesting.ResetLockupEventInstance, ctx: AptosContext) => void, fetchConfig?: Partial<MoveFetchConfig>): vesting;
|
2248
|
+
onEventUpdateVoter(func: (event: vesting.UpdateVoterInstance, ctx: AptosContext) => void, fetchConfig?: Partial<MoveFetchConfig>): vesting;
|
2249
|
+
onEventUpdateVoterEvent(func: (event: vesting.UpdateVoterEventInstance, ctx: AptosContext) => void, fetchConfig?: Partial<MoveFetchConfig>): vesting;
|
2250
|
+
onEventAdminWithdraw(func: (event: vesting.AdminWithdrawInstance, ctx: AptosContext) => void, fetchConfig?: Partial<MoveFetchConfig>): vesting;
|
2251
|
+
onEventAdminWithdrawEvent(func: (event: vesting.AdminWithdrawEventInstance, ctx: AptosContext) => void, fetchConfig?: Partial<MoveFetchConfig>): vesting;
|
2252
|
+
onEventCreateVestingContract(func: (event: vesting.CreateVestingContractInstance, ctx: AptosContext) => void, fetchConfig?: Partial<MoveFetchConfig>): vesting;
|
2253
|
+
onEventCreateVestingContractEvent(func: (event: vesting.CreateVestingContractEventInstance, ctx: AptosContext) => void, fetchConfig?: Partial<MoveFetchConfig>): vesting;
|
2227
2254
|
onEventSetBeneficiary(func: (event: vesting.SetBeneficiaryInstance, ctx: AptosContext) => void, fetchConfig?: Partial<MoveFetchConfig>): vesting;
|
2228
2255
|
onEventSetBeneficiaryEvent(func: (event: vesting.SetBeneficiaryEventInstance, ctx: AptosContext) => void, fetchConfig?: Partial<MoveFetchConfig>): vesting;
|
2229
2256
|
onEventTerminate(func: (event: vesting.TerminateInstance, ctx: AptosContext) => void, fetchConfig?: Partial<MoveFetchConfig>): vesting;
|
@@ -2232,133 +2259,161 @@ export declare class vesting extends AptosBaseProcessor {
|
|
2232
2259
|
onEventUnlockRewardsEvent(func: (event: vesting.UnlockRewardsEventInstance, ctx: AptosContext) => void, fetchConfig?: Partial<MoveFetchConfig>): vesting;
|
2233
2260
|
onEventUpdateOperator(func: (event: vesting.UpdateOperatorInstance, ctx: AptosContext) => void, fetchConfig?: Partial<MoveFetchConfig>): vesting;
|
2234
2261
|
onEventUpdateOperatorEvent(func: (event: vesting.UpdateOperatorEventInstance, ctx: AptosContext) => void, fetchConfig?: Partial<MoveFetchConfig>): vesting;
|
2235
|
-
onEventUpdateVoter(func: (event: vesting.UpdateVoterInstance, ctx: AptosContext) => void, fetchConfig?: Partial<MoveFetchConfig>): vesting;
|
2236
|
-
onEventUpdateVoterEvent(func: (event: vesting.UpdateVoterEventInstance, ctx: AptosContext) => void, fetchConfig?: Partial<MoveFetchConfig>): vesting;
|
2237
2262
|
onEventVest(func: (event: vesting.VestInstance, ctx: AptosContext) => void, fetchConfig?: Partial<MoveFetchConfig>): vesting;
|
2238
2263
|
onEventVestEvent(func: (event: vesting.VestEventInstance, ctx: AptosContext) => void, fetchConfig?: Partial<MoveFetchConfig>): vesting;
|
2239
2264
|
}
|
2240
2265
|
export declare namespace vesting {
|
2241
|
-
interface
|
2242
|
-
vesting_contracts: MoveAddressType[];
|
2243
|
-
nonce: bigint;
|
2244
|
-
create_events: event.EventHandle<vesting.CreateVestingContractEvent>;
|
2245
|
-
}
|
2246
|
-
namespace AdminStore {
|
2247
|
-
const TYPE_QNAME = "0x1::vesting::AdminStore";
|
2248
|
-
function type(): TypeDescriptor<AdminStore>;
|
2249
|
-
}
|
2250
|
-
interface AdminWithdraw {
|
2266
|
+
interface Distribute {
|
2251
2267
|
admin: MoveAddressType;
|
2252
2268
|
vesting_contract_address: MoveAddressType;
|
2253
2269
|
amount: bigint;
|
2254
2270
|
}
|
2255
|
-
namespace
|
2256
|
-
const TYPE_QNAME = "0x1::vesting::
|
2257
|
-
function type(): TypeDescriptor<
|
2271
|
+
namespace Distribute {
|
2272
|
+
const TYPE_QNAME = "0x1::vesting::Distribute";
|
2273
|
+
function type(): TypeDescriptor<Distribute>;
|
2258
2274
|
}
|
2259
|
-
interface
|
2260
|
-
data_decoded:
|
2275
|
+
interface DistributeInstance extends TypedEventInstance<Distribute> {
|
2276
|
+
data_decoded: Distribute;
|
2261
2277
|
type_arguments: [];
|
2262
2278
|
}
|
2263
|
-
interface
|
2279
|
+
interface DistributeEvent {
|
2264
2280
|
admin: MoveAddressType;
|
2265
2281
|
vesting_contract_address: MoveAddressType;
|
2266
2282
|
amount: bigint;
|
2267
2283
|
}
|
2268
|
-
namespace
|
2269
|
-
const TYPE_QNAME = "0x1::vesting::
|
2270
|
-
function type(): TypeDescriptor<
|
2284
|
+
namespace DistributeEvent {
|
2285
|
+
const TYPE_QNAME = "0x1::vesting::DistributeEvent";
|
2286
|
+
function type(): TypeDescriptor<DistributeEvent>;
|
2271
2287
|
}
|
2272
|
-
interface
|
2273
|
-
data_decoded:
|
2288
|
+
interface DistributeEventInstance extends TypedEventInstance<DistributeEvent> {
|
2289
|
+
data_decoded: DistributeEvent;
|
2274
2290
|
type_arguments: [];
|
2275
2291
|
}
|
2276
|
-
interface
|
2277
|
-
|
2278
|
-
voter: MoveAddressType;
|
2279
|
-
grant_amount: bigint;
|
2280
|
-
withdrawal_address: MoveAddressType;
|
2292
|
+
interface ResetLockup {
|
2293
|
+
admin: MoveAddressType;
|
2281
2294
|
vesting_contract_address: MoveAddressType;
|
2282
2295
|
staking_pool_address: MoveAddressType;
|
2283
|
-
|
2296
|
+
new_lockup_expiration_secs: bigint;
|
2284
2297
|
}
|
2285
|
-
namespace
|
2286
|
-
const TYPE_QNAME = "0x1::vesting::
|
2287
|
-
function type(): TypeDescriptor<
|
2298
|
+
namespace ResetLockup {
|
2299
|
+
const TYPE_QNAME = "0x1::vesting::ResetLockup";
|
2300
|
+
function type(): TypeDescriptor<ResetLockup>;
|
2288
2301
|
}
|
2289
|
-
interface
|
2290
|
-
data_decoded:
|
2302
|
+
interface ResetLockupInstance extends TypedEventInstance<ResetLockup> {
|
2303
|
+
data_decoded: ResetLockup;
|
2291
2304
|
type_arguments: [];
|
2292
2305
|
}
|
2293
|
-
interface
|
2294
|
-
|
2295
|
-
voter: MoveAddressType;
|
2296
|
-
grant_amount: bigint;
|
2297
|
-
withdrawal_address: MoveAddressType;
|
2306
|
+
interface ResetLockupEvent {
|
2307
|
+
admin: MoveAddressType;
|
2298
2308
|
vesting_contract_address: MoveAddressType;
|
2299
2309
|
staking_pool_address: MoveAddressType;
|
2300
|
-
|
2310
|
+
new_lockup_expiration_secs: bigint;
|
2301
2311
|
}
|
2302
|
-
namespace
|
2303
|
-
const TYPE_QNAME = "0x1::vesting::
|
2304
|
-
function type(): TypeDescriptor<
|
2312
|
+
namespace ResetLockupEvent {
|
2313
|
+
const TYPE_QNAME = "0x1::vesting::ResetLockupEvent";
|
2314
|
+
function type(): TypeDescriptor<ResetLockupEvent>;
|
2305
2315
|
}
|
2306
|
-
interface
|
2307
|
-
data_decoded:
|
2316
|
+
interface ResetLockupEventInstance extends TypedEventInstance<ResetLockupEvent> {
|
2317
|
+
data_decoded: ResetLockupEvent;
|
2308
2318
|
type_arguments: [];
|
2309
2319
|
}
|
2310
|
-
interface
|
2320
|
+
interface UpdateVoter {
|
2311
2321
|
admin: MoveAddressType;
|
2312
2322
|
vesting_contract_address: MoveAddressType;
|
2313
|
-
|
2323
|
+
staking_pool_address: MoveAddressType;
|
2324
|
+
old_voter: MoveAddressType;
|
2325
|
+
new_voter: MoveAddressType;
|
2314
2326
|
}
|
2315
|
-
namespace
|
2316
|
-
const TYPE_QNAME = "0x1::vesting::
|
2317
|
-
function type(): TypeDescriptor<
|
2327
|
+
namespace UpdateVoter {
|
2328
|
+
const TYPE_QNAME = "0x1::vesting::UpdateVoter";
|
2329
|
+
function type(): TypeDescriptor<UpdateVoter>;
|
2318
2330
|
}
|
2319
|
-
interface
|
2320
|
-
data_decoded:
|
2331
|
+
interface UpdateVoterInstance extends TypedEventInstance<UpdateVoter> {
|
2332
|
+
data_decoded: UpdateVoter;
|
2321
2333
|
type_arguments: [];
|
2322
2334
|
}
|
2323
|
-
interface
|
2335
|
+
interface UpdateVoterEvent {
|
2336
|
+
admin: MoveAddressType;
|
2337
|
+
vesting_contract_address: MoveAddressType;
|
2338
|
+
staking_pool_address: MoveAddressType;
|
2339
|
+
old_voter: MoveAddressType;
|
2340
|
+
new_voter: MoveAddressType;
|
2341
|
+
}
|
2342
|
+
namespace UpdateVoterEvent {
|
2343
|
+
const TYPE_QNAME = "0x1::vesting::UpdateVoterEvent";
|
2344
|
+
function type(): TypeDescriptor<UpdateVoterEvent>;
|
2345
|
+
}
|
2346
|
+
interface UpdateVoterEventInstance extends TypedEventInstance<UpdateVoterEvent> {
|
2347
|
+
data_decoded: UpdateVoterEvent;
|
2348
|
+
type_arguments: [];
|
2349
|
+
}
|
2350
|
+
interface AdminStore {
|
2351
|
+
vesting_contracts: MoveAddressType[];
|
2352
|
+
nonce: bigint;
|
2353
|
+
create_events: event.EventHandle<vesting.CreateVestingContractEvent>;
|
2354
|
+
}
|
2355
|
+
namespace AdminStore {
|
2356
|
+
const TYPE_QNAME = "0x1::vesting::AdminStore";
|
2357
|
+
function type(): TypeDescriptor<AdminStore>;
|
2358
|
+
}
|
2359
|
+
interface AdminWithdraw {
|
2324
2360
|
admin: MoveAddressType;
|
2325
2361
|
vesting_contract_address: MoveAddressType;
|
2326
2362
|
amount: bigint;
|
2327
2363
|
}
|
2328
|
-
namespace
|
2329
|
-
const TYPE_QNAME = "0x1::vesting::
|
2330
|
-
function type(): TypeDescriptor<
|
2364
|
+
namespace AdminWithdraw {
|
2365
|
+
const TYPE_QNAME = "0x1::vesting::AdminWithdraw";
|
2366
|
+
function type(): TypeDescriptor<AdminWithdraw>;
|
2331
2367
|
}
|
2332
|
-
interface
|
2333
|
-
data_decoded:
|
2368
|
+
interface AdminWithdrawInstance extends TypedEventInstance<AdminWithdraw> {
|
2369
|
+
data_decoded: AdminWithdraw;
|
2334
2370
|
type_arguments: [];
|
2335
2371
|
}
|
2336
|
-
interface
|
2372
|
+
interface AdminWithdrawEvent {
|
2337
2373
|
admin: MoveAddressType;
|
2338
2374
|
vesting_contract_address: MoveAddressType;
|
2375
|
+
amount: bigint;
|
2376
|
+
}
|
2377
|
+
namespace AdminWithdrawEvent {
|
2378
|
+
const TYPE_QNAME = "0x1::vesting::AdminWithdrawEvent";
|
2379
|
+
function type(): TypeDescriptor<AdminWithdrawEvent>;
|
2380
|
+
}
|
2381
|
+
interface AdminWithdrawEventInstance extends TypedEventInstance<AdminWithdrawEvent> {
|
2382
|
+
data_decoded: AdminWithdrawEvent;
|
2383
|
+
type_arguments: [];
|
2384
|
+
}
|
2385
|
+
interface CreateVestingContract {
|
2386
|
+
operator: MoveAddressType;
|
2387
|
+
voter: MoveAddressType;
|
2388
|
+
grant_amount: bigint;
|
2389
|
+
withdrawal_address: MoveAddressType;
|
2390
|
+
vesting_contract_address: MoveAddressType;
|
2339
2391
|
staking_pool_address: MoveAddressType;
|
2340
|
-
|
2392
|
+
commission_percentage: bigint;
|
2341
2393
|
}
|
2342
|
-
namespace
|
2343
|
-
const TYPE_QNAME = "0x1::vesting::
|
2344
|
-
function type(): TypeDescriptor<
|
2394
|
+
namespace CreateVestingContract {
|
2395
|
+
const TYPE_QNAME = "0x1::vesting::CreateVestingContract";
|
2396
|
+
function type(): TypeDescriptor<CreateVestingContract>;
|
2345
2397
|
}
|
2346
|
-
interface
|
2347
|
-
data_decoded:
|
2398
|
+
interface CreateVestingContractInstance extends TypedEventInstance<CreateVestingContract> {
|
2399
|
+
data_decoded: CreateVestingContract;
|
2348
2400
|
type_arguments: [];
|
2349
2401
|
}
|
2350
|
-
interface
|
2351
|
-
|
2402
|
+
interface CreateVestingContractEvent {
|
2403
|
+
operator: MoveAddressType;
|
2404
|
+
voter: MoveAddressType;
|
2405
|
+
grant_amount: bigint;
|
2406
|
+
withdrawal_address: MoveAddressType;
|
2352
2407
|
vesting_contract_address: MoveAddressType;
|
2353
2408
|
staking_pool_address: MoveAddressType;
|
2354
|
-
|
2409
|
+
commission_percentage: bigint;
|
2355
2410
|
}
|
2356
|
-
namespace
|
2357
|
-
const TYPE_QNAME = "0x1::vesting::
|
2358
|
-
function type(): TypeDescriptor<
|
2411
|
+
namespace CreateVestingContractEvent {
|
2412
|
+
const TYPE_QNAME = "0x1::vesting::CreateVestingContractEvent";
|
2413
|
+
function type(): TypeDescriptor<CreateVestingContractEvent>;
|
2359
2414
|
}
|
2360
|
-
interface
|
2361
|
-
data_decoded:
|
2415
|
+
interface CreateVestingContractEventInstance extends TypedEventInstance<CreateVestingContractEvent> {
|
2416
|
+
data_decoded: CreateVestingContractEvent;
|
2362
2417
|
type_arguments: [];
|
2363
2418
|
}
|
2364
2419
|
interface SetBeneficiary {
|
@@ -2485,36 +2540,6 @@ export declare namespace vesting {
|
|
2485
2540
|
data_decoded: UpdateOperatorEvent;
|
2486
2541
|
type_arguments: [];
|
2487
2542
|
}
|
2488
|
-
interface UpdateVoter {
|
2489
|
-
admin: MoveAddressType;
|
2490
|
-
vesting_contract_address: MoveAddressType;
|
2491
|
-
staking_pool_address: MoveAddressType;
|
2492
|
-
old_voter: MoveAddressType;
|
2493
|
-
new_voter: MoveAddressType;
|
2494
|
-
}
|
2495
|
-
namespace UpdateVoter {
|
2496
|
-
const TYPE_QNAME = "0x1::vesting::UpdateVoter";
|
2497
|
-
function type(): TypeDescriptor<UpdateVoter>;
|
2498
|
-
}
|
2499
|
-
interface UpdateVoterInstance extends TypedEventInstance<UpdateVoter> {
|
2500
|
-
data_decoded: UpdateVoter;
|
2501
|
-
type_arguments: [];
|
2502
|
-
}
|
2503
|
-
interface UpdateVoterEvent {
|
2504
|
-
admin: MoveAddressType;
|
2505
|
-
vesting_contract_address: MoveAddressType;
|
2506
|
-
staking_pool_address: MoveAddressType;
|
2507
|
-
old_voter: MoveAddressType;
|
2508
|
-
new_voter: MoveAddressType;
|
2509
|
-
}
|
2510
|
-
namespace UpdateVoterEvent {
|
2511
|
-
const TYPE_QNAME = "0x1::vesting::UpdateVoterEvent";
|
2512
|
-
function type(): TypeDescriptor<UpdateVoterEvent>;
|
2513
|
-
}
|
2514
|
-
interface UpdateVoterEventInstance extends TypedEventInstance<UpdateVoterEvent> {
|
2515
|
-
data_decoded: UpdateVoterEvent;
|
2516
|
-
type_arguments: [];
|
2517
|
-
}
|
2518
2543
|
interface Vest {
|
2519
2544
|
admin: MoveAddressType;
|
2520
2545
|
vesting_contract_address: MoveAddressType;
|
@@ -2587,33 +2612,45 @@ export declare namespace vesting {
|
|
2587
2612
|
function type(): TypeDescriptor<VestingSchedule>;
|
2588
2613
|
}
|
2589
2614
|
namespace entry {
|
2590
|
-
function
|
2615
|
+
function setBeneficiaryForOperator(client: Aptos, account: AptosAccount, request: {
|
2591
2616
|
typeArguments: [];
|
2592
2617
|
functionArguments: [MoveAddressType];
|
2593
2618
|
}, options?: InputGenerateTransactionOptions): Promise<PendingTransactionResponse>;
|
2619
|
+
function updateCommissionPercentage(client: Aptos, account: AptosAccount, request: {
|
2620
|
+
typeArguments: [];
|
2621
|
+
functionArguments: [MoveAddressType, bigint];
|
2622
|
+
}, options?: InputGenerateTransactionOptions): Promise<PendingTransactionResponse>;
|
2594
2623
|
function distribute(client: Aptos, account: AptosAccount, request: {
|
2595
2624
|
typeArguments: [];
|
2596
2625
|
functionArguments: [MoveAddressType];
|
2597
2626
|
}, options?: InputGenerateTransactionOptions): Promise<PendingTransactionResponse>;
|
2598
|
-
function
|
2627
|
+
function resetLockup(client: Aptos, account: AptosAccount, request: {
|
2599
2628
|
typeArguments: [];
|
2600
|
-
functionArguments: [MoveAddressType
|
2629
|
+
functionArguments: [MoveAddressType];
|
2601
2630
|
}, options?: InputGenerateTransactionOptions): Promise<PendingTransactionResponse>;
|
2602
|
-
function
|
2631
|
+
function unlockRewards(client: Aptos, account: AptosAccount, request: {
|
2632
|
+
typeArguments: [];
|
2633
|
+
functionArguments: [MoveAddressType];
|
2634
|
+
}, options?: InputGenerateTransactionOptions): Promise<PendingTransactionResponse>;
|
2635
|
+
function updateVoter(client: Aptos, account: AptosAccount, request: {
|
2603
2636
|
typeArguments: [];
|
2604
2637
|
functionArguments: [MoveAddressType, MoveAddressType];
|
2605
2638
|
}, options?: InputGenerateTransactionOptions): Promise<PendingTransactionResponse>;
|
2606
|
-
function
|
2639
|
+
function adminWithdraw(client: Aptos, account: AptosAccount, request: {
|
2607
2640
|
typeArguments: [];
|
2608
2641
|
functionArguments: [MoveAddressType];
|
2609
2642
|
}, options?: InputGenerateTransactionOptions): Promise<PendingTransactionResponse>;
|
2610
|
-
function
|
2643
|
+
function distributeMany(client: Aptos, account: AptosAccount, request: {
|
2611
2644
|
typeArguments: [];
|
2612
|
-
functionArguments: [MoveAddressType
|
2645
|
+
functionArguments: [MoveAddressType[]];
|
2613
2646
|
}, options?: InputGenerateTransactionOptions): Promise<PendingTransactionResponse>;
|
2614
|
-
function
|
2647
|
+
function resetBeneficiary(client: Aptos, account: AptosAccount, request: {
|
2615
2648
|
typeArguments: [];
|
2616
|
-
functionArguments: [MoveAddressType];
|
2649
|
+
functionArguments: [MoveAddressType, MoveAddressType];
|
2650
|
+
}, options?: InputGenerateTransactionOptions): Promise<PendingTransactionResponse>;
|
2651
|
+
function setBeneficiary(client: Aptos, account: AptosAccount, request: {
|
2652
|
+
typeArguments: [];
|
2653
|
+
functionArguments: [MoveAddressType, MoveAddressType, MoveAddressType];
|
2617
2654
|
}, options?: InputGenerateTransactionOptions): Promise<PendingTransactionResponse>;
|
2618
2655
|
function setBeneficiaryResetter(client: Aptos, account: AptosAccount, request: {
|
2619
2656
|
typeArguments: [];
|
@@ -2627,18 +2664,10 @@ export declare namespace vesting {
|
|
2627
2664
|
typeArguments: [];
|
2628
2665
|
functionArguments: [MoveAddressType];
|
2629
2666
|
}, options?: InputGenerateTransactionOptions): Promise<PendingTransactionResponse>;
|
2630
|
-
function unlockRewards(client: Aptos, account: AptosAccount, request: {
|
2631
|
-
typeArguments: [];
|
2632
|
-
functionArguments: [MoveAddressType];
|
2633
|
-
}, options?: InputGenerateTransactionOptions): Promise<PendingTransactionResponse>;
|
2634
2667
|
function unlockRewardsMany(client: Aptos, account: AptosAccount, request: {
|
2635
2668
|
typeArguments: [];
|
2636
2669
|
functionArguments: [MoveAddressType[]];
|
2637
2670
|
}, options?: InputGenerateTransactionOptions): Promise<PendingTransactionResponse>;
|
2638
|
-
function updateCommissionPercentage(client: Aptos, account: AptosAccount, request: {
|
2639
|
-
typeArguments: [];
|
2640
|
-
functionArguments: [MoveAddressType, bigint];
|
2641
|
-
}, options?: InputGenerateTransactionOptions): Promise<PendingTransactionResponse>;
|
2642
2671
|
function updateOperator(client: Aptos, account: AptosAccount, request: {
|
2643
2672
|
typeArguments: [];
|
2644
2673
|
functionArguments: [MoveAddressType, MoveAddressType, bigint];
|
@@ -2647,10 +2676,6 @@ export declare namespace vesting {
|
|
2647
2676
|
typeArguments: [];
|
2648
2677
|
functionArguments: [MoveAddressType, MoveAddressType];
|
2649
2678
|
}, options?: InputGenerateTransactionOptions): Promise<PendingTransactionResponse>;
|
2650
|
-
function updateVoter(client: Aptos, account: AptosAccount, request: {
|
2651
|
-
typeArguments: [];
|
2652
|
-
functionArguments: [MoveAddressType, MoveAddressType];
|
2653
|
-
}, options?: InputGenerateTransactionOptions): Promise<PendingTransactionResponse>;
|
2654
2679
|
function vest(client: Aptos, account: AptosAccount, request: {
|
2655
2680
|
typeArguments: [];
|
2656
2681
|
functionArguments: [MoveAddressType];
|
@@ -2661,25 +2686,19 @@ export declare namespace vesting {
|
|
2661
2686
|
}, options?: InputGenerateTransactionOptions): Promise<PendingTransactionResponse>;
|
2662
2687
|
}
|
2663
2688
|
namespace view {
|
2664
|
-
function accumulatedRewards(client: Aptos, request: {
|
2665
|
-
functionArguments: [MoveAddressType, MoveAddressType];
|
2666
|
-
}, version?: bigint): Promise<[bigint]>;
|
2667
|
-
function beneficiary(client: Aptos, request: {
|
2668
|
-
functionArguments: [MoveAddressType, MoveAddressType];
|
2669
|
-
}, version?: bigint): Promise<[MoveAddressType]>;
|
2670
2689
|
function operator(client: Aptos, request: {
|
2671
2690
|
functionArguments: [MoveAddressType];
|
2672
2691
|
}, version?: bigint): Promise<[MoveAddressType]>;
|
2673
|
-
function
|
2674
|
-
functionArguments: [MoveAddressType];
|
2675
|
-
}, version?: bigint): Promise<[bigint]>;
|
2676
|
-
function periodDurationSecs(client: Aptos, request: {
|
2692
|
+
function voter(client: Aptos, request: {
|
2677
2693
|
functionArguments: [MoveAddressType];
|
2678
|
-
}, version?: bigint): Promise<[
|
2679
|
-
function
|
2694
|
+
}, version?: bigint): Promise<[MoveAddressType]>;
|
2695
|
+
function shareholder(client: Aptos, request: {
|
2696
|
+
functionArguments: [MoveAddressType, MoveAddressType];
|
2697
|
+
}, version?: bigint): Promise<[MoveAddressType]>;
|
2698
|
+
function operatorCommissionPercentage(client: Aptos, request: {
|
2680
2699
|
functionArguments: [MoveAddressType];
|
2681
2700
|
}, version?: bigint): Promise<[bigint]>;
|
2682
|
-
function
|
2701
|
+
function beneficiary(client: Aptos, request: {
|
2683
2702
|
functionArguments: [MoveAddressType, MoveAddressType];
|
2684
2703
|
}, version?: bigint): Promise<[MoveAddressType]>;
|
2685
2704
|
function shareholders(client: Aptos, request: {
|
@@ -2688,42 +2707,64 @@ export declare namespace vesting {
|
|
2688
2707
|
function stakePoolAddress(client: Aptos, request: {
|
2689
2708
|
functionArguments: [MoveAddressType];
|
2690
2709
|
}, version?: bigint): Promise<[MoveAddressType]>;
|
2710
|
+
function accumulatedRewards(client: Aptos, request: {
|
2711
|
+
functionArguments: [MoveAddressType, MoveAddressType];
|
2712
|
+
}, version?: bigint): Promise<[bigint]>;
|
2713
|
+
function vestingSchedule(client: Aptos, request: {
|
2714
|
+
functionArguments: [MoveAddressType];
|
2715
|
+
}, version?: bigint): Promise<[vesting.VestingSchedule]>;
|
2716
|
+
function periodDurationSecs(client: Aptos, request: {
|
2717
|
+
functionArguments: [MoveAddressType];
|
2718
|
+
}, version?: bigint): Promise<[bigint]>;
|
2719
|
+
function remainingGrant(client: Aptos, request: {
|
2720
|
+
functionArguments: [MoveAddressType];
|
2721
|
+
}, version?: bigint): Promise<[bigint]>;
|
2691
2722
|
function totalAccumulatedRewards(client: Aptos, request: {
|
2692
2723
|
functionArguments: [MoveAddressType];
|
2693
2724
|
}, version?: bigint): Promise<[bigint]>;
|
2694
2725
|
function vestingContracts(client: Aptos, request: {
|
2695
2726
|
functionArguments: [MoveAddressType];
|
2696
2727
|
}, version?: bigint): Promise<[MoveAddressType[]]>;
|
2697
|
-
function vestingSchedule(client: Aptos, request: {
|
2698
|
-
functionArguments: [MoveAddressType];
|
2699
|
-
}, version?: bigint): Promise<[vesting.VestingSchedule]>;
|
2700
2728
|
function vestingStartSecs(client: Aptos, request: {
|
2701
2729
|
functionArguments: [MoveAddressType];
|
2702
2730
|
}, version?: bigint): Promise<[bigint]>;
|
2703
|
-
function voter(client: Aptos, request: {
|
2704
|
-
functionArguments: [MoveAddressType];
|
2705
|
-
}, version?: bigint): Promise<[MoveAddressType]>;
|
2706
2731
|
}
|
2707
|
-
interface
|
2732
|
+
interface SetBeneficiaryForOperatorPayload extends TypedFunctionPayload<[MoveAddressType]> {
|
2708
2733
|
arguments_decoded: [MoveAddressType];
|
2709
2734
|
type_arguments: [];
|
2710
2735
|
}
|
2736
|
+
interface UpdateCommissionPercentagePayload extends TypedFunctionPayload<[MoveAddressType, bigint]> {
|
2737
|
+
arguments_decoded: [MoveAddressType, bigint];
|
2738
|
+
type_arguments: [];
|
2739
|
+
}
|
2711
2740
|
interface DistributePayload extends TypedFunctionPayload<[MoveAddressType]> {
|
2712
2741
|
arguments_decoded: [MoveAddressType];
|
2713
2742
|
type_arguments: [];
|
2714
2743
|
}
|
2715
|
-
interface
|
2716
|
-
arguments_decoded: [MoveAddressType
|
2744
|
+
interface ResetLockupPayload extends TypedFunctionPayload<[MoveAddressType]> {
|
2745
|
+
arguments_decoded: [MoveAddressType];
|
2717
2746
|
type_arguments: [];
|
2718
2747
|
}
|
2719
|
-
interface
|
2748
|
+
interface UnlockRewardsPayload extends TypedFunctionPayload<[MoveAddressType]> {
|
2749
|
+
arguments_decoded: [MoveAddressType];
|
2750
|
+
type_arguments: [];
|
2751
|
+
}
|
2752
|
+
interface UpdateVoterPayload extends TypedFunctionPayload<[MoveAddressType, MoveAddressType]> {
|
2720
2753
|
arguments_decoded: [MoveAddressType, MoveAddressType];
|
2721
2754
|
type_arguments: [];
|
2722
2755
|
}
|
2723
|
-
interface
|
2756
|
+
interface AdminWithdrawPayload extends TypedFunctionPayload<[MoveAddressType]> {
|
2724
2757
|
arguments_decoded: [MoveAddressType];
|
2725
2758
|
type_arguments: [];
|
2726
2759
|
}
|
2760
|
+
interface DistributeManyPayload extends TypedFunctionPayload<[MoveAddressType[]]> {
|
2761
|
+
arguments_decoded: [MoveAddressType[]];
|
2762
|
+
type_arguments: [];
|
2763
|
+
}
|
2764
|
+
interface ResetBeneficiaryPayload extends TypedFunctionPayload<[MoveAddressType, MoveAddressType]> {
|
2765
|
+
arguments_decoded: [MoveAddressType, MoveAddressType];
|
2766
|
+
type_arguments: [];
|
2767
|
+
}
|
2727
2768
|
interface SetBeneficiaryPayload extends TypedFunctionPayload<[
|
2728
2769
|
MoveAddressType,
|
2729
2770
|
MoveAddressType,
|
@@ -2732,10 +2773,6 @@ export declare namespace vesting {
|
|
2732
2773
|
arguments_decoded: [MoveAddressType, MoveAddressType, MoveAddressType];
|
2733
2774
|
type_arguments: [];
|
2734
2775
|
}
|
2735
|
-
interface SetBeneficiaryForOperatorPayload extends TypedFunctionPayload<[MoveAddressType]> {
|
2736
|
-
arguments_decoded: [MoveAddressType];
|
2737
|
-
type_arguments: [];
|
2738
|
-
}
|
2739
2776
|
interface SetBeneficiaryResetterPayload extends TypedFunctionPayload<[MoveAddressType, MoveAddressType]> {
|
2740
2777
|
arguments_decoded: [MoveAddressType, MoveAddressType];
|
2741
2778
|
type_arguments: [];
|
@@ -2748,18 +2785,10 @@ export declare namespace vesting {
|
|
2748
2785
|
arguments_decoded: [MoveAddressType];
|
2749
2786
|
type_arguments: [];
|
2750
2787
|
}
|
2751
|
-
interface UnlockRewardsPayload extends TypedFunctionPayload<[MoveAddressType]> {
|
2752
|
-
arguments_decoded: [MoveAddressType];
|
2753
|
-
type_arguments: [];
|
2754
|
-
}
|
2755
2788
|
interface UnlockRewardsManyPayload extends TypedFunctionPayload<[MoveAddressType[]]> {
|
2756
2789
|
arguments_decoded: [MoveAddressType[]];
|
2757
2790
|
type_arguments: [];
|
2758
2791
|
}
|
2759
|
-
interface UpdateCommissionPercentagePayload extends TypedFunctionPayload<[MoveAddressType, bigint]> {
|
2760
|
-
arguments_decoded: [MoveAddressType, bigint];
|
2761
|
-
type_arguments: [];
|
2762
|
-
}
|
2763
2792
|
interface UpdateOperatorPayload extends TypedFunctionPayload<[MoveAddressType, MoveAddressType, bigint]> {
|
2764
2793
|
arguments_decoded: [MoveAddressType, MoveAddressType, bigint];
|
2765
2794
|
type_arguments: [];
|
@@ -2768,10 +2797,6 @@ export declare namespace vesting {
|
|
2768
2797
|
arguments_decoded: [MoveAddressType, MoveAddressType];
|
2769
2798
|
type_arguments: [];
|
2770
2799
|
}
|
2771
|
-
interface UpdateVoterPayload extends TypedFunctionPayload<[MoveAddressType, MoveAddressType]> {
|
2772
|
-
arguments_decoded: [MoveAddressType, MoveAddressType];
|
2773
|
-
type_arguments: [];
|
2774
|
-
}
|
2775
2800
|
interface VestPayload extends TypedFunctionPayload<[MoveAddressType]> {
|
2776
2801
|
arguments_decoded: [MoveAddressType];
|
2777
2802
|
type_arguments: [];
|
@@ -2944,9 +2969,9 @@ export declare class aptos_coin extends AptosBaseProcessor {
|
|
2944
2969
|
constructor(options: AptosBindOptions);
|
2945
2970
|
static DEFAULT_OPTIONS: AptosBindOptions;
|
2946
2971
|
static bind(options?: Partial<AptosBindOptions>): aptos_coin;
|
2972
|
+
onEntryMint(func: (call: aptos_coin.MintPayload, ctx: AptosContext) => void, filter?: CallFilter, fetchConfig?: Partial<MoveFetchConfig>): aptos_coin;
|
2947
2973
|
onEntryClaimMintCapability(func: (call: aptos_coin.ClaimMintCapabilityPayload, ctx: AptosContext) => void, filter?: CallFilter, fetchConfig?: Partial<MoveFetchConfig>): aptos_coin;
|
2948
2974
|
onEntryDelegateMintCapability(func: (call: aptos_coin.DelegateMintCapabilityPayload, ctx: AptosContext) => void, filter?: CallFilter, fetchConfig?: Partial<MoveFetchConfig>): aptos_coin;
|
2949
|
-
onEntryMint(func: (call: aptos_coin.MintPayload, ctx: AptosContext) => void, filter?: CallFilter, fetchConfig?: Partial<MoveFetchConfig>): aptos_coin;
|
2950
2975
|
}
|
2951
2976
|
export declare namespace aptos_coin {
|
2952
2977
|
interface AptosCoin {
|
@@ -2978,6 +3003,10 @@ export declare namespace aptos_coin {
|
|
2978
3003
|
function type(): TypeDescriptor<MintCapStore>;
|
2979
3004
|
}
|
2980
3005
|
namespace entry {
|
3006
|
+
function mint(client: Aptos, account: AptosAccount, request: {
|
3007
|
+
typeArguments: [];
|
3008
|
+
functionArguments: [MoveAddressType, bigint];
|
3009
|
+
}, options?: InputGenerateTransactionOptions): Promise<PendingTransactionResponse>;
|
2981
3010
|
function claimMintCapability(client: Aptos, account: AptosAccount, request: {
|
2982
3011
|
typeArguments: [];
|
2983
3012
|
functionArguments: [];
|
@@ -2986,12 +3015,12 @@ export declare namespace aptos_coin {
|
|
2986
3015
|
typeArguments: [];
|
2987
3016
|
functionArguments: [MoveAddressType, MoveAddressType];
|
2988
3017
|
}, options?: InputGenerateTransactionOptions): Promise<PendingTransactionResponse>;
|
2989
|
-
function mint(client: Aptos, account: AptosAccount, request: {
|
2990
|
-
typeArguments: [];
|
2991
|
-
functionArguments: [MoveAddressType, bigint];
|
2992
|
-
}, options?: InputGenerateTransactionOptions): Promise<PendingTransactionResponse>;
|
2993
3018
|
}
|
2994
3019
|
namespace view { }
|
3020
|
+
interface MintPayload extends TypedFunctionPayload<[MoveAddressType, bigint]> {
|
3021
|
+
arguments_decoded: [MoveAddressType, bigint];
|
3022
|
+
type_arguments: [];
|
3023
|
+
}
|
2995
3024
|
interface ClaimMintCapabilityPayload extends TypedFunctionPayload<[]> {
|
2996
3025
|
arguments_decoded: [];
|
2997
3026
|
type_arguments: [];
|
@@ -3000,10 +3029,6 @@ export declare namespace aptos_coin {
|
|
3000
3029
|
arguments_decoded: [MoveAddressType, MoveAddressType];
|
3001
3030
|
type_arguments: [];
|
3002
3031
|
}
|
3003
|
-
interface MintPayload extends TypedFunctionPayload<[MoveAddressType, bigint]> {
|
3004
|
-
arguments_decoded: [MoveAddressType, bigint];
|
3005
|
-
type_arguments: [];
|
3006
|
-
}
|
3007
3032
|
}
|
3008
3033
|
export declare namespace aptos_hash {
|
3009
3034
|
namespace entry { }
|
@@ -3263,11 +3288,11 @@ export declare class managed_coin extends AptosBaseProcessor {
|
|
3263
3288
|
constructor(options: AptosBindOptions);
|
3264
3289
|
static DEFAULT_OPTIONS: AptosBindOptions;
|
3265
3290
|
static bind(options?: Partial<AptosBindOptions>): managed_coin;
|
3266
|
-
onEntryBurn(func: (call: managed_coin.BurnPayload, ctx: AptosContext) => void, filter?: CallFilter, fetchConfig?: Partial<MoveFetchConfig>): managed_coin;
|
3267
|
-
onEntryDestroyCaps(func: (call: managed_coin.DestroyCapsPayload, ctx: AptosContext) => void, filter?: CallFilter, fetchConfig?: Partial<MoveFetchConfig>): managed_coin;
|
3268
3291
|
onEntryInitialize(func: (call: managed_coin.InitializePayload, ctx: AptosContext) => void, filter?: CallFilter, fetchConfig?: Partial<MoveFetchConfig>): managed_coin;
|
3292
|
+
onEntryBurn(func: (call: managed_coin.BurnPayload, ctx: AptosContext) => void, filter?: CallFilter, fetchConfig?: Partial<MoveFetchConfig>): managed_coin;
|
3269
3293
|
onEntryMint(func: (call: managed_coin.MintPayload, ctx: AptosContext) => void, filter?: CallFilter, fetchConfig?: Partial<MoveFetchConfig>): managed_coin;
|
3270
3294
|
onEntryRegister(func: (call: managed_coin.RegisterPayload, ctx: AptosContext) => void, filter?: CallFilter, fetchConfig?: Partial<MoveFetchConfig>): managed_coin;
|
3295
|
+
onEntryDestroyCaps(func: (call: managed_coin.DestroyCapsPayload, ctx: AptosContext) => void, filter?: CallFilter, fetchConfig?: Partial<MoveFetchConfig>): managed_coin;
|
3271
3296
|
}
|
3272
3297
|
export declare namespace managed_coin {
|
3273
3298
|
interface Capabilities<T0> {
|
@@ -3280,18 +3305,14 @@ export declare namespace managed_coin {
|
|
3280
3305
|
function type<T0>(arg0?: TypeDescriptor<T0>): TypeDescriptor<Capabilities<T0>>;
|
3281
3306
|
}
|
3282
3307
|
namespace entry {
|
3283
|
-
function burn<T0 = any>(client: Aptos, account: AptosAccount, request: {
|
3284
|
-
typeArguments: [MoveStructId];
|
3285
|
-
functionArguments: [bigint];
|
3286
|
-
}, options?: InputGenerateTransactionOptions): Promise<PendingTransactionResponse>;
|
3287
|
-
function destroyCaps<T0 = any>(client: Aptos, account: AptosAccount, request: {
|
3288
|
-
typeArguments: [MoveStructId];
|
3289
|
-
functionArguments: [];
|
3290
|
-
}, options?: InputGenerateTransactionOptions): Promise<PendingTransactionResponse>;
|
3291
3308
|
function initialize<T0 = any>(client: Aptos, account: AptosAccount, request: {
|
3292
3309
|
typeArguments: [MoveStructId];
|
3293
3310
|
functionArguments: [string, string, number, boolean];
|
3294
3311
|
}, options?: InputGenerateTransactionOptions): Promise<PendingTransactionResponse>;
|
3312
|
+
function burn<T0 = any>(client: Aptos, account: AptosAccount, request: {
|
3313
|
+
typeArguments: [MoveStructId];
|
3314
|
+
functionArguments: [bigint];
|
3315
|
+
}, options?: InputGenerateTransactionOptions): Promise<PendingTransactionResponse>;
|
3295
3316
|
function mint<T0 = any>(client: Aptos, account: AptosAccount, request: {
|
3296
3317
|
typeArguments: [MoveStructId];
|
3297
3318
|
functionArguments: [MoveAddressType, bigint];
|
@@ -3300,20 +3321,20 @@ export declare namespace managed_coin {
|
|
3300
3321
|
typeArguments: [MoveStructId];
|
3301
3322
|
functionArguments: [];
|
3302
3323
|
}, options?: InputGenerateTransactionOptions): Promise<PendingTransactionResponse>;
|
3324
|
+
function destroyCaps<T0 = any>(client: Aptos, account: AptosAccount, request: {
|
3325
|
+
typeArguments: [MoveStructId];
|
3326
|
+
functionArguments: [];
|
3327
|
+
}, options?: InputGenerateTransactionOptions): Promise<PendingTransactionResponse>;
|
3303
3328
|
}
|
3304
3329
|
namespace view { }
|
3305
|
-
interface BurnPayload<T0 = any> extends TypedFunctionPayload<[bigint]> {
|
3306
|
-
arguments_decoded: [bigint];
|
3307
|
-
type_arguments: [string];
|
3308
|
-
}
|
3309
|
-
interface DestroyCapsPayload<T0 = any> extends TypedFunctionPayload<[]> {
|
3310
|
-
arguments_decoded: [];
|
3311
|
-
type_arguments: [string];
|
3312
|
-
}
|
3313
3330
|
interface InitializePayload<T0 = any> extends TypedFunctionPayload<[string, string, number, boolean]> {
|
3314
3331
|
arguments_decoded: [string, string, number, boolean];
|
3315
3332
|
type_arguments: [string];
|
3316
3333
|
}
|
3334
|
+
interface BurnPayload<T0 = any> extends TypedFunctionPayload<[bigint]> {
|
3335
|
+
arguments_decoded: [bigint];
|
3336
|
+
type_arguments: [string];
|
3337
|
+
}
|
3317
3338
|
interface MintPayload<T0 = any> extends TypedFunctionPayload<[MoveAddressType, bigint]> {
|
3318
3339
|
arguments_decoded: [MoveAddressType, bigint];
|
3319
3340
|
type_arguments: [string];
|
@@ -3322,6 +3343,10 @@ export declare namespace managed_coin {
|
|
3322
3343
|
arguments_decoded: [];
|
3323
3344
|
type_arguments: [string];
|
3324
3345
|
}
|
3346
|
+
interface DestroyCapsPayload<T0 = any> extends TypedFunctionPayload<[]> {
|
3347
|
+
arguments_decoded: [];
|
3348
|
+
type_arguments: [string];
|
3349
|
+
}
|
3325
3350
|
}
|
3326
3351
|
export declare namespace math_fixed64 {
|
3327
3352
|
namespace entry { }
|
@@ -3424,13 +3449,13 @@ export declare class aptos_account extends AptosBaseProcessor {
|
|
3424
3449
|
constructor(options: AptosBindOptions);
|
3425
3450
|
static DEFAULT_OPTIONS: AptosBindOptions;
|
3426
3451
|
static bind(options?: Partial<AptosBindOptions>): aptos_account;
|
3452
|
+
onEntryCreateAccount(func: (call: aptos_account.CreateAccountPayload, ctx: AptosContext) => void, filter?: CallFilter, fetchConfig?: Partial<MoveFetchConfig>): aptos_account;
|
3453
|
+
onEntryTransfer(func: (call: aptos_account.TransferPayload, ctx: AptosContext) => void, filter?: CallFilter, fetchConfig?: Partial<MoveFetchConfig>): aptos_account;
|
3427
3454
|
onEntryBatchTransfer(func: (call: aptos_account.BatchTransferPayload, ctx: AptosContext) => void, filter?: CallFilter, fetchConfig?: Partial<MoveFetchConfig>): aptos_account;
|
3428
3455
|
onEntryBatchTransferCoins(func: (call: aptos_account.BatchTransferCoinsPayload, ctx: AptosContext) => void, filter?: CallFilter, fetchConfig?: Partial<MoveFetchConfig>): aptos_account;
|
3429
3456
|
onEntryBatchTransferFungibleAssets(func: (call: aptos_account.BatchTransferFungibleAssetsPayload, ctx: AptosContext) => void, filter?: CallFilter, fetchConfig?: Partial<MoveFetchConfig>): aptos_account;
|
3430
|
-
onEntryCreateAccount(func: (call: aptos_account.CreateAccountPayload, ctx: AptosContext) => void, filter?: CallFilter, fetchConfig?: Partial<MoveFetchConfig>): aptos_account;
|
3431
3457
|
onEntryFungibleTransferOnly(func: (call: aptos_account.FungibleTransferOnlyPayload, ctx: AptosContext) => void, filter?: CallFilter, fetchConfig?: Partial<MoveFetchConfig>): aptos_account;
|
3432
3458
|
onEntrySetAllowDirectCoinTransfers(func: (call: aptos_account.SetAllowDirectCoinTransfersPayload, ctx: AptosContext) => void, filter?: CallFilter, fetchConfig?: Partial<MoveFetchConfig>): aptos_account;
|
3433
|
-
onEntryTransfer(func: (call: aptos_account.TransferPayload, ctx: AptosContext) => void, filter?: CallFilter, fetchConfig?: Partial<MoveFetchConfig>): aptos_account;
|
3434
3459
|
onEntryTransferCoins(func: (call: aptos_account.TransferCoinsPayload, ctx: AptosContext) => void, filter?: CallFilter, fetchConfig?: Partial<MoveFetchConfig>): aptos_account;
|
3435
3460
|
onEntryTransferFungibleAssets(func: (call: aptos_account.TransferFungibleAssetsPayload, ctx: AptosContext) => void, filter?: CallFilter, fetchConfig?: Partial<MoveFetchConfig>): aptos_account;
|
3436
3461
|
onEventDirectCoinTransferConfigUpdated(func: (event: aptos_account.DirectCoinTransferConfigUpdatedInstance, ctx: AptosContext) => void, fetchConfig?: Partial<MoveFetchConfig>): aptos_account;
|
@@ -3469,6 +3494,14 @@ export declare namespace aptos_account {
|
|
3469
3494
|
function type(): TypeDescriptor<DirectTransferConfig>;
|
3470
3495
|
}
|
3471
3496
|
namespace entry {
|
3497
|
+
function createAccount(client: Aptos, account: AptosAccount, request: {
|
3498
|
+
typeArguments: [];
|
3499
|
+
functionArguments: [MoveAddressType];
|
3500
|
+
}, options?: InputGenerateTransactionOptions): Promise<PendingTransactionResponse>;
|
3501
|
+
function transfer(client: Aptos, account: AptosAccount, request: {
|
3502
|
+
typeArguments: [];
|
3503
|
+
functionArguments: [MoveAddressType, bigint];
|
3504
|
+
}, options?: InputGenerateTransactionOptions): Promise<PendingTransactionResponse>;
|
3472
3505
|
function batchTransfer(client: Aptos, account: AptosAccount, request: {
|
3473
3506
|
typeArguments: [];
|
3474
3507
|
functionArguments: [MoveAddressType[], bigint[]];
|
@@ -3485,10 +3518,6 @@ export declare namespace aptos_account {
|
|
3485
3518
|
bigint[]
|
3486
3519
|
];
|
3487
3520
|
}, options?: InputGenerateTransactionOptions): Promise<PendingTransactionResponse>;
|
3488
|
-
function createAccount(client: Aptos, account: AptosAccount, request: {
|
3489
|
-
typeArguments: [];
|
3490
|
-
functionArguments: [MoveAddressType];
|
3491
|
-
}, options?: InputGenerateTransactionOptions): Promise<PendingTransactionResponse>;
|
3492
3521
|
function fungibleTransferOnly(client: Aptos, account: AptosAccount, request: {
|
3493
3522
|
typeArguments: [];
|
3494
3523
|
functionArguments: [MoveAddressType, bigint];
|
@@ -3497,10 +3526,6 @@ export declare namespace aptos_account {
|
|
3497
3526
|
typeArguments: [];
|
3498
3527
|
functionArguments: [boolean];
|
3499
3528
|
}, options?: InputGenerateTransactionOptions): Promise<PendingTransactionResponse>;
|
3500
|
-
function transfer(client: Aptos, account: AptosAccount, request: {
|
3501
|
-
typeArguments: [];
|
3502
|
-
functionArguments: [MoveAddressType, bigint];
|
3503
|
-
}, options?: InputGenerateTransactionOptions): Promise<PendingTransactionResponse>;
|
3504
3529
|
function transferCoins<T0 = any>(client: Aptos, account: AptosAccount, request: {
|
3505
3530
|
typeArguments: [MoveStructId];
|
3506
3531
|
functionArguments: [MoveAddressType, bigint];
|
@@ -3519,6 +3544,14 @@ export declare namespace aptos_account {
|
|
3519
3544
|
functionArguments: [MoveAddressType];
|
3520
3545
|
}, version?: bigint): Promise<[boolean]>;
|
3521
3546
|
}
|
3547
|
+
interface CreateAccountPayload extends TypedFunctionPayload<[MoveAddressType]> {
|
3548
|
+
arguments_decoded: [MoveAddressType];
|
3549
|
+
type_arguments: [];
|
3550
|
+
}
|
3551
|
+
interface TransferPayload extends TypedFunctionPayload<[MoveAddressType, bigint]> {
|
3552
|
+
arguments_decoded: [MoveAddressType, bigint];
|
3553
|
+
type_arguments: [];
|
3554
|
+
}
|
3522
3555
|
interface BatchTransferPayload extends TypedFunctionPayload<[MoveAddressType[], bigint[]]> {
|
3523
3556
|
arguments_decoded: [MoveAddressType[], bigint[]];
|
3524
3557
|
type_arguments: [];
|
@@ -3539,10 +3572,6 @@ export declare namespace aptos_account {
|
|
3539
3572
|
];
|
3540
3573
|
type_arguments: [];
|
3541
3574
|
}
|
3542
|
-
interface CreateAccountPayload extends TypedFunctionPayload<[MoveAddressType]> {
|
3543
|
-
arguments_decoded: [MoveAddressType];
|
3544
|
-
type_arguments: [];
|
3545
|
-
}
|
3546
3575
|
interface FungibleTransferOnlyPayload extends TypedFunctionPayload<[MoveAddressType, bigint]> {
|
3547
3576
|
arguments_decoded: [MoveAddressType, bigint];
|
3548
3577
|
type_arguments: [];
|
@@ -3551,10 +3580,6 @@ export declare namespace aptos_account {
|
|
3551
3580
|
arguments_decoded: [boolean];
|
3552
3581
|
type_arguments: [];
|
3553
3582
|
}
|
3554
|
-
interface TransferPayload extends TypedFunctionPayload<[MoveAddressType, bigint]> {
|
3555
|
-
arguments_decoded: [MoveAddressType, bigint];
|
3556
|
-
type_arguments: [];
|
3557
|
-
}
|
3558
3583
|
interface TransferCoinsPayload<T0 = any> extends TypedFunctionPayload<[MoveAddressType, bigint]> {
|
3559
3584
|
arguments_decoded: [MoveAddressType, bigint];
|
3560
3585
|
type_arguments: [string];
|
@@ -3580,20 +3605,6 @@ export declare namespace bn254_algebra {
|
|
3580
3605
|
const TYPE_QNAME = "0x1::bn254_algebra::FormatFq12LscLsb";
|
3581
3606
|
function type(): TypeDescriptor<FormatFq12LscLsb>;
|
3582
3607
|
}
|
3583
|
-
interface FormatFqLsb {
|
3584
|
-
dummy_field: boolean;
|
3585
|
-
}
|
3586
|
-
namespace FormatFqLsb {
|
3587
|
-
const TYPE_QNAME = "0x1::bn254_algebra::FormatFqLsb";
|
3588
|
-
function type(): TypeDescriptor<FormatFqLsb>;
|
3589
|
-
}
|
3590
|
-
interface FormatFqMsb {
|
3591
|
-
dummy_field: boolean;
|
3592
|
-
}
|
3593
|
-
namespace FormatFqMsb {
|
3594
|
-
const TYPE_QNAME = "0x1::bn254_algebra::FormatFqMsb";
|
3595
|
-
function type(): TypeDescriptor<FormatFqMsb>;
|
3596
|
-
}
|
3597
3608
|
interface FormatFrLsb {
|
3598
3609
|
dummy_field: boolean;
|
3599
3610
|
}
|
@@ -3643,13 +3654,6 @@ export declare namespace bn254_algebra {
|
|
3643
3654
|
const TYPE_QNAME = "0x1::bn254_algebra::FormatGt";
|
3644
3655
|
function type(): TypeDescriptor<FormatGt>;
|
3645
3656
|
}
|
3646
|
-
interface Fq {
|
3647
|
-
dummy_field: boolean;
|
3648
|
-
}
|
3649
|
-
namespace Fq {
|
3650
|
-
const TYPE_QNAME = "0x1::bn254_algebra::Fq";
|
3651
|
-
function type(): TypeDescriptor<Fq>;
|
3652
|
-
}
|
3653
3657
|
interface Fq12 {
|
3654
3658
|
dummy_field: boolean;
|
3655
3659
|
}
|
@@ -3685,6 +3689,27 @@ export declare namespace bn254_algebra {
|
|
3685
3689
|
const TYPE_QNAME = "0x1::bn254_algebra::Gt";
|
3686
3690
|
function type(): TypeDescriptor<Gt>;
|
3687
3691
|
}
|
3692
|
+
interface FormatFqLsb {
|
3693
|
+
dummy_field: boolean;
|
3694
|
+
}
|
3695
|
+
namespace FormatFqLsb {
|
3696
|
+
const TYPE_QNAME = "0x1::bn254_algebra::FormatFqLsb";
|
3697
|
+
function type(): TypeDescriptor<FormatFqLsb>;
|
3698
|
+
}
|
3699
|
+
interface FormatFqMsb {
|
3700
|
+
dummy_field: boolean;
|
3701
|
+
}
|
3702
|
+
namespace FormatFqMsb {
|
3703
|
+
const TYPE_QNAME = "0x1::bn254_algebra::FormatFqMsb";
|
3704
|
+
function type(): TypeDescriptor<FormatFqMsb>;
|
3705
|
+
}
|
3706
|
+
interface Fq {
|
3707
|
+
dummy_field: boolean;
|
3708
|
+
}
|
3709
|
+
namespace Fq {
|
3710
|
+
const TYPE_QNAME = "0x1::bn254_algebra::Fq";
|
3711
|
+
function type(): TypeDescriptor<Fq>;
|
3712
|
+
}
|
3688
3713
|
namespace entry { }
|
3689
3714
|
namespace view { }
|
3690
3715
|
}
|
@@ -3897,6 +3922,20 @@ export declare class fungible_asset extends AptosBaseProcessor {
|
|
3897
3922
|
onEventWithdrawEvent(func: (event: fungible_asset.WithdrawEventInstance, ctx: AptosContext) => void, fetchConfig?: Partial<MoveFetchConfig>): fungible_asset;
|
3898
3923
|
}
|
3899
3924
|
export declare namespace fungible_asset {
|
3925
|
+
interface TransferRef {
|
3926
|
+
metadata: object$.Object<fungible_asset.Metadata>;
|
3927
|
+
}
|
3928
|
+
namespace TransferRef {
|
3929
|
+
const TYPE_QNAME = "0x1::fungible_asset::TransferRef";
|
3930
|
+
function type(): TypeDescriptor<TransferRef>;
|
3931
|
+
}
|
3932
|
+
interface Untransferable {
|
3933
|
+
dummy_field: boolean;
|
3934
|
+
}
|
3935
|
+
namespace Untransferable {
|
3936
|
+
const TYPE_QNAME = "0x1::fungible_asset::Untransferable";
|
3937
|
+
function type(): TypeDescriptor<Untransferable>;
|
3938
|
+
}
|
3900
3939
|
interface BurnRef {
|
3901
3940
|
metadata: object$.Object<fungible_asset.Metadata>;
|
3902
3941
|
}
|
@@ -4039,20 +4078,6 @@ export declare namespace fungible_asset {
|
|
4039
4078
|
const TYPE_QNAME = "0x1::fungible_asset::Supply";
|
4040
4079
|
function type(): TypeDescriptor<Supply>;
|
4041
4080
|
}
|
4042
|
-
interface TransferRef {
|
4043
|
-
metadata: object$.Object<fungible_asset.Metadata>;
|
4044
|
-
}
|
4045
|
-
namespace TransferRef {
|
4046
|
-
const TYPE_QNAME = "0x1::fungible_asset::TransferRef";
|
4047
|
-
function type(): TypeDescriptor<TransferRef>;
|
4048
|
-
}
|
4049
|
-
interface Untransferable {
|
4050
|
-
dummy_field: boolean;
|
4051
|
-
}
|
4052
|
-
namespace Untransferable {
|
4053
|
-
const TYPE_QNAME = "0x1::fungible_asset::Untransferable";
|
4054
|
-
function type(): TypeDescriptor<Untransferable>;
|
4055
|
-
}
|
4056
4081
|
interface Withdraw {
|
4057
4082
|
store: MoveAddressType;
|
4058
4083
|
amount: bigint;
|
@@ -4087,10 +4112,18 @@ export declare namespace fungible_asset {
|
|
4087
4112
|
}, options?: InputGenerateTransactionOptions): Promise<PendingTransactionResponse>;
|
4088
4113
|
}
|
4089
4114
|
namespace view {
|
4090
|
-
function
|
4115
|
+
function isUntransferable<T0 = any>(client: Aptos, request: {
|
4091
4116
|
typeArguments: [MoveStructId];
|
4092
4117
|
functionArguments: [object$.Object<T0>];
|
4093
|
-
}, version?: bigint): Promise<[
|
4118
|
+
}, version?: bigint): Promise<[boolean]>;
|
4119
|
+
function name<T0 = any>(client: Aptos, request: {
|
4120
|
+
typeArguments: [MoveStructId];
|
4121
|
+
functionArguments: [object$.Object<T0>];
|
4122
|
+
}, version?: bigint): Promise<[string]>;
|
4123
|
+
function symbol$<T0 = any>(client: Aptos, request: {
|
4124
|
+
typeArguments: [MoveStructId];
|
4125
|
+
functionArguments: [object$.Object<T0>];
|
4126
|
+
}, version?: bigint): Promise<[string]>;
|
4094
4127
|
function decimals<T0 = any>(client: Aptos, request: {
|
4095
4128
|
typeArguments: [MoveStructId];
|
4096
4129
|
functionArguments: [object$.Object<T0>];
|
@@ -4099,6 +4132,18 @@ export declare namespace fungible_asset {
|
|
4099
4132
|
typeArguments: [MoveStructId];
|
4100
4133
|
functionArguments: [object$.Object<T0>];
|
4101
4134
|
}, version?: bigint): Promise<[string]>;
|
4135
|
+
function projectUri<T0 = any>(client: Aptos, request: {
|
4136
|
+
typeArguments: [MoveStructId];
|
4137
|
+
functionArguments: [object$.Object<T0>];
|
4138
|
+
}, version?: bigint): Promise<[string]>;
|
4139
|
+
function balance<T0 = any>(client: Aptos, request: {
|
4140
|
+
typeArguments: [MoveStructId];
|
4141
|
+
functionArguments: [object$.Object<T0>];
|
4142
|
+
}, version?: bigint): Promise<[bigint]>;
|
4143
|
+
function metadata<T0 = any>(client: Aptos, request: {
|
4144
|
+
typeArguments: [MoveStructId];
|
4145
|
+
functionArguments: [object$.Object<T0>];
|
4146
|
+
}, version?: bigint): Promise<[fungible_asset.Metadata]>;
|
4102
4147
|
function isBalanceAtLeast<T0 = any>(client: Aptos, request: {
|
4103
4148
|
typeArguments: [MoveStructId];
|
4104
4149
|
functionArguments: [object$.Object<T0>, bigint];
|
@@ -4111,26 +4156,10 @@ export declare namespace fungible_asset {
|
|
4111
4156
|
typeArguments: [MoveStructId];
|
4112
4157
|
functionArguments: [object$.Object<T0>];
|
4113
4158
|
}, version?: bigint): Promise<[boolean]>;
|
4114
|
-
function isUntransferable<T0 = any>(client: Aptos, request: {
|
4115
|
-
typeArguments: [MoveStructId];
|
4116
|
-
functionArguments: [object$.Object<T0>];
|
4117
|
-
}, version?: bigint): Promise<[boolean]>;
|
4118
4159
|
function maximum<T0 = any>(client: Aptos, request: {
|
4119
4160
|
typeArguments: [MoveStructId];
|
4120
4161
|
functionArguments: [object$.Object<T0>];
|
4121
4162
|
}, version?: bigint): Promise<[option.Option<bigint>]>;
|
4122
|
-
function metadata<T0 = any>(client: Aptos, request: {
|
4123
|
-
typeArguments: [MoveStructId];
|
4124
|
-
functionArguments: [object$.Object<T0>];
|
4125
|
-
}, version?: bigint): Promise<[fungible_asset.Metadata]>;
|
4126
|
-
function name<T0 = any>(client: Aptos, request: {
|
4127
|
-
typeArguments: [MoveStructId];
|
4128
|
-
functionArguments: [object$.Object<T0>];
|
4129
|
-
}, version?: bigint): Promise<[string]>;
|
4130
|
-
function projectUri<T0 = any>(client: Aptos, request: {
|
4131
|
-
typeArguments: [MoveStructId];
|
4132
|
-
functionArguments: [object$.Object<T0>];
|
4133
|
-
}, version?: bigint): Promise<[string]>;
|
4134
4163
|
function storeExists(client: Aptos, request: {
|
4135
4164
|
functionArguments: [MoveAddressType];
|
4136
4165
|
}, version?: bigint): Promise<[boolean]>;
|
@@ -4142,10 +4171,6 @@ export declare namespace fungible_asset {
|
|
4142
4171
|
typeArguments: [MoveStructId];
|
4143
4172
|
functionArguments: [object$.Object<T0>];
|
4144
4173
|
}, version?: bigint): Promise<[option.Option<bigint>]>;
|
4145
|
-
function symbol$<T0 = any>(client: Aptos, request: {
|
4146
|
-
typeArguments: [MoveStructId];
|
4147
|
-
functionArguments: [object$.Object<T0>];
|
4148
|
-
}, version?: bigint): Promise<[string]>;
|
4149
4174
|
}
|
4150
4175
|
interface TransferPayload<T0 = any> extends TypedFunctionPayload<[
|
4151
4176
|
object$.Object<T0>,
|
@@ -4194,31 +4219,39 @@ export declare class delegation_pool extends AptosBaseProcessor {
|
|
4194
4219
|
constructor(options: AptosBindOptions);
|
4195
4220
|
static DEFAULT_OPTIONS: AptosBindOptions;
|
4196
4221
|
static bind(options?: Partial<AptosBindOptions>): delegation_pool;
|
4222
|
+
onEntryWithdraw(func: (call: delegation_pool.WithdrawPayload, ctx: AptosContext) => void, filter?: CallFilter, fetchConfig?: Partial<MoveFetchConfig>): delegation_pool;
|
4223
|
+
onEntryCreateProposal(func: (call: delegation_pool.CreateProposalPayload, ctx: AptosContext) => void, filter?: CallFilter, fetchConfig?: Partial<MoveFetchConfig>): delegation_pool;
|
4224
|
+
onEntryVote(func: (call: delegation_pool.VotePayload, ctx: AptosContext) => void, filter?: CallFilter, fetchConfig?: Partial<MoveFetchConfig>): delegation_pool;
|
4197
4225
|
onEntryAddStake(func: (call: delegation_pool.AddStakePayload, ctx: AptosContext) => void, filter?: CallFilter, fetchConfig?: Partial<MoveFetchConfig>): delegation_pool;
|
4226
|
+
onEntryReactivateStake(func: (call: delegation_pool.ReactivateStakePayload, ctx: AptosContext) => void, filter?: CallFilter, fetchConfig?: Partial<MoveFetchConfig>): delegation_pool;
|
4227
|
+
onEntrySetDelegatedVoter(func: (call: delegation_pool.SetDelegatedVoterPayload, ctx: AptosContext) => void, filter?: CallFilter, fetchConfig?: Partial<MoveFetchConfig>): delegation_pool;
|
4228
|
+
onEntrySetOperator(func: (call: delegation_pool.SetOperatorPayload, ctx: AptosContext) => void, filter?: CallFilter, fetchConfig?: Partial<MoveFetchConfig>): delegation_pool;
|
4229
|
+
onEntryUnlock(func: (call: delegation_pool.UnlockPayload, ctx: AptosContext) => void, filter?: CallFilter, fetchConfig?: Partial<MoveFetchConfig>): delegation_pool;
|
4198
4230
|
onEntryAllowlistDelegator(func: (call: delegation_pool.AllowlistDelegatorPayload, ctx: AptosContext) => void, filter?: CallFilter, fetchConfig?: Partial<MoveFetchConfig>): delegation_pool;
|
4199
|
-
onEntryCreateProposal(func: (call: delegation_pool.CreateProposalPayload, ctx: AptosContext) => void, filter?: CallFilter, fetchConfig?: Partial<MoveFetchConfig>): delegation_pool;
|
4200
4231
|
onEntryDelegateVotingPower(func: (call: delegation_pool.DelegateVotingPowerPayload, ctx: AptosContext) => void, filter?: CallFilter, fetchConfig?: Partial<MoveFetchConfig>): delegation_pool;
|
4201
4232
|
onEntryDisableDelegatorsAllowlisting(func: (call: delegation_pool.DisableDelegatorsAllowlistingPayload, ctx: AptosContext) => void, filter?: CallFilter, fetchConfig?: Partial<MoveFetchConfig>): delegation_pool;
|
4202
4233
|
onEntryEnableDelegatorsAllowlisting(func: (call: delegation_pool.EnableDelegatorsAllowlistingPayload, ctx: AptosContext) => void, filter?: CallFilter, fetchConfig?: Partial<MoveFetchConfig>): delegation_pool;
|
4203
4234
|
onEntryEnablePartialGovernanceVoting(func: (call: delegation_pool.EnablePartialGovernanceVotingPayload, ctx: AptosContext) => void, filter?: CallFilter, fetchConfig?: Partial<MoveFetchConfig>): delegation_pool;
|
4204
4235
|
onEntryEvictDelegator(func: (call: delegation_pool.EvictDelegatorPayload, ctx: AptosContext) => void, filter?: CallFilter, fetchConfig?: Partial<MoveFetchConfig>): delegation_pool;
|
4205
4236
|
onEntryInitializeDelegationPool(func: (call: delegation_pool.InitializeDelegationPoolPayload, ctx: AptosContext) => void, filter?: CallFilter, fetchConfig?: Partial<MoveFetchConfig>): delegation_pool;
|
4206
|
-
onEntryReactivateStake(func: (call: delegation_pool.ReactivateStakePayload, ctx: AptosContext) => void, filter?: CallFilter, fetchConfig?: Partial<MoveFetchConfig>): delegation_pool;
|
4207
4237
|
onEntryRemoveDelegatorFromAllowlist(func: (call: delegation_pool.RemoveDelegatorFromAllowlistPayload, ctx: AptosContext) => void, filter?: CallFilter, fetchConfig?: Partial<MoveFetchConfig>): delegation_pool;
|
4208
4238
|
onEntrySetBeneficiaryForOperator(func: (call: delegation_pool.SetBeneficiaryForOperatorPayload, ctx: AptosContext) => void, filter?: CallFilter, fetchConfig?: Partial<MoveFetchConfig>): delegation_pool;
|
4209
|
-
onEntrySetDelegatedVoter(func: (call: delegation_pool.SetDelegatedVoterPayload, ctx: AptosContext) => void, filter?: CallFilter, fetchConfig?: Partial<MoveFetchConfig>): delegation_pool;
|
4210
|
-
onEntrySetOperator(func: (call: delegation_pool.SetOperatorPayload, ctx: AptosContext) => void, filter?: CallFilter, fetchConfig?: Partial<MoveFetchConfig>): delegation_pool;
|
4211
4239
|
onEntrySynchronizeDelegationPool(func: (call: delegation_pool.SynchronizeDelegationPoolPayload, ctx: AptosContext) => void, filter?: CallFilter, fetchConfig?: Partial<MoveFetchConfig>): delegation_pool;
|
4212
|
-
onEntryUnlock(func: (call: delegation_pool.UnlockPayload, ctx: AptosContext) => void, filter?: CallFilter, fetchConfig?: Partial<MoveFetchConfig>): delegation_pool;
|
4213
4240
|
onEntryUpdateCommissionPercentage(func: (call: delegation_pool.UpdateCommissionPercentagePayload, ctx: AptosContext) => void, filter?: CallFilter, fetchConfig?: Partial<MoveFetchConfig>): delegation_pool;
|
4214
|
-
|
4215
|
-
|
4241
|
+
onEventCreateProposal(func: (event: delegation_pool.CreateProposalInstance, ctx: AptosContext) => void, fetchConfig?: Partial<MoveFetchConfig>): delegation_pool;
|
4242
|
+
onEventCreateProposalEvent(func: (event: delegation_pool.CreateProposalEventInstance, ctx: AptosContext) => void, fetchConfig?: Partial<MoveFetchConfig>): delegation_pool;
|
4243
|
+
onEventVote(func: (event: delegation_pool.VoteInstance, ctx: AptosContext) => void, fetchConfig?: Partial<MoveFetchConfig>): delegation_pool;
|
4244
|
+
onEventVoteEvent(func: (event: delegation_pool.VoteEventInstance, ctx: AptosContext) => void, fetchConfig?: Partial<MoveFetchConfig>): delegation_pool;
|
4216
4245
|
onEventAddStake(func: (event: delegation_pool.AddStakeInstance, ctx: AptosContext) => void, fetchConfig?: Partial<MoveFetchConfig>): delegation_pool;
|
4217
4246
|
onEventAddStakeEvent(func: (event: delegation_pool.AddStakeEventInstance, ctx: AptosContext) => void, fetchConfig?: Partial<MoveFetchConfig>): delegation_pool;
|
4247
|
+
onEventReactivateStake(func: (event: delegation_pool.ReactivateStakeInstance, ctx: AptosContext) => void, fetchConfig?: Partial<MoveFetchConfig>): delegation_pool;
|
4248
|
+
onEventReactivateStakeEvent(func: (event: delegation_pool.ReactivateStakeEventInstance, ctx: AptosContext) => void, fetchConfig?: Partial<MoveFetchConfig>): delegation_pool;
|
4249
|
+
onEventUnlockStake(func: (event: delegation_pool.UnlockStakeInstance, ctx: AptosContext) => void, fetchConfig?: Partial<MoveFetchConfig>): delegation_pool;
|
4250
|
+
onEventUnlockStakeEvent(func: (event: delegation_pool.UnlockStakeEventInstance, ctx: AptosContext) => void, fetchConfig?: Partial<MoveFetchConfig>): delegation_pool;
|
4251
|
+
onEventWithdrawStake(func: (event: delegation_pool.WithdrawStakeInstance, ctx: AptosContext) => void, fetchConfig?: Partial<MoveFetchConfig>): delegation_pool;
|
4252
|
+
onEventWithdrawStakeEvent(func: (event: delegation_pool.WithdrawStakeEventInstance, ctx: AptosContext) => void, fetchConfig?: Partial<MoveFetchConfig>): delegation_pool;
|
4218
4253
|
onEventAllowlistDelegator(func: (event: delegation_pool.AllowlistDelegatorInstance, ctx: AptosContext) => void, fetchConfig?: Partial<MoveFetchConfig>): delegation_pool;
|
4219
4254
|
onEventCommissionPercentageChange(func: (event: delegation_pool.CommissionPercentageChangeInstance, ctx: AptosContext) => void, fetchConfig?: Partial<MoveFetchConfig>): delegation_pool;
|
4220
|
-
onEventCreateProposal(func: (event: delegation_pool.CreateProposalInstance, ctx: AptosContext) => void, fetchConfig?: Partial<MoveFetchConfig>): delegation_pool;
|
4221
|
-
onEventCreateProposalEvent(func: (event: delegation_pool.CreateProposalEventInstance, ctx: AptosContext) => void, fetchConfig?: Partial<MoveFetchConfig>): delegation_pool;
|
4222
4255
|
onEventDelegateVotingPower(func: (event: delegation_pool.DelegateVotingPowerInstance, ctx: AptosContext) => void, fetchConfig?: Partial<MoveFetchConfig>): delegation_pool;
|
4223
4256
|
onEventDelegateVotingPowerEvent(func: (event: delegation_pool.DelegateVotingPowerEventInstance, ctx: AptosContext) => void, fetchConfig?: Partial<MoveFetchConfig>): delegation_pool;
|
4224
4257
|
onEventDisableDelegatorsAllowlisting(func: (event: delegation_pool.DisableDelegatorsAllowlistingInstance, ctx: AptosContext) => void, fetchConfig?: Partial<MoveFetchConfig>): delegation_pool;
|
@@ -4226,31 +4259,79 @@ export declare class delegation_pool extends AptosBaseProcessor {
|
|
4226
4259
|
onEventDistributeCommissionEvent(func: (event: delegation_pool.DistributeCommissionEventInstance, ctx: AptosContext) => void, fetchConfig?: Partial<MoveFetchConfig>): delegation_pool;
|
4227
4260
|
onEventEnableDelegatorsAllowlisting(func: (event: delegation_pool.EnableDelegatorsAllowlistingInstance, ctx: AptosContext) => void, fetchConfig?: Partial<MoveFetchConfig>): delegation_pool;
|
4228
4261
|
onEventEvictDelegator(func: (event: delegation_pool.EvictDelegatorInstance, ctx: AptosContext) => void, fetchConfig?: Partial<MoveFetchConfig>): delegation_pool;
|
4229
|
-
onEventReactivateStake(func: (event: delegation_pool.ReactivateStakeInstance, ctx: AptosContext) => void, fetchConfig?: Partial<MoveFetchConfig>): delegation_pool;
|
4230
|
-
onEventReactivateStakeEvent(func: (event: delegation_pool.ReactivateStakeEventInstance, ctx: AptosContext) => void, fetchConfig?: Partial<MoveFetchConfig>): delegation_pool;
|
4231
4262
|
onEventRemoveDelegatorFromAllowlist(func: (event: delegation_pool.RemoveDelegatorFromAllowlistInstance, ctx: AptosContext) => void, fetchConfig?: Partial<MoveFetchConfig>): delegation_pool;
|
4232
4263
|
onEventSetBeneficiaryForOperator(func: (event: delegation_pool.SetBeneficiaryForOperatorInstance, ctx: AptosContext) => void, fetchConfig?: Partial<MoveFetchConfig>): delegation_pool;
|
4233
|
-
onEventUnlockStake(func: (event: delegation_pool.UnlockStakeInstance, ctx: AptosContext) => void, fetchConfig?: Partial<MoveFetchConfig>): delegation_pool;
|
4234
|
-
onEventUnlockStakeEvent(func: (event: delegation_pool.UnlockStakeEventInstance, ctx: AptosContext) => void, fetchConfig?: Partial<MoveFetchConfig>): delegation_pool;
|
4235
|
-
onEventVote(func: (event: delegation_pool.VoteInstance, ctx: AptosContext) => void, fetchConfig?: Partial<MoveFetchConfig>): delegation_pool;
|
4236
|
-
onEventVoteEvent(func: (event: delegation_pool.VoteEventInstance, ctx: AptosContext) => void, fetchConfig?: Partial<MoveFetchConfig>): delegation_pool;
|
4237
|
-
onEventWithdrawStake(func: (event: delegation_pool.WithdrawStakeInstance, ctx: AptosContext) => void, fetchConfig?: Partial<MoveFetchConfig>): delegation_pool;
|
4238
|
-
onEventWithdrawStakeEvent(func: (event: delegation_pool.WithdrawStakeEventInstance, ctx: AptosContext) => void, fetchConfig?: Partial<MoveFetchConfig>): delegation_pool;
|
4239
4264
|
}
|
4240
4265
|
export declare namespace delegation_pool {
|
4241
|
-
interface
|
4242
|
-
|
4243
|
-
|
4244
|
-
|
4245
|
-
add_stake_fee: bigint;
|
4266
|
+
interface CreateProposal {
|
4267
|
+
proposal_id: bigint;
|
4268
|
+
voter: MoveAddressType;
|
4269
|
+
delegation_pool: MoveAddressType;
|
4246
4270
|
}
|
4247
|
-
namespace
|
4248
|
-
const TYPE_QNAME = "0x1::delegation_pool::
|
4249
|
-
function type(): TypeDescriptor<
|
4271
|
+
namespace CreateProposal {
|
4272
|
+
const TYPE_QNAME = "0x1::delegation_pool::CreateProposal";
|
4273
|
+
function type(): TypeDescriptor<CreateProposal>;
|
4250
4274
|
}
|
4251
|
-
interface
|
4252
|
-
data_decoded:
|
4253
|
-
type_arguments: [];
|
4275
|
+
interface CreateProposalInstance extends TypedEventInstance<CreateProposal> {
|
4276
|
+
data_decoded: CreateProposal;
|
4277
|
+
type_arguments: [];
|
4278
|
+
}
|
4279
|
+
interface CreateProposalEvent {
|
4280
|
+
proposal_id: bigint;
|
4281
|
+
voter: MoveAddressType;
|
4282
|
+
delegation_pool: MoveAddressType;
|
4283
|
+
}
|
4284
|
+
namespace CreateProposalEvent {
|
4285
|
+
const TYPE_QNAME = "0x1::delegation_pool::CreateProposalEvent";
|
4286
|
+
function type(): TypeDescriptor<CreateProposalEvent>;
|
4287
|
+
}
|
4288
|
+
interface CreateProposalEventInstance extends TypedEventInstance<CreateProposalEvent> {
|
4289
|
+
data_decoded: CreateProposalEvent;
|
4290
|
+
type_arguments: [];
|
4291
|
+
}
|
4292
|
+
interface Vote {
|
4293
|
+
voter: MoveAddressType;
|
4294
|
+
proposal_id: bigint;
|
4295
|
+
delegation_pool: MoveAddressType;
|
4296
|
+
num_votes: bigint;
|
4297
|
+
should_pass: boolean;
|
4298
|
+
}
|
4299
|
+
namespace Vote {
|
4300
|
+
const TYPE_QNAME = "0x1::delegation_pool::Vote";
|
4301
|
+
function type(): TypeDescriptor<Vote>;
|
4302
|
+
}
|
4303
|
+
interface VoteInstance extends TypedEventInstance<Vote> {
|
4304
|
+
data_decoded: Vote;
|
4305
|
+
type_arguments: [];
|
4306
|
+
}
|
4307
|
+
interface VoteEvent {
|
4308
|
+
voter: MoveAddressType;
|
4309
|
+
proposal_id: bigint;
|
4310
|
+
delegation_pool: MoveAddressType;
|
4311
|
+
num_votes: bigint;
|
4312
|
+
should_pass: boolean;
|
4313
|
+
}
|
4314
|
+
namespace VoteEvent {
|
4315
|
+
const TYPE_QNAME = "0x1::delegation_pool::VoteEvent";
|
4316
|
+
function type(): TypeDescriptor<VoteEvent>;
|
4317
|
+
}
|
4318
|
+
interface VoteEventInstance extends TypedEventInstance<VoteEvent> {
|
4319
|
+
data_decoded: VoteEvent;
|
4320
|
+
type_arguments: [];
|
4321
|
+
}
|
4322
|
+
interface AddStake {
|
4323
|
+
pool_address: MoveAddressType;
|
4324
|
+
delegator_address: MoveAddressType;
|
4325
|
+
amount_added: bigint;
|
4326
|
+
add_stake_fee: bigint;
|
4327
|
+
}
|
4328
|
+
namespace AddStake {
|
4329
|
+
const TYPE_QNAME = "0x1::delegation_pool::AddStake";
|
4330
|
+
function type(): TypeDescriptor<AddStake>;
|
4331
|
+
}
|
4332
|
+
interface AddStakeInstance extends TypedEventInstance<AddStake> {
|
4333
|
+
data_decoded: AddStake;
|
4334
|
+
type_arguments: [];
|
4254
4335
|
}
|
4255
4336
|
interface AddStakeEvent {
|
4256
4337
|
pool_address: MoveAddressType;
|
@@ -4266,6 +4347,84 @@ export declare namespace delegation_pool {
|
|
4266
4347
|
data_decoded: AddStakeEvent;
|
4267
4348
|
type_arguments: [];
|
4268
4349
|
}
|
4350
|
+
interface ReactivateStake {
|
4351
|
+
pool_address: MoveAddressType;
|
4352
|
+
delegator_address: MoveAddressType;
|
4353
|
+
amount_reactivated: bigint;
|
4354
|
+
}
|
4355
|
+
namespace ReactivateStake {
|
4356
|
+
const TYPE_QNAME = "0x1::delegation_pool::ReactivateStake";
|
4357
|
+
function type(): TypeDescriptor<ReactivateStake>;
|
4358
|
+
}
|
4359
|
+
interface ReactivateStakeInstance extends TypedEventInstance<ReactivateStake> {
|
4360
|
+
data_decoded: ReactivateStake;
|
4361
|
+
type_arguments: [];
|
4362
|
+
}
|
4363
|
+
interface ReactivateStakeEvent {
|
4364
|
+
pool_address: MoveAddressType;
|
4365
|
+
delegator_address: MoveAddressType;
|
4366
|
+
amount_reactivated: bigint;
|
4367
|
+
}
|
4368
|
+
namespace ReactivateStakeEvent {
|
4369
|
+
const TYPE_QNAME = "0x1::delegation_pool::ReactivateStakeEvent";
|
4370
|
+
function type(): TypeDescriptor<ReactivateStakeEvent>;
|
4371
|
+
}
|
4372
|
+
interface ReactivateStakeEventInstance extends TypedEventInstance<ReactivateStakeEvent> {
|
4373
|
+
data_decoded: ReactivateStakeEvent;
|
4374
|
+
type_arguments: [];
|
4375
|
+
}
|
4376
|
+
interface UnlockStake {
|
4377
|
+
pool_address: MoveAddressType;
|
4378
|
+
delegator_address: MoveAddressType;
|
4379
|
+
amount_unlocked: bigint;
|
4380
|
+
}
|
4381
|
+
namespace UnlockStake {
|
4382
|
+
const TYPE_QNAME = "0x1::delegation_pool::UnlockStake";
|
4383
|
+
function type(): TypeDescriptor<UnlockStake>;
|
4384
|
+
}
|
4385
|
+
interface UnlockStakeInstance extends TypedEventInstance<UnlockStake> {
|
4386
|
+
data_decoded: UnlockStake;
|
4387
|
+
type_arguments: [];
|
4388
|
+
}
|
4389
|
+
interface UnlockStakeEvent {
|
4390
|
+
pool_address: MoveAddressType;
|
4391
|
+
delegator_address: MoveAddressType;
|
4392
|
+
amount_unlocked: bigint;
|
4393
|
+
}
|
4394
|
+
namespace UnlockStakeEvent {
|
4395
|
+
const TYPE_QNAME = "0x1::delegation_pool::UnlockStakeEvent";
|
4396
|
+
function type(): TypeDescriptor<UnlockStakeEvent>;
|
4397
|
+
}
|
4398
|
+
interface UnlockStakeEventInstance extends TypedEventInstance<UnlockStakeEvent> {
|
4399
|
+
data_decoded: UnlockStakeEvent;
|
4400
|
+
type_arguments: [];
|
4401
|
+
}
|
4402
|
+
interface WithdrawStake {
|
4403
|
+
pool_address: MoveAddressType;
|
4404
|
+
delegator_address: MoveAddressType;
|
4405
|
+
amount_withdrawn: bigint;
|
4406
|
+
}
|
4407
|
+
namespace WithdrawStake {
|
4408
|
+
const TYPE_QNAME = "0x1::delegation_pool::WithdrawStake";
|
4409
|
+
function type(): TypeDescriptor<WithdrawStake>;
|
4410
|
+
}
|
4411
|
+
interface WithdrawStakeInstance extends TypedEventInstance<WithdrawStake> {
|
4412
|
+
data_decoded: WithdrawStake;
|
4413
|
+
type_arguments: [];
|
4414
|
+
}
|
4415
|
+
interface WithdrawStakeEvent {
|
4416
|
+
pool_address: MoveAddressType;
|
4417
|
+
delegator_address: MoveAddressType;
|
4418
|
+
amount_withdrawn: bigint;
|
4419
|
+
}
|
4420
|
+
namespace WithdrawStakeEvent {
|
4421
|
+
const TYPE_QNAME = "0x1::delegation_pool::WithdrawStakeEvent";
|
4422
|
+
function type(): TypeDescriptor<WithdrawStakeEvent>;
|
4423
|
+
}
|
4424
|
+
interface WithdrawStakeEventInstance extends TypedEventInstance<WithdrawStakeEvent> {
|
4425
|
+
data_decoded: WithdrawStakeEvent;
|
4426
|
+
type_arguments: [];
|
4427
|
+
}
|
4269
4428
|
interface AllowlistDelegator {
|
4270
4429
|
pool_address: MoveAddressType;
|
4271
4430
|
delegator_address: MoveAddressType;
|
@@ -4298,32 +4457,6 @@ export declare namespace delegation_pool {
|
|
4298
4457
|
data_decoded: CommissionPercentageChange;
|
4299
4458
|
type_arguments: [];
|
4300
4459
|
}
|
4301
|
-
interface CreateProposal {
|
4302
|
-
proposal_id: bigint;
|
4303
|
-
voter: MoveAddressType;
|
4304
|
-
delegation_pool: MoveAddressType;
|
4305
|
-
}
|
4306
|
-
namespace CreateProposal {
|
4307
|
-
const TYPE_QNAME = "0x1::delegation_pool::CreateProposal";
|
4308
|
-
function type(): TypeDescriptor<CreateProposal>;
|
4309
|
-
}
|
4310
|
-
interface CreateProposalInstance extends TypedEventInstance<CreateProposal> {
|
4311
|
-
data_decoded: CreateProposal;
|
4312
|
-
type_arguments: [];
|
4313
|
-
}
|
4314
|
-
interface CreateProposalEvent {
|
4315
|
-
proposal_id: bigint;
|
4316
|
-
voter: MoveAddressType;
|
4317
|
-
delegation_pool: MoveAddressType;
|
4318
|
-
}
|
4319
|
-
namespace CreateProposalEvent {
|
4320
|
-
const TYPE_QNAME = "0x1::delegation_pool::CreateProposalEvent";
|
4321
|
-
function type(): TypeDescriptor<CreateProposalEvent>;
|
4322
|
-
}
|
4323
|
-
interface CreateProposalEventInstance extends TypedEventInstance<CreateProposalEvent> {
|
4324
|
-
data_decoded: CreateProposalEvent;
|
4325
|
-
type_arguments: [];
|
4326
|
-
}
|
4327
4460
|
interface DelegateVotingPower {
|
4328
4461
|
pool_address: MoveAddressType;
|
4329
4462
|
delegator: MoveAddressType;
|
@@ -4483,32 +4616,6 @@ export declare namespace delegation_pool {
|
|
4483
4616
|
const TYPE_QNAME = "0x1::delegation_pool::ObservedLockupCycle";
|
4484
4617
|
function type(): TypeDescriptor<ObservedLockupCycle>;
|
4485
4618
|
}
|
4486
|
-
interface ReactivateStake {
|
4487
|
-
pool_address: MoveAddressType;
|
4488
|
-
delegator_address: MoveAddressType;
|
4489
|
-
amount_reactivated: bigint;
|
4490
|
-
}
|
4491
|
-
namespace ReactivateStake {
|
4492
|
-
const TYPE_QNAME = "0x1::delegation_pool::ReactivateStake";
|
4493
|
-
function type(): TypeDescriptor<ReactivateStake>;
|
4494
|
-
}
|
4495
|
-
interface ReactivateStakeInstance extends TypedEventInstance<ReactivateStake> {
|
4496
|
-
data_decoded: ReactivateStake;
|
4497
|
-
type_arguments: [];
|
4498
|
-
}
|
4499
|
-
interface ReactivateStakeEvent {
|
4500
|
-
pool_address: MoveAddressType;
|
4501
|
-
delegator_address: MoveAddressType;
|
4502
|
-
amount_reactivated: bigint;
|
4503
|
-
}
|
4504
|
-
namespace ReactivateStakeEvent {
|
4505
|
-
const TYPE_QNAME = "0x1::delegation_pool::ReactivateStakeEvent";
|
4506
|
-
function type(): TypeDescriptor<ReactivateStakeEvent>;
|
4507
|
-
}
|
4508
|
-
interface ReactivateStakeEventInstance extends TypedEventInstance<ReactivateStakeEvent> {
|
4509
|
-
data_decoded: ReactivateStakeEvent;
|
4510
|
-
type_arguments: [];
|
4511
|
-
}
|
4512
4619
|
interface RemoveDelegatorFromAllowlist {
|
4513
4620
|
pool_address: MoveAddressType;
|
4514
4621
|
delegator_address: MoveAddressType;
|
@@ -4534,47 +4641,6 @@ export declare namespace delegation_pool {
|
|
4534
4641
|
data_decoded: SetBeneficiaryForOperator;
|
4535
4642
|
type_arguments: [];
|
4536
4643
|
}
|
4537
|
-
interface UnlockStake {
|
4538
|
-
pool_address: MoveAddressType;
|
4539
|
-
delegator_address: MoveAddressType;
|
4540
|
-
amount_unlocked: bigint;
|
4541
|
-
}
|
4542
|
-
namespace UnlockStake {
|
4543
|
-
const TYPE_QNAME = "0x1::delegation_pool::UnlockStake";
|
4544
|
-
function type(): TypeDescriptor<UnlockStake>;
|
4545
|
-
}
|
4546
|
-
interface UnlockStakeInstance extends TypedEventInstance<UnlockStake> {
|
4547
|
-
data_decoded: UnlockStake;
|
4548
|
-
type_arguments: [];
|
4549
|
-
}
|
4550
|
-
interface UnlockStakeEvent {
|
4551
|
-
pool_address: MoveAddressType;
|
4552
|
-
delegator_address: MoveAddressType;
|
4553
|
-
amount_unlocked: bigint;
|
4554
|
-
}
|
4555
|
-
namespace UnlockStakeEvent {
|
4556
|
-
const TYPE_QNAME = "0x1::delegation_pool::UnlockStakeEvent";
|
4557
|
-
function type(): TypeDescriptor<UnlockStakeEvent>;
|
4558
|
-
}
|
4559
|
-
interface UnlockStakeEventInstance extends TypedEventInstance<UnlockStakeEvent> {
|
4560
|
-
data_decoded: UnlockStakeEvent;
|
4561
|
-
type_arguments: [];
|
4562
|
-
}
|
4563
|
-
interface Vote {
|
4564
|
-
voter: MoveAddressType;
|
4565
|
-
proposal_id: bigint;
|
4566
|
-
delegation_pool: MoveAddressType;
|
4567
|
-
num_votes: bigint;
|
4568
|
-
should_pass: boolean;
|
4569
|
-
}
|
4570
|
-
namespace Vote {
|
4571
|
-
const TYPE_QNAME = "0x1::delegation_pool::Vote";
|
4572
|
-
function type(): TypeDescriptor<Vote>;
|
4573
|
-
}
|
4574
|
-
interface VoteInstance extends TypedEventInstance<Vote> {
|
4575
|
-
data_decoded: Vote;
|
4576
|
-
type_arguments: [];
|
4577
|
-
}
|
4578
4644
|
interface VoteDelegation {
|
4579
4645
|
voter: MoveAddressType;
|
4580
4646
|
pending_voter: MoveAddressType;
|
@@ -4584,21 +4650,6 @@ export declare namespace delegation_pool {
|
|
4584
4650
|
const TYPE_QNAME = "0x1::delegation_pool::VoteDelegation";
|
4585
4651
|
function type(): TypeDescriptor<VoteDelegation>;
|
4586
4652
|
}
|
4587
|
-
interface VoteEvent {
|
4588
|
-
voter: MoveAddressType;
|
4589
|
-
proposal_id: bigint;
|
4590
|
-
delegation_pool: MoveAddressType;
|
4591
|
-
num_votes: bigint;
|
4592
|
-
should_pass: boolean;
|
4593
|
-
}
|
4594
|
-
namespace VoteEvent {
|
4595
|
-
const TYPE_QNAME = "0x1::delegation_pool::VoteEvent";
|
4596
|
-
function type(): TypeDescriptor<VoteEvent>;
|
4597
|
-
}
|
4598
|
-
interface VoteEventInstance extends TypedEventInstance<VoteEvent> {
|
4599
|
-
data_decoded: VoteEvent;
|
4600
|
-
type_arguments: [];
|
4601
|
-
}
|
4602
4653
|
interface VotingRecordKey {
|
4603
4654
|
voter: MoveAddressType;
|
4604
4655
|
proposal_id: bigint;
|
@@ -4607,44 +4658,42 @@ export declare namespace delegation_pool {
|
|
4607
4658
|
const TYPE_QNAME = "0x1::delegation_pool::VotingRecordKey";
|
4608
4659
|
function type(): TypeDescriptor<VotingRecordKey>;
|
4609
4660
|
}
|
4610
|
-
interface WithdrawStake {
|
4611
|
-
pool_address: MoveAddressType;
|
4612
|
-
delegator_address: MoveAddressType;
|
4613
|
-
amount_withdrawn: bigint;
|
4614
|
-
}
|
4615
|
-
namespace WithdrawStake {
|
4616
|
-
const TYPE_QNAME = "0x1::delegation_pool::WithdrawStake";
|
4617
|
-
function type(): TypeDescriptor<WithdrawStake>;
|
4618
|
-
}
|
4619
|
-
interface WithdrawStakeInstance extends TypedEventInstance<WithdrawStake> {
|
4620
|
-
data_decoded: WithdrawStake;
|
4621
|
-
type_arguments: [];
|
4622
|
-
}
|
4623
|
-
interface WithdrawStakeEvent {
|
4624
|
-
pool_address: MoveAddressType;
|
4625
|
-
delegator_address: MoveAddressType;
|
4626
|
-
amount_withdrawn: bigint;
|
4627
|
-
}
|
4628
|
-
namespace WithdrawStakeEvent {
|
4629
|
-
const TYPE_QNAME = "0x1::delegation_pool::WithdrawStakeEvent";
|
4630
|
-
function type(): TypeDescriptor<WithdrawStakeEvent>;
|
4631
|
-
}
|
4632
|
-
interface WithdrawStakeEventInstance extends TypedEventInstance<WithdrawStakeEvent> {
|
4633
|
-
data_decoded: WithdrawStakeEvent;
|
4634
|
-
type_arguments: [];
|
4635
|
-
}
|
4636
4661
|
namespace entry {
|
4662
|
+
function withdraw(client: Aptos, account: AptosAccount, request: {
|
4663
|
+
typeArguments: [];
|
4664
|
+
functionArguments: [MoveAddressType, bigint];
|
4665
|
+
}, options?: InputGenerateTransactionOptions): Promise<PendingTransactionResponse>;
|
4666
|
+
function createProposal(client: Aptos, account: AptosAccount, request: {
|
4667
|
+
typeArguments: [];
|
4668
|
+
functionArguments: [MoveAddressType, string, string, string, boolean];
|
4669
|
+
}, options?: InputGenerateTransactionOptions): Promise<PendingTransactionResponse>;
|
4670
|
+
function vote(client: Aptos, account: AptosAccount, request: {
|
4671
|
+
typeArguments: [];
|
4672
|
+
functionArguments: [MoveAddressType, bigint, bigint, boolean];
|
4673
|
+
}, options?: InputGenerateTransactionOptions): Promise<PendingTransactionResponse>;
|
4637
4674
|
function addStake(client: Aptos, account: AptosAccount, request: {
|
4638
4675
|
typeArguments: [];
|
4639
4676
|
functionArguments: [MoveAddressType, bigint];
|
4640
4677
|
}, options?: InputGenerateTransactionOptions): Promise<PendingTransactionResponse>;
|
4641
|
-
function
|
4678
|
+
function reactivateStake(client: Aptos, account: AptosAccount, request: {
|
4679
|
+
typeArguments: [];
|
4680
|
+
functionArguments: [MoveAddressType, bigint];
|
4681
|
+
}, options?: InputGenerateTransactionOptions): Promise<PendingTransactionResponse>;
|
4682
|
+
function setDelegatedVoter(client: Aptos, account: AptosAccount, request: {
|
4642
4683
|
typeArguments: [];
|
4643
4684
|
functionArguments: [MoveAddressType];
|
4644
4685
|
}, options?: InputGenerateTransactionOptions): Promise<PendingTransactionResponse>;
|
4645
|
-
function
|
4686
|
+
function setOperator(client: Aptos, account: AptosAccount, request: {
|
4646
4687
|
typeArguments: [];
|
4647
|
-
functionArguments: [MoveAddressType
|
4688
|
+
functionArguments: [MoveAddressType];
|
4689
|
+
}, options?: InputGenerateTransactionOptions): Promise<PendingTransactionResponse>;
|
4690
|
+
function unlock(client: Aptos, account: AptosAccount, request: {
|
4691
|
+
typeArguments: [];
|
4692
|
+
functionArguments: [MoveAddressType, bigint];
|
4693
|
+
}, options?: InputGenerateTransactionOptions): Promise<PendingTransactionResponse>;
|
4694
|
+
function allowlistDelegator(client: Aptos, account: AptosAccount, request: {
|
4695
|
+
typeArguments: [];
|
4696
|
+
functionArguments: [MoveAddressType];
|
4648
4697
|
}, options?: InputGenerateTransactionOptions): Promise<PendingTransactionResponse>;
|
4649
4698
|
function delegateVotingPower(client: Aptos, account: AptosAccount, request: {
|
4650
4699
|
typeArguments: [];
|
@@ -4670,10 +4719,6 @@ export declare namespace delegation_pool {
|
|
4670
4719
|
typeArguments: [];
|
4671
4720
|
functionArguments: [bigint, string];
|
4672
4721
|
}, options?: InputGenerateTransactionOptions): Promise<PendingTransactionResponse>;
|
4673
|
-
function reactivateStake(client: Aptos, account: AptosAccount, request: {
|
4674
|
-
typeArguments: [];
|
4675
|
-
functionArguments: [MoveAddressType, bigint];
|
4676
|
-
}, options?: InputGenerateTransactionOptions): Promise<PendingTransactionResponse>;
|
4677
4722
|
function removeDelegatorFromAllowlist(client: Aptos, account: AptosAccount, request: {
|
4678
4723
|
typeArguments: [];
|
4679
4724
|
functionArguments: [MoveAddressType];
|
@@ -4682,36 +4727,25 @@ export declare namespace delegation_pool {
|
|
4682
4727
|
typeArguments: [];
|
4683
4728
|
functionArguments: [MoveAddressType];
|
4684
4729
|
}, options?: InputGenerateTransactionOptions): Promise<PendingTransactionResponse>;
|
4685
|
-
function setDelegatedVoter(client: Aptos, account: AptosAccount, request: {
|
4686
|
-
typeArguments: [];
|
4687
|
-
functionArguments: [MoveAddressType];
|
4688
|
-
}, options?: InputGenerateTransactionOptions): Promise<PendingTransactionResponse>;
|
4689
|
-
function setOperator(client: Aptos, account: AptosAccount, request: {
|
4690
|
-
typeArguments: [];
|
4691
|
-
functionArguments: [MoveAddressType];
|
4692
|
-
}, options?: InputGenerateTransactionOptions): Promise<PendingTransactionResponse>;
|
4693
4730
|
function synchronizeDelegationPool(client: Aptos, account: AptosAccount, request: {
|
4694
4731
|
typeArguments: [];
|
4695
4732
|
functionArguments: [MoveAddressType];
|
4696
4733
|
}, options?: InputGenerateTransactionOptions): Promise<PendingTransactionResponse>;
|
4697
|
-
function unlock(client: Aptos, account: AptosAccount, request: {
|
4698
|
-
typeArguments: [];
|
4699
|
-
functionArguments: [MoveAddressType, bigint];
|
4700
|
-
}, options?: InputGenerateTransactionOptions): Promise<PendingTransactionResponse>;
|
4701
4734
|
function updateCommissionPercentage(client: Aptos, account: AptosAccount, request: {
|
4702
4735
|
typeArguments: [];
|
4703
4736
|
functionArguments: [bigint];
|
4704
4737
|
}, options?: InputGenerateTransactionOptions): Promise<PendingTransactionResponse>;
|
4705
|
-
function vote(client: Aptos, account: AptosAccount, request: {
|
4706
|
-
typeArguments: [];
|
4707
|
-
functionArguments: [MoveAddressType, bigint, bigint, boolean];
|
4708
|
-
}, options?: InputGenerateTransactionOptions): Promise<PendingTransactionResponse>;
|
4709
|
-
function withdraw(client: Aptos, account: AptosAccount, request: {
|
4710
|
-
typeArguments: [];
|
4711
|
-
functionArguments: [MoveAddressType, bigint];
|
4712
|
-
}, options?: InputGenerateTransactionOptions): Promise<PendingTransactionResponse>;
|
4713
4738
|
}
|
4714
4739
|
namespace view {
|
4740
|
+
function partialGovernanceVotingEnabled(client: Aptos, request: {
|
4741
|
+
functionArguments: [MoveAddressType];
|
4742
|
+
}, version?: bigint): Promise<[boolean]>;
|
4743
|
+
function getOwnedPoolAddress(client: Aptos, request: {
|
4744
|
+
functionArguments: [MoveAddressType];
|
4745
|
+
}, version?: bigint): Promise<[MoveAddressType]>;
|
4746
|
+
function getStake(client: Aptos, request: {
|
4747
|
+
functionArguments: [MoveAddressType, MoveAddressType];
|
4748
|
+
}, version?: bigint): Promise<[bigint, bigint, bigint]>;
|
4715
4749
|
function allowlistingEnabled(client: Aptos, request: {
|
4716
4750
|
functionArguments: [MoveAddressType];
|
4717
4751
|
}, version?: bigint): Promise<[boolean]>;
|
@@ -4751,15 +4785,12 @@ export declare namespace delegation_pool {
|
|
4751
4785
|
function getExpectedStakePoolAddress(client: Aptos, request: {
|
4752
4786
|
functionArguments: [MoveAddressType, string];
|
4753
4787
|
}, version?: bigint): Promise<[MoveAddressType]>;
|
4754
|
-
function getOwnedPoolAddress(client: Aptos, request: {
|
4755
|
-
functionArguments: [MoveAddressType];
|
4756
|
-
}, version?: bigint): Promise<[MoveAddressType]>;
|
4757
4788
|
function getPendingWithdrawal(client: Aptos, request: {
|
4758
4789
|
functionArguments: [MoveAddressType, MoveAddressType];
|
4759
4790
|
}, version?: bigint): Promise<[boolean, bigint]>;
|
4760
|
-
function
|
4761
|
-
functionArguments: [MoveAddressType
|
4762
|
-
}, version?: bigint): Promise<[bigint
|
4791
|
+
function operatorCommissionPercentage(client: Aptos, request: {
|
4792
|
+
functionArguments: [MoveAddressType];
|
4793
|
+
}, version?: bigint): Promise<[bigint]>;
|
4763
4794
|
function isNextCommissionPercentageEffective(client: Aptos, request: {
|
4764
4795
|
functionArguments: [MoveAddressType];
|
4765
4796
|
}, version?: bigint): Promise<[boolean]>;
|
@@ -4767,38 +4798,56 @@ export declare namespace delegation_pool {
|
|
4767
4798
|
function observedLockupCycle(client: Aptos, request: {
|
4768
4799
|
functionArguments: [MoveAddressType];
|
4769
4800
|
}, version?: bigint): Promise<[bigint]>;
|
4770
|
-
function operatorCommissionPercentage(client: Aptos, request: {
|
4771
|
-
functionArguments: [MoveAddressType];
|
4772
|
-
}, version?: bigint): Promise<[bigint]>;
|
4773
4801
|
function operatorCommissionPercentageNextLockupCycle(client: Aptos, request: {
|
4774
4802
|
functionArguments: [MoveAddressType];
|
4775
4803
|
}, version?: bigint): Promise<[bigint]>;
|
4776
4804
|
function ownerCapExists(client: Aptos, request: {
|
4777
4805
|
functionArguments: [MoveAddressType];
|
4778
4806
|
}, version?: bigint): Promise<[boolean]>;
|
4779
|
-
function partialGovernanceVotingEnabled(client: Aptos, request: {
|
4780
|
-
functionArguments: [MoveAddressType];
|
4781
|
-
}, version?: bigint): Promise<[boolean]>;
|
4782
4807
|
function shareholdersCountActivePool(client: Aptos, request: {
|
4783
4808
|
functionArguments: [MoveAddressType];
|
4784
4809
|
}, version?: bigint): Promise<[bigint]>;
|
4785
4810
|
}
|
4811
|
+
interface WithdrawPayload extends TypedFunctionPayload<[MoveAddressType, bigint]> {
|
4812
|
+
arguments_decoded: [MoveAddressType, bigint];
|
4813
|
+
type_arguments: [];
|
4814
|
+
}
|
4815
|
+
interface CreateProposalPayload extends TypedFunctionPayload<[
|
4816
|
+
MoveAddressType,
|
4817
|
+
string,
|
4818
|
+
string,
|
4819
|
+
string,
|
4820
|
+
boolean
|
4821
|
+
]> {
|
4822
|
+
arguments_decoded: [MoveAddressType, string, string, string, boolean];
|
4823
|
+
type_arguments: [];
|
4824
|
+
}
|
4825
|
+
interface VotePayload extends TypedFunctionPayload<[MoveAddressType, bigint, bigint, boolean]> {
|
4826
|
+
arguments_decoded: [MoveAddressType, bigint, bigint, boolean];
|
4827
|
+
type_arguments: [];
|
4828
|
+
}
|
4786
4829
|
interface AddStakePayload extends TypedFunctionPayload<[MoveAddressType, bigint]> {
|
4787
4830
|
arguments_decoded: [MoveAddressType, bigint];
|
4788
4831
|
type_arguments: [];
|
4789
4832
|
}
|
4790
|
-
interface
|
4833
|
+
interface ReactivateStakePayload extends TypedFunctionPayload<[MoveAddressType, bigint]> {
|
4834
|
+
arguments_decoded: [MoveAddressType, bigint];
|
4835
|
+
type_arguments: [];
|
4836
|
+
}
|
4837
|
+
interface SetDelegatedVoterPayload extends TypedFunctionPayload<[MoveAddressType]> {
|
4791
4838
|
arguments_decoded: [MoveAddressType];
|
4792
4839
|
type_arguments: [];
|
4793
4840
|
}
|
4794
|
-
interface
|
4795
|
-
MoveAddressType
|
4796
|
-
|
4797
|
-
|
4798
|
-
|
4799
|
-
|
4800
|
-
|
4801
|
-
|
4841
|
+
interface SetOperatorPayload extends TypedFunctionPayload<[MoveAddressType]> {
|
4842
|
+
arguments_decoded: [MoveAddressType];
|
4843
|
+
type_arguments: [];
|
4844
|
+
}
|
4845
|
+
interface UnlockPayload extends TypedFunctionPayload<[MoveAddressType, bigint]> {
|
4846
|
+
arguments_decoded: [MoveAddressType, bigint];
|
4847
|
+
type_arguments: [];
|
4848
|
+
}
|
4849
|
+
interface AllowlistDelegatorPayload extends TypedFunctionPayload<[MoveAddressType]> {
|
4850
|
+
arguments_decoded: [MoveAddressType];
|
4802
4851
|
type_arguments: [];
|
4803
4852
|
}
|
4804
4853
|
interface DelegateVotingPowerPayload extends TypedFunctionPayload<[MoveAddressType, MoveAddressType]> {
|
@@ -4825,10 +4874,6 @@ export declare namespace delegation_pool {
|
|
4825
4874
|
arguments_decoded: [bigint, string];
|
4826
4875
|
type_arguments: [];
|
4827
4876
|
}
|
4828
|
-
interface ReactivateStakePayload extends TypedFunctionPayload<[MoveAddressType, bigint]> {
|
4829
|
-
arguments_decoded: [MoveAddressType, bigint];
|
4830
|
-
type_arguments: [];
|
4831
|
-
}
|
4832
4877
|
interface RemoveDelegatorFromAllowlistPayload extends TypedFunctionPayload<[MoveAddressType]> {
|
4833
4878
|
arguments_decoded: [MoveAddressType];
|
4834
4879
|
type_arguments: [];
|
@@ -4837,34 +4882,14 @@ export declare namespace delegation_pool {
|
|
4837
4882
|
arguments_decoded: [MoveAddressType];
|
4838
4883
|
type_arguments: [];
|
4839
4884
|
}
|
4840
|
-
interface SetDelegatedVoterPayload extends TypedFunctionPayload<[MoveAddressType]> {
|
4841
|
-
arguments_decoded: [MoveAddressType];
|
4842
|
-
type_arguments: [];
|
4843
|
-
}
|
4844
|
-
interface SetOperatorPayload extends TypedFunctionPayload<[MoveAddressType]> {
|
4845
|
-
arguments_decoded: [MoveAddressType];
|
4846
|
-
type_arguments: [];
|
4847
|
-
}
|
4848
4885
|
interface SynchronizeDelegationPoolPayload extends TypedFunctionPayload<[MoveAddressType]> {
|
4849
4886
|
arguments_decoded: [MoveAddressType];
|
4850
4887
|
type_arguments: [];
|
4851
4888
|
}
|
4852
|
-
interface UnlockPayload extends TypedFunctionPayload<[MoveAddressType, bigint]> {
|
4853
|
-
arguments_decoded: [MoveAddressType, bigint];
|
4854
|
-
type_arguments: [];
|
4855
|
-
}
|
4856
4889
|
interface UpdateCommissionPercentagePayload extends TypedFunctionPayload<[bigint]> {
|
4857
4890
|
arguments_decoded: [bigint];
|
4858
4891
|
type_arguments: [];
|
4859
4892
|
}
|
4860
|
-
interface VotePayload extends TypedFunctionPayload<[MoveAddressType, bigint, bigint, boolean]> {
|
4861
|
-
arguments_decoded: [MoveAddressType, bigint, bigint, boolean];
|
4862
|
-
type_arguments: [];
|
4863
|
-
}
|
4864
|
-
interface WithdrawPayload extends TypedFunctionPayload<[MoveAddressType, bigint]> {
|
4865
|
-
arguments_decoded: [MoveAddressType, bigint];
|
4866
|
-
type_arguments: [];
|
4867
|
-
}
|
4868
4893
|
}
|
4869
4894
|
export declare namespace keyless_account {
|
4870
4895
|
interface Configuration {
|
@@ -4881,6 +4906,13 @@ export declare namespace keyless_account {
|
|
4881
4906
|
const TYPE_QNAME = "0x1::keyless_account::Configuration";
|
4882
4907
|
function type(): TypeDescriptor<Configuration>;
|
4883
4908
|
}
|
4909
|
+
interface Group {
|
4910
|
+
dummy_field: boolean;
|
4911
|
+
}
|
4912
|
+
namespace Group {
|
4913
|
+
const TYPE_QNAME = "0x1::keyless_account::Group";
|
4914
|
+
function type(): TypeDescriptor<Group>;
|
4915
|
+
}
|
4884
4916
|
interface Groth16VerificationKey {
|
4885
4917
|
alpha_g1: string;
|
4886
4918
|
beta_g2: string;
|
@@ -4892,13 +4924,6 @@ export declare namespace keyless_account {
|
|
4892
4924
|
const TYPE_QNAME = "0x1::keyless_account::Groth16VerificationKey";
|
4893
4925
|
function type(): TypeDescriptor<Groth16VerificationKey>;
|
4894
4926
|
}
|
4895
|
-
interface Group {
|
4896
|
-
dummy_field: boolean;
|
4897
|
-
}
|
4898
|
-
namespace Group {
|
4899
|
-
const TYPE_QNAME = "0x1::keyless_account::Group";
|
4900
|
-
function type(): TypeDescriptor<Group>;
|
4901
|
-
}
|
4902
4927
|
namespace entry { }
|
4903
4928
|
namespace view { }
|
4904
4929
|
}
|
@@ -5020,31 +5045,24 @@ export declare class aptos_governance extends AptosBaseProcessor {
|
|
5020
5045
|
constructor(options: AptosBindOptions);
|
5021
5046
|
static DEFAULT_OPTIONS: AptosBindOptions;
|
5022
5047
|
static bind(options?: Partial<AptosBindOptions>): aptos_governance;
|
5048
|
+
onEntryCreateProposal(func: (call: aptos_governance.CreateProposalPayload, ctx: AptosContext) => void, filter?: CallFilter, fetchConfig?: Partial<MoveFetchConfig>): aptos_governance;
|
5049
|
+
onEntryCreateProposalV2(func: (call: aptos_governance.CreateProposalV2Payload, ctx: AptosContext) => void, filter?: CallFilter, fetchConfig?: Partial<MoveFetchConfig>): aptos_governance;
|
5050
|
+
onEntryVote(func: (call: aptos_governance.VotePayload, ctx: AptosContext) => void, filter?: CallFilter, fetchConfig?: Partial<MoveFetchConfig>): aptos_governance;
|
5051
|
+
onEntryReconfigure(func: (call: aptos_governance.ReconfigurePayload, ctx: AptosContext) => void, filter?: CallFilter, fetchConfig?: Partial<MoveFetchConfig>): aptos_governance;
|
5023
5052
|
onEntryAddApprovedScriptHashScript(func: (call: aptos_governance.AddApprovedScriptHashScriptPayload, ctx: AptosContext) => void, filter?: CallFilter, fetchConfig?: Partial<MoveFetchConfig>): aptos_governance;
|
5024
5053
|
onEntryBatchPartialVote(func: (call: aptos_governance.BatchPartialVotePayload, ctx: AptosContext) => void, filter?: CallFilter, fetchConfig?: Partial<MoveFetchConfig>): aptos_governance;
|
5025
5054
|
onEntryBatchVote(func: (call: aptos_governance.BatchVotePayload, ctx: AptosContext) => void, filter?: CallFilter, fetchConfig?: Partial<MoveFetchConfig>): aptos_governance;
|
5026
|
-
onEntryCreateProposal(func: (call: aptos_governance.CreateProposalPayload, ctx: AptosContext) => void, filter?: CallFilter, fetchConfig?: Partial<MoveFetchConfig>): aptos_governance;
|
5027
|
-
onEntryCreateProposalV2(func: (call: aptos_governance.CreateProposalV2Payload, ctx: AptosContext) => void, filter?: CallFilter, fetchConfig?: Partial<MoveFetchConfig>): aptos_governance;
|
5028
5055
|
onEntryForceEndEpoch(func: (call: aptos_governance.ForceEndEpochPayload, ctx: AptosContext) => void, filter?: CallFilter, fetchConfig?: Partial<MoveFetchConfig>): aptos_governance;
|
5029
5056
|
onEntryForceEndEpochTestOnly(func: (call: aptos_governance.ForceEndEpochTestOnlyPayload, ctx: AptosContext) => void, filter?: CallFilter, fetchConfig?: Partial<MoveFetchConfig>): aptos_governance;
|
5030
5057
|
onEntryPartialVote(func: (call: aptos_governance.PartialVotePayload, ctx: AptosContext) => void, filter?: CallFilter, fetchConfig?: Partial<MoveFetchConfig>): aptos_governance;
|
5031
|
-
onEntryReconfigure(func: (call: aptos_governance.ReconfigurePayload, ctx: AptosContext) => void, filter?: CallFilter, fetchConfig?: Partial<MoveFetchConfig>): aptos_governance;
|
5032
|
-
onEntryVote(func: (call: aptos_governance.VotePayload, ctx: AptosContext) => void, filter?: CallFilter, fetchConfig?: Partial<MoveFetchConfig>): aptos_governance;
|
5033
5058
|
onEventCreateProposal(func: (event: aptos_governance.CreateProposalInstance, ctx: AptosContext) => void, fetchConfig?: Partial<MoveFetchConfig>): aptos_governance;
|
5034
5059
|
onEventCreateProposalEvent(func: (event: aptos_governance.CreateProposalEventInstance, ctx: AptosContext) => void, fetchConfig?: Partial<MoveFetchConfig>): aptos_governance;
|
5035
|
-
onEventUpdateConfig(func: (event: aptos_governance.UpdateConfigInstance, ctx: AptosContext) => void, fetchConfig?: Partial<MoveFetchConfig>): aptos_governance;
|
5036
|
-
onEventUpdateConfigEvent(func: (event: aptos_governance.UpdateConfigEventInstance, ctx: AptosContext) => void, fetchConfig?: Partial<MoveFetchConfig>): aptos_governance;
|
5037
5060
|
onEventVote(func: (event: aptos_governance.VoteInstance, ctx: AptosContext) => void, fetchConfig?: Partial<MoveFetchConfig>): aptos_governance;
|
5038
5061
|
onEventVoteEvent(func: (event: aptos_governance.VoteEventInstance, ctx: AptosContext) => void, fetchConfig?: Partial<MoveFetchConfig>): aptos_governance;
|
5062
|
+
onEventUpdateConfig(func: (event: aptos_governance.UpdateConfigInstance, ctx: AptosContext) => void, fetchConfig?: Partial<MoveFetchConfig>): aptos_governance;
|
5063
|
+
onEventUpdateConfigEvent(func: (event: aptos_governance.UpdateConfigEventInstance, ctx: AptosContext) => void, fetchConfig?: Partial<MoveFetchConfig>): aptos_governance;
|
5039
5064
|
}
|
5040
5065
|
export declare namespace aptos_governance {
|
5041
|
-
interface ApprovedExecutionHashes {
|
5042
|
-
hashes: simple_map.SimpleMap<bigint, string>;
|
5043
|
-
}
|
5044
|
-
namespace ApprovedExecutionHashes {
|
5045
|
-
const TYPE_QNAME = "0x1::aptos_governance::ApprovedExecutionHashes";
|
5046
|
-
function type(): TypeDescriptor<ApprovedExecutionHashes>;
|
5047
|
-
}
|
5048
5066
|
interface CreateProposal {
|
5049
5067
|
proposer: MoveAddressType;
|
5050
5068
|
stake_pool: MoveAddressType;
|
@@ -5075,6 +5093,43 @@ export declare namespace aptos_governance {
|
|
5075
5093
|
data_decoded: CreateProposalEvent;
|
5076
5094
|
type_arguments: [];
|
5077
5095
|
}
|
5096
|
+
interface Vote {
|
5097
|
+
proposal_id: bigint;
|
5098
|
+
voter: MoveAddressType;
|
5099
|
+
stake_pool: MoveAddressType;
|
5100
|
+
num_votes: bigint;
|
5101
|
+
should_pass: boolean;
|
5102
|
+
}
|
5103
|
+
namespace Vote {
|
5104
|
+
const TYPE_QNAME = "0x1::aptos_governance::Vote";
|
5105
|
+
function type(): TypeDescriptor<Vote>;
|
5106
|
+
}
|
5107
|
+
interface VoteInstance extends TypedEventInstance<Vote> {
|
5108
|
+
data_decoded: Vote;
|
5109
|
+
type_arguments: [];
|
5110
|
+
}
|
5111
|
+
interface VoteEvent {
|
5112
|
+
proposal_id: bigint;
|
5113
|
+
voter: MoveAddressType;
|
5114
|
+
stake_pool: MoveAddressType;
|
5115
|
+
num_votes: bigint;
|
5116
|
+
should_pass: boolean;
|
5117
|
+
}
|
5118
|
+
namespace VoteEvent {
|
5119
|
+
const TYPE_QNAME = "0x1::aptos_governance::VoteEvent";
|
5120
|
+
function type(): TypeDescriptor<VoteEvent>;
|
5121
|
+
}
|
5122
|
+
interface VoteEventInstance extends TypedEventInstance<VoteEvent> {
|
5123
|
+
data_decoded: VoteEvent;
|
5124
|
+
type_arguments: [];
|
5125
|
+
}
|
5126
|
+
interface ApprovedExecutionHashes {
|
5127
|
+
hashes: simple_map.SimpleMap<bigint, string>;
|
5128
|
+
}
|
5129
|
+
namespace ApprovedExecutionHashes {
|
5130
|
+
const TYPE_QNAME = "0x1::aptos_governance::ApprovedExecutionHashes";
|
5131
|
+
function type(): TypeDescriptor<ApprovedExecutionHashes>;
|
5132
|
+
}
|
5078
5133
|
interface GovernanceConfig {
|
5079
5134
|
min_voting_threshold: bigint;
|
5080
5135
|
required_proposer_stake: bigint;
|
@@ -5134,36 +5189,6 @@ export declare namespace aptos_governance {
|
|
5134
5189
|
data_decoded: UpdateConfigEvent;
|
5135
5190
|
type_arguments: [];
|
5136
5191
|
}
|
5137
|
-
interface Vote {
|
5138
|
-
proposal_id: bigint;
|
5139
|
-
voter: MoveAddressType;
|
5140
|
-
stake_pool: MoveAddressType;
|
5141
|
-
num_votes: bigint;
|
5142
|
-
should_pass: boolean;
|
5143
|
-
}
|
5144
|
-
namespace Vote {
|
5145
|
-
const TYPE_QNAME = "0x1::aptos_governance::Vote";
|
5146
|
-
function type(): TypeDescriptor<Vote>;
|
5147
|
-
}
|
5148
|
-
interface VoteInstance extends TypedEventInstance<Vote> {
|
5149
|
-
data_decoded: Vote;
|
5150
|
-
type_arguments: [];
|
5151
|
-
}
|
5152
|
-
interface VoteEvent {
|
5153
|
-
proposal_id: bigint;
|
5154
|
-
voter: MoveAddressType;
|
5155
|
-
stake_pool: MoveAddressType;
|
5156
|
-
num_votes: bigint;
|
5157
|
-
should_pass: boolean;
|
5158
|
-
}
|
5159
|
-
namespace VoteEvent {
|
5160
|
-
const TYPE_QNAME = "0x1::aptos_governance::VoteEvent";
|
5161
|
-
function type(): TypeDescriptor<VoteEvent>;
|
5162
|
-
}
|
5163
|
-
interface VoteEventInstance extends TypedEventInstance<VoteEvent> {
|
5164
|
-
data_decoded: VoteEvent;
|
5165
|
-
type_arguments: [];
|
5166
|
-
}
|
5167
5192
|
interface VotingRecords {
|
5168
5193
|
votes: table.Table<aptos_governance.RecordKey, boolean>;
|
5169
5194
|
}
|
@@ -5179,6 +5204,22 @@ export declare namespace aptos_governance {
|
|
5179
5204
|
function type(): TypeDescriptor<VotingRecordsV2>;
|
5180
5205
|
}
|
5181
5206
|
namespace entry {
|
5207
|
+
function createProposal(client: Aptos, account: AptosAccount, request: {
|
5208
|
+
typeArguments: [];
|
5209
|
+
functionArguments: [MoveAddressType, string, string, string];
|
5210
|
+
}, options?: InputGenerateTransactionOptions): Promise<PendingTransactionResponse>;
|
5211
|
+
function createProposalV2(client: Aptos, account: AptosAccount, request: {
|
5212
|
+
typeArguments: [];
|
5213
|
+
functionArguments: [MoveAddressType, string, string, string, boolean];
|
5214
|
+
}, options?: InputGenerateTransactionOptions): Promise<PendingTransactionResponse>;
|
5215
|
+
function vote(client: Aptos, account: AptosAccount, request: {
|
5216
|
+
typeArguments: [];
|
5217
|
+
functionArguments: [MoveAddressType, bigint, boolean];
|
5218
|
+
}, options?: InputGenerateTransactionOptions): Promise<PendingTransactionResponse>;
|
5219
|
+
function reconfigure(client: Aptos, account: AptosAccount, request: {
|
5220
|
+
typeArguments: [];
|
5221
|
+
functionArguments: [];
|
5222
|
+
}, options?: InputGenerateTransactionOptions): Promise<PendingTransactionResponse>;
|
5182
5223
|
function addApprovedScriptHashScript(client: Aptos, account: AptosAccount, request: {
|
5183
5224
|
typeArguments: [];
|
5184
5225
|
functionArguments: [bigint];
|
@@ -5191,14 +5232,6 @@ export declare namespace aptos_governance {
|
|
5191
5232
|
typeArguments: [];
|
5192
5233
|
functionArguments: [MoveAddressType[], bigint, boolean];
|
5193
5234
|
}, options?: InputGenerateTransactionOptions): Promise<PendingTransactionResponse>;
|
5194
|
-
function createProposal(client: Aptos, account: AptosAccount, request: {
|
5195
|
-
typeArguments: [];
|
5196
|
-
functionArguments: [MoveAddressType, string, string, string];
|
5197
|
-
}, options?: InputGenerateTransactionOptions): Promise<PendingTransactionResponse>;
|
5198
|
-
function createProposalV2(client: Aptos, account: AptosAccount, request: {
|
5199
|
-
typeArguments: [];
|
5200
|
-
functionArguments: [MoveAddressType, string, string, string, boolean];
|
5201
|
-
}, options?: InputGenerateTransactionOptions): Promise<PendingTransactionResponse>;
|
5202
5235
|
function forceEndEpoch(client: Aptos, account: AptosAccount, request: {
|
5203
5236
|
typeArguments: [];
|
5204
5237
|
functionArguments: [];
|
@@ -5211,41 +5244,21 @@ export declare namespace aptos_governance {
|
|
5211
5244
|
typeArguments: [];
|
5212
5245
|
functionArguments: [MoveAddressType, bigint, bigint, boolean];
|
5213
5246
|
}, options?: InputGenerateTransactionOptions): Promise<PendingTransactionResponse>;
|
5214
|
-
function reconfigure(client: Aptos, account: AptosAccount, request: {
|
5215
|
-
typeArguments: [];
|
5216
|
-
functionArguments: [];
|
5217
|
-
}, options?: InputGenerateTransactionOptions): Promise<PendingTransactionResponse>;
|
5218
|
-
function vote(client: Aptos, account: AptosAccount, request: {
|
5219
|
-
typeArguments: [];
|
5220
|
-
functionArguments: [MoveAddressType, bigint, boolean];
|
5221
|
-
}, options?: InputGenerateTransactionOptions): Promise<PendingTransactionResponse>;
|
5222
5247
|
}
|
5223
5248
|
namespace view {
|
5249
|
+
function getVotingPower(client: Aptos, request: {
|
5250
|
+
functionArguments: [MoveAddressType];
|
5251
|
+
}, version?: bigint): Promise<[bigint]>;
|
5224
5252
|
function getMinVotingThreshold(client: Aptos, version?: bigint): Promise<[bigint]>;
|
5225
5253
|
function getRemainingVotingPower(client: Aptos, request: {
|
5226
5254
|
functionArguments: [MoveAddressType, bigint];
|
5227
5255
|
}, version?: bigint): Promise<[bigint]>;
|
5228
5256
|
function getRequiredProposerStake(client: Aptos, version?: bigint): Promise<[bigint]>;
|
5229
5257
|
function getVotingDurationSecs(client: Aptos, version?: bigint): Promise<[bigint]>;
|
5230
|
-
function getVotingPower(client: Aptos, request: {
|
5231
|
-
functionArguments: [MoveAddressType];
|
5232
|
-
}, version?: bigint): Promise<[bigint]>;
|
5233
5258
|
function hasEntirelyVoted(client: Aptos, request: {
|
5234
5259
|
functionArguments: [MoveAddressType, bigint];
|
5235
5260
|
}, version?: bigint): Promise<[boolean]>;
|
5236
5261
|
}
|
5237
|
-
interface AddApprovedScriptHashScriptPayload extends TypedFunctionPayload<[bigint]> {
|
5238
|
-
arguments_decoded: [bigint];
|
5239
|
-
type_arguments: [];
|
5240
|
-
}
|
5241
|
-
interface BatchPartialVotePayload extends TypedFunctionPayload<[MoveAddressType[], bigint, bigint, boolean]> {
|
5242
|
-
arguments_decoded: [MoveAddressType[], bigint, bigint, boolean];
|
5243
|
-
type_arguments: [];
|
5244
|
-
}
|
5245
|
-
interface BatchVotePayload extends TypedFunctionPayload<[MoveAddressType[], bigint, boolean]> {
|
5246
|
-
arguments_decoded: [MoveAddressType[], bigint, boolean];
|
5247
|
-
type_arguments: [];
|
5248
|
-
}
|
5249
5262
|
interface CreateProposalPayload extends TypedFunctionPayload<[MoveAddressType, string, string, string]> {
|
5250
5263
|
arguments_decoded: [MoveAddressType, string, string, string];
|
5251
5264
|
type_arguments: [];
|
@@ -5260,24 +5273,36 @@ export declare namespace aptos_governance {
|
|
5260
5273
|
arguments_decoded: [MoveAddressType, string, string, string, boolean];
|
5261
5274
|
type_arguments: [];
|
5262
5275
|
}
|
5263
|
-
interface
|
5264
|
-
arguments_decoded: [];
|
5276
|
+
interface VotePayload extends TypedFunctionPayload<[MoveAddressType, bigint, boolean]> {
|
5277
|
+
arguments_decoded: [MoveAddressType, bigint, boolean];
|
5265
5278
|
type_arguments: [];
|
5266
5279
|
}
|
5267
|
-
interface
|
5280
|
+
interface ReconfigurePayload extends TypedFunctionPayload<[]> {
|
5268
5281
|
arguments_decoded: [];
|
5269
5282
|
type_arguments: [];
|
5270
5283
|
}
|
5271
|
-
interface
|
5272
|
-
arguments_decoded: [
|
5284
|
+
interface AddApprovedScriptHashScriptPayload extends TypedFunctionPayload<[bigint]> {
|
5285
|
+
arguments_decoded: [bigint];
|
5273
5286
|
type_arguments: [];
|
5274
5287
|
}
|
5275
|
-
interface
|
5288
|
+
interface BatchPartialVotePayload extends TypedFunctionPayload<[MoveAddressType[], bigint, bigint, boolean]> {
|
5289
|
+
arguments_decoded: [MoveAddressType[], bigint, bigint, boolean];
|
5290
|
+
type_arguments: [];
|
5291
|
+
}
|
5292
|
+
interface BatchVotePayload extends TypedFunctionPayload<[MoveAddressType[], bigint, boolean]> {
|
5293
|
+
arguments_decoded: [MoveAddressType[], bigint, boolean];
|
5294
|
+
type_arguments: [];
|
5295
|
+
}
|
5296
|
+
interface ForceEndEpochPayload extends TypedFunctionPayload<[]> {
|
5276
5297
|
arguments_decoded: [];
|
5277
5298
|
type_arguments: [];
|
5278
5299
|
}
|
5279
|
-
interface
|
5280
|
-
arguments_decoded: [
|
5300
|
+
interface ForceEndEpochTestOnlyPayload extends TypedFunctionPayload<[]> {
|
5301
|
+
arguments_decoded: [];
|
5302
|
+
type_arguments: [];
|
5303
|
+
}
|
5304
|
+
interface PartialVotePayload extends TypedFunctionPayload<[MoveAddressType, bigint, bigint, boolean]> {
|
5305
|
+
arguments_decoded: [MoveAddressType, bigint, bigint, boolean];
|
5281
5306
|
type_arguments: [];
|
5282
5307
|
}
|
5283
5308
|
}
|
@@ -5416,11 +5441,11 @@ export declare class multisig_account extends AptosBaseProcessor {
|
|
5416
5441
|
constructor(options: AptosBindOptions);
|
5417
5442
|
static DEFAULT_OPTIONS: AptosBindOptions;
|
5418
5443
|
static bind(options?: Partial<AptosBindOptions>): multisig_account;
|
5444
|
+
onEntryCreate(func: (call: multisig_account.CreatePayload, ctx: AptosContext) => void, filter?: CallFilter, fetchConfig?: Partial<MoveFetchConfig>): multisig_account;
|
5419
5445
|
onEntryAddOwner(func: (call: multisig_account.AddOwnerPayload, ctx: AptosContext) => void, filter?: CallFilter, fetchConfig?: Partial<MoveFetchConfig>): multisig_account;
|
5420
5446
|
onEntryAddOwners(func: (call: multisig_account.AddOwnersPayload, ctx: AptosContext) => void, filter?: CallFilter, fetchConfig?: Partial<MoveFetchConfig>): multisig_account;
|
5421
5447
|
onEntryAddOwnersAndUpdateSignaturesRequired(func: (call: multisig_account.AddOwnersAndUpdateSignaturesRequiredPayload, ctx: AptosContext) => void, filter?: CallFilter, fetchConfig?: Partial<MoveFetchConfig>): multisig_account;
|
5422
5448
|
onEntryApproveTransaction(func: (call: multisig_account.ApproveTransactionPayload, ctx: AptosContext) => void, filter?: CallFilter, fetchConfig?: Partial<MoveFetchConfig>): multisig_account;
|
5423
|
-
onEntryCreate(func: (call: multisig_account.CreatePayload, ctx: AptosContext) => void, filter?: CallFilter, fetchConfig?: Partial<MoveFetchConfig>): multisig_account;
|
5424
5449
|
onEntryCreateTransaction(func: (call: multisig_account.CreateTransactionPayload, ctx: AptosContext) => void, filter?: CallFilter, fetchConfig?: Partial<MoveFetchConfig>): multisig_account;
|
5425
5450
|
onEntryCreateTransactionWithHash(func: (call: multisig_account.CreateTransactionWithHashPayload, ctx: AptosContext) => void, filter?: CallFilter, fetchConfig?: Partial<MoveFetchConfig>): multisig_account;
|
5426
5451
|
onEntryCreateWithExistingAccount(func: (call: multisig_account.CreateWithExistingAccountPayload, ctx: AptosContext) => void, filter?: CallFilter, fetchConfig?: Partial<MoveFetchConfig>): multisig_account;
|
@@ -5442,6 +5467,8 @@ export declare class multisig_account extends AptosBaseProcessor {
|
|
5442
5467
|
onEntryVoteTransaction(func: (call: multisig_account.VoteTransactionPayload, ctx: AptosContext) => void, filter?: CallFilter, fetchConfig?: Partial<MoveFetchConfig>): multisig_account;
|
5443
5468
|
onEntryVoteTransactions(func: (call: multisig_account.VoteTransactionsPayload, ctx: AptosContext) => void, filter?: CallFilter, fetchConfig?: Partial<MoveFetchConfig>): multisig_account;
|
5444
5469
|
onEntryVoteTransanction(func: (call: multisig_account.VoteTransanctionPayload, ctx: AptosContext) => void, filter?: CallFilter, fetchConfig?: Partial<MoveFetchConfig>): multisig_account;
|
5470
|
+
onEventVote(func: (event: multisig_account.VoteInstance, ctx: AptosContext) => void, fetchConfig?: Partial<MoveFetchConfig>): multisig_account;
|
5471
|
+
onEventVoteEvent(func: (event: multisig_account.VoteEventInstance, ctx: AptosContext) => void, fetchConfig?: Partial<MoveFetchConfig>): multisig_account;
|
5445
5472
|
onEventAddOwners(func: (event: multisig_account.AddOwnersInstance, ctx: AptosContext) => void, fetchConfig?: Partial<MoveFetchConfig>): multisig_account;
|
5446
5473
|
onEventAddOwnersEvent(func: (event: multisig_account.AddOwnersEventInstance, ctx: AptosContext) => void, fetchConfig?: Partial<MoveFetchConfig>): multisig_account;
|
5447
5474
|
onEventCreateTransaction(func: (event: multisig_account.CreateTransactionInstance, ctx: AptosContext) => void, fetchConfig?: Partial<MoveFetchConfig>): multisig_account;
|
@@ -5458,10 +5485,35 @@ export declare class multisig_account extends AptosBaseProcessor {
|
|
5458
5485
|
onEventTransactionExecutionSucceededEvent(func: (event: multisig_account.TransactionExecutionSucceededEventInstance, ctx: AptosContext) => void, fetchConfig?: Partial<MoveFetchConfig>): multisig_account;
|
5459
5486
|
onEventUpdateSignaturesRequired(func: (event: multisig_account.UpdateSignaturesRequiredInstance, ctx: AptosContext) => void, fetchConfig?: Partial<MoveFetchConfig>): multisig_account;
|
5460
5487
|
onEventUpdateSignaturesRequiredEvent(func: (event: multisig_account.UpdateSignaturesRequiredEventInstance, ctx: AptosContext) => void, fetchConfig?: Partial<MoveFetchConfig>): multisig_account;
|
5461
|
-
onEventVote(func: (event: multisig_account.VoteInstance, ctx: AptosContext) => void, fetchConfig?: Partial<MoveFetchConfig>): multisig_account;
|
5462
|
-
onEventVoteEvent(func: (event: multisig_account.VoteEventInstance, ctx: AptosContext) => void, fetchConfig?: Partial<MoveFetchConfig>): multisig_account;
|
5463
5488
|
}
|
5464
5489
|
export declare namespace multisig_account {
|
5490
|
+
interface Vote {
|
5491
|
+
multisig_account: MoveAddressType;
|
5492
|
+
owner: MoveAddressType;
|
5493
|
+
sequence_number: bigint;
|
5494
|
+
approved: boolean;
|
5495
|
+
}
|
5496
|
+
namespace Vote {
|
5497
|
+
const TYPE_QNAME = "0x1::multisig_account::Vote";
|
5498
|
+
function type(): TypeDescriptor<Vote>;
|
5499
|
+
}
|
5500
|
+
interface VoteInstance extends TypedEventInstance<Vote> {
|
5501
|
+
data_decoded: Vote;
|
5502
|
+
type_arguments: [];
|
5503
|
+
}
|
5504
|
+
interface VoteEvent {
|
5505
|
+
owner: MoveAddressType;
|
5506
|
+
sequence_number: bigint;
|
5507
|
+
approved: boolean;
|
5508
|
+
}
|
5509
|
+
namespace VoteEvent {
|
5510
|
+
const TYPE_QNAME = "0x1::multisig_account::VoteEvent";
|
5511
|
+
function type(): TypeDescriptor<VoteEvent>;
|
5512
|
+
}
|
5513
|
+
interface VoteEventInstance extends TypedEventInstance<VoteEvent> {
|
5514
|
+
data_decoded: VoteEvent;
|
5515
|
+
type_arguments: [];
|
5516
|
+
}
|
5465
5517
|
interface AddOwners {
|
5466
5518
|
multisig_account: MoveAddressType;
|
5467
5519
|
owners_added: MoveAddressType[];
|
@@ -5736,34 +5788,11 @@ export declare namespace multisig_account {
|
|
5736
5788
|
data_decoded: UpdateSignaturesRequiredEvent;
|
5737
5789
|
type_arguments: [];
|
5738
5790
|
}
|
5739
|
-
interface Vote {
|
5740
|
-
multisig_account: MoveAddressType;
|
5741
|
-
owner: MoveAddressType;
|
5742
|
-
sequence_number: bigint;
|
5743
|
-
approved: boolean;
|
5744
|
-
}
|
5745
|
-
namespace Vote {
|
5746
|
-
const TYPE_QNAME = "0x1::multisig_account::Vote";
|
5747
|
-
function type(): TypeDescriptor<Vote>;
|
5748
|
-
}
|
5749
|
-
interface VoteInstance extends TypedEventInstance<Vote> {
|
5750
|
-
data_decoded: Vote;
|
5751
|
-
type_arguments: [];
|
5752
|
-
}
|
5753
|
-
interface VoteEvent {
|
5754
|
-
owner: MoveAddressType;
|
5755
|
-
sequence_number: bigint;
|
5756
|
-
approved: boolean;
|
5757
|
-
}
|
5758
|
-
namespace VoteEvent {
|
5759
|
-
const TYPE_QNAME = "0x1::multisig_account::VoteEvent";
|
5760
|
-
function type(): TypeDescriptor<VoteEvent>;
|
5761
|
-
}
|
5762
|
-
interface VoteEventInstance extends TypedEventInstance<VoteEvent> {
|
5763
|
-
data_decoded: VoteEvent;
|
5764
|
-
type_arguments: [];
|
5765
|
-
}
|
5766
5791
|
namespace entry {
|
5792
|
+
function create(client: Aptos, account: AptosAccount, request: {
|
5793
|
+
typeArguments: [];
|
5794
|
+
functionArguments: [bigint, string[], string[]];
|
5795
|
+
}, options?: InputGenerateTransactionOptions): Promise<PendingTransactionResponse>;
|
5767
5796
|
function addOwner(client: Aptos, account: AptosAccount, request: {
|
5768
5797
|
typeArguments: [];
|
5769
5798
|
functionArguments: [MoveAddressType];
|
@@ -5780,10 +5809,6 @@ export declare namespace multisig_account {
|
|
5780
5809
|
typeArguments: [];
|
5781
5810
|
functionArguments: [MoveAddressType, bigint];
|
5782
5811
|
}, options?: InputGenerateTransactionOptions): Promise<PendingTransactionResponse>;
|
5783
|
-
function create(client: Aptos, account: AptosAccount, request: {
|
5784
|
-
typeArguments: [];
|
5785
|
-
functionArguments: [bigint, string[], string[]];
|
5786
|
-
}, options?: InputGenerateTransactionOptions): Promise<PendingTransactionResponse>;
|
5787
5812
|
function createTransaction(client: Aptos, account: AptosAccount, request: {
|
5788
5813
|
typeArguments: [];
|
5789
5814
|
functionArguments: [MoveAddressType, string];
|
@@ -5888,6 +5913,15 @@ export declare namespace multisig_account {
|
|
5888
5913
|
}, options?: InputGenerateTransactionOptions): Promise<PendingTransactionResponse>;
|
5889
5914
|
}
|
5890
5915
|
namespace view {
|
5916
|
+
function isOwner(client: Aptos, request: {
|
5917
|
+
functionArguments: [MoveAddressType, MoveAddressType];
|
5918
|
+
}, version?: bigint): Promise<[boolean]>;
|
5919
|
+
function metadata(client: Aptos, request: {
|
5920
|
+
functionArguments: [MoveAddressType];
|
5921
|
+
}, version?: bigint): Promise<[simple_map.SimpleMap<string, string>]>;
|
5922
|
+
function vote(client: Aptos, request: {
|
5923
|
+
functionArguments: [MoveAddressType, bigint, MoveAddressType];
|
5924
|
+
}, version?: bigint): Promise<[boolean, boolean]>;
|
5891
5925
|
function availableTransactionQueueCapacity(client: Aptos, request: {
|
5892
5926
|
functionArguments: [MoveAddressType];
|
5893
5927
|
}, version?: bigint): Promise<[bigint]>;
|
@@ -5903,6 +5937,12 @@ export declare namespace multisig_account {
|
|
5903
5937
|
function canReject(client: Aptos, request: {
|
5904
5938
|
functionArguments: [MoveAddressType, MoveAddressType, bigint];
|
5905
5939
|
}, version?: bigint): Promise<[boolean]>;
|
5940
|
+
function numSignaturesRequired(client: Aptos, request: {
|
5941
|
+
functionArguments: [MoveAddressType];
|
5942
|
+
}, version?: bigint): Promise<[bigint]>;
|
5943
|
+
function owners(client: Aptos, request: {
|
5944
|
+
functionArguments: [MoveAddressType];
|
5945
|
+
}, version?: bigint): Promise<[MoveAddressType[]]>;
|
5906
5946
|
function getNextMultisigAccountAddress(client: Aptos, request: {
|
5907
5947
|
functionArguments: [MoveAddressType];
|
5908
5948
|
}, version?: bigint): Promise<[MoveAddressType]>;
|
@@ -5915,27 +5955,16 @@ export declare namespace multisig_account {
|
|
5915
5955
|
function getTransaction(client: Aptos, request: {
|
5916
5956
|
functionArguments: [MoveAddressType, bigint];
|
5917
5957
|
}, version?: bigint): Promise<[multisig_account.MultisigTransaction]>;
|
5918
|
-
function isOwner(client: Aptos, request: {
|
5919
|
-
functionArguments: [MoveAddressType, MoveAddressType];
|
5920
|
-
}, version?: bigint): Promise<[boolean]>;
|
5921
5958
|
function lastResolvedSequenceNumber(client: Aptos, request: {
|
5922
5959
|
functionArguments: [MoveAddressType];
|
5923
5960
|
}, version?: bigint): Promise<[bigint]>;
|
5924
|
-
function metadata(client: Aptos, request: {
|
5925
|
-
functionArguments: [MoveAddressType];
|
5926
|
-
}, version?: bigint): Promise<[simple_map.SimpleMap<string, string>]>;
|
5927
5961
|
function nextSequenceNumber(client: Aptos, request: {
|
5928
5962
|
functionArguments: [MoveAddressType];
|
5929
5963
|
}, version?: bigint): Promise<[bigint]>;
|
5930
|
-
|
5931
|
-
|
5932
|
-
|
5933
|
-
|
5934
|
-
functionArguments: [MoveAddressType];
|
5935
|
-
}, version?: bigint): Promise<[MoveAddressType[]]>;
|
5936
|
-
function vote(client: Aptos, request: {
|
5937
|
-
functionArguments: [MoveAddressType, bigint, MoveAddressType];
|
5938
|
-
}, version?: bigint): Promise<[boolean, boolean]>;
|
5964
|
+
}
|
5965
|
+
interface CreatePayload extends TypedFunctionPayload<[bigint, string[], string[]]> {
|
5966
|
+
arguments_decoded: [bigint, string[], string[]];
|
5967
|
+
type_arguments: [];
|
5939
5968
|
}
|
5940
5969
|
interface AddOwnerPayload extends TypedFunctionPayload<[MoveAddressType]> {
|
5941
5970
|
arguments_decoded: [MoveAddressType];
|
@@ -5953,10 +5982,6 @@ export declare namespace multisig_account {
|
|
5953
5982
|
arguments_decoded: [MoveAddressType, bigint];
|
5954
5983
|
type_arguments: [];
|
5955
5984
|
}
|
5956
|
-
interface CreatePayload extends TypedFunctionPayload<[bigint, string[], string[]]> {
|
5957
|
-
arguments_decoded: [bigint, string[], string[]];
|
5958
|
-
type_arguments: [];
|
5959
|
-
}
|
5960
5985
|
interface CreateTransactionPayload extends TypedFunctionPayload<[MoveAddressType, string]> {
|
5961
5986
|
arguments_decoded: [MoveAddressType, string];
|
5962
5987
|
type_arguments: [];
|
@@ -6165,21 +6190,24 @@ export declare class staking_contract extends AptosBaseProcessor {
|
|
6165
6190
|
static DEFAULT_OPTIONS: AptosBindOptions;
|
6166
6191
|
static bind(options?: Partial<AptosBindOptions>): staking_contract;
|
6167
6192
|
onEntryAddStake(func: (call: staking_contract.AddStakePayload, ctx: AptosContext) => void, filter?: CallFilter, fetchConfig?: Partial<MoveFetchConfig>): staking_contract;
|
6193
|
+
onEntrySetBeneficiaryForOperator(func: (call: staking_contract.SetBeneficiaryForOperatorPayload, ctx: AptosContext) => void, filter?: CallFilter, fetchConfig?: Partial<MoveFetchConfig>): staking_contract;
|
6168
6194
|
onEntryCreateStakingContract(func: (call: staking_contract.CreateStakingContractPayload, ctx: AptosContext) => void, filter?: CallFilter, fetchConfig?: Partial<MoveFetchConfig>): staking_contract;
|
6169
6195
|
onEntryDistribute(func: (call: staking_contract.DistributePayload, ctx: AptosContext) => void, filter?: CallFilter, fetchConfig?: Partial<MoveFetchConfig>): staking_contract;
|
6170
6196
|
onEntryRequestCommission(func: (call: staking_contract.RequestCommissionPayload, ctx: AptosContext) => void, filter?: CallFilter, fetchConfig?: Partial<MoveFetchConfig>): staking_contract;
|
6171
6197
|
onEntryResetLockup(func: (call: staking_contract.ResetLockupPayload, ctx: AptosContext) => void, filter?: CallFilter, fetchConfig?: Partial<MoveFetchConfig>): staking_contract;
|
6172
|
-
onEntrySetBeneficiaryForOperator(func: (call: staking_contract.SetBeneficiaryForOperatorPayload, ctx: AptosContext) => void, filter?: CallFilter, fetchConfig?: Partial<MoveFetchConfig>): staking_contract;
|
6173
6198
|
onEntrySwitchOperator(func: (call: staking_contract.SwitchOperatorPayload, ctx: AptosContext) => void, filter?: CallFilter, fetchConfig?: Partial<MoveFetchConfig>): staking_contract;
|
6174
6199
|
onEntrySwitchOperatorWithSameCommission(func: (call: staking_contract.SwitchOperatorWithSameCommissionPayload, ctx: AptosContext) => void, filter?: CallFilter, fetchConfig?: Partial<MoveFetchConfig>): staking_contract;
|
6175
6200
|
onEntryUnlockRewards(func: (call: staking_contract.UnlockRewardsPayload, ctx: AptosContext) => void, filter?: CallFilter, fetchConfig?: Partial<MoveFetchConfig>): staking_contract;
|
6176
6201
|
onEntryUnlockStake(func: (call: staking_contract.UnlockStakePayload, ctx: AptosContext) => void, filter?: CallFilter, fetchConfig?: Partial<MoveFetchConfig>): staking_contract;
|
6177
6202
|
onEntryUpdateCommision(func: (call: staking_contract.UpdateCommisionPayload, ctx: AptosContext) => void, filter?: CallFilter, fetchConfig?: Partial<MoveFetchConfig>): staking_contract;
|
6178
6203
|
onEntryUpdateVoter(func: (call: staking_contract.UpdateVoterPayload, ctx: AptosContext) => void, filter?: CallFilter, fetchConfig?: Partial<MoveFetchConfig>): staking_contract;
|
6179
|
-
onEventAddDistribution(func: (event: staking_contract.AddDistributionInstance, ctx: AptosContext) => void, fetchConfig?: Partial<MoveFetchConfig>): staking_contract;
|
6180
|
-
onEventAddDistributionEvent(func: (event: staking_contract.AddDistributionEventInstance, ctx: AptosContext) => void, fetchConfig?: Partial<MoveFetchConfig>): staking_contract;
|
6181
6204
|
onEventAddStake(func: (event: staking_contract.AddStakeInstance, ctx: AptosContext) => void, fetchConfig?: Partial<MoveFetchConfig>): staking_contract;
|
6182
6205
|
onEventAddStakeEvent(func: (event: staking_contract.AddStakeEventInstance, ctx: AptosContext) => void, fetchConfig?: Partial<MoveFetchConfig>): staking_contract;
|
6206
|
+
onEventUnlockStake(func: (event: staking_contract.UnlockStakeInstance, ctx: AptosContext) => void, fetchConfig?: Partial<MoveFetchConfig>): staking_contract;
|
6207
|
+
onEventUnlockStakeEvent(func: (event: staking_contract.UnlockStakeEventInstance, ctx: AptosContext) => void, fetchConfig?: Partial<MoveFetchConfig>): staking_contract;
|
6208
|
+
onEventSetBeneficiaryForOperator(func: (event: staking_contract.SetBeneficiaryForOperatorInstance, ctx: AptosContext) => void, fetchConfig?: Partial<MoveFetchConfig>): staking_contract;
|
6209
|
+
onEventAddDistribution(func: (event: staking_contract.AddDistributionInstance, ctx: AptosContext) => void, fetchConfig?: Partial<MoveFetchConfig>): staking_contract;
|
6210
|
+
onEventAddDistributionEvent(func: (event: staking_contract.AddDistributionEventInstance, ctx: AptosContext) => void, fetchConfig?: Partial<MoveFetchConfig>): staking_contract;
|
6183
6211
|
onEventCreateStakingContract(func: (event: staking_contract.CreateStakingContractInstance, ctx: AptosContext) => void, fetchConfig?: Partial<MoveFetchConfig>): staking_contract;
|
6184
6212
|
onEventCreateStakingContractEvent(func: (event: staking_contract.CreateStakingContractEventInstance, ctx: AptosContext) => void, fetchConfig?: Partial<MoveFetchConfig>): staking_contract;
|
6185
6213
|
onEventDistribute(func: (event: staking_contract.DistributeInstance, ctx: AptosContext) => void, fetchConfig?: Partial<MoveFetchConfig>): staking_contract;
|
@@ -6188,68 +6216,67 @@ export declare class staking_contract extends AptosBaseProcessor {
|
|
6188
6216
|
onEventRequestCommissionEvent(func: (event: staking_contract.RequestCommissionEventInstance, ctx: AptosContext) => void, fetchConfig?: Partial<MoveFetchConfig>): staking_contract;
|
6189
6217
|
onEventResetLockup(func: (event: staking_contract.ResetLockupInstance, ctx: AptosContext) => void, fetchConfig?: Partial<MoveFetchConfig>): staking_contract;
|
6190
6218
|
onEventResetLockupEvent(func: (event: staking_contract.ResetLockupEventInstance, ctx: AptosContext) => void, fetchConfig?: Partial<MoveFetchConfig>): staking_contract;
|
6191
|
-
onEventSetBeneficiaryForOperator(func: (event: staking_contract.SetBeneficiaryForOperatorInstance, ctx: AptosContext) => void, fetchConfig?: Partial<MoveFetchConfig>): staking_contract;
|
6192
6219
|
onEventStakingGroupUpdateCommissionEvent(func: (event: staking_contract.StakingGroupUpdateCommissionEventInstance, ctx: AptosContext) => void, fetchConfig?: Partial<MoveFetchConfig>): staking_contract;
|
6193
6220
|
onEventSwitchOperator(func: (event: staking_contract.SwitchOperatorInstance, ctx: AptosContext) => void, fetchConfig?: Partial<MoveFetchConfig>): staking_contract;
|
6194
6221
|
onEventSwitchOperatorEvent(func: (event: staking_contract.SwitchOperatorEventInstance, ctx: AptosContext) => void, fetchConfig?: Partial<MoveFetchConfig>): staking_contract;
|
6195
|
-
onEventUnlockStake(func: (event: staking_contract.UnlockStakeInstance, ctx: AptosContext) => void, fetchConfig?: Partial<MoveFetchConfig>): staking_contract;
|
6196
|
-
onEventUnlockStakeEvent(func: (event: staking_contract.UnlockStakeEventInstance, ctx: AptosContext) => void, fetchConfig?: Partial<MoveFetchConfig>): staking_contract;
|
6197
6222
|
onEventUpdateCommission(func: (event: staking_contract.UpdateCommissionInstance, ctx: AptosContext) => void, fetchConfig?: Partial<MoveFetchConfig>): staking_contract;
|
6198
6223
|
onEventUpdateCommissionEvent(func: (event: staking_contract.UpdateCommissionEventInstance, ctx: AptosContext) => void, fetchConfig?: Partial<MoveFetchConfig>): staking_contract;
|
6199
6224
|
onEventUpdateVoter(func: (event: staking_contract.UpdateVoterInstance, ctx: AptosContext) => void, fetchConfig?: Partial<MoveFetchConfig>): staking_contract;
|
6200
6225
|
onEventUpdateVoterEvent(func: (event: staking_contract.UpdateVoterEventInstance, ctx: AptosContext) => void, fetchConfig?: Partial<MoveFetchConfig>): staking_contract;
|
6201
6226
|
}
|
6202
6227
|
export declare namespace staking_contract {
|
6203
|
-
interface
|
6228
|
+
interface AddStake {
|
6204
6229
|
operator: MoveAddressType;
|
6205
6230
|
pool_address: MoveAddressType;
|
6206
6231
|
amount: bigint;
|
6207
6232
|
}
|
6208
|
-
namespace
|
6209
|
-
const TYPE_QNAME = "0x1::staking_contract::
|
6210
|
-
function type(): TypeDescriptor<
|
6233
|
+
namespace AddStake {
|
6234
|
+
const TYPE_QNAME = "0x1::staking_contract::AddStake";
|
6235
|
+
function type(): TypeDescriptor<AddStake>;
|
6211
6236
|
}
|
6212
|
-
interface
|
6213
|
-
data_decoded:
|
6237
|
+
interface AddStakeInstance extends TypedEventInstance<AddStake> {
|
6238
|
+
data_decoded: AddStake;
|
6214
6239
|
type_arguments: [];
|
6215
6240
|
}
|
6216
|
-
interface
|
6241
|
+
interface AddStakeEvent {
|
6217
6242
|
operator: MoveAddressType;
|
6218
6243
|
pool_address: MoveAddressType;
|
6219
6244
|
amount: bigint;
|
6220
6245
|
}
|
6221
|
-
namespace
|
6222
|
-
const TYPE_QNAME = "0x1::staking_contract::
|
6223
|
-
function type(): TypeDescriptor<
|
6246
|
+
namespace AddStakeEvent {
|
6247
|
+
const TYPE_QNAME = "0x1::staking_contract::AddStakeEvent";
|
6248
|
+
function type(): TypeDescriptor<AddStakeEvent>;
|
6224
6249
|
}
|
6225
|
-
interface
|
6226
|
-
data_decoded:
|
6250
|
+
interface AddStakeEventInstance extends TypedEventInstance<AddStakeEvent> {
|
6251
|
+
data_decoded: AddStakeEvent;
|
6227
6252
|
type_arguments: [];
|
6228
6253
|
}
|
6229
|
-
interface
|
6254
|
+
interface UnlockStake {
|
6230
6255
|
operator: MoveAddressType;
|
6231
6256
|
pool_address: MoveAddressType;
|
6232
6257
|
amount: bigint;
|
6258
|
+
commission_paid: bigint;
|
6233
6259
|
}
|
6234
|
-
namespace
|
6235
|
-
const TYPE_QNAME = "0x1::staking_contract::
|
6236
|
-
function type(): TypeDescriptor<
|
6260
|
+
namespace UnlockStake {
|
6261
|
+
const TYPE_QNAME = "0x1::staking_contract::UnlockStake";
|
6262
|
+
function type(): TypeDescriptor<UnlockStake>;
|
6237
6263
|
}
|
6238
|
-
interface
|
6239
|
-
data_decoded:
|
6264
|
+
interface UnlockStakeInstance extends TypedEventInstance<UnlockStake> {
|
6265
|
+
data_decoded: UnlockStake;
|
6240
6266
|
type_arguments: [];
|
6241
6267
|
}
|
6242
|
-
interface
|
6268
|
+
interface UnlockStakeEvent {
|
6243
6269
|
operator: MoveAddressType;
|
6244
6270
|
pool_address: MoveAddressType;
|
6245
6271
|
amount: bigint;
|
6272
|
+
commission_paid: bigint;
|
6246
6273
|
}
|
6247
|
-
namespace
|
6248
|
-
const TYPE_QNAME = "0x1::staking_contract::
|
6249
|
-
function type(): TypeDescriptor<
|
6274
|
+
namespace UnlockStakeEvent {
|
6275
|
+
const TYPE_QNAME = "0x1::staking_contract::UnlockStakeEvent";
|
6276
|
+
function type(): TypeDescriptor<UnlockStakeEvent>;
|
6250
6277
|
}
|
6251
|
-
interface
|
6252
|
-
data_decoded:
|
6278
|
+
interface UnlockStakeEventInstance extends TypedEventInstance<UnlockStakeEvent> {
|
6279
|
+
data_decoded: UnlockStakeEvent;
|
6253
6280
|
type_arguments: [];
|
6254
6281
|
}
|
6255
6282
|
interface BeneficiaryForOperator {
|
@@ -6259,6 +6286,45 @@ export declare namespace staking_contract {
|
|
6259
6286
|
const TYPE_QNAME = "0x1::staking_contract::BeneficiaryForOperator";
|
6260
6287
|
function type(): TypeDescriptor<BeneficiaryForOperator>;
|
6261
6288
|
}
|
6289
|
+
interface SetBeneficiaryForOperator {
|
6290
|
+
operator: MoveAddressType;
|
6291
|
+
old_beneficiary: MoveAddressType;
|
6292
|
+
new_beneficiary: MoveAddressType;
|
6293
|
+
}
|
6294
|
+
namespace SetBeneficiaryForOperator {
|
6295
|
+
const TYPE_QNAME = "0x1::staking_contract::SetBeneficiaryForOperator";
|
6296
|
+
function type(): TypeDescriptor<SetBeneficiaryForOperator>;
|
6297
|
+
}
|
6298
|
+
interface SetBeneficiaryForOperatorInstance extends TypedEventInstance<SetBeneficiaryForOperator> {
|
6299
|
+
data_decoded: SetBeneficiaryForOperator;
|
6300
|
+
type_arguments: [];
|
6301
|
+
}
|
6302
|
+
interface AddDistribution {
|
6303
|
+
operator: MoveAddressType;
|
6304
|
+
pool_address: MoveAddressType;
|
6305
|
+
amount: bigint;
|
6306
|
+
}
|
6307
|
+
namespace AddDistribution {
|
6308
|
+
const TYPE_QNAME = "0x1::staking_contract::AddDistribution";
|
6309
|
+
function type(): TypeDescriptor<AddDistribution>;
|
6310
|
+
}
|
6311
|
+
interface AddDistributionInstance extends TypedEventInstance<AddDistribution> {
|
6312
|
+
data_decoded: AddDistribution;
|
6313
|
+
type_arguments: [];
|
6314
|
+
}
|
6315
|
+
interface AddDistributionEvent {
|
6316
|
+
operator: MoveAddressType;
|
6317
|
+
pool_address: MoveAddressType;
|
6318
|
+
amount: bigint;
|
6319
|
+
}
|
6320
|
+
namespace AddDistributionEvent {
|
6321
|
+
const TYPE_QNAME = "0x1::staking_contract::AddDistributionEvent";
|
6322
|
+
function type(): TypeDescriptor<AddDistributionEvent>;
|
6323
|
+
}
|
6324
|
+
interface AddDistributionEventInstance extends TypedEventInstance<AddDistributionEvent> {
|
6325
|
+
data_decoded: AddDistributionEvent;
|
6326
|
+
type_arguments: [];
|
6327
|
+
}
|
6262
6328
|
interface CreateStakingContract {
|
6263
6329
|
operator: MoveAddressType;
|
6264
6330
|
voter: MoveAddressType;
|
@@ -6369,19 +6435,6 @@ export declare namespace staking_contract {
|
|
6369
6435
|
data_decoded: ResetLockupEvent;
|
6370
6436
|
type_arguments: [];
|
6371
6437
|
}
|
6372
|
-
interface SetBeneficiaryForOperator {
|
6373
|
-
operator: MoveAddressType;
|
6374
|
-
old_beneficiary: MoveAddressType;
|
6375
|
-
new_beneficiary: MoveAddressType;
|
6376
|
-
}
|
6377
|
-
namespace SetBeneficiaryForOperator {
|
6378
|
-
const TYPE_QNAME = "0x1::staking_contract::SetBeneficiaryForOperator";
|
6379
|
-
function type(): TypeDescriptor<SetBeneficiaryForOperator>;
|
6380
|
-
}
|
6381
|
-
interface SetBeneficiaryForOperatorInstance extends TypedEventInstance<SetBeneficiaryForOperator> {
|
6382
|
-
data_decoded: SetBeneficiaryForOperator;
|
6383
|
-
type_arguments: [];
|
6384
|
-
}
|
6385
6438
|
interface StakingContract {
|
6386
6439
|
principal: bigint;
|
6387
6440
|
pool_address: MoveAddressType;
|
@@ -6454,34 +6507,6 @@ export declare namespace staking_contract {
|
|
6454
6507
|
data_decoded: SwitchOperatorEvent;
|
6455
6508
|
type_arguments: [];
|
6456
6509
|
}
|
6457
|
-
interface UnlockStake {
|
6458
|
-
operator: MoveAddressType;
|
6459
|
-
pool_address: MoveAddressType;
|
6460
|
-
amount: bigint;
|
6461
|
-
commission_paid: bigint;
|
6462
|
-
}
|
6463
|
-
namespace UnlockStake {
|
6464
|
-
const TYPE_QNAME = "0x1::staking_contract::UnlockStake";
|
6465
|
-
function type(): TypeDescriptor<UnlockStake>;
|
6466
|
-
}
|
6467
|
-
interface UnlockStakeInstance extends TypedEventInstance<UnlockStake> {
|
6468
|
-
data_decoded: UnlockStake;
|
6469
|
-
type_arguments: [];
|
6470
|
-
}
|
6471
|
-
interface UnlockStakeEvent {
|
6472
|
-
operator: MoveAddressType;
|
6473
|
-
pool_address: MoveAddressType;
|
6474
|
-
amount: bigint;
|
6475
|
-
commission_paid: bigint;
|
6476
|
-
}
|
6477
|
-
namespace UnlockStakeEvent {
|
6478
|
-
const TYPE_QNAME = "0x1::staking_contract::UnlockStakeEvent";
|
6479
|
-
function type(): TypeDescriptor<UnlockStakeEvent>;
|
6480
|
-
}
|
6481
|
-
interface UnlockStakeEventInstance extends TypedEventInstance<UnlockStakeEvent> {
|
6482
|
-
data_decoded: UnlockStakeEvent;
|
6483
|
-
type_arguments: [];
|
6484
|
-
}
|
6485
6510
|
interface UpdateCommission {
|
6486
6511
|
staker: MoveAddressType;
|
6487
6512
|
operator: MoveAddressType;
|
@@ -6543,6 +6568,10 @@ export declare namespace staking_contract {
|
|
6543
6568
|
typeArguments: [];
|
6544
6569
|
functionArguments: [MoveAddressType, bigint];
|
6545
6570
|
}, options?: InputGenerateTransactionOptions): Promise<PendingTransactionResponse>;
|
6571
|
+
function setBeneficiaryForOperator(client: Aptos, account: AptosAccount, request: {
|
6572
|
+
typeArguments: [];
|
6573
|
+
functionArguments: [MoveAddressType];
|
6574
|
+
}, options?: InputGenerateTransactionOptions): Promise<PendingTransactionResponse>;
|
6546
6575
|
function createStakingContract(client: Aptos, account: AptosAccount, request: {
|
6547
6576
|
typeArguments: [];
|
6548
6577
|
functionArguments: [
|
@@ -6565,10 +6594,6 @@ export declare namespace staking_contract {
|
|
6565
6594
|
typeArguments: [];
|
6566
6595
|
functionArguments: [MoveAddressType];
|
6567
6596
|
}, options?: InputGenerateTransactionOptions): Promise<PendingTransactionResponse>;
|
6568
|
-
function setBeneficiaryForOperator(client: Aptos, account: AptosAccount, request: {
|
6569
|
-
typeArguments: [];
|
6570
|
-
functionArguments: [MoveAddressType];
|
6571
|
-
}, options?: InputGenerateTransactionOptions): Promise<PendingTransactionResponse>;
|
6572
6597
|
function switchOperator(client: Aptos, account: AptosAccount, request: {
|
6573
6598
|
typeArguments: [];
|
6574
6599
|
functionArguments: [MoveAddressType, MoveAddressType, bigint];
|
@@ -6598,12 +6623,12 @@ export declare namespace staking_contract {
|
|
6598
6623
|
function beneficiaryForOperator(client: Aptos, request: {
|
6599
6624
|
functionArguments: [MoveAddressType];
|
6600
6625
|
}, version?: bigint): Promise<[MoveAddressType]>;
|
6601
|
-
function commissionPercentage(client: Aptos, request: {
|
6602
|
-
functionArguments: [MoveAddressType, MoveAddressType];
|
6603
|
-
}, version?: bigint): Promise<[bigint]>;
|
6604
6626
|
function getExpectedStakePoolAddress(client: Aptos, request: {
|
6605
6627
|
functionArguments: [MoveAddressType, MoveAddressType, string];
|
6606
6628
|
}, version?: bigint): Promise<[MoveAddressType]>;
|
6629
|
+
function commissionPercentage(client: Aptos, request: {
|
6630
|
+
functionArguments: [MoveAddressType, MoveAddressType];
|
6631
|
+
}, version?: bigint): Promise<[bigint]>;
|
6607
6632
|
function lastRecordedPrincipal(client: Aptos, request: {
|
6608
6633
|
functionArguments: [MoveAddressType, MoveAddressType];
|
6609
6634
|
}, version?: bigint): Promise<[bigint]>;
|
@@ -6624,6 +6649,10 @@ export declare namespace staking_contract {
|
|
6624
6649
|
arguments_decoded: [MoveAddressType, bigint];
|
6625
6650
|
type_arguments: [];
|
6626
6651
|
}
|
6652
|
+
interface SetBeneficiaryForOperatorPayload extends TypedFunctionPayload<[MoveAddressType]> {
|
6653
|
+
arguments_decoded: [MoveAddressType];
|
6654
|
+
type_arguments: [];
|
6655
|
+
}
|
6627
6656
|
interface CreateStakingContractPayload extends TypedFunctionPayload<[
|
6628
6657
|
MoveAddressType,
|
6629
6658
|
MoveAddressType,
|
@@ -6652,10 +6681,6 @@ export declare namespace staking_contract {
|
|
6652
6681
|
arguments_decoded: [MoveAddressType];
|
6653
6682
|
type_arguments: [];
|
6654
6683
|
}
|
6655
|
-
interface SetBeneficiaryForOperatorPayload extends TypedFunctionPayload<[MoveAddressType]> {
|
6656
|
-
arguments_decoded: [MoveAddressType];
|
6657
|
-
type_arguments: [];
|
6658
|
-
}
|
6659
6684
|
interface SwitchOperatorPayload extends TypedFunctionPayload<[MoveAddressType, MoveAddressType, bigint]> {
|
6660
6685
|
arguments_decoded: [MoveAddressType, MoveAddressType, bigint];
|
6661
6686
|
type_arguments: [];
|
@@ -6819,13 +6844,6 @@ export declare namespace jwk_consensus_config {
|
|
6819
6844
|
const TYPE_QNAME = "0x1::jwk_consensus_config::ConfigV1";
|
6820
6845
|
function type(): TypeDescriptor<ConfigV1>;
|
6821
6846
|
}
|
6822
|
-
interface JWKConsensusConfig {
|
6823
|
-
variant: copyable_any.Any;
|
6824
|
-
}
|
6825
|
-
namespace JWKConsensusConfig {
|
6826
|
-
const TYPE_QNAME = "0x1::jwk_consensus_config::JWKConsensusConfig";
|
6827
|
-
function type(): TypeDescriptor<JWKConsensusConfig>;
|
6828
|
-
}
|
6829
6847
|
interface OIDCProvider {
|
6830
6848
|
name: string;
|
6831
6849
|
config_url: string;
|
@@ -6834,6 +6852,13 @@ export declare namespace jwk_consensus_config {
|
|
6834
6852
|
const TYPE_QNAME = "0x1::jwk_consensus_config::OIDCProvider";
|
6835
6853
|
function type(): TypeDescriptor<OIDCProvider>;
|
6836
6854
|
}
|
6855
|
+
interface JWKConsensusConfig {
|
6856
|
+
variant: copyable_any.Any;
|
6857
|
+
}
|
6858
|
+
namespace JWKConsensusConfig {
|
6859
|
+
const TYPE_QNAME = "0x1::jwk_consensus_config::JWKConsensusConfig";
|
6860
|
+
function type(): TypeDescriptor<JWKConsensusConfig>;
|
6861
|
+
}
|
6837
6862
|
namespace entry { }
|
6838
6863
|
namespace view { }
|
6839
6864
|
}
|