# IFastUpdatesConfiguration

> Interface for the block-latency feed configuration.

> For the complete documentation index, see [llms.txt](/llms.txt). Markdown versions of documentation pages are available by appending `.md` to the page URL.

Source: https://dev.flare.network/ftso/solidity-reference/IFastUpdatesConfiguration

Interface for the block-latency feed configuration.

Sourced from `IFastUpdatesConfiguration.sol` on [GitHub](https://github.com/flare-foundation/flare-smart-contracts-v2/blob/main/contracts/userInterfaces/IFastUpdatesConfiguration.sol).

## Functions[​](#functions "Direct link to Functions")

### getFeedConfigurations[​](#getfeedconfigurations "Direct link to getFeedConfigurations")

Returns the feed configurations, including removed ones.

```
function getFeedConfigurations() external view returns (    struct IFastUpdatesConfiguration.FeedConfiguration[]);
```

### getFeedId[​](#getfeedid "Direct link to getFeedId")

Returns the feed id at a given index. Removed (unused) feed index will return bytes21(0).

```
function getFeedId(    uint256 _index) external view returns (    bytes21 _feedId);
```

#### Parameters[​](#parameters "Direct link to Parameters")

-   `_index`: The index.

#### Returns[​](#returns "Direct link to Returns")

-   `_feedId`: The feed id.

### getFeedIds[​](#getfeedids "Direct link to getFeedIds")

Returns all feed ids. For removed (unused) feed indices, the feed id will be bytes21(0).

```
function getFeedIds() external view returns (    bytes21[]);
```

### getFeedIndex[​](#getfeedindex "Direct link to getFeedIndex")

Returns the index of a feed.

```
function getFeedIndex(    bytes21 _feedId) external view returns (    uint256 _index);
```

#### Parameters[​](#parameters-1 "Direct link to Parameters")

-   `_feedId`: The feed id.

#### Returns[​](#returns-1 "Direct link to Returns")

-   `_index`: The index of the feed.

### getNumberOfFeeds[​](#getnumberoffeeds "Direct link to getNumberOfFeeds")

Returns the number of feeds, including removed ones.

```
function getNumberOfFeeds() external view returns (    uint256);
```

### getUnusedIndices[​](#getunusedindices "Direct link to getUnusedIndices")

Returns the unused indices - indices of removed feeds.

```
function getUnusedIndices() external view returns (    uint256[]);
```

## Events[​](#events "Direct link to Events")

### FeedAdded[​](#feedadded "Direct link to FeedAdded")

Event emitted when a feed is added.

```
event FeedAdded(    bytes21 feedId,    uint32 rewardBandValue,    uint24 inflationShare,    uint256 index)
```

### FeedRemoved[​](#feedremoved "Direct link to FeedRemoved")

Event emitted when a feed is removed.

```
event FeedRemoved(    bytes21 feedId,    uint256 index)
```

### FeedUpdated[​](#feedupdated "Direct link to FeedUpdated")

Event emitted when a feed is updated.

```
event FeedUpdated(    bytes21 feedId,    uint32 rewardBandValue,    uint24 inflationShare,    uint256 index)
```

## Structures[​](#structures "Direct link to Structures")

### FeedConfiguration[​](#feedconfiguration "Direct link to FeedConfiguration")

The feed configuration struct.

```
struct FeedConfiguration {  bytes21 feedId;  uint32 rewardBandValue;  uint24 inflationShare;}
```
