pub trait DexInterface: Identification + Dependencies {
    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§

Construct a new dex interface Params:

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

Implementors§