Administration

Change the end user fee

FEE_MANAGER should be used to perform these actions.

Set the deposit fee

The deposit fee is taken at the time of deposit. You can set it by calling the setDepositFee(uint256 newDepositFee), where newDepositFee is a fixed amount of tokens deducted from each deposit.

Set the rewards fee

The rewards fee is computed as percentage of the rewards generated by the Vault as a whole. It can be set by callingsetRewardFee(uint256 newRewardFee), where newRewardFeeis denominated in basis points.

Change commission recipients

ADMIN should be used to perform these actions.

Set fee recipients

To set the recipients of the deposit and rewards fees, you can call the setFeeRecipients(FeeRecipient[] memory recipients) function where recipients is an array of the following structure:

struct FeeRecipient {
        address recipient;
        uint256 depositFeeSplit;
        uint256 rewardFeeSplit;
}

where:

  • recipient is the address of the fee recipient

  • depositFeeSplit is the share of the recipient on the deposit fee (in basis points)

  • rewardFeeSplit is the share of the recipient on the performance fee (in basis points)

The sum of alldepositFeeSplit values and the sum of all rewardFeeSplit values in the struct must both equal 100 * 10^(decimal places of the token).

Last updated