Expand description
The Substrate runtime. This can be compiled with #[no_std]
, ready for Wasm.
Modules§
- api
- assets_
api - Runtime API definition for assets. Runtime API definition for assets.
- constants
- Constant values used within the runtime. A set of constant values used in substrate runtime.
- dynamic_
params - Dynamic parameters that can be changed at runtime through the
pallet_parameters::set_parameter
. - genesis_
config_ presets - Genesis presets used by this runtime. Genesis Presets for the Kitchensink Runtime
- impls
- Implementations of some helper traits passed into runtime modules as associated types. Some configurable implementations as associated type for the substrate runtime.
Macros§
- add_
benchmarks - Calls
add_benchmark
with all configs fromdefine_benchmarks
and passes the first two parameters on. - list_
benchmarks - Calls
list_benchmark
with all configs fromdefine_benchmarks
and passes the first two parameters on.
Structs§
- Adjustment
Variable - Alarm
Interval - Alliance
MaxMembers - Alliance
MaxProposals - Alliance
Motion Duration - Ally
Deposit - Announcement
Deposit Base - Announcement
Deposit Factor - Approval
Deposit - Approvals
Limit - Asset
Conversion Origin - Asset
Conversion Pallet Id - Asset
Conversion TxHelper - Asset
Deposit - Asset
Rate Arguments - Asset
Rewards Benchmark Helper - Benchmark Helper
- Auto
Rebag Number - BagThresholds
- Balance
ToU256 - Basic
Deposit - Beefy
SetId Session Entries - Block
Hash Count - Bonding
Duration - Bounty
Curator Deposit - Bounty
Deposit Base - Bounty
Deposit Payout Delay - Bounty
Update Period - Bounty
Value Minimum - Broker
Pallet Id - Budget
- Burn
- Byte
Deposit - Candidacy
Bond - Challenge
Period - Child
Bounty Value Minimum - Claim
Period - Code
Hash Lockup Deposit Percent - Collection
Deposit - Config
Deposit Base - Cooloff
Period - Coretime
Provider - Council
MaxMembers - Council
MaxProposals - Council
Motion Duration - Creation
Hold Reason - Curator
Deposit Max - Curator
Deposit Min - Curator
Deposit Multiplier - Currency
Adapter Deprecated - Implements the transaction payment for a pallet implementing the
Currency
trait (eg. the pallet_balances) using an unbalance handler (implementingOnUnbalanced
). - Data
Deposit PerByte - Deal
With Fees - Default
Deposit Limit - Delegated
Staking Pallet Id - Deposit
Base - Deposit
Factor - Deposit
PerByte - Deposit
PerItem - Desired
Members - Desired
Runners Up - Dynamic
Parameters Manager Origin - Election
Bounds Multi Phase - Election
Bounds OnChain - Election
Provider Benchmark Config - The numbers configured here could always be more than the the maximum limits of staking pallet to ensure election snapshot will not run out of memory. For now, we set them to smaller values since the staking is bounded and the weight pipeline takes hours for this single pallet.
- Elections
Phragmen Pallet Id - Enactment
Period - Enter
Deposit Amount - Enter
Duration - Epoch
Duration - EthExtra
Impl - Existential
Deposit - Expected
Block Time - Extend
Deposit Amount - Extend
Duration - Fast
Track Voting Period - Features
- Fifo
Queue Len - Friend
Deposit Factor - Grace
Strikes - History
Depth - ImOnline
Unsigned Priority - Index
Deposit - Intake
Period - Into
Author - Item
Attributes Approvals Limit - Item
Deposit - Launch
Period - Leaf
Version - Liquidity
Withdrawal Fee - Lottery
Pallet Id - MaxActive
Validators - MaxAdditional
Fields - MaxAllies
- MaxAllowed
Bytes - MaxAllowed
Statements - MaxApprovals
- MaxAttributes
PerCall - MaxAuthorities
- MaxBalance
- MaxBids
- MaxCalls
- MaxCandidates
- MaxCollectives
Proposal Weight - MaxControllers
InDeprecation Batch - MaxDeadline
Duration - MaxElecting
Voters Solution - MaxFellows
- MaxFriends
- MaxGenerate
Random - MaxIntake
Weight - MaxKeys
- MaxLock
Duration - MaxLocks
- MaxNominations
- MaxNominators
- MaxPayouts
- MaxPeer
InHeartbeats - MaxPoints
ToBalance - MaxProposals
- MaxQueue
Len - MaxRegistrars
- MaxReserves
- MaxSet
IdSession Entries - MaxSub
Accounts - MaxTips
- MaxVoters
- MaxVotes
PerVoter - Maximum
Multiplier - Maximum
Reason Length - Maximum
Scheduler Weight - MbmService
Weight - Message
Queue Service Weight - Allocate at most 20% of each block for message processing.
- Metadata
Deposit Base - Metadata
Deposit PerByte - Migration
MaxKey Len - Migration
Signed Deposit Base - Migration
Signed Deposit PerItem - MinAllowed
Bytes - MinAllowed
Statements - MinBid
- MinReceipt
- MinVested
Transfer - Miner
MaxLength - Miner
MaxWeight - Minimum
Credit Purchase - Minimum
Deposit - Minimum
Multiplier - Minimum
Period - Mint
MinLiquidity - Mixnet
NumCover ToCurrent Blocks - Mixnet
NumCover ToPrev Blocks - Mixnet
NumRegister EndSlack Blocks - Mixnet
NumRegister Start Slack Blocks - Mixnet
NumRequests ToCurrent Blocks - Mixnet
Registration Priority - Multi
Phase Unsigned Priority - Native
- NewAsset
Name - NewAsset
Symbol - NftFractionalization
Pallet Id - NisBase
Period - NisPallet
Id - Nomination
Pools Pallet Id - Npos
Solution16 - Offchain
Random Balancing - A source of random balance for NposSolver, which is meant to be run by the OCW election miner.
- Offchain
Repeat - OnChain
SeqPhragmen - Operational
FeeMultiplier - Pallet
Info - Provides an implementation of
PalletInfo
to provide information about the pallet setup in the runtime. - Pallet
Treasury Arguments - Period
Spend - Pool
Setup Fee - Post
Unbond Pools Window - Preimage
Hold Reason - Proposal
Deposit Offset - Proposal
Hold Reason - Proxy
Deposit Base - Proxy
Deposit Factor - Queue
Count - Recovery
Deposit - Release
Delay - Report
Longevity - Retirement
Period - Reward
Curve - Runtime
- Runtime
Api - Runtime
ApiImpl - Implements all runtime apis for the client side.
- Runtime
Block Length - Runtime
Block Weights - Runtime
Genesis Config - Runtime
Origin - The runtime origin type representing the origin of a call.
- Safe
Mode Whitelisted Calls - Calls that can bypass the safe-mode pallet.
- Salary
ForRank - Schedule
- Session
Keys - Sessions
PerEra - Setup
Asset - Signed
Deposit Byte - Signed
Deposit Increase Factor - Signed
Fixed Deposit - Signed
Phase - Signed
Reward Base - Slash
Defer Duration - Slash
Reward Fraction - Society
Pallet Id - Society
Voting Period - Sovereign
Account Of - Spend
Payout Period - Spend
Period - Stake
Pool Creation Deposit - Staking
Benchmarking Config - Staking
Rewards Pallet Id - Staking
Unsigned Priority - We prioritize im-online heartbeats over election solution submission.
- Statement
Byte Cost - Statement
Cost - String
Limit - SubAccount
Deposit - Submission
Deposit - Target
- Target
Block Fullness - Targeted
FeeAdjustment - A struct to update the weight multiplier per block. It implements
Convert<Multiplier, Multiplier>
, meaning that it can convert the previous multiplier to the next one. This should be called onon_finalize
of a block, prior to potentially cleaning the weight data from the system pallet. - Technical
MaxMembers - Technical
MaxProposals - Technical
Motion Duration - Term
Duration - Thaw
Throttle - TipCountdown
- TipFinders
Fee - TipReport
Deposit Base - Tracks
Info - Transaction
Byte Fee - Treasury
Account - Treasury
Pallet Id - TxPause
Whitelisted Calls - Calls that cannot be paused by the tx-pause pallet.
- U256
ToBalance - Undeciding
Timeout - Unsigned
Phase - Unvested
Funds Allowed Withdraw Reasons - Username
Deposit - Version
- Vote
Locking Period - Voting
Bond Base - Voting
Bond Factor - Voting
Period
Enums§
- Balances
Call - 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.
- Staker
Status - Representation of the status of a staker.
- Sudo
Call - Contains a variant per dispatchable extrinsic that this pallet has.
- System
Call - Contains a variant per dispatchable extrinsic that this pallet has.
Constants§
- BABE_
GENESIS_ EPOCH_ CONFIG - The BABE epoch configuration at genesis.
- MINER_
MAX_ ITERATIONS - Maximum number of iterations for balancing that will be executed in the embedded OCW miner of election provider multi phase.
- RUNTIME_
API_ VERSIONS - VERSION
- Runtime version.
- WASM_
BINARY - WASM_
BINARY_ BLOATY - WASM_
BINARY_ PATH
Traits§
- Build
Storage - Complex storage builder stuff.
Functions§
- native_
version - Native version.
- wasm_
binary_ unwrap - Wasm binary unwrapped. If built with
SKIP_WASM_BUILD
, the function panics.
Type Aliases§
- Account
Id - Some way of identifying an account on the chain. We intentionally make it equivalent to the public key of our transaction signing scheme.
- 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.
- Alliance
- Alliance
Config - Alliance
Motion - Alliance
Motion Config - Asset
Conversion - Asset
Conversion Migration - Asset
Conversion TxPayment - Asset
Rate - Asset
Rewards - Assets
- Assets
Config - Assets
Freezer - Assets
Freezer Instance - Authority
Discovery - Authority
Discovery Config - Authorship
- Babe
- Babe
Config - Balances
- Balances
Config - Beefy
- Beefy
Config - Block
- Block type as expected by this runtime.
- BlockId
- BlockId type as expected by this runtime.
- Bounties
- Broker
- Broker
Config - Checked
Extrinsic - Extrinsic type that has already been checked.
- Child
Bounties - Contracts
- Conviction
Voting - Core
Fellowship - Council
- Council
Config - Delegated
Staking - Democracy
- Democracy
Config - Election
Provider Multi Phase - Elections
- Elections
Config - Executive
- Executive: handles dispatch to the various modules.
- Fast
Unstake - Glutton
- Glutton
Config - Grandpa
- Grandpa
Config - Header
- Block header type as expected by this runtime.
- Historical
- Identity
- ImOnline
- ImOnline
Config - Indices
- Indices
Config - Lottery
- Message
Queue - MetaTx
- Meta
TxExtension - Mixnet
- Mixnet
Config - Mmr
- MmrLeaf
- Multi
Block Migrations - Multiplier
- Fee multiplier.
- Multisig
- Native
AndAssets - Native
AndAssets Freezer - NftFractionalization
- Nfts
- Nis
- Nomination
Pools - Nomination
Pools Config - Offences
- Pallet
Example Mbms - Parameters
- Pool
Assets - Pool
Assets Config - Pov
- Preimage
- Proxy
- Randomness
Collective Flip - Ranked
Collective - Ranked
Polls - Recovery
- Referenda
- Remark
- Revive
- Revive
Config - Root
Testing - Safe
Mode - Safe
Mode Config - Salary
- Scheduler
- Session
- Session
Config - Signature
- Alias to 512-bit hash when used in the context of a transaction signature on the chain.
- Signed
Block - A Block signed with a Justification
- Signed
Payload - The payload being signed in transactions.
- Skip
Feeless Payment - Society
- Society
Config - Staking
- Staking
Config - State
Trie Migration - Statement
- Sudo
- Sudo
Config - System
- System
Config - Tasks
Example - Technical
Committee - Technical
Committee Config - Technical
Membership - Technical
Membership Config - Timestamp
- Tips
- Transaction
Payment - Transaction
Payment Config - Transaction
Storage - Transaction
Storage Config - Treasury
- Treasury
Config - TxExtension
- The TransactionExtension to the basic transaction logic.
- TxPause
- TxPause
Config - Unchecked
Extrinsic - Unchecked extrinsic type as expected by this runtime.
- Unchecked
Signature Payload - Unchecked signature payload type as expected by this runtime.
- Uniques
- Utility
- Verify
Signature - Vesting
- Vesting
Config - Voter
List - Whitelist