Documentation
      ¶
    
    
  
    
  
    Index ¶
- Constants
 - func GetBucketList(client ioctl.Client, methodName iotexapi.ReadStakingDataMethod_Name, ...) (*iotextypes.VoteBucketList, error)
 - func GetChainMeta(client ioctl.Client) (*iotextypes.ChainMeta, error)
 - func GetEpochMeta(client ioctl.Client, epochNum uint64) (*iotexapi.GetEpochMetaResponse, error)
 - func GetProbationList(client ioctl.Client, epochNum uint64, epochStartHeight uint64) (*iotexapi.ReadStateResponse, error)
 - func JSONString(out interface{}) string
 - func NewBCBlockCmd(c ioctl.Client) *cobra.Command
 - func NewBCBucketCmd(client ioctl.Client) *cobra.Command
 - func NewBCBucketListCmd(client ioctl.Client) *cobra.Command
 - func NewBCCmd(client ioctl.Client) *cobra.Command
 - func NewBCInfoCmd(client ioctl.Client) *cobra.Command
 
Constants ¶
      View Source
      
  const ( MethodVoter = "voter" MethodCandidate = "cand" )
constants
Variables ¶
This section is empty.
Functions ¶
func GetBucketList ¶
func GetBucketList( client ioctl.Client, methodName iotexapi.ReadStakingDataMethod_Name, readStakingDataRequest *iotexapi.ReadStakingDataRequest, ) (*iotextypes.VoteBucketList, error)
GetBucketList get bucket list
func GetChainMeta ¶
func GetChainMeta(client ioctl.Client) (*iotextypes.ChainMeta, error)
GetChainMeta gets blockchain metadata
func GetEpochMeta ¶
GetEpochMeta gets blockchain epoch meta
func GetProbationList ¶
func GetProbationList(client ioctl.Client, epochNum uint64, epochStartHeight uint64) (*iotexapi.ReadStateResponse, error)
GetProbationList gets probation list
func JSONString ¶
func JSONString(out interface{}) string
    JSONString returns json string for message
func NewBCBlockCmd ¶
NewBCBlockCmd represents the bc block command
func NewBCBucketCmd ¶
NewBCBucketCmd represents the bc Bucket command
func NewBCBucketListCmd ¶
NewBCBucketListCmd represents the bc bucketlist command
Types ¶
This section is empty.
 Click to show internal directories. 
   Click to hide internal directories.