Reviewed Aug 2026
DE
DA-02 · LESSON 07

UNIT state versus vault state

KEY DEFINITIONS

Terms used in this lesson

UNIT
Ducat’s dollar-pegged stablecoin, the asset a borrower can create against bitcoin collateral.
Vault
A set of Bitcoin outputs and spending rules that holds collateral and represents the current loan state.
Runes
A Bitcoin metaprotocol that assigns fungible-token meaning to transaction outputs through off-chain interpretation.
UTXO
Unspent transaction output: one discrete chunk of bitcoin that can be used as a transaction input.
Collateral
An asset pledged against a debt; it can be used to cover the debt if agreed conditions are breached.
Validator
Software or a participant that independently checks state transitions under a system's rules. The exact role depends on the protocol being discussed.
BTC
The common market ticker for bitcoin.
Outpoint
A transaction ID plus output number that identifies one exact prior output.

Rune token allocations, vault UTXOs, collateral values, and debt records are related protocol views but are not one interchangeable state object.

55 min Difficulty 4/5 Not started

Loading lesson visuals...

01

Learn the idea

UNIT state maps token amounts to Bitcoin outputs. Vault state maps one loan's collateral, debt, owner, and spending commitments to its current vault output. Validators relate these views during specific actions, but neither view is a substitute for the other.

GUIDED EXPLANATION1/4 ideas inspected
1

Read separate inputs

A transfer may consume UNIT outputs only, while a deposit consumes the vault and BTC funding without issuing UNIT.

Inspect each idea before the worked example.
The worked example follows the explanation

Inspect every idea above to open it.

Important distinctionA user's total UNIT wallet balance is the debt of the vaults they own.

UNIT can be received, transferred, or held independently. Debt belongs to a specific vault state.

02
FINISH LEARNING FIRST

The questions unlock after every required learning activity

Inspect every guided idea, open the worked example, rebuild its mechanism, and complete the deterministic lesson tool. Your progress is saved automatically.