Expand description
This is already part of the prelude
.
Macros§
- Helper macro to be used in a
impl TransactionExtension
block to add default implementations ofweight
,validate
,prepare
or any combinations of the them.
Structs§
- The function and pallet name of the Call.
- Information concerning a valid transaction.
Enums§
- An invalid transaction validity.
Traits§
- Interface to differentiate between Runtime Origins authorized to include a transaction into the block and dispatch it, and those who aren’t.
- Single-function utility trait with a blanket impl over
TransactionExtension
in order to provide transaction dispatching functionality. We avoid implementing this directly on the trait since we never want it to be overriden by the trait implementation. - Gets the metadata for the Call - function name and pallet name.
- Means by which a transaction may be extended. This type embodies both the data and the logic that should be additionally associated with the transaction. It should be plain old data.
Type Aliases§
- Type to represent the version of the Extension used in this extrinsic.
- Shortcut for the result value of the
validate
function.