Trait abstract_client::Environment

source ·
pub trait Environment<Chain: CwEnv> {
    // Required method
    fn environment(&self) -> Chain;
}
Expand description

Trait for retrieving the CosmWasm environment that is being used.

Required Methods§

source

fn environment(&self) -> Chain

Get the execution environment

Implementors§

source§

impl<Chain: CwEnv> Environment<Chain> for AbstractClient<Chain>

source§

impl<Chain: CwEnv> Environment<Chain> for Account<Chain>