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::AccountSequence;
pub use account::AccountTrace;
pub use account::ABSTRACT_ACCOUNT_ID;
pub use pool::*;
Modules§
- account
- ans_
host - chain_
name - dependency
- Dependency definitions for Abstract Modules
- deposit_
info - fee
- gov_
type - Governance structure object
- module
- module_
factory - module_
reference - module_
version - 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. - namespace
- ownership
- pool
- registry
- salt
- storage_
namespaces - time_
weighted_ average - Time Weighted Average (TWA) helper
- validation
- voting
- Simple voting
Structs§
- AnsAsset
- AnsEntry
Convertor - A helper struct for Abstract Name Service entry conversions.
- Asset
Entry - An unchecked ANS asset entry. This is a string that is formatted as
src_chain>[intermediate_chain>]asset_name
- Channel
Entry - Key to get the Address of a connected_chain
Use
UncheckedChannelEntry
to construct this type. - Contract
Entry - Key to get the Address of a contract
Use
UncheckedContractEntry
to construct this type. - DexAsset
Pairing - The key for an asset pairing Consists of the two assets and the dex name
- LpToken
- A key for the token that represents Liquidity Pool shares on a dex Will be formatted as “dex_name/asset1,asset2” when serialized
- Truncated
Chain Id - The name of a chain, aka the chain-id without the post-fix number.
ex.
cosmoshub-4
->cosmoshub
,juno-1
->juno
- Unchecked
Channel Entry - Key to get the Address of a connected_chain
- Unchecked
Contract Entry - Key to get the Address of a contract