Module containers

Source
Expand description

RGB containers are data packages which can be transferred between smart contract users. There are two main types of containers:

  1. Consignments, containing information about partial state of a single contract, extending from its genesis up to certain contract endpoints.
  2. Disclosures, containing extracts from (possibly) independent state transitions and extensions under multiple contracts. Useful fro disclosing the concealed state for some other parties, and also for performing “change” operations on inventory during state transfers.

Structs§

Bindle
Cert
Consignment
Consignment represents contract-specific data, always starting with genesis, which must be valid under client-side-validation rules (i.e. internally consistent and properly committed into the commitment layer, like bitcoin blockchain or current state of the lightning channel).
ContentSigs
Disclosure
Identity
Terminal
VoutSeal
Seal definition which re-uses witness transaction id of some other seal, which is not known at the moment of seal construction. Thus, the definition has only information about output number.

Enums§

BindleParseError
BuilderSeal
Seal used by operation builder which can be either revealed or concealed.
ContainerVer
ContentId
LoadErrorfs
TerminalSeal
Seal endpoint is a confidential seal which may be linked to the witness transaction, but does not contain information about its id.
UniversalBindlefs

Traits§

BindleContent

Type Aliases§

Contract
Transfer