31Third: BatchTrade Diff

QuantstampFiles named in the report

Quantstamp reviewed 31Third (31Third: BatchTrade Diff) on 12 Jul 2024: 1 finding, 0 critical; it is marked fixed.

No open critical findings
Open the reportOpen 31Third’s security record

Report hosted on certificate.quantstamp.com.

Trustblock does not review code.

Findings1

Statuses are the security firm’s own, from its report.

SeverityOpenAcknowledgedFixed
Critical000
High000
Medium000
Low001
Low`MAX_WEI_IMPRECISION ` Might Not Be Enough in the FutureFixed

The amount mismatch of around 1 or 2 WEIs originates from a known issue in Lido Finance and possibly other similar protocols (see [Lido Finance issue #442](https://github.com/lidofinance/lido-dao/issues/442)). To address this, the team introduced an error threshold called `MAX_WEI_IMPRECISION` as a constant variable, allowing transfers with a 1 or 2 WEI discrepancy from the expected value. However, this error is anticipated to increase very slowly over time, potentially reaching 5 WEIs in 20 years. If unresolved at the source, the discrepancy could reach 10 WEIs, necessitating a contract update to increase the threshold.

Contracts in scope

No deployed address is recorded for this audit.

The report names a repository or files. Open the report to see its scope.

Repository and files the report names (1)

  • contracts/trading/BatchTrade.sol

Part of 31Third’s security record

31Third
Audits1 audit by 1 firmLast audit Jul 2024, by Quantstamp.
Critical findingsNo open critical findingsIn 1 report.
Open 31Third’s security record

Security firm

Quantstamp

236 projects reviewed · 332 reports · latest Oct 2026

See Quantstamp’s audits

Something wrong on this page? A missing report, a wrong date, a finding that was fixed since. Tell us and we check it against its source.

Tell us