Skip to content

Commit ee157bb

Browse files
committed
feat(fsp): add sub-protocol parameters
1 parent 572d927 commit ee157bb

File tree

2 files changed

+34
-0
lines changed

2 files changed

+34
-0
lines changed
Lines changed: 33 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,33 @@
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+
| **Update size** | ≈200k (1.33%) | - |
17+
| **Mean updates per block** | 1.5 | [`FastUpdatesIncentiveManager.getExpectedSampleSize`](/ftso/solidity-reference/IFastUpdateIncentiveManager#getexpectedsamplesize) |
18+
| **Precision (step size)** | ≈0.0122% | [`FastUpdatesIncentiveManager.getPrecision`](/ftso/solidity-reference/IFastUpdateIncentiveManager#getprecision) |
19+
| **Range** | 0.0183% | [`FastUpdatesIncentiveManager.getRange`](/ftso/solidity-reference/IFastUpdateIncentiveManager#getrange) |
20+
| **Max range (max increment per block)** | 0.091% (5x) | [`FastUpdatesIncentiveManager.rangeIncreaseLimit`](/ftso/solidity-reference/IFastUpdateIncentiveManager#rangeincreaselimit) |
21+
| **Max increment per second** | 0.054% | - |
22+
| **Incentive duration** | 17 blocks (≈29 seconds) | [`FastUpdatesIncentiveManager.getIncentiveDuration`](/ftso/solidity-reference/IFastUpdateIncentiveManager#getincentiveduration) |
23+
| **Incentive fee (2x)** | ≈36.6 FLR | - |
24+
25+
### Anchor Feeds (Scaling)
26+
27+
| Metric | Value | Associated functions |
28+
| ------------------------ | ------------- | ---------------------------------------------------------------------------------------------------------------------------------------------- |
29+
| **Update size** | ≈200k (1.33%) | - |
30+
| **Update duration** | 90s | - |
31+
| **FTSO protocol ID** | 100 | [`FtsoFeedPublisher.ftsoProtocolId`](/ftso/scaling/solidity-reference/IFtsoFeedPublisher#ftsoprotocolid) |
32+
| **Feeds history size** | 1000 | [`FtsoFeedPublisher.feedsHistorySize`](/ftso/scaling/solidity-reference/IFtsoFeedPublisher#feedshistorysize) |
33+
| **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
@@ -49,6 +49,7 @@ const sidebars: SidebarsConfig = {
4949
"network/fsp/rewarding",
5050
"network/fsp/system-protocols",
5151
"network/fsp/offchain-services",
52+
"network/fsp/protocol-parameters",
5253
{
5354
type: "category",
5455
label: "FSP Guides",

0 commit comments

Comments
 (0)