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

  • 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 @todo: move into dex package 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

Type Definitions