Skip to main content

IFeeCalculator

Interface for calculating block-latency feed fees.

Sourced from IFeeCalculator.sol on GitHub.

Functions

calculateFeeByIds

Calculates a fee that needs to be paid to fetch feeds' data.

function calculateFeeByIds(
bytes21[] _feedIds
) external view returns (
uint256 _fee
);

Parameters

  • _feedIds: List of feed ids.

calculateFeeByIndices

Calculates a fee that needs to be paid to fetch feeds' data.

function calculateFeeByIndices(
uint256[] _indices
) external view returns (
uint256 _fee
);

Parameters

  • _indices: Indices of the feeds, corresponding to feed ids in the FastUpdatesConfiguration contract.