Function snip1155_reference_impl::state::balances_r
source · pub fn balances_r<'a>(
storage: &'a dyn Storage,
token_id: &str
) -> ReadonlyBucket<'a, Uint128>
Expand description
Multilevel bucket to store balances for each token_id & addr combination. Key is to
be [token_id
, owner
: to_binary(&Addr)?.as_slice()]