RioLRTRewardDistributor
Inherits: IRioLRTRewardDistributor, OwnableUpgradeable, UUPSUpgradeable, RioLRTCore
State Variables
MAX_BPS
The maximum basis points value (100%).
treasury
The treasury address.
operatorRewardPool
The operator reward pool address.
treasuryETHValidatorRewardShareBPS
The treasury share of the ETH validator rewards in basis points.
operatorETHValidatorRewardShareBPS
The operator share of the ETH validator rewards in basis points.
Functions
constructor
Parameters
initialize
Initializes the contract.
Parameters
distributeETHValidatorRewards
Distributes ETH validator rewards held in this contract to the treasury, operator pool, and deposit pool.
All recipients are trusted internal contracts that require no reentrancy protection.
setTreasuryAndOperatorETHValidatorRewardShareBPS
Sets the treasury and operator's share of ETH validator rewards.
Parameters
setTreasuryETHValidatorRewardShareBPS
Sets the treasury's share of ETH validator rewards.
Parameters
setOperatorETHValidatorRewardShareBPS
Sets the operator's share of ETH validator rewards.
Parameters
_setTreasuryETHValidatorRewardShareBPS
Sets the treasury's share of Ethereum validator rewards.
Parameters
_setOperatorETHValidatorRewardShareBPS
Sets the operator's share of Ethereum validator rewards.
Parameters
receive
Receives ETH for distribution.
_authorizeUpgrade
Allows the owner to upgrade the reward distributor implementation.
Parameters
Last updated