Keyboard shortcuts

Press or to navigate between chapters

Press ? to show this help

Press Esc to hide this help

OffchainMessageHash

Trait for calculating the hash of a message given the passed signer.

Fully qualified path: openzeppelin_utils::cryptography::snip12::OffchainMessageHash

pub trait OffchainMessageHash<T>

Trait functions

get_message_hash

Fully qualified path: openzeppelin_utils::cryptography::snip12::OffchainMessageHash::get_message_hash

fn get_message_hash(self: @T, signer: ContractAddress) -> felt252