Docs
Contracts
Reference documentation
HistoricDataFeedStoreV1
GitHub
Explore on GitHub

HistoricDataFeedStoreV1

Overview

  1. Developer notes

    Storage layout

    array[key] -> array[counter] -> Transmission {bytes24 value, uint64 timestamp}

    We have 2-D arrays where:

    - key is the feed id and array[key] is the array of counters;

    - counter is incremented whenever a new value for a feed is stored

    and presents a continuous feed history.

    The first value at array[key][0] is the latest counter.

    The value at array[key][counter] is { value, timestamp }.

    The value is a bytes24, whereas the timestamp is a uint64.

Constants

Variables

Functions