Hook
The hook
contract must implement function beforeTransfer(*address* *from*) external view;
. This function will be called before every BoringVault share transfer/transferFrom.
This setup allows the hook to implement logic like share pausing, or in the case of the
Teller, a share lock period.
Last updated