LST Rewards Splitter Controller
Last updated
Last updated
The LSTRewardsSplitterController
manages multiple LSTRewardsSplitter
contracts.
Returns the splitter corresponding to an account
Name | Type | Description |
---|---|---|
Name | Type | Description |
---|---|---|
Returns the min amount of new rewards required to split
Name | Type | Description |
---|---|---|
Returns the address of the liquid staking token handled by this contract
Returns a list of all accounts that have splitters
Returns whether a call should be made to performUpkeep to split new rewards
ERC677 implementation to receive an LST deposit
Withdraws tokens
Splits new rewards between receivers
Deploys a new splitter
Removes an account's splitter
Sets the min amount of new rewards required to split
Name | Type | Description |
---|---|---|
Name | Type | Description |
---|---|---|
Name | Type | Description |
---|---|---|
Name | Type | Description |
---|---|---|
Name | Type | Description |
---|---|---|
Name | Type | Description |
---|---|---|
Name | Type | Description |
---|---|---|
Name | Type | Description |
---|---|---|
Name | Type | Description |
---|---|---|
account
address
address of account
splitter
address
address of splitter corresponding to account
lst
address
address of LST
rewardThreshold
uint256
reward threshold
accounts
address[]
list of accounts
upkeepNeeded
bool
true if performUpkeep should be called, false otherwise
performData
bytes
abi encoded list of splitters to call
_sender
address
address of sender
_value
uint256
value of transfer
_amount
uint256
amount to withdraw
_performData
bytes
abi encoded list of splitters to call
_account
address
address of account to deploy splitter for
_fees
struct LSTRewardsSplitter.Fee[]
list of splitter fees
_account
address
address of account
_rewardThreshold
uint256
min amount of new rewards required to split