Ampleforth

QuantstampFiles named in the report

Quantstamp reviewed AMPL (Ampleforth) on 13 Jun 2019: 8 findings, 0 critical; 6 marked fixed, 2 open.

No open critical findings
Open the reportOpen AMPL’s security record

Report hosted on certificate.quantstamp.com.

Trustblock does not review code.

Findings8

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

SeverityOpenAcknowledgedFixed
Critical000
High000
Medium000
Low206
LowBlock Timestamp ManipulationOpen

Projects may rely on block timestamps for various purposes. However, it's important to realize that miners individually set the timestamp of a block, and attackers may be able to manipulate timestamps for their own purposes. If a smart contract relies on a timestamp, it must take this into account.

Lowgon balances may become untransferable over timeOpen

The functions transfer() and transferFrom() take value that signifies the number of tokens to transfer. Both functions compute the corresponding number of gons and use them to update the ledger. It is possible that the value of _gonsPerFragment becomes large enough (due to constantly increasing target rate) so that gonValue exceeds the account balance even if value equals 1. Such a transfer will fail on SafeMath.sub(). Consequently, the source account will have a non-zero gon balance that will be untransferable. Theoretically, a large number of gons can be dispersed among multiple accounts in too low quantities, so all those gons will become unspendable.

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

  • SelectMock.sol
  • Mock.sol
  • MockOracle.sol
  • Select.sol
  • MedianOracle.sol
  • UInt256LibMock.sol
  • UInt256Lib.sol
  • SafeMathInt.sol
  • SafeMathIntMock.sol
  • UFragments.sol
  • MockUFragments.sol
  • UFragmentsPolicy.sol

Part of AMPL’s security record

AMPL
Audits4 audits by 2 firmsLast audit Feb 2021, by CertiK.
Critical findingsNo open critical findingsAcross 4 reports.
Open AMPL’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