IRioLRTAVSRegistry
Last updated
Last updated
Initializes the contract.
Parameters
Name | Type | Description |
---|---|---|
Returns the AVS associated with the given ID.
Parameters
Name | Type | Description |
---|---|---|
Returns
Name | Type | Description |
---|---|---|
Checks if the provided slashing contract is active.
Parameters
Returns
Checks if the provided registry contract is active.
Parameters
Returns
Adds a new AVS to the registry.
Parameters
Activates an AVS in the registry.
Parameters
Deactivates an AVS in the registry.
Parameters
Emitted when a new AVS is added to the registry.
Parameters
Emitted when an AVS is activated in the registry.
Parameters
Emitted when an AVS is deactivated in the registry.
Parameters
Thrown when the provided name is empty.
Thrown when the provided slashing contract address is not address(0)
or a contract.
Thrown when the provided registry contract address is not a contract.
Thrown when attempting add or activate an AVS with a slashing contract that is already active in another AVS.
Thrown when attempting add or activate an AVS with a registry contract that is already active in another AVS.
Thrown when attempting to activate or deactivate an AVS that is not registered.
Thrown when attempting to activate an AVS that is already active.
Thrown when attempting to deactivate an AVS that is already inactive.
Information about an AVS.
Name | Type | Description |
---|---|---|
Name | Type | Description |
---|---|---|
Name | Type | Description |
---|---|---|
Name | Type | Description |
---|---|---|
Name | Type | Description |
---|---|---|
Name | Type | Description |
---|---|---|
Name | Type | Description |
---|---|---|
Name | Type | Description |
---|---|---|
Name | Type | Description |
---|---|---|
Name | Type | Description |
---|---|---|
initialOwner
address
The initial owner of the contract.
token
address
The address of the liquid restaking token.
avsId
uint128
The ID of the AVS to retrieve.
<none>
AVS
The AVS corresponding to the given ID.
slashingContract
address
The address of the slashing contract to check.
<none>
bool
True if the slashing contract is active, false otherwise.
registryContract
address
The address of the registry contract to check.
<none>
bool
True if the registry contract is active, false otherwise.
name
string
The name of the AVS.
slashingContract
address
The address of the slashing contract.
registryContract
address
The address of the registry contract.
avsId
uint128
The ID of the AVS to activate.
avsId
uint128
The ID of the AVS to deactivate.
avsId
uint128
The ID of the newly added AVS.
name
string
The name of the AVS.
slashingContract
address
The address of the slashing contract.
registryContract
address
The address of the registry contract.
avsId
uint128
The ID of the activated AVS.
avsId
uint128
The ID of the deactivated AVS.