pub trait ProxyExecFns<Chain>: CwOrcExecute<Chain, ExecuteMsg = ExecuteMsg>where
    Chain: CwEnv,{
    // Provided methods
    fn set_admin(
        &self,
        admin: String
    ) -> Result<<Chain as TxHandler>::Response, CwOrchError> { ... }
    fn module_action(
        &self,
        msgs: Vec<CosmosMsg<Empty>, Global>
    ) -> Result<<Chain as TxHandler>::Response, CwOrchError> { ... }
    fn ibc_action(
        &self,
        msgs: Vec<ExecuteMsg, Global>
    ) -> Result<<Chain as TxHandler>::Response, CwOrchError> { ... }
    fn add_module(
        &self,
        module: String
    ) -> Result<<Chain as TxHandler>::Response, CwOrchError> { ... }
    fn remove_module(
        &self,
        module: String
    ) -> Result<<Chain as TxHandler>::Response, CwOrchError> { ... }
    fn update_assets(
        &self,
        to_add: Vec<(AssetEntry, UncheckedPriceSource), Global>,
        to_remove: Vec<AssetEntry, Global>
    ) -> Result<<Chain as TxHandler>::Response, CwOrchError> { ... }
}

Provided Methods§

source

fn set_admin( &self, admin: String ) -> Result<<Chain as TxHandler>::Response, CwOrchError>

source

fn module_action( &self, msgs: Vec<CosmosMsg<Empty>, Global> ) -> Result<<Chain as TxHandler>::Response, CwOrchError>

source

fn ibc_action( &self, msgs: Vec<ExecuteMsg, Global> ) -> Result<<Chain as TxHandler>::Response, CwOrchError>

source

fn add_module( &self, module: String ) -> Result<<Chain as TxHandler>::Response, CwOrchError>

source

fn remove_module( &self, module: String ) -> Result<<Chain as TxHandler>::Response, CwOrchError>

source

fn update_assets( &self, to_add: Vec<(AssetEntry, UncheckedPriceSource), Global>, to_remove: Vec<AssetEntry, Global> ) -> Result<<Chain as TxHandler>::Response, CwOrchError>

Implementors§

source§

impl<SupportedContract, Chain> ExecuteMsgFns<Chain> for SupportedContractwhere Chain: CwEnv, SupportedContract: CwOrcExecute<Chain, ExecuteMsg = ExecuteMsg>,