pub struct Host<Error: From<StdError> + From<HostError> + 'static, CustomExecMsg: 'static = Empty, CustomInitMsg: 'static = Empty, CustomQueryMsg: 'static = Empty, CustomMigrateMsg: 'static = Empty, Receive: 'static = Empty> {
    pub admin: Admin<'static>,
    pub proxy_address: Option<Addr>,
    /* private fields */
}
Expand description

The state variables for our host contract.

Fields§

§admin: Admin<'static>§proxy_address: Option<Addr>

Implementations§

The host contract base implementation.

Takes ibc request, matches and executes This fn is the only way to get an Host instance.

processes PacketMsg::SendAllBack variant

construct the msg to send all the assets back

add reply handler to contract

Trait Implementations§

The host contract base implementation.

Entry point for contract execution

Instantiate the api

Instantiate the base contract

Where we dispatch the queries for the Host These ApiQueryMsg declarations can be found in abstract_sdk::os::common_module::app_msg

Auto Trait Implementations§

Blanket Implementations§

Gets the TypeId of self. Read more
Immutably borrows from an owned value. Read more
Mutably borrows from an owned value. Read more

Returns the argument unchanged.

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

Should always be Self
The type returned in the event of a conversion error.
Performs the conversion.
The type returned in the event of a conversion error.
Performs the conversion.