psrgbt

Trait ProprietaryKeyRgb

Source
pub trait ProprietaryKeyRgb {
    // Provided methods
    fn rgb_transition(opid: OpId) -> PropKey { ... }
    fn rgb_closing_methods(opid: OpId) -> PropKey { ... }
    fn rgb_in_consumed_by(contract_id: ContractId) -> PropKey { ... }
    fn rgb_out_velocity_hint() -> PropKey { ... }
}
Expand description

Extension trait for static functions returning RGB-related proprietary keys.

Provided Methods§

Source

fn rgb_transition(opid: OpId) -> PropKey

Constructs PSBT_GLOBAL_RGB_TRANSITION proprietary key.

Source

fn rgb_closing_methods(opid: OpId) -> PropKey

Constructs PSBT_GLOBAL_RGB_CLOSE_METHODS proprietary key.

Source

fn rgb_in_consumed_by(contract_id: ContractId) -> PropKey

Constructs PSBT_IN_RGB_CONSUMED_BY proprietary key.

Source

fn rgb_out_velocity_hint() -> PropKey

Constructs PSBT_OUT_RGB_VELOCITY_HINT proprietary key.

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.

Implementors§