Skip to main content
The State Oracle records assertion policy. The Credible Registry records authorized builders and credible blocks. Guards check the Registry before protected operations execute. Registering an assertion does not install a guard or configure transaction routing. See Ethereum Architecture for the complete execution path.

Production deployments

Use the State Oracle proxy address when configuring an application. The Ethereum Credible Registry is deployed directly. Its explorer link includes the verified source and ABI. The Ethereum Credible Registry was deployed at block 26,342,900.

Components

State Oracle

The State Oracle associates protected contract addresses, called assertion adopters, with a Protocol Manager and assertion activation windows. Its configured block delay governs additions and removals. An activation window determines when an assignment applies; it is separate from a cumulative-flow policy’s rolling measurement window. The enforcer reads this state to determine applicable assertions. In the public State Oracle implementation, an assertion ID cannot be re-added for the same adopter after removal. Confirm the deployed implementation and configuration when planning updates.

Protocol Admin Verification

The Protocol Manager wallet signs releases for registered contracts. An approved verifier establishes its authority during registration. Platform membership alone does not grant onchain manager authority. See Managing Policy Deployments.

Data Availability Verification

On Ethereum mainnet, addAssertion passes the assertion ID and the proof bytes to DAVerifierOnChain. The proof is the creation bytecode followed by any ABI-encoded constructor arguments. The verifier accepts it when keccak256(proof) == assertionId. The State Oracle emits the proof in AssertionAdded so builders can read the bytes from L1. See the onchain verifier and Assertion Data Availability.

State Oracle Administration

The public implementation separates governance, operator, and guardian permissions. These control verifier configuration, registration allowlisting, and manager revocation or assertion removal. Guardian removal uses the configured removal delay; it is not an immediate universal off switch. Review the deployed roles and timing alongside the Trust Model. These permissions are separate from Credible Registry administration.

Credible Registry

The table describes the deployed Ethereum mainnet Registry. The guard descriptions below use credible-registry at 8804c9e. The marker is a builder attestation. The Registry does not execute assertions or verify a proof of their execution. Builder additions, removals, and timelock-delay changes use the Registry’s scheduling functions. An admin schedules the operation, a guardian can cancel it, and anyone can execute it once the delay has elapsed. On Ethereum mainnet, each operation waits at least three days (MIN_TIMELOCK_DELAY, 259,200 seconds), or the controller’s configured delay if that is longer. Direct builder-role grants, revocations, and renunciation are blocked. A guardian cannot remove a builder immediately. These permissions are separate from a protocol’s Protocol Manager and State Oracle lifecycle.

Zero-gas-price calls

For a nonzero current block, isCredibleBlock() also returns true when tx.gasprice == 0. This supports wallet simulations without writing a marker. It applies on every chain, including actual zero-price transactions where supported. A successful zero-price simulation does not prove that a paid transaction can pass the guard. Test rejection with a nonzero gas price. Omitting fee fields does not guarantee a zero-price simulation. For monitoring, read lastCredibleBlock() or marker events instead of treating an RPC call to isCredibleBlock() as evidence of a marker.

Credible Block Guard

Protocol code inherits CredibleBlockGuard and applies onlyCredibleBlock to protected entry points. Construction requires a nonzero Registry address whose lastCredibleBlock() is already nonzero. For paid calls, the guard rejects an unmarked block unless the caller has a configured bypass or the block-gap fallback is active. The default threshold is 10 blocks; fallback starts when the gap is strictly greater than the threshold. Inheriting contracts can override failOpenBlockThreshold() and expose an authorized wrapper for _setCredibleBlockBypass. isCurrentBlockAllowed() includes the calling account’s bypass. failOpenActive() reports only the block-gap fallback. Registry read failures propagate as reverts. Bypass state uses an ERC-7201 storage namespace. It is not storage-compatible with older guards that kept bypasses in sequential slots; check the old and new layouts before an upgrade. An included guard revert consumes gas. A builder excluding a transaction before inclusion does not. Paths that never reach the guard remain outside its protection.

Credible Safe Guard

CredibleSafeGuard checks owner-authorized execTransaction execution. Safe module paths require separate controls or an unavoidable downstream gate. The repository tests Safe versions 1.3.0, 1.4.0, 1.4.1, and 1.5.0. Installation and removal require an owner-approved Safe transaction that calls the Safe’s own setGuard function. A direct call from an owner account is insufficient. The Registry address and threshold are immutable; changing either requires a replacement guard. Unlike the generic guard, the Safe guard fails open if Registry reads fail, return malformed data, target an address without code, exceed the 50,000-gas read limit, or report a marker in a future block. It also has the strict block-gap fallback.

Credible Proxy

CredibleProxy adds a guard without editing the existing implementation: the protocol proxy delegates to CredibleProxy, which delegates to the original implementation. Both calls preserve the protocol’s address, storage, balance, and msg.sender. Only configured function selectors are guarded. Other selectors and empty-calldata transfers are forwarded without the gate. Transparent, Beacon, and compatible custom proxies are supported; UUPS proxies are not. Check selector collisions and upgrade hooks before installation. Implementations that already expose credibleRegistry() are rejected. Configuration is stored at the CredibleProxy address. Its admin must call that address directly and can replace the implementation, change guarded selectors, or grant bypasses. Give this role the same controls as protocol upgrade authority; assigning it to another wallet creates a separate upgrade path. An admin of address(0) permanently fixes this configuration. Multiple protocol proxies using one CredibleProxy share its settings. Keep queueNonCredibleCalls false unless the application explicitly supports deferred calls. When true, a disallowed guarded call with no ETH emits CredibleCallQueued and returns success with no state effect or return data. A retry executes as the resubmitter, not the original caller. There is no onchain queue, deduplication, or automatic retry. Contract callers can mistake the successful return for a completed action. See the proxy integration reference for installation and configuration details.

Assertion Adapter

AssertionAdapter provides an assertion attachment point for protocols with hooks. Register assertions against the adapter and make the protected operation call check(bool requireCredibleBlock) through its configured authorizedCaller. The caller address is immutable. check(true) applies the credible-block gate and strict block-gap fallback. check(false) skips Registry reads and the gate, but still touches the adapter so a participating builder can evaluate its assertions. The adapter does not execute assertions onchain. A hook that can be skipped leaves that path unprotected. Unlike the Safe guard, check(true) reverts on Registry read errors or a future marker. See the adapter reference for constructor configuration and hook examples.

Fallback and Enforcement

Fallback and bypasses can relax the credible-block requirement. Participating builders can continue enforcing assertions, but operations submitted through other builders may then execute without those checks. Ordinary protocol authorization still applies. See Ethereum Integration Planning to select an integration path and Guard Testing to verify local behavior.