Function dex_general::pallet::dispatchables::swap_exact_assets_for_assets
source · 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 soldamount_out_min
: Minimum amount of target assetpath
: path can convert to pairs.recipient
: Account that receive the target assetdeadline
: 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
.