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>, RuntimeCall, MultiSignature, (CheckNonZeroSender<Runtime>, CheckSpecVersion<Runtime>, CheckTxVersion<Runtime>, CheckGenesis<Runtime>, CheckMortality<Runtime>, CheckNonce<Runtime>, CheckWeight<Runtime>, ChargeAssetTxPayment<Runtime>)>>, <<MultiSignature as Verify>::Signer as IdentifyAccount>::AccountId, u32> for Runtime
impl AccountNonceApiV1<Block<Header<u32, BlakeTwo256>, UncheckedExtrinsic<MultiAddress<<<MultiSignature as Verify>::Signer as IdentifyAccount>::AccountId, u32>, RuntimeCall, MultiSignature, (CheckNonZeroSender<Runtime>, CheckSpecVersion<Runtime>, CheckTxVersion<Runtime>, CheckGenesis<Runtime>, CheckMortality<Runtime>, CheckNonce<Runtime>, CheckWeight<Runtime>, ChargeAssetTxPayment<Runtime>)>>, <<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 AssetConversionApiV1<Block<Header<u32, BlakeTwo256>, UncheckedExtrinsic<MultiAddress<<<MultiSignature as Verify>::Signer as IdentifyAccount>::AccountId, u32>, RuntimeCall, MultiSignature, (CheckNonZeroSender<Runtime>, CheckSpecVersion<Runtime>, CheckTxVersion<Runtime>, CheckGenesis<Runtime>, CheckMortality<Runtime>, CheckNonce<Runtime>, CheckWeight<Runtime>, ChargeAssetTxPayment<Runtime>)>>, u128, u128, NativeOrAssetId<u32>> for Runtime
impl AssetConversionApiV1<Block<Header<u32, BlakeTwo256>, UncheckedExtrinsic<MultiAddress<<<MultiSignature as Verify>::Signer as IdentifyAccount>::AccountId, u32>, RuntimeCall, MultiSignature, (CheckNonZeroSender<Runtime>, CheckSpecVersion<Runtime>, CheckTxVersion<Runtime>, CheckGenesis<Runtime>, CheckMortality<Runtime>, CheckNonce<Runtime>, CheckWeight<Runtime>, ChargeAssetTxPayment<Runtime>)>>, u128, u128, NativeOrAssetId<u32>> for Runtime
source§fn quote_price_exact_tokens_for_tokens(
asset1: NativeOrAssetId<u32>,
asset2: NativeOrAssetId<u32>,
amount: u128,
include_fee: bool
) -> Option<Balance>
fn quote_price_exact_tokens_for_tokens( asset1: NativeOrAssetId<u32>, asset2: NativeOrAssetId<u32>, amount: u128, include_fee: bool ) -> Option<Balance>
Pallet::swap_exact_tokens_for_tokens
. Read moresource§fn quote_price_tokens_for_exact_tokens(
asset1: NativeOrAssetId<u32>,
asset2: NativeOrAssetId<u32>,
amount: u128,
include_fee: bool
) -> Option<Balance>
fn quote_price_tokens_for_exact_tokens( asset1: NativeOrAssetId<u32>, asset2: NativeOrAssetId<u32>, amount: u128, include_fee: bool ) -> Option<Balance>
Pallet::swap_tokens_for_exact_tokens
. Read moresource§fn get_reserves(
asset1: NativeOrAssetId<u32>,
asset2: NativeOrAssetId<u32>
) -> Option<(Balance, Balance)>
fn get_reserves( asset1: NativeOrAssetId<u32>, asset2: NativeOrAssetId<u32> ) -> Option<(Balance, Balance)>
source§impl AuthorityDiscoveryApiV1<Block<Header<u32, BlakeTwo256>, UncheckedExtrinsic<MultiAddress<<<MultiSignature as Verify>::Signer as IdentifyAccount>::AccountId, u32>, RuntimeCall, MultiSignature, (CheckNonZeroSender<Runtime>, CheckSpecVersion<Runtime>, CheckTxVersion<Runtime>, CheckGenesis<Runtime>, CheckMortality<Runtime>, CheckNonce<Runtime>, CheckWeight<Runtime>, ChargeAssetTxPayment<Runtime>)>>> for Runtime
impl AuthorityDiscoveryApiV1<Block<Header<u32, BlakeTwo256>, UncheckedExtrinsic<MultiAddress<<<MultiSignature as Verify>::Signer as IdentifyAccount>::AccountId, u32>, RuntimeCall, MultiSignature, (CheckNonZeroSender<Runtime>, CheckSpecVersion<Runtime>, CheckTxVersion<Runtime>, CheckGenesis<Runtime>, CheckMortality<Runtime>, CheckNonce<Runtime>, CheckWeight<Runtime>, ChargeAssetTxPayment<Runtime>)>>> for Runtime
source§impl BabeApiV2<Block<Header<u32, BlakeTwo256>, UncheckedExtrinsic<MultiAddress<<<MultiSignature as Verify>::Signer as IdentifyAccount>::AccountId, u32>, RuntimeCall, MultiSignature, (CheckNonZeroSender<Runtime>, CheckSpecVersion<Runtime>, CheckTxVersion<Runtime>, CheckGenesis<Runtime>, CheckMortality<Runtime>, CheckNonce<Runtime>, CheckWeight<Runtime>, ChargeAssetTxPayment<Runtime>)>>> for Runtime
impl BabeApiV2<Block<Header<u32, BlakeTwo256>, UncheckedExtrinsic<MultiAddress<<<MultiSignature as Verify>::Signer as IdentifyAccount>::AccountId, u32>, RuntimeCall, MultiSignature, (CheckNonZeroSender<Runtime>, CheckSpecVersion<Runtime>, CheckTxVersion<Runtime>, CheckGenesis<Runtime>, CheckMortality<Runtime>, CheckNonce<Runtime>, CheckWeight<Runtime>, ChargeAssetTxPayment<Runtime>)>>> 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 BenchmarkV1<Block<Header<u32, BlakeTwo256>, UncheckedExtrinsic<MultiAddress<<<MultiSignature as Verify>::Signer as IdentifyAccount>::AccountId, u32>, RuntimeCall, MultiSignature, (CheckNonZeroSender<Runtime>, CheckSpecVersion<Runtime>, CheckTxVersion<Runtime>, CheckGenesis<Runtime>, CheckMortality<Runtime>, CheckNonce<Runtime>, CheckWeight<Runtime>, ChargeAssetTxPayment<Runtime>)>>> for Runtime
impl BenchmarkV1<Block<Header<u32, BlakeTwo256>, UncheckedExtrinsic<MultiAddress<<<MultiSignature as Verify>::Signer as IdentifyAccount>::AccountId, u32>, RuntimeCall, MultiSignature, (CheckNonZeroSender<Runtime>, CheckSpecVersion<Runtime>, CheckTxVersion<Runtime>, CheckGenesis<Runtime>, CheckMortality<Runtime>, CheckNonce<Runtime>, CheckWeight<Runtime>, ChargeAssetTxPayment<Runtime>)>>> 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>, RuntimeCall, MultiSignature, (CheckNonZeroSender<Runtime>, CheckSpecVersion<Runtime>, CheckTxVersion<Runtime>, CheckGenesis<Runtime>, CheckMortality<Runtime>, CheckNonce<Runtime>, CheckWeight<Runtime>, ChargeAssetTxPayment<Runtime>)>>> for Runtime
impl BlockBuilderV6<Block<Header<u32, BlakeTwo256>, UncheckedExtrinsic<MultiAddress<<<MultiSignature as Verify>::Signer as IdentifyAccount>::AccountId, u32>, RuntimeCall, MultiSignature, (CheckNonZeroSender<Runtime>, CheckSpecVersion<Runtime>, CheckTxVersion<Runtime>, CheckGenesis<Runtime>, CheckMortality<Runtime>, CheckNonce<Runtime>, CheckWeight<Runtime>, ChargeAssetTxPayment<Runtime>)>>> 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<()> 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 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 = ()
type FreezeIdentifier = ()
§type MaxFreezes = ()
type MaxFreezes = ()
§type RuntimeHoldReason = RuntimeHoldReason
type RuntimeHoldReason = RuntimeHoldReason
source§impl Config<()> for Runtime
impl Config<()> for Runtime
§type PalletId = TreasuryPalletId
type PalletId = TreasuryPalletId
§type ApproveOrigin = EitherOfDiverse<EnsureRoot<<<MultiSignature as Verify>::Signer as IdentifyAccount>::AccountId>, EnsureProportionAtLeast<<<MultiSignature as Verify>::Signer as IdentifyAccount>::AccountId, Instance1, 3, 5>>
type ApproveOrigin = EitherOfDiverse<EnsureRoot<<<MultiSignature as Verify>::Signer as IdentifyAccount>::AccountId>, EnsureProportionAtLeast<<<MultiSignature as Verify>::Signer as IdentifyAccount>::AccountId, Instance1, 3, 5>>
§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 OnSlash = ()
type OnSlash = ()
§type ProposalBond = ProposalBond
type ProposalBond = ProposalBond
§type ProposalBondMinimum = ProposalBondMinimum
type ProposalBondMinimum = ProposalBondMinimum
§type ProposalBondMaximum = ()
type ProposalBondMaximum = ()
§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 that this origin is allowed to
spend at a time.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 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 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 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 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 WeightInfo = SubstrateWeight<Runtime>
type WeightInfo = SubstrateWeight<Runtime>
§type RuntimeEvent = RuntimeEvent
type RuntimeEvent = RuntimeEvent
§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 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
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 = ()
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 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<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
source§const INDEXING_PREFIX: &'static [u8] = b"mmr"
const INDEXING_PREFIX: &'static [u8] = b"mmr"
§type LeafData = ParentNumberAndHash<Runtime>
type LeafData = ParentNumberAndHash<Runtime>
§type WeightInfo = ()
type WeightInfo = ()
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<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
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 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 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 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 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
§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 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 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 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 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 Currency = Pallet<Runtime, ()>
type Currency = Pallet<Runtime, ()>
§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 MaxDebugBufferLen = ConstU32<{ 2 * 1024 * 1024 }>
type MaxDebugBufferLen = ConstU32<{ 2 * 1024 * 1024 }>
§type RuntimeHoldReason = RuntimeHoldReason
type RuntimeHoldReason = RuntimeHoldReason
§type Migrations = (NoopMigration<14>, NoopMigration<15>)
type Migrations = (NoopMigration<14>, NoopMigration<15>)
§type MaxDelegateDependencies = ConstU32<32>
type MaxDelegateDependencies = ConstU32<32>
chain_extension::Ext::add_delegate_dependency
.§type CodeHashLockupDepositPercent = CodeHashLockupDepositPercent
type CodeHashLockupDepositPercent = CodeHashLockupDepositPercent
chain_extension::Ext::add_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 = ()
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 PriceAdapter = Linear
type PriceAdapter = Linear
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 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
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 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 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 MaxNominatorRewardedPerValidator = MaxNominatorRewardedPerValidator
type MaxNominatorRewardedPerValidator = MaxNominatorRewardedPerValidator
§type OffendingValidatorsThreshold = OffendingValidatorsThreshold
type OffendingValidatorsThreshold = OffendingValidatorsThreshold
§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 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
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 = MaxNominatorRewardedPerValidator
type MaxNominators = MaxNominatorRewardedPerValidator
§type KeyOwnerProof = <Pallet<Runtime> as KeyOwnerProofSystem<(KeyTypeId, Public)>>::Proof
type KeyOwnerProof = <Pallet<Runtime> as KeyOwnerProofSystem<(KeyTypeId, Public)>>::Proof
§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 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 WeightInfo = ()
type WeightInfo = ()
§type RuntimeEvent = RuntimeEvent
type RuntimeEvent = RuntimeEvent
§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 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 moresource§impl Config for Runtime
impl Config for Runtime
§type MessageProcessor = NoopMessageProcessor<u32, 1>
type MessageProcessor = NoopMessageProcessor<u32, 1>
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
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 Slash = Pallet<Runtime, ()>
type Slash = Pallet<Runtime, ()>
§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 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 AssetBalance = <Runtime as Config<()>>::Balance
type AssetBalance = <Runtime as Config<()>>::Balance
§type HigherPrecisionBalance = U256
type HigherPrecisionBalance = U256
Balance
and AssetBalance
.§type PoolAssets = Pallet<Runtime, Instance2>
type PoolAssets = Pallet<Runtime, Instance2>
§type AssetId = <Runtime as Config<Instance1>>::AssetId
type AssetId = <Runtime as Config<Instance1>>::AssetId
From<u32>
bound here would prevent MultiLocation
from being used as an
AssetId
.§type MultiAssetId = NativeOrAssetId<u32>
type MultiAssetId = NativeOrAssetId<u32>
Assets
.
Ord
is added because of get_pool_id
. Read more§type PoolAssetId = <Runtime as Config<Instance2>>::AssetId
type PoolAssetId = <Runtime as Config<Instance2>>::AssetId
AssetId
to address the lp tokens by.§type PalletId = AssetConversionPalletId
type PalletId = AssetConversionPalletId
§type LPFee = ConstU32<3>
type LPFee = ConstU32<3>
§type PoolSetupFee = PoolSetupFee
type PoolSetupFee = PoolSetupFee
§type PoolSetupFeeReceiver = AssetConversionOrigin
type PoolSetupFeeReceiver = AssetConversionOrigin
§type LiquidityWithdrawalFee = LiquidityWithdrawalFee
type LiquidityWithdrawalFee = LiquidityWithdrawalFee
§type WeightInfo = SubstrateWeight<Runtime>
type WeightInfo = SubstrateWeight<Runtime>
§type AllowMultiAssetPools = AllowMultiAssetPools
type AllowMultiAssetPools = AllowMultiAssetPools
§type MaxSwapPathLength = ConstU32<4>
type MaxSwapPathLength = ConstU32<4>
§type MintMinLiquidity = MintMinLiquidity
type MintMinLiquidity = MintMinLiquidity
§type MultiAssetIdConverter = NativeOrAssetIdConverter<u32>
type MultiAssetIdConverter = NativeOrAssetIdConverter<u32>
AssetId
into MultiAssetId
.§type BenchmarkHelper = ()
type BenchmarkHelper = ()
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 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 RuntimeOrigin = RuntimeOrigin
type RuntimeOrigin = RuntimeOrigin
RuntimeOrigin
type used by dispatchable calls.§type RuntimeCall = RuntimeCall
type RuntimeCall = RuntimeCall
RuntimeCall
type.§type Hashing = BlakeTwo256
type Hashing = BlakeTwo256
§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>, RuntimeCall, MultiSignature, (CheckNonZeroSender<Runtime>, CheckSpecVersion<Runtime>, CheckTxVersion<Runtime>, CheckGenesis<Runtime>, CheckMortality<Runtime>, CheckNonce<Runtime>, CheckWeight<Runtime>, ChargeAssetTxPayment<Runtime>)>>
type Block = Block<Header<u32, BlakeTwo256>, UncheckedExtrinsic<MultiAddress<<<MultiSignature as Verify>::Signer as IdentifyAccount>::AccountId, u32>, RuntimeCall, MultiSignature, (CheckNonZeroSender<Runtime>, CheckSpecVersion<Runtime>, CheckTxVersion<Runtime>, CheckGenesis<Runtime>, CheckMortality<Runtime>, CheckNonce<Runtime>, CheckWeight<Runtime>, ChargeAssetTxPayment<Runtime>)>>
construct_runtime
to retrieve the
extrinsics or other block specific data as needed.§type RuntimeEvent = RuntimeEvent
type RuntimeEvent = RuntimeEvent
§type BlockHashCount = BlockHashCount
type BlockHashCount = BlockHashCount
§type PalletInfo = PalletInfo
type PalletInfo = PalletInfo
§type AccountData = AccountData<u128>
type AccountData = AccountData<u128>
§type OnNewAccount = ()
type OnNewAccount = ()
§type OnKilledAccount = ()
type OnKilledAccount = ()
type SystemWeightInfo = SubstrateWeight<Runtime>
§type SS58Prefix = ConstU16<42>
type SS58Prefix = ConstU16<42>
§type MaxConsumers = ConstU32<16>
type MaxConsumers = ConstU32<16>
source§impl Config for Runtime
impl Config for Runtime
§type RuntimeEvent = RuntimeEvent
type RuntimeEvent = RuntimeEvent
§type Fungibles = Pallet<Runtime, Instance1>
type Fungibles = Pallet<Runtime, Instance1>
§type OnChargeAssetTransaction = FungiblesAdapter<BalanceToAssetBalance<Pallet<Runtime, ()>, Runtime, ConvertInto, Instance1>, CreditToBlockAuthor>
type OnChargeAssetTransaction = FungiblesAdapter<BalanceToAssetBalance<Pallet<Runtime, ()>, Runtime, ConvertInto, Instance1>, CreditToBlockAuthor>
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
fitler.
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 RuntimeEvent = RuntimeEvent
type RuntimeEvent = RuntimeEvent
§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 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>
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 RuntimeEvent = RuntimeEvent
§type Fungibles = Pallet<Runtime, Instance1>
type Fungibles = Pallet<Runtime, Instance1>
§type OnChargeAssetTransaction = AssetConversionAdapter<Pallet<Runtime, ()>, Pallet<Runtime>>
type OnChargeAssetTransaction = AssetConversionAdapter<Pallet<Runtime, ()>, Pallet<Runtime>>
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 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 RuntimeEvent = RuntimeEvent
type RuntimeEvent = RuntimeEvent
§type WeightInfo = ()
type WeightInfo = ()
§type MaxAuthorities = MaxAuthorities
type MaxAuthorities = MaxAuthorities
§type MaxNominators = MaxNominatorRewardedPerValidator
type MaxNominators = MaxNominatorRewardedPerValidator
§type MaxSetIdSessionEntries = MaxSetIdSessionEntries
type MaxSetIdSessionEntries = MaxSetIdSessionEntries
§type KeyOwnerProof = <Pallet<Runtime> as KeyOwnerProofSystem<(KeyTypeId, Public)>>::Proof
type KeyOwnerProof = <Pallet<Runtime> as KeyOwnerProofSystem<(KeyTypeId, Public)>>::Proof
§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 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 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
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 BasicDeposit = BasicDeposit
type BasicDeposit = BasicDeposit
§type FieldDeposit = FieldDeposit
type FieldDeposit = FieldDeposit
§type SubAccountDeposit = SubAccountDeposit
type SubAccountDeposit = SubAccountDeposit
§type MaxSubAccounts = MaxSubAccounts
type MaxSubAccounts = MaxSubAccounts
§type MaxAdditionalFields = MaxAdditionalFields
type MaxAdditionalFields = 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 WeightInfo = SubstrateWeight<Runtime>
type WeightInfo = SubstrateWeight<Runtime>
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>
§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 OnTimestampSet = Pallet<Runtime>
type OnTimestampSet = Pallet<Runtime>
()
if not
needed.§type MinimumPeriod = MinimumPeriod
type MinimumPeriod = MinimumPeriod
§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 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 MaxBackersPerValidator = MaxNominatorRewardedPerValidator
type MaxBackersPerValidator = MaxNominatorRewardedPerValidator
§type WeightInfo = ()
type WeightInfo = ()
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
source§fn prepare_set_code_data() -> Vec<u8, Global> ⓘ
fn prepare_set_code_data() -> Vec<u8, Global> ⓘ
source§fn setup_set_code_requirements(
_code: &Vec<u8, Global>
) -> Result<(), BenchmarkError>
fn setup_set_code_requirements( _code: &Vec<u8, Global> ) -> Result<(), BenchmarkError>
set_code
.source§fn verify_set_code()
fn verify_set_code()
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 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 WeightInfo = SubstrateWeight<Runtime>
type WeightInfo = SubstrateWeight<Runtime>
§type RuntimeEvent = RuntimeEvent
type RuntimeEvent = RuntimeEvent
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 FindAuthor = FindAccountFromAuthorIndex<Runtime, Pallet<Runtime>>
type FindAuthor = FindAccountFromAuthorIndex<Runtime, 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 ManagerOrigin = EnsureRoot<<<MultiSignature as Verify>::Signer as IdentifyAccount>::AccountId>
type ManagerOrigin = EnsureRoot<<<MultiSignature as Verify>::Signer as IdentifyAccount>::AccountId>
§type BaseDeposit = PreimageBaseDeposit
type BaseDeposit = PreimageBaseDeposit
§type ByteDeposit = PreimageByteDeposit
type ByteDeposit = PreimageByteDeposit
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 BetterUnsignedThreshold = BetterUnsignedThreshold
type BetterUnsignedThreshold = BetterUnsignedThreshold
§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 = SignedDepositBase
type SignedDepositBase = SignedDepositBase
§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 ContractsApiV2<Block<Header<u32, BlakeTwo256>, UncheckedExtrinsic<MultiAddress<<<MultiSignature as Verify>::Signer as IdentifyAccount>::AccountId, u32>, RuntimeCall, MultiSignature, (CheckNonZeroSender<Runtime>, CheckSpecVersion<Runtime>, CheckTxVersion<Runtime>, CheckGenesis<Runtime>, CheckMortality<Runtime>, CheckNonce<Runtime>, CheckWeight<Runtime>, ChargeAssetTxPayment<Runtime>)>>, <<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>, RuntimeCall, MultiSignature, (CheckNonZeroSender<Runtime>, CheckSpecVersion<Runtime>, CheckTxVersion<Runtime>, CheckGenesis<Runtime>, CheckMortality<Runtime>, CheckNonce<Runtime>, CheckWeight<Runtime>, ChargeAssetTxPayment<Runtime>)>>, <<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 CoreV4<Block<Header<u32, BlakeTwo256>, UncheckedExtrinsic<MultiAddress<<<MultiSignature as Verify>::Signer as IdentifyAccount>::AccountId, u32>, RuntimeCall, MultiSignature, (CheckNonZeroSender<Runtime>, CheckSpecVersion<Runtime>, CheckTxVersion<Runtime>, CheckGenesis<Runtime>, CheckMortality<Runtime>, CheckNonce<Runtime>, CheckWeight<Runtime>, ChargeAssetTxPayment<Runtime>)>>> for Runtime
impl CoreV4<Block<Header<u32, BlakeTwo256>, UncheckedExtrinsic<MultiAddress<<<MultiSignature as Verify>::Signer as IdentifyAccount>::AccountId, u32>, RuntimeCall, MultiSignature, (CheckNonZeroSender<Runtime>, CheckSpecVersion<Runtime>, CheckTxVersion<Runtime>, CheckGenesis<Runtime>, CheckMortality<Runtime>, CheckNonce<Runtime>, CheckWeight<Runtime>, ChargeAssetTxPayment<Runtime>)>>> for Runtime
source§fn version() -> RuntimeVersion
fn version() -> RuntimeVersion
source§fn execute_block(block: Block)
fn execute_block(block: Block)
source§impl<LocalCall> CreateSignedTransaction<LocalCall> for Runtimewhere
RuntimeCall: From<LocalCall>,
impl<LocalCall> CreateSignedTransaction<LocalCall> for Runtimewhere RuntimeCall: From<LocalCall>,
source§fn create_transaction<C: AppCrypto<Self::Public, Self::Signature>>(
call: RuntimeCall,
public: <Signature as Verify>::Signer,
account: AccountId,
nonce: Nonce
) -> Option<(RuntimeCall, <UncheckedExtrinsic as Extrinsic>::SignaturePayload)>
fn create_transaction<C: AppCrypto<Self::Public, Self::Signature>>( call: RuntimeCall, public: <Signature as Verify>::Signer, account: AccountId, nonce: Nonce ) -> Option<(RuntimeCall, <UncheckedExtrinsic as Extrinsic>::SignaturePayload)>
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>, RuntimeCall, MultiSignature, (CheckNonZeroSender<Runtime>, CheckSpecVersion<Runtime>, CheckTxVersion<Runtime>, CheckGenesis<Runtime>, CheckMortality<Runtime>, CheckNonce<Runtime>, CheckWeight<Runtime>, ChargeAssetTxPayment<Runtime>)>>> for Runtime
impl GrandpaApiV3<Block<Header<u32, BlakeTwo256>, UncheckedExtrinsic<MultiAddress<<<MultiSignature as Verify>::Signer as IdentifyAccount>::AccountId, u32>, RuntimeCall, MultiSignature, (CheckNonZeroSender<Runtime>, CheckSpecVersion<Runtime>, CheckTxVersion<Runtime>, CheckGenesis<Runtime>, CheckMortality<Runtime>, CheckNonce<Runtime>, CheckWeight<Runtime>, ChargeAssetTxPayment<Runtime>)>>> 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>, RuntimeCall, MultiSignature, (CheckNonZeroSender<Runtime>, CheckSpecVersion<Runtime>, CheckTxVersion<Runtime>, CheckGenesis<Runtime>, CheckMortality<Runtime>, CheckNonce<Runtime>, CheckWeight<Runtime>, ChargeAssetTxPayment<Runtime>)>>> for Runtime
impl MetadataV2<Block<Header<u32, BlakeTwo256>, UncheckedExtrinsic<MultiAddress<<<MultiSignature as Verify>::Signer as IdentifyAccount>::AccountId, u32>, RuntimeCall, MultiSignature, (CheckNonZeroSender<Runtime>, CheckSpecVersion<Runtime>, CheckTxVersion<Runtime>, CheckGenesis<Runtime>, CheckMortality<Runtime>, CheckNonce<Runtime>, CheckWeight<Runtime>, ChargeAssetTxPayment<Runtime>)>>> 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<__SrApiBlock__: BlockT + UnwindSafe + RefUnwindSafe, RuntimeApiImplCall: CallApiAt<__SrApiBlock__> + 'static> MmrApi<__SrApiBlock__, <<Runtime as Config<()>>::Hashing as Hash>::Output, u32> for RuntimeApiImpl<__SrApiBlock__, RuntimeApiImplCall>where
RuntimeApiImplCall::StateBackend: StateBackend<HashingFor<__SrApiBlock__>>,
&'static RuntimeApiImplCall: Send,
Result<<<Runtime as Config>::Hashing as Hash>::Output, Error>: UnwindSafe + RefUnwindSafe,
Result<LeafIndex, Error>: UnwindSafe + RefUnwindSafe,
Vec<BlockNumber>: UnwindSafe + RefUnwindSafe,
Option<BlockNumber>: UnwindSafe + RefUnwindSafe,
Result<(Vec<EncodableOpaqueLeaf>, Proof<<<Runtime as Config>::Hashing as Hash>::Output>), Error>: UnwindSafe + RefUnwindSafe,
Vec<EncodableOpaqueLeaf>: UnwindSafe + RefUnwindSafe,
Proof<<<Runtime as Config>::Hashing as Hash>::Output>: UnwindSafe + RefUnwindSafe,
Result<(), Error>: UnwindSafe + RefUnwindSafe,
<<Runtime as Config>::Hashing as Hash>::Output: UnwindSafe + RefUnwindSafe,
__SrApiBlock__::Header: UnwindSafe + RefUnwindSafe,
impl<__SrApiBlock__: BlockT + UnwindSafe + RefUnwindSafe, RuntimeApiImplCall: CallApiAt<__SrApiBlock__> + 'static> MmrApi<__SrApiBlock__, <<Runtime as Config<()>>::Hashing as Hash>::Output, u32> for RuntimeApiImpl<__SrApiBlock__, RuntimeApiImplCall>where RuntimeApiImplCall::StateBackend: StateBackend<HashingFor<__SrApiBlock__>>, &'static RuntimeApiImplCall: Send, Result<<<Runtime as Config>::Hashing as Hash>::Output, Error>: UnwindSafe + RefUnwindSafe, Result<LeafIndex, Error>: UnwindSafe + RefUnwindSafe, Vec<BlockNumber>: UnwindSafe + RefUnwindSafe, Option<BlockNumber>: UnwindSafe + RefUnwindSafe, Result<(Vec<EncodableOpaqueLeaf>, Proof<<<Runtime as Config>::Hashing as Hash>::Output>), Error>: UnwindSafe + RefUnwindSafe, Vec<EncodableOpaqueLeaf>: UnwindSafe + RefUnwindSafe, Proof<<<Runtime as Config>::Hashing as Hash>::Output>: UnwindSafe + RefUnwindSafe, Result<(), Error>: UnwindSafe + RefUnwindSafe, <<Runtime as Config>::Hashing as Hash>::Output: UnwindSafe + RefUnwindSafe, __SrApiBlock__::Header: UnwindSafe + RefUnwindSafe,
source§fn mmr_root(
&self,
__runtime_api_at_param__: <Block as Block>::Hash
) -> Result<Result<Hash, Error>, ApiError>
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, Global>,
best_known_block_number: Option<BlockNumber>
) -> Result<Result<(Vec<EncodableOpaqueLeaf, Global>, Proof<Hash>), Error>, ApiError>
fn generate_proof( &self, __runtime_api_at_param__: <Block as Block>::Hash, block_numbers: Vec<BlockNumber, Global>, best_known_block_number: Option<BlockNumber> ) -> Result<Result<(Vec<EncodableOpaqueLeaf, Global>, Proof<Hash>), Error>, ApiError>
best_known_block_number = Some(n)
,
use historical MMR state at given block height n
. Else, use current MMR state.source§impl MmrApiV2<Block<Header<u32, BlakeTwo256>, UncheckedExtrinsic<MultiAddress<<<MultiSignature as Verify>::Signer as IdentifyAccount>::AccountId, u32>, RuntimeCall, MultiSignature, (CheckNonZeroSender<Runtime>, CheckSpecVersion<Runtime>, CheckTxVersion<Runtime>, CheckGenesis<Runtime>, CheckMortality<Runtime>, CheckNonce<Runtime>, CheckWeight<Runtime>, ChargeAssetTxPayment<Runtime>)>>, <<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>, RuntimeCall, MultiSignature, (CheckNonZeroSender<Runtime>, CheckSpecVersion<Runtime>, CheckTxVersion<Runtime>, CheckGenesis<Runtime>, CheckMortality<Runtime>, CheckNonce<Runtime>, CheckWeight<Runtime>, ChargeAssetTxPayment<Runtime>)>>, <<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>, Proof<<<Runtime as Config>::Hashing as Hash>::Output>), Error>
fn generate_proof( block_numbers: Vec<BlockNumber>, best_known_block_number: Option<BlockNumber> ) -> Result<(Vec<EncodableOpaqueLeaf>, Proof<<<Runtime as Config>::Hashing as Hash>::Output>), Error>
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>, RuntimeCall, MultiSignature, (CheckNonZeroSender<Runtime>, CheckSpecVersion<Runtime>, CheckTxVersion<Runtime>, CheckGenesis<Runtime>, CheckMortality<Runtime>, CheckNonce<Runtime>, CheckWeight<Runtime>, ChargeAssetTxPayment<Runtime>)>>, <<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>, RuntimeCall, MultiSignature, (CheckNonZeroSender<Runtime>, CheckSpecVersion<Runtime>, CheckTxVersion<Runtime>, CheckGenesis<Runtime>, CheckMortality<Runtime>, CheckNonce<Runtime>, CheckWeight<Runtime>, ChargeAssetTxPayment<Runtime>)>>, <<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: 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>, RuntimeCall, MultiSignature, (CheckNonZeroSender<Runtime>, CheckSpecVersion<Runtime>, CheckTxVersion<Runtime>, CheckGenesis<Runtime>, CheckMortality<Runtime>, CheckNonce<Runtime>, CheckWeight<Runtime>, ChargeAssetTxPayment<Runtime>)>>, <<MultiSignature as Verify>::Signer as IdentifyAccount>::AccountId, u128> for Runtime
impl NominationPoolsApiV1<Block<Header<u32, BlakeTwo256>, UncheckedExtrinsic<MultiAddress<<<MultiSignature as Verify>::Signer as IdentifyAccount>::AccountId, u32>, RuntimeCall, MultiSignature, (CheckNonZeroSender<Runtime>, CheckSpecVersion<Runtime>, CheckTxVersion<Runtime>, CheckGenesis<Runtime>, CheckMortality<Runtime>, CheckNonce<Runtime>, CheckWeight<Runtime>, ChargeAssetTxPayment<Runtime>)>>, <<MultiSignature as Verify>::Signer as IdentifyAccount>::AccountId, u128> for Runtime
source§impl OffchainWorkerApiV2<Block<Header<u32, BlakeTwo256>, UncheckedExtrinsic<MultiAddress<<<MultiSignature as Verify>::Signer as IdentifyAccount>::AccountId, u32>, RuntimeCall, MultiSignature, (CheckNonZeroSender<Runtime>, CheckSpecVersion<Runtime>, CheckTxVersion<Runtime>, CheckGenesis<Runtime>, CheckMortality<Runtime>, CheckNonce<Runtime>, CheckWeight<Runtime>, ChargeAssetTxPayment<Runtime>)>>> for Runtime
impl OffchainWorkerApiV2<Block<Header<u32, BlakeTwo256>, UncheckedExtrinsic<MultiAddress<<<MultiSignature as Verify>::Signer as IdentifyAccount>::AccountId, u32>, RuntimeCall, MultiSignature, (CheckNonZeroSender<Runtime>, CheckSpecVersion<Runtime>, CheckTxVersion<Runtime>, CheckGenesis<Runtime>, CheckMortality<Runtime>, CheckNonce<Runtime>, CheckWeight<Runtime>, ChargeAssetTxPayment<Runtime>)>>> for Runtime
source§impl PartialEq<Runtime> for Runtime
impl PartialEq<Runtime> for Runtime
source§impl<C> SendTransactionTypes<C> for Runtimewhere
RuntimeCall: From<C>,
impl<C> SendTransactionTypes<C> for Runtimewhere RuntimeCall: From<C>,
§type Extrinsic = UncheckedExtrinsic<MultiAddress<<<MultiSignature as Verify>::Signer as IdentifyAccount>::AccountId, u32>, RuntimeCall, MultiSignature, (CheckNonZeroSender<Runtime>, CheckSpecVersion<Runtime>, CheckTxVersion<Runtime>, CheckGenesis<Runtime>, CheckMortality<Runtime>, CheckNonce<Runtime>, CheckWeight<Runtime>, ChargeAssetTxPayment<Runtime>)>
type Extrinsic = UncheckedExtrinsic<MultiAddress<<<MultiSignature as Verify>::Signer as IdentifyAccount>::AccountId, u32>, RuntimeCall, MultiSignature, (CheckNonZeroSender<Runtime>, CheckSpecVersion<Runtime>, CheckTxVersion<Runtime>, CheckGenesis<Runtime>, CheckMortality<Runtime>, CheckNonce<Runtime>, CheckWeight<Runtime>, ChargeAssetTxPayment<Runtime>)>
§type OverarchingCall = RuntimeCall
type OverarchingCall = RuntimeCall
source§impl SessionKeysV1<Block<Header<u32, BlakeTwo256>, UncheckedExtrinsic<MultiAddress<<<MultiSignature as Verify>::Signer as IdentifyAccount>::AccountId, u32>, RuntimeCall, MultiSignature, (CheckNonZeroSender<Runtime>, CheckSpecVersion<Runtime>, CheckTxVersion<Runtime>, CheckGenesis<Runtime>, CheckMortality<Runtime>, CheckNonce<Runtime>, CheckWeight<Runtime>, ChargeAssetTxPayment<Runtime>)>>> for Runtime
impl SessionKeysV1<Block<Header<u32, BlakeTwo256>, UncheckedExtrinsic<MultiAddress<<<MultiSignature as Verify>::Signer as IdentifyAccount>::AccountId, u32>, RuntimeCall, MultiSignature, (CheckNonZeroSender<Runtime>, CheckSpecVersion<Runtime>, CheckTxVersion<Runtime>, CheckGenesis<Runtime>, CheckMortality<Runtime>, CheckNonce<Runtime>, CheckWeight<Runtime>, ChargeAssetTxPayment<Runtime>)>>> 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>, RuntimeCall, MultiSignature, (CheckNonZeroSender<Runtime>, CheckSpecVersion<Runtime>, CheckTxVersion<Runtime>, CheckGenesis<Runtime>, CheckMortality<Runtime>, CheckNonce<Runtime>, CheckWeight<Runtime>, ChargeAssetTxPayment<Runtime>)>>, u128> for Runtime
impl StakingApiV1<Block<Header<u32, BlakeTwo256>, UncheckedExtrinsic<MultiAddress<<<MultiSignature as Verify>::Signer as IdentifyAccount>::AccountId, u32>, RuntimeCall, MultiSignature, (CheckNonZeroSender<Runtime>, CheckSpecVersion<Runtime>, CheckTxVersion<Runtime>, CheckGenesis<Runtime>, CheckMortality<Runtime>, CheckNonce<Runtime>, CheckWeight<Runtime>, ChargeAssetTxPayment<Runtime>)>>, u128> for Runtime
source§fn nominations_quota(balance: Balance) -> u32
fn nominations_quota(balance: Balance) -> u32
source§impl TaggedTransactionQueueV3<Block<Header<u32, BlakeTwo256>, UncheckedExtrinsic<MultiAddress<<<MultiSignature as Verify>::Signer as IdentifyAccount>::AccountId, u32>, RuntimeCall, MultiSignature, (CheckNonZeroSender<Runtime>, CheckSpecVersion<Runtime>, CheckTxVersion<Runtime>, CheckGenesis<Runtime>, CheckMortality<Runtime>, CheckNonce<Runtime>, CheckWeight<Runtime>, ChargeAssetTxPayment<Runtime>)>>> for Runtime
impl TaggedTransactionQueueV3<Block<Header<u32, BlakeTwo256>, UncheckedExtrinsic<MultiAddress<<<MultiSignature as Verify>::Signer as IdentifyAccount>::AccountId, u32>, RuntimeCall, MultiSignature, (CheckNonZeroSender<Runtime>, CheckSpecVersion<Runtime>, CheckTxVersion<Runtime>, CheckGenesis<Runtime>, CheckMortality<Runtime>, CheckNonce<Runtime>, CheckWeight<Runtime>, ChargeAssetTxPayment<Runtime>)>>> for Runtime
source§fn validate_transaction(
source: TransactionSource,
tx: <Block as BlockT>::Extrinsic,
block_hash: <Block as BlockT>::Hash
) -> TransactionValidity
fn validate_transaction( source: TransactionSource, tx: <Block as BlockT>::Extrinsic, block_hash: <Block as BlockT>::Hash ) -> TransactionValidity
source§impl TransactionPaymentApiV4<Block<Header<u32, BlakeTwo256>, UncheckedExtrinsic<MultiAddress<<<MultiSignature as Verify>::Signer as IdentifyAccount>::AccountId, u32>, RuntimeCall, MultiSignature, (CheckNonZeroSender<Runtime>, CheckSpecVersion<Runtime>, CheckTxVersion<Runtime>, CheckGenesis<Runtime>, CheckMortality<Runtime>, CheckNonce<Runtime>, CheckWeight<Runtime>, ChargeAssetTxPayment<Runtime>)>>, u128> for Runtime
impl TransactionPaymentApiV4<Block<Header<u32, BlakeTwo256>, UncheckedExtrinsic<MultiAddress<<<MultiSignature as Verify>::Signer as IdentifyAccount>::AccountId, u32>, RuntimeCall, MultiSignature, (CheckNonZeroSender<Runtime>, CheckSpecVersion<Runtime>, CheckTxVersion<Runtime>, CheckGenesis<Runtime>, CheckMortality<Runtime>, CheckNonce<Runtime>, CheckWeight<Runtime>, ChargeAssetTxPayment<Runtime>)>>, u128> for Runtime
fn query_info( uxt: <Block as BlockT>::Extrinsic, len: u32 ) -> RuntimeDispatchInfo<Balance>
fn query_fee_details( uxt: <Block as BlockT>::Extrinsic, len: u32 ) -> FeeDetails<Balance>
fn query_weight_to_fee(weight: Weight) -> Balance
fn query_length_to_fee(length: u32) -> Balance
source§impl TransactionPaymentCallApiV3<Block<Header<u32, BlakeTwo256>, UncheckedExtrinsic<MultiAddress<<<MultiSignature as Verify>::Signer as IdentifyAccount>::AccountId, u32>, RuntimeCall, MultiSignature, (CheckNonZeroSender<Runtime>, CheckSpecVersion<Runtime>, CheckTxVersion<Runtime>, CheckGenesis<Runtime>, CheckMortality<Runtime>, CheckNonce<Runtime>, CheckWeight<Runtime>, ChargeAssetTxPayment<Runtime>)>>, u128, RuntimeCall> for Runtime
impl TransactionPaymentCallApiV3<Block<Header<u32, BlakeTwo256>, UncheckedExtrinsic<MultiAddress<<<MultiSignature as Verify>::Signer as IdentifyAccount>::AccountId, u32>, RuntimeCall, MultiSignature, (CheckNonZeroSender<Runtime>, CheckSpecVersion<Runtime>, CheckTxVersion<Runtime>, CheckGenesis<Runtime>, CheckMortality<Runtime>, CheckNonce<Runtime>, CheckWeight<Runtime>, ChargeAssetTxPayment<Runtime>)>>, u128, RuntimeCall> for Runtime
source§fn query_call_info(call: RuntimeCall, len: u32) -> RuntimeDispatchInfo<Balance>
fn query_call_info(call: RuntimeCall, len: u32) -> RuntimeDispatchInfo<Balance>
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>, RuntimeCall, MultiSignature, (CheckNonZeroSender<Runtime>, CheckSpecVersion<Runtime>, CheckTxVersion<Runtime>, CheckGenesis<Runtime>, CheckMortality<Runtime>, CheckNonce<Runtime>, CheckWeight<Runtime>, ChargeAssetTxPayment<Runtime>)>>> for Runtime
impl TryRuntimeV1<Block<Header<u32, BlakeTwo256>, UncheckedExtrinsic<MultiAddress<<<MultiSignature as Verify>::Signer as IdentifyAccount>::AccountId, u32>, RuntimeCall, MultiSignature, (CheckNonZeroSender<Runtime>, CheckSpecVersion<Runtime>, CheckTxVersion<Runtime>, CheckGenesis<Runtime>, CheckMortality<Runtime>, CheckNonce<Runtime>, CheckWeight<Runtime>, ChargeAssetTxPayment<Runtime>)>>> 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>, RuntimeCall, MultiSignature, (CheckNonZeroSender<Runtime>, CheckSpecVersion<Runtime>, CheckTxVersion<Runtime>, CheckGenesis<Runtime>, CheckMortality<Runtime>, CheckNonce<Runtime>, CheckWeight<Runtime>, ChargeAssetTxPayment<Runtime>)>>> for Runtime
impl ValidateStatementV1<Block<Header<u32, BlakeTwo256>, UncheckedExtrinsic<MultiAddress<<<MultiSignature as Verify>::Signer as IdentifyAccount>::AccountId, u32>, RuntimeCall, MultiSignature, (CheckNonZeroSender<Runtime>, CheckSpecVersion<Runtime>, CheckTxVersion<Runtime>, CheckGenesis<Runtime>, CheckMortality<Runtime>, CheckNonce<Runtime>, CheckWeight<Runtime>, ChargeAssetTxPayment<Runtime>)>>> 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 StructuralEq for Runtime
impl StructuralPartialEq for Runtime
Auto Trait Implementations§
impl RefUnwindSafe for Runtime
impl Send for Runtime
impl Sync for Runtime
impl Unpin for Runtime
impl UnwindSafe for Runtime
Blanket Implementations§
source§impl<T> CheckedConversion for T
impl<T> CheckedConversion for T
§impl<T> Downcast for Twhere
T: Any,
impl<T> Downcast for Twhere T: Any,
§fn into_any(self: Box<T, Global>) -> Box<dyn Any + 'static, Global>
fn into_any(self: Box<T, Global>) -> Box<dyn Any + 'static, Global>
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 + 'static>
fn into_any_rc(self: Rc<T>) -> Rc<dyn Any + 'static>
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.source§impl<Q, K> Equivalent<K> for Qwhere
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
impl<Q, K> Equivalent<K> for Qwhere Q: Eq + ?Sized, K: Borrow<Q> + ?Sized,
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 Qwhere
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
impl<Q, K> Equivalent<K> for Qwhere Q: Eq + ?Sized, K: Borrow<Q> + ?Sized,
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
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
.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, Outer> IsWrappedBy<Outer> for Twhere
Outer: AsRef<T> + AsMut<T> + From<T>,
T: From<Outer>,
impl<T, Outer> IsWrappedBy<Outer> for Twhere Outer: AsRef<T> + AsMut<T> + From<T>, T: From<Outer>,
§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 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.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 Swhere
T: Bounded,
S: TryInto<T>,
impl<T, S> UniqueSaturatedInto<T> for Swhere T: Bounded, S: TryInto<T>,
source§fn unique_saturated_into(self) -> T
fn unique_saturated_into(self) -> T
T
.