Skip to content

Commit 99f9140

Browse files
committed
fix(docs): correct minor formatting issues and enhance clarity in FAssets guides
1 parent 9f25be4 commit 99f9140

File tree

2 files changed

+5
-4
lines changed

2 files changed

+5
-4
lines changed

docs/fassets/developer-guides/1-fassets-get-asset-amanager-address-registry.mdx

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,7 @@ These addresses can change between Flare testnets and mainnet deployments, and r
2020
Instead, you should dynamically fetch the FXRP Asset Manager address using the [Flare Contract Registry](/network/guides/flare-contracts-registry), the trusted source for discovering contract addresses on any Flare network.
2121

2222
This guide walks you through:
23+
2324
- How to retrieve the **Asset Manager Controller** using the Flare Contract Registry.
2425
- How to find the specific **FXRP Asset Manager**.
2526
- A sample Solidity contract that encapsulates this logic.
@@ -41,7 +42,7 @@ Then, it uses the Asset Manager Controller address to get the FXRP Asset Manager
4142

4243
1. Imports the neccesary interfaces and libraries from the [Flare Periphery Contracts package](https://www.npmjs.com/package/@flarenetwork/flare-periphery-contracts).
4344
2. Defines a constant `TXRP_HASH` that is the hash of the string `TXRP`.
44-
This is used to identify the FXRP asset manager.
45+
This is used to identify the FXRP asset manager.
4546
3. Implements a function `getFxrpAssetManager` that returns the FXRP Asset Manager address.
4647
4. Uses the `ContractRegistry` library from the Flare Periphery Contracts package to get the Asset Manager Controller address from the Flare contract registry.
4748
5. Uses the `IAssetManagerController` interface from the Flare Periphery Contracts package to get all the asset managers from the Asset Manager Controller.
@@ -61,4 +62,4 @@ To continue your FAssets development journey, you can:
6162

6263
- Learn how to [mint FXRP](/fassets/developer-guides/fassets-mint).
6364
- Understand how to [redeem FXRP](/fassets/developer-guides/fassets-redeem).
64-
- Explore [FAssets system settings](/fassets/operational-parameters).
65+
- Explore [FAssets system settings](/fassets/operational-parameters).

docs/network/guides/flare-contracts-registry.mdx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -97,8 +97,8 @@ This library provides shorthand functions for accessing common protocol contract
9797

9898
In the example, the `getRandomNumberViaContractLibrary` function demonstrates this approach.
9999

100-
<br />
101-
:::tip If the contract you are looking for does not have a shorthand method in
100+
:::tip
101+
If the contract you are looking for does not have a shorthand method in
102102
the `ContractRegistry` library, you can fall back to using
103103
`getContractAddressByName` or call `getAllContracts` to list all registered
104104
contracts.

0 commit comments

Comments
 (0)