pub fn create_pool<T: Config>(
    asset1: Box<T::AssetKind>,
    asset2: Box<T::AssetKind>,
)
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.