[][src]Module lnpbp::rgb::contract

Re-exports

pub use nodes::ContractId;
pub use nodes::Extension;
pub use nodes::Genesis;
pub use nodes::Node;
pub use nodes::NodeId;
pub use nodes::Transition;
pub use seal::SealDefinition;
pub use value::AtomicValue;

Modules

data
nodes
seal
value

This mod represents atomic rational values (or, simply just value), it a value representing a portion of something whole with a certain fixed level of precision (atomicity). Such values are commonly used to represent some coins of fungible tokens, where each coin or token consists of an integer number of atomic subdivisions of the total supply (like satoshis in bitcoin represent just a portion, i.e. fixed-percision rational number, of the total possible bitcoin supply). Such numbers demonstrate constant properties regarding their total sum and, thus, can be made confidential using elliptic curve homomorphic cryptography such as Pedesen commitments.

Structs

DeclarativeStrategy
HashStrategy
Metadata

Transition & genesis metadata fields

NoDataError

Error returned when the requested data does not exist

PedersenStrategy

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

Traits

AutoConceal
ConfidentialState
RevealedState
StateTypes

Type Definitions

OwnedRights
ParentOwnedRights
ParentPublicRights