Tracks shares for deposits
Tracks it's active strategy
Deposits and invests in strategy via earn
Allows to withdraw via withdraw
Removed Controller
Removed harvest from vault (only on strategy)
Params added to track autocompounded rewards (lifeTimeEarned, lastHarvestedAt, lastHarvestAmount, assetsAtLastHarvest)
this would work in sync with autoCompoundRatio to help us track harvests better.
Fees
Strategy would report the autocompounded harvest amount to the vault
Calculation performanceFeeGovernance, performanceFeeStrategist, withdrawalFee, managementFee moved to the vault.
Vault mints shares for performanceFees and managementFee to the respective recipient (treasury, strategist)
withdrawal fees is transferred to the rewards address set
Permission:
Strategist can now set performance, withdrawal and management fees
Governance will determine maxPerformanceFee, maxWithdrawalFee, maxManagementFee that can be set to prevent rug of funds.
Strategy would take the actors from the vault it is connected to
All goverance related fees goes to treasury