Trait cw_multi_test::Bank[][src]

pub trait Bank {
    fn execute(
        &self,
        storage: &mut dyn Storage,
        sender: Addr,
        msg: BankMsg
    ) -> Result<AppResponse, String>;
fn query(
        &self,
        api: &dyn Api,
        storage: &dyn Storage,
        request: BankQuery
    ) -> Result<Binary, String>;
fn init_balance(
        &self,
        storage: &mut dyn Storage,
        account: &Addr,
        amount: Vec<Coin>
    ) -> Result<(), String>; }
Expand description

Bank is a minimal contract-like interface that implements a bank module It is initialized outside of the trait

Required methods

Implementors