Skip to content

Case D — Institutional Contracts

Bilateral or few-party on-chain contracts — escrow, DvP settlement, repo, consortium disbursement — with counterparty identity enforced by the validator, not an oracle.

Current-actor resolution is the ACTING OFFICER AID's sovereign checkpoint — not the LE root AID (#92)

Per specs/92-checkpoint-contention/DECISION.md, and because (§1) the LE root AID never signs day-to-day contracts — an OOR/ECR officer (or service) AID does — the current authority resolves against the acting officer AID's own sovereign checkpoint, and two checks stay separate:

  • Current authority (who is signing now). The validator reads the acting officer/ service AID's own sovereign, per-AID, quantity-one uniquely-tokenized checkpoint UTxO — asset id (checkpoint_policy_id, aid_asset_name), current weighted keys/threshold in the inline CheckpointDatum, read as a CIP-31 reference input, discovered by a generic exact-asset (policy_id, asset_name) lookup (candidate outref for liveness only, re-validated against the ledger) — and verifies a witness set meeting THAT acting AID's current weighted threshold over the fully bound transition + current sequence. It does not verify the officer's signature against the counterparty LE AID's checkpoint.
  • Eligibility (may this signer bind this entity). Separately, the historical OOR/ECR credential + TEL chain (QVI-issued, LE-signed OOR-AUTH; GLEIF → QVI → LE) links that acting AID to the fixed counterparty LE and an eligible role. This is the historical credential/admission plane — it gates eligibility but never selects the current checkpoint identity.

Two distinct causes of staleness, kept separate:

  • Same-officer AID key rotation — the acting AID's keys change; its checkpoint asset identity is unchanged. A delta = 0 rotation (seq + 1) consumes the checkpoint, so a pre-signed authorization is stale and must be re-signed by the same acting AID's current weighted keys over the current sequence (Execute / Refresh-Re-sign / Cancel-Reclaim / Expire-Cleanup) — no counterparty swap.
  • OOR revocation / officer replacement — the officer leaves; their OOR is revoked. This is not a rotation: it requires re-designation to a different acting AID (a new eligible officer of the same LE), which is what makes the re-designation transition (§4) load-bearing.

The contract types, in plain words

All four are standard arrangements between institutions; the Finance Primer covers each in depth.

  • Escrow — funds held until agreed conditions are met, then released (think house purchase).
  • DvP settlementdelivery versus payment: asset and payment change hands atomically, so neither party can end up with nothing.
  • Repo — a pawn shop for bonds between banks: sell now, buy back tomorrow at a slightly higher price. Its lifecycle (open → roll → close) is a small state machine.
  • Syndication — one large loan split across several institutions, each holding a tradable share.
  • Consortium disbursement — several member organizations jointly approving payments from a shared treasury.

1. Actors & credential level

Two to five legal entities per contract, each holding a vLEI chain (GLEIF → QVI → LE, per vLEI Bridge). The distinguishing feature of this case: the LE credential alone is not enough. A contract is binding only if executed by someone authorized to bind the entity — so the signing credential is the OOR (Official Organizational Role: CEO, CFO, treasurer), issued by the QVI on behalf of the LE, or an ECR scoped to the specific engagement.

Why the officer credential is the whole point here

Companies act through people. When a bank signs a contract, some person signs it — and the counterparty needs proof that this person may legally bind the company. Traditionally that proof is a certified board resolution on paper. The vLEI OOR credential is that board resolution, made cryptographic: a verifiable statement "this key belongs to the CFO of entity X, and X's QVI vouches for it." The entity's root key never signs day-to-day business — it is kept under board-level, multi-person custody like a corporate seal.

This makes delegation-of-authority the central design question, not a parity footnote. Two distinct delegation concepts must not be conflated:

  • Credential-level delegation (ACDC): role credentials name officers — OORs are issued by the QVI under an LE-signed OOR-AUTH credential; ECRs may be issued by the LE directly (per the vLEI schemas). Verifying "the signer is the CFO" therefore walks four ACDCs for an OOR (QVI vLEI, LE vLEI, OOR-AUTH, OOR) — one more than the epic's linear 3-hop picture (GLEIF → QVI → LE → Individual) — so the verifier's hop budget is a case-driven parameter, not a constant.
  • KERI-level delegation (dip/drt): the officer's AID itself is delegated from the LE's AID, with cooperative anchoring. This binds key custody, not role authority.

The chain can enforce the first today (it is ACDC verification, Layer 3); the second is the deferred KERI-parity work. For contracts, credential-level delegation is sufficient and is the natural v1: role authority is what contract law cares about.

2. Gated action & enforcement point

The enforcement point is the contract UTxO's spend validator at each state transition of a bilateral/multiparty state machine: escrow release, DvP settlement legs, repo open/roll/close, syndicated-position transfers. Each transition names which party (or quorum) must act. The acting party is an officer/service AID, not the counterparty's LE root AID (§1), so the validator makes two separate checks: (1) a witness set meeting the acting officer AID's current weighted threshold — read from that acting AID's own sovereign per-AID checkpoint (asset id (checkpoint_policy_id, aid_asset_name), current weighted keys/threshold in the inline CheckpointDatum, read as a CIP-31 reference input, discovered by a generic exact-asset (policy_id, asset_name) lookup; #92) over the fully bound transition + current sequence; and (2), separately, that an unrevoked OOR/ECR credential chain links that acting AID to the fixed counterparty LE and an eligible role (L2 TEL proofs). Because a delta = 0 rotation consumes the acting AID's checkpoint, its authority is re-resolved fresh — a witness set meeting the current weighted threshold at the current sequence — at every transition; a revoked OOR instead forces re-designation to a different acting AID (§4).

An escrow template, as a state machine — every arrow is a transaction whose validator verifies the named party's acting-AID witness set against its sovereign checkpoint (a set meeting its current weighted threshold over the transition + current sequence) plus a separate OOR/ECR + TEL eligibility check linking that acting AID to the fixed counterparty LE, before allowing the transition:

stateDiagram-v2
    [*] --> Formed: instantiation co-signed by both entities'<br/>officer AIDs (counterparty LE + designated acting officer AID / checkpoint asset id fixed in datum)
    Formed --> Funded: Buyer's officer AID deposits<br/>(witness set meets acting officer AID's current weighted threshold + OOR links it to Buyer LE)
    Funded --> Released: delivery confirmed<br/>(Buyer officer AID witness set → funds to Seller)
    Funded --> Refunded: deal cancelled<br/>(both officer AIDs' witness sets → funds back to Buyer)
    Formed --> Formed: re-designation —<br/>OOR revoked ⇒ LE swaps to a different acting officer AID
    Funded --> Funded: re-designation —<br/>OOR revoked ⇒ LE swaps to a different acting officer AID
    Released --> [*]
    Refunded --> [*]

The self-loops are the re-designation transition discussed in §4: without it, an officer leaving their company (their OOR gets revoked) would strand the locked funds, since no remaining signer could fire the next transition.

Formation is off-chain but uses the same rails: entities exchange trie_keys and replay each other's KELs to verify each other's credential chains (the binding-verification protocol of Veridian Bridge), then co-sign the instantiation transaction that locks funds under the template parameterized with both identities. That trie_key/KEL-replay step is historical due diligence only — it establishes provenance and the OOR/ECR eligibility chain, and never selects current keys. The template fixes, per counterparty, the stable counterparty LE identity and the designated acting officer AID / checkpoint-asset identity (checkpoint_policy_id, aid_asset_name); current authority is then the acting officer AID's sovereign per-AID checkpoint, read live at each transition (#92) — not KEL replay, and not the LE root AID's keys. No trusted introducer is needed — the registries and each acting AID's own checkpoint are the mutual due-diligence substrate.

3. Design sketch

On top of L1–L4:

  • Contract template library (Aiken): escrow, 2-party DvP, n-party disbursement. Each template is parameterized at instantiation with the counterparties' identity references and a transition table (who may fire which transition, with what quorum).
  • Identity fixing mode per template — the key design axis. What is fixed is the counterparty LE identity plus the designated acting officer AID / checkpoint-asset id; what is read live is that acting AID's current key state:
    • Fixed at formation: bake the counterparty LE identity and the acting officer AID's per-AID checkpoint asset id (checkpoint_policy_id, aid_asset_name) into the datum. Stable (rotation-proof — the asset id is AID-derived and never changes across the acting AID's delta = 0 rotations), but blind to OOR revocation / officer departure unless paired with per-transition reads (which then force re-designation to a different acting AID).
    • Live per transition: re-read the acting officer AID's sovereign per-AID checkpoint as a CIP-31 reference input at every spend — a witness set meeting its current weighted keys/threshold, its live UTxO in the accepted mint/spend lineage (not closed/convicted), the AID absent from the shared R-FRZ freeze registry — plus OOR non-revocation (L2 TEL) linking it to the fixed LE. The honest default for institutional risk: each transition is a fresh attestation; a delta = 0 rotation of the acting AID stales any authorization bound to a prior sequence (⇒ re-sign), while OOR revocation (⇒ re-designation) swaps in a different acting AID.
    • Recommended: fixed LE + acting-AID checkpoint asset id + live checkpoint/role read — identity cannot drift, standing is re-proven each transition.
  • Ceremony tooling: institutional contract UX is a ceremony orchestrator that gathers OOR-backed witnesses from each entity's signers and assembles the transition transaction — witness collection across organizations, encrypted key vaults, wizard-driven build→sign→submit with resumable client state. This operational shape already exists in practice in multi-organization treasury ceremonies on Cardano mainnet and should be reused, not reinvented.

4. Pressure on the open decisions

  • Admission vs per-tx: the one case where full per-transaction verification is affordable — 2–5 parties, transitions measured in days/weeks, ex-units irrelevant at that frequency. No admission cache needed; the contract UTxO is the admission. This weakens "hybrid everywhere" into "hybrid where throughput demands it" — the verifier library must expose both modes.
  • KeyState parity: thresholds are essential (corporate keys are k-of-n). Supports list-shaped KeyState now. KERI-level delegation stays deferred; OOR covers the authority question at the credential level.
  • Revocation freshness: the sharp scenario is OOR revoked mid-contract (officer departs). With live per-transition checks the next transition simply requires a fresh OOR holder — the contract must therefore define a re-designation transition (entity swaps its authorized signer) or funds freeze. Templates need this transition as a first-class state, not an afterthought.
  • Throughput: lowest of the four cases. Current-AID rotation has no shared registry ceiling — each designated acting officer/service AID rotates independently on its own sovereign per-AID checkpoint UTxO (#92), with the counterparty LE identity fixed (any LE-root rotation would likewise be sovereign on the LE's own checkpoint, but the LE root does not act here). But the contract UTxO itself, and any shared admission or R-FRZ freeze UTxO in the path, retain their own serialization as separate contended on-chain objects — at this case's transition frequency (days/weeks) that serialization is simply immaterial, not absent.
  • Privacy: institutions want attributability of counterparties but not of terms. Keep terms as a hash in the datum (the full agreement stays bilateral, off-chain — consistent with the ACDC-notarization pattern in vLEI Bridge use case 4); amounts/assets are unavoidably public on Cardano L1, which is itself a screening criterion for which contract types fit.

5. Demand side

Buyers: funds and banks doing bilateral settlement and collateral operations (moving pledged assets that secure a loan — posting, releasing, or substituting them as exposures change); corporate treasuries; consortium disbursement operations. A proto-customer already exists in the project's orbit: the Amaru treasury — a real multi-organization treasury on Cardano mainnet, whose disbursements are co-signed by the member organizations of PRAGMA (the consortium developing the Amaru node) — is precisely a multi-entity institutional ceremony whose signers could be OOR-verified rather than "known key hashes in a registry file." Smallest pilot: re-implement one existing multi-sig ceremony (one treasury disbursement flow) with vLEI-verified signers — no new counterparties to recruit, real mainnet value, and it exercises L1–L3 plus one template.

6. Case-specific risks & limitations

  • Legal enforceability gap: an on-chain identity proof shows who signed, not that a legally valid contract was formed (offer/acceptance, capacity, governing law). The template is evidence infrastructure, not a contract-law substitute — the regulation-vs-implementation line must be stated as in The Regulated DeFi Gate.

    What contract law requires that no signature check can prove

    For a contract to be legally valid, courts look for ingredients like offer and acceptance (the parties actually agreed to these terms), capacity (each party was legally able to enter the deal — not insolvent, not acting outside its corporate purpose), and a governing law (which jurisdiction's rules interpret the deal and which court hears disputes). A cryptographic signature proves none of these — it proves only that a particular key signed particular bytes. That is powerful evidence, and OOR verification adds "the key belonged to an authorized officer" — but validity of the agreement itself remains a legal question, settled off-chain.

    • OOR freshness: role credentials churn faster than entity credentials; without the re-designation transition, every personnel change threatens liveness of locked funds.
    • Four-hop chains (OOR-signed transitions) exceed the current 3-hop verifier bound — direct scope pressure on the chain-verifier design.
    • Venue acceptance: institutions may not accept public mainnet for material positions (terms leakage, MEV-adjacent ordering, settlement finality); a sidechain/permissioned-ledger deployment story may be a prerequisite for anything beyond the treasury-shaped pilot.