๐Ÿ“œ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.

Last updated