Trait VaultOps

Source
pub trait VaultOps<C> {
    // Required method
    fn initialize_market_vault(
        &self,
        store: &Pubkey,
        token: &Pubkey,
    ) -> (TransactionBuilder<'_, C>, Pubkey);
}
Expand description

Vault Operations.

Required Methods§

Source

fn initialize_market_vault( &self, store: &Pubkey, token: &Pubkey, ) -> (TransactionBuilder<'_, C>, Pubkey)

Initialize a market vault for the given token.

Implementors§

Source§

impl<C, S> VaultOps<C> for Client<C>
where C: Deref<Target = S> + Clone, S: Signer,