Fetching All Pairs
Every AgoraStableSwapFactory keeps an on-chain registry of every pair it deploys.
If you want to run this example, be sure that you have followed the steps here to configure your Wallet Client.
The convenient view function getAllPairData() returns:

