# MortgageFi user documentation

## MortgageFi Documentation

- [Learn about MortgageFi](https://mortgagefi-docs.gitbook.io/mortgagefi-documentation/starthere/learn-about-mortgagefi.md): MortgageFi offers decentralised financial services including Mortgages for digital assets, earning yield against deposited stable coins and borrowing against digital assets
- [Mortgage product](https://mortgagefi-docs.gitbook.io/mortgagefi-documentation/introduction/mortgage-product.md): Introduction to Mortgage product
- [Earn product](https://mortgagefi-docs.gitbook.io/mortgagefi-documentation/introduction/earn-product.md): Introduction to Earn product
- [Collateralised Mortgage Position (CMP)](https://mortgagefi-docs.gitbook.io/mortgagefi-documentation/introduction/collateralised-mortgage-position-cmp.md): Introduction to CMP product
- [Mortgage borrowers](https://mortgagefi-docs.gitbook.io/mortgagefi-documentation/how-mortgagefi-works/mortgage-borrowers.md)
- [Early repayment feature (ERF)](https://mortgagefi-docs.gitbook.io/mortgagefi-documentation/how-mortgagefi-works/mortgage-borrowers/early-repayment-feature-erf.md)
- [Mortgage dashboard](https://mortgagefi-docs.gitbook.io/mortgagefi-documentation/how-mortgagefi-works/mortgage-borrowers/mortgage-dashboard.md): User interface detailed explanation
- [Internal valuation pricing model](https://mortgagefi-docs.gitbook.io/mortgagefi-documentation/how-mortgagefi-works/mortgage-borrowers/internal-valuation-pricing-model.md)
- [Earn - Liquidity Providers](https://mortgagefi-docs.gitbook.io/mortgagefi-documentation/how-mortgagefi-works/earn-liquidity-providers.md)
- [Redeemer](https://mortgagefi-docs.gitbook.io/mortgagefi-documentation/how-mortgagefi-works/earn-liquidity-providers/redeemer.md): Learn how to redeem Earn tokens 1:1 for USD stablecoins
- [Collateralised Mortgage Position (CMP)](https://mortgagefi-docs.gitbook.io/mortgagefi-documentation/how-mortgagefi-works/collateralised-mortgage-position-cmp.md)
- [Tutorials step-by-step](https://mortgagefi-docs.gitbook.io/mortgagefi-documentation/getting-started/tutorials-step-by-step.md): Step-by-step tutorials to get you up and running using our decentralised financial services
- [Connect your wallet](https://mortgagefi-docs.gitbook.io/mortgagefi-documentation/getting-started/tutorials-step-by-step/connect-your-wallet.md)
- [How to take a Mortgage](https://mortgagefi-docs.gitbook.io/mortgagefi-documentation/getting-started/tutorials-step-by-step/how-to-take-a-mortgage.md)
- [How to open an Earn position](https://mortgagefi-docs.gitbook.io/mortgagefi-documentation/getting-started/tutorials-step-by-step/how-to-open-an-earn-position.md)
- [How to use the Redeemer](https://mortgagefi-docs.gitbook.io/mortgagefi-documentation/getting-started/tutorials-step-by-step/how-to-use-the-redeemer.md): Use the Redeemer to exit your Earn position 1:1 for USD stable coins by waiting for repayments and fees from Mortgage borrowers
- [How to exit your Earn position via Uniswap](https://mortgagefi-docs.gitbook.io/mortgagefi-documentation/getting-started/tutorials-step-by-step/how-to-exit-your-earn-position-via-uniswap.md)
- [How to enter Earn via Uniswap](https://mortgagefi-docs.gitbook.io/mortgagefi-documentation/getting-started/tutorials-step-by-step/how-to-enter-earn-via-uniswap.md)
- [How to open a CMP](https://mortgagefi-docs.gitbook.io/mortgagefi-documentation/getting-started/tutorials-step-by-step/how-to-open-a-cmp.md): CMPs combine our Mortgage and Earn products enabling you to borrow against your deposited asset with 98% synthetic USD stable coins whilst retaining upside exposure through the mortgage position
- [Components](https://mortgagefi-docs.gitbook.io/mortgagefi-documentation/getting-started/components.md)
- [Mortgage Vaults](https://mortgagefi-docs.gitbook.io/mortgagefi-documentation/getting-started/components/mortgage-vaults.md)
- [Earning Vaults](https://mortgagefi-docs.gitbook.io/mortgagefi-documentation/getting-started/components/earning-vaults.md)
- [Loan NFTs](https://mortgagefi-docs.gitbook.io/mortgagefi-documentation/getting-started/components/loan-nfts.md)
- [Defaults](https://mortgagefi-docs.gitbook.io/mortgagefi-documentation/getting-started/components/defaults.md)
- [ERC20 Integration](https://mortgagefi-docs.gitbook.io/mortgagefi-documentation/getting-started/components/erc20-integration.md)
- [Points system (expired)](https://mortgagefi-docs.gitbook.io/mortgagefi-documentation/getting-started/points-system-expired.md)
- [Liquidity Incentives](https://mortgagefi-docs.gitbook.io/mortgagefi-documentation/getting-started/points-system-expired/liquidity-incentives.md)
- [Referral Incentives](https://mortgagefi-docs.gitbook.io/mortgagefi-documentation/getting-started/points-system-expired/referral-incentives.md)
- [General](https://mortgagefi-docs.gitbook.io/mortgagefi-documentation/faq/general.md)
- [Protocol vision](https://mortgagefi-docs.gitbook.io/mortgagefi-documentation/mortgagefi-ecosystem/protocol-vision.md): Learn about the problems MortgageFi is trying to solve and how the protocol came about
- [Contracts](https://mortgagefi-docs.gitbook.io/mortgagefi-documentation/mortgagefi-ecosystem/contracts.md)
- [Audits](https://mortgagefi-docs.gitbook.io/mortgagefi-documentation/mortgagefi-ecosystem/audits.md)
- [Governance Structure](https://mortgagefi-docs.gitbook.io/mortgagefi-documentation/mortgagefi-ecosystem/governance-structure.md)
- [Integrate your own token](https://mortgagefi-docs.gitbook.io/mortgagefi-documentation/mortgagefi-ecosystem/integrate-your-own-token.md)
- [Integration Process](https://mortgagefi-docs.gitbook.io/mortgagefi-documentation/mortgagefi-ecosystem/integrate-your-own-token/integration-process.md)
- [Benefits of Integration](https://mortgagefi-docs.gitbook.io/mortgagefi-documentation/mortgagefi-ecosystem/integrate-your-own-token/benefits-of-integration.md)
- [Considerations](https://mortgagefi-docs.gitbook.io/mortgagefi-documentation/mortgagefi-ecosystem/integrate-your-own-token/considerations.md)
- [How to apply](https://mortgagefi-docs.gitbook.io/mortgagefi-documentation/mortgagefi-ecosystem/integrate-your-own-token/how-to-apply.md)
- [Self-Balancing Protocol](https://mortgagefi-docs.gitbook.io/mortgagefi-documentation/mortgagefi-ecosystem/self-balancing-protocol.md)
- [Three Pillars](https://mortgagefi-docs.gitbook.io/mortgagefi-documentation/mortgagefi-ecosystem/self-balancing-protocol/three-pillars.md)
- [Protocol Design](https://mortgagefi-docs.gitbook.io/mortgagefi-documentation/mortgagefi-ecosystem/self-balancing-protocol/protocol-design.md)
- [How the System Balances](https://mortgagefi-docs.gitbook.io/mortgagefi-documentation/mortgagefi-ecosystem/self-balancing-protocol/how-the-system-balances.md)
- [Security and Attack Vectors](https://mortgagefi-docs.gitbook.io/mortgagefi-documentation/mortgagefi-ecosystem/self-balancing-protocol/security-and-attack-vectors.md)
- [Advantages of This Model](https://mortgagefi-docs.gitbook.io/mortgagefi-documentation/mortgagefi-ecosystem/self-balancing-protocol/advantages-of-this-model.md)
- [Under-Collateralized Loans](https://mortgagefi-docs.gitbook.io/mortgagefi-documentation/under-collateralized-loans.md)
- [What are Under-Collateralized Loans?](https://mortgagefi-docs.gitbook.io/mortgagefi-documentation/under-collateralized-loans/what-are-under-collateralized-loans.md)
- [Key Features](https://mortgagefi-docs.gitbook.io/mortgagefi-documentation/under-collateralized-loans/key-features.md)
- [How it works](https://mortgagefi-docs.gitbook.io/mortgagefi-documentation/under-collateralized-loans/how-it-works.md)
- [Risk Management](https://mortgagefi-docs.gitbook.io/mortgagefi-documentation/under-collateralized-loans/risk-management.md)
- [Benefits for Borrowers](https://mortgagefi-docs.gitbook.io/mortgagefi-documentation/under-collateralized-loans/benefits-for-borrowers.md)
- [Use Case Example](https://mortgagefi-docs.gitbook.io/mortgagefi-documentation/use-case-example.md)
- [Comparison Examples](https://mortgagefi-docs.gitbook.io/mortgagefi-documentation/comparison-examples.md)
- [Funding Rates and Position Stability](https://mortgagefi-docs.gitbook.io/mortgagefi-documentation/comparison-examples/funding-rates-and-position-stability.md)
- [Zero-Sum Game vs. Mutual Benefit](https://mortgagefi-docs.gitbook.io/mortgagefi-documentation/comparison-examples/zero-sum-game-vs.-mutual-benefit.md)
- [Long-Term Holding vs. Short-Term Trading](https://mortgagefi-docs.gitbook.io/mortgagefi-documentation/comparison-examples/long-term-holding-vs.-short-term-trading.md)
- [Risk Profile](https://mortgagefi-docs.gitbook.io/mortgagefi-documentation/comparison-examples/risk-profile.md)
- [Costs and Predictability](https://mortgagefi-docs.gitbook.io/mortgagefi-documentation/comparison-examples/costs-and-predictability.md)
- [Yield for Earn Vaults](https://mortgagefi-docs.gitbook.io/mortgagefi-documentation/yield-for-earn-vaults.md)
- [Risk Management](https://mortgagefi-docs.gitbook.io/mortgagefi-documentation/risk-management.md)
- [Risk Management Strategies](https://mortgagefi-docs.gitbook.io/mortgagefi-documentation/risk-management/risk-management-strategies.md)
- [Risks and Mitigations](https://mortgagefi-docs.gitbook.io/mortgagefi-documentation/risk-management/risks-and-mitigations.md)
- [User Responsibilities](https://mortgagefi-docs.gitbook.io/mortgagefi-documentation/risk-management/user-responsibilities.md)
- [Community Risk Management](https://mortgagefi-docs.gitbook.io/mortgagefi-documentation/risk-management/community-risk-management.md)
- [Ongoing Risk Management](https://mortgagefi-docs.gitbook.io/mortgagefi-documentation/risk-management/ongoing-risk-management.md)
- [Long vs Short-term Strategy](https://mortgagefi-docs.gitbook.io/mortgagefi-documentation/strategies/long-vs-short-term-strategy.md): Learn about both strategies here
- [Long-term strategy](https://mortgagefi-docs.gitbook.io/mortgagefi-documentation/strategies/long-vs-short-term-strategy/long-term-strategy.md): The page describes how to use MortgageFi to leverage long term belief in the upwards price direction of the asset you mortgage.
- [Short-term strategy](https://mortgagefi-docs.gitbook.io/mortgagefi-documentation/strategies/long-vs-short-term-strategy/short-term-strategy.md): Below describes how to take advantage of MortgageFi with a short-term profit strategy, enabling quick gains in a volatile market.
- [Comparing the Strategies](https://mortgagefi-docs.gitbook.io/mortgagefi-documentation/strategies/long-vs-short-term-strategy/comparing-the-strategies.md)
- [CMP: hedge against the bear market](https://mortgagefi-docs.gitbook.io/mortgagefi-documentation/strategies/cmp-hedge-against-the-bear-market.md): Bear market protection with bull market exposure!
- [Cross-Chain Operations](https://mortgagefi-docs.gitbook.io/mortgagefi-documentation/strategies/cross-chain-operations.md)
- [Token Sink](https://mortgagefi-docs.gitbook.io/mortgagefi-documentation/strategies/token-sink.md)


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
This site has an agentic ask interface you may use to query the documentation dynamically by asking a question.

Perform an HTTP GET request on the following URL with the `ask` and `goal` query parameters:

```
GET https://mortgagefi-docs.gitbook.io/mortgagefi-documentation/index.md?ask=<question>&goal=<user_goal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is what the user is ultimately trying to achieve, the reason they need the answer. Sharing it helps GitBook give you a better, more relevant answer. A goal is most helpful when it describes the outcome the user wants rather than restating the question. For example, with `ask=how do I create an API token`, a goal like `automate deployments from our CI pipeline` lets GitBook tailor the answer to that use case.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.
