Function cosmwasm_std::wasm_instantiate[][src]

pub fn wasm_instantiate<T>(
    code_id: u64,
    msg: &T,
    funds: Vec<Coin>,
    label: String
) -> StdResult<WasmMsg> where
    T: Serialize
Expand description

Shortcut helper as the construction of WasmMsg::Instantiate can be quite verbose in contract code.

When using this, admin is always unset. If you need more flexibility, create the message directly.