Abstraction over a fungible (single) currency system.
Extended BasicCurrency
with additional helper types and methods.
A fungible single currency system whose accounts can have liquidity
restrictions.
A fungible single currency system where funds can be reserved from the user.
A variant of
Defensive
with the same rationale, for the arithmetic operations where in
case an infallible operation fails, it saturates.
Abstraction over a fungible multi-currency system.
Extended MultiCurrency
with additional helper types and methods.
A fungible multi-currency system whose accounts can have liquidity
restrictions.
A fungible multi-currency system where funds can be reserved from the user.
A fungible single currency system where funds can be reserved from the user
with an identifier.
A fungible multi-currency system where funds can be reserved from the user
with an identifier.
Hook to run before depositing into an account.
Handler for account which has dust, need to burn or recycle it
Hook to run before slashing an account.
Hook to run before transferring from an account to another.