#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

9 releases (breaking)

0.26.0 Jan 7, 2025
0.24.1 Oct 25, 2024
0.23.1 Aug 1, 2024
0.23.0 Jul 16, 2024
0.19.2 Oct 19, 2023

#22 in #dex

Download history 11/week @ 2024-10-02 3/week @ 2024-10-09 119/week @ 2024-10-16 108/week @ 2024-10-23 20/week @ 2024-10-30 14/week @ 2024-11-06 109/week @ 2024-11-13 90/week @ 2024-11-20 2/week @ 2024-12-04 8/week @ 2024-12-11 57/week @ 2025-01-01 66/week @ 2025-01-08 7/week @ 2025-01-15

130 downloads per month

LGPL-3.0 and GPL-3.0-or-later

2.5MB
19K 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

~5–29MB
~394K SLoC