fedimint_ln_common::contracts

Trait IdentifiableContract

source
pub trait IdentifiableContract: Encodable {
    // Required method
    fn contract_id(&self) -> ContractId;
}
Expand description

Anything representing a contract which thus has an associated ContractId

Required Methods§

Object Safety§

This trait is not object safe.

Implementors§