Documentation ¶
Index ¶
- Constants
- func MakeCreateValidatorMsg(createValidatorMsg types.CreateValidatorMsg, privKey key.PrivateKey, ...) (sdk.Msg, error)
- func MakeDelegateMsg(delegateMsg types.DelegateMsg, privKey key.PrivateKey) (stakingtypes.MsgDelegate, error)
- func MakeEditValidatorMsg(editValidatorMsg types.EditValidatorMsg, privKey key.PrivateKey) (stakingtypes.MsgEditValidator, error)
- func MakeHistoricalInfoMsg(historicalInfoMsg types.HistoricalInfoMsg) (stakingtypes.QueryHistoricalInfoRequest, error)
- func MakeQueryDelegationMsg(queryDelegationMsg types.QueryDelegationMsg) (stakingtypes.QueryDelegationRequest, error)
- func MakeQueryDelegationsMsg(queryDelegationMsg types.QueryDelegationMsg) (stakingtypes.QueryDelegatorDelegationsRequest, error)
- func MakeQueryDelegationsToMsg(queryDelegationMsg types.QueryDelegationMsg) (stakingtypes.QueryValidatorDelegationsRequest, error)
- func MakeQueryRedelegationMsg(queryRedelegationMsg types.QueryRedelegationMsg) (stakingtypes.QueryRedelegationsRequest, error)
- func MakeQueryRedelegationsFromMsg(queryRedelegationMsg types.QueryRedelegationMsg) (stakingtypes.QueryRedelegationsRequest, error)
- func MakeQueryRedelegationsMsg(queryRedelegationMsg types.QueryRedelegationMsg) (stakingtypes.QueryRedelegationsRequest, error)
- func MakeQueryStakingParamsMsg() (stakingtypes.QueryParamsRequest, error)
- func MakeQueryStakingPoolMsg() (stakingtypes.QueryPoolRequest, error)
- func MakeQueryUnbondingDelegationMsg(queryUnbondingDelegationMsg types.QueryUnbondingDelegationMsg) (stakingtypes.QueryUnbondingDelegationRequest, error)
- func MakeQueryUnbondingDelegationsFromMsg(queryUnbondingDelegationMsg types.QueryUnbondingDelegationMsg) (stakingtypes.QueryValidatorUnbondingDelegationsRequest, error)
- func MakeQueryUnbondingDelegationsMsg(queryUnbondingDelegationMsg types.QueryUnbondingDelegationMsg) (stakingtypes.QueryDelegatorUnbondingDelegationsRequest, error)
- func MakeQueryValidatorMsg(queryValidatorMsg types.QueryValidatorMsg) (stakingtypes.QueryValidatorRequest, error)
- func MakeQueryValidatorsMsg() (stakingtypes.QueryValidatorsRequest, error)
- func MakeRedelegateMsg(redelegateMsg types.RedelegateMsg, privKey key.PrivateKey) (stakingtypes.MsgBeginRedelegate, error)
- func MakeUnbondMsg(unbondMsg types.UnbondMsg, privKey key.PrivateKey) (stakingtypes.MsgUndelegate, error)
- type FilePVKey
- type NodeKey
Constants ¶
const ( StakingModule = "staking" StakingCreateValidatorMsgType = "create-validator" StakingEditValidatorMsgType = "edit-validator" StakingDelegateMsgType = "delegate" StakingRedelegateMsgType = "redelegate" StakingUnbondMsgType = "unbond" StakingQueryValidatorMsgType = "query-validator" StakingQueryValidatorsMsgType = "query-validators" StakingQueryDelegationMsgType = "query-delegation" StakingQueryDelegationsMsgType = "query-delegations" StakingQueryDelegationsToMsgType = "query-delegations-to" StakingQueryUnbondingDelegationMsgType = "query-unbonding-delegation" StakingQueryUnbondingDelegationsMsgType = "query-unbonding-delegations" StakingQueryUnbondingDelegationsFromMsgType = "query-unbonding-delegations-from" StakingQueryRedelegationMsgType = "query-redelegation" StakingQueryRedelegationsMsgType = "query-redelegations" StakingQueryRedelegationsFromMsgType = "query-redelegations-from" StakingHistoricalInfoMsgType = "historical-info" StakingQueryStakingPoolMsgType = "query-staking-pool" StakingQueryStakingParamsMsgType = "query-staking-params" )
Variables ¶
This section is empty.
Functions ¶
func MakeCreateValidatorMsg ¶
func MakeCreateValidatorMsg(createValidatorMsg types.CreateValidatorMsg, privKey key.PrivateKey, output string) (sdk.Msg, error)
(Tx) make msg - create validator
func MakeDelegateMsg ¶
func MakeDelegateMsg(delegateMsg types.DelegateMsg, privKey key.PrivateKey) (stakingtypes.MsgDelegate, error)
(Tx) make msg - delegate
func MakeEditValidatorMsg ¶
func MakeEditValidatorMsg(editValidatorMsg types.EditValidatorMsg, privKey key.PrivateKey) (stakingtypes.MsgEditValidator, error)
(Tx) make msg - edit validator
func MakeHistoricalInfoMsg ¶
func MakeHistoricalInfoMsg(historicalInfoMsg types.HistoricalInfoMsg) (stakingtypes.QueryHistoricalInfoRequest, error)
(Query) make msg - historical
func MakeQueryDelegationMsg ¶
func MakeQueryDelegationMsg(queryDelegationMsg types.QueryDelegationMsg) (stakingtypes.QueryDelegationRequest, error)
(Query) make msg - query delegation
func MakeQueryDelegationsMsg ¶
func MakeQueryDelegationsMsg(queryDelegationMsg types.QueryDelegationMsg) (stakingtypes.QueryDelegatorDelegationsRequest, error)
(Query) make msg - query delegations
func MakeQueryDelegationsToMsg ¶
func MakeQueryDelegationsToMsg(queryDelegationMsg types.QueryDelegationMsg) (stakingtypes.QueryValidatorDelegationsRequest, error)
(Query) make msg - query delegations to
func MakeQueryRedelegationMsg ¶
func MakeQueryRedelegationMsg(queryRedelegationMsg types.QueryRedelegationMsg) (stakingtypes.QueryRedelegationsRequest, error)
(Query) make msg - query redelegation
func MakeQueryRedelegationsFromMsg ¶
func MakeQueryRedelegationsFromMsg(queryRedelegationMsg types.QueryRedelegationMsg) (stakingtypes.QueryRedelegationsRequest, error)
(Query) make msg - query redelegations from
func MakeQueryRedelegationsMsg ¶
func MakeQueryRedelegationsMsg(queryRedelegationMsg types.QueryRedelegationMsg) (stakingtypes.QueryRedelegationsRequest, error)
(Query) make msg - query redelegations
func MakeQueryStakingParamsMsg ¶
func MakeQueryStakingParamsMsg() (stakingtypes.QueryParamsRequest, error)
(Query) make msg - staking params
func MakeQueryStakingPoolMsg ¶
func MakeQueryStakingPoolMsg() (stakingtypes.QueryPoolRequest, error)
(Query) make msg - staking pool
func MakeQueryUnbondingDelegationMsg ¶
func MakeQueryUnbondingDelegationMsg(queryUnbondingDelegationMsg types.QueryUnbondingDelegationMsg) (stakingtypes.QueryUnbondingDelegationRequest, error)
(Query) make msg - query unbonding delegation
func MakeQueryUnbondingDelegationsFromMsg ¶
func MakeQueryUnbondingDelegationsFromMsg(queryUnbondingDelegationMsg types.QueryUnbondingDelegationMsg) (stakingtypes.QueryValidatorUnbondingDelegationsRequest, error)
(Query) make msg - query unbonding delegations from
func MakeQueryUnbondingDelegationsMsg ¶
func MakeQueryUnbondingDelegationsMsg(queryUnbondingDelegationMsg types.QueryUnbondingDelegationMsg) (stakingtypes.QueryDelegatorUnbondingDelegationsRequest, error)
(Query) make msg - query unbonding delegations
func MakeQueryValidatorMsg ¶
func MakeQueryValidatorMsg(queryValidatorMsg types.QueryValidatorMsg) (stakingtypes.QueryValidatorRequest, error)
(Query) make msg - validator
func MakeQueryValidatorsMsg ¶
func MakeQueryValidatorsMsg() (stakingtypes.QueryValidatorsRequest, error)
(Query) make msg - validators
func MakeRedelegateMsg ¶
func MakeRedelegateMsg(redelegateMsg types.RedelegateMsg, privKey key.PrivateKey) (stakingtypes.MsgBeginRedelegate, error)
(Tx) make msg - redelegate
func MakeUnbondMsg ¶
func MakeUnbondMsg(unbondMsg types.UnbondMsg, privKey key.PrivateKey) (stakingtypes.MsgUndelegate, error)
(Tx) make msg - unbond