An open API service providing package, version and dependency metadata of many open source software ecosystems and registries.

Top 5.1% on proxy.golang.org
Top 0.1% forks on proxy.golang.org

proxy.golang.org : github.com/cosmos/cosmos-sdk/x/params

Package params provides a namespaced module parameter store. There are two core components, Keeper and Subspace. Subspace is an isolated namespace for a parameter store, where keys are prefixed by pre-configured subspace names which modules provide. The Keeper has a permission to access all existing subspaces. Subspace can be used by the individual keepers, which need a private parameter store that the other keepers cannot modify. Basic Usage: 1. Declare constant module parameter keys and the globally unique Subspace name: 2. Define parameters as proto message and define the validation functions: 3. Implement the params.ParamSet interface: 4. Have the module accept a Subspace in the constructor and set the KeyTable (if necessary): Now we have access to the module's parameters that are namespaced using the keys defined: NOTE: Any call to SetParamSet will panic or any call to Update will error if any given parameter value is invalid based on the registered value validation function.

Registry - Source - Documentation - JSON - codemeta.json
purl: pkg:golang/github.com/cosmos/cosmos-sdk/x/params
Keywords: blockchain , cometbft , cosmos-sdk , cryptocurrency , go , golang , tendermint
License: Apache-2.0
Latest release: almost 2 years ago
First release: 10 months ago
Namespace: github.com/cosmos/cosmos-sdk/x
Stars: 6,800 on GitHub
Forks: 4,070 on GitHub
Total Commits: 11785
Committers: 649
Average commits per author: 18.159
Development Distribution Score (DDS): 0.923
More commit stats: commits.ecosyste.ms
See more repository details: repos.ecosyste.ms
Last synced: 2 days ago

    Loading...
    Readme
    Loading...