Skip to content

antelope.oracles-v0.0.7

Compare
Choose a tag to compare
@0237h 0237h released this 18 Nov 09:06
· 39 commits to develop since this release

Antelope Oracles Substream

Antelope Oracles prices from delphioracle and oracle.defi

Latest Releases

What's new

Full Changelog: antelope.oracles-v0.0.6...antelope.oracles-v0.0.7

Quickstart

$ make delphioracle # quotes
$ make oracle.defi # prices

delphioracle

message Datapoint {
  uint64 id = 1;
  uint64 median = 2;
  string owner = 3;
  string timestamp = 4;
  uint64 value = 5;
}

message Quote {
  string pair = 1;
  Datapoint value = 2;
}

oracle.defi

message Price {
    uint64 id = 1;
    string contract = 2;
    string coin = 3;
    uint32 precision = 4;
    uint64 acc_price = 5;
    uint64 last_price = 6;
    uint64 avg_price = 7;
    string last_update = 8;
}

Mermaid graph

graph TD;
  store_pairs[store: store_pairs];
  sf.antelope.type.v1.Block[source: sf.antelope.type.v1.Block] --> store_pairs;
  map_prices[map: map_prices];
  map_prices:params[params] --> map_prices;
  sf.antelope.type.v1.Block[source: sf.antelope.type.v1.Block] --> map_prices;
  map_quotes[map: map_quotes];
  map_quotes:params[params] --> map_quotes;
  sf.antelope.type.v1.Block[source: sf.antelope.type.v1.Block] --> map_quotes;
  kv_out[map: kv_out];
  map_quotes --> kv_out;
  sf.substreams.v1.Clock[source: sf.substreams.v1.Clock] --> kv_out;
  db_out[map: db_out];
  map_quotes --> db_out;
  graph_out[map: graph_out];
  map_quotes --> graph_out;

Modules

Package name: antelope_oracles
Version: v0.0.7
Doc: Antelope `eosio.token` based action traces & database operations.
Modules:
----
Name: store_pairs
Initial block: 0
Kind: store
Value Type: proto:antelope.oracles.v1.Pairs
Update Policy: set_if_not_exists
Hash: 9191f4c719f36651f71c52074cb9946e66924787

Name: map_prices
Initial block: 0
Kind: map
Output Type: proto:antelope.oracles.v1.Prices
Hash: d7b77843a3cb3aedca1ec3cd43dbb1aec9fdcf42

Name: map_quotes
Initial block: 0
Kind: map
Output Type: proto:antelope.oracles.v1.Quotes
Hash: ae4e5f760aaa208db92686253db2e4fce55360f8

Name: kv_out
Initial block: 0
Kind: map
Output Type: proto:sf.substreams.sink.kv.v1.KVOperations
Hash: c8655d6fe674abcba19eca74051ccb3d53bec5a5

Name: db_out
Initial block: 0
Kind: map
Output Type: proto:sf.substreams.sink.database.v1.DatabaseChanges
Hash: d489ed6804ded771cddd8ff94c134193d6e71776

Name: graph_out
Initial block: 0
Kind: map
Output Type: proto:sf.substreams.sink.entity.v1.EntityChanges
Hash: 47eb637511b7191513b80d39a3110b8de82157a1