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. |
payload | bytes | Data provided by the data source. |
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. |
ORACLE_SOURCE_ETHEREUM | 3 | Specifies that the payload will be base64 encoded JSON conforming to the ETH standard. |