pub trait DexInterface: Identification + Dependencies {
    // Provided method
    fn dex<'a>(&'a self, deps: Deps<'a>, dex_name: DexName) -> Dex<'_, Self> { ... }
}
Expand description

Interact with the dex api in your module.

Provided Methods§

source

fn dex<'a>(&'a self, deps: Deps<'a>, dex_name: DexName) -> Dex<'_, Self>

Construct a new dex interface Params:

  • deps: the deps object
  • dex_name: the name of the dex to interact with

Implementors§