Trait traits::NominationApi

source ·
pub trait NominationApi<VaultId, Amount> {
    // Required methods
    fn deposit_vault_collateral(
        vault_id: &VaultId,
        amount: &Amount
    ) -> Result<(), DispatchError>;
    fn ensure_opted_in_to_nomination(
        vault_id: &VaultId
    ) -> Result<(), DispatchError>;
}

Required Methods§

source

fn deposit_vault_collateral( vault_id: &VaultId, amount: &Amount ) -> Result<(), DispatchError>

source

fn ensure_opted_in_to_nomination( vault_id: &VaultId ) -> Result<(), DispatchError>

Implementors§