/// Accrue mine for this ticket account  from this reserve in context (only for the portion of collaterized LToken)

Accrue mine for this ticket account  from this reserve in context (only for the portion of collaterized LToken)
Accrue mine for this ticket account from this reserve in context ( only for the portion of collaterized LToken )
pub fn refresh_deposit_unclaimed(&mut self, liquidity_index: usize, reserve: &Pool) -> ProgramResult {
        let liquidity = &mut self.deposits[liquidity_index];
        self.unclaimed_mine = self.unclaimed_mine.try_add(
            reserve.lottery.l_token_mining_index
                .try_sub(liquidity.index)?
                .try_mul(liquidity.deposited_amount)?
        )?;
        liquidity.index = reserve.lottery.l_token_mining_index;
        Ok(())
    }
pub fn refresh_deposit_unclaimed ( & mut self , liquidity_index : usize , reserve : & Pool ) -> ProgramResult { let liquidity = & mut self . deposits [ liquidity_index ] ; self . unclaimed_mine = self . unclaimed_mine . try_add ( reserve . lottery . l_token_mining_index . try_sub ( liquidity . index ) ? . try_mul ( liquidity . deposited_amount ) ? ) ? ; liquidity . index = reserve . lottery . l_token_mining_index ; Ok ( ( ) ) }
Accrue mine for this ticket account  from this reserve in context (only for the portion of collaterized LToken)
Accrue mine for this ticket account from this reserve in context ( only for the portion of collaterized LToken )
&mut self
liquidity_index
usize
reserve
&Pool