Struct hashed_runtime::Runtime
source · pub struct Runtime;
Implementations§
Trait Implementations§
source§impl AccountNonceApiV1<Block<Header<u32, BlakeTwo256>, UncheckedExtrinsic<MultiAddress<<<MultiSignature as Verify>::Signer as IdentifyAccount>::AccountId, ()>, RuntimeCall, MultiSignature, (CheckNonZeroSender<Runtime>, CheckSpecVersion<Runtime>, CheckTxVersion<Runtime>, CheckGenesis<Runtime>, CheckMortality<Runtime>, CheckNonce<Runtime>, CheckWeight<Runtime>, ChargeTransactionPayment<Runtime>)>>, <<MultiSignature as Verify>::Signer as IdentifyAccount>::AccountId, u32> for Runtime
impl AccountNonceApiV1<Block<Header<u32, BlakeTwo256>, UncheckedExtrinsic<MultiAddress<<<MultiSignature as Verify>::Signer as IdentifyAccount>::AccountId, ()>, RuntimeCall, MultiSignature, (CheckNonZeroSender<Runtime>, CheckSpecVersion<Runtime>, CheckTxVersion<Runtime>, CheckGenesis<Runtime>, CheckMortality<Runtime>, CheckNonce<Runtime>, CheckWeight<Runtime>, ChargeTransactionPayment<Runtime>)>>, <<MultiSignature as Verify>::Signer as IdentifyAccount>::AccountId, u32> for Runtime
source§fn account_nonce(account: AccountId) -> Index
fn account_nonce(account: AccountId) -> Index
AccountId
.source§impl AuraApiV1<Block<Header<u32, BlakeTwo256>, UncheckedExtrinsic<MultiAddress<<<MultiSignature as Verify>::Signer as IdentifyAccount>::AccountId, ()>, RuntimeCall, MultiSignature, (CheckNonZeroSender<Runtime>, CheckSpecVersion<Runtime>, CheckTxVersion<Runtime>, CheckGenesis<Runtime>, CheckMortality<Runtime>, CheckNonce<Runtime>, CheckWeight<Runtime>, ChargeTransactionPayment<Runtime>)>>, Public> for Runtime
impl AuraApiV1<Block<Header<u32, BlakeTwo256>, UncheckedExtrinsic<MultiAddress<<<MultiSignature as Verify>::Signer as IdentifyAccount>::AccountId, ()>, RuntimeCall, MultiSignature, (CheckNonZeroSender<Runtime>, CheckSpecVersion<Runtime>, CheckTxVersion<Runtime>, CheckGenesis<Runtime>, CheckMortality<Runtime>, CheckNonce<Runtime>, CheckWeight<Runtime>, ChargeTransactionPayment<Runtime>)>>, Public> for Runtime
source§fn slot_duration() -> SlotDuration
fn slot_duration() -> SlotDuration
source§impl BlockBuilderV6<Block<Header<u32, BlakeTwo256>, UncheckedExtrinsic<MultiAddress<<<MultiSignature as Verify>::Signer as IdentifyAccount>::AccountId, ()>, RuntimeCall, MultiSignature, (CheckNonZeroSender<Runtime>, CheckSpecVersion<Runtime>, CheckTxVersion<Runtime>, CheckGenesis<Runtime>, CheckMortality<Runtime>, CheckNonce<Runtime>, CheckWeight<Runtime>, ChargeTransactionPayment<Runtime>)>>> for Runtime
impl BlockBuilderV6<Block<Header<u32, BlakeTwo256>, UncheckedExtrinsic<MultiAddress<<<MultiSignature as Verify>::Signer as IdentifyAccount>::AccountId, ()>, RuntimeCall, MultiSignature, (CheckNonZeroSender<Runtime>, CheckSpecVersion<Runtime>, CheckTxVersion<Runtime>, CheckGenesis<Runtime>, CheckMortality<Runtime>, CheckNonce<Runtime>, CheckWeight<Runtime>, ChargeTransactionPayment<Runtime>)>>> for Runtime
source§fn apply_extrinsic(
extrinsic: <Block as BlockT>::Extrinsic
) -> ApplyExtrinsicResult
fn apply_extrinsic( extrinsic: <Block as BlockT>::Extrinsic ) -> ApplyExtrinsicResult
source§fn finalize_block() -> <Block as BlockT>::Header
fn finalize_block() -> <Block as BlockT>::Header
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§impl Config<()> for Runtime
impl Config<()> for Runtime
§type RuntimeEvent = RuntimeEvent
type RuntimeEvent = RuntimeEvent
§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 WeightInfo = ()
type WeightInfo = ()
§type AssetIdParameter = u32
type AssetIdParameter = 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 CallbackHandle = ()
type CallbackHandle = ()
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 = ()
type ChildBountyManager = ()
source§impl Config<()> for Runtime
impl Config<()> for Runtime
§type RuntimeEvent = RuntimeEvent
type RuntimeEvent = RuntimeEvent
The ubiquitous event type.
§type MaxLocks = MaxLocks
type MaxLocks = MaxLocks
§type MaxReserves = ()
type MaxReserves = ()
§type ReserveIdentifier = [u8; 8]
type ReserveIdentifier = [u8; 8]
§type DustRemoval = ()
type DustRemoval = ()
§type ExistentialDeposit = ExistentialDeposit
type ExistentialDeposit = ExistentialDeposit
§type AccountStore = Pallet<Runtime>
type AccountStore = Pallet<Runtime>
§type WeightInfo = SubstrateWeight<Runtime>
type WeightInfo = SubstrateWeight<Runtime>
source§impl Config<()> for Runtime
impl Config<()> for Runtime
§type PalletId = TreasuryPalletId
type PalletId = TreasuryPalletId
§type ApproveOrigin = EnsureRoot<<<MultiSignature as Verify>::Signer as IdentifyAccount>::AccountId>
type ApproveOrigin = EnsureRoot<<<MultiSignature as Verify>::Signer as IdentifyAccount>::AccountId>
§type RejectOrigin = EnsureRoot<<<MultiSignature as Verify>::Signer as IdentifyAccount>::AccountId>
type RejectOrigin = EnsureRoot<<<MultiSignature as Verify>::Signer as IdentifyAccount>::AccountId>
§type RuntimeEvent = RuntimeEvent
type RuntimeEvent = RuntimeEvent
§type OnSlash = Pallet<Runtime, ()>
type OnSlash = Pallet<Runtime, ()>
§type ProposalBond = ProposalBond
type ProposalBond = ProposalBond
§type ProposalBondMinimum = ProposalBondMinimum
type ProposalBondMinimum = ProposalBondMinimum
§type ProposalBondMaximum = ProposalBondMaximum
type ProposalBondMaximum = ProposalBondMaximum
§type SpendPeriod = SpendPeriod
type SpendPeriod = SpendPeriod
§type SpendOrigin = NeverEnsureOrigin<u128>
type SpendOrigin = NeverEnsureOrigin<u128>
Success
value is the maximum amount that this origin is allowed to
spend at a time.§type BurnDestination = Pallet<Runtime, ()>
type BurnDestination = Pallet<Runtime, ()>
§type MaxApprovals = MaxApprovals
type MaxApprovals = MaxApprovals
§type WeightInfo = ()
type WeightInfo = ()
§type SpendFunds = Pallet<Runtime, ()>
type SpendFunds = Pallet<Runtime, ()>
source§impl Config<()> for Runtime
impl Config<()> for Runtime
§type RuntimeEvent = RuntimeEvent
type RuntimeEvent = RuntimeEvent
§type Randomness = Pallet<Runtime>
type Randomness = Pallet<Runtime>
§type CandidateDeposit = CandidateDeposit
type CandidateDeposit = CandidateDeposit
§type WrongSideDeduction = WrongSideDeduction
type WrongSideDeduction = WrongSideDeduction
§type MaxStrikes = MaxStrikes
type MaxStrikes = MaxStrikes
§type PeriodSpend = PeriodSpend
type PeriodSpend = PeriodSpend
§type MembershipChanged = ()
type MembershipChanged = ()
§type RotationPeriod = RotationPeriod
type RotationPeriod = RotationPeriod
§type MaxLockDuration = MaxLockDuration
type MaxLockDuration = MaxLockDuration
§type FounderSetOrigin = EnsureRoot<<<MultiSignature as Verify>::Signer as IdentifyAccount>::AccountId>
type FounderSetOrigin = EnsureRoot<<<MultiSignature as Verify>::Signer as IdentifyAccount>::AccountId>
found
.§type SuspensionJudgementOrigin = EnsureFounder<Runtime>
type SuspensionJudgementOrigin = EnsureFounder<Runtime>
§type ChallengePeriod = ChallengePeriod
type ChallengePeriod = ChallengePeriod
§type MaxCandidateIntake = MaxCandidateIntake
type MaxCandidateIntake = MaxCandidateIntake
§type PalletId = SocietyPalletId
type PalletId = SocietyPalletId
source§impl Config<()> for Runtime
impl Config<()> for Runtime
§type RuntimeEvent = RuntimeEvent
type RuntimeEvent = RuntimeEvent
§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 WeightInfo = ()
type WeightInfo = ()
§type MaxReserves = MaxReserves
type MaxReserves = MaxReserves
§type ReserveIdentifier = u32
type ReserveIdentifier = u32
§type AssetIdParameter = u32
type AssetIdParameter = 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 CallbackHandle = DefaultCallback
type CallbackHandle = DefaultCallback
type Rbac = Pallet<Runtime>
source§impl Config<()> for Runtime
impl Config<()> for Runtime
§type RuntimeEvent = RuntimeEvent
type RuntimeEvent = RuntimeEvent
§type AddOrigin = EnsureRoot<<<MultiSignature as Verify>::Signer as IdentifyAccount>::AccountId>
type AddOrigin = EnsureRoot<<<MultiSignature as Verify>::Signer as IdentifyAccount>::AccountId>
§type RemoveOrigin = EnsureRoot<<<MultiSignature as Verify>::Signer as IdentifyAccount>::AccountId>
type RemoveOrigin = EnsureRoot<<<MultiSignature as Verify>::Signer as IdentifyAccount>::AccountId>
§type SwapOrigin = EnsureRoot<<<MultiSignature as Verify>::Signer as IdentifyAccount>::AccountId>
type SwapOrigin = EnsureRoot<<<MultiSignature as Verify>::Signer as IdentifyAccount>::AccountId>
§type ResetOrigin = EnsureRoot<<<MultiSignature as Verify>::Signer as IdentifyAccount>::AccountId>
type ResetOrigin = EnsureRoot<<<MultiSignature as Verify>::Signer as IdentifyAccount>::AccountId>
§type PrimeOrigin = EnsureRoot<<<MultiSignature as Verify>::Signer as IdentifyAccount>::AccountId>
type PrimeOrigin = EnsureRoot<<<MultiSignature as Verify>::Signer as IdentifyAccount>::AccountId>
§type MembershipInitialized = Pallet<Runtime, Instance1>
type MembershipInitialized = Pallet<Runtime, Instance1>
MembershipChanged
. If you need to do
something different on initialization, then you can change this accordingly.§type MembershipChanged = Pallet<Runtime, Instance1>
type MembershipChanged = Pallet<Runtime, Instance1>
§type MaxMembers = MembershipMaxMembers
type MaxMembers = MembershipMaxMembers
§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 = StringLimit
type StringLimit = StringLimit
§type ValueLimit = ValueLimit
type ValueLimit = ValueLimit
§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 = ()
type WeightInfo = ()
source§impl Config for Runtime
impl Config for Runtime
§type RuntimeEvent = RuntimeEvent
type RuntimeEvent = RuntimeEvent
§type MaxWellKnownNodes = MaxWellKnownNodes
type MaxWellKnownNodes = MaxWellKnownNodes
§type MaxPeerIdLength = MaxPeerIdLength
type MaxPeerIdLength = MaxPeerIdLength
§type AddOrigin = EnsureRoot<<<MultiSignature as Verify>::Signer as IdentifyAccount>::AccountId>
type AddOrigin = 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 SwapOrigin = EnsureRoot<<<MultiSignature as Verify>::Signer as IdentifyAccount>::AccountId>
type SwapOrigin = EnsureRoot<<<MultiSignature as Verify>::Signer as IdentifyAccount>::AccountId>
§type ResetOrigin = EnsureRoot<<<MultiSignature as Verify>::Signer as IdentifyAccount>::AccountId>
type ResetOrigin = EnsureRoot<<<MultiSignature as Verify>::Signer as IdentifyAccount>::AccountId>
§type WeightInfo = ()
type WeightInfo = ()
source§impl Config for Runtime
impl Config for Runtime
§type AuthorityId = TestAuthId
type AuthorityId = TestAuthId
§type RuntimeEvent = RuntimeEvent
type RuntimeEvent = RuntimeEvent
type ChangeBDKOrigin = EitherOfDiverse<EnsureRoot<<<MultiSignature as Verify>::Signer as IdentifyAccount>::AccountId>, EnsureProportionAtLeast<<<MultiSignature as Verify>::Signer as IdentifyAccount>::AccountId, Instance1, 3, 5>>
type XPubLen = XPubLen
type PSBTMaxLen = PSBTMaxLen
§type MaxVaultsPerUser = MaxVaultsPerUser
type MaxVaultsPerUser = MaxVaultsPerUser
type MaxCosignersPerVault = MaxCosignersPerVault
type VaultDescriptionMaxLen = VaultDescriptionMaxLen
type OutputDescriptorMaxLen = OutputDescriptorMaxLen
type MaxProposalsPerVault = MaxProposalsPerVault
source§impl Config for Runtime
impl Config for Runtime
Configure the pallet-template in pallets/template.
§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 = ()
type WeightInfo = ()
source§impl Config for Runtime
impl Config for Runtime
§type BaseCallFilter = Everything
type BaseCallFilter = Everything
The basic call filter to use in dispatchable.
§type BlockWeights = BlockWeights
type BlockWeights = BlockWeights
Block & extrinsics weights: base values and limits.
§type BlockLength = BlockLength
type BlockLength = BlockLength
The maximum length of a block (in bytes).
§type AccountId = <<MultiSignature as Verify>::Signer as IdentifyAccount>::AccountId
type AccountId = <<MultiSignature as Verify>::Signer as IdentifyAccount>::AccountId
The identifier used to distinguish between accounts.
§type RuntimeCall = RuntimeCall
type RuntimeCall = RuntimeCall
The aggregated dispatch type that is available for extrinsics.
§type Lookup = AccountIdLookup<<<MultiSignature as Verify>::Signer as IdentifyAccount>::AccountId, ()>
type Lookup = AccountIdLookup<<<MultiSignature as Verify>::Signer as IdentifyAccount>::AccountId, ()>
The lookup mechanism to get account ID from whatever is passed in dispatchers.
§type BlockNumber = u32
type BlockNumber = u32
The index type for blocks.
§type RuntimeEvent = RuntimeEvent
type RuntimeEvent = RuntimeEvent
The ubiquitous event type.
§type RuntimeOrigin = RuntimeOrigin
type RuntimeOrigin = RuntimeOrigin
The ubiquitous origin type.
§type BlockHashCount = BlockHashCount
type BlockHashCount = BlockHashCount
Maximum number of block number to block hash mappings to keep (oldest pruned first).
§type DbWeight = RocksDbWeight
type DbWeight = RocksDbWeight
The weight of database operations that the runtime can invoke.
§type PalletInfo = PalletInfo
type PalletInfo = PalletInfo
Converts a module to the index of the module in construct_runtime!
.
This type is being generated by construct_runtime!
.
§type OnNewAccount = ()
type OnNewAccount = ()
What to do if a new account is created.
§type OnKilledAccount = ()
type OnKilledAccount = ()
What to do if an account is fully reaped from the system.
§type AccountData = AccountData<u128>
type AccountData = AccountData<u128>
The data to be stored in an account.
§type SystemWeightInfo = ()
type SystemWeightInfo = ()
Weight information for the extrinsics of this pallet.
§type SS58Prefix = SS58Prefix
type SS58Prefix = SS58Prefix
This is used as an identifier of the chain. 42 is the generic substrate prefix.
§type MaxConsumers = ConstU32<16>
type MaxConsumers = ConstU32<16>
source§impl Config for Runtime
impl Config for Runtime
type RuntimeEvent = RuntimeEvent
type RemoveOrigin = EitherOfDiverse<EnsureRoot<<<MultiSignature as Verify>::Signer as IdentifyAccount>::AccountId>, EnsureProportionAtLeast<<<MultiSignature as Verify>::Signer as IdentifyAccount>::AccountId, Instance1, 3, 5>>
§type ChildMaxLen = ChildMaxLen
type ChildMaxLen = ChildMaxLen
§type MaxParentsInCollection = MaxParentsInCollection
type MaxParentsInCollection = MaxParentsInCollection
source§impl Config for Runtime
impl Config for Runtime
§type RuntimeEvent = RuntimeEvent
type RuntimeEvent = RuntimeEvent
§type KeyOwnerProofSystem = ()
type KeyOwnerProofSystem = ()
§type KeyOwnerProof = <<Runtime as Config>::KeyOwnerProofSystem as KeyOwnerProofSystem<(KeyTypeId, Public)>>::Proof
type KeyOwnerProof = <<Runtime as Config>::KeyOwnerProofSystem as KeyOwnerProofSystem<(KeyTypeId, Public)>>::Proof
§type KeyOwnerIdentification = <<Runtime as Config>::KeyOwnerProofSystem as KeyOwnerProofSystem<(KeyTypeId, Public)>>::IdentificationTuple
type KeyOwnerIdentification = <<Runtime as Config>::KeyOwnerProofSystem as KeyOwnerProofSystem<(KeyTypeId, Public)>>::IdentificationTuple
§type HandleEquivocation = ()
type HandleEquivocation = ()
()
) you must use this pallet’s ValidateUnsigned
in the runtime
definition.§type WeightInfo = ()
type WeightInfo = ()
§type MaxAuthorities = MaxAuthorities
type MaxAuthorities = MaxAuthorities
§type MaxSetIdSessionEntries = MaxSetIdSessionEntries
type MaxSetIdSessionEntries = MaxSetIdSessionEntries
source§impl Config for Runtime
impl Config for Runtime
§type RuntimeEvent = RuntimeEvent
type RuntimeEvent = RuntimeEvent
§type WeightInfo = SubstrateWeight<Runtime>
type WeightInfo = SubstrateWeight<Runtime>
§type RuntimeCall = RuntimeCall
type RuntimeCall = RuntimeCall
§type ConfigDepositBase = ConfigDepositBase
type ConfigDepositBase = ConfigDepositBase
§type FriendDepositFactor = FriendDepositFactor
type FriendDepositFactor = FriendDepositFactor
§type MaxFriends = MaxFriends
type MaxFriends = MaxFriends
§type RecoveryDeposit = RecoveryDeposit
type RecoveryDeposit = RecoveryDeposit
source§impl Config for Runtime
impl Config for Runtime
§type RuntimeEvent = RuntimeEvent
type RuntimeEvent = RuntimeEvent
§type RuntimeCall = RuntimeCall
type RuntimeCall = RuntimeCall
source§impl Config for Runtime
impl Config for Runtime
type RuntimeEvent = RuntimeEvent
type MaxAuthsPerMarket = MaxAuthsPerMarket
type MaxRolesPerAuth = MaxRolesPerAuth
type MaxApplicants = MaxApplicants
type MaxBlockedUsersPerMarket = MaxBlockedUsersPerMarket
type LabelMaxLen = LabelMaxLen
type NotesMaxLen = NotesMaxLen
type MaxFeedbackLen = MaxFeedbackLen
type NameMaxLen = NameMaxLen
type MaxFiles = MaxFiles
type MaxApplicationsPerCustodian = MaxApplicationsPerCustodian
type MaxMarketsPerItem = MaxMarketsPerItem
type MaxOffersPerMarket = MaxOffersPerMarket
type Timestamp = Pallet<Runtime>
type Moment = u64
type Rbac = Pallet<Runtime>
source§impl Config for Runtime
impl Config for Runtime
type RuntimeEvent = RuntimeEvent
type Timestamp = Pallet<Runtime>
type Moment = u64
type Rbac = Pallet<Runtime>
type RemoveOrigin = EitherOfDiverse<EnsureRoot<<<MultiSignature as Verify>::Signer as IdentifyAccount>::AccountId>, EnsureProportionAtLeast<<<MultiSignature as Verify>::Signer as IdentifyAccount>::AccountId, Instance1, 3, 5>>
type Currency = Pallet<Runtime, ()>
type MaxDocuments = MaxDocuments
type MaxProjectsPerUser = MaxProjectsPerUser
type MaxUserPerProject = MaxUserPerProject
type MaxBuildersPerProject = MaxBuildersPerProject
type MaxInvestorsPerProject = MaxInvestorsPerProject
type MaxIssuersPerProject = MaxIssuersPerProject
type MaxRegionalCenterPerProject = MaxRegionalCenterPerProject
type MaxDrawdownsPerProject = MaxDrawdownsPerProject
type MaxTransactionsPerDrawdown = MaxTransactionsPerDrawdown
type MaxRegistrationsAtTime = MaxRegistrationsAtTime
type MaxExpendituresPerProject = MaxExpendituresPerProject
type MaxProjectsPerInvestor = MaxProjectsPerInvestor
type MaxBanksPerProject = MaxBanksPerProject
type MaxJobEligiblesByProject = MaxJobEligiblesByProject
type MaxRevenuesByProject = MaxRevenuesByProject
type MaxTransactionsPerRevenue = MaxTransactionsPerRevenue
type MaxStatusChangesPerDrawdown = MaxStatusChangesPerDrawdown
type MaxStatusChangesPerRevenue = MaxStatusChangesPerRevenue
type MaxRecoveryChanges = MaxRecoveryChanges
type MinAdminBalance = MinAdminBalance
type TransferAmount = TransferAmount
source§impl Config for Runtime
impl Config for Runtime
§type RuntimeEvent = RuntimeEvent
type RuntimeEvent = RuntimeEvent
§type OnChargeTransaction = CurrencyAdapter<Pallet<Runtime, ()>, ()>
type OnChargeTransaction = CurrencyAdapter<Pallet<Runtime, ()>, ()>
§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 = ()
type FeeMultiplierUpdate = ()
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 = ()
type WeightInfo = ()
source§impl Config for Runtime
impl Config for Runtime
type RuntimeEvent = RuntimeEvent
type RemoveOrigin = EitherOfDiverse<EnsureRoot<<<MultiSignature as Verify>::Signer as IdentifyAccount>::AccountId>, EnsureProportionAtLeast<<<MultiSignature as Verify>::Signer as IdentifyAccount>::AccountId, Instance1, 3, 5>>
type Timestamp = Pallet<Runtime>
type Moment = u64
type MaxRecordsAtTime = MaxRecordsAtTime
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 = EnsureRoot<<<MultiSignature as Verify>::Signer as IdentifyAccount>::AccountId>
type ForceOrigin = EnsureRoot<<<MultiSignature as Verify>::Signer as IdentifyAccount>::AccountId>
§type RegistrarOrigin = EnsureRoot<<<MultiSignature as Verify>::Signer as IdentifyAccount>::AccountId>
type RegistrarOrigin = EnsureRoot<<<MultiSignature as Verify>::Signer as IdentifyAccount>::AccountId>
§type WeightInfo = ()
type WeightInfo = ()
source§impl Config for Runtime
impl Config for Runtime
§type AuthorityId = Public
type AuthorityId = Public
§type DisabledValidators = ()
type DisabledValidators = ()
§type MaxAuthorities = MaxAuthorities
type MaxAuthorities = MaxAuthorities
source§impl Config for Runtime
impl Config for Runtime
type RuntimeEvent = RuntimeEvent
type RemoveOrigin = EitherOfDiverse<EnsureRoot<<<MultiSignature as Verify>::Signer as IdentifyAccount>::AccountId>, EnsureProportionAtLeast<<<MultiSignature as Verify>::Signer as IdentifyAccount>::AccountId, Instance1, 3, 5>>
type MaxScopesPerPallet = MaxScopesPerPallet
type MaxRolesPerPallet = MaxRolesPerPallet
type RoleMaxLen = RoleMaxLen
type PermissionMaxLen = PermissionMaxLen
type MaxPermissionsPerRole = MaxPermissionsPerRole
type MaxRolesPerUser = MaxRolesPerUser
type MaxUsersPerRole = MaxUsersPerRole
source§impl Config for Runtime
impl Config for Runtime
type RuntimeEvent = RuntimeEvent
type RemoveOrigin = EitherOfDiverse<EnsureRoot<<<MultiSignature as Verify>::Signer as IdentifyAccount>::AccountId>, EnsureProportionAtLeast<<<MultiSignature as Verify>::Signer as IdentifyAccount>::AccountId, Instance1, 3, 5>>
§type MaxOwnedDocs = MaxOwnedDocs
type MaxOwnedDocs = MaxOwnedDocs
§type DocNameMinLen = DocNameMinLen
type DocNameMinLen = DocNameMinLen
§type DocNameMaxLen = DocNameMaxLen
type DocNameMaxLen = DocNameMaxLen
§type DocDescMinLen = DocDescMinLen
type DocDescMinLen = DocDescMinLen
§type DocDescMaxLen = DocDescMaxLen
type DocDescMaxLen = DocDescMaxLen
§type GroupNameMinLen = GroupNameMinLen
type GroupNameMinLen = GroupNameMinLen
§type GroupNameMaxLen = GroupNameMaxLen
type GroupNameMaxLen = GroupNameMaxLen
§type MaxMemberGroups = MaxMemberGroups
type MaxMemberGroups = MaxMemberGroups
source§impl CoreV4<Block<Header<u32, BlakeTwo256>, UncheckedExtrinsic<MultiAddress<<<MultiSignature as Verify>::Signer as IdentifyAccount>::AccountId, ()>, RuntimeCall, MultiSignature, (CheckNonZeroSender<Runtime>, CheckSpecVersion<Runtime>, CheckTxVersion<Runtime>, CheckGenesis<Runtime>, CheckMortality<Runtime>, CheckNonce<Runtime>, CheckWeight<Runtime>, ChargeTransactionPayment<Runtime>)>>> for Runtime
impl CoreV4<Block<Header<u32, BlakeTwo256>, UncheckedExtrinsic<MultiAddress<<<MultiSignature as Verify>::Signer as IdentifyAccount>::AccountId, ()>, RuntimeCall, MultiSignature, (CheckNonZeroSender<Runtime>, CheckSpecVersion<Runtime>, CheckTxVersion<Runtime>, CheckGenesis<Runtime>, CheckMortality<Runtime>, CheckNonce<Runtime>, CheckWeight<Runtime>, ChargeTransactionPayment<Runtime>)>>> for Runtime
source§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,
index: Index
) -> Option<(RuntimeCall, <UncheckedExtrinsic as Extrinsic>::SignaturePayload)>
fn create_transaction<C: AppCrypto<Self::Public, Self::Signature>>( call: RuntimeCall, public: <Signature as Verify>::Signer, account: AccountId, index: Index ) -> Option<(RuntimeCall, <UncheckedExtrinsic as Extrinsic>::SignaturePayload)>
source§impl EnsureInherentsAreFirst<Block<Header<u32, BlakeTwo256>, UncheckedExtrinsic<MultiAddress<<<MultiSignature as Verify>::Signer as IdentifyAccount>::AccountId, ()>, RuntimeCall, MultiSignature, (CheckNonZeroSender<Runtime>, CheckSpecVersion<Runtime>, CheckTxVersion<Runtime>, CheckGenesis<Runtime>, CheckMortality<Runtime>, CheckNonce<Runtime>, CheckWeight<Runtime>, ChargeTransactionPayment<Runtime>)>>> for Runtime
impl EnsureInherentsAreFirst<Block<Header<u32, BlakeTwo256>, UncheckedExtrinsic<MultiAddress<<<MultiSignature as Verify>::Signer as IdentifyAccount>::AccountId, ()>, RuntimeCall, MultiSignature, (CheckNonZeroSender<Runtime>, CheckSpecVersion<Runtime>, CheckTxVersion<Runtime>, CheckGenesis<Runtime>, CheckMortality<Runtime>, CheckNonce<Runtime>, CheckWeight<Runtime>, ChargeTransactionPayment<Runtime>)>>> for Runtime
source§impl GetNodeBlockType for Runtime
impl GetNodeBlockType for Runtime
§type NodeBlock = Block<Header<u32, BlakeTwo256>, OpaqueExtrinsic>
type NodeBlock = Block<Header<u32, BlakeTwo256>, OpaqueExtrinsic>
NodeBlock
type.source§impl GetRuntimeBlockType for Runtime
impl GetRuntimeBlockType for Runtime
§type RuntimeBlock = Block<Header<u32, BlakeTwo256>, UncheckedExtrinsic<MultiAddress<<<MultiSignature as Verify>::Signer as IdentifyAccount>::AccountId, ()>, RuntimeCall, MultiSignature, (CheckNonZeroSender<Runtime>, CheckSpecVersion<Runtime>, CheckTxVersion<Runtime>, CheckGenesis<Runtime>, CheckMortality<Runtime>, CheckNonce<Runtime>, CheckWeight<Runtime>, ChargeTransactionPayment<Runtime>)>>
type RuntimeBlock = Block<Header<u32, BlakeTwo256>, UncheckedExtrinsic<MultiAddress<<<MultiSignature as Verify>::Signer as IdentifyAccount>::AccountId, ()>, RuntimeCall, MultiSignature, (CheckNonZeroSender<Runtime>, CheckSpecVersion<Runtime>, CheckTxVersion<Runtime>, CheckGenesis<Runtime>, CheckMortality<Runtime>, CheckNonce<Runtime>, CheckWeight<Runtime>, ChargeTransactionPayment<Runtime>)>>
RuntimeBlock
type.source§impl GrandpaApiV3<Block<Header<u32, BlakeTwo256>, UncheckedExtrinsic<MultiAddress<<<MultiSignature as Verify>::Signer as IdentifyAccount>::AccountId, ()>, RuntimeCall, MultiSignature, (CheckNonZeroSender<Runtime>, CheckSpecVersion<Runtime>, CheckTxVersion<Runtime>, CheckGenesis<Runtime>, CheckMortality<Runtime>, CheckNonce<Runtime>, CheckWeight<Runtime>, ChargeTransactionPayment<Runtime>)>>> for Runtime
impl GrandpaApiV3<Block<Header<u32, BlakeTwo256>, UncheckedExtrinsic<MultiAddress<<<MultiSignature as Verify>::Signer as IdentifyAccount>::AccountId, ()>, RuntimeCall, MultiSignature, (CheckNonZeroSender<Runtime>, CheckSpecVersion<Runtime>, CheckTxVersion<Runtime>, CheckGenesis<Runtime>, CheckMortality<Runtime>, CheckNonce<Runtime>, CheckWeight<Runtime>, ChargeTransactionPayment<Runtime>)>>> for Runtime
source§fn 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 MetadataV1<Block<Header<u32, BlakeTwo256>, UncheckedExtrinsic<MultiAddress<<<MultiSignature as Verify>::Signer as IdentifyAccount>::AccountId, ()>, RuntimeCall, MultiSignature, (CheckNonZeroSender<Runtime>, CheckSpecVersion<Runtime>, CheckTxVersion<Runtime>, CheckGenesis<Runtime>, CheckMortality<Runtime>, CheckNonce<Runtime>, CheckWeight<Runtime>, ChargeTransactionPayment<Runtime>)>>> for Runtime
impl MetadataV1<Block<Header<u32, BlakeTwo256>, UncheckedExtrinsic<MultiAddress<<<MultiSignature as Verify>::Signer as IdentifyAccount>::AccountId, ()>, RuntimeCall, MultiSignature, (CheckNonZeroSender<Runtime>, CheckSpecVersion<Runtime>, CheckTxVersion<Runtime>, CheckGenesis<Runtime>, CheckMortality<Runtime>, CheckNonce<Runtime>, CheckWeight<Runtime>, ChargeTransactionPayment<Runtime>)>>> for Runtime
source§impl OffchainWorkerApiV2<Block<Header<u32, BlakeTwo256>, UncheckedExtrinsic<MultiAddress<<<MultiSignature as Verify>::Signer as IdentifyAccount>::AccountId, ()>, RuntimeCall, MultiSignature, (CheckNonZeroSender<Runtime>, CheckSpecVersion<Runtime>, CheckTxVersion<Runtime>, CheckGenesis<Runtime>, CheckMortality<Runtime>, CheckNonce<Runtime>, CheckWeight<Runtime>, ChargeTransactionPayment<Runtime>)>>> for Runtime
impl OffchainWorkerApiV2<Block<Header<u32, BlakeTwo256>, UncheckedExtrinsic<MultiAddress<<<MultiSignature as Verify>::Signer as IdentifyAccount>::AccountId, ()>, RuntimeCall, MultiSignature, (CheckNonZeroSender<Runtime>, CheckSpecVersion<Runtime>, CheckTxVersion<Runtime>, CheckGenesis<Runtime>, CheckMortality<Runtime>, CheckNonce<Runtime>, CheckWeight<Runtime>, ChargeTransactionPayment<Runtime>)>>> for Runtime
source§fn offchain_worker(header: &<Block as BlockT>::Header)
fn offchain_worker(header: &<Block as BlockT>::Header)
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 OverarchingCall = RuntimeCall
type OverarchingCall = RuntimeCall
§type Extrinsic = UncheckedExtrinsic<MultiAddress<<<MultiSignature as Verify>::Signer as IdentifyAccount>::AccountId, ()>, RuntimeCall, MultiSignature, (CheckNonZeroSender<Runtime>, CheckSpecVersion<Runtime>, CheckTxVersion<Runtime>, CheckGenesis<Runtime>, CheckMortality<Runtime>, CheckNonce<Runtime>, CheckWeight<Runtime>, ChargeTransactionPayment<Runtime>)>
type Extrinsic = UncheckedExtrinsic<MultiAddress<<<MultiSignature as Verify>::Signer as IdentifyAccount>::AccountId, ()>, RuntimeCall, MultiSignature, (CheckNonZeroSender<Runtime>, CheckSpecVersion<Runtime>, CheckTxVersion<Runtime>, CheckGenesis<Runtime>, CheckMortality<Runtime>, CheckNonce<Runtime>, CheckWeight<Runtime>, ChargeTransactionPayment<Runtime>)>
source§impl SessionKeysV1<Block<Header<u32, BlakeTwo256>, UncheckedExtrinsic<MultiAddress<<<MultiSignature as Verify>::Signer as IdentifyAccount>::AccountId, ()>, RuntimeCall, MultiSignature, (CheckNonZeroSender<Runtime>, CheckSpecVersion<Runtime>, CheckTxVersion<Runtime>, CheckGenesis<Runtime>, CheckMortality<Runtime>, CheckNonce<Runtime>, CheckWeight<Runtime>, ChargeTransactionPayment<Runtime>)>>> for Runtime
impl SessionKeysV1<Block<Header<u32, BlakeTwo256>, UncheckedExtrinsic<MultiAddress<<<MultiSignature as Verify>::Signer as IdentifyAccount>::AccountId, ()>, RuntimeCall, MultiSignature, (CheckNonZeroSender<Runtime>, CheckSpecVersion<Runtime>, CheckTxVersion<Runtime>, CheckGenesis<Runtime>, CheckMortality<Runtime>, CheckNonce<Runtime>, CheckWeight<Runtime>, ChargeTransactionPayment<Runtime>)>>> for Runtime
source§impl TaggedTransactionQueueV3<Block<Header<u32, BlakeTwo256>, UncheckedExtrinsic<MultiAddress<<<MultiSignature as Verify>::Signer as IdentifyAccount>::AccountId, ()>, RuntimeCall, MultiSignature, (CheckNonZeroSender<Runtime>, CheckSpecVersion<Runtime>, CheckTxVersion<Runtime>, CheckGenesis<Runtime>, CheckMortality<Runtime>, CheckNonce<Runtime>, CheckWeight<Runtime>, ChargeTransactionPayment<Runtime>)>>> for Runtime
impl TaggedTransactionQueueV3<Block<Header<u32, BlakeTwo256>, UncheckedExtrinsic<MultiAddress<<<MultiSignature as Verify>::Signer as IdentifyAccount>::AccountId, ()>, RuntimeCall, MultiSignature, (CheckNonZeroSender<Runtime>, CheckSpecVersion<Runtime>, CheckTxVersion<Runtime>, CheckGenesis<Runtime>, CheckMortality<Runtime>, CheckNonce<Runtime>, CheckWeight<Runtime>, ChargeTransactionPayment<Runtime>)>>> for Runtime
source§impl TransactionPaymentApiV3<Block<Header<u32, BlakeTwo256>, UncheckedExtrinsic<MultiAddress<<<MultiSignature as Verify>::Signer as IdentifyAccount>::AccountId, ()>, RuntimeCall, MultiSignature, (CheckNonZeroSender<Runtime>, CheckSpecVersion<Runtime>, CheckTxVersion<Runtime>, CheckGenesis<Runtime>, CheckMortality<Runtime>, CheckNonce<Runtime>, CheckWeight<Runtime>, ChargeTransactionPayment<Runtime>)>>, u128> for Runtime
impl TransactionPaymentApiV3<Block<Header<u32, BlakeTwo256>, UncheckedExtrinsic<MultiAddress<<<MultiSignature as Verify>::Signer as IdentifyAccount>::AccountId, ()>, RuntimeCall, MultiSignature, (CheckNonZeroSender<Runtime>, CheckSpecVersion<Runtime>, CheckTxVersion<Runtime>, CheckGenesis<Runtime>, CheckMortality<Runtime>, CheckNonce<Runtime>, CheckWeight<Runtime>, ChargeTransactionPayment<Runtime>)>>, u128> for Runtime
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 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 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> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
§impl<T> CheckedConversion for T
impl<T> CheckedConversion for T
§fn checked_from<T>(t: T) -> Option<Self>where
Self: TryFrom<T>,
fn checked_from<T>(t: T) -> Option<Self>where Self: TryFrom<T>,
§fn checked_into<T>(self) -> Option<T>where
Self: TryInto<T>,
fn checked_into<T>(self) -> Option<T>where Self: TryInto<T>,
§impl<T> Conv for T
impl<T> Conv for T
§impl<T> Downcast for Twhere
T: Any,
impl<T> Downcast for Twhere T: Any,
§fn into_any(self: Box<T, Global>) -> Box<dyn Any, Global>
fn into_any(self: Box<T, Global>) -> Box<dyn Any, 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>
fn into_any_rc(self: Rc<T>) -> Rc<dyn Any>
Rc<Trait>
(where Trait: Downcast
) to Rc<Any>
. Rc<Any>
can then be
further downcast
into Rc<ConcreteType>
where ConcreteType
implements Trait
.§fn as_any(&self) -> &(dyn Any + 'static)
fn as_any(&self) -> &(dyn Any + 'static)
&Trait
(where Trait: Downcast
) to &Any
. This is needed since Rust cannot
generate &Any
’s vtable from &Trait
’s.§fn as_any_mut(&mut self) -> &mut (dyn Any + 'static)
fn as_any_mut(&mut self) -> &mut (dyn Any + 'static)
&mut Trait
(where Trait: Downcast
) to &Any
. This is needed since Rust cannot
generate &mut Any
’s vtable from &mut Trait
’s.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
§impl<T> FmtForward for T
impl<T> FmtForward for T
§fn fmt_binary(self) -> FmtBinary<Self>where
Self: Binary,
fn fmt_binary(self) -> FmtBinary<Self>where Self: Binary,
self
to use its Binary
implementation when Debug
-formatted.§fn fmt_display(self) -> FmtDisplay<Self>where
Self: Display,
fn fmt_display(self) -> FmtDisplay<Self>where Self: Display,
self
to use its Display
implementation when
Debug
-formatted.§fn fmt_lower_exp(self) -> FmtLowerExp<Self>where
Self: LowerExp,
fn fmt_lower_exp(self) -> FmtLowerExp<Self>where Self: LowerExp,
self
to use its LowerExp
implementation when
Debug
-formatted.§fn fmt_lower_hex(self) -> FmtLowerHex<Self>where
Self: LowerHex,
fn fmt_lower_hex(self) -> FmtLowerHex<Self>where Self: LowerHex,
self
to use its LowerHex
implementation when
Debug
-formatted.§fn fmt_octal(self) -> FmtOctal<Self>where
Self: Octal,
fn fmt_octal(self) -> FmtOctal<Self>where Self: Octal,
self
to use its Octal
implementation when Debug
-formatted.§fn fmt_pointer(self) -> FmtPointer<Self>where
Self: Pointer,
fn fmt_pointer(self) -> FmtPointer<Self>where Self: Pointer,
self
to use its Pointer
implementation when
Debug
-formatted.§fn fmt_upper_exp(self) -> FmtUpperExp<Self>where
Self: UpperExp,
fn fmt_upper_exp(self) -> FmtUpperExp<Self>where Self: UpperExp,
self
to use its UpperExp
implementation when
Debug
-formatted.§fn fmt_upper_hex(self) -> FmtUpperHex<Self>where
Self: UpperHex,
fn fmt_upper_hex(self) -> FmtUpperHex<Self>where Self: UpperHex,
self
to use its UpperHex
implementation when
Debug
-formatted.§fn fmt_list(self) -> FmtList<Self>where
&'a Self: for<'a> IntoIterator,
fn fmt_list(self) -> FmtList<Self>where &'a Self: for<'a> IntoIterator,
source§impl<T> 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>
§impl<T> IsType<T> for T
impl<T> IsType<T> for T
§impl<T> Pipe for Twhere
T: ?Sized,
impl<T> Pipe for Twhere T: ?Sized,
§fn pipe<R>(self, func: impl FnOnce(Self) -> R) -> Rwhere
Self: Sized,
fn pipe<R>(self, func: impl FnOnce(Self) -> R) -> Rwhere Self: Sized,
§fn pipe_ref<'a, R>(&'a self, func: impl FnOnce(&'a Self) -> R) -> Rwhere
R: 'a,
fn pipe_ref<'a, R>(&'a self, func: impl FnOnce(&'a Self) -> R) -> Rwhere R: 'a,
self
and passes that borrow into the pipe function. Read more§fn pipe_ref_mut<'a, R>(&'a mut self, func: impl FnOnce(&'a mut Self) -> R) -> Rwhere
R: 'a,
fn pipe_ref_mut<'a, R>(&'a mut self, func: impl FnOnce(&'a mut Self) -> R) -> Rwhere R: 'a,
self
and passes that borrow into the pipe function. Read more§fn pipe_borrow<'a, B, R>(&'a self, func: impl FnOnce(&'a B) -> R) -> Rwhere
Self: Borrow<B>,
B: 'a + ?Sized,
R: 'a,
fn pipe_borrow<'a, B, R>(&'a self, func: impl FnOnce(&'a B) -> R) -> Rwhere Self: Borrow<B>, B: 'a + ?Sized, R: 'a,
§fn pipe_borrow_mut<'a, B, R>(
&'a mut self,
func: impl FnOnce(&'a mut B) -> R
) -> Rwhere
Self: BorrowMut<B>,
B: 'a + ?Sized,
R: 'a,
fn pipe_borrow_mut<'a, B, R>( &'a mut self, func: impl FnOnce(&'a mut B) -> R ) -> Rwhere Self: BorrowMut<B>, B: 'a + ?Sized, R: 'a,
§fn pipe_as_ref<'a, U, R>(&'a self, func: impl FnOnce(&'a U) -> R) -> Rwhere
Self: AsRef<U>,
U: 'a + ?Sized,
R: 'a,
fn pipe_as_ref<'a, U, R>(&'a self, func: impl FnOnce(&'a U) -> R) -> Rwhere Self: AsRef<U>, U: 'a + ?Sized, R: 'a,
self
, then passes self.as_ref()
into the pipe function.§fn pipe_as_mut<'a, U, R>(&'a mut self, func: impl FnOnce(&'a mut U) -> R) -> Rwhere
Self: AsMut<U>,
U: 'a + ?Sized,
R: 'a,
fn pipe_as_mut<'a, U, R>(&'a mut self, func: impl FnOnce(&'a mut U) -> R) -> Rwhere Self: AsMut<U>, U: 'a + ?Sized, R: 'a,
self
, then passes self.as_mut()
into the pipe
function.§impl<T> Pointable for T
impl<T> Pointable for T
§impl<T> SaturatedConversion for T
impl<T> SaturatedConversion for T
§fn saturated_from<T>(t: T) -> Selfwhere
Self: UniqueSaturatedFrom<T>,
fn saturated_from<T>(t: T) -> Selfwhere Self: UniqueSaturatedFrom<T>,
§fn saturated_into<T>(self) -> Twhere
Self: UniqueSaturatedInto<T>,
fn saturated_into<T>(self) -> Twhere Self: UniqueSaturatedInto<T>,
T
. Read more§impl<T> Tap for T
impl<T> Tap for T
§fn tap_borrow<B>(self, func: impl FnOnce(&B)) -> Selfwhere
Self: Borrow<B>,
B: ?Sized,
fn tap_borrow<B>(self, func: impl FnOnce(&B)) -> Selfwhere Self: Borrow<B>, B: ?Sized,
Borrow<B>
of a value. Read more§fn tap_borrow_mut<B>(self, func: impl FnOnce(&mut B)) -> Selfwhere
Self: BorrowMut<B>,
B: ?Sized,
fn tap_borrow_mut<B>(self, func: impl FnOnce(&mut B)) -> Selfwhere Self: BorrowMut<B>, B: ?Sized,
BorrowMut<B>
of a value. Read more§fn tap_ref<R>(self, func: impl FnOnce(&R)) -> Selfwhere
Self: AsRef<R>,
R: ?Sized,
fn tap_ref<R>(self, func: impl FnOnce(&R)) -> Selfwhere Self: AsRef<R>, R: ?Sized,
AsRef<R>
view of a value. Read more§fn tap_ref_mut<R>(self, func: impl FnOnce(&mut R)) -> Selfwhere
Self: AsMut<R>,
R: ?Sized,
fn tap_ref_mut<R>(self, func: impl FnOnce(&mut R)) -> Selfwhere Self: AsMut<R>, R: ?Sized,
AsMut<R>
view of a value. Read more§fn tap_deref<T>(self, func: impl FnOnce(&T)) -> Selfwhere
Self: Deref<Target = T>,
T: ?Sized,
fn tap_deref<T>(self, func: impl FnOnce(&T)) -> Selfwhere Self: Deref<Target = T>, T: ?Sized,
Deref::Target
of a value. Read more§fn tap_deref_mut<T>(self, func: impl FnOnce(&mut T)) -> Selfwhere
Self: DerefMut<Target = T> + Deref,
T: ?Sized,
fn tap_deref_mut<T>(self, func: impl FnOnce(&mut T)) -> Selfwhere Self: DerefMut<Target = T> + Deref, T: ?Sized,
Deref::Target
of a value. Read more§fn tap_dbg(self, func: impl FnOnce(&Self)) -> Self
fn tap_dbg(self, func: impl FnOnce(&Self)) -> Self
.tap()
only in debug builds, and is erased in release builds.§fn tap_mut_dbg(self, func: impl FnOnce(&mut Self)) -> Self
fn tap_mut_dbg(self, func: impl FnOnce(&mut Self)) -> Self
.tap_mut()
only in debug builds, and is erased in release
builds.§fn tap_borrow_dbg<B>(self, func: impl FnOnce(&B)) -> Selfwhere
Self: Borrow<B>,
B: ?Sized,
fn tap_borrow_dbg<B>(self, func: impl FnOnce(&B)) -> Selfwhere Self: Borrow<B>, B: ?Sized,
.tap_borrow()
only in debug builds, and is erased in release
builds.§fn tap_borrow_mut_dbg<B>(self, func: impl FnOnce(&mut B)) -> Selfwhere
Self: BorrowMut<B>,
B: ?Sized,
fn tap_borrow_mut_dbg<B>(self, func: impl FnOnce(&mut B)) -> Selfwhere Self: BorrowMut<B>, B: ?Sized,
.tap_borrow_mut()
only in debug builds, and is erased in release
builds.§fn tap_ref_dbg<R>(self, func: impl FnOnce(&R)) -> Selfwhere
Self: AsRef<R>,
R: ?Sized,
fn tap_ref_dbg<R>(self, func: impl FnOnce(&R)) -> Selfwhere Self: AsRef<R>, R: ?Sized,
.tap_ref()
only in debug builds, and is erased in release
builds.§fn tap_ref_mut_dbg<R>(self, func: impl FnOnce(&mut R)) -> Selfwhere
Self: AsMut<R>,
R: ?Sized,
fn tap_ref_mut_dbg<R>(self, func: impl FnOnce(&mut R)) -> Selfwhere Self: AsMut<R>, R: ?Sized,
.tap_ref_mut()
only in debug builds, and is erased in release
builds.§impl<T> TryConv for T
impl<T> TryConv for T
§impl<S, T> UncheckedInto<T> for Swhere
T: UncheckedFrom<S>,
impl<S, T> UncheckedInto<T> for Swhere T: UncheckedFrom<S>,
§fn unchecked_into(self) -> T
fn unchecked_into(self) -> T
unchecked_from
.§impl<T, S> UniqueSaturatedInto<T> for Swhere
T: Bounded,
S: TryInto<T>,
impl<T, S> UniqueSaturatedInto<T> for Swhere T: Bounded, S: TryInto<T>,
§fn unique_saturated_into(self) -> T
fn unique_saturated_into(self) -> T
T
.