referrerpolicy=no-referrer-when-downgrade
Expand description

Prelude to be used alongside pallet macro, for ease of use.

Functions§

  • Ensure that the origin o represents an unsigned extrinsic. Returns Ok or an Err otherwise.
  • Ensure that the origin o represents the root. Returns Ok or an Err otherwise.
  • Ensure that the origin o represents a signed extrinsic (i.e. transaction). Returns Ok with the account that signed the extrinsic or an Err otherwise.
  • Ensure that the origin o represents either a signed extrinsic (i.e. transaction) or the root. Returns Ok with the account that signed the extrinsic, None if it was root, or an Err otherwise.

Type Aliases§

  • Type alias for the BlockNumber associated type of system config.
  • Type alias for the Extrinsic associated type of system config.
  • Type alias for the Header.
  • Type alias for the Origin associated type of system config.
  • Type alias for the RuntimeCall associated type of system config.