aftermath-ts-sdk 3.3.3-dev.ff8f0b0 → 4.0.0-dev.0d478c0
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 +223 -199
- package/dist/index.js +120 -58
- package/dist/index.js.map +1 -1
- package/package.json +4 -2
package/dist/index.d.ts
CHANGED
|
@@ -2599,7 +2599,7 @@ interface PerpetualsVaultMetatada {
|
|
|
2599
2599
|
* Network-specific protocol limits shared by all Perpetuals vaults.
|
|
2600
2600
|
*
|
|
2601
2601
|
* These values come from the current on-chain vaults configuration rather
|
|
2602
|
-
|
|
2602
|
+
* than SDK constants. Fetch them with `Perpetuals.getVaultsConfig`.
|
|
2603
2603
|
*/
|
|
2604
2604
|
interface PerpetualsVaultsConfig {
|
|
2605
2605
|
/** ID of the on-chain vaults configuration object. */
|
|
@@ -5968,149 +5968,6 @@ type ApiPerpetualsVaultPreviewOwnerWithdrawPerformanceFeesResponse = {
|
|
|
5968
5968
|
/** Coin type used to pay or receive the performance fees. */
|
|
5969
5969
|
feeCoinType: CoinType;
|
|
5970
5970
|
};
|
|
5971
|
-
/**
|
|
5972
|
-
* Request body for calculating rewards and rebates for perpetuals accounts.
|
|
5973
|
-
*
|
|
5974
|
-
* This corresponds to `POST /api/perpetuals/rebates/rewards`.
|
|
5975
|
-
*
|
|
5976
|
-
* Given maker and taker reward pools and a list of accounts, computes
|
|
5977
|
-
* per-account reward allocations and fee-tier rebates.
|
|
5978
|
-
* When `accountIds` is omitted or empty, all eligible accounts are included.
|
|
5979
|
-
*
|
|
5980
|
-
* **Note:** All data returned is for the current epoch only.
|
|
5981
|
-
*/
|
|
5982
|
-
interface ApiPerpetualsCurrentRebateRewardsBody {
|
|
5983
|
-
/** Optional account filter. Omit or pass an empty array for all eligible accounts. */
|
|
5984
|
-
accountIds?: PerpetualsAccountId[];
|
|
5985
|
-
/** Total maker reward pool to distribute among eligible market makers. */
|
|
5986
|
-
totalMakerRewards: number;
|
|
5987
|
-
/** Total taker reward pool to distribute among eligible takers. */
|
|
5988
|
-
totalTakerRewards: number;
|
|
5989
|
-
/** Coefficients used to compute Q-scores and taker shares. */
|
|
5990
|
-
calculationVariables: PerpetualsCalculationVariables;
|
|
5991
|
-
}
|
|
5992
|
-
/**
|
|
5993
|
-
* Coefficients used when computing Q-scores and taker shares for the rebate
|
|
5994
|
-
* rewards calculation. Each is a weighting exponent applied to a corresponding
|
|
5995
|
-
* per-account metric.
|
|
5996
|
-
*/
|
|
5997
|
-
interface PerpetualsCalculationVariables {
|
|
5998
|
-
/** Exponent applied to the raw Q-score component. */
|
|
5999
|
-
qScoreCoefficient: number;
|
|
6000
|
-
/** Exponent applied to the uptime component. */
|
|
6001
|
-
uptimeCoefficient: number;
|
|
6002
|
-
/** Exponent applied to the maker volume component. */
|
|
6003
|
-
mmVolumeCoefficient: number;
|
|
6004
|
-
/** Exponent applied to the taker volume component. */
|
|
6005
|
-
takerVolumeCoefficient: number;
|
|
6006
|
-
/** Exponent applied to the taker open-interest component. */
|
|
6007
|
-
takerOiCoefficient: number;
|
|
6008
|
-
}
|
|
6009
|
-
/**
|
|
6010
|
-
* Maker reward and rebate breakdown for a single account.
|
|
6011
|
-
*/
|
|
6012
|
-
interface PerpetualsMakerData {
|
|
6013
|
-
/** Normalized Q-score: raw cross-market sum averaged over snapshot count. */
|
|
6014
|
-
qScore: number;
|
|
6015
|
-
/** Final score: `qScore^coeff * uptime^coeff * volume^coeff`. */
|
|
6016
|
-
qScoreFinal: number;
|
|
6017
|
-
/** Share of total `qScoreFinal` across all eligible accounts (between 0 and 1). */
|
|
6018
|
-
qScoreFinalShare: number;
|
|
6019
|
-
/** Cross-market uptime count (number of snapshots with qualifying orders). */
|
|
6020
|
-
uptime: number;
|
|
6021
|
-
/** Q-score-based rewards from the maker reward pool. */
|
|
6022
|
-
rewards: number;
|
|
6023
|
-
/** Cross-market maker volume in USD. */
|
|
6024
|
-
volume: number;
|
|
6025
|
-
/** Share of total maker volume across all eligible accounts (between 0 and 1). */
|
|
6026
|
-
volumeShare: number;
|
|
6027
|
-
/** Volume-share tier rebate: `tierRate * volume`. */
|
|
6028
|
-
volumeRebate: number;
|
|
6029
|
-
/** Total maker fees paid across all markets. */
|
|
6030
|
-
feesPaid: number;
|
|
6031
|
-
/** Fee tier rebate: `max(0, feesPaid - discountedFees)`. */
|
|
6032
|
-
feeRebate: number;
|
|
6033
|
-
}
|
|
6034
|
-
/**
|
|
6035
|
-
* Taker reward and rebate breakdown for a single account.
|
|
6036
|
-
*/
|
|
6037
|
-
interface PerpetualsTakerData {
|
|
6038
|
-
/** Volume-share-based rewards from the taker reward pool. */
|
|
6039
|
-
rewards: number;
|
|
6040
|
-
/** Cross-market taker volume in USD. */
|
|
6041
|
-
volume: number;
|
|
6042
|
-
/** Share of total taker volume across all eligible accounts (between 0 and 1). */
|
|
6043
|
-
volumeShare: number;
|
|
6044
|
-
/** Total taker fees paid across all markets. */
|
|
6045
|
-
feesPaid: number;
|
|
6046
|
-
/** Fee tier rebate: `max(0, feesPaid - discountedFees)`. */
|
|
6047
|
-
feeRebate: number;
|
|
6048
|
-
}
|
|
6049
|
-
/**
|
|
6050
|
-
* Combined reward and rebate data for a single account.
|
|
6051
|
-
*/
|
|
6052
|
-
interface PerpetualsRewardData {
|
|
6053
|
-
/** Account receiving this reward and rebate breakdown. */
|
|
6054
|
-
accountId: PerpetualsAccountId;
|
|
6055
|
-
/** Maker-side reward and rebate metrics. */
|
|
6056
|
-
maker: PerpetualsMakerData;
|
|
6057
|
-
/** Taker-side reward and rebate metrics. */
|
|
6058
|
-
taker: PerpetualsTakerData;
|
|
6059
|
-
}
|
|
6060
|
-
/**
|
|
6061
|
-
* Response body for the rewards and rebates calculation.
|
|
6062
|
-
*/
|
|
6063
|
-
interface ApiPerpetualsCurrentRebateRewardsResponse {
|
|
6064
|
-
/** Sum of all final quality scores across eligible makers. */
|
|
6065
|
-
totalQScoreFinal: number;
|
|
6066
|
-
/** Total estimated gas cost for order management across all accounts (decimal SUI). */
|
|
6067
|
-
totalEstimatedGasCost: number;
|
|
6068
|
-
/** Per-account reward and rebate breakdown. */
|
|
6069
|
-
rewards: PerpetualsRewardData[];
|
|
6070
|
-
}
|
|
6071
|
-
/**
|
|
6072
|
-
* Request body for generating a CSV-formatted rebate report.
|
|
6073
|
-
*
|
|
6074
|
-
* This corresponds to `POST /api/perpetuals/rebates/create-csv-rebates`.
|
|
6075
|
-
*
|
|
6076
|
-
* Produces a CSV string containing per-account rebate and reward data.
|
|
6077
|
-
* When `accountIds` is omitted or empty, all eligible accounts are included.
|
|
6078
|
-
*/
|
|
6079
|
-
interface ApiPerpetualsCreateCsvRebatesBody extends ApiPerpetualsCurrentRebateRewardsBody {
|
|
6080
|
-
/**
|
|
6081
|
-
* When true, aggregate rewards by owner address instead of per-account.
|
|
6082
|
-
* Defaults to false when omitted.
|
|
6083
|
-
*/
|
|
6084
|
-
aggregated?: boolean;
|
|
6085
|
-
}
|
|
6086
|
-
/**
|
|
6087
|
-
* Response body for the CSV rebate report.
|
|
6088
|
-
*/
|
|
6089
|
-
interface ApiPerpetualsCreateCsvRebatesResponse {
|
|
6090
|
-
/** The CSV-formatted rebate data as a string. */
|
|
6091
|
-
csv: string;
|
|
6092
|
-
}
|
|
6093
|
-
/**
|
|
6094
|
-
* Request body for generating a referral rebate CSV report.
|
|
6095
|
-
*
|
|
6096
|
-
* This corresponds to `POST /api/perpetuals/rebates/create-referral-csv-rebates`.
|
|
6097
|
-
*
|
|
6098
|
-
* Calculates referrer commissions and referee discounts based on trading
|
|
6099
|
-
* fees within the specified epoch.
|
|
6100
|
-
*/
|
|
6101
|
-
interface ApiPerpetualsCreateReferralCsvRebatesBody {
|
|
6102
|
-
/** Epoch start timestamp in milliseconds. */
|
|
6103
|
-
epochStartTimestampMs: Timestamp;
|
|
6104
|
-
/** Epoch end timestamp in milliseconds. */
|
|
6105
|
-
epochEndTimestampMs: Timestamp;
|
|
6106
|
-
}
|
|
6107
|
-
/**
|
|
6108
|
-
* Response body for the referral rebate CSV report.
|
|
6109
|
-
*/
|
|
6110
|
-
interface ApiPerpetualsCreateReferralCsvRebatesResponse {
|
|
6111
|
-
/** The CSV-formatted referral rebate data as a string. */
|
|
6112
|
-
csv: string;
|
|
6113
|
-
}
|
|
6114
5971
|
/**
|
|
6115
5972
|
* SDK-level inputs for placing a market order from a client.
|
|
6116
5973
|
*
|
|
@@ -6884,10 +6741,10 @@ interface ApiRouterTransactionForCompleteTradeRouteBody {
|
|
|
6884
6741
|
*/
|
|
6885
6742
|
type ApiRouterAddTransactionForCompleteTradeRouteBody = ApiRouterTransactionForCompleteTradeRouteBody & {
|
|
6886
6743
|
/**
|
|
6887
|
-
* The
|
|
6888
|
-
* The SDK
|
|
6744
|
+
* The base64 `TransactionKind` to which the router commands are added.
|
|
6745
|
+
* The SDK builds this from a `Transaction` before sending it over JSON.
|
|
6889
6746
|
*/
|
|
6890
|
-
|
|
6747
|
+
txKind: SerializedTransaction;
|
|
6891
6748
|
/**
|
|
6892
6749
|
* An optional transaction object argument for the input coin. Omit it when
|
|
6893
6750
|
* the API should select the coin input.
|
|
@@ -6899,10 +6756,10 @@ type ApiRouterAddTransactionForCompleteTradeRouteBody = ApiRouterTransactionForC
|
|
|
6899
6756
|
*/
|
|
6900
6757
|
interface ApiRouterAddTransactionForCompleteTradeRouteResponse {
|
|
6901
6758
|
/**
|
|
6902
|
-
* The updated
|
|
6903
|
-
*
|
|
6759
|
+
* The updated base64 `TransactionKind`. The SDK parses this into a new
|
|
6760
|
+
* `Transaction` before returning from `Router.addTransactionForCompleteTradeRoute`.
|
|
6904
6761
|
*/
|
|
6905
|
-
|
|
6762
|
+
txKind: SerializedTransaction;
|
|
6906
6763
|
/**
|
|
6907
6764
|
* A transaction object argument for the output coin, or `undefined` when the
|
|
6908
6765
|
* response does not expose one.
|
|
@@ -6955,6 +6812,33 @@ interface ApiRouterDynamicGasBody {
|
|
|
6955
6812
|
*/
|
|
6956
6813
|
referrer?: SuiAddress;
|
|
6957
6814
|
}
|
|
6815
|
+
/**
|
|
6816
|
+
* Body for the unversioned add-trade endpoint.
|
|
6817
|
+
*
|
|
6818
|
+
* @deprecated Use {@link ApiRouterAddTransactionForCompleteTradeRouteBody}. The
|
|
6819
|
+
* unversioned endpoint cannot build transactions whose input coin is sourced
|
|
6820
|
+
* from an address balance.
|
|
6821
|
+
*/
|
|
6822
|
+
type ApiRouterAddTransactionForCompleteTradeRouteBodyDeprecated = ApiRouterTransactionForCompleteTradeRouteBody & {
|
|
6823
|
+
/** The v1-JSON serialized transaction the router commands are added to. */
|
|
6824
|
+
serializedTx: SerializedTransaction;
|
|
6825
|
+
/**
|
|
6826
|
+
* An optional transaction object argument for the input coin. Omit it when
|
|
6827
|
+
* the API should select the coin input.
|
|
6828
|
+
*/
|
|
6829
|
+
coinInId?: TransactionObjectArgument;
|
|
6830
|
+
};
|
|
6831
|
+
/**
|
|
6832
|
+
* Response from the unversioned add-trade endpoint.
|
|
6833
|
+
*
|
|
6834
|
+
* @deprecated Use {@link ApiRouterAddTransactionForCompleteTradeRouteResponse}.
|
|
6835
|
+
*/
|
|
6836
|
+
interface ApiRouterAddTransactionForCompleteTradeRouteResponseDeprecated {
|
|
6837
|
+
/** The updated v1-JSON serialized transaction. */
|
|
6838
|
+
tx: SerializedTransaction;
|
|
6839
|
+
/** A transaction object argument for the output coin, when exposed. */
|
|
6840
|
+
coinOutId: TransactionObjectArgument | undefined;
|
|
6841
|
+
}
|
|
6958
6842
|
|
|
6959
6843
|
/**
|
|
6960
6844
|
* Name or label used to identify a pool. e.g., "My Stable Pool" or "SUI-COIN LP".
|
|
@@ -8028,6 +7912,103 @@ interface ApiRewardsClaimRequestTxResponse {
|
|
|
8028
7912
|
/** Base64-serialized full transaction bytes or `TransactionKind` bytes. */
|
|
8029
7913
|
txKind: SerializedTransaction;
|
|
8030
7914
|
}
|
|
7915
|
+
/**
|
|
7916
|
+
* Request body for computing the rewards distribution across perpetuals
|
|
7917
|
+
* accounts.
|
|
7918
|
+
*
|
|
7919
|
+
* This corresponds to `POST /api/rewards/distribution`, which replaces the
|
|
7920
|
+
* removed `POST /api/perpetuals/rebates/rewards`.
|
|
7921
|
+
*
|
|
7922
|
+
* Given maker and taker reward pools and a list of accounts, computes
|
|
7923
|
+
* per-account reward allocations and fee-tier rebates. When `accountIds` is
|
|
7924
|
+
* omitted or empty, all eligible accounts are included.
|
|
7925
|
+
*
|
|
7926
|
+
* **Note:** All data returned is for the current epoch only.
|
|
7927
|
+
*/
|
|
7928
|
+
interface ApiRewardsDistributionBody {
|
|
7929
|
+
/**
|
|
7930
|
+
* Optional account filter. Omit or pass an empty array for all eligible
|
|
7931
|
+
* accounts. `Caller` serializes each id to the API's `"123n"` wire format
|
|
7932
|
+
* and parses the response back, so pass real bigints here.
|
|
7933
|
+
*/
|
|
7934
|
+
accountIds?: PerpetualsAccountId[];
|
|
7935
|
+
/** Total maker reward pool to distribute among eligible market makers. */
|
|
7936
|
+
totalMakerRewards: number;
|
|
7937
|
+
/** Total taker reward pool to distribute among eligible takers. */
|
|
7938
|
+
totalTakerRewards: number;
|
|
7939
|
+
/** Coefficients used to compute Q-scores and taker shares. */
|
|
7940
|
+
calculationVariables: RewardsDistributionCalculationVariables;
|
|
7941
|
+
}
|
|
7942
|
+
/**
|
|
7943
|
+
* Coefficients used when computing Q-scores and taker shares. Each is a
|
|
7944
|
+
* weighting exponent applied to a corresponding per-account metric.
|
|
7945
|
+
*/
|
|
7946
|
+
interface RewardsDistributionCalculationVariables {
|
|
7947
|
+
/** Exponent applied to the raw Q-score component. */
|
|
7948
|
+
qScoreCoefficient: number;
|
|
7949
|
+
/** Exponent applied to the uptime component. */
|
|
7950
|
+
uptimeCoefficient: number;
|
|
7951
|
+
/** Exponent applied to the maker volume component. */
|
|
7952
|
+
mmVolumeCoefficient: number;
|
|
7953
|
+
/** Exponent applied to the taker volume component. */
|
|
7954
|
+
takerVolumeCoefficient: number;
|
|
7955
|
+
/** Exponent applied to the taker open-interest component. */
|
|
7956
|
+
takerOiCoefficient: number;
|
|
7957
|
+
}
|
|
7958
|
+
/** Maker reward and rebate breakdown for a single account. */
|
|
7959
|
+
interface RewardsDistributionMakerData {
|
|
7960
|
+
/** Normalized Q-score: raw cross-market sum averaged over snapshot count. */
|
|
7961
|
+
qScore: number;
|
|
7962
|
+
/** Final score: `qScore^coeff * uptime^coeff * volume^coeff`. */
|
|
7963
|
+
qScoreFinal: number;
|
|
7964
|
+
/** Share of total `qScoreFinal` across all eligible accounts. */
|
|
7965
|
+
qScoreFinalShare: Percentage;
|
|
7966
|
+
/** Cross-market uptime count (number of snapshots with qualifying orders). */
|
|
7967
|
+
uptime: number;
|
|
7968
|
+
/** Q-score-based rewards from the maker reward pool. */
|
|
7969
|
+
rewards: number;
|
|
7970
|
+
/** Cross-market maker volume in USD. */
|
|
7971
|
+
volume: number;
|
|
7972
|
+
/** Share of total maker volume across all eligible accounts. */
|
|
7973
|
+
volumeShare: Percentage;
|
|
7974
|
+
/** Volume-share tier rebate: `tierRate * volume`. */
|
|
7975
|
+
volumeRebate: number;
|
|
7976
|
+
/** Total maker fees paid across all markets. */
|
|
7977
|
+
feesPaid: number;
|
|
7978
|
+
/** Fee tier rebate: `max(0, feesPaid - discountedFees)`. */
|
|
7979
|
+
feeRebate: number;
|
|
7980
|
+
}
|
|
7981
|
+
/** Taker reward and rebate breakdown for a single account. */
|
|
7982
|
+
interface RewardsDistributionTakerData {
|
|
7983
|
+
/** Volume-share-based rewards from the taker reward pool. */
|
|
7984
|
+
rewards: number;
|
|
7985
|
+
/** Cross-market taker volume in USD. */
|
|
7986
|
+
volume: number;
|
|
7987
|
+
/** Share of total taker volume across all eligible accounts. */
|
|
7988
|
+
volumeShare: Percentage;
|
|
7989
|
+
/** Total taker fees paid across all markets. */
|
|
7990
|
+
feesPaid: number;
|
|
7991
|
+
/** Fee tier rebate: `max(0, feesPaid - discountedFees)`. */
|
|
7992
|
+
feeRebate: number;
|
|
7993
|
+
}
|
|
7994
|
+
/** Combined reward and rebate data for a single account. */
|
|
7995
|
+
interface RewardsDistributionAccountData {
|
|
7996
|
+
/** Account receiving this reward and rebate breakdown. */
|
|
7997
|
+
accountId: PerpetualsAccountId;
|
|
7998
|
+
/** Maker-side reward and rebate metrics. */
|
|
7999
|
+
maker: RewardsDistributionMakerData;
|
|
8000
|
+
/** Taker-side reward and rebate metrics. */
|
|
8001
|
+
taker: RewardsDistributionTakerData;
|
|
8002
|
+
}
|
|
8003
|
+
/** Response body for the rewards distribution calculation. */
|
|
8004
|
+
interface ApiRewardsDistributionResponse {
|
|
8005
|
+
/** Sum of all final quality scores across eligible makers. */
|
|
8006
|
+
totalQScoreFinal: number;
|
|
8007
|
+
/** Total estimated gas cost for order management across all accounts (decimal SUI). */
|
|
8008
|
+
totalEstimatedGasCost: number;
|
|
8009
|
+
/** Per-account reward and rebate breakdown. */
|
|
8010
|
+
rewards: RewardsDistributionAccountData[];
|
|
8011
|
+
}
|
|
8031
8012
|
|
|
8032
8013
|
/**
|
|
8033
8014
|
* Normalized validator configuration returned by the staking API.
|
|
@@ -14259,52 +14240,6 @@ declare class Perpetuals extends Caller {
|
|
|
14259
14240
|
})): Promise<Omit<ApiTransactionResponse, "txKind"> & {
|
|
14260
14241
|
tx: Transaction;
|
|
14261
14242
|
}>;
|
|
14262
|
-
/**
|
|
14263
|
-
* Calculate rewards and rebates for one or more perpetuals accounts.
|
|
14264
|
-
*
|
|
14265
|
-
* Computes per-account maker and taker reward allocations, fee-tier rebates,
|
|
14266
|
-
* and volume-based metrics. When `accountIds` is omitted or empty, all eligible
|
|
14267
|
-
* accounts are included.
|
|
14268
|
-
*
|
|
14269
|
-
* **Note:** All data returned is for the current epoch only.
|
|
14270
|
-
*
|
|
14271
|
-
* @param inputs.totalMakerRewards - Total maker reward pool to distribute.
|
|
14272
|
-
* @param inputs.totalTakerRewards - Total taker reward pool to distribute.
|
|
14273
|
-
* @param inputs.accountIds - Optional list of account IDs.
|
|
14274
|
-
* @returns `ApiPerpetualsCurrentRebateRewardsResponse` with per-account reward and rebate data.
|
|
14275
|
-
*
|
|
14276
|
-
* @example
|
|
14277
|
-
* ```ts
|
|
14278
|
-
* const { totalQScoreFinal, rewards } = await perps.getCurrentRebateRewards({
|
|
14279
|
-
* totalMakerRewards: 10000,
|
|
14280
|
-
* totalTakerRewards: 5000,
|
|
14281
|
-
* });
|
|
14282
|
-
* ```
|
|
14283
|
-
*/
|
|
14284
|
-
getCurrentRebateRewards(inputs: ApiPerpetualsCurrentRebateRewardsBody): Promise<ApiPerpetualsCurrentRebateRewardsResponse>;
|
|
14285
|
-
/**
|
|
14286
|
-
* Generate a CSV-formatted rebate report for perpetuals market makers.
|
|
14287
|
-
*
|
|
14288
|
-
* Computes per-account reward allocations and fee-tier rebate adjustments,
|
|
14289
|
-
* returning the result as a CSV string. When `aggregated` is true, the CSV
|
|
14290
|
-
* groups rewards by owner address instead of per-account.
|
|
14291
|
-
*
|
|
14292
|
-
* **Note:** All data returned is for the current epoch only.
|
|
14293
|
-
*
|
|
14294
|
-
* @param inputs - {@link ApiPerpetualsCreateCsvRebatesBody}.
|
|
14295
|
-
* @returns `ApiPerpetualsCreateCsvRebatesResponse` containing the CSV string.
|
|
14296
|
-
*/
|
|
14297
|
-
getCsvRebates(inputs: ApiPerpetualsCreateCsvRebatesBody): Promise<ApiPerpetualsCreateCsvRebatesResponse>;
|
|
14298
|
-
/**
|
|
14299
|
-
* Generate a CSV-formatted referral rebate report.
|
|
14300
|
-
*
|
|
14301
|
-
* Calculates referrer commissions and referee discounts based on trading
|
|
14302
|
-
* fees within the specified epoch, returning the result as a CSV string.
|
|
14303
|
-
*
|
|
14304
|
-
* @param inputs - {@link ApiPerpetualsCreateReferralCsvRebatesBody}.
|
|
14305
|
-
* @returns `ApiPerpetualsCreateReferralCsvRebatesResponse` containing the CSV string.
|
|
14306
|
-
*/
|
|
14307
|
-
getReferralCsvRebates(inputs: ApiPerpetualsCreateReferralCsvRebatesBody): Promise<ApiPerpetualsCreateReferralCsvRebatesResponse>;
|
|
14308
14243
|
/**
|
|
14309
14244
|
* Build a transaction to create an integrator configuration.
|
|
14310
14245
|
*
|
|
@@ -14776,6 +14711,7 @@ declare class ReferralVault extends Caller {
|
|
|
14776
14711
|
* ```
|
|
14777
14712
|
*/
|
|
14778
14713
|
declare class Router extends Caller {
|
|
14714
|
+
readonly api?: AftermathApi | undefined;
|
|
14779
14715
|
/**
|
|
14780
14716
|
* Static safety limits used by router requests.
|
|
14781
14717
|
*/
|
|
@@ -14800,7 +14736,7 @@ declare class Router extends Caller {
|
|
|
14800
14736
|
* const router = afSdk.Router();
|
|
14801
14737
|
* ```
|
|
14802
14738
|
*/
|
|
14803
|
-
constructor(config?: CallerConfig);
|
|
14739
|
+
constructor(config?: CallerConfig, api?: AftermathApi | undefined);
|
|
14804
14740
|
/**
|
|
14805
14741
|
* Fetches the router's total 24-hour trading volume.
|
|
14806
14742
|
*
|
|
@@ -14969,7 +14905,43 @@ declare class Router extends Caller {
|
|
|
14969
14905
|
* updatedTx.transferObjects([coinOutId!], "0x<your_address>");
|
|
14970
14906
|
* ```
|
|
14971
14907
|
*/
|
|
14972
|
-
addTransactionForCompleteTradeRoute(inputs: Omit<ApiRouterAddTransactionForCompleteTradeRouteBody, "
|
|
14908
|
+
addTransactionForCompleteTradeRoute(inputs: Omit<ApiRouterAddTransactionForCompleteTradeRouteBody, "txKind"> & {
|
|
14909
|
+
tx: Transaction;
|
|
14910
|
+
}): Promise<{
|
|
14911
|
+
tx: Transaction;
|
|
14912
|
+
coinOutId: _mysten_sui_transactions.TransactionObjectArgument | undefined;
|
|
14913
|
+
}>;
|
|
14914
|
+
/**
|
|
14915
|
+
* Builds a trade transaction using the unversioned endpoint.
|
|
14916
|
+
*
|
|
14917
|
+
* Returns a gas-resolved transaction, as this method did before the v1
|
|
14918
|
+
* endpoints. Kept for callers that depend on that shape.
|
|
14919
|
+
*
|
|
14920
|
+
* @deprecated Use {@link Router.getTransactionForCompleteTradeRoute}. The
|
|
14921
|
+
* unversioned endpoint fails for wallets whose input coin is sourced from an
|
|
14922
|
+
* address balance: the API cannot serialize the resulting `FundsWithdrawal`
|
|
14923
|
+
* input to its legacy JSON format.
|
|
14924
|
+
*
|
|
14925
|
+
* @param inputs - Wallet address, complete route, slippage, and optional sponsorship settings.
|
|
14926
|
+
* @returns The unsigned transaction, with gas resolved by the API.
|
|
14927
|
+
*/
|
|
14928
|
+
getTransactionForCompleteTradeRouteDeprecated(inputs: ApiRouterTransactionForCompleteTradeRouteBody): Promise<Transaction>;
|
|
14929
|
+
/**
|
|
14930
|
+
* Appends a complete route to an existing transaction using the unversioned
|
|
14931
|
+
* endpoint.
|
|
14932
|
+
*
|
|
14933
|
+
* Sends the transaction as v1 JSON and needs no `AftermathApi`, as this
|
|
14934
|
+
* method did before the v1 endpoints.
|
|
14935
|
+
*
|
|
14936
|
+
* @deprecated Use {@link Router.addTransactionForCompleteTradeRoute}. The
|
|
14937
|
+
* unversioned endpoint fails for wallets whose input coin is sourced from an
|
|
14938
|
+
* address balance, and `Transaction.serialize()` throws on any transaction
|
|
14939
|
+
* already carrying a `FundsWithdrawal` input.
|
|
14940
|
+
*
|
|
14941
|
+
* @param inputs - Existing transaction, sender, complete route, slippage, and optional input coin argument.
|
|
14942
|
+
* @returns A new transaction and the optional output coin argument.
|
|
14943
|
+
*/
|
|
14944
|
+
addTransactionForCompleteTradeRouteDeprecated(inputs: Omit<ApiRouterAddTransactionForCompleteTradeRouteBodyDeprecated, "serializedTx"> & {
|
|
14973
14945
|
tx: Transaction;
|
|
14974
14946
|
}): Promise<{
|
|
14975
14947
|
tx: Transaction;
|
|
@@ -16476,6 +16448,20 @@ declare class Dca extends Caller {
|
|
|
16476
16448
|
* ```
|
|
16477
16449
|
*/
|
|
16478
16450
|
getCreateDcaOrderTx(inputs: ApiDcaTransactionForCreateOrderBody): Promise<Transaction>;
|
|
16451
|
+
/**
|
|
16452
|
+
* Builds a transaction creating a new DCA order using the unversioned endpoint.
|
|
16453
|
+
*
|
|
16454
|
+
* Returns a gas-resolved transaction, as this method did before the v1
|
|
16455
|
+
* endpoints. Kept for callers that depend on that shape.
|
|
16456
|
+
*
|
|
16457
|
+
* @deprecated Use {@link getCreateDcaOrderTx}. The unversioned endpoint fails for wallets
|
|
16458
|
+
* whose allocate coin is sourced from an address balance: the API cannot
|
|
16459
|
+
* serialize the resulting `FundsWithdrawal` input to its legacy JSON format.
|
|
16460
|
+
*
|
|
16461
|
+
* @param inputs - Order parameters, identical to the versioned endpoint.
|
|
16462
|
+
* @returns The unsigned transaction, with gas resolved by the API.
|
|
16463
|
+
*/
|
|
16464
|
+
getCreateDcaOrderTxDeprecated(inputs: ApiDcaTransactionForCreateOrderBody): Promise<Transaction>;
|
|
16479
16465
|
/**
|
|
16480
16466
|
* Sends a signed request to cancel one or more DCA orders.
|
|
16481
16467
|
*
|
|
@@ -16829,6 +16815,20 @@ declare class LimitOrders extends Caller {
|
|
|
16829
16815
|
* ```
|
|
16830
16816
|
*/
|
|
16831
16817
|
getCreateLimitOrderTx(inputs: ApiLimitOrdersCreateOrderTransactionBody): Promise<Transaction>;
|
|
16818
|
+
/**
|
|
16819
|
+
* Builds a transaction creating a new limit order using the unversioned endpoint.
|
|
16820
|
+
*
|
|
16821
|
+
* Returns a gas-resolved transaction, as this method did before the v1
|
|
16822
|
+
* endpoints. Kept for callers that depend on that shape.
|
|
16823
|
+
*
|
|
16824
|
+
* @deprecated Use {@link getCreateLimitOrderTx}. The unversioned endpoint fails for wallets
|
|
16825
|
+
* whose allocate coin is sourced from an address balance: the API cannot
|
|
16826
|
+
* serialize the resulting `FundsWithdrawal` input to its legacy JSON format.
|
|
16827
|
+
*
|
|
16828
|
+
* @param inputs - Order parameters, identical to the versioned endpoint.
|
|
16829
|
+
* @returns The unsigned transaction, with gas resolved by the API.
|
|
16830
|
+
*/
|
|
16831
|
+
getCreateLimitOrderTxDeprecated(inputs: ApiLimitOrdersCreateOrderTransactionBody): Promise<Transaction>;
|
|
16832
16832
|
/**
|
|
16833
16833
|
* Sends a signed request to cancel one or more limit orders.
|
|
16834
16834
|
*
|
|
@@ -17120,6 +17120,30 @@ declare class Rewards extends Caller {
|
|
|
17120
17120
|
* @returns The total points across all reward epochs and domains.
|
|
17121
17121
|
* @throws `AftermathTransportError` when the API request or response fails.
|
|
17122
17122
|
*/
|
|
17123
|
+
/**
|
|
17124
|
+
* Computes the distribution of the maker and taker reward pools across
|
|
17125
|
+
* perpetuals accounts.
|
|
17126
|
+
*
|
|
17127
|
+
* Returns per-account maker and taker reward allocations, fee-tier rebates
|
|
17128
|
+
* and volume metrics. When `accountIds` is omitted or empty the API includes
|
|
17129
|
+
* every eligible account, so pass an explicit list to scope the result.
|
|
17130
|
+
*
|
|
17131
|
+
* **Note:** All data returned is for the current epoch only.
|
|
17132
|
+
*
|
|
17133
|
+
* @param inputs - {@link ApiRewardsDistributionBody}.
|
|
17134
|
+
* @returns Per-account reward and rebate breakdown for the current epoch.
|
|
17135
|
+
* @throws `AftermathTransportError` when the API request or response fails.
|
|
17136
|
+
*
|
|
17137
|
+
* @example
|
|
17138
|
+
* ```ts
|
|
17139
|
+
* const { totalQScoreFinal, rewards } = await rewards.getDistribution({
|
|
17140
|
+
* totalMakerRewards: 10000,
|
|
17141
|
+
* totalTakerRewards: 5000,
|
|
17142
|
+
* calculationVariables: { ... },
|
|
17143
|
+
* });
|
|
17144
|
+
* ```
|
|
17145
|
+
*/
|
|
17146
|
+
getDistribution(inputs: ApiRewardsDistributionBody): Promise<ApiRewardsDistributionResponse>;
|
|
17123
17147
|
getPoints(inputs: ApiRewardsGetPointsBody): Promise<ApiRewardsGetPointsResponse>;
|
|
17124
17148
|
/**
|
|
17125
17149
|
* Fetches one page of the wallet's reward history.
|
|
@@ -25631,4 +25655,4 @@ declare class Aftermath extends Caller {
|
|
|
25631
25655
|
static casting: typeof Casting;
|
|
25632
25656
|
}
|
|
25633
25657
|
|
|
25634
|
-
export { type AfSuiRouterPoolObject, Aftermath, type AftermathAbortSource, AftermathApi, type AftermathOptions, AftermathTransportError, type AftermathTransportErrorKind, 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 ApiFarmsSummaryBody, 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 ApiGasPoolSponsorResponse, 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 ApiPerpetualsCancelTwapOrdersBody, type ApiPerpetualsCreateAccountBody, type ApiPerpetualsCreateAccountResponse, type ApiPerpetualsCreateCsvRebatesBody, type ApiPerpetualsCreateCsvRebatesResponse, type ApiPerpetualsCreateReferralCsvRebatesBody, type ApiPerpetualsCreateReferralCsvRebatesResponse, type ApiPerpetualsCreateTwapOrdersBody, type ApiPerpetualsCreateVaultBody, type ApiPerpetualsCreateVaultCapBody, type ApiPerpetualsCurrentRebateRewardsBody, type ApiPerpetualsCurrentRebateRewardsResponse, type ApiPerpetualsDeallocateCollateralBody, type ApiPerpetualsDepositCollateralBody, type ApiPerpetualsEditStopOrdersBody, type ApiPerpetualsEditTwapOrdersBody, 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 ApiPerpetualsTwapOrderDatasBody, type ApiPerpetualsTwapOrderDatasResponse, type ApiPerpetualsVaultCancelWithdrawRequestTxBody, type ApiPerpetualsVaultCreateWithdrawRequestTxBody, type ApiPerpetualsVaultDepositTxBody, type ApiPerpetualsVaultGrantAgentWalletTxBody, 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 ApiPerpetualsVaultRevokeAgentWalletTxBody, 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 ApiPoolsSummaryBody, 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 ApiRewardsExpectedRewardsBody, type ApiRewardsExpectedRewardsResponse, 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 Bps, 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 EmptyObject, type EpochWasChangedEvent, type Event$1 as Event, type EventsInputs, type EventsWithCursor, type ExecutedStopOrderTicketEvent, type ExternalFee, type FarmEvent, type FarmOwnerOrOneTimeAdminCap, type FarmSummary, 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, GrpcCasting, 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 MoveErrors, type MoveErrorsInterface, 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 ParsedMoveError, 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 PerpetualsCandleResolution, type PerpetualsCapType, type PerpetualsClientOrderId, type PerpetualsExecutionInfo, type PerpetualsFilledOrderData, type PerpetualsIntegratorVaultData, type PerpetualsMakerData, PerpetualsMarket, type PerpetualsMarket24hrStats, type PerpetualsMarketCandleDataPoint, type PerpetualsMarketData, type PerpetualsMarketFundingHistoryPoint, type PerpetualsMarketId, type PerpetualsMarketMetadata, 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 PerpetualsServerInjectedTxFields, type PerpetualsSponsorConfig, type PerpetualsStopOrderData, PerpetualsStopOrderTriggerPriceType, PerpetualsStopOrderType, type PerpetualsTakerData, type PerpetualsTopOfOrderbook, type PerpetualsTopOfOrderbookDataPoint, type PerpetualsTwapEvent, type PerpetualsTwapOrderData, type PerpetualsTwapOrderDetails, type PerpetualsTwapOrderDetailsData, type PerpetualsTwapOrderEdit, type PerpetualsTwapOrderState, PerpetualsVault, type PerpetualsVaultCap, type PerpetualsVaultLpCoin, type PerpetualsVaultMetatada, type PerpetualsVaultObject, type PerpetualsVaultWithdrawRequest, type PerpetualsVaultsAddresses, type PerpetualsVaultsConfig, type PerpetualsWsCandleResponseMessage, type PerpetualsWsUpdatesMarketCandlesPayload, type PerpetualsWsUpdatesMarketCandlesSubscriptionType, 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 PoolSummary, 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 RewardsExpectedCalculationVariables, type RewardsExpectedDomainTokens, type RewardsExpectedEpochInfo, type RewardsExpectedTotals, 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 SdkPerpetualsCancelTwapOrdersInputs, type SdkPerpetualsCreateTwapOrdersInputs, type SdkPerpetualsEditTwapOrdersInputs, 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 SuiObjectView, type Timestamp, type TransactionDigest, type TransactionsWithCursor, type TransferredDeallocatedCollateralEvent, type TranslatedMoveError, 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 ValueOf, type WithdrewCollateralEvent, isAftermathTransportError, 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 };
|
|
25658
|
+
export { type AfSuiRouterPoolObject, Aftermath, type AftermathAbortSource, AftermathApi, type AftermathOptions, AftermathTransportError, type AftermathTransportErrorKind, 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 ApiFarmsSummaryBody, 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 ApiGasPoolSponsorResponse, 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 ApiPerpetualsCancelTwapOrdersBody, type ApiPerpetualsCreateAccountBody, type ApiPerpetualsCreateAccountResponse, type ApiPerpetualsCreateTwapOrdersBody, type ApiPerpetualsCreateVaultBody, type ApiPerpetualsCreateVaultCapBody, type ApiPerpetualsDeallocateCollateralBody, type ApiPerpetualsDepositCollateralBody, type ApiPerpetualsEditStopOrdersBody, type ApiPerpetualsEditTwapOrdersBody, 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 ApiPerpetualsTwapOrderDatasBody, type ApiPerpetualsTwapOrderDatasResponse, type ApiPerpetualsVaultCancelWithdrawRequestTxBody, type ApiPerpetualsVaultCreateWithdrawRequestTxBody, type ApiPerpetualsVaultDepositTxBody, type ApiPerpetualsVaultGrantAgentWalletTxBody, 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 ApiPerpetualsVaultRevokeAgentWalletTxBody, 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 ApiPoolsSummaryBody, 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 ApiRewardsDistributionBody, type ApiRewardsDistributionResponse, type ApiRewardsExpectedRewardsBody, type ApiRewardsExpectedRewardsResponse, type ApiRewardsGetClaimableBody, type ApiRewardsGetClaimableResponse, type ApiRewardsGetHistoryBody, type ApiRewardsGetHistoryResponse, type ApiRewardsGetPointsBody, type ApiRewardsGetPointsResponse, type ApiRouterAddTransactionForCompleteTradeRouteBody, type ApiRouterAddTransactionForCompleteTradeRouteBodyDeprecated, type ApiRouterAddTransactionForCompleteTradeRouteResponse, type ApiRouterAddTransactionForCompleteTradeRouteResponseDeprecated, 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 Bps, 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 EmptyObject, type EpochWasChangedEvent, type Event$1 as Event, type EventsInputs, type EventsWithCursor, type ExecutedStopOrderTicketEvent, type ExternalFee, type FarmEvent, type FarmOwnerOrOneTimeAdminCap, type FarmSummary, 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, GrpcCasting, 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 MoveErrors, type MoveErrorsInterface, 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 ParsedMoveError, 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 PerpetualsCandleResolution, type PerpetualsCapType, type PerpetualsClientOrderId, type PerpetualsExecutionInfo, type PerpetualsFilledOrderData, type PerpetualsIntegratorVaultData, PerpetualsMarket, type PerpetualsMarket24hrStats, type PerpetualsMarketCandleDataPoint, type PerpetualsMarketData, type PerpetualsMarketFundingHistoryPoint, type PerpetualsMarketId, type PerpetualsMarketMetadata, 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 PerpetualsServerInjectedTxFields, type PerpetualsSponsorConfig, type PerpetualsStopOrderData, PerpetualsStopOrderTriggerPriceType, PerpetualsStopOrderType, type PerpetualsTopOfOrderbook, type PerpetualsTopOfOrderbookDataPoint, type PerpetualsTwapEvent, type PerpetualsTwapOrderData, type PerpetualsTwapOrderDetails, type PerpetualsTwapOrderDetailsData, type PerpetualsTwapOrderEdit, type PerpetualsTwapOrderState, PerpetualsVault, type PerpetualsVaultCap, type PerpetualsVaultLpCoin, type PerpetualsVaultMetatada, type PerpetualsVaultObject, type PerpetualsVaultWithdrawRequest, type PerpetualsVaultsAddresses, type PerpetualsVaultsConfig, type PerpetualsWsCandleResponseMessage, type PerpetualsWsUpdatesMarketCandlesPayload, type PerpetualsWsUpdatesMarketCandlesSubscriptionType, 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 PoolSummary, 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 RewardsDistributionAccountData, type RewardsDistributionCalculationVariables, type RewardsDistributionMakerData, type RewardsDistributionTakerData, type RewardsExpectedCalculationVariables, type RewardsExpectedDomainTokens, type RewardsExpectedEpochInfo, type RewardsExpectedTotals, 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 SdkPerpetualsCancelTwapOrdersInputs, type SdkPerpetualsCreateTwapOrdersInputs, type SdkPerpetualsEditTwapOrdersInputs, 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 SuiObjectView, type Timestamp, type TransactionDigest, type TransactionsWithCursor, type TransferredDeallocatedCollateralEvent, type TranslatedMoveError, 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 ValueOf, type WithdrewCollateralEvent, isAftermathTransportError, 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 };
|