Function snip1155_reference_impl::state::txhistory::append_new_owner
source · pub fn append_new_owner(
storage: &mut dyn Storage,
token_id: &str,
address: &Addr
) -> StdResult<()>
Expand description
stores ownership history for a given token_id. Meant to be used for nfts.
In base specification, only the latest (ie: current) owner is relevant. But
this design pattern is used to allow viewing a token_id’s ownership history,
which is allowed in the additional specifications