Trait rgbwallet::psbt::RgbExt

source ·
pub trait RgbExt {
    // Required methods
    fn rgb_contract_ids(&self) -> BTreeSet<ContractId>;
    fn rgb_contract_consumers(
        &self,
        contract_id: ContractId
    ) -> Result<BTreeSet<(OpId, u16)>, RgbPsbtError>;
    fn rgb_op_ids(&self, contract_id: ContractId) -> BTreeSet<OpId>;
    fn rgb_transition(&self, opid: OpId) -> Option<Transition>;
    fn push_rgb_transition(
        &mut self,
        transition: Transition
    ) -> Result<bool, RgbPsbtError>;
    fn rgb_bundle_to_lnpbp4(&mut self) -> Result<usize, RgbPsbtError>;

    // Provided methods
    fn rgb_transitions(
        &self,
        contract_id: ContractId
    ) -> BTreeMap<OpId, Transition> { ... }
    fn rgb_bundles(
        &self
    ) -> Result<BTreeMap<ContractId, TransitionBundle>, RgbPsbtError> { ... }
}

Required Methods§

Provided Methods§

Implementations on Foreign Types§

source§

impl RgbExt for PartiallySignedTransaction

Implementors§