pub struct ParachainRuntime;

Implementations§

Trait Implementations§

Returns a copy of the value. Read more
Performs copy-assignment from source. Read more
The balance of an account.
The overarching event type.
Handler for the unbalanced reduction when removing a dust account.
The minimum amount required to keep an account open.
The means of storing the balances of an account.
The maximum number of locks that should exist on an account. Not strictly enforced, but used for weight estimation. Read more
Weight information for extrinsics in this pallet.
The maximum number of named reserves that can exist on an account.
The id type for named reserves.
The basic call filter to use in Origin. All origins are built with this filter as base, except Root. Read more
Block & extrinsics weights: base values and limits.
The maximum length of a block (in bytes).
The weight of runtime database operations the runtime can invoke.
The Origin type used by dispatchable calls.
The aggregated Call type.
Account index (aka nonce) type. This stores the number of previous transactions associated with a sender account. Read more
The block number type used by the runtime.
The output of the Hashing function.
The hashing system (algorithm) being used in the runtime (e.g. Blake2).
The user account identifier type for the runtime.
Converting trait to take a source type and convert to AccountId. Read more
The block header.
The aggregated event type of the runtime.
Maximum number of block number to block hash mappings to keep (oldest pruned first).
Get the chain’s current version.
Provides information about the pallet setup in the runtime. Read more
Data to be associated with an account (other than nonce/transaction counter, which this pallet does regardless). Read more
Handler for when a new account has just been created.
A function that is invoked when an account has been determined to be dead. Read more
The designated SS58 prefix of this chain. Read more
What to do if the runtime wants to change the code to something new. Read more
The maximum number of consumers allowed on a single account.
The overarching event type.
Something which can be notified when the validation data is set.
Returns the parachain ID we are running with.
The message handler that will be invoked when messages are received via DMP.
The weight we reserve at the beginning of the block for processing DMP messages.
The place where outbound XCMP messages come from. This is queried in finalize_block.
The message handler that will be invoked when messages are received via XCMP. Read more
The weight we reserve at the beginning of the block for processing XCMP messages.
Something that can check the associated relay parent block number.
The overarching event type.
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. Read more
A fee mulitplier for Operational extrinsics to compute “virtual tip” to boost their priority Read more
Convert a weight value into a deductible fee based on the currency type.
Update the multiplier of the next block, based on the previous block’s weight.
Convert a length value into a deductible fee based on the currency type.
Because this pallet emits events, it depends on the runtime’s definition of an event.
The origin which can add/remove accepted currencies
Multi Currency
Spot price provider
Weight information for the extrinsics.
Should fee be paid for setting a currency
Convert a weight value into a deductible fee based on the currency type.
Native Asset
Account where fees are deposited
Something to execute an XCM message. We need this to service the XCMoXCMP queue.
Information on the avaialble XCMP channels.
Means of converting an Xcm into a VersionedXcm.
The origin that is allowed to execute overweight messages.
The origin that is allowed to resume or suspend the XCMP queue.
The conversion function used to attempt to convert an XCM MultiLocation origin to a superuser origin. Read more
The weight information of this pallet.
The overarching event type.
Required origin for sending XCM messages. If successful, it resolves to MultiLocation which exists as an interior location within this chain’s XCM context. Read more
The type used to actually dispatch an XCM to its destination.
Required origin for executing XCM messages, including the teleport functionality. If successful, then it resolves to MultiLocation which exists as an interior location within this chain’s XCM context. Read more
Our XCM filter which messages to be executed using XcmExecutor must pass.
Something to execute an XCM message.
Our XCM filter which messages to be teleported using the dedicated extrinsic must pass.
Our XCM filter which messages to be reserve-transferred using the dedicated extrinsic must pass.
Means of measuring the weight consumed by an XCM message locally.
Means of inverting a location.
The outer Origin type.
The outer Call type.
The latest supported version that we advertise. Generally just set it to pallet_xcm::CurrentXcmVersion. Read more
The overarching event type.
Origin which is allowed to execute overweight messages.
The balance type
The amount type, should be signed version of Balance
The currency ID type
Weight information for extrinsics in this module.
The minimum amount required to keep an account. It’s deprecated to config 0 as ED for any currency_id, zero ED will retain account even if its total is zero. Since accounts of orml_tokens are also used as providers of System::AccountInfo, zero ED may cause some problems. Read more
Handler to burn or transfer account’s dust
Handler for when an account was created
Handler for when an account was created
The maximum number of named reserves that can exist on an account.
The id type for named reserves.
The overarching event type.
Asset type
The origin which can work with asset-registry.
Balance type
Asset location type
The maximum length of a name or symbol stored on-chain.
Native Asset Id
Weight information for the extrinsics
The balance type.
Currency Id.
Convert T::CurrencyId to MultiLocation.
Convert T::AccountId to MultiLocation.
Self chain location.
Minimum xcm execution fee paid on destination chain.
XCM executor.
MultiLocation filter
Means of measuring the weight consumed by an XCM message locally.
Base XCM weight. Read more
Means of inverting a location.
The maximum number of distinct assets allowed to be transferred in a single helper extrinsic. Read more
The way to retreave the reserve of a MultiAsset. This can be configured to accept absolute or relative paths for self tokens Read more
Formats the value using the given formatter. Read more
Ensure the position of inherent is correct, i.e. they are before non-inherents. Read more
This method tests for self and other values to be equal, and is used by ==. Read more
This method tests for !=. The default implementation is almost always sufficient, and should not be overridden without very good reason. Read more
The type identifying for which type info is provided. Read more
Returns the static type identifier for Self.
The call to validate
Validate the call right before dispatch. Read more
Return the validity of the call Read more

Auto Trait Implementations§

Blanket Implementations§

Gets the TypeId of self. Read more
Casts the value.
Immutably borrows from an owned value. Read more
Mutably borrows from an owned value. Read more
Casts the value.
Casts the value.
Casts the value.
Convert from a value of T into an equivalent instance of Option<Self>. Read more
Consume self to return Some equivalent value of Option<T>. Read more
Converts self into T using Into<T>. Read more
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. Read more
Convert Rc<Trait> (where Trait: Downcast) to Rc<Any>. Rc<Any> can then be further downcast into Rc<ConcreteType> where ConcreteType implements Trait. Read more
Convert &Trait (where Trait: Downcast) to &Any. This is needed since Rust cannot generate &Any’s vtable from &Trait’s. Read more
Convert &mut Trait (where Trait: Downcast) to &Any. This is needed since Rust cannot generate &mut Any’s vtable from &mut Trait’s. Read more
Convert Arc<Trait> (where Trait: Downcast) to Arc<Any>. Arc<Any> can then be further downcast into Arc<ConcreteType> where ConcreteType implements Trait. Read more
Compare self to key and return true if they are equal.
Causes self to use its Binary implementation when Debug-formatted. Read more
Causes self to use its Display implementation when Debug-formatted. Read more
Causes self to use its LowerExp implementation when Debug-formatted. Read more
Causes self to use its LowerHex implementation when Debug-formatted. Read more
Causes self to use its Octal implementation when Debug-formatted. Read more
Causes self to use its Pointer implementation when Debug-formatted. Read more
Causes self to use its UpperExp implementation when Debug-formatted. Read more
Causes self to use its UpperHex implementation when Debug-formatted. Read more
Formats each item in a sequence. Read more

Returns the argument unchanged.

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

Calls U::from(self).

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

Cast reference.
Cast reference.
Cast mutable reference.
Cast mutable reference.

Get a reference to the inner from the outer.

Get a mutable reference to the inner from the outer.

Performs the conversion.
Performs the conversion.
Casts the value.
Casts the value.
Pipes by value. This is generally the method you want to use. Read more
Borrows self and passes that borrow into the pipe function. Read more
Mutably borrows self and passes that borrow into the pipe function. Read more
Borrows self, then passes self.borrow() into the pipe function. Read more
Mutably borrows self, then passes self.borrow_mut() into the pipe function. Read more
Borrows self, then passes self.as_ref() into the pipe function.
Mutably borrows self, then passes self.as_mut() into the pipe function. Read more
Borrows self, then passes self.deref() into the pipe function.
Mutably borrows self, then passes self.deref_mut() into the pipe function. Read more
The alignment of pointer.
The type for initializers.
Initializes a with the given initializer. Read more
Dereferences the given pointer. Read more
Mutably dereferences the given pointer. Read more
Drops the object pointed to by the given pointer. Read more
Should always be Self
Convert from a value of T into an equivalent instance of Self. Read more
Consume self to return an equivalent value of T. Read more
Casts the value.
Casts the value.
Performance hack: Clone doesn’t get inlined for Copy types in debug mode, so make it inline anyway.
Tests if Self the same as the type T Read more
The inverse inclusion map: attempts to construct self from the equivalent element of its superset. Read more
Checks if self is actually part of its subset T (and can be converted to it).
Use with care! Same as self.to_subset but without any property checks. Always succeeds.
The inclusion map: converts self to the equivalent element of its superset.
Immutable access to a value. Read more
Mutable access to a value. Read more
Immutable access to the Borrow<B> of a value. Read more
Mutable access to the BorrowMut<B> of a value. Read more
Immutable access to the AsRef<R> view of a value. Read more
Mutable access to the AsMut<R> view of a value. Read more
Immutable access to the Deref::Target of a value. Read more
Mutable access to the Deref::Target of a value. Read more
Calls .tap() only in debug builds, and is erased in release builds.
Calls .tap_mut() only in debug builds, and is erased in release builds. Read more
Calls .tap_borrow() only in debug builds, and is erased in release builds. Read more
Calls .tap_borrow_mut() only in debug builds, and is erased in release builds. Read more
Calls .tap_ref() only in debug builds, and is erased in release builds. Read more
Calls .tap_ref_mut() only in debug builds, and is erased in release builds. Read more
Calls .tap_deref() only in debug builds, and is erased in release builds. Read more
Calls .tap_deref_mut() only in debug builds, and is erased in release builds. Read more
The resulting type after obtaining ownership.
Creates owned data from borrowed data, usually by cloning. Read more
Uses borrowed data to replace owned data, usually by cloning. Read more
Attempts to convert self into T using TryInto<T>. Read more
The type returned in the event of a conversion error.
Performs the conversion.
The type returned in the event of a conversion error.
Performs the conversion.
The counterpart to unchecked_from.
Consume self to return an equivalent value of T.
Casts the value.
Casts the value.
Attaches the provided Subscriber to this type, returning a WithDispatch wrapper. Read more
Attaches the current default Subscriber to this type, returning a WithDispatch wrapper. Read more
Attaches the provided Subscriber to this type, returning a WithDispatch wrapper. Read more
Attaches the current default Subscriber to this type, returning a WithDispatch wrapper. Read more
Casts the value.
Casts the value.