pub fn remove_liquidity_imbalance<T: Config>(
    pool_id: T::PoolId,
    amounts: Vec<u128>,
    max_burn_amount: u128,
    to: T::AccountId,
    deadline: BlockNumberFor<T>
)
Expand description

Remove liquidity from a pool to the specify amounts of currencies.

Argument

  • pool_id: The id of pool.
  • amounts: The specify amounts of receive currencies.
  • max_burn_amount: The max amount of burned lp currency.
  • 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_imbalance.