Knowing how BSC launchpad IDO works is what separates a clean trade from a costly one. Calling approve(spender, amount) on a BEP-20 contract executes two things, and neither one touches your balance. The function writes a uint256 into the allowance[owner][spender] slot and emits. Approval(owner, spender, value), with owner and spender marked indexed so the log can be filtered on either. Your token quantity is identical before and after the call, which is why no transfer entry appears in wallet history. The storage slot is the authority; the event is the receipt.
Filtering by your own address alone works because the owner field is indexed. You do not need to know the spender in advance to enumerate every grant you have ever made against a given token. On the YES contract at 0xc22955b28e092060bc5d1e1f3b9d4dcd81091111, open the Events tab on BscScan and filter topic0 for the Approval signature hash. The equivalent programmatic route is eth_getLogs with address set to the token, topics[1] set to your address left-padded to 32 bytes, and fromBlock set to the block of your first interaction with that contract.
Cross-check every hit with a second call before you believe it. Invoke allowance(owner, spender) through eth_call and compare the returned uint256 against the value in the event you just found. A match confirms the event still describes state. A mismatch means something happened after that log entry, and the section on misleading logs explains what.
Two RPC endpoints can disagree on the same query, and the disagreement is itself data. Run the identical eth_getLogs call against a second provider and diff the returned log arrays by (transactionHash, logIndex). A missing log on one endpoint usually means that node pruned or lagged; a log present on both but absent from allowance() means state moved after the block you queried. Pin both calls to the same block number with the blockTag parameter so you are comparing one state, not two.
One launchpad participation is rarely one approval. A raise-currency approve lets the sale contract pull your funds at settlement, a second approve may authorize a separate sale address, and adding liquidity afterward introduces a router approval on top. Each grant is a distinct spender address and a distinct event. Settlement happens through transferFrom at a moment you are not watching, so the approval is the only pre-authorization the contract ever needs. The project's published figure for how many approvals a given sale requires is the number to reconcile your log against.
Read topics[2] from each event as the spender and build the list. Map every entry to a contract you deliberately chose: the sale address published for the IDO, or the YESswap fee router at 0x0c9a2351e6e982b16559a68767003e7f4d02fb0d. An unmapped spender is the finding, not a rounding error. Before you assume the spender is even a contract, call eth_getCode on the address; an externally owned account holding an allowance can move your tokens the same way a contract can, and it has no source to read.
Apply a decision rule at the mapping step: if a spender address does not resolve to a contract you can name and its allowance() is nonzero, treat it as hostile until proven otherwise and revoke. If it resolves to the YESswap fee router or a sale address you participated in, the grant is expected and you can leave it. If eth_getCode returns empty bytecode, the spender is an EOA and the grant is a standing transfer right to a key you may not control.
The unlimited encoding is the maximum uint256, 2^256-1, which explorers render as a long decimal string that resembles nothing a human typed. Anything below that ceiling is a bounded allowance scaled by the token's decimals. YES uses 18 decimals, so divide the raw value by 10^18 to recover the human amount. A value that is neither the maximum nor a clean decimal multiple is worth a second look at the contract's source.
Overwrites, not accumulation, govern the slot. A second approve to the same spender replaces the stored value outright, so the most recent event per (owner, spender) pair is the one that counts. Sort your events by block number, take the last entry for each spender, and treat everything earlier as history. Then confirm with allowance(owner, spender) that the live return equals that last event's value.
Mismatches carry diagnostic weight. If allowance() disagrees with your newest event, either your fromBlock filter missed a later grant or the token implements non-standard approval behavior. Both are reasons to widen the scan rather than close the audit.
Cost and timing are small and bounded. Each eth_call and each eth_getLogs is a read and costs no gas; only the revoke is a signed transaction, and its gas is paid in BNB at the network rate current when you sign. A log scan over a token's full history returns in seconds on a responsive endpoint, while a range that spans millions of blocks may need chunking because most providers cap the block span per query. Budget one revoke transaction per stale spender, not one per token.
Zero-value events accumulate and never disappear. A revoke emits a fresh Approval with value zero, and the original grant stays on chain permanently. A naive scan that lists every event reports a live approval that no longer exists. Drop zero-value entries before you build the spender list, and keep the newest event per pair as the state candidate.
Some tokens emit. Approval inside transferFrom when they decrement the allowance. Your log then contains events you never signed, which inflates the count and can invent spenders that were never granted anything. Compare the number of Approval events against the number of approve calls in your own transaction history; a surplus is the signature of this behavior. The FAQ entry on unsigned approvals and this check describe the same mechanism from two directions.
Proxy routing hides the implementation you audited. An approval granted through a proxy appears under the proxy's address, so the verified source you reviewed may not be the code that executes transferFrom. Read the implementation slot or check the proxy's verified source on BscScan before trusting any decoded label the explorer prints. Decoded labels are hints, not evidence.
A missing receipt is not a missing approval. If eth_getTransactionReceipt returns null for a revoke you believe you sent, the transaction is pending or was dropped, and the allowance slot is unchanged. Re-query the receipt by hash before re-sending; a duplicate revoke wastes gas but cannot double-spend, because the second call writes zero over zero.
A revoke is an approve(spender, 0) call to the token contract, signed in your wallet. It writes zero into the allowance slot and emits Approval with value zero. It does not delete the historical event, does not close the spender contract, and cannot reverse a transfer that already happened. The transaction's only job is to change one uint256.
Proof of success requires two checks, not one. After the revoke confirms, call allowance(owner, spender) and confirm it returns 0. Then re-run your eth_getLogs filter and confirm the newest event for that pair is the zero-value entry at the revoke's block height. Both checks passing means the slot and the log agree.
Signature custody matters here. On YESswap every transaction is signed in the user wallet, the site never asks for a private key or seed phrase, and no signing happens server side. A revoke must therefore originate from your wallet; any flow that offers to revoke on your behalf is not the official one. Verify the token address against 0xc22955b28e092060bc5d1e1f3b9d4dcd81091111 and the domain against https://yesswap. vip before you sign anything.
Decision rule for the final pass: if allowance() returns zero for every spender on your list, the audit is closed. If any spender remains nonzero and unmapped, revoke it before your next trade. If a spender is the fee router and you still trade on YESswap, the grant is functional and revoking it only forces a fresh approve next time. 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 writes an allowance slot and emits Approval; your balance changes only when a spender calls transferFrom.
Some tokens emit Approval during transferFrom when they decrement the allowance, so the log includes events you did not initiate.
If it equals 2^256-1 it is the maximum uint256, the conventional unlimited encoding; anything smaller is bounded and scaled by the token's decimals.
The historical Approval stays on chain; only the newest event per owner-spender pair reflects current state, confirmed by allowance().
Approval events persist and allowance() still returns the stored value regardless of your current balance.
Every card below opens the live product with your own wallet — no signup, no custody.
Everything above is one page away: bsc launchpad ido.