Struct astar_runtime::Runtime

source ·
pub struct Runtime;

Implementations§

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, (CheckSpecVersion<Runtime>, CheckTxVersion<Runtime>, CheckGenesis<Runtime>, CheckMortality<Runtime>, CheckNonce<Runtime>, CheckWeight<Runtime>, ChargeTransactionPayment<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 AddressToAssetId<u128> for Runtime

source§

impl AuraApiV1<Block<Header<u32, BlakeTwo256>, UncheckedExtrinsic<MultiAddress<<<MultiSignature as Verify>::Signer as IdentifyAccount>::AccountId, ()>, RuntimeCall, MultiSignature, (CheckSpecVersion<Runtime>, CheckTxVersion<Runtime>, CheckGenesis<Runtime>, CheckMortality<Runtime>, CheckNonce<Runtime>, CheckWeight<Runtime>, ChargeTransactionPayment<Runtime>, 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 AuraUnincludedSegmentApiV1<Block<Header<u32, BlakeTwo256>, UncheckedExtrinsic<MultiAddress<<<MultiSignature as Verify>::Signer as IdentifyAccount>::AccountId, ()>, RuntimeCall, MultiSignature, (CheckSpecVersion<Runtime>, CheckTxVersion<Runtime>, CheckGenesis<Runtime>, CheckMortality<Runtime>, CheckNonce<Runtime>, CheckWeight<Runtime>, ChargeTransactionPayment<Runtime>, 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 slot. Read more
source§

impl BlockBuilderV6<Block<Header<u32, BlakeTwo256>, UncheckedExtrinsic<MultiAddress<<<MultiSignature as Verify>::Signer as IdentifyAccount>::AccountId, ()>, RuntimeCall, MultiSignature, (CheckSpecVersion<Runtime>, CheckTxVersion<Runtime>, CheckGenesis<Runtime>, CheckMortality<Runtime>, CheckNonce<Runtime>, CheckWeight<Runtime>, ChargeTransactionPayment<Runtime>, 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.
§

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

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

fn is_root(&self) -> bool

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

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

§

type RuntimeEvent = RuntimeEvent

The overarching event type.
§

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

Required origin for adding a member (though can always be Root).
§

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

Required origin for removing a member (though can always be Root).
§

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

Required origin for adding and removing a member in a single action.
§

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

Required origin for resetting membership.
§

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

Required origin for setting or resetting the prime member.
§

type MembershipInitialized = ()

The receiver of the signal for when the membership has been initialized. This happens pre-genesis and will usually be the same as MembershipChanged. If you need to do something different on initialization, then you can change this accordingly.
§

type MembershipChanged = ()

The receiver of the signal for when the membership has changed.
§

type MaxMembers = ConstU32<16>

The maximum number of members that this membership can have. Read more
§

type WeightInfo = SubstrateWeight<Runtime>

Weight information for extrinsics in this pallet.
source§

impl Config<Instance1> for Runtime

§

type PalletId = TreasuryPalletId

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

type Currency = Pallet<Runtime>

The staking balance.
§

type RuntimeEvent = RuntimeEvent

The overarching event type.
§

type ApproveOrigin = EitherOfDiverse<EnsureRoot<<<MultiSignature as Verify>::Signer as IdentifyAccount>::AccountId>, EnsureProportionAtLeast<<<MultiSignature as Verify>::Signer as IdentifyAccount>::AccountId, Instance2, 2, 3>>

Origin from which approvals must come.
§

type RejectOrigin = EitherOfDiverse<EnsureRoot<<<MultiSignature as Verify>::Signer as IdentifyAccount>::AccountId>, EnsureProportionAtLeast<<<MultiSignature as Verify>::Signer as IdentifyAccount>::AccountId, Instance2, 2, 3>>

Origin from which rejections must come.
§

type OnSlash = Pallet<Runtime, Instance1>

Handler for the unbalanced decrease when slashing for a rejected proposal or bounty.
§

type ProposalBond = ProposalBond

Fraction of a proposal’s value that should be bonded in order to place the proposal. An accepted proposal gets these back. A rejected proposal does not.
§

type ProposalBondMinimum = ConstU128<{ 100 * ASTR }>

Minimum amount of funds that should be placed in a deposit for making a proposal.
§

type ProposalBondMaximum = ConstU128<{ 1000 * ASTR }>

Maximum amount of funds that should be placed in a deposit for making a proposal.
§

type SpendPeriod = ConstU32<{ 7 * DAYS }>

Period between successive spends.
§

type Burn = ()

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

type BurnDestination = ()

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

type SpendFunds = ()

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

type MaxApprovals = ConstU32<64>

The maximum number of approvals that can wait in the spending queue. Read more
§

type WeightInfo = SubstrateWeight<Runtime>

Weight information for extrinsics in this pallet.
source§

impl Config for Runtime

§

type RuntimeEvent = RuntimeEvent

The overarching event type.
§

type RuntimeFreezeReason = RuntimeFreezeReason

The overarching freeze reason.
§

type Currency = Pallet<Runtime>

Currency used for staking. Reference: https://github.com/paritytech/substrate/pull/12951/
§

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

Describes smart contract in the context required by dApp staking.
§

type ContractRegisterOrigin = EitherOfDiverse<EnsureRoot<<<MultiSignature as Verify>::Signer as IdentifyAccount>::AccountId>, EnsureProportionAtLeast<<<MultiSignature as Verify>::Signer as IdentifyAccount>::AccountId, Instance4, 2, 3>>

Privileged origin that is allowed to register smart contracts to the protocol.
§

type ContractUnregisterOrigin = EitherOfDiverse<EnsureRoot<<<MultiSignature as Verify>::Signer as IdentifyAccount>::AccountId>, EnsureProportionAtLeast<<<MultiSignature as Verify>::Signer as IdentifyAccount>::AccountId, Instance4, 4, 5>>

Privileged origin that is allowed to unregister smart contracts from the protocol.
§

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

Privileged origin for managing dApp staking pallet.
§

type NativePriceProvider = Pallet<Runtime>

Used to provide price information about the native token.
§

type StakingRewardHandler = Pallet<Runtime>

Used to handle reward payouts & reward pool amount fetching.
§

type CycleConfiguration = InflationCycleConfig

Describes era length, subperiods & period length, as well as cycle length.
§

type Observers = Pallet<Runtime>

dApp staking event observers, notified when certain events occur.
§

type AccountCheck = AccountCheck

Used to check whether an account is allowed to participate in dApp staking.
§

type TierSlots = StandardTierSlots

Used to calculate total number of tier slots for some price.
§

type BaseNativeCurrencyPrice = BaseNativeCurrencyPrice

Base native currency price used to calculate base number of slots. This is used to adjust tier configuration, tier thresholds specifically, based on the native token price changes. Read more
§

type EraRewardSpanLength = ConstU32<16>

Maximum length of a single era reward span length entry.
§

type RewardRetentionInPeriods = ConstU32<4>

Number of periods for which we keep rewards available for claiming. After that period, they are no longer claimable.
§

type MaxNumberOfContracts = ConstU32<500>

Maximum number of contracts that can be integrated into dApp staking at once.
§

type MaxUnlockingChunks = ConstU32<8>

Maximum number of unlocking chunks that can exist per account at a time.
§

type MinimumLockedAmount = MinimumStakingAmount

Minimum amount an account has to lock in dApp staking in order to participate.
§

type UnlockingPeriod = ConstU32<9>

Number of standard eras that need to pass before unlocking chunk can be claimed. Even though it’s expressed in ‘eras’, it’s actually measured in number of blocks.
§

type MaxNumberOfStakedContracts = ConstU32<16>

Maximum amount of stake contract entries an account is allowed to have at once.
§

type MinimumStakeAmount = MinimumStakingAmount

Minimum amount staker can stake on a contract.
§

type NumberOfTiers = ConstU32<4>

Number of different tiers.
§

type RankingEnabled = ConstBool<true>

Tier ranking enabled.
§

type MaxBonusSafeMovesPerPeriod = ConstU8<2>

The maximum number of ‘safe move actions’ allowed within a single period while retaining eligibility for bonus rewards. Exceeding this limit will result in the forfeiture of the bonus rewards for the affected stake.
§

type WeightInfo = SubstrateWeight<Runtime>

Weight info for various calls & operations in the pallet.
source§

impl Config for Runtime

§

type RuntimeEvent = RuntimeEvent

The overarching event type.
§

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

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

type WeightToFee = WeightToFee

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

type OperationalFeeMultiplier = OperationalFeeMultiplier

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

type FeeMultiplierUpdate = TargetedFeeAdjustment<Runtime, TargetBlockFullness, AdjustmentVariable, MinimumMultiplier, MaximumMultiplier>

Update the multiplier of the next block, based on the previous block’s weight.
§

type LengthToFee = ConstantMultiplier<u128, TransactionLengthFeeFactor>

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

impl Config for Runtime

§

type RuntimeEvent = RuntimeEvent

The overarching event type.
§

type XcmExecutor = XcmExecutor<XcmConfig>

source§

impl Config for Runtime

§

type Balance = u128

The balance of an account.
§

type DustRemoval = ()

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

type RuntimeEvent = RuntimeEvent

The overarching event type.
§

type MaxLocks = MaxLocks

The maximum number of locks that should exist on an account. Not strictly enforced, but used for weight estimation. Read more
§

type MaxReserves = MaxReserves

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

type ReserveIdentifier = [u8; 8]

The ID type for reserves. Read more
§

type ExistentialDeposit = ExistentialDeposit

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

type AccountStore = Pallet<Runtime>

The means of storing the balances of an account.
§

type WeightInfo = SubstrateWeight<Runtime>

Weight information for extrinsics in this pallet.
§

type RuntimeHoldReason = RuntimeHoldReason

The overarching hold reason.
§

type RuntimeFreezeReason = RuntimeFreezeReason

The overarching freeze reason.
§

type FreezeIdentifier = RuntimeFreezeReason

The ID type for freezes.
§

type MaxFreezes = ConstU32<1>

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

impl Config for Runtime

§

type AuthorityId = Public

The identifier type for an authority.
§

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

type MaxAuthorities = ConstU32<250>

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

type AllowMultipleBlocksPerSlot = ConstBool<false>

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

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

§

type FeeCalculator = Pallet<Runtime>

Calculator for current gas price.
§

type GasWeightMapping = FixedGasWeightMapping<Runtime>

Maps Ethereum gas to Substrate weight.
§

type WeightPerGas = WeightPerGas

Weight corresponding to a gas unit.
§

type BlockHashMapping = EthereumBlockHashMapping<Runtime>

Block number to block hash.
§

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

Allow the origin to call on behalf of given address.
§

type WithdrawOrigin = EnsureAddressTruncated

Allow the origin to withdraw on behalf of given address.
§

type AddressMapping = HashedAddressMapping<BlakeTwo256>

Mapping from address to account id.
§

type Currency = Pallet<Runtime>

Currency type for withdraw and balance storage.
§

type RuntimeEvent = RuntimeEvent

The overarching event type.
§

type Runner = Runner<Runtime>

EVM execution runner.
§

type PrecompilesType = PrecompileSetBuilder<Runtime, (PrecompilesInRangeInclusive<(AddressU64<1>, AddressU64<20487>), (PrecompileAt<AddressU64<1>, ECRecover, (AcceptDelegateCall, CallableByContract, CallableByPrecompile)>, PrecompileAt<AddressU64<2>, Sha256, (AcceptDelegateCall, CallableByContract, CallableByPrecompile)>, PrecompileAt<AddressU64<3>, Ripemd160, (AcceptDelegateCall, CallableByContract, CallableByPrecompile)>, PrecompileAt<AddressU64<4>, Identity, (AcceptDelegateCall, CallableByContract, CallableByPrecompile)>, PrecompileAt<AddressU64<5>, Modexp, (AcceptDelegateCall, CallableByContract, CallableByPrecompile)>, PrecompileAt<AddressU64<6>, Bn128Add, (AcceptDelegateCall, CallableByContract, CallableByPrecompile)>, PrecompileAt<AddressU64<7>, Bn128Mul, (AcceptDelegateCall, CallableByContract, CallableByPrecompile)>, PrecompileAt<AddressU64<8>, Bn128Pairing, (AcceptDelegateCall, CallableByContract, CallableByPrecompile)>, PrecompileAt<AddressU64<9>, Blake2F, (AcceptDelegateCall, CallableByContract, CallableByPrecompile)>, PrecompileAt<AddressU64<1024>, Sha3FIPS256, (CallableByContract, CallableByPrecompile)>, PrecompileAt<AddressU64<1025>, Dispatch<Runtime, DispatchFilterValidate<RuntimeCall, WhitelistedCalls>>>, PrecompileAt<AddressU64<1026>, ECRecoverPublicKey, (CallableByContract, CallableByPrecompile)>, PrecompileAt<AddressU64<1027>, Ed25519Verify, (CallableByContract, CallableByPrecompile)>, PrecompileAt<AddressU64<20481>, DappStakingV3Precompile<Runtime>, (CallableByContract, CallableByPrecompile)>, PrecompileAt<AddressU64<20482>, Sr25519Precompile<Runtime>, (CallableByContract, CallableByPrecompile)>, PrecompileAt<AddressU64<20483>, SubstrateEcdsaPrecompile<Runtime>, (CallableByContract, CallableByPrecompile)>, PrecompileAt<AddressU64<20484>, XcmPrecompile<Runtime, AssetLocationIdConverter<u128, Pallet<Runtime>>>, (SubcallWithMaxNesting<1>, CallableByContract, CallableByPrecompile)>, PrecompileAt<AddressU64<20487>, DispatchLockdrop<Runtime, DispatchFilterValidate<RuntimeCall, WhitelistedLockdropCalls>>>)>, PrecompileSetStartingWith<AssetPrefix, Erc20AssetsPrecompileSet<Runtime>, CallableByContract>)>

Precompiles associated with this EVM engine.
§

type PrecompilesValue = PrecompilesValue

§

type ChainId = ChainId

Chain ID of EVM.
§

type OnChargeTransaction = EVMFungibleAdapterWrapper<Pallet<Runtime>, DealWithFees, CollatorRewardPot>

To handle fee deduction for EVM transactions. An example is this pallet being used by pallet_ethereum where the chain implementing pallet_ethereum should be able to configure what happens to the fees Similar to OnChargeTransaction of pallet_transaction_payment
§

type BlockGasLimit = BlockGasLimit

The block gas limit. Can be a simple constant, or an adjustment algorithm in another pallet.
§

type Timestamp = Pallet<Runtime>

Get the timestamp for the current block.
§

type OnCreate = ()

Called on create calls, used to record owner
§

type FindAuthor = FindAuthorTruncated<Pallet<Runtime>>

Find author for the current block.
§

type GasLimitPovSizeRatio = GasLimitPovSizeRatio

Gas limit Pov size ratio.
§

type SuicideQuickClearLimit = ConstU32<0>

Define the quick clear limit of storage clearing when a contract suicides. Set to 0 to disable it.
§

type WeightInfo = SubstrateWeight<Runtime>

Weight information for extrinsics in this pallet.
§

fn config() -> &'static Config

EVM config used in the module.
source§

impl Config for Runtime

§

type RuntimeEvent = RuntimeEvent

The overarching event type.
§

type RuntimeCall = RuntimeCall

The overarching call type.
§

type CollectiveProxy = EitherOfDiverse<EnsureRoot<<<MultiSignature as Verify>::Signer as IdentifyAccount>::AccountId>, EnsureProportionAtLeast<<<MultiSignature as Verify>::Signer as IdentifyAccount>::AccountId, Instance4, 2, 3>>

Origin that can act on behalf of the collective.
§

type ProxyAccountId = CommunityTreasuryAccountId

Account representing the collective treasury.
§

type CallFilter = CommunityCouncilCallFilter

Filter to determine whether a call can be executed or not.
§

type WeightInfo = SubstrateWeight<Runtime>

Weight info
source§

impl Config for Runtime

§

type RuntimeEvent = RuntimeEvent

The overarching event type.
§

type MaxValuesPerBlock = ConstU32<8>

Maximum number of distinct currency values we can store during a single block.
§

type ProcessBlockValues = MedianBlockValue

Used to process accumulated values in the current block.
§

type NativeCurrencyId = NativeCurrencyId

Native currency ID that this pallet is supposed to track.
§

type CircularBufferLength = ConstU32<7>

Maximum length of the circular buffer used to calculate the moving average.
§

type AggregationDuration = AggregationDuration

Duration of aggregation period expressed in the number of blocks. During this time, currency values are aggregated, and are then used to calculate the average value.
§

type WeightInfo = SubstrateWeight<Runtime>

source§

impl Config for Runtime

§

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

The identifier used to distinguish between accounts.

§

type RuntimeCall = RuntimeCall

The aggregated dispatch type that is available for extrinsics.

§

type Lookup = AccountIdLookup<<<MultiSignature as Verify>::Signer as IdentifyAccount>::AccountId, ()>

The lookup mechanism to get account ID from whatever is passed in dispatchers.

§

type Nonce = u32

The nonce type for storing how many extrinsics an account has signed.

§

type Block = Block<Header<u32, BlakeTwo256>, UncheckedExtrinsic<MultiAddress<<<MultiSignature as Verify>::Signer as IdentifyAccount>::AccountId, ()>, RuntimeCall, MultiSignature, (CheckSpecVersion<Runtime>, CheckTxVersion<Runtime>, CheckGenesis<Runtime>, CheckMortality<Runtime>, CheckNonce<Runtime>, CheckWeight<Runtime>, ChargeTransactionPayment<Runtime>, CheckMetadataHash<Runtime>)>>

The type for blocks.

§

type Hash = H256

The type for hashing blocks and tries.

§

type Hashing = BlakeTwo256

The hashing algorithm used.

§

type RuntimeEvent = RuntimeEvent

The ubiquitous event type.

§

type RuntimeOrigin = RuntimeOrigin

The ubiquitous origin type.

§

type RuntimeTask = RuntimeTask

The aggregated RuntimeTask type.

§

type BlockHashCount = BlockHashCount

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

§

type Version = Version

Runtime version.

§

type PalletInfo = PalletInfo

Converts a module to an index of this module in the runtime.

§

type AccountData = AccountData<u128>

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

type OnNewAccount = ()

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

type OnKilledAccount = ()

A function that is invoked when an account has been determined to be dead. Read more
§

type DbWeight = RocksDbWeight

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

type BaseCallFilter = BaseFilter

The basic call filter to use in Origin. All origins are built with this filter as base, except Root. Read more
§

type SystemWeightInfo = SubstrateWeight<Runtime>

§

type BlockWeights = RuntimeBlockWeights

Block & extrinsics weights: base values and limits.
§

type BlockLength = RuntimeBlockLength

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

type SS58Prefix = SS58Prefix

The designated SS58 prefix of this chain. Read more
§

type OnSetCode = ParachainSetCode<Runtime>

What to do if the runtime wants to change the code to something new. Read more
§

type MaxConsumers = ConstU32<16>

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

type SingleBlockMigrations = ()

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

type MultiBlockMigrator = Pallet<Runtime>

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

type PreInherents = ()

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

type PostInherents = ()

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

type PostTransactions = ()

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

impl Config for Runtime

§

type RuntimeEvent = RuntimeEvent

The overarching event type.
§

type RuntimeOrigin = RuntimeOrigin

The aggregated origin which the dispatch will take.
§

type PalletsOrigin = OriginCaller

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

type RuntimeCall = RuntimeCall

The aggregated call type.
§

type MaximumWeight = MaximumSchedulerWeight

The maximum weight that may be scheduled per block for any dispatchables.
§

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

Required origin to schedule or cancel calls.
§

type MaxScheduledPerBlock = ConstU32<32>

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

type WeightInfo = SubstrateWeight<Runtime>

Weight information for extrinsics in this pallet.
§

type OriginPrivilegeCmp = EqualPrivilegeOnly

Compare the privileges of origins. Read more
§

type Preimages = Pallet<Runtime>

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

impl Config for Runtime

§

type Moment = u64

A timestamp: milliseconds since the unix epoch.

§

type OnTimestampSet = ()

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

type MinimumPeriod = MinimumPeriod

The minimum period between blocks. Read more
§

type WeightInfo = SubstrateWeight<Runtime>

Weight information for extrinsics in this pallet.
source§

impl Config for Runtime

§

type WeightInfo = SubstrateWeight<Runtime>

The Weight information for this pallet.
§

type RuntimeEvent = RuntimeEvent

The overarching event type.
§

type Currency = Pallet<Runtime>

Currency type for this pallet.
§

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

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. Read more
source§

impl Config for Runtime

§

type ExternalOrigin = EitherOfDiverse<EnsureRoot<<<MultiSignature as Verify>::Signer as IdentifyAccount>::AccountId>, EnsureProportionAtLeast<<<MultiSignature as Verify>::Signer as IdentifyAccount>::AccountId, Instance2, 2, 3>>

A two third majority of the Council can choose the next external “super majority approve” proposal.

§

type ExternalMajorityOrigin = EitherOfDiverse<EnsureRoot<<<MultiSignature as Verify>::Signer as IdentifyAccount>::AccountId>, EnsureProportionAtLeast<<<MultiSignature as Verify>::Signer as IdentifyAccount>::AccountId, Instance2, 2, 3>>

A two third majority of the Council can choose the next external “majority approve” proposal. Also bypasses blacklist filter.

§

type ExternalDefaultOrigin = EitherOfDiverse<EnsureRoot<<<MultiSignature as Verify>::Signer as IdentifyAccount>::AccountId>, EnsureProportionAtLeast<<<MultiSignature as Verify>::Signer as IdentifyAccount>::AccountId, Instance2, 1, 1>>

Unanimous approval of the Council can choose the next external “super majority against” proposal.

§

type FastTrackOrigin = EitherOfDiverse<EnsureRoot<<<MultiSignature as Verify>::Signer as IdentifyAccount>::AccountId>, EnsureProportionAtLeast<<<MultiSignature as Verify>::Signer as IdentifyAccount>::AccountId, Instance3, 2, 3>>

A two third majority of the Technical Committee can have an external proposal tabled immediately for a fast track vote, and a custom enactment period.

§

type InstantOrigin = EitherOfDiverse<EnsureRoot<<<MultiSignature as Verify>::Signer as IdentifyAccount>::AccountId>, EnsureProportionAtLeast<<<MultiSignature as Verify>::Signer as IdentifyAccount>::AccountId, Instance3, 1, 1>>

Unanimous approval of the Technical Committee can have an external proposal tabled immediately for a completely custom voting period length vote, and a custom enactment period.

§

type CancellationOrigin = EitherOfDiverse<EnsureRoot<<<MultiSignature as Verify>::Signer as IdentifyAccount>::AccountId>, EnsureProportionAtLeast<<<MultiSignature as Verify>::Signer as IdentifyAccount>::AccountId, Instance2, 2, 3>>

A two third majority of the Council can cancel a passed proposal. Can happen only once per unique proposal.

§

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

Only a passed public referendum can permanently blacklist a proposal.

§

type CancelProposalOrigin = EitherOfDiverse<EnsureRoot<<<MultiSignature as Verify>::Signer as IdentifyAccount>::AccountId>, EnsureProportionAtLeast<<<MultiSignature as Verify>::Signer as IdentifyAccount>::AccountId, Instance3, 1, 1>>

An unanimous Technical Committee can cancel a public proposal, slashing the deposit(s).

§

type VetoOrigin = EnsureMember<<<MultiSignature as Verify>::Signer as IdentifyAccount>::AccountId, Instance3>

Any member of the Technical Committee can veto Council’s proposal. This can be only done once per proposal, and veto lasts for a cooloff period.

§

type RuntimeEvent = RuntimeEvent

§

type Currency = Pallet<Runtime>

Currency type for this pallet.
§

type EnactmentPeriod = ConstU32<{ 2 * DAYS }>

The period between a proposal being approved and enacted. Read more
§

type LaunchPeriod = ConstU32<{ 7 * DAYS }>

How often (in blocks) new public referenda are launched.
§

type VotingPeriod = ConstU32<{ 7 * DAYS }>

How often (in blocks) to check for new votes.
§

type VoteLockingPeriod = ConstU32<{ 9 * DAYS }>

The minimum period of vote locking. Read more
§

type MinimumDeposit = ConstU128<{ 1000 * ASTR }>

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

type FastTrackVotingPeriod = ConstU32<{ 2 * HOURS }>

Minimum voting period allowed for a fast-track referendum.
§

type CooloffPeriod = ConstU32<{ 7 * DAYS }>

Period in blocks where an external proposal may not be re-submitted after being vetoed.
§

type MaxVotes = ConstU32<128>

The maximum number of votes for an account. Read more
§

type MaxProposals = ConstU32<128>

The maximum number of public proposals that can exist at any time.
§

type MaxDeposits = ConstU32<128>

The maximum number of deposits a public proposal may have at any time.
§

type MaxBlacklisted = ConstU32<128>

The maximum number of items which can be blacklisted.
§

type InstantAllowed = ConstBool<true>

Indicator for whether an emergency origin is even allowed to happen. Some chains may want to set this permanently to false, others may want to condition it on things such as an upgrade having happened recently.
§

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

Origin from which the new proposal can be made. Read more
§

type PalletsOrigin = OriginCaller

Overarching type of all pallets origins.
§

type Preimages = Pallet<Runtime>

The Preimage provider.
§

type Scheduler = Pallet<Runtime>

The Scheduler.
§

type Slash = Pallet<Runtime, Instance1>

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

type WeightInfo = SubstrateWeight<Runtime>

source§

impl Config for Runtime

§

type RuntimeEvent = RuntimeEvent

The overarching event type.
§

type Currency = Pallet<Runtime>

The currency trait.
§

type BlockNumberToBalance = ConvertInto

Convert the block number into a balance.
§

type MinVestedTransfer = MinVestedTransfer

The minimum amount transferred to call vested_transfer.
§

type WeightInfo = SubstrateWeight<Runtime>

Weight information for extrinsics in this pallet.
§

type UnvestedFundsAllowedWithdrawReasons = UnvestedFundsAllowedWithdrawReasons

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

type BlockNumberProvider = Pallet<Runtime>

Provider for the block number.
source§

const MAX_VESTING_SCHEDULES: u32 = 28u32

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

impl Config for Runtime

§

type RuntimeEvent = RuntimeEvent

§

type AssetId = u128

The Asset Id. This will be used to create the asset and to associate it with a AssetLocation
§

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

The required origin for managing cross-chain asset configuration Read more
§

type WeightInfo = SubstrateWeight<Runtime>

source§

impl Config for Runtime

§

type RuntimeEvent = RuntimeEvent

Overarching event type
§

type DefaultBaseFeePerGas = DefaultBaseFeePerGas

Default base fee per gas value. Used in genesis if no other value specified explicitly.
§

type MinBaseFeePerGas = MinBaseFeePerGas

Minimum value ‘base fee per gas’ can be adjusted to. This is a defensive measure to prevent the fee from being too low.
§

type MaxBaseFeePerGas = MaxBaseFeePerGas

Maximum value ‘base fee per gas’ can be adjusted to. This is a defensive measure to prevent the fee from being too high.
§

type AdjustmentFactor = AdjustmentFactorGetter

Getter for the fee adjustment factor used in ‘base fee per gas’ formula. This is expected to change in-between the blocks (doesn’t have to though).
§

type WeightFactor = WeightFeeFactor

The so-called weight_factor in the ‘base fee per gas’ formula.
§

type StepLimitRatio = StepLimitRatio

Ratio limit on how much the ‘base fee per gas’ can change in-between two blocks. It’s expressed as percentage, and used to calculate the delta between the old and new value. E.g. if the current ‘base fee per gas’ is 100, and the limit is 10%, then the new base fee per gas can be between 90 and 110.
§

type WeightInfo = SubstrateWeight<Runtime>

Weight information for extrinsics & functions of this pallet.
source§

impl Config for Runtime

§

type RuntimeEvent = RuntimeEvent

The overarching event type.
§

type StateRoot = IntermediateStateRoot<Runtime>

How Ethereum state root is calculated.
§

type PostLogContent = PostBlockAndTxnHashes

What’s included in the PostLog.
§

type ExtraDataLength = ConstU32<30>

The maximum length of the extra data in the Executed event.
source§

impl Config for Runtime

§

type RuntimeEvent = RuntimeEvent

§

type OnNewData = Pallet<Runtime>

Hook on new data received
§

type CombineData = DummyCombineData<Runtime>

Provide the implementation to combine raw values to produce aggregated value
§

type Time = Pallet<Runtime>

Time provider
§

type OracleKey = CurrencyId

The data key type
§

type OracleValue = FixedU128

The data value type
§

type RootOperatorAccountId = RootOperatorAccountId

The root operator account id, record all sudo feeds on this account.
§

type Members = Pallet<Runtime, Instance1>

Oracle operators.
§

type MaxHasDispatchedSize = ConstU32<8>

Maximum size of HasDispatched
§

type WeightInfo = SubstrateWeight<Runtime>

Weight information for extrinsics in this module.
§

type MaxFeedValues = ConstU32<1>

Maximum size the vector used for feed values
source§

impl Config for Runtime

§

type Currency = Pallet<Runtime>

§

type PayoutPerBlock = InflationPayoutPerBlock

Handler for ‘per-block’ payouts.
§

type CycleConfiguration = InflationCycleConfig

Cycle (‘year’) configuration - covers periods, subperiods, eras & blocks.
§

type RuntimeEvent = RuntimeEvent

The overarching event type.
§

type WeightInfo = SubstrateWeight<Runtime>

Weight information for extrinsics in this pallet.
source§

impl Config for Runtime

§

type RuntimeEvent = RuntimeEvent

§

type Balance = u128

The balance type.
§

type CurrencyId = u128

Currency Id.
§

type CurrencyIdConvert = AssetIdConvert

Convert T::CurrencyId to Location.
§

type AccountIdToLocation = AccountIdToMultiLocation

Convert T::AccountId to Location.
§

type SelfLocation = AstarLocation

Self chain location.
§

type XcmExecutor = XcmExecutor<XcmConfig>

XCM executor.
§

type Weigher = WeightInfoBounds<XcmWeight<Runtime, RuntimeCall>, RuntimeCall, MaxInstructions>

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

type BaseXcmWeight = UnitWeightCost

Base XCM weight. Read more
§

type UniversalLocation = UniversalLocation

This chain’s Universal Location.
§

type MaxAssetsForTransfer = MaxAssetsForTransfer

The maximum number of distinct assets allowed to be transferred in a single helper extrinsic.
§

type MinXcmFee = DisabledParachainFee

Minimum xcm execution fee paid on destination chain.
§

type LocationsFilter = Everything

Location filter
§

type ReserveProvider = AbsoluteAndRelativeReserveProvider<AstarLocationAbsolute>

The way to retreave the reserve of a Asset. This can be configured to accept absolute or relative paths for self tokens
§

type RateLimiter = ()

The rate limiter used to limit the cross-chain transfer asset.
§

type RateLimiterId = ()

The id of the RateLimiter.
source§

impl Config for Runtime

§

type RuntimeEvent = RuntimeEvent

The overarching event type of the runtime.
§

type Migrations = ()

All the multi-block migrations to run. Read more
§

type CursorMaxLen = ConstU32<65536>

The maximal length of an encoded cursor. Read more
§

type IdentifierMaxLen = ConstU32<256>

The maximal length of an encoded identifier. Read more
§

type MigrationStatusHandler = ()

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

type FailedMigrationHandler = UnfreezeChainOnFailedMigration

Handler for failed migrations.
§

type MaxServiceWeight = MbmServiceWeight

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

type WeightInfo = SubstrateWeight<Runtime>

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

impl Config for Runtime

§

type RuntimeEvent = RuntimeEvent

The overarching event type.
§

type RuntimeCall = RuntimeCall

The overarching call type.
§

type PalletsOrigin = OriginCaller

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

type WeightInfo = SubstrateWeight<Runtime>

Weight information for extrinsics in this pallet.
source§

impl Config for Runtime

§

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

Find the author of a block.
§

type EventHandler = (Pallet<Runtime>,)

An event handler for authored blocks.
source§

impl Config for Runtime

§

type CallFilter = Nothing

The safest default is to allow no calls at all.

Runtimes should whitelist dispatchables that are allowed to be called from contracts and make sure they are stable. Dispatchables exposed to contracts are not allowed to change because that would break already deployed contracts. The Call structure itself is not allowed to change the indices of existing pallets, too.

§

type Time = Pallet<Runtime>

The time implementation used to supply timestamps to contracts through seal_now.
§

type Randomness = DummyDeprecatedRandomness

The generator used to supply randomness to contracts through seal_random. Read more
§

type Currency = Pallet<Runtime>

The fungible in which fees are paid and contract balances are held.
§

type RuntimeEvent = RuntimeEvent

The overarching event type.
§

type RuntimeCall = RuntimeCall

The overarching call type.
§

type RuntimeHoldReason = RuntimeHoldReason

Overarching hold reason.
§

type DepositPerItem = DepositPerItem

The amount of balance a caller has to pay for each storage item. Read more
§

type DepositPerByte = DepositPerByte

The amount of balance a caller has to pay for each byte of storage. Read more
§

type DefaultDepositLimit = DefaultDepositLimit

Fallback value to limit the storage deposit if it’s not being set by the caller.
§

type CallStack = [Frame<Runtime>; 5]

The type of the call stack determines the maximum nesting depth of contract calls. Read more
§

type WeightPrice = Pallet<Runtime>

Used to answer contracts’ queries regarding the current weight price. This is not used to calculate the actual fee and is only for informational purposes.
§

type WeightInfo = SubstrateWeight<Runtime>

Describes the weights of the dispatchables of this module and is also used to construct a default cost schedule.
§

type ChainExtension = AssetsExtension<Runtime>

Type that allows the runtime authors to add new host functions for a contract to call.
§

type Schedule = Schedule

Cost schedule and limits.
§

type AddressGenerator = DefaultAddressGenerator

The address generator used to generate the addresses of contracts.
§

type MaxCodeLen = ConstU32<{ 123 * 1024 }>

The maximum length of a contract code in bytes. Read more
§

type MaxStorageKeyLen = ConstU32<128>

The maximum allowable length in bytes for storage keys.
§

type UnsafeUnstableInterface = ConstBool<false>

Make contract callable functions marked as #[unstable] available. Read more
§

type MaxDebugBufferLen = ConstU32<{ 2 * 1024 * 1024 }>

The maximum length of the debug buffer in bytes.
§

type MaxDelegateDependencies = MaxDelegateDependencies

The maximum number of delegate_dependencies that a contract can lock with [chain_extension::Ext::lock_delegate_dependency].
§

type CodeHashLockupDepositPercent = CodeHashLockupDepositPercent

The percentage of the storage deposit that should be held for using a code hash. Instantiating a contract, or calling [chain_extension::Ext::lock_delegate_dependency] protects the code from being removed. In order to prevent abuse these actions are protected with a percentage of the code deposit.
§

type Debug = ()

§

type Environment = ()

Type that bundles together all the runtime configurable interface types. Read more
§

type Migrations = ()

The sequence of migration steps that will be applied during a migration. Read more
§

type Xcm = ()

A type that exposes XCM APIs, allowing contracts to interact with other parachains, and execute XCM programs.
§

type UploadOrigin = EnsureSigned<<Runtime as Config>::AccountId>

Origin allowed to upload code. Read more
§

type InstantiateOrigin = EnsureSigned<<Runtime as Config>::AccountId>

Origin allowed to instantiate code. Read more
§

type ApiVersion = ()

The version of the HostFn APIs that are available in the runtime. Read more
§

type MaxTransientStorageSize = ConstU32<{ 1 * 1024 * 1024 }>

The maximum size of the transient storage in bytes. This includes keys, values, and previous entries used for storage rollback.
source§

impl Config for Runtime

§

type RuntimeEvent = RuntimeEvent

The overarching event type.
§

type ValidatorId = <Runtime as Config>::AccountId

A stable ID for a validator.
§

type ValidatorIdOf = IdentityCollator

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

type ShouldEndSession = PeriodicSessions<SessionPeriod, SessionOffset>

Indicator for when to end the session.
§

type NextSessionRotation = PeriodicSessions<SessionPeriod, SessionOffset>

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].
§

type SessionManager = Pallet<Runtime>

Handler for managing new session.
§

type SessionHandler = <SessionKeys as OpaqueKeys>::KeyTypeIdProviders

Handler when a session has changed.
§

type Keys = SessionKeys

The keys.
§

type WeightInfo = SubstrateWeight<Runtime>

Weight information for extrinsics in this pallet.
source§

impl Config for Runtime

§

type RuntimeEvent = RuntimeEvent

§

type ChannelInfo = Pallet<Runtime>

Information on the available XCMP channels.
§

type VersionWrapper = Pallet<Runtime>

Means of converting an Xcm into a VersionedXcm.
§

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

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

type MaxInboundSuspended = ConstU32<1000>

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

type MaxActiveOutboundChannels = ConstU32<128>

Maximal number of outbound XCMP channels that can have messages queued at the same time. Read more
§

type MaxPageSize = ConstU32<{ 128 * 1024 }>

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

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

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

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>, Account32Hash<RelayNetwork, <<MultiSignature as Verify>::Signer as IdentifyAccount>::AccountId>), RuntimeOrigin>, RelayChainAsNative<RelayChainOrigin, RuntimeOrigin>, SiblingParachainAsNative<Origin, RuntimeOrigin>, ParentAsSuperuser<RuntimeOrigin>, XcmPassthrough<RuntimeOrigin>, SignedAccountId32AsNative<RelayNetwork, RuntimeOrigin>)

The conversion function used to attempt to convert an XCM Location origin to a superuser origin.
§

type PriceForSiblingDelivery = NoPriceForMessageDelivery<Id>

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

type WeightInfo = SubstrateWeight<Runtime>

The weight information of this pallet.
source§

impl Config for Runtime

source§

const VERSION_DISCOVERY_QUEUE_SIZE: u32 = 100u32

§

type RuntimeEvent = RuntimeEvent

The overarching event type.
§

type SendXcmOrigin = EnsureXcmOrigin<RuntimeOrigin, SignedToAccountId32<RuntimeOrigin, <<MultiSignature as Verify>::Signer as IdentifyAccount>::AccountId, RelayNetwork>>

Required origin for sending XCM messages. If successful, it resolves to Location which exists as an interior location within this chain’s XCM context.
§

type XcmRouter = (ParentAsUmp<Pallet<Runtime>, Pallet<Runtime>, ()>, Pallet<Runtime>)

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

type ExecuteXcmOrigin = EnsureXcmOrigin<RuntimeOrigin, SignedToAccountId32<RuntimeOrigin, <<MultiSignature as Verify>::Signer as IdentifyAccount>::AccountId, RelayNetwork>>

Required origin for executing XCM messages, including the teleport functionality. If successful, then it resolves to Location which exists as an interior location within this chain’s XCM context.
§

type XcmExecuteFilter = Nothing

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

type XcmExecutor = XcmExecutor<XcmConfig>

Something to execute an XCM message.
§

type XcmTeleportFilter = Nothing

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

type XcmReserveTransferFilter = Everything

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

type Weigher = WeightInfoBounds<XcmWeight<Runtime, RuntimeCall>, RuntimeCall, MaxInstructions>

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

type UniversalLocation = UniversalLocation

This chain’s Universal Location.
§

type RuntimeOrigin = RuntimeOrigin

The runtime Origin type.
§

type RuntimeCall = RuntimeCall

The runtime Call type.
§

type AdvertisedXcmVersion = CurrentXcmVersion

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

type Currency = Pallet<Runtime>

A lockable currency.
§

type CurrencyMatcher = ()

The Asset matcher for Currency.
§

type TrustedLockers = ()

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

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>, Account32Hash<RelayNetwork, <<MultiSignature as Verify>::Signer as IdentifyAccount>::AccountId>)

How to get an AccountId value from a Location, useful for handling asset locks.
§

type MaxLockers = ConstU32<0>

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

type WeightInfo = SubstrateWeight<Runtime>

Weight information for extrinsics in this pallet.
§

type MaxRemoteLockConsumers = ConstU32<0>

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

type RemoteLockConsumerIdentifier = ()

The ID type for local consumers of remote locks.
§

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

The origin that is allowed to call privileged operations on the XCM pallet
source§

impl Config for Runtime

§

type RuntimeEvent = RuntimeEvent

The overarching event type.
§

type Currency = Pallet<Runtime>

The currency trait.
§

type BasicDeposit = BasicDeposit

The amount held on deposit for a registered identity.
§

type ByteDeposit = ByteDeposit

The amount held on deposit per encoded byte for a registered identity.
§

type SubAccountDeposit = SubAccountDeposit

The amount held on deposit for a registered subaccount. This should account for the fact that one storage item’s value will increase by the size of an account ID, and there will be another trie item whose value is the size of an account ID plus 32 bytes.
§

type MaxSubAccounts = MaxSubAccounts

The maximum number of sub-accounts allowed per identified account.
§

type IdentityInformation = IdentityInfo<MaxAdditionalFields>

Structure holding information about an identity.
§

type MaxRegistrars = MaxRegistrars

Maximum number of registrars allowed in the system. Needed to bound the complexity of, e.g., updating judgements.
§

type Slashed = ()

What to do with slashed funds.
§

type ForceOrigin = EnsureRoot<<Runtime as Config>::AccountId>

The origin which may forcibly set or remove a name. Root can always do this.
§

type RegistrarOrigin = EnsureRoot<<Runtime as Config>::AccountId>

The origin which may add or remove registrars. Root can always do this.
§

type OffchainSignature = MultiSignature

Signature type for pre-authorizing usernames off-chain. Read more
§

type SigningPublicKey = <MultiSignature as Verify>::Signer

Public key that corresponds to an on-chain Self::AccountId.
§

type UsernameAuthorityOrigin = EnsureRoot<<Runtime as Config>::AccountId>

The origin which may add or remove username authorities. Root can always do this.
§

type PendingUsernameExpiration = ConstU32<{ 7 * DAYS }>

The number of blocks within which a username grant must be accepted.
§

type MaxSuffixLength = ConstU32<7>

The maximum length of a suffix.
§

type MaxUsernameLength = ConstU32<32>

The maximum length of a username, including its suffix and any system-added delimiters.
§

type WeightInfo = SubstrateWeight<Runtime>

Weight information for extrinsics in this pallet.
source§

impl Config for Runtime

§

type RuntimeEvent = RuntimeEvent

The overarching event type.
§

type RuntimeCall = RuntimeCall

A sudo-able call.
§

type WeightInfo = SubstrateWeight<Runtime>

Type representing the weight of this pallet
source§

impl Config for Runtime

§

type RuntimeEvent = RuntimeEvent

Overarching event type.
§

type Currency = Pallet<Runtime>

The currency mechanism.
§

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

Origin that can dictate updating parameters of this pallet.
§

type PotId = PotId

Account Identifier from which the internal Pot is generated.
§

type MaxCandidates = MaxCandidates

Maximum number of candidates that we should have. This is used for benchmarking and is not enforced. Read more
§

type MinCandidates = MinCandidates

Minimum number of candidates that we should have. This is used for disaster recovery. Read more
§

type MaxInvulnerables = MaxInvulnerables

Maximum number of invulnerables. Read more
§

type KickThreshold = KickThreshold

Will be kicked if block is not produced in threshold.
§

type ValidatorId = <Runtime as Config>::AccountId

A stable ID for a validator.
§

type ValidatorIdOf = IdentityCollator

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

type ValidatorRegistration = Pallet<Runtime>

Validate a user is registered
§

type ValidatorSet = Pallet<Runtime>

Something that can give information about the current validator set.
§

type SlashRatio = SlashRatio

How many in perc kicked collators should be slashed (set 0 to disable)
§

type AccountCheck = CollatorSelectionAccountCheck

Used to check whether an account is allowed to be a candidate.
§

type WeightInfo = SubstrateWeight<Runtime>

The weight information of this pallet.
source§

impl Config for Runtime

§

type RuntimeEvent = RuntimeEvent

The overarching event type.
§

type RuntimeCall = RuntimeCall

The overarching call type.
§

type Currency = Pallet<Runtime>

The currency mechanism.
§

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
§

type DepositFactor = DepositFactor

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

type MaxSignatories = ConstU32<100>

The maximum amount of signatories allowed in the multisig.
§

type WeightInfo = SubstrateWeight<Runtime>

Weight information for extrinsics in this pallet.
source§

impl Config for Runtime

§

type RuntimeEvent = RuntimeEvent

The overarching event type.
§

type RuntimeCall = RuntimeCall

The overarching call type.
§

type Currency = Pallet<Runtime>

The currency mechanism.
§

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
§

type ProxyDepositBase = ProxyDepositBase

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

type ProxyDepositFactor = ProxyDepositFactor

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

type MaxProxies = MaxProxies

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

type WeightInfo = SubstrateWeight<Runtime>

Weight information for extrinsics in this pallet.
§

type MaxPending = MaxPending

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

type CallHasher = BlakeTwo256

The type of hash used for hashing the call.
§

type AnnouncementDepositBase = AnnouncementDepositBase

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

type AnnouncementDepositFactor = AnnouncementDepositFactor

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

impl Config for Runtime

§

type RuntimeEvent = RuntimeEvent

The overarching event type.
§

type Balance = u128

The units in which we record balances.
§

type AssetId = u128

Identifier for the class of asset.
§

type Currency = Pallet<Runtime>

The currency mechanism.
§

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

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

type AssetDeposit = AssetDeposit

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

type MetadataDepositBase = MetadataDepositBase

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

type MetadataDepositPerByte = MetadataDepositPerByte

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

type AssetAccountDeposit = AssetAccountDeposit

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

type ApprovalDeposit = ExistentialDeposit

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

type StringLimit = AssetsStringLimit

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

type Freezer = ()

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

type Extra = ()

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

type WeightInfo = SubstrateWeight<Runtime>

Weight information for extrinsics in this pallet.
§

type RemoveItemsLimit = ConstU32<1000>

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

type AssetIdParameter = Compact<u128>

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
§

type CallbackHandle = EvmRevertCodeHandler<Runtime, Runtime>

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

impl Config for Runtime

§

type RuntimeEvent = RuntimeEvent

The overarching event type.
§

type WeightInfo = SubstrateWeight<Runtime>

Weight information for extrinsics in this pallet.
§

type MessageProcessor = ProcessXcmMessage<AggregateMessageOrigin, XcmExecutor<XcmConfig>, RuntimeCall>

Processor for a message. Read more
§

type Size = u32

Page/heap size type.
§

type QueueChangeHandler = NarrowOriginToSibling<Pallet<Runtime>>

Code to be called when a message queue changes - either with items introduced or removed.
§

type QueuePausedQuery = NarrowOriginToSibling<Pallet<Runtime>>

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

type HeapSize = ConstU32<{ 128 * 1048 }>

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

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

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
§

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

§

type RuntimeEvent = RuntimeEvent

The overarching event type.
§

type OnSystemEvent = ()

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

type SelfParaId = Pallet<Runtime>

Returns the parachain ID we are running with.
§

type OutboundXcmpMessageSource = Pallet<Runtime>

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

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

Queues inbound downward messages for delayed processing. Read more
§

type ReservedDmpWeight = ReservedDmpWeight

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

type XcmpMessageHandler = Pallet<Runtime>

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

type ReservedXcmpWeight = ReservedXcmpWeight

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

type CheckAssociatedRelayNumber = RelayNumberStrictlyIncreases

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

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
§

type WeightInfo = SubstrateWeight<Runtime>

Weight info for functions and calls.
source§

impl ContractsApiV2<Block<Header<u32, BlakeTwo256>, UncheckedExtrinsic<MultiAddress<<<MultiSignature as Verify>::Signer as IdentifyAccount>::AccountId, ()>, RuntimeCall, MultiSignature, (CheckSpecVersion<Runtime>, CheckTxVersion<Runtime>, CheckGenesis<Runtime>, CheckMortality<Runtime>, CheckNonce<Runtime>, CheckWeight<Runtime>, ChargeTransactionPayment<Runtime>, CheckMetadataHash<Runtime>)>>, <<MultiSignature as Verify>::Signer as IdentifyAccount>::AccountId, u128, u32, H256, EventRecord<<Runtime as Config>::RuntimeEvent, <Runtime as Config>::Hash>> for Runtime

source§

fn call( origin: AccountId, dest: AccountId, value: Balance, gas_limit: Option<Weight>, storage_deposit_limit: Option<Balance>, input_data: Vec<u8> ) -> ContractExecResult<Balance, EventRecord<<Runtime as Config>::RuntimeEvent, <Runtime as Config>::Hash>>

Perform a call from a specified account to a given contract. Read more
source§

fn instantiate( origin: AccountId, value: Balance, gas_limit: Option<Weight>, storage_deposit_limit: Option<Balance>, code: Code<Hash>, data: Vec<u8>, salt: Vec<u8> ) -> ContractInstantiateResult<AccountId, Balance, EventRecord<<Runtime as Config>::RuntimeEvent, <Runtime as Config>::Hash>>

Instantiate a new contract. Read more
source§

fn upload_code( origin: AccountId, code: Vec<u8>, storage_deposit_limit: Option<Balance>, determinism: Determinism ) -> CodeUploadResult<Hash, Balance>

Upload new code without instantiating a contract from it. Read more
source§

fn get_storage(address: AccountId, key: Vec<u8>) -> GetStorageResult

Query a given storage key in a given contract. Read more
source§

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

source§

fn convert_transaction(transaction: Transaction) -> <Block as BlockT>::Extrinsic

source§

impl CoreV5<Block<Header<u32, BlakeTwo256>, UncheckedExtrinsic<MultiAddress<<<MultiSignature as Verify>::Signer as IdentifyAccount>::AccountId, ()>, RuntimeCall, MultiSignature, (CheckSpecVersion<Runtime>, CheckTxVersion<Runtime>, CheckGenesis<Runtime>, CheckMortality<Runtime>, CheckNonce<Runtime>, CheckWeight<Runtime>, ChargeTransactionPayment<Runtime>, 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 DappStakingApiV2<Block<Header<u32, BlakeTwo256>, UncheckedExtrinsic<MultiAddress<<<MultiSignature as Verify>::Signer as IdentifyAccount>::AccountId, ()>, RuntimeCall, MultiSignature, (CheckSpecVersion<Runtime>, CheckTxVersion<Runtime>, CheckGenesis<Runtime>, CheckMortality<Runtime>, CheckNonce<Runtime>, CheckWeight<Runtime>, ChargeTransactionPayment<Runtime>, CheckMetadataHash<Runtime>)>>> for Runtime

source§

fn periods_per_cycle() -> PeriodNumber

How many periods are there in one cycle.
source§

fn eras_per_voting_subperiod() -> EraNumber

For how many standard era lengths does the voting subperiod last.
source§

fn eras_per_build_and_earn_subperiod() -> EraNumber

How many standard eras are there in the build&earn subperiod.
source§

fn blocks_per_era() -> BlockNumber

How many blocks are there per standard era.
source§

fn get_dapp_tier_assignment() -> BTreeMap<DAppId, RankedTier>

Get dApp ranked tier assignment for the given dApp.
source§

impl Debug for Runtime

source§

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

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

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

source§

fn dry_run_call( origin: OriginCaller, call: RuntimeCall ) -> Result<CallDryRunEffects<RuntimeEvent>, XcmDryRunApiError>

Dry run call.
source§

fn dry_run_xcm( origin_location: VersionedLocation, xcm: VersionedXcm<RuntimeCall> ) -> Result<XcmDryRunEffects<RuntimeEvent>, XcmDryRunApiError>

Dry run XCM program
source§

impl EnsureInherentsAreFirst<<Runtime as Config>::Block> for Runtime

source§

fn ensure_inherents_are_first( block: &<Runtime as Config>::Block ) -> Result<u32, u32>

Ensure the position of inherent is correct, i.e. they are before non-inherents. Read more
source§

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

source§

fn chain_id() -> u64

Returns runtime defined pallet_evm::ChainId.
source§

fn account_basic(address: H160) -> Account

Returns pallet_evm::Accounts by address.
source§

fn gas_price() -> U256

Returns FixedGasPrice::min_gas_price
source§

fn account_code_at(address: H160) -> Vec<u8>

For a given account address, returns pallet_evm::AccountCodes.
source§

fn author() -> H160

Returns the converted FindAuthor::find_author authority id.
source§

fn storage_at(address: H160, index: U256) -> H256

For a given account address and index, returns pallet_evm::AccountStorages.
source§

fn call( from: H160, to: H160, data: Vec<u8>, value: U256, gas_limit: U256, max_fee_per_gas: Option<U256>, max_priority_fee_per_gas: Option<U256>, nonce: Option<U256>, estimate: bool, access_list: Option<Vec<(H160, Vec<H256>)>> ) -> Result<CallInfo, DispatchError>

source§

fn create( from: H160, data: Vec<u8>, value: U256, gas_limit: U256, max_fee_per_gas: Option<U256>, max_priority_fee_per_gas: Option<U256>, nonce: Option<U256>, estimate: bool, access_list: Option<Vec<(H160, Vec<H256>)>> ) -> Result<CreateInfo, DispatchError>

source§

fn current_transaction_statuses() -> Option<Vec<TransactionStatus>>

Return the current transaction status.
source§

fn current_block() -> Option<Block>

Return the current block.
source§

fn current_receipts() -> Option<Vec<Receipt>>

Return the current receipt.
source§

fn current_all( ) -> (Option<Block>, Option<Vec<Receipt>>, Option<Vec<TransactionStatus>>)

source§

fn extrinsic_filter(xts: Vec<<Block as BlockT>::Extrinsic>) -> Vec<Transaction>

Receives a Vec<OpaqueExtrinsic> and filters all the ethereum transactions.
source§

fn elasticity() -> Option<Permill>

Return the elasticity multiplier.
source§

fn gas_limit_multiplier_support()

Used to determine if gas limit multiplier for non-transactional calls (eth_call/estimateGas) is supported.
source§

fn pending_block( xts: Vec<<Block as BlockT>::Extrinsic> ) -> (Option<Block>, Option<Vec<TransactionStatus>>)

Return the pending block.
source§

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

Initialize the pending block. The behavior should be the same as the runtime api Core_initialize_block but for a “pending” block. If your project don’t need to have a different behavior to initialize “pending” blocks, you can copy your Core_initialize_block implementation.
source§

impl GenesisBuilderV1<Block<Header<u32, BlakeTwo256>, UncheckedExtrinsic<MultiAddress<<<MultiSignature as Verify>::Signer as IdentifyAccount>::AccountId, ()>, RuntimeCall, MultiSignature, (CheckSpecVersion<Runtime>, CheckTxVersion<Runtime>, CheckGenesis<Runtime>, CheckMortality<Runtime>, CheckNonce<Runtime>, CheckWeight<Runtime>, ChargeTransactionPayment<Runtime>, 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 GetRuntimeBlockType for Runtime

§

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

This method tests for self and other values to be equal, and is used by ==.
1.0.0 · source§

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

This method tests for !=. The default implementation is almost always sufficient, and should not be overridden without very good reason.
source§

impl RegisteredChainExtension<Runtime> for AssetsExtension<Runtime>

source§

const ID: u16 = 2u16

The extensions globally unique identifier.
source§

impl SessionKeysV1<Block<Header<u32, BlakeTwo256>, UncheckedExtrinsic<MultiAddress<<<MultiSignature as Verify>::Signer as IdentifyAccount>::AccountId, ()>, RuntimeCall, MultiSignature, (CheckSpecVersion<Runtime>, CheckTxVersion<Runtime>, CheckGenesis<Runtime>, CheckMortality<Runtime>, CheckNonce<Runtime>, CheckWeight<Runtime>, ChargeTransactionPayment<Runtime>, 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 TaggedTransactionQueueV3<Block<Header<u32, BlakeTwo256>, UncheckedExtrinsic<MultiAddress<<<MultiSignature as Verify>::Signer as IdentifyAccount>::AccountId, ()>, RuntimeCall, MultiSignature, (CheckSpecVersion<Runtime>, CheckTxVersion<Runtime>, CheckGenesis<Runtime>, CheckMortality<Runtime>, CheckNonce<Runtime>, CheckWeight<Runtime>, ChargeTransactionPayment<Runtime>, 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, (CheckSpecVersion<Runtime>, CheckTxVersion<Runtime>, CheckGenesis<Runtime>, CheckMortality<Runtime>, CheckNonce<Runtime>, CheckWeight<Runtime>, ChargeTransactionPayment<Runtime>, CheckMetadataHash<Runtime>)>>, u128> for Runtime

source§

fn query_info( uxt: <Block as BlockT>::Extrinsic, len: u32 ) -> RuntimeDispatchInfo<Balance>

source§

fn query_fee_details( uxt: <Block as BlockT>::Extrinsic, len: u32 ) -> FeeDetails<Balance>

source§

fn query_weight_to_fee(weight: Weight) -> Balance

source§

fn query_length_to_fee(length: u32) -> Balance

source§

impl TransactionPaymentCallApiV3<Block<Header<u32, BlakeTwo256>, UncheckedExtrinsic<MultiAddress<<<MultiSignature as Verify>::Signer as IdentifyAccount>::AccountId, ()>, RuntimeCall, MultiSignature, (CheckSpecVersion<Runtime>, CheckTxVersion<Runtime>, CheckGenesis<Runtime>, CheckMortality<Runtime>, CheckNonce<Runtime>, CheckWeight<Runtime>, ChargeTransactionPayment<Runtime>, 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 TypeInfo for Runtime

§

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 ValidateUnsigned for Runtime

§

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, (CheckSpecVersion<Runtime>, CheckTxVersion<Runtime>, CheckGenesis<Runtime>, CheckMortality<Runtime>, CheckNonce<Runtime>, CheckWeight<Runtime>, ChargeTransactionPayment<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 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
§

impl<T> CheckedConversion for T

§

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
§

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

Consume self to return Some equivalent value of Option<T>. 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
§

impl<T> Downcast for T
where T: Any,

§

fn into_any(self: Box<T>) -> Box<dyn Any>

Convert Box<dyn Trait> (where Trait: Downcast) to Box<dyn Any>. Box<dyn Any> can then be further downcast into Box<ConcreteType> where ConcreteType implements Trait.
§

fn into_any_rc(self: Rc<T>) -> Rc<dyn Any>

Convert Rc<Trait> (where Trait: Downcast) to Rc<Any>. Rc<Any> can then be further downcast into Rc<ConcreteType> where ConcreteType implements Trait.
§

fn as_any(&self) -> &(dyn Any + 'static)

Convert &Trait (where Trait: Downcast) to &Any. This is needed since Rust cannot generate &Any’s vtable from &Trait’s.
§

fn as_any_mut(&mut self) -> &mut (dyn Any + 'static)

Convert &mut Trait (where Trait: Downcast) to &Any. This is needed since Rust cannot generate &mut Any’s vtable from &mut Trait’s.
§

impl<T> DowncastSync for T
where T: Any + Send + Sync,

§

fn into_any_arc(self: Arc<T>) -> Arc<dyn Any + Send + Sync>

Convert Arc<Trait> (where Trait: Downcast) to Arc<Any>. Arc<Any> can then be further downcast into Arc<ConcreteType> where ConcreteType implements Trait.
source§

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

source§

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

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

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.

§

impl<T, U> Into2<U> for T
where U: From2<T>,

§

fn into2(self) -> U

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
§

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

§

fn into_key(self) -> U

§

impl<T> IsType<T> for T

§

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

Cast reference.
§

fn into_ref(&self) -> &T

Cast reference.
§

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

Cast mutable reference.
§

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

Cast mutable reference.
§

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

§

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

Get a reference to the inner from the outer.

§

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

§

type Output = T

Should always be Self
§

impl<T> SaturatedConversion for T

§

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
§

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

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

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,

§

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

§

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

§

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

impl<T, U> TryInto2<U> for T
where U: TryFrom2<T>,

§

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

§

fn try_into2(self) -> Result<U, <U as TryFrom2<T>>::Error>

§

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

§

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

§

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

§

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

§

fn unchecked_into(self) -> T

The counterpart to unchecked_from.
§

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

§

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> JsonSchemaMaybe for T

§

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

§

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

§

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

§

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