Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
30 changes: 30 additions & 0 deletions docs/network/fsp/5-protocol-parameters.mdx
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
---
title: Protocol Parameters
description: Parameters of the sub-protocols comprising the FSP.
keywords: [flare-network, ftso, fdc, configuration, system, client]
---

Each FSP sub-protocol (e.g. FTSOv2, FDC) has several associated parameters, which are detailed here, alongside the contract method (if applicable) to query them onchain.
The values provided here correspond to Flare Mainnet.

## FTSOv2

### Block-Latency Feeds (Fast Updates)

| Metric | Value | Associated functions |
| ------------------------------------- | ----------- | --------------------------------------------------------------------------------------------------------------------------------- |
| **Mean updates per block** | 1.5 | [`FastUpdatesIncentiveManager.getExpectedSampleSize`](/ftso/solidity-reference/IFastUpdateIncentiveManager#getexpectedsamplesize) |
| **Precision (step size)** | ≈0.0122% | [`FastUpdatesIncentiveManager.getPrecision`](/ftso/solidity-reference/IFastUpdateIncentiveManager#getprecision) |
| **Range (precision \* mean updates)** | 0.0183% | [`FastUpdatesIncentiveManager.getRange`](/ftso/solidity-reference/IFastUpdateIncentiveManager#getrange) |
| **Max range** | 0.091% (5x) | [`FastUpdatesIncentiveManager.rangeIncreaseLimit`](/ftso/solidity-reference/IFastUpdateIncentiveManager#rangeincreaselimit) |
| **Incentive duration** | 17 blocks | [`FastUpdatesIncentiveManager.getIncentiveDuration`](/ftso/solidity-reference/IFastUpdateIncentiveManager#getincentiveduration) |
| **Incentive fee (2x)** | ≈36.6 FLR | - |

### Anchor Feeds (Scaling)

| Metric | Value | Associated functions |
| ------------------------ | ---------- | ---------------------------------------------------------------------------------------------------------------------------------------------- |
| **Update duration** | 90s | - |
| **FTSO protocol ID** | 100 | [`FtsoFeedPublisher.ftsoProtocolId`](/ftso/scaling/solidity-reference/IFtsoFeedPublisher#ftsoprotocolid) |
| **Feeds history size** | 1000 | [`FtsoFeedPublisher.feedsHistorySize`](/ftso/scaling/solidity-reference/IFtsoFeedPublisher#feedshistorysize) |
| **Minimal reward offer** | 100000 FLR | [`FtsoRewardOffersManager.minimalRewardsOfferValueWei`](/ftso/scaling/solidity-reference/IFtsoRewardOffersManager#minimalrewardsoffervaluewei) |
1 change: 1 addition & 0 deletions sidebars.ts
Original file line number Diff line number Diff line change
Expand Up @@ -49,6 +49,7 @@ const sidebars: SidebarsConfig = {
"network/fsp/rewarding",
"network/fsp/system-protocols",
"network/fsp/offchain-services",
"network/fsp/protocol-parameters",
{
type: "category",
label: "FSP Guides",
Expand Down
Loading