update

Function update 

Source
pub fn update(input: UpdateInput) -> Result<HoloHash<Action>, WasmError>
Expand description

General function that can update any entry type.

This is used under the hood by update_entry, update_cap_grant and update_cap_claim.

The host builds an Update action for the passed entry value and commits a new update to the chain.

Usually you don’t need to use this function directly; it is the most general way to update an entry and standardizes the internals of higher level update functions.