Type Definition cw_multi_test::BasicApp
source · [−]pub type BasicApp<ExecC = Empty, QueryC = Empty> = App<BankKeeper, MockApi, MockStorage, FailingModule<ExecC, QueryC, Empty>, WasmKeeper<ExecC, QueryC>, StakeKeeper, DistributionKeeper>;
Expand description
Type alias for default build App
to make its storing simpler in typical scenario
Implementations
sourceimpl BasicApp
impl BasicApp
sourcepub fn new<F>(init_fn: F) -> Selfwhere
F: FnOnce(&mut Router<BankKeeper, FailingModule<Empty, Empty, Empty>, WasmKeeper<Empty, Empty>, StakeKeeper, DistributionKeeper>, &dyn Api, &mut dyn Storage),
pub fn new<F>(init_fn: F) -> Selfwhere
F: FnOnce(&mut Router<BankKeeper, FailingModule<Empty, Empty, Empty>, WasmKeeper<Empty, Empty>, StakeKeeper, DistributionKeeper>, &dyn Api, &mut dyn Storage),
Creates new default App
implementation working with Empty custom messages.