Expand description
RGB containers are data packages which can be transferred between smart contract users. There are two main types of containers:
Consignment
s, containing information about partial state of a single contract, extending from its genesis up to certain contract endpoints.Disclosure
s, 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).
- Content
Sigs - Disclosure
- Identity
- Terminal
- Vout
Seal - 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§
- Bindle
Parse Error - Builder
Seal - Seal used by operation builder which can be either revealed or concealed.
- Container
Ver - Content
Id - Load
Error fs
- Terminal
Seal - Seal endpoint is a confidential seal which may be linked to the witness transaction, but does not contain information about its id.
- Universal
Bindle fs