Core

The base DEX layer

Much of Monadex's core functionality is derived from Uniswap v2, a classic foundational full range AMM with the x * y = k preset curve.

Creating New Pools

Monadex pools are the key functional units in the AMM architecture. New Monadex pools with different token combinations can be created in a permissionless fashion for all supported tokens (this excludes fee-on-transfer tokens, or tokens with incompatible quirks). Liquidity providers can supply liquidity in the form of amounts of token pairs to these pools to enable traders to start swapping. Liquidity providers are given LP tokens as per their share of the pool, which accrue fees over time with swapping activity. Most of the collected fees goes towards compensating the liquidity providers for bearing the risk of impermanent loss while supplying liquidity to pools, however, a small, almost negligible amount of the fees goes to Monadex Labs to enable further growth of the protocol, and incentivize innovation in the space.

Supplying and Withdrawing Liquidity

Liquidity providers can create or decide to exit their positions at any time, and collect their share of accrued fees.

Swapping Tokens

Users can swap out one token for another on the corresponding Monadex pools. On each swap, users pay a small pool fee which is directed towards the liquidity providers. A small portion of this pool fee goes to the protocol treasury.

Flash Swaps and Flash Loans

Monadex supports flash swaps and flash loans right out of the box. Additionally, traders can hook into the flash swap or flash loan lifespan by executing custom logic before and after a trade occurs, providing them a fine-tuned control over their trading strategy.

Last updated