pub struct Runtime;Implementations§
Trait Implementations§
Source§impl AccountNonceApiV1<Block<Header<u32, BlakeTwo256>, UncheckedExtrinsic<MultiAddress<<<MultiSignature as Verify>::Signer as IdentifyAccount>::AccountId, ()>, RuntimeCall, MultiSignature, (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, (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 AddressToAssetId<u128> for Runtime
impl AddressToAssetId<u128> for Runtime
fn address_to_asset_id(address: H160) -> Option<AssetId>
fn asset_id_to_address(asset_id: AssetId) -> H160
Source§impl AsSystemOriginSigner<<Runtime as Config>::AccountId> for RuntimeOrigin
impl AsSystemOriginSigner<<Runtime as Config>::AccountId> for RuntimeOrigin
Source§fn as_system_origin_signer(&self) -> Option<&<Runtime as Config>::AccountId>
fn as_system_origin_signer(&self) -> Option<&<Runtime as Config>::AccountId>
Extract a reference of the inner value of the System
Origin::Signed variant, if self has
that variant.Source§impl AuraApiV1<Block<Header<u32, BlakeTwo256>, UncheckedExtrinsic<MultiAddress<<<MultiSignature as Verify>::Signer as IdentifyAccount>::AccountId, ()>, RuntimeCall, MultiSignature, (CheckSpecVersion<Runtime>, CheckTxVersion<Runtime>, CheckGenesis<Runtime>, CheckMortality<Runtime>, CheckNonce<Runtime>, CheckWeight<Runtime>, ChargeTransactionPayment<Runtime>, CheckMetadataHash<Runtime>)>>, Public> for Runtime
impl AuraApiV1<Block<Header<u32, BlakeTwo256>, UncheckedExtrinsic<MultiAddress<<<MultiSignature as Verify>::Signer as IdentifyAccount>::AccountId, ()>, RuntimeCall, MultiSignature, (CheckSpecVersion<Runtime>, CheckTxVersion<Runtime>, CheckGenesis<Runtime>, CheckMortality<Runtime>, CheckNonce<Runtime>, CheckWeight<Runtime>, ChargeTransactionPayment<Runtime>, CheckMetadataHash<Runtime>)>>, Public> for Runtime
Source§fn slot_duration() -> SlotDuration
fn slot_duration() -> SlotDuration
Returns the slot duration for Aura. Read more
Return the current set of authorities.
Source§impl AuraUnincludedSegmentApiV2<Block<Header<u32, BlakeTwo256>, UncheckedExtrinsic<MultiAddress<<<MultiSignature as Verify>::Signer as IdentifyAccount>::AccountId, ()>, RuntimeCall, MultiSignature, (CheckSpecVersion<Runtime>, CheckTxVersion<Runtime>, CheckGenesis<Runtime>, CheckMortality<Runtime>, CheckNonce<Runtime>, CheckWeight<Runtime>, ChargeTransactionPayment<Runtime>, CheckMetadataHash<Runtime>)>>> for Runtime
impl AuraUnincludedSegmentApiV2<Block<Header<u32, BlakeTwo256>, UncheckedExtrinsic<MultiAddress<<<MultiSignature as Verify>::Signer as IdentifyAccount>::AccountId, ()>, RuntimeCall, MultiSignature, (CheckSpecVersion<Runtime>, CheckTxVersion<Runtime>, CheckGenesis<Runtime>, CheckMortality<Runtime>, CheckNonce<Runtime>, CheckWeight<Runtime>, ChargeTransactionPayment<Runtime>, CheckMetadataHash<Runtime>)>>> for Runtime
Source§impl BlockBuilderV6<Block<Header<u32, BlakeTwo256>, UncheckedExtrinsic<MultiAddress<<<MultiSignature as Verify>::Signer as IdentifyAccount>::AccountId, ()>, RuntimeCall, MultiSignature, (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, (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 finalize_block() -> <Block as BlockT>::Header
fn finalize_block() -> <Block as BlockT>::Header
Finish the current block.
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 as BlockT>::LazyBlock,
data: InherentData,
) -> CheckInherentsResult
fn check_inherents( block: <Block as BlockT>::LazyBlock, 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.§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 CollectCollationInfoV3<Block<Header<u32, BlakeTwo256>, UncheckedExtrinsic<MultiAddress<<<MultiSignature as Verify>::Signer as IdentifyAccount>::AccountId, ()>, RuntimeCall, MultiSignature, (CheckSpecVersion<Runtime>, CheckTxVersion<Runtime>, CheckGenesis<Runtime>, CheckMortality<Runtime>, CheckNonce<Runtime>, CheckWeight<Runtime>, ChargeTransactionPayment<Runtime>, CheckMetadataHash<Runtime>)>>> for Runtime
impl CollectCollationInfoV3<Block<Header<u32, BlakeTwo256>, UncheckedExtrinsic<MultiAddress<<<MultiSignature as Verify>::Signer as IdentifyAccount>::AccountId, ()>, RuntimeCall, MultiSignature, (CheckSpecVersion<Runtime>, CheckTxVersion<Runtime>, CheckGenesis<Runtime>, CheckMortality<Runtime>, CheckNonce<Runtime>, CheckWeight<Runtime>, ChargeTransactionPayment<Runtime>, CheckMetadataHash<Runtime>)>>> for Runtime
Source§fn collect_collation_info(header: &<Block as BlockT>::Header) -> CollationInfo
fn collect_collation_info(header: &<Block as BlockT>::Header) -> CollationInfo
Collect information about a collation. Read more
Source§impl Config for Runtime
impl Config for Runtime
const VERSION_DISCOVERY_QUEUE_SIZE: u32 = 100u32
Source§type RuntimeEvent = RuntimeEvent
type RuntimeEvent = RuntimeEvent
The overarching event type.
Source§type SendXcmOrigin = EnsureXcmOrigin<RuntimeOrigin, ()>
type SendXcmOrigin = EnsureXcmOrigin<RuntimeOrigin, ()>
Required origin for sending XCM messages. If successful, it resolves to
Location
which exists as an interior location within this chain’s XCM context.Source§type XcmRouter = WithUniqueTopic<(ParentAsUmp<Pallet<Runtime>, Pallet<Runtime>, ()>, Pallet<Runtime>)>
type XcmRouter = WithUniqueTopic<(ParentAsUmp<Pallet<Runtime>, Pallet<Runtime>, ()>, Pallet<Runtime>)>
The type used to actually dispatch an XCM to its destination.
Source§type ExecuteXcmOrigin = EnsureXcmOrigin<RuntimeOrigin, SignedToAccountId32<RuntimeOrigin, <<MultiSignature as Verify>::Signer as IdentifyAccount>::AccountId, RelayNetwork>>
type ExecuteXcmOrigin = EnsureXcmOrigin<RuntimeOrigin, SignedToAccountId32<RuntimeOrigin, <<MultiSignature as Verify>::Signer as IdentifyAccount>::AccountId, RelayNetwork>>
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.Source§type XcmExecuteFilter = Nothing
type XcmExecuteFilter = Nothing
Our XCM filter which messages to be executed using
XcmExecutor must pass.Source§type XcmExecutor = XcmExecutor<XcmConfig>
type XcmExecutor = XcmExecutor<XcmConfig>
Something to execute an XCM message.
Source§type XcmTeleportFilter = Nothing
type XcmTeleportFilter = Nothing
Our XCM filter which messages to be teleported using the dedicated extrinsic must pass.
Source§type XcmReserveTransferFilter = Everything
type XcmReserveTransferFilter = Everything
Our XCM filter which messages to be reserve-transferred using the dedicated extrinsic
must pass.
Source§type Weigher = WeightInfoBounds<XcmWeight<Runtime, RuntimeCall>, RuntimeCall, MaxInstructions>
type Weigher = WeightInfoBounds<XcmWeight<Runtime, RuntimeCall>, RuntimeCall, MaxInstructions>
Means of measuring the weight consumed by an XCM message locally.
Source§type UniversalLocation = UniversalLocation
type UniversalLocation = UniversalLocation
This chain’s Universal Location.
Source§type RuntimeOrigin = RuntimeOrigin
type RuntimeOrigin = RuntimeOrigin
The runtime
Origin type.Source§type RuntimeCall = RuntimeCall
type RuntimeCall = RuntimeCall
The runtime
Call type.Source§type AdvertisedXcmVersion = CurrentXcmVersion
type AdvertisedXcmVersion = CurrentXcmVersion
The latest supported version that we advertise. Generally just set it to
pallet_xcm::CurrentXcmVersion.Source§type CurrencyMatcher = ()
type CurrencyMatcher = ()
The
Asset matcher for Currency.Source§type TrustedLockers = ()
type TrustedLockers = ()
The assets which we consider a given origin is trusted if they claim to have placed a
lock.
Source§type SovereignAccountOf = (ParentIsPreset<<<MultiSignature as Verify>::Signer as IdentifyAccount>::AccountId>, SiblingParachainConvertsVia<Sibling, <<MultiSignature as Verify>::Signer as IdentifyAccount>::AccountId>, AccountId32Aliases<RelayNetwork, <<MultiSignature as Verify>::Signer as IdentifyAccount>::AccountId>, HashedDescription<<<MultiSignature as Verify>::Signer as IdentifyAccount>::AccountId, DescribeFamily<(DescribeTerminus, DescribePalletTerminal, DescribeAccountId32Terminal, DescribeAccountKey20Terminal, DescribeTreasuryVoiceTerminal, DescribeBodyTerminal)>>)
type SovereignAccountOf = (ParentIsPreset<<<MultiSignature as Verify>::Signer as IdentifyAccount>::AccountId>, SiblingParachainConvertsVia<Sibling, <<MultiSignature as Verify>::Signer as IdentifyAccount>::AccountId>, AccountId32Aliases<RelayNetwork, <<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.Source§type MaxLockers = ConstU32<0>
type MaxLockers = ConstU32<0>
The maximum number of local XCM locks that a single account may have.
Source§type WeightInfo = SubstrateWeight<Runtime>
type WeightInfo = SubstrateWeight<Runtime>
Weight information for extrinsics in this pallet.
Source§type MaxRemoteLockConsumers = ConstU32<0>
type MaxRemoteLockConsumers = ConstU32<0>
The maximum number of consumers a single remote lock may have.
Source§type RemoteLockConsumerIdentifier = ()
type RemoteLockConsumerIdentifier = ()
The ID type for local consumers of remote locks.
Source§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§type AuthorizedAliasConsideration = Disabled
type AuthorizedAliasConsideration = Disabled
A means of providing some cost while Authorized Aliasers data is stored on-chain.
Source§impl Config for Runtime
impl Config for Runtime
Source§type RuntimeEvent = RuntimeEvent
type RuntimeEvent = RuntimeEvent
The overarching event type.
type XcmExecutor = XcmExecutor<XcmConfig>
Source§impl Config for Runtime
impl Config for Runtime
Source§type RuntimeEvent = RuntimeEvent
type RuntimeEvent = RuntimeEvent
The overarching event type.
Source§type RuntimeCall = RuntimeCall
type RuntimeCall = RuntimeCall
The overarching call type.
Source§type PalletsOrigin = OriginCaller
type PalletsOrigin = OriginCaller
The caller origin, overarching type of all pallets origins.
Source§type WeightInfo = SubstrateWeight<Runtime>
type WeightInfo = SubstrateWeight<Runtime>
Weight information for extrinsics in this pallet.
Source§impl Config for Runtime
impl Config for Runtime
Source§type RuntimeEvent = RuntimeEvent
type RuntimeEvent = RuntimeEvent
The overarching event type.
Source§type OnSystemEvent = ()
type OnSystemEvent = ()
Something which can be notified when the validation data is set.
Source§type SelfParaId = Pallet<Runtime>
type SelfParaId = Pallet<Runtime>
Returns the parachain ID we are running with.
Source§type OutboundXcmpMessageSource = Pallet<Runtime>
type OutboundXcmpMessageSource = Pallet<Runtime>
The place where outbound XCMP messages come from. This is queried in
finalize_block.Source§type DmpQueue = EnqueueWithOrigin<Pallet<Runtime>, RelayOrigin>
type DmpQueue = EnqueueWithOrigin<Pallet<Runtime>, RelayOrigin>
Queues inbound downward messages for delayed processing. Read more
Source§type ReservedDmpWeight = ReservedDmpWeight
type ReservedDmpWeight = ReservedDmpWeight
The weight we reserve at the beginning of the block for processing DMP messages.
Source§type XcmpMessageHandler = Pallet<Runtime>
type XcmpMessageHandler = Pallet<Runtime>
The message handler that will be invoked when messages are received via XCMP. Read more
Source§type ReservedXcmpWeight = ReservedXcmpWeight
type ReservedXcmpWeight = ReservedXcmpWeight
The weight we reserve at the beginning of the block for processing XCMP messages.
Source§type CheckAssociatedRelayNumber = RelayNumberMonotonicallyIncreases
type CheckAssociatedRelayNumber = RelayNumberMonotonicallyIncreases
Something that can check the associated relay parent block number.
Source§type ConsensusHook = FixedVelocityConsensusHook<Runtime, RELAY_CHAIN_SLOT_DURATION_MILLIS, BLOCK_PROCESSING_VELOCITY, UNINCLUDED_SEGMENT_CAPACITY>
type ConsensusHook = FixedVelocityConsensusHook<Runtime, RELAY_CHAIN_SLOT_DURATION_MILLIS, BLOCK_PROCESSING_VELOCITY, UNINCLUDED_SEGMENT_CAPACITY>
An entry-point for higher-level logic to manage the backlog of unincluded parachain
blocks and authorship rights for those blocks. Read more
Source§type WeightInfo = SubstrateWeight<Runtime>
type WeightInfo = SubstrateWeight<Runtime>
Weight info for functions and calls.
Source§type RelayParentOffset = RelayParentOffset
type RelayParentOffset = RelayParentOffset
The offset between the tip of the relay chain and the parent relay block used as parent
when authoring a parachain block. Read more
Source§impl Config for Runtime
impl Config for Runtime
Source§type AuthorityId = Public
type AuthorityId = Public
The identifier type for an authority.
Source§type DisabledValidators = ()
type DisabledValidators = ()
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.
Source§type MaxAuthorities = ConstU32<250>
type MaxAuthorities = ConstU32<250>
The maximum number of authorities that the pallet can hold.
Source§type AllowMultipleBlocksPerSlot = ConstBool<true>
type AllowMultipleBlocksPerSlot = ConstBool<true>
Whether to allow block authors to create multiple blocks per slot. Read more
Source§type SlotDuration = ConstU64<SLOT_DURATION>
type SlotDuration = ConstU64<SLOT_DURATION>
The slot duration Aura should run with, expressed in milliseconds.
The effective value of this type should not change while the chain is running. Read more
Source§impl Config for Runtime
impl Config for Runtime
Source§type FindAuthor = FindAccountFromAuthorIndex<Runtime, Pallet<Runtime>>
type FindAuthor = FindAccountFromAuthorIndex<Runtime, Pallet<Runtime>>
Find the author of a block.
Source§type EventHandler = (Pallet<Runtime>,)
type EventHandler = (Pallet<Runtime>,)
An event handler for authored blocks.
Source§impl Config for Runtime
impl Config for Runtime
Source§type RuntimeEvent = RuntimeEvent
type RuntimeEvent = RuntimeEvent
The overarching event type.
Source§type ValidatorId = <Runtime as Config>::AccountId
type ValidatorId = <Runtime as Config>::AccountId
A stable ID for a validator.
Source§type ValidatorIdOf = IdentityCollator
type ValidatorIdOf = IdentityCollator
A conversion from account ID to validator ID. Read more
Source§type ShouldEndSession = PeriodicSessions<SessionPeriod, SessionOffset>
type ShouldEndSession = PeriodicSessions<SessionPeriod, SessionOffset>
Indicator for when to end the session.
Source§type NextSessionRotation = PeriodicSessions<SessionPeriod, SessionOffset>
type NextSessionRotation = PeriodicSessions<SessionPeriod, SessionOffset>
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].Source§type SessionManager = Pallet<Runtime>
type SessionManager = Pallet<Runtime>
Handler for managing new session.
Source§type SessionHandler = <SessionKeys as OpaqueKeys>::KeyTypeIdProviders
type SessionHandler = <SessionKeys as OpaqueKeys>::KeyTypeIdProviders
Handler when a session has changed.
Source§type Keys = SessionKeys
type Keys = SessionKeys
The keys.
Source§type DisablingStrategy = ()
type DisablingStrategy = ()
DisablingStragegy controls how validators are disabledSource§type WeightInfo = SubstrateWeight<Runtime>
type WeightInfo = SubstrateWeight<Runtime>
Weight information for extrinsics in this pallet.
Source§type KeyDeposit = ()
type KeyDeposit = ()
The amount to be held when setting keys.
Source§impl Config for Runtime
impl Config for Runtime
Source§type UpdateOrigin = EnsureRoot<<<MultiSignature as Verify>::Signer as IdentifyAccount>::AccountId>
type UpdateOrigin = EnsureRoot<<<MultiSignature as Verify>::Signer as IdentifyAccount>::AccountId>
Origin that can dictate updating parameters of this pallet.
Source§type ForceRemovalOrigin = EnsureRoot<<<MultiSignature as Verify>::Signer as IdentifyAccount>::AccountId>
type ForceRemovalOrigin = EnsureRoot<<<MultiSignature as Verify>::Signer as IdentifyAccount>::AccountId>
Origin that can forcibly remove candidates from the active set.
Typically the same as GovernanceOrigin but separated for flexibility.
Source§type GovernanceOrigin = EnsureRoot<<<MultiSignature as Verify>::Signer as IdentifyAccount>::AccountId>
type GovernanceOrigin = EnsureRoot<<<MultiSignature as Verify>::Signer as IdentifyAccount>::AccountId>
Origin that can approve or reject candidacy applications.
Typically the governance council or root.
Source§type MaxCandidates = MaxCandidates
type MaxCandidates = MaxCandidates
Maximum number of candidates that we should have. This is used for benchmarking and is not
enforced. Read more
Source§type MinCandidates = MinCandidates
type MinCandidates = MinCandidates
Minimum number of candidates that we should have. This is used for disaster recovery. Read more
Source§type MaxInvulnerables = MaxInvulnerables
type MaxInvulnerables = MaxInvulnerables
Maximum number of invulnerables. Read more
Source§type KickThreshold = KickThreshold
type KickThreshold = KickThreshold
Will be kicked if block is not produced in threshold.
Source§type ValidatorId = <Runtime as Config>::AccountId
type ValidatorId = <Runtime as Config>::AccountId
A stable ID for a validator.
Source§type ValidatorIdOf = IdentityCollator
type ValidatorIdOf = IdentityCollator
A conversion from account ID to validator ID. Read more
Source§type ValidatorRegistration = Pallet<Runtime>
type ValidatorRegistration = Pallet<Runtime>
Validate a user is registered
Source§type ValidatorSet = Pallet<Runtime>
type ValidatorSet = Pallet<Runtime>
Something that can give information about the current validator set.
Source§type SlashRatio = SlashRatio
type SlashRatio = SlashRatio
How many in perc kicked collators should be slashed (set 0 to disable)
Source§type AccountCheck = CollatorSelectionAccountCheck
type AccountCheck = CollatorSelectionAccountCheck
Used to check whether an account is allowed to be a candidate.
Source§type WeightInfo = SubstrateWeight<Runtime>
type WeightInfo = SubstrateWeight<Runtime>
The weight information of this pallet.
Source§impl Config for Runtime
impl Config for Runtime
Source§type DustRemoval = ()
type DustRemoval = ()
Handler for the unbalanced reduction when removing a dust account.
Source§type RuntimeEvent = RuntimeEvent
type RuntimeEvent = RuntimeEvent
The overarching event type.
Source§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
Source§type MaxReserves = MaxReserves
type MaxReserves = MaxReserves
The maximum number of named reserves that can exist on an account. Read more
Source§type ExistentialDeposit = ExistentialDeposit
type ExistentialDeposit = ExistentialDeposit
The minimum amount required to keep an account open. MUST BE GREATER THAN ZERO! Read more
Source§type AccountStore = Pallet<Runtime>
type AccountStore = Pallet<Runtime>
The means of storing the balances of an account.
Source§type WeightInfo = SubstrateWeight<Runtime>
type WeightInfo = SubstrateWeight<Runtime>
Weight information for extrinsics in this pallet.
Source§type RuntimeHoldReason = RuntimeHoldReason
type RuntimeHoldReason = RuntimeHoldReason
The overarching hold reason.
Source§type RuntimeFreezeReason = RuntimeFreezeReason
type RuntimeFreezeReason = RuntimeFreezeReason
The overarching freeze reason.
Source§type FreezeIdentifier = RuntimeFreezeReason
type FreezeIdentifier = RuntimeFreezeReason
The ID type for freezes.
Source§type MaxFreezes = ConstU32<1>
type MaxFreezes = ConstU32<1>
The maximum number of individual freeze locks that can exist on an account at any time.
Source§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
Source§type RuntimeEvent = RuntimeEvent
type RuntimeEvent = RuntimeEvent
The overarching event type.
Source§type CreateOrigin = AsEnsureOriginWithArg<EnsureSigned<<<MultiSignature as Verify>::Signer as IdentifyAccount>::AccountId>>
type CreateOrigin = AsEnsureOriginWithArg<EnsureSigned<<<MultiSignature as Verify>::Signer as IdentifyAccount>::AccountId>>
Standard asset class creation is only allowed if the origin attempting it and the
asset class are in this set.
Source§type ForceOrigin = EnsureRoot<<<MultiSignature as Verify>::Signer as IdentifyAccount>::AccountId>
type ForceOrigin = EnsureRoot<<<MultiSignature as Verify>::Signer as IdentifyAccount>::AccountId>
The origin which may forcibly create or destroy an asset or otherwise alter privileged
attributes.
Source§type AssetDeposit = AssetDeposit
type AssetDeposit = AssetDeposit
The basic amount of funds that must be reserved for an asset.
Source§type MetadataDepositBase = MetadataDepositBase
type MetadataDepositBase = MetadataDepositBase
The basic amount of funds that must be reserved when adding metadata to your asset.
Source§type MetadataDepositPerByte = MetadataDepositPerByte
type MetadataDepositPerByte = MetadataDepositPerByte
The additional funds that must be reserved for the number of bytes you store in your
metadata.
Source§type AssetAccountDeposit = AssetAccountDeposit
type AssetAccountDeposit = AssetAccountDeposit
The amount of funds that must be reserved for a non-provider asset account to be
maintained.
Source§type ApprovalDeposit = ExistentialDeposit
type ApprovalDeposit = ExistentialDeposit
The amount of funds that must be reserved when creating a new approval.
Source§type StringLimit = AssetsStringLimit
type StringLimit = AssetsStringLimit
The maximum length of a name or symbol stored on-chain.
Source§type Freezer = ()
type Freezer = ()
A hook to allow a per-asset, per-account minimum balance to be enforced. This must be
respected in all permissionless operations.
Source§type Holder = ()
type Holder = ()
A hook to inspect a per-asset, per-account balance that is held. This goes in
accordance with balance model.
Source§type WeightInfo = SubstrateWeight<Runtime>
type WeightInfo = SubstrateWeight<Runtime>
Weight information for extrinsics in this pallet.
Source§type RemoveItemsLimit = ConstU32<1000>
type RemoveItemsLimit = ConstU32<1000>
Source§type AssetIdParameter = Compact<u128>
type AssetIdParameter = Compact<u128>
Wrapper around
Self::AssetId to use in dispatchable call signatures. Allows the use
of compact encoding in instances of the pallet, which will prevent breaking changes
resulting from the removal of HasCompact from Self::AssetId. Read moreSource§type ReserveData = ()
type ReserveData = ()
Information about reserve locations for a class of asset.
Source§type CallbackHandle = EvmRevertCodeHandler<Runtime, Runtime>
type CallbackHandle = EvmRevertCodeHandler<Runtime, Runtime>
Callback methods for asset state change (e.g. asset created or destroyed) Read more
Source§impl Config for Runtime
impl Config for Runtime
type RuntimeEvent = RuntimeEvent
Source§type ChannelInfo = Pallet<Runtime>
type ChannelInfo = Pallet<Runtime>
Information on the available XCMP channels.
Source§type VersionWrapper = Pallet<Runtime>
type VersionWrapper = Pallet<Runtime>
Means of converting an
Xcm into a VersionedXcm.Source§type XcmpQueue = TransformOrigin<Pallet<Runtime>, AggregateMessageOrigin, Id, ParaIdToSibling>
type XcmpQueue = TransformOrigin<Pallet<Runtime>, AggregateMessageOrigin, Id, ParaIdToSibling>
Enqueue an inbound horizontal message for later processing. Read more
Source§type MaxInboundSuspended = ConstU32<1000>
type MaxInboundSuspended = ConstU32<1000>
The maximum number of inbound XCMP channels that can be suspended simultaneously. Read more
Source§type MaxActiveOutboundChannels = ConstU32<128>
type MaxActiveOutboundChannels = ConstU32<128>
Maximal number of outbound XCMP channels that can have messages queued at the same time. Read more
Source§type MaxPageSize = ConstU32<{ 128 * 1024 }>
type MaxPageSize = ConstU32<{ 128 * 1024 }>
The maximal page size for HRMP message pages. Read more
Source§type ControllerOrigin = EnsureRoot<<<MultiSignature as Verify>::Signer as IdentifyAccount>::AccountId>
type ControllerOrigin = EnsureRoot<<<MultiSignature as Verify>::Signer as IdentifyAccount>::AccountId>
The origin that is allowed to resume or suspend the XCMP queue.
Source§type ControllerOriginConverter = (SovereignSignedViaLocation<(ParentIsPreset<<<MultiSignature as Verify>::Signer as IdentifyAccount>::AccountId>, SiblingParachainConvertsVia<Sibling, <<MultiSignature as Verify>::Signer as IdentifyAccount>::AccountId>, AccountId32Aliases<RelayNetwork, <<MultiSignature as Verify>::Signer as IdentifyAccount>::AccountId>, HashedDescription<<<MultiSignature as Verify>::Signer as IdentifyAccount>::AccountId, DescribeFamily<(DescribeTerminus, DescribePalletTerminal, DescribeAccountId32Terminal, DescribeAccountKey20Terminal, DescribeTreasuryVoiceTerminal, DescribeBodyTerminal)>>), RuntimeOrigin>, RelayChainAsNative<RelayChainOrigin, RuntimeOrigin>, SiblingParachainAsNative<Origin, RuntimeOrigin>, ParentAsSuperuser<RuntimeOrigin>, XcmPassthrough<RuntimeOrigin>, SignedAccountId32AsNative<RelayNetwork, RuntimeOrigin>)
type ControllerOriginConverter = (SovereignSignedViaLocation<(ParentIsPreset<<<MultiSignature as Verify>::Signer as IdentifyAccount>::AccountId>, SiblingParachainConvertsVia<Sibling, <<MultiSignature as Verify>::Signer as IdentifyAccount>::AccountId>, AccountId32Aliases<RelayNetwork, <<MultiSignature as Verify>::Signer as IdentifyAccount>::AccountId>, HashedDescription<<<MultiSignature as Verify>::Signer as IdentifyAccount>::AccountId, DescribeFamily<(DescribeTerminus, DescribePalletTerminal, DescribeAccountId32Terminal, DescribeAccountKey20Terminal, DescribeTreasuryVoiceTerminal, DescribeBodyTerminal)>>), RuntimeOrigin>, RelayChainAsNative<RelayChainOrigin, RuntimeOrigin>, SiblingParachainAsNative<Origin, RuntimeOrigin>, ParentAsSuperuser<RuntimeOrigin>, XcmPassthrough<RuntimeOrigin>, SignedAccountId32AsNative<RelayNetwork, RuntimeOrigin>)
The conversion function used to attempt to convert an XCM
Location origin to a
superuser origin.Source§type PriceForSiblingDelivery = NoPriceForMessageDelivery<Id>
type PriceForSiblingDelivery = NoPriceForMessageDelivery<Id>
The price for delivering an XCM to a sibling parachain destination.
Source§type WeightInfo = SubstrateWeight<Runtime>
type WeightInfo = SubstrateWeight<Runtime>
The weight information of this pallet.
Source§impl Config for Runtime
impl Config for Runtime
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§type RuntimeEvent = RuntimeEvent
type RuntimeEvent = RuntimeEvent
The overarching event type.
Source§type BlockNumberToBalance = ConvertInto
type BlockNumberToBalance = ConvertInto
Convert the block number into a balance.
Source§type MinVestedTransfer = MinVestedTransfer
type MinVestedTransfer = MinVestedTransfer
The minimum amount transferred to call
vested_transfer.Source§type WeightInfo = SubstrateWeight<Runtime>
type WeightInfo = SubstrateWeight<Runtime>
Weight information for extrinsics in this pallet.
Source§type UnvestedFundsAllowedWithdrawReasons = UnvestedFundsAllowedWithdrawReasons
type UnvestedFundsAllowedWithdrawReasons = UnvestedFundsAllowedWithdrawReasons
Reasons that determine under which conditions the balance may drop below
the unvested amount.
Source§type BlockNumberProvider = Pallet<Runtime>
type BlockNumberProvider = Pallet<Runtime>
Query the current block number. Read more
Source§impl Config for Runtime
impl Config for Runtime
Source§type RuntimeEvent = RuntimeEvent
type RuntimeEvent = RuntimeEvent
The overarching event type.
Source§type OnChargeTransaction = FungibleAdapter<Pallet<Runtime>, DealWithFees>
type OnChargeTransaction = FungibleAdapter<Pallet<Runtime>, DealWithFees>
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.
Source§type WeightToFee = WeightToFee
type WeightToFee = WeightToFee
Convert a weight value into a deductible fee based on the currency type.
Source§type OperationalFeeMultiplier = OperationalFeeMultiplier
type OperationalFeeMultiplier = OperationalFeeMultiplier
A fee multiplier for
Operational extrinsics to compute “virtual tip” to boost their
priority Read moreSource§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.
Source§type LengthToFee = ConstantMultiplier<u128, TransactionLengthFeeFactor>
type LengthToFee = ConstantMultiplier<u128, TransactionLengthFeeFactor>
Convert a length value into a deductible fee based on the currency type.
Source§type WeightInfo = SubstrateWeight<Runtime>
type WeightInfo = SubstrateWeight<Runtime>
The weight information of this pallet.
Source§impl Config for Runtime
impl Config for Runtime
Source§type DefaultBaseFeePerGas = DefaultBaseFeePerGas
type DefaultBaseFeePerGas = DefaultBaseFeePerGas
Default base fee per gas value. Used in genesis if no other value specified explicitly.
Source§type MinBaseFeePerGas = MinBaseFeePerGas
type MinBaseFeePerGas = MinBaseFeePerGas
Minimum value ‘base fee per gas’ can be adjusted to. This is a defensive measure to prevent the fee from being too low.
Source§type MaxBaseFeePerGas = MaxBaseFeePerGas
type MaxBaseFeePerGas = MaxBaseFeePerGas
Maximum value ‘base fee per gas’ can be adjusted to. This is a defensive measure to prevent the fee from being too high.
Source§type AdjustmentFactor = AdjustmentFactorGetter
type AdjustmentFactor = AdjustmentFactorGetter
Getter for the fee adjustment factor used in ‘base fee per gas’ formula. This is expected to change in-between the blocks (doesn’t have to though).
Source§type WeightFactor = WeightFeeFactor
type WeightFactor = WeightFeeFactor
The so-called
weight_factor in the ‘base fee per gas’ formula.Source§type StepLimitRatio = StepLimitRatio
type StepLimitRatio = StepLimitRatio
Ratio limit on how much the ‘base fee per gas’ can change in-between two blocks.
It’s expressed as percentage, and used to calculate the delta between the old and new value.
E.g. if the current ‘base fee per gas’ is 100, and the limit is 10%, then the new base fee per gas can be between 90 and 110.
Source§type WeightInfo = SubstrateWeight<Runtime>
type WeightInfo = SubstrateWeight<Runtime>
Weight information for extrinsics & functions of this pallet.
Source§impl Config for Runtime
impl Config for Runtime
Source§type FeeCalculator = Pallet<Runtime>
type FeeCalculator = Pallet<Runtime>
Calculator for current gas price.
Source§type GasWeightMapping = FixedGasWeightMapping<Runtime>
type GasWeightMapping = FixedGasWeightMapping<Runtime>
Maps Ethereum gas to Substrate weight.
Source§type WeightPerGas = WeightPerGas
type WeightPerGas = WeightPerGas
Weight corresponding to a gas unit.
Source§type BlockHashMapping = EthereumBlockHashMapping<Runtime>
type BlockHashMapping = EthereumBlockHashMapping<Runtime>
Block number to block hash.
Source§type CallOrigin = EnsureAddressRoot<<<MultiSignature as Verify>::Signer as IdentifyAccount>::AccountId>
type CallOrigin = EnsureAddressRoot<<<MultiSignature as Verify>::Signer as IdentifyAccount>::AccountId>
Allow the origin to call on behalf of given address.
Source§type WithdrawOrigin = EnsureAddressTruncated
type WithdrawOrigin = EnsureAddressTruncated
Allow the origin to withdraw on behalf of given address.
Source§type AddressMapping = HashedAddressMapping<BlakeTwo256>
type AddressMapping = HashedAddressMapping<BlakeTwo256>
Mapping from address to account id.
Source§type PrecompilesType = PrecompileSetBuilder<Runtime, (PrecompilesInRangeInclusive<(AddressU64<1>, AddressU64<20487>), (PrecompileAt<AddressU64<1>, ECRecover, (AcceptDelegateCall, CallableByContract, CallableByPrecompile)>, PrecompileAt<AddressU64<2>, Sha256, (AcceptDelegateCall, CallableByContract, CallableByPrecompile)>, PrecompileAt<AddressU64<3>, Ripemd160, (AcceptDelegateCall, CallableByContract, CallableByPrecompile)>, PrecompileAt<AddressU64<4>, Identity, (AcceptDelegateCall, CallableByContract, CallableByPrecompile)>, PrecompileAt<AddressU64<5>, Modexp, (AcceptDelegateCall, CallableByContract, CallableByPrecompile)>, PrecompileAt<AddressU64<6>, Bn128Add, (AcceptDelegateCall, CallableByContract, CallableByPrecompile)>, PrecompileAt<AddressU64<7>, Bn128Mul, (AcceptDelegateCall, CallableByContract, CallableByPrecompile)>, PrecompileAt<AddressU64<8>, Bn128Pairing, (AcceptDelegateCall, CallableByContract, CallableByPrecompile)>, PrecompileAt<AddressU64<9>, Blake2F, (AcceptDelegateCall, CallableByContract, CallableByPrecompile)>, PrecompileAt<AddressU64<1024>, Sha3FIPS256<Runtime, ()>, (CallableByContract, CallableByPrecompile)>, PrecompileAt<AddressU64<1025>, Dispatch<Runtime, DispatchFilterValidate<RuntimeCall, WhitelistedCalls>>>, PrecompileAt<AddressU64<1026>, ECRecoverPublicKey, (CallableByContract, CallableByPrecompile)>, PrecompileAt<AddressU64<1027>, Ed25519Verify, (CallableByContract, CallableByPrecompile)>, PrecompileAt<AddressU64<20481>, DappStakingV3Precompile<Runtime>, (CallableByContract, CallableByPrecompile)>, PrecompileAt<AddressU64<20482>, Sr25519Precompile<Runtime>, (CallableByContract, CallableByPrecompile)>, PrecompileAt<AddressU64<20483>, SubstrateEcdsaPrecompile<Runtime>, (CallableByContract, CallableByPrecompile)>, PrecompileAt<AddressU64<20484>, XcmPrecompile<Runtime, AssetLocationIdConverter<u128, Pallet<Runtime>>>, (SubcallWithMaxNesting<1>, CallableByContract, CallableByPrecompile)>, PrecompileAt<AddressU64<20487>, DispatchLockdrop<Runtime, DispatchFilterValidate<RuntimeCall, WhitelistedLockdropCalls>>>)>, PrecompileSetStartingWith<AssetPrefix, Erc20AssetsPrecompileSet<Runtime>, CallableByContract>)>
type PrecompilesType = PrecompileSetBuilder<Runtime, (PrecompilesInRangeInclusive<(AddressU64<1>, AddressU64<20487>), (PrecompileAt<AddressU64<1>, ECRecover, (AcceptDelegateCall, CallableByContract, CallableByPrecompile)>, PrecompileAt<AddressU64<2>, Sha256, (AcceptDelegateCall, CallableByContract, CallableByPrecompile)>, PrecompileAt<AddressU64<3>, Ripemd160, (AcceptDelegateCall, CallableByContract, CallableByPrecompile)>, PrecompileAt<AddressU64<4>, Identity, (AcceptDelegateCall, CallableByContract, CallableByPrecompile)>, PrecompileAt<AddressU64<5>, Modexp, (AcceptDelegateCall, CallableByContract, CallableByPrecompile)>, PrecompileAt<AddressU64<6>, Bn128Add, (AcceptDelegateCall, CallableByContract, CallableByPrecompile)>, PrecompileAt<AddressU64<7>, Bn128Mul, (AcceptDelegateCall, CallableByContract, CallableByPrecompile)>, PrecompileAt<AddressU64<8>, Bn128Pairing, (AcceptDelegateCall, CallableByContract, CallableByPrecompile)>, PrecompileAt<AddressU64<9>, Blake2F, (AcceptDelegateCall, CallableByContract, CallableByPrecompile)>, PrecompileAt<AddressU64<1024>, Sha3FIPS256<Runtime, ()>, (CallableByContract, CallableByPrecompile)>, PrecompileAt<AddressU64<1025>, Dispatch<Runtime, DispatchFilterValidate<RuntimeCall, WhitelistedCalls>>>, PrecompileAt<AddressU64<1026>, ECRecoverPublicKey, (CallableByContract, CallableByPrecompile)>, PrecompileAt<AddressU64<1027>, Ed25519Verify, (CallableByContract, CallableByPrecompile)>, PrecompileAt<AddressU64<20481>, DappStakingV3Precompile<Runtime>, (CallableByContract, CallableByPrecompile)>, PrecompileAt<AddressU64<20482>, Sr25519Precompile<Runtime>, (CallableByContract, CallableByPrecompile)>, PrecompileAt<AddressU64<20483>, SubstrateEcdsaPrecompile<Runtime>, (CallableByContract, CallableByPrecompile)>, PrecompileAt<AddressU64<20484>, XcmPrecompile<Runtime, AssetLocationIdConverter<u128, Pallet<Runtime>>>, (SubcallWithMaxNesting<1>, CallableByContract, CallableByPrecompile)>, PrecompileAt<AddressU64<20487>, DispatchLockdrop<Runtime, DispatchFilterValidate<RuntimeCall, WhitelistedLockdropCalls>>>)>, PrecompileSetStartingWith<AssetPrefix, Erc20AssetsPrecompileSet<Runtime>, CallableByContract>)>
Precompiles associated with this EVM engine.
type PrecompilesValue = PrecompilesValue
Source§type OnChargeTransaction = EVMFungibleAdapterWrapper<Pallet<Runtime>, DealWithFees, CollatorRewardPot>
type OnChargeTransaction = EVMFungibleAdapterWrapper<Pallet<Runtime>, DealWithFees, CollatorRewardPot>
To handle fee deduction for EVM transactions. An example is this pallet being used by
pallet_ethereum
where the chain implementing pallet_ethereum should be able to configure what happens to the fees
Similar to OnChargeTransaction of pallet_transaction_paymentSource§type BlockGasLimit = BlockGasLimit
type BlockGasLimit = BlockGasLimit
The block gas limit. Can be a simple constant, or an adjustment algorithm in another pallet.
Source§type FindAuthor = FindAuthorTruncated<Pallet<Runtime>>
type FindAuthor = FindAuthorTruncated<Pallet<Runtime>>
Find author for the current block.
Source§type GasLimitPovSizeRatio = GasLimitPovSizeRatio
type GasLimitPovSizeRatio = GasLimitPovSizeRatio
Gas limit Pov size ratio.
Source§type AccountProvider = FrameSystemAccountProvider<Runtime>
type AccountProvider = FrameSystemAccountProvider<Runtime>
Account info provider.
Source§type GasLimitStorageGrowthRatio = ConstU64<0>
type GasLimitStorageGrowthRatio = ConstU64<0>
Gas limit storage growth ratio.
Source§type TransactionGasLimit = TransactionGasLimit
type TransactionGasLimit = TransactionGasLimit
Optional maximum gas limit for a single transaction. Read more
Source§type WeightInfo = SubstrateWeight<Runtime>
type WeightInfo = SubstrateWeight<Runtime>
Weight information for extrinsics in this pallet.
Source§type CreateOriginFilter = ()
type CreateOriginFilter = ()
Allow the source address to deploy contracts directly via CREATE calls.
Source§type CreateInnerOriginFilter = ()
type CreateInnerOriginFilter = ()
Allow the source address to deploy contracts via CALL(CREATE) calls.
Source§impl Config for Runtime
impl Config for Runtime
Source§type StateRoot = IntermediateStateRoot<<Runtime as Config>::Version>
type StateRoot = IntermediateStateRoot<<Runtime as Config>::Version>
How Ethereum state root is calculated.
Source§type PostLogContent = PostBlockAndTxnHashes
type PostLogContent = PostBlockAndTxnHashes
What’s included in the PostLog.
Source§type ExtraDataLength = ConstU32<30>
type ExtraDataLength = ConstU32<30>
The maximum length of the extra data in the Executed event.
Source§type AllowUnprotectedTxs = ConstBool<false>
type AllowUnprotectedTxs = ConstBool<false>
Whether transactional ethereum calls accept legacy transactions without EIP-155 chain id.
Source§impl Config for Runtime
impl Config for Runtime
Source§type RuntimeEvent = RuntimeEvent
type RuntimeEvent = RuntimeEvent
The overarching event type.
Source§type RuntimeCall = RuntimeCall
type RuntimeCall = RuntimeCall
A sudo-able call.
Source§type WeightInfo = SubstrateWeight<Runtime>
type WeightInfo = SubstrateWeight<Runtime>
Type representing the weight of this pallet
Source§impl Config for Runtime
impl Config for Runtime
Source§type AssetId = u128
type AssetId = u128
The Asset Id. This will be used to create the asset and to associate it with
a AssetLocation
Source§type ManagerOrigin = EnsureRoot<<<MultiSignature as Verify>::Signer as IdentifyAccount>::AccountId>
type ManagerOrigin = EnsureRoot<<<MultiSignature as Verify>::Signer as IdentifyAccount>::AccountId>
The required origin for managing cross-chain asset configuration Read more
type WeightInfo = SubstrateWeight<Runtime>
Source§impl Config for Runtime
impl Config for Runtime
Source§type RuntimeEvent = RuntimeEvent
type RuntimeEvent = RuntimeEvent
The overarching event type.
Source§type RuntimeCall = RuntimeCall
type RuntimeCall = RuntimeCall
The overarching call type.
Source§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 moreSource§type ProxyDepositBase = ProxyDepositBase
type ProxyDepositBase = ProxyDepositBase
The base amount of currency needed to reserve for creating a proxy. Read more
Source§type ProxyDepositFactor = ProxyDepositFactor
type ProxyDepositFactor = ProxyDepositFactor
The amount of currency needed per proxy added. Read more
Source§type MaxProxies = MaxProxies
type MaxProxies = MaxProxies
The maximum amount of proxies allowed for a single account.
Source§type BlockNumberProvider = Pallet<Runtime>
type BlockNumberProvider = Pallet<Runtime>
Query the current block number. Read more
Source§type WeightInfo = SubstrateWeight<Runtime>
type WeightInfo = SubstrateWeight<Runtime>
Weight information for extrinsics in this pallet.
Source§type MaxPending = MaxPending
type MaxPending = MaxPending
The maximum amount of time-delayed announcements that are allowed to be pending.
Source§type CallHasher = BlakeTwo256
type CallHasher = BlakeTwo256
The type of hash used for hashing the call.
Source§type AnnouncementDepositBase = AnnouncementDepositBase
type AnnouncementDepositBase = AnnouncementDepositBase
The base amount of currency needed to reserve for creating an announcement. Read more
Source§type AnnouncementDepositFactor = AnnouncementDepositFactor
type AnnouncementDepositFactor = AnnouncementDepositFactor
The amount of currency needed per announcement made. Read more
Source§impl Config for Runtime
impl Config for Runtime
Source§type RuntimeEvent = RuntimeEvent
type RuntimeEvent = RuntimeEvent
The overarching event type of the runtime.
Source§type Migrations = (PurgeContractsChildTries<Runtime, ContractsPalletName, SubstrateWeight<Runtime>>, RemovePalletStepped<ContractsPalletName, SubstrateWeight<Runtime>>, RemovePalletStepped<RandomnessPalletName, SubstrateWeight<Runtime>>)
type Migrations = (PurgeContractsChildTries<Runtime, ContractsPalletName, SubstrateWeight<Runtime>>, RemovePalletStepped<ContractsPalletName, SubstrateWeight<Runtime>>, RemovePalletStepped<RandomnessPalletName, SubstrateWeight<Runtime>>)
All the multi-block migrations to run. Read more
Source§type CursorMaxLen = ConstU32<65536>
type CursorMaxLen = ConstU32<65536>
The maximal length of an encoded cursor. Read more
Source§type IdentifierMaxLen = ConstU32<256>
type IdentifierMaxLen = ConstU32<256>
The maximal length of an encoded identifier. Read more
Source§type MigrationStatusHandler = ()
type MigrationStatusHandler = ()
Notifications for status updates of a runtime upgrade. Read more
Source§type FailedMigrationHandler = UnfreezeChainOnFailedMigration
type FailedMigrationHandler = UnfreezeChainOnFailedMigration
Handler for failed migrations.
Source§type MaxServiceWeight = MbmServiceWeight
type MaxServiceWeight = MbmServiceWeight
The maximum weight to spend each block to execute migrations.
Source§type WeightInfo = SubstrateWeight<Runtime>
type WeightInfo = SubstrateWeight<Runtime>
Weight information for the calls and functions of this pallet.
Source§impl Config for Runtime
impl Config for Runtime
Source§type AccountId = <<MultiSignature as Verify>::Signer as IdentifyAccount>::AccountId
type AccountId = <<MultiSignature as Verify>::Signer as IdentifyAccount>::AccountId
The identifier used to distinguish between accounts.
Source§type RuntimeCall = RuntimeCall
type RuntimeCall = RuntimeCall
The aggregated dispatch type that is available for extrinsics.
Source§type Lookup = AccountIdLookup<<<MultiSignature as Verify>::Signer as IdentifyAccount>::AccountId, ()>
type Lookup = AccountIdLookup<<<MultiSignature as Verify>::Signer as IdentifyAccount>::AccountId, ()>
The lookup mechanism to get account ID from whatever is passed in dispatchers.
Source§type Block = Block<Header<u32, BlakeTwo256>, UncheckedExtrinsic<MultiAddress<<<MultiSignature as Verify>::Signer as IdentifyAccount>::AccountId, ()>, RuntimeCall, MultiSignature, (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, (CheckSpecVersion<Runtime>, CheckTxVersion<Runtime>, CheckGenesis<Runtime>, CheckMortality<Runtime>, CheckNonce<Runtime>, CheckWeight<Runtime>, ChargeTransactionPayment<Runtime>, CheckMetadataHash<Runtime>)>>
The type for blocks.
Source§type RuntimeEvent = RuntimeEvent
type RuntimeEvent = RuntimeEvent
The ubiquitous event type.
Source§type RuntimeOrigin = RuntimeOrigin
type RuntimeOrigin = RuntimeOrigin
The ubiquitous origin type.
Source§type RuntimeTask = RuntimeTask
type RuntimeTask = RuntimeTask
The aggregated RuntimeTask type.
Source§type BlockHashCount = BlockHashCount
type BlockHashCount = BlockHashCount
Maximum number of block number to block hash mappings to keep (oldest pruned first).
Source§type PalletInfo = PalletInfo
type PalletInfo = PalletInfo
Converts a module to an index of this module in the runtime.
Source§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).
Source§type OnNewAccount = ()
type OnNewAccount = ()
Handler for when a new account has just been created.
Source§type OnKilledAccount = ()
type OnKilledAccount = ()
A function that is invoked when an account has been determined to be dead. Read more
Source§type DbWeight = RocksDbWeight
type DbWeight = RocksDbWeight
The weight of runtime database operations the runtime can invoke.
Source§type BaseCallFilter = BaseFilter
type BaseCallFilter = BaseFilter
The basic call filter to use in Origin. All origins are built with this filter as base,
except Root. Read more
Source§type SystemWeightInfo = SubstrateWeight<Runtime>
type SystemWeightInfo = SubstrateWeight<Runtime>
Weight information for the extrinsics of this pallet.
Source§type BlockWeights = RuntimeBlockWeights
type BlockWeights = RuntimeBlockWeights
Block & extrinsics weights: base values and limits.
Source§type BlockLength = RuntimeBlockLength
type BlockLength = RuntimeBlockLength
The maximum length of a block (in bytes).
Source§type SS58Prefix = SS58Prefix
type SS58Prefix = SS58Prefix
The designated SS58 prefix of this chain. Read more
Source§type OnSetCode = ParachainSetCode<Runtime>
type OnSetCode = ParachainSetCode<Runtime>
What to do if the runtime wants to change the code to something new. Read more
Source§type MaxConsumers = ConstU32<16>
type MaxConsumers = ConstU32<16>
The maximum number of consumers allowed on a single account.
Source§type SingleBlockMigrations = ()
type SingleBlockMigrations = ()
All migrations that should run in the next runtime upgrade. Read more
Source§type MultiBlockMigrator = Pallet<Runtime>
type MultiBlockMigrator = Pallet<Runtime>
The migrator that is used to run Multi-Block-Migrations. Read more
Source§type PreInherents = ()
type PreInherents = ()
A callback that executes in every block directly before all inherents were applied. Read more
Source§type PostInherents = ()
type PostInherents = ()
A callback that executes in every block directly after all inherents were applied. Read more
Source§type PostTransactions = ()
type PostTransactions = ()
A callback that executes in every block directly after all transactions were applied. Read more
Source§type ExtensionsWeightInfo = SubstrateWeight<Runtime>
type ExtensionsWeightInfo = SubstrateWeight<Runtime>
Weight information for the transaction extensions of this pallet.
Source§impl Config for Runtime
impl Config for Runtime
Source§type OnTimestampSet = Pallet<Runtime>
type OnTimestampSet = Pallet<Runtime>
Something which can be notified (e.g. another pallet) when the timestamp is set. Read more
Source§type MinimumPeriod = ConstU64<0>
type MinimumPeriod = ConstU64<0>
The minimum period between blocks. Read more
Source§type WeightInfo = SubstrateWeight<Runtime>
type WeightInfo = SubstrateWeight<Runtime>
Weight information for extrinsics in this pallet.
Source§impl Config for Runtime
impl Config for Runtime
Source§type RuntimeEvent = RuntimeEvent
type RuntimeEvent = RuntimeEvent
The overarching event type.
Source§type WeightInfo = SubstrateWeight<Runtime>
type WeightInfo = SubstrateWeight<Runtime>
Weight information for extrinsics in this pallet.
Source§type MessageProcessor = ProcessXcmMessage<AggregateMessageOrigin, XcmExecutor<XcmConfig>, RuntimeCall>
type MessageProcessor = ProcessXcmMessage<AggregateMessageOrigin, XcmExecutor<XcmConfig>, RuntimeCall>
Processor for a message. Read more
Source§type QueueChangeHandler = NarrowOriginToSibling<Pallet<Runtime>>
type QueueChangeHandler = NarrowOriginToSibling<Pallet<Runtime>>
Code to be called when a message queue changes - either with items introduced or
removed.
Source§type QueuePausedQuery = NarrowOriginToSibling<Pallet<Runtime>>
type QueuePausedQuery = NarrowOriginToSibling<Pallet<Runtime>>
Queried by the pallet to check whether a queue can be serviced. Read more
Source§type HeapSize = ConstU32<{ 128 * 1048 }>
type HeapSize = ConstU32<{ 128 * 1048 }>
The size of the page; this implies the maximum message size which can be sent. Read more
Source§type MaxStale = ConstU32<8>
type MaxStale = ConstU32<8>
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.
Source§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 moreSource§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 moreSource§impl Config for Runtime
impl Config for Runtime
Source§type RuntimeEvent = RuntimeEvent
type RuntimeEvent = RuntimeEvent
The overarching event type.
Source§type BasicDeposit = BasicDeposit
type BasicDeposit = BasicDeposit
The amount held on deposit for a registered identity.
Source§type ByteDeposit = ByteDeposit
type ByteDeposit = ByteDeposit
The amount held on deposit per encoded byte for a registered identity.
Source§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.
Source§type MaxSubAccounts = MaxSubAccounts
type MaxSubAccounts = MaxSubAccounts
The maximum number of sub-accounts allowed per identified account.
Source§type IdentityInformation = IdentityInfo<MaxAdditionalFields>
type IdentityInformation = IdentityInfo<MaxAdditionalFields>
Structure holding information about an identity.
Source§type MaxRegistrars = MaxRegistrars
type MaxRegistrars = MaxRegistrars
Maximum number of registrars allowed in the system. Needed to bound the complexity
of, e.g., updating judgements.
Source§type ForceOrigin = EnsureRoot<<Runtime as Config>::AccountId>
type ForceOrigin = EnsureRoot<<Runtime as Config>::AccountId>
The origin which may forcibly set or remove a name. Root can always do this.
Source§type RegistrarOrigin = EnsureRoot<<Runtime as Config>::AccountId>
type RegistrarOrigin = EnsureRoot<<Runtime as Config>::AccountId>
The origin which may add or remove registrars. Root can always do this.
Source§type OffchainSignature = MultiSignature
type OffchainSignature = MultiSignature
Signature type for pre-authorizing usernames off-chain. Read more
Source§type SigningPublicKey = <MultiSignature as Verify>::Signer
type SigningPublicKey = <MultiSignature as Verify>::Signer
Public key that corresponds to an on-chain
Self::AccountId.Source§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.
Source§type PendingUsernameExpiration = ConstU32<{ 7 * DAYS }>
type PendingUsernameExpiration = ConstU32<{ 7 * DAYS }>
The number of blocks within which a username grant must be accepted.
Source§type MaxSuffixLength = ConstU32<7>
type MaxSuffixLength = ConstU32<7>
The maximum length of a suffix.
Source§type MaxUsernameLength = ConstU32<32>
type MaxUsernameLength = ConstU32<32>
The maximum length of a username, including its suffix and any system-added delimiters.
Source§type WeightInfo = SubstrateWeight<Runtime>
type WeightInfo = SubstrateWeight<Runtime>
Weight information for extrinsics in this pallet.
Source§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.
Source§type UsernameGracePeriod = ConstU32<{ 7 * DAYS }>
type UsernameGracePeriod = ConstU32<{ 7 * DAYS }>
The number of blocks that must pass to enable the permanent deletion of a username by
its respective authority.
Source§impl Config for Runtime
impl Config for Runtime
Source§type RuntimeEvent = RuntimeEvent
type RuntimeEvent = RuntimeEvent
The overarching event type.
Source§type RuntimeCall = RuntimeCall
type RuntimeCall = RuntimeCall
The overarching call type.
Source§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
Source§type DepositFactor = DepositFactor
type DepositFactor = DepositFactor
The amount of currency needed per unit threshold when creating a multisig execution. Read more
Source§type MaxSignatories = ConstU32<100>
type MaxSignatories = ConstU32<100>
The maximum amount of signatories allowed in the multisig.
Source§type BlockNumberProvider = Pallet<Runtime>
type BlockNumberProvider = Pallet<Runtime>
Query the current block number. Read more
Source§type WeightInfo = SubstrateWeight<Runtime>
type WeightInfo = SubstrateWeight<Runtime>
Weight information for extrinsics in this pallet.
Source§impl Config for Runtime
impl Config for Runtime
Source§type RuntimeEvent = RuntimeEvent
type RuntimeEvent = RuntimeEvent
The overarching event type.
Source§type RuntimeFreezeReason = RuntimeFreezeReason
type RuntimeFreezeReason = RuntimeFreezeReason
The overarching freeze reason.
Source§type Currency = Pallet<Runtime>
type Currency = Pallet<Runtime>
Currency used for staking.
Reference: https://github.com/paritytech/substrate/pull/12951/
Source§type SmartContract = SmartContract<<<MultiSignature as Verify>::Signer as IdentifyAccount>::AccountId>
type SmartContract = SmartContract<<<MultiSignature as Verify>::Signer as IdentifyAccount>::AccountId>
Describes smart contract in the context required by dApp staking.
Source§type ContractRegisterOrigin = EnsureRoot<<<MultiSignature as Verify>::Signer as IdentifyAccount>::AccountId>
type ContractRegisterOrigin = EnsureRoot<<<MultiSignature as Verify>::Signer as IdentifyAccount>::AccountId>
Privileged origin that is allowed to register smart contracts to the protocol.
Source§type ContractUnregisterOrigin = EnsureRoot<<<MultiSignature as Verify>::Signer as IdentifyAccount>::AccountId>
type ContractUnregisterOrigin = EnsureRoot<<<MultiSignature as Verify>::Signer as IdentifyAccount>::AccountId>
Privileged origin that is allowed to unregister smart contracts from the protocol.
Source§type ManagerOrigin = EnsureRoot<<<MultiSignature as Verify>::Signer as IdentifyAccount>::AccountId>
type ManagerOrigin = EnsureRoot<<<MultiSignature as Verify>::Signer as IdentifyAccount>::AccountId>
Privileged origin for managing dApp staking pallet.
Source§type StakingRewardHandler = Pallet<Runtime>
type StakingRewardHandler = Pallet<Runtime>
Used to handle reward payouts & reward pool amount fetching.
Source§type CycleConfiguration = InflationCycleConfig
type CycleConfiguration = InflationCycleConfig
Describes era length, subperiods & period length, as well as cycle length.
Source§type Observers = Pallet<Runtime>
type Observers = Pallet<Runtime>
dApp staking event observers, notified when certain events occur.
Source§type AccountCheck = AccountCheck
type AccountCheck = AccountCheck
Used to check whether an account is allowed to participate in dApp staking.
Source§type EraRewardSpanLength = ConstU32<16>
type EraRewardSpanLength = ConstU32<16>
Maximum length of a single era reward span length entry.
Source§type RewardRetentionInPeriods = ConstU32<3>
type RewardRetentionInPeriods = ConstU32<3>
Number of periods for which we keep rewards available for claiming.
After that period, they are no longer claimable.
Source§type MaxNumberOfContracts = ConstU32<{ FIXED_NUMBER_OF_TIER_SLOTS as u32 }>
type MaxNumberOfContracts = ConstU32<{ FIXED_NUMBER_OF_TIER_SLOTS as u32 }>
Maximum number of contracts that can be integrated into dApp staking at once.
Source§type MaxUnlockingChunks = ConstU32<8>
type MaxUnlockingChunks = ConstU32<8>
Maximum number of unlocking chunks that can exist per account at a time.
Source§type MinimumLockedAmount = MinimumStakingAmount
type MinimumLockedAmount = MinimumStakingAmount
Minimum amount an account has to lock in dApp staking in order to participate.
Source§type UnlockingPeriod = ConstU32<4>
type UnlockingPeriod = ConstU32<4>
Number of standard eras that need to pass before unlocking chunk can be claimed.
Even though it’s expressed in ‘eras’, it’s actually measured in number of blocks.
Source§type MaxNumberOfStakedContracts = ConstU32<16>
type MaxNumberOfStakedContracts = ConstU32<16>
Maximum amount of stake contract entries an account is allowed to have at once.
Source§type MinimumStakeAmount = MinimumStakingAmount
type MinimumStakeAmount = MinimumStakingAmount
Minimum amount staker can stake on a contract.
Source§type NumberOfTiers = ConstU32<4>
type NumberOfTiers = ConstU32<4>
Number of different tiers.
Source§type RankingEnabled = ConstBool<true>
type RankingEnabled = ConstBool<true>
Tier ranking enabled.
Source§type MaxBonusSafeMovesPerPeriod = ConstU8<2>
type MaxBonusSafeMovesPerPeriod = ConstU8<2>
The maximum number of ‘safe move actions’ allowed within a single period while
retaining eligibility for bonus rewards. Exceeding this limit will result in the
forfeiture of the bonus rewards for the affected stake.
Source§type WeightInfo = SubstrateWeight<Runtime>
type WeightInfo = SubstrateWeight<Runtime>
Weight info for various calls & operations in the pallet.
Source§impl Config for Runtime
impl Config for Runtime
type Currency = Pallet<Runtime>
Source§type PayoutPerBlock = InflationPayoutPerBlock
type PayoutPerBlock = InflationPayoutPerBlock
Handler for ‘per-block’ payouts.
Source§type CycleConfiguration = InflationCycleConfig
type CycleConfiguration = InflationCycleConfig
Cycle (‘year’) configuration - covers periods, subperiods, eras & blocks.
Source§type WeightInfo = SubstrateWeight<Runtime>
type WeightInfo = SubstrateWeight<Runtime>
Weight information for extrinsics in this pallet.
Source§impl ConvertTransactionRuntimeApiV2<Block<Header<u32, BlakeTwo256>, UncheckedExtrinsic<MultiAddress<<<MultiSignature as Verify>::Signer as IdentifyAccount>::AccountId, ()>, RuntimeCall, MultiSignature, (CheckSpecVersion<Runtime>, CheckTxVersion<Runtime>, CheckGenesis<Runtime>, CheckMortality<Runtime>, CheckNonce<Runtime>, CheckWeight<Runtime>, ChargeTransactionPayment<Runtime>, CheckMetadataHash<Runtime>)>>> for Runtime
impl ConvertTransactionRuntimeApiV2<Block<Header<u32, BlakeTwo256>, UncheckedExtrinsic<MultiAddress<<<MultiSignature as Verify>::Signer as IdentifyAccount>::AccountId, ()>, RuntimeCall, MultiSignature, (CheckSpecVersion<Runtime>, CheckTxVersion<Runtime>, CheckGenesis<Runtime>, CheckMortality<Runtime>, CheckNonce<Runtime>, CheckWeight<Runtime>, ChargeTransactionPayment<Runtime>, CheckMetadataHash<Runtime>)>>> for Runtime
fn convert_transaction(transaction: Transaction) -> <Block as BlockT>::Extrinsic
Source§impl CoreV5<Block<Header<u32, BlakeTwo256>, UncheckedExtrinsic<MultiAddress<<<MultiSignature as Verify>::Signer as IdentifyAccount>::AccountId, ()>, RuntimeCall, MultiSignature, (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, (CheckSpecVersion<Runtime>, CheckTxVersion<Runtime>, CheckGenesis<Runtime>, CheckMortality<Runtime>, CheckNonce<Runtime>, CheckWeight<Runtime>, ChargeTransactionPayment<Runtime>, CheckMetadataHash<Runtime>)>>> for Runtime
Source§fn execute_block(block: <Block as BlockT>::LazyBlock)
fn execute_block(block: <Block as BlockT>::LazyBlock)
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 DappStakingApiV2<Block<Header<u32, BlakeTwo256>, UncheckedExtrinsic<MultiAddress<<<MultiSignature as Verify>::Signer as IdentifyAccount>::AccountId, ()>, RuntimeCall, MultiSignature, (CheckSpecVersion<Runtime>, CheckTxVersion<Runtime>, CheckGenesis<Runtime>, CheckMortality<Runtime>, CheckNonce<Runtime>, CheckWeight<Runtime>, ChargeTransactionPayment<Runtime>, CheckMetadataHash<Runtime>)>>> for Runtime
impl DappStakingApiV2<Block<Header<u32, BlakeTwo256>, UncheckedExtrinsic<MultiAddress<<<MultiSignature as Verify>::Signer as IdentifyAccount>::AccountId, ()>, RuntimeCall, MultiSignature, (CheckSpecVersion<Runtime>, CheckTxVersion<Runtime>, CheckGenesis<Runtime>, CheckMortality<Runtime>, CheckNonce<Runtime>, CheckWeight<Runtime>, ChargeTransactionPayment<Runtime>, CheckMetadataHash<Runtime>)>>> for Runtime
Source§fn periods_per_cycle() -> PeriodNumber
fn periods_per_cycle() -> PeriodNumber
How many periods are there in one cycle.
Source§fn eras_per_voting_subperiod() -> EraNumber
fn eras_per_voting_subperiod() -> EraNumber
For how many standard era lengths does the voting subperiod last.
Source§fn eras_per_build_and_earn_subperiod() -> EraNumber
fn eras_per_build_and_earn_subperiod() -> EraNumber
How many standard eras are there in the build&earn subperiod.
Source§fn blocks_per_era() -> BlockNumber
fn blocks_per_era() -> BlockNumber
How many blocks are there per standard era.
Source§fn get_dapp_tier_assignment() -> BTreeMap<DAppId, RankedTier>
fn get_dapp_tier_assignment() -> BTreeMap<DAppId, RankedTier>
Get dApp ranked tier assignment for the given dApp.
Source§impl DryRunApiV2<Block<Header<u32, BlakeTwo256>, UncheckedExtrinsic<MultiAddress<<<MultiSignature as Verify>::Signer as IdentifyAccount>::AccountId, ()>, RuntimeCall, MultiSignature, (CheckSpecVersion<Runtime>, CheckTxVersion<Runtime>, CheckGenesis<Runtime>, CheckMortality<Runtime>, CheckNonce<Runtime>, CheckWeight<Runtime>, ChargeTransactionPayment<Runtime>, CheckMetadataHash<Runtime>)>>, RuntimeCall, RuntimeEvent, OriginCaller> for Runtime
impl DryRunApiV2<Block<Header<u32, BlakeTwo256>, UncheckedExtrinsic<MultiAddress<<<MultiSignature as Verify>::Signer as IdentifyAccount>::AccountId, ()>, RuntimeCall, MultiSignature, (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_xcms_version: XcmVersion,
) -> Result<CallDryRunEffects<RuntimeEvent>, XcmDryRunApiError>
fn dry_run_call( origin: OriginCaller, call: RuntimeCall, result_xcms_version: XcmVersion, ) -> Result<CallDryRunEffects<RuntimeEvent>, XcmDryRunApiError>
Dry run call V2.
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 EthereumRuntimeRPCApiV6<Block<Header<u32, BlakeTwo256>, UncheckedExtrinsic<MultiAddress<<<MultiSignature as Verify>::Signer as IdentifyAccount>::AccountId, ()>, RuntimeCall, MultiSignature, (CheckSpecVersion<Runtime>, CheckTxVersion<Runtime>, CheckGenesis<Runtime>, CheckMortality<Runtime>, CheckNonce<Runtime>, CheckWeight<Runtime>, ChargeTransactionPayment<Runtime>, CheckMetadataHash<Runtime>)>>> for Runtime
impl EthereumRuntimeRPCApiV6<Block<Header<u32, BlakeTwo256>, UncheckedExtrinsic<MultiAddress<<<MultiSignature as Verify>::Signer as IdentifyAccount>::AccountId, ()>, RuntimeCall, MultiSignature, (CheckSpecVersion<Runtime>, CheckTxVersion<Runtime>, CheckGenesis<Runtime>, CheckMortality<Runtime>, CheckNonce<Runtime>, CheckWeight<Runtime>, ChargeTransactionPayment<Runtime>, CheckMetadataHash<Runtime>)>>> for Runtime
Source§fn account_basic(address: H160) -> Account
fn account_basic(address: H160) -> Account
Returns pallet_evm::Accounts by address.
Source§fn account_code_at(address: H160) -> Vec<u8> ⓘ
fn account_code_at(address: H160) -> Vec<u8> ⓘ
For a given account address, returns pallet_evm::AccountCodes.
Returns the converted FindAuthor::find_author authority id.
Source§fn storage_at(address: H160, index: U256) -> H256
fn storage_at(address: H160, index: U256) -> H256
For a given account address and index, returns pallet_evm::AccountStorages.
fn call( from: H160, to: H160, data: Vec<u8>, value: U256, gas_limit: U256, max_fee_per_gas: Option<U256>, max_priority_fee_per_gas: Option<U256>, nonce: Option<U256>, estimate: bool, access_list: Option<Vec<(H160, Vec<H256>)>>, authorization_list: Option<AuthorizationList>, ) -> Result<CallInfo, DispatchError>
fn create( from: H160, data: Vec<u8>, value: U256, gas_limit: U256, max_fee_per_gas: Option<U256>, max_priority_fee_per_gas: Option<U256>, nonce: Option<U256>, estimate: bool, access_list: Option<Vec<(H160, Vec<H256>)>>, authorization_list: Option<AuthorizationList>, ) -> Result<CreateInfo, DispatchError>
Source§fn current_transaction_statuses() -> Option<Vec<TransactionStatus>>
fn current_transaction_statuses() -> Option<Vec<TransactionStatus>>
Return the current transaction status.
Source§fn current_block() -> Option<Block>
fn current_block() -> Option<Block>
Return the current block.
Source§fn current_receipts() -> Option<Vec<Receipt>>
fn current_receipts() -> Option<Vec<Receipt>>
Return the current receipt.
fn current_all() -> (Option<Block>, Option<Vec<Receipt>>, Option<Vec<TransactionStatus>>)
Source§fn extrinsic_filter(xts: Vec<<Block as BlockT>::Extrinsic>) -> Vec<Transaction>
fn extrinsic_filter(xts: Vec<<Block as BlockT>::Extrinsic>) -> Vec<Transaction>
Receives a
Vec<OpaqueExtrinsic> and filters all the ethereum transactions.Source§fn elasticity() -> Option<Permill>
fn elasticity() -> Option<Permill>
Return the elasticity multiplier.
Source§fn gas_limit_multiplier_support()
fn gas_limit_multiplier_support()
Used to determine if gas limit multiplier for non-transactional calls (eth_call/estimateGas)
is supported.
Source§fn pending_block(
xts: Vec<<Block as BlockT>::Extrinsic>,
) -> (Option<Block>, Option<Vec<TransactionStatus>>)
fn pending_block( xts: Vec<<Block as BlockT>::Extrinsic>, ) -> (Option<Block>, Option<Vec<TransactionStatus>>)
Return the pending block.
Source§fn initialize_pending_block(header: &<Block as BlockT>::Header)
fn initialize_pending_block(header: &<Block as BlockT>::Header)
Initialize the pending block.
The behavior should be the same as the runtime api Core_initialize_block but
for a “pending” block.
If your project don’t need to have a different behavior to initialize “pending” blocks,
you can copy your Core_initialize_block implementation.
Source§impl GenesisBuilderV1<Block<Header<u32, BlakeTwo256>, UncheckedExtrinsic<MultiAddress<<<MultiSignature as Verify>::Signer as IdentifyAccount>::AccountId, ()>, RuntimeCall, MultiSignature, (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, (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
Source§type RuntimeBlock = <Runtime as Config>::Block
type RuntimeBlock = <Runtime as Config>::Block
The
RuntimeBlock type.Source§impl IsInherent<<<Runtime as Config>::Block as Block>::Extrinsic> for Runtime
impl IsInherent<<<Runtime as Config>::Block as Block>::Extrinsic> for Runtime
Source§fn is_inherent(ext: &<<Runtime as Config>::Block as Block>::Extrinsic) -> bool
fn is_inherent(ext: &<<Runtime as Config>::Block as Block>::Extrinsic) -> bool
Whether this extrinsic is an inherent.
Source§impl MetadataV2<Block<Header<u32, BlakeTwo256>, UncheckedExtrinsic<MultiAddress<<<MultiSignature as Verify>::Signer as IdentifyAccount>::AccountId, ()>, RuntimeCall, MultiSignature, (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, (CheckSpecVersion<Runtime>, CheckTxVersion<Runtime>, CheckGenesis<Runtime>, CheckMortality<Runtime>, CheckNonce<Runtime>, CheckWeight<Runtime>, ChargeTransactionPayment<Runtime>, CheckMetadataHash<Runtime>)>>> for Runtime
Source§impl OffchainWorkerApiV2<Block<Header<u32, BlakeTwo256>, UncheckedExtrinsic<MultiAddress<<<MultiSignature as Verify>::Signer as IdentifyAccount>::AccountId, ()>, RuntimeCall, MultiSignature, (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, (CheckSpecVersion<Runtime>, CheckTxVersion<Runtime>, CheckGenesis<Runtime>, CheckMortality<Runtime>, CheckNonce<Runtime>, CheckWeight<Runtime>, ChargeTransactionPayment<Runtime>, CheckMetadataHash<Runtime>)>>> for Runtime
Source§fn offchain_worker(header: &<Block as BlockT>::Header)
fn offchain_worker(header: &<Block as BlockT>::Header)
Starts the off-chain task for given block header.
Source§impl RelayParentOffsetApiV1<Block<Header<u32, BlakeTwo256>, UncheckedExtrinsic<MultiAddress<<<MultiSignature as Verify>::Signer as IdentifyAccount>::AccountId, ()>, RuntimeCall, MultiSignature, (CheckSpecVersion<Runtime>, CheckTxVersion<Runtime>, CheckGenesis<Runtime>, CheckMortality<Runtime>, CheckNonce<Runtime>, CheckWeight<Runtime>, ChargeTransactionPayment<Runtime>, CheckMetadataHash<Runtime>)>>> for Runtime
impl RelayParentOffsetApiV1<Block<Header<u32, BlakeTwo256>, UncheckedExtrinsic<MultiAddress<<<MultiSignature as Verify>::Signer as IdentifyAccount>::AccountId, ()>, RuntimeCall, MultiSignature, (CheckSpecVersion<Runtime>, CheckTxVersion<Runtime>, CheckGenesis<Runtime>, CheckMortality<Runtime>, CheckNonce<Runtime>, CheckWeight<Runtime>, ChargeTransactionPayment<Runtime>, CheckMetadataHash<Runtime>)>>> for Runtime
Source§fn relay_parent_offset() -> u32
fn relay_parent_offset() -> u32
Fetch the slot offset that is expected from the relay chain.
Source§impl SessionKeysV1<Block<Header<u32, BlakeTwo256>, UncheckedExtrinsic<MultiAddress<<<MultiSignature as Verify>::Signer as IdentifyAccount>::AccountId, ()>, RuntimeCall, MultiSignature, (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, (CheckSpecVersion<Runtime>, CheckTxVersion<Runtime>, CheckGenesis<Runtime>, CheckMortality<Runtime>, CheckNonce<Runtime>, CheckWeight<Runtime>, ChargeTransactionPayment<Runtime>, CheckMetadataHash<Runtime>)>>> for Runtime
Source§impl TaggedTransactionQueueV3<Block<Header<u32, BlakeTwo256>, UncheckedExtrinsic<MultiAddress<<<MultiSignature as Verify>::Signer as IdentifyAccount>::AccountId, ()>, RuntimeCall, MultiSignature, (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, (CheckSpecVersion<Runtime>, CheckTxVersion<Runtime>, CheckGenesis<Runtime>, CheckMortality<Runtime>, CheckNonce<Runtime>, CheckWeight<Runtime>, ChargeTransactionPayment<Runtime>, CheckMetadataHash<Runtime>)>>> for Runtime
Source§impl TransactionPaymentApiV4<Block<Header<u32, BlakeTwo256>, UncheckedExtrinsic<MultiAddress<<<MultiSignature as Verify>::Signer as IdentifyAccount>::AccountId, ()>, RuntimeCall, MultiSignature, (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, (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, (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, (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, (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, (CheckSpecVersion<Runtime>, CheckTxVersion<Runtime>, CheckGenesis<Runtime>, CheckMortality<Runtime>, CheckNonce<Runtime>, CheckWeight<Runtime>, ChargeTransactionPayment<Runtime>, CheckMetadataHash<Runtime>)>>> for Runtime
Source§impl ValidateUnsigned for Runtime
impl ValidateUnsigned for Runtime
Source§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 XcmPaymentApiV2<Block<Header<u32, BlakeTwo256>, UncheckedExtrinsic<MultiAddress<<<MultiSignature as Verify>::Signer as IdentifyAccount>::AccountId, ()>, RuntimeCall, MultiSignature, (CheckSpecVersion<Runtime>, CheckTxVersion<Runtime>, CheckGenesis<Runtime>, CheckMortality<Runtime>, CheckNonce<Runtime>, CheckWeight<Runtime>, ChargeTransactionPayment<Runtime>, CheckMetadataHash<Runtime>)>>> for Runtime
impl XcmPaymentApiV2<Block<Header<u32, BlakeTwo256>, UncheckedExtrinsic<MultiAddress<<<MultiSignature as Verify>::Signer as IdentifyAccount>::AccountId, ()>, RuntimeCall, MultiSignature, (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 moreimpl 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> 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
§impl<T> CheckedConversion for T
impl<T> CheckedConversion for T
§fn checked_from<T>(t: T) -> Option<Self>where
Self: TryFrom<T>,
fn checked_from<T>(t: T) -> Option<Self>where
Self: TryFrom<T>,
§fn checked_into<T>(self) -> Option<T>where
Self: TryInto<T>,
fn checked_into<T>(self) -> Option<T>where
Self: TryInto<T>,
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§impl<T> Conv for T
impl<T> Conv for T
§impl<T, U> DefensiveTruncateInto<U> for Twhere
U: DefensiveTruncateFrom<T>,
impl<T, U> DefensiveTruncateInto<U> for Twhere
U: DefensiveTruncateFrom<T>,
§fn defensive_truncate_into(self) -> U
fn defensive_truncate_into(self) -> U
Defensively truncate a value and convert it into its bounded form.
§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<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> FixedGasWeightMappingAssociatedTypes for Twhere
T: Config,
impl<T> FixedGasWeightMappingAssociatedTypes for Twhere
T: Config,
type WeightPerGas = <T as Config>::WeightPerGas
type BlockWeights = <T as Config>::BlockWeights
type GasLimitPovSizeRatio = <T as Config>::GasLimitPovSizeRatio
§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
§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
§impl<T> IsType<T> for T
impl<T> IsType<T> for T
§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
§impl<T> SaturatedConversion for T
impl<T> SaturatedConversion for T
§fn saturated_from<T>(t: T) -> Selfwhere
Self: UniqueSaturatedFrom<T>,
fn saturated_from<T>(t: T) -> Selfwhere
Self: UniqueSaturatedFrom<T>,
§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<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
§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>
§impl<S, T> UncheckedInto<T> for Swhere
T: UncheckedFrom<S>,
impl<S, T> UncheckedInto<T> for Swhere
T: UncheckedFrom<S>,
§fn unchecked_into(self) -> T
fn unchecked_into(self) -> T
The counterpart to
unchecked_from.§impl<T, S> UniqueSaturatedInto<T> for S
impl<T, S> UniqueSaturatedInto<T> for S
§fn unique_saturated_into(self) -> T
fn unique_saturated_into(self) -> T
Consume self to return an equivalent value of
T.