Expand description
The Westend runtime. This can be compiled with #[no_std]
, ready for Wasm.
Modules§
- api
- dynamic_
params - Dynamic params that can be adjusted at runtime.
- fast_
runtime_ binary - governance
- New governance configurations for the Kusama runtime.
- migrations
- The runtime migrations per release.
- xcm_
config - XCM configurations for Westend.
Macros§
- impl_
elections_ weights - Implements the weight types for the elections module and a specific
runtime.
This macro should not be called directly; use
impl_runtime_weights
instead.
Structs§
- Announcement
Deposit Base - Announcement
Deposit Factor - BagThresholds
- Basic
Deposit - Beefy
SetId Session Entries - Block
Execution Weight - Time to execute an empty block.
Calculated by multiplying the Average with
1.0
and adding0
. - Block
Weights - Block weights base values and limits.
- Bonding
Duration - Broker
Id - Broker
Pallet Id - Broker
Pot - Burn
- Byte
Deposit - Config
Deposit Base - Crowdloan
Id - Data
Deposit PerByte - Delegated
Staking Pallet Id - Deposit
Base - Deposit
Factor - Dynamic
Parameter Origin - Defines what origin can modify which dynamic parameters.
- Election
Bounds - We take the top 22500 nominators as electing voters and all of the validators as electable targets. Whilst this is the case, we cannot and shall not increase the size of the validator intentions.
- Ending
Period - Epoch
Duration - EraPayout
- Existential
Deposit - Expected
Block Time - Extrinsic
Base Weight - Time to execute a NO-OP extrinsic, for example
System::remark
. Calculated by multiplying the Average with1.0
and adding0
. - Friend
Deposit Factor - Geometric
Deposit Base - Type that can be used to calculate the deposit base for signed submissions.
- Hrmp
Channel Size AndCapacity With System Ratio - Index
Deposit - IsIdentity
Call - A type to identify calls to the Identity pallet. These will be filtered to prevent invocation, locking the state of the pallet and preventing further updates to identities and sub-identities. The locked state will be the genesis state of a new system chain and then removed from the Relay Chain.
- Leaf
Version - Lease
Period - MaxActive
Validators - MaxAdditional
Fields - MaxAgents
ToMigrate - Bounding number of agent pot accounts to be migrated in a single block.
- MaxApprovals
- MaxAuthorities
- MaxBalance
- MaxControllers
InDeprecation Batch - MaxElecting
Voters - MaxExposure
Page Size - MaxFriends
- MaxHistorical
Revenue - MaxKeys
- MaxLocks
- MaxMemo
Length - MaxNominations
- MaxNominators
- MaxPeer
InHeartbeats - MaxPending
- MaxPoints
ToBalance - MaxProxies
- MaxRegistrars
- MaxReserves
- MaxScheduled
PerBlock - MaxSet
IdSession Entries - MaxSignatories
- MaxSub
Accounts - MaxTemporary
Slot PerLease Period - MaxXcm
Transact Weight - Maximum
Scheduler Weight - Maybe
Signed Phase - MbmService
Weight - Message
Processor - Message processor to handle any messages that were enqueued into the
MessageQueue
pallet. - Message
Queue Heap Size - Message
Queue MaxStale - Message
Queue Service Weight - Amount of weight that can be spent per block to service messages.
- Migration
MaxKey Len - Migration
Signed Deposit Base - Migration
Signed Deposit PerItem - MinContribution
- MinVested
Transfer - Minimum
Period - NoPreimage
Postponement - Npos
Compact Solution16 - Npos
Solution Priority - Offchain
Repeat - Offchain
Solution Length Limit - A limit for off-chain phragmen unsigned solution length.
- Offchain
Solution Weight Limit - A limit for off-chain phragmen unsigned solution submission.
- Offset
- OnChain
SeqPhragmen - OnDemand
Pallet Id - OnDemand
Traffic Default Value - Operational
FeeMultiplier - This value increases the priority of
Operational
transactions by adding a “virtual tip” that’s equal to theOperationalFeeMultiplier * final_fee
. - Pallet
Info - Provides an implementation of
PalletInfo
to provide information about the pallet setup in the runtime. - Para
Deposit - Para
Heads Root Provider - A BEEFY data provider that merkelizes all the parachain heads at the current block (sorted by their parachain id).
- Paras
Unsigned Priority - Parity
DbWeight ParityDB
can be enabled with a feature flag, but is still experimental. These weights are available for brave runtime engineers who may want to try this out as default.- Payout
Spend Period - Period
- Permanent
Slot Lease Period Length - Pools
Pallet Id - Preimage
Base Deposit - Preimage
Byte Deposit - Preimage
Hold Reason - Proxy
Deposit Base - Proxy
Deposit Factor - Recovery
Deposit - Registrar
Data Deposit PerByte - Remove
Keys Limit - Report
Longevity - Rocks
DbWeight - By default, Substrate uses
RocksDB
, so this will be the weight used throughout the runtime. - Runtime
- Runtime
Api - Runtime
ApiImpl - Implements all runtime apis for the client side.
- Runtime
Genesis Config - Runtime
Origin - The runtime origin type representing the origin of a call.
- SS58
Prefix - Sample
Length - Session
Keys - Sessions
PerEra - Signed
Deposit Byte - Signed
Deposit Increase Factor - Signed
Fixed Deposit - Signed
MaxRefunds - Signed
MaxSubmissions - Signed
Phase - Signed
Reward Base - Slash
Defer Duration - Slash
Reward Fraction - Spend
Period - SubAccount
Deposit - Submission
Deposit - Swap
Leases - Temporary
Slot Lease Period Length - TipCountdown
- TipFinders
Fee - TipReport
Deposit Base - Transaction
Byte Fee - Treasury
Interior Location - Treasury
Pallet Id - Unsigned
Phase - Unvested
Funds Allowed Withdraw Reasons - Username
Deposit - Version
Enums§
- Balances
Call - Contains a variant per dispatchable extrinsic that this pallet has.
- EPMCall
- Contains a variant per dispatchable extrinsic that this pallet has.
- Origin
Caller - Proxy
Type - The type used to represent the kinds of proxying allowed.
- Runtime
Call - The aggregated runtime call type.
- Runtime
Error - Runtime
Event - Runtime
Freeze Reason - A reason for placing a freeze on funds.
- Runtime
Hold Reason - A reason for placing a hold on funds.
- Runtime
Lock Id - An identifier for each lock placed on funds.
- Runtime
Slash Reason - A reason for slashing funds.
- Runtime
Task - An aggregation of all
Task
enums across all pallets included in the current runtime. - Runtime
View Function - Runtime query type.
- System
Call - Contains a variant per dispatchable extrinsic that this pallet has.
- Timestamp
Call - Contains a variant per dispatchable extrinsic that this pallet has.
Constants§
- AVERAGE_
ON_ INITIALIZE_ RATIO - We assume that an on-initialize consumes 1% of the weight on average, hence a single extrinsic
will not be allowed to consume more than
AvailableBlockRatio - 1%
. - BABE_
GENESIS_ EPOCH_ CONFIG - The BABE epoch configuration at genesis.
- MAXIMUM_
BLOCK_ WEIGHT - We allow for 2 seconds of compute with a 6 second average block time. The storage proof size is not limited so far.
- NORMAL_
DISPATCH_ RATIO - We allow
Normal
extrinsics to fill up the block up to 75%, the rest can be used by Operational extrinsics. - RUNTIME_
API_ VERSIONS - VERSION
- Runtime version (Westend).
- WASM_
BINARY - WASM_
BINARY_ BLOATY - WASM_
BINARY_ PATH
Traits§
- Build
Storage - Complex storage builder stuff.
Functions§
- native_
version - Native version.
Type Aliases§
- Address
- The address format for describing accounts.
- AllPallets
With System - All pallets included in the runtime as a nested tuple of types.
- AllPallets
Without System - All pallets included in the runtime as a nested tuple of types. Excludes the System pallet.
- Asset
Rate - Assigned
Slots - Assigned
Slots Config - Auctions
- Authority
Discovery - Authority
Discovery Config - Authorship
- Babe
- Babe
Config - Balances
- Balances
Config - Beefy
- Beefy
Config - Beefy
MmrLeaf - Block
- Block type as expected by this runtime.
- BlockId
BlockId
type as expected by this runtime.- Configuration
- Configuration
Config - Conviction
Voting - Coretime
- Coretime
Assignment Provider - Crowdloan
- Delegated
Staking - Dmp
- Election
Provider Multi Phase - Executive
- Executive: handles dispatch to the various modules.
- Fast
Unstake - Grandpa
- Grandpa
Config - Header
- Block header type as expected by this runtime.
- Historical
- Hrmp
- Hrmp
Config - Identity
- Identity
Migrator - Indices
- Indices
Config - Initializer
- Message
Queue - MetaTx
- Meta
TxExtension - Migrations
- All migrations that will run on the next runtime upgrade.
- Mmr
- Multi
Block Migrations - Multisig
- Nomination
Pools - Nomination
Pools Config - Offences
- OnDemand
Assignment Provider - Origins
- Para
Inclusion - Para
Inherent - Para
Scheduler - Para
Session Info - Parachains
Origin - Parameters
- Paras
- Paras
Config - Paras
Disputes - Paras
Shared - Paras
Slashing - Paras
Sudo Wrapper - Preimage
- Proxy
- Recovery
- Referenda
- Registrar
- Registrar
Config - Root
Testing - Scheduler
- Session
- Session
Config - Signed
Block - A Block signed with a Justification
- Signed
Payload - The payload being signed in transactions.
- Slots
- Staking
- Staking
Config - Sudo
- Sudo
Config - System
- System
Config - Timestamp
- Transaction
Payment - Transaction
Payment Config - Treasury
- Treasury
Config - TxExtension
- The extension to the basic transaction logic.
- Unchecked
Extrinsic - Unchecked extrinsic type as expected by this runtime.
- Unchecked
Signature Payload - Unchecked signature payload type as expected by this runtime.
- Utility
- Verify
Signature - Vesting
- Vesting
Config - Voter
List - Whitelist
- XcmPallet
- XcmPallet
Config