data.proto
path vega/data/v1/data.proto
package vega.data.v1
Messages
Data
Data describes valid source data that has been received by the node.
It represents both matched and unmatched data.
Name | Type | Description |
---|
signers | Signer | |
data | Property | Data holds all the properties of the data |
matched_spec_ids | string | `matched_specs_ids` lists all the specs that matched this data.
When the array is empty, it means no spec matched this data. |
broadcast_at | int64 | `broadcast_at` is the time at which the data was broadcast to the markets
with a matching spec.
It has no value when the date did not match any spec.
The value is a Unix timestamp in nanoseconds. |
ETHAddress
Name | Type | Description |
---|
address | string | |
ExternalData
Name | Type | Description |
---|
data | Data | |
Property
Property describes one property of data spec with a key with its value.
Name | Type | Description |
---|
name | string | Name of the property. |
value | string | Value of the property. |
PubKey
PubKey is the public key that signed this data.
Different public keys coming from different sources will be further separated.
Name | Type | Description |
---|
key | string | |
Signer
Name | Type | Description |
---|
pub_key | PubKey | List of authorized public keys that signed the data for this
source. All the public keys in the data should be contained in these
public keys. |
eth_address | ETHAddress | In case of an open oracle - Ethereum address will be submitted |