#dex #adapter #traits #interface #command #abstract #tendermint

abstract-dex-adapter-traits

The tendermint staking adapter is a Abstract adapter for interacting with usual DEX commands. It provides a common interface for all DEXes

4 releases (2 breaking)

0.18.0 Jul 28, 2023
0.17.2 Jul 27, 2023
0.17.0 Jun 26, 2023
0.16.2 Jun 22, 2023

#20 in #dex

GPL-3.0-or-later

17KB
329 lines

Dex Adapter Trait

A trait that defines a standard interface for Dex interactions. This trait should be implemented for each Dex that the adapter supports.

To implement this trait, create a new package, import this crate and implement the trait for your Dex.

Dependencies

~6–25MB
~410K SLoC