This proposal extends the Stable Swap Simulator project, developing a universal pool simulator application. This tool will enable visual comparisons of different pool types or parameters and provide insights into how parametrization affects pool behavior.
The goal is to boost knowledge about pool types among ballers and community members, helping maximize each pool's potential (price, volume, TVL), assisting Pool Creators in choosing suitable pool types and drawing more liquidity providers.
Our Pool Simulator seeks to educate pools creators and managers on various Balancer pool types, illuminating the impact of different pool parameters, and comparing pool types for similar use cases, highlighting each type's strengths and weaknesses, e.g.
Building on the Stable Swap Simulator, we'll integrate all developed components, packages, and visualizations with additional features per pool type. The tools will be integrated under our current https://tools.balancer.blue NextJS app (Github).
All tools are to be integrated under our current https://tools.balancer.blue NextJS app (Github).
bleu believes in Balancer's vision of being a flexible platform for others to build on. We think we can help grow the protocol by building tools that bridge the user experience gap that exists between protocol innovations and UX/UI tooling that users need to drive value out of them.
StableSwap Simulator and Internal Manager are recent examples of tools built by us that aimed to leverage unknown features of the Vault (Internal Balances) and help users understand the Stable math behind one of the most popular pool types.
Dashboard — expand the Stable Swap dashboard to include the Gyro, FX, and Weighted pools. For each pool type, the StableSwap visualizations will be adapted, and also new visualizations added. This new Pools Simulator is going to support analyses per AMM, to find the best set of parameters, and also cross-AMM, to choose the best pool type.
As we did on the StableSwap project, we're going to use the Balancer SOR math implementation to develop the dashboard. We have added the pool parameters to the table below to help us to understand the dashboard requirements and use cases.
Gyro 2CLP | Gyro 3CLP | Gyro E-CLP | Xave FX | |
---|---|---|---|---|
Available on SOR | Yes* | Yes* | Yes* | Yes |
Spot price implemented (before and after swap) on SOR | Just after the swap. Need to test if null swap amount work, or write the before swap function | Just after the swap. Need to test if null swap amount work, or write the before swap function | Yes | Yes |
Spot price derivatives (after swap) on SOR | Yes | Yes | Yes | Yes |
Total fee paid calculation on SOR | Yes | Yes | Yes | Yes, but the dynamic fee is not easily exported. |
Pool immutable parameters | Alpha, beta, and weights | Alpha and weights | Alpha, beta, lambda, c, s, and weights | Weights |
Pool mutable parameters | Fee | Fee | Fee | Alpha, Beta, Delta, Epsilon, and Lambda |