Module abstract_std::objects
source · Expand description
§State and Message Objects
This module contains all the structs and enums used in contract state-storage or contained in contract interaction.
Re-exports§
pub use account::AccountId;
pub use account::ABSTRACT_ACCOUNT_ID;
pub use pool::*;
Modules§
- Dependency definitions for Abstract Modules
- Governance structure object
- Most of the CW* specs are focused on the public interfaces of the module. The Adapters used for
ExecuteMsg
orQueryMsg
. However, when we wish to migrate or inspect smart module info, we need some form of smart module information embedded on state. - Proxy Asset
- Time Weighted Average (TWA) helper
- Simple voting
Structs§
- A helper struct for Abstract Name Service entry conversions.
- An unchecked ANS asset entry. This is a string that is formatted as
src_chain>[intermediate_chain>]asset_name
- Key to get the Address of a connected_chain Use
UncheckedChannelEntry
to construct this type. - Key to get the Address of a contract Use
UncheckedContractEntry
to construct this type. - The key for an asset pairing Consists of the two assets and the dex name TODO: what if we made keys equal based on the two assets either way?
- A key for the token that represents Liquidity Pool shares on a dex Will be formatted as “dex_name/asset1,asset2” when serialized
- Key to get the Address of a connected_chain
- Key to get the Address of a contract