Documentation ¶
Index ¶
- Constants
- func MakeProposalParamChangeMsg(paramChangeMsg types.ParamChangeMsg, privKey key.PrivateKey, ...) (govtypes.MsgSubmitProposal, error)
- func MakeQueryParamsSubspaceMsg(subspaceMsg types.SubspaceMsg) (paramsproposal.QueryParamsRequest, error)
- func NewCoreModule() core.CoreModule
- func QueryParams(i core.QueryClient) (string, error)
- type ParamsExternal
Constants ¶
View Source
const ( ParamsModule = "params" ParamsProposalParamChangeMsgType = "proposal-param-change" ParamsQuerySubpsaceMsgType = "params-subspace" )
Variables ¶
This section is empty.
Functions ¶
func MakeProposalParamChangeMsg ¶
func MakeProposalParamChangeMsg(paramChangeMsg types.ParamChangeMsg, privKey key.PrivateKey, encodingConfig params.EncodingConfig) (govtypes.MsgSubmitProposal, error)
(Tx) make msg - param change
func MakeQueryParamsSubspaceMsg ¶
func MakeQueryParamsSubspaceMsg(subspaceMsg types.SubspaceMsg) (paramsproposal.QueryParamsRequest, error)
(Query) make msg - subspace
func NewCoreModule ¶ added in v0.1.2
func NewCoreModule() core.CoreModule
func QueryParams ¶
func QueryParams(i core.QueryClient) (string, error)
Query client for params module.
Types ¶
type ParamsExternal ¶ added in v0.1.2
type ParamsExternal struct {
Xplac provider.XplaClient
}
func NewParamsExternal ¶ added in v0.1.2
func NewParamsExternal(xplac provider.XplaClient) (e ParamsExternal)
func (ParamsExternal) ParamChange ¶ added in v0.1.2
func (e ParamsExternal) ParamChange(paramChangeMsg types.ParamChangeMsg) provider.XplaClient
Submit a parameter change proposal.
func (ParamsExternal) QuerySubspace ¶ added in v0.1.2
func (e ParamsExternal) QuerySubspace(subspaceMsg types.SubspaceMsg) provider.XplaClient
Query for raw parameters by subspace and key.
Click to show internal directories.
Click to hide internal directories.