Security

Testing methodology

How the contracts are tested before anything reaches mainnet.

Toolchain

Foundry for unit, fuzz and invariant tests; a local fork of Robinhood Chain for integration runs against real Chainlink feeds and Stock Tokens.

Test layers

LayerPurpose
UnitOne function, one rule
FuzzRandom inputs within bounds
InvariantRandom sequences, global properties
ForkReal feeds, real tokens, real gas

Unit conventions

Each revert has a named test. Amounts use the real decimals of each asset.

Fuzz properties

  • Coupon rate always within the band.
  • Matched notional never above either side or the cap.
  • Refund plus matched equals deposit.

Coverage

Line and branch coverage reports will be published with the mainnet release.

Static analysis

See Static analysis.

Reviews and audits

See Audits. No external audit is complete yet.

Stock Tokens are not offered to US persons. A barrier note can lose value: if the final close sits below the barrier, CARRY holders are paid in stock valued at S0, which can be worth less than what they put in. Nothing on this site is investment advice.

© 2026 Get Berrier · @getberrier