@typemove/aptos 1.8.2 → 1.8.3-rc.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/cjs/builtin/0x1.d.ts +673 -658
- package/dist/cjs/builtin/0x1.d.ts.map +1 -1
- package/dist/cjs/builtin/0x1.js +931 -882
- package/dist/cjs/builtin/0x1.js.map +1 -1
- package/dist/cjs/builtin/0x3.d.ts +62 -48
- package/dist/cjs/builtin/0x3.d.ts.map +1 -1
- package/dist/cjs/builtin/0x3.js +46 -37
- package/dist/cjs/builtin/0x3.js.map +1 -1
- package/dist/cjs/builtin/0x4.d.ts +72 -72
- package/dist/cjs/builtin/0x4.d.ts.map +1 -1
- package/dist/cjs/builtin/0x4.js +121 -121
- package/dist/cjs/builtin/0x4.js.map +1 -1
- package/dist/esm/builtin/0x1.d.ts +673 -658
- package/dist/esm/builtin/0x1.d.ts.map +1 -1
- package/dist/esm/builtin/0x1.js +931 -882
- package/dist/esm/builtin/0x1.js.map +1 -1
- package/dist/esm/builtin/0x3.d.ts +62 -48
- package/dist/esm/builtin/0x3.d.ts.map +1 -1
- package/dist/esm/builtin/0x3.js +46 -37
- package/dist/esm/builtin/0x3.js.map +1 -1
- package/dist/esm/builtin/0x4.d.ts +72 -72
- package/dist/esm/builtin/0x4.d.ts.map +1 -1
- package/dist/esm/builtin/0x4.js +121 -121
- package/dist/esm/builtin/0x4.js.map +1 -1
- package/package.json +2 -2
- package/src/abis/0x1.json +3816 -3657
- package/src/abis/0x3.json +247 -219
- package/src/abis/0x4.json +576 -576
- package/src/builtin/0x1.ts +1560 -1471
- package/src/builtin/0x3.ts +109 -83
- package/src/builtin/0x4.ts +183 -185
- package/src/tests/abis/0x6b3720cd988adeaf721ed9d4730da4324d52364871a68eac62b46d21e4d2fa99.json +1099 -0
- package/src/tests/abis/0x7fd500c11216f0fe3095d0c4b8aa4d64a4e2e04f83758462f2b127255643615.json +409 -0
- package/src/tests/abis/0x87978b35bf1eb73ae6cf04cfedcaa1f48254a683ebd00a21e7516a991edae3ac.json +219 -0
- package/src/tests/types/0x6b3720cd988adeaf721ed9d4730da4324d52364871a68eac62b46d21e4d2fa99.ts +1652 -0
- package/src/tests/types/0x7fd500c11216f0fe3095d0c4b8aa4d64a4e2e04f83758462f2b127255643615.ts +743 -0
- package/src/tests/types/0x87978b35bf1eb73ae6cf04cfedcaa1f48254a683ebd00a21e7516a991edae3ac.ts +125 -0
- package/src/tests/types/index.ts +3 -0
|
@@ -71,6 +71,10 @@ export declare namespace dkg {
|
|
|
71
71
|
namespace entry { }
|
|
72
72
|
namespace view { }
|
|
73
73
|
}
|
|
74
|
+
export declare namespace mem {
|
|
75
|
+
namespace entry { }
|
|
76
|
+
namespace view { }
|
|
77
|
+
}
|
|
74
78
|
export declare namespace code {
|
|
75
79
|
interface AllowedDep {
|
|
76
80
|
account: MoveAddressType;
|
|
@@ -147,6 +151,44 @@ export declare namespace code {
|
|
|
147
151
|
namespace view { }
|
|
148
152
|
}
|
|
149
153
|
export declare namespace coin {
|
|
154
|
+
interface Deposit<T0> {
|
|
155
|
+
account: MoveAddressType;
|
|
156
|
+
amount: bigint;
|
|
157
|
+
}
|
|
158
|
+
namespace Deposit {
|
|
159
|
+
const TYPE_QNAME = "0x1::coin::Deposit";
|
|
160
|
+
function type<T0>(arg0?: TypeDescriptor<T0>): TypeDescriptor<Deposit<T0>>;
|
|
161
|
+
}
|
|
162
|
+
interface DepositEvent {
|
|
163
|
+
amount: bigint;
|
|
164
|
+
}
|
|
165
|
+
namespace DepositEvent {
|
|
166
|
+
const TYPE_QNAME = "0x1::coin::DepositEvent";
|
|
167
|
+
function type(): TypeDescriptor<DepositEvent>;
|
|
168
|
+
}
|
|
169
|
+
interface DepositEventInstance extends TypedEventInstance<DepositEvent> {
|
|
170
|
+
data_decoded: DepositEvent;
|
|
171
|
+
type_arguments: [];
|
|
172
|
+
}
|
|
173
|
+
interface Withdraw<T0> {
|
|
174
|
+
account: MoveAddressType;
|
|
175
|
+
amount: bigint;
|
|
176
|
+
}
|
|
177
|
+
namespace Withdraw {
|
|
178
|
+
const TYPE_QNAME = "0x1::coin::Withdraw";
|
|
179
|
+
function type<T0>(arg0?: TypeDescriptor<T0>): TypeDescriptor<Withdraw<T0>>;
|
|
180
|
+
}
|
|
181
|
+
interface WithdrawEvent {
|
|
182
|
+
amount: bigint;
|
|
183
|
+
}
|
|
184
|
+
namespace WithdrawEvent {
|
|
185
|
+
const TYPE_QNAME = "0x1::coin::WithdrawEvent";
|
|
186
|
+
function type(): TypeDescriptor<WithdrawEvent>;
|
|
187
|
+
}
|
|
188
|
+
interface WithdrawEventInstance extends TypedEventInstance<WithdrawEvent> {
|
|
189
|
+
data_decoded: WithdrawEvent;
|
|
190
|
+
type_arguments: [];
|
|
191
|
+
}
|
|
150
192
|
interface AggregatableCoin<T0> {
|
|
151
193
|
value: aggregator.Aggregator;
|
|
152
194
|
}
|
|
@@ -241,25 +283,6 @@ export declare namespace coin {
|
|
|
241
283
|
data_decoded: CoinWithdraw;
|
|
242
284
|
type_arguments: [];
|
|
243
285
|
}
|
|
244
|
-
interface Deposit<T0> {
|
|
245
|
-
account: MoveAddressType;
|
|
246
|
-
amount: bigint;
|
|
247
|
-
}
|
|
248
|
-
namespace Deposit {
|
|
249
|
-
const TYPE_QNAME = "0x1::coin::Deposit";
|
|
250
|
-
function type<T0>(arg0?: TypeDescriptor<T0>): TypeDescriptor<Deposit<T0>>;
|
|
251
|
-
}
|
|
252
|
-
interface DepositEvent {
|
|
253
|
-
amount: bigint;
|
|
254
|
-
}
|
|
255
|
-
namespace DepositEvent {
|
|
256
|
-
const TYPE_QNAME = "0x1::coin::DepositEvent";
|
|
257
|
-
function type(): TypeDescriptor<DepositEvent>;
|
|
258
|
-
}
|
|
259
|
-
interface DepositEventInstance extends TypedEventInstance<DepositEvent> {
|
|
260
|
-
data_decoded: DepositEvent;
|
|
261
|
-
type_arguments: [];
|
|
262
|
-
}
|
|
263
286
|
interface FreezeCapability<T0> {
|
|
264
287
|
dummy_field: boolean;
|
|
265
288
|
}
|
|
@@ -330,26 +353,11 @@ export declare namespace coin {
|
|
|
330
353
|
const TYPE_QNAME = "0x1::coin::TransferRefReceipt";
|
|
331
354
|
function type(): TypeDescriptor<TransferRefReceipt>;
|
|
332
355
|
}
|
|
333
|
-
interface Withdraw<T0> {
|
|
334
|
-
account: MoveAddressType;
|
|
335
|
-
amount: bigint;
|
|
336
|
-
}
|
|
337
|
-
namespace Withdraw {
|
|
338
|
-
const TYPE_QNAME = "0x1::coin::Withdraw";
|
|
339
|
-
function type<T0>(arg0?: TypeDescriptor<T0>): TypeDescriptor<Withdraw<T0>>;
|
|
340
|
-
}
|
|
341
|
-
interface WithdrawEvent {
|
|
342
|
-
amount: bigint;
|
|
343
|
-
}
|
|
344
|
-
namespace WithdrawEvent {
|
|
345
|
-
const TYPE_QNAME = "0x1::coin::WithdrawEvent";
|
|
346
|
-
function type(): TypeDescriptor<WithdrawEvent>;
|
|
347
|
-
}
|
|
348
|
-
interface WithdrawEventInstance extends TypedEventInstance<WithdrawEvent> {
|
|
349
|
-
data_decoded: WithdrawEvent;
|
|
350
|
-
type_arguments: [];
|
|
351
|
-
}
|
|
352
356
|
namespace entry {
|
|
357
|
+
function transfer<T0 = any>(client: Aptos, account: AptosAccount, request: {
|
|
358
|
+
typeArguments: [MoveStructId];
|
|
359
|
+
functionArguments: [MoveAddressType, bigint];
|
|
360
|
+
}, options?: InputGenerateTransactionOptions): Promise<PendingTransactionResponse>;
|
|
353
361
|
function createCoinConversionMap(client: Aptos, account: AptosAccount, request: {
|
|
354
362
|
typeArguments: [];
|
|
355
363
|
functionArguments: [];
|
|
@@ -362,13 +370,13 @@ export declare namespace coin {
|
|
|
362
370
|
typeArguments: [MoveStructId];
|
|
363
371
|
functionArguments: [MoveAddressType, MoveAddressType];
|
|
364
372
|
}, options?: InputGenerateTransactionOptions): Promise<PendingTransactionResponse>;
|
|
365
|
-
function
|
|
373
|
+
function migrateCoinStoreToFungibleStore<T0 = any>(client: Aptos, account: AptosAccount, request: {
|
|
366
374
|
typeArguments: [MoveStructId];
|
|
367
|
-
functionArguments: [];
|
|
375
|
+
functionArguments: [MoveAddressType[]];
|
|
368
376
|
}, options?: InputGenerateTransactionOptions): Promise<PendingTransactionResponse>;
|
|
369
|
-
function
|
|
377
|
+
function migrateToFungibleStore<T0 = any>(client: Aptos, account: AptosAccount, request: {
|
|
370
378
|
typeArguments: [MoveStructId];
|
|
371
|
-
functionArguments: [
|
|
379
|
+
functionArguments: [];
|
|
372
380
|
}, options?: InputGenerateTransactionOptions): Promise<PendingTransactionResponse>;
|
|
373
381
|
function unfreezeCoinStore<T0 = any>(client: Aptos, account: AptosAccount, request: {
|
|
374
382
|
typeArguments: [MoveStructId];
|
|
@@ -380,24 +388,33 @@ export declare namespace coin {
|
|
|
380
388
|
}, options?: InputGenerateTransactionOptions): Promise<PendingTransactionResponse>;
|
|
381
389
|
}
|
|
382
390
|
namespace view {
|
|
383
|
-
function
|
|
391
|
+
function name<T0 = any>(client: Aptos, request: {
|
|
384
392
|
typeArguments: [MoveStructId];
|
|
385
|
-
|
|
386
|
-
|
|
387
|
-
function coinSupply<T0 = any>(client: Aptos, request: {
|
|
393
|
+
}, version?: bigint): Promise<[string]>;
|
|
394
|
+
function symbol$<T0 = any>(client: Aptos, request: {
|
|
388
395
|
typeArguments: [MoveStructId];
|
|
389
|
-
}, version?: bigint): Promise<[
|
|
396
|
+
}, version?: bigint): Promise<[string]>;
|
|
390
397
|
function decimals<T0 = any>(client: Aptos, request: {
|
|
391
398
|
typeArguments: [MoveStructId];
|
|
392
399
|
}, version?: bigint): Promise<[number]>;
|
|
393
|
-
function
|
|
400
|
+
function balance<T0 = any>(client: Aptos, request: {
|
|
394
401
|
typeArguments: [MoveStructId];
|
|
395
402
|
functionArguments: [MoveAddressType];
|
|
396
|
-
}, version?: bigint): Promise<[
|
|
403
|
+
}, version?: bigint): Promise<[bigint]>;
|
|
397
404
|
function isBalanceAtLeast<T0 = any>(client: Aptos, request: {
|
|
398
405
|
typeArguments: [MoveStructId];
|
|
399
406
|
functionArguments: [MoveAddressType, bigint];
|
|
400
407
|
}, version?: bigint): Promise<[boolean]>;
|
|
408
|
+
function supply<T0 = any>(client: Aptos, request: {
|
|
409
|
+
typeArguments: [MoveStructId];
|
|
410
|
+
}, version?: bigint): Promise<[option.Option<bigint>]>;
|
|
411
|
+
function coinSupply<T0 = any>(client: Aptos, request: {
|
|
412
|
+
typeArguments: [MoveStructId];
|
|
413
|
+
}, version?: bigint): Promise<[option.Option<bigint>]>;
|
|
414
|
+
function isAccountRegistered<T0 = any>(client: Aptos, request: {
|
|
415
|
+
typeArguments: [MoveStructId];
|
|
416
|
+
functionArguments: [MoveAddressType];
|
|
417
|
+
}, version?: bigint): Promise<[boolean]>;
|
|
401
418
|
function isCoinInitialized<T0 = any>(client: Aptos, request: {
|
|
402
419
|
typeArguments: [MoveStructId];
|
|
403
420
|
}, version?: bigint): Promise<[boolean]>;
|
|
@@ -405,9 +422,6 @@ export declare namespace coin {
|
|
|
405
422
|
typeArguments: [MoveStructId];
|
|
406
423
|
functionArguments: [MoveAddressType];
|
|
407
424
|
}, version?: bigint): Promise<[boolean]>;
|
|
408
|
-
function name<T0 = any>(client: Aptos, request: {
|
|
409
|
-
typeArguments: [MoveStructId];
|
|
410
|
-
}, version?: bigint): Promise<[string]>;
|
|
411
425
|
function pairedBurnRefExists<T0 = any>(client: Aptos, request: {
|
|
412
426
|
typeArguments: [MoveStructId];
|
|
413
427
|
}, version?: bigint): Promise<[boolean]>;
|
|
@@ -423,12 +437,6 @@ export declare namespace coin {
|
|
|
423
437
|
function pairedTransferRefExists<T0 = any>(client: Aptos, request: {
|
|
424
438
|
typeArguments: [MoveStructId];
|
|
425
439
|
}, version?: bigint): Promise<[boolean]>;
|
|
426
|
-
function supply<T0 = any>(client: Aptos, request: {
|
|
427
|
-
typeArguments: [MoveStructId];
|
|
428
|
-
}, version?: bigint): Promise<[option.Option<bigint>]>;
|
|
429
|
-
function symbol$<T0 = any>(client: Aptos, request: {
|
|
430
|
-
typeArguments: [MoveStructId];
|
|
431
|
-
}, version?: bigint): Promise<[string]>;
|
|
432
440
|
}
|
|
433
441
|
}
|
|
434
442
|
export declare namespace guid {
|
|
@@ -1102,6 +1110,10 @@ export declare namespace stake {
|
|
|
1102
1110
|
type_arguments: [];
|
|
1103
1111
|
}
|
|
1104
1112
|
namespace entry {
|
|
1113
|
+
function withdraw(client: Aptos, account: AptosAccount, request: {
|
|
1114
|
+
typeArguments: [];
|
|
1115
|
+
functionArguments: [bigint];
|
|
1116
|
+
}, options?: InputGenerateTransactionOptions): Promise<PendingTransactionResponse>;
|
|
1105
1117
|
function addStake(client: Aptos, account: AptosAccount, request: {
|
|
1106
1118
|
typeArguments: [];
|
|
1107
1119
|
functionArguments: [bigint];
|
|
@@ -1150,10 +1162,6 @@ export declare namespace stake {
|
|
|
1150
1162
|
typeArguments: [];
|
|
1151
1163
|
functionArguments: [MoveAddressType, string, string];
|
|
1152
1164
|
}, options?: InputGenerateTransactionOptions): Promise<PendingTransactionResponse>;
|
|
1153
|
-
function withdraw(client: Aptos, account: AptosAccount, request: {
|
|
1154
|
-
typeArguments: [];
|
|
1155
|
-
functionArguments: [bigint];
|
|
1156
|
-
}, options?: InputGenerateTransactionOptions): Promise<PendingTransactionResponse>;
|
|
1157
1165
|
}
|
|
1158
1166
|
namespace view {
|
|
1159
1167
|
function getCurrentEpochProposalCounts(client: Aptos, request: {
|
|
@@ -1751,6 +1759,10 @@ export declare namespace account {
|
|
|
1751
1759
|
typeArguments: [];
|
|
1752
1760
|
functionArguments: [MoveAddressType, number, string, string];
|
|
1753
1761
|
}, options?: InputGenerateTransactionOptions): Promise<PendingTransactionResponse>;
|
|
1762
|
+
function setOriginatingAddress(client: Aptos, account: AptosAccount, request: {
|
|
1763
|
+
typeArguments: [];
|
|
1764
|
+
functionArguments: [];
|
|
1765
|
+
}, options?: InputGenerateTransactionOptions): Promise<PendingTransactionResponse>;
|
|
1754
1766
|
}
|
|
1755
1767
|
namespace view {
|
|
1756
1768
|
function existsAt(client: Aptos, request: {
|
|
@@ -1777,6 +1789,9 @@ export declare namespace account {
|
|
|
1777
1789
|
function isSignerCapabilityOffered(client: Aptos, request: {
|
|
1778
1790
|
functionArguments: [MoveAddressType];
|
|
1779
1791
|
}, version?: bigint): Promise<[boolean]>;
|
|
1792
|
+
function originatingAddress(client: Aptos, request: {
|
|
1793
|
+
functionArguments: [MoveAddressType];
|
|
1794
|
+
}, version?: bigint): Promise<[option.Option<MoveAddressType>]>;
|
|
1780
1795
|
}
|
|
1781
1796
|
}
|
|
1782
1797
|
export declare namespace ed25519 {
|
|
@@ -1890,6 +1905,90 @@ export declare namespace version {
|
|
|
1890
1905
|
namespace view { }
|
|
1891
1906
|
}
|
|
1892
1907
|
export declare namespace vesting {
|
|
1908
|
+
interface Distribute {
|
|
1909
|
+
admin: MoveAddressType;
|
|
1910
|
+
vesting_contract_address: MoveAddressType;
|
|
1911
|
+
amount: bigint;
|
|
1912
|
+
}
|
|
1913
|
+
namespace Distribute {
|
|
1914
|
+
const TYPE_QNAME = "0x1::vesting::Distribute";
|
|
1915
|
+
function type(): TypeDescriptor<Distribute>;
|
|
1916
|
+
}
|
|
1917
|
+
interface DistributeInstance extends TypedEventInstance<Distribute> {
|
|
1918
|
+
data_decoded: Distribute;
|
|
1919
|
+
type_arguments: [];
|
|
1920
|
+
}
|
|
1921
|
+
interface DistributeEvent {
|
|
1922
|
+
admin: MoveAddressType;
|
|
1923
|
+
vesting_contract_address: MoveAddressType;
|
|
1924
|
+
amount: bigint;
|
|
1925
|
+
}
|
|
1926
|
+
namespace DistributeEvent {
|
|
1927
|
+
const TYPE_QNAME = "0x1::vesting::DistributeEvent";
|
|
1928
|
+
function type(): TypeDescriptor<DistributeEvent>;
|
|
1929
|
+
}
|
|
1930
|
+
interface DistributeEventInstance extends TypedEventInstance<DistributeEvent> {
|
|
1931
|
+
data_decoded: DistributeEvent;
|
|
1932
|
+
type_arguments: [];
|
|
1933
|
+
}
|
|
1934
|
+
interface ResetLockup {
|
|
1935
|
+
admin: MoveAddressType;
|
|
1936
|
+
vesting_contract_address: MoveAddressType;
|
|
1937
|
+
staking_pool_address: MoveAddressType;
|
|
1938
|
+
new_lockup_expiration_secs: bigint;
|
|
1939
|
+
}
|
|
1940
|
+
namespace ResetLockup {
|
|
1941
|
+
const TYPE_QNAME = "0x1::vesting::ResetLockup";
|
|
1942
|
+
function type(): TypeDescriptor<ResetLockup>;
|
|
1943
|
+
}
|
|
1944
|
+
interface ResetLockupInstance extends TypedEventInstance<ResetLockup> {
|
|
1945
|
+
data_decoded: ResetLockup;
|
|
1946
|
+
type_arguments: [];
|
|
1947
|
+
}
|
|
1948
|
+
interface ResetLockupEvent {
|
|
1949
|
+
admin: MoveAddressType;
|
|
1950
|
+
vesting_contract_address: MoveAddressType;
|
|
1951
|
+
staking_pool_address: MoveAddressType;
|
|
1952
|
+
new_lockup_expiration_secs: bigint;
|
|
1953
|
+
}
|
|
1954
|
+
namespace ResetLockupEvent {
|
|
1955
|
+
const TYPE_QNAME = "0x1::vesting::ResetLockupEvent";
|
|
1956
|
+
function type(): TypeDescriptor<ResetLockupEvent>;
|
|
1957
|
+
}
|
|
1958
|
+
interface ResetLockupEventInstance extends TypedEventInstance<ResetLockupEvent> {
|
|
1959
|
+
data_decoded: ResetLockupEvent;
|
|
1960
|
+
type_arguments: [];
|
|
1961
|
+
}
|
|
1962
|
+
interface UpdateVoter {
|
|
1963
|
+
admin: MoveAddressType;
|
|
1964
|
+
vesting_contract_address: MoveAddressType;
|
|
1965
|
+
staking_pool_address: MoveAddressType;
|
|
1966
|
+
old_voter: MoveAddressType;
|
|
1967
|
+
new_voter: MoveAddressType;
|
|
1968
|
+
}
|
|
1969
|
+
namespace UpdateVoter {
|
|
1970
|
+
const TYPE_QNAME = "0x1::vesting::UpdateVoter";
|
|
1971
|
+
function type(): TypeDescriptor<UpdateVoter>;
|
|
1972
|
+
}
|
|
1973
|
+
interface UpdateVoterInstance extends TypedEventInstance<UpdateVoter> {
|
|
1974
|
+
data_decoded: UpdateVoter;
|
|
1975
|
+
type_arguments: [];
|
|
1976
|
+
}
|
|
1977
|
+
interface UpdateVoterEvent {
|
|
1978
|
+
admin: MoveAddressType;
|
|
1979
|
+
vesting_contract_address: MoveAddressType;
|
|
1980
|
+
staking_pool_address: MoveAddressType;
|
|
1981
|
+
old_voter: MoveAddressType;
|
|
1982
|
+
new_voter: MoveAddressType;
|
|
1983
|
+
}
|
|
1984
|
+
namespace UpdateVoterEvent {
|
|
1985
|
+
const TYPE_QNAME = "0x1::vesting::UpdateVoterEvent";
|
|
1986
|
+
function type(): TypeDescriptor<UpdateVoterEvent>;
|
|
1987
|
+
}
|
|
1988
|
+
interface UpdateVoterEventInstance extends TypedEventInstance<UpdateVoterEvent> {
|
|
1989
|
+
data_decoded: UpdateVoterEvent;
|
|
1990
|
+
type_arguments: [];
|
|
1991
|
+
}
|
|
1893
1992
|
interface AdminStore {
|
|
1894
1993
|
vesting_contracts: MoveAddressType[];
|
|
1895
1994
|
nonce: bigint;
|
|
@@ -1959,88 +2058,34 @@ export declare namespace vesting {
|
|
|
1959
2058
|
data_decoded: CreateVestingContractEvent;
|
|
1960
2059
|
type_arguments: [];
|
|
1961
2060
|
}
|
|
1962
|
-
interface
|
|
2061
|
+
interface SetBeneficiary {
|
|
1963
2062
|
admin: MoveAddressType;
|
|
1964
2063
|
vesting_contract_address: MoveAddressType;
|
|
1965
|
-
|
|
2064
|
+
shareholder: MoveAddressType;
|
|
2065
|
+
old_beneficiary: MoveAddressType;
|
|
2066
|
+
new_beneficiary: MoveAddressType;
|
|
1966
2067
|
}
|
|
1967
|
-
namespace
|
|
1968
|
-
const TYPE_QNAME = "0x1::vesting::
|
|
1969
|
-
function type(): TypeDescriptor<
|
|
2068
|
+
namespace SetBeneficiary {
|
|
2069
|
+
const TYPE_QNAME = "0x1::vesting::SetBeneficiary";
|
|
2070
|
+
function type(): TypeDescriptor<SetBeneficiary>;
|
|
1970
2071
|
}
|
|
1971
|
-
interface
|
|
1972
|
-
data_decoded:
|
|
2072
|
+
interface SetBeneficiaryInstance extends TypedEventInstance<SetBeneficiary> {
|
|
2073
|
+
data_decoded: SetBeneficiary;
|
|
1973
2074
|
type_arguments: [];
|
|
1974
2075
|
}
|
|
1975
|
-
interface
|
|
2076
|
+
interface SetBeneficiaryEvent {
|
|
1976
2077
|
admin: MoveAddressType;
|
|
1977
2078
|
vesting_contract_address: MoveAddressType;
|
|
1978
|
-
|
|
2079
|
+
shareholder: MoveAddressType;
|
|
2080
|
+
old_beneficiary: MoveAddressType;
|
|
2081
|
+
new_beneficiary: MoveAddressType;
|
|
1979
2082
|
}
|
|
1980
|
-
namespace
|
|
1981
|
-
const TYPE_QNAME = "0x1::vesting::
|
|
1982
|
-
function type(): TypeDescriptor<
|
|
2083
|
+
namespace SetBeneficiaryEvent {
|
|
2084
|
+
const TYPE_QNAME = "0x1::vesting::SetBeneficiaryEvent";
|
|
2085
|
+
function type(): TypeDescriptor<SetBeneficiaryEvent>;
|
|
1983
2086
|
}
|
|
1984
|
-
interface
|
|
1985
|
-
data_decoded:
|
|
1986
|
-
type_arguments: [];
|
|
1987
|
-
}
|
|
1988
|
-
interface ResetLockup {
|
|
1989
|
-
admin: MoveAddressType;
|
|
1990
|
-
vesting_contract_address: MoveAddressType;
|
|
1991
|
-
staking_pool_address: MoveAddressType;
|
|
1992
|
-
new_lockup_expiration_secs: bigint;
|
|
1993
|
-
}
|
|
1994
|
-
namespace ResetLockup {
|
|
1995
|
-
const TYPE_QNAME = "0x1::vesting::ResetLockup";
|
|
1996
|
-
function type(): TypeDescriptor<ResetLockup>;
|
|
1997
|
-
}
|
|
1998
|
-
interface ResetLockupInstance extends TypedEventInstance<ResetLockup> {
|
|
1999
|
-
data_decoded: ResetLockup;
|
|
2000
|
-
type_arguments: [];
|
|
2001
|
-
}
|
|
2002
|
-
interface ResetLockupEvent {
|
|
2003
|
-
admin: MoveAddressType;
|
|
2004
|
-
vesting_contract_address: MoveAddressType;
|
|
2005
|
-
staking_pool_address: MoveAddressType;
|
|
2006
|
-
new_lockup_expiration_secs: bigint;
|
|
2007
|
-
}
|
|
2008
|
-
namespace ResetLockupEvent {
|
|
2009
|
-
const TYPE_QNAME = "0x1::vesting::ResetLockupEvent";
|
|
2010
|
-
function type(): TypeDescriptor<ResetLockupEvent>;
|
|
2011
|
-
}
|
|
2012
|
-
interface ResetLockupEventInstance extends TypedEventInstance<ResetLockupEvent> {
|
|
2013
|
-
data_decoded: ResetLockupEvent;
|
|
2014
|
-
type_arguments: [];
|
|
2015
|
-
}
|
|
2016
|
-
interface SetBeneficiary {
|
|
2017
|
-
admin: MoveAddressType;
|
|
2018
|
-
vesting_contract_address: MoveAddressType;
|
|
2019
|
-
shareholder: MoveAddressType;
|
|
2020
|
-
old_beneficiary: MoveAddressType;
|
|
2021
|
-
new_beneficiary: MoveAddressType;
|
|
2022
|
-
}
|
|
2023
|
-
namespace SetBeneficiary {
|
|
2024
|
-
const TYPE_QNAME = "0x1::vesting::SetBeneficiary";
|
|
2025
|
-
function type(): TypeDescriptor<SetBeneficiary>;
|
|
2026
|
-
}
|
|
2027
|
-
interface SetBeneficiaryInstance extends TypedEventInstance<SetBeneficiary> {
|
|
2028
|
-
data_decoded: SetBeneficiary;
|
|
2029
|
-
type_arguments: [];
|
|
2030
|
-
}
|
|
2031
|
-
interface SetBeneficiaryEvent {
|
|
2032
|
-
admin: MoveAddressType;
|
|
2033
|
-
vesting_contract_address: MoveAddressType;
|
|
2034
|
-
shareholder: MoveAddressType;
|
|
2035
|
-
old_beneficiary: MoveAddressType;
|
|
2036
|
-
new_beneficiary: MoveAddressType;
|
|
2037
|
-
}
|
|
2038
|
-
namespace SetBeneficiaryEvent {
|
|
2039
|
-
const TYPE_QNAME = "0x1::vesting::SetBeneficiaryEvent";
|
|
2040
|
-
function type(): TypeDescriptor<SetBeneficiaryEvent>;
|
|
2041
|
-
}
|
|
2042
|
-
interface SetBeneficiaryEventInstance extends TypedEventInstance<SetBeneficiaryEvent> {
|
|
2043
|
-
data_decoded: SetBeneficiaryEvent;
|
|
2087
|
+
interface SetBeneficiaryEventInstance extends TypedEventInstance<SetBeneficiaryEvent> {
|
|
2088
|
+
data_decoded: SetBeneficiaryEvent;
|
|
2044
2089
|
type_arguments: [];
|
|
2045
2090
|
}
|
|
2046
2091
|
interface StakingInfo {
|
|
@@ -2137,36 +2182,6 @@ export declare namespace vesting {
|
|
|
2137
2182
|
data_decoded: UpdateOperatorEvent;
|
|
2138
2183
|
type_arguments: [];
|
|
2139
2184
|
}
|
|
2140
|
-
interface UpdateVoter {
|
|
2141
|
-
admin: MoveAddressType;
|
|
2142
|
-
vesting_contract_address: MoveAddressType;
|
|
2143
|
-
staking_pool_address: MoveAddressType;
|
|
2144
|
-
old_voter: MoveAddressType;
|
|
2145
|
-
new_voter: MoveAddressType;
|
|
2146
|
-
}
|
|
2147
|
-
namespace UpdateVoter {
|
|
2148
|
-
const TYPE_QNAME = "0x1::vesting::UpdateVoter";
|
|
2149
|
-
function type(): TypeDescriptor<UpdateVoter>;
|
|
2150
|
-
}
|
|
2151
|
-
interface UpdateVoterInstance extends TypedEventInstance<UpdateVoter> {
|
|
2152
|
-
data_decoded: UpdateVoter;
|
|
2153
|
-
type_arguments: [];
|
|
2154
|
-
}
|
|
2155
|
-
interface UpdateVoterEvent {
|
|
2156
|
-
admin: MoveAddressType;
|
|
2157
|
-
vesting_contract_address: MoveAddressType;
|
|
2158
|
-
staking_pool_address: MoveAddressType;
|
|
2159
|
-
old_voter: MoveAddressType;
|
|
2160
|
-
new_voter: MoveAddressType;
|
|
2161
|
-
}
|
|
2162
|
-
namespace UpdateVoterEvent {
|
|
2163
|
-
const TYPE_QNAME = "0x1::vesting::UpdateVoterEvent";
|
|
2164
|
-
function type(): TypeDescriptor<UpdateVoterEvent>;
|
|
2165
|
-
}
|
|
2166
|
-
interface UpdateVoterEventInstance extends TypedEventInstance<UpdateVoterEvent> {
|
|
2167
|
-
data_decoded: UpdateVoterEvent;
|
|
2168
|
-
type_arguments: [];
|
|
2169
|
-
}
|
|
2170
2185
|
interface Vest {
|
|
2171
2186
|
admin: MoveAddressType;
|
|
2172
2187
|
vesting_contract_address: MoveAddressType;
|
|
@@ -2239,33 +2254,45 @@ export declare namespace vesting {
|
|
|
2239
2254
|
function type(): TypeDescriptor<VestingSchedule>;
|
|
2240
2255
|
}
|
|
2241
2256
|
namespace entry {
|
|
2242
|
-
function
|
|
2257
|
+
function setBeneficiaryForOperator(client: Aptos, account: AptosAccount, request: {
|
|
2243
2258
|
typeArguments: [];
|
|
2244
2259
|
functionArguments: [MoveAddressType];
|
|
2245
2260
|
}, options?: InputGenerateTransactionOptions): Promise<PendingTransactionResponse>;
|
|
2261
|
+
function updateCommissionPercentage(client: Aptos, account: AptosAccount, request: {
|
|
2262
|
+
typeArguments: [];
|
|
2263
|
+
functionArguments: [MoveAddressType, bigint];
|
|
2264
|
+
}, options?: InputGenerateTransactionOptions): Promise<PendingTransactionResponse>;
|
|
2246
2265
|
function distribute(client: Aptos, account: AptosAccount, request: {
|
|
2247
2266
|
typeArguments: [];
|
|
2248
2267
|
functionArguments: [MoveAddressType];
|
|
2249
2268
|
}, options?: InputGenerateTransactionOptions): Promise<PendingTransactionResponse>;
|
|
2250
|
-
function
|
|
2269
|
+
function resetLockup(client: Aptos, account: AptosAccount, request: {
|
|
2251
2270
|
typeArguments: [];
|
|
2252
|
-
functionArguments: [MoveAddressType
|
|
2271
|
+
functionArguments: [MoveAddressType];
|
|
2253
2272
|
}, options?: InputGenerateTransactionOptions): Promise<PendingTransactionResponse>;
|
|
2254
|
-
function
|
|
2273
|
+
function unlockRewards(client: Aptos, account: AptosAccount, request: {
|
|
2274
|
+
typeArguments: [];
|
|
2275
|
+
functionArguments: [MoveAddressType];
|
|
2276
|
+
}, options?: InputGenerateTransactionOptions): Promise<PendingTransactionResponse>;
|
|
2277
|
+
function updateVoter(client: Aptos, account: AptosAccount, request: {
|
|
2255
2278
|
typeArguments: [];
|
|
2256
2279
|
functionArguments: [MoveAddressType, MoveAddressType];
|
|
2257
2280
|
}, options?: InputGenerateTransactionOptions): Promise<PendingTransactionResponse>;
|
|
2258
|
-
function
|
|
2281
|
+
function adminWithdraw(client: Aptos, account: AptosAccount, request: {
|
|
2259
2282
|
typeArguments: [];
|
|
2260
2283
|
functionArguments: [MoveAddressType];
|
|
2261
2284
|
}, options?: InputGenerateTransactionOptions): Promise<PendingTransactionResponse>;
|
|
2262
|
-
function
|
|
2285
|
+
function distributeMany(client: Aptos, account: AptosAccount, request: {
|
|
2263
2286
|
typeArguments: [];
|
|
2264
|
-
functionArguments: [MoveAddressType
|
|
2287
|
+
functionArguments: [MoveAddressType[]];
|
|
2265
2288
|
}, options?: InputGenerateTransactionOptions): Promise<PendingTransactionResponse>;
|
|
2266
|
-
function
|
|
2289
|
+
function resetBeneficiary(client: Aptos, account: AptosAccount, request: {
|
|
2267
2290
|
typeArguments: [];
|
|
2268
|
-
functionArguments: [MoveAddressType];
|
|
2291
|
+
functionArguments: [MoveAddressType, MoveAddressType];
|
|
2292
|
+
}, options?: InputGenerateTransactionOptions): Promise<PendingTransactionResponse>;
|
|
2293
|
+
function setBeneficiary(client: Aptos, account: AptosAccount, request: {
|
|
2294
|
+
typeArguments: [];
|
|
2295
|
+
functionArguments: [MoveAddressType, MoveAddressType, MoveAddressType];
|
|
2269
2296
|
}, options?: InputGenerateTransactionOptions): Promise<PendingTransactionResponse>;
|
|
2270
2297
|
function setBeneficiaryResetter(client: Aptos, account: AptosAccount, request: {
|
|
2271
2298
|
typeArguments: [];
|
|
@@ -2279,18 +2306,10 @@ export declare namespace vesting {
|
|
|
2279
2306
|
typeArguments: [];
|
|
2280
2307
|
functionArguments: [MoveAddressType];
|
|
2281
2308
|
}, options?: InputGenerateTransactionOptions): Promise<PendingTransactionResponse>;
|
|
2282
|
-
function unlockRewards(client: Aptos, account: AptosAccount, request: {
|
|
2283
|
-
typeArguments: [];
|
|
2284
|
-
functionArguments: [MoveAddressType];
|
|
2285
|
-
}, options?: InputGenerateTransactionOptions): Promise<PendingTransactionResponse>;
|
|
2286
2309
|
function unlockRewardsMany(client: Aptos, account: AptosAccount, request: {
|
|
2287
2310
|
typeArguments: [];
|
|
2288
2311
|
functionArguments: [MoveAddressType[]];
|
|
2289
2312
|
}, options?: InputGenerateTransactionOptions): Promise<PendingTransactionResponse>;
|
|
2290
|
-
function updateCommissionPercentage(client: Aptos, account: AptosAccount, request: {
|
|
2291
|
-
typeArguments: [];
|
|
2292
|
-
functionArguments: [MoveAddressType, bigint];
|
|
2293
|
-
}, options?: InputGenerateTransactionOptions): Promise<PendingTransactionResponse>;
|
|
2294
2313
|
function updateOperator(client: Aptos, account: AptosAccount, request: {
|
|
2295
2314
|
typeArguments: [];
|
|
2296
2315
|
functionArguments: [MoveAddressType, MoveAddressType, bigint];
|
|
@@ -2299,10 +2318,6 @@ export declare namespace vesting {
|
|
|
2299
2318
|
typeArguments: [];
|
|
2300
2319
|
functionArguments: [MoveAddressType, MoveAddressType];
|
|
2301
2320
|
}, options?: InputGenerateTransactionOptions): Promise<PendingTransactionResponse>;
|
|
2302
|
-
function updateVoter(client: Aptos, account: AptosAccount, request: {
|
|
2303
|
-
typeArguments: [];
|
|
2304
|
-
functionArguments: [MoveAddressType, MoveAddressType];
|
|
2305
|
-
}, options?: InputGenerateTransactionOptions): Promise<PendingTransactionResponse>;
|
|
2306
2321
|
function vest(client: Aptos, account: AptosAccount, request: {
|
|
2307
2322
|
typeArguments: [];
|
|
2308
2323
|
functionArguments: [MoveAddressType];
|
|
@@ -2313,25 +2328,19 @@ export declare namespace vesting {
|
|
|
2313
2328
|
}, options?: InputGenerateTransactionOptions): Promise<PendingTransactionResponse>;
|
|
2314
2329
|
}
|
|
2315
2330
|
namespace view {
|
|
2316
|
-
function accumulatedRewards(client: Aptos, request: {
|
|
2317
|
-
functionArguments: [MoveAddressType, MoveAddressType];
|
|
2318
|
-
}, version?: bigint): Promise<[bigint]>;
|
|
2319
|
-
function beneficiary(client: Aptos, request: {
|
|
2320
|
-
functionArguments: [MoveAddressType, MoveAddressType];
|
|
2321
|
-
}, version?: bigint): Promise<[MoveAddressType]>;
|
|
2322
2331
|
function operator(client: Aptos, request: {
|
|
2323
2332
|
functionArguments: [MoveAddressType];
|
|
2324
2333
|
}, version?: bigint): Promise<[MoveAddressType]>;
|
|
2325
|
-
function
|
|
2326
|
-
functionArguments: [MoveAddressType];
|
|
2327
|
-
}, version?: bigint): Promise<[bigint]>;
|
|
2328
|
-
function periodDurationSecs(client: Aptos, request: {
|
|
2334
|
+
function voter(client: Aptos, request: {
|
|
2329
2335
|
functionArguments: [MoveAddressType];
|
|
2330
|
-
}, version?: bigint): Promise<[
|
|
2331
|
-
function
|
|
2336
|
+
}, version?: bigint): Promise<[MoveAddressType]>;
|
|
2337
|
+
function shareholder(client: Aptos, request: {
|
|
2338
|
+
functionArguments: [MoveAddressType, MoveAddressType];
|
|
2339
|
+
}, version?: bigint): Promise<[MoveAddressType]>;
|
|
2340
|
+
function operatorCommissionPercentage(client: Aptos, request: {
|
|
2332
2341
|
functionArguments: [MoveAddressType];
|
|
2333
2342
|
}, version?: bigint): Promise<[bigint]>;
|
|
2334
|
-
function
|
|
2343
|
+
function beneficiary(client: Aptos, request: {
|
|
2335
2344
|
functionArguments: [MoveAddressType, MoveAddressType];
|
|
2336
2345
|
}, version?: bigint): Promise<[MoveAddressType]>;
|
|
2337
2346
|
function shareholders(client: Aptos, request: {
|
|
@@ -2340,21 +2349,27 @@ export declare namespace vesting {
|
|
|
2340
2349
|
function stakePoolAddress(client: Aptos, request: {
|
|
2341
2350
|
functionArguments: [MoveAddressType];
|
|
2342
2351
|
}, version?: bigint): Promise<[MoveAddressType]>;
|
|
2352
|
+
function accumulatedRewards(client: Aptos, request: {
|
|
2353
|
+
functionArguments: [MoveAddressType, MoveAddressType];
|
|
2354
|
+
}, version?: bigint): Promise<[bigint]>;
|
|
2355
|
+
function vestingSchedule(client: Aptos, request: {
|
|
2356
|
+
functionArguments: [MoveAddressType];
|
|
2357
|
+
}, version?: bigint): Promise<[vesting.VestingSchedule]>;
|
|
2358
|
+
function periodDurationSecs(client: Aptos, request: {
|
|
2359
|
+
functionArguments: [MoveAddressType];
|
|
2360
|
+
}, version?: bigint): Promise<[bigint]>;
|
|
2361
|
+
function remainingGrant(client: Aptos, request: {
|
|
2362
|
+
functionArguments: [MoveAddressType];
|
|
2363
|
+
}, version?: bigint): Promise<[bigint]>;
|
|
2343
2364
|
function totalAccumulatedRewards(client: Aptos, request: {
|
|
2344
2365
|
functionArguments: [MoveAddressType];
|
|
2345
2366
|
}, version?: bigint): Promise<[bigint]>;
|
|
2346
2367
|
function vestingContracts(client: Aptos, request: {
|
|
2347
2368
|
functionArguments: [MoveAddressType];
|
|
2348
2369
|
}, version?: bigint): Promise<[MoveAddressType[]]>;
|
|
2349
|
-
function vestingSchedule(client: Aptos, request: {
|
|
2350
|
-
functionArguments: [MoveAddressType];
|
|
2351
|
-
}, version?: bigint): Promise<[vesting.VestingSchedule]>;
|
|
2352
2370
|
function vestingStartSecs(client: Aptos, request: {
|
|
2353
2371
|
functionArguments: [MoveAddressType];
|
|
2354
2372
|
}, version?: bigint): Promise<[bigint]>;
|
|
2355
|
-
function voter(client: Aptos, request: {
|
|
2356
|
-
functionArguments: [MoveAddressType];
|
|
2357
|
-
}, version?: bigint): Promise<[MoveAddressType]>;
|
|
2358
2373
|
}
|
|
2359
2374
|
}
|
|
2360
2375
|
export declare namespace bls12381 {
|
|
@@ -2546,6 +2561,10 @@ export declare namespace aptos_coin {
|
|
|
2546
2561
|
function type(): TypeDescriptor<MintCapStore>;
|
|
2547
2562
|
}
|
|
2548
2563
|
namespace entry {
|
|
2564
|
+
function mint(client: Aptos, account: AptosAccount, request: {
|
|
2565
|
+
typeArguments: [];
|
|
2566
|
+
functionArguments: [MoveAddressType, bigint];
|
|
2567
|
+
}, options?: InputGenerateTransactionOptions): Promise<PendingTransactionResponse>;
|
|
2549
2568
|
function claimMintCapability(client: Aptos, account: AptosAccount, request: {
|
|
2550
2569
|
typeArguments: [];
|
|
2551
2570
|
functionArguments: [];
|
|
@@ -2554,10 +2573,6 @@ export declare namespace aptos_coin {
|
|
|
2554
2573
|
typeArguments: [];
|
|
2555
2574
|
functionArguments: [MoveAddressType, MoveAddressType];
|
|
2556
2575
|
}, options?: InputGenerateTransactionOptions): Promise<PendingTransactionResponse>;
|
|
2557
|
-
function mint(client: Aptos, account: AptosAccount, request: {
|
|
2558
|
-
typeArguments: [];
|
|
2559
|
-
functionArguments: [MoveAddressType, bigint];
|
|
2560
|
-
}, options?: InputGenerateTransactionOptions): Promise<PendingTransactionResponse>;
|
|
2561
2576
|
}
|
|
2562
2577
|
namespace view { }
|
|
2563
2578
|
}
|
|
@@ -2820,18 +2835,14 @@ export declare namespace managed_coin {
|
|
|
2820
2835
|
function type<T0>(arg0?: TypeDescriptor<T0>): TypeDescriptor<Capabilities<T0>>;
|
|
2821
2836
|
}
|
|
2822
2837
|
namespace entry {
|
|
2823
|
-
function burn<T0 = any>(client: Aptos, account: AptosAccount, request: {
|
|
2824
|
-
typeArguments: [MoveStructId];
|
|
2825
|
-
functionArguments: [bigint];
|
|
2826
|
-
}, options?: InputGenerateTransactionOptions): Promise<PendingTransactionResponse>;
|
|
2827
|
-
function destroyCaps<T0 = any>(client: Aptos, account: AptosAccount, request: {
|
|
2828
|
-
typeArguments: [MoveStructId];
|
|
2829
|
-
functionArguments: [];
|
|
2830
|
-
}, options?: InputGenerateTransactionOptions): Promise<PendingTransactionResponse>;
|
|
2831
2838
|
function initialize<T0 = any>(client: Aptos, account: AptosAccount, request: {
|
|
2832
2839
|
typeArguments: [MoveStructId];
|
|
2833
2840
|
functionArguments: [string, string, number, boolean];
|
|
2834
2841
|
}, options?: InputGenerateTransactionOptions): Promise<PendingTransactionResponse>;
|
|
2842
|
+
function burn<T0 = any>(client: Aptos, account: AptosAccount, request: {
|
|
2843
|
+
typeArguments: [MoveStructId];
|
|
2844
|
+
functionArguments: [bigint];
|
|
2845
|
+
}, options?: InputGenerateTransactionOptions): Promise<PendingTransactionResponse>;
|
|
2835
2846
|
function mint<T0 = any>(client: Aptos, account: AptosAccount, request: {
|
|
2836
2847
|
typeArguments: [MoveStructId];
|
|
2837
2848
|
functionArguments: [MoveAddressType, bigint];
|
|
@@ -2840,6 +2851,10 @@ export declare namespace managed_coin {
|
|
|
2840
2851
|
typeArguments: [MoveStructId];
|
|
2841
2852
|
functionArguments: [];
|
|
2842
2853
|
}, options?: InputGenerateTransactionOptions): Promise<PendingTransactionResponse>;
|
|
2854
|
+
function destroyCaps<T0 = any>(client: Aptos, account: AptosAccount, request: {
|
|
2855
|
+
typeArguments: [MoveStructId];
|
|
2856
|
+
functionArguments: [];
|
|
2857
|
+
}, options?: InputGenerateTransactionOptions): Promise<PendingTransactionResponse>;
|
|
2843
2858
|
}
|
|
2844
2859
|
namespace view { }
|
|
2845
2860
|
}
|
|
@@ -2973,6 +2988,14 @@ export declare namespace aptos_account {
|
|
|
2973
2988
|
function type(): TypeDescriptor<DirectTransferConfig>;
|
|
2974
2989
|
}
|
|
2975
2990
|
namespace entry {
|
|
2991
|
+
function createAccount(client: Aptos, account: AptosAccount, request: {
|
|
2992
|
+
typeArguments: [];
|
|
2993
|
+
functionArguments: [MoveAddressType];
|
|
2994
|
+
}, options?: InputGenerateTransactionOptions): Promise<PendingTransactionResponse>;
|
|
2995
|
+
function transfer(client: Aptos, account: AptosAccount, request: {
|
|
2996
|
+
typeArguments: [];
|
|
2997
|
+
functionArguments: [MoveAddressType, bigint];
|
|
2998
|
+
}, options?: InputGenerateTransactionOptions): Promise<PendingTransactionResponse>;
|
|
2976
2999
|
function batchTransfer(client: Aptos, account: AptosAccount, request: {
|
|
2977
3000
|
typeArguments: [];
|
|
2978
3001
|
functionArguments: [MoveAddressType[], bigint[]];
|
|
@@ -2989,10 +3012,6 @@ export declare namespace aptos_account {
|
|
|
2989
3012
|
bigint[]
|
|
2990
3013
|
];
|
|
2991
3014
|
}, options?: InputGenerateTransactionOptions): Promise<PendingTransactionResponse>;
|
|
2992
|
-
function createAccount(client: Aptos, account: AptosAccount, request: {
|
|
2993
|
-
typeArguments: [];
|
|
2994
|
-
functionArguments: [MoveAddressType];
|
|
2995
|
-
}, options?: InputGenerateTransactionOptions): Promise<PendingTransactionResponse>;
|
|
2996
3015
|
function fungibleTransferOnly(client: Aptos, account: AptosAccount, request: {
|
|
2997
3016
|
typeArguments: [];
|
|
2998
3017
|
functionArguments: [MoveAddressType, bigint];
|
|
@@ -3001,10 +3020,6 @@ export declare namespace aptos_account {
|
|
|
3001
3020
|
typeArguments: [];
|
|
3002
3021
|
functionArguments: [boolean];
|
|
3003
3022
|
}, options?: InputGenerateTransactionOptions): Promise<PendingTransactionResponse>;
|
|
3004
|
-
function transfer(client: Aptos, account: AptosAccount, request: {
|
|
3005
|
-
typeArguments: [];
|
|
3006
|
-
functionArguments: [MoveAddressType, bigint];
|
|
3007
|
-
}, options?: InputGenerateTransactionOptions): Promise<PendingTransactionResponse>;
|
|
3008
3023
|
function transferCoins<T0 = any>(client: Aptos, account: AptosAccount, request: {
|
|
3009
3024
|
typeArguments: [MoveStructId];
|
|
3010
3025
|
functionArguments: [MoveAddressType, bigint];
|
|
@@ -3032,20 +3047,6 @@ export declare namespace bn254_algebra {
|
|
|
3032
3047
|
const TYPE_QNAME = "0x1::bn254_algebra::FormatFq12LscLsb";
|
|
3033
3048
|
function type(): TypeDescriptor<FormatFq12LscLsb>;
|
|
3034
3049
|
}
|
|
3035
|
-
interface FormatFqLsb {
|
|
3036
|
-
dummy_field: boolean;
|
|
3037
|
-
}
|
|
3038
|
-
namespace FormatFqLsb {
|
|
3039
|
-
const TYPE_QNAME = "0x1::bn254_algebra::FormatFqLsb";
|
|
3040
|
-
function type(): TypeDescriptor<FormatFqLsb>;
|
|
3041
|
-
}
|
|
3042
|
-
interface FormatFqMsb {
|
|
3043
|
-
dummy_field: boolean;
|
|
3044
|
-
}
|
|
3045
|
-
namespace FormatFqMsb {
|
|
3046
|
-
const TYPE_QNAME = "0x1::bn254_algebra::FormatFqMsb";
|
|
3047
|
-
function type(): TypeDescriptor<FormatFqMsb>;
|
|
3048
|
-
}
|
|
3049
3050
|
interface FormatFrLsb {
|
|
3050
3051
|
dummy_field: boolean;
|
|
3051
3052
|
}
|
|
@@ -3095,13 +3096,6 @@ export declare namespace bn254_algebra {
|
|
|
3095
3096
|
const TYPE_QNAME = "0x1::bn254_algebra::FormatGt";
|
|
3096
3097
|
function type(): TypeDescriptor<FormatGt>;
|
|
3097
3098
|
}
|
|
3098
|
-
interface Fq {
|
|
3099
|
-
dummy_field: boolean;
|
|
3100
|
-
}
|
|
3101
|
-
namespace Fq {
|
|
3102
|
-
const TYPE_QNAME = "0x1::bn254_algebra::Fq";
|
|
3103
|
-
function type(): TypeDescriptor<Fq>;
|
|
3104
|
-
}
|
|
3105
3099
|
interface Fq12 {
|
|
3106
3100
|
dummy_field: boolean;
|
|
3107
3101
|
}
|
|
@@ -3137,6 +3131,27 @@ export declare namespace bn254_algebra {
|
|
|
3137
3131
|
const TYPE_QNAME = "0x1::bn254_algebra::Gt";
|
|
3138
3132
|
function type(): TypeDescriptor<Gt>;
|
|
3139
3133
|
}
|
|
3134
|
+
interface FormatFqLsb {
|
|
3135
|
+
dummy_field: boolean;
|
|
3136
|
+
}
|
|
3137
|
+
namespace FormatFqLsb {
|
|
3138
|
+
const TYPE_QNAME = "0x1::bn254_algebra::FormatFqLsb";
|
|
3139
|
+
function type(): TypeDescriptor<FormatFqLsb>;
|
|
3140
|
+
}
|
|
3141
|
+
interface FormatFqMsb {
|
|
3142
|
+
dummy_field: boolean;
|
|
3143
|
+
}
|
|
3144
|
+
namespace FormatFqMsb {
|
|
3145
|
+
const TYPE_QNAME = "0x1::bn254_algebra::FormatFqMsb";
|
|
3146
|
+
function type(): TypeDescriptor<FormatFqMsb>;
|
|
3147
|
+
}
|
|
3148
|
+
interface Fq {
|
|
3149
|
+
dummy_field: boolean;
|
|
3150
|
+
}
|
|
3151
|
+
namespace Fq {
|
|
3152
|
+
const TYPE_QNAME = "0x1::bn254_algebra::Fq";
|
|
3153
|
+
function type(): TypeDescriptor<Fq>;
|
|
3154
|
+
}
|
|
3140
3155
|
namespace entry { }
|
|
3141
3156
|
namespace view { }
|
|
3142
3157
|
}
|
|
@@ -3291,15 +3306,29 @@ export declare namespace crypto_algebra {
|
|
|
3291
3306
|
namespace view { }
|
|
3292
3307
|
}
|
|
3293
3308
|
export declare namespace fungible_asset {
|
|
3294
|
-
interface
|
|
3309
|
+
interface TransferRef {
|
|
3295
3310
|
metadata: object$.Object<fungible_asset.Metadata>;
|
|
3296
3311
|
}
|
|
3297
|
-
namespace
|
|
3298
|
-
const TYPE_QNAME = "0x1::fungible_asset::
|
|
3299
|
-
function type(): TypeDescriptor<
|
|
3312
|
+
namespace TransferRef {
|
|
3313
|
+
const TYPE_QNAME = "0x1::fungible_asset::TransferRef";
|
|
3314
|
+
function type(): TypeDescriptor<TransferRef>;
|
|
3300
3315
|
}
|
|
3301
|
-
interface
|
|
3302
|
-
|
|
3316
|
+
interface Untransferable {
|
|
3317
|
+
dummy_field: boolean;
|
|
3318
|
+
}
|
|
3319
|
+
namespace Untransferable {
|
|
3320
|
+
const TYPE_QNAME = "0x1::fungible_asset::Untransferable";
|
|
3321
|
+
function type(): TypeDescriptor<Untransferable>;
|
|
3322
|
+
}
|
|
3323
|
+
interface BurnRef {
|
|
3324
|
+
metadata: object$.Object<fungible_asset.Metadata>;
|
|
3325
|
+
}
|
|
3326
|
+
namespace BurnRef {
|
|
3327
|
+
const TYPE_QNAME = "0x1::fungible_asset::BurnRef";
|
|
3328
|
+
function type(): TypeDescriptor<BurnRef>;
|
|
3329
|
+
}
|
|
3330
|
+
interface ConcurrentFungibleBalance {
|
|
3331
|
+
balance: aggregator_v2.Aggregator<bigint>;
|
|
3303
3332
|
}
|
|
3304
3333
|
namespace ConcurrentFungibleBalance {
|
|
3305
3334
|
const TYPE_QNAME = "0x1::fungible_asset::ConcurrentFungibleBalance";
|
|
@@ -3433,20 +3462,6 @@ export declare namespace fungible_asset {
|
|
|
3433
3462
|
const TYPE_QNAME = "0x1::fungible_asset::Supply";
|
|
3434
3463
|
function type(): TypeDescriptor<Supply>;
|
|
3435
3464
|
}
|
|
3436
|
-
interface TransferRef {
|
|
3437
|
-
metadata: object$.Object<fungible_asset.Metadata>;
|
|
3438
|
-
}
|
|
3439
|
-
namespace TransferRef {
|
|
3440
|
-
const TYPE_QNAME = "0x1::fungible_asset::TransferRef";
|
|
3441
|
-
function type(): TypeDescriptor<TransferRef>;
|
|
3442
|
-
}
|
|
3443
|
-
interface Untransferable {
|
|
3444
|
-
dummy_field: boolean;
|
|
3445
|
-
}
|
|
3446
|
-
namespace Untransferable {
|
|
3447
|
-
const TYPE_QNAME = "0x1::fungible_asset::Untransferable";
|
|
3448
|
-
function type(): TypeDescriptor<Untransferable>;
|
|
3449
|
-
}
|
|
3450
3465
|
interface Withdraw {
|
|
3451
3466
|
store: MoveAddressType;
|
|
3452
3467
|
amount: bigint;
|
|
@@ -3481,10 +3496,18 @@ export declare namespace fungible_asset {
|
|
|
3481
3496
|
}, options?: InputGenerateTransactionOptions): Promise<PendingTransactionResponse>;
|
|
3482
3497
|
}
|
|
3483
3498
|
namespace view {
|
|
3484
|
-
function
|
|
3499
|
+
function isUntransferable<T0 = any>(client: Aptos, request: {
|
|
3485
3500
|
typeArguments: [MoveStructId];
|
|
3486
3501
|
functionArguments: [object$.Object<T0>];
|
|
3487
|
-
}, version?: bigint): Promise<[
|
|
3502
|
+
}, version?: bigint): Promise<[boolean]>;
|
|
3503
|
+
function name<T0 = any>(client: Aptos, request: {
|
|
3504
|
+
typeArguments: [MoveStructId];
|
|
3505
|
+
functionArguments: [object$.Object<T0>];
|
|
3506
|
+
}, version?: bigint): Promise<[string]>;
|
|
3507
|
+
function symbol$<T0 = any>(client: Aptos, request: {
|
|
3508
|
+
typeArguments: [MoveStructId];
|
|
3509
|
+
functionArguments: [object$.Object<T0>];
|
|
3510
|
+
}, version?: bigint): Promise<[string]>;
|
|
3488
3511
|
function decimals<T0 = any>(client: Aptos, request: {
|
|
3489
3512
|
typeArguments: [MoveStructId];
|
|
3490
3513
|
functionArguments: [object$.Object<T0>];
|
|
@@ -3493,6 +3516,18 @@ export declare namespace fungible_asset {
|
|
|
3493
3516
|
typeArguments: [MoveStructId];
|
|
3494
3517
|
functionArguments: [object$.Object<T0>];
|
|
3495
3518
|
}, version?: bigint): Promise<[string]>;
|
|
3519
|
+
function projectUri<T0 = any>(client: Aptos, request: {
|
|
3520
|
+
typeArguments: [MoveStructId];
|
|
3521
|
+
functionArguments: [object$.Object<T0>];
|
|
3522
|
+
}, version?: bigint): Promise<[string]>;
|
|
3523
|
+
function balance<T0 = any>(client: Aptos, request: {
|
|
3524
|
+
typeArguments: [MoveStructId];
|
|
3525
|
+
functionArguments: [object$.Object<T0>];
|
|
3526
|
+
}, version?: bigint): Promise<[bigint]>;
|
|
3527
|
+
function metadata<T0 = any>(client: Aptos, request: {
|
|
3528
|
+
typeArguments: [MoveStructId];
|
|
3529
|
+
functionArguments: [object$.Object<T0>];
|
|
3530
|
+
}, version?: bigint): Promise<[fungible_asset.Metadata]>;
|
|
3496
3531
|
function isBalanceAtLeast<T0 = any>(client: Aptos, request: {
|
|
3497
3532
|
typeArguments: [MoveStructId];
|
|
3498
3533
|
functionArguments: [object$.Object<T0>, bigint];
|
|
@@ -3505,26 +3540,10 @@ export declare namespace fungible_asset {
|
|
|
3505
3540
|
typeArguments: [MoveStructId];
|
|
3506
3541
|
functionArguments: [object$.Object<T0>];
|
|
3507
3542
|
}, version?: bigint): Promise<[boolean]>;
|
|
3508
|
-
function isUntransferable<T0 = any>(client: Aptos, request: {
|
|
3509
|
-
typeArguments: [MoveStructId];
|
|
3510
|
-
functionArguments: [object$.Object<T0>];
|
|
3511
|
-
}, version?: bigint): Promise<[boolean]>;
|
|
3512
3543
|
function maximum<T0 = any>(client: Aptos, request: {
|
|
3513
3544
|
typeArguments: [MoveStructId];
|
|
3514
3545
|
functionArguments: [object$.Object<T0>];
|
|
3515
3546
|
}, version?: bigint): Promise<[option.Option<bigint>]>;
|
|
3516
|
-
function metadata<T0 = any>(client: Aptos, request: {
|
|
3517
|
-
typeArguments: [MoveStructId];
|
|
3518
|
-
functionArguments: [object$.Object<T0>];
|
|
3519
|
-
}, version?: bigint): Promise<[fungible_asset.Metadata]>;
|
|
3520
|
-
function name<T0 = any>(client: Aptos, request: {
|
|
3521
|
-
typeArguments: [MoveStructId];
|
|
3522
|
-
functionArguments: [object$.Object<T0>];
|
|
3523
|
-
}, version?: bigint): Promise<[string]>;
|
|
3524
|
-
function projectUri<T0 = any>(client: Aptos, request: {
|
|
3525
|
-
typeArguments: [MoveStructId];
|
|
3526
|
-
functionArguments: [object$.Object<T0>];
|
|
3527
|
-
}, version?: bigint): Promise<[string]>;
|
|
3528
3547
|
function storeExists(client: Aptos, request: {
|
|
3529
3548
|
functionArguments: [MoveAddressType];
|
|
3530
3549
|
}, version?: bigint): Promise<[boolean]>;
|
|
@@ -3536,10 +3555,6 @@ export declare namespace fungible_asset {
|
|
|
3536
3555
|
typeArguments: [MoveStructId];
|
|
3537
3556
|
functionArguments: [object$.Object<T0>];
|
|
3538
3557
|
}, version?: bigint): Promise<[option.Option<bigint>]>;
|
|
3539
|
-
function symbol$<T0 = any>(client: Aptos, request: {
|
|
3540
|
-
typeArguments: [MoveStructId];
|
|
3541
|
-
functionArguments: [object$.Object<T0>];
|
|
3542
|
-
}, version?: bigint): Promise<[string]>;
|
|
3543
3558
|
}
|
|
3544
3559
|
}
|
|
3545
3560
|
export declare namespace staking_config {
|
|
@@ -3573,6 +3588,62 @@ export declare namespace staking_config {
|
|
|
3573
3588
|
}
|
|
3574
3589
|
}
|
|
3575
3590
|
export declare namespace delegation_pool {
|
|
3591
|
+
interface CreateProposal {
|
|
3592
|
+
proposal_id: bigint;
|
|
3593
|
+
voter: MoveAddressType;
|
|
3594
|
+
delegation_pool: MoveAddressType;
|
|
3595
|
+
}
|
|
3596
|
+
namespace CreateProposal {
|
|
3597
|
+
const TYPE_QNAME = "0x1::delegation_pool::CreateProposal";
|
|
3598
|
+
function type(): TypeDescriptor<CreateProposal>;
|
|
3599
|
+
}
|
|
3600
|
+
interface CreateProposalInstance extends TypedEventInstance<CreateProposal> {
|
|
3601
|
+
data_decoded: CreateProposal;
|
|
3602
|
+
type_arguments: [];
|
|
3603
|
+
}
|
|
3604
|
+
interface CreateProposalEvent {
|
|
3605
|
+
proposal_id: bigint;
|
|
3606
|
+
voter: MoveAddressType;
|
|
3607
|
+
delegation_pool: MoveAddressType;
|
|
3608
|
+
}
|
|
3609
|
+
namespace CreateProposalEvent {
|
|
3610
|
+
const TYPE_QNAME = "0x1::delegation_pool::CreateProposalEvent";
|
|
3611
|
+
function type(): TypeDescriptor<CreateProposalEvent>;
|
|
3612
|
+
}
|
|
3613
|
+
interface CreateProposalEventInstance extends TypedEventInstance<CreateProposalEvent> {
|
|
3614
|
+
data_decoded: CreateProposalEvent;
|
|
3615
|
+
type_arguments: [];
|
|
3616
|
+
}
|
|
3617
|
+
interface Vote {
|
|
3618
|
+
voter: MoveAddressType;
|
|
3619
|
+
proposal_id: bigint;
|
|
3620
|
+
delegation_pool: MoveAddressType;
|
|
3621
|
+
num_votes: bigint;
|
|
3622
|
+
should_pass: boolean;
|
|
3623
|
+
}
|
|
3624
|
+
namespace Vote {
|
|
3625
|
+
const TYPE_QNAME = "0x1::delegation_pool::Vote";
|
|
3626
|
+
function type(): TypeDescriptor<Vote>;
|
|
3627
|
+
}
|
|
3628
|
+
interface VoteInstance extends TypedEventInstance<Vote> {
|
|
3629
|
+
data_decoded: Vote;
|
|
3630
|
+
type_arguments: [];
|
|
3631
|
+
}
|
|
3632
|
+
interface VoteEvent {
|
|
3633
|
+
voter: MoveAddressType;
|
|
3634
|
+
proposal_id: bigint;
|
|
3635
|
+
delegation_pool: MoveAddressType;
|
|
3636
|
+
num_votes: bigint;
|
|
3637
|
+
should_pass: boolean;
|
|
3638
|
+
}
|
|
3639
|
+
namespace VoteEvent {
|
|
3640
|
+
const TYPE_QNAME = "0x1::delegation_pool::VoteEvent";
|
|
3641
|
+
function type(): TypeDescriptor<VoteEvent>;
|
|
3642
|
+
}
|
|
3643
|
+
interface VoteEventInstance extends TypedEventInstance<VoteEvent> {
|
|
3644
|
+
data_decoded: VoteEvent;
|
|
3645
|
+
type_arguments: [];
|
|
3646
|
+
}
|
|
3576
3647
|
interface AddStake {
|
|
3577
3648
|
pool_address: MoveAddressType;
|
|
3578
3649
|
delegator_address: MoveAddressType;
|
|
@@ -3601,6 +3672,84 @@ export declare namespace delegation_pool {
|
|
|
3601
3672
|
data_decoded: AddStakeEvent;
|
|
3602
3673
|
type_arguments: [];
|
|
3603
3674
|
}
|
|
3675
|
+
interface ReactivateStake {
|
|
3676
|
+
pool_address: MoveAddressType;
|
|
3677
|
+
delegator_address: MoveAddressType;
|
|
3678
|
+
amount_reactivated: bigint;
|
|
3679
|
+
}
|
|
3680
|
+
namespace ReactivateStake {
|
|
3681
|
+
const TYPE_QNAME = "0x1::delegation_pool::ReactivateStake";
|
|
3682
|
+
function type(): TypeDescriptor<ReactivateStake>;
|
|
3683
|
+
}
|
|
3684
|
+
interface ReactivateStakeInstance extends TypedEventInstance<ReactivateStake> {
|
|
3685
|
+
data_decoded: ReactivateStake;
|
|
3686
|
+
type_arguments: [];
|
|
3687
|
+
}
|
|
3688
|
+
interface ReactivateStakeEvent {
|
|
3689
|
+
pool_address: MoveAddressType;
|
|
3690
|
+
delegator_address: MoveAddressType;
|
|
3691
|
+
amount_reactivated: bigint;
|
|
3692
|
+
}
|
|
3693
|
+
namespace ReactivateStakeEvent {
|
|
3694
|
+
const TYPE_QNAME = "0x1::delegation_pool::ReactivateStakeEvent";
|
|
3695
|
+
function type(): TypeDescriptor<ReactivateStakeEvent>;
|
|
3696
|
+
}
|
|
3697
|
+
interface ReactivateStakeEventInstance extends TypedEventInstance<ReactivateStakeEvent> {
|
|
3698
|
+
data_decoded: ReactivateStakeEvent;
|
|
3699
|
+
type_arguments: [];
|
|
3700
|
+
}
|
|
3701
|
+
interface UnlockStake {
|
|
3702
|
+
pool_address: MoveAddressType;
|
|
3703
|
+
delegator_address: MoveAddressType;
|
|
3704
|
+
amount_unlocked: bigint;
|
|
3705
|
+
}
|
|
3706
|
+
namespace UnlockStake {
|
|
3707
|
+
const TYPE_QNAME = "0x1::delegation_pool::UnlockStake";
|
|
3708
|
+
function type(): TypeDescriptor<UnlockStake>;
|
|
3709
|
+
}
|
|
3710
|
+
interface UnlockStakeInstance extends TypedEventInstance<UnlockStake> {
|
|
3711
|
+
data_decoded: UnlockStake;
|
|
3712
|
+
type_arguments: [];
|
|
3713
|
+
}
|
|
3714
|
+
interface UnlockStakeEvent {
|
|
3715
|
+
pool_address: MoveAddressType;
|
|
3716
|
+
delegator_address: MoveAddressType;
|
|
3717
|
+
amount_unlocked: bigint;
|
|
3718
|
+
}
|
|
3719
|
+
namespace UnlockStakeEvent {
|
|
3720
|
+
const TYPE_QNAME = "0x1::delegation_pool::UnlockStakeEvent";
|
|
3721
|
+
function type(): TypeDescriptor<UnlockStakeEvent>;
|
|
3722
|
+
}
|
|
3723
|
+
interface UnlockStakeEventInstance extends TypedEventInstance<UnlockStakeEvent> {
|
|
3724
|
+
data_decoded: UnlockStakeEvent;
|
|
3725
|
+
type_arguments: [];
|
|
3726
|
+
}
|
|
3727
|
+
interface WithdrawStake {
|
|
3728
|
+
pool_address: MoveAddressType;
|
|
3729
|
+
delegator_address: MoveAddressType;
|
|
3730
|
+
amount_withdrawn: bigint;
|
|
3731
|
+
}
|
|
3732
|
+
namespace WithdrawStake {
|
|
3733
|
+
const TYPE_QNAME = "0x1::delegation_pool::WithdrawStake";
|
|
3734
|
+
function type(): TypeDescriptor<WithdrawStake>;
|
|
3735
|
+
}
|
|
3736
|
+
interface WithdrawStakeInstance extends TypedEventInstance<WithdrawStake> {
|
|
3737
|
+
data_decoded: WithdrawStake;
|
|
3738
|
+
type_arguments: [];
|
|
3739
|
+
}
|
|
3740
|
+
interface WithdrawStakeEvent {
|
|
3741
|
+
pool_address: MoveAddressType;
|
|
3742
|
+
delegator_address: MoveAddressType;
|
|
3743
|
+
amount_withdrawn: bigint;
|
|
3744
|
+
}
|
|
3745
|
+
namespace WithdrawStakeEvent {
|
|
3746
|
+
const TYPE_QNAME = "0x1::delegation_pool::WithdrawStakeEvent";
|
|
3747
|
+
function type(): TypeDescriptor<WithdrawStakeEvent>;
|
|
3748
|
+
}
|
|
3749
|
+
interface WithdrawStakeEventInstance extends TypedEventInstance<WithdrawStakeEvent> {
|
|
3750
|
+
data_decoded: WithdrawStakeEvent;
|
|
3751
|
+
type_arguments: [];
|
|
3752
|
+
}
|
|
3604
3753
|
interface AllowlistDelegator {
|
|
3605
3754
|
pool_address: MoveAddressType;
|
|
3606
3755
|
delegator_address: MoveAddressType;
|
|
@@ -3633,32 +3782,6 @@ export declare namespace delegation_pool {
|
|
|
3633
3782
|
data_decoded: CommissionPercentageChange;
|
|
3634
3783
|
type_arguments: [];
|
|
3635
3784
|
}
|
|
3636
|
-
interface CreateProposal {
|
|
3637
|
-
proposal_id: bigint;
|
|
3638
|
-
voter: MoveAddressType;
|
|
3639
|
-
delegation_pool: MoveAddressType;
|
|
3640
|
-
}
|
|
3641
|
-
namespace CreateProposal {
|
|
3642
|
-
const TYPE_QNAME = "0x1::delegation_pool::CreateProposal";
|
|
3643
|
-
function type(): TypeDescriptor<CreateProposal>;
|
|
3644
|
-
}
|
|
3645
|
-
interface CreateProposalInstance extends TypedEventInstance<CreateProposal> {
|
|
3646
|
-
data_decoded: CreateProposal;
|
|
3647
|
-
type_arguments: [];
|
|
3648
|
-
}
|
|
3649
|
-
interface CreateProposalEvent {
|
|
3650
|
-
proposal_id: bigint;
|
|
3651
|
-
voter: MoveAddressType;
|
|
3652
|
-
delegation_pool: MoveAddressType;
|
|
3653
|
-
}
|
|
3654
|
-
namespace CreateProposalEvent {
|
|
3655
|
-
const TYPE_QNAME = "0x1::delegation_pool::CreateProposalEvent";
|
|
3656
|
-
function type(): TypeDescriptor<CreateProposalEvent>;
|
|
3657
|
-
}
|
|
3658
|
-
interface CreateProposalEventInstance extends TypedEventInstance<CreateProposalEvent> {
|
|
3659
|
-
data_decoded: CreateProposalEvent;
|
|
3660
|
-
type_arguments: [];
|
|
3661
|
-
}
|
|
3662
3785
|
interface DelegateVotingPower {
|
|
3663
3786
|
pool_address: MoveAddressType;
|
|
3664
3787
|
delegator: MoveAddressType;
|
|
@@ -3818,48 +3941,22 @@ export declare namespace delegation_pool {
|
|
|
3818
3941
|
const TYPE_QNAME = "0x1::delegation_pool::ObservedLockupCycle";
|
|
3819
3942
|
function type(): TypeDescriptor<ObservedLockupCycle>;
|
|
3820
3943
|
}
|
|
3821
|
-
interface
|
|
3944
|
+
interface RemoveDelegatorFromAllowlist {
|
|
3822
3945
|
pool_address: MoveAddressType;
|
|
3823
3946
|
delegator_address: MoveAddressType;
|
|
3824
|
-
amount_reactivated: bigint;
|
|
3825
3947
|
}
|
|
3826
|
-
namespace
|
|
3827
|
-
const TYPE_QNAME = "0x1::delegation_pool::
|
|
3828
|
-
function type(): TypeDescriptor<
|
|
3948
|
+
namespace RemoveDelegatorFromAllowlist {
|
|
3949
|
+
const TYPE_QNAME = "0x1::delegation_pool::RemoveDelegatorFromAllowlist";
|
|
3950
|
+
function type(): TypeDescriptor<RemoveDelegatorFromAllowlist>;
|
|
3829
3951
|
}
|
|
3830
|
-
interface
|
|
3831
|
-
data_decoded:
|
|
3952
|
+
interface RemoveDelegatorFromAllowlistInstance extends TypedEventInstance<RemoveDelegatorFromAllowlist> {
|
|
3953
|
+
data_decoded: RemoveDelegatorFromAllowlist;
|
|
3832
3954
|
type_arguments: [];
|
|
3833
3955
|
}
|
|
3834
|
-
interface
|
|
3835
|
-
|
|
3836
|
-
|
|
3837
|
-
|
|
3838
|
-
}
|
|
3839
|
-
namespace ReactivateStakeEvent {
|
|
3840
|
-
const TYPE_QNAME = "0x1::delegation_pool::ReactivateStakeEvent";
|
|
3841
|
-
function type(): TypeDescriptor<ReactivateStakeEvent>;
|
|
3842
|
-
}
|
|
3843
|
-
interface ReactivateStakeEventInstance extends TypedEventInstance<ReactivateStakeEvent> {
|
|
3844
|
-
data_decoded: ReactivateStakeEvent;
|
|
3845
|
-
type_arguments: [];
|
|
3846
|
-
}
|
|
3847
|
-
interface RemoveDelegatorFromAllowlist {
|
|
3848
|
-
pool_address: MoveAddressType;
|
|
3849
|
-
delegator_address: MoveAddressType;
|
|
3850
|
-
}
|
|
3851
|
-
namespace RemoveDelegatorFromAllowlist {
|
|
3852
|
-
const TYPE_QNAME = "0x1::delegation_pool::RemoveDelegatorFromAllowlist";
|
|
3853
|
-
function type(): TypeDescriptor<RemoveDelegatorFromAllowlist>;
|
|
3854
|
-
}
|
|
3855
|
-
interface RemoveDelegatorFromAllowlistInstance extends TypedEventInstance<RemoveDelegatorFromAllowlist> {
|
|
3856
|
-
data_decoded: RemoveDelegatorFromAllowlist;
|
|
3857
|
-
type_arguments: [];
|
|
3858
|
-
}
|
|
3859
|
-
interface SetBeneficiaryForOperator {
|
|
3860
|
-
operator: MoveAddressType;
|
|
3861
|
-
old_beneficiary: MoveAddressType;
|
|
3862
|
-
new_beneficiary: MoveAddressType;
|
|
3956
|
+
interface SetBeneficiaryForOperator {
|
|
3957
|
+
operator: MoveAddressType;
|
|
3958
|
+
old_beneficiary: MoveAddressType;
|
|
3959
|
+
new_beneficiary: MoveAddressType;
|
|
3863
3960
|
}
|
|
3864
3961
|
namespace SetBeneficiaryForOperator {
|
|
3865
3962
|
const TYPE_QNAME = "0x1::delegation_pool::SetBeneficiaryForOperator";
|
|
@@ -3869,47 +3966,6 @@ export declare namespace delegation_pool {
|
|
|
3869
3966
|
data_decoded: SetBeneficiaryForOperator;
|
|
3870
3967
|
type_arguments: [];
|
|
3871
3968
|
}
|
|
3872
|
-
interface UnlockStake {
|
|
3873
|
-
pool_address: MoveAddressType;
|
|
3874
|
-
delegator_address: MoveAddressType;
|
|
3875
|
-
amount_unlocked: bigint;
|
|
3876
|
-
}
|
|
3877
|
-
namespace UnlockStake {
|
|
3878
|
-
const TYPE_QNAME = "0x1::delegation_pool::UnlockStake";
|
|
3879
|
-
function type(): TypeDescriptor<UnlockStake>;
|
|
3880
|
-
}
|
|
3881
|
-
interface UnlockStakeInstance extends TypedEventInstance<UnlockStake> {
|
|
3882
|
-
data_decoded: UnlockStake;
|
|
3883
|
-
type_arguments: [];
|
|
3884
|
-
}
|
|
3885
|
-
interface UnlockStakeEvent {
|
|
3886
|
-
pool_address: MoveAddressType;
|
|
3887
|
-
delegator_address: MoveAddressType;
|
|
3888
|
-
amount_unlocked: bigint;
|
|
3889
|
-
}
|
|
3890
|
-
namespace UnlockStakeEvent {
|
|
3891
|
-
const TYPE_QNAME = "0x1::delegation_pool::UnlockStakeEvent";
|
|
3892
|
-
function type(): TypeDescriptor<UnlockStakeEvent>;
|
|
3893
|
-
}
|
|
3894
|
-
interface UnlockStakeEventInstance extends TypedEventInstance<UnlockStakeEvent> {
|
|
3895
|
-
data_decoded: UnlockStakeEvent;
|
|
3896
|
-
type_arguments: [];
|
|
3897
|
-
}
|
|
3898
|
-
interface Vote {
|
|
3899
|
-
voter: MoveAddressType;
|
|
3900
|
-
proposal_id: bigint;
|
|
3901
|
-
delegation_pool: MoveAddressType;
|
|
3902
|
-
num_votes: bigint;
|
|
3903
|
-
should_pass: boolean;
|
|
3904
|
-
}
|
|
3905
|
-
namespace Vote {
|
|
3906
|
-
const TYPE_QNAME = "0x1::delegation_pool::Vote";
|
|
3907
|
-
function type(): TypeDescriptor<Vote>;
|
|
3908
|
-
}
|
|
3909
|
-
interface VoteInstance extends TypedEventInstance<Vote> {
|
|
3910
|
-
data_decoded: Vote;
|
|
3911
|
-
type_arguments: [];
|
|
3912
|
-
}
|
|
3913
3969
|
interface VoteDelegation {
|
|
3914
3970
|
voter: MoveAddressType;
|
|
3915
3971
|
pending_voter: MoveAddressType;
|
|
@@ -3919,21 +3975,6 @@ export declare namespace delegation_pool {
|
|
|
3919
3975
|
const TYPE_QNAME = "0x1::delegation_pool::VoteDelegation";
|
|
3920
3976
|
function type(): TypeDescriptor<VoteDelegation>;
|
|
3921
3977
|
}
|
|
3922
|
-
interface VoteEvent {
|
|
3923
|
-
voter: MoveAddressType;
|
|
3924
|
-
proposal_id: bigint;
|
|
3925
|
-
delegation_pool: MoveAddressType;
|
|
3926
|
-
num_votes: bigint;
|
|
3927
|
-
should_pass: boolean;
|
|
3928
|
-
}
|
|
3929
|
-
namespace VoteEvent {
|
|
3930
|
-
const TYPE_QNAME = "0x1::delegation_pool::VoteEvent";
|
|
3931
|
-
function type(): TypeDescriptor<VoteEvent>;
|
|
3932
|
-
}
|
|
3933
|
-
interface VoteEventInstance extends TypedEventInstance<VoteEvent> {
|
|
3934
|
-
data_decoded: VoteEvent;
|
|
3935
|
-
type_arguments: [];
|
|
3936
|
-
}
|
|
3937
3978
|
interface VotingRecordKey {
|
|
3938
3979
|
voter: MoveAddressType;
|
|
3939
3980
|
proposal_id: bigint;
|
|
@@ -3942,44 +3983,42 @@ export declare namespace delegation_pool {
|
|
|
3942
3983
|
const TYPE_QNAME = "0x1::delegation_pool::VotingRecordKey";
|
|
3943
3984
|
function type(): TypeDescriptor<VotingRecordKey>;
|
|
3944
3985
|
}
|
|
3945
|
-
interface WithdrawStake {
|
|
3946
|
-
pool_address: MoveAddressType;
|
|
3947
|
-
delegator_address: MoveAddressType;
|
|
3948
|
-
amount_withdrawn: bigint;
|
|
3949
|
-
}
|
|
3950
|
-
namespace WithdrawStake {
|
|
3951
|
-
const TYPE_QNAME = "0x1::delegation_pool::WithdrawStake";
|
|
3952
|
-
function type(): TypeDescriptor<WithdrawStake>;
|
|
3953
|
-
}
|
|
3954
|
-
interface WithdrawStakeInstance extends TypedEventInstance<WithdrawStake> {
|
|
3955
|
-
data_decoded: WithdrawStake;
|
|
3956
|
-
type_arguments: [];
|
|
3957
|
-
}
|
|
3958
|
-
interface WithdrawStakeEvent {
|
|
3959
|
-
pool_address: MoveAddressType;
|
|
3960
|
-
delegator_address: MoveAddressType;
|
|
3961
|
-
amount_withdrawn: bigint;
|
|
3962
|
-
}
|
|
3963
|
-
namespace WithdrawStakeEvent {
|
|
3964
|
-
const TYPE_QNAME = "0x1::delegation_pool::WithdrawStakeEvent";
|
|
3965
|
-
function type(): TypeDescriptor<WithdrawStakeEvent>;
|
|
3966
|
-
}
|
|
3967
|
-
interface WithdrawStakeEventInstance extends TypedEventInstance<WithdrawStakeEvent> {
|
|
3968
|
-
data_decoded: WithdrawStakeEvent;
|
|
3969
|
-
type_arguments: [];
|
|
3970
|
-
}
|
|
3971
3986
|
namespace entry {
|
|
3987
|
+
function withdraw(client: Aptos, account: AptosAccount, request: {
|
|
3988
|
+
typeArguments: [];
|
|
3989
|
+
functionArguments: [MoveAddressType, bigint];
|
|
3990
|
+
}, options?: InputGenerateTransactionOptions): Promise<PendingTransactionResponse>;
|
|
3991
|
+
function createProposal(client: Aptos, account: AptosAccount, request: {
|
|
3992
|
+
typeArguments: [];
|
|
3993
|
+
functionArguments: [MoveAddressType, string, string, string, boolean];
|
|
3994
|
+
}, options?: InputGenerateTransactionOptions): Promise<PendingTransactionResponse>;
|
|
3995
|
+
function vote(client: Aptos, account: AptosAccount, request: {
|
|
3996
|
+
typeArguments: [];
|
|
3997
|
+
functionArguments: [MoveAddressType, bigint, bigint, boolean];
|
|
3998
|
+
}, options?: InputGenerateTransactionOptions): Promise<PendingTransactionResponse>;
|
|
3972
3999
|
function addStake(client: Aptos, account: AptosAccount, request: {
|
|
3973
4000
|
typeArguments: [];
|
|
3974
4001
|
functionArguments: [MoveAddressType, bigint];
|
|
3975
4002
|
}, options?: InputGenerateTransactionOptions): Promise<PendingTransactionResponse>;
|
|
3976
|
-
function
|
|
4003
|
+
function reactivateStake(client: Aptos, account: AptosAccount, request: {
|
|
4004
|
+
typeArguments: [];
|
|
4005
|
+
functionArguments: [MoveAddressType, bigint];
|
|
4006
|
+
}, options?: InputGenerateTransactionOptions): Promise<PendingTransactionResponse>;
|
|
4007
|
+
function setDelegatedVoter(client: Aptos, account: AptosAccount, request: {
|
|
3977
4008
|
typeArguments: [];
|
|
3978
4009
|
functionArguments: [MoveAddressType];
|
|
3979
4010
|
}, options?: InputGenerateTransactionOptions): Promise<PendingTransactionResponse>;
|
|
3980
|
-
function
|
|
4011
|
+
function setOperator(client: Aptos, account: AptosAccount, request: {
|
|
3981
4012
|
typeArguments: [];
|
|
3982
|
-
functionArguments: [MoveAddressType
|
|
4013
|
+
functionArguments: [MoveAddressType];
|
|
4014
|
+
}, options?: InputGenerateTransactionOptions): Promise<PendingTransactionResponse>;
|
|
4015
|
+
function unlock(client: Aptos, account: AptosAccount, request: {
|
|
4016
|
+
typeArguments: [];
|
|
4017
|
+
functionArguments: [MoveAddressType, bigint];
|
|
4018
|
+
}, options?: InputGenerateTransactionOptions): Promise<PendingTransactionResponse>;
|
|
4019
|
+
function allowlistDelegator(client: Aptos, account: AptosAccount, request: {
|
|
4020
|
+
typeArguments: [];
|
|
4021
|
+
functionArguments: [MoveAddressType];
|
|
3983
4022
|
}, options?: InputGenerateTransactionOptions): Promise<PendingTransactionResponse>;
|
|
3984
4023
|
function delegateVotingPower(client: Aptos, account: AptosAccount, request: {
|
|
3985
4024
|
typeArguments: [];
|
|
@@ -4005,10 +4044,6 @@ export declare namespace delegation_pool {
|
|
|
4005
4044
|
typeArguments: [];
|
|
4006
4045
|
functionArguments: [bigint, string];
|
|
4007
4046
|
}, options?: InputGenerateTransactionOptions): Promise<PendingTransactionResponse>;
|
|
4008
|
-
function reactivateStake(client: Aptos, account: AptosAccount, request: {
|
|
4009
|
-
typeArguments: [];
|
|
4010
|
-
functionArguments: [MoveAddressType, bigint];
|
|
4011
|
-
}, options?: InputGenerateTransactionOptions): Promise<PendingTransactionResponse>;
|
|
4012
4047
|
function removeDelegatorFromAllowlist(client: Aptos, account: AptosAccount, request: {
|
|
4013
4048
|
typeArguments: [];
|
|
4014
4049
|
functionArguments: [MoveAddressType];
|
|
@@ -4017,36 +4052,25 @@ export declare namespace delegation_pool {
|
|
|
4017
4052
|
typeArguments: [];
|
|
4018
4053
|
functionArguments: [MoveAddressType];
|
|
4019
4054
|
}, options?: InputGenerateTransactionOptions): Promise<PendingTransactionResponse>;
|
|
4020
|
-
function setDelegatedVoter(client: Aptos, account: AptosAccount, request: {
|
|
4021
|
-
typeArguments: [];
|
|
4022
|
-
functionArguments: [MoveAddressType];
|
|
4023
|
-
}, options?: InputGenerateTransactionOptions): Promise<PendingTransactionResponse>;
|
|
4024
|
-
function setOperator(client: Aptos, account: AptosAccount, request: {
|
|
4025
|
-
typeArguments: [];
|
|
4026
|
-
functionArguments: [MoveAddressType];
|
|
4027
|
-
}, options?: InputGenerateTransactionOptions): Promise<PendingTransactionResponse>;
|
|
4028
4055
|
function synchronizeDelegationPool(client: Aptos, account: AptosAccount, request: {
|
|
4029
4056
|
typeArguments: [];
|
|
4030
4057
|
functionArguments: [MoveAddressType];
|
|
4031
4058
|
}, options?: InputGenerateTransactionOptions): Promise<PendingTransactionResponse>;
|
|
4032
|
-
function unlock(client: Aptos, account: AptosAccount, request: {
|
|
4033
|
-
typeArguments: [];
|
|
4034
|
-
functionArguments: [MoveAddressType, bigint];
|
|
4035
|
-
}, options?: InputGenerateTransactionOptions): Promise<PendingTransactionResponse>;
|
|
4036
4059
|
function updateCommissionPercentage(client: Aptos, account: AptosAccount, request: {
|
|
4037
4060
|
typeArguments: [];
|
|
4038
4061
|
functionArguments: [bigint];
|
|
4039
4062
|
}, options?: InputGenerateTransactionOptions): Promise<PendingTransactionResponse>;
|
|
4040
|
-
function vote(client: Aptos, account: AptosAccount, request: {
|
|
4041
|
-
typeArguments: [];
|
|
4042
|
-
functionArguments: [MoveAddressType, bigint, bigint, boolean];
|
|
4043
|
-
}, options?: InputGenerateTransactionOptions): Promise<PendingTransactionResponse>;
|
|
4044
|
-
function withdraw(client: Aptos, account: AptosAccount, request: {
|
|
4045
|
-
typeArguments: [];
|
|
4046
|
-
functionArguments: [MoveAddressType, bigint];
|
|
4047
|
-
}, options?: InputGenerateTransactionOptions): Promise<PendingTransactionResponse>;
|
|
4048
4063
|
}
|
|
4049
4064
|
namespace view {
|
|
4065
|
+
function partialGovernanceVotingEnabled(client: Aptos, request: {
|
|
4066
|
+
functionArguments: [MoveAddressType];
|
|
4067
|
+
}, version?: bigint): Promise<[boolean]>;
|
|
4068
|
+
function getOwnedPoolAddress(client: Aptos, request: {
|
|
4069
|
+
functionArguments: [MoveAddressType];
|
|
4070
|
+
}, version?: bigint): Promise<[MoveAddressType]>;
|
|
4071
|
+
function getStake(client: Aptos, request: {
|
|
4072
|
+
functionArguments: [MoveAddressType, MoveAddressType];
|
|
4073
|
+
}, version?: bigint): Promise<[bigint, bigint, bigint]>;
|
|
4050
4074
|
function allowlistingEnabled(client: Aptos, request: {
|
|
4051
4075
|
functionArguments: [MoveAddressType];
|
|
4052
4076
|
}, version?: bigint): Promise<[boolean]>;
|
|
@@ -4086,15 +4110,12 @@ export declare namespace delegation_pool {
|
|
|
4086
4110
|
function getExpectedStakePoolAddress(client: Aptos, request: {
|
|
4087
4111
|
functionArguments: [MoveAddressType, string];
|
|
4088
4112
|
}, version?: bigint): Promise<[MoveAddressType]>;
|
|
4089
|
-
function getOwnedPoolAddress(client: Aptos, request: {
|
|
4090
|
-
functionArguments: [MoveAddressType];
|
|
4091
|
-
}, version?: bigint): Promise<[MoveAddressType]>;
|
|
4092
4113
|
function getPendingWithdrawal(client: Aptos, request: {
|
|
4093
4114
|
functionArguments: [MoveAddressType, MoveAddressType];
|
|
4094
4115
|
}, version?: bigint): Promise<[boolean, bigint]>;
|
|
4095
|
-
function
|
|
4096
|
-
functionArguments: [MoveAddressType
|
|
4097
|
-
}, version?: bigint): Promise<[bigint
|
|
4116
|
+
function operatorCommissionPercentage(client: Aptos, request: {
|
|
4117
|
+
functionArguments: [MoveAddressType];
|
|
4118
|
+
}, version?: bigint): Promise<[bigint]>;
|
|
4098
4119
|
function isNextCommissionPercentageEffective(client: Aptos, request: {
|
|
4099
4120
|
functionArguments: [MoveAddressType];
|
|
4100
4121
|
}, version?: bigint): Promise<[boolean]>;
|
|
@@ -4102,18 +4123,12 @@ export declare namespace delegation_pool {
|
|
|
4102
4123
|
function observedLockupCycle(client: Aptos, request: {
|
|
4103
4124
|
functionArguments: [MoveAddressType];
|
|
4104
4125
|
}, version?: bigint): Promise<[bigint]>;
|
|
4105
|
-
function operatorCommissionPercentage(client: Aptos, request: {
|
|
4106
|
-
functionArguments: [MoveAddressType];
|
|
4107
|
-
}, version?: bigint): Promise<[bigint]>;
|
|
4108
4126
|
function operatorCommissionPercentageNextLockupCycle(client: Aptos, request: {
|
|
4109
4127
|
functionArguments: [MoveAddressType];
|
|
4110
4128
|
}, version?: bigint): Promise<[bigint]>;
|
|
4111
4129
|
function ownerCapExists(client: Aptos, request: {
|
|
4112
4130
|
functionArguments: [MoveAddressType];
|
|
4113
4131
|
}, version?: bigint): Promise<[boolean]>;
|
|
4114
|
-
function partialGovernanceVotingEnabled(client: Aptos, request: {
|
|
4115
|
-
functionArguments: [MoveAddressType];
|
|
4116
|
-
}, version?: bigint): Promise<[boolean]>;
|
|
4117
4132
|
function shareholdersCountActivePool(client: Aptos, request: {
|
|
4118
4133
|
functionArguments: [MoveAddressType];
|
|
4119
4134
|
}, version?: bigint): Promise<[bigint]>;
|
|
@@ -4134,6 +4149,13 @@ export declare namespace keyless_account {
|
|
|
4134
4149
|
const TYPE_QNAME = "0x1::keyless_account::Configuration";
|
|
4135
4150
|
function type(): TypeDescriptor<Configuration>;
|
|
4136
4151
|
}
|
|
4152
|
+
interface Group {
|
|
4153
|
+
dummy_field: boolean;
|
|
4154
|
+
}
|
|
4155
|
+
namespace Group {
|
|
4156
|
+
const TYPE_QNAME = "0x1::keyless_account::Group";
|
|
4157
|
+
function type(): TypeDescriptor<Group>;
|
|
4158
|
+
}
|
|
4137
4159
|
interface Groth16VerificationKey {
|
|
4138
4160
|
alpha_g1: string;
|
|
4139
4161
|
beta_g2: string;
|
|
@@ -4145,13 +4167,6 @@ export declare namespace keyless_account {
|
|
|
4145
4167
|
const TYPE_QNAME = "0x1::keyless_account::Groth16VerificationKey";
|
|
4146
4168
|
function type(): TypeDescriptor<Groth16VerificationKey>;
|
|
4147
4169
|
}
|
|
4148
|
-
interface Group {
|
|
4149
|
-
dummy_field: boolean;
|
|
4150
|
-
}
|
|
4151
|
-
namespace Group {
|
|
4152
|
-
const TYPE_QNAME = "0x1::keyless_account::Group";
|
|
4153
|
-
function type(): TypeDescriptor<Group>;
|
|
4154
|
-
}
|
|
4155
4170
|
namespace entry { }
|
|
4156
4171
|
namespace view { }
|
|
4157
4172
|
}
|
|
@@ -4252,13 +4267,6 @@ export declare namespace transaction_fee {
|
|
|
4252
4267
|
namespace view { }
|
|
4253
4268
|
}
|
|
4254
4269
|
export declare namespace aptos_governance {
|
|
4255
|
-
interface ApprovedExecutionHashes {
|
|
4256
|
-
hashes: simple_map.SimpleMap<bigint, string>;
|
|
4257
|
-
}
|
|
4258
|
-
namespace ApprovedExecutionHashes {
|
|
4259
|
-
const TYPE_QNAME = "0x1::aptos_governance::ApprovedExecutionHashes";
|
|
4260
|
-
function type(): TypeDescriptor<ApprovedExecutionHashes>;
|
|
4261
|
-
}
|
|
4262
4270
|
interface CreateProposal {
|
|
4263
4271
|
proposer: MoveAddressType;
|
|
4264
4272
|
stake_pool: MoveAddressType;
|
|
@@ -4289,6 +4297,43 @@ export declare namespace aptos_governance {
|
|
|
4289
4297
|
data_decoded: CreateProposalEvent;
|
|
4290
4298
|
type_arguments: [];
|
|
4291
4299
|
}
|
|
4300
|
+
interface Vote {
|
|
4301
|
+
proposal_id: bigint;
|
|
4302
|
+
voter: MoveAddressType;
|
|
4303
|
+
stake_pool: MoveAddressType;
|
|
4304
|
+
num_votes: bigint;
|
|
4305
|
+
should_pass: boolean;
|
|
4306
|
+
}
|
|
4307
|
+
namespace Vote {
|
|
4308
|
+
const TYPE_QNAME = "0x1::aptos_governance::Vote";
|
|
4309
|
+
function type(): TypeDescriptor<Vote>;
|
|
4310
|
+
}
|
|
4311
|
+
interface VoteInstance extends TypedEventInstance<Vote> {
|
|
4312
|
+
data_decoded: Vote;
|
|
4313
|
+
type_arguments: [];
|
|
4314
|
+
}
|
|
4315
|
+
interface VoteEvent {
|
|
4316
|
+
proposal_id: bigint;
|
|
4317
|
+
voter: MoveAddressType;
|
|
4318
|
+
stake_pool: MoveAddressType;
|
|
4319
|
+
num_votes: bigint;
|
|
4320
|
+
should_pass: boolean;
|
|
4321
|
+
}
|
|
4322
|
+
namespace VoteEvent {
|
|
4323
|
+
const TYPE_QNAME = "0x1::aptos_governance::VoteEvent";
|
|
4324
|
+
function type(): TypeDescriptor<VoteEvent>;
|
|
4325
|
+
}
|
|
4326
|
+
interface VoteEventInstance extends TypedEventInstance<VoteEvent> {
|
|
4327
|
+
data_decoded: VoteEvent;
|
|
4328
|
+
type_arguments: [];
|
|
4329
|
+
}
|
|
4330
|
+
interface ApprovedExecutionHashes {
|
|
4331
|
+
hashes: simple_map.SimpleMap<bigint, string>;
|
|
4332
|
+
}
|
|
4333
|
+
namespace ApprovedExecutionHashes {
|
|
4334
|
+
const TYPE_QNAME = "0x1::aptos_governance::ApprovedExecutionHashes";
|
|
4335
|
+
function type(): TypeDescriptor<ApprovedExecutionHashes>;
|
|
4336
|
+
}
|
|
4292
4337
|
interface GovernanceConfig {
|
|
4293
4338
|
min_voting_threshold: bigint;
|
|
4294
4339
|
required_proposer_stake: bigint;
|
|
@@ -4348,36 +4393,6 @@ export declare namespace aptos_governance {
|
|
|
4348
4393
|
data_decoded: UpdateConfigEvent;
|
|
4349
4394
|
type_arguments: [];
|
|
4350
4395
|
}
|
|
4351
|
-
interface Vote {
|
|
4352
|
-
proposal_id: bigint;
|
|
4353
|
-
voter: MoveAddressType;
|
|
4354
|
-
stake_pool: MoveAddressType;
|
|
4355
|
-
num_votes: bigint;
|
|
4356
|
-
should_pass: boolean;
|
|
4357
|
-
}
|
|
4358
|
-
namespace Vote {
|
|
4359
|
-
const TYPE_QNAME = "0x1::aptos_governance::Vote";
|
|
4360
|
-
function type(): TypeDescriptor<Vote>;
|
|
4361
|
-
}
|
|
4362
|
-
interface VoteInstance extends TypedEventInstance<Vote> {
|
|
4363
|
-
data_decoded: Vote;
|
|
4364
|
-
type_arguments: [];
|
|
4365
|
-
}
|
|
4366
|
-
interface VoteEvent {
|
|
4367
|
-
proposal_id: bigint;
|
|
4368
|
-
voter: MoveAddressType;
|
|
4369
|
-
stake_pool: MoveAddressType;
|
|
4370
|
-
num_votes: bigint;
|
|
4371
|
-
should_pass: boolean;
|
|
4372
|
-
}
|
|
4373
|
-
namespace VoteEvent {
|
|
4374
|
-
const TYPE_QNAME = "0x1::aptos_governance::VoteEvent";
|
|
4375
|
-
function type(): TypeDescriptor<VoteEvent>;
|
|
4376
|
-
}
|
|
4377
|
-
interface VoteEventInstance extends TypedEventInstance<VoteEvent> {
|
|
4378
|
-
data_decoded: VoteEvent;
|
|
4379
|
-
type_arguments: [];
|
|
4380
|
-
}
|
|
4381
4396
|
interface VotingRecords {
|
|
4382
4397
|
votes: table.Table<aptos_governance.RecordKey, boolean>;
|
|
4383
4398
|
}
|
|
@@ -4393,6 +4408,22 @@ export declare namespace aptos_governance {
|
|
|
4393
4408
|
function type(): TypeDescriptor<VotingRecordsV2>;
|
|
4394
4409
|
}
|
|
4395
4410
|
namespace entry {
|
|
4411
|
+
function createProposal(client: Aptos, account: AptosAccount, request: {
|
|
4412
|
+
typeArguments: [];
|
|
4413
|
+
functionArguments: [MoveAddressType, string, string, string];
|
|
4414
|
+
}, options?: InputGenerateTransactionOptions): Promise<PendingTransactionResponse>;
|
|
4415
|
+
function createProposalV2(client: Aptos, account: AptosAccount, request: {
|
|
4416
|
+
typeArguments: [];
|
|
4417
|
+
functionArguments: [MoveAddressType, string, string, string, boolean];
|
|
4418
|
+
}, options?: InputGenerateTransactionOptions): Promise<PendingTransactionResponse>;
|
|
4419
|
+
function vote(client: Aptos, account: AptosAccount, request: {
|
|
4420
|
+
typeArguments: [];
|
|
4421
|
+
functionArguments: [MoveAddressType, bigint, boolean];
|
|
4422
|
+
}, options?: InputGenerateTransactionOptions): Promise<PendingTransactionResponse>;
|
|
4423
|
+
function reconfigure(client: Aptos, account: AptosAccount, request: {
|
|
4424
|
+
typeArguments: [];
|
|
4425
|
+
functionArguments: [];
|
|
4426
|
+
}, options?: InputGenerateTransactionOptions): Promise<PendingTransactionResponse>;
|
|
4396
4427
|
function addApprovedScriptHashScript(client: Aptos, account: AptosAccount, request: {
|
|
4397
4428
|
typeArguments: [];
|
|
4398
4429
|
functionArguments: [bigint];
|
|
@@ -4405,14 +4436,6 @@ export declare namespace aptos_governance {
|
|
|
4405
4436
|
typeArguments: [];
|
|
4406
4437
|
functionArguments: [MoveAddressType[], bigint, boolean];
|
|
4407
4438
|
}, options?: InputGenerateTransactionOptions): Promise<PendingTransactionResponse>;
|
|
4408
|
-
function createProposal(client: Aptos, account: AptosAccount, request: {
|
|
4409
|
-
typeArguments: [];
|
|
4410
|
-
functionArguments: [MoveAddressType, string, string, string];
|
|
4411
|
-
}, options?: InputGenerateTransactionOptions): Promise<PendingTransactionResponse>;
|
|
4412
|
-
function createProposalV2(client: Aptos, account: AptosAccount, request: {
|
|
4413
|
-
typeArguments: [];
|
|
4414
|
-
functionArguments: [MoveAddressType, string, string, string, boolean];
|
|
4415
|
-
}, options?: InputGenerateTransactionOptions): Promise<PendingTransactionResponse>;
|
|
4416
4439
|
function forceEndEpoch(client: Aptos, account: AptosAccount, request: {
|
|
4417
4440
|
typeArguments: [];
|
|
4418
4441
|
functionArguments: [];
|
|
@@ -4425,25 +4448,17 @@ export declare namespace aptos_governance {
|
|
|
4425
4448
|
typeArguments: [];
|
|
4426
4449
|
functionArguments: [MoveAddressType, bigint, bigint, boolean];
|
|
4427
4450
|
}, options?: InputGenerateTransactionOptions): Promise<PendingTransactionResponse>;
|
|
4428
|
-
function reconfigure(client: Aptos, account: AptosAccount, request: {
|
|
4429
|
-
typeArguments: [];
|
|
4430
|
-
functionArguments: [];
|
|
4431
|
-
}, options?: InputGenerateTransactionOptions): Promise<PendingTransactionResponse>;
|
|
4432
|
-
function vote(client: Aptos, account: AptosAccount, request: {
|
|
4433
|
-
typeArguments: [];
|
|
4434
|
-
functionArguments: [MoveAddressType, bigint, boolean];
|
|
4435
|
-
}, options?: InputGenerateTransactionOptions): Promise<PendingTransactionResponse>;
|
|
4436
4451
|
}
|
|
4437
4452
|
namespace view {
|
|
4453
|
+
function getVotingPower(client: Aptos, request: {
|
|
4454
|
+
functionArguments: [MoveAddressType];
|
|
4455
|
+
}, version?: bigint): Promise<[bigint]>;
|
|
4438
4456
|
function getMinVotingThreshold(client: Aptos, version?: bigint): Promise<[bigint]>;
|
|
4439
4457
|
function getRemainingVotingPower(client: Aptos, request: {
|
|
4440
4458
|
functionArguments: [MoveAddressType, bigint];
|
|
4441
4459
|
}, version?: bigint): Promise<[bigint]>;
|
|
4442
4460
|
function getRequiredProposerStake(client: Aptos, version?: bigint): Promise<[bigint]>;
|
|
4443
4461
|
function getVotingDurationSecs(client: Aptos, version?: bigint): Promise<[bigint]>;
|
|
4444
|
-
function getVotingPower(client: Aptos, request: {
|
|
4445
|
-
functionArguments: [MoveAddressType];
|
|
4446
|
-
}, version?: bigint): Promise<[bigint]>;
|
|
4447
4462
|
function hasEntirelyVoted(client: Aptos, request: {
|
|
4448
4463
|
functionArguments: [MoveAddressType, bigint];
|
|
4449
4464
|
}, version?: bigint): Promise<[boolean]>;
|
|
@@ -4581,6 +4596,33 @@ export declare namespace execution_config {
|
|
|
4581
4596
|
namespace view { }
|
|
4582
4597
|
}
|
|
4583
4598
|
export declare namespace multisig_account {
|
|
4599
|
+
interface Vote {
|
|
4600
|
+
multisig_account: MoveAddressType;
|
|
4601
|
+
owner: MoveAddressType;
|
|
4602
|
+
sequence_number: bigint;
|
|
4603
|
+
approved: boolean;
|
|
4604
|
+
}
|
|
4605
|
+
namespace Vote {
|
|
4606
|
+
const TYPE_QNAME = "0x1::multisig_account::Vote";
|
|
4607
|
+
function type(): TypeDescriptor<Vote>;
|
|
4608
|
+
}
|
|
4609
|
+
interface VoteInstance extends TypedEventInstance<Vote> {
|
|
4610
|
+
data_decoded: Vote;
|
|
4611
|
+
type_arguments: [];
|
|
4612
|
+
}
|
|
4613
|
+
interface VoteEvent {
|
|
4614
|
+
owner: MoveAddressType;
|
|
4615
|
+
sequence_number: bigint;
|
|
4616
|
+
approved: boolean;
|
|
4617
|
+
}
|
|
4618
|
+
namespace VoteEvent {
|
|
4619
|
+
const TYPE_QNAME = "0x1::multisig_account::VoteEvent";
|
|
4620
|
+
function type(): TypeDescriptor<VoteEvent>;
|
|
4621
|
+
}
|
|
4622
|
+
interface VoteEventInstance extends TypedEventInstance<VoteEvent> {
|
|
4623
|
+
data_decoded: VoteEvent;
|
|
4624
|
+
type_arguments: [];
|
|
4625
|
+
}
|
|
4584
4626
|
interface AddOwners {
|
|
4585
4627
|
multisig_account: MoveAddressType;
|
|
4586
4628
|
owners_added: MoveAddressType[];
|
|
@@ -4855,34 +4897,11 @@ export declare namespace multisig_account {
|
|
|
4855
4897
|
data_decoded: UpdateSignaturesRequiredEvent;
|
|
4856
4898
|
type_arguments: [];
|
|
4857
4899
|
}
|
|
4858
|
-
interface Vote {
|
|
4859
|
-
multisig_account: MoveAddressType;
|
|
4860
|
-
owner: MoveAddressType;
|
|
4861
|
-
sequence_number: bigint;
|
|
4862
|
-
approved: boolean;
|
|
4863
|
-
}
|
|
4864
|
-
namespace Vote {
|
|
4865
|
-
const TYPE_QNAME = "0x1::multisig_account::Vote";
|
|
4866
|
-
function type(): TypeDescriptor<Vote>;
|
|
4867
|
-
}
|
|
4868
|
-
interface VoteInstance extends TypedEventInstance<Vote> {
|
|
4869
|
-
data_decoded: Vote;
|
|
4870
|
-
type_arguments: [];
|
|
4871
|
-
}
|
|
4872
|
-
interface VoteEvent {
|
|
4873
|
-
owner: MoveAddressType;
|
|
4874
|
-
sequence_number: bigint;
|
|
4875
|
-
approved: boolean;
|
|
4876
|
-
}
|
|
4877
|
-
namespace VoteEvent {
|
|
4878
|
-
const TYPE_QNAME = "0x1::multisig_account::VoteEvent";
|
|
4879
|
-
function type(): TypeDescriptor<VoteEvent>;
|
|
4880
|
-
}
|
|
4881
|
-
interface VoteEventInstance extends TypedEventInstance<VoteEvent> {
|
|
4882
|
-
data_decoded: VoteEvent;
|
|
4883
|
-
type_arguments: [];
|
|
4884
|
-
}
|
|
4885
4900
|
namespace entry {
|
|
4901
|
+
function create(client: Aptos, account: AptosAccount, request: {
|
|
4902
|
+
typeArguments: [];
|
|
4903
|
+
functionArguments: [bigint, string[], string[]];
|
|
4904
|
+
}, options?: InputGenerateTransactionOptions): Promise<PendingTransactionResponse>;
|
|
4886
4905
|
function addOwner(client: Aptos, account: AptosAccount, request: {
|
|
4887
4906
|
typeArguments: [];
|
|
4888
4907
|
functionArguments: [MoveAddressType];
|
|
@@ -4899,10 +4918,6 @@ export declare namespace multisig_account {
|
|
|
4899
4918
|
typeArguments: [];
|
|
4900
4919
|
functionArguments: [MoveAddressType, bigint];
|
|
4901
4920
|
}, options?: InputGenerateTransactionOptions): Promise<PendingTransactionResponse>;
|
|
4902
|
-
function create(client: Aptos, account: AptosAccount, request: {
|
|
4903
|
-
typeArguments: [];
|
|
4904
|
-
functionArguments: [bigint, string[], string[]];
|
|
4905
|
-
}, options?: InputGenerateTransactionOptions): Promise<PendingTransactionResponse>;
|
|
4906
4921
|
function createTransaction(client: Aptos, account: AptosAccount, request: {
|
|
4907
4922
|
typeArguments: [];
|
|
4908
4923
|
functionArguments: [MoveAddressType, string];
|
|
@@ -5007,6 +5022,15 @@ export declare namespace multisig_account {
|
|
|
5007
5022
|
}, options?: InputGenerateTransactionOptions): Promise<PendingTransactionResponse>;
|
|
5008
5023
|
}
|
|
5009
5024
|
namespace view {
|
|
5025
|
+
function isOwner(client: Aptos, request: {
|
|
5026
|
+
functionArguments: [MoveAddressType, MoveAddressType];
|
|
5027
|
+
}, version?: bigint): Promise<[boolean]>;
|
|
5028
|
+
function metadata(client: Aptos, request: {
|
|
5029
|
+
functionArguments: [MoveAddressType];
|
|
5030
|
+
}, version?: bigint): Promise<[simple_map.SimpleMap<string, string>]>;
|
|
5031
|
+
function vote(client: Aptos, request: {
|
|
5032
|
+
functionArguments: [MoveAddressType, bigint, MoveAddressType];
|
|
5033
|
+
}, version?: bigint): Promise<[boolean, boolean]>;
|
|
5010
5034
|
function availableTransactionQueueCapacity(client: Aptos, request: {
|
|
5011
5035
|
functionArguments: [MoveAddressType];
|
|
5012
5036
|
}, version?: bigint): Promise<[bigint]>;
|
|
@@ -5022,6 +5046,12 @@ export declare namespace multisig_account {
|
|
|
5022
5046
|
function canReject(client: Aptos, request: {
|
|
5023
5047
|
functionArguments: [MoveAddressType, MoveAddressType, bigint];
|
|
5024
5048
|
}, version?: bigint): Promise<[boolean]>;
|
|
5049
|
+
function numSignaturesRequired(client: Aptos, request: {
|
|
5050
|
+
functionArguments: [MoveAddressType];
|
|
5051
|
+
}, version?: bigint): Promise<[bigint]>;
|
|
5052
|
+
function owners(client: Aptos, request: {
|
|
5053
|
+
functionArguments: [MoveAddressType];
|
|
5054
|
+
}, version?: bigint): Promise<[MoveAddressType[]]>;
|
|
5025
5055
|
function getNextMultisigAccountAddress(client: Aptos, request: {
|
|
5026
5056
|
functionArguments: [MoveAddressType];
|
|
5027
5057
|
}, version?: bigint): Promise<[MoveAddressType]>;
|
|
@@ -5034,27 +5064,12 @@ export declare namespace multisig_account {
|
|
|
5034
5064
|
function getTransaction(client: Aptos, request: {
|
|
5035
5065
|
functionArguments: [MoveAddressType, bigint];
|
|
5036
5066
|
}, version?: bigint): Promise<[multisig_account.MultisigTransaction]>;
|
|
5037
|
-
function isOwner(client: Aptos, request: {
|
|
5038
|
-
functionArguments: [MoveAddressType, MoveAddressType];
|
|
5039
|
-
}, version?: bigint): Promise<[boolean]>;
|
|
5040
5067
|
function lastResolvedSequenceNumber(client: Aptos, request: {
|
|
5041
5068
|
functionArguments: [MoveAddressType];
|
|
5042
5069
|
}, version?: bigint): Promise<[bigint]>;
|
|
5043
|
-
function metadata(client: Aptos, request: {
|
|
5044
|
-
functionArguments: [MoveAddressType];
|
|
5045
|
-
}, version?: bigint): Promise<[simple_map.SimpleMap<string, string>]>;
|
|
5046
5070
|
function nextSequenceNumber(client: Aptos, request: {
|
|
5047
5071
|
functionArguments: [MoveAddressType];
|
|
5048
5072
|
}, version?: bigint): Promise<[bigint]>;
|
|
5049
|
-
function numSignaturesRequired(client: Aptos, request: {
|
|
5050
|
-
functionArguments: [MoveAddressType];
|
|
5051
|
-
}, version?: bigint): Promise<[bigint]>;
|
|
5052
|
-
function owners(client: Aptos, request: {
|
|
5053
|
-
functionArguments: [MoveAddressType];
|
|
5054
|
-
}, version?: bigint): Promise<[MoveAddressType[]]>;
|
|
5055
|
-
function vote(client: Aptos, request: {
|
|
5056
|
-
functionArguments: [MoveAddressType, bigint, MoveAddressType];
|
|
5057
|
-
}, version?: bigint): Promise<[boolean, boolean]>;
|
|
5058
5073
|
}
|
|
5059
5074
|
}
|
|
5060
5075
|
export declare namespace pool_u64_unbound {
|
|
@@ -5096,56 +5111,58 @@ export declare namespace resource_account {
|
|
|
5096
5111
|
namespace view { }
|
|
5097
5112
|
}
|
|
5098
5113
|
export declare namespace staking_contract {
|
|
5099
|
-
interface
|
|
5114
|
+
interface AddStake {
|
|
5100
5115
|
operator: MoveAddressType;
|
|
5101
5116
|
pool_address: MoveAddressType;
|
|
5102
5117
|
amount: bigint;
|
|
5103
5118
|
}
|
|
5104
|
-
namespace
|
|
5105
|
-
const TYPE_QNAME = "0x1::staking_contract::
|
|
5106
|
-
function type(): TypeDescriptor<
|
|
5119
|
+
namespace AddStake {
|
|
5120
|
+
const TYPE_QNAME = "0x1::staking_contract::AddStake";
|
|
5121
|
+
function type(): TypeDescriptor<AddStake>;
|
|
5107
5122
|
}
|
|
5108
|
-
interface
|
|
5109
|
-
data_decoded:
|
|
5123
|
+
interface AddStakeInstance extends TypedEventInstance<AddStake> {
|
|
5124
|
+
data_decoded: AddStake;
|
|
5110
5125
|
type_arguments: [];
|
|
5111
5126
|
}
|
|
5112
|
-
interface
|
|
5127
|
+
interface AddStakeEvent {
|
|
5113
5128
|
operator: MoveAddressType;
|
|
5114
5129
|
pool_address: MoveAddressType;
|
|
5115
5130
|
amount: bigint;
|
|
5116
5131
|
}
|
|
5117
|
-
namespace
|
|
5118
|
-
const TYPE_QNAME = "0x1::staking_contract::
|
|
5119
|
-
function type(): TypeDescriptor<
|
|
5132
|
+
namespace AddStakeEvent {
|
|
5133
|
+
const TYPE_QNAME = "0x1::staking_contract::AddStakeEvent";
|
|
5134
|
+
function type(): TypeDescriptor<AddStakeEvent>;
|
|
5120
5135
|
}
|
|
5121
|
-
interface
|
|
5122
|
-
data_decoded:
|
|
5136
|
+
interface AddStakeEventInstance extends TypedEventInstance<AddStakeEvent> {
|
|
5137
|
+
data_decoded: AddStakeEvent;
|
|
5123
5138
|
type_arguments: [];
|
|
5124
5139
|
}
|
|
5125
|
-
interface
|
|
5140
|
+
interface UnlockStake {
|
|
5126
5141
|
operator: MoveAddressType;
|
|
5127
5142
|
pool_address: MoveAddressType;
|
|
5128
5143
|
amount: bigint;
|
|
5144
|
+
commission_paid: bigint;
|
|
5129
5145
|
}
|
|
5130
|
-
namespace
|
|
5131
|
-
const TYPE_QNAME = "0x1::staking_contract::
|
|
5132
|
-
function type(): TypeDescriptor<
|
|
5146
|
+
namespace UnlockStake {
|
|
5147
|
+
const TYPE_QNAME = "0x1::staking_contract::UnlockStake";
|
|
5148
|
+
function type(): TypeDescriptor<UnlockStake>;
|
|
5133
5149
|
}
|
|
5134
|
-
interface
|
|
5135
|
-
data_decoded:
|
|
5150
|
+
interface UnlockStakeInstance extends TypedEventInstance<UnlockStake> {
|
|
5151
|
+
data_decoded: UnlockStake;
|
|
5136
5152
|
type_arguments: [];
|
|
5137
5153
|
}
|
|
5138
|
-
interface
|
|
5154
|
+
interface UnlockStakeEvent {
|
|
5139
5155
|
operator: MoveAddressType;
|
|
5140
5156
|
pool_address: MoveAddressType;
|
|
5141
5157
|
amount: bigint;
|
|
5158
|
+
commission_paid: bigint;
|
|
5142
5159
|
}
|
|
5143
|
-
namespace
|
|
5144
|
-
const TYPE_QNAME = "0x1::staking_contract::
|
|
5145
|
-
function type(): TypeDescriptor<
|
|
5160
|
+
namespace UnlockStakeEvent {
|
|
5161
|
+
const TYPE_QNAME = "0x1::staking_contract::UnlockStakeEvent";
|
|
5162
|
+
function type(): TypeDescriptor<UnlockStakeEvent>;
|
|
5146
5163
|
}
|
|
5147
|
-
interface
|
|
5148
|
-
data_decoded:
|
|
5164
|
+
interface UnlockStakeEventInstance extends TypedEventInstance<UnlockStakeEvent> {
|
|
5165
|
+
data_decoded: UnlockStakeEvent;
|
|
5149
5166
|
type_arguments: [];
|
|
5150
5167
|
}
|
|
5151
5168
|
interface BeneficiaryForOperator {
|
|
@@ -5155,6 +5172,45 @@ export declare namespace staking_contract {
|
|
|
5155
5172
|
const TYPE_QNAME = "0x1::staking_contract::BeneficiaryForOperator";
|
|
5156
5173
|
function type(): TypeDescriptor<BeneficiaryForOperator>;
|
|
5157
5174
|
}
|
|
5175
|
+
interface SetBeneficiaryForOperator {
|
|
5176
|
+
operator: MoveAddressType;
|
|
5177
|
+
old_beneficiary: MoveAddressType;
|
|
5178
|
+
new_beneficiary: MoveAddressType;
|
|
5179
|
+
}
|
|
5180
|
+
namespace SetBeneficiaryForOperator {
|
|
5181
|
+
const TYPE_QNAME = "0x1::staking_contract::SetBeneficiaryForOperator";
|
|
5182
|
+
function type(): TypeDescriptor<SetBeneficiaryForOperator>;
|
|
5183
|
+
}
|
|
5184
|
+
interface SetBeneficiaryForOperatorInstance extends TypedEventInstance<SetBeneficiaryForOperator> {
|
|
5185
|
+
data_decoded: SetBeneficiaryForOperator;
|
|
5186
|
+
type_arguments: [];
|
|
5187
|
+
}
|
|
5188
|
+
interface AddDistribution {
|
|
5189
|
+
operator: MoveAddressType;
|
|
5190
|
+
pool_address: MoveAddressType;
|
|
5191
|
+
amount: bigint;
|
|
5192
|
+
}
|
|
5193
|
+
namespace AddDistribution {
|
|
5194
|
+
const TYPE_QNAME = "0x1::staking_contract::AddDistribution";
|
|
5195
|
+
function type(): TypeDescriptor<AddDistribution>;
|
|
5196
|
+
}
|
|
5197
|
+
interface AddDistributionInstance extends TypedEventInstance<AddDistribution> {
|
|
5198
|
+
data_decoded: AddDistribution;
|
|
5199
|
+
type_arguments: [];
|
|
5200
|
+
}
|
|
5201
|
+
interface AddDistributionEvent {
|
|
5202
|
+
operator: MoveAddressType;
|
|
5203
|
+
pool_address: MoveAddressType;
|
|
5204
|
+
amount: bigint;
|
|
5205
|
+
}
|
|
5206
|
+
namespace AddDistributionEvent {
|
|
5207
|
+
const TYPE_QNAME = "0x1::staking_contract::AddDistributionEvent";
|
|
5208
|
+
function type(): TypeDescriptor<AddDistributionEvent>;
|
|
5209
|
+
}
|
|
5210
|
+
interface AddDistributionEventInstance extends TypedEventInstance<AddDistributionEvent> {
|
|
5211
|
+
data_decoded: AddDistributionEvent;
|
|
5212
|
+
type_arguments: [];
|
|
5213
|
+
}
|
|
5158
5214
|
interface CreateStakingContract {
|
|
5159
5215
|
operator: MoveAddressType;
|
|
5160
5216
|
voter: MoveAddressType;
|
|
@@ -5265,19 +5321,6 @@ export declare namespace staking_contract {
|
|
|
5265
5321
|
data_decoded: ResetLockupEvent;
|
|
5266
5322
|
type_arguments: [];
|
|
5267
5323
|
}
|
|
5268
|
-
interface SetBeneficiaryForOperator {
|
|
5269
|
-
operator: MoveAddressType;
|
|
5270
|
-
old_beneficiary: MoveAddressType;
|
|
5271
|
-
new_beneficiary: MoveAddressType;
|
|
5272
|
-
}
|
|
5273
|
-
namespace SetBeneficiaryForOperator {
|
|
5274
|
-
const TYPE_QNAME = "0x1::staking_contract::SetBeneficiaryForOperator";
|
|
5275
|
-
function type(): TypeDescriptor<SetBeneficiaryForOperator>;
|
|
5276
|
-
}
|
|
5277
|
-
interface SetBeneficiaryForOperatorInstance extends TypedEventInstance<SetBeneficiaryForOperator> {
|
|
5278
|
-
data_decoded: SetBeneficiaryForOperator;
|
|
5279
|
-
type_arguments: [];
|
|
5280
|
-
}
|
|
5281
5324
|
interface StakingContract {
|
|
5282
5325
|
principal: bigint;
|
|
5283
5326
|
pool_address: MoveAddressType;
|
|
@@ -5350,34 +5393,6 @@ export declare namespace staking_contract {
|
|
|
5350
5393
|
data_decoded: SwitchOperatorEvent;
|
|
5351
5394
|
type_arguments: [];
|
|
5352
5395
|
}
|
|
5353
|
-
interface UnlockStake {
|
|
5354
|
-
operator: MoveAddressType;
|
|
5355
|
-
pool_address: MoveAddressType;
|
|
5356
|
-
amount: bigint;
|
|
5357
|
-
commission_paid: bigint;
|
|
5358
|
-
}
|
|
5359
|
-
namespace UnlockStake {
|
|
5360
|
-
const TYPE_QNAME = "0x1::staking_contract::UnlockStake";
|
|
5361
|
-
function type(): TypeDescriptor<UnlockStake>;
|
|
5362
|
-
}
|
|
5363
|
-
interface UnlockStakeInstance extends TypedEventInstance<UnlockStake> {
|
|
5364
|
-
data_decoded: UnlockStake;
|
|
5365
|
-
type_arguments: [];
|
|
5366
|
-
}
|
|
5367
|
-
interface UnlockStakeEvent {
|
|
5368
|
-
operator: MoveAddressType;
|
|
5369
|
-
pool_address: MoveAddressType;
|
|
5370
|
-
amount: bigint;
|
|
5371
|
-
commission_paid: bigint;
|
|
5372
|
-
}
|
|
5373
|
-
namespace UnlockStakeEvent {
|
|
5374
|
-
const TYPE_QNAME = "0x1::staking_contract::UnlockStakeEvent";
|
|
5375
|
-
function type(): TypeDescriptor<UnlockStakeEvent>;
|
|
5376
|
-
}
|
|
5377
|
-
interface UnlockStakeEventInstance extends TypedEventInstance<UnlockStakeEvent> {
|
|
5378
|
-
data_decoded: UnlockStakeEvent;
|
|
5379
|
-
type_arguments: [];
|
|
5380
|
-
}
|
|
5381
5396
|
interface UpdateCommission {
|
|
5382
5397
|
staker: MoveAddressType;
|
|
5383
5398
|
operator: MoveAddressType;
|
|
@@ -5439,6 +5454,10 @@ export declare namespace staking_contract {
|
|
|
5439
5454
|
typeArguments: [];
|
|
5440
5455
|
functionArguments: [MoveAddressType, bigint];
|
|
5441
5456
|
}, options?: InputGenerateTransactionOptions): Promise<PendingTransactionResponse>;
|
|
5457
|
+
function setBeneficiaryForOperator(client: Aptos, account: AptosAccount, request: {
|
|
5458
|
+
typeArguments: [];
|
|
5459
|
+
functionArguments: [MoveAddressType];
|
|
5460
|
+
}, options?: InputGenerateTransactionOptions): Promise<PendingTransactionResponse>;
|
|
5442
5461
|
function createStakingContract(client: Aptos, account: AptosAccount, request: {
|
|
5443
5462
|
typeArguments: [];
|
|
5444
5463
|
functionArguments: [
|
|
@@ -5461,10 +5480,6 @@ export declare namespace staking_contract {
|
|
|
5461
5480
|
typeArguments: [];
|
|
5462
5481
|
functionArguments: [MoveAddressType];
|
|
5463
5482
|
}, options?: InputGenerateTransactionOptions): Promise<PendingTransactionResponse>;
|
|
5464
|
-
function setBeneficiaryForOperator(client: Aptos, account: AptosAccount, request: {
|
|
5465
|
-
typeArguments: [];
|
|
5466
|
-
functionArguments: [MoveAddressType];
|
|
5467
|
-
}, options?: InputGenerateTransactionOptions): Promise<PendingTransactionResponse>;
|
|
5468
5483
|
function switchOperator(client: Aptos, account: AptosAccount, request: {
|
|
5469
5484
|
typeArguments: [];
|
|
5470
5485
|
functionArguments: [MoveAddressType, MoveAddressType, bigint];
|
|
@@ -5494,12 +5509,12 @@ export declare namespace staking_contract {
|
|
|
5494
5509
|
function beneficiaryForOperator(client: Aptos, request: {
|
|
5495
5510
|
functionArguments: [MoveAddressType];
|
|
5496
5511
|
}, version?: bigint): Promise<[MoveAddressType]>;
|
|
5497
|
-
function commissionPercentage(client: Aptos, request: {
|
|
5498
|
-
functionArguments: [MoveAddressType, MoveAddressType];
|
|
5499
|
-
}, version?: bigint): Promise<[bigint]>;
|
|
5500
5512
|
function getExpectedStakePoolAddress(client: Aptos, request: {
|
|
5501
5513
|
functionArguments: [MoveAddressType, MoveAddressType, string];
|
|
5502
5514
|
}, version?: bigint): Promise<[MoveAddressType]>;
|
|
5515
|
+
function commissionPercentage(client: Aptos, request: {
|
|
5516
|
+
functionArguments: [MoveAddressType, MoveAddressType];
|
|
5517
|
+
}, version?: bigint): Promise<[bigint]>;
|
|
5503
5518
|
function lastRecordedPrincipal(client: Aptos, request: {
|
|
5504
5519
|
functionArguments: [MoveAddressType, MoveAddressType];
|
|
5505
5520
|
}, version?: bigint): Promise<[bigint]>;
|
|
@@ -5655,13 +5670,6 @@ export declare namespace jwk_consensus_config {
|
|
|
5655
5670
|
const TYPE_QNAME = "0x1::jwk_consensus_config::ConfigV1";
|
|
5656
5671
|
function type(): TypeDescriptor<ConfigV1>;
|
|
5657
5672
|
}
|
|
5658
|
-
interface JWKConsensusConfig {
|
|
5659
|
-
variant: copyable_any.Any;
|
|
5660
|
-
}
|
|
5661
|
-
namespace JWKConsensusConfig {
|
|
5662
|
-
const TYPE_QNAME = "0x1::jwk_consensus_config::JWKConsensusConfig";
|
|
5663
|
-
function type(): TypeDescriptor<JWKConsensusConfig>;
|
|
5664
|
-
}
|
|
5665
5673
|
interface OIDCProvider {
|
|
5666
5674
|
name: string;
|
|
5667
5675
|
config_url: string;
|
|
@@ -5670,6 +5678,13 @@ export declare namespace jwk_consensus_config {
|
|
|
5670
5678
|
const TYPE_QNAME = "0x1::jwk_consensus_config::OIDCProvider";
|
|
5671
5679
|
function type(): TypeDescriptor<OIDCProvider>;
|
|
5672
5680
|
}
|
|
5681
|
+
interface JWKConsensusConfig {
|
|
5682
|
+
variant: copyable_any.Any;
|
|
5683
|
+
}
|
|
5684
|
+
namespace JWKConsensusConfig {
|
|
5685
|
+
const TYPE_QNAME = "0x1::jwk_consensus_config::JWKConsensusConfig";
|
|
5686
|
+
function type(): TypeDescriptor<JWKConsensusConfig>;
|
|
5687
|
+
}
|
|
5673
5688
|
namespace entry { }
|
|
5674
5689
|
namespace view { }
|
|
5675
5690
|
}
|