pub trait ExecuteMsgFns<Chain, CwOrchExecuteMsgType>: CwOrchExecute<Chain, ExecuteMsg = CwOrchExecuteMsgType>{
// Provided methods
fn update_contract_addresses(
&self,
to_add: Vec<(UncheckedContractEntry, String)>,
to_remove: Vec<UncheckedContractEntry>,
) -> Result<<Chain as TxHandler>::Response, CwEnvError> { ... }
fn update_asset_addresses(
&self,
to_add: Vec<(String, AssetInfoBase<String>)>,
to_remove: Vec<String>,
) -> Result<<Chain as TxHandler>::Response, CwEnvError> { ... }
fn update_channels(
&self,
to_add: Vec<(UncheckedChannelEntry, String)>,
to_remove: Vec<UncheckedChannelEntry>,
) -> Result<<Chain as TxHandler>::Response, CwEnvError> { ... }
fn update_dexes(
&self,
to_add: Vec<String>,
to_remove: Vec<String>,
) -> Result<<Chain as TxHandler>::Response, CwEnvError> { ... }
fn update_pools(
&self,
to_add: Vec<(PoolAddressBase<String>, PoolMetadata)>,
to_remove: Vec<UniquePoolId>,
) -> Result<<Chain as TxHandler>::Response, CwEnvError> { ... }
fn update_ownership(
&self,
arg0: Action,
) -> Result<<Chain as TxHandler>::Response, CwEnvError> { ... }
}
Expand description
Automatically derived trait that allows you to call the variants of the message directly without the need to construct the struct yourself.
Provided Methods§
Sourcefn update_contract_addresses(
&self,
to_add: Vec<(UncheckedContractEntry, String)>,
to_remove: Vec<UncheckedContractEntry>,
) -> Result<<Chain as TxHandler>::Response, CwEnvError>
fn update_contract_addresses( &self, to_add: Vec<(UncheckedContractEntry, String)>, to_remove: Vec<UncheckedContractEntry>, ) -> Result<<Chain as TxHandler>::Response, CwEnvError>
Automatically generated wrapper around ExecuteMsg::UpdateContractAddresses variant
Sourcefn update_asset_addresses(
&self,
to_add: Vec<(String, AssetInfoBase<String>)>,
to_remove: Vec<String>,
) -> Result<<Chain as TxHandler>::Response, CwEnvError>
fn update_asset_addresses( &self, to_add: Vec<(String, AssetInfoBase<String>)>, to_remove: Vec<String>, ) -> Result<<Chain as TxHandler>::Response, CwEnvError>
Automatically generated wrapper around ExecuteMsg::UpdateAssetAddresses variant
Sourcefn update_channels(
&self,
to_add: Vec<(UncheckedChannelEntry, String)>,
to_remove: Vec<UncheckedChannelEntry>,
) -> Result<<Chain as TxHandler>::Response, CwEnvError>
fn update_channels( &self, to_add: Vec<(UncheckedChannelEntry, String)>, to_remove: Vec<UncheckedChannelEntry>, ) -> Result<<Chain as TxHandler>::Response, CwEnvError>
Automatically generated wrapper around ExecuteMsg::UpdateChannels variant
Sourcefn update_dexes(
&self,
to_add: Vec<String>,
to_remove: Vec<String>,
) -> Result<<Chain as TxHandler>::Response, CwEnvError>
fn update_dexes( &self, to_add: Vec<String>, to_remove: Vec<String>, ) -> Result<<Chain as TxHandler>::Response, CwEnvError>
Automatically generated wrapper around ExecuteMsg::UpdateDexes variant
Sourcefn update_pools(
&self,
to_add: Vec<(PoolAddressBase<String>, PoolMetadata)>,
to_remove: Vec<UniquePoolId>,
) -> Result<<Chain as TxHandler>::Response, CwEnvError>
fn update_pools( &self, to_add: Vec<(PoolAddressBase<String>, PoolMetadata)>, to_remove: Vec<UniquePoolId>, ) -> Result<<Chain as TxHandler>::Response, CwEnvError>
Automatically generated wrapper around ExecuteMsg::UpdatePools variant
Sourcefn update_ownership(
&self,
arg0: Action,
) -> Result<<Chain as TxHandler>::Response, CwEnvError>
fn update_ownership( &self, arg0: Action, ) -> Result<<Chain as TxHandler>::Response, CwEnvError>
Automatically generated wrapper around ExecuteMsg::UpdateOwnership variant