Trait abstract_std::ans_host::ExecuteMsgFns
source · pub trait ExecuteMsgFns<Chain: TxHandler>: CwOrchExecute<Chain, ExecuteMsg = ExecuteMsg> {
// Provided methods
fn update_contract_addresses(
&self,
to_add: Vec<(UncheckedContractEntry, String)>,
to_remove: Vec<UncheckedContractEntry>
) -> Result<TxResponse<Chain>, CwOrchError> { ... }
fn update_asset_addresses(
&self,
to_add: Vec<(String, AssetInfoUnchecked)>,
to_remove: Vec<String>
) -> Result<TxResponse<Chain>, CwOrchError> { ... }
fn update_channels(
&self,
to_add: Vec<(UncheckedChannelEntry, String)>,
to_remove: Vec<UncheckedChannelEntry>
) -> Result<TxResponse<Chain>, CwOrchError> { ... }
fn update_dexes(
&self,
to_add: Vec<String>,
to_remove: Vec<String>
) -> Result<TxResponse<Chain>, CwOrchError> { ... }
fn update_pools(
&self,
to_add: Vec<(UncheckedPoolAddress, PoolMetadata)>,
to_remove: Vec<UniquePoolId>
) -> Result<TxResponse<Chain>, CwOrchError> { ... }
fn update_ownership(
&self,
arg0: Action
) -> Result<TxResponse<Chain>, CwOrchError> { ... }
}
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<TxResponse<Chain>, CwOrchError>
fn update_contract_addresses( &self, to_add: Vec<(UncheckedContractEntry, String)>, to_remove: Vec<UncheckedContractEntry> ) -> Result<TxResponse<Chain>, CwOrchError>
Automatically generated wrapper around ExecuteMsg::UpdateContractAddresses variant
sourcefn update_asset_addresses(
&self,
to_add: Vec<(String, AssetInfoUnchecked)>,
to_remove: Vec<String>
) -> Result<TxResponse<Chain>, CwOrchError>
fn update_asset_addresses( &self, to_add: Vec<(String, AssetInfoUnchecked)>, to_remove: Vec<String> ) -> Result<TxResponse<Chain>, CwOrchError>
Automatically generated wrapper around ExecuteMsg::UpdateAssetAddresses variant
sourcefn update_channels(
&self,
to_add: Vec<(UncheckedChannelEntry, String)>,
to_remove: Vec<UncheckedChannelEntry>
) -> Result<TxResponse<Chain>, CwOrchError>
fn update_channels( &self, to_add: Vec<(UncheckedChannelEntry, String)>, to_remove: Vec<UncheckedChannelEntry> ) -> Result<TxResponse<Chain>, CwOrchError>
Automatically generated wrapper around ExecuteMsg::UpdateChannels variant
sourcefn update_dexes(
&self,
to_add: Vec<String>,
to_remove: Vec<String>
) -> Result<TxResponse<Chain>, CwOrchError>
fn update_dexes( &self, to_add: Vec<String>, to_remove: Vec<String> ) -> Result<TxResponse<Chain>, CwOrchError>
Automatically generated wrapper around ExecuteMsg::UpdateDexes variant
sourcefn update_pools(
&self,
to_add: Vec<(UncheckedPoolAddress, PoolMetadata)>,
to_remove: Vec<UniquePoolId>
) -> Result<TxResponse<Chain>, CwOrchError>
fn update_pools( &self, to_add: Vec<(UncheckedPoolAddress, PoolMetadata)>, to_remove: Vec<UniquePoolId> ) -> Result<TxResponse<Chain>, CwOrchError>
Automatically generated wrapper around ExecuteMsg::UpdatePools variant
sourcefn update_ownership(
&self,
arg0: Action
) -> Result<TxResponse<Chain>, CwOrchError>
fn update_ownership( &self, arg0: Action ) -> Result<TxResponse<Chain>, CwOrchError>
Automatically generated wrapper around ExecuteMsg::UpdateOwnership variant