Function ink_env::own_code_hash
source · pub fn own_code_hash<E>() -> Result<E::Hash>where
E: Environment,
Expand description
Retrieves the code hash of the currently executing contract.
§Errors
If the returned value cannot be properly decoded.