diff --git a/docs/network/fsp/5-protocol-parameters.mdx b/docs/network/fsp/5-protocol-parameters.mdx new file mode 100644 index 00000000..b14a2ff6 --- /dev/null +++ b/docs/network/fsp/5-protocol-parameters.mdx @@ -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) | diff --git a/sidebars.ts b/sidebars.ts index d6ad2a48..0e6a8df4 100644 --- a/sidebars.ts +++ b/sidebars.ts @@ -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",