Documentation ¶
Index ¶
Constants ¶
View Source
const ( AttributeTxHash = "txhash" EventTypeCertVote = "cert_vote" EventTypeSetCertVote = "set_cert_vote" )
Variables ¶
View Source
var ( // CustomParamsKey is the key custom CustomParamsKey = []byte{0x31} )
Functions ¶
This section is empty.
Types ¶
type CertKeeper ¶
type CertKeeper interface { IsCertifier(ctx sdk.Context, addr sdk.AccAddress) bool GetAllCertifiers(ctx sdk.Context) (certifiers certtypes.Certifiers) GetCertifier(ctx sdk.Context, certifierAddress sdk.AccAddress) (certtypes.Certifier, error) HasCertifierAlias(ctx sdk.Context, alias string) bool IsCertified(ctx sdk.Context, content string, certType string) bool GetCertifiedIdentities(ctx sdk.Context) []sdk.AccAddress }
type ParamSubspace ¶
type StakingKeeper ¶
type StakingKeeper interface { IterateBondedValidatorsByPower(sdk.Context, func(index int64, validator stakingtypes.ValidatorI) (stop bool)) TotalBondedTokens(sdk.Context) math.Int IterateDelegations(ctx sdk.Context, delegator sdk.AccAddress, fn func(index int64, delegation stakingtypes.DelegationI) (stop bool)) BondDenom(sdk.Context) string GetValidator(ctx sdk.Context, addr sdk.ValAddress) (validator stakingtypes.Validator, found bool) }
Click to show internal directories.
Click to hide internal directories.