Skip to content
We manage your security to weather the AI storm →

Security review · September 2026

StakedHypeEscrow for Valantis

Guardian's review of StakedHypeEscrow for Valantis, published September 2026. The report records 1 finding, including 1 informational.

See how Guardian runs an AMM and DEX smart contract audit.

Published
Review window
September 21 to 22, 2026
Language
Solidity
  • 0 Critical
  • 0 High
  • 0 Medium
  • 0 Low
  • 1 Informational

1 resolved

Scope

  • ValantisLabs/sthype-contracts 8eee622070c497da2875
1 file in scope · 386 nSLOC
FilenSLOCLines
src/StakedHypeEscrow.sol386639

Findings 1

  1. I-01 Informational quoteEntry NatSpec calls units raw shares Documentation Resolved
    Location
    StakedHypeEscrow.sol:223-224

    Description

    The quoteEntry NatSpec says the first beneficiary's “raw shares” must represent at least one nominal stHYPE wei. The first-deposit check actually passes the returned ownershipUnits to sharesToBalance (StakedHypeEscrow.sol:300-304). These are different accounting types, although their numeric values coincide for the beneficiary on first issuance because the initial pool price is one raw share per unit. The current check therefore works as intended; the comment should name the value it checks so readers do not apply the same wording to later deposits, where the price can differ.

    Recommendation

    Change the quoteEntry @dev sentence to say that the first deposit checks whether the returned beneficiary ownershipUnits convert to a positive nominal stHYPE balance. No runtime change is needed.

More from Valantis

  1. Overseer

    24 findings1 high 24 findings: 1 high, 2 medium, 4 low, 17 informational
  2. Staking Modules

    7 findings1 high 7 findings: 1 high, 6 informational

Put your code through the same review.

This review started with a conversation about scope. Tell us what you are building and we will plan yours with you.

Get a quote