BasicShareManager is a concrete implementation of the abstract ShareManager, designed to provide native ERC20-style share accounting within a modular vault system. It handles minting, burning, and tracking balances of vault shares directly through a local ERC20-compatible storage layout, without exposing standard ERC20 interfaces.
This contract is intended for setups where shares are not tokenized on-chain as ERC20s but are still tracked internally using the ERC20Upgradeable storage schema.
ShareManager for permissioning, allocation, and whitelisting logic.ERC20Upgradeable.ERC20Storage.IERC20.Transfer events (for transparency or compatibility).ERC20 interface – share transfers are governed by vault queues and mint/burn logic only.ERC20-style balances and supply are stored at a fixed storage slot allowing for migrations BasicShareManager ↔ TokenizedShareManager:
bytes32 private constant ERC20StorageLocation = 0x52c6...ce00;
function initialize(bytes calldata data) external initializer
bytes32 whitelistMerkleRoot (used by ShareManager).activeShares(): Returns _totalSupply from ERC20 storage.activeSharesOf(account): Returns balance of account._mintShares(address, uint256)updateChecks.