Function custom_app

Source
pub fn custom_app<ExecC, QueryC, F>(
    remote: RemoteChannel,
    init_fn: F,
) -> AnyResult<BasicApp<ExecC, QueryC>>
where ExecC: CustomMsg + DeserializeOwned + 'static, QueryC: Debug + CustomQuery + DeserializeOwned + 'static, F: FnOnce(&mut Router<BankKeeper, FailingModule<ExecC, QueryC, Empty>, WasmKeeper<ExecC, QueryC>, StakeKeeper, DistributionKeeper, IbcFailingModule, GovFailingModule>, &dyn Api, &mut dyn Storage),
Expand description

Creates new default App implementation working with customized exec and query messages. Outside of App implementation to make type elision better.