pub fn encode(value: &Value) -> Result<Vec<u8>, AbiError>
Encode a value to bytes (graph-encoded ABI)