Documentation
¶
Index ¶
Constants ¶
View Source
const ( AttributeTxHash = "txhash" EventTypeCertVote = "cert_vote" EventTypeSetCertVote = "set_cert_vote" )
Variables ¶
This section is empty.
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 ShieldKeeper ¶
type ShieldKeeper interface { GetPurchase(purchaseList shieldtypes.PurchaseList, purchaseID uint64) (shieldtypes.Purchase, bool) GetPurchaseList(ctx sdk.Context, poolID uint64, purchaser sdk.AccAddress) (shieldtypes.PurchaseList, bool) GetClaimProposalParams(ctx sdk.Context) shieldtypes.ClaimProposalParams SecureCollaterals(ctx sdk.Context, poolID uint64, purchaser sdk.AccAddress, purchaseID uint64, loss sdk.Coins, lockPeriod time.Duration) error RestoreShield(ctx sdk.Context, poolID uint64, purchaser sdk.AccAddress, id uint64, loss sdk.Coins) error ClaimEnd(ctx sdk.Context, id, poolID uint64, loss sdk.Coins) }
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.