Quantstamp reviewed saffron.finance (Saffron Staking V2) on 21 Sep 2021: 9 findings, 0 critical; 5 marked fixed, 4 acknowledged.
Report hosted on certificate.quantstamp.com.
Trustblock does not review code.
Statuses are the security firm’s own, from its report.
| Severity | Open | Acknowledged | Fixed |
|---|---|---|---|
| Critical | 0 | 0 | 0 |
| High | 0 | 0 | 0 |
| Medium | 0 | 0 | 2 |
| Low | 0 | 4 | 3 |
When smart contracts are deployed or their associated functions are invoked, the execution of these operations always consumes a certain quantity of gas, according to the amount of computation required to accomplish them. Modifying an unknown-size array that grows in size over time can result in a Denial of Service attack. Simply by having an excessively huge array, users can exceed the gas limit, therefore preventing the transaction from ever succeeding.
It is unclear how tokens are deposited to `SFIRewarder`. However, we recommend adding a dedicated function that calls `ERC20.transferFrom()` to avoid any address input error when handling the transfer.
The smart contract will use the `deposit()` function to send deposit assets from the user's account to the pool. When transferring ordinary ERC20 tokens, asset transfers work as expected, and the internal account balances are always consistent with the ERC20 token contract's real token balances. However, in the case of deflationary tokens, the input amount may differ from the returned amount due to the charges transaction fee, which can result in unexpected balance inconsistencies when comparing internal asset records to external ERC20 tokens contracts.
Enough `SFI` reward tokens need to be present in the `SFIRewarder` contract, otherwise, the reward payouts fail due to `safeSFITransfer` failing. As it is called on each claim (`deposit`, `withdraw`), users might not be able to claim their already allocated and pending rewards. Note that partial rewards are not paid out and the contract always tries to pay out the full rewards.
The report names a repository or files. Open the report to see its scope.
Repository and files the report names (3)
236 projects reviewed · 332 reports · latest Oct 2026
See Quantstamp’s auditsSomething 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