Skip to content

Offences pallet

Derived from live runtime metadata on TRN root (pallet index 10, captured 2026-05-02). For prose-style documentation see Offences on the curated reference side.

Pallet index
10
Calls
0
Events
1
Errors
0
Storage items
2
Constants
0

Events

Offences.Offence

There is an offence reported of the given kind happened at the session_index and (kind-specific) time slot. This event is not deposited for duplicate slashes. [kind, timeslot].

FieldTypeDoc
kind[u8;16]
timeslotBytes

Storage

Offences.Reports

The primary structure that holds all offence records keyed by report identifiers.

ts
await api.query.offences.reports(key1)
  • Key: H256 (hasher: Twox64Concat)
  • Returns: {"offender":"(SeedPrimitivesSignatureAccountId20,PalletStakingExposure)","reporters":"Vec<SeedPrimitivesSignatureAccountId20>"}

Modifier: Optional

Offences.ConcurrentReportsIndex

A vector of reports of the same kind that happened at the same time slot.

ts
await api.query.offences.concurrentReportsIndex(key1, key2)
  • Key: ([u8;16],Bytes) (hashers: Twox64Concat, Twox64Concat)
  • Returns: Vec<H256>

Modifier: Default

Source: live chain metadata from wss://root.rootnet.live/archive/ws · captured 2026-05-02

Curated independently by Codeology. Source-attributed reference for The Root Network. Not affiliated with Futureverse / TRN Labs.