Function convert_to_withdrawable_shares

Source
pub fn convert_to_withdrawable_shares(
    state: &VaultState,
    config: &VaultConfig,
    assets: u128,
) -> u128
Expand description

Return shares withdrawable against available assets on both virtual and real bases.