Documentation
¶
Index ¶
- func NewMsgServerImpl(keeper Keeper) types.MsgServer
- func NewQueryServerImpl(k Keeper) types.QueryServer
- type Keeper
- func (k Keeper) GetAuthority() string
- func (k Keeper) GetNextID(ctx sdk.Context, entityType string) (uint64, error)
- func (k Keeper) GetParams(ctx context.Context) (params types.Params)
- func (k Keeper) GetTrustRegistry(ctx sdk.Context, id uint64) (types.TrustRegistry, error)
- func (k Keeper) GetTrustRegistryByDID(ctx sdk.Context, did string) (types.TrustRegistry, error)
- func (k Keeper) GetTrustUnitPrice(ctx sdk.Context) uint64
- func (k Keeper) Logger() log.Logger
- func (k Keeper) SetParams(ctx context.Context, params types.Params) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewMsgServerImpl ¶
NewMsgServerImpl returns an implementation of the MsgServer interface for the provided Keeper.
func NewQueryServerImpl ¶
func NewQueryServerImpl(k Keeper) types.QueryServer
Types ¶
type Keeper ¶
type Keeper struct {
// state management
Schema collections.Schema
Params collections.Item[types.Params]
TrustRegistry collections.Map[uint64, types.TrustRegistry]
TrustRegistryDIDIndex collections.Map[string, uint64] // Index for DID lookups
GFVersion collections.Map[uint64, types.GovernanceFrameworkVersion]
GFDocument collections.Map[uint64, types.GovernanceFrameworkDocument]
Counter collections.Map[string, uint64]
// contains filtered or unexported fields
}
func NewKeeper ¶
func NewKeeper( cdc codec.BinaryCodec, storeService store.KVStoreService, logger log.Logger, authority string, trustDeposit types.TrustDepositKeeper, ) Keeper
func (Keeper) GetAuthority ¶
GetAuthority returns the module's authority.
func (Keeper) GetTrustRegistry ¶
func (Keeper) GetTrustRegistryByDID ¶
Click to show internal directories.
Click to hide internal directories.