market

package
v0.1.0 Latest Latest
Warning

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

Go to latest
Published: Aug 3, 2023 License: MIT Imports: 24 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

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 RunPropose

func RunPropose(args ProposeArgs) error

func RunProvideLP

func RunProvideLP(args ProvideLPArgs) error

Types

type MarketArgs

type MarketArgs struct {
	*rootCmd.RootArgs
	VegaNetworkName string
}

type ProposeArgs

type ProposeArgs struct {
	*MarketArgs
	ProposeAAPL    bool
	ProposeAAVEDAI bool
	ProposeBTCUSD  bool
	ProposeETHBTC  bool
	ProposeTSLA    bool
	ProposeUNIDAI  bool
	ProposeETHDAI  bool

	ProposeAll       bool
	ProposeCommunity bool

	OraclePubKey string
	FakeAsset    bool
	ERC20Asset   bool
}

type ProvideLPArgs

type ProvideLPArgs struct {
	*MarketArgs
}

Jump to

Keyboard shortcuts

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