Trait forge::Fund

source ·
pub trait Fund {
    // Required methods
    fn fund(
        &mut self,
        currency: Currency,
        address: AccountAddress,
        amount: u64
    ) -> Result<()>;
    fn create_parent_vasp_account(
        &mut self,
        currency: Currency,
        auth_key: AuthenticationKey
    ) -> Result<()>;
    fn create_designated_dealer_account(
        &mut self,
        currency: Currency,
        auth_key: AuthenticationKey
    ) -> Result<()>;
}

Required Methods§

source

fn fund( &mut self, currency: Currency, address: AccountAddress, amount: u64 ) -> Result<()>

source

fn create_parent_vasp_account( &mut self, currency: Currency, auth_key: AuthenticationKey ) -> Result<()>

source

fn create_designated_dealer_account( &mut self, currency: Currency, auth_key: AuthenticationKey ) -> Result<()>

Implementors§

source§

impl Fund for Coffer<'_>