Module interface

Source
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§

rgb20
rgb21
rgb25

Structs§

ArgSpec
Structure providing information about state inputs and outputs for an RGB operation.
AssignIface
ContractBuilder
ContractIface
Contract state is an in-memory structure providing API to read structured data from the rgb::ContractHistory.
ContractSuppl
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).
ExtensionIface
FungibleAllocation
GenesisIface
GlobalIface
Iface
Interface definition.
IfaceId
Interface identifier.
IfaceImpl
Interface implementation for some specific schema.
IfacePair
ImplId
Interface identifier.
NamedField
Maps certain form of type id (global or owned state or a valency) to a human-readable name.
NamedType
Maps operation numeric type id to a human-readable name.
OwnedStateSuppl
SchemaIfaces
SupplId
Contract supplement identifier.
TransitionBuilder
TransitionIface
ValencyIface

Enums§

BuilderError
OwnedIface
Req
TickerSuppl
TypedState
VelocityHint
VerNo

Traits§

OutpointFilter

Type Aliases§

ArgMap