YESswap
English简体中文繁體中文日本語한국어РусскийالعربيةEspañolPortuguêsFrançaisDeutschTiếng ViệtBahasa IndonesiaTürkçe

On Chain Research BSC: Due diligence on a BSC token sale: five checks

Updated 2026-12-02 · YESswap

Short answer. A sale page is marketing served by the project; the contract is code executed by validators, and only the second one binds anyone. Here is the order of checks that discards a bad sale in the fewest calls.
Best match for this articleAI researchSmart-money flow, sniper tracking and AI push, refreshed on-chain.

Pull the sale address from the calldata, not the page

Knowing how on chain research BSC works is what separates a clean trade from a costly one. Verification status is binary and it gates the rest. On the Contract tab, confirm the source is verified and that the compiler version and optimization settings reproduce the deployed bytecode; an unverified sale contract converts every later check into guesswork, because you would be reading a decompiler's approximation of the logic. Once verified, read the payable entry point and answer three questions. Does it forward BNB onward with `transfer` or `call` inside the same function? Is there a mutable `owner`, `setOwner` or `setRecipient`? Does `receive` or `fallback` accept value outside the sale window?

The forwarding question matters most, and internal transactions settle it. Take any prior contribution to that address and open its Internal Txns tab. Value that lands in the sale contract and stays there creates a claim path you can enforce. Value that is passed through to an EOA in the same transaction leaves you holding a promise, and recovery depends entirely on the operator's goodwill. A sale contract can be verified, audited-looking and funded while doing this on every purchase.

Missing receipts are the edge case that breaks this check. If the node you queried pruned the block or returned a receipt with an empty internal-trace array, absence of a forwarded transfer is not evidence of custody. Re-query the same transaction hash against a second RPC endpoint and compare the trace arrays; if the two disagree, treat the sale as unverified and stop. Decision rule: if the trace is unavailable on two independent endpoints, do not sign, because you cannot distinguish a locked pool from a pass-through.

Prove the tokens exist before you believe the allocation

Accepting BNB requires no token balance. A sale contract with an empty treasury will still take your funds and revert your claim later, so measure the balance yourself rather than trusting a dashboard. Open the token contract's. Read Contract tab, call `balanceOf` with the sale address as the argument, and divide the returned uint256 by 10^18 for an 18-decimal BEP-20. That integer is the entire allocation backing every purchase.

Then ask whether that balance can leave without you. Search the token source for `pause`, `blacklist`, `setBlacklist` and any `onlyOwner` function that writes to a balance mapping or blocks transfers. An owner-controlled blacklist is the quiet failure: your purchase is real, your balance is real, and your address cannot transfer the tokens afterward, so the position is on-chain and unsellable. The same reading applies to the sale contract, where an owner-gated `transfer` of the token balance means your purchase is an unsecured claim on the operator rather than on a locked pool.

Thin liquidity changes the arithmetic. A `balanceOf` that covers the allocation but sits in a pool with negligible depth means your exit moves the price against you by more than the sale discount. Compare the sale address's balance against the pool's reserve in the same call; if the treasury is a large fraction of circulating supply, the allocation is real and illiquid at once. Decision rule: if the sale balance exceeds what the pool can absorb without a double-digit price impact, size the position to the pool, not the allocation.

Measure the fee router instead of reading the price

Two fee surfaces exist and they are checked differently. The first lives in the token: read the verified `transfer` function and trace every arithmetic operation applied to `amount` before the balance write. A tax is a subtraction that routes a slice to a fee address, and the real rate is the divisor in that expression, not the percentage in the documentation. The second lives in the sale contract, as an external call to a router that takes a cut of the value before any tokens are allocated.

For YESswap the fee router on BNB. Smart Chain is 0x0c9a2351e6e982b16559a68767003e7f4d02fb0d, and a genuine integration leaves fingerprints you can query. Run `eth_getCode` against that address to confirm it is a contract rather than an EOA wearing a router label. Then filter the token's `Transfer` logs by that address as sender or recipient and check that the flow matches the fee the sale advertises. A destination in the logs that differs from the published router means the fee is unexplained, and an unexplained fee is a permanent discount on every exit.

The cheapest confirmation is a simulated call. Use `eth_call` on the purchase function with your intended BNB value from your own address, then compare the token amount the call returns against the amount the page quoted. The delta is your all-in cost, taxes and router cut included, measured rather than asserted. The call costs nothing and returns in one round trip, so run it against two endpoints and discard the result if the returned amounts differ.

Decode the purchase logs to see whether the cap was honoured

Events are the only tamper-resistant record a sale produces. A contract that emits a purchase event carrying buyer, amount and timestamp lets you reconstruct the entire history with `eth_getLogs` over the sale's block range, decoded against the ABI. A contract that emits nothing forces you to infer state from balance deltas, which cannot distinguish a purchase from an operator transfer.

Three decoded patterns deserve attention. Repeated purchases from one address inside a single block suggest a scripted bypass of a per-wallet cap. A purchase event with no matching value transfer in the internal transactions of the same block suggests a mint or an operator allocation dressed as a sale. A hard cap enforced only by a front-end check, with no `require` against the cap variable in the purchase function, is not a cap at all.

Cross-check the arithmetic against storage. If a public getter exposes total raised, compare its value at a recent block with the sum of decoded purchase amounts; a mismatch means some path writes state without emitting. Where no getter exists, read the storage slot directly and confirm it moves only when a purchase event fires.

`eth_getLogs` has a range limit that bites on long sales. Most public BSC endpoints cap the block span per query, so a sale that has run for a long time returns an error rather than a partial set. Page the range in fixed windows and concatenate, then confirm the decoded event count matches the count the block explorer reports for the same contract. Decision rule: if the two counts differ, the log set is incomplete and the cap analysis is void.

Match the full address last, because it invalidates everything

Every check above is valid only for the contract you actually read. Address poisoning exploits exactly this: a lookalike shares the leading and trailing characters of the real address, so a glance at the truncated form in a wallet history confirms the wrong contract. Comparison must be mechanical and complete. Read all 42 characters against the published string, not the first four and last four.

The YES token on BNB. Smart Chain is 0xc22955b28e092060bc5d1e1f3b9d4dcd81091111, and that is the only contract address to copy. The only official domain is https://yesswap. vip, with Telegram and X both at @web3yesswap. A handle differing by one glyph is a different account, and a domain differing by one character is a different server. Confirm the domain in the browser bar after navigation, not from a link preview.

One structural fact closes the loop. YESswap is non-custodial: every transaction is signed in your wallet, no signing happens server side, and the site never asks for a private key or seed phrase. Any flow that requests a seed phrase, or that has you approve a spender you did not verify, has left the official surface regardless of how the page looks.

Two RPC endpoints disagreeing on the address is the failure this check exists for. Query `eth_getCode` for the candidate address on both endpoints and compare the returned bytecode hash; identical code on both is the minimum bar, and a mismatch means one endpoint is lying or lagging. Decision rule: if the bytecode hashes differ, discard the sale and re-derive the address from the wallet's `to` field. The whole procedure above takes a handful of calls and costs nothing but gas you never spend. 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 YESswap

Frequently asked questions

Does a verified contract on BscScan mean the sale is safe?

Verification proves the published source compiles to the deployed bytecode. It says nothing about whether the owner can withdraw the token balance, pause transfers, or change the price.

How do I check the token allocation behind a sale without reading Solidity?

That integer is the allocation backing every purchase.

What does a fee router address tell me?

It shows where a slice of each transfer goes. If the destination in the logs does not match the published router at 0x0c9a2351e6e982b16559a68767003e7f4d02fb0d, the fee is unexplained.

Can a sale contract emit no events and still be legitimate?

It can, but you then have no tamper-resistant purchase record and must infer everything from balance deltas, which cannot separate a buyer from an operator transfer.

Why verify the address last rather than first?

Because every earlier check is only valid for the contract you are reading. A lookalike sharing the first and last four characters invalidates all of them at once.

Keep reading

Where do you want to go?

Every card below opens the live product with your own wallet — no signup, no custody.

Go straight to the tool

Everything above is one page away: smart money tracker bsc.

AI researchStake and mineYour wallet signs every step. Nothing is custodied.