Developer Docs
  • Introduction
  • Key Terms
  • Perpetual Swaps
    • vAMM
    • Margin
    • UA
    • TWAP
    • Funding payments
    • Liquidation
    • Insurance
    • Trading fees
  • Contracts Overview
  • Economic Parameters
  • Risk Factors
  • Guides
    • Trader Interactions
    • Liquidity Provision
    • Liquidation
    • Choosing proposedAmount
    • Governance
    • Staking
  • Core Contracts
    • ClearingHouse
    • Perpetual
    • Vault
    • Oracle
    • Insurance
    • CurveCryptoViews
  • Token Contracts
    • UA
    • vBase
    • vQuote
  • External Contracts
    • CryptoSwap
    • CurveMath
    • CurveToken
    • AggregatorV3Interface
  • Peripheral Contracts
    • RewardController
    • RewardDistributor
    • PerpRewardDistributor
    • StakedToken
    • EcosystemReserve
    • SafetyModule
    • SMRewardDistributor
    • AuctionModule
Powered by GitBook
On this page
  • What is it?
  • How are we using it in Perpetuals?
  1. External Contracts

CurveToken

Last updated 3 years ago

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 .

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 to understand better how this plays out.

token source code
the example of the LP flow