pub struct Runtime;
Implementations§
Trait Implementations§
Source§impl AccountNonceApiV1<Block<Header<u32, BlakeTwo256>, UncheckedExtrinsic<MultiAddress<<<MultiSignature as Verify>::Signer as IdentifyAccount>::AccountId, ()>, RuntimeCall, MultiSignature, (CheckSpecVersion<Runtime>, CheckTxVersion<Runtime>, CheckGenesis<Runtime>, CheckMortality<Runtime>, CheckNonce<Runtime>, CheckWeight<Runtime>, ChargeTransactionPayment<Runtime>, ChargeSponsor<Runtime>, StorageWeightReclaim<Runtime>, CheckMetadataHash<Runtime>)>>, <<MultiSignature as Verify>::Signer as IdentifyAccount>::AccountId, u32> for Runtime
impl AccountNonceApiV1<Block<Header<u32, BlakeTwo256>, UncheckedExtrinsic<MultiAddress<<<MultiSignature as Verify>::Signer as IdentifyAccount>::AccountId, ()>, RuntimeCall, MultiSignature, (CheckSpecVersion<Runtime>, CheckTxVersion<Runtime>, CheckGenesis<Runtime>, CheckMortality<Runtime>, CheckNonce<Runtime>, CheckWeight<Runtime>, ChargeTransactionPayment<Runtime>, ChargeSponsor<Runtime>, StorageWeightReclaim<Runtime>, CheckMetadataHash<Runtime>)>>, <<MultiSignature as Verify>::Signer as IdentifyAccount>::AccountId, u32> for Runtime
Source§fn account_nonce(account: AccountId) -> Nonce
fn account_nonce(account: AccountId) -> Nonce
Get current account nonce of given
AccountId
.Source§impl AuraApiV1<Block<Header<u32, BlakeTwo256>, UncheckedExtrinsic<MultiAddress<<<MultiSignature as Verify>::Signer as IdentifyAccount>::AccountId, ()>, RuntimeCall, MultiSignature, (CheckSpecVersion<Runtime>, CheckTxVersion<Runtime>, CheckGenesis<Runtime>, CheckMortality<Runtime>, CheckNonce<Runtime>, CheckWeight<Runtime>, ChargeTransactionPayment<Runtime>, ChargeSponsor<Runtime>, StorageWeightReclaim<Runtime>, CheckMetadataHash<Runtime>)>>, Public> for Runtime
impl AuraApiV1<Block<Header<u32, BlakeTwo256>, UncheckedExtrinsic<MultiAddress<<<MultiSignature as Verify>::Signer as IdentifyAccount>::AccountId, ()>, RuntimeCall, MultiSignature, (CheckSpecVersion<Runtime>, CheckTxVersion<Runtime>, CheckGenesis<Runtime>, CheckMortality<Runtime>, CheckNonce<Runtime>, CheckWeight<Runtime>, ChargeTransactionPayment<Runtime>, ChargeSponsor<Runtime>, StorageWeightReclaim<Runtime>, CheckMetadataHash<Runtime>)>>, Public> for Runtime
Source§fn slot_duration() -> SlotDuration
fn slot_duration() -> SlotDuration
Returns the slot duration for Aura. Read more
Return the current set of authorities.
Source§impl AuraUnincludedSegmentApiV1<Block<Header<u32, BlakeTwo256>, UncheckedExtrinsic<MultiAddress<<<MultiSignature as Verify>::Signer as IdentifyAccount>::AccountId, ()>, RuntimeCall, MultiSignature, (CheckSpecVersion<Runtime>, CheckTxVersion<Runtime>, CheckGenesis<Runtime>, CheckMortality<Runtime>, CheckNonce<Runtime>, CheckWeight<Runtime>, ChargeTransactionPayment<Runtime>, ChargeSponsor<Runtime>, StorageWeightReclaim<Runtime>, CheckMetadataHash<Runtime>)>>> for Runtime
impl AuraUnincludedSegmentApiV1<Block<Header<u32, BlakeTwo256>, UncheckedExtrinsic<MultiAddress<<<MultiSignature as Verify>::Signer as IdentifyAccount>::AccountId, ()>, RuntimeCall, MultiSignature, (CheckSpecVersion<Runtime>, CheckTxVersion<Runtime>, CheckGenesis<Runtime>, CheckMortality<Runtime>, CheckNonce<Runtime>, CheckWeight<Runtime>, ChargeTransactionPayment<Runtime>, ChargeSponsor<Runtime>, StorageWeightReclaim<Runtime>, CheckMetadataHash<Runtime>)>>> for Runtime
Source§impl BlockBuilderV6<Block<Header<u32, BlakeTwo256>, UncheckedExtrinsic<MultiAddress<<<MultiSignature as Verify>::Signer as IdentifyAccount>::AccountId, ()>, RuntimeCall, MultiSignature, (CheckSpecVersion<Runtime>, CheckTxVersion<Runtime>, CheckGenesis<Runtime>, CheckMortality<Runtime>, CheckNonce<Runtime>, CheckWeight<Runtime>, ChargeTransactionPayment<Runtime>, ChargeSponsor<Runtime>, StorageWeightReclaim<Runtime>, CheckMetadataHash<Runtime>)>>> for Runtime
impl BlockBuilderV6<Block<Header<u32, BlakeTwo256>, UncheckedExtrinsic<MultiAddress<<<MultiSignature as Verify>::Signer as IdentifyAccount>::AccountId, ()>, RuntimeCall, MultiSignature, (CheckSpecVersion<Runtime>, CheckTxVersion<Runtime>, CheckGenesis<Runtime>, CheckMortality<Runtime>, CheckNonce<Runtime>, CheckWeight<Runtime>, ChargeTransactionPayment<Runtime>, ChargeSponsor<Runtime>, StorageWeightReclaim<Runtime>, CheckMetadataHash<Runtime>)>>> for Runtime
Source§fn apply_extrinsic(
extrinsic: <Block as BlockT>::Extrinsic,
) -> ApplyExtrinsicResult
fn apply_extrinsic( extrinsic: <Block as BlockT>::Extrinsic, ) -> ApplyExtrinsicResult
Apply the given extrinsic. Read more
Source§fn finalize_block() -> <Block as BlockT>::Header
fn finalize_block() -> <Block as BlockT>::Header
Finish the current block.
Source§fn inherent_extrinsics(data: InherentData) -> Vec<<Block as BlockT>::Extrinsic>
fn inherent_extrinsics(data: InherentData) -> Vec<<Block as BlockT>::Extrinsic>
Generate inherent extrinsics. The inherent data will vary from chain to chain.
Source§fn check_inherents(block: Block, data: InherentData) -> CheckInherentsResult
fn check_inherents(block: Block, data: InherentData) -> CheckInherentsResult
Check that the inherents are valid. The inherent data will vary from chain to chain.
Source§impl CallerTrait<<Runtime as Config>::AccountId> for OriginCaller
impl CallerTrait<<Runtime as Config>::AccountId> for OriginCaller
Source§fn into_system(self) -> Option<RawOrigin<<Runtime as Config>::AccountId>>
fn into_system(self) -> Option<RawOrigin<<Runtime as Config>::AccountId>>
Extract the signer from the message if it is a
Signed
origin.Source§fn as_system_ref(&self) -> Option<&RawOrigin<<Runtime as Config>::AccountId>>
fn as_system_ref(&self) -> Option<&RawOrigin<<Runtime as Config>::AccountId>>
Extract a reference to the system-level
RawOrigin
if it is that.§fn as_signed(&self) -> Option<&AccountId>
fn as_signed(&self) -> Option<&AccountId>
Extract the signer from it if a system
Signed
origin, None
otherwise.Source§impl CollectCollationInfoV2<Block<Header<u32, BlakeTwo256>, UncheckedExtrinsic<MultiAddress<<<MultiSignature as Verify>::Signer as IdentifyAccount>::AccountId, ()>, RuntimeCall, MultiSignature, (CheckSpecVersion<Runtime>, CheckTxVersion<Runtime>, CheckGenesis<Runtime>, CheckMortality<Runtime>, CheckNonce<Runtime>, CheckWeight<Runtime>, ChargeTransactionPayment<Runtime>, ChargeSponsor<Runtime>, StorageWeightReclaim<Runtime>, CheckMetadataHash<Runtime>)>>> for Runtime
impl CollectCollationInfoV2<Block<Header<u32, BlakeTwo256>, UncheckedExtrinsic<MultiAddress<<<MultiSignature as Verify>::Signer as IdentifyAccount>::AccountId, ()>, RuntimeCall, MultiSignature, (CheckSpecVersion<Runtime>, CheckTxVersion<Runtime>, CheckGenesis<Runtime>, CheckMortality<Runtime>, CheckNonce<Runtime>, CheckWeight<Runtime>, ChargeTransactionPayment<Runtime>, ChargeSponsor<Runtime>, StorageWeightReclaim<Runtime>, CheckMetadataHash<Runtime>)>>> for Runtime
Source§fn collect_collation_info(header: &<Block as BlockT>::Header) -> CollationInfo
fn collect_collation_info(header: &<Block as BlockT>::Header) -> CollationInfo
Collect information about a collation. Read more
Source§impl Config<Instance1> for Runtime
impl Config<Instance1> for Runtime
type RuntimeEvent = RuntimeEvent
type Currency = Pallet<Runtime>
type ExternalOrigin = EnsureProportionMoreThan<<<MultiSignature as Verify>::Signer as IdentifyAccount>::AccountId, Instance1, 1, 2>
type RuntimeCall = RuntimeCall
type PalletId = CompanyReservePalletId
Source§type WeightInfo = WeightInfo<Runtime>
type WeightInfo = WeightInfo<Runtime>
Weight information for extrinsics in this pallet.
Source§impl Config<Instance1> for Runtime
impl Config<Instance1> for Runtime
Source§type RuntimeOrigin = RuntimeOrigin
type RuntimeOrigin = RuntimeOrigin
The runtime origin type.
Source§type Proposal = RuntimeCall
type Proposal = RuntimeCall
The runtime call dispatch type.
Source§type RuntimeEvent = RuntimeEvent
type RuntimeEvent = RuntimeEvent
The runtime event type.
Source§type MotionDuration = MotionDuration
type MotionDuration = MotionDuration
The time-out for council motions.
Source§type MaxProposals = MaxProposals
type MaxProposals = MaxProposals
Maximum number of proposals allowed to be active in parallel.
Source§type WeightInfo = WeightInfo<Runtime>
type WeightInfo = WeightInfo<Runtime>
Weight information for extrinsics in this pallet.
Source§type MaxMembers = MaxMembers
type MaxMembers = MaxMembers
The maximum number of members supported by the pallet. Used for weight estimation. Read more
Source§type DefaultVote = PrimeDefaultVote
type DefaultVote = PrimeDefaultVote
Default vote strategy of this collective.
Source§type SetMembersOrigin = EitherOfDiverse<EnsureRoot<<<MultiSignature as Verify>::Signer as IdentifyAccount>::AccountId>, EnsureProportionMoreThan<<<MultiSignature as Verify>::Signer as IdentifyAccount>::AccountId, Instance1, 1, 2>>
type SetMembersOrigin = EitherOfDiverse<EnsureRoot<<<MultiSignature as Verify>::Signer as IdentifyAccount>::AccountId>, EnsureProportionMoreThan<<<MultiSignature as Verify>::Signer as IdentifyAccount>::AccountId, Instance1, 1, 2>>
Origin allowed to set collective members
Source§type MaxProposalWeight = MaxCollectivesProposalWeight
type MaxProposalWeight = MaxCollectivesProposalWeight
The maximum weight of a dispatch call that can be proposed and executed.
Source§impl Config for Runtime
impl Config for Runtime
Source§type FindAuthor = FindAccountFromAuthorIndex<Runtime, Pallet<Runtime>>
type FindAuthor = FindAccountFromAuthorIndex<Runtime, Pallet<Runtime>>
Find the author of a block.
Source§type EventHandler = (Pallet<Runtime>,)
type EventHandler = (Pallet<Runtime>,)
An event handler for authored blocks.
Source§impl Config for Runtime
impl Config for Runtime
Source§type SessionManager = Pallet<Runtime>
type SessionManager = Pallet<Runtime>
Handler for managing new session.
Source§type ShouldEndSession = PeriodicSessions<Period, Offset>
type ShouldEndSession = PeriodicSessions<Period, Offset>
Indicator for when to end the session.
Source§type NextSessionRotation = PeriodicSessions<Period, Offset>
type NextSessionRotation = PeriodicSessions<Period, Offset>
Something that can predict the next session rotation. This should typically come from
the same logical unit that provides [
ShouldEndSession
], yet, it gives a best effort
estimate. It is helpful to implement [EstimateNextNewSession
].Source§type RuntimeEvent = RuntimeEvent
type RuntimeEvent = RuntimeEvent
The overarching event type.
Source§type SessionHandler = <SessionKeys as OpaqueKeys>::KeyTypeIdProviders
type SessionHandler = <SessionKeys as OpaqueKeys>::KeyTypeIdProviders
Handler when a session has changed.
Source§type Keys = SessionKeys
type Keys = SessionKeys
The keys.
Source§type ValidatorId = <<MultiSignature as Verify>::Signer as IdentifyAccount>::AccountId
type ValidatorId = <<MultiSignature as Verify>::Signer as IdentifyAccount>::AccountId
A stable ID for a validator.
Source§type ValidatorIdOf = IdentityCollator
type ValidatorIdOf = IdentityCollator
A conversion from account ID to validator ID. Read more
Source§type WeightInfo = WeightInfo<Runtime>
type WeightInfo = WeightInfo<Runtime>
Weight information for extrinsics in this pallet.
Source§impl Config for Runtime
impl Config for Runtime
Source§type OnTimestampSet = ()
type OnTimestampSet = ()
Something which can be notified (e.g. another pallet) when the timestamp is set. Read more
Source§type MinimumPeriod = MinimumPeriod
type MinimumPeriod = MinimumPeriod
The minimum period between blocks. Read more
Source§type WeightInfo = WeightInfo<Runtime>
type WeightInfo = WeightInfo<Runtime>
Weight information for extrinsics in this pallet.
Source§impl Config for Runtime
impl Config for Runtime
Source§type MaxLocks = ConstU32<50>
type MaxLocks = ConstU32<50>
The maximum number of locks that should exist on an account.
Not strictly enforced, but used for weight estimation. Read more
Source§type MaxReserves = ConstU32<50>
type MaxReserves = ConstU32<50>
The maximum number of named reserves that can exist on an account. Read more
Source§type DustRemoval = ()
type DustRemoval = ()
Handler for the unbalanced reduction when removing a dust account.
Source§type RuntimeEvent = RuntimeEvent
type RuntimeEvent = RuntimeEvent
The overarching event type.
Source§type ExistentialDeposit = ExistentialDeposit
type ExistentialDeposit = ExistentialDeposit
The minimum amount required to keep an account open. MUST BE GREATER THAN ZERO! Read more
Source§type AccountStore = Pallet<Runtime>
type AccountStore = Pallet<Runtime>
The means of storing the balances of an account.
Source§type WeightInfo = WeightInfo<Runtime>
type WeightInfo = WeightInfo<Runtime>
Weight information for extrinsics in this pallet.
Source§type MaxFreezes = ConstU32<0>
type MaxFreezes = ConstU32<0>
The maximum number of individual freeze locks that can exist on an account at any time.
Source§type FreezeIdentifier = ()
type FreezeIdentifier = ()
The ID type for freezes.
Source§type RuntimeHoldReason = RuntimeHoldReason
type RuntimeHoldReason = RuntimeHoldReason
The overarching hold reason.
Source§type RuntimeFreezeReason = RuntimeFreezeReason
type RuntimeFreezeReason = RuntimeFreezeReason
The overarching freeze reason.
Source§impl Config for Runtime
impl Config for Runtime
Source§type RuntimeEvent = RuntimeEvent
type RuntimeEvent = RuntimeEvent
The overarching event type.
Source§type OnChargeTransaction = FungibleAdapter<Pallet<Runtime>, DealWithFees>
type OnChargeTransaction = FungibleAdapter<Pallet<Runtime>, DealWithFees>
Handler for withdrawing, refunding and depositing the transaction fee.
Transaction fees are withdrawn before the transaction is executed.
After the transaction was executed the transaction weight can be
adjusted, depending on the used resources by the transaction. If the
transaction weight is lower than expected, parts of the transaction fee
might be refunded. In the end the fees can be deposited.
Source§type WeightToFee = IdentityFee<u128>
type WeightToFee = IdentityFee<u128>
Convert a weight value into a deductible fee based on the currency type.
Source§type FeeMultiplierUpdate = TargetedFeeAdjustment<Runtime, TargetBlockFullness, AdjustmentVariable, MinimumMultiplier, MaximumMultiplier>
type FeeMultiplierUpdate = TargetedFeeAdjustment<Runtime, TargetBlockFullness, AdjustmentVariable, MinimumMultiplier, MaximumMultiplier>
Update the multiplier of the next block, based on the previous block’s weight.
Source§type OperationalFeeMultiplier = OperationalFeeMultiplier
type OperationalFeeMultiplier = OperationalFeeMultiplier
A fee multiplier for
Operational
extrinsics to compute “virtual tip” to boost their
priority
Read moreSource§type LengthToFee = ConstantMultiplier<u128, TransactionByteFee>
type LengthToFee = ConstantMultiplier<u128, TransactionByteFee>
Convert a length value into a deductible fee based on the currency type.
Source§impl Config for Runtime
impl Config for Runtime
type RuntimeEvent = RuntimeEvent
type Currency = Pallet<Runtime>
type CancelOrigin = EnsureProportionMoreThan<<<MultiSignature as Verify>::Signer as IdentifyAccount>::AccountId, Instance1, 1, 2>
Source§type MaxSchedule = MaxSchedule
type MaxSchedule = MaxSchedule
The maximum number of vesting schedule.
Source§type WeightInfo = WeightInfo<Runtime>
type WeightInfo = WeightInfo<Runtime>
Weight information for extrinsics in this pallet.
type BlockNumberProvider = RelaychainDataProvider<Runtime>
Source§impl Config for Runtime
impl Config for Runtime
Source§type RuntimeEvent = RuntimeEvent
type RuntimeEvent = RuntimeEvent
The overarching event type.
Source§type RuntimeCall = RuntimeCall
type RuntimeCall = RuntimeCall
The overarching call type.
Source§type PalletsOrigin = OriginCaller
type PalletsOrigin = OriginCaller
The caller origin, overarching type of all pallets origins.
Source§type WeightInfo = WeightInfo<Runtime>
type WeightInfo = WeightInfo<Runtime>
Weight information for extrinsics in this pallet.
Source§impl Config for Runtime
impl Config for Runtime
Source§type RuntimeEvent = RuntimeEvent
type RuntimeEvent = RuntimeEvent
The overarching event type.
Source§type RuntimeCall = RuntimeCall
type RuntimeCall = RuntimeCall
The overarching call type.
Source§type DepositBase = DepositBase
type DepositBase = DepositBase
The base amount of currency needed to reserve for creating a multisig execution or to
store a dispatch call for later. Read more
Source§type DepositFactor = DepositFactor
type DepositFactor = DepositFactor
The amount of currency needed per unit threshold when creating a multisig execution. Read more
Source§type MaxSignatories = MaxSignatories
type MaxSignatories = MaxSignatories
The maximum amount of signatories allowed in the multisig.
Source§type WeightInfo = WeightInfo<Runtime>
type WeightInfo = WeightInfo<Runtime>
Weight information for extrinsics in this pallet.
Source§impl Config for Runtime
impl Config for Runtime
Source§type RuntimeEvent = RuntimeEvent
type RuntimeEvent = RuntimeEvent
The overarching event type.
Source§type RuntimeOrigin = RuntimeOrigin
type RuntimeOrigin = RuntimeOrigin
The aggregated origin which the dispatch will take.
Source§type PalletsOrigin = OriginCaller
type PalletsOrigin = OriginCaller
The caller origin, overarching type of all pallets origins.
Source§type RuntimeCall = RuntimeCall
type RuntimeCall = RuntimeCall
The aggregated call type.
Source§type MaximumWeight = MaximumSchedulerWeight
type MaximumWeight = MaximumSchedulerWeight
The maximum weight that may be scheduled per block for any dispatchables.
Source§type ScheduleOrigin = EnsureRoot<<<MultiSignature as Verify>::Signer as IdentifyAccount>::AccountId>
type ScheduleOrigin = EnsureRoot<<<MultiSignature as Verify>::Signer as IdentifyAccount>::AccountId>
Required origin to schedule or cancel calls.
Source§type MaxScheduledPerBlock = MaxScheduledPerBlock
type MaxScheduledPerBlock = MaxScheduledPerBlock
The maximum number of scheduled calls in the queue for a single block. Read more
Source§type OriginPrivilegeCmp = EqualPrivilegeOnly
type OriginPrivilegeCmp = EqualPrivilegeOnly
Compare the privileges of origins. Read more
Source§type WeightInfo = WeightInfo<Runtime>
type WeightInfo = WeightInfo<Runtime>
Weight information for extrinsics in this pallet.
Source§impl Config for Runtime
impl Config for Runtime
Source§type WeightInfo = WeightInfo<Runtime>
type WeightInfo = WeightInfo<Runtime>
The Weight information for this pallet.
Source§type RuntimeEvent = RuntimeEvent
type RuntimeEvent = RuntimeEvent
The overarching event type.
Source§type ManagerOrigin = EnsureRoot<<<MultiSignature as Verify>::Signer as IdentifyAccount>::AccountId>
type ManagerOrigin = EnsureRoot<<<MultiSignature as Verify>::Signer as IdentifyAccount>::AccountId>
An origin that can request a preimage be placed on-chain without a deposit or fee, or
manage existing preimages.
Source§type Consideration = HoldConsideration<<<MultiSignature as Verify>::Signer as IdentifyAccount>::AccountId, Pallet<Runtime>, PreimageHoldReason, LinearStoragePrice<PreimageBaseDeposit, PreimageByteDeposit, u128>>
type Consideration = HoldConsideration<<<MultiSignature as Verify>::Signer as IdentifyAccount>::AccountId, Pallet<Runtime>, PreimageHoldReason, LinearStoragePrice<PreimageBaseDeposit, PreimageByteDeposit, u128>>
A means of providing some cost while data is stored on-chain.
Source§impl Config for Runtime
impl Config for Runtime
Source§type RuntimeEvent = RuntimeEvent
type RuntimeEvent = RuntimeEvent
The overarching event type.
Source§type CollectionId = u32
type CollectionId = u32
Identifier for the collection of item.
Source§type ForceOrigin = EnsureRoot<<<MultiSignature as Verify>::Signer as IdentifyAccount>::AccountId>
type ForceOrigin = EnsureRoot<<<MultiSignature as Verify>::Signer as IdentifyAccount>::AccountId>
The origin which may forcibly create or destroy an item or otherwise alter privileged
attributes.
Source§type CollectionDeposit = CollectionDeposit
type CollectionDeposit = CollectionDeposit
The basic amount of funds that must be reserved for collection.
Source§type ItemDeposit = ItemDeposit
type ItemDeposit = ItemDeposit
The basic amount of funds that must be reserved for an item.
Source§type MetadataDepositBase = MetadataDepositBase
type MetadataDepositBase = MetadataDepositBase
The basic amount of funds that must be reserved when adding metadata to your item.
Source§type AttributeDepositBase = MetadataDepositBase
type AttributeDepositBase = MetadataDepositBase
The basic amount of funds that must be reserved when adding an attribute to an item.
Source§type DepositPerByte = MetadataDepositPerByte
type DepositPerByte = MetadataDepositPerByte
The additional funds that must be reserved for the number of bytes store in metadata,
either “normal” metadata or attribute metadata.
Source§type StringLimit = StringLimit
type StringLimit = StringLimit
The maximum length of data stored on-chain.
Source§type ValueLimit = ValueLimit
type ValueLimit = ValueLimit
The maximum length of an attribute value.
Source§type WeightInfo = WeightInfo<Runtime>
type WeightInfo = WeightInfo<Runtime>
Weight information for extrinsics in this pallet.
Source§type CreateOrigin = AsEnsureOriginWithArg<EnsureSigned<<<MultiSignature as Verify>::Signer as IdentifyAccount>::AccountId>>
type CreateOrigin = AsEnsureOriginWithArg<EnsureSigned<<<MultiSignature as Verify>::Signer as IdentifyAccount>::AccountId>>
Standard collection creation is only allowed if the origin attempting it and the
collection are in this set.
Source§impl Config for Runtime
impl Config for Runtime
Source§type AuthorityId = Public
type AuthorityId = Public
The identifier type for an authority.
Source§type DisabledValidators = ()
type DisabledValidators = ()
A way to check whether a given validator is disabled and should not be authoring blocks.
Blocks authored by a disabled validator will lead to a panic as part of this module’s
initialization.
Source§type MaxAuthorities = ConstU32<100000>
type MaxAuthorities = ConstU32<100000>
The maximum number of authorities that the pallet can hold.
Source§type AllowMultipleBlocksPerSlot = ConstBool<false>
type AllowMultipleBlocksPerSlot = ConstBool<false>
Whether to allow block authors to create multiple blocks per slot. Read more
Source§type SlotDuration = ConstU64<{ constants::SLOT_DURATION }>
type SlotDuration = ConstU64<{ constants::SLOT_DURATION }>
The slot duration Aura should run with, expressed in milliseconds.
The effective value of this type should not change while the chain is running. Read more
Source§impl Config for Runtime
impl Config for Runtime
Source§type RuntimeEvent = RuntimeEvent
type RuntimeEvent = RuntimeEvent
Because this pallet emits events, it depends on the runtime’s definition of an event.
Source§type RuntimeCall = RuntimeCall
type RuntimeCall = RuntimeCall
The overarching call type.
Source§type SponsorshipType = SponsorshipType
type SponsorshipType = SponsorshipType
The type for the categories of the calls that could be sponsored.
The instance filter determines whether a given call may be sponsored under this type. Read more
Source§type PotDeposit = PotDeposit
type PotDeposit = PotDeposit
The deposit that must be locked in order to create a pot.
Source§type UserDeposit = UserDeposit
type UserDeposit = UserDeposit
The deposit that must be reserved form the sponsor per their sponsored user.
Source§type WeightInfo = WeightInfo<Runtime>
type WeightInfo = WeightInfo<Runtime>
Type representing the weight of this pallet
Source§impl Config for Runtime
impl Config for Runtime
Source§type RuntimeEvent = RuntimeEvent
type RuntimeEvent = RuntimeEvent
The overarching event type.
Source§type WeightInfo = WeightInfo<Runtime>
type WeightInfo = WeightInfo<Runtime>
Weight information for extrinsics specific to this pallet.
Source§impl Config for Runtime
impl Config for Runtime
Source§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.
Source§type Time = Pallet<Runtime>
type Time = Pallet<Runtime>
The time implementation used to supply timestamps to contracts through
seal_now
.Source§type Randomness = Pallet<Runtime>
type Randomness = Pallet<Runtime>
The generator used to supply randomness to contracts through
seal_random
. Read moreSource§type Currency = Pallet<Runtime>
type Currency = Pallet<Runtime>
The fungible in which fees are paid and contract balances are held.
Source§type RuntimeEvent = RuntimeEvent
type RuntimeEvent = RuntimeEvent
The overarching event type.
Source§type RuntimeCall = RuntimeCall
type RuntimeCall = RuntimeCall
The overarching call type.
Source§type DepositPerItem = DepositPerItem
type DepositPerItem = DepositPerItem
The amount of balance a caller has to pay for each storage item. Read more
Source§type DepositPerByte = DepositPerByte
type DepositPerByte = DepositPerByte
The amount of balance a caller has to pay for each byte of storage. Read more
Source§type DefaultDepositLimit = DefaultDepositLimit
type DefaultDepositLimit = DefaultDepositLimit
Fallback value to limit the storage deposit if it’s not being set by the caller.
Source§type CallStack = [Frame<Runtime>; 5]
type CallStack = [Frame<Runtime>; 5]
The type of the call stack determines the maximum nesting depth of contract calls. Read more
Source§type WeightPrice = Pallet<Runtime>
type WeightPrice = Pallet<Runtime>
Used to answer contracts’ queries regarding the current weight price. This is not
used to calculate the actual fee and is only for informational purposes.
Source§type WeightInfo = WeightInfo<Runtime>
type WeightInfo = WeightInfo<Runtime>
Describes the weights of the dispatchables of this module and is also used to
construct a default cost schedule.
Source§type ChainExtension = ()
type ChainExtension = ()
Type that allows the runtime authors to add new host functions for a contract to call.
Source§type AddressGenerator = DefaultAddressGenerator
type AddressGenerator = DefaultAddressGenerator
The address generator used to generate the addresses of contracts.
Source§type MaxCodeLen = ConstU32<{ 123 * 1024 }>
type MaxCodeLen = ConstU32<{ 123 * 1024 }>
The maximum length of a contract code in bytes. Read more
Source§type MaxStorageKeyLen = ConstU32<128>
type MaxStorageKeyLen = ConstU32<128>
The maximum allowable length in bytes for storage keys.
Source§type UnsafeUnstableInterface = ConstBool<false>
type UnsafeUnstableInterface = ConstBool<false>
Make contract callable functions marked as
#[unstable]
available. Read moreSource§type UploadOrigin = EnsureSigned<<Runtime as Config>::AccountId>
type UploadOrigin = EnsureSigned<<Runtime as Config>::AccountId>
Origin allowed to upload code. Read more
Source§type InstantiateOrigin = EnsureSigned<<Runtime as Config>::AccountId>
type InstantiateOrigin = EnsureSigned<<Runtime as Config>::AccountId>
Origin allowed to instantiate code. Read more
Source§type MaxDebugBufferLen = ConstU32<{ 2 * 1024 * 1024 }>
type MaxDebugBufferLen = ConstU32<{ 2 * 1024 * 1024 }>
The maximum length of the debug buffer in bytes.
Source§type Migrations = (Migration<Runtime>, Migration<Runtime, Pallet<Runtime>>, Migration<Runtime>, Migration<Runtime>)
type Migrations = (Migration<Runtime>, Migration<Runtime, Pallet<Runtime>>, Migration<Runtime>, Migration<Runtime>)
The sequence of migration steps that will be applied during a migration. Read more
Source§type CodeHashLockupDepositPercent = CodeHashLockupDepositPercent
type CodeHashLockupDepositPercent = CodeHashLockupDepositPercent
The percentage of the storage deposit that should be held for using a code hash.
Instantiating a contract, or calling [
chain_extension::Ext::lock_delegate_dependency
]
protects the code from being removed. In order to prevent abuse these actions are
protected with a percentage of the code deposit.Source§type MaxDelegateDependencies = ConstU32<32>
type MaxDelegateDependencies = ConstU32<32>
The maximum number of delegate_dependencies that a contract can lock with
[
chain_extension::Ext::lock_delegate_dependency
].Source§type RuntimeHoldReason = RuntimeHoldReason
type RuntimeHoldReason = RuntimeHoldReason
Overarching hold reason.
Source§type Environment = ()
type Environment = ()
Type that bundles together all the runtime configurable interface types. Read more
Source§type Xcm = Pallet<Runtime>
type Xcm = Pallet<Runtime>
A type that exposes XCM APIs, allowing contracts to interact with other parachains, and
execute XCM programs.
Source§type ApiVersion = ()
type ApiVersion = ()
The version of the HostFn APIs that are available in the runtime. Read more
Source§impl Config for Runtime
impl Config for Runtime
Source§type RuntimeEvent = RuntimeEvent
type RuntimeEvent = RuntimeEvent
The overarching event type.
Source§type BasicDeposit = BasicDeposit
type BasicDeposit = BasicDeposit
The amount held on deposit for a registered identity.
Source§type SubAccountDeposit = SubAccountDeposit
type SubAccountDeposit = SubAccountDeposit
The amount held on deposit for a registered subaccount. This should account for the fact
that one storage item’s value will increase by the size of an account ID, and there will
be another trie item whose value is the size of an account ID plus 32 bytes.
Source§type MaxSubAccounts = MaxSubAccounts
type MaxSubAccounts = MaxSubAccounts
The maximum number of sub-accounts allowed per identified account.
Source§type MaxRegistrars = MaxRegistrars
type MaxRegistrars = MaxRegistrars
Maximum number of registrars allowed in the system. Needed to bound the complexity
of, e.g., updating judgements.
Source§type ForceOrigin = EnsureRoot<<<MultiSignature as Verify>::Signer as IdentifyAccount>::AccountId>
type ForceOrigin = EnsureRoot<<<MultiSignature as Verify>::Signer as IdentifyAccount>::AccountId>
The origin which may forcibly set or remove a name. Root can always do this.
Source§type RegistrarOrigin = EnsureRoot<<<MultiSignature as Verify>::Signer as IdentifyAccount>::AccountId>
type RegistrarOrigin = EnsureRoot<<<MultiSignature as Verify>::Signer as IdentifyAccount>::AccountId>
The origin which may add or remove registrars. Root can always do this.
Source§type WeightInfo = WeightInfo<Runtime>
type WeightInfo = WeightInfo<Runtime>
Weight information for extrinsics in this pallet.
Source§type IdentityInformation = IdentityInfo<MaxAdditionalFields>
type IdentityInformation = IdentityInfo<MaxAdditionalFields>
Structure holding information about an identity.
Source§type ByteDeposit = ByteDeposit
type ByteDeposit = ByteDeposit
The amount held on deposit per encoded byte for a registered identity.
Source§type OffchainSignature = MultiSignature
type OffchainSignature = MultiSignature
Signature type for pre-authorizing usernames off-chain. Read more
Source§type SigningPublicKey = <MultiSignature as Verify>::Signer
type SigningPublicKey = <MultiSignature as Verify>::Signer
Public key that corresponds to an on-chain
Self::AccountId
.Source§type UsernameAuthorityOrigin = EnsureRoot<<Runtime as Config>::AccountId>
type UsernameAuthorityOrigin = EnsureRoot<<Runtime as Config>::AccountId>
The origin which may add or remove username authorities. Root can always do this.
Source§type PendingUsernameExpiration = ConstU32<{ 7 * DAYS }>
type PendingUsernameExpiration = ConstU32<{ 7 * DAYS }>
The number of blocks within which a username grant must be accepted.
Source§type MaxSuffixLength = ConstU32<7>
type MaxSuffixLength = ConstU32<7>
The maximum length of a suffix.
Source§type MaxUsernameLength = ConstU32<32>
type MaxUsernameLength = ConstU32<32>
The maximum length of a username, including its suffix and any system-added delimiters.
Source§impl Config for Runtime
impl Config for Runtime
const VERSION_DISCOVERY_QUEUE_SIZE: u32 = 100u32
Source§type RuntimeEvent = RuntimeEvent
type RuntimeEvent = RuntimeEvent
The overarching event type.
Source§type SendXcmOrigin = EnsureXcmOrigin<RuntimeOrigin, SignedToAccountId32<RuntimeOrigin, <<MultiSignature as Verify>::Signer as IdentifyAccount>::AccountId, RelayNetwork>>
type SendXcmOrigin = EnsureXcmOrigin<RuntimeOrigin, SignedToAccountId32<RuntimeOrigin, <<MultiSignature as Verify>::Signer as IdentifyAccount>::AccountId, RelayNetwork>>
Required origin for sending XCM messages. If successful, it resolves to
Location
which exists as an interior location within this chain’s XCM context.Source§type XcmRouter = (ParentAsUmp<Pallet<Runtime>, Pallet<Runtime>, ()>, Pallet<Runtime>)
type XcmRouter = (ParentAsUmp<Pallet<Runtime>, Pallet<Runtime>, ()>, Pallet<Runtime>)
The type used to actually dispatch an XCM to its destination.
Source§type ExecuteXcmOrigin = EnsureXcmOrigin<RuntimeOrigin, SignedToAccountId32<RuntimeOrigin, <<MultiSignature as Verify>::Signer as IdentifyAccount>::AccountId, RelayNetwork>>
type ExecuteXcmOrigin = EnsureXcmOrigin<RuntimeOrigin, SignedToAccountId32<RuntimeOrigin, <<MultiSignature as Verify>::Signer as IdentifyAccount>::AccountId, RelayNetwork>>
Required origin for executing XCM messages, including the teleport functionality. If
successful, then it resolves to
Location
which exists as an interior location
within this chain’s XCM context.Source§type XcmExecuteFilter = Nothing
type XcmExecuteFilter = Nothing
Our XCM filter which messages to be executed using
XcmExecutor
must pass.Source§type XcmExecutor = XcmExecutor<XcmConfig>
type XcmExecutor = XcmExecutor<XcmConfig>
Something to execute an XCM message.
Source§type XcmTeleportFilter = Nothing
type XcmTeleportFilter = Nothing
Our XCM filter which messages to be teleported using the dedicated extrinsic must pass.
Source§type XcmReserveTransferFilter = Everything
type XcmReserveTransferFilter = Everything
Our XCM filter which messages to be reserve-transferred using the dedicated extrinsic
must pass.
Source§type Weigher = WeightInfoBounds<NodleXcmWeight<RuntimeCall>, RuntimeCall, MaxInstructions>
type Weigher = WeightInfoBounds<NodleXcmWeight<RuntimeCall>, RuntimeCall, MaxInstructions>
Means of measuring the weight consumed by an XCM message locally.
Source§type UniversalLocation = UniversalLocation
type UniversalLocation = UniversalLocation
This chain’s Universal Location.
Source§type RuntimeOrigin = RuntimeOrigin
type RuntimeOrigin = RuntimeOrigin
The runtime
Origin
type.Source§type RuntimeCall = RuntimeCall
type RuntimeCall = RuntimeCall
The runtime
Call
type.Source§type AdvertisedXcmVersion = CurrentXcmVersion
type AdvertisedXcmVersion = CurrentXcmVersion
The latest supported version that we advertise. Generally just set it to
pallet_xcm::CurrentXcmVersion
.Source§type CurrencyMatcher = ()
type CurrencyMatcher = ()
The
Asset
matcher for Currency
.Source§type TrustedLockers = ()
type TrustedLockers = ()
The assets which we consider a given origin is trusted if they claim to have placed a
lock.
Source§type SovereignAccountOf = (ParentIsPreset<<<MultiSignature as Verify>::Signer as IdentifyAccount>::AccountId>, SiblingParachainConvertsVia<Sibling, <<MultiSignature as Verify>::Signer as IdentifyAccount>::AccountId>, AccountId32Aliases<RelayNetwork, <<MultiSignature as Verify>::Signer as IdentifyAccount>::AccountId>)
type SovereignAccountOf = (ParentIsPreset<<<MultiSignature as Verify>::Signer as IdentifyAccount>::AccountId>, SiblingParachainConvertsVia<Sibling, <<MultiSignature as Verify>::Signer as IdentifyAccount>::AccountId>, AccountId32Aliases<RelayNetwork, <<MultiSignature as Verify>::Signer as IdentifyAccount>::AccountId>)
How to get an
AccountId
value from a Location
, useful for handling asset locks.Source§type MaxLockers = ConstU32<8>
type MaxLockers = ConstU32<8>
The maximum number of local XCM locks that a single account may have.
Source§type AdminOrigin = EnsureRoot<<<MultiSignature as Verify>::Signer as IdentifyAccount>::AccountId>
type AdminOrigin = EnsureRoot<<<MultiSignature as Verify>::Signer as IdentifyAccount>::AccountId>
The origin that is allowed to call privileged operations on the XCM pallet
Source§type WeightInfo = WeightInfo<Runtime>
type WeightInfo = WeightInfo<Runtime>
Weight information for extrinsics in this pallet.
Source§type MaxRemoteLockConsumers = ConstU32<0>
type MaxRemoteLockConsumers = ConstU32<0>
The maximum number of consumers a single remote lock may have.
Source§type RemoteLockConsumerIdentifier = ()
type RemoteLockConsumerIdentifier = ()
The ID type for local consumers of remote locks.
Source§impl Config for Runtime
impl Config for Runtime
type RuntimeEvent = RuntimeEvent
Source§type ChannelInfo = Pallet<Runtime>
type ChannelInfo = Pallet<Runtime>
Information on the available XCMP channels.
Source§type VersionWrapper = Pallet<Runtime>
type VersionWrapper = Pallet<Runtime>
Means of converting an
Xcm
into a VersionedXcm
.Source§type MaxActiveOutboundChannels = ConstU32<128>
type MaxActiveOutboundChannels = ConstU32<128>
Maximal number of outbound XCMP channels that can have messages queued at the same time. Read more
Source§type MaxPageSize = ConstU32<{ 103 * 1024 }>
type MaxPageSize = ConstU32<{ 103 * 1024 }>
The maximal page size for HRMP message pages. Read more
Source§type ControllerOrigin = EnsureRoot<<<MultiSignature as Verify>::Signer as IdentifyAccount>::AccountId>
type ControllerOrigin = EnsureRoot<<<MultiSignature as Verify>::Signer as IdentifyAccount>::AccountId>
The origin that is allowed to resume or suspend the XCMP queue.
Source§type ControllerOriginConverter = (SovereignSignedViaLocation<(ParentIsPreset<<<MultiSignature as Verify>::Signer as IdentifyAccount>::AccountId>, SiblingParachainConvertsVia<Sibling, <<MultiSignature as Verify>::Signer as IdentifyAccount>::AccountId>, AccountId32Aliases<RelayNetwork, <<MultiSignature as Verify>::Signer as IdentifyAccount>::AccountId>), RuntimeOrigin>, RelayChainAsNative<RelayChainOrigin, RuntimeOrigin>, SiblingParachainAsNative<Origin, RuntimeOrigin>, SignedAccountId32AsNative<RelayNetwork, RuntimeOrigin>, XcmPassthrough<RuntimeOrigin>)
type ControllerOriginConverter = (SovereignSignedViaLocation<(ParentIsPreset<<<MultiSignature as Verify>::Signer as IdentifyAccount>::AccountId>, SiblingParachainConvertsVia<Sibling, <<MultiSignature as Verify>::Signer as IdentifyAccount>::AccountId>, AccountId32Aliases<RelayNetwork, <<MultiSignature as Verify>::Signer as IdentifyAccount>::AccountId>), RuntimeOrigin>, RelayChainAsNative<RelayChainOrigin, RuntimeOrigin>, SiblingParachainAsNative<Origin, RuntimeOrigin>, SignedAccountId32AsNative<RelayNetwork, RuntimeOrigin>, XcmPassthrough<RuntimeOrigin>)
The conversion function used to attempt to convert an XCM
Location
origin to a
superuser origin.Source§type WeightInfo = WeightInfo<Runtime>
type WeightInfo = WeightInfo<Runtime>
The weight information of this pallet.
Source§type PriceForSiblingDelivery = ExponentialPrice<FeeAssetId, BaseDeliveryFee, TransactionByteFee, Pallet<Runtime>>
type PriceForSiblingDelivery = ExponentialPrice<FeeAssetId, BaseDeliveryFee, TransactionByteFee, Pallet<Runtime>>
The price for delivering an XCM to a sibling parachain destination.
Source§type XcmpQueue = TransformOrigin<Pallet<Runtime>, AggregateMessageOrigin, Id, ParaIdToSibling>
type XcmpQueue = TransformOrigin<Pallet<Runtime>, AggregateMessageOrigin, Id, ParaIdToSibling>
Enqueue an inbound horizontal message for later processing. Read more
Source§type MaxInboundSuspended = ConstU32<1000>
type MaxInboundSuspended = ConstU32<1000>
The maximum number of inbound XCMP channels that can be suspended simultaneously. Read more
Source§impl Config for Runtime
impl Config for Runtime
Source§type RuntimeEvent = RuntimeEvent
type RuntimeEvent = RuntimeEvent
The overarching event type.
type XcmExecutor = XcmExecutor<XcmConfig>
Source§impl Config for Runtime
impl Config for Runtime
Source§type RuntimeEvent = RuntimeEvent
type RuntimeEvent = RuntimeEvent
The overarching event type.
Source§type WeightInfo = WeightInfo<Runtime>
type WeightInfo = WeightInfo<Runtime>
Weight information for extrinsics in this pallet.
Source§type MessageProcessor = ProcessXcmMessage<AggregateMessageOrigin, XcmExecutor<XcmConfig>, RuntimeCall>
type MessageProcessor = ProcessXcmMessage<AggregateMessageOrigin, XcmExecutor<XcmConfig>, RuntimeCall>
Processor for a message. Read more
Source§type QueueChangeHandler = NarrowOriginToSibling<Pallet<Runtime>>
type QueueChangeHandler = NarrowOriginToSibling<Pallet<Runtime>>
Code to be called when a message queue changes - either with items introduced or
removed.
Source§type QueuePausedQuery = NarrowOriginToSibling<Pallet<Runtime>>
type QueuePausedQuery = NarrowOriginToSibling<Pallet<Runtime>>
Queried by the pallet to check whether a queue can be serviced. Read more
Source§type HeapSize = ConstU32<{ 64 * 1024 }>
type HeapSize = ConstU32<{ 64 * 1024 }>
The size of the page; this implies the maximum message size which can be sent. Read more
Source§type MaxStale = ConstU32<8>
type MaxStale = ConstU32<8>
The maximum number of stale pages (i.e. of overweight messages) allowed before culling
can happen. Once there are more stale pages than this, then historical pages may be
dropped, even if they contain unprocessed overweight messages.
Source§type ServiceWeight = MessageQueueServiceWeight
type ServiceWeight = MessageQueueServiceWeight
The amount of weight (if any) which should be provided to the message queue for
servicing enqueued items
on_initialize
. Read moreSource§type IdleMaxServiceWeight = ()
type IdleMaxServiceWeight = ()
The maximum amount of weight (if any) to be used from remaining weight
on_idle
which
should be provided to the message queue for servicing enqueued items on_idle
.
Useful for parachains to process messages at the same block they are received. Read moreSource§impl Config for Runtime
impl Config for Runtime
Source§type RuntimeEvent = RuntimeEvent
type RuntimeEvent = RuntimeEvent
Overarching event type.
Source§type UpdateOrigin = EitherOfDiverse<EnsureRoot<<<MultiSignature as Verify>::Signer as IdentifyAccount>::AccountId>, EnsureProportionMoreThan<<<MultiSignature as Verify>::Signer as IdentifyAccount>::AccountId, Instance1, 1, 2>>
type UpdateOrigin = EitherOfDiverse<EnsureRoot<<<MultiSignature as Verify>::Signer as IdentifyAccount>::AccountId>, EnsureProportionMoreThan<<<MultiSignature as Verify>::Signer as IdentifyAccount>::AccountId, Instance1, 1, 2>>
Origin that can dictate updating parameters of this pallet.
Source§type MaxCandidates = MaxCandidates
type MaxCandidates = MaxCandidates
Maximum number of candidates that we should have. Read more
Source§type MaxInvulnerables = MaxInvulnerables
type MaxInvulnerables = MaxInvulnerables
Maximum number of invulnerables.
type KickThreshold = Period
Source§type ValidatorId = <<MultiSignature as Verify>::Signer as IdentifyAccount>::AccountId
type ValidatorId = <<MultiSignature as Verify>::Signer as IdentifyAccount>::AccountId
A stable ID for a validator.
Source§type ValidatorIdOf = IdentityCollator
type ValidatorIdOf = IdentityCollator
A conversion from account ID to validator ID. Read more
Source§type ValidatorRegistration = Pallet<Runtime>
type ValidatorRegistration = Pallet<Runtime>
Validate a user is registered
Source§type WeightInfo = WeightInfo<Runtime>
type WeightInfo = WeightInfo<Runtime>
The weight information of this pallet.
Source§type MinEligibleCollators = MinEligibleCollators
type MinEligibleCollators = MinEligibleCollators
Minimum number eligible collators. Should always be greater than zero. This includes
Invulnerable collators. This ensures that there will always be one collator who can
produce a block.
Source§impl Config for Runtime
impl Config for Runtime
type RuntimeEvent = RuntimeEvent
type RuntimeCall = RuntimeCall
Source§type ExternalOrigin = EnsureProportionMoreThan<<<MultiSignature as Verify>::Signer as IdentifyAccount>::AccountId, Instance1, 1, 2>
type ExternalOrigin = EnsureProportionMoreThan<<<MultiSignature as Verify>::Signer as IdentifyAccount>::AccountId, Instance1, 1, 2>
Origin that can call this module and execute sudo actions. Typically
the
collective
module.Source§impl Config for Runtime
impl Config for Runtime
type RuntimeEvent = RuntimeEvent
type Currency = Pallet<Runtime>
type PalletId = AllocPalletId
type ProtocolFee = ProtocolFee
type ProtocolFeeReceiver = Pallet<Runtime, Instance4>
Source§type MintCurve = EdenMintCurve
type MintCurve = EdenMintCurve
MintCurve acts as an upper bound limiting how much the total token issuance can inflate
over a configured session
Source§type ExistentialDeposit = <Runtime as Config>::ExistentialDeposit
type ExistentialDeposit = <Runtime as Config>::ExistentialDeposit
Runtime existential deposit
type OracleMembers = Pallet<Runtime, Instance2>
Source§type BlockNumberProvider = RelaychainDataProvider<Runtime>
type BlockNumberProvider = RelaychainDataProvider<Runtime>
Provide access to the block number that should be used in mint curve calculations. For
example those who use this pallet for a parachain may decide to use the block creation
pace of the relay chain for timing.
Source§type WeightInfo = WeightInfo<Runtime>
type WeightInfo = WeightInfo<Runtime>
Weight information for extrinsics in this pallet.
Source§impl Config for Runtime
impl Config for Runtime
Source§type RuntimeEvent = RuntimeEvent
type RuntimeEvent = RuntimeEvent
The overarching event type.
Source§type OnSystemEvent = ()
type OnSystemEvent = ()
Something which can be notified when the validation data is set.
Source§type SelfParaId = Pallet<Runtime>
type SelfParaId = Pallet<Runtime>
Returns the parachain ID we are running with.
Source§type OutboundXcmpMessageSource = Pallet<Runtime>
type OutboundXcmpMessageSource = Pallet<Runtime>
The place where outbound XCMP messages come from. This is queried in
finalize_block
.Source§type ReservedDmpWeight = ReservedDmpWeight
type ReservedDmpWeight = ReservedDmpWeight
The weight we reserve at the beginning of the block for processing DMP messages.
Source§type XcmpMessageHandler = Pallet<Runtime>
type XcmpMessageHandler = Pallet<Runtime>
The message handler that will be invoked when messages are received via XCMP. Read more
Source§type ReservedXcmpWeight = ReservedXcmpWeight
type ReservedXcmpWeight = ReservedXcmpWeight
The weight we reserve at the beginning of the block for processing XCMP messages.
Source§type CheckAssociatedRelayNumber = RelayNumberMonotonicallyIncreases
type CheckAssociatedRelayNumber = RelayNumberMonotonicallyIncreases
Something that can check the associated relay parent block number.
Source§type DmpQueue = EnqueueWithOrigin<Pallet<Runtime>, RelayOrigin>
type DmpQueue = EnqueueWithOrigin<Pallet<Runtime>, RelayOrigin>
Queues inbound downward messages for delayed processing. Read more
Source§type ConsensusHook = FixedVelocityConsensusHook<Runtime, { constants::RELAY_CHAIN_SLOT_DURATION_MILLIS }, { constants::BLOCK_PROCESSING_VELOCITY }, { constants::UNINCLUDED_SEGMENT_CAPACITY }>
type ConsensusHook = FixedVelocityConsensusHook<Runtime, { constants::RELAY_CHAIN_SLOT_DURATION_MILLIS }, { constants::BLOCK_PROCESSING_VELOCITY }, { constants::UNINCLUDED_SEGMENT_CAPACITY }>
An entry-point for higher-level logic to manage the backlog of unincluded parachain
blocks and authorship rights for those blocks. Read more
Source§type WeightInfo = WeightInfo<Runtime>
type WeightInfo = WeightInfo<Runtime>
Weight info for functions and calls.
Source§impl Config for Runtime
impl Config for Runtime
Source§type BlockWeights = RuntimeBlockWeights
type BlockWeights = RuntimeBlockWeights
Block & extrinsics weights: base values and limits.
Source§type BlockLength = RuntimeBlockLength
type BlockLength = RuntimeBlockLength
The maximum length of a block (in bytes).
Source§type AccountId = <<MultiSignature as Verify>::Signer as IdentifyAccount>::AccountId
type AccountId = <<MultiSignature as Verify>::Signer as IdentifyAccount>::AccountId
The user account identifier type for the runtime.
Source§type Nonce = u32
type Nonce = u32
This stores the number of previous transactions associated with a sender account.
Source§type Block = Block<Header<u32, BlakeTwo256>, UncheckedExtrinsic<MultiAddress<<<MultiSignature as Verify>::Signer as IdentifyAccount>::AccountId, ()>, RuntimeCall, MultiSignature, (CheckSpecVersion<Runtime>, CheckTxVersion<Runtime>, CheckGenesis<Runtime>, CheckMortality<Runtime>, CheckNonce<Runtime>, CheckWeight<Runtime>, ChargeTransactionPayment<Runtime>, ChargeSponsor<Runtime>, StorageWeightReclaim<Runtime>, CheckMetadataHash<Runtime>)>>
type Block = Block<Header<u32, BlakeTwo256>, UncheckedExtrinsic<MultiAddress<<<MultiSignature as Verify>::Signer as IdentifyAccount>::AccountId, ()>, RuntimeCall, MultiSignature, (CheckSpecVersion<Runtime>, CheckTxVersion<Runtime>, CheckGenesis<Runtime>, CheckMortality<Runtime>, CheckNonce<Runtime>, CheckWeight<Runtime>, ChargeTransactionPayment<Runtime>, ChargeSponsor<Runtime>, StorageWeightReclaim<Runtime>, CheckMetadataHash<Runtime>)>>
The Block type used by the runtime. This is used by
construct_runtime
to retrieve the
extrinsics or other block specific data as needed.Source§type BlockHashCount = BlockHashCount
type BlockHashCount = BlockHashCount
Maximum number of block number to block hash mappings to keep (oldest pruned first).
Source§type DbWeight = RocksDbWeight
type DbWeight = RocksDbWeight
The weight of runtime database operations the runtime can invoke.
Source§type AccountData = AccountData<u128>
type AccountData = AccountData<u128>
Data to be associated with an account (other than nonce/transaction counter, which this
pallet does regardless).
type SystemWeightInfo = WeightInfo<Runtime>
Source§type SS58Prefix = SS58Prefix
type SS58Prefix = SS58Prefix
The designated SS58 prefix of this chain. Read more
Source§type OnSetCode = ParachainSetCode<Runtime>
type OnSetCode = ParachainSetCode<Runtime>
What to do if the runtime wants to change the code to something new. Read more
Source§type MaxConsumers = ConstU32<16>
type MaxConsumers = ConstU32<16>
The maximum number of consumers allowed on a single account.
Source§type Hashing = <ParaChainDefaultConfig as DefaultConfig>::Hashing
type Hashing = <ParaChainDefaultConfig as DefaultConfig>::Hashing
The hashing system (algorithm) being used in the runtime (e.g. Blake2).
Source§type Lookup = <ParaChainDefaultConfig as DefaultConfig>::Lookup
type Lookup = <ParaChainDefaultConfig as DefaultConfig>::Lookup
Converting trait to take a source type and convert to
AccountId
. Read moreSource§type OnNewAccount = <ParaChainDefaultConfig as DefaultConfig>::OnNewAccount
type OnNewAccount = <ParaChainDefaultConfig as DefaultConfig>::OnNewAccount
Handler for when a new account has just been created.
Source§type OnKilledAccount = <ParaChainDefaultConfig as DefaultConfig>::OnKilledAccount
type OnKilledAccount = <ParaChainDefaultConfig as DefaultConfig>::OnKilledAccount
A function that is invoked when an account has been determined to be dead. Read more
Source§type RuntimeEvent = RuntimeEvent
type RuntimeEvent = RuntimeEvent
The aggregated event type of the runtime.
Source§type RuntimeOrigin = RuntimeOrigin
type RuntimeOrigin = RuntimeOrigin
The
RuntimeOrigin
type used by dispatchable calls.Source§type RuntimeCall = RuntimeCall
type RuntimeCall = RuntimeCall
The aggregated
RuntimeCall
type.Source§type RuntimeTask = RuntimeTask
type RuntimeTask = RuntimeTask
The aggregated
RuntimeTask
type.Source§type PalletInfo = PalletInfo
type PalletInfo = PalletInfo
Provides information about the pallet setup in the runtime. Read more
Source§type BaseCallFilter = <ParaChainDefaultConfig as DefaultConfig>::BaseCallFilter
type BaseCallFilter = <ParaChainDefaultConfig as DefaultConfig>::BaseCallFilter
The basic call filter to use in Origin. All origins are built with this filter as base,
except Root. Read more
Source§type SingleBlockMigrations = <ParaChainDefaultConfig as DefaultConfig>::SingleBlockMigrations
type SingleBlockMigrations = <ParaChainDefaultConfig as DefaultConfig>::SingleBlockMigrations
All migrations that should run in the next runtime upgrade. Read more
Source§type MultiBlockMigrator = <ParaChainDefaultConfig as DefaultConfig>::MultiBlockMigrator
type MultiBlockMigrator = <ParaChainDefaultConfig as DefaultConfig>::MultiBlockMigrator
The migrator that is used to run Multi-Block-Migrations. Read more
Source§type PreInherents = <ParaChainDefaultConfig as DefaultConfig>::PreInherents
type PreInherents = <ParaChainDefaultConfig as DefaultConfig>::PreInherents
A callback that executes in every block directly before all inherents were applied. Read more
Source§type PostInherents = <ParaChainDefaultConfig as DefaultConfig>::PostInherents
type PostInherents = <ParaChainDefaultConfig as DefaultConfig>::PostInherents
A callback that executes in every block directly after all inherents were applied. Read more
Source§type PostTransactions = <ParaChainDefaultConfig as DefaultConfig>::PostTransactions
type PostTransactions = <ParaChainDefaultConfig as DefaultConfig>::PostTransactions
A callback that executes in every block directly after all transactions were applied. Read more
Source§impl ContractsApiV2<Block<Header<u32, BlakeTwo256>, UncheckedExtrinsic<MultiAddress<<<MultiSignature as Verify>::Signer as IdentifyAccount>::AccountId, ()>, RuntimeCall, MultiSignature, (CheckSpecVersion<Runtime>, CheckTxVersion<Runtime>, CheckGenesis<Runtime>, CheckMortality<Runtime>, CheckNonce<Runtime>, CheckWeight<Runtime>, ChargeTransactionPayment<Runtime>, ChargeSponsor<Runtime>, StorageWeightReclaim<Runtime>, CheckMetadataHash<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, ()>, RuntimeCall, MultiSignature, (CheckSpecVersion<Runtime>, CheckTxVersion<Runtime>, CheckGenesis<Runtime>, CheckMortality<Runtime>, CheckNonce<Runtime>, CheckWeight<Runtime>, ChargeTransactionPayment<Runtime>, ChargeSponsor<Runtime>, StorageWeightReclaim<Runtime>, CheckMetadataHash<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>>
Perform a call from a specified account to a given contract. Read more
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>>
Instantiate a new contract. Read more
Source§impl CoreV5<Block<Header<u32, BlakeTwo256>, UncheckedExtrinsic<MultiAddress<<<MultiSignature as Verify>::Signer as IdentifyAccount>::AccountId, ()>, RuntimeCall, MultiSignature, (CheckSpecVersion<Runtime>, CheckTxVersion<Runtime>, CheckGenesis<Runtime>, CheckMortality<Runtime>, CheckNonce<Runtime>, CheckWeight<Runtime>, ChargeTransactionPayment<Runtime>, ChargeSponsor<Runtime>, StorageWeightReclaim<Runtime>, CheckMetadataHash<Runtime>)>>> for Runtime
impl CoreV5<Block<Header<u32, BlakeTwo256>, UncheckedExtrinsic<MultiAddress<<<MultiSignature as Verify>::Signer as IdentifyAccount>::AccountId, ()>, RuntimeCall, MultiSignature, (CheckSpecVersion<Runtime>, CheckTxVersion<Runtime>, CheckGenesis<Runtime>, CheckMortality<Runtime>, CheckNonce<Runtime>, CheckWeight<Runtime>, ChargeTransactionPayment<Runtime>, ChargeSponsor<Runtime>, StorageWeightReclaim<Runtime>, CheckMetadataHash<Runtime>)>>> for Runtime
Source§fn execute_block(block: Block)
fn execute_block(block: Block)
Execute the given block.
Source§fn initialize_block(
header: &<Block as BlockT>::Header,
) -> ExtrinsicInclusionMode
fn initialize_block( header: &<Block as BlockT>::Header, ) -> ExtrinsicInclusionMode
Initialize a block with the given header and return the runtime executive mode.
Source§impl<LocalCall> 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)>
Attempt to create signed extrinsic data that encodes call from given account. Read more
Source§impl GenesisBuilderV1<Block<Header<u32, BlakeTwo256>, UncheckedExtrinsic<MultiAddress<<<MultiSignature as Verify>::Signer as IdentifyAccount>::AccountId, ()>, RuntimeCall, MultiSignature, (CheckSpecVersion<Runtime>, CheckTxVersion<Runtime>, CheckGenesis<Runtime>, CheckMortality<Runtime>, CheckNonce<Runtime>, CheckWeight<Runtime>, ChargeTransactionPayment<Runtime>, ChargeSponsor<Runtime>, StorageWeightReclaim<Runtime>, CheckMetadataHash<Runtime>)>>> for Runtime
impl GenesisBuilderV1<Block<Header<u32, BlakeTwo256>, UncheckedExtrinsic<MultiAddress<<<MultiSignature as Verify>::Signer as IdentifyAccount>::AccountId, ()>, RuntimeCall, MultiSignature, (CheckSpecVersion<Runtime>, CheckTxVersion<Runtime>, CheckGenesis<Runtime>, CheckMortality<Runtime>, CheckNonce<Runtime>, CheckWeight<Runtime>, ChargeTransactionPayment<Runtime>, ChargeSponsor<Runtime>, StorageWeightReclaim<Runtime>, CheckMetadataHash<Runtime>)>>> for Runtime
Source§fn build_state(config: Vec<u8>) -> Result
fn build_state(config: Vec<u8>) -> Result
Build
RuntimeGenesisConfig
from a JSON blob not using any defaults and store it in the
storage. Read moreSource§fn preset_names() -> Vec<PresetId>
fn preset_names() -> Vec<PresetId>
Returns a list of identifiers for available builtin
RuntimeGenesisConfig
presets. Read moreSource§impl GetRuntimeBlockType for Runtime
impl GetRuntimeBlockType for Runtime
Source§type RuntimeBlock = <Runtime as Config>::Block
type RuntimeBlock = <Runtime as Config>::Block
The
RuntimeBlock
type.Source§impl IsInherent<<<Runtime as Config>::Block as Block>::Extrinsic> for Runtime
impl IsInherent<<<Runtime as Config>::Block as Block>::Extrinsic> for Runtime
Source§fn is_inherent(ext: &<<Runtime as Config>::Block as Block>::Extrinsic) -> bool
fn is_inherent(ext: &<<Runtime as Config>::Block as Block>::Extrinsic) -> bool
Whether this extrinsic is an inherent.
Source§impl MetadataV2<Block<Header<u32, BlakeTwo256>, UncheckedExtrinsic<MultiAddress<<<MultiSignature as Verify>::Signer as IdentifyAccount>::AccountId, ()>, RuntimeCall, MultiSignature, (CheckSpecVersion<Runtime>, CheckTxVersion<Runtime>, CheckGenesis<Runtime>, CheckMortality<Runtime>, CheckNonce<Runtime>, CheckWeight<Runtime>, ChargeTransactionPayment<Runtime>, ChargeSponsor<Runtime>, StorageWeightReclaim<Runtime>, CheckMetadataHash<Runtime>)>>> for Runtime
impl MetadataV2<Block<Header<u32, BlakeTwo256>, UncheckedExtrinsic<MultiAddress<<<MultiSignature as Verify>::Signer as IdentifyAccount>::AccountId, ()>, RuntimeCall, MultiSignature, (CheckSpecVersion<Runtime>, CheckTxVersion<Runtime>, CheckGenesis<Runtime>, CheckMortality<Runtime>, CheckNonce<Runtime>, CheckWeight<Runtime>, ChargeTransactionPayment<Runtime>, ChargeSponsor<Runtime>, StorageWeightReclaim<Runtime>, CheckMetadataHash<Runtime>)>>> for Runtime
Source§impl OffchainWorkerApiV2<Block<Header<u32, BlakeTwo256>, UncheckedExtrinsic<MultiAddress<<<MultiSignature as Verify>::Signer as IdentifyAccount>::AccountId, ()>, RuntimeCall, MultiSignature, (CheckSpecVersion<Runtime>, CheckTxVersion<Runtime>, CheckGenesis<Runtime>, CheckMortality<Runtime>, CheckNonce<Runtime>, CheckWeight<Runtime>, ChargeTransactionPayment<Runtime>, ChargeSponsor<Runtime>, StorageWeightReclaim<Runtime>, CheckMetadataHash<Runtime>)>>> for Runtime
impl OffchainWorkerApiV2<Block<Header<u32, BlakeTwo256>, UncheckedExtrinsic<MultiAddress<<<MultiSignature as Verify>::Signer as IdentifyAccount>::AccountId, ()>, RuntimeCall, MultiSignature, (CheckSpecVersion<Runtime>, CheckTxVersion<Runtime>, CheckGenesis<Runtime>, CheckMortality<Runtime>, CheckNonce<Runtime>, CheckWeight<Runtime>, ChargeTransactionPayment<Runtime>, ChargeSponsor<Runtime>, StorageWeightReclaim<Runtime>, CheckMetadataHash<Runtime>)>>> for Runtime
Source§fn offchain_worker(header: &<Block as BlockT>::Header)
fn offchain_worker(header: &<Block as BlockT>::Header)
Starts the off-chain task for given block header.
Source§impl<C> SendTransactionTypes<C> for Runtimewhere
RuntimeCall: From<C>,
impl<C> SendTransactionTypes<C> for Runtimewhere
RuntimeCall: From<C>,
Source§type OverarchingCall = RuntimeCall
type OverarchingCall = RuntimeCall
The runtime’s call type. Read more
Source§type Extrinsic = UncheckedExtrinsic<MultiAddress<<<MultiSignature as Verify>::Signer as IdentifyAccount>::AccountId, ()>, RuntimeCall, MultiSignature, (CheckSpecVersion<Runtime>, CheckTxVersion<Runtime>, CheckGenesis<Runtime>, CheckMortality<Runtime>, CheckNonce<Runtime>, CheckWeight<Runtime>, ChargeTransactionPayment<Runtime>, ChargeSponsor<Runtime>, StorageWeightReclaim<Runtime>, CheckMetadataHash<Runtime>)>
type Extrinsic = UncheckedExtrinsic<MultiAddress<<<MultiSignature as Verify>::Signer as IdentifyAccount>::AccountId, ()>, RuntimeCall, MultiSignature, (CheckSpecVersion<Runtime>, CheckTxVersion<Runtime>, CheckGenesis<Runtime>, CheckMortality<Runtime>, CheckNonce<Runtime>, CheckWeight<Runtime>, ChargeTransactionPayment<Runtime>, ChargeSponsor<Runtime>, StorageWeightReclaim<Runtime>, CheckMetadataHash<Runtime>)>
The extrinsic type expected by the runtime.
Source§impl SessionKeysV1<Block<Header<u32, BlakeTwo256>, UncheckedExtrinsic<MultiAddress<<<MultiSignature as Verify>::Signer as IdentifyAccount>::AccountId, ()>, RuntimeCall, MultiSignature, (CheckSpecVersion<Runtime>, CheckTxVersion<Runtime>, CheckGenesis<Runtime>, CheckMortality<Runtime>, CheckNonce<Runtime>, CheckWeight<Runtime>, ChargeTransactionPayment<Runtime>, ChargeSponsor<Runtime>, StorageWeightReclaim<Runtime>, CheckMetadataHash<Runtime>)>>> for Runtime
impl SessionKeysV1<Block<Header<u32, BlakeTwo256>, UncheckedExtrinsic<MultiAddress<<<MultiSignature as Verify>::Signer as IdentifyAccount>::AccountId, ()>, RuntimeCall, MultiSignature, (CheckSpecVersion<Runtime>, CheckTxVersion<Runtime>, CheckGenesis<Runtime>, CheckMortality<Runtime>, CheckNonce<Runtime>, CheckWeight<Runtime>, ChargeTransactionPayment<Runtime>, ChargeSponsor<Runtime>, StorageWeightReclaim<Runtime>, CheckMetadataHash<Runtime>)>>> for Runtime
Source§impl TaggedTransactionQueueV3<Block<Header<u32, BlakeTwo256>, UncheckedExtrinsic<MultiAddress<<<MultiSignature as Verify>::Signer as IdentifyAccount>::AccountId, ()>, RuntimeCall, MultiSignature, (CheckSpecVersion<Runtime>, CheckTxVersion<Runtime>, CheckGenesis<Runtime>, CheckMortality<Runtime>, CheckNonce<Runtime>, CheckWeight<Runtime>, ChargeTransactionPayment<Runtime>, ChargeSponsor<Runtime>, StorageWeightReclaim<Runtime>, CheckMetadataHash<Runtime>)>>> for Runtime
impl TaggedTransactionQueueV3<Block<Header<u32, BlakeTwo256>, UncheckedExtrinsic<MultiAddress<<<MultiSignature as Verify>::Signer as IdentifyAccount>::AccountId, ()>, RuntimeCall, MultiSignature, (CheckSpecVersion<Runtime>, CheckTxVersion<Runtime>, CheckGenesis<Runtime>, CheckMortality<Runtime>, CheckNonce<Runtime>, CheckWeight<Runtime>, ChargeTransactionPayment<Runtime>, ChargeSponsor<Runtime>, StorageWeightReclaim<Runtime>, CheckMetadataHash<Runtime>)>>> for Runtime
Source§impl TransactionPaymentApiV4<Block<Header<u32, BlakeTwo256>, UncheckedExtrinsic<MultiAddress<<<MultiSignature as Verify>::Signer as IdentifyAccount>::AccountId, ()>, RuntimeCall, MultiSignature, (CheckSpecVersion<Runtime>, CheckTxVersion<Runtime>, CheckGenesis<Runtime>, CheckMortality<Runtime>, CheckNonce<Runtime>, CheckWeight<Runtime>, ChargeTransactionPayment<Runtime>, ChargeSponsor<Runtime>, StorageWeightReclaim<Runtime>, CheckMetadataHash<Runtime>)>>, u128> for Runtime
impl TransactionPaymentApiV4<Block<Header<u32, BlakeTwo256>, UncheckedExtrinsic<MultiAddress<<<MultiSignature as Verify>::Signer as IdentifyAccount>::AccountId, ()>, RuntimeCall, MultiSignature, (CheckSpecVersion<Runtime>, CheckTxVersion<Runtime>, CheckGenesis<Runtime>, CheckMortality<Runtime>, CheckNonce<Runtime>, CheckWeight<Runtime>, ChargeTransactionPayment<Runtime>, ChargeSponsor<Runtime>, StorageWeightReclaim<Runtime>, CheckMetadataHash<Runtime>)>>, u128> for Runtime
fn query_info( uxt: <Block as BlockT>::Extrinsic, len: u32, ) -> RuntimeDispatchInfo<Balance>
fn query_fee_details( uxt: <Block as BlockT>::Extrinsic, len: u32, ) -> FeeDetails<Balance>
fn query_weight_to_fee(weight: Weight) -> Balance
fn query_length_to_fee(length: u32) -> Balance
Source§impl V5Config for Runtime
impl V5Config for Runtime
Source§type ChannelList = Pallet<Runtime>
type ChannelList = Pallet<Runtime>
List all outbound channels with their target
ParaId
and maximum message size.Source§impl ValidateUnsigned for Runtime
impl ValidateUnsigned for Runtime
Source§type Call = RuntimeCall
type Call = RuntimeCall
The call to validate
Source§fn pre_dispatch(call: &Self::Call) -> Result<(), TransactionValidityError>
fn pre_dispatch(call: &Self::Call) -> Result<(), TransactionValidityError>
Validate the call right before dispatch. Read more
Source§fn validate_unsigned(
source: TransactionSource,
call: &Self::Call,
) -> TransactionValidity
fn validate_unsigned( source: TransactionSource, call: &Self::Call, ) -> TransactionValidity
Return the validity of the call Read more
impl Config for Runtime
impl Config for Runtime
impl Config for Runtime
impl Copy for Runtime
impl Eq for Runtime
impl StructuralPartialEq for Runtime
Auto Trait Implementations§
impl Freeze for Runtime
impl RefUnwindSafe for Runtime
impl Send for Runtime
impl Sync for Runtime
impl Unpin for Runtime
impl UnwindSafe for Runtime
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
§impl<T> CheckedConversion for T
impl<T> CheckedConversion for T
§fn checked_from<T>(t: T) -> Option<Self>where
Self: TryFrom<T>,
fn checked_from<T>(t: T) -> Option<Self>where
Self: TryFrom<T>,
§fn checked_into<T>(self) -> Option<T>where
Self: TryInto<T>,
fn checked_into<T>(self) -> Option<T>where
Self: TryInto<T>,
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§impl<T> Conv for T
impl<T> Conv for T
§impl<T> Downcast for Twhere
T: Any,
impl<T> Downcast for Twhere
T: Any,
§fn into_any(self: Box<T>) -> Box<dyn Any>
fn into_any(self: Box<T>) -> Box<dyn Any>
Convert
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>
Convert
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)
Convert
&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)
Convert
&mut Trait
(where Trait: Downcast
) to &Any
. This is needed since Rust cannot
generate &mut Any
’s vtable from &mut Trait
’s.§impl<T> DowncastSync for T
impl<T> DowncastSync for T
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Checks if this value is equivalent to the given key. Read more
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Checks if this value is equivalent to the given key. Read more
§impl<T> FmtForward for T
impl<T> FmtForward for T
§fn fmt_binary(self) -> FmtBinary<Self>where
Self: Binary,
fn fmt_binary(self) -> FmtBinary<Self>where
Self: Binary,
Causes
self
to use its Binary
implementation when Debug
-formatted.§fn fmt_display(self) -> FmtDisplay<Self>where
Self: Display,
fn fmt_display(self) -> FmtDisplay<Self>where
Self: Display,
Causes
self
to use its Display
implementation when
Debug
-formatted.§fn fmt_lower_exp(self) -> FmtLowerExp<Self>where
Self: LowerExp,
fn fmt_lower_exp(self) -> FmtLowerExp<Self>where
Self: LowerExp,
Causes
self
to use its LowerExp
implementation when
Debug
-formatted.§fn fmt_lower_hex(self) -> FmtLowerHex<Self>where
Self: LowerHex,
fn fmt_lower_hex(self) -> FmtLowerHex<Self>where
Self: LowerHex,
Causes
self
to use its LowerHex
implementation when
Debug
-formatted.§fn fmt_octal(self) -> FmtOctal<Self>where
Self: Octal,
fn fmt_octal(self) -> FmtOctal<Self>where
Self: Octal,
Causes
self
to use its Octal
implementation when Debug
-formatted.§fn fmt_pointer(self) -> FmtPointer<Self>where
Self: Pointer,
fn fmt_pointer(self) -> FmtPointer<Self>where
Self: Pointer,
Causes
self
to use its Pointer
implementation when
Debug
-formatted.§fn fmt_upper_exp(self) -> FmtUpperExp<Self>where
Self: UpperExp,
fn fmt_upper_exp(self) -> FmtUpperExp<Self>where
Self: UpperExp,
Causes
self
to use its UpperExp
implementation when
Debug
-formatted.§fn fmt_upper_hex(self) -> FmtUpperHex<Self>where
Self: UpperHex,
fn fmt_upper_hex(self) -> FmtUpperHex<Self>where
Self: UpperHex,
Causes
self
to use its UpperHex
implementation when
Debug
-formatted.§fn fmt_list(self) -> FmtList<Self>where
&'a Self: for<'a> IntoIterator,
fn fmt_list(self) -> FmtList<Self>where
&'a Self: for<'a> IntoIterator,
Formats each item in a sequence. Read more
§impl<T> Instrument for T
impl<T> Instrument for T
§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read more§impl<T> IsType<T> for T
impl<T> IsType<T> for T
§impl<T, Outer> IsWrappedBy<Outer> for T
impl<T, Outer> IsWrappedBy<Outer> for T
§impl<T> Pipe for Twhere
T: ?Sized,
impl<T> Pipe for Twhere
T: ?Sized,
§fn pipe<R>(self, func: impl FnOnce(Self) -> R) -> Rwhere
Self: Sized,
fn pipe<R>(self, func: impl FnOnce(Self) -> R) -> Rwhere
Self: Sized,
Pipes by value. This is generally the method you want to use. Read more
§fn pipe_ref<'a, R>(&'a self, func: impl FnOnce(&'a Self) -> R) -> Rwhere
R: 'a,
fn pipe_ref<'a, R>(&'a self, func: impl FnOnce(&'a Self) -> R) -> Rwhere
R: 'a,
Borrows
self
and passes that borrow into the pipe function. Read more§fn pipe_ref_mut<'a, R>(&'a mut self, func: impl FnOnce(&'a mut Self) -> R) -> Rwhere
R: 'a,
fn pipe_ref_mut<'a, R>(&'a mut self, func: impl FnOnce(&'a mut Self) -> R) -> Rwhere
R: 'a,
Mutably borrows
self
and passes that borrow into the pipe function. Read more§fn pipe_borrow<'a, B, R>(&'a self, func: impl FnOnce(&'a B) -> R) -> R
fn pipe_borrow<'a, B, R>(&'a self, func: impl FnOnce(&'a B) -> R) -> R
§fn pipe_borrow_mut<'a, B, R>(
&'a mut self,
func: impl FnOnce(&'a mut B) -> R,
) -> R
fn pipe_borrow_mut<'a, B, R>( &'a mut self, func: impl FnOnce(&'a mut B) -> R, ) -> R
§fn pipe_as_ref<'a, U, R>(&'a self, func: impl FnOnce(&'a U) -> R) -> R
fn pipe_as_ref<'a, U, R>(&'a self, func: impl FnOnce(&'a U) -> R) -> R
Borrows
self
, then passes self.as_ref()
into the pipe function.§fn pipe_as_mut<'a, U, R>(&'a mut self, func: impl FnOnce(&'a mut U) -> R) -> R
fn pipe_as_mut<'a, U, R>(&'a mut self, func: impl FnOnce(&'a mut U) -> R) -> R
Mutably borrows
self
, then passes self.as_mut()
into the pipe
function.§fn pipe_deref<'a, T, R>(&'a self, func: impl FnOnce(&'a T) -> R) -> R
fn pipe_deref<'a, T, R>(&'a self, func: impl FnOnce(&'a T) -> R) -> R
Borrows
self
, then passes self.deref()
into the pipe function.§impl<T> Pointable for T
impl<T> Pointable for T
§impl<T> SaturatedConversion for T
impl<T> SaturatedConversion for T
§fn saturated_from<T>(t: T) -> Selfwhere
Self: UniqueSaturatedFrom<T>,
fn saturated_from<T>(t: T) -> Selfwhere
Self: UniqueSaturatedFrom<T>,
§fn saturated_into<T>(self) -> Twhere
Self: UniqueSaturatedInto<T>,
fn saturated_into<T>(self) -> Twhere
Self: UniqueSaturatedInto<T>,
Consume self to return an equivalent value of
T
. Read more§impl<T> Tap for T
impl<T> Tap for T
§fn tap_borrow<B>(self, func: impl FnOnce(&B)) -> Self
fn tap_borrow<B>(self, func: impl FnOnce(&B)) -> Self
Immutable access to the
Borrow<B>
of a value. Read more§fn tap_borrow_mut<B>(self, func: impl FnOnce(&mut B)) -> Self
fn tap_borrow_mut<B>(self, func: impl FnOnce(&mut B)) -> Self
Mutable access to the
BorrowMut<B>
of a value. Read more§fn tap_ref<R>(self, func: impl FnOnce(&R)) -> Self
fn tap_ref<R>(self, func: impl FnOnce(&R)) -> Self
Immutable access to the
AsRef<R>
view of a value. Read more§fn tap_ref_mut<R>(self, func: impl FnOnce(&mut R)) -> Self
fn tap_ref_mut<R>(self, func: impl FnOnce(&mut R)) -> Self
Mutable access to the
AsMut<R>
view of a value. Read more§fn tap_deref<T>(self, func: impl FnOnce(&T)) -> Self
fn tap_deref<T>(self, func: impl FnOnce(&T)) -> Self
Immutable access to the
Deref::Target
of a value. Read more§fn tap_deref_mut<T>(self, func: impl FnOnce(&mut T)) -> Self
fn tap_deref_mut<T>(self, func: impl FnOnce(&mut T)) -> Self
Mutable access to the
Deref::Target
of a value. Read more§fn tap_dbg(self, func: impl FnOnce(&Self)) -> Self
fn tap_dbg(self, func: impl FnOnce(&Self)) -> Self
Calls
.tap()
only in debug builds, and is erased in release builds.§fn tap_mut_dbg(self, func: impl FnOnce(&mut Self)) -> Self
fn tap_mut_dbg(self, func: impl FnOnce(&mut Self)) -> Self
Calls
.tap_mut()
only in debug builds, and is erased in release
builds.§fn tap_borrow_dbg<B>(self, func: impl FnOnce(&B)) -> Self
fn tap_borrow_dbg<B>(self, func: impl FnOnce(&B)) -> Self
Calls
.tap_borrow()
only in debug builds, and is erased in release
builds.§fn tap_borrow_mut_dbg<B>(self, func: impl FnOnce(&mut B)) -> Self
fn tap_borrow_mut_dbg<B>(self, func: impl FnOnce(&mut B)) -> Self
Calls
.tap_borrow_mut()
only in debug builds, and is erased in release
builds.§fn tap_ref_dbg<R>(self, func: impl FnOnce(&R)) -> Self
fn tap_ref_dbg<R>(self, func: impl FnOnce(&R)) -> Self
Calls
.tap_ref()
only in debug builds, and is erased in release
builds.§fn tap_ref_mut_dbg<R>(self, func: impl FnOnce(&mut R)) -> Self
fn tap_ref_mut_dbg<R>(self, func: impl FnOnce(&mut R)) -> Self
Calls
.tap_ref_mut()
only in debug builds, and is erased in release
builds.§fn tap_deref_dbg<T>(self, func: impl FnOnce(&T)) -> Self
fn tap_deref_dbg<T>(self, func: impl FnOnce(&T)) -> Self
Calls
.tap_deref()
only in debug builds, and is erased in release
builds.§impl<T> TryConv for T
impl<T> TryConv for T
§impl<T, U> TryIntoKey<U> for Twhere
U: TryFromKey<T>,
impl<T, U> TryIntoKey<U> for Twhere
U: TryFromKey<T>,
type Error = <U as TryFromKey<T>>::Error
fn try_into_key(self) -> Result<U, <U as TryFromKey<T>>::Error>
§impl<S, T> UncheckedInto<T> for Swhere
T: UncheckedFrom<S>,
impl<S, T> UncheckedInto<T> for Swhere
T: UncheckedFrom<S>,
§fn unchecked_into(self) -> T
fn unchecked_into(self) -> T
The counterpart to
unchecked_from
.§impl<T, S> UniqueSaturatedInto<T> for S
impl<T, S> UniqueSaturatedInto<T> for S
§fn unique_saturated_into(self) -> T
fn unique_saturated_into(self) -> T
Consume self to return an equivalent value of
T
.