Function tulipv2_sdk_vaults::into_strategy_vault
source · [−]pub fn into_strategy_vault<'info>(
account: &AccountInfo<'info>
) -> StrategyVaults
Expand description
attempts to parse an account into a StrategyVault type, requires that the account is a v2 vault account, and that it’s of type MultiDepositOptimizerV1