Keyboard shortcuts

Press or to navigate between chapters

Press ? to show this help

Press Esc to hide this help

StructHashStarknetDomainImpl

Implementation of StructHash that calculates the Poseidon hash of type StarknetDomain.

Fully qualified path: openzeppelin_utils::cryptography::snip12::StructHashStarknetDomainImpl

pub impl StructHashStarknetDomainImpl of StructHash<StarknetDomain>;

Impl functions

hash_struct

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

fn hash_struct(self: @StarknetDomain) -> felt252