pub fn convert_to_withdrawable_shares(
state: &VaultState,
config: &VaultConfig,
assets: u128,
) -> u128Expand description
Return shares withdrawable against available assets on both virtual and real bases.
pub fn convert_to_withdrawable_shares(
state: &VaultState,
config: &VaultConfig,
assets: u128,
) -> u128Return shares withdrawable against available assets on both virtual and real bases.