pub fn remove_liquidity<T: Config>(
    asset_0: T::AssetId,
    asset_1: T::AssetId,
    liquidity: AssetBalance,
    amount_0_min: AssetBalance,
    amount_1_min: AssetBalance,
    recipient: <T::Lookup as StaticLookup>::Source,
    deadline: BlockNumberFor<T>
)
Expand description

Extract liquidity.

The order of assets does not effect the result.

Arguments

  • asset_0: Asset which make up pair
  • asset_1: Asset which make up pair
  • amount_asset_0_min: Minimum amount of asset_0 to exact
  • amount_asset_1_min: Minimum amount of asset_1 to exact
  • recipient: Account that accepts withdrawal of assets
  • 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::remove_liquidity.