aftermath-ts-sdk 2.1.0-perps.2 → 2.1.0-perps.3
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 +11 -12
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
|
@@ -1862,10 +1862,10 @@ interface PerpetualsMarketParams {
|
|
|
1862
1862
|
marginRatioMaintenance: number;
|
|
1863
1863
|
/** Symbol of the underlying asset. */
|
|
1864
1864
|
baseAssetSymbol: CoinSymbol;
|
|
1865
|
-
/**
|
|
1866
|
-
basePriceFeedId:
|
|
1867
|
-
/**
|
|
1868
|
-
collateralPriceFeedId:
|
|
1865
|
+
/** Numeric price-feed storage id of the base asset's oracle feed. */
|
|
1866
|
+
basePriceFeedId: number;
|
|
1867
|
+
/** Numeric price-feed storage id of the collateral asset's oracle feed. */
|
|
1868
|
+
collateralPriceFeedId: number;
|
|
1869
1869
|
/** Funding interval duration in milliseconds. */
|
|
1870
1870
|
fundingFrequencyMs: bigint;
|
|
1871
1871
|
/** Funding period used for calculations in milliseconds. */
|
|
@@ -2253,17 +2253,16 @@ interface PerpetualsVaultObject {
|
|
|
2253
2253
|
*/
|
|
2254
2254
|
forceWithdrawDelayMs: bigint;
|
|
2255
2255
|
/**
|
|
2256
|
-
*
|
|
2256
|
+
* Numeric price-feed storage id identifying the oracle price for `C`.
|
|
2257
2257
|
*/
|
|
2258
|
-
collateralPriceFeedStorageId:
|
|
2258
|
+
collateralPriceFeedStorageId: number;
|
|
2259
2259
|
/**
|
|
2260
|
-
*
|
|
2261
|
-
*
|
|
2262
|
-
*
|
|
2263
|
-
*
|
|
2264
|
-
* upstream source used to populate `collateralPriceFeedStorageId`.
|
|
2260
|
+
* Numeric source id of the collateral price feed (the oracle
|
|
2261
|
+
* provider/source: pyth, stork, etc.). Together with
|
|
2262
|
+
* `collateralPriceFeedStorageId` it identifies the feed in the oracle
|
|
2263
|
+
* aggregator registry.
|
|
2265
2264
|
*/
|
|
2266
|
-
collateralPriceFeedStorageSourceId:
|
|
2265
|
+
collateralPriceFeedStorageSourceId: number;
|
|
2267
2266
|
/**
|
|
2268
2267
|
* Maximum tolerated deviation for the collateral oracle price.
|
|
2269
2268
|
*
|