strategiesByPairCount()
CarbonController.sol
This function is used to get the number of strategies for the specified token pair.
Function Arguments
Name
Type
Description
token0
Token
The token address of the first token in the pair
token1
Token
The token address of the second token in the pair
Returns
This function returns the number of strategies that exist for the specified token pair.
Example
For the ETH token, use the contract address: 0xEeeeeEeeeEeEeeEeEeEeeEEEeeeeEeeeeeeeEEeE
Last updated