pub fn activate_marker<S: Into<String>>(
denom: S,
) -> StdResult<CosmosMsg<ProvenanceMsg>>Expand description
Create a message that will activate a finalized marker.
ยงExample
// Imports required
use cosmwasm_std::{Response, StdResult};
use provwasm_std::{activate_marker, ProvenanceMsg};
// Create and dispatch a message that will activate a finalized marker.
fn try_activate_marker(denom: String) -> StdResult<Response<ProvenanceMsg>> {
let msg = activate_marker(&denom)?;
let mut res = Response::new().add_message(msg);
Ok(res)
}