LLM Notice: This documentation site supports content negotiation for AI agents. Request any page with Accept: text/markdown or Accept: text/plain header to receive Markdown instead of HTML. Alternatively, append ?format=md to any URL. All markdown files are available at /md/ prefix paths. For all content in one file, visit /llms-full.txt
Skip to main content

Flow Credit Market (FCM)

Flow Credit Market (FCM) is a comprehensive DeFi yield platform on Flow that combines automated lending, yield farming strategies, and a synthetic stablecoin to create a capital-efficient system for generating returns on crypto assets.

What is FCM?

FCM is not a single protocol - it's an integrated system composed of three core components working together:


_10
graph LR
_10
ALP[ALP<br/>Automated Lending<br/>Platform] --> FCM[Flow Credit<br/>Market]
_10
FYV[FYV<br/>Flow Yield<br/>Vaults] --> FCM
_10
MOET[MOET<br/>Synthetic<br/>Stablecoin] --> FCM
_10
_10
style FCM fill:#f9f,stroke:#333,stroke-width:4px
_10
style ALP fill:#bbf,stroke:#333,stroke-width:2px
_10
style FYV fill:#bfb,stroke:#333,stroke-width:2px
_10
style MOET fill:#fbb,stroke:#333,stroke-width:2px

The Three Components

  1. ALP (Automated Lending Platform): The core lending/borrowing engine

    • Manages collateral deposits and debt positions
    • Provides automated rebalancing to maintain position health
    • Uses DeFi Actions for composability
    • Implements liquidation prevention mechanisms
  2. FYV (Flow Yield Vaults): The yield aggregation layer

    • Deploys borrowed capital into optimal yield strategies
    • Automatically compounds returns
    • Provides liquidity for ALP liquidation prevention
    • Manages risk through auto-balancing
  3. MOET: The synthetic stablecoin

    • Serves as the unit of account for all pricing
    • Primary borrowed asset in ALP
    • Medium of exchange between components
    • Maintains stability through over-collateralization

How the Components Work Together

FCM creates a yield-generating flywheel by connecting these three components:

The Capital Flow


_19
sequenceDiagram
_19
participant User
_19
participant ALP
_19
participant MOET
_19
participant FYV
_19
participant Yield
_19
_19
User->>ALP: 1. Deposit FLOW collateral
_19
ALP->>ALP: 2. Calculate borrowing capacity
_19
ALP->>MOET: 3. Auto-borrow MOET
_19
MOET->>FYV: 4. Deploy to yield strategy
_19
FYV->>Yield: 5. Generate returns
_19
Yield->>FYV: 6. Accumulate yield
_19
_19
Note over ALP,FYV: When collateral price drops:
_19
FYV->>ALP: 7. Provide funds for rebalancing
_19
ALP->>MOET: 8. Repay debt automatically
_19
_19
Note over User,ALP: Result: Position stays healthy

Step-by-Step Flow

  1. User deposits collateral (e.g., FLOW tokens) into an ALP position
  2. ALP auto-borrows MOET against the collateral to reach target health ratio (1.3)
  3. Borrowed MOET flows to a FYV strategy (via DrawDownSink)
  4. FYV deploys capital into yield-generating opportunities (farms, LPs, etc.)
  5. Yield accumulates and compounds automatically
  6. If collateral price drops: FYV provides liquidity to ALP (via TopUpSource)
  7. ALP repays debt automatically to prevent liquidation
  8. User keeps position healthy without manual intervention

Key Innovations

1. Yield-Powered Liquidation Prevention

Unlike traditional lending protocols where you must manually add collateral or repay debt when prices drop, FCM uses your yield to maintain position health. Yield from FYV strategies flows back to ALP automatically, ALP pulls from FYV to repay debt when needed, your position stays healthy without manual intervention, and you earn yield while protecting yourself from liquidation.

2. Automated Capital Efficiency

FCM maximizes your capital efficiency through automation:

  • Auto-borrowing: Instantly borrow optimal amount when depositing collateral
  • Auto-rebalancing: Maintain target health ratio (1.1-1.5) automatically
  • Auto-compounding: FYV strategies reinvest yields
  • Auto-protection: Pull from yield to prevent liquidations

3. Composable Architecture

Each component can be used independently or together. Use ALP alone for traditional lending/borrowing, use FYV alone for yield aggregation, or use FCM together for the complete yield-generating system.

Why Use FCM?

For Yield Seekers

FCM allows you to maximize returns by borrowing against collateral and deploying into high-yield strategies, leverage without liquidation risk as yield protects your positions, set and forget through complete automation, and compound returns as yields reinvest automatically.

For Conservative Users

FCM provides liquidation protection through yield maintaining position health, flexible health targets allowing you to choose your risk tolerance (1.1-1.5), support for multiple collateral types including FLOW, stFLOW, USDC and more, and complete transparency with all logic on-chain and auditable.

For DeFi Builders

FCM offers composable primitives allowing you to build on ALP, FYV, or both, standard interfaces for integration through DeFi Actions, the ability to create custom FYV strategies through extensible strategy patterns, and all code publicly available as open source.

Documentation Structure

Getting Started

Component Documentation

Advanced Topics

Quick Start

As a User

  1. Get collateral: Acquire FLOW, stFLOW, or other supported tokens
  2. Connect wallet: Use a Flow-compatible wallet
  3. Create position: Deposit collateral to start earning
  4. Monitor health: Track your position via the dashboard

As a Developer

  1. Explore ALP: Understand the lending primitives
  2. Study FYV: Learn about yield strategies
  3. Read DeFi Actions: Master the composability framework
  4. Build: Create your own strategies or integrations

Key Metrics

Understanding these metrics is crucial for using FCM:

  • Health Factor: Ratio of collateral value to debt (must stay above 1.0)
  • Target Health: Optimal ratio (typically 1.3)
  • Collateral Factor: Percentage of collateral value usable for borrowing (e.g., 0.8 = 80%)
  • APY: Annual Percentage Yield from FYV strategies
  • Utilization Rate: Percentage of ALP liquidity currently borrowed

Security & Audits

FCM implements multiple security layers including smart contract audits for all core contracts, oracle safety through multiple price feed sources with staleness checks, multiple liquidation mechanisms to maintain solvency, circuit breakers for emergency pause functionality, and open source code that is publicly reviewable.

Community & Support

What's Next?


tip

FCM is designed as a composable system. You don't need to use all three components - choose what fits your needs. But when used together, they create a powerful yield-generating machine with automated liquidation protection.