Part of Quantstamp’s series
Quantstamp reviewed Venus Protocol (Venus wstETH Oracle) on 20 Feb 2024: 2 findings, 0 critical; all acknowledged, none fixed; 1 more marked mitigated.
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 | Mitigated |
|---|---|---|---|---|
| Critical | 0 | 0 | 0 | 0 |
| High | 0 | 0 | 0 | 0 |
| Medium | 0 | 0 | 0 | 0 |
| Low | 0 | 2 | 0 | 1 |
Marked Informational by the firm. Not counted as findings.
`WstETH` contract contains a specific function that allows getting the amount of `stETH` from `wstETH`: ``` contract WstETH is ERC20Permit { ... function getStETHByWstETH(uint256 _wstETHAmount) external view returns (uint256) { return stETH.getPooledEthByShares(_wstETHAmount); } ... } ``` <br> Using the `stETH` contract directly to compute the `stETH` value from a fixed share value by calling `STETH.getPooledEthByShares(1 ether)` in the `WstETHOracle.getPrice()` function is correct. However, any future upgrade might create unknown results so we strongly recommend using `WstETH.getStETHByWstETH()` instead of the `stETH` contract.
The `getPrice()` function accepts a parameter but reverts unless it is `WSTETH_ADDRESS`. In this case the parameter is not necessary, however, may still be kept in order to conform to the `OracleInterface`.
The in-scope contract is compiled using Solidity version 0.8.13. According to the [Solidity official's compiler bug list](https://docs.soliditylang.org/en/latest/bugs.html), this version contains several known compiler bugs, specifically 1 medium/high-severity, 2 medium-severity, and 6 low-severity bugs. According to our examination, these bugs seem to not affect the code in scope.
The report names a repository or files. Open the report to see its scope.
Repository and files the report names (1)
240 projects reviewed · 338 reports · latest Nov 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