Skip to content

Latest commit

 

History

History
49 lines (30 loc) · 2.6 KB

File metadata and controls

49 lines (30 loc) · 2.6 KB
description
Mynt is a stablecoin aggregator based on BabelFish. The stablecoins that Mynt supports are exclusively backed by BTC.

MYNT PROTOCOL

Babel Fish Aggregator Basics

Mynt is a stablecoin aggregator based on BabelFish. In contrast to BabelFish, which supports stablecoins with many different types of collateral backing, the stablecoins that Mynt supports are exclusively backed by BTC. Users can use Mynt to convert between supported "bAsset" stablecoins and the Mynt "mAsset" stablecoin at a 1:1 ratio. The Mynt mAsset stablecoin is the Sovryn Dollar (DLLR).

By aggregating multiple different BTC-backed stablecoins, each with their own issuance and stability mechanisms, DLLR has the potential to be more resilient, stable, and scalable than any of the underlying stablecoins on their own.

Masset contract is the main element in the protocol.

Basic assets that are validated in the Basket Manager storage, and are aggregated to be converted 1:1 into the meta-asste token, the Sovryn Dollar or "DLLR".

The most general function to mint DLLR is masset.mintTo.

The meta-asset token can be converted back to any of its baking assets; currently the "Dollar-on-Chain" from the Money on Chain protocol, and the "ZUSD" from Sovryn's ZERO protocol, through a "redeem" funtion.

The most general function to redeem DLLR is masset.redeemTo.

Mynt has an additional feature that allows users to convert DLLR directly into rBTC (native RSK asset). The conversion from ZUSD to rBTC is carried on by the ZERO protocol, but in order to do the converion via Money-on-Chain protocol (MOC), we implemented an integrator.

The most general function to redeem DLLR into rBTC via Money on Chain is MocIntegration.getDocFromDllrAndRedeemRbtcWithPermit2.

4. How do fees work?

Fees are currently disabled. But if they are ever enabled, here is how they will work:

- mint( take bAssets, mint mAssets in exchange )

- fees
  • substract fee from calculated mAsset mint amount
  • fees does not impact the amount of bAssets, all of them are transfered to pool
- redeem( burn mAssets, transfer bAssets from pool in exchange )

- fees
  • transfer calculated amount before all conversions
  • substract from massets to burn and bassets to transfer