referrerpolicy=no-referrer-when-downgrade

Module currency

Source
Expand description

The Currency trait and associated types.

Note Currency and related traits are deprecated, instead fungible traits should be used.

Structs§

ActiveIssuanceOf
A non-const Get implementation parameterised by a Currency impl which provides the result of active_issuance.
TotalIssuanceOf
A non-const Get implementation parameterised by a Currency impl which provides the result of total_issuance.

Traits§

Currency
Abstraction over a fungible assets system.
InspectLockableCurrency
A inspect interface for a currency whose accounts can have liquidity restrictions.
LockableCurrency
A currency whose accounts can have liquidity restrictions.
NamedReservableCurrency
ReservableCurrency
A currency where funds can be reserved from the user.
VestedTransfer
A vested transfer over a currency. This allows a transferred amount to vest over time.
VestingSchedule
A vesting schedule over a currency. This allows a particular currency to have vesting limits applied to it.

Type Aliases§

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