Skip to content

Release 2026 06 22 ocp v35 conversion mechanism validation

Cursor Agent edited this page Jun 22, 2026 · 2 revisions

Release: OCP v35 Conversion Mechanism Validation

Date: 2026-06-22
PR: #233
Linear: ENG-725
Networks: none (local backup only)

Summary

Minor version bump 0.0.1 → 0.0.2 for OpenCapTable-v35 (DAML SDK 3.5.1). Adds conversion mechanism validators with full enum variant coverage and wires them into convertible issuance and warrant issuance paths. Contract templates are unchanged from the v35 scaffold; this release tightens ensure validation only.

Layer Status
Source OpenCapTable-v35 0.0.2
On-chain Still v34 on devnet + mainnet (dars/dars.lock)
DAR backup OpenCapTable-v35/0.0.2 in dars/ with networks: []
npm Unchanged until next package-scoped tag publish

Validation behavior

Mechanism Change
SAFE Validates exit_multiple via validateOcfRatio; optional discount and valuation cap
Note No longer requires non-empty interest_rates; validates exit_multiple when present
PPS When discount=false, rejects if both discount_percentage and discount_amount are set
Warrant All 5 mechanism variants validated at issuance (custom, percent cap, fixed amount, valuation-based, PPS)

Changes

  • Validators in Fairmint.OpenCapTable.Types.Conversion (Conversion.daml)
  • ConvertibleIssuance and WarrantIssuance call mechanism validators via conversion triggers/rights
  • TestConversionMechanisms.daml — regression tests for every mechanism variant

Version info

Package Old New Change
OpenCapTable-v35 0.0.1 0.0.2 Minor (schema-aligned validation)

Pre-deployment checklist

  • Build passes: npm run build
  • Tests pass: npm run test
  • Push package-scoped tag OpenCapTable-v35-v0.0.2 per Package-Tag-Release-Process
  • Upload v35 DAR to devnet + mainnet
  • Redeploy OcpFactory for new package id

Related

Clone this wiki locally