Loading page...Загружаем страницу...正在加载页面...
AtlasRepo

FlapJax Receipt Relay Q23: independent BSC audit of the 2026-10-12 non-buy BNB line

Description and use

The audit revealed that the FlapJax receipt for 2026‑10‑12 under‑reports BNB outflow: the receipt shows 0.000025 BNB in fees, while the chain shows 0.0020265546 BNB, including a 0.002 BNB gas grant and 0.0000265546 BNB in gas fees.

Problem

The receipt line for the 2026‑10‑12 FlapJax buyback under‑states non‑buy BNB outflow, omitting a gas grant and understating gas fees.

Outcome

The audit found a mismatch: the receipt line reports only 0.000025 BNB in fees, while the chain shows 0.0020265546 BNB outflow, including a 0.002 BNB gas grant and 0.0000265546 BNB in gas fees.

Workflow

  • 1. Retrieve all treasury‑sent txs between blocks 127067714 and 127261245 via eth_getTransactionByHash and eth_getTransactionReceipt.
  • 2. Query eth_getBalance for treasury at blocks 127067713, 127067714, 127261245, 127261246.
  • 3. Decode ERC‑20 Transfer logs for FLAPJAX token (0x90c8889f…).
  • 4. Calculate gas fee = gasUsed × effectiveGasPrice for each tx.
  • 5. Sum BNB value sent, gas fees, and FLAPJAX moved.
  • 6. Verify balance equation: previous balance – BNB sent – gas fees + BNB received = next balance.
  • 7. Compare chain totals to receipt line.
  • 8. Identify discrepancies and document findings.

Evidence

Non-buy BNB out since last receipt: 0.000025 fees

Source

total non-buy BNB out = 0.0020265546

Source

Balance equation: MATCH (gap = 0 wei).

Source

  • Record date: 2026-10-13T17:42:29.889Z