← Hypotenuse Labs

Cega Finance · SVM/EVM (via Hypotenuse Labs)

Solana options program — parity with EVM

Bringing Cega’s exotic-options structured products to Solana, matched to the behavior of the established EVM implementation.

x.com/cega_fi ↗

Context

Cega is a DeFi structured-products protocol whose vaults package exotic options into yield-bearing positions. The protocol’s mature implementation lived on EVM; the engagement was to bring the Solana (SVM) options program to behavioral and economic parity with it, so the same products run identically across both virtual machines.

Solana ↔ EVM parity

Matching an EVM options protocol on Solana means re-expressing the same lifecycle (epoch open, strike/observation, settlement, payoff) under a different execution model: Rust programs instead of Solidity, explicit account passing and PDAs for vault and position state instead of contract storage, SPL token accounts instead of ERC-20 balances, and rent/compute budgets instead of gas. The work aligned state layout and instruction semantics so the SVM and EVM deployments settle the same products to the same numbers.

My contribution

Optimized the Solana options program to match the existing EVM protocol — aligning the option lifecycle, vault accounting, and instruction logic for behavioral parity across SVM and EVM.

Stack

  • Solana
  • Rust
  • Anchor
  • SPL Token
  • Solidity
  • EVM

Cega is a third-party client protocol; this engagement worked against a private codebase, so no public repository is linked.