Crate hydradx_traits
source ·Re-exports
Modules
Structs
Hold information to perform amm transfer
Contains also exact amount which will be sold/bought
Traits
Traits for handling AMM Pool trades.
Implementers of this trait provides information about user’s position in the AMM pool.
Handler used by AMM pools to perform some tasks when a new pool is created.
Handler used by AMM pools to perform some tasks when liquidity changes outside of trades.
Handler used by AMM pools to perform some tasks when a trade is executed.