Trait mithril_common::chain_observer::CliRunner
source · pub trait CliRunner {
// Required methods
fn launch_utxo<'life0, 'life1, 'async_trait>(
&'life0 self,
address: &'life1 str,
) -> Pin<Box<dyn Future<Output = StdResult<String>> + Send + 'async_trait>>
where Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait;
fn launch_stake_distribution<'life0, 'async_trait>(
&'life0 self,
) -> Pin<Box<dyn Future<Output = StdResult<String>> + Send + 'async_trait>>
where Self: 'async_trait,
'life0: 'async_trait;
fn launch_stake_snapshot<'life0, 'life1, 'async_trait>(
&'life0 self,
stake_pool_id: &'life1 str,
) -> Pin<Box<dyn Future<Output = StdResult<String>> + Send + 'async_trait>>
where Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait;
fn launch_stake_snapshot_all_pools<'life0, 'async_trait>(
&'life0 self,
) -> Pin<Box<dyn Future<Output = StdResult<String>> + Send + 'async_trait>>
where Self: 'async_trait,
'life0: 'async_trait;
fn launch_era<'life0, 'async_trait>(
&'life0 self,
) -> Pin<Box<dyn Future<Output = StdResult<String>> + Send + 'async_trait>>
where Self: 'async_trait,
'life0: 'async_trait;
fn launch_epoch<'life0, 'async_trait>(
&'life0 self,
) -> Pin<Box<dyn Future<Output = StdResult<String>> + Send + 'async_trait>>
where Self: 'async_trait,
'life0: 'async_trait;
fn launch_chain_point<'life0, 'async_trait>(
&'life0 self,
) -> Pin<Box<dyn Future<Output = StdResult<String>> + Send + 'async_trait>>
where Self: 'async_trait,
'life0: 'async_trait;
fn launch_kes_period<'life0, 'life1, 'async_trait>(
&'life0 self,
opcert_file: &'life1 str,
) -> Pin<Box<dyn Future<Output = StdResult<String>> + Send + 'async_trait>>
where Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait;
}
Expand description
CliRunner
trait defines the asynchronous methods
for interaction with the Cardano CLI.
Required Methods§
sourcefn launch_utxo<'life0, 'life1, 'async_trait>(
&'life0 self,
address: &'life1 str,
) -> Pin<Box<dyn Future<Output = StdResult<String>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
fn launch_utxo<'life0, 'life1, 'async_trait>(
&'life0 self,
address: &'life1 str,
) -> Pin<Box<dyn Future<Output = StdResult<String>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
Launches a UTxO.
sourcefn launch_stake_distribution<'life0, 'async_trait>(
&'life0 self,
) -> Pin<Box<dyn Future<Output = StdResult<String>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
fn launch_stake_distribution<'life0, 'async_trait>(
&'life0 self,
) -> Pin<Box<dyn Future<Output = StdResult<String>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
Launches the stake distribution.
sourcefn launch_stake_snapshot<'life0, 'life1, 'async_trait>(
&'life0 self,
stake_pool_id: &'life1 str,
) -> Pin<Box<dyn Future<Output = StdResult<String>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
fn launch_stake_snapshot<'life0, 'life1, 'async_trait>(
&'life0 self,
stake_pool_id: &'life1 str,
) -> Pin<Box<dyn Future<Output = StdResult<String>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
Launches the stake snapshot.
sourcefn launch_stake_snapshot_all_pools<'life0, 'async_trait>(
&'life0 self,
) -> Pin<Box<dyn Future<Output = StdResult<String>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
fn launch_stake_snapshot_all_pools<'life0, 'async_trait>(
&'life0 self,
) -> Pin<Box<dyn Future<Output = StdResult<String>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
Launches the stake snapshot for all pools.
sourcefn launch_era<'life0, 'async_trait>(
&'life0 self,
) -> Pin<Box<dyn Future<Output = StdResult<String>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
fn launch_era<'life0, 'async_trait>(
&'life0 self,
) -> Pin<Box<dyn Future<Output = StdResult<String>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
Launches the era info.
sourcefn launch_epoch<'life0, 'async_trait>(
&'life0 self,
) -> Pin<Box<dyn Future<Output = StdResult<String>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
fn launch_epoch<'life0, 'async_trait>(
&'life0 self,
) -> Pin<Box<dyn Future<Output = StdResult<String>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
Launches the epoch info.