Skip to content
Merged
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
6 changes: 0 additions & 6 deletions docs/fassets/8-operational-parameters.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -48,12 +48,6 @@ To get the default agent settings, you need to call the `getSettings` function o

<OperationalParameters sectionTitle="Transfer Fees" />

## Default Agent Settings

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).

<OperationalParameters sectionTitle="Default Agent Settings" />

## Core Vault

### Core Vault Manager
Expand Down
2 changes: 0 additions & 2 deletions docs/fassets/reference/IAssetManager.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -31,8 +31,6 @@ Returns detailed information about an agent as the [`AgentInfo`](https://github.

Need to provide the agent vault address.

You can find detailed explanations of each agent parameter in the [FAssets Operational Parameters](/fassets/operational-parameters/#default-agent-settings) documentation.

```solidity
function getAgentInfo(address _agentVault)
external view
Expand Down
4 changes: 0 additions & 4 deletions docs/fassets/reference/agent-bot.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -316,8 +316,6 @@ yarn agent-bot close <agentVaultAddress>

Retrieve the configuration parameters by specifying the agent vault address.

You can find detailed explanations of each agent parameter in the [FAssets Operational Parameters](/fassets/operational-parameters/#default-agent-settings) documentation.

```bash
yarn agent-bot getAgentSettings <agentVaultAddress>
```
Expand All @@ -326,8 +324,6 @@ yarn agent-bot getAgentSettings <agentVaultAddress>

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

You can find detailed explanations of each agent parameter in the [FAssets Operational Parameters](/fassets/operational-parameters/#default-agent-settings) documentation.

```bash
yarn agent-bot updateAgentSetting <agentVaultAddress> <name> <value>
```
Expand Down
13 changes: 11 additions & 2 deletions src/components/FAssets/OperationalParameters.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ export default function OperationalParameters({
hideBtc = false,
hideDoge = false,
}: {
network: "songbird" | "coston" | "coston2";
network: "songbird" | "coston" | "coston2" | "flare";
parameters: (typeof operationalParameters)[number]["parameters"];
hideXrp?: boolean;
hideBtc?: boolean;
Expand Down Expand Up @@ -99,13 +99,22 @@ export default function OperationalParameters({

return (
<Tabs
defaultValue="songbird"
defaultValue="flare"
values={[
{ label: "Flare Mainnet", value: "flare" },
{ label: "Flare Testnet Coston2", value: "coston2" },
{ label: "Songbird Canary-Network", value: "songbird" },
{ label: "Songbird Testnet Coston", value: "coston" },
]}
>
<TabItem value="flare">
<ParameterTable
network="flare"
parameters={operationalParametersSection.parameters}
hideBtc
hideDoge
/>
</TabItem>
<TabItem value="coston2">
<ParameterTable
network="coston2"
Expand Down
Loading
Loading