pub struct AccountI<Chain>(/* private fields */);
Implementations§
Source§impl<Chain: CwEnv> AccountI<Chain>
impl<Chain: CwEnv> AccountI<Chain>
pub fn load_from( abstract_deployment: &Abstract<Chain>, account_id: AccountId, ) -> Result<Self, AbstractInterfaceError>
Sourcepub fn create(
abstract_deployment: &Abstract<Chain>,
details: AccountDetails,
governance_details: GovernanceDetails<String>,
funds: &[Coin],
) -> Result<Self, AbstractInterfaceError>
pub fn create( abstract_deployment: &Abstract<Chain>, details: AccountDetails, governance_details: GovernanceDetails<String>, funds: &[Coin], ) -> Result<Self, AbstractInterfaceError>
Create account, b"abstract_account"
used as a salt
pub fn create_default_account( abstract_deployment: &Abstract<Chain>, governance_details: GovernanceDetails<String>, ) -> Result<Self, AbstractInterfaceError>
Source§impl<Chain: CwEnv> AccountI<Chain>
impl<Chain: CwEnv> AccountI<Chain>
pub fn upgrade_module<M: Serialize>( &self, module_id: &str, migrate_msg: &M, ) -> Result<(), AbstractInterfaceError>
pub fn replace_api( &self, module_id: &str, funds: &[Coin], ) -> Result<(), AbstractInterfaceError>
pub fn install_module<TInitMsg: Serialize>( &self, module_id: &str, init_msg: Option<&TInitMsg>, funds: &[Coin], ) -> Result<Chain::Response, AbstractInterfaceError>
pub fn install_modules_auto( &self, modules: Vec<ModuleInstallConfig>, ) -> Result<Chain::Response, AbstractInterfaceError>
pub fn install_module_version<M: Serialize>( &self, module_id: &str, version: ModuleVersion, init_msg: Option<&M>, funds: &[Coin], ) -> Result<Chain::Response, AbstractInterfaceError>
Sourcepub fn expect_modules(
&self,
module_addrs: Vec<String>,
) -> Result<Vec<AccountModuleInfo>, AbstractInterfaceError>
pub fn expect_modules( &self, module_addrs: Vec<String>, ) -> Result<Vec<AccountModuleInfo>, AbstractInterfaceError>
Assert that the Account has the expected modules with the provided expected_module_addrs installed.
Returns the Vec<AccountModuleInfo>
from the account
pub fn is_module_installed( &self, module_id: &str, ) -> Result<bool, AbstractInterfaceError>
Sourcepub fn expect_whitelist(
&self,
expected_whitelisted_addrs: Vec<Addr>,
) -> Result<(), AbstractInterfaceError>
pub fn expect_whitelist( &self, expected_whitelisted_addrs: Vec<Addr>, ) -> Result<(), AbstractInterfaceError>
Checks that the account’s whitelist includes the expected module addresses.
Sourcepub fn install_adapter<CustomInitMsg: Serialize, T: AdapterDeployer<Chain, CustomInitMsg>>(
&self,
module: &T,
funds: &[Coin],
) -> Result<Addr, AbstractInterfaceError>
pub fn install_adapter<CustomInitMsg: Serialize, T: AdapterDeployer<Chain, CustomInitMsg>>( &self, module: &T, funds: &[Coin], ) -> Result<Addr, AbstractInterfaceError>
Installs an adapter from an adapter object
Sourcepub fn install_app<CustomInitMsg: Serialize, T: ContractInstance<Chain>>(
&self,
module: &T,
custom_init_msg: &CustomInitMsg,
funds: &[Coin],
) -> Result<Addr, AbstractInterfaceError>
pub fn install_app<CustomInitMsg: Serialize, T: ContractInstance<Chain>>( &self, module: &T, custom_init_msg: &CustomInitMsg, funds: &[Coin], ) -> Result<Addr, AbstractInterfaceError>
Installs an app from an app object
Sourcepub fn install_standalone<CustomInitMsg: Serialize, T: ContractInstance<Chain>>(
&self,
standalone: &T,
custom_init_msg: &CustomInitMsg,
funds: &[Coin],
) -> Result<Addr, AbstractInterfaceError>
pub fn install_standalone<CustomInitMsg: Serialize, T: ContractInstance<Chain>>( &self, standalone: &T, custom_init_msg: &CustomInitMsg, funds: &[Coin], ) -> Result<Addr, AbstractInterfaceError>
Installs an standalone from an standalone object
pub fn execute_on_module( &self, module: &str, msg: impl Serialize, funds: Vec<Coin>, ) -> Result<<Chain as TxHandler>::Response, AbstractInterfaceError>
Sourcepub fn module_info(
&self,
module_id: &str,
) -> Result<Option<AccountModuleInfo>, AbstractInterfaceError>
pub fn module_info( &self, module_id: &str, ) -> Result<Option<AccountModuleInfo>, AbstractInterfaceError>
Return the module info installed on the account
Sourcepub fn module_address(
&self,
module_id: impl Into<String>,
) -> Result<Addr, AbstractInterfaceError>
pub fn module_address( &self, module_id: impl Into<String>, ) -> Result<Addr, AbstractInterfaceError>
Get the address of a module Will err when not installed.
Source§impl<Chain: CwEnv> AccountI<Chain>
impl<Chain: CwEnv> AccountI<Chain>
Sourcepub fn register_remote_account(
&self,
host_chain: TruncatedChainId,
) -> Result<<Chain as TxHandler>::Response, AbstractInterfaceError>
pub fn register_remote_account( &self, host_chain: TruncatedChainId, ) -> Result<<Chain as TxHandler>::Response, AbstractInterfaceError>
Helper to create remote accounts
pub fn create_remote_account( &self, account_details: AccountDetails, host_chain: TruncatedChainId, ) -> Result<<Chain as TxHandler>::Response, AbstractInterfaceError>
pub fn set_ibc_status( &self, enabled: bool, ) -> Result<Chain::Response, AbstractInterfaceError>
pub fn execute_on_remote( &self, host_chain: TruncatedChainId, msg: ExecuteMsg, ) -> Result<<Chain as TxHandler>::Response, AbstractInterfaceError>
Sourcepub fn execute_on_remote_module(
&self,
host_chain: TruncatedChainId,
module_id: &str,
msg: Binary,
funds: Vec<Coin>,
) -> Result<<Chain as TxHandler>::Response, AbstractInterfaceError>
pub fn execute_on_remote_module( &self, host_chain: TruncatedChainId, module_id: &str, msg: Binary, funds: Vec<Coin>, ) -> Result<<Chain as TxHandler>::Response, AbstractInterfaceError>
Execute action on remote module. Funds attached from remote account to the module
pub fn send_all_funds_back( &self, host_chain: TruncatedChainId, ) -> Result<<Chain as TxHandler>::Response, AbstractInterfaceError>
Source§impl<Chain: CwEnv> AccountI<Chain>
impl<Chain: CwEnv> AccountI<Chain>
Sourcepub fn register(
&self,
registry: &Registry<Chain>,
) -> Result<(), AbstractInterfaceError>
pub fn register( &self, registry: &Registry<Chain>, ) -> Result<(), AbstractInterfaceError>
Register the account core contracts in the registry
Sourcepub fn id(&self) -> Result<AccountId, AbstractInterfaceError>
pub fn id(&self) -> Result<AccountId, AbstractInterfaceError>
Gets the account ID of the
pub fn create_and_return_sub_account( &self, account_details: AccountDetails, funds: &[Coin], ) -> Result<AccountI<Chain>, AbstractInterfaceError>
pub fn upload_and_register_if_needed( &self, registry: &Registry<Chain>, ) -> Result<bool, AbstractInterfaceError>
Sourcepub fn upgrade_account(
&self,
abstract_deployment: &Abstract<Chain>,
) -> Result<bool, AbstractInterfaceError>
pub fn upgrade_account( &self, abstract_deployment: &Abstract<Chain>, ) -> Result<bool, AbstractInterfaceError>
Attempts to upgrade the Account
returns true
if any migrations were performed.
pub fn claim_namespace( &self, namespace: impl Into<String>, ) -> Result<Chain::Response, AbstractInterfaceError>
pub fn update_whitelist( &self, to_add: Vec<String>, to_remove: Vec<String>, ) -> Result<(), AbstractInterfaceError>
Trait Implementations§
Source§impl<Chain: ChainState> ContractInstance<Chain> for AccountI<Chain>
impl<Chain: ChainState> ContractInstance<Chain> for AccountI<Chain>
Source§fn as_instance(&self) -> &Contract<Chain>
fn as_instance(&self) -> &Contract<Chain>
Source§fn as_instance_mut(&mut self) -> &mut Contract<Chain>
fn as_instance_mut(&mut self) -> &mut Contract<Chain>
Source§fn set_address(&self, address: &Addr)
fn set_address(&self, address: &Addr)
Source§fn remove_address(&self)
fn remove_address(&self)
Source§fn set_default_address(&mut self, address: &Addr)
fn set_default_address(&mut self, address: &Addr)
Source§fn set_code_id(&self, code_id: u64)
fn set_code_id(&self, code_id: u64)
Source§fn remove_code_id(&self)
fn remove_code_id(&self)
Source§fn set_default_code_id(&mut self, code_id: u64)
fn set_default_code_id(&mut self, code_id: u64)
Source§impl<Chain> ExecutableContract for AccountI<Chain>
impl<Chain> ExecutableContract for AccountI<Chain>
Source§type ExecuteMsg = ExecuteMsg
type ExecuteMsg = ExecuteMsg
Source§impl<Chain> InstantiableContract for AccountI<Chain>
impl<Chain> InstantiableContract for AccountI<Chain>
Source§type InstantiateMsg = InstantiateMsg
type InstantiateMsg = InstantiateMsg
Source§impl<Chain> MigratableContract for AccountI<Chain>
impl<Chain> MigratableContract for AccountI<Chain>
Source§type MigrateMsg = MigrateMsg
type MigrateMsg = MigrateMsg
Source§impl<Chain> QueryableContract for AccountI<Chain>
impl<Chain> QueryableContract for AccountI<Chain>
Source§impl<Chain: CwEnv> Uploadable for AccountI<Chain>
impl<Chain: CwEnv> Uploadable for AccountI<Chain>
Auto Trait Implementations§
impl<Chain> Freeze for AccountI<Chain>where
Chain: Freeze,
impl<Chain> RefUnwindSafe for AccountI<Chain>where
Chain: RefUnwindSafe,
impl<Chain> Send for AccountI<Chain>where
Chain: Send,
impl<Chain> Sync for AccountI<Chain>where
Chain: Sync,
impl<Chain> Unpin for AccountI<Chain>where
Chain: Unpin,
impl<Chain> UnwindSafe for AccountI<Chain>where
Chain: UnwindSafe,
Blanket Implementations§
Source§impl<Chain, CwOrchQueryMsgType, SupportedContract> AsyncQueryMsgFns<Chain, CwOrchQueryMsgType> for SupportedContractwhere
Chain: AsyncWasmQuerier + ChainState,
CwOrchQueryMsgType: Sync,
QueryMsg: Into<CwOrchQueryMsgType>,
SupportedContract: AsyncCwOrchQuery<Chain, QueryMsg = CwOrchQueryMsgType>,
impl<Chain, CwOrchQueryMsgType, SupportedContract> AsyncQueryMsgFns<Chain, CwOrchQueryMsgType> for SupportedContractwhere
Chain: AsyncWasmQuerier + ChainState,
CwOrchQueryMsgType: Sync,
QueryMsg: Into<CwOrchQueryMsgType>,
SupportedContract: AsyncCwOrchQuery<Chain, QueryMsg = CwOrchQueryMsgType>,
Source§async fn config_async(&self) -> Result<ConfigResponse, CwEnvError>
async fn config_async(&self) -> Result<ConfigResponse, CwEnvError>
Source§async fn module_versions_async(
&self,
ids: Vec<String>,
) -> Result<ModuleVersionsResponse, CwEnvError>
async fn module_versions_async( &self, ids: Vec<String>, ) -> Result<ModuleVersionsResponse, CwEnvError>
Source§async fn module_addresses_async(
&self,
ids: Vec<String>,
) -> Result<ModuleAddressesResponse, CwEnvError>
async fn module_addresses_async( &self, ids: Vec<String>, ) -> Result<ModuleAddressesResponse, CwEnvError>
Source§async fn module_infos_async(
&self,
limit: Option<u8>,
start_after: Option<String>,
) -> Result<ModuleInfosResponse, CwEnvError>
async fn module_infos_async( &self, limit: Option<u8>, start_after: Option<String>, ) -> Result<ModuleInfosResponse, CwEnvError>
Source§async fn info_async(&self) -> Result<InfoResponse, CwEnvError>
async fn info_async(&self) -> Result<InfoResponse, CwEnvError>
Source§async fn sub_account_ids_async(
&self,
limit: Option<u8>,
start_after: Option<u32>,
) -> Result<SubAccountIdsResponse, CwEnvError>
async fn sub_account_ids_async( &self, limit: Option<u8>, start_after: Option<u32>, ) -> Result<SubAccountIdsResponse, CwEnvError>
Source§async fn top_level_owner_async(
&self,
) -> Result<TopLevelOwnerResponse, CwEnvError>
async fn top_level_owner_async( &self, ) -> Result<TopLevelOwnerResponse, CwEnvError>
Source§async fn ownership_async(&self) -> Result<Ownership<String>, CwEnvError>
async fn ownership_async(&self) -> Result<Ownership<String>, CwEnvError>
Source§async fn authenticator_by_id_async(&self, id: u8) -> Result<Binary, CwEnvError>
async fn authenticator_by_id_async(&self, id: u8) -> Result<Binary, CwEnvError>
Source§async fn authenticator_i_ds_async(&self) -> Result<Binary, CwEnvError>
async fn authenticator_i_ds_async(&self) -> Result<Binary, CwEnvError>
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> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T, Chain> ConditionalMigrate<Chain> for T
impl<T, Chain> ConditionalMigrate<Chain> for T
Source§fn migrate_if_needed(
&self,
migrate_msg: &Self::MigrateMsg,
) -> Result<Option<<Chain as TxHandler>::Response>, CwEnvError>
fn migrate_if_needed( &self, migrate_msg: &Self::MigrateMsg, ) -> Result<Option<<Chain as TxHandler>::Response>, CwEnvError>
Source§fn upload_and_migrate_if_needed(
&self,
migrate_msg: &Self::MigrateMsg,
) -> Result<Option<Vec<<Chain as TxHandler>::Response>>, CwEnvError>
fn upload_and_migrate_if_needed( &self, migrate_msg: &Self::MigrateMsg, ) -> Result<Option<Vec<<Chain as TxHandler>::Response>>, CwEnvError>
Source§impl<T, Chain> ConditionalUpload<Chain> for Twhere
Chain: CwEnv,
T: CwOrchUpload<Chain>,
impl<T, Chain> ConditionalUpload<Chain> for Twhere
Chain: CwEnv,
T: CwOrchUpload<Chain>,
Source§fn upload_if_needed(
&self,
) -> Result<Option<<Chain as TxHandler>::Response>, CwEnvError>
fn upload_if_needed( &self, ) -> Result<Option<<Chain as TxHandler>::Response>, CwEnvError>
Source§fn latest_is_uploaded(&self) -> Result<bool, CwEnvError>
fn latest_is_uploaded(&self) -> Result<bool, CwEnvError>
Source§fn is_running_latest(&self) -> Result<bool, CwEnvError>
fn is_running_latest(&self) -> Result<bool, CwEnvError>
Source§impl<T, Chain> CwOrchExecute<Chain> for T
impl<T, Chain> CwOrchExecute<Chain> for T
Source§fn execute(
&self,
execute_msg: &Self::ExecuteMsg,
coins: &[Coin],
) -> Result<<Chain as TxHandler>::Response, CwEnvError>
fn execute( &self, execute_msg: &Self::ExecuteMsg, coins: &[Coin], ) -> Result<<Chain as TxHandler>::Response, CwEnvError>
Source§impl<T, Chain> CwOrchInstantiate<Chain> for T
impl<T, Chain> CwOrchInstantiate<Chain> for T
Source§fn instantiate(
&self,
instantiate_msg: &Self::InstantiateMsg,
admin: Option<&Addr>,
coins: &[Coin],
) -> Result<<Chain as TxHandler>::Response, CwEnvError>
fn instantiate( &self, instantiate_msg: &Self::InstantiateMsg, admin: Option<&Addr>, coins: &[Coin], ) -> Result<<Chain as TxHandler>::Response, CwEnvError>
Source§fn instantiate2(
&self,
instantiate_msg: &Self::InstantiateMsg,
admin: Option<&Addr>,
coins: &[Coin],
salt: Binary,
) -> Result<<Chain as TxHandler>::Response, CwEnvError>
fn instantiate2( &self, instantiate_msg: &Self::InstantiateMsg, admin: Option<&Addr>, coins: &[Coin], salt: Binary, ) -> Result<<Chain as TxHandler>::Response, CwEnvError>
Source§impl<T, Chain> CwOrchMigrate<Chain> for T
impl<T, Chain> CwOrchMigrate<Chain> for T
Source§fn migrate(
&self,
migrate_msg: &Self::MigrateMsg,
new_code_id: u64,
) -> Result<<Chain as TxHandler>::Response, CwEnvError>
fn migrate( &self, migrate_msg: &Self::MigrateMsg, new_code_id: u64, ) -> Result<<Chain as TxHandler>::Response, CwEnvError>
Source§impl<T, Chain> CwOrchQuery<Chain> for T
impl<T, Chain> CwOrchQuery<Chain> for T
Source§fn raw_query(&self, query_keys: Vec<u8>) -> Result<Vec<u8>, CwEnvError>
fn raw_query(&self, query_keys: Vec<u8>) -> Result<Vec<u8>, CwEnvError>
Source§fn item_query<T>(&self, query_item: Item<T>) -> Result<T, CwEnvError>where
T: Serialize + DeserializeOwned,
fn item_query<T>(&self, query_item: Item<T>) -> Result<T, CwEnvError>where
T: Serialize + DeserializeOwned,
Source§impl<T, Chain> CwOrchUpload<Chain> for T
impl<T, Chain> CwOrchUpload<Chain> for T
Source§fn upload(&self) -> Result<<Chain as TxHandler>::Response, CwEnvError>
fn upload(&self) -> Result<<Chain as TxHandler>::Response, CwEnvError>
Source§fn upload_with_access_config(
&self,
access_config: Option<AccessConfig>,
) -> Result<<Chain as TxHandler>::Response, CwEnvError>
fn upload_with_access_config( &self, access_config: Option<AccessConfig>, ) -> Result<<Chain as TxHandler>::Response, CwEnvError>
Source§impl<Chain, T> Environment<Chain> for T
impl<Chain, T> Environment<Chain> for T
Source§fn environment(&self) -> &Chain
fn environment(&self) -> &Chain
Source§impl<Chain, CwOrchExecuteMsgType, Authenticator, SupportedContract> ExecuteMsgFns<Chain, CwOrchExecuteMsgType, Authenticator> for SupportedContractwhere
Chain: TxHandler,
Authenticator: Debug + Serialize + DeserializeOwned,
ExecuteMsg<Authenticator>: Into<CwOrchExecuteMsgType>,
SupportedContract: CwOrchExecute<Chain, ExecuteMsg = CwOrchExecuteMsgType>,
impl<Chain, CwOrchExecuteMsgType, Authenticator, SupportedContract> ExecuteMsgFns<Chain, CwOrchExecuteMsgType, Authenticator> for SupportedContractwhere
Chain: TxHandler,
Authenticator: Debug + Serialize + DeserializeOwned,
ExecuteMsg<Authenticator>: Into<CwOrchExecuteMsgType>,
SupportedContract: CwOrchExecute<Chain, ExecuteMsg = CwOrchExecuteMsgType>,
Source§fn execute_msgs(
&self,
msgs: Vec<CosmosMsg>,
coins: &[Coin],
) -> Result<<Chain as TxHandler>::Response, CwEnvError>
fn execute_msgs( &self, msgs: Vec<CosmosMsg>, coins: &[Coin], ) -> Result<<Chain as TxHandler>::Response, CwEnvError>
Source§fn execute_with_data(
&self,
msg: CosmosMsg,
coins: &[Coin],
) -> Result<<Chain as TxHandler>::Response, CwEnvError>
fn execute_with_data( &self, msg: CosmosMsg, coins: &[Coin], ) -> Result<<Chain as TxHandler>::Response, CwEnvError>
Source§fn execute_on_module(
&self,
exec_msg: Binary,
funds: Vec<Coin>,
module_id: impl Into<String>,
coins: &[Coin],
) -> Result<<Chain as TxHandler>::Response, CwEnvError>
fn execute_on_module( &self, exec_msg: Binary, funds: Vec<Coin>, module_id: impl Into<String>, coins: &[Coin], ) -> Result<<Chain as TxHandler>::Response, CwEnvError>
Source§fn admin_execute(
&self,
addr: impl Into<String>,
msg: Binary,
coins: &[Coin],
) -> Result<<Chain as TxHandler>::Response, CwEnvError>
fn admin_execute( &self, addr: impl Into<String>, msg: Binary, coins: &[Coin], ) -> Result<<Chain as TxHandler>::Response, CwEnvError>
Source§fn admin_execute_on_module(
&self,
module_id: impl Into<String>,
msg: Binary,
coins: &[Coin],
) -> Result<<Chain as TxHandler>::Response, CwEnvError>
fn admin_execute_on_module( &self, module_id: impl Into<String>, msg: Binary, coins: &[Coin], ) -> Result<<Chain as TxHandler>::Response, CwEnvError>
Source§fn ica_action(
&self,
action_query_msg: Binary,
) -> Result<<Chain as TxHandler>::Response, CwEnvError>
fn ica_action( &self, action_query_msg: Binary, ) -> Result<<Chain as TxHandler>::Response, CwEnvError>
Source§fn update_internal_config(
&self,
arg0: InternalConfigAction,
) -> Result<<Chain as TxHandler>::Response, CwEnvError>
fn update_internal_config( &self, arg0: InternalConfigAction, ) -> Result<<Chain as TxHandler>::Response, CwEnvError>
Source§fn install_modules(
&self,
modules: Vec<ModuleInstallConfig>,
coins: &[Coin],
) -> Result<<Chain as TxHandler>::Response, CwEnvError>
fn install_modules( &self, modules: Vec<ModuleInstallConfig>, coins: &[Coin], ) -> Result<<Chain as TxHandler>::Response, CwEnvError>
Source§fn uninstall_module(
&self,
module_id: impl Into<String>,
) -> Result<<Chain as TxHandler>::Response, CwEnvError>
fn uninstall_module( &self, module_id: impl Into<String>, ) -> Result<<Chain as TxHandler>::Response, CwEnvError>
Source§fn upgrade(
&self,
modules: Vec<(ModuleInfo, Option<Binary>)>,
) -> Result<<Chain as TxHandler>::Response, CwEnvError>
fn upgrade( &self, modules: Vec<(ModuleInfo, Option<Binary>)>, ) -> Result<<Chain as TxHandler>::Response, CwEnvError>
Source§fn create_sub_account(
&self,
install_modules: Vec<ModuleInstallConfig>,
account_id: Option<u32>,
description: Option<String>,
link: Option<String>,
name: Option<String>,
namespace: Option<String>,
coins: &[Coin],
) -> Result<<Chain as TxHandler>::Response, CwEnvError>
fn create_sub_account( &self, install_modules: Vec<ModuleInstallConfig>, account_id: Option<u32>, description: Option<String>, link: Option<String>, name: Option<String>, namespace: Option<String>, coins: &[Coin], ) -> Result<<Chain as TxHandler>::Response, CwEnvError>
Source§fn update_info(
&self,
description: Option<String>,
link: Option<String>,
name: Option<String>,
) -> Result<<Chain as TxHandler>::Response, CwEnvError>
fn update_info( &self, description: Option<String>, link: Option<String>, name: Option<String>, ) -> Result<<Chain as TxHandler>::Response, CwEnvError>
Source§fn update_status(
&self,
is_suspended: Option<bool>,
) -> Result<<Chain as TxHandler>::Response, CwEnvError>
fn update_status( &self, is_suspended: Option<bool>, ) -> Result<<Chain as TxHandler>::Response, CwEnvError>
Source§fn update_sub_account(
&self,
arg0: UpdateSubAccountAction,
) -> Result<<Chain as TxHandler>::Response, CwEnvError>
fn update_sub_account( &self, arg0: UpdateSubAccountAction, ) -> Result<<Chain as TxHandler>::Response, CwEnvError>
Source§fn update_ownership(
&self,
arg0: GovAction,
) -> Result<<Chain as TxHandler>::Response, CwEnvError>
fn update_ownership( &self, arg0: GovAction, ) -> Result<<Chain as TxHandler>::Response, CwEnvError>
Source§fn add_auth_method(
&self,
add_authenticator: Authenticator,
) -> Result<<Chain as TxHandler>::Response, CwEnvError>
fn add_auth_method( &self, add_authenticator: Authenticator, ) -> Result<<Chain as TxHandler>::Response, CwEnvError>
Source§fn remove_auth_method(
&self,
id: u8,
) -> Result<<Chain as TxHandler>::Response, CwEnvError>
fn remove_auth_method( &self, id: u8, ) -> Result<<Chain as TxHandler>::Response, CwEnvError>
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