31Third

QuantstampFiles named in the report

Quantstamp reviewed 31Third on 1 Mar 2023: 15 findings, 0 critical; 9 marked fixed, 4 acknowledged, 2 open.

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

Report hosted on certificate.quantstamp.com.

Trustblock does not review code.

Findings15

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

SeverityOpenAcknowledgedFixed
Critical000
High001
Medium002
Low246
LowMissing Input ValidationOpen

It is vital to validate inputs to avoid human error, even if they only come from trusted addresses. The following functions do not have a proper validation of input parameters: 1. qs-badge-fixed `BatchTrade.batchTrade()` accepts trades with the same asset in `from` and `to` fields. 2. qs-badge-fixed `ExchangeAdapterRegistry.addAdapter()` should check that `name` is not an empty string. 3. qs-badge-mitigated Fees are calculated with a constant denominator of `10000`, however, the assignment of `maxFeeBasisPoints` does not consider this constant denominator when it is being assigned. This could lead to a scenario where `maxFeeBasisPoints` either meets or exceeds `10000`. 4. qs-badge-fixed `updateFeeRecipient()` and `updateBasisPoints()` do not check that the new value being assigned is actually different than the existing one. This could lead to unnecessary transaction costs.

LowUntraceable Contract EventsOpen

Events should be emitted when the contract state changes. The following functions in `BatchTrade` do not emit events: - `updateFeeRecipient()` - `updateBasisPoints()` - `reduceMaxBasisPoints()` - `addFeelessWallet()` - `removeFeelessWallet()` - `receiveFees()`

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 (5)

  • contracts/trading/ExchangeAdapterRegistry.sol
  • contracts/trading/IExchangeAdapter.sol
  • contracts/trading/adapter/WETHAdapter.sol
  • contracts/trading/BatchTrade.sol
  • contracts/trading/adapter/ZeroExExchangeAdapter.sol

Part of 31Third’s security record

31Third
Audits2 audits by 1 firmLast audit Apr 2024, by Quantstamp.
Critical findingsNo open critical findingsAcross 2 reports.
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