Society · Protocols

UniqueHandle

Single current authority over a transferable resource reference

Definition

Mechanism

An authority-bearing reference to one singular rivalrous Resource. An authoritative ownership state records `(resource_id, current_holder, generation)`. A representation may be copied, but the representation alone grants no authority: use or transfer is accepted only when its holder and generation match that state and the requester establishes current-holder control; stale or unverified representations fail closed. Transfer from A at generation g to B conditionally replaces `(A, g)` with `(B, g+1)` at one logical commit point. It either commits completely or leaves `(A, g)` unchanged, and at most one concurrent transfer from g commits. If the result is unobserved, the caller resolves the authoritative state before using or retrying the handle.

Invariants

  1. Single current authority: Exactly one `(holder, generation)` pair is current for each bound Resource; copying a representation does not create authority.
  2. Current-only authority: Use or transfer is accepted only when the presented holder and generation match the authoritative ownership state and current-holder control is established; the representation alone is insufficient.
  3. Atomic transfer: A transfer conditioned on `(A, g)` either commits `(B, g+1)` completely or leaves `(A, g)` unchanged; at most one transfer from the same generation commits.
  4. Unknown outcome: A caller that did not observe the transfer result resolves the authoritative state before using or retrying the handle.

Risks

Failure modes

  1. Orphaned authority

    The current holder loses the substrate-specific means of proving control, leaving the resource inaccessible until an external recovery policy advances the generation.

  2. Authority-state unavailability

    Currency cannot be established, so access and transfer fail closed.

  3. Authority-state fork

    Different validators accept different holder-generation pairs as current, violating singular authority.

Relationships

Builds on

References

Infrastructure

Resource

Finite allocatable entity

Used by

Accepts

HeldRelease

Escrow primitive: value held until condition preimage revealed or timeout

Reference

Identity

Ref
UniqueHandle#1853
Sema ID
sema:UniqueHandle#mh:SHA-256:185337050ca62b46cf88be534139cf31c2313c660f845daa395507c7faebcb1c
Ring
0
Tier
1
Updated
2026-11-11
Supersedes
  • sema:UniqueHandle#mh:SHA-256:11e7542d2b43ec0879ae24f91eeeaaf6380cb0c9ec067056eb2d1e4932c0468e
  • sema:UniqueHandle#mh:SHA-256:9a006e6fd1ca395b18fa7f17f95124c432b111f15cba24fcec039142a3ca539b
  • sema:UniqueHandle#mh:SHA-256:88da37fb134c04632530db979115adbb3ca558bdc4f60111df03e9282de8cd3a