Skip to main content

GnoRewardSplitter

Git Source ↗

Inherits: RewardSplitter

The GnoRewardSplitter can be used on Gnosis networks to split the rewards of the fee recipient of the vault based on configures shares

State Variables​

_gnoToken​

IERC20 private immutable _gnoToken

Functions​

constructor​

Constructor for GnoRewardSplitter

constructor(address gnoToken) RewardSplitter();

Parameters

NameTypeDescription
gnoTokenaddressThe address of the GNO token

initialize​

Initializes the RewardSplitter contract

function initialize(address _vault) external override initializer;

Parameters

NameTypeDescription
_vaultaddressThe address of the vault to which the RewardSplitter will be connected

_transferRewards​

Transfers the specified amount of rewards to the shareholder

function _transferRewards(address shareholder, uint256 amount) internal override;

Parameters

NameTypeDescription
shareholderaddressThe address of the shareholder
amountuint256The amount of rewards to transfer