Function dex_stable::pallet::dispatchables::add_liquidity
source · pub fn add_liquidity<T: Config>(
pool_id: T::PoolId,
amounts: Vec<u128>,
min_mint_amount: u128,
to: T::AccountId,
deadline: BlockNumberFor<T>
)
Expand description
Supply amounts of currencies to the pool.
Argument
pool_id
: The id of pool.amounts
: Supply amounts of currencies.min_mint_amount
: The min amount of 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_liquidity
.