referrerpolicy=no-referrer-when-downgrade
pallet_staking_async_parachain_runtime

Struct Runtime

Source
pub struct Runtime;

Implementations§

Source§

impl Runtime

Source

pub fn execute_view_function( id: ViewFunctionId, input: Vec<u8>, ) -> Result<Vec<u8>, ViewFunctionDispatchError>

Convenience function for view functions dispatching and execution from the runtime API.

Source§

impl Runtime

Source

pub fn metadata() -> RuntimeMetadataPrefixed

Source

pub fn metadata_at_version(version: u32) -> Option<OpaqueMetadata>

Source

pub fn metadata_versions() -> Vec<u32>

Trait Implementations§

Source§

impl AccountNonceApiV1<Block<Header<u32, BlakeTwo256>, UncheckedExtrinsic<MultiAddress<<<MultiSignature as Verify>::Signer as IdentifyAccount>::AccountId, ()>, RuntimeCall, MultiSignature, StorageWeightReclaim<Runtime, (CheckNonZeroSender<Runtime>, CheckSpecVersion<Runtime>, CheckTxVersion<Runtime>, CheckGenesis<Runtime>, CheckMortality<Runtime>, CheckNonce<Runtime>, CheckWeight<Runtime>, ChargeAssetTxPayment<Runtime>, CheckMetadataHash<Runtime>)>>>, <<MultiSignature as Verify>::Signer as IdentifyAccount>::AccountId, u32> for Runtime

Source§

fn account_nonce(account: AccountId) -> Nonce

Get current account nonce of given AccountId.
Source§

impl AsSystemOriginSigner<<Runtime as Config>::AccountId> for RuntimeOrigin

Source§

fn as_system_origin_signer(&self) -> Option<&<Runtime as Config>::AccountId>

Extract a reference of the inner value of the System Origin::Signed variant, if self has that variant.
Source§

impl AssetConversionApiV1<Block<Header<u32, BlakeTwo256>, UncheckedExtrinsic<MultiAddress<<<MultiSignature as Verify>::Signer as IdentifyAccount>::AccountId, ()>, RuntimeCall, MultiSignature, StorageWeightReclaim<Runtime, (CheckNonZeroSender<Runtime>, CheckSpecVersion<Runtime>, CheckTxVersion<Runtime>, CheckGenesis<Runtime>, CheckMortality<Runtime>, CheckNonce<Runtime>, CheckWeight<Runtime>, ChargeAssetTxPayment<Runtime>, CheckMetadataHash<Runtime>)>>>, u128, Location> for Runtime

Source§

fn quote_price_exact_tokens_for_tokens( asset1: Location, asset2: Location, amount: Balance, include_fee: bool, ) -> Option<Balance>

Source§

fn quote_price_tokens_for_exact_tokens( asset1: Location, asset2: Location, amount: Balance, include_fee: bool, ) -> Option<Balance>

Source§

fn get_reserves( asset1: Location, asset2: Location, ) -> Option<(Balance, Balance)>

Returns the size of the liquidity pool for the given asset pair.
Source§

impl AssetRewardsV1<Block<Header<u32, BlakeTwo256>, UncheckedExtrinsic<MultiAddress<<<MultiSignature as Verify>::Signer as IdentifyAccount>::AccountId, ()>, RuntimeCall, MultiSignature, StorageWeightReclaim<Runtime, (CheckNonZeroSender<Runtime>, CheckSpecVersion<Runtime>, CheckTxVersion<Runtime>, CheckGenesis<Runtime>, CheckMortality<Runtime>, CheckNonce<Runtime>, CheckWeight<Runtime>, ChargeAssetTxPayment<Runtime>, CheckMetadataHash<Runtime>)>>>, u128> for Runtime

Source§

fn pool_creation_cost() -> Balance

Get the cost of creating a pool. Read more
Source§

impl AuraApiV1<Block<Header<u32, BlakeTwo256>, UncheckedExtrinsic<MultiAddress<<<MultiSignature as Verify>::Signer as IdentifyAccount>::AccountId, ()>, RuntimeCall, MultiSignature, StorageWeightReclaim<Runtime, (CheckNonZeroSender<Runtime>, CheckSpecVersion<Runtime>, CheckTxVersion<Runtime>, CheckGenesis<Runtime>, CheckMortality<Runtime>, CheckNonce<Runtime>, CheckWeight<Runtime>, ChargeAssetTxPayment<Runtime>, CheckMetadataHash<Runtime>)>>>, Public> for Runtime

Source§

fn slot_duration() -> SlotDuration

Returns the slot duration for Aura. Read more
Source§

fn authorities() -> Vec<AuraId>

Return the current set of authorities.
Source§

impl AuraUnincludedSegmentApiV2<Block<Header<u32, BlakeTwo256>, UncheckedExtrinsic<MultiAddress<<<MultiSignature as Verify>::Signer as IdentifyAccount>::AccountId, ()>, RuntimeCall, MultiSignature, StorageWeightReclaim<Runtime, (CheckNonZeroSender<Runtime>, CheckSpecVersion<Runtime>, CheckTxVersion<Runtime>, CheckGenesis<Runtime>, CheckMortality<Runtime>, CheckNonce<Runtime>, CheckWeight<Runtime>, ChargeAssetTxPayment<Runtime>, CheckMetadataHash<Runtime>)>>>> for Runtime

Source§

fn can_build_upon(included_hash: <Block as BlockT>::Hash, slot: Slot) -> bool

Whether it is legal to extend the chain, assuming the given block is the most recently included one as-of the relay parent that will be built against, and the given relay chain slot. Read more
Source§

impl BenchmarkV2<Block<Header<u32, BlakeTwo256>, UncheckedExtrinsic<MultiAddress<<<MultiSignature as Verify>::Signer as IdentifyAccount>::AccountId, ()>, RuntimeCall, MultiSignature, StorageWeightReclaim<Runtime, (CheckNonZeroSender<Runtime>, CheckSpecVersion<Runtime>, CheckTxVersion<Runtime>, CheckGenesis<Runtime>, CheckMortality<Runtime>, CheckNonce<Runtime>, CheckWeight<Runtime>, ChargeAssetTxPayment<Runtime>, CheckMetadataHash<Runtime>)>>>> for Runtime

Source§

fn benchmark_metadata(extra: bool) -> (Vec<BenchmarkList>, Vec<StorageInfo>)

Get the benchmark metadata available for this runtime. Read more
Source§

fn dispatch_benchmark( config: BenchmarkConfig, ) -> Result<Vec<BenchmarkBatch>, String>

Dispatch the given benchmark.
Source§

impl BlockBuilderV6<Block<Header<u32, BlakeTwo256>, UncheckedExtrinsic<MultiAddress<<<MultiSignature as Verify>::Signer as IdentifyAccount>::AccountId, ()>, RuntimeCall, MultiSignature, StorageWeightReclaim<Runtime, (CheckNonZeroSender<Runtime>, CheckSpecVersion<Runtime>, CheckTxVersion<Runtime>, CheckGenesis<Runtime>, CheckMortality<Runtime>, CheckNonce<Runtime>, CheckWeight<Runtime>, ChargeAssetTxPayment<Runtime>, CheckMetadataHash<Runtime>)>>>> for Runtime

Source§

fn apply_extrinsic( extrinsic: <Block as BlockT>::Extrinsic, ) -> ApplyExtrinsicResult

Apply the given extrinsic. Read more
Source§

fn finalize_block() -> <Block as BlockT>::Header

Finish the current block.
Source§

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

Check that the inherents are valid. The inherent data will vary from chain to chain.
Source§

impl CallerTrait<<Runtime as Config>::AccountId> for OriginCaller

Source§

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>>

Extract a reference to the system-level RawOrigin if it is that.
Source§

fn as_signed(&self) -> Option<&AccountId>

Extract the signer from it if a system Signed origin, None otherwise.
Source§

fn is_root(&self) -> bool

Returns true if self is a system Root origin, None otherwise.
Source§

fn is_none(&self) -> bool

Returns true if self is a system None origin, None otherwise.
Source§

impl Clone for Runtime

Source§

fn clone(&self) -> Runtime

Returns a copy of the value. Read more
1.0.0 · Source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
Source§

impl CollectCollationInfoV3<Block<Header<u32, BlakeTwo256>, UncheckedExtrinsic<MultiAddress<<<MultiSignature as Verify>::Signer as IdentifyAccount>::AccountId, ()>, RuntimeCall, MultiSignature, StorageWeightReclaim<Runtime, (CheckNonZeroSender<Runtime>, CheckSpecVersion<Runtime>, CheckTxVersion<Runtime>, CheckGenesis<Runtime>, CheckMortality<Runtime>, CheckNonce<Runtime>, CheckWeight<Runtime>, ChargeAssetTxPayment<Runtime>, CheckMetadataHash<Runtime>)>>>> for Runtime

Source§

fn collect_collation_info(header: &<Block as BlockT>::Header) -> CollationInfo

Collect information about a collation. Read more
Source§

impl Config<Instance1> for Runtime

Source§

type RuntimeEvent = RuntimeEvent

The overarching event type.
Source§

type ScoreProvider = Pallet<Runtime>

Something that provides the scores of ids.
Source§

type WeightInfo = WeightInfo<Runtime>

Weight information for extrinsics in this pallet.
Source§

type BagThresholds = BagThresholds

The list of thresholds separating the various bags. Read more
Source§

type Score = u64

The type used to dictate a node position relative to other nodes.
Source§

impl Config<Instance1> for Runtime

Source§

type RuntimeEvent = RuntimeEvent

The overarching event type.
Source§

type Balance = u128

The units in which we record balances.
Source§

type AssetId = u32

Identifier for the class of asset.
Source§

type AssetIdParameter = Compact<u32>

Wrapper around Self::AssetId to use in dispatchable call signatures. Allows the use of compact encoding in instances of the pallet, which will prevent breaking changes resulting from the removal of HasCompact from Self::AssetId. Read more
Source§

type Currency = Pallet<Runtime>

The currency mechanism.
Source§

type CreateOrigin = AsEnsureOriginWithArg<EnsureSigned<<<MultiSignature as Verify>::Signer as IdentifyAccount>::AccountId>>

Standard asset class creation is only allowed if the origin attempting it and the asset class are in this set.
Source§

type ForceOrigin = EnsureRoot<<<MultiSignature as Verify>::Signer as IdentifyAccount>::AccountId>

The origin which may forcibly create or destroy an asset or otherwise alter privileged attributes.
Source§

type AssetDeposit = AssetDeposit

The basic amount of funds that must be reserved for an asset.
Source§

type MetadataDepositBase = MetadataDepositBase

The basic amount of funds that must be reserved when adding metadata to your asset.
Source§

type MetadataDepositPerByte = MetadataDepositPerByte

The additional funds that must be reserved for the number of bytes you store in your metadata.
Source§

type ApprovalDeposit = ApprovalDeposit

The amount of funds that must be reserved when creating a new approval.
Source§

type StringLimit = AssetsStringLimit

The maximum length of a name or symbol stored on-chain.
Source§

type Holder = ()

A hook to inspect a per-asset, per-account balance that is held. This goes in accordance with balance model.
Source§

type Freezer = Pallet<Runtime, Instance1>

A hook to allow a per-asset, per-account minimum balance to be enforced. This must be respected in all permissionless operations.
Source§

type Extra = ()

Additional data to be stored with an account’s asset balance.
Source§

type WeightInfo = WeightInfo<Runtime>

Weight information for extrinsics in this pallet.
Source§

type CallbackHandle = AutoIncAssetId<Runtime, Instance1>

Callback methods for asset state change (e.g. asset created or destroyed) Read more
Source§

type AssetAccountDeposit = AssetAccountDeposit

The amount of funds that must be reserved for a non-provider asset account to be maintained.
Source§

type RemoveItemsLimit = ConstU32<1000>

Max number of items to destroy per destroy_accounts and destroy_approvals call. Read more
Source§

type BenchmarkHelper = ()

Helper trait for benchmarks.
Source§

impl Config<Instance1> for Runtime

Source§

type RuntimeFreezeReason = RuntimeFreezeReason

The overarching freeze reason.
Source§

type RuntimeEvent = RuntimeEvent

The overarching event type.
Source§

impl Config<Instance1> for Runtime

Source§

type RuntimeEvent = RuntimeEvent

The overarching event type.
Source§

type WeightInfo = WeightInfo<Runtime>

Benchmarks results from runtime we’re plugged into.
Source§

type UniversalLocation = UniversalLocation

Universal location of this runtime.
Source§

type SiblingBridgeHubLocation = SiblingBridgeHub

Relative location of the supported sibling bridge hub.
Source§

type BridgedNetworkId = RococoNetwork

The bridged network that this config is for if specified. Also used for filtering Bridges by BridgedNetworkId. If not specified, allows all networks pass through.
Source§

type Bridges = NetworkExportTable<BridgeTable>

Configuration for supported bridged networks/locations with bridge location and possible fee. Allows to externalize better control over allowed bridged networks/locations.
Source§

type DestinationVersion = Pallet<Runtime>

Checks the XCM version for the destination.
Source§

type BridgeHubOrigin = EitherOfDiverse<EnsureRoot<<<MultiSignature as Verify>::Signer as IdentifyAccount>::AccountId>, EnsureXcm<Equals<<Runtime as Config<Instance1>>::SiblingBridgeHubLocation>>>

Origin of the sibling bridge hub that is allowed to report bridge status.
Source§

type ToBridgeHubSender = Pallet<Runtime>

Actual message sender (HRMP or DMP) to the sibling bridge hub location.
Source§

type LocalXcmChannelManager = InAndOutXcmpChannelStatusProvider<Runtime>

Local XCM channel manager.
Source§

type ByteFee = XcmBridgeHubRouterByteFee

Additional fee that is paid for every byte of the outbound message.
Source§

type FeeAsset = XcmBridgeHubRouterFeeAssetId

Asset that is used to paid bridge fee.
Source§

impl Config<Instance1> for Runtime

Source§

fn make_congested()

Fill up queue so it becomes congested.
Source§

fn ensure_bridged_target_destination() -> Result<Location, BenchmarkError>

Returns destination which is valid for this router instance. (Needs to pass T::Bridges) Make sure that SendXcm will pass.
Source§

impl Config for Runtime

Source§

const VERSION_DISCOVERY_QUEUE_SIZE: u32 = 100u32

Source§

type RuntimeEvent = RuntimeEvent

The overarching event type.
Source§

type SendXcmOrigin = EnsureXcmOrigin<RuntimeOrigin, (OriginToPluralityVoice<RuntimeOrigin, GeneralAdmin, GeneralAdminBodyId>, 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 = WithUniqueTopic<((ParentAsUmp<Pallet<Runtime>, Pallet<Runtime>, ExponentialPrice<FeeAssetId, BaseDeliveryFee, TransactionByteFee, Pallet<Runtime>>>, Pallet<Runtime>), Pallet<Runtime, Instance1>, SovereignPaidRemoteExporter<NetworkExportTable<EthereumBridgeTable>, Pallet<Runtime>, UniversalLocation>)>

The type used to actually dispatch an XCM to its destination.
Source§

type ExecuteXcmOrigin = EnsureXcmOrigin<RuntimeOrigin, (OriginToPluralityVoice<RuntimeOrigin, GeneralAdmin, GeneralAdminBodyId>, 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 = Everything

Our XCM filter which messages to be executed using XcmExecutor must pass.
Source§

type XcmExecutor = XcmExecutor<XcmConfig>

Something to execute an XCM message.
Source§

type XcmTeleportFilter = Everything

Our XCM filter which messages to be teleported using the dedicated extrinsic must pass.
Source§

type XcmReserveTransferFilter = Everything

Our XCM filter which messages to be reserve-transferred using the dedicated extrinsic must pass.
Source§

type Weigher = WeightInfoBounds<AssetHubNextWestendXcmWeight<RuntimeCall>, RuntimeCall, MaxInstructions>

Means of measuring the weight consumed by an XCM message locally.
Source§

type UniversalLocation = UniversalLocation

This chain’s Universal Location.
Source§

type RuntimeOrigin = RuntimeOrigin

The runtime Origin type.
Source§

type RuntimeCall = RuntimeCall

The runtime Call type.
Source§

type AdvertisedXcmVersion = CurrentXcmVersion

The latest supported version that we advertise. Generally just set it to pallet_xcm::CurrentXcmVersion.
Source§

type Currency = Pallet<Runtime>

A lockable currency.
Source§

type CurrencyMatcher = ()

The Asset matcher for Currency.
Source§

type TrustedLockers = ()

The assets which we consider a given origin is trusted if they claim to have placed a lock.
Source§

type SovereignAccountOf = (ParentIsPreset<<<MultiSignature as Verify>::Signer as IdentifyAccount>::AccountId>, SiblingParachainConvertsVia<Sibling, <<MultiSignature as Verify>::Signer as IdentifyAccount>::AccountId>, AccountId32Aliases<RelayNetwork, <<MultiSignature as Verify>::Signer as IdentifyAccount>::AccountId>, HashedDescription<<<MultiSignature as Verify>::Signer as IdentifyAccount>::AccountId, DescribeFamily<(DescribeTerminus, DescribePalletTerminal, DescribeAccountId32Terminal, DescribeAccountKey20Terminal, DescribeTreasuryVoiceTerminal, DescribeBodyTerminal)>>, GlobalConsensusParachainConvertsFor<UniversalLocation, <<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>

The maximum number of local XCM locks that a single account may have.
Source§

type WeightInfo = WeightInfo<Runtime>

Weight information for extrinsics in this pallet.
Source§

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 MaxRemoteLockConsumers = ConstU32<0>

The maximum number of consumers a single remote lock may have.
Source§

type RemoteLockConsumerIdentifier = ()

The ID type for local consumers of remote locks.
Source§

type AuthorizedAliasConsideration = HoldConsideration<<<MultiSignature as Verify>::Signer as IdentifyAccount>::AccountId, Pallet<Runtime>, AuthorizeAliasHoldReason, LinearStoragePrice<DepositPerItem, DepositPerByte, u128>>

A means of providing some cost while Authorized Aliasers data is stored on-chain.
Source§

impl Config for Runtime

Source§

impl Config for Runtime

Source§

type AreWeDone = IfSolutionQueuedElse<Runtime, GetDone<Runtime>, GetSigned<Runtime>>

An indicator of whether we should move to do the crate::types::Phase::Done or not? This is called at the end of the election process. Read more
Source§

type Pages = Pages

The number of pages. Read more
Source§

type UnsignedPhase = UnsignedPhase

Duration of the unsigned phase.
Source§

type SignedPhase = SignedPhase

Duration of the signed phase.
Source§

type SignedValidationPhase = SignedValidationPhase

Duration of the singed validation phase. Read more
Source§

type VoterSnapshotPerBlock = VoterSnapshotPerBlock

The number of snapshot voters to fetch per block.
Source§

type TargetSnapshotPerBlock = TargetSnapshotPerBlock

The number of snapshot targets to fetch per block.
Source§

type AdminOrigin = EnsureRoot<<<MultiSignature as Verify>::Signer as IdentifyAccount>::AccountId>

The origin that can perform administration operations on this pallet.
Source§

type DataProvider = Pallet<Runtime>

Something that will provide the election data.
Source§

type Fallback = OnChainExecution<OnChainConfig>

The fallback type used for the election.
Source§

type MinerConfig = Runtime

The miner configuration. Read more
Source§

type Verifier = Pallet<Runtime>

The verifier pallet’s interface.
Source§

type OnRoundRotation = CleanRound<Runtime>

Single type that implement super::OnRoundRotation to do something when the round ends.
Source§

type WeightInfo = SubstrateWeight<Runtime>

The weight of the pallet.
Source§

impl Config for Runtime

Source§

type MaxWinnersPerPage = MaxWinnersPerPage

Maximum number of supports (aka. winners/validators/targets) that can be represented in a page of results.
Source§

type MaxBackersPerWinner = MaxBackersPerWinner

Maximum number of backers, per winner, per page.
Source§

type MaxBackersPerWinnerFinal = MaxBackersPerWinnerFinal

Maximum number of backers, per winner, among all pages of an election. Read more
Source§

type SolutionDataProvider = Pallet<Runtime>

Something that can provide the solution data to the verifier. Read more
Source§

type SolutionImprovementThreshold = SolutionImprovementThreshold

The minimum amount of improvement to the solution score that defines a solution as “better”.
Source§

type WeightInfo = SubstrateWeight<Runtime>

The weight information of this pallet.
Source§

impl Config for Runtime

Source§

type RuntimeHoldReason = RuntimeHoldReason

Overarching hold reason.
Source§

type Currency = Pallet<Runtime>

Handler to the currency.
Source§

type BailoutGraceRatio = BailoutGraceRatio

The ratio of the deposit to return in case a signed account submits a solution via Pallet::register, but later calls Pallet::bail. Read more
Source§

type EjectGraceRatio = EjectGraceRatio

The ratio of the deposit to return in case a signed account is ejected from the queue. Read more
Source§

type DepositBase = DepositBase

Base deposit amount for a submission.
Source§

type DepositPerPage = DepositPerPage

Extra deposit per-page.
Source§

type RewardBase = RewardBase

Base reward that is given to the winner.
Source§

type MaxSubmissions = MaxSubmissions

Maximum number of submissions. This, combined with SignedValidationPhase and Pages dictates how many signed solutions we can verify.
Source§

type EstimateCallFee = Pallet<Runtime>

Handler to estimate the fee of a call. Useful to refund the transaction fee of the submitter for the winner.
Source§

type WeightInfo = SubstrateWeight<Runtime>

Provided weights of this pallet.
Source§

impl Config for Runtime

Source§

type MinerPages = ConstU32<2>

The number of pages that the offchain miner will try and submit.
Source§

type OffchainSolver = SequentialPhragmen<<<MultiSignature as Verify>::Signer as IdentifyAccount>::AccountId, <<Runtime as MinerConfig>::Solution as NposSolution>::Accuracy>

The solver used in hte offchain worker miner
Source§

type MinerTxPriority = MinerTxPriority

The priority of the unsigned transaction submitted in the unsigned-phase
Source§

type OffchainRepeat = OffchainRepeat

The repeat threshold of the offchain worker. Read more
Source§

type WeightInfo = SubstrateWeight<Runtime>

Runtime weight information of this pallet.
Source§

impl Config for Runtime

Source§

type Filter = ()

Filter some accounts from participating in staking. Read more
Source§

type OldCurrency = Pallet<Runtime>

The old trait for staking balance. Deprecated and only used for migrating old ledgers.
Source§

type Currency = Pallet<Runtime>

The staking balance.
Source§

type CurrencyBalance = u128

Just the Currency::Balance type; we have this item to allow us to constrain it to From<u64>.
Source§

type RuntimeHoldReason = RuntimeHoldReason

Overarching hold reason.
Source§

type CurrencyToVote = SaturatingCurrencyToVote

Convert a balance into a number used for election calculation. This must fit into a u64 but is allowed to be sensibly lossy. The u64 is used to communicate with the frame_election_provider_support crate which accepts u64 numbers and does operations in 128. Consequently, the backward convert is used convert the u128s from sp-elections back to a BalanceOf.
Source§

type RewardRemainder = ()

Tokens have been minted and are unused for validator-reward. See Era payout.
Source§

type Slash = ()

Handler for the unbalanced reduction when slashing a staker.
Source§

type Reward = ()

Handler for the unbalanced increment when rewarding a staker. NOTE: in most cases, the implementation of OnUnbalanced should modify the total issuance.
Source§

type SessionsPerEra = SessionsPerEra

Number of sessions per era.
Source§

type BondingDuration = BondingDuration

Number of eras that staked funds must remain bonded for.
Source§

type SlashDeferDuration = SlashDeferDuration

Number of eras that slashes are deferred by, after computation. Read more
Source§

type AdminOrigin = EitherOf<EnsureRoot<<<MultiSignature as Verify>::Signer as IdentifyAccount>::AccountId>, StakingAdmin>

The origin which can manage less critical staking parameters that does not require root. Read more
Source§

type EraPayout = EraPayout

The payout for validators and the system for the current era. See Era payout.
Source§

type MaxExposurePageSize = MaxExposurePageSize

The maximum size of each T::ExposurePage. Read more
Source§

type ElectionProvider = Pallet<Runtime>

Something that provides the election functionality.
Source§

type VoterList = Pallet<Runtime, Instance1>

Something that provides a best-effort sorted list of voters aka electing nominators, used for NPoS election. Read more
Source§

type TargetList = UseValidatorsMap<Runtime>

WIP: This is a noop as of now, the actual business logic that’s described below is going to be introduced in a follow-up PR. Read more
Source§

type MaxValidatorSet = MaxValidatorSet

The absolute maximum of winner validators this pallet should return. Read more
Source§

type NominationsQuota = FixedNominationsQuota<{ MaxNominations::get() }>

Something that defines the maximum number of nominations per nominator.
Source§

type MaxUnlockingChunks = ConstU32<32>

The maximum number of unlocking chunks a StakingLedger can have. Effectively determines how many unique eras a staker may be unbonding in. Read more
Source§

type HistoryDepth = ConstU32<84>

Number of eras to keep in history. Read more
Source§

type MaxControllersInDeprecationBatch = MaxControllersInDeprecationBatch

The maximum amount of controller accounts that can be deprecated in one call.
Source§

type EventListeners = (Pallet<Runtime>, Pallet<Runtime>)

Something that listens to staking updates and performs actions based on the data it receives. Read more
Source§

type WeightInfo = WeightInfo<Runtime>

Weight information for extrinsics in this pallet.
Source§

type MaxInvulnerables = ConstU32<20>

Maximum number of invulnerable validators.
Source§

type MaxDisabledValidators = ConstU32<100>

Maximum number of disabled validators.
Source§

type PlanningEraOffset = ConstU32<2>

Number of sessions before the end of an era when the election for the next era will start. Read more
Source§

type RcClientInterface = Pallet<Runtime>

Interface to talk to the RC-Client pallet, possibly sending election results to the relay chain.
Source§

impl Config for Runtime

Source§

type RelayChainOrigin = EnsureRoot<<<MultiSignature as Verify>::Signer as IdentifyAccount>::AccountId>

An origin type that allows us to be sure a call is being dispatched by the relay chain. Read more
Source§

type AHStakingInterface = Pallet<Runtime>

Our communication handle to the local staking pallet.
Source§

type SendToRelayChain = XcmToRelayChain<WithUniqueTopic<((ParentAsUmp<Pallet<Runtime>, Pallet<Runtime>, ExponentialPrice<FeeAssetId, BaseDeliveryFee, TransactionByteFee, Pallet<Runtime>>>, Pallet<Runtime>), Pallet<Runtime, Instance1>, SovereignPaidRemoteExporter<NetworkExportTable<EthereumBridgeTable>, Pallet<Runtime>, UniversalLocation>)>>

Our communication handle to the relay chain.
Source§

impl Config for Runtime

Source§

type RuntimeEvent = RuntimeEvent

The overarching event type.
Source§

type Currency = Pallet<Runtime>

The currency used for deposits.
Source§

type BatchSize = ConstU32<64>

Batch size. Read more
Source§

type Deposit = ConstU128<{ UNITS }>

Deposit to take for unstaking, to make sure we’re able to slash the it in order to cover the costs of resources on unsuccessful unstake.
Source§

type ControlOrigin = EnsureRoot<<<MultiSignature as Verify>::Signer as IdentifyAccount>::AccountId>

The origin that can control this pallet, in other words invoke Pallet::control.
Source§

type Staking = Pallet<Runtime>

The access to staking functionality.
Source§

type MaxErasToCheckPerBlock = ConstU32<1>

Maximum value for ErasToCheckPerBlock, checked in Pallet::control. Read more
Source§

type WeightInfo = WeightInfo<Runtime>

The weight information of this pallet.
Source§

impl Config for Runtime

Source§

type Filter = ()

Restrict some accounts from participating in a nomination pool.
Source§

type RuntimeEvent = RuntimeEvent

The overarching event type.
Source§

type WeightInfo = WeightInfo<Runtime>

Weight information for extrinsics in this pallet.
Source§

type Currency = Pallet<Runtime>

The currency type used for nomination pool.
Source§

type RuntimeFreezeReason = RuntimeFreezeReason

The overarching freeze reason.
Source§

type RewardCounter = FixedU128

The type that is used for reward counter. Read more
Source§

type BalanceToU256 = BalanceToU256

Infallible method for converting Currency::Balance to U256.
Source§

type U256ToBalance = U256ToBalance

Infallible method for converting U256 to Currency::Balance.
Source§

type StakeAdapter = DelegateStake<Runtime, Pallet<Runtime>, Pallet<Runtime>>

The interface for nominating. Read more
Source§

type PostUnbondingPoolsWindow = ConstU32<4>

The amount of eras a SubPools::with_era pool can exist before it gets merged into the SubPools::no_era pool. In other words, this is the amount of eras a member will be able to withdraw from an unbonding pool which is guaranteed to have the correct ratio of points to balance; once the with_era pool is merged into the no_era pool, the ratio can become skewed due to some slashed ratio getting merged in at some point.
Source§

type MaxMetadataLen = ConstU32<256>

The maximum length, in bytes, that a pools metadata maybe.
Source§

type MaxUnbonding = <Runtime as Config>::MaxUnlockingChunks

The maximum number of simultaneous unbonding chunks that can exist per member.
Source§

type PalletId = PoolsPalletId

The nomination pool’s pallet id.
Source§

type MaxPointsToBalance = MaxPointsToBalance

The maximum pool points-to-balance ratio that an open pool can have. Read more
Source§

type AdminOrigin = EitherOf<EnsureRoot<<<MultiSignature as Verify>::Signer as IdentifyAccount>::AccountId>, StakingAdmin>

The origin that can manage pool configurations.
Source§

type BlockNumberProvider = RelaychainDataProvider<Runtime>

Provider for the block number. Normally this is the frame_system pallet.
Source§

impl Config for Runtime

Source§

type RuntimeEvent = RuntimeEvent

The overarching event type.
Source§

type PalletId = DelegatedStakingPalletId

Injected identifier for the pallet.
Source§

type Currency = Pallet<Runtime>

Currency type.
Source§

type OnSlash = ()

Handler for the unbalanced reduction when slashing a delegator.
Source§

type SlashRewardFraction = SlashRewardFraction

Fraction of the slash that is rewarded to the caller of pending slash to the agent.
Source§

type RuntimeHoldReason = RuntimeHoldReason

Overarching hold reason.
Source§

type CoreStaking = Pallet<Runtime>

Core staking implementation.
Source§

impl Config for Runtime

Source§

type BlockWeights = RuntimeBlockWeights

Block & extrinsics weights: base values and limits.
Source§

type BlockLength = RuntimeBlockLength

The maximum length of a block (in bytes).
Source§

type AccountId = <<MultiSignature as Verify>::Signer as IdentifyAccount>::AccountId

The user account identifier type for the runtime.
Source§

type Nonce = u32

This stores the number of previous transactions associated with a sender account.
Source§

type Hash = H256

The output of the Hashing function.
Source§

type Block = Block<Header<u32, BlakeTwo256>, UncheckedExtrinsic<MultiAddress<<<MultiSignature as Verify>::Signer as IdentifyAccount>::AccountId, ()>, RuntimeCall, MultiSignature, StorageWeightReclaim<Runtime, (CheckNonZeroSender<Runtime>, CheckSpecVersion<Runtime>, CheckTxVersion<Runtime>, CheckGenesis<Runtime>, CheckMortality<Runtime>, CheckNonce<Runtime>, CheckWeight<Runtime>, ChargeAssetTxPayment<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

Maximum number of block number to block hash mappings to keep (oldest pruned first).
Source§

type DbWeight = RocksDbWeight

The weight of runtime database operations the runtime can invoke.
Source§

type Version = Version

Get the chain’s in-code version.
Source§

type AccountData = AccountData<u128>

Data to be associated with an account (other than nonce/transaction counter, which this pallet does regardless).
Source§

type SystemWeightInfo = WeightInfo<Runtime>

Weight information for the extrinsics of this pallet.
Source§

type ExtensionsWeightInfo = WeightInfo<Runtime>

Weight information for the transaction extensions of this pallet.
Source§

type SS58Prefix = SS58Prefix

The designated SS58 prefix of this chain. Read more
Source§

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>

The maximum number of consumers allowed on a single account.
Source§

type MultiBlockMigrator = Pallet<Runtime>

The migrator that is used to run Multi-Block-Migrations. Read more
Source§

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

Converting trait to take a source type and convert to AccountId. Read more
Source§

type OnNewAccount = <ParaChainDefaultConfig as DefaultConfig>::OnNewAccount

Handler for when a new account has just been created.
Source§

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

The aggregated event type of the runtime.
Source§

type RuntimeOrigin = RuntimeOrigin

The RuntimeOrigin type used by dispatchable calls.
Source§

type RuntimeCall = RuntimeCall

The aggregated RuntimeCall type.
Source§

type RuntimeTask = RuntimeTask

The aggregated RuntimeTask type.
Source§

type PalletInfo = PalletInfo

Provides information about the pallet setup in the runtime. Read more
Source§

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

All migrations that should run in the next runtime upgrade. Read more
Source§

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

A callback that executes in every block directly after all inherents were applied. Read more
Source§

type PostTransactions = <ParaChainDefaultConfig as DefaultConfig>::PostTransactions

A callback that executes in every block directly after all transactions were applied. Read more
Source§

impl Config for Runtime

Source§

type WeightInfo = WeightInfo<Runtime>

Weight information for extrinsics in this pallet.
Source§

type RuntimeEvent = RuntimeEvent

Source§

type Currency = Pallet<Runtime>

Currency type with which voting happens.
Source§

type VoteLockingPeriod = VoteLockingPeriod

The minimum period of vote locking. Read more
Source§

type MaxVotes = ConstU32<512>

The maximum number of concurrent votes an account may have. Read more
Source§

type MaxTurnout = ActiveIssuanceOf<Pallet<Runtime>, <Runtime as Config>::AccountId>

The maximum amount of tokens which may be used for voting. May just be Currency::total_issuance, but you might want to reduce this in order to account for funds in the system which are unable to vote (e.g. parachain auction deposits).
Source§

type Polls = Pallet<Runtime>

The implementation of the logic which conducts polls.
Source§

type BlockNumberProvider = RelaychainDataProvider<Runtime>

Provider for the block number. Normally this is the frame_system pallet.
Source§

type VotingHooks = ()

Hooks are called when a new vote is registered or an existing vote is removed. Read more
Source§

impl Config for Runtime

Source§

type WeightInfo = WeightInfo<Runtime>

Source§

impl Config for Runtime

Source§

type Moment = u64

A timestamp: milliseconds since the unix epoch.

Source§

type OnTimestampSet = Pallet<Runtime>

Something which can be notified (e.g. another pallet) when the timestamp is set. Read more
Source§

type MinimumPeriod = ConstU64<0>

The minimum period between blocks. Read more
Source§

type WeightInfo = WeightInfo<Runtime>

Weight information for extrinsics in this pallet.
Source§

impl Config for Runtime

Source§

type FindAuthor = FindAccountFromAuthorIndex<Runtime, Pallet<Runtime>>

Find the author of a block.
Source§

type EventHandler = (Pallet<Runtime>,)

An event handler for authored blocks.
Source§

impl Config for Runtime

Source§

type Balance = u128

The type for recording an account’s balance.

Source§

type RuntimeEvent = RuntimeEvent

The ubiquitous event type.

Source§

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 DustRemoval = ()

Handler for the unbalanced reduction when removing a dust account.
Source§

type ExistentialDeposit = ExistentialDeposit

The minimum amount required to keep an account open. MUST BE GREATER THAN ZERO! Read more
Source§

type AccountStore = Pallet<Runtime>

The means of storing the balances of an account.
Source§

type WeightInfo = WeightInfo<Runtime>

Weight information for extrinsics in this pallet.
Source§

type MaxReserves = ConstU32<50>

The maximum number of named reserves that can exist on an account. Read more
Source§

type ReserveIdentifier = [u8; 8]

The ID type for reserves. Read more
Source§

type RuntimeHoldReason = RuntimeHoldReason

The overarching hold reason.
Source§

type RuntimeFreezeReason = RuntimeFreezeReason

The overarching freeze reason.
Source§

type FreezeIdentifier = RuntimeFreezeReason

The ID type for freezes.
Source§

type MaxFreezes = VariantCountOf<RuntimeFreezeReason>

The maximum number of individual freeze locks that can exist on an account at any time.
Source§

type DoneSlashHandler = ()

Allows callbacks to other pallets so they can update their bookkeeping when a slash occurs.
Source§

impl Config for Runtime

Source§

type RuntimeEvent = RuntimeEvent

The overarching event type.
Source§

type OnChargeTransaction = FungibleAdapter<Pallet<Runtime>, DealWithFees<Runtime>>

Handler for withdrawing, refunding and depositing the transaction fee. Transaction fees are withdrawn before the transaction is executed. After the transaction was executed the transaction weight can be adjusted, depending on the used resources by the transaction. If the transaction weight is lower than expected, parts of the transaction fee might be refunded. In the end the fees can be deposited.
Source§

type WeightToFee = WeightToFee

Convert a weight value into a deductible fee based on the currency type.
Source§

type LengthToFee = ConstantMultiplier<u128, TransactionByteFee>

Convert a length value into a deductible fee based on the currency type.
Source§

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 = ConstU8<5>

A fee multiplier for Operational extrinsics to compute “virtual tip” to boost their priority Read more
Source§

type WeightInfo = WeightInfo<Runtime>

The weight information of this pallet.
Source§

impl Config for Runtime

Source§

type RuntimeEvent = RuntimeEvent

Overarching event type.
Source§

type Balance = u128

The type in which the assets for swapping are measured.
Source§

type HigherPrecisionBalance = U256

A type used for calculations concerning the Balance type to avoid possible overflows.
Source§

type AssetKind = Location

Type of asset class, sourced from Config::Assets, utilized to offer liquidity to a pool.
Source§

type Assets = UnionOf<Pallet<Runtime>, UnionOf<Pallet<Runtime, Instance1>, Pallet<Runtime, Instance2>, LocalFromLeft<AsPrefixedGeneralIndex<TrustBackedAssetsPalletLocation, u32, TryConvertInto>, u32>, Location, <<MultiSignature as Verify>::Signer as IdentifyAccount>::AccountId>, TargetFromLeft<WestendLocation>, Location, <<MultiSignature as Verify>::Signer as IdentifyAccount>::AccountId>

Registry of assets utilized for providing liquidity to pools.
Source§

type PoolId = (<Runtime as Config>::AssetKind, <Runtime as Config>::AssetKind)

Liquidity pool identifier.
Source§

type PoolLocator = WithFirstAsset<WestendLocation, <<MultiSignature as Verify>::Signer as IdentifyAccount>::AccountId, <Runtime as Config>::AssetKind, AccountIdConverter<AssetConversionPalletId, (Location, Location)>>

Provides means to resolve the Config::PoolId and it’s AccountId from a pair of Config::AssetKinds. Read more
Source§

type PoolAssetId = u32

Asset class for the lp tokens from Self::PoolAssets.
Source§

type PoolAssets = Pallet<Runtime, Instance3>

Registry for the lp tokens. Ideally only this pallet should have create permissions on the assets.
Source§

type PoolSetupFee = ConstU128<0>

A one-time fee to setup the pool.
Source§

type PoolSetupFeeAsset = WestendLocation

Asset class from Config::Assets used to pay the Config::PoolSetupFee.
Source§

type PoolSetupFeeTarget = ResolveAssetTo<AssetConversionOrigin, <Runtime as Config>::Assets>

Handler for the Config::PoolSetupFee.
Source§

type LiquidityWithdrawalFee = LiquidityWithdrawalFee

A fee to withdraw the liquidity.
Source§

type LPFee = ConstU32<3>

A % the liquidity providers will take of every swap. Represents 10ths of a percent.
Source§

type PalletId = AssetConversionPalletId

The pallet’s id, used for deriving its sovereign account ID.
Source§

type MaxSwapPathLength = ConstU32<3>

The max number of hops in a swap.
Source§

type MintMinLiquidity = ConstU128<100>

The minimum LP token amount that could be minted. Ameliorates rounding errors.
Source§

type WeightInfo = WeightInfo<Runtime>

Weight information for extrinsics in this pallet.
Source§

type BenchmarkHelper = AssetPairFactory<WestendLocation, Pallet<Runtime>, TrustBackedAssetsPalletIndex>

The benchmarks need a way to create asset ids from u32s.
Source§

impl Config for Runtime

Source§

const MAX_VESTING_SCHEDULES: u32 = 100u32

Maximum number of vesting schedules an account may have at a given moment.
Source§

type BlockNumberProvider = RelaychainDataProvider<Runtime>

Query the current block number. Read more
Source§

type BlockNumberToBalance = ConvertInto

Convert the block number into a balance.
Source§

type Currency = Pallet<Runtime>

The currency trait.
Source§

type MinVestedTransfer = MinVestedTransfer

The minimum amount transferred to call vested_transfer.
Source§

type RuntimeEvent = RuntimeEvent

The overarching event type.
Source§

type WeightInfo = WeightInfo<Runtime>

Weight information for extrinsics in this pallet.
Source§

type UnvestedFundsAllowedWithdrawReasons = UnvestedFundsAllowedWithdrawReasons

Reasons that determine under which conditions the balance may drop below the unvested amount.
Source§

impl Config for Runtime

Source§

type RuntimeEvent = RuntimeEvent

Overarching event type.
Source§

type PalletId = AssetRewardsPalletId

The pallet’s unique identifier, used to derive the pool’s account ID. Read more
Source§

type Balance = u128

The type in which the assets are measured.
Source§

type Assets = UnionOf<Pallet<Runtime, Instance3>, UnionOf<Pallet<Runtime>, UnionOf<Pallet<Runtime, Instance1>, Pallet<Runtime, Instance2>, LocalFromLeft<AsPrefixedGeneralIndex<TrustBackedAssetsPalletLocation, u32, TryConvertInto>, u32>, Location, <<MultiSignature as Verify>::Signer as IdentifyAccount>::AccountId>, TargetFromLeft<WestendLocation>, Location, <<MultiSignature as Verify>::Signer as IdentifyAccount>::AccountId>, LocalFromLeft<AsPrefixedGeneralIndex<PoolAssetsPalletLocation, u32, TryConvertInto>, u32>, Location, <<MultiSignature as Verify>::Signer as IdentifyAccount>::AccountId>

Registry of assets that can be configured to either stake for rewards, or be offered as rewards for staking.
Source§

type AssetsFreezer = UnionOf<Pallet<Runtime, Instance3>, UnionOf<Pallet<Runtime>, UnionOf<Pallet<Runtime, Instance1>, Pallet<Runtime, Instance2>, LocalFromLeft<AsPrefixedGeneralIndex<TrustBackedAssetsPalletLocation, u32, TryConvertInto>, u32>, Location, <<MultiSignature as Verify>::Signer as IdentifyAccount>::AccountId>, TargetFromLeft<WestendLocation>, Location, <<MultiSignature as Verify>::Signer as IdentifyAccount>::AccountId>, LocalFromLeft<AsPrefixedGeneralIndex<PoolAssetsPalletLocation, u32, TryConvertInto>, u32>, Location, <<MultiSignature as Verify>::Signer as IdentifyAccount>::AccountId>

Freezer for the Assets.
Source§

type AssetId = Location

Identifier for each type of asset.
Source§

type CreatePoolOrigin = EnsureSigned<<<MultiSignature as Verify>::Signer as IdentifyAccount>::AccountId>

The origin with permission to create pools. Read more
Source§

type RuntimeFreezeReason = RuntimeFreezeReason

The overarching freeze reason.
Source§

type Consideration = HoldConsideration<<<MultiSignature as Verify>::Signer as IdentifyAccount>::AccountId, Pallet<Runtime>, RewardsPoolCreationHoldReason, ConstantStoragePrice<StakePoolCreationDeposit, u128>>

Means for associating a cost with the on-chain storage of pool information, which is incurred by the pool creator. Read more
Source§

type WeightInfo = WeightInfo<Runtime>

Weight information for extrinsics in this pallet.
Source§

type BenchmarkHelper = PalletAssetRewardsBenchmarkHelper

Helper for benchmarking.
Source§

impl Config for Runtime

Source§

type RuntimeEvent = RuntimeEvent

Overarching event type.
Source§

type PriorAccountIdConverter = AccountIdConverterNoSeed<<Runtime as Config>::PoolId>

Type previously used to derive the account ID for a pool. Indicates that the pool’s liquidity assets are located at this account before the migration.
Source§

type AssetsRefund = <Runtime as Config>::Assets

Retrieves information about an existing deposit for a given account ID and asset from the pallet_asset_conversion::Config::Assets registry and can initiate the refund.
Source§

type PoolAssetsRefund = <Runtime as Config>::PoolAssets

Retrieves information about an existing deposit for a given account ID and asset from the pallet_asset_conversion::Config::PoolAssets registry and can initiate the refund.
Source§

type PoolAssetsTeam = <Runtime as Config>::PoolAssets

Means to reset the team for assets from the pallet_asset_conversion::Config::PoolAssets registry.
Source§

type DepositAsset = Pallet<Runtime>

Registry of an asset used as an account deposit for the pallet_asset_conversion::Config::Assets and pallet_asset_conversion::Config::PoolAssets registries.
Source§

type WeightInfo = WeightInfo<Runtime>

Weight information for extrinsics in this pallet.
Source§

impl Config for Runtime

Source§

type RuntimeEvent = RuntimeEvent

The overarching event type.
Source§

type RuntimeCall = RuntimeCall

The overarching call type.
Source§

type Currency = Pallet<Runtime>

The currency mechanism.
Source§

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

The amount of currency needed per unit threshold when creating a multisig execution. Read more
Source§

type MaxSignatories = MaxSignatories

The maximum amount of signatories allowed in the multisig.
Source§

type WeightInfo = WeightInfo<Runtime>

Weight information for extrinsics in this pallet.
Source§

type BlockNumberProvider = RelaychainDataProvider<Runtime>

Query the current block number. Read more
Source§

impl Config for Runtime

Source§

type RuntimeEvent = RuntimeEvent

The overarching event type.
Source§

type RuntimeCall = RuntimeCall

The overarching call type.
Source§

type PalletsOrigin = OriginCaller

The caller origin, overarching type of all pallets origins.
Source§

type WeightInfo = WeightInfo<Runtime>

Weight information for extrinsics in this pallet.
Source§

impl Config for Runtime

Source§

type RuntimeEvent = RuntimeEvent

The overarching event type.
Source§

type RuntimeCall = RuntimeCall

The overarching call type.
Source§

type Currency = Pallet<Runtime>

The currency mechanism.
Source§

type ProxyType = ProxyType

A kind of proxy; specified with the proxy and passed in to the IsProxyable filter. The instance filter determines whether a given call may be proxied under this type. Read more
Source§

type ProxyDepositBase = ProxyDepositBase

The base amount of currency needed to reserve for creating a proxy. Read more
Source§

type ProxyDepositFactor = ProxyDepositFactor

The amount of currency needed per proxy added. Read more
Source§

type MaxProxies = MaxProxies

The maximum amount of proxies allowed for a single account.
Source§

type WeightInfo = WeightInfo<Runtime>

Weight information for extrinsics in this pallet.
Source§

type MaxPending = MaxPending

The maximum amount of time-delayed announcements that are allowed to be pending.
Source§

type CallHasher = BlakeTwo256

The type of hash used for hashing the call.
Source§

type AnnouncementDepositBase = AnnouncementDepositBase

The base amount of currency needed to reserve for creating an announcement. Read more
Source§

type AnnouncementDepositFactor = AnnouncementDepositFactor

The amount of currency needed per announcement made. Read more
Source§

type BlockNumberProvider = RelaychainDataProvider<Runtime>

Query the current block number. Read more
Source§

impl Config for Runtime

Source§

type WeightInfo = WeightInfo<Runtime>

Weight info for functions and calls.
Source§

type RuntimeEvent = RuntimeEvent

The overarching event type.
Source§

type OnSystemEvent = ()

Something which can be notified when the validation data is set.
Source§

type SelfParaId = Pallet<Runtime>

Returns the parachain ID we are running with.
Source§

type DmpQueue = EnqueueWithOrigin<Pallet<Runtime>, RelayOrigin>

Queues inbound downward messages for delayed processing. Read more
Source§

type ReservedDmpWeight = ReservedDmpWeight

The weight we reserve at the beginning of the block for processing DMP messages.
Source§

type OutboundXcmpMessageSource = Pallet<Runtime>

The place where outbound XCMP messages come from. This is queried in finalize_block.
Source§

type XcmpMessageHandler = Pallet<Runtime>

The message handler that will be invoked when messages are received via XCMP. Read more
Source§

type ReservedXcmpWeight = ReservedXcmpWeight

The weight we reserve at the beginning of the block for processing XCMP messages.
Source§

type CheckAssociatedRelayNumber = RelayNumberMonotonicallyIncreases

Something that can check the associated relay parent block number.
Source§

type ConsensusHook = FixedVelocityConsensusHook<Runtime, RELAY_CHAIN_SLOT_DURATION_MILLIS, BLOCK_PROCESSING_VELOCITY, UNINCLUDED_SEGMENT_CAPACITY>

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 SelectCore = DefaultCoreSelector<Runtime>

Select core.
Source§

impl Config for Runtime

Source§

type RuntimeEvent = RuntimeEvent

The overarching event type.
Source§

type WeightInfo = WeightInfo<Runtime>

Weight information for extrinsics in this pallet.
Source§

type MessageProcessor = NoopMessageProcessor<AggregateMessageOrigin>

Processor for a message. Read more
Source§

type Size = u32

Page/heap size type.
Source§

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>>

Queried by the pallet to check whether a queue can be serviced. Read more
Source§

type HeapSize = ConstU32<{ 103 * 1024 }>

The size of the page; this implies the maximum message size which can be sent. Read more
Source§

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

The amount of weight (if any) which should be provided to the message queue for servicing enqueued items on_initialize. Read more
Source§

type IdleMaxServiceWeight = MessageQueueServiceWeight

The maximum amount of weight (if any) to be used from remaining weight on_idle which should be provided to the message queue for servicing enqueued items on_idle. Useful for parachains to process messages at the same block they are received. Read more
Source§

impl Config for Runtime

Source§

type RuntimeEvent = RuntimeEvent

Source§

type ChannelInfo = Pallet<Runtime>

Information on the available XCMP channels.
Source§

type VersionWrapper = Pallet<Runtime>

Means of converting an Xcm into a VersionedXcm.
Source§

type XcmpQueue = TransformOrigin<Pallet<Runtime>, AggregateMessageOrigin, Id, ParaIdToSibling>

Enqueue an inbound horizontal message for later processing. Read more
Source§

type MaxInboundSuspended = ConstU32<1000>

The maximum number of inbound XCMP channels that can be suspended simultaneously. Read more
Source§

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 }>

The maximal page size for HRMP message pages. Read more
Source§

type ControllerOrigin = EnsureRoot<<<MultiSignature as Verify>::Signer as IdentifyAccount>::AccountId>

The origin that is allowed to resume or suspend the XCMP queue.
Source§

type ControllerOriginConverter = (SovereignSignedViaLocation<(ParentIsPreset<<<MultiSignature as Verify>::Signer as IdentifyAccount>::AccountId>, SiblingParachainConvertsVia<Sibling, <<MultiSignature as Verify>::Signer as IdentifyAccount>::AccountId>, AccountId32Aliases<RelayNetwork, <<MultiSignature as Verify>::Signer as IdentifyAccount>::AccountId>, HashedDescription<<<MultiSignature as Verify>::Signer as IdentifyAccount>::AccountId, DescribeFamily<(DescribeTerminus, DescribePalletTerminal, DescribeAccountId32Terminal, DescribeAccountKey20Terminal, DescribeTreasuryVoiceTerminal, DescribeBodyTerminal)>>, GlobalConsensusParachainConvertsFor<UniversalLocation, <<MultiSignature as Verify>::Signer as IdentifyAccount>::AccountId>), RuntimeOrigin>, RelayChainAsNative<RelayChainOrigin, RuntimeOrigin>, SiblingParachainAsNative<Origin, RuntimeOrigin>, ParentAsSuperuser<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>

The weight information of this pallet.
Source§

type PriceForSiblingDelivery = ExponentialPrice<FeeAssetId, BaseDeliveryFee, TransactionByteFee, Pallet<Runtime>>

The price for delivering an XCM to a sibling parachain destination.
Source§

impl Config for Runtime

Source§

type RuntimeEvent = RuntimeEvent

The overarching event type.
Source§

type ValidatorId = <Runtime as Config>::AccountId

A stable ID for a validator.
Source§

type ValidatorIdOf = IdentityCollator

A conversion from account ID to validator ID. Read more
Source§

type ShouldEndSession = PeriodicSessions<Period, Offset>

Indicator for when to end the session.
Source§

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 SessionManager = Pallet<Runtime>

Handler for managing new session.
Source§

type SessionHandler = <SessionKeys as OpaqueKeys>::KeyTypeIdProviders

Handler when a session has changed.
Source§

type Keys = SessionKeys

The keys.
Source§

type DisablingStrategy = ()

DisablingStragegy controls how validators are disabled
Source§

type WeightInfo = WeightInfo<Runtime>

Weight information for extrinsics in this pallet.
Source§

impl Config for Runtime

Source§

type AuthorityId = Public

The identifier type for an authority.
Source§

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>

The maximum number of authorities that the pallet can hold.
Source§

type AllowMultipleBlocksPerSlot = ConstBool<true>

Whether to allow block authors to create multiple blocks per slot. Read more
Source§

type SlotDuration = ConstU64<SLOT_DURATION>

The slot duration Aura should run with, expressed in milliseconds. The effective value of this type should not change while the chain is running. Read more
Source§

impl Config for Runtime

Source§

type RuntimeEvent = RuntimeEvent

Overarching event type.
Source§

type Currency = Pallet<Runtime>

The currency mechanism.
Source§

type UpdateOrigin = EnsureRoot<<<MultiSignature as Verify>::Signer as IdentifyAccount>::AccountId>

Origin that can dictate updating parameters of this pallet.
Source§

type PotId = PotId

Account Identifier from which the internal Pot is generated.
Source§

type MaxCandidates = ConstU32<100>

Maximum number of candidates that we should have. Read more
Source§

type MinEligibleCollators = ConstU32<4>

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§

type MaxInvulnerables = ConstU32<20>

Maximum number of invulnerables.
Source§

type KickThreshold = Period

Source§

type ValidatorId = <Runtime as Config>::AccountId

A stable ID for a validator.
Source§

type ValidatorIdOf = IdentityCollator

A conversion from account ID to validator ID. Read more
Source§

type ValidatorRegistration = Pallet<Runtime>

Validate a user is registered
Source§

type WeightInfo = WeightInfo<Runtime>

The weight information of this pallet.
Source§

impl Config for Runtime

Source§

type WeightInfo = WeightInfo<Runtime>

The weight information for this pallet.
Source§

type RuntimeCall = RuntimeCall

The overarching call type.
Source§

type RuntimeEvent = RuntimeEvent

The overarching event type.
Source§

type WhitelistOrigin = EitherOfDiverse<EnsureRoot<<Runtime as Config>::AccountId>, EnsureXcm<IsVoiceOfBody<Collectives, FellowsBodyId>>>

Required origin for whitelisting a call.
Source§

type DispatchWhitelistedOrigin = EitherOf<EnsureRoot<<Runtime as Config>::AccountId>, WhitelistedCaller>

Required origin for dispatching whitelisted call with root origin.
Source§

type Preimages = Pallet<Runtime>

The handler of pre-images.
Source§

impl Config for Runtime

Source§

impl Config for Runtime

Source§

type RuntimeEvent = RuntimeEvent

The overarching event type.
Source§

type CollectionId = u32

Identifier for the collection of item.
Source§

type ItemId = u32

The type used to identify a unique item within a collection.
Source§

type Currency = Pallet<Runtime>

The currency mechanism, used for paying for reserves.
Source§

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 = UniquesCollectionDeposit

The basic amount of funds that must be reserved for collection.
Source§

type ItemDeposit = UniquesItemDeposit

The basic amount of funds that must be reserved for an item.
Source§

type MetadataDepositBase = UniquesMetadataDepositBase

The basic amount of funds that must be reserved when adding metadata to your item.
Source§

type AttributeDepositBase = UniquesAttributeDepositBase

The basic amount of funds that must be reserved when adding an attribute to an item.
Source§

type DepositPerByte = UniquesDepositPerByte

The additional funds that must be reserved for the number of bytes store in metadata, either “normal” metadata or attribute metadata.
Source§

type StringLimit = ConstU32<128>

The maximum length of data stored on-chain.
Source§

type KeyLimit = ConstU32<32>

The maximum length of an attribute key.
Source§

type ValueLimit = ConstU32<64>

The maximum length of an attribute value.
Source§

type WeightInfo = WeightInfo<Runtime>

Weight information for extrinsics in this pallet.
Source§

type Helper = ()

A set of helper functions for benchmarking.
Source§

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§

type Locker = ()

Locker trait to enable Locking mechanism downstream.
Source§

impl Config for Runtime

Source§

type RuntimeEvent = RuntimeEvent

The overarching event type.
Source§

type Deposit = AssetDeposit

The deposit paid by the user locking an NFT. The deposit is returned to the original NFT owner when the asset is unified and the NFT is unlocked.
Source§

type Currency = Pallet<Runtime>

The currency mechanism, used for paying for deposits.
Source§

type NewAssetSymbol = NewAssetSymbol

The newly created asset’s symbol.
Source§

type NewAssetName = NewAssetName

The newly created asset’s name.
Source§

type StringLimit = AssetsStringLimit

The maximum length of a name or symbol stored on-chain.
Source§

type NftCollectionId = <Runtime as Config>::CollectionId

Identifier for the collection of NFT.
Source§

type NftId = <Runtime as Config>::ItemId

The type used to identify an NFT within a collection.
Source§

type AssetBalance = <Runtime as Config>::Balance

The type used to describe the amount of fractions converted into assets.
Source§

type AssetId = <Runtime as Config<Instance1>>::AssetId

The type used to identify the assets created during fractionalization.
Source§

type Assets = Pallet<Runtime, Instance1>

Registry for the minted assets.
Source§

type Nfts = Pallet<Runtime>

Registry for minted NFTs.
Source§

type PalletId = NftFractionalizationPalletId

The pallet’s id, used for deriving its sovereign account ID.
Source§

type WeightInfo = WeightInfo<Runtime>

Weight information for extrinsics in this pallet.
Source§

type RuntimeHoldReason = RuntimeHoldReason

Overarching hold reason.
Source§

type BenchmarkHelper = ()

A set of helper functions for benchmarking.
Source§

impl Config for Runtime

Source§

type RuntimeEvent = RuntimeEvent

The overarching event type.
Source§

type CollectionId = u32

Identifier for the collection of item. Read more
Source§

type ItemId = u32

The type used to identify a unique item within a collection.
Source§

type Currency = Pallet<Runtime>

The currency mechanism, used for paying for reserves.
Source§

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§

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 Locker = ()

Locker trait to enable Locking mechanism downstream.
Source§

type CollectionDeposit = NftsCollectionDeposit

The basic amount of funds that must be reserved for collection.
Source§

type ItemDeposit = NftsItemDeposit

The basic amount of funds that must be reserved for an item.
Source§

type MetadataDepositBase = NftsMetadataDepositBase

The basic amount of funds that must be reserved when adding metadata to your item.
Source§

type AttributeDepositBase = NftsAttributeDepositBase

The basic amount of funds that must be reserved when adding an attribute to an item.
Source§

type DepositPerByte = NftsDepositPerByte

The additional funds that must be reserved for the number of bytes store in metadata, either “normal” metadata or attribute metadata.
Source§

type StringLimit = ConstU32<256>

The maximum length of data stored on-chain.
Source§

type KeyLimit = ConstU32<64>

The maximum length of an attribute key.
Source§

type ValueLimit = ConstU32<256>

The maximum length of an attribute value.
Source§

type ApprovalsLimit = ConstU32<20>

The maximum approvals an item could have.
Source§

type ItemAttributesApprovalsLimit = ConstU32<30>

The maximum attributes approvals an item could have.
Source§

type MaxTips = ConstU32<10>

The max number of tips a user could send.
Source§

type MaxDeadlineDuration = NftsMaxDeadlineDuration

The max duration in blocks for deadlines.
Source§

type MaxAttributesPerCall = ConstU32<10>

The max number of attributes a user could set per call.
Source§

type Features = NftsPalletFeatures

Disables some of pallet’s features.
Source§

type OffchainSignature = MultiSignature

Off-Chain signature type. Read more
Source§

type OffchainPublic = <MultiSignature as Verify>::Signer

Off-Chain public key. Read more
Source§

type WeightInfo = WeightInfo<Runtime>

Weight information for extrinsics in this pallet.
Source§

type Helper = ()

A set of helper functions for benchmarking.
Source§

type BlockNumberProvider = Pallet<Runtime>

Provider for the block number. Normally this is the frame_system pallet.
Source§

impl Config for Runtime

Source§

type RuntimeEvent = RuntimeEvent

The overarching event type of the runtime.
Source§

type Migrations = MockedMigrations

Mocked migrations for benchmarking only. Read more
Source§

type CursorMaxLen = ConstU32<65536>

The maximal length of an encoded cursor. Read more
Source§

type IdentifierMaxLen = ConstU32<256>

The maximal length of an encoded identifier. Read more
Source§

type MigrationStatusHandler = ()

Notifications for status updates of a runtime upgrade. Read more
Source§

type FailedMigrationHandler = FreezeChainOnFailedMigration

Handler for failed migrations.
Source§

type MaxServiceWeight = MbmServiceWeight

The maximum weight to spend each block to execute migrations.
Source§

type WeightInfo = WeightInfo<Runtime>

Weight information for the calls and functions of this pallet.
Source§

impl Config for Runtime

Source§

type RuntimeCall = RuntimeCall

A sudo-able call.
Source§

type RuntimeEvent = RuntimeEvent

The overarching event type.
Source§

type WeightInfo = SubstrateWeight<Runtime>

Type representing the weight of this pallet
Source§

impl Config for Runtime

Source§

fn setup_set_code_requirements(code: &Vec<u8>) -> Result<(), BenchmarkError>

Adds ability to the Runtime to prepare/initialize before running benchmark set_code.
Source§

fn verify_set_code()

Adds ability to the Runtime to do custom validation after benchmark. Read more
Source§

fn prepare_set_code_data() -> Vec<u8>

Adds ability to the Runtime to test against their sample code. Read more
Source§

impl Config for Runtime

Source§

type DeliveryHelper = (ToParentDeliveryHelper<XcmConfig, ExistentialDepositAsset, ExponentialPrice<FeeAssetId, BaseDeliveryFee, TransactionByteFee, Pallet<Runtime>>>, ToParachainDeliveryHelper<XcmConfig, ExistentialDepositAsset, ExponentialPrice<FeeAssetId, BaseDeliveryFee, TransactionByteFee, Pallet<Runtime>>, RandomParaId, Pallet<Runtime>>)

Helper that ensures successful delivery for extrinsics/benchmarks which need SendXcm.
Source§

fn reachable_dest() -> Option<Location>

A Location that can be reached via XcmRouter. Used only in benchmarks. Read more
Source§

fn teleportable_asset_and_dest() -> Option<(Asset, Location)>

A (Asset, Location) pair representing asset and the destination it can be teleported to. Used only in benchmarks. Read more
Source§

fn reserve_transferable_asset_and_dest() -> Option<(Asset, Location)>

A (Asset, Location) pair representing asset and the destination it can be reserve-transferred to. Used only in benchmarks. Read more
Source§

fn set_up_complex_asset_transfer() -> Option<(XcmAssets, u32, Location, Box<dyn FnOnce()>)>

Sets up a complex transfer (usually consisting of a teleport and reserve-based transfer), so that runtime can properly benchmark transfer_assets() extrinsic. Should return a tuple (Asset, u32, Location, dyn FnOnce()) representing the assets to transfer, the u32 index of the asset to be used for fees, the destination chain for the transfer, and a verify() closure to verify the intended transfer side-effects. Read more
Source§

fn get_asset() -> Asset

Gets an asset that can be handled by the AssetTransactor. Read more
Source§

impl Config for Runtime

Source§

type XcmConfig = XcmConfig

The XCM configurations. Read more
Source§

type AccountIdConverter = (ParentIsPreset<<<MultiSignature as Verify>::Signer as IdentifyAccount>::AccountId>, SiblingParachainConvertsVia<Sibling, <<MultiSignature as Verify>::Signer as IdentifyAccount>::AccountId>, AccountId32Aliases<RelayNetwork, <<MultiSignature as Verify>::Signer as IdentifyAccount>::AccountId>, HashedDescription<<<MultiSignature as Verify>::Signer as IdentifyAccount>::AccountId, DescribeFamily<(DescribeTerminus, DescribePalletTerminal, DescribeAccountId32Terminal, DescribeAccountKey20Terminal, DescribeTreasuryVoiceTerminal, DescribeBodyTerminal)>>, GlobalConsensusParachainConvertsFor<UniversalLocation, <<MultiSignature as Verify>::Signer as IdentifyAccount>::AccountId>)

A converter between a location to a sovereign account.
Source§

type DeliveryHelper = ToParentDeliveryHelper<XcmConfig, ExistentialDepositAsset, ExponentialPrice<FeeAssetId, BaseDeliveryFee, TransactionByteFee, Pallet<Runtime>>>

Helper that ensures successful delivery for XCM instructions which need SendXcm.
Source§

fn valid_destination() -> Result<Location, BenchmarkError>

Does any necessary setup to create a valid destination for XCM messages. Returns that destination’s location to be used in benchmarks.
Source§

fn worst_case_holding(depositable_count: u32) -> XcmAssets

Worst case scenario for a holding account in this runtime. Read more
Source§

impl Config for Runtime

Source§

type WeightInfo = WeightInfo<Runtime>

Weight information for extrinsics in this pallet.
Source§

type RuntimeCall = RuntimeCall

Source§

type RuntimeEvent = RuntimeEvent

Source§

type Scheduler = Pallet<Runtime>

The Scheduler.
Source§

type Currency = Pallet<Runtime>

Currency type for this pallet.
Source§

type SubmitOrigin = EnsureSigned<<<MultiSignature as Verify>::Signer as IdentifyAccount>::AccountId>

Origin from which proposals may be submitted.
Source§

type CancelOrigin = EitherOf<EnsureRoot<<<MultiSignature as Verify>::Signer as IdentifyAccount>::AccountId>, ReferendumCanceller>

Origin from which any vote may be cancelled.
Source§

type KillOrigin = EitherOf<EnsureRoot<<<MultiSignature as Verify>::Signer as IdentifyAccount>::AccountId>, ReferendumKiller>

Origin from which any vote may be killed.
Source§

type Slash = Pallet<Runtime>

Handler for the unbalanced reduction when slashing a preimage deposit.
Source§

type Votes = <<Runtime as Config>::Currency as Currency<<Runtime as Config>::AccountId>>::Balance

The counting type for votes. Usually just balance.
Source§

type Tally = Tally<<<Runtime as Config>::Currency as Currency<<Runtime as Config>::AccountId>>::Balance, <Runtime as Config>::MaxTurnout>

The tallying type.
Source§

type SubmissionDeposit = SubmissionDeposit

The minimum amount to be used as a deposit for a public referendum proposal.
Source§

type MaxQueued = ConstU32<100>

Maximum size of the referendum queue for a single track.
Source§

type UndecidingTimeout = UndecidingTimeout

The number of blocks after submission that a referendum must begin being decided by. Once this passes, then anyone may cancel the referendum.
Source§

type AlarmInterval = AlarmInterval

Quantization level for the referendum wakeup scheduler. A higher number will result in fewer storage reads/writes needed for smaller voters, but also result in delays to the automatic referendum status changes. Explicit servicing instructions are unaffected.
Source§

type Tracks = TracksInfo

Information concerning the different referendum tracks.
Source§

type Preimages = Pallet<Runtime>

The preimage provider.
Source§

type BlockNumberProvider = RelaychainDataProvider<Runtime>

Provider for the block number. Read more
Source§

impl Config for Runtime

Source§

type TransactAsset = Pallet<Runtime>

The type of fungible that is being used under the hood. Read more
Source§

type CheckedAccount = CheckedAccount

The account used to check assets being teleported.
Source§

type TrustedTeleporter = TrustedTeleporter

A trusted location which we allow teleports from, and the asset we allow to teleport.
Source§

type TrustedReserve = TrustedReserve

A trusted location where reserve assets are stored, and the asset we allow to be reserves.
Source§

fn get_asset() -> Asset

Give me a fungible asset that your asset transactor is going to accept.
Source§

impl Config for Runtime

Source§

type TransactAsset = Pallet<Runtime>

The type of fungible that is being used under the hood. Read more
Source§

type RuntimeCall = RuntimeCall

Source§

fn worst_case_response() -> (u64, Response)

The response which causes the most runtime weight.
Source§

fn worst_case_asset_exchange() -> Result<(XcmAssets, XcmAssets), BenchmarkError>

The pair of asset collections which causes the most runtime weight if demanded to be exchanged. Read more
Source§

fn universal_alias() -> Result<(Location, Junction), BenchmarkError>

A (Location, Junction) that is one of the UniversalAliases configured by the XCM executor. Read more
Source§

fn transact_origin_and_runtime_call() -> Result<(Location, RuntimeCall), BenchmarkError>

The Location and RuntimeCall used for successful transaction XCMs. Read more
Source§

fn subscribe_origin() -> Result<Location, BenchmarkError>

A valid Location we can successfully subscribe to. Read more
Source§

fn claimable_asset() -> Result<(Location, Location, XcmAssets), BenchmarkError>

Return an origin, ticket, and assets that can be trapped and claimed.
Source§

fn worst_case_for_trader() -> Result<(Asset, WeightLimit), BenchmarkError>

The worst case buy execution weight limit and asset to trigger the Trader::buy_execution in the XCM executor Used to buy weight in benchmarks, for example in refund_surplus.
Source§

fn unlockable_asset() -> Result<(Location, Location, Asset), BenchmarkError>

Return an unlocker, owner and assets that can be locked and unlocked.
Source§

fn export_message_origin_and_destination() -> Result<(Location, NetworkId, InteriorLocation), BenchmarkError>

A (Location, NetworkId, InteriorLocation) we can successfully export message to. Read more
Source§

fn alias_origin() -> Result<(Location, Location), BenchmarkError>

A (Location, Location) that is one of the Aliasers configured by the XCM executor. Read more
Source§

fn valid_pallet() -> PalletInfoData

Returns a valid pallet info for ExpectPallet or QueryPallet benchmark. Read more
Source§

impl Config for Runtime

Source§

type RuntimeEvent = RuntimeEvent

The overarching event type.
Source§

type Currency = Pallet<Runtime>

The currency provider type.
Source§

type RuntimeHoldReason = RuntimeHoldReason

The overarching runtime hold reason.
Source§

type SignedDepositPerItem = MigrationSignedDepositPerItem

The amount of deposit collected per item in advance, for signed migrations. Read more
Source§

type SignedDepositBase = MigrationSignedDepositBase

Source§

type ControlOrigin = EnsureSignedBy<RootMigController, <<MultiSignature as Verify>::Signer as IdentifyAccount>::AccountId>

Origin that can control the configurations of this pallet.
Source§

type SignedFilter = EnsureSignedBy<MigController, <<MultiSignature as Verify>::Signer as IdentifyAccount>::AccountId>

Filter on which origin that trigger the manual migrations.
Source§

type WeightInfo = SubstrateWeight<Runtime>

The weight information of this pallet.
Source§

type MaxKeyLen = MigrationMaxKeyLen

Maximal number of bytes that a key can have. Read more
Source§

impl Config for Runtime

Source§

type PalletId = TreasuryPalletId

The treasury’s pallet id, used for deriving its sovereign account ID.
Source§

type Currency = Pallet<Runtime>

The staking balance.
Source§

type RejectOrigin = EitherOfDiverse<EnsureRoot<<<MultiSignature as Verify>::Signer as IdentifyAccount>::AccountId>, Treasurer>

Origin from which rejections must come.
Source§

type RuntimeEvent = RuntimeEvent

The overarching event type.
Source§

type SpendPeriod = SpendPeriod

Period between successive spends.
Source§

type Burn = Burn

Percentage of spare funds (if any) that are burnt per spend period.
Source§

type BurnDestination = ()

Handler for the unbalanced decrease when treasury funds are burned.
Source§

type MaxApprovals = MaxApprovals

DEPRECATED: associated with spend_local call and will be removed in May 2025. Refer to https://github.com/paritytech/polkadot-sdk/pull/5961 for migration to spend. Read more
Source§

type WeightInfo = WeightInfo<Runtime>

Weight information for extrinsics in this pallet.
Source§

type SpendFunds = ()

Runtime hooks to external pallet using treasury to compute spend funds.
Source§

type SpendOrigin = EitherOf<EnsureRootWithSuccess<<<MultiSignature as Verify>::Signer as IdentifyAccount>::AccountId, MaxBalance>, Spender>

The origin required for approving spends from the treasury outside of the proposal process. The Success value is the maximum amount in a native asset that this origin is allowed to spend at a time.
Source§

type AssetKind = VersionedLocatableAsset

Type parameter representing the asset kinds to be spent from the treasury.
Source§

type Beneficiary = VersionedLocation

Type parameter used to identify the beneficiaries eligible to receive treasury spends.
Source§

type BeneficiaryLookup = IdentityLookup<<Runtime as Config>::Beneficiary>

Converting trait to take a source type and convert to Self::Beneficiary.
Source§

type Paymaster = PayOverXcm<TreasuryInteriorLocation, WithUniqueTopic<((ParentAsUmp<Pallet<Runtime>, Pallet<Runtime>, ExponentialPrice<FeeAssetId, BaseDeliveryFee, TransactionByteFee, Pallet<Runtime>>>, Pallet<Runtime>), Pallet<Runtime, Instance1>, SovereignPaidRemoteExporter<NetworkExportTable<EthereumBridgeTable>, Pallet<Runtime>, UniversalLocation>)>, Pallet<Runtime>, ConstU32<{ 6 * HOURS }>, <Runtime as Config>::Beneficiary, <Runtime as Config>::AssetKind, LocatableAssetConverter, VersionedLocationConverter>

Type for processing spends of Self::AssetKind in favor of Self::Beneficiary.
Source§

type BalanceConverter = UnityOrOuterConversion<ContainsParts<FromContains<IsChildSystemParachain<Id>, IsParentsOnly<ConstU8<1>>>>, Pallet<Runtime>>

Type for converting the balance of an Self::AssetKind to the balance of the native asset, solely for the purpose of asserting the result against the maximum allowed spend amount of the Self::SpendOrigin.
Source§

type PayoutPeriod = PayoutSpendPeriod

The period during which an approved treasury spend has to be claimed.
Source§

type BlockNumberProvider = RelaychainDataProvider<Runtime>

Provider for the block number. Normally this is the frame_system pallet.
Source§

type BenchmarkHelper = TreasuryArguments

Helper type for benchmarks.
Source§

impl Config for Runtime

Source§

type WeightInfo = WeightInfo<Runtime>

The Weight information for extrinsics in this pallet.
Source§

type RuntimeEvent = RuntimeEvent

The runtime event type.
Source§

type CreateOrigin = EnsureRoot<<<MultiSignature as Verify>::Signer as IdentifyAccount>::AccountId>

The origin permissioned to create a conversion rate for an asset.
Source§

type RemoveOrigin = EnsureRoot<<<MultiSignature as Verify>::Signer as IdentifyAccount>::AccountId>

The origin permissioned to remove an existing conversion rate for an asset.
Source§

type UpdateOrigin = EnsureRoot<<<MultiSignature as Verify>::Signer as IdentifyAccount>::AccountId>

The origin permissioned to update an existing conversion rate for an asset.
Source§

type Currency = Pallet<Runtime>

The currency mechanism for this pallet.
Source§

type AssetKind = <Runtime as Config>::AssetKind

The type for asset kinds for which the conversion rate to native balance is set.
Source§

type BenchmarkHelper = AssetRateArguments

Helper type for benchmarks.
Source§

impl Config for Runtime

Source§

type RuntimeOrigin = RuntimeOrigin

The aggregated origin which the dispatch will take.
Source§

type RuntimeEvent = RuntimeEvent

The overarching event type.
Source§

type PalletsOrigin = OriginCaller

The caller origin, overarching type of all pallets origins.
Source§

type RuntimeCall = RuntimeCall

The aggregated call type.
Source§

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>

Required origin to schedule or cancel calls.
Source§

type MaxScheduledPerBlock = MaxScheduledPerBlock

The maximum number of scheduled calls in the queue for a single block. Read more
Source§

type WeightInfo = WeightInfo<Runtime>

Weight information for extrinsics in this pallet.
Source§

type OriginPrivilegeCmp = EqualPrivilegeOnly

Compare the privileges of origins. Read more
Source§

type Preimages = Pallet<Runtime>

The preimage provider with which we look up call hashes to get the call.
Source§

type BlockNumberProvider = RelaychainDataProvider<Runtime>

Query the current block number. Read more
Source§

impl Config for Runtime

Source§

type WeightInfo = WeightInfo<Runtime>

The Weight information for this pallet.
Source§

type RuntimeEvent = RuntimeEvent

The overarching event type.
Source§

type Currency = Pallet<Runtime>

Currency type for this pallet.
Source§

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>>

A means of providing some cost while data is stored on-chain.
Source§

impl CoreV5<Block<Header<u32, BlakeTwo256>, UncheckedExtrinsic<MultiAddress<<<MultiSignature as Verify>::Signer as IdentifyAccount>::AccountId, ()>, RuntimeCall, MultiSignature, StorageWeightReclaim<Runtime, (CheckNonZeroSender<Runtime>, CheckSpecVersion<Runtime>, CheckTxVersion<Runtime>, CheckGenesis<Runtime>, CheckMortality<Runtime>, CheckNonce<Runtime>, CheckWeight<Runtime>, ChargeAssetTxPayment<Runtime>, CheckMetadataHash<Runtime>)>>>> for Runtime

Source§

fn version() -> RuntimeVersion

Returns the version of the runtime.
Source§

fn execute_block(block: Block)

Execute the given block.
Source§

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> CreateInherent<LocalCall> for Runtime
where RuntimeCall: From<LocalCall>,

Source§

impl<LocalCall> CreateSignedTransaction<LocalCall> for Runtime
where RuntimeCall: From<LocalCall>,

Submits a transaction with the node’s public and signature type. Adheres to the signed extension format of the chain.

Source§

fn create_signed_transaction<C: AppCrypto<Self::Public, Self::Signature>>( call: RuntimeCall, public: <Signature as Verify>::Signer, account: AccountId, nonce: <Runtime as Config>::Nonce, ) -> Option<UncheckedExtrinsic<Address, RuntimeCall, Signature, TxExtension>>

Attempt to create signed extrinsic data that encodes call from given account. Read more
Source§

impl<LocalCall> CreateTransaction<LocalCall> for Runtime
where RuntimeCall: From<LocalCall>,

Source§

impl<C> CreateTransactionBase<C> for Runtime
where RuntimeCall: From<C>,

Source§

impl Debug for Runtime

Source§

fn fmt(&self, fmt: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
Source§

impl DryRunApiV2<Block<Header<u32, BlakeTwo256>, UncheckedExtrinsic<MultiAddress<<<MultiSignature as Verify>::Signer as IdentifyAccount>::AccountId, ()>, RuntimeCall, MultiSignature, StorageWeightReclaim<Runtime, (CheckNonZeroSender<Runtime>, CheckSpecVersion<Runtime>, CheckTxVersion<Runtime>, CheckGenesis<Runtime>, CheckMortality<Runtime>, CheckNonce<Runtime>, CheckWeight<Runtime>, ChargeAssetTxPayment<Runtime>, CheckMetadataHash<Runtime>)>>>, RuntimeCall, RuntimeEvent, OriginCaller> for Runtime

Source§

impl FungiblesApiV2<Block<Header<u32, BlakeTwo256>, UncheckedExtrinsic<MultiAddress<<<MultiSignature as Verify>::Signer as IdentifyAccount>::AccountId, ()>, RuntimeCall, MultiSignature, StorageWeightReclaim<Runtime, (CheckNonZeroSender<Runtime>, CheckSpecVersion<Runtime>, CheckTxVersion<Runtime>, CheckGenesis<Runtime>, CheckMortality<Runtime>, CheckNonce<Runtime>, CheckWeight<Runtime>, ChargeAssetTxPayment<Runtime>, CheckMetadataHash<Runtime>)>>>, <<MultiSignature as Verify>::Signer as IdentifyAccount>::AccountId> for Runtime

Source§

fn query_account_balances( account: AccountId, ) -> Result<VersionedAssets, FungiblesAccessError>

Returns the list of all Asset that an AccountId has.
Source§

impl GenesisBuilderV1<Block<Header<u32, BlakeTwo256>, UncheckedExtrinsic<MultiAddress<<<MultiSignature as Verify>::Signer as IdentifyAccount>::AccountId, ()>, RuntimeCall, MultiSignature, StorageWeightReclaim<Runtime, (CheckNonZeroSender<Runtime>, CheckSpecVersion<Runtime>, CheckTxVersion<Runtime>, CheckGenesis<Runtime>, CheckMortality<Runtime>, CheckNonce<Runtime>, CheckWeight<Runtime>, ChargeAssetTxPayment<Runtime>, CheckMetadataHash<Runtime>)>>>> for Runtime

Source§

fn build_state(config: Vec<u8>) -> Result

Build RuntimeGenesisConfig from a JSON blob not using any defaults and store it in the storage. Read more
Source§

fn get_preset(id: &Option<PresetId>) -> Option<Vec<u8>>

Returns a JSON blob representation of the built-in RuntimeGenesisConfig identified by id. Read more
Source§

fn preset_names() -> Vec<PresetId>

Returns a list of identifiers for available builtin RuntimeGenesisConfig presets. Read more
Source§

impl GetCoreSelectorApiV1<Block<Header<u32, BlakeTwo256>, UncheckedExtrinsic<MultiAddress<<<MultiSignature as Verify>::Signer as IdentifyAccount>::AccountId, ()>, RuntimeCall, MultiSignature, StorageWeightReclaim<Runtime, (CheckNonZeroSender<Runtime>, CheckSpecVersion<Runtime>, CheckTxVersion<Runtime>, CheckGenesis<Runtime>, CheckMortality<Runtime>, CheckNonce<Runtime>, CheckWeight<Runtime>, ChargeAssetTxPayment<Runtime>, CheckMetadataHash<Runtime>)>>>> for Runtime

Source§

fn core_selector() -> (CoreSelector, ClaimQueueOffset)

Retrieve core selector and claim queue offset for the next block.
Source§

impl GetRuntimeBlockType for Runtime

Source§

type RuntimeBlock = <Runtime as Config>::Block

The RuntimeBlock type.
Source§

impl IsInherent<<<Runtime as Config>::Block as Block>::Extrinsic> for Runtime

Source§

fn is_inherent(ext: &<<Runtime as Config>::Block as Block>::Extrinsic) -> bool

Whether this extrinsic is an inherent.
Source§

impl LocationToAccountApiV1<Block<Header<u32, BlakeTwo256>, UncheckedExtrinsic<MultiAddress<<<MultiSignature as Verify>::Signer as IdentifyAccount>::AccountId, ()>, RuntimeCall, MultiSignature, StorageWeightReclaim<Runtime, (CheckNonZeroSender<Runtime>, CheckSpecVersion<Runtime>, CheckTxVersion<Runtime>, CheckGenesis<Runtime>, CheckMortality<Runtime>, CheckNonce<Runtime>, CheckWeight<Runtime>, ChargeAssetTxPayment<Runtime>, CheckMetadataHash<Runtime>)>>>, <<MultiSignature as Verify>::Signer as IdentifyAccount>::AccountId> for Runtime

Source§

fn convert_location(location: VersionedLocation) -> Result<AccountId, Error>

Converts Location to AccountId.
Source§

impl MetadataV2<Block<Header<u32, BlakeTwo256>, UncheckedExtrinsic<MultiAddress<<<MultiSignature as Verify>::Signer as IdentifyAccount>::AccountId, ()>, RuntimeCall, MultiSignature, StorageWeightReclaim<Runtime, (CheckNonZeroSender<Runtime>, CheckSpecVersion<Runtime>, CheckTxVersion<Runtime>, CheckGenesis<Runtime>, CheckMortality<Runtime>, CheckNonce<Runtime>, CheckWeight<Runtime>, ChargeAssetTxPayment<Runtime>, CheckMetadataHash<Runtime>)>>>> for Runtime

Source§

fn metadata() -> OpaqueMetadata

Returns the metadata of a runtime.
Source§

fn metadata_at_version(version: u32) -> Option<OpaqueMetadata>

Returns the metadata at a given version. Read more
Source§

fn metadata_versions() -> Vec<u32>

Returns the supported metadata versions. Read more
Source§

impl MinerConfig for Runtime

Source§

type AccountId = <<MultiSignature as Verify>::Signer as IdentifyAccount>::AccountId

The account id type.
Source§

type Hash = H256

The hash type of the runtime.
Source§

type MaxBackersPerWinner = <Runtime as Config>::MaxBackersPerWinner

Maximum number of backers per winner, per page. Read more
Source§

type MaxBackersPerWinnerFinal = <Runtime as Config>::MaxBackersPerWinnerFinal

Maximum number of backers, per winner, across all pages. Read more
Source§

type MaxWinnersPerPage = <Runtime as Config>::MaxWinnersPerPage

Maximum number of winners to select per page. Read more
Source§

type MaxVotesPerVoter = <<Runtime as Config>::DataProvider as ElectionDataProvider>::MaxVotesPerVoter

Maximum number of votes per voter. Read more
Source§

type MaxLength = MinerMaxLength

The maximum length that the miner should use for a solution, per page. Read more
Source§

type Solver = <Runtime as Config>::OffchainSolver

The solver type.
Source§

type Pages = Pages

Maximum number of backers, per winner, per page. Maximum number of pages that we may compute. Read more
Source§

type Solution = NposCompactSolution16

The solution that the miner is mining. The solution type.
Source§

type VoterSnapshotPerBlock = <Runtime as Config>::VoterSnapshotPerBlock

Maximum number of voters per snapshot page. Read more
Source§

type TargetSnapshotPerBlock = <Runtime as Config>::TargetSnapshotPerBlock

Maximum number of targets per snapshot page. Read more
Source§

impl NftsApiV1<Block<Header<u32, BlakeTwo256>, UncheckedExtrinsic<MultiAddress<<<MultiSignature as Verify>::Signer as IdentifyAccount>::AccountId, ()>, RuntimeCall, MultiSignature, StorageWeightReclaim<Runtime, (CheckNonZeroSender<Runtime>, CheckSpecVersion<Runtime>, CheckTxVersion<Runtime>, CheckGenesis<Runtime>, CheckMortality<Runtime>, CheckNonce<Runtime>, CheckWeight<Runtime>, ChargeAssetTxPayment<Runtime>, CheckMetadataHash<Runtime>)>>>, <<MultiSignature as Verify>::Signer as IdentifyAccount>::AccountId, u32, u32> for Runtime

Source§

fn owner(collection: u32, item: u32) -> Option<AccountId>

Source§

fn collection_owner(collection: u32) -> Option<AccountId>

Source§

fn attribute(collection: u32, item: u32, key: Vec<u8>) -> Option<Vec<u8>>

Source§

fn custom_attribute( account: AccountId, collection: u32, item: u32, key: Vec<u8>, ) -> Option<Vec<u8>>

Source§

fn system_attribute( collection: u32, item: Option<u32>, key: Vec<u8>, ) -> Option<Vec<u8>>

Source§

fn collection_attribute(collection: u32, key: Vec<u8>) -> Option<Vec<u8>>

Source§

impl NominationPoolsApiV1<Block<Header<u32, BlakeTwo256>, UncheckedExtrinsic<MultiAddress<<<MultiSignature as Verify>::Signer as IdentifyAccount>::AccountId, ()>, RuntimeCall, MultiSignature, StorageWeightReclaim<Runtime, (CheckNonZeroSender<Runtime>, CheckSpecVersion<Runtime>, CheckTxVersion<Runtime>, CheckGenesis<Runtime>, CheckMortality<Runtime>, CheckNonce<Runtime>, CheckWeight<Runtime>, ChargeAssetTxPayment<Runtime>, CheckMetadataHash<Runtime>)>>>, <<MultiSignature as Verify>::Signer as IdentifyAccount>::AccountId, u128> for Runtime

Source§

fn pending_rewards(member: AccountId) -> Balance

Returns the pending rewards for the member that the AccountId was given for.
Source§

fn points_to_balance(pool_id: PoolId, points: Balance) -> Balance

Returns the equivalent balance of points for a given pool.
Source§

fn balance_to_points(pool_id: PoolId, new_funds: Balance) -> Balance

Returns the equivalent points of new_funds for a given pool.
Source§

fn pool_pending_slash(pool_id: PoolId) -> Balance

Returns the pending slash for a given pool.
Source§

fn member_pending_slash(member: AccountId) -> Balance

Returns the pending slash for a given pool member. Read more
Source§

fn pool_needs_delegate_migration(pool_id: PoolId) -> bool

Returns true if the pool with pool_id needs migration. Read more
Source§

fn member_needs_delegate_migration(member: AccountId) -> bool

Returns true if the delegated funds of the pool member needs migration. Read more
Source§

fn member_total_balance(member: AccountId) -> Balance

Returns the total contribution of a pool member including any balance that is unbonding.
Source§

fn pool_balance(pool_id: PoolId) -> Balance

Total balance contributed to the pool.
Source§

fn pool_accounts(pool_id: PoolId) -> (AccountId, AccountId)

Returns the bonded account and reward account associated with the pool_id.
Source§

impl OffchainWorkerApiV2<Block<Header<u32, BlakeTwo256>, UncheckedExtrinsic<MultiAddress<<<MultiSignature as Verify>::Signer as IdentifyAccount>::AccountId, ()>, RuntimeCall, MultiSignature, StorageWeightReclaim<Runtime, (CheckNonZeroSender<Runtime>, CheckSpecVersion<Runtime>, CheckTxVersion<Runtime>, CheckGenesis<Runtime>, CheckMortality<Runtime>, CheckNonce<Runtime>, CheckWeight<Runtime>, ChargeAssetTxPayment<Runtime>, CheckMetadataHash<Runtime>)>>>> for Runtime

Source§

fn offchain_worker(header: &<Block as BlockT>::Header)

Starts the off-chain task for given block header.
Source§

impl PartialEq for Runtime

Source§

fn eq(&self, other: &Runtime) -> bool

Tests for self and other values to be equal, and is used by ==.
1.0.0 · Source§

fn ne(&self, other: &Rhs) -> bool

Tests for !=. The default implementation is almost always sufficient, and should not be overridden without very good reason.
Source§

impl SessionKeysV1<Block<Header<u32, BlakeTwo256>, UncheckedExtrinsic<MultiAddress<<<MultiSignature as Verify>::Signer as IdentifyAccount>::AccountId, ()>, RuntimeCall, MultiSignature, StorageWeightReclaim<Runtime, (CheckNonZeroSender<Runtime>, CheckSpecVersion<Runtime>, CheckTxVersion<Runtime>, CheckGenesis<Runtime>, CheckMortality<Runtime>, CheckNonce<Runtime>, CheckWeight<Runtime>, ChargeAssetTxPayment<Runtime>, CheckMetadataHash<Runtime>)>>>> for Runtime

Source§

fn generate_session_keys(seed: Option<Vec<u8>>) -> Vec<u8>

Generate a set of session keys with optionally using the given seed. The keys should be stored within the keystore exposed via runtime externalities. Read more
Source§

fn decode_session_keys(encoded: Vec<u8>) -> Option<Vec<(Vec<u8>, KeyTypeId)>>

Decode the given public session keys. Read more
Source§

impl SigningTypes for Runtime

Source§

type Public = <MultiSignature as Verify>::Signer

A public key that is capable of identifying AccountIds. Read more
Source§

type Signature = MultiSignature

A matching Signature type.
Source§

impl StakingApiV1<Block<Header<u32, BlakeTwo256>, UncheckedExtrinsic<MultiAddress<<<MultiSignature as Verify>::Signer as IdentifyAccount>::AccountId, ()>, RuntimeCall, MultiSignature, StorageWeightReclaim<Runtime, (CheckNonZeroSender<Runtime>, CheckSpecVersion<Runtime>, CheckTxVersion<Runtime>, CheckGenesis<Runtime>, CheckMortality<Runtime>, CheckNonce<Runtime>, CheckWeight<Runtime>, ChargeAssetTxPayment<Runtime>, CheckMetadataHash<Runtime>)>>>, u128, <<MultiSignature as Verify>::Signer as IdentifyAccount>::AccountId> for Runtime

Source§

fn nominations_quota(balance: Balance) -> u32

Returns the nominations quota for a nominator with a given balance.
Source§

fn eras_stakers_page_count(era: EraIndex, account: AccountId) -> Page

Returns the page count of exposures for a validator account in a given era.
Source§

fn pending_rewards(era: EraIndex, account: AccountId) -> bool

Returns true if validator account has pages to be claimed for the given era.
Source§

impl TaggedTransactionQueueV3<Block<Header<u32, BlakeTwo256>, UncheckedExtrinsic<MultiAddress<<<MultiSignature as Verify>::Signer as IdentifyAccount>::AccountId, ()>, RuntimeCall, MultiSignature, StorageWeightReclaim<Runtime, (CheckNonZeroSender<Runtime>, CheckSpecVersion<Runtime>, CheckTxVersion<Runtime>, CheckGenesis<Runtime>, CheckMortality<Runtime>, CheckNonce<Runtime>, CheckWeight<Runtime>, ChargeAssetTxPayment<Runtime>, CheckMetadataHash<Runtime>)>>>> for Runtime

Source§

fn validate_transaction( source: TransactionSource, tx: <Block as BlockT>::Extrinsic, block_hash: <Block as BlockT>::Hash, ) -> TransactionValidity

Validate the transaction. Read more
Source§

impl TransactionPaymentApiV4<Block<Header<u32, BlakeTwo256>, UncheckedExtrinsic<MultiAddress<<<MultiSignature as Verify>::Signer as IdentifyAccount>::AccountId, ()>, RuntimeCall, MultiSignature, StorageWeightReclaim<Runtime, (CheckNonZeroSender<Runtime>, CheckSpecVersion<Runtime>, CheckTxVersion<Runtime>, CheckGenesis<Runtime>, CheckMortality<Runtime>, CheckNonce<Runtime>, CheckWeight<Runtime>, ChargeAssetTxPayment<Runtime>, CheckMetadataHash<Runtime>)>>>, u128> for Runtime

Source§

impl TransactionPaymentCallApiV3<Block<Header<u32, BlakeTwo256>, UncheckedExtrinsic<MultiAddress<<<MultiSignature as Verify>::Signer as IdentifyAccount>::AccountId, ()>, RuntimeCall, MultiSignature, StorageWeightReclaim<Runtime, (CheckNonZeroSender<Runtime>, CheckSpecVersion<Runtime>, CheckTxVersion<Runtime>, CheckGenesis<Runtime>, CheckMortality<Runtime>, CheckNonce<Runtime>, CheckWeight<Runtime>, ChargeAssetTxPayment<Runtime>, CheckMetadataHash<Runtime>)>>>, u128, RuntimeCall> for Runtime

Source§

fn query_call_info(call: RuntimeCall, len: u32) -> RuntimeDispatchInfo<Balance>

Query information of a dispatch class, weight, and fee of a given encoded Call.
Source§

fn query_call_fee_details(call: RuntimeCall, len: u32) -> FeeDetails<Balance>

Query fee details of a given encoded Call.
Source§

fn query_weight_to_fee(weight: Weight) -> Balance

Query the output of the current WeightToFee given some input.
Source§

fn query_length_to_fee(length: u32) -> Balance

Query the output of the current LengthToFee given some input.
Source§

impl TrustedQueryApiV1<Block<Header<u32, BlakeTwo256>, UncheckedExtrinsic<MultiAddress<<<MultiSignature as Verify>::Signer as IdentifyAccount>::AccountId, ()>, RuntimeCall, MultiSignature, StorageWeightReclaim<Runtime, (CheckNonZeroSender<Runtime>, CheckSpecVersion<Runtime>, CheckTxVersion<Runtime>, CheckGenesis<Runtime>, CheckMortality<Runtime>, CheckNonce<Runtime>, CheckWeight<Runtime>, ChargeAssetTxPayment<Runtime>, CheckMetadataHash<Runtime>)>>>> for Runtime

Source§

fn is_trusted_reserve( asset: VersionedAsset, location: VersionedLocation, ) -> XcmTrustedQueryResult

Returns if the location is a trusted reserve for the asset. Read more
Source§

fn is_trusted_teleporter( asset: VersionedAsset, location: VersionedLocation, ) -> XcmTrustedQueryResult

Returns if the asset can be teleported to the location. Read more
Source§

impl TryRuntimeV1<Block<Header<u32, BlakeTwo256>, UncheckedExtrinsic<MultiAddress<<<MultiSignature as Verify>::Signer as IdentifyAccount>::AccountId, ()>, RuntimeCall, MultiSignature, StorageWeightReclaim<Runtime, (CheckNonZeroSender<Runtime>, CheckSpecVersion<Runtime>, CheckTxVersion<Runtime>, CheckGenesis<Runtime>, CheckMortality<Runtime>, CheckNonce<Runtime>, CheckWeight<Runtime>, ChargeAssetTxPayment<Runtime>, CheckMetadataHash<Runtime>)>>>> for Runtime

Source§

fn on_runtime_upgrade(checks: UpgradeCheckSelect) -> (Weight, Weight)

dry-run runtime upgrades, returning the total weight consumed. Read more
Source§

fn execute_block( block: Block, state_root_check: bool, signature_check: bool, select: TryStateSelect, ) -> Weight

Execute the given block, but optionally disable state-root and signature checks. Read more
Source§

impl TypeInfo for Runtime

Source§

type Identity = Runtime

The type identifying for which type info is provided. Read more
Source§

fn type_info() -> Type

Returns the static type identifier for Self.
Source§

impl V5Config for Runtime

Source§

type ChannelList = Pallet<Runtime>

List all outbound channels with their target ParaId and maximum message size.
Source§

impl ValidateUnsigned for Runtime

Source§

type Call = RuntimeCall

The call to validate
Source§

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

Return the validity of the call Read more
Source§

impl XcmPaymentApiV1<Block<Header<u32, BlakeTwo256>, UncheckedExtrinsic<MultiAddress<<<MultiSignature as Verify>::Signer as IdentifyAccount>::AccountId, ()>, RuntimeCall, MultiSignature, StorageWeightReclaim<Runtime, (CheckNonZeroSender<Runtime>, CheckSpecVersion<Runtime>, CheckTxVersion<Runtime>, CheckGenesis<Runtime>, CheckMortality<Runtime>, CheckNonce<Runtime>, CheckWeight<Runtime>, ChargeAssetTxPayment<Runtime>, CheckMetadataHash<Runtime>)>>>> for Runtime

Source§

fn query_acceptable_payment_assets( xcm_version: Version, ) -> Result<Vec<VersionedAssetId>, XcmPaymentApiError>

Returns a list of acceptable payment assets. Read more
Source§

fn query_weight_to_asset_fee( weight: Weight, asset: VersionedAssetId, ) -> Result<u128, XcmPaymentApiError>

Converts a weight into a fee for the specified AssetId. Read more
Source§

fn query_xcm_weight( message: VersionedXcm<()>, ) -> Result<Weight, XcmPaymentApiError>

Returns a weight needed to execute a XCM. Read more
Source§

fn query_delivery_fees( destination: VersionedLocation, message: VersionedXcm<()>, ) -> Result<VersionedAssets, XcmPaymentApiError>

Get delivery fees for sending a specific message to a destination. These always come in a specific asset, defined by the chain. Read more
Source§

impl Config for Runtime

Source§

impl Config for Runtime

Source§

impl Config for Runtime

Source§

impl Config for Runtime

Source§

impl Copy for Runtime

Source§

impl Eq for Runtime

Source§

impl StructuralPartialEq for Runtime

Auto Trait Implementations§

Blanket Implementations§

Source§

impl<T> Any for T
where T: 'static + ?Sized,

Source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
Source§

impl<T> Borrow<T> for T
where T: ?Sized,

Source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
Source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

Source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
Source§

impl<T> CheckedConversion for T

Source§

fn checked_from<T>(t: T) -> Option<Self>
where Self: TryFrom<T>,

Convert from a value of T into an equivalent instance of Option<Self>. Read more
Source§

fn checked_into<T>(self) -> Option<T>
where Self: TryInto<T>,

Consume self to return Some equivalent value of Option<T>. Read more
Source§

impl<T> CloneToUninit for T
where T: Clone,

Source§

unsafe fn clone_to_uninit(&self, dst: *mut u8)

🔬This is a nightly-only experimental API. (clone_to_uninit)
Performs copy-assignment from self to dst. Read more
§

impl<T> Conv for T

§

fn conv<T>(self) -> T
where Self: Into<T>,

Converts self into T using Into<T>. Read more
Source§

impl<T> DynClone for T
where T: Clone,

Source§

fn __clone_box(&self, _: Private) -> *mut ()

§

impl<Q, K> Equivalent<K> for Q
where Q: Eq + ?Sized, K: Borrow<Q> + ?Sized,

§

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
where Q: Eq + ?Sized, K: Borrow<Q> + ?Sized,

§

fn equivalent(&self, key: &K) -> bool

Compare self to key and return true if they are equal.
§

impl<Q, K> Equivalent<K> for Q
where Q: Eq + ?Sized, K: Borrow<Q> + ?Sized,

§

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
where Q: Eq + ?Sized, K: Borrow<Q> + ?Sized,

§

fn equivalent(&self, key: &K) -> bool

Checks if this value is equivalent to the given key. Read more
Source§

impl<Q, K> Equivalent<K> for Q
where Q: Eq + ?Sized, K: Borrow<Q> + ?Sized,

Source§

fn equivalent(&self, key: &K) -> bool

Compare self to key and return true if they are equal.
§

impl<T> FmtForward for T

§

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,

Causes self to use its Display implementation when Debug-formatted.
§

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,

Causes self to use its LowerHex implementation when Debug-formatted.
§

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,

Causes self to use its Pointer implementation when Debug-formatted.
§

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,

Causes self to use its UpperHex implementation when Debug-formatted.
§

fn fmt_list(self) -> FmtList<Self>
where &'a Self: for<'a> IntoIterator,

Formats each item in a sequence. Read more
Source§

impl<T> From<T> for T

Source§

fn from(t: T) -> T

Returns the argument unchanged.

§

impl<T> Instrument for T

§

fn instrument(self, span: Span) -> Instrumented<Self>

Instruments this type with the provided [Span], returning an Instrumented wrapper. Read more
§

fn in_current_span(self) -> Instrumented<Self>

Instruments this type with the current Span, returning an Instrumented wrapper. Read more
Source§

impl<T, U> Into<U> for T
where U: From<T>,

Source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

Source§

impl<T> IntoEither for T

Source§

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 more
Source§

fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
where F: FnOnce(&Self) -> bool,

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
Source§

impl<T, U> IntoKey<U> for T
where U: FromKey<T>,

Source§

fn into_key(self) -> U

§

impl<Src, Dest> IntoTuple<Dest> for Src
where Dest: FromTuple<Src>,

§

fn into_tuple(self) -> Dest

Source§

impl<T> IsType<T> for T

Source§

fn from_ref(t: &T) -> &T

Cast reference.
Source§

fn into_ref(&self) -> &T

Cast reference.
Source§

fn from_mut(t: &mut T) -> &mut T

Cast mutable reference.
Source§

fn into_mut(&mut self) -> &mut T

Cast mutable reference.
Source§

impl<T, Outer> IsWrappedBy<Outer> for T
where Outer: AsRef<T> + AsMut<T> + From<T>, T: From<Outer>,

Source§

fn from_ref(outer: &Outer) -> &T

Get a reference to the inner from the outer.

Source§

fn from_mut(outer: &mut Outer) -> &mut T

Get a mutable reference to the inner from the outer.

§

impl<T> Pipe for T
where T: ?Sized,

§

fn pipe<R>(self, func: impl FnOnce(Self) -> R) -> R
where 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) -> R
where 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) -> R
where 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
where Self: Borrow<B>, B: 'a + ?Sized, R: 'a,

Borrows self, then passes self.borrow() into the pipe function. Read more
§

fn pipe_borrow_mut<'a, B, R>( &'a mut self, func: impl FnOnce(&'a mut B) -> R, ) -> R
where Self: BorrowMut<B>, B: 'a + ?Sized, R: 'a,

Mutably borrows self, then passes self.borrow_mut() into the pipe function. Read more
§

fn pipe_as_ref<'a, U, R>(&'a self, func: impl FnOnce(&'a U) -> R) -> R
where Self: AsRef<U>, U: 'a + ?Sized, R: 'a,

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
where Self: AsMut<U>, U: 'a + ?Sized, R: 'a,

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
where Self: Deref<Target = T>, T: 'a + ?Sized, R: 'a,

Borrows self, then passes self.deref() into the pipe function.
§

fn pipe_deref_mut<'a, T, R>( &'a mut self, func: impl FnOnce(&'a mut T) -> R, ) -> R
where Self: DerefMut<Target = T> + Deref, T: 'a + ?Sized, R: 'a,

Mutably borrows self, then passes self.deref_mut() into the pipe function.
§

impl<T> Pointable for T

§

const ALIGN: usize = _

The alignment of pointer.
§

type Init = T

The type for initializers.
§

unsafe fn init(init: <T as Pointable>::Init) -> usize

Initializes a with the given initializer. Read more
§

unsafe fn deref<'a>(ptr: usize) -> &'a T

Dereferences the given pointer. Read more
§

unsafe fn deref_mut<'a>(ptr: usize) -> &'a mut T

Mutably dereferences the given pointer. Read more
§

unsafe fn drop(ptr: usize)

Drops the object pointed to by the given pointer. Read more
Source§

impl<T> Same for T

Source§

type Output = T

Should always be Self
Source§

impl<T> SaturatedConversion for T

Source§

fn saturated_from<T>(t: T) -> Self
where Self: UniqueSaturatedFrom<T>,

Convert from a value of T into an equivalent instance of Self. Read more
Source§

fn saturated_into<T>(self) -> T
where Self: UniqueSaturatedInto<T>,

Consume self to return an equivalent value of T. Read more
§

impl<SS, SP> SupersetOf<SS> for SP
where SS: SubsetOf<SP>,

§

fn to_subset(&self) -> Option<SS>

The inverse inclusion map: attempts to construct self from the equivalent element of its superset. Read more
§

fn is_in_subset(&self) -> bool

Checks if self is actually part of its subset T (and can be converted to it).
§

fn to_subset_unchecked(&self) -> SS

Use with care! Same as self.to_subset but without any property checks. Always succeeds.
§

fn from_subset(element: &SS) -> SP

The inclusion map: converts self to the equivalent element of its superset.
§

impl<T> Tap for T

§

fn tap(self, func: impl FnOnce(&Self)) -> Self

Immutable access to a value. Read more
§

fn tap_mut(self, func: impl FnOnce(&mut Self)) -> Self

Mutable access to a value. Read more
§

fn tap_borrow<B>(self, func: impl FnOnce(&B)) -> Self
where Self: Borrow<B>, B: ?Sized,

Immutable access to the Borrow<B> of a value. Read more
§

fn tap_borrow_mut<B>(self, func: impl FnOnce(&mut B)) -> Self
where Self: BorrowMut<B>, B: ?Sized,

Mutable access to the BorrowMut<B> of a value. Read more
§

fn tap_ref<R>(self, func: impl FnOnce(&R)) -> Self
where Self: AsRef<R>, R: ?Sized,

Immutable access to the AsRef<R> view of a value. Read more
§

fn tap_ref_mut<R>(self, func: impl FnOnce(&mut R)) -> Self
where Self: AsMut<R>, R: ?Sized,

Mutable access to the AsMut<R> view of a value. Read more
§

fn tap_deref<T>(self, func: impl FnOnce(&T)) -> Self
where Self: Deref<Target = T>, T: ?Sized,

Immutable access to the Deref::Target of a value. Read more
§

fn tap_deref_mut<T>(self, func: impl FnOnce(&mut T)) -> Self
where Self: DerefMut<Target = T> + Deref, T: ?Sized,

Mutable access to the Deref::Target of a value. Read more
§

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

Calls .tap_mut() only in debug builds, and is erased in release builds.
§

fn tap_borrow_dbg<B>(self, func: impl FnOnce(&B)) -> Self
where Self: Borrow<B>, B: ?Sized,

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
where Self: BorrowMut<B>, B: ?Sized,

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
where Self: AsRef<R>, R: ?Sized,

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
where Self: AsMut<R>, R: ?Sized,

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
where Self: Deref<Target = T>, T: ?Sized,

Calls .tap_deref() only in debug builds, and is erased in release builds.
§

fn tap_deref_mut_dbg<T>(self, func: impl FnOnce(&mut T)) -> Self
where Self: DerefMut<Target = T> + Deref, T: ?Sized,

Calls .tap_deref_mut() only in debug builds, and is erased in release builds.
Source§

impl<T> ToOwned for T
where T: Clone,

Source§

type Owned = T

The resulting type after obtaining ownership.
Source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
Source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
§

impl<T> TryConv for T

§

fn try_conv<T>(self) -> Result<T, Self::Error>
where Self: TryInto<T>,

Attempts to convert self into T using TryInto<T>. Read more
Source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

Source§

type Error = Infallible

The type returned in the event of a conversion error.
Source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
Source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

Source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
Source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
Source§

impl<T, U> TryIntoKey<U> for T
where U: TryFromKey<T>,

Source§

type Error = <U as TryFromKey<T>>::Error

Source§

fn try_into_key(self) -> Result<U, <U as TryFromKey<T>>::Error>

Source§

impl<S, T> UncheckedInto<T> for S
where T: UncheckedFrom<S>,

Source§

fn unchecked_into(self) -> T

The counterpart to unchecked_from.
Source§

impl<T, S> UniqueSaturatedInto<T> for S
where T: Bounded, S: TryInto<T>,

Source§

fn unique_saturated_into(self) -> T

Consume self to return an equivalent value of T.
§

impl<V, T> VZip<V> for T
where V: MultiLane<T>,

§

fn vzip(self) -> V

§

impl<T> WithSubscriber for T

§

fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>
where S: Into<Dispatch>,

Attaches the provided Subscriber to this type, returning a [WithDispatch] wrapper. Read more
§

fn with_current_subscriber(self) -> WithDispatch<Self>

Attaches the current default Subscriber to this type, returning a [WithDispatch] wrapper. Read more
§

impl<T> ErasedDestructor for T
where T: 'static,

§

impl<T> JsonSchemaMaybe for T

§

impl<T> MaybeDebug for T
where T: Debug,

Source§

impl<T> MaybeRefUnwindSafe for T
where T: RefUnwindSafe,

§

impl<T> MaybeSend for T
where T: Send,

§

impl<T> MaybeSendSync for T

Source§

impl<T> Member for T
where T: Send + Sync + Debug + Eq + PartialEq + Clone + 'static,

Source§

impl<T> Scalar for T
where T: 'static + Clone + PartialEq + Debug,

§

impl<T> StaticTypeInfo for T
where T: TypeInfo + 'static,