market

package
v0.75.8 Latest Latest
Warning

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

Go to latest
Published: Apr 2, 2024 License: MIT Imports: 21 Imported by: 0

Documentation

Index

Constants

View Source
const (
	MARKET_AAPL_MARKER    = "auto:aapl"
	MARKET_AAVEDAI_MARKER = "auto:aavedai"
	MARKET_BTCUSD_MARKER  = "auto:btcusd"
	MARKET_ETHBTC_MARKER  = "auto:ethbtc"
	MARKET_TSLA_MARKER    = "auto:tsla"
	MARKET_UNIDAI_MARKER  = "auto:unidai"
	MARKET_ETHDAI_MARKER  = "auto:ethdai"
)
View Source
const CoinBaseOraclePubKey = "0xfCEAdAFab14d46e20144F48824d0C09B1a03F2BC"

The CoinBase Oracle data

View Source
const OpsManagedMetadata = "managed:vega/ops"

Variables

View Source
var MarketCmd = &cobra.Command{
	Use:   "market",
	Short: "Use template to quickly get what you need",
	Long: `This section contains multiple built-up templates that you can use to quickly achive what you want.
	If you see that the command you created might be useful, the move it elsewhere, and leave the template in an original state.`,
}

Root Command for Market

Functions

func MarketProposalsForEnvironment added in v0.74.10

func MarketProposalsForEnvironment(environment string) []*commandspb.ProposalSubmission

func RunTerminate added in v0.73.9

func RunTerminate(args *TerminateArgs) error

Types

type MarketArgs

type MarketArgs struct {
	*rootCmd.RootArgs
	VegaNetworkName string
}

type ProposeArgs

type ProposeArgs struct {
	*MarketArgs
}

type TerminateArgs added in v0.73.9

type TerminateArgs struct {
	AllMarkets     bool
	ManagedMarkets bool
	MarketIds      []string

	*MarketArgs
}

Jump to

Keyboard shortcuts

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