Skip to content

Commit 7b3492a

Browse files
dineshpintofassko
andauthored
feat(fsp): add sub-protocol parameters (#1221)
Co-authored-by: Kristaps Grinbergs <kristaps@flare.network>
1 parent 119daf8 commit 7b3492a

2 files changed

Lines changed: 31 additions & 0 deletions

File tree

Lines changed: 30 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,30 @@
1+
---
2+
title: Protocol Parameters
3+
description: Parameters of the sub-protocols comprising the FSP.
4+
keywords: [flare-network, ftso, fdc, configuration, system, client]
5+
---
6+
7+
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.
8+
The values provided here correspond to Flare Mainnet.
9+
10+
## FTSOv2
11+
12+
### Block-Latency Feeds (Fast Updates)
13+
14+
| Metric | Value | Associated functions |
15+
| ------------------------------------- | ----------- | --------------------------------------------------------------------------------------------------------------------------------- |
16+
| **Mean updates per block** | 1.5 | [`FastUpdatesIncentiveManager.getExpectedSampleSize`](/ftso/solidity-reference/IFastUpdateIncentiveManager#getexpectedsamplesize) |
17+
| **Precision (step size)** | ≈0.0122% | [`FastUpdatesIncentiveManager.getPrecision`](/ftso/solidity-reference/IFastUpdateIncentiveManager#getprecision) |
18+
| **Range (precision \* mean updates)** | 0.0183% | [`FastUpdatesIncentiveManager.getRange`](/ftso/solidity-reference/IFastUpdateIncentiveManager#getrange) |
19+
| **Max range** | 0.091% (5x) | [`FastUpdatesIncentiveManager.rangeIncreaseLimit`](/ftso/solidity-reference/IFastUpdateIncentiveManager#rangeincreaselimit) |
20+
| **Incentive duration** | 17 blocks | [`FastUpdatesIncentiveManager.getIncentiveDuration`](/ftso/solidity-reference/IFastUpdateIncentiveManager#getincentiveduration) |
21+
| **Incentive fee (2x)** | ≈36.6 FLR | - |
22+
23+
### Anchor Feeds (Scaling)
24+
25+
| Metric | Value | Associated functions |
26+
| ------------------------ | ---------- | ---------------------------------------------------------------------------------------------------------------------------------------------- |
27+
| **Update duration** | 90s | - |
28+
| **FTSO protocol ID** | 100 | [`FtsoFeedPublisher.ftsoProtocolId`](/ftso/scaling/solidity-reference/IFtsoFeedPublisher#ftsoprotocolid) |
29+
| **Feeds history size** | 1000 | [`FtsoFeedPublisher.feedsHistorySize`](/ftso/scaling/solidity-reference/IFtsoFeedPublisher#feedshistorysize) |
30+
| **Minimal reward offer** | 100000 FLR | [`FtsoRewardOffersManager.minimalRewardsOfferValueWei`](/ftso/scaling/solidity-reference/IFtsoRewardOffersManager#minimalrewardsoffervaluewei) |

sidebars.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -54,6 +54,7 @@ const sidebars: SidebarsConfig = {
5454
"network/fsp/rewarding",
5555
"network/fsp/system-protocols",
5656
"network/fsp/offchain-services",
57+
"network/fsp/protocol-parameters",
5758
{
5859
type: "category",
5960
label: "FSP Guides",

0 commit comments

Comments
 (0)