Read the code.Then read it again.
LegacyStack is a Liquity-style CDP system: overcollateralized vaults mint OCT against ETH and WBTC, a Stability Pool absorbs liquidations, redemptions anchor the peg, and an inheritance module executes continuity plans on-chain. This page is the operator view — parameters, oracle topology, and security posture, exactly as enforced by the contracts.
- Architecture
- CDP · Liquity-style
- Oracle
- Chainlink + fallback
- Network
- Sepolia testnet
Read the code.Then read it again.
We publish parameters, oracle topology, and operational defaults up front. No marketing-only numbers. Everything below is enforced by the contracts.
- Min CR
- 150%
- Liquidation CR
- 110%
- Recovery CR
- 150% system
- Gas comp
- 200 OCT
- Borrow fee
- 0.5%–5% dynamic
- Redemption fee
- 0.5%–5% dynamic
# Live protocol parameters protocol: name: "LegacyStack" protocol_token: "OCT" network: "sepolia" peg_target: "1.00 USD" collateral: - symbol: "ETH" min_cr: 150 liq_cr: 110 - symbol: "WBTC" min_cr: 150 liq_cr: 110 oracle: primary: "chainlink" fallback: "in-house aggregator" staleness: 3600s deviation: 5% sequencer: "l2-uptime checked" inheritance: enabled: true inactivity_window: 365d // configurable heir_cap: 10 debt_reserve: "per-user, isolated" monitoring: liquidation_bot: true alerts: ["defender", "tenderly"] soak_test: "sepolia · 7-day rolling"Security isthe product.
A loop of test, audit, fix, re-run. Engineered for the failure modes that destroyed prior vault protocols — and instrumented so an operator can prove it on demand.
- 01
Internal audit pass · complete
Slither, full unit suite, and adversarial scenarios across borrowing, redemption, liquidation, and inheritance.
- 02
Invariant & stateful fuzzing
System-wide invariants — including OCT supply ≥ debt, accounting integrity, and inheritance reserves — proven across thousands of randomized actor sequences.
- 03
Oracle hardening
Chainlink primary with staleness, deviation, and sequencer-uptime checks. Fallback feed plus pause-on-stale gating before sensitive operations.
- 04
Liquidation bot + alerting
First-party keeper, OpenZeppelin Defender autotask template, and Tenderly alert rules included.
- 05
Sepolia soak
Continuous on-chain smoke and soak scripts validate every release before mainnet promotion.
Next protocol phases, in order: minimum wstETH yield architecture (yield accounting, user/protocol split, routing of the protocol share into the OCT redemption buffer) ahead of public testnet; holder-gated redemptions with a fee-funded redemption buffer; and Legacy Mode — inheritance-only vaults with no OCT debt and no liquidation or redemption exposure. Each ships behind the same discipline: tests, soak, freeze, audit.