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
Name | Type | Description |
---|---|---|
|
| The LRT issuer that's authorized to deploy this contract. |
initialize
Initializes the contract.
Parameters
Name | Type | Description |
---|---|---|
|
| The initial owner of the contract. |
|
| The address of the liquid restaking token. |
|
| The treasury address. |
|
| The operator reward pool address. |
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
Name | Type | Description |
---|---|---|
|
| The new treasury share in basis points. |
|
| The new operator share in basis points. |
setTreasuryETHValidatorRewardShareBPS
Sets the treasury's share of ETH validator rewards.
Parameters
Name | Type | Description |
---|---|---|
|
| The new treasury share in basis points. |
setOperatorETHValidatorRewardShareBPS
Sets the operator's share of ETH validator rewards.
Parameters
Name | Type | Description |
---|---|---|
|
| The new operator share in basis points. |
_setTreasuryETHValidatorRewardShareBPS
Sets the treasury's share of Ethereum validator rewards.
Parameters
Name | Type | Description |
---|---|---|
|
| The new treasury share in basis points. |
_setOperatorETHValidatorRewardShareBPS
Sets the operator's share of Ethereum validator rewards.
Parameters
Name | Type | Description |
---|---|---|
|
| The new operator share in basis points. |
receive
Receives ETH for distribution.
_authorizeUpgrade
Allows the owner to upgrade the reward distributor implementation.
Parameters
Name | Type | Description |
---|---|---|
|
| The implementation to upgrade to. |
Last updated