Trait mangata_support::traits::PoolCreateApi
source · pub trait PoolCreateApi<AccountId, Balance, CurrencyId> {
// Required methods
fn pool_exists(first: CurrencyId, second: CurrencyId) -> bool;
fn pool_create(
account: AccountId,
first: CurrencyId,
first_amount: Balance,
second: CurrencyId,
second_amount: Balance
) -> Option<(CurrencyId, Balance)>;
}