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§

source

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.

source

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.

source

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.

source

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.

source

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.

source

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.

source

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,

Launches the chain point.

source

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,

Launches the kes period.

Implementors§