content_addr

Function content_addr 

Source
pub fn content_addr<T: Address>(t: &T) -> ContentAddress
Expand description

Shorthand for hashing the given value in order to produce its content address.

Commonly useful for solutions, predicates and contracts.