Source: src/FundShare.sol
Responsibility
FundShare is the ERC-20 share token of a fund. One FundShare is deployed per fund, with 18 decimals. Holding shares represents a pro-rata claim on the fund’s assets at the oracle-reported price.
It is deliberately minimal: a standard ERC20Upgradeable where only the Fund can mint and burn. All supply changes happen inside the Fund’s settlement flow:
- Minted to the DepositQueue (user shares) and to fee recipients (entry/exit/management/performance/protocol fee shares) during
Fund.acceptReport. - Burned from the Fund’s own balance when redeem batches settle (the RedeemQueue transfers the batch’s shares to the Fund first).
DepositQueue.claimDeposit after their batch settles.