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/reference/IAssetManager.mdx
+15-15Lines changed: 15 additions & 15 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -111,7 +111,7 @@ Parameters:
111
111
112
112
Returns:
113
113
114
-
-`_agents`: The list of all agents.
114
+
-`_agents`: The list of agents between the `_start` and `_end` indexes.
115
115
-`_totalLength`: The total length of the all agents list.
116
116
117
117
```solidity
@@ -126,12 +126,12 @@ Returns the list of available agents.
126
126
127
127
Parameters:
128
128
129
-
-`_start`: First index to return from the available agent's list.
130
-
-`_end`: End index (one above last) to return from the available agent's list.
129
+
-`_start`: First index to return from the available agent's list (inclusive).
130
+
-`_end`: End index (one above last) to return from the available agent's list (exclusive).
131
131
132
132
Returns:
133
133
134
-
-`_agents`: The list of available agents.
134
+
-`_agents`: The list of available agents between the `_start` and `_end` indexes.
135
135
-`_totalLength`: The total length of the available agents list.
136
136
137
137
```solidity
@@ -146,8 +146,8 @@ Returns the list of available agents with extra information about agents like fe
146
146
147
147
Parameters:
148
148
149
-
-`_start`: First index to return from the available agent's list.
150
-
-`_end`: End index (one above last) to return from the available agent's list.
149
+
-`_start`: First index to return from the available agent's list (inclusive).
150
+
-`_end`: End index (one above last) to return from the available agent's list (exclusive).
151
151
152
152
Returns:
153
153
@@ -168,13 +168,13 @@ Returns the redemption queue in the form of an array of [`RedemptionTicketInfo`]
168
168
169
169
Parameters:
170
170
171
-
-`_firstRedemptionTicketId`: the ticket id to start listing from; if `0`, starts from the beginning.
172
-
-`_pageSize`: the maximum number of redemption tickets to return.
171
+
-`_firstRedemptionTicketId`: The ticket id to start listing from; if `0`, starts from the beginning.
172
+
-`_pageSize`: The maximum number of redemption tickets to return.
173
173
174
174
Returns:
175
175
176
-
-`_queue`: the (part of) the redemption queue; maximum length is \_pageSize.
177
-
-`_nextRedemptionTicketId`: works as a cursor - if the `_pageSize` is reached and there are more tickets, it is the first ticket id not returned; if the end is reached, it is 0.
176
+
-`_queue`: The (part of) redemption queue; maximum length is \_pageSize.
177
+
-`_nextRedemptionTicketId`: Works as a cursor - if the `_pageSize` is reached and there are more tickets, it is the first ticket id not returned; if the end is reached, it is 0.
178
178
179
179
```solidity
180
180
function redemptionQueue(
@@ -190,14 +190,14 @@ Returns the redemption queue for specific agent in the form of an array of [`Red
190
190
191
191
Parameters:
192
192
193
-
-`_agentVault`: the agent vault address of the queried agent.
194
-
-`_firstRedemptionTicketId`: the ticket id to start listing from; if `0`, starts from the beginning.
195
-
-`_pageSize`: the maximum number of redemption tickets to return.
193
+
-`_agentVault`: The agent vault address of the queried agent.
194
+
-`_firstRedemptionTicketId`: The ticket id to start listing from; if `0`, starts from the beginning.
195
+
-`_pageSize`: The maximum number of redemption tickets to return.
196
196
197
197
Returns:
198
198
199
-
-`_queue`: the (part of) the redemption queue; maximum length is \_pageSize.
200
-
-`_nextRedemptionTicketId`: works as a cursor - if the` _pageSize` is reached and there are more tickets, it is the first ticket id not returned; if the end is reached, it is 0.
199
+
-`_queue`: The (part of) the redemption queue; maximum length is \_pageSize.
200
+
-`_nextRedemptionTicketId`: Works as a cursor - if the` _pageSize` is reached and there are more tickets, it is the first ticket id not returned; if the end is reached, it is 0.
0 commit comments