haedal-vault-sdk 1.8.1 → 1.8.2

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
@@ -221,6 +221,7 @@ declare class PythPriceModule implements IModule {
221
221
  protected pythConfigs: PythConfigs;
222
222
  protected global_config_id: string;
223
223
  protected pyth_oracle_id: string;
224
+ protected oracle_infos_handle: string;
224
225
  protected vaults_published_at: string;
225
226
  protected versioned_id: string;
226
227
  protected isV2: boolean;
@@ -229,7 +230,7 @@ declare class PythPriceModule implements IModule {
229
230
  *
230
231
  * @param sdk - The VolatileVaultsSDK instance to be used for interacting with the service.
231
232
  */
232
- constructor(sdk: VolatileVaultsSDK, pythConfigs: PythConfigs, vaults_published_at: string, global_config_id: string, pyth_oracle_id: string, versioned_id: string, isV2: boolean);
233
+ constructor(sdk: VolatileVaultsSDK, pythConfigs: PythConfigs, vaults_published_at: string, global_config_id: string, pyth_oracle_id: string, versioned_id: string, oracle_infos_handle: string, isV2: boolean);
233
234
  /**
234
235
  * Returns the associated SDK instance
235
236
  */
@@ -606,6 +607,7 @@ type VaultsV2Configs = {
606
607
  global_config_id: string;
607
608
  versioned_id: string;
608
609
  pyth_oracle_id: string;
610
+ oracle_infos_handle: string;
609
611
  };
610
612
  };
611
613
  type ActionAcl = {
@@ -854,6 +856,7 @@ declare class VaultsModuleV2 implements IModule {
854
856
  pool: VaultPool;
855
857
  }>;
856
858
  private calculatePositionValueRates;
859
+ private calculateDepositAmountsV2;
857
860
  private calculateDepositAmounts;
858
861
  private calculateDepositOtherSide;
859
862
  private calculateDepositFlexibleBoth;