@strkfarm/sdk 2.0.0-staging.49 → 2.0.0-staging.50

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
@@ -1274,13 +1274,16 @@ declare class YoLoVault extends BaseStrategy<DualTokenInfo, SingleActionAmount,
1274
1274
  readonly address: ContractAddr;
1275
1275
  readonly metadata: IStrategyMetadata<YoloVaultSettings>;
1276
1276
  readonly pricer: PricerBase;
1277
- readonly contract: Contract;
1277
+ /** Resolves to a `Contract` built from `provider.getClassAt` at the vault address (no checked-in vault ABI). */
1278
+ readonly contract: Promise<Contract>;
1278
1279
  readonly primaryToken: TokenInfo;
1279
1280
  readonly secondaryToken: TokenInfo;
1280
1281
  readonly erc4626: YoloErc4626RuntimeConfig;
1281
1282
  constructor(config: IConfig, pricer: PricerBase, metadata: IStrategyMetadata<YoloVaultSettings>);
1282
- private tokenForPrimaryPricing;
1283
- private tokenForSecondaryPricing;
1283
+ /** Underlying (or base token) used for pricing / swap sell leg when base is ERC-4626. */
1284
+ tokenForPrimaryPricing(): TokenInfo;
1285
+ /** Underlying (or second token) for price ratios when second leg is ERC-4626 (e.g. STRK for xSTRK). */
1286
+ tokenForSecondaryPricing(): TokenInfo;
1284
1287
  private primaryAmountDecimals;
1285
1288
  private secondaryAmountDecimals;
1286
1289
  private convertWrapperSharesToUnderlying;