CRX Contracts
The CRX contract set, by category. Each row links to its source and its spec.
This is the full on-chain contract set. The handbook explains CRX with three moving parts — collateral locked, positions atomic, over-risk closed out; everything deeper (the exact close-out procedure, the payment order, the margin re-trueing) lives in these contracts, and anyone can read and verify them.
| Category | Contract | Source | Specs |
|---|---|---|---|
| CRX Core | CRX | CRX.sol | spec (~10 min) |
| CRXCascade | CRXCascade.sol | spec (~10 min) | |
| CRXCascade2 | CRXCascade2.sol | spec (~10 min) | |
| AcaCloneFactory | AcaCloneFactory.sol | spec (~10 min) | |
| Oracle | PythOracle | oracle/PythOracle.sol | spec (~3 min) |
| SusdsOracle | oracle/SusdsOracle.sol | spec (~3 min) | |
| PushOracle | oracle/PushOracle.sol | spec (~3 min) | |
| FixedPriceOracle | oracle/FixedPriceOracle.sol | spec (~3 min) | |
| Credit Support | CreditSupportAnnex | CreditSupportAnnex.sol | spec (~5 min) |
| Instrument | NDFInstrument | instruments/NDFInstrument.sol | spec (~4 min) |