Enum abstract_std::ibc_client::ExecuteMsg
source · pub enum ExecuteMsg {
UpdateOwnership(Action),
RegisterInfrastructure {
chain: String,
note: String,
host: String,
},
UpdateConfig {
ans_host: Option<String>,
version_control: Option<String>,
},
SendFunds {
host_chain: String,
funds: Vec<Coin>,
},
Register {
host_chain: String,
base_asset: Option<AssetEntry>,
namespace: Option<String>,
install_modules: Vec<ModuleInstallConfig>,
},
ModuleIbcAction {
host_chain: String,
target_module: ModuleInfo,
msg: Binary,
callback_info: Option<CallbackInfo>,
},
IbcQuery {
host_chain: String,
query: QueryRequest<Empty>,
callback_info: CallbackInfo,
},
RemoteAction {
host_chain: String,
action: HostAction,
},
RemoveHost {
host_chain: String,
},
Callback(CallbackMessage),
}
Variants§
UpdateOwnership(Action)
Update the ownership.
RegisterInfrastructure
Owner method: Registers the polytone note on the local chain as well as the host on the remote chain to send messages through This allows for monitoring which chain are connected to the contract remotely
Fields
UpdateConfig
Owner method: Update the config on IBC client
SendFunds
Only callable by Account proxy Will attempt to forward the specified funds to the corresponding address on the remote chain.
Register
Only callable by Account proxy Register an Account on a remote chain over IBC This action creates a proxy for them on the remote chain.
ModuleIbcAction
Only callable by Account Module
Fields
target_module: ModuleInfo
Module of this account on host chain
callback_info: Option<CallbackInfo>
Callback info to identify the callback that is sent (acts similar to the reply ID)
IbcQuery
Only callable by Account Module
Fields
query: QueryRequest<Empty>
Cosmos Query request
callback_info: CallbackInfo
Callback info to identify the callback that is sent (acts similar to the reply ID)
RemoteAction
Only callable by Account Proxy Action on remote ibc host Which currently only support manager messages
Fields
action: HostAction
execute the custom host function
RemoveHost
Owner method: Remove connection for remote chain
Callback(CallbackMessage)
Callback from the Polytone implementation This is triggered regardless of the execution result
Trait Implementations§
source§impl Clone for ExecuteMsg
impl Clone for ExecuteMsg
source§fn clone(&self) -> ExecuteMsg
fn clone(&self) -> ExecuteMsg
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for ExecuteMsg
impl Debug for ExecuteMsg
source§impl<'de> Deserialize<'de> for ExecuteMsg
impl<'de> Deserialize<'de> for ExecuteMsg
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
source§impl JsonSchema for ExecuteMsg
impl JsonSchema for ExecuteMsg
source§fn schema_name() -> String
fn schema_name() -> String
source§fn schema_id() -> Cow<'static, str>
fn schema_id() -> Cow<'static, str>
source§fn json_schema(gen: &mut SchemaGenerator) -> Schema
fn json_schema(gen: &mut SchemaGenerator) -> Schema
source§fn is_referenceable() -> bool
fn is_referenceable() -> bool
$ref
keyword. Read moresource§impl PartialEq for ExecuteMsg
impl PartialEq for ExecuteMsg
source§fn eq(&self, other: &ExecuteMsg) -> bool
fn eq(&self, other: &ExecuteMsg) -> bool
self
and other
values to be equal, and is used
by ==
.source§impl Serialize for ExecuteMsg
impl Serialize for ExecuteMsg
impl StructuralPartialEq for ExecuteMsg
Auto Trait Implementations§
impl Freeze for ExecuteMsg
impl RefUnwindSafe for ExecuteMsg
impl Send for ExecuteMsg
impl Sync for ExecuteMsg
impl Unpin for ExecuteMsg
impl UnwindSafe for ExecuteMsg
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
source§impl<T> IntoEither for T
impl<T> IntoEither for T
source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moresource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read more