Integration Examples
Complete swap flow
If you want to see a complete flow to make a swap you can review this code. In this example you can see the different steps.
Get pool data
Estimate Clipper Prices
Create a quote
Sign a quote
Execute a transaction
Swaps
There are three kinds of assets:
Shorttail: Assets on Clipper Pool
Longtail: Assets not on Clipper Pool but can be traded through coves.
ClipperLP: Underlying token representing fraction of clipper pool.
Given those three assets, there may be the following Swap combinations:
Core pool Swaps
Last updated