Function xcm_executor::traits::validate_export
source · pub fn validate_export<T: ExportXcm>(
network: NetworkId,
channel: u32,
universal_source: InteriorMultiLocation,
dest: InteriorMultiLocation,
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 as mutable references into T::send_xcm
.