Modules

Opaque types. These are used by the CLI to instantiate machinery that don’t need to know the specifics of the runtime. They can then be made to be agnostic over specific formats of data like extrinsics, allowing for them to continue syncing the network through upgrades to even the core data structures.
testing 🔒
xcm 🔒

Structs

The adjustment variable of the runtime. Higher values will cause TargetBlockFullness to change the fees more rapidly.
Basilisk base weight of an extrinsic This includes weight for payment in non-native currency.
Maximum length of block. Up to 5MB.
Block weights base values and limits.
Minimum amount of the multiplier. This value cannot be too low. A test case should ensure that combined with AdjustmentVariable, we can recover from the minimum.
The runtime origin type representing the origin of a call.
Provides an implementation of PalletInfo to provide information about the pallet setup in the runtime.
Implements all runtime apis for the client side.
The portion of the NORMAL_DISPATCH_RATIO that we adjust the fees with. Blocks filled less than this will decrease the weight and more will increase.
Simple blob to hold an extrinsic without committing to its format and ensure it is serialized correctly.

Enums

The type used to represent the kinds of proxying allowed.

Constants

We assume that an on-initialize consumes 2.5% of the weight on average, hence a single extrinsic will not be allowed to consume more than AvailableBlockRatio - 2.5%.
Core asset id
Discounted XYK fee
Max fraction of pool to sell in single transaction
Max fraction of pool to buy in single transaction
Since BABE is probabilistic this is the average expected block time that we are targeting. Blocks will be produced at a minimum duration defined by SLOT_DURATION, but some slots will not be allocated to any authority and hence no block will be produced. We expect to have this block time on average following the defined slot duration and the value of c configured for BABE (where 1 - c represents the probability of a slot being empty). This value is only used indirectly to define the unit constants below that are expressed in blocks. The rest of the code should use SLOT_DURATION instead (like the Timestamp pallet for calculating the minimum period).
Minimum pool liquidity
Trading limit
We allow Normal extrinsics to fill up the block up to 75%, the rest can be used by Operational extrinsics.

Traits

Functions

The version information used to identify this runtime when compiled natively.

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…
The address format for describing accounts.
AllPalletsDeprecated
All pallets included in the runtime as a nested tuple of types.
All pallets included in the runtime as a nested tuple of types in reversed order. With the system pallet first.
All pallets included in the runtime as a nested tuple of types.
All pallets included in the runtime as a nested tuple of types in reversed order.
All pallets included in the runtime as a nested tuple of types. Excludes the System pallet.
All pallets included in the runtime as a nested tuple of types in reversed order. Excludes the System pallet.
Signed version of Balance
Type for storing the id of an asset.
An Aura authority identifier using S/R 25519 as its crypto.
Type for storing the balance of an account.
Block type as expected by this runtime.
BlockId type as expected by this runtime.
An index to a block.
Extrinsic type that has already been checked.
Executive: handles dispatch to the various modules.
A hash of some data used by the chain.
Block header type as expected by this runtime.
Index of a transaction in the chain.
Fee multiplier.
Alias to 512-bit hash when used in the context of a transaction signature on the chain.
A Block signed with a Justification
The SignedExtension to the basic transaction logic.
Parameterized slow adjusting fee updated based on https://w3f-research.readthedocs.io/en/latest/polkadot/overview/2-token-economics.html?highlight=token%20economics#-2.-slow-adjusting-mechanism
Unchecked extrinsic type as expected by this runtime.