This guide covers steps to deploy AVS Governance hook contract for Operator Management
Prerequisites
AVS contracts
Access to AVS governance multisig
1
Set Up the Contract
Create a contract called AVSGovernanceLogic , use IAVSGovernanceLogic interface to override beforeOperatorRegistered, beforeOperatorRegistered, beforeOperatorUnregistered, afterOperatorUnregistered
After implementation, deploy the contract on the same L1 network as the AVSGovernance.
3
Register AVSLogic with AttestationCenter
After deployment, you must call the setAvsGovernanceLogic function on the AvsGovernance , providing the address of the AvsGovernanceLogic contract as a parameter, as shown in the below example.