Track permanently-locked liquidity in Memecoin Pools
via sdk / on-chain / api
Last updated
via sdk / on-chain / api
Last updated
This section is under construction. More details will be added soon.
Go to the escrow address on solscan
Click Data
tab
Under LockEscrow - JSON
Alternatively, if the pool liquidity is fully locked (won't work if there's non-locked LP tokens), you can use the following steps:
Go to the LP mint address on solscan
Under Holders
, select the holder account (not the token account)
Click Data
tab
Under LockEscrow - JSON
, search for owner
field and view the address
There's a different LockEscrow address created for each wallet that locks the LP.
The first lock transaction will create a createLockEscrow
transaction, then there will be a Lock
transaction. For each wallet, subsequent locks will go to the same lock address.
Example:
For a Memecoin Pool that's created where the liquidity is auto-locked as part of Memecoin Pool creation, you can get the LockEscrow account of the creator through the LP mint.
Example:
https://dexscreener-adapter.meteora.ag/all-lock
If the project wants to permanently lock liquidity in the Memecoin pool, they should ideally lock the liquidity BEFORE the pool starts trading, so that swap fees from locked liquidity are captured the second trading starts.
In a scenario where:
The pool started trading - t0
Liquidity gets deposited to the pool by the project, but not locked - t1
Subsequently, that liquidity is permanently locked by the project - t2
The project will not be able to claim swap fees earned from t1 to t2, since fees from t1 to t2 are assigned to the LP token before the LP token gets permanently locked. When the LP token gets locked, the earlier fees are locked along with it.
The project will only be able to claim swap fees from locked liquidity starting from t2.