pub struct Runtime;

Implementations§

source§

impl Runtime

source

pub fn metadata() -> RuntimeMetadataPrefixed

source

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

source

pub fn metadata_versions() -> Vec<u32>

Trait Implementations§

source§

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

source§

fn account_nonce(account: AccountId) -> Nonce

Get current account nonce of given AccountId.
source§

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

source§

fn slot_duration() -> SlotDuration

Returns the slot duration for Aura. Read more
source§

fn authorities() -> Vec<AuraId>

Return the current set of authorities.
source§

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

source§

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

Apply the given extrinsic. Read more
source§

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

Finish the current block.
source§

fn inherent_extrinsics(data: InherentData) -> Vec<<Block as BlockT>::Extrinsic>

Generate inherent extrinsics. The inherent data will vary from chain to chain.
source§

fn check_inherents(block: Block, data: InherentData) -> CheckInherentsResult

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

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

source§

fn into_system(self) -> Option<RawOrigin<<Runtime as Config>::AccountId>>

Extract the signer from the message if it is a Signed origin.
source§

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

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

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

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

fn is_root(&self) -> bool

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

fn is_none(&self) -> bool

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

impl Clone for Runtime

source§

fn clone(&self) -> Runtime

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

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

Performs copy-assignment from source. Read more
source§

impl Config<()> for Runtime

§

type ApprovalDeposit = ApprovalDeposit

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

type AssetAccountDeposit = AssetAccountDeposit

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

type AssetDeposit = AssetDeposit

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

type AssetId = u32

Identifier for the class of asset.
§

type AssetIdParameter = u32

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

type Balance = u128

The units in which we record balances.
§

type CallbackHandle = ()

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

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

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

type Currency = Pallet<Runtime, ()>

The currency mechanism.
§

type Extra = ()

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

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

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

type Freezer = ()

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

type MetadataDepositBase = MetadataDepositBase

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

type MetadataDepositPerByte = MetadataDepositPerByte

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

type RemoveItemsLimit = ConstU32<1>

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

type RuntimeEvent = RuntimeEvent

The overarching event type.
§

type StringLimit = AssetsStringLimit

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

type WeightInfo = ()

Weight information for extrinsics in this pallet.
source§

impl Config<()> for Runtime

§

type BridgedChain = Blake2ValU32Chain

The chain we are bridging to here.
§

type EpochOffset = ConstU32<2400>

§

type FastConfirmationOffset = ConstU32<0>

§

type FinalizedConfirmationOffset = ConstU32<0>

§

type HeadersToStore = HeadersToStore

Maximal number of finalized headers to keep in the storage. Read more
§

type LightClientAsyncAPI = Pallet<Runtime>

§

type MyVendor = RococoVendor

§

type RationalConfirmationOffset = ConstU32<0>

§

type RuntimeEvent = RuntimeEvent

§

type WeightInfo = ()

Weights gathered through benchmarking.
source§

impl Config<()> for Runtime

§

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

Origin from which approvals must come.
§

type Burn = ()

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

type BurnDestination = ()

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

type Currency = Pallet<Runtime, ()>

The staking balance.
§

type MaxApprovals = MaxApprovals

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

type OnSlash = Pallet<Runtime, Instance4>

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

type PalletId = TreasuryId

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

type ProposalBond = ProposalBond

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

type ProposalBondMaximum = ()

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

type ProposalBondMinimum = ProposalBondMinimum

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

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

Origin from which rejections must come.
§

type RuntimeEvent = RuntimeEvent

The overarching event type.
§

type SpendFunds = ()

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

type SpendOrigin = NeverEnsureOrigin<u128>

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

type SpendPeriod = SpendPeriod

Period between successive spends.
§

type WeightInfo = SubstrateWeight<Runtime>

Weight information for extrinsics in this pallet.
source§

impl Config<()> for Runtime

§

type Balance = u128

The type for recording an account’s balance.

§

type RuntimeEvent = RuntimeEvent

The ubiquitous event type.

§

type AccountStore = Pallet<Runtime>

The means of storing the balances of an account.
§

type DustRemoval = ()

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

type ExistentialDeposit = ExistentialDeposit

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

type FreezeIdentifier = ()

The ID type for freezes.
§

type MaxFreezes = ConstU32<0>

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

type MaxHolds = ConstU32<0>

The maximum number of holds that can exist on an account at any time.
§

type MaxLocks = ConstU32<50>

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

type MaxReserves = ()

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

type ReserveIdentifier = [u8; 8]

The ID type for reserves. Read more
§

type RuntimeHoldReason = RuntimeHoldReason

The overarching hold reason.
§

type WeightInfo = SubstrateWeight<Runtime>

Weight information for extrinsics in this pallet.
source§

impl Config<Instance1> for Runtime

§

type BridgedChain = Blake2ValU32Chain

The chain we are bridging to here.
§

type EpochOffset = ConstU32<2400>

§

type FastConfirmationOffset = ConstU32<0>

§

type FinalizedConfirmationOffset = ConstU32<0>

§

type HeadersToStore = HeadersToStore

Maximal number of finalized headers to keep in the storage. Read more
§

type LightClientAsyncAPI = Pallet<Runtime>

§

type MyVendor = PolkadotVendor

§

type RationalConfirmationOffset = ConstU32<0>

§

type RuntimeEvent = RuntimeEvent

§

type WeightInfo = ()

Weights gathered through benchmarking.
source§

impl Config<Instance1> for Runtime

§

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

Origin from which approvals must come.
§

type Burn = ()

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

type BurnDestination = ()

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

type Currency = Pallet<Runtime, ()>

The staking balance.
§

type MaxApprovals = MaxApprovals

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

type OnSlash = Pallet<Runtime, Instance4>

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

type PalletId = EscrowTreasuryId

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

type ProposalBond = ProposalBond

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

type ProposalBondMaximum = ()

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

type ProposalBondMinimum = ProposalBondMinimum

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

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

Origin from which rejections must come.
§

type RuntimeEvent = RuntimeEvent

The overarching event type.
§

type SpendFunds = ()

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

type SpendOrigin = NeverEnsureOrigin<u128>

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

type SpendPeriod = SpendPeriod

Period between successive spends.
§

type WeightInfo = SubstrateWeight<Runtime>

Weight information for extrinsics in this pallet.
source§

impl Config for Runtime

§

type CallFilter = Nothing

The safest default is to allow no calls at all.

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

§

type AddressGenerator = DefaultAddressGenerator

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

type CallStack = [Frame<Runtime>; 5]

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

type ChainExtension = ()

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

type Currency = Pallet<Runtime, ()>

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

type DefaultDepositLimit = DefaultDepositLimit

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

type DepositPerByte = DepositPerByte

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

type DepositPerItem = DepositPerItem

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

type MaxCodeLen = ConstU32<{ 123 * 1024 }>

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

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

The maximum length of the debug buffer in bytes.
§

type MaxStorageKeyLen = ConstU32<128>

The maximum allowable length in bytes for storage keys.
§

type Migrations = (NoopMigration<1>, NoopMigration<2>)

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

type Randomness = Pallet<Runtime>

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

type RuntimeCall = RuntimeCall

The overarching call type.
§

type RuntimeEvent = RuntimeEvent

The overarching event type.
§

type Schedule = Schedule

Cost schedule and limits.
§

type ThreeVm = Pallet<Runtime>

Make this pallet 3VM enabled
§

type Time = Pallet<Runtime>

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

type UnsafeUnstableInterface = ConstBool<true>

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

type WeightInfo = SubstrateWeight<Runtime>

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

type WeightPrice = Pallet<Runtime>

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

impl Config for Runtime

source§

impl Config for Runtime

§

type EquivocationReportSystem = ()

The equivocation handling subsystem, defines methods to check/report an offence and for submitting a transaction to report an equivocation (from an offchain context).
§

type KeyOwnerProof = Void

The proof of key ownership, used for validating equivocation reports The proof include the session index and validator count of the session at which the equivocation occurred.
§

type MaxAuthorities = ConstU32<32>

Max Authorities in use
§

type MaxSetIdSessionEntries = ConstU64<0>

The maximum number of entries to keep in the set id to session index mapping. Read more
§

type RuntimeEvent = RuntimeEvent

The event type of this module.
§

type WeightInfo = ()

Weights for this pallet.
source§

impl Config for Runtime

§

type AccountData = AccountData<u128>

The data to be stored in an account.

§

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

The identifier used to distinguish between accounts.

§

type BaseCallFilter = Everything

The basic call filter to use in dispatchable.

§

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

The header type.

§

type BlockHashCount = BlockHashCount

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

§

type BlockLength = RuntimeBlockLength

The maximum length of a block (in bytes).

§

type BlockWeights = RuntimeBlockWeights

Block & extrinsics weights: base values and limits.

§

type DbWeight = RocksDbWeight

The weight of database operations that the runtime can invoke.

§

type Hash = H256

The type for hashing blocks and tries.

§

type Hashing = BlakeTwo256

The hashing algorithm used.

§

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

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

§

type Nonce = u32

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

§

type OnKilledAccount = ()

What to do if an account is fully reaped from the system.

§

type OnNewAccount = ()

What to do if a new account is created.

§

type OnSetCode = ()

The set code logic, just the default since we’re not a parachain.

§

type PalletInfo = PalletInfo

Converts a module to the index of the module in construct_runtime!.

This type is being generated by construct_runtime!.

§

type RuntimeCall = RuntimeCall

The aggregated dispatch type that is available for extrinsics.

§

type RuntimeEvent = RuntimeEvent

The ubiquitous event type.

§

type RuntimeOrigin = RuntimeOrigin

The ubiquitous origin type.

§

type SS58Prefix = SS58Prefix

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

§

type SystemWeightInfo = ()

Weight information for the extrinsics of this pallet.

§

type Version = Version

Version of the runtime.

§

type MaxConsumers = ConstU32<16>

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

impl Config for Runtime

§

type AccountManager = Pallet<Runtime>

§

type AttesterBootstrapRewards = AttesterBootstrapRewards

§

type AttesterInflation = AttesterInflation

The attester’s portion of the total inflation, expressed as a Perbill. Read more
§

type Attesters = Pallet<Runtime>

§

type AvailableBootstrapSpenditure = AvailableBootstrapSpenditure

§

type Clock = Pallet<Runtime>

§

type CollatorBootstrapRewards = CollatorBootstrapRewards

§

type CollatorInflation = CollatorInflation

The collator’s portion of the total inflation, expressed as a Perbill. Read more
§

type Currency = Pallet<Runtime, ()>

§

type ExecutorBootstrapRewards = ExecutorBootstrapRewards

§

type ExecutorInflation = ExecutorInflation

The executor’s portion of the total inflation, expressed as a Perbill. Read more
§

type FindAuthor = ()

Find the author of a block.
§

type InflationDistributionPeriod = InflationDistributionPeriod

The number of blocks between inflation distribution. Read more
§

type OneYear = OneYear

The number of blocks in one year. Read more
§

type RuntimeEvent = RuntimeEvent

§

type StartingRepatriationPercentage = StartingRepatriationPercentage

§

type TotalInflation = TotalInflation

The total inflation per year, expressed as a Perbill. Read more
§

type TreasuryAccounts = Runtime

§

type TreasuryInflation = TreasuryInflation

The treasury’s portion of the total inflation, expressed as a Perbill. Read more
source§

impl Config for Runtime

§

type HeadersToStore = CelestiaHeadersToStore

§

type LightClientAsyncAPI = Pallet<Runtime>

§

type RuntimeEvent = RuntimeEvent

§

type WeightInfo = SubstrateWeight<Runtime>

Weights gathered through benchmarking.
source§

impl Config for Runtime

§

type Moment = u64

A timestamp: milliseconds since the unix epoch.

§

type MinimumPeriod = ConstU64<{ SLOT_DURATION / 12 / 2 }>

The minimum period between blocks. Beware that this is different to the expected period that the block production apparatus provides. Your chosen consensus system will generally work with this to determine a sensible block time. e.g. For Aura, it will be double this period on default settings.
§

type OnTimestampSet = Pallet<Runtime>

Something which can be notified when the timestamp is set. Set this to () if not needed.
§

type WeightInfo = ()

Weight information for extrinsics in this pallet.
source§

impl Config for Runtime

§

type ExtraDataLength = ConstU32<30>

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

type PostLogContent = PostBlockAndTxnHashes

What’s included in the PostLog.
§

type RuntimeEvent = RuntimeEvent

The overarching event type.
§

type StateRoot = IntermediateStateRoot<Runtime>

How Ethereum state root is calculated.
source§

impl Config for Runtime

§

type Fungibles = Pallet<Runtime, ()>

The fungibles instance used to pay for transactions in assets.
§

type OnChargeAssetTransaction = FungiblesAdapter<BalanceToAssetBalance<Pallet<Runtime, ()>, Runtime, ConvertInto, ()>, CreditToBlockAuthor>

The actual transaction charging logic that charges the fees.
§

type RuntimeEvent = RuntimeEvent

The overarching event type.
source§

impl Config for Runtime

§

type AddressMapping = EvmAddressMapping<Runtime>

Mapping from address to account id.
§

type BlockGasLimit = BlockGasLimit

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

type BlockHashMapping = SubstrateBlockHashMapping<Runtime>

Block number to block hash.
§

type CallOrigin = EnsureAddressTruncated

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

type ChainId = ChainId

Chain ID of EVM.
§

type Currency = Pallet<Runtime, ()>

Currency type for withdraw and balance storage.
§

type FeeCalculator = FixedGasPrice

Calculator for current gas price.
§

type FindAuthor = FindAuthorTruncated<Pallet<Runtime>>

Find author for the current block.
§

type GasLimitPovSizeRatio = GasLimitPovSizeRatio

Gas limit Pov size ratio.
§

type GasWeightMapping = FixedGasWeightMapping<Runtime>

Maps Ethereum gas to Substrate weight.
§

type OnChargeTransaction = EVMCurrencyAdapter<Pallet<Runtime, ()>, ToStakingPot>

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

type OnCreate = ()

Called on create calls, used to record owner
§

type PrecompilesType = T3rnPrecompiles<Runtime>

Precompiles associated with this EVM engine.
§

type PrecompilesValue = PrecompilesValue

§

type Runner = Runner<Runtime>

EVM execution runner.
§

type RuntimeEvent = RuntimeEvent

The overarching event type.
§

type ThreeVm = Pallet<Runtime>

Make this pallet 3VM enabled
§

type Timestamp = Pallet<Runtime>

Get the timestamp for the current block.
§

type WeightInfo = ()

Weight information for extrinsics in this pallet.
§

type WeightPerGas = WeightPerGas

Weight corresponding to a gas unit.
§

type WithdrawOrigin = EnsureAddressTruncated

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

fn config() -> &'static Config

EVM config used in the module.
source§

impl Config for Runtime

§

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

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

type LengthToFee = ConstantMultiplier<u128, TransactionByteFee>

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

type OnChargeTransaction = AccountManagerCurrencyAdapter<Pallet<Runtime, ()>, ()>

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

type OperationalFeeMultiplier = ConstU8<5>

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

type RuntimeEvent = RuntimeEvent

The overarching event type.
§

type WeightToFee = IdentityFee<u128>

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

impl Config for Runtime

§

type AllowMultipleBlocksPerSlot = ConstBool<false>

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

type AuthorityId = Public

The identifier type for an authority.
§

type DisabledValidators = ()

A way to check whether a given validator is disabled and should not be authoring blocks. Blocks authored by a disabled validator will lead to a panic as part of this module’s initialization.
§

type MaxAuthorities = ConstU32<32>

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

impl Config for Runtime

source§

impl Config for Runtime

§

type Balances = Pallet<Runtime, ()>

A type that provides inspection and mutation to some fungible assets
§

type Currency = Pallet<Runtime, ()>

§

type RuntimeEvent = RuntimeEvent

The overarching event type.
§

type WeightInfo = SubstrateWeight<Runtime>

Type representing the weight of this pallet
source§

impl Config for Runtime

§

type BasicDeposit = BasicDeposit

The amount held on deposit for a registered identity
§

type Currency = Pallet<Runtime, ()>

The currency trait.
§

type FieldDeposit = FieldDeposit

The amount held on deposit per additional field for a registered identity.
§

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

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

type MaxAdditionalFields = MaxAdditionalFields

Maximum number of additional fields that may be stored in an ID. Needed to bound the I/O required to access an identity, but can be pretty high.
§

type MaxRegistrars = MaxRegistrars

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

type MaxSubAccounts = MaxSubAccounts

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

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

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

type RuntimeEvent = RuntimeEvent

The overarching event type.
§

type Slashed = ()

What to do with slashed funds.
§

type SubAccountDeposit = SubAccountDeposit

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

type WeightInfo = SubstrateWeight<Runtime>

Weight information for extrinsics in this pallet.
source§

impl Config for Runtime

source§

impl Config for Runtime

§

type AssetsOverlay = Runtime

§

type AttestersRead = Pallet<Runtime>

§

type Balances = Pallet<Runtime, ()>

A type that provides inspection and mutation to some fungible assets
§

type CircuitDLQ = Pallet<Runtime>

§

type Currency = Pallet<Runtime, ()>

§

type Portal = Pallet<Runtime>

§

type RuntimeEvent = RuntimeEvent

The overarching event type.
§

type SelfGatewayId = SelfGatewayId

§

type SelfTokenId = ConstU32<3333>

§

type Time = Pallet<Runtime>

§

type TreasuryAccounts = Runtime

§

type WeightInfo = SubstrateWeight<Runtime>

Type representing the weight of this pallet
source§

impl Config for Runtime

§

type Currency = Pallet<Runtime, ()>

Currency access
§

type RuntimeEvent = RuntimeEvent

Because this pallet emits events, it depends on the runtime’s definition of an event.
§

type SelectLightClient = SelectLightClientRegistry

Selects the light client implementation
§

type WeightInfo = SubstrateWeight<Runtime>

Type representing the weight of this pallet
§

type Xdns = Pallet<Runtime>

Access to XDNS pallet
source§

impl Config for Runtime

§

type OnFinalizeQueues = EmptyOnHookQueues<Runtime>

§

type OnInitializeQueues = GlobalOnInitQueues

Description of on_initialize queues and their max. consumption of % of total on_init weight. The first element of the tuple is the queue name, the second is the max. % of total on_init weight.}
§

type RoundDuration = ConstU32<300>

§

type RuntimeEvent = RuntimeEvent

The overarching event type.
source§

impl Config for Runtime

§

type EventHandler = ()

An event handler for authored blocks.
§

type FindAuthor = ()

Find the author of a block.
source§

impl Config for Runtime

§

type AccountManager = Pallet<Runtime>

The account manager that handles the escrow pool
§

type AddressMapping = EvmAddressMapping<Runtime>

§

type AssetId = u32

Asset Id for the account manager
§

type CircuitTargetId = CircuitTargetId

The ID of the circuit
§

type ContractsRegistry = Pallet<Runtime>

The pallet that handles the contracts registry, used to fetch contracts
§

type Currency = Pallet<Runtime, ()>

§

type EscrowAccount = EscrowAccount

The address of the escrow account
§

type OnLocalTrigger = Pallet<Runtime>

A provider that will give us access to on_local_trigger
§

type Portal = Pallet<Runtime>

Inject access to portal so contracts can use light clients
§

type RuntimeEvent = RuntimeEvent

§

type SignalBounceThreshold = ConstU32<2>

Determines the tolerance of debouncing signal requests that have already been sent.
§

type VacuumEVMApi = Pallet<Runtime>

source§

impl Config for Runtime

§

type AddressMapping = EvmAddressMapping<Runtime>

§

type CircuitSubmitAPI = Pallet<Runtime>

§

type Currency = Pallet<Runtime, ()>

§

type ReadSFX = Pallet<Runtime>

§

type RewardsWriteApi = Pallet<Runtime>

§

type RuntimeEvent = RuntimeEvent

§

type WeightInfo = SubstrateWeight<Runtime>

§

type Xdns = Pallet<Runtime>

source§

impl Config for Runtime

§

type PalletsOrigin = OriginCaller

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

type RuntimeCall = RuntimeCall

The overarching call type.
§

type RuntimeEvent = RuntimeEvent

The overarching event type.
§

type WeightInfo = SubstrateWeight<Runtime>

Weight information for extrinsics in this pallet.
source§

impl Config for Runtime

§

type MaintenanceCallFilter = MaintenanceFilter

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

type MaintenanceExecutiveHooks = (Pallet<Runtime>, Pallet<Runtime>, Pallet<Runtime>, Pallet<Runtime>, Pallet<Runtime>, Pallet<Runtime, ()>, Pallet<Runtime>, Pallet<Runtime, ()>, Pallet<Runtime>, Pallet<Runtime>, Pallet<Runtime, ()>, Pallet<Runtime, Instance1>, Pallet<Runtime, Instance2>, Pallet<Runtime, Instance3>, Pallet<Runtime, Instance4>, Pallet<Runtime>, Pallet<Runtime>, Pallet<Runtime>, Pallet<Runtime>, Pallet<Runtime>, Pallet<Runtime>, Pallet<Runtime>, Pallet<Runtime>, Pallet<Runtime>, Pallet<Runtime>, Pallet<Runtime>, Pallet<Runtime>, Pallet<Runtime>, Pallet<Runtime, ()>, Pallet<Runtime, Instance1>, Pallet<Runtime, Instance2>, Pallet<Runtime>, Pallet<Runtime>, Pallet<Runtime>, Pallet<Runtime>, Pallet<Runtime>, Pallet<Runtime>, Pallet<Runtime>)

The executive hooks that will be used in maintenance mode Important: Use AllPalletsWithSystem here if you dont want to modify the hooks behaviour
§

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

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

type NormalCallFilter = BaseCallFilter

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

type NormalExecutiveHooks = (Pallet<Runtime>, Pallet<Runtime>, Pallet<Runtime>, Pallet<Runtime>, Pallet<Runtime>, Pallet<Runtime, ()>, Pallet<Runtime>, Pallet<Runtime, ()>, Pallet<Runtime>, Pallet<Runtime>, Pallet<Runtime, ()>, Pallet<Runtime, Instance1>, Pallet<Runtime, Instance2>, Pallet<Runtime, Instance3>, Pallet<Runtime, Instance4>, Pallet<Runtime>, Pallet<Runtime>, Pallet<Runtime>, Pallet<Runtime>, Pallet<Runtime>, Pallet<Runtime>, Pallet<Runtime>, Pallet<Runtime>, Pallet<Runtime>, Pallet<Runtime>, Pallet<Runtime>, Pallet<Runtime>, Pallet<Runtime>, Pallet<Runtime, ()>, Pallet<Runtime, Instance1>, Pallet<Runtime, Instance2>, Pallet<Runtime>, Pallet<Runtime>, Pallet<Runtime>, Pallet<Runtime>, Pallet<Runtime>, Pallet<Runtime>, Pallet<Runtime>)

Handler to suspend and resume XCM execution The DMP handler to be used in maintenance mode TODO: remove once https://github.com/paritytech/polkadot/pull/5035 is merged The executive hooks that will be used in normal operating mode Important: Use AllPalletsWithSystem here if you dont want to modify the hooks behaviour
§

type RuntimeEvent = RuntimeEvent

Overarching event type
source§

impl Config for Runtime

§

type RuntimeCall = RuntimeCall

A sudo-able call.
§

type RuntimeEvent = RuntimeEvent

The overarching event type.
§

type WeightInfo = ()

Type representing the weight of this pallet
source§

impl Config for Runtime

§

type AddressMapping = EvmAddressMapping<Runtime>

Mapping from address to account id.
§

type ChainId = ChainId

Chain ID of EVM.
§

type Currency = Pallet<Runtime, ()>

The Currency for managing Evm account assets.
§

type NetworkTreasuryAccount = TreasuryModuleAccount

The network treasury account
§

type RuntimeEvent = RuntimeEvent

§

type StorageDepositFee = StorageDepositFee

Storage deposit free charged when saving data into the blockchain.
source§

impl Config for Runtime

§

type AssetBalanceOf = ConvertInto

§

type AssetId = u32

§

type Assets = Pallet<Runtime, ()>

§

type Clock = Pallet<Runtime>

§

type Currency = Pallet<Runtime, ()>

§

type EscrowAccount = EscrowAccount

§

type Executors = ExecutorsMock<Runtime>

§

type RuntimeEvent = RuntimeEvent

The overarching event type.
§

type Time = Pallet<Runtime>

Type providing some time handler
§

type WeightInfo = ()

Type representing the weight of this pallet
source§

impl Config for Runtime

§

type AccountManager = Pallet<Runtime>

A type that provides access to AccountManager
§

type Attesters = Pallet<Runtime>

§

type Balances = Pallet<Runtime, ()>

A type that provides inspection and mutation to some fungible assets
§

type Currency = Pallet<Runtime, ()>

§

type DeletionQueueLimit = ConstU32<100>

The Circuit’s deletion queue limit - preventing potential delay when queue is too long in on_initialize
§

type Executors = ExecutorsMock<Runtime>

§

type Portal = Pallet<Runtime>

A type that gives access to the new portal functionality
§

type RuntimeEvent = RuntimeEvent

The overarching event type.
§

type SFXBiddingPeriod = ConstU32<3>

The Circuit’s SFX Bidding Period
§

type SelfAccountId = CircuitAccountId

The Circuit’s account id
§

type SelfGatewayId = SelfGatewayId

The Circuit’s self gateway id
§

type SelfParaId = ConstU32<3333>

The Circuit’s self parachain id
§

type SignalQueueDepth = ConstU32<5>

The maximum number of signals that can be queued for handling. Read more
§

type TreasuryAccounts = Runtime

§

type WeightInfo = SubstrateWeight<Runtime>

Weight information for extrinsics in this pallet.
§

type Xdns = Pallet<Runtime>

A type that provides access to Xdns
§

type XtxTimeoutCheckInterval = ConstU32<10>

The Circuit’s Xtx timeout check interval
§

type XtxTimeoutDefault = ConstU32<400>

The Circuit’s Default Xtx timeout
source§

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

source§

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

source§

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

source§

fn version() -> RuntimeVersion

Returns the version of the runtime.
source§

fn execute_block(block: Block)

Execute the given block.
source§

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

Initialize a block with the given header.
source§

impl Debug for Runtime

source§

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

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

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

source§

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

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

impl EscrowTrait<Runtime> for Runtime

§

type Currency = Pallet<Runtime, ()>

§

type Time = Pallet<Runtime>

source§

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

source§

fn chain_id() -> u64

Returns runtime defined pallet_evm::ChainId.
source§

fn account_basic(address: H160) -> Account

Returns pallet_evm::Accounts by address.
source§

fn gas_price() -> U256

Returns FixedGasPrice::min_gas_price
source§

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

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

fn author() -> H160

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

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

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

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

source§

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

source§

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

Return the current transaction status.
source§

fn current_block() -> Option<Block>

Return the current block.
source§

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

Return the current receipt.
source§

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

source§

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

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

fn elasticity() -> Option<Permill>

Return the elasticity multiplier.
source§

fn gas_limit_multiplier_support()

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

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

Return the pending block.
source§

impl GetRuntimeBlockType for Runtime

§

type RuntimeBlock = <Runtime as Config>::Block

The RuntimeBlock type.
source§

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

source§

fn grandpa_authorities() -> AuthorityList

Get the current GRANDPA authorities and weights. This should not change except for when changes are scheduled and the corresponding delay has passed. Read more
source§

fn current_set_id() -> SetId

Get current GRANDPA authority set id.
source§

fn submit_report_equivocation_unsigned_extrinsic( _equivocation_proof: EquivocationProof<<Block as BlockT>::Hash, NumberFor<Block>>, _key_owner_proof: OpaqueKeyOwnershipProof ) -> Option<()>

Submits an unsigned extrinsic to report an equivocation. The caller must provide the equivocation proof and a key ownership proof (should be obtained using generate_key_ownership_proof). The extrinsic will be unsigned and should only be accepted for local authorship (not to be broadcast to the network). This method returns None when creation of the extrinsic fails, e.g. if equivocation reporting is disabled for the given runtime (i.e. this method is hardcoded to return None). Only useful in an offchain context.
source§

fn generate_key_ownership_proof( _set_id: SetId, _authority_id: GrandpaId ) -> Option<OpaqueKeyOwnershipProof>

Generates a proof of key ownership for the given authority in the given set. An example usage of this module is coupled with the session historical module to prove that a given authority key is tied to a given staking identity during a specific session. Proofs of key ownership are necessary for submitting equivocation reports. NOTE: even though the API takes a set_id as parameter the current implementations ignore this parameter and instead rely on this method being called at the correct block height, i.e. any point at which the given set id is live on-chain. Future implementations will instead use indexed data through an offchain worker, not requiring older states to be available.
source§

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

source§

fn metadata() -> OpaqueMetadata

Returns the metadata of a runtime.
source§

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

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

fn metadata_versions() -> Vec<u32>

Returns the supported metadata versions. Read more
source§

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

source§

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

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

impl OnHookQueues<Runtime> for GlobalOnInitQueues

source§

fn process(n: BlockNumber, on_init_weight_limit: Weight) -> Weight

source§

fn process_bi_weekly(_n: BlockNumber, hook_weight_limit: Weight) -> Weight

source§

fn process_weekly(_n: BlockNumber, _hook_weight_limit: Weight) -> Weight

source§

fn process_daily(_n: BlockNumber, _hook_weight_limit: Weight) -> Weight

source§

fn process_hourly(n: BlockNumber, hook_weight_limit: Weight) -> Weight

source§

impl PalletAssetsOverlay<Runtime, u128> for Runtime

source§

fn contains_asset(asset_id: &AssetId) -> bool

source§

fn force_create_asset( origin: RuntimeOrigin, asset_id: AssetId, admin: AccountId, is_sufficient: bool, min_balance: Balance ) -> DispatchResult

source§

fn mint( origin: RuntimeOrigin, asset_id: AssetId, user: AccountId, amount: Balance ) -> DispatchResult

source§

fn burn( origin: RuntimeOrigin, asset_id: AssetId, user: AccountId, amount: Balance ) -> DispatchResult

source§

fn destroy( origin: RuntimeOrigin, asset_id: &AssetId ) -> DispatchResultWithPostInfo

source§

impl PartialEq<Runtime> for Runtime

source§

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

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

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

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

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

source§

fn fetch_head_height(chain_id: ChainId) -> Option<u128>

Returns the current head height of the given chain
source§

fn fetch_all_active_xtx( for_executor: AccountId ) -> Vec<(Hash, Vec<SideEffect<AccountId, Balance>>, Vec<Hash>)>

source§

impl SelectLightClient<Runtime> for SelectLightClientRegistry

source§

impl<C> SendTransactionTypes<C> for Runtimewhere RuntimeCall: From<C>,

§

type Extrinsic = UncheckedExtrinsic<MultiAddress<<<MultiSignature as Verify>::Signer as IdentifyAccount>::AccountId, ()>, RuntimeCall, MultiSignature, (CheckNonZeroSender<Runtime>, CheckSpecVersion<Runtime>, CheckTxVersion<Runtime>, CheckGenesis<Runtime>, CheckMortality<Runtime>, CheckNonce<Runtime>, CheckWeight<Runtime>, ChargeAssetTxPayment<Runtime>)>

The extrinsic type expected by the runtime.
§

type OverarchingCall = RuntimeCall

The runtime’s call type. Read more
source§

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

source§

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

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

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

Decode the given public session keys. Read more
source§

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

source§

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

Validate the transaction. Read more
source§

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

source§

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

source§

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

source§

fn query_weight_to_fee(weight: Weight) -> Balance

source§

fn query_length_to_fee(length: u32) -> Balance

source§

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

source§

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

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

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

Query fee details of a given encoded Call.
source§

fn query_weight_to_fee(weight: Weight) -> Balance

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

fn query_length_to_fee(length: u32) -> Balance

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

impl TreasuryAccountProvider<<<MultiSignature as Verify>::Signer as IdentifyAccount>::AccountId> for Runtime

source§

impl TypeInfo for Runtime

§

type Identity = Runtime

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

fn type_info() -> Type

Returns the static type identifier for Self.
source§

impl ValidateUnsigned for Runtime

§

type Call = RuntimeCall

The call to validate
source§

fn pre_dispatch(call: &Self::Call) -> Result<(), TransactionValidityError>

Validate the call right before dispatch. Read more
source§

fn validate_unsigned( source: TransactionSource, call: &Self::Call ) -> TransactionValidity

Return the validity of the call Read more
source§

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

source§

fn fetch_records() -> Vec<GatewayRecord<AccountId>>

Returns metadata for all known Blockchains
source§

fn fetch_full_gateway_records() -> Vec<FullGatewayRecord<AccountId>>

source§

fn fetch_abi(_chain_id: ChainId) -> Option<GatewayABIConfig>

Returns the GatewayABIConfig for a given ChainId
source§

fn retreive_treasury_address(treasury_account: TreasuryAccount) -> AccountId

source§

impl Config for Runtime

source§

impl Copy for Runtime

source§

impl Eq for Runtime

source§

impl StructuralEq for Runtime

source§

impl StructuralPartialEq for Runtime

Auto Trait Implementations§

Blanket Implementations§

source§

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

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

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

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

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

source§

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

Mutably borrows from an owned value. Read more
§

impl<T> CheckedConversion for T

§

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

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

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

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

impl<T> Conv for T

§

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

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

impl<T> Downcast for Twhere T: Any,

§

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

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

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

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

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

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

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

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

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

§

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

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

impl<T> DynClone for Twhere T: Clone,

source§

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

source§

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

source§

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

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

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

§

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

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

impl<T> FmtForward for T

§

fn fmt_binary(self) -> FmtBinary<Self>where Self: Binary,

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

fn fmt_display(self) -> FmtDisplay<Self>where Self: Display,

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

fn fmt_lower_exp(self) -> FmtLowerExp<Self>where Self: LowerExp,

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

fn fmt_lower_hex(self) -> FmtLowerHex<Self>where Self: LowerHex,

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

fn fmt_octal(self) -> FmtOctal<Self>where Self: Octal,

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

fn fmt_pointer(self) -> FmtPointer<Self>where Self: Pointer,

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

fn fmt_upper_exp(self) -> FmtUpperExp<Self>where Self: UpperExp,

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

fn fmt_upper_hex(self) -> FmtUpperHex<Self>where Self: UpperHex,

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

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

Formats each item in a sequence. Read more
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

source§

impl<T> Instrument for T

source§

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

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

fn in_current_span(self) -> Instrumented<Self>

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

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

source§

fn into(self) -> U

Calls U::from(self).

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

§

impl<T> IsType<T> for T

§

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

Cast reference.
§

fn into_ref(&self) -> &T

Cast reference.
§

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

Cast mutable reference.
§

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

Cast mutable reference.
§

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

§

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

Get a reference to the inner from the outer.

§

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

Get a mutable reference to the inner from the outer.

§

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

§

fn pipe<R>(self, func: impl FnOnce(Self) -> R) -> Rwhere Self: Sized,

Pipes by value. This is generally the method you want to use. Read more
§

fn pipe_ref<'a, R>(&'a self, func: impl FnOnce(&'a Self) -> R) -> Rwhere R: 'a,

Borrows self and passes that borrow into the pipe function. Read more
§

fn pipe_ref_mut<'a, R>(&'a mut self, func: impl FnOnce(&'a mut Self) -> R) -> Rwhere R: 'a,

Mutably borrows self and passes that borrow into the pipe function. Read more
§

fn pipe_borrow<'a, B, R>(&'a self, func: impl FnOnce(&'a B) -> R) -> Rwhere Self: Borrow<B>, B: 'a + ?Sized, R: 'a,

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

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

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

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

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

fn pipe_as_mut<'a, U, R>(&'a mut self, func: impl FnOnce(&'a mut U) -> R) -> Rwhere Self: AsMut<U>, U: 'a + ?Sized, R: 'a,

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

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

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

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

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

impl<T> Pointable for T

§

const ALIGN: usize = mem::align_of::<T>()

The alignment of pointer.
§

type Init = T

The type for initializers.
§

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

Initializes a with the given initializer. Read more
§

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

Dereferences the given pointer. Read more
§

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

Mutably dereferences the given pointer. Read more
§

unsafe fn drop(ptr: usize)

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

impl<T> Same<T> for T

§

type Output = T

Should always be Self
§

impl<T> SaturatedConversion for T

§

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

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

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

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

impl<T> Tap for T

§

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

Immutable access to a value. Read more
§

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

Mutable access to a value. Read more
§

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

impl<T> ToOwned for Twhere T: Clone,

§

type Owned = T

The resulting type after obtaining ownership.
source§

fn to_owned(&self) -> T

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

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

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

impl<T> TryConv for T

§

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

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

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

§

type Error = Infallible

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

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

Performs the conversion.
source§

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

§

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

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

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

Performs the conversion.
§

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

§

fn unchecked_into(self) -> T

The counterpart to unchecked_from.
§

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

§

fn unique_saturated_into(self) -> T

Consume self to return an equivalent value of T.
§

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

§

fn vzip(self) -> V

source§

impl<T> WithSubscriber for T

source§

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

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

fn with_current_subscriber(self) -> WithDispatch<Self>

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

impl<T> JsonSchemaMaybe for T

§

impl<T> MaybeDebug for Twhere T: Debug,

§

impl<T> MaybeDebug for Twhere T: Debug,

§

impl<T> MaybeRefUnwindSafe for Twhere T: RefUnwindSafe,

§

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

§

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