Documentation ¶
Index ¶
- Constants
- Variables
- func FlagSetAmount() *flag.FlagSet
- func FlagSetCommissionCreate() *flag.FlagSet
- func FlagSetPublicKey() *flag.FlagSet
- func GetCmdQueryCustomCoinPrice() *cobra.Command
- func GetCmdQueryDelegations() *cobra.Command
- func GetCmdQueryDelegatorDelegations() *cobra.Command
- func GetCmdQueryDelegatorRedelegations() *cobra.Command
- func GetCmdQueryDelegatorUndelegations() *cobra.Command
- func GetCmdQueryDelegatorValidator() *cobra.Command
- func GetCmdQueryDelegatorValidators() *cobra.Command
- func GetCmdQueryHistoricalInfo() *cobra.Command
- func GetCmdQueryParams() *cobra.Command
- func GetCmdQueryPool() *cobra.Command
- func GetCmdQueryRedelegations() *cobra.Command
- func GetCmdQueryTotalCustomCoin() *cobra.Command
- func GetCmdQueryUndelegation() *cobra.Command
- func GetCmdQueryValidator() *cobra.Command
- func GetCmdQueryValidatorDelegations() *cobra.Command
- func GetCmdQueryValidatorRedelegations() *cobra.Command
- func GetCmdQueryValidatorUndelegations() *cobra.Command
- func GetCmdQueryValidators() *cobra.Command
- func GetQueryCmd() *cobra.Command
- func GetTxCmd() *cobra.Command
- func NewCancelRedelegateCmd() *cobra.Command
- func NewCancelRedelegateNFTCmd() *cobra.Command
- func NewCancelUndelegateCmd() *cobra.Command
- func NewCancelUndelegateNFTCmd() *cobra.Command
- func NewCreateValidatorCmd() *cobra.Command
- func NewDelegateCmd() *cobra.Command
- func NewDelegateNFTCmd() *cobra.Command
- func NewEditValidatorCmd() *cobra.Command
- func NewRedelegateCmd() *cobra.Command
- func NewRedelegateNFTCmd() *cobra.Command
- func NewSetOfflineCmd() *cobra.Command
- func NewSetOnlineCmd() *cobra.Command
- func NewUndelegateCmd() *cobra.Command
- func NewUndelegateNFTCmd() *cobra.Command
Constants ¶
const ( FlagAddressValidator = "validator" FlagAddressValidatorSrc = "addr-validator-source" FlagAddressValidatorDst = "addr-validator-dest" FlagPubKey = "pubkey" FlagAmount = "amount" FlagMoniker = "moniker" FlagEditMoniker = "new-moniker" FlagIdentity = "identity" FlagWebsite = "website" FlagSecurityContact = "security-contact" FlagDetails = "details" FlagCommissionRate = "commission-rate" FlagNodeID = "node-id" FlagIP = "ip" )
Variables ¶
var (
DefaultTokens = sdk.TokensFromConsensusPower(1, ethtypes.PowerReduction)
)
default values
Functions ¶
func FlagSetAmount ¶
FlagSetAmount Returns the FlagSet for amount related operations.
func FlagSetCommissionCreate ¶
FlagSetCommissionCreate Returns the FlagSet used for commission create.
func FlagSetPublicKey ¶
FlagSetPublicKey Returns the flagset for Public Key related operations.
func GetCmdQueryCustomCoinPrice ¶
GetCmdQueryCustomCoinPrice query custom coin price for delegation command
func GetCmdQueryDelegations ¶
GetCmdQueryDelegations implements the query all delegations from a validator-delegator pair command.
func GetCmdQueryDelegatorDelegations ¶
GetCmdQueryDelegatorDelegations implements the query all delegations from a delegator command.
func GetCmdQueryDelegatorRedelegations ¶
GetCmdQueryDelegatorRedelegations implements the query all redelegations from a delegator command.
func GetCmdQueryDelegatorUndelegations ¶
GetCmdQueryDelegatorUndelegations implements the query all unbonding delegations from a delegator command.
func GetCmdQueryDelegatorValidator ¶
GetCmdQueryDelegatorValidator implements the query validator info for given delegator validator pair command.
func GetCmdQueryDelegatorValidators ¶
GetCmdQueryDelegatorValidators implements the query all validators delegated by the delegator command.
func GetCmdQueryHistoricalInfo ¶
GetCmdQueryHistoricalInfo implements the historical info query command
func GetCmdQueryParams ¶
GetCmdQueryParams implements the params query command.
func GetCmdQueryPool ¶
GetCmdQueryPool implements the pool query command.
func GetCmdQueryRedelegations ¶
GetCmdQueryRedelegations implements the query all redelegations from a validator-delegator pair command.
func GetCmdQueryTotalCustomCoin ¶
GetCmdQueryTotalCustomCoin query bonded custom coin amount info command
func GetCmdQueryUndelegation ¶
GetCmdQueryUndelegation implements the query unbonding delegation from a validator-delegator pair command.
func GetCmdQueryValidator ¶
GetCmdQueryValidator implements the validator query command.
func GetCmdQueryValidatorDelegations ¶
GetCmdQueryValidatorDelegations implements the query all delegatations from a validator command.
func GetCmdQueryValidatorRedelegations ¶
GetCmdQueryValidatorRedelegations implements the query all redelegatations from a validator command.
func GetCmdQueryValidatorUndelegations ¶
GetCmdQueryValidatorUndelegations implements the query all unbonding delegatations from a validator command.
func GetCmdQueryValidators ¶
GetCmdQueryValidators implements the query all validators command.
func GetQueryCmd ¶
GetQueryCmd returns the cli query commands for this module
func NewCancelRedelegateCmd ¶
NewCancelRedelegateCmd returns a CLI command handler for creating a MsgCancelRedelegate transaction.
func NewCancelRedelegateNFTCmd ¶
NewCancelRedelegateNFTCmd returns a CLI command handler for creating a MsgCancelRedelegateNFT transaction.
func NewCancelUndelegateCmd ¶
NewCancelUndelegateCmd returns a CLI command handler for creating a MsgCancelUndelegate transaction.
func NewCancelUndelegateNFTCmd ¶
NewCancelUndelegateNFTCmd returns a CLI command handler for creating a MsgCancelUndelegateNFT transaction.
func NewCreateValidatorCmd ¶
NewCreateValidatorCmd returns a CLI command handler for creating a MsgCreateValidator transaction.
func NewDelegateCmd ¶
NewDelegateCmd returns a CLI command handler for creating a MsgDelegate transaction.
func NewDelegateNFTCmd ¶
NewDelegateNFTCmd returns a CLI command handler for creating a MsgDelegateNFT transaction.
func NewEditValidatorCmd ¶
NewEditValidatorCmd returns a CLI command handler for creating a MsgEditValidator transaction.
func NewRedelegateCmd ¶
NewRedelegateCmd returns a CLI command handler for creating a MsgRedelegate transaction.
func NewRedelegateNFTCmd ¶
NewRedelegateNFTCmd returns a CLI command handler for creating a MsgRedelegateNFT transaction.
func NewSetOfflineCmd ¶
NewSetOfflineCmd returns a CLI command handler for creating a MsgSetOnline transaction.
func NewSetOnlineCmd ¶
NewSetOnlineCmd returns a CLI command handler for creating a MsgSetOnline transaction.
func NewUndelegateCmd ¶
NewUndelegateCmd returns a CLI command handler for creating a MsgUndelegate transaction.
func NewUndelegateNFTCmd ¶
NewUndelegateNFTCmd returns a CLI command handler for creating a MsgDelegateNFT transaction.
Types ¶
This section is empty.