Expand description
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.
Re-exports
pub use rgb20::rgb20;
pub use rgb20::rgb20_stl;
pub use rgb20::Rgb20;
pub use rgb20::LIB_ID_RGB20;
pub use rgb20::LIB_NAME_RGB20;
pub use rgb21::rgb21;
pub use rgb21::rgb21_stl;
pub use rgb21::Rgb21;
pub use rgb21::LIB_ID_RGB21;
pub use rgb21::LIB_NAME_RGB21;
pub use rgb25::rgb25;
pub use rgb25::rgb25_stl;
pub use rgb25::Rgb25;
pub use rgb25::LIB_ID_RGB25;
pub use rgb25::LIB_NAME_RGB25;
Modules
Structs
- Structure providing information about state inputs and outputs for an RGB operation.
- Contract state is an in-memory structure providing API to read structured data from the
rgb::ContractHistory
. - Contract supplement, providing non-consensus information about standard way of working with the contract data. Each contract can have only a single valid supplement; the supplement is attached to the contract via trusted provider signature (providers are ordered by the priority).
- Interface definition.
- Interface identifier.
- Interface implementation for some specific schema.
- Interface identifier.
- Maps certain form of type id (global or owned state or a valency) to a human-readable name.
- Maps operation numeric type id to a human-readable name.
- Contract supplement identifier.