uint256 maxStreamingFeePercentage;// Max streaming fee manager commits to using (1% = 1e16, 100% = 1e18)
uint256 streamingFeePercentage;// Percent of Set accruing to manager annually (1% = 1e16, 100% = 1e18)
uint256 lastStreamingFeeTimestamp;// Timestamp last streaming fee was accrued
The feeRecipient is the address where streaming fees will accrue.
The maxStreamingFeePercentage is the max streaming fee that the manager commits to charging. The manager will be able to change streaming fees below that amount. This is denominated in percentages (1e16).
The streamingFeePercentage is the percent of Set accruing to manager annually.
The lastStreamingFeeTimestamp is the timestamp of last streaming fee was accrued. The module will set this parameter as the current block timestamp, so you can pass in any value here (e.g. 0).
Anyone can call the accrueFee function to mint streaming fees to the fee recipient. Streaming fees are calculated as a total inflation percentage. Position units are adjusted down (in magnitude) in order to ensure full collateralization of the SetToken.
* Calculates total inflation percentage then mints new Sets to the fee recipient. Position units are
* then adjusted down (in magnitude) in order to ensure full collateralization. Callable by anyone.