strategiesByPair()
CarbonController.sol
This function is used to obtain a list of strategies for the specified token pair.
Function Arguments
Name
Type
Description
token0
Token
The address of the first token in the pair
token1
Token
The address of the second token in the pair
startIndex
uint256
Index of first strategy to view
endIndex
uint256
Index of last strategy to view
Returns
This function returns a list of strategy objects containing details for strategies from the specified token pair.
Example
Last updated