Struct phronesis_runtime::Runtime
source · pub struct Runtime;
Implementations§
source§impl Runtime
impl Runtime
pub(crate) fn metadata_ir() -> MetadataIR
pub fn metadata() -> RuntimeMetadataPrefixed
pub fn metadata_at_version(version: u32) -> Option<OpaqueMetadata>
pub fn metadata_versions() -> Vec<u32>
Trait Implementations§
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>)>>, <<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>)>>, <<EthereumSignature as Verify>::Signer as IdentifyAccount>::AccountId, u32> for Runtime
source§fn account_nonce(account: AccountId) -> Nonce
fn account_nonce(account: AccountId) -> Nonce
AccountId
.source§impl AuraApiV1<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>)>>, Public> for Runtime
impl AuraApiV1<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>)>>, Public> for Runtime
source§fn slot_duration() -> SlotDuration
fn slot_duration() -> SlotDuration
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>)>>> 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>)>>> 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 Config for Runtime
impl Config for Runtime
§type FullIdentification = Exposure<<<EthereumSignature as Verify>::Signer as IdentifyAccount>::AccountId, u128>
type FullIdentification = Exposure<<<EthereumSignature as Verify>::Signer as IdentifyAccount>::AccountId, u128>
§type FullIdentificationOf = ExposureOf<Runtime>
type FullIdentificationOf = ExposureOf<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<64>
type ExtraDataLength = ConstU32<64>
source§impl Config for Runtime
impl Config for Runtime
§type RuntimeEvent = RuntimeEvent
type RuntimeEvent = RuntimeEvent
§type BasicDeposit = BasicDeposit
type BasicDeposit = BasicDeposit
§type FieldDeposit = FieldDeposit
type FieldDeposit = FieldDeposit
§type SubAccountDeposit = SubAccountDeposit
type SubAccountDeposit = SubAccountDeposit
§type MaxSubAccounts = ConstU32<60>
type MaxSubAccounts = ConstU32<60>
§type MaxAdditionalFields = ConstU32<60>
type MaxAdditionalFields = ConstU32<60>
§type MaxRegistrars = ConstU32<15>
type MaxRegistrars = ConstU32<15>
§type ForceOrigin = EnsureRoot<<<EthereumSignature as Verify>::Signer as IdentifyAccount>::AccountId>
type ForceOrigin = EnsureRoot<<<EthereumSignature as Verify>::Signer as IdentifyAccount>::AccountId>
§type RegistrarOrigin = EnsureRoot<<<EthereumSignature as Verify>::Signer as IdentifyAccount>::AccountId>
type RegistrarOrigin = EnsureRoot<<<EthereumSignature as Verify>::Signer as IdentifyAccount>::AccountId>
§type WeightInfo = SubstrateWeight<Runtime>
type WeightInfo = SubstrateWeight<Runtime>
source§impl Config for Runtime
impl Config for Runtime
§type RuntimeEvent = RuntimeEvent
type RuntimeEvent = RuntimeEvent
The ubiquitous event type.
§type WeightInfo = SubstrateWeight<Runtime>
type WeightInfo = SubstrateWeight<Runtime>
§type DustRemoval = ()
type DustRemoval = ()
§type ExistentialDeposit = ConstU128<EXISTENTIAL_DEPOSIT>
type ExistentialDeposit = ConstU128<EXISTENTIAL_DEPOSIT>
§type AccountStore = Pallet<Runtime>
type AccountStore = Pallet<Runtime>
§type ReserveIdentifier = [u8; 8]
type ReserveIdentifier = [u8; 8]
§type RuntimeHoldReason = RuntimeHoldReason
type RuntimeHoldReason = RuntimeHoldReason
§type FreezeIdentifier = ()
type FreezeIdentifier = ()
§type MaxLocks = ConstU32<50>
type MaxLocks = ConstU32<50>
§type MaxReserves = ()
type MaxReserves = ()
§type MaxFreezes = ()
type MaxFreezes = ()
source§impl Config for Runtime
impl Config for Runtime
type RuntimeEvent = RuntimeEvent
§type BanHandler = Pallet<Runtime>
type BanHandler = Pallet<Runtime>
§type EraInfoProvider = Pallet<Runtime>
type EraInfoProvider = Pallet<Runtime>
§type ValidatorProvider = Pallet<Runtime>
type ValidatorProvider = Pallet<Runtime>
§type ValidatorRewardsHandler = Pallet<Runtime>
type ValidatorRewardsHandler = Pallet<Runtime>
§type ValidatorExtractor = Pallet<Runtime>
type ValidatorExtractor = Pallet<Runtime>
type FinalityCommitteeManager = Pallet<Runtime>
§type SessionPeriod = SessionPeriod
type SessionPeriod = SessionPeriod
source§impl Config for Runtime
impl Config for Runtime
type RuntimeEvent = RuntimeEvent
§type AuthorityId = Public
type AuthorityId = Public
§type MaxAuthorities = ConstU32<100000>
type MaxAuthorities = ConstU32<100000>
type SessionPeriod = SessionPeriod
type MaxSplits = ConstU32<3>
§type DisabledValidators = ()
type DisabledValidators = ()
§type AllowMultipleBlocksPerSlot = ConstBool<false>
type AllowMultipleBlocksPerSlot = ConstBool<false>
source§impl Config for Runtime
impl Config for Runtime
§type OnTimestampSet = Pallet<Runtime>
type OnTimestampSet = Pallet<Runtime>
()
if not
needed.§type MinimumPeriod = ConstU64<{ SLOT_DURATION / 2 }>
type MinimumPeriod = ConstU64<{ SLOT_DURATION / 2 }>
§type WeightInfo = SubstrateWeight<Runtime>
type WeightInfo = SubstrateWeight<Runtime>
source§impl Config for Runtime
impl Config for Runtime
§type FindAuthor = FindAccountFromAuthorIndex<Runtime, Pallet<Runtime>>
type FindAuthor = FindAccountFromAuthorIndex<Runtime, Pallet<Runtime>>
§type EventHandler = (Pallet<Runtime>,)
type EventHandler = (Pallet<Runtime>,)
source§impl Config for Runtime
impl Config for Runtime
§type MinGasPriceBoundDivisor = GasPriceBoundDivisor
type MinGasPriceBoundDivisor = GasPriceBoundDivisor
source§impl Config for Runtime
impl Config for Runtime
§type RuntimeEvent = RuntimeEvent
type RuntimeEvent = RuntimeEvent
The ubiquitous event type.
§type BaseCallFilter = Everything
type BaseCallFilter = Everything
The basic call filter to use in dispatchable.
§type BlockWeights = BlockWeights
type BlockWeights = BlockWeights
Block & extrinsics weights: base values and limits.
§type BlockLength = BlockLength
type BlockLength = BlockLength
The maximum length of a block (in bytes).
§type RuntimeOrigin = RuntimeOrigin
type RuntimeOrigin = RuntimeOrigin
The ubiquitous origin type.
§type RuntimeCall = RuntimeCall
type RuntimeCall = RuntimeCall
The aggregated dispatch type that is available for extrinsics.
§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 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 BlockHashCount = BlockHashCount
type BlockHashCount = BlockHashCount
Maximum number of block number to block hash mappings to keep (oldest pruned first).
§type DbWeight = RocksDbWeight
type DbWeight = RocksDbWeight
The weight of database operations that the runtime can invoke.
§type PalletInfo = PalletInfo
type PalletInfo = PalletInfo
Converts a module to the index of the module in construct_runtime!
.
This type is being generated by construct_runtime!
.
§type AccountData = AccountData<u128>
type AccountData = AccountData<u128>
The data to be stored in an account.
§type OnNewAccount = ()
type OnNewAccount = ()
What to do if a new account is created.
§type OnKilledAccount = ()
type OnKilledAccount = ()
What to do if an account is fully reaped from the system.
§type SystemWeightInfo = SubstrateWeight<Runtime>
type SystemWeightInfo = SubstrateWeight<Runtime>
Weight information for the extrinsics of this pallet.
§type SS58Prefix = SS58Prefix
type SS58Prefix = SS58Prefix
This is used as an identifier of the chain. 42 is the generic substrate prefix.
§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>)>>
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>)>>
construct_runtime
to retrieve the
extrinsics or other block specific data as needed.§type MaxConsumers = ConstU32<16>
type MaxConsumers = ConstU32<16>
source§impl Config for Runtime
impl Config for Runtime
§type CurrencyBalance = u128
type CurrencyBalance = u128
Currency::Balance
type; we have this item to allow us to constrain it to
From<u64>
.§type CurrencyToVote = U128CurrencyToVote
type CurrencyToVote = U128CurrencyToVote
u64
but is allowed to be sensibly lossy. The u64
is used to communicate with the
[frame_election_provider_support
] crate which accepts u64 numbers and does operations
in 128.
Consequently, the backward convert is used convert the u128s from sp-elections back to a
[BalanceOf
].§type ElectionProvider = Pallet<Runtime>
type ElectionProvider = Pallet<Runtime>
§type GenesisElectionProvider = Pallet<Runtime>
type GenesisElectionProvider = Pallet<Runtime>
§type NominationsQuota = FixedNominationsQuota<MAX_NOMINATIONS>
type NominationsQuota = FixedNominationsQuota<MAX_NOMINATIONS>
§type HistoryDepth = ConstU32<100>
type HistoryDepth = ConstU32<100>
§type RewardRemainder = Pallet<Runtime>
type RewardRemainder = Pallet<Runtime>
§type RuntimeEvent = RuntimeEvent
type RuntimeEvent = RuntimeEvent
§type Reward = ()
type Reward = ()
OnUnbalanced
should modify the total
issuance.§type SessionsPerEra = SessionsPerEra
type SessionsPerEra = SessionsPerEra
§type BondingDuration = BondingDuration
type BondingDuration = BondingDuration
§type SlashDeferDuration = SlashDeferDuration
type SlashDeferDuration = SlashDeferDuration
§type AdminOrigin = EnsureRoot<<<EthereumSignature as Verify>::Signer as IdentifyAccount>::AccountId>
type AdminOrigin = EnsureRoot<<<EthereumSignature as Verify>::Signer as IdentifyAccount>::AccountId>
§type SessionInterface = Runtime
type SessionInterface = Runtime
§type EraPayout = ConvertCurve<RewardCurve>
type EraPayout = ConvertCurve<RewardCurve>
§type NextNewSession = Pallet<Runtime>
type NextNewSession = Pallet<Runtime>
§type MaxNominatorRewardedPerValidator = ConstU32<100>
type MaxNominatorRewardedPerValidator = ConstU32<100>
§type OffendingValidatorsThreshold = OffendngValidatorsThreshold
type OffendingValidatorsThreshold = OffendngValidatorsThreshold
§type VoterList = UseNominatorsAndValidatorsMap<Runtime>
type VoterList = UseNominatorsAndValidatorsMap<Runtime>
§type TargetList = UseValidatorsMap<Runtime>
type TargetList = UseValidatorsMap<Runtime>
§type MaxUnlockingChunks = ConstU32<16>
type MaxUnlockingChunks = ConstU32<16>
unlocking
chunks a [StakingLedger
] can
have. Effectively determines how many unique eras a staker may be
unbonding in. Read more§type EventListeners = ()
type EventListeners = ()
§type BenchmarkingConfig = StakingBenchmarkingConfig
type BenchmarkingConfig = StakingBenchmarkingConfig
§type WeightInfo = SubstrateWeight<Runtime>
type WeightInfo = SubstrateWeight<Runtime>
source§impl Config for Runtime
impl Config for Runtime
§type RuntimeEvent = RuntimeEvent
type RuntimeEvent = RuntimeEvent
§type ValidatorId = <Runtime as Config>::AccountId
type ValidatorId = <Runtime as Config>::AccountId
§type ValidatorIdOf = IdentityValidator
type ValidatorIdOf = IdentityValidator
§type ShouldEndSession = PeriodicSessions<SessionPeriod, Offset>
type ShouldEndSession = PeriodicSessions<SessionPeriod, Offset>
§type NextSessionRotation = PeriodicSessions<SessionPeriod, Offset>
type NextSessionRotation = PeriodicSessions<SessionPeriod, Offset>
ShouldEndSession
], yet, it gives a best effort
estimate. It is helpful to implement [EstimateNextNewSession
].§type SessionManager = Pallet<Runtime>
type SessionManager = Pallet<Runtime>
§type SessionHandler = <SessionKeys as OpaqueKeys>::KeyTypeIdProviders
type SessionHandler = <SessionKeys as OpaqueKeys>::KeyTypeIdProviders
§type Keys = SessionKeys
type Keys = SessionKeys
§type WeightInfo = SubstrateWeight<Runtime>
type WeightInfo = SubstrateWeight<Runtime>
source§impl Config for Runtime
impl Config for Runtime
§type ApproveOrigin = EnsureSignedBy<TreasuryGovernance, <<EthereumSignature as Verify>::Signer as IdentifyAccount>::AccountId>
type ApproveOrigin = EnsureSignedBy<TreasuryGovernance, <<EthereumSignature as Verify>::Signer as IdentifyAccount>::AccountId>
§type RejectOrigin = EnsureSignedBy<TreasuryGovernance, <<EthereumSignature as Verify>::Signer as IdentifyAccount>::AccountId>
type RejectOrigin = EnsureSignedBy<TreasuryGovernance, <<EthereumSignature as Verify>::Signer as IdentifyAccount>::AccountId>
§type RuntimeEvent = RuntimeEvent
type RuntimeEvent = RuntimeEvent
§type OnSlash = ()
type OnSlash = ()
§type ProposalBond = ProposalBond
type ProposalBond = ProposalBond
§type ProposalBondMinimum = ProposalBondMinimum
type ProposalBondMinimum = ProposalBondMinimum
§type ProposalBondMaximum = ()
type ProposalBondMaximum = ()
§type SpendPeriod = SpendPeriod
type SpendPeriod = SpendPeriod
§type PalletId = TreasuryPalletId
type PalletId = TreasuryPalletId
§type BurnDestination = ()
type BurnDestination = ()
§type WeightInfo = SubstrateWeight<Runtime>
type WeightInfo = SubstrateWeight<Runtime>
§type SpendFunds = ()
type SpendFunds = ()
§type MaxApprovals = ConstU32<100>
type MaxApprovals = ConstU32<100>
§type SpendOrigin = EnsureWithSuccess<EnsureRoot<<<EthereumSignature as Verify>::Signer as IdentifyAccount>::AccountId>, <<EthereumSignature as Verify>::Signer as IdentifyAccount>::AccountId, MaxBalance>
type SpendOrigin = EnsureWithSuccess<EnsureRoot<<<EthereumSignature as Verify>::Signer as IdentifyAccount>::AccountId>, <<EthereumSignature as Verify>::Signer as IdentifyAccount>::AccountId, MaxBalance>
Success
value is the maximum amount that this origin is allowed to
spend at a time.source§impl Config for Runtime
impl Config for Runtime
§type RuntimeEvent = RuntimeEvent
type RuntimeEvent = RuntimeEvent
§type OnChargeTransaction = CurrencyAdapter<Pallet<Runtime>, DealWithFees<Runtime>>
type OnChargeTransaction = CurrencyAdapter<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<{ phronesis::WEIGHT_FEE }>>
type WeightToFee = ConstantMultiplier<u128, ConstU128<{ phronesis::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 FeeCalculator = TransactionPaymentGasPrice
type FeeCalculator = TransactionPaymentGasPrice
§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 = FrontierPrecompiles<Runtime>
type PrecompilesType = FrontierPrecompiles<Runtime>
type PrecompilesValue = PrecompilesValue
§type BlockGasLimit = BlockGasLimit
type BlockGasLimit = BlockGasLimit
§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 FindAuthor = PhronFindAuthor<FindAccountFromAuthorIndex<Runtime, Pallet<Runtime>>>
type FindAuthor = PhronFindAuthor<FindAccountFromAuthorIndex<Runtime, Pallet<Runtime>>>
§type GasLimitPovSizeRatio = GasLimitPovSizeRatio
type GasLimitPovSizeRatio = GasLimitPovSizeRatio
§type WeightInfo = SubstrateWeight<Runtime>
type WeightInfo = SubstrateWeight<Runtime>
source§impl Config for Runtime
impl Config for Runtime
§type RuntimeEvent = RuntimeEvent
type RuntimeEvent = RuntimeEvent
§type ReservationFee = ConstU128<1000>
type ReservationFee = ConstU128<1000>
§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 AuthorityId = Public
type RuntimeEvent = RuntimeEvent
type SessionInfoProvider = SessionInfoImpl
type SessionManager = SessionAndEraManager<Pallet<Runtime>, Pallet<Runtime>, NoteHistoricalRoot<Runtime, Pallet<Runtime>>, Runtime>
type NextSessionAuthorityProvider = Pallet<Runtime>
source§impl Config for Runtime
impl Config for Runtime
§type RuntimeEvent = RuntimeEvent
type RuntimeEvent = RuntimeEvent
§type RuntimeCall = RuntimeCall
type RuntimeCall = RuntimeCall
§type WeightInfo = SubstrateWeight<Runtime>
type WeightInfo = SubstrateWeight<Runtime>
source§impl Config for Runtime
impl Config for Runtime
type RuntimeEvent = RuntimeEvent
§type DataProvider = Pallet<Runtime>
type DataProvider = Pallet<Runtime>
type ValidatorProvider = Pallet<Runtime>
§type MaxWinners = MaxWinners
type MaxWinners = MaxWinners
ElectionProvider
implementation. Read moretype BannedValidators = Pallet<Runtime>
source§impl Config for Runtime
impl Config for Runtime
type RuntimeEvent = RuntimeEvent
§type Threshold = BaseFeeThreshold
type Threshold = BaseFeeThreshold
BaseFeePerGas
.type DefaultBaseFeePerGas = DefaultBaseFeePerGas
type DefaultElasticity = DefaultElasticity
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>)>>> 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>)>>> for Runtime
fn convert_transaction(transaction: Transaction) -> <Block as Block>::Extrinsic
source§impl CoreV4<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>)>>> for Runtime
impl CoreV4<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>)>>> for Runtime
source§impl<LocalCall> CreateSignedTransaction<LocalCall> for Runtimewhere
RuntimeCall: From<LocalCall>,
impl<LocalCall> CreateSignedTransaction<LocalCall> for Runtimewhere
RuntimeCall: From<LocalCall>,
source§fn create_transaction<C: AppCrypto<Self::Public, Self::Signature>>(
call: RuntimeCall,
public: <Signature as Verify>::Signer,
account: AccountId,
index: Index
) -> Option<(RuntimeCall, <UncheckedExtrinsic as Extrinsic>::SignaturePayload)>
fn create_transaction<C: AppCrypto<Self::Public, Self::Signature>>( call: RuntimeCall, public: <Signature as Verify>::Signer, account: AccountId, index: Index ) -> Option<(RuntimeCall, <UncheckedExtrinsic as Extrinsic>::SignaturePayload)>
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>)>>> 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>)>>> for Runtime
source§fn account_basic(address: H160) -> Account
fn account_basic(address: H160) -> Account
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 Block>::Extrinsic>) -> Vec<Transaction>
fn extrinsic_filter(xts: Vec<<Block as Block>::Extrinsic>) -> Vec<Transaction>
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§impl GetRuntimeBlockType for Runtime
impl GetRuntimeBlockType for Runtime
§type RuntimeBlock = <Runtime as Config>::Block
type RuntimeBlock = <Runtime as Config>::Block
RuntimeBlock
type.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>)>>> 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>)>>> 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>)>>> 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>)>>> for Runtime
source§fn offchain_worker(header: &<Block as BlockT>::Header)
fn offchain_worker(header: &<Block as BlockT>::Header)
source§impl PartialEq for Runtime
impl PartialEq for Runtime
source§impl PhronSessionApiV1<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>)>>> for Runtime
impl PhronSessionApiV1<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>)>>> for Runtime
fn millisecs_per_block() -> u64
fn session_period() -> u32
fn finality_version() -> FinalityVersion
fn next_session_finality_version() -> FinalityVersion
source§impl<C> SendTransactionTypes<C> for Runtimewhere
RuntimeCall: From<C>,
impl<C> SendTransactionTypes<C> for Runtimewhere
RuntimeCall: From<C>,
§type Extrinsic = 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>)>
type Extrinsic = 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>)>
§type OverarchingCall = RuntimeCall
type OverarchingCall = RuntimeCall
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>)>>> 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>)>>> for Runtime
source§impl SigningTypes for Runtime
impl SigningTypes for Runtime
§type Public = <EthereumSignature as Verify>::Signer
type Public = <EthereumSignature as Verify>::Signer
AccountId
s. Read more§type Signature = EthereumSignature
type Signature = EthereumSignature
Signature
type.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>)>>> 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>)>>> 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>)>>, 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>)>>, 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 TransactionPaymentCallApiV3<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>)>>, u128, RuntimeCall> for Runtime
impl TransactionPaymentCallApiV3<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>)>>, u128, RuntimeCall> for Runtime
source§fn query_call_info(call: RuntimeCall, len: u32) -> RuntimeDispatchInfo<Balance>
fn query_call_info(call: RuntimeCall, len: u32) -> RuntimeDispatchInfo<Balance>
Call
.source§fn query_call_fee_details(call: RuntimeCall, len: u32) -> FeeDetails<Balance>
fn query_call_fee_details(call: RuntimeCall, len: u32) -> FeeDetails<Balance>
Call
.source§fn query_weight_to_fee(weight: Weight) -> Balance
fn query_weight_to_fee(weight: Weight) -> Balance
WeightToFee
given some input.source§fn query_length_to_fee(length: u32) -> Balance
fn query_length_to_fee(length: u32) -> Balance
LengthToFee
given some input.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
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>,
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<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
§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<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
.