You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/fassets/developer-guides/11-fassets-redemption-queue.mdx
+4-3Lines changed: 4 additions & 3 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -14,7 +14,7 @@ import GetFXRPAssetManager from "./_get_fxrp_asset_manager.mdx";
14
14
## Overview
15
15
16
16
In this guide, you will learn about the redemption queue and how it functions.
17
-
You will also learn how to get redemption tickets using the [IAssetManager](/fassets/reference/IAssetManager) smart contract.
17
+
You will also learn how to get redemption tickets using the [AssetManager](/fassets/reference/IAssetManager) smart contract.
18
18
Finally, you will learn how to calculate the total value and the number of lots to redeem.
19
19
20
20
## Prerequisites
@@ -35,7 +35,7 @@ It consists of ticket entries, where each ticket represents lots minted with a p
35
35
The `maxRedeemedTickets` system setting defines the maximum number of tickets that can be redeemed in a single request.
36
36
This setting is used to prevent high gas consumption and ensure the fairness of the redemption process.
37
37
38
-
To get the `maxRedeemedTickets` setting, you can use the [getSettings](/fassets/reference/IAssetManager#getsettings) function from the [IAssetManager](/fassets/reference/IAssetManager) smart contract.
38
+
To get the `maxRedeemedTickets` setting, you can use the [getSettings](/fassets/reference/IAssetManager#getsettings) function from the [AssetManager](/fassets/reference/IAssetManager) smart contract.
39
39
40
40
## Fetch Redemption Queue Data
41
41
@@ -56,7 +56,8 @@ The [`agentRedemptionQueue`](/fassets/reference/IAssetManager#agentredemptionque
56
56
57
57
## How It Ties Together
58
58
59
-
The `redemptionQueue` function provides the **global** ticket order, where each ticket is linked to a **specific agent**. The agent associated with each ticket must fulfill their part of the redemption.
59
+
The `redemptionQueue` function provides the **global** ticket order, where each ticket is linked to a **specific agent**.
60
+
The agent associated with each ticket must fulfill their part of the redemption.
60
61
Once a ticket is consumed, it is removed from the queue, and the queue is updated accordingly.
0 commit comments