cli

package
v2.0.2 Latest Latest
Warning

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

Go to latest
Published: Dec 2, 2024 License: Apache-2.0 Imports: 15 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetCmdCreateRewardsPlan

func GetCmdCreateRewardsPlan() *cobra.Command

GetCmdCreateRewardsPlan returns the command allowing to create a rewards plan for a service.

func GetCmdEditRewardsPlan

func GetCmdEditRewardsPlan() *cobra.Command

GetCmdEditRewardsPlan returns the command allowing to edit a rewards plan for a service.

func GetTxCmd

func GetTxCmd() *cobra.Command

GetTxCmd returns a new command to perform operators transactions

Types

type ParsedRewardsPlan

type ParsedRewardsPlan struct {
	types.RewardsPlan
	FeeAmount sdk.Coins
}

func ParseRewardsPlan

func ParseRewardsPlan(cdc codec.Codec, path string) (ParsedRewardsPlan, error)

ParseRewardsPlan parse a RewardsPlan from a json file.

Jump to

Keyboard shortcuts

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