Earnium Docs Stardust
Documentation menu

LP Burned (NFT)

When you stake into a pool and lock liquidity, you will receive an NFT that represents your position. This NFT is used to claim fee rewards and pool incentives.

How to create LP Burned

Use the stake_and_lock function from the liquidity_stake_pool module.

public entry fun stake_and_lock(
        user: &signer,
        pool: Object<LiquidityPool>,
        amount: u64,
        lock_time: u64
    ) {
        ...
    }

Function Parameters