IRewardSplitterFactory
Author: StakeWise
Defines the interface for the RewardSplitterFactory contract
Functions
implementation
The address of the RewardSplitter implementation contract used for proxy creation
function implementation() external view returns (address);
Returns
Name | Type | Description |
---|---|---|
<none> | address | The address of the RewardSplitter proxy contract |
createRewardSplitter
Creates RewardSplitter contract proxy
function createRewardSplitter(address vault) external returns (address rewardSplitter);
Parameters
Name | Type | Description |
---|---|---|
vault | address | The address of the vault to which the RewardSplitter will be connected |
Returns
Name | Type | Description |
---|---|---|
rewardSplitter | address | The address of the created RewardSplitter contract |
Events
RewardSplitterCreated
Event emitted on a RewardSplitter creation
event RewardSplitterCreated(address owner, address vault, address rewardSplitter);
Parameters
Name | Type | Description |
---|---|---|
owner | address | The address of the RewardSplitter owner |
vault | address | The address of the connected vault |
rewardSplitter | address | The address of the created RewardSplitter |