#adapter #interface #standard #abstract #command #dex #smart-contracts

abstract-dex-standard

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

6 releases (breaking)

0.23.1 Aug 1, 2024
0.23.0 Jul 16, 2024
0.22.1 May 8, 2024
0.21.0 Feb 20, 2024
0.19.2 Oct 19, 2023

#19 in #dex

Download history 12/week @ 2024-06-17 192/week @ 2024-06-24 57/week @ 2024-07-01 117/week @ 2024-07-08 326/week @ 2024-07-15 25/week @ 2024-07-22 296/week @ 2024-07-29 57/week @ 2024-08-05 21/week @ 2024-08-12 66/week @ 2024-08-19 76/week @ 2024-08-26 30/week @ 2024-09-02 21/week @ 2024-09-09 19/week @ 2024-09-16 36/week @ 2024-09-23 16/week @ 2024-09-30

95 downloads per month

GPL-3.0-or-later

2.5MB
20K SLoC

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

~16–38MB
~596K SLoC