CurveToken

What is it?

Curve V2 token is a LP token that the pool issues when a liquidity provider supply liquidity to the pool. It follows the ERC20 standard. Here's the token source code.

How are we using it in Perpetuals?

When liquidity providers supply liquidity to one of the pools of the protocol, the Perpetual contract registers how many LP tokens are allocated to them. This information is used when the LP decide to withdraw their positions. See the example of the LP flow to understand better how this plays out.

Last updated