Crate tg_utils

Source

Structs§

Duration
Duration is an amount of time, measured in seconds
Expiration
Hooks
Preauth
Slashers

Enums§

HookError
JailMsg
JailingDuration
PreauthError
SlashMsg
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.
SlasherError

Constants§

ADMIN
HOOKS
PREAUTH_HOOKS
PREAUTH_SLASHING
SLASHERS
TOTAL

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