pub fn decrease_allowance(
        &mut self,
        executor: &Addr,
        spender: &Addr,
        amount: u128,
    ) -> Result<AppResponse> {
        self.app
            .execute_contract(
                executor.clone(),
                self.cash.addr(),
                &ExecuteMsg::DecreaseAllowance {
                    spender: spender.to_string(),
                    amount: amount.into(),
                    expires: None,
                },
                &[],
            )
            .map_err(|err| anyhow!(err))
    }
/// Executes decreasing allowance on `cash` contract
Executes decreasing allowance on `cash` contract
Executes decreasing allowance on ` cash ` contract
pub fn decrease_allowance(
        &mut self,
        executor: &Addr,
        spender: &Addr,
        amount: u128,
    ) -> Result<AppResponse> {
        self.app
            .execute_contract(
                executor.clone(),
                self.cash.addr(),
                &ExecuteMsg::DecreaseAllowance {
                    spender: spender.to_string(),
                    amount: amount.into(),
                    expires: None,
                },
                &[],
            )
            .map_err(|err| anyhow!(err))
    }
pub fn decrease_allowance ( & mut self , executor : & Addr , spender : & Addr , amount : u128 , ) -> Result < AppResponse > { self . app . execute_contract ( executor . clone ( ) , self . cash . addr ( ) , & ExecuteMsg :: DecreaseAllowance { spender : spender . to_string ( ) , amount : amount . into ( ) , expires : None , } , & [ ] , ) . map_err ( | err | anyhow ! ( err ) ) }
Executes decreasing allowance on `cash` contract
Executes decreasing allowance on ` cash ` contract
&mut self
executor
&Addr
spender
&Addr
amount
u128
&mut self
executor
&Addr
spender
&Addr
amount
u128