RioLRTCore
Inherits: Initializable
State Variables
issuer
The LRT issuer that's authorized to deploy this contract.
token
The liquid restaking token (LRT) address.
Functions
onlyCoordinator
Require that the caller is the coordinator.
onlyDepositPool
Require that the caller is the deposit pool.
onlyWithdrawalQueue
Require that the caller is the withdrawal queue.
onlyOperatorRegistry
Require that the caller is the LRT's operator registry.
constructor
Prevent any future reinitialization.
Parameters
issuer_
address
The LRT issuer that's authorized to deploy this contract.
__RioLRTCore_init
Initializes the restaking contract.
Parameters
token_
address
The address of the liquid restaking token.
__RioLRTCore_init_noVerify
Initializes the restaking contract without verifying the caller.
Parameters
token_
address
The address of the liquid restaking token.
coordinator
The LRT coordinator contract.
assetRegistry
The LRT asset registry contract.
operatorRegistry
The LRT operator registry contract.
avsRegistry
The LRT AVS registry contract.
depositPool
The LRT deposit pool contract.
withdrawalQueue
The LRT withdrawal queue contract.
rewardDistributor
The LRT reward distributor contract.
operatorDelegator
Calculates the address of an operator delegator.
Parameters
registry
IRioLRTOperatorRegistry
The operator registry address.
operatorId
uint8
The operator's ID.
Errors
ONLY_ISSUER
Thrown when the initializer is not the LRT issuer.
ONLY_COORDINATOR
Thrown when the caller is not the LRT coordinator.
ONLY_DEPOSIT_POOL
Thrown when the caller is not the LRT deposit pool.
ONLY_WITHDRAWAL_QUEUE
Thrown when the caller is not the LRT withdrawal queue.
ONLY_OPERATOR_REGISTRY
Thrown when the caller is not the operator registry.
Last updated