Module stp258_traits::stp258[][src]

Enums

BalanceStatus

Status of funds.

Traits

FetchPrice

Expected price oracle interface. fetch_price must return the amount of Coins exchanged for the tracked value.

OnDust

Handler for account which has dust, need to burn or recycle it

Parameter

A type that can be used as a parameter in a dispatchable function.

SerpMarket

Abstraction over a serp_market system for the Setheum Elastic Reserve Protocol (SERP) Market for Stp258Currency .

SerpTes

Abstraction over a fungible multi-stable-currency Token Elasticity of Supply system.

SerpTesPriceProvider

A trait to provide relative price for two currencies

Stp258Asset

Abstraction over a fungible (single) currency system.

Stp258AssetExtended

Extended Stp258Asset with additional helper types and methods.

Stp258AssetLockable

A fungible single currency system whose accounts can have liquidity restrictions.

Stp258AssetReservable

A fungible single currency system where funds can be reserved from the user.

Stp258Currency

Abstraction over a fungible multi-stable-currency system.

Stp258CurrencyExtended

Extended Stp258Currency with additional helper types and methods.

Stp258CurrencyLockable

A fungible multi-stable-currency system whose accounts can have liquidity restrictions.

Stp258CurrencyReservable

A fungible multi-stable-currency system where funds can be reserved from the user.

Type Definitions

LockIdentifier

An identifier for a lock. Used for disambiguating different locks so that they can be individually replaced or removed.