Function dex_stable::pallet::dispatchables::add_pool_and_base_pool_liquidity
source · pub fn add_pool_and_base_pool_liquidity<T: Config>(
pool_id: T::PoolId,
base_pool_id: T::PoolId,
meta_amounts: Vec<u128>,
base_amounts: Vec<u128>,
min_to_mint: u128,
to: T::AccountId,
deadline: BlockNumberFor<T>
)
Expand description
Supply amounts of currencies to the 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.meta_amounts
: Supply amounts of currencies to pool. The last element must be zero.base_amounts
: Supply amounts of currencies to base pool.min_to_mint
: The min amount of pool lp currency 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::add_pool_and_base_pool_liquidity
.