pub fn swap_exact_assets_for_assets<T: Config>(
    amount_in: AssetBalance,
    amount_out_min: AssetBalance,
    path: Vec<T::AssetId>,
    recipient: <T::Lookup as StaticLookup>::Source,
    deadline: BlockNumberFor<T>
)
Expand description

Sell amount of asset by path.

Arguments

  • amount_in: Amount of the asset will be sold
  • amount_out_min: Minimum amount of target asset
  • path: path can convert to pairs.
  • recipient: Account that receive the target asset
  • deadline: Height of the cutoff block of this transaction

Warning: Doc-Only

This function is an automatically generated, and is doc-only, uncallable stub. See the real version in Pallet::swap_exact_assets_for_assets.