Type Alias frame_system::pallet::Origin
source · pub type Origin<T> = RawOrigin<<T as Config>::AccountId>;
Expand description
Exposed trait-generic origin type.
Aliased Type§
enum Origin<T> {
Root,
Signed(<T as Config>::AccountId),
None,
}
Variants§
Root
The system itself ordained this dispatch to happen: this is the highest privilege level.
Signed(<T as Config>::AccountId)
It is signed by some public key and we provide the AccountId
.
None
It is signed by nobody, can be either:
- included and agreed upon by the validators anyway,
- or unsigned transaction validated by a pallet.