@strkfarm/sdk 1.0.41 → 1.0.43

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
@@ -289,6 +289,7 @@ interface SwapInfo {
289
289
  declare class AvnuWrapper {
290
290
  getQuotes(fromToken: string, toToken: string, amountWei: string, taker: string, retry?: number): Promise<Quote>;
291
291
  getSwapInfo(quote: Quote, taker: string, integratorFeeBps: number, integratorFeeRecipient: string, minAmount?: string): Promise<SwapInfo>;
292
+ static buildZeroSwap(tokenToSell: ContractAddr, address: string): SwapInfo;
292
293
  }
293
294
 
294
295
  declare class FatalError extends Error {
@@ -598,6 +599,11 @@ interface CLVaultStrategySettings {
598
599
  lstContract?: ContractAddr;
599
600
  truePrice?: number;
600
601
  feeBps: number;
602
+ rebalanceConditions: {
603
+ minWaitHours: number;
604
+ direction: "any" | "uponly";
605
+ customShouldRebalance: (currentPoolPrice: number) => Promise<boolean>;
606
+ };
601
607
  }
602
608
  declare class EkuboCLVault extends BaseStrategy<DualTokenInfo, DualActionAmount> {
603
609
  /** Contract address of the strategy */