Skip to content
Lattice

Feed

Git Source

Packed data for a single registered price feed.

struct Feed {
    /// @notice Address of the AggregatorV3 contract.
    address feed;
    /// @notice Maximum age in seconds before an answer is considered stale.
    uint48 maxStaleness;
    /// @notice Number of decimals used by this feed (cached at registration time).
    uint8 decimals;
}

Properties

NameTypeDescription
feedaddress
maxStalenessuint48
decimalsuint8