IRioLRTRewardDistributor

IRioLRTRewardDistributor

Functions

initialize

Initializes the contract.

function initialize(address initialOwner, address treasury, address operatorRewardPool, address depositPool) external;

Parameters

NameTypeDescription

initialOwner

address

The initial owner of the contract.

treasury

address

The treasury address.

operatorRewardPool

address

The operator reward pool address.

depositPool

address

The contract that holds funds awaiting deposit into EigenLayer.

Events

ETHValidatorRewardsDistributed

Emitted when ETH validator rewards are distributed.

event ETHValidatorRewardsDistributed(uint256 treasuryShare, uint256 operatorShare, uint256 poolShare);

Parameters

NameTypeDescription

treasuryShare

uint256

The amount of rewards sent to the treasury.

operatorShare

uint256

The amount of rewards sent to the operator.

poolShare

uint256

The amount of rewards burned to realize the pool's gain.

TreasuryETHValidatorRewardShareBPSSet

Emitted when the treasury's share of Ethereum validator rewards is updated.

event TreasuryETHValidatorRewardShareBPSSet(uint16 newTreasuryETHValidatorRewardShareBPS);

Parameters

NameTypeDescription

newTreasuryETHValidatorRewardShareBPS

uint16

The new treasury share in basis points.

OperatorETHValidatorRewardShareBPSSet

Emitted when the operator's share of Ethereum validator rewards is updated.

event OperatorETHValidatorRewardShareBPSSet(uint16 newOperatorETHValidatorRewardShareBPS);

Parameters

NameTypeDescription

newOperatorETHValidatorRewardShareBPS

uint16

The new operator share.

Errors

TREASURY_ETH_VALIDATOR_SHARE_BPS_TOO_HIGH

Thrown when the treasury ETH validator reward share is too high.

error TREASURY_ETH_VALIDATOR_SHARE_BPS_TOO_HIGH();

OPERATOR_ETH_VALIDATOR_SHARE_BPS_TOO_HIGH

Thrown when the operator ETH validator reward share is too high.

error OPERATOR_ETH_VALIDATOR_SHARE_BPS_TOO_HIGH();

Last updated