hopr_lib/traits/
chain.rs

1use crate::prelude::Hash;
2
3pub struct OpenChannelResult {
4    pub tx_hash: Hash,
5    pub channel_id: Hash,
6}
7
8pub struct CloseChannelResult {
9    pub tx_hash: Hash,
10    pub status: hopr_internal_types::channels::ChannelStatus,
11}
12
13#[async_trait::async_trait]
14pub trait HoprChainApi {}