Trait TransferInterface

Source
pub trait TransferInterface:
    AbstractNameService
    + AccountIdentification
    + ModuleIdentification {
    // Provided method
    fn bank<'a>(&'a self, deps: Deps<'a>) -> Bank<'a, Self> { ... }
}
Expand description

Query and Transfer assets from and to the Abstract Account.

Provided Methods§

Source

fn bank<'a>(&'a self, deps: Deps<'a>) -> Bank<'a, Self>

API for transferring funds to and from the account.

§Example
use abstract_sdk::prelude::*;

let bank: Bank<MockModule>  = module.bank(deps.as_ref(), );

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.

Implementors§