Function provwasm_std::cancel_marker [−][src]
pub fn cancel_marker<S: Into<String>>(
denom: S
) -> StdResult<CosmosMsg<ProvenanceMsg>>
Create a message that will cancel a marker.
Example
// Imports required use cosmwasm_std::{Response, StdResult}; use provwasm_std::{cancel_marker, ProvenanceMsg}; // Create and dispatch a message that will cancel a marker. fn try_cancel_marker(denom: String) -> StdResult<Response<ProvenanceMsg>> { let msg = cancel_marker(&denom)?; let mut res = Response::new(); res.add_message(msg); Ok(res) }