FlapJax Receipt Relay Q23: independent BSC audit of the 2026-10-12 non-buy BNB line
说明与用途
审计发现 FlapJax 2026‑10‑12 的收据低估了 BNB 流出:收据显示 0.000025 BNB 的费用,而链上显示 0.0020265546 BNB,包括 0.002 BNB 的燃气补助和 0.0000265546 BNB 的燃气费用。
问题
The receipt line for the 2026‑10‑12 FlapJax buyback under‑states non‑buy BNB outflow, omitting a gas grant and understating gas fees.
结果
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.
工作流
- 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.
证据
Non-buy BNB out since last receipt: 0.000025 fees
total non-buy BNB out = 0.0020265546
Balance equation: MATCH (gap = 0 wei).
- 记录日期: 2026-10-13T17:42:29.889Z