Crate kusama_runtime[−][src]
Expand description
The Kusama runtime. This can be compiled with #[no_std]
, ready for Wasm.
Modules
Structs
Our XCM location ancestry - i.e. what, if anything, Parent
means evaluated in our context. Since
Kusama is a top-level relay-chain, there is no ancestry.
Don’t allow swaps until parathread story is more mature.
The amount of weight an XCM operation takes. This is a safe overestimate.
The check account, which holds any native assets that have been teleported out and not back in (yet).
The location of the KSM token, from the context of this chain. Since this token is native to this
chain, we make it synonymous with it and thus it is the Here
location, which means “equivalent to
the context”.
The Kusama network ID. This is named.
Maximum number of instructions in a single XCM fragment. A sanity check against weight calculations getting too crazy.
This value increases the priority of Operational
transactions by adding
a “virtual tip” that’s equal to the OperationalFeeMultiplier * final_fee
.
The runtime origin type representing the origin of a call.
Used the compare the privilege of an origin inside the scheduler.
Provides an implementation of PalletInfo
to provide information
about the pallet setup in the runtime.
Implements all runtime apis for the client side.
Daily council elections
Whilst UseNominatorsAndUpdateBagsList
or UseNominatorsMap
is in use, this can still be a
very large value. Once the BagsList
is in full motion, staking might open its door to many
more nominators, and this value should instead be what is a “safe” number (e.g. 22500).
Enums
Contains one variant per dispatchable that can be called by an extrinsic.
Contains one variant per dispatchable that can be called by an extrinsic.
The type used to represent the kinds of proxying allowed.
Indicates the initial status of the staker.
Contains one variant per dispatchable that can be called by an extrinsic.
Constants
The BABE epoch configuration at genesis.
Runtime version (Kusama).
Traits
Complex storage builder stuff.
Functions
Native version.
Type Definitions
The address format for describing accounts.
All modules included in the runtime as a nested tuple of types. Excludes the System pallet.
All modules included in the runtime as a nested tuple of types.
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.
The barriers one of which must be passed for an XCM message to be executed.
Block type as expected by this runtime.
BlockId
type as expected by this runtime.
Executive: handles dispatch to the various modules.
Block header type as expected by this runtime.
Our asset transactor. This is what allows us to interest with the runtime facilities from the point of
view of XCM-only concepts like MultiLocation
and MultiAsset
.
Type to convert an Origin
type value into a MultiLocation
value which represents an interior location
of this chain.
A Block signed with a Justification
The SignedExtension
to the basic transaction logic.
The payload being signed in the transactions.
The canonical means of converting a MultiLocation
into an AccountId
, used when we want to determine
the sovereign account controlled by a location.
Unchecked extrinsic type as expected by this runtime.
The XCM router. When we want to send an XCM message, we use this type. It amalgamates all of our individual routers.