Cetus Developer Docs
  • 💻DEVELOPER
    • Dev Overview
    • via SDK
      • Getting Started
      • Prerequisites
      • Features Available
        • Get clmm pools
        • Get positions
        • Get reward
        • Get ticks
        • Create clmm pool
        • Open position
        • Add liquidity
        • Remove liquidity
        • Close position
        • Collect fees
        • Collect rewards
        • Preswap
        • Swap
        • Partner swap
        • Smart router v1
        • Smart router v2
        • Price impact
        • Minimum received & Maximum sold
        • Fee
        • Liquidity and coin amounts calculation
        • APR correlation calculation
        • Price, tick index and sqrt price correlation calculation
      • Changelog
    • via SDK V2
      • Getting Started
      • SDK Modules
        • @cetusprotocol/sui-clmm-sdk
          • Add liquidity
          • Close Position
          • Collect rewards
          • Create CLMM Pool
          • Getting CLMM Pools
          • Gets Positions
          • Gets Pool Position Rewards
          • Gets ticks
          • Open Position
          • Partner Swap
          • Pre Swap
          • Remove liquidity
          • Swap
          • Utility functions for handling price, sqrt price, and tick index
          • Vest
          • Contract Error Codes
        • @cetusprotocol/vaults-sdk
          • Gets Vaults by Owner Address
          • Gets Vault by ID
          • Gets Vault Asset
          • Deposit
          • Withdraw
          • Vest
          • Contract Error Codes
        • @cetusprotocol/farms-sdk
          • Farms Pool
          • Farming
          • Liquidity
          • Reward
          • Contract Error Codes
        • @cetusprotocol/xcetus-sdk
          • Gets owned VeNFT information
          • Gets the list of redemption locks
          • Convert Cetus to Xcetus
          • Convert xCetus to Cetus with lock period
          • Redeem after the lock period
          • Redeem Dividend
          • Cancel Redeem
          • Gets the VeNFT dividend information
          • Calculates the redeem number
          • Calculates the reverse redemption
          • Gets the xCetus amount
          • Get Information of dividend with phase
          • Gets the amount of VeNFT
          • Contract Error Codes
        • @cetusprotocol/limit-sdk
          • Place a limit order
          • Cancel a limit order
          • Claim target coin
          • Gets the supported tokens
          • Gets the list of limit order pools
          • Gets the limit order pool with token pairs
          • Gets the transaction index ID in the limit pool
          • Gets the list of limit order
          • Gets the limit order info
          • Gets order operation log
          • Gets the claim logs of the order
        • @cetusprotocol/burn-sdk
          • Gets the list of burn pools
          • Gets the list of burn positions by pool id
          • Gets the list of burn positions by wallet address
          • Gets the burn position by position id
          • Burn lock
          • Claim
          • Batch claim
          • Burn LP position
          • Redeem vest
          • Contract Error Codes
        • @cetusprotocol/dca-sdk
          • Open Dca Order
          • Gets DCA order
          • Withdraw DCA order
          • Close DCA order
          • Query DCA order transaction history
          • Query DCA token whitelist
        • @cetusprotocol/zap-sdk
          • Deposit
          • Withdraw
      • Migrate from v1 to v2
        • Important Notice
        • Helpers
        • CetusClmmSDK
        • Pool Module
        • Position Module
        • Rewarder Module
    • via Contract
      • Getting Started
      • Data Structure
      • Features Available
        • Create Pool
        • Swap and Preswap
        • Flash loan
        • Open position
        • Add liquidity
        • Repay the receipt about add liquidity
        • Get position liquidity
        • Get position amounts
        • Get positions of pool
        • Remove liquidity
        • Collect fee
        • Collect reward
        • Close position
      • Contract ErrorCode
      • Changelog
    • Cetus Aggregator
      • Getting started
      • Prerequisites
      • Features Available
        • Old swap params
        • Overlay fee
      • Changelog
    • Cetus Terminal
Powered by GitBook
On this page
  1. 💻DEVELOPER
  2. via Contract

Features Available

  1. create pool

  2. swap and pre swap

  3. open position

  4. add liquidity

  5. repay the receipt about add liquidity

  6. get position liquidity

  7. get position amounts

  8. get positions of pool

  9. remove liquidity

  10. collect fee

  11. collect reward

  12. close position

PreviousData StructureNextCreate Pool

Last updated 6 months ago