3 releases

0.5.1 Mar 28, 2021
0.5.0-dev Mar 28, 2021

#6 in #supply

29 downloads per month

Apache-2.0 and GPL-3.0-or-later…

95KB
2K SLoC

Setheum Tokenization Protocol 258 - Tokens

Multi-Currency Stablecoin SERP Module

Overview

The stp258 module provides fungible multiple stable currencies functionality that implements SettCurrency trait and the SerpMarket trait that enables the Serping up and down of the currencies supply through Setheum's serping technology for currency supply elasticity.

The stp258 module provides functions for:

  • Querying and setting the balance of a given account.
  • Getting and managing total issuance.
  • Balance transfer between accounts.
  • Depositing and withdrawing balance.
  • Slashing an account balance.
  • Minting and Burning currencies.
  • Expanding and Contracting Supply of Currencies by Serping

Acknowledgement & Reference

This Pallet is inspired by the ORML Tokens Pallet developed by Open Web3 Stack, for reference check The ORML Repo.

Dependencies

~79MB
~1.5M SLoC