Deposit and Withdraw Mechanism

Mutual Fund Mechanism (epoch-based entry/exit)

  1. 1.
    To Deposit or Withdraw from the DHV, a user must signal their intention to do so via deposit or initiateWithdraw. When signalling, the deposit amount in USDC or withdrawal amount in shares should be provided. Once a user has signalled either action they cannot cancel it.
  2. 2.
    To begin with, on a weekly basis, an epoch is executed by keeper bots. At this point, the portfolio's net asset value (NAV) is calculated by taking all assets and liabilities (options liabilities are valued against the protocol's volatility surface and Black Scholes) and setting a price per share. This determines the value of the deposit or withdrawal.
  3. 3.
    Once the epoch is executed, user deposits are now active and withdrawers can completeWithdraw to return their USDC to their wallet. Deposits and Withdrawals are priced based on the epoch after they deposited or initiated their withdrawal.


  • Epochs can be arbitrary in length, to begin with, epochs will be weekly and this may change in the future to facilitate faster entry and exit depending on demand.
  • The liquidity pool maintains a liquidity buffer, used to ensure that the liquidity pool has sufficient funds to hedge itself and manage the margin for options and perpetual position collateral. As a result, it is possible for withdrawals to not be processed for that epoch if the withdrawal would take funds from the liquidity buffer, if this happens then withdrawals are postponed until there are free funds to process the withdrawal. Once a withdrawal epoch is successfully executed, users can always withdraw their funds.