Tucana Developer Docs
  • MoveVM
    • MoveVM Overview
    • Deploying Move Modules
    • Creating Move Coin
    • Sending Move Coin
    • Creating Move NFT
    • Staking Related Modules
    • Interacting with Oracle on MoveVM
    • Move IBC hooks
  • Spot DEX
    • Spot Dex SDK
      • Getting Started
      • Features
        • Query Pool Data
        • Create Pool
        • Query Positions Data
        • Collect Position Reward
        • Collect Position Fee
        • Open position and add liquidity
        • Add Liquidity With Fixed Coin
        • Remove liquidity
    • Router SDK
      • Getting Started
      • Features
        • Find Best Paths
        • Build Router Function
    • Spot Contract
      • Data Structure
      • Feature Available
        • Create Pool
        • Swap and Calculate Swap Result
        • Open Position
        • Add Liquidity
        • Remove Liquidity
        • Collect Fee
        • Collect Reward
        • Close Position
        • Get Position Info
        • Get Tick Info
  • Tucana Block Explorer
  • Testnet Faucet
Powered by GitBook
On this page
  • 1 Function params
  • 1. Function
  1. Spot DEX
  2. Spot Contract
  3. Feature Available

Collect Fee

1 Function params

  • account: the signer of the user.

  • position_nft: the positon nft object.

1. Function

// tucana_clmm::router
public entry fun collect_fee(
    account: &signer,
    position_nft: Object<PositionNft>,
) 
PreviousRemove LiquidityNextCollect Reward

Last updated 1 year ago