File tree Expand file tree Collapse file tree 1 file changed +42
-0
lines changed
Expand file tree Collapse file tree 1 file changed +42
-0
lines changed Original file line number Diff line number Diff line change @@ -86,6 +86,48 @@ function fAsset()
8686 returns (IERC20);
8787```
8888
89+ ## Agents
90+
91+ ### ` getAvailableAgentsList `
92+
93+ Returns the list of available agents.
94+
95+ Parameters:
96+
97+ - ` _start ` : First index to return from the available agent's list
98+ - ` _end ` : End index (one above last) to return from the available agent's list
99+
100+ Returns:
101+
102+ - ` _agents ` : The list of available agents
103+ - ` _totalLength ` : The total length of the available agents list
104+
105+ ``` solidity
106+ function getAvailableAgentsList(uint256 _start, uint256 _end)
107+ external view
108+ returns (address[] memory _agents, uint256 _totalLength);
109+ ```
110+
111+ ### ` getAvailableAgentsDetailedList `
112+
113+ Returns the list of available agents with extra information about agents like fee, minimum collateral ratio and available collateral (in lots).
114+
115+ Parameters:
116+
117+ - ` _start ` : First index to return from the available agent's list
118+ - ` _end ` : End index (one above last) to return from the available agent's list
119+
120+ Returns:
121+
122+ - ` _agents ` : The list of available agents with extra information
123+ - ` _totalLength ` : The total length of the available agents list
124+
125+ ``` solidity
126+ function getAvailableAgentsDetailedList(uint256 _start, uint256 _end)
127+ external view
128+ returns (AvailableAgentInfo.Data[] memory _agents, uint256 _totalLength);
129+ ```
130+
89131## Redemption Queue
90132
91133### ` redemptionQueue `
You can’t perform that action at this time.
0 commit comments