LST Rewards Splitter
Last updated
Last updated
The LSTRewardsSplitter
enables an account to deposit LSTs and split any earned rewards between itself and other addresses.
Returns the address of the controller contract
Name | Type | Description |
---|---|---|
Returns the address of the liquid staking token handled by this contract
Name | Type | Description |
---|---|---|
Returns the total number of tokens deposited without rewards
Returns whether a call should be made to performUpkeep to split new rewards
Returns a list of all fees
Deposits tokens
Withdraws tokens
Splits new rewards between fee receivers
Splits new rewards between fee receivers
Bypasses rewardThreshold
Adds a new fee
Updates an existing fee
Name | Type | Description |
---|---|---|
Name | Type | Description |
---|---|---|
Name | Type | Description |
---|---|---|
Name | Type | Description |
---|---|---|
Name | Type | Description |
---|---|---|
Name | Type | Description |
---|---|---|
Name | Type | Description |
---|---|---|
controller
address
address of LSTRewardsSplitterController
lst
address
address of LST
principalDeposits
uint256
total principal deposits
upkeepNeeded
bool
true if performUpkeep should be called, false otherwise
bytes
fees
struct LSTRewardsSplitter.Fee[]
list of fees
_amount
uint256
amount to deposit
_amount
uint256
amount to withdraw
_receiver
address
address to receive tokens
_receiver
address
receiver of fee
_feeBasisPoints
uint256
fee in basis points
_index
uint256
index of fee
_receiver
address
receiver of fee
_feeBasisPoints
uint256
fee in basis points