abstract_std/
standalone.rs

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
//! # Abstract Standalone
//!
//! `abstract_std::standalone` implements shared functionality that's useful for creating new Abstract standalone modules.
//!
//! ## Description
//! An Abstract standalone contract is a contract that is controlled by abstract account, but cannot perform actions on a [account](crate::account) contract.
use crate::registry::Account;

/// Data required for the `StandaloneContract::instantiate` function.
#[cosmwasm_schema::cw_serde]
pub struct StandaloneInstantiateMsg {}

/// Contains the abstract infrastructure addresses needed the APIs.
#[cosmwasm_schema::cw_serde]
pub struct StandaloneState {
    pub account: Account,
    /// Used to determine if this standalone is migratable
    pub is_migratable: bool,
}