pub fn user_init_vault(
        &self,
        signer: &dyn Signer,
        vault_name: &str,
    ) -> Result<Signature, FarmClientError> {
        // create and send the instruction
        let inst = self.new_instruction_user_init_vault(&signer.pubkey(), vault_name)?;
        self.sign_and_send_instructions(&[signer], &[inst])
    }
/// Initializes a new User for the Vault
Initializes a new User for the Vault
Initializes a new User for the Vault
pub fn user_init_vault(
        &self,
        signer: &dyn Signer,
        vault_name: &str,
    ) -> Result<Signature, FarmClientError> {
        // create and send the instruction
        let inst = self.new_instruction_user_init_vault(&signer.pubkey(), vault_name)?;
        self.sign_and_send_instructions(&[signer], &[inst])
    }
pub fn user_init_vault ( & self , signer : & dyn Signer , vault_name : & str , ) -> Result < Signature , FarmClientError > { // create and send the instruction let inst = self . new_instruction_user_init_vault ( & signer . pubkey ( ) , vault_name ) ? ; self . sign_and_send_instructions ( & [ signer ] , & [ inst ] ) }
Initializes a new User for the Vault
Initializes a new User for the Vault
&self
signer
&dyn Signer
vault_name
&str
&self
signer
&dyn Signer
vault_name
&str