package
0.79.0-preview.4
Repository: https://github.com/vegaprotocol/vega.git
Documentation: pkg.go.dev

# Functions

New creates an Adaptors with all the supported oracle Adaptor.
NewJSONAdaptor creates a new JSONAdaptor.
NewOpenOracleAdaptor creates a new OpenOracleAdaptor.

# Variables

ErrUnknownOracleSource is used when the input data is originated from an unknown, unsupported or unspecified oracle source.

# Structs

Adaptors normalises the input data into an common.Data according to its source.
JSONAdaptor is a Adaptor for simple data broadcasting.
OpenOracleAdaptor is a specific oracle Adaptor for Open Oracle / Open Price Feed standard.

# Interfaces

Adaptor represents a adaptor that consumes and normalises data from a specific type of source.