Module primitives::types [−][src]
Expand description
Shareable PINT types
Structs
Defines an asset pair identifier
Represents an asset and its proportion in the value of the index
Enums
Defines the location of an asset Liquid implies it exists on a chain somewhere in the network and can be moved around SAFT implies the asset is a Simple Agreement for Future Tokens and the promised tokens are not able to be transferred or traded until some time in the future.
Type Definitions
Some way of identifying an account on the chain. We intentionally make it equivalent to the public key of our transaction signing scheme.
The type for looking up accounts. We don’t expect more than 4 billion of them, but you never know…
Signed version of Balance
Identifier for an asset.
Balance of an account.
Block type.
An index to a block.
Digest item type.
Identifier for price feeds.
A hash of some data used by the chain.
Header type.
Index of a transaction in the chain.
Index of a transaction in the chain. 32-bit should be plenty.
The type to represent asset prices
Identifier for a SAFT
Alias to 512-bit hash when used in the context of a transaction signature on the chain.
Value type for price feeds.