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§
Sourcefn rgb_transition(opid: OpId) -> PropKey
fn rgb_transition(opid: OpId) -> PropKey
Constructs PSBT_GLOBAL_RGB_TRANSITION
proprietary key.
Sourcefn rgb_closing_methods(opid: OpId) -> PropKey
fn rgb_closing_methods(opid: OpId) -> PropKey
Constructs PSBT_GLOBAL_RGB_CLOSE_METHODS
proprietary key.
Sourcefn rgb_in_consumed_by(contract_id: ContractId) -> PropKey
fn rgb_in_consumed_by(contract_id: ContractId) -> PropKey
Constructs PSBT_IN_RGB_CONSUMED_BY
proprietary key.
Sourcefn rgb_out_velocity_hint() -> PropKey
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.