Module 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::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 or QueryMsg. 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
AnsEntryConvertor
A helper struct for Abstract Name Service entry conversions.
AssetEntry
An unchecked ANS asset entry. This is a string that is formatted as src_chain>[intermediate_chain>]asset_name
ChannelEntry
Key to get the Address of a connected_chain Use UncheckedChannelEntry to construct this type.
ContractEntry
Key to get the Address of a contract Use UncheckedContractEntry to construct this type.
DexAssetPairing
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
TruncatedChainId
The name of a chain, aka the chain-id without the post-fix number. ex. cosmoshub-4 -> cosmoshub, juno-1 -> juno
UncheckedChannelEntry
Key to get the Address of a connected_chain
UncheckedContractEntry
Key to get the Address of a contract

Type Aliases§

DexName