Expand description

The traits for sets of fungible tokens and any associated types.

Modules

Inspect and Mutate traits for Asset approvals

Inspect and Mutate traits for Asset metadata

Structs

An imbalance in the system, representing a divergence of recorded token supply from the sum of the balances of all accounts. This is must_use in order to ensure it gets handled (placing into an account, settling from an account or altering the supply).

Traits

A fungible token class where any creation and deletion of tokens is semi-explicit and where the total supply is maintained automatically.

Trait for mutating one of several types of fungible assets which can be held.

Trait for providing the ability to create new fungible assets.

Trait for providing the ability to destroy existing fungible assets.

Handler for when an imbalance gets dropped. This could handle either a credit (negative) or debt (positive) imbalance.

Trait for providing balance-inspection access to a set of named fungible assets.

Trait for inspecting a set of named fungible assets which can be placed on hold.

Trait for reading metadata from a fungible asset.

Trait for providing a set of named fungible assets which can be created and destroyed.

Trait for mutating a set of named fungible assets which can be placed on hold.

Trait for providing a set of named fungible assets which can only be transferred.

A fungible token class where the balance can be set arbitrarily.

Type Definitions

Imbalance implying that the total_issuance value is greater than the sum of all account balances.

Imbalance implying that the total_issuance value is less than the sum of all account balances.