Function subscribeToSoroswapFactory

The Soroswap Factory contract emits events when a new pool is created. Use this function to subscribe to those events.

  • Returns Promise<boolean>

    A promise that resolves to true if the subscription was successful.