Function pallet_asset_conversion::pallet::dispatchables::create_pool
source · pub fn create_pool<T: Config>(asset1: T::MultiAssetId, asset2: T::MultiAssetId)
Expand description
Creates an empty liquidity pool and an associated new lp_token
asset
(the id of which is returned in the Event::PoolCreated
event).
Once a pool is created, someone may Pallet::add_liquidity
to it.
Warning: Doc-Only
This function is an automatically generated, and is doc-only, uncallable
stub. See the real version in
Pallet::create_pool
.