# README
Params module
Usage
(Tx) Proposal parameter change
// Input arguments
paramChangeMsg := types.ParamChangeMsg{
Title: "Staking param change",
Description: "update max validators",
Changes: []string{
`{
"subspace": "staking",
"key": "MaxValidators",
"value": 105
}`,
},
Deposit: "1000",
}
// Input json file
paramChangeMsg := types.ParamChangeMsg{
JsonFilePath: "./proposal.json"
}
txbytes, err := xplac.ParamChange(paramChangeMsg).CreateAndSignTx()
res, err := xplac.Broadcast(txbytes)
(Query) Query params by using subspace
subspaceMsg := types.SubspaceMsg{
Subspace: "staking",
Key: "MaxValidators",
}
res, err := xplac.QuerySubspace(subspaceMsg).Query()
# Functions
(Tx) make msg - param change.
(Query) make msg - subspace.
No description provided by the author
No description provided by the author
Query client for params module.
# Constants
No description provided by the author
No description provided by the author
No description provided by the author
# Structs
No description provided by the author