cli

package
v0.0.0-...-3315d20 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jan 27, 2023 License: Apache-2.0 Imports: 13 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	DefaultRelativePacketTimeoutTimestamp = uint64((time.Duration(10) * time.Minute).Nanoseconds())
)

Functions

func CmdAddMiningProvider

func CmdAddMiningProvider() *cobra.Command

func CmdAddReward

func CmdAddReward() *cobra.Command

func CmdAddRewardPool

func CmdAddRewardPool() *cobra.Command

func CmdAddRewardToken

func CmdAddRewardToken() *cobra.Command

func CmdAddStakeItem

func CmdAddStakeItem() *cobra.Command

func CmdAddStakePool

func CmdAddStakePool() *cobra.Command

func CmdAddStakeToken

func CmdAddStakeToken() *cobra.Command

func CmdClaimReward

func CmdClaimReward() *cobra.Command

func CmdEmergencyWithdraw

func CmdEmergencyWithdraw() *cobra.Command

func CmdMaxRewardPoolNumber

func CmdMaxRewardPoolNumber() *cobra.Command

func CmdMaxStakeItemNumber

func CmdMaxStakeItemNumber() *cobra.Command

func CmdMiningProviderList

func CmdMiningProviderList() *cobra.Command

func CmdProviderSwitch

func CmdProviderSwitch() *cobra.Command

func CmdQueryParams

func CmdQueryParams() *cobra.Command

func CmdRewardTokenList

func CmdRewardTokenList() *cobra.Command

func CmdRmMiningProvider

func CmdRmMiningProvider() *cobra.Command

func CmdRmRewardToken

func CmdRmRewardToken() *cobra.Command

func CmdRmStakeToken

func CmdRmStakeToken() *cobra.Command

func CmdSetMaxRewardPoolNumber

func CmdSetMaxRewardPoolNumber() *cobra.Command

func CmdSetMaxStakeItemNumber

func CmdSetMaxStakeItemNumber() *cobra.Command

func CmdSetStakeItemLimit

func CmdSetStakeItemLimit() *cobra.Command

func CmdStake

func CmdStake() *cobra.Command

func CmdStakeItemList

func CmdStakeItemList() *cobra.Command

func CmdStakePoolInfo

func CmdStakePoolInfo() *cobra.Command

func CmdStakePoolList

func CmdStakePoolList() *cobra.Command

func CmdStakeRecord

func CmdStakeRecord() *cobra.Command

func CmdStakeRecordCount

func CmdStakeRecordCount() *cobra.Command

func CmdStakeRecordList

func CmdStakeRecordList() *cobra.Command

func CmdStakeReward

func CmdStakeReward() *cobra.Command

func CmdToggleEmergencySwitch

func CmdToggleEmergencySwitch() *cobra.Command

func CmdToggleProviderSwitch

func CmdToggleProviderSwitch() *cobra.Command

func CmdUpdateRewardPool

func CmdUpdateRewardPool() *cobra.Command

func CmdUpdateStakeItem

func CmdUpdateStakeItem() *cobra.Command

func CmdWithdraw

func CmdWithdraw() *cobra.Command

func CmdWithdrawRewardToken

func CmdWithdrawRewardToken() *cobra.Command

func GetQueryCmd

func GetQueryCmd(queryRoute string) *cobra.Command

GetQueryCmd returns the cli query commands for this module

func GetTxCmd

func GetTxCmd() *cobra.Command

GetTxCmd returns the transaction commands for this module

Types

type CreateInfo

type CreateInfo struct {
	RewardPoolList []*types.CreateRewardPoolInfo `json:"rewardPoolList"`
	StakeItemList  []*types.CreateStakeItemInfo  `json:"stakeItemList"`
}

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL