pub fn max_liquidation_amount(&self) -> Result<u64, ProgramError> {
        self.borrowed_liquidity_wads
            .try_mul(Rate::from_percent(LIQUIDATION_CLOSE_FACTOR))?
            .try_floor_u64()
    }
/// Maximum amount of loan that can be repaid by liquidators
Maximum amount of loan that can be repaid by liquidators
Maximum amount of loan that can be repaid by liquidators
pub fn max_liquidation_amount(&self) -> Result<u64, ProgramError> {
        self.borrowed_liquidity_wads
            .try_mul(Rate::from_percent(LIQUIDATION_CLOSE_FACTOR))?
            .try_floor_u64()
    }
pub fn max_liquidation_amount ( & self ) -> Result < u64 , ProgramError > { self . borrowed_liquidity_wads . try_mul ( Rate :: from_percent ( LIQUIDATION_CLOSE_FACTOR ) ) ? . try_floor_u64 ( ) }
Maximum amount of loan that can be repaid by liquidators
Maximum amount of loan that can be repaid by liquidators
&self