autoProcessRewards()

This function is in the AutoCompoundingRewards.sol contract.

Function autoProcessRewards()

AutoCompoundingRewards.sol
function autoProcessRewards() external nonReentrant

This function is used to trigger the actual distribution of the auto compounding rewards based on the pre-defined program. Once called, it will burn the calculated bnTokens from the amount deposited in the externalRewardsVault and redistribute the underlying asset and value to all liquidity providers.

Last updated