code.vegaprotocol.io/vega@v0.79.0/protos/sources/vega/commands/v1/data.proto (about)

     1  syntax = "proto3";
     2  
     3  package vega.commands.v1;
     4  
     5  option go_package = "code.vegaprotocol.io/vega/protos/vega/commands/v1";
     6  
     7  // Command to submit new oracle data from third party providers
     8  message OracleDataSubmission {
     9    // Supported oracle sources
    10    enum OracleSource {
    11      // Default value
    12      ORACLE_SOURCE_UNSPECIFIED = 0;
    13      // Specifies that the payload will be base64 encoded JSON conforming to the Open Oracle standard.
    14      ORACLE_SOURCE_OPEN_ORACLE = 1;
    15      // Specifies that the payload will be base64 encoded JSON, but does not specify the shape of the data.
    16      ORACLE_SOURCE_JSON = 2;
    17      // Specifies that the payload will be base64 encoded JSON conforming to the ETH standard.
    18      ORACLE_SOURCE_ETHEREUM = 3;
    19    }
    20    // Source from which the data is coming from.
    21    OracleSource source = 1;
    22    // Data provided by the data source.
    23    bytes payload = 2;
    24  }