rgb-std 0.9.0

RGB Standard Library: high-level API for private & scalable client-validated smart contracts on Bitcoin & Lightning
Documentation
// RGB Standard Library: high-level API to RGB smart contracts.
// Written in 2019-2022 by
//     Dr. Maxim Orlovsky <orlovsky@lnp-bp.org>
//
// To the extent possible under law, the author(s) have dedicated all copyright
// and related and neighboring rights to this software to the public domain
// worldwide. This software is distributed without any warranty.
//
// You should have received a copy of the MIT License along with this software.
// If not, see <https://opensource.org/licenses/MIT>.

#[macro_use]
extern crate amplify;
#[macro_use]
extern crate strict_encoding;
#[cfg(feature = "serde")]
extern crate serde_crate as serde;
#[cfg(feature = "serde")]
#[macro_use]
extern crate serde_with;

mod consignments;
mod disclosure;
mod stash;
pub mod fungible;
mod state;
pub mod psbt;
pub mod blank;

pub mod prelude {
    pub use rgb_core::*;

    pub use crate::consignments::{
        AnchoredBundles, ChainIter, ConsignmentEndseals, ConsignmentId, ConsignmentType, Contract,
        ContractConsignment, ExtensionList, InmemConsignment, MeshIter, StateTransfer,
        TransferConsignment, RGB_INMEM_CONSIGNMENT_VERSION,
    };
    pub use crate::disclosure::{Disclosure, DisclosureId, RGB_DISCLOSURE_VERSION};
    pub use crate::fungible;
    pub use crate::stash::Stash;
    pub use crate::state::{
        AssignedState, ContractState, ContractStateMap, OutpointState, OutpointStateMap,
        OwnedAttachment, OwnedData, OwnedRight, OwnedValue, StateAtom, StateTrait,
    };
}

pub use prelude::*;