Knowing how buy YES token works is what separates a clean trade from a costly one. Attribution runs per trade rather than per epoch. A downline swap in a recent block is already inside the counter that the next tier read will consume. Pull the volume-accounting read for your address, note the value, then re-read it after a known downline swap confirms. On BscScan, open the YES token at 0xc22955b28e092060bc5d1e1f3b9d4dcd81091111 and inspect the Transfer and Swap events for that block to see the trade the counter is reacting to. A thin pair makes this harder: when the YES/WBNB pool is shallow, a modest buy prints a large. Transfer, but the router may split the order across paths, and only the leg that touches the pair increments the counter. Match the log's `to` field against the router at 0x0c9a2351e6e982b16559a68767003e7f4d02fb0d before you credit the full amount.
If two RPC endpoints disagree on the counter, trust neither until you have the block number. Call `eth_blockNumber` on both, then request the volume read pinned at the lower height. State reads at a fixed block are deterministic, so a mismatch at the same height means one node is lagging or pruning, not that the contract is inconsistent. A missing receipt is a different fault: `eth_getTransactionReceipt` returning null means the node has not indexed the block, so retry against a second endpoint before concluding the trade failed.
Tier is a function of your own staked position and the volume your downline generates. The staking contract holds the first as a balance. The referral contract holds the second as an incrementing counter. Because they live in separate storage, a wallet can carry a large stake and still miss a volume threshold, and the inverse holds just as cleanly.
The resolver compares both inputs against the published thresholds and returns the lower qualifying tier. That is the failure path most users meet after unstaking. A wallet that clears the volume bar but has withdrawn its stake falls back a level with no change in downline activity at all. Call the tier-read function for your address, then read the staked balance and the volume counter as separate fields and identify which one sits under its threshold.
Timing of each input is visible in its own event stream. Stake and Withdraw on the staking contract mark when your own input moved. Volume events on the referral contract mark when the downline input moved. Both are queryable on chainId 56, and neither requires the dashboard to agree with them.
Decision rule: if the two inputs resolve to different tiers, act on the lower one and fix the binding constraint first. If your stake clears its threshold and volume does not, buying more YES does nothing for tier; only downline activity moves the counter. If volume clears and stake does not, restaking is the single lever. Verify the resolver's choice by calling the tier-read function and comparing its return against each input read separately at the same block height.
Counters accrue continuously, but tier resolves at a snapshot boundary. That design keeps the payout path cheap. A swap does not walk twenty ancestors and re-evaluate thresholds for each one. The cost is latency, and the latency is the thing people misread as a bug.
A downline that crosses a threshold in a recent block does not lift your tier until the snapshot that reads the counter runs. The practical rule is to compare two blocks, not two numbers. Read the last snapshot block recorded by the contract and compare it with the block of the qualifying downline trade. If the trade block is later, the tier change is pending and a claim now settles at the old multiplier.
Confirm what the contract actually read rather than what the counter shows now. Query eth_getLogs over chainId 56 for the snapshot event at that block and take the counter value carried in the log. The live counter can be higher than the snapshotted one, and only the snapshotted value entered the tier computation. Cost note: an `eth_getLogs` call over a wide block range is the expensive part of this audit, so bound the range to the window between the trade block and the snapshot block rather than scanning from genesis. That keeps the query to a handful of blocks and returns in seconds on a public endpoint.
Tier is consumed as a multiplier inside the distribution function, not stored as a per-user badge. When fees route through 0x0c9a2351e6e982b16559a68767003e7f4d02fb0d, the split between protocol, stakers and referral rewards is computed using the tier value read at distribution time. A tier change therefore alters the arithmetic of the next distribution and leaves past ones untouched.
The read-at-distribution design has a sharp edge. A downgrade after unstaking applies at the very next distribution even if the previous one paid at the higher rate. Nothing is retroactive in either direction. Trace a distribution transaction from the router and inspect the internal calls that read the tier for each recipient to see where the value enters the arithmetic.
Recover the multiplier that was actually applied from the transfer itself. The Transfer events to your address from the router give the realized amount. Divide that by the pre-multiplier share to back out the multiplier. Two distributions on either side of a tier change show the shift directly, with no need to trust a UI label. If the router emits no internal call you can decode, fall back to the trace: `debug_traceTransaction` on the distribution hash shows the `STATICCALL` into the tier-read function and the value it returned, which is the multiplier the arithmetic used.
Every input to the tier function is a state variable reachable by eth_call, and every change to those variables emits an event. That makes the tier reconstructible from first principles. Enumerate downline addresses from registration events, sum their qualifying volume from token and router logs, read your staked balance, then apply the published thresholds yourself.
The dashboard is a convenience view over the same state. Where it disagrees with your reconstruction, the logs win, because the logs record what the contract executed. Use eth_getLogs on chainId 56 filtered by the referral contract's registration event to enumerate the tree, then sum volume from the YES token at 0xc22955b28e092060bc5d1e1f3b9d4dcd81091111 and the router at 0x0c9a2351e6e982b16559a68767003e7f4d02fb0d. Read the staked balance and tier by eth_call.
Three silent failures account for most mismatches. Volume credited to a different registered referrer leaves your counter flat. A stale epoch means the trade landed after the snapshot. Self-referral exclusion means a wallet you control that registered under you may not count the way you expect. Confirm the domain is yesswap. vip and the only official handles are @web3yesswap before acting on any number.
Decision rule for a pending upgrade: if the qualifying trade block is later than the snapshot block, wait for the next snapshot before sizing a new position, because a claim now pays at the old multiplier. If you cannot find the snapshot event at all, the node is missing logs; switch endpoints and re-query before you assume the snapshot never ran. 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 YESswapAttribution follows the referral pointer and the qualifying trade path the contract records, so a swap that never touches the YES/WBNB pair or the router produces no counter increment for your address. Verify by reading your volume counter before and after the trade.
The resolver takes the lower of your staked input and your volume input, so the drop appears when tier is next resolved rather than at the withdrawal block. Compare the Withdraw event block against the last snapshot block to see which tier the next distribution will use.
Self-referral exclusion is one of the three common accounting failures, and a wallet registered beneath itself can end up with volume that does not move its own counter. Check the stored referrer field on the registration record before assuming your own trades feed your tier.
The referral program is a 20-level structure, so a single qualifying buy can increment up to twenty ancestor counters. Depth beyond that contributes nothing, and a break in the stored tree stops propagation at the break.
Thresholds are published values the resolver compares against, and the authoritative check is the tier-read call for your address plus the two input fields. If a published figure and the resolver disagree, the resolver is what executes.
Every card below opens the live product with your own wallet — no signup, no custody.
Everything above is one page away: swap tokens on bsc.