Struct kitchensink_runtime::Runtime
source · pub struct Runtime;
Implementations§
source§impl Runtime
impl Runtime
pub fn metadata() -> RuntimeMetadataPrefixed
pub fn metadata_at_version(version: u32) -> Option<OpaqueMetadata>
pub fn metadata_versions() -> Vec<u32>
Trait Implementations§
source§impl AccountNonceApiV1<Block<Header<u32, BlakeTwo256>, UncheckedExtrinsic<MultiAddress<<<MultiSignature as Verify>::Signer as IdentifyAccount>::AccountId, u32>, MultiSignature, EthExtraImpl>>, <<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, u32>, MultiSignature, EthExtraImpl>>, <<MultiSignature as Verify>::Signer as IdentifyAccount>::AccountId, u32> for Runtime
source§fn account_nonce(account: AccountId) -> Nonce
fn account_nonce(account: AccountId) -> Nonce
AccountId
.source§impl AsSystemOriginSigner<<Runtime as Config>::AccountId> for RuntimeOrigin
impl AsSystemOriginSigner<<Runtime as Config>::AccountId> for RuntimeOrigin
source§impl AssetConversionApiV1<Block<Header<u32, BlakeTwo256>, UncheckedExtrinsic<MultiAddress<<<MultiSignature as Verify>::Signer as IdentifyAccount>::AccountId, u32>, MultiSignature, EthExtraImpl>>, u128, NativeOrWithId<u32>> for Runtime
impl AssetConversionApiV1<Block<Header<u32, BlakeTwo256>, UncheckedExtrinsic<MultiAddress<<<MultiSignature as Verify>::Signer as IdentifyAccount>::AccountId, u32>, MultiSignature, EthExtraImpl>>, u128, NativeOrWithId<u32>> for Runtime
source§fn quote_price_exact_tokens_for_tokens(
asset1: NativeOrWithId<u32>,
asset2: NativeOrWithId<u32>,
amount: Balance,
include_fee: bool,
) -> Option<Balance>
fn quote_price_exact_tokens_for_tokens( asset1: NativeOrWithId<u32>, asset2: NativeOrWithId<u32>, amount: Balance, include_fee: bool, ) -> Option<Balance>
Pallet::swap_exact_tokens_for_tokens
. Read moresource§fn quote_price_tokens_for_exact_tokens(
asset1: NativeOrWithId<u32>,
asset2: NativeOrWithId<u32>,
amount: Balance,
include_fee: bool,
) -> Option<Balance>
fn quote_price_tokens_for_exact_tokens( asset1: NativeOrWithId<u32>, asset2: NativeOrWithId<u32>, amount: Balance, include_fee: bool, ) -> Option<Balance>
Pallet::swap_tokens_for_exact_tokens
. Read moresource§fn get_reserves(
asset1: NativeOrWithId<u32>,
asset2: NativeOrWithId<u32>,
) -> Option<(Balance, Balance)>
fn get_reserves( asset1: NativeOrWithId<u32>, asset2: NativeOrWithId<u32>, ) -> Option<(Balance, Balance)>
source§impl AuthorityDiscoveryApiV1<Block<Header<u32, BlakeTwo256>, UncheckedExtrinsic<MultiAddress<<<MultiSignature as Verify>::Signer as IdentifyAccount>::AccountId, u32>, MultiSignature, EthExtraImpl>>> for Runtime
impl AuthorityDiscoveryApiV1<Block<Header<u32, BlakeTwo256>, UncheckedExtrinsic<MultiAddress<<<MultiSignature as Verify>::Signer as IdentifyAccount>::AccountId, u32>, MultiSignature, EthExtraImpl>>> for Runtime
source§impl BabeApiV2<Block<Header<u32, BlakeTwo256>, UncheckedExtrinsic<MultiAddress<<<MultiSignature as Verify>::Signer as IdentifyAccount>::AccountId, u32>, MultiSignature, EthExtraImpl>>> for Runtime
impl BabeApiV2<Block<Header<u32, BlakeTwo256>, UncheckedExtrinsic<MultiAddress<<<MultiSignature as Verify>::Signer as IdentifyAccount>::AccountId, u32>, MultiSignature, EthExtraImpl>>> for Runtime
source§fn configuration() -> BabeConfiguration
fn configuration() -> BabeConfiguration
source§fn current_epoch_start() -> Slot
fn current_epoch_start() -> Slot
source§fn current_epoch() -> Epoch
fn current_epoch() -> Epoch
source§fn next_epoch() -> Epoch
fn next_epoch() -> Epoch
source§fn generate_key_ownership_proof(
_slot: Slot,
authority_id: AuthorityId,
) -> Option<OpaqueKeyOwnershipProof>
fn generate_key_ownership_proof( _slot: Slot, authority_id: AuthorityId, ) -> Option<OpaqueKeyOwnershipProof>
slot
as parameter the current
implementations ignores this parameter and instead relies on this
method being called at the correct block height, i.e. any point at
which the epoch for the given slot is live on-chain. Future
implementations will instead use indexed data through an offchain
worker, not requiring older states to be available.source§fn submit_report_equivocation_unsigned_extrinsic(
equivocation_proof: EquivocationProof<<Block as BlockT>::Header>,
key_owner_proof: OpaqueKeyOwnershipProof,
) -> Option<()>
fn submit_report_equivocation_unsigned_extrinsic( equivocation_proof: EquivocationProof<<Block as BlockT>::Header>, key_owner_proof: OpaqueKeyOwnershipProof, ) -> Option<()>
generate_key_ownership_proof
). The
extrinsic will be unsigned and should only be accepted for local
authorship (not to be broadcast to the network). This method returns
None
when creation of the extrinsic fails, e.g. if equivocation
reporting is disabled for the given runtime (i.e. this method is
hardcoded to return None
). Only useful in an offchain context.source§impl BeefyApiV5<Block<Header<u32, BlakeTwo256>, UncheckedExtrinsic<MultiAddress<<<MultiSignature as Verify>::Signer as IdentifyAccount>::AccountId, u32>, MultiSignature, EthExtraImpl>>, Public> for Runtime
impl BeefyApiV5<Block<Header<u32, BlakeTwo256>, UncheckedExtrinsic<MultiAddress<<<MultiSignature as Verify>::Signer as IdentifyAccount>::AccountId, u32>, MultiSignature, EthExtraImpl>>, Public> for Runtime
source§fn beefy_genesis() -> Option<BlockNumber>
fn beefy_genesis() -> Option<BlockNumber>
source§fn validator_set() -> Option<ValidatorSet<BeefyId>>
fn validator_set() -> Option<ValidatorSet<BeefyId>>
source§fn submit_report_double_voting_unsigned_extrinsic(
equivocation_proof: DoubleVotingProof<BlockNumber, BeefyId, BeefySignature>,
key_owner_proof: OpaqueKeyOwnershipProof,
) -> Option<()>
fn submit_report_double_voting_unsigned_extrinsic( equivocation_proof: DoubleVotingProof<BlockNumber, BeefyId, BeefySignature>, key_owner_proof: OpaqueKeyOwnershipProof, ) -> Option<()>
generate_key_ownership_proof
). The
extrinsic will be unsigned and should only be accepted for local
authorship (not to be broadcast to the network). This method returns
None
when creation of the extrinsic fails, e.g. if equivocation
reporting is disabled for the given runtime (i.e. this method is
hardcoded to return None
). Only useful in an offchain context.source§fn submit_report_fork_voting_unsigned_extrinsic(
equivocation_proof: ForkVotingProof<<Block as BlockT>::Header, BeefyId, OpaqueValue>,
key_owner_proof: OpaqueKeyOwnershipProof,
) -> Option<()>
fn submit_report_fork_voting_unsigned_extrinsic( equivocation_proof: ForkVotingProof<<Block as BlockT>::Header, BeefyId, OpaqueValue>, key_owner_proof: OpaqueKeyOwnershipProof, ) -> Option<()>
generate_ancestry_proof
) and a key ownership proof (should be obtained using
generate_key_ownership_proof
). The extrinsic will be unsigned and should only
be accepted for local authorship (not to be broadcast to the network). This method
returns None
when creation of the extrinsic fails, e.g. if equivocation
reporting is disabled for the given runtime (i.e. this method is
hardcoded to return None
). Only useful in an offchain context.source§fn submit_report_future_block_voting_unsigned_extrinsic(
equivocation_proof: FutureBlockVotingProof<BlockNumber, BeefyId>,
key_owner_proof: OpaqueKeyOwnershipProof,
) -> Option<()>
fn submit_report_future_block_voting_unsigned_extrinsic( equivocation_proof: FutureBlockVotingProof<BlockNumber, BeefyId>, key_owner_proof: OpaqueKeyOwnershipProof, ) -> Option<()>
generate_key_ownership_proof
).
The extrinsic will be unsigned and should only be accepted for local
authorship (not to be broadcast to the network). This method returns
None
when creation of the extrinsic fails, e.g. if equivocation
reporting is disabled for the given runtime (i.e. this method is
hardcoded to return None
). Only useful in an offchain context.source§fn generate_key_ownership_proof(
_set_id: ValidatorSetId,
authority_id: BeefyId,
) -> Option<OpaqueKeyOwnershipProof>
fn generate_key_ownership_proof( _set_id: ValidatorSetId, authority_id: BeefyId, ) -> Option<OpaqueKeyOwnershipProof>
set_id
as parameter the current
implementations ignores this parameter and instead relies on this
method being called at the correct block height, i.e. any point at
which the given set id is live on-chain. Future implementations will
instead use indexed data through an offchain worker, not requiring
older states to be available.source§fn generate_ancestry_proof(
prev_block_number: BlockNumber,
best_known_block_number: Option<BlockNumber>,
) -> Option<OpaqueValue>
fn generate_ancestry_proof( prev_block_number: BlockNumber, best_known_block_number: Option<BlockNumber>, ) -> Option<OpaqueValue>
prev_block_number
is part of the canonical chain at
best_known_block_number
.source§impl BenchmarkV1<Block<Header<u32, BlakeTwo256>, UncheckedExtrinsic<MultiAddress<<<MultiSignature as Verify>::Signer as IdentifyAccount>::AccountId, u32>, MultiSignature, EthExtraImpl>>> for Runtime
impl BenchmarkV1<Block<Header<u32, BlakeTwo256>, UncheckedExtrinsic<MultiAddress<<<MultiSignature as Verify>::Signer as IdentifyAccount>::AccountId, u32>, MultiSignature, EthExtraImpl>>> for Runtime
source§fn benchmark_metadata(extra: bool) -> (Vec<BenchmarkList>, Vec<StorageInfo>)
fn benchmark_metadata(extra: bool) -> (Vec<BenchmarkList>, Vec<StorageInfo>)
source§fn dispatch_benchmark(
config: BenchmarkConfig,
) -> Result<Vec<BenchmarkBatch>, RuntimeString>
fn dispatch_benchmark( config: BenchmarkConfig, ) -> Result<Vec<BenchmarkBatch>, RuntimeString>
source§impl BlockBuilderV6<Block<Header<u32, BlakeTwo256>, UncheckedExtrinsic<MultiAddress<<<MultiSignature as Verify>::Signer as IdentifyAccount>::AccountId, u32>, MultiSignature, EthExtraImpl>>> for Runtime
impl BlockBuilderV6<Block<Header<u32, BlakeTwo256>, UncheckedExtrinsic<MultiAddress<<<MultiSignature as Verify>::Signer as IdentifyAccount>::AccountId, u32>, MultiSignature, EthExtraImpl>>> for Runtime
source§fn apply_extrinsic(
extrinsic: <Block as BlockT>::Extrinsic,
) -> ApplyExtrinsicResult
fn apply_extrinsic( extrinsic: <Block as BlockT>::Extrinsic, ) -> ApplyExtrinsicResult
source§fn inherent_extrinsics(data: InherentData) -> Vec<<Block as BlockT>::Extrinsic>
fn inherent_extrinsics(data: InherentData) -> Vec<<Block as BlockT>::Extrinsic>
source§fn check_inherents(block: Block, data: InherentData) -> CheckInherentsResult
fn check_inherents(block: Block, data: InherentData) -> CheckInherentsResult
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>>
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>>
RawOrigin
if it is that.source§fn as_signed(&self) -> Option<&AccountId>
fn as_signed(&self) -> Option<&AccountId>
Signed
origin, None
otherwise.source§impl Config<Instance1> for Runtime
impl Config<Instance1> for Runtime
§type RuntimeEvent = RuntimeEvent
type RuntimeEvent = RuntimeEvent
§type AssetIdParameter = Compact<u32>
type AssetIdParameter = Compact<u32>
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 more§type CreateOrigin = AsEnsureOriginWithArg<EnsureSigned<<<MultiSignature as Verify>::Signer as IdentifyAccount>::AccountId>>
type CreateOrigin = AsEnsureOriginWithArg<EnsureSigned<<<MultiSignature as Verify>::Signer as IdentifyAccount>::AccountId>>
§type ForceOrigin = EnsureRoot<<<MultiSignature as Verify>::Signer as IdentifyAccount>::AccountId>
type ForceOrigin = EnsureRoot<<<MultiSignature as Verify>::Signer as IdentifyAccount>::AccountId>
§type AssetDeposit = AssetDeposit
type AssetDeposit = AssetDeposit
§type AssetAccountDeposit = ConstU128<DOLLARS>
type AssetAccountDeposit = ConstU128<DOLLARS>
§type MetadataDepositBase = MetadataDepositBase
type MetadataDepositBase = MetadataDepositBase
§type MetadataDepositPerByte = MetadataDepositPerByte
type MetadataDepositPerByte = MetadataDepositPerByte
§type ApprovalDeposit = ApprovalDeposit
type ApprovalDeposit = ApprovalDeposit
§type StringLimit = StringLimit
type StringLimit = StringLimit
§type Freezer = ()
type Freezer = ()
§type CallbackHandle = ()
type CallbackHandle = ()
§type WeightInfo = SubstrateWeight<Runtime>
type WeightInfo = SubstrateWeight<Runtime>
§type RemoveItemsLimit = ConstU32<1000>
type RemoveItemsLimit = ConstU32<1000>
§type BenchmarkHelper = ()
type BenchmarkHelper = ()
source§impl Config<Instance1> for Runtime
impl Config<Instance1> for Runtime
§type ScoreProvider = Pallet<Runtime>
type ScoreProvider = Pallet<Runtime>
The voter bags-list is loosely kept up to date, and the real source of truth for the score of each node is the staking pallet.
§type RuntimeEvent = RuntimeEvent
type RuntimeEvent = RuntimeEvent
§type BagThresholds = BagThresholds
type BagThresholds = BagThresholds
§type WeightInfo = SubstrateWeight<Runtime>
type WeightInfo = SubstrateWeight<Runtime>
source§impl Config<Instance1> for Runtime
impl Config<Instance1> for Runtime
§type RuntimeEvent = RuntimeEvent
type RuntimeEvent = RuntimeEvent
§type AddOrigin = EitherOfDiverse<EnsureRoot<<<MultiSignature as Verify>::Signer as IdentifyAccount>::AccountId>, EnsureProportionMoreThan<<<MultiSignature as Verify>::Signer as IdentifyAccount>::AccountId, Instance1, 1, 2>>
type AddOrigin = EitherOfDiverse<EnsureRoot<<<MultiSignature as Verify>::Signer as IdentifyAccount>::AccountId>, EnsureProportionMoreThan<<<MultiSignature as Verify>::Signer as IdentifyAccount>::AccountId, Instance1, 1, 2>>
§type RemoveOrigin = EitherOfDiverse<EnsureRoot<<<MultiSignature as Verify>::Signer as IdentifyAccount>::AccountId>, EnsureProportionMoreThan<<<MultiSignature as Verify>::Signer as IdentifyAccount>::AccountId, Instance1, 1, 2>>
type RemoveOrigin = EitherOfDiverse<EnsureRoot<<<MultiSignature as Verify>::Signer as IdentifyAccount>::AccountId>, EnsureProportionMoreThan<<<MultiSignature as Verify>::Signer as IdentifyAccount>::AccountId, Instance1, 1, 2>>
§type SwapOrigin = EitherOfDiverse<EnsureRoot<<<MultiSignature as Verify>::Signer as IdentifyAccount>::AccountId>, EnsureProportionMoreThan<<<MultiSignature as Verify>::Signer as IdentifyAccount>::AccountId, Instance1, 1, 2>>
type SwapOrigin = EitherOfDiverse<EnsureRoot<<<MultiSignature as Verify>::Signer as IdentifyAccount>::AccountId>, EnsureProportionMoreThan<<<MultiSignature as Verify>::Signer as IdentifyAccount>::AccountId, Instance1, 1, 2>>
§type ResetOrigin = EitherOfDiverse<EnsureRoot<<<MultiSignature as Verify>::Signer as IdentifyAccount>::AccountId>, EnsureProportionMoreThan<<<MultiSignature as Verify>::Signer as IdentifyAccount>::AccountId, Instance1, 1, 2>>
type ResetOrigin = EitherOfDiverse<EnsureRoot<<<MultiSignature as Verify>::Signer as IdentifyAccount>::AccountId>, EnsureProportionMoreThan<<<MultiSignature as Verify>::Signer as IdentifyAccount>::AccountId, Instance1, 1, 2>>
§type PrimeOrigin = EitherOfDiverse<EnsureRoot<<<MultiSignature as Verify>::Signer as IdentifyAccount>::AccountId>, EnsureProportionMoreThan<<<MultiSignature as Verify>::Signer as IdentifyAccount>::AccountId, Instance1, 1, 2>>
type PrimeOrigin = EitherOfDiverse<EnsureRoot<<<MultiSignature as Verify>::Signer as IdentifyAccount>::AccountId>, EnsureProportionMoreThan<<<MultiSignature as Verify>::Signer as IdentifyAccount>::AccountId, Instance1, 1, 2>>
§type MembershipInitialized = Pallet<Runtime, Instance2>
type MembershipInitialized = Pallet<Runtime, Instance2>
MembershipChanged
. If you need to do
something different on initialization, then you can change this accordingly.§type MembershipChanged = Pallet<Runtime, Instance2>
type MembershipChanged = Pallet<Runtime, Instance2>
§type MaxMembers = TechnicalMaxMembers
type MaxMembers = TechnicalMaxMembers
§type WeightInfo = SubstrateWeight<Runtime>
type WeightInfo = SubstrateWeight<Runtime>
source§impl Config<Instance1> for Runtime
impl Config<Instance1> for Runtime
§type RuntimeOrigin = RuntimeOrigin
type RuntimeOrigin = RuntimeOrigin
§type Proposal = RuntimeCall
type Proposal = RuntimeCall
§type RuntimeEvent = RuntimeEvent
type RuntimeEvent = RuntimeEvent
§type MotionDuration = CouncilMotionDuration
type MotionDuration = CouncilMotionDuration
§type MaxProposals = CouncilMaxProposals
type MaxProposals = CouncilMaxProposals
§type MaxMembers = CouncilMaxMembers
type MaxMembers = CouncilMaxMembers
§type DefaultVote = PrimeDefaultVote
type DefaultVote = PrimeDefaultVote
§type WeightInfo = SubstrateWeight<Runtime>
type WeightInfo = SubstrateWeight<Runtime>
§type SetMembersOrigin = EnsureRoot<<Runtime as Config>::AccountId>
type SetMembersOrigin = EnsureRoot<<Runtime as Config>::AccountId>
§type MaxProposalWeight = MaxCollectivesProposalWeight
type MaxProposalWeight = MaxCollectivesProposalWeight
§type DisapproveOrigin = EnsureRoot<<Runtime as Config>::AccountId>
type DisapproveOrigin = EnsureRoot<<Runtime as Config>::AccountId>
§type KillOrigin = EnsureRoot<<Runtime as Config>::AccountId>
type KillOrigin = EnsureRoot<<Runtime as Config>::AccountId>
§type Consideration = HoldConsideration<<<MultiSignature as Verify>::Signer as IdentifyAccount>::AccountId, Pallet<Runtime>, ProposalHoldReason, Delayed<ConstU32<2>, Linear<ConstU32<2>, ProposalDepositOffset>>, u32>
type Consideration = HoldConsideration<<<MultiSignature as Verify>::Signer as IdentifyAccount>::AccountId, Pallet<Runtime>, ProposalHoldReason, Delayed<ConstU32<2>, Linear<ConstU32<2>, ProposalDepositOffset>>, u32>
source§impl Config for Runtime
impl Config for Runtime
§type RuntimeEvent = RuntimeEvent
type RuntimeEvent = RuntimeEvent
§type RuntimeCall = RuntimeCall
type RuntimeCall = RuntimeCall
§type DepositBase = DepositBase
type DepositBase = DepositBase
§type DepositFactor = DepositFactor
type DepositFactor = DepositFactor
§type MaxSignatories = ConstU32<100>
type MaxSignatories = ConstU32<100>
§type WeightInfo = SubstrateWeight<Runtime>
type WeightInfo = SubstrateWeight<Runtime>
source§impl Config for Runtime
impl Config for Runtime
type RuntimeEvent = RuntimeEvent
source§impl Config for Runtime
impl Config for Runtime
type RuntimeEvent = RuntimeEvent
§type EstimateCallFee = Pallet<Runtime>
type EstimateCallFee = Pallet<Runtime>
§type SignedPhase = SignedPhase
type SignedPhase = SignedPhase
§type UnsignedPhase = UnsignedPhase
type UnsignedPhase = UnsignedPhase
§type BetterSignedThreshold = ()
type BetterSignedThreshold = ()
§type OffchainRepeat = OffchainRepeat
type OffchainRepeat = OffchainRepeat
§type MinerTxPriority = MultiPhaseUnsignedPriority
type MinerTxPriority = MultiPhaseUnsignedPriority
§type MinerConfig = Runtime
type MinerConfig = Runtime
§type SignedMaxSubmissions = ConstU32<10>
type SignedMaxSubmissions = ConstU32<10>
§type SignedRewardBase = SignedRewardBase
type SignedRewardBase = SignedRewardBase
§type SignedDepositBase = GeometricDepositBase<u128, SignedFixedDeposit, SignedDepositIncreaseFactor>
type SignedDepositBase = GeometricDepositBase<u128, SignedFixedDeposit, SignedDepositIncreaseFactor>
§type SignedDepositByte = SignedDepositByte
type SignedDepositByte = SignedDepositByte
§type SignedMaxRefunds = ConstU32<3>
type SignedMaxRefunds = ConstU32<3>
§type SignedDepositWeight = ()
type SignedDepositWeight = ()
§type SignedMaxWeight = MinerMaxWeight
type SignedMaxWeight = MinerMaxWeight
§type SlashHandler = ()
type SlashHandler = ()
§type RewardHandler = ()
type RewardHandler = ()
§type DataProvider = Pallet<Runtime>
type DataProvider = Pallet<Runtime>
§type Fallback = OnChainExecution<OnChainSeqPhragmen>
type Fallback = OnChainExecution<OnChainSeqPhragmen>
§type GovernanceFallback = OnChainExecution<OnChainSeqPhragmen>
type GovernanceFallback = OnChainExecution<OnChainSeqPhragmen>
§type Solver = SequentialPhragmen<<<MultiSignature as Verify>::Signer as IdentifyAccount>::AccountId, <<<Runtime as Config>::MinerConfig as MinerConfig>::Solution as NposSolution>::Accuracy, OffchainRandomBalancing>
type Solver = SequentialPhragmen<<<MultiSignature as Verify>::Signer as IdentifyAccount>::AccountId, <<<Runtime as Config>::MinerConfig as MinerConfig>::Solution as NposSolution>::Accuracy, OffchainRandomBalancing>
§type ForceOrigin = EitherOfDiverse<EnsureRoot<<<MultiSignature as Verify>::Signer as IdentifyAccount>::AccountId>, EnsureProportionMoreThan<<<MultiSignature as Verify>::Signer as IdentifyAccount>::AccountId, Instance1, 1, 2>>
type ForceOrigin = EitherOfDiverse<EnsureRoot<<<MultiSignature as Verify>::Signer as IdentifyAccount>::AccountId>, EnsureProportionMoreThan<<<MultiSignature as Verify>::Signer as IdentifyAccount>::AccountId, Instance1, 1, 2>>
§type MaxWinners = MaxActiveValidators
type MaxWinners = MaxActiveValidators
ElectionProvider
implementation. Read more§type ElectionBounds = ElectionBoundsMultiPhase
type ElectionBounds = ElectionBoundsMultiPhase
§type BenchmarkingConfig = ElectionProviderBenchmarkConfig
type BenchmarkingConfig = ElectionProviderBenchmarkConfig
§type WeightInfo = SubstrateWeight<Runtime>
type WeightInfo = SubstrateWeight<Runtime>
source§impl Config for Runtime
impl Config for Runtime
§type RuntimeEvent = RuntimeEvent
type RuntimeEvent = RuntimeEvent
§type ValidatorId = <Runtime as Config>::AccountId
type ValidatorId = <Runtime as Config>::AccountId
§type ValidatorIdOf = StashOf<Runtime>
type ValidatorIdOf = StashOf<Runtime>
§type ShouldEndSession = Pallet<Runtime>
type ShouldEndSession = Pallet<Runtime>
§type NextSessionRotation = Pallet<Runtime>
type NextSessionRotation = Pallet<Runtime>
ShouldEndSession
, yet, it gives a best effort
estimate. It is helpful to implement EstimateNextNewSession
.§type SessionManager = NoteHistoricalRoot<Runtime, Pallet<Runtime>>
type SessionManager = NoteHistoricalRoot<Runtime, Pallet<Runtime>>
§type SessionHandler = <SessionKeys as OpaqueKeys>::KeyTypeIdProviders
type SessionHandler = <SessionKeys as OpaqueKeys>::KeyTypeIdProviders
§type Keys = SessionKeys
type Keys = SessionKeys
§type WeightInfo = SubstrateWeight<Runtime>
type WeightInfo = SubstrateWeight<Runtime>
source§impl Config for Runtime
impl Config for Runtime
§type AdminOrigin = EitherOfDiverse<EnsureRoot<<<MultiSignature as Verify>::Signer as IdentifyAccount>::AccountId>, EnsureProportionAtLeast<<<MultiSignature as Verify>::Signer as IdentifyAccount>::AccountId, Instance1, 3, 4>>
type AdminOrigin = EitherOfDiverse<EnsureRoot<<<MultiSignature as Verify>::Signer as IdentifyAccount>::AccountId>, EnsureProportionAtLeast<<<MultiSignature as Verify>::Signer as IdentifyAccount>::AccountId, Instance1, 3, 4>>
A super-majority of the council can cancel the slash.
§type CurrencyBalance = u128
type CurrencyBalance = u128
Currency::Balance
type; we have this item to allow us to constrain it to
From<u64>
.§type CurrencyToVote = U128CurrencyToVote
type CurrencyToVote = U128CurrencyToVote
u64
but is allowed to be sensibly lossy. The u64
is used to communicate with the
frame_election_provider_support
crate which accepts u64 numbers and does operations
in 128.
Consequently, the backward convert is used convert the u128s from sp-elections back to a
BalanceOf
.§type RewardRemainder = Pallet<Runtime>
type RewardRemainder = Pallet<Runtime>
§type RuntimeEvent = RuntimeEvent
type RuntimeEvent = RuntimeEvent
§type Reward = ()
type Reward = ()
OnUnbalanced
should modify the total
issuance.§type SessionsPerEra = SessionsPerEra
type SessionsPerEra = SessionsPerEra
§type BondingDuration = BondingDuration
type BondingDuration = BondingDuration
§type SlashDeferDuration = SlashDeferDuration
type SlashDeferDuration = SlashDeferDuration
§type SessionInterface = Runtime
type SessionInterface = Runtime
§type EraPayout = ConvertCurve<RewardCurve>
type EraPayout = ConvertCurve<RewardCurve>
§type NextNewSession = Pallet<Runtime>
type NextNewSession = Pallet<Runtime>
§type MaxExposurePageSize = ConstU32<256>
type MaxExposurePageSize = ConstU32<256>
T::ExposurePage
. Read more§type ElectionProvider = Pallet<Runtime>
type ElectionProvider = Pallet<Runtime>
§type GenesisElectionProvider = OnChainExecution<OnChainSeqPhragmen>
type GenesisElectionProvider = OnChainExecution<OnChainSeqPhragmen>
§type VoterList = Pallet<Runtime, Instance1>
type VoterList = Pallet<Runtime, Instance1>
§type NominationsQuota = FixedNominationsQuota<MAX_QUOTA_NOMINATIONS>
type NominationsQuota = FixedNominationsQuota<MAX_QUOTA_NOMINATIONS>
§type TargetList = UseValidatorsMap<Runtime>
type TargetList = UseValidatorsMap<Runtime>
§type MaxUnlockingChunks = ConstU32<32>
type MaxUnlockingChunks = ConstU32<32>
unlocking
chunks a StakingLedger
can
have. Effectively determines how many unique eras a staker may be
unbonding in. Read more§type MaxControllersInDeprecationBatch = MaxControllersInDeprecationBatch
type MaxControllersInDeprecationBatch = MaxControllersInDeprecationBatch
§type HistoryDepth = HistoryDepth
type HistoryDepth = HistoryDepth
§type EventListeners = Pallet<Runtime>
type EventListeners = Pallet<Runtime>
§type WeightInfo = SubstrateWeight<Runtime>
type WeightInfo = SubstrateWeight<Runtime>
§type BenchmarkingConfig = StakingBenchmarkingConfig
type BenchmarkingConfig = StakingBenchmarkingConfig
§type DisablingStrategy = UpToLimitDisablingStrategy
type DisablingStrategy = UpToLimitDisablingStrategy
DisablingStragegy
controls how validators are disabledsource§impl Config for Runtime
impl Config for Runtime
§type RuntimeEvent = RuntimeEvent
type RuntimeEvent = RuntimeEvent
source§impl Config for Runtime
impl Config for Runtime
§type RuntimeParameters = RuntimeParameters
type RuntimeParameters = RuntimeParameters
§type RuntimeEvent = RuntimeEvent
type RuntimeEvent = RuntimeEvent
§type AdminOrigin = DynamicParametersManagerOrigin
type AdminOrigin = DynamicParametersManagerOrigin
§type WeightInfo = ()
type WeightInfo = ()
source§impl Config for Runtime
impl Config for Runtime
§type AccountIndex = u32
type AccountIndex = u32
§type Deposit = IndexDeposit
type Deposit = IndexDeposit
§type RuntimeEvent = RuntimeEvent
type RuntimeEvent = RuntimeEvent
§type WeightInfo = SubstrateWeight<Runtime>
type WeightInfo = SubstrateWeight<Runtime>
source§impl Config for Runtime
impl Config for Runtime
§type RuntimeEvent = RuntimeEvent
type RuntimeEvent = RuntimeEvent
§type RuntimeCall = RuntimeCall
type RuntimeCall = RuntimeCall
§type WhitelistOrigin = EnsureRoot<<<MultiSignature as Verify>::Signer as IdentifyAccount>::AccountId>
type WhitelistOrigin = EnsureRoot<<<MultiSignature as Verify>::Signer as IdentifyAccount>::AccountId>
§type DispatchWhitelistedOrigin = EnsureRoot<<<MultiSignature as Verify>::Signer as IdentifyAccount>::AccountId>
type DispatchWhitelistedOrigin = EnsureRoot<<<MultiSignature as Verify>::Signer as IdentifyAccount>::AccountId>
§type WeightInfo = SubstrateWeight<Runtime>
type WeightInfo = SubstrateWeight<Runtime>
source§impl Config for Runtime
impl Config for Runtime
§type RuntimeEvent = RuntimeEvent
type RuntimeEvent = RuntimeEvent
§type OnChargeTransaction = CurrencyAdapter<Pallet<Runtime>, DealWithFees>
type OnChargeTransaction = CurrencyAdapter<Pallet<Runtime>, DealWithFees>
§type OperationalFeeMultiplier = OperationalFeeMultiplier
type OperationalFeeMultiplier = OperationalFeeMultiplier
Operational
extrinsics to compute “virtual tip” to boost their
priority
Read more§type WeightToFee = IdentityFee<u128>
type WeightToFee = IdentityFee<u128>
§type LengthToFee = ConstantMultiplier<u128, TransactionByteFee>
type LengthToFee = ConstantMultiplier<u128, TransactionByteFee>
§type FeeMultiplierUpdate = TargetedFeeAdjustment<Runtime, TargetBlockFullness, AdjustmentVariable, MinimumMultiplier, MaximumMultiplier>
type FeeMultiplierUpdate = TargetedFeeAdjustment<Runtime, TargetBlockFullness, AdjustmentVariable, MinimumMultiplier, MaximumMultiplier>
§type WeightInfo = SubstrateWeight<Runtime>
type WeightInfo = SubstrateWeight<Runtime>
source§impl Config for Runtime
impl Config for Runtime
§type RuntimeEvent = RuntimeEvent
type RuntimeEvent = RuntimeEvent
§type Proposal = RuntimeCall
type Proposal = RuntimeCall
§type AdminOrigin = EitherOfDiverse<EnsureRoot<<<MultiSignature as Verify>::Signer as IdentifyAccount>::AccountId>, EnsureProportionMoreThan<<<MultiSignature as Verify>::Signer as IdentifyAccount>::AccountId, Instance3, 2, 3>>
type AdminOrigin = EitherOfDiverse<EnsureRoot<<<MultiSignature as Verify>::Signer as IdentifyAccount>::AccountId>, EnsureProportionMoreThan<<<MultiSignature as Verify>::Signer as IdentifyAccount>::AccountId, Instance3, 2, 3>>
§type MembershipManager = EitherOfDiverse<EnsureRoot<<<MultiSignature as Verify>::Signer as IdentifyAccount>::AccountId>, EnsureProportionMoreThan<<<MultiSignature as Verify>::Signer as IdentifyAccount>::AccountId, Instance3, 2, 3>>
type MembershipManager = EitherOfDiverse<EnsureRoot<<<MultiSignature as Verify>::Signer as IdentifyAccount>::AccountId>, EnsureProportionMoreThan<<<MultiSignature as Verify>::Signer as IdentifyAccount>::AccountId, Instance3, 2, 3>>
§type AnnouncementOrigin = EitherOfDiverse<EnsureRoot<<<MultiSignature as Verify>::Signer as IdentifyAccount>::AccountId>, EnsureProportionMoreThan<<<MultiSignature as Verify>::Signer as IdentifyAccount>::AccountId, Instance3, 2, 3>>
type AnnouncementOrigin = EitherOfDiverse<EnsureRoot<<<MultiSignature as Verify>::Signer as IdentifyAccount>::AccountId>, EnsureProportionMoreThan<<<MultiSignature as Verify>::Signer as IdentifyAccount>::AccountId, Instance3, 2, 3>>
§type InitializeMembers = Pallet<Runtime, Instance3>
type InitializeMembers = Pallet<Runtime, Instance3>
§type MembershipChanged = Pallet<Runtime, Instance3>
type MembershipChanged = Pallet<Runtime, Instance3>
§type IdentityVerifier = ()
type IdentityVerifier = ()
§type ProposalProvider = AllianceProposalProvider
type ProposalProvider = AllianceProposalProvider
§type MaxProposals = AllianceMaxProposals
type MaxProposals = AllianceMaxProposals
§type MaxFellows = MaxFellows
type MaxFellows = MaxFellows
§type MaxAllies = MaxAllies
type MaxAllies = MaxAllies
§type MaxUnscrupulousItems = ConstU32<100>
type MaxUnscrupulousItems = ConstU32<100>
§type MaxWebsiteUrlLength = ConstU32<255>
type MaxWebsiteUrlLength = ConstU32<255>
§type MaxAnnouncementsCount = ConstU32<100>
type MaxAnnouncementsCount = ConstU32<100>
§type MaxMembersCount = AllianceMaxMembers
type MaxMembersCount = AllianceMaxMembers
§type AllyDeposit = AllyDeposit
type AllyDeposit = AllyDeposit
§type WeightInfo = SubstrateWeight<Runtime>
type WeightInfo = SubstrateWeight<Runtime>
§type RetirementPeriod = RetirementPeriod
type RetirementPeriod = RetirementPeriod
kick_member
.source§impl Config for Runtime
impl Config for Runtime
§type RuntimeEvent = RuntimeEvent
type RuntimeEvent = RuntimeEvent
§type RuntimeHoldReason = RuntimeHoldReason
type RuntimeHoldReason = RuntimeHoldReason
§type RuntimeCall = RuntimeCall
type RuntimeCall = RuntimeCall
§type FeeDestination = ()
type FeeDestination = ()
§type WeightInfo = SubstrateWeight<Runtime>
type WeightInfo = SubstrateWeight<Runtime>
§type MaxBlockTransactions = ConstU32<{ pallet_transaction_storage::DEFAULT_MAX_BLOCK_TRANSACTIONS }>
type MaxBlockTransactions = ConstU32<{ pallet_transaction_storage::DEFAULT_MAX_BLOCK_TRANSACTIONS }>
§type MaxTransactionSize = ConstU32<{ pallet_transaction_storage::DEFAULT_MAX_TRANSACTION_SIZE }>
type MaxTransactionSize = ConstU32<{ pallet_transaction_storage::DEFAULT_MAX_TRANSACTION_SIZE }>
source§impl Config for Runtime
impl Config for Runtime
§type RuntimeEvent = RuntimeEvent
type RuntimeEvent = RuntimeEvent
§type IdentificationTuple = (<Runtime as Config>::ValidatorId, <Runtime as Config>::FullIdentification)
type IdentificationTuple = (<Runtime as Config>::ValidatorId, <Runtime as Config>::FullIdentification)
§type OnOffenceHandler = Pallet<Runtime>
type OnOffenceHandler = Pallet<Runtime>
source§impl Config for Runtime
impl Config for Runtime
§type BaseCallFilter = InsideBoth<Pallet<Runtime>, Pallet<Runtime>>
type BaseCallFilter = InsideBoth<Pallet<Runtime>, Pallet<Runtime>>
§type BlockWeights = RuntimeBlockWeights
type BlockWeights = RuntimeBlockWeights
§type BlockLength = RuntimeBlockLength
type BlockLength = RuntimeBlockLength
§type DbWeight = RocksDbWeight
type DbWeight = RocksDbWeight
§type AccountId = <<MultiSignature as Verify>::Signer as IdentifyAccount>::AccountId
type AccountId = <<MultiSignature as Verify>::Signer as IdentifyAccount>::AccountId
§type Lookup = Pallet<Runtime>
type Lookup = Pallet<Runtime>
AccountId
. Read more§type Block = Block<Header<u32, BlakeTwo256>, UncheckedExtrinsic<MultiAddress<<<MultiSignature as Verify>::Signer as IdentifyAccount>::AccountId, u32>, MultiSignature, EthExtraImpl>>
type Block = Block<Header<u32, BlakeTwo256>, UncheckedExtrinsic<MultiAddress<<<MultiSignature as Verify>::Signer as IdentifyAccount>::AccountId, u32>, MultiSignature, EthExtraImpl>>
construct_runtime
to retrieve the
extrinsics or other block specific data as needed.§type BlockHashCount = BlockHashCount
type BlockHashCount = BlockHashCount
§type AccountData = AccountData<u128>
type AccountData = AccountData<u128>
§type SystemWeightInfo = SubstrateWeight<Runtime>
type SystemWeightInfo = SubstrateWeight<Runtime>
§type SS58Prefix = ConstU16<42>
type SS58Prefix = ConstU16<42>
§type MaxConsumers = ConstU32<16>
type MaxConsumers = ConstU32<16>
§type MultiBlockMigrator = Pallet<Runtime>
type MultiBlockMigrator = Pallet<Runtime>
§type Hashing = <SolochainDefaultConfig as DefaultConfig>::Hashing
type Hashing = <SolochainDefaultConfig as DefaultConfig>::Hashing
§type OnNewAccount = <SolochainDefaultConfig as DefaultConfig>::OnNewAccount
type OnNewAccount = <SolochainDefaultConfig as DefaultConfig>::OnNewAccount
§type OnKilledAccount = <SolochainDefaultConfig as DefaultConfig>::OnKilledAccount
type OnKilledAccount = <SolochainDefaultConfig as DefaultConfig>::OnKilledAccount
§type ExtensionsWeightInfo = <SolochainDefaultConfig as DefaultConfig>::ExtensionsWeightInfo
type ExtensionsWeightInfo = <SolochainDefaultConfig as DefaultConfig>::ExtensionsWeightInfo
§type RuntimeEvent = RuntimeEvent
type RuntimeEvent = RuntimeEvent
§type RuntimeOrigin = RuntimeOrigin
type RuntimeOrigin = RuntimeOrigin
RuntimeOrigin
type used by dispatchable calls.§type RuntimeCall = RuntimeCall
type RuntimeCall = RuntimeCall
RuntimeCall
type.§type RuntimeTask = RuntimeTask
type RuntimeTask = RuntimeTask
RuntimeTask
type.§type PalletInfo = PalletInfo
type PalletInfo = PalletInfo
§type OnSetCode = <SolochainDefaultConfig as DefaultConfig>::OnSetCode
type OnSetCode = <SolochainDefaultConfig as DefaultConfig>::OnSetCode
§type SingleBlockMigrations = <SolochainDefaultConfig as DefaultConfig>::SingleBlockMigrations
type SingleBlockMigrations = <SolochainDefaultConfig as DefaultConfig>::SingleBlockMigrations
§type PreInherents = <SolochainDefaultConfig as DefaultConfig>::PreInherents
type PreInherents = <SolochainDefaultConfig as DefaultConfig>::PreInherents
§type PostInherents = <SolochainDefaultConfig as DefaultConfig>::PostInherents
type PostInherents = <SolochainDefaultConfig as DefaultConfig>::PostInherents
§type PostTransactions = <SolochainDefaultConfig as DefaultConfig>::PostTransactions
type PostTransactions = <SolochainDefaultConfig as DefaultConfig>::PostTransactions
source§impl Config for Runtime
impl Config for Runtime
§type RuntimeEvent = RuntimeEvent
type RuntimeEvent = RuntimeEvent
§type BountyDepositBase = BountyDepositBase
type BountyDepositBase = BountyDepositBase
§type BountyDepositPayoutDelay = BountyDepositPayoutDelay
type BountyDepositPayoutDelay = BountyDepositPayoutDelay
§type BountyUpdatePeriod = BountyUpdatePeriod
type BountyUpdatePeriod = BountyUpdatePeriod
§type CuratorDepositMultiplier = CuratorDepositMultiplier
type CuratorDepositMultiplier = CuratorDepositMultiplier
§type CuratorDepositMin = CuratorDepositMin
type CuratorDepositMin = CuratorDepositMin
§type CuratorDepositMax = CuratorDepositMax
type CuratorDepositMax = CuratorDepositMax
§type BountyValueMinimum = BountyValueMinimum
type BountyValueMinimum = BountyValueMinimum
§type DataDepositPerByte = DataDepositPerByte
type DataDepositPerByte = DataDepositPerByte
§type MaximumReasonLength = MaximumReasonLength
type MaximumReasonLength = MaximumReasonLength
§type WeightInfo = SubstrateWeight<Runtime>
type WeightInfo = SubstrateWeight<Runtime>
§type ChildBountyManager = Pallet<Runtime>
type ChildBountyManager = Pallet<Runtime>
source§impl Config for Runtime
impl Config for Runtime
§type WeightInfo = SubstrateWeight<Runtime>
type WeightInfo = SubstrateWeight<Runtime>
§type RuntimeEvent = RuntimeEvent
type RuntimeEvent = RuntimeEvent
§type AddOrigin = EnsureRoot<<<MultiSignature as Verify>::Signer as IdentifyAccount>::AccountId>
type AddOrigin = EnsureRoot<<<MultiSignature as Verify>::Signer as IdentifyAccount>::AccountId>
§type RemoveOrigin = <Runtime as Config>::DemoteOrigin
type RemoveOrigin = <Runtime as Config>::DemoteOrigin
§type PromoteOrigin = EnsureRootWithSuccess<<<MultiSignature as Verify>::Signer as IdentifyAccount>::AccountId, ConstU16<u16::MAX>>
type PromoteOrigin = EnsureRootWithSuccess<<<MultiSignature as Verify>::Signer as IdentifyAccount>::AccountId, ConstU16<u16::MAX>>
§type DemoteOrigin = EnsureRootWithSuccess<<<MultiSignature as Verify>::Signer as IdentifyAccount>::AccountId, ConstU16<u16::MAX>>
type DemoteOrigin = EnsureRootWithSuccess<<<MultiSignature as Verify>::Signer as IdentifyAccount>::AccountId, ConstU16<u16::MAX>>
§type ExchangeOrigin = EnsureRootWithSuccess<<<MultiSignature as Verify>::Signer as IdentifyAccount>::AccountId, ConstU16<u16::MAX>>
type ExchangeOrigin = EnsureRootWithSuccess<<<MultiSignature as Verify>::Signer as IdentifyAccount>::AccountId, ConstU16<u16::MAX>>
§type MinRankOfClass = Identity
type MinRankOfClass = Identity
Polls::Class
is the same type as Rank
, then Identity
can be used here to mean
“a rank of at least the poll class”.§type VoteWeight = Geometric
type VoteWeight = Geometric
§type MemberSwappedHandler = (Pallet<Runtime>, Pallet<Runtime>)
type MemberSwappedHandler = (Pallet<Runtime>, Pallet<Runtime>)
§type MaxMemberCount = ()
type MaxMemberCount = ()
source§impl Config for Runtime
impl Config for Runtime
§type RuntimeEvent = RuntimeEvent
type RuntimeEvent = RuntimeEvent
§type ControlOrigin = EnsureRoot<<<MultiSignature as Verify>::Signer as IdentifyAccount>::AccountId>
type ControlOrigin = EnsureRoot<<<MultiSignature as Verify>::Signer as IdentifyAccount>::AccountId>
Pallet::control
.§type Deposit = ConstU128<{ DOLLARS }>
type Deposit = ConstU128<{ DOLLARS }>
§type MaxErasToCheckPerBlock = ConstU32<1>
type MaxErasToCheckPerBlock = ConstU32<1>
§type WeightInfo = ()
type WeightInfo = ()
source§impl Config for Runtime
impl Config for Runtime
§type RuntimeEvent = RuntimeEvent
type RuntimeEvent = RuntimeEvent
§type AssetId = NativeOrWithId<u32>
type AssetId = NativeOrWithId<u32>
§type OnChargeAssetTransaction = SwapAssetAdapter<Native, UnionOf<Pallet<Runtime>, Pallet<Runtime, Instance1>, NativeFromLeft, NativeOrWithId<u32>, <<MultiSignature as Verify>::Signer as IdentifyAccount>::AccountId>, Pallet<Runtime>, ResolveAssetTo<TreasuryAccount, UnionOf<Pallet<Runtime>, Pallet<Runtime, Instance1>, NativeFromLeft, NativeOrWithId<u32>, <<MultiSignature as Verify>::Signer as IdentifyAccount>::AccountId>>>
type OnChargeAssetTransaction = SwapAssetAdapter<Native, UnionOf<Pallet<Runtime>, Pallet<Runtime, Instance1>, NativeFromLeft, NativeOrWithId<u32>, <<MultiSignature as Verify>::Signer as IdentifyAccount>::AccountId>, Pallet<Runtime>, ResolveAssetTo<TreasuryAccount, UnionOf<Pallet<Runtime>, Pallet<Runtime, Instance1>, NativeFromLeft, NativeOrWithId<u32>, <<MultiSignature as Verify>::Signer as IdentifyAccount>::AccountId>>>
§type WeightInfo = SubstrateWeight<Runtime>
type WeightInfo = SubstrateWeight<Runtime>
§type BenchmarkHelper = AssetConversionTxHelper
type BenchmarkHelper = AssetConversionTxHelper
source§impl Config for Runtime
impl Config for Runtime
§type RuntimeEvent = RuntimeEvent
type RuntimeEvent = RuntimeEvent
§type PalletId = SocietyPalletId
type PalletId = SocietyPalletId
§type Randomness = Pallet<Runtime>
type Randomness = Pallet<Runtime>
§type GraceStrikes = GraceStrikes
type GraceStrikes = GraceStrikes
§type PeriodSpend = PeriodSpend
type PeriodSpend = PeriodSpend
§type VotingPeriod = SocietyVotingPeriod
type VotingPeriod = SocietyVotingPeriod
ClaimPeriod
, this sums to the number of blocks between candidate intake periods.§type ClaimPeriod = ClaimPeriod
type ClaimPeriod = ClaimPeriod
§type MaxLockDuration = MaxLockDuration
type MaxLockDuration = MaxLockDuration
§type FounderSetOrigin = EnsureProportionMoreThan<<<MultiSignature as Verify>::Signer as IdentifyAccount>::AccountId, Instance1, 1, 2>
type FounderSetOrigin = EnsureProportionMoreThan<<<MultiSignature as Verify>::Signer as IdentifyAccount>::AccountId, Instance1, 1, 2>
found
.§type ChallengePeriod = ChallengePeriod
type ChallengePeriod = ChallengePeriod
§type MaxPayouts = MaxPayouts
type MaxPayouts = MaxPayouts
§type WeightInfo = SubstrateWeight<Runtime>
type WeightInfo = SubstrateWeight<Runtime>
source§impl Config for Runtime
impl Config for Runtime
§type MaxAuthorities = MaxAuthorities
type MaxAuthorities = MaxAuthorities
§type MaxExternalAddressSize = ConstU32<128>
type MaxExternalAddressSize = ConstU32<128>
§type MaxExternalAddressesPerMixnode = ConstU32<16>
type MaxExternalAddressesPerMixnode = ConstU32<16>
§type NextSessionRotation = Pallet<Runtime>
type NextSessionRotation = Pallet<Runtime>
§type NumCoverToCurrentBlocks = MixnetNumCoverToCurrentBlocks
type NumCoverToCurrentBlocks = MixnetNumCoverToCurrentBlocks
CoverToCurrent
), in blocks.§type NumRequestsToCurrentBlocks = MixnetNumRequestsToCurrentBlocks
type NumRequestsToCurrentBlocks = MixnetNumRequestsToCurrentBlocks
RequestsToCurrent
), in blocks.§type NumCoverToPrevBlocks = MixnetNumCoverToPrevBlocks
type NumCoverToPrevBlocks = MixnetNumCoverToPrevBlocks
CoverToPrev
), in blocks.§type NumRegisterStartSlackBlocks = MixnetNumRegisterStartSlackBlocks
type NumRegisterStartSlackBlocks = MixnetNumRegisterStartSlackBlocks
maybe_register
will not attempt to post registration
transactions.§type NumRegisterEndSlackBlocks = MixnetNumRegisterEndSlackBlocks
type NumRegisterEndSlackBlocks = MixnetNumRegisterEndSlackBlocks
maybe_register
will try to register before this slack
period, but may post registration transactions during the slack period as a last
resort.§type RegistrationPriority = MixnetRegistrationPriority
type RegistrationPriority = MixnetRegistrationPriority
§type MinMixnodes = ConstU32<7>
type MinMixnodes = ConstU32<7>
source§impl Config for Runtime
impl Config for Runtime
§type CallFilter = Nothing
type CallFilter = Nothing
The safest default is to allow no calls at all.
Runtimes should whitelist dispatchables that are allowed to be called from contracts
and make sure they are stable. Dispatchables exposed to contracts are not allowed to
change because that would break already deployed contracts. The Call
structure itself
is not allowed to change the indices of existing pallets, too.
§type Time = Pallet<Runtime>
type Time = Pallet<Runtime>
seal_now
.§type Randomness = Pallet<Runtime>
type Randomness = Pallet<Runtime>
seal_random
. Read more§type RuntimeEvent = RuntimeEvent
type RuntimeEvent = RuntimeEvent
§type RuntimeCall = RuntimeCall
type RuntimeCall = RuntimeCall
§type DepositPerItem = DepositPerItem
type DepositPerItem = DepositPerItem
§type DepositPerByte = DepositPerByte
type DepositPerByte = DepositPerByte
§type DefaultDepositLimit = DefaultDepositLimit
type DefaultDepositLimit = DefaultDepositLimit
§type CallStack = [Frame<Runtime>; 5]
type CallStack = [Frame<Runtime>; 5]
§type WeightPrice = Pallet<Runtime>
type WeightPrice = Pallet<Runtime>
§type WeightInfo = SubstrateWeight<Runtime>
type WeightInfo = SubstrateWeight<Runtime>
§type ChainExtension = ()
type ChainExtension = ()
§type AddressGenerator = DefaultAddressGenerator
type AddressGenerator = DefaultAddressGenerator
§type MaxCodeLen = ConstU32<{ 123 * 1024 }>
type MaxCodeLen = ConstU32<{ 123 * 1024 }>
§type MaxStorageKeyLen = ConstU32<128>
type MaxStorageKeyLen = ConstU32<128>
§type UnsafeUnstableInterface = ConstBool<false>
type UnsafeUnstableInterface = ConstBool<false>
#[unstable]
available. Read more§type UploadOrigin = EnsureSigned<<Runtime as Config>::AccountId>
type UploadOrigin = EnsureSigned<<Runtime as Config>::AccountId>
§type InstantiateOrigin = EnsureSigned<<Runtime as Config>::AccountId>
type InstantiateOrigin = EnsureSigned<<Runtime as Config>::AccountId>
§type MaxDebugBufferLen = ConstU32<{ 2 * 1024 * 1024 }>
type MaxDebugBufferLen = ConstU32<{ 2 * 1024 * 1024 }>
§type MaxTransientStorageSize = ConstU32<{ 1 * 1024 * 1024 }>
type MaxTransientStorageSize = ConstU32<{ 1 * 1024 * 1024 }>
§type RuntimeHoldReason = RuntimeHoldReason
type RuntimeHoldReason = RuntimeHoldReason
§type Migrations = (NoopMigration<15>, NoopMigration<16>)
type Migrations = (NoopMigration<15>, NoopMigration<16>)
§type MaxDelegateDependencies = ConstU32<32>
type MaxDelegateDependencies = ConstU32<32>
chain_extension::Ext::lock_delegate_dependency
.§type CodeHashLockupDepositPercent = CodeHashLockupDepositPercent
type CodeHashLockupDepositPercent = CodeHashLockupDepositPercent
chain_extension::Ext::lock_delegate_dependency
protects the code from being removed. In order to prevent abuse these actions are
protected with a percentage of the code deposit.§type Environment = ()
type Environment = ()
§type ApiVersion = ()
type ApiVersion = ()
source§impl Config for Runtime
impl Config for Runtime
§type MessageProcessor = NoopMessageProcessor<u32>
type MessageProcessor = NoopMessageProcessor<u32>
NOTE: Always set this to NoopMessageProcessor
for benchmarking.
§type RuntimeEvent = RuntimeEvent
type RuntimeEvent = RuntimeEvent
§type WeightInfo = ()
type WeightInfo = ()
§type QueueChangeHandler = ()
type QueueChangeHandler = ()
§type QueuePausedQuery = ()
type QueuePausedQuery = ()
§type HeapSize = ConstU32<{ 64 * 1024 }>
type HeapSize = ConstU32<{ 64 * 1024 }>
§type MaxStale = ConstU32<128>
type MaxStale = ConstU32<128>
§type ServiceWeight = MessageQueueServiceWeight
type ServiceWeight = MessageQueueServiceWeight
on_initialize
. Read more§type IdleMaxServiceWeight = ()
type IdleMaxServiceWeight = ()
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
§type RuntimeEvent = RuntimeEvent
type RuntimeEvent = RuntimeEvent
§type ControlOrigin = EnsureRoot<<<MultiSignature as Verify>::Signer as IdentifyAccount>::AccountId>
type ControlOrigin = EnsureRoot<<<MultiSignature as Verify>::Signer as IdentifyAccount>::AccountId>
§type RuntimeHoldReason = RuntimeHoldReason
type RuntimeHoldReason = RuntimeHoldReason
§type MaxKeyLen = MigrationMaxKeyLen
type MaxKeyLen = MigrationMaxKeyLen
§type SignedDepositPerItem = MigrationSignedDepositPerItem
type SignedDepositPerItem = MigrationSignedDepositPerItem
§type SignedDepositBase = MigrationSignedDepositBase
type SignedDepositBase = MigrationSignedDepositBase
Config::SignedDepositPerItem
. Read more§type SignedFilter = EnsureSigned<<Runtime as Config>::AccountId>
type SignedFilter = EnsureSigned<<Runtime as Config>::AccountId>
§type WeightInfo = ()
type WeightInfo = ()
source§impl Config for Runtime
impl Config for Runtime
§type RuntimeEvent = RuntimeEvent
type RuntimeEvent = RuntimeEvent
§type HigherPrecisionBalance = U256
type HigherPrecisionBalance = U256
Balance
type to avoid possible overflows.§type AssetKind = NativeOrWithId<u32>
type AssetKind = NativeOrWithId<u32>
Config::Assets
, utilized to offer liquidity to a
pool.§type Assets = UnionOf<Pallet<Runtime>, Pallet<Runtime, Instance1>, NativeFromLeft, NativeOrWithId<u32>, <<MultiSignature as Verify>::Signer as IdentifyAccount>::AccountId>
type Assets = UnionOf<Pallet<Runtime>, Pallet<Runtime, Instance1>, NativeFromLeft, NativeOrWithId<u32>, <<MultiSignature as Verify>::Signer as IdentifyAccount>::AccountId>
§type PoolId = (<Runtime as Config>::AssetKind, <Runtime as Config>::AssetKind)
type PoolId = (<Runtime as Config>::AssetKind, <Runtime as Config>::AssetKind)
§type PoolLocator = Chain<WithFirstAsset<Native, <<MultiSignature as Verify>::Signer as IdentifyAccount>::AccountId, NativeOrWithId<u32>, AccountIdConverter<AssetConversionPalletId, <Runtime as Config>::PoolId>>, Ascending<<<MultiSignature as Verify>::Signer as IdentifyAccount>::AccountId, NativeOrWithId<u32>, AccountIdConverter<AssetConversionPalletId, <Runtime as Config>::PoolId>>>
type PoolLocator = Chain<WithFirstAsset<Native, <<MultiSignature as Verify>::Signer as IdentifyAccount>::AccountId, NativeOrWithId<u32>, AccountIdConverter<AssetConversionPalletId, <Runtime as Config>::PoolId>>, Ascending<<<MultiSignature as Verify>::Signer as IdentifyAccount>::AccountId, NativeOrWithId<u32>, AccountIdConverter<AssetConversionPalletId, <Runtime as Config>::PoolId>>>
Config::PoolId
and it’s AccountId
from a pair
of Config::AssetKind
s. Read more§type PoolAssetId = <Runtime as Config<Instance2>>::AssetId
type PoolAssetId = <Runtime as Config<Instance2>>::AssetId
Self::PoolAssets
.§type PoolAssets = Pallet<Runtime, Instance2>
type PoolAssets = Pallet<Runtime, Instance2>
§type PoolSetupFee = PoolSetupFee
type PoolSetupFee = PoolSetupFee
§type PoolSetupFeeAsset = Native
type PoolSetupFeeAsset = Native
Config::Assets
used to pay the Config::PoolSetupFee
.§type PoolSetupFeeTarget = ResolveAssetTo<AssetConversionOrigin, <Runtime as Config>::Assets>
type PoolSetupFeeTarget = ResolveAssetTo<AssetConversionOrigin, <Runtime as Config>::Assets>
Config::PoolSetupFee
.§type PalletId = AssetConversionPalletId
type PalletId = AssetConversionPalletId
§type LPFee = ConstU32<3>
type LPFee = ConstU32<3>
§type LiquidityWithdrawalFee = LiquidityWithdrawalFee
type LiquidityWithdrawalFee = LiquidityWithdrawalFee
§type WeightInfo = SubstrateWeight<Runtime>
type WeightInfo = SubstrateWeight<Runtime>
§type MaxSwapPathLength = ConstU32<4>
type MaxSwapPathLength = ConstU32<4>
§type MintMinLiquidity = MintMinLiquidity
type MintMinLiquidity = MintMinLiquidity
§type BenchmarkHelper = ()
type BenchmarkHelper = ()
source§impl Config for Runtime
impl Config for Runtime
§type RuntimeEvent = RuntimeEvent
type RuntimeEvent = RuntimeEvent
source§impl Config for Runtime
impl Config for Runtime
§type RuntimeEvent = RuntimeEvent
type RuntimeEvent = RuntimeEvent
§type BlockNumberToBalance = ConvertInto
type BlockNumberToBalance = ConvertInto
§type MinVestedTransfer = MinVestedTransfer
type MinVestedTransfer = MinVestedTransfer
vested_transfer
.§type WeightInfo = SubstrateWeight<Runtime>
type WeightInfo = SubstrateWeight<Runtime>
§type UnvestedFundsAllowedWithdrawReasons = UnvestedFundsAllowedWithdrawReasons
type UnvestedFundsAllowedWithdrawReasons = UnvestedFundsAllowedWithdrawReasons
§type BlockNumberProvider = Pallet<Runtime>
type BlockNumberProvider = Pallet<Runtime>
source§const MAX_VESTING_SCHEDULES: u32 = 28u32
const MAX_VESTING_SCHEDULES: u32 = 28u32
source§impl Config for Runtime
impl Config for Runtime
§type RuntimeEvent = RuntimeEvent
type RuntimeEvent = RuntimeEvent
§type PriorAccountIdConverter = AccountIdConverterNoSeed<(NativeOrWithId<u32>, NativeOrWithId<u32>)>
type PriorAccountIdConverter = AccountIdConverterNoSeed<(NativeOrWithId<u32>, NativeOrWithId<u32>)>
§type AssetsRefund = <Runtime as Config>::Assets
type AssetsRefund = <Runtime as Config>::Assets
pallet_asset_conversion::Config::Assets
registry and can initiate the refund.§type PoolAssetsRefund = <Runtime as Config>::PoolAssets
type PoolAssetsRefund = <Runtime as Config>::PoolAssets
pallet_asset_conversion::Config::PoolAssets
registry and can initiate the
refund.§type PoolAssetsTeam = <Runtime as Config>::PoolAssets
type PoolAssetsTeam = <Runtime as Config>::PoolAssets
pallet_asset_conversion::Config::PoolAssets
registry.§type DepositAsset = Pallet<Runtime>
type DepositAsset = Pallet<Runtime>
pallet_asset_conversion::Config::Assets
and
pallet_asset_conversion::Config::PoolAssets
registries.§type WeightInfo = SubstrateWeight<Runtime>
type WeightInfo = SubstrateWeight<Runtime>
source§impl Config for Runtime
impl Config for Runtime
§type RuntimeEvent = RuntimeEvent
type RuntimeEvent = RuntimeEvent
§type RuntimeHoldReason = RuntimeHoldReason
type RuntimeHoldReason = RuntimeHoldReason
§type WhitelistedCalls = SafeModeWhitelistedCalls
type WhitelistedCalls = SafeModeWhitelistedCalls
§type EnterDuration = EnterDuration
type EnterDuration = EnterDuration
Pallet::enter
.§type EnterDepositAmount = EnterDepositAmount
type EnterDepositAmount = EnterDepositAmount
Pallet::enter
. Read more§type ExtendDuration = ExtendDuration
type ExtendDuration = ExtendDuration
Pallet::extend
call. Read more§type ExtendDepositAmount = ExtendDepositAmount
type ExtendDepositAmount = ExtendDepositAmount
Pallet::extend
. Read more§type ForceEnterOrigin = EnsureRootWithSuccess<<<MultiSignature as Verify>::Signer as IdentifyAccount>::AccountId, ConstU32<9>>
type ForceEnterOrigin = EnsureRootWithSuccess<<<MultiSignature as Verify>::Signer as IdentifyAccount>::AccountId, ConstU32<9>>
Pallet::force_enter
. Read more§type ForceExtendOrigin = EnsureRootWithSuccess<<<MultiSignature as Verify>::Signer as IdentifyAccount>::AccountId, ConstU32<11>>
type ForceExtendOrigin = EnsureRootWithSuccess<<<MultiSignature as Verify>::Signer as IdentifyAccount>::AccountId, ConstU32<11>>
Pallet::force_extend
. Read more§type ForceExitOrigin = EnsureRoot<<<MultiSignature as Verify>::Signer as IdentifyAccount>::AccountId>
type ForceExitOrigin = EnsureRoot<<<MultiSignature as Verify>::Signer as IdentifyAccount>::AccountId>
Pallet::force_enter
.§type ForceDepositOrigin = EnsureRoot<<<MultiSignature as Verify>::Signer as IdentifyAccount>::AccountId>
type ForceDepositOrigin = EnsureRoot<<<MultiSignature as Verify>::Signer as IdentifyAccount>::AccountId>
§type ReleaseDelay = ReleaseDelay
type ReleaseDelay = ReleaseDelay
Pallet::force_release_deposit
is successfully called sooner. Read moretype WeightInfo = SubstrateWeight<Runtime>
source§impl Config for Runtime
impl Config for Runtime
§type MaxAuthorities = MaxAuthorities
type MaxAuthorities = MaxAuthorities
source§impl Config for Runtime
impl Config for Runtime
source§fn prepare_set_code_data() -> Vec<u8> ⓘ
fn prepare_set_code_data() -> Vec<u8> ⓘ
source§fn setup_set_code_requirements(_code: &Vec<u8>) -> Result<(), BenchmarkError>
fn setup_set_code_requirements(_code: &Vec<u8>) -> Result<(), BenchmarkError>
set_code
.source§fn verify_set_code()
fn verify_set_code()
source§impl Config for Runtime
impl Config for Runtime
§type RuntimeHoldReason = RuntimeHoldReason
type RuntimeHoldReason = RuntimeHoldReason
§type RuntimeFreezeReason = RuntimeFreezeReason
type RuntimeFreezeReason = RuntimeFreezeReason
§type MaxLocks = MaxLocks
type MaxLocks = MaxLocks
§type MaxReserves = MaxReserves
type MaxReserves = MaxReserves
§type ReserveIdentifier = [u8; 8]
type ReserveIdentifier = [u8; 8]
§type DustRemoval = ()
type DustRemoval = ()
§type RuntimeEvent = RuntimeEvent
type RuntimeEvent = RuntimeEvent
§type ExistentialDeposit = ExistentialDeposit
type ExistentialDeposit = ExistentialDeposit
§type AccountStore = Pallet<Runtime>
type AccountStore = Pallet<Runtime>
§type WeightInfo = SubstrateWeight<Runtime>
type WeightInfo = SubstrateWeight<Runtime>
§type FreezeIdentifier = RuntimeFreezeReason
type FreezeIdentifier = RuntimeFreezeReason
§type MaxFreezes = VariantCountOf<RuntimeFreezeReason>
type MaxFreezes = VariantCountOf<RuntimeFreezeReason>
§type DoneSlashHandler = ()
type DoneSlashHandler = ()
source§impl Config for Runtime
impl Config for Runtime
§type RuntimeEvent = RuntimeEvent
type RuntimeEvent = RuntimeEvent
§type RuntimeCall = RuntimeCall
type RuntimeCall = RuntimeCall
§type PauseOrigin = EnsureRoot<<<MultiSignature as Verify>::Signer as IdentifyAccount>::AccountId>
type PauseOrigin = EnsureRoot<<<MultiSignature as Verify>::Signer as IdentifyAccount>::AccountId>
§type UnpauseOrigin = EnsureRoot<<<MultiSignature as Verify>::Signer as IdentifyAccount>::AccountId>
type UnpauseOrigin = EnsureRoot<<<MultiSignature as Verify>::Signer as IdentifyAccount>::AccountId>
§type WhitelistedCalls = TxPauseWhitelistedCalls
type WhitelistedCalls = TxPauseWhitelistedCalls
§type MaxNameLen = ConstU32<256>
type MaxNameLen = ConstU32<256>
type WeightInfo = SubstrateWeight<Runtime>
source§impl Config for Runtime
impl Config for Runtime
§type RuntimeEvent = RuntimeEvent
type RuntimeEvent = RuntimeEvent
§type AdminOrigin = EnsureRoot<<<MultiSignature as Verify>::Signer as IdentifyAccount>::AccountId>
type AdminOrigin = EnsureRoot<<<MultiSignature as Verify>::Signer as IdentifyAccount>::AccountId>
§type WeightInfo = SubstrateWeight<Runtime>
type WeightInfo = SubstrateWeight<Runtime>
source§impl Config for Runtime
impl Config for Runtime
§type WeightInfo = ()
type WeightInfo = ()
§type RuntimeEvent = RuntimeEvent
type RuntimeEvent = RuntimeEvent
§type ParamsOrigin = EnsureRoot<<<MultiSignature as Verify>::Signer as IdentifyAccount>::AccountId>
type ParamsOrigin = EnsureRoot<<<MultiSignature as Verify>::Signer as IdentifyAccount>::AccountId>
§type InductOrigin = EnsureInducted<Runtime, (), 1>
type InductOrigin = EnsureInducted<Runtime, (), 1>
§type ApproveOrigin = EnsureRootWithSuccess<<<MultiSignature as Verify>::Signer as IdentifyAccount>::AccountId, ConstU16<9>>
type ApproveOrigin = EnsureRootWithSuccess<<<MultiSignature as Verify>::Signer as IdentifyAccount>::AccountId, ConstU16<9>>
Success
value is the maximum rank of members it is able to prove.§type PromoteOrigin = EnsureRootWithSuccess<<<MultiSignature as Verify>::Signer as IdentifyAccount>::AccountId, ConstU16<9>>
type PromoteOrigin = EnsureRootWithSuccess<<<MultiSignature as Verify>::Signer as IdentifyAccount>::AccountId, ConstU16<9>>
Success
value is the maximum
rank to which it can promote.§type FastPromoteOrigin = <Runtime as Config>::PromoteOrigin
type FastPromoteOrigin = <Runtime as Config>::PromoteOrigin
Success
value is the maximum rank to which it can promote.§type EvidenceSize = ConstU32<16384>
type EvidenceSize = ConstU32<16384>
source§impl Config for Runtime
impl Config for Runtime
§type RuntimeEvent = RuntimeEvent
type RuntimeEvent = RuntimeEvent
§type CollectionId = u32
type CollectionId = u32
§type ForceOrigin = EnsureRoot<<<MultiSignature as Verify>::Signer as IdentifyAccount>::AccountId>
type ForceOrigin = EnsureRoot<<<MultiSignature as Verify>::Signer as IdentifyAccount>::AccountId>
§type CollectionDeposit = CollectionDeposit
type CollectionDeposit = CollectionDeposit
§type ItemDeposit = ItemDeposit
type ItemDeposit = ItemDeposit
§type MetadataDepositBase = MetadataDepositBase
type MetadataDepositBase = MetadataDepositBase
§type AttributeDepositBase = MetadataDepositBase
type AttributeDepositBase = MetadataDepositBase
§type DepositPerByte = MetadataDepositPerByte
type DepositPerByte = MetadataDepositPerByte
§type StringLimit = ConstU32<128>
type StringLimit = ConstU32<128>
§type ValueLimit = ConstU32<64>
type ValueLimit = ConstU32<64>
§type WeightInfo = SubstrateWeight<Runtime>
type WeightInfo = SubstrateWeight<Runtime>
§type CreateOrigin = AsEnsureOriginWithArg<EnsureSigned<<<MultiSignature as Verify>::Signer as IdentifyAccount>::AccountId>>
type CreateOrigin = AsEnsureOriginWithArg<EnsureSigned<<<MultiSignature as Verify>::Signer as IdentifyAccount>::AccountId>>
source§impl Config for Runtime
impl Config for Runtime
§type PalletId = TreasuryPalletId
type PalletId = TreasuryPalletId
§type RejectOrigin = EitherOfDiverse<EnsureRoot<<<MultiSignature as Verify>::Signer as IdentifyAccount>::AccountId>, EnsureProportionMoreThan<<<MultiSignature as Verify>::Signer as IdentifyAccount>::AccountId, Instance1, 1, 2>>
type RejectOrigin = EitherOfDiverse<EnsureRoot<<<MultiSignature as Verify>::Signer as IdentifyAccount>::AccountId>, EnsureProportionMoreThan<<<MultiSignature as Verify>::Signer as IdentifyAccount>::AccountId, Instance1, 1, 2>>
§type RuntimeEvent = RuntimeEvent
type RuntimeEvent = RuntimeEvent
§type SpendPeriod = SpendPeriod
type SpendPeriod = SpendPeriod
§type BurnDestination = ()
type BurnDestination = ()
§type SpendFunds = Pallet<Runtime>
type SpendFunds = Pallet<Runtime>
§type WeightInfo = SubstrateWeight<Runtime>
type WeightInfo = SubstrateWeight<Runtime>
§type MaxApprovals = MaxApprovals
type MaxApprovals = MaxApprovals
§type SpendOrigin = EnsureWithSuccess<EnsureRoot<<<MultiSignature as Verify>::Signer as IdentifyAccount>::AccountId>, <<MultiSignature as Verify>::Signer as IdentifyAccount>::AccountId, MaxBalance>
type SpendOrigin = EnsureWithSuccess<EnsureRoot<<<MultiSignature as Verify>::Signer as IdentifyAccount>::AccountId>, <<MultiSignature as Verify>::Signer as IdentifyAccount>::AccountId, MaxBalance>
Success
value is the maximum amount in a native asset that this origin
is allowed to spend at a time.§type Beneficiary = <<MultiSignature as Verify>::Signer as IdentifyAccount>::AccountId
type Beneficiary = <<MultiSignature as Verify>::Signer as IdentifyAccount>::AccountId
§type BeneficiaryLookup = Pallet<Runtime>
type BeneficiaryLookup = Pallet<Runtime>
Self::Beneficiary
.§type Paymaster = PayAssetFromAccount<Pallet<Runtime, Instance1>, TreasuryAccount>
type Paymaster = PayAssetFromAccount<Pallet<Runtime, Instance1>, TreasuryAccount>
Self::Beneficiary
.§type BalanceConverter = Pallet<Runtime>
type BalanceConverter = Pallet<Runtime>
Self::SpendOrigin
.§type PayoutPeriod = SpendPayoutPeriod
type PayoutPeriod = SpendPayoutPeriod
§type BenchmarkHelper = ()
type BenchmarkHelper = ()
source§impl Config for Runtime
impl Config for Runtime
type RuntimeEvent = RuntimeEvent
§type OnRevenue = IntoAuthor
type OnRevenue = IntoAuthor
§type TimeslicePeriod = ConstU32<2>
type TimeslicePeriod = ConstU32<2>
§type MaxLeasedCores = ConstU32<5>
type MaxLeasedCores = ConstU32<5>
§type MaxReservedCores = ConstU32<5>
type MaxReservedCores = ConstU32<5>
§type Coretime = CoretimeProvider
type Coretime = CoretimeProvider
§type ConvertBalance = Identity
type ConvertBalance = Identity
Identity
, but provided just in case the chains use different representations.§type WeightInfo = ()
type WeightInfo = ()
§type PalletId = BrokerPalletId
type PalletId = BrokerPalletId
§type AdminOrigin = EnsureRoot<<<MultiSignature as Verify>::Signer as IdentifyAccount>::AccountId>
type AdminOrigin = EnsureRoot<<<MultiSignature as Verify>::Signer as IdentifyAccount>::AccountId>
§type SovereignAccountOf = SovereignAccountOf
type SovereignAccountOf = SovereignAccountOf
type MaxAutoRenewals = ConstU32<10>
§type PriceAdapter = CenterTargetPrice<u128>
type PriceAdapter = CenterTargetPrice<u128>
source§impl Config for Runtime
impl Config for Runtime
§type RuntimeEvent = RuntimeEvent
type RuntimeEvent = RuntimeEvent
§type CollectionId = u32
type CollectionId = u32
§type ForceOrigin = EnsureRoot<<<MultiSignature as Verify>::Signer as IdentifyAccount>::AccountId>
type ForceOrigin = EnsureRoot<<<MultiSignature as Verify>::Signer as IdentifyAccount>::AccountId>
§type CollectionDeposit = CollectionDeposit
type CollectionDeposit = CollectionDeposit
§type ItemDeposit = ItemDeposit
type ItemDeposit = ItemDeposit
§type MetadataDepositBase = MetadataDepositBase
type MetadataDepositBase = MetadataDepositBase
§type AttributeDepositBase = MetadataDepositBase
type AttributeDepositBase = MetadataDepositBase
§type DepositPerByte = MetadataDepositPerByte
type DepositPerByte = MetadataDepositPerByte
§type StringLimit = ConstU32<256>
type StringLimit = ConstU32<256>
§type ValueLimit = ConstU32<256>
type ValueLimit = ConstU32<256>
§type ApprovalsLimit = ApprovalsLimit
type ApprovalsLimit = ApprovalsLimit
§type ItemAttributesApprovalsLimit = ItemAttributesApprovalsLimit
type ItemAttributesApprovalsLimit = ItemAttributesApprovalsLimit
§type MaxDeadlineDuration = MaxDeadlineDuration
type MaxDeadlineDuration = MaxDeadlineDuration
§type MaxAttributesPerCall = MaxAttributesPerCall
type MaxAttributesPerCall = MaxAttributesPerCall
§type OffchainSignature = MultiSignature
type OffchainSignature = MultiSignature
§type OffchainPublic = <MultiSignature as Verify>::Signer
type OffchainPublic = <MultiSignature as Verify>::Signer
§type WeightInfo = SubstrateWeight<Runtime>
type WeightInfo = SubstrateWeight<Runtime>
§type CreateOrigin = AsEnsureOriginWithArg<EnsureSigned<<<MultiSignature as Verify>::Signer as IdentifyAccount>::AccountId>>
type CreateOrigin = AsEnsureOriginWithArg<EnsureSigned<<<MultiSignature as Verify>::Signer as IdentifyAccount>::AccountId>>
source§impl Config for Runtime
impl Config for Runtime
§type RuntimeEvent = RuntimeEvent
type RuntimeEvent = RuntimeEvent
§type RuntimeCall = RuntimeCall
type RuntimeCall = RuntimeCall
§type ProxyType = ProxyType
type ProxyType = ProxyType
IsProxyable
filter.
The instance filter determines whether a given call may be proxied under this type. Read more§type ProxyDepositBase = ProxyDepositBase
type ProxyDepositBase = ProxyDepositBase
§type ProxyDepositFactor = ProxyDepositFactor
type ProxyDepositFactor = ProxyDepositFactor
§type MaxProxies = ConstU32<32>
type MaxProxies = ConstU32<32>
§type WeightInfo = SubstrateWeight<Runtime>
type WeightInfo = SubstrateWeight<Runtime>
§type MaxPending = ConstU32<32>
type MaxPending = ConstU32<32>
§type CallHasher = BlakeTwo256
type CallHasher = BlakeTwo256
§type AnnouncementDepositBase = AnnouncementDepositBase
type AnnouncementDepositBase = AnnouncementDepositBase
§type AnnouncementDepositFactor = AnnouncementDepositFactor
type AnnouncementDepositFactor = AnnouncementDepositFactor
source§impl Config for Runtime
impl Config for Runtime
§type WeightInfo = ()
type WeightInfo = ()
§type RuntimeEvent = RuntimeEvent
type RuntimeEvent = RuntimeEvent
§type Paymaster = PayFromAccount<Pallet<Runtime>, TreasuryAccount>
type Paymaster = PayFromAccount<Pallet<Runtime>, TreasuryAccount>
§type Salary = SalaryForRank
type Salary = SalaryForRank
§type RegistrationPeriod = ConstU32<200>
type RegistrationPeriod = ConstU32<200>
§type PayoutPeriod = ConstU32<200>
type PayoutPeriod = ConstU32<200>
source§impl Config for Runtime
impl Config for Runtime
§type Time = Pallet<Runtime>
type Time = Pallet<Runtime>
seal_now
.§type RuntimeEvent = RuntimeEvent
type RuntimeEvent = RuntimeEvent
§type RuntimeCall = RuntimeCall
type RuntimeCall = RuntimeCall
§type CallFilter = Nothing
type CallFilter = Nothing
§type DepositPerItem = DepositPerItem
type DepositPerItem = DepositPerItem
§type DepositPerByte = DepositPerByte
type DepositPerByte = DepositPerByte
§type WeightPrice = Pallet<Runtime>
type WeightPrice = Pallet<Runtime>
§type WeightInfo = SubstrateWeight<Runtime>
type WeightInfo = SubstrateWeight<Runtime>
§type ChainExtension = ()
type ChainExtension = ()
§type AddressMapper = AccountId32Mapper<Runtime>
type AddressMapper = AccountId32Mapper<Runtime>
address::AccountId32Mapper
or [address::H160Mapper
].§type RuntimeMemory = ConstU32<{ 128 * 1024 * 1024 }>
type RuntimeMemory = ConstU32<{ 128 * 1024 * 1024 }>
§type PVFMemory = ConstU32<{ 512 * 1024 * 1024 }>
type PVFMemory = ConstU32<{ 512 * 1024 * 1024 }>
§type UnsafeUnstableInterface = ConstBool<false>
type UnsafeUnstableInterface = ConstBool<false>
#[unstable]
available. Read more§type UploadOrigin = EnsureSigned<<Runtime as Config>::AccountId>
type UploadOrigin = EnsureSigned<<Runtime as Config>::AccountId>
§type InstantiateOrigin = EnsureSigned<<Runtime as Config>::AccountId>
type InstantiateOrigin = EnsureSigned<<Runtime as Config>::AccountId>
§type RuntimeHoldReason = RuntimeHoldReason
type RuntimeHoldReason = RuntimeHoldReason
§type CodeHashLockupDepositPercent = CodeHashLockupDepositPercent
type CodeHashLockupDepositPercent = CodeHashLockupDepositPercent
chain_extension::Ext::lock_delegate_dependency
protects the code from being removed. In order to prevent abuse these actions are
protected with a percentage of the code deposit.§type Debug = ()
type Debug = ()
()
implementation of this
trait. This implementation offers additional logging when the log target
“runtime::revive” is set to trace.source§impl Config for Runtime
impl Config for Runtime
§type ExternalOrigin = EnsureProportionAtLeast<<<MultiSignature as Verify>::Signer as IdentifyAccount>::AccountId, Instance1, 1, 2>
type ExternalOrigin = EnsureProportionAtLeast<<<MultiSignature as Verify>::Signer as IdentifyAccount>::AccountId, Instance1, 1, 2>
A straight majority of the council can decide what their next motion is.
§type ExternalMajorityOrigin = EnsureProportionAtLeast<<<MultiSignature as Verify>::Signer as IdentifyAccount>::AccountId, Instance1, 3, 4>
type ExternalMajorityOrigin = EnsureProportionAtLeast<<<MultiSignature as Verify>::Signer as IdentifyAccount>::AccountId, Instance1, 3, 4>
A super-majority can have the next scheduled referendum be a straight majority-carries vote.
§type ExternalDefaultOrigin = EnsureProportionAtLeast<<<MultiSignature as Verify>::Signer as IdentifyAccount>::AccountId, Instance1, 1, 1>
type ExternalDefaultOrigin = EnsureProportionAtLeast<<<MultiSignature as Verify>::Signer as IdentifyAccount>::AccountId, Instance1, 1, 1>
A unanimous council can have the next scheduled referendum be a straight default-carries (NTB) vote.
§type FastTrackOrigin = EnsureProportionAtLeast<<<MultiSignature as Verify>::Signer as IdentifyAccount>::AccountId, Instance2, 2, 3>
type FastTrackOrigin = EnsureProportionAtLeast<<<MultiSignature as Verify>::Signer as IdentifyAccount>::AccountId, Instance2, 2, 3>
Two thirds of the technical committee can have an ExternalMajority/ExternalDefault vote be tabled immediately and with a shorter voting/enactment period.
type RuntimeEvent = RuntimeEvent
§type EnactmentPeriod = EnactmentPeriod
type EnactmentPeriod = EnactmentPeriod
§type LaunchPeriod = LaunchPeriod
type LaunchPeriod = LaunchPeriod
§type VotingPeriod = VotingPeriod
type VotingPeriod = VotingPeriod
§type VoteLockingPeriod = EnactmentPeriod
type VoteLockingPeriod = EnactmentPeriod
§type MinimumDeposit = MinimumDeposit
type MinimumDeposit = MinimumDeposit
§type SubmitOrigin = EnsureSigned<<<MultiSignature as Verify>::Signer as IdentifyAccount>::AccountId>
type SubmitOrigin = EnsureSigned<<<MultiSignature as Verify>::Signer as IdentifyAccount>::AccountId>
§type InstantOrigin = EnsureProportionAtLeast<<<MultiSignature as Verify>::Signer as IdentifyAccount>::AccountId, Instance2, 1, 1>
type InstantOrigin = EnsureProportionAtLeast<<<MultiSignature as Verify>::Signer as IdentifyAccount>::AccountId, Instance2, 1, 1>
§type InstantAllowed = ConstBool<true>
type InstantAllowed = ConstBool<true>
false
, others may want to condition it on things such
as an upgrade having happened recently.§type FastTrackVotingPeriod = FastTrackVotingPeriod
type FastTrackVotingPeriod = FastTrackVotingPeriod
§type CancellationOrigin = EnsureProportionAtLeast<<<MultiSignature as Verify>::Signer as IdentifyAccount>::AccountId, Instance1, 2, 3>
type CancellationOrigin = EnsureProportionAtLeast<<<MultiSignature as Verify>::Signer as IdentifyAccount>::AccountId, Instance1, 2, 3>
§type CancelProposalOrigin = EitherOfDiverse<EnsureRoot<<<MultiSignature as Verify>::Signer as IdentifyAccount>::AccountId>, EnsureProportionAtLeast<<<MultiSignature as Verify>::Signer as IdentifyAccount>::AccountId, Instance2, 1, 1>>
type CancelProposalOrigin = EitherOfDiverse<EnsureRoot<<<MultiSignature as Verify>::Signer as IdentifyAccount>::AccountId>, EnsureProportionAtLeast<<<MultiSignature as Verify>::Signer as IdentifyAccount>::AccountId, Instance2, 1, 1>>
§type BlacklistOrigin = EnsureRoot<<<MultiSignature as Verify>::Signer as IdentifyAccount>::AccountId>
type BlacklistOrigin = EnsureRoot<<<MultiSignature as Verify>::Signer as IdentifyAccount>::AccountId>
§type VetoOrigin = EnsureMember<<<MultiSignature as Verify>::Signer as IdentifyAccount>::AccountId, Instance2>
type VetoOrigin = EnsureMember<<<MultiSignature as Verify>::Signer as IdentifyAccount>::AccountId, Instance2>
§type CooloffPeriod = CooloffPeriod
type CooloffPeriod = CooloffPeriod
§type PalletsOrigin = OriginCaller
type PalletsOrigin = OriginCaller
type WeightInfo = SubstrateWeight<Runtime>
§type MaxProposals = MaxProposals
type MaxProposals = MaxProposals
§type MaxDeposits = ConstU32<100>
type MaxDeposits = ConstU32<100>
§type MaxBlacklisted = ConstU32<100>
type MaxBlacklisted = ConstU32<100>
source§impl Config for Runtime
impl Config for Runtime
§type RuntimeEvent = RuntimeEvent
type RuntimeEvent = RuntimeEvent
§type WeightInfo = ()
type WeightInfo = ()
§type MaxAuthorities = MaxAuthorities
type MaxAuthorities = MaxAuthorities
§type MaxNominators = MaxNominators
type MaxNominators = MaxNominators
§type MaxSetIdSessionEntries = MaxSetIdSessionEntries
type MaxSetIdSessionEntries = MaxSetIdSessionEntries
§type KeyOwnerProof = MembershipProof
type KeyOwnerProof = MembershipProof
§type EquivocationReportSystem = EquivocationReportSystem<Runtime, Pallet<Runtime>, Pallet<Runtime>, ReportLongevity>
type EquivocationReportSystem = EquivocationReportSystem<Runtime, Pallet<Runtime>, Pallet<Runtime>, ReportLongevity>
source§impl Config for Runtime
impl Config for Runtime
§type WeightInfo = SubstrateWeight<Runtime>
type WeightInfo = SubstrateWeight<Runtime>
§type RuntimeEvent = RuntimeEvent
type RuntimeEvent = RuntimeEvent
§type CurrencyBalance = u128
type CurrencyBalance = u128
§type FundOrigin = EnsureSigned<<<MultiSignature as Verify>::Signer as IdentifyAccount>::AccountId>
type FundOrigin = EnsureSigned<<<MultiSignature as Verify>::Signer as IdentifyAccount>::AccountId>
§type Counterpart = ItemOf<Pallet<Runtime, Instance1>, ConstU32<9>, <<MultiSignature as Verify>::Signer as IdentifyAccount>::AccountId>
type Counterpart = ItemOf<Pallet<Runtime, Instance1>, ConstU32<9>, <<MultiSignature as Verify>::Signer as IdentifyAccount>::AccountId>
§type CounterpartAmount = WithMaximumOf<ConstU128<21000000000000000000>>
type CounterpartAmount = WithMaximumOf<ConstU128<21000000000000000000>>
§type Deficit = ()
type Deficit = ()
§type IgnoredIssuance = ()
type IgnoredIssuance = ()
Currency
’s total_issuance
to get
the issuance with which we determine the thawed value of a given proportion.§type PalletId = NisPalletId
type PalletId = NisPalletId
§type QueueCount = QueueCount
type QueueCount = QueueCount
Period
.§type MaxQueueLen = MaxQueueLen
type MaxQueueLen = MaxQueueLen
§type FifoQueueLen = FifoQueueLen
type FifoQueueLen = FifoQueueLen
§type BasePeriod = NisBasePeriod
type BasePeriod = NisBasePeriod
§type MinBid = MinBid
type MinBid = MinBid
§type MinReceipt = MinReceipt
type MinReceipt = MinReceipt
§type IntakePeriod = IntakePeriod
type IntakePeriod = IntakePeriod
§type MaxIntakeWeight = MaxIntakeWeight
type MaxIntakeWeight = MaxIntakeWeight
§type ThawThrottle = ThawThrottle
type ThawThrottle = ThawThrottle
§type RuntimeHoldReason = RuntimeHoldReason
type RuntimeHoldReason = RuntimeHoldReason
§type BenchmarkSetup = SetupAsset
type BenchmarkSetup = SetupAsset
source§impl Config for Runtime
impl Config for Runtime
§type RuntimeEvent = RuntimeEvent
type RuntimeEvent = RuntimeEvent
§type BasicDeposit = BasicDeposit
type BasicDeposit = BasicDeposit
§type ByteDeposit = ByteDeposit
type ByteDeposit = ByteDeposit
§type UsernameDeposit = UsernameDeposit
type UsernameDeposit = UsernameDeposit
§type SubAccountDeposit = SubAccountDeposit
type SubAccountDeposit = SubAccountDeposit
§type MaxSubAccounts = MaxSubAccounts
type MaxSubAccounts = MaxSubAccounts
§type IdentityInformation = IdentityInfo<MaxAdditionalFields>
type IdentityInformation = IdentityInfo<MaxAdditionalFields>
§type MaxRegistrars = MaxRegistrars
type MaxRegistrars = MaxRegistrars
§type ForceOrigin = EitherOfDiverse<EnsureRoot<<<MultiSignature as Verify>::Signer as IdentifyAccount>::AccountId>, EnsureProportionMoreThan<<<MultiSignature as Verify>::Signer as IdentifyAccount>::AccountId, Instance1, 1, 2>>
type ForceOrigin = EitherOfDiverse<EnsureRoot<<<MultiSignature as Verify>::Signer as IdentifyAccount>::AccountId>, EnsureProportionMoreThan<<<MultiSignature as Verify>::Signer as IdentifyAccount>::AccountId, Instance1, 1, 2>>
§type RegistrarOrigin = EitherOfDiverse<EnsureRoot<<<MultiSignature as Verify>::Signer as IdentifyAccount>::AccountId>, EnsureProportionMoreThan<<<MultiSignature as Verify>::Signer as IdentifyAccount>::AccountId, Instance1, 1, 2>>
type RegistrarOrigin = EitherOfDiverse<EnsureRoot<<<MultiSignature as Verify>::Signer as IdentifyAccount>::AccountId>, EnsureProportionMoreThan<<<MultiSignature as Verify>::Signer as IdentifyAccount>::AccountId, Instance1, 1, 2>>
§type OffchainSignature = MultiSignature
type OffchainSignature = MultiSignature
§type SigningPublicKey = <MultiSignature as Verify>::Signer
type SigningPublicKey = <MultiSignature as Verify>::Signer
Self::AccountId
.§type UsernameAuthorityOrigin = EnsureRoot<<Runtime as Config>::AccountId>
type UsernameAuthorityOrigin = EnsureRoot<<Runtime as Config>::AccountId>
§type PendingUsernameExpiration = ConstU32<{ 7 * DAYS }>
type PendingUsernameExpiration = ConstU32<{ 7 * DAYS }>
§type UsernameGracePeriod = ConstU32<{ 30 * DAYS }>
type UsernameGracePeriod = ConstU32<{ 30 * DAYS }>
§type MaxSuffixLength = ConstU32<7>
type MaxSuffixLength = ConstU32<7>
§type MaxUsernameLength = ConstU32<32>
type MaxUsernameLength = ConstU32<32>
§type WeightInfo = SubstrateWeight<Runtime>
type WeightInfo = SubstrateWeight<Runtime>
source§impl Config for Runtime
impl Config for Runtime
§type FullIdentification = Exposure<<<MultiSignature as Verify>::Signer as IdentifyAccount>::AccountId, u128>
type FullIdentification = Exposure<<<MultiSignature as Verify>::Signer as IdentifyAccount>::AccountId, u128>
§type FullIdentificationOf = ExposureOf<Runtime>
type FullIdentificationOf = ExposureOf<Runtime>
source§impl Config for Runtime
impl Config for Runtime
§type RuntimeEvent = RuntimeEvent
type RuntimeEvent = RuntimeEvent
§type WeightInfo = SubstrateWeight<Runtime>
type WeightInfo = SubstrateWeight<Runtime>
§type RuntimeCall = RuntimeCall
type RuntimeCall = RuntimeCall
§type ConfigDepositBase = ConfigDepositBase
type ConfigDepositBase = ConfigDepositBase
§type FriendDepositFactor = FriendDepositFactor
type FriendDepositFactor = FriendDepositFactor
§type MaxFriends = MaxFriends
type MaxFriends = MaxFriends
§type RecoveryDeposit = RecoveryDeposit
type RecoveryDeposit = RecoveryDeposit
source§impl Config for Runtime
impl Config for Runtime
§type RuntimeEvent = RuntimeEvent
type RuntimeEvent = RuntimeEvent
§type Migrations = MockedMigrations
type Migrations = MockedMigrations
§type CursorMaxLen = ConstU32<65536>
type CursorMaxLen = ConstU32<65536>
§type IdentifierMaxLen = ConstU32<256>
type IdentifierMaxLen = ConstU32<256>
§type MigrationStatusHandler = ()
type MigrationStatusHandler = ()
§type FailedMigrationHandler = FreezeChainOnFailedMigration
type FailedMigrationHandler = FreezeChainOnFailedMigration
§type MaxServiceWeight = MbmServiceWeight
type MaxServiceWeight = MbmServiceWeight
§type WeightInfo = SubstrateWeight<Runtime>
type WeightInfo = SubstrateWeight<Runtime>
source§impl Config for Runtime
impl Config for Runtime
§type RuntimeEvent = RuntimeEvent
type RuntimeEvent = RuntimeEvent
§type StatementCost = StatementCost
type StatementCost = StatementCost
§type ByteCost = StatementByteCost
type ByteCost = StatementByteCost
§type MinAllowedStatements = MinAllowedStatements
type MinAllowedStatements = MinAllowedStatements
§type MaxAllowedStatements = MaxAllowedStatements
type MaxAllowedStatements = MaxAllowedStatements
§type MinAllowedBytes = MinAllowedBytes
type MinAllowedBytes = MinAllowedBytes
§type MaxAllowedBytes = MaxAllowedBytes
type MaxAllowedBytes = MaxAllowedBytes
source§impl Config for Runtime
impl Config for Runtime
§type EpochDuration = EpochDuration
type EpochDuration = EpochDuration
§type ExpectedBlockTime = ExpectedBlockTime
type ExpectedBlockTime = ExpectedBlockTime
c
(where 1 - c
represents
the probability of a slot being empty).§type EpochChangeTrigger = ExternalTrigger
type EpochChangeTrigger = ExternalTrigger
§type DisabledValidators = Pallet<Runtime>
type DisabledValidators = Pallet<Runtime>
§type WeightInfo = ()
type WeightInfo = ()
§type MaxAuthorities = MaxAuthorities
type MaxAuthorities = MaxAuthorities
§type MaxNominators = MaxNominators
type MaxNominators = MaxNominators
§type KeyOwnerProof = MembershipProof
type KeyOwnerProof = MembershipProof
§type EquivocationReportSystem = EquivocationReportSystem<Runtime, Pallet<Runtime>, Pallet<Runtime>, ReportLongevity>
type EquivocationReportSystem = EquivocationReportSystem<Runtime, Pallet<Runtime>, Pallet<Runtime>, ReportLongevity>
source§impl Config for Runtime
impl Config for Runtime
§type PalletId = LotteryPalletId
type PalletId = LotteryPalletId
§type RuntimeCall = RuntimeCall
type RuntimeCall = RuntimeCall
§type Randomness = Pallet<Runtime>
type Randomness = Pallet<Runtime>
§type RuntimeEvent = RuntimeEvent
type RuntimeEvent = RuntimeEvent
§type ManagerOrigin = EnsureRoot<<<MultiSignature as Verify>::Signer as IdentifyAccount>::AccountId>
type ManagerOrigin = EnsureRoot<<<MultiSignature as Verify>::Signer as IdentifyAccount>::AccountId>
§type ValidateCall = Pallet<Runtime>
type ValidateCall = Pallet<Runtime>
§type MaxGenerateRandom = MaxGenerateRandom
type MaxGenerateRandom = MaxGenerateRandom
§type WeightInfo = SubstrateWeight<Runtime>
type WeightInfo = SubstrateWeight<Runtime>
source§impl Config for Runtime
impl Config for Runtime
§type WeightInfo = SubstrateWeight<Runtime>
type WeightInfo = SubstrateWeight<Runtime>
type RuntimeEvent = RuntimeEvent
§type VoteLockingPeriod = VoteLockingPeriod
type VoteLockingPeriod = VoteLockingPeriod
§type MaxTurnout = TotalIssuanceOf<Pallet<Runtime>, <Runtime as Config>::AccountId>
type MaxTurnout = TotalIssuanceOf<Pallet<Runtime>, <Runtime as Config>::AccountId>
Currency::total_issuance
, but you might want to reduce this in order to account for
funds in the system which are unable to vote (e.g. parachain auction deposits).source§impl Config for Runtime
impl Config for Runtime
type RuntimeTask = RuntimeTask
type WeightInfo = SubstrateWeight<Runtime>
source§impl Config for Runtime
impl Config for Runtime
§type AuthorityId = Public
type AuthorityId = Public
§type RuntimeEvent = RuntimeEvent
type RuntimeEvent = RuntimeEvent
§type NextSessionRotation = Pallet<Runtime>
type NextSessionRotation = Pallet<Runtime>
§type ValidatorSet = Pallet<Runtime>
type ValidatorSet = Pallet<Runtime>
§type ReportUnresponsiveness = Pallet<Runtime>
type ReportUnresponsiveness = Pallet<Runtime>
§type UnsignedPriority = ImOnlineUnsignedPriority
type UnsignedPriority = ImOnlineUnsignedPriority
§type WeightInfo = SubstrateWeight<Runtime>
type WeightInfo = SubstrateWeight<Runtime>
§type MaxPeerInHeartbeats = MaxPeerInHeartbeats
type MaxPeerInHeartbeats = MaxPeerInHeartbeats
ReceivedHeartbeats
source§impl Config for Runtime
impl Config for Runtime
§type RuntimeEvent = RuntimeEvent
type RuntimeEvent = RuntimeEvent
§type MaxActiveChildBountyCount = ConstU32<5>
type MaxActiveChildBountyCount = ConstU32<5>
§type ChildBountyValueMinimum = ChildBountyValueMinimum
type ChildBountyValueMinimum = ChildBountyValueMinimum
§type WeightInfo = SubstrateWeight<Runtime>
type WeightInfo = SubstrateWeight<Runtime>
source§impl Config for Runtime
impl Config for Runtime
§type LeafVersion = LeafVersion
type LeafVersion = LeafVersion
§type BeefyAuthorityToMerkleLeaf = BeefyEcdsaToEthereum
type BeefyAuthorityToMerkleLeaf = BeefyEcdsaToEthereum
§type BeefyDataProvider = ()
type BeefyDataProvider = ()
type WeightInfo = ()
source§impl Config for Runtime
impl Config for Runtime
§type RuntimeEvent = RuntimeEvent
type RuntimeEvent = RuntimeEvent
§type RuntimeCall = RuntimeCall
type RuntimeCall = RuntimeCall
§type PalletsOrigin = OriginCaller
type PalletsOrigin = OriginCaller
§type WeightInfo = SubstrateWeight<Runtime>
type WeightInfo = SubstrateWeight<Runtime>
source§impl Config for Runtime
impl Config for Runtime
§type WeightInfo = SubstrateWeight<Runtime>
type WeightInfo = SubstrateWeight<Runtime>
§type RuntimeEvent = RuntimeEvent
type RuntimeEvent = RuntimeEvent
§type ManagerOrigin = EnsureRoot<<<MultiSignature as Verify>::Signer as IdentifyAccount>::AccountId>
type ManagerOrigin = EnsureRoot<<<MultiSignature as Verify>::Signer as IdentifyAccount>::AccountId>
§type Consideration = HoldConsideration<<<MultiSignature as Verify>::Signer as IdentifyAccount>::AccountId, Pallet<Runtime>, PreimageHoldReason, LinearStoragePrice<BaseDeposit, ByteDeposit, u128>>
type Consideration = HoldConsideration<<<MultiSignature as Verify>::Signer as IdentifyAccount>::AccountId, Pallet<Runtime>, PreimageHoldReason, LinearStoragePrice<BaseDeposit, ByteDeposit, u128>>
source§impl Config for Runtime
impl Config for Runtime
§type RuntimeEvent = RuntimeEvent
type RuntimeEvent = RuntimeEvent
§type DataDepositPerByte = DataDepositPerByte
type DataDepositPerByte = DataDepositPerByte
§type MaximumReasonLength = MaximumReasonLength
type MaximumReasonLength = MaximumReasonLength
§type TipCountdown = TipCountdown
type TipCountdown = TipCountdown
§type TipFindersFee = TipFindersFee
type TipFindersFee = TipFindersFee
§type TipReportDepositBase = TipReportDepositBase
type TipReportDepositBase = TipReportDepositBase
§type MaxTipAmount = ConstU128<{ 500 * DOLLARS }>
type MaxTipAmount = ConstU128<{ 500 * DOLLARS }>
§type WeightInfo = SubstrateWeight<Runtime>
type WeightInfo = SubstrateWeight<Runtime>
source§impl Config for Runtime
impl Config for Runtime
§type MaxAuthorities = MaxAuthorities
type MaxAuthorities = MaxAuthorities
§type MaxNominators = ConstU32<0>
type MaxNominators = ConstU32<0>
§type MaxSetIdSessionEntries = BeefySetIdSessionEntries
type MaxSetIdSessionEntries = BeefySetIdSessionEntries
§type OnNewValidatorSet = Pallet<Runtime>
type OnNewValidatorSet = Pallet<Runtime>
§type AncestryHelper = Pallet<Runtime>
type AncestryHelper = Pallet<Runtime>
§type WeightInfo = ()
type WeightInfo = ()
§type KeyOwnerProof = MembershipProof
type KeyOwnerProof = MembershipProof
§type EquivocationReportSystem = EquivocationReportSystem<Runtime, Pallet<Runtime>, Pallet<Runtime>, ReportLongevity>
type EquivocationReportSystem = EquivocationReportSystem<Runtime, Pallet<Runtime>, Pallet<Runtime>, ReportLongevity>
source§impl Config for Runtime
impl Config for Runtime
source§const INDEXING_PREFIX: &'static [u8] = b"mmr"
const INDEXING_PREFIX: &'static [u8] = b"mmr"
§type LeafData = ParentNumberAndHash<Runtime>
type LeafData = ParentNumberAndHash<Runtime>
§type OnNewRoot = DepositBeefyDigest<Runtime>
type OnNewRoot = DepositBeefyDigest<Runtime>
§type BlockHashProvider = DefaultBlockHashProvider<Runtime>
type BlockHashProvider = DefaultBlockHashProvider<Runtime>
§type WeightInfo = ()
type WeightInfo = ()
§type BenchmarkHelper = ()
type BenchmarkHelper = ()
source§impl Config for Runtime
impl Config for Runtime
§type RuntimeEvent = RuntimeEvent
type RuntimeEvent = RuntimeEvent
§type RuntimeOrigin = RuntimeOrigin
type RuntimeOrigin = RuntimeOrigin
§type PalletsOrigin = OriginCaller
type PalletsOrigin = OriginCaller
§type RuntimeCall = RuntimeCall
type RuntimeCall = RuntimeCall
§type MaximumWeight = MaximumSchedulerWeight
type MaximumWeight = MaximumSchedulerWeight
§type ScheduleOrigin = EnsureRoot<<<MultiSignature as Verify>::Signer as IdentifyAccount>::AccountId>
type ScheduleOrigin = EnsureRoot<<<MultiSignature as Verify>::Signer as IdentifyAccount>::AccountId>
§type MaxScheduledPerBlock = ConstU32<512>
type MaxScheduledPerBlock = ConstU32<512>
§type WeightInfo = SubstrateWeight<Runtime>
type WeightInfo = SubstrateWeight<Runtime>
§type OriginPrivilegeCmp = EqualPrivilegeOnly
type OriginPrivilegeCmp = EqualPrivilegeOnly
source§impl Config for Runtime
impl Config for Runtime
§type FindAuthor = FindAccountFromAuthorIndex<Runtime, Pallet<Runtime>>
type FindAuthor = FindAccountFromAuthorIndex<Runtime, Pallet<Runtime>>
source§impl Config for Runtime
impl Config for Runtime
§type WeightInfo = ()
type WeightInfo = ()
§type RuntimeEvent = RuntimeEvent
type RuntimeEvent = RuntimeEvent
§type RuntimeFreezeReason = RuntimeFreezeReason
type RuntimeFreezeReason = RuntimeFreezeReason
§type RewardCounter = FixedU128
type RewardCounter = FixedU128
§type BalanceToU256 = BalanceToU256
type BalanceToU256 = BalanceToU256
Currency::Balance
to U256
.§type U256ToBalance = U256ToBalance
type U256ToBalance = U256ToBalance
U256
to Currency::Balance
.§type StakeAdapter = TransferStake<Runtime, Pallet<Runtime>>
type StakeAdapter = TransferStake<Runtime, Pallet<Runtime>>
§type PostUnbondingPoolsWindow = PostUnbondPoolsWindow
type PostUnbondingPoolsWindow = PostUnbondPoolsWindow
SubPools::with_era
pool can exist before it gets merged into the
SubPools::no_era
pool. In other words, this is the amount of eras a member will be
able to withdraw from an unbonding pool which is guaranteed to have the correct ratio of
points to balance; once the with_era
pool is merged into the no_era
pool, the ratio
can become skewed due to some slashed ratio getting merged in at some point.§type MaxMetadataLen = ConstU32<256>
type MaxMetadataLen = ConstU32<256>
§type MaxUnbonding = ConstU32<8>
type MaxUnbonding = ConstU32<8>
§type PalletId = NominationPoolsPalletId
type PalletId = NominationPoolsPalletId
§type MaxPointsToBalance = MaxPointsToBalance
type MaxPointsToBalance = MaxPointsToBalance
open
pool can have. Read more§type AdminOrigin = EitherOfDiverse<EnsureRoot<<<MultiSignature as Verify>::Signer as IdentifyAccount>::AccountId>, EnsureProportionAtLeast<<<MultiSignature as Verify>::Signer as IdentifyAccount>::AccountId, Instance1, 3, 4>>
type AdminOrigin = EitherOfDiverse<EnsureRoot<<<MultiSignature as Verify>::Signer as IdentifyAccount>::AccountId>, EnsureProportionAtLeast<<<MultiSignature as Verify>::Signer as IdentifyAccount>::AccountId, Instance1, 3, 4>>
source§impl Config for Runtime
impl Config for Runtime
§type CreateOrigin = EnsureRoot<<<MultiSignature as Verify>::Signer as IdentifyAccount>::AccountId>
type CreateOrigin = EnsureRoot<<<MultiSignature as Verify>::Signer as IdentifyAccount>::AccountId>
§type RemoveOrigin = EnsureRoot<<<MultiSignature as Verify>::Signer as IdentifyAccount>::AccountId>
type RemoveOrigin = EnsureRoot<<<MultiSignature as Verify>::Signer as IdentifyAccount>::AccountId>
§type UpdateOrigin = EnsureRoot<<<MultiSignature as Verify>::Signer as IdentifyAccount>::AccountId>
type UpdateOrigin = EnsureRoot<<<MultiSignature as Verify>::Signer as IdentifyAccount>::AccountId>
§type AssetKind = u32
type AssetKind = u32
§type RuntimeEvent = RuntimeEvent
type RuntimeEvent = RuntimeEvent
§type WeightInfo = SubstrateWeight<Runtime>
type WeightInfo = SubstrateWeight<Runtime>
§type BenchmarkHelper = ()
type BenchmarkHelper = ()
source§impl Config for Runtime
impl Config for Runtime
§type WeightInfo = SubstrateWeight<Runtime>
type WeightInfo = SubstrateWeight<Runtime>
§type RuntimeEvent = RuntimeEvent
type RuntimeEvent = RuntimeEvent
source§impl Config for Runtime
impl Config for Runtime
§type WeightInfo = SubstrateWeight<Runtime>
type WeightInfo = SubstrateWeight<Runtime>
type RuntimeCall = RuntimeCall
type RuntimeEvent = RuntimeEvent
§type SubmitOrigin = EnsureSigned<<<MultiSignature as Verify>::Signer as IdentifyAccount>::AccountId>
type SubmitOrigin = EnsureSigned<<<MultiSignature as Verify>::Signer as IdentifyAccount>::AccountId>
§type CancelOrigin = EnsureRoot<<<MultiSignature as Verify>::Signer as IdentifyAccount>::AccountId>
type CancelOrigin = EnsureRoot<<<MultiSignature as Verify>::Signer as IdentifyAccount>::AccountId>
§type KillOrigin = EnsureRoot<<<MultiSignature as Verify>::Signer as IdentifyAccount>::AccountId>
type KillOrigin = EnsureRoot<<<MultiSignature as Verify>::Signer as IdentifyAccount>::AccountId>
§type Votes = <<Runtime as Config>::Currency as Currency<<Runtime as Config>::AccountId>>::Balance
type Votes = <<Runtime as Config>::Currency as Currency<<Runtime as Config>::AccountId>>::Balance
§type Tally = Tally<<<Runtime as Config>::Currency as Currency<<Runtime as Config>::AccountId>>::Balance, <Runtime as Config>::MaxTurnout>
type Tally = Tally<<<Runtime as Config>::Currency as Currency<<Runtime as Config>::AccountId>>::Balance, <Runtime as Config>::MaxTurnout>
§type SubmissionDeposit = SubmissionDeposit
type SubmissionDeposit = SubmissionDeposit
§type UndecidingTimeout = UndecidingTimeout
type UndecidingTimeout = UndecidingTimeout
§type AlarmInterval = AlarmInterval
type AlarmInterval = AlarmInterval
§type Tracks = TracksInfo
type Tracks = TracksInfo
source§impl Config for Runtime
impl Config for Runtime
§type Signature = MultiSignature
type Signature = MultiSignature
§type AccountIdentifier = MultiSigner
type AccountIdentifier = MultiSigner
§type WeightInfo = SubstrateWeight<Runtime>
type WeightInfo = SubstrateWeight<Runtime>
§type BenchmarkHelper = VerifySignatureBenchmarkHelper
type BenchmarkHelper = VerifySignatureBenchmarkHelper
source§impl Config for Runtime
impl Config for Runtime
type RuntimeEvent = RuntimeEvent
§type PalletId = ElectionsPhragmenPalletId
type PalletId = ElectionsPhragmenPalletId
§type ChangeMembers = Pallet<Runtime, Instance1>
type ChangeMembers = Pallet<Runtime, Instance1>
§type InitializeMembers = Pallet<Runtime, Instance1>
type InitializeMembers = Pallet<Runtime, Instance1>
§type CurrencyToVote = U128CurrencyToVote
type CurrencyToVote = U128CurrencyToVote
u64
but is allowed to be sensibly lossy.§type CandidacyBond = CandidacyBond
type CandidacyBond = CandidacyBond
§type VotingBondBase = VotingBondBase
type VotingBondBase = VotingBondBase
§type VotingBondFactor = VotingBondFactor
type VotingBondFactor = VotingBondFactor
§type LoserCandidate = ()
type LoserCandidate = ()
§type KickedMember = ()
type KickedMember = ()
§type DesiredMembers = DesiredMembers
type DesiredMembers = DesiredMembers
§type DesiredRunnersUp = DesiredRunnersUp
type DesiredRunnersUp = DesiredRunnersUp
§type TermDuration = TermDuration
type TermDuration = TermDuration
§type MaxVotesPerVoter = MaxVotesPerVoter
type MaxVotesPerVoter = MaxVotesPerVoter
§type MaxCandidates = MaxCandidates
type MaxCandidates = MaxCandidates
§type WeightInfo = SubstrateWeight<Runtime>
type WeightInfo = SubstrateWeight<Runtime>
source§impl Config for Runtime
impl Config for Runtime
§type RuntimeEvent = RuntimeEvent
type RuntimeEvent = RuntimeEvent
§type Deposit = AssetDeposit
type Deposit = AssetDeposit
§type NewAssetSymbol = NewAssetSymbol
type NewAssetSymbol = NewAssetSymbol
§type NewAssetName = NewAssetName
type NewAssetName = NewAssetName
§type StringLimit = StringLimit
type StringLimit = StringLimit
§type NftCollectionId = <Runtime as Config>::CollectionId
type NftCollectionId = <Runtime as Config>::CollectionId
§type AssetBalance = <Runtime as Config>::Balance
type AssetBalance = <Runtime as Config>::Balance
§type AssetId = <Runtime as Config<Instance1>>::AssetId
type AssetId = <Runtime as Config<Instance1>>::AssetId
§type PalletId = NftFractionalizationPalletId
type PalletId = NftFractionalizationPalletId
§type WeightInfo = SubstrateWeight<Runtime>
type WeightInfo = SubstrateWeight<Runtime>
§type RuntimeHoldReason = RuntimeHoldReason
type RuntimeHoldReason = RuntimeHoldReason
§type BenchmarkHelper = ()
type BenchmarkHelper = ()
source§impl Config for Runtime
impl Config for Runtime
§type RuntimeEvent = RuntimeEvent
type RuntimeEvent = RuntimeEvent
§type RuntimeCall = RuntimeCall
type RuntimeCall = RuntimeCall
§type WeightInfo = SubstrateWeight<Runtime>
type WeightInfo = SubstrateWeight<Runtime>
source§impl Config for Runtime
impl Config for Runtime
§type OnTimestampSet = Pallet<Runtime>
type OnTimestampSet = Pallet<Runtime>
§type MinimumPeriod = MinimumPeriod
type MinimumPeriod = MinimumPeriod
§type WeightInfo = SubstrateWeight<Runtime>
type WeightInfo = SubstrateWeight<Runtime>
source§impl ContractsApiV2<Block<Header<u32, BlakeTwo256>, UncheckedExtrinsic<MultiAddress<<<MultiSignature as Verify>::Signer as IdentifyAccount>::AccountId, u32>, MultiSignature, EthExtraImpl>>, <<MultiSignature as Verify>::Signer as IdentifyAccount>::AccountId, u128, u32, H256, EventRecord<<Runtime as Config>::RuntimeEvent, <Runtime as Config>::Hash>> for Runtime
impl ContractsApiV2<Block<Header<u32, BlakeTwo256>, UncheckedExtrinsic<MultiAddress<<<MultiSignature as Verify>::Signer as IdentifyAccount>::AccountId, u32>, MultiSignature, EthExtraImpl>>, <<MultiSignature as Verify>::Signer as IdentifyAccount>::AccountId, u128, u32, H256, EventRecord<<Runtime as Config>::RuntimeEvent, <Runtime as Config>::Hash>> for Runtime
source§fn call(
origin: AccountId,
dest: AccountId,
value: Balance,
gas_limit: Option<Weight>,
storage_deposit_limit: Option<Balance>,
input_data: Vec<u8>,
) -> ContractExecResult<Balance, EventRecord<<Runtime as Config>::RuntimeEvent, <Runtime as Config>::Hash>>
fn call( origin: AccountId, dest: AccountId, value: Balance, gas_limit: Option<Weight>, storage_deposit_limit: Option<Balance>, input_data: Vec<u8>, ) -> ContractExecResult<Balance, EventRecord<<Runtime as Config>::RuntimeEvent, <Runtime as Config>::Hash>>
source§fn instantiate(
origin: AccountId,
value: Balance,
gas_limit: Option<Weight>,
storage_deposit_limit: Option<Balance>,
code: Code<Hash>,
data: Vec<u8>,
salt: Vec<u8>,
) -> ContractInstantiateResult<AccountId, Balance, EventRecord<<Runtime as Config>::RuntimeEvent, <Runtime as Config>::Hash>>
fn instantiate( origin: AccountId, value: Balance, gas_limit: Option<Weight>, storage_deposit_limit: Option<Balance>, code: Code<Hash>, data: Vec<u8>, salt: Vec<u8>, ) -> ContractInstantiateResult<AccountId, Balance, EventRecord<<Runtime as Config>::RuntimeEvent, <Runtime as Config>::Hash>>
source§fn upload_code(
origin: AccountId,
code: Vec<u8>,
storage_deposit_limit: Option<Balance>,
determinism: Determinism,
) -> CodeUploadResult<Hash, Balance>
fn upload_code( origin: AccountId, code: Vec<u8>, storage_deposit_limit: Option<Balance>, determinism: Determinism, ) -> CodeUploadResult<Hash, Balance>
source§fn get_storage(address: AccountId, key: Vec<u8>) -> GetStorageResult
fn get_storage(address: AccountId, key: Vec<u8>) -> GetStorageResult
source§impl CoreV5<Block<Header<u32, BlakeTwo256>, UncheckedExtrinsic<MultiAddress<<<MultiSignature as Verify>::Signer as IdentifyAccount>::AccountId, u32>, MultiSignature, EthExtraImpl>>> for Runtime
impl CoreV5<Block<Header<u32, BlakeTwo256>, UncheckedExtrinsic<MultiAddress<<<MultiSignature as Verify>::Signer as IdentifyAccount>::AccountId, u32>, MultiSignature, EthExtraImpl>>> for Runtime
source§fn version() -> RuntimeVersion
fn version() -> RuntimeVersion
source§fn execute_block(block: Block)
fn execute_block(block: Block)
source§fn initialize_block(
header: &<Block as BlockT>::Header,
) -> ExtrinsicInclusionMode
fn initialize_block( header: &<Block as BlockT>::Header, ) -> ExtrinsicInclusionMode
source§impl<LocalCall> CreateInherent<LocalCall> for Runtimewhere
RuntimeCall: From<LocalCall>,
impl<LocalCall> CreateInherent<LocalCall> for Runtimewhere
RuntimeCall: From<LocalCall>,
source§fn create_inherent(call: RuntimeCall) -> UncheckedExtrinsic
fn create_inherent(call: RuntimeCall) -> UncheckedExtrinsic
source§impl<LocalCall> CreateSignedTransaction<LocalCall> for Runtimewhere
RuntimeCall: From<LocalCall>,
impl<LocalCall> CreateSignedTransaction<LocalCall> for Runtimewhere
RuntimeCall: From<LocalCall>,
source§fn create_signed_transaction<C: AppCrypto<Self::Public, Self::Signature>>(
call: RuntimeCall,
public: <Signature as Verify>::Signer,
account: AccountId,
nonce: Nonce,
) -> Option<UncheckedExtrinsic>
fn create_signed_transaction<C: AppCrypto<Self::Public, Self::Signature>>( call: RuntimeCall, public: <Signature as Verify>::Signer, account: AccountId, nonce: Nonce, ) -> Option<UncheckedExtrinsic>
source§impl<LocalCall> CreateTransaction<LocalCall> for Runtimewhere
RuntimeCall: From<LocalCall>,
impl<LocalCall> CreateTransaction<LocalCall> for Runtimewhere
RuntimeCall: From<LocalCall>,
§type Extension = (CheckNonZeroSender<Runtime>, CheckSpecVersion<Runtime>, CheckTxVersion<Runtime>, CheckGenesis<Runtime>, CheckMortality<Runtime>, CheckNonce<Runtime>, CheckWeight<Runtime>, SkipCheckIfFeeless<Runtime, ChargeAssetTxPayment<Runtime>>, CheckMetadataHash<Runtime>)
type Extension = (CheckNonZeroSender<Runtime>, CheckSpecVersion<Runtime>, CheckTxVersion<Runtime>, CheckGenesis<Runtime>, CheckMortality<Runtime>, CheckNonce<Runtime>, CheckWeight<Runtime>, SkipCheckIfFeeless<Runtime, ChargeAssetTxPayment<Runtime>>, CheckMetadataHash<Runtime>)
source§fn create_transaction(
call: RuntimeCall,
extension: TxExtension,
) -> UncheckedExtrinsic
fn create_transaction( call: RuntimeCall, extension: TxExtension, ) -> UncheckedExtrinsic
source§impl<C> CreateTransactionBase<C> for Runtimewhere
RuntimeCall: From<C>,
impl<C> CreateTransactionBase<C> for Runtimewhere
RuntimeCall: From<C>,
§type Extrinsic = UncheckedExtrinsic<MultiAddress<<<MultiSignature as Verify>::Signer as IdentifyAccount>::AccountId, u32>, MultiSignature, EthExtraImpl>
type Extrinsic = UncheckedExtrinsic<MultiAddress<<<MultiSignature as Verify>::Signer as IdentifyAccount>::AccountId, u32>, MultiSignature, EthExtraImpl>
§type RuntimeCall = RuntimeCall
type RuntimeCall = RuntimeCall
source§impl GenesisBuilderV1<Block<Header<u32, BlakeTwo256>, UncheckedExtrinsic<MultiAddress<<<MultiSignature as Verify>::Signer as IdentifyAccount>::AccountId, u32>, MultiSignature, EthExtraImpl>>> for Runtime
impl GenesisBuilderV1<Block<Header<u32, BlakeTwo256>, UncheckedExtrinsic<MultiAddress<<<MultiSignature as Verify>::Signer as IdentifyAccount>::AccountId, u32>, MultiSignature, EthExtraImpl>>> for Runtime
source§impl GetRuntimeBlockType for Runtime
impl GetRuntimeBlockType for Runtime
§type RuntimeBlock = <Runtime as Config>::Block
type RuntimeBlock = <Runtime as Config>::Block
RuntimeBlock
type.source§impl GrandpaApiV3<Block<Header<u32, BlakeTwo256>, UncheckedExtrinsic<MultiAddress<<<MultiSignature as Verify>::Signer as IdentifyAccount>::AccountId, u32>, MultiSignature, EthExtraImpl>>> for Runtime
impl GrandpaApiV3<Block<Header<u32, BlakeTwo256>, UncheckedExtrinsic<MultiAddress<<<MultiSignature as Verify>::Signer as IdentifyAccount>::AccountId, u32>, MultiSignature, EthExtraImpl>>> for Runtime
source§fn current_set_id() -> SetId
fn current_set_id() -> SetId
source§fn submit_report_equivocation_unsigned_extrinsic(
equivocation_proof: EquivocationProof<<Block as BlockT>::Hash, NumberFor<Block>>,
key_owner_proof: OpaqueKeyOwnershipProof,
) -> Option<()>
fn submit_report_equivocation_unsigned_extrinsic( equivocation_proof: EquivocationProof<<Block as BlockT>::Hash, NumberFor<Block>>, key_owner_proof: OpaqueKeyOwnershipProof, ) -> Option<()>
generate_key_ownership_proof
). The
extrinsic will be unsigned and should only be accepted for local
authorship (not to be broadcast to the network). This method returns
None
when creation of the extrinsic fails, e.g. if equivocation
reporting is disabled for the given runtime (i.e. this method is
hardcoded to return None
). Only useful in an offchain context.source§fn generate_key_ownership_proof(
_set_id: SetId,
authority_id: GrandpaId,
) -> Option<OpaqueKeyOwnershipProof>
fn generate_key_ownership_proof( _set_id: SetId, authority_id: GrandpaId, ) -> Option<OpaqueKeyOwnershipProof>
set_id
as parameter the current
implementations ignore this parameter and instead rely on this
method being called at the correct block height, i.e. any point at
which the given set id is live on-chain. Future implementations will
instead use indexed data through an offchain worker, not requiring
older states to be available.source§impl MetadataV2<Block<Header<u32, BlakeTwo256>, UncheckedExtrinsic<MultiAddress<<<MultiSignature as Verify>::Signer as IdentifyAccount>::AccountId, u32>, MultiSignature, EthExtraImpl>>> for Runtime
impl MetadataV2<Block<Header<u32, BlakeTwo256>, UncheckedExtrinsic<MultiAddress<<<MultiSignature as Verify>::Signer as IdentifyAccount>::AccountId, u32>, MultiSignature, EthExtraImpl>>> for Runtime
source§fn metadata() -> OpaqueMetadata
fn metadata() -> OpaqueMetadata
source§fn metadata_at_version(version: u32) -> Option<OpaqueMetadata>
fn metadata_at_version(version: u32) -> Option<OpaqueMetadata>
source§impl MinerConfig for Runtime
impl MinerConfig for Runtime
§type AccountId = <<MultiSignature as Verify>::Signer as IdentifyAccount>::AccountId
type AccountId = <<MultiSignature as Verify>::Signer as IdentifyAccount>::AccountId
§type MaxLength = MinerMaxLength
type MaxLength = MinerMaxLength
§type MaxWeight = MinerMaxWeight
type MaxWeight = MinerMaxWeight
§type Solution = NposSolution16
type Solution = NposSolution16
§type MaxVotesPerVoter = <<Runtime as Config>::DataProvider as ElectionDataProvider>::MaxVotesPerVoter
type MaxVotesPerVoter = <<Runtime as Config>::DataProvider as ElectionDataProvider>::MaxVotesPerVoter
§type MaxWinners = MaxActiveValidators
type MaxWinners = MaxActiveValidators
source§impl MixnetApiV1<Block<Header<u32, BlakeTwo256>, UncheckedExtrinsic<MultiAddress<<<MultiSignature as Verify>::Signer as IdentifyAccount>::AccountId, u32>, MultiSignature, EthExtraImpl>>> for Runtime
impl MixnetApiV1<Block<Header<u32, BlakeTwo256>, UncheckedExtrinsic<MultiAddress<<<MultiSignature as Verify>::Signer as IdentifyAccount>::AccountId, u32>, MultiSignature, EthExtraImpl>>> for Runtime
source§fn session_status() -> SessionStatus
fn session_status() -> SessionStatus
source§fn prev_mixnodes() -> Result<Vec<Mixnode>, MixnodesErr>
fn prev_mixnodes() -> Result<Vec<Mixnode>, MixnodesErr>
source§fn current_mixnodes() -> Result<Vec<Mixnode>, MixnodesErr>
fn current_mixnodes() -> Result<Vec<Mixnode>, MixnodesErr>
source§fn maybe_register(session_index: SessionIndex, mixnode: Mixnode) -> bool
fn maybe_register(session_index: SessionIndex, mixnode: Mixnode) -> bool
source§impl MmrApiV2<Block<Header<u32, BlakeTwo256>, UncheckedExtrinsic<MultiAddress<<<MultiSignature as Verify>::Signer as IdentifyAccount>::AccountId, u32>, MultiSignature, EthExtraImpl>>, <<Runtime as Config>::Hashing as Hash>::Output, u32> for Runtime
impl MmrApiV2<Block<Header<u32, BlakeTwo256>, UncheckedExtrinsic<MultiAddress<<<MultiSignature as Verify>::Signer as IdentifyAccount>::AccountId, u32>, MultiSignature, EthExtraImpl>>, <<Runtime as Config>::Hashing as Hash>::Output, u32> for Runtime
source§fn mmr_root() -> Result<<<Runtime as Config>::Hashing as Hash>::Output, Error>
fn mmr_root() -> Result<<<Runtime as Config>::Hashing as Hash>::Output, Error>
source§fn generate_proof(
block_numbers: Vec<BlockNumber>,
best_known_block_number: Option<BlockNumber>,
) -> Result<(Vec<EncodableOpaqueLeaf>, LeafProof<<<Runtime as Config>::Hashing as Hash>::Output>), Error>
fn generate_proof( block_numbers: Vec<BlockNumber>, best_known_block_number: Option<BlockNumber>, ) -> Result<(Vec<EncodableOpaqueLeaf>, LeafProof<<<Runtime as Config>::Hashing as Hash>::Output>), Error>
best_known_block_number = Some(n)
,
use historical MMR state at given block height n
. Else, use current MMR state.source§impl<__SrApiBlock__: BlockT, RuntimeApiImplCall: CallApiAt<__SrApiBlock__> + 'static> MmrApi<__SrApiBlock__, <<Runtime as Config>::Hashing as Hash>::Output, u32> for RuntimeApiImpl<__SrApiBlock__, RuntimeApiImplCall>where
RuntimeApiImplCall::StateBackend: StateBackend<HashingFor<__SrApiBlock__>>,
&'static RuntimeApiImplCall: Send,
impl<__SrApiBlock__: BlockT, RuntimeApiImplCall: CallApiAt<__SrApiBlock__> + 'static> MmrApi<__SrApiBlock__, <<Runtime as Config>::Hashing as Hash>::Output, u32> for RuntimeApiImpl<__SrApiBlock__, RuntimeApiImplCall>where
RuntimeApiImplCall::StateBackend: StateBackend<HashingFor<__SrApiBlock__>>,
&'static RuntimeApiImplCall: Send,
source§fn mmr_root(
&self,
__runtime_api_at_param__: <Block as Block>::Hash,
) -> Result<Result<Hash, Error>, ApiError>
fn mmr_root( &self, __runtime_api_at_param__: <Block as Block>::Hash, ) -> Result<Result<Hash, Error>, ApiError>
source§fn mmr_leaf_count(
&self,
__runtime_api_at_param__: <Block as Block>::Hash,
) -> Result<Result<u64, Error>, ApiError>
fn mmr_leaf_count( &self, __runtime_api_at_param__: <Block as Block>::Hash, ) -> Result<Result<u64, Error>, ApiError>
source§fn generate_proof(
&self,
__runtime_api_at_param__: <Block as Block>::Hash,
block_numbers: Vec<BlockNumber>,
best_known_block_number: Option<BlockNumber>,
) -> Result<Result<(Vec<EncodableOpaqueLeaf>, LeafProof<Hash>), Error>, ApiError>
fn generate_proof( &self, __runtime_api_at_param__: <Block as Block>::Hash, block_numbers: Vec<BlockNumber>, best_known_block_number: Option<BlockNumber>, ) -> Result<Result<(Vec<EncodableOpaqueLeaf>, LeafProof<Hash>), Error>, ApiError>
best_known_block_number = Some(n)
,
use historical MMR state at given block height n
. Else, use current MMR state.source§impl NftsApiV1<Block<Header<u32, BlakeTwo256>, UncheckedExtrinsic<MultiAddress<<<MultiSignature as Verify>::Signer as IdentifyAccount>::AccountId, u32>, MultiSignature, EthExtraImpl>>, <<MultiSignature as Verify>::Signer as IdentifyAccount>::AccountId, u32, u32> for Runtime
impl NftsApiV1<Block<Header<u32, BlakeTwo256>, UncheckedExtrinsic<MultiAddress<<<MultiSignature as Verify>::Signer as IdentifyAccount>::AccountId, u32>, MultiSignature, EthExtraImpl>>, <<MultiSignature as Verify>::Signer as IdentifyAccount>::AccountId, u32, u32> for Runtime
fn owner(collection: u32, item: u32) -> Option<AccountId>
fn collection_owner(collection: u32) -> Option<AccountId>
fn attribute(collection: u32, item: u32, key: Vec<u8>) -> Option<Vec<u8>>
fn custom_attribute( account: AccountId, collection: u32, item: u32, key: Vec<u8>, ) -> Option<Vec<u8>>
fn system_attribute( collection: u32, item: Option<u32>, key: Vec<u8>, ) -> Option<Vec<u8>>
fn collection_attribute(collection: u32, key: Vec<u8>) -> Option<Vec<u8>>
source§impl NominationPoolsApiV1<Block<Header<u32, BlakeTwo256>, UncheckedExtrinsic<MultiAddress<<<MultiSignature as Verify>::Signer as IdentifyAccount>::AccountId, u32>, MultiSignature, EthExtraImpl>>, <<MultiSignature as Verify>::Signer as IdentifyAccount>::AccountId, u128> for Runtime
impl NominationPoolsApiV1<Block<Header<u32, BlakeTwo256>, UncheckedExtrinsic<MultiAddress<<<MultiSignature as Verify>::Signer as IdentifyAccount>::AccountId, u32>, MultiSignature, EthExtraImpl>>, <<MultiSignature as Verify>::Signer as IdentifyAccount>::AccountId, u128> for Runtime
source§fn pending_rewards(who: AccountId) -> Balance
fn pending_rewards(who: AccountId) -> Balance
source§fn points_to_balance(pool_id: PoolId, points: Balance) -> Balance
fn points_to_balance(pool_id: PoolId, points: Balance) -> Balance
points
for a given pool.source§fn balance_to_points(pool_id: PoolId, new_funds: Balance) -> Balance
fn balance_to_points(pool_id: PoolId, new_funds: Balance) -> Balance
new_funds
for a given pool.source§fn pool_pending_slash(pool_id: PoolId) -> Balance
fn pool_pending_slash(pool_id: PoolId) -> Balance
source§fn member_pending_slash(member: AccountId) -> Balance
fn member_pending_slash(member: AccountId) -> Balance
source§fn pool_needs_delegate_migration(pool_id: PoolId) -> bool
fn pool_needs_delegate_migration(pool_id: PoolId) -> bool
pool_id
needs migration. Read moresource§fn member_needs_delegate_migration(member: AccountId) -> bool
fn member_needs_delegate_migration(member: AccountId) -> bool
member
needs migration. Read moresource§fn member_total_balance(member: AccountId) -> Balance
fn member_total_balance(member: AccountId) -> Balance
source§fn pool_balance(pool_id: PoolId) -> Balance
fn pool_balance(pool_id: PoolId) -> Balance
source§impl OffchainWorkerApiV2<Block<Header<u32, BlakeTwo256>, UncheckedExtrinsic<MultiAddress<<<MultiSignature as Verify>::Signer as IdentifyAccount>::AccountId, u32>, MultiSignature, EthExtraImpl>>> for Runtime
impl OffchainWorkerApiV2<Block<Header<u32, BlakeTwo256>, UncheckedExtrinsic<MultiAddress<<<MultiSignature as Verify>::Signer as IdentifyAccount>::AccountId, u32>, MultiSignature, EthExtraImpl>>> for Runtime
source§impl PartialEq for Runtime
impl PartialEq for Runtime
source§impl ReviveApiV1<Block<Header<u32, BlakeTwo256>, UncheckedExtrinsic<MultiAddress<<<MultiSignature as Verify>::Signer as IdentifyAccount>::AccountId, u32>, MultiSignature, EthExtraImpl>>, <<MultiSignature as Verify>::Signer as IdentifyAccount>::AccountId, u128, u32, u32, EventRecord<<Runtime as Config>::RuntimeEvent, <Runtime as Config>::Hash>> for Runtime
impl ReviveApiV1<Block<Header<u32, BlakeTwo256>, UncheckedExtrinsic<MultiAddress<<<MultiSignature as Verify>::Signer as IdentifyAccount>::AccountId, u32>, MultiSignature, EthExtraImpl>>, <<MultiSignature as Verify>::Signer as IdentifyAccount>::AccountId, u128, u32, u32, EventRecord<<Runtime as Config>::RuntimeEvent, <Runtime as Config>::Hash>> for Runtime
source§fn eth_transact(
from: H160,
dest: Option<H160>,
value: Balance,
input: Vec<u8>,
gas_limit: Option<Weight>,
storage_deposit_limit: Option<Balance>,
) -> EthContractResult<Balance>
fn eth_transact( from: H160, dest: Option<H160>, value: Balance, input: Vec<u8>, gas_limit: Option<Weight>, storage_deposit_limit: Option<Balance>, ) -> EthContractResult<Balance>
source§fn call(
origin: AccountId,
dest: H160,
value: Balance,
gas_limit: Option<Weight>,
storage_deposit_limit: Option<Balance>,
input_data: Vec<u8>,
) -> ContractResult<ExecReturnValue, Balance, EventRecord<<Runtime as Config>::RuntimeEvent, <Runtime as Config>::Hash>>
fn call( origin: AccountId, dest: H160, value: Balance, gas_limit: Option<Weight>, storage_deposit_limit: Option<Balance>, input_data: Vec<u8>, ) -> ContractResult<ExecReturnValue, Balance, EventRecord<<Runtime as Config>::RuntimeEvent, <Runtime as Config>::Hash>>
source§fn instantiate(
origin: AccountId,
value: Balance,
gas_limit: Option<Weight>,
storage_deposit_limit: Option<Balance>,
code: Code,
data: Vec<u8>,
salt: Option<[u8; 32]>,
) -> ContractResult<InstantiateReturnValue, Balance, EventRecord<<Runtime as Config>::RuntimeEvent, <Runtime as Config>::Hash>>
fn instantiate( origin: AccountId, value: Balance, gas_limit: Option<Weight>, storage_deposit_limit: Option<Balance>, code: Code, data: Vec<u8>, salt: Option<[u8; 32]>, ) -> ContractResult<InstantiateReturnValue, Balance, EventRecord<<Runtime as Config>::RuntimeEvent, <Runtime as Config>::Hash>>
source§fn upload_code(
origin: AccountId,
code: Vec<u8>,
storage_deposit_limit: Option<Balance>,
) -> CodeUploadResult<Balance>
fn upload_code( origin: AccountId, code: Vec<u8>, storage_deposit_limit: Option<Balance>, ) -> CodeUploadResult<Balance>
source§fn get_storage(address: H160, key: [u8; 32]) -> GetStorageResult
fn get_storage(address: H160, key: [u8; 32]) -> GetStorageResult
source§impl SessionKeysV1<Block<Header<u32, BlakeTwo256>, UncheckedExtrinsic<MultiAddress<<<MultiSignature as Verify>::Signer as IdentifyAccount>::AccountId, u32>, MultiSignature, EthExtraImpl>>> for Runtime
impl SessionKeysV1<Block<Header<u32, BlakeTwo256>, UncheckedExtrinsic<MultiAddress<<<MultiSignature as Verify>::Signer as IdentifyAccount>::AccountId, u32>, MultiSignature, EthExtraImpl>>> for Runtime
source§impl SigningTypes for Runtime
impl SigningTypes for Runtime
§type Public = <MultiSignature as Verify>::Signer
type Public = <MultiSignature as Verify>::Signer
AccountId
s. Read more§type Signature = MultiSignature
type Signature = MultiSignature
Signature
type.source§impl StakingApiV1<Block<Header<u32, BlakeTwo256>, UncheckedExtrinsic<MultiAddress<<<MultiSignature as Verify>::Signer as IdentifyAccount>::AccountId, u32>, MultiSignature, EthExtraImpl>>, u128, <<MultiSignature as Verify>::Signer as IdentifyAccount>::AccountId> for Runtime
impl StakingApiV1<Block<Header<u32, BlakeTwo256>, UncheckedExtrinsic<MultiAddress<<<MultiSignature as Verify>::Signer as IdentifyAccount>::AccountId, u32>, MultiSignature, EthExtraImpl>>, u128, <<MultiSignature as Verify>::Signer as IdentifyAccount>::AccountId> for Runtime
source§impl TaggedTransactionQueueV3<Block<Header<u32, BlakeTwo256>, UncheckedExtrinsic<MultiAddress<<<MultiSignature as Verify>::Signer as IdentifyAccount>::AccountId, u32>, MultiSignature, EthExtraImpl>>> for Runtime
impl TaggedTransactionQueueV3<Block<Header<u32, BlakeTwo256>, UncheckedExtrinsic<MultiAddress<<<MultiSignature as Verify>::Signer as IdentifyAccount>::AccountId, u32>, MultiSignature, EthExtraImpl>>> for Runtime
source§fn validate_transaction(
source: TransactionSource,
tx: <Block as BlockT>::Extrinsic,
block_hash: <Block as BlockT>::Hash,
) -> TransactionValidity
fn validate_transaction( source: TransactionSource, tx: <Block as BlockT>::Extrinsic, block_hash: <Block as BlockT>::Hash, ) -> TransactionValidity
source§impl TransactionPaymentApiV4<Block<Header<u32, BlakeTwo256>, UncheckedExtrinsic<MultiAddress<<<MultiSignature as Verify>::Signer as IdentifyAccount>::AccountId, u32>, MultiSignature, EthExtraImpl>>, u128> for Runtime
impl TransactionPaymentApiV4<Block<Header<u32, BlakeTwo256>, UncheckedExtrinsic<MultiAddress<<<MultiSignature as Verify>::Signer as IdentifyAccount>::AccountId, u32>, MultiSignature, EthExtraImpl>>, 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, u32>, MultiSignature, EthExtraImpl>>, u128, RuntimeCall> for Runtime
impl TransactionPaymentCallApiV3<Block<Header<u32, BlakeTwo256>, UncheckedExtrinsic<MultiAddress<<<MultiSignature as Verify>::Signer as IdentifyAccount>::AccountId, u32>, MultiSignature, EthExtraImpl>>, 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>
Call
.source§fn query_call_fee_details(call: RuntimeCall, len: u32) -> FeeDetails<Balance>
fn query_call_fee_details(call: RuntimeCall, len: u32) -> FeeDetails<Balance>
Call
.source§fn query_weight_to_fee(weight: Weight) -> Balance
fn query_weight_to_fee(weight: Weight) -> Balance
WeightToFee
given some input.source§fn query_length_to_fee(length: u32) -> Balance
fn query_length_to_fee(length: u32) -> Balance
LengthToFee
given some input.source§impl TryRuntimeV1<Block<Header<u32, BlakeTwo256>, UncheckedExtrinsic<MultiAddress<<<MultiSignature as Verify>::Signer as IdentifyAccount>::AccountId, u32>, MultiSignature, EthExtraImpl>>> for Runtime
impl TryRuntimeV1<Block<Header<u32, BlakeTwo256>, UncheckedExtrinsic<MultiAddress<<<MultiSignature as Verify>::Signer as IdentifyAccount>::AccountId, u32>, MultiSignature, EthExtraImpl>>> for Runtime
source§fn on_runtime_upgrade(checks: UpgradeCheckSelect) -> (Weight, Weight)
fn on_runtime_upgrade(checks: UpgradeCheckSelect) -> (Weight, Weight)
source§fn execute_block(
block: Block,
state_root_check: bool,
signature_check: bool,
select: TryStateSelect,
) -> Weight
fn execute_block( block: Block, state_root_check: bool, signature_check: bool, select: TryStateSelect, ) -> Weight
source§impl ValidateStatementV1<Block<Header<u32, BlakeTwo256>, UncheckedExtrinsic<MultiAddress<<<MultiSignature as Verify>::Signer as IdentifyAccount>::AccountId, u32>, MultiSignature, EthExtraImpl>>> for Runtime
impl ValidateStatementV1<Block<Header<u32, BlakeTwo256>, UncheckedExtrinsic<MultiAddress<<<MultiSignature as Verify>::Signer as IdentifyAccount>::AccountId, u32>, MultiSignature, EthExtraImpl>>> for Runtime
source§fn validate_statement(
source: StatementSource,
statement: Statement,
) -> Result<ValidStatement, InvalidStatement>
fn validate_statement( source: StatementSource, statement: Statement, ) -> Result<ValidStatement, InvalidStatement>
source§impl ValidateUnsigned for Runtime
impl ValidateUnsigned for Runtime
§type Call = RuntimeCall
type Call = RuntimeCall
source§fn pre_dispatch(call: &Self::Call) -> Result<(), TransactionValidityError>
fn pre_dispatch(call: &Self::Call) -> Result<(), TransactionValidityError>
source§fn validate_unsigned(
source: TransactionSource,
call: &Self::Call,
) -> TransactionValidity
fn validate_unsigned( source: TransactionSource, call: &Self::Call, ) -> TransactionValidity
impl Config for Runtime
impl Config for Runtime
impl Config for Runtime
impl Config for Runtime
impl Config for Runtime
impl Config for Runtime
impl Config for Runtime
impl Copy for Runtime
impl Eq for Runtime
impl StructuralPartialEq for Runtime
Auto Trait Implementations§
impl Freeze for Runtime
impl RefUnwindSafe for Runtime
impl Send for Runtime
impl Sync for Runtime
impl Unpin for Runtime
impl UnwindSafe for Runtime
Blanket Implementations§
§impl<T> AnySync for T
impl<T> AnySync for T
source§impl<T> AuthorityDiscoveryConfig for Twhere
T: Config,
impl<T> AuthorityDiscoveryConfig for Twhere
T: Config,
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
source§impl<T> CheckedConversion for T
impl<T> CheckedConversion for T
source§impl<T> CheckedConversion for T
impl<T> CheckedConversion for T
source§impl<T> CloneToUninit for Twhere
T: Copy,
impl<T> CloneToUninit for Twhere
T: Copy,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
clone_to_uninit
)source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§default unsafe fn clone_to_uninit(&self, dst: *mut T)
default unsafe fn clone_to_uninit(&self, dst: *mut T)
clone_to_uninit
)§impl<T> Conv for T
impl<T> Conv for T
§impl<T> Downcast for Twhere
T: Any,
impl<T> Downcast for Twhere
T: Any,
§fn into_any(self: Box<T>) -> Box<dyn Any>
fn into_any(self: Box<T>) -> Box<dyn Any>
Box<dyn Trait>
(where Trait: Downcast
) to Box<dyn Any>
. Box<dyn Any>
can
then be further downcast
into Box<ConcreteType>
where ConcreteType
implements Trait
.§fn into_any_rc(self: Rc<T>) -> Rc<dyn Any>
fn into_any_rc(self: Rc<T>) -> Rc<dyn Any>
Rc<Trait>
(where Trait: Downcast
) to Rc<Any>
. Rc<Any>
can then be
further downcast
into Rc<ConcreteType>
where ConcreteType
implements Trait
.§fn as_any(&self) -> &(dyn Any + 'static)
fn as_any(&self) -> &(dyn Any + 'static)
&Trait
(where Trait: Downcast
) to &Any
. This is needed since Rust cannot
generate &Any
’s vtable from &Trait
’s.§fn as_any_mut(&mut self) -> &mut (dyn Any + 'static)
fn as_any_mut(&mut self) -> &mut (dyn Any + 'static)
&mut Trait
(where Trait: Downcast
) to &Any
. This is needed since Rust cannot
generate &mut Any
’s vtable from &mut Trait
’s.§impl<T> DowncastSync for T
impl<T> DowncastSync for T
§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
§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
key
and return true
if they are equal.source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
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
§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,
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,
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,
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,
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,
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,
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,
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,
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,
source§impl<T> IdTupleConvert<T> for Twhere
T: Config + Config,
<T as Config>::IdentificationTuple: From<(<T as Config>::ValidatorId, <T as Config>::FullIdentification)>,
impl<T> IdTupleConvert<T> for Twhere
T: Config + Config,
<T as Config>::IdentificationTuple: From<(<T as Config>::ValidatorId, <T as Config>::FullIdentification)>,
source§fn convert(
id: (<T as Config>::ValidatorId, <T as Config>::FullIdentification),
) -> <T as Config>::IdentificationTuple
fn convert( id: (<T as Config>::ValidatorId, <T as Config>::FullIdentification), ) -> <T as Config>::IdentificationTuple
historical
trait to the one expected by offences
.§impl<T> Instrument for T
impl<T> Instrument for T
§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
source§impl<T> Instrument for T
impl<T> Instrument for T
source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
source§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>
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>
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read more§impl<Src, Dest> IntoTuple<Dest> for Srcwhere
Dest: FromTuple<Src>,
impl<Src, Dest> IntoTuple<Dest> for Srcwhere
Dest: FromTuple<Src>,
fn into_tuple(self) -> Dest
source§impl<T, Outer> IsWrappedBy<Outer> for T
impl<T, Outer> IsWrappedBy<Outer> for T
source§impl<T, Outer> IsWrappedBy<Outer> for T
impl<T, Outer> IsWrappedBy<Outer> for T
§impl<T> Pipe for Twhere
T: ?Sized,
impl<T> Pipe for Twhere
T: ?Sized,
§fn pipe<R>(self, func: impl FnOnce(Self) -> R) -> Rwhere
Self: Sized,
fn pipe<R>(self, func: impl FnOnce(Self) -> R) -> Rwhere
Self: Sized,
§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,
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,
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
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
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
self
, then passes self.deref()
into the pipe function.§impl<T> Pointable for T
impl<T> Pointable for T
source§impl<T> SaturatedConversion for T
impl<T> SaturatedConversion for T
source§fn saturated_from<T>(t: T) -> Selfwhere
Self: UniqueSaturatedFrom<T>,
fn saturated_from<T>(t: T) -> Selfwhere
Self: UniqueSaturatedFrom<T>,
source§fn saturated_into<T>(self) -> Twhere
Self: UniqueSaturatedInto<T>,
fn saturated_into<T>(self) -> Twhere
Self: UniqueSaturatedInto<T>,
T
. Read moresource§impl<T> SaturatedConversion for T
impl<T> SaturatedConversion for T
source§fn saturated_from<T>(t: T) -> Selfwhere
Self: UniqueSaturatedFrom<T>,
fn saturated_from<T>(t: T) -> Selfwhere
Self: UniqueSaturatedFrom<T>,
source§fn saturated_into<T>(self) -> Twhere
Self: UniqueSaturatedInto<T>,
fn saturated_into<T>(self) -> Twhere
Self: UniqueSaturatedInto<T>,
T
. Read more§impl<SS, SP> SupersetOf<SS> for SPwhere
SS: SubsetOf<SP>,
impl<SS, SP> SupersetOf<SS> for SPwhere
SS: SubsetOf<SP>,
§fn to_subset(&self) -> Option<SS>
fn to_subset(&self) -> Option<SS>
self
from the equivalent element of its
superset. Read more§fn is_in_subset(&self) -> bool
fn is_in_subset(&self) -> bool
self
is actually part of its subset T
(and can be converted to it).§fn to_subset_unchecked(&self) -> SS
fn to_subset_unchecked(&self) -> SS
self.to_subset
but without any property checks. Always succeeds.§fn from_subset(element: &SS) -> SP
fn from_subset(element: &SS) -> SP
self
to the equivalent element of its superset.§impl<T> Tap for T
impl<T> Tap for T
§fn tap_borrow<B>(self, func: impl FnOnce(&B)) -> Self
fn tap_borrow<B>(self, func: impl FnOnce(&B)) -> Self
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
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
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
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
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
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
.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
.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
.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
.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
.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
.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
.tap_deref()
only in debug builds, and is erased in release
builds.§impl<T> TryConv for T
impl<T> TryConv for T
source§impl<T, U> TryIntoKey<U> for Twhere
U: TryFromKey<T>,
impl<T, U> TryIntoKey<U> for Twhere
U: TryFromKey<T>,
type Error = <U as TryFromKey<T>>::Error
fn try_into_key(self) -> Result<U, <U as TryFromKey<T>>::Error>
source§impl<S, T> UncheckedInto<T> for Swhere
T: UncheckedFrom<S>,
impl<S, T> UncheckedInto<T> for Swhere
T: UncheckedFrom<S>,
source§fn unchecked_into(self) -> T
fn unchecked_into(self) -> T
unchecked_from
.source§impl<S, T> UncheckedInto<T> for Swhere
T: UncheckedFrom<S>,
impl<S, T> UncheckedInto<T> for Swhere
T: UncheckedFrom<S>,
source§fn unchecked_into(self) -> T
fn unchecked_into(self) -> T
unchecked_from
.source§impl<T, S> UniqueSaturatedInto<T> for S
impl<T, S> UniqueSaturatedInto<T> for S
source§fn unique_saturated_into(self) -> T
fn unique_saturated_into(self) -> T
T
.source§impl<T, S> UniqueSaturatedInto<T> for S
impl<T, S> UniqueSaturatedInto<T> for S
source§fn unique_saturated_into(self) -> T
fn unique_saturated_into(self) -> T
T
.