get

Function get 

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

Fetch a constant out of the metadata given a constant address. If the address has been statically generated, this will validate that the constant shape is as expected, too.