cw-orch-daemon 0.26.0

Scripting library for deploying and interacting with CosmWasm smart-contracts
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
use tonic::transport::Channel;

use crate::DaemonError;

use super::builder::SenderBuilder;

/// A sender that can query information over a connection.
pub trait QuerySender: Clone {
    type Error: Into<DaemonError> + std::error::Error + std::fmt::Debug + Send + Sync + 'static;
    /// Options for this sender
    type Options: SenderBuilder<Sender = Self>;

    /// Get the channel for the sender
    fn channel(&self) -> Channel;
}