Crate tidefi_primitives
source ·Modules
Macros
Structs
Information regarding the active era (era in used in session).
Currency balance.
Currency metadata.
Information regarding a fee
Swap market pair details stored on-chain.
Mint details.
Sunrise Onboarding rebates
Proposal votes
Stake details.
Stake currency meta.
Sunrise swap pool
Swap details stored on-chain.
Market maker swap confirmation.
Swap extrinsic with swap fee details.
Withdrawal details.
Withdrawal details.
Enums
Enum indicating compliance level of a deposit (mint) on-chain.
Enum indicating the currency. Tdfy is the native token.
Proposal status
Proposal type
Stake status
Enum indicating status of the chain.
Swap status.
Swap type
Enum indicating on which action the watchlist item has been added
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.
Signed version of Balance
Represent a Wrapped Asset.
Balance of an account.
Block type.
Block ID.
An index to a block.
Digest item type.
Counter for the number of eras that have passed.
A hash of some data used by the chain.
Header type.
Index of a transaction in the chain.
Type used for expressing timestamp.
Counter for the number of sessions that have passed.
Alias to 512-bit hash when used in the context of a transaction signature on the chain.
A timestamp: milliseconds since the Unix epoch.
u64
is enough to represent a duration of half a billion years, when the
time scale is milliseconds.