Trait 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>