Four trust boundaries sit between your signature and a wrapped balance. The source contract locks or burns and emits an event. An off-chain relayer or validator set observes that event and attests to it. The destination contract verifies the attestation against a stored root or a signature threshold. Then it mints or releases. Each stage trusts something different, so each stage fails differently.
Start with the event, not the interface. The source contract's deposit function emits a record carrying sender, amount, destination chain ID and a nonce. The destination contract emits a Claim or Mint event keyed to that same nonce. If the nonce is not consumed on first claim, the pipeline has no memory and the same deposit can be presented again.
Decision rule: if the destination contract has no processed-message mapping and no consumed-nonce field, treat every deposit as replayable and size your position to what you can afford to lose. If the root-updater is an EOA with no timelock, assume the attestation set can be swapped between your deposit and its claim. Neither condition is fatal on its own, but together they mean the bridge operator holds unilateral mint authority over your funds.
Accounting drift is quieter than replay and it compounds on every deposit. The invariant for lock-and-mint is simple: wrapped total supply on the destination equals the locked balance on the source. Fee-on-transfer tokens break it immediately. The contract credits the nominal amount while the vault receives less by the fee.
Rebasing and mintable source tokens break the same invariant from the other side. A balance that changes after lock no longer matches the supply minted against it. Admin withdrawal functions break it a third way, moving collateral out without burning wrapped supply. None of these require an attacker. The gap simply widens.
Verification is two reads and one subtraction. Pull totalSupply of the wrapped token on the destination chain. Pull balanceOf of the source vault for the underlying asset on BscScan. A persistent positive difference between the two is drift. For fee-on-transfer assets, decode a Deposit transaction's Transfer logs and compare the amount field in the Deposit event against the actual token delta that landed in the vault.
Edge case: the two reads can disagree because they were taken at different blocks. Pin both to the same block by passing a block number to balanceOf and reading totalSupply at that height, otherwise a large mint landing between your two calls reads as instant insolvency. A second edge case is a vault that holds the underlying across several token contracts; sum every balanceOf the bridge's own documentation lists before you subtract, or you will overstate the gap.
Replay is the obvious failure mode, which is why it deserves second billing. Two shapes exist in practice. In the first, the destination contract verifies a signature over recipient, amount and chainId and never marks the message hash as processed. The identical signed payload can be submitted until the pool empties. In the second, the nonce is stored per user rather than globally, so a user replays their own message across a reset or migration.
The defence is a mapping from message hash to boolean, written before the external call. Order matters. A claim function that writes the flag after the token transfer carries a reentrancy-adjacent variant of the same bug.
Filter the Claim event by a single message hash in BscScan's Logs tab. More than one hit for the same hash is proof of replay. The RPC equivalent is eth_getLogs with the message hash as a topic. Read the processed-message mapping on the destination contract and check whether the write precedes the transfer in the verified source.
Decision rule: if the mapping write sits after the transfer in the verified source, do not bridge that asset regardless of audit claims, because the ordering bug is exploitable by anyone who can reenter. If the write precedes the transfer but the mapping is keyed per user, cap your exposure to a single deposit until you confirm the nonce is global.
Security budget is the number of independent keys needed to reach the threshold, multiplied by the cost of compromising each. It is not the advertised validator count. Contracts that store signers in an array and check a count of distinct recovered addresses are only as strong as the key management behind those addresses.
Three failure paths matter. A single multisig controls the set, so one compromised signer rotates all the others. An owner role changes the threshold without a timelock. Signers are EOAs whose keys sit on a hot server. In each case the on-chain signal is the same: whether threshold changes emit an event and whether a delay separates the change from its effect.
Read the owner or admin role on the destination contract, then read the threshold and signer-array variables. Check the admin's transaction history for setThreshold or updateSigners calls. Measure the block gap between such a call and the next large claim. A threshold change followed within a few blocks by a withdrawal is the pattern to look for.
Decision rule: if the threshold can be lowered by a single address with no timelock, treat the bridge as custodial and bridge only what you would hand that address directly. If threshold changes emit an event but the delay is zero, the event is a post-mortem record, not a warning.
Redemption is first-come-first-served against a finite vault, so the number that matters is free balance. Free balance equals the vault token balance minus claims already attested but not yet executed. A bridge with large TVL and a large attested-but-unpaid backlog can be effectively insolvent for new exits. Queue position determines whether your withdrawal clears, not headline collateral.
Read the vault's token balance via balanceOf on BscScan. Count Claim or WithdrawRequest events in a recent window that have no matching executed event. The gap between requested and executed withdrawals over that window is the queue. For a blockchain game bsc asset, check whether in-game withdrawals draw on the same vault. A shared vault means game exits compete directly with bridge exits for the same free balance.
Thin liquidity is the edge case that turns a queue into a loss. When free balance covers only a fraction of pending claims, the last claimants absorb the shortfall, and a dashboard showing total locked value hides it. Missing receipts are the second edge case: an executed event with no matching transfer log means the bridge marked a claim paid without moving tokens, so reconcile the two before trusting the executed count.
Five reads cover the cheap attacks. Destination processed-message mapping. Destination signer threshold. Source vault balanceOf. Wrapped totalSupply. Unmatched claim events in the recent window. Together they test replay protection, key concentration, collateral backing and queue depth before any signature leaves your wallet.
Distinguish the bridge type first, because the reads differ. A lock-and-mint bridge holds a vault balance of the native asset and mints a separate wrapped token. A liquidity network holds pools of the asset on both chains and pays from inventory, so there is no wrapped supply to compare. Applying the supply-versus-vault check to a liquidity network produces a false alarm.
Cost and timing: the five reads are free RPC calls, and a full pass against a single bridge takes minutes of manual work, not hours. If two RPC endpoints disagree on a balance, query a third and trust the block height both agree on; a single endpoint returning a stale height is the most common source of a false insolvency alarm. Verify the interface before the contract. The only official YESswap domain is https://yesswap. vip, with Telegram @web3yesswap and X @web3yesswap. The YES token contract on BNB. Smart Chain is 0xc22955b28e092060bc5d1e1f3b9d4dcd81091111 and the fee router is 0x0c9a2351e6e982b16559a68767003e7f4d02fb0d. Any address, handle or domain that differs is not official, and no legitimate flow ever asks for a private key or seed phrase. 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 YESswapThe destination contract's processed-message mapping combined with its signer threshold. Replay protection plus key concentration covers the two cheapest attacks.
Read the threshold variable, not the signer array length. A large set with a low threshold is weaker than a small set requiring all keys.
The vault receives less than the credited amount, so wrapped supply outruns collateral by the fee on every deposit, and the gap compounds.
Compare wrapped totalSupply on the destination to the source vault balanceOf at the same block height, then subtract attested-but-unexecuted claims from the vault balance to get free liquidity.
Every card below opens the live product with your own wallet — no signup, no custody.
Everything above is one page away: defi points leaderboard.