pub fn convert_to_redeem_assets(
state: &VaultState,
config: &VaultConfig,
shares: u128,
) -> u128Expand description
Convert shares to redeemable assets without exceeding real pro-rata backing.
pub fn convert_to_redeem_assets(
state: &VaultState,
config: &VaultConfig,
shares: u128,
) -> u128Convert shares to redeemable assets without exceeding real pro-rata backing.