Skip to main content

IFtsoFeedIdConverter

Interface for converting feed names to feed ids.

Sourced from IFtsoFeedIdConverter.sol on GitHub.

Functions

getFeedCategoryAndName

Returns the feed category and name for given feed id.

function getFeedCategoryAndName(
bytes21 _feedId
) external pure returns (
uint8 _category,
string _name
);

Parameters

  • _feedId: Feed id.

Returns

  • _category: Feed category.
  • _name: Feed name.

getFeedId

Returns the feed id for given category and name.

function getFeedId(
uint8 _category,
string _name
) external view returns (
bytes21
);

Parameters

  • _category: Feed category.
  • _name: Feed name.

Returns

  • ``: Feed id.