aftermath-ts-sdk 2.0.0-temp.2 → 2.0.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/index.d.ts +290 -32
- package/dist/index.js +293 -254
- package/dist/index.js.map +1 -1
- package/package.json +68 -69
package/dist/index.d.ts
CHANGED
|
@@ -1,9 +1,8 @@
|
|
|
1
1
|
import * as _mysten_sui_transactions from '@mysten/sui/transactions';
|
|
2
2
|
import { Transaction, TransactionObjectArgument, TransactionArgument, Argument } from '@mysten/sui/transactions';
|
|
3
3
|
import * as _mysten_sui_jsonRpc from '@mysten/sui/jsonRpc';
|
|
4
|
-
import { EventId, DynamicFieldInfo, SuiTransactionBlockResponse, CoinMetadata, SuiValidatorSummary, ValidatorsApy, SuiSystemStateSummary, SuiObjectResponse, CoinStruct, SuiEvent,
|
|
4
|
+
import { EventId, DynamicFieldInfo, SuiTransactionBlockResponse, CoinMetadata, SuiValidatorSummary, ValidatorsApy, SuiSystemStateSummary, SuiObjectResponse, CoinStruct, SuiEvent, SuiEventFilter, TransactionEffects, SuiObjectDataOptions, SuiObjectDataFilter, SuiTransactionBlockResponseQuery, SuiJsonRpcClient, DynamicFieldName, DisplayFieldsResponse } from '@mysten/sui/jsonRpc';
|
|
5
5
|
import { MultiSigPublicKey } from '@mysten/sui/multisig';
|
|
6
|
-
import { ManipulateType, QUnitType, OpUnitType } from 'dayjs';
|
|
7
6
|
import { BcsType } from '@mysten/sui/bcs';
|
|
8
7
|
import { Keypair } from '@mysten/sui/cryptography';
|
|
9
8
|
|
|
@@ -2475,6 +2474,12 @@ type PerpetualsAccountOrderHistoryData = {
|
|
|
2475
2474
|
/** Index price at which the stop order should trigger. */
|
|
2476
2475
|
stopIndexPrice: number;
|
|
2477
2476
|
};
|
|
2477
|
+
/** Optional order ID. */
|
|
2478
|
+
orderId?: string;
|
|
2479
|
+
/** Realized PnL for this order event, if applicable. */
|
|
2480
|
+
pnl?: number;
|
|
2481
|
+
/** Fees charged for this order event, if applicable. */
|
|
2482
|
+
fees?: number;
|
|
2478
2483
|
};
|
|
2479
2484
|
/**
|
|
2480
2485
|
* Event emitted when collateral is deposited into an account.
|
|
@@ -2887,6 +2892,13 @@ interface ApiPerpetualsAdminAccountCapsResponse {
|
|
|
2887
2892
|
interface ApiPerpetualsOwnedAccountCapsResponse {
|
|
2888
2893
|
accountCaps: PerpetualsAccountCap[];
|
|
2889
2894
|
}
|
|
2895
|
+
/**
|
|
2896
|
+
* Discrete event type recorded in user history responses
|
|
2897
|
+
* (trade, collateral, etc.).
|
|
2898
|
+
*
|
|
2899
|
+
* Serialized as PascalCase strings on the wire.
|
|
2900
|
+
*/
|
|
2901
|
+
type UserHistoryEventType = "PostedOrder" | "CanceledOrder" | "FilledTakerOrder" | "FilledMakerOrder" | "LiquidatedPosition" | "PerformedLiquidation" | "PerformedADL" | "DepositedCollateral" | "WithdrewCollateral" | "AllocatedCollateral" | "DeallocatedCollateral" | "SettledFunding" | "CreatedStopOrderTicket" | "DeletedStopOrderTicket" | "ExecutedStopOrderTicket";
|
|
2890
2902
|
/**
|
|
2891
2903
|
* Generic shape for Perpetuals API historical data requests that include
|
|
2892
2904
|
* `beforeTimestampCursor` and `limit` pagination parameters.
|
|
@@ -2954,6 +2966,12 @@ type ApiPerpetualsAccountOrderHistoryBody = ApiPerpetualsHistoricalDataWithCurso
|
|
|
2954
2966
|
bytes: string;
|
|
2955
2967
|
signature: string;
|
|
2956
2968
|
};
|
|
2969
|
+
/**
|
|
2970
|
+
* Optional filter restricting results to the specified event types.
|
|
2971
|
+
*
|
|
2972
|
+
* When omitted, the backend returns events of all types.
|
|
2973
|
+
*/
|
|
2974
|
+
eventTypes?: UserHistoryEventType[];
|
|
2957
2975
|
};
|
|
2958
2976
|
/**
|
|
2959
2977
|
* Request body for fetching account collateral history with a cursor.
|
|
@@ -2965,6 +2983,12 @@ type ApiPerpetualsAccountCollateralHistoryBody = ApiPerpetualsHistoricalDataWith
|
|
|
2965
2983
|
bytes: string;
|
|
2966
2984
|
signature: string;
|
|
2967
2985
|
};
|
|
2986
|
+
/**
|
|
2987
|
+
* Optional filter restricting results to the specified event types.
|
|
2988
|
+
*
|
|
2989
|
+
* When omitted, the backend returns events of all types.
|
|
2990
|
+
*/
|
|
2991
|
+
eventTypes?: UserHistoryEventType[];
|
|
2968
2992
|
};
|
|
2969
2993
|
/**
|
|
2970
2994
|
* Request body for previewing a market order placement (before sending a tx).
|
|
@@ -3184,6 +3208,61 @@ interface ApiPerpetualsMarketCandleHistoryBody {
|
|
|
3184
3208
|
interface ApiPerpetualsMarketCandleHistoryResponse {
|
|
3185
3209
|
candles: PerpetualsMarketCandleDataPoint[];
|
|
3186
3210
|
}
|
|
3211
|
+
/**
|
|
3212
|
+
* Request payload for fetching historical funding rate data for a given
|
|
3213
|
+
* perpetuals market.
|
|
3214
|
+
*/
|
|
3215
|
+
interface ApiPerpetualsMarketFundingHistoryBody {
|
|
3216
|
+
/** Market ID to query. Must be a valid on-chain market ID. */
|
|
3217
|
+
marketId: PerpetualsMarketId;
|
|
3218
|
+
/** Start of the time range to query (Unix timestamp in **milliseconds**). */
|
|
3219
|
+
fromTimestamp: Timestamp;
|
|
3220
|
+
/** End of the time range to query (Unix timestamp in **milliseconds**). */
|
|
3221
|
+
toTimestamp: Timestamp;
|
|
3222
|
+
/** Maximum number of funding points to return. */
|
|
3223
|
+
limit?: number;
|
|
3224
|
+
}
|
|
3225
|
+
/**
|
|
3226
|
+
* Single funding rate datapoint for a perpetuals market at a given timestamp.
|
|
3227
|
+
*
|
|
3228
|
+
* Funding rate fields are expressed as fractions: `0.01` = `1%`.
|
|
3229
|
+
*/
|
|
3230
|
+
interface PerpetualsMarketFundingHistoryPoint {
|
|
3231
|
+
/** Identifier of the perpetuals market. */
|
|
3232
|
+
marketId: PerpetualsMarketId;
|
|
3233
|
+
/** Timestamp at which this funding point was recorded (ms). */
|
|
3234
|
+
timestamp: Timestamp;
|
|
3235
|
+
/** On-chain event timestamp (ms). */
|
|
3236
|
+
eventTimestamp: Timestamp;
|
|
3237
|
+
/**
|
|
3238
|
+
* Funding rate applied to long positions for this period, as a fraction
|
|
3239
|
+
* (e.g. `0.01` = `1%`).
|
|
3240
|
+
*/
|
|
3241
|
+
longFundingRate: Percentage;
|
|
3242
|
+
/**
|
|
3243
|
+
* Funding rate applied to short positions for this period, as a fraction
|
|
3244
|
+
* (e.g. `0.01` = `1%`).
|
|
3245
|
+
*/
|
|
3246
|
+
shortFundingRate: Percentage;
|
|
3247
|
+
/**
|
|
3248
|
+
* Cumulative funding rate accrued by long positions up to this point, as
|
|
3249
|
+
* a fraction (e.g. `0.01` = `1%`).
|
|
3250
|
+
*/
|
|
3251
|
+
cumulativeLongFundingRate: Percentage;
|
|
3252
|
+
/**
|
|
3253
|
+
* Cumulative funding rate accrued by short positions up to this point, as
|
|
3254
|
+
* a fraction (e.g. `0.01` = `1%`).
|
|
3255
|
+
*/
|
|
3256
|
+
cumulativeShortFundingRate: Percentage;
|
|
3257
|
+
/** Sui transaction digest associated with this funding event. */
|
|
3258
|
+
txDigest: TransactionDigest;
|
|
3259
|
+
}
|
|
3260
|
+
/**
|
|
3261
|
+
* Response type for historical market funding data.
|
|
3262
|
+
*/
|
|
3263
|
+
interface ApiPerpetualsMarketFundingHistoryResponse {
|
|
3264
|
+
history: PerpetualsMarketFundingHistoryPoint[];
|
|
3265
|
+
}
|
|
3187
3266
|
/**
|
|
3188
3267
|
* Request body for computing the maximum order size for an account in a
|
|
3189
3268
|
* given market.
|
|
@@ -3628,6 +3707,12 @@ interface ApiPerpetualsTransferCollateralBody {
|
|
|
3628
3707
|
type ApiPerpetualsAllocateCollateralBody = {
|
|
3629
3708
|
marketId: PerpetualsMarketId;
|
|
3630
3709
|
allocateAmount: Balance;
|
|
3710
|
+
/**
|
|
3711
|
+
* Caller wallet. For vault-backed accounts, when the caller is a vault
|
|
3712
|
+
* assistant (rather than the vault owner), the backend uses this to
|
|
3713
|
+
* resolve the correct assistant cap.
|
|
3714
|
+
*/
|
|
3715
|
+
walletAddress?: SuiAddress;
|
|
3631
3716
|
txKind?: SerializedTransaction;
|
|
3632
3717
|
sponsor?: PerpetualsSponsorConfig;
|
|
3633
3718
|
} & ({
|
|
@@ -3642,6 +3727,12 @@ type ApiPerpetualsAllocateCollateralBody = {
|
|
|
3642
3727
|
type ApiPerpetualsDeallocateCollateralBody = {
|
|
3643
3728
|
marketId: PerpetualsMarketId;
|
|
3644
3729
|
deallocateAmount: Balance;
|
|
3730
|
+
/**
|
|
3731
|
+
* Caller wallet. For vault-backed accounts, when the caller is a vault
|
|
3732
|
+
* assistant (rather than the vault owner), the backend uses this to
|
|
3733
|
+
* resolve the correct assistant cap.
|
|
3734
|
+
*/
|
|
3735
|
+
walletAddress?: SuiAddress;
|
|
3645
3736
|
txKind?: SerializedTransaction;
|
|
3646
3737
|
sponsor?: PerpetualsSponsorConfig;
|
|
3647
3738
|
} & ({
|
|
@@ -3734,6 +3825,12 @@ type ApiPerpetualsPlaceSlTpOrdersBody = {
|
|
|
3734
3825
|
*/
|
|
3735
3826
|
type ApiPerpetualsEditStopOrdersBody = {
|
|
3736
3827
|
stopOrders: PerpetualsStopOrderData[];
|
|
3828
|
+
/**
|
|
3829
|
+
* Caller wallet. For vault-backed accounts, when the caller is a vault
|
|
3830
|
+
* assistant (rather than the vault owner), the backend uses this to
|
|
3831
|
+
* resolve the correct assistant cap.
|
|
3832
|
+
*/
|
|
3833
|
+
walletAddress?: SuiAddress;
|
|
3737
3834
|
txKind?: SerializedTransaction;
|
|
3738
3835
|
sponsor?: PerpetualsSponsorConfig;
|
|
3739
3836
|
} & ({
|
|
@@ -3968,6 +4065,12 @@ type ApiPerpetualsSetLeverageTxBody = {
|
|
|
3968
4065
|
marketId: PerpetualsMarketId;
|
|
3969
4066
|
collateralChange: number;
|
|
3970
4067
|
leverage: number;
|
|
4068
|
+
/**
|
|
4069
|
+
* Caller wallet. For vault-backed accounts, when the caller is a vault
|
|
4070
|
+
* assistant (rather than the vault owner), the backend uses this to
|
|
4071
|
+
* resolve the correct assistant cap.
|
|
4072
|
+
*/
|
|
4073
|
+
walletAddress?: SuiAddress;
|
|
3971
4074
|
txKind?: SerializedTransaction;
|
|
3972
4075
|
sponsor?: PerpetualsSponsorConfig;
|
|
3973
4076
|
} & ({
|
|
@@ -4250,6 +4353,23 @@ interface ApiPerpetualsOwnedVaultCapsBody {
|
|
|
4250
4353
|
interface ApiPerpetualsOwnedVaultCapsResponse {
|
|
4251
4354
|
ownedVaultCaps: PerpetualsVaultCap[];
|
|
4252
4355
|
}
|
|
4356
|
+
/**
|
|
4357
|
+
* Request body for fetching vault **assistant** capability objects owned by a
|
|
4358
|
+
* wallet.
|
|
4359
|
+
*
|
|
4360
|
+
* Assistant caps let a non-owner wallet operate a vault on behalf of the
|
|
4361
|
+
* owner. They are structurally identical to regular vault caps but grant a
|
|
4362
|
+
* narrower permission set.
|
|
4363
|
+
*/
|
|
4364
|
+
interface ApiPerpetualsOwnedVaultAssistantCapsBody {
|
|
4365
|
+
walletAddress: SuiAddress;
|
|
4366
|
+
}
|
|
4367
|
+
/**
|
|
4368
|
+
* Response payload listing all vault assistant caps owned by the wallet.
|
|
4369
|
+
*/
|
|
4370
|
+
interface ApiPerpetualsOwnedVaultAssistantCapsResponse {
|
|
4371
|
+
ownedVaultAssistantCaps: PerpetualsVaultCap[];
|
|
4372
|
+
}
|
|
4253
4373
|
/**
|
|
4254
4374
|
* API body to process forced withdrawals in a vault.
|
|
4255
4375
|
*/
|
|
@@ -4593,6 +4713,25 @@ interface ApiPerpetualsCurrentRebateRewardsBody {
|
|
|
4593
4713
|
totalMakerRewards: number;
|
|
4594
4714
|
/** Total taker reward pool to distribute among eligible takers. */
|
|
4595
4715
|
totalTakerRewards: number;
|
|
4716
|
+
/** Coefficients used to compute Q-scores and taker shares. */
|
|
4717
|
+
calculationVariables: PerpetualsCalculationVariables;
|
|
4718
|
+
}
|
|
4719
|
+
/**
|
|
4720
|
+
* Coefficients used when computing Q-scores and taker shares for the rebate
|
|
4721
|
+
* rewards calculation. Each is a weighting exponent applied to a corresponding
|
|
4722
|
+
* per-account metric.
|
|
4723
|
+
*/
|
|
4724
|
+
interface PerpetualsCalculationVariables {
|
|
4725
|
+
/** Exponent applied to the raw Q-score component. */
|
|
4726
|
+
qScoreCoefficient: number;
|
|
4727
|
+
/** Exponent applied to the uptime component. */
|
|
4728
|
+
uptimeCoefficient: number;
|
|
4729
|
+
/** Exponent applied to the maker volume component. */
|
|
4730
|
+
mmVolumeCoefficient: number;
|
|
4731
|
+
/** Exponent applied to the taker volume component. */
|
|
4732
|
+
takerVolumeCoefficient: number;
|
|
4733
|
+
/** Exponent applied to the taker open-interest component. */
|
|
4734
|
+
takerOiCoefficient: number;
|
|
4596
4735
|
}
|
|
4597
4736
|
/**
|
|
4598
4737
|
* Maker reward and rebate breakdown for a single account.
|
|
@@ -4650,9 +4789,54 @@ interface PerpetualsRewardData {
|
|
|
4650
4789
|
interface ApiPerpetualsCurrentRebateRewardsResponse {
|
|
4651
4790
|
/** Sum of all final quality scores across eligible makers. */
|
|
4652
4791
|
totalQScoreFinal: number;
|
|
4792
|
+
/** Total estimated gas cost for order management across all accounts (decimal SUI). */
|
|
4793
|
+
totalEstimatedGasCost: number;
|
|
4653
4794
|
/** Per-account reward and rebate breakdown. */
|
|
4654
4795
|
rewards: PerpetualsRewardData[];
|
|
4655
4796
|
}
|
|
4797
|
+
/**
|
|
4798
|
+
* Request body for generating a CSV-formatted rebate report.
|
|
4799
|
+
*
|
|
4800
|
+
* This corresponds to `POST /api/perpetuals/rebates/create-csv-rebates`.
|
|
4801
|
+
*
|
|
4802
|
+
* Produces a CSV string containing per-account rebate and reward data.
|
|
4803
|
+
* When `accountIds` is omitted or empty, all eligible accounts are included.
|
|
4804
|
+
*/
|
|
4805
|
+
interface ApiPerpetualsCreateCsvRebatesBody extends ApiPerpetualsCurrentRebateRewardsBody {
|
|
4806
|
+
/**
|
|
4807
|
+
* When true, aggregate rewards by owner address instead of per-account.
|
|
4808
|
+
* Defaults to false when omitted.
|
|
4809
|
+
*/
|
|
4810
|
+
aggregated?: boolean;
|
|
4811
|
+
}
|
|
4812
|
+
/**
|
|
4813
|
+
* Response body for the CSV rebate report.
|
|
4814
|
+
*/
|
|
4815
|
+
interface ApiPerpetualsCreateCsvRebatesResponse {
|
|
4816
|
+
/** The CSV-formatted rebate data as a string. */
|
|
4817
|
+
csv: string;
|
|
4818
|
+
}
|
|
4819
|
+
/**
|
|
4820
|
+
* Request body for generating a referral rebate CSV report.
|
|
4821
|
+
*
|
|
4822
|
+
* This corresponds to `POST /api/perpetuals/rebates/create-referral-csv-rebates`.
|
|
4823
|
+
*
|
|
4824
|
+
* Calculates referrer commissions and referee discounts based on trading
|
|
4825
|
+
* fees within the specified epoch.
|
|
4826
|
+
*/
|
|
4827
|
+
interface ApiPerpetualsCreateReferralCsvRebatesBody {
|
|
4828
|
+
/** Epoch start timestamp in milliseconds. */
|
|
4829
|
+
epochStartTimestampMs: Timestamp;
|
|
4830
|
+
/** Epoch end timestamp in milliseconds. */
|
|
4831
|
+
epochEndTimestampMs: Timestamp;
|
|
4832
|
+
}
|
|
4833
|
+
/**
|
|
4834
|
+
* Response body for the referral rebate CSV report.
|
|
4835
|
+
*/
|
|
4836
|
+
interface ApiPerpetualsCreateReferralCsvRebatesResponse {
|
|
4837
|
+
/** The CSV-formatted referral rebate data as a string. */
|
|
4838
|
+
csv: string;
|
|
4839
|
+
}
|
|
4656
4840
|
/**
|
|
4657
4841
|
* SDK-level inputs for placing a market order from a client.
|
|
4658
4842
|
*
|
|
@@ -5574,12 +5758,19 @@ interface PoolDataPoint {
|
|
|
5574
5758
|
*/
|
|
5575
5759
|
type PoolGraphDataTimeframeKey = "1D" | "1W" | "1M" | "3M" | "6M" | "1Y";
|
|
5576
5760
|
/**
|
|
5577
|
-
*
|
|
5578
|
-
*
|
|
5761
|
+
* Unit of time used to describe a timeframe window (e.g. "day", "week").
|
|
5762
|
+
*
|
|
5763
|
+
* Mirrors dayjs's `ManipulateType` surface (long, plural, and short forms)
|
|
5764
|
+
* so consumers upgrading from pre-2.0 keep compiling.
|
|
5765
|
+
*/
|
|
5766
|
+
type PoolGraphDataTimeUnit = "millisecond" | "second" | "minute" | "hour" | "day" | "week" | "month" | "year" | "milliseconds" | "seconds" | "minutes" | "hours" | "days" | "weeks" | "months" | "years" | "ms" | "s" | "m" | "h" | "d" | "D" | "M" | "y" | "w";
|
|
5767
|
+
/**
|
|
5768
|
+
* An optional object or approach to define timeframe windows.
|
|
5769
|
+
* Not always used directly.
|
|
5579
5770
|
*/
|
|
5580
5771
|
interface PoolGraphDataTimeframe {
|
|
5581
5772
|
time: Timestamp;
|
|
5582
|
-
timeUnit:
|
|
5773
|
+
timeUnit: PoolGraphDataTimeUnit;
|
|
5583
5774
|
}
|
|
5584
5775
|
/**
|
|
5585
5776
|
* An object describing how each coin in a newly created pool is configured,
|
|
@@ -5903,12 +6094,12 @@ interface ApiReferralsSetReferrerResponse {
|
|
|
5903
6094
|
}
|
|
5904
6095
|
|
|
5905
6096
|
/**
|
|
5906
|
-
* Request body for fetching a user's reward points.
|
|
6097
|
+
* Request body for fetching a user's total accumulated reward points.
|
|
5907
6098
|
* Uses a pre-signed message (bytes + signature) for authentication.
|
|
5908
6099
|
*/
|
|
5909
6100
|
interface ApiRewardsGetPointsBody {
|
|
5910
6101
|
/**
|
|
5911
|
-
*
|
|
6102
|
+
* Sui wallet address to query total points for.
|
|
5912
6103
|
*/
|
|
5913
6104
|
walletAddress: SuiAddress;
|
|
5914
6105
|
/**
|
|
@@ -5922,22 +6113,32 @@ interface ApiRewardsGetPointsBody {
|
|
|
5922
6113
|
signature: string;
|
|
5923
6114
|
}
|
|
5924
6115
|
/**
|
|
5925
|
-
* Response containing the user's reward points.
|
|
6116
|
+
* Response containing the user's total accumulated reward points.
|
|
5926
6117
|
*/
|
|
5927
6118
|
interface ApiRewardsGetPointsResponse {
|
|
5928
6119
|
/**
|
|
5929
|
-
*
|
|
6120
|
+
* Total accumulated points for this wallet across all epochs and domains.
|
|
5930
6121
|
*/
|
|
5931
|
-
|
|
6122
|
+
totalPoints: number;
|
|
5932
6123
|
}
|
|
5933
6124
|
/**
|
|
5934
6125
|
* Request body for fetching a user's rewards history.
|
|
6126
|
+
* Uses a pre-signed message (bytes + signature) for authentication.
|
|
5935
6127
|
*/
|
|
5936
6128
|
interface ApiRewardsGetHistoryBody {
|
|
5937
6129
|
/**
|
|
5938
6130
|
* Sui wallet address to query history for.
|
|
5939
6131
|
*/
|
|
5940
6132
|
walletAddress: SuiAddress;
|
|
6133
|
+
/**
|
|
6134
|
+
* The message bytes (base64 encoded) that the user previously signed.
|
|
6135
|
+
* Can be reused from other signed messages (e.g., Terms and Conditions).
|
|
6136
|
+
*/
|
|
6137
|
+
bytes: string;
|
|
6138
|
+
/**
|
|
6139
|
+
* The signature corresponding to the signed message bytes.
|
|
6140
|
+
*/
|
|
6141
|
+
signature: string;
|
|
5941
6142
|
/**
|
|
5942
6143
|
* Optional domain filter (e.g., "referrals", "perpetuals").
|
|
5943
6144
|
* If omitted, returns all domains.
|
|
@@ -5965,18 +6166,22 @@ interface ApiRewardsGetHistoryResponse {
|
|
|
5965
6166
|
*/
|
|
5966
6167
|
pagination: RewardsPaginationInfo;
|
|
5967
6168
|
}
|
|
6169
|
+
/**
|
|
6170
|
+
* Event type for a rewards history entry.
|
|
6171
|
+
*/
|
|
6172
|
+
type RewardsHistoryEventType = "deposit" | "withdraw" | "points";
|
|
5968
6173
|
/**
|
|
5969
6174
|
* A single historical reward entry.
|
|
5970
6175
|
*/
|
|
5971
6176
|
interface RewardsHistoryEntry {
|
|
5972
6177
|
/**
|
|
5973
|
-
* Vault ID where the
|
|
6178
|
+
* Vault ID where the event occurred.
|
|
5974
6179
|
*/
|
|
5975
6180
|
vaultId: ObjectId;
|
|
5976
6181
|
/**
|
|
5977
|
-
* Fully-qualified Coin type (e.g., "0x2::sui::SUI").
|
|
6182
|
+
* Fully-qualified Coin type (e.g., "0x2::sui::SUI"), or "points" for point entries.
|
|
5978
6183
|
*/
|
|
5979
|
-
coinType: CoinType;
|
|
6184
|
+
coinType: "points" | (CoinType & {});
|
|
5980
6185
|
/**
|
|
5981
6186
|
* Reward amount in base units.
|
|
5982
6187
|
*/
|
|
@@ -5994,9 +6199,13 @@ interface RewardsHistoryEntry {
|
|
|
5994
6199
|
*/
|
|
5995
6200
|
epochEndTimestampMs: Timestamp;
|
|
5996
6201
|
/**
|
|
5997
|
-
* Transaction digest for this
|
|
6202
|
+
* Transaction digest for this event, if available.
|
|
5998
6203
|
*/
|
|
5999
6204
|
txDigest?: TransactionDigest;
|
|
6205
|
+
/**
|
|
6206
|
+
* Event type: "deposit", "withdraw", or "points".
|
|
6207
|
+
*/
|
|
6208
|
+
eventType: RewardsHistoryEventType;
|
|
6000
6209
|
}
|
|
6001
6210
|
/**
|
|
6002
6211
|
* Pagination information for paginated reward queries.
|
|
@@ -8642,7 +8851,7 @@ declare class Pools extends Caller {
|
|
|
8642
8851
|
* This indicates the user's liquidity positions across multiple pools.
|
|
8643
8852
|
*
|
|
8644
8853
|
* @param inputs - An object containing the `walletAddress`.
|
|
8645
|
-
* @returns
|
|
8854
|
+
* @returns An array of `PoolLpInfo` objects summarizing the user's LP balances.
|
|
8646
8855
|
*
|
|
8647
8856
|
* @example
|
|
8648
8857
|
* ```typescript
|
|
@@ -8652,7 +8861,7 @@ declare class Pools extends Caller {
|
|
|
8652
8861
|
*/
|
|
8653
8862
|
getOwnedLpCoins(inputs: {
|
|
8654
8863
|
walletAddress: SuiAddress;
|
|
8655
|
-
}): Promise<PoolLpInfo>;
|
|
8864
|
+
}): Promise<PoolLpInfo[]>;
|
|
8656
8865
|
/**
|
|
8657
8866
|
* Constructs or fetches a transaction to publish a new LP coin package,
|
|
8658
8867
|
* typically used by advanced users or devs establishing new liquidity pools.
|
|
@@ -10895,6 +11104,20 @@ declare class Perpetuals extends Caller {
|
|
|
10895
11104
|
* @returns {@link ApiPerpetualsOwnedVaultCapsResponse} containing vault caps.
|
|
10896
11105
|
*/
|
|
10897
11106
|
getOwnedVaultCaps(inputs: ApiPerpetualsOwnedVaultCapsBody): Promise<ApiPerpetualsOwnedVaultCapsResponse>;
|
|
11107
|
+
/**
|
|
11108
|
+
* Fetch all vault **assistant** caps owned by a wallet.
|
|
11109
|
+
*
|
|
11110
|
+
* Assistant caps grant a non-owner wallet the ability to operate a vault
|
|
11111
|
+
* on behalf of the owner. The returned caps are structurally identical to
|
|
11112
|
+
* regular vault caps ({@link PerpetualsVaultCap}) and can be used to
|
|
11113
|
+
* construct a {@link PerpetualsAccount} that signs vault transactions with
|
|
11114
|
+
* the assistant's wallet.
|
|
11115
|
+
*
|
|
11116
|
+
* @param inputs.walletAddress - Assistant wallet address.
|
|
11117
|
+
* @returns {@link ApiPerpetualsOwnedVaultAssistantCapsResponse} containing
|
|
11118
|
+
* assistant caps.
|
|
11119
|
+
*/
|
|
11120
|
+
getOwnedVaultAssistantCaps(inputs: ApiPerpetualsOwnedVaultAssistantCapsBody): Promise<ApiPerpetualsOwnedVaultAssistantCapsResponse>;
|
|
10898
11121
|
/**
|
|
10899
11122
|
* Fetch all pending vault withdrawal requests created by a given wallet.
|
|
10900
11123
|
*
|
|
@@ -10937,6 +11160,18 @@ declare class Perpetuals extends Caller {
|
|
|
10937
11160
|
* relocated to {@link PerpetualsMarket} in the future.
|
|
10938
11161
|
*/
|
|
10939
11162
|
getMarketCandleHistory(inputs: ApiPerpetualsMarketCandleHistoryBody): Promise<ApiPerpetualsMarketCandleHistoryResponse>;
|
|
11163
|
+
/**
|
|
11164
|
+
* Fetch historical funding rate data for a single market.
|
|
11165
|
+
*
|
|
11166
|
+
* @param inputs.marketId - Market ID to query.
|
|
11167
|
+
* @param inputs.fromTimestamp - Start timestamp (inclusive).
|
|
11168
|
+
* @param inputs.toTimestamp - End timestamp (exclusive).
|
|
11169
|
+
* @param inputs.limit - Optional cap on the number of points returned.
|
|
11170
|
+
*
|
|
11171
|
+
* @returns {@link ApiPerpetualsMarketFundingHistoryResponse} containing
|
|
11172
|
+
* funding history points.
|
|
11173
|
+
*/
|
|
11174
|
+
getMarketFundingHistory(inputs: ApiPerpetualsMarketFundingHistoryBody): Promise<ApiPerpetualsMarketFundingHistoryResponse>;
|
|
10940
11175
|
/**
|
|
10941
11176
|
* Fetch 24-hour volume and price change stats for multiple markets.
|
|
10942
11177
|
*
|
|
@@ -11157,6 +11392,29 @@ declare class Perpetuals extends Caller {
|
|
|
11157
11392
|
* ```
|
|
11158
11393
|
*/
|
|
11159
11394
|
getCurrentRebateRewards(inputs: ApiPerpetualsCurrentRebateRewardsBody): Promise<ApiPerpetualsCurrentRebateRewardsResponse>;
|
|
11395
|
+
/**
|
|
11396
|
+
* Generate a CSV-formatted rebate report for perpetuals market makers.
|
|
11397
|
+
*
|
|
11398
|
+
* Computes per-account reward allocations and fee-tier rebate adjustments,
|
|
11399
|
+
* returning the result as a CSV string. When `aggregated` is true, the CSV
|
|
11400
|
+
* groups rewards by owner address instead of per-account.
|
|
11401
|
+
*
|
|
11402
|
+
* **Note:** All data returned is for the current epoch only.
|
|
11403
|
+
*
|
|
11404
|
+
* @param inputs - {@link ApiPerpetualsCreateCsvRebatesBody}.
|
|
11405
|
+
* @returns {@link ApiPerpetualsCreateCsvRebatesResponse} containing the CSV string.
|
|
11406
|
+
*/
|
|
11407
|
+
getCsvRebates(inputs: ApiPerpetualsCreateCsvRebatesBody): Promise<ApiPerpetualsCreateCsvRebatesResponse>;
|
|
11408
|
+
/**
|
|
11409
|
+
* Generate a CSV-formatted referral rebate report.
|
|
11410
|
+
*
|
|
11411
|
+
* Calculates referrer commissions and referee discounts based on trading
|
|
11412
|
+
* fees within the specified epoch, returning the result as a CSV string.
|
|
11413
|
+
*
|
|
11414
|
+
* @param inputs - {@link ApiPerpetualsCreateReferralCsvRebatesBody}.
|
|
11415
|
+
* @returns {@link ApiPerpetualsCreateReferralCsvRebatesResponse} containing the CSV string.
|
|
11416
|
+
*/
|
|
11417
|
+
getReferralCsvRebates(inputs: ApiPerpetualsCreateReferralCsvRebatesBody): Promise<ApiPerpetualsCreateReferralCsvRebatesResponse>;
|
|
11160
11418
|
/**
|
|
11161
11419
|
* Build a transaction to create an integrator configuration.
|
|
11162
11420
|
*
|
|
@@ -15700,8 +15958,8 @@ declare class LimitOrdersApi {
|
|
|
15700
15958
|
}
|
|
15701
15959
|
|
|
15702
15960
|
declare class MultisigApi {
|
|
15703
|
-
private readonly Provider;
|
|
15704
15961
|
readonly sharedCustodyAddresses: SharedCustodyAddresses;
|
|
15962
|
+
private readonly Provider;
|
|
15705
15963
|
constructor(Provider: AftermathApi);
|
|
15706
15964
|
getMultisigForUser(inputs: ApiMultisigUserBody): MultisigData;
|
|
15707
15965
|
}
|
|
@@ -15843,7 +16101,6 @@ declare class PerpetualsApi implements MoveErrorsInterface {
|
|
|
15843
16101
|
* Provides methods to interact with the Pools API.
|
|
15844
16102
|
*/
|
|
15845
16103
|
declare class PoolsApi implements MoveErrorsInterface {
|
|
15846
|
-
private readonly Provider;
|
|
15847
16104
|
/**
|
|
15848
16105
|
* Constants used in the pools API.
|
|
15849
16106
|
*/
|
|
@@ -15870,6 +16127,7 @@ declare class PoolsApi implements MoveErrorsInterface {
|
|
|
15870
16127
|
withdrawV2: AnyObjectType;
|
|
15871
16128
|
};
|
|
15872
16129
|
readonly moveErrors: MoveErrors;
|
|
16130
|
+
private readonly Provider;
|
|
15873
16131
|
/**
|
|
15874
16132
|
* Creates an instance of PoolsApi.
|
|
15875
16133
|
* @param {AftermathApi} Provider - An instance of AftermathApi.
|
|
@@ -16089,7 +16347,7 @@ declare class PoolsApi implements MoveErrorsInterface {
|
|
|
16089
16347
|
slippage: Slippage;
|
|
16090
16348
|
pool: Pool;
|
|
16091
16349
|
referrer?: SuiAddress;
|
|
16092
|
-
}) =>
|
|
16350
|
+
}) => TransactionObjectArgument;
|
|
16093
16351
|
/**
|
|
16094
16352
|
* Fetches a transaction block for depositing in a pool.
|
|
16095
16353
|
* @async
|
|
@@ -16163,12 +16421,12 @@ declare class PoolsApi implements MoveErrorsInterface {
|
|
|
16163
16421
|
newFeeRecipient: SuiAddress;
|
|
16164
16422
|
lpCoinType: CoinType;
|
|
16165
16423
|
}, "tx">) => Transaction;
|
|
16166
|
-
private tradeEventType;
|
|
16167
|
-
private depositEventType;
|
|
16168
|
-
private withdrawEventType;
|
|
16169
|
-
private tradeV2EventType;
|
|
16170
|
-
private depositV2EventType;
|
|
16171
|
-
private withdrawV2EventType;
|
|
16424
|
+
private readonly tradeEventType;
|
|
16425
|
+
private readonly depositEventType;
|
|
16426
|
+
private readonly withdrawEventType;
|
|
16427
|
+
private readonly tradeV2EventType;
|
|
16428
|
+
private readonly depositV2EventType;
|
|
16429
|
+
private readonly withdrawV2EventType;
|
|
16172
16430
|
}
|
|
16173
16431
|
|
|
16174
16432
|
declare class ReferralVaultApi {
|
|
@@ -16593,21 +16851,21 @@ declare class EventsApiHelpers {
|
|
|
16593
16851
|
fetchSubscribeToUserEvents: (_inputs: {
|
|
16594
16852
|
address: SuiAddress;
|
|
16595
16853
|
onEvent: (event: SuiEvent) => void;
|
|
16596
|
-
}) => Promise<
|
|
16854
|
+
}) => Promise<never>;
|
|
16597
16855
|
fetchCastEventsWithCursor: <EventOnChainType, EventType>(inputs: {
|
|
16598
16856
|
query: SuiEventFilter;
|
|
16599
16857
|
eventFromEventOnChain: (eventOnChain: EventOnChainType) => EventType;
|
|
16600
16858
|
} & EventsInputs) => Promise<EventsWithCursor<EventType>>;
|
|
16601
16859
|
fetchEventsWithinTime: <T extends Event$1>(inputs: {
|
|
16602
16860
|
fetchEventsFunc: (eventsInputs: EventsInputs) => Promise<EventsWithCursor<T>>;
|
|
16603
|
-
|
|
16604
|
-
time: number;
|
|
16861
|
+
timeMs: number;
|
|
16605
16862
|
limitStepSize?: number;
|
|
16606
16863
|
}) => Promise<T[]>;
|
|
16607
16864
|
fetchAllEvents: <T>(inputs: {
|
|
16608
16865
|
fetchEventsFunc: (eventsInputs: EventsInputs) => Promise<EventsWithCursor<T>>;
|
|
16609
16866
|
limitStepSize?: number;
|
|
16610
16867
|
}) => Promise<T[]>;
|
|
16868
|
+
private static resolveEventType;
|
|
16611
16869
|
static suiEventOfTypeOrUndefined: (event: SuiEvent, eventType: AnyObjectType | (() => AnyObjectType)) => SuiEvent | undefined;
|
|
16612
16870
|
static castEventOfTypeOrUndefined: <EventTypeOnChain, EventType>(event: SuiEvent, eventType: AnyObjectType | (() => AnyObjectType), castFunction: (eventOnChain: EventTypeOnChain) => EventType, exactMatch?: boolean) => EventType | undefined;
|
|
16613
16871
|
static findCastEventsOrUndefined: <EventTypeOnChain, EventType>(inputs: {
|
|
@@ -16621,7 +16879,7 @@ declare class EventsApiHelpers {
|
|
|
16621
16879
|
castFunction: (eventOnChain: EventTypeOnChain) => EventType;
|
|
16622
16880
|
}) => EventType | undefined;
|
|
16623
16881
|
static findCastEventInTransactionOrUndefined: <EventTypeOnChain, EventType>(transaction: SuiTransactionBlockResponse, eventType: AnyObjectType | (() => AnyObjectType), castFunction: (eventOnChain: EventTypeOnChain) => EventType) => EventType | undefined;
|
|
16624
|
-
static findCastEventInTransactionsOrUndefined: <EventTypeOnChain, EventType>(transactions: SuiTransactionBlockResponse[], eventType: AnyObjectType | (() => AnyObjectType), castFunction: (eventOnChain: EventTypeOnChain) => EventType) =>
|
|
16882
|
+
static findCastEventInTransactionsOrUndefined: <EventTypeOnChain, EventType>(transactions: SuiTransactionBlockResponse[], eventType: AnyObjectType | (() => AnyObjectType), castFunction: (eventOnChain: EventTypeOnChain) => EventType) => EventType | undefined;
|
|
16625
16883
|
static createEventType: (packageAddress: string, packageName: string, eventType: string, wrapperType?: string) => string;
|
|
16626
16884
|
}
|
|
16627
16885
|
|
|
@@ -17212,7 +17470,7 @@ declare class Helpers {
|
|
|
17212
17470
|
* @param arr - The input array.
|
|
17213
17471
|
* @returns The index of the maximum value, or -1 if the array is empty.
|
|
17214
17472
|
*/
|
|
17215
|
-
static indexOfMax: (arr:
|
|
17473
|
+
static indexOfMax: <T extends number | bigint | string | Date>(arr: T[]) => number;
|
|
17216
17474
|
private static uniqueObjectArray;
|
|
17217
17475
|
/**
|
|
17218
17476
|
* Returns a new array with unique elements from the input array,
|
|
@@ -17289,7 +17547,7 @@ declare class Helpers {
|
|
|
17289
17547
|
* @param lastCollection - The second array.
|
|
17290
17548
|
* @returns An array of `[firstCollection[i], lastCollection[i]]` pairs.
|
|
17291
17549
|
*/
|
|
17292
|
-
static zip<S1, S2>(firstCollection:
|
|
17550
|
+
static zip<S1, S2>(firstCollection: S1[], lastCollection: S2[]): [S1, S2][];
|
|
17293
17551
|
/**
|
|
17294
17552
|
* Removes circular references from an object or array, returning a JSON-safe structure.
|
|
17295
17553
|
* Any cyclic references are replaced with `undefined`.
|
|
@@ -17679,4 +17937,4 @@ declare class Aftermath extends Caller {
|
|
|
17679
17937
|
static casting: typeof Casting;
|
|
17680
17938
|
}
|
|
17681
17939
|
|
|
17682
|
-
export { type AfSuiRouterPoolObject, Aftermath, AftermathApi, type AllocatedCollateralEvent, type AmountInCoinAndUsd, type AnyObjectType, type ApiAccessoriesForSuiFrenBody, type ApiAddSuiFrenAccessoryBody, type ApiCreateAuthAccountBody, type ApiCreatePoolBody, type ApiDataWithCursorBody, type ApiDelegatedStakesBody, type ApiDynamicFieldsBody, type ApiDynamicGasBody, type ApiDynamicGasResponse, type ApiEventsBody, type ApiFarmsCreateStakingPoolBody, type ApiFarmsCreateStakingPoolBodyV1, type ApiFarmsDepositPrincipalBody, type ApiFarmsGrantOneTimeAdminCapBody, type ApiFarmsIncreaseStakingPoolRewardsEmissionsBody, type ApiFarmsInitializeStakingPoolRewardBody, type ApiFarmsLockBody, type ApiFarmsOwnedStakedPositionsBody, type ApiFarmsOwnedStakingPoolOneTimeAdminCapsBody, type ApiFarmsOwnedStakingPoolOwnerCapsBody, type ApiFarmsRenewLockBody, type ApiFarmsStakeBody, type ApiFarmsStakeBodyV1, type ApiFarmsTopUpStakingPoolRewardsBody, type ApiFarmsUnlockBody, type ApiFarmsUnstakeBody, type ApiFaucetMintSuiFrenBody, type ApiFaucetRequestBody, type ApiGasPoolBody, type ApiGasPoolCreateBody, type ApiGasPoolCreateResponse, type ApiGasPoolDepositBody, type ApiGasPoolGrantBody, type ApiGasPoolResponse, type ApiGasPoolRevokeBody, type ApiGasPoolShareBody, type ApiGasPoolSponsorBody, type ApiGasPoolWithdrawBody, type ApiGasPoolWithdrawResponse, type ApiGetAccessTokenBody, type ApiGetAccessTokenResponse, type ApiHarvestFarmsRewardsBody, type ApiHarvestSuiFrenFeesBody, type ApiIndexerEventsBody, type ApiIndexerUserEventsBody, type ApiMixSuiFrensBody, type ApiNftAmmBuyBody, type ApiNftAmmDepositBody, type ApiNftAmmSellBody, type ApiNftAmmWithdrawBody, type ApiOwnedStakedSuiFrensBody, type ApiOwnedSuiFrenAccessoriesBody, type ApiOwnedSuiFrensBody, type ApiPerpetualsAccountCollateralHistoryBody, type ApiPerpetualsAccountCollateralHistoryResponse, type ApiPerpetualsAccountMarginHistoryBody, type ApiPerpetualsAccountMarginHistoryResponse, type ApiPerpetualsAccountOrderHistoryBody, type ApiPerpetualsAccountOrderHistoryResponse, type ApiPerpetualsAccountPositionsBody, type ApiPerpetualsAccountPositionsResponse, type ApiPerpetualsAdminAccountCapsBody, type ApiPerpetualsAdminAccountCapsResponse, type ApiPerpetualsAllMarketsBody, type ApiPerpetualsAllMarketsResponse, type ApiPerpetualsAllocateCollateralBody, type ApiPerpetualsBuilderCodesClaimIntegratorVaultFeesTxBody, type ApiPerpetualsBuilderCodesClaimIntegratorVaultFeesTxResponse, type ApiPerpetualsBuilderCodesCreateIntegratorConfigTxBody, type ApiPerpetualsBuilderCodesCreateIntegratorVaultTxBody, type ApiPerpetualsBuilderCodesIntegratorConfigBody, type ApiPerpetualsBuilderCodesIntegratorConfigResponse, type ApiPerpetualsBuilderCodesIntegratorVaultsBody, type ApiPerpetualsBuilderCodesIntegratorVaultsResponse, type ApiPerpetualsBuilderCodesRemoveIntegratorConfigTxBody, type ApiPerpetualsCancelAndPlaceOrdersBody, type ApiPerpetualsCancelOrdersBody, type ApiPerpetualsCancelStopOrdersBody, type ApiPerpetualsCreateAccountBody, type ApiPerpetualsCreateAccountResponse, type ApiPerpetualsCreateVaultBody, type ApiPerpetualsCreateVaultCapBody, type ApiPerpetualsCurrentRebateRewardsBody, type ApiPerpetualsCurrentRebateRewardsResponse, type ApiPerpetualsDeallocateCollateralBody, type ApiPerpetualsDepositCollateralBody, type ApiPerpetualsEditStopOrdersBody, type ApiPerpetualsExecutionPriceBody, type ApiPerpetualsExecutionPriceResponse, type ApiPerpetualsGrantAgentWalletTxBody, type ApiPerpetualsHistoricalDataWithCursorBody, type ApiPerpetualsHistoricalDataWithCursorResponse, type ApiPerpetualsLimitOrderBody, type ApiPerpetualsMarketCandleHistoryBody, type ApiPerpetualsMarketCandleHistoryResponse, type ApiPerpetualsMarketOrderBody, type ApiPerpetualsMarketOrderHistoryBody, type ApiPerpetualsMarketOrderHistoryResponse, type ApiPerpetualsMarkets24hrStatsResponse, type ApiPerpetualsMarketsBody, type ApiPerpetualsMarketsPricesBody, type ApiPerpetualsMarketsPricesResponse, type ApiPerpetualsMarketsResponse, type ApiPerpetualsMaxOrderSizeBody, type ApiPerpetualsOrderToPlace, type ApiPerpetualsOrderbooksBody, type ApiPerpetualsOrderbooksResponse, type ApiPerpetualsOwnedAccountCapsBody, type ApiPerpetualsOwnedAccountCapsResponse, type ApiPerpetualsOwnedVaultCapsBody, type ApiPerpetualsOwnedVaultCapsResponse, type ApiPerpetualsPlaceSlTpOrdersBody, type ApiPerpetualsPlaceStopOrdersBody, type ApiPerpetualsPreviewCancelOrdersBody, type ApiPerpetualsPreviewCancelOrdersResponse, type ApiPerpetualsPreviewEditCollateralBody, type ApiPerpetualsPreviewEditCollateralResponse, type ApiPerpetualsPreviewPlaceLimitOrderBody, type ApiPerpetualsPreviewPlaceMarketOrderBody, type ApiPerpetualsPreviewPlaceOrderResponse, type ApiPerpetualsPreviewPlaceScaleOrderBody, type ApiPerpetualsPreviewSetLeverageBody, type ApiPerpetualsPreviewSetLeverageResponse, type ApiPerpetualsRevokeAgentWalletTxBody, type ApiPerpetualsScaleOrderBody, type ApiPerpetualsSetLeverageTxBody, type ApiPerpetualsShareAccountBody, type ApiPerpetualsStopOrderDatasBody, type ApiPerpetualsStopOrderDatasResponse, type ApiPerpetualsTransferCapTxBody, type ApiPerpetualsTransferCollateralBody, type ApiPerpetualsVaultCancelWithdrawRequestTxBody, type ApiPerpetualsVaultCreateWithdrawRequestTxBody, type ApiPerpetualsVaultDepositTxBody, type ApiPerpetualsVaultLpCoinPricesBody, type ApiPerpetualsVaultLpCoinPricesResponse, type ApiPerpetualsVaultOwnedLpCoinsBody, type ApiPerpetualsVaultOwnedLpCoinsResponse, type ApiPerpetualsVaultOwnedWithdrawRequestsBody, type ApiPerpetualsVaultOwnedWithdrawRequestsResponse, type ApiPerpetualsVaultOwnerProcessWithdrawRequestsTxBody, type ApiPerpetualsVaultOwnerUpdateForceWithdrawDelayTxBody, type ApiPerpetualsVaultOwnerUpdateLockPeriodTxBody, type ApiPerpetualsVaultOwnerUpdatePerformanceFeeTxBody, type ApiPerpetualsVaultOwnerWithdrawCollateralTxBody, type ApiPerpetualsVaultOwnerWithdrawCollateralTxResponse, type ApiPerpetualsVaultOwnerWithdrawLockedLiquidityTxBody, type ApiPerpetualsVaultOwnerWithdrawLockedLiquidityTxResponse, type ApiPerpetualsVaultOwnerWithdrawPerformanceFeesTxBody, type ApiPerpetualsVaultOwnerWithdrawPerformanceFeesTxResponse, type ApiPerpetualsVaultPauseVaultForForceWithdrawRequestTxBody, type ApiPerpetualsVaultPreviewCreateWithdrawRequestBody, type ApiPerpetualsVaultPreviewCreateWithdrawRequestResponse, type ApiPerpetualsVaultPreviewDepositBody, type ApiPerpetualsVaultPreviewDepositResponse, type ApiPerpetualsVaultPreviewOwnerProcessWithdrawRequestsBody, type ApiPerpetualsVaultPreviewOwnerProcessWithdrawRequestsResponse, type ApiPerpetualsVaultPreviewOwnerWithdrawCollateralBody, type ApiPerpetualsVaultPreviewOwnerWithdrawCollateralResponse, type ApiPerpetualsVaultPreviewOwnerWithdrawLockedLiquidityBody, type ApiPerpetualsVaultPreviewOwnerWithdrawLockedLiquidityResponse, type ApiPerpetualsVaultPreviewOwnerWithdrawPerformanceFeesBody, type ApiPerpetualsVaultPreviewOwnerWithdrawPerformanceFeesResponse, type ApiPerpetualsVaultPreviewPauseVaultForForceWithdrawRequestBody, type ApiPerpetualsVaultPreviewPauseVaultForForceWithdrawRequestResponse, type ApiPerpetualsVaultPreviewProcessForceWithdrawRequestBody, type ApiPerpetualsVaultPreviewProcessForceWithdrawRequestResponse, type ApiPerpetualsVaultProcessForceWithdrawRequestTxBody, type ApiPerpetualsVaultProcessForceWithdrawRequestTxResponse, type ApiPerpetualsVaultUpdateWithdrawRequestSlippageTxBody, type ApiPerpetualsVaultsBody, type ApiPerpetualsVaultsResponse, type ApiPerpetualsVaultsWithdrawRequestsBody, type ApiPerpetualsVaultsWithdrawRequestsResponse, type ApiPerpetualsWithdrawCollateralBody, type ApiPerpetualsWithdrawCollateralResponse, type ApiPoolAllCoinWithdrawBody, type ApiPoolDepositBody, type ApiPoolObjectIdForLpCoinTypeBody, type ApiPoolSpotPriceBody, type ApiPoolTradeBody, type ApiPoolWithdrawBody, type ApiPoolsOwnedDaoFeePoolOwnerCapsBody, type ApiPoolsStatsBody, type ApiPublishLpCoinBody, type ApiReferralsCreateReferralLinkBody, type ApiReferralsCreateReferralLinkResponse, type ApiReferralsGetLinkedRefCodeBody, type ApiReferralsGetLinkedRefCodeResponse, type ApiReferralsGetRefCodeBody, type ApiReferralsGetRefCodeResponse, type ApiReferralsGetRefereesBody, type ApiReferralsGetRefereesResponse, type ApiReferralsIsRefCodeTakenBody, type ApiReferralsIsRefCodeTakenResponse, type ApiReferralsSetReferrerBody, type ApiReferralsSetReferrerResponse, type ApiRemoveSuiFrenAccessoryBody, type ApiRewardsClaimRequestTxBody, type ApiRewardsClaimRequestTxResponse, type ApiRewardsGetClaimableBody, type ApiRewardsGetClaimableResponse, type ApiRewardsGetHistoryBody, type ApiRewardsGetHistoryResponse, type ApiRewardsGetPointsBody, type ApiRewardsGetPointsResponse, type ApiRouterAddTransactionForCompleteTradeRouteBody, type ApiRouterAddTransactionForCompleteTradeRouteResponse, type ApiRouterCompleteTradeRouteBody, type ApiRouterDynamicGasBody, type ApiRouterPartialCompleteTradeRouteBody, type ApiRouterTradeEventsBody, type ApiRouterTransactionForCompleteTradeRouteBody, type ApiStakeBody, type ApiStakeStakedSuiBody, type ApiStakeSuiFrenBody, type ApiStakingEventsBody, type ApiStakingPositionsBody, type ApiTransactionResponse, type ApiTransactionsBody, type ApiUnstakeBody, type ApiUnstakeSuiFrenBody, type ApiUpdateValidatorFeeBody, type ApiValidatorOperationCapsBody, type Apr, type Apy, Auth, type Balance, type BigIntAsString, type Byte, type CallerConfig, type CanceledOrderEvent, type CapyLabsAppObject, Casting, Coin, type CoinDecimal, type CoinGeckoChain, type CoinGeckoCoinApiId, type CoinGeckoCoinData, type CoinGeckoCoinSymbolData, type CoinGeckoHistoricalTradeData, type CoinGeckoTickerData, type CoinMetadaWithInfo, type CoinPriceInfo, type CoinSymbol, type CoinSymbolToCoinTypes, type CoinSymbolsToPriceInfo, type CoinType, type CoinWithAmount, type CoinWithAmountOrUndefined, type CoinsToBalance, type CoinsToBalanceOrUndefined, type CoinsToDecimals, type CoinsToPrice, type CoinsToPriceInfo, type CollateralEvent, type Color, type ComposedTransferArgs, type ConfigAddresses, type CreatedAccountEvent, type CreatedDaoFeePoolEvent, type CreatedStopOrderTicketEvent, type DaoFeePoolObject, type DaoFeePoolOwnerCapObject, type DaoFeePoolsAddresses, type DcaAddresses, type DeallocatedCollateralEvent, type DecimalsScalar, type DeferredAccountArgs, type DeletedStopOrderTicketEvent, type DepositedCollateralEvent, type DynamicFieldObjectsWithCursor, type DynamicFieldsInputs, type DynamicFieldsWithCursor, type DynamicGasAddresses, type EditedStopOrderTicketDetailsEvent, type EditedStopOrderTicketExecutorEvent, type EpochWasChangedEvent, type Event$1 as Event, type EventsInputs, type EventsWithCursor, type ExecutedStopOrderTicketEvent, type ExternalFee, type FarmEvent, type FarmOwnerOrOneTimeAdminCap, type FarmUserEvent, Farms, type FarmsAddedRewardEvent, type FarmsAddresses, type FarmsCreatedVaultEvent, type FarmsDepositedPrincipalEvent, type FarmsDestroyedStakedPositionEvent, type FarmsHarvestedRewardsEvent, type FarmsIncreasedEmissionsEvent, type FarmsInitializedRewardEvent, type FarmsJoinedEvent, type FarmsLockEnforcement, type FarmsLockedEvent, type FarmsMultiplier, type FarmsSplitEvent, type FarmsStakedEvent, FarmsStakedPosition, type FarmsStakedPositionObject, type FarmsStakedPositionRewardCoin, type FarmsStakedRelaxedEvent, FarmsStakingPool, type FarmsStakingPoolObject, type FarmsStakingPoolRewardCoin, type FarmsUnlockedEvent, type FarmsVersion, type FarmsWithdrewPrincipalEvent, Faucet, type FaucetAddCoinEvent, type FaucetAddresses, type FaucetMintCoinEvent, type FilePath, type FilledMakerOrderEventFields, type FilledMakerOrdersEvent, type FilledTakerOrderEvent, type FunctionName, type GasBudget, GasPools, type HarvestSuiFrenFeesEvent, Helpers, type IFixed, type IFixedAsBytes, type IFixedAsString, type IFixedAsStringBytes, type IdAsStringBytes, type IndexerDataWithCursorQueryParams, type IndexerEventsWithCursor, type KeyType, type KioskObject, type KioskOwnerCapObject, type LimitAddresses, type LiquidatedEvent, type LocalUrl, type MixSuiFrensEvent, type ModuleName, type MoveErrorCode, type Nft, NftAmm, type NftAmmAddresses, type NftAmmInterfaceGenericTypes, type NftAmmMarketObject, type NftDisplay, type NftDisplayOther, type NftDisplaySuggested, type NftInfo, type NftsAddresses, type NormalizedBalance, type NumberAsString, type Object$1 as Object, type ObjectDigest, type ObjectId, type ObjectVersion, type OrderbookFillReceiptEvent, type PackageId, type PartialFarmsStakedPositionObject, type PartialSuiFrenObject, type Percentage, Perpetuals, PerpetualsAccount, type PerpetualsAccountCap, type PerpetualsAccountCollateralChange, type PerpetualsAccountData, type PerpetualsAccountId, type PerpetualsAccountMarginHistoryData, type PerpetualsAccountMarginHistoryTimeframeKey, type PerpetualsAccountObject, type PerpetualsAccountOrderHistoryData, type PerpetualsAddresses, type PerpetualsBuilderCodeParamaters, type PerpetualsCapType, type PerpetualsExecutionInfo, type PerpetualsFilledOrderData, type PerpetualsIntegratorVaultData, type PerpetualsMakerData, PerpetualsMarket, type PerpetualsMarket24hrStats, type PerpetualsMarketCandleDataPoint, type PerpetualsMarketData, type PerpetualsMarketId, type PerpetualsMarketOrderHistoryData, type PerpetualsMarketParams, type PerpetualsMarketState, type PerpetualsOrderData, type PerpetualsOrderEvent, type PerpetualsOrderId, type PerpetualsOrderIdAsString, type PerpetualsOrderInfo, type PerpetualsOrderPrice, PerpetualsOrderSide, type PerpetualsOrderState, PerpetualsOrderType, type PerpetualsOrderbook, type PerpetualsOrderbookDeltas, type PerpetualsOrderbookItem, type PerpetualsPartialVaultCap, type PerpetualsPosition, type PerpetualsRewardData, type PerpetualsSponsorConfig, type PerpetualsStopOrderData, PerpetualsStopOrderType, type PerpetualsTakerData, type PerpetualsTopOfOrderbook, type PerpetualsTopOfOrderbookDataPoint, type PerpetualsTwapEvent, PerpetualsVault, type PerpetualsVaultCap, type PerpetualsVaultLpCoin, type PerpetualsVaultMetatada, type PerpetualsVaultObject, type PerpetualsVaultWithdrawRequest, type PerpetualsVaultsAddresses, type PerpetualsWsCandleResponseMessage, type PerpetualsWsUpdatesMarketOrdersPayload, type PerpetualsWsUpdatesMarketOrdersSubscriptionType, type PerpetualsWsUpdatesMarketSubscriptionType, type PerpetualsWsUpdatesOraclePayload, type PerpetualsWsUpdatesOracleSubscriptionType, type PerpetualsWsUpdatesOrderbookPayload, type PerpetualsWsUpdatesOrderbookSubscriptionType, type PerpetualsWsUpdatesResponseMessage, type PerpetualsWsUpdatesSubscriptionAction, type PerpetualsWsUpdatesSubscriptionMessage, type PerpetualsWsUpdatesSubscriptionType, type PerpetualsWsUpdatesTopOfOrderbookPayload, type PerpetualsWsUpdatesTopOfOrderbookSubscriptionType, type PerpetualsWsUpdatesUserCollateralChangesPayload, type PerpetualsWsUpdatesUserCollateralChangesSubscriptionType, type PerpetualsWsUpdatesUserOrdersPayload, type PerpetualsWsUpdatesUserOrdersSubscriptionType, type PerpetualsWsUpdatesUserPayload, type PerpetualsWsUpdatesUserSubscriptionType, Pool, type PoolCoin, type PoolCoins, type PoolCreationCoinInfo, type PoolCreationLpCoinMetadata, type PoolDataPoint, type PoolDepositEvent, type PoolDepositFee, type PoolFlatness, type PoolGraphDataTimeframe, type PoolGraphDataTimeframeKey, type PoolLpInfo, type PoolName, type PoolObject, type PoolStats, type PoolTradeEvent, type PoolTradeFee, type PoolWeight, type PoolWithdrawEvent, type PoolWithdrawFee, Pools, type PoolsAddresses, type PostedOrderEvent, type RateLimit, type ReceivedCollateralEvent, type ReducedOrderEvent, ReferralVault, type ReferralVaultAddresses, type ReferralsRefereeInfo, type RewardsClaimableReward, type RewardsHistoryEntry, type RewardsPaginationInfo, Router, type RouterAddresses, type RouterCompleteTradeRoute, type RouterCompleteTradeRouteWithFee, type RouterExternalFee, type RouterProtocolName, type RouterTradeCoin, type RouterTradeEvent, type RouterTradeInfo, type RouterTradePath, type RouterTradeRoute, type RpcEndpoint, type ScallopAddresses, type SdkPerpetualsCancelAndPlaceOrdersInputs, type SdkPerpetualsCancelOrdersPreviewInputs, type SdkPerpetualsPlaceLimitOrderInputs, type SdkPerpetualsPlaceLimitOrderPreviewInputs, type SdkPerpetualsPlaceMarketOrderInputs, type SdkPerpetualsPlaceMarketOrderPreviewInputs, type SdkPerpetualsPlaceScaleOrderInputs, type SdkPerpetualsPlaceScaleOrderPreviewInputs, type SdkPerpetualsPlaceSlTpOrdersInputs, type SdkPerpetualsPlaceStopOrdersInputs, type SdkTransactionResponse, type SerializedTransaction, type ServiceCoinData, type ServiceCoinDataV2, type SetPositionInitialMarginRatioEvent, type SettledFundingEvent, type SharedCustodyAddresses, type SignMessageCallback, type Slippage, type StakeBalanceDynamicField, type StakeEvent, type StakePosition, type StakeSuiFrenEvent, type StakedEvent, StakedSuiFren, type StakedSuiFrenInfo, type StakedSuiFrenMetadataV1Object, type StakedSuiFrenPositionObject, type StakedSuiVaultStateObject, Staking, type StakingAddresses, type StakingApyDataPoint, type StakingApyTimeframeKey, type StakingPoolOneTimeAdminCapObject, type StakingPoolOwnerCapObject, type StakingPosition, type StringByte, Sui, type SuiAddress, type SuiCheckpoint, type SuiDelegatedStake, type SuiDelegatedStakeState, SuiFren, type SuiFrenAccessoryName, type SuiFrenAccessoryObject, type SuiFrenAccessoryType, type SuiFrenAttributes, type SuiFrenObject, type SuiFrenStats, type SuiFrenVaultStateV1Object, SuiFrens, type SuiFrensAddresses, SuiFrensSortOption, type SuiNetwork, type Timestamp, type TransactionDigest, type TransactionsWithCursor, type TransferredDeallocatedCollateralEvent, type TxBytes, type UniqueId, type UnstakeEvent, type UnstakePosition, type UnstakePositionState, type UnstakeRequestedEvent, type UnstakeSuiFrenEvent, type UnstakedEvent, type UpdatedFeeBpsEvent, type UpdatedFeeRecipientEvent, type UpdatedFundingEvent, type UpdatedMarketVersionEvent, type UpdatedPremiumTwapEvent, type UpdatedSpreadTwapEvent, type Url, type UserEventsInputs, type ValidatorConfigObject, type ValidatorOperationCapObject, type WithdrewCollateralEvent, isAllocatedCollateralEvent, isCanceledOrderEvent, isDeallocatedCollateralEvent, isDepositedCollateralEvent, isFarmsDepositedPrincipalEvent, isFarmsHarvestedRewardsEvent, isFarmsLockedEvent, isFarmsStakedEvent, isFarmsUnlockedEvent, isFarmsWithdrewPrincipalEvent, isFilledMakerOrdersEvent, isFilledTakerOrderEvent, isLiquidatedEvent, isPostedOrderEvent, isReducedOrderEvent, isSettledFundingEvent, isStakeEvent, isStakePosition, isSuiDelegatedStake, isUnstakeEvent, isUnstakePosition, isUpdatedFundingEvent, isUpdatedMarketVersion, isUpdatedPremiumTwapEvent, isUpdatedSpreadTwapEvent, isWithdrewCollateralEvent };
|
|
17940
|
+
export { type AfSuiRouterPoolObject, Aftermath, AftermathApi, type AllocatedCollateralEvent, type AmountInCoinAndUsd, type AnyObjectType, type ApiAccessoriesForSuiFrenBody, type ApiAddSuiFrenAccessoryBody, type ApiCreateAuthAccountBody, type ApiCreatePoolBody, type ApiDataWithCursorBody, type ApiDelegatedStakesBody, type ApiDynamicFieldsBody, type ApiDynamicGasBody, type ApiDynamicGasResponse, type ApiEventsBody, type ApiFarmsCreateStakingPoolBody, type ApiFarmsCreateStakingPoolBodyV1, type ApiFarmsDepositPrincipalBody, type ApiFarmsGrantOneTimeAdminCapBody, type ApiFarmsIncreaseStakingPoolRewardsEmissionsBody, type ApiFarmsInitializeStakingPoolRewardBody, type ApiFarmsLockBody, type ApiFarmsOwnedStakedPositionsBody, type ApiFarmsOwnedStakingPoolOneTimeAdminCapsBody, type ApiFarmsOwnedStakingPoolOwnerCapsBody, type ApiFarmsRenewLockBody, type ApiFarmsStakeBody, type ApiFarmsStakeBodyV1, type ApiFarmsTopUpStakingPoolRewardsBody, type ApiFarmsUnlockBody, type ApiFarmsUnstakeBody, type ApiFaucetMintSuiFrenBody, type ApiFaucetRequestBody, type ApiGasPoolBody, type ApiGasPoolCreateBody, type ApiGasPoolCreateResponse, type ApiGasPoolDepositBody, type ApiGasPoolGrantBody, type ApiGasPoolResponse, type ApiGasPoolRevokeBody, type ApiGasPoolShareBody, type ApiGasPoolSponsorBody, type ApiGasPoolWithdrawBody, type ApiGasPoolWithdrawResponse, type ApiGetAccessTokenBody, type ApiGetAccessTokenResponse, type ApiHarvestFarmsRewardsBody, type ApiHarvestSuiFrenFeesBody, type ApiIndexerEventsBody, type ApiIndexerUserEventsBody, type ApiMixSuiFrensBody, type ApiNftAmmBuyBody, type ApiNftAmmDepositBody, type ApiNftAmmSellBody, type ApiNftAmmWithdrawBody, type ApiOwnedStakedSuiFrensBody, type ApiOwnedSuiFrenAccessoriesBody, type ApiOwnedSuiFrensBody, type ApiPerpetualsAccountCollateralHistoryBody, type ApiPerpetualsAccountCollateralHistoryResponse, type ApiPerpetualsAccountMarginHistoryBody, type ApiPerpetualsAccountMarginHistoryResponse, type ApiPerpetualsAccountOrderHistoryBody, type ApiPerpetualsAccountOrderHistoryResponse, type ApiPerpetualsAccountPositionsBody, type ApiPerpetualsAccountPositionsResponse, type ApiPerpetualsAdminAccountCapsBody, type ApiPerpetualsAdminAccountCapsResponse, type ApiPerpetualsAllMarketsBody, type ApiPerpetualsAllMarketsResponse, type ApiPerpetualsAllocateCollateralBody, type ApiPerpetualsBuilderCodesClaimIntegratorVaultFeesTxBody, type ApiPerpetualsBuilderCodesClaimIntegratorVaultFeesTxResponse, type ApiPerpetualsBuilderCodesCreateIntegratorConfigTxBody, type ApiPerpetualsBuilderCodesCreateIntegratorVaultTxBody, type ApiPerpetualsBuilderCodesIntegratorConfigBody, type ApiPerpetualsBuilderCodesIntegratorConfigResponse, type ApiPerpetualsBuilderCodesIntegratorVaultsBody, type ApiPerpetualsBuilderCodesIntegratorVaultsResponse, type ApiPerpetualsBuilderCodesRemoveIntegratorConfigTxBody, type ApiPerpetualsCancelAndPlaceOrdersBody, type ApiPerpetualsCancelOrdersBody, type ApiPerpetualsCancelStopOrdersBody, type ApiPerpetualsCreateAccountBody, type ApiPerpetualsCreateAccountResponse, type ApiPerpetualsCreateCsvRebatesBody, type ApiPerpetualsCreateCsvRebatesResponse, type ApiPerpetualsCreateReferralCsvRebatesBody, type ApiPerpetualsCreateReferralCsvRebatesResponse, type ApiPerpetualsCreateVaultBody, type ApiPerpetualsCreateVaultCapBody, type ApiPerpetualsCurrentRebateRewardsBody, type ApiPerpetualsCurrentRebateRewardsResponse, type ApiPerpetualsDeallocateCollateralBody, type ApiPerpetualsDepositCollateralBody, type ApiPerpetualsEditStopOrdersBody, type ApiPerpetualsExecutionPriceBody, type ApiPerpetualsExecutionPriceResponse, type ApiPerpetualsGrantAgentWalletTxBody, type ApiPerpetualsHistoricalDataWithCursorBody, type ApiPerpetualsHistoricalDataWithCursorResponse, type ApiPerpetualsLimitOrderBody, type ApiPerpetualsMarketCandleHistoryBody, type ApiPerpetualsMarketCandleHistoryResponse, type ApiPerpetualsMarketFundingHistoryBody, type ApiPerpetualsMarketFundingHistoryResponse, type ApiPerpetualsMarketOrderBody, type ApiPerpetualsMarketOrderHistoryBody, type ApiPerpetualsMarketOrderHistoryResponse, type ApiPerpetualsMarkets24hrStatsResponse, type ApiPerpetualsMarketsBody, type ApiPerpetualsMarketsPricesBody, type ApiPerpetualsMarketsPricesResponse, type ApiPerpetualsMarketsResponse, type ApiPerpetualsMaxOrderSizeBody, type ApiPerpetualsOrderToPlace, type ApiPerpetualsOrderbooksBody, type ApiPerpetualsOrderbooksResponse, type ApiPerpetualsOwnedAccountCapsBody, type ApiPerpetualsOwnedAccountCapsResponse, type ApiPerpetualsOwnedVaultAssistantCapsBody, type ApiPerpetualsOwnedVaultAssistantCapsResponse, type ApiPerpetualsOwnedVaultCapsBody, type ApiPerpetualsOwnedVaultCapsResponse, type ApiPerpetualsPlaceSlTpOrdersBody, type ApiPerpetualsPlaceStopOrdersBody, type ApiPerpetualsPreviewCancelOrdersBody, type ApiPerpetualsPreviewCancelOrdersResponse, type ApiPerpetualsPreviewEditCollateralBody, type ApiPerpetualsPreviewEditCollateralResponse, type ApiPerpetualsPreviewPlaceLimitOrderBody, type ApiPerpetualsPreviewPlaceMarketOrderBody, type ApiPerpetualsPreviewPlaceOrderResponse, type ApiPerpetualsPreviewPlaceScaleOrderBody, type ApiPerpetualsPreviewSetLeverageBody, type ApiPerpetualsPreviewSetLeverageResponse, type ApiPerpetualsRevokeAgentWalletTxBody, type ApiPerpetualsScaleOrderBody, type ApiPerpetualsSetLeverageTxBody, type ApiPerpetualsShareAccountBody, type ApiPerpetualsStopOrderDatasBody, type ApiPerpetualsStopOrderDatasResponse, type ApiPerpetualsTransferCapTxBody, type ApiPerpetualsTransferCollateralBody, type ApiPerpetualsVaultCancelWithdrawRequestTxBody, type ApiPerpetualsVaultCreateWithdrawRequestTxBody, type ApiPerpetualsVaultDepositTxBody, type ApiPerpetualsVaultLpCoinPricesBody, type ApiPerpetualsVaultLpCoinPricesResponse, type ApiPerpetualsVaultOwnedLpCoinsBody, type ApiPerpetualsVaultOwnedLpCoinsResponse, type ApiPerpetualsVaultOwnedWithdrawRequestsBody, type ApiPerpetualsVaultOwnedWithdrawRequestsResponse, type ApiPerpetualsVaultOwnerProcessWithdrawRequestsTxBody, type ApiPerpetualsVaultOwnerUpdateForceWithdrawDelayTxBody, type ApiPerpetualsVaultOwnerUpdateLockPeriodTxBody, type ApiPerpetualsVaultOwnerUpdatePerformanceFeeTxBody, type ApiPerpetualsVaultOwnerWithdrawCollateralTxBody, type ApiPerpetualsVaultOwnerWithdrawCollateralTxResponse, type ApiPerpetualsVaultOwnerWithdrawLockedLiquidityTxBody, type ApiPerpetualsVaultOwnerWithdrawLockedLiquidityTxResponse, type ApiPerpetualsVaultOwnerWithdrawPerformanceFeesTxBody, type ApiPerpetualsVaultOwnerWithdrawPerformanceFeesTxResponse, type ApiPerpetualsVaultPauseVaultForForceWithdrawRequestTxBody, type ApiPerpetualsVaultPreviewCreateWithdrawRequestBody, type ApiPerpetualsVaultPreviewCreateWithdrawRequestResponse, type ApiPerpetualsVaultPreviewDepositBody, type ApiPerpetualsVaultPreviewDepositResponse, type ApiPerpetualsVaultPreviewOwnerProcessWithdrawRequestsBody, type ApiPerpetualsVaultPreviewOwnerProcessWithdrawRequestsResponse, type ApiPerpetualsVaultPreviewOwnerWithdrawCollateralBody, type ApiPerpetualsVaultPreviewOwnerWithdrawCollateralResponse, type ApiPerpetualsVaultPreviewOwnerWithdrawLockedLiquidityBody, type ApiPerpetualsVaultPreviewOwnerWithdrawLockedLiquidityResponse, type ApiPerpetualsVaultPreviewOwnerWithdrawPerformanceFeesBody, type ApiPerpetualsVaultPreviewOwnerWithdrawPerformanceFeesResponse, type ApiPerpetualsVaultPreviewPauseVaultForForceWithdrawRequestBody, type ApiPerpetualsVaultPreviewPauseVaultForForceWithdrawRequestResponse, type ApiPerpetualsVaultPreviewProcessForceWithdrawRequestBody, type ApiPerpetualsVaultPreviewProcessForceWithdrawRequestResponse, type ApiPerpetualsVaultProcessForceWithdrawRequestTxBody, type ApiPerpetualsVaultProcessForceWithdrawRequestTxResponse, type ApiPerpetualsVaultUpdateWithdrawRequestSlippageTxBody, type ApiPerpetualsVaultsBody, type ApiPerpetualsVaultsResponse, type ApiPerpetualsVaultsWithdrawRequestsBody, type ApiPerpetualsVaultsWithdrawRequestsResponse, type ApiPerpetualsWithdrawCollateralBody, type ApiPerpetualsWithdrawCollateralResponse, type ApiPoolAllCoinWithdrawBody, type ApiPoolDepositBody, type ApiPoolObjectIdForLpCoinTypeBody, type ApiPoolSpotPriceBody, type ApiPoolTradeBody, type ApiPoolWithdrawBody, type ApiPoolsOwnedDaoFeePoolOwnerCapsBody, type ApiPoolsStatsBody, type ApiPublishLpCoinBody, type ApiReferralsCreateReferralLinkBody, type ApiReferralsCreateReferralLinkResponse, type ApiReferralsGetLinkedRefCodeBody, type ApiReferralsGetLinkedRefCodeResponse, type ApiReferralsGetRefCodeBody, type ApiReferralsGetRefCodeResponse, type ApiReferralsGetRefereesBody, type ApiReferralsGetRefereesResponse, type ApiReferralsIsRefCodeTakenBody, type ApiReferralsIsRefCodeTakenResponse, type ApiReferralsSetReferrerBody, type ApiReferralsSetReferrerResponse, type ApiRemoveSuiFrenAccessoryBody, type ApiRewardsClaimRequestTxBody, type ApiRewardsClaimRequestTxResponse, type ApiRewardsGetClaimableBody, type ApiRewardsGetClaimableResponse, type ApiRewardsGetHistoryBody, type ApiRewardsGetHistoryResponse, type ApiRewardsGetPointsBody, type ApiRewardsGetPointsResponse, type ApiRouterAddTransactionForCompleteTradeRouteBody, type ApiRouterAddTransactionForCompleteTradeRouteResponse, type ApiRouterCompleteTradeRouteBody, type ApiRouterDynamicGasBody, type ApiRouterPartialCompleteTradeRouteBody, type ApiRouterTradeEventsBody, type ApiRouterTransactionForCompleteTradeRouteBody, type ApiStakeBody, type ApiStakeStakedSuiBody, type ApiStakeSuiFrenBody, type ApiStakingEventsBody, type ApiStakingPositionsBody, type ApiTransactionResponse, type ApiTransactionsBody, type ApiUnstakeBody, type ApiUnstakeSuiFrenBody, type ApiUpdateValidatorFeeBody, type ApiValidatorOperationCapsBody, type Apr, type Apy, Auth, type Balance, type BigIntAsString, type Byte, type CallerConfig, type CanceledOrderEvent, type CapyLabsAppObject, Casting, Coin, type CoinDecimal, type CoinGeckoChain, type CoinGeckoCoinApiId, type CoinGeckoCoinData, type CoinGeckoCoinSymbolData, type CoinGeckoHistoricalTradeData, type CoinGeckoTickerData, type CoinMetadaWithInfo, type CoinPriceInfo, type CoinSymbol, type CoinSymbolToCoinTypes, type CoinSymbolsToPriceInfo, type CoinType, type CoinWithAmount, type CoinWithAmountOrUndefined, type CoinsToBalance, type CoinsToBalanceOrUndefined, type CoinsToDecimals, type CoinsToPrice, type CoinsToPriceInfo, type CollateralEvent, type Color, type ComposedTransferArgs, type ConfigAddresses, type CreatedAccountEvent, type CreatedDaoFeePoolEvent, type CreatedStopOrderTicketEvent, type DaoFeePoolObject, type DaoFeePoolOwnerCapObject, type DaoFeePoolsAddresses, type DcaAddresses, type DeallocatedCollateralEvent, type DecimalsScalar, type DeferredAccountArgs, type DeletedStopOrderTicketEvent, type DepositedCollateralEvent, type DynamicFieldObjectsWithCursor, type DynamicFieldsInputs, type DynamicFieldsWithCursor, type DynamicGasAddresses, type EditedStopOrderTicketDetailsEvent, type EditedStopOrderTicketExecutorEvent, type EpochWasChangedEvent, type Event$1 as Event, type EventsInputs, type EventsWithCursor, type ExecutedStopOrderTicketEvent, type ExternalFee, type FarmEvent, type FarmOwnerOrOneTimeAdminCap, type FarmUserEvent, Farms, type FarmsAddedRewardEvent, type FarmsAddresses, type FarmsCreatedVaultEvent, type FarmsDepositedPrincipalEvent, type FarmsDestroyedStakedPositionEvent, type FarmsHarvestedRewardsEvent, type FarmsIncreasedEmissionsEvent, type FarmsInitializedRewardEvent, type FarmsJoinedEvent, type FarmsLockEnforcement, type FarmsLockedEvent, type FarmsMultiplier, type FarmsSplitEvent, type FarmsStakedEvent, FarmsStakedPosition, type FarmsStakedPositionObject, type FarmsStakedPositionRewardCoin, type FarmsStakedRelaxedEvent, FarmsStakingPool, type FarmsStakingPoolObject, type FarmsStakingPoolRewardCoin, type FarmsUnlockedEvent, type FarmsVersion, type FarmsWithdrewPrincipalEvent, Faucet, type FaucetAddCoinEvent, type FaucetAddresses, type FaucetMintCoinEvent, type FilePath, type FilledMakerOrderEventFields, type FilledMakerOrdersEvent, type FilledTakerOrderEvent, type FunctionName, type GasBudget, GasPools, type HarvestSuiFrenFeesEvent, Helpers, type IFixed, type IFixedAsBytes, type IFixedAsString, type IFixedAsStringBytes, type IdAsStringBytes, type IndexerDataWithCursorQueryParams, type IndexerEventsWithCursor, type KeyType, type KioskObject, type KioskOwnerCapObject, type LimitAddresses, type LiquidatedEvent, type LocalUrl, type MixSuiFrensEvent, type ModuleName, type MoveErrorCode, type Nft, NftAmm, type NftAmmAddresses, type NftAmmInterfaceGenericTypes, type NftAmmMarketObject, type NftDisplay, type NftDisplayOther, type NftDisplaySuggested, type NftInfo, type NftsAddresses, type NormalizedBalance, type NumberAsString, type Object$1 as Object, type ObjectDigest, type ObjectId, type ObjectVersion, type OrderbookFillReceiptEvent, type PackageId, type PartialFarmsStakedPositionObject, type PartialSuiFrenObject, type Percentage, Perpetuals, PerpetualsAccount, type PerpetualsAccountCap, type PerpetualsAccountCollateralChange, type PerpetualsAccountData, type PerpetualsAccountId, type PerpetualsAccountMarginHistoryData, type PerpetualsAccountMarginHistoryTimeframeKey, type PerpetualsAccountObject, type PerpetualsAccountOrderHistoryData, type PerpetualsAddresses, type PerpetualsBuilderCodeParamaters, type PerpetualsCalculationVariables, type PerpetualsCapType, type PerpetualsExecutionInfo, type PerpetualsFilledOrderData, type PerpetualsIntegratorVaultData, type PerpetualsMakerData, PerpetualsMarket, type PerpetualsMarket24hrStats, type PerpetualsMarketCandleDataPoint, type PerpetualsMarketData, type PerpetualsMarketFundingHistoryPoint, type PerpetualsMarketId, type PerpetualsMarketOrderHistoryData, type PerpetualsMarketParams, type PerpetualsMarketState, type PerpetualsOrderData, type PerpetualsOrderEvent, type PerpetualsOrderId, type PerpetualsOrderIdAsString, type PerpetualsOrderInfo, type PerpetualsOrderPrice, PerpetualsOrderSide, type PerpetualsOrderState, PerpetualsOrderType, type PerpetualsOrderbook, type PerpetualsOrderbookDeltas, type PerpetualsOrderbookItem, type PerpetualsPartialVaultCap, type PerpetualsPosition, type PerpetualsRewardData, type PerpetualsSponsorConfig, type PerpetualsStopOrderData, PerpetualsStopOrderType, type PerpetualsTakerData, type PerpetualsTopOfOrderbook, type PerpetualsTopOfOrderbookDataPoint, type PerpetualsTwapEvent, PerpetualsVault, type PerpetualsVaultCap, type PerpetualsVaultLpCoin, type PerpetualsVaultMetatada, type PerpetualsVaultObject, type PerpetualsVaultWithdrawRequest, type PerpetualsVaultsAddresses, type PerpetualsWsCandleResponseMessage, type PerpetualsWsUpdatesMarketOrdersPayload, type PerpetualsWsUpdatesMarketOrdersSubscriptionType, type PerpetualsWsUpdatesMarketSubscriptionType, type PerpetualsWsUpdatesOraclePayload, type PerpetualsWsUpdatesOracleSubscriptionType, type PerpetualsWsUpdatesOrderbookPayload, type PerpetualsWsUpdatesOrderbookSubscriptionType, type PerpetualsWsUpdatesResponseMessage, type PerpetualsWsUpdatesSubscriptionAction, type PerpetualsWsUpdatesSubscriptionMessage, type PerpetualsWsUpdatesSubscriptionType, type PerpetualsWsUpdatesTopOfOrderbookPayload, type PerpetualsWsUpdatesTopOfOrderbookSubscriptionType, type PerpetualsWsUpdatesUserCollateralChangesPayload, type PerpetualsWsUpdatesUserCollateralChangesSubscriptionType, type PerpetualsWsUpdatesUserOrdersPayload, type PerpetualsWsUpdatesUserOrdersSubscriptionType, type PerpetualsWsUpdatesUserPayload, type PerpetualsWsUpdatesUserSubscriptionType, Pool, type PoolCoin, type PoolCoins, type PoolCreationCoinInfo, type PoolCreationLpCoinMetadata, type PoolDataPoint, type PoolDepositEvent, type PoolDepositFee, type PoolFlatness, type PoolGraphDataTimeUnit, type PoolGraphDataTimeframe, type PoolGraphDataTimeframeKey, type PoolLpInfo, type PoolName, type PoolObject, type PoolStats, type PoolTradeEvent, type PoolTradeFee, type PoolWeight, type PoolWithdrawEvent, type PoolWithdrawFee, Pools, type PoolsAddresses, type PostedOrderEvent, type RateLimit, type ReceivedCollateralEvent, type ReducedOrderEvent, ReferralVault, type ReferralVaultAddresses, type ReferralsRefereeInfo, type RewardsClaimableReward, type RewardsHistoryEntry, type RewardsHistoryEventType, type RewardsPaginationInfo, Router, type RouterAddresses, type RouterCompleteTradeRoute, type RouterCompleteTradeRouteWithFee, type RouterExternalFee, type RouterProtocolName, type RouterTradeCoin, type RouterTradeEvent, type RouterTradeInfo, type RouterTradePath, type RouterTradeRoute, type RpcEndpoint, type ScallopAddresses, type SdkPerpetualsCancelAndPlaceOrdersInputs, type SdkPerpetualsCancelOrdersPreviewInputs, type SdkPerpetualsPlaceLimitOrderInputs, type SdkPerpetualsPlaceLimitOrderPreviewInputs, type SdkPerpetualsPlaceMarketOrderInputs, type SdkPerpetualsPlaceMarketOrderPreviewInputs, type SdkPerpetualsPlaceScaleOrderInputs, type SdkPerpetualsPlaceScaleOrderPreviewInputs, type SdkPerpetualsPlaceSlTpOrdersInputs, type SdkPerpetualsPlaceStopOrdersInputs, type SdkTransactionResponse, type SerializedTransaction, type ServiceCoinData, type ServiceCoinDataV2, type SetPositionInitialMarginRatioEvent, type SettledFundingEvent, type SharedCustodyAddresses, type SignMessageCallback, type Slippage, type StakeBalanceDynamicField, type StakeEvent, type StakePosition, type StakeSuiFrenEvent, type StakedEvent, StakedSuiFren, type StakedSuiFrenInfo, type StakedSuiFrenMetadataV1Object, type StakedSuiFrenPositionObject, type StakedSuiVaultStateObject, Staking, type StakingAddresses, type StakingApyDataPoint, type StakingApyTimeframeKey, type StakingPoolOneTimeAdminCapObject, type StakingPoolOwnerCapObject, type StakingPosition, type StringByte, Sui, type SuiAddress, type SuiCheckpoint, type SuiDelegatedStake, type SuiDelegatedStakeState, SuiFren, type SuiFrenAccessoryName, type SuiFrenAccessoryObject, type SuiFrenAccessoryType, type SuiFrenAttributes, type SuiFrenObject, type SuiFrenStats, type SuiFrenVaultStateV1Object, SuiFrens, type SuiFrensAddresses, SuiFrensSortOption, type SuiNetwork, type Timestamp, type TransactionDigest, type TransactionsWithCursor, type TransferredDeallocatedCollateralEvent, type TxBytes, type UniqueId, type UnstakeEvent, type UnstakePosition, type UnstakePositionState, type UnstakeRequestedEvent, type UnstakeSuiFrenEvent, type UnstakedEvent, type UpdatedFeeBpsEvent, type UpdatedFeeRecipientEvent, type UpdatedFundingEvent, type UpdatedMarketVersionEvent, type UpdatedPremiumTwapEvent, type UpdatedSpreadTwapEvent, type Url, type UserEventsInputs, type UserHistoryEventType, type ValidatorConfigObject, type ValidatorOperationCapObject, type WithdrewCollateralEvent, isAllocatedCollateralEvent, isCanceledOrderEvent, isDeallocatedCollateralEvent, isDepositedCollateralEvent, isFarmsDepositedPrincipalEvent, isFarmsHarvestedRewardsEvent, isFarmsLockedEvent, isFarmsStakedEvent, isFarmsUnlockedEvent, isFarmsWithdrewPrincipalEvent, isFilledMakerOrdersEvent, isFilledTakerOrderEvent, isLiquidatedEvent, isPostedOrderEvent, isReducedOrderEvent, isSettledFundingEvent, isStakeEvent, isStakePosition, isSuiDelegatedStake, isUnstakeEvent, isUnstakePosition, isUpdatedFundingEvent, isUpdatedMarketVersion, isUpdatedPremiumTwapEvent, isUpdatedSpreadTwapEvent, isWithdrewCollateralEvent };
|