data.proto
path vega/commands/v1/data.proto
package vega.commands.v1
Messages
OracleDataSubmission
Command to submit new Oracle data from third party providers
Name | Type | Description |
---|---|---|
source | OracleDataSubmission.OracleSource | Source from which the data is coming from. Must be base64 encoded. Oracle data is a type of external data source data. |
payload | bytes | Data provided by the data source In the case of Open Oracle - it will be the entire object - it will contain messages, signatures and price data. |
Enums
OracleDataSubmission.OracleSource
Supported oracle sources
Name | Number | Description |
---|---|---|
ORACLE_SOURCE_UNSPECIFIED | 0 | Default value |
ORACLE_SOURCE_OPEN_ORACLE | 1 | Specifies that the payload will be base64 encoded JSON conforming to the Open Oracle standard |
ORACLE_SOURCE_JSON | 2 | Specifies that the payload will be base64 encoded JSON, but does not specify the shape of the data |