IRioLRTAVSRegistry
Functions
initialize
Initializes the contract.
Parameters
getAVS
Returns the AVS associated with the given ID.
Parameters
Returns
isActiveSlashingContract
Checks if the provided slashing contract is active.
Parameters
Returns
isActiveRegistryContract
Checks if the provided registry contract is active.
Parameters
Returns
addAVS
Adds a new AVS to the registry.
Parameters
activateAVS
Activates an AVS in the registry.
Parameters
deactivateAVS
Deactivates an AVS in the registry.
Parameters
Events
AVSAdded
Emitted when a new AVS is added to the registry.
Parameters
AVSActivated
Emitted when an AVS is activated in the registry.
Parameters
AVSDeactivated
Emitted when an AVS is deactivated in the registry.
Parameters
Errors
INVALID_NAME
Thrown when the provided name is empty.
INVALID_SLASHING_CONTRACT
Thrown when the provided slashing contract address is not address(0)
or a contract.
INVALID_REGISTRY_CONTRACT
Thrown when the provided registry contract address is not a contract.
SLASHING_CONTRACT_ALREADY_ACTIVE
Thrown when attempting add or activate an AVS with a slashing contract that is already active in another AVS.
REGISTRY_CONTRACT_ALREADY_ACTIVE
Thrown when attempting add or activate an AVS with a registry contract that is already active in another AVS.
AVS_NOT_REGISTERED
Thrown when attempting to activate or deactivate an AVS that is not registered.
AVS_ALREADY_ACTIVE
Thrown when attempting to activate an AVS that is already active.
AVS_ALREADY_INACTIVE
Thrown when attempting to deactivate an AVS that is already inactive.
Structs
AVS
Information about an AVS.
Last updated