abstract_std/standalone.rs
1//! # Abstract Standalone
2//!
3//! `abstract_std::standalone` implements shared functionality that's useful for creating new Abstract standalone modules.
4//!
5//! ## Description
6//! An Abstract standalone contract is a contract that is controlled by abstract account, but cannot perform actions on a [account](crate::account) contract.
7use crate::registry::Account;
8
9/// Data required for the `StandaloneContract::instantiate` function.
10#[cosmwasm_schema::cw_serde]
11pub struct StandaloneInstantiateMsg {}
12
13/// Contains the abstract infrastructure addresses needed the APIs.
14#[cosmwasm_schema::cw_serde]
15pub struct StandaloneState {
16 pub account: Account,
17 /// Used to determine if this standalone is migratable
18 pub is_migratable: bool,
19}