Module rgb::prelude[][src]

Re-exports

pub use super::bech32;
pub use super::schema;
pub use super::vm;
pub use super::bech32::Bech32;
pub use super::bech32::FromBech32;
pub use super::bech32::ToBech32;
pub use contract::data;
pub use contract::reveal;
pub use contract::seal;
pub use contract::value;
pub use contract::AtomicValue;
pub use contract::ContractId;
pub use contract::Extension;
pub use contract::Genesis;
pub use contract::IntoRevealed;
pub use contract::NoDataError;
pub use contract::Node;
pub use contract::NodeId;
pub use contract::SealDefinition;
pub use contract::SealEndpoint;
pub use contract::Transition;
pub use schema::script;
pub use schema::AssignmentAbi;
pub use schema::AssignmentAction;
pub use schema::ExtensionAbi;
pub use schema::ExtensionAction;
pub use schema::GenesisAbi;
pub use schema::GenesisAction;
pub use schema::SimplicityScript;
pub use schema::TransitionAbi;
pub use schema::TransitionAction;
pub use validation::Validator;
pub use validation::Validity;

Structs

Anchor
AnchorId

Unique anchor identifier equivalent to the anchor commitment hash

Consignment
DeclarativeStrategy
Disclosure

Disclosure purpose is to expose a set of stash data related to number of RGB contracts to some external entity – or store them outside of the stash to be merged lately upon a certain event (for instance, withness transaction being mined or receiving a signature for the updated channel state from an LN channel counterparty).

ExtensionSchema
HashStrategy
Metadata

Transition & genesis metadata fields

PedersenStrategy
Schema
SchemaId

Commitment-based schema identifier used for committing to the schema type

Enums

Assignments
OwnedState

State data are assigned to a seal definition, which means that they are owned by a person controlling spending of the seal UTXO, unless the seal is closed, indicating that a transfer of ownership had taken place

Constants

PSBT_OUT_PUBKEY
PSBT_OUT_TWEAK
PSBT_PREFIX

Traits

ConcealAnchors
ConcealSeals
ConcealState
ConfidentialState
RevealedState
Stash

Top-level structure used by client wallets to manage all known RGB smart contracts and related data.

StateTypes
VirtualMachine

Type Definitions

ConsignmentEndpoints
ExtensionData
ExtensionType
OwnedRights
ParentOwnedRights
ParentPublicRights
PublicRightType
PublicRights

Holds definition of valencies for contract nodes, which is a set of allowed valencies types

PublicRightsStructure
TransitionData