PriceInfo

Git Source

The price and timestamp returned by the oracle middleware.

struct PriceInfo {
    uint256 price;
    uint256 neutralPrice;
    uint256 timestamp;
}

Properties

NameTypeDescription
priceuint256The validated asset price, potentially adjusted by the middleware.
neutralPriceuint256The neutral/average price of the asset.
timestampuint256The timestamp of the price data.