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§

Modules§

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
  • The name of a chain, aka the chain-id without the post-fix number. ex. cosmoshub-4 -> cosmoshub, juno-1 -> juno
  • Key to get the Address of a connected_chain
  • Key to get the Address of a contract

Type Aliases§