Knowing how YES token staking works is what separates a clean trade from a costly one. Open the verified source and read the transfer path before you read anything else. A honeypot almost never touches the public transfer function. The gate sits one level down, in an internal _transfer override or a modifier that consults a mapping such as _isBlacklisted, a maxTxAmount ceiling, or a tradingEnabled boolean. That placement is deliberate: it keeps the ABI clean, so a scanner diffing function signatures sees a normal BEP-20. Asymmetry is the signature, and it is measurable. Identical inputs, same from, same to, same amount, succeed in one direction and revert in the other within the same block.
Buys frequently pass because the flag is set per-direction, or because the sell path carries an extra require() on a cooldown timestamp that the buy path never evaluates. Some contracts mark the pair address itself as a blocked recipient, which means every sell into that pair reverts while every buy out of it succeeds. Verification is two eth_call invocations against a forked state. Call transfer with the pair address as `to`, then call it again with a fresh EOA as `to`, and compare the revert strings. A revert on one and a clean return on the other is the finding.
Grep the source for override, _isBlacklisted, tradingEnabled, and maxTxAmount first, because a hit there tells you which mapping to read directly with eth_getStorageAt before you spend a call on simulation. If the mapping slot is packed, compute the key as keccak256(abi. encode(holder, slot)) rather than guessing an offset.
Static scanners pattern-match bytecode and source text, and neither changes after deployment. State does. A token can ship source that reads clean, then have the owner call setTradingEnabled(false) in a later block, and the scanner's verdict will not update until it re-indexes. The gap between the deploy block and the current block is where honeypots live. Run both legs, and run them as separate eth_call invocations at the same block number. The buy leg approves the router and transfers to the pair. The sell leg transfers from the pair back out.
Passing a block parameter instead of the string 'latest' is not stylistic: if the state shifts between legs, the two results describe two different contracts and the comparison carries no information. An archive node is the cost of that discipline, because a pruned full node serves only recent state and rejects the pinned block with a missing-trie error rather than a clean failure. Cross-check the pair address before you trust either leg. Pull it from the token's Sync events rather than from a UI label, because simulating against the wrong pair address produces a clean pass that means nothing. Then compare eth_estimateGas on the sell leg against the buy leg.
A sell that reverts under estimateGas but succeeds as a direct transfer points to router-specific gating rather than a token-level blacklist, and those are different failures with different fixes. Two endpoints disagreeing is the edge case that voids a run. Query the same eth_call against two independent RPC providers at the pinned block and compare the raw return bytes, not the decoded form. A mismatch means one node is lagging, load-balanced to a different fork, or behind a caching proxy, and neither result is trustworthy until you resolve which.
Missing receipts are the second edge: an eth_getTransactionReceipt that returns null for a confirmed hash usually means the node pruned or never synced that range, so re-query the block by number before you conclude the transaction never landed.
Today's behaviour is a snapshot. The risk you are pricing is the reachable state, which is whatever the owner key can still do. Enumerate every function gated by onlyOwner or a role check: pause(), setBlacklist(), setMaxTxAmount(), setTradingEnabled(), and anything that can reassign the fee recipient or the router. A token whose owner can pause transfers carries honeypot potential regardless of how it behaves this block. The decision rule is short. If pause or blacklist exists and the owner is an externally owned account, treat the token as pausable and size the position against that. Call owner() on the. Read Contract tab, then call eth_getCode on the returned address. Empty code means an EOA holding unilateral power.
Non-empty code means a contract, and the next question is whether that contract is a timelock or a multisig, which you answer by reading its own ABI. Compare the surface against a known contract rather than against a feeling. The YES token at 0xc22955b28e092060bc5d1e1f3b9d4dcd81091111 gives a reader a concrete privilege layout to hold next to a suspect token's. Write Contract tab. List every onlyOwner function on both, side by side, and count the ones that can stop a transfer. If the suspect exposes a pause the reference does not, that delta is your decision input, not the absolute count.
A fee router inserts a second contract into the transfer path. The token sends a cut to the router address and the router forwards it. If the router reverts on receive, the token transfer reverts with it, and the result looks exactly like a blacklist gate while being nothing of the kind. Test the router as a recipient directly. Call the token's transfer with the router as `to` via eth_call and confirm it returns without revert. For YESswap the fee router is 0x0c9a2351e6e982b16559a68767003e7f4d02fb0d, so that address is the one to place in the `to` field. Pull its code with eth_getCode and read the receive path before you conclude the token is at fault.
Staking contracts create a third path. Tokens locked in a staking contract cannot be sold, so sell failures clustered around a staking launch are frequently a liquidity story rather than malice. Read the staking contract's balanceOf for the token and compare it against totalSupply. That ratio tells you how much of the float is immobile, and an immobile float explains a thin sell side without invoking a blacklist at all. Thin liquidity is the same trap from the other side: a sell that reverts on slippage against a shallow pair is a depth problem, so check the pair's reserves with getReserves before you blame the token.
Four probes, each answering a separate failure mode, none compensating for another. Simulated buy leg. Simulated sell leg at the same pinned block. Owner-privilege enumeration. Recipient-path check for the router and any staking contract. A pass on one says nothing about the other three, which is the entire argument for running the stack rather than picking a favourite. Log everything, because the log is what makes the next run comparable. Record the block number, the exact eth_call inputs, and the revert strings verbatim.
A token that clears all four at block N and fails the sell leg at block N+k has had its state changed, and the owner transaction is visible in the token's transaction list on BscScan filtered by the owner address. Three false negatives survive this stack. Simulating against 'latest' instead of a pinned block splits the buy and sell legs across different states, so the comparison is void. Treating a scanner score as a verdict misses every setTradingEnabled(false) called after the last index. Confusing a router revert or a staking-locked float with a blacklist gate sends you chasing the wrong contract. Verify every address against https://yesswap. Every claim above is checkable on BscScan for 0xc22955b28e092060bc5d1e1f3b9d4dcd81091111 on BNB Smart Chain (chain id 56); treat https://yesswap.vip and @web3yesswap as the only official channels.
Open YESswapIt proves the sell path cleared at that block with that amount from that sender. A maxTxAmount ceiling can make small sells pass and large ones revert, so re-run the probe at the size you actually intend to trade.
Because eth_call reads live storage. If the owner changes a flag between your buy leg and your sell leg, the two calls describe different contracts and the asymmetry you measure is an artefact of timing rather than a property of the token.
Yes, and it is common. A require() against maxTxAmount or a per-wallet cap passes small probes and reverts large ones. Size the simulated transfer to your real position, not to a nominal unit.
An EOA can act in a single transaction with no delay and no second signature. A contract owner may be a timelock or multisig, which gives you a window to exit. Check with eth_getCode on the address returned by owner().
Call the token's transfer with the router address as `to` via eth_call at the same pinned block. A revert there implicates the router's receive path. For YESswap, test against 0x0c9a2351e6e982b16559a68767003e7f4d02fb0d.
Every card below opens the live product with your own wallet — no signup, no custody.
Everything above is one page away: yes token staking.