fn withdraw_liquidity(&mut self, lp: &Addr, lt: u128) -> Result<&mut Self> {
        self.app
            .execute_contract(
                lp.clone(),
                self.lt.clone(),
                &cw20_base::msg::ExecuteMsg::Send {
                    contract: self.pair.to_string(),
                    amount: Uint128::new(lt),
                    msg: to_binary(&Cw20HookMsg::WithdrawLiquidity {}).unwrap(),
                },
                &[],
            )
            .map_err(|err| anyhow!(err))?;

        Ok(self)
    }
/// Helper for withdrawing liquidity from pair
///
/// Executes `Send` on lt contract with `Cw20HookMsg::WithdrawLiquidity` as send hook message
Helper for withdrawing liquidity from pair
Executes `Send` on lt contract with `Cw20HookMsg::WithdrawLiquidity` as send hook message
Helper for withdrawing liquidity from pair Executes ` Send ` on lt contract with ` Cw20HookMsg :: WithdrawLiquidity ` as send hook message
fn withdraw_liquidity(&mut self, lp: &Addr, lt: u128) -> Result<&mut Self> {
        self.app
            .execute_contract(
                lp.clone(),
                self.lt.clone(),
                &cw20_base::msg::ExecuteMsg::Send {
                    contract: self.pair.to_string(),
                    amount: Uint128::new(lt),
                    msg: to_binary(&Cw20HookMsg::WithdrawLiquidity {}).unwrap(),
                },
                &[],
            )
            .map_err(|err| anyhow!(err))?;
        Ok(self)
    }
fn withdraw_liquidity ( & mut self , lp : & Addr , lt : u128 ) -> Result < & mut Self > { self . app . execute_contract ( lp . clone ( ) , self . lt . clone ( ) , & cw20_base :: msg :: ExecuteMsg :: Send { contract : self . pair . to_string ( ) , amount : Uint128 :: new ( lt ) , msg : to_binary ( & Cw20HookMsg :: WithdrawLiquidity { } ) . unwrap ( ) , } , & [ ] , ) . map_err ( | err | anyhow ! ( err ) ) ? ; Ok ( self ) }
Helper for withdrawing liquidity from pair
Executes `Send` on lt contract with `Cw20HookMsg::WithdrawLiquidity` as send hook message
Helper for withdrawing liquidity from pair Executes ` Send ` on lt contract with ` Cw20HookMsg :: WithdrawLiquidity ` as send hook message
&mut self
lp
&Addr
lt
u128
&mut self
lp
&Addr
lt
u128