referrerpolicy=no-referrer-when-downgrade

validate_export

Function validate_export 

Source
pub fn validate_export<T: ExportXcm>(
    network: NetworkId,
    channel: u32,
    universal_source: InteriorLocation,
    dest: InteriorLocation,
    msg: Xcm<()>,
) -> SendResult<T::Ticket>
Expand description

Convenience function for using a SendXcm implementation. Just interprets the dest and wraps both in Some before passing them as mutable references into T::send_xcm.