Function provwasm_std::add_json_attribute [−][src]
pub fn add_json_attribute<T: Serialize + ?Sized>(
address: HumanAddr,
name: String,
data: &T
) -> StdResult<CosmosMsg<ProvenanceMsg>>
Create a message that will add a JSON attribute to an account. Serializable types can be passed into this function, but it's up to the user to handle StdResult error case.