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§
- ArgSpec
- Structure providing information about state inputs and outputs for an RGB operation.
- Assign
Iface - Contract
Builder - Contract
Iface - Contract state is an in-memory structure providing API to read structured
data from the
rgb::ContractHistory
. - Contract
Suppl - 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).
- Extension
Iface - Fungible
Allocation - Genesis
Iface - Global
Iface - Iface
- Interface definition.
- IfaceId
- Interface identifier.
- Iface
Impl - Interface implementation for some specific schema.
- Iface
Pair - ImplId
- Interface identifier.
- Named
Field - Maps certain form of type id (global or owned state or a valency) to a human-readable name.
- Named
Type - Maps operation numeric type id to a human-readable name.
- Owned
State Suppl - Schema
Ifaces - SupplId
- Contract supplement identifier.
- Transition
Builder - Transition
Iface - Valency
Iface