Powered by LibFi

# AutoFi Crypto Stocks Vault (afCrypto)

Crypto-Adjacent Equity Exposure

---
config:
  theme: neutral
---
flowchart TB
  

    subgraph CryptoVault[afCrypto Plasma Vault]
        V2[ERC-4626 Vault<br/>Base Asset: USDC]
    end

  

    subgraph SharedFuses[Shared Fuse Set]
        ERC[SupplyFuseERC4626]
        Bal[BalanceFuseERC4626]
        Swap[SwapFuseUniversal]
    end

 

    subgraph CryptoTokens[Crypto Basket]
        tCOIN[tCOIN]
        tMSTR[tMSTR]
        tCRCL[tCRCL]
        tBMNR[tBMNR]
    end


    V2 --> SharedFuses --> CryptoTokens


    Raindex[(Raindex)]
    SharedFuses --> Raindex

# What It Is

afCrypto captures the growth of the crypto ecosystem through publicly traded companies: Coinbase (tCOIN), MicroStrategy (tMSTR), Circle (tCRCL), and Bitmine Immersion Technologies (tBMNR). This vault provides exposure to crypto markets through traditional equity vehicles.

# How It Works

The vault maintains a basket of crypto-adjacent stocks—companies whose fortunes rise and fall with the crypto industry. These include crypto exchanges, corporate Bitcoin holders, stablecoin issuers, and Bitcoin miners. The portfolio is rebalanced periodically to maintain target allocations.

# Target Returns

High beta to crypto markets, often with amplified swings

# Who It’s For

  • Crypto bulls who want additional exposure through equities
  • Investors seeking regulated crypto exposure
  • Those who want crypto upside without directly holding crypto assets
  • Users looking for a crypto proxy that trades during US market hours

# Benefits

Amplified Crypto Exposure: Companies like MicroStrategy and Coinbase often move more than Bitcoin itself during bull runs.

Regulatory Clarity: SEC-registered public companies with audited financials provide a different risk profile than holding crypto directly.

Diversified Crypto Exposure: Gain exposure to exchanges, infrastructure, mining, and corporate adoption trends.

Revenue-Generating Businesses: Unlike holding Bitcoin, these companies generate revenue from trading fees, yield on reserves, and mining operations.

# Risk Profile

Very High Risk: These stocks exhibit extreme volatility, often exceeding Bitcoin itself. MicroStrategy acts as leveraged Bitcoin exposure. Suitable only for investors with very high risk tolerance who understand crypto market dynamics.

# Stock Vault Rebalancing Flows

---
config:
  theme: neutral
---
sequenceDiagram
    participant Alpha as Alpha Bot
    participant Vault as Plasma Vault
    participant Pyth as Pyth Oracle
    participant Raindex
    participant Tokens as Wrapped ST0x

    Note over Alpha: Monthly or threshold-based rebalance

    Alpha->>Vault: get current token balances
    Alpha->>Pyth: get all token prices
    Alpha->>Alpha: calculate current weights
    Alpha->>Alpha: compare to target weights

    loop For each token needing adjustment
        alt Token overweight
            Alpha->>Vault: withdraw wrapped token
            Alpha->>Vault: swap token to USDC
            Vault->>Raindex: takeOrder sell
        else Token underweight
            Alpha->>Vault: swap USDC to token
            Vault->>Raindex: takeOrder buy
            Alpha->>Vault: deposit wrapped token
        end
    end

    Alpha->>Vault: verify final weights
    Alpha->>Alpha: log rebalance complete

# Stock Corporate Action Handling

---
config:
  theme: neutral
---
flowchart TB
    subgraph Monitoring[Corporate Action Monitor]
        CA[Check Corporate Action ID]
        Oracle[Compare Token vs Oracle CA ID]
    end

    subgraph Actions[Response Actions]
        Pause[Pause Trading]
        Wait[Wait for Sync]
        Resume[Resume Normal Ops]
    end

    subgraph Types[Corporate Action Types]
        Split[Stock Split<br/>Wrapped token adjusts automatically]
        Dividend[Dividend<br/>Reinvested in wrapped token]
        Merger[Merger/Spinoff<br/>Manual intervention]
    end

    CA --> Oracle
    Oracle -->|Mismatch| Pause
    Oracle -->|Match| Resume
    Pause --> Wait
    Wait -->|Synced| Resume

    Types --> CA