pub struct AppContract<Error: ContractError, CustomInitMsg: 'static, CustomExecMsg: 'static, CustomQueryMsg: 'static, CustomMigrateMsg: 'static, SudoMsg: 'static = Empty> {
pub admin: NestedAdmin,
/* private fields */
}
Expand description
The state variables for our AppContract.
Fields§
§admin: NestedAdmin
Implementations§
Source§impl<Error: ContractError, CustomInitMsg, CustomExecMsg, CustomQueryMsg, CustomMigrateMsg, SudoMsg> AppContract<Error, CustomInitMsg, CustomExecMsg, CustomQueryMsg, CustomMigrateMsg, SudoMsg>
Where we dispatch the queries for the AppContract
These BaseQueryMsg declarations can be found in abstract_sdk::std::common_module::app_msg
impl<Error: ContractError, CustomInitMsg, CustomExecMsg, CustomQueryMsg, CustomMigrateMsg, SudoMsg> AppContract<Error, CustomInitMsg, CustomExecMsg, CustomQueryMsg, CustomMigrateMsg, SudoMsg>
Where we dispatch the queries for the AppContract
These BaseQueryMsg declarations can be found in abstract_sdk::std::common_module::app_msg
pub fn base_query( &self, deps: Deps<'_>, query: BaseQueryMsg, ) -> StdResult<Binary>
Source§impl<Error: ContractError, CustomInitMsg, CustomExecMsg, CustomQueryMsg, CustomMigrateMsg, SudoMsg> AppContract<Error, CustomInitMsg, CustomExecMsg, CustomQueryMsg, CustomMigrateMsg, SudoMsg>
Constructor
impl<Error: ContractError, CustomInitMsg, CustomExecMsg, CustomQueryMsg, CustomMigrateMsg, SudoMsg> AppContract<Error, CustomInitMsg, CustomExecMsg, CustomQueryMsg, CustomMigrateMsg, SudoMsg>
Constructor
pub const fn new( name: &'static str, version: &'static str, metadata: Option<&'static str>, ) -> Self
pub fn module_id(&self) -> &'static str
pub fn version(&self) -> &'static str
pub fn module_info(&self) -> AbstractResult<ModuleInfo>
pub fn load_state(&self, store: &dyn Storage) -> StdResult<AppState>
Sourcepub const fn with_dependencies(
self,
dependencies: &'static [StaticDependency],
) -> Self
pub const fn with_dependencies( self, dependencies: &'static [StaticDependency], ) -> Self
add dependencies to the contract
pub const fn with_instantiate( self, instantiate_handler: InstantiateHandlerFn<Self, CustomInitMsg, Error>, ) -> Self
pub const fn with_execute( self, execute_handler: ExecuteHandlerFn<Self, CustomExecMsg, Error>, ) -> Self
pub const fn with_query( self, query_handler: QueryHandlerFn<Self, CustomQueryMsg, Error>, ) -> Self
pub const fn with_migrate( self, migrate_handler: MigrateHandlerFn<Self, CustomMigrateMsg, Error>, ) -> Self
pub const fn with_replies( self, reply_handlers: &'static [(u64, ReplyHandlerFn<Self, Error>)], ) -> Self
pub const fn with_sudo( self, sudo_handler: SudoHandlerFn<Self, SudoMsg, Error>, ) -> Self
Sourcepub const fn with_ibc_callback(
self,
callback: IbcCallbackHandlerFn<Self, Error>,
) -> Self
pub const fn with_ibc_callback( self, callback: IbcCallbackHandlerFn<Self, Error>, ) -> Self
add IBC callback handler to contract
Sourcepub const fn with_module_ibc(
self,
module_handler: ModuleIbcHandlerFn<Self, Error>,
) -> Self
pub const fn with_module_ibc( self, module_handler: ModuleIbcHandlerFn<Self, Error>, ) -> Self
add Module IBC to contract
Trait Implementations§
Source§impl<Error: ContractError, CustomInitMsg, CustomExecMsg, CustomQueryMsg, CustomMigrateMsg, SudoMsg> AbstractNameService for AppContract<Error, CustomInitMsg, CustomExecMsg, CustomQueryMsg, CustomMigrateMsg, SudoMsg>
impl<Error: ContractError, CustomInitMsg, CustomExecMsg, CustomQueryMsg, CustomMigrateMsg, SudoMsg> AbstractNameService for AppContract<Error, CustomInitMsg, CustomExecMsg, CustomQueryMsg, CustomMigrateMsg, SudoMsg>
Source§fn name_service<'a>(
&'a self,
deps: Deps<'a>,
) -> AbstractNameServiceClient<'a, Self>
fn name_service<'a>( &'a self, deps: Deps<'a>, ) -> AbstractNameServiceClient<'a, Self>
Construct the name service client.
Source§impl<Error: ContractError, CustomInitMsg, CustomExecMsg, CustomQueryMsg, CustomMigrateMsg, SudoMsg> AbstractRegistryAccess for AppContract<Error, CustomInitMsg, CustomExecMsg, CustomQueryMsg, CustomMigrateMsg, SudoMsg>
impl<Error: ContractError, CustomInitMsg, CustomExecMsg, CustomQueryMsg, CustomMigrateMsg, SudoMsg> AbstractRegistryAccess for AppContract<Error, CustomInitMsg, CustomExecMsg, CustomQueryMsg, CustomMigrateMsg, SudoMsg>
Source§fn abstract_registry(
&self,
deps: Deps<'_>,
) -> AbstractSdkResult<RegistryContract>
fn abstract_registry( &self, deps: Deps<'_>, ) -> AbstractSdkResult<RegistryContract>
Get the address of the registry.
Source§impl<Error: ContractError, CustomInitMsg, CustomExecMsg, CustomQueryMsg, CustomMigrateMsg, SudoMsg> AccountIdentification for AppContract<Error, CustomInitMsg, CustomExecMsg, CustomQueryMsg, CustomMigrateMsg, SudoMsg>
impl<Error: ContractError, CustomInitMsg, CustomExecMsg, CustomQueryMsg, CustomMigrateMsg, SudoMsg> AccountIdentification for AppContract<Error, CustomInitMsg, CustomExecMsg, CustomQueryMsg, CustomMigrateMsg, SudoMsg>
Source§fn account_id(&self, deps: Deps<'_>) -> Result<AccountId, AbstractSdkError>
fn account_id(&self, deps: Deps<'_>) -> Result<AccountId, AbstractSdkError>
Get the Account id for the current account.
Source§impl<Error: From<StdError> + From<AppError> + From<AbstractSdkError> + From<AbstractError> + 'static, CustomInitMsg, CustomExecMsg: Serialize + JsonSchema + AppExecuteMsg, CustomQueryMsg, CustomMigrateMsg, SudoMsg> ExecuteEndpoint for AppContract<Error, CustomInitMsg, CustomExecMsg, CustomQueryMsg, CustomMigrateMsg, SudoMsg>
impl<Error: From<StdError> + From<AppError> + From<AbstractSdkError> + From<AbstractError> + 'static, CustomInitMsg, CustomExecMsg: Serialize + JsonSchema + AppExecuteMsg, CustomQueryMsg, CustomMigrateMsg, SudoMsg> ExecuteEndpoint for AppContract<Error, CustomInitMsg, CustomExecMsg, CustomQueryMsg, CustomMigrateMsg, SudoMsg>
Source§type ExecuteMsg = ExecuteMsg<BaseExecuteMsg, CustomExecMsg>
type ExecuteMsg = ExecuteMsg<BaseExecuteMsg, CustomExecMsg>
The message type for the Execute entry point.
Source§fn execute(
self,
deps: DepsMut<'_>,
env: Env,
info: MessageInfo,
msg: Self::ExecuteMsg,
) -> Result<Response, Error>
fn execute( self, deps: DepsMut<'_>, env: Env, info: MessageInfo, msg: Self::ExecuteMsg, ) -> Result<Response, Error>
Handler for the Execute endpoint.
Source§impl<Error: ContractError, InitMsg, ExecMsg, QueryMsg, MigrateMsg, SudoMsg> Handler for AppContract<Error, InitMsg, ExecMsg, QueryMsg, MigrateMsg, SudoMsg>
impl<Error: ContractError, InitMsg, ExecMsg, QueryMsg, MigrateMsg, SudoMsg> Handler for AppContract<Error, InitMsg, ExecMsg, QueryMsg, MigrateMsg, SudoMsg>
Source§type CustomInitMsg = InitMsg
type CustomInitMsg = InitMsg
Custom init message for the contract
Source§type CustomExecMsg = ExecMsg
type CustomExecMsg = ExecMsg
Custom execute message for the contract
Source§type CustomQueryMsg = QueryMsg
type CustomQueryMsg = QueryMsg
Custom query message for the contract
Source§type CustomMigrateMsg = MigrateMsg
type CustomMigrateMsg = MigrateMsg
Custom migrate message for the contract
Source§fn contract(&self) -> &AbstractContract<Self, Error>
fn contract(&self) -> &AbstractContract<Self, Error>
Returns the contract object.
Source§fn stored_version(
&self,
store: &dyn Storage,
) -> Result<ContractVersion, AbstractSdkError>
fn stored_version( &self, store: &dyn Storage, ) -> Result<ContractVersion, AbstractSdkError>
Returns the cw2 contract version.
Source§fn info(&self) -> (&'static str, &'static str, Option<&'static str>)
fn info(&self) -> (&'static str, &'static str, Option<&'static str>)
Returns the static contract info.
Source§fn dependencies(&self) -> &'static [StaticDependency]
fn dependencies(&self) -> &'static [StaticDependency]
Returns the static contract dependencies.
Source§fn maybe_execute_handler(
&self,
) -> Option<fn(DepsMut<'_>, Env, MessageInfo, Self, Self::CustomExecMsg) -> Result<Response, Self::Error>>
fn maybe_execute_handler( &self, ) -> Option<fn(DepsMut<'_>, Env, MessageInfo, Self, Self::CustomExecMsg) -> Result<Response, Self::Error>>
Get an execute handler if it exists.
Source§fn execute_handler(
&self,
) -> Result<fn(DepsMut<'_>, Env, MessageInfo, Self, Self::CustomExecMsg) -> Result<Response, Self::Error>, AbstractSdkError>
fn execute_handler( &self, ) -> Result<fn(DepsMut<'_>, Env, MessageInfo, Self, Self::CustomExecMsg) -> Result<Response, Self::Error>, AbstractSdkError>
Get an execute handler or return an error.
Source§fn maybe_instantiate_handler(
&self,
) -> Option<fn(DepsMut<'_>, Env, MessageInfo, Self, Self::CustomInitMsg) -> Result<Response, Self::Error>>
fn maybe_instantiate_handler( &self, ) -> Option<fn(DepsMut<'_>, Env, MessageInfo, Self, Self::CustomInitMsg) -> Result<Response, Self::Error>>
Get a instantiate handler if it exists.
Source§fn instantiate_handler(
&self,
) -> Result<fn(DepsMut<'_>, Env, MessageInfo, Self, Self::CustomInitMsg) -> Result<Response, Self::Error>, AbstractSdkError>
fn instantiate_handler( &self, ) -> Result<fn(DepsMut<'_>, Env, MessageInfo, Self, Self::CustomInitMsg) -> Result<Response, Self::Error>, AbstractSdkError>
Get an instantiate handler or return an error.
Source§fn maybe_query_handler(
&self,
) -> Option<fn(Deps<'_>, Env, &Self, Self::CustomQueryMsg) -> Result<Binary, Self::Error>>
fn maybe_query_handler( &self, ) -> Option<fn(Deps<'_>, Env, &Self, Self::CustomQueryMsg) -> Result<Binary, Self::Error>>
Get a query handler if it exists.
Source§fn query_handler(
&self,
) -> Result<fn(Deps<'_>, Env, &Self, Self::CustomQueryMsg) -> Result<Binary, Self::Error>, AbstractSdkError>
fn query_handler( &self, ) -> Result<fn(Deps<'_>, Env, &Self, Self::CustomQueryMsg) -> Result<Binary, Self::Error>, AbstractSdkError>
Get a query handler or return an error.
Source§fn maybe_migrate_handler(
&self,
) -> Option<fn(DepsMut<'_>, Env, Self, Self::CustomMigrateMsg) -> Result<Response, Self::Error>>
fn maybe_migrate_handler( &self, ) -> Option<fn(DepsMut<'_>, Env, Self, Self::CustomMigrateMsg) -> Result<Response, Self::Error>>
Get a migrate handler if it exists.
Source§fn migrate_handler(
&self,
) -> Result<fn(DepsMut<'_>, Env, Self, Self::CustomMigrateMsg) -> Result<Response, Self::Error>, AbstractSdkError>
fn migrate_handler( &self, ) -> Result<fn(DepsMut<'_>, Env, Self, Self::CustomMigrateMsg) -> Result<Response, Self::Error>, AbstractSdkError>
Get a migrate handler or return an error.
Source§fn maybe_sudo_handler(
&self,
) -> Option<fn(DepsMut<'_>, Env, Self, Self::SudoMsg) -> Result<Response, Self::Error>>
fn maybe_sudo_handler( &self, ) -> Option<fn(DepsMut<'_>, Env, Self, Self::SudoMsg) -> Result<Response, Self::Error>>
Get a sudo handler if it exists.
Source§fn sudo_handler(
&self,
) -> Result<fn(DepsMut<'_>, Env, Self, Self::SudoMsg) -> Result<Response, Self::Error>, AbstractSdkError>
fn sudo_handler( &self, ) -> Result<fn(DepsMut<'_>, Env, Self, Self::SudoMsg) -> Result<Response, Self::Error>, AbstractSdkError>
Get a sudo handler or return an error.
Source§fn maybe_ibc_callback_handler(
&self,
) -> Option<fn(DepsMut<'_>, Env, Self, Callback, IbcResult) -> Result<Response, Self::Error>>
fn maybe_ibc_callback_handler( &self, ) -> Option<fn(DepsMut<'_>, Env, Self, Callback, IbcResult) -> Result<Response, Self::Error>>
Get an ibc callback handler if it exists.
Source§fn maybe_module_ibc_handler(
&self,
) -> Option<fn(DepsMut<'_>, Env, Self, ModuleIbcInfo, Binary) -> Result<Response, Self::Error>>
fn maybe_module_ibc_handler( &self, ) -> Option<fn(DepsMut<'_>, Env, Self, ModuleIbcInfo, Binary) -> Result<Response, Self::Error>>
Get an IBC module call handler if it exists.
Source§impl<Error: ContractError, CustomInitMsg, CustomExecMsg, CustomQueryMsg, CustomMigrateMsg, SudoMsg> IbcCallbackEndpoint for AppContract<Error, CustomInitMsg, CustomExecMsg, CustomQueryMsg, CustomMigrateMsg, SudoMsg>
impl<Error: ContractError, CustomInitMsg, CustomExecMsg, CustomQueryMsg, CustomMigrateMsg, SudoMsg> IbcCallbackEndpoint for AppContract<Error, CustomInitMsg, CustomExecMsg, CustomQueryMsg, CustomMigrateMsg, SudoMsg>
Source§fn ibc_client_addr(&self, deps: Deps<'_>) -> Result<Addr, Self::Error>
fn ibc_client_addr(&self, deps: Deps<'_>) -> Result<Addr, Self::Error>
Queries the IBC Client address.
Source§fn ibc_callback(
self,
deps: DepsMut<'_>,
env: Env,
info: MessageInfo,
msg: IbcResponseMsg,
) -> Result<Response, Self::Error>
fn ibc_callback( self, deps: DepsMut<'_>, env: Env, info: MessageInfo, msg: IbcResponseMsg, ) -> Result<Response, Self::Error>
Handler for the
ExecuteMsg::IbcCallback()
variant.Source§impl<Error: ContractError, CustomInitMsg: Serialize + DeserializeOwned + JsonSchema, CustomExecMsg, CustomQueryMsg, CustomMigrateMsg, SudoMsg> InstantiateEndpoint for AppContract<Error, CustomInitMsg, CustomExecMsg, CustomQueryMsg, CustomMigrateMsg, SudoMsg>
impl<Error: ContractError, CustomInitMsg: Serialize + DeserializeOwned + JsonSchema, CustomExecMsg, CustomQueryMsg, CustomMigrateMsg, SudoMsg> InstantiateEndpoint for AppContract<Error, CustomInitMsg, CustomExecMsg, CustomQueryMsg, CustomMigrateMsg, SudoMsg>
Source§type InstantiateMsg = InstantiateMsg<BaseInstantiateMsg, <AppContract<Error, CustomInitMsg, CustomExecMsg, CustomQueryMsg, CustomMigrateMsg, SudoMsg> as Handler>::CustomInitMsg>
type InstantiateMsg = InstantiateMsg<BaseInstantiateMsg, <AppContract<Error, CustomInitMsg, CustomExecMsg, CustomQueryMsg, CustomMigrateMsg, SudoMsg> as Handler>::CustomInitMsg>
The message type for the Instantiate entry point.
Source§fn instantiate(
self,
deps: DepsMut<'_>,
env: Env,
info: MessageInfo,
msg: Self::InstantiateMsg,
) -> Result<Response, Error>
fn instantiate( self, deps: DepsMut<'_>, env: Env, info: MessageInfo, msg: Self::InstantiateMsg, ) -> Result<Response, Error>
Handler for the Instantiate endpoint.
Source§impl<Error: ContractError, CustomInitMsg, CustomExecMsg, CustomQueryMsg, CustomMigrateMsg: Serialize + JsonSchema, SudoMsg> MigrateEndpoint for AppContract<Error, CustomInitMsg, CustomExecMsg, CustomQueryMsg, CustomMigrateMsg, SudoMsg>
impl<Error: ContractError, CustomInitMsg, CustomExecMsg, CustomQueryMsg, CustomMigrateMsg: Serialize + JsonSchema, SudoMsg> MigrateEndpoint for AppContract<Error, CustomInitMsg, CustomExecMsg, CustomQueryMsg, CustomMigrateMsg, SudoMsg>
Source§type MigrateMsg = MigrateMsg<BaseMigrateMsg, CustomMigrateMsg>
type MigrateMsg = MigrateMsg<BaseMigrateMsg, CustomMigrateMsg>
The message type for the Migrate entry point.
Source§impl<Error: ContractError, CustomInitMsg, CustomExecMsg, CustomQueryMsg, CustomMigrateMsg, SudoMsg> ModuleIbcEndpoint for AppContract<Error, CustomInitMsg, CustomExecMsg, CustomQueryMsg, CustomMigrateMsg, SudoMsg>
impl<Error: ContractError, CustomInitMsg, CustomExecMsg, CustomQueryMsg, CustomMigrateMsg, SudoMsg> ModuleIbcEndpoint for AppContract<Error, CustomInitMsg, CustomExecMsg, CustomQueryMsg, CustomMigrateMsg, SudoMsg>
Source§fn ibc_host(&self, deps: Deps<'_>) -> Result<Addr, Self::Error>
fn ibc_host(&self, deps: Deps<'_>) -> Result<Addr, Self::Error>
Get the address of the ibc host associated with this module
Source§fn module_ibc(
self,
deps: DepsMut<'_>,
env: Env,
info: MessageInfo,
msg: ModuleIbcMsg,
) -> Result<Response, Self::Error>
fn module_ibc( self, deps: DepsMut<'_>, env: Env, info: MessageInfo, msg: ModuleIbcMsg, ) -> Result<Response, Self::Error>
Handler for the
ExecuteMsg::ModuleIbc(ModuleIbcMsg)
variant.Source§impl<Error: ContractError, CustomInitMsg, CustomExecMsg, CustomQueryMsg: AppQueryMsg, CustomMigrateMsg, SudoMsg> QueryEndpoint for AppContract<Error, CustomInitMsg, CustomExecMsg, CustomQueryMsg, CustomMigrateMsg, SudoMsg>
impl<Error: ContractError, CustomInitMsg, CustomExecMsg, CustomQueryMsg: AppQueryMsg, CustomMigrateMsg, SudoMsg> QueryEndpoint for AppContract<Error, CustomInitMsg, CustomExecMsg, CustomQueryMsg, CustomMigrateMsg, SudoMsg>
Source§impl<Error: ContractError, CustomInitMsg, CustomExecMsg, CustomQueryMsg, CustomMigrateMsg, SudoMsg> ReplyEndpoint for AppContract<Error, CustomInitMsg, CustomExecMsg, CustomQueryMsg, CustomMigrateMsg, SudoMsg>
impl<Error: ContractError, CustomInitMsg, CustomExecMsg, CustomQueryMsg, CustomMigrateMsg, SudoMsg> ReplyEndpoint for AppContract<Error, CustomInitMsg, CustomExecMsg, CustomQueryMsg, CustomMigrateMsg, SudoMsg>
Source§impl<Error: ContractError, CustomInitMsg, CustomExecMsg, CustomQueryMsg, CustomMigrateMsg, SudoMsg> SudoEndpoint for AppContract<Error, CustomInitMsg, CustomExecMsg, CustomQueryMsg, CustomMigrateMsg, SudoMsg>
impl<Error: ContractError, CustomInitMsg, CustomExecMsg, CustomQueryMsg, CustomMigrateMsg, SudoMsg> SudoEndpoint for AppContract<Error, CustomInitMsg, CustomExecMsg, CustomQueryMsg, CustomMigrateMsg, SudoMsg>
Auto Trait Implementations§
impl<Error, CustomInitMsg, CustomExecMsg, CustomQueryMsg, CustomMigrateMsg, SudoMsg> Freeze for AppContract<Error, CustomInitMsg, CustomExecMsg, CustomQueryMsg, CustomMigrateMsg, SudoMsg>
impl<Error, CustomInitMsg, CustomExecMsg, CustomQueryMsg, CustomMigrateMsg, SudoMsg> RefUnwindSafe for AppContract<Error, CustomInitMsg, CustomExecMsg, CustomQueryMsg, CustomMigrateMsg, SudoMsg>
impl<Error, CustomInitMsg, CustomExecMsg, CustomQueryMsg, CustomMigrateMsg, SudoMsg> Send for AppContract<Error, CustomInitMsg, CustomExecMsg, CustomQueryMsg, CustomMigrateMsg, SudoMsg>
impl<Error, CustomInitMsg, CustomExecMsg, CustomQueryMsg, CustomMigrateMsg, SudoMsg> Sync for AppContract<Error, CustomInitMsg, CustomExecMsg, CustomQueryMsg, CustomMigrateMsg, SudoMsg>
impl<Error, CustomInitMsg, CustomExecMsg, CustomQueryMsg, CustomMigrateMsg, SudoMsg> Unpin for AppContract<Error, CustomInitMsg, CustomExecMsg, CustomQueryMsg, CustomMigrateMsg, SudoMsg>
impl<Error, CustomInitMsg, CustomExecMsg, CustomQueryMsg, CustomMigrateMsg, SudoMsg> UnwindSafe for AppContract<Error, CustomInitMsg, CustomExecMsg, CustomQueryMsg, CustomMigrateMsg, SudoMsg>
Blanket Implementations§
Source§impl<T> AbstractResponse for Twhere
T: ModuleIdentification,
impl<T> AbstractResponse for Twhere
T: ModuleIdentification,
Source§fn response(&self, action: impl Into<String>) -> Response
fn response(&self, action: impl Into<String>) -> Response
Respond with an abstract-specific event that contains the contract name and the action.
Source§fn custom_response(
&self,
action: impl Into<String>,
attributes: impl IntoIterator<Item = impl Into<Attribute>>,
) -> Response
fn custom_response( &self, action: impl Into<String>, attributes: impl IntoIterator<Item = impl Into<Attribute>>, ) -> Response
.response()
with additional attributes.Source§impl<T> AccountExecutor for Twhere
T: AccountIdentification,
impl<T> AccountExecutor for Twhere
T: AccountIdentification,
Source§fn execute_on_account(
&self,
deps: Deps<'_>,
msg: &ExecuteMsg,
funds: Vec<Coin>,
) -> Result<CosmosMsg, AbstractSdkError>
fn execute_on_account( &self, deps: Deps<'_>, msg: &ExecuteMsg, funds: Vec<Coin>, ) -> Result<CosmosMsg, AbstractSdkError>
Execute method on account contract
Source§impl<T> AccountVerification for Twhere
T: AbstractRegistryAccess + ModuleIdentification,
impl<T> AccountVerification for Twhere
T: AbstractRegistryAccess + ModuleIdentification,
Source§fn account_registry<'a>(
&'a self,
deps: Deps<'a>,
) -> Result<AccountRegistry<'a, Self>, AbstractSdkError>
fn account_registry<'a>( &'a self, deps: Deps<'a>, ) -> Result<AccountRegistry<'a, Self>, AbstractSdkError>
API for querying and verifying a sender’s identity in the context of Abstract Accounts. Read more
Source§impl<T> AdapterInterface for Twhere
T: ModuleInterface + ModuleIdentification,
impl<T> AdapterInterface for Twhere
T: ModuleInterface + ModuleIdentification,
Source§impl<T> AppInterface for Twhere
T: ModuleInterface + ModuleIdentification,
impl<T> AppInterface for Twhere
T: ModuleInterface + ModuleIdentification,
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
Mutably borrows from an owned value. Read more
Source§impl<T> Dependencies for Twhere
T: Handler,
impl<T> Dependencies for Twhere
T: Handler,
Source§fn dependencies(&self) -> &'static [StaticDependency]
fn dependencies(&self) -> &'static [StaticDependency]
Get the dependencies of the module.
Source§impl<T> Execution for Twhere
T: AccountExecutor + ModuleIdentification,
impl<T> Execution for Twhere
T: AccountExecutor + ModuleIdentification,
Source§impl<T> IbcInterface for T
impl<T> IbcInterface for 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>
Converts
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>
Converts
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 moreSource§impl<T> ModuleIdentification for Twhere
T: Handler,
impl<T> ModuleIdentification for Twhere
T: Handler,
Source§impl<T> ModuleInterface for T
impl<T> ModuleInterface for T
Source§impl<T> ModuleRegistryInterface for Twhere
T: AbstractRegistryAccess + ModuleIdentification,
impl<T> ModuleRegistryInterface for Twhere
T: AbstractRegistryAccess + ModuleIdentification,
Source§fn module_registry<'a>(
&'a self,
deps: Deps<'a>,
) -> Result<ModuleRegistry<'a, Self>, AbstractSdkError>
fn module_registry<'a>( &'a self, deps: Deps<'a>, ) -> Result<ModuleRegistry<'a, Self>, AbstractSdkError>
API for querying module information from the Abstract registry contract. Read more