Struct moonbeam_runtime::Runtime
source · pub struct Runtime;
Implementations§
Trait Implementations§
source§impl AccountIdAssetIdConversion<<<EthereumSignature as Verify>::Signer as IdentifyAccount>::AccountId, u128> for Runtime
impl AccountIdAssetIdConversion<<<EthereumSignature as Verify>::Signer as IdentifyAccount>::AccountId, u128> for Runtime
source§impl AccountIdToCurrencyId<<<EthereumSignature as Verify>::Signer as IdentifyAccount>::AccountId, CurrencyId> for Runtime
impl AccountIdToCurrencyId<<<EthereumSignature as Verify>::Signer as IdentifyAccount>::AccountId, CurrencyId> for Runtime
fn account_to_currency_id(account: AccountId) -> Option<CurrencyId>
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
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
fn account_nonce(account: AccountId) -> Index
AccountId
.source§impl AssetRegistrar<Runtime> for AssetRegistrar
impl AssetRegistrar<Runtime> for AssetRegistrar
fn create_foreign_asset( asset: AssetId, min_balance: Balance, metadata: AssetRegistrarMetadata, is_sufficient: bool ) -> DispatchResult
fn destroy_foreign_asset(asset: AssetId) -> DispatchResult
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
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
fn apply_extrinsic( extrinsic: <Block as BlockT>::Extrinsic ) -> ApplyExtrinsicResult
source§fn finalize_block() -> <Block as BlockT>::Header
fn finalize_block() -> <Block as BlockT>::Header
source§fn inherent_extrinsics(data: InherentData) -> Vec<<Block as BlockT>::Extrinsic>
fn inherent_extrinsics(data: InherentData) -> Vec<<Block as BlockT>::Extrinsic>
source§fn check_inherents(block: Block, data: InherentData) -> CheckInherentsResult
fn check_inherents(block: Block, data: InherentData) -> CheckInherentsResult
source§impl CallerTrait<<Runtime as Config>::AccountId> for OriginCaller
impl CallerTrait<<Runtime as Config>::AccountId> for OriginCaller
source§fn into_system(self) -> Option<RawOrigin<<Runtime as Config>::AccountId>>
fn into_system(self) -> Option<RawOrigin<<Runtime as Config>::AccountId>>
Signed
origin.source§fn as_system_ref(&self) -> Option<&RawOrigin<<Runtime as Config>::AccountId>>
fn as_system_ref(&self) -> Option<&RawOrigin<<Runtime as Config>::AccountId>>
RawOrigin
if it is that.§fn as_signed(&self) -> Option<&AccountId>
fn as_signed(&self) -> Option<&AccountId>
Signed
origin, None
otherwise.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
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
fn collect_collation_info(header: &<Block as BlockT>::Header) -> CollationInfo
source§impl Config for Runtime
impl Config for Runtime
§type RuntimeEvent = RuntimeEvent
type RuntimeEvent = RuntimeEvent
§type MigrationsList = (CommonMigrations<Runtime>, MoonbeamMigrations)
type MigrationsList = (CommonMigrations<Runtime>, MoonbeamMigrations)
§type XcmExecutionManager = XcmExecutionManager
type XcmExecutionManager = XcmExecutionManager
source§impl Config for Runtime
impl Config for Runtime
type RuntimeEvent = RuntimeEvent
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
type CurrencyId = CurrencyId
§type AccountIdToLocation = AccountIdToLocation<<<EthereumSignature as Verify>::Signer as IdentifyAccount>::AccountId>
type AccountIdToLocation = AccountIdToLocation<<<EthereumSignature as Verify>::Signer as IdentifyAccount>::AccountId>
T::AccountId
to Location
.§type CurrencyIdToLocation = CurrencyIdToLocation<AsAssetType<u128, AssetType, Pallet<Runtime>>>
type CurrencyIdToLocation = CurrencyIdToLocation<AsAssetType<u128, AssetType, Pallet<Runtime>>>
T::CurrencyId
to Location
.§type SelfLocation = SelfLocation
type SelfLocation = SelfLocation
§type Weigher = WeightInfoBounds<XcmWeight<Runtime, RuntimeCall>, RuntimeCall, MaxInstructions>
type Weigher = WeightInfoBounds<XcmWeight<Runtime, RuntimeCall>, RuntimeCall, MaxInstructions>
§type UniversalLocation = UniversalLocation
type UniversalLocation = UniversalLocation
§type BaseXcmWeight = BaseXcmWeight
type BaseXcmWeight = BaseXcmWeight
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>)
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>)
§type ReserveProvider = AbsoluteAndRelativeReserve<SelfLocationAbsolute>
type ReserveProvider = AbsoluteAndRelativeReserve<SelfLocationAbsolute>
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>
type MaxHrmpFee = Case<MaxHrmpRelayFee>
source§impl Config for Runtime
impl Config for Runtime
§type RuntimeEvent = RuntimeEvent
type RuntimeEvent = RuntimeEvent
§type RuntimeOrigin = RuntimeOrigin
type RuntimeOrigin = RuntimeOrigin
§type PalletsOrigin = OriginCaller
type PalletsOrigin = OriginCaller
§type RuntimeCall = RuntimeCall
type RuntimeCall = RuntimeCall
§type MaximumWeight = MaximumSchedulerWeight
type MaximumWeight = MaximumSchedulerWeight
§type ScheduleOrigin = EnsureRoot<<<EthereumSignature as Verify>::Signer as IdentifyAccount>::AccountId>
type ScheduleOrigin = EnsureRoot<<<EthereumSignature as Verify>::Signer as IdentifyAccount>::AccountId>
§type MaxScheduledPerBlock = ConstU32<50>
type MaxScheduledPerBlock = ConstU32<50>
§type WeightInfo = WeightInfo<Runtime>
type WeightInfo = WeightInfo<Runtime>
§type OriginPrivilegeCmp = EqualPrivilegeOnly
type OriginPrivilegeCmp = EqualPrivilegeOnly
source§impl Config for Runtime
impl Config for Runtime
§type RuntimeEvent = RuntimeEvent
type RuntimeEvent = RuntimeEvent
source§impl Config for Runtime
impl Config for Runtime
§type WeightInfo = WeightInfo<Runtime>
type WeightInfo = WeightInfo<Runtime>
type RuntimeEvent = RuntimeEvent
§type MaxTurnout = TotalIssuanceOf<Pallet<Runtime>, <Runtime as Config>::AccountId>
type MaxTurnout = TotalIssuanceOf<Pallet<Runtime>, <Runtime as Config>::AccountId>
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 VoteLockingPeriod = VoteLockingPeriod
type VoteLockingPeriod = VoteLockingPeriod
source§impl Config for Runtime
impl Config for Runtime
§type FeeCalculator = TransactionPaymentAsGasPrice
type FeeCalculator = TransactionPaymentAsGasPrice
§type GasWeightMapping = FixedGasWeightMapping<Runtime>
type GasWeightMapping = FixedGasWeightMapping<Runtime>
§type WeightPerGas = WeightPerGas
type WeightPerGas = WeightPerGas
§type BlockHashMapping = EthereumBlockHashMapping<Runtime>
type BlockHashMapping = EthereumBlockHashMapping<Runtime>
§type CallOrigin = EnsureAddressRoot<<<EthereumSignature as Verify>::Signer as IdentifyAccount>::AccountId>
type CallOrigin = EnsureAddressRoot<<<EthereumSignature as Verify>::Signer as IdentifyAccount>::AccountId>
§type WithdrawOrigin = EnsureAddressNever<<<EthereumSignature as Verify>::Signer as IdentifyAccount>::AccountId>
type WithdrawOrigin = EnsureAddressNever<<<EthereumSignature as Verify>::Signer as IdentifyAccount>::AccountId>
§type AddressMapping = IdentityAddressMapping
type AddressMapping = IdentityAddressMapping
§type RuntimeEvent = RuntimeEvent
type RuntimeEvent = RuntimeEvent
§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>>)>
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>>)>
type PrecompilesValue = PrecompilesValue
§type OnChargeTransaction = OnChargeEVMTransaction<DealWithFees<Runtime>>
type OnChargeTransaction = OnChargeEVMTransaction<DealWithFees<Runtime>>
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
type BlockGasLimit = BlockGasLimit
§type FindAuthor = FindAuthorAdapter<Pallet<Runtime>>
type FindAuthor = FindAuthorAdapter<Pallet<Runtime>>
§type GasLimitPovSizeRatio = GasLimitPovSizeRatio
type GasLimitPovSizeRatio = GasLimitPovSizeRatio
§type SuicideQuickClearLimit = ConstU32<0>
type SuicideQuickClearLimit = ConstU32<0>
§type GasLimitStorageGrowthRatio = GasLimitStorageGrowthRatio
type GasLimitStorageGrowthRatio = GasLimitStorageGrowthRatio
§type Timestamp = RelayTimestamp
type Timestamp = RelayTimestamp
§type WeightInfo = WeightInfo<Runtime>
type WeightInfo = WeightInfo<Runtime>
source§impl Config for Runtime
impl Config for Runtime
§type RuntimeEvent = RuntimeEvent
type RuntimeEvent = RuntimeEvent
§type BasicDeposit = ConstU128<{ currency::deposit(1, 258) }>
type BasicDeposit = ConstU128<{ currency::deposit(1, 258) }>
§type ByteDeposit = ConstU128<{ currency::deposit(0, 1) }>
type ByteDeposit = ConstU128<{ currency::deposit(0, 1) }>
§type SubAccountDeposit = ConstU128<{ currency::deposit(1, 53) }>
type SubAccountDeposit = ConstU128<{ currency::deposit(1, 53) }>
§type MaxSubAccounts = MaxSubAccounts
type MaxSubAccounts = MaxSubAccounts
§type IdentityInformation = IdentityInfo<MaxAdditionalFields>
type IdentityInformation = IdentityInfo<MaxAdditionalFields>
§type MaxRegistrars = MaxRegistrars
type MaxRegistrars = MaxRegistrars
§type ForceOrigin = EitherOfDiverse<EnsureRoot<<<EthereumSignature as Verify>::Signer as IdentifyAccount>::AccountId>, GeneralAdmin>
type ForceOrigin = EitherOfDiverse<EnsureRoot<<<EthereumSignature as Verify>::Signer as IdentifyAccount>::AccountId>, GeneralAdmin>
§type RegistrarOrigin = EitherOfDiverse<EnsureRoot<<<EthereumSignature as Verify>::Signer as IdentifyAccount>::AccountId>, GeneralAdmin>
type RegistrarOrigin = EitherOfDiverse<EnsureRoot<<<EthereumSignature as Verify>::Signer as IdentifyAccount>::AccountId>, GeneralAdmin>
§type OffchainSignature = EthereumSignature
type OffchainSignature = EthereumSignature
§type SigningPublicKey = <EthereumSignature as Verify>::Signer
type SigningPublicKey = <EthereumSignature as Verify>::Signer
Self::AccountId
.§type UsernameAuthorityOrigin = EnsureRoot<<<EthereumSignature as Verify>::Signer as IdentifyAccount>::AccountId>
type UsernameAuthorityOrigin = EnsureRoot<<<EthereumSignature as Verify>::Signer as IdentifyAccount>::AccountId>
§type PendingUsernameExpiration = PendingUsernameExpiration
type PendingUsernameExpiration = PendingUsernameExpiration
§type MaxSuffixLength = MaxSuffixLength
type MaxSuffixLength = MaxSuffixLength
§type MaxUsernameLength = MaxUsernameLength
type MaxUsernameLength = MaxUsernameLength
§type WeightInfo = WeightInfo<Runtime>
type WeightInfo = WeightInfo<Runtime>
source§impl Config for Runtime
impl Config for Runtime
type AccountIdToH160 = AccountIdToH160
§type AssetIdFilter = EvmForeignAssetIdFilter
type AssetIdFilter = EvmForeignAssetIdFilter
§type EvmRunner = EvmRunnerPrecompileOrEthXcm<MoonbeamCall, Runtime>
type EvmRunner = EvmRunnerPrecompileOrEthXcm<MoonbeamCall, Runtime>
§type ForeignAssetCreatorOrigin = EitherOfDiverse<EnsureRoot<<<EthereumSignature as Verify>::Signer as IdentifyAccount>::AccountId>, EitherOfDiverse<EnsureProportionMoreThan<<<EthereumSignature as Verify>::Signer as IdentifyAccount>::AccountId, Instance4, 5, 9>, FastGeneralAdmin>>
type ForeignAssetCreatorOrigin = EitherOfDiverse<EnsureRoot<<<EthereumSignature as Verify>::Signer as IdentifyAccount>::AccountId>, EitherOfDiverse<EnsureProportionMoreThan<<<EthereumSignature as Verify>::Signer as IdentifyAccount>::AccountId, Instance4, 5, 9>, FastGeneralAdmin>>
§type ForeignAssetFreezerOrigin = EitherOfDiverse<EnsureRoot<<<EthereumSignature as Verify>::Signer as IdentifyAccount>::AccountId>, EitherOfDiverse<EnsureProportionMoreThan<<<EthereumSignature as Verify>::Signer as IdentifyAccount>::AccountId, Instance4, 5, 9>, FastGeneralAdmin>>
type ForeignAssetFreezerOrigin = EitherOfDiverse<EnsureRoot<<<EthereumSignature as Verify>::Signer as IdentifyAccount>::AccountId>, EitherOfDiverse<EnsureProportionMoreThan<<<EthereumSignature as Verify>::Signer as IdentifyAccount>::AccountId, Instance4, 5, 9>, FastGeneralAdmin>>
§type ForeignAssetModifierOrigin = EitherOfDiverse<EnsureRoot<<<EthereumSignature as Verify>::Signer as IdentifyAccount>::AccountId>, EitherOfDiverse<EnsureProportionMoreThan<<<EthereumSignature as Verify>::Signer as IdentifyAccount>::AccountId, Instance4, 5, 9>, FastGeneralAdmin>>
type ForeignAssetModifierOrigin = EitherOfDiverse<EnsureRoot<<<EthereumSignature as Verify>::Signer as IdentifyAccount>::AccountId>, EitherOfDiverse<EnsureProportionMoreThan<<<EthereumSignature as Verify>::Signer as IdentifyAccount>::AccountId, Instance4, 5, 9>, FastGeneralAdmin>>
§type ForeignAssetUnfreezerOrigin = EitherOfDiverse<EnsureRoot<<<EthereumSignature as Verify>::Signer as IdentifyAccount>::AccountId>, EitherOfDiverse<EnsureProportionMoreThan<<<EthereumSignature as Verify>::Signer as IdentifyAccount>::AccountId, Instance4, 5, 9>, FastGeneralAdmin>>
type ForeignAssetUnfreezerOrigin = EitherOfDiverse<EnsureRoot<<<EthereumSignature as Verify>::Signer as IdentifyAccount>::AccountId>, EitherOfDiverse<EnsureProportionMoreThan<<<EthereumSignature as Verify>::Signer as IdentifyAccount>::AccountId, Instance4, 5, 9>, FastGeneralAdmin>>
§type OnForeignAssetCreated = ()
type OnForeignAssetCreated = ()
§type MaxForeignAssets = ConstU32<256>
type MaxForeignAssets = ConstU32<256>
§type RuntimeEvent = RuntimeEvent
type RuntimeEvent = RuntimeEvent
§type WeightInfo = WeightInfo<Runtime>
type WeightInfo = WeightInfo<Runtime>
type XcmLocationToH160 = LocationToH160
source§impl Config for Runtime
impl Config for Runtime
§type AdminOrigin = EnsureRoot<<<EthereumSignature as Verify>::Signer as IdentifyAccount>::AccountId>
type AdminOrigin = EnsureRoot<<<EthereumSignature as Verify>::Signer as IdentifyAccount>::AccountId>
§type RuntimeEvent = RuntimeEvent
type RuntimeEvent = RuntimeEvent
§type RuntimeParameters = RuntimeParameters
type RuntimeParameters = RuntimeParameters
§type WeightInfo = WeightInfo<Runtime>
type WeightInfo = WeightInfo<Runtime>
source§impl Config for Runtime
impl Config for Runtime
type RuntimeEvent = RuntimeEvent
§type AssetId = u128
type AssetId = u128
§type AssetRegistrarMetadata = AssetRegistrarMetadata
type AssetRegistrarMetadata = AssetRegistrarMetadata
§type ForeignAssetType = AssetType
type ForeignAssetType = AssetType
§type AssetRegistrar = AssetRegistrar
type AssetRegistrar = AssetRegistrar
§type ForeignAssetModifierOrigin = EitherOfDiverse<EnsureRoot<<<EthereumSignature as Verify>::Signer as IdentifyAccount>::AccountId>, EitherOfDiverse<EnsureProportionMoreThan<<<EthereumSignature as Verify>::Signer as IdentifyAccount>::AccountId, Instance4, 5, 9>, GeneralAdmin>>
type ForeignAssetModifierOrigin = EitherOfDiverse<EnsureRoot<<<EthereumSignature as Verify>::Signer as IdentifyAccount>::AccountId>, EitherOfDiverse<EnsureProportionMoreThan<<<EthereumSignature as Verify>::Signer as IdentifyAccount>::AccountId, Instance4, 5, 9>, GeneralAdmin>>
type WeightInfo = WeightInfo<Runtime>
source§impl Config for Runtime
impl Config for Runtime
§type RuntimeEvent = RuntimeEvent
type RuntimeEvent = RuntimeEvent
§type SendXcmOrigin = EnsureXcmOrigin<RuntimeOrigin, SignedToAccountId20<RuntimeOrigin, <<EthereumSignature as Verify>::Signer as IdentifyAccount>::AccountId, RelayNetwork>>
type SendXcmOrigin = EnsureXcmOrigin<RuntimeOrigin, SignedToAccountId20<RuntimeOrigin, <<EthereumSignature as Verify>::Signer as IdentifyAccount>::AccountId, RelayNetwork>>
Location
which exists as an interior location within this chain’s XCM context.§type XcmRouter = (ParentAsUmp<Pallet<Runtime>, Pallet<Runtime>, ()>, Pallet<Runtime>)
type XcmRouter = (ParentAsUmp<Pallet<Runtime>, Pallet<Runtime>, ()>, Pallet<Runtime>)
§type ExecuteXcmOrigin = EnsureXcmOrigin<RuntimeOrigin, SignedToAccountId20<RuntimeOrigin, <<EthereumSignature as Verify>::Signer as IdentifyAccount>::AccountId, RelayNetwork>>
type ExecuteXcmOrigin = EnsureXcmOrigin<RuntimeOrigin, SignedToAccountId20<RuntimeOrigin, <<EthereumSignature as Verify>::Signer as IdentifyAccount>::AccountId, RelayNetwork>>
Location
which exists as an interior location
within this chain’s XCM context.§type XcmExecuteFilter = Nothing
type XcmExecuteFilter = Nothing
XcmExecutor
must pass.§type XcmExecutor = XcmExecutorWrapper<XcmExecutorConfig, XcmExecutor<XcmExecutorConfig>>
type XcmExecutor = XcmExecutorWrapper<XcmExecutorConfig, XcmExecutor<XcmExecutorConfig>>
§type XcmTeleportFilter = Nothing
type XcmTeleportFilter = Nothing
§type XcmReserveTransferFilter = Everything
type XcmReserveTransferFilter = Everything
§type Weigher = WeightInfoBounds<XcmWeight<Runtime, RuntimeCall>, RuntimeCall, MaxInstructions>
type Weigher = WeightInfoBounds<XcmWeight<Runtime, RuntimeCall>, RuntimeCall, MaxInstructions>
§type UniversalLocation = UniversalLocation
type UniversalLocation = UniversalLocation
§type RuntimeOrigin = RuntimeOrigin
type RuntimeOrigin = RuntimeOrigin
Origin
type.§type RuntimeCall = RuntimeCall
type RuntimeCall = RuntimeCall
Call
type.const VERSION_DISCOVERY_QUEUE_SIZE: u32 = 100u32
§type AdvertisedXcmVersion = CurrentXcmVersion
type AdvertisedXcmVersion = CurrentXcmVersion
pallet_xcm::CurrentXcmVersion
.§type CurrencyMatcher = ()
type CurrencyMatcher = ()
Asset
matcher for Currency
.§type TrustedLockers = ()
type TrustedLockers = ()
§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)>>)
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)>>)
AccountId
value from a Location
, useful for handling asset locks.§type MaxLockers = ConstU32<8>
type MaxLockers = ConstU32<8>
§type MaxRemoteLockConsumers = ConstU32<0>
type MaxRemoteLockConsumers = ConstU32<0>
§type RemoteLockConsumerIdentifier = ()
type RemoteLockConsumerIdentifier = ()
§type WeightInfo = WeightInfo<Runtime>
type WeightInfo = WeightInfo<Runtime>
§type AdminOrigin = EnsureRoot<<<EthereumSignature as Verify>::Signer as IdentifyAccount>::AccountId>
type AdminOrigin = EnsureRoot<<<EthereumSignature as Verify>::Signer as IdentifyAccount>::AccountId>
source§impl Config for Runtime
impl Config for Runtime
§type MinBlocksPerRound = ConstU32<10>
type MinBlocksPerRound = ConstU32<10>
Minimum round length is 2 minutes (10 * 12 second block times)
§type MaxOfflineRounds = ConstU32<1>
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 }>
type LeaveCandidatesDelay = ConstU32<{ 4 * 7 }>
Rounds before the collator leaving the candidates request can be executed
§type CandidateBondLessDelay = ConstU32<{ 4 * 7 }>
type CandidateBondLessDelay = ConstU32<{ 4 * 7 }>
Rounds before the candidate bond increase/decrease can be executed
§type LeaveDelegatorsDelay = ConstU32<{ 4 * 7 }>
type LeaveDelegatorsDelay = ConstU32<{ 4 * 7 }>
Rounds before the delegator exit can be executed
§type RevokeDelegationDelay = ConstU32<{ 4 * 7 }>
type RevokeDelegationDelay = ConstU32<{ 4 * 7 }>
Rounds before the delegator revocation can be executed
§type DelegationBondLessDelay = ConstU32<{ 4 * 7 }>
type DelegationBondLessDelay = ConstU32<{ 4 * 7 }>
Rounds before the delegator bond increase/decrease can be executed
§type RewardPaymentDelay = ConstU32<2>
type RewardPaymentDelay = ConstU32<2>
Rounds before the reward is paid
§type MinSelectedCandidates = ConstU32<8>
type MinSelectedCandidates = ConstU32<8>
Minimum collators selected per round, default at genesis and minimum forever after
§type MaxTopDelegationsPerCandidate = ConstU32<300>
type MaxTopDelegationsPerCandidate = ConstU32<300>
Maximum top delegations per candidate
§type MaxBottomDelegationsPerCandidate = ConstU32<50>
type MaxBottomDelegationsPerCandidate = ConstU32<50>
Maximum bottom delegations per candidate
§type MaxDelegationsPerDelegator = ConstU32<100>
type MaxDelegationsPerDelegator = ConstU32<100>
Maximum delegations per delegator
§type MinCandidateStk = ConstU128<{ 20_000 * currency::GLMR * currency::SUPPLY_FACTOR }>
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 }>
type MinDelegation = ConstU128<{ 500 * currency::MILLIGLMR * currency::SUPPLY_FACTOR }>
Minimum stake required to be reserved to be a delegator
§type RuntimeEvent = RuntimeEvent
type RuntimeEvent = RuntimeEvent
§type MonetaryGovernanceOrigin = EitherOfDiverse<EnsureRoot<<<EthereumSignature as Verify>::Signer as IdentifyAccount>::AccountId>, GeneralAdmin>
type MonetaryGovernanceOrigin = EitherOfDiverse<EnsureRoot<<<EthereumSignature as Verify>::Signer as IdentifyAccount>::AccountId>, GeneralAdmin>
§type BlockAuthor = Pallet<Runtime>
type BlockAuthor = Pallet<Runtime>
§type OnCollatorPayout = ()
type OnCollatorPayout = ()
()
.§type PayoutCollatorReward = PayoutCollatorOrOrbiterReward
type PayoutCollatorReward = PayoutCollatorOrOrbiterReward
()
.§type OnInactiveCollator = OnInactiveCollator
type OnInactiveCollator = OnInactiveCollator
()
.§type OnNewRound = OnNewRound
type OnNewRound = OnNewRound
()
.§type SlotProvider = RelayChainSlotProvider
type SlotProvider = RelayChainSlotProvider
§type WeightInfo = WeightInfo<Runtime>
type WeightInfo = WeightInfo<Runtime>
§type MaxCandidates = ConstU32<200>
type MaxCandidates = ConstU32<200>
§type SlotDuration = ConstU64<6000>
type SlotDuration = ConstU64<6000>
source§impl Config for Runtime
impl Config for Runtime
§type WeightInfo = WeightInfo<Runtime>
type WeightInfo = WeightInfo<Runtime>
type RuntimeCall = RuntimeCall
type RuntimeEvent = RuntimeEvent
§type SubmitOrigin = EnsureSigned<<<EthereumSignature as Verify>::Signer as IdentifyAccount>::AccountId>
type SubmitOrigin = EnsureSigned<<<EthereumSignature as Verify>::Signer as IdentifyAccount>::AccountId>
§type CancelOrigin = EitherOf<EnsureRoot<<Runtime as Config>::AccountId>, ReferendumCanceller>
type CancelOrigin = EitherOf<EnsureRoot<<Runtime as Config>::AccountId>, ReferendumCanceller>
§type KillOrigin = EitherOf<EnsureRoot<<Runtime as Config>::AccountId>, ReferendumKiller>
type KillOrigin = EitherOf<EnsureRoot<<Runtime as Config>::AccountId>, ReferendumKiller>
§type Votes = <<Runtime as Config>::Currency as Currency<<Runtime as Config>::AccountId>>::Balance
type Votes = <<Runtime as Config>::Currency as Currency<<Runtime as Config>::AccountId>>::Balance
§type Tally = Tally<<<Runtime as Config>::Currency as Currency<<Runtime as Config>::AccountId>>::Balance, <Runtime as Config>::MaxTurnout>
type Tally = Tally<<<Runtime as Config>::Currency as Currency<<Runtime as Config>::AccountId>>::Balance, <Runtime as Config>::MaxTurnout>
§type SubmissionDeposit = SubmissionDeposit
type SubmissionDeposit = SubmissionDeposit
§type UndecidingTimeout = UndecidingTimeout
type UndecidingTimeout = UndecidingTimeout
§type AlarmInterval = AlarmInterval
type AlarmInterval = AlarmInterval
§type Tracks = TracksInfo
type Tracks = TracksInfo
source§impl Config for Runtime
impl Config for Runtime
§type OnTimestampSet = ()
type OnTimestampSet = ()
§type MinimumPeriod = ConstU64<3000>
type MinimumPeriod = ConstU64<3000>
§type WeightInfo = WeightInfo<Runtime>
type WeightInfo = WeightInfo<Runtime>
source§impl Config for Runtime
impl Config for Runtime
§type RuntimeEvent = RuntimeEvent
type RuntimeEvent = RuntimeEvent
§type PostLogContent = PostBlockAndTxnHashes
type PostLogContent = PostBlockAndTxnHashes
§type ExtraDataLength = ConstU32<30>
type ExtraDataLength = ConstU32<30>
source§impl Config for Runtime
impl Config for Runtime
§type AccountIdToLocation = AccountIdToLocation<<<EthereumSignature as Verify>::Signer as IdentifyAccount>::AccountId>
type AccountIdToLocation = AccountIdToLocation<<<EthereumSignature as Verify>::Signer as IdentifyAccount>::AccountId>
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>>
type AddSupportedAssetOrigin = EitherOfDiverse<EnsureRoot<<<EthereumSignature as Verify>::Signer as IdentifyAccount>::AccountId>, EitherOfDiverse<EnsureProportionMoreThan<<<EthereumSignature as Verify>::Signer as IdentifyAccount>::AccountId, Instance4, 5, 9>, GeneralAdmin>>
§type AssetLocationFilter = AssetFeesFilter
type AssetLocationFilter = AssetFeesFilter
§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>)
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>)
§type EditSupportedAssetOrigin = EitherOfDiverse<EnsureRoot<<<EthereumSignature as Verify>::Signer as IdentifyAccount>::AccountId>, EitherOfDiverse<EnsureProportionMoreThan<<<EthereumSignature as Verify>::Signer as IdentifyAccount>::AccountId, Instance4, 5, 9>, FastGeneralAdmin>>
type EditSupportedAssetOrigin = EitherOfDiverse<EnsureRoot<<<EthereumSignature as Verify>::Signer as IdentifyAccount>::AccountId>, EitherOfDiverse<EnsureProportionMoreThan<<<EthereumSignature as Verify>::Signer as IdentifyAccount>::AccountId, Instance4, 5, 9>, FastGeneralAdmin>>
§type NativeLocation = SelfReserve
type NativeLocation = SelfReserve
§type PauseSupportedAssetOrigin = EitherOfDiverse<EnsureRoot<<<EthereumSignature as Verify>::Signer as IdentifyAccount>::AccountId>, EitherOfDiverse<EnsureProportionMoreThan<<<EthereumSignature as Verify>::Signer as IdentifyAccount>::AccountId, Instance4, 5, 9>, FastGeneralAdmin>>
type PauseSupportedAssetOrigin = EitherOfDiverse<EnsureRoot<<<EthereumSignature as Verify>::Signer as IdentifyAccount>::AccountId>, EitherOfDiverse<EnsureProportionMoreThan<<<EthereumSignature as Verify>::Signer as IdentifyAccount>::AccountId, Instance4, 5, 9>, FastGeneralAdmin>>
§type RemoveSupportedAssetOrigin = EitherOfDiverse<EnsureRoot<<<EthereumSignature as Verify>::Signer as IdentifyAccount>::AccountId>, EnsureProportionMoreThan<<<EthereumSignature as Verify>::Signer as IdentifyAccount>::AccountId, Instance4, 5, 9>>
type RemoveSupportedAssetOrigin = EitherOfDiverse<EnsureRoot<<<EthereumSignature as Verify>::Signer as IdentifyAccount>::AccountId>, EnsureProportionMoreThan<<<EthereumSignature as Verify>::Signer as IdentifyAccount>::AccountId, Instance4, 5, 9>>
§type RuntimeEvent = RuntimeEvent
type RuntimeEvent = RuntimeEvent
§type ResumeSupportedAssetOrigin = EitherOfDiverse<EnsureRoot<<<EthereumSignature as Verify>::Signer as IdentifyAccount>::AccountId>, EnsureProportionMoreThan<<<EthereumSignature as Verify>::Signer as IdentifyAccount>::AccountId, Instance4, 5, 9>>
type ResumeSupportedAssetOrigin = EitherOfDiverse<EnsureRoot<<<EthereumSignature as Verify>::Signer as IdentifyAccount>::AccountId>, EnsureProportionMoreThan<<<EthereumSignature as Verify>::Signer as IdentifyAccount>::AccountId, Instance4, 5, 9>>
§type WeightInfo = WeightInfo<Runtime>
type WeightInfo = WeightInfo<Runtime>
§type WeightToFee = <Runtime as Config>::WeightToFee
type WeightToFee = <Runtime as Config>::WeightToFee
§type XcmFeesAccount = XcmFeesAccount
type XcmFeesAccount = XcmFeesAccount
source§impl Config for Runtime
impl Config for Runtime
§type RuntimeEvent = RuntimeEvent
type RuntimeEvent = RuntimeEvent
§type OnSystemEvent = ()
type OnSystemEvent = ()
§type SelfParaId = Pallet<Runtime>
type SelfParaId = Pallet<Runtime>
§type ReservedDmpWeight = ReservedDmpWeight
type ReservedDmpWeight = ReservedDmpWeight
§type OutboundXcmpMessageSource = Pallet<Runtime>
type OutboundXcmpMessageSource = Pallet<Runtime>
finalize_block
.§type XcmpMessageHandler = Pallet<Runtime>
type XcmpMessageHandler = Pallet<Runtime>
§type ReservedXcmpWeight = ReservedXcmpWeight
type ReservedXcmpWeight = ReservedXcmpWeight
§type CheckAssociatedRelayNumber = Pallet<Runtime>
type CheckAssociatedRelayNumber = Pallet<Runtime>
§type ConsensusHook = ConsensusHookWrapperForRelayTimestamp<Runtime, FixedVelocityConsensusHook<Runtime, BLOCK_PROCESSING_VELOCITY, UNINCLUDED_SEGMENT_CAPACITY>>
type ConsensusHook = ConsensusHookWrapperForRelayTimestamp<Runtime, FixedVelocityConsensusHook<Runtime, BLOCK_PROCESSING_VELOCITY, UNINCLUDED_SEGMENT_CAPACITY>>
§type DmpQueue = EnqueueWithOrigin<Pallet<Runtime>, RelayOrigin>
type DmpQueue = EnqueueWithOrigin<Pallet<Runtime>, RelayOrigin>
§type WeightInfo = WeightInfo<Runtime>
type WeightInfo = WeightInfo<Runtime>
source§impl Config for Runtime
impl Config for Runtime
§type RuntimeEvent = RuntimeEvent
type RuntimeEvent = RuntimeEvent
§type RuntimeCall = RuntimeCall
type RuntimeCall = RuntimeCall
§type PalletsOrigin = OriginCaller
type PalletsOrigin = OriginCaller
§type WeightInfo = WeightInfo<Runtime>
type WeightInfo = WeightInfo<Runtime>
source§impl Config for Runtime
impl Config for Runtime
§type WeightInfo = WeightInfo<Runtime>
type WeightInfo = WeightInfo<Runtime>
§type RuntimeEvent = RuntimeEvent
type RuntimeEvent = RuntimeEvent
§type RuntimeCall = RuntimeCall
type RuntimeCall = RuntimeCall
§type WhitelistOrigin = EitherOf<EnsureRootWithSuccess<<Runtime as Config>::AccountId, ConstU16<u16::MAX>>, MapSuccess<EnsureProportionAtLeast<<Runtime as Config>::AccountId, Instance4, 5, 9>, Replace<ConstU16<6>>>>
type WhitelistOrigin = EitherOf<EnsureRootWithSuccess<<Runtime as Config>::AccountId, ConstU16<u16::MAX>>, MapSuccess<EnsureProportionAtLeast<<Runtime as Config>::AccountId, Instance4, 5, 9>, Replace<ConstU16<6>>>>
§type DispatchWhitelistedOrigin = EitherOf<EnsureRoot<<Runtime as Config>::AccountId>, WhitelistedCaller>
type DispatchWhitelistedOrigin = EitherOf<EnsureRoot<<Runtime as Config>::AccountId>, WhitelistedCaller>
source§impl Config for Runtime
impl Config for Runtime
§type RuntimeEvent = RuntimeEvent
type RuntimeEvent = RuntimeEvent
§type ForceOrigin = EitherOfDiverse<EnsureRoot<<<EthereumSignature as Verify>::Signer as IdentifyAccount>::AccountId>, GeneralAdmin>
type ForceOrigin = EitherOfDiverse<EnsureRoot<<<EthereumSignature as Verify>::Signer as IdentifyAccount>::AccountId>, GeneralAdmin>
§type AssetDeposit = AssetDeposit
type AssetDeposit = AssetDeposit
§type MetadataDepositBase = MetadataDepositBase
type MetadataDepositBase = MetadataDepositBase
§type MetadataDepositPerByte = MetadataDepositPerByte
type MetadataDepositPerByte = MetadataDepositPerByte
§type ApprovalDeposit = ApprovalDeposit
type ApprovalDeposit = ApprovalDeposit
§type StringLimit = AssetsStringLimit
type StringLimit = AssetsStringLimit
§type Freezer = ()
type Freezer = ()
§type AssetAccountDeposit = ConstU128<{ currency::deposit(1, 18) }>
type AssetAccountDeposit = ConstU128<{ currency::deposit(1, 18) }>
§type WeightInfo = WeightInfo<Runtime>
type WeightInfo = WeightInfo<Runtime>
§type RemoveItemsLimit = ConstU32<{ REMOVE_ITEMS_LIMIT }>
type RemoveItemsLimit = ConstU32<{ REMOVE_ITEMS_LIMIT }>
§type AssetIdParameter = Compact<u128>
type AssetIdParameter = Compact<u128>
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>>
type CreateOrigin = AsEnsureOriginWithArg<EnsureNever<<<EthereumSignature as Verify>::Signer as IdentifyAccount>::AccountId>>
§type CallbackHandle = ()
type CallbackHandle = ()
source§impl Config for Runtime
impl Config for Runtime
§type MaxStorageRoots = ConstU32<30>
type MaxStorageRoots = ConstU32<30>
MaxStorageRoots
is a breaking change and needs a migration to clean the
RelayStorageRoots
mapping.type RelaychainStateProvider = RelaychainDataProvider<Runtime>
§type WeightInfo = WeightInfo<Runtime>
type WeightInfo = WeightInfo<Runtime>
source§impl Config for Runtime
impl Config for Runtime
§type RuntimeEvent = RuntimeEvent
type RuntimeEvent = RuntimeEvent
The ubiquitous event type.
§type MaxReserves = ConstU32<50>
type MaxReserves = ConstU32<50>
§type ReserveIdentifier = [u8; 4]
type ReserveIdentifier = [u8; 4]
§type MaxLocks = ConstU32<50>
type MaxLocks = ConstU32<50>
§type DustRemoval = ()
type DustRemoval = ()
§type ExistentialDeposit = ExistentialDeposit
type ExistentialDeposit = ExistentialDeposit
§type AccountStore = Pallet<Runtime>
type AccountStore = Pallet<Runtime>
§type FreezeIdentifier = ()
type FreezeIdentifier = ()
§type MaxFreezes = ConstU32<0>
type MaxFreezes = ConstU32<0>
§type RuntimeHoldReason = RuntimeHoldReason
type RuntimeHoldReason = RuntimeHoldReason
§type RuntimeFreezeReason = RuntimeFreezeReason
type RuntimeFreezeReason = RuntimeFreezeReason
§type WeightInfo = WeightInfo<Runtime>
type WeightInfo = WeightInfo<Runtime>
source§impl Config for Runtime
impl Config for Runtime
§type RuntimeEvent = RuntimeEvent
type RuntimeEvent = RuntimeEvent
§type OnChargeTransaction = FungibleAdapter<Pallet<Runtime>, DealWithFees<Runtime>>
type OnChargeTransaction = FungibleAdapter<Pallet<Runtime>, DealWithFees<Runtime>>
§type OperationalFeeMultiplier = ConstU8<5>
type OperationalFeeMultiplier = ConstU8<5>
Operational
extrinsics to compute “virtual tip” to boost their
priority
Read more§type WeightToFee = ConstantMultiplier<u128, ConstU128<{ currency::WEIGHT_FEE }>>
type WeightToFee = ConstantMultiplier<u128, ConstU128<{ currency::WEIGHT_FEE }>>
§type LengthToFee = LengthToFee
type LengthToFee = LengthToFee
§type FeeMultiplierUpdate = TargetedFeeAdjustment<Runtime, TargetBlockFullness, AdjustmentVariable, MinimumMultiplier, MaximumMultiplier>
type FeeMultiplierUpdate = TargetedFeeAdjustment<Runtime, TargetBlockFullness, AdjustmentVariable, MinimumMultiplier, MaximumMultiplier>
source§impl Config for Runtime
impl Config for Runtime
§type RuntimeEvent = RuntimeEvent
type RuntimeEvent = RuntimeEvent
§type InvalidEvmTransactionError = InvalidTransactionWrapper
type InvalidEvmTransactionError = InvalidTransactionWrapper
§type ValidatedTransaction = ValidatedTransaction<Runtime>
type ValidatedTransaction = ValidatedTransaction<Runtime>
§type XcmEthereumOrigin = EnsureXcmEthereumTransaction
type XcmEthereumOrigin = EnsureXcmEthereumTransaction
§type ReservedXcmpWeight = ReservedXcmpWeight
type ReservedXcmpWeight = ReservedXcmpWeight
§type EnsureProxy = EthereumXcmEnsureProxy
type EnsureProxy = EthereumXcmEnsureProxy
§type ControllerOrigin = EnsureRoot<<<EthereumSignature as Verify>::Signer as IdentifyAccount>::AccountId>
type ControllerOrigin = EnsureRoot<<<EthereumSignature as Verify>::Signer as IdentifyAccount>::AccountId>
§type ForceOrigin = EnsureRoot<<<EthereumSignature as Verify>::Signer as IdentifyAccount>::AccountId>
type ForceOrigin = EnsureRoot<<<EthereumSignature as Verify>::Signer as IdentifyAccount>::AccountId>
source§impl Config for Runtime
impl Config for Runtime
§type RuntimeEvent = RuntimeEvent
type RuntimeEvent = RuntimeEvent
§type RandomnessSource = Pallet<Runtime>
type RandomnessSource = Pallet<Runtime>
§type PotentialAuthors = Pallet<Runtime>
type PotentialAuthors = Pallet<Runtime>
type WeightInfo = WeightInfo<Runtime>
source§impl Config for Runtime
impl Config for Runtime
§type RuntimeEvent = RuntimeEvent
type RuntimeEvent = RuntimeEvent
§type RuntimeCall = RuntimeCall
type RuntimeCall = RuntimeCall
§type DepositBase = DepositBase
type DepositBase = DepositBase
§type DepositFactor = DepositFactor
type DepositFactor = DepositFactor
§type MaxSignatories = MaxSignatories
type MaxSignatories = MaxSignatories
§type WeightInfo = WeightInfo<Runtime>
type WeightInfo = WeightInfo<Runtime>
source§impl Config for Runtime
impl Config for Runtime
§type WeightInfo = WeightInfo<Runtime>
type WeightInfo = WeightInfo<Runtime>
§type RuntimeEvent = RuntimeEvent
type RuntimeEvent = RuntimeEvent
§type ManagerOrigin = EnsureRoot<<<EthereumSignature as Verify>::Signer as IdentifyAccount>::AccountId>
type ManagerOrigin = EnsureRoot<<<EthereumSignature as Verify>::Signer as IdentifyAccount>::AccountId>
§type Consideration = HoldConsideration<<<EthereumSignature as Verify>::Signer as IdentifyAccount>::AccountId, Pallet<Runtime>, PreimageHoldReason, LinearStoragePrice<PreimageBaseDeposit, PreimageByteDeposit, u128>>
type Consideration = HoldConsideration<<<EthereumSignature as Verify>::Signer as IdentifyAccount>::AccountId, Pallet<Runtime>, PreimageHoldReason, LinearStoragePrice<PreimageBaseDeposit, PreimageByteDeposit, u128>>
source§impl Config for Runtime
impl Config for Runtime
§type RuntimeEvent = RuntimeEvent
type RuntimeEvent = RuntimeEvent
§type NormalCallFilter = NormalFilter
type NormalCallFilter = NormalFilter
§type MaintenanceCallFilter = MaintenanceFilter
type MaintenanceCallFilter = MaintenanceFilter
§type MaintenanceOrigin = EnsureProportionAtLeast<<<EthereumSignature as Verify>::Signer as IdentifyAccount>::AccountId, Instance4, 5, 9>
type MaintenanceOrigin = EnsureProportionAtLeast<<<EthereumSignature as Verify>::Signer as IdentifyAccount>::AccountId, Instance4, 5, 9>
§type XcmExecutionManager = XcmExecutionManager
type XcmExecutionManager = XcmExecutionManager
source§impl Config for Runtime
impl Config for Runtime
§type AccountId = <<EthereumSignature as Verify>::Signer as IdentifyAccount>::AccountId
type AccountId = <<EthereumSignature as Verify>::Signer as IdentifyAccount>::AccountId
The identifier used to distinguish between accounts.
§type RuntimeCall = RuntimeCall
type RuntimeCall = RuntimeCall
The aggregated dispatch type that is available for extrinsics.
§type Lookup = IdentityLookup<<<EthereumSignature as Verify>::Signer as IdentifyAccount>::AccountId>
type Lookup = IdentityLookup<<<EthereumSignature as Verify>::Signer as IdentifyAccount>::AccountId>
The lookup mechanism to get account ID from whatever is passed in dispatchers.
§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>)>>
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 RuntimeEvent = RuntimeEvent
type RuntimeEvent = RuntimeEvent
The ubiquitous event type.
§type RuntimeOrigin = RuntimeOrigin
type RuntimeOrigin = RuntimeOrigin
The ubiquitous origin type.
§type RuntimeTask = RuntimeTask
type RuntimeTask = RuntimeTask
The aggregated RuntimeTask type.
§type BlockHashCount = ConstU32<256>
type BlockHashCount = ConstU32<256>
Maximum number of block number to block hash mappings to keep (oldest pruned first).
§type BlockWeights = RuntimeBlockWeights
type BlockWeights = RuntimeBlockWeights
Maximum weight of each block. With a default weight system of 1byte == 1weight, 4mb is ok.
§type BlockLength = BlockLength
type BlockLength = BlockLength
Maximum size of all encoded transactions (in bytes) that are allowed in one block.
§type SS58Prefix = ConstU16<1284>
type SS58Prefix = ConstU16<1284>
This is used as an identifier of the chain. 42 is the generic substrate prefix.
§type PalletInfo = PalletInfo
type PalletInfo = PalletInfo
§type AccountData = AccountData<u128>
type AccountData = AccountData<u128>
§type OnNewAccount = ()
type OnNewAccount = ()
§type OnKilledAccount = ()
type OnKilledAccount = ()
§type BaseCallFilter = Pallet<Runtime>
type BaseCallFilter = Pallet<Runtime>
type SystemWeightInfo = ()
§type OnSetCode = ParachainSetCode<Runtime>
type OnSetCode = ParachainSetCode<Runtime>
§type MaxConsumers = ConstU32<16>
type MaxConsumers = ConstU32<16>
§type SingleBlockMigrations = ()
type SingleBlockMigrations = ()
§type MultiBlockMigrator = ()
type MultiBlockMigrator = ()
§type PreInherents = ()
type PreInherents = ()
§type PostInherents = ()
type PostInherents = ()
§type PostTransactions = ()
type PostTransactions = ()
source§impl Config for Runtime
impl Config for Runtime
§type RuntimeEvent = RuntimeEvent
type RuntimeEvent = RuntimeEvent
type XcmExecutor = XcmExecutorWrapper<XcmExecutorConfig, XcmExecutor<XcmExecutorConfig>>
source§impl Config for Runtime
impl Config for Runtime
§type RuntimeEvent = RuntimeEvent
type RuntimeEvent = RuntimeEvent
§type CheckAssociatedRelayNumber = RelayNumberMonotonicallyIncreases
type CheckAssociatedRelayNumber = RelayNumberMonotonicallyIncreases
cumulus_pallet_parachain_system
if this pallet was not being used.§type QueuePausedQuery = (Pallet<Runtime>, NarrowOriginToSibling<Pallet<Runtime>>)
type QueuePausedQuery = (Pallet<Runtime>, NarrowOriginToSibling<Pallet<Runtime>>)
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>
type PausedThreshold = ConstU32<300>
§type FastAuthorizeUpgradeOrigin = EitherOfDiverse<EnsureRoot<<<EthereumSignature as Verify>::Signer as IdentifyAccount>::AccountId>, EnsureProportionAtLeast<<<EthereumSignature as Verify>::Signer as IdentifyAccount>::AccountId, Instance4, 5, 9>>
type FastAuthorizeUpgradeOrigin = EitherOfDiverse<EnsureRoot<<<EthereumSignature as Verify>::Signer as IdentifyAccount>::AccountId>, EnsureProportionAtLeast<<<EthereumSignature as Verify>::Signer as IdentifyAccount>::AccountId, Instance4, 5, 9>>
§type PausedToNormalOrigin = EitherOfDiverse<EnsureRoot<<<EthereumSignature as Verify>::Signer as IdentifyAccount>::AccountId>, EnsureProportionAtLeast<<<EthereumSignature as Verify>::Signer as IdentifyAccount>::AccountId, Instance4, 5, 9>>
type PausedToNormalOrigin = EitherOfDiverse<EnsureRoot<<<EthereumSignature as Verify>::Signer as IdentifyAccount>::AccountId>, EnsureProportionAtLeast<<<EthereumSignature as Verify>::Signer as IdentifyAccount>::AccountId, Instance4, 5, 9>>
source§impl Config for Runtime
impl Config for Runtime
type RuntimeEvent = RuntimeEvent
§type ChannelInfo = Pallet<Runtime>
type ChannelInfo = Pallet<Runtime>
§type VersionWrapper = Pallet<Runtime>
type VersionWrapper = Pallet<Runtime>
Xcm
into a VersionedXcm
.§type XcmpQueue = TransformOrigin<Pallet<Runtime>, AggregateMessageOrigin, Id, ParaIdToSibling>
type XcmpQueue = TransformOrigin<Pallet<Runtime>, AggregateMessageOrigin, Id, ParaIdToSibling>
§type MaxInboundSuspended = ConstU32<1000>
type MaxInboundSuspended = ConstU32<1000>
§type ControllerOrigin = EnsureRoot<<<EthereumSignature as Verify>::Signer as IdentifyAccount>::AccountId>
type ControllerOrigin = EnsureRoot<<<EthereumSignature as Verify>::Signer as IdentifyAccount>::AccountId>
§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>)
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>)
Location
origin to a
superuser origin.§type WeightInfo = WeightInfo<Runtime>
type WeightInfo = WeightInfo<Runtime>
§type PriceForSiblingDelivery = NoPriceForMessageDelivery<Id>
type PriceForSiblingDelivery = NoPriceForMessageDelivery<Id>
§type MaxActiveOutboundChannels = ConstU32<128>
type MaxActiveOutboundChannels = ConstU32<128>
§type MaxPageSize = MessageQueueHeapSize
type MaxPageSize = MessageQueueHeapSize
source§impl Config for Runtime
impl Config for Runtime
§type PalletId = TreasuryId
type PalletId = TreasuryId
§type RejectOrigin = EitherOfDiverse<EnsureRoot<<<EthereumSignature as Verify>::Signer as IdentifyAccount>::AccountId>, EnsureProportionMoreThan<<<EthereumSignature as Verify>::Signer as IdentifyAccount>::AccountId, Instance3, 1, 2>>
type RejectOrigin = EitherOfDiverse<EnsureRoot<<<EthereumSignature as Verify>::Signer as IdentifyAccount>::AccountId>, EnsureProportionMoreThan<<<EthereumSignature as Verify>::Signer as IdentifyAccount>::AccountId, Instance3, 1, 2>>
§type RuntimeEvent = RuntimeEvent
type RuntimeEvent = RuntimeEvent
§type SpendPeriod = ConstU32<{ 6 * DAYS }>
type SpendPeriod = ConstU32<{ 6 * DAYS }>
§type BurnDestination = ()
type BurnDestination = ()
§type MaxApprovals = ConstU32<100>
type MaxApprovals = ConstU32<100>
§type WeightInfo = WeightInfo<Runtime>
type WeightInfo = WeightInfo<Runtime>
§type SpendFunds = ()
type SpendFunds = ()
§type SpendOrigin = NeverEnsureOrigin<u128>
type SpendOrigin = NeverEnsureOrigin<u128>
Success
value is the maximum amount in a native asset that this origin
is allowed to spend at a time.§type Beneficiary = <<EthereumSignature as Verify>::Signer as IdentifyAccount>::AccountId
type Beneficiary = <<EthereumSignature as Verify>::Signer as IdentifyAccount>::AccountId
§type BeneficiaryLookup = IdentityLookup<<<EthereumSignature as Verify>::Signer as IdentifyAccount>::AccountId>
type BeneficiaryLookup = IdentityLookup<<<EthereumSignature as Verify>::Signer as IdentifyAccount>::AccountId>
Self::Beneficiary
].§type Paymaster = PayFromAccount<Pallet<Runtime>, TreasuryAccount>
type Paymaster = PayFromAccount<Pallet<Runtime>, TreasuryAccount>
Self::Beneficiary
].§type BalanceConverter = UnityAssetBalanceConversion
type BalanceConverter = UnityAssetBalanceConversion
Self::SpendOrigin
].§type PayoutPeriod = ConstU32<{ 30 * DAYS }>
type PayoutPeriod = ConstU32<{ 30 * DAYS }>
source§impl Config for Runtime
impl Config for Runtime
§type RuntimeEvent = RuntimeEvent
type RuntimeEvent = RuntimeEvent
§type MessageProcessor = MessageProcessorWrapper<ProcessXcmMessage<AggregateMessageOrigin, XcmExecutorWrapper<XcmExecutorConfig, XcmExecutor<XcmExecutorConfig>>, RuntimeCall>>
type MessageProcessor = MessageProcessorWrapper<ProcessXcmMessage<AggregateMessageOrigin, XcmExecutorWrapper<XcmExecutorConfig, XcmExecutor<XcmExecutorConfig>>, RuntimeCall>>
§type HeapSize = MessageQueueHeapSize
type HeapSize = MessageQueueHeapSize
§type MaxStale = MessageQueueMaxStale
type MaxStale = MessageQueueMaxStale
§type ServiceWeight = MessageQueueServiceWeight
type ServiceWeight = MessageQueueServiceWeight
on_initialize
. Read more§type QueueChangeHandler = NarrowOriginToSibling<Pallet<Runtime>>
type QueueChangeHandler = NarrowOriginToSibling<Pallet<Runtime>>
§type QueuePausedQuery = Pallet<Runtime>
type QueuePausedQuery = Pallet<Runtime>
§type WeightInfo = WeightInfo<Runtime>
type WeightInfo = WeightInfo<Runtime>
§type IdleMaxServiceWeight = MessageQueueServiceWeight
type IdleMaxServiceWeight = MessageQueueServiceWeight
on_idle
which
should be provided to the message queue for servicing enqueued items on_idle
.
Useful for parachains to process messages at the same block they are received. Read moresource§impl Config for Runtime
impl Config for Runtime
§type RuntimeEvent = RuntimeEvent
type RuntimeEvent = RuntimeEvent
§type RuntimeCall = RuntimeCall
type RuntimeCall = RuntimeCall
§type ProxyType = ProxyType
type ProxyType = ProxyType
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) }>
type ProxyDepositBase = ConstU128<{ currency::deposit(1, 8) }>
§type ProxyDepositFactor = ConstU128<{ currency::deposit(0, 21) }>
type ProxyDepositFactor = ConstU128<{ currency::deposit(0, 21) }>
§type MaxProxies = ConstU32<32>
type MaxProxies = ConstU32<32>
§type WeightInfo = WeightInfo<Runtime>
type WeightInfo = WeightInfo<Runtime>
§type MaxPending = ConstU32<32>
type MaxPending = ConstU32<32>
§type CallHasher = BlakeTwo256
type CallHasher = BlakeTwo256
§type AnnouncementDepositBase = ConstU128<{ currency::deposit(1, 8) }>
type AnnouncementDepositBase = ConstU128<{ currency::deposit(1, 8) }>
§type AnnouncementDepositFactor = ConstU128<{ currency::deposit(0, 56) }>
type AnnouncementDepositFactor = ConstU128<{ currency::deposit(0, 56) }>
source§impl Config for Runtime
impl Config for Runtime
§type RuntimeEvent = RuntimeEvent
type RuntimeEvent = RuntimeEvent
§type DepositCurrency = Pallet<Runtime>
type DepositCurrency = Pallet<Runtime>
§type DepositAmount = ConstU128<{ 100 * currency::GLMR * currency::SUPPLY_FACTOR }>
type DepositAmount = ConstU128<{ 100 * currency::GLMR * currency::SUPPLY_FACTOR }>
§type Keys = Public
type Keys = Public
§type WeightInfo = WeightInfo<Runtime>
type WeightInfo = WeightInfo<Runtime>
source§impl Config for Runtime
impl Config for Runtime
§type RuntimeEvent = RuntimeEvent
type RuntimeEvent = RuntimeEvent
§type AddressMapping = ConvertInto
type AddressMapping = ConvertInto
§type BabeDataGetter = BabeDataGetter<Runtime>
type BabeDataGetter = BabeDataGetter<Runtime>
§type VrfKeyLookup = Pallet<Runtime>
type VrfKeyLookup = Pallet<Runtime>
§type Deposit = PalletRandomnessDepositU128
type Deposit = PalletRandomnessDepositU128
§type MaxRandomWords = ConstU8<100>
type MaxRandomWords = ConstU8<100>
§type MinBlockDelay = ConstU32<2>
type MinBlockDelay = ConstU32<2>
§type MaxBlockDelay = ConstU32<2000>
type MaxBlockDelay = ConstU32<2000>
§type BlockExpirationDelay = ConstU32<10000>
type BlockExpirationDelay = ConstU32<10000>
§type EpochExpirationDelay = ConstU64<10000>
type EpochExpirationDelay = ConstU64<10000>
§type WeightInfo = WeightInfo<Runtime>
type WeightInfo = WeightInfo<Runtime>
source§impl Config for Runtime
impl Config for Runtime
§type AllowMultipleBlocksPerSlot = ConstBool<true>
type AllowMultipleBlocksPerSlot = ConstBool<true>
§type GetAndVerifySlot = RelaySlot
type GetAndVerifySlot = RelaySlot
§type ExpectedBlockTime = ConstU64<6000>
type ExpectedBlockTime = ConstU64<6000>
source§impl Config for Runtime
impl Config for Runtime
§type SlotBeacon = RelaychainDataProvider<Runtime>
type SlotBeacon = RelaychainDataProvider<Runtime>
§type AccountLookup = Pallet<Runtime>
type AccountLookup = Pallet<Runtime>
()
which acts as an identity mapping.§type CanAuthor = Pallet<Runtime>
type CanAuthor = Pallet<Runtime>
§type AuthorId = <<EthereumSignature as Verify>::Signer as IdentifyAccount>::AccountId
type AuthorId = <<EthereumSignature as Verify>::Signer as IdentifyAccount>::AccountId
type WeightInfo = WeightInfo<Runtime>
source§impl Config for Runtime
impl Config for Runtime
§type RuntimeEvent = RuntimeEvent
type RuntimeEvent = RuntimeEvent
§type Initialized = ConstBool<false>
type Initialized = ConstBool<false>
§type InitializationPayment = InitializationPayment
type InitializationPayment = InitializationPayment
type MaxInitContributors = ConstU32<500>
§type MinimumReward = ConstU128<0>
type MinimumReward = ConstU128<0>
§type RewardCurrency = Pallet<Runtime>
type RewardCurrency = Pallet<Runtime>
§type RelayChainAccountId = [u8; 32]
type RelayChainAccountId = [u8; 32]
type RewardAddressAssociateOrigin = EnsureSigned<<Runtime as Config>::AccountId>
type RewardAddressChangeOrigin = EnsureSigned<<Runtime as Config>::AccountId>
§type RewardAddressRelayVoteThreshold = RelaySignaturesThreshold
type RewardAddressRelayVoteThreshold = RelaySignaturesThreshold
§type SignatureNetworkIdentifier = SignatureNetworkIdentifier
type SignatureNetworkIdentifier = SignatureNetworkIdentifier
§type VestingBlockNumber = u32
type VestingBlockNumber = u32
§type VestingBlockProvider = RelaychainDataProvider<Runtime>
type VestingBlockProvider = RelaychainDataProvider<Runtime>
type WeightInfo = WeightInfo<Runtime>
source§impl Config for Runtime
impl Config for Runtime
§type MaxPoolSize = ConstU32<8>
type MaxPoolSize = ConstU32<8>
Maximum number of orbiters per collator
§type MaxRoundArchive = ConstU32<4>
type MaxRoundArchive = ConstU32<4>
Maximum number of round to keep on storage
§type RoundIndex = u32
type RoundIndex = u32
Round index type.
§type RuntimeEvent = RuntimeEvent
type RuntimeEvent = RuntimeEvent
§type AccountLookup = Pallet<Runtime>
type AccountLookup = Pallet<Runtime>
§type AddCollatorOrigin = EitherOfDiverse<EnsureRoot<<<EthereumSignature as Verify>::Signer as IdentifyAccount>::AccountId>, GeneralAdmin>
type AddCollatorOrigin = EitherOfDiverse<EnsureRoot<<<EthereumSignature as Verify>::Signer as IdentifyAccount>::AccountId>, GeneralAdmin>
§type DelCollatorOrigin = EitherOfDiverse<EnsureRoot<<<EthereumSignature as Verify>::Signer as IdentifyAccount>::AccountId>, GeneralAdmin>
type DelCollatorOrigin = EitherOfDiverse<EnsureRoot<<<EthereumSignature as Verify>::Signer as IdentifyAccount>::AccountId>, GeneralAdmin>
§type OrbiterReserveIdentifier = OrbiterReserveIdentifier
type OrbiterReserveIdentifier = OrbiterReserveIdentifier
§type RotatePeriod = ConstU32<1>
type RotatePeriod = ConstU32<1>
RotatePeriod
, you need a migration code that sets
ForceRotation
to true to avoid holes in OrbiterPerRound
.§type WeightInfo = WeightInfo<Runtime>
type WeightInfo = WeightInfo<Runtime>
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
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
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
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 execute_block(block: Block)
fn execute_block(block: Block)
source§fn initialize_block(
header: &<Block as BlockT>::Header
) -> ExtrinsicInclusionMode
fn initialize_block( header: &<Block as BlockT>::Header ) -> ExtrinsicInclusionMode
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
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
fn trace_transaction( extrinsics: Vec<<Block as BlockT>::Extrinsic>, traced_transaction: &EthereumTransaction, header: &<Block as BlockT>::Header ) -> Result<(), DispatchError>
fn trace_block( extrinsics: Vec<<Block as BlockT>::Extrinsic>, known_transactions: Vec<H256>, header: &<Block as BlockT>::Header ) -> Result<(), DispatchError>
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
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>
fn dry_run_call( origin: OriginCaller, call: RuntimeCall ) -> Result<CallDryRunEffects<RuntimeEvent>, XcmDryRunApiError>
source§fn dry_run_xcm(
origin_location: VersionedLocation,
xcm: VersionedXcm<RuntimeCall>
) -> Result<XcmDryRunEffects<RuntimeEvent>, XcmDryRunApiError>
fn dry_run_xcm( origin_location: VersionedLocation, xcm: VersionedXcm<RuntimeCall> ) -> Result<XcmDryRunEffects<RuntimeEvent>, XcmDryRunApiError>
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
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 account_basic(address: H160) -> EVMAccount
fn account_basic(address: H160) -> EVMAccount
source§fn account_code_at(address: H160) -> Vec<u8> ⓘ
fn account_code_at(address: H160) -> Vec<u8> ⓘ
source§fn storage_at(address: H160, index: U256) -> H256
fn storage_at(address: H160, index: U256) -> H256
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>
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>>
fn current_transaction_statuses() -> Option<Vec<TransactionStatus>>
source§fn current_block() -> Option<Block>
fn current_block() -> Option<Block>
source§fn current_receipts() -> Option<Vec<Receipt>>
fn current_receipts() -> Option<Vec<Receipt>>
fn current_all( ) -> (Option<Block>, Option<Vec<Receipt>>, Option<Vec<TransactionStatus>>)
source§fn extrinsic_filter(
xts: Vec<<Block as BlockT>::Extrinsic>
) -> Vec<EthereumTransaction>
fn extrinsic_filter( xts: Vec<<Block as BlockT>::Extrinsic> ) -> Vec<EthereumTransaction>
Vec<OpaqueExtrinsic>
and filters all the ethereum transactions.source§fn elasticity() -> Option<Permill>
fn elasticity() -> Option<Permill>
source§fn gas_limit_multiplier_support()
fn gas_limit_multiplier_support()
source§fn pending_block(
xts: Vec<<Block as Block>::Extrinsic>
) -> (Option<Block>, Option<Vec<TransactionStatus>>)
fn pending_block( xts: Vec<<Block as Block>::Extrinsic> ) -> (Option<Block>, Option<Vec<TransactionStatus>>)
source§fn initialize_pending_block(header: &<Block as BlockT>::Header)
fn initialize_pending_block(header: &<Block as BlockT>::Header)
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
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
fn build_state(config: Vec<u8>) -> Result
RuntimeGenesisConfig
from a JSON blob not using any defaults and store it in the
storage. Read moresource§fn preset_names() -> Vec<PresetId>
fn preset_names() -> Vec<PresetId>
RuntimeGenesisConfig
presets. Read moresource§impl GetRuntimeBlockType for Runtime
impl GetRuntimeBlockType for Runtime
§type RuntimeBlock = <Runtime as Config>::Block
type RuntimeBlock = <Runtime as Config>::Block
RuntimeBlock
type.source§impl IsInherent<<<Runtime as Config>::Block as Block>::Extrinsic> for Runtime
impl IsInherent<<<Runtime as Config>::Block as Block>::Extrinsic> for Runtime
source§fn is_inherent(ext: &<<Runtime as Config>::Block as Block>::Extrinsic) -> bool
fn is_inherent(ext: &<<Runtime as Config>::Block as Block>::Extrinsic) -> bool
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
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>
fn convert_location(location: VersionedLocation) -> Result<AccountId, Error>
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
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§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
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§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
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)
fn offchain_worker(header: &<Block as BlockT>::Header)
source§impl OnInactiveCollator<Runtime> for OnInactiveCollator
impl OnInactiveCollator<Runtime> for OnInactiveCollator
fn on_inactive_collator( collator_id: AccountId, round: RoundIndex ) -> Result<Weight, DispatchErrorWithPostInfo<PostDispatchInfo>>
source§impl PartialEq for Runtime
impl PartialEq for Runtime
source§impl PayoutCollatorReward<Runtime> for PayoutCollatorOrOrbiterReward
impl PayoutCollatorReward<Runtime> for PayoutCollatorOrOrbiterReward
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
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§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
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§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
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
fn query_info( uxt: <Block as BlockT>::Extrinsic, len: u32 ) -> RuntimeDispatchInfo<Balance>
fn query_fee_details( uxt: <Block as BlockT>::Extrinsic, len: u32 ) -> FeeDetails<Balance>
fn query_weight_to_fee(weight: Weight) -> Balance
fn query_length_to_fee(length: u32) -> Balance
source§impl 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
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
fn extrinsic_filter( xts_ready: Vec<<Block as BlockT>::Extrinsic>, xts_future: Vec<<Block as BlockT>::Extrinsic> ) -> TxPoolResponse
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
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§impl ValidateUnsigned for Runtime
impl ValidateUnsigned for Runtime
§type Call = RuntimeCall
type Call = RuntimeCall
source§fn pre_dispatch(call: &Self::Call) -> Result<(), TransactionValidityError>
fn pre_dispatch(call: &Self::Call) -> Result<(), TransactionValidityError>
source§fn validate_unsigned(
source: TransactionSource,
call: &Self::Call
) -> TransactionValidity
fn validate_unsigned( source: TransactionSource, call: &Self::Call ) -> TransactionValidity
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
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
fn get_last_vrf_output() -> Option<<Block as BlockT>::Hash>
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
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>
fn query_acceptable_payment_assets( xcm_version: Version ) -> Result<Vec<VersionedAssetId>, XcmPaymentApiError>
source§fn query_weight_to_asset_fee(
weight: Weight,
asset: VersionedAssetId
) -> Result<u128, XcmPaymentApiError>
fn query_weight_to_asset_fee( weight: Weight, asset: VersionedAssetId ) -> Result<u128, XcmPaymentApiError>
AssetId
. Read moreimpl Config for Runtime
impl Config for Runtime
impl Config for Runtime
impl Copy for Runtime
impl Eq for Runtime
impl StructuralPartialEq for Runtime
Auto Trait Implementations§
impl RefUnwindSafe for Runtime
impl Send for Runtime
impl Sync for Runtime
impl Unpin for Runtime
impl UnwindSafe for Runtime
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
§impl<T> CheckedConversion for T
impl<T> CheckedConversion for T
§fn checked_from<T>(t: T) -> Option<Self>where
Self: TryFrom<T>,
fn checked_from<T>(t: T) -> Option<Self>where
Self: TryFrom<T>,
§fn checked_into<T>(self) -> Option<T>where
Self: TryInto<T>,
fn checked_into<T>(self) -> Option<T>where
Self: TryInto<T>,
§impl<T> Conv for T
impl<T> Conv for T
source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
key
and return true
if they are equal.§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
§impl<T> FmtForward for T
impl<T> FmtForward for T
§fn fmt_binary(self) -> FmtBinary<Self>where
Self: Binary,
fn fmt_binary(self) -> FmtBinary<Self>where
Self: Binary,
self
to use its Binary
implementation when Debug
-formatted.§fn fmt_display(self) -> FmtDisplay<Self>where
Self: Display,
fn fmt_display(self) -> FmtDisplay<Self>where
Self: Display,
self
to use its Display
implementation when
Debug
-formatted.§fn fmt_lower_exp(self) -> FmtLowerExp<Self>where
Self: LowerExp,
fn fmt_lower_exp(self) -> FmtLowerExp<Self>where
Self: LowerExp,
self
to use its LowerExp
implementation when
Debug
-formatted.§fn fmt_lower_hex(self) -> FmtLowerHex<Self>where
Self: LowerHex,
fn fmt_lower_hex(self) -> FmtLowerHex<Self>where
Self: LowerHex,
self
to use its LowerHex
implementation when
Debug
-formatted.§fn fmt_octal(self) -> FmtOctal<Self>where
Self: Octal,
fn fmt_octal(self) -> FmtOctal<Self>where
Self: Octal,
self
to use its Octal
implementation when Debug
-formatted.§fn fmt_pointer(self) -> FmtPointer<Self>where
Self: Pointer,
fn fmt_pointer(self) -> FmtPointer<Self>where
Self: Pointer,
self
to use its Pointer
implementation when
Debug
-formatted.§fn fmt_upper_exp(self) -> FmtUpperExp<Self>where
Self: UpperExp,
fn fmt_upper_exp(self) -> FmtUpperExp<Self>where
Self: UpperExp,
self
to use its UpperExp
implementation when
Debug
-formatted.§fn fmt_upper_hex(self) -> FmtUpperHex<Self>where
Self: UpperHex,
fn fmt_upper_hex(self) -> FmtUpperHex<Self>where
Self: UpperHex,
self
to use its UpperHex
implementation when
Debug
-formatted.§fn fmt_list(self) -> FmtList<Self>where
&'a Self: for<'a> IntoIterator,
fn fmt_list(self) -> FmtList<Self>where
&'a Self: for<'a> IntoIterator,
§impl<T> Instrument for T
impl<T> Instrument for T
§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
source§impl<T> IntoEither for T
impl<T> IntoEither for T
source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moresource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read more§impl<T> IsType<T> for T
impl<T> IsType<T> for T
§impl<T, Outer> IsWrappedBy<Outer> for T
impl<T, Outer> IsWrappedBy<Outer> for T
source§impl<Src, Dst> LossyInto<Dst> for Srcwhere
Dst: LossyFrom<Src>,
impl<Src, Dst> LossyInto<Dst> for Srcwhere
Dst: LossyFrom<Src>,
source§fn lossy_into(self) -> Dst
fn lossy_into(self) -> Dst
§impl<T> Pipe for Twhere
T: ?Sized,
impl<T> Pipe for Twhere
T: ?Sized,
§fn pipe<R>(self, func: impl FnOnce(Self) -> R) -> Rwhere
Self: Sized,
fn pipe<R>(self, func: impl FnOnce(Self) -> R) -> Rwhere
Self: Sized,
§fn pipe_ref<'a, R>(&'a self, func: impl FnOnce(&'a Self) -> R) -> Rwhere
R: 'a,
fn pipe_ref<'a, R>(&'a self, func: impl FnOnce(&'a Self) -> R) -> Rwhere
R: 'a,
self
and passes that borrow into the pipe function. Read more§fn pipe_ref_mut<'a, R>(&'a mut self, func: impl FnOnce(&'a mut Self) -> R) -> Rwhere
R: 'a,
fn pipe_ref_mut<'a, R>(&'a mut self, func: impl FnOnce(&'a mut Self) -> R) -> Rwhere
R: 'a,
self
and passes that borrow into the pipe function. Read more§fn pipe_borrow<'a, B, R>(&'a self, func: impl FnOnce(&'a B) -> R) -> R
fn pipe_borrow<'a, B, R>(&'a self, func: impl FnOnce(&'a B) -> R) -> R
§fn pipe_borrow_mut<'a, B, R>(
&'a mut self,
func: impl FnOnce(&'a mut B) -> R
) -> R
fn pipe_borrow_mut<'a, B, R>( &'a mut self, func: impl FnOnce(&'a mut B) -> R ) -> R
§fn pipe_as_ref<'a, U, R>(&'a self, func: impl FnOnce(&'a U) -> R) -> R
fn pipe_as_ref<'a, U, R>(&'a self, func: impl FnOnce(&'a U) -> R) -> R
self
, then passes self.as_ref()
into the pipe function.§fn pipe_as_mut<'a, U, R>(&'a mut self, func: impl FnOnce(&'a mut U) -> R) -> R
fn pipe_as_mut<'a, U, R>(&'a mut self, func: impl FnOnce(&'a mut U) -> R) -> R
self
, then passes self.as_mut()
into the pipe
function.§fn pipe_deref<'a, T, R>(&'a self, func: impl FnOnce(&'a T) -> R) -> R
fn pipe_deref<'a, T, R>(&'a self, func: impl FnOnce(&'a T) -> R) -> R
self
, then passes self.deref()
into the pipe function.§impl<T> Pointable for T
impl<T> Pointable for T
§impl<T> SaturatedConversion for T
impl<T> SaturatedConversion for T
§fn saturated_from<T>(t: T) -> Selfwhere
Self: UniqueSaturatedFrom<T>,
fn saturated_from<T>(t: T) -> Selfwhere
Self: UniqueSaturatedFrom<T>,
§fn saturated_into<T>(self) -> Twhere
Self: UniqueSaturatedInto<T>,
fn saturated_into<T>(self) -> Twhere
Self: UniqueSaturatedInto<T>,
T
. Read more§impl<T> Tap for T
impl<T> Tap for T
§fn tap_borrow<B>(self, func: impl FnOnce(&B)) -> Self
fn tap_borrow<B>(self, func: impl FnOnce(&B)) -> Self
Borrow<B>
of a value. Read more§fn tap_borrow_mut<B>(self, func: impl FnOnce(&mut B)) -> Self
fn tap_borrow_mut<B>(self, func: impl FnOnce(&mut B)) -> Self
BorrowMut<B>
of a value. Read more§fn tap_ref<R>(self, func: impl FnOnce(&R)) -> Self
fn tap_ref<R>(self, func: impl FnOnce(&R)) -> Self
AsRef<R>
view of a value. Read more§fn tap_ref_mut<R>(self, func: impl FnOnce(&mut R)) -> Self
fn tap_ref_mut<R>(self, func: impl FnOnce(&mut R)) -> Self
AsMut<R>
view of a value. Read more§fn tap_deref<T>(self, func: impl FnOnce(&T)) -> Self
fn tap_deref<T>(self, func: impl FnOnce(&T)) -> Self
Deref::Target
of a value. Read more§fn tap_deref_mut<T>(self, func: impl FnOnce(&mut T)) -> Self
fn tap_deref_mut<T>(self, func: impl FnOnce(&mut T)) -> Self
Deref::Target
of a value. Read more§fn tap_dbg(self, func: impl FnOnce(&Self)) -> Self
fn tap_dbg(self, func: impl FnOnce(&Self)) -> Self
.tap()
only in debug builds, and is erased in release builds.§fn tap_mut_dbg(self, func: impl FnOnce(&mut Self)) -> Self
fn tap_mut_dbg(self, func: impl FnOnce(&mut Self)) -> Self
.tap_mut()
only in debug builds, and is erased in release
builds.§fn tap_borrow_dbg<B>(self, func: impl FnOnce(&B)) -> Self
fn tap_borrow_dbg<B>(self, func: impl FnOnce(&B)) -> Self
.tap_borrow()
only in debug builds, and is erased in release
builds.§fn tap_borrow_mut_dbg<B>(self, func: impl FnOnce(&mut B)) -> Self
fn tap_borrow_mut_dbg<B>(self, func: impl FnOnce(&mut B)) -> Self
.tap_borrow_mut()
only in debug builds, and is erased in release
builds.§fn tap_ref_dbg<R>(self, func: impl FnOnce(&R)) -> Self
fn tap_ref_dbg<R>(self, func: impl FnOnce(&R)) -> Self
.tap_ref()
only in debug builds, and is erased in release
builds.§fn tap_ref_mut_dbg<R>(self, func: impl FnOnce(&mut R)) -> Self
fn tap_ref_mut_dbg<R>(self, func: impl FnOnce(&mut R)) -> Self
.tap_ref_mut()
only in debug builds, and is erased in release
builds.§fn tap_deref_dbg<T>(self, func: impl FnOnce(&T)) -> Self
fn tap_deref_dbg<T>(self, func: impl FnOnce(&T)) -> Self
.tap_deref()
only in debug builds, and is erased in release
builds.§impl<T> TryConv for T
impl<T> TryConv for T
§impl<T, U> TryIntoKey<U> for Twhere
U: TryFromKey<T>,
impl<T, U> TryIntoKey<U> for Twhere
U: TryFromKey<T>,
type Error = <U as TryFromKey<T>>::Error
fn try_into_key(self) -> Result<U, <U as TryFromKey<T>>::Error>
§impl<S, T> UncheckedInto<T> for Swhere
T: UncheckedFrom<S>,
impl<S, T> UncheckedInto<T> for Swhere
T: UncheckedFrom<S>,
§fn unchecked_into(self) -> T
fn unchecked_into(self) -> T
unchecked_from
.§impl<T, S> UniqueSaturatedInto<T> for S
impl<T, S> UniqueSaturatedInto<T> for S
§fn unique_saturated_into(self) -> T
fn unique_saturated_into(self) -> T
T
.