Struct westend_runtime::Runtime
source · pub struct Runtime;
Implementations§
source§impl Runtime
impl Runtime
pub fn metadata() -> RuntimeMetadataPrefixed
pub fn metadata_at_version(version: u32) -> Option<OpaqueMetadata>
pub fn metadata_versions() -> Vec<u32>
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>, CheckMetadataHash<Runtime>)>>, <<MultiSignature as Verify>::Signer as IdentifyAccount>::AccountId, u32> for Runtime
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>, CheckMetadataHash<Runtime>)>>, <<MultiSignature as Verify>::Signer as IdentifyAccount>::AccountId, u32> for Runtime
source§fn account_nonce(account: AccountId) -> Nonce
fn account_nonce(account: AccountId) -> Nonce
Get current account nonce of given
AccountId
.source§impl AsSystemOriginSigner<<Runtime as Config>::AccountId> for RuntimeOrigin
impl AsSystemOriginSigner<<Runtime as Config>::AccountId> for RuntimeOrigin
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>, CheckMetadataHash<Runtime>)>>> for Runtime
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>, CheckMetadataHash<Runtime>)>>> for Runtime
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>, CheckMetadataHash<Runtime>)>>> for Runtime
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>, CheckMetadataHash<Runtime>)>>> for Runtime
source§fn configuration() -> BabeConfiguration
fn configuration() -> BabeConfiguration
Return the configuration for BABE.
source§fn current_epoch_start() -> Slot
fn current_epoch_start() -> Slot
Returns the slot that started the current epoch.
source§fn current_epoch() -> Epoch
fn current_epoch() -> Epoch
Returns information regarding the current epoch.
source§fn next_epoch() -> Epoch
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>
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<()>
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 BeefyApiV5<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>, CheckMetadataHash<Runtime>)>>, Public> for Runtime
impl BeefyApiV5<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>, CheckMetadataHash<Runtime>)>>, Public> for Runtime
source§fn beefy_genesis() -> Option<BlockNumber>
fn beefy_genesis() -> Option<BlockNumber>
Return the block number where BEEFY consensus is enabled/started
source§fn validator_set() -> Option<ValidatorSet<BeefyId>>
fn validator_set() -> Option<ValidatorSet<BeefyId>>
Return the current active BEEFY validator set
source§fn submit_report_double_voting_unsigned_extrinsic(
equivocation_proof: DoubleVotingProof<BlockNumber, BeefyId, BeefySignature>,
key_owner_proof: OpaqueKeyOwnershipProof,
) -> Option<()>
fn submit_report_double_voting_unsigned_extrinsic( equivocation_proof: DoubleVotingProof<BlockNumber, BeefyId, BeefySignature>, key_owner_proof: OpaqueKeyOwnershipProof, ) -> Option<()>
Submits an unsigned extrinsic to report a double voting equivocation. The caller
must provide the double voting 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 submit_report_fork_voting_unsigned_extrinsic(
equivocation_proof: ForkVotingProof<<Block as BlockT>::Header, BeefyId, OpaqueValue>,
key_owner_proof: OpaqueKeyOwnershipProof,
) -> Option<()>
fn submit_report_fork_voting_unsigned_extrinsic( equivocation_proof: ForkVotingProof<<Block as BlockT>::Header, BeefyId, OpaqueValue>, key_owner_proof: OpaqueKeyOwnershipProof, ) -> Option<()>
Submits an unsigned extrinsic to report a fork voting equivocation. The caller
must provide the fork voting proof (the ancestry proof should be obtained using
generate_ancestry_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 submit_report_future_block_voting_unsigned_extrinsic(
equivocation_proof: FutureBlockVotingProof<BlockNumber, BeefyId>,
key_owner_proof: OpaqueKeyOwnershipProof,
) -> Option<()>
fn submit_report_future_block_voting_unsigned_extrinsic( equivocation_proof: FutureBlockVotingProof<BlockNumber, BeefyId>, key_owner_proof: OpaqueKeyOwnershipProof, ) -> Option<()>
Submits an unsigned extrinsic to report a future block voting equivocation. The caller
must provide the future block voting 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>
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§fn generate_ancestry_proof(
prev_block_number: BlockNumber,
best_known_block_number: Option<BlockNumber>,
) -> Option<OpaqueValue>
fn generate_ancestry_proof( prev_block_number: BlockNumber, best_known_block_number: Option<BlockNumber>, ) -> Option<OpaqueValue>
Generates a proof that the
prev_block_number
is part of the canonical chain at
best_known_block_number
.source§impl BenchmarkV2<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>, CheckMetadataHash<Runtime>)>>> for Runtime
impl BenchmarkV2<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>, CheckMetadataHash<Runtime>)>>> for Runtime
source§fn benchmark_metadata(extra: bool) -> (Vec<BenchmarkList>, Vec<StorageInfo>)
fn benchmark_metadata(extra: bool) -> (Vec<BenchmarkList>, Vec<StorageInfo>)
Get the benchmark metadata available for this runtime. Read more
source§fn dispatch_benchmark(
config: BenchmarkConfig,
) -> Result<Vec<BenchmarkBatch>, String>
fn dispatch_benchmark( config: BenchmarkConfig, ) -> Result<Vec<BenchmarkBatch>, String>
Dispatch the given benchmark.
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>, CheckMetadataHash<Runtime>)>>> for Runtime
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>, CheckMetadataHash<Runtime>)>>> for Runtime
source§fn apply_extrinsic(
extrinsic: <Block as BlockT>::Extrinsic,
) -> ApplyExtrinsicResult
fn apply_extrinsic( extrinsic: <Block as BlockT>::Extrinsic, ) -> ApplyExtrinsicResult
Apply the given extrinsic. Read more
source§fn inherent_extrinsics(data: InherentData) -> Vec<<Block as BlockT>::Extrinsic>
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
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
impl CallerTrait<<Runtime as Config>::AccountId> for OriginCaller
source§fn into_system(self) -> Option<RawOrigin<<Runtime as Config>::AccountId>>
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>>
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>
fn as_signed(&self) -> Option<&AccountId>
Extract the signer from it if a system
Signed
origin, None
otherwise.source§impl Config<Instance1> for Runtime
impl Config<Instance1> for Runtime
§type RuntimeEvent = RuntimeEvent
type RuntimeEvent = RuntimeEvent
The overarching event type.
§type ScoreProvider = Pallet<Runtime>
type ScoreProvider = Pallet<Runtime>
Something that provides the scores of ids.
§type WeightInfo = WeightInfo<Runtime>
type WeightInfo = WeightInfo<Runtime>
Weight information for extrinsics in this pallet.
§type BagThresholds = BagThresholds
type BagThresholds = BagThresholds
The list of thresholds separating the various bags. Read more
source§impl Config for Runtime
impl Config for Runtime
§type TransactAsset = Pallet<Runtime>
type TransactAsset = Pallet<Runtime>
The type of
fungible
that is being used under the hood. Read moretype RuntimeCall = RuntimeCall
source§fn worst_case_response() -> (u64, Response)
fn worst_case_response() -> (u64, Response)
The response which causes the most runtime weight.
source§fn worst_case_asset_exchange() -> Result<(Assets, Assets), BenchmarkError>
fn worst_case_asset_exchange() -> Result<(Assets, Assets), BenchmarkError>
The pair of asset collections which causes the most runtime weight if demanded to be
exchanged. Read more
source§fn universal_alias() -> Result<(Location, Junction), BenchmarkError>
fn universal_alias() -> Result<(Location, Junction), BenchmarkError>
A
(Location, Junction)
that is one of the UniversalAliases
configured by the
XCM executor. Read moresource§fn subscribe_origin() -> Result<Location, BenchmarkError>
fn subscribe_origin() -> Result<Location, BenchmarkError>
A valid
Location
we can successfully subscribe to. Read moresource§fn claimable_asset() -> Result<(Location, Location, Assets), BenchmarkError>
fn claimable_asset() -> Result<(Location, Location, Assets), BenchmarkError>
Return an origin, ticket, and assets that can be trapped and claimed.
source§fn fee_asset() -> Result<Asset, BenchmarkError>
fn fee_asset() -> Result<Asset, BenchmarkError>
Asset used to pay for fees. Used to buy weight in benchmarks, for example in
refund_surplus
.source§fn unlockable_asset() -> Result<(Location, Location, Asset), BenchmarkError>
fn unlockable_asset() -> Result<(Location, Location, Asset), BenchmarkError>
Return an unlocker, owner and assets that can be locked and unlocked.
source§fn export_message_origin_and_destination() -> Result<(Location, NetworkId, InteriorLocation), BenchmarkError>
fn export_message_origin_and_destination() -> Result<(Location, NetworkId, InteriorLocation), BenchmarkError>
A
(Location, NetworkId, InteriorLocation)
we can successfully export message
to. Read moresource§fn alias_origin() -> Result<(Location, Location), BenchmarkError>
fn alias_origin() -> Result<(Location, Location), BenchmarkError>
source§fn valid_pallet() -> PalletInfoData
fn valid_pallet() -> PalletInfoData
source§impl Config for Runtime
impl Config for Runtime
§type RuntimeEvent = RuntimeEvent
type RuntimeEvent = RuntimeEvent
The overarching event type.
§type LeasePeriod = LeasePeriod
type LeasePeriod = LeasePeriod
The number of blocks over which a single period lasts.
§type LeaseOffset = ()
type LeaseOffset = ()
The number of blocks to offset each lease period by.
§type ForceOrigin = EitherOf<EnsureRoot<<Runtime as Config>::AccountId>, LeaseAdmin>
type ForceOrigin = EitherOf<EnsureRoot<<Runtime as Config>::AccountId>, LeaseAdmin>
The origin which may forcibly create or clear leases. Root can always do this.
§type WeightInfo = WeightInfo<Runtime>
type WeightInfo = WeightInfo<Runtime>
Weight Information for the Extrinsics in the Pallet
source§impl Config for Runtime
impl Config for Runtime
§type TransactAsset = Pallet<Runtime>
type TransactAsset = Pallet<Runtime>
The type of
fungible
that is being used under the hood. Read more§type CheckedAccount = LocalCheckAccount
type CheckedAccount = LocalCheckAccount
The account used to check assets being teleported.
§type TrustedTeleporter = TrustedTeleporter
type TrustedTeleporter = TrustedTeleporter
A trusted location which we allow teleports from, and the asset we allow to teleport.
§type TrustedReserve = TrustedReserve
type TrustedReserve = TrustedReserve
A trusted location where reserve assets are stored, and the asset we allow to be
reserves.
source§impl Config for Runtime
impl Config for Runtime
§type RuntimeEvent = RuntimeEvent
type RuntimeEvent = RuntimeEvent
The overarching event type.
source§impl Config for Runtime
impl Config for Runtime
§type RuntimeEvent = RuntimeEvent
type RuntimeEvent = RuntimeEvent
The overarching event type.
§type Deposit = ConstU128<{ UNITS }>
type Deposit = ConstU128<{ UNITS }>
Deposit to take for unstaking, to make sure we’re able to slash the it in order to cover
the costs of resources on unsuccessful unstake.
§type ControlOrigin = EnsureRoot<<<MultiSignature as Verify>::Signer as IdentifyAccount>::AccountId>
type ControlOrigin = EnsureRoot<<<MultiSignature as Verify>::Signer as IdentifyAccount>::AccountId>
The origin that can control this pallet, in other words invoke
Pallet::control
.§type MaxErasToCheckPerBlock = ConstU32<1>
type MaxErasToCheckPerBlock = ConstU32<1>
§type WeightInfo = WeightInfo<Runtime>
type WeightInfo = WeightInfo<Runtime>
The weight information of this pallet.
source§impl Config for Runtime
impl Config for Runtime
§type FindAuthor = FindAccountFromAuthorIndex<Runtime, Pallet<Runtime>>
type FindAuthor = FindAccountFromAuthorIndex<Runtime, Pallet<Runtime>>
Find the author of a block.
§type EventHandler = Pallet<Runtime>
type EventHandler = Pallet<Runtime>
An event handler for authored blocks.
source§impl Config for Runtime
impl Config for Runtime
§type RuntimeEvent = RuntimeEvent
type RuntimeEvent = RuntimeEvent
The overarching event type.
§type BasicDeposit = BasicDeposit
type BasicDeposit = BasicDeposit
The amount held on deposit for a registered identity.
§type ByteDeposit = ByteDeposit
type ByteDeposit = ByteDeposit
The amount held on deposit per encoded byte for a registered identity.
§type UsernameDeposit = UsernameDeposit
type UsernameDeposit = UsernameDeposit
The amount held on deposit per registered username. This value should change only in
runtime upgrades with proper migration of existing deposits.
§type SubAccountDeposit = SubAccountDeposit
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
type MaxSubAccounts = MaxSubAccounts
The maximum number of sub-accounts allowed per identified account.
§type IdentityInformation = IdentityInfo<MaxAdditionalFields>
type IdentityInformation = IdentityInfo<MaxAdditionalFields>
Structure holding information about an identity.
§type MaxRegistrars = MaxRegistrars
type MaxRegistrars = MaxRegistrars
Maximum number of registrars allowed in the system. Needed to bound the complexity
of, e.g., updating judgements.
§type ForceOrigin = EitherOf<EnsureRoot<<Runtime as Config>::AccountId>, GeneralAdmin>
type ForceOrigin = EitherOf<EnsureRoot<<Runtime as Config>::AccountId>, GeneralAdmin>
The origin which may forcibly set or remove a name. Root can always do this.
§type RegistrarOrigin = EitherOf<EnsureRoot<<Runtime as Config>::AccountId>, GeneralAdmin>
type RegistrarOrigin = EitherOf<EnsureRoot<<Runtime as Config>::AccountId>, GeneralAdmin>
The origin which may add or remove registrars. Root can always do this.
§type OffchainSignature = MultiSignature
type OffchainSignature = MultiSignature
Signature type for pre-authorizing usernames off-chain. Read more
§type SigningPublicKey = <MultiSignature as Verify>::Signer
type SigningPublicKey = <MultiSignature as Verify>::Signer
Public key that corresponds to an on-chain
Self::AccountId
.§type UsernameAuthorityOrigin = EnsureRoot<<Runtime as Config>::AccountId>
type UsernameAuthorityOrigin = EnsureRoot<<Runtime as Config>::AccountId>
The origin which may add or remove username authorities. Root can always do this.
§type PendingUsernameExpiration = ConstU32<{ 7 * DAYS }>
type PendingUsernameExpiration = ConstU32<{ 7 * DAYS }>
The number of blocks within which a username grant must be accepted.
§type UsernameGracePeriod = ConstU32<{ 30 * DAYS }>
type UsernameGracePeriod = ConstU32<{ 30 * DAYS }>
The number of blocks that must pass to enable the permanent deletion of a username by
its respective authority.
§type MaxSuffixLength = ConstU32<7>
type MaxSuffixLength = ConstU32<7>
The maximum length of a suffix.
§type MaxUsernameLength = ConstU32<32>
type MaxUsernameLength = ConstU32<32>
The maximum length of a username, including its suffix and any system-added delimiters.
§type WeightInfo = WeightInfo<Runtime>
type WeightInfo = WeightInfo<Runtime>
Weight information for extrinsics in this pallet.
source§impl Config for Runtime
impl Config for Runtime
§type RuntimeEvent = RuntimeEvent
type RuntimeEvent = RuntimeEvent
The overarching event type.
§type PalletId = DelegatedStakingPalletId
type PalletId = DelegatedStakingPalletId
Injected identifier for the pallet.
§type SlashRewardFraction = SlashRewardFraction
type SlashRewardFraction = SlashRewardFraction
Fraction of the slash that is rewarded to the caller of pending slash to the agent.
§type RuntimeHoldReason = RuntimeHoldReason
type RuntimeHoldReason = RuntimeHoldReason
Overarching hold reason.
§type CoreStaking = Pallet<Runtime>
type CoreStaking = Pallet<Runtime>
Core staking implementation.
source§impl Config for Runtime
impl Config for Runtime
§type Randomness = RandomnessFromOneEpochAgo<Runtime>
type Randomness = RandomnessFromOneEpochAgo<Runtime>
A randomness beacon.
§type ForceOrigin = EnsureRoot<<<MultiSignature as Verify>::Signer as IdentifyAccount>::AccountId>
type ForceOrigin = EnsureRoot<<<MultiSignature as Verify>::Signer as IdentifyAccount>::AccountId>
An origin which is allowed to force updates to parachains.
§type WeightInfo = WeightInfo<Runtime>
type WeightInfo = WeightInfo<Runtime>
Weight information for extrinsics in this pallet.
§type CoretimeOnNewSession = Pallet<Runtime>
type CoretimeOnNewSession = Pallet<Runtime>
Temporary hack to call
Coretime::on_new_session
on chains that support Coretime
or
to disable it on the ones that don’t support it. Can be removed and replaced by a simple
bound to coretime::Config
once all chains support it.source§impl Config for Runtime
impl Config for Runtime
type RuntimeEvent = RuntimeEvent
type DisputesHandler = Pallet<Runtime>
type RewardValidators = RewardValidatorsWithEraPoints<Runtime>
§type MessageQueue = Pallet<Runtime>
type MessageQueue = Pallet<Runtime>
The system message queue. Read more
§type WeightInfo = WeightInfo<Runtime>
type WeightInfo = WeightInfo<Runtime>
Weight info for the calls of this pallet.
source§impl Config for Runtime
impl Config for Runtime
§type RuntimeEvent = RuntimeEvent
type RuntimeEvent = RuntimeEvent
The overarching event type.
§type SendXcmOrigin = EnsureXcmOrigin<RuntimeOrigin, (OriginToPluralityVoice<RuntimeOrigin, GeneralAdmin, GeneralAdminBodyId>, SignedToAccountId32<RuntimeOrigin, <<MultiSignature as Verify>::Signer as IdentifyAccount>::AccountId, ThisNetwork>)>
type SendXcmOrigin = EnsureXcmOrigin<RuntimeOrigin, (OriginToPluralityVoice<RuntimeOrigin, GeneralAdmin, GeneralAdminBodyId>, SignedToAccountId32<RuntimeOrigin, <<MultiSignature as Verify>::Signer as IdentifyAccount>::AccountId, ThisNetwork>)>
Required origin for sending XCM messages. If successful, it resolves to
Location
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>>>>
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, (OriginToPluralityVoice<RuntimeOrigin, GeneralAdmin, GeneralAdminBodyId>, SignedToAccountId32<RuntimeOrigin, <<MultiSignature as Verify>::Signer as IdentifyAccount>::AccountId, ThisNetwork>)>
type ExecuteXcmOrigin = EnsureXcmOrigin<RuntimeOrigin, (OriginToPluralityVoice<RuntimeOrigin, GeneralAdmin, GeneralAdminBodyId>, 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
Location
which exists as an interior location
within this chain’s XCM context.§type XcmExecuteFilter = Everything
type XcmExecuteFilter = Everything
Our XCM filter which messages to be executed using
XcmExecutor
must pass.§type XcmExecutor = XcmExecutor<XcmConfig>
type XcmExecutor = XcmExecutor<XcmConfig>
Something to execute an XCM message.
§type XcmTeleportFilter = Everything
type XcmTeleportFilter = Everything
Our XCM filter which messages to be teleported using the dedicated extrinsic must pass.
§type XcmReserveTransferFilter = Everything
type XcmReserveTransferFilter = Everything
Our XCM filter which messages to be reserve-transferred using the dedicated extrinsic
must pass.
§type Weigher = WeightInfoBounds<WestendXcmWeight<RuntimeCall>, RuntimeCall, MaxInstructions>
type Weigher = WeightInfoBounds<WestendXcmWeight<RuntimeCall>, RuntimeCall, MaxInstructions>
Means of measuring the weight consumed by an XCM message locally.
§type UniversalLocation = UniversalLocation
type UniversalLocation = UniversalLocation
This chain’s Universal Location.
§type RuntimeOrigin = RuntimeOrigin
type RuntimeOrigin = RuntimeOrigin
The runtime
Origin
type.§type RuntimeCall = RuntimeCall
type RuntimeCall = RuntimeCall
The runtime
Call
type.const VERSION_DISCOVERY_QUEUE_SIZE: u32 = 100u32
§type AdvertisedXcmVersion = CurrentXcmVersion
type AdvertisedXcmVersion = CurrentXcmVersion
The latest supported version that we advertise. Generally just set it to
pallet_xcm::CurrentXcmVersion
.§type CurrencyMatcher = IsConcrete<TokenLocation>
type CurrencyMatcher = IsConcrete<TokenLocation>
The
Asset
matcher for Currency
.§type TrustedLockers = ()
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>, HashedDescription<<<MultiSignature as Verify>::Signer as IdentifyAccount>::AccountId, DescribeFamily<(DescribeTerminus, DescribePalletTerminal, DescribeAccountId32Terminal, DescribeAccountKey20Terminal, DescribeTreasuryVoiceTerminal, DescribeBodyTerminal)>>)
type SovereignAccountOf = (ChildParachainConvertsVia<Id, <<MultiSignature as Verify>::Signer as IdentifyAccount>::AccountId>, AccountId32Aliases<ThisNetwork, <<MultiSignature as Verify>::Signer as IdentifyAccount>::AccountId>, HashedDescription<<<MultiSignature as Verify>::Signer as IdentifyAccount>::AccountId, DescribeFamily<(DescribeTerminus, DescribePalletTerminal, DescribeAccountId32Terminal, DescribeAccountKey20Terminal, DescribeTreasuryVoiceTerminal, DescribeBodyTerminal)>>)
How to get an
AccountId
value from a Location
, useful for handling asset locks.§type MaxLockers = ConstU32<8>
type MaxLockers = ConstU32<8>
The maximum number of local XCM locks that a single account may have.
§type MaxRemoteLockConsumers = ConstU32<0>
type MaxRemoteLockConsumers = ConstU32<0>
The maximum number of consumers a single remote lock may have.
§type RemoteLockConsumerIdentifier = ()
type RemoteLockConsumerIdentifier = ()
The ID type for local consumers of remote locks.
§type WeightInfo = WeightInfo<Runtime>
type WeightInfo = WeightInfo<Runtime>
Weight information for extrinsics in this pallet.
§type AdminOrigin = EnsureRoot<<<MultiSignature as Verify>::Signer as IdentifyAccount>::AccountId>
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
impl Config for Runtime
§type AccountIdConverter = (ChildParachainConvertsVia<Id, <<MultiSignature as Verify>::Signer as IdentifyAccount>::AccountId>, AccountId32Aliases<ThisNetwork, <<MultiSignature as Verify>::Signer as IdentifyAccount>::AccountId>, HashedDescription<<<MultiSignature as Verify>::Signer as IdentifyAccount>::AccountId, DescribeFamily<(DescribeTerminus, DescribePalletTerminal, DescribeAccountId32Terminal, DescribeAccountKey20Terminal, DescribeTreasuryVoiceTerminal, DescribeBodyTerminal)>>)
type AccountIdConverter = (ChildParachainConvertsVia<Id, <<MultiSignature as Verify>::Signer as IdentifyAccount>::AccountId>, AccountId32Aliases<ThisNetwork, <<MultiSignature as Verify>::Signer as IdentifyAccount>::AccountId>, HashedDescription<<<MultiSignature as Verify>::Signer as IdentifyAccount>::AccountId, DescribeFamily<(DescribeTerminus, DescribePalletTerminal, DescribeAccountId32Terminal, DescribeAccountKey20Terminal, DescribeTreasuryVoiceTerminal, DescribeBodyTerminal)>>)
A converter between a location to a sovereign account.
§type DeliveryHelper = ToParachainDeliveryHelper<XcmConfig, ExistentialDepositAsset, ExponentialPrice<FeeAssetId, BaseDeliveryFee, TransactionByteFee, Pallet<Runtime>>, AssetHubParaId, Pallet<Runtime>>
type DeliveryHelper = ToParachainDeliveryHelper<XcmConfig, ExistentialDepositAsset, ExponentialPrice<FeeAssetId, BaseDeliveryFee, TransactionByteFee, Pallet<Runtime>>, AssetHubParaId, Pallet<Runtime>>
Helper that ensures successful delivery for XCM instructions which need
SendXcm
.source§fn valid_destination() -> Result<Location, BenchmarkError>
fn valid_destination() -> Result<Location, BenchmarkError>
Does any necessary setup to create a valid destination for XCM messages.
Returns that destination’s location to be used in benchmarks.
source§impl Config for Runtime
impl Config for Runtime
§type RuntimeEvent = RuntimeEvent
type RuntimeEvent = RuntimeEvent
The overarching event type.
§type RuntimeCall = RuntimeCall
type RuntimeCall = RuntimeCall
The overarching call type.
§type DepositBase = DepositBase
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
type DepositFactor = DepositFactor
The amount of currency needed per unit threshold when creating a multisig execution. Read more
§type MaxSignatories = MaxSignatories
type MaxSignatories = MaxSignatories
The maximum amount of signatories allowed in the multisig.
§type WeightInfo = WeightInfo<Runtime>
type WeightInfo = WeightInfo<Runtime>
Weight information for extrinsics in this pallet.
§type BlockNumberProvider = Pallet<Runtime>
type BlockNumberProvider = Pallet<Runtime>
Provider for the block number. Normally this is the
frame_system
pallet.source§impl Config for Runtime
impl Config for Runtime
type RuntimeEvent = RuntimeEvent
§type WeightInfo = WeightInfo<Runtime>
type WeightInfo = WeightInfo<Runtime>
Weight information for extrinsics in this pallet.
type UnsignedPriority = ParasUnsignedPriority
§type QueueFootprinter = Pallet<Runtime>
type QueueFootprinter = Pallet<Runtime>
Retrieve how many UMP messages are enqueued for this para-chain. Read more
type NextSessionRotation = Pallet<Runtime>
§type AssignCoretime = Pallet<Runtime>
type AssignCoretime = Pallet<Runtime>
Runtime hook for assigning coretime for a given parachain. Read more
source§impl Config for Runtime
impl Config for Runtime
§type RuntimeEvent = RuntimeEvent
type RuntimeEvent = RuntimeEvent
The event type of this module.
§type WeightInfo = ()
type WeightInfo = ()
Weights for this pallet.
§type MaxAuthorities = MaxAuthorities
type MaxAuthorities = MaxAuthorities
Max Authorities in use
§type MaxNominators = MaxNominators
type MaxNominators = MaxNominators
The maximum number of nominators for each validator.
§type MaxSetIdSessionEntries = MaxSetIdSessionEntries
type MaxSetIdSessionEntries = MaxSetIdSessionEntries
The maximum number of entries to keep in the set id to session index mapping. Read more
§type KeyOwnerProof = MembershipProof
type KeyOwnerProof = MembershipProof
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>
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
impl Config for Runtime
§type ValidatorSet = Pallet<Runtime>
type ValidatorSet = Pallet<Runtime>
A type for retrieving
AccountId
s 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
impl Config for Runtime
§type RuntimeEvent = RuntimeEvent
type RuntimeEvent = RuntimeEvent
The overarching event type.
§type EndingPeriod = EndingPeriod
type EndingPeriod = EndingPeriod
The number of blocks over which an auction may be retroactively ended.
§type SampleLength = SampleLength
type SampleLength = SampleLength
The length of each sample to take during the ending period. Read more
§type Randomness = RandomnessFromOneEpochAgo<Runtime>
type Randomness = RandomnessFromOneEpochAgo<Runtime>
Something that provides randomness in the runtime.
§type InitiateOrigin = EitherOf<EnsureRoot<<Runtime as Config>::AccountId>, AuctionAdmin>
type InitiateOrigin = EitherOf<EnsureRoot<<Runtime as Config>::AccountId>, AuctionAdmin>
The origin which may initiate auctions.
§type WeightInfo = WeightInfo<Runtime>
type WeightInfo = WeightInfo<Runtime>
Weight Information for the Extrinsics in the Pallet
source§impl Config for Runtime
impl Config for Runtime
type RuntimeEvent = RuntimeEvent
§type PalletId = CrowdloanId
type PalletId = CrowdloanId
PalletId
for the crowdloan pallet. An appropriate value could be
PalletId(*b"py/cfund")
§type SubmissionDeposit = SubmissionDeposit
type SubmissionDeposit = SubmissionDeposit
The amount to be held on deposit by the depositor of a crowdloan.
§type MinContribution = MinContribution
type MinContribution = MinContribution
The minimum amount that may be contributed into a crowdloan. Should almost certainly be
at least
ExistentialDeposit
.§type RemoveKeysLimit = RemoveKeysLimit
type RemoveKeysLimit = RemoveKeysLimit
Max number of storage keys to remove per extrinsic call.
§type Registrar = Pallet<Runtime>
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>
type Auctioneer = Pallet<Runtime>
The type representing the auctioning system.
§type MaxMemoLength = MaxMemoLength
type MaxMemoLength = MaxMemoLength
The maximum length for the memo attached to a crowdloan contribution.
§type WeightInfo = WeightInfo<Runtime>
type WeightInfo = WeightInfo<Runtime>
Weight Information for the Extrinsics in the Pallet
source§impl Config for Runtime
impl Config for Runtime
§type LeafVersion = LeafVersion
type LeafVersion = LeafVersion
Current leaf version. Read more
§type BeefyAuthorityToMerkleLeaf = BeefyEcdsaToEthereum
type BeefyAuthorityToMerkleLeaf = BeefyEcdsaToEthereum
Convert BEEFY AuthorityId to a form that would end up in the Merkle Tree. Read more
§type BeefyDataProvider = ParaHeadsRootProvider
type BeefyDataProvider = ParaHeadsRootProvider
Retrieve arbitrary data that should be added to the mmr leaf
type WeightInfo = WeightInfo<Runtime>
source§impl Config for Runtime
impl Config for Runtime
§type RuntimeEvent = RuntimeEvent
type RuntimeEvent = RuntimeEvent
The overarching event type.
§type HeapSize = MessageQueueHeapSize
type HeapSize = MessageQueueHeapSize
The size of the page; this implies the maximum message size which can be sent. Read more
§type MaxStale = MessageQueueMaxStale
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
type ServiceWeight = MessageQueueServiceWeight
The amount of weight (if any) which should be provided to the message queue for
servicing enqueued items
on_initialize
. Read more§type IdleMaxServiceWeight = MessageQueueServiceWeight
type IdleMaxServiceWeight = MessageQueueServiceWeight
The maximum amount of weight (if any) to be used from remaining weight
on_idle
which
should be provided to the message queue for servicing enqueued items on_idle
.
Useful for parachains to process messages at the same block they are received. Read more§type MessageProcessor = NoopMessageProcessor<AggregateMessageOrigin>
type MessageProcessor = NoopMessageProcessor<AggregateMessageOrigin>
Processor for a message. Read more
§type QueueChangeHandler = Pallet<Runtime>
type QueueChangeHandler = Pallet<Runtime>
Code to be called when a message queue changes - either with items introduced or
removed.
§type QueuePausedQuery = ()
type QueuePausedQuery = ()
Queried by the pallet to check whether a queue can be serviced. Read more
§type WeightInfo = WeightInfo<Runtime>
type WeightInfo = WeightInfo<Runtime>
Weight information for extrinsics in this pallet.
source§impl Config for Runtime
impl Config for Runtime
§type RuntimeOrigin = RuntimeOrigin
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
type RuntimeEvent = RuntimeEvent
The overarching event type.
§type OnSwap = (Pallet<Runtime>, Pallet<Runtime>, SwapLeases)
type OnSwap = (Pallet<Runtime>, Pallet<Runtime>, SwapLeases)
Runtime hook for when a lease holding parachain and on-demand parachain swap.
§type ParaDeposit = ParaDeposit
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 = RegistrarDataDepositPerByte
type DataDepositPerByte = RegistrarDataDepositPerByte
The deposit to be paid per byte stored on chain.
§type WeightInfo = WeightInfo<Runtime>
type WeightInfo = WeightInfo<Runtime>
Weight Information for the Extrinsics in the Pallet
source§impl Config for Runtime
impl Config for Runtime
type RuntimeEvent = RuntimeEvent
type RewardValidators = RewardValidatorsWithEraPoints<Runtime>
type SlashingHandler = SlashValidatorsForDisputes<Pallet<Runtime>>
§type WeightInfo = WeightInfo<Runtime>
type WeightInfo = WeightInfo<Runtime>
Weight information for extrinsics in this pallet.
source§impl Config for Runtime
impl Config for Runtime
§type RuntimeEvent = RuntimeEvent
type RuntimeEvent = RuntimeEvent
The overarching event type.
§type OnChargeTransaction = FungibleAdapter<Pallet<Runtime>, ToAuthor<Runtime>>
type OnChargeTransaction = FungibleAdapter<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
type OperationalFeeMultiplier = OperationalFeeMultiplier
A fee multiplier for
Operational
extrinsics to compute “virtual tip” to boost their
priority
Read more§type WeightToFee = WeightToFee
type WeightToFee = WeightToFee
Convert a weight value into a deductible fee based on the currency type.
§type LengthToFee = ConstantMultiplier<u128, TransactionByteFee>
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>
type FeeMultiplierUpdate = TargetedFeeAdjustment<Runtime, TargetBlockFullness, AdjustmentVariable, MinimumMultiplier, MaximumMultiplier>
Update the multiplier of the next block, based on the previous block’s weight.
§type WeightInfo = WeightInfo<Runtime>
type WeightInfo = WeightInfo<Runtime>
The weight information of this pallet.
source§impl Config for Runtime
impl Config for Runtime
§type RuntimeEvent = RuntimeEvent
type RuntimeEvent = RuntimeEvent
The overarching event type.
§type RuntimeCall = RuntimeCall
type RuntimeCall = RuntimeCall
The overarching call type.
§type ProxyType = ProxyType
type ProxyType = ProxyType
A kind of proxy; specified with the proxy and passed in to the
IsProxyable
filter.
The instance filter determines whether a given call may be proxied under this type. Read more§type ProxyDepositBase = ProxyDepositBase
type ProxyDepositBase = ProxyDepositBase
The base amount of currency needed to reserve for creating a proxy. Read more
§type ProxyDepositFactor = ProxyDepositFactor
type ProxyDepositFactor = ProxyDepositFactor
The amount of currency needed per proxy added. Read more
§type MaxProxies = MaxProxies
type MaxProxies = MaxProxies
The maximum amount of proxies allowed for a single account.
§type WeightInfo = WeightInfo<Runtime>
type WeightInfo = WeightInfo<Runtime>
Weight information for extrinsics in this pallet.
§type MaxPending = MaxPending
type MaxPending = MaxPending
The maximum amount of time-delayed announcements that are allowed to be pending.
§type CallHasher = BlakeTwo256
type CallHasher = BlakeTwo256
The type of hash used for hashing the call.
§type AnnouncementDepositBase = AnnouncementDepositBase
type AnnouncementDepositBase = AnnouncementDepositBase
The base amount of currency needed to reserve for creating an announcement. Read more
§type AnnouncementDepositFactor = AnnouncementDepositFactor
type AnnouncementDepositFactor = AnnouncementDepositFactor
The amount of currency needed per announcement made. Read more
§type BlockNumberProvider = Pallet<Runtime>
type BlockNumberProvider = Pallet<Runtime>
Provider for the block number. Normally this is the
frame_system
pallet.source§impl Config for Runtime
impl Config for Runtime
§type WeightInfo = WeightInfo<Runtime>
type WeightInfo = WeightInfo<Runtime>
Weight information for extrinsics in this pallet.
type RuntimeEvent = RuntimeEvent
§type VoteLockingPeriod = VoteLockingPeriod
type VoteLockingPeriod = VoteLockingPeriod
The minimum period of vote locking. Read more
§type MaxTurnout = ActiveIssuanceOf<Pallet<Runtime>, <Runtime as Config>::AccountId>
type MaxTurnout = ActiveIssuanceOf<Pallet<Runtime>, <Runtime as Config>::AccountId>
The maximum amount of tokens which may be used for voting. May just be
Currency::total_issuance
, but you might want to reduce this in order to account for
funds in the system which are unable to vote (e.g. parachain auction deposits).source§impl Config for Runtime
impl Config for Runtime
§type WeightInfo = WeightInfo<Runtime>
type WeightInfo = WeightInfo<Runtime>
The Weight information for this pallet.
§type RuntimeEvent = RuntimeEvent
type RuntimeEvent = RuntimeEvent
The overarching event type.
§type ManagerOrigin = EnsureRoot<<<MultiSignature as Verify>::Signer as IdentifyAccount>::AccountId>
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 Consideration = HoldConsideration<<<MultiSignature as Verify>::Signer as IdentifyAccount>::AccountId, Pallet<Runtime>, PreimageHoldReason, LinearStoragePrice<PreimageBaseDeposit, PreimageByteDeposit, u128>>
type Consideration = HoldConsideration<<<MultiSignature as Verify>::Signer as IdentifyAccount>::AccountId, Pallet<Runtime>, PreimageHoldReason, LinearStoragePrice<PreimageBaseDeposit, PreimageByteDeposit, u128>>
A means of providing some cost while data is stored on-chain.
source§impl Config for Runtime
impl Config for Runtime
§type RuntimeEvent = RuntimeEvent
type RuntimeEvent = RuntimeEvent
The overarching event type.
§type WeightInfo = WeightInfo<Runtime>
type WeightInfo = WeightInfo<Runtime>
Weight information for extrinsics in this pallet.
§type RuntimeFreezeReason = RuntimeFreezeReason
type RuntimeFreezeReason = RuntimeFreezeReason
The overarching freeze reason.
§type RewardCounter = FixedU128
type RewardCounter = FixedU128
The type that is used for reward counter. Read more
§type BalanceToU256 = BalanceToU256
type BalanceToU256 = BalanceToU256
Infallible method for converting
Currency::Balance
to U256
.§type U256ToBalance = U256ToBalance
type U256ToBalance = U256ToBalance
Infallible method for converting
U256
to Currency::Balance
.§type StakeAdapter = DelegateStake<Runtime, Pallet<Runtime>, Pallet<Runtime>>
type StakeAdapter = DelegateStake<Runtime, Pallet<Runtime>, Pallet<Runtime>>
The interface for nominating. Read more
§type PostUnbondingPoolsWindow = ConstU32<4>
type PostUnbondingPoolsWindow = ConstU32<4>
The amount of eras a
SubPools::with_era
pool can exist before it gets merged into the
SubPools::no_era
pool. In other words, this is the amount of eras a member will be
able to withdraw from an unbonding pool which is guaranteed to have the correct ratio of
points to balance; once the with_era
pool is merged into the no_era
pool, the ratio
can become skewed due to some slashed ratio getting merged in at some point.§type MaxMetadataLen = ConstU32<256>
type MaxMetadataLen = ConstU32<256>
The maximum length, in bytes, that a pools metadata maybe.
§type MaxUnbonding = <Runtime as Config>::MaxUnlockingChunks
type MaxUnbonding = <Runtime as Config>::MaxUnlockingChunks
The maximum number of simultaneous unbonding chunks that can exist per member.
§type PalletId = PoolsPalletId
type PalletId = PoolsPalletId
The nomination pool’s pallet id.
§type MaxPointsToBalance = MaxPointsToBalance
type MaxPointsToBalance = MaxPointsToBalance
The maximum pool points-to-balance ratio that an
open
pool can have. Read more§type AdminOrigin = EitherOf<EnsureRoot<<<MultiSignature as Verify>::Signer as IdentifyAccount>::AccountId>, StakingAdmin>
type AdminOrigin = EitherOf<EnsureRoot<<<MultiSignature as Verify>::Signer as IdentifyAccount>::AccountId>, StakingAdmin>
The origin that can manage pool configurations.
source§impl Config for Runtime
impl Config for Runtime
§type RuntimeEvent = RuntimeEvent
type RuntimeEvent = RuntimeEvent
The overarching event type.
§type IdentificationTuple = (<Runtime as Config>::ValidatorId, <Runtime as Config>::FullIdentification)
type IdentificationTuple = (<Runtime as Config>::ValidatorId, <Runtime as Config>::FullIdentification)
Full identification of the validator.
§type OnOffenceHandler = Pallet<Runtime>
type OnOffenceHandler = Pallet<Runtime>
A handler called for every offence report.
source§impl Config for Runtime
impl Config for Runtime
§type RuntimeEvent = RuntimeEvent
type RuntimeEvent = RuntimeEvent
Overarching event type.
§type Reaper = EnsureSigned<<<MultiSignature as Verify>::Signer as IdentifyAccount>::AccountId>
type Reaper = EnsureSigned<<<MultiSignature as Verify>::Signer as IdentifyAccount>::AccountId>
The origin that can reap identities. Expected to be
EnsureSigned<AccountId>
on the
source chain such that anyone can all this function.§type ReapIdentityHandler = ToParachainIdentityReaper<Runtime, <Runtime as Config>::AccountId>
type ReapIdentityHandler = ToParachainIdentityReaper<Runtime, <Runtime as Config>::AccountId>
A handler for what to do when an identity is reaped.
§type WeightInfo = WeightInfo<Runtime>
type WeightInfo = WeightInfo<Runtime>
Weight information for the extrinsics in the pallet.
source§impl Config for Runtime
impl Config for Runtime
§type AccountIndex = u32
type AccountIndex = u32
Type used for storing an account’s index; implies the maximum number of accounts the
system can hold.
§type Deposit = IndexDeposit
type Deposit = IndexDeposit
The deposit needed for reserving an index.
§type RuntimeEvent = RuntimeEvent
type RuntimeEvent = RuntimeEvent
The overarching event type.
§type WeightInfo = WeightInfo<Runtime>
type WeightInfo = WeightInfo<Runtime>
Weight information for extrinsics in this pallet.
source§impl Config for Runtime
impl Config for Runtime
§type DustRemoval = ()
type DustRemoval = ()
Handler for the unbalanced reduction when removing a dust account.
§type RuntimeEvent = RuntimeEvent
type RuntimeEvent = RuntimeEvent
The overarching event type.
§type ExistentialDeposit = ExistentialDeposit
type ExistentialDeposit = ExistentialDeposit
The minimum amount required to keep an account open. MUST BE GREATER THAN ZERO! Read more
§type AccountStore = Pallet<Runtime>
type AccountStore = Pallet<Runtime>
The means of storing the balances of an account.
§type MaxLocks = MaxLocks
type MaxLocks = MaxLocks
The maximum number of locks that should exist on an account.
Not strictly enforced, but used for weight estimation. Read more
§type MaxReserves = MaxReserves
type MaxReserves = MaxReserves
The maximum number of named reserves that can exist on an account. Read more
§type ReserveIdentifier = [u8; 8]
type ReserveIdentifier = [u8; 8]
The ID type for reserves. Read more
§type WeightInfo = WeightInfo<Runtime>
type WeightInfo = WeightInfo<Runtime>
Weight information for extrinsics in this pallet.
§type RuntimeHoldReason = RuntimeHoldReason
type RuntimeHoldReason = RuntimeHoldReason
The overarching hold reason.
§type RuntimeFreezeReason = RuntimeFreezeReason
type RuntimeFreezeReason = RuntimeFreezeReason
The overarching freeze reason.
§type FreezeIdentifier = RuntimeFreezeReason
type FreezeIdentifier = RuntimeFreezeReason
The ID type for freezes.
§type MaxFreezes = VariantCountOf<RuntimeFreezeReason>
type MaxFreezes = VariantCountOf<RuntimeFreezeReason>
The maximum number of individual freeze locks that can exist on an account at any time.
§type DoneSlashHandler = ()
type DoneSlashHandler = ()
Allows callbacks to other pallets so they can update their bookkeeping when a slash
occurs.
source§impl Config for Runtime
impl Config for Runtime
§type MaxAuthorities = MaxAuthorities
type MaxAuthorities = MaxAuthorities
The maximum number of authorities that can be added.
source§impl Config for Runtime
impl Config for Runtime
§type RuntimeEvent = RuntimeEvent
type RuntimeEvent = RuntimeEvent
The overarching event type.
§type ValidatorId = <<MultiSignature as Verify>::Signer as IdentifyAccount>::AccountId
type ValidatorId = <<MultiSignature as Verify>::Signer as IdentifyAccount>::AccountId
A stable ID for a validator.
§type ValidatorIdOf = StashOf<Runtime>
type ValidatorIdOf = StashOf<Runtime>
A conversion from account ID to validator ID. Read more
§type ShouldEndSession = Pallet<Runtime>
type ShouldEndSession = Pallet<Runtime>
Indicator for when to end the session.
§type NextSessionRotation = Pallet<Runtime>
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>>
type SessionManager = NoteHistoricalRoot<Runtime, Pallet<Runtime>>
Handler for managing new session.
§type SessionHandler = <SessionKeys as OpaqueKeys>::KeyTypeIdProviders
type SessionHandler = <SessionKeys as OpaqueKeys>::KeyTypeIdProviders
Handler when a session has changed.
§type Keys = SessionKeys
type Keys = SessionKeys
The keys.
§type WeightInfo = WeightInfo<Runtime>
type WeightInfo = WeightInfo<Runtime>
Weight information for extrinsics in this pallet.
source§impl Config for Runtime
impl Config for Runtime
§type RuntimeEvent = RuntimeEvent
type RuntimeEvent = RuntimeEvent
The overarching event type.
§type BlockNumberToBalance = ConvertInto
type BlockNumberToBalance = ConvertInto
Convert the block number into a balance.
§type MinVestedTransfer = MinVestedTransfer
type MinVestedTransfer = MinVestedTransfer
The minimum amount transferred to call
vested_transfer
.§type WeightInfo = WeightInfo<Runtime>
type WeightInfo = WeightInfo<Runtime>
Weight information for extrinsics in this pallet.
§type UnvestedFundsAllowedWithdrawReasons = UnvestedFundsAllowedWithdrawReasons
type UnvestedFundsAllowedWithdrawReasons = UnvestedFundsAllowedWithdrawReasons
Reasons that determine under which conditions the balance may drop below
the unvested amount.
§type BlockNumberProvider = Pallet<Runtime>
type BlockNumberProvider = Pallet<Runtime>
Provider for the block number.
source§const MAX_VESTING_SCHEDULES: u32 = 28u32
const MAX_VESTING_SCHEDULES: u32 = 28u32
Maximum number of vesting schedules an account may have at a given moment.
source§impl Config for Runtime
impl Config for Runtime
source§const INDEXING_PREFIX: &'static [u8] = mmr::INDEXING_PREFIX
const INDEXING_PREFIX: &'static [u8] = mmr::INDEXING_PREFIX
Prefix for elements stored in the Off-chain DB via Indexing API. Read more
§type OnNewRoot = DepositBeefyDigest<Runtime>
type OnNewRoot = DepositBeefyDigest<Runtime>
A hook to act on the new MMR root. Read more
§type BlockHashProvider = DefaultBlockHashProvider<Runtime>
type BlockHashProvider = DefaultBlockHashProvider<Runtime>
Block hash provider for a given block number.
§type WeightInfo = WeightInfo<Runtime>
type WeightInfo = WeightInfo<Runtime>
Weights for this pallet.
§type BenchmarkHelper = MmrSetup<Runtime>
type BenchmarkHelper = MmrSetup<Runtime>
Benchmarking setup helper trait.
source§impl Config for Runtime
impl Config for Runtime
§type PalletId = TreasuryPalletId
type PalletId = TreasuryPalletId
The treasury’s pallet id, used for deriving its sovereign account ID.
§type RejectOrigin = EitherOfDiverse<EnsureRoot<<<MultiSignature as Verify>::Signer as IdentifyAccount>::AccountId>, Treasurer>
type RejectOrigin = EitherOfDiverse<EnsureRoot<<<MultiSignature as Verify>::Signer as IdentifyAccount>::AccountId>, Treasurer>
Origin from which rejections must come.
§type RuntimeEvent = RuntimeEvent
type RuntimeEvent = RuntimeEvent
The overarching event type.
§type SpendPeriod = SpendPeriod
type SpendPeriod = SpendPeriod
Period between successive spends.
§type BurnDestination = ()
type BurnDestination = ()
Handler for the unbalanced decrease when treasury funds are burned.
§type MaxApprovals = MaxApprovals
type MaxApprovals = MaxApprovals
DEPRECATED: associated with
spend_local
call and will be removed in May 2025.
Refer to https://github.com/paritytech/polkadot-sdk/pull/5961 for migration to spend
. Read more§type WeightInfo = WeightInfo<Runtime>
type WeightInfo = WeightInfo<Runtime>
Weight information for extrinsics in this pallet.
§type SpendFunds = ()
type SpendFunds = ()
Runtime hooks to external pallet using treasury to compute spend funds.
§type SpendOrigin = EitherOf<EnsureRootWithSuccess<<<MultiSignature as Verify>::Signer as IdentifyAccount>::AccountId, MaxBalance>, Spender>
type SpendOrigin = EitherOf<EnsureRootWithSuccess<<<MultiSignature as Verify>::Signer as IdentifyAccount>::AccountId, MaxBalance>, Spender>
The origin required for approving spends from the treasury outside of the proposal
process. The
Success
value is the maximum amount in a native asset that this origin
is allowed to spend at a time.§type AssetKind = VersionedLocatableAsset
type AssetKind = VersionedLocatableAsset
Type parameter representing the asset kinds to be spent from the treasury.
§type Beneficiary = VersionedLocation
type Beneficiary = VersionedLocation
Type parameter used to identify the beneficiaries eligible to receive treasury spends.
§type BeneficiaryLookup = IdentityLookup<<Runtime as Config>::Beneficiary>
type BeneficiaryLookup = IdentityLookup<<Runtime as Config>::Beneficiary>
Converting trait to take a source type and convert to
Self::Beneficiary
.§type Paymaster = PayOverXcm<TreasuryInteriorLocation, WithUniqueTopic<ChildParachainRouter<Runtime, Pallet<Runtime>, ExponentialPrice<FeeAssetId, BaseDeliveryFee, TransactionByteFee, Pallet<Runtime>>>>, Pallet<Runtime>, ConstU32<{ 6 * HOURS }>, <Runtime as Config>::Beneficiary, <Runtime as Config>::AssetKind, LocatableAssetConverter, VersionedLocationConverter>
type Paymaster = PayOverXcm<TreasuryInteriorLocation, WithUniqueTopic<ChildParachainRouter<Runtime, Pallet<Runtime>, ExponentialPrice<FeeAssetId, BaseDeliveryFee, TransactionByteFee, Pallet<Runtime>>>>, Pallet<Runtime>, ConstU32<{ 6 * HOURS }>, <Runtime as Config>::Beneficiary, <Runtime as Config>::AssetKind, LocatableAssetConverter, VersionedLocationConverter>
Type for processing spends of Self::AssetKind in favor of
Self::Beneficiary
.§type BalanceConverter = UnityOrOuterConversion<ContainsParts<FromContains<IsChildSystemParachain<Id>, IsParentsOnly<ConstU8<1>>>>, Pallet<Runtime>>
type BalanceConverter = UnityOrOuterConversion<ContainsParts<FromContains<IsChildSystemParachain<Id>, IsParentsOnly<ConstU8<1>>>>, Pallet<Runtime>>
Type for converting the balance of an Self::AssetKind to the balance of the native
asset, solely for the purpose of asserting the result against the maximum allowed spend
amount of the
Self::SpendOrigin
.§type PayoutPeriod = PayoutSpendPeriod
type PayoutPeriod = PayoutSpendPeriod
The period during which an approved treasury spend has to be claimed.
§type BlockNumberProvider = Pallet<Runtime>
type BlockNumberProvider = Pallet<Runtime>
Provider for the block number. Normally this is the
frame_system
pallet.§type BenchmarkHelper = TreasuryArguments
type BenchmarkHelper = TreasuryArguments
Helper type for benchmarks.
source§impl Config for Runtime
impl Config for Runtime
§type MaxAuthorities = MaxAuthorities
type MaxAuthorities = MaxAuthorities
The maximum number of authorities that can be added.
§type MaxNominators = MaxNominators
type MaxNominators = MaxNominators
The maximum number of nominators for each validator.
§type MaxSetIdSessionEntries = BeefySetIdSessionEntries
type MaxSetIdSessionEntries = BeefySetIdSessionEntries
The maximum number of entries to keep in the set id to session index mapping. Read more
§type OnNewValidatorSet = Pallet<Runtime>
type OnNewValidatorSet = Pallet<Runtime>
A hook to act on the new BEEFY validator set. Read more
§type AncestryHelper = Pallet<Runtime>
type AncestryHelper = Pallet<Runtime>
Hook for checking commitment canonicity.
§type WeightInfo = ()
type WeightInfo = ()
Weights for this pallet.
§type KeyOwnerProof = MembershipProof
type KeyOwnerProof = MembershipProof
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>
type EquivocationReportSystem = EquivocationReportSystem<Runtime, Pallet<Runtime>, Pallet<Runtime>, ReportLongevity>
The equivocation handling subsystem. Read more
source§impl Config for Runtime
impl Config for Runtime
type RuntimeEvent = RuntimeEvent
§type EstimateCallFee = Pallet<Runtime>
type EstimateCallFee = Pallet<Runtime>
Something that can predict the fee of a call. Used to sensibly distribute rewards.
§type SignedPhase = MaybeSignedPhase
type SignedPhase = MaybeSignedPhase
Duration of the signed phase.
§type UnsignedPhase = UnsignedPhase
type UnsignedPhase = UnsignedPhase
Duration of the unsigned phase.
§type SignedMaxSubmissions = SignedMaxSubmissions
type SignedMaxSubmissions = SignedMaxSubmissions
Maximum number of signed submissions that can be queued. Read more
§type SignedMaxRefunds = SignedMaxRefunds
type SignedMaxRefunds = SignedMaxRefunds
The maximum amount of unchecked solutions to refund the call fee for.
§type SignedRewardBase = SignedRewardBase
type SignedRewardBase = SignedRewardBase
Base reward for a signed solution
§type SignedDepositBase = GeometricDepositBase<u128, SignedFixedDeposit, SignedDepositIncreaseFactor>
type SignedDepositBase = GeometricDepositBase<u128, SignedFixedDeposit, SignedDepositIncreaseFactor>
Something that calculates the signed deposit base based on the signed submissions queue
size.
§type SignedDepositByte = SignedDepositByte
type SignedDepositByte = SignedDepositByte
Per-byte deposit for a signed solution.
§type SignedDepositWeight = ()
type SignedDepositWeight = ()
Per-weight deposit for a signed solution.
§type SignedMaxWeight = <<Runtime as Config>::MinerConfig as MinerConfig>::MaxWeight
type SignedMaxWeight = <<Runtime as Config>::MinerConfig as MinerConfig>::MaxWeight
Maximum weight of a signed solution. Read more
§type MinerConfig = Runtime
type MinerConfig = Runtime
Configurations of the embedded miner. Read more
§type SlashHandler = ()
type SlashHandler = ()
Handler for the slashed deposits.
§type RewardHandler = ()
type RewardHandler = ()
Handler for the rewards.
§type BetterSignedThreshold = ()
type BetterSignedThreshold = ()
The minimum amount of improvement to the solution score that defines a solution as
“better” in the Signed phase.
§type OffchainRepeat = OffchainRepeat
type OffchainRepeat = OffchainRepeat
The repeat threshold of the offchain worker. Read more
§type MinerTxPriority = NposSolutionPriority
type MinerTxPriority = NposSolutionPriority
The priority of the unsigned transaction submitted in the unsigned-phase
§type DataProvider = Pallet<Runtime>
type DataProvider = Pallet<Runtime>
Something that will provide the election data.
§type Fallback = OnChainExecution<OnChainSeqPhragmen>
type Fallback = OnChainExecution<OnChainSeqPhragmen>
Configuration for the fallback.
§type GovernanceFallback = OnChainExecution<OnChainSeqPhragmen>
type GovernanceFallback = OnChainExecution<OnChainSeqPhragmen>
Configuration of the governance-only fallback. Read more
§type Solver = SequentialPhragmen<<<MultiSignature as Verify>::Signer as IdentifyAccount>::AccountId, <<<Runtime as Config>::MinerConfig as MinerConfig>::Solution as NposSolution>::Accuracy>
type Solver = SequentialPhragmen<<<MultiSignature as Verify>::Signer as IdentifyAccount>::AccountId, <<<Runtime as Config>::MinerConfig as MinerConfig>::Solution as NposSolution>::Accuracy>
OCW election solution miner algorithm implementation.
§type BenchmarkingConfig = BenchmarkConfig
type BenchmarkingConfig = BenchmarkConfig
The configuration of benchmarking.
§type ForceOrigin = EnsureRoot<<<MultiSignature as Verify>::Signer as IdentifyAccount>::AccountId>
type ForceOrigin = EnsureRoot<<<MultiSignature as Verify>::Signer as IdentifyAccount>::AccountId>
Origin that can control this pallet. Note that any action taken by this origin (such)
as providing an emergency solution is not checked. Thus, it must be a trusted origin.
§type WeightInfo = WeightInfo<Runtime>
type WeightInfo = WeightInfo<Runtime>
The weight of the pallet.
§type MaxWinners = MaxActiveValidators
type MaxWinners = MaxActiveValidators
The maximum number of winners that can be elected by this
ElectionProvider
implementation. Read more§type ElectionBounds = ElectionBounds
type ElectionBounds = ElectionBounds
The maximum number of electing voters and electable targets to put in the snapshot.
At the moment, snapshots are only over a single block, but once multi-block elections
are introduced they will take place over multiple blocks.
source§impl Config for Runtime
impl Config for Runtime
§type RuntimeOrigin = RuntimeOrigin
type RuntimeOrigin = RuntimeOrigin
The aggregated origin which the dispatch will take.
§type RuntimeEvent = RuntimeEvent
type RuntimeEvent = RuntimeEvent
The overarching event type.
§type PalletsOrigin = OriginCaller
type PalletsOrigin = OriginCaller
The caller origin, overarching type of all pallets origins.
§type RuntimeCall = RuntimeCall
type RuntimeCall = RuntimeCall
The aggregated call type.
§type MaximumWeight = MaximumSchedulerWeight
type MaximumWeight = MaximumSchedulerWeight
The maximum weight that may be scheduled per block for any dispatchables.
§type ScheduleOrigin = EitherOf<EnsureRoot<<<MultiSignature as Verify>::Signer as IdentifyAccount>::AccountId>, AuctionAdmin>
type ScheduleOrigin = EitherOf<EnsureRoot<<<MultiSignature as Verify>::Signer as IdentifyAccount>::AccountId>, AuctionAdmin>
Required origin to schedule or cancel calls.
§type MaxScheduledPerBlock = MaxScheduledPerBlock
type MaxScheduledPerBlock = MaxScheduledPerBlock
The maximum number of scheduled calls in the queue for a single block. Read more
§type WeightInfo = WeightInfo<Runtime>
type WeightInfo = WeightInfo<Runtime>
Weight information for extrinsics in this pallet.
§type OriginPrivilegeCmp = EqualPrivilegeOnly
type OriginPrivilegeCmp = EqualPrivilegeOnly
Compare the privileges of origins. Read more
source§impl Config for Runtime
impl Config for Runtime
§type BaseCallFilter = EverythingBut<IsIdentityCall>
type BaseCallFilter = EverythingBut<IsIdentityCall>
The basic call filter to use in Origin. All origins are built with this filter as base,
except Root. Read more
§type BlockWeights = BlockWeights
type BlockWeights = BlockWeights
Block & extrinsics weights: base values and limits.
§type BlockLength = BlockLength
type BlockLength = BlockLength
The maximum length of a block (in bytes).
§type AccountId = <<MultiSignature as Verify>::Signer as IdentifyAccount>::AccountId
type AccountId = <<MultiSignature as Verify>::Signer as IdentifyAccount>::AccountId
The user account identifier type for the runtime.
§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>, CheckMetadataHash<Runtime>)>>
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>, CheckMetadataHash<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 BlockHashCount = BlockHashCount
type BlockHashCount = BlockHashCount
Maximum number of block number to block hash mappings to keep (oldest pruned first).
§type DbWeight = RocksDbWeight
type DbWeight = RocksDbWeight
The weight of runtime database operations the runtime can invoke.
§type AccountData = AccountData<u128>
type AccountData = AccountData<u128>
Data to be associated with an account (other than nonce/transaction counter, which this
pallet does regardless).
§type SystemWeightInfo = WeightInfo<Runtime>
type SystemWeightInfo = WeightInfo<Runtime>
Weight information for the extrinsics of this pallet.
§type ExtensionsWeightInfo = WeightInfo<Runtime>
type ExtensionsWeightInfo = WeightInfo<Runtime>
Weight information for the transaction extensions of this pallet.
§type SS58Prefix = SS58Prefix
type SS58Prefix = SS58Prefix
The designated SS58 prefix of this chain. Read more
§type MaxConsumers = ConstU32<16>
type MaxConsumers = ConstU32<16>
The maximum number of consumers allowed on a single account.
§type MultiBlockMigrator = Pallet<Runtime>
type MultiBlockMigrator = Pallet<Runtime>
The migrator that is used to run Multi-Block-Migrations. Read more
§type Hashing = <RelayChainDefaultConfig as DefaultConfig>::Hashing
type Hashing = <RelayChainDefaultConfig as DefaultConfig>::Hashing
The hashing system (algorithm) being used in the runtime (e.g. Blake2).
§type Lookup = <RelayChainDefaultConfig as DefaultConfig>::Lookup
type Lookup = <RelayChainDefaultConfig as DefaultConfig>::Lookup
Converting trait to take a source type and convert to
AccountId
. Read more§type OnNewAccount = <RelayChainDefaultConfig as DefaultConfig>::OnNewAccount
type OnNewAccount = <RelayChainDefaultConfig as DefaultConfig>::OnNewAccount
Handler for when a new account has just been created.
§type OnKilledAccount = <RelayChainDefaultConfig as DefaultConfig>::OnKilledAccount
type OnKilledAccount = <RelayChainDefaultConfig as DefaultConfig>::OnKilledAccount
A function that is invoked when an account has been determined to be dead. Read more
§type RuntimeEvent = RuntimeEvent
type RuntimeEvent = RuntimeEvent
The aggregated event type of the runtime.
§type RuntimeOrigin = RuntimeOrigin
type RuntimeOrigin = RuntimeOrigin
The
RuntimeOrigin
type used by dispatchable calls.§type RuntimeCall = RuntimeCall
type RuntimeCall = RuntimeCall
The aggregated
RuntimeCall
type.§type RuntimeTask = RuntimeTask
type RuntimeTask = RuntimeTask
The aggregated
RuntimeTask
type.§type PalletInfo = PalletInfo
type PalletInfo = PalletInfo
Provides information about the pallet setup in the runtime. Read more
§type OnSetCode = <RelayChainDefaultConfig as DefaultConfig>::OnSetCode
type OnSetCode = <RelayChainDefaultConfig as DefaultConfig>::OnSetCode
What to do if the runtime wants to change the code to something new. Read more
§type SingleBlockMigrations = <RelayChainDefaultConfig as DefaultConfig>::SingleBlockMigrations
type SingleBlockMigrations = <RelayChainDefaultConfig as DefaultConfig>::SingleBlockMigrations
All migrations that should run in the next runtime upgrade. Read more
§type PreInherents = <RelayChainDefaultConfig as DefaultConfig>::PreInherents
type PreInherents = <RelayChainDefaultConfig as DefaultConfig>::PreInherents
A callback that executes in every block directly before all inherents were applied. Read more
§type PostInherents = <RelayChainDefaultConfig as DefaultConfig>::PostInherents
type PostInherents = <RelayChainDefaultConfig as DefaultConfig>::PostInherents
A callback that executes in every block directly after all inherents were applied. Read more
§type PostTransactions = <RelayChainDefaultConfig as DefaultConfig>::PostTransactions
type PostTransactions = <RelayChainDefaultConfig as DefaultConfig>::PostTransactions
A callback that executes in every block directly after all transactions were applied. Read more
source§impl Config for Runtime
impl Config for Runtime
§type WeightInfo = WeightInfo<Runtime>
type WeightInfo = WeightInfo<Runtime>
Weight information for extrinsics in this pallet.
source§impl Config for Runtime
impl Config for Runtime
§type RuntimeEvent = RuntimeEvent
type RuntimeEvent = RuntimeEvent
The overarching event type.
§type WeightInfo = ()
type WeightInfo = ()
Weight information for extrinsics in this pallet.
§type RuntimeCall = RuntimeCall
type RuntimeCall = RuntimeCall
The overarching call type.
§type BlockNumberProvider = Pallet<Runtime>
type BlockNumberProvider = Pallet<Runtime>
Provider for the block number. Normally this is the
frame_system
pallet.§type ConfigDepositBase = ConfigDepositBase
type ConfigDepositBase = ConfigDepositBase
The base amount of currency needed to reserve for creating a recovery configuration. Read more
§type FriendDepositFactor = FriendDepositFactor
type FriendDepositFactor = FriendDepositFactor
The amount of currency needed per additional user when creating a recovery
configuration. Read more
§type MaxFriends = MaxFriends
type MaxFriends = MaxFriends
The maximum amount of friends allowed in a recovery configuration. Read more
§type RecoveryDeposit = RecoveryDeposit
type RecoveryDeposit = RecoveryDeposit
The base amount of currency needed to reserve for starting a recovery. Read more
source§impl Config for Runtime
impl Config for Runtime
§type RuntimeEvent = RuntimeEvent
type RuntimeEvent = RuntimeEvent
The overarching event type.
§type AssignSlotOrigin = EnsureRoot<<<MultiSignature as Verify>::Signer as IdentifyAccount>::AccountId>
type AssignSlotOrigin = EnsureRoot<<<MultiSignature as Verify>::Signer as IdentifyAccount>::AccountId>
Origin for assigning slots.
§type PermanentSlotLeasePeriodLength = PermanentSlotLeasePeriodLength
type PermanentSlotLeasePeriodLength = PermanentSlotLeasePeriodLength
The number of lease periods a permanent parachain slot lasts.
§type TemporarySlotLeasePeriodLength = TemporarySlotLeasePeriodLength
type TemporarySlotLeasePeriodLength = TemporarySlotLeasePeriodLength
The number of lease periods a temporary parachain slot lasts.
§type MaxTemporarySlotPerLeasePeriod = MaxTemporarySlotPerLeasePeriod
type MaxTemporarySlotPerLeasePeriod = MaxTemporarySlotPerLeasePeriod
The max number of temporary slots to be scheduled per lease periods.
§type WeightInfo = WeightInfo<Runtime>
type WeightInfo = WeightInfo<Runtime>
Weight Information for the Extrinsics in the Pallet
source§impl Config for Runtime
impl Config for Runtime
§type WeightInfo = WeightInfo<Runtime>
type WeightInfo = WeightInfo<Runtime>
The weight information for this pallet.
§type RuntimeCall = RuntimeCall
type RuntimeCall = RuntimeCall
The overarching call type.
§type RuntimeEvent = RuntimeEvent
type RuntimeEvent = RuntimeEvent
The overarching event type.
§type WhitelistOrigin = EitherOfDiverse<EnsureRoot<<Runtime as Config>::AccountId>, EnsureXcm<IsVoiceOfBody<Collectives, FellowsBodyId>>>
type WhitelistOrigin = EitherOfDiverse<EnsureRoot<<Runtime as Config>::AccountId>, EnsureXcm<IsVoiceOfBody<Collectives, FellowsBodyId>>>
Required origin for whitelisting a call.
§type DispatchWhitelistedOrigin = EitherOf<EnsureRoot<<Runtime as Config>::AccountId>, WhitelistedCaller>
type DispatchWhitelistedOrigin = EitherOf<EnsureRoot<<Runtime as Config>::AccountId>, WhitelistedCaller>
Required origin for dispatching whitelisted call with root origin.
source§impl Config for Runtime
impl Config for Runtime
§type WeightInfo = WeightInfo<Runtime>
type WeightInfo = WeightInfo<Runtime>
Weight information for extrinsics in this pallet.
type RuntimeCall = RuntimeCall
type RuntimeEvent = RuntimeEvent
§type SubmitOrigin = EnsureSigned<<<MultiSignature as Verify>::Signer as IdentifyAccount>::AccountId>
type SubmitOrigin = EnsureSigned<<<MultiSignature as Verify>::Signer as IdentifyAccount>::AccountId>
Origin from which proposals may be submitted.
§type CancelOrigin = EitherOf<EnsureRoot<<<MultiSignature as Verify>::Signer as IdentifyAccount>::AccountId>, ReferendumCanceller>
type CancelOrigin = EitherOf<EnsureRoot<<<MultiSignature as Verify>::Signer as IdentifyAccount>::AccountId>, ReferendumCanceller>
Origin from which any vote may be cancelled.
§type KillOrigin = EitherOf<EnsureRoot<<<MultiSignature as Verify>::Signer as IdentifyAccount>::AccountId>, ReferendumKiller>
type KillOrigin = EitherOf<EnsureRoot<<<MultiSignature as Verify>::Signer as IdentifyAccount>::AccountId>, ReferendumKiller>
Origin from which any vote may be killed.
§type Votes = <<Runtime as Config>::Currency as Currency<<Runtime as Config>::AccountId>>::Balance
type Votes = <<Runtime as Config>::Currency as Currency<<Runtime as Config>::AccountId>>::Balance
The counting type for votes. Usually just balance.
§type Tally = Tally<<<Runtime as Config>::Currency as Currency<<Runtime as Config>::AccountId>>::Balance, <Runtime as Config>::MaxTurnout>
type Tally = Tally<<<Runtime as Config>::Currency as Currency<<Runtime as Config>::AccountId>>::Balance, <Runtime as Config>::MaxTurnout>
The tallying type.
§type SubmissionDeposit = SubmissionDeposit
type SubmissionDeposit = SubmissionDeposit
The minimum amount to be used as a deposit for a public referendum proposal.
§type UndecidingTimeout = UndecidingTimeout
type UndecidingTimeout = UndecidingTimeout
The number of blocks after submission that a referendum must begin being decided by.
Once this passes, then anyone may cancel the referendum.
§type AlarmInterval = AlarmInterval
type AlarmInterval = AlarmInterval
Quantization level for the referendum wakeup scheduler. A higher number will result in
fewer storage reads/writes needed for smaller voters, but also result in delays to the
automatic referendum status changes. Explicit servicing instructions are unaffected.
§type Tracks = TracksInfo
type Tracks = TracksInfo
Information concerning the different referendum tracks.
source§impl Config for Runtime
impl Config for Runtime
§type DeliveryHelper = (ToParachainDeliveryHelper<XcmConfig, ExistentialDepositAsset, ExponentialPrice<FeeAssetId, BaseDeliveryFee, TransactionByteFee, Pallet<Runtime>>, AssetHubParaId, Pallet<Runtime>>, ToParachainDeliveryHelper<XcmConfig, ExistentialDepositAsset, ExponentialPrice<FeeAssetId, BaseDeliveryFee, TransactionByteFee, Pallet<Runtime>>, RandomParaId, Pallet<Runtime>>)
type DeliveryHelper = (ToParachainDeliveryHelper<XcmConfig, ExistentialDepositAsset, ExponentialPrice<FeeAssetId, BaseDeliveryFee, TransactionByteFee, Pallet<Runtime>>, AssetHubParaId, Pallet<Runtime>>, ToParachainDeliveryHelper<XcmConfig, ExistentialDepositAsset, ExponentialPrice<FeeAssetId, BaseDeliveryFee, TransactionByteFee, Pallet<Runtime>>, RandomParaId, Pallet<Runtime>>)
Helper that ensures successful delivery for extrinsics/benchmarks which need
SendXcm
.source§fn reachable_dest() -> Option<Location>
fn reachable_dest() -> Option<Location>
source§fn teleportable_asset_and_dest() -> Option<(Asset, Location)>
fn teleportable_asset_and_dest() -> Option<(Asset, Location)>
A
(Asset, Location)
pair representing asset and the destination it can be
teleported to. Used only in benchmarks. Read moresource§fn reserve_transferable_asset_and_dest() -> Option<(Asset, Location)>
fn reserve_transferable_asset_and_dest() -> Option<(Asset, Location)>
A
(Asset, Location)
pair representing asset and the destination it can be
reserve-transferred to. Used only in benchmarks. Read moresource§fn set_up_complex_asset_transfer() -> Option<(Assets, u32, Location, Box<dyn FnOnce()>)>
fn set_up_complex_asset_transfer() -> Option<(Assets, u32, Location, Box<dyn FnOnce()>)>
Sets up a complex transfer (usually consisting of a teleport and reserve-based transfer), so
that runtime can properly benchmark
transfer_assets()
extrinsic. Should return a tuple
(Asset, u32, Location, dyn FnOnce())
representing the assets to transfer, the
u32
index of the asset to be used for fees, the destination chain for the transfer, and a
verify()
closure to verify the intended transfer side-effects. Read moresource§impl Config for Runtime
impl Config for Runtime
§type RuntimeEvent = RuntimeEvent
type RuntimeEvent = RuntimeEvent
The runtime’s definition of an event.
§type TrafficDefaultValue = OnDemandTrafficDefaultValue
type TrafficDefaultValue = OnDemandTrafficDefaultValue
The default value for the spot traffic multiplier.
§type WeightInfo = WeightInfo<Runtime>
type WeightInfo = WeightInfo<Runtime>
Something that provides the weight of this pallet.
§type MaxHistoricalRevenue = MaxHistoricalRevenue
type MaxHistoricalRevenue = MaxHistoricalRevenue
The maximum number of blocks some historical revenue
information stored for.
§type PalletId = OnDemandPalletId
type PalletId = OnDemandPalletId
Identifier for the internal revenue balance.
source§impl Config for Runtime
impl Config for Runtime
§type OnTimestampSet = Pallet<Runtime>
type OnTimestampSet = Pallet<Runtime>
Something which can be notified (e.g. another pallet) when the timestamp is set. Read more
§type MinimumPeriod = MinimumPeriod
type MinimumPeriod = MinimumPeriod
The minimum period between blocks. Read more
§type WeightInfo = WeightInfo<Runtime>
type WeightInfo = WeightInfo<Runtime>
Weight information for extrinsics in this pallet.
source§impl Config for Runtime
impl Config for Runtime
§type EpochDuration = EpochDuration
type EpochDuration = EpochDuration
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
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
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>
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 = ()
type WeightInfo = ()
Helper for weights computations
§type MaxAuthorities = MaxAuthorities
type MaxAuthorities = MaxAuthorities
Max number of authorities allowed
§type MaxNominators = MaxNominators
type MaxNominators = MaxNominators
The maximum number of nominators for each validator.
§type KeyOwnerProof = MembershipProof
type KeyOwnerProof = MembershipProof
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>
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
impl Config for Runtime
§type RuntimeEvent = RuntimeEvent
type RuntimeEvent = RuntimeEvent
The overarching event type of the runtime.
§type Migrations = MockedMigrations
type Migrations = MockedMigrations
Mocked migrations for benchmarking only. Read more
§type CursorMaxLen = ConstU32<65536>
type CursorMaxLen = ConstU32<65536>
The maximal length of an encoded cursor. Read more
§type IdentifierMaxLen = ConstU32<256>
type IdentifierMaxLen = ConstU32<256>
The maximal length of an encoded identifier. Read more
§type MigrationStatusHandler = ()
type MigrationStatusHandler = ()
Notifications for status updates of a runtime upgrade. Read more
§type FailedMigrationHandler = FreezeChainOnFailedMigration
type FailedMigrationHandler = FreezeChainOnFailedMigration
Handler for failed migrations.
§type MaxServiceWeight = MbmServiceWeight
type MaxServiceWeight = MbmServiceWeight
The maximum weight to spend each block to execute migrations.
§type WeightInfo = WeightInfo<Runtime>
type WeightInfo = WeightInfo<Runtime>
Weight information for the calls and functions of this pallet.
source§impl Config for Runtime
impl Config for Runtime
§type CurrencyBalance = u128
type CurrencyBalance = u128
Just the
Currency::Balance
type; we have this item to allow us to constrain it to
From<u64>
.§type CurrencyToVote = U128CurrencyToVote
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. The u64
is used to communicate with the
frame_election_provider_support
crate which accepts u64 numbers and does operations
in 128.
Consequently, the backward convert is used convert the u128s from sp-elections back to a
BalanceOf
.§type RewardRemainder = ()
type RewardRemainder = ()
Tokens have been minted and are unused for validator-reward.
See Era payout.
§type RuntimeEvent = RuntimeEvent
type RuntimeEvent = RuntimeEvent
The overarching event type.
§type Reward = ()
type Reward = ()
Handler for the unbalanced increment when rewarding a staker.
NOTE: in most cases, the implementation of
OnUnbalanced
should modify the total
issuance.§type SessionsPerEra = SessionsPerEra
type SessionsPerEra = SessionsPerEra
Number of sessions per era.
§type BondingDuration = BondingDuration
type BondingDuration = BondingDuration
Number of eras that staked funds must remain bonded for.
§type SlashDeferDuration = SlashDeferDuration
type SlashDeferDuration = SlashDeferDuration
Number of eras that slashes are deferred by, after computation. Read more
§type AdminOrigin = EitherOf<EnsureRoot<<<MultiSignature as Verify>::Signer as IdentifyAccount>::AccountId>, StakingAdmin>
type AdminOrigin = EitherOf<EnsureRoot<<<MultiSignature as Verify>::Signer as IdentifyAccount>::AccountId>, StakingAdmin>
The origin which can manage less critical staking parameters that does not require root. Read more
§type SessionInterface = Runtime
type SessionInterface = Runtime
Interface for interacting with a session pallet.
§type EraPayout = EraPayout
type EraPayout = EraPayout
The payout for validators and the system for the current era.
See Era payout.
§type MaxExposurePageSize = MaxExposurePageSize
type MaxExposurePageSize = MaxExposurePageSize
The maximum size of each
T::ExposurePage
. Read more§type NextNewSession = Pallet<Runtime>
type NextNewSession = Pallet<Runtime>
Something that can estimate the next session change, accurately or as a best effort
guess.
§type ElectionProvider = Pallet<Runtime>
type ElectionProvider = Pallet<Runtime>
Something that provides the election functionality.
§type GenesisElectionProvider = OnChainExecution<OnChainSeqPhragmen>
type GenesisElectionProvider = OnChainExecution<OnChainSeqPhragmen>
Something that provides the election functionality at genesis.
§type VoterList = Pallet<Runtime, Instance1>
type VoterList = Pallet<Runtime, Instance1>
Something that provides a best-effort sorted list of voters aka electing nominators,
used for NPoS election. Read more
§type TargetList = UseValidatorsMap<Runtime>
type TargetList = UseValidatorsMap<Runtime>
WIP: This is a noop as of now, the actual business logic that’s described below is going
to be introduced in a follow-up PR. Read more
§type NominationsQuota = FixedNominationsQuota<{ MaxNominations::get() }>
type NominationsQuota = FixedNominationsQuota<{ MaxNominations::get() }>
Something that defines the maximum number of nominations per nominator.
§type MaxUnlockingChunks = ConstU32<32>
type MaxUnlockingChunks = ConstU32<32>
The maximum number of
unlocking
chunks a StakingLedger
can
have. Effectively determines how many unique eras a staker may be
unbonding in. Read more§type HistoryDepth = ConstU32<84>
type HistoryDepth = ConstU32<84>
Number of eras to keep in history. Read more
§type MaxControllersInDeprecationBatch = MaxControllersInDeprecationBatch
type MaxControllersInDeprecationBatch = MaxControllersInDeprecationBatch
The maximum amount of controller accounts that can be deprecated in one call.
§type BenchmarkingConfig = StakingBenchmarkingConfig
type BenchmarkingConfig = StakingBenchmarkingConfig
Some parameters of the benchmarking.
§type EventListeners = (Pallet<Runtime>, Pallet<Runtime>)
type EventListeners = (Pallet<Runtime>, Pallet<Runtime>)
Something that listens to staking updates and performs actions based on the data it
receives. Read more
§type WeightInfo = WeightInfo<Runtime>
type WeightInfo = WeightInfo<Runtime>
Weight information for extrinsics in this pallet.
§type DisablingStrategy = UpToLimitWithReEnablingDisablingStrategy
type DisablingStrategy = UpToLimitWithReEnablingDisablingStrategy
DisablingStragegy
controls how validators are disabledsource§impl Config for Runtime
impl Config for Runtime
type RuntimeOrigin = RuntimeOrigin
type RuntimeEvent = RuntimeEvent
§type BrokerPotLocation = BrokerPot
type BrokerPotLocation = BrokerPot
The coretime chain pot location.
§type WeightInfo = WeightInfo<Runtime>
type WeightInfo = WeightInfo<Runtime>
Something that provides the weight of this pallet.
§type SendXcm = WithUniqueTopic<ChildParachainRouter<Runtime, Pallet<Runtime>, ExponentialPrice<FeeAssetId, BaseDeliveryFee, TransactionByteFee, Pallet<Runtime>>>>
type SendXcm = WithUniqueTopic<ChildParachainRouter<Runtime, Pallet<Runtime>, ExponentialPrice<FeeAssetId, BaseDeliveryFee, TransactionByteFee, Pallet<Runtime>>>>
The XCM sender.
§type AssetTransactor = FungibleAdapter<Pallet<Runtime>, IsConcrete<TokenLocation>, (ChildParachainConvertsVia<Id, <<MultiSignature as Verify>::Signer as IdentifyAccount>::AccountId>, AccountId32Aliases<ThisNetwork, <<MultiSignature as Verify>::Signer as IdentifyAccount>::AccountId>, HashedDescription<<<MultiSignature as Verify>::Signer as IdentifyAccount>::AccountId, DescribeFamily<(DescribeTerminus, DescribePalletTerminal, DescribeAccountId32Terminal, DescribeAccountKey20Terminal, DescribeTreasuryVoiceTerminal, DescribeBodyTerminal)>>), <<MultiSignature as Verify>::Signer as IdentifyAccount>::AccountId, LocalCheckAccount>
type AssetTransactor = FungibleAdapter<Pallet<Runtime>, IsConcrete<TokenLocation>, (ChildParachainConvertsVia<Id, <<MultiSignature as Verify>::Signer as IdentifyAccount>::AccountId>, AccountId32Aliases<ThisNetwork, <<MultiSignature as Verify>::Signer as IdentifyAccount>::AccountId>, HashedDescription<<<MultiSignature as Verify>::Signer as IdentifyAccount>::AccountId, DescribeFamily<(DescribeTerminus, DescribePalletTerminal, DescribeAccountId32Terminal, DescribeAccountKey20Terminal, DescribeTreasuryVoiceTerminal, DescribeBodyTerminal)>>), <<MultiSignature as Verify>::Signer as IdentifyAccount>::AccountId, LocalCheckAccount>
The asset transactor.
§type AccountToLocation = AliasesIntoAccountId32<ThisNetwork, <Runtime as Config>::AccountId>
type AccountToLocation = AliasesIntoAccountId32<ThisNetwork, <Runtime as Config>::AccountId>
AccountId to Location converter
§type MaxXcmTransactWeight = MaxXcmTransactWeight
type MaxXcmTransactWeight = MaxXcmTransactWeight
Maximum weight for any XCM transact call that should be executed on the coretime chain. Read more
source§impl Config for Runtime
impl Config for Runtime
type RuntimeOrigin = RuntimeOrigin
§type RuntimeEvent = RuntimeEvent
type RuntimeEvent = RuntimeEvent
The outer event type.
§type ChannelManager = EnsureRoot<<<MultiSignature as Verify>::Signer as IdentifyAccount>::AccountId>
type ChannelManager = EnsureRoot<<<MultiSignature as Verify>::Signer as IdentifyAccount>::AccountId>
The origin that can perform “force” actions on channels.
§type DefaultChannelSizeAndCapacityWithSystem = ActiveConfigHrmpChannelSizeAndCapacityRatio<Runtime, HrmpChannelSizeAndCapacityWithSystemRatio>
type DefaultChannelSizeAndCapacityWithSystem = ActiveConfigHrmpChannelSizeAndCapacityRatio<Runtime, HrmpChannelSizeAndCapacityWithSystemRatio>
The default channel size and capacity to use when opening a channel to a system
parachain.
§type VersionWrapper = Pallet<Runtime>
type VersionWrapper = Pallet<Runtime>
Means of converting an
Xcm
into a VersionedXcm
. This pallet sends HRMP XCM
notifications to the channel-related parachains, while the WrapVersion
implementation
attempts to wrap them into the most suitable XCM version for the destination parachain. Read more§type WeightInfo = WeightInfo<Runtime>
type WeightInfo = WeightInfo<Runtime>
Something that provides the weight of this pallet.
source§impl Config for Runtime
impl Config for Runtime
§type FullIdentification = Exposure<<<MultiSignature as Verify>::Signer as IdentifyAccount>::AccountId, u128>
type FullIdentification = Exposure<<<MultiSignature as Verify>::Signer as IdentifyAccount>::AccountId, u128>
Full identification of the validator.
§type FullIdentificationOf = ExposureOf<Runtime>
type FullIdentificationOf = ExposureOf<Runtime>
A conversion from validator ID to full identification. Read more
source§impl Config for Runtime
impl Config for Runtime
§type WeightInfo = WeightInfo<Runtime>
type WeightInfo = WeightInfo<Runtime>
Weight information for extrinsics in this pallet.
source§impl Config for Runtime
impl Config for Runtime
§type KeyOwnerProofSystem = Pallet<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
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
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>
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 = WeightInfo<Runtime>
type WeightInfo = WeightInfo<Runtime>
Weight information for extrinsics in this pallet.
§type BenchmarkingConfig = BenchConfig<300>
type BenchmarkingConfig = BenchConfig<300>
Benchmarking configuration.
source§impl Config for Runtime
impl Config for Runtime
§type RuntimeEvent = RuntimeEvent
type RuntimeEvent = RuntimeEvent
The overarching event type.
§type RuntimeParameters = RuntimeParameters
type RuntimeParameters = RuntimeParameters
The overarching KV type of the parameters. Read more
§type AdminOrigin = DynamicParameterOrigin
type AdminOrigin = DynamicParameterOrigin
The origin which may update a parameter. Read more
§type WeightInfo = WeightInfo<Runtime>
type WeightInfo = WeightInfo<Runtime>
Weight information for extrinsics in this module.
source§impl Config for Runtime
impl Config for Runtime
§type RuntimeEvent = RuntimeEvent
type RuntimeEvent = RuntimeEvent
The overarching event type.
§type RuntimeCall = RuntimeCall
type RuntimeCall = RuntimeCall
A sudo-able call.
§type WeightInfo = WeightInfo<Runtime>
type WeightInfo = WeightInfo<Runtime>
Type representing the weight of this pallet
source§impl Config for Runtime
impl Config for Runtime
§type WeightInfo = WeightInfo<Runtime>
type WeightInfo = WeightInfo<Runtime>
The Weight information for extrinsics in this pallet.
§type RuntimeEvent = RuntimeEvent
type RuntimeEvent = RuntimeEvent
The runtime event type.
§type CreateOrigin = EnsureRoot<<<MultiSignature as Verify>::Signer as IdentifyAccount>::AccountId>
type CreateOrigin = EnsureRoot<<<MultiSignature as Verify>::Signer as IdentifyAccount>::AccountId>
The origin permissioned to create a conversion rate for an asset.
§type RemoveOrigin = EnsureRoot<<<MultiSignature as Verify>::Signer as IdentifyAccount>::AccountId>
type RemoveOrigin = EnsureRoot<<<MultiSignature as Verify>::Signer as IdentifyAccount>::AccountId>
The origin permissioned to remove an existing conversion rate for an asset.
§type UpdateOrigin = EnsureRoot<<<MultiSignature as Verify>::Signer as IdentifyAccount>::AccountId>
type UpdateOrigin = EnsureRoot<<<MultiSignature as Verify>::Signer as IdentifyAccount>::AccountId>
The origin permissioned to update an existing conversion rate for an asset.
§type AssetKind = <Runtime as Config>::AssetKind
type AssetKind = <Runtime as Config>::AssetKind
The type for asset kinds for which the conversion rate to native balance is set.
§type BenchmarkHelper = AssetRateArguments
type BenchmarkHelper = AssetRateArguments
Helper type for benchmarks.
source§impl Config for Runtime
impl Config for Runtime
§type RuntimeEvent = RuntimeEvent
type RuntimeEvent = RuntimeEvent
The overarching event type.
§type RuntimeCall = RuntimeCall
type RuntimeCall = RuntimeCall
The overarching call type.
§type PalletsOrigin = OriginCaller
type PalletsOrigin = OriginCaller
The caller origin, overarching type of all pallets origins.
§type WeightInfo = WeightInfo<Runtime>
type WeightInfo = WeightInfo<Runtime>
Weight information for extrinsics in this pallet.
source§impl Config for Runtime
impl Config for Runtime
source§fn prepare_set_code_data() -> Vec<u8> ⓘ
fn prepare_set_code_data() -> Vec<u8> ⓘ
Adds ability to the Runtime to test against their sample code. Read more
source§fn setup_set_code_requirements(_code: &Vec<u8>) -> Result<(), BenchmarkError>
fn setup_set_code_requirements(_code: &Vec<u8>) -> Result<(), BenchmarkError>
Adds ability to the Runtime to prepare/initialize before running benchmark
set_code
.source§fn verify_set_code()
fn verify_set_code()
Adds ability to the Runtime to do custom validation after benchmark. Read more
source§impl CoreV5<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>, CheckMetadataHash<Runtime>)>>> for Runtime
impl CoreV5<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>, CheckMetadataHash<Runtime>)>>> for Runtime
source§fn version() -> RuntimeVersion
fn version() -> RuntimeVersion
Returns the version of the runtime.
source§fn execute_block(block: Block)
fn execute_block(block: Block)
Execute the given block.
source§fn initialize_block(
header: &<Block as BlockT>::Header,
) -> ExtrinsicInclusionMode
fn initialize_block( header: &<Block as BlockT>::Header, ) -> ExtrinsicInclusionMode
Initialize a block with the given header and return the runtime executive mode.
source§impl<LocalCall> CreateInherent<LocalCall> for Runtimewhere
RuntimeCall: From<LocalCall>,
impl<LocalCall> CreateInherent<LocalCall> for Runtimewhere
RuntimeCall: From<LocalCall>,
source§fn create_inherent(call: RuntimeCall) -> UncheckedExtrinsic
fn create_inherent(call: RuntimeCall) -> UncheckedExtrinsic
Create an inherent.
source§impl<LocalCall> CreateSignedTransaction<LocalCall> for Runtimewhere
RuntimeCall: From<LocalCall>,
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_signed_transaction<C: AppCrypto<Self::Public, Self::Signature>>(
call: RuntimeCall,
public: <Signature as Verify>::Signer,
account: AccountId,
nonce: <Runtime as Config>::Nonce,
) -> Option<UncheckedExtrinsic>
fn create_signed_transaction<C: AppCrypto<Self::Public, Self::Signature>>( call: RuntimeCall, public: <Signature as Verify>::Signer, account: AccountId, nonce: <Runtime as Config>::Nonce, ) -> Option<UncheckedExtrinsic>
Attempt to create signed extrinsic data that encodes call from given account. Read more
source§impl<LocalCall> CreateTransaction<LocalCall> for Runtimewhere
RuntimeCall: From<LocalCall>,
impl<LocalCall> CreateTransaction<LocalCall> for Runtimewhere
RuntimeCall: From<LocalCall>,
§type Extension = (CheckNonZeroSender<Runtime>, CheckSpecVersion<Runtime>, CheckTxVersion<Runtime>, CheckGenesis<Runtime>, CheckMortality<Runtime>, CheckNonce<Runtime>, CheckWeight<Runtime>, ChargeTransactionPayment<Runtime>, CheckMetadataHash<Runtime>)
type Extension = (CheckNonZeroSender<Runtime>, CheckSpecVersion<Runtime>, CheckTxVersion<Runtime>, CheckGenesis<Runtime>, CheckMortality<Runtime>, CheckNonce<Runtime>, CheckWeight<Runtime>, ChargeTransactionPayment<Runtime>, CheckMetadataHash<Runtime>)
The extension.
source§fn create_transaction(
call: RuntimeCall,
extension: TxExtension,
) -> UncheckedExtrinsic
fn create_transaction( call: RuntimeCall, extension: TxExtension, ) -> UncheckedExtrinsic
Create a transaction using the call and the desired transaction extension.
source§impl<C> CreateTransactionBase<C> for Runtimewhere
RuntimeCall: From<C>,
impl<C> CreateTransactionBase<C> for Runtimewhere
RuntimeCall: From<C>,
§type RuntimeCall = RuntimeCall
type RuntimeCall = RuntimeCall
The runtime’s call type. Read more
§type Extrinsic = 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>, CheckMetadataHash<Runtime>)>
type Extrinsic = 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>, CheckMetadataHash<Runtime>)>
The extrinsic.
source§impl DryRunApiV1<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>, CheckMetadataHash<Runtime>)>>, RuntimeCall, RuntimeEvent, OriginCaller> for Runtime
impl DryRunApiV1<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>, CheckMetadataHash<Runtime>)>>, RuntimeCall, RuntimeEvent, OriginCaller> for Runtime
source§fn dry_run_call(
origin: OriginCaller,
call: RuntimeCall,
) -> Result<CallDryRunEffects<RuntimeEvent>, XcmDryRunApiError>
fn dry_run_call( origin: OriginCaller, call: RuntimeCall, ) -> Result<CallDryRunEffects<RuntimeEvent>, XcmDryRunApiError>
Dry run call.
source§fn dry_run_xcm(
origin_location: VersionedLocation,
xcm: VersionedXcm<RuntimeCall>,
) -> Result<XcmDryRunEffects<RuntimeEvent>, XcmDryRunApiError>
fn dry_run_xcm( origin_location: VersionedLocation, xcm: VersionedXcm<RuntimeCall>, ) -> Result<XcmDryRunEffects<RuntimeEvent>, XcmDryRunApiError>
Dry run XCM program
source§impl GenesisBuilderV1<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>, CheckMetadataHash<Runtime>)>>> for Runtime
impl GenesisBuilderV1<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>, CheckMetadataHash<Runtime>)>>> for Runtime
source§impl GetRuntimeBlockType for Runtime
impl GetRuntimeBlockType for Runtime
§type RuntimeBlock = <Runtime as Config>::Block
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>, CheckMetadataHash<Runtime>)>>> for Runtime
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>, CheckMetadataHash<Runtime>)>>> for Runtime
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
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<()>
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>
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 LocationToAccountApiV1<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>, CheckMetadataHash<Runtime>)>>, <<MultiSignature as Verify>::Signer as IdentifyAccount>::AccountId> for Runtime
impl LocationToAccountApiV1<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>, CheckMetadataHash<Runtime>)>>, <<MultiSignature as Verify>::Signer as IdentifyAccount>::AccountId> for Runtime
source§fn convert_location(location: VersionedLocation) -> Result<AccountId, Error>
fn convert_location(location: VersionedLocation) -> Result<AccountId, Error>
Converts
Location
to AccountId
.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>, CheckMetadataHash<Runtime>)>>> for Runtime
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>, CheckMetadataHash<Runtime>)>>> for Runtime
source§fn metadata() -> OpaqueMetadata
fn metadata() -> OpaqueMetadata
Returns the metadata of a runtime.
source§fn metadata_at_version(version: u32) -> Option<OpaqueMetadata>
fn metadata_at_version(version: u32) -> Option<OpaqueMetadata>
Returns the metadata at a given version. Read more
source§impl MinerConfig for Runtime
impl MinerConfig for Runtime
§type AccountId = <<MultiSignature as Verify>::Signer as IdentifyAccount>::AccountId
type AccountId = <<MultiSignature as Verify>::Signer as IdentifyAccount>::AccountId
The account id type.
§type MaxLength = OffchainSolutionLengthLimit
type MaxLength = OffchainSolutionLengthLimit
Maximum length of the solution that the miner is allowed to generate. Read more
§type MaxWeight = OffchainSolutionWeightLimit
type MaxWeight = OffchainSolutionWeightLimit
Maximum weight of the solution that the miner is allowed to generate. Read more
§type Solution = NposCompactSolution16
type Solution = NposCompactSolution16
The solution that the miner is mining.
§type MaxVotesPerVoter = <<Runtime as Config>::DataProvider as ElectionDataProvider>::MaxVotesPerVoter
type MaxVotesPerVoter = <<Runtime as Config>::DataProvider as ElectionDataProvider>::MaxVotesPerVoter
Maximum number of votes per voter in the snapshots.
§type MaxWinners = MaxActiveValidators
type MaxWinners = MaxActiveValidators
The maximum number of winners that can be elected.
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>, CheckMetadataHash<Runtime>)>>, H256, u32> for Runtime
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>, CheckMetadataHash<Runtime>)>>, H256, u32> for Runtime
source§fn mmr_root() -> Result<<<Runtime as Config>::Hashing as Hash>::Output, Error>
fn mmr_root() -> Result<<<Runtime as Config>::Hashing as Hash>::Output, Error>
Return the on-chain MMR root hash.
source§fn generate_proof(
block_numbers: Vec<BlockNumber>,
best_known_block_number: Option<BlockNumber>,
) -> Result<(Vec<EncodableOpaqueLeaf>, LeafProof<<<Runtime as Config>::Hashing as Hash>::Output>), Error>
fn generate_proof( block_numbers: Vec<BlockNumber>, best_known_block_number: Option<BlockNumber>, ) -> Result<(Vec<EncodableOpaqueLeaf>, LeafProof<<<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§impl NominationPoolsApiV1<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>, CheckMetadataHash<Runtime>)>>, <<MultiSignature as Verify>::Signer as IdentifyAccount>::AccountId, u128> for Runtime
impl NominationPoolsApiV1<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>, CheckMetadataHash<Runtime>)>>, <<MultiSignature as Verify>::Signer as IdentifyAccount>::AccountId, u128> for Runtime
source§fn pending_rewards(member: AccountId) -> Balance
fn pending_rewards(member: AccountId) -> Balance
Returns the pending rewards for the member that the AccountId was given for.
source§fn points_to_balance(pool_id: PoolId, points: Balance) -> Balance
fn points_to_balance(pool_id: PoolId, points: Balance) -> Balance
Returns the equivalent balance of
points
for a given pool.source§fn balance_to_points(pool_id: PoolId, new_funds: Balance) -> Balance
fn balance_to_points(pool_id: PoolId, new_funds: Balance) -> Balance
Returns the equivalent points of
new_funds
for a given pool.source§fn pool_pending_slash(pool_id: PoolId) -> Balance
fn pool_pending_slash(pool_id: PoolId) -> Balance
Returns the pending slash for a given pool.
source§fn member_pending_slash(member: AccountId) -> Balance
fn member_pending_slash(member: AccountId) -> Balance
Returns the pending slash for a given pool member. Read more
source§fn pool_needs_delegate_migration(pool_id: PoolId) -> bool
fn pool_needs_delegate_migration(pool_id: PoolId) -> bool
Returns true if the pool with
pool_id
needs migration. Read moresource§fn member_needs_delegate_migration(member: AccountId) -> bool
fn member_needs_delegate_migration(member: AccountId) -> bool
Returns true if the delegated funds of the pool
member
needs migration. Read moresource§fn member_total_balance(member: AccountId) -> Balance
fn member_total_balance(member: AccountId) -> Balance
Returns the total contribution of a pool member including any balance that is unbonding.
source§fn pool_balance(pool_id: PoolId) -> Balance
fn pool_balance(pool_id: PoolId) -> Balance
Total balance contributed to the pool.
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>, CheckMetadataHash<Runtime>)>>> for Runtime
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>, CheckMetadataHash<Runtime>)>>> for Runtime
source§impl ParachainHostV11<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>, CheckMetadataHash<Runtime>)>>> for Runtime
impl ParachainHostV11<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>, CheckMetadataHash<Runtime>)>>> for Runtime
source§fn validators() -> Vec<ValidatorId>
fn validators() -> Vec<ValidatorId>
Get the current validators.
source§fn validator_groups() -> (Vec<Vec<ValidatorIndex>>, GroupRotationInfo<BlockNumber>)
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>>
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>>
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 moresource§fn assumed_validation_data(
para_id: ParaId,
expected_persisted_validation_data_hash: Hash,
) -> Option<(PersistedValidationData<Hash, BlockNumber>, ValidationCodeHash)>
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
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
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>
fn validation_code( para_id: ParaId, assumption: OccupiedCoreAssumption, ) -> Option<ValidationCode>
Fetch the validation code used by a para, making the given
OccupiedCoreAssumption
. Read moresource§fn candidate_pending_availability(
para_id: ParaId,
) -> Option<CommittedCandidateReceipt<Hash>>
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>>
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>
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>
fn session_executor_params( session_index: SessionIndex, ) -> Option<ExecutorParams>
Returns execution parameters for the session.
source§fn dmq_contents(recipient: ParaId) -> Vec<InboundDownwardMessage<BlockNumber>>
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>>>
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>
fn validation_code_by_hash(hash: ValidationCodeHash) -> Option<ValidationCode>
Get the validation code from its hash.
source§fn on_chain_votes() -> Option<ScrapedOnChainVotes<Hash>>
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,
)
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>
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>
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 moresource§fn disputes() -> Vec<(SessionIndex, CandidateHash, DisputeState<BlockNumber>)>
fn disputes() -> Vec<(SessionIndex, CandidateHash, DisputeState<BlockNumber>)>
Returns all onchain disputes.
source§fn unapplied_slashes() -> Vec<(SessionIndex, CandidateHash, PendingSlashes)>
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>
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<()>
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§fn minimum_backing_votes() -> u32
fn minimum_backing_votes() -> u32
Get the minimum number of backing votes for a parachain candidate.
This is a staging method! Do not use on production runtimes!
source§fn para_backing_state(para_id: ParaId) -> Option<BackingState>
fn para_backing_state(para_id: ParaId) -> Option<BackingState>
Returns the state of parachain backing for a given para.
source§fn async_backing_params() -> AsyncBackingParams
fn async_backing_params() -> AsyncBackingParams
Returns candidate’s acceptance limitations for asynchronous backing for a relay parent.
source§fn approval_voting_params() -> ApprovalVotingParams
fn approval_voting_params() -> ApprovalVotingParams
Approval voting configuration parameters
source§fn disabled_validators() -> Vec<ValidatorIndex>
fn disabled_validators() -> Vec<ValidatorIndex>
Returns a list of all disabled validators at the given block.
source§fn node_features() -> NodeFeatures
fn node_features() -> NodeFeatures
Get node features.
This is a staging method! Do not use on production runtimes!
source§fn candidates_pending_availability(
para_id: ParaId,
) -> Vec<CommittedCandidateReceipt<Hash>>
fn candidates_pending_availability( para_id: ParaId, ) -> Vec<CommittedCandidateReceipt<Hash>>
Elastic scaling support
source§impl PartialEq for Runtime
impl PartialEq for Runtime
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>, CheckMetadataHash<Runtime>)>>> for Runtime
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>, CheckMetadataHash<Runtime>)>>> for Runtime
source§impl SigningTypes for Runtime
impl SigningTypes for Runtime
§type Public = <MultiSignature as Verify>::Signer
type Public = <MultiSignature as Verify>::Signer
A public key that is capable of identifying
AccountId
s. Read more§type Signature = MultiSignature
type Signature = MultiSignature
A matching
Signature
type.source§impl StakingApiV1<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>, CheckMetadataHash<Runtime>)>>, u128, <<MultiSignature as Verify>::Signer as IdentifyAccount>::AccountId> for Runtime
impl StakingApiV1<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>, CheckMetadataHash<Runtime>)>>, u128, <<MultiSignature as Verify>::Signer as IdentifyAccount>::AccountId> for Runtime
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>, CheckMetadataHash<Runtime>)>>> for Runtime
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>, CheckMetadataHash<Runtime>)>>> for Runtime
source§fn validate_transaction(
source: TransactionSource,
tx: <Block as BlockT>::Extrinsic,
block_hash: <Block as BlockT>::Hash,
) -> TransactionValidity
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>, CheckMetadataHash<Runtime>)>>, u128> for Runtime
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>, CheckMetadataHash<Runtime>)>>, u128> for Runtime
fn query_info( uxt: <Block as BlockT>::Extrinsic, len: u32, ) -> RuntimeDispatchInfo<Balance>
fn query_fee_details( uxt: <Block as BlockT>::Extrinsic, len: u32, ) -> FeeDetails<Balance>
fn query_weight_to_fee(weight: Weight) -> Balance
fn query_length_to_fee(length: u32) -> Balance
source§impl TransactionPaymentCallApiV3<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>, CheckMetadataHash<Runtime>)>>, u128, RuntimeCall> for Runtime
impl TransactionPaymentCallApiV3<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>, CheckMetadataHash<Runtime>)>>, u128, RuntimeCall> for Runtime
source§fn query_call_info(call: RuntimeCall, len: u32) -> RuntimeDispatchInfo<Balance>
fn query_call_info(call: RuntimeCall, len: u32) -> RuntimeDispatchInfo<Balance>
Query information of a dispatch class, weight, and fee of a given encoded
Call
.source§fn query_call_fee_details(call: RuntimeCall, len: u32) -> FeeDetails<Balance>
fn query_call_fee_details(call: RuntimeCall, len: u32) -> FeeDetails<Balance>
Query fee details of a given encoded
Call
.source§fn query_weight_to_fee(weight: Weight) -> Balance
fn query_weight_to_fee(weight: Weight) -> Balance
Query the output of the current
WeightToFee
given some input.source§fn query_length_to_fee(length: u32) -> Balance
fn query_length_to_fee(length: u32) -> Balance
Query the output of the current
LengthToFee
given some input.source§impl TrustedQueryApiV1<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>, CheckMetadataHash<Runtime>)>>> for Runtime
impl TrustedQueryApiV1<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>, CheckMetadataHash<Runtime>)>>> for Runtime
source§fn is_trusted_reserve(
asset: VersionedAsset,
location: VersionedLocation,
) -> Result<bool, Error>
fn is_trusted_reserve( asset: VersionedAsset, location: VersionedLocation, ) -> Result<bool, Error>
Returns if the location is a trusted reserve for the asset. Read more
source§fn is_trusted_teleporter(
asset: VersionedAsset,
location: VersionedLocation,
) -> Result<bool, Error>
fn is_trusted_teleporter( asset: VersionedAsset, location: VersionedLocation, ) -> Result<bool, Error>
Returns if the asset can be teleported to the location. Read more
source§impl TryRuntimeV1<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>, CheckMetadataHash<Runtime>)>>> for Runtime
impl TryRuntimeV1<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>, CheckMetadataHash<Runtime>)>>> for Runtime
source§fn on_runtime_upgrade(checks: UpgradeCheckSelect) -> (Weight, Weight)
fn on_runtime_upgrade(checks: UpgradeCheckSelect) -> (Weight, Weight)
dry-run runtime upgrades, returning the total weight consumed. Read more
source§fn execute_block(
block: Block,
state_root_check: bool,
signature_check: bool,
select: TryStateSelect,
) -> Weight
fn execute_block( block: Block, state_root_check: bool, signature_check: bool, select: TryStateSelect, ) -> Weight
Execute the given block, but optionally disable state-root and signature checks. Read more
source§impl ValidateUnsigned for Runtime
impl ValidateUnsigned for Runtime
§type Call = RuntimeCall
type Call = RuntimeCall
The call to validate
source§fn pre_dispatch(call: &Self::Call) -> Result<(), TransactionValidityError>
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
fn validate_unsigned( source: TransactionSource, call: &Self::Call, ) -> TransactionValidity
Return the validity of the call Read more
source§impl XcmPaymentApiV1<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>, CheckMetadataHash<Runtime>)>>> for Runtime
impl XcmPaymentApiV1<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>, CheckMetadataHash<Runtime>)>>> for Runtime
source§fn query_acceptable_payment_assets(
xcm_version: Version,
) -> Result<Vec<VersionedAssetId>, XcmPaymentApiError>
fn query_acceptable_payment_assets( xcm_version: Version, ) -> Result<Vec<VersionedAssetId>, XcmPaymentApiError>
Returns a list of acceptable payment assets. Read more
source§fn query_weight_to_asset_fee(
weight: Weight,
asset: VersionedAssetId,
) -> Result<u128, XcmPaymentApiError>
fn query_weight_to_asset_fee( weight: Weight, asset: VersionedAssetId, ) -> Result<u128, XcmPaymentApiError>
Converts a weight into a fee for the specified
AssetId
. Read moresource§fn query_xcm_weight(
message: VersionedXcm<()>,
) -> Result<Weight, XcmPaymentApiError>
fn query_xcm_weight( message: VersionedXcm<()>, ) -> Result<Weight, XcmPaymentApiError>
Returns a weight needed to execute a XCM. Read more
source§fn query_delivery_fees(
destination: VersionedLocation,
message: VersionedXcm<()>,
) -> Result<VersionedAssets, XcmPaymentApiError>
fn query_delivery_fees( destination: VersionedLocation, message: VersionedXcm<()>, ) -> Result<VersionedAssets, XcmPaymentApiError>
Get delivery fees for sending a specific
message
to a destination
.
These always come in a specific asset, defined by the chain. Read moreimpl Config for Runtime
impl Config for Runtime
impl Config for Runtime
impl Config for Runtime
impl Config for Runtime
impl Config for Runtime
impl Config for Runtime
impl Config for Runtime
impl Config for Runtime
impl Config for Runtime
impl Copy for Runtime
impl Eq for Runtime
impl StructuralPartialEq for Runtime
Auto Trait Implementations§
impl Freeze for Runtime
impl RefUnwindSafe for Runtime
impl Send for Runtime
impl Sync for Runtime
impl Unpin for Runtime
impl UnwindSafe for Runtime
Blanket Implementations§
source§impl<T> AuthorityDiscoveryConfig for Twhere
T: Config,
impl<T> AuthorityDiscoveryConfig for Twhere
T: Config,
Retrieve authority identifiers of the current authority set in canonical ordering.
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
source§impl<T> CheckedConversion for T
impl<T> CheckedConversion for T
source§impl<T> CloneToUninit for Twhere
T: Copy,
impl<T> CloneToUninit for Twhere
T: Copy,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§default unsafe fn clone_to_uninit(&self, dst: *mut T)
default unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)§impl<T> Conv for T
impl<T> Conv for T
source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Checks if this value is equivalent to the given key. Read more
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Checks if this value is equivalent to the given key. Read more
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Checks if this value is equivalent to the given key. Read more
§impl<T> FmtForward for T
impl<T> FmtForward for T
§fn fmt_binary(self) -> FmtBinary<Self>where
Self: Binary,
fn fmt_binary(self) -> FmtBinary<Self>where
Self: Binary,
Causes
self
to use its Binary
implementation when Debug
-formatted.§fn fmt_display(self) -> FmtDisplay<Self>where
Self: Display,
fn fmt_display(self) -> FmtDisplay<Self>where
Self: Display,
Causes
self
to use its Display
implementation when
Debug
-formatted.§fn fmt_lower_exp(self) -> FmtLowerExp<Self>where
Self: LowerExp,
fn fmt_lower_exp(self) -> FmtLowerExp<Self>where
Self: LowerExp,
Causes
self
to use its LowerExp
implementation when
Debug
-formatted.§fn fmt_lower_hex(self) -> FmtLowerHex<Self>where
Self: LowerHex,
fn fmt_lower_hex(self) -> FmtLowerHex<Self>where
Self: LowerHex,
Causes
self
to use its LowerHex
implementation when
Debug
-formatted.§fn fmt_octal(self) -> FmtOctal<Self>where
Self: Octal,
fn fmt_octal(self) -> FmtOctal<Self>where
Self: Octal,
Causes
self
to use its Octal
implementation when Debug
-formatted.§fn fmt_pointer(self) -> FmtPointer<Self>where
Self: Pointer,
fn fmt_pointer(self) -> FmtPointer<Self>where
Self: Pointer,
Causes
self
to use its Pointer
implementation when
Debug
-formatted.§fn fmt_upper_exp(self) -> FmtUpperExp<Self>where
Self: UpperExp,
fn fmt_upper_exp(self) -> FmtUpperExp<Self>where
Self: UpperExp,
Causes
self
to use its UpperExp
implementation when
Debug
-formatted.§fn fmt_upper_hex(self) -> FmtUpperHex<Self>where
Self: UpperHex,
fn fmt_upper_hex(self) -> FmtUpperHex<Self>where
Self: UpperHex,
Causes
self
to use its UpperHex
implementation when
Debug
-formatted.§fn fmt_list(self) -> FmtList<Self>where
&'a Self: for<'a> IntoIterator,
fn fmt_list(self) -> FmtList<Self>where
&'a Self: for<'a> IntoIterator,
Formats each item in a sequence. Read more
source§impl<T> IdTupleConvert<T> for Twhere
T: Config + Config,
<T as Config>::IdentificationTuple: From<(<T as Config>::ValidatorId, <T as Config>::FullIdentification)>,
impl<T> IdTupleConvert<T> for Twhere
T: Config + Config,
<T as Config>::IdentificationTuple: From<(<T as Config>::ValidatorId, <T as Config>::FullIdentification)>,
source§fn convert(
id: (<T as Config>::ValidatorId, <T as Config>::FullIdentification),
) -> <T as Config>::IdentificationTuple
fn convert( id: (<T as Config>::ValidatorId, <T as Config>::FullIdentification), ) -> <T as Config>::IdentificationTuple
Convert identification tuple from
historical
trait to the one expected by offences
.§impl<T> Instrument for T
impl<T> Instrument for T
§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
source§impl<T> IntoEither for T
impl<T> IntoEither for T
source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moresource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read more§impl<Src, Dest> IntoTuple<Dest> for Srcwhere
Dest: FromTuple<Src>,
impl<Src, Dest> IntoTuple<Dest> for Srcwhere
Dest: FromTuple<Src>,
fn into_tuple(self) -> Dest
source§impl<T, Outer> IsWrappedBy<Outer> for T
impl<T, Outer> IsWrappedBy<Outer> for T
§impl<T> Pipe for Twhere
T: ?Sized,
impl<T> Pipe for Twhere
T: ?Sized,
§fn pipe<R>(self, func: impl FnOnce(Self) -> R) -> Rwhere
Self: Sized,
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
§fn pipe_ref<'a, R>(&'a self, func: impl FnOnce(&'a Self) -> R) -> Rwhere
R: 'a,
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§fn pipe_ref_mut<'a, R>(&'a mut self, func: impl FnOnce(&'a mut Self) -> R) -> Rwhere
R: 'a,
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§fn pipe_borrow<'a, B, R>(&'a self, func: impl FnOnce(&'a B) -> R) -> R
fn pipe_borrow<'a, B, R>(&'a self, func: impl FnOnce(&'a B) -> R) -> R
§fn pipe_borrow_mut<'a, B, R>(
&'a mut self,
func: impl FnOnce(&'a mut B) -> R,
) -> R
fn pipe_borrow_mut<'a, B, R>( &'a mut self, func: impl FnOnce(&'a mut B) -> R, ) -> R
§fn pipe_as_ref<'a, U, R>(&'a self, func: impl FnOnce(&'a U) -> R) -> R
fn pipe_as_ref<'a, U, R>(&'a self, func: impl FnOnce(&'a U) -> R) -> R
Borrows
self
, then passes self.as_ref()
into the pipe function.§fn pipe_as_mut<'a, U, R>(&'a mut self, func: impl FnOnce(&'a mut U) -> R) -> R
fn pipe_as_mut<'a, U, R>(&'a mut self, func: impl FnOnce(&'a mut U) -> R) -> R
Mutably borrows
self
, then passes self.as_mut()
into the pipe
function.§fn pipe_deref<'a, T, R>(&'a self, func: impl FnOnce(&'a T) -> R) -> R
fn pipe_deref<'a, T, R>(&'a self, func: impl FnOnce(&'a T) -> R) -> R
Borrows
self
, then passes self.deref()
into the pipe function.§impl<T> Pointable for T
impl<T> Pointable for T
source§impl<T> SaturatedConversion for T
impl<T> SaturatedConversion for T
source§fn saturated_from<T>(t: T) -> Selfwhere
Self: UniqueSaturatedFrom<T>,
fn saturated_from<T>(t: T) -> Selfwhere
Self: UniqueSaturatedFrom<T>,
source§fn saturated_into<T>(self) -> Twhere
Self: UniqueSaturatedInto<T>,
fn saturated_into<T>(self) -> Twhere
Self: UniqueSaturatedInto<T>,
Consume self to return an equivalent value of
T
. Read more§impl<SS, SP> SupersetOf<SS> for SPwhere
SS: SubsetOf<SP>,
impl<SS, SP> SupersetOf<SS> for SPwhere
SS: SubsetOf<SP>,
§fn to_subset(&self) -> Option<SS>
fn to_subset(&self) -> Option<SS>
The inverse inclusion map: attempts to construct
self
from the equivalent element of its
superset. Read more§fn is_in_subset(&self) -> bool
fn is_in_subset(&self) -> bool
Checks if
self
is actually part of its subset T
(and can be converted to it).§fn to_subset_unchecked(&self) -> SS
fn to_subset_unchecked(&self) -> SS
Use with care! Same as
self.to_subset
but without any property checks. Always succeeds.§fn from_subset(element: &SS) -> SP
fn from_subset(element: &SS) -> SP
The inclusion map: converts
self
to the equivalent element of its superset.§impl<T> Tap for T
impl<T> Tap for T
§fn tap_borrow<B>(self, func: impl FnOnce(&B)) -> Self
fn tap_borrow<B>(self, func: impl FnOnce(&B)) -> Self
Immutable access to the
Borrow<B>
of a value. Read more§fn tap_borrow_mut<B>(self, func: impl FnOnce(&mut B)) -> Self
fn tap_borrow_mut<B>(self, func: impl FnOnce(&mut B)) -> Self
Mutable access to the
BorrowMut<B>
of a value. Read more§fn tap_ref<R>(self, func: impl FnOnce(&R)) -> Self
fn tap_ref<R>(self, func: impl FnOnce(&R)) -> Self
Immutable access to the
AsRef<R>
view of a value. Read more§fn tap_ref_mut<R>(self, func: impl FnOnce(&mut R)) -> Self
fn tap_ref_mut<R>(self, func: impl FnOnce(&mut R)) -> Self
Mutable access to the
AsMut<R>
view of a value. Read more§fn tap_deref<T>(self, func: impl FnOnce(&T)) -> Self
fn tap_deref<T>(self, func: impl FnOnce(&T)) -> Self
Immutable access to the
Deref::Target
of a value. Read more§fn tap_deref_mut<T>(self, func: impl FnOnce(&mut T)) -> Self
fn tap_deref_mut<T>(self, func: impl FnOnce(&mut T)) -> Self
Mutable access to the
Deref::Target
of a value. Read more§fn tap_dbg(self, func: impl FnOnce(&Self)) -> Self
fn tap_dbg(self, func: impl FnOnce(&Self)) -> Self
Calls
.tap()
only in debug builds, and is erased in release builds.§fn tap_mut_dbg(self, func: impl FnOnce(&mut Self)) -> Self
fn tap_mut_dbg(self, func: impl FnOnce(&mut Self)) -> Self
Calls
.tap_mut()
only in debug builds, and is erased in release
builds.§fn tap_borrow_dbg<B>(self, func: impl FnOnce(&B)) -> Self
fn tap_borrow_dbg<B>(self, func: impl FnOnce(&B)) -> Self
Calls
.tap_borrow()
only in debug builds, and is erased in release
builds.§fn tap_borrow_mut_dbg<B>(self, func: impl FnOnce(&mut B)) -> Self
fn tap_borrow_mut_dbg<B>(self, func: impl FnOnce(&mut B)) -> Self
Calls
.tap_borrow_mut()
only in debug builds, and is erased in release
builds.§fn tap_ref_dbg<R>(self, func: impl FnOnce(&R)) -> Self
fn tap_ref_dbg<R>(self, func: impl FnOnce(&R)) -> Self
Calls
.tap_ref()
only in debug builds, and is erased in release
builds.§fn tap_ref_mut_dbg<R>(self, func: impl FnOnce(&mut R)) -> Self
fn tap_ref_mut_dbg<R>(self, func: impl FnOnce(&mut R)) -> Self
Calls
.tap_ref_mut()
only in debug builds, and is erased in release
builds.§fn tap_deref_dbg<T>(self, func: impl FnOnce(&T)) -> Self
fn tap_deref_dbg<T>(self, func: impl FnOnce(&T)) -> Self
Calls
.tap_deref()
only in debug builds, and is erased in release
builds.§impl<T> TryConv for T
impl<T> TryConv for T
source§impl<T, U> TryIntoKey<U> for Twhere
U: TryFromKey<T>,
impl<T, U> TryIntoKey<U> for Twhere
U: TryFromKey<T>,
type Error = <U as TryFromKey<T>>::Error
fn try_into_key(self) -> Result<U, <U as TryFromKey<T>>::Error>
source§impl<S, T> UncheckedInto<T> for Swhere
T: UncheckedFrom<S>,
impl<S, T> UncheckedInto<T> for Swhere
T: UncheckedFrom<S>,
source§fn unchecked_into(self) -> T
fn unchecked_into(self) -> T
The counterpart to
unchecked_from
.source§impl<T, S> UniqueSaturatedInto<T> for S
impl<T, S> UniqueSaturatedInto<T> for S
source§fn unique_saturated_into(self) -> T
fn unique_saturated_into(self) -> T
Consume self to return an equivalent value of
T
.