Function contract_str_to_msg

pub fn contract_str_to_msg<'a>(
    s: impl Into<Option<&'a str>>,
) -> Result<Value, Error>
Expand description

This is a helper to create contract messages from JSON-encoded strings if the supplied value is None, it will encode the cosmwasm-friendly Empty type this is exported in the prelude