How a honeypot works
A honeypot is bait. From the outside it looks like the best trade of the week: the chart only goes up, there are buys every minute and hardly a red candle. The reason is simple: nobody except the creator can sell.
The trap is in the contract code, and it comes in a few forms:
- Sales fail. Transfers to the DEX pool are refused, so a sale never goes through, while buys work as usual.
- A tax of 90–100%. The sale goes through, but the contract takes almost all of it as a "fee".
- A whitelist. Only addresses the creator chose can sell, usually the creator's own.
- A delayed switch. The token trades normally at first, and the admin turns the block on once enough money has come in.
A worked example: a token launches with $5,000 of GRAM in its pool. Over two days buyers add $45,000, and every attempt to sell fails. The creator's whitelisted wallet sells into the pool and takes out nearly all of the $50,000. A honeypot is a Rug pull in which the exit is closed from the start.
Honeypots on TON — the jetton wallet code
On TON a token is a Jetton, and the balances do not live in one contract. The Jetton master keeps the supply and the code of the token's wallets, and every holder has a separate Jetton wallet contract that holds their tokens and sends them. All the jetton wallets of one token run the code its master stores.
That code is where a TON honeypot hides. A buy on a DEX ends with the pool's jetton wallet sending tokens to yours. A sale starts with your jetton wallet sending tokens to the pool's. The TEP-74 standard describes what the wallets must answer, but leaves the implementation to developers. So a modified wallet can accept incoming transfers as usual and refuse outgoing ones, allow them only for chosen owners, cut a large fee from them, or let the admin move or freeze anyone's tokens.
A non-standard contract is not always a scam: some legitimate tokens need extra rules in their code, for example to let the issuer meet legal requirements. That is why "modified" is a reason to look closer, not a verdict.
How DYOR flags a modified contract
DYOR compares each jetton wallet's code with the standard jetton contracts it recognises. It does not read or audit the code itself; it tells you whether the code is one of the known ones.
- On the token page a token with unrecognised code, unless DYOR verified or approved it, carries the Modified label next to its address. Its explanation, "Modified contract", says the contract does not have standard source code and was modified by the token creator.
- In the token check. In Token check the Contract row is a Risk for unrecognised code on a token DYOR has not verified: "Such code can limit selling or take fees." For a verified or approved token the row is fine, and it says DYOR verified the token's identity, not its code.
- In the transactions. A honeypot leaves a one-sided record: many buys, sells by one or two wallets. The token page lists Buys and Sells, Buyers and Sellers, and Search swaps finds a token's swaps by wallet, amount and period.
The token check also reads admin rights: a live admin on a modified contract can often change the rules after you buy.
Before you buy a token you cannot verify
- Run the token check and look at the Contract and Admin rights rows first.
- Open the token's transactions: are there sells by many different wallets, not just by the creator?
- Treat a chart with no red candles as a warning, not a signal to buy.
- Do not rely on a tiny test sale. A contract can let small sales through, or block sales only later.