Friktion
Search…
User Flow
volt #04 state machine
  1. 1.
    Users deposit/withdraw stablecoin. Epochs and deposits/withdrawals are resolved by default weekly on Thursday night (2 UTC).
  2. 2.
    New epochs are automatically triggered when the amount of pending deposits is greater than 2% of Mango's 24h trailing volume on SOL perps to minimize price impact from signaling to other participants about expected future flow.
  3. 3.
    Epochs with large amounts of incoming deposits/withdrawals may take longer than normal to resolve so that the Volt can exit its position while reducing slippage. During the time that the Volt is rebalancing, no new deposits can be made.
  4. 4.
    Once an epoch, volt aggregates deposits and moves the USDC to Mango
  5. 5.
    Given β€œmango account equity” = $X, volt buys $X of SOL-PERP and shorts $X of SOL. This implies the volt is long 1 unit of basis, delta-hedged within -1 to +1%. The Volt is at effective 2x leverage on $ equity, but only exposed to spread between perp & spot so virtually impossible to liquidate (since they both use same oracle)
  6. 6.
    After the volt has fully traded into position, mints vault tokens for users and opens claiming pending deposits/withdrawals
  7. 7.
    Users may claim deposits/withdrawals
Copy link