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 AccountIdAssetIdConversion<<<EthereumSignature as Verify>::Signer as IdentifyAccount>::AccountId, u128> for Runtime

source§

fn account_to_asset_id(account: AccountId) -> Option<(Vec<u8>, AssetId)>

The way to convert an account to assetId is by ensuring that the prefix is 0XFFFFFFFF and by taking the lowest 128 bits as the assetId

source§

fn asset_id_to_account(prefix: &[u8], asset_id: AssetId) -> AccountId

source§

impl AccountIdToCurrencyId<<<EthereumSignature as Verify>::Signer as IdentifyAccount>::AccountId, CurrencyId> for Runtime

source§

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

source§

fn account_nonce(account: AccountId) -> Index

Get current account nonce of given AccountId.
source§

impl AssetRegistrar<Runtime> for AssetRegistrar

source§

fn create_foreign_asset( asset: AssetId, min_balance: Balance, metadata: AssetRegistrarMetadata, is_sufficient: bool ) -> DispatchResult

source§

fn destroy_foreign_asset(asset: AssetId) -> DispatchResult

source§

fn destroy_asset_dispatch_info_weight(asset: AssetId) -> Weight

source§

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

source§

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

Collect information about a collation. Read more
source§

impl Config for Runtime

source§

impl Config for Runtime

§

type RuntimeEvent = RuntimeEvent

Overarching event type
§

type MigrationsList = (CommonMigrations<Runtime>, MoonbeamMigrations)

The list of migrations that will be performed
§

type XcmExecutionManager = XcmExecutionManager

Handler to suspend and resume XCM execution
source§

impl Config for Runtime

§

type RuntimeEvent = RuntimeEvent

§

type Balance = u128

The balance type.
§

type Transactor = Transactors

§

type DerivativeAddressRegistrationOrigin = EitherOfDiverse<EnsureRoot<<<EthereumSignature as Verify>::Signer as IdentifyAccount>::AccountId>, GeneralAdmin>

§

type SovereignAccountDispatcherOrigin = EnsureRoot<<<EthereumSignature as Verify>::Signer as IdentifyAccount>::AccountId>

§

type CurrencyId = CurrencyId

Currency Id.
§

type AccountIdToLocation = AccountIdToLocation<<<EthereumSignature as Verify>::Signer as IdentifyAccount>::AccountId>

Convert T::AccountId to Location.
§

type CurrencyIdToLocation = CurrencyIdToLocation<AsAssetType<u128, AssetType, Pallet<Runtime>>>

Convert T::CurrencyId to Location.
§

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

XCM sender.
§

type SelfLocation = SelfLocation

Self chain location.
§

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

The actual weight for an XCM message is T::BaseXcmWeight + T::Weigher::weight(&msg).
§

type AssetTransactor = (FungibleAdapter<Pallet<Runtime>, IsConcrete<SelfReserve>, (ParentIsPreset<<<EthereumSignature as Verify>::Signer as IdentifyAccount>::AccountId>, SiblingParachainConvertsVia<Sibling, <<EthereumSignature as Verify>::Signer as IdentifyAccount>::AccountId>, AccountKey20Aliases<RelayNetwork, <<EthereumSignature as Verify>::Signer as IdentifyAccount>::AccountId>, HashedDescription<<<EthereumSignature as Verify>::Signer as IdentifyAccount>::AccountId, DescribeFamily<(DescribeTerminus, DescribePalletTerminal, DescribeAccountId32Terminal, DescribeAccountKey20Terminal, DescribeTreasuryVoiceTerminal, DescribeBodyTerminal)>>), <<EthereumSignature as Verify>::Signer as IdentifyAccount>::AccountId, ()>, FungiblesAdapter<Pallet<Runtime>, (ConvertedConcreteId<u128, u128, AsAssetType<u128, AssetType, Pallet<Runtime>>, TryConvertInto>,), (ParentIsPreset<<<EthereumSignature as Verify>::Signer as IdentifyAccount>::AccountId>, SiblingParachainConvertsVia<Sibling, <<EthereumSignature as Verify>::Signer as IdentifyAccount>::AccountId>, AccountKey20Aliases<RelayNetwork, <<EthereumSignature as Verify>::Signer as IdentifyAccount>::AccountId>, HashedDescription<<<EthereumSignature as Verify>::Signer as IdentifyAccount>::AccountId, DescribeFamily<(DescribeTerminus, DescribePalletTerminal, DescribeAccountId32Terminal, DescribeAccountKey20Terminal, DescribeTreasuryVoiceTerminal, DescribeBodyTerminal)>>), <<EthereumSignature as Verify>::Signer as IdentifyAccount>::AccountId, NoChecking, ()>, Pallet<Runtime>)

AssetTransactor allows us to withdraw asset without being trapped This should change in xcm v3, which allows us to burn assets
§

type ReserveProvider = AbsoluteAndRelativeReserve<SelfLocationAbsolute>

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

type WeightInfo = WeightInfo<Runtime>

§

type HrmpManipulatorOrigin = EitherOf<EnsureRoot<<<EthereumSignature as Verify>::Signer as IdentifyAccount>::AccountId>, GeneralAdmin>

§

type HrmpOpenOrigin = EitherOf<EnsureRoot<<<EthereumSignature as Verify>::Signer as IdentifyAccount>::AccountId>, FastGeneralAdmin>

§

type MaxHrmpFee = Case<MaxHrmpRelayFee>

The way to filter the max fee to use for HRMP management operations
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<<<EthereumSignature as Verify>::Signer as IdentifyAccount>::AccountId>

Required origin to schedule or cancel calls.
§

type MaxScheduledPerBlock = ConstU32<50>

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

type WeightInfo = WeightInfo<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 RuntimeEvent = RuntimeEvent

The overarching event type.
source§

impl Config for Runtime

§

type WeightInfo = WeightInfo<Runtime>

Weight information for extrinsics in this pallet.
§

type RuntimeEvent = RuntimeEvent

§

type Currency = Pallet<Runtime>

Currency type with which voting happens.
§

type Polls = Pallet<Runtime>

The implementation of the logic which conducts polls.
§

type MaxTurnout = TotalIssuanceOf<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).
§

type MaxVotes = ConstU32<20>

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

type VoteLockingPeriod = VoteLockingPeriod

The minimum period of vote locking. Read more
source§

impl Config for Runtime

§

type FeeCalculator = TransactionPaymentAsGasPrice

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<<<EthereumSignature as Verify>::Signer as IdentifyAccount>::AccountId>

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

type WithdrawOrigin = EnsureAddressNever<<<EthereumSignature as Verify>::Signer as IdentifyAccount>::AccountId>

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

type AddressMapping = IdentityAddressMapping

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<4095>), (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<256>, P256Verify<P256VerifyWeight>, (AcceptDelegateCall, CallableByContract, CallableByPrecompile)>, PrecompileAt<AddressU64<1024>, Sha3FIPS256, (CallableByContract, CallableByPrecompile)>, RemovedPrecompileAt<AddressU64<1025>>, PrecompileAt<AddressU64<1026>, ECRecoverPublicKey, (CallableByContract, CallableByPrecompile)>, PrecompileAt<AddressU64<2048>, ParachainStakingPrecompile<Runtime>, (CallableByContract, CallableByPrecompile)>, PrecompileAt<AddressU64<2049>, CrowdloanRewardsPrecompile<Runtime>, (CallableByContract, CallableByPrecompile)>, PrecompileAt<AddressU64<2050>, Erc20BalancesPrecompile<Runtime, NativeErc20Metadata>, (CallableByContract, CallableByPrecompile)>, RemovedPrecompileAt<AddressU64<2051>>, PrecompileAt<AddressU64<2052>, XtokensPrecompile<Runtime>, (SubcallWithMaxNesting<1>, CallableByContract, CallableByPrecompile)>, PrecompileAt<AddressU64<2053>, RelayEncoderPrecompile<Runtime>, (CallableByContract, CallableByPrecompile)>, PrecompileAt<AddressU64<2054>, XcmTransactorPrecompileV1<Runtime>, (CallableByContract, CallableByPrecompile)>, PrecompileAt<AddressU64<2055>, AuthorMappingPrecompile<Runtime>, (CallableByContract, CallableByPrecompile)>, PrecompileAt<AddressU64<2056>, BatchPrecompile<Runtime>, (SubcallWithMaxNesting<2>, CallableByPrecompile<OnlyFrom<AddressU64<2056>>>)>, PrecompileAt<AddressU64<2057>, RandomnessPrecompile<Runtime>, (SubcallWithMaxNesting<0>, CallableByContract)>, PrecompileAt<AddressU64<2058>, CallPermitPrecompile<Runtime>, (SubcallWithMaxNesting<0>, CallableByContract)>, PrecompileAt<AddressU64<2059>, ProxyPrecompile<Runtime>, (CallableByContract<OnlyIsProxyAndProxy<Runtime>>, SubcallWithMaxNesting<0>, CallableByPrecompile<OnlyFrom<AddressU64<2056>>>)>, PrecompileAt<AddressU64<2060>, XcmUtilsPrecompile<Runtime, XcmExecutorConfig>, CallableByContract<AllExceptXcmExecute<Runtime, XcmExecutorConfig>>>, PrecompileAt<AddressU64<2061>, XcmTransactorPrecompileV2<Runtime>, (CallableByContract, CallableByPrecompile)>, RemovedPrecompileAt<AddressU64<2062>>, RemovedPrecompileAt<AddressU64<2063>>, PrecompileAt<AddressU64<2064>, CollectivePrecompile<Runtime, Instance3>, (CallableByContract, CallableByPrecompile)>, PrecompileAt<AddressU64<2065>, ReferendaPrecompile<Runtime, Origin>, (CallableByContract, CallableByPrecompile)>, PrecompileAt<AddressU64<2066>, ConvictionVotingPrecompile<Runtime>, (CallableByContract, CallableByPrecompile)>, PrecompileAt<AddressU64<2067>, PreimagePrecompile<Runtime>, (CallableByContract, CallableByPrecompile)>, PrecompileAt<AddressU64<2068>, CollectivePrecompile<Runtime, Instance4>, (CallableByContract, CallableByPrecompile)>, PrecompileAt<AddressU64<2069>, PrecompileRegistry<Runtime>, (CallableByContract, CallableByPrecompile)>, PrecompileAt<AddressU64<2070>, GmpPrecompile<Runtime>, SubcallWithMaxNesting<0>>, PrecompileAt<AddressU64<2071>, XcmTransactorPrecompileV3<Runtime>, (CallableByContract, CallableByPrecompile)>, PrecompileAt<AddressU64<2072>, IdentityPrecompile<Runtime, MaxAdditionalFields>, (CallableByContract, CallableByPrecompile)>, PrecompileAt<AddressU64<2073>, RelayDataVerifierPrecompile<Runtime, WeightInfo<Runtime>>, (CallableByContract, CallableByPrecompile)>, PrecompileAt<AddressU64<2074>, PalletXcmPrecompile<Runtime, (SingleAddressMatcher<<<EthereumSignature as Verify>::Signer as IdentifyAccount>::AccountId, ERC20_BALANCES_PRECOMPILE, Pallet<Runtime>>, ForeignAssetMatcher<<<EthereumSignature as Verify>::Signer as IdentifyAccount>::AccountId, u128, Runtime, AsAssetType<u128, AssetType, Pallet<Runtime>>>, Erc20PalletMatcher<<<EthereumSignature as Verify>::Signer as IdentifyAccount>::AccountId, Pallet<Runtime>>)>, (CallableByContract, CallableByPrecompile)>)>, PrecompileSetStartingWith<ForeignAssetPrefix, Erc20AssetsPrecompileSet<Runtime>, (CallableByContract, CallableByPrecompile)>, RemovedPrecompilesAt<DisabledLocalAssets<Runtime>>)>

Precompiles associated with this EVM engine.
§

type PrecompilesValue = PrecompilesValue

§

type ChainId = Pallet<Runtime>

Chain ID of EVM.
§

type OnChargeTransaction = OnChargeEVMTransaction<DealWithFees<Runtime>>

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 FindAuthor = FindAuthorAdapter<Pallet<Runtime>>

Find author for the current block.
§

type OnCreate = ()

Called on create calls, used to record owner
§

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

Gas limit storage growth ratio.
§

type Timestamp = RelayTimestamp

Get the timestamp for the current block.
§

type WeightInfo = WeightInfo<Runtime>

Weight information for extrinsics in this pallet.
§

fn config() -> &'static Config

EVM config used in the module.
source§

impl Config for Runtime

§

type WeightInfo = WeightInfo<Runtime>

source§

impl Config for Runtime

§

type RuntimeEvent = RuntimeEvent

The overarching event type.
§

type Currency = Pallet<Runtime>

The currency trait.
§

type BasicDeposit = ConstU128<{ currency::deposit(1, 258) }>

The amount held on deposit for a registered identity.
§

type ByteDeposit = ConstU128<{ currency::deposit(0, 1) }>

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

type SubAccountDeposit = ConstU128<{ currency::deposit(1, 53) }>

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

What to do with slashed funds.
§

type ForceOrigin = EitherOfDiverse<EnsureRoot<<<EthereumSignature as Verify>::Signer as IdentifyAccount>::AccountId>, GeneralAdmin>

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

type RegistrarOrigin = EitherOfDiverse<EnsureRoot<<<EthereumSignature as Verify>::Signer as IdentifyAccount>::AccountId>, GeneralAdmin>

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

type OffchainSignature = EthereumSignature

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

type SigningPublicKey = <EthereumSignature as Verify>::Signer

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

type UsernameAuthorityOrigin = EnsureRoot<<<EthereumSignature as Verify>::Signer as IdentifyAccount>::AccountId>

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

type PendingUsernameExpiration = PendingUsernameExpiration

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

type MaxSuffixLength = MaxSuffixLength

The maximum length of a suffix.
§

type MaxUsernameLength = MaxUsernameLength

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

type WeightInfo = WeightInfo<Runtime>

Weight information for extrinsics in this pallet.
source§

impl Config for Runtime

§

type AccountIdToH160 = AccountIdToH160

§

type AssetIdFilter = EvmForeignAssetIdFilter

A filter to forbid some AssetId values, if you don’t use it, put “Everything”
§

type EvmRunner = EvmRunnerPrecompileOrEthXcm<MoonbeamCall, Runtime>

EVM runner
§

type ForeignAssetCreatorOrigin = EitherOfDiverse<EnsureRoot<<<EthereumSignature as Verify>::Signer as IdentifyAccount>::AccountId>, EitherOfDiverse<EnsureProportionMoreThan<<<EthereumSignature as Verify>::Signer as IdentifyAccount>::AccountId, Instance4, 5, 9>, FastGeneralAdmin>>

Origin that is allowed to create a new foreign assets
§

type ForeignAssetFreezerOrigin = EitherOfDiverse<EnsureRoot<<<EthereumSignature as Verify>::Signer as IdentifyAccount>::AccountId>, EitherOfDiverse<EnsureProportionMoreThan<<<EthereumSignature as Verify>::Signer as IdentifyAccount>::AccountId, Instance4, 5, 9>, FastGeneralAdmin>>

Origin that is allowed to freeze all tokens of a foreign asset
§

type ForeignAssetModifierOrigin = EitherOfDiverse<EnsureRoot<<<EthereumSignature as Verify>::Signer as IdentifyAccount>::AccountId>, EitherOfDiverse<EnsureProportionMoreThan<<<EthereumSignature as Verify>::Signer as IdentifyAccount>::AccountId, Instance4, 5, 9>, FastGeneralAdmin>>

Origin that is allowed to modify asset information for foreign assets
§

type ForeignAssetUnfreezerOrigin = EitherOfDiverse<EnsureRoot<<<EthereumSignature as Verify>::Signer as IdentifyAccount>::AccountId>, EitherOfDiverse<EnsureProportionMoreThan<<<EthereumSignature as Verify>::Signer as IdentifyAccount>::AccountId, Instance4, 5, 9>, FastGeneralAdmin>>

Origin that is allowed to unfreeze all tokens of a foreign asset that was previously frozen
§

type OnForeignAssetCreated = ()

Hook to be called when new foreign asset is registered.
§

type MaxForeignAssets = ConstU32<256>

Maximum nulmbers of differnt foreign assets
§

type RuntimeEvent = RuntimeEvent

The overarching event type.
§

type WeightInfo = WeightInfo<Runtime>

Weight information for extrinsics in this pallet.
§

type XcmLocationToH160 = LocationToH160

source§

impl Config for Runtime

§

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

The origin which may update a parameter. Read more
§

type RuntimeEvent = RuntimeEvent

The overarching event type.
§

type RuntimeParameters = RuntimeParameters

The overarching KV type of the parameters. Read more
§

type WeightInfo = WeightInfo<Runtime>

Weight information for extrinsics in this module.
source§

impl Config for Runtime

§

type RuntimeEvent = RuntimeEvent

§

type Balance = u128

The units in which we record balances.
§

type AssetId = u128

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

type AssetRegistrarMetadata = AssetRegistrarMetadata

The Asset Metadata we want to store
§

type ForeignAssetType = AssetType

The Foreign Asset Kind.
§

type AssetRegistrar = AssetRegistrar

The asset Registrar. The trait we use to register Assets
§

type ForeignAssetModifierOrigin = EitherOfDiverse<EnsureRoot<<<EthereumSignature as Verify>::Signer as IdentifyAccount>::AccountId>, EitherOfDiverse<EnsureProportionMoreThan<<<EthereumSignature as Verify>::Signer as IdentifyAccount>::AccountId, Instance4, 5, 9>, GeneralAdmin>>

Origin that is allowed to create and modify asset information for foreign assets
§

type WeightInfo = WeightInfo<Runtime>

source§

impl Config for Runtime

§

type RuntimeEvent = RuntimeEvent

The overarching event type.
§

type SendXcmOrigin = EnsureXcmOrigin<RuntimeOrigin, SignedToAccountId20<RuntimeOrigin, <<EthereumSignature 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, SignedToAccountId20<RuntimeOrigin, <<EthereumSignature 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 = XcmExecutorWrapper<XcmExecutorConfig, XcmExecutor<XcmExecutorConfig>>

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

const VERSION_DISCOVERY_QUEUE_SIZE: u32 = 100u32

§

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<<<EthereumSignature as Verify>::Signer as IdentifyAccount>::AccountId>, SiblingParachainConvertsVia<Sibling, <<EthereumSignature as Verify>::Signer as IdentifyAccount>::AccountId>, AccountKey20Aliases<RelayNetwork, <<EthereumSignature as Verify>::Signer as IdentifyAccount>::AccountId>, HashedDescription<<<EthereumSignature as Verify>::Signer as IdentifyAccount>::AccountId, DescribeFamily<(DescribeTerminus, DescribePalletTerminal, DescribeAccountId32Terminal, DescribeAccountKey20Terminal, DescribeTreasuryVoiceTerminal, DescribeBodyTerminal)>>)

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

type MaxLockers = ConstU32<8>

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

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 WeightInfo = WeightInfo<Runtime>

Weight information for extrinsics in this pallet.
§

type AdminOrigin = EnsureRoot<<<EthereumSignature 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 MinBlocksPerRound = ConstU32<10>

Minimum round length is 2 minutes (10 * 12 second block times)

§

type MaxOfflineRounds = ConstU32<1>

If a collator doesn’t produce any block on this number of rounds, it is notified as inactive

§

type LeaveCandidatesDelay = ConstU32<{ 4 * 7 }>

Rounds before the collator leaving the candidates request can be executed

§

type CandidateBondLessDelay = ConstU32<{ 4 * 7 }>

Rounds before the candidate bond increase/decrease can be executed

§

type LeaveDelegatorsDelay = ConstU32<{ 4 * 7 }>

Rounds before the delegator exit can be executed

§

type RevokeDelegationDelay = ConstU32<{ 4 * 7 }>

Rounds before the delegator revocation can be executed

§

type DelegationBondLessDelay = ConstU32<{ 4 * 7 }>

Rounds before the delegator bond increase/decrease can be executed

§

type RewardPaymentDelay = ConstU32<2>

Rounds before the reward is paid

§

type MinSelectedCandidates = ConstU32<8>

Minimum collators selected per round, default at genesis and minimum forever after

§

type MaxTopDelegationsPerCandidate = ConstU32<300>

Maximum top delegations per candidate

§

type MaxBottomDelegationsPerCandidate = ConstU32<50>

Maximum bottom delegations per candidate

§

type MaxDelegationsPerDelegator = ConstU32<100>

Maximum delegations per delegator

§

type MinCandidateStk = ConstU128<{ 20_000 * currency::GLMR * currency::SUPPLY_FACTOR }>

Minimum stake required to be reserved to be a candidate

§

type MinDelegation = ConstU128<{ 500 * currency::MILLIGLMR * currency::SUPPLY_FACTOR }>

Minimum stake required to be reserved to be a delegator

§

type RuntimeEvent = RuntimeEvent

Overarching event type
§

type Currency = Pallet<Runtime>

The currency type
§

type MonetaryGovernanceOrigin = EitherOfDiverse<EnsureRoot<<<EthereumSignature as Verify>::Signer as IdentifyAccount>::AccountId>, GeneralAdmin>

The origin for monetary governance
§

type BlockAuthor = Pallet<Runtime>

Get the current block author
§

type OnCollatorPayout = ()

Handler to notify the runtime when a collator is paid. If you don’t need it, you can specify the type ().
§

type PayoutCollatorReward = PayoutCollatorOrOrbiterReward

Handler to distribute a collator’s reward. To use the default implementation of minting rewards, specify the type ().
§

type OnInactiveCollator = OnInactiveCollator

Handler to notify the runtime when a collator is inactive. The default behavior is to mark the collator as offline. If you need to use the default implementation, specify the type ().
§

type OnNewRound = OnNewRound

Handler to notify the runtime when a new round begin. If you don’t need it, you can specify the type ().
§

type SlotProvider = RelayChainSlotProvider

Get the current slot number
§

type WeightInfo = WeightInfo<Runtime>

Weight information for extrinsics in this pallet.
§

type MaxCandidates = ConstU32<200>

Maximum candidates
§

type SlotDuration = ConstU64<6000>

Get the slot duration in milliseconds
§

type BlockTime = ConstU64<6000>

Get the average time beetween 2 blocks in milliseconds
source§

impl Config for Runtime

§

type WeightInfo = WeightInfo<Runtime>

Weight information for extrinsics in this pallet.
§

type RuntimeCall = RuntimeCall

§

type RuntimeEvent = RuntimeEvent

§

type Scheduler = Pallet<Runtime>

The Scheduler.
§

type Currency = Pallet<Runtime>

Currency type for this pallet.
§

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

Origin from which proposals may be submitted.
§

type CancelOrigin = EitherOf<EnsureRoot<<Runtime as Config>::AccountId>, ReferendumCanceller>

Origin from which any vote may be cancelled.
§

type KillOrigin = EitherOf<EnsureRoot<<Runtime as Config>::AccountId>, ReferendumKiller>

Origin from which any vote may be killed.
§

type Slash = Pallet<Runtime>

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

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

The counting type for votes. Usually just balance.
§

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

The tallying type.
§

type SubmissionDeposit = SubmissionDeposit

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

type MaxQueued = ConstU32<100>

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

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

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

type Tracks = TracksInfo

Information concerning the different referendum tracks.
§

type Preimages = Pallet<Runtime>

The preimage provider.
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 = ConstU64<3000>

The minimum period between blocks. Read more
§

type WeightInfo = WeightInfo<Runtime>

Weight information for extrinsics in 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 AccountIdToLocation = AccountIdToLocation<<<EthereumSignature as Verify>::Signer as IdentifyAccount>::AccountId>

Convert T::AccountId to Location.
§

type AddSupportedAssetOrigin = EitherOfDiverse<EnsureRoot<<<EthereumSignature as Verify>::Signer as IdentifyAccount>::AccountId>, EitherOfDiverse<EnsureProportionMoreThan<<<EthereumSignature as Verify>::Signer as IdentifyAccount>::AccountId, Instance4, 5, 9>, GeneralAdmin>>

Origin that is allowed to register a supported asset
§

type AssetLocationFilter = AssetFeesFilter

A filter to forbid some XCM Location to be supported for fees. if you don’t use it, put “Everything”.
§

type AssetTransactor = (FungibleAdapter<Pallet<Runtime>, IsConcrete<SelfReserve>, (ParentIsPreset<<<EthereumSignature as Verify>::Signer as IdentifyAccount>::AccountId>, SiblingParachainConvertsVia<Sibling, <<EthereumSignature as Verify>::Signer as IdentifyAccount>::AccountId>, AccountKey20Aliases<RelayNetwork, <<EthereumSignature as Verify>::Signer as IdentifyAccount>::AccountId>, HashedDescription<<<EthereumSignature as Verify>::Signer as IdentifyAccount>::AccountId, DescribeFamily<(DescribeTerminus, DescribePalletTerminal, DescribeAccountId32Terminal, DescribeAccountKey20Terminal, DescribeTreasuryVoiceTerminal, DescribeBodyTerminal)>>), <<EthereumSignature as Verify>::Signer as IdentifyAccount>::AccountId, ()>, FungiblesAdapter<Pallet<Runtime>, (ConvertedConcreteId<u128, u128, AsAssetType<u128, AssetType, Pallet<Runtime>>, TryConvertInto>,), (ParentIsPreset<<<EthereumSignature as Verify>::Signer as IdentifyAccount>::AccountId>, SiblingParachainConvertsVia<Sibling, <<EthereumSignature as Verify>::Signer as IdentifyAccount>::AccountId>, AccountKey20Aliases<RelayNetwork, <<EthereumSignature as Verify>::Signer as IdentifyAccount>::AccountId>, HashedDescription<<<EthereumSignature as Verify>::Signer as IdentifyAccount>::AccountId, DescribeFamily<(DescribeTerminus, DescribePalletTerminal, DescribeAccountId32Terminal, DescribeAccountKey20Terminal, DescribeTreasuryVoiceTerminal, DescribeBodyTerminal)>>), <<EthereumSignature as Verify>::Signer as IdentifyAccount>::AccountId, NoChecking, ()>, Pallet<Runtime>)

How to withdraw and deposit an asset.
§

type Balance = u128

The native balance type.
§

type EditSupportedAssetOrigin = EitherOfDiverse<EnsureRoot<<<EthereumSignature as Verify>::Signer as IdentifyAccount>::AccountId>, EitherOfDiverse<EnsureProportionMoreThan<<<EthereumSignature as Verify>::Signer as IdentifyAccount>::AccountId, Instance4, 5, 9>, FastGeneralAdmin>>

Origin that is allowed to edit a supported asset units per seconds
§

type NativeLocation = SelfReserve

XCM Location for native curreny
§

type PauseSupportedAssetOrigin = EitherOfDiverse<EnsureRoot<<<EthereumSignature as Verify>::Signer as IdentifyAccount>::AccountId>, EitherOfDiverse<EnsureProportionMoreThan<<<EthereumSignature as Verify>::Signer as IdentifyAccount>::AccountId, Instance4, 5, 9>, FastGeneralAdmin>>

Origin that is allowed to pause a supported asset
§

type RemoveSupportedAssetOrigin = EitherOfDiverse<EnsureRoot<<<EthereumSignature as Verify>::Signer as IdentifyAccount>::AccountId>, EnsureProportionMoreThan<<<EthereumSignature as Verify>::Signer as IdentifyAccount>::AccountId, Instance4, 5, 9>>

Origin that is allowed to remove a supported asset
§

type RuntimeEvent = RuntimeEvent

The overarching event type.
§

type ResumeSupportedAssetOrigin = EitherOfDiverse<EnsureRoot<<<EthereumSignature as Verify>::Signer as IdentifyAccount>::AccountId>, EnsureProportionMoreThan<<<EthereumSignature as Verify>::Signer as IdentifyAccount>::AccountId, Instance4, 5, 9>>

Origin that is allowed to unpause a supported asset
§

type WeightInfo = WeightInfo<Runtime>

Weight information for extrinsics in this pallet.
§

type WeightToFee = <Runtime as Config>::WeightToFee

Convert a weight value into deductible native balance.
§

type XcmFeesAccount = XcmFeesAccount

Account that will receive xcm fees
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 ReservedDmpWeight = ReservedDmpWeight

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

type OutboundXcmpMessageSource = Pallet<Runtime>

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

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

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

type ConsensusHook = ConsensusHookWrapperForRelayTimestamp<Runtime, FixedVelocityConsensusHook<Runtime, 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 DmpQueue = EnqueueWithOrigin<Pallet<Runtime>, RelayOrigin>

Queues inbound downward messages for delayed processing. Read more
§

type WeightInfo = WeightInfo<Runtime>

Weight info for functions and calls.
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 = WeightInfo<Runtime>

Weight information for extrinsics in this pallet.
source§

impl Config for Runtime

§

type WeightInfo = WeightInfo<Runtime>

The weight information for this pallet.
§

type RuntimeEvent = RuntimeEvent

The overarching event type.
§

type RuntimeCall = RuntimeCall

The overarching call type.
§

type WhitelistOrigin = EitherOf<EnsureRootWithSuccess<<Runtime as Config>::AccountId, ConstU16<u16::MAX>>, MapSuccess<EnsureProportionAtLeast<<Runtime as Config>::AccountId, Instance4, 5, 9>, Replace<ConstU16<6>>>>

Required origin for whitelisting a call.
§

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

Required origin for dispatching whitelisted call with root origin.
§

type Preimages = Pallet<Runtime>

The handler of pre-images.
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 ForceOrigin = EitherOfDiverse<EnsureRoot<<<EthereumSignature as Verify>::Signer as IdentifyAccount>::AccountId>, GeneralAdmin>

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

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 AssetAccountDeposit = ConstU128<{ currency::deposit(1, 18) }>

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

type WeightInfo = WeightInfo<Runtime>

Weight information for extrinsics in this pallet.
§

type RemoveItemsLimit = ConstU32<{ REMOVE_ITEMS_LIMIT }>

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 CreateOrigin = AsEnsureOriginWithArg<EnsureNever<<<EthereumSignature 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 CallbackHandle = ()

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

impl Config for Runtime

§

type MaxStorageRoots = ConstU32<30>

Limit the number of relay storage roots that will be stored. This limit applies to the number of items, not to their age. Decreasing the value of MaxStorageRoots is a breaking change and needs a migration to clean the RelayStorageRoots mapping.
§

type RelaychainStateProvider = RelaychainDataProvider<Runtime>

§

type WeightInfo = WeightInfo<Runtime>

Weight info
source§

impl Config for Runtime

§

type Balance = u128

The type for recording an account’s balance.

§

type RuntimeEvent = RuntimeEvent

The ubiquitous event type.

§

type MaxReserves = ConstU32<50>

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

type ReserveIdentifier = [u8; 4]

The ID type for reserves. Read more
§

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
§

type DustRemoval = ()

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

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

The ID type for freezes.
§

type MaxFreezes = ConstU32<0>

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

type RuntimeHoldReason = RuntimeHoldReason

The overarching hold reason.
§

type RuntimeFreezeReason = RuntimeFreezeReason

The overarching freeze reason.
§

type WeightInfo = WeightInfo<Runtime>

Weight information for extrinsics in this pallet.
source§

impl Config for Runtime

§

type RuntimeEvent = RuntimeEvent

The overarching event type.
§

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

type OperationalFeeMultiplier = ConstU8<5>

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

type WeightToFee = ConstantMultiplier<u128, ConstU128<{ currency::WEIGHT_FEE }>>

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

type LengthToFee = LengthToFee

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

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

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

impl Config for Runtime

§

type RuntimeEvent = RuntimeEvent

The overarching event type.
§

type InvalidEvmTransactionError = InvalidTransactionWrapper

Invalid transaction error
§

type ValidatedTransaction = ValidatedTransaction<Runtime>

Handler for applying an already validated transaction
§

type XcmEthereumOrigin = EnsureXcmEthereumTransaction

Origin for xcm transact
§

type ReservedXcmpWeight = ReservedXcmpWeight

Maximum Weight reserved for xcm in a block
§

type EnsureProxy = EthereumXcmEnsureProxy

Ensure proxy
§

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

The origin that is allowed to resume or suspend the XCM to Ethereum executions.
§

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

An origin that can submit a create tx type
source§

impl Config for Runtime

§

type RuntimeEvent = RuntimeEvent

The overarching event type
§

type RandomnessSource = Pallet<Runtime>

Deterministic on-chain pseudo-randomness used to do the filtering
§

type PotentialAuthors = Pallet<Runtime>

A source for the complete set of potential authors. The starting point of the filtering.
§

type WeightInfo = WeightInfo<Runtime>

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

The maximum amount of signatories allowed in the multisig.
§

type WeightInfo = WeightInfo<Runtime>

Weight information for extrinsics in this pallet.
source§

impl Config for Runtime

§

type WeightInfo = WeightInfo<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<<<EthereumSignature 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<<<EthereumSignature 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 RuntimeEvent = RuntimeEvent

Overarching event type
§

type NormalCallFilter = NormalFilter

The base call filter to be used in normal operating mode (When we aren’t in the middle of a migration)
§

type MaintenanceCallFilter = MaintenanceFilter

The base call filter to be used when we are in the middle of migrations This should be very restrictive. Probably not allowing anything except possibly something like sudo or other emergency processes
§

type MaintenanceOrigin = EnsureProportionAtLeast<<<EthereumSignature as Verify>::Signer as IdentifyAccount>::AccountId, Instance4, 5, 9>

The origin from which the call to enter or exit maintenance mode must come Take care when choosing your maintenance call filter to ensure that you’ll still be able to return to normal mode. For example, if your MaintenanceOrigin is a council, make sure that your councilors can still cast votes.
§

type XcmExecutionManager = XcmExecutionManager

Handler to suspend and resume XCM execution
source§

impl Config for Runtime

§

type AccountId = <<EthereumSignature 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 = IdentityLookup<<<EthereumSignature as Verify>::Signer as IdentifyAccount>::AccountId>

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

§

type Nonce = u32

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

§

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

The index 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 = ConstU32<256>

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

§

type BlockWeights = RuntimeBlockWeights

Maximum weight of each block. With a default weight system of 1byte == 1weight, 4mb is ok.

§

type BlockLength = BlockLength

Maximum size of all encoded transactions (in bytes) that are allowed in one block.

§

type Version = Version

Runtime version.

§

type SS58Prefix = ConstU16<1284>

This is used as an identifier of the chain. 42 is the generic substrate prefix.

§

type PalletInfo = PalletInfo

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

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

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

type SystemWeightInfo = ()

§

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

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

source§

impl Config for Runtime

§

type RuntimeEvent = RuntimeEvent

Overarching event type
§

type CheckAssociatedRelayNumber = RelayNumberMonotonicallyIncreases

Used before check associated relay block number. It should be what would be passed to cumulus_pallet_parachain_system if this pallet was not being used.
§

type QueuePausedQuery = (Pallet<Runtime>, NarrowOriginToSibling<Pallet<Runtime>>)

Used to check wether message queue is paused when XcmMode is Normal. It should be what would be passed to pallet_message_queue if this pallet was not being used.
§

type PausedThreshold = ConstU32<300>

Maximum number of relay block to skip before trigering the Paused mode.
§

type FastAuthorizeUpgradeOrigin = EitherOfDiverse<EnsureRoot<<<EthereumSignature as Verify>::Signer as IdentifyAccount>::AccountId>, EnsureProportionAtLeast<<<EthereumSignature as Verify>::Signer as IdentifyAccount>::AccountId, Instance4, 5, 9>>

Origin allowed to perform a fast authorize upgrade when XcmMode is not normal
§

type PausedToNormalOrigin = EitherOfDiverse<EnsureRoot<<<EthereumSignature as Verify>::Signer as IdentifyAccount>::AccountId>, EnsureProportionAtLeast<<<EthereumSignature as Verify>::Signer as IdentifyAccount>::AccountId, Instance4, 5, 9>>

origin allowed to resume to normal operations from paused mode
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 ControllerOrigin = EnsureRoot<<<EthereumSignature as Verify>::Signer as IdentifyAccount>::AccountId>

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

type ControllerOriginConverter = (SovereignSignedViaLocation<(ParentIsPreset<<<EthereumSignature as Verify>::Signer as IdentifyAccount>::AccountId>, SiblingParachainConvertsVia<Sibling, <<EthereumSignature as Verify>::Signer as IdentifyAccount>::AccountId>, AccountKey20Aliases<RelayNetwork, <<EthereumSignature as Verify>::Signer as IdentifyAccount>::AccountId>, HashedDescription<<<EthereumSignature as Verify>::Signer as IdentifyAccount>::AccountId, DescribeFamily<(DescribeTerminus, DescribePalletTerminal, DescribeAccountId32Terminal, DescribeAccountKey20Terminal, DescribeTreasuryVoiceTerminal, DescribeBodyTerminal)>>), RuntimeOrigin>, RelayChainAsNative<RelayChainOrigin, RuntimeOrigin>, SiblingParachainAsNative<Origin, RuntimeOrigin>, XcmPassthrough<RuntimeOrigin>, SignedAccountKey20AsNative<RelayNetwork, RuntimeOrigin>)

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

type WeightInfo = WeightInfo<Runtime>

The weight information of this pallet.
§

type PriceForSiblingDelivery = NoPriceForMessageDelivery<Id>

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

type MaxActiveOutboundChannels = ConstU32<128>

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

type MaxPageSize = MessageQueueHeapSize

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

impl Config for Runtime

§

type ProxyType = ProxyType

This MUST be the same as in pallet_proxy or it won’t compile
source§

impl Config for Runtime

§

type PalletId = TreasuryId

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

type Currency = Pallet<Runtime>

The staking balance.
§

type RejectOrigin = EitherOfDiverse<EnsureRoot<<<EthereumSignature as Verify>::Signer as IdentifyAccount>::AccountId>, EnsureProportionMoreThan<<<EthereumSignature as Verify>::Signer as IdentifyAccount>::AccountId, Instance3, 1, 2>>

Origin from which rejections must come.
§

type RuntimeEvent = RuntimeEvent

The overarching event type.
§

type SpendPeriod = ConstU32<{ 6 * 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 MaxApprovals = ConstU32<100>

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

type WeightInfo = WeightInfo<Runtime>

Weight information for extrinsics in this pallet.
§

type SpendFunds = ()

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

type SpendOrigin = NeverEnsureOrigin<u128>

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

type AssetKind = ()

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

type Beneficiary = <<EthereumSignature as Verify>::Signer as IdentifyAccount>::AccountId

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

type BeneficiaryLookup = IdentityLookup<<<EthereumSignature as Verify>::Signer as IdentifyAccount>::AccountId>

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

type Paymaster = PayFromAccount<Pallet<Runtime>, TreasuryAccount>

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

type BalanceConverter = UnityAssetBalanceConversion

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

type PayoutPeriod = ConstU32<{ 30 * DAYS }>

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

impl Config for Runtime

§

type RuntimeEvent = RuntimeEvent

The overarching event type.
§

type MessageProcessor = MessageProcessorWrapper<ProcessXcmMessage<AggregateMessageOrigin, XcmExecutorWrapper<XcmExecutorConfig, XcmExecutor<XcmExecutorConfig>>, RuntimeCall>>

Processor for a message. Read more
§

type Size = u32

Page/heap size type.
§

type HeapSize = MessageQueueHeapSize

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

type MaxStale = MessageQueueMaxStale

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 QueueChangeHandler = NarrowOriginToSibling<Pallet<Runtime>>

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

type QueuePausedQuery = Pallet<Runtime>

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

type WeightInfo = WeightInfo<Runtime>

Weight information for extrinsics in this pallet.
§

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 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 = ConstU128<{ currency::deposit(1, 8) }>

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

type ProxyDepositFactor = ConstU128<{ currency::deposit(0, 21) }>

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

type MaxProxies = ConstU32<32>

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

type WeightInfo = WeightInfo<Runtime>

Weight information for extrinsics in this pallet.
§

type MaxPending = ConstU32<32>

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 = ConstU128<{ currency::deposit(1, 8) }>

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

type AnnouncementDepositFactor = ConstU128<{ currency::deposit(0, 56) }>

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

impl Config for Runtime

§

type WeightInfo = WeightInfo<Runtime>

source§

impl Config for Runtime

§

type RuntimeEvent = RuntimeEvent

Overarching event type
§

type DepositCurrency = Pallet<Runtime>

Currency in which the security deposit will be taken.
§

type DepositAmount = ConstU128<{ 100 * currency::GLMR * currency::SUPPLY_FACTOR }>

The amount that should be taken as a security deposit when registering a NimbusId.
§

type Keys = Public

Additional keys Convertible From to get default keys for each mapping (for the migration)
§

type WeightInfo = WeightInfo<Runtime>

Weight information for extrinsics in this pallet.
source§

impl Config for Runtime

§

type RuntimeEvent = RuntimeEvent

Overarching event type
§

type AddressMapping = ConvertInto

Address mapping to convert from H160 to AccountId
§

type Currency = Pallet<Runtime>

Currency in which the security deposit will be taken.
§

type BabeDataGetter = BabeDataGetter<Runtime>

Get the BABE data from the runtime
§

type VrfKeyLookup = Pallet<Runtime>

Takes NimbusId to return VrfId
§

type Deposit = PalletRandomnessDepositU128

The amount that should be taken as a security deposit when requesting randomness.
§

type MaxRandomWords = ConstU8<100>

Maximum number of random words that can be requested per request
§

type MinBlockDelay = ConstU32<2>

Local per-block VRF requests must be at least this many blocks after the block in which they were requested
§

type MaxBlockDelay = ConstU32<2000>

Local per-block VRF requests must be at most this many blocks after the block in which they were requested
§

type BlockExpirationDelay = ConstU32<10000>

Local requests expire and can be purged from storage after this many blocks/epochs
§

type EpochExpirationDelay = ConstU64<10000>

Babe requests expire and can be purged from storage after this many blocks/epochs
§

type WeightInfo = WeightInfo<Runtime>

Weight info
source§

impl Config for Runtime

§

type AllowMultipleBlocksPerSlot = ConstBool<true>

Whether or not to allow more than one block per slot. Setting it to ‘true’ will enable async-backing compatibility.
§

type GetAndVerifySlot = RelaySlot

A way to get the current parachain slot and verify it’s validity against the relay slot.
§

type ExpectedBlockTime = ConstU64<6000>

Purely informative, but used by mocking tools like chospticks to allow knowing how to mock blocks
source§

impl Config for Runtime

§

type SlotBeacon = RelaychainDataProvider<Runtime>

Some way of determining the current slot for purposes of verifying the author’s eligibility
§

type AccountLookup = Pallet<Runtime>

A type to convert between NimbusId and AuthorId. This is useful when you want to associate Block authoring behavior with an AuthorId for rewards or slashing. If you do not need to hold an AuthorId responsible for authoring use () which acts as an identity mapping.
§

type CanAuthor = Pallet<Runtime>

The final word on whether the reported author can author at this height. This will be used when executing the inherent. This check is often stricter than the Preliminary check, because it can use more data. If the pallet that implements this trait depends on an inherent, that inherent must be included before this one.
§

type AuthorId = <<EthereumSignature as Verify>::Signer as IdentifyAccount>::AccountId

Type used to refer to a block author.
§

type WeightInfo = WeightInfo<Runtime>

source§

impl Config for Runtime

§

type RuntimeEvent = RuntimeEvent

The overarching event type
§

type Initialized = ConstBool<false>

Checker for the reward vec, is it initalized already?
§

type InitializationPayment = InitializationPayment

Percentage to be payed at initialization
§

type MaxInitContributors = ConstU32<500>

§

type MinimumReward = ConstU128<0>

The minimum contribution to which rewards will be paid.
§

type RewardCurrency = Pallet<Runtime>

The currency in which the rewards will be paid (probably the parachain native currency)
§

type RelayChainAccountId = [u8; 32]

The AccountId type contributors used on the relay chain.
§

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

§

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

§

type RewardAddressRelayVoteThreshold = RelaySignaturesThreshold

A fraction representing the percentage of proofs that need to be presented to change a reward address through the relay keys
§

type SignatureNetworkIdentifier = SignatureNetworkIdentifier

Network Identifier to be appended into the signatures for reward address change/association Prevents replay attacks from one network to the other
§

type VestingBlockNumber = u32

The type that will be used to track vesting progress
§

type VestingBlockProvider = RelaychainDataProvider<Runtime>

The notion of time that will be used for vesting. Probably either the relay chain or sovereign chain block number.
§

type WeightInfo = WeightInfo<Runtime>

source§

impl Config for Runtime

§

type MaxPoolSize = ConstU32<8>

Maximum number of orbiters per collator

§

type MaxRoundArchive = ConstU32<4>

Maximum number of round to keep on storage

§

type RoundIndex = u32

Round index type.

§

type RuntimeEvent = RuntimeEvent

Overarching event type.
§

type AccountLookup = Pallet<Runtime>

A type to convert between AuthorId and AccountId. This pallet wrap the lookup to allow orbiters authoring.
§

type AddCollatorOrigin = EitherOfDiverse<EnsureRoot<<<EthereumSignature as Verify>::Signer as IdentifyAccount>::AccountId>, GeneralAdmin>

Origin that is allowed to add a collator in orbiters program.
§

type Currency = Pallet<Runtime>

The currency type.
§

type DelCollatorOrigin = EitherOfDiverse<EnsureRoot<<<EthereumSignature as Verify>::Signer as IdentifyAccount>::AccountId>, GeneralAdmin>

Origin that is allowed to remove a collator from orbiters program.
§

type OrbiterReserveIdentifier = OrbiterReserveIdentifier

Reserve identifier for this pallet instance.
§

type RotatePeriod = ConstU32<1>

Number of rounds before changing the selected orbiter. WARNING: when changing RotatePeriod, you need a migration code that sets ForceRotation to true to avoid holes in OrbiterPerRound.
§

type WeightInfo = WeightInfo<Runtime>

Weight information for extrinsics in this pallet.
source§

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

source§

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

source§

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

source§

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

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

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

source§

fn trace_transaction( extrinsics: Vec<<Block as BlockT>::Extrinsic>, traced_transaction: &EthereumTransaction, header: &<Block as BlockT>::Header ) -> Result<(), DispatchError>

source§

fn trace_block( extrinsics: Vec<<Block as BlockT>::Extrinsic>, known_transactions: Vec<H256>, header: &<Block as BlockT>::Header ) -> Result<(), DispatchError>

source§

fn trace_call( header: &<Block as BlockT>::Header, 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>, access_list: Option<Vec<(H160, Vec<H256>)>> ) -> Result<(), DispatchError>

source§

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

source§

fn chain_id() -> u64

Returns runtime defined pallet_evm::ChainId.
source§

fn account_basic(address: H160) -> EVMAccount

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

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 Block>::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<<<EthereumSignature as Verify>::Signer as IdentifyAccount>::AccountId, RuntimeCall, EthereumSignature, (CheckNonZeroSender<Runtime>, CheckSpecVersion<Runtime>, CheckTxVersion<Runtime>, CheckGenesis<Runtime>, CheckMortality<Runtime>, CheckNonce<Runtime>, CheckWeight<Runtime>, ChargeTransactionPayment<Runtime>, CheckMetadataHash<Runtime>, StorageWeightReclaim<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 LocationToAccountApiV1<Block<Header<u32, BlakeTwo256>, UncheckedExtrinsic<<<EthereumSignature as Verify>::Signer as IdentifyAccount>::AccountId, RuntimeCall, EthereumSignature, (CheckNonZeroSender<Runtime>, CheckSpecVersion<Runtime>, CheckTxVersion<Runtime>, CheckGenesis<Runtime>, CheckMortality<Runtime>, CheckNonce<Runtime>, CheckWeight<Runtime>, ChargeTransactionPayment<Runtime>, CheckMetadataHash<Runtime>, StorageWeightReclaim<Runtime>)>>, <<EthereumSignature 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<<<EthereumSignature as Verify>::Signer as IdentifyAccount>::AccountId, RuntimeCall, EthereumSignature, (CheckNonZeroSender<Runtime>, CheckSpecVersion<Runtime>, CheckTxVersion<Runtime>, CheckGenesis<Runtime>, CheckMortality<Runtime>, CheckNonce<Runtime>, CheckWeight<Runtime>, ChargeTransactionPayment<Runtime>, CheckMetadataHash<Runtime>, StorageWeightReclaim<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 NimbusApiV1<Block<Header<u32, BlakeTwo256>, UncheckedExtrinsic<<<EthereumSignature as Verify>::Signer as IdentifyAccount>::AccountId, RuntimeCall, EthereumSignature, (CheckNonZeroSender<Runtime>, CheckSpecVersion<Runtime>, CheckTxVersion<Runtime>, CheckGenesis<Runtime>, CheckMortality<Runtime>, CheckNonce<Runtime>, CheckWeight<Runtime>, ChargeTransactionPayment<Runtime>, CheckMetadataHash<Runtime>, StorageWeightReclaim<Runtime>)>>> for Runtime

source§

fn can_author( author: NimbusId, slot: u32, parent_header: &<Block as BlockT>::Header ) -> bool

source§

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

source§

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

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

impl OnInactiveCollator<Runtime> for OnInactiveCollator

source§

fn on_inactive_collator( collator_id: AccountId, round: RoundIndex ) -> Result<Weight, DispatchErrorWithPostInfo<PostDispatchInfo>>

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 PayoutCollatorReward<Runtime> for PayoutCollatorOrOrbiterReward

source§

fn payout_collator_reward( for_round: RoundIndex, collator_id: AccountId, amount: Balance ) -> Weight

source§

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

source§

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

Decode the given public session keys. Read more
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§

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

source§

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

Validate the transaction. Read more
source§

impl TransactionPaymentApiV4<Block<Header<u32, BlakeTwo256>, UncheckedExtrinsic<<<EthereumSignature as Verify>::Signer as IdentifyAccount>::AccountId, RuntimeCall, EthereumSignature, (CheckNonZeroSender<Runtime>, CheckSpecVersion<Runtime>, CheckTxVersion<Runtime>, CheckGenesis<Runtime>, CheckMortality<Runtime>, CheckNonce<Runtime>, CheckWeight<Runtime>, ChargeTransactionPayment<Runtime>, CheckMetadataHash<Runtime>, StorageWeightReclaim<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 TxPoolRuntimeApiV2<Block<Header<u32, BlakeTwo256>, UncheckedExtrinsic<<<EthereumSignature as Verify>::Signer as IdentifyAccount>::AccountId, RuntimeCall, EthereumSignature, (CheckNonZeroSender<Runtime>, CheckSpecVersion<Runtime>, CheckTxVersion<Runtime>, CheckGenesis<Runtime>, CheckMortality<Runtime>, CheckNonce<Runtime>, CheckWeight<Runtime>, ChargeTransactionPayment<Runtime>, CheckMetadataHash<Runtime>, StorageWeightReclaim<Runtime>)>>> for Runtime

source§

fn extrinsic_filter( xts_ready: Vec<<Block as BlockT>::Extrinsic>, xts_future: Vec<<Block as BlockT>::Extrinsic> ) -> TxPoolResponse

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 UnincludedSegmentApiV1<Block<Header<u32, BlakeTwo256>, UncheckedExtrinsic<<<EthereumSignature as Verify>::Signer as IdentifyAccount>::AccountId, RuntimeCall, EthereumSignature, (CheckNonZeroSender<Runtime>, CheckSpecVersion<Runtime>, CheckTxVersion<Runtime>, CheckGenesis<Runtime>, CheckMortality<Runtime>, CheckNonce<Runtime>, CheckWeight<Runtime>, ChargeTransactionPayment<Runtime>, CheckMetadataHash<Runtime>, StorageWeightReclaim<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 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 VrfApiV1<Block<Header<u32, BlakeTwo256>, UncheckedExtrinsic<<<EthereumSignature as Verify>::Signer as IdentifyAccount>::AccountId, RuntimeCall, EthereumSignature, (CheckNonZeroSender<Runtime>, CheckSpecVersion<Runtime>, CheckTxVersion<Runtime>, CheckGenesis<Runtime>, CheckMortality<Runtime>, CheckNonce<Runtime>, CheckWeight<Runtime>, ChargeTransactionPayment<Runtime>, CheckMetadataHash<Runtime>, StorageWeightReclaim<Runtime>)>>> for Runtime

source§

fn get_last_vrf_output() -> Option<<Block as BlockT>::Hash>

source§

fn vrf_key_lookup(nimbus_id: NimbusId) -> Option<VrfId>

source§

impl XcmPaymentApiV1<Block<Header<u32, BlakeTwo256>, UncheckedExtrinsic<<<EthereumSignature as Verify>::Signer as IdentifyAccount>::AccountId, RuntimeCall, EthereumSignature, (CheckNonZeroSender<Runtime>, CheckSpecVersion<Runtime>, CheckTxVersion<Runtime>, CheckGenesis<Runtime>, CheckMortality<Runtime>, CheckNonce<Runtime>, CheckWeight<Runtime>, ChargeTransactionPayment<Runtime>, CheckMetadataHash<Runtime>, StorageWeightReclaim<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 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
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.

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.

source§

impl<Src, Dst> LossyInto<Dst> for Src
where Dst: LossyFrom<Src>,

source§

fn lossy_into(self) -> Dst

Performs the conversion.
§

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