Skip to content
This repository has been archived by the owner on Jan 12, 2024. It is now read-only.

fetchai/mettalex-market-maker

Repository files navigation

Mettalex DEX

The Mettalex Decentralised Exchange (DEX) consists of several distinct layers:

The Mettalex vault allows traders and market makers to mint pairs of long and short position tokens by locking collateral. It also allows redemption of a long and short pair for the underlying collateral.

The on-chain market maker allows traders to enter/exit a single-sided position without going through the "mint pair and sell one side" flow.

The market maker itself is a Mettalex Pool Controller contract that makes use of a private Balancer pool internally to set position token prices in line with the underlying asset price.

Mettalex Outline