get_address_bytes

Function get_address_bytes 

Source
pub fn get_address_bytes<Addr: Address>(
    address: &Addr,
    metadata: &Metadata,
) -> Result<Vec<u8>, Error>
Expand description

Given a storage address and some metadata, this encodes the address into bytes which can be handed to a node to retrieve the corresponding value.