# cBTC1

## **Discreet Log Contracts (DLC)**

**Functionality**:

* DLCs in our context are advanced and allow for the locking of Bitcoin under specific conditions, which are verifiable and enforceable via cryptographic techniques. These contracts are set up to automatically adjust their behaviours based on real-time data provided by oracles.

**Dynamic Operations**:

* **Locking Mechanism**: Initially, a user locks Bitcoin as collateral in a DLC. The amount of Bitcoin locked can vary based on the initial contract terms which align with the current market value and loan requirements.
* **Conditional Unlocking**: The DLC includes conditions for unlocking the Bitcoin, which are contingent upon price data supplied by oracles. If the market price of Bitcoin falls below a certain threshold, the contract automatically initiates protective actions, which may include partial or complete unlocking of the collateral.

\
Example 2:

1. Alice decides to borrow 10,000 USDT, providing Bitcoin as collateral.
2. The initial lock-in for the Bitcoin is dynamically set at current market prices, say 1 BTC.
3. A DLC is created with the following conditional clauses:
   * If the price of Bitcoin, as reported by oracles, remains stable or increases, the lock remains.
   * If the price drops below 85% of the loan-to-value ratio, the contract triggers an automatic adjustment:
     * This may involve additional collateral calls or partial liquidation, which are executed automatically.
4. The public keys and signatures involved in the DLC are dynamically generated, ensuring secure and flexible operations.
5. Oracle updates are critical, and the contract listens for these updates to dynamically adjust its state.


---

# 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://ordibank.gitbook.io/untitled/ordibank-protocol/component-breakdown/cbtc1.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.
