Structs§
- Duration
- Duration is an amount of time, measured in seconds
- Expiration
- Hooks
- Preauth
- Slashers
Enums§
- Hook
Error - JailMsg
- Jailing
Duration - Preauth
Error - Slash
Msg - A common (sort of) interface for adding/removing slashers and slashing.
This type exists so that contracts have an easy way of serializing these messages
and using something like
encode_raw_msg
. - Slasher
Error
Constants§
Functions§
- members
- Indexed snapshot map for members.
This allows to query the map members, sorted by points.
The points index is a
MultiIndex
, as there can be multiple members with the same points. The points index is not snapshotted; only the current points are indexed at any given time. - validate_
portion