Skip to main content

order_message

Function order_message 

Source
pub fn order_message(o: &SignedOrder) -> Vec<u8> ⓘ
Expand description

The bytes an order’s signature covers: ORDER_DOMAIN ‖ seq ‖ issued ‖ not_after (u64 BE) ‖ then product, instance, role, kind, body, each as u32 BE length ‖ bytes.