OperatorOperations
Functions
depositETHToOperators
Deposits ETH into EigenLayer through the operators that are returned from the registry.
Parameters
operatorRegistry
IRioLRTOperatorRegistry
The operator registry used allocate to and deallocate from EigenLayer operators.
amount
uint256
The amount of ETH to deposit.
depositTokenToOperators
Deposits the given amount
of tokens into EigenLayer the provided EigenLayer strategy
via the operators that are returned from the registry.
Parameters
operatorRegistry
IRioLRTOperatorRegistry
The operator registry used allocate to and deallocate from EigenLayer operators.
token
address
The address of the token to deposit.
strategy
address
The strategy to deposit the funds into.
sharesToAllocate
uint256
The amount of strategy shares to allocate.
queueWithdrawalFromOperatorsForUserSettlement
Queues withdrawals from EigenLayer through the operators that are returned from the registry.
Parameters
operatorRegistry
IRioLRTOperatorRegistry
The operator registry used allocate to and deallocate from EigenLayer operators.
strategy
address
The strategy to withdraw the funds from.
amount
uint256
The amount needed.
queueETHWithdrawalFromOperatorsForUserSettlement
Queues ETH withdrawals from EigenLayer through the operators that are returned from the registry.
Parameters
operatorRegistry
IRioLRTOperatorRegistry
The operator registry used allocate to and deallocate from EigenLayer operators.
amount
uint256
The amount of ETH needed.
queueTokenWithdrawalFromOperatorsForUserSettlement
Queues a withdrawal from EigenLayer through the operators that are returned from the registry.
Parameters
operatorRegistry
IRioLRTOperatorRegistry
The operator registry used allocate to and deallocate from EigenLayer operators.
strategy
address
The strategy to withdraw the funds from.
sharesToWithdraw
uint256
The number of shares to withdraw.
Errors
INCORRECT_NUMBER_OF_SHARES_QUEUED
Thrown when the number of shares queued for withdrawal from EigenLayer do not match the number of shares requested.
Last updated