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 ¶ added in v1.9.0
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 ¶ added in v1.8.0
func JSONString(out interface{}) string
JSONString returns json string for message
func NewBCBlockCmd ¶ added in v1.1.0
NewBCBlockCmd represents the bc block command
func NewBCBucketCmd ¶ added in v1.8.2
NewBCBucketCmd represents the bc Bucket command
func NewBCBucketListCmd ¶ added in v1.9.0
NewBCBucketListCmd represents the bc bucketlist command
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.