pub enum AssetType {
    EquityCommon,
    EquityPreferred,
    Commodity,
    FixedIncome,
    REIT,
    Fund,
    RevenueShareAgreement,
    StructuredProduct,
    Derivative,
    Custom(CustomAssetTypeId),
    StableCoin,
}
Expand description

The type of security represented by a token.

Variants

EquityCommon

Common stock - a security that represents ownership in a corporation.

EquityPreferred

Preferred stock. Preferred stockholders have a higher claim to dividends or asset distribution than common stockholders.

Commodity

Commodity - a basic good used in commerce that is interchangeable with other commodities of the same type.

FixedIncome

Fixed income security - an investment that provides a return in the form of fixed periodic interest payments and the eventual return of principal at maturity. Examples: bonds, treasury bills, certificates of deposit.

REIT

Real estate investment trust - a company that owns, operates, or finances income-producing properties.

Fund

Investment fund - a supply of capital belonging to numerous investors used to collectively purchase securities while each investor retains ownership and control of his own shares.

RevenueShareAgreement

Revenue share partnership agreement - a document signed by all partners in a partnership that has procedures when distributing business profits or losses.

StructuredProduct

Structured product, aka market-linked investment - a pre-packaged structured finance investment strategy based on a single security, a basket of securities, options, indices, commodities, debt issuance or foreign currencies, and to a lesser extent, derivatives.

Derivative

Derivative contract - a contract between two parties for buying or selling a security at a predetermined price within a specific time period. Examples: forwards, futures, options or swaps.

Custom(CustomAssetTypeId)

Anything else.

StableCoin

Stablecoins are cryptocurrencies designed to minimize the volatility of the price of the stablecoin, relative to some “stable” asset or basket of assets. A stablecoin can be pegged to a cryptocurrency, fiat money, or to exchange-traded commodities.

Trait Implementations

Returns a copy of the value. Read more
Performs copy-assignment from source. Read more
Attempt to deserialise the value from input.
Attempt to skip the encoded value from input. Read more
Returns the fixed encoded size of the type. Read more
Returns the “default value” for a type. Read more
Convert self to a slice and append it to the destination.
If possible give a hint of expected size of the encoding. Read more
Convert self to an owned vector.
Convert self to a slice and then invoke the given closure with it.
Calculates the encoded size. Read more
The type identifying for which type info is provided. Read more
Returns the static type identifier for Self.

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more
Immutably borrows from an owned value. Read more
Mutably borrows from an owned value. Read more
Decode Self and consume all of the given input data. Read more
Decode Self and consume all of the given input data. Read more
Decode Self with the given maximum recursion depth and advance input by the number of bytes consumed. Read more

Returns the argument unchanged.

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

Return an encoding of Self prepended by given slice.
Should always be Self
The resulting type after obtaining ownership.
Creates owned data from borrowed data, usually by cloning. Read more
Uses borrowed data to replace owned data, usually by cloning. Read more
The type returned in the event of a conversion error.
Performs the conversion.
The type returned in the event of a conversion error.
Performs the conversion.