pub fn burn_for_teleport<AssetTransactor>(
origin: &Location,
fee: &Asset,
) -> Resultwhere
AssetTransactor: TransactAsset,
Expand description
Helper function that validates fee
can be burned, then withdraws it from origin
and burns
it.
Note: Make sure this is called from a transactional storage context so that side-effects
are rolled back on errors.