Struct rococo_runtime::Runtime

source ·
pub struct Runtime;

Implementations§

Trait Implementations§

source§

impl AccountNonceApiV1<Block<Header<u32, BlakeTwo256>, UncheckedExtrinsic<MultiAddress<<<MultiSignature as Verify>::Signer as IdentifyAccount>::AccountId, ()>, RuntimeCall, MultiSignature, (CheckNonZeroSender<Runtime>, CheckSpecVersion<Runtime>, CheckTxVersion<Runtime>, CheckGenesis<Runtime>, CheckMortality<Runtime>, CheckNonce<Runtime>, CheckWeight<Runtime>, ChargeTransactionPayment<Runtime>)>>, <<MultiSignature as Verify>::Signer as IdentifyAccount>::AccountId, u32> for Runtime

source§

fn account_nonce(account: AccountId) -> Nonce

Get current account nonce of given AccountId.
source§

impl AuthorityDiscoveryApiV1<Block<Header<u32, BlakeTwo256>, UncheckedExtrinsic<MultiAddress<<<MultiSignature as Verify>::Signer as IdentifyAccount>::AccountId, ()>, RuntimeCall, MultiSignature, (CheckNonZeroSender<Runtime>, CheckSpecVersion<Runtime>, CheckTxVersion<Runtime>, CheckGenesis<Runtime>, CheckMortality<Runtime>, CheckNonce<Runtime>, CheckWeight<Runtime>, ChargeTransactionPayment<Runtime>)>>> for Runtime

source§

fn authorities() -> Vec<AuthorityDiscoveryId>

Retrieve authority identifiers of the current and next authority set.
source§

impl BabeApiV2<Block<Header<u32, BlakeTwo256>, UncheckedExtrinsic<MultiAddress<<<MultiSignature as Verify>::Signer as IdentifyAccount>::AccountId, ()>, RuntimeCall, MultiSignature, (CheckNonZeroSender<Runtime>, CheckSpecVersion<Runtime>, CheckTxVersion<Runtime>, CheckGenesis<Runtime>, CheckMortality<Runtime>, CheckNonce<Runtime>, CheckWeight<Runtime>, ChargeTransactionPayment<Runtime>)>>> for Runtime

source§

fn configuration() -> BabeConfiguration

Return the configuration for BABE.
source§

fn current_epoch_start() -> Slot

Returns the slot that started the current epoch.
source§

fn current_epoch() -> Epoch

Returns information regarding the current epoch.
source§

fn next_epoch() -> Epoch

Returns information regarding the next epoch (which was already previously announced).
source§

fn generate_key_ownership_proof( _slot: Slot, authority_id: AuthorityId ) -> Option<OpaqueKeyOwnershipProof>

Generates a proof of key ownership for the given authority in the current epoch. An example usage of this module is coupled with the session historical module to prove that a given authority key is tied to a given staking identity during a specific session. Proofs of key ownership are necessary for submitting equivocation reports. NOTE: even though the API takes a slot as parameter the current implementations ignores this parameter and instead relies on this method being called at the correct block height, i.e. any point at which the epoch for the given slot is live on-chain. Future implementations will instead use indexed data through an offchain worker, not requiring older states to be available.
source§

fn submit_report_equivocation_unsigned_extrinsic( equivocation_proof: EquivocationProof<<Block as BlockT>::Header>, key_owner_proof: OpaqueKeyOwnershipProof ) -> Option<()>

Submits an unsigned extrinsic to report an equivocation. The caller must provide the equivocation proof and a key ownership proof (should be obtained using generate_key_ownership_proof). The extrinsic will be unsigned and should only be accepted for local authorship (not to be broadcast to the network). This method returns None when creation of the extrinsic fails, e.g. if equivocation reporting is disabled for the given runtime (i.e. this method is hardcoded to return None). Only useful in an offchain context.
source§

impl BeefyApiV3<Block<Header<u32, BlakeTwo256>, UncheckedExtrinsic<MultiAddress<<<MultiSignature as Verify>::Signer as IdentifyAccount>::AccountId, ()>, RuntimeCall, MultiSignature, (CheckNonZeroSender<Runtime>, CheckSpecVersion<Runtime>, CheckTxVersion<Runtime>, CheckGenesis<Runtime>, CheckMortality<Runtime>, CheckNonce<Runtime>, CheckWeight<Runtime>, ChargeTransactionPayment<Runtime>)>>, Public> for Runtime

source§

fn beefy_genesis() -> Option<BlockNumber>

Return the block number where BEEFY consensus is enabled/started
source§

fn validator_set() -> Option<ValidatorSet<BeefyId>>

Return the current active BEEFY validator set
source§

fn submit_report_equivocation_unsigned_extrinsic( equivocation_proof: EquivocationProof<BlockNumber, BeefyId, BeefySignature>, key_owner_proof: OpaqueKeyOwnershipProof ) -> Option<()>

Submits an unsigned extrinsic to report an equivocation. The caller must provide the equivocation proof and a key ownership proof (should be obtained using generate_key_ownership_proof). The extrinsic will be unsigned and should only be accepted for local authorship (not to be broadcast to the network). This method returns None when creation of the extrinsic fails, e.g. if equivocation reporting is disabled for the given runtime (i.e. this method is hardcoded to return None). Only useful in an offchain context.
source§

fn generate_key_ownership_proof( _set_id: ValidatorSetId, authority_id: BeefyId ) -> Option<OpaqueKeyOwnershipProof>

Generates a proof of key ownership for the given authority in the given set. An example usage of this module is coupled with the session historical module to prove that a given authority key is tied to a given staking identity during a specific session. Proofs of key ownership are necessary for submitting equivocation reports. NOTE: even though the API takes a set_id as parameter the current implementations ignores this parameter and instead relies on this method being called at the correct block height, i.e. any point at which the given set id is live on-chain. Future implementations will instead use indexed data through an offchain worker, not requiring older states to be available.
source§

impl BlockBuilderV6<Block<Header<u32, BlakeTwo256>, UncheckedExtrinsic<MultiAddress<<<MultiSignature as Verify>::Signer as IdentifyAccount>::AccountId, ()>, RuntimeCall, MultiSignature, (CheckNonZeroSender<Runtime>, CheckSpecVersion<Runtime>, CheckTxVersion<Runtime>, CheckGenesis<Runtime>, CheckMortality<Runtime>, CheckNonce<Runtime>, CheckWeight<Runtime>, ChargeTransactionPayment<Runtime>)>>> for Runtime

source§

fn apply_extrinsic( extrinsic: <Block as BlockT>::Extrinsic ) -> ApplyExtrinsicResult

Apply the given extrinsic. Read more
source§

fn finalize_block() -> <Block as BlockT>::Header

Finish the current block.
source§

fn inherent_extrinsics(data: InherentData) -> Vec<<Block as BlockT>::Extrinsic>

Generate inherent extrinsics. The inherent data will vary from chain to chain.
source§

fn check_inherents(block: Block, data: InherentData) -> CheckInherentsResult

Check that the inherents are valid. The inherent data will vary from chain to chain.
source§

impl CallerTrait<<Runtime as Config>::AccountId> for OriginCaller

source§

fn into_system(self) -> Option<RawOrigin<<Runtime as Config>::AccountId>>

Extract the signer from the message if it is a Signed origin.
source§

fn as_system_ref(&self) -> Option<&RawOrigin<<Runtime as Config>::AccountId>>

Extract a reference to the system-level RawOrigin if it is that.
source§

fn as_signed(&self) -> Option<&AccountId>

Extract the signer from it if a system Signed origin, None otherwise.
source§

fn is_root(&self) -> bool

Returns true if self is a system Root origin, None otherwise.
source§

fn is_none(&self) -> bool

Returns true if self is a system None origin, None otherwise.
source§

impl Clone for Runtime

source§

fn clone(&self) -> Runtime

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
source§

impl Config<()> for Runtime

§

type Balance = u128

The balance of an account.
§

type DustRemoval = ()

Handler for the unbalanced reduction when removing a dust account.
§

type RuntimeEvent = RuntimeEvent

The overarching event type.
§

type ExistentialDeposit = ExistentialDeposit

The minimum amount required to keep an account open. MUST BE GREATER THAN ZERO! Read more
§

type AccountStore = Pallet<Runtime>

The means of storing the balances of an account.
§

type MaxLocks = MaxLocks

The maximum number of locks that should exist on an account. Not strictly enforced, but used for weight estimation.
§

type MaxReserves = MaxReserves

The maximum number of named reserves that can exist on an account.
§

type ReserveIdentifier = [u8; 8]

The ID type for reserves. Read more
§

type WeightInfo = WeightInfo<Runtime>

Weight information for extrinsics in this pallet.
§

type FreezeIdentifier = ()

The ID type for freezes.
§

type MaxFreezes = ConstU32<1>

The maximum number of individual freeze locks that can exist on an account at any time.
§

type RuntimeHoldReason = RuntimeHoldReason

The overarching hold reason.
§

type MaxHolds = ConstU32<1>

The maximum number of holds that can exist on an account at any time.
source§

impl Config<()> for Runtime

§

type PalletId = TreasuryPalletId

The treasury’s pallet id, used for deriving its sovereign account ID.
§

type Currency = Pallet<Runtime, ()>

The staking balance.
§

type ApproveOrigin = EitherOfDiverse<EnsureRoot<<<MultiSignature as Verify>::Signer as IdentifyAccount>::AccountId>, EnsureProportionAtLeast<<<MultiSignature as Verify>::Signer as IdentifyAccount>::AccountId, Instance1, 3, 5>>

Origin from which approvals must come.
§

type RejectOrigin = EitherOfDiverse<EnsureRoot<<<MultiSignature as Verify>::Signer as IdentifyAccount>::AccountId>, EnsureProportionMoreThan<<<MultiSignature as Verify>::Signer as IdentifyAccount>::AccountId, Instance1, 1, 2>>

Origin from which rejections must come.
§

type RuntimeEvent = RuntimeEvent

The overarching event type.
§

type OnSlash = Pallet<Runtime, ()>

Handler for the unbalanced decrease when slashing for a rejected proposal or bounty.
§

type ProposalBond = ProposalBond

Fraction of a proposal’s value that should be bonded in order to place the proposal. An accepted proposal gets these back. A rejected proposal does not.
§

type ProposalBondMinimum = ProposalBondMinimum

Minimum amount of funds that should be placed in a deposit for making a proposal.
§

type ProposalBondMaximum = ProposalBondMaximum

Maximum amount of funds that should be placed in a deposit for making a proposal.
§

type SpendPeriod = SpendPeriod

Period between successive spends.
§

type Burn = Burn

Percentage of spare funds (if any) that are burnt per spend period.
§

type BurnDestination = Pallet<Runtime, ()>

Handler for the unbalanced decrease when treasury funds are burned.
§

type MaxApprovals = MaxApprovals

The maximum number of approvals that can wait in the spending queue. Read more
§

type WeightInfo = WeightInfo<Runtime>

Weight information for extrinsics in this pallet.
§

type SpendFunds = Pallet<Runtime, ()>

Runtime hooks to external pallet using treasury to compute spend funds.
§

type SpendOrigin = NeverEnsureOrigin<u128>

The origin required for approving spends from the treasury outside of the proposal process. The Success value is the maximum amount that this origin is allowed to spend at a time.
source§

impl Config<()> for Runtime

§

type BountyDepositBase = BountyDepositBase

The amount held on deposit for placing a bounty proposal.
§

type BountyDepositPayoutDelay = BountyDepositPayoutDelay

The delay period for which a bounty beneficiary need to wait before claim the payout.
§

type BountyUpdatePeriod = BountyUpdatePeriod

Bounty duration in blocks.
§

type CuratorDepositMultiplier = CuratorDepositMultiplier

The curator deposit is calculated as a percentage of the curator fee. Read more
§

type CuratorDepositMin = CuratorDepositMin

Minimum amount of funds that should be placed in a deposit for making a proposal.
§

type CuratorDepositMax = CuratorDepositMax

Maximum amount of funds that should be placed in a deposit for making a proposal.
§

type BountyValueMinimum = BountyValueMinimum

Minimum value for a bounty.
§

type ChildBountyManager = Pallet<Runtime>

The child bounty manager.
§

type DataDepositPerByte = DataDepositPerByte

The amount held on deposit per byte within the tip report reason or bounty description.
§

type RuntimeEvent = RuntimeEvent

The overarching event type.
§

type MaximumReasonLength = MaximumReasonLength

Maximum acceptable reason length. Read more
§

type WeightInfo = WeightInfo<Runtime>

Weight information for extrinsics in this pallet.
source§

impl Config<()> for Runtime

source§

const INDEXING_PREFIX: &'static [u8] = mmr::INDEXING_PREFIX

Prefix for elements stored in the Off-chain DB via Indexing API. Read more
§

type Hashing = Keccak256

A hasher type for MMR. Read more
§

type OnNewRoot = DepositBeefyDigest<Runtime>

A hook to act on the new MMR root. Read more
§

type WeightInfo = ()

Weights for this pallet.
§

type LeafData = Pallet<Runtime>

Data stored in the leaf nodes. Read more
source§

impl Config<()> for Runtime

§

type RuntimeEvent = RuntimeEvent

The overarching event type.
§

type Currency = Pallet<Runtime, ()>

The currency type used for bidding.
§

type Randomness = RandomnessFromOneEpochAgo<Runtime>

Something that provides randomness in the runtime.
§

type GraceStrikes = ConstU32<1>

The maximum number of strikes before a member gets funds slashed.
§

type PeriodSpend = ConstU128<{ 50_000 * CENTS }>

The amount of incentive paid within each period. Doesn’t include VoterTip.
§

type VotingPeriod = ConstU32<{ 5 * DAYS }>

The number of blocks on which new candidates should be voted on. Together with ClaimPeriod, this sums to the number of blocks between candidate intake periods.
§

type ClaimPeriod = ConstU32<{ 2 * DAYS }>

The number of blocks on which new candidates can claim their membership and be the named head.
§

type MaxLockDuration = ConstU32<{ 36 * 30 * DAYS }>

The maximum duration of the payout lock.
§

type FounderSetOrigin = EnsureRoot<<<MultiSignature as Verify>::Signer as IdentifyAccount>::AccountId>

The origin that is allowed to call found.
§

type ChallengePeriod = ConstU32<{ 7 * DAYS }>

The number of blocks between membership challenges.
§

type MaxPayouts = ConstU32<8>

The maximum number of payouts a member may have waiting unclaimed.
§

type MaxBids = ConstU32<512>

The maximum number of bids at once.
§

type PalletId = SocietyPalletId

The societies’s pallet id
§

type WeightInfo = ()

Weight information for extrinsics in this pallet.
source§

impl Config<()> for Runtime

§

type MaximumReasonLength = MaximumReasonLength

Maximum acceptable reason length. Read more
§

type DataDepositPerByte = DataDepositPerByte

The amount held on deposit per byte within the tip report reason or bounty description.
§

type Tippers = Pallet<Runtime>

Origin from which tippers must come. Read more
§

type TipCountdown = TipCountdown

The period for which a tip remains open after is has achieved threshold tippers.
§

type TipFindersFee = TipFindersFee

The percent of the final tip which goes to the original reporter of the tip.
§

type TipReportDepositBase = TipReportDepositBase

The amount held on deposit for placing a tip report.
§

type RuntimeEvent = RuntimeEvent

The overarching event type.
§

type WeightInfo = WeightInfo<Runtime>

Weight information for extrinsics in this pallet.
source§

impl Config<Instance1> for Runtime

§

type RuntimeEvent = RuntimeEvent

The overarching event type.
§

type AddOrigin = EitherOfDiverse<EnsureRoot<<<MultiSignature as Verify>::Signer as IdentifyAccount>::AccountId>, EnsureProportionMoreThan<<<MultiSignature as Verify>::Signer as IdentifyAccount>::AccountId, Instance1, 1, 2>>

Required origin for adding a member (though can always be Root).
§

type RemoveOrigin = EitherOfDiverse<EnsureRoot<<<MultiSignature as Verify>::Signer as IdentifyAccount>::AccountId>, EnsureProportionMoreThan<<<MultiSignature as Verify>::Signer as IdentifyAccount>::AccountId, Instance1, 1, 2>>

Required origin for removing a member (though can always be Root).
§

type SwapOrigin = EitherOfDiverse<EnsureRoot<<<MultiSignature as Verify>::Signer as IdentifyAccount>::AccountId>, EnsureProportionMoreThan<<<MultiSignature as Verify>::Signer as IdentifyAccount>::AccountId, Instance1, 1, 2>>

Required origin for adding and removing a member in a single action.
§

type ResetOrigin = EitherOfDiverse<EnsureRoot<<<MultiSignature as Verify>::Signer as IdentifyAccount>::AccountId>, EnsureProportionMoreThan<<<MultiSignature as Verify>::Signer as IdentifyAccount>::AccountId, Instance1, 1, 2>>

Required origin for resetting membership.
§

type PrimeOrigin = EitherOfDiverse<EnsureRoot<<<MultiSignature as Verify>::Signer as IdentifyAccount>::AccountId>, EnsureProportionMoreThan<<<MultiSignature as Verify>::Signer as IdentifyAccount>::AccountId, Instance1, 1, 2>>

Required origin for setting or resetting the prime member.
§

type MembershipInitialized = Pallet<Runtime, Instance2>

The receiver of the signal for when the membership has been initialized. This happens pre-genesis and will usually be the same as MembershipChanged. If you need to do something different on initialization, then you can change this accordingly.
§

type MembershipChanged = Pallet<Runtime, Instance2>

The receiver of the signal for when the membership has changed.
§

type MaxMembers = TechnicalMaxMembers

The maximum number of members that this membership can have. Read more
§

type WeightInfo = WeightInfo<Runtime>

Weight information for extrinsics in this pallet.
source§

impl Config<Instance1> for Runtime

§

type RuntimeOrigin = RuntimeOrigin

The runtime origin type.
§

type Proposal = RuntimeCall

The runtime call dispatch type.
§

type RuntimeEvent = RuntimeEvent

The runtime event type.
§

type MotionDuration = CouncilMotionDuration

The time-out for council motions.
§

type MaxProposals = CouncilMaxProposals

Maximum number of proposals allowed to be active in parallel.
§

type MaxMembers = CouncilMaxMembers

The maximum number of members supported by the pallet. Used for weight estimation. Read more
§

type DefaultVote = PrimeDefaultVote

Default vote strategy of this collective.
§

type SetMembersOrigin = EnsureRoot<<<MultiSignature as Verify>::Signer as IdentifyAccount>::AccountId>

Origin allowed to set collective members
§

type WeightInfo = WeightInfo<Runtime>

Weight information for extrinsics in this pallet.
§

type MaxProposalWeight = MaxProposalWeight

The maximum weight of a dispatch call that can be proposed and executed.
source§

impl Config for Runtime

§

type RuntimeEvent = RuntimeEvent

The event type of this module.
§

type WeightInfo = ()

Weights for this pallet.
§

type MaxAuthorities = MaxAuthorities

Max Authorities in use
§

type MaxNominators = ConstU32<0>

The maximum number of nominators for each validator.
§

type MaxSetIdSessionEntries = MaxSetIdSessionEntries

The maximum number of entries to keep in the set id to session index mapping. Read more
§

type KeyOwnerProof = <Pallet<Runtime> as KeyOwnerProofSystem<(KeyTypeId, Public)>>::Proof

The proof of key ownership, used for validating equivocation reports The proof include the session index and validator count of the session at which the equivocation occurred.
§

type EquivocationReportSystem = EquivocationReportSystem<Runtime, Pallet<Runtime>, Pallet<Runtime>, ReportLongevity>

The equivocation handling subsystem, defines methods to check/report an offence and for submitting a transaction to report an equivocation (from an offchain context).
source§

impl Config for Runtime

§

type ExternalOrigin = EnsureProportionAtLeast<<<MultiSignature as Verify>::Signer as IdentifyAccount>::AccountId, Instance1, 1, 2>

A straight majority of the council can decide what their next motion is.

§

type ExternalMajorityOrigin = EnsureProportionAtLeast<<<MultiSignature as Verify>::Signer as IdentifyAccount>::AccountId, Instance1, 1, 2>

A majority can have the next scheduled referendum be a straight majority-carries vote.

§

type ExternalDefaultOrigin = EnsureProportionAtLeast<<<MultiSignature as Verify>::Signer as IdentifyAccount>::AccountId, Instance1, 1, 1>

A unanimous council can have the next scheduled referendum be a straight default-carries (NTB) vote.

§

type FastTrackOrigin = EnsureProportionAtLeast<<<MultiSignature as Verify>::Signer as IdentifyAccount>::AccountId, Instance2, 2, 3>

Two thirds of the technical committee can have an ExternalMajority/ExternalDefault vote be tabled immediately and with a shorter voting/enactment period.

§

type RuntimeEvent = RuntimeEvent

§

type Currency = Pallet<Runtime, ()>

Currency type for this pallet.
§

type EnactmentPeriod = EnactmentPeriod

The period between a proposal being approved and enacted. Read more
§

type VoteLockingPeriod = EnactmentPeriod

The minimum period of vote locking. Read more
§

type LaunchPeriod = LaunchPeriod

How often (in blocks) new public referenda are launched.
§

type VotingPeriod = VotingPeriod

How often (in blocks) to check for new votes.
§

type MinimumDeposit = MinimumDeposit

The minimum amount to be used as a deposit for a public referendum proposal.
§

type SubmitOrigin = EnsureSigned<<<MultiSignature as Verify>::Signer as IdentifyAccount>::AccountId>

Origin from which the new proposal can be made. Read more
§

type InstantOrigin = EnsureProportionAtLeast<<<MultiSignature as Verify>::Signer as IdentifyAccount>::AccountId, Instance2, 1, 1>

Origin from which the next majority-carries (or more permissive) referendum may be tabled to vote immediately and asynchronously in a similar manner to the emergency origin. It retains its threshold method.
§

type InstantAllowed = InstantAllowed

Indicator for whether an emergency origin is even allowed to happen. Some chains may want to set this permanently to false, others may want to condition it on things such as an upgrade having happened recently.
§

type FastTrackVotingPeriod = FastTrackVotingPeriod

Minimum voting period allowed for a fast-track referendum.
§

type CancellationOrigin = EitherOfDiverse<EnsureRoot<<<MultiSignature as Verify>::Signer as IdentifyAccount>::AccountId>, EnsureProportionAtLeast<<<MultiSignature as Verify>::Signer as IdentifyAccount>::AccountId, Instance1, 2, 3>>

Origin from which any referendum may be cancelled in an emergency.
§

type BlacklistOrigin = EnsureRoot<<<MultiSignature as Verify>::Signer as IdentifyAccount>::AccountId>

Origin from which proposals may be blacklisted.
§

type CancelProposalOrigin = EitherOfDiverse<EnsureRoot<<<MultiSignature as Verify>::Signer as IdentifyAccount>::AccountId>, EnsureProportionAtLeast<<<MultiSignature as Verify>::Signer as IdentifyAccount>::AccountId, Instance2, 1, 1>>

Origin from which a proposal may be cancelled and its backers slashed.
§

type VetoOrigin = EnsureMember<<<MultiSignature as Verify>::Signer as IdentifyAccount>::AccountId, Instance2>

Origin for anyone able to veto proposals.
§

type CooloffPeriod = CooloffPeriod

Period in blocks where an external proposal may not be re-submitted after being vetoed.
§

type Slash = Pallet<Runtime, ()>

Handler for the unbalanced reduction when slashing a preimage deposit.
§

type Scheduler = Pallet<Runtime>

The Scheduler.
§

type PalletsOrigin = OriginCaller

Overarching type of all pallets origins.
§

type MaxVotes = MaxVotes

The maximum number of votes for an account. Read more
§

type WeightInfo = WeightInfo<Runtime>

§

type MaxProposals = MaxProposals

The maximum number of public proposals that can exist at any time.
§

type Preimages = Pallet<Runtime>

The Preimage provider.
§

type MaxDeposits = ConstU32<100>

The maximum number of deposits a public proposal may have at any time.
§

type MaxBlacklisted = ConstU32<100>

The maximum number of items which can be blacklisted.
source§

impl Config for Runtime

§

type WeightInfo = WeightInfo<Runtime>

Information on runtime weights.
§

type RuntimeEvent = RuntimeEvent

Overarching event type.
§

type Currency = Pallet<Runtime, ()>

Currency type that this works on.
§

type CurrencyBalance = u128

Just the Balance type; we have this item to allow us to constrain it to From<u64>.
§

type FundOrigin = EnsureSigned<<<MultiSignature as Verify>::Signer as IdentifyAccount>::AccountId>

Origin required for auto-funding the deficit.
§

type Counterpart = Pallet<Runtime, Instance2>

The accounting system for the fungible counterpart tokens.
§

type CounterpartAmount = WithMaximumOf<ConstU128<21000000000000000000>>

The system to convert an overall proportion of issuance into a number of fungible counterpart tokens. Read more
§

type Deficit = ()

Unbalanced handler to account for funds created (in case of a higher total issuance over freezing period).
§

type IgnoredIssuance = ()

The issuance to ignore. This is subtracted from the Currency’s total_issuance to get the issuance with which we determine the thawed value of a given proportion.
§

type Target = NisTarget

The target sum of all receipts’ proportions.
§

type PalletId = NisPalletId

The treasury’s pallet id, used for deriving its sovereign account ID.
§

type QueueCount = ConstU32<300>

Number of duration queues in total. This sets the maximum duration supported, which is this value multiplied by Period.
§

type MaxQueueLen = ConstU32<1000>

Maximum number of items that may be in each duration queue. Read more
§

type FifoQueueLen = ConstU32<250>

Portion of the queue which is free from ordering and just a FIFO. Read more
§

type BasePeriod = NisBasePeriod

The base period for the duration queues. This is the common multiple across all supported freezing durations that can be bid upon.
§

type MinBid = MinBid

The minimum amount of funds that may be placed in a bid. Note that this does not actually limit the amount which may be represented in a receipt since bids may be split up by the system. Read more
§

type MinReceipt = MinReceipt

The minimum amount of funds which may intentionally be left remaining under a single receipt.
§

type IntakePeriod = IntakePeriod

The number of blocks between consecutive attempts to dequeue bids and create receipts. Read more
§

type MaxIntakeWeight = MaxIntakeWeight

The maximum amount of bids that can consolidated into receipts in a single intake. A larger value here means less of the block available for transactions should there be a glut of bids.
§

type ThawThrottle = ThawThrottle

The maximum proportion which may be thawed and the period over which it is reset.
§

type RuntimeHoldReason = RuntimeHoldReason

Overarching hold reason.
source§

impl Config for Runtime

§

type ValidatorSet = Pallet<Runtime>

A type for retrieving AccountIds of the validators in the current session. These are stash keys of the validators. It’s used for rewards and slashing. Identification is only needed for slashing.
source§

impl Config for Runtime

§

type WeightInfo = WeightInfo<Runtime>

The Weight information for this pallet.
§

type RuntimeEvent = RuntimeEvent

The overarching event type.
§

type Currency = Pallet<Runtime, ()>

Currency type for this pallet.
§

type ManagerOrigin = EnsureRoot<<<MultiSignature as Verify>::Signer as IdentifyAccount>::AccountId>

An origin that can request a preimage be placed on-chain without a deposit or fee, or manage existing preimages.
§

type BaseDeposit = PreimageBaseDeposit

The base deposit for placing a preimage on chain.
§

type ByteDeposit = PreimageByteDeposit

The per-byte deposit for placing a preimage on chain.
source§

impl Config for Runtime

§

type RuntimeEvent = RuntimeEvent

§

type WeightInfo = WeightInfo<Runtime>

Weight information for extrinsics in this pallet.
§

type UnsignedPriority = ParasUnsignedPriority

§

type QueueFootprinter = Pallet<Runtime>

Retrieve how many UMP messages are enqueued for this para-chain. Read more
§

type NextSessionRotation = Pallet<Runtime>

§

type OnNewHead = Pallet<Runtime>

Runtime hook for when a parachain head is updated.
source§

impl Config for Runtime

§

type AuthorityId = Public

The identifier type for an authority.
§

type RuntimeEvent = RuntimeEvent

The overarching event type.
§

type ValidatorSet = Pallet<Runtime>

A type for retrieving the validators supposed to be online in a session.
§

type NextSessionRotation = Pallet<Runtime>

A trait that allows us to estimate the current session progress and also the average session length. Read more
§

type ReportUnresponsiveness = Pallet<Runtime>

A type that gives us the ability to submit unresponsiveness offence reports.
§

type UnsignedPriority = ImOnlineUnsignedPriority

A configuration for base priority of unsigned transactions. Read more
§

type WeightInfo = WeightInfo<Runtime>

Weight information for extrinsics in this pallet.
§

type MaxKeys = MaxKeys

The maximum number of keys that can be added.
§

type MaxPeerInHeartbeats = MaxPeerInHeartbeats

The maximum number of peers to be stored in ReceivedHeartbeats
source§

impl Config for Runtime

source§

impl Config for Runtime

§

type RuntimeEvent = RuntimeEvent

The overarching event type.
§

type Currency = Pallet<Runtime, ()>

The currency trait.
§

type BasicDeposit = BasicDeposit

The amount held on deposit for a registered identity
§

type FieldDeposit = FieldDeposit

The amount held on deposit per additional field for a registered identity.
§

type SubAccountDeposit = SubAccountDeposit

The amount held on deposit for a registered subaccount. This should account for the fact that one storage item’s value will increase by the size of an account ID, and there will be another trie item whose value is the size of an account ID plus 32 bytes.
§

type MaxSubAccounts = MaxSubAccounts

The maximum number of sub-accounts allowed per identified account.
§

type MaxAdditionalFields = MaxAdditionalFields

Maximum number of additional fields that may be stored in an ID. Needed to bound the I/O required to access an identity, but can be pretty high.
§

type MaxRegistrars = MaxRegistrars

Maxmimum number of registrars allowed in the system. Needed to bound the complexity of, e.g., updating judgements.
§

type Slashed = Pallet<Runtime, ()>

What to do with slashed funds.
§

type ForceOrigin = EitherOfDiverse<EnsureRoot<<<MultiSignature as Verify>::Signer as IdentifyAccount>::AccountId>, EnsureProportionMoreThan<<<MultiSignature as Verify>::Signer as IdentifyAccount>::AccountId, Instance1, 1, 2>>

The origin which may forcibly set or remove a name. Root can always do this.
§

type RegistrarOrigin = EitherOfDiverse<EnsureRoot<<<MultiSignature as Verify>::Signer as IdentifyAccount>::AccountId>, EnsureProportionMoreThan<<<MultiSignature as Verify>::Signer as IdentifyAccount>::AccountId, Instance1, 1, 2>>

The origin which may add or remove registrars. Root can always do this.
§

type WeightInfo = WeightInfo<Runtime>

Weight information for extrinsics in this pallet.
source§

impl Config for Runtime

§

type RuntimeEvent = RuntimeEvent

The overarching event type.
§

type SendXcmOrigin = EnsureXcmOrigin<RuntimeOrigin, (SignedToAccountId32<RuntimeOrigin, <<MultiSignature as Verify>::Signer as IdentifyAccount>::AccountId, ThisNetwork>,)>

Required origin for sending XCM messages. If successful, it resolves to MultiLocation which exists as an interior location within this chain’s XCM context.
§

type XcmRouter = WithUniqueTopic<(ChildParachainRouter<Runtime, Pallet<Runtime>, ExponentialPrice<FeeAssetId, BaseDeliveryFee, TransactionByteFee, Pallet<Runtime>>>,)>

The type used to actually dispatch an XCM to its destination.
§

type ExecuteXcmOrigin = EnsureXcmOrigin<RuntimeOrigin, (SignedToAccountId32<RuntimeOrigin, <<MultiSignature as Verify>::Signer as IdentifyAccount>::AccountId, ThisNetwork>,)>

Required origin for executing XCM messages, including the teleport functionality. If successful, then it resolves to MultiLocation which exists as an interior location within this chain’s XCM context.
§

type XcmExecuteFilter = Everything

Our XCM filter which messages to be executed using XcmExecutor must pass.
§

type XcmExecutor = XcmExecutor<XcmConfig>

Something to execute an XCM message.
§

type XcmTeleportFilter = Everything

Our XCM filter which messages to be teleported using the dedicated extrinsic must pass.
§

type XcmReserveTransferFilter = Everything

Our XCM filter which messages to be reserve-transferred using the dedicated extrinsic must pass.
§

type Weigher = FixedWeightBounds<BaseXcmWeight, RuntimeCall, MaxInstructions>

Means of measuring the weight consumed by an XCM message locally.
§

type UniversalLocation = UniversalLocation

This chain’s Universal Location.
§

type RuntimeOrigin = RuntimeOrigin

The runtime Origin type.
§

type RuntimeCall = RuntimeCall

The runtime Call type.
source§

const VERSION_DISCOVERY_QUEUE_SIZE: u32 = 100u32

§

type AdvertisedXcmVersion = CurrentXcmVersion

The latest supported version that we advertise. Generally just set it to pallet_xcm::CurrentXcmVersion.
§

type Currency = Pallet<Runtime, ()>

A lockable currency.
§

type CurrencyMatcher = IsConcrete<TokenLocation>

The MultiAsset matcher for Currency.
§

type TrustedLockers = ()

The assets which we consider a given origin is trusted if they claim to have placed a lock.
§

type SovereignAccountOf = (ChildParachainConvertsVia<Id, <<MultiSignature as Verify>::Signer as IdentifyAccount>::AccountId>, AccountId32Aliases<ThisNetwork, <<MultiSignature as Verify>::Signer as IdentifyAccount>::AccountId>)

How to get an AccountId value from a MultiLocation, useful for handling asset locks.
§

type MaxLockers = ConstU32<8>

The maximum number of local XCM locks that a single account may have.
§

type MaxRemoteLockConsumers = ConstU32<0>

The maximum number of consumers a single remote lock may have.
§

type RemoteLockConsumerIdentifier = ()

The ID type for local consumers of remote locks.
§

type WeightInfo = WeightInfo<Runtime>

Weight information for extrinsics in this pallet.
§

type AdminOrigin = EnsureRoot<<<MultiSignature as Verify>::Signer as IdentifyAccount>::AccountId>

The origin that is allowed to call privileged operations on the XCM pallet
source§

impl Config for Runtime

§

type RuntimeEvent = RuntimeEvent

The overarching event type.
§

type RuntimeCall = RuntimeCall

The overarching call type.
§

type Currency = Pallet<Runtime, ()>

The currency mechanism.
§

type DepositBase = DepositBase

The base amount of currency needed to reserve for creating a multisig execution or to store a dispatch call for later. Read more
§

type DepositFactor = DepositFactor

The amount of currency needed per unit threshold when creating a multisig execution. Read more
§

type MaxSignatories = MaxSignatories

The maximum amount of signatories allowed in the multisig.
§

type WeightInfo = WeightInfo<Runtime>

Weight information for extrinsics in this pallet.
source§

impl Config for Runtime

§

type Randomness = RandomnessFromOneEpochAgo<Runtime>

A randomness beacon.
§

type ForceOrigin = EnsureRoot<<<MultiSignature as Verify>::Signer as IdentifyAccount>::AccountId>

An origin which is allowed to force updates to parachains.
§

type WeightInfo = WeightInfo<Runtime>

Weight information for extrinsics in this pallet.
source§

impl Config for Runtime

§

type RuntimeEvent = RuntimeEvent

The overarching event type.
§

type Leaser = Pallet<Runtime>

The type representing the leasing system.
§

type Registrar = Pallet<Runtime>

The parachain registrar type.
§

type EndingPeriod = EndingPeriod

The number of blocks over which an auction may be retroactively ended.
§

type SampleLength = SampleLength

The length of each sample to take during the ending period. Read more
§

type Randomness = RandomnessFromOneEpochAgo<Runtime>

Something that provides randomness in the runtime.
§

type InitiateOrigin = EitherOfDiverse<EnsureRoot<<<MultiSignature as Verify>::Signer as IdentifyAccount>::AccountId>, EnsureProportionAtLeast<<<MultiSignature as Verify>::Signer as IdentifyAccount>::AccountId, Instance1, 2, 3>>

The origin which may initiate auctions.
§

type WeightInfo = WeightInfo<Runtime>

Weight Information for the Extrinsics in the Pallet
source§

impl Config for Runtime

§

type RuntimeEvent = RuntimeEvent

The overarching event type.
§

type OnChargeTransaction = CurrencyAdapter<Pallet<Runtime, ()>, ToAuthor<Runtime>>

Handler for withdrawing, refunding and depositing the transaction fee. Transaction fees are withdrawn before the transaction is executed. After the transaction was executed the transaction weight can be adjusted, depending on the used resources by the transaction. If the transaction weight is lower than expected, parts of the transaction fee might be refunded. In the end the fees can be deposited.
§

type OperationalFeeMultiplier = OperationalFeeMultiplier

A fee mulitplier for Operational extrinsics to compute “virtual tip” to boost their priority Read more
§

type WeightToFee = WeightToFee

Convert a weight value into a deductible fee based on the currency type.
§

type LengthToFee = ConstantMultiplier<u128, TransactionByteFee>

Convert a length value into a deductible fee based on the currency type.
§

type FeeMultiplierUpdate = TargetedFeeAdjustment<Runtime, TargetBlockFullness, AdjustmentVariable, MinimumMultiplier, MaximumMultiplier>

Update the multiplier of the next block, based on the previous block’s weight.
source§

impl Config for Runtime

source§

impl Config for Runtime

§

type RuntimeEvent = RuntimeEvent

The runtime’s definition of an event.
§

type Currency = Pallet<Runtime, ()>

The runtime’s definition of a Currency.
§

type TrafficDefaultValue = OnDemandTrafficDefaultValue

The default value for the spot traffic multiplier.
§

type WeightInfo = WeightInfo<Runtime>

Something that provides the weight of this pallet.
source§

impl Config for Runtime

§

type RuntimeEvent = RuntimeEvent

The overarching event type.
§

type RuntimeCall = RuntimeCall

A sudo-able call.
§

type WeightInfo = WeightInfo<Runtime>

Type representing the weight of this pallet
source§

impl Config for Runtime

§

type RuntimeEvent = RuntimeEvent

The overarching event type.
§

type ValidatorId = <<MultiSignature as Verify>::Signer as IdentifyAccount>::AccountId

A stable ID for a validator.
§

type ValidatorIdOf = ValidatorIdOf

A conversion from account ID to validator ID. Read more
§

type ShouldEndSession = Pallet<Runtime>

Indicator for when to end the session.
§

type NextSessionRotation = Pallet<Runtime>

Something that can predict the next session rotation. This should typically come from the same logical unit that provides ShouldEndSession, yet, it gives a best effort estimate. It is helpful to implement EstimateNextNewSession.
§

type SessionManager = NoteHistoricalRoot<Runtime, Pallet<Runtime>>

Handler for managing new session.
§

type SessionHandler = <SessionKeys as OpaqueKeys>::KeyTypeIdProviders

Handler when a session has changed.
§

type Keys = SessionKeys

The keys.
§

type WeightInfo = WeightInfo<Runtime>

Weight information for extrinsics in this pallet.
source§

impl Config for Runtime

§

type RuntimeEvent = RuntimeEvent

The overarching event type.
§

type Currency = Pallet<Runtime, ()>

The currency type used for bidding.
§

type Registrar = Pallet<Runtime>

The parachain registrar type.
§

type LeasePeriod = LeasePeriod

The number of blocks over which a single period lasts.
§

type LeaseOffset = ()

The number of blocks to offset each lease period by.
§

type ForceOrigin = EitherOfDiverse<EnsureRoot<<<MultiSignature as Verify>::Signer as IdentifyAccount>::AccountId>, EnsureProportionMoreThan<<<MultiSignature as Verify>::Signer as IdentifyAccount>::AccountId, Instance1, 1, 2>>

The origin which may forcibly create or clear leases. Root can always do this.
§

type WeightInfo = WeightInfo<Runtime>

Weight Information for the Extrinsics in the Pallet
source§

impl Config for Runtime

§

type RuntimeEvent = RuntimeEvent

The overarching event type.
§

type RuntimeCall = RuntimeCall

The overarching call type.
§

type PalletsOrigin = OriginCaller

The caller origin, overarching type of all pallets origins.
§

type WeightInfo = WeightInfo<Runtime>

Weight information for extrinsics in this pallet.
source§

impl Config for Runtime

§

type BeefyId = Public

Authority identifier type
§

type MaxAuthorities = MaxAuthorities

The maximum number of authorities that can be added.
§

type MaxNominators = ConstU32<0>

The maximum number of nominators for each validator.
§

type MaxSetIdSessionEntries = BeefySetIdSessionEntries

The maximum number of entries to keep in the set id to session index mapping. Read more
§

type OnNewValidatorSet = Pallet<Runtime>

A hook to act on the new BEEFY validator set. Read more
§

type WeightInfo = ()

Weights for this pallet.
§

type KeyOwnerProof = <Pallet<Runtime> as KeyOwnerProofSystem<(KeyTypeId, Public)>>::Proof

The proof of key ownership, used for validating equivocation reports The proof must include the session index and validator count of the session at which the equivocation occurred.
§

type EquivocationReportSystem = EquivocationReportSystem<Runtime, Pallet<Runtime>, Pallet<Runtime>, ReportLongevity>

The equivocation handling subsystem. Read more
source§

impl Config for Runtime

§

type KeyOwnerProofSystem = Pallet<Runtime>

A system for proving ownership of keys, i.e. that a given key was part of a validator set, needed for validating slashing reports.
§

type KeyOwnerProof = <<Runtime as Config>::KeyOwnerProofSystem as KeyOwnerProofSystem<(KeyTypeId, Public)>>::Proof

The proof of key ownership, used for validating slashing reports. The proof must include the session index and validator count of the session at which the offence occurred.
§

type KeyOwnerIdentification = <<Runtime as Config>::KeyOwnerProofSystem as KeyOwnerProofSystem<(KeyTypeId, Public)>>::IdentificationTuple

The identification of a key owner, used when reporting slashes.
§

type HandleReports = SlashingReportHandler<<Runtime as Config>::KeyOwnerIdentification, Pallet<Runtime>, ReportLongevity>

The slashing report handling subsystem, defines methods to report an offence (after the slashing report has been validated) and for submitting a transaction to report a slash (from an offchain context). NOTE: when enabling slashing report handling (i.e. this type isn’t set to ()) you must use this pallet’s ValidateUnsigned in the runtime definition.
§

type WeightInfo = TestWeightInfo

Weight information for extrinsics in this pallet.
§

type BenchmarkingConfig = BenchConfig<200>

Benchmarking configuration.
source§

impl Config for Runtime

§

type RuntimeOrigin = RuntimeOrigin

The aggregated origin type must support the parachains origin. We require that we can infallibly convert between this origin and the system origin, but in reality, they’re the same type, we just can’t express that to the Rust type system without writing a where clause everywhere.
§

type RuntimeEvent = RuntimeEvent

The overarching event type.
§

type Currency = Pallet<Runtime, ()>

The system’s currency for on-demand parachain payment.
§

type OnSwap = (Pallet<Runtime>, Pallet<Runtime>)

Runtime hook for when a lease holding parachain and on-demand parachain swap.
§

type ParaDeposit = ParaDeposit

The deposit to be paid to run a on-demand parachain. This should include the cost for storing the genesis head and validation code.
§

type DataDepositPerByte = DataDepositPerByte

The deposit to be paid per byte stored on chain.
§

type WeightInfo = WeightInfo<Runtime>

Weight Information for the Extrinsics in the Pallet
source§

impl Config for Runtime

§

type FindAuthor = FindAccountFromAuthorIndex<Runtime, Pallet<Runtime>>

Find the author of a block.
§

type EventHandler = Pallet<Runtime>

An event handler for authored blocks.
source§

impl Config for Runtime

§

type WeightInfo = WeightInfo<Runtime>

Weight information for extrinsics in this pallet.
source§

impl Config for Runtime

§

type BaseCallFilter = BaseFilter

The basic call filter to use in Origin. All origins are built with this filter as base, except Root. Read more
§

type BlockWeights = BlockWeights

Block & extrinsics weights: base values and limits.
§

type BlockLength = BlockLength

The maximum length of a block (in bytes).
§

type DbWeight = RocksDbWeight

The weight of runtime database operations the runtime can invoke.
§

type RuntimeOrigin = RuntimeOrigin

The RuntimeOrigin type used by dispatchable calls.
§

type RuntimeCall = RuntimeCall

The aggregated RuntimeCall type.
§

type Nonce = u32

This stores the number of previous transactions associated with a sender account.
§

type Hash = H256

The output of the Hashing function.
§

type Hashing = BlakeTwo256

The hashing system (algorithm) being used in the runtime (e.g. Blake2).
§

type AccountId = <<MultiSignature as Verify>::Signer as IdentifyAccount>::AccountId

The user account identifier type for the runtime.
§

type Lookup = AccountIdLookup<<<MultiSignature as Verify>::Signer as IdentifyAccount>::AccountId, ()>

Converting trait to take a source type and convert to AccountId. Read more
§

type Block = Block<Header<u32, BlakeTwo256>, UncheckedExtrinsic<MultiAddress<<<MultiSignature as Verify>::Signer as IdentifyAccount>::AccountId, ()>, RuntimeCall, MultiSignature, (CheckNonZeroSender<Runtime>, CheckSpecVersion<Runtime>, CheckTxVersion<Runtime>, CheckGenesis<Runtime>, CheckMortality<Runtime>, CheckNonce<Runtime>, CheckWeight<Runtime>, ChargeTransactionPayment<Runtime>)>>

The Block type used by the runtime. This is used by construct_runtime to retrieve the extrinsics or other block specific data as needed.
§

type RuntimeEvent = RuntimeEvent

The aggregated event type of the runtime.
§

type BlockHashCount = BlockHashCount

Maximum number of block number to block hash mappings to keep (oldest pruned first).
§

type Version = Version

Get the chain’s current version.
§

type PalletInfo = PalletInfo

Provides information about the pallet setup in the runtime. Read more
§

type AccountData = AccountData<u128>

Data to be associated with an account (other than nonce/transaction counter, which this pallet does regardless).
§

type OnNewAccount = ()

Handler for when a new account has just been created.
§

type OnKilledAccount = ()

A function that is invoked when an account has been determined to be dead. Read more
§

type SystemWeightInfo = WeightInfo<Runtime>

§

type SS58Prefix = SS58Prefix

The designated SS58 prefix of this chain. Read more
§

type OnSetCode = ()

What to do if the runtime wants to change the code to something new. Read more
§

type MaxConsumers = ConstU32<16>

The maximum number of consumers allowed on a single account.
source§

impl Config for Runtime

§

type RuntimeEvent = RuntimeEvent

The overarching event type.
§

type AssignSlotOrigin = EnsureRoot<<<MultiSignature as Verify>::Signer as IdentifyAccount>::AccountId>

Origin for assigning slots.
§

type Leaser = Pallet<Runtime>

The type representing the leasing system.
§

type PermanentSlotLeasePeriodLength = PermanentSlotLeasePeriodLength

The number of lease periods a permanent parachain slot lasts.
§

type TemporarySlotLeasePeriodLength = TemporarySlotLeasePeriodLength

The number of lease periods a temporary parachain slot lasts.
§

type MaxTemporarySlotPerLeasePeriod = MaxTemporarySlotPerLeasePeriod

The max number of temporary slots to be scheduled per lease periods.
§

type WeightInfo = WeightInfo<Runtime>

Weight Information for the Extrinsics in the Pallet
source§

impl Config for Runtime

§

type RuntimeEvent = RuntimeEvent

The overarching event type.
§

type RuntimeCall = RuntimeCall

The overarching call type.
§

type Currency = Pallet<Runtime, ()>

The currency mechanism.
§

type ProxyType = ProxyType

A kind of proxy; specified with the proxy and passed in to the IsProxyable fitler. The instance filter determines whether a given call may be proxied under this type. Read more
§

type ProxyDepositBase = ProxyDepositBase

The base amount of currency needed to reserve for creating a proxy. Read more
§

type ProxyDepositFactor = ProxyDepositFactor

The amount of currency needed per proxy added. Read more
§

type MaxProxies = MaxProxies

The maximum amount of proxies allowed for a single account.
§

type WeightInfo = WeightInfo<Runtime>

Weight information for extrinsics in this pallet.
§

type MaxPending = MaxPending

The maximum amount of time-delayed announcements that are allowed to be pending.
§

type CallHasher = BlakeTwo256

The type of hash used for hashing the call.
§

type AnnouncementDepositBase = AnnouncementDepositBase

The base amount of currency needed to reserve for creating an announcement. Read more
§

type AnnouncementDepositFactor = AnnouncementDepositFactor

The amount of currency needed per announcement made. Read more
source§

impl Config for Runtime

§

type RuntimeEvent = RuntimeEvent

The overarching event type.
§

type Currency = Pallet<Runtime, ()>

The currency trait.
§

type BlockNumberToBalance = ConvertInto

Convert the block number into a balance.
§

type MinVestedTransfer = MinVestedTransfer

The minimum amount transferred to call vested_transfer.
§

type WeightInfo = WeightInfo<Runtime>

Weight information for extrinsics in this pallet.
§

type UnvestedFundsAllowedWithdrawReasons = UnvestedFundsAllowedWithdrawReasons

Reasons that determine under which conditions the balance may drop below the unvested amount.
source§

const MAX_VESTING_SCHEDULES: u32 = 28u32

Maximum number of vesting schedules an account may have at a given moment.
source§

impl Config for Runtime

§

type WeightInfo = WeightInfo<Runtime>

Weight information for extrinsics in this pallet.
source§

impl Config for Runtime

§

type RuntimeOrigin = RuntimeOrigin

The aggregated origin which the dispatch will take.
§

type RuntimeEvent = RuntimeEvent

The overarching event type.
§

type PalletsOrigin = OriginCaller

The caller origin, overarching type of all pallets origins.
§

type RuntimeCall = RuntimeCall

The aggregated call type.
§

type MaximumWeight = MaximumSchedulerWeight

The maximum weight that may be scheduled per block for any dispatchables.
§

type ScheduleOrigin = EitherOfDiverse<EnsureRoot<<<MultiSignature as Verify>::Signer as IdentifyAccount>::AccountId>, EnsureProportionAtLeast<<<MultiSignature as Verify>::Signer as IdentifyAccount>::AccountId, Instance1, 1, 2>>

Required origin to schedule or cancel calls.
§

type MaxScheduledPerBlock = MaxScheduledPerBlock

The maximum number of scheduled calls in the queue for a single block. Read more
§

type WeightInfo = WeightInfo<Runtime>

Weight information for extrinsics in this pallet.
§

type OriginPrivilegeCmp = OriginPrivilegeCmp

Compare the privileges of origins. Read more
§

type Preimages = Pallet<Runtime>

The preimage provider with which we look up call hashes to get the call.
source§

impl Config for Runtime

§

type RuntimeEvent = RuntimeEvent

§

type RewardValidators = ()

§

type SlashingHandler = SlashValidatorsForDisputes<Pallet<Runtime>>

§

type WeightInfo = WeightInfo<Runtime>

Weight information for extrinsics in this pallet.
source§

impl Config for Runtime

§

type RuntimeEvent = RuntimeEvent

The overarching event type.
§

type Size = u32

Page/heap size type.
§

type HeapSize = MessageQueueHeapSize

The size of the page; this implies the maximum message size which can be sent. Read more
§

type MaxStale = MessageQueueMaxStale

The maximum number of stale pages (i.e. of overweight messages) allowed before culling can happen. Once there are more stale pages than this, then historical pages may be dropped, even if they contain unprocessed overweight messages.
§

type ServiceWeight = MessageQueueServiceWeight

The amount of weight (if any) which should be provided to the message queue for servicing enqueued items. Read more
§

type MessageProcessor = MessageProcessor

Processor for a message. Read more
§

type QueueChangeHandler = Pallet<Runtime>

Code to be called when a message queue changes - either with items introduced or removed.
§

type QueuePausedQuery = ()

Queried by the pallet to check whether a queue can be serviced. Read more
§

type WeightInfo = WeightInfo<Runtime>

Weight information for extrinsics in this pallet.
source§

impl Config for Runtime

§

type RuntimeEvent = RuntimeEvent

§

type DisputesHandler = Pallet<Runtime>

§

type RewardValidators = RewardValidators

§

type MessageQueue = Pallet<Runtime>

The system message queue. Read more
§

type WeightInfo = WeightInfo<Runtime>

Weight info for the calls of this pallet.
source§

impl Config for Runtime

§

type RuntimeEvent = RuntimeEvent

§

type Currency = Pallet<Runtime, ()>

The currency that people are electing with.
§

type ChangeMembers = Pallet<Runtime, Instance1>

What to do when the members change.
§

type InitializeMembers = Pallet<Runtime, Instance1>

What to do with genesis members
§

type CurrencyToVote = U128CurrencyToVote

Convert a balance into a number used for election calculation. This must fit into a u64 but is allowed to be sensibly lossy.
§

type CandidacyBond = CandidacyBond

How much should be locked up in order to submit one’s candidacy.
§

type VotingBondBase = VotingBondBase

Base deposit associated with voting. Read more
§

type VotingBondFactor = VotingBondFactor

The amount of bond that need to be locked for each vote (32 bytes).
§

type LoserCandidate = Pallet<Runtime, ()>

Handler for the unbalanced reduction when a candidate has lost (and is not a runner-up)
§

type KickedMember = Pallet<Runtime, ()>

Handler for the unbalanced reduction when a member has been kicked.
§

type DesiredMembers = DesiredMembers

Number of members to elect.
§

type DesiredRunnersUp = DesiredRunnersUp

Number of runners_up to keep.
§

type TermDuration = TermDuration

How long each seat is kept. This defines the next block number at which an election round will happen. If set to zero, no elections are ever triggered and the module will be in passive mode.
§

type MaxVoters = MaxVoters

The maximum number of voters to allow in a phragmen election. Read more
§

type MaxVotesPerVoter = MaxVotesPerVoter

Maximum numbers of votes per voter. Read more
§

type MaxCandidates = MaxCandidates

The maximum number of candidates in a phragmen election. Read more
§

type PalletId = PhragmenElectionPalletId

Identifier for the elections-phragmen pallet’s lock
§

type WeightInfo = WeightInfo<Runtime>

Weight information for extrinsics in this pallet.
source§

impl Config for Runtime

§

type MaxAuthorities = MaxAuthorities

The maximum number of authorities that can be added.
source§

impl Config for Runtime

§

type RuntimeEvent = RuntimeEvent

The overarching event type.
§

type WeightInfo = ()

Weight information for extrinsics in this pallet.
§

type RuntimeCall = RuntimeCall

The overarching call type.
§

type Currency = Pallet<Runtime, ()>

The currency mechanism.
§

type ConfigDepositBase = ConfigDepositBase

The base amount of currency needed to reserve for creating a recovery configuration. Read more
§

type FriendDepositFactor = FriendDepositFactor

The amount of currency needed per additional user when creating a recovery configuration. Read more
§

type MaxFriends = MaxFriends

The maximum amount of friends allowed in a recovery configuration. Read more
§

type RecoveryDeposit = RecoveryDeposit

The base amount of currency needed to reserve for starting a recovery. Read more
source§

impl Config for Runtime

§

type RuntimeEvent = RuntimeEvent

The overarching event type.
§

type IdentificationTuple = (<Runtime as Config>::ValidatorId, <Runtime as Config>::FullIdentification)

Full identification of the validator.
§

type OnOffenceHandler = ()

A handler called for every offence report.
source§

impl Config for Runtime

§

type AccountIndex = u32

Type used for storing an account’s index; implies the maximum number of accounts the system can hold.
§

type Currency = Pallet<Runtime, ()>

The currency trait.
§

type Deposit = IndexDeposit

The deposit needed for reserving an index.
§

type RuntimeEvent = RuntimeEvent

The overarching event type.
§

type WeightInfo = WeightInfo<Runtime>

Weight information for extrinsics in this pallet.
source§

impl Config for Runtime

§

type EpochDuration = EpochDurationInBlocks

The amount of time, in slots, that each epoch should last. NOTE: Currently it is not possible to change the epoch duration after the chain has started. Attempting to do so will brick block production.
§

type ExpectedBlockTime = ExpectedBlockTime

The expected average block time at which BABE should be creating blocks. Since BABE is probabilistic it is not trivial to figure out what the expected average block time should be based on the slot duration and the security parameter c (where 1 - c represents the probability of a slot being empty).
§

type EpochChangeTrigger = ExternalTrigger

BABE requires some logic to be triggered on every block to query for whether an epoch has ended and to perform the transition to the next epoch. Read more
§

type DisabledValidators = Pallet<Runtime>

A way to check whether a given validator is disabled and should not be authoring blocks. Blocks authored by a disabled validator will lead to a panic as part of this module’s initialization.
§

type WeightInfo = ()

Helper for weights computations
§

type MaxAuthorities = MaxAuthorities

Max number of authorities allowed
§

type MaxNominators = ConstU32<0>

The maximum number of nominators for each validator.
§

type KeyOwnerProof = <Pallet<Runtime> as KeyOwnerProofSystem<(KeyTypeId, Public)>>::Proof

The proof of key ownership, used for validating equivocation reports. The proof must include the session index and validator count of the session at which the equivocation occurred.
§

type EquivocationReportSystem = EquivocationReportSystem<Runtime, Pallet<Runtime>, Pallet<Runtime>, ReportLongevity>

The equivocation handling subsystem, defines methods to check/report an offence and for submitting a transaction to report an equivocation (from an offchain context).
source§

impl Config for Runtime

§

type RuntimeOrigin = RuntimeOrigin

§

type RuntimeEvent = RuntimeEvent

The outer event type.
§

type ChannelManager = EnsureRoot<<<MultiSignature as Verify>::Signer as IdentifyAccount>::AccountId>

The origin that can perform “force” actions on channels.
§

type Currency = Pallet<Runtime, ()>

An interface for reserving deposits for opening channels. Read more
§

type WeightInfo = WeightInfo<Runtime>

Something that provides the weight of this pallet.
source§

impl Config for Runtime

§

type RuntimeEvent = RuntimeEvent

The overarching event type.
§

type MaxActiveChildBountyCount = MaxActiveChildBountyCount

Maximum number of child bounties that can be added to a parent bounty.
§

type ChildBountyValueMinimum = ChildBountyValueMinimum

Minimum value for a child-bounty.
§

type WeightInfo = WeightInfo<Runtime>

Weight information for extrinsics in this pallet.
source§

impl Config for Runtime

§

type Moment = u64

Type used for expressing timestamp.
§

type OnTimestampSet = Pallet<Runtime>

Something which can be notified when the timestamp is set. Set this to () if not needed.
§

type MinimumPeriod = MinimumPeriod

The minimum period between blocks. Beware that this is different to the expected period that the block production apparatus provides. Your chosen consensus system will generally work with this to determine a sensible block time. e.g. For Aura, it will be double this period on default settings.
§

type WeightInfo = WeightInfo<Runtime>

Weight information for extrinsics in this pallet.
source§

impl Config for Runtime

source§

impl Config for Runtime

§

type RuntimeEvent = RuntimeEvent

The overarching event type.
§

type Currency = Pallet<Runtime, ()>

The currency provider type.
§

type SignedDepositPerItem = MigrationSignedDepositPerItem

The amount of deposit collected per item in advance, for signed migrations. Read more
§

type SignedDepositBase = MigrationSignedDepositBase

§

type ControlOrigin = EnsureRoot<<<MultiSignature as Verify>::Signer as IdentifyAccount>::AccountId>

Origin that can control the configurations of this pallet.
§

type SignedFilter = EnsureSignedBy<MigController, <<MultiSignature as Verify>::Signer as IdentifyAccount>::AccountId>

Filter on which origin that trigger the manual migrations.
§

type WeightInfo = SubstrateWeight<Runtime>

The weight information of this pallet.
§

type MaxKeyLen = MigrationMaxKeyLen

Maximal number of bytes that a key can have. Read more
source§

impl Config for Runtime

§

type RuntimeEvent = RuntimeEvent

§

type PalletId = CrowdloanId

PalletId for the crowdloan pallet. An appropriate value could be PalletId(*b"py/cfund")
§

type SubmissionDeposit = SubmissionDeposit

The amount to be held on deposit by the depositor of a crowdloan.
§

type MinContribution = MinContribution

The minimum amount that may be contributed into a crowdloan. Should almost certainly be at least ExistentialDeposit.
§

type RemoveKeysLimit = RemoveKeysLimit

Max number of storage keys to remove per extrinsic call.
§

type Registrar = Pallet<Runtime>

The parachain registrar type. We just use this to ensure that only the manager of a para is able to start a crowdloan for its slot.
§

type Auctioneer = Pallet<Runtime>

The type representing the auctioning system.
§

type MaxMemoLength = MaxMemoLength

The maximum length for the memo attached to a crowdloan contribution.
§

type WeightInfo = WeightInfo<Runtime>

Weight Information for the Extrinsics in the Pallet
source§

impl Config for Runtime

§

type FullIdentification = ()

Full identification of the validator.
§

type FullIdentificationOf = FullIdentificationOf

A conversion from validator ID to full identification. Read more
source§

impl Config for Runtime

§

type LeafVersion = LeafVersion

Current leaf version. Read more
§

type BeefyAuthorityToMerkleLeaf = BeefyEcdsaToEthereum

Convert BEEFY AuthorityId to a form that would end up in the Merkle Tree. Read more
§

type LeafExtra = H256

The type expected for the leaf extra data
§

type BeefyDataProvider = ParaHeadsRootProvider

Retrieve arbitrary data that should be added to the mmr leaf
source§

impl CoreV4<Block<Header<u32, BlakeTwo256>, UncheckedExtrinsic<MultiAddress<<<MultiSignature as Verify>::Signer as IdentifyAccount>::AccountId, ()>, RuntimeCall, MultiSignature, (CheckNonZeroSender<Runtime>, CheckSpecVersion<Runtime>, CheckTxVersion<Runtime>, CheckGenesis<Runtime>, CheckMortality<Runtime>, CheckNonce<Runtime>, CheckWeight<Runtime>, ChargeTransactionPayment<Runtime>)>>> for Runtime

source§

fn version() -> RuntimeVersion

Returns the version of the runtime.
source§

fn execute_block(block: Block)

Execute the given block.
source§

fn initialize_block(header: &<Block as BlockT>::Header)

Initialize a block with the given header.
source§

impl<LocalCall> CreateSignedTransaction<LocalCall> for Runtimewhere RuntimeCall: From<LocalCall>,

Submits a transaction with the node’s public and signature type. Adheres to the signed extension format of the chain.

source§

fn create_transaction<C: AppCrypto<Self::Public, Self::Signature>>( call: RuntimeCall, public: <Signature as Verify>::Signer, account: AccountId, nonce: <Runtime as Config>::Nonce ) -> Option<(RuntimeCall, <UncheckedExtrinsic as ExtrinsicT>::SignaturePayload)>

Attempt to create signed extrinsic data that encodes call from given account. Read more
source§

impl Debug for Runtime

source§

fn fmt(&self, fmt: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl EnsureInherentsAreFirst<<Runtime as Config>::Block> for Runtime

source§

fn ensure_inherents_are_first( block: &<Runtime as Config>::Block ) -> Result<(), u32>

Ensure the position of inherent is correct, i.e. they are before non-inherents. Read more
source§

impl GetRuntimeBlockType for Runtime

§

type RuntimeBlock = <Runtime as Config>::Block

The RuntimeBlock type.
source§

impl GrandpaApiV3<Block<Header<u32, BlakeTwo256>, UncheckedExtrinsic<MultiAddress<<<MultiSignature as Verify>::Signer as IdentifyAccount>::AccountId, ()>, RuntimeCall, MultiSignature, (CheckNonZeroSender<Runtime>, CheckSpecVersion<Runtime>, CheckTxVersion<Runtime>, CheckGenesis<Runtime>, CheckMortality<Runtime>, CheckNonce<Runtime>, CheckWeight<Runtime>, ChargeTransactionPayment<Runtime>)>>> for Runtime

source§

fn grandpa_authorities() -> Vec<(GrandpaId, u64)>

Get the current GRANDPA authorities and weights. This should not change except for when changes are scheduled and the corresponding delay has passed. Read more
source§

fn current_set_id() -> SetId

Get current GRANDPA authority set id.
source§

fn submit_report_equivocation_unsigned_extrinsic( equivocation_proof: EquivocationProof<<Block as BlockT>::Hash, NumberFor<Block>>, key_owner_proof: OpaqueKeyOwnershipProof ) -> Option<()>

Submits an unsigned extrinsic to report an equivocation. The caller must provide the equivocation proof and a key ownership proof (should be obtained using generate_key_ownership_proof). The extrinsic will be unsigned and should only be accepted for local authorship (not to be broadcast to the network). This method returns None when creation of the extrinsic fails, e.g. if equivocation reporting is disabled for the given runtime (i.e. this method is hardcoded to return None). Only useful in an offchain context.
source§

fn generate_key_ownership_proof( _set_id: SetId, authority_id: AuthorityId ) -> Option<OpaqueKeyOwnershipProof>

Generates a proof of key ownership for the given authority in the given set. An example usage of this module is coupled with the session historical module to prove that a given authority key is tied to a given staking identity during a specific session. Proofs of key ownership are necessary for submitting equivocation reports. NOTE: even though the API takes a set_id as parameter the current implementations ignore this parameter and instead rely on this method being called at the correct block height, i.e. any point at which the given set id is live on-chain. Future implementations will instead use indexed data through an offchain worker, not requiring older states to be available.
source§

impl MetadataV2<Block<Header<u32, BlakeTwo256>, UncheckedExtrinsic<MultiAddress<<<MultiSignature as Verify>::Signer as IdentifyAccount>::AccountId, ()>, RuntimeCall, MultiSignature, (CheckNonZeroSender<Runtime>, CheckSpecVersion<Runtime>, CheckTxVersion<Runtime>, CheckGenesis<Runtime>, CheckMortality<Runtime>, CheckNonce<Runtime>, CheckWeight<Runtime>, ChargeTransactionPayment<Runtime>)>>> for Runtime

source§

fn metadata() -> OpaqueMetadata

Returns the metadata of a runtime.
source§

fn metadata_at_version(version: u32) -> Option<OpaqueMetadata>

Returns the metadata at a given version. Read more
source§

fn metadata_versions() -> Vec<u32>

Returns the supported metadata versions. Read more
source§

impl<__SrApiBlock__: BlockT + UnwindSafe + RefUnwindSafe, RuntimeApiImplCall: CallApiAt<__SrApiBlock__> + 'static> MmrApi<__SrApiBlock__, <<Runtime as Config<()>>::Hashing as Hash>::Output, u32> for RuntimeApiImpl<__SrApiBlock__, RuntimeApiImplCall>where RuntimeApiImplCall::StateBackend: StateBackend<HashingFor<__SrApiBlock__>>, &'static RuntimeApiImplCall: Send, Result<<<Runtime as Config>::Hashing as Hash>::Output, Error>: UnwindSafe + RefUnwindSafe, Result<LeafIndex, Error>: UnwindSafe + RefUnwindSafe, Vec<BlockNumber>: UnwindSafe + RefUnwindSafe, Option<BlockNumber>: UnwindSafe + RefUnwindSafe, Result<(Vec<EncodableOpaqueLeaf>, Proof<<<Runtime as Config>::Hashing as Hash>::Output>), Error>: UnwindSafe + RefUnwindSafe, Vec<EncodableOpaqueLeaf>: UnwindSafe + RefUnwindSafe, Proof<<<Runtime as Config>::Hashing as Hash>::Output>: UnwindSafe + RefUnwindSafe, Result<(), Error>: UnwindSafe + RefUnwindSafe, <<Runtime as Config>::Hashing as Hash>::Output: UnwindSafe + RefUnwindSafe, __SrApiBlock__::Header: UnwindSafe + RefUnwindSafe,

source§

fn mmr_root( &self, __runtime_api_at_param__: <Block as Block>::Hash ) -> Result<Result<Hash, Error>, ApiError>

Return the on-chain MMR root hash.
source§

fn mmr_leaf_count( &self, __runtime_api_at_param__: <Block as Block>::Hash ) -> Result<Result<u64, Error>, ApiError>

Return the number of MMR blocks in the chain.
source§

fn generate_proof( &self, __runtime_api_at_param__: <Block as Block>::Hash, block_numbers: Vec<BlockNumber, Global>, best_known_block_number: Option<BlockNumber> ) -> Result<Result<(Vec<EncodableOpaqueLeaf, Global>, Proof<Hash>), Error>, ApiError>

Generate MMR proof for a series of block numbers. If best_known_block_number = Some(n), use historical MMR state at given block height n. Else, use current MMR state.
source§

fn verify_proof( &self, __runtime_api_at_param__: <Block as Block>::Hash, leaves: Vec<EncodableOpaqueLeaf, Global>, proof: Proof<Hash> ) -> Result<Result<(), Error>, ApiError>

Verify MMR proof against on-chain MMR for a batch of leaves. Read more
source§

fn verify_proof_stateless( &self, __runtime_api_at_param__: <Block as Block>::Hash, root: Hash, leaves: Vec<EncodableOpaqueLeaf, Global>, proof: Proof<Hash> ) -> Result<Result<(), Error>, ApiError>

Verify MMR proof against given root hash for a batch of leaves. Read more
source§

impl MmrApiV2<Block<Header<u32, BlakeTwo256>, UncheckedExtrinsic<MultiAddress<<<MultiSignature as Verify>::Signer as IdentifyAccount>::AccountId, ()>, RuntimeCall, MultiSignature, (CheckNonZeroSender<Runtime>, CheckSpecVersion<Runtime>, CheckTxVersion<Runtime>, CheckGenesis<Runtime>, CheckMortality<Runtime>, CheckNonce<Runtime>, CheckWeight<Runtime>, ChargeTransactionPayment<Runtime>)>>, <<Runtime as Config<()>>::Hashing as Hash>::Output, u32> for Runtime

source§

fn mmr_root() -> Result<<<Runtime as Config>::Hashing as Hash>::Output, Error>

Return the on-chain MMR root hash.
source§

fn mmr_leaf_count() -> Result<LeafIndex, Error>

Return the number of MMR blocks in the chain.
source§

fn generate_proof( block_numbers: Vec<BlockNumber>, best_known_block_number: Option<BlockNumber> ) -> Result<(Vec<EncodableOpaqueLeaf>, Proof<<<Runtime as Config>::Hashing as Hash>::Output>), Error>

Generate MMR proof for a series of block numbers. If best_known_block_number = Some(n), use historical MMR state at given block height n. Else, use current MMR state.
source§

fn verify_proof( leaves: Vec<EncodableOpaqueLeaf>, proof: Proof<<<Runtime as Config>::Hashing as Hash>::Output> ) -> Result<(), Error>

Verify MMR proof against on-chain MMR for a batch of leaves. Read more
source§

fn verify_proof_stateless( root: <<Runtime as Config>::Hashing as Hash>::Output, leaves: Vec<EncodableOpaqueLeaf>, proof: Proof<<<Runtime as Config>::Hashing as Hash>::Output> ) -> Result<(), Error>

Verify MMR proof against given root hash for a batch of leaves. Read more
source§

impl OffchainWorkerApiV2<Block<Header<u32, BlakeTwo256>, UncheckedExtrinsic<MultiAddress<<<MultiSignature as Verify>::Signer as IdentifyAccount>::AccountId, ()>, RuntimeCall, MultiSignature, (CheckNonZeroSender<Runtime>, CheckSpecVersion<Runtime>, CheckTxVersion<Runtime>, CheckGenesis<Runtime>, CheckMortality<Runtime>, CheckNonce<Runtime>, CheckWeight<Runtime>, ChargeTransactionPayment<Runtime>)>>> for Runtime

source§

fn offchain_worker(header: &<Block as BlockT>::Header)

Starts the off-chain task for given block header.
source§

impl ParachainHostV5<Block<Header<u32, BlakeTwo256>, UncheckedExtrinsic<MultiAddress<<<MultiSignature as Verify>::Signer as IdentifyAccount>::AccountId, ()>, RuntimeCall, MultiSignature, (CheckNonZeroSender<Runtime>, CheckSpecVersion<Runtime>, CheckTxVersion<Runtime>, CheckGenesis<Runtime>, CheckMortality<Runtime>, CheckNonce<Runtime>, CheckWeight<Runtime>, ChargeTransactionPayment<Runtime>)>>, H256, u32> for Runtime

source§

fn validators() -> Vec<ValidatorId>

Get the current validators.
source§

fn validator_groups( ) -> (Vec<Vec<ValidatorIndex>>, GroupRotationInfo<BlockNumber>)

Returns the validator groups and rotation info localized based on the hypothetical child of a block whose state this is invoked on. Note that now in the GroupRotationInfo should be the successor of the number of the block.
source§

fn availability_cores() -> Vec<CoreState<Hash, BlockNumber>>

Yields information on all availability cores as relevant to the child block. Cores are either free or occupied. Free cores can have paras assigned to them.
source§

fn persisted_validation_data( para_id: ParaId, assumption: OccupiedCoreAssumption ) -> Option<PersistedValidationData<Hash, BlockNumber>>

Yields the persisted validation data for the given ParaId along with an assumption that should be used if the para currently occupies a core. Read more
source§

fn assumed_validation_data( para_id: ParaId, expected_persisted_validation_data_hash: Hash ) -> Option<(PersistedValidationData<Hash, BlockNumber>, ValidationCodeHash)>

Returns the persisted validation data for the given ParaId along with the corresponding validation code hash. Instead of accepting assumption about the para, matches the validation data hash against an expected one and yields None if they’re not equal.
source§

fn check_validation_outputs( para_id: ParaId, outputs: CandidateCommitments ) -> bool

Checks if the given validation outputs pass the acceptance criteria.
source§

fn session_index_for_child() -> SessionIndex

Returns the session index expected at a child of the block. Read more
source§

fn validation_code( para_id: ParaId, assumption: OccupiedCoreAssumption ) -> Option<ValidationCode>

Fetch the validation code used by a para, making the given OccupiedCoreAssumption. Read more
source§

fn candidate_pending_availability( para_id: ParaId ) -> Option<CommittedCandidateReceipt<Hash>>

Get the receipt of a candidate pending availability. This returns Some for any paras assigned to occupied cores in availability_cores and None otherwise.
source§

fn candidate_events() -> Vec<CandidateEvent<Hash>>

Get a vector of events concerning candidates that occurred within a block.
source§

fn session_info(index: SessionIndex) -> Option<SessionInfo>

Get the session info for the given session, if stored. Read more
source§

fn session_executor_params( session_index: SessionIndex ) -> Option<ExecutorParams>

Returns execution parameters for the session.
source§

fn dmq_contents(recipient: ParaId) -> Vec<InboundDownwardMessage<BlockNumber>>

Get all the pending inbound messages in the downward message queue for a para.
source§

fn inbound_hrmp_channels_contents( recipient: ParaId ) -> BTreeMap<ParaId, Vec<InboundHrmpMessage<BlockNumber>>>

Get the contents of all channels addressed to the given recipient. Channels that have no messages in them are also included.
source§

fn validation_code_by_hash(hash: ValidationCodeHash) -> Option<ValidationCode>

Get the validation code from its hash.
source§

fn on_chain_votes() -> Option<ScrapedOnChainVotes<Hash>>

Scrape dispute relevant from on-chain, backing votes and resolved disputes.
source§

fn submit_pvf_check_statement( stmt: PvfCheckStatement, signature: ValidatorSignature )

Submits a PVF pre-checking statement into the transaction pool. Read more
source§

fn pvfs_require_precheck() -> Vec<ValidationCodeHash>

Returns code hashes of PVFs that require pre-checking by validators in the active set. Read more
source§

fn validation_code_hash( para_id: ParaId, assumption: OccupiedCoreAssumption ) -> Option<ValidationCodeHash>

Fetch the hash of the validation code used by a para, making the given OccupiedCoreAssumption. Read more
source§

fn disputes() -> Vec<(SessionIndex, CandidateHash, DisputeState<BlockNumber>)>

Returns all onchain disputes.
source§

fn unapplied_slashes() -> Vec<(SessionIndex, CandidateHash, PendingSlashes)>

Returns a list of validators that lost a past session dispute and need to be slashed. NOTE: This function is only available since parachain host version 5.
source§

fn key_ownership_proof( validator_id: ValidatorId ) -> Option<OpaqueKeyOwnershipProof>

Returns a merkle proof of a validator session key. NOTE: This function is only available since parachain host version 5.
source§

fn submit_report_dispute_lost( dispute_proof: DisputeProof, key_ownership_proof: OpaqueKeyOwnershipProof ) -> Option<()>

Submit an unsigned extrinsic to slash validators who lost a dispute about a candidate of a past session. NOTE: This function is only available since parachain host version 5.
source§

impl PartialEq<Runtime> for Runtime

source§

fn eq(&self, other: &Runtime) -> bool

This method tests for self and other values to be equal, and is used by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

This method tests for !=. The default implementation is almost always sufficient, and should not be overridden without very good reason.
source§

impl<C> SendTransactionTypes<C> for Runtimewhere RuntimeCall: From<C>,

source§

impl SessionKeysV1<Block<Header<u32, BlakeTwo256>, UncheckedExtrinsic<MultiAddress<<<MultiSignature as Verify>::Signer as IdentifyAccount>::AccountId, ()>, RuntimeCall, MultiSignature, (CheckNonZeroSender<Runtime>, CheckSpecVersion<Runtime>, CheckTxVersion<Runtime>, CheckGenesis<Runtime>, CheckMortality<Runtime>, CheckNonce<Runtime>, CheckWeight<Runtime>, ChargeTransactionPayment<Runtime>)>>> for Runtime

source§

fn generate_session_keys(seed: Option<Vec<u8>>) -> Vec<u8>

Generate a set of session keys with optionally using the given seed. The keys should be stored within the keystore exposed via runtime externalities. Read more
source§

fn decode_session_keys(encoded: Vec<u8>) -> Option<Vec<(Vec<u8>, KeyTypeId)>>

Decode the given public session keys. Read more
source§

impl SigningTypes for Runtime

§

type Public = <MultiSignature as Verify>::Signer

A public key that is capable of identifying AccountIds. Read more
§

type Signature = MultiSignature

A matching Signature type.
source§

impl TaggedTransactionQueueV3<Block<Header<u32, BlakeTwo256>, UncheckedExtrinsic<MultiAddress<<<MultiSignature as Verify>::Signer as IdentifyAccount>::AccountId, ()>, RuntimeCall, MultiSignature, (CheckNonZeroSender<Runtime>, CheckSpecVersion<Runtime>, CheckTxVersion<Runtime>, CheckGenesis<Runtime>, CheckMortality<Runtime>, CheckNonce<Runtime>, CheckWeight<Runtime>, ChargeTransactionPayment<Runtime>)>>> for Runtime

source§

fn validate_transaction( source: TransactionSource, tx: <Block as BlockT>::Extrinsic, block_hash: <Block as BlockT>::Hash ) -> TransactionValidity

Validate the transaction. Read more
source§

impl TransactionPaymentApiV4<Block<Header<u32, BlakeTwo256>, UncheckedExtrinsic<MultiAddress<<<MultiSignature as Verify>::Signer as IdentifyAccount>::AccountId, ()>, RuntimeCall, MultiSignature, (CheckNonZeroSender<Runtime>, CheckSpecVersion<Runtime>, CheckTxVersion<Runtime>, CheckGenesis<Runtime>, CheckMortality<Runtime>, CheckNonce<Runtime>, CheckWeight<Runtime>, ChargeTransactionPayment<Runtime>)>>, u128> for Runtime

source§

impl TypeInfo for Runtime

§

type Identity = Runtime

The type identifying for which type info is provided. Read more
source§

fn type_info() -> Type

Returns the static type identifier for Self.
source§

impl ValidateUnsigned for Runtime

§

type Call = RuntimeCall

The call to validate
source§

fn pre_dispatch(call: &Self::Call) -> Result<(), TransactionValidityError>

Validate the call right before dispatch. Read more
source§

fn validate_unsigned( source: TransactionSource, call: &Self::Call ) -> TransactionValidity

Return the validity of the call Read more
source§

impl Config for Runtime

source§

impl Config for Runtime

source§

impl Config for Runtime

source§

impl Config for Runtime

source§

impl Config for Runtime

source§

impl Copy for Runtime

source§

impl Eq for Runtime

source§

impl StructuralEq for Runtime

source§

impl StructuralPartialEq for Runtime

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for Twhere T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> AuthorityDiscoveryConfig for Twhere T: Config,

source§

fn authorities() -> Vec<Public, Global>

Retrieve authority identifiers of the current authority set in canonical ordering.
source§

impl<T> Borrow<T> for Twhere T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for Twhere T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> CheckedConversion for T

source§

fn checked_from<T>(t: T) -> Option<Self>where Self: TryFrom<T>,

Convert from a value of T into an equivalent instance of Option<Self>. Read more
source§

fn checked_into<T>(self) -> Option<T>where Self: TryInto<T>,

Consume self to return Some equivalent value of Option<T>. Read more
source§

impl<T> Conv for T

source§

fn conv<T>(self) -> Twhere Self: Into<T>,

Converts self into T using Into<T>. Read more
source§

impl<T> DynClone for Twhere T: Clone,

source§

fn __clone_box(&self, _: Private) -> *mut ()

source§

impl<Q, K> Equivalent<K> for Qwhere Q: Eq + ?Sized, K: Borrow<Q> + ?Sized,

source§

fn equivalent(&self, key: &K) -> bool

Compare self to key and return true if they are equal.
source§

impl<Q, K> Equivalent<K> for Qwhere Q: Eq + ?Sized, K: Borrow<Q> + ?Sized,

source§

fn equivalent(&self, key: &K) -> bool

Checks if this value is equivalent to the given key. Read more
source§

impl<T> FmtForward for T

source§

fn fmt_binary(self) -> FmtBinary<Self>where Self: Binary,

Causes self to use its Binary implementation when Debug-formatted.
source§

fn fmt_display(self) -> FmtDisplay<Self>where Self: Display,

Causes self to use its Display implementation when Debug-formatted.
source§

fn fmt_lower_exp(self) -> FmtLowerExp<Self>where Self: LowerExp,

Causes self to use its LowerExp implementation when Debug-formatted.
source§

fn fmt_lower_hex(self) -> FmtLowerHex<Self>where Self: LowerHex,

Causes self to use its LowerHex implementation when Debug-formatted.
source§

fn fmt_octal(self) -> FmtOctal<Self>where Self: Octal,

Causes self to use its Octal implementation when Debug-formatted.
source§

fn fmt_pointer(self) -> FmtPointer<Self>where Self: Pointer,

Causes self to use its Pointer implementation when Debug-formatted.
source§

fn fmt_upper_exp(self) -> FmtUpperExp<Self>where Self: UpperExp,

Causes self to use its UpperExp implementation when Debug-formatted.
source§

fn fmt_upper_hex(self) -> FmtUpperHex<Self>where Self: UpperHex,

Causes self to use its UpperHex implementation when Debug-formatted.
source§

fn fmt_list(self) -> FmtList<Self>where &'a Self: for<'a> IntoIterator,

Formats each item in a sequence. Read more
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

source§

impl<T> Instrument for T

source§

fn instrument(self, span: Span) -> Instrumented<Self>

Instruments this type with the provided Span, returning an Instrumented wrapper. Read more
source§

fn in_current_span(self) -> Instrumented<Self>

Instruments this type with the current Span, returning an Instrumented wrapper. Read more
source§

impl<T, U> Into<U> for Twhere U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

source§

impl<T> IsType<T> for T

source§

fn from_ref(t: &T) -> &T

Cast reference.
source§

fn into_ref(&self) -> &T

Cast reference.
source§

fn from_mut(t: &mut T) -> &mut T

Cast mutable reference.
source§

fn into_mut(&mut self) -> &mut T

Cast mutable reference.
source§

impl<T, Outer> IsWrappedBy<Outer> for Twhere Outer: AsRef<T> + AsMut<T> + From<T>, T: From<Outer>,

source§

fn from_ref(outer: &Outer) -> &T

Get a reference to the inner from the outer.

source§

fn from_mut(outer: &mut Outer) -> &mut T

Get a mutable reference to the inner from the outer.

source§

impl<T> Pipe for Twhere T: ?Sized,

source§

fn pipe<R>(self, func: impl FnOnce(Self) -> R) -> Rwhere Self: Sized,

Pipes by value. This is generally the method you want to use. Read more
source§

fn pipe_ref<'a, R>(&'a self, func: impl FnOnce(&'a Self) -> R) -> Rwhere R: 'a,

Borrows self and passes that borrow into the pipe function. Read more
source§

fn pipe_ref_mut<'a, R>(&'a mut self, func: impl FnOnce(&'a mut Self) -> R) -> Rwhere R: 'a,

Mutably borrows self and passes that borrow into the pipe function. Read more
source§

fn pipe_borrow<'a, B, R>(&'a self, func: impl FnOnce(&'a B) -> R) -> Rwhere Self: Borrow<B>, B: 'a + ?Sized, R: 'a,

Borrows self, then passes self.borrow() into the pipe function. Read more
source§

fn pipe_borrow_mut<'a, B, R>( &'a mut self, func: impl FnOnce(&'a mut B) -> R ) -> Rwhere Self: BorrowMut<B>, B: 'a + ?Sized, R: 'a,

Mutably borrows self, then passes self.borrow_mut() into the pipe function. Read more
source§

fn pipe_as_ref<'a, U, R>(&'a self, func: impl FnOnce(&'a U) -> R) -> Rwhere Self: AsRef<U>, U: 'a + ?Sized, R: 'a,

Borrows self, then passes self.as_ref() into the pipe function.
source§

fn pipe_as_mut<'a, U, R>(&'a mut self, func: impl FnOnce(&'a mut U) -> R) -> Rwhere Self: AsMut<U>, U: 'a + ?Sized, R: 'a,

Mutably borrows self, then passes self.as_mut() into the pipe function.
source§

fn pipe_deref<'a, T, R>(&'a self, func: impl FnOnce(&'a T) -> R) -> Rwhere Self: Deref<Target = T>, T: 'a + ?Sized, R: 'a,

Borrows self, then passes self.deref() into the pipe function.
source§

fn pipe_deref_mut<'a, T, R>( &'a mut self, func: impl FnOnce(&'a mut T) -> R ) -> Rwhere Self: DerefMut<Target = T> + Deref, T: 'a + ?Sized, R: 'a,

Mutably borrows self, then passes self.deref_mut() into the pipe function.
source§

impl<T> Pointable for T

source§

const ALIGN: usize = mem::align_of::<T>()

The alignment of pointer.
§

type Init = T

The type for initializers.
source§

unsafe fn init(init: <T as Pointable>::Init) -> usize

Initializes a with the given initializer. Read more
source§

unsafe fn deref<'a>(ptr: usize) -> &'a T

Dereferences the given pointer. Read more
source§

unsafe fn deref_mut<'a>(ptr: usize) -> &'a mut T

Mutably dereferences the given pointer. Read more
source§

unsafe fn drop(ptr: usize)

Drops the object pointed to by the given pointer. Read more
source§

impl<T> Same<T> for T

§

type Output = T

Should always be Self
source§

impl<T> SaturatedConversion for T

source§

fn saturated_from<T>(t: T) -> Selfwhere Self: UniqueSaturatedFrom<T>,

Convert from a value of T into an equivalent instance of Self. Read more
source§

fn saturated_into<T>(self) -> Twhere Self: UniqueSaturatedInto<T>,

Consume self to return an equivalent value of T. Read more
source§

impl<T> Tap for T

source§

fn tap(self, func: impl FnOnce(&Self)) -> Self

Immutable access to a value. Read more
source§

fn tap_mut(self, func: impl FnOnce(&mut Self)) -> Self

Mutable access to a value. Read more
source§

fn tap_borrow<B>(self, func: impl FnOnce(&B)) -> Selfwhere Self: Borrow<B>, B: ?Sized,

Immutable access to the Borrow<B> of a value. Read more
source§

fn tap_borrow_mut<B>(self, func: impl FnOnce(&mut B)) -> Selfwhere Self: BorrowMut<B>, B: ?Sized,

Mutable access to the BorrowMut<B> of a value. Read more
source§

fn tap_ref<R>(self, func: impl FnOnce(&R)) -> Selfwhere Self: AsRef<R>, R: ?Sized,

Immutable access to the AsRef<R> view of a value. Read more
source§

fn tap_ref_mut<R>(self, func: impl FnOnce(&mut R)) -> Selfwhere Self: AsMut<R>, R: ?Sized,

Mutable access to the AsMut<R> view of a value. Read more
source§

fn tap_deref<T>(self, func: impl FnOnce(&T)) -> Selfwhere Self: Deref<Target = T>, T: ?Sized,

Immutable access to the Deref::Target of a value. Read more
source§

fn tap_deref_mut<T>(self, func: impl FnOnce(&mut T)) -> Selfwhere Self: DerefMut<Target = T> + Deref, T: ?Sized,

Mutable access to the Deref::Target of a value. Read more
source§

fn tap_dbg(self, func: impl FnOnce(&Self)) -> Self

Calls .tap() only in debug builds, and is erased in release builds.
source§

fn tap_mut_dbg(self, func: impl FnOnce(&mut Self)) -> Self

Calls .tap_mut() only in debug builds, and is erased in release builds.
source§

fn tap_borrow_dbg<B>(self, func: impl FnOnce(&B)) -> Selfwhere Self: Borrow<B>, B: ?Sized,

Calls .tap_borrow() only in debug builds, and is erased in release builds.
source§

fn tap_borrow_mut_dbg<B>(self, func: impl FnOnce(&mut B)) -> Selfwhere Self: BorrowMut<B>, B: ?Sized,

Calls .tap_borrow_mut() only in debug builds, and is erased in release builds.
source§

fn tap_ref_dbg<R>(self, func: impl FnOnce(&R)) -> Selfwhere Self: AsRef<R>, R: ?Sized,

Calls .tap_ref() only in debug builds, and is erased in release builds.
source§

fn tap_ref_mut_dbg<R>(self, func: impl FnOnce(&mut R)) -> Selfwhere Self: AsMut<R>, R: ?Sized,

Calls .tap_ref_mut() only in debug builds, and is erased in release builds.
source§

fn tap_deref_dbg<T>(self, func: impl FnOnce(&T)) -> Selfwhere Self: Deref<Target = T>, T: ?Sized,

Calls .tap_deref() only in debug builds, and is erased in release builds.
source§

fn tap_deref_mut_dbg<T>(self, func: impl FnOnce(&mut T)) -> Selfwhere Self: DerefMut<Target = T> + Deref, T: ?Sized,

Calls .tap_deref_mut() only in debug builds, and is erased in release builds.
source§

impl<T> ToOwned for Twhere T: Clone,

§

type Owned = T

The resulting type after obtaining ownership.
source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
source§

impl<T> TryConv for T

source§

fn try_conv<T>(self) -> Result<T, Self::Error>where Self: TryInto<T>,

Attempts to convert self into T using TryInto<T>. Read more
source§

impl<T, U> TryFrom<U> for Twhere U: Into<T>,

§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for Twhere U: TryFrom<T>,

§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
source§

impl<S, T> UncheckedInto<T> for Swhere T: UncheckedFrom<S>,

source§

fn unchecked_into(self) -> T

The counterpart to unchecked_from.
source§

impl<T, S> UniqueSaturatedInto<T> for Swhere T: Bounded, S: TryInto<T>,

source§

fn unique_saturated_into(self) -> T

Consume self to return an equivalent value of T.
source§

impl<V, T> VZip<V> for Twhere V: MultiLane<T>,

source§

fn vzip(self) -> V

source§

impl<T> WithSubscriber for T

source§

fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>where S: Into<Dispatch>,

Attaches the provided Subscriber to this type, returning a WithDispatch wrapper. Read more
source§

fn with_current_subscriber(self) -> WithDispatch<Self>

Attaches the current default Subscriber to this type, returning a WithDispatch wrapper. Read more
source§

impl<T> JsonSchemaMaybe for T

source§

impl<T> MaybeDebug for Twhere T: Debug,

source§

impl<T> MaybeRefUnwindSafe for Twhere T: RefUnwindSafe,

source§

impl<T> Member for Twhere T: Send + Sync + Debug + Eq + PartialEq<T> + Clone + 'static,

source§

impl<T> StaticTypeInfo for Twhere T: TypeInfo + 'static,