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

Automated Trading Bot BSC: From commit to claim: tracing a BSC launchpad sale

Updated 2026-12-02 · YESswap

Short answer. A commit is a payable call that moves BNB out of your wallet and into contract storage, not into the project's treasury. Everything after that — allocation, refund, claim — is a second signed transaction against state the contract already holds.
Best match for this articleAI quantAutomated strategies and a market-control console for your token.

Where your BNB actually sits after the commit transaction

Knowing how automated trading bot BSC works is what separates a clean trade from a costly one. The commit function is payable, and that modifier is the whole story. Your BNB leaves the wallet the moment the transaction is mined and lands in the sale contract's own balance. The front end never holds it, and the project team cannot spend it until the contract's settlement branch releases it. What the call writes is a storage mapping keyed by your address, plus an increment on a total-committed counter the contract checks against its hard cap.

Two settlement branches exist, and the source tells you which one you are in. A fixed-price sale mints against a hard cap and simply stops accepting commits when the counter reaches it. An oversubscribed sale either reverts the excess at commit time or scales every recorded amount pro rata at close. That difference decides whether your BNB converts or comes back.

Read it yourself before signing. Open the sale contract on BscScan, find the commit function, and confirm three things: the payable modifier, the mapping it writes, and the require chain above the write. Then switch to the Events tab and locate the commit event; its indexed address field is what you will filter on later.

The verification is one eth_call, not a screenshot. Call the public getter for the per-address limit and the total-committed counter against chainId 56, then compare the counter to the hard cap constant in the verified source. If the counter sits at the cap, your next commit reverts regardless of gas, and no front-end refresh changes that.

Why a scripted commit fails differently from a manual one

Per-address caps and a global hard cap usually live in the same require chain, evaluated in order. A bot firing repeated transactions from one key clears the first commit and then reverts on the per-address ceiling every time after, spending gas on each retry with zero additional allocation. The contract is not rate-limiting you; it is enforcing a storage value your first transaction already set.

Spreading commits across many funded addresses changes the binding constraint rather than removing it. Contract logic stops being the limit and block inclusion becomes it, which means gas price and mempool position decide the outcome. Whitelisted sales add a third gate: the commit function checks a merkle proof or an owner-set mapping, and a script that skips that check reverts before any state is written.

Edge cases cluster around the RPC, not the contract. A thin-liquidity or low-traffic sale can leave your commit pending long enough that the cap fills from another address first, and the transaction then reverts on inclusion. A missing receipt from your node is not a failed commit; re-query the same hash against a second endpoint before resending. A blind resend from the same key either reverts on the per-address cap or, worse, double-commits if the cap allows it.

Two endpoints disagreeing is the case that costs money. Compare blockNumber on both eth_getTransactionReceipt responses. If one returns a receipt and the other null, the lagging node is behind, and the receipt with the higher block is the truth. Never treat a null receipt as final until a second independent RPC confirms it.

The event log, not the transaction hash, proves the credit

A successful hash proves only that the call did not revert. The credit lives in the log and the mapping. The commit event typically carries your address as an indexed topic and the amount as data, so you filter by participant rather than scanning a block.

Use eth_getLogs with the contract address and the commit event's topic0, filtered by your address as topic1. Cross-check the returned amount against the per-address getter via eth_call. Both calls are reproducible against any BSC RPC, which is the point: the front end's displayed number is a read of that same field and can lag the chain by a block or more.

One field to inspect that most walkthroughs skip: the block timestamp on the log. If the sale enforces a per-phase window, that timestamp is what the contract will compare against at claim, not the time you saw the confirmation in your wallet.

Decision rule: if eth_getLogs returns your commit event with a non-zero amount, stop resending and wait for settlement. If it returns nothing but the receipt status is success, the event signature you filtered on is wrong. Pull topic0 from the verified ABI rather than from a block explorer's decoded view, which can mislabel overloaded events.

The failure paths that make a claim revert

Claim windows are time-bounded and frequently gated on a settlement flag the owner sets after close. Call claim before that flag flips and the require reverts. Call after the window closes and it reverts too. Both cost gas and leave the allocation unclaimed.

Oversubscription introduces a pull pattern. Where the contract refunds the excess, the refund is often a separate function each address must call rather than an automatic transfer, which leaves BNB sitting in the contract until claimed. The contract balance after close is the tell.

Token-side failures surface at the same moment. If the sale distributes a BEP-20, a claim reverts when the distributor's balance or allowance is short. Read the claim function for the settlement-flag require and any block. timestamp bounds, then call balanceOf on the distributor via eth_call. A short balance predicts the revert before you pay for it.

Decision rule: if the settlement flag reads false, do not call claim; poll the flag getter, and send only after it flips. If the flag is true and the distributor's balanceOf is below your allocation, the revert is the distributor's problem, not yours, and waiting costs nothing but time. If the claim window has a hard close, that is the one deadline worth setting a reminder for.

Checking the sale page against the chain before you sign

Only one domain is official: yesswap. Only one handle is official: @web3yesswap on Telegram and X. A sale page served anywhere else is not the project's, and the address in its transaction prompt deserves the same suspicion.

Every action in this flow is signed in your wallet. A page that asks for a seed phrase or a private key has left the non-custodial model no matter how polished it looks. The YES token on BSC is 0xc22955b28e092060bc5d1e1f3b9d4dcd81091111 and the fee router is 0x0c9a2351e6e982b16559a68767003e7f4d02fb0d. Any other address presented as either should be treated as unverified until its source matches.

The check takes under a minute. Compare the contract address in the wallet's transaction prompt against the one you read on BscScan, confirm the address bar reads yesswap. vip, and verify that the token contract at 0xc22955b28e092060bc5d1e1f3b9d4dcd81091111 reports 18 decimals and the BEP-20 interface before approving anything.

Cost and timing follow from the same reads. A commit costs one transaction's gas plus the BNB you commit; a claim costs a second transaction's gas, and a refund a third if the sale uses the pull pattern. Nothing in this flow settles server-side, so the clock you care about is block time on chainId 56, not a countdown rendered by the page. 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 committing BNB send it to the project team immediately?

The BNB sits in the sale contract's balance until the settlement branch releases it, and the commit only writes your address and amount into contract storage.

Why does my commit succeed but my claim revert?

Usually the settlement flag the owner sets after close has not flipped, or the claim window has closed, or the distributor's token balance is short. Each is a separate require in the claim function.

Can a script get around a per-address cap?

Not within one address. The cap is a storage value the first commit sets, so every retry from that key reverts. Spreading across addresses shifts the constraint to gas price and block inclusion.

Which event confirms the contract credited my address?

The commit event, filtered by your address as an indexed topic via eth_getLogs. Cross-check the amount against the per-address getter with eth_call.

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: ai quant trading bsc.

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