pub fn max_closeable_amount(&self) -> Result<u64, ProgramError> {
        if self.borrowed_liquidity_wads < Decimal::from(CLOSEABLE_AMOUNT) {
            self.borrowed_liquidity_wads.try_ceil_u64()
        } else {
            Ok(0)
        }
    }
/// Maximum amount of loan that can be closed out by a liquidator due
/// to the remaining balance being too small to be liquidated normally.
Maximum amount of loan that can be closed out by a liquidator due
to the remaining balance being too small to be liquidated normally.
Maximum amount of loan that can be closed out by a liquidator due to the remaining balance being too small to be liquidated normally .
pub fn max_closeable_amount(&self) -> Result<u64, ProgramError> {
        if self.borrowed_liquidity_wads < Decimal::from(CLOSEABLE_AMOUNT) {
            self.borrowed_liquidity_wads.try_ceil_u64()
        } else {
            Ok(0)
        }
    }
pub fn max_closeable_amount ( & self ) -> Result < u64 , ProgramError > { if self . borrowed_liquidity_wads < Decimal :: from ( CLOSEABLE_AMOUNT ) { self . borrowed_liquidity_wads . try_ceil_u64 ( ) } else { Ok ( 0 ) } }
Maximum amount of loan that can be closed out by a liquidator due
to the remaining balance being too small to be liquidated normally.
Maximum amount of loan that can be closed out by a liquidator due to the remaining balance being too small to be liquidated normally .
&self