Read the buy function in verified source and find the require or custom error guarding remaining allocation. Confirm it mutates state before any external call. If the decrement sits after a token transfer or a callback, a reentrant path can consume allocation twice. On BscScan, open the sale contract's transactions, sort by block, and read the transaction index within each block to reconstruct the actual fill order. Count reverted buy attempts per block against successful fills in the same block. An address appearing twice in one block with one revert and one success tells you the sender retried inside the same block.
Thin liquidity makes this worse in a way the logs show plainly. When the remaining allocation is small relative to typical block inclusion, a handful of transactions can exhaust it inside one block, and the builder's sequencing decides the fill order entirely, not anything you set. Pull the block that contains the last successful fill and count how many buy calls it holds. If that block carries more buy calls than the allocation could satisfy, the builder decided the sale, not your wallet. Decision rule: if the remaining allocation at your submission block is smaller than the number of pending buy calls you can see in the mempool, treat your transaction as a lottery ticket with a gas cost, not a purchase.
Oversubscription is the normal case in a pro-rata sale, not an edge case, and that single fact changes what you control. The contract accumulates a per-user deposit balance in a mapping during the sale window and stores a global total. At close, allocation is user_deposit * sale_cap / total_deposits, with the remainder either refunded or rolled. Your fill is unknown until the last deposit lands, so the only variable you control is size relative to the final total, not speed. Speed buys nothing here.
Open the verified source and read the deposit function alongside the settle or finalize function. Check whether the share is computed with integer division and where the dust goes. Integer division leaves a remainder the contract may never distribute, and refunds that require a manual pull stay stranded in the contract balance. On BscScan, open the contract's. Events tab and confirm a Deposit event carrying user and amount, plus a Claim or Refund event. Recompute one user's fill from the deposit logs and compare it to the amount actually transferred in the claim transaction. A mismatch between the computed share and the transferred amount is the dust, and it belongs to whoever the contract names as recipient.
Missing receipts are the practical edge case, because the settle transaction is the one that matters and a failed read of it leaves you guessing. If eth_getTransactionReceipt returns null for the finalize hash, the transaction is either pending or was dropped, and the contract balance still holds the deposits. Do not assume settlement from the presence of a Deposit event alone. Confirm the finalize transaction's status field is 0x1 before you treat any computed share as final. Decision rule: if the finalize receipt is missing or its status is not success, your pro-rata claim is still provisional and the contract balance is the only settled fact.
The seed source is the whole game in a lottery allocation. Entry writes your address into a ticket structure and increments a counter; the draw reads a seed at a settlement block and maps it onto the ticket index range. A blockhash-derived seed is manipulable by the block producer. An oracle or commit-reveal seed is not, provided the commit closes before the reveal. Your odds are tickets_held / total_tickets at settlement, and buying more tickets changes the denominator for everyone.
Trace the draw function's seed argument back to its source in the verified source. Check whether the contract emits a TicketPurchased event with an index and a Drawn or WinnerSelected event with the seed. Confirm the settlement block number in the draw transaction receipt and verify the seed against the referenced blockhash with eth_getBlockByNumber. If the seed block is fixed and public before entries close, the draw is verifiable after the fact and hard to influence before it. If the producer chooses the seed block at draw time, the producer can grind it.
Two RPC endpoints disagreeing on the seed block is the failure mode that breaks verification, and it happens when one endpoint is lagging or serving a reorged view. Query the settlement block number from two independent endpoints and compare the block hash each returns. If the hashes differ, you are not looking at the same chain state and the seed you verify is not the seed the draw used. Decision rule: if the two endpoints return different hashes for the settlement block, discard the verification and re-query until they agree before drawing any conclusion about fairness.
The allocation branch is visible in the ABI and the event set before any sale opens. A pro-rata sale has a deposit mapping and a finalize step. A lottery has ticket counters and a seed argument. A first-come sale has an allocation-decrementing require in the buy path. Wallet tooling that surfaces the decoded method name and the target contract's verified status turns that into a pre-signature check rather than a post-mortem.
Decode the transaction's method selector against the published ABI and confirm the contract is verified on BscScan. Read the events emitted in the first minutes of the sale to see which event set actually fires. A contract that advertises pro-rata but emits a ticket event is running a different branch than its documentation claims. Cross-check any token or sale address against the project's published contract before signing. For YES token on BNB. Smart Chain the only address is 0xc22955b28e092060bc5d1e1f3b9d4dcd81091111, the only site is https://yesswap. vip, and the only handles are @web3yesswap on Telegram and X.
Timing is the part tooling cannot compress for you. The eth_call and the source read happen before you sign and take as long as your own reading does. The on-chain confirmation is bounded by block time on BNB. Smart Chain, so the interval between submission and a settled receipt is a small number of blocks, not minutes of waiting on a server. Decision rule: if the decoded method selector does not match the branch the sale's documentation describes, do not sign, regardless of what the interface shows.
Pro-rata breaks on integer dust and on refunds that are queued but never pulled, leaving stranded balances in the contract. Compare the sum of Claim and Refund transfers against total_deposits in the contract's token balance. A persistent gap is either undistributed dust or unclaimed refunds, and both mean the sale did not fully settle.
Lottery breaks when the seed is producer-influenced or when the ticket range is recomputed after entries close. Verify the seed's provenance in the draw transaction and check whether the ticket total was snapshotted before or after the last entry. Both checks are reads, not simulations.
The common thread is that each model's failure lives in a different field: the contract's token balance for pro-rata, the draw transaction's seed reference for lottery, the per-block transaction index for first-come. Knowing which field to open tells you which model you are actually exposed to. That is the difference between reading a launchpad and guessing at one.
Cost is the same shape across all three and it is paid in gas either way. A reverted buy on first-come costs gas and returns nothing. A pro-rata deposit costs gas once and a claim costs gas again, and an unclaimed refund costs nothing to leave but is stranded value. A lottery entry costs gas per ticket, so the cost scales with the number of entries while the odds scale more slowly. Decision rule: if the gas cost of your planned entries exceeds the expected value of the allocation at your computed odds, the rational move is not to enter. 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 improves ordering odds within a block but does not guarantee inclusion, and a reverted transaction still burns gas.
No, because the denominator is the final total deposits, which is only known at close.
Contract verification status, the deposit or buy function's state mutation order, and the event set emitted during the sale.
Trace the seed argument in the draw transaction to its source block, then confirm that blockhash against eth_getBlockByNumber on two independent RPC endpoints.
The allocation was already consumed by an earlier transaction in the same block, so the require guarding remaining allocation fails and your gas is spent.
Every card below opens the live product with your own wallet — no signup, no custody.
Everything above is one page away: bsc wallet tools.