OBJECT

OracleSpec

An oracle spec describe the oracle data that a product (or a risk model) wants to get from the oracle engine.

link GraphQL Schema definition

1 type OracleSpec {
2
3 # id is a hash generated from the OracleSpec data.
4 id: String!
5
6 # RFC3339Nano creation date time
7 createdAt: String!
8
9 # RFC3339Nano last updated timestamp
10 updatedAt: String
11
12 # pubKeys is the list of authorized public keys that signed the data for this
13 # oracle. All the public keys in the oracle data should be contained in these
14 # public keys.
15 pubKeys: [String!]
16
17 # filters describes which oracle data are considered of interest or not for
18 # the product (or the risk model).
19 filters: [Filter!]
20
21 # status describes the status of the oracle spec
22 status: OracleSpecStatus!
23
24 # data list all the oracle data broadcast to this spec
25 data: [OracleData!]
26
27 }