cosmos-sdk: github.com/cosmos/cosmos-sdk/x/params/keeper Index | Files

package keeper

import "github.com/cosmos/cosmos-sdk/x/params/keeper"

Index

Package Files

grpc_query.go keeper.go querier.go

func NewQuerier Uses

func NewQuerier(k Keeper, legacyQuerierCdc codec.JSONMarshaler) sdk.Querier

NewQuerier returns a new querier handler for the x/params module.

type Keeper Uses

type Keeper struct {
    // contains filtered or unexported fields
}

Keeper of the global paramstore

func NewKeeper Uses

func NewKeeper(cdc codec.BinaryMarshaler, legacyAmino *codec.LegacyAmino, key, tkey sdk.StoreKey) Keeper

NewKeeper constructs a params keeper

func (Keeper) GetSubspace Uses

func (k Keeper) GetSubspace(s string) (types.Subspace, bool)

Get existing substore from keeper

func (Keeper) Logger Uses

func (k Keeper) Logger(ctx sdk.Context) log.Logger

Logger returns a module-specific logger.

func (Keeper) Params Uses

func (k Keeper) Params(c context.Context, req *proposal.QueryParamsRequest) (*proposal.QueryParamsResponse, error)

Params returns subspace params

func (Keeper) Subspace Uses

func (k Keeper) Subspace(s string) types.Subspace

Allocate subspace used for keepers

Package keeper imports 11 packages (graph) and is imported by 2 packages. Updated 2020-08-13. Refresh now. Tools for package owners.