Versions in this module Expand all Collapse all v0 v0.1.0 Jan 19, 2024 Changes in this version + type DelegatorI interface + GetDelegatorAddress func() sdk.AccAddress + GetLastAddedShares func() sdk.Dec + GetShareAddedValidatorAddresses func() []sdk.ValAddress + type Keeper interface + GetEpoch func(ctx sdk.Context) (epoch uint16) + IsValidator func(ctx sdk.Context, addr sdk.AccAddress) bool + type ValidatorI interface + GetBondedTokens func() sdk.Int + GetCommission func() sdk.Dec + GetConsAddr func() sdk.ConsAddress + GetConsPubKey func() crypto.PubKey + GetConsensusPower func() int64 + GetDelegatorShares func() sdk.Dec + GetMinSelfDelegation func() sdk.Dec + GetMoniker func() string + GetOperator func() sdk.ValAddress + GetStatus func() sdk.BondStatus + GetTokens func() sdk.Int + IsBonded func() bool + IsJailed func() bool + IsUnbonded func() bool + IsUnbonding func() bool + SharesFromTokens func(amt sdk.Int) (sdk.Dec, error) + SharesFromTokensTruncated func(amt sdk.Int) (sdk.Dec, error) + TokensFromShares func(sdk.Dec) sdk.Dec + TokensFromSharesRoundUp func(sdk.Dec) sdk.Dec + TokensFromSharesTruncated func(sdk.Dec) sdk.Dec