Skip to content

Commit 9726e1b

Browse files
committed
feat(docs): adds Flare network FAssets operational parameters
1 parent 2daf0fb commit 9726e1b

File tree

5 files changed

+172
-17
lines changed

5 files changed

+172
-17
lines changed

docs/fassets/8-operational-parameters.mdx

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -48,12 +48,6 @@ To get the default agent settings, you need to call the `getSettings` function o
4848

4949
<OperationalParameters sectionTitle="Transfer Fees" />
5050

51-
## Default Agent Settings
52-
53-
To get the default agent settings, you need to call the `getAgentInfo` function on the `IAssetManager` interface. Read more about the `IAssetManager` interface [here](/fassets/reference/IAssetManager).
54-
55-
<OperationalParameters sectionTitle="Default Agent Settings" />
56-
5751
## Core Vault
5852

5953
### Core Vault Manager

docs/fassets/reference/IAssetManager.mdx

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -31,8 +31,6 @@ Returns detailed information about an agent as the [`AgentInfo`](https://github.
3131

3232
Need to provide the agent vault address.
3333

34-
You can find detailed explanations of each agent parameter in the [FAssets Operational Parameters](/fassets/operational-parameters/#default-agent-settings) documentation.
35-
3634
```solidity
3735
function getAgentInfo(address _agentVault)
3836
external view

docs/fassets/reference/agent-bot.mdx

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -316,8 +316,6 @@ yarn agent-bot close <agentVaultAddress>
316316

317317
Retrieve the configuration parameters by specifying the agent vault address.
318318

319-
You can find detailed explanations of each agent parameter in the [FAssets Operational Parameters](/fassets/operational-parameters/#default-agent-settings) documentation.
320-
321319
```bash
322320
yarn agent-bot getAgentSettings <agentVaultAddress>
323321
```
@@ -326,8 +324,6 @@ yarn agent-bot getAgentSettings <agentVaultAddress>
326324

327325
Modify specific operational parameters for the agent vault by specifying the agent vault address, name, and value.
328326

329-
You can find detailed explanations of each agent parameter in the [FAssets Operational Parameters](/fassets/operational-parameters/#default-agent-settings) documentation.
330-
331327
```bash
332328
yarn agent-bot updateAgentSetting <agentVaultAddress> <name> <value>
333329
```

src/components/FAssets/OperationalParameters.tsx

Lines changed: 11 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ export default function OperationalParameters({
2121
hideBtc = false,
2222
hideDoge = false,
2323
}: {
24-
network: "songbird" | "coston" | "coston2";
24+
network: "songbird" | "coston" | "coston2" | "flare";
2525
parameters: (typeof operationalParameters)[number]["parameters"];
2626
hideXrp?: boolean;
2727
hideBtc?: boolean;
@@ -99,13 +99,22 @@ export default function OperationalParameters({
9999

100100
return (
101101
<Tabs
102-
defaultValue="songbird"
102+
defaultValue="flare"
103103
values={[
104+
{ label: "Flare Mainnet", value: "flare" },
104105
{ label: "Flare Testnet Coston2", value: "coston2" },
105106
{ label: "Songbird Canary-Network", value: "songbird" },
106107
{ label: "Songbird Testnet Coston", value: "coston" },
107108
]}
108109
>
110+
<TabItem value="flare">
111+
<ParameterTable
112+
network="flare"
113+
parameters={operationalParametersSection.parameters}
114+
hideBtc
115+
hideDoge
116+
/>
117+
</TabItem>
109118
<TabItem value="coston2">
110119
<ParameterTable
111120
network="coston2"

0 commit comments

Comments
 (0)