Keyboard shortcuts

Press or to navigate between chapters

Press ? to show this help

Press Esc to hide this help

StructHash

Trait for calculating the hash of a struct.

Fully qualified path: openzeppelin_utils::cryptography::snip12::StructHash

pub trait StructHash<T>

Trait functions

hash_struct

Fully qualified path: openzeppelin_utils::cryptography::snip12::StructHash::hash_struct

fn hash_struct(self: @T) -> felt252