Architecture
The six contracts that make up Covenant and how responsibilities are split.
The Uniswap v4 hook
CovenantHook โ the callbacks, delta accounting, and immutable configuration.
The covenant queue
CovenantQueue โ FIFO accounting, lifecycle, and the single address you index.
Vault & router
CovenantVault holds custody as ERC-6909 claims; CovenantRouter is the user entry point.
Events & errors
The frozen event set indexers depend on, and the custom errors each contract can revert with.
Parameters
Every protocol parameter, its value, and where it is enforced.