Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( StakingCmd = cli.Command{ Name: "staking", Usage: "use for staking", Subcommands: []cli.Command{ GetVerifierListCmd, getValidatorListCmd, getCandidateListCmd, getRelatedListByDelAddrCmd, getDelegateInfoCmd, getCandidateInfoCmd, getPackageRewardCmd, getStakingRewardCmd, getAvgPackTimeCmd, }, } GetVerifierListCmd = cli.Command{ Name: "getVerifierList", Usage: "1100,query the validator queue of the current settlement epoch", Before: netCheck, Action: getVerifierList, Flags: []cli.Flag{rpcUrlFlag, addressHRPFlag, jsonFlag}, } )
View Source
var (
GovCmd = cli.Command{
Name: "gov",
Usage: "use for gov func",
Subcommands: []cli.Command{
getProposalCmd,
getTallyResultCmd,
listProposalCmd,
getActiveVersionCmd,
getGovernParamValueCmd,
getAccuVerifiersCountCmd,
listGovernParamCmd,
},
}
)
View Source
var (
RestrictingCmd = cli.Command{
Name: "restricting",
Usage: "use for restricting",
Subcommands: []cli.Command{
getRestrictingInfoCmd,
},
}
)
View Source
var (
RewardCmd = cli.Command{
Name: "reward",
Usage: "use for reward",
Subcommands: []cli.Command{
getDelegateRewardCmd,
},
}
)
View Source
var (
SlashingCmd = cli.Command{
Name: "slashing",
Usage: "use for slashing",
Subcommands: []cli.Command{
checkDuplicateSignCmd,
zeroProduceNodeListCmd,
},
}
)
Functions ¶
func BuildPPosContract ¶
func CallPPosContract ¶
Types ¶
Click to show internal directories.
Click to hide internal directories.