pub fn remove_pool_and_base_pool_liquidity<T: Config>(
pool_id: T::PoolId,
base_pool_id: T::PoolId,
amount: u128,
min_amounts_meta: Vec<u128>,
min_amounts_base: Vec<u128>,
to: T::AccountId,
deadline: BlockNumberFor<T>
)
Expand description
Remove liquidity from a pool which contains the lp currency of the base pool.
Argument
pool_id
: The id of pool.base_pool_id
: The id of base pool.amount
: The amounts of lp currency to burn.min_amounts_meta
: The min amounts of pool’s currencies to get.min_amounts_base
: The min amounts of basic pool’s currencies to get.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_pool_and_base_pool_liquidity
.