pub trait NativeFungibleVault {
    // Required methods
    fn lock_fee<Y, E>(&mut self, api: &mut Y, amount: Decimal) -> Result<(), E>
       where E: Debug + ScryptoDecode,
             Y: ClientApi<E>;
    fn lock_contingent_fee<Y, E>(
        &mut self,
        api: &mut Y,
        amount: Decimal
    ) -> Result<(), E>
       where E: Debug + ScryptoDecode,
             Y: ClientApi<E>;
    fn create_proof_of_amount<Y, E>(
        &self,
        amount: Decimal,
        api: &mut Y
    ) -> Result<Proof, E>
       where E: Debug + ScryptoDecode,
             Y: ClientApi<E>;
}

Required Methods§

fn lock_fee<Y, E>(&mut self, api: &mut Y, amount: Decimal) -> Result<(), E>
where E: Debug + ScryptoDecode, Y: ClientApi<E>,

fn lock_contingent_fee<Y, E>( &mut self, api: &mut Y, amount: Decimal ) -> Result<(), E>
where E: Debug + ScryptoDecode, Y: ClientApi<E>,

fn create_proof_of_amount<Y, E>( &self, amount: Decimal, api: &mut Y ) -> Result<Proof, E>
where E: Debug + ScryptoDecode, Y: ClientApi<E>,

Object Safety§

This trait is not object safe.

Implementors§