2019-12-11 09:35:27 -08:00
|
|
|
---
|
|
|
|
order: 0
|
|
|
|
title: Params Overview
|
|
|
|
parent:
|
|
|
|
title: "params"
|
|
|
|
---
|
|
|
|
|
2019-12-10 06:29:46 -08:00
|
|
|
# `params`
|
2018-10-13 10:29:59 -07:00
|
|
|
|
|
|
|
## Abstract
|
|
|
|
|
|
|
|
Package params provides a globally available parameter store.
|
|
|
|
|
|
|
|
There are two main types, Keeper and Subspace. Subspace is an isolated namespace for a
|
|
|
|
paramstore, where keys are prefixed by preconfigured spacename. Keeper has a
|
|
|
|
permission to access all existing spaces.
|
|
|
|
|
|
|
|
Subspace can be used by the individual keepers, who needs a private parameter store
|
|
|
|
that the other keeper cannot modify. Keeper can be used by the Governance keeper,
|
|
|
|
who need to modify any parameter in case of the proposal passes.
|
|
|
|
|
|
|
|
The following contents explains how to use params module for master and user modules.
|
|
|
|
|
|
|
|
## Contents
|
|
|
|
|
2019-02-20 10:21:57 -08:00
|
|
|
1. **[Keeper](01_keeper.md)**
|
|
|
|
2. **[Subspace](02_subspace.md)**
|
|
|
|
- [Key](02_subspace.md#key)
|
|
|
|
- [KeyTable](02_subspace.md#keytable)
|
|
|
|
- [ParamSet](02_subspace.md#paramset)
|