Structs

Duration is an amount of time, measured in seconds

Enums

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.

Constants

Functions

Indexed snapshot map for members. This allows to query the map members, sorted by weight. The weight index is a MultiIndex, as there can be multiple members with the same weight. The weight index is not snapshotted; only the current weights are indexed at any given time.