Skip to content

Commit 07b407c

Browse files
committed
fix(docs): update function references by removing parenthesis
1 parent 9c885da commit 07b407c

File tree

3 files changed

+11
-11
lines changed

3 files changed

+11
-11
lines changed

docs/fassets/developer-guides/2-fassets-fxrp.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@ The following TypeScript script demonstrates how to retrieve the FXRP address:
5252
The script:
5353

5454
1. Connects to the `AssetManager` contract using the [`IAssetManager`](/fassets/reference/IAssetManager) interface.
55-
2. Calls the [`fAsset()`](/fassets/reference/IAssetManager#fasset) function to get the FXRP token address.
55+
2. Calls the [`fAsset`](/fassets/reference/IAssetManager#fasset) function to get the FXRP token address.
5656
3. Logs the address to the console.
5757

5858
### Run the Script

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

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ The minting process is a multi-step process that involves the following steps:
3737

3838
## Reserve Collateral
3939

40-
The following code demonstrates how to reserve collateral by calling the [`reserveCollateral()`](/fassets/reference/IAssetManager#reservecollateral) function on the AssetManager contract.
40+
The following code demonstrates how to reserve collateral by calling the [`reserveCollateral`](/fassets/reference/IAssetManager#reservecollateral) function on the AssetManager contract.
4141

4242
<CodeBlock language="typescript" title="scripts/fassets/reserveCollateral.ts">
4343
{FAssetsReserveCollateral}
@@ -55,11 +55,11 @@ The following code demonstrates how to reserve collateral by calling the [`reser
5555
2. Retrieve and filter agents with enough free collateral and select the agent with the lowest fee and normal status.
5656
3. Parse [`CollateralReserved`](/fassets/reference/IAssetManagerEvents#collateralreserved) event.
5757
4. Start the minting reservation process at the script's entry point.
58-
5. Call `findBestAgent()` with the required number of lots.
59-
6. Fetch agent metadata from [`getAgentInfo()`](/fassets/reference/IAssetManager#getagentinfo) to get the agent's `feeBIPS`, which is used to calculate the collateral reservation fee.
60-
7. Calculate the collateral reservation fee by calling [`collateralReservationFee()`](/fassets/reference/IAssetManager#collateralreservationfee).
61-
8. Reserve collateral from agent by calling [`reserveCollateral()`](/fassets/reference/IAssetManager#reservecollateral)
62-
9. Call `assetMintingDecimals()` to determine the XRP token's decimal precision.
58+
5. Call `findBestAgent` with the required number of lots.
59+
6. Fetch agent metadata from [`getAgentInfo`](/fassets/reference/IAssetManager#getagentinfo) to get the agent's `feeBIPS`, which is used to calculate the collateral reservation fee.
60+
7. Calculate the collateral reservation fee by calling [`collateralReservationFee`](/fassets/reference/IAssetManager#collateralreservationfee).
61+
8. Reserve collateral from agent by calling [`reserveCollateral`](/fassets/reference/IAssetManager#reservecollateral)
62+
9. Call `assetMintingDecimals` to determine the XRP token's decimal precision.
6363
10. Parse the [`CollateralReserved`](/fassets/reference/IAssetManagerEvents#collateralreserved) event.
6464
11. Calculate the total XRP value required for payment.
6565

@@ -89,7 +89,7 @@ Use the [FDC Payment](/fdc/guides/hardhat/payment) script to validate the XRP pa
8989

9090
## Execute Minting
9191

92-
Once the XRP payment is validated, you can retrieve the FDC proof from the [Data Availability Layer](/fdc/overview#data-availability-layer) and call the [`executeMinting()`](/fassets/reference/IAssetManager#executeminting) function on the AssetManager contract.
92+
Once the XRP payment is validated, you can retrieve the FDC proof from the [Data Availability Layer](/fdc/overview#data-availability-layer) and call the [`executeMinting`](/fassets/reference/IAssetManager#executeminting) function on the AssetManager contract.
9393

9494
This script demonstrates how to retrieve the FDC proof and execute minting.
9595

@@ -108,8 +108,8 @@ This script demonstrates how to retrieve the FDC proof and execute minting.
108108
6. 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.
110110
7. Retrieve the FDC proof from the Data Availability Layer.
111-
8. Call the [`executeMinting()`](/fassets/reference/IAssetManager#executeminting) function on the AssetManager contract and send a transaction to the Flare network to convert the attested XRP payment into FXRP (minting).
112-
9. On a successful transaction call `parseExecutemintingEvents()` to extract and log events [`RedemptionTicketCreated`](/fassets/reference/IAssetManagerEvents#redemptionticketcreated) and [`MintingExecuted`](/fassets/reference/IAssetManagerEvents#mintingexecuted).
111+
8. Call the [`executeMinting`](/fassets/reference/IAssetManager#executeminting) function on the AssetManager contract and send a transaction to the Flare network to convert the attested XRP payment into FXRP (minting).
112+
9. On a successful transaction call `parseExecutemintingEvents` to extract and log events [`RedemptionTicketCreated`](/fassets/reference/IAssetManagerEvents#redemptionticketcreated) and [`MintingExecuted`](/fassets/reference/IAssetManagerEvents#mintingexecuted).
113113

114114
## Next Steps
115115

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
:::tip[Exploring Additional Parameters]
22

3-
The FAssets asset manager exposes key parameters like collateral ratios, minting fees, and liquidation thresholds via the `getSettings()` function.
3+
The FAssets asset manager exposes key parameters like collateral ratios, minting fees, and liquidation thresholds via the `getSettings` function.
44
See the [FAssets Operational Parameters](/fassets/operational-parameters/#asset-manager-operational-parameters) for details.
55

66
:::

0 commit comments

Comments
 (0)