Crates.io | stp258-serp |
lib.rs | stp258-serp |
version | 0.5.3 |
source | src |
created_at | 2021-03-28 06:48:13.090909 |
updated_at | 2021-03-28 06:48:13.090909 |
description | Fungible SERP stablecoins module that implements `SettCurrency`, `SerpMarket,and `SerpTes` traits. |
homepage | https://setheum.xyz |
repository | https://github.com/Setheum-Labs/Setheum/stp258-serp |
max_upload_size | |
id | 374555 |
size | 114,531 |
Multi-Currency Stablecoin SERP Module
The stp258 module provides fungible multiple stable currencies functionality that implements SettCurrency
traits, the SerpTes
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:
This Pallet is inspired by the ORML Tokens Pallet developed by Open Web3 Stack, for reference check The ORML Repo.
Run cargo build
to build.
Run cargo test
to test.
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Install toolchain
uses: actions-rs/toolchain@v1
with:
profile: minimal
toolchain: nightly-2021-02-17
target: wasm32-unknown-unknown
default: true
- name: Install Wasm toolchain
run: rustup target add wasm32-unknown-unknown
- name: Install clippy
run: rustup component add clippy
- name: Build
run: cargo build --verbose
- name: Run tests
run: cargo test --verbose