Function own_code_hash

Source
pub fn own_code_hash() -> H256
Expand description

Retrieves the code hash of the currently executing contract.

ยงErrors

If the returned value cannot be properly decoded.