Integration
Base bridge
On-chain settlement contract that anchors Cipher state on Base.
State layout
BridgeState.merkle_root— current pool rootBridgeState.program_version— version handshake- Per-nullifier records under a shared namespace
ValidatorRegistry— authority, totals, minimum stake
Instructions
deposit— lock ETH and emit a commitment leafwithdraw— verify proof and pay out, gated byexpiration_slotshielded_transfer— record nullifiers and update rootregister_validator/distribute_fee/claim_rewards/slash_validator
Events
Every state-mutating instruction emits a typed event. Off-chain indexers reconstruct pool history from these events without needing a separate API.