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 CHANGED
@@ -1862,10 +1862,10 @@ interface PerpetualsMarketParams {
1862
1862
  marginRatioMaintenance: number;
1863
1863
  /** Symbol of the underlying asset. */
1864
1864
  baseAssetSymbol: CoinSymbol;
1865
- /** On-chain ID of the oracle providing the base asset price. */
1866
- basePriceFeedId: ObjectId;
1867
- /** On-chain ID of the oracle providing the collateral asset price. */
1868
- collateralPriceFeedId: ObjectId;
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
- * Price feed storage id idetifying the oracle price for `C`
2256
+ * Numeric price-feed storage id identifying the oracle price for `C`.
2257
2257
  */
2258
- collateralPriceFeedStorageId: ObjectId;
2258
+ collateralPriceFeedStorageId: number;
2259
2259
  /**
2260
- * Source object ID for the collateral price feed storage.
2261
- *
2262
- * Some oracle integrations separate the "storage object" from the "source"
2263
- * (e.g., an aggregator or publisher object). This field identifies the
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: ObjectId;
2265
+ collateralPriceFeedStorageSourceId: number;
2267
2266
  /**
2268
2267
  * Maximum tolerated deviation for the collateral oracle price.
2269
2268
  *