# Deposit Contracts

Deposit Contracts are the contract structures within the SolvBTC on-chain liquidity system that handle Reserve Asset deposits and the minting of SolvBTC. They define how users introduce Reserve Assets into the system and map these deposits into mintable SolvBTC balances.

Deposit Contracts do not assume long-term custody responsibility for Reserve Assets. All Reserve Assets received through this structure are ultimately transferred to the Safe Vault for unified management.

The current Deposit Contracts structure is inherited from the original **SAL (Staking Abstraction Layer)** design and adapted to the SolvBTC asset minting logic. As SolvBTC evolves independently, this part of the contract structure is expected to be redesigned.

#### Key Components

**Market Contract**

The Market Contract defines the acceptable types of Reserve Assets and their corresponding deposit parameters, and serves as the entry contract for users initiating the deposit process.

This contract validates whether the deposited assets comply with the current market configuration and forwards valid deposit requests to subsequent contracts.

**Shares Contract**

The Shares Contract records the share representation corresponding to user deposits. During the deposit process, a user’s Reserve Asset is mapped to a corresponding amount of Shares, representing the user’s deposit rights within the system.

Shares do not directly represent transferable assets and serve only as an intermediate representation for minting SolvBTC.

**Mint Contract**

The Mint Contract completes the minting of SolvBTC based on the amount of Shares held by the user.\
It is responsible for mapping Shares to concrete SolvBTC balances and allocating the minted SolvBTC to the user’s address.

#### Flow

**Deposit Flow**

Users submit Reserve Asset deposit requests via the Market Contract. After the deposit request is validated, the system generates the corresponding Shares for the deposit, and the Mint Contract mints SolvBTC based on the number of Shares.

Once minting is completed, the corresponding Reserve Assets are transferred to the Safe Vault as system-managed reserve assets.

Deposit Contracts are only responsible for handling Reserve Asset deposits and SolvBTC minting, and do not participate in redemption, swapping, or asset custody processes.


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.solv.finance/solvbtc-technical-architecture/onchain-liquidity-architecture/deposit-contracts.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
