How a liquidity lock works
When someone adds two assets to a Liquidity pool on a DEX, they get LP tokens back: the claim on their share of the pool. Whoever holds the LP tokens can return them at any time and take the assets out.
That is the classic Rug pull: a team creates a token, pairs it with GRAM in a pool, waits for buyers to add GRAM and then withdraws the liquidity. The token is left with nothing to sell into.
A lock removes that option for a while. The LP tokens are sent to a lock contract that releases them only to their owner and only after the unlock date. Until then the liquidity stays in the pool whatever the team wants. Some locks release everything at once, others in steps, like a Vesting schedule.
Locked vs burned LP tokens
There are two ways to make liquidity unwithdrawable:
- Locked. The LP tokens come back to the owner when the lock ends. Protection lasts exactly as long as the lock: a lock that ends next week protects for a week. Check the date, not just the word "locked".
- Burned. The LP tokens are destroyed or sent to an address nobody controls (Token burn). The liquidity can never be withdrawn by anyone, including the team.
Neither makes a token safe. A lock protects only the LP tokens in it: the team may hold more LP outside the lock, hold a large share of the token itself and sell it into the pool, or mint more if the token is Mintable token. A locked pool with a live admin and a few wallets owning most of the supply can still be rugged.
How DYOR checks locked liquidity on TON
Most DEX pools on TON issue their LP tokens as jettons, so who holds them can be read from the chain. The Liquidity row of Token check looks at the LP tokens of the token's largest pool:
- one ordinary wallet with 50% or more of them is a Caution, with 90% or more a Risk: it can withdraw that share at any time;
- a multisig is a Caution at most, because withdrawing needs several signatures; a contract holding them is not counted as a wallet;
- LP tokens that are burned, or locked for more than 30 days in a lock DYOR knows, cannot be withdrawn; when that is half of the pool's liquidity or more, the row says how much;
- when the largest pool holds less than half of the money in the token's pools, its LP holders are not read and set no level;
- pools without LP tokens, such as concentrated-liquidity pools, are not read.
DYOR reads locks made with JVault and TON Raffles. On a token page with such locks, the Locks section lists them with amounts and lock time, and each lock's card counts down to its next unlock.