Storage
concurrentReportsIndex
A vector of reports of the same kind that happened at the same time slot. Namespacereports
The primary structure that holds all offence records keyed by report identifiers. NamespacereportsByKindIndex
Enumerates all reports of a kind along with the time they happened. All reports are sorted by the time of offence. Note that the actual type of this mapping isVec<u8>
, this is because values of different types are not supported at the moment so we are doing the manual serialization.
Namespace
Events
Offence
There is an offence reported of the givenkind
happened at the session_index
and (kind-specific) time slot. This event is not deposited for duplicate slashes. [kind, timeslot].
Namespace