---
library: "bootstrap"
slug: "Contract"
name: "Contract"
ref: "Contract#9874"
hash: "sema:Contract#mh:SHA-256:98747322ee31ffa265a8dfd6609d726e0dcba9c513e5ec85742c6c04e4afaa26"
type: "Data Structures"
layer: "Infrastructure"
version: "0.11.0"
root: "a6a3d1ff0f982ee30430c5b42f3784c8ec901fd68482cfc1bc30899c1e5e48c5"
license: null
url: "https://semahash.org/vocabularies/bootstrap/patterns/Contract"
---

# Contract

Binding agreement between parties

Infrastructure · Data Structures

## Mechanism

An immutable record of agreement between two or more [Identity](https://semahash.org/vocabularies/bootstrap/patterns/Identity.md)s, acting as a multi-party [CommitmentDevice](https://semahash.org/vocabularies/bootstrap/patterns/CommitmentDevice.md). It aggregates a set of [Condition](https://semahash.org/vocabularies/bootstrap/patterns/Condition.md)s (terms) and obligations which all parties must [Sign](https://semahash.org/vocabularies/bootstrap/patterns/Sign.md) to accept. Contracts supply the agreed terms for disputes resolved by a [Judge](https://semahash.org/vocabularies/bootstrap/patterns/Judge.md).

## Invariants

- Binding only when `signatures` covers every party in `parties`.
- Terms cannot change after signing; an amendment is a new Contract.
- Terms are verifiable by a third party.

## Failure modes

- Ambiguity: Terms are open to interpretation.
- Unsigned: Not all parties have signed (invalid).
- Void: Conditions violate higher-law constraints.

## Where this came from

—

## Builds on

- [Identity](https://semahash.org/vocabularies/bootstrap/patterns/Identity.md) (references)
- [CommitmentDevice](https://semahash.org/vocabularies/bootstrap/patterns/CommitmentDevice.md) (references)
- [Sign](https://semahash.org/vocabularies/bootstrap/patterns/Sign.md) (references)
- [Judge](https://semahash.org/vocabularies/bootstrap/patterns/Judge.md) (references)
- [Condition](https://semahash.org/vocabularies/bootstrap/patterns/Condition.md) (accepts)

## Used by

- [Award](https://semahash.org/vocabularies/bootstrap/patterns/Award.md) (yields)
- [Cocapacity](https://semahash.org/vocabularies/bootstrap/patterns/Cocapacity.md) (references)
- [Trait](https://semahash.org/vocabularies/bootstrap/patterns/Trait.md) (references)

## Related

- [Cocapacity](https://semahash.org/vocabularies/bootstrap/patterns/Cocapacity.md)

## Identity

- Library: bootstrap 0.11.0 (root a6a3d1ff0f98)
- Ref: Contract#9874
- Hash: sema:Contract#mh:SHA-256:98747322ee31ffa265a8dfd6609d726e0dcba9c513e5ec85742c6c04e4afaa26

## Links

- Page: https://semahash.org/vocabularies/bootstrap/patterns/Contract
- JSON: https://semahash.org/vocabularies/bootstrap/patterns/Contract.json
- Library: https://semahash.org/vocabularies/bootstrap
- Library index: https://semahash.org/vocabularies/bootstrap/index.json
