TokenizedShareManager
Overview
This module extends
ShareManager
andERC20Upgradeable
, making vault shares externally transferable and fully compliant with the ERC20 standard.It is intended for vaults that require tokenized shares usable across external protocols, wallets, or DeFi integrations.
Core share logic (minting, burning, whitelisting, lockups) is delegated to the inherited
ShareManager
, preserving consistent permission enforcement.Whitelist enforcement, lockup mechanics, and share claim logic are integrated into the overridden
_update
hook, which ensures all token transfers pass necessary checks and callclaimShares
for non-zero actors.Suitable for use cases where share liquidity, composability, or token standard compatibility (e.g., ERC20, ERC4626 wrappers) is required.