propose

package
v0.73.9 Latest Latest
Warning

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

Go to latest
Published: Dec 14, 2023 License: MIT Imports: 23 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var ProposeCmd = &cobra.Command{
	Use:   "propose",
	Short: "Submit and vote on Vega Network Proposals",
	Long:  ``,
}

Root Command for Propose

Functions

func PrettyPrintProposal

func PrettyPrintProposal(proposal *v2.GovernanceDataEdge, details bool)

func RunList

func RunList(args ListArgs) error

func RunNetworkParameter

func RunNetworkParameter(args NetworkParameterArgs) error

func RunReferral

func RunReferral(args ReferralArgs) error

func RunVolumeDiscount

func RunVolumeDiscount(args VolumeDiscountArgs) error

Types

type ListArgs

type ListArgs struct {
	*ProposeArgs
}

type NetworkParameterArgs

type NetworkParameterArgs struct {
	*ProposeArgs
	NetworkParameterName  string
	NetworkParameterValue string
}

type ProposeArgs

type ProposeArgs struct {
	*rootCmd.RootArgs
	VegaNetworkName string
}

type ProposeAssetArgs

type ProposeAssetArgs struct {
	*ProposeArgs
}

type ReferralArgs

type ReferralArgs struct {
	*ProposeArgs
	SetupReferralProgram bool
}

type VolumeDiscountArgs

type VolumeDiscountArgs struct {
	*ProposeArgs
	SetupVolumeDiscountProgram bool
}

Jump to

Keyboard shortcuts

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