2 releases

0.5.3 Mar 28, 2021
0.5.2 Mar 28, 2021

#29 in #reserve

Apache-2.0

44KB
1K SLoC

SERP - Market

Setheum Elastic Reserve Protocol - Market

SERP-Market Stablecoin SERP Module based on Stp258Standard built on top of Stp258Serp and SerpTraits.

Overview

This is the SerpMarket Pallet that trades with the SERP system to make trades for Nativecurrency in this case called Dinar, and Sett-Currencies(Multiple stablecoins).

Implementations

The SERP-Market expands or contract supply/issuance by deposit creating and slashing to and from the accounts associated with the SerpMarket. It implements the following trait.

  • SerpMarket - Abstraction over a stablecoin stability system based on the DS3 (Dinar-Sett Stability System) on the SERP. The trait implements expand_supply and contract_supply SERP functions.

The SerpMarket module depends on the Serp-traits and Stp258-currencies modules for the currencies in to adjust the stablecoin supply.

This module is based on the STP-258 Standard built on the STP-258 SERP implementing the SERP Traits.

Dependencies

~8–13MB
~212K SLoC