Crate rgb

Source

Re-exports§

Modules§

  • RGB containers are data packages which can be transferred between smart contract users. There are two main types of containers:
  • RGB contract interface provides a mapping between identifiers of RGB schema- defined contract state and operation types to a human-readable and standardized wallet APIs.
  • Module defines API used by providers of persistent data for RGB contracts.
  • API for interfacing different virtual machines

Macros§

Structs§

Enums§

Constants§

Traits§

  • Marker trait for types of state which are just a commitment to the actual state data.
  • Marker trait for types of state holding explicit state data.
  • Trait used by contract state. Unlike ExposedState it doesn’t allow concealment of the state, i.e. may contain incomplete data without blinding factors, asset tags etc.
  • A trait to merge two structures modifying the revealed status of the first one. The merge operation will consume both the structures and return a new structure with revealed states.
  • Trait defining common API for all operation type schemata
  • RGB contract operation API, defined as trait
  • Methods common for all transaction-output based seal types.

Type Aliases§