Function getLiquidityPoolAddresses

Retrieves all liquidity pool addresses from the Soroswap Factory contract. Since there is no function to do that directly, this function fetches the addresses by iterating through all pairs using their index.

  • Returns Promise<string[]>

    A promise that resolves to an array of liquidity pool addresses.