These changes were made since version 1.4.0 and deployed during January-February 2022
Added sorting functions
Registration vault and strategy logic was changed. Now we check them on Controller instead of internal Bookkeeper arrays for reducing gas cost.
Reward distribution logic was improved for properly register StrategySplitter snapshots
New base component. Gas usage optimised. Compatable with V1 slots but some functions removed, require properly changes on child contracts.
Contract size optimized. Was removed all modifiers and replaced to functions calls.
Added StrategySplitter governance function addStrategiesToSplitter()
Slippage now is a changable variable.
Added minimal amount for processing for reducing gas cost of doHardWork actions
Migrated from Controllabel to ControllableV2
Created VaultLib, moved some static logic to the lib. Properly changed functions for using the library.
Optimisation for reducing gas cost.
Name and Symbol can be overriden. However it will be not reflect on polygonscan :(
Added a logic for
call doHardWork on invest actions
ability to always call invest on deposit actions
Removed SafeMath library.
All strategies doHardWork() now able to call directly (from HardWorkers EOAs) without using vault or controller. It needs for more flexible managing this process from off-chain scrips.
Removed deprecated interfaces
Added manual actions for HardWorkers
Now we are not investing assets and not rebalance during doHardWork for reducing gas usage. These actions moved to off-chain script and calls when it is really necessary.
Created ProxyStrategyBase for using with proxy strategies
New middle layer solution. Using between Vault and multiple strategies.
For vault the splitter is a strategy, for sub-strategies the splitter is a vault.
Contains partially functionality from vault and strategy for properly emulating behavior.
Alpaca
Beethoven
Impermax
Qi staking
Self farm strategy
Nacho
Tomb
Added balancer tokens price determination
Now we are able to exclude some platforms from calculation.
Distribution period changed to 7 days
Removed deprecated functions
Optimised reward calculation process.
Added sync() call for each swap call