Skip to main content
Phylax circuit breakers enforce the security policies your team defines and approves. The rules are implemented as Solidity assertions and evaluated before settlement by builders that run the Phylax enforcement engine. An onchain guard checks that protected functions execute in a credible block. While its enforcement gate is active, calls in a non-participating builder’s block revert. This ties successful execution to builders evaluating the transaction against your rules.

The Three Parts of Enforcement

  1. Assertions encode your policies. A rule can compare state before and after a transaction, inspect calls, or check relationships across contracts.
  2. Participating builders run the enforcement engine. They evaluate transactions against your circuit breakers and exclude violating transactions from the blocks they build.
  3. Onchain guards enforce the block requirement. A guard checks the Credible Registry’s block marker and makes protected calls revert in a noncredible block while its enforcement gate is active.
The Credible RPC routes submissions to participating builders. Routing and guarding serve different purposes: a route helps a transaction reach an enforcing builder; a guard constrains where the operation may execute. The marker is a builder attestation, not a cryptographic proof that assertions ran. The Trust Model explains builder, Registry, guard, and recovery assumptions.

What Rules Can Protect

Assertions can check administrative changes, asset flows, collateralization, oracle deviations, and relationships between balances or positions. The useful rule describes a harmful effect rather than attempting to enumerate every way it could arise. For example, an assertion can detect an unexpected change in a pool’s state across a transaction. The Balancer V2 case study demonstrates an exploit replay using that approach. Production protection also requires active rules, matching triggers, and the guarded execution path. An assertion failure is a rule violation, not proof of an attack. Legitimate migrations, withdrawals, or upgrades can also violate a rule that lacks the required context. Test those operations alongside known failure cases.

What Integration Requires

Our forward deployed engineers (FDEs) work with you to define policies, write assertions, and implement the agreed guard and routing changes. Your team reviews the policies, code, and test evidence and approves protocol changes. You can also develop assertions independently. See Work with Phylax for the process and responsibilities. Assertion code is separate from protocol logic, but Ethereum enforcement may require contract changes. Protected operations need a suitable gate: a contract guard, a supported wallet guard, or an unavoidable existing hook. An immutable contract with no suitable gate cannot obtain this protection simply by registering assertions. The actual transaction submitters need the intended route. This includes user wallets, multisig executors, keepers, bots, and relayers. A contract called internally cannot select an RPC. A Safe transaction guard covers its owner-authorized execution path; modules require separate review and controls. See Integration Planning for coverage and rollout requirements.

From Assertion to Enforcement

Before activation, our FDEs run backtests and test a replica of your protocol on a fork of Ethereum, including legitimate activity, violations, guard behavior, and recovery. Your team reviews the evidence against the intended policies. We prepare releases on the Ethereum platform and simulate the activation transactions. Management of your policies and protocol remains entirely under your authority. Your signers authorize and execute the actions, and we verify the live protection. No other party can activate or change your rules without your authorization. The State Oracle records which assertions apply and when additions or removals take effect. Assertion DA supplies the artifacts used by enforcers. Alerting observes assertion behavior without dropping live transactions. Production rules affect inclusion at participating builders. Neither mode installs missing guards or configures submission routes. When a transaction touches several protected contracts, all applicable assertions must pass at the enforcing builder. Passing makes the transaction eligible for inclusion; selection and finality remain separate. An assertion failure excludes the whole candidate transaction, including a batch containing multiple operations.

Availability and Recovery

We designed onchain recovery paths to work independently of us. Your team defines who can use them, and we test them before activation. A guard can fail open after a configured gap in credible blocks. This restores access by allowing execution in blocks whose builders may not run assertions. Existing protocol checks remain in force, but mandatory assertion protection is reduced. Recovery from a restrictive rule or lost manager key needs its own tested procedure. Builders can keep producing credible blocks while a particular protocol’s transactions fail, so a block-gap fallback does not solve every lockout.

Choose Your Next Step