Skip to content

Commit d96082a

Browse files
committed
refactor(docs): clarify asset manager settings retrieval and improve documentation structure in FAssets guides
1 parent 5769b5b commit d96082a

File tree

2 files changed

+6
-5
lines changed

2 files changed

+6
-5
lines changed

docs/fassets/developer-guides/3-fassets-asset-manager-settings-solidity.mdx

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -37,14 +37,15 @@ To get the FAsset lot size, you can use the following smart contract:
3737

3838
### Code Breakdown
3939

40-
1. Import the [Flare Contracts registry](/network/guides/flare-contracts-registry#contract-registry-library) to get the FAssets FXRP asset manager address.
40+
1. Import the [ContractRegistry library](/network/guides/flare-contracts-registry#contract-registry-library) to access the Flare Network contract registry.
4141
2. Import the interface `IAssetManager` from the [Flare Periphery Contracts package](https://www.npmjs.com/package/@flarenetwork/flare-periphery-contracts), which provides access to the FAssets system.
4242
3. Create a contract called `FAssetsSettings` that will be used to fetch the FAssets settings from the asset manager.
43-
4. The `getLotSize` function gets numbers from the FAssets FXRP asset manager settings.
44-
Using the [`getSettings`](/fassets/reference/IAssetManager#getsettings) function returns the complete asset manager settings that you can find in the [FAssets Operational Parameters](/fassets/operational-parameters/#asset-manager-operational-parameters) documentation:
43+
4. Use the ContractRegistry to get the FAssets FXRP asset manager address.
44+
5. Use the `getLotSize` function to retrieve settings from the FAssets FXRP asset manager.
45+
The function calls [`getSettings`](/fassets/reference/IAssetManager#getsettings) which returns the complete asset manager settings that you can find in the [FAssets Operational Parameters](/fassets/operational-parameters/#asset-manager-operational-parameters) documentation:
4546
- `lotSizeAMG`: The smallest amount you can trade (in AMG units).
4647
- `assetDecimals`: How many decimal places the FAssets asset uses.
47-
5. The `getLotSize` function returns two values:
48+
6. The `getLotSize` function returns two values:
4849
- `lotSizeAMG`: The smallest amount you can trade (in AMG units).
4950
- `assetDecimals`: How many decimal places the FAssets asset uses.
5051

docs/fassets/developer-guides/5-fassets-minting.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -103,7 +103,7 @@ This script demonstrates how to retrieve the FDC proof and execute minting.
103103
2. Set the collateral reservation ID to the previously reserved minting request.
104104
3. Set the FDC round ID to retrieve the proof.
105105
4. Provide the FDC request data.
106-
5. Asset manager contract artifact.
106+
5. Import the Asset manager contract artifact.
107107
6. Define the function to prepare the FDC request.
108108
7. Create a function to get the proof from the FDC.
109109
It sends a POST request to the [Flare Data Availability Layer](/fdc/overview#data-availability-layer) and returns a Merkle proof and attestation response from FDC.

0 commit comments

Comments
 (0)