Manager
The Manager is the contract responsible for rebalancing the BoringVault. The account that uses the Manager to rebalance is called the strategist. The Manager contract gates strategist calls to expose the minimum set of functionality required to rebalance the vault. This gating is implemented as a Merkle verification system: every rebalance call made by a strategist must additionally submit a Merkle proof verifying that the content of the call is permitted by the vault (e.g. enforcing a whitelist of DeFi protocols or assets that the vault can take exposure to). This logic has been implemented in the ManagerWithMerkleVerification. Additionally, uManagers ("Micro Managers") can be used to implement complex verification logic.
Last updated