defaults

package
v0.78.6 Latest Latest
Warning

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

Go to latest
Published: Sep 17, 2024 License: AGPL-3.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Unmarshaler

type Unmarshaler struct {
	// contains filtered or unexported fields
}

func NewUnmarshaler

func NewUnmarshaler() *Unmarshaler

func (*Unmarshaler) UnmarshalDataSourceConfig added in v0.61.0

func (u *Unmarshaler) UnmarshalDataSourceConfig(r io.Reader) (*vegapb.Future, error)

UnmarshalDataSourceConfig unmarshal a future as this is a common parent.

func (*Unmarshaler) UnmarshalFeesConfig

func (u *Unmarshaler) UnmarshalFeesConfig(r io.Reader) (*vegapb.Fees, error)

func (*Unmarshaler) UnmarshalLiquidationConfig added in v0.74.0

func (u *Unmarshaler) UnmarshalLiquidationConfig(r io.Reader) (*vegapb.LiquidationStrategy, error)

func (*Unmarshaler) UnmarshalLiquidityMonitoring added in v0.57.0

func (u *Unmarshaler) UnmarshalLiquidityMonitoring(r io.Reader) (*vegapb.LiquidityMonitoringParameters, error)

func (*Unmarshaler) UnmarshalLiquiditySLAParams added in v0.73.0

func (u *Unmarshaler) UnmarshalLiquiditySLAParams(r io.Reader) (*vegapb.LiquiditySLAParameters, error)

func (*Unmarshaler) UnmarshalMarginCalculator

func (u *Unmarshaler) UnmarshalMarginCalculator(r io.Reader) (*vegapb.MarginCalculator, error)

func (*Unmarshaler) UnmarshalPerpsDataSourceConfig added in v0.73.0

func (u *Unmarshaler) UnmarshalPerpsDataSourceConfig(r io.Reader) (*vegapb.Perpetual, error)

func (*Unmarshaler) UnmarshalPriceMonitoring

func (u *Unmarshaler) UnmarshalPriceMonitoring(r io.Reader) (*vegapb.PriceMonitoringSettings, error)

func (*Unmarshaler) UnmarshalRiskModel

func (u *Unmarshaler) UnmarshalRiskModel(r io.Reader) (*vegapb.TradableInstrument, error)

UnmarshalRiskModel unmarshal a tradable instrument instead of a risk model since gRPC implementation of risk models can't be used with jsonpb.Unmarshaler.

Jump to

Keyboard shortcuts

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