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 ProposeArgs ¶
type ProvideLPArgs ¶
type ProvideLPArgs struct {
*MarketArgs
}
Click to show internal directories.
Click to hide internal directories.