Struct AccountI

Source
pub struct AccountI<Chain>(/* private fields */);

Implementations§

Source§

impl<Chain> AccountI<Chain>

Source

pub fn new(contract_id: impl ToString, chain: Chain) -> Self

Source§

impl<Chain: CwEnv> AccountI<Chain>

Source

pub fn load_from( abstract_deployment: &Abstract<Chain>, account_id: AccountId, ) -> Result<Self, AbstractInterfaceError>

Source

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

Source

pub fn create_default_account( abstract_deployment: &Abstract<Chain>, governance_details: GovernanceDetails<String>, ) -> Result<Self, AbstractInterfaceError>

Source§

impl<Chain: CwEnv> AccountI<Chain>

Source

pub fn upgrade_module<M: Serialize>( &self, module_id: &str, migrate_msg: &M, ) -> Result<(), AbstractInterfaceError>

Source

pub fn replace_api( &self, module_id: &str, funds: &[Coin], ) -> Result<(), AbstractInterfaceError>

Source

pub fn install_module<TInitMsg: Serialize>( &self, module_id: &str, init_msg: Option<&TInitMsg>, funds: &[Coin], ) -> Result<Chain::Response, AbstractInterfaceError>

Source

pub fn install_modules_auto( &self, modules: Vec<ModuleInstallConfig>, ) -> Result<Chain::Response, AbstractInterfaceError>

Source

pub fn install_module_version<M: Serialize>( &self, module_id: &str, version: ModuleVersion, init_msg: Option<&M>, funds: &[Coin], ) -> Result<Chain::Response, AbstractInterfaceError>

Source

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

Source

pub fn is_module_installed( &self, module_id: &str, ) -> Result<bool, AbstractInterfaceError>

Source

pub fn expect_whitelist( &self, expected_whitelisted_addrs: Vec<Addr>, ) -> Result<(), AbstractInterfaceError>

Checks that the account’s whitelist includes the expected module addresses.

Source

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

Source

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

Source

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

Source

pub fn execute_on_module( &self, module: &str, msg: impl Serialize, funds: Vec<Coin>, ) -> Result<<Chain as TxHandler>::Response, AbstractInterfaceError>

Source

pub fn update_adapter_authorized_addresses( &self, module_id: &str, to_add: Vec<String>, to_remove: Vec<String>, ) -> Result<(), AbstractInterfaceError>

Source

pub fn module_info( &self, module_id: &str, ) -> Result<Option<AccountModuleInfo>, AbstractInterfaceError>

Return the module info installed on the account

Source

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>

Source

pub fn register_remote_account( &self, host_chain: TruncatedChainId, ) -> Result<<Chain as TxHandler>::Response, AbstractInterfaceError>

Helper to create remote accounts

Source

pub fn create_remote_account( &self, account_details: AccountDetails, host_chain: TruncatedChainId, ) -> Result<<Chain as TxHandler>::Response, AbstractInterfaceError>

Source

pub fn set_ibc_status( &self, enabled: bool, ) -> Result<Chain::Response, AbstractInterfaceError>

Source

pub fn execute_on_remote( &self, host_chain: TruncatedChainId, msg: ExecuteMsg, ) -> Result<<Chain as TxHandler>::Response, AbstractInterfaceError>

Source

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

Source

pub fn send_all_funds_back( &self, host_chain: TruncatedChainId, ) -> Result<<Chain as TxHandler>::Response, AbstractInterfaceError>

Source§

impl<Chain: CwEnv> AccountI<Chain>

Source

pub fn register( &self, registry: &Registry<Chain>, ) -> Result<(), AbstractInterfaceError>

Register the account core contracts in the registry

Source

pub fn id(&self) -> Result<AccountId, AbstractInterfaceError>

Gets the account ID of the

Source

pub fn create_and_return_sub_account( &self, account_details: AccountDetails, funds: &[Coin], ) -> Result<AccountI<Chain>, AbstractInterfaceError>

Source

pub fn upload_and_register_if_needed( &self, registry: &Registry<Chain>, ) -> Result<bool, AbstractInterfaceError>

Source

pub fn upgrade_account( &self, abstract_deployment: &Abstract<Chain>, ) -> Result<bool, AbstractInterfaceError>

Attempts to upgrade the Account returns true if any migrations were performed.

Source

pub fn claim_namespace( &self, namespace: impl Into<String>, ) -> Result<Chain::Response, AbstractInterfaceError>

Source

pub fn update_whitelist( &self, to_add: Vec<String>, to_remove: Vec<String>, ) -> Result<(), AbstractInterfaceError>

Trait Implementations§

Source§

impl<Chain> AsRef<AccountI<Chain>> for AccountI<Chain>

Source§

fn as_ref(&self) -> &AccountI<Chain>

Converts this type into a shared reference of the (usually inferred) input type.
Source§

impl<Chain: Clone> Clone for AccountI<Chain>

Source§

fn clone(&self) -> AccountI<Chain>

Returns a duplicate of the value. Read more
1.0.0 · Source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
Source§

impl<Chain: ChainState> ContractInstance<Chain> for AccountI<Chain>

Source§

fn as_instance(&self) -> &Contract<Chain>

Return a reference to the underlying contract instance.
Source§

fn as_instance_mut(&mut self) -> &mut Contract<Chain>

Return a mutable reference to the underlying contract instance.
Source§

fn id(&self) -> String

Returns the contract id.
Source§

fn address(&self) -> Result<Addr, CwEnvError>

Returns the contract address for this instance.
Source§

fn addr_str(&self) -> Result<String, CwEnvError>

Returns the contract address as a String.
Source§

fn code_id(&self) -> Result<u64, CwEnvError>

Returns contract code_id.
Source§

fn set_address(&self, address: &Addr)

Sets the address for the contract. Useful when the contract is already initialized and not registered in the configured state file.
Source§

fn remove_address(&self)

Removes the address for the contract
Source§

fn set_default_address(&mut self, address: &Addr)

Sets a default address for the contract. If the contract already has an address registered in the state, this won’t be used. This is mostly used to ship address with a cw-orch package.
Source§

fn set_code_id(&self, code_id: u64)

Sets the code_id for the contract. Useful when the contract is already initialized and not registered in the configured state file.
Source§

fn remove_code_id(&self)

Removes the code_id for the contract
Source§

fn set_default_code_id(&mut self, code_id: u64)

Sets a default address for the contract. If the contract already has an address registered in the state, this won’t be used. This is mostly used to ship address with a cw-orch package.
Source§

impl<Chain: CwEnv> Debug for AccountI<Chain>

Source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
Source§

impl<Chain: CwEnv> Display for AccountI<Chain>

Source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
Source§

impl<Chain> ExecutableContract for AccountI<Chain>

Source§

type ExecuteMsg = ExecuteMsg

Execute message for the contract.
Source§

impl<Chain> InstantiableContract for AccountI<Chain>

Source§

type InstantiateMsg = InstantiateMsg

Instantiate message for the contract.
Source§

impl<Chain> MigratableContract for AccountI<Chain>

Source§

type MigrateMsg = MigrateMsg

Migrate message for the contract.
Source§

impl<Chain> QueryableContract for AccountI<Chain>

Source§

type QueryMsg = QueryMsg

Query message for the contract.
Source§

impl<Chain: CwEnv> Uploadable for AccountI<Chain>

Source§

fn wrapper() -> <Mock as TxHandler>::ContractSource

Return the wrapper object for the contract, only works for non-custom mock environments
Source§

fn wasm(chain: &ChainInfoOwned) -> WasmPath

Return an object that can be used to upload the contract to a WASM-supported environment.

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<T> Any for T
where T: 'static + ?Sized,

Source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
Source§

impl<U> As for U

Source§

fn as_<T>(self) -> T
where T: CastFrom<U>,

Casts self to type T. The semantics of numeric casting with the as operator are followed, so <T as As>::as_::<U> can be used in the same way as T as U for numeric conversions. Read more
Source§

impl<Chain, CwOrchQueryMsgType, SupportedContract> AsyncQueryMsgFns<Chain, CwOrchQueryMsgType> for SupportedContract
where Chain: AsyncWasmQuerier + ChainState, CwOrchQueryMsgType: Sync, QueryMsg: Into<CwOrchQueryMsgType>, SupportedContract: AsyncCwOrchQuery<Chain, QueryMsg = CwOrchQueryMsgType>,

Source§

async fn config_async(&self) -> Result<ConfigResponse, CwEnvError>

Automatically generated wrapper around QueryMsg::Config variant
Source§

async fn module_versions_async( &self, ids: Vec<String>, ) -> Result<ModuleVersionsResponse, CwEnvError>

Automatically generated wrapper around QueryMsg::ModuleVersions variant
Source§

async fn module_addresses_async( &self, ids: Vec<String>, ) -> Result<ModuleAddressesResponse, CwEnvError>

Automatically generated wrapper around QueryMsg::ModuleAddresses variant
Source§

async fn module_infos_async( &self, limit: Option<u8>, start_after: Option<String>, ) -> Result<ModuleInfosResponse, CwEnvError>

Automatically generated wrapper around QueryMsg::ModuleInfos variant
Source§

async fn info_async(&self) -> Result<InfoResponse, CwEnvError>

Automatically generated wrapper around QueryMsg::Info variant
Source§

async fn sub_account_ids_async( &self, limit: Option<u8>, start_after: Option<u32>, ) -> Result<SubAccountIdsResponse, CwEnvError>

Automatically generated wrapper around QueryMsg::SubAccountIds variant
Source§

async fn top_level_owner_async( &self, ) -> Result<TopLevelOwnerResponse, CwEnvError>

Automatically generated wrapper around QueryMsg::TopLevelOwner variant
Source§

async fn ownership_async(&self) -> Result<Ownership<String>, CwEnvError>

Automatically generated wrapper around QueryMsg::Ownership variant
Source§

async fn authenticator_by_id_async(&self, id: u8) -> Result<Binary, CwEnvError>

Automatically generated wrapper around QueryMsg::AuthenticatorByID variant
Source§

async fn authenticator_i_ds_async(&self) -> Result<Binary, CwEnvError>

Automatically generated wrapper around QueryMsg::AuthenticatorIDs variant
Source§

impl<T> Borrow<T> for T
where T: ?Sized,

Source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
Source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

Source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
Source§

impl<T, Chain> CallAs<Chain> for T
where T: CwOrchExecute<Chain> + ContractInstance<Chain> + Clone, Chain: TxHandler,

Source§

fn set_sender(&mut self, sender: &<Chain as TxHandler>::Sender)

Source§

fn call_as(&self, sender: &<Chain as TxHandler>::Sender) -> Self

Call a contract as a different sender. Clones the contract interface with a different sender.
Source§

impl<T> CloneToUninit for T
where T: Clone,

Source§

unsafe fn clone_to_uninit(&self, dest: *mut u8)

🔬This is a nightly-only experimental API. (clone_to_uninit)
Performs copy-assignment from self to dest. Read more
Source§

impl<T, Chain> ConditionalMigrate<Chain> for T
where Chain: CwEnv, T: CwOrchMigrate<Chain> + ConditionalUpload<Chain>,

Source§

fn migrate_if_needed( &self, migrate_msg: &Self::MigrateMsg, ) -> Result<Option<<Chain as TxHandler>::Response>, CwEnvError>

Only migrate the contract if it is not on the latest code-id yet
Source§

fn upload_and_migrate_if_needed( &self, migrate_msg: &Self::MigrateMsg, ) -> Result<Option<Vec<<Chain as TxHandler>::Response>>, CwEnvError>

Uploads the contract if the local contract hash is different from the latest on-chain code hash. Proceeds to migrates the contract if the contract is not running the latest code.
Source§

impl<T, Chain> ConditionalUpload<Chain> for T
where Chain: CwEnv, T: CwOrchUpload<Chain>,

Source§

fn upload_if_needed( &self, ) -> Result<Option<<Chain as TxHandler>::Response>, CwEnvError>

Only upload the contract if it is not uploaded yet (checksum does not match)
Source§

fn latest_is_uploaded(&self) -> Result<bool, CwEnvError>

Returns whether the checksum of the WASM file matches the checksum of the latest uploaded code for this contract.
Source§

fn is_running_latest(&self) -> Result<bool, CwEnvError>

Returns whether the contract is running the latest uploaded code for it
Source§

impl<T, Chain> CwOrchExecute<Chain> for T
where T: ExecutableContract + ContractInstance<Chain>, Chain: TxHandler,

Source§

fn execute( &self, execute_msg: &Self::ExecuteMsg, coins: &[Coin], ) -> Result<<Chain as TxHandler>::Response, CwEnvError>

Send a ExecuteMsg to the contract.
Source§

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>

Instantiates the contract.
Source§

fn instantiate2( &self, instantiate_msg: &Self::InstantiateMsg, admin: Option<&Addr>, coins: &[Coin], salt: Binary, ) -> Result<<Chain as TxHandler>::Response, CwEnvError>

Instantiates the contract using instantiate2
Source§

impl<T, Chain> CwOrchMigrate<Chain> for T
where T: MigratableContract + ContractInstance<Chain>, Chain: TxHandler,

Source§

fn migrate( &self, migrate_msg: &Self::MigrateMsg, new_code_id: u64, ) -> Result<<Chain as TxHandler>::Response, CwEnvError>

Migrate the contract.
Source§

impl<T, Chain> CwOrchQuery<Chain> for T

Source§

fn query<G>(&self, query_msg: &Self::QueryMsg) -> Result<G, CwEnvError>

Query the contract.
Source§

fn raw_query(&self, query_keys: Vec<u8>) -> Result<Vec<u8>, CwEnvError>

Query the contract raw state from an raw binary key
Source§

fn item_query<T>(&self, query_item: Item<T>) -> Result<T, CwEnvError>

Query the contract raw state from an cw-storage-plus::Item
Source§

fn map_query<'a, T, K>( &self, query_map: Map<K, T>, key: K, ) -> Result<T, CwEnvError>

Query the contract raw state from a cw-storage-plus::Map
Source§

impl<T, Chain> CwOrchUpload<Chain> for T
where T: ContractInstance<Chain> + Uploadable, Chain: TxHandler,

Source§

fn upload(&self) -> Result<<Chain as TxHandler>::Response, CwEnvError>

upload the contract to the configured environment.
Source§

fn upload_with_access_config( &self, access_config: Option<AccessConfig>, ) -> Result<<Chain as TxHandler>::Response, CwEnvError>

upload the contract to the configured environment and specify the permissions for instantiating
Source§

impl<T> DynClone for T
where T: Clone,

Source§

fn __clone_box(&self, _: Private) -> *mut ()

Source§

impl<Chain, T> Environment<Chain> for T
where Chain: ChainState, T: ContractInstance<Chain> + ?Sized,

Source§

fn environment(&self) -> &Chain

Returns the chain that this structure executes on
Source§

impl<Chain, CwOrchExecuteMsgType, Authenticator, SupportedContract> ExecuteMsgFns<Chain, CwOrchExecuteMsgType, Authenticator> for SupportedContract
where 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>

Automatically generated wrapper around ExecuteMsg::Execute variant
Source§

fn execute_with_data( &self, msg: CosmosMsg, coins: &[Coin], ) -> Result<<Chain as TxHandler>::Response, CwEnvError>

Automatically generated wrapper around ExecuteMsg::ExecuteWithData variant
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>

Automatically generated wrapper around ExecuteMsg::ExecuteOnModule variant
Source§

fn admin_execute( &self, addr: impl Into<String>, msg: Binary, coins: &[Coin], ) -> Result<<Chain as TxHandler>::Response, CwEnvError>

Automatically generated wrapper around ExecuteMsg::AdminExecute variant
Source§

fn admin_execute_on_module( &self, module_id: impl Into<String>, msg: Binary, coins: &[Coin], ) -> Result<<Chain as TxHandler>::Response, CwEnvError>

Automatically generated wrapper around ExecuteMsg::AdminExecuteOnModule variant
Source§

fn ica_action( &self, action_query_msg: Binary, ) -> Result<<Chain as TxHandler>::Response, CwEnvError>

Automatically generated wrapper around ExecuteMsg::IcaAction variant
Source§

fn update_internal_config( &self, arg0: InternalConfigAction, ) -> Result<<Chain as TxHandler>::Response, CwEnvError>

Automatically generated wrapper around ExecuteMsg::UpdateInternalConfig variant
Source§

fn install_modules( &self, modules: Vec<ModuleInstallConfig>, coins: &[Coin], ) -> Result<<Chain as TxHandler>::Response, CwEnvError>

Automatically generated wrapper around ExecuteMsg::InstallModules variant
Source§

fn uninstall_module( &self, module_id: impl Into<String>, ) -> Result<<Chain as TxHandler>::Response, CwEnvError>

Automatically generated wrapper around ExecuteMsg::UninstallModule variant
Source§

fn upgrade( &self, modules: Vec<(ModuleInfo, Option<Binary>)>, ) -> Result<<Chain as TxHandler>::Response, CwEnvError>

Automatically generated wrapper around ExecuteMsg::Upgrade variant
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>

Automatically generated wrapper around ExecuteMsg::CreateSubAccount variant
Source§

fn update_info( &self, description: Option<String>, link: Option<String>, name: Option<String>, ) -> Result<<Chain as TxHandler>::Response, CwEnvError>

Automatically generated wrapper around ExecuteMsg::UpdateInfo variant
Source§

fn update_status( &self, is_suspended: Option<bool>, ) -> Result<<Chain as TxHandler>::Response, CwEnvError>

Automatically generated wrapper around ExecuteMsg::UpdateStatus variant
Source§

fn update_sub_account( &self, arg0: UpdateSubAccountAction, ) -> Result<<Chain as TxHandler>::Response, CwEnvError>

Automatically generated wrapper around ExecuteMsg::UpdateSubAccount variant
Source§

fn update_ownership( &self, arg0: GovAction, ) -> Result<<Chain as TxHandler>::Response, CwEnvError>

Automatically generated wrapper around ExecuteMsg::UpdateOwnership variant
Source§

fn add_auth_method( &self, add_authenticator: Authenticator, ) -> Result<<Chain as TxHandler>::Response, CwEnvError>

Automatically generated wrapper around ExecuteMsg::AddAuthMethod variant
Source§

fn remove_auth_method( &self, id: u8, ) -> Result<<Chain as TxHandler>::Response, CwEnvError>

Automatically generated wrapper around ExecuteMsg::RemoveAuthMethod variant
Source§

impl<T> From<T> for T

Source§

fn from(t: T) -> T

Returns the argument unchanged.

Source§

impl<T, U> Into<U> for T
where U: From<T>,

Source§

fn into(self) -> U

Calls U::from(self).

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

Source§

impl<T> IntoEither for T

Source§

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 more
Source§

fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
where F: FnOnce(&Self) -> bool,

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 more
Source§

impl<T> Pointable for T

Source§

const ALIGN: usize

The alignment of pointer.
Source§

type Init = T

The type for initializers.
Source§

unsafe fn init(init: <T as Pointable>::Init) -> usize

Initializes a with the given initializer. Read more
Source§

unsafe fn deref<'a>(ptr: usize) -> &'a T

Dereferences the given pointer. Read more
Source§

unsafe fn deref_mut<'a>(ptr: usize) -> &'a mut T

Mutably dereferences the given pointer. Read more
Source§

unsafe fn drop(ptr: usize)

Drops the object pointed to by the given pointer. Read more
Source§

impl<Chain, CwOrchQueryMsgType, SupportedContract> QueryMsgFns<Chain, CwOrchQueryMsgType> for SupportedContract
where Chain: QueryHandler + ChainState, QueryMsg: Into<CwOrchQueryMsgType>, SupportedContract: CwOrchQuery<Chain, QueryMsg = CwOrchQueryMsgType>,

Source§

fn config(&self) -> Result<ConfigResponse, CwEnvError>

Automatically generated wrapper around QueryMsg::Config variant
Source§

fn module_versions( &self, ids: Vec<String>, ) -> Result<ModuleVersionsResponse, CwEnvError>

Automatically generated wrapper around QueryMsg::ModuleVersions variant
Source§

fn module_addresses( &self, ids: Vec<String>, ) -> Result<ModuleAddressesResponse, CwEnvError>

Automatically generated wrapper around QueryMsg::ModuleAddresses variant
Source§

fn module_infos( &self, limit: Option<u8>, start_after: Option<String>, ) -> Result<ModuleInfosResponse, CwEnvError>

Automatically generated wrapper around QueryMsg::ModuleInfos variant
Source§

fn info(&self) -> Result<InfoResponse, CwEnvError>

Automatically generated wrapper around QueryMsg::Info variant
Source§

fn sub_account_ids( &self, limit: Option<u8>, start_after: Option<u32>, ) -> Result<SubAccountIdsResponse, CwEnvError>

Automatically generated wrapper around QueryMsg::SubAccountIds variant
Source§

fn top_level_owner(&self) -> Result<TopLevelOwnerResponse, CwEnvError>

Automatically generated wrapper around QueryMsg::TopLevelOwner variant
Source§

fn ownership(&self) -> Result<Ownership<String>, CwEnvError>

Automatically generated wrapper around QueryMsg::Ownership variant
Source§

fn authenticator_by_id(&self, id: u8) -> Result<Binary, CwEnvError>

Automatically generated wrapper around QueryMsg::AuthenticatorByID variant
Source§

fn authenticator_i_ds(&self) -> Result<Binary, CwEnvError>

Automatically generated wrapper around QueryMsg::AuthenticatorIDs variant
Source§

impl<T> Same for T

Source§

type Output = T

Should always be Self
Source§

impl<T> ToOwned for T
where T: Clone,

Source§

type Owned = T

The resulting type after obtaining ownership.
Source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
Source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
Source§

impl<T> ToString for T
where T: Display + ?Sized,

Source§

fn to_string(&self) -> String

Converts the given value to a String. Read more
Source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

Source§

type Error = Infallible

The type returned in the event of a conversion error.
Source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
Source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

Source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
Source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
Source§

impl<V, T> VZip<V> for T
where V: MultiLane<T>,

Source§

fn vzip(self) -> V