@waterx/sdk 2.1.0 → 2.4.0
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/README.md +75 -169
- package/dist/src/client.d.ts +40 -2
- package/dist/src/client.js +55 -6
- package/dist/src/config.d.ts +66 -3
- package/dist/src/config.js +10 -4
- package/dist/src/constants.d.ts +6 -0
- package/dist/src/constants.js +6 -0
- package/dist/src/core/waterx-account.d.ts +31 -0
- package/dist/src/core/waterx-account.js +26 -0
- package/dist/src/fetch.d.ts +110 -0
- package/dist/src/fetch.js +149 -4
- package/dist/src/generated/bucket_v2_framework/account.d.ts +5 -5
- package/dist/src/generated/bucket_v2_framework/double.d.ts +77 -77
- package/dist/src/generated/bucket_v2_framework/float.d.ts +73 -73
- package/dist/src/generated/bucket_v2_framework/liability.d.ts +33 -33
- package/dist/src/generated/bucket_v2_framework/linked_table.d.ts +5 -5
- package/dist/src/generated/bucket_v2_framework/linked_table.js +2 -2
- package/dist/src/generated/bucket_v2_framework/sheet.d.ts +57 -57
- package/dist/src/generated/bucket_v2_framework/sheet.js +5 -11
- package/dist/src/generated/native_custody/custody_vault.d.ts +46 -32
- package/dist/src/generated/native_custody/custody_vault.js +19 -10
- package/dist/src/generated/native_custody/deps/bucket_v2_framework/sheet.js +1 -3
- package/dist/src/generated/native_custody/events.js +1 -2
- package/dist/src/generated/pyth_sponsor_rule/pyth_sponsor_rule.d.ts +7 -7
- package/dist/src/generated/pyth_sponsor_rule/pyth_sponsor_rule.js +1 -2
- package/dist/src/generated/utils/index.d.ts +7 -7
- package/dist/src/generated/utils/index.js +9 -6
- package/dist/src/generated/waterx_account/account.d.ts +124 -71
- package/dist/src/generated/waterx_account/account.js +64 -29
- package/dist/src/generated/waterx_account/deps/bucket_v2_framework/sheet.js +1 -3
- package/dist/src/generated/waterx_account/direct_rule.d.ts +5 -5
- package/dist/src/generated/waterx_account/events.d.ts +10 -0
- package/dist/src/generated/waterx_account/events.js +31 -50
- package/dist/src/generated/waterx_constant_rule/constant_rule.d.ts +68 -0
- package/dist/src/generated/waterx_constant_rule/constant_rule.js +59 -0
- package/dist/src/generated/waterx_constant_rule/deps/bucket_v2_framework/float.d.ts +8 -0
- package/dist/src/generated/waterx_constant_rule/deps/bucket_v2_framework/float.js +10 -0
- package/dist/src/generated/waterx_constant_rule/deps/sui/vec_map.d.ts +36 -0
- package/dist/src/generated/waterx_constant_rule/deps/sui/vec_map.js +27 -0
- package/dist/src/generated/waterx_credit/credit_registry.d.ts +9 -9
- package/dist/src/generated/waterx_credit/credit_registry.js +1 -2
- package/dist/src/generated/waterx_credit/limited_supply.d.ts +17 -17
- package/dist/src/generated/waterx_oracle/aggregator.js +1 -2
- package/dist/src/generated/waterx_oracle/collector.d.ts +17 -17
- package/dist/src/generated/waterx_oracle/collector.js +1 -1
- package/dist/src/generated/waterx_oracle/oracle.d.ts +5 -5
- package/dist/src/generated/waterx_perp/account_data.d.ts +5 -5
- package/dist/src/generated/waterx_perp/account_data.js +1 -2
- package/dist/src/generated/waterx_perp/deps/bucket_v2_framework/sheet.js +1 -3
- package/dist/src/generated/waterx_perp/events.d.ts +181 -181
- package/dist/src/generated/waterx_perp/events.js +87 -173
- package/dist/src/generated/waterx_perp/global_config.d.ts +3 -3
- package/dist/src/generated/waterx_perp/global_config.js +6 -12
- package/dist/src/generated/waterx_perp/keyed_big_vector.d.ts +9 -9
- package/dist/src/generated/waterx_perp/keyed_big_vector.js +1 -2
- package/dist/src/generated/waterx_perp/lp_pool.d.ts +115 -115
- package/dist/src/generated/waterx_perp/lp_pool.js +11 -22
- package/dist/src/generated/waterx_perp/market_config.d.ts +61 -43
- package/dist/src/generated/waterx_perp/market_config.js +29 -22
- package/dist/src/generated/waterx_perp/math.d.ts +7 -7
- package/dist/src/generated/waterx_perp/order_book.d.ts +47 -47
- package/dist/src/generated/waterx_perp/position.d.ts +99 -99
- package/dist/src/generated/waterx_perp/position.js +6 -12
- package/dist/src/generated/waterx_perp/request.d.ts +67 -67
- package/dist/src/generated/waterx_perp/request.js +2 -3
- package/dist/src/generated/waterx_perp/response.d.ts +35 -35
- package/dist/src/generated/waterx_perp/response.js +1 -2
- package/dist/src/generated/waterx_perp/trading.d.ts +303 -179
- package/dist/src/generated/waterx_perp/trading.js +99 -14
- package/dist/src/generated/waterx_perp_view/view.js +5 -10
- package/dist/src/generated/waterx_pyth_rule/pyth_rule.d.ts +5 -5
- package/dist/src/generated/waterx_pyth_rule/pyth_rule.js +1 -2
- package/dist/src/generated/waterx_referral/referral_table.d.ts +5 -5
- package/dist/src/generated/waterx_referral/referral_table.js +1 -2
- package/dist/src/generated/waterx_staking/waterx_staking.d.ts +19 -19
- package/dist/src/generated/waterx_staking/waterx_staking.js +10 -20
- package/dist/src/generated/waterx_supra_rule/deps/sui/vec_map.d.ts +36 -0
- package/dist/src/generated/waterx_supra_rule/deps/sui/vec_map.js +27 -0
- package/dist/src/generated/waterx_supra_rule/supra_rule.d.ts +158 -0
- package/dist/src/generated/waterx_supra_rule/supra_rule.js +148 -0
- package/dist/src/generated/withdrawal_queue/deps/bucket_v2_framework/float.d.ts +8 -0
- package/dist/src/generated/withdrawal_queue/deps/bucket_v2_framework/float.js +10 -0
- package/dist/src/generated/withdrawal_queue/deps/sui/vec_map.d.ts +36 -0
- package/dist/src/generated/withdrawal_queue/deps/sui/vec_map.js +27 -0
- package/dist/src/generated/withdrawal_queue/withdrawal_queue.d.ts +444 -4
- package/dist/src/generated/withdrawal_queue/withdrawal_queue.js +417 -4
- package/dist/src/generated/wormhole_bridge/wormhole_bridge.d.ts +214 -74
- package/dist/src/generated/wormhole_bridge/wormhole_bridge.js +158 -29
- package/dist/src/index.d.ts +4 -3
- package/dist/src/index.js +3 -2
- package/dist/src/prediction/account.d.ts +96 -0
- package/dist/src/prediction/account.js +230 -0
- package/dist/src/prediction/admin.d.ts +47 -0
- package/dist/src/prediction/admin.js +105 -0
- package/dist/src/prediction/bcs.d.ts +22 -0
- package/dist/src/prediction/bcs.js +240 -0
- package/dist/src/prediction/client.d.ts +75 -0
- package/dist/src/prediction/client.js +164 -0
- package/dist/src/prediction/config.d.ts +60 -0
- package/dist/src/prediction/config.js +75 -0
- package/dist/src/prediction/constants.d.ts +44 -0
- package/dist/src/prediction/constants.js +46 -0
- package/dist/src/prediction/fetch.d.ts +82 -0
- package/dist/src/prediction/fetch.js +270 -0
- package/dist/src/prediction/generated/bucket_v2_framework/account.d.ts +100 -0
- package/dist/src/prediction/generated/bucket_v2_framework/account.js +129 -0
- package/dist/src/prediction/generated/bucket_v2_framework/deps/std/type_name.d.ts +6 -0
- package/dist/src/prediction/generated/bucket_v2_framework/deps/std/type_name.js +19 -0
- package/dist/src/prediction/generated/bucket_v2_framework/deps/sui/balance.d.ts +10 -0
- package/dist/src/prediction/generated/bucket_v2_framework/deps/sui/balance.js +14 -0
- package/dist/src/prediction/generated/bucket_v2_framework/deps/sui/vec_map.d.ts +36 -0
- package/dist/src/prediction/generated/bucket_v2_framework/deps/sui/vec_map.js +27 -0
- package/dist/src/prediction/generated/bucket_v2_framework/deps/sui/vec_set.d.ts +16 -0
- package/dist/src/prediction/generated/bucket_v2_framework/deps/sui/vec_set.js +19 -0
- package/dist/src/prediction/generated/bucket_v2_framework/double.d.ts +382 -0
- package/dist/src/prediction/generated/bucket_v2_framework/double.js +466 -0
- package/dist/src/prediction/generated/bucket_v2_framework/float.d.ts +362 -0
- package/dist/src/prediction/generated/bucket_v2_framework/float.js +440 -0
- package/dist/src/prediction/generated/bucket_v2_framework/liability.d.ts +193 -0
- package/dist/src/prediction/generated/bucket_v2_framework/liability.js +205 -0
- package/dist/src/prediction/generated/bucket_v2_framework/linked_table.d.ts +384 -0
- package/dist/src/prediction/generated/bucket_v2_framework/linked_table.js +382 -0
- package/dist/src/prediction/generated/bucket_v2_framework/sheet.d.ts +344 -0
- package/dist/src/prediction/generated/bucket_v2_framework/sheet.js +338 -0
- package/dist/src/prediction/generated/utils/index.d.ts +30 -0
- package/dist/src/prediction/generated/utils/index.js +160 -0
- package/dist/src/prediction/generated/waterx_account/account.d.ts +1589 -0
- package/dist/src/prediction/generated/waterx_account/account.js +1758 -0
- package/dist/src/prediction/generated/waterx_account/deps/bucket_v2_framework/liability.d.ts +7 -0
- package/dist/src/prediction/generated/waterx_account/deps/bucket_v2_framework/liability.js +13 -0
- package/dist/src/prediction/generated/waterx_account/deps/bucket_v2_framework/sheet.d.ts +7 -0
- package/dist/src/prediction/generated/waterx_account/deps/bucket_v2_framework/sheet.js +16 -0
- package/dist/src/prediction/generated/waterx_account/deps/std/type_name.d.ts +6 -0
- package/dist/src/prediction/generated/waterx_account/deps/std/type_name.js +19 -0
- package/dist/src/prediction/generated/waterx_account/deps/sui/balance.d.ts +10 -0
- package/dist/src/prediction/generated/waterx_account/deps/sui/balance.js +14 -0
- package/dist/src/prediction/generated/waterx_account/deps/sui/object_table.d.ts +12 -0
- package/dist/src/prediction/generated/waterx_account/deps/sui/object_table.js +19 -0
- package/dist/src/prediction/generated/waterx_account/deps/sui/table.d.ts +24 -0
- package/dist/src/prediction/generated/waterx_account/deps/sui/table.js +31 -0
- package/dist/src/prediction/generated/waterx_account/deps/sui/vec_map.d.ts +36 -0
- package/dist/src/prediction/generated/waterx_account/deps/sui/vec_map.js +27 -0
- package/dist/src/prediction/generated/waterx_account/deps/sui/vec_set.d.ts +16 -0
- package/dist/src/prediction/generated/waterx_account/deps/sui/vec_set.js +19 -0
- package/dist/src/prediction/generated/waterx_account/direct_rule.d.ts +75 -0
- package/dist/src/prediction/generated/waterx_account/direct_rule.js +78 -0
- package/dist/src/prediction/generated/waterx_account/events.d.ts +33 -0
- package/dist/src/prediction/generated/waterx_account/events.js +137 -0
- package/dist/src/prediction/generated/waterx_account/version.d.ts +10 -0
- package/dist/src/prediction/generated/waterx_account/version.js +8 -0
- package/dist/src/prediction/generated/waterx_prediction/account_data.d.ts +327 -0
- package/dist/src/prediction/generated/waterx_prediction/account_data.js +405 -0
- package/dist/src/prediction/generated/waterx_prediction/admin.d.ts +5 -0
- package/dist/src/prediction/generated/waterx_prediction/admin.js +9 -0
- package/dist/src/prediction/generated/waterx_prediction/bet_sharing.d.ts +60 -0
- package/dist/src/prediction/generated/waterx_prediction/bet_sharing.js +83 -0
- package/dist/src/prediction/generated/waterx_prediction/deps/bucket_v2_framework/linked_table.d.ts +8 -0
- package/dist/src/prediction/generated/waterx_prediction/deps/bucket_v2_framework/linked_table.js +18 -0
- package/dist/src/prediction/generated/waterx_prediction/deps/sui/balance.d.ts +10 -0
- package/dist/src/prediction/generated/waterx_prediction/deps/sui/balance.js +14 -0
- package/dist/src/prediction/generated/waterx_prediction/deps/sui/table.d.ts +24 -0
- package/dist/src/prediction/generated/waterx_prediction/deps/sui/table.js +31 -0
- package/dist/src/prediction/generated/waterx_prediction/deps/sui/vec_set.d.ts +16 -0
- package/dist/src/prediction/generated/waterx_prediction/deps/sui/vec_set.js +19 -0
- package/dist/src/prediction/generated/waterx_prediction/events.d.ts +22 -0
- package/dist/src/prediction/generated/waterx_prediction/events.js +179 -0
- package/dist/src/prediction/generated/waterx_prediction/global_config.d.ts +116 -0
- package/dist/src/prediction/generated/waterx_prediction/global_config.js +141 -0
- package/dist/src/prediction/generated/waterx_prediction/order.d.ts +200 -0
- package/dist/src/prediction/generated/waterx_prediction/order.js +284 -0
- package/dist/src/prediction/generated/waterx_prediction/outcome.d.ts +58 -0
- package/dist/src/prediction/generated/waterx_prediction/outcome.js +73 -0
- package/dist/src/prediction/generated/waterx_prediction/position.d.ts +160 -0
- package/dist/src/prediction/generated/waterx_prediction/position.js +214 -0
- package/dist/src/prediction/generated/waterx_prediction/version.d.ts +10 -0
- package/dist/src/prediction/generated/waterx_prediction/version.js +8 -0
- package/dist/src/prediction/generated/waterx_prediction/view.d.ts +353 -0
- package/dist/src/prediction/generated/waterx_prediction/view.js +432 -0
- package/dist/src/prediction/generated/waterx_prediction/waterx_prediction.d.ts +1698 -0
- package/dist/src/prediction/generated/waterx_prediction/waterx_prediction.js +1733 -0
- package/dist/src/prediction/gift-link.d.ts +6 -0
- package/dist/src/prediction/gift-link.js +5 -0
- package/dist/src/prediction/gift.d.ts +223 -0
- package/dist/src/prediction/gift.js +451 -0
- package/dist/src/prediction/index.d.ts +29 -0
- package/dist/src/prediction/index.js +21 -0
- package/dist/src/prediction/prediction.d.ts +104 -0
- package/dist/src/prediction/prediction.js +317 -0
- package/dist/src/prediction/tx-builders.d.ts +44 -0
- package/dist/src/prediction/tx-builders.js +52 -0
- package/dist/src/prediction/types.d.ts +93 -0
- package/dist/src/prediction/types.js +1 -0
- package/dist/src/prediction/user/account.d.ts +2 -0
- package/dist/src/prediction/user/account.js +1 -0
- package/dist/src/prediction/user/admin.d.ts +6 -0
- package/dist/src/prediction/user/admin.js +3 -0
- package/dist/src/prediction/user/gift.d.ts +2 -0
- package/dist/src/prediction/user/gift.js +1 -0
- package/dist/src/prediction/user/index.d.ts +5 -0
- package/dist/src/prediction/user/index.js +3 -0
- package/dist/src/prediction/user/keeper.d.ts +2 -0
- package/dist/src/prediction/user/keeper.js +1 -0
- package/dist/src/prediction/user/order.d.ts +2 -0
- package/dist/src/prediction/user/order.js +1 -0
- package/dist/src/prediction/user/position.d.ts +2 -0
- package/dist/src/prediction/user/position.js +1 -0
- package/dist/src/prediction/utils/bcs.d.ts +1 -0
- package/dist/src/prediction/utils/bcs.js +1 -0
- package/dist/src/prediction/utils/index.d.ts +1 -0
- package/dist/src/prediction/utils/index.js +1 -0
- package/dist/src/prediction/utils.d.ts +30 -0
- package/dist/src/prediction/utils.js +177 -0
- package/dist/src/sdk.d.ts +18 -0
- package/dist/src/sdk.js +17 -0
- package/dist/src/tx-builders.d.ts +54 -0
- package/dist/src/tx-builders.js +141 -0
- package/dist/src/unified-client.d.ts +407 -0
- package/dist/src/unified-client.js +123 -0
- package/dist/src/user/account.d.ts +27 -0
- package/dist/src/user/account.js +34 -8
- package/dist/src/user/credit.d.ts +8 -14
- package/dist/src/user/credit.js +9 -23
- package/dist/src/user/custody.d.ts +4 -18
- package/dist/src/user/custody.js +14 -25
- package/dist/src/utils/consolidate-balance.d.ts +37 -0
- package/dist/src/utils/consolidate-balance.js +89 -0
- package/dist/src/utils/math.d.ts +86 -0
- package/dist/src/utils/math.js +100 -0
- package/dist/src/utils/pyth.d.ts +42 -7
- package/dist/src/utils/pyth.js +107 -31
- package/package.json +129 -34
|
@@ -7,7 +7,7 @@
|
|
|
7
7
|
* is T+1.
|
|
8
8
|
*/
|
|
9
9
|
import { MoveStruct, type RawTransactionArgument } from '../utils/index.ts';
|
|
10
|
-
import { type Transaction } from '@mysten/sui/transactions';
|
|
10
|
+
import { type Transaction, type TransactionArgument } from '@mysten/sui/transactions';
|
|
11
11
|
export declare const TokenPoolInfo: MoveStruct<{
|
|
12
12
|
/** Token type. */
|
|
13
13
|
token_type: MoveStruct<{
|
|
@@ -431,7 +431,7 @@ export interface MintWlpArguments {
|
|
|
431
431
|
globalConfig: RawTransactionArgument<string>;
|
|
432
432
|
wxaRegistry: RawTransactionArgument<string>;
|
|
433
433
|
aum: RawTransactionArgument<string>;
|
|
434
|
-
senderRequest:
|
|
434
|
+
senderRequest: TransactionArgument;
|
|
435
435
|
accountId: RawTransactionArgument<string>;
|
|
436
436
|
depositAmount: RawTransactionArgument<number | bigint>;
|
|
437
437
|
minLpAmount: RawTransactionArgument<number | bigint>;
|
|
@@ -444,7 +444,7 @@ export interface MintWlpOptions {
|
|
|
444
444
|
globalConfig: RawTransactionArgument<string>,
|
|
445
445
|
wxaRegistry: RawTransactionArgument<string>,
|
|
446
446
|
aum: RawTransactionArgument<string>,
|
|
447
|
-
senderRequest:
|
|
447
|
+
senderRequest: TransactionArgument,
|
|
448
448
|
accountId: RawTransactionArgument<string>,
|
|
449
449
|
depositAmount: RawTransactionArgument<number | bigint>,
|
|
450
450
|
minLpAmount: RawTransactionArgument<number | bigint>,
|
|
@@ -466,7 +466,7 @@ export interface RequestRedeemArguments {
|
|
|
466
466
|
pool: RawTransactionArgument<string>;
|
|
467
467
|
globalConfig: RawTransactionArgument<string>;
|
|
468
468
|
wxaRegistry: RawTransactionArgument<string>;
|
|
469
|
-
senderRequest:
|
|
469
|
+
senderRequest: TransactionArgument;
|
|
470
470
|
accountId: RawTransactionArgument<string>;
|
|
471
471
|
lpAmount: RawTransactionArgument<number | bigint>;
|
|
472
472
|
}
|
|
@@ -476,7 +476,7 @@ export interface RequestRedeemOptions {
|
|
|
476
476
|
pool: RawTransactionArgument<string>,
|
|
477
477
|
globalConfig: RawTransactionArgument<string>,
|
|
478
478
|
wxaRegistry: RawTransactionArgument<string>,
|
|
479
|
-
senderRequest:
|
|
479
|
+
senderRequest: TransactionArgument,
|
|
480
480
|
accountId: RawTransactionArgument<string>,
|
|
481
481
|
lpAmount: RawTransactionArgument<number | bigint>
|
|
482
482
|
];
|
|
@@ -495,10 +495,10 @@ export declare function requestRedeem(options: RequestRedeemOptions): (tx: Trans
|
|
|
495
495
|
export interface MintWlpWithPricingTvlArguments {
|
|
496
496
|
pool: RawTransactionArgument<string>;
|
|
497
497
|
globalConfig: RawTransactionArgument<string>;
|
|
498
|
-
deposit:
|
|
498
|
+
deposit: TransactionArgument;
|
|
499
499
|
oracle: RawTransactionArgument<string>;
|
|
500
500
|
ticker: RawTransactionArgument<string>;
|
|
501
|
-
pricingTvlUsd:
|
|
501
|
+
pricingTvlUsd: TransactionArgument;
|
|
502
502
|
minLpAmount: RawTransactionArgument<number | bigint>;
|
|
503
503
|
accountId: RawTransactionArgument<string>;
|
|
504
504
|
}
|
|
@@ -507,10 +507,10 @@ export interface MintWlpWithPricingTvlOptions {
|
|
|
507
507
|
arguments: MintWlpWithPricingTvlArguments | [
|
|
508
508
|
pool: RawTransactionArgument<string>,
|
|
509
509
|
globalConfig: RawTransactionArgument<string>,
|
|
510
|
-
deposit:
|
|
510
|
+
deposit: TransactionArgument,
|
|
511
511
|
oracle: RawTransactionArgument<string>,
|
|
512
512
|
ticker: RawTransactionArgument<string>,
|
|
513
|
-
pricingTvlUsd:
|
|
513
|
+
pricingTvlUsd: TransactionArgument,
|
|
514
514
|
minLpAmount: RawTransactionArgument<number | bigint>,
|
|
515
515
|
accountId: RawTransactionArgument<string>
|
|
516
516
|
];
|
|
@@ -524,7 +524,7 @@ export interface DoRequestRedeemArguments {
|
|
|
524
524
|
pool: RawTransactionArgument<string>;
|
|
525
525
|
globalConfig: RawTransactionArgument<string>;
|
|
526
526
|
recipientAccountId: RawTransactionArgument<string>;
|
|
527
|
-
lpBalance:
|
|
527
|
+
lpBalance: TransactionArgument;
|
|
528
528
|
expectedLpAmount: RawTransactionArgument<number | bigint>;
|
|
529
529
|
}
|
|
530
530
|
export interface DoRequestRedeemOptions {
|
|
@@ -533,7 +533,7 @@ export interface DoRequestRedeemOptions {
|
|
|
533
533
|
pool: RawTransactionArgument<string>,
|
|
534
534
|
globalConfig: RawTransactionArgument<string>,
|
|
535
535
|
recipientAccountId: RawTransactionArgument<string>,
|
|
536
|
-
lpBalance:
|
|
536
|
+
lpBalance: TransactionArgument,
|
|
537
537
|
expectedLpAmount: RawTransactionArgument<number | bigint>
|
|
538
538
|
];
|
|
539
539
|
typeArguments: [
|
|
@@ -546,7 +546,7 @@ export interface CancelRedeemArguments {
|
|
|
546
546
|
pool: RawTransactionArgument<string>;
|
|
547
547
|
globalConfig: RawTransactionArgument<string>;
|
|
548
548
|
wxaRegistry: RawTransactionArgument<string>;
|
|
549
|
-
senderRequest:
|
|
549
|
+
senderRequest: TransactionArgument;
|
|
550
550
|
requestId: RawTransactionArgument<number | bigint>;
|
|
551
551
|
}
|
|
552
552
|
export interface CancelRedeemOptions {
|
|
@@ -555,7 +555,7 @@ export interface CancelRedeemOptions {
|
|
|
555
555
|
pool: RawTransactionArgument<string>,
|
|
556
556
|
globalConfig: RawTransactionArgument<string>,
|
|
557
557
|
wxaRegistry: RawTransactionArgument<string>,
|
|
558
|
-
senderRequest:
|
|
558
|
+
senderRequest: TransactionArgument,
|
|
559
559
|
requestId: RawTransactionArgument<number | bigint>
|
|
560
560
|
];
|
|
561
561
|
typeArguments: [
|
|
@@ -595,7 +595,7 @@ export interface RejectRedeemByRedeemOperatorArguments {
|
|
|
595
595
|
pool: RawTransactionArgument<string>;
|
|
596
596
|
globalConfig: RawTransactionArgument<string>;
|
|
597
597
|
wxaRegistry: RawTransactionArgument<string>;
|
|
598
|
-
operatorRequest:
|
|
598
|
+
operatorRequest: TransactionArgument;
|
|
599
599
|
requestId: RawTransactionArgument<number | bigint>;
|
|
600
600
|
}
|
|
601
601
|
export interface RejectRedeemByRedeemOperatorOptions {
|
|
@@ -604,7 +604,7 @@ export interface RejectRedeemByRedeemOperatorOptions {
|
|
|
604
604
|
pool: RawTransactionArgument<string>,
|
|
605
605
|
globalConfig: RawTransactionArgument<string>,
|
|
606
606
|
wxaRegistry: RawTransactionArgument<string>,
|
|
607
|
-
operatorRequest:
|
|
607
|
+
operatorRequest: TransactionArgument,
|
|
608
608
|
requestId: RawTransactionArgument<number | bigint>
|
|
609
609
|
];
|
|
610
610
|
typeArguments: [
|
|
@@ -620,7 +620,7 @@ export interface SettleRedeemArguments {
|
|
|
620
620
|
pool: RawTransactionArgument<string>;
|
|
621
621
|
globalConfig: RawTransactionArgument<string>;
|
|
622
622
|
wxaRegistry: RawTransactionArgument<string>;
|
|
623
|
-
operatorRequest:
|
|
623
|
+
operatorRequest: TransactionArgument;
|
|
624
624
|
aum: RawTransactionArgument<string>;
|
|
625
625
|
requestId: RawTransactionArgument<number | bigint>;
|
|
626
626
|
oracle: RawTransactionArgument<string>;
|
|
@@ -631,7 +631,7 @@ export interface SettleRedeemOptions {
|
|
|
631
631
|
pool: RawTransactionArgument<string>,
|
|
632
632
|
globalConfig: RawTransactionArgument<string>,
|
|
633
633
|
wxaRegistry: RawTransactionArgument<string>,
|
|
634
|
-
operatorRequest:
|
|
634
|
+
operatorRequest: TransactionArgument,
|
|
635
635
|
aum: RawTransactionArgument<string>,
|
|
636
636
|
requestId: RawTransactionArgument<number | bigint>,
|
|
637
637
|
oracle: RawTransactionArgument<string>
|
|
@@ -653,7 +653,7 @@ export interface SettleRedeemWithPricingTvlArguments {
|
|
|
653
653
|
requestId: RawTransactionArgument<number | bigint>;
|
|
654
654
|
oracle: RawTransactionArgument<string>;
|
|
655
655
|
ticker: RawTransactionArgument<string>;
|
|
656
|
-
pricingTvlUsd:
|
|
656
|
+
pricingTvlUsd: TransactionArgument;
|
|
657
657
|
}
|
|
658
658
|
export interface SettleRedeemWithPricingTvlOptions {
|
|
659
659
|
package?: string;
|
|
@@ -663,7 +663,7 @@ export interface SettleRedeemWithPricingTvlOptions {
|
|
|
663
663
|
requestId: RawTransactionArgument<number | bigint>,
|
|
664
664
|
oracle: RawTransactionArgument<string>,
|
|
665
665
|
ticker: RawTransactionArgument<string>,
|
|
666
|
-
pricingTvlUsd:
|
|
666
|
+
pricingTvlUsd: TransactionArgument
|
|
667
667
|
];
|
|
668
668
|
typeArguments: [
|
|
669
669
|
string,
|
|
@@ -784,32 +784,32 @@ export interface AumMarketContributionByIndexOptions {
|
|
|
784
784
|
}
|
|
785
785
|
export declare function aumMarketContributionByIndex(options: AumMarketContributionByIndexOptions): (tx: Transaction) => import("@mysten/sui/transactions").TransactionResult;
|
|
786
786
|
export interface AumContributionIsTraderProfitArguments {
|
|
787
|
-
c:
|
|
787
|
+
c: TransactionArgument;
|
|
788
788
|
}
|
|
789
789
|
export interface AumContributionIsTraderProfitOptions {
|
|
790
790
|
package?: string;
|
|
791
791
|
arguments: AumContributionIsTraderProfitArguments | [
|
|
792
|
-
c:
|
|
792
|
+
c: TransactionArgument
|
|
793
793
|
];
|
|
794
794
|
}
|
|
795
795
|
export declare function aumContributionIsTraderProfit(options: AumContributionIsTraderProfitOptions): (tx: Transaction) => import("@mysten/sui/transactions").TransactionResult;
|
|
796
796
|
export interface AumContributionPnlUsdArguments {
|
|
797
|
-
c:
|
|
797
|
+
c: TransactionArgument;
|
|
798
798
|
}
|
|
799
799
|
export interface AumContributionPnlUsdOptions {
|
|
800
800
|
package?: string;
|
|
801
801
|
arguments: AumContributionPnlUsdArguments | [
|
|
802
|
-
c:
|
|
802
|
+
c: TransactionArgument
|
|
803
803
|
];
|
|
804
804
|
}
|
|
805
805
|
export declare function aumContributionPnlUsd(options: AumContributionPnlUsdOptions): (tx: Transaction) => import("@mysten/sui/transactions").TransactionResult;
|
|
806
806
|
export interface AumContributionLastRefreshTimestampArguments {
|
|
807
|
-
c:
|
|
807
|
+
c: TransactionArgument;
|
|
808
808
|
}
|
|
809
809
|
export interface AumContributionLastRefreshTimestampOptions {
|
|
810
810
|
package?: string;
|
|
811
811
|
arguments: AumContributionLastRefreshTimestampArguments | [
|
|
812
|
-
c:
|
|
812
|
+
c: TransactionArgument
|
|
813
813
|
];
|
|
814
814
|
}
|
|
815
815
|
export declare function aumContributionLastRefreshTimestamp(options: AumContributionLastRefreshTimestampOptions): (tx: Transaction) => import("@mysten/sui/transactions").TransactionResult;
|
|
@@ -818,7 +818,7 @@ export interface RegisterMarketAumArguments {
|
|
|
818
818
|
Cap: RawTransactionArgument<string>;
|
|
819
819
|
marketId: RawTransactionArgument<string>;
|
|
820
820
|
isTraderProfit: RawTransactionArgument<boolean>;
|
|
821
|
-
pnlUsd:
|
|
821
|
+
pnlUsd: TransactionArgument;
|
|
822
822
|
}
|
|
823
823
|
export interface RegisterMarketAumOptions {
|
|
824
824
|
package?: string;
|
|
@@ -827,7 +827,7 @@ export interface RegisterMarketAumOptions {
|
|
|
827
827
|
Cap: RawTransactionArgument<string>,
|
|
828
828
|
marketId: RawTransactionArgument<string>,
|
|
829
829
|
isTraderProfit: RawTransactionArgument<boolean>,
|
|
830
|
-
pnlUsd:
|
|
830
|
+
pnlUsd: TransactionArgument
|
|
831
831
|
];
|
|
832
832
|
typeArguments: [
|
|
833
833
|
string
|
|
@@ -839,7 +839,7 @@ export interface RefreshMarketAumArguments {
|
|
|
839
839
|
aum: RawTransactionArgument<string>;
|
|
840
840
|
marketId: RawTransactionArgument<string>;
|
|
841
841
|
isTraderProfit: RawTransactionArgument<boolean>;
|
|
842
|
-
pnlUsd:
|
|
842
|
+
pnlUsd: TransactionArgument;
|
|
843
843
|
}
|
|
844
844
|
export interface RefreshMarketAumOptions {
|
|
845
845
|
package?: string;
|
|
@@ -847,7 +847,7 @@ export interface RefreshMarketAumOptions {
|
|
|
847
847
|
aum: RawTransactionArgument<string>,
|
|
848
848
|
marketId: RawTransactionArgument<string>,
|
|
849
849
|
isTraderProfit: RawTransactionArgument<boolean>,
|
|
850
|
-
pnlUsd:
|
|
850
|
+
pnlUsd: TransactionArgument
|
|
851
851
|
];
|
|
852
852
|
typeArguments: [
|
|
853
853
|
string
|
|
@@ -875,13 +875,13 @@ export interface AumEquityUsdOptions {
|
|
|
875
875
|
export declare function aumEquityUsd(options: AumEquityUsdOptions): (tx: Transaction) => import("@mysten/sui/transactions").TransactionResult;
|
|
876
876
|
export interface CumulativeBorrowRateArguments {
|
|
877
877
|
pool: RawTransactionArgument<string>;
|
|
878
|
-
tokenType:
|
|
878
|
+
tokenType: TransactionArgument;
|
|
879
879
|
}
|
|
880
880
|
export interface CumulativeBorrowRateOptions {
|
|
881
881
|
package?: string;
|
|
882
882
|
arguments: CumulativeBorrowRateArguments | [
|
|
883
883
|
pool: RawTransactionArgument<string>,
|
|
884
|
-
tokenType:
|
|
884
|
+
tokenType: TransactionArgument
|
|
885
885
|
];
|
|
886
886
|
typeArguments: [
|
|
887
887
|
string
|
|
@@ -906,14 +906,14 @@ export declare function tvlUsd(options: TvlUsdOptions): (tx: Transaction) => imp
|
|
|
906
906
|
export interface CheckOiCapArguments {
|
|
907
907
|
pool: RawTransactionArgument<string>;
|
|
908
908
|
globalConfig: RawTransactionArgument<string>;
|
|
909
|
-
totalOiUsd:
|
|
909
|
+
totalOiUsd: TransactionArgument;
|
|
910
910
|
}
|
|
911
911
|
export interface CheckOiCapOptions {
|
|
912
912
|
package?: string;
|
|
913
913
|
arguments: CheckOiCapArguments | [
|
|
914
914
|
pool: RawTransactionArgument<string>,
|
|
915
915
|
globalConfig: RawTransactionArgument<string>,
|
|
916
|
-
totalOiUsd:
|
|
916
|
+
totalOiUsd: TransactionArgument
|
|
917
917
|
];
|
|
918
918
|
typeArguments: [
|
|
919
919
|
string
|
|
@@ -923,14 +923,14 @@ export interface CheckOiCapOptions {
|
|
|
923
923
|
export declare function checkOiCap(options: CheckOiCapOptions): (tx: Transaction) => import("@mysten/sui/transactions").TransactionResult;
|
|
924
924
|
export interface CheckReserveValidArguments {
|
|
925
925
|
pool: RawTransactionArgument<string>;
|
|
926
|
-
tokenType:
|
|
926
|
+
tokenType: TransactionArgument;
|
|
927
927
|
additionalReserve: RawTransactionArgument<number | bigint>;
|
|
928
928
|
}
|
|
929
929
|
export interface CheckReserveValidOptions {
|
|
930
930
|
package?: string;
|
|
931
931
|
arguments: CheckReserveValidArguments | [
|
|
932
932
|
pool: RawTransactionArgument<string>,
|
|
933
|
-
tokenType:
|
|
933
|
+
tokenType: TransactionArgument,
|
|
934
934
|
additionalReserve: RawTransactionArgument<number | bigint>
|
|
935
935
|
];
|
|
936
936
|
typeArguments: [
|
|
@@ -941,14 +941,14 @@ export interface CheckReserveValidOptions {
|
|
|
941
941
|
export declare function checkReserveValid(options: CheckReserveValidOptions): (tx: Transaction) => import("@mysten/sui/transactions").TransactionResult;
|
|
942
942
|
export interface IncreaseReserveArguments {
|
|
943
943
|
pool: RawTransactionArgument<string>;
|
|
944
|
-
tokenType:
|
|
944
|
+
tokenType: TransactionArgument;
|
|
945
945
|
amount: RawTransactionArgument<number | bigint>;
|
|
946
946
|
}
|
|
947
947
|
export interface IncreaseReserveOptions {
|
|
948
948
|
package?: string;
|
|
949
949
|
arguments: IncreaseReserveArguments | [
|
|
950
950
|
pool: RawTransactionArgument<string>,
|
|
951
|
-
tokenType:
|
|
951
|
+
tokenType: TransactionArgument,
|
|
952
952
|
amount: RawTransactionArgument<number | bigint>
|
|
953
953
|
];
|
|
954
954
|
typeArguments: [
|
|
@@ -959,14 +959,14 @@ export interface IncreaseReserveOptions {
|
|
|
959
959
|
export declare function increaseReserve(options: IncreaseReserveOptions): (tx: Transaction) => import("@mysten/sui/transactions").TransactionResult;
|
|
960
960
|
export interface DecreaseReserveArguments {
|
|
961
961
|
pool: RawTransactionArgument<string>;
|
|
962
|
-
tokenType:
|
|
962
|
+
tokenType: TransactionArgument;
|
|
963
963
|
amount: RawTransactionArgument<number | bigint>;
|
|
964
964
|
}
|
|
965
965
|
export interface DecreaseReserveOptions {
|
|
966
966
|
package?: string;
|
|
967
967
|
arguments: DecreaseReserveArguments | [
|
|
968
968
|
pool: RawTransactionArgument<string>,
|
|
969
|
-
tokenType:
|
|
969
|
+
tokenType: TransactionArgument,
|
|
970
970
|
amount: RawTransactionArgument<number | bigint>
|
|
971
971
|
];
|
|
972
972
|
typeArguments: [
|
|
@@ -978,16 +978,16 @@ export declare function decreaseReserve(options: DecreaseReserveOptions): (tx: T
|
|
|
978
978
|
export interface PutCollateralArguments {
|
|
979
979
|
pool: RawTransactionArgument<string>;
|
|
980
980
|
globalConfig: RawTransactionArgument<string>;
|
|
981
|
-
collateral:
|
|
982
|
-
price:
|
|
981
|
+
collateral: TransactionArgument;
|
|
982
|
+
price: TransactionArgument;
|
|
983
983
|
}
|
|
984
984
|
export interface PutCollateralOptions {
|
|
985
985
|
package?: string;
|
|
986
986
|
arguments: PutCollateralArguments | [
|
|
987
987
|
pool: RawTransactionArgument<string>,
|
|
988
988
|
globalConfig: RawTransactionArgument<string>,
|
|
989
|
-
collateral:
|
|
990
|
-
price:
|
|
989
|
+
collateral: TransactionArgument,
|
|
990
|
+
price: TransactionArgument
|
|
991
991
|
];
|
|
992
992
|
typeArguments: [
|
|
993
993
|
string,
|
|
@@ -1000,7 +1000,7 @@ export interface RequestCollateralArguments {
|
|
|
1000
1000
|
pool: RawTransactionArgument<string>;
|
|
1001
1001
|
globalConfig: RawTransactionArgument<string>;
|
|
1002
1002
|
amount: RawTransactionArgument<number | bigint>;
|
|
1003
|
-
price:
|
|
1003
|
+
price: TransactionArgument;
|
|
1004
1004
|
}
|
|
1005
1005
|
export interface RequestCollateralOptions {
|
|
1006
1006
|
package?: string;
|
|
@@ -1008,7 +1008,7 @@ export interface RequestCollateralOptions {
|
|
|
1008
1008
|
pool: RawTransactionArgument<string>,
|
|
1009
1009
|
globalConfig: RawTransactionArgument<string>,
|
|
1010
1010
|
amount: RawTransactionArgument<number | bigint>,
|
|
1011
|
-
price:
|
|
1011
|
+
price: TransactionArgument
|
|
1012
1012
|
];
|
|
1013
1013
|
typeArguments: [
|
|
1014
1014
|
string,
|
|
@@ -1019,13 +1019,13 @@ export interface RequestCollateralOptions {
|
|
|
1019
1019
|
export declare function requestCollateral(options: RequestCollateralOptions): (tx: Transaction) => import("@mysten/sui/transactions").TransactionResult;
|
|
1020
1020
|
export interface TokenPoolInfoArguments {
|
|
1021
1021
|
pool: RawTransactionArgument<string>;
|
|
1022
|
-
tokenType:
|
|
1022
|
+
tokenType: TransactionArgument;
|
|
1023
1023
|
}
|
|
1024
1024
|
export interface TokenPoolInfoOptions {
|
|
1025
1025
|
package?: string;
|
|
1026
1026
|
arguments: TokenPoolInfoArguments | [
|
|
1027
1027
|
pool: RawTransactionArgument<string>,
|
|
1028
|
-
tokenType:
|
|
1028
|
+
tokenType: TransactionArgument
|
|
1029
1029
|
];
|
|
1030
1030
|
typeArguments: [
|
|
1031
1031
|
string
|
|
@@ -1035,13 +1035,13 @@ export interface TokenPoolInfoOptions {
|
|
|
1035
1035
|
export declare function tokenPoolInfo(options: TokenPoolInfoOptions): (tx: Transaction) => import("@mysten/sui/transactions").TransactionResult;
|
|
1036
1036
|
export interface TokenDecimalArguments {
|
|
1037
1037
|
pool: RawTransactionArgument<string>;
|
|
1038
|
-
tokenType:
|
|
1038
|
+
tokenType: TransactionArgument;
|
|
1039
1039
|
}
|
|
1040
1040
|
export interface TokenDecimalOptions {
|
|
1041
1041
|
package?: string;
|
|
1042
1042
|
arguments: TokenDecimalArguments | [
|
|
1043
1043
|
pool: RawTransactionArgument<string>,
|
|
1044
|
-
tokenType:
|
|
1044
|
+
tokenType: TransactionArgument
|
|
1045
1045
|
];
|
|
1046
1046
|
typeArguments: [
|
|
1047
1047
|
string
|
|
@@ -1200,123 +1200,123 @@ export interface BorrowTokenPoolByIndexOptions {
|
|
|
1200
1200
|
/** Borrows a TokenPoolInfo by index. */
|
|
1201
1201
|
export declare function borrowTokenPoolByIndex(options: BorrowTokenPoolByIndexOptions): (tx: Transaction) => import("@mysten/sui/transactions").TransactionResult;
|
|
1202
1202
|
export interface TpiTokenTypeArguments {
|
|
1203
|
-
tp:
|
|
1203
|
+
tp: TransactionArgument;
|
|
1204
1204
|
}
|
|
1205
1205
|
export interface TpiTokenTypeOptions {
|
|
1206
1206
|
package?: string;
|
|
1207
1207
|
arguments: TpiTokenTypeArguments | [
|
|
1208
|
-
tp:
|
|
1208
|
+
tp: TransactionArgument
|
|
1209
1209
|
];
|
|
1210
1210
|
}
|
|
1211
1211
|
/** TokenPoolInfo field accessors. */
|
|
1212
1212
|
export declare function tpiTokenType(options: TpiTokenTypeOptions): (tx: Transaction) => import("@mysten/sui/transactions").TransactionResult;
|
|
1213
1213
|
export interface TpiTickerArguments {
|
|
1214
|
-
tp:
|
|
1214
|
+
tp: TransactionArgument;
|
|
1215
1215
|
}
|
|
1216
1216
|
export interface TpiTickerOptions {
|
|
1217
1217
|
package?: string;
|
|
1218
1218
|
arguments: TpiTickerArguments | [
|
|
1219
|
-
tp:
|
|
1219
|
+
tp: TransactionArgument
|
|
1220
1220
|
];
|
|
1221
1221
|
}
|
|
1222
1222
|
export declare function tpiTicker(options: TpiTickerOptions): (tx: Transaction) => import("@mysten/sui/transactions").TransactionResult;
|
|
1223
1223
|
export interface TpiTokenDecimalArguments {
|
|
1224
|
-
tp:
|
|
1224
|
+
tp: TransactionArgument;
|
|
1225
1225
|
}
|
|
1226
1226
|
export interface TpiTokenDecimalOptions {
|
|
1227
1227
|
package?: string;
|
|
1228
1228
|
arguments: TpiTokenDecimalArguments | [
|
|
1229
|
-
tp:
|
|
1229
|
+
tp: TransactionArgument
|
|
1230
1230
|
];
|
|
1231
1231
|
}
|
|
1232
1232
|
export declare function tpiTokenDecimal(options: TpiTokenDecimalOptions): (tx: Transaction) => import("@mysten/sui/transactions").TransactionResult;
|
|
1233
1233
|
export interface TpiLiquidityAmountArguments {
|
|
1234
|
-
tp:
|
|
1234
|
+
tp: TransactionArgument;
|
|
1235
1235
|
}
|
|
1236
1236
|
export interface TpiLiquidityAmountOptions {
|
|
1237
1237
|
package?: string;
|
|
1238
1238
|
arguments: TpiLiquidityAmountArguments | [
|
|
1239
|
-
tp:
|
|
1239
|
+
tp: TransactionArgument
|
|
1240
1240
|
];
|
|
1241
1241
|
}
|
|
1242
1242
|
export declare function tpiLiquidityAmount(options: TpiLiquidityAmountOptions): (tx: Transaction) => import("@mysten/sui/transactions").TransactionResult;
|
|
1243
1243
|
export interface TpiReservedAmountArguments {
|
|
1244
|
-
tp:
|
|
1244
|
+
tp: TransactionArgument;
|
|
1245
1245
|
}
|
|
1246
1246
|
export interface TpiReservedAmountOptions {
|
|
1247
1247
|
package?: string;
|
|
1248
1248
|
arguments: TpiReservedAmountArguments | [
|
|
1249
|
-
tp:
|
|
1249
|
+
tp: TransactionArgument
|
|
1250
1250
|
];
|
|
1251
1251
|
}
|
|
1252
1252
|
export declare function tpiReservedAmount(options: TpiReservedAmountOptions): (tx: Transaction) => import("@mysten/sui/transactions").TransactionResult;
|
|
1253
1253
|
export interface TpiValueUsdArguments {
|
|
1254
|
-
tp:
|
|
1254
|
+
tp: TransactionArgument;
|
|
1255
1255
|
}
|
|
1256
1256
|
export interface TpiValueUsdOptions {
|
|
1257
1257
|
package?: string;
|
|
1258
1258
|
arguments: TpiValueUsdArguments | [
|
|
1259
|
-
tp:
|
|
1259
|
+
tp: TransactionArgument
|
|
1260
1260
|
];
|
|
1261
1261
|
}
|
|
1262
1262
|
export declare function tpiValueUsd(options: TpiValueUsdOptions): (tx: Transaction) => import("@mysten/sui/transactions").TransactionResult;
|
|
1263
1263
|
export interface TpiTargetWeightBpsArguments {
|
|
1264
|
-
tp:
|
|
1264
|
+
tp: TransactionArgument;
|
|
1265
1265
|
}
|
|
1266
1266
|
export interface TpiTargetWeightBpsOptions {
|
|
1267
1267
|
package?: string;
|
|
1268
1268
|
arguments: TpiTargetWeightBpsArguments | [
|
|
1269
|
-
tp:
|
|
1269
|
+
tp: TransactionArgument
|
|
1270
1270
|
];
|
|
1271
1271
|
}
|
|
1272
1272
|
export declare function tpiTargetWeightBps(options: TpiTargetWeightBpsOptions): (tx: Transaction) => import("@mysten/sui/transactions").TransactionResult;
|
|
1273
1273
|
export interface TpiMintFeeBpsArguments {
|
|
1274
|
-
tp:
|
|
1274
|
+
tp: TransactionArgument;
|
|
1275
1275
|
}
|
|
1276
1276
|
export interface TpiMintFeeBpsOptions {
|
|
1277
1277
|
package?: string;
|
|
1278
1278
|
arguments: TpiMintFeeBpsArguments | [
|
|
1279
|
-
tp:
|
|
1279
|
+
tp: TransactionArgument
|
|
1280
1280
|
];
|
|
1281
1281
|
}
|
|
1282
1282
|
export declare function tpiMintFeeBps(options: TpiMintFeeBpsOptions): (tx: Transaction) => import("@mysten/sui/transactions").TransactionResult;
|
|
1283
1283
|
export interface TpiBurnFeeBpsArguments {
|
|
1284
|
-
tp:
|
|
1284
|
+
tp: TransactionArgument;
|
|
1285
1285
|
}
|
|
1286
1286
|
export interface TpiBurnFeeBpsOptions {
|
|
1287
1287
|
package?: string;
|
|
1288
1288
|
arguments: TpiBurnFeeBpsArguments | [
|
|
1289
|
-
tp:
|
|
1289
|
+
tp: TransactionArgument
|
|
1290
1290
|
];
|
|
1291
1291
|
}
|
|
1292
1292
|
export declare function tpiBurnFeeBps(options: TpiBurnFeeBpsOptions): (tx: Transaction) => import("@mysten/sui/transactions").TransactionResult;
|
|
1293
1293
|
export interface TpiCumulativeBorrowRateArguments {
|
|
1294
|
-
tp:
|
|
1294
|
+
tp: TransactionArgument;
|
|
1295
1295
|
}
|
|
1296
1296
|
export interface TpiCumulativeBorrowRateOptions {
|
|
1297
1297
|
package?: string;
|
|
1298
1298
|
arguments: TpiCumulativeBorrowRateArguments | [
|
|
1299
|
-
tp:
|
|
1299
|
+
tp: TransactionArgument
|
|
1300
1300
|
];
|
|
1301
1301
|
}
|
|
1302
1302
|
export declare function tpiCumulativeBorrowRate(options: TpiCumulativeBorrowRateOptions): (tx: Transaction) => import("@mysten/sui/transactions").TransactionResult;
|
|
1303
1303
|
export interface TpiLastPriceRefreshTimestampArguments {
|
|
1304
|
-
tp:
|
|
1304
|
+
tp: TransactionArgument;
|
|
1305
1305
|
}
|
|
1306
1306
|
export interface TpiLastPriceRefreshTimestampOptions {
|
|
1307
1307
|
package?: string;
|
|
1308
1308
|
arguments: TpiLastPriceRefreshTimestampArguments | [
|
|
1309
|
-
tp:
|
|
1309
|
+
tp: TransactionArgument
|
|
1310
1310
|
];
|
|
1311
1311
|
}
|
|
1312
1312
|
export declare function tpiLastPriceRefreshTimestamp(options: TpiLastPriceRefreshTimestampOptions): (tx: Transaction) => import("@mysten/sui/transactions").TransactionResult;
|
|
1313
1313
|
export interface RedeemRecipientAccountIdArguments {
|
|
1314
|
-
r:
|
|
1314
|
+
r: TransactionArgument;
|
|
1315
1315
|
}
|
|
1316
1316
|
export interface RedeemRecipientAccountIdOptions {
|
|
1317
1317
|
package?: string;
|
|
1318
1318
|
arguments: RedeemRecipientAccountIdArguments | [
|
|
1319
|
-
r:
|
|
1319
|
+
r: TransactionArgument
|
|
1320
1320
|
];
|
|
1321
1321
|
typeArguments: [
|
|
1322
1322
|
string
|
|
@@ -1324,12 +1324,12 @@ export interface RedeemRecipientAccountIdOptions {
|
|
|
1324
1324
|
}
|
|
1325
1325
|
export declare function redeemRecipientAccountId(options: RedeemRecipientAccountIdOptions): (tx: Transaction) => import("@mysten/sui/transactions").TransactionResult;
|
|
1326
1326
|
export interface RedeemLpAmountArguments {
|
|
1327
|
-
r:
|
|
1327
|
+
r: TransactionArgument;
|
|
1328
1328
|
}
|
|
1329
1329
|
export interface RedeemLpAmountOptions {
|
|
1330
1330
|
package?: string;
|
|
1331
1331
|
arguments: RedeemLpAmountArguments | [
|
|
1332
|
-
r:
|
|
1332
|
+
r: TransactionArgument
|
|
1333
1333
|
];
|
|
1334
1334
|
typeArguments: [
|
|
1335
1335
|
string
|
|
@@ -1337,12 +1337,12 @@ export interface RedeemLpAmountOptions {
|
|
|
1337
1337
|
}
|
|
1338
1338
|
export declare function redeemLpAmount(options: RedeemLpAmountOptions): (tx: Transaction) => import("@mysten/sui/transactions").TransactionResult;
|
|
1339
1339
|
export interface RedeemTokenTypeArguments {
|
|
1340
|
-
r:
|
|
1340
|
+
r: TransactionArgument;
|
|
1341
1341
|
}
|
|
1342
1342
|
export interface RedeemTokenTypeOptions {
|
|
1343
1343
|
package?: string;
|
|
1344
1344
|
arguments: RedeemTokenTypeArguments | [
|
|
1345
|
-
r:
|
|
1345
|
+
r: TransactionArgument
|
|
1346
1346
|
];
|
|
1347
1347
|
typeArguments: [
|
|
1348
1348
|
string
|
|
@@ -1350,12 +1350,12 @@ export interface RedeemTokenTypeOptions {
|
|
|
1350
1350
|
}
|
|
1351
1351
|
export declare function redeemTokenType(options: RedeemTokenTypeOptions): (tx: Transaction) => import("@mysten/sui/transactions").TransactionResult;
|
|
1352
1352
|
export interface RedeemRequestTimestampArguments {
|
|
1353
|
-
r:
|
|
1353
|
+
r: TransactionArgument;
|
|
1354
1354
|
}
|
|
1355
1355
|
export interface RedeemRequestTimestampOptions {
|
|
1356
1356
|
package?: string;
|
|
1357
1357
|
arguments: RedeemRequestTimestampArguments | [
|
|
1358
|
-
r:
|
|
1358
|
+
r: TransactionArgument
|
|
1359
1359
|
];
|
|
1360
1360
|
typeArguments: [
|
|
1361
1361
|
string
|
|
@@ -1364,13 +1364,13 @@ export interface RedeemRequestTimestampOptions {
|
|
|
1364
1364
|
export declare function redeemRequestTimestamp(options: RedeemRequestTimestampOptions): (tx: Transaction) => import("@mysten/sui/transactions").TransactionResult;
|
|
1365
1365
|
export interface FindTokenPoolIndexArguments {
|
|
1366
1366
|
pool: RawTransactionArgument<string>;
|
|
1367
|
-
tokenType:
|
|
1367
|
+
tokenType: TransactionArgument;
|
|
1368
1368
|
}
|
|
1369
1369
|
export interface FindTokenPoolIndexOptions {
|
|
1370
1370
|
package?: string;
|
|
1371
1371
|
arguments: FindTokenPoolIndexArguments | [
|
|
1372
1372
|
pool: RawTransactionArgument<string>,
|
|
1373
|
-
tokenType:
|
|
1373
|
+
tokenType: TransactionArgument
|
|
1374
1374
|
];
|
|
1375
1375
|
typeArguments: [
|
|
1376
1376
|
string
|
|
@@ -1379,13 +1379,13 @@ export interface FindTokenPoolIndexOptions {
|
|
|
1379
1379
|
export declare function findTokenPoolIndex(options: FindTokenPoolIndexOptions): (tx: Transaction) => import("@mysten/sui/transactions").TransactionResult;
|
|
1380
1380
|
export interface BorrowTokenPoolArguments {
|
|
1381
1381
|
pool: RawTransactionArgument<string>;
|
|
1382
|
-
tokenType:
|
|
1382
|
+
tokenType: TransactionArgument;
|
|
1383
1383
|
}
|
|
1384
1384
|
export interface BorrowTokenPoolOptions {
|
|
1385
1385
|
package?: string;
|
|
1386
1386
|
arguments: BorrowTokenPoolArguments | [
|
|
1387
1387
|
pool: RawTransactionArgument<string>,
|
|
1388
|
-
tokenType:
|
|
1388
|
+
tokenType: TransactionArgument
|
|
1389
1389
|
];
|
|
1390
1390
|
typeArguments: [
|
|
1391
1391
|
string
|
|
@@ -1394,13 +1394,13 @@ export interface BorrowTokenPoolOptions {
|
|
|
1394
1394
|
export declare function borrowTokenPool(options: BorrowTokenPoolOptions): (tx: Transaction) => import("@mysten/sui/transactions").TransactionResult;
|
|
1395
1395
|
export interface BorrowMutTokenPoolArguments {
|
|
1396
1396
|
pool: RawTransactionArgument<string>;
|
|
1397
|
-
tokenType:
|
|
1397
|
+
tokenType: TransactionArgument;
|
|
1398
1398
|
}
|
|
1399
1399
|
export interface BorrowMutTokenPoolOptions {
|
|
1400
1400
|
package?: string;
|
|
1401
1401
|
arguments: BorrowMutTokenPoolArguments | [
|
|
1402
1402
|
pool: RawTransactionArgument<string>,
|
|
1403
|
-
tokenType:
|
|
1403
|
+
tokenType: TransactionArgument
|
|
1404
1404
|
];
|
|
1405
1405
|
typeArguments: [
|
|
1406
1406
|
string
|
|
@@ -1409,14 +1409,14 @@ export interface BorrowMutTokenPoolOptions {
|
|
|
1409
1409
|
export declare function borrowMutTokenPool(options: BorrowMutTokenPoolOptions): (tx: Transaction) => import("@mysten/sui/transactions").TransactionResult;
|
|
1410
1410
|
export interface RefreshTokenValueWithPriceArguments {
|
|
1411
1411
|
pool: RawTransactionArgument<string>;
|
|
1412
|
-
price:
|
|
1412
|
+
price: TransactionArgument;
|
|
1413
1413
|
refreshTimestamp: RawTransactionArgument<number | bigint>;
|
|
1414
1414
|
}
|
|
1415
1415
|
export interface RefreshTokenValueWithPriceOptions {
|
|
1416
1416
|
package?: string;
|
|
1417
1417
|
arguments: RefreshTokenValueWithPriceArguments | [
|
|
1418
1418
|
pool: RawTransactionArgument<string>,
|
|
1419
|
-
price:
|
|
1419
|
+
price: TransactionArgument,
|
|
1420
1420
|
refreshTimestamp: RawTransactionArgument<number | bigint>
|
|
1421
1421
|
];
|
|
1422
1422
|
typeArguments: [
|
|
@@ -1427,13 +1427,13 @@ export interface RefreshTokenValueWithPriceOptions {
|
|
|
1427
1427
|
export declare function refreshTokenValueWithPrice(options: RefreshTokenValueWithPriceOptions): (tx: Transaction) => import("@mysten/sui/transactions").TransactionResult;
|
|
1428
1428
|
export interface AddAumContributionArguments {
|
|
1429
1429
|
aum: RawTransactionArgument<string>;
|
|
1430
|
-
contribution:
|
|
1430
|
+
contribution: TransactionArgument;
|
|
1431
1431
|
}
|
|
1432
1432
|
export interface AddAumContributionOptions {
|
|
1433
1433
|
package?: string;
|
|
1434
1434
|
arguments: AddAumContributionArguments | [
|
|
1435
1435
|
aum: RawTransactionArgument<string>,
|
|
1436
|
-
contribution:
|
|
1436
|
+
contribution: TransactionArgument
|
|
1437
1437
|
];
|
|
1438
1438
|
typeArguments: [
|
|
1439
1439
|
string
|
|
@@ -1442,13 +1442,13 @@ export interface AddAumContributionOptions {
|
|
|
1442
1442
|
export declare function addAumContribution(options: AddAumContributionOptions): (tx: Transaction) => import("@mysten/sui/transactions").TransactionResult;
|
|
1443
1443
|
export interface RemoveAumContributionArguments {
|
|
1444
1444
|
aum: RawTransactionArgument<string>;
|
|
1445
|
-
contribution:
|
|
1445
|
+
contribution: TransactionArgument;
|
|
1446
1446
|
}
|
|
1447
1447
|
export interface RemoveAumContributionOptions {
|
|
1448
1448
|
package?: string;
|
|
1449
1449
|
arguments: RemoveAumContributionArguments | [
|
|
1450
1450
|
aum: RawTransactionArgument<string>,
|
|
1451
|
-
contribution:
|
|
1451
|
+
contribution: TransactionArgument
|
|
1452
1452
|
];
|
|
1453
1453
|
typeArguments: [
|
|
1454
1454
|
string
|
|
@@ -1500,13 +1500,13 @@ export interface AssertRedeemAllowedOptions {
|
|
|
1500
1500
|
export declare function assertRedeemAllowed(options: AssertRedeemAllowedOptions): (tx: Transaction) => import("@mysten/sui/transactions").TransactionResult;
|
|
1501
1501
|
export interface AssertTokenRedeemAllowedArguments {
|
|
1502
1502
|
pool: RawTransactionArgument<string>;
|
|
1503
|
-
tokenType:
|
|
1503
|
+
tokenType: TransactionArgument;
|
|
1504
1504
|
}
|
|
1505
1505
|
export interface AssertTokenRedeemAllowedOptions {
|
|
1506
1506
|
package?: string;
|
|
1507
1507
|
arguments: AssertTokenRedeemAllowedArguments | [
|
|
1508
1508
|
pool: RawTransactionArgument<string>,
|
|
1509
|
-
tokenType:
|
|
1509
|
+
tokenType: TransactionArgument
|
|
1510
1510
|
];
|
|
1511
1511
|
typeArguments: [
|
|
1512
1512
|
string
|
|
@@ -1543,7 +1543,7 @@ export interface TakeRedeemRequestOptions {
|
|
|
1543
1543
|
export declare function takeRedeemRequest(options: TakeRedeemRequestOptions): (tx: Transaction) => import("@mysten/sui/transactions").TransactionResult;
|
|
1544
1544
|
export interface ReturnRejectedRedeemRequestArguments {
|
|
1545
1545
|
wxaRegistry: RawTransactionArgument<string>;
|
|
1546
|
-
request:
|
|
1546
|
+
request: TransactionArgument;
|
|
1547
1547
|
operator: RawTransactionArgument<string>;
|
|
1548
1548
|
requestId: RawTransactionArgument<number | bigint>;
|
|
1549
1549
|
}
|
|
@@ -1551,7 +1551,7 @@ export interface ReturnRejectedRedeemRequestOptions {
|
|
|
1551
1551
|
package?: string;
|
|
1552
1552
|
arguments: ReturnRejectedRedeemRequestArguments | [
|
|
1553
1553
|
wxaRegistry: RawTransactionArgument<string>,
|
|
1554
|
-
request:
|
|
1554
|
+
request: TransactionArgument,
|
|
1555
1555
|
operator: RawTransactionArgument<string>,
|
|
1556
1556
|
requestId: RawTransactionArgument<number | bigint>
|
|
1557
1557
|
];
|
|
@@ -1561,9 +1561,9 @@ export interface ReturnRejectedRedeemRequestOptions {
|
|
|
1561
1561
|
}
|
|
1562
1562
|
export declare function returnRejectedRedeemRequest(options: ReturnRejectedRedeemRequestOptions): (tx: Transaction) => import("@mysten/sui/transactions").TransactionResult;
|
|
1563
1563
|
export interface CalculateDynamicFeeArguments {
|
|
1564
|
-
tokenValueUsd:
|
|
1565
|
-
tvlUsd:
|
|
1566
|
-
operationValueUsd:
|
|
1564
|
+
tokenValueUsd: TransactionArgument;
|
|
1565
|
+
tvlUsd: TransactionArgument;
|
|
1566
|
+
operationValueUsd: TransactionArgument;
|
|
1567
1567
|
targetWeightBps: RawTransactionArgument<number | bigint>;
|
|
1568
1568
|
baseFeeBps: RawTransactionArgument<number | bigint>;
|
|
1569
1569
|
isDeposit: RawTransactionArgument<boolean>;
|
|
@@ -1571,9 +1571,9 @@ export interface CalculateDynamicFeeArguments {
|
|
|
1571
1571
|
export interface CalculateDynamicFeeOptions {
|
|
1572
1572
|
package?: string;
|
|
1573
1573
|
arguments: CalculateDynamicFeeArguments | [
|
|
1574
|
-
tokenValueUsd:
|
|
1575
|
-
tvlUsd:
|
|
1576
|
-
operationValueUsd:
|
|
1574
|
+
tokenValueUsd: TransactionArgument,
|
|
1575
|
+
tvlUsd: TransactionArgument,
|
|
1576
|
+
operationValueUsd: TransactionArgument,
|
|
1577
1577
|
targetWeightBps: RawTransactionArgument<number | bigint>,
|
|
1578
1578
|
baseFeeBps: RawTransactionArgument<number | bigint>,
|
|
1579
1579
|
isDeposit: RawTransactionArgument<boolean>
|
|
@@ -1582,17 +1582,17 @@ export interface CalculateDynamicFeeOptions {
|
|
|
1582
1582
|
/** Calculates dynamic fee based on weight deviation. */
|
|
1583
1583
|
export declare function calculateDynamicFee(options: CalculateDynamicFeeOptions): (tx: Transaction) => import("@mysten/sui/transactions").TransactionResult;
|
|
1584
1584
|
export interface AssertValidBorrowConfigArguments {
|
|
1585
|
-
rate_0:
|
|
1586
|
-
rate_1:
|
|
1587
|
-
rate_2:
|
|
1585
|
+
rate_0: TransactionArgument;
|
|
1586
|
+
rate_1: TransactionArgument;
|
|
1587
|
+
rate_2: TransactionArgument;
|
|
1588
1588
|
intervalMs: RawTransactionArgument<number | bigint>;
|
|
1589
1589
|
}
|
|
1590
1590
|
export interface AssertValidBorrowConfigOptions {
|
|
1591
1591
|
package?: string;
|
|
1592
1592
|
arguments: AssertValidBorrowConfigArguments | [
|
|
1593
|
-
rate_0:
|
|
1594
|
-
rate_1:
|
|
1595
|
-
rate_2:
|
|
1593
|
+
rate_0: TransactionArgument,
|
|
1594
|
+
rate_1: TransactionArgument,
|
|
1595
|
+
rate_2: TransactionArgument,
|
|
1596
1596
|
intervalMs: RawTransactionArgument<number | bigint>
|
|
1597
1597
|
];
|
|
1598
1598
|
}
|
|
@@ -1609,9 +1609,9 @@ export interface AssertValidMaxReserveRatioOptions {
|
|
|
1609
1609
|
export declare function assertValidMaxReserveRatio(options: AssertValidMaxReserveRatioOptions): (tx: Transaction) => import("@mysten/sui/transactions").TransactionResult;
|
|
1610
1610
|
export interface CalculateBorrowRateArguments {
|
|
1611
1611
|
utilizationBps: RawTransactionArgument<number | bigint>;
|
|
1612
|
-
rate_0:
|
|
1613
|
-
rate_1:
|
|
1614
|
-
rate_2:
|
|
1612
|
+
rate_0: TransactionArgument;
|
|
1613
|
+
rate_1: TransactionArgument;
|
|
1614
|
+
rate_2: TransactionArgument;
|
|
1615
1615
|
threshold_0: RawTransactionArgument<number | bigint>;
|
|
1616
1616
|
threshold_1: RawTransactionArgument<number | bigint>;
|
|
1617
1617
|
}
|
|
@@ -1619,9 +1619,9 @@ export interface CalculateBorrowRateOptions {
|
|
|
1619
1619
|
package?: string;
|
|
1620
1620
|
arguments: CalculateBorrowRateArguments | [
|
|
1621
1621
|
utilizationBps: RawTransactionArgument<number | bigint>,
|
|
1622
|
-
rate_0:
|
|
1623
|
-
rate_1:
|
|
1624
|
-
rate_2:
|
|
1622
|
+
rate_0: TransactionArgument,
|
|
1623
|
+
rate_1: TransactionArgument,
|
|
1624
|
+
rate_2: TransactionArgument,
|
|
1625
1625
|
threshold_0: RawTransactionArgument<number | bigint>,
|
|
1626
1626
|
threshold_1: RawTransactionArgument<number | bigint>
|
|
1627
1627
|
];
|
|
@@ -1629,14 +1629,14 @@ export interface CalculateBorrowRateOptions {
|
|
|
1629
1629
|
/** Calculates borrow rate using 3-slope utilization curve. */
|
|
1630
1630
|
export declare function calculateBorrowRate(options: CalculateBorrowRateOptions): (tx: Transaction) => import("@mysten/sui/transactions").TransactionResult;
|
|
1631
1631
|
export interface CalculateBorrowRateAccrualArguments {
|
|
1632
|
-
borrowRate:
|
|
1632
|
+
borrowRate: TransactionArgument;
|
|
1633
1633
|
elapsedMs: RawTransactionArgument<number | bigint>;
|
|
1634
1634
|
intervalMs: RawTransactionArgument<number | bigint>;
|
|
1635
1635
|
}
|
|
1636
1636
|
export interface CalculateBorrowRateAccrualOptions {
|
|
1637
1637
|
package?: string;
|
|
1638
1638
|
arguments: CalculateBorrowRateAccrualArguments | [
|
|
1639
|
-
borrowRate:
|
|
1639
|
+
borrowRate: TransactionArgument,
|
|
1640
1640
|
elapsedMs: RawTransactionArgument<number | bigint>,
|
|
1641
1641
|
intervalMs: RawTransactionArgument<number | bigint>
|
|
1642
1642
|
];
|