pub trait EIP712Encode {
// Required method
fn encode_eip_712(&self) -> Box<[u8]>;
}
Expand description
Trait that must be implemented to be able to encode the payload to eip-712 compatible signatures
Required Methods§
Sourcefn encode_eip_712(&self) -> Box<[u8]>
fn encode_eip_712(&self) -> Box<[u8]>
encodes the type without hashing it