What is it?
CryptoSwap is the new generation AMM of
, the V2 of the protocol. It is optimized to swap non-stable assets, i.e. assets whose prices move in relation to one another.
The pool we use is created from
the V2 factory contract
, the later generates a pool contract which looks like
How are we using it in Perpetuals?
Essential Cuve's CryptoSwap contract is the best solution for us to this day to implement the vAMM that we rely on for price discovery within a market with leverage allowed. See the section on
for more detail.