Crate cw_dex

Source
Expand description

§cw-dex

CosmWasm abstractions for decentralized exchanges. This crate defines a set of traits to abstract out the common behavior of various decentralized exchanges so that the same contract code can be used to interact with any of them.

The currently supported decentralized exchanges are:

  • [Osmosis]
    • Via crate cw-dex-osmosis
  • [Astroport]
    • Via crate cw-dex-astroport

Re-exports§

pub use error::*;

Modules§

error
This crate contains the enum CwDexError with variants for contract errors, and related functions
traits
Traits that define the common interface of all supported decentralized exchanges