Function fadroma::prelude::wasm_instantiate
source · pub fn wasm_instantiate(
code_id: u64,
code_hash: impl Into<String>,
msg: &impl Serialize,
funds: Vec<Coin, Global>,
label: String
) -> Result<WasmMsg, StdError>
Expand description
Shortcut helper as the construction of WasmMsg::Instantiate can be quite verbose in contract code.