Hooks
Hooks enable BORGs to run custom logic after key lifecycle events such as Safe recovery.
baseRecoveryHook.sol
– ERC‑165 compliant base contract that defines theafterRecovery
hook.exampleRecoveryHook.sol
– minimal implementation emitting aRecoveryHookTriggered
event when invoked.exampleRecoveryHookRevert.sol
– sample hook that deliberately reverts, illustrating how hooks can halt the recovery process.
Developers can extend these contracts to integrate their own post-recovery behavior.