AMPL has 4 public audit reports from CertiK and Quantstamp; the latest is CertiK, 12 Feb 2021. 55 findings in 4 reports: 42 fixed, 13 open.
Your label, live · Get it for your site
Updated · Trustblock does not review code.
Bar height: findings in the report · Select a mark to open it
Certain tokens throw when a zero-value transfer is attempted, meaning that the unstakeAndClaim mechanism may break if all bonus tokens of such a token have been claimed.
Report ↗The “externalCall” function returns a variable of type “bool” as stated in its function signature. Internally, an in-memory variable is declared called “result” of type “bool” which is assigned the result of the low-level “call” invocation and then explicitly returned as the last statement of the function body
Report ↗This Exhibit relies on whether Exhibit 2 is applied on the codebase. If Exhibit 2 is applied, this Exhibit can be safely ignored. In the aforementioned line, whenever a new “Transaction” struct is constructed the hard-coded value of “true” is assigned to its “enabled” member. This will presently cause a 32-byte write operation to be conducted as the memory needs to be initialized to a non-zero value.
Report ↗The loop included in the aforementioned lines iterates through an array of dynamic size that could potentially lead to the function being impossible to execute if many transactions are included or if the gas cost of the transactions collectively exceeds the block’s gas limit.
Report ↗The “TransactionFailed” event contains a “uint” variable that represents the index of the transaction that failed. However, this variable may be misleading under certain circumstances as transaction ordering in Ethereum is up to the miners of the blocks. As an example, should a single block contain the following transaction ordering, the “index” variable will be misleading and lead to an out-of-bound access on both the previous and current block of the blockchain: 1. Inclusion of new transaction in transaction queue. This will increase the transaction queue length and add the final transaction to the end. 2. Execution of “rebase” and failed execution of the newly included transaction, leading to the “TransactionFailed” event being emitted with the “index” variable being the last element of the array. 3. The deletion of the last transaction in the transaction queue. This will decrease the transaction queue length and remove the final transaction that was previously executed but failed. The above sequence will lead to an “index” being emitted that is otherwise inaccessible. The above scenario, although unlikely, can occur should the owner of the contract accidentally include a transaction and attempt to remove it with users invoking “rebase” in the process.
Report ↗The “Transaction” struct included on the Orchestrator contract can be optimized to occupy one less slot, significantly reducing the gas cost of all types of transactions relating to it such as read and write operations.
Report ↗Whenever the “length” of an array is reduced, Solidity internally calls the “delete” operator on the last element of the array and as such, it is unnecessary to explicitly call it.
Report ↗The “externalCall” function contains a “transferValueWei” variable in its signature referring to the amount of wei that will be transferred in the external call. This function is labelled as “internal” and is only invoked in a single location, line 55, where the “transferValueWei” argument is hard-coded as zero.
Report ↗The aforementioned line contains an assignment of the zero value casted to an “address” type to the “orchestrator” variable of the contract. This type of assignment is unnecessary as Solidity, akin to many other programming languages, assigns a default value to uninitialized variables which in the case of addresses is the zero address.
Report ↗The “externalCall” function contains a “dataLength” variable in its signature referring to the length of the “bytes” dynamic array that will be transferred in the external call. This is unnecessary because, as mentioned in comment line 138, the length of the “bytes” is already included in the variable at the first location of the “bytes” pointer.
Report ↗The function “transactionsLength” is meant to return, as its name implies, the “length” of the “transactions” storage array. It is generally considered ill-practise to declare a dot-accessor in camel-case format as the function name.
Report ↗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.
Report ↗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.
Report ↗| Report | Security firm | Date | Scope | Critical findings | Findings | Source |
|---|---|---|---|---|---|---|
| Ampleforth's Token Geyser v2 | Security firm: CertiK | Date: | Scope: Files listed | None open | Findings: 1 high · 2 medium · 20 low 22 fixed · 1 open | skynet.certik.com ↗ |
| XCAmpleforth | Security firm: CertiK | Date: | Scope: Files listed | None open | Findings: 2 medium · 12 low 14 fixed | skynet.certik.com ↗ |
| Ampleforth | Security firm: CertiK | Date: | Scope: —Not recorded; see the report | None open | Findings: 10 low 10 open | skynet.certik.com ↗ |
| Ampleforth | Security firm: Quantstamp | Date: | Scope: Files listed | None open | Findings: 8 low 6 fixed · 2 open | certificate.quantstamp.com ↗ |
Also reviewed: Ampleforth's Token Geyser v2 (CertiK), XCAmpleforth (CertiK)
| Address | Chain | Source code |
|---|---|---|
| 0x489f…41ef0x489fe42c267fe0366b16b0c39e7aeef977e841ef | Chain: Base | Source code: Verified source (partial match, checked 13 Sep 2026) |
| 0xedb1…49ef0xedb171c18ce90b633db442f2a6f72874093b49ef | Chain: Ethereum | Source code: Verified source (exact match, checked 13 Sep 2026) |
| 0x77fb…0ce00x77fba179c79de5b7653f68b5039af940ada60ce0 | Chain: Ethereum | Source code: Verified source (partial match, checked 13 Sep 2026) |
| 0xdb02…f07f0xdb021b1b247fe2f1fa57e0a87c748cc1e321f07f | Chain: BNB Chain | Source code: Verified source (partial match, checked 13 Sep 2026) |
| 0xd46b…a1610xd46ba6d942050d489dbd938a2c909a5d5039a161 | Chain: Ethereum | Source code: Verified source (partial match, checked 13 Sep 2026) |
Trustblock holds 4 public audit reports for AMPL, dated 13 Jun 2019 to 12 Feb 2021. The latest is by CertiK (“Ampleforth's Token Geyser v2”).
2 security firms wrote the reports Trustblock holds for AMPL: CertiK and Quantstamp.
55 findings in 4 reports: 42 fixed, 13 open. No critical finding is reported. Statuses are the security firms’ own.
No incident is on record for AMPL. Public incident reports, last checked 30 Nov 2026.
How this record is made. Public reports from each firm and what the chain itself answers, each read twice and compared with the original. No score, no grade. Method and limits · Something wrong? Tell us