Skip to main content

UnrealizedValue

Trait UnrealizedValue 

Source
pub trait UnrealizedValue {
    // Provided method
    fn unrealized_value(
        &self,
        _channel_id: &ChannelId,
        _min_index: Option<u64>,
    ) -> Result<Option<HoprBalance>, TicketManagerError> { ... }
}

Provided Methods§

Source

fn unrealized_value( &self, _channel_id: &ChannelId, _min_index: Option<u64>, ) -> Result<Option<HoprBalance>, TicketManagerError>

Compute the total value of tickets in the channel with the given channel_id, and optionally only starting from the given first ticket index.

Implementations on Foreign Types§

Source§

impl UnrealizedValue for ()

Implementors§