pub fn withdraw_fees_vault(
        &self,
        signer: &dyn Signer,
        vault_name: &str,
        fee_token: TokenSelector,
        ui_amount: f64,
        receiver: &Pubkey,
    ) -> Result<Signature, FarmClientError> {
        let inst = self.new_instruction_withdraw_fees_vault(
            &signer.pubkey(),
            vault_name,
            fee_token,
            ui_amount,
            receiver,
        )?;
        self.sign_and_send_instructions(&[signer], &[inst])
    }
/// Withdraw collected fees from the Vault
Withdraw collected fees from the Vault
Withdraw collected fees from the Vault
pub fn withdraw_fees_vault(
        &self,
        signer: &dyn Signer,
        vault_name: &str,
        fee_token: TokenSelector,
        ui_amount: f64,
        receiver: &Pubkey,
    ) -> Result<Signature, FarmClientError> {
        let inst = self.new_instruction_withdraw_fees_vault(
            &signer.pubkey(),
            vault_name,
            fee_token,
            ui_amount,
            receiver,
        )?;
        self.sign_and_send_instructions(&[signer], &[inst])
    }
pub fn withdraw_fees_vault ( & self , signer : & dyn Signer , vault_name : & str , fee_token : TokenSelector , ui_amount : f64 , receiver : & Pubkey , ) -> Result < Signature , FarmClientError > { let inst = self . new_instruction_withdraw_fees_vault ( & signer . pubkey ( ) , vault_name , fee_token , ui_amount , receiver , ) ? ; self . sign_and_send_instructions ( & [ signer ] , & [ inst ] ) }
Withdraw collected fees from the Vault
Withdraw collected fees from the Vault
&self
signer
&dyn Signer
vault_name
&str
fee_token
TokenSelector
ui_amount
f64
receiver
&Pubkey
&self
signer
&dyn Signer
vault_name
&str
fee_token
TokenSelector
ui_amount
f64
receiver
&Pubkey