Mento Protocol

Exchange Providers

The concept of exchange providers allows us to abstract how asset exchanges are priced from the Broker's responsibilities. Given an in asset and an out asset and the amount one wants to trade, an exchange provider can employ any mechanism in order to price the respective trade and manage its internal state as a result of executing such trades. It does this entirely virtually and never actually holds assets.
The first exchange provider that we make use of in the Mento protocol is the BiPoolManager.