Skip to content

Commit 1998c0f

Browse files
committed
fix(docs): update FAssets guide to include links for Asset Manager and Controller references
1 parent ec1e5ca commit 1998c0f

File tree

1 file changed

+5
-6
lines changed

1 file changed

+5
-6
lines changed

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

Lines changed: 5 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -21,14 +21,13 @@ Instead, you should dynamically fetch the FXRP Asset Manager address using the [
2121

2222
This guide walks you through:
2323

24-
- How to retrieve the **Asset Manager Controller** using the Flare Contract Registry.
25-
- How to find the specific **FXRP Asset Manager**.
24+
- How to retrieve the [Asset Manager Controller](/fassets/reference/IAssetManagerController) using the Flare Contract Registry.
25+
- How to find the specific FXRP [Asset Manager](/fassets/reference/IAssetManager).
2626
- A sample Solidity contract that encapsulates this logic.
2727

2828
## Sample code
2929

30-
To get the FAssets asset manager address, you can use the following smart contract that retrieves the Asset Manager Controller address from the Flare contract registry.
31-
Then, it uses the Asset Manager Controller address to get the FXRP Asset Manager address.
30+
To get the [FAssets asset manager](/fassets/reference/IAssetManager) address, you can use the following smart contract that retrieves the [Asset Manager Controller](/fassets/reference/IAssetManagerController) address from the [Flare contract registry](/network/guides/flare-contracts-registry).
3231

3332
<CodeBlock language="solidity" title="contracts/AssetManagerRegistry.sol">
3433
{AssetManagerRegistry}
@@ -43,8 +42,8 @@ Then, it uses the Asset Manager Controller address to get the FXRP Asset Manager
4342
1. Imports the necessary interfaces and libraries from the [Flare Periphery Contracts package](https://www.npmjs.com/package/@flarenetwork/flare-periphery-contracts).
4443
2. Defines a constant `TXRP_HASH` that is the hash of the string `TXRP`.
4544
This is used to identify the FXRP asset manager.
46-
3. Implements a function `getFxrpAssetManager` that returns the FXRP Asset Manager address.
47-
4. Uses the `ContractRegistry` library from the Flare Periphery Contracts package to get the Asset Manager Controller address from the Flare contract registry.
45+
3. Implements a function `getFxrpAssetManager` that returns the FXRP [Asset Manager](/fassets/reference/IAssetManager) address.
46+
4. Uses the `ContractRegistry` library from the Flare Periphery Contracts package to get the [Asset Manager Controller](/fassets/reference/IAssetManagerController) address from the Flare contract registry.
4847
5. Uses the `IAssetManagerController` interface from the Flare Periphery Contracts package to get all the asset managers from the Asset Manager Controller.
4948
6. Iterates over the asset managers and returns the FXRP Asset Manager address.
5049
7. Gets the settings of the asset manager.

0 commit comments

Comments
 (0)