Module serp_traits::stp258 [−][src]
Enums
BalanceStatus | Status of funds. |
Traits
Decode | Trait that allows zero-copy read of value-references from slices in LE format. |
Encode | Trait that allows zero-copy write of value-references to slices in LE format. |
EncodeLike | A marker trait that tells the compiler that a type encode to the same representation as another type. |
FetchPrice | Expected price oracle interface. |
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 |
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 |
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 |
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. |
Derive Macros
Decode | Derive |
Encode | Derive |