OpenEndFundManager
Last updated
Was this helpful?
Last updated
Was this helpful?
Author: CapSign Inc.
Manages an open-ended fund by orchestrating subscriptions and redemptions at NAV, calling updateNAV on the registry, and controlling windows for liquidity.
Allows an investor to subscribe by sending in tokens.
Parameters
amount
uint256
The amount of stablecoins to invest.
costBasis
uint96
The cost basis per share (if relevant).
Allows an investor to redeem shares for stablecoins, if redemptions are open.
Parameters
lotId
bytes32
The ID of the lot to redeem from.
realQuantity
uint96
The number of shares (in "real" quantity) to redeem.
Updates the NAV ratio in the underlying registry, e.g., daily or monthly. In a real scenario, 'num' and 'den' might come from an oracle or off-chain calculation.