Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ConsensusParamsKeyTable ¶ added in v0.40.0
ConsensusParamsKeyTable returns an x/params module keyTable to be used in the BaseApp's ParamStore. The KeyTable registers the types along with the standard validation functions. Applications can choose to adopt this KeyTable or provider their own when the existing validation functions do not suite their needs.
func NewQuerier ¶
func NewQuerier(k Keeper, legacyQuerierCdc *codec.LegacyAmino) sdk.Querier
NewQuerier returns a new querier handler for the x/params module.
Types ¶
type Keeper ¶
type Keeper struct {
// contains filtered or unexported fields
}
Keeper of the global paramstore
func NewKeeper ¶
func NewKeeper(cdc codec.BinaryMarshaler, legacyAmino *codec.LegacyAmino, key, tkey sdk.StoreKey) Keeper
NewKeeper constructs a params keeper
func (Keeper) GetSubspace ¶
Get existing substore from keeper
func (Keeper) Params ¶ added in v0.40.0
func (k Keeper) Params(c context.Context, req *proposal.QueryParamsRequest) (*proposal.QueryParamsResponse, error)
Params returns subspace params
Click to show internal directories.
Click to hide internal directories.