Skip to main content
Choose a pattern by the transaction you need to constrain. Each reference describes the measured quantity, configuration, expected outcomes, and coverage limits. This edition is reviewed against credible-std at fe49de6, source dated October 28, 2026; documentation reviewed November 17, 2026. Examples are starting points for a policy tied to your deployed contracts. A contract with no registered triggers enforces nothing.

Choose a starting point

Circuit Breakers

Flow-limit semantics explains netting, block buckets, and history reconstruction. Thresholds in these examples illustrate behavior; choose production limits from your protocol’s activity and response requirements.

Authority and Configuration

Accounting and Operation Results

Solvency

Oracle and Valuation

Examples requiring corrections

These pages identify specific source limitations beyond configuring a template for your protocol. They retain the source for comparison and explain the required correction. They are not deployment-ready policies. For production preparation, follow Ethereum assertion testing. The hack case studies provide historical context rather than proof that an example covers every attack path.

Read the catalog facets

Imported Book sources compile at the pinned revision, but most are not individually behavior-tested by this documentation review. The ownership tutorial and local observation fixtures identify their executed tests. The Aave fork and Optimism FMA suite are source catalogs, not suites executed in this review; their links follow moving branches rather than pinned tested releases. Aave includes intentional defects and mock contracts. Verify the assertion specification per contract in those forks. Read limitations before copying an example. The hack case studies include inline Reshiram implementations, mirrored in examples/docs/src/cases for compilation and testing. All 13 restored implementations compile against the pinned library, and 38 synthetic case-study tests pass under PCL 1.9.0. These tests check the displayed policies against local fixtures; they do not establish compatibility with a deployed protocol or replay the incidents. Their source and evidence are separate from the imported Book sources above.