Skip to main content
[ CATALOG · ADAPTERS ]

Adapters

Adapters are the reusable wiring between Solana program artifacts and Riptide scenarios. Docs teach the contract; this page shows the shipped catalog and where community adapters can fit later.

06  shipped fixtures · 18  invariants
[ 01 · SHIPPED ]

Shipped adapter fixtures.

fixtures/adapters/*.toml
6 surfaces · deterministic
01 · lending Shipped fixture

Lending

Lending stress surface for whale concentration, utilization climb, oracle lag, and bad-debt boundaries.

Invariants
  • Collateral health
  • LP solvency
  • Bad debt
02 · perpetuals Shipped fixture

Perpetuals

Perpetuals adapter surface for margin safety, funding bounds, insurance-fund pressure, and oracle-driven stress.

Invariants
  • Margin safety
  • Funding bounds
  • Insurance fund
03 · amm Shipped fixture

AMM

Constant-product AMM adapter for reserve-pair checks, fee bounds, LP supply, and price-impact stress.

Invariants
  • Reserve pairing
  • Fee bounds
  • LP supply
04 · liquid-staking Shipped fixture

Liquid Staking

Pooled-stake and withdrawal-queue surface for slash, depeg, queue, and contagion replay tests.

Invariants
  • Stake pool solvency
  • Unstake queue
  • Slashing
05 · stablecoin Shipped fixture

Stablecoin

Collateral, stable-supply, reserve-buffer, and redemption-queue surface for backing stress.

Invariants
  • Full backing
  • Reserve buffer
  • Redemption queue
06 · resource-grinder Shipped fixture

Generic

Non-DeFi generic SBF/IDL adapter that exercises custom actions, shared state, and persona mixes without a protocol primitive.

Invariants
  • Generic actions
  • State movement
  • Persona pressure