Documentation ¶
Index ¶
Constants ¶
View Source
const ( // Flag names FlagUnixSocketAddress = "unix-socket-address" FlagPriceDaemonEnabled = "price-daemon-enabled" FlagPriceDaemonLoopDelayMs = "price-daemon-loop-delay-ms" FlagBridgeDaemonEnabled = "bridge-daemon-enabled" FlagBridgeDaemonLoopDelayMs = "bridge-daemon-loop-delay-ms" FlagBridgeDaemonEthRpcEndpoint = "bridge-daemon-eth-rpc-endpoint" FlagLiquidationDaemonEnabled = "liquidation-daemon-enabled" FlagLiquidationDaemonLoopDelayMs = "liquidation-daemon-loop-delay-ms" FlagLiquidationDaemonSubaccountPageLimit = "liquidation-daemon-subaccount-page-limit" FlagLiquidationDaemonRequestChunkSize = "liquidation-daemon-request-chunk-size" )
List of CLI flags for Server and Client.
Variables ¶
This section is empty.
Functions ¶
func AddDaemonFlagsToCmd ¶
AddSharedPriceFeedFlagsToCmd adds the required flags to instantiate a server and client for price updates. These flags should be applied to the `start` command V4 Cosmos application. E.g. `dydxprotocold start --price-daemon-enabled=true --unix-socket-address $(unix_socket_address)`
Types ¶
type BridgeFlags ¶
type DaemonFlags ¶
type DaemonFlags struct { Bridge BridgeFlags Liquidation LiquidationFlags Price PriceFlags }
func GetDaemonFlagValuesFromOptions ¶
func GetDaemonFlagValuesFromOptions( appOpts servertypes.AppOptions, ) DaemonFlags
GetDaemonFlagValuesFromOptions gets all daemon flag values from the `AppOptions` struct.
func GetDefaultDaemonFlags ¶
func GetDefaultDaemonFlags() DaemonFlags
Returns the default values for the Daemon Flags using a singleton pattern.
type LiquidationFlags ¶
type PriceFlags ¶
type SharedFlags ¶
type SharedFlags struct {
} Click to show internal directories.
Click to hide internal directories.